PageSourceSearch

https://the-quote-machine.vercel.app/_next/static/chunks/639-50cbbed6940ec26b.js

js the-quote-machine.vercel.app collected 2026-10-03 07:52:02 UTC 14,407 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[639],{6684:function(e,t,r){r.d(t,{$T:function(){return d},JF:function(){return h},Jr:function(){return c},bZ:function(){return a},ew:function(){return i},kO:function(){return m},pu:function(){return o},v2:function(){return s},x8:function(){return l}});var n=r(5893);function s(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",height:"30",width:"30",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9h16.5m-16.5 6.75h16.5"})})}function l(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",height:"30",width:"30",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}function o(e){let{className:t}=e;return(0,n.jsx)("svg",{version:"1.1",x:"0px",y:"0px",width:"123.961px",height:"123.961px",viewBox:"0 0 123.961 123.961",className:t,children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M49.8,29.032c3.1-1.3,4.4-5,3-8l-4.9-10.3c-1.4-2.899-4.8-4.2-7.8-2.899c-8.5,3.6-15.8,8.3-21.6,14 C11.4,28.532,6.6,36.232,4,44.732c-2.6,8.601-4,20.3-4,35.2v30.7c0,3.3,2.7,6,6,6h39.3c3.3,0,6-2.7,6-6v-39.3c0-3.301-2.7-6-6-6 H26.5c0.2-10.101,2.6-18.2,7-24.301C37.1,36.133,42.5,32.133,49.8,29.032z"}),(0,n.jsx)("path",{d:"M120.4,29.032c3.1-1.3,4.399-5,3-8l-4.9-10.199c-1.4-2.9-4.8-4.2-7.8-2.9c-8.4,3.6-15.601,8.3-21.5,13.9 c-7.101,6.8-12,14.5-14.601,23c-2.6,8.399-3.899,20.1-3.899,35.1v30.7c0,3.3,2.7,6,6,6H116c3.3,0,6-2.7,6-6v-39.3 c0-3.301-2.7-6-6-6H97.1c0.2-10.101,2.601-18.2,7-24.301C107.7,36.133,113.1,32.133,120.4,29.032z"})]})})}function i(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"})})}function a(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})}function c(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}function d(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 01-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 10.203 4.167 9.75 5 9.75h1.053c.472 0 .745.556.5.96a8.958 8.958 0 00-1.302 4.665c0 1.194.232 2.333.654 3.375z"})})}function h(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function m(e){let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})})}},4639:function(e,t,r){r.d(t,{Z:function(){return M}});
1var n=r(5893),s=r(1611),l=r(5675),o=r.n(l),i=r(1664),a=r.n(i),c=r(6010),d=r(3299),h=r(6684),m=r(7294),u=r(1163);let x=(0,m.createContext)(null);function g(){let e=(0,m.useContext)(x);if(!e)throw Error("DropdownMenu compound components can't be used outside the DropDownMenu Component");return e}function p(e){let[t,r]=(0,m.useState)(!1),s=(0,m.useMemo)(()=>({on:t,setOn:r}),[t]);return(0,n.jsx)(x.Provider,{value:s,children:(0,n.jsx)("div",{...e,children:e.children})})}function f(e){let{children:t,className:r}=e,{on:s,setOn:l}=g();return(0,n.jsx)("button",{className:r,onClick:()=>l(!s),"aria-haspopup":"true","aria-expanded":s,tabIndex:0,children:t})}function j(e){let{children:t,className:r}=e,{on:s,setOn:l}=g();return s?(0,n.jsx)("ul",{className:r,onClick:()=>l(!1),children:t}):null}function w(e){let{children:t,...r}=e,{on:s}=g();return s?(0,n.jsx)("li",{className:r.className,...r,children:t}):null}var b=r(5152),k=r.n(b);let v=k()(()=>r.e(218).then(r.bind(r,2405)),{loadableGenerated:{webpack:()=>[2405]},ssr:!1});function N(){let{status:e,data:t}=(0,d.useSession)(),[r,s]=(0,m.useState)(!1),l=(0,u.useRouter)();return(0,n.jsxs)("header",{className:(0,c.Z)("bg-white dark:bg-slate-900/75 border-b-2 dark:border-slate-50/[0.06] py-4 mb-8 group",!r&&"closed"),children:[(0,n.jsxs)("div",{className:"lg:container px-5 mx-auto flex items-center justify-between",children:[(0,n.jsxs)(a(),{href:"/",className:"logo relative text-white",children:[(0,n.jsx)(o(),{className:"block dark:hidden",src:"/logo.svg",alt:"Logo",height:150,width:150,priority:!0}),(0,n.jsx)(o(),{className:"hidden dark:block",src:"/logo-white.svg",alt:"White Logo",height:150,width:150,priority:!0})]}),(0,n.jsxs)("div",{className:"nav-wrap fixed z-20 left-0 group-[.closed]:-left-full top-0 bottom-0 flex-col flex flex-1 w-3/4 bg-white/90 dark:bg-slate-900/90 backdrop-blur-sm border-r-2 dark:border-slate-50/[0.06] pt-5 max-h-screen overflow-auto md:max-h-screen md:overflow-visible md:border-r-0 md:bg-transparent md:backdrop-blur-none md:flex-row md:static md:pt-0 duration-300",children:[(0,n.jsx)("nav",{"aria-label":"main menu",role:"navigation",className:"flex w-full md:mx-auto md:w-auto",children:(0,n.jsxs)("ul",{className:"flex flex-col w-full md:flex-row md:w-auto",children:[(0,n.jsx)("li",{className:"block md:inline-block",children:(0,n.jsx)(C,{text:"Home",url:"/",active:"/"===l.asPath})}),(0,n.jsx)("li",{className:"block md:inline-block",children:(0,n.jsx)(C,{text:"Members",url:"/members",active:"/members"===l.asPath})})]})}),(0,n.jsx)("nav",{"aria-label":"main menu",role:"navigation",className:"flex w-full mt-auto mb-10 md:hidden",children:(0,n.jsx)("ul",{className:"w-full text-left",children:"loading"==e?"loading...":(null==t?void 0:t.user)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"block mt-4 pb-4 py-2 border-b-2 dark:border-slate-50/[0.06]",children:(0,n.jsxs)("div",{className:"flex items-center justify-start px-3",children:[(0,n.jsx)("div",{className:"rounded-full bg-theme-dark overflow-hidden h-10 w-10 p-1 mr-3",children:(0,n.jsx)(o(),{alt:t.user.name,src:"/images/profiles/"+t.user.image+".png",width:40,height:40})}),(0,n.jsx)("span",{"aria-hidden":!0,children:t.user.name})]})}),(0,n.jsx)("li",{className:"block",children:(0,n.jsx)(C,{text:"Profile",url:"/members/"+t.user.id})}),(0,n.jsx)("li",{className:"block",children:(0,n.jsx)(C,{text:"Edit Profile",url:"/edit-profile"})}),(0,n.jsx)("li",{className:"block",children:(0,n.jsx)("button",{className:"block w-full text-left px-3 py-2 border-b-2 dark:border-slate-50/[0.06]",onClick:()=>(0,d.signOut)({callbackUrl:"/"}),children:"Logout"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"block",children:(0,n.jsx)(C,{text:"Login",url:"/login"})}),(0,n.jsx)("li",{className:"block",children:(0,n.jsx)(C,{text:"Signup",url:"/register"})})]})})}),(0,n.jsx)("nav",{"aria-label":"main menu",role:"navigation",className:"hidden md:flex w-full md:w-auto",children:(0,n.jsx)("ul",{className:"flex flex-col items-center w-full md:flex-row md:w-auto",children:"loading"==e?"loading...":(null==t?void 0:t.user)?(0,n.jsx)("li",{children:(0,n.jsxs)(p,{className:"dropdown relative",children:[(0,n.jsxs)(f,{className:"flex items-center",children:[(0,n.jsx)("div",{className:"rounded-full bg-theme-dark overflow-hidden h-10 w-10 p-1 mr-3",children:(0,n.jsx)(o(),{alt:t.user.name,src:"/images/profiles/"+t.user.image+".png",width:40,height:40})}
1),(0,n.jsx)("span",{"aria-hidden":!0,children:t.user.name})]}),(0,n.jsxs)(j,{className:"absolute top-full right-0 p-3 rounded-md bg-white dark:bg-slate-800 w-40 shadow-sm mt-4",children:[(0,n.jsx)(w,{children:(0,n.jsx)(a(),{href:"/members/"+t.user.id,className:"block hover:bg-slate-100 dark:hover:bg-slate-900 px-3 py-2 rounded-md",children:"Profile"})}),(0,n.jsx)(w,{children:(0,n.jsx)(a(),{href:"/edit-profile",className:"block hover:bg-slate-100 dark:hover:bg-slate-900 px-3 py-2 rounded-md",children:"Edit Profile"})}),(0,n.jsx)(w,{children:(0,n.jsx)("button",{className:"block w-full text-left hover:bg-slate-100 dark:hover:bg-slate-900 px-3 py-2 rounded-md",onClick:()=>(0,d.signOut)({callbackUrl:"/"}),children:"Logout"})})]})]})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"block md:inline-block",children:(0,n.jsx)(C,{text:"Login",url:"/login",active:"/login"===l.asPath})}),(0,n.jsx)("li",{className:"block md:inline-block",children:(0,n.jsx)(C,{text:"Signup",url:"/register",active:"/register"===l.asPath})})]})})})]}),(0,n.jsx)("div",{className:"block overlay bg-black/20 fixed z-10 inset-0 group-[.closed]:hidden md:hidden",onClick:()=>s(!1)}),(0,n.jsxs)("button",{className:"group-[:not(.closed)]:fixed top-4 right-5 bg-theme-light dark:bg-theme-dark text-white dark:text-slate-900 rounded-sm p-2 md:hidden",onClick:()=>s(!r),children:[(0,n.jsx)("span",{className:"hidden group-[.closed]:block",children:(0,n.jsx)(h.v2,{})}),(0,n.jsx)("span",{className:"hidden group-[:not(.closed)]:block",children:(0,n.jsx)(h.x8,{})})]})]}),(0,n.jsx)(v,{classes:"fixed right-5 bottom-20 z-10 bg-white dark:bg-slate-800 p-4 rounded-md shadow-md"})]})}function C(e){let{text:t,url:r,active:s}=e;return(0,n.jsx)(a(),{href:r,className:(0,c.Z)("px-3 py-2 w-full border-b-2 dark:border-slate-50/[0.06] md:w-auto md:mx-1 md:border-b-0 inline-block hover:text-theme-light hover:dark:text-theme-dark text-lg duration-300",s&&"font-bold"),children:t})}function y(){let[e,t]=(0,m.useState)(!1);if((0,u.useRouter)(),(0,m.useEffect)(()=>{let e=()=>{console.log("start"),t(!0)},r=()=>{console.log("finished"),t(!1)};return u.Router.events.on("routeChangeStart",e),u.Router.events.on("routeChangeComplete",r),u.Router.events.on("routeChangeError",r),()=>{u.Router.events.off("routeChangeStart",e),u.Router.events.off("routeChangeComplete",r),u.Router.events.off("routeChangeError",r)}},[]),e)return(0,n.jsxs)("div",{className:"fixed bottom-20 right-24 flex items-center bg-white dark:bg-slate-800 p-4 rounded-md shadow-md",children:[(0,n.jsx)(h.ew,{className:"w-5 h-5 mr-3 animate-spin"}),(0,n.jsx)("p",{className:"text-sm",children:"Loading"})]})}function L(){return(0,n.jsxs)("footer",{className:"bg-white dark:bg-slate-900/75 border-t-2 dark:border-slate-50/[0.06] py-4",children:[(0,n.jsx)("div",{className:"text-center lg:container px-5 mx-auto",children:(0,n.jsx)(a(),{href:"https://www.amincharoliya.com/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-theme-light hover:dark:text-theme-dark text-lg duration-300",children:"Built by Amin Charoliya"})}),(0,n.jsx)(y,{})]})}function M(e){let{meta:t,children:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.Z,{props:t}),(0,n.jsxs)("main",{className:"flex flex-col font-inter font-medium text-slate-900 dark:text-white bg-slate-100 dark:bg-slate-900 min-h-screen",children:[(0,n.jsx)(N,{}),(0,n.jsx)("div",{className:"flex-1",children:r}),(0,n.jsx)(L,{})]})]})}},1611:function(e,t,r){r.d(t,{A:function(){return o},Z:function(){return i}});var n=r(5893),s=r(9008),l=r.n(s);let o={title:"Quote Machine",description:"Welcome to Quote Machine, Share your quotes with other users.",ogImage:"http://localhost:3000/logo.svg",ogUrl:"http://localhost:3000/"};function i(e){let{props:t}=e;return(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:t.title}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,n.jsx)("link",{rel:"shortcut icon",type:"image/x-icon",href:"/favicon.ico"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/favicon.ico"}),(0,n.jsx)("meta",{name:"theme-color",content:"#7b46f6"}),(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,n.jsx)("meta",{itemProp:"name",content:t.title}),(0,n.jsx)("meta",{itemProp:"description",content:t.description}),(0,n.jsx)("meta",{itemProp:"image",content:t.ogImage}),(0,n.jsx)("meta",{name:"description",content:t.description}),(0,n.jsx)("meta",{property:"og:title",content:t.title}),(0,n.jsx)("meta",{property:"og:description",content:t.description}),(0,n.jsx)("meta",{property:"og:url",content:t.ogUrl}),(0,n.jsx)("meta",{property:"og:image",content:t.ogImage}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@amincharoliya"}),(0,n.jsx)("meta",{name:"twitter:creator",content:"@amincharoliya"}),(0,n.jsx)("meta",{name:"twitter:title",content:t.title}),(0,n.jsx)("meta",{name:"twitter:description",content:t.description}),(0,n.jsx)("meta",{name:"twitter:image",content:t.ogImage})]})}}}]);

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.