PageSourceSearch

https://lipikaai.com/_next/static/chunks/9945.ad6ecb1e4d9fdc11.js

js lipikaai.com collected 2026-10-08 06:04:14 UTC 15,463 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9945],{51859:(e,t,s)=>{s.r(t),s.d(t,{default:()=>E});var i=s(95155),r=s(12115),a=s(99880),n=s(53496);let l=e=>{let{children:t}=e;return(0,i.jsx)("div",{className:"md:mt-[60px] mt-9",children:t})};var o=s(63209),d=s(96819),c=s(15239);let u=e=>{let{heading:t,description:s,image:r}=e;return(0,i.jsxs)("article",{className:"overflow-hidden rounded-2xl shadow-sm ",children:[(0,i.jsx)(c.default,{alt:"",src:r,width:1800,height:1800,className:" w-full "}),(0,i.jsxs)("div",{className:"bg-white px-4 pb-4 sm:px-7 sm:pb-7",children:[(0,i.jsx)("h3",{className:"mt-4 md:mt-7 text-lg text-[#000D1A] font-semibold  md:text-2xl",children:t}),(0,i.jsx)("p",{className:"text-[#61646B] font-inter text-[16px] not-italic font-normal leading-[28px] tracking-[-0.16px] mt-1 md:mt-2",children:s})]})]})};var x=s(9852);let m=()=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(d.A,{children:(0,i.jsx)("div",{id:"featuresExplore",className:"bg-[#FAFAFB] py-[40px] md:py-[130px]",children:(0,i.jsxs)(o.A,{children:[(0,i.jsxs)("div",{className:"mb-8 max-w-[677px] mx-auto text-center space-y-3",children:[(0,i.jsxs)("h2",{className:"text-[#040E2B] text-center font-[600] text-3xl md:text-[54px] leading-9 md:leading-[68px] tracking-[-1.62px] font-inter not-ligatures",children:["Smarter Workflows ",(0,i.jsx)("br",{})," One AI Platform"]}),"Use Lipika AI for writing, research, coding, image generation, and everyday productivity — all from one simple workspace."]}),(0,i.jsx)(l,{children:(0,i.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-[30px]",children:null===x.CD||void 0===x.CD?void 0:x.CD.map((e,t)=>(0,i.jsx)(u,{heading:e.heading,description:e.description,image:e.image},t))})})]})})})});s(85488);var p=s(20063),h=s(90854),g=s(9924),v=s(39969);let f=[v.lw,v.Bk,v._E,v.Vp,v.wK,v.zr,v.vA,v.hf,v.ZP,v.Ql],w=()=>{var e,t,s;let r=96*(2*f.length);return(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute top-1/2 left-1/2 rounded-full w-60 h-60 border border-[rgba(22,81,244,0.06)] bg-[radial-gradient(50%_50%_at_50%_50%,rgba(22,81,244,0.01)_0%,rgba(22,81,244,0.09)_100%)] shadow-[inset_0_1.5px_12px_0_rgba(199,214,255,0.44)] backdrop-blur-[5px] z-0 -translate-x-1/2 -translate-y-1/2"}),(0,i.jsxs)("div",{className:"relative grid grid-cols-2 gap-4 py-10 max-w-[1170px] mx-auto z-10",children:[(0,i.jsx)("div",{className:"overflow-hidden w-full bg-white/70 shadow py-3  flex  items-center rounded-3xl",children:(0,i.jsx)(g.P.div,{className:"flex items-center",animate:{x:["-50%","0%"]},transition:{x:{repeat:1/0,repeatType:"loop",duration:r/5,ease:"linear"}},children:null==(e=Array.from({length:60}).flatMap(()=>f))?void 0:e.map((e,t)=>(0,i.jsx)("div",{className:"flex-shrink-0 flex items-center justify-center w-[80px] h-[80px] ",children:(0,i.jsx)(c.default,{src:e,width:200,height:200,alt:"marquee-img-".concat(t),className:" rounded-lg mt-5"})},t))})}),(0,i.jsx)("div",{className:"overflow-hidden w-full bg-white/70 shadow py-3  flex  items-center rounded-3xl",children:(0,i.jsx)(g.P.div,{className:"flex items-center",animate:{x:["0%","-50%"]},transition:{x:{repeat:1/0,repeatType:"loop",duration:r/5,ease:"linear"}},children:null==(s=Array.from({length:60}))||null==(t=s.flatMap(()=>f))?void 0:t.map((e,t)=>(0,i.jsx)("div",{className:"flex-shrink-0 flex items-center justify-center w-[80px] h-[80px] ",children:(0,i.jsx)(c.default,{src:e,width:200,height:200,alt:"marquee-img-".concat(t),className:"mt-5 rounded-lg "})},t))})}),(0,i.jsx)("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2  flex items-center justify-center  rounded-full",children:(0,i.jsx)(c.default,{src:v.El,width:200,height:200,alt:"marquee-img-".concat(0),className:"w-56 h-56 object-cover rounded-lg  mt-4"})})]})]})},j=()=>{(0,p.useRouter)();let{userRole:e}=(0,h.A)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"mt-[40px] md:mt-[65px]",children:(0,i.jsx)("div",{id:"ai-models",className:"",children:(0,i.jsx)(o.A,{children:(0,i.jsx)("div",{className:"mt-[60px]",children:(0,i.jsx)(w,{})})})})})})};var y=s(6923),A=s(37849);function b(){let[e,t]=r.useState(0);return(0,i.jsx)(d.A,{children:(0,i.jsxs)("div",{id:"faq",className:"max-w-[1064px] px-4 md:px-6 lg:px-0 mx-auto",children:[(0,i.jsx)("div",{className:"text-center mb-10",children:(0,i.jsxs)("div",{className:"mb-10 md:mb-[60px] max-w-[777px] mx-auto text-center space-y-3",children:[(0,i.jsx)("h2",{className:"text-[#040E2B] text-center font-[600] text-4xl md:text-[54px] leading-9 md:leading-[68px] tracking-[-1.62px] font-inter not-ligatures",children:"Frequently asked questions"}),(0,i.jsx)("p",{className:"text-[#61646B] text-center font-inter text-[18px] not-italic font-normal leading-[30px] tracking-[-0.18px]",children:"Find clear answers about Lipika AI, supported models, pricing, credits, payments, and workspace features."})]})}),(0,i.jsx)("div",{className:"flex flex-col gap-5",children:y.Y.map((s,r)=>(0,i.jsx)(A.A,{item:s,isOpen:e===r,onToggle:()=>{t(e===r?null:r)},index:r},r))})]})})}var C=s(85563);let N={current:!1};var k=s(1213),_=s(13268);let L=async(e,t,s,i,r)=>{try{let s=await t((0,_.Ky)(e.credential)),n=null==s?void 0:s.payload;if(null==n?void 0:n.access_token){var a;let e=(null==n?void 0:n.user)||(null==n||null==(a=n.data)?void 0:a.user);await t((0,_.jp)()),i&&i(e)}else{let e=(null==n?void 0:n.message)||"Google login failed";r&&r(e)}}catch(e){r&&r((null==e?void 0:e.message)||"Google login error")}};var M=s(80515);function E(){let e=(0,k.wA)(),{loginUser:t}=(0,h.A)(),s=(0,p.useRouter)();var l=(0,r.useCallback)(async i=>{null!=t&&t.email||await L(i,e,!0,()=>s.push("/chat"),e=>console.error("One Tap login error:",e))},[null==t?void 0:t.email,e]);let{userId:o,email:d}=(0,h.A)(),c=!!(o||d);return(0,r.useEffect)(()=>{!c&&window.google&&(N.current||(N.current=!0,window.google.accounts.id.initialize({client_id:"790801536611-js8gtsnre42ibvr4ndi86h7oi3ep9ida.apps.googleusercontent.com",callback:e=>l(e),use_fedcm_for_prompt:!0}),window.google.accounts.id.prompt()))},[c]),(0,i.jsxs)("section",{className:"flex mx-auto w-full flex-col text-foreground overflow-hidden",children:[(0,i.jsx)(a.KE,{}),(0,i.jsx)(j,{}),(0,i.jsx)(a.q,{}),(0,i.jsx)(m,{}),(0,i.jsx)(a.ud,{isProductPage:!1}),M.K.IS_DEVELOPMENT&&(0,i.jsx)(n.z,{isProductPage:!1}),(0,i.jsx)(b,{}),(0,i.jsx)(C.A,{})]})}},79503:(e,t,s)=>{s.d(t,{n:()=>x});var i=s(35960),r=s(53063),a=s(64989),n=s(82295),l=s(90854),o=s(1213),d=s(12115),c=s(97147);
1let u={myPlan:["user-subscription-plan"],usageSummary:["user-credit-usage"],subscriptionOverview:["user-subscription-overview"]};function x(e){let t=(0,i.jE)(),{user_id:s}=(0,l.A)(),x=(0,o.d4)(e=>e.auth.token),m=e||null,{data:p,isLoading:h,refetch:g,error:v}=(0,r.I)({queryKey:[...u.subscriptionOverview,m],queryFn:()=>(0,n._t)({workspaceId:m}),enabled:!!s&&!!x,refetchOnWindowFocus:!0,staleTime:0,retry:!1}),f=(0,d.useMemo)(()=>(null==v?void 0:v.status)===402&&v.reason?{message:v.message,reason:v.reason,last_subscription:v.lastSubscription,grace_period_ends_at:v.gracePeriodEndsAt,can_resubscribe:v.canResubscribe}:null,[v]),{mutateAsync:w,isPending:j}=(0,a.n)({mutationFn:e=>(0,n.l7)(e),onSuccess:e=>{if(e.paymentUrl)window.location.href=e.paymentUrl;else if(e.scheduledPlanId){let t=e.effectiveDate?new Date(e.effectiveDate).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"}):"a future date";c.h.success("Your plan has been scheduled for upgrade on ".concat(t,"."))}else c.h.success("Your plan has been updated.");t.invalidateQueries({queryKey:u.myPlan}),t.invalidateQueries({queryKey:u.usageSummary})},onError:e=>{c.h.error((null==e?void 0:e.message)||"Could not process purchase")}}),{mutateAsync:y,isPending:A}=(0,a.n)({mutationFn:n.pU,onSuccess:()=>{c.h.success("Your subscription has been cancelled successfully."),t.invalidateQueries({queryKey:u.subscriptionOverview}),b()},onError:e=>{c.h.error((null==e?void 0:e.message)||"Something went wrong.")}}),b=()=>{t.invalidateQueries({queryKey:u.subscriptionOverview}),t.invalidateQueries({queryKey:u.myPlan}),t.invalidateQueries({queryKey:u.usageSummary})},C=(0,d.useMemo)(()=>({totalLimit:(null==p?void 0:p.credit_limit)||0,usedCredits:(null==p?void 0:p.used_credits)||0,remainingCredits:(null==p?void 0:p.remaining_credits)||0,usagePercentage:(null==p?void 0:p.credit_limit)?Math.round(Number(null==p?void 0:p.used_credits)/Number(null==p?void 0:p.credit_limit)*100):0,isOutOfCredits:0>=(Number(null==p?void 0:p.remaining_credits)||0),planName:(null==p?void 0:p.plan_name)||"No Active Plan"}),[p,f]),N=(0,d.useMemo)(()=>{var e,t;let s=null!=(e=null==p?void 0:p.topups_max_per_cycle)?e:null,i=null!=(t=null==p?void 0:p.topups_used_this_cycle)?t:0,r=null===s,a=r?null:Math.max(0,s-i);return{max:s,used:i,remaining:a,isUnlimited:r,isExhausted:!r&&s-i<=0}},[p]),{mutateAsync:k,isPending:_}=(0,a.n)({mutationFn:e=>(0,n.GU)(e?{workspaceId:e}:{}),onSuccess:()=>{c.h.success("Your subscription is active again!"),t.invalidateQueries({queryKey:u.subscriptionOverview}),b()},onError:e=>{c.h.error((null==e?void 0:e.message)||"Failed to reactivate.")}});return{creditStats:C,topupAllowance:N,isPurchasing:j,isCancelling:A,isReactivating:_,purchasePlan:w,cancelSubscription:y,reactivateSubscription:k,subscriptionOverview:p,subscriptionError:f,refreshSubscriptionOverview:g,isSubscriptionOverviewLoading:h}}},85563:(e,t,s)=>{s.d(t,{A:()=>c});var i=s(95155),r=s(12115),a=s(15239);let n={src:"/_next/static/media/CTASection.cc3019bf.png",height:1544,width:4680,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAABlBMVEUXUvMWUfRsbyvcAAAAAXRSTlP7aonz8gAAAAlwSFlzAAAsSwAALEsBpT2WqQAAAA9JREFUeJxjYIQCBnQGAwABXgAYEx9wZQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3};var l=s(20063),o=s(90854),d=s(85488);let c=()=>{let e=(0,l.useRouter)(),{userRole:t}=(0,o.A)(),[s,c]=(0,r.useState)({x:0,y:0});return(0,i.jsx)("div",{className:"md:mt-[112px] mt-16 w-full max-w-[1260px] mx-auto px-4 md:px-6 lg:px-0 mb-10 md:mb-[72px]",children:(0,i.jsxs)("div",{className:"relative w-full h-[250px] md:h-[400px] rounded-3xl overflow-hidden group",onMouseMove:e=>{let t=e.currentTarget.getBoundingClientRect();c({x:e.clientX-t.left,y:e.clientY-t.top})},children:[(0,i.jsx)(a.default,{src:n,alt:"CTA Section",fill:!0,className:"object-cover",priority:!0}),(0,i.jsx)("div",{className:"absolute inset-0 pointer-events-none transition-opacity duration-300 group-hover:opacity-100 opacity-0",style:{background:"radial-gradient(circle at ".concat(s.x,"px ").concat(s.y,"px, rgba(255,255,255,0.25), transparent 200px)")}}),(0,i.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,i.jsxs)("div",{className:"flex flex-col items-center text-center gap-2 md:gap-4 px-4",children:[(0,i.jsx)("h1",{className:"text-white text-center font-inter text-xl md:text-[54px] font-semibold leading-8 md:leading-[68px] tracking-[-1.62px] not-italic",children:"Ready to Get Started?"}),(0,i.jsx)("p",{className:"text-[rgba(255,255,255,0.7)] text-center font-inter text-sm md:text-[18px] font-normal leading-6 md:leading-[30px] tracking-[-0.18px] not-italic",children:"Your smart assistant, ready whenever you are."}),(0,i.jsxs)("button",{onClick:()=>{t===d.i.USER||t===d.i.ADMIN||t===d.i.SUPER_ADMIN?e.push("/chat"):e.push("/auth/signin")},className:"group w-fit text-primary px-4 md:px-8 py-2 md:py-4 font-semibold text-xs md:text-lg shadow-lg transition-all duration-300 flex items-center gap-3 bg-white rounded-[12px]",children:["Try Lipika AI Free",(0,i.jsx)("span",{children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",className:"group-hover:translate-x-0.5 transition-transform",viewBox:"0 0 20 20",fill:"none",children:(0,i.jsx)("path",{d:"M7.5 5.00004C7.5 5.00004 12.5 8.68246 12.5 10C12.5 11.3176 7.5 15 7.5 15",stroke:"#1651F4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,i.jsxs)("p",{className:"text-[rgba(255,255,255,0.7)] font-inter text-sm sm:text-[16
1px] font-normal leading-[26px] not-italic flex gap-2 items-center",children:[(0,i.jsx)("span",{children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,i.jsx)("path",{d:"M18.3333 5.83268C18.3333 8.13386 16.4678 9.99935 14.1667 9.99935C11.8655 9.99935 10 8.13386 10 5.83268C10 3.5315 11.8655 1.66602 14.1667 1.66602C16.4678 1.66602 18.3333 3.5315 18.3333 5.83268Z",stroke:"white",strokeOpacity:"0.7",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M15.417 3.75L12.917 6.25M15.417 6.25L12.917 3.75",stroke:"white",strokeOpacity:"0.7",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M18.9587 11.0366C18.9581 10.6913 18.6777 10.412 18.3326 10.4127C17.9874 10.4133 17.7081 10.6936 17.7087 11.0388L18.9587 11.0366ZM7.55517 5.62695C7.90035 5.62499 8.17858 5.34359 8.17663 4.99842C8.17468 4.65325 7.89327 4.37501 7.54811 4.37696L7.55517 5.62695ZM11.2503 17.7082H8.75033V18.9582H11.2503V17.7082ZM8.75033 17.7082C7.16958 17.7082 6.0366 17.7073 5.16612 17.6089C4.30713 17.5118 3.78665 17.3271 3.3939 17.0169L2.61918 17.9979C3.27199 18.5135 4.05734 18.7416 5.02581 18.851C5.98279 18.9591 7.19893 18.9582 8.75033 18.9582V17.7082ZM1.04199 11.6665C1.04199 13.1239 1.0408 14.2763 1.15668 15.185C1.27476 16.1109 1.52267 16.8657 2.07781 17.4883L3.01084 16.6565C2.68865 16.2951 2.49789 15.8208 2.39664 15.0268C2.29318 14.2156 2.29199 13.157 2.29199 11.6665H1.04199ZM3.3939 17.0169C3.25487 16.9072 3.12674 16.7865 3.01084 16.6565L2.07781 17.4883C2.24256 17.6732 2.42375 17.8436 2.61918 17.9979L3.3939 17.0169ZM17.7087 11.6665C17.7087 13.157 17.7075 14.2156 17.604 15.0268C17.5027 15.8208 17.312 16.2951 16.9898 16.6565L17.9228 17.4883C18.478 16.8657 18.7259 16.1109 18.844 15.185C18.9598 14.2763 18.9587 13.1239 18.9587 11.6665H17.7087ZM11.2503 18.9582C12.8017 18.9582 14.0178 18.9591 14.9748 18.851C15.9433 18.7416 16.7287 18.5135 17.3815 17.9979L16.6067 17.0169C16.214 17.3271 15.6935 17.5118 14.8345 17.6089C13.9641 17.7073 12.8311 17.7082 11.2503 17.7082V18.9582ZM16.9898 16.6565C16.8739 16.7865 16.7458 16.9072 16.6067 17.0169L17.3815 17.9979C17.5769 17.8436 17.7581 17.6732 17.9228 17.4883L16.9898 16.6565ZM2.29199 11.6665C2.29199 10.176 2.29318 9.11743 2.39664 8.30617C2.49789 7.51217 2.68865 7.0379 3.01084 6.67651L2.07781 5.84468C1.52267 6.46736 1.27476 7.22209 1.15668 8.14805C1.0408 9.05676 1.04199 10.2091 1.04199 11.6665H2.29199ZM2.61918 5.33508C2.42375 5.48942 2.24256 5.65989 2.07781 5.84468L3.01084 6.67651C3.12674 6.54651 3.25487 6.42586 3.3939 6.31606L2.61918 5.33508ZM18.9587 11.6665C18.9587 11.4505 18.959 11.2391 18.9587 11.0366L17.7087 11.0388C17.709 11.2399 17.7087 11.4475 17.7087 11.6665H18.9587ZM7.54811 4.37696C6.37514 4.3836 5.42042 4.41062 4.63831 4.53405C3.8445 4.65933 3.18251 4.8902 2.61918 5.33508L3.3939 6.31606C3.73329 6.04803 4.16803 5.87374 4.83318 5.76877C5.51003 5.66195 6.37648 5.63361 7.55517 5.62695L7.54811 4.37696Z",fill:"white",fillOpacity:"0.7"}),(0,i.jsx)("path",{d:"M8.33301 15H9.58301",stroke:"white",strokeOpacity:"0.7",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M12.083 15H14.9997",stroke:"white",strokeOpacity:"0.7",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2.08301 9.16602H8.33301",stroke:"white",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,i.jsx)("span",{children:"No credit card required"})]})]})})]})})}}}]);

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.