PageSourceSearch

https://www.franchisee.ai/_next/static/chunks/app/%5Blocale%5D/page-b177ab59d2a88d7e.js

js franchisee.ai collected 2026-10-05 12:05:07 UTC 11,008 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{63798:function(e,s,t){Promise.resolve().then(t.bind(t,72214))},72214:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return x}});var r=t(57437),i=t(85169),n=t(68748),l=t(6420),o=t(50495),a=t(2265),c=t(95127),d=t(66765),h=t(16463),u=t(27040);function x(){let{theme:e}=(0,i.F)(),s=(0,h.useRouter)(),t=(0,a.useRef)(0),[x,m]=(0,a.useState)(0),f=["Intelligent Solutions for Your Franchising Needs","AI-Powered Analysis","Tools Tailored for Your Success"],[p,g]=(0,a.useState)(!0),[y,j]=(0,a.useState)(!1),[b,v]=(0,a.useState)(null);(0,a.useEffect)(()=>{(async()=>{let e=(await u.O.auth.getSession()).data.session;v(e),j(!!e)})()},[]),(0,a.useEffect)(()=>{N()},[b]);let N=async()=>{if(console.log(b),b){let{data:e,error:t}=await u.O.from("workspaces").select("*").eq("user_id",b.user.id).eq("is_home",!0).single();if(!e){console.error(t.message);return}return s.push("/".concat(e.id,"/chat"))}};(0,a.useEffect)(()=>{let e=setInterval(()=>{g(!1),setTimeout(()=>{t.current=(t.current+1)%f.length,m(t.current),g(!0)},600)},5e3);return()=>clearInterval(e)},[]);let w=(0,r.jsx)(c.M,{children:p&&(0,r.jsx)(d.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"mt-4 rounded-lg p-4",children:(0,r.jsx)("p",{className:"text-customColor-500 text-center text-xl font-bold",children:f[x]})},x)});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Z,{}),(0,r.jsxs)("div",{className:"flex w-full flex-col",children:[(0,r.jsxs)("section",{className:"flex w-full flex-col items-center justify-center space-y-4 px-4 py-32 md:px-16 md:py-24",children:[(0,r.jsx)("h1",{className:"text-center text-2xl font-bold md:text-4xl",children:"Empower Your Franchise Decisions with AI"}),(0,r.jsx)("div",{className:"mt-4 h-24 md:h-16",children:w}),(0,r.jsxs)("div",{className:"my-4 overflow-hidden rounded-lg lg:shadow-lg",children:[(0,r.jsx)("img",{className:"hidden w-full object-cover sm:block",src:"/images/franchisee-friend.webp",alt:"Product demo gif"}),(0,r.jsx)("img",{className:"block w-full object-cover sm:hidden",src:"/images/franchisee-friend-mobile.webp",alt:"Product demo gif for mobile"})]}),y?(0,r.jsx)(o.z,{className:"mb-24 px-4 py-2",style:{width:"200px",marginTop:"64px !important"},onClick:N,children:"Go to Dashboard"}):(0,r.jsx)(o.z,{className:"mb-24 px-4 py-2",style:{width:"200px",marginTop:"64px !important"},onClick:()=>s.push("/login"),children:"Try Now"})]}),(0,r.jsxs)("section",{style:{background:"linear-gradient(to top, #234D8C, #3A6FA5)",minHeight:"100vh",width:"100%"},className:"bg-customColor-500 min-h-screen w-full",children:[(0,r.jsxs)("div",{className:"flex h-full flex-col items-center justify-between px-4 py-16 text-white md:px-16 md:py-24",children:[(0,r.jsx)("h2",{className:"text-center text-2xl font-bold md:text-4xl",children:"AI Assistant Designed for Franchise Success"}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4 md:flex-row md:space-x-4 md:space-y-0",children:[(0,r.jsxs)("div",{className:"mt-10 flex flex-col items-start space-y-10",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"FoFo, FoCo, FiCo, CoFo, and CoCo?"}),(0,r.jsx)("p",{children:"There are various ways a franchise business can be operated, what suits you the best?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Lawyer Lawyer"}),(0,r.jsx)("p",{children:"Create baseline agreement drafts for your custom franchise that you can then refine with a professional lawyer"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"Expense Planning"}),(0,r.jsx)("p",{children:"Strategize your financial plan for a profitable franchise journey."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-2xl font-bold",children:"अपनी भाषा"}),(0,r.jsx)("p",{children:"Local languages supported: Hindi, Marathi, Gujarati etc."})]})]}),(0,r.jsx)("div",{className:"mt-10 flex flex-col items-start space-y-10",children:(0,r.jsx)("img",{className:"rounded-full",width:"580px",src:"/images/market-analysis.jpg",alt:"Market Analysis"})})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 pt-4",children:[(0,r.jsx)("h3",{className:"text-center text-2xl font-bold",children:"Join the Future of Franchise Management"}),(0,r.jsx)("p",{className:"mb-2 mt-4",children:"Start optimizing your franchise operations today by signing up for our AI assistant services."}),y?(0,r.jsx)(o.z,{className:"text-customColor-500 hover:text-customColor-500 mb-24 bg-white px-4 hover:bg-white",style:{width:"200px"},onClick:N,children:"Go to Dashboard"}):(0,r.jsx)(o.z,{className:"text-customColor-500 hover:text-customColor-500 mb-24 bg-white px-4 py-2 hover:bg-white",style:{width:"200px"},onClick:()=>s.push("/login"),children:"Try Now"})]})]}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(l.Z,{})})]})]})]})}},6420:function(e,s,t){"use strict";var r=t(57437);t(2265),s.Z=function(){return(0,r.jsxs)("footer",{className:"bg-customColor-500 flex w-full flex-col items-center justify-center space-y-4 p-4 text-sm text-white",children:[(0,r.jsxs)("div",{className:"flex space-x-4",children:[(0,r.jsx)("a",{href:"/terms-and-conditions",className:"hover:underline",children:"Terms and Conditions"}),(0,r.jsx)("a",{href:"/privacy-policy",className:"hover:underline",children:"Privacy Policy"}),(0,r.jsx)("a",{href:"/refund-policy",className:"hover:underline",children:"Refund Policy"}),(0,r.jsx)("a",{href:"/contact-us",className:"hover:underline",children:"Contact Us"})]}),(0,r.jsx)("p",{className:"text-center",children:"\xa9 2024 SENYA SOLUTIONS PRIVATE LIMITED. All rights reserved."})]})}},68748:function(e,s,t){"use strict";var r=t(57437),i=t(2265),n=t(16463),l=t(50495),o=t(27040);s.Z=function(){let e=(0,n.useRouter)(),[s,t]=(0,i.useState)(!1),[a,c]=(0,i.useState)(!1),[d,h]=(0,i.useState)(null);(0,i.useEffect)(()=>{(async()=>{let e=(await o.O.auth.getSession()).data.session;h(e),c(!!e)})()},[]);let u=async()=>
1{if(d){let{data:s,error:t}=await o.O.from("workspaces").select("*").eq("user_id",d.user.id).eq("is_home",!0).single();if(!s){console.error(t.message);return}return e.push("/".concat(s.id,"/chat"))}};return(0,r.jsxs)("header",{className:"fixed top-0 flex w-full items-center justify-between bg-white p-5 px-10",children:[(0,r.jsx)("div",{children:(0,r.jsx)("img",{onClick:()=>{e.push("/")},src:"/logos/logo.png",alt:"Logo",className:"h-10 cursor-pointer"})}),(0,r.jsxs)("nav",{className:"flex flex-col items-end",children:[(0,r.jsx)("button",{className:"block sm:hidden",onClick:()=>t(!s),children:s?(0,r.jsx)("img",{src:"/images/close.svg",alt:"Close",style:{width:"24px",height:"24px",textAlign:"right"}}):(0,r.jsx)("img",{src:"/images/hamburger.svg",alt:"Menu",style:{width:"24px",height:"24px",textAlign:"right"}})}),s&&(0,r.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>t(!1),children:(0,r.jsxs)("ul",{className:"mx-4 mt-20 flex flex-col items-end space-y-4 rounded bg-white p-2",children:[(0,r.jsx)("li",{className:"hidden md:block",children:(0,r.jsx)("a",{onClick:()=>{e.push("/")},className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Home"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{onClick:()=>{e.push("/pricing")},className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Pricing"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://blog.franchisee.ai/",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Blog"})}),!a&&(0,r.jsx)("li",{children:(0,r.jsx)(l.z,{onClick:()=>{e.push("/login")},className:"px-4 py-2 text-white",children:"Get Started"})}),a&&(0,r.jsx)("li",{children:(0,r.jsx)(l.z,{onClick:u,className:"px-4 py-2 text-white",children:"Go to Dashboard"})})]})})]}),(0,r.jsx)("nav",{className:"hidden md:flex",children:(0,r.jsxs)("ul",{className:"flex items-center space-x-4",children:[(0,r.jsx)("li",{className:"hidden md:block",children:(0,r.jsx)("a",{onClick:()=>{e.push("/")},className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Home"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{onClick:()=>{e.push("/pricing")},className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Pricing"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://blog.franchisee.ai/",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer rounded p-2 px-4 py-1 text-gray-700 transition-colors duration-300 hover:bg-gray-200",children:"Blog"})}),!a&&(0,r.jsx)("li",{children:(0,r.jsx)(l.z,{onClick:()=>{e.push("/login")},className:"px-4 py-2 text-white",children:"Get Started"})}),a&&(0,r.jsx)("li",{children:(0,r.jsx)(l.z,{onClick:u,className:"px-4 py-2 text-white",children:"Go to Dashboard"})})]})})]})}},50495:function(e,s,t){"use strict";t.d(s,{z:function(){return c}});var r=t(57437),i=t(71538),n=t(12218),l=t(2265),o=t(37440);let a=(0,n.j)("ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors hover:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-customColor-500 text-primary-foreground hover:bg-customColor-300",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border-input bg-background hover:bg-accent hover:text-accent-foreground border",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:"size-10"}},defaultVariants:{variant:"default",size:"default"}}),c=l.forwardRef((e,s)=>{let{className:t,variant:n,size:l,asChild:c=!1,...d}=e,h=c?i.g7:"button";return(0,r.jsx)(h,{className:(0,o.cn)(a({variant:n,size:l,className:t})),ref:s,...d})});c.displayName="Button"},27040:function(e,s,t){"use strict";t.d(s,{O:function(){return r}});
1let r=(0,t(30959).AY)("https://cdjnvpihgdutyrekqtxh.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImNkam52cGloZ2R1dHlyZWtxdHhoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDk5ODQ4NDYsImV4cCI6MjAyNTU2MDg0Nn0.Y4zDQdMCBUAivYKJbAr29k5LQxAj3Q3fXXMllXCJlHY")},37440:function(e,s,t){"use strict";t.d(s,{cn:function(){return n}});var r=t(44839),i=t(96164);function n(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return(0,i.m6)((0,r.W)(s))}}},function(e){e.O(0,[967,54,446,971,23,744],function(){return e(e.s=63798)}),_N_E=e.O()}]);

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.