PageSourceSearch

https://heyboss.ai/_next/static/chunks/7d27fef3a1eeb250.js?dpl=dpl_5W9zYkpukAb4Mfh5pHhX7yAvsp8Z

js heyboss.ai collected 2026-09-25 20:13:30 UTC 57,978 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,456224,e=>{"use strict";var t=e.i(269635),a=e.i(68105),r=e.i(17696),s=e.i(463415),i=e.i(167881),n=e.i(297769),l=e.i(599524),o=e.i(838735),c=e.i(585200),d=e.i(647163);e.s(["LanguageSelector",0,({variant:e="dark"})=>{let x=(0,a.useLocale)(),h=(0,o.useParams)(),m=(0,o.usePathname)(),p=(0,o.useRouter)(),u=[{code:"en",name:"English",flag:"🇺🇸"},{code:"zh",name:"中文",flag:"🇨🇳"},{code:"es",name:"Español",flag:"🇪🇸"},{code:"ja",name:"日本語",flag:"🇯🇵"},{code:"fr",name:"Français",flag:"🇫🇷"},{code:"de",name:"Deutsch",flag:"🇩🇪"},{code:"ko",name:"한국어",flag:"🇰🇷"},{code:"hi",name:"हिन्दी",flag:"🇮🇳"},{code:"ar",name:"العربية",flag:"🇸🇦"},{code:"bn",name:"বাংলা",flag:"🇧🇩"},{code:"pt",name:"Português",flag:"🇵🇹"},{code:"ru",name:"Русский",flag:"🇷🇺"},{code:"vi",name:"Tiếng Việt",flag:"🇻🇳"},{code:"it",name:"Italiano",flag:"🇮🇹"},{code:"tr",name:"Türkçe",flag:"🇹🇷"},{code:"th",name:"ไทย",flag:"🇹🇭"}],f=u.find(e=>e.code===x);return(0,t.jsxs)(s.DropdownMenu,{children:[(0,t.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{variant:"ghost",className:(0,d.cn)("text-xs sm:text-sm p-1 sm:p-4 h-6 sm:h-10 rounded-lg","light"===e?"text-black hover:bg-black/5 hover:text-black border-black/20":"text-white/60 hover:bg-white/10 hover:text-white border-white/20"),children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"text-sm sm:text-base",children:f?.flag}),(0,t.jsx)("span",{className:"hidden sm:block text-xs sm:text-sm",children:f?.name})]}),(0,t.jsx)(l.ChevronDown,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3 opacity-50"})]})}),(0,t.jsx)(s.DropdownMenuContent,{align:"end",className:"w-[180px] bg-cyber-black text-white",children:u.map(e=>(0,t.jsxs)(s.DropdownMenuItem,{onClick:()=>(function(e){let t=Array.isArray(h.lang)?h.lang[0]:h.lang;if(m.includes("/changelog")||m.includes("/feature")){if((t||"en")===e)return;let a=m;t&&(a=m.substring(t.length+1));let r="en"===e?a:`/${e}${a}`;p.push(r),p.refresh()}else e!==x&&("undefined"!=typeof document?(document.cookie=`${c.LOCALE_COOKIE_NAME}=${e}; path=/; max-age=31536000; SameSite=Lax`,(0,r.setLocale)(e).then(()=>{window.location.reload()})):((0,r.setLocale)(e),p.refresh()))})(e.code),className:"flex items-center justify-between cursor-pointer",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{children:e.flag}),(0,t.jsx)("span",{children:e.name})]}),x===e.code&&(0,t.jsx)(n.Check,{className:"h-4 w-4"})]},e.code))})]})}])},852917,e=>{"use strict";var t=e.i(269635),a=e.i(259328),r=e.i(868037),s=e.i(294237),i=e.i(287773),n=e.i(647163);let l=r.Root,o=r.Trigger;r.Close;let c=r.Portal,d=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(r.Overlay,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a,ref:s}));d.displayName=r.Overlay.displayName;let x=(0,s.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),h=a.forwardRef(({side:e="right",className:a,children:s,...l},o)=>(0,t.jsxs)(c,{children:[(0,t.jsx)(d,{}),(0,t.jsxs)(r.Content,{ref:o,className:(0,n.cn)(x({side:e}),a),...l,children:[s,(0,t.jsxs)(r.Close,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,t.jsx)(i.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));h.displayName=r.Content.displayName;let m=({className:e,...a})=>(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...a});m.displayName="SheetHeader";let p=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(r.Title,{ref:s,className:(0,n.cn)("text-lg font-semibold text-foreground",e),...a}));p.displayName=r.Title.displayName;let u=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(r.Description,{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",e),...a}));u.displayName=r.Description.displayName,e.s(["Sheet",()=>l,"SheetContent",()=>h,"SheetDescription",()=>u,"SheetHeader",()=>m,"SheetTitle",()=>p,"SheetTrigger",()=>o])},945323,e=>{"use strict";let t=(0,e.i(282893).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);e.s(["default",()=>t])},307125,e=>{"use strict";var t=e.i(945323);e.s(["PaletteIcon",()=>t.default])},97958,e=>{"use strict";let t=(0,e.i(282893).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);e.s(["default",()=>t])},231941,e=>{"use strict";var t=e.i(97958);e.s(["Layout",()=>t.default])},17696,585200,e=>{"use strict";var t=e.i(351073);let a=(0,t.createServerReference)("408f9b75cb5e37242348a9f05a777f460330f8da19",t.callServer,void 0,t.findSourceMapURL,"setLocale");e.s(["setLocale",()=>a],17696),e.s(["LOCALE_COOKIE_NAME",0,"NEXT_LOCALE"],585200)},995222,e=>{"use strict";function t(e,t){return"en"===t?`/feature/${e}`:`/${t}/feature/${e}`}function a(e){return"en"===e?"/feature":`/${e}/feature`}function r(e){return e.startsWith("/feature")||/^\/[a-z]{2}\/feature/.test(e)}e.s(["getFeatureIndexLink",()=>a,"getFeatureLink",()=>t,"isFeaturePage",()=>r])},142270,e=>{"use strict";var t=e.i(269635),a=e.i(107636),r=e.i(68105),s=e.i(995222);e.s(["FeatureLink",0,({featureSlug:e,children:i,className:n,...l})=>{let o=(0,r.useLocale)(),c=e?(0,s.getFeatureLink)(e,o):(0,s.getFeatureIndexLink)(o);return(0,t.jsx)(a.default,{href:c,className:n,...l,children:i})}])},865817,e=>{"use strict";var t=e.i(269635),a=e.i(167881),r=e.i(452789),s=e.i(964361),i=e.i(647163);let n=({variant:e="dark"})=>{let n=(0,s.useTranslations)("invitation-button");return(0,t.jsxs)(a.Button,{variant:"transparent",onClick:function(){(0,r.pushModal)("ReferralModal")},className:(0,i.cn)("text-xs md:text-sm px-3 py-2 md:px-4 md:py-2 h-8 md:h-10 max-w-[140px] md:max-w-[180px] lg:max-w-[200px] truncate","light"===e?"text-black hover:bg-black/5 bg-black/5":"text-white hover:bg-white/20 bg-white/10"),children:[(0,t.jsx)("span",{className:"sm:hidden text-xs truncate",children:n("free_credit")}),(0,t.jsx)("span",{className:"hidden sm:inline text-sm md:text-base truncate",children:n("share_and_free_credit")})]})};var l=e.i(456224),o=e.i(142270),c=e.i(15127),d=e.i(354180),x=e.i(259328),h=e.i(193028),m=e.i(592868),m=m,p=e.i(945993);let u=({variant:e="dark"})=>{let s=(0,p.useChangelogStore)(e=>e.hasUnread);return(0,t.jsxs)(a.Button,{variant:"transparent",size:"icon",className:(0,i.cn)("relative h-8 w-8 md:h-10 md:w-10","light"===e?"text-black hover:text-black/80 hover:bg-black/5":"text-white hover:text-white/80"),onClick:function(){(0,r.pushModal)("ChangelogModal",{name:"ChangelogModal"})},children:[(0,t.jsx)(m.default,{className:"h-5 w-5"}),s&&(0,t.jsx)("span",{className:"absolute top-1.5 right-1.5 w-2.5 h-2.5 bg-red-500 rounded-full border-2 border-dark-bg"})]})};var f=e.i(107636);e.s(["HeaderV3",0,({user:e,disableLanguageSelector:a=!1,initialVariant:r="light"})=>{let[m,p]=(0,x.useState)(!1),g=(0,s.useTranslations)("home.header");(0,x.useEffect)(()=>{let e=()=>{let e=window.scrollY>50;e!==m&&p(e)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[m]);let b=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})};return(0,t.jsx)("div",{className:(0,i.cn)("fixed w-full top-0 left-0 right-0 z-50 transition-all duration-300",m?"bg-dark-bg/80 backdrop-blur-md shadow-lg":"bg-transparent border-transparent"),children:(0,t.jsx)("div",{className:"w-full px-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between py-3 sm:py-4 mx-auto",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 sm:gap-6 lg:gap-8 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center cursor-pointer shrink-0",onClick:()=>b("hero"),onKeyDown:e=>{"Enter"===e.key&&b("hero")},children:(0,t.jsx)(c.Logo,{variant:m?"light":r,className:"h-6 min-[700px]:h-8"})}),(0,t.jsxs)("nav",{className:"hidden min-[700px]:flex items-center gap-4 xl:gap-6",children:[(0,t.jsx)("a",{className:(0,i.cn)("text-sm xl:text-base transition-colors whitespace-nowrap",m||"light"===r?"text-white hover:text-white/80":"text-black hover:text-black/80"),href:h.DISCORD_URL,target:"_blank",rel:"noopener noreferrer",children:g("community")}),(0,t.jsx)(f.default,{className:(0,i.cn)("text-sm xl:text-base transition-colors whitespace-nowrap",m||"light"===r?"text-white hover:text-white/80":"text-black hover:text-black/80"),href:"/pricing",children:g("pricing")}),(0,t.jsx)(o.FeatureLink,{className:(0,i.cn)("text-sm xl:text-base transition-colors whitespace-nowrap",m||"light"===r?"text-white hover:text-white/80":"text-black hover:text-black/80"),children:g("features")})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 min-[700px]:gap-3",children:[!a&&(0,t.jsx)("div",{className:"hidden min-[700px]:block",children:(0,t.jsx)(l.LanguageSelector,{variant:m||"light"===r?"dark":"light"})}),(0,t.jsxs)("div",{className:"flex items-center gap-1 min-[700px]:hidden",children:[(0,t.jsx)("a",{href:h.DISCORD_URL,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center w-8 h-8 bg-black/20 rounded-lg hover:bg-black/30 transition-colors",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0a12.64 12.64 0 0 0-.617-1.25a.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057a19.9 19.736 0 0 0 5.993 3.03a.078.078 0 0 0 .084-.028a14.09 14.09 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13.107 13.107 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10.2 10.2 0 0 0 .372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127a12.299 12.299 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028a19.839 19.839 0 0 0 6.002-3.03a.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418z"})})}),(0,t.jsx)("a",{href:h.X_URL,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center w-8 h-8 bg-black/20 rounded-lg hover:bg-black/30 transition-colors",children:(0,t.jsxs)("svg",{className:"w-4 h-4 text-white","aria-label":"follow HeyBoss AI on X.com",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,t.jsx)("title",{children:"follow HeyBoss AI on X.com"}),(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})]})})]}),e&&(0,t.jsx)(u,{variant:m||"light"===r?"dark":"light"}),e&&(0,t.jsx)("div",{className:"hidden min-[700px]:flex",children:(0,t.jsx)(n,{variant:m||"light"===r?"dark":"light"})}),(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(d.ProfileMenu,{user:e||null,showSocialMediaLinks:!1,transparent:!0})})]})]})})})}],865817)},343088,e=>{"use strict";var t=e.i(269635),a=e.i(826207),r=e.i(15127),s=e.i(142270),i=e.i(456224),n=e.i(193028),l=e.i(68105),o=e.i(964361);e.i(311133);var c=e.i(259328),d="undefined"==typeof window?c.default.useEffect:c.default.useLayoutEffect,x=0,h=()=>++x,m=!1;function p(){let[e,t]=c.default.useState(m?h:void 0);return d(()=>{void 0===e&&t(h()),m=!0},[]),void 0===e?e:`rwb-${e.toString(32)}`}var u="__wrap_b",f="__wrap_n",g="__wrap_o",b=(e,t,a)=>{let r=null==(a=a||document.querySelector(`[data-br="${e}"]`))?void 0:a.parentElement;if(!r)return;let s=e=>a.style.maxWidth=e+"px";a.style.maxWidth="";let i=r.clientWidth,n=r.clientHeight,l=i/2-.25,o=i+.5,c;if(i){for(s(l),l=Math.max(a.scrollWidth,l);l+1<o;)s(c=Math.round((l+o)/2)),r.clientHeight===n?o=c:l=c;s(o*t+i*(1-t))}a.__wrap_o||"undefined"!=typeof ResizeObserver&&(a.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+a.dataset.brr,a)})).observe(r)},w=b.toString(),v=c.default.createContext({preferNative:!0,hasProvider:!1}),j=c.default.forwardRef(({ratio:e=1,preferNative:t,nonce:a,children:r,as:s,...i},n)=>{let l=c.default.useMemo(()=>"useId"in c.default?c.default.useId:p,[])(),o=c.default.useRef(),x=c.default.useContext(v),h=null!=t?t:x.preferNative;return c.default.useImperativeHandle(n,()=>o.current,[]),d(()=>{h&&1===self[f]||o.current&&(self[u]=b)(0,e,o.current)},[r,h,e]),d(()=>{if(!(h&&1===self[f]))return()=>{if(!o.current)return;let e=o.current[g];e&&(e.disconnect(),delete o.current[g])}},[h]),c.default.createElement(c.default.Fragment,null,c.default.createElement(s||"span",{...i,"data-br":l,"data-brr":e,ref:o,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:h?"balance":"initial"},suppressHydrationWarning:!0},r),((e,t,a="")=>(a&&(a=`self.${f}!=1&&${a}`),c.default.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(e?"":`self.${f}=self.${f}||(self.CSS&&CSS.supports("text-wrap","balance")?1:2);self.${u}=${w};`)+a},nonce:t})))(x.hasProvider,a,`self.${u}("${l}",${e})`))}),y=e.i(107636),N=e.i(558342),k=e.i(357675);e.s(["FooterV3",0,()=>{let e=(0,o.useTranslations)("home.footer"),c=(0,o.useTranslations)("homepage_v2.footer"),d=(0,l.useLocale)();return(0,t.jsxs)("footer",{className:"relative overflow-hidden bg-gradient-to-b from-[#1a1a1a] via-[#212121] to-[#1a1a1a] border-t border-white/5",children:[(0,t.jsxs)("div",{className:"absolute inset-0 pointer-events-none",children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-white/[0.015] to-transparent"})]}),(0,t.jsx)("div",{className:"relative container mx-auto px-4 sm:px-6 lg:px-8 z-10 pt-8 md:pt-10 pb-6 md:pb-8",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-6 gap-6 lg:gap-8",children:[(0,t.jsxs)("div",{className:"lg:col-span-2",children:[(0,t.jsx)(r.Logo,{variant:"light",className:"-ml-4 mb-4"}),(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("p",{className:"text-white/95 text-base md:text-lg font-medium leading-[1.4] tracking-tight",children:(0,t.jsx)(j,{children:c("title")})})}),(0,t.jsxs)("div",{className:"flex items-center gap-3 mt-4",children:[(0,t.jsx)("a",{href:n.X_
1URL,target:"_blank",rel:"noopener noreferrer",className:"w-16 h-16 rounded-2xl bg-gradient-to-br from-white/[0.08] to-white/[0.03] hover:from-white/[0.12] hover:to-white/[0.06] border border-white/10 hover:border-white/20 flex items-center justify-center transition-all duration-500 group shadow-xl shadow-black/30 hover:shadow-lg hover:scale-105 backdrop-blur-sm","aria-label":e("social_v2.twitter"),children:(0,t.jsx)(k.TwitterIcon,{className:"w-8 h-8 text-white group-hover:text-white transition-all duration-500"})}),(0,t.jsx)("a",{href:n.LINKEDIN_URL,target:"_blank",rel:"noopener noreferrer",className:"w-16 h-16 rounded-2xl bg-gradient-to-br from-white/[0.08] to-white/[0.03] hover:from-white/[0.12] hover:to-white/[0.06] border border-white/10 hover:border-[#0077B5]/40 flex items-center justify-center transition-all duration-500 group shadow-xl shadow-black/30 hover:shadow-lg hover:scale-105 backdrop-blur-sm","aria-label":e("social_v2.linkedin"),children:(0,t.jsx)(k.LinkedInIcon,{className:"w-8 h-8 text-[#0077B5] group-hover:text-[#0077B5] transition-all duration-500"})}),(0,t.jsx)("a",{href:n.DISCORD_URL,target:"_blank",rel:"noopener noreferrer",className:"w-16 h-16 rounded-2xl bg-gradient-to-br from-white/[0.08] to-white/[0.03] hover:from-white/[0.12] hover:to-white/[0.06] border border-white/10 hover:border-[#5865F2]/40 flex items-center justify-center transition-all duration-500 group shadow-xl shadow-black/30 hover:shadow-lg hover:scale-105 backdrop-blur-sm","aria-label":e("social_v2.discord"),children:(0,t.jsx)(k.DiscordIcon,{className:"w-8 h-8 text-[#5865F2] group-hover:text-[#5865F2] transition-all duration-500"})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-1",children:[(0,t.jsx)("h3",{className:"text-[13px] font-semibold mb-3 text-white/95 tracking-wide letter-spacing-wider",children:e("features.title")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.all_features")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"ai-models",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.ai_models")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"database",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.database")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"app-store",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.app_store")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"payments",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.payments")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"visual-editor",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.visual_editor")})}),(0,t.jsx)("li",{children:(0,t.jsx)(s.FeatureLink,{featureSlug:"seo",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("features.seo")})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-1",children:[(0,t.jsx)("h3",{className:"text-[13px] font-semibold mb-3 text-white/95 tracking-wide letter-spacing-wider",children:e("tools.title")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/business-name-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.business_name_generator")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/business-plan-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.business_plan_generator")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/blog-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.blog_generator")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/ebook-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.ebook_generator")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/market-research",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.market_research")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/social-media-post-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.social_media")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/tool/visual-design-generator",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("tools.visual_design_generator")})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-1",children:[(0,t.jsx)("h3",{className:"text-[13px] font-semibold mb-3 text-white/95 tracking-wide letter-spacing-wider",children:e("company_business")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/about-heyboss",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("about")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/pricing",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("pricing")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/blog",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("blog")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:(0,N.getLocalizedPath)(d,"/changelog"),className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("changelog")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/app-market",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("appMarket")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/media-kit",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("mediaKit")})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-1",children:[(0,t.jsx)("h3",{className:"text-[13px] font-semibold mb-3 text-white/95 tracking-wide letter-spacing-wider",children:e("legal_support")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/legal/terms-conditions",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("terms")})}),(0,t.jsx)("li",{children:(0,t.jsx)(y.default,{href:"/legal/privacy-policy",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("privacy")})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:n.HELP_URL,target:"_blank",rel:"noopener noreferrer",className:"text-white/75 hover:text-[#FDD577] flex items-center transition-all duration-300 text-[13px] leading-[1.5] font-normal hover:translate-x-1",children:e("helpCenter")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.GetFreeCreditLink,{})})]})]})]}),(0,t.jsxs)("div",{className:"mt-6 md:mt-6 pt-4 md:pt-4 border-t border-white/5 flex flex-col sm:flex-row justify-between items-center gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-2.5 sm:gap-4 w-full sm:w-auto",children:[(0,t.jsx)(i.LanguageSelector,{}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-green-500 animate-pulse shadow-sm shadow-green-500/40"}),(0,t.jsx)("div",{className:"absolute inset-0 w-1.5 h-1.5 rounded-full bg-green-500 animate-ping opacity-20"})]}),(0,t.jsx)("span",{className:"text-white/65 text-[12px] font-normal leading-tight tracking-wide",children:e("system_status")})]})]}),(0,t.jsxs)("p",{className:"text-white/65 text-[12px] text-center sm:text-right w-full sm:w-auto font-normal leading-tight tracking-wide",children:["© ",new Date().getFullYear()," Heyboss.AI"]})]})]})})]})}],343088)},247447,e=>{"use strict";var t=e.i(269635),a=e.i(193028),r=e.i(259328),s=r.forwardRef(function({control:e,...a},s){let i=r.useRef(null);return r.useLayoutEffect(()=>{let t=i.current;if(!t)return;if(customElements.get("openai-chatkit"))return void t.setOptions(e.options);let a=!0;
1return customElements.whenDefined("openai-chatkit").then(()=>{a&&t.setOptions(e.options)}),()=>{a=!1}},[e.options]),(0,t.jsx)("openai-chatkit",{ref:t=>{if(i.current=t,e.setInstance(t),"function"==typeof s?s(t):s&&(s.current=t),!i.current)return;let a={"chatkit.error":"onError","chatkit.response.end":"onResponseEnd","chatkit.response.start":"onResponseStart","chatkit.log":"onLog","chatkit.thread.change":"onThreadChange","chatkit.thread.load.start":"onThreadLoadStart","chatkit.thread.load.end":"onThreadLoadEnd","chatkit.ready":"onReady"};for(let t of Object.keys(a))i.current.addEventListener(t,r=>{let s=e.handlers[a[t]];"function"==typeof s&&s(r.detail)})},...a})});function i(e){return null!==e&&"object"==typeof e&&[null,Object.prototype].includes(Object.getPrototypeOf(e))||Array.isArray(e)}var n=Object.freeze(["focusComposer","setThreadId","sendUserMessage","setComposerValue","fetchUpdates","sendCustomAction"]),l=e.i(68105),o=e.i(167881),c=e.i(778942);function d({t:e,errorMessage:a}){return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center bg-transparent rounded-lg h-[70vh] p-4 sm:p-6",children:[(0,t.jsx)("p",{className:"text-red-400 font-semibold mb-2 text-sm sm:text-base text-center",children:"Failed to Load ChatKit"}),(0,t.jsx)("p",{className:"text-gray-400 text-xs sm:text-sm mb-4 max-w-md text-center px-2",children:a}),(0,t.jsx)(o.Button,{variant:"outline_2",onClick:()=>window.location.reload(),className:"text-xs sm:text-sm",children:e("reload_page")})]})}function x({t:e}){return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center bg-transparent rounded-lg h-[70vh] p-4 sm:p-6",children:[(0,t.jsx)(c.Loader2Icon,{className:"size-10 sm:size-12 text-white mb-3 sm:mb-4 animate-spin"}),(0,t.jsx)("p",{className:"text-gray-400 mb-2 text-sm sm:text-base text-center",children:e("initializing")}),(0,t.jsx)("p",{className:"text-gray-500 text-xs sm:text-sm max-w-sm mx-auto text-center px-2 leading-relaxed",children:e("initializing_description")}),(0,t.jsx)(o.Button,{variant:"outline_2",className:"my-3 sm:my-4 text-xs sm:text-sm",onClick:()=>window.location.reload(),children:e("reload_page")})]})}function h({t:e}){return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center bg-white/5 rounded-lg border border-white/10 h-[calc(100vh-180px)] md:h-[70vh] p-4 sm:p-6",children:[(0,t.jsx)("p",{className:"text-red-400 font-semibold mb-2 text-sm sm:text-base text-center",children:e("chatkit_failed_to_initialize")}),(0,t.jsx)("p",{className:"text-gray-400 text-xs sm:text-sm mb-4 text-center px-2",children:e("chatkit_failed_to_initialize_description")}),(0,t.jsx)(o.Button,{onClick:()=>window.location.reload(),className:"text-xs sm:text-sm",children:e("reload_page")})]})}var m=e.i(647908);function p({user:e,userApiKey:o,workflowKey:c,constants:p,t:u,icon:f,projectId:g,hideHeader:b=!1}){var w;let v,j,y,N,k,_,C,S,D,L=(0,l.useLocale)(),{isChatkitLoaded:A,scriptError:I,isLoadingScript:R}=(0,m.useChatkitScriptContext)(),{greeting:F,starterPrompts:E,placeholder:P}=p,T=(w={api:{url:`${a.BACKEND_API_URL}/v1/chatkit`,domainKey:a.OPENAI_DOMAIN_KEY,fetch:async(t,a={})=>{"string"==typeof t||t.toString();try{return await fetch(t,{...a,headers:{...a.headers,authorization:`${o}${g?`***${g}`:""}`,"x-workflow-key":c,"x-user-id":e._id.toString(),"x-user-email":e.email||"",...g&&{"x-project-id":g}}})}catch(e){throw e}},uploadStrategy:{type:"two_phase"}},startScreen:{greeting:F,prompts:E},composer:{placeholder:P},onError:({error:e})=>{},...{locale:{en:"en",zh:"zh",es:"es",ja:"ja",fr:"fr",de:"de",ko:"ko",hi:"hi",ar:"ar",bn:"bn",pt:"pt",ru:"ru",vi:"vi",it:"it",tr:"tr",th:"th"}[L]||"en",theme:{colorScheme:"dark",color:{accent:{primary:"#7A53F4",level:2}},radius:"round",density:"compact",typography:{baseSize:14,fontFamily:'Poppins, "Poppins Fallback", sans-serif'}},composer:{attachments:{enabled:!0,maxSize:0x1400000,maxCount:3,accept:{"application/pdf":[".pdf"],"image/*":[".png",".jpg"]}}}}},v=r.useRef(null),(j=r.default.useRef(w)).current=w,(y=r.default.useRef(null)).current&&function e(t,a,r=new WeakMap){if(Object.is(t,a))return!0;
1if("function"==typeof t&&"function"==typeof a)return typeof t==typeof a;if(!i(t)||!i(a))return!1;let s=r.get(t);if(s&&s===a)return!0;if(r.set(t,a),Array.isArray(t)||Array.isArray(a)){if(!Array.isArray(t)||!Array.isArray(a)||t.length!==a.length)return!1;for(let s=0;s<t.length;s++)if(!e(t[s],a[s],r))return!1;return!0}let n=Object.keys(t),l=Object.keys(a);if(n.length!==l.length)return!1;for(let s=0;s<n.length;s++){let i=n[s];if(!Object.prototype.hasOwnProperty.call(a,i)||!e(t[i],a[i],r))return!1}return!0}(y.current.snapshot,w)||(y.current={snapshot:w,shaped:(N=[],(k=e=>{if("function"==typeof e){let e,t=N[N.length-1];return e=N.slice(0,-1),(...a)=>{let r,s=(r=j.current,e.reduce((e,t)=>null==e?e:e[t],r)),i=s?.[t];if("function"==typeof i)return i.apply(s,a)}}if(Array.isArray(e)){let t=N.length,a=Array(e.length);for(let r=0;r<e.length;r++)N[t]=r,a[r]=k(e[r]);return N.length=t,a}if(e&&"object"==typeof e){let t=N.length,a={};for(let r of Object.keys(e))N[t]=r,a[r]=k(e[r]);return N.length=t,a}return e})(j.current))}),_=y.current.shaped,C=r.useMemo(()=>n.reduce((e,t)=>(e[t]=(...e)=>v.current?v.current[t](...e):void console.warn("ChatKit element is not mounted"),e),{}),[]),S=r.useCallback(e=>{v.current=e},[]),D=r.useMemo(()=>{let e={},t={};for(let[a,r]of Object.entries(_))/^on[A-Z]/.test(a)&&"onClientTool"!==a?t[a]=r:e[a]=r;return{setInstance:S,options:e,handlers:t}},[_,S]),r.useMemo(()=>({...C,control:D,ref:v}),[C,D]));return(0,r.useEffect)(()=>{if(!T.control)return;let e=()=>{let e=document.querySelector(".ck-iframe");if(e)try{let t=e.contentDocument||e.contentWindow?.document;if(!t)return;let a=t.querySelector('header [data-exit-animation="slide-full"][data-has-arrow]:not(button)');a&&(a.style.display="none")}catch(e){}},t=document.querySelector(".ck-iframe");if(t)if(t.contentDocument?.readyState!=="complete")return t.addEventListener("load",e),()=>{t.removeEventListener("load",e)};else e();let a=setTimeout(e,1e3);return()=>{clearTimeout(a)}},[T.control]),(0,t.jsxs)("div",{className:"container mx-auto px-3 sm:px-4 lg:px-6 py-4 sm:py-6 lg:py-8 bg-transparent rounded-lg",children:[!b&&(0,t.jsx)("div",{className:"mb-3 sm:mb-4 lg:mb-6",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsx)("div",{className:"flex items-start sm:items-center justify-between gap-2",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[(0,t.jsx)(f,{className:"size-5 sm:size-6 text-white flex-shrink-0"}),(0,t.jsx)("h1",{className:"text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-white truncate",children:u("title")})]})}),(0,t.jsx)("p",{className:"text-gray-400 text-xs sm:text-sm md:text-base leading-relaxed",children:u("description")})]})}),I?(0,t.jsx)(d,{t:u,errorMessage:I}):!A||R?(0,t.jsx)(x,{t:u}):T.control?(0,t.jsx)(s,{control:T.control,className:"block h-[70vh] w-full bg-background rounded-lg overflow-hidden"}):(0,t.jsx)(h,{t:u})]})}e.s(["ChatKitPageWrapper",()=>p],247447)},114726,e=>{"use strict";var t=e.i(259328),a=e.i(767083),r=e.i(719901),s=e.i(802005),i=e.i(178896),n=e.i(78252),l=e.i(902662),o=e.i(256461),c=e.i(472530),d=e.i(254006),x=e.i(269635),h="Collapsible",[m,p]=(0,a.createContextScope)(h),[u,f]=m(h),g=t.forwardRef((e,a)=>{let{__scopeCollapsible:r,open:s,defaultOpen:i,disabled:o,onOpenChange:c,...h}=e,[m=!1,p]=(0,n.useControllableState)({prop:s,defaultProp:i,onChange:c});return(0,x.jsx)(u,{scope:r,disabled:o,contentId:(0,d.useId)(),open:m,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),children:(0,x.jsx)(l.Primitive.div,{"data-state":N(m),"data-disabled":o?"":void 0,...h,ref:a})})});g.displayName=h;var b="CollapsibleTrigger",w=t.forwardRef((e,t)=>{let{__scopeCollapsible:a,...r}=e,s=f(b,a);return(0,x.jsx)(l.Primitive.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":N(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,s.onOpenToggle)})});w.displayName=b;var v="CollapsibleContent",j=t.forwardRef((e,t)=>{let{forceMount:a,...r}=e,s=f(v,e.__scopeCollapsible);return(0,x.jsx)(c.Presence,{present:a||s.open,children:({present:e})=>(0,x.jsx)(y,{...r,ref:t,present:e})})});j.displayName=v;var y=t.forwardRef((e,a)=>{let{__scopeCollapsible:r,present:i,children:n,...c}=e,d=f(v,r),[h,m]=t.useState(i),p=t.useRef(null),u=(0,s.useComposedRefs)(a,p),g=t.useRef(0),b=g.current,w=t.useRef(0),j=w.current,y=d.open||h,k=t.useRef(y),_=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.useLayoutEffect)(()=>{let e=p.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,w.current=t.width,k.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),m(i)}},[d.open,i]),(0,x.jsx)(l.Primitive.div,{"data-state":N(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y,...c,ref:u,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:y&&n})});function N(e){return e?"open":"closed"}var k=e.i(82125),_="Accordion",C=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[S,D,L]=(0,r.createCollection)(_),[A,I]=(0,a.createContextScope)(_,[L,p]),R=p(),F=t.default.forwardRef((e,t)=>
1{let{type:a,...r}=e;return(0,x.jsx)(S.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,x.jsx)(z,{...r,ref:t}):(0,x.jsx)(O,{...r,ref:t})})});F.displayName=_;var[E,P]=A(_),[T,M]=A(_,{collapsible:!1}),O=t.default.forwardRef((e,a)=>{let{value:r,defaultValue:s,onValueChange:i=()=>{},collapsible:l=!1,...o}=e,[c,d]=(0,n.useControllableState)({prop:r,defaultProp:s,onChange:i});return(0,x.jsx)(E,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:d,onItemClose:t.default.useCallback(()=>l&&d(""),[l,d]),children:(0,x.jsx)(T,{scope:e.__scopeAccordion,collapsible:l,children:(0,x.jsx)(K,{...o,ref:a})})})}),z=t.default.forwardRef((e,a)=>{let{value:r,defaultValue:s,onValueChange:i=()=>{},...l}=e,[o=[],c]=(0,n.useControllableState)({prop:r,defaultProp:s,onChange:i}),d=t.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),h=t.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,x.jsx)(E,{scope:e.__scopeAccordion,value:o,onItemOpen:d,onItemClose:h,children:(0,x.jsx)(T,{scope:e.__scopeAccordion,collapsible:!0,children:(0,x.jsx)(K,{...l,ref:a})})})}),[H,B]=A(_),K=t.default.forwardRef((e,a)=>{let{__scopeAccordion:r,disabled:n,dir:o,orientation:c="vertical",...d}=e,h=t.default.useRef(null),m=(0,s.useComposedRefs)(h,a),p=D(r),u="ltr"===(0,k.useDirection)(o),f=(0,i.composeEventHandlers)(e.onKeyDown,e=>{if(!C.includes(e.key))return;let t=e.target,a=p().filter(e=>!e.ref.current?.disabled),r=a.findIndex(e=>e.ref.current===t),s=a.length;if(-1===r)return;e.preventDefault();let i=r,n=s-1,l=()=>{(i=r+1)>n&&(i=0)},o=()=>{(i=r-1)<0&&(i=n)};switch(e.key){case"Home":i=0;break;case"End":i=n;break;case"ArrowRight":"horizontal"===c&&(u?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(u?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=i%s;a[d].ref.current?.focus()});return(0,x.jsx)(H,{scope:r,disabled:n,direction:o,orientation:c,children:(0,x.jsx)(S.Slot,{scope:r,children:(0,x.jsx)(l.Primitive.div,{...d,"data-orientation":c,ref:m,onKeyDown:n?void 0:f})})})}),$="AccordionItem",[U,q]=A($),W=t.default.forwardRef((e,t)=>{let{__scopeAccordion:a,value:r,...s}=e,i=B($,a),n=P($,a),l=R(a),o=(0,d.useId)(),c=r&&n.value.includes(r)||!1,h=i.disabled||e.disabled;return(0,x.jsx)(U,{scope:a,open:c,disabled:h,triggerId:o,children:(0,x.jsx)(g,{"data-orientation":i.orientation,"data-state":J(c),...l,...s,ref:t,disabled:h,open:c,onOpenChange:e=>{e?n.onItemOpen(r):n.onItemClose(r)}})})});W.displayName=$;var V="AccordionHeader",G=t.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...r}=e,s=B(_,a),i=q(V,a);return(0,x.jsx)(l.Primitive.h3,{"data-orientation":s.orientation,"data-state":J(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});G.displayName=V;var X="AccordionTrigger",Y=t.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...r}=e,s=B(_,a),i=q(X,a),n=M(X,a),l=R(a);return(0,x.jsx)(S.ItemSlot,{scope:a,children:(0,x.jsx)(w,{"aria-disabled":i.open&&!n.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...l,...r,ref:t})})});Y.displayName=X;var Q="AccordionContent",Z=t.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...r}=e,s=B(_,a),i=q(Q,a),n=R(a);return(0,x.jsx)(j,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...n,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function J(e){return e?"open":"closed"}Z.displayName=Q,e.s(["Content",()=>Z,"Header",()=>G,"Item",()=>W,"Root",()=>F,"Trigger",()=>Y],114726)},286850,e=>{"use strict";var t=e.i(269635),a=e.i(259328),r=e.i(609447),s=e.i(114726),i=e.i(959999),n=e.i(338643),l=e.i(647163);function o({data:e,className:o}){let[c,d]=(0,a.useState)(e.length>0?e[0].id.toString():void 0);return(0,t.jsx)("div",{className:(0,l.cn)("w-full",o),itemScope:!0,itemType:"https://schema.org/FAQPage",children:(0,t.jsx)(s.Root,{type:"single",collapsible:!0,value:c,onValueChange:d,className:"space-y-4",children:e.map(e=>(0,t.jsxs)(s.Item,{value:e.id.toString(),className:"border border-white/10 rounded-2xl bg-white/5 backdrop-blur-lg transition-all duration-300",itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",children:[(0,t.jsx)(s.Header,{children:(0,t.jsxs)(s.Trigger,{className:"flex w-full items-center justify-between gap-x-4 p-6 text-left text-lg font-medium text-white transition-colors hover:text-gray-200",children:[(0,t.jsx)("span",{itemProp:"name",children:e.question}),(0,t.jsx)("span",{className:"flex-shrink-0",children:c===e.id.toString()?(0,t.jsx)(i.Minus,{className:"h-5 w-5"}):(0,t.jsx)(n.Plus,{className:"h-5 w-5"})})]})}),(0,t.jsx)(s.Content,{asChild:!0,forceMount:!0,children:(0,t.jsx)(r.motion.div,{initial:"collapsed",animate:c===e.id.toString()?"open":"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]}
1,className:"overflow-hidden",itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",children:(0,t.jsx)("div",{className:"px-6 pb-6 text-gray-300",itemProp:"text",children:e.answer})})})]},e.id))})})}e.s(["FaqAccordion",()=>o])},991536,e=>{"use strict";let t=(0,e.i(282893).default)("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);e.s(["default",()=>t])},563132,e=>{"use strict";var t=e.i(269635),a=e.i(286850);function r({data:e}){if(!e||!e.faqs)return null;let{heading:r,subheading:s,faqs:i}=e;return(0,t.jsx)("section",{className:"py-20 sm:py-32 bg-black",children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold tracking-tight text-white sm:text-5xl",children:r}),(0,t.jsx)("p",{className:"mt-4 text-lg text-gray-400",children:s})]}),(0,t.jsx)("div",{className:"mt-16 mx-auto max-w-4xl",children:(0,t.jsx)(a.FaqAccordion,{data:i.map((e,t)=>({...e,id:"number"==typeof e.id?e.id:t}))})})]})})}e.s(["FeatureFaq",()=>r])},531912,e=>{"use strict";var t=e.i(269635),a=e.i(865817),r=e.i(343088),s=e.i(167881),i=e.i(563132),n=e.i(107636),l=e.i(247447);function o({user:e,userApiKey:a,workflowKey:r,constants:s,icon:i,t:o,copy:c}){return(0,t.jsxs)("section",{id:"tool",className:"relative py-20 bg-[#050912] border-y border-white/5 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,_rgba(79,70,229,0.2),_transparent_60%)] pointer-events-none"}),(0,t.jsxs)("div",{className:"container mx-auto px-4 relative z-10",children:[(0,t.jsxs)("div",{className:"text-center mb-14 max-w-3xl mx-auto",children:[(0,t.jsx)("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/5 text-indigo-200 text-xs font-semibold tracking-[0.3em] mb-6 border border-white/10",children:"LIVE DEMO"}),(0,t.jsx)("h2",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:c.title}),(0,t.jsx)("p",{className:"text-slate-300 text-lg",children:c.description})]}),(0,t.jsxs)("div",{className:"max-w-6xl mx-auto min-h-[620px] rounded-[32px] border border-white/10 shadow-[0_40px_120px_rgba(10,11,25,0.8)] bg-gradient-to-br from-[#0b0f1c] via-[#0c1324] to-[#050912] relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,_rgba(99,102,241,0.15),_transparent_55%)] pointer-events-none"}),(0,t.jsx)("div",{className:"absolute -top-20 -right-16 w-72 h-72 bg-indigo-500/25 rounded-full blur-[120px]"}),(0,t.jsx)("div",{className:"relative flex-1 px-4 sm:px-6 md:px-10 py-8",children:e?(0,t.jsx)(l.ChatKitPageWrapper,{user:e,userApiKey:a,workflowKey:r,constants:s,t:o,icon:i,hideHeader:!1}):(0,t.jsxs)("div",{className:"h-full flex flex-col md:flex-row items-stretch gap-8 px-6 py-10",children:[(0,t.jsxs)("div",{className:"md:w-3/5 w-full flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-white/5 border border-white/10 text-[11px] uppercase tracking-[0.25em] text-indigo-200/80",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-400 animate-pulse"}),"Tool preview · Not logged in"]}),(0,t.jsxs)("div",{className:"flex-1 rounded-2xl border border-white/10 bg-[#050912]/80 backdrop-blur-sm p-4 sm:p-5 shadow-[0_30px_80px_rgba(5,9,18,0.9)]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"p-2 rounded-full bg-indigo-500/10 border border-indigo-500/30 text-indigo-200",children:(0,t.jsx)(i,{className:"w-5 h-5"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"text-xs uppercase tracking-[0.25em] text-slate-400",children:"AI Agent Workspace"}),(0,t.jsx)("span",{className:"text-sm font-semibold text-white",children:"Startup Business Plan · Sample Session"})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"rounded-xl bg-black/40 border border-white/10 p-3",children:[(0,t.jsx)("p",{className:"text-[11px] uppercase tracking-[0.18em] text-slate-400 mb-1",children:"Sample prompt"}),(0,t.jsx)("p",{className:"text-xs text-slate-200",children:"“Generate an investor-ready business plan for my AI SaaS targeting US & UK SMBs. I charge monthly subscriptions and plan to launch in 3 months.”"})]}),(0,t.jsxs)("div",{className:"rounded-xl bg-black/20 border border-dashed border-white/15 p-3",children:[(0,t.jsx)("p",{className:"text-[11px] uppercase tracking-[0.18em] text-slate-400 mb-1",children:"You'll co-write in Chat"}),(0,t.jsx)("p",{className:"text-xs text-slate-300",children:"The agent asks about your market, pricing, and GEO, then drafts your plan section by section."})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"rounded-xl bg-black/40 border border-white/10 p-3",children:[(0,t.jsx)("p",{className:"text-[11px] uppercase tracking-[0.18em] text-slate-400 mb-1",children:"Sample output"}),(0,t.jsxs)("ul",{className:"text-xs text-slate-200 space-y-1.5 list-disc list-inside",children:[(0,t.jsx)("li",{children:"Executive summary (US & UK focus)"}),(0,t.jsx)("li",{children:"Market & ICP analysis"}),(0,t.jsx)("li",{children:"Competition & positioning"}),(0,t.jsx)("li",{children:"Go-to-market & 90-day roadmap"}),(0,t.jsx)("li",{children:"High-level revenue projections"})]})]}),(0,t.jsxs)("div",{className:"rounded-xl bg-gradient-to-r from-amber-500/10 via-amber-400/5 to-transparent border border-amber-400/30 p-3",children:[(0,t.jsx)("p",{className:"text-[11px] uppercase tracking-[0.18em] text-amber-200 mb-1",children:"From plan to website"}),(0,t.jsx)("p",{className:"text-xs text-amber-50/90",children:"HeyB
1oss turns this plan into a landing page or simple website so investors and customers can see it live."})]})]})]})]})]}),(0,t.jsxs)("div",{className:"md:w-2/5 w-full flex flex-col items-center justify-center text-center gap-6",children:[(0,t.jsxs)("div",{className:"max-w-md space-y-4",children:[(0,t.jsx)("h3",{className:"text-2xl md:text-3xl font-semibold text-white",children:c.loginTitle}),(0,t.jsx)("p",{className:"text-slate-300 leading-relaxed text-sm sm:text-base",children:c.loginDescription}),(0,t.jsx)("p",{className:"text-xs text-slate-400 uppercase tracking-[0.2em]",children:"Plan · Website · Workspace"})]}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 w-full sm:justify-center",children:[(0,t.jsx)(n.default,{href:`/login?redirect=${encodeURIComponent(c.loginRedirect)}`,className:"inline-flex items-center justify-center rounded-full bg-indigo-600 px-8 py-3 text-base font-semibold text-white shadow-[0_0_30px_rgba(99,102,241,0.35)] transition hover:bg-indigo-500 w-full sm:w-auto",children:c.loginButtonLabel}),(0,t.jsx)(n.default,{href:"/signup",className:"inline-flex items-center justify-center rounded-full border border-amber-400/60 px-8 py-3 text-base font-semibold text-amber-100 hover:text-white hover:border-amber-300/80 bg-amber-400/10 w-full sm:w-auto",children:"Create free HeyBoss account"})]}),(0,t.jsxs)("div",{className:"space-y-2 text-xs text-slate-500 max-w-sm",children:[(0,t.jsx)("p",{children:"No credit card needed. See how the AI agent works above, then sign up to generate full plans, launch websites, and track projects in HeyBoss."}),(0,t.jsx)("p",{className:"text-slate-600",children:"You can always browse other free tools and templates without logging in."})]})]})]})})]})]})]})}function c({user:e,userApiKey:n,workflowKey:l,constants:c,icon:d,t:x,hero:h,highlights:m,steps:p,useCases:u,faq:f,generatorCopy:g,seo:b}){let w=()=>{let e=document.getElementById("tool");e&&e.scrollIntoView({behavior:"smooth"})};return(0,t.jsxs)("div",{className:"min-h-screen bg-[#050a18] text-white font-sans",children:[(0,t.jsx)(a.HeaderV3,{user:e,initialVariant:"dark"}),(0,t.jsxs)("main",{children:[(0,t.jsxs)("section",{className:"relative px-4 pt-20 pb-16 bg-gradient-to-b from-[#040710] via-[#050a18] to-[#050a18] overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,_rgba(99,102,241,0.25),_transparent_55%)] pointer-events-none"}),(0,t.jsxs)("div",{className:"max-w-5xl mx-auto text-center relative z-10",children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-[0.4em] text-indigo-200/80 mb-6",children:h.eyebrow}),(0,t.jsx)("h1",{className:"text-3xl md:text-5xl font-semibold leading-tight mb-6",children:h.title}),(0,t.jsx)("p",{className:"text-slate-300 text-lg md:text-xl mb-8",children:h.description}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-10",children:(0,t.jsx)(s.Button,{size:"lg",className:"rounded-full px-10 h-14 text-base font-semibold shadow-[0_0_30px_rgba(99,102,241,0.35)] hover:scale-[1.01]",onClick:w,children:"Launch the free tool"})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-left",children:h.bullets.map(e=>(0,t.jsx)("div",{className:"p-4 rounded-xl border border-white/10 bg-white/5 text-sm text-slate-200 backdrop-blur",children:e},e))})]})]}),(0,t.jsx)("section",{className:"py-20 px-4 bg-[#050a18]",children:(0,t.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:m.map((e,a)=>(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-white/10 bg-gradient-to-b from-white/10 to-white/0 backdrop-blur",children:[(0,t.jsx)("div",{className:"text-xs uppercase tracking-[0.3em] text-indigo-300/80 mb-2",children:String(a+1).padStart(2,"0")}),(0,t.jsx)("h3",{className:"text-xl font-semibold mb-3 text-white",children:e.title}),(0,t.jsx)("p",{className:"text-slate-300 text-sm leading-relaxed",children:e.description})]},e.title))})})}),(0,t.jsx)(o,{user:e,userApiKey:n,workflowKey:l,constants:c,icon:d,t:x,copy:g}),(0,t.jsx)("section",{className:"py-16 px-4 bg-[#050a18]",id:"how-it-works",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-[0.4em] text-indigo-300/80 mb-3",children:"Workflow"}),(0,t.jsx)("h2",{className:"text-3xl font-bold",children:"How it works"}),(0,t.jsx)("p",{className:"text-slate-300 mt-2",children:"Go from idea to publish-ready output in minutes."})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:p.map((e,a)=>(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-white/10 bg-gradient-to-br from-[#0c1224] to-[#070b16]",children:[(0,t.jsxs)("div",{className:"text-indigo-300 text-sm font-semibold mb-3",children:["Step ",a+1]}),(0,t.jsx)("h3",{className:"text-xl font-semibold mb-2",children:e.title}),(0,t.jsx)("p",{className:"text-slate-300 text-sm leading-relaxed",children:e.description})]},e.title))})]})}),(0,t.jsx)("section",{className:"py-20 px-4 bg-[#060c1c]",id:"use-cases",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-[0.4em] text-indigo-300/80 mb-3",children:"Use Cases"}),(0,t.jsx)("h2",{className:"text-3xl font-bold",children:"Who it's for"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:u.map(e=>(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-white/10 bg-white/5",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold mb-2 text-white",children:e.title}),(0,t.jsx)("p",{className:"text-slate-300 text-sm leading-relaxed",children:e.description})]},e.title))})]})}),(0,t.jsx)(i.FeatureFaq,{data:{heading:f.heading,subheading:f.subheading,faqs:f.items.map((e,t)=>({...e,id:t}))}}),(0,t.jsx)("section",{className:"py-20 px-4 bg-[#060c1c]",id:"seo",children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-semibold mb-4",children:b.title}),(0,t.jsx)("p",{className:"text-slate-300 leading-relaxed",children:b.description})]})}),(0,t.jsx)("section",{className:"py-20 px-4 bg-gradient-to-b from-[#040710] to-[#050a18]",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto text-center border border-white/10 rounded-[32px] px-8 py-14 bg-white/5 backdrop-blur",children:[(0,t.jsxs)("h2",{className:"text-3xl font-semibold mb-4",children:["Ready to try the ",h.title,"?"]}),(0,t.jsx)("p",{className:"text-slate-300 mb-8",children:"Generate unlimited concepts free in y
1our browser. When you're ready, sign in to save work, publish to your HeyBoss projects, and collaborate with your team."}),(0,t.jsx)(s.Button,{size:"lg",className:"rounded-full px-10 h-14 text-base font-semibold shadow-[0_0_30px_rgba(99,102,241,0.35)]",onClick:w,children:"Open the AI agent"})]})})]}),(0,t.jsx)(r.FooterV3,{})]})}e.s(["ToolPageClient",()=>c],531912)},996706,e=>{"use strict";function t(e){return{greeting:e("chatkit_greeting"),starterPrompts:[{label:e("starter-prompts.create-from-topic.label"),prompt:e("starter-prompts.create-from-topic.prompt"),icon:"sparkle"},{label:e("starter-prompts.create-from-existing.label"),prompt:e("starter-prompts.create-from-existing.prompt"),icon:"book-open"},{label:e("starter-prompts.get-insipration.label"),prompt:e("starter-prompts.get-insipration.prompt"),icon:"lightbulb"}],placeholder:e("chatkit_placeholder")}}e.s(["getChatKitConstants",()=>t])},797911,e=>{"use strict";var t=e.i(991536);e.s(["MessageCircleIcon",()=>t.default])},690308,e=>{"use strict";var t=e.i(269635),a=e.i(797911),r=e.i(964361),s=e.i(996706),i=e.i(531912);function n({user:e,userApiKey:n}){let l=(0,r.useTranslations)("social-media"),o=(0,s.getChatKitConstants)(l);return(0,t.jsx)(i.ToolPageClient,{user:e,userApiKey:n,workflowKey:"social_media",constants:o,icon:a.MessageCircleIcon,t:l,hero:{eyebrow:"Free AI Tool",title:"AI Social Media Post Generator",description:"Create scroll-stopping hooks, multi-platform captions, and weekly calendars with a single prompt.",bullets:["Repurpose content across LinkedIn, Social, and X","Keep tone consistent for every persona","Plan out carousels, reels, and threads instantly"]},highlights:[{title:"Hook + caption packs",description:"Generate batches of hooks, captions, and call-to-actions tailored to each channel."},{title:"Calendar-ready output",description:"See suggested posting schedules, asset types, and reminder tasks in one view."},{title:"Smart repurposing",description:"Paste long-form content and get carousel copy, email teasers, and tweetstorms adapted automatically."}],steps:[{title:"Share your goal",description:"Tell the agent what you are promoting, the platforms you care about, and the tone to match."},{title:"Customize the plan",description:"Approve suggested ideas, tweak voice or CTAs, and add any required hashtags or mentions."},{title:"Generate & schedule",description:"Export text or CSV files, paste directly into schedulers, or hand off to design."}],useCases:[{title:"In-house marketers",description:"Ship consistent posts even when the team is focused on launches."},{title:"Agencies & freelancers",description:"Deliver content packs to clients with clear rationale and variations."},{title:"Creators",description:"Stay visible on every platform without burning out on ideation."},{title:"Community & customer teams",description:"Turn support wins, testimonials, and product updates into recurring social proof moments."}],faq:{heading:"Social Media Generator FAQs",subheading:"Plan, write, and approve posts faster—here’s how the agent fits into your stack.",items:[{question:"Does it support platform-specific formats?",answer:"Yes. Generate LinkedIn posts, X threads, Social captions, story scripts, and more with channel-aware formatting."},{question:"Can I enforce brand voice?",answer:"Provide guidelines or upload sample posts and the agent mirrors your tone automatically."},{question:"Will this replace my scheduler?",answer:"The generator focuses on ideation and copy. Export to your preferred scheduler (Buffer, Later, etc.) once the content is ready."},{question:"Can I batch a full calendar?",answer:"Yes. Provide a campaign window and cadence and the agent will draft multiple weeks of content with platform mix recommendations."},{question:"How do approvals work?",answer:"Collaborators can leave inline notes on each generated post inside your HeyBoss workspace before you export or schedule."}]},generatorCopy:{title:"Create social content with AI",description:"Chat with the social media agent to ideate hooks and schedule-ready captions.",loginTitle:"Log in to publish faster",loginDescription:"Sign in to HeyBoss to save templates, collaborate on approvals, and tie posts to live campaigns.",loginButtonLabel:"Log in to continue",loginRedirect:"/tool/social-media-post-generator"},seo:{title:"Plan and write social media content in minutes",description:"HeyBoss helps content teams turn campaign briefs into hooks, captions, and calendars for every platform. Repurpose long-form content, enforce brand voice, coordinate approvals, and export everything to your scheduling stack 
1in a few clicks."}})}e.s(["default",()=>n])}]);
2
3//# sourceMappingURL=052d4d1f14fa5642.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.