PageSourceSearch

https://handstandwith.us/_next/static/chunks/pages/scavenger-hunts/desktop-landing-a7922ec636879186.js

js handstandwith.us collected 2026-10-08 02:51:35 UTC 9,094 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2343],{48744:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/scavenger-hunts/desktop-landing",function(){return n(30641)}])},39300:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var o=n(85893),a=n(67294);let i=(0,a.createContext)(void 0);function s(){let e=(0,a.useContext)(i);if(void 0===e)throw Error("useHeist must be used within a Heist Provider.");return e}t.Z=e=>{let{page:t="home",children:n}=e,[s,d]=(0,a.useState)(t);return(0,o.jsx)(i.Provider,{value:{pageTitle:s,setpageTitle:d},children:n})}},30641:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var o=n(85893),a=n(9008),i=n.n(a),s=n(39300),d=n(98608),l=n(67294),r=n(92592),p=n(70313),c=n.n(p),_=n(83367);function u(){let[e,t]=(0,l.useState)(null),[n,a]=(0,l.useState)(null),[i,s]=(0,l.useState)(null),[d,p]=(0,l.useState)(null),[u,g]=(0,l.useState)(!1),h=(0,_.Z)();(0,l.useEffect)(()=>{let e,n;let o=localStorage.getItem("branch_session_first");o&&(e=JSON.parse(o)),e&&e.data&&(n=JSON.parse(e.data)),(null==n?void 0:n.eventId)?(a(n.eventId),t(n.name)):(null==n?void 0:n.url)?window.location.href=n.url:console.log("NO LANDING INFO"),null==h||h.data((e,o)=>{if(console.log("data",o,n),null==o?void 0:o.data_parsed.name){let e=JSON.parse(o.data);(null==e?void 0:e.eventId)?(a(e.eventId),t(e.name)):(null==e?void 0:e.url)?window.location.href=e.url:console.log("NO LANDING INFO")}else(null==n?void 0:n.eventId)?(a(n.eventId),t(n.name)):console.log("NO LANDING INFO")})},[h]),(0,l.useEffect)(()=>{n&&k(n)},[n]);let y=async e=>{let t=document.getElementById("phoneButton");t.innerHTML="...";try{(await fetch("https://api.handstandwith.us/v2/events/".concat(e,"/users/send_login_link"),{method:"POST",headers:{"Content-Type":"application/json",Auth:"DrBronzestein"},body:JSON.stringify({email:document.getElementById("phone").value,event_id:e})})).ok&&(t.innerHTML="\uD83C\uDF89",setTimeout(()=>{t.innerHTML="SEND EMAIL",document.getElementById("phone").value=""},400))}catch(e){console.error("Error sending email:",e)}},k=async e=>{if(e){g(!0);try{let n=await fetch("https://api.handstandwith.us/v2/events/".concat(e,"/public_event"));if(n.ok){var t;let e=await n.json(),o=null==e?void 0:null===(t=e.event)||void 0===t?void 0:t.loginLink;if(o){p(o);let e=await r.toDataURL(o,{width:200,margin:1,color:{dark:"#000000",light:"#FFFFFF"}});s(e)}}}catch(e){console.error("Error fetching login link or generating QR code:",e)}finally{g(!1)}}};return(0,o.jsxs)("div",{className:c().desktopLanding,children:[(0,o.jsx)("img",{className:c().detailsLogo,src:"https://assets.handstandwith.us/web/images/bluex.png?width=498&height=498",alt:"logo",loading:"lazy"}),e&&(0,o.jsxs)("div",{className:c().detailsTitle,children:["Welcome to ",e]}),(0,o.jsxs)("div",{className:c().detailsSubtitle,children:[(0,o.jsx)("span",{children:"To play this great game, you'll need to download our app."}),(0,o.jsx)("span",{children:"By email or QR - just give it a tap."})]}),n&&(0,o.jsxs)("div",{className:c().appDownloadSection,children:[(0,o.jsxs)("div",{className:c().emailSection,children:[(0,o.jsx)("h3",{className:c().sectionTitle,children:"Send Link to Email"}),(0,o.jsxs)("div",{className:c().inputPhone,children:[(0,o.jsx)("input",{id:"phone",type:"text",placeholder:"[email protected]",onKeyDown:e=>{"Enter"===e.key&&document.getElementById("phoneButton").click()}}),(0,o.jsx)("div",{id:"phoneButton",className:c().phoneButton,onClick:()=>y(n),children:"SEND EMAIL"})]})]}),(0,o.jsx)("div",{className:c().verticalDivider,children:(0,o.jsx)("span",{children:"OR"})}),(0,o.jsxs)("div",{className:c().qrCodeSection,children:[(0,o.jsx)("h3",{className:c().sectionTitle,children:"Scan to Get the App"}),(0,o.jsx)("div",{className:c().qrCodeContainer,children:u?(0,o.jsx)("div",{className:c().qrCodeLoading,children:(0,o.jsx)("span",{children:"Loading QR Code..."})}):i?(0,o.jsx)("div",{className:c().qrCodeWrapper,children:(0,o.jsx)("img",{src:i,alt:"QR Code to download app",className:c().qrCodeImage})}):(0,o.jsx)("div",{className:c().qrCodeError,children:(0,o.jsx)("span",{children:"QR Code unavailable"})})})]})]}),(0,o.jsx)("img",{className:c().iphoneShowcase,src:"https://assets.handstandwith.us/web/images/iphone-hero-cutoff.png?width=2880&height=596",alt:"iphone",loading:"lazy"})]})}var g=n(22254);function h(){return(0,o.jsxs)("div",{children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)("link",{rel:"icon",href:"https://assets.handstandwith.us/web/logos/handstand_favicon.ico"}),(0,o.jsx)("link",{href:"https://fonts.googleapis.com/css?family=Nunito",rel:"stylesheet"}),(0,o.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700",rel:"stylesheet"}),(0,o.jsx)("link",{rel:"stylesheet",href:"https://use.typekit.net/oil3dvj.css"}),(0,o.jsx)("title",{children:"Handstand's Hunt"}),(0,o.jsx)("meta",{property:"og:title",content:"Handstand's Hunt"}),(0,o.jsx)("meta",{property:"og:site_name",content:"Handstand's Hunt"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:url",content:"https://handstandwith.us"}),(0,o.jsx)("meta",{property:"og:image",content:"https://assets.handstandwith.us/web/images/opengraph.jpg?width=594&height=315"}),(0,o.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),(0,o.jsx)("meta",{property:"og:image:width",content:"594"}),(0,o.jsx)("meta",{property:"og:image:height",content:"315"}),(0,o.jsx)("meta",{property:"og:description",content:"Handstand is a group of friends dedicated to creating kickass experiences, pushing limits, and producing magic. We are committed to making your day, whatever that means for you."})]}),(0,o.jsxs)(s.Z,{page:"desktop-landing",children:[(0,o.jsx)(g.h,{pageTitle:"desktop-landing",ctaBtnTitle:"EXPLORE GAMES",ctaBtnUrl:"/scavenger-hunts/games",headerTextColor:"black",headerBackgroun
1dColor:"white",isBlack:!0}),(0,o.jsx)("div",{id:"app-wrapper",children:(0,o.jsxs)("main",{children:[(0,o.jsx)("div",{className:"app",children:(0,o.jsx)("div",{className:"main-content-wrapper",children:(0,o.jsx)(u,{})})}),(0,o.jsx)(d.$,{})]})})]})]})}},70313:function(e){e.exports={upsell:"desktopLandingStyle_upsell__zFW90",slogan:"desktopLandingStyle_slogan__4Nn55",title:"desktopLandingStyle_title__FP6te",text:"desktopLandingStyle_text__MD7iZ",button:"desktopLandingStyle_button__VyEnH",baseSlogan:"desktopLandingStyle_baseSlogan__r4BCM",baseTitle:"desktopLandingStyle_baseTitle__JBnnm",baseText:"desktopLandingStyle_baseText__sVkuz",flex:"desktopLandingStyle_flex__pF_p2",flexColumn:"desktopLandingStyle_flexColumn__XH7rP",overlay:"desktopLandingStyle_overlay__DI3UU",fullRow:"desktopLandingStyle_fullRow__OUPPe",contentWrapper:"desktopLandingStyle_contentWrapper__N2KFA",sectionContainer:"desktopLandingStyle_sectionContainer__tagoN",copyText:"desktopLandingStyle_copyText__ASD2d",active:"desktopLandingStyle_active__aCX_T",newButton:"desktopLandingStyle_newButton__8y2HN",newBlueButton:"desktopLandingStyle_newBlueButton__MQB_q",newRedButton:"desktopLandingStyle_newRedButton__RAHfq",newGreenButton:"desktopLandingStyle_newGreenButton__LzxYh",newInvertedGreenButton:"desktopLandingStyle_newInvertedGreenButton__H2Ef4",inactiveNewButton:"desktopLandingStyle_inactiveNewButton__TcDFM",buttonContainer:"desktopLandingStyle_buttonContainer__9Br8m",submitButton:"desktopLandingStyle_submitButton__q7dGk",selectButton:"desktopLandingStyle_selectButton__geQzH",payButton:"desktopLandingStyle_payButton__Z4QLK",loader:"desktopLandingStyle_loader__znWnr",fetchingPayButton:"desktopLandingStyle_fetchingPayButton__kfg1K",load8:"desktopLandingStyle_load8__fq_G_",baseSplash:"desktopLandingStyle_baseSplash__khuFB",midline:"desktopLandingStyle_midline__OGbK0",kartWheelButton:"desktopLandingStyle_kartWheelButton__AQRls",checkoutMobile:"desktopLandingStyle_checkoutMobile__GkfkE",inputText:"desktopLandingStyle_inputText__kHSsN",ticketDropdown:"desktopLandingStyle_ticketDropdown__ZFLm3",desktopLanding:"desktopLandingStyle_desktopLanding__R6l8I",detailsLogo:"desktopLandingStyle_detailsLogo__8GCCm",detailsTitle:"desktopLandingStyle_detailsTitle__45ZQG",detailsSubtitle:"desktopLandingStyle_detailsSubtitle__CMG01",iphoneShowcase:"desktopLandingStyle_iphoneShowcase__l64fu",appDownloadSection:"desktopLandingStyle_appDownloadSection__YfJE2",emailSection:"desktopLandingStyle_emailSection__ugSYv",qrCodeSection:"desktopLandingStyle_qrCodeSection__LayMs",sectionTitle:"desktopLandingStyle_sectionTitle__2IsFc",inputPhone:"desktopLandingStyle_inputPhone__wP7Vs",phoneButton:"desktopLandingStyle_phoneButton__2f2wa",verticalDivider:"desktopLandingStyle_verticalDivider__dEOVD",qrCodeContainer:"desktopLandingStyle_qrCodeContainer__ZyBEI",qrCodeWrapper:"desktopLandingStyle_qrCodeWrapper__oPUjx",qrCodeImage:"desktopLandingStyle_qrCodeImage__gcis8",qrCodeInstructions:"desktopLandingStyle_qrCodeInstructions__4cG7p",qrCodeLoading:"desktopLandingStyle_qrCodeLoading__htnwn",qrCodeError:"desktopLandingStyle_qrCodeError__Q7_64"}}},function(e){e.O(0,[3996,4309,2592,2254,8608,2888,9774,179],function(){return e(e.s=48744)}),_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.