PageSourceSearch

https://app.vilix.ai/_next/static/chunks/app/login/page-440b3c2551f15d0a.js

js vilix.ai collected 2026-10-05 14:18:41 UTC 8,416 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[326],{8362:function(e,t,n){Promise.resolve().then(n.bind(n,9953)),Promise.resolve().then(n.bind(n,4287))},4287:function(e,t,n){"use strict";n.d(t,{InAppBrowserSheet:function(){return a}});var r=n(7437),o=n(2265);let i=["instagram","fban","fbios","fb_iab","messenger","tiktok","musical_ly","bytedancewebview","twitter","twitterandroid","snapchat","pinterest","line/","micromessenger","linkedinapp","reddit","telegram","discord","kakaotalk","naver","zalo","vkclient"],s="vilix-inapp-browser-sheet-dismissed";function a(){let[e,t]=(0,o.useState)(!1),[n,a]=(0,o.useState)(!1),[l,u]=(0,o.useState)("");function c(){try{sessionStorage.setItem(s,"1")}catch(e){}t(!1)}async function d(){let e=window.location.href;try{var t;if(null===(t=window.navigator.clipboard)||void 0===t?void 0:t.writeText)await window.navigator.clipboard.writeText(e);else{let t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}a(!0),window.setTimeout(()=>a(!1),2500)}catch(e){}}return((0,o.useEffect)(()=>{try{if(sessionStorage.getItem(s))return}catch(e){}u(window.location.href),function(e){if(!e)return!1;let t=e.toLowerCase();return i.some(e=>t.includes(e))}(window.navigator.userAgent)&&t(!0)},[]),(0,o.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&c()};document.addEventListener("keydown",t);let n=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=n}},[e]),e)?(0,r.jsxs)("div",{className:"fixed inset-0 z-50",role:"dialog","aria-modal":"true","aria-label":"Open in a browser",children:[(0,r.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:c,className:"absolute inset-0 bg-text/60"}),(0,r.jsxs)("div",{className:"absolute inset-x-0 bottom-0 mx-auto max-w-lg rounded-t-3xl bg-raised px-6 pb-8 pt-3 shadow-raise",children:[(0,r.jsx)("div",{className:"mx-auto h-1 w-10 rounded-full bg-line/20"}),(0,r.jsx)("button",{type:"button","aria-label":"Close",onClick:c,className:"absolute right-4 top-4 roun
1ded-full p-2 text-muted transition hover:bg-surface hover:text-text",children:(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,r.jsx)("path",{d:"M5 5l10 10M15 5L5 15"})})}),(0,r.jsxs)("div",{className:"mt-4 flex items-start gap-4",children:[(0,r.jsx)("span",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-amber-500/15 text-amber-600",children:(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"M12 9v4m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"})})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-xl font-semibold tracking-tight text-text",children:"Google sign-in might not work here"}),(0,r.jsx)("p",{className:"mt-2 leading-relaxed text-muted",children:"You opened this page inside another app (like Instagram, TikTok, or WhatsApp). Google sometimes blocks sign-in from these built-in mini-browsers for your safety."})]})]}),(0,r.jsxs)("div",{className:"mt-5 rounded-2xl border border-line/10 bg-surface p-4",children:[(0,r.jsx)("p",{className:"font-medium text-text",children:"What should I do?"}),(0,r.jsxs)("p",{className:"mt-1 leading-relaxed text-muted",children:["Copy the link below and paste it into"," ",(0,r.jsx)("span",{className:"font-medium text-text",children:"Chrome, Safari, Firefox, or Opera"}),". That small step is all it takes."]})]}),(0,r.jsxs)("div",{className:"mt-4 flex items-center gap-2 overflow-hidden rounded-xl border border-line/15 bg-surface px-3 py-2.5",children:[(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0 text-subtle",children:[(0,r.jsx)("path",{d:"M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"}),(0,r.jsx)("path",{d:"M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"})]}),(0,r.jsx)("span",{className:"truncate font-mono text-sm text-muted",children:l})]}),(0,r.jsx)("button",{type:"button",onClick:d,className:"btn-ink mt-4 w-full",children:n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"M20 6L9 17l-5-5"})}),"Copied! Now paste it into your browser"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),(0,r.jsx)("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]}),"Copy link to open in a browser"]})}),(0,r.jsx)("button",{type:"button",onClick:c,className:"mt-3 w-full py-2 text-center font-medium text-muted transition hover:text-text",children:"Continue anyway"})]})]}):null}},2799:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(257);function o(){var e,t,n,o,i;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=function(e){let t=null==e?void 0:e.trim();return t?t.replace(/\/+$/,""):null}(null!==(e=s.NEXT_PUBLIC_BACKEND_API_URL)&&void 0!==e?e:"https://api.vilix.ai");return{mode:"real"===(null!==(o=null!==(n=null!==(t=s.VILIX_API_MODE)&&void 0!==t?t:s.NEXT_PUBLIC_VILIX_API_MODE)&&void 0!==n?n:r.env.VILIX_API_MODE)&&void 0!==o?o:r.env.NEXT_PUBLIC_VILIX_API_MODE)?"real":"mock",baseUrl:a,localBaseUrl:a,environment:(null!==(i=s.NODE_ENV)&&void 0!==i?i:"production")==="production"?"production":"local"}}},9376:function(e,t,n){"use strict";var r=n(5475);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},257:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(4227)},4227:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:s}
1catch(e){n=s}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||u||a(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=f,o.addListener=f,o.once=f,o.off=f,o.removeListener=f,o.removeAllListeners=f,o.emit=f,o.prependListener=f,o.prependOnceListener=f,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},s=!0;try{t[e](i,i.exports,r),s=!1}finally{s&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()}},function(e){e.O(0,[762,230,243,953,971,117,744],function(){return e(e.s=8362)}),_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.