1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9184],{75115:function(e,t,n){n.r(t),n.d(t,{SettingsProvider:function(){return i},useSettingsContext:function(){return s}});var a=n(57437),l=n(2265);let r={settings:{logo:{key:"none"},logoMobile:{key:"none"},menu:{navItems:[]},baseUrl:"https://fireburnsup.com"}},o=(0,l.createContext)(r),i=e=>{let{children:t,settings:n}=e,[i,s]=(0,l.useState)(n||r.settings);return(0,a.jsx)(o.Provider,{value:{settings:i,setSettings:e=>{s(e)}},children:t})},s=()=>(0,l.useContext)(o)},54775:function(e,t,n){n.d(t,{M:function(){return a}});let a=e=>{let{condition:t,wrapper:n,children:a}=e;return t?n(a):a}},76051:function(e,t,n){n.d(t,{X:function(){return c}});var a=n(57437),l=n(95618),r=n(20703),o=n(54775),i=n(72797),s=n(74035);let c=e=>{let{className:t="",alt:n,image:c,category:u,link:d}=e;return(0,a.jsxs)("section",{className:"".concat(t),children:[(0,a.jsx)(o.M,{condition:d,wrapper:e=>(0,a.jsx)(s.Z,{href:d||"",children:e}),children:(0,a.jsx)("div",{className:"aspect-[467/264] relative",children:(0,a.jsx)(r.default,{alt:n,src:(0,l.i)(c).url(),fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",style:{objectFit:"cover"},placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAPAAAAAAAP///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="})})}),u.length&&(0,a.jsx)("div",{className:"absolute left-4 top-4",children:u.map(e=>(0,a.jsx)(i.$,{className:"mb-1",category:e},"imageWithCategory_".concat(null==e?void 0:e._id).concat(c._id)))})]})}},72797:function(e,t,n){n.d(t,{$:function(){return s}});var a=n(57437),l=n(8792),r=n(54775),o=n(45740),i=n(2265);let s=e=>{let{className:t="",children:n,category:s}=e,c=s?(0,o.vl)({current:""},[s]):null;return(0,a.jsx)(r.M,{wrapper:e=>(0,a.jsx)(l.default,{href:c||"",children:e}),condition:c,children:(0,a.jsx)("div",{className:"".concat(t," transition-colors w-fit px-4 py-2 bg-fb text-tileLabel bg-fbu-grey-label rounded-sm ").concat(c?"hover:bg-fbu-magenta":""),children:(0,a.jsx)(i.Suspense,{children:s&&!n?(0,o.aX)(s):n})})})}},74035:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(57437);let l=(e,t)=>{document.querySelectorAll(".transition").forEach(e=>{e.classList.contains("transition-out")||e.classList.add("transition-out")}),setTimeout(()=>{t.push(e)},300)};var r=n(8792),o=n(47907);function i(e){let{href:t,className:n="",children:i}=e,s=(0,o.useRouter)();return(0,a.jsx)(r.default,{href:"#",className:"".concat(n),onClick:e=>{e.preventDefault(),l(t,s)},children:i})}},97647:function(e,t,n){n.d(t,{c:function(){return r}});var a=n(57437),l=n(95276);let r=e=>{let{parentId:t,className:n="",style:r={},characterClassName:o={},children:i,active:s=!0,paddingAmount:c=4,direction:u=l.JR.UP}=e;return(0,a.jsx)("div",{className:"".concat(n," group/textScroll"),style:r,children:i.split("").map((e,n)=>{let r=" "===e?(0,a.jsx)(a.Fragment,{children:"\xa0"}):e;return(0,a.jsxs)("span",{className:"".concat(o," relative inline-block overflow-hidden"),children:[(0,a.jsx)("span",{className:'"\n py-'.concat(c,"\n transition-all\n ease-out\n translate-y-0\n ").concat(!0===s?"group-hover/textScroll:".concat(u===l.JR.UP?"-translate-y-".concat(4*c):"translate-y-".concat(4*c)):"","\n inline-block \n delay-").concat(50*n),children:r}),(0,a.jsx)("span",{className:'"\n ease-out\n left-0\n py-'.concat(c,"\n transition-all\n absolute\n ").concat(u===l.JR.UP?"":"-","translate-y-").concat(4*c,"\n ").concat(!0===s?"group-hover/textScroll:translate-y-0":"","\n inline-block\n delay-").concat(50*n+50),"aria-hidden":!0,"data-nosnippet":!0,children:r})]},"key_textscrollwave_".concat(t,"_").concat(r,"_").concat(n))})})}},80528:function(e,t,n){n.r(t),n.d(t,{MoreInfoForm:function(){return c}});var a=n(57437),l=n(97647),r=n(97173),o=n(70511),i=n(47466),s=n(2265);let c=()=>{let[e,t]=(0,s.useState)(!1);(0,s.useEffect)(()=>{(async()=>{t("true"===await localStorage.getItem("viewNDA"))})()},[]);
1let[n,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(""),[m,f]=(0,s.useState)(""),[x,h]=(0,s.useState)(""),{refsByKey:v,setRef:p}=(0,o.v)(),g=async e=>{if(e.preventDefault(),!(0,r.S)(n)||!(0,r.v)(x)){var a,l;return v&&(null==v?void 0:null===(a=v.firstName)||void 0===a?void 0:a.textContent)&&(null==v?void 0:null===(l=v.email)||void 0===l?void 0:l.textContent)&&(v.firstName.textContent=v.email.textContent="",(0,r.S)(n)||(v.firstName.textContent="Please enter First Name"),(0,r.S)(x)||(v.email.textContent="Please enter valid Email")),console.log("error")}try{let e=await (0,i.B)({firstName:n,lastName:u,workplace:m,email:x});e.success?(console.log("success",e),t(!0),localStorage.setItem("viewNDA","true")):console.log("error")}catch(e){console.log("error",e)}},b="text-fbu-red mb-4 block text-sm",N="w-full pr-6 rounded-sm text-right text-placeholder font-normal border-white !border-[1px] h-[50px] bg-transparent text-white focus:outline-none";return(0,a.jsxs)("div",{className:"flex flex-col justify-start items-end w-full",children:[!0===e&&(0,a.jsx)("h2",{className:"text-subnavigationLarge leading-8 mb-4 max-w-80",children:"Extra work unlocked!"}),!0!==e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-subnavigationLarge leading-8 mb-4 max-w-80",children:"We would love to show you more of our work"}),(0,a.jsx)("p",{className:"text-bodyLinks leading-6 mb-4 font-bold max-w-80",children:"Due to the nature of our work, we can't share everything publicly\n by submitting this form you agree not to reveal our confidential\n information."}),(0,a.jsxs)("form",{onSubmit:g,className:"w-full",children:[(0,a.jsx)("input",{type:"text",id:"firstName",className:"".concat(N),value:n,onChange:e=>c(e.target.value),placeholder:"First Name",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"firstName",className:"".concat(b),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("input",{type:"text",id:"lastName",className:"".concat(N),value:u,onChange:e=>d(e.target.value),placeholder:"Last Name",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"lastName",className:"".concat(b),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("input",{type:"text",id:"workplace",className:"".concat(N),value:m,onChange:e=>f(e.target.value),placeholder:"Workplace",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"workplace",className:"".concat(b),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("input",{type:"email",id:"email",className:"".concat(N),value:x,onChange:e=>h(e.target.value),placeholder:"Email Address",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"email",className:"".concat(b," mb-9"),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("button",{type:"submit",className:"text-black bg-white hover:bg-fbu-magenta hover:text-white inline-flex flex-col gap-5 justify-center items-center px-3 pt-1 text-placeholder h-full",children:(0,a.jsx)(l.c,{parentId:"moreinfoFromSubmit_",paddingAmount:2,children:"SUBMIT"})})]})]})]})}},84155:function(e,t,n){n.d(t,{C:function(){return x}});var a=n(57437),l=n(95276),r=n(2265),o=n(74961),i=e=>{let{className:t="",children:n,transition:i,active:s=!0,showLog:c=!1,threshold:u=1,rootMargin:d="0px",freeze:m=!1,onEntryChange:f,style:x={},onClick:h}=e,[v,p]=(0,r.useState)(l.TP.BEFORE),[g,b]=(0,o.S1)({threshold:u,root:null,rootMargin:d}),{appearIn:N="opacity-100 translate-y-0",appearOutBefore:j="opacity-0 translate-y-8",appearOutAfter:y="opacity-0 translate-y-8"}=i||{};return(0,r.useEffect)(()=>{c&&console.log("isIntersecting",b),f&&f(b,v),b?p(l.TP.DURING):m||p(l.TP.AFTER)},[b]),(0,a.jsx)("span",{ref:g,children:(0,a.jsx)("div",{onClick:()=>{h&&h()},style:x,className:"transition-all duration-500 ease-out ".concat(t," ").concat(s&&v===l.TP.DURING?N:"","\n ").concat(s&&v===l.TP.BEFORE?j:"","\n ").concat(s&&v===l.TP.AFTER?y:""),children:n})})},s=n(45740),c=n(54775),u=n(76051),d=n(74035);let m=e=>{let{data:t,index:n=0}=e,{title:l,slug:o,nda:m,shortTitle:f,imageCard:x,image:h,date:v,_id:p,description:g,body:b,category:N}=t,[j,y]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{(async()=>{{let e=await localStorage.getItem("viewNDA");y(!m||"true"===e)}})()},[m]),(0,a.jsxs)(i,{className:"md:min-h-96 trans grid ",threshold:.5+n%3*.1,transition:{appearOutAfter:"opacity-0 -translate-y-8"}
1,children:[(x||h)&&(()=>{let e=x||h;return(0,a.jsx)(u.X,{className:"w-full aspect-[467/264] mb-8 ".concat(j?"":"blur-sm"),alt:(null==e?void 0:e.alt)||l,image:e,category:N,link:j?(0,s.vl)(o,N):""})})(),(0,a.jsxs)("section",{className:"",children:[(0,a.jsx)(c.M,{condition:j,wrapper:e=>(0,a.jsx)(d.Z,{href:(0,s.vl)(o,N),children:e}),children:(0,a.jsx)("header",{className:"text-tileHeader",children:j?f||l:"Unlock only"})}),(0,a.jsx)("article",{className:"text-body mt-2",children:j?g:"This project is super secret; unlock it using the menu above to view this content!"})]}),j&&(0,a.jsxs)(d.Z,{href:(0,s.vl)(o,N),className:"mt-4 self-end block font-semibold underline hover:no-underline",children:["Read ",f||l]})]})};var f=n(97647);let x=e=>{let{data:t,showFilter:n=!0}=e,{categories:l,cards:o}=t,s=[...new Map(o.map(e=>[e._id,e])).values()].sort((e,t)=>e.date<t.date?1:-1),[u,d]=(0,r.useState)(s),[x,h]=(0,r.useState)(null);(0,r.useEffect)(()=>{null===x?d(s):d(s.filter(e=>e.category.filter(e=>{var t,n;return e.title===x.title&&(null==e?void 0:null===(t=e.parent)||void 0===t?void 0:t.title)===(null==x?void 0:null===(n=x.parent)||void 0===n?void 0:n.title)}).length>0))},[x]);let v=e=>{JSON.stringify(e)===JSON.stringify(x)?h(null):h(e)};return(0,a.jsxs)(a.Fragment,{children:[n&&(0,a.jsxs)("ul",{className:"flex gap-x-3 justify-start items-center mb-8 text-tileFilter",children:[(0,a.jsx)("li",{onClick:()=>{v(null)},children:(0,a.jsx)(i,{threshold:0,rootMargin:"-5%",className:"px-4 h-9 flex justify-center items-center ".concat(null===x?"bg-fbu-magenta":"cursor-pointer"),children:(0,a.jsx)(c.M,{condition:null===x&&l&&(null==l?void 0:l.length)>1,wrapper:e=>(0,a.jsx)(f.c,{paddingAmount:2,parentId:"filter_all",children:e}),children:(null==l?void 0:l.length)!==1?"All":l[0].title})})}),l&&l.length>1&&l.sort((e,t)=>(null==e?void 0:e.title)<(null==t?void 0:t.title)?-1:1).map((e,t)=>(0,a.jsx)("li",{onClick:()=>{v(e)},children:(0,a.jsx)(i,{threshold:(t+1)/(2*l.length),rootMargin:"-5%",className:"px-4 h-9 flex justify-center items-center ".concat(e._id===(null==x?void 0:x._id)?"bg-fbu-magenta":"cursor-pointer"),children:(0,a.jsx)(c.M,{condition:e._id!==(null==x?void 0:x._id),wrapper:t=>(0,a.jsx)(f.c,{paddingAmount:2,parentId:(null==e?void 0:e._id)||"",children:t}),children:e.title})})},"gridCard_card_".concat(null==e?void 0:e._id)))]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-x-2 gap-y-12 grid-col",children:u&&u.map((e,t)=>(0,a.jsx)(m,{index:t,data:e},"gridCard_".concat(null==e?void 0:e._id)))})]})}},89835:function(e,t,n){n.d(t,{b:function(){return m}});var a=n(57437),l=n(97647),r=n(97173),o=n(70511),i=n(47466),s=n(2265);let c=()=>{let[e,t]=(0,s.useState)(!1),[n,c]=(0,s.useState)(""),[u,d]=(0,s.use
1State)(""),[m,f]=(0,s.useState)(""),[x,h]=(0,s.useState)(""),{refsByKey:v,setRef:p}=(0,o.v)(),g=async e=>{if(e.preventDefault(),!(0,r.S)(n)||!(0,r.v)(x)||!(0,r.S)(m)){var a,l,o;return v&&(null==v?void 0:null===(a=v.firstName)||void 0===a?void 0:a.textContent)&&(null==v?void 0:null===(l=v.email)||void 0===l?void 0:l.textContent)&&(null==v?void 0:null===(o=v.textMessage)||void 0===o?void 0:o.textContent)&&(v.firstName.textContent=v.email.textContent=v.textMessage.textContent="",(0,r.S)(n)||(v.firstName.textContent="Please enter First Name"),(0,r.S)(x)||(v.email.textContent="Please enter valid Email"),(0,r.S)(m)||(v.textMessage.textContent="Please enter a message; kind of the point...")),console.log("error")}try{let e=await (0,i.I)({firstName:n,lastName:u,message:m,email:x});e.success?(console.log("success",e),t(!0)):console.log("error")}catch(e){console.log("error",e)}},b="text-fbu-red mb-4 block text-sm",N="w-full pr-6 rounded-sm text-right text-placeholder font-normal border-white !border-[1px] h-[50px] bg-transparent text-white focus:outline-none";return(0,a.jsxs)("div",{className:"flex flex-col justify-start items-end w-full text-right",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-subnavigationLarge leading-8 mb-4 max-w-80",children:"Your message has been sent - thanks!"})," "]}),!e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-subnavigationLarge leading-8 mb-4 max-w-80",children:"There's so much we'd love to talk about!"}),(0,a.jsx)("p",{className:"text-bodyLinks leading-6 mb-4 font-bold max-w-80",children:"Our work is complex, our partners are amazing. We want to help you bring quality crafts and disruptive ideas to life!"}),(0,a.jsxs)("form",{onSubmit:g,className:"w-full",children:[(0,a.jsx)("input",{type:"text",id:"firstName",className:"".concat(N),value:n,onChange:e=>c(e.target.value),placeholder:"First Name",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"firstName",className:"".concat(b),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("input",{type:"text",id:"lastName",className:"".concat(N),value:u,onChange:e=>d(e.target.value),placeholder:"Last Name",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"lastName",className:"".concat(b),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("input",{type:"email",id:"email",className:"".concat(N),value:x,onChange:e=>h(e.target.value),placeholder:"Email Address",autoComplete:"off"}),(0,a.jsx)("label",{htmlFor:"email",className:"".concat(b," mb-9"),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("textarea",{id:"textMessage",className:"".concat(N," h-32 pt-2"),value:m,onChange:e=>f(e.target.value),placeholder:"Your Message"}),(0,a.jsx)("label",{htmlFor:"textMessage",className:"".concat(b," mb-9"),ref:e=>{e&&p(e,e.htmlFor)}}),(0,a.jsx)("button",{type:"submit",className:"text-black bg-white hover:bg-fbu-magenta hover:text-white inline-flex flex-col gap-5 justify-center items-center px-3 pt-1 h-9 text-placeholder max-h-9",children:(0,a.jsx)(l.c,{parentId:"moreinfoFromSubmit_",paddingAmount:2,children:"Let's Talk"})})]})]})]})};var u=n(80528),d=n(84155);let m=e=>{let{...t}=e;if(null===t)return null;let{_type:n}=t;switch(n){case"module.MoreInfoForm":return(0,a.jsx)(u.MoreInfoForm,{});case"module.ContactUsForm":return(0,a.jsx)(c,{});case"module.grid.card":var l;return(0,a.jsx)(d.C,{data:{...t,cards:null==t?void 0:null===(l=t.categories)||void 0===l?void 0:l.map(e=>null==e?void 0:e.content).flat().filter(e=>void 0!=e)}});default:return null}}},45740:function(e,t,n){n.d(t,{MS:function(){return r},aX:function(){return l},vl:function(){return a}});let a=(e,t)=>{var n;let a=[t.sort((e,t)=>(null==e?void 0:e.parent)||!t.parent?-1:1)[0]].map(e=>{var t;return"".concat((null===(t=e.parent)||void 0===t?void 0:t.title)?"/".concat(e.parent.title):"").concat(e.title?"/".concat(e.title):"")});return"".concat(null===(n=String(a))||void 0===n?void 0:n.toLowerCase()).concat(e?"/".concat(e.current):"")},l=e=>"".concat(e.parent?"".concat(e.parent.title,": "):"").concat(e.title),r=function(e,t){var n,a;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(null==e?void 0:null===(a=e.uiTextCopy)||void 0===a?void 0:null===(n=a.find(e=>(null==e?void 0:e.key)===t))||void 0===n?void 0:n.value)||l}},97173:function(e,t,n){n.d(t,{S:function(){return a},v:function(){return l}});let a=e=>e.trim().length>0,l=e=>String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)},70511:function(e,t,n){n.d(t,{v:function(){return l}});var a=n(2265);let l=()=>{let e=(0,a.useRef)({});return{refsByKey:e.current,setRef:(t,n)=>{e.current[n]=t}}}},47466:function(e,t,n){n.d(t,{B:function(){return l},I:function(){return r}}),n(15355);var a=n(13472),l=(0,a.$)("d00d144dce0497706a87bfe43824480e2f5181d5"),r=(0,a.$)("8eaaa9c7a37e4c12e8d9dfb21435572ac8462d4d")},80516:function(e,t,n){n.d(t,{Sx:function(){return o},gx:function(){return r},tW:function(){return l}});var a=n(25566);let l=a.env.NEXT_PUBLIC_SANITY_API_VERSION||"2023-11-28",r=i("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),o=i("c14pjeag","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function i(e,t){if(void 0===e)throw Error(t);return e}i("".concat(a.env.SANITY_API_READ_TOKEN),"Missing environment variable:SANITY_API_READ_TOKEN")},95618:function(e,t,n){n.d(t,{i:function(){return i}});var a=n(75808),l=n.n(a),r=n(80516);let o=l()({projectId:r.Sx||"",dataset:r.gx||""}),i=e=>null==o?void 0:o.image(e).auto("format").fit("max")},95276:function(e,t,n){var a,l,r,o,i,s;n.d(t,{FP:function(){return r},JR:function(){return a},TP:function(){return l}}),(o=a||(a={}
1))[o.UP=0]="UP",o[o.DOWN=1]="DOWN",o[o.LEFT=2]="LEFT",o[o.RIGHT=3]="RIGHT",(i=l||(l={}))[i.BEFORE=0]="BEFORE",i[i.DURING=1]="DURING",i[i.AFTER=2]="AFTER",(s=r||(r={})).LIGHTBOX_TOGGLE="LIGHTBOX_TOGGLE",s.LIGHTBOX_HIDE="LIGHTBOX_HIDE",s.LIGHTBOX_SHOW="LIGHTBOX_SHOW"}}]);
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.