PageSourceSearch

https://iamnotastalker.com/_next/static/chunks/app/%5B%5B...slug%5D%5D/page-1161a1442ad18517.js

js iamnotastalker.com collected 2026-10-02 04:33:48 UTC 50,290 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1340],{22:(e,t,a)=>{"use strict";a.d(t,{TagPostList:()=>c});var s=a(5155),r=a(2115),l=a(926);let i=(0,l.createServerReference)("707fffc145fe80988616d8f08a2a04d31e8c0bc617",l.callServer,void 0,l.findSourceMapURL,"getMoreTagPosts");var n=a(7882),o=a(2033),d=a(6429);function c(e){let{initialPosts:t,tagId:a}=e,[l,c]=(0,r.useState)(t),[m,h]=(0,r.useState)(2),[p,u]=(0,r.useState)(!1),[x,f]=(0,r.useState)(t.length>=10),{ref:g,inView:b}=(0,d.Wx)({threshold:0});return(0,r.useEffect)(()=>{let e=async()=>{u(!0);try{let e=await i(a,m);if(e.length>0){let t=new Set(l.map(e=>e.id)),a=e.filter(e=>!t.has(e.id));c(e=>[...e,...a]),h(e=>e+1),e.length<10&&f(!1)}else f(!1)}catch(e){console.error("Failed to load more tag posts:",e),f(!1)}finally{u(!1)}};b&&x&&!p&&e()},[b,x,p,m,a,l]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:l.map(e=>(0,s.jsx)(n.R,{post:e},e.id))}),(0,s.jsx)("div",{ref:g,className:"h-20 mt-8 flex justify-center items-center",children:p&&(0,s.jsx)(o.A,{className:"h-8 w-8 animate-spin text-primary"})})]})}},1647:(e,t,a)=>{"use strict";a.d(t,{E:()=>n});var s=a(5155);a(2115);var r=a(3101),l=a(4269);let i=(0,r.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function n(e){let{className:t,variant:a,...r}=e;return(0,s.jsx)("div",{className:(0,l.cn)(i({variant:a}),t),...r})}},3387:(e,t,a)=>{"use strict";a.d(t,{J:()=>s,f:()=>r});let s=(e,t)=>{if("function"==typeof window.gtag){let a=t||document.title;window.gtag("event","page_view",{page_title:a,page_location:window.location.href,page_path:e})}},r=(e,t)=>{"function"==typeof window.gtag&&window.gtag("event",e,{...t,page_location:window.location.href})}},4805:(e,t,a)=>{"use strict";a.r(t),a.d(t,{BackButton:()=>n});var s=a(5155),r=a(63),l=a(3998),i=a(6204);function n(){let e=(0,r.useRouter)();return(0,s.jsxs)(l.$,{variant:"outline",size:"icon",onClick:()=>e.back(),children:[(0,s.jsx)(i.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Go back"})]})}},5125:(e,t,a)=>{"use strict";a.d(t,{HeroSlider:()=>p});var s=a(5155),r=a(2115),l=a(8072),i=a(1700),n=a(5239),o=a(2619),d=a.n(o),c=a(4269),m=a(4003),h=a(3807);function p(e){let{featuredPosts:t}=e,[a,o]=(0,r.useState)(0),[p,u]=(0,r.useState)([]),x=[{id:"discover-slide",type:"discover",title:"Find Your Next Adventure",description:"Explore the world of filming locations, celebrity homes, and everything Hollywood.",link:"/discover",image:"https://wp.iamnotastalker.com/wp-content/uploads/2025/08/Screenshot-2025-08-16-at-10.23.47-PM-2048x1350-1.jpg"},...t.map(e=>{var t,a,s,r,l,i;return{id:e.id.toString(),type:"post",title:e.title.rendered,link:e.link,image:null==(s=e._embedded)||null==(a=s["wp:featuredmedia"])||null==(t=a[0])?void 0:t.source_url,alt:null==(i=e._embedded)||null==(l=i["wp:featuredmedia"])||null==(r=l[0])?void 0:r.alt_text}})],[f,g]=(0,l.A)({loop:!0},[(0,i.A)({delay:8e3,stopOnInteraction:!1})]),b=(0,r.useCallback)(e=>g&&g.scrollTo(e),[g]),v=(0,r.useCallback)(()=>{g&&o(g.selectedScrollSnap())},[g,o]);return(0,r.useEffect)(()=>{g&&(v(),u(g.scrollSnapList()),g.on("select",v),g.on("reInit",v))},[g,v]),(0,s.jsxs)("section",{className:"relative w-full overflow-hidden bg-black",children:[(0,s.jsx)("div",{className:"h-[450px] md:h-[650px]",ref:f,children:(0,s.jsx)("div",{className:"flex h-full",children:x.map((e,t)=>(0,s.jsxs)("div",{className:"relative flex-[0_0_100%] min-w-0 h-full group",children:[e.image?(0,s.jsx)(n.default,{src:e.image,alt:e.alt||(0,c.jT)((0,c.bS)(e.title)),fill:!0,priority:0===t,className:"object-cover transition-transform duration-1000 group-hover:scale-105 opacity-60"}):(0,s.jsx)("div",{className:"absolute inset-0 bg-muted flex items-center justify-center",children:(0,s.jsx)(m.A,{className:"h-20 w-20 text-muted-foreground opacity-20"})}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),(0,s.jsxs)("div",{className:"relative z-10 flex h-full flex-col items-center justify-center p-8 text-center text-white",children:["discover"===e.type&&(0,s.jsx)("div",{className:"mb-6 flex items-center justify-center gap-4 animate-in fade-in slide-in-from-bottom-4 duration-1000",children:(0,s.jsx)("div",{className:"bg-primary/20 p-4 rounded-full backdrop-blur-sm border border-primary/50",children:(0,s.jsx)(h.A,{className:"h-8 w-8 text-primary"})})}),(0,s.jsx)("h2",{className:"text-4xl font-bold md:text-6xl lg:text-7xl font-headline max-w-5xl tracking-tighter drop-shadow-2xl",dangerouslySetInnerHTML:{__html:e.title}}
1),e.description&&(0,s.jsx)("p",{className:"mt-4 text-lg md:text-xl text-white/80 max-w-2xl font-medium",children:e.description}),"discover"!==e.type&&(0,s.jsx)(d(),{href:e.link,className:"mt-8 inline-flex h-12 items-center justify-center rounded-full bg-primary px-10 text-sm font-bold uppercase tracking-widest text-primary-foreground transition-all hover:bg-primary/90 hover:scale-105 shadow-2xl shadow-primary/40",children:"View Story"})]})]},"".concat(e.id,"-").concat(t)))})}),p.length>1&&(0,s.jsx)("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 z-20 flex items-center gap-3",children:p.map((e,t)=>(0,s.jsx)("button",{onClick:()=>b(t),className:(0,c.cn)("h-1.5 rounded-full transition-all duration-500",t===a?"w-10 bg-primary":"w-3 bg-white/40 hover:bg-white/70"),"aria-label":"Go to slide ".concat(t+1)},t))})]})}},5336:(e,t,a)=>{"use strict";a.d(t,{PostList:()=>m});var s=a(5155),r=a(2115),l=a(926);let i=(0,l.createServerReference)("7062f4276a52d357ef039bfbccb269ae7cee24fb9e",l.callServer,void 0,l.findSourceMapURL,"getMoreCategoryPosts");var n=a(7882),o=a(3037),d=a(2033),c=a(6429);function m(e){let{initialPosts:t,categoryId:a,excludedPostIds:l,variant:m="default"}=e,[h,p]=(0,r.useState)(t),u=t.length,[x,f]=(0,r.useState)(1),[g,b]=(0,r.useState)(!1),[v,j]=(0,r.useState)(t.length>=10),{ref:w,inView:N}=(0,c.Wx)({threshold:0});if((0,r.useEffect)(()=>{let e=async()=>{b(!0);let e=await i(a,x,l);if(e.length>0){let t=new Set(h.map(e=>e.id)),a=e.filter(e=>!t.has(e.id));p(e=>[...e,...a]),f(e=>e+1),e.length<10&&x>5&&j(!1)}else j(!1);b(!1)};N&&v&&!g&&e()},[N,v,g,x,a,l,h]),"spotlight"===m){let e=h[0],t=h.slice(1,u),a=h.slice(u);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1.15fr)_minmax(320px,0.85fr)]",children:[e&&(0,s.jsx)("div",{className:"min-h-[420px] lg:min-h-[520px]",children:(0,s.jsx)(n.R,{post:e,variant:"featured",className:"h-full"})}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-1",children:t.slice(0,4).map(e=>(0,s.jsx)(n.R,{post:e,variant:"compact"},e.id))})]}),t.length>4&&(0,s.jsx)("div",{className:"mt-8 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3",children:t.slice(4).map(e=>(0,s.jsx)(n.R,{post:e},e.id))}),(0,s.jsxs)("div",{className:"mt-12 border-t pt-8",children:[(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-xs font-semibold uppercase text-primary",children:[(0,s.jsx)(o.A,{className:"h-4 w-4"}),"WordPress archive"]}),(0,s.jsx)("h2",{className:"font-headline text-2xl font-bold tracking-tight",children:"From the archives"}),(0,s.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Keep browsing more stories, locations, and Hollywood history from this category."})]})}),a.length>0&&(0,s.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-3",children:a.map(e=>(0,s.jsx)(n.R,{post:e},e.id))})]}),(0,s.jsx)("div",{ref:w,className:"mt-8 h-10",children:g&&(0,s.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,s.jsx)(d.A,{className:"h-8 w-8 animate-spin text-primary"})})})]})}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-3",children:h.map(e=>(0,s.jsx)(n.R,{post:e},e.id))}),(0,s.jsx)("div",{ref:w,className:"mt-8 h-10",children:g&&(0,s.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,s.jsx)(d.A,{className:"h-8 w-8 animate-spin text-primary"})})})]})}},5897:(e,t,a)=>{"use strict";a.d(t,{BK:()=>o,eu:()=>n,q5:()=>d});var s=a(5155),r=a(2115),l=a(7870),i=a(4269);let n=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.bL,{ref:t,className:(0,i.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});n.displayName=l.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l._V,{ref:t,className:(0,i.cn)("aspect-square h-full w-full",a),...r})});o.displayName=l._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.H4,{ref:t,className:(0,i.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=l.H4.displayName},6948:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>i,aR:()=>n});var s=a(5155),r=a(2115),l=a(4269);let i=r.forwardRef((e,t)=>
1{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...r})});i.displayName="Card";let n=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",a),...r})});n.displayName="CardHeader";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",a),...r})});o.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",a),...r})});c.displayName="CardContent",r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",a),...r})}).displayName="CardFooter"},7063:(e,t,a)=>{"use strict";a.d(t,{Fm:()=>f,Qs:()=>b,Sheet:()=>d,SheetClose:()=>m,SheetContent:()=>x,SheetTitle:()=>g,SheetTrigger:()=>c});var s=a(5155),r=a(2115),l=a(7283),i=a(3101),n=a(6615),o=a(4269);let d=l.bL,c=l.l9,m=l.bm,h=l.ZL,p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.hJ,{className:(0,o.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),...r,ref:t})});p.displayName=l.hJ.displayName;let u=(0,i.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),x=r.forwardRef((e,t)=>{let{side:a="right",className:r,children:i,...d}=e;return(0,s.jsxs)(h,{children:[(0,s.jsx)(p,{}),(0,s.jsxs)(l.UC,{ref:t,className:(0,o.cn)(u({side:a}),r),...d,children:[i,(0,s.jsxs)(l.bm,{className:"absolute right-4 top-4 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-primary text-primary-foreground opacity-100 shadow-[0_0_20px_rgba(0,0,0,0.4)] ring-offset-background transition-all hover:scale-110 hover:bg-primary/90 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none border-2 border-white",children:[(0,s.jsx)(n.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=l.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};f.displayName="SheetHeader";let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold text-foreground",a),...r})});g.displayName="SheetTitle";let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",a),...r})});b.displayName="SheetDescription"},7827:(e,t,a)=>{"use strict";a.d(t,{default:()=>et});var s=a(5155),r=a(5239),l=a(1330),i=a(3842),n=a(5897),o=a(7314),d=a(817),c=a(639),m=a(1255),h=a(2770),p=a(3173),u=a(2619),x=a.n(u),f=a(4269),g=a(1647),b=a(3998),v=a(6948),j=a(4003),w=a(6943),N=a(9175),y=a(7063),k=a(2115),_=a(4640),S=a(9729),A=a(6065),C=a(1982),R=a(2925),T=a(3174),I=a(2193);let L="https://placehold.co/600x400/e2e8f0/64748b?text=Map+not+available";function z(e,t){let a=t||"AIzaSyBDG0v5M2NG2zASJTyBdBFOilxxhWcn2Sc",s=e.latitude,r=e.longitude,l=null!=s&&""!==String(s).trim()&&null!=r&&""!==String(r).trim();if(!a||"YOUR_API_KEY_HERE"===a||""===a.trim()||!l)return L;let i=new URLSearchParams({center:"".concat(s,",").concat(r),zoom:"15",size:"600x400",maptype:"roadmap",markers:"color:red|".concat(s,",").concat(r),key:a.trim()});
1return"https://maps.googleapis.com/maps/api/staticmap?".concat(i.toString())}let H=e=>{let{address:t,apiKey:a}=e,[l,i]=(0,k.useState)(()=>z(t,a));(0,k.useEffect)(()=>{i(z(t,a))},[t,a]);let n="https://www.google.com/maps/place/".concat(t.latitude,",").concat(t.longitude);return(0,s.jsxs)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"block relative w-full h-full group",title:"Open in Google Maps",children:[(0,s.jsx)(r.default,{src:l,alt:"Map of ".concat(t.street),fill:!0,unoptimized:!0,className:"object-cover transition-opacity duration-300 group-hover:opacity-90","data-ai-hint":"address map",onError:()=>{l!==L&&i(L)}}),(0,s.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors flex items-center justify-center pointer-events-none",children:(0,s.jsx)("div",{className:"bg-primary/90 p-2 rounded-full opacity-0 group-hover:opacity-100 transition-opacity transform scale-75 group-hover:scale-100 duration-300 shadow-lg",children:(0,s.jsx)(c.A,{className:"text-white h-5 w-5"})})})]})};function U(e){let{icon:t,label:a,count:r}=e;return(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3 px-5 sm:px-6",children:[(0,s.jsxs)("h4",{className:"flex items-center gap-2 font-headline text-lg font-bold",children:[(0,s.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-primary/10 text-primary",children:(0,s.jsx)(t,{className:"h-4 w-4"})}),a]}),void 0!==r&&(0,s.jsx)(g.E,{variant:"outline",className:"shrink-0",children:r})]})}function E(e){var t,a,l;let{locations:n,postImageUrls:o=[],apiKey:d}=e,[m,h]=(0,k.useState)(!1),[p,u]=(0,k.useState)(0),{isAdmin:v}=(0,I.useUser)();
1if(!n||0===n.length)return null;let y=n[0],L="http://dev.iamnotastalker.com/locations/".concat(y.id);return(0,s.jsxs)("div",{className:"bg-background text-foreground",children:[y.image_url?(0,s.jsxs)("div",{className:"relative min-h-[330px] w-full overflow-hidden",children:[(0,s.jsx)(r.default,{src:y.image_url,alt:y.title,fill:!0,className:"object-cover","data-ai-hint":"location image"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/45 to-black/15"}),v&&(0,s.jsxs)("a",{href:L,target:"_blank",rel:"noopener noreferrer",className:"absolute top-4 left-4 z-20 flex items-center gap-2 bg-white/10 hover:bg-white/20 backdrop-blur-md text-white border border-white/20 px-3 py-1.5 rounded-full text-[10px] font-bold uppercase tracking-wider transition-all shadow-xl",children:[(0,s.jsx)(_.A,{className:"h-3.5 w-3.5"}),"EDIT"]}),(0,s.jsxs)("div",{className:"absolute inset-x-0 bottom-0 p-5 sm:p-6",children:[(0,s.jsxs)(g.E,{variant:"outline",className:"mb-4 border-white/30 bg-white/10 text-white backdrop-blur-md",children:[(0,s.jsx)(S.A,{className:"mr-1.5 h-3.5 w-3.5"}),"Location details"]}),(0,s.jsx)("h3",{className:"font-headline text-3xl font-extrabold leading-tight text-white sm:text-4xl",children:y.title})]})]}):(0,s.jsxs)("div",{className:"border-b bg-card p-5 sm:p-6",children:[v&&(0,s.jsx)(b.$,{asChild:!0,variant:"outline",size:"sm",className:"mb-4 gap-2",children:(0,s.jsxs)("a",{href:L,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(_.A,{className:"h-4 w-4"}),"EDIT"]})}),(0,s.jsxs)(g.E,{variant:"outline",className:"mb-4 border-primary/30 bg-primary/5 text-primary",children:[(0,s.jsx)(S.A,{className:"mr-1.5 h-3.5 w-3.5"}),"Location details"]}),(0,s.jsx)("h3",{className:"font-headline text-3xl font-extrabold leading-tight",children:y.title})]}),(0,s.jsx)("div",{className:"bg-card p-5 pb-4 sm:p-6 sm:pb-5",children:y.description&&(0,s.jsxs)("section",{children:[(0,s.jsxs)("h4",{className:"mb-4 flex items-center gap-2 font-headline text-lg font-bold",children:[(0,s.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-primary/10 text-primary",children:(0,s.jsx)(A.A,{className:"h-4 w-4"})}),"Stalk It"]}),(0,s.jsx)(i.default,{html:y.description,className:"max-w-none text-sm leading-7"})]})}),(0,s.jsxs)("div",{className:"space-y-7 py-6",children:[o&&o.length>0&&(0,s.jsxs)("section",{children:[(0,s.jsx)(U,{icon:C.A,label:"Photos",count:o.length}),(0,s.jsx)("div",{className:"overflow-x-auto pb-4 horizontal-scrollbar",children:(0,s.jsx)("div",{className:"px-5 sm:px-6 flex gap-3",children:o.map((e,t)=>(0,s.jsx)("button",{className:"w-44 flex-shrink-0 cursor-zoom-in text-left",onClick:()=>{u(t),h(!0)},children:(0,s.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-lg border bg-muted shadow-sm transition-colors hover:border-primary",children:(0,s.jsx)(r.default,{src:e,alt:"Post image ".concat(t+1),fill:!0,className:"object-cover","data-ai-hint":"post photo"})})},t))})})]}),y.addresses&&y.addresses.length>0&&(0,s.jsxs)("section",{children:[(0,s.jsx)(U,{icon:c.A,label:"Addresses",count:y.addresses.length}),(0,s.jsx)("div",{className:"overflow-x-auto pb-4 horizontal-scrollbar",children:(0,s.jsx)("div",{className:"px-5 sm:px-6 flex gap-3",children:y.addresses.map(e=>(0,s.jsxs)("div",{className:"w-72 flex-shrink-0 overflow-hidden rounded-lg border bg-card shadow-sm",children:[(0,s.jsx)("div",{className:"relative aspect-video bg-muted",children:(0,s.jsx)(H,{address:e,apiKey:d})}),(0,s.jsxs)("div",{className:"p-4 text-sm",children:[(0,s.jsx)("p",{className:"font-bold",children:e.street}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-1",children:[e.city,", ",e.state," ",e.zip_code]}),(0,s.jsxs)("a",{href:"https://www.google.com/maps/place/".concat(e.latitude,",").concat(e.longitude),target:"_blank",rel:"noopener noreferrer",className:"mt-3 inline-flex items-center gap-1 text-xs font-bold uppercase text-primary transition-colors hover:text-primary/80",children:["Open map",(0,s.jsx)(R.A,{className:"h-3 w-3"})]})]})]},e.id))})})]}),(null==(t=y.movies)?void 0:t.length)>0&&(0,s.jsxs)("section",{children:[(0,s.jsx)(U,{icon:j.A,label:"Movies",count:y.movies.length}),(0,s.jsx)("div",{className:"overflow-x-auto pb-4 horizontal-scrollbar",children:(0,s.jsx)("div",{className:"px-5 sm:px-6 flex gap-4",children:y.movies.map(e=>{let t=encodeURIComponent(e.name.toLowerCase().replace(/\s+/g,"-")),a=(0,f.g_)(e);return(0,s.jsxs)(x(),{href:"/movie/".concat(e.tmdb_id,"/").concat(t),className:"group block w-28 flex-shrink-0",children:[(0,s.jsx)("div",{className:"relative aspect-[2/3] overflow-hidden rounded-lg border bg-muted shadow-sm transition-transform duration-300 group-hover:scale-[1.03]",children:a?(0,s.jsx)(r.default,{src:(0,f.qI)(a),alt:e.name,fill:!0,className:"object-cover","data-ai-hint":"mov
1ie poster"}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-muted text-muted-foreground",children:(0,s.jsx)(j.A,{className:"h-8 w-8"})})}),(0,s.jsx)("div",{className:"mt-2 text-center",children:(0,s.jsxs)("p",{className:"font-semibold text-foreground text-xs whitespace-normal transition-colors group-hover:text-primary",title:"".concat(e.name).concat(e.year?" (".concat(e.year,")"):""),children:[e.name," ",e.year?"(".concat(e.year,")"):""]})})]},e.tmdb_id)})})})]}),(null==(a=y.tvshows)?void 0:a.length)>0&&(0,s.jsxs)("section",{children:[(0,s.jsx)(U,{icon:N.A,label:"TV Shows",count:y.tvshows.length}),(0,s.jsx)("div",{className:"overflow-x-auto pb-4 horizontal-scrollbar",children:(0,s.jsx)("div",{className:"px-5 sm:px-6 flex gap-4",children:y.tvshows.map(e=>{let t=encodeURIComponent(e.name.toLowerCase().replace(/\s+/g,"-")),a=(0,f.g_)(e);return(0,s.jsxs)(x(),{href:"/tvshow/".concat(e.tmdb_id,"/").concat(t),className:"group block w-28 flex-shrink-0",children:[(0,s.jsx)("div",{className:"relative aspect-[2/3] overflow-hidden rounded-lg border bg-muted shadow-sm transition-transform duration-300 group-hover:scale-[1.03]",children:a?(0,s.jsx)(r.default,{src:(0,f.qI)(a),alt:e.name,fill:!0,className:"object-cover","data-ai-hint":"tv show poster"}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-muted text-muted-foreground",children:(0,s.jsx)(N.A,{className:"h-8 w-8"})})}),(0,s.jsx)("div",{className:"mt-2 text-center",children:(0,s.jsx)("p",{className:"font-semibold text-foreground text-xs whitespace-normal transition-colors group-hover:text-primary",title:e.name,children:e.name})})]},e.tmdb_id)})})})]}),(null==(l=y.people)?void 0:l.length)>0&&(0,s.jsxs)("section",{children:[(0,s.jsx)(U,{icon:w.A,label:"Actors",count:y.people.length}),(0,s.jsx)("div",{className:"overflow-x-auto pb-4 horizontal-scrollbar",children:(0,s.jsx)("div",{className:"px-5 sm:px-6 flex gap-4",children:y.people.map(e=>{let t=encodeURIComponent(e.name.toLowerCase().replace(/\s+/g,"-")),a=(0,f.g_)(e);return(0,s.jsxs)(x(),{href:"/person/".concat(e.tmdb_id,"/").concat(t),className:"group block w-28 flex-shrink-0",children:[(0,s.jsx)("div",{className:"relative aspect-square overflow-hidden rounded-full border bg-muted shadow-sm transition-transform duration-300 group-hover:scale-[1.03]",children:a?(0,s.jsx)(r.default,{src:(0,f.qI)(a),alt:e.name,fill:!0,className:"object-cover","data-ai-hint":"actor headshot"}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-muted text-muted-foreground",children:(0,s.jsx)(w.A,{className:"h-8 w-8"})})}),(0,s.jsx)("div",{className:"mt-2 text-center",children:(0,s.jsx)("p",{className:"font-semibold text-foreground text-xs whitespace-normal transition-colors group-hover:text-primary",title:e.name,children:e.name})})]},e.tmdb_id)})})})]})]}),(0,s.jsx)(T.A,{images:o,currentIndex:p,isOpen:m,onClose:()=>h(!1),onIndexChange:u})]})}var M=a(3387),P=a(6429);function B(e){let{locations:t,postImageUrls:a,apiKey:r,detailsTriggerId:l}=e,{ref:i,inView:n}=(0,P.Wx)({threshold:0,initialInView:!0});if(!t||0===t.length)return null;let o=t.reduce((e,t)=>{var a;return e+((null==(a=t.addresses)?void 0:a.length)||0)},0),d=t.reduce((e,t)=>{var a;return e+((null==(a=t.movies)?void 0:a.length)||0)},0),m=t.reduce((e,t)=>{var a;return e+((null==(a=t.people)?void 0:a.length)||0)},0),h=t.reduce((e,t)=>{var a;return e+((null==(a=t.tvshows)?void 0:a.length)||0)},0),p=[{name:"Addresses",count:o,icon:c.A},{name:"Movies",count:d,icon:j.A},{name:"Actors",count:m,icon:w.A},{name:"TV Shows",count:h,icon:N.A}].filter(e=>e.count>0);if(0===p.length)return null;let u=e=>{var a;(0,M.f)("view_location_details",{location_name:(null==(a=t[0])?void 0:a.title)||"Unknown Location",stat_type:e||"general",is_sticky:null!=e&&!!e.includes("Sticky")})};return(0,s.jsxs)(y.Sheet,{children:[l&&(0,s.jsx)(y.SheetTrigger,{asChild:!0,onClick:()=>u("Hero Address Chip"),children:(0,s.jsx)("button",{id:l,type:"button",className:"hidden",children:"Open location details"})}),(0,s.jsx)("section",{className:"relative mb-10",ref:i,children:(0,s.jsx)(v.Zp,{className:"rounded-lg border bg-muted/30 shadow-none",children:(0,s.jsxs)(v.Wu,{className:"p-4 sm:p-5",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between px-1",children:[(0,s.jsx)("h3",{className:"text-[10px] font-bold uppercase text-muted-foreground",children:"Location intel"}),(0,s.jsx)(y.SheetTrigger,{asChild:!0,onClick:()=>u("Details Header"),children:(0,s.jsx)("button",{className:"text-[10px] font-bold uppercase text-primary transition-colors hover:text-primary/80",children:"View details"})})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-4",children:p.map(e=>(0,s.jsx)(y.SheetTrigger,{asChild:!0,onClick:()=>u(e.name),children:(0,s.jsxs)("button",{className:"group flex cursor-pointer flex-col items-center justify-center rounded-md border bg-card p-3 text-center transition-colors hover:bg-accent focus:outline-none focus:ring-2 focus:ring-primary/20",children:[(0,s.jsx)(e.icon,{className:"mb-1 h-5 w-5 text-primary transition-transform group-hover:scale-110"}),(0,s.jsx)("p",{className:"font-headline text-xl font-bold text-foreground",children:e.count}),(0,s.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:e.name})]})},e.name))})]})})}),(0,s.jsx)("div",{className:(0,f.cn)("fixed left-1/2 -translate-x-1/2 z-40 transition-all duration-500 ease-in-out w-[90vw] max-w-md bottom-6 md:bottom-auto md:top-24",n?"translate-y-20 md:-translate-y-20 opacity-0 pointer-events-none":"translate-y-0 opacity-100"),children:(0,s.jsxs)("div",{className:"flex items-center justify-around rounded-full border border-primary/20 bg-background/90 p-2 shadow-2xl backdrop-blur-lg",children:[p.map(e=>(0,s.jsx)(y.SheetTrigger,{asChild:!0,onClick:()=>u("Sticky ".concat(e.name)),children:(0,s.jsxs)("button",{className:"group flex flex-col items-center justify-center rounded-full px-3 py-1 transition-colors hover:bg-primary/5",children:[(0,s.jsx)(e.icon,{className:"h-4 w-4 text-primary transition-transform group-hover:scale-110"}),(0,s.jsx)("span",{className:"mt-0.5 text-[10px] font-bold",children:e.count})]})},"sticky-".concat(e.name))),(0,s.jsx)("div",{className:"mx-2 h-8 w-px bg-border"}),(0,s.jsx)(y.SheetTrigger,{asChild:!0,onClick:()=>u("Sticky Details Button"),children:(0,s.jsx)("button",{className:"rounded-full bg-primary px-4 py-2 text-[10px] font-bold uppercase text-primary-foreground shadow-md transition-all hover:bg-primary/90",children:"Details"})})]})}),(0,s.jsxs)(y.SheetContent,{className:"w-[calc(100vw-2rem)] overflow-y-auto p-0 sm:max-w-[560px]",side:"left",children:[(0,s.jsx)(y.SheetTitle,{className:"sr-only",children:"Location Details"}),(0,s.jsx)(E,{locations:t,postImageUrls:a,apiKey:r})]})]})}
1var F=a(2801),D=a(7974),Z=a(6713),W=a(5894),q=a(3381),O=a(63);function V(){let e=(0,O.useRouter)(),[t,a]=k.useState(!1),{toast:r}=(0,W.dj)();return(0,s.jsxs)(b.$,{variant:"outline",size:"sm",className:"rounded-full bg-white/10 border-white/20 text-white/80 hover:bg-white/20 hover:text-white transition-all uppercase font-bold text-[10px] tracking-widest px-6 h-8",onClick:()=>{a(!0);let t=new URLSearchParams(window.location.search);t.set("refresh","post"),t.set("t",Date.now().toString()),e.replace("".concat(window.location.pathname,"?").concat(t.toString()),{scroll:!1}),r({title:"Refreshing Post Data",description:"Fetching the latest content from WordPress and the Locations API."}),setTimeout(()=>{a(!1);let t=new URLSearchParams(window.location.search);t.delete("refresh"),t.delete("t"),e.replace("".concat(window.location.pathname),{scroll:!1})},2e3)},disabled:t,children:[(0,s.jsx)(q.A,{className:(0,f.cn)("h-3.5 w-3.5 mr-2 transition-all duration-500",t&&"animate-spin")}),t?"REFRESHING...":"REFRESH"]})}let $=e=>(0,s.jsx)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:(0,s.jsx)("path",{d:"M12 0C5.373 0 0 5.373 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.027-.655 2.56-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.737-7.252 7.86-7.252 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z"})});function G(e){var t,a,r;let{post:l}=e,[i,n]=(0,k.useState)(""),{toast:o}=(0,W.dj)(),{isAdmin:d}=(0,I.useUser)();if((0,k.useEffect)(()=>{n("".concat(window.location.origin).concat(l.link))},[l.link]),!l||!i)return null;let c=(0,f.jT)((0,f.bS)(l.title.rendered)),m=encodeURIComponent(i),h=encodeURIComponent(c),p=null==(r=l._embedded)||null==(a=r["wp:featuredmedia"])||null==(t=a[0])?void 0:t.source_url,u=p?encodeURIComponent(p):"",x=[{name:"Facebook",url:"https://www.facebook.com/sharer/sharer.php?u=".concat(m),icon:(0,s.jsx)(F.A,{})},{name:"Pinterest",url:"https://pinterest.com/pin/create/button/?url=".concat(m,"&media=").concat(u,"&description=").concat(h),icon:(0,s.jsx)($,{})},{name:"Email",url:"mailto:?subject=".concat(h,"&body=Check out this article: ").concat(i),icon:(0,s.jsx)(D.A,{})}];return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-white/80 mr-2",children:"Share:"}),x.map(e=>(0,s.jsx)(b.$,{asChild:!0,variant:"outline",size:"icon",className:"rounded-full bg-white/10 border-white/50 text-white/80 hover:bg-white/20 hover:text-white",onClick:()=>{var t;return t=e.name,void(0,M.f)("share",{method:t,content_id:c})},children:(0,s.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":"Share on ".concat(e.name),children:e.icon})},e.name)),(0,s.jsx)(b.$,{variant:"outline",size:"icon",className:"rounded-full bg-white/10 border-white/50 text-white/80 hover:bg-white/20 hover:text-white",onClick:()=>{navigator.clipboard.writeText(i).then(()=>{(0,M.f)("share",{method:"copy_link",content_id:c}),o({title:"Link Copied!",description:"The link to this post has been copied to your clipboard."})})},"aria-label":"Copy link",children:(0,s.jsx)(Z.A,{})})]}),d&&(0,s.jsxs)("div",{className:"flex flex-wrap justify-center gap-2",children:[(0,s.jsx)(b.$,{asChild:!0,variant:"outline",size:"sm",className:"rounded-full bg-white/10 border-white/20 text-white/80 hover:bg-white/20 hover:text-white transition-all uppercase font-bold text-[10px] tracking-widest px-6 h-8",children:(0,s.jsxs)("a",{href:"https://wp.iamnotastalker.com/wp-admin/post.php?post=".concat(l.id,"&action=edit"),target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(_.A,{className:"h-3.5 w-3.5 mr-2"}),"EDIT"]})}),(0,s.jsx)(V,{})]})]})}var K=a(926);let J=(0,K.createServerReference)("7010c74c57b39130ae1395f0e9f8331d3e683715ce",K.callServer,void 0,K.findSourceMapURL,"getMorePostsForSidebar");function Y(e){let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,f.cn)("animate-pulse rounded-md bg-muted",t),...a})}let Q=()=>(0,s.jsxs)(v.Zp,{className:"h-full overflow-hidden rounded-lg",children:[(0,s.jsx)("div",{className:"aspect-video w-full bg-muted animate-pulse"}),(0,s.jsx)(v.aR,{className:"p-4",children:(0,s.jsx)(Y,{className:"h-5 w-3/4"})}),(0,s.jsxs)(v.Wu,{className:"p-4 pt-0",children:[(0,s.jsx)(Y,{className:"h-3 w-full"}),(0,s.jsx)(Y,{className:"h-3 w-5/6 mt-2"})]})]});function X(e){let{categoryId:t,excludePostId:a}
1=e,[l,i]=(0,k.useState)([]),[n,o]=(0,k.useState)(!0),d=(0,k.useCallback)(async()=>{o(!0);try{let e=await J(t,a);i(e)}catch(e){console.error("Failed to fetch more posts:",e)}finally{o(!1)}},[t,a]);return(0,k.useEffect)(()=>{t&&d()},[t,d]),(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"mb-5",children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-xs font-semibold uppercase text-primary",children:[(0,s.jsx)(p.A,{className:"h-4 w-4"}),"Keep reading"]}),(0,s.jsx)("h2",{className:"font-headline text-xl font-bold tracking-tight",children:"More from this category"})]}),(0,s.jsx)("div",{className:"flex min-h-[500px] flex-col gap-4",children:n?Array.from({length:3}).map((e,t)=>(0,s.jsx)(Q,{},t)):l.length>0?l.map(e=>{var t,a,l;return(0,s.jsx)(x(),{href:e.link,className:"block group",children:(0,s.jsxs)(v.Zp,{className:"h-full overflow-hidden rounded-lg transition-all duration-300 hover:-translate-y-1 hover:border-primary/40 hover:shadow-md",children:[(null==(l=e._embedded)||null==(a=l["wp:featuredmedia"])||null==(t=a[0])?void 0:t.source_url)&&(0,s.jsx)("div",{className:"relative aspect-video overflow-hidden",children:(0,s.jsx)(r.default,{src:e._embedded["wp:featuredmedia"][0].source_url,alt:e._embedded["wp:featuredmedia"][0].alt_text||(0,f.jT)((0,f.bS)(e.title.rendered)),fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, 300px","data-ai-hint":"article thumbnail"})}),(0,s.jsx)(v.aR,{className:"p-4 pb-2",children:(0,s.jsx)(v.ZB,{className:"font-headline text-base leading-tight transition-colors group-hover:text-primary",dangerouslySetInnerHTML:{__html:e.title.rendered}})}),(0,s.jsx)(v.Wu,{className:"p-4 pt-0",children:(0,s.jsx)("div",{className:"line-clamp-2 text-xs text-muted-foreground",dangerouslySetInnerHTML:{__html:e.excerpt.rendered}})})]})},e.id)}):(0,s.jsx)("div",{className:"rounded-lg border border-dashed bg-muted/30 py-10 text-center",children:(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"No more posts found."})})})]})}let ee=JSON.parse('{"o":[{"id":"app-hero","description":"App landing page hero background","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/hero-real-filming-locations-mapped-and-told-app-screen.png","imageHint":"app screen"},{"id":"app-feature-discover","description":"Discover feature mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/section-discover-from-the-archive-sage.png","imageHint":"vintage cinema"},{"id":"app-feature-map","description":"Map feature mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/section-find-whats-near-you-blue.png","imageHint":"city map"},{"id":"app-feature-details","description":"Location details mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/section-learn-the-full-story-lavender.png","imageHint":"camera lens"},{"id":"app-feature-search","description":"App search screenshot mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/card-search-anything-4x3-blush.png","imageHint":"movie search"},{"id":"app-feature-save","description":"App save favorites screenshot mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/card-save-for-later-4x3-blush.png","imageHint":"heart favorites"},{"id":"app-feature-regions","description":"Browse regions screenshot mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/card-browse-cities-regions-4x3-blush.png","imageHint":"california coast"},{"id":"app-feature-production","description":"Follow production screenshot mockup","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/card-follow-movie-to-map-4x3-blush.png","imageHint":"movie map"},{"id":"app-sidebar-promo","description":"Companion app sidebar promotion image","imageUrl":"https://wp.iamnotastalker.com/wp-content/uploads/2026/08/companion-app-sidebar-promo-rose.png","imageHint":"mobile app"}]}').o;function et(e){var t,a,u,j,w,N;let{post:y,locations:k}=e,_=null==(t=y._embedded)?void 0:t.author[0],S=null==(u=y._embedded)||null==(a=u["wp:featuredmedia"])?void 0:a[0],A=null!=(N=null==(j=y._embedded)?void 0:j["wp:term"])?N:[],C=A.flat().filter(e=>"category"===e.taxonomy&&"uncategorized"!==e.slug)[0],R=A.flat().filter(e=>"post_tag"===e.taxonomy),T=k.reduce((e,t)=>
1{var a;return e+((null==(a=t.addresses)?void 0:a.length)||0)},0),I="location-details-trigger-".concat(y.id),L=y.content.rendered.replace(/^\s*(<p>\s*(?:&#8216;|‘|{‘})\s*<\/p>\s*|(?:&#8216;|‘|{‘}))\s*/,"");if(null==S?void 0:S.source_url){let e=S.source_url.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),t=RegExp('<figure[^>]*>[\\s\\S]*?<img[^>]*src="'.concat(e,'"[^>]*>[\\s\\S]*?<\\/figure>'),"i");L=L.replace(t,"")}let z=(e=>{let t;if(!e)return[];let a=[],s=/<img[^>]+src="([^">]+)"/g;for(;null!==(t=s.exec(e));)a.push(t[1]);return a.filter(e=>!/\.(png|webp)(\?.*)?$/i.test(e))})((0,f.qL)(L)),H=/<img[^>]*src="[^"]+\.(png|webp)[^"]*"/i,U=L.replace(/<figure[^>]*>[\s\S]*?<\/figure>/gi,e=>H.test(e)?"":e),E=(0,f.qL)(U),P=ee.find(e=>"app-sidebar-promo"===e.id);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("article",{children:[(0,s.jsxs)("header",{className:"relative flex min-h-[60vh] items-center border-b bg-card py-20 text-white md:min-h-[80vh]",children:[S&&(0,s.jsx)(r.default,{src:S.source_url,alt:S.alt_text||(0,f.jT)((0,f.bS)(y.title.rendered)),fill:!0,priority:!0,className:"object-cover","data-ai-hint":"article header"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/45 to-black/10"}),(0,s.jsxs)("div",{className:"relative z-10 container mx-auto flex flex-col items-center px-4 text-center sm:px-6 lg:px-8",children:[C&&(0,s.jsx)("div",{className:"mb-5",children:(0,s.jsx)(x(),{href:C.link,className:"inline-flex items-center rounded-full border border-white/30 bg-white/10 px-3 py-1 text-xs font-semibold text-white/90 backdrop-blur transition-colors hover:bg-white/20",children:(0,f.jT)(C.name)})}),(0,s.jsx)("h1",{className:"mx-auto max-w-5xl font-headline text-4xl font-extrabold leading-none tracking-tight md:text-6xl",dangerouslySetInnerHTML:{__html:y.title.rendered}}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-3 text-sm text-white/85",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-full border border-white/20 bg-black/20 py-1.5 pl-1.5 pr-4 backdrop-blur",children:[_&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.eu,{className:"h-8 w-8 border border-white/20",children:[(0,s.jsx)(n.BK,{src:null==(w=_.avatar_urls)?void 0:w["48"],alt:_.name}),(0,s.jsx)(n.q5,{children:(0,s.jsx)(o.A,{className:"h-4 w-4"})})]}),(0,s.jsx)("span",{children:_.name})]}),(0,s.jsx)("span",{className:"hidden h-4 w-px bg-white/20 sm:block"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(d.A,{className:"h-4 w-4"}),(0,s.jsx)("time",{dateTime:y.date,children:(0,l.GP)(new Date(y.date),"MMMM d, yyyy")})]})]}),T>0&&(0,s.jsxs)("button",{type:"button",onClick:()=>{var e;null==(e=document.getElementById(I))||e.click()},className:"flex items-center gap-2 rounded-full border border-white/20 bg-black/20 px-4 py-2 backdrop-blur transition-colors hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-white/50",children:[(0,s.jsx)(c.A,{className:"h-4 w-4"}),(0,s.jsxs)("span",{children:[T," address",1===T?"":"es"]})]})]}),(0,s.jsx)("div",{className:"mt-8 flex justify-center",children:(0,s.jsx)(G,{post:y})}),R.length>0&&(0,s.jsxs)("div",{className:"mt-6 flex max-w-4xl flex-wrap items-center justify-center gap-2",children:[(0,s.jsx)(m.A,{className:"h-4 w-4 text-white/60"}),R.map(e=>(0,s.jsx)(x(),{href:e.link,children:(0,s.jsx)(g.E,{variant:"outline",className:"border-white/40 bg-black/10 text-sm text-white/80 backdrop-blur transition-colors hover:bg-white/10",children:(0,f.jT)(e.name)})},e.id))]})]})]}),(0,s.jsx)("div",{className:"container mx-auto px-4 py-10 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-10 lg:grid-cols-[minmax(0,1fr)_360px]",children:[(0,s.jsx)("div",{className:"min-w-0",children:(0,s.jsxs)("div",{className:"rounded-lg border bg-card p-5 text-card-foreground shadow-sm md:p-10",children:[(0,s.jsx)(B,{locations:k,postImageUrls:z,apiKey:"AIzaSyBDG0v5M2NG2zASJTyBdBFOilxxhWcn2Sc",detailsTriggerId:I}),(0,s.jsx)(i.default,{html:E,className:"max-w-none",images:z}),(0,s.jsxs)("div",{className:"mt-12 border-t border-border/50 pt-8 text-right font-mono text-[10px] text-muted-foreground
1/50",children:["STALK_ID: ",y.id]})]})}),(0,s.jsx)("aside",{children:(0,s.jsxs)("div",{className:"lg:sticky lg:top-24 max-h-[calc(100vh-6rem)] overflow-y-auto pb-12",children:[(0,s.jsxs)(v.Zp,{className:"group mb-10 flex flex-col overflow-hidden rounded-lg border-primary/20 bg-primary/5 shadow-sm transition-all hover:border-primary/40",children:[(0,s.jsx)("div",{className:"relative aspect-video w-full overflow-hidden border-b border-primary/10",children:P&&(0,s.jsx)(r.default,{src:P.imageUrl,alt:"Companion App Preview",fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105","data-ai-hint":P.imageHint})}),(0,s.jsxs)(v.aR,{className:"p-5 pb-2",children:[(0,s.jsxs)("div",{className:"mb-3 flex items-center gap-3 text-primary",children:[(0,s.jsx)("div",{className:"rounded-md bg-primary/10 p-2",children:(0,s.jsx)(h.A,{className:"h-5 w-5"})}),(0,s.jsx)("span",{className:"text-[10px] font-bold uppercase",children:"Companion App"})]}),(0,s.jsx)(v.ZB,{className:"font-headline text-xl font-bold leading-tight transition-colors group-hover:text-primary",children:"Real filming locations, mapped and told."})]}),(0,s.jsxs)(v.Wu,{className:"p-5 pt-2",children:[(0,s.jsx)("p",{className:"mb-6 text-xs leading-relaxed text-muted-foreground",children:"Take the archive with you. Download the app to discover cinematic stories near you."}),(0,s.jsx)(b.$,{asChild:!0,className:"h-10 w-full text-[10px] font-bold uppercase shadow-md transition-transform group-hover:scale-[1.02]",onClick:()=>{(0,M.f)("companion_app_promo_click",{location:"post_sidebar",post_id:y.id,post_title:(0,f.jT)((0,f.bS)(y.title.rendered))})},children:(0,s.jsxs)(x(),{href:"/app",children:["Learn More",(0,s.jsx)(p.A,{className:"ml-2 h-3 w-3"})]})})]})]}),C&&(0,s.jsx)(X,{categoryId:C.id,excludePostId:y.id})]})})]})})]})})}},7882:(e,t,a)=>{"use strict";a.d(t,{R:()=>u});var s=a(5155),r=a(2619),l=a.n(r),i=a(5239),n=a(6948),o=a(4269),d=a(1647),c=a(639),m=a(4003),h=a(9175),p=a(7314);let u=e=>{var t,a,r,u,x,f,g,b,v,j,w,N,y,k,_,S,A,C,R,T,I,L,z,H,U,E,M,P,B;let{post:F,className:D,variant:Z="default",locations:W}=e;if(!F)return null;let q=(null!=(v=null==(t=F._embedded)?void 0:t["wp:term"])?v:[]).flat().filter(e=>"post_tag"===e.taxonomy),O=null==D?void 0:D.includes("sm:col-span-2");if("featured"===Z){let e=null==W?void 0:W[0],t=(null==e||null==(j=e.addresses)?void 0:j.find(e=>e.is_primary))||(null==e||null==(w=e.addresses)?void 0:w[0]),a=null!=(I=null==e||null==(N=e.movies)?void 0:N.slice(0,3))?I:[],r=null!=(L=null==e||null==(y=e.tvshows)?void 0:y.slice(0,3))?L:[],d=null!=(z=null==e||null==(k=e.people)?void 0:k.slice(0,3))?z:[];return(0,s.jsxs)(n.Zp,{className:(0,o.cn)("overflow-hidden rounded-xl transition-all duration-300 hover:shadow-lg hover:-translate-y-1 relative h-full group",D),children:[(null==(A=F._embedded)||null==(S=A["wp:featuredmedia"])||null==(_=S[0])?void 0:_.source_url)&&(0,s.jsx)(i.default,{src:F._embedded["wp:featuredmedia"][0].source_url,alt:F._embedded["wp:featuredmedia"][0].alt_text||(0,o.jT)((0,o.bS)((null==(C=F.title)?void 0:C.rendered)||"")),fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-105","data-ai-hint":"post image"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),(0,s.jsxs)("div",{className:"relative z-10 flex h-full flex-col justify-end p-4 text-white",children:[(0,s.jsx)(n.ZB,{className:"font-headline text-lg leading-tight",dangerouslySetInnerHTML:{__html:(null==(R=F.title)?void 0:R.rendered)||""}}),t&&(0,s.jsxs)("div",{className:"mt-2 flex items-center gap-2 text-xs text-white/80",children:[(0,s.jsx)(c.A,{className:"h-3 w-3 shrink-0"}),(0,s.jsxs)("p",{className:"truncate",children:[t.street,", ",t.city]})]}),(0,s.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-xs text-white/80",children:[a.length>0&&(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(m.A,{className:"h-3 w-3 shrink-0"}),(0,s.jsx)("div",{className:"flex -space-x-2 overflow-hidden",children:a.map(e=>{let t=(0,o.g_)(e);return t?(0,s.jsx)(i.default,{src:(0,o.qI)(t),alt:e.name,width:20,height:20,className:"inline-block h-5 w-5 rounded-md ring-2 ring-black/50 object-cover"},e.tmdb_id):null})})]}),r.length>0&&(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(h.A,{className:"h-3 w-3 shrink-0"}
1),(0,s.jsx)("div",{className:"flex -space-x-2 overflow-hidden",children:r.map(e=>{let t=(0,o.g_)(e);return t?(0,s.jsx)(i.default,{src:(0,o.qI)(t),alt:e.name,width:20,height:20,className:"inline-block h-5 w-5 rounded-md ring-2 ring-black/50 object-cover"},e.tmdb_id):null})})]}),d.length>0&&(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(p.A,{className:"h-3 w-3 shrink-0"}),(0,s.jsx)("div",{className:"flex -space-x-2 overflow-hidden",children:d.map(e=>{let t=(0,o.g_)(e);return t?(0,s.jsx)(i.default,{src:(0,o.qI)(t),alt:e.name,width:20,height:20,className:"inline-block h-5 w-5 rounded-full ring-2 ring-black/50 object-cover"},e.tmdb_id):null})})]})]})]}),(0,s.jsx)(l(),{href:F.link||"/",className:"absolute inset-0 z-20","aria-label":"Read more about ".concat((0,o.jT)((0,o.bS)((null==(T=F.title)?void 0:T.rendered)||"")))})]})}return"compact"===Z?(0,s.jsxs)(n.Zp,{className:(0,o.cn)("overflow-hidden rounded-xl transition-all duration-300 hover:shadow-lg hover:-translate-y-1 relative flex flex-col",D),children:[(null==(E=F._embedded)||null==(U=E["wp:featuredmedia"])||null==(H=U[0])?void 0:H.source_url)&&(0,s.jsx)("div",{className:"aspect-video relative overflow-hidden",children:(0,s.jsx)(i.default,{src:F._embedded["wp:featuredmedia"][0].source_url,alt:F._embedded["wp:featuredmedia"][0].alt_text||(0,o.jT)((0,o.bS)((null==(M=F.title)?void 0:M.rendered)||"")),fill:!0,className:"object-cover","data-ai-hint":"post image"})}),(0,s.jsx)(n.aR,{children:(0,s.jsx)(n.ZB,{className:"font-headline text-lg leading-tight",dangerouslySetInnerHTML:{__html:(null==(P=F.title)?void 0:P.rendered)||""}})}),(0,s.jsx)(l(),{href:F.link||"/",className:"absolute inset-0 z-10","aria-label":"Read more about ".concat((0,o.jT)((0,o.bS)((null==(B=F.title)?void 0:B.rendered)||"")))})]}):(0,s.jsxs)(n.Zp,{className:(0,o.cn)("h-full overflow-hidden rounded-xl transition-all duration-300 hover:shadow-lg hover:-translate-y-1 relative flex flex-col",D),children:[(null==(u=F._embedded)||null==(r=u["wp:featuredmedia"])||null==(a=r[0])?void 0:a.source_url)&&(0,s.jsx)("div",{className:"aspect-video relative overflow-hidden",children:(0,s.jsx)(i.default,{src:F._embedded["wp:featuredmedia"][0].source_url,alt:F._embedded["wp:featuredmedia"][0].alt_text||(0,o.jT)((0,o.bS)((null==(x=F.title)?void 0:x.rendered)||"")),fill:!0,className:"object-cover","data-ai-hint":"post image"})}),(0,s.jsx)(n.aR,{children:(0,s.jsx)(n.ZB,{className:"font-headline text-xl leading-tight",dangerouslySetInnerHTML:{__html:(null==(f=F.title)?void 0:f.rendered)||""}})}),(0,s.jsxs)(n.Wu,{className:"flex flex-col flex-grow",children:[(0,s.jsx)("div",{className:"text-muted-foreground text-sm flex-grow",dangerouslySetInnerHTML:{__html:(null==(g=F.excerpt)?void 0:g.rendered)||""}}),O&&q.length>0&&(0,s.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:q.map(e=>(0,s.jsx)(l(),{href:e.link||"/",className:"relative z-20",children:(0,s.jsx)(d.E,{variant:"secondary",children:(0,o.jT)(e.name)})},e.id))})]}),(0,s.jsx)(l(),{href:F.link||"/",className:"absolute inset-0 z-10","aria-label":"Read more about ".concat((0,o.jT)((0,o.bS)((null==(b=F.title)?void 0:b.rendered)||"")))})]})}},7909:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,2619,23)),Promise.resolve().then(a.t.bind(a,1356,23)),Promise.resolve().then(a.bind(a,4805)),Promise.resolve().then(a.bind(a,5125)),Promise.resolve().then(a.bind(a,8577)),Promise.resolve().then(a.bind(a,5336)),Promise.resolve().then(a.bind(a,3842)),Promise.resolve().then(a.bind(a,22)),Promise.resolve().then(a.bind(a,7827))},8577:(e,t,a)=>{"use strict";a.d(t,{HomeCategoryHeader:()=>d});var s=a(5155),r=a(2115),l=a(3381),i=a(63),n=a(4269),o=a(2193);function d(e){let{title:t,slug:a,compact:d=!1}=e,{isAdmin:c}=(0,o.useUser)(),m=(0,i.useRouter)(),[h,p]=r.useState(!1),u=()=>{p(!0);let e=new URLSearchParams(window.location.search);e.set("refresh",a),e.set("t",Date.now().toString()),m.replace("/?".concat(e.toString()),{scroll:!1}),setTimeout(()=>{p(!1)},1500)};return d?c?(0,s.jsxs)("button",{onClick:u,disabled:h,className:"group flex w-fit items-center gap-2 rounded-md border bg-card px-3 py-2 text-[10px] font-bold uppercase text-muted-foreground transition-colors hover:border-primary/40 hover:text-primary focus:outline-none focus:ring-2 focus:ring-primary/20",title:"Refresh ".concat(t||a),children:[(0,s.jsx)(l.A,{className:(0,n.cn)("h-3.5 w-3.5 text-primary/50 transition-all duration-500",h&&"animate-spin text-primary")}),"Refresh"]}):null:(0,s.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,s.jsx)("h2",{className:"text-sm font-headline font-bold text-primary shrink-0 uppercase tracking-wider",children:t}),c&&(0,s.jsx)("button",{onClick:u,disabled:h,className:"group flex items-center justify-center p-1.5 rounded-full hover:bg-primary/10 transition-colors focus:outline-none focus:ring-2 focus:ring-primary/20",title:"Refresh ".concat(t),children:(0,s.jsx)(l.A,{className:(0,n.cn)("h-3.5 w-3.5 text-primary/40 group-hover:text-primary transition-all duration-500",h&&"animate-spin text-primary")})}),(0,s.jsx)("div",{className:"flex-grow h-px bg-border"})]})}}},e=>{e.O(0,[2992,3644,2619,3286,1356,2955,1600,6884,85,288,1909,8441,1255,7358],()=>e(e.s=7909)),_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.