PageSourceSearch

https://holiday-hub-bribie-island.netlify.app/_next/static/chunks/pages/contact-6050565f0e87a656.js

js holiday-hub-bribie-island.netlify.app collected 2026-10-03 10:52:48 UTC 9,253 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{8105:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return l(3111)}])},5030:function(e,t,l){"use strict";l.d(t,{Z:function(){return c}});var s=l(5893);l(7294);var a=l(6725),i=l(3153);let n=(e,t,l)=>{if("number"!=typeof e&&"string"!=typeof e)return null;let s=String(e).trim().replace(/°$/,"").trim();if(""===s)return null;let a=Number(s);return Number.isFinite(a)&&a>=t&&a<=l?a:null},r=(e,t)=>{let l=n(e,-90,90),s=n(t,-180,180);return null===l||null===s?null:{lat:l,lng:s}},o=()=>(0,s.jsx)(i.IS8,{className:"text-theme-500 h-10 w-10 -translate-x-1/2 -translate-y-full"});var c=e=>{let{lat:t,lng:l}=e,i=r(t,l);return null===i?null:(0,s.jsx)("div",{className:"w-full h-[500px]",children:(0,s.jsx)(a.ZP,{bootstrapURLKeys:{key:"AIzaSyBih_3R0LRXqS1n8RROb9A6cYD35JwXmwY"},defaultCenter:i,defaultZoom:16,className:"h-100 w-100",children:(0,s.jsx)(o,{...i})})})}},5371:function(e,t,l){"use strict";var s=l(5893);l(7294),t.Z=function(e){let{heading:t,imageUrl:l,brief:a}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"aspect-w-2 aspect-h-1 lg:aspect-w-4 lg:aspect-h-1",children:(0,s.jsx)("img",{className:"w-full h-full object-cover",src:l,alt:t})}),(0,s.jsx)("div",{className:"relative container px-4 mx-auto mt-0 lg:-mt-24",children:(0,s.jsx)("div",{className:"max-w-5xl px-4 pt-12 lg:pt-20 mx-auto bg-white",children:(0,s.jsxs)("div",{className:"max-w-2xl mb-12 mx-auto text-center",children:[(0,s.jsx)("h2",{className:"mb-6 text-3xl lg:text-5xl text-theme-500 font-bold font-heading tracking-in-expand",children:t}),(0,s.jsx)("p",{className:"mb-6 text-lg text-gray-500",children:a})]})})})]})}},8609:function(e,t,l){"use strict";l.d(t,{ABOUT_PAGE:function(){return r},ACCOMMODATION_PAGE:function(){return a},CONTACT_PAGE:function(){return m},EXPLORE_PAGE:function(){return n},FACILITIES_PAGE:function(){return i},GALLERY_PAGE:function(){return u},HOME_PAGE:function(){return s},PRIVACY_PAGE:function(){return o},REVIEWS_PAGE:function(){return x},TANDC_PAGE:function(){return c}});let s={PROPERTY_EYEBROW:"",PROPERTY_HEADING:"Welcome to our hotel",PROPERTY_SUBHEADING:"Arrive & Relax",PROPERTY_BODY:"This is beautiful",ACCOMMODATION_EYEBROW:"",ACCOMMODATION_HEADING:"Some of our favorites",REVIEWS_EYEBROW:"",REVIEWS_HEADING:"Our Testimonials",FAQ_EYEBROW:"Our questions",FAQ_HEADING:"Frequently Asked Questions"},a={HEADING:"Accommodation",BRIEF:"Check out our great selection of accommodation.",IMAGE:"https://images.unsplash.com/photo-1506477331477-33d5d8b3dc85?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=734&q=80"},i={HEADING:"Facilities",BRIEF:"Great facilities.",IMAGE:"https://images.unsplash.com/photo-1473186578172-c141e6798cf4?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1073&q=80"},n={HEADING:"Explore",BRIEF:"Plan your stay with this list of great things to do here.",IMAGE:"https://images.unsplash.com/photo-1501555088652-021faa106b9b?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1473&q=80"},r={HEADING:"About Us",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1511649475669-e288648b2339?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1632&q=80"},o={HEADING:"Privacy Policy",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1511649475669-e288648b2339?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1632&q=80"},c={HEADING:"Terms & Conditions",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1511649475669-e288648b2339?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1632&q=80"},m={HEADING:"Contact Us",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1511649475669-e288648b2339?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1632&q=80",FORM_HEADING:"Send A Message",FORM_BRIEF:"Send a message to us and we will get back to you as soon as we could."},u={HEADING:"Gallery",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1473&q=80"},x={HEADING:"Reviews",BRIEF:"",IMAGE:"https://images.unsplash.com/photo-1590523741831-ab7e8b8f9c7f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80"}},3111:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return x},default:function(){return d}});var s=l(5893),a=l(7294),i=l(9570),n=l(5371),r=l(5030),o=l(3801),c=l(8609),m=l(3454),u=function(){let[e,t]=(0,a.useState)({name:"",email:"",mobile:"",message:""}),[l,i]=(0,a.useState)(!1),n=l=>t({...e,[l.target.name]:l.target.value});return(0,s.jsx)(s.Fragment,{children:l?(0,s.jsx)("div",{className:" bg-green-50 p-4",children:(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)(o.rE2,{className:"h-5 w-5 text-green-400","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"ml-3",children:[(0,s.jsx)("h3",{className:"text-sm font-medium text-green-800",children:"The form is submmited"}),(0,s.jsx)("div",{className:"mt-2 text-sm text-green-700",children:(0,s.jsx)("p",{children:"Our team will get back to you soon."})})]})]})}):(0,s.jsxs)("form",{action:"",children:[(0,s.jsx)("input",{className:"block  w-full bg-theme-50 focus:outline-none py-4 pl-6 mb-2 placeholder-theme-400 text-sm text-theme-400",type:"input",placeholder:"Your name",name:"name",value:null==e?void 0:e.name,onChange:n,required:!0}),(0,s.jsx)("input",{className:"block  w-full bg-theme-50 focus:outline-none py-4 pl-6 mb-2 placeholder-theme-400 text-sm text-theme-400",type:"input",placeholder:"Your phone number",name:"mobile",value:null==e?void 0:e.mobile,onChange:n,required:!0}),(0,s.jsx)("input",{className:"block  w-full bg-theme-50 focus:outline-none py-4 pl-6 mb-2 placeholder-theme-400 text-sm text-theme-400",type:"email",placeholder:"Your e-mail address",name:"email",value:null==e?void 0:e.email,onChange:n,required:!0}),(0,s.jsx)("textarea",{className:"block  w-full bg-theme-50 focus:outline-none py-4 px-6 mb-2 resize-none placeholder-theme-400 tetx-sm text-theme-400",name:"",id:"",rows:"10",placeholder:"Your message...",name:"message",value:null==e?void 0:e.message,onChange:n,required:!0}),(0,s.jsx)("button",{onClick:t=>{if(t.preventDefault(),(null==e?void 0:e.name)&&(null==e?void 0:e.email)&&(null==e?void 0:e.mobile)&&(null==e?void 0:e.message)){let t=m.env.NEXT_PUBLIC_API_URL||"https://api.resly.com.au/";fetch("".concat(t,"website/email"),{method:"POST",mode:"no-cors",cache:"no-cache",body:JSON.stringify({propertyId:"holiday-hub-bribie-island",...e})}),i(!0)}else alert("Some fields in the contact form are not filled properly.")},className:"block  w-full py-5 bg-theme-500 hover:bg-theme-400 text-sm text-white uppercase font-bold transition duration-200",children:"Submit"})]})})},x=!0,d=function(e){let{websiteContent:t}=e,{property:l}=t||{},{lat:a,lng:o,email:m,phone:x,address:d,state:f,postCode:h,contact_heading:p,contact_subheading:b,contact_image:g,contact_form_heading:w,contact_form_subheading:E,contact_office_hours:N}=l||{},{HEADING:A,BRIEF:j,IMAGE:G,FORM_HEADING:v,FORM_BRIEF:I}=c.CONTACT_PAGE;return(0,s.jsxs)(i.Z,{property:l,currentPage:"/contact",title:p||A,children:[(0,s.jsx)(n.Z,{heading:p||A,brief:b||j,imageUrl:g||G}),(0,s.jsx)("section",{className:"relative py-5 lg:py-24 overflow-hidden",children:(0,s.jsx)("div",{className:"relative container px-4 mx-auto",children:(0,s.jsxs)("div",{className:"flex flex-wrap items-center -mx-4",children:[(0,s.jsx)("div",{className:"w-full lg:w-1/2 px-4 mb-12 lg:mb-0",children:(0,s.jsxs)("div",{className:"",children:[a&&o&&(0,s.jsx)("div",{className:"relative mb-5 lg:mb-10",children:(0,s.jsx)(r.Z,{lat:a,lng:o})}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5 lg:gap-10",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"uppercase text-theme-400 font-semibold leading-loose tracking-widest",children:"Location"}),(0,s.jsx)("p",{className:"text-gray-500",children:d}),(0,s.jsx)("p",{className:"text-gray-500",children:"".concat(f," ").concat(h)})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"uppercase text-theme-400 font-semibold leading-loose tracking-widest",children:"Contact"}),(0,s.jsx)("p",{className:"text-gray-500",children:(0,s.jsx)("a",{href:"mailto:".concat(m),children:m})}),(0,s.jsx)("p",{className:"text-gray-500",children:(0,s.jsx)("a",{href:"tel:".concat(x),children:x})})]}),N&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"uppercase text-theme-400 font-semibold leading-loose tracking-widest",children:"Office Hours"}),(0,s.jsx)("p",{className:"text-gray-500",children:N})]})]})]})}),(0,s.jsx)("div",{className:"w-full lg:w-1/2 px-5",children:(0,s.jsxs)("div",{className:"bg-white",children:[(0,s.jsx)("h3",{className:"mb-2 text-2xl text-theme-800 font-bold font-heading",children:w||v}),(0,s.jsx)("p",{className:"mb-6 text-gray-500",children:E||I}),(0,s.jsx)(u,{})]})})]})})})]})}}},function(e){e.O(0,[551,883,570,888,774,179],function(){return e(e.s=8105)}),_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.