PageSourceSearch

https://www.productionlist.com/_next/static/chunks/app/(site)/layo…?dpl=dpl_8f5dxUT2zXqtBwDTMZGtmpNw7BVi

js productionlist.com collected 2026-10-02 09:57:09 UTC 37,653 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{2388:(e,t,n)=>{"use strict";n.d(t,{JoinButton:()=>s});var r=n(95155);function s(e){let{children:t,className:n}=e;return(0,r.jsx)("button",{onClick:e=>{e.preventDefault(),window.dispatchEvent(new CustomEvent("open-email-popup"))},className:n,children:t})}},3494:(e,t,n)=>{"use strict";n.d(t,{HeaderAuthSection:()=>m});var r=n(95155),s=n(6874),a=n.n(s),i=n(21868),o=n(12115),l=n(35695),c=n(52643);function d(e){var t,n;let{email:s,isAdmin:i}=e,[d,u]=(0,o.useState)(!1),m=(0,o.useRef)(null),h=(0,l.useRouter)();async function p(){fetch("/api/log-activity",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({eventType:"logout"})}).catch(()=>{});let e=(0,c.U)();await e.auth.signOut(),h.push("/"),h.refresh()}(0,o.useEffect)(()=>{function e(e){m.current&&!m.current.contains(e.target)&&u(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let x=null!==(n=null==s?void 0:null===(t=s[0])||void 0===t?void 0:t.toUpperCase())&&void 0!==n?n:"U";return(0,r.jsxs)("div",{className:"relative",ref:m,children:[(0,r.jsx)("button",{onClick:()=>u(!d),className:"flex items-center space-x-2 text-white/90 hover:text-white",children:(0,r.jsx)("span",{className:"w-8 h-8 rounded-full bg-accent flex items-center justify-center text-sm font-bold text-white",children:x})}),d&&(0,r.jsxs)("div",{className:"absolute right-0 mt-2 w-52 bg-white rounded-md shadow-lg py-1 text-gray-700 z-50",children:[i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a(),{href:"/admin",className:"flex items-center px-4 py-2 text-sm font-medium text-accent hover:bg-gray-50",onClick:()=>u(!1),children:[(0,r.jsxs)("svg",{className:"w-4 h-4 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]}),"Admin Dashboard"]}),(0,r.jsx)("hr",{className:"my-1"})]}),(0,r.jsx)(a(),{href:"/membership-account",className:"block px-4 py-2 text-sm hover:bg-gray-100",onClick:()=>u(!1),children:"My Account"}),(0,r.jsxs)(a(),{href:"/saved",className:"flex items-center px-4 py-2 text-sm hover:bg-gray-100",onClick:()=>u(!1),children:[(0,r.jsx)("svg",{className:"w-4 h-4 mr-2 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"})}),"Saved"]}),(0,r.jsx)(a(),{href:"/productions",className:"block px-4 py-2 text-sm hover:bg-gray-100",onClick:()=>u(!1),children:"Production Database"}),(0,r.jsx)(a(),{href:"/membership-account/membership-billing",className:"block px-4 py-2 text-sm hover:bg-gray-100",onClick:()=>u(!1),children:"Billing"}),(0,r.jsx)(a(),{href:"/do-not-work",className:"block px-4 py-2 text-sm hover:bg-gray-100",onClick:()=>u(!1),children:"DNW Notices"}),(0,r.jsx)("hr",{className:"my-1"}),(0,r.jsx)("button",{onClick:p,className:"block w-full text-left px-4 py-2 text-sm text-red-600 hover:bg-gray-100",children:"Sign Out"})]})]})}var u=n(2388);function m(){let{loading:e,loggedIn:t,email:n,isAdmin:s}=(0,i.A)();return e?(0,r.jsx)("div",{className:"h-8 w-8","aria-hidden":"true"}):t?(0,r.jsx)(d,{email:n,isAdmin:s}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{href:"/login",className:"hidden md:inline text-sm text-white/90 hover:text-white whitespace-nowrap",children:"Login"}),(0,r.jsx)(u.JoinButton,{className:"btn-accent text-sm py-1.5 px-3 whitespace-nowrap",children:"Join Now"})]})}},6426:(e,t,n)=>{"use strict";n.d(t,{EmailPopup:()=>f});var r=n(95155),s=n(12115),a=n(35695),i=n(21868),o=n(31335),l=n(54063);let c=["/login","/register","/forgot-password","/reset-password","/checkout","/membership-account","/admin","/unsubscribe","/remove-my-info","/welcome-back","/privacy-policy","/
1privacy","/terms","/legal","/cookie","/do-not-sell","/state-of-production","/embed/"],d=["/newsletter","/claim-confirm","/confirm-email","/thank-you","/advertise","/api","/developers","/plugin","/submit-production","/contact","/editorial-standards","/how-we-verify"],u="pl_from_email";function m(){try{if("email"===new URLSearchParams(window.location.search).get("utm_medium"))return sessionStorage.setItem(u,"1"),!0;return"1"===sessionStorage.getItem(u)}catch(e){return!1}}let h=["Actor / Talent","Art Department","Camera / Cinematography","Casting","Costume / Wardrobe","Director","Editor / Post-Production","Grip / Electric","Hair & Make-Up","Locations","Music / Composer","Producer","Production Assistant","Production Coordinator","Production Manager / UPM","Script Supervisor","Set Design / Construction","Sound / Audio","Special Effects / SFX","Stunts","Transportation","Visual Effects / VFX","Writer","Other"],p=["United States","Canada","United Kingdom","Australia","New Zealand","Europe","Asia","Latin America","Africa","Middle East","Other"],x="email_popup_dismissed",g="email_popup_page_count";function f(){let{fullAccessSubtext:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{loading:t,loggedIn:n}=(0,i.A)(),[u,f]=(0,s.useState)(!1),[b,v]=(0,s.useState)(null),[w,y]=(0,s.useState)(!1),[j,k]=(0,s.useState)(!1),[N,C]=(0,s.useState)(null),[S,L]=(0,s.useState)(""),[E,M]=(0,s.useState)(1),[P,I]=(0,s.use
1State)({name:"",email:"",role:"",country:""}),[A,_]=(0,s.useState)([]),T=(0,s.useRef)(!1),W=(0,a.usePathname)(),z=c.some(e=>null==W?void 0:W.startsWith(e))||d.some(e=>W===e||(null==W?void 0:W.startsWith(e+"/")));(0,s.useEffect)(()=>{m()},[]),(0,s.useEffect)(()=>{fetch("/api/popup-settings").then(e=>e.json()).then(e=>v(e)).catch(()=>{})},[]),(0,s.useEffect)(()=>{u&&!(A.length>0)&&fetch("/api/alerts-ticker").then(e=>e.json()).then(e=>_(Array.isArray(e.items)?e.items:[])).catch(()=>{})},[u,A.length]);let F=(0,s.useCallback)(()=>!(!(null==b?void 0:b.enabled)||t||b.hideForLoggedIn&&n||z||T.current||document.querySelector("[data-express-join]")||"1"===new URLSearchParams(window.location.search).get("claim")||m()||document.cookie.split("; ").find(e=>e.startsWith(x+"="))),[b,t,n,z]),B=(0,s.useRef)("unknown"),O=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";F()&&(T.current=!0,B.current=e,f(!0),(0,o.u)("popup_view",{trigger:e}))},[F]);function D(){var e;(0,o.u)("popup_dismiss",{trigger:B.current}),f(!1);let t=null!==(e=null==b?void 0:b.dismissDurationDays)&&void 0!==e?e:7,n=new Date(Date.now()+24*t*36e5).toUTCString();document.cookie="".concat(x,"=1; expires=").concat(n,"; path=/")}async function J(e){e.preventDefault(),L(""),y(!0);let t=P.name.trim(),n=P.email.trim();try{let e=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t,email:n})});if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.error||"Something went wrong.")}(0,o.u)("lead",{source:"popup"});let r=new Date(Date.now()+31536e6).toUTCString();document.cookie="".concat(x,"=1; expires=").concat(r,"; path=/"),M(2)}catch(e){L(e.message||"Something went wrong.")}finally{y(!1)}}return((0,s.useEffect)(()=>{if(!b||"delay"!==b.trigger&&"combined"!==b.trigger||!F())return;let e=Date.now(),t=null,n=["scroll","pointerdown","keydown","touchstart"],r=()=>{n.forEach(e=>window.removeEventListener(e,r)),t=setTimeout(()=>O("delay"),Math.max(0,1e3*b.delaySeconds-(Date.now()-e)))};return n.forEach(e=>window.addEventListener(e,r,{passive:!0,once:!0})),()=>{n.forEach(e=>window.removeEventListener(e,r)),t&&clearTimeout(t)}},[b,F,O]),(0,s.useEffect)(()=>{if(!b||"pagecount"!==b.trigger&&"combined"!==b.trigger||!F())return;let e=Number(sessionStorage.getItem(g)||"0")+1;sessionStorage.setItem(g,String(e)),e>=b.pageCount&&O("pagecount")},[b,F,O]),(0,s.useEffect)(()=>{function e(){B.current="manual",(0,o.u)("popup_view",{trigger:"manual"}),f(!0)}return window.addEventListener("open-email-popup",e),()=>window.removeEventListener("open-email-popup",e)},[]),(0,s.useEffect)(()=>{if(b&&("exit_intent"===b.trigger||"combined"===b.trigger)&&(b.exitIntentEnabled||"combined"!==b.trigger)&&F())return document.addEventListener("mouseleave",e),()=>document.removeEventListener("mouseleave",e);function e(e){e.clientY<=0&&O("exit_intent")}},[b,F,O]),u&&b)?(0,r.jsxs)("div",{className:"fixed inset-0 z-50 overflow-y-auto",role:"dialog","aria-modal":"true","aria-label":"Email Sign Up",children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black/60",onClick:D,"aria-hidden":"true"}),(0,r.jsx)("div",{className:"relative flex min-h-full items-start sm:items-center justify-center p-4 sm:p-6",children:(0,r.jsxs)("div",{className:"relative bg-white rounded-2xl shadow-2xl w-full max-w-[520px] animate-in fade-in zoom-in-95 duration-200 my-4",children:[(0,r.jsx)("button",{type:"button",onClick:D,className:"sticky top-0 z-20 float-right inline-flex items-center justify-center w-11 h-11 mt-1 mr-1 rounded-full bg-white/80 backdrop-blur-sm text-gray-500 hover:text-gray-900 hover:bg-gray-100 active:bg-gray-200 transition-colors shadow-sm","aria-label":"Close",children:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M6 18L18 6M6 6l12 12"})})}),(0,r.jsx)("div",{className:"px-8 pt-7 pb-6",children:j?(0,r.jsxs)("div",{className:"py-4",children:[(0,r.jsx)("div",{className:"w-14 h-14 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,r.jsx)("svg",{className:"w-7 h-7 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),(0,r.jsx)("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-1",children:"Welcome to Production List!"}),(0,r.jsx)("p",{className:"text-gray-500 text-center text-sm mb-6",children:"Choose how you'd like to get started"}),(0,r.jsx)("a",{href:"/membership-plans",onClick:()=>
1(0,o.u)("select_plan",{plan:"full_access",source:"join_popup",surface:"join_popup"}),className:"block w-full border-2 border-accent bg-accent/5 rounded-lg p-4 mb-3 hover:bg-accent/10 transition-all group !text-inherit",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center flex-shrink-0",children:(0,r.jsx)("svg",{className:"w-5 h-5 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"font-semibold text-accent",children:"Get Full Access"}),(0,r.jsx)("span",{className:"text-xs font-medium bg-accent/10 text-accent px-1.5 py-0.5 rounded",children:"PRO"})]}),(0,r.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:null!=e?e:"Full contacts, crew, weekly lists & exclusive data"})]}),(0,r.jsx)("svg",{className:"w-4 h-4 text-accent flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),(0,r.jsx)("a",{href:"/register?plan=free",onClick:()=>(0,o.u)("select_plan",{plan:"free_profile",source:"join_popup",surface:"join_popup"}),className:"block w-full border border-gray-200 rounded-lg p-3.5 hover:border-accent hover:bg-accent/5 transition-all group !text-inherit",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-9 h-9 rounded-full bg-gray-100 group-hover:bg-accent/10 flex items-center justify-center flex-shrink-0 transition-colors",children:(0,r.jsx)("svg",{className:"w-4 h-4 text-gray-500 group-hover:text-accent transition-colors",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"font-semibold text-gray-900 text-sm",children:"Create Free Profile"}),(0,r.jsx)("span",{className:"text-xs font-medium bg-green-100 text-green-700 px-1.5 py-0.5 rounded",children:"FREE"})]}),(0,r.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:"Get listed so productions can find you — add your crew or company profile"})]}),(0,r.jsx)("svg",{className:"w-4 h-4 text-gray-300 group-hover:text-accent flex-shrink-0 transition-colors",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),(0,r.jsx)("p",{className:"text-xs text-gray-400 text-center mt-4",children:"You can upgrade anytime. Check your email for account details."})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-center text-[11px] font-bold uppercase tracking-[0.14em] text-gray-400 mb-1.5",children:"Membership"}),(0,r.jsx)("h2",{className:"text-3xl font-extrabold tracking-tight text-primary text-center leading-tight",children:b.heading}),(0,r.jsxs)("p",{className:"text-gray-500 text-center text-[15px] leading-relaxed mt-2 mb-4 mx-auto max-w-[380px]",children:["Instant access to"," ",(0,r.jsx)("strong",{className:"font-bold text-primary",children:"11,000+ productions in active pre-production"}),", with the contacts behind them."]}),(0,r.jsx)(l.LoginTicker,{items:A}),(0,r.jsx)("ul",{className:"space-y-2.5 mb-5",children:["Full contact details for every production office","New project alerts published daily","Filter by location to find projects filming near you"].map(e=>(0,r.jsxs)("li",{className:"flex items-start gap-2.5 text-sm leading-snug text-gray-700",children:[(0,r.jsx)("svg",{className:"w-[18px] h-[18px] mt-px flex-shrink-0 text-accent",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.6,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 6L9 17l-5-5"})}),(0,r.jsx)("span",{children:e})]},e))}),1===E?(0,r.jsxs)("form",{onSubmit:J,className:"space-y-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"popup-name",className:"block text-sm font-semibold text-gray-700 mb-1.5",children:["Name ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsx)("input",{id:"popup-name",name:"name",type:"text",required:!0,autoComplete:"name",placeholder:"Full Name",value:P.name,onChange:e=>I(t=>({...t,name:e.target.value})),className:"w-full border border-gray-300 rounded-[10px] px-3.5 py-3 text-base text-gray-900 placeholder-gray-400 focus:ring-2 focus:ring-accent focus:border-accent outline-none"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"popup-email",className:"block text-sm font-semibold text-gray-700 mb-1.5",children:["Email ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsx)("input",{id:"popup-email",name:"email",type:"email",required:!0,autoComplete:"email",placeholder:"Email Address",value:P.email,onChange:e=>I(t=>({...t,email:e.target.value})),className:"w-full border border-gray-300 rounded-[10px] px-3.5 py-3 text-base text-gray-900 placeholder-gray-400 focus:ring-2 focus:ring-accent focus:border-accent outline-none"})]}),S&&(0,r.jsx)("p",{className:"text-red-500 text-sm text-center",children:S}),(0,r.jsx)("button",{type:"submit",disabled:w,className:"w-full bg-accent text-white font-bold px-8 py-3.5 rounded-[10px] hover:bg-accent-dark transition-colors disabled:opacity-60 disabled:cursor-not-allowed text-base",children:w?"Submitting…":"Get Instant Access"}),(0,r.jsx)("p",{className:"text-center text-xs text-gray-400 mt-2.5",children:"Takes under a minute. No credit card required to start."})]}):(0,r.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),!P.role||!P.country){L("Please select your industry role and region.");return}L("");let t={name:P.name.trim(),email:P.email.trim(),role:P.role,country:P.country};C(t);try{sessionStorage.setItem("pl_signup_prefill",JSON.stringify(t))}catch(e){}k(!0)},className:"space-y-3",children:[(0,r.jsx)("p",{className:"text-center text-sm text-gray-500 mb-1",children:"One last thing — help us tailor your alerts."}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"popup-role",className:"block text-sm font-semibold text-gray-700 mb-1.5",children:["Industry Role ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("select",{id:"popup-role",name:"role",required:!0,value:P.role,onChange:e=>I(t=>({...t,role:e.target.value})),className:"w-full border border-gray-300 rounded-[10px] px-3 py-3 text-gray-900 bg-white focus:ring-2 focus:ring-accent focus:border-accent outline-none appearance-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right 0.5rem center",backgroundSize:"1.25rem",paddingRight:"2rem"},children:[(0,r.jsx)("option",{value:"",disabled:!0,hidden:!0,children:"Select..."}),h.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"popup-country",className:"block text-sm font-semibold text-gray-700 mb-1.5",children:["Country/Zone ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("select",{id:"popup-country",name:"country",required:!0,value:P.country,onChange:e=>I(t=>({...t,country:e.target.value})),className:"w-full border border-gray-300 rounded-[10px] px-3 py-3 text-gray-900 bg-white focus:ring-2 focus:ring-accent focus:border-accent outline-none appearance-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right 0.5rem center",backgroundSize:"1.25rem",paddingRight:"2rem"},children:[(0,r.jsx)("option",{value:"",disabled:!0,hidden:!0,children:"Select..."}),p.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]})]})]}),S&&(0,r.jsx)("p",{className:"text-red-500 text-sm text-center",children:S}),(0,r.jsx)("button",{type:"submit",className:"w-full bg-accent text-white font-bold px-8 py-3.5 rounded-[10px] hover:bg-accent-dark transition-colors text-base",children:"Get Instant Access"})]}),(0,r.jsxs)("p",{className:"text-center text-sm text-gray-500 mt-4",children:["Already a member?"," ",(0,r.jsx)("a",{href:"/login",className:"text-accent hover:underline font-bold",children:"Log in"})]})]})}),(0,r.jsx)("div",{className:"border-t border-gray-100 px-8 py-3.5",children:(0,r.jsxs)("p",{className:"text-[11.5px] leading-relaxed text-gray-400 text-center",children:["Trusted by 4,200+ industry professionals.",(0,r.jsx)("br",{}),"Film & Television Industry Alliance is dedicated to keeping your personal information safe."]})})]})})]}):null}}
1,12362:(e,t,n)=>{"use strict";n.d(t,{MobileShell:()=>y});var r=n(95155),s=n(12115),a=n(35695),i=n(96733),o=n(6874),l=n.n(o),c=n(66766),d=n(2388),u=n(52643);function m(e){var t,n;let{email:i}=e,[o,c]=(0,s.useState)(!1),d=(0,s.useRef)(null),m=(0,a.useRouter)(),h=null!==(n=null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.toUpperCase())&&void 0!==n?n:"U";async function p(){fetch("/api/log-activity",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({eventType:"logout"})}).catch(()=>{}),await (0,u.U)().auth.signOut(),c(!1),m.push("/"),m.refresh()}return(0,s.useEffect)(()=>{function e(e){d.current&&!d.current.contains(e.target)&&c(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,r.jsxs)("div",{className:"relative",ref:d,children:[(0,r.jsx)("button",{onClick:()=>c(e=>!e),"aria-label":"Your account","aria-expanded":o,className:"flex items-center justify-center min-h-[44px] min-w-[44px]",children:(0,r.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent text-sm font-bold text-white",children:h})}),o&&(0,r.jsxs)("div",{className:"absolute right-0 mt-2 w-56 rounded-xl border border-gray-100 bg-white py-1 text-gray-700 shadow-lg z-50",children:[i&&(0,r.jsx)("div",{className:"truncate border-b border-gray-100 px-4 py-2 text-xs text-gray-400",children:i}),(0,r.jsx)(l(),{href:"/membership-account",onClick:()=>c(!1),className:"block px-4 py-3 text-sm hover:bg-gray-50",children:"My Account"}),(0,r.jsx)(l(),{href:"/productions",onClick:()=>c(!1),className:"block px-4 py-3 text-sm hover:bg-gray-50",children:"Production Database"}),(0,r.jsx)(l(),{href:"/membership-account/membership-billing",onClick:()=>c(!1),className:"block px-4 py-3 text-sm hover:bg-gray-50",children:"Billing"}),(0,r.jsx)("button",{onClick:p,className:"block w-full border-t border-gray-100 px-4 py-3 text-left text-sm font-medium text-red-600 hover:bg-red-50",children:"Sign Out"})]})]})}var h=n(21868);function p(){let{compactTitle:e,showCompact:t}=(0,i.J)(),{loading:n,loggedIn:s,email:a}=(0,h.A)();return(0,r.jsx)("header",{className:"md:hidden print:!hidden sticky top-0 z-50 bg-charcoal text-white transition-shadow duration-200 ".concat(t?"shadow-lg":""),style:{paddingTop:"env(safe-area-inset-top)"},children:(0,r.jsxs)("div",{className:"relative flex items-center justify-between h-[52px] px-4",children:[(0,r.jsxs)(l(),{href:"/","aria-label":"Production List",className:"flex items-center gap-2 -ml-1 min-h-[44px] min-w-0",children:[(0,r.jsx)(c.default,{src:"/images/pl-emblem.png",alt:"",width:34,height:34,className:"flex-shrink-0"}),(0,r.jsxs)("span",{className:"text-[9px] font-semibold uppercase tracking-[0.08em] leading-[1.2] text-white/55",children:["Film & Television",(0,r.jsx)("br",{}),"Industry Alliance"]})]}),(0,r.jsx)("span",{className:"pointer-events-none min-w-0 flex-1 truncate px-2 text-center text-[15px] font-semibold transition-opacity duration-200",style:{opacity:t&&e?1:0},"aria-hidden":!(t&&e),children:e}),(0,r.jsx)("div",{className:"flex items-center gap-2 flex-shrink-0",children:n?(0,r.jsx)("div",{className:"h-9 w-9","aria-hidden":"true"}):s?(0,r.jsx)(m,{email:a}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l(),{href:"/login",className:"flex items-center text-sm text-white/80 hover:text-white px-2 min-h-[44px]",children:"Log in"}),(0,r.jsx)(d.JoinButton,{className:"btn-accent text-sm font-semibold whitespace-nowrap",children:"Join Now"})]})})]})})}let x=e=>({className:null!=e?e:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8}),g=[{key:"projects",label:"Projects",href:"/productions",Icon:function(e){let{className:t}=e;return(0,r.jsx)("svg",{...x(t),"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z"})})},match:e=>e.startsWith("/productions")||e.startsWith("/production/")},{key:"companies",label:"Companies",href:"/production-contact",Icon:function(e){let{className:t}=e;return(0,r.jsx)("svg",{...x(t),"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"})})},match:e=>e.startsWith("/production-contact")},{key:"people",label:"People",href:"/production-role",Icon:function(e){let{className:t}=e;return(0,r.jsx)("svg",{...x(t),"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 
10 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"})})},match:e=>e.startsWith("/production-role")},{key:"news",label:"News",href:"/blog",Icon:function(e){let{className:t}=e;return(0,r.jsx)("svg",{...x(t),"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"})})},match:e=>e.startsWith("/blog")},{key:"saved",label:"Saved",href:"/saved",Icon:function(e){let{className:t}=e;return(0,r.jsx)("svg",{...x(t),"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"})})},match:e=>e.startsWith("/saved"),requiresAuth:!0}];function f(e){return"/"!==e&&!!(["/productions","/production-contact","/production-role","/blog","/saved"].some(t=>e===t||e.startsWith(t+"/"))||e.startsWith("/production/"))}function b(){let e=(0,a.usePathname)(),{tabBarForced:t}=(0,i.J)(),{loggedIn:n}=(0,h.A)();return f(e)||t?(0,r.jsx)("nav",{className:"md:hidden print:!hidden fixed bottom-0 inset-x-0 z-50 border-t border-gray-200 bg-white/90",style:{paddingBottom:"max(8px, env(safe-area-inset-bottom))",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",boxShadow:"0 -4px 20px -2px rgba(15, 23, 42, 0.12)"},"aria-label":"Primary",children:(0,r.jsx)("ul",{className:"flex",children:g.map(s=>{let a=s.match(e)||"news"===s.key&&t,i=s.requiresAuth&&!n?"/login":s.href;return(0,r.jsx)("li",{className:"flex-1",children:(0,r.jsxs)(l(),{href:i,"aria-current":a?"page":void 0,className:"flex flex-col items-center justify-center gap-1 pt-1.5 pb-1 min-h-[44px]",style:{color:a?"#009BDE":"#8a909a"},children:[(0,r.jsx)(s.Icon,{className:"w-6 h-6"}),(0,r.jsx)("span",{className:"text-[10px] leading-none font-medium whitespace-nowrap tracking-[-0.01em]",children:s.label})]})},s.key)})})}):null}let v="pl_tabbar_hint_seen";function w(){let[e,t]=(0,s.useState)("hidden"),n=(0,s.useCallback)(()=>{try{localStorage.setItem(v,"1")}catch(e){}t(e=>"in"===e?"out":e)},[]);return((0,s.useEffect)(()=>{try{if(localStorage.getItem(v))return}catch(e){return}if(window.innerWidth>=768)return;let e=setTimeout(()=>t("in"),1200);return()=>clearTimeout(e)},[]),(0,s.useEffect)(()=>{if("in"!==e)return;let t=setTimeout(n,8e3);return window.addEventListener("touchmove",n,{passive:!0}),window.addEventListener("wheel",n,{passive:!0}),()=>{clearTimeout(t),window.removeEventListener("touchmove",n),window.removeEventListener("wheel",n)}},[e,n]),(0,s.useEffect)(()=>{if("out"!==e)return;let n=setTimeout(()=>t("hidden"),350);return()=>clearTimeout(n)},[e]),"hidden"===e)?null:(0,r.jsxs)("div",{className:"md:hidden print:!hidden fixed inset-0 z-40 transition-opacity duration-300 ".concat("in"===e?"opacity-100":"opacity-0"),onClick:n,role:"presentation",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-black/45"}),(0,r.jsx)("div",{className:"absolute inset-x-4 flex justify-center",style:{bottom:"calc(76px + env(safe-area-inset-bottom))"},children:(0,r.jsxs)("div",{role:"status",className:"relative max-w-[300px] rounded-2xl bg-white px-5 pb-3 pt-4 text-center shadow-2xl",children:[(0,r.jsx)("span",{className:"absolute -top-2.5 left-1/2 -translate-x-1/2 rounded-full bg-accent px-2.5 py-0.5 text-[10px] font-bold uppercase tracking-wider text-white",children:"New"}),(0,r.jsx)("p",{className:"text-[15px] font-bold leading-snug text-primary",children:"Your database, one tap away"}),(0,r.jsx)("p",{className:"mt-1 text-[13px] leading-snug text-gray-500",children:"Jump between Projects, Companies, People, News, and your Saved list with the bar below."}),(0,r.jsx)("svg",{className:"mx-auto mt-1.5 h-5 w-5 animate-bounce text-accent motion-reduce:animate-none",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 13l-7 7-7-7m14-8l-7 7-7-7"})})]})})]})}function y(e){let{children:t}=e,[n,o]=(0,s.useState)(null),[l,c]=(0,s.useState)(!1),[d,u]=(0,s.useState)(!1),m=(0,a.usePathname)(),{loading:x,loggedIn:g}=(0,h.A)(),v=f(m)||d,y=(0,s.useMemo)(()=>({compactTitle:n,showCompact:l,tabBarForced:d,setCompactTitle:o,setShowCompact:c,setTabBarForced:u}),[n,l,d]);return(0,r.jsxs)(i.Z.Provider,{value:y,children:[(0,r.jsx)(p,{}),(0,r.jsx)("div",{className:v?"pb-[calc(60px+env(safe-area-inset-bottom))] md:pb-0":"",children:t}),(0,r.jsx)(b,{}),!x&&!g&&v&&(m.startsWith("/blog")||d)&&(0,r.jsx)(w,{})]})}},19180:(e,t,n)=>{"use strict";n.d(t,{CompareFooterLink:()=>o});var r=n(95155),s=n(6874),a=n.n(s),i=n(21868);function o(){let{loading:e,loggedIn:t}=(0,i.A)();return e||t?null:(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:"/compare",className:"text-white/80 hover:text-white transition-colors",children:"Compare Alternatives"})})}},21868:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,AuthProvider:()=>c});var r=n(95155),s=n(12115),a=n(52643);let i={loading:!0,loggedIn:!1,email:null,isAdmin:!1,isMember:!1},o=(0,s.createContext)(i);function l(){return(0,s.useContext)(o)}function c(e){let{children:t}
1=e,[n,l]=(0,s.useState)(i),c=(0,s.useCallback)(async()=>{try{var e;let t=await fetch("/api/me",{cache:"no-store"}),n=await t.json();l({loading:!1,loggedIn:!!n.loggedIn,email:null!==(e=n.email)&&void 0!==e?e:null,isAdmin:!!n.isAdmin,isMember:!!n.isMember})}catch(e){l(e=>({...e,loading:!1}))}},[]);return(0,s.useEffect)(()=>{c();let{data:e}=(0,a.U)().auth.onAuthStateChange(()=>c());return()=>e.subscription.unsubscribe()},[c]),(0,r.jsx)(o.Provider,{value:n,children:t})}},31335:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...t})}n.d(t,{u:()=>r})},35695:(e,t,n)=>{"use strict";var r=n(18999);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},51144:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(95155),s=n(12115),a=n(31335);function i(){let[e,t]=(0,s.useState)(""),[n,i]=(0,s.useState)("idle"),[o,l]=(0,s.useState)(""),[c,d]=(0,s.useState)(""),u=(0,s.useRef)(Date.now());async function m(n){if(n.preventDefault(),e){i("loading");try{let n=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,website:c,elapsedMs:Date.now()-u.current})}
1),r=await n.json();if(!n.ok)throw Error(r.error);i("success"),l(r.alreadySubscribed?"You're already subscribed!":"You're subscribed! Check your inbox."),t(""),r.alreadySubscribed||(0,a.u)("lead",{source:"footer_newsletter"})}catch(e){i("error"),l(e.message||"Something went wrong.")}}}return"success"===n?(0,r.jsx)("p",{className:"text-sm text-green-400",children:o}):(0,r.jsxs)("form",{onSubmit:m,className:"relative flex gap-2",children:[(0,r.jsxs)("div",{className:"absolute opacity-0 -z-10 w-0 h-0 overflow-hidden","aria-hidden":"true",children:[(0,r.jsx)("label",{htmlFor:"footer-newsletter-website",children:"Website"}),(0,r.jsx)("input",{type:"text",id:"footer-newsletter-website",name:"website",tabIndex:-1,autoComplete:"off",value:c,onChange:e=>d(e.target.value)})]}),(0,r.jsx)("input",{type:"email",value:e,onChange:e=>{t(e.target.value),i("idle")},placeholder:"Enter your email",required:!0,className:"px-3 py-1.5 bg-white/10 border border-white/20 rounded text-sm text-white placeholder:text-white/40 focus:outline-none focus:border-accent w-56"}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===n,className:"px-4 py-1.5 bg-accent text-charcoal text-sm font-semibold rounded hover:bg-accent/90 transition-colors disabled:opacity-50 flex-shrink-0",children:"loading"===n?"Subscribing...":"Subscribe"}),"error"===n&&(0,r.jsx)("span",{className:"text-xs text-red-400 self-center",children:o})]})}},52643:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(49137);function s(){return(0,r.createBrowserClient)("https://ynwdhnlnawemmxjrtgyy.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inlud2RobmxuYXdlbW14anJ0Z3l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzMyMTEyNzIsImV4cCI6MjA4ODc4NzI3Mn0.nXPLipL2lfXdsv78Z0unK7ZK81qZ_XuRoVKEoK15p_U")}},54063:(e,t,n)=>{"use strict";n.d(t,{LoginTicker:()=>a});var r=n(95155),s=n(12115);function a(e){let{items:t}=e,[n,a]=(0,s.useState)(0);return((0,s.useEffect)(()=>{if(t.length<2||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=setInterval(()=>a(e=>(e+1)%t.length),4500);return()=>clearInterval(e)},[t.length]),0===t.length)?null:(0,r.jsxs)("div",{className:"mb-6 flex items-center gap-2.5 overflow-hidden rounded-full border border-gray-200 bg-slate-50 px-4 py-2","aria-label":"Latest project alerts",children:[(0,r.jsxs)("span",{className:"relative flex h-[7px] w-[7px] flex-shrink-0","aria-hidden":"true",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-green-500 opacity-60 motion-reduce:hidden"}),(0,r.jsx)("span",{className:"relative inline-flex h-[7px] w-[7px] rounded-full bg-green-600"})]}),(0,r.jsx)("div",{className:"relative h-[18px] min-w-0 flex-1",children:t.map((e,t)=>(0,r.jsxs)("span",{"aria-hidden":t!==n,className:"absolute inset-0 truncate text-[12.5px] leading-[18px] text-gray-500 transition-opacity duration-500 motion-reduce:transition-none ".concat(t===n?"opacity-100":"opacity-0"),children:[(0,r.jsxs)("b",{className:"font-bold text-primary",children:[e.label,":"]})," ",e.title]},t))})]})}},66766:(e,t,n)=>{"use strict";n.d(t,{default:()=>s.a});var r=n(71469),s=n.n(r)},71469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return o}});let r=n(88229),s=n(38883),a=n(33063),i=r._(n(51193));function o(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=a.Image},73333:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,6874,23)),Promise.resolve().then(n.t.bind(n,33063,23)),Promise.resolve().then(n.bind(n,21868)),Promise.resolve().then(n.bind(n,19180)),Promise.resolve().then(n.bind(n,6426)),Promise.resolve().then(n.bind(n,51144)),Promise.resolve().then(n.bind(n,3494)),Promise.resolve().then(n.bind(n,12362)),Promise.resolve().then(n.bind(n,79071))},79071:(e,t,n)=>{"use strict";n.d(t,{MobileMenu:()=>l});var r=n(95155),s=n(12115),a=n(6874),i=n.n(a),o=n(21868);
1function l(){let[e,t]=(0,s.useState)(!1),{loading:n,loggedIn:a}=(0,o.A)();return(0,r.jsxs)("div",{className:"md:hidden",children:[(0,r.jsx)("button",{onClick:()=>t(!e),className:"text-white p-1 rounded","aria-label":"Toggle menu",children:(0,r.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e?(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),e&&(0,r.jsx)("div",{className:"absolute top-[60px] left-0 right-0 bg-primary shadow-lg z-50",children:(0,r.jsxs)("nav",{className:"flex flex-col py-2",children:[[["Productions","/productions"],["Companies","/production-contact"],["People","/production-role"],["News","/blog"],["API","/api"],["About","/what-is-production-list"]].map(e=>{let[n,s]=e;return(0,r.jsx)(i(),{href:s,onClick:()=>t(!1),className:"px-6 py-3 text-white/90 hover:text-white hover:bg-primary-light",children:n},s)}),!n&&(0,r.jsx)("div",{className:"border-t border-white/20 mt-2 pt-2",children:a?(0,r.jsx)(i(),{href:"/membership-account",onClick:()=>t(!1),className:"px-6 py-3 text-white/90 hover:text-white block",children:"My Account"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i(),{href:"/login",onClick:()=>t(!1),className:"px-6 py-3 text-white/90 hover:text-white block",children:"Login"}),(0,r.jsx)("button",{onClick:()=>{t(!1),window.dispatchEvent(new CustomEvent("open-email-popup"))},className:"px-6 py-3 text-accent font-semibold block w-full text-left",children:"Join Now"})]})})]})})]})}},96733:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,Z:()=>s});var r=n(12115);let s=(0,r.createContext)(null);function a(){let e=(0,r.useContext)(s);return null!=e?e:{compactTitle:null,showCompact:!1,tabBarForced:!1,setCompactTitle:()=>{},setShowCompact:()=>{},setTabBarForced:()=>{}}}}},e=>{var t=t=>e(e.s=t);e.O(0,[6874,9641,9137,5444,8441,1684,7358],()=>t(73333)),_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.