PageSourceSearch

https://infiniaruba.com/_next/static/chunks/pages/contact-us-026e7b00e8ee0e94.js

js infiniaruba.com collected 2026-10-06 07:54:57 UTC 13,008 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{6008:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return n(6638)}])},8879:function(e,t,n){"use strict";var i=n(5893),o=n(508),s=n(2725),r=n(1468);let l=(0,o.ZP)(s.W2).withConfig({componentId:"sc-c4c9fa3f-0"})(["padding-top:",";padding-bottom:",";"],e=>e.theme.spacing[e.pt],e=>e.theme.spacing[e.pb]);t.Z=e=>{let{title:t="",pt:n="",pb:o=""}=e;return(0,i.jsx)(l,{direction:"column",alignItems:"center",justifyContent:"center",pt:n,pb:o,children:(0,i.jsx)(s.X2,{justifyContent:"center",children:(0,i.jsx)(s.sg,{width:"100%",justifyContent:"center",children:(0,i.jsx)(r.H1,{textAlign:"center",children:t})})})})}},2236:function(e,t,n){"use strict";var i=n(5893),o=n(9008),s=n.n(o);t.Z=e=>{let{title:t,postTitle:n,url:o,description:r,image:l,externalLibrary:c=""}=e;return(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:t||n}),(0,i.jsx)("meta",{name:"description",content:r}),(0,i.jsx)("meta",{name:"image",content:null==l?void 0:l.url}),(0,i.jsx)("meta",{name:"author",content:"CR38TE - DEFINE.DESIGN.DEVELOP"}),(0,i.jsx)("meta",{property:"og:url",content:o.replace("cms.","")}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:title",content:t||n}),(0,i.jsx)("meta",{property:"og:description",content:r}),(0,i.jsx)("meta",{property:"og:image",content:null==l?void 0:l.url}),(0,i.jsx)("meta",{property:"og:site_name",content:t||n}),(0,i.jsx)("base",{href:"%PUBLIC_URL%/"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),c&&(0,i.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/react-datepicker/2.14.1/react-datepicker.min.css"}),(0,i.jsx)("script",{type:"text/javascript",src:"https://js.createsend1.com/javascript/copypastesubscribeformlogic.js"})]})}},6638:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return K},default:function(){return B}});var i=n(5893),o=n(508),s=n(2725),r=n(1468),l=n(2236),c=n(9166),a=n(8879),d=n(6341),p=n(7756),m=n(4119),h=n(2565),f=n(7294),g=n(7536),x=n(9137),u=n(2655),y=n(8335);let j=o.ZP.form.withConfig({componentId:"sc-35854745-0"})(["margin-top:",";& .alert{border:1px solid red;background-color:pink;color:red;padding:15px 15px;height:40px;font-size:14px;line-height:14px;text-align:left;position:absolute;top:0;right:0;border-radius:0;}@media ","{width:100%;margin-bottom:",";}"],e=>e.theme.spacing.doubleInset,u.U.mobileL,e=>e.theme.spacing.tripleInset),b=o.ZP.div.withConfig({componentId:"sc-35854745-1"})(["position:relative;display:flex;width:100%;flex-direction:column;&.checkboxGroup{flex-direction:row;align-items:flex-start;margin-bottom:30px;}"]),w=o.ZP.input.withConfig({componentId:"sc-35854745-2"})(["margin-bottom:",";border-radius:0;border:1px solid #cccccc;padding:15px 20px;height:40px;position:relative;&:focus{outline:none;border:1px solid #666;}&::placeholder{color:#000000 !important;opacity:1;}&:-ms-input-placeholder{color:red;}&::-ms-input-placeholder{color:red;}"],e=>e.theme.spacing.doubleInset),I=(0,o.ZP)(w).attrs({as:"textarea"}).withConfig({componentId:"sc-35854745-3"})(["height:auto;"]);o.ZP.input.withConfig({componentId:"sc-35854745-4"})(["margin-right:8px;margin-bottom:0;height:20px;border:1px solid #cccccc;"]),o.ZP.label.withConfig({componentId:"sc-35854745-5"})(["color:",";font-size:14px;line-height:28px;"],e=>e.theme.colors.defaultPrimary);let Z=(0,o.ZP)(x.z).attrs({as:"button"}).withConfig({componentId:"sc-35854745-6"})(["width:220px;border:0;"]),v=o.ZP.strong.withConfig({componentId:"sc-35854745-7"})(["color:",";letter-spacing:0.42px;font-size:15px;line-height:22px;margin-bottom:",";"],e=>e.theme.colors.defaultPrimary,e=>e.theme.spacing.inset),C=o.ZP.div.withConfig({componentId:"sc-35854745-8"})(["display:none;"]);var T=e=>{let{buttonText:t}=e,{handleSubmit:n,register:o,formState:{errors:s}}=(0,g.cI)(),[r,l]=(0,f.useState)("initial");return"success"===r&&(t="Thank you!"),"sending"===r&&(t="Submitting your info..."),(0,i.jsxs)(j,{id:"subForm",onSubmit:n(e=>{var t;let n=null==e?void 0:e.message;y.B({action:"submit_form",category:"Contact",label:n});let i=null===(t=window)||void 0===t?void 0:t.grecaptcha;if(!i){console.log("recaptcha object not defined");return}try{let t="contactpage";i.ready(function(){i.execute("6Lcivc8ZAAAAAKchux81dFrnvcWXNueDwZuaPFtO",{action:t}).then(function(n){let i=new FormData;for(let t in e)i.set(t,e[t]);i.set("action","handle_contact_form_submission"),i.set("token",n),i.set("recaptcha-action",t),l("sending"),fetch("".concat("https://cms.infiniaruba.
1com/","/wp-admin/admin-ajax.php"),{method:"POST",body:i}).then(e=>e.json()).then(async e=>{let{status:t,result:n}=e;console.log(t,n),l("success"===t&&n?"success":"error")}).catch(e=>console.error(e)).finally(e=>console.log("done"))})})}catch(e){console.log("Error executing grecaptcha"),console.log(e)}}),children:[(0,i.jsxs)(b,{children:[(0,i.jsx)(w,{id:"fieldName",type:"text",placeholder:"Full name",name:"fullName",...o("fullName",{required:!0,maxLength:25})}),s.fullName&&(0,i.jsx)("span",{className:"alert",role:"alert",children:"Required"})]}),(0,i.jsxs)(b,{children:[(0,i.jsx)(w,{type:"tel",placeholder:"Telephone",name:"telephone",...o("telephone",{required:!0,minLength:6,maxLength:12})}),s.telephone&&(0,i.jsx)("span",{className:"alert",role:"alert",children:"Required"})]}),(0,i.jsxs)(b,{children:[(0,i.jsx)(w,{id:"fieldEmail",type:"email",placeholder:"Email",name:"email",...o("email",{required:!0})}),s.email&&(0,i.jsx)("span",{className:"alert",role:"alert",children:"Required"})]}),(0,i.jsxs)(b,{children:[(0,i.jsx)(w,{id:"fieldSubject",type:"text",placeholder:"Subject",name:"subject",...o("subject",{required:!0})}),s.subject&&(0,i.jsx)("span",{className:"alert",role:"alert",children:"Required"})]}),(0,i.jsxs)(b,{children:[(0,i.jsx)(I,{id:"message",name:"message",rows:"10",cols:"50",placeholder:"Message",...o("message",{required:!0})}),s.message&&(0,i.jsx)("span",{className:"alert",role:"alert",children:"Required"})]}),(0,i.jsx)(b,{children:(0,i.jsx)(C,{children:(0,i.jsx)(w,{type:"text",id:"url",name:"url",placeholder:"Leave this empty",...o("url")})})}),"success"===r&&(0,i.jsx)(v,{children:"Thank you for submitting your information. We'll contact you as soon as possible."}),"success"!==r&&(0,i.jsx)(Z,{type:"submit",bgColor:"primary",color:"defaultSecondary",disabled:"sending"===r,children:t})]})},P=n(8499),_=n.p+"static/media/map_marker.0c3ca73dcaa473ec.png";let k=o.ZP.img.withConfig({componentId:"sc-d3ea407f-0"})([""]);function N(){return(0,i.jsx)(k,{src:_,className:"mapMarker",alt:"Google maps location marker - Infini Aruba"})}function L(e){return{styles:[{featureType:"water",elementType:"geometry",stylers:[{color:"#e9e9e9"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#ffffff"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:21}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#dedede"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#f2f2f2"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#fefefe"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#fefefe"},{lightness:17},{weight:1.2}]}]}}let E=o.ZP.div.withConfig({componentId:"sc-17389c0e-0"})(["margin-top:",";display:block;height:500px;width:100%;border-radius:0;.mapMarker{width:30px;}"],e=>e.theme.spacing.doubleInset);var S=e=>(0,i.jsx)(E,{children:(0,i.jsx)(P.ZP,{bootstrapURLKeys:{key:"AIzaSyAxTgeNNj0KY_DxPQq5oUwHgKWZMxfFX6A"},defaultCenter:e,defaultZoom:13,options:L,yesIWantToUseGoogleMapApiInternals:!0,children:(0,i.jsx)(N,{...e})})}),q=n(6277),U=n(2340);let A=(0,o.ZP)(s.W2).attrs({as:"main"}).withConfig({componentId:"sc-bb2f1e01-0"})(["padding-top:84px;@media ","{padding-top:50px;}"],u.U.laptop),F=(0,o.ZP)(s.W2).withConfig({componentId:"sc-bb2f1e01-1"})(["padding-bottom:",";"],e=>e.theme.spacing.megaInset),z=(0,o.ZP)(s.X2).withConfig({componentId:"sc-bb2f1e01-2"})(["align-items:",";"],e=>e.theme.alignItems[e.alignItems]),R=(0,o.ZP)(s.sg).withConfig({componentId:"sc-bb2f1e01-3"})(["@media ","{width:calc( 100vw );max-width:calc( 100vw );}"],u.U.mobileL),M=o.ZP.div.withConfig({componentId:"sc-bb2f1e01-4"})(["display:flex;flex-direction:",";justify-content:",";align-items:",";@media ","{flex-direction:",";}"],e=>e.theme.direction[e.direction],e=>e.theme.justifyContent[e.justifyContent],e=>e.theme.alignItems.start,u.U.mobileL,e=>e.theme.direction.column),W=(0,o.ZP)(r.H2).withConfig({componentId:"sc-bb2f1e01-5"})(["font-size:18px;line-height:22px;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:",";"],e=>e.theme.spacing.inset),X=o.ZP.div.withConfig({componentId:"sc-bb2f1e01-6"})(["flex:1;@media ","{width:100%;margin-bottom:",";}"],u.U.mobileL,e=>e.theme.spacing.doubleInset),D=o.ZP.div.withConfig({componentId:"sc-bb2f1e01-7"})(["font-size:14px;line-height:28px;letter-spacing:0.54px;text-transform:uppercase;font-weight:500;@media ","{text-align:center;}"],u.U.mobileL),H=o.ZP.div.withConfig({componentId:"sc-bb2f1e01-8"})([""," @media ","{text-align:center;}"],r.p,u.U.mobileL),O=o.ZP.div.withConfig({componentId:"sc-bb2f1e01-9"})(["display:flex;flex-direction:row;font-size:14px;line-height:28px;letter-spacing:0.54px;font-weight:300;align-items:flex-start;> div{margin-right:",";display:block;svg{margin-top:5px;}}"],e=>e.theme.spacing.inset),G=o.ZP.a.withConfig({componentId:"sc-bb2f1e01-10"})(["     "," color:",";text-decoration:none;font-weight:400;&:hover{color:",";}"],r.p,e=>e.theme.colors.defaultPrimary,e=>e.theme.colors.defaultPrimary);var K=!0,B=e=>{let{post_title:t,permalink:n,acf:o,options:r}
1=e,{mainNavigation:f,footer:g}=r,{address:x,email:u,phone:y,secondaryPhone:j,usPhone:b,lat:w,lng:I,zoom:Z=16}=null==g?void 0:g.contactInfo,{heroArea:v,description:C,openingHours:P,contactFormTitle:_,mapTitle:k,buttonText:N,SEOTitle:L,SEODescription:E,ogImage:K}=o,{title:B,firstTitle:Q,secondTitle:V,secondDescription:Y,contactInfoTitle:J}=P;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{title:L,postTitle:t,url:n,description:E,image:K}),(0,i.jsx)(q.Z,{...f}),(0,i.jsxs)(A,{direction:"column",children:[(0,i.jsx)(c.Z,{...v}),(0,i.jsx)(a.Z,{pt:"megaInset",title:t}),(0,i.jsx)(d.Z,{pt:"inset",pb:"quarterlyInset",description:C}),(0,i.jsx)(F,{direction:"row",justifyContent:"center",alignItems:"start",children:(0,i.jsxs)(s.X2,{children:[(0,i.jsxs)(R,{width:"60%",direction:"column",children:[(0,i.jsx)(W,{color:"primary",children:B}),(0,i.jsxs)(M,{direction:"row",justifyContent:"spaceEvenly",children:[(0,i.jsxs)(X,{children:[(0,i.jsx)(D,{children:Q}),(0,i.jsx)(H,{dangerouslySetInnerHTML:{__html:P.description}})]}),(0,i.jsxs)(X,{children:[(0,i.jsx)(D,{children:V}),(0,i.jsx)(H,{dangerouslySetInnerHTML:{__html:Y}})]})]})]}),(0,i.jsxs)(R,{width:"40%",direction:"column",children:[(0,i.jsx)(W,{color:"primary",children:J}),(0,i.jsxs)(M,{direction:"column",children:[(0,i.jsxs)(O,{children:[(0,i.jsx)(h.Z,{}),(0,i.jsx)(G,{href:"http://www.google.com/maps/place/".concat(w,",").concat(I,"/@").concat(w,",").concat(I,",").concat(Z,"z"),target:"_blank",rel:"noopener",children:x})]}),(0,i.jsxs)(O,{children:[(0,i.jsx)(m.Z,{}),(0,i.jsx)(G,{href:"mailto:".concat(u),target:"_blank",rel:"noopener",children:u})]}),(0,i.jsxs)(O,{children:[(0,i.jsx)(p.Z,{}),(0,i.jsx)(G,{href:"tel:".concat(y),target:"_blank",rel:"noopener",children:y})]}),j&&(0,i.jsxs)(O,{children:[(0,i.jsx)(p.Z,{}),(0,i.jsx)(G,{href:"tel:".concat(j),target:"_blank",rel:"noopener",children:j})]}),b&&(0,i.jsxs)(O,{children:[(0,i.jsx)(p.Z,{}),(0,i.jsx)(G,{href:"tel:".concat(b),target:"_blank",rel:"noopener",children:b})]})]})]})]})}),(0,i.jsx)(F,{direction:"row",justifyContent:"center",alignItems:"start",children:(0,i.jsxs)(z,{alignItems:"start",children:[(0,i.jsxs)(R,{width:"50%",direction:"column",alignItems:"start",children:[(0,i.jsx)(W,{color:"primary",children:_}),(0,i.jsx)(T,{buttonText:N})]}),(0,i.jsxs)(R,{width:"50%",direction:"column",alignItems:"start",children:[(0,i.jsx)(W,{color:"primary",children:k}),(0,i.jsx)(S,{lat:parseFloat(w),lng:parseFloat(I)})]})]})})]}),(0,i.jsx)(U.Z,{...g})]})}}},function(e){e.O(0,[281,499,908,888,774,179],function(){return e(e.s=6008)}),_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.