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 i=s.default;l.default.locations,e.s(["useFilteredReviews",0,(e=i,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 r=e.i(563705),o=e.i(782804),n=e.i(424622),d=e.i(623039),c=e.i(667568),m=e.i(615190),u=e.i(409414);let x=({review:e})=>"date"===c.default.reviews.dateType?(0,r.jsx)("small",{className:u.default.ActiveDateText,children:e.review_date}):"dateWords"===c.default.reviews.dateType?(0,r.jsx)("small",{className:u.default.ActiveDateText,children:e.review_date_in_words}):(0,r.jsx)("small",{className:u.default.ActiveDateText,children:e.created_at_time_ago_in_words});var v=e.i(978331);let h=({review:e,onClick:s,className:l})=>{let[a,i]=(0,t.useState)(!1);return(0,r.jsx)("div",{className:(0,m.cn)("pb-md-4 h-100 pb-3",l),onClick:s,children:(0,r.jsxs)("div",{className:(0,m.cn)(v.default.ReviewCard,"shadow"),children:[(0,r.jsx)("h6",{className:"font-weight-bold",children:(e=>{if(!c.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,r.jsx)("div",{className:"d-flex mb-2 flex-row",children:[...Array(e.rating)].map((e,t)=>(0,r.jsx)(n.default,{color:"#ffdd00",style:{height:"20px"}},t))}),(0,r.jsx)("p",{className:"font-italic m-0",children:a?e.text:(0,d.default)(e.text,{length:"160"})}),e.text.length>160&&(0,r.jsx)("small",{children:(0,r.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),i(!a)},children:["View ",a?"less":"more"]})}),(0,r.jsxs)("div",{className:"mt-2",children:[(0,r.jsx)(o.default,{className:"text-secondary mr-2"}),(0,r.jsx)(x,{review:e})]})]})})};e.s(["ReviewCardRow",0,({reviews:e})=>(0,r.jsx)("div",{className:"row justify-content-center",children:e.map(e=>(0,r.jsx)("div",{className:"col-xl-4",children:(0,r.jsx)(h,{review:e})},e.id))})],882432),e.i(205036);var g=e.i(336725),f=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 p=({review:e,onClick:s,className:l})=>{let[a,i]=(0,t.useState)(!1),c=null!=e.image.url?e.image.url:void 0==w(e.customer_name)?"/default-avatar.png":void 0;return(0,r.jsx)("div",{className:"pt-5 pb-5 h-100",onClick:s,children:(0,r.jsxs)("div",{className:(0,m.cn)(j.default.Review,l?.includes("active")&&j.default.ActiveCard,"d-flex justify-content-center align-items-center p-5 "+l),children:[(0,r.jsx)("div",{className:"d-flex flex-row mb-1",children:[...Array(e.rating)].map((e,t)=>(0,r.jsx)(n.default,{color:"#ffdd00",style:{height:"20px"}},t))}),(0,r.jsxs)("div",{className:"mb-3",children:[(0,r.jsx)(o.default,{className:"mr-2 text-secondary"}),(0,r.jsx)(x,{review:e})]}),(0,r.jsx)("p",{className:"font-italic m-0 text-center",children:a?e.text:(0,d.default)(e.text,{length:"160"})}),e.text.length>160&&(0,r.jsx)("small",{children:(0,r.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),i(!a)},children:["View ",a?"less":"more"]})}),(0,r.jsxs)("div",{className:(0,m.cn)(j.default.AvatarImage,"d-flex flex-column justify-content-center"),children:[c?(0,r.jsx)("div",{className:"d-flex justify-content-center mb-2",children:(0,r.jsx)(f.default,{src:c,width:50,height:50,layout:"fixed",alt:"Profile image"})}):(0,r.jsx)("div",{className:j.default.CircleAvatar,children:(0,r.jsx)("p",{children:w(e.customer_name)})}),(0,r.jsx)("h6",{className:"text-center",style:{color:"var(--google-reviews-avatar-name-color)"},children:e.customer_name})]})]})})};
1var C=e.i(552593);let N=({review:e,onClick:s,className:l})=>{let[a,i]=(0,t.useState)(!1);return(0,r.jsx)("div",{className:"pt-4 px-0 h-100",onClick:s,children:(0,r.jsxs)("div",{className:(0,m.cn)(C.default.Review,"d-flex justify-content-start align-items-start p-5 "+l),children:[(0,r.jsx)("div",{className:"d-flex flex-row mb-3",children:[...Array(e.rating)].map((e,t)=>(0,r.jsx)("div",{className:C.default.StarContainer+" d-flex p-1 mr-1",children:(0,r.jsx)(n.default,{style:{height:"20px"}})},t))}),(0,r.jsx)("p",{className:"d-flex flex-fill font-italic m-0 text-left",children:a?e.text:(0,d.default)(e.text,{length:"160"})}),e.text.length>160&&(0,r.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),i(!a)},children:["View ",a?"less":"more"]}),(0,r.jsx)("h6",{className:"mt-3 mb-1",style:{color:"var(--google-reviews-avatar-name-color)"},children:e.customer_name}),(0,r.jsxs)("div",{className:"d-flex align-items-center",children:[(0,r.jsx)(o.default,{className:"mr-2 text-secondary"}),(0,r.jsx)(x,{review:e})]})]})})};var _=e.i(739656);let b=({reviews:e,variant:s,className:l="review"})=>{let{api:a}=(0,g.useCarousel)(),[i,o]=(0,t.useState)(2),n=(0,t.useCallback)(e=>a&&a.scrollTo(e),[a]),d=(0,t.useCallback)(()=>{a&&o(a.selectedScrollSnap())},[a,o]);return(0,t.useEffect)(()=>{a&&(d(),a.on("select",d))},[a,d]),(0,r.jsx)(g.CarouselContent,{children:e.map((e,t)=>(0,r.jsx)(g.CarouselItem,{className:l,children:"highlighted"===s?(0,r.jsx)(p,{review:e,className:(0,m.cn)(t===i?"review-single"===l?"active m-0":"active":""),onClick:()=>t!==i&&n(t)}):"modern"===s?(0,r.jsx)(N,{review:e,className:t===i?"active":"",onClick:()=>t!==i&&n(t)}):(0,r.jsx)(h,{review:e,className:t===i?"active":"",onClick:()=>t!==i&&n(t)})},e.id))})};e.s(["ReviewSlider",0,e=>(0,r.jsxs)(g.Carousel,{opts:{align:"center",containScroll:"keepSnaps",startIndex:2},plugins:e?.plugins,children:[(0,r.jsx)(b,{...e}),(0,r.jsx)(g.CarouselPrevious,{inside:"review-single"===e.className,arrowClassName:"review-single"===e.className?_.default.arrowsBottom:""}),(0,r.jsx)(g.CarouselNext,{inside:"review-single"===e.className,arrowClassName:"review-single"===e.className?_.default.arrowsBottom:""})]})],899422)},49938,e=>{"use strict";var t=e.i(563705),s=e.i(354716),l=e.i(667568),a=e.i(708773),i=e.i(879009),r=e.i(882432),o=e.i(899422),n=e.i(465316),d=e.i(491315);function c(e,t,s){let l=t&&!(0,i.isBeforeDate)(s,"2024-03-13T00:00:00"),a=!l&&e||l&&!t.data.hideTitle,r=!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)",n=l&&t.tunes?.textColor&&t.tunes?.textColor?.textColor!=="none"?t.tunes?.textColor?.customTextColor??t.tunes?.textColor?.textColor:"var(--google-reviews-subheading-color)",d=l&&t.tunes?.textColor&&t.tunes?.textColor?.textColor!=="none"?t.tunes?.textColor?.customTextColor??t.tunes?.textColor?.textColor:"var(--google-reviews-card-text-color, black)",c=l&&t.tunes?.backgroundColor?(0,i.getColor)(t.tunes?.backgroundColor?.backgroundColor,t.tunes?.backgroundColor?.customBackgroundColor):"var(--google-reviews-background)";return{isEditorBlock:l,showHeading:a,showSubtitle:r,headingColor:o,subtitleColor:n,cardTextColor:d,backgroundColor:c}}e.s(["default",0,({heading:e,reviews:m,average_rating:u,count:x,block:v,publishedDate:h})=>{let g=m.length>3?(0,t.jsx)(o.ReviewSlider,{reviews:m,plugins:v?.data?.automaticRotation?[(0,s.default)({delay:3e3})]:void 0}):(0,t.jsx)(r.ReviewCardRow,{reviews:m}),{showHeading:f,showSubtitle:w,headingColor:j,subtitleColor:p,cardTextColor:C,backgroundColor:N}=c(e,v,h);return(0,t.jsx)("div",{id:"googleReviewsComponent",className:"pageComponent overflow-hidden",style:{background:N},children:(0,t.jsxs)(({children:e})=>!v||v&&(0,i.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:v?.tunes??{},children:e}),{children:[(0,t.jsxs)("div",{className:"text-center",children:[f&&(0,t.jsx)(n.ResponsiveH3,{className:"pb-2",style:{color:j},children:e}),!d.isGrandMotorsToyota&&u>l.default.reviews.MINIMUM_RATING&&w&&(0,t.jsxs)("h5",{className:"mb-4",style:{color:p},children:[parseFloat(u).toFixed(1)," rating out of ",x," reviews"]})]}),(0,t.jsx)("div",{className:"col-md-10 col-12 mx-auto",style:{color:C},children:g}),(0,t.jsx)("p",{className:"font-weight-bold text-primary d-block d-lg-none mt-3 text-center",children:"â Swipe â"})]})})},"getGoogleReviewsConditionalFormatting",0,c])},692100,e=>{"use strict";var t=e.i(563705),s=e.i(243828),l=e.i(403672),a=e.i(135427),i=e.i(354716),r=e.i(667568),o=e.i(708773),n=e.i(879009),d=e.i(882432),c=e.i(899422),m=e.i(72003),u=e.i(998380),x=e.i(491345),v=e.i(465316),h=e.i(491315),g=e.i(49938);let f=({average_rating:e,count:s,subtitleColor:l})=>(0,t.jsxs)("h5",{className:"mb-4",style:{color:l},children:[parseFloat(e).toFixed(1)," rating out of ",(0,m.addComma)(s)," reviews"]}),w=({average_rating:e,count:s,subtitleColor:l})=>(0,t.jsxs)("div",{className:"d-flex justify-content-center align-items-center mb-3",style:{transform:"scale(1.5)",color:l,gap:"0.4rem"},children:[(0,t.jsx)("span",{children:parseFloat(e).toFixed(1)}),(0,t.jsx)(x.StarRating,{stars:parseFloat(e),count:s,textClassName:"d-none"}),(0,t.jsx)("span",{className:"text-muted",style:{fontSize:"0.7rem"},children:s&&`(${(0,m.addComma)(s)} reviews)`})]}),j=({heading:e,reviews:s,average_rating:l,count:a,leaveReviewLink:m,block:x,publishedDate:j})=>{let p=s.length>3?(0,t.jsx)(c.ReviewSlider,{reviews:s,variant:"highlighted",plugins:x?.data?.automaticRotation?[(0,i.default)({delay:3e3})]:void 0}):(0,t.jsx)(d.ReviewCardRow,{reviews:s}
1),{showHeading:C,showSubtitle:N,headingColor:_,subtitleColor:b,cardTextColor:y,backgroundColor:R}=(0,g.getGoogleReviewsConditionalFormatting)(e,x,j);return(0,t.jsx)("div",{id:"googleReviewsComponent",className:"pageComponent overflow-hidden",style:{background:R},children:(0,t.jsxs)(({children:e})=>!x||x&&(0,n.isBeforeDate)(j,"2024-03-13T00:00:00")?(0,t.jsx)("div",{className:"py-md-5 container px-0 py-4",children:e}):(0,t.jsx)(o.default,{tunes:x?.tunes??{},children:e}),{children:[(0,t.jsxs)("div",{className:"text-center",children:[C&&(0,t.jsx)(v.ResponsiveH3,{className:"pb-2",style:{color:_},children:e}),(0,t.jsx)(()=>l<r.default.reviews.MINIMUM_RATING||N?null:h.isMotopool?(0,t.jsx)(w,{average_rating:l,count:a,subtitleColor:b}):(0,t.jsx)(f,{average_rating:l,count:a,subtitleColor:b}),{})]}),(0,t.jsx)("div",{className:"col-md-10 col-12 mx-auto",style:{color:y},children:p}),m&&(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)(u.default,{href:m,className:"btn btn-primary",children:"Leave a Review"})}),(0,t.jsx)("p",{className:"font-weight-bold text-primary d-block d-lg-none mt-3 text-center",children:"â Swipe â"})]})})};e.s(["default",0,({heading:e,showSection:i=!1,reviews:r=s.default,count:o,average_rating:n,leaveReviewLink:d=!1,block:c,publishedDate:m})=>{let u=(0,a.useReviewCount)(),x=(0,l.useFilteredReviews)(r,10);return i||x.length?(0,t.jsx)(j,{reviews:x,count:o||u.count,average_rating:n||u.averageRating,heading:e,leaveReviewLink:d,block:c,publishedDate:m}):null}],692100)},547540,function(e){e.n(e.i(692100))}]);
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.