1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[433],{10433:function(e,t,n){n.r(t),n.d(t,{default:function(){return W}});var r=n(27573),a=n(7653),l=n(97551),i=n(92929),o=n(4154),s=n(57221),u=n(65802),c=n(78813),d=n(83733),f=n(53528),p=n(95977);let x="yung-low-end-device";var h=n(3458),m=n(98882),v=n(10607),w=n(30906),g=n(67256);let b={duration:.32,ease:[.4,0,.2,1]},y={partner:"Partner with us",join:"Join our team"};function k(e){var t;let{variant:n,config:l,onClose:i,onDirtyChange:o,onSubmitted:s}=e,u=null!==(t=null==l?void 0:l.steps)&&void 0!==t?t:[],c=u.length,[d,p]=(0,a.useState)(0),[x,k]=(0,a.useState)(1),[j,S]=(0,a.useState)({}),[z,C]=(0,a.useState)(new Set),[M,N]=(0,a.useState)("form"),P=(0,a.useRef)(null),E=u[d],O=d===c-1,T=(d+1)/Math.max(c,1)*100,Z="done"!==M&&Object.values(j).some(e=>Array.isArray(e)?e.length>0:"string"==typeof e&&""!==e.trim());(0,a.useEffect)(()=>{null==o||o(Z)},[Z,o]),(0,a.useEffect)(()=>()=>null==o?void 0:o(!1),[o]);let R=(0,a.useCallback)((e,t)=>{S(n=>({...n,[e]:t})),C(t=>{if(!t.has(e))return t;let n=new Set(t);return n.delete(e),n})},[]),F=(0,a.useCallback)(()=>{var e,t;let n=new Set;for(let r of null!==(e=null==E?void 0:E.fields)&&void 0!==e?e:[]){let e=j[r.name];if("radio"===r.type||"checkbox"===r.type){let a=Array.isArray(e)?e:[];for(let e of(r.required&&0===a.length&&n.add(r.name),null!==(t=r.options)&&void 0!==t?t:[])){if(!e.allowsCustomText||!a.includes(e.value))continue;let t=(0,w.Q)(r.name,e.value);("string"==typeof j[t]?j[t].trim():"")||n.add(t)}}else if(r.required){let t="string"==typeof e?e.trim():"";t&&("email"!==r.type||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim()))||n.add(r.name)}}return C(n),0===n.size},[E,j]),A=(0,a.useCallback)(async()=>{N("submitting");try{(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({variant:n,data:j})})).ok?(N("done"),null==s||s(j)):N("error")}catch(e){N("error")}},[n,j,s]),D=(0,a.useCallback)(()=>{if(F()){if(O){A();return}k(1),p(e=>Math.min(e+1,c-1))}},[F,O,A,c]),L=(0,a.useCallback)(()=>{if(0===d){i();return}k(-1),C(new Set),p(e=>Math.max(e-1,0))},[d,i]);return((0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&i()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[i]),(0,a.useEffect)(()=>{var e;let t=null===(e=P.current)||void 0===e?void 0:e.querySelector("input, textarea, button");if(!t)return;let n="INPUT"===t.tagName||"TEXTAREA"===t.tagName,r=navigator.maxTouchPoints>0||window.matchMedia("(hover: none)").matches;n&&r||t.focus()},[d]),E&&"undefined"!=typeof document)?(0,h.createPortal)((0,r.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"".concat(y[n]," form"),className:"fixed inset-0 z-[100] flex flex-col bg-black",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-[20px] pt-[16px]",children:[(0,r.jsx)("span",{className:"font-mono text-[14px] uppercase tracking-[0.28px] leading-[1.3] text-white",children:y[n]}),(0,r.jsx)("button",{type:"button",onClick:i,"aria-label":"Close form",className:"flex h-[36px] w-[36px] items-center justify-center rounded-[6px] bg-[#F0BF2C] text-black",children:(0,r.jsx)("svg",{"aria-hidden":"true",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,r.jsx)("path",{d:"M15 5L5 15M5 5l10 10"})})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-[12px] px-[20px] pt-[14px]",children:[(0,r.jsx)("div",{className:"relative h-[4px] flex-1 overflow-hidden rounded-full bg-white/20",children:(0,r.jsx)(f.E.div,{className:"absolute inset-y-0 left-0 rounded-full",style:{backgroundColor:"#92efff"},initial:!1,animate:{width:"".concat(T,"%")},transition:b})}),(0,r.jsxs)("span",{className:"font-sans font-normal text-[14px] leading-[1.3] text-white",children:[d+1,"/",c]})]}),"done"===M?(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-[16px] px-[20px] text-center",children:[(0,r.jsx)("h2",{className:"font-sans font-normal text-[24px] leading-[1.2] text-white",children:"Thanks â we'll be in touch."}),(0,r.jsx)("p",{className:"font-mono text-[14px] uppercase tracking-[0.28px] text-white/60",children:"Your message is on its way to the studio."}),(0,r.jsx)("button",{type:"button",onClick:i,className:"mt-[8px] rounded-[6px] border-[1.324px] border-solid border-white bg-white/20 px-[18px] py-[14px] font-sans font-semibold text-[12px] uppercase tracking-[0.24px] text-white",children:"Close"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"relative flex-1 overflow-y-auto px-[20px] pt-[40px]",children:(0,r.jsx)(m.M,{mode:"wait",custom:x,children:(0,r.jsxs)(f.E.div,{custom:x,initial:{opacity:0,x:30*x}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:-30*x},transition:b,className:"flex flex-col gap-[30px]",ref:P,children:[(0,r.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,r.jsx)("h2",{className:"font-sans font-normal text-[20px] leading-[1.2] text-white",children:E.title}),E.subtitle&&(0,r.jsx)("p",{className:"font-sans font-normal text-[16px] leading-[1.3] text-white/60",children:E.subtitle})]}),(0,r.jsx)(g.p,{step:E,values:j,onChange:R,errors:z,variant:"mobile"})]},d)})}),(0,r.jsxs)("div",{className:"flex items-center justify-between px-[18px] pb-[20px] pt-[16px]",children:[(0,r.jsxs)("button",{type:"button",onClick:L,className:"flex items-center gap-[6px] font-sans font-semibold text-[16px] leading-[1.2] tracking-[-0.32px] text-white",children:[(0,r.jsx)("svg",{viewBox:"0 0 14 14",className:"size-[14px]","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M9 2L4 7l5 5",stroke:"#fff",strokeWidth:"1.6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})}),"Back"]}),(0,r.jsx)("button",{type:"button",onClick:D,disabled:"submitting"===M,className:(0,v.Z)("rounded-[6px] border-[1.324px] border-solid px-[18px] py-[14px] font-sans font-semibold text-[12px] uppercase tracking-[0.24px]",O?"border-white bg-white text-black":"border-white bg-white/20 text-white","submitting"===M&&"opacity-60"),children:O?"submitting"===M?"Sendingâ¦":"Submit":"Next"})]}),"error"===M&&(0,r.jsx)("p",{className:"-mt-[8px] mb-[12px] px-[20px] text-right font-mono text-[12px] uppercase tracking-[0.24px] text-[#ff6c6c]",children:"Something went wrong â please try again."})]})]}),document.body):null}var j=n(50230),S=n(22247),z=n(6247),C=n(91617),M=n(13918);let N=(0,a.lazy)(()=>n.e(292).then(n.bind(n,292)).then(e=>({default:e.CameraRigController}))),P=(0,a.lazy)(()=>n.e(292).then(n.bind(n,292)).then(e=>({default:e.CameraRigPanel}))),E=[{type:"ambient",intensity:.4,color:"#d1b09b"},{type:"directional",position:[1.75,.5,1],intensity:3.6,color:"#eed2ff",castShadow:!0,shadowBias:0,shadowNormalBias:.01,shadowRadius:4,shadowMapSize:4096,shadowNear:.01,shadowFar:19,shadowCameraSize:1},{type:"hemisphere",position:[0,2,5],intensity:.2,color:"#f7d6ff",groundColor:"#f80101"}],O=E.map(e=>"directional"===e.type&&e.castShadow?{...e,shadowMapSize:1024,shadowRadius:1}:e),T={files:"/hdri/GSG_HC005_A017_HDRISTUDIOvol2017.png",intensity:1.8,rotationY:1.0472,showBackground:!1,backgroundBlur:.11},Z="power3.inOut";function R(e,t){let n=null;return e.traverse(e=>{!n&&e.userData[t]&&(n=e)}),n}let F={main:{fill:.8,centerMesh:e=>R(e,"isMainScreen"),zoomMesh:()=>null,lookOffset:[0,0,0],roll:0,pitch:-.045,yaw:0},slideshow:{cameraOffset:[-1.07,.56,1.37],lookOffset:[0,-.05,0],up:[-.04,1,.06],zoom:690},tamagotchi:{fill:.85,cameraOffset:[-1.07,.56,1.37],centerMesh:e=>R(e,"isTamagotchiScreen"),zoomMesh:()=>null,up:[-.04,1,.06]},internship:{cameraOffset:[1.13,1.26,1.86],lookOffset:[.01,-.03,.02],zoom:870},soundboard:{fill:.85,centerMesh:e=>R(e,"isSoundboard"),zoomMesh:()=>null,cameraOffset:[.91,1.26,1.86],lookOffset:[-.02,-.03,.02],up:[0,1,0],zoom:870},receipt:{centerMesh:()=>null,cameraOffset:[0,.66,.87],lookOffset:[0,-2.4,0],zoom:550}},A=["main","slideshow","tamagotchi","internship","soundboard"],D=["main","slideshow"];function L(e,t,n){var r;let a=p.b$[t],l=null;if(e.traverse(e=>{l||e.name!==a||(l=e)}),!l)return null;let i=n&&null!==(r=n(e))&&void 0!==r?r:l,o=new c.Box3().setFromObject(i);return{center:o.getCenter(new c.Vector3),size:o.getSize(new c.Vector3)}}function B(e){let{active:t,onRect:n}=e,{scene:r,camera:i,size:o}=(0,l.D)(),s=(0,a.useRef)(null),u=(0,a.useRef)("");return(0,l.F)(()=>{if(!t)return;if(!s.current){let e=null;if(r.traverse(t=>{!e&&t.userData.isMainScreen&&(e=t)}),s.current=e,!e)return}let e=s.current;if(!e)return;let a=new c.Box3().setFromObject(e);if(a.isEmpty())return;let{min:l,max:d}=a,f=1/0,p=1/0,x=-1/0,h=-1/0,m=new c.Vector3;for(let e=0;e<8;e++){m.set(1&e?d.x:l.x,2&e?d.y:l.y,4&e?d.z:l.z),m.project(i);let t=(m.x+1)/2*o.width,n=(1-m.y)/2*o.height;t<f&&(f=t),t>x&&(x=t),n<p&&(p=n),n>h&&(h=n)}let v={left:f,top:p,width:x-f,height:h-p},w="".concat(Math.round(f),",").concat(Math.round(p),",").concat(Math.round(v.width),",").concat(Math.round(v.height));w!==u.current&&(u.current=w,n(v))}),(0,a.useEffect)(()=>{t||(u.current="",n(null))},[t,n]),null}function V(e){let{activeDeviceId:t,receiptView:n}=e,{camera:r,scene:i,size:o}=(0,l.D)(),s=(0,a.useRef)(new c.Vector3(0,0,0)),u=(0,a.useRef)(new c.Vector3(0,1,0)),f=(0,a.useRef)({value:0}),p=(0,a.useRef)({value:0}),x=(0,a.useRef)({value:0}),h=(0,a.useRef)({value:100}),m=(0,a.useRef)(!1),v=(0,a.useCallback)(e=>{var t,n,r,a,l,s;let u;let d=null!==(t=F[e])&&void 0!==t?t:{},f=L(i,e,d.centerMesh);if(!f)return null;if(void 0!==d.zoom)u=d.zoom;else{let t=null!==(n=L(i,e,void 0!==d.zoomMesh?d.zoomMesh:d.centerMesh))&&void 0!==n?n:f,a=null!==(r=d.fill)&&void 0!==r?r:.95;u=o.width*a/Math.max(t.size.x,1e-6)}let p=null!==(a=d.cameraOffset)&&void 0!==a?a:[0,0,3],x=null!==(l=d.lookOffset)&&void 0!==l?l:[0,0,0],h=null!==(s=d.up)&&void 0!==s?s:[0,1,0];return{pos:new c.Vector3(f.center.x+p[0],f.center.y+p[1],f.center.z+p[2]),lookAt:new c.Vector3(f.center.x+x[0],f.center.y+x[1],f.center.z+x[2]),up:new c.Vector3(h[0],h[1],h[2]),zoom:u,cfg:d}},[i,o.width]);return(0,a.useEffect)(()=>{var e,a,l,c,m,w,g,b,y;if(d.ZP.killTweensOf(r.position),d.ZP.killTweensOf(s.current),d.ZP.killTweensOf(u.current),d.ZP.killTweensOf(f.current),d.ZP.killTweensOf(p.current),d.ZP.killTweensOf(x.current),d.ZP.killTweensOf(h.current),n){let t=L(i,"main");if(!t)return;let n=null!==(e=F.receipt)&&void 0!==e?e:{},v=null!==(a=n.cameraOffset)&&void 0!==a?a:[0,0,3],g=null!==(l=n.lookOffset)&&void 0!==l?l:[0,0,0],b=null!==(c=n.up)&&void 0!==c?c:[0,1,0],y=null!==(w=n.zoom)&&void 0!==w?w:o.width*(null!==(m=n.fill)&&void 0!==m?m:.95)/Math.max(t.size.x,1e-6);d.ZP.to(u.current,{x:b[0],y:b[1],z:b[2],duration:1.1,ease:Z}),d.ZP.to(r.position,{x:t.center.x+v[0],y:t.center.y+v[1],z:t.center.z+v[2],duration:1.1,ease:Z}),d.ZP.to(h.current,{value:y,duration:1.1,ease:Z,onUpdate:()=>{r.zoom=h.current.value,r.updateProjectionMatrix()}}),d.ZP.to(s.current,{x:t.center.x+g[0],y:t.center.y+g[1],z:t.center.z+g[2],duration:1.1,ease:Z}),d.ZP.to(f.current,{value:0,duration:1.1,ease:Z}),d.ZP.to(p.current,{value:0,duration:1.1,ease:Z}),d.ZP.to(x.current,{value:0,duration:1.1,ease:Z});return}let k=v(t);if(!k){u.current.set(0,1,0);return}d.ZP.to(u.current,{x:k.up.x,y:k.up.y,z:k.up.z,duration:1.1,ease:Z}),d.ZP.to(r.position,{x:k.pos.x,y:k.pos.y,z:k.pos.z,duration:1.1,ease:Z}),d.ZP.to(s.current,{x:k.lookAt.x,y:k.lookAt.y,z:k.lookAt.z,duration:1.1,ease:Z}),d.ZP.to(h.current,{value:k.zoom,duration:1.1,ease:Z,onUpdate:()=>{r.zoom=h.current.value,r.updateProjectionMatrix()}}),d.ZP.to(f.current,{value:null!==(g=k.cfg.roll)&&void 0!==g?g:0,duration:1.1,ease:Z}),d.ZP.to(p.current,{value:null!==(b=k.cfg.pitch)&&void 0!==b?b:0,duration:1.1,ease:Z}),d.ZP.to(x.current,{value:null!==(y=k.cfg.yaw)&&void 0!==y?y:0,duration:1.1,ease:Z})},[t,n,r,i,v]),(0,l.F)(()=>
1{if(!m.current){var e,n,a;i.updateMatrixWorld(!0);let l=v(t);if(!l)return;r.position.copy(l.pos),s.current.copy(l.lookAt),u.current.copy(l.up),h.current.value=l.zoom,r.zoom=l.zoom,r.updateProjectionMatrix(),f.current.value=null!==(e=l.cfg.roll)&&void 0!==e?e:0,p.current.value=null!==(n=l.cfg.pitch)&&void 0!==n?n:0,x.current.value=null!==(a=l.cfg.yaw)&&void 0!==a?a:0,m.current=!0}r.up.copy(u.current),r.lookAt(s.current),0!==f.current.value&&r.rotateZ(f.current.value),0!==p.current.value&&r.rotateX(p.current.value),0!==x.current.value&&r.rotateY(x.current.value)}),null}function I(e){let{activeDeviceId:t,receiptView:n,onCenter:r}=e,{scene:i}=(0,l.D)();return(0,a.useEffect)(()=>{var e,a;i.updateMatrixWorld(!0);let l=n?null!==(e=F.receipt)&&void 0!==e?e:{}:null!==(a=F[t])&&void 0!==a?a:{},o=L(i,"main",l.centerMesh);if(!o)return;let s=n?o:L(i,t,l.centerMesh);s&&r([s.center.x,s.center.y,s.center.z])},[t,n,i,r]),null}function _(){return(0,r.jsx)("mesh",{children:(0,r.jsx)("meshStandardMaterial",{color:"#C692FF",wireframe:!0})})}function Y(e){let{rect:t,children:n}=e,a=t.width/338,l=t.height/a;return(0,r.jsx)("div",{className:"pointer-events-none absolute z-[60]",style:{left:t.left,top:t.top,width:t.width,height:t.height},children:(0,r.jsx)("div",{className:"absolute left-0 top-0 origin-top-left",style:{width:338,height:l,transform:"scale(".concat(a,")")},children:n})})}function W(){let{tamagotchiVideos:e,internshipVideoActive:t,internshipVideoClosed:n,internshipOpenings:l,slideshowImages:d,soundboardSounds:h,partnerForm:m,joinForm:v,cameraRig:w,lite:g=!1,autoOpenForm:b}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},y=(0,a.useMemo)(()=>({partner:m,join:v}),[m,v]),Z=function(){let[e,t]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{let e=window.sessionStorage.getItem(x);if("0"===e){t(!1);return}if("1"===e){t(!0);return}let n=function(){var e;let t=navigator.userAgent,n=/Mac/.test(t)&&navigator.maxTouchPoints>1;if(!(/iPad|iPhone|iPod/.test(t)||n))return!1;let r=Math.min(window.innerWidth,window.innerHeight),a=window.devicePixelRatio;if(/iPhone|iPod/.test(t)&&r<=380)return!0;let l=/iPad/.test(t)||n,i=null!==(e=navigator.hardwareConcurrency)&&void 0!==e?e:0;return!!l&&r<=834&&a<=2&&i<8}();try{window.sessionStorage.setItem(x,n?"1":"0")}catch(e){}t(n)},[]),e}(),R=g||Z,F=R?p.Kb:p.m6,L=(0,M.LZ)(),[W,q]=(0,a.useState)(!1),[H,U]=(0,a.useState)("partner"),[X,G]=(0,a.useState)(!1),[J,$]=(0,a.useState)(!1),[K,Q]=(0,a.useState)(!1),[ee,et]=(0,a.useState)(null),[en,er]=(0,a.useState)(null),{progress:ea,active:el,loaded:ei}=(0,o.S)(),[eo,es]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(eo||!(ei>0&&!el&&ea>=100))return;let e=setTimeout(()=>es(!0),2e3);return()=>clearTimeout(e)},[eo,ei,el,ea]);let eu=R?D:A,[ec,ed]=(0,a.useState)(0),ef=eu[ec],[ep,ex]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if("main"!==ef){ex(!1);return}let e=setTimeout(()=>ex(!0),1100);return()=>clearTimeout(e)},[ef]);let[eh,em]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(eh||!b||!eo||!ep)return;U(b),em(!0);let e=setTimeout(()=>q(!0),600);return()=>clearTimeout(e)},[eh,b,eo,ep]);let[ev,ew]=(0,a.useState)([0,0,0]),[eg]=(0,a.useState)(()=>(0,p.SF)(new Date)),eb=(0,a.useCallback)(e=>{er(e)},[]),{state:ey}=(0,C.cT)(),ek=(0,a.useCallback)(e=>{"main"!==e||"main"!==ef||W||K||q(!0)},[ef,W,K]),ej=(0,a.useCallback)(e=>{U(e)},[]),eS=(0,a.useCallback)(()=>q(!1),[]),ez=(0,a.useCallback)(e=>{et({variant:H,values:e}),Q(!0),q(!1)},[H]),eC=(0,a.useCallback)(()=>{X?$(!0):eS()},[X,eS]),eM=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{null!=eM.current&&window.clearTimeout(eM.current)},[]);let eN=(0,a.useCallback)(()=>{W?eC():K&&(Q(!1),null!=eM.current&&window.clearTimeout(eM.current),eM.current=window.setTimeout(()=>{et(null),eM.current=null},1100))},[W,K,eC]),eP=eu.length,eE=(0,a.useCallback)(e=>{W||K||J||ed(t=>Math.max(0,Math.min(eP-1,t+e)))},[W,K,J,eP]),eO=(0,a.useRef)(null),eT=(0,a.useRef)(null),eZ=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let e=eO.current;if(!e)return;let t=e=>{if(1!==e.touches.length){eT.current=null;return}eT.current={y:e.touches[0].clientY,t:e.timeStamp}},n=e=>{let t=eT.current;if(eT.current=null,!t)return;let n=e.changedTouches[0];if(!n)return;let r=n.clientY-t.y;e.timeStamp-t.t>600||40>Math.abs(r)||(e.preventDefault(),eE(r<0?1:-1))},r=e=>{!(W||K||J||30>Math.abs(e.deltaY))&&(e.timeStamp<eZ.current||(eZ.current=e.timeStamp+800,eE(e.deltaY>0?1:-1)))};return e.addEventListener("touchstart",t,{passive:!0}),e.addEventListener("touchend",n,{passive:!1}),e.addEventListener("wheel",r,{passive:!0}),()=>{e.removeEventListener("touchstart",t),e.removeEventListener("touchend",n),e.removeEventListener("wheel",r)}},[eE,W,K,J]),(0,a.useEffect)(()=>{var e;if("undefined"==typeof document)return;let t=document.documentElement,n=document.querySelector("footer"),r=t.style.overflow,a=null!==(e=null==n?void 0:n.style.display)&&void 0!==e?e:"";return t.style.overflow="hidden",n&&(n.style.display="none"),L&&L.stop(),()=>{t.style.overflow=r,n&&(n.style.display=a),L&&L.start()}},[L]),(0,r.jsx)("div",{className:"relative h-screen w-full",children:(0,r.jsxs)("div",{ref:eO,role:"img","aria-label":"Interactive 3D scene with devices",className:"fixed inset-0 z-30 overflow-hidden",style:{touchAction:"none"},children:[(0,r.jsxs)(i.Xz,{shadows:"percentage",orthographic:!0,className:"absolute inset-0",dpr:[1,1.75],c
1amera:{position:[0,0,3],zoom:100,near:-10,far:100},gl:{antialias:!1,powerPreference:"high-performance",toneMapping:c.ACESFilmicToneMapping,toneMappingExposure:1.2},style:{background:"transparent"},children:[(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(_,{}),children:(0,r.jsx)(p.ZP,{onDeviceClick:ek,scale:2.5,position:[0,0,0],centerOn:"main",activeDevice:W||K?"main":ef,tamagotchiVideos:e,internshipVideoActive:t,internshipVideoClosed:n,internshipOpenings:l,slideshowImages:d,soundboardSounds:h,contactForms:y,onToggleChange:ej,soundEnabled:"on"===ey,receiptData:ee,formOpen:W,glbUrl:F,disableIdleFloat:!0,lite:R})}),!R&&(0,r.jsx)(s.x,{children:(0,r.jsx)(u.B,{aoRadius:.5,intensity:8,distanceFalloff:.5,quality:"performance",aoSamples:8,denoiseSamples:4})}),w?(0,r.jsxs)(a.Suspense,{fallback:null,children:[(0,r.jsx)(I,{activeDeviceId:ef,receiptView:K,onCenter:ew}),(0,r.jsx)(N,{center:ev})]}):(0,r.jsx)(V,{activeDeviceId:ef,receiptView:K}),(0,r.jsx)(B,{active:!W&&!K&&"main"===ef,onRect:eb}),(0,r.jsx)(z.HF,{lights:R?O:E}),!R&&(0,r.jsx)(a.Suspense,{fallback:null,children:(0,r.jsx)(z.DH,{config:T})})]}),eo&&ep&&!W&&!K&&"main"===ef&&en&&(0,r.jsx)(Y,{rect:en,children:(0,r.jsxs)(f.E.div,{className:"absolute inset-0",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.35,ease:[.4,0,.2,1]},children:[(0,r.jsx)("p",{className:"absolute font-mono text-[16px] uppercase tracking-[-0.32px] leading-[1.1] text-white whitespace-nowrap",style:{left:18,top:20},children:eg}),(0,r.jsxs)("div",{className:"absolute flex flex-col items-start gap-[18px]",style:{left:18,top:"calc(50% + 0.5px)",transform:"translateY(-50%)",width:300},children:[(0,r.jsx)("p",{className:"font-sans font-normal text-[40px] leading-[1.2] text-white",children:p.Py[H]}),(0,r.jsx)("button",{type:"button",onClick:()=>q(!0),"aria-label":"Start contact form",className:"pointer-events-auto rounded-[6px] border-[1.324px] border-solid border-white bg-white px-[18px] py-[14px] font-sans font-semibold text-[12px] uppercase tracking-[0.24px] text-black",children:"Start"})]})]})}),W&&(0,r.jsx)(k,{variant:H,config:y[H],onClose:eC,onDirtyChange:G,onSubmitted:ez}),J&&(0,r.jsx)(j.o,{rect:null,onConfirm:()=>{$(!1),eS()},onCancel:()=>$(!1)}),K&&!W&&(0,r.jsx)("button",{type:"button",onClick:eN,className:"fixed left-5 top-[100px] z-[70] flex h-[56px] w-[56px] items-center justify-center rounded-[10px] border-2 border-black bg-[#F0BF2C] text-black shadow-[0_4px_12px_rgba(0,0,0,0.18)]","aria-label":"Close receipt",children:(0,r.jsx)("svg",{"aria-hidden":"true",width:"28",height:"28",viewBox:"0 0 40 40",fill:"none",stroke:"currentColor",strokeWidth:"3",children:(0,r.jsx)("path",{d:"M30 10L10 30M10 10l20 20"})})}),w&&(0,r.jsx)(a.Suspense,{fallback:null,children:(0,r.jsx)(P,{label:"Rig: ".concat(K?"receipt":ef)})}),(0,r.jsx)(S.i,{})]})})}}}]);
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.