(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[658],{4683:function(e,s,r){Promise.resolve().then(r.bind(r,6839))},7731:function(e,s,r){"use strict";r.d(s,{I:function(){return l},db:function(){return u}});var o=r(994),t=r(7007),i=r(4086),n=r(9584);let c=(0,o.ZF)({apiKey:"AIzaSyCQVoI_aw0bWaYkkFisl5yAtfqhiKQMI-Y",authDomain:"hookerhillstu.firebaseapp.com",projectId:"hookerhillstu",storageBucket:"hookerhillstu.appspot.com",messagingSenderId:"324748645654",appId:"1:324748645654:web:14d31f42ca7489e30bec37"},"hookerhillstudios"),l=(0,t.v0)(c),u=(0,i.ad)(c);(0,n.cF)(c)},6839:function(e,s,r){"use strict";r.r(s);var o=r(7437),t=r(2265),i=r(7731),n=r(4086);let unsubscribeOthers=async()=>{try{{let e=window.location.href,s=e.split("=")[1],r=(0,n.IO)((0,n.hJ)(i.db,"coldCallEmails"),(0,n.ar)("email","==",s)),o=await (0,n.PL)(r);o.forEach(async e=>{await (0,n.r7)(e.ref,{subscribed:!1})}),alert("You have been unsubscribed. You will no longer receive emails."),console.log("User unsubscribed successfully")}}catch(e){console.error("Error unsubscribing:",e)}};s.default=()=>((0,t.useEffect)(()=>{unsubscribeOthers()},[]),(0,o.jsxs)("div",{className:"text-white text-center mx-auto my-auto min-h-screen flex flex-col justify-center",children:["You have been unsubscribed. ",(0,o.jsx)("br",{})," You will no longer receive emails from ",(0,o.jsx)("br",{})," ",(0,o.jsx)("a",{className:"cursor-pointer hover:scale-95 duration-200 text-blue-400",href:"https://www.hookerhillstudios.com",children:"Hooker Hill Studios"})]}))}},function(e){e.O(0,[4358,3966,5534,2971,2472,1744],function(){return e(e.s=4683)}),_N_E=e.O()}]);