(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{"7pVj":function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r);a.a=function(e){var a,t=e.moreCTA,c=e.moreText,l=e.moreTitle,i=Object(r.useState)([]),s=i[0],o=i[1],m=[],u=[];return n.a.createElement("div",{className:"accordion "+(a=0,s.accordion&&s.accordion[a]?"open":"closed")},n.a.createElement("div",{className:"accordion-title",onClick:function(e){e.preventDefault(),function(e,a){var t=a.currentTarget.parentNode.getElementsByClassName("accordion-body-inner")[0].offsetHeight,r=!0;void 0!==s.accordion&&(r=!s.accordion[e]),m[e]=r,u[e]=t,o({accordion:m,height:u})}(0,e)}},t,n.a.createElement("div",{className:"cross"})),n.a.createElement("div",{className:"accordion-body",style:{height:function(e){return s.height?s.height[e]:0}(0)}},n.a.createElement("div",{className:"accordion-body-inner"},n.a.createElement("div",{className:"accordion-body-inner"},l&&n.a.createElement("h3",null,l),n.a.createElement("div",{dangerouslySetInnerHTML:{__html:c}})))))}},"82kg":function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r),c=t("Wbzz"),l=t("vDqi"),i=t.n(l);t("xhuL");a.a=function(e){var a=e.searchTitle,t=e.placeholderCopy,l=Object(r.useState)(!1),s=l[0],o=l[1],m=Object(r.useState)([]),u=m[0],d=m[1],p=Object(r.useState)(!1),v=p[0],E=p[1];return n.a.createElement("section",{className:"search-form-wrapper"},n.a.createElement("div",{className:"container"},n.a.createElement("div",{className:"row justify-content-center"},n.a.createElement("div",{className:"col-5 col-lg-5"},n.a.createElement("div",{className:"card"},n.a.createElement("div",{className:"card-body text-center"},n.a.createElement("h4",null,a),n.a.createElement("form",{className:"form-inline justify-content-center",onSubmit:function(e){e.preventDefault()}},n.a.createElement("div",{className:"form-group form-group-suggestion"},n.a.createElement("input",{type:"text",className:"form-control form-control-lg",id:"zip",name:"zip",placeholder:t,onChange:function(e){var a;a=e.target.value,E(!0),i.a.post("https://www.dinggo.com.au/endpoints/postcodeseosearch",{keyword:a,url:window.location.href}).then((function(e){var a=e.data;a.success&&null!==a.data?d(a.data):d([]),E(!1)}))},onFocus:function(){o(!1)}}),v&&n.a.createElement("div",{className:"lds-ring"},n.a.createElement("div",null),n.a.createElement("div",null),n.a.createElement("div",null),n.a.createElement("div",null)),n.a.createElement("span",{className:"icon-search"}),u&&u.length>0&&n.a.createElement("ul",{className:"suggestion-wrapper "+(s?"hide":"")},u.map((function(e,a){return n.a.createElement("li",{key:e.list+"-"+a,onClick:function(a){!function(e,a){e.preventDefault(),o(!0),Object(c.navigate)(a)}(a,e.url)}},e.list)})))))))))))}},H9HT:function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r),c=t("40+L"),l=t.n(c),i=t("oxxs");t("VLDe"),t("vF7b");a.a=function(e){var a=e.reviews;return 0===a.length?null:n.a.createElement("div",{className:"customer-reviews-wrapper"},n.a.createElement("div",{className:"container"},n.a.createElement("div",{className:"intro"},n.a.createElement("h2",null,"Latest Customer Reviews")),n.a.createElement(l.a,{additionalTransfrom:0,arrows:!1,infinite:!1,autoPlay:!0,autoPlaySpeed:3e4,centerMode:!1,className:"",dotListClass:"",draggable:!0,focusOnSelect:!1,keyBoardControl:!0,minimumTouchDrag:80,partialVisible:!0,renderButtonGroupOutside:!1,renderDotsOutside:!1,responsive:{desktop:{breakpoint:{max:6e3,min:1024},items:3,partialVisibilityGutter:0},tablet:{breakpoint:{max:1100,min:767},items:2,partialVisibilityGutter:30},mobile:{breakpoint:{max:464,min:0},items:1,partialVisibilityGutter:30}},showDots:"undefined"==typeof window||(window.innerWidth>1024?a.length>3:a.length>1),swipeable:!0},a.length>0&&a.map((function(e){return n.a.createElement("div",{className:"customer-review-slide",key:e.reviewText},n.a.createElement("div",{className:"customer-review-slide-inner"},n.a.createElement("div",{className:"review"},e.reviewText),n.a.createElement("div",{className:"rating-stars-container"},n.a.createElement("span",{className:"rating-stars rating-stars-off"},"★★★★★"),n.a.createElement("span",{className:"rating-stars rating-stars-on",style:{width:Object(i.a)(e.rating)+"%"}},"★★★★★")),n.a.createElement("div",{className:"review-author"},e.customerName," - ",e.reviewDate),n.a.createElement("div",{className:"review-car"},e.pbName)))})))))}},rpg5:function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r);a.a=function(e){var a=e.breadcrumbs;return n.a.createElement("nav",{className:"breadcrumb","aria-label":"Breadcrumb"},n.a.createElement("ol",{className:"breadcrumb__list"},a.map((function(e){return function(e){return""===e.url?n.a.createElement("li",{className:"breadcrumb__item",key:e.text},n.a.createElement("span",{className:"breadcrumb__link breadcrumb__link__active"},e.text)):n.a.createElement("li",{className:"breadcrumb__item",key:e.text},n.a.createElement("a",{className:"breadcrumb__link",href:e.url},e.text),n.a.createElement("span",{className:"breadcrumb__separator","aria-hidden":"true"}," / "))}(e)}))))}},sp9E:function(e,a,t){},wTfH:function(e,a,t){"use strict";t.r(a),t.d(a,"query",(function(){return b}));var r=t("q1tI"),n=t.n(r),c=t("9eSz"),l=t.n(c),i=t("Bl7J"),s=t("vrFN"),o=t("A6Tw"),m=t("H9HT"),u=t("wqLW"),d=t("rpg5"),p=t("yptg"),v=t("82kg"),E=t("7pVj"),b=(t("sp9E"),"2954241750");a.default=function(e){var a=e.data.seopages,t=a.seo,r=a.breadcrumbs,c=a.exploreInfo,b=a.items,f=a.jumbotron,g=a.moreInfo,h=a.reviews,N=a.searchText,w=a.searchPlaceholder;return n.a.createElement(i.a,{wrapperClass:"standard-page service-list-wrapper",showSiteIndex:!0,hideHeaderFooter:!0},n.a.createElement(s.a,{title:t.title,description:t.title,canonical:t.canonical,stucturedData:"",ogTitle:t.og.title,ogDescription:t.og.description,ogImage:t.og.image,ogType:t.og.type,ogUrl:t.og.url}),n.a.createElement(o.a,null),n.a.createElement(u.a,{subHeading:f.header,title:f.body,btnText:f.button}),n.a.createElement(d.a,{breadcrumbs:r}),N&&n.a.createElement(v.a,{searchTitle:N,placeholderCopy:w}),n.a.createElement("div",{className:"container"},c&&n.a.createElement(p.a,{title:c.header,text:c.body,classWrapper:"intro"}),n.a.createElement("div",{className:"row "+a.type},b.map((function(e){return n.a.createElement("a",{href:e.url,className:"service-tile col-3 text-center",key:e.name},n.a.createElement("div",{className:"card"},n.a.createElement("div",{className:"card-body"},e.photoLink.local&&n.a.createElement("div",{className:"service-tile-image"},n.a.createElement(l.a,{fluid:e.photoLink.local.childImageSharp.fluid})),n.a.createElement("h3",null,e.name))))}))),n.a.createElement(E.a,{moreCTA:g.title,moreText:g.body,moreTitle:g.header})),n.a.createElement(m.a,{reviews:h}))}},wqLW:function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r),c=t("Wbzz");a.a=function(e){var a=e.subHeading,t=e.title,r=e.btnText,l=r||"Compare Quotes";return n.a.createElement("div",{className:"hero-banner"},n.a.createElement("div",{className:"container"},a&&n.a.createElement("h1",null,a),t&&n.a.createElement("h4",null,t),n.a.createElement(c.Link,{to:"/quote",className:"btn"},l)))}},xhuL:function(e,a,t){},yptg:function(e,a,t){"use strict";var r=t("q1tI"),n=t.n(r);a.a=function(e){var a=e.title,t=e.text,r=e.classWrapper;return n.a.createElement("div",{className:"text-center intro-wrapper "+r},a&&"intro"===r&&n.a.createElement("h3",null,a),a&&"outro"===r&&n.a.createElement("h2",null,a),t&&n.a.createElement("div",{className:"intro-text",dangerouslySetInnerHTML:{__html:t}}))}}}]); //# sourceMappingURL=component---src-templates-services-list-js-c096964a61b0dc7cddd1.js.map