1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["AdBadge-tsx","AdCallToAction-tsx","CompetitorAd","LazyCompetitorAd","ReviewsVerticalWidgetAd-ReviewsVerticalWidgetAd-tsx","TrackedAdLink-tsx"],{25115(e,t,i){i.r(t),i.d(t,{default:()=>AdBadge});var a=i(57830),n=i(57220),r=(i(74954),i(14202));function AdBadge(e){return(0,r.jsx)(n.A,{content:"This is a sponsored ad. Please note that advertising companies do not influence our review procedures.",innerProps:{fontSize:"small",lineHeight:"small"},placement:"top-end",children:(0,r.jsx)(a.A,{badgeStyle:"light",cursor:"help",flexShrink:0,fontWeight:"normal",textTransform:"capitalize",...e,children:"Ad"})})}},94625(e,t,i){i.r(t),i.d(t,{default:()=>AdCallToAction});var a=i(45919),n=i(74954),r=i(33176),l=i(14202);function AdCallToAction(e){const{advertisementSettings:t,hasExternalUrl:i,listing:s,...o}=e,d=(0,r.A)();return(0,l.jsx)(a.A,{buttonSize:"small",buttonStyle:i?"warning":"primary",truncate:!0,...o,children:t?.callToActionLabel?d(t.callToActionLabel,{},s):(0,l.jsx)(n.sA,{id:"public.advertisement.ad_call_to_action.label",defaultMessage:"{hasExternalUrl, select, true {Go to offer} false {View listing page}}",values:{hasExternalUrl:i}})})}},68642(e,t,i){i.r(t),i.d(t,{default:()=>CompetitorAd});var a=i(2571),n=i(82550),r=i(14202);function CompetitorAd(e){return(0,r.jsx)(a.A,{component:"CompetitorAd",listing:e.listing,customContext:e.trackingContext,children:(0,r.jsx)(n.default,{listing:e.listing,reviews:e.reviews,advertisementSettings:e.advertisementSettings,hideReviews:"public.listing.sidebar.0"===e.advertisementFullNameSpace})})}},4104(e,t,i){i.r(t),i.d(t,{default:()=>LazyCompetitorAd});var a=i(51443),n=i(55279),r=i(53654),l=i(68642),s=i(14202);function LazyCompetitorAd(e){const t=(0,n.A)(),{catalogId:i,listingSlug:o,maxNumberOfReviews:d=3}=e;return(0,s.jsx)(a.A,{path:t.generate("api.public.listing.simple_details",{catalogId:i,listingSlug:o}),children:n=>n?(0,s.jsx)(a.A,{path:t.generate("api.public.listing.reviews",{catalogId:i,listingSlug:o,limit:d,sort:"rating"}),children:t=>{const i=(0,r.N)(t);return(0,s.jsx)(l.default,{listing:n,reviews:i?.[0].paginatedCollection.collection??[],advertisementSettings:e.advertisementSettings,trackingContext:e.trackingContext})}}):null})}},82550(e,t,i){i.r(t),i.d(t,{default:()=>ReviewsVerticalWidgetAd});var a=i(85906),n=i(37627),r=i(45714),l=i(69193),s=i(19363),o=i(23481),d=i(32475),c=i(74702),g=i(83485),u=i(4547),h=i(41125),A=i(14901),p=i(35447),m=i(55279),f=i(74954),x=i(71526),v=i(5399),b=i(37544),j=i(25115),w=i(94625),y=i(75754),S=i(33176),k=i(14202);function ReviewsVerticalWidgetAd(e){const{ref:t,advertisementSettings:i,hideReviews:C,listing:I,reviews:L,..._}=e,R=(0,m.A)(),T=(0,S.A)(),N=(0,b.A)(i,I),E=R.generate("www.public.listing",{listingSlug:I.slug});return(0,k.jsx)(y.default,{ref:t,to:T(N||E,{},I),children:(0,k.jsxs)(o.A,{full:{xs:!0,sm:!0,md:!0},position:"relative",..._,children:[(0,k.jsxs)(s.h,{display:"flex",flexDirection:"column",gap:2,paddingX:{xs:3,sm:2,md:3,lg:2},paddingY:2,children:[(0,k.jsxs)(c.A,{gap:2,position:"relative",children:[(0,k.jsx)(r.A,{entry:I,size:"xsmall",loading:"eager",flexShrink:0}),(0,k.jsxs)(c.A.Body,{alignSelf:"center",display:"flex",flexDirection:"column",elevation:1,children:[(0,k.jsx)(l.A,{tags:I.tags,format:"long",noLink:!0}),(0,k.jsx)(h.A,{level:4,fake:!0,breakWord:!0,children:(0,x.A)({listing:I})}),(0,k.jsx)(u.A,{rating:I.statistics.rating,numberOfReviews:I.statistics.numberOfReviews})]}),(0,k.jsx)(j.default,{elevation:1})]}),(0,k.jsx)(w.default,{listing:I,advertisementSettings:i,hasExternalUrl:Boolean(N),stretchedLink:!0})]}),C?null:L&&0!==L.length?L.map(e=>{const t=e.title?`${e.title} â ${e.body}`:e.body;return(0,k.jsxs)(a.Fragment,{children:[(0,k.jsx)(d.A,{marginY:0}),(0,k.jsxs)(s.h,{display:"flex",flexDirection:"column",gap:1,paddingX:{xs:3,sm:2,md:3,lg:2},paddingY:2,children:[(0,k.jsxs)(c.A,{alignItems:"center",gap:2,children:[(0,k.jsx)(n.A,{user:e.author,size:"small",hideBadge:!0,hideLink:!0,loading:"eager"}),(0,k.jsxs)(c.A.Body,{overflow:"hidden",children:[(0,k.jsx)(h.A,{level:5,fake:!0,fontSize:"small",fontWeight:"medium",lineHeight:"smallest",truncate:!0,children:e.author.displayName}),(0,k.jsx)(g.A,{rating:e.rating,size:"xxsmall",label:(0,k.jsx)(p.A,{suppressHydrationWarning:!0,truncate:!0,children:(0,k.jsx)(f.sA,{id:"shared.review_snippet.date",defaultMessage:"on {publishedAt, date, long}",values:{publishedAt:new Date(e.firstPublishedAt)}})}),flexWrap:"nowrap",fontSize:"xsmall",textStyle:"muted"})]})]}),(0,k.jsx)(p.A,{fontSize:"small",lineHeight:"small",children:(0,v.A)(t,150)})]})]},e.id)}):(0,k.jsxs)(a.Fragment,{children:[(0,k.jsx)(d.A,{marginY:0}),(0,k.jsx)(A.A,{fontSize:"small",lineHeight:"small",margin:2,textAlign:"center",textStyle:"muted",children:"No reviews yet. Be the first to write a review!"})]})]})})}},75754(e,t,i){i.r(t),i.d(t,{default:()=>TrackedAdLink});var a=i(25343),n=i(14202);function TrackedAdLink(e){const{to:t,...i}=e;return(0,n.jsx)(a.A.Static,{to:t,external:!0,rel:"sponsored",tracking:{vendors:["ga","influx"],influxContext:{attributes:{targetClickUrl:t},measurement:"catalog_resource.click"}},...i})}},33176(e,t,i){i.d(t,{A:()=>
1o});var a=i(85906),n=i(29369),r=i(98161),l=i(55156),s=i(32811);function o(){const e=(0,l.zy)(),t=(0,l.LY)(),i=(0,a.useContext)(n.A),o=(0,r.A)();return(a,n,r)=>{let l={RouteName:t.name,Url:e.fullUrl,Pathname:e.pathname,CurrentCategory:i.currentCategory};return r&&(l={...l,ListingId:r.id,ListingRootId:r.rootId,ListingSlug:r.slug,ListingCatalogId:r.catalogId,ListingName:r.name,ListingFullName:r.fullName,ListingShortName:r.shortName,ListingRating:r.statistics.rating,ListingNumberOfReviews:r.statistics.numberOfReviews}),o&&(l={...l,EntryPoint:(0,s.bP)(),StickyReferrer:(0,s.T_)(),ScreenResolution:`${window.screen.width}x${window.screen.height}`}),n&&(l={...l,...n}),function(e,t){let i=e;const a=e.matchAll(/{{\s*([a-zA-Z0-9_]+)\s*}}/g);for(const e of a){const a=e[1].trim(),n=a.endsWith("Escaped"),r=t[a.replace(/Escaped$/,"")];if(null==r)i=i.replace(e[0],"");else{const t=n?encodeURIComponent(String(r)):String(r);i=i.replace(e[0],t)}}return i}(a,l)}}},37544(e,t,i){function a(e={},t){return e?.url||e?.callToActionUrl||t?.affiliateLink||t?.officialLink||t?.brand?.url}i.d(t,{A:()=>a})},98703(e,t,i){i.d(t,{A:()=>AuthorLink});var a=i(25343),n=i(35447),r=i(55279),l=i(86490),s=i(59091),o=i(16940),d=i(92523),c=i(14202);function AuthorLink(e){const{author:t,children:i,destinationApp:g="public",openNewTab:u,...h}=e,A=(0,l.A)(s.dl),p=(0,r.A)();if("admin"===g){const e=a.A.Static;return(0,c.jsx)(e,{to:`/admin/${A}/users/${t.id}/moderation`,openNewTab:u,...h,children:i})}return t.context.role!==o.Xh.CONSUMER||t.isDeactivated?i:(0,c.jsx)(n.A,{role:"link",onClick:(0,d.A)(p.generate("www.public.consumer_profile",{consumerId:t.id},r.i.ABSOLUTE_URL)),cursor:"pointer",tracking:{id:"link_to_profile"},...h,children:i})}},37627(e,t,i){i.d(t,{A:()=>Avatar});var a=i(98703),n=i(8628),r=i(16940),l=i(97075),s=i(60183),o=i(14202);function Avatar(e){function t(t){if(e.user.context.role===r.Xh.COMPANY_REPRESENTATIVE){if(e.user.context.facet===r.sj.BRAND_MANAGER&&e.user.context.brand){const i=e.user.context.brand;let a=l.pM.brandManagerAvatar,r="placeholder";return i.brandManagerAvatarId?(a=l.pM.brandManagerAvatar,r=i.brandManagerAvatarId):i.logoId&&(a=l.pM.brandLogo,r=i.logoId),(0,o.jsx)(n.A,{...t,s3Collection:a,avatar:{avatarId:r,type:"s3"},hideBadge:e.hideBadge,size:e.size,alt:i.name,title:i.name,loading:e.loading})}if(e.user.context.facet===r.sj.CATALOG_MANAGER&&e.user.context.externalCatalog){const{externalCatalog:i}=e.user.context;if(i.brand)return(0,o.jsx)(n.A,{...t,s3Collection:l.pM.brandManagerAvatar,avatar:{avatarId:i.brand.brandManagerAvatarId||"placeholder",type:"s3"},hideBadge:e.hideBadge,size:e.size,alt:i.name,title:i.name,loading:e.loading})}}return e.user.context.role===r.Xh.STAFF?(0,o.jsx)(n.A,{...t,s3Collection:l.pM.avatar,avatar:{avatarId:"placeholder",type:"s3"},size:e.size,alt:"ProductReview.com.au",title:"ProductReview.com.au",loading:e.loading}):e.user.isDeactivated?(0,o.jsx)(n.A,{...t,s3Collection:l.pM.avatar,avatar:{avatarId:"placeholder",type:"s3"},size:e.size,alt:e.user.displayName,title:e.user.displayName,loading:e.loading}):(0,o.jsx)(n.A,{...t,s3Collection:l.pM.avatar,avatar:e.user.avatar,badge:(()=>{const t=s.ay.find(t=>t.test(e.user));return t?.badge})(),hideBadge:e.hideBadge,size:e.size,alt:e.user.displayName,title:e.user.displayName,loading:e.loading})}return e.hideLink||e.user.isDeactivated||e.user.context.role!==r.Xh.CONSUMER?t({flexShrink:0,ref:e.ref}):(0,o.jsx)(a.A,{ref:e.ref,author:e.user,destinationApp:e.linkDestinationApp,flexShrink:0,children:t()})}},8628(e,t,i){i.d(t,{A:()=>AvatarImage});var a=i(19363),n=i(62227),r=i(85816),l=i(39646),s=i(97075),o=i(60183),d=i(14202);function AvatarImage(e){const{s3Collection:t=s.pM.avatar,avatar:i,size:c,alt:g,title:u,badge:h,hideBadge:A,loading:p="lazy",...m}=e,f=o._y[c],x=o.s6[c],v=o.sq[c];return"facebook"===i.type?(0,d.jsxs)(a.h,{display:"inline-block",position:"relative",...m,children:[h&&(0,d.jsx)(n.A,{name:`badge-${h}`,width:f,height:f,position:"absolute-bottom-right"}),(0,d.jsx)(r.A,{src:`https://graph.facebook.com/${i.facebookId}/picture?width=${v}&height=${v}`,height:v,width:v,borderRadius:"circle",alt:g,title:u})]}):"google"===i.type?(0,d.jsxs)(a.h,{display:"inline-block",position:"relative",...m,children:[h&&(0,d.jsx)(n.A,{name:`badge-${h}`,width:f,height:f,position:"absolute-bottom-right"}),(0,d.jsx)(r.A,{src:i.googleAvatarUrl,height:v,width:v,borderRadius:"circle",alt:g,title:u})]}):"external_url"===i.type?(0,d.jsxs)(a.h,{display:"inline-block",position:"relative",...m,children:[h&&(0,d.jsx)(n.A,{name:`badge-${h}`,width:f,height:f,position:"absolute-bottom-right"}),(0,d.jsx)(r.A,{src:i.externalUrl,height:v,width:v,borderRadius:"circle",alt:g,title:u})]}
1):A||!h?(0,d.jsx)(l.A,{collection:t,id:i.avatarId,cdnImageHeight:x,cdnImageWidth:x,height:v,width:v,alt:g,title:u,loading:p,fit:"cover",borderRadius:"circle",...m}):(0,d.jsxs)(a.h,{display:"inline-block",position:"relative",...m,children:[(0,d.jsx)(n.A,{name:`badge-${h}`,width:f,height:f,position:"absolute-bottom-right"}),(0,d.jsx)(l.A,{collection:t,id:i.avatarId,cdnImageHeight:x,cdnImageWidth:x,height:v,width:v,alt:g,title:u,loading:p,fit:"cover",borderRadius:"circle"})]})}},60183(e,t,i){i.d(t,["_y",0,{xsmall:12,small:16,medium:20,large:24,review:20},"ay",0,[{badge:"facebook",test:e=>"consumer"===e.context.role&&e.isLinkedWithFacebook},{badge:"google",test:e=>"consumer"===e.context.role&&e.isLinkedWithGoogle}],"s6",0,{xsmall:80,small:80,medium:80,large:80,review:80},"sq",0,{xsmall:24,small:32,medium:48,large:80,review:40}])},69193(e,t,i){i.d(t,{A:()=>AwardsBadges,X:()=>A});var a=i(71536),n=i(57830),r=i(12765),l=i(66307),s=i(57220),o=i(55279),d=i(74954),c=i(94683),g=i(52696),u=i(14202);const h=(new Date).getFullYear();function A(e,t,i){let l=(0,c.A)(e,t);return i.capAtCurrentYear?(l=l.filter(e=>e.year>=h),l.map((e,t)=>(0,u.jsx)(g.A,{year:e.year,state:e.state,url:!i.noLink&&0===t&&e.year>=h?e.url:void 0,format:i.format},e.state?`${e.state}_${e.year}`:e.year))):l.some(e=>e.year>=h-1)?(0,a.A)([(0,u.jsx)(g.A,{year:l[0].year,state:l[0].state,url:!i.noLink&&l[0].year>=h?l[0].url:void 0,format:i.format,badgeProps:{display:"block"}},l[0].state?`${l[0].state}_${l[0].year}`:l[0].year),l.length>1&&(0,u.jsx)(s.A,{content:(o={listOfYears:(0,u.jsx)(r.A,{items:l.slice(1),renderListItem:e=>e.year})},(0,u.jsxs)(u.Fragment,{children:["Award Winner for ",o.listOfYears,"."]})),children:(0,u.jsx)(n.A,{badgeStyle:"primary-light",cursor:"help",display:"block",children:(0,u.jsx)(d.sA,{id:"awards_badges.extra_awards_badge.label",defaultMessage:"+{numberOfExtraAwards, number}",values:{numberOfExtraAwards:l.length-1}})},"extraAwards")})]):[];var o}function AwardsBadges(e){const t=(0,o.A)();if(!e.tags||0===e.tags.length)return null;const i=A(t,e.tags,{capAtCurrentYear:e.capAtCurrentYear,noLink:e.noLink,format:e.format});return 0===i.length?null:(0,u.jsx)(l.A,{unstyled:!0,display:"flex",flexWrap:"wrap",gap:1,marginBottom:1,children:i.map((e,t)=>(0,u.jsx)(l.A.Item,{children:e},t))})}},83485(e,t,i){i.d(t,{A:()=>RatingWithLabel});var a=i(44021),n=i(14202);function RatingWithLabel(e){const{label:t,rating:i,size:r="medium",type:l="stars",...s}=e;return(0,n.jsx)(a.A,{rating:i,size:r,type:l,alignItems:"center",flexWrap:"wrap",gapX:{xxsmall:1,xsmall:1,small:1,medium:1,large:2}[r],...s,children:t})}},28402(e,t,i){i.d(t,{A:()=>n});const a=/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/i;function n(e){return 36===e?.length&&a.test(e)}},53654(e,t,i){i.d(t,{L:()=>r,N:()=>l});var a=i(28402),n=i(28867);function r(e){return Object.keys(e).some(e=>!!["q","aspectId","hasAttachments","hasFollowUps","ratings","isVerified","spontaneousReviews"].includes(e)||!!(0,a.A)(e))}function l(e,t){if(Array.isArray(e.collection))return e;if(0===e.collection.items.length)return[{id:n.QR.MAIN,label:"Main",paginatedCollection:{collection:[],paging:e.paging,sorting:e.sorting},firstPageWasSkipped:!1,overlappingItemCount:0}];const i={};let a=0;for(const r of e.collection.items){const{_collectionId:l=n.QR.MAIN,_subjectReference:s,_authorReference:o,comments:d,...c}=r,g=e.collectionDefinitionMap?.[l]??{label:"Main",paging:e.paging,sorting:e.sorting,firstPageWasSkipped:!1,overlappingItemCount:0};if(!g)continue;const u=[];for(const t of d){const{_authorReference:i,...a}=t;u.push({author:e.collection.authors[i],...a})}i[l]||(i[l]={id:l,label:g.label,paginatedCollection:{collection:[],paging:g.paging,sorting:g.sorting},firstPageWasSkipped:g.firstPageWasSkipped,overlappingItemCount:g.overlappingItemCount}),i[l].paginatedCollection.collection.push({author:e.collection.authors[o],subject:e.collection.subjects[s],comments:u,originalIndexAcrossCollections:t?.withOriginalIndexAcrossCollections?a++:void 0,_collectionId:l,...c})}return Object.values(i)}},28867(e,t,i){i.d(t,{Ci:()=>n,QR:()=>a});var a=(e=>(e.MAIN="main",e.LATEST="latest",e.IN_DEPTH="inDepth",e.WITH_ATTACHMENTS="withAttachments",e.SHORTS="shorts",e.POSITIVE="positive",e.NEGATIVE="negative",e.MOST_LIKED="mostLiked",e.PINNED="pinned",e.BEST="best",e.WITH_ASPECTS="withAspects",e.LATEST_FOLLOW_UPS="latestFollowUps",e))(a||{});var n=(e=>(e.STATIC="static_search_page",e.DEFAULT="default",e))(n||{})},98169(e,t,i){function a(e,t=" \t\r\n"){for(;~t.indexOf(e[0]);)e=e.slice(1);for(;~t.indexOf(e[e.length-1]);)e=e.slice(0,-1);return e}i.d(t,{A:()=>a})},5399(e,t,i){i.d(t,{A:()=>n});var a=i(98169);function n(e,t,i={}){if((e=e.replace(/\s+/gm," ").trim()).length<=t)return e;if(i.preserveWholeWords){const i=e.replace(new RegExp(`^(.{1,${t}})\\b.*`,"us"),"$1");return(0,a.A)(i," \t\r\n,.")+"â¦"}return(0,a.A)(e.substring(0,t)," \t\r\n,.")+"â¦"}}}]);
2//# sourceMappingURL=LazyCompetitorAd_bcc029c3.js.map
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.