PageSourceSearch

https://smartinn.ai/_next/static/chunks/3503-46f97896fa81beaf.js

js smartinn.ai collected 2026-10-05 12:38:50 UTC 11,060 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3503],{56265:function(e,n,t){t.d(n,{J:function(){return o}});var r=t(77107),i=t(1382),a=t(99508);function o(e){let{disabled:n,scope:t,onComplete:o}=e;async function u(){try{let e=(0,a.v0)(),n=(0,a.LG)(),t=await (0,a.jc)(await (0,a.gY)(e,n));return console.log({auth:e,credential:t,provider:n}),null==o?void 0:o(t)}catch(e){console.log("Could not log with google"),console.log(e)}}return(0,r.jsx)("div",{children:(0,r.jsxs)(i.z,{type:"button",variant:"outline",className:"w-full",disabled:n,onClick:u,children:[(0,r.jsx)(s,{}),"sign-in"===t&&"Sign in with Google","sign-up"===t&&"Sign up with Google"]})})}function s(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:"mr-2",children:[(0,r.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,r.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,r.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,r.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"}),(0,r.jsx)("path",{fill:"none",d:"M1 1h22v22H1z"})]})}},67387:function(e,n,t){t.d(n,{S:function(){return o}});var r=t(77107),i=t(7331),a=t(79792);function o(e){let{text:n,className:t}=e;return(0,r.jsxs)("div",{className:(0,a.cn)("flex items-center space-x-4",t),children:[(0,r.jsx)(i.Separator,{className:"flex-1"}),(0,r.jsx)("span",{className:"font-semibold text-gray-700",children:n}),(0,r.jsx)(i.Separator,{className:"flex-1"})]})}},1382:function(e,n,t){t.d(n,{d:function(){return s},z:function(){return u}});var r=t(77107),i=t(13967),a=t(79792),o=t(12112);let s=(0,t(55854).j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=i.forwardRef((e,n)=>{let{className:t,variant:i,size:u,asChild:c=!1,...l}=e,d=c?o.g7:"button";return(0,r.jsx)(d,{className:(0,a.cn)(s({variant:i,size:u,className:t})),ref:n,...l})});u.displayName="Button"},14116:function(e,n,t){t.d(n,{NI:function(){return m},Wi:function(){return d},l0:function(){return c},lX:function(){return A},pf:function(){return T},xJ:function(){return _},zG:function(){return p}});var r=t(77107),i=t(13967),a=t(1544),o=t(79792),s=t(12112),u=t(27750);let c=u.RV,l=i.createContext({}),d=e=>{let{...n}=e;return(0,r.jsx)(l.Provider,{value:{name:n.name},children:(0,r.jsx)(u.Qr,{...n})})},E=()=>{let e=i.useContext(l),n=i.useContext(f),{getFieldState:t,formState:r}=(0,u.Gc)(),a=t(e.name,r);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=n;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...a}},f=i.createContext({}),_=i.forwardRef((e,n)=>{let{className:t,...a}=e,s=i.useId();return(0,r.jsx)(f.Provider,{value:{id:s},children:(0,r.jsx)("div",{ref:n,className:(0,o.cn)("space-y-2",t),...a})})});_.displayName="FormItem";
1let A=i.forwardRef((e,n)=>{let{className:t,...i}=e,{error:s,formItemId:u}=E();return(0,r.jsx)(a.Label,{ref:n,className:(0,o.cn)(s&&"text-destructive",t),htmlFor:u,...i})});A.displayName="FormLabel";let m=i.forwardRef((e,n)=>{let{...t}=e,{error:i,formItemId:a,formDescriptionId:o,formMessageId:u}=E();return(0,r.jsx)(s.g7,{ref:n,id:a,"aria-describedby":i?"".concat(o," ").concat(u):"".concat(o),"aria-invalid":!!i,...t})});m.displayName="FormControl";let T=i.forwardRef((e,n)=>{let{className:t,...i}=e,{formDescriptionId:a}=E();return(0,r.jsx)("p",{ref:n,id:a,className:(0,o.cn)("text-sm text-muted-foreground",t),...i})});T.displayName="FormDescription";let p=i.forwardRef((e,n)=>{let{className:t,children:i,...a}=e,{error:s,formMessageId:u}=E(),c=s?String(null==s?void 0:s.message):i;return c?(0,r.jsx)("p",{ref:n,id:u,className:(0,o.cn)("text-sm font-medium text-destructive",t),...a,children:c}):null});p.displayName="FormMessage"},41334:function(e,n,t){t.d(n,{I:function(){return o}});var r=t(77107),i=t(13967),a=t(79792);let o=i.forwardRef((e,n)=>{let{className:t,type:i,...o}=e;return(0,r.jsx)("input",{type:i,className:(0,a.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...o})});o.displayName="Input"},1544:function(e,n,t){t.d(n,{Label:function(){return u}});var r=t(77107),i=t(13967),a=t(79792),o=t(75361);let s=(0,t(55854).j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=i.forwardRef((e,n)=>{let{className:t,...i}=e;return(0,r.jsx)(o.f,{ref:n,className:(0,a.cn)(s(),t),...i})});u.displayName=o.f.displayName},7331:function(e,n,t){t.r(n),t.d(n,{Separator:function(){return s}});var r=t(77107),i=t(13967),a=t(79792),o=t(8073);let s=i.forwardRef((e,n)=>{let{className:t,orientation:i="horizontal",decorative:s=!0,...u}=e;return(0,r.jsx)(o.f,{ref:n,decorative:s,orientation:i,className:(0,a.cn)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",t),...u})});s.displayName=o.f.displayName},99508:function(e,n,t){t.d(n,{LG:function(){return s},WI:function(){return l},bE:function(){return E},c0:function(){return f},gY:function(){return c},jc:function(){return d},kS:function(){return _},v0:function(){return a}});var r=t(480),i=t(27182);function a(){return(0,r.v0)(i.H)}async function o(e){await fetch("/api/signin",{method:"GET",headers:{Authorization:"Bearer ".concat(e)}})}let s=()=>{let e=new r.hJ;return e.addScope("profile"),e.addScope("email"),e.setCustomParameters({display:"popup"}),e};async function u(e){let n=await e.user.getIdToken();await o(n)}let c=async(e,n)=>await (0,r.rh)(e,n,r.n0);async function l(e,n){let t=a();await d(await (0,r.e5)(t,e,n))}async function d(e){return await u(e),e}async function E(e){let n=a(),t=await (0,r.Xb)(n,e.email,e.password);return await (0,r.w$)(t.user),await (0,r.ck)(t.user,{displayName:e.name}),await u(t),t}async function f(e){let n=a();await (0,r.LS)(n,e)}async function _(){await fetch("/api/signout",{method:"GET",headers:{}})}},27182:function(e,n,t){t.d(n,{H:function(){return a}});var r=t(95256),i=t(11258);let a=(0,r.ZF)({apiKey:i.O.NEXT_PUBLIC_FIREBASE_API_KEY,authDomain:i.O.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,measurementId:i.O.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID,projectId:i.O.NEXT_PUBLIC_FIREBASE_PROJECT_ID,appId:i.O.NEXT_PUBLIC_FIREBASE_APP_ID})},68065:function(e,n,t){t.d(n,{Ci:function(){return o},Jt:function(){return i},ed:function(){return a},es:function(){return r}});let r="/dashboard",i="/auth/signin",a=i,o={CONTACT:{title:"Contact Us",href:"/contact"}}},79792:function(e,n,t){t.d(n,{H:function(){return o},cn:function(){return a}});var r=t(72097),i=t(88062);function a(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return(0,i.m6)((0,r.W)(n))}function o(e){return({Alex:"https://cdn.smartinn.ai/videos/en/personas/Alex/MainMenu.mp4",Arthur:"https://cdn.smartinn.ai/videos/en/personas/Arthur/MainMenu.mp4",Bianca:"https://cdn.smartinn.ai/videos/en/personas/Bianca/MainMenu.mp4",Jackie:"https://cdn.smartinn.ai/videos/en/personas/Jackie/MainMenu.mp4"})[e]}},76864:function(e,n,t){t.r(n),n.default={src:"/_next/static/media/smartrep-logo.9903bb3f.png",height:223,width:610,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAMFBMVEUDAwZJT3gDAwtTXIU+TZZGUoJdX19MT09GS0tdaapMaXFFRUdVVVU8TZU7P0l5fYuwomRLAAAAEHRSTlMYFiQmm02FUzNtAGsDXIS1/YImwQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAACNJREFUeJxjYORg5mRlZWZkYOdm4+djYeFl4OFiYGJgYGIAAAfVAIiPmqReAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3}},11258:function(e,n,t){t.d(n,{O:function(){return o}});var r=t(80084),i=t(76746),a=t(70157);let o=(0,r.D)({server:{DATABASE_URL:i.z.string().url().refine(e=>!e.includes("YOUR_MYSQL_URL_HERE"),"You forgot to change the default URL"),NODE_ENV:i.z.enum(["development","test","production"]).default("development"),AUTH_SECRET:i.z.string(),FIREBASE_AUTH_COOKIE_SIGNATURE_KEY:i.z.string(),STORAGE_BUCKET_NAME:i.z.string(),CHATBOTS_STORAGE_BUCKET_NAME:i.z.string(),STRIPE_SECRET_KEY:i.z.string(),STRIPE_WEBHOOK_SECRET:i.z.string(),AUTH_URL:i.z.preprocess(e=>{var n;return null!==(n=a.env.VERCEL_URL)&&void 0!==n?n:e},a.env.VERCEL?i.z.string():i.z.string().url()),API_SECRET:i.z.string().optional(),BIG_QUERY_STATS_TABLE:i.z.string()},client:{NEXT_PUBLIC_FIREBASE_API_KEY:i.z.string(),NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:i.z.string(),NEXT_PUBLIC_FIREBASE_PROJECT_ID:i.z.string(),NEXT_PUBLIC_FIREBASE_APP_ID:i.z.string(),NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID:i.z.string(),NEXT_PUBLIC_WS_URL:i.z.string(),NEXT_PUBLIC_STRIPE_KEY:i.z.string(),NEXT_PUBLIC_LEADBOT_HOST:i.z.string().url()},runtimeEnv:{DATABASE_URL:a.env.DATABASE_URL,NODE_ENV:"production",AUTH_SECRET:a.env.AUTH_SECRET,API_SECRET:a.env.API_SECRET,AUTH_URL:a.env.AUTH_URL,NEXT_PUBLIC_FIREBASE_API_KEY:"AIzaSyC5KH9Noau6gQWayhvAR3DcApiyGY6TTX4",NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:"vhotelier.firebaseapp.com",NEXT_PUBLIC_FIREBASE_PROJECT_ID:"vhotelier",NEXT_PUBLIC_FIREBASE_APP_ID:"1:590767853039:web:35fc71331fa4277fd5ba1a",NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID:"G-6LL86HS8KD",NEXT_PUBLIC_WS_URL:"https://ws.smartinn.ai",STORAGE_BUCKET_NAME:a.env.STORAGE_BUCKET_NAME,CHATBOTS_STORAGE_BUCKET_NAME:a.env.CHATBOTS_STORAGE_BUCKET_NAME,FIREBASE_AUTH_COOKIE_SIGNATURE_KEY:a.env.FIREBASE_AUTH_COOKIE_SIGNATURE_KEY,STRIPE_SECRET_KEY:a.env.STRIPE_SECRET_KEY,STRIPE_WEBHOOK_SECRET:a.env.STRIPE_WEBHOOK_SECRET,NEXT_PUBLIC_STRIPE_KEY:"pk_live_51OtRdtGtdWQjSeThL5JESdeke6QFPpHNy1sO4U94Q9tPbPk9WqrMFxLvQmyPNDu9zerLJao3Zb9iBInTTizCYgSc001bZc6mBb",NEXT_PUBLIC_LEADBOT_HOST:"https://vhotelier-videobot-prod.smartrep.ai",BIG_QUERY_STATS_TABLE:a.env.BIG_QUERY_STATS_TABLE},skipValidation:!0,emptyStringAsUndefined:!0})}}]);

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.