1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[939],{94390:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment-success",function(){return s(573)}])},6924:function(e,r,s){"use strict";s.d(r,{Hb:function(){return n},t5:function(){return a}});var t=s(39696);let a=function(e,r){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=r;if(s){let s=null==e?void 0:e.locale;"en"!==s&&(a="/".concat(s).concat(r))}return(0,t.jsx)("link",{rel:"canonical",href:"".concat("https://nanobananaapi.ai").concat(a||"/")})},n=(e,r,s)=>{var a;let n="/"===r?"":r;return null==e?void 0:null===(a=e.locales)||void 0===a?void 0:a.map(e=>{if(s&&!s.includes(e))return null;let r=("en"===e?"":"/".concat(e))+n;return(0,t.jsx)("link",{rel:"alternate",hrefLang:e,href:"https://nanobananaapi.ai"+(r||"/")},e)})}},573:function(e,r,s){"use strict";s.r(r),s.d(r,{__N_SSP:function(){return p},runtime:function(){return h}});var t=s(39696),a=s(56156),n=s(90170),l=s(68237),i=s(6924),o=s(5270),u=s.n(o),d=s(67373),c=s(35126),m=s(61915),b=s(98487),f=s(52915),p=!0;r.default=function(e){let{transactionId:r,price:s,currency:o}=e,{userStore:p}=(0,f.o)(),h=(0,l.useRouter)(),{t:x}=(0,a.Z)("common"),[v,g]=(0,n.useState)(5);return(0,n.useEffect)(()=>{if(4===v)try{var e;window.dataLayer.push({event:"purchase_success",transaction_id:r,value:s,currency:o,email:(null===(e=p.user)||void 0===e?void 0:e.email)||""})}catch(e){console.log("dataLayer Error",e)}},[v]),(0,n.useEffect)(()=>{let e=setTimeout(()=>{h.push("/billing")},5e3),r=setInterval(()=>{g(e=>e>0?e-1:0)},1e3);return()=>{clearTimeout(e),clearInterval(r)}},[h]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(u(),{children:[(0,t.jsx)("title",{children:x("paymentSuccess.title")}),(0,t.jsx)("meta",{name:"description",content:x("paymentSuccess.description")}),(0,t.jsx)("meta",{name:"robots",content:"noindex"}),(0,i.t5)(h,"/payment-success",!0),(0,i.Hb)(h,"/payment-success")]}),(0,t.jsx)("div",{className:"flex min-h-screen w-full items-center justify-center bg-[var(--color-background)] p-4",children:(0,t.jsxs)(d.w,{className:"max-w-lg p-6 text-center",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("div",{className:"flex h-20 w-20 items-center justify-center rounded-full bg-success/10",children:(0,t.jsx)(b.JO,{icon:"solar:check-circle-bold",className:"h-12 w-12 text-success"})})}),(0,t.jsx)(c.q,{y:4}),(0,t.jsx)("h1",{className:"text-2xl font-bold text-default-900",children:x("paymentSuccess.heading")}),(0,t.jsx)(c.q,{y:2}),(0,t.jsx)("p",{className:"text-default-600",children:x("paymentSuccess.message")}),(0,t.jsx)(c.q,{y:4}),(0,t.jsx)("p",{className:"text-sm text-default-500",children:x("paymentSuccess.redirect",{count:v})}),(0,t.jsx)(c.q,{y:4}),v<4&&(0,t.jsx)(m.A,{color:"primary",variant:"solid",className:"w-full",onPress:()=>h.push("/billing"),children:x("paymentSuccess.buttonText")})]})})]})};let h="experimental-edge"},67373:function(e,r,s){"use strict";s.d(r,{w:function(){return y}});var t=s(7082),a=s(42516),n=s(14895),l=(0,a.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","h-auto","outline-solid outline-transparent","text-foreground","box-border","bg-content1",...n.Dh],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}}
1,isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,isFooterBlurred:!1}}),i=s(90170),o=s(95031),u=s(2855),d=s(52310),c=s(82980),m=s(23956),b=s(3294),f=s(33800),p=s(82872),h=s(57096),x=s(69691),v=s(39696),g=(0,m.Gp)((e,r)=>{let{children:s,context:a,Component:n,isPressable:g,disableAnimation:y,disableRipple:w,getCardProps:j,getRippleProps:k}=function(e){var r,s,t,a;let n=(0,c.w)(),[x,v]=(0,m.oe)(e,l.variantKeys),{ref:g,as:y,children:w,onClick:j,onPress:k,autoFocus:P,className:N,classNames:_,allowTextSelectionOnPress:C=!0,...S}=x,B=(0,p.gy)(g),H=y||(e.isPressable?"button":"div"),D="string"==typeof H,E=null!=(s=null!=(r=e.disableAnimation)?r:null==n?void 0:n.disableAnimation)&&s,F=null!=(a=null!=(t=e.disableRipple)?t:null==n?void 0:n.disableRipple)&&a,I=(0,b.Wy)(null==_?void 0:_.base,N),{onClear:W,onPress:T,ripples:q}=(0,h.i)(),X=(0,i.useCallback)(e=>{F||E||!B.current||T(e)},[F,E,B,T]),{buttonProps:A,isPressed:L}=(0,d.j)({onPress:(0,b.tS)(k,X),elementType:y,isDisabled:!e.isPressable,onClick:j,allowTextSelectionOnPress:C,...S},B),{hoverProps:M,isHovered:R}=(0,u.X)({isDisabled:!e.isHoverable,...S}),{isFocusVisible:z,isFocused:G,focusProps:O}=(0,o.F)({autoFocus:P}),V=(0,i.useMemo)(()=>l({...v,disableAnimation:E}),[(0,b.Xx)(v),E]),K=(0,i.useMemo)(()=>({slots:V,classNames:_,disableAnimation:E,isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,fullWidth:e.fullWidth}),[V,_,e.isDisabled,e.isFooterBlurred,E,e.fullWidth]),U=(0,i.useCallback)((r={})=>({ref:B,className:V.base({class:I}),tabIndex:e.isPressable?0:-1,"data-hover":(0,b.PB)(R),"data-pressed":(0,b.PB)(L),"data-focus":(0,b.PB)(G),"data-focus-visible":(0,b.PB)(z),"data-disabled":(0,b.PB)(e.isDisabled),...(0,b.dG)(e.isPressable?{...A,...O,role:"button"}:{},e.isHoverable?M:{},(0,f.z)(S,{enabled:D}),(0,f.z)(r))}),[B,V,I,D,e.isPressable,e.isHoverable,e.isDisabled,R,L,z,A,O,M,S]),J=(0,i.useCallback)(()=>({ripples:q,onClear:W}),[q,W]);return{context:K,domRef:B,Component:H,classNames:_,children:w,isHovered:R,isPressed:L,disableAnimation:E,isPressable:e.isPressable,isHoverable:e.isHoverable,disableRipple:F,handlePress:X,isFocusVisible:z,getCardProps:U,getRippleProps:J}}({...e,ref:r});return(0,v.jsxs)(n,{...j(),children:[(0,v.jsx)(t.k,{value:a,children:s}),g&&!y&&!w&&(0,v.jsx)(x.L,{...k()})]})});g.displayName="HeroUI.Card";var y=g},7082:function(e,r,s){"use strict";s.d(r,{R:function(){return a},k:function(){return t}});var[t,a]=(0,s(35106).k)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `context` is undefined. Seems you forgot to wrap component within <Card />"})},35126:function(e,r,s){"use strict";s.d(r,{q:function(){return c}});var t={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},a=s(23956),n=(0,s(42516).tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),l=s(3294),i=s(90170),o=e=>{var r;return null!=(r=t[e])?r:e},u=s(39696),d=(0,a.Gp)((e,r)=>{let{Component:s,getSpacerProps:t}=function(e){let[r,s]=(0,a.oe)(e,n.variantKeys),{as:t,className:u,x:d=1,y:c=1,...m}=r,b=(0,i.useMemo)(()=>n({...s,className:u}),[(0,l.Xx)(s),u]),f=o(d),p=o(c);return{Component:t||"span",getSpacerProps:(e={})=>({...e,...m,"aria-hidden":(0,l.PB)(!0),className:(0,l.Wy)(b,e.className),style:{...e.style,...m.style,marginLeft:f,marginTop:p}})}}({...e});return(0,u.jsx)(s,{ref:r,...t()})});d.displayName="HeroUI.Spacer";var c=d}},function(e){e.O(0,[5834,2888,9774,179],function(){return e(e.s=94390)}),_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.