1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6219],{11587:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return l(52476)}])},52476:function(e,n,l){"use strict";l.r(n),l.d(n,{__N_SSP:function(){return x},default:function(){return g}});var t=l(85893),a=l(67294),s=l(10498),i=l(41205),o=l(47311),r=l(46871),c=l(45007),d=l(64629),u=l(15488),m=l(15493),h=l(65779),p=()=>{let e=(0,d.T)(),{collections:n}=(0,c.v9)(e=>e.productSlice),[l,s]=(0,a.useState)(!1),[o,r]=(0,a.useState)({name:"",email:"",phone:"",product_type:{label:"",value:""},description:""}),p=e=>{let{name:n,value:l}=e.target;r(e=>({...e,[n]:l}))},v=null==n?void 0:n.map(e=>({label:null==e?void 0:e.tag,value:null==e?void 0:e.tag})),x=async n=>{n.preventDefault(),s(!0);let l={name:o.name,email:o.email,phone:o.phone,product_type:"object"==typeof o.product_type?o.product_type.value:o.product_type,description:o.description};await e((0,u.vB)(l)).then(n=>{(null==n?void 0:n.success)?(e((0,m.br)(!0,"success",null==n?void 0:n.message)),r({name:"",email:"",phone:"",product_type:{label:"",value:""},description:""})):e((0,m.br)(!0,"error","Something went wrong"))}),s(!1)};return(0,t.jsx)("div",{className:"quote-container",children:(0,t.jsxs)("form",{className:"quote-form",onSubmit:x,children:[(0,t.jsx)("h2",{children:"Request a Custom Quote"}),(0,t.jsx)("div",{className:"form-row",children:(0,t.jsx)("input",{type:"text",name:"name",placeholder:"Full Name",value:o.name,onChange:p,required:!0})}),(0,t.jsxs)("div",{className:"form-row",children:[(0,t.jsx)("input",{type:"email",name:"email",placeholder:"Email Address",value:o.email,onChange:p,required:!0}),(0,t.jsx)("input",{type:"tel",name:"phone",placeholder:"Phone Number",value:o.phone,onChange:p})]}),(0,t.jsx)("div",{className:"form-row full-width",children:(0,t.jsx)(h.Z,{placeholder:"Product Type",onChange:e=>r(n=>({...n,product_type:e})),options:v,isSearchable:!0})}),(0,t.jsx)("div",{className:"form-row full-width",children:(0,t.jsx)("textarea",{name:"description",placeholder:"Project Details",rows:5,value:o.description,onChange:p,required:!0})}),(0,t.jsx)(i.Z,{type:"submit",loading:l,className:"submit-btn",children:"Send Inquiry"})]})})},v=e=>{var n,l,a,s;let{page:d}=e,{themeConfig:u}=(0,c.v9)(e=>e.storefrontSlice);return(0,t.jsx)(t.Fragment,{children:(null==d?void 0:d.id)?(0,t.jsx)("div",{className:"page-details-page ".concat(null==u?void 0:u.theme_slug),children:(0,t.jsxs)(t.Fragment,{children:[(null==u?void 0:u.theme_slug)=="vogue-016"?(0,t.jsx)("h1",{className:"page-name",children:null==d?void 0:d.name}):(0,t.jsx)("div",{className:"title-container",style:{backgroundImage:"url(".concat((0,r.Yz)((0,r.Qr)(null===(n=d.header_image)||void 0===n?void 0:n.path),1e3),")")},children:(0,t.jsx)("div",{className:"mask",children:(0,t.jsxs)("div",{className:"title-texts",children:[(0,t.jsxs)("h1",{className:"blog-title",children:[d.title," "]}),d.header_description&&(0,t.jsx)("p",{className:"desc",children:d.header_description})]})})}),(0,t.jsxs)("div",{className:"content-section",children:[(null==d?void 0:null===(l=d.content_image)||void 0===l?void 0:l.path)&&(0,t.jsx)("img",{src:(0,r.Yz)((0,r.Qr)(null===(a=d.content_image)||void 0===a?void 0:a.path),700),width:700,height:600,className:"content_img",alt:null===(s=d.content_image)||void 0===s?void 0:s.name}),(0,t.jsxs)("div",{className:"info",children:[(0,t.jsx)("div",{className:"content",children:(0,o.ZP)(d.content)}),d.button_link&&(0,t.jsx)(i.Z,{className:"custom_button base-btn-primary",onClick:()=>{window.open(d.button_link,"_blank")},children:d.button_text}),(null==u?void 0:u.theme_slug)==="vogue-016"&&(0,t.jsx)(p,{})]})]})]})}):(0,t.jsx)("section",{className:"error-boundary-fallback page-not-found",children:(0,t.jsxs)("div",{className:"error-container",children:[(0,t.jsxs)("p",{className:"oops-text",children:["THE LINK YOU ARE TRYING TO ACCESS IS INVALID"," "]}),(0,t.jsx)("p",{className:"error-text",children:"Please click the button below to go back to the home page."}),(0,t.jsx)("div",{className:"btn-box",children:(0,t.jsx)(i.Z,{onClick:()=>{window.location.href="/"},className:"try-again base-btn-primary",children:"Go Home"})})]})})})},x=!0,g=function(e){return(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)(s.Z,{}),children:(0,t.jsx)(v,{page:null==e?void 0:e.page})})}}},function(e){e.O(0,[47311,92888,49774,40179],function(){return e(e.s=11587)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.