PageSourceSearch

https://concept-print-frontend-prod-49aoz.ondigitalocean.app/_next/static/chunks/7425-d4a325355c162453.js

js concept-print-frontend-prod-49aoz.ondigitalocean.app collected 2026-10-03 14:55:01 UTC 63,966 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7425],{6370:function(e,i){i.Z={src:"/_next/static/media/arrow-down.aba26d84.svg",height:40,width:40,blurWidth:0,blurHeight:0}},73059:function(e,i){i.Z={src:"/_next/static/media/concept-logo-white.e3714d2f.svg",height:169,width:170,blurWidth:0,blurHeight:0}},85283:function(e,i){i.Z={src:"/_next/static/media/missing-image-icon.a03e8cf2.svg",height:35,width:40,blurWidth:0,blurHeight:0}},61282:function(e,i,t){t.d(i,{L:function(){return g}});var a=t(35944),n=t(71494),l=t(21150),r=t(40833),s=t(36617),d=t(31625),o=t(99792),c=t(89555),m=t(4361),u=t(58817),p=t(56558),h=t(8771);function g(e){let{email:i}=e,t=(0,d.IB)(l.y,{defaultValues:{email:i||""}}),{register:g,handleSubmit:f,required:x,data:b,formState:v,watch:k,error:N}=t,y=f(()=>{});return v.isSubmitSuccessful&&b?(0,a.tZ)(u.Z,{severity:"success",variant:"standard",sx:e=>({marginTop:e.spacings.md,marginBottom:e.spacings.sm}),children:(0,a.tZ)(m.cC,{id:"We’ve send a password reset link to your email address!"})}):(0,a.BX)(r.l,{onSubmit:y,noValidate:!0,children:[(0,a.tZ)(h.$,{label:(0,a.tZ)(m.cC,{id:"Email address"}),variant:"outlined",type:"email",autoComplete:"email",color:"primary",size:"small",required:x.email,error:v.isSubmitted&&!!v.errors.email,disabled:v.isSubmitting,...g("email",{required:x.email,pattern:{value:o.s9,message:c.ag._("Invalid email address")}}),className:"w-full",value:k("email")}),(0,a.tZ)(n._,{error:N}),(0,a.tZ)(s.i,{children:(0,a.tZ)(p.K3,{type:"submit",className:"w-[260px] max-w-[260px] bg-material-ui-blue uppercase",variant:"contained",loading:v.isSubmitting,children:c.ag._("Send password reset email")})})]})}},54762:function(e,i,t){t.d(i,{d:function(){return s}});var a=t(35944),n=t(31625),l=t(4361),r=t(8771);function s(e){let{form:i,readOnly:t,required:s,isFullWidth:d,noPadding:o,columnDisplay:c=!1,className:m}=e;(0,n.od)(i);let{formState:u,register:p,valid:h}=i;return(0,a.BX)("div",{className:`flex w-full flex-col gap-x-5 ${c?"gap-y-6":"gap-y-5 md:flex-row"} ${m}`,children:[(0,a.tZ)(r.$,{label:(0,a.tZ)(l.cC,{id:"First Name"}),variant:"outlined",disabled:t,error:!!u.errors.firstname,required:s,...p("firstname",{required:!0}),className:"min-w-[260px]",size:"small",sx:{width:"260px",minWidth:"260px"}}),(0,a.tZ)(r.$,{label:(0,a.tZ)(l.cC,{id:"Last Name"}),variant:"outlined",disabled:t,required:s,error:!!u.errors.lastname,...p("lastname",{required:!0}),className:"min-w-[260px]",size:"small",sx:{width:"260px",minWidth:"260px"}})]})}},27934:function(e,i,t){t.d(i,{m:function(){return x}});var a=t(35944),n=t(67294),l=t(37887);let r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SocialSignIns"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amSocialLoginButtonConfig"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"url"}}]}}]}}]};var s=t(66252),d=t(33573),o=t(4361),c=t(25675),m=t.n(c),u=t(94910),p=t(97444),h=t(83726),g={src:"/_next/static/media/google.f204236e.svg",height:24,width:24,blurWidth:0,blurHeight:0};function f(e){let{url:i}=e,t=(0,s.x)(),{setDrawer:l,drawer:r,setRedirectAfterSignIn:c}=(0,n.useContext)(h.m),[f,x]=(0,n.useState)(),b=(0,n.useCallback)(e=>{if(e.data?.result===1&&e.data?.token){if(t.cache.writeQuery({query:d.g,data:{customerToken:{token:e.data?.token,__typename:"CustomerToken",createdAt:new Date().toUTCString(),valid:!0}}}),"auth"===r.id&&"string"==typeof r.params?.redirectAfterSignIn){let e=r.params.redirectAfterSignIn;l({id:!1}),c(e)}}else e.data?.messages?.at(0)&&x(e.data?.messages?.at(0))},[r]),v=(0,n.useCallback)((e,i,t,a)=>{let n=(screen.width-t)/2,l=(screen.height-a)/4;window.open(e,i,`resizable=yes, width=${t}, height=${a}, top=${l}, left=${n}`)},[]);return((0,n.useEffect)(()=>(window?.addEventListener("message",b,!1),()=>{window?.removeEventListener("message",b,!1)}),[b]),i)?(0,a.BX)("div",{className:"flex-row items-center justify-center text-center",children:[(0,a.tZ)(u.z,{label:(0,a.BX)(a.HY,{children:[(0,a.tZ)(m(),{className:"mr-[12px] inline-block h-[14px] max-h-[14px]",alt:"Google Sign In",src:g}),(0,a.tZ)(o.cC,{id:"Sign in with Google"})]}),onClick:()=>v(`${i}&generateToken=true&isAjax=1`,"Google Sign In",450,450),color:"white",className:"w-full max-w-[260px] py-0"}),f&&(0,a.tZ)(p.v,{type:"error",content:f,containerClassName:"my-[15px] max-w-[275px] w-full"})]}):null}function x(){let{data:e,loading:i}=(0,l.a)(r),t=(0,n.useCallback)(e=>"google"===e.type?(0,a.tZ)(f,{...e}):null,[]);return i?null:(0,a.tZ)(a.HY,{children:e?.amSocialLoginButtonConfig?.map(e=>e?t(e):null)})}},18164:function(e,i,t){t.d(i,{$:function(){return p}});var a=t(35944),n=t(33197),l=t(41664),r=t.n(l),s=t(73059),d={src:"/_next/static/media/concept-name-white.bc84d51c.svg",height:28,width:171,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/facebook.b915074a.svg",height:25,width:24,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/instagram.ea8f49b1.svg",height:25,width:24,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/linkedin.744bb1c3.svg",height:512,width:512,blurWidth:0,blurHeight:0};function u(e){let{footer:i}=e;return(0,a.BX)("footer",{className:"bg-concept-print-orange px-[35px] pb-[6px] pt-[24px] text-pure-white md:flex lg:p-0",children:[(0,a.BX)("div",{className:"mb-[18px] flex items-center justify-between lg:relative lg:mb-0 lg:block",children:[(0,a.tZ)("div",{className:"footerImage hidden h-full min-h-full md:block",children:(0,a.tZ)(r
1(),{href:"/",legacyBehavior:!0,children:(0,a.BX)("div",{className:"flex h-[54px] flex-col items-center justify-center px-8 md:pt-[80px] lg:pt-[100px]",children:[(0,a.tZ)(n.Ee,{alt:"Concept Print Logo",src:s.Z,className:"scale-[70%]",unoptimized:!0}),(0,a.tZ)(n.Ee,{src:d,alt:"Concept Print Logo",unoptimized:!0,layout:"fixed",className:"scale-[80%]"})]})})}),(0,a.tZ)(r(),{href:"/",className:"ml-[20px] flex h-[34px] w-[106px] scale-150 items-center justify-center md:hidden",children:(0,a.tZ)(n.Ee,{src:d,alt:"Concept Print Logo",unoptimized:!0,className:"h-full w-full"})})]}),(0,a.tZ)("div",{className:"grow-[0.5] text-concept-print-white lg:pb-[27px]  lg:pt-[48px]",children:(0,a.tZ)("div",{className:"max-[400px] mb-[17px] flex justify-around lg:mb-[45px] lg:items-start lg:gap-x-10",children:(0,a.BX)("div",{children:[(0,a.tZ)("p",{className:"Type-XXL-Bold lg:Type-XXXL-Bold mb-3.5 lg:mb-4",children:"Resources"}),(0,a.tZ)("ul",{children:i?.resources?.map(e=>a.tZ("li",{className:"mb-[8px]",children:a.tZ("span",{className:"Type-Large-Medium lg:Type-XL-Medium hover:text-pure-white-hover hover:underline",children:a.tZ(r(),{href:e.url,children:e.label})})},e.label))})]})})}),(0,a.BX)("div",{className:"flex grow-[0.5] flex-col items-center justify-between text-concept-print-white lg:pb-[27px] lg:pt-[48px]",children:[(0,a.tZ)("div",{className:"flex h-full flex-col items-center justify-between gap-[35px]",children:(0,a.BX)("div",{className:"epadding-[5px] hidden w-full flex-col items-center justify-center rounded-[5px] border-[1px] border-concept-print-white md:block",children:[(0,a.tZ)("span",{className:"Type-XXXL-Bold flex w-full max-w-[300px] items-center justify-center border-b-[1px] bg-concept-print-white py-[5px] text-concept-print-orange",children:"Contact"}),(0,a.tZ)("div",{className:"flex w-[300px] max-w-[300px] items-center justify-center p-[10px] text-concept-print-white",children:(0,a.BX)("div",{children:[(0,a.BX)("span",{className:"mb-[10px] grid grid-cols-[20fr_80fr] items-center justify-between",children:[(0,a.tZ)("span",{className:"material-symbols-outlined mr-[5px]",children:"location_on"}),(0,a.tZ)("span",{className:"Type-XL-Medium ml-[2px]",children:"Concept Print"}),(0,a.tZ)("div",{}),(0,a.tZ)("span",{className:"Type-XL-Medium ml-[2px]",children:" 40 Lydecker Street"}),(0,a.tZ)("div",{}),(0,a.tZ)("span",{className:"Type-XL-Medium ml-[2px]",children:" Nyack, NY 10960"})]}),(0,a.BX)("span",{className:"mb-[10px] grid grid-cols-[20fr_80fr] items-center justify-between",children:[(0,a.tZ)("span",{className:"material-symbols-outlined mr-[5px]",children:"mail"}),(0,a.tZ)("span",{className:"Type-XL-Medium ml-[2px]",children:(0,a.tZ)("a",{href:"mailto:[email protected]",children:"[email protected]"})})]}),(0,a.BX)("span",{className:"grid grid-cols-[20fr_80fr] items-center justify-center",children:[(0,a.tZ)("span",{className:"material-symbols-outlined mr-[5px]",children:"call"}),(0,a.tZ)("span",{className:"Type-XL-Medium ml-[2px]",children:"845-353-4040"})]})]})})]})}),(0,a.tZ)("div",{className:"flex h-full flex-col items-center justify-center",children:(0,a.tZ)("ul",{className:"hidden gap-x-3 lg:flex",children:[{image:c,href:"https://www.instagram.com/conceptprint",alt:"instagram",isMobile:!0,id:"socialsFooterIg"},{image:o,href:"https://www.facebook.com/ConceptPrint1993",alt:"facebook",isMobile:!0,id:"socialsFooterFB"},{image:m,href:"https://www.linkedin.com/company/conceptprintinginc",alt:"linkedin",isMobile:!0,id:"socialsFooterLI"}].map((e,i)=>(0,a.tZ)("li",{children:(0,a.tZ)("a",{href:e.href,target:"_blank",rel:"noreferrer",children:(0,a.tZ)(n.Ee,{src:e.image,alt:e.alt,id:e.id,unoptimized:!0,height:25,width:25,className:"h-[25px] text-concept-print-white"})})},e.href))})})]})]})}function p(e){return(0,a.tZ)(u,{...e})}},10790:function(e,i,t){t.d(i,{h:function(){return ic}});var a=t(35944),n=t(89555),l=t(55058),r=t(41664),s=t.n(r),d=t(67294),o=()=>{let[e,i]=(0,d.useState)();return(0,d.useEffect)(()=>{i({isAndroid:!!window?.navigator?.userAgent?.match(/Android/i),isIOS:!!window?.navigator?.userAgent?.match(/iPhone|iPad|iPod/i),isIPad:!!window?.navigator?.userAgent?.match(/iPad/i),isMobile:!!window?.navigator?.userAgent?.match(/Mobile/i),isTablet:!!window?.navigator?.userAgent?.match(/Tablet/i),isWindows:!!window?.navigator?.userAgent?.match(/IEMobile/i)||!!window?.navigator?.userAgent?.match(/WPDesktop/i)})},[]),e},c=t(7423),m=t(24901),u=t(77329),p=t(4361),h=t(79683),g=t(25955),f=t(11013),x=t(56841),b=t(36617),v=t(5637),k=t(98743),N=t(17155),y=t(11163),w=t.n(y),Z=t(40387),S=t(62464);let C={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IsEmailAvailable"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEmailAvailable"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"is_email_available"}},{kind:"Field",name:{kind:"Name",value:"is_sub_user"}}]}}]}}]};var _=t(66252),F=t(71494),T=t(33573),B=t(38036),X=t(31625),I=t(99792),j=t(43056),V=t(94910),L=t(58115),P=t(97444),M=t(83726),R=t(56779);let A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SignInSubUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bssGenerateSubUserToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}}]}}]}}]};function E(e){let{email:i,sx:t,disableFields:l,register:r,mode:s,hasSocials:o,setHaSocials:c,switchModeToForgotPass:m}=e,{drawer:u,setRedirectAfterSignIn:h}=(0,d.useContext)(M.m),g=(0,y.useRouter)(),f=(0,_.x)(),x=(0,X.IB)(A,{defaultValues:{email:i},onComplete:e=>{let{data:i}=e,t=i?.bssGenerateSubUserToken?.token;t&&(f.cache.writeQuery({query:T.g,data:{customerToken:{token:t,__typename:"CustomerToken",createdAt:new Date().toUTCString(),valid:!0}}}),g.push("/").then(()=>{}).catch(()=>{}))}},{errorPolicy:"all"}),{register:v,handleSubmit:N,required:w,formState:Z,error:S}=x,[C,E]=(0,B.o)({category:"graphql-authentication",error:S}),D=N(()=>{"auth"===u.id&&"string"==typeof u.params?.redirectAfterSignIn&&h(u.params?.redirectAfterSignIn)}),[$,O]=(0,d.useState)("");return(0,d.useEffect)(()=>{let e=E&&E?.message?.indexOf("The account sign-in was incorrect")>=0?"Invalid password, please try again":E?.message;E?.extensions?.hasSocials?.includes("google")&&c?(c(!0),O(n.ag._("This account has Google sign-in enabled. Please click the button above to sign in with Google instead."))):O(e??"")},[E,c]),(0,a.BX)(k.Z,{component:"form",onSubmit:D,noValidate:!0,sx:t,children:[!o&&(0,a.BX)("div",{className:"flex flex-col justify-center gap-[22px]",children:[(0,a.tZ)(R.o,{topLabel:(0,a.tZ)(p.cC,{id:"Email address"}),required:w.email,error:Z.isSubmitted&&!!Z.errors.email,disabled:l||Z.isSubmitting,...r("email",{required:w.email,pattern:{value:I.s9,message:""}}),type:"email",className:"w-full",containerClassName:"w-[260px] min-w-[260px] max-w-full",autoComplete:"email"}),(0,a.tZ)(R.o,{type:"password",error:!!Z.errors.password||!!E,topLabel:(0,a.tZ)(p.cC,{id:"Password"}),autoFocus:!0,autoComplete:"current-password",id:"current-password",required:w.password,containerClassName:"w-[260px] min-w-[260px] max-w-full",helperText:Z.errors.password?.message,disabled:Z.isSubmitting,...v("password",{required:w.password}),className:"w-full",children:(0,a.tZ)("div",{className:"mt-[5px] hidden text-right",children:(0,a.tZ)("button",{className:"Type-Large-Medium text-turquoise",onClick:()=>m(),type:"button",children:(0,a.tZ)(p.cC,{id:"Forgot password?"})})})},"password")]}),E&&(0,a.tZ)(P.v,{containerClassName:"mt-[20px]",content:$}),(0,a.tZ)(F._,{error:C},"error"),!o&&"signup"!==s&&(0,a.tZ)(b.i,{children:(0,a.tZ)(j.Z,{children:(0,a.tZ)(V.z,{type:"submit",loading:Z.isSubmitting,color:"blue",label:(0,a.BX)("span",{className:"flex items-center",children:[(0,a.tZ)(p.cC,{id:"Continue"})," ",(0,a.tZ)(L.J,{name:"arrow_forward",className:"ml-[10px] text-[20px] font-bold"})]}),className:"px-5 py-1"})})})]})}var D=t(56558),$=t(61282),O=t(21783),z=t(58817),q=t(68472),H=t(8771);function W(e){let{email:i,switchModeToForgotPass:t,sx:l,hasSocials:r,setHaSocials:s,disableFields:o,register:c,mode:m,switchModeToSignUp:u}=e,{drawer:h,setRedirectAfterSignIn:g}=(0,d.useContext)(M.m),x=(0,_.x)(),v=(0,X.IB)(O.v,{defaultValues:{email:i},onBeforeSubmit:async e=>{let t=x.cache.readQuery({query:f.d})?.customer?.email;return t&&t!==i&&await x.resetStore(),{...e,email:i}}},{errorPolicy:"all"}),{register:N,handleSubmit:y,required:w,formState:Z,error:S}=v,[C,T]=(0,B.o)({category:"graphql-authentication",error:S}),V=y(()=>{"auth"===h.id&&"string"==typeof h.params?.redirectAfterSignIn&&g(h.params?.redirectAfterSignIn)}),[L,P]=(0,d.useState)(""),[R,A]=(0,d.useState)("Sign in Error");return(0,d.useEffect)(()=>{let e=T&&T?.message?.indexOf("The account sign-in was incorrect")>=0?"Invalid password, please try again":T?.message;T?.extensions?.hasSocials?.includes("google")&&s?(s(!0),A(n.ag._("Google Sign In Was Previously Used")),P(n.ag._("Please use Google to sign in"))):P(e??"")},[T,s]),(0,a.BX)(k.Z,{component:"form",onSubmit:V,noValidate:!0,sx:l,children:[!r&&(0,a.BX)("div",{className:"flex w-[260px] max-w-[260px] flex-col justify-center gap-[22px]",children:[(0,a.tZ)(H.$,{label:(0,a.tZ)(p.cC,{id:"Email address"}),variant:"outlined",type:"email",autoComplete:"email",color:"primary",size:"small",error:Z.isSubmitted&&!!Z.errors.email,disabled:o||Z.isSubmitting,...c("email",{required:w.email,pattern:{value:I.s9,message:""}}),required:w.email,className:"outline-material-ui-blue"}),"signedin"!==m&&"forgot"!==m&&"signup"!==m&&!r&&(0,a.BX)("div",{className:"w-full",children:[(0,a.tZ)(H.$,{id:"current-password",type:"password",label:(0,a.tZ)(p.cC,{id:"password"}),variant:"outlined",autoComplete:"current-password",error:!!Z.errors.password||!!T,color:"primary",disabled:o||Z.isSubmitting,required:w.password,...N("password",{required:w.password}),className:"w-[260px] max-w-[260px] outline-none outline-0",size:"small"},"password"),(0,a.tZ)("div",{className:"mt-[5px] text-right",children:(0,a.tZ)("button",{className:"Type-Large-Regular text-material-ui-blue",onClick:()=>t(),type:"button",children:(0,a.tZ)(p.cC,{id:"Forgot password?"})})})]})]}),T&&(0,a.BX)(z.Z,{severity:"error",className:"mt-5 max-w-[260px]",children:[(0,a.tZ)(q.Z,{className:"Type-Large-Medium",children:R}),(0,a.BX)("div",{className:" flex flex-col",children:[L,r&&(0,a.tZ)("button",{type:"button",onClick:()=>{s?.(!1)},className:"mt-2 flex",children:(0,a.tZ)("span",{className:"block text-left text-[10px] text-material-ui-blue hover:text-material-ui-dark-blue hover:underline",children:n.ag._("Click here to retry logging in with an email/password")})})]})]}),(0,a.tZ)(F._,{error:C},"error"),!r&&"signup"!==m&&(0,a.tZ)(b.i,{className:"w-full",children:(0,a.BX)(j.Z,{className:"flex w-full flex-col gap-10",children:[(0,a.tZ)(D.K3,{type:"submit",className:"w-[260px] max-w-[260px] bg-material-ui-blue uppercase",variant:"contained",loading:Z.isSubmitting,children:n.ag._("Sign in")}),(0,a.tZ)(D.C9,{type:"button",className:"w-[260px] max-w-[260px] rounded-[100px] border-[1px] border-solid border-50-grey bg-pure-white uppercase hover:bg-[#F2F2F2]",variant:"contained",onClick:()=>u(),children:n.ag._("Create Account")}
1)]})})]})}var U=t(27934),J=t(37887),G=t(66965),Y=t(42555),K=t(22578),Q=t(29892),ee=t(87035),ei=t(2798),et=t(54762);let ea={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SignUp"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"prefix"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"firstname"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"middlename"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lastname"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyName"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyIndustry"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"suffix"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"taxvat"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gender"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSubscribed"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1}}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"dateOfBirth"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createCustomer"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"ObjectField",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}},{kind:"ObjectField",name:{kind:"Name",value:"prefix"},value:{kind:"Variable",name:{kind:"Name",value:"prefix"}}},{kind:"ObjectField",name:{kind:"Name",value:"firstname"},value:{kind:"Variable",name:{kind:"Name",value:"firstname"}}},{kind:"ObjectField",name:{kind:"Name",value:"middlename"},value:{kind:"Variable",name:{kind:"Name",value:"middlename"}}},{kind:"ObjectField",name:{kind:"Name",value:"lastname"},value:{kind:"Variable",name:{kind:"Name",value:"lastname"}}},{kind:"ObjectField",name:{kind:"Name",value:"company_name"},value:{kind:"Variable",name:{kind:"Name",value:"companyName"}}},{kind:"ObjectField",name:{kind:"Name",value:"company_industry"},value:{kind:"Variable",name:{kind:"Name",value:"companyIndustry"}}},{kind:"ObjectField",name:{kind:"Name",value:"suffix"},value:{kind:"Variable",name:{kind:"Name",value:"suffix"}}},{kind:"ObjectField",name:{kind:"Name",value:"taxvat"},value:{kind:"Variable",name:{kind:"Name",value:"taxvat"}}},{kind:"ObjectField",name:{kind:"Name",value:"gender"},value:{kind:"Variable",name:{kind:"Name",value:"gender"}}},{kind:"ObjectField",name:{kind:"Name",value:"is_subscribed"},value:{kind:"Variable",name:{kind:"Name",value:"isSubscribed"}}},{kind:"ObjectField",name:{kind:"Name",value:"date_of_birth"},value:{kind:"Variable",name:{kind:"Name",value:"dateOfBirth"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"default_billing"}},{kind:"Field",name:{kind:"Name",value:"default_shipping"}},{kind:"Field",name:{kind:"Name",value:"addresses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"prefix"}},{kind:"Field",name:{kind:"Name",value:"firstname"}},{kind:"Field",name:{kind:"Name",value:"middlename"}},{kind:"Field",name:{kind:"Name",value:"lastname"}},{kind:"Field",name:{kind:"Name",value:"suffix"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"company"}},{kind:"Field",name:{kind:"Name",value:"country_code"}},{kind:"Field",name:{kind:"Name",value:"postcode"}},{kind:"Field",name:{kind:"Name",value:"region"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"region"}},{kind:"Field",name:{kind:"Name",value:"region_code"}},{kind:"Field",name:{kind:"Name",value:"region_id"}}]}},{kind:"Field",name:{kind:"Name",value:"street"}},{kind:"Field",name:{kind:"Name",value:"telephone"}},{kind:"Field",name:{kind:"Name",value:"vat_id"}},{kind:"Field",name:{kind:"Name",value:"default_shipping"}}]}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"prefix"}},{kind:"Field",name:{kind:"Name",value:"firstname"}},{kind:"Field",name:{kind:"Name",value:"middlename"}},{kind:"Field",name:{kind:"Name",value:"lastname"}},{kind:"Field",name:{kind:"Name",value:"suffix"}},{kind:"Field",name:{kind:"Name",value:"gender"}},{kind:"Field",name:{kind:"Name",value:"is_subscribed"}},{kind:"Field",name:{kind:"Name",value:"date_of_birth"}},{kind:"Field",name:{kind:"Name",value:"taxvat"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"generateCustomerToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}}]}}]}}]};var en=t(34155);
1let el="1"===en.env.CUSTOMER_REQUIRE_EMAIL_CONFIRMATION;function er(e){let{email:i}=e,t=J.a(K.b).data?.storeConfig,{drawer:l,setRedirectAfterSignIn:r}=(0,d.useContext)(M.m),s=el?Y.E:ea,o=(0,X.IB)(s,{defaultValues:{email:i,prefix:"",companyIndustry:"retail"},onBeforeSubmit:e=>({...e,email:i}),onComplete:()=>{void 0!==globalThis.fbq&&globalThis.fbq?.("track","CompleteRegistration",{})}},{errorPolicy:"all"}),{register:c,handleSubmit:m,required:u,watch:h,formState:g,error:f}=o,[x,v]=(0,B.o)({category:"graphql-input",error:f}),k=m(()=>{"auth"===l.id&&"string"==typeof l.params?.redirectAfterSignIn&&r(l.params.redirectAfterSignIn)}),N=h("password");if((0,Q.p)({form:o,name:"SignUp",exclude:["password","confirmPassword"]}),el&&o.formState.isSubmitSuccessful)return(0,a.tZ)(z.Z,{children:(0,a.tZ)(p.cC,{id:"Please check your inbox to validate your email ({email})",values:{email:i}})});let y=[{value:"retail",label:"Retail"},{value:"ecommerce",label:"Ecommerce"},{value:"cafe_bakery",label:"Cafe / Bakery"},{value:"bar_restaurant",label:"Bar + Restaurant"},{value:"hotel_resort",label:"Hotel / Resort"},{value:"fast_casual_restaurant",label:"Fast Casual Restaurant"},{value:"dispensery",label:"Dispensery"},{value:"brewery_winery",label:"Brewery / Winery"},{value:"creative_agency",label:"Creative Agency"}].map(e=>(0,a.tZ)(ee.Z,{value:e.value,children:e.label}));return(0,a.BX)("form",{onSubmit:k,noValidate:!0,children:[(0,a.BX)("div",{className:"mt-6 grid min-w-[260px] items-center justify-center gap-6",children:[(0,a.tZ)(H.$,{label:(0,a.tZ)(p.cC,{id:"Password"}),variant:"outlined",color:"primary",size:"small",type:"password",error:!!g.errors.password||!!v,autoComplete:"current-password",id:"current-password",required:u.password,...c("password",{required:u.password,minLength:{value:Number(t?.minimum_password_length??8),message:n.ag._("Password must have at least 8 characters")}}),className:"min-w-[260px]",sx:{minWidth:"260px"}},"password"),(0,a.tZ)(H.$,{label:(0,a.tZ)(p.cC,{id:"Re-enter password"}),variant:"outlined",color:"primary",size:"small",type:"password",error:!!g.errors.confirmPassword,autoComplete:"new-password",required:!0,...c("confirmPassword",{required:!0,validate:e=>e===N||n.ag._("Passwords don't match")}),helperText:g.errors.confirmPassword?.message,disabled:g.isSubmitting,className:"min-w-[260px]",sx:{minWidth:"260px"}}),(0,a.tZ)(H.$,{label:(0,a.tZ)(p.cC,{id:"Company Name"}),variant:"outlined",color:"primary",size:"small",type:"text",error:!!g.errors.firstname,required:!0,...c("companyName",{required:!0}),className:"min-w-[260px]",sx:{minWidth:"260px"}})]}),(0,a.tZ)(et.d,{form:o,required:!0,prefix:!0,columnDisplay:!0,className:"my-6"}),(0,a.tZ)(ei.d,{value:h("companyIndustry")?.toString()||"",className:"w-[260px] max-w-[260px]",...c("companyIndustry"),onChange:e=>{e?.target?.value&&o.setValue("companyIndustry",e?.target?.value?.toString())},label:"Industry Type",options:y,sx:{width:"260px",minWidth:"260px"}}),v&&(0,a.tZ)(P.v,{content:v.message}),(0,a.tZ)(G.J,{error:x}),(0,a.tZ)(b.i,{children:(0,a.tZ)(D.K3,{type:"submit",id:"create-account",loading:g.isSubmitting,className:"w-[260px] max-w-[260px] bg-material-ui-blue uppercase",variant:"contained",size:"small",children:(0,a.tZ)(p.cC,{id:"Create account!"})})})]})}var es=t(42480);let{classes:ed}=(0,x.AY)("AccountSignInUpForm",["root","titleContainer"]);function eo(e){let{onClose:i}=e,t=(0,m.k)(f.d),{email:n}=t.data?.customer??{},{mode:l,setMode:r,form:s,autoSubmitting:o,isSubUser:c}=function(e){let{email:i,onSubmitted:t}=e,{loggedIn:a,requireAuth:n}=(0,u.J)(),l=(0,m.k)(f.d),r=(0,Z.d)(C,{mode:"onChange",defaultValues:{email:i??""}},{fetchPolicy:"cache-and-network"}),{formState:s,data:o,handleSubmit:c}=r,p=c(t||(()=>{})),h=(0,S.P)({form:r,submit:p,forceInitialSubmit:!0}),g=o?.isEmailAvailable?.is_email_available===!1,x=o?.isEmailAvailable?.is_sub_user===!0,{isDirty:b,isSubmitSuccessful:v,isSubmitted:k,isSubmitting:N,isValid:y}=s,[w,_]=(0,d.useState)(a?"signedin":"email");return(0,d.useEffect)(()=>{if(a){_("signedin");return}!N&&y&&(!b&&k&&v&&y&&_(g?"signin":"signup"),l.data?.customer&&n&&_(v?"signin":"session-expired"))},[l.data?.customer,g,b,v,k,N,y,a,n]),{mode:w,form:r,submit:p,autoSubmitting:h,hasAccount:g,setMode:_,isSubUser:x}}({email:n}),{formState:h,register:g,watch:x}=s,y=h.isSubmitting&&!o,[_,F]=(0,d.useState)(!1);return(0,a.BX)("div",{children:[("signin"===l||"email"===l)&&(0,a.tZ)(es.o,{title:"Log in",onClose:i,className:"mb-[80px]"}),"forgot"===l&&(0,a.tZ)(es.o,{title:"Forgot Password",onClose:()=>{"forgot"===l&&r("signin"),i()},className:"mb-[80px]"}),"signup"===l&&(0,a.BX)(a.HY,{children:[(0,a.tZ)(es.o,{title:"Create an Account",onClose:i,withHorizontalMargin:!0,className:"mb-4"}),(0,a.tZ)("div",{className:"mb-4 flex items-center justify-center",children:(0,a.tZ)(D.K3,{type:"submit",loading:h.isSubmitting,className:"w-[260px] max-w-[260px] bg-material-ui-blue uppercase",variant:"contained",size:"small",onClick:()=>r("email"),children:(0,a.tZ)(p.cC,{id:"Go Back"})})})]}),"signedin"===l&&(0,a.tZ)("div",{children:(0,a.tZ)(b.i,{children:(0,a.tZ)(V.z,{onClick:()=>w().back(),color:"blue",label:(0,a.tZ)(p.cC,{id:"Continue shopping"})})})}),"session-expired"===l&&(0,a.BX)(k.Z,{className:ed.titleContainer,children:[(0,a.tZ)(v.$,{variant:"h2",gutterBottom:!1,children:(0,a.tZ)(p.cC,{id:"Your session is expired"})}),(0,a.tZ)(N.Z,{variant:"h6",align:"center",children:(0,a.tZ)(p.cC,{id:"Log in to continue shopping"})})]}),"signedin"!==l&&"forgot"!==l&&(0,a.BX)("div",{className:"mb-[54px] px-[20px] md:px-[50px]",children:[(0,a.tZ)(U.m,{}),!_&&(0,a.BX)("div",{className:"mt-4 flex items-center",children:[(0,a.tZ)("div",{className:"flex-grow border-t border-20-grey "}),(0,a.tZ)("span",{className:"Type-XL-Regular mx-3 text-50-grey",children:"OR"}),(0,a.tZ)("div",{className:"flex-grow border-t border-20-grey "})]})]}),"signedin"!==l&&"forgot"!==l&&!c&&(0,a.tZ)("div",{className:"px-[20px] md:px-[50px]",children:(0,a.tZ)(W,{email:x("email"),register:g,switchModeToForgotPass:()=>r("forgot"),hasSocials:_,setHaSocials:F,disableFields:y,mode:l,switchModeToSignUp:()=>r("signup")})}),"signin"===l&&c&&(0,a.tZ)("div",{className:"px-[20px] md:px-[50px]",children:(0,a.tZ)(E,{email:x("email"),register:g,switchModeToForgotPass:()=>r("forgot"),hasSocials:_,setHaSocials:F,disableFields:y,mode:l})}),"signup"===l&&(0,a.tZ)("div",{className:"px-[20px] md:px-[50px]",children:(0,a.tZ)(er,{email:x("email")})}),"forgot"===l&&(0,a.tZ)("div",{className:"px-[20px] md:px-[50px]",children:(0,a.tZ)($.L,{email:x("email")})})]})}var ec=t(23938),em=t(82755),eu=t(25675),ep=t.n(eu),eh={src:"/_next/static/media/sett
1ings.aad4d966.svg",height:24,width:24,blurWidth:0,blurHeight:0},eg={src:"/_next/static/media/signOut.ca30acb0.svg",height:24,width:24,blurWidth:0,blurHeight:0},ef=t(39476);function ex(e){let{accountName:i,accountEmail:t,setShowMenu:n,showMenu:l}=e,[r,s]=(0,d.useState)(!1),[o,c]=(0,d.useState)(!1),m=(0,y.useRouter)(),u=async()=>{c(!0),await m.push("/account?navigateTo=2"),n(!1),c(!1)},p=(0,_.x)(),{handleSubmit:h,formState:g,error:f}=(0,X.IB)(ec.R,{onComplete:async()=>{await p.clearStore(),m.reload(),s(!1)}},{errorPolicy:"all"}),x=h(()=>{});return(0,a.tZ)(a.HY,{children:l&&(0,a.BX)("div",{className:"absolute right-0 top-[46px] z-10 m-auto flex w-[230px] min-w-[230px] flex-col rounded-sm border-[1px] border-t-0 border-20-grey bg-[#FFFFFF] shadow-md",onMouseLeave:()=>n(!1),children:[(0,a.BX)("div",{className:"flex h-[68px] min-h-[68px] flex-col items-start justify-center",children:[i&&(0,a.tZ)("span",{className:"Type-XL-Regular mx-5 ",children:i??""}),t&&(0,a.tZ)(em.Z,{title:t??"",placement:"right-end",children:(0,a.tZ)("span",{className:"Type-Large-Regular mx-5 max-w-[200px] truncate text-70-grey",children:t??""})})]}),(0,a.BX)("div",{onClick:async()=>u(),className:"flex h-[54px] min-h-[54px] w-full cursor-pointer items-center justify-between border-t-[1px] border-t-20-grey hover:bg-[#6133941A]",children:[(0,a.BX)("div",{className:"flex items-center justify-start gap-[12px] ",children:[(0,a.tZ)(ep(),{src:eh,height:24,width:24,unoptimized:!0,alt:"Settings",className:"ml-5"}),(0,a.tZ)("span",{className:"Type-XL-Regular mr-5 whitespace-nowrap ",children:"Account settings"})]}),o&&(0,a.tZ)(ef.$,{className:"mr-5"})]}),(0,a.tZ)("div",{className:"cursor-point flex h-[54px] min-h-[54px] w-full items-center border-t-[1px] border-t-20-grey hover:bg-[#6133941A]",children:(0,a.BX)("form",{onSubmit:x,noValidate:!0,className:"flex w-full items-center justify-between",children:[(0,a.BX)("button",{type:"submit",className:"flex w-full items-center justify-start gap-[12px]",onClick:()=>s(!0),children:[(0,a.tZ)(ep(),{src:eg,height:24,width:24,unoptimized:!0,alt:"Settings",className:"ml-5"}),(0,a.tZ)("span",{className:"Type-XL-Regular mr-5",children:"Sign out"})]}),r&&(0,a.tZ)(ef.$,{className:"mr-5"})]})})]})})}function eb(e){let{session:i}=e,{drawer:t,setDrawer:n}=(0,d.useContext)(M.m),r=(0,d.useRef)(null),s=(0,m.k)(g.d,{fetchPolicy:"cache-and-network"}),o=s.data?.customer,c=`${o?.firstname?.trimStart().charAt(0)}${o?.lastname?.trimStart().charAt(0)}`,u=o?`${o?.firstname} ${o?.lastname}`:"",[h,f]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{r.current&&r?.current?.blur()},[i?.loggedIn]),i?.loggedIn)?(0,a.BX)("div",{className:"relative",children:[(0,a.tZ)("button",{type:"button",onClick:()=>f(e=>!e),ref:r,children:(0,a.tZ)("div",{className:"relative flex h-[35px] w-[35px] items-center justify-center rounded-[50%] bg-medium-gray pt-[10%]",children:o&&c&&(0,a.tZ)("span",{className:"Type-XL-Medium text-black",children:c})})}),(0,a.tZ)(ex,{accountName:u,accountEmail:o?.email,setShowMenu:f,showMenu:h})]}):(0,a.BX)("div",{className:"relative",children:[(0,a.tZ)("button",{type:"button",onClick:()=>n({id:"auth"===t.id?null:"auth"}),children:(0,a.tZ)("div",{className:"flex h-[35px] w-full items-center justify-center whitespace-nowrap rounded-[20px] bg-pure-white px-5",children:(0,a.tZ)("p",{className:"Type-Large-Medium whitespace-nowrap font-roboto text-black",children:(0,a.tZ)(p.cC,{id:"Log in"})})})}),(0,a.tZ)(l.Z,{anchor:"right",onClose:()=>n({id:null}),onOpen:()=>{},open:"auth"===t.id,classes:{paper:"shadow-m max-w-[520px]"},children:(0,a.tZ)(eo,{onClose:()=>n({id:null})})})]})}function ev(e){let i=(0,u.J)();return(0,a.tZ)(h.Z,{fallback:(0,a.tZ)(eb,{...e}),children:(0,a.tZ)(eb,{session:i,...e})})}let ek={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountOrderItems"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentPage"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"orders"},arguments:[{kind:"Argument",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"currentPage"},value:{kind:"Variable",name:{kind:"Name",value:"currentPage"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]}}]}}]};function eN(e){let{session:i}=e,t=(0,m.k)(ek,{fetchPolicy:"cache-and-network",variables:{pageSize:5e3,currentPage:1}}),n=t.data?.customer?.orders?.items?.filter(e=>e?.status?.toUpperCase()!=="CANCELED"&&e?.status?.toUpperCase()!=="ORDER SHIPPED"&&e?.status?.toUpperCase()!=="COMPLETE")?.length??0;return i?.loggedIn?(0,a.tZ)("div",{className:"relative",children:(0,a.tZ)(s(),{href:"/account",children:(0,a.BX)("div",{className:"flex h-[35px] min-w-[121px] items-center justify-center gap-x-[12px] rounded-[20px] border-concept-print-orange-hover bg-pure-white pl-[8px] pr-0",children:[(0,a.tZ)("p",{className:"Type-Large-Medium font-roboto text-black",children:(0,a.tZ)(p.cC,{id:"My Orders"})}),n>0&&(0,a.tZ)("div",{className:"flex h-[25px] w-[25px] items-center justify-center rounded-[50%] bg-material-ui-blue",children:(0,a.tZ)("span",{className:"text-center text-[12px] font-bold text-pure-white",children:n})})]})})}):null}function ey(e){let i=(0,u.J)();return(0,a.tZ)(h.Z,{fallback:(0,a.tZ)(eN,{...e}),children:(0,a.tZ)(eN,{session:i,...e})})}var ew=t(93082),eZ=t(57802),eS=t(2005),eC=t(38819),e_=t(12871),eF=t(33197),eT=t(85283),eB={src:"/_next/static/media/missing-file.2b856029.png"};function eX(e){let{src:i,alt:t,aspect:n="4/3",className:l}=e,r=`aspect-[${n}]`;return(0,a.tZ)("div",{className:`block h-full w-full items-center justify-center overflow-hidden rounded-[4px] ${r} ${l}`,style:{aspectRatio:n},children:(0,a.tZ)(eF.Ee,{className:"h-full max-h-none w-full max-w-none rounded-[4px] object-cover delay-100 duration-300 ease-in-out hover:scale-125",src:i,layout:"fill",alt:t})})}function eI(e){let{menuItems:i,className:t,url:n,setShowMenu:l}=e,r=i.filter(e=>e?.include_in_menu),d=r?.filter((e,i)=>i<=3),o=r?.filter((e,i)=>i>3);return(0,a.BX)(a.HY,{children:[(0,a.tZ)("div",{className:`grid w-full grid-cols-4 items-start justify-center gap-x-5 gap-y-10  border-b-2 border-light-gray ${t}`,children:d?.filter(e=>e?.include_in_menu).map(e=>a.BX(s(),{href:`/${e.url_path}`??0,onClick:()=>l(!1),className:"w-full  text-black hover:text-material-ui-blue",children:[e.image?a.tZ(eX,{src:e?.thumbnail??e?.image,alt:e?.thumbnail_alt??e?.image_alt,aspect:"4/3"}):a.tZ(eX,{src:eB?.src,alt:e.image_alt??"",aspect:"4/3"}),a.tZ("span",{className:"md:Type-XL-Regular Type-Large-Regular mt-2 text-center md:my-3",children:e.name})]},e.categoryLabel))}),(0,a.tZ)("div",{className:`mt-10 grid w-full grid-cols-4 items-start justify-center gap-x-5 gap-y-10 pb-5 ${t}`,children:o?.filter(e=>e?.include_in_menu).map(e=>a.BX(s(),{href:`/${e.url_path}`??0,onClick:()=>l(!1),className:"w-full  text-black hover:text-material-ui-blue",children:[e.image?a.tZ(eX,{src:e?.thumbnail??e?.image,alt:e?.thumbnail_alt??e?.image_alt,aspect:"4/3"}):a.tZ(eX,{src:eB?.src,alt:e.image_alt??"",aspect:"4/3"}),a.tZ("span",{className:"md:Type-XL-Regular Type-Large-Regular mt-2 text-center md:my-3",children:e.name})]},e.categoryLabel))})]})}let ej=(0,eS.ZP)(e=>(0,a.tZ)(e_.Z,{disableRipple:!0,...e,onMouseEnter:e.onHover,icon:e.icon,onClick:()=>e.onClick&&e?.onClick()}))(()=>({whiteSpace:"nowrap",display:"flex",flexDirection:"row",alignItems:"center",justifyItems:"start",justifyContent:"start",ga
1p:20,marginBottom:0,minHeight:56,color:"rgba(0, 0, 0, 0.6)","img.MuiTab-iconWrapper":{marginBottom:0,height:30,width:30},":hover":{backgroundColor:"rgba(97,51,148,0.1)"}}));function eV(e){let{menuItems:i,className:t,setShowMenu:n}=e,[l,r]=(0,d.useState)("0"),s=e=>({id:`simple-tab-${e}`,"aria-controls":`simple-tabpanel-${e}`}),o=(0,y.useRouter)(),c=async e=>{await o.push(`/${e}`),n(!1)};return(0,a.tZ)("div",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),className:`grid shadow-[20px] lg:grid-cols-[30fr_70fr] xl:grid-cols-[22fr_78fr] ${t}`,children:(0,a.BX)(eZ.ZP,{value:l,children:[(0,a.tZ)("div",{className:"h-full w-full",children:(0,a.tZ)(eC.Z,{value:l,onChange:(e,i)=>{r(i)},orientation:"vertical",variant:"scrollable",scrollButtons:"auto",sx:{borderRight:1,borderColor:"divider",width:"100%",display:"flex",marginTop:0,maxHeight:"90vh"},children:i?.filter(e=>e?.include_in_menu).map((e,i)=>a.tZ(ej,{label:e.name,onHover:()=>r(i?.toString()),icon:e?.thumbnail??e?.image?a.tZ(eF.Ee,{unoptimized:!0,src:e?.thumbnail??e?.image,alt:e?.thumbnail_alt??e?.image_alt,height:30,width:30,className:"flex h-[30px] w-[30px] items-center justify-center rounded-[50%]",layout:"fixed"}):a.tZ(eF.Ee,{unoptimized:!0,src:eT.Z,height:30,width:30,className:"flex h-[30px] w-[30px] items-center justify-center rounded-[50%]"}),...s(i),onClick:()=>c(e.url_path),value:i.toString()}))})}),(0,a.tZ)("div",{className:"h-full",children:i.filter(e=>e?.include_in_menu).map((e,i)=>(0,a.tZ)(ew.Z,{value:i.toString(),children:(0,a.tZ)("div",{children:(0,a.tZ)(eI,{menuItems:e?.children,url:e?.url_path,setShowMenu:n})})}))})]})})}let eL=(0,eS.ZP)(e=>(0,a.tZ)(eC.Z,{...e,TabIndicatorProps:{children:(0,a.tZ)("span",{className:"MuiTabs-indicatorSpan"})}}))(e=>{let{theme:i}=e;return{color:"#000000",minHeight:56,height:56,fontWeight:"bold",marginRight:"40px",overflow:"hidden",fontSize:20,[i.breakpoints.up("md")]:{minHeight:56,height:56},"& .MuiTabs-indicator":{display:"flex",justifyContent:"center",backgroundColor:"transparent",height:4},"& .MuiTabs-indicatorSpan":{backgroundColor:"none"}}}),eP=(0,eS.ZP)(e=>(0,a.tZ)(e_.Z,{disableRipple:!0,...e,onMouseEnter:e.onHover}))(e=>{let{theme:i}=e;return{minWidth:0,minHeight:56,height:56,paddingRight:0,paddingLeft:0,marginRight:"40px",textAlign:"center",textTransform:"none",fontWeight:i.typography.fontWeightRegular,fontSize:20,color:"#FFFFFF",[i.breakpoints.up("md")]:{minHeight:56,height:56,fontSize:20},"&.Mui-selected":{color:"#000000"},"&.Mui-focusVisible":{backgroundColor:"#983FF1"}}}),eM=(0,eS.ZP)(e=>(0,a.tZ)(ew.Z,{...e}))(e=>{let{theme:i}=e;return{backgroundColor:"#F9F9F9",boxShadow:"5px 5px 7px 3px rgba(0, 0, 0, 0.25)",position:"absolute",width:"80%",zIndex:10,left:0,top:56,padding:0,maxWidth:"1054px","&.MuiTabPanel-root":{paddingLeft:0,paddingRight:0},"@media(min-width: 1536px)":{left:"calc((100vw - 1536px)/2)"}}});function eR(e){let{menu:i}=e,[t,n]=(0,d.useState)(!1),l=i?.items,r=l&&l[0]&&l[0]?.children?l[0]?.children.filter(e=>e?.include_in_menu):[],s=[...r,{name:"Search Promo",url_path:"https://conceptprint.espwebsite.com/",include_in_menu:!0,children:[]}],[o,c]=(0,d.useState)(""),m=e=>({id:`simple-tab-${e}`,"aria-controls":`simple-tabpanel-${e}`});return(0,d.useEffect)(()=>{t?c(o):c("")},[t]),(0,a.BX)(eZ.ZP,{value:o,children:[(0,a.tZ)(k.Z,{className:"flex items-center justify-start bg-none text-black lg:w-full",children:(0,a.tZ)("div",{className:"flex w-full items-center justify-start",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:(0,a.tZ)(eL,{value:o,onChange:(e,i)=>{c(i)},children:s&&s?.length>0&&s.map((e,i)=>e?.name==="Search Promo"?(0,a.tZ)(eP,{label:e?.name??"",...m(i),value:i.toString(),onHover:()=>c(i.toString()),onClick:()=>window.open(e?.url_path??"","_blank"),sx:{paddingLeft:0===i?"60px":0}}):(0,a.tZ)(eP,{label:e?.name??"",...m(i),value:i.toString(),onHover:()=>c(i.toString()),sx:{paddingLeft:0===i?"60px":0}}))})})}),s&&s.map((e,i)=>e?.name==="Search Promo"?null:(0,a.tZ)("div",{className:`${t?"block":"hidden"} max-w-[1054px]`,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:(0,a.tZ)(eM,{value:i.toString(),children:(0,a.tZ)(eV,{menuItems:e?.children?.filter(e=>e?.include_in_menu),url:e?.url_path??"",setShowMenu:n})})}))]})}var eA=t(39267),eE=t(34318),eD=t(14057),e$=t(6370);let eO=(0,eS.ZP)(eA.Z)({border:0,background:"none","&:before":{display:"none"}});function ez(e){let{menuItems:i,className:t,onClose:n}=e;(0,y.useRouter)();let[l,r]=(0,d.useState)(-1);return(0,a.tZ)("div",{className:`ml-2 flex w-full flex-col ${t}`,children:i.filter(e=>e?.include_in_menu)?.map((e,i)=>a.BX(eO,{elevation:0,disableGutters:!0,expanded:i===l,onClick:()=>{i===l?r(-1):r(parseInt(i,10))},children:[a.tZ(eE.Z,{expandIcon:e?.children?.filter(e=>e?.include_in_menu)?.length>0?a.tZ(eF.Ee,{src:e$.Z,alt:"expand or close",layout:"fixed",unoptimized:!0,height:40,width:40}
1):null,sx:{padding:0,margin:0},children:a.BX(s(),{href:`/${e.url_path}`??0,className:"flex  w-full flex-row items-center justify-start gap-2 text-black hover:text-material-ui-blue",onClick:()=>n(),children:[e?.thumbnail??e?.image?a.tZ(eF.Ee,{unoptimized:!0,layout:"fixed",src:e?.thumbnail??e?.image??"",alt:e?.thumbnail_alt??e?.image_alt??"",height:30,width:30,className:"flex h-[30px] w-[30px] items-center justify-center rounded-[50%]"}):a.tZ(eF.Ee,{unoptimized:!0,layout:"fixed",src:eT.Z,height:30,width:30,className:"flex h-[30px] w-[30px] items-center justify-center rounded-[50%]"}),a.tZ("h3",{className:"Type-XL-Regular mt-2 uppercase hover:text-material-ui-blue",children:e.name})]})}),a.tZ(eD.Z,{sx:{padding:0,margin:0,border:0},children:a.tZ("div",{className:"my-2 grid grid-cols-2 items-start justify-items-start gap-2",children:e?.children.filter(e=>e?.include_in_menu).map(e=>a.tZ("div",{children:a.BX(s(),{href:`/${e.url_path}`??0,className:"block  w-full items-start gap-1 text-black hover:text-material-ui-blue ",onClick:()=>n(),children:[a.tZ("div",{className:"max-h-[120px] max-w-[150px]",children:e?.image?a.tZ(eX,{src:e.image??"",alt:e.image_alt??"",aspect:"5/3"}):a.tZ(eX,{src:eB?.src??"",alt:e.image_alt??"",aspect:"5/3"})}),a.tZ("span",{className:"Type-Large-Regular mt-2 text-start",children:e.name??""})]})}))})})]}))})}(0,eS.ZP)(e=>(0,a.tZ)(e_.Z,{disableRipple:!0,...e,onMouseEnter:e.onHover,icon:e.icon,onClick:()=>e.onClick&&e?.onClick()}))(()=>({whiteSpace:"nowrap",display:"flex",flexDirection:"row",alignItems:"center",justifyItems:"start",justifyContent:"start",gap:20,marginBottom:0,minHeight:56,color:"rgba(0, 0, 0, 0.6)","img.MuiTab-iconWrapper":{marginBottom:0,height:30,width:30},":hover":{backgroundColor:"rgba(97,51,148,0.1)"}}));let eq=(0,eS.ZP)(e=>(0,a.tZ)(eC.Z,{...e,TabIndicatorProps:{children:(0,a.tZ)("span",{className:"MuiTabs-indicatorSpan"})}}))(e=>{let{theme:i}=e;return{color:"#6A6A6A",minHeight:36,height:36,marginRight:0,[i.breakpoints.up("md")]:{marginRight:"40px",marginLeft:0},backgroundColor:"white","& .MuiTabs-indicator":{display:"flex",justifyContent:"center",backgroundColor:"transparent",height:4},"& .MuiTabs-indicatorSpan":{backgroundColor:"none"}}}),eH=(0,eS.ZP)(e=>(0,a.tZ)(e_.Z,{disableRipple:!0,...e,onMouseEnter:e.onHover}))(e=>{let{theme:i}=e;return{minWidth:0,minHeight:36,height:36,paddingRight:20,paddingLeft:20,marginRight:"20px",textAlign:"center",textTransform:"uppercase",color:"#6A6A6A",fontSize:16,fontWeight:500,":hover":{color:"#000000"},"&.Mui-selected":{color:"#2196F3",borderBottom:"2px solid #2196F3",fontWeight:"500",":hover":{color:"#0069D9",borderColor:"#0069D9"}},"&.Mui-focusVisible":{backgroundColor:"#983FF1"}}}),eW=(0,eS.ZP)(e=>(0,a.tZ)(ew.Z,{...e}))(e=>{let{theme:i}=e;return{width:"100%",zIndex:10,left:0,top:56,padding:0,maxWidth:"1054px","&.MuiTabPanel-root":{paddingLeft:0,paddingRight:0}}});function eU(e){let{menu:i,onClose:t}=e,n=i?.items,l=n&&n[0]&&n[0]?.children?n[0]?.children.filter(e=>e?.include_in_menu):[],[r,s]=(0,d.useState)("0"),o=e=>({id:`simple-tab-${e}`,"aria-controls":`simple-tabpanel-${e}`});return(0,a.BX)(eZ.ZP,{value:r,children:[(0,a.tZ)(k.Z,{className:"flex w-full items-center justify-start bg-none text-black",children:(0,a.tZ)("div",{className:"flex w-full items-start justify-start",children:(0,a.tZ)(eq,{value:r,onChange:(e,i)=>{s(i)},variant:"scrollable",scrollButtons:!0,allowScrollButtonsMobile:!0,children:l&&l?.length>0&&l.map((e,i)=>(0,a.tZ)(eH,{label:e?.name??"",...o(i),value:i.toString()}))})})}),l&&l.map((e,i)=>(0,a.tZ)("div",{className:"",children:(0,a.tZ)(eW,{value:i.toString(),children:(0,a.tZ)(ez,{menuItems:e?.children?.filter(e=>e?.include_in_menu),onClose:t})})}))]})}function eJ(){return(0,a.BX)("div",{className:"mb-5 flex flex-col gap-5 px-5",children:[(0,a.tZ)("hr",{className:"text-50-grey"}),(0,a.tZ)("div",{className:"Type-XL-Regular mx-5 flex flex-row items-center justify-between capitalize text-70-grey ",children:[{label:"Blog",href:"/blog"},{label:"Instagram",href:"https://www.instagram.com/templi/"},{label:"Tik Tok",href:"https://www.tiktok.com/@templi_packaging"}].map(e=>(0,a.tZ)(s(),{href:e.href,className:"hover:text-material-ui-blue",children:e.label}))})]})}let eG=e=>{let{menu:i,closeModal:t}=e,{drawer:l,setDrawer:r}=(0,d.useContext)(M.m),[s,o]=(0,d.useState)(!1),c=(0,y.useRouter)(),m=(0,u.J)(),p=async()=>{o(!0),await c.push("/account?navigateTo=2"),t(),o(!1)};return(0,a.BX)("div",{className:"flex h-screen flex-col justify-between",children:[(0,a.BX)("div",{className:"p-4",children:[(0,a.tZ)(eU,{menu:i,onClose:t}),(0,a.tZ)("button",{type:"button",className:"absolute right-[10px] top-[10px] mt-2 flex h-[32px] w-[32px] curs
1or-pointer items-center justify-center rounded-full",onClick:t,children:(0,a.tZ)(L.J,{name:"close",className:"Type-XXXL-Bold text-tight-black"})}),(0,a.BX)("div",{className:"mt-9 flex w-full items-center justify-center",children:[!m?.loggedIn&&(0,a.tZ)(D.IK,{type:"button",className:"w-auto bg-[#FFFFFF] px-8 uppercase",variant:"outlined",size:"small",onClick:()=>r({id:"auth"===l.id?null:"auth"}),sx:{borderRadius:"25px"},children:n.ag._("Sign up / Log in")}),m?.loggedIn&&(0,a.tZ)(D.IK,{type:"button",className:"w-auto rounded-[25px] bg-[#FFFFFF] px-8 uppercase",variant:"outlined",size:"small",onClick:async()=>p(),loading:s,children:n.ag._("My Account")})]})]}),(0,a.tZ)("div",{children:(0,a.tZ)(eJ,{})})]})};function eY(e){let{text:i}=e,{promoOpen:t,closePromo:n}=(0,d.useContext)(M.m);return t?(0,a.tZ)("div",{className:"h-[55px]  bg-concept-print-orange text-center",children:(0,a.BX)("div",{className:"mx-auto flex h-[100%] max-w-maxContentWidth items-center justify-between px-[10px] 2xl:px-0",children:[(0,a.tZ)("div",{}),(0,a.tZ)("p",{className:"Type-XL-Bold text-concept-print-white",children:i}),(0,a.tZ)(L.J,{name:"close",className:"Type-XXL-Bold cursor-pointer pr-[10px] text-concept-print-white",onClick:n})]})}):null}var eK=t(14553),eQ=t(11059);let e0={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CartFab"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cartId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"cart_id"},value:{kind:"Variable",name:{kind:"Name",value:"cartId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uid"}}]}},{kind:"Field",name:{kind:"Name",value:"total_quantity"}}]}}]}}]};var e1=t(64204),e2=t(44035),e5=t(31418),e3=t(6284),e4=t(98060),e6=t(9351),e7=t(9437),e8=t(36371);function e9(e){let{handleCloseMiniCart:i}
1=e;return(0,a.BX)("div",{className:"flex min-w-[10vw] flex-col items-center justify-center",children:[(0,a.tZ)(L.J,{name:"shopping_bag",className:"mt-[10vh] text-[55px]"}),(0,a.tZ)("span",{className:"Type-H4-Bold mt-[30px]",children:(0,a.tZ)(p.cC,{id:"Your cart is empty"})}),(0,a.tZ)(D.K3,{type:"button",className:"mb-[15vh] mt-[80px] w-full max-w-[350px] bg-material-ui-blue uppercase md:w-auto",variant:"contained",onClick:()=>i(),size:"small",children:n.ag._("Continue Shopping")}),(0,a.tZ)(e4.I,{position:"cart_content_bottom",uid:"",classes:{list:"grid grid-cols-2 gap-[40px]"},callback:i,displayOnMinicart:!0})]})}var ie=t(3747),ii=t(16312),it=t(70328);function ia(e){let{onClose:i}=e,t=(0,eQ.C)(e2.s,{errorPolicy:"all",fetchPolicy:"cache-and-network"}),{data:l,error:r,loading:d}=t,o=(l?.cart?.total_quantity??0)>0&&void 0!==l?.cart?.prices?.grand_total?.value,c=l?.cart?.items&&l?.cart?.items?.length>0?l?.cart?.items?.length:"0";return(0,a.BX)(a.HY,{children:[(0,a.BX)("div",{className:" md:pb-15 max-w-[100vw] bg-pure-white p-6 md:max-w-none md:pt-0",children:[(0,a.tZ)(es.o,{title:"Shopping Cart",subText:`(${c})`,onClose:i}),d&&(0,a.BX)("div",{className:"mx-auto flex min-w-[300px] flex-col gap-y-5 md:min-w-[500px]",children:[(0,a.tZ)(it.R,{isMiniCartItem:!0}),(0,a.tZ)(it.R,{isMiniCartItem:!0})]}),!d&&o&&(0,a.BX)("div",{children:[(0,a.tZ)("div",{className:"mb:border-b-11 last:nor",children:(0,a.tZ)(e8.H,{containerClass:"",items:l?.cart?.items,id:l?.cart?.id??"",renderer:{BundleCartItem:e7.b,ConfigurableCartItem:ie.F,DownloadableCartItem:e7.b,SimpleCartItem:ii.F,VirtualCartItem:e7.b,GiftCardCartItem:e7.b}},"cart")}),(0,a.tZ)(e1.T,{error:r})]}),!d&&!o&&(0,a.tZ)(e9,{handleCloseMiniCart:i}
1)]}),(0,a.BX)("div",{className:"flex flex-col bg-pure-white",children:[(0,a.BX)(e3.Z,{className:"bg-pure-white] flex flex-col border-t-[1px] border-20-grey px-11 py-7",elevation:6,children:[(0,a.BX)("div",{className:"flex w-full flex-col items-center justify-center gap-4",children:[!!l?.cart?.prices?.setup_fees_total?.value&&(0,a.BX)("div",{className:"mx-10 flex w-full  max-w-[70%] items-center justify-between",children:[(0,a.tZ)("span",{className:"Type-XL-Regular text-dark-gray",children:(0,a.tZ)(p.cC,{id:"Setup cost"})}),(0,a.tZ)("span",{className:"Type-XL-Regular",children:(0,a.tZ)(e5.W,{value:l?.cart?.prices?.setup_fees_total?.value??0,currency:l?.cart?.prices?.subtotal_including_tax?.currency})})]}),(0,a.BX)("div",{className:"mx-10 flex w-full  max-w-[70%] items-center justify-between",children:[(0,a.tZ)("span",{className:"Type-XXL-Regular text-dark-gray",children:(0,a.tZ)(p.cC,{id:"Cart total"})}),(0,a.tZ)("span",{className:"Type-XXL-Regular",children:(0,a.tZ)(e5.W,{...l?.cart?.prices?.subtotal_excluding_tax_and_setup})})]})]}),(0,a.BX)("div",{className:"mx-5 mt-[20px] grid gap-[14px]",children:[(0,a.tZ)(e6.I,{}),(0,a.tZ)(s(),{href:"/cart",children:(0,a.tZ)(D.C9,{type:"button",className:"w-full bg-[#F2F2F2] uppercase",color:"secondary",variant:"contained",size:"small",onClick:()=>i(),children:n.ag._("View Cart")})})]})]}),o&&l.cart?.items?.at(0)?.product.uid&&(0,a.tZ)("div",{className:"mt-[100px]",children:(0,a.tZ)(e4.I,{position:"cart_content_bottom",classes:{list:"grid grid-cols-2 gap-[40px]"},displayOnMinicart:!0,callback:i})})]})]})}function il(e){let{total_quantity:i}=e,{drawer:t,setDrawer:n}=(0,d.useContext)(M.m);return(0,a.BX)("div",{className:"relative",children:[(0,a.tZ)("button",{type:"button",onClick:()=>n({id:"cart"}),children:(0,a.tZ)("div",{className:"flex items-center justify-center",children:(0,a.BX)("div",{className:`relative w-[50px] ${i>0?"pt-[10px]":""}`,children:[(0,a.tZ)(L.J,{name:"shopping_cart",className:"z-5 cursor-pointer align-bottom text-4xl text-pure-white"}),i>0&&(0,a.tZ)("div",{className:"absolute right-0 top-0 z-0 flex h-[20px] w-[20px] items-center justify-center rounded-[50%] bg-material-ui-blue text-center",children:(0,a.tZ)("span",{className:"text-[12px] font-bold text-pure-white",children:i})})]})})}),(0,a.tZ)(l.Z,{anchor:"right",onClose:()=>n({id:null}),onOpen:()=>{},open:"cart"===t.id,classes:{paper:"rounded-l-[10px] max-w-[520px] bg-lightest-gray"},children:(0,a.tZ)(ia,{onClose:()=>n({id:null})})})]})}function ir(e){let i=(0,eQ.C)(e0,{fetchPolicy:"cache-only",nextFetchPolicy:"cache-first"});return(0,a.tZ)(eK.d,{waitFor:i,fallback:(0,a.tZ)(il,{...e,total_quantity:0}),children:(0,a.tZ)(il,{total_quantity:i.data?.cart?.items?.length??0,...e})})}var is=t(87536);function id(e){let i=(0,d.useRef)(null);(0,d.useEffect)(()=>{i.current?.focus()},[]);let{search:t="",urlHandle:l="search",className:r,containerClassName:s}=e,o=(0,y.useRouter)(),c=(0,is.cI)({mode:"onSubmit",defaultValues:{search:t}}),{handleSubmit:m,register:u,reset:p,getValues:h}=c,g=m(e=>{o.replace(`/${l}/${e.search}`),p(h())});return(0,S.P)({form:c,submit:g}),(0,a.BX)("form",{className:"flex w-full max-w-[350px] items-center rounded-[5px] border-[1px] border-50-grey bg-5-grey bg-[#0000006] px-[14px]",onSubmit:g,children:[(0,a.tZ)(L.J,{name:"search",className:"cursor-pointer text-3xl text-50-grey",onClick:g}),(0,a.tZ)("input",{type:"text",className:"h-[36px] max-h-[36px] w-full border-none bg-transparent text-xl text-tight-black outline-none focus:outline-0",placeholder:n.ag._("Search..."),...u("search",{required:!0,minLength:2})})]})}var io=t(91434);function ic(e){let{menu:i,header:t}=e,{isMobile:r}=(0,c.Z)(),{drawer:m,setDrawer:u}=(0,d.useContext)(M.m),p=o()||{},h=p?.isTablet||p?.isIPad;return(0,a.BX)("header",{className:"sticky top-0 z-50 block w-full border-b-[1px] border-b-20-grey bg-concept-print-orange ",children:[!r&&t?.promoText?(0,a.tZ)(eY,{text:t?.promoText}):r&&(0,a.tZ)("div",{className:"flex h-[55px] items-center justify-center bg-templi-purple",children:(0,a.tZ)(s(),{href:"/",children:(0,a.tZ)(io.T,{mode:"white"})})}),(0,a.tZ)("div",{className:"flex w-full items-center justify-center",children:(0,a.BX)("div",{className:`mx-auto flex h-[60px] w-full max-w-maxContentWidth grid-cols-[45fr_55fr] items-center justify-between px-[8px] sm:h-auto sm:border-none ${h?"md:ml-[36px] lg:ml-[36px]":"md:mx-[36px] lg:mx-[36px]"} md:grid md:justify-between 2xl:px-0`,children:[!r&&(0,a.BX)("div",{className:"flex items-center justify-start",children:[(0,a.tZ)(s(),{href:"/",children:(0,a.tZ)("div",{className:"h-full",children:(0,a.tZ)(io.T,{})})}),!h&&(0,a.tZ)(eR,{menu:i})]}),(0,a.BX)("div",{className:"flex w-full items-center justify-between py-2 md:py-0",children:[(0,a.tZ)(id,{"aria-label":n.ag._("Search...")}),(0,a.BX)("div",{className:"ml-[30px] flex items-center justify-end gap-[20px] md:gap-[30px]",children:[!r&&(0,a.tZ)(ey,{}),(0,a.tZ)(ev,{}),(0,a.tZ)(ir,{}),h&&(0,a.tZ)("button",{type:"button",className:"ml-[24px] inline-flex h-full items-center border-l-[0.5px] border-l-20-grey py-4 pl-[10px]",onClick:()=>u({id:"nav"===m.id?null:"nav"}),children:(0,a.tZ)(L.J,{name:"menu",className:"cursor-pointer  text-2xl text-pure-white"})})]})]}),r&&!h&&(0,a.tZ)("button",{type:"button",className:"ml-[24px] inline-flex h-full items-center border-l-[0.5px] border-l-20-grey pl-[10px]",onClick:()=>u({id:"nav"===m.id?null:"nav"}),children:(0,a.tZ)(L.J,{name:"menu",className:"cursor-pointer  text-2xl text-pure-white"})})]})}
1),(r||h)&&(0,a.tZ)(l.Z,{anchor:"right",onClose:()=>u({id:null}),onOpen:()=>{},open:"nav"===m.id,classes:{paper:"rounded-l-[10px] min-h-[69px] max-w-[450px] w-[80%]"},children:(0,a.tZ)(eG,{menu:i,closeModal:()=>u({id:null})})})]})}},91434:function(e,i,t){t.d(i,{T:function(){return r}});var a=t(35944),n=t(33197),l=t(73059);function r(e){let{mode:i="purple"}=e;return(0,a.tZ)("div",{className:"w-[30px]",children:(0,a.tZ)(n.Ee,{alt:"Concept Print Logo",src:l.Z,className:"scale-[120%]",unoptimized:!0})})}},97444:function(e,i,t){t.d(i,{v:function(){return r}});var a=t(35944),n=t(58115);let l={error:{boxBg:"bg-[#FFEE95]",boxBd:"border-b-[#FFD630]",iconBg:"bg-marigold"}};function r(e){let{content:i,type:t="error",containerClassName:r=""}=e;return(0,a.BX)("div",{className:`flex items-center gap-[10px] border-b-[2px] ${l[t].boxBd}  ${l[t].boxBg} px-[15px] py-[10px] ${r}`,children:[(0,a.tZ)("div",{className:"relative",children:(0,a.tZ)("div",{className:`flex h-[30px] w-[30px] items-center justify-center rounded-full ${l[t].iconBg}`,children:(0,a.tZ)(n.J,{name:"priority_high",className:"text-[16px]"})})}),(0,a.tZ)("p",{className:"Type-Base-Regular",children:i})]})}},27068:function(e,i,t){t.d(i,{R:function(){return m}});var a=t(35944),n=t(77329),l=t(24901),r=t(11163),s=t(67294);let d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CompanyAccount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bss_is_company_account"}}]}},{kind:"Field",name:{kind:"Name",value:"bssSubUser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"role_name"}},{kind:"Field",name:{kind:"Name",value:"role_type"}}]}}]}}]}}]};var o=t(83726);let c=[{id:1,code:"dashboard"},{id:4,code:"address-book"},{id:5,code:"stored-payment-method"},{id:6,code:"manage-sub-users-and-roles"},{id:7,code:"view-all-orders"},{id:8,code:"view-reports"},{id:9,code:"create-cart"},{id:10,code:"view-all-carts"},{id:11,code:"place-order"},{id:12,code:"place-order-waiting"},{id:13,code:"approve-order-waiting"}];function m(e){let{children:i}=e,[t,m]=(0,s.useState)(!1),[u,p]=(0,s.useState)(!1),[h,g]=(0,s.useState)(!1),[f,x]=(0,s.use
1State)(!1),[b,v]=(0,s.useState)(),[k,N]=(0,s.useState)({beginCheckout:[]}),{loggedIn:y}=(0,n.J)(),w=(0,r.useRouter)(),[Z,S]=(0,s.useState)({id:null,params:{}}),C=(0,l.k)(d,{fetchPolicy:"no-cache",errorPolicy:"all"});(0,s.useEffect)(()=>{let{showAuthModal:e}=w.query;e?.toString()==="1"&&S({id:"auth"}),"string"==typeof w.query.redirectAfterSignIn&&v(w.query.redirectAfterSignIn)},[w.query]);let _=(0,s.useCallback)(e=>{if(C.data?.customer?.bss_is_company_account&&!C.data.bssSubUser)return!0;if(C.data?.bssSubUser){if(C.data?.bssSubUser?.role?.role_type==="0"&&C.data?.bssSubUser?.role?.role_name==="admin")return!0;let i=c.find(i=>i.code===e)?.id;if(!i)return!1;if(i)return C.data?.bssSubUser?.role?.role_type?.split(",").includes(i.toString())}return"manage-sub-users-and-roles"!==e},[C.data]);(0,s.useEffect)(()=>{if("undefined"!=typeof localStorage){if("string"==typeof localStorage.getItem("promoOpen")){let e=localStorage.getItem("promoOpen");e&&JSON.parse(e)&&"boolean"==typeof JSON.parse(e)&&m(JSON.parse(e))}else m(!0);if("string"==typeof localStorage.getItem("eventCalledFor")){let e=localStorage.getItem("eventCalledFor");e&&JSON.parse(e)&&"object"==typeof JSON.parse(e)&&N(JSON.parse(e))}}},[]);let F=(0,s.useCallback)(()=>{m(!1),localStorage&&localStorage.setItem("promoOpen",JSON.stringify(!1))},[m]),T=(0,s.useCallback)((e,i)=>{let t={...k,[e]:[...k[e],i]};N(t),localStorage&&localStorage.setItem("eventCalledFor",JSON.stringify(t))},[k]);return(0,s.useEffect)(()=>{b&&y&&(w.push(b).then(()=>{}).catch(()=>{}),v(null))},[b,w,y]),(0,a.tZ)(o.m.Provider,{value:(0,s.useMemo)(()=>({promoOpen:t,closePromo:F,drawer:Z,setDrawer:S,cartMergeInProgress:f,setCartMergeInProgress:x,isCcFormValid:u,setIsCcFormValid:p,isUsingCcPayment:h,setIsUsingCcPayment:g,eventCalledFor:k,addEventCalledFor:T,isCompanyAccount:C.data?.customer?.bss_is_company_account||!1,isSubUser:!!C.data?.bssSubUser,subUserCan:_,setRedirectAfterSignIn:v}),[t,F,Z,S,f,x,u,p,h,g,k,T,C.data?.customer?.bss_is_company_account,C.data?.bssSubUser,_,v]),children:i})}},70328:function(e,i,t){t.d(i,{R:function(){return l}});var a=t(35944),n=t(21851);function l(e){let{isMiniCartItem:i}=e;return(0,a.tZ)("div",{className:"flex w-full flex-col items-center justify-center gap-1",children:(0,a.BX)("div",{className:`grid min-h-[180px] w-full ${i?"grid-cols-[35fr_65fr]":"grid-cols-[35fr_65fr] md:grid-cols-[15fr_75fr]"} gap-4`,children:[(0,a.tZ)(n.Z,{variant:"rounded",sx:{height:"auto",width:"100%",borderRadius:"6px"},animation:"pulse"}),(0,a.BX)("div",{className:"flex flex-col",children:[(0,a.BX)("div",{className:"max-w-[60%]",children:[(0,a.tZ)(n.Z,{variant:"text",sx:{fontSize:"1rem",width:"100%"},animation:"pulse"}),(0,a.tZ)(n.Z,{variant:"text",sx:{fontSize:"1rem",width:"100%"},animation:"pulse"})]}),(0,a.tZ)(n.Z,{variant:"rounded",height:32,sx:{width:"80%",borderRadius:"6px",marginTop:"30px"},animation:"pulse"}),(0,a.tZ)(n.Z,{variant:"text",sx:{fontSize:"0.5rem",width:"80%",marginTop:"4px"},animation:"pulse"})]})]})})}},64840:function(e,i,t){t.d(i,{K:function(){return m}});var a=t(50319),n=t(65146),l=t(89770),r=t(50486),s=t(36519),d=t(24901),o=t(67294),c=t(83726);function m(){let{currentCartId:e}=(0,s.v)(),i=(0,r.zM)(),[t,{loading:m}]=(0,a.D)(l.e,{errorPolicy:"all"}),{setCartMergeInProgress:u}=(0,o.useContext)(c.m),{data:p,loading:h}=(0,d.k)(n.I,{fetchPolicy:"no-cache"}),g=p?.customerCart.id;(0,o.useEffect)(()=>{g&&e!==g&&(i(g),e&&t({variables:{sourceCartId:e,destinationCartId:g}}))},[i,g,t,e,u]),(0,o.useEffect)(()=>{u(m||h)},[m,u,h])}}}]);
2//# sourceMappingURL=7425-d4a325355c162453.js.map

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.