1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1909],{1834:(e,t,a)=>{a.d(t,{Cf:()=>f,Es:()=>g,L3:()=>h,c7:()=>p,lG:()=>l,rr:()=>m,zM:()=>c});var r=a(5155),s=a(2115),n=a(7283),o=a(6615),i=a(4269);let l=n.bL,c=n.l9,d=n.ZL;n.bm;let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.hJ,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});u.displayName=n.hJ.displayName;let f=s.forwardRef((e,t)=>{let{className:a,children:s,...l}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...l,children:[s,(0,r.jsxs)(n.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(o.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=n.UC.displayName;let p=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};p.displayName="DialogHeader";let g=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};g.displayName="DialogFooter";let h=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.hE,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",a),...s})});h.displayName=n.hE.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.VY,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});m.displayName=n.VY.displayName},2193:(e,t,a)=>{a.r(t),a.d(t,{FirebaseClientProvider:()=>h,FirebaseProvider:()=>d,initializeFirebase:()=>x,useAuth:()=>g,useFirebase:()=>u,useFirebaseApp:()=>f,useFirestore:()=>p,useUser:()=>m});var r=a(2078),s=a(9708),n=a(9253);let o={apiKey:"AIzaSyCmM1QA5eCt9VRx9LgWaltORuVpGtaXIKw",authDomain:"studio-7416216488-f103a.firebaseapp.com",projectId:"studio-7416216488-f103a",storageBucket:"studio-7416216488-f103a.firebasestorage.app",messagingSenderId:"851611361635",appId:"1:851611361635:web:0214f9b654a3c5a34c7356"};var i=a(5155),l=a(2115);let c=(0,l.createContext)(null);function d(e){let{children:t,firebaseApp:a,firestore:r,auth:s}=e;return(0,i.jsx)(c.Provider,{value:{firebaseApp:a,firestore:r,auth:s},children:t})}function u(){let e=(0,l.useContext)(c);if(!e)throw Error("useFirebase must be used within FirebaseProvider");return e}function f(){return u().firebaseApp}function p(){return u().firestore}function g(){return u().auth}function h(e){let{children:t}=e,{firebaseApp:a,firestore:r,auth:s}=(0,l.useMemo)(()=>x(),[]);return(0,i.jsx)(d,{firebaseApp:a,firestore:r,auth:s,children:t})}function m(){let e=g(),[t,a]=(0,l.useState)(null),[r,s]=(0,l.useState)(!1),[o,i]=(0,l.useState)(!0);return(0,l.useEffect)(()=>{if(!e)return void i(!1);let t=(0,n.hg)(e,async e=>{if(a(e),e)try{let t=await e.getIdTokenResult();s(!!t.claims.admin)}catch(e){console.error("Error fetching token claims:",e),s(!1)}else s(!1);i(!1)});return()=>t()},[e]),{user:t,isAdmin:r,loading:o}}function x(){if(!(o.apiKey&&"YOUR_API_KEY_HERE"!==o.apiKey&&""!==o.apiKey.trim()))return console.warn("Firebase configuration is missing or invalid. Authentication and database features will be disabled."),{firebaseApp:null,firestore:null,auth:null};try{let e=(0,r.Dk)().length>0?(0,r.Sx)():(0,r.Wp)(o),t=(0,s.aU)(e),a=(0,n.xI)(e);return{firebaseApp:e,firestore:t,auth:a}}catch(e){return console.error("Error initializing Firebase:",e),{firebaseApp:null,firestore:null,auth:null}}}},3174:(e,t,a)=>{a.d(t,{A:()=>u});var r=a(5155),s=a(1834),n=a(5239),o=a(1190),i=a(3263),l=a(6615),c=a(3998),d=a(2115);function u(e){let{images:t,currentIndex:a,isOpen:u,onClose:f,onIndexChange:p}=e,g=(0,d.useCallback)(()=>{p((a-1+t.length)%t.length)},[a,t.length,p]),h=(0,d.useCallback)(()=>{p((a+1)%t.length)},[a,t.length,p]);if((0,d.useEffect)(()=>{let e=e=>{u&&("ArrowLeft"===e.key&&g(),"ArrowRight"===e.key&&h(),"Escape"===e.key&&f())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[u,g,h,f]),!t||0===t.length)return null;let m=t[a];return(0,r.jsx)(s.lG,{open:u,onOpenChange:e=>!e&&f(),children:(0,r.jsxs)(s.Cf,{className:"p-0 border-0 max-w-6xl bg-transparent shadow-none flex items-center justify-center h-[90vh] w-[95vw] overflow-visible",children:[(0,r.jsx)(s.L3,{className:"sr-only",children:"Image Gallery"}),(0,r.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center",children:[t.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(c.$,{variant:"ghost",size:"icon",className:"absolute left-2 sm:left-4 z-50 rounded-full bg-black/40 text-white hover:bg-black/60 hover:text-white transition-opacity",onClick:e=>{e.stopPropagation(),g()},children:[(0,r.jsx)(o.A,{className:"h-8 w-8"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous Image"})]}),(0,r.jsxs)(c.$,{variant:"ghost",size:"icon",className:"absolute right-2 sm:right-4 z-50 rounded-full bg-black/40 text-white hover:bg-black/60 hover:text-white transition-opacity",onClick:e=>{e.stopPropagation(),h()},children:[(0,r.jsx)(i.A,{className:"h-8 w-8"}),(0,r.jsx)("span",{className:"sr-only",children:"Next Image"})]})]}),(0,r.jsx)("div",{className:"relative max-w-full max-h-full flex items-center justify-center p-2 sm:p-8",children:(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsx)(n.default,{src:m,alt:"Image ".concat(a+1," of ").concat(t.length),width:1600,height:1e3,className:"max-w-full max-h-[80vh] object-contain rounded-xl shadow-2xl border border-white/10",priority:!0}),(0,r.jsxs)(c.$,{variant:"ghost",size:"icon",className:"absolute -top-4 -right-4 z-[60] rounded-full bg-primary text-primary-foreground hover:bg-primary/90 hover:scale-110 transition-all shadow-[0_0_20px_rgba(0,0,0,0.5)] border-2 border-white h-8 w-8",onClick:e=>{e.stopPropagation(),f()},children:[(0,r.jsx)(l.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close Gallery"})]}),(0,r.jsxs)("div",{className:"absolute -bottom-10 left-1/2 -translate-x-1/2 bg-black/60 backdrop-blur-md text-white px-4 py-1.5 rounded-full text-xs font-mono shadow-lg border border-white/20",children:[a+1," / ",t.length]})]})})]})]})})}},3842:(e,t,a)=>{a.d(t,{default:()=>i});var r=a(5155),s=a(4269),n=a(2115),o=a(3174);function i(e){let{html:t,className:a,images:i=[]}
1=e,[l,c]=(0,n.useState)(!1),[d,u]=(0,n.useState)(0),f=i.length>0?i:[];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{onClick:e=>{let t=e.target.closest("figure");if(t){let a=t.querySelector("img");if(a&&a.src){e.preventDefault();let t=i.indexOf(a.src);-1!==t?u(t):u(0),c(!0)}}},className:(0,s.cn)("prose",a),dangerouslySetInnerHTML:{__html:t}}),f.length>0&&(0,r.jsx)(o.A,{isOpen:l,onClose:()=>{c(!1)},images:f,currentIndex:d,onIndexChange:u})]})}},3998:(e,t,a)=>{a.d(t,{$:()=>c});var r=a(5155),s=a(2115),n=a(7129),o=a(3101),i=a(4269);let l=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:a,variant:s,size:o,asChild:c=!1,...d}=e,u=c?n.DX:"button";return(0,r.jsx)(u,{className:(0,i.cn)(l({variant:s,size:o,className:a})),ref:t,...d})});c.displayName="Button"},4269:(e,t,a)=>{a.d(t,{bS:()=>i,cn:()=>o,g_:()=>u,jT:()=>l,qI:()=>d,qL:()=>c});var r=a(2821),s=a(5889),n=a(5704);function o(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,s.QP)((0,r.$)(t))}function i(e){return e?e.replace(/<[^>]*>?/gm,""):""}function l(e){return e?e.replace(/“/g,"â").replace(/”/g,"â").replace(/‘/g,"â").replace(/’/g,"â").replace(/…/g,"â¦").replace(/–/g,"â").replace(/—/g,"â").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):""}function c(e){if(!e)return"";let t=function(){if(n.env.WORDPRESS_API_URL||n.env.NEXT_PUBLIC_WORDPRESS_API_URL)try{let e=n.env.WORDPRESS_API_URL||n.env.NEXT_PUBLIC_WORDPRESS_API_URL||"";return e.startsWith("http")||(e="https://"+e),new URL(e).origin}catch(e){}return"https://wp.iamnotastalker.com"}(),a=e.replace(/(<img[^>]+src=["'])https?:\/\/(demo\.wp-api\.org|www\.iamnotastalker\.com|notastalker\.com|static\.iamnotastalker\.com|static\.notastalker\.com)/gi,"$1".concat(t));return a.replace(/(<img[^>]+src=["'])\/(wp-content|wp-includes)/gi,"$1".concat(t,"/$2"))}function d(e){if(!e||"string"!=typeof e)return"";if(e.startsWith("http"))return e;let t=e.startsWith("/")?e.substring(1):e;return"".concat("https://image.tmdb.org/t/p/w185","/").concat(t)}function u(e){return e&&(e.poster_path||e.profile_path||e.image||e.image_url||e.poster||e.profile)||null}},5894:(e,t,a)=>{a.d(t,{dj:()=>u});var r=a(2115);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=[],l={toasts:[]};function c(e){l=((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:a}=t;return a?o(a):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...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)}}})(l,e),i.forEach(e=>{e(l)})}function d(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function u(){let[e,t]=r.useState(l);return r.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}}}]);
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.