1 line
8.6 KiB
JavaScript
1 line
8.6 KiB
JavaScript
exports.id=1189,exports.ids=[1189],exports.modules={10232:(e,t,r)=>{Promise.resolve().then(r.bind(r,13459))},403:(e,t,r)=>{Promise.resolve().then(r.bind(r,54528))},15784:(e,t,r)=>{Promise.resolve().then(r.bind(r,37614))},36033:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,63642,23)),Promise.resolve().then(r.t.bind(r,87586,23)),Promise.resolve().then(r.t.bind(r,47838,23)),Promise.resolve().then(r.t.bind(r,58057,23)),Promise.resolve().then(r.t.bind(r,77741,23)),Promise.resolve().then(r.t.bind(r,13118,23))},13459:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var n=r(97247),i=r(19898),s=r(58797),o=r(41755),a=r(36634),l=r(28964),d=r(58579);function u({children:e}){return n.jsx(n.Fragment,{children:e})}var c=r(57797),f=r(17818);let v=({...e})=>{let{theme:t="system"}=(0,c.F)();return n.jsx(f.x7,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function h({children:e,...t}){return n.jsx(c.f,{...t,children:e})}function p({children:e,initialFlags:t}){let[r]=(0,l.useState)(()=>new s.S({defaultOptions:{queries:{staleTime:6e4,retry:(e,t)=>{if("object"==typeof t&&null!==t&&"status"in t){let e=t.status;if("number"==typeof e&&e>=400&&e<500)return!1}return e<3}}}}));return n.jsx(i.SessionProvider,{children:(0,n.jsxs)(o.aH,{client:r,children:[n.jsx(d.OH,{value:t,children:n.jsx(h,{attribute:"class",defaultTheme:"dark",enableSystem:!1,children:n.jsx(l.Suspense,{fallback:n.jsx("div",{children:"Loading..."}),children:(0,n.jsxs)(u,{children:[e,n.jsx(v,{})]})})})}),n.jsx(a.t,{initialIsOpen:!1})]})})}r(4047)},54528:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(97247);function i({error:e,reset:t}){return n.jsx("div",{className:"min-h-[50vh] flex items-center justify-center p-8",children:(0,n.jsxs)("div",{className:"text-center space-y-3",children:[n.jsx("h2",{className:"text-xl font-semibold",children:"Something went wrong"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:e?.message||"An unexpected error occurred."}),n.jsx("button",{onClick:()=>t(),className:"inline-flex items-center rounded-md border px-3 py-1.5 text-sm hover:bg-accent",children:"Try again"})]})})}r(28964)},37614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(97247);function i(){return n.jsx("div",{className:"min-h-[50vh] flex items-center justify-center p-8",children:(0,n.jsxs)("div",{className:"text-center space-y-3",children:[n.jsx("h2",{className:"text-xl font-semibold",children:"404 - Page Not Found"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"The page you are looking for does not exist or has been moved."}),n.jsx("a",{href:"/",className:"inline-flex items-center rounded-md border px-3 py-1.5 text-sm hover:bg-accent",children:"Go home"})]})})}},58579:(e,t,r)=>{"use strict";r.d(t,{OH:()=>f,ye:()=>v});var n=r(97247),i=r(28964);let s=Object.freeze({ADMIN_ENABLED:!0,ARTISTS_MODULE_ENABLED:!0,UPLOADS_ADMIN_ENABLED:!0,BOOKING_ENABLED:!0,PUBLIC_APPOINTMENT_REQUESTS_ENABLED:!1,REFERENCE_UPLOADS_PUBLIC_ENABLED:!1,DEPOSITS_ENABLED:!1,PUBLIC_DB_ARTISTS_ENABLED:!1,ADVANCED_NAV_SCROLL_ANIMATIONS_ENABLED:!0,STRICT_CI_GATES_ENABLED:!0,ISR_CACHE_R2_ENABLED:!0}),o=Object.keys(s),a=new Set(o),l=new Set,d=null;function u(e={}){if(e.refresh&&(d=null),d)return d;let t=function(){let e={};for(let t of o){let r=function(e){let t=function(){if("undefined"!=typeof globalThis)return globalThis.__UNITED_TATTOO_RUNTIME_FLAGS__}();return t&&void 0!==t[e]?t[e]:"undefined"!=typeof process&&process.env&&void 0!==process.env[e]?process.env[e]:void 0}(t),n=function(e,t){if("boolean"==typeof e)return e;if("string"==typeof e){let t=e.trim().toLowerCase();if("true"===t||"1"===t)return!0;if("false"===t||"0"===t)return!1}return t}(r,s[t]);null!=r&&("string"!=typeof r||""!==r.trim())||l.has(t)||(l.add(t),"undefined"!=typeof console&&console.warn(`[flags] ${t} not provided; defaulting to ${n}. Set env var to override.`)),e[t]=n}return Object.freeze(e)}();return d=t,t}new Proxy({},{get:(e,t)=>{if(a.has(t))return u()[t]},ownKeys:()=>o,getOwnPropertyDescriptor:(e,t)=>{if(a.has(t))return{configurable:!0,enumerable:!0,value:u()[t]}}});let c=(0,i.createContext)(s);function f({value:e,children:t}){return n.jsx(c.Provider,{value:e,children:t})}function v(e){return(0,i.useContext)(c)[e]}},58053:(e,t,r)=>{"use strict";r.d(t,{d:()=>a,z:()=>l});var n=r(97247);r(28964);var i=r(69008),s=r(87972),o=r(25008);let a=(0,s.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l({className:e,variant:t,size:r,asChild:s=!1,...l}){let d=s?i.g7:"button";return n.jsx(d,{"data-slot":"button",className:(0,o.cn)(a({variant:t,size:r,className:e})),...l})}},25008:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var n=r(61929),i=r(35770);function s(...e){return(0,i.m6)((0,n.W)(e))}},40509:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n=(0,r(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/error.tsx#default`)},40656:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v,dynamic:()=>f,metadata:()=>c});var n=r(72051),i=r(54233),s=r.n(i),o=r(73372),a=r.n(o),l=r(26269);let d=(0,r(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/ClientLayout.tsx#default`);var u=r(93470);r(67272);let c={title:"United Tattoo - Professional Tattoo Studio",description:"Book appointments with our talented artists and explore stunning tattoo portfolios at United Tattoo.",generator:"v0.app"},f="force-dynamic";function v({children:e}){let t=(0,u.L6)({refresh:!0});return n.jsx("html",{lang:"en",className:`${s().variable} ${a().variable}`,children:n.jsx("body",{className:"font-sans antialiased",children:n.jsx(l.Suspense,{fallback:null,children:n.jsx(d,{initialFlags:t,children:e})})})})}},70546:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n=(0,r(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/not-found.tsx#default`)},93470:(e,t,r)=>{"use strict";r.d(t,{L6:()=>l,vU:()=>d});let n=Object.freeze({ADMIN_ENABLED:!0,ARTISTS_MODULE_ENABLED:!0,UPLOADS_ADMIN_ENABLED:!0,BOOKING_ENABLED:!0,PUBLIC_APPOINTMENT_REQUESTS_ENABLED:!1,REFERENCE_UPLOADS_PUBLIC_ENABLED:!1,DEPOSITS_ENABLED:!1,PUBLIC_DB_ARTISTS_ENABLED:!1,ADVANCED_NAV_SCROLL_ANIMATIONS_ENABLED:!0,STRICT_CI_GATES_ENABLED:!0,ISR_CACHE_R2_ENABLED:!0}),i=Object.keys(n),s=new Set(i),o=new Set,a=null;function l(e={}){if(e.refresh&&(a=null),a)return a;let t=function(){let e={};for(let t of i){let r=function(e){let t=function(){if("undefined"!=typeof globalThis)return globalThis.__UNITED_TATTOO_RUNTIME_FLAGS__}();return t&&void 0!==t[e]?t[e]:"undefined"!=typeof process&&process.env&&void 0!==process.env[e]?process.env[e]:void 0}(t),i=function(e,t){if("boolean"==typeof e)return e;if("string"==typeof e){let t=e.trim().toLowerCase();if("true"===t||"1"===t)return!0;if("false"===t||"0"===t)return!1}return t}(r,n[t]);null!=r&&("string"!=typeof r||""!==r.trim())||o.has(t)||(o.add(t),"undefined"!=typeof console&&console.warn(`[flags] ${t} not provided; defaulting to ${i}. Set env var to override.`)),e[t]=i}return Object.freeze(e)}();return a=t,t}let d=new Proxy({},{get:(e,t)=>{if(s.has(t))return l()[t]},ownKeys:()=>i,getOwnPropertyDescriptor:(e,t)=>{if(s.has(t))return{configurable:!0,enumerable:!0,value:l()[t]}}})},57481:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(54564);let i=e=>[{type:"image/x-icon",sizes:"16x16",url:(0,n.fillMetadataSegment)(".",e.params,"favicon.ico")+""}]},67272:()=>{},4047:()=>{}}; |