1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,409414,e=>{e.v({ActiveDateText:"date-type-module-scss-module__-rp2vG__ActiveDateText"})},978331,e=>{e.v({ReviewCard:"review-card-module-scss-module__Eowptq__ReviewCard"})},973409,e=>{e.v({ActiveCard:"review-card-highlighted-module-scss-module__TKVpMq__ActiveCard",ActiveDateText:"review-card-highlighted-module-scss-module__TKVpMq__ActiveDateText",AvatarImage:"review-card-highlighted-module-scss-module__TKVpMq__AvatarImage",CircleAvatar:"review-card-highlighted-module-scss-module__TKVpMq__CircleAvatar",Review:"review-card-highlighted-module-scss-module__TKVpMq__Review"})},552593,e=>{e.v({Review:"review-card-modern-module-scss-module__aaRe0a__Review",StarContainer:"review-card-modern-module-scss-module__aaRe0a__StarContainer"})},739656,e=>{e.v({arrowsBottom:"reviews-slider-module-scss-module__WdSz5G__arrowsBottom"})},403672,882432,899422,e=>{"use strict";var t=e.i(464645),s=e.i(243828),l=e.i(271104),a=e.i(129182);let r=s.default;l.default.locations,e.s(["useFilteredReviews",0,(e=r,s=10)=>(0,t.useMemo)(()=>e?.reviews?e.reviews.filter(e=>386779!==e.id).filter(e=>e.text&&!e.text.includes("Translated")).filter(e=>!a.hiddenReviews.includes(e.customer_name)).slice(0,s):[],[e.reviews,s])],403672);var i=e.i(563705),o=e.i(782804),d=e.i(424622),c=e.i(623039),n=e.i(667568),u=e.i(615190),m=e.i(409414);let v=({review:e})=>"date"===n.default.reviews.dateType?(0,i.jsx)("small",{className:m.default.ActiveDateText,children:e.review_date}):"dateWords"===n.default.reviews.dateType?(0,i.jsx)("small",{className:m.default.ActiveDateText,children:e.review_date_in_words}):(0,i.jsx)("small",{className:m.default.ActiveDateText,children:e.created_at_time_ago_in_words});var x=e.i(978331);let h=({review:e,onClick:s,className:l})=>{let[a,r]=(0,t.useState)(!1);return(0,i.jsx)("div",{className:(0,u.cn)("pb-md-4 h-100 pb-3",l),onClick:s,children:(0,i.jsxs)("div",{className:(0,u.cn)(x.default.ReviewCard,"shadow"),children:[(0,i.jsx)("h6",{className:"font-weight-bold",children:(e=>{if(!n.default.reviews?.abbreviateCustomerName)return e;let t=e.trim().split(" ");if(t.length<2)return e;let s=t[0],l=t[t.length-1][0];return`${s} ${l}.`})(e.customer_name)}),(0,i.jsx)("div",{className:"d-flex mb-2 flex-row",children:[...Array(e.rating)].map((e,t)=>(0,i.jsx)(d.default,{color:"#ffdd00",style:{height:"20px"}},t))}),(0,i.jsx)("p",{className:"font-italic m-0",children:a?e.text:(0,c.default)(e.text,{length:"160"})}),e.text.length>160&&(0,i.jsx)("small",{children:(0,i.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),r(!a)},children:["View ",a?"less":"more"]})}),(0,i.jsxs)("div",{className:"mt-2",children:[(0,i.jsx)(o.default,{className:"text-secondary mr-2"}),(0,i.jsx)(v,{review:e})]})]})})};e.s(["ReviewCardRow",0,({reviews:e})=>(0,i.jsx)("div",{className:"row justify-content-center",children:e.map(e=>(0,i.jsx)("div",{className:"col-xl-4",children:(0,i.jsx)(h,{review:e})},e.id))})],882432),e.i(205036);var f=e.i(336725),g=e.i(661979);e.i(172252);let w=e=>{let t=e.split(" ");if(void 0!=t[0]&&void 0!=t[1])return(t[0].charAt(0)+t[1].charAt(0)).toUpperCase()};var j=e.i(973409);let C=({review:e,onClick:s,className:l})=>{let[a,r]=(0,t.useState)(!1),n=null!=e.image.url?e.image.url:void 0==w(e.customer_name)?"/default-avatar.png":void 0;return(0,i.jsx)("div",{className:"pt-5 pb-5 h-100",onClick:s,children:(0,i.jsxs)("div",{className:(0,u.cn)(j.default.Review,l?.includes("active")&&j.default.ActiveCard,"d-flex justify-content-center align-items-center p-5 "+l),children:[(0,i.jsx)("div",{className:"d-flex flex-row mb-1",children:[...Array(e.rating)].map((e,t)=>(0,i.jsx)(d.default,{color:"#ffdd00",style:{height:"20px"}},t))}),(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)(o.default,{className:"mr-2 text-secondary"}),(0,i.jsx)(v,{review:e})]}),(0,i.jsx)("p",{className:"font-italic m-0 text-center",children:a?e.text:(0,c.default)(e.text,{length:"160"})}),e.text.length>160&&(0,i.jsx)("small",{children:(0,i.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),r(!a)},children:["View ",a?"less":"more"]})}),(0,i.jsxs)("div",{className:(0,u.cn)(j.default.AvatarImage,"d-flex flex-column justify-content-center"),children:[n?(0,i.jsx)("div",{className:"d-flex justify-content-center mb-2",children:(0,i.jsx)(g.default,{src:n,width:50,height:50,layout:"fixed",alt:"Profile image"})}):(0,i.jsx)("div",{className:j.default.CircleAvatar,children:(0,i.jsx)("p",{children:w(e.customer_name)})}),(0,i.jsx)("h6",{className:"text-center",style:{color:"var(--google-reviews-avatar-name-color)"},children:e.customer_name})]})]})})};var p=e.i(552593);let _=({review:e,onClick:s,className:l})=>{let[a,r]=(0,t.useState)(!1);return(0,i.jsx)("div",{className:"pt-4 px-0 h-100",onClick:s,children:(0,i.jsxs)("div",{className:(0,u.cn)(p.default.Review,"d-flex justify-content-start align-items-start p-5 "+l),children:[(0,i.jsx)("div",{className:"d-flex flex-row mb-3",children:[...Array(e.rating)].map((e,t)=>(0,i.jsx)("div",{className:p.default.StarContainer+" d-flex p-1 mr-1",children:(0,i.jsx)(d.default,{style:{height:"20px"}})},t))}),(0,i.jsx)("p",{className:"d-flex flex-fill font-italic m-0 text-left",children:a?e.text:(0,c.default)(e.text,{length:"160"})}),e.text.length>160&&(0,i.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),r(!a)},children:["View ",a?"less":"more"]}),(0,i.jsx)("h6",{className:"mt-3 mb-1",style:{color:"var(--google-reviews-avatar-name-color)"},children:e.customer_name}),(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsx)(o.default,{className:"mr-2 text-secondary"}),(0,i.jsx)(v,{review:e})]})]})})};var N=e.i(739656);let b=({reviews:e,variant:s,className:l="review"})=>{let{api:a}=(0,f.useCarousel)(),[r,o]=(0,t.useState)(2),d=(0,t.useCallback)(e=>a&&a.scrollTo(e),[a]),c=(0,t.useCallback)(()=>{a&&o(a.selectedScrollSnap())},[a,o]);return(0,t.useEffect)(()=>{a&&(c(),a.on("select",c))},[a,c]),(0,i.jsx)(f.CarouselContent,{children:e.map((e,t)=>(0,i.jsx)(f.CarouselItem,{className:l,children:"highlighted"===s?(0,i.jsx)(C,{review:e,className:(0,u.cn)(t===r?"review-single"===l?"active m-0":"active":""),onClick:()=>t!==r&&d(t)}):"modern"===s?(0,i.jsx)(_,{review:e,className:t===r?"active":"",onClick:()=>t!==r&&d(t)}):(0,i.jsx)(h,{review:e,className:t===r?"active":"",onClick:()=>t!==r&&d(t)})},e.id))})};e.s(["ReviewSlider",0,e=>(0,i.jsxs)(f.Carousel,{opts:{align:"center",containScroll:"keepSnaps",startIndex:2},plugins:e?.plugins,children:[(0,i.jsx)(b,{...e}),(0,i.jsx)(f.CarouselPrevious,{inside:"review-single"===e.className,arrowClassName:"review-single"===e.className?N.default.arrowsBottom:""}),(0,i.jsx)(f.CarouselNext,{inside:"review-single"===e.className,arrowClassName:"review-single"===e.className?N.default.arrowsBottom:""})]})],899422)},49938,e=>{"use strict";var t=e.i(563705),s=e.i(354716),l=e.i(667568),a=e.i(708773),r=e.i(879009),i=e.i(882432),o=e.i(899422),d=e.i(465316),c=e.i(491315);function n(e,t,s){let l=t&&!(0,r.isBeforeDate)(s,"2024-03-13T00:00:00"),a=!l&&e||l&&!t.data.hideTitle,i=!l||l&&!t.data.hideSubtitle,o=l&&t.tunes?.textColor&&t.tunes?.textColor?.textColor!=="none"?t.tunes?.textColor?.customTextColor??t.tunes?.textColor?.textColor:"var(--google-reviews-heading-color)",d=l&&t.tunes?.textColor&&t.tunes?.textColor?.textColor!=="none"?t.tunes?.textColor?.customTextColor??t.tunes?.textColor?.textColor:"var(--google-reviews-subheading-color)",c=l&&t.tunes?.textColor&&t.tunes?.textColor?.textColor!=="none"?t.tunes?.textColor?.customTextColor??t.tunes?.textColor?.textColor:"var(--google-reviews-card-text-color, black)",n=l&&t.tunes?.backgroundColor?(0,r.getColor)(t.tunes?.backgroundColor?.backgroundColor,t.tunes?.backgroundColor?.customBackgroun
1dColor):"var(--google-reviews-background)";return{isEditorBlock:l,showHeading:a,showSubtitle:i,headingColor:o,subtitleColor:d,cardTextColor:c,backgroundColor:n}}e.s(["default",0,({heading:e,reviews:u,average_rating:m,count:v,block:x,publishedDate:h})=>{let f=u.length>3?(0,t.jsx)(o.ReviewSlider,{reviews:u,plugins:x?.data?.automaticRotation?[(0,s.default)({delay:3e3})]:void 0}):(0,t.jsx)(i.ReviewCardRow,{reviews:u}),{showHeading:g,showSubtitle:w,headingColor:j,subtitleColor:C,cardTextColor:p,backgroundColor:_}=n(e,x,h);return(0,t.jsx)("div",{id:"googleReviewsComponent",className:"pageComponent overflow-hidden",style:{background:_},children:(0,t.jsxs)(({children:e})=>!x||x&&(0,r.isBeforeDate)(h,"2024-03-13T00:00:00")?(0,t.jsx)("div",{className:"py-md-5 container px-0 py-4",children:e}):(0,t.jsx)(a.default,{tunes:x?.tunes??{},children:e}),{children:[(0,t.jsxs)("div",{className:"text-center",children:[g&&(0,t.jsx)(d.ResponsiveH3,{className:"pb-2",style:{color:j},children:e}),!c.isGrandMotorsToyota&&m>l.default.reviews.MINIMUM_RATING&&w&&(0,t.jsxs)("h5",{className:"mb-4",style:{color:C},children:[parseFloat(m).toFixed(1)," rating out of ",v," reviews"]})]}),(0,t.jsx)("div",{className:"col-md-10 col-12 mx-auto",style:{color:p},children:f}),(0,t.jsx)("p",{className:"font-weight-bold text-primary d-block d-lg-none mt-3 text-center",children:"â Swipe â"})]})})},"getGoogleReviewsConditionalFormatting",0,n])},325500,e=>{"use strict";var t=e.i(563705),s=e.i(243828),l=e.i(403672),a=e.i(135427),r=e.i(49938);e.s(["default",0,({heading:e,showSection:i=!1,reviews:o=s.default,count:d,average_rating:c,block:n,publishedDate:u})=>{let m=(0,a.useReviewCount)(),v=(0,l.useFilteredReviews)(o,10);return i||v.length?(0,t.jsx)(r.default,{reviews:v,count:d||m.count,average_rating:c||m.averageRating,heading:e,block:n,publishedDate:u}):null}])},515066,function(e){e.n(e.i(325500))}]);
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.