PageSourceSearch

https://capturemodels.com/_next/static/chunks/app/layout-38d3582f44c6222d.js

js capturemodels.com collected 2026-10-06 13:14:24 UTC 61,398 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{5167:(e,t,r)=>{Promise.resolve().then(r.bind(r,90795)),Promise.resolve().then(r.bind(r,15788)),Promise.resolve().then(r.bind(r,59506)),Promise.resolve().then(r.bind(r,81901)),Promise.resolve().then(r.bind(r,37196)),Promise.resolve().then(r.bind(r,33658)),Promise.resolve().then(r.t.bind(r,97074,23)),Promise.resolve().then(r.t.bind(r,73677,23))},15788:(e,t,r)=>{"use strict";r.d(t,{GDPRProvider:()=>I});var a=r(95155),s=r(12115),i=r(71408),n=r(65895),l=r(97003),o=r(83209),d=r(35046),c=r(90235),u=r(67812),m=r(26341),x=r(65229),h=r(17910),g=r(80534),p=r(91169),f=r(15870),b=r(23327),y=r(12108),v=r(24033);let j=(e,t)=>{try{localStorage.setItem(e,t)}catch(e){}};function k(e){let{onConsentChange:t}=e,[r,k]=(0,s.useState)(!1),[N,w]=(0,s.useState)(!1),[A,S]=(0,s.useState)({necessary:!0,analytics:!1,marketing:!1,preferences:!1});(0,s.useEffect)(()=>{let e=(e=>{try{return localStorage.getItem(e)}catch(e){return null}})("gdpr-consent");if(e)try{let r=JSON.parse(e);S(r),t(r)}catch(e){k(!0)}else k(!0)},[t]);let C=e=>{j("gdpr-consent",JSON.stringify(e)),j("gdpr-consent-date",new Date().toISOString()),t(e)},P=(e,t)=>{"necessary"!==e&&S(r=>({...r,[e]:t}))};return r?(0,a.jsx)(i.N,{children:(0,a.jsx)(n.P.div,{initial:{opacity:0,y:100},animate:{opacity:1,y:0},exit:{opacity:0,y:100},transition:{duration:.3,ease:"easeOut"},className:"fixed bottom-0 left-0 right-0 z-50 p-4 bg-primary/50 dark:bg-gray-900/50 border-t border-gray-200 dark:border-gray-700 shadow-2xl backdrop-blur-md",children:(0,a.jsxs)(o.Zp,{className:"max-w-4xl mx-auto",children:[(0,a.jsx)(o.aR,{className:"pb-4",children:(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/20 rounded-lg",children:(0,a.jsx)(m.A,{className:"h-6 w-6 text-blue-600 dark:text-blue-400"})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.ZB,{className:"text-lg flex items-center gap-2",children:["Cookie Consent",(0,a.jsx)(u.E,{variant:"outline",className:"text-xs",children:"GDPR Compliant"})]}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:"We use cookies to enhance your experience and analyze site usage"})]})]}),(0,a.jsx)(l.$n,{variant:"ghost",size:"sm",onClick:()=>k(!1),className:"text-gray-400 hover:text-gray-600",children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]})}),(0,a.jsxs)(o.Wu,{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(h.A,{className:"h-5 w-5 text-green-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Necessary Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Essential for website functionality"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(d.d,{checked:!0,disabled:!0}),(0,a.jsx)("span",{className:"text-xs text-gray-500",children:"Always Active"})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(g.A,{className:"h-5 w-5 text-blue-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Analytics Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Help us understand how visitors interact with our website"})]})]}),(0,a.jsx)(d.d,{checked:A.analytics,onCheckedChange:e=>P("analytics",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(p.A,{className:"h-5 w-5 text-purple-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Marketing Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Used to deliver personalized content and advertisements"})]})]}),(0,a.jsx)(d.d,{checked:A.marketing,onCheckedChange:e=>P("marketing",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(f.A,{className:"h-5 w-5 text-orange-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Preference Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Remember your settings and preferences"})]})]}),(0,a.jsx)(d.d,{checked:A.preferences,onCheckedChange:e=>P("preferences",e)})]})]}),(0,a.jsxs)("div",{className:"border-t border-gray-200 dark:border-gray-700 pt-4",children:[(0,a.jsxs)(l.$n,{variant:"ghost",size:"sm",onClick:()=>w(!N),className:"w-full justify-between text-gray-600 dark:text-gray-400",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(b.A,{className:"h-4 w-4"}),"Cookie Details & Privacy Information"]}),N?(0,a.jsx)(y.A,{className:"h-4 w-4"}):(0,a.jsx)(v.A,{className:"h-4 w-4"})]}),(0,a.jsx)(i.N,{children:N&&(0,a.jsx)(n.P.div,{initial:{height:0,opacity:0}
1,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"mt-4 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg space-y-3 text-sm text-gray-600 dark:text-gray-400",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-medium text-gray-900 dark:text-gray-100 mb-2",children:"What are cookies?"}),(0,a.jsx)("p",{children:"Cookies are small text files stored on your device that help us provide and improve our services."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-medium text-gray-900 dark:text-gray-100 mb-2",children:"Your rights under GDPR:"}),(0,a.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,a.jsx)("li",{children:"Right to be informed about data collection"}),(0,a.jsx)("li",{children:"Right to withdraw consent at any time"}),(0,a.jsx)("li",{children:"Right to access your personal data"}),(0,a.jsx)("li",{children:"Right to erasure of your data"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-medium text-gray-900 dark:text-gray-100 mb-2",children:"How to manage cookies:"}),(0,a.jsx)("p",{children:"You can change your cookie preferences at any time by clicking the settings icon in your browser or contacting us directly."})]}),(0,a.jsx)("div",{className:"pt-2 border-t border-gray-200 dark:border-gray-700",children:(0,a.jsxs)("p",{className:"text-xs",children:["By accepting cookies, you consent to our use of cookies in accordance with our"," ",(0,a.jsx)("a",{href:"/privacy-policy",className:"text-blue-600 hover:underline",children:"Privacy Policy"})," ","and"," ",(0,a.jsx)("a",{href:"/cookie-policy",className:"text-blue-600 hover:underline",children:"Cookie Policy"}),"."]})})]})})})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(0,a.jsx)(l.$n,{variant:"outline",onClick:()=>{let e={necessary:!0,analytics:!1,marketing:!1,preferences:!1};S(e),C(e),k(!1)},className:"flex-1",children:"Reject All"}),(0,a.jsx)(l.$n,{variant:"outline",onClick:()=>{C(A),k(!1)},className:"flex-1",children:"Accept Selected"}),(0,a.jsx)(l.$n,{onClick:()=>{let e={necessary:!0,analytics:!0,marketing:!0,preferences:!0};S(e),C(e),k(!1)},className:"flex-1 bg-blue-600 hover:bg-blue-700",children:"Accept All"})]}),(0,a.jsxs)("div",{className:"text-xs text-gray-500 text-center pt-2",children:[(0,a.jsx)("p",{children:"This website uses cookies to ensure you get the best experience. By continuing to use this site, you consent to our use of cookies."}),(0,a.jsxs)("p",{className:"mt-1",children:["Last updated: ",new Date().toLocaleDateString()]})]})]})]})})}):null}var N=r(89559),w=r(5917);let A=e=>{try{return localStorage.getItem(e)}catch(e){return null}},S=(e,t)=>{try{localStorage.setItem(e,t)}catch(e){}},C=e=>{try{localStorage.removeItem(e)}catch(e){}};function P(){let[e,t]=(0,s.useState)({necessary:!0,analytics:!1,marketing:!1,preferences:!1}
1),[r,a]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=A("gdpr-consent");if(e)try{let r=JSON.parse(e);t(r),a(!0)}catch(e){C("gdpr-consent")}},[]);let i=(0,s.useCallback)(e=>{S("gdpr-consent",JSON.stringify(e)),S("gdpr-consent-date",new Date().toISOString()),t(e),a(!0)},[]),n=(0,s.useCallback)(t=>e[t],[e]),l=(0,s.useCallback)(()=>e.analytics,[e]),o=(0,s.useCallback)(()=>e.marketing,[e]),d=(0,s.useCallback)(()=>e.preferences,[e]),c=(0,s.useCallback)((t,r)=>{"necessary"!==t&&i({...e,[t]:r})},[e,i]),u=(0,s.useCallback)(()=>{C("gdpr-consent"),C("gdpr-consent-date"),t({necessary:!0,analytics:!1,marketing:!1,preferences:!1}),a(!1)},[]),m=(0,s.useCallback)(()=>{let e=A("gdpr-consent-date");return e?new Date(e):null},[]),x=(0,s.useCallback)(()=>{let e=m();if(!e)return!0;let t=new Date;return t.setFullYear(t.getFullYear()-1),e<t},[m]);return{preferences:e,hasConsent:r,isAllowed:n,isAnalyticsAllowed:l,isMarketingAllowed:o,isPreferencesAllowed:d,updatePreference:c,savePreferences:i,resetConsent:u,getConsentDate:m,isConsentExpired:x}}function E(e){let{isOpen:t,onClose:r}=e,{preferences:m,updatePreference:y,resetConsent:v,getConsentDate:j,isConsentExpired:k}=P(),[A,S]=(0,s.useState)(m),[C,E]=(0,s.useState)(!1);(0,s.useState)(()=>{S(m),E(!1)});let I=(e,t)=>{"necessary"!==e&&(S(r=>({...r,[e]:t})),E(!0))},O=j(),L=k();return t?(0,a.jsx)(i.N,{children:(0,a.jsx)(n.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 bg-black/50 flex items-center justify-center p-4",onClick:r,children:(0,a.jsx)(n.P.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{duration:.2},className:"w-full max-w-2xl max-h-[90vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:(0,a.jsxs)(o.Zp,{children:[(0,a.jsx)(o.aR,{children:(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/20 rounded-lg",children:(0,a.jsx)(f.A,{className:"h-6 w-6 text-blue-600 dark:text-blue-400"})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.ZB,{className:"text-xl flex items-center gap-2",children:["Cookie Settings",(0,a.jsx)(u.E,{variant:"outline",className:"text-xs",children:"GDPR Compliant"})]}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:"Manage your cookie preferences and privacy settings"})]})]}),(0,a.jsx)(l.$n,{variant:"ghost",size:"sm",onClick:r,className:"text-gray-400 hover:text-gray-600",children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]})}),(0,a.jsxs)(o.Wu,{className:"space-y-6",children:[(0,a.jsx)("div",{className:"p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-medium text-gray-900 dark:text-gray-100",children:"Consent Status"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:O?(0,a.jsxs)(a.Fragment,{children:["Last updated: ",O.toLocaleDateString(),L&&(0,a.jsx)("span",{className:"ml-2 text-orange-600 dark:text-orange-400",children:"(Expired - Please review)"})]}):"No consent recorded"})]}),L&&(0,a.jsx)(u.E,{variant:"destructive",className:"text-xs",children:"Expired"})]})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Cookie Categories"}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(h.A,{className:"h-5 w-5 text-green-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Necessary Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Essential for website functionality"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(d.d,{checked:!0,disabled:!0}),(0,a.jsx)("span",{className:"text-xs text-gray-500",children:"Always Active"})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(g.A,{className:"h-5 w-5 text-blue-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Analytics Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Help us understand how visitors interact with our website"})]})]}),(0,a.jsx)(d.d,{checked:A.analytics,onCheckedChange:e=>I("analytics",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(p.A,{className:"h-5 w-5 text-purple-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Marketing Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Used to deliver personalized content and advertisements"})]})]}),(0,a.jsx)(d.d,{checked:A.marketing,onCheckedChange:e=>I("marketing",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(f.A,{className:"h-5 w-5 text-orange-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c.J,{className:"font-medium",children:"Preference Cookies"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Remember your settings and preferences"})]})]}),(0,a.jsx)(d.d,{checked:A.preferences,onCheckedChange:e=>I("preferences",e)})]})]})]}),(0,a.jsx)("div",{className:"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(b.A,{className:"h-5 w-5 text-blue-600 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm text-blue-800 dark:text-blue-200",children:[(0,a.jsx)("h4",{className:"font-medium mb-2",children:"About Your Privacy"}),(0,a.jsxs)("ul",{className:"space-y-1",children:[(0,a.jsx)("li",{children:"• You can change these preferences at any time"}),(0,a.jsx)("li",{children:"• Your choices are stored locally on your device"}),(0,a.jsx)("li",{children:"• We respect your privacy and only use cookies you've consented to"}),(0,a.jsxs)("li",{children:["• For more information, see our ",(0,a.jsx)("a",{href:"/privacy-policy",className:"underline",children:"Privacy Policy"})]})]})]})]})}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(0,a.jsxs)(l.$n,{variant:"outline",onClick:()=>{confirm("Are you sure you want to reset your cookie preferences? This will require you to provide consent again.")&&(v(),r())},className:"flex-1",children:[(0,a.jsx)(N.A,{className:"h-4 w-4 mr-2"}),"Reset All Preferences"]}),(0,a.jsxs)(l.$n,{onClick:()=>
1{Object.entries(A).forEach(e=>{let[t,r]=e;"necessary"!==t&&y(t,r)}),E(!1)},disabled:!C,className:"flex-1 bg-blue-600 hover:bg-blue-700",children:[(0,a.jsx)(w.A,{className:"h-4 w-4 mr-2"}),"Save Changes"]})]}),(0,a.jsxs)("div",{className:"text-xs text-gray-500 text-center pt-2",children:[(0,a.jsx)("p",{children:"By saving these preferences, you consent to our use of cookies in accordance with your choices."}),(0,a.jsxs)("p",{className:"mt-1",children:["Last updated: ",new Date().toLocaleDateString()]})]})]})]})})})}):null}function I(e){let{children:t}=e,[r,i]=(0,s.useState)(!1),{savePreferences:n}=P();(0,s.useEffect)(()=>{let e=()=>{i(!0)};return window.addEventListener("openCookieSettings",e),()=>{window.removeEventListener("openCookieSettings",e)}},[]);let l=(0,s.useCallback)(e=>{n(e),e.analytics,e.marketing,e.preferences},[n]);return(0,a.jsxs)(a.Fragment,{children:[t,(0,a.jsx)(k,{onConsentChange:l}),(0,a.jsx)(E,{isOpen:r,onClose:()=>i(!1)})]})}},16411:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(95155);function s(e){return(0,a.jsx)("svg",{width:e.width||24,height:e.height||24,fill:"none",viewBox:"0 0 132 121",...e,children:(0,a.jsx)("path",{fill:e.color||"#4A4A4A",d:"m115.245 47.091-24.258-2.816c-6.203.19 13.658 42.184 16.019 48.02 1.451 1.462 2.281 1.141 3.78-.87 4.831-7.706 22.115-41.532 4.459-44.334ZM16.35 73.977l24.259 2.816c6.202-.189-13.658-42.184-16.02-48.02-1.45-1.462-2.28-1.14-3.78.87-4.83 7.707-22.115 41.532-4.459 44.334ZM102.898 97.35l-9.69-22.417c-3.265-5.277-29.704 32.92-33.576 37.883-.542 1.988.151 2.546 2.643 2.839 9.089.33 47.025-1.614 40.623-18.305ZM28.697 23.719l9.691 22.416c3.265 5.277 29.703-32.92 33.576-37.883.541-1.988-.152-2.545-2.643-2.838-9.09-.331-47.025 1.613-40.624 18.305ZM52.51 109.944l12.978-20.688c2.498-5.68-43.956-5.819-50.24-6.198-1.944.681-2.011 1.568-.84 3.787 4.877 7.676 27.976 37.832 38.102 23.099ZM79.086 11.125 66.107 31.812c-2.498 5.68 43.956 5.82 50.24 6.198 1.945-.68 2.012-1.568.841-3.786-4.878-7.677-27.977-37.832-38.102-23.1Z"})})}r(12115)},25016:(e,t,r)=>{"use strict";r.d(t,{TO:()=>l,cn:()=>n});var a=r(2821),s=r(75889),i=r(37424);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,a.$)(t))}function l(e){return Object.keys(e).filter(t=>{let r=e[t];return r&&"object"==typeof r&&null!==r&&"required"in r&&r.required})}r(33018),i.Ay.string().regex(/^\d+$/,"Must be a string containing only numeric digits").transform(e=>{let t=e.replace(/^0+/,"");return""===t?"0":t}),i.Ay.string().regex(/^\d+%?$/,"Must be a numeric string, optionally ending with '%'")},28171:(e,t,r)=>{"use strict";r.d(t,{dj:()=>u,oR:()=>c});var a=r(12115);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},l=[],o={toasts:[]};function d(e){o=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(o,e),l.forEach(e=>{e(o)})}function c(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>d({type:"DISMISS_TOAST",toastId:r});return d({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function u(){let[e,t]=a.useState(o);return a.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},33342:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(95155),s=r(12115),i=r(25016);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,i.cn)("dark:bg-background flex dark:border-gray-200 border-gray-700 h-9 w-full rounded-md border border-input bg-primary px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-primary file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...n})});n.displayName="Input"},33658:(e,t,r)=>{"use strict";r.d(t,{SmartScrollProvider:()=>c});var a=r(95155),s=r(20063),i=r(12115),n=r(80865);
1let l=["/","/photo-sessions","/models","/castings","/about","/photoshoots","/photoshoots/artist","/photoshoots/commercial","/photoshoots/economic","/photoshoots/events","/photoshoots/fashion","/photoshoots/group","/photoshoots/model","/photoshoots/outdoor","/photoshoots/real-estate","/photoshoots/sensual","/photoshoots/sports","/photoshoots/studio"],o=["/admin/profile","/admin/profile/edit-profile","/admin/profile/add-profile","/admin","/admin/profile/add-profile","/admin/create-casting","/auth/signin","/auth/signup"],d=(0,i.createContext)(null);function c(e){var t;let{children:r}=e,i=(t=(0,s.usePathname)(),!o.some(e=>t.startsWith(e))&&(l.some(e=>t.startsWith(e)),!0));return(0,a.jsx)(d.Provider,{value:{isEnabled:i},children:(0,a.jsx)(n.f6,{enableSmoothScroll:i,children:r})})}},35046:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var a=r(95155),s=r(12115),i=r(27599),n=r(25016);let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(i.bL,{className:(0,n.cn)("peer inline-flex h-5 w-9 shrink-0 data-[state=unchecked]:dark:bg-gray-700 data-[state=checked]:dark:bg-green-200 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:t,children:(0,a.jsx)(i.zi,{className:(0,n.cn)("pointer-events-none block h-4 w-4 rounded-full bg-green-500 shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});l.displayName=i.bL.displayName},37196:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>f});var a=r(95155),s=r(28171),i=r(12115),n=r(65476),l=r(83101),o=r(65229),d=r(25016);let c=n.Kq,u=i.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.LM,{ref:t,className:(0,d.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...s})});u.displayName=n.LM.displayName;let m=(0,l.F)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),x=i.forwardRef((e,t)=>{let{className:r,variant:s,...i}=e;return(0,a.jsx)(n.bL,{ref:t,className:(0,d.cn)(m({variant:s}),r),...i})});x.displayName=n.bL.displayName,i.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.rc,{ref:t,className:(0,d.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-primary px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...s})}).displayName=n.rc.displayName;let h=i.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.bm,{ref:t,className:(0,d.cn)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...s,children:(0,a.jsx)(o.A,{className:"h-4 w-4"})})});h.displayName=n.bm.displayName;let g=i.forwardRef((e,t)=>
1{let{className:r,...s}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,d.cn)("text-sm font-semibold [&+div]:text-xs",r),...s})});g.displayName=n.hE.displayName;let p=i.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,d.cn)("text-sm opacity-90",r),...s})});function f(){let{toasts:e}=(0,s.dj)();return(0,a.jsxs)(c,{children:[e.map(function(e){let{id:t,title:r,description:s,action:i,...n}=e;return(0,a.jsxs)(x,{...n,children:[(0,a.jsxs)("div",{className:"grid gap-1",children:[r&&(0,a.jsx)(g,{children:r}),s&&(0,a.jsx)(p,{children:s})]}),i,(0,a.jsx)(h,{})]},t)}),(0,a.jsx)(u,{})]})}p.displayName=n.VY.displayName},54664:(e,t,r)=>{"use strict";r.d(t,{w:()=>n});var a=r(95155);r(12115);var s=r(57268),i=r(25016);function n(e){let{className:t,orientation:r="horizontal",decorative:n=!0,...l}=e;return(0,a.jsx)(s.b,{"data-slot":"separator",decorative:n,orientation:r,className:(0,i.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t),...l})}},59506:(e,t,r)=>{"use strict";r.d(t,{NavigationWrapper:()=>H});var a=r(95155),s=r(12115),i=r(96199),n=r(65895),l=r(52619),o=r.n(l);function d(e){let{href:t,label:r,icon:s,isScrolled:i,onClick:n}=e;return(0,a.jsxs)(o(),{href:t,onClick:n,className:"flex items-center space-x-2 transition-colors duration-200 ".concat(i?"text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white":"text-black dark:text-gray-600 hover:text-gray-700 dark:hover:text-white/80"),children:[(0,a.jsx)(s,{className:"w-4 h-4"}),(0,a.jsx)("span",{className:"uppercase text-sm",children:r})]})}var c=r(71408),u=r(97003),m=r(24033);function x(e){let{label:t,icon:r,items:i,isScrolled:l,onItemClick:d}
1=e,[x,h]=(0,s.useState)(!1),g=(0,s.useRef)(null);(0,s.useEffect)(()=>{function e(e){g.current&&!g.current.contains(e.target)&&h(!1)}if("undefined"!=typeof document)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let p=()=>{h(!1),null==d||d()};return(0,a.jsxs)("div",{className:"relative",ref:g,children:[(0,a.jsxs)(u.$n,{variant:"ghost",size:"sm",onClick:()=>h(!x),className:"transition-colors duration-200 ".concat(l?"text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800":"text-gray-500 dark:text-gray-600 hover:bg-gray-100 dark:hover:bg-primary/20"),children:[(0,a.jsx)(r,{className:"w-4 h-4 mr-2"}),t,(0,a.jsx)(m.A,{className:"w-4 h-4 ml-1"})]}),(0,a.jsx)(c.N,{children:x&&(0,a.jsx)(n.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"absolute top-full left-0 mt-2 w-48 bg-primary dark:bg-black bg-white rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 py-2",children:i.map(e=>(0,a.jsx)(o(),{href:e.href,onClick:p,className:"flex items-center space-x-3 px-4 py-2 text-primary dark:text-primary-700 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:(0,a.jsx)("span",{children:e.label})},e.href))})})]})}var h=r(20508),g=r(84926);function p(e){let{session:t,isScrolled:r,userMenuItems:i,adminMenuItems:l,onSignOut:d}
1=e,[x,p]=(0,s.useState)(!1),f=(0,s.useRef)(null);return(0,s.useEffect)(()=>{function e(e){f.current&&!f.current.contains(e.target)&&p(!1)}if("undefined"!=typeof document)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,a.jsxs)("div",{className:"relative",ref:f,children:[(0,a.jsxs)(u.$n,{variant:"ghost",size:"sm",onClick:()=>p(!x),className:"transition-colors duration-200 ".concat(r?"text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800":"text-gray-500 dark:text-gray-600 hover:bg-gray-100 dark:hover:bg-primary/20"),children:[(0,a.jsx)(h.A,{className:"w-4 h-4 mr-2"}),t.user.name||t.user.email,(0,a.jsx)(m.A,{className:"w-4 h-4 ml-1"})]}),(0,a.jsx)(c.N,{children:x&&(0,a.jsxs)(n.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"absolute top-full right-0 mt-2 w-48 bg-primary dark:bg-gray-900 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 py-2",children:[i.map(e=>(0,a.jsxs)(o(),{href:e.href,className:"flex items-center space-x-3 px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:[(0,a.jsx)(e.icon,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:e.label})]},e.href)),"admin"===t.user.role&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-t border-gray-200 dark:border-gray-700 my-2"}),l.map(e=>(0,a.jsxs)(o(),{href:e.href,className:"flex items-center space-x-3 px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:[(0,a.jsx)(e.icon,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:e.label})]},e.href))]}),(0,a.jsx)("div",{className:"border-t border-gray-200 dark:border-gray-700 my-2"}),(0,a.jsxs)("button",{onClick:d,className:"flex items-center space-x-3 px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors w-full text-left",children:[(0,a.jsx)(g.A,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:"Sign Out"})]})]})})]})}function f(e){let{isScrolled:t}=e;return(0,a.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,a.jsx)(o(),{href:"/auth/signin",children:(0,a.jsx)(u.$n,{variant:"ghost",size:"sm",className:"transition-colors duration-200 ".concat(t?"text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800":"text-gray-500 dark:text-white hover:bg-gray-100 dark:hover:bg-primary/20"),children:"Sign In"})}),(0,a.jsx)(o(),{href:"/auth/signup",children:(0,a.jsx)(u.$n,{size:"sm",className:"transition-colors duration-200 ".concat(t?"bg-gray-900 dark:bg-primary text-white dark:text-gray-900 hover:bg-gray-800 dark:hover:bg-gray-100":"bg-primary text-gray-900 hover:bg-gray-100"),children:"Sign Up"})})]})}var b=r(16411),y=r(34384),v=r(73831),j=r(20063);let k=[{path:"/",title:"Capture Models",description:"Professional modeling agency"},{path:"/about",title:"About Us",description:"Learn about our story"},{path:"/models",title:"Models",description:"Browse our talent"},{path:"/castings",title:"Castings",description:"Find opportunities"},{path:"/photo-sessions",title:"Photo Sessions",description:"Book your session"},{path:"/contact",title:"Contact",description:"Get in touch"},{path:"/admin/profile",title:"Profile",description:"Manage your profile"},{path:"/admin",title:"Admin Dashboard",description:"Administrative tools"},{path:"/admin/profile/add-profile",title:"Add Model",description:"Add new talent"},{path:"/admin/create-casting",title:"Create Casting",description:"New opportunity"},{path:"/admin/footer",title:"Footer Editor",description:"Customize footer"},{path:"/admin/navbar-editor",title:"Navbar Editor",description:"Customize navigation"},{path:"/admin/api-explorer",title:"API Explorer",description:"Test endpoints"},{path:"/admin/settings",title:"Admin Settings",description:"System configuration"}];function N(e){let{siteTitle:t,className:r=""}=e,{scrollYProgress:i}=(0,y.L)(),l=function(){let e=(0,j.usePathname)(),[t,r]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let t=null;for(let r of k)if(e===r.path){t=r;break}else if(e.startsWith(r.path+"/")){t=r;break}if(!t){for(let r of k)if(e.includes(r.path)&&"/"!==r.path){t=r;break}}t||(t=k[0]),r(t)},[e]),t}(),o=(0,v.G)(i,[0,.1,1],[1,0,0]),d=(0,v.G)(i,[0,.1,1],[0,-20,-20]),c=(0,v.G)(i,[0,.1,1],[0,1,1]),u=(0,v.G)(i,[0,.25,1],[20,0,0]);return l?(0,a.jsxs)("div",{className:"relative ".concat(r),children:[(0,a.jsx)(n.P.div,{style:{opacity:o,y:d},className:"absolute inset-0 flex items-center",children:(0,a.jsx)("span",{className:"text-xs font-bold text-primary uppercase",children:t})}),(0,a.jsx)(n.P.div,{style:{opacity:c,y:u},className:"absolute inset-0 flex flex-col items-center justify-center",children:(0,a.jsx)("span",{className:"text-xs font-semibold text-primary text-center leading-tight uppercase",children:l.title})})]}):null}var w=r(5379);function A(e){let{isScrolled:t}=e,{isDark:r}=function(){let{theme:e,systemTheme:t}
1=(0,w.D)(),[r,a]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{a(!0)},[]),!r)return{textPrimary:"text-gray-900",textSecondary:"text-gray-600",textWhite:"text-white",bgPrimary:"bg-white",bgSecondary:"bg-gray-50",isDark:!1};let i="dark"===e||"system"===e&&"dark"===t;return{textPrimary:i?"text-white":"text-gray-900",textSecondary:i?"text-gray-400":"text-gray-600",textWhite:"text-white",bgPrimary:i?"bg-gray-900":"bg-white",bgSecondary:i?"bg-gray-800":"bg-gray-50",isDark:i}}();return(0,a.jsxs)(o(),{href:"/",className:"flex items-center space-x-2",children:[(0,a.jsx)(n.P.div,{whileHover:{scale:1.1},className:"w-10 h-10 rounded-full flex items-center justify-center",children:(0,a.jsx)(b.A,{width:32,height:32,color:t?r?"#fff":"#000":r?"#fff":"#374151"})}),(0,a.jsx)("div",{className:"w-32 h-auto",children:(0,a.jsx)(N,{siteTitle:"Capture Models",className:t?"text-gray-900 dark:text-white":"text-gray-700 dark:text-white"})})]})}var S=r(89511),C=r(25016);function P(e){let{...t}=e;return(0,a.jsx)(S.bL,{"data-slot":"sheet",...t})}function E(e){let{...t}=e;return(0,a.jsx)(S.l9,{"data-slot":"sheet-trigger",...t})}var I=r(9540),O=r(65229),L=r(21873),M=r(67812),T=r(59427),D=r(37494);function R(e){let{isScrolled:t=!1}=e,{theme:r,setTheme:i,systemTheme:n}
1=(0,w.D)(),[l,o]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{o(!0)},[]),l)?(0,a.jsx)(u.$n,{variant:"ghost",size:"sm",onClick:()=>{let e="dark"===r?"light":"dark";console.log("Toggling theme from",r,"to",e),i(e)},className:"w-9 h-9 p-0 transition-colors duration-200 hover:bg-gray-100 dark:hover:bg-gray-800",title:"Current theme: ".concat(r).concat("system"===r?" (".concat(n,")"):""),children:"dark"===r||"system"===r&&"dark"===n?(0,a.jsx)(T.A,{className:"w-4 h-4 text-yellow-500"}):(0,a.jsx)(D.A,{className:"w-4 h-4 text-gray-600"})}):(0,a.jsx)(u.$n,{variant:"ghost",size:"sm",className:"w-9 h-9 p-0",children:(0,a.jsx)(T.A,{className:"w-4 h-4"})})}function z(e){let{className:t,children:r,side:s="right",...i}=e;return(0,a.jsxs)(S.ZL,{children:[(0,a.jsx)(S.hJ,{className:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50"}),(0,a.jsx)(S.UC,{className:(0,C.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===s&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===s&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===s&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===s&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...i,children:r})]})}function $(e){let{isOpen:t,onOpenChange:r,isScrolled:s,session:i,navItems:n,photoSessionItems:l,userMenuItems:d,adminMenuItems:c,onSignOut:m,showLocations:x}=e,p=()=>{r(!1)};return(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsxs)(P,{open:t,onOpenChange:r,children:[(0,a.jsx)(E,{asChild:!0,children:(0,a.jsx)(u.$n,{variant:"ghost",size:"sm",className:"transition-colors duration-200 ".concat(s?"text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800":"text-gray-500 dark:text-white hover:bg-gray-100 dark:hover:bg-primary/20"),children:(0,a.jsx)(I.A,{className:"w-6 h-6"})})}),(0,a.jsx)(z,{side:"right",className:"w-70 max-w-[80vw] p-0 border-l border-gray-200 dark:border-gray-700 mobile-sheet bg-black",children:(0,a.jsxs)("div",{className:"flex flex-col h-full bg-card mobile-sheet-content bg-primary",children:[(0,a.jsx)("div",{className:"flex items-center justify-between p-2 border-b border-gray-200 dark:border-gray-700 justify-end",children:(0,a.jsxs)("div",{className:"w-full flex items-center space-x-2 justify-end",children:[(0,a.jsx)(R,{isScrolled:s}),(0,a.jsx)(u.$n,{variant:"ghost",size:"sm",onClick:()=>r(!1),className:"text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white",children:(0,a.jsx)(O.A,{className:"w-5 h-5 text-primary"})})]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto mobile-sheet-scroll bg-background",children:[(0,a.jsxs)("div",{className:"p-4 space-y-1",children:[(0,a.jsx)("h3",{className:"text-xs font-semibold text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-3",children:"Main Navigation"}),n.map(e=>(0,a.jsx)(o(),{href:e.href,onClick:p,className:"flex items-center space-x-3 px-3 py-1 text-gray-800 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-all duration-200 group",children:(0,a.jsx)("span",{className:"font-medium",children:e.label})},e.href))]}),(0,a.jsxs)("div",{className:"px-4 py-2 space-y-1",children:[(0,a.jsx)("h3",{className:"text-xs font-semibold text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-3",children:"Photo Sessions"}),l.map(e=>(0,a.jsx)(o(),{href:e.href,onClick:p,className:"flex items-center space-x-3 px-3 py-3 text-gray-800 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-all duration-200 group",children:(0,a.jsx)("span",{className:"font-medium",children:e.label})},e.href))]}),x&&(0,a.jsxs)("div",{className:"px-4 py-2 space-y-1",children:[(0,a.jsx)("h3",{className:"text-xs font-semibold text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-3",children:"Locations"}),(0,a.jsxs)(o(),{href:"/locations",onClick:p,className:"flex items-center space-x-3 px-3 py-3 text-gray-800 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-all duration-200 group",children:[(0,a.jsx)("div",{className:"w-8 h-8 bg-gray-100 dark:bg-gray-800 rounded-lg flex items-center justify-center group-hover:bg-green-100 dark:group-hover:bg-green-900/30 transition-colors",children:(0,a.jsx)(L.A,{className:"w-4 h-4 text-gray-700 dark:text-gray-300 group-hover:text-green-600 dark:group-hover:text-green-400"})}),(0,a.jsx)("span",{className:"font-medium",children:"Locations"})]})]}),i&&(0,a.jsxs)("div",{className:"px-4 py-2 space-y-1",children:[(0,a.jsx)("h3",{className:"text-xs font-semibold text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-3",children:"Account"}),(0,a.jsx)("div",{className:"p-4 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-900/20 dark:to-purple-900/20 rounded-xl border border-blue-200 dark:border-blue-800/30",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)("div",{className:"w-12 h-12 bg-gradient-to-br from-blue-600 to-purple-600 rounded-full flex items-center justify-center",children:(0,a.jsx)(h.A,{className:"w-6 h-6 text-white"})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("p",{className:"font-semibold text-gray-900 dark:text-white text-sm",children:i.user.n
1ame||i.user.email}),(0,a.jsx)(M.E,{variant:"secondary",className:"text-xs bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",children:i.user.role})]})]})}),"admin"===i.user.role&&(0,a.jsxs)("div",{className:"space-y-1 mt-3",children:[(0,a.jsx)("h4",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-2 px-3",children:"Admin Panel"}),c.map(e=>(0,a.jsxs)(o(),{href:e.href,onClick:p,className:"flex items-center space-x-3 px-3 py-3 text-gray-800 dark:text-gray-200 hover:bg-red-50 dark:hover:bg-red-900/20 rounded-lg transition-all duration-200 group",children:[(0,a.jsx)("div",{className:"w-8 h-8 bg-red-100 dark:bg-red-900/20 rounded-lg flex items-center justify-center group-hover:bg-red-200 dark:group-hover:bg-red-900/30 transition-colors",children:(0,a.jsx)(e.icon,{className:"w-4 h-4 text-red-600 dark:text-red-400"})}),(0,a.jsx)("span",{className:"font-medium",children:e.label})]},e.href))]}),(0,a.jsxs)("div",{className:"space-y-1 mt-3",children:[(0,a.jsx)("h4",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 uppercase tracking-wider mb-2 px-3",children:"Profile"}),d.map(e=>(0,a.jsxs)(o(),{href:e.href,onClick:p,className:"flex items-center space-x-3 px-3 py-3 text-gray-800 dark:text-gray-200 hover:bg-green-50 dark:hover:bg-green-900/20 rounded-lg transition-all duration-200 group",children:[(0,a.jsx)("div",{className:"w-8 h-8 bg-green-100 dark:bg-green-900/20 rounded-lg flex items-center justify-center group-hover:bg-green-200 dark:group-hover:bg-green-900/30 transition-colors",children:(0,a.jsx)(e.icon,{className:"w-4 h-4 text-green-600 dark:text-green-400"})}),(0,a.jsx)("span",{className:"font-medium",children:e.label})]},e.href))]})]})]}),(0,a.jsx)("div",{className:"border-t border-gray-200 dark:border-gray-700 bg-primary dark:bg-gray-800 p-4 pb-safe",children:i?(0,a.jsxs)(u.$n,{variant:"outline",onClick:()=>{m(),r(!1)},className:"w-full bg-red-50 hover:bg-red-100 dark:bg-red-900/20 dark:hover:bg-red-900/30 border-red-200 dark:border-red-800 text-red-700 dark:text-red-300 hover:text-red-800 dark:hover:text-red-200",children:[(0,a.jsx)(g.A,{className:"w-4 h-4 mr-2"}),"Sign Out"]}):(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)(o(),{href:"/auth/signin",onClick:p,className:"block w-full",children:(0,a.jsx)(u.$n,{variant:"outline",className:"w-full bg-blue-50 hover:bg-blue-100 dark:bg-blue-900/20 dark:hover:bg-blue-900/30 border-blue-200 dark:border-blue-800 text-blue-700 dark:text-blue-300",children:"Sign In"})}),(0,a.jsx)(o(),{href:"/auth/signup",onClick:p,className:"block w-full",children:(0,a.jsx)(u.$n,{className:"w-full bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white shadow-lg",children:"Sign Up"})})]})})]})})]})})}function F(e){var t,r;let{isScrolled:s,navItems:i,photoSessionItems:n,modelsDropdownItems:l,showLocations:o}=e;return(0,a.jsxs)("div",{className:"hidden md:flex items-center space-x-8",children:[(0,a.jsx)(x,{label:"PHOTO SESSIONS",icon:(null==(t=n[0])?void 0:t.icon)||(()=>null),items:n,isScrolled:s}),(0,a.jsx)(x,{label:"MODELS",icon:(null==(r=l[0])?void 0:r.icon)||(()=>null),items:l,isScrolled:s}),i.map(e=>(0,a.jsx)(d,{href:e.href,label:e.label,icon:e.icon,isScrolled:s},e.href))]})}function _(e){let{isScrolled:t,session:r,userMenuItems:s,adminMenuItems:i,onSignOut:n}=e;return(0,a.jsxs)("div",{className:"hidden md:flex items-center space-x-4",children:[(0,a.jsx)(R,{isScrolled:t}),r?(0,a.jsx)(p,{session:r,isScrolled:t,userMenuItems:s,adminMenuItems:i,onSignOut:n}):(0,a.jsx)(f,{isScrolled:t})]})}var B=r(95664),W=r(89715),V=r(91169),Y=r(6191),Z=r(15870),G=r(80534);function J(e){var t,r,l,o,d;let{session:c}
1=e,[u,m]=(0,s.useState)(!1),[x,h]=(0,s.useState)(!1),[g,p]=(0,s.useState)(null),f=e=>e.map(e=>({href:e.url||e.href,label:e.label,icon:e.icon||B.A})),b=[{href:"/castings",label:"Castings",icon:W.A}],y=[{href:"/photo-sessions",label:"Photo Sessions",icon:B.A},{href:"/photo-sessions/all-photos",label:"ALL PHOTOS",icon:V.A},{href:"/photo-sessions/book",label:"Book Your Session",icon:V.A},{href:"/photo-sessions/pricing",label:"Pricing",icon:V.A}];V.A,Y.A;let v=[{href:"/admin/profile/add-profile",label:"ADD MODEL",icon:Y.A},{href:"/admin/create-casting",label:"ADD CASTING",icon:W.A},{href:"/admin/footer",label:"FOOTER EDITOR",icon:Z.A}],j=[{href:"/admin/profile",label:"PROFILE",icon:V.A},{href:"/admin/profile/edit-profile",label:"EDIT PROFILE",icon:Z.A}],k=(null==g||null==(t=g.mainMenu)?void 0:t.filter(e=>!e.children))?f(g.mainMenu.filter(e=>!e.children)):b,N=[...(null==g||null==(l=g.mainMenu)||null==(r=l.find(e=>e.label.toLowerCase().includes("photo")))?void 0:r.children)?f(g.mainMenu.find(e=>e.label.toLowerCase().includes("photo")).children):y,{href:"/photo-sessions/all-photos",label:"ALL PHOTOS",icon:V.A},...(null==g?void 0:g.showLocations)?[{href:"/locations",label:"LOCATIONS",icon:L.A}]:[]],w=[...(null==g||null==(d=g.mainMenu)||null==(o=d.find(e=>e.label.toLowerCase().includes("model")))?void 0:o.children)?f(g.mainMenu.find(e=>e.label.toLowerCase().includes("model")).children):(()=>{let e=[{href:"/models",label:"ALL MODELS",icon:V.A}];return c&&("admin"===c.user.role||"team"===c.user.role)?e.push({href:"/admin/profile/add-profile",label:"BECOME A MODEL",icon:Y.A}):e.push({href:"/auth/signin",label:"BECOME A MODEL",icon:Y.A}),e})(),{href:"/castings",label:"CASTINGS",icon:V.A}],S=f(k),C=f(N),P=f(w),E=[...v,{href:"/admin/photo-session-editor",label:"PHOTO SESSION EDITOR",icon:B.A},{href:"/admin/dashboard",label:"DASHBOARD",icon:G.A}];(0,s.useEffect)(()=>{let e=()=>{m(window.scrollY>10)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/website-elements/navbar");if(e.ok){let t=await e.json();t.success&&t.data&&p(t.data.content)}}catch(e){}})()},[]);let I=()=>{(0,i.CI)({callbackUrl:"/"})};return(0,a.jsx)(n.P.nav,{initial:{y:-100},animate:{y:0},transition:{duration:.5},className:"fixed top-0 left-0 right-0 z-50 transition-all duration-300 ".concat(u?"backdrop-blur-md shadow-lg border-b border-gray-200/50 dark:border-gray-700/50":"backdrop-blur-sm"),children:(0,a.jsx)("div",{className:"container mx-auto px-4",children:(0,a.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,a.jsx)(A,{isScrolled:u}),(0,a.jsx)(F,{isScrolled:u,navItems:S,photoSessionItems:C,modelsDropdownItems:P,showLocations:null==g?void 0:g.showLocations}),(0,a.jsx)(_,{isScrolled:u,session:c,userMenuItems:j,adminMenuItems:E,onSignOut:I}),(0,a.jsx)($,{isOpen:x,onOpenChange:h,isScrolled:u,session:c,navItems:S,photoSessionItems:C,userMenuItems:j,adminMenuItems:E,onSignOut:I,showLocations:null==g?void 0:g.showLocations})]})})})}function U(e){let{children:t}=e,{data:r,status:n}
1=(0,i.wV)(),[l,o]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{o(!0)},[]),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50 border-b border-gray-200/50 dark:border-gray-700/50",children:(0,a.jsx)(J,{session:r})}),(0,a.jsx)("div",{className:"pt-0",children:t})]}):null}function H(e){let{children:t}=e;return(0,a.jsx)(i.CP,{children:(0,a.jsx)(U,{children:t})})}},67812:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var a=r(95155);r(12115);var s=r(32467),i=r(83101),n=r(25016);let l=(0,i.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-black dark:text-muted-foreground [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,asChild:i=!1,...o}=e,d=i?s.DX:"span";return(0,a.jsx)(d,{"data-slot":"badge",className:(0,n.cn)(l({variant:r}),t),...o})}},73677:()=>{},80865:(e,t,r)=>{"use strict";r.d(t,{eP:()=>d,f6:()=>o});var a=r(95155),s=r(12115),i=r(92691),n=r(49568);let l=(0,s.createContext)(null);function o(e){let{children:t,enableSmoothScroll:r=!0}=e,[o,d]=(0,s.useState)(null),c=(0,s.useRef)((0,n.OQ)(0)),u=(0,s.useRef)((0,n.OQ)(0));return((0,s.useEffect)(()=>{if(r&&"undefined"!=typeof navigator){let e,t=/iPad|iPhone|iPod/.test(navigator.userAgent)&&/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent),r=new i.A({lerp:t?.05:.1,duration:t?1.5:1.1,wheelMultiplier:t?.8:1.2,smoothWheel:!t,touchMultiplier:1,infinite:!1});d(r),r.on("scroll",e=>{let{scroll:t,velocity:r}=e;c.current.set(t),u.current.set(r)});let a=t=>{r.raf(t),e=requestAnimationFrame(a)};return e=requestAnimationFrame(a),()=>{cancelAnimationFrame(e),r.destroy()}}},[r]),r)?(0,a.jsx)(l.Provider,{value:{scrollY:c.current,velocityY:u.current},children:t}):(0,a.jsx)(a.Fragment,{children:t})}function d(){let e=(0,s.useContext)(l);return e?e.scrollY:(0,n.OQ)(0)}},81901:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>n});var a=r(95155),s=r(5379),i=r(12115);function n(e){let{children:t,...r}=e;return(0,i.useEffect)(()=>{let e=e=>{"theme"===e.key&&(console.log("Theme changed to:",e.newValue),document.documentElement.className=document.documentElement.className.replace(/theme-\w+/g,""),e.newValue&&document.documentElement.classList.add("theme-".concat(e.newValue)))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]),(0,a.jsx)(s.N,{...r,children:t})}},83209:(e,t,r)=>{"use strict";r.d(t,{BT:()=>o,Wu:()=>d,ZB:()=>l,Zp:()=>i,aR:()=>n});var a=r(95155);r(12115);var s=r(25016);function i(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...r})}function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...r})}function l(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",t),...r})}function o(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...r})}function d(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",t),...r})}},90235:(e,t,r)=>{"use strict";r.d(t,{J:()=>n});var a=r(95155);r(12115);var s=r(10489),i=r(25016);function n(e){let{className:t,...r}=e;return(0,a.jsx)(s.b,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...r})}},90795:(e,t,r)=>{"use strict";r.d(t,{DynamicFooter:()=>I});var a=r(95155),s=r(12115),i=r(52619),n=r.n(i),l=r(65895),o=r(97003),d=r(33342),c=r(54664),u=r(73155),m=r(97378),x=r(67161),h=r(67333),g=r(20064),p=r(39068),f=r(5937),b=r(19408),y=r(95664),v=r(91169),j=r(17910),k=r(89715),N=r(23664),w=r(21873),A=r(15870),S=r(20562);let C={companyInfo:{name:"Capture Models",description:"Premier photography agency representing exceptional talent in fashion, commercial, and editorial modeling worldwide.",logo:"",address:"Barcelona, Spain",phone:"",email:"[email protected]"},links:[{title:"Company",links:[{label:"About Us",url:"#about"},{label:"Our Models",url:"#models"},{label:"Services",url:"#services"},{label:"Careers",url:"/careers"},{label:"Press",url:"/press"}]},{title:"Services",links:[{label:"Fashion Modeling",url:"/services/fashion"},{label:"Commercial",url:"/services/commercial"},{label:"Editorial",url:"/services/editorial"},{label:"Casting",url:"/services/casting"}]},{title:"Resources",links:[{label:"Model Application",url:"https://docs.google.com/forms/d/e/1FAIpQLScEW368WiyWckeMTVgrX9xxAsDgrAn7jA4h_UZ6OR-45pLfVQ/viewform"},{label:"Client Portal",url:"/client-portal"},{label:"Castings",url:"/castings"},{label:"FAQ",url:"/faq"}]},{title:"Legal",links:[{label:"Privacy Policy",url:"/privacy-policy"},{label:"Terms of Service",url:"/terms-and-conditions"},{label:"Cookie Policy",url:"/cookie-policy"},{label:"LOPD",url:"https://docs.google.com/forms/d/e/1FAIpQLSeRTBmYWZBe_RBrlPeVSac3GHAOiawWNsxnc1RWODRAu4qeMA/formrestricted"}]}],socialMedia:[{platform:"Instagram",url:"https://www.instagram.com/capturemodelsofficial/",icon:"instagram"},{platform:"YouTube",url:"https://www.youtube.com/@capturemodels2363",icon:"youtube"},{platform:"Facebook",url:"",icon:"facebook"},{platform:"Twitter",url:"",icon:"twitter"},{platform:"LinkedIn",url:"",icon:"linkedin"},{platform:"WhatsApp",url:"https://wa.me/34600000000",icon:"whatsapp"}],copyright:"\xa9 2024 Capture Models. All rights reserved.",additionalInfo:"Made with ❤️ in Barcelona"},P={facebook:u.A,twitter:m.A,instagram:x.A,linkedin:h.A,youtube:g.A,globe:p.A,whatsapp:f.A},E={company:b.A,services:y.A,resources:v.A,legal:j.A,default:k.A};
1function I(){let[e,t]=(0,s.useState)(C),[r,i]=(0,s.useState)(""),[u,m]=(0,s.useState)(!1),[x,h]=(0,s.useState)(!0);(0,s.useEffect)(()=>{g()},[]);let g=async()=>{try{let e=await fetch("/api/website-elements/footer");if(e.ok){let r=await e.json();r.success&&r.data&&t(r.data.content)}}catch(e){}finally{h(!1)}};return x?(0,a.jsx)("footer",{className:"relative z-20 border-t border-border/50",children:(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"py-16",children:(0,a.jsx)("div",{className:"animate-pulse space-y-8",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-8 lg:gap-12",children:[(0,a.jsxs)("div",{className:"lg:col-span-1 space-y-4",children:[(0,a.jsx)("div",{className:"h-8 bg-gray-200 dark:bg-gray-700 rounded w-48"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/4"})]}),Array.from({length:3}).map((e,t)=>(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"h-6 bg-gray-200 dark:bg-gray-700 rounded w-24"}),(0,a.jsx)("div",{className:"space-y-2",children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-32"},t))})]},t))]})})})})}):(0,a.jsx)("footer",{className:"relative z-20 border-t border-border/50",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"py-16",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-8 lg:gap-12",children:[(0,a.jsxs)(l.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"lg:col-span-1",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[e.companyInfo.logo?(0,a.jsx)("img",{src:e.companyInfo.logo,alt:e.companyInfo.name,className:"w-8 h-8 rounded-lg"}):(0,a.jsx)("div",{className:"w-8 h-8 bg-gradient-to-br from-primary to-purple-600 rounded-lg flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-white font-bold text-lg",children:e.companyInfo.name.charAt(0)})}),(0,a.jsx)("span",{className:"text-xl font-bold bg-gradient-to-r from-foreground to-muted-foreground bg-clip-text text-black dark:text-muted-foreground",children:e.companyInfo.name})]}),(0,a.jsx)("p",{className:"text-muted-foreground mb-6 leading-relaxed text-black dark:text-muted-foreground",children:e.companyInfo.description}),(0,a.jsxs)("div",{className:"space-y-3 mb-6",children:[e.companyInfo.email&&(0,a.jsxs)("div",{className:"flex items-center space-x-3 text-sm text-muted-foreground text-black dark:text-muted-foreground",children:[(0,a.jsx)(N.A,{className:"h-4 w-4 text-black dark:text-muted-foreground"}),(0,a.jsx)("span",{children:e.companyInfo.email})]}),e.companyInfo.address&&(0,a.jsxs)("div",{className:"flex items-center space-x-3 text-sm text-muted-foreground text-black dark:text-muted-foreground",children:[(0,a.jsx)(w.A,{className:"h-4 w-4 text-black dark:text-muted-foreground"}),(0,a.jsx)("span",{children:e.companyInfo.address})]})]}),(0,a.jsx)("div",{className:"flex space-x-3",children:e.socialMedia.filter(e=>e.url).map((e,t)=>{let r=P[e.icon]||p.A;return(0,a.jsx)(l.P.div,{whileHover:{scale:1.1},whileTap:{scale:.95},children:(0,a.jsx)(o.$n,{variant:"ghost",size:"icon",className:"h-9 w-9 bg-muted/50 hover:bg-primary hover:text-white transition-all duration-300",asChild:!0,children:(0,a.jsx)(n(),{href:e.url,"aria-label":e.platform,children:(0,a.jsx)(r,{className:"h-4 w-4"})})})},t)})})]}),(0,a.jsx)("div",{className:"lg:col-span-3 grid grid-cols-2 md:grid-cols-4 gap-8",children:e.links.map((e,t)=>(0,a.jsxs)(l.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1*t},children:[(0,a.jsx)("h4",{className:"font-semibold text-foreground mb-4 capitalize text-black dark:text-muted-foreground",children:e.title}),(0,a.jsx)("ul",{className:"space-y-3",children:e.links.map((t,r)=>{let s=E[e.title.toLowerCase()]||E.default;return(0,a.jsx)("li",{children:(0,a.jsxs)(n(),{href:t.url,className:"flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors duration-200 group text-black dark:text-muted-foreground",children:[(0,a.jsx)(s,{className:"h-4 w-4 mr-2 opacity-70 group-hover:opacity-100 transition-opacity text-black dark:text-muted-foreground"}),t.label]})},r)})})]},t))})]}),(0,a.jsx)(l.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"mt-12 pt-8 border-t border-border",children:(0,a.jsxs)("div",{className:"max-w-md mx-auto lg:mx-0 text-center lg:text-left",children:[(0,a.jsx)("h4",{className:"font-semibold text-foreground mb-2 text-black dark:text-muted-foreground",children:"Stay Updated"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4 text-black dark:text-muted-foreground",children:"Get the latest news, model spotlights, and industry insights delivered to your inbox."}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),m(!0),i(""),setTimeout(()=>m(!1),3e3)},className:"flex space-x-2",children:[(0,a.jsx)(d.p,{type:"email",placeholder:"Enter your email",value:r,onChange:e=>i(e.target.value),required:!0,className:"flex-1"}),(0,a.jsx)(o.$n,{type:"submit",className:"bg-primary hover:from-primary/90 hover:to-purple-600/90 text-secondary",children:u?"Subscribed!":"Subscribe"})]})]})})]}),(0,a.jsx)(c.w,{}),(0,a.jsxs)("div",{className:"py-6 flex flex-col md:flex-row items-center justify-between space-y-4 md:space-y-0",children:[(0,a.jsx)(l.P.div,{initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6},className:"text-sm text-muted-foreground text-black dark:text-muted-foreground",children:e.copyright}),(0,a.jsxs)(l.P.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"flex items-center space-x-4",children:[e.additionalInfo&&(0,a.jsx)("span",{className:"text-sm text-muted-foreground text-black dark:text-muted-foreground",children:e.additionalInfo}),(0,a.jsxs)(o.$n,{variant:"ghost",size:"sm",onClick:()=>{window.dispatchEvent(new CustomEvent("openCookieSettings"))},className:"text-xs text-muted-foreground hover:text-foreground transition-colors duration-200",children:[(0,a.jsx)(A.A,{className:"h-3 w-3 mr-1"}),"Cookie Settings"]}),(0,a.jsx)(o.$n,{variant:"ghost",size:"icon",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"h-8 w-8 bg-muted/50 hover:bg-primary hover:text-white transition-all duration-300",children:(0,a.jsx)(S.A,{className:"h-4 w-4"})})]})]})]})})}},97003:(e,t,r)=>{"use strict";r.d(t,{$n:()=>d,ru:()=>o});var a=r(95155),s=r(12115),i=r(32467),n=r(83101),l=r(25016);let o=(0,n.F)("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-black dark:text-muted-foreground 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"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,a.jsx)(u,{"data-slot":"button",className:(0,l.cn)(o({variant:s,size:n,className:r})),ref:t,...c})});d.displayName="Button"}},e=>{e.O(0,[908,6138,9268,1547,2619,951,2365,9118,7351,9511,5295,9534,8441,1255,7358],()=>e(e.s=5167)),_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.