\n \n
\n
\n \n
\n
\n \n
${void 0===this.style.custom_translations.google_rating_text?"Google Rating":this.style.custom_translations.google_rating_text}
\n
\n \n
\n
\n ${this.generateAvatarList(this.reviewImage)}\n
\n
\n
\n
\n
\n
\n \n `}}class j{constructor(t,e,s,i,a,n){this.total_num_of_reviews=i?.total_review,this.rating=i?.rating,this.name=i?.name,this.place_id=i?.place_id,this.profile_photo=i?.image_url,this.buttonType=i?.buttonType,this.style=s,this.starColor=s.star_color,this.reviewImage=e}generateAvatarList(t){let e="";return t.slice(0,4).forEach((t,s)=>{e+=`\n
\n `}),e}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}changeBackground(t){t.target.style.color="#fe8403"}changdeBackground(t){t.target.style.color=this.getStyleColor()}render(){const{place_id:t,rating:e}=this;let s=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff"};\n `;return`\n \n
\n \n
\n
\n
\n
\n
\n ${this.generateAvatarList(this.reviewImage)}\n
\n
\n
\n
\n
\n
\n \n `}}class H{constructor(t,e,s,i,a,n){this.total_num_of_reviews=i?.total_review,this.rating=i?.rating,this.name=i?.name,this.place_id=i?.place_id,this.profile_photo=i?.image_url,this.buttonType=i?.buttonType,this.style=s,this.starColor=s.star_color,this.reviewImage=e}generateAvatarList(t){let e="";return t.slice(0,4).forEach((t,s)=>{e+=`\n
\n

\n
\n `}),e}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}changeBackground(t){t.target.style.color="#fe8403"}changdeBackground(t){t.target.style.color=this.getStyleColor()}render(){const{place_id:t,rating:e}=this;let s=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff"};\n `;return`\n \n
\n \n
\n
\n
\n
\n
\n
${void 0===this.style.custom_translations.rating_text?"Rating":this.style.custom_translations.rating_text} (${e})
\n
\n ${M(this.rating,this.starColor)}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n `}}class O{constructor(t,e,s,i,a,n,r){this.total_num_of_reviews=i?.total_review,this.rating=i?.rating,this.name=i?.name,this.place_id=i?.place_id,this.profile_photo=i?.image_url,this.buttonType=i?.buttonType,this.style=s,this.badgeType=r,this.starColor=this.style.star_color}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}changeBackground(t){t.target.style.color="#fe8403"}changdeBackground(t){t.target.style.color=this.getStyleColor()}render(){const{place_id:t,rating:e}=this;let s=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"midnight"===this.style.color_scheme?"#f1f5f9":"transparent"===this.style.color_scheme?"#222":"#fff"};\n \n background-color: ${"custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"midnight"===this.style.color_scheme?"#121826":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7")}`;return`\n
\n \n \n `}}class G{constructor(t,e,s,i,a,n,r){this.total_num_of_reviews=i?.total_review,this.rating=i?.rating,this.name=i?.name,this.place_id=i?.place_id,this.profile_photo=i?.image_url,this.buttonType=i?.buttonType,this.style=s,this.badgeType=r,this.starColor=s.star_color}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}changeBackground(t){t.target.style.color="#fe8403"}changdeBackground(t){t.target.style.color=this.getStyleColor()}render(){const{place_id:t,rating:e}=this;let s=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff"};\n background-color: ${"custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7")}`;return`\n
\n \n
\n
\n ${M(this.rating,this.starColor)}\n
\n
\n
\n
\n \n `}}class V{constructor(t,e,s,i,a,n,r){this.total_num_of_reviews=i?.total_review,this.rating=i?.rating,this.name=i?.name,this.place_id=i?.place_id,this.profile_photo=i?.image_url,this.buttonType=i?.buttonType,this.style=s,this.badgeType=r,this.starColor=this.style.star_color}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}changeBackground(t){t.target.style.color="#fe8403"}changdeBackground(t){t.target.style.color=this.getStyleColor()}render(){const{place_id:t,rating:e}=this;let s=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff"};\n \n background-color: ${"custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7")}`;return`\n
\n \n
\n
\n
${e}
\n
\n ${M(this.rating,this.starColor)}\n
\n
\n
\n
\n
\n
\n
Google
\n ${void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale} ${void 0===this.style.custom_translations.rating_text?"Rating":this.style.custom_translations.rating_text}\n
\n
\n
\n \n \n `}}class q{constructor(t){let{total_review:e,rating:s,name:i,image_url:a,badgeType:n,reviewURL:r,buttonType:l,layoutType:o,style:d,place_id:g}=t;this.total_review=e,this.rating=s,this.name=i,this.image_url=a,this.badgeType=n,this.reviewURL=r,this.buttonType=l,this.layoutType=o,this.style=d,this.place_id=g,this.starColor=d.star_color}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}render(){let t=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"midnight"===this.style.color_scheme?"#f1f5f9":"transparent"===this.style.color_scheme?"#222":"#fff"};\n background-color: ${"custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"transparent":"midnight"===this.style.color_scheme?"#0b0f17":"transparent"===this.style.color_scheme?"transparent":"light"!==this.style.color_scheme||"static"!==this.layoutType&&"floating"!==this.layoutType?"#ffffff":"#f7f7f7"}\n `
;return`\n
\n
\n
\n
\n ${"withImage"===this.badgeType?`
`:""}\n
\n ${"withImage"!==this.badgeType?`
\n \n ${void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale}\n
`:""}\n ${"withImage"===this.badgeType?`
${this.name}
`:""}\n
\n ${M(this.rating,this.starColor)}\n
\n ${"withImage"!==this.badgeType?`
`:`
`}\n ${"withImage"!==this.badgeType?'
':""}\n \n
\n
\n
\n
\n
\n `}}class J{constructor(t){let{total_review:e,rating:s,name:i,image_url:a,badgeType:n,reviewURL:r,buttonType:l,layoutType:o,style:d,place_id:g,cardSettings:h}=t;this.total_review=e,this.rating=s,this.name=i,this.image_url=a,this.badgeType=n,this.reviewURL=r,this.buttonType=l,this.layoutType=o,this.style=d,this.place_id=g,this.starColor=d.star_color,this.cardSettings=h}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}render(){let t=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"midnight"===this.style.color_scheme?"#f1f5f9":"transparent"===this.style.color_scheme?"#222":"#fff"};\n\n `;return`\n
\n
\n
\n
\n ${"withImage"===this.badgeType?`
`:""}\n
\n ${"withImage"!==this.badgeType?`
\n \n ${void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale}\n
`:""}\n ${"withImage"===this.badgeType?`
${this.name}
`:""}\n
\n ${M(this.rating,this.starColor)}\n
\n ${"withImage"!==this.badgeType?`
`:`
`}\n ${"withImage"!==this.badgeType?'
':""}\n \n
\n
\n
\n
\n
\n `}}class P{constructor(t){let{total_review:e,rating:s,name:i,image_url:a,badgeType:n,reviewURL:r,buttonType:l,layoutType:o,style:d,place_id:g}=t;this.total_review=e,this.rating=s,this.name=i,this.image_url=a,this.badgeType=n,this.reviewURL=r,this.buttonType=l,this.layoutType=o,this.style=d,this.place_id=g,this.starColor=d.star_color}getAverageReviewComment(t){let e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}render(){let t=`color: ${"light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"midnight"===this.style.color_scheme?"#f1f5f9":"transparent"===this.style.color_scheme?"#222":"#fff"};\n background-color: ${"custom"===this.style.color_scheme?this.style.customStyle.custom_card_background||"transparent":"dark"===this.style.color_scheme?"#303030":"azlight"===this.style.color_scheme?"#f4f6f9":"midnight"===this.style.color_scheme?"#121826":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&"floating"!==this.layoutType&&this.layoutType,"#f6f6f8")}\n `,e="\n padding: 15px 20px;\n ";return`\n
\n
\n
\n
\n
\n ${"withImage"===this.badgeType?`
`:""}\n
\n ${"withImage"!==this.badgeType?`
\n \n ${void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale}\n
`:""}\n ${"withImage"===this.badgeType?`
${this.name}
`:""}\n
\n ${M(this.rating,this.starColor)}\n
\n ${"withImage"!==this.badgeType?`
`:`
`}\n ${"withImage"!==this.badgeType?'
':""}\n \n
\n
\n
\n
\n
\n `}}class U{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c,isSliderLight:p}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.isSliderLight=p||!1,this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){return`\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n \n
\n \n
\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings?.verified_review_logo,this.cardSettings?.display_verified_mark)}\n
\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,"popupfloating"===this.layoutType,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n \n \n
\n
\n `}}class W{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){
return`\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings?.verified_review_logo,this.cardSettings?.display_verified_mark)}\n
\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n
\n
\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,"popupfloating"===this.layoutType,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n \n
\n
\n \n
\n
\n `}}class Y{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor=this.getBackgroundColor(),this.textColor=this.getTextColor(),this.textFontSize=`${l?.customStyle.review_text_font_size}px`,this.image_url=g}getBackgroundColor(){return"custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"transparent"===this.styles.color_scheme?"#EFEFEF":"azlight"===this.styles.color_scheme?"#f4f6f9":"#f6f6f8"}getTextColor(){return"light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"transparent"===this.styles.color_scheme?"#222":"azlight"===this.styles.color_scheme?"#222222":"#fff"}render(){const t=Boolean(this.cardSettings?.enable_fixed_card_height);return`\n
\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings?.verified_review_logo,this.cardSettings?.display_verified_mark)}\n
\n
\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,"popupfloating"===this.layoutType,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n \n

\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`
${a(this.author_name,this.cardSettings.reviewer_name_display)}
`:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
\n ${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n
\n
\n `}}class Z{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){return`\n
\n
\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}
\n
\n \n
\n
\n
\n \n
\n
\n ${M(this.rating,this.starColor,this.cardSettings.verified_review_logo,this.cardSettings.display_verified_mark)}\n
\n
\n \n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,!1,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n \n
\n
\n `}}class K{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){return`\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,!1,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n \n \n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n \n
\n \n
\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings?.verified_review_logo,this.cardSettings?.display_verified_mark)}\n
\n
\n \n \n
\n `}}class X{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){return`\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n \n \n
\n ${"image"===this.cardSettings.display_verified_mark?p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock"):`\n \n
\n `}\n
\n \n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n \n \n
\n
\n \n
\n
\n ${M(this.rating,this.starColor,this.cardSettings.verified_review_logo,this.cardSettings.display_verified_mark)}\n
\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,!1,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n
\n `}}class Q{constructor(t){
const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,image_url:d,layout:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layout=g,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":(this.styles.color_scheme,"#EFEFEF"),this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.customText={for_write_a_review:this.styles.custom_translations.write_a_review,for_view_all_review:this.styles.custom_translations.show_all_review,for_show_more_text:this.styles.custom_translations.show_more_text,for_show_less_text:this.styles.custom_translations.show_less_text},this.isExpanded=!1,this.image_url=d,this.author_url=h}render(){JSON.stringify(this.styles.custom_translations);return`\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings.verified_review_logo,this.cardSettings.display_verified_mark)}\n
\n
\n
\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,!1,this.styles?.custom_translations,this.layoutType)}\n
\n \n
\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n
\n
\n
\n \n \n
Google Review
\n
\n \n \n
\n
\n \n \n \n
\n `}}class tt{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,image_url:d,author_url:g,cardId:h,layoutType:c}=t;this.cardId=h,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.author_url=g,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.customText={for_write_a_review:this.styles.custom_translations.write_a_review,for_view_all_review:this.styles.custom_translations.show_all_review,for_show_more_text:this.styles.custom_translations.show_more_text,for_show_less_text:this.styles.custom_translations.show_less_text},this.isExpanded=!1,this.image_url=d,this.layoutType=c}render(){JSON.stringify(this.styles.custom_translations);return`\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings.verified_review_logo,this.cardSettings.display_verified_mark)}\n
\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,this.cardSettings?.review_text_display_format,this.cardSettings,this.cardId,!1,this.styles?.custom_translations,this.layoutType)}\n ${this.cardSettings.show_review_image&&Array.isArray("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url)&&("string"==typeof this.image_url?JSON.parse(this.image_url||"[]"):this.image_url).length>0?`
\n ${r(this.image_url,this.cardSettings.align,this.cardSettings.review_image_shape,this.cardSettings.review_image_position)}\n
`:""}\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n
\n \n \n
\n
\n \n \n \n
\n `}}class et{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,image_url:g,author_url:h,cardId:c}=t;this.cardId=c,this.author_name=e,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=h,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.background="custom"===this.styles.color_scheme?l.customStyle.custom_background||"transparent":"dark"===this.styles.color_scheme?"#222222":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"transparent":"#ffffff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.image_url=g}render(){return`\n
\n
\n
\n
\n
\n ${this.cardSettings.showImage&&this.author_image?`\n
\n

\n
\n `:""}\n ${p(this.cardSettings.showImage,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"imageBlock")}\n
\n
\n
\n ${this.cardSettings.showName?`\n
${a(this.author_name,this.cardSettings.reviewer_name_display)}
\n `:""}\n ${p(this.cardSettings.showName,this.cardSettings.display_verified_mark,this.cardSettings.verified_review_logo,this.layoutType,"nameBlock")}\n
\n
\n ${this.cardSettings.hideText?"":x(this.review,"truncated",this.cardSettings,this.cardId,!0,this.styles?.custom_translations,this.layoutType)}\n \n
\n
\n \n \n
\n
\n
\n
\n
\n
${B(this.time,this.styles.custom_translations,this.cardSettings.dateformat)}\n ${L(this.cardSettings.dateformat,this.author_url,this.textColor)}\n
\n
\n
\n
\n ${M(this.rating,this.starColor,this.cardSettings.verified_review_logo,this.cardSettings.display_verified_mark)}\n
\n
\n
\n
\n `}}class st{constructor(t,e,s,i,a,n){this.layoutType=t,this.reviewData=e,this.styles=s,this.isCentered=a,this.cardSettings=n,this.badgeData=i,this.hideNoComments=n.hideNoComments,this.filterStars=n.filterStars,this.buttonBorderRadius=this.styles.customStyle.card_border_radius/2,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.starColor=this.styles.customStyle?.star_color,this.grpReviewMoreData=u}getClassNames(){if("grid"===this.layoutType)return"grp-entangle-grid"}getScrollClassNames(){return this.styles.customStyle.enable_scroll_button&&"grid"!==this.layoutType?"grp-entangle-width-scroll":"grp-no-width"}generateBadgeHtml(t){return Boolean(this.badgeData.buttonType)?`\n
`:""}render(){const t=this.reviewData.slice(0,this.styles.customStyle.show_load_more_button?(this.cardSettings?.display_ai_summary&&"grid"==this.layoutType?u-1:u)+v:this.reviewData.length).map((t,e)=>`\n
\n ${"list-I"===this.layoutType?new Z({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render():new U({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}\n
\n `).join("");return`\n ${$(this.cardSettings,this.color)}\n
\n
\n
\n
\n

\n
\n
\n ${this.badgeData.name}\n
\n
\n
\n ${this.badgeData.rating} \n
\n
\n ${M(this.badgeData.rating,this.starColor)}\n
\n
\n
\n
\n
\n
\n \n
\n ${"list"===this.layoutType||"grid"===this.layoutType||"list-I"===this.layoutType?`
${this.generateBadgeHtml(this.badgeData)}\n
`:""}\n
\n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?"list-I"===this.layoutType?`
\n ${new $t({author_name:"AI-Reviews Summary",author_image:"image",rating:this.badgeData.rating,total_review:this.badgeData.total_review,review:this.reviewData,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render()}\n
`:`\n
\n ${new bt({author_name:"AI-Reviews Summary",author_image:"image",rating:this.badgeData.rating,total_review:this.badgeData.total_review,review:this.reviewData,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render()}\n
`:""}\n \n ${t}\n \n
\n ${this.styles.customStyle.show_load_more_button&&this.reviewData.length>u+v?`
`:""}\n \n
\n ${new U({author_name:t.author_name||t.name,author_image:t.profile_photo_url||t.avatar,time:t.time||t.date,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}
`;c.insertAdjacentHTML("beforeend",s)}),o.appendChild(c);const p=o.querySelector(".rocket-map-hours-wrapper");if(p){const t=p.querySelector(".rocket-map-hours-table"),e=p.querySelector(".rocket-map-hours-summary"),s=p.querySelector(".rocket-map-chev");t&&e&&(t.classList.contains("rocket-map-hidden")&&(t.style.display="none"),e.addEventListener("click",()=>{const e=t.classList.toggle("rocket-map-hidden");t.style.display=e?"none":"",s&&(s.textContent=e?"▼":"▲")}))}return this.container&&"function"==typeof this.container.appendChild?(this.container.appendChild(o),""):o.outerHTML}}class ot{constructor(t,e,s,i,a,n){this.layoutType=t,this.reviewData=e,this.styles=s,this.isCentered=a,this.cardSettings=n,this.badgeData=i,this.hideNoComments=n.hideNoComments,this.filterStars=n.filterStars,this.buttonBorderRadius=this.styles.customStyle.card_border_radius/2,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"light"===this.styles.color_scheme?"#f6f6f8":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.starColor=this.styles.customStyle.star_color}getClassNames(){if("grid"===this.layoutType)return"grp-entangle-grid"}getScrollClassNames(){return this.reviewData.length>6?"grp-entangle-width-scroll":"grp-no-width"}generateBadgeHtml(t){return Boolean(this.badgeData.buttonType)?`\n \n \n ${new U({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}\n
\n `).join("");return`\n
\n
\n
\n
\n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?`\n
\n ${new bt({author_name:"AI-Reviews Summary",author_image:"image",time:"",review:this.reviewData,rating:this.badgeData.rating,total_review:this.badgeData.total_review,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render()}\n
`:""}\n ${this.reviewData.map((t,e)=>`\n
\n ${new U({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,layoutType:this.layoutType,cardSettings:this.cardSettings,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e,isSliderLight:!0}).render()}\n
\n `).join("")}\n
\n
\n
\n \n
\n
\n \n
\n `}}class _t{constructor(t,e,s,i,a,n,r){this.badgeType=e,this.badgeData=s,this.reviewData=i,this.styles=a,this.isCentered=n,this.cardSettings=r,this.layoutType=t,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.auto_play=this.styles.customStyle.auto_play,this.customSliderElement="autoscroll"==r?.slider_display_type?"infinite-slider":"manual-slider",this.arrowDisplay="autoscroll"!=r?.slider_display_type?"flex":"none",this.selectLayout=t,this.buttonBorderRadius=this.styles.customStyle.card_border_radius/2,this.layoutTypes="badge-III"==this.layoutType||A<768?"twocol":"onecol",this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",
this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff"}getClassNames(){switch(this.layoutTypes){case"onecol":default:return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol"}}generateBadgeHtml(t){return Boolean(this.badgeData.buttonType)?`\n
`:""}render(){return`\n ${$(this.cardSettings,this.color)}\n
${this.generateBadgeHtml(this.badgeData)}\n
\n
\n
\n ${"badgeReviewSlider"===this.selectLayout?new P({reviewURL:this.badgeData.reviewURL,buttonType:this.badgeData.buttonType,badgeType:this.badgeType,name:this.badgeData.name,layoutType:this.layoutType,rating:this.badgeData.rating,total_review:this.badgeData.total_review,image_url:this.badgeData.image_url,style:this.styles,place_id:this.badgeData.place_id}).render():""}\n \n
\n
\n ${"badgeReviewSlider"!=this.selectLayout?`
`:""}\n
\n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?`\n
\n ${new Ct({author_name:"AI-Reviews Summary",author_image:"image",time:"",review:this.reviewData,rating:this.badgeData.rating,total_review:this.badgeData.total_review,center:!1,styles:this.styles,cardSettings:this.cardSettings}).render()}\n
`:""}\n ${this.reviewData.map((t,e)=>`\n
\n ${new K({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,layoutType:this.selectLayout,cardSettings:this.cardSettings,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}\n
\n `).join("")}\n
\n ${"badgeReviewSlider"!=this.selectLayout?`
`:""}\n \n ${"badgeReviewSlider"===this.selectLayout?`
`:""}\n
\n
\n
\n
\n ${"badgeReviewSlider"===this.selectLayout?"":``}\n
\n \n
\n `}}class wt{constructor(t,e,s,i,a,n,r){this.badgeType=e,this.badgeData=s,this.reviewData=i,this.styles=a,this.isCentered=n,this.cardSettings=r,this.layoutType=t,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.selectLayout=t,this.auto_play=this.styles.customStyle.auto_play,this.customSliderElement="autoscroll"==r?.slider_display_type?"infinite-slider":"manual-slider",this.arrowDisplay="autoscroll"!=r?.slider_display_type?"flex":"none",this.layoutTypes="badge-III"==this.layoutType||A<768?"twocol":"onecol",this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#0b0f17":"transparent"===this.styles.color_scheme?"#f8f8f8":"#EFEFEF",this.color="light"===this.styles.color_scheme?"#303030":"dark"===this.styles.color_scheme?"#c9c9c9":"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"transparent"===this.styles.color_scheme?"#222222":"#c9c9c9"}getClassNames(){switch(this.layoutTypes){case"onecol":default:return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol"}}render(){return`\n
\n
\n
\n
\n
\n
\n
\n \n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?`\n
\n ${new bt({author_name:"AI-Reviews Summary",author_image:"image",time:"",review:this.reviewData,rating:this.badgeData.rating,total_review:this.badgeData.total_review,center:!1,styles:this.styles,cardSettings:this.cardSettings}).render()}\n
\n `:""}\n ${this.reviewData.map((t,e)=>`\n
\n ${new U({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.selectLayout,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}\n
\n `).join("")}\n
\n ${"badgeReviewSlider"===this.selectLayout?"":`\n \n `}\n \n
\n
\n \n
\n
\n \n
\n \n
\n \n `}}class ft{constructor(t,e,s,i,a,n,r){this.badgeType=e,this.badgeData=s,this.reviewData=i,this.styles=a,this.isCentered=n,this.cardSettings=r,this.layoutType=t,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.auto_play=this.styles.customStyle.auto_play,this.customSliderElement="autoscroll"==r?.slider_display_type?"infinite-slider":"manual-slider",this.arrowDisplay="autoscroll"!=r?.slider_display_type?"flex":"none",this.layoutType=t,this.buttonBorderRadius=this.styles.customStyle.card_border_radius/2,this.layoutTypes="badge-III"==this.layoutType||A<768?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.starColor=a.star_color}getClassNames(){switch(this.layoutTypes){case"onecol":default:return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol"}}generateBadgeHtml(t){return Boolean(this.badgeData.buttonType)?`\n
`:""}render(){return`\n
\n ${$(this.cardSettings,this.color)}\n
\n

\n
\n
\n
\n ${this.badgeData.name}\n
\n \n
\n
${void 0===this.styles.custom_translations.rating_text?"Rating":this.styles.custom_translations.rating_text}\n
\n
\n
\n
${this.badgeData.rating}\n
\n ${M(this.badgeData.rating,this.starColor)}\n
\n
\n
${void 0===this.styles.custom_translations.rating_scale_textII?"Based on":this.styles.custom_translations.rating_scale_textII} ${this.badgeData.total_review} ${void 0===this.styles.custom_translations.rating_scale_textI?"Reviews":this.styles.custom_translations.rating_scale_textI}
\n
\n \n
${this.generateBadgeHtml(this.badgeData)}\n
\n
\n
\n \n \n \n
\n \n
\n
\n \n \n
\n
\n
\n \n
\n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?`\n
\n ${new St({author_name:"AI-Reviews Summary",author_image:"",time:"",review:this.reviewData,rating:this.badgeData.rating,total_review:this.badgeData.total_review,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutType}).render()}\n
`:""}\n ${this.reviewData.map((t,e)=>`\n
\n ${new Q({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,image_url:t.image_urls,layout:this.layoutType,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e}).render()}\n
\n `).join("")}\n
\n
\n \n \n
\n \n
\n
\n \n
\n \n
\n \n
\n
\n `}}class xt{constructor(t,e,s,i,a,n,r){this.badgeType=e,this.badgeData=s,this.reviewData=i,this.styles=a,this.isCentered=n,this.cardSettings=r,this.layoutType=t,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.auto_play=this.styles.customStyle.auto_play,this.customSliderElement="autoscroll"==r?.slider_display_type?"infinite-slider":"manual-slider",this.arrowDisplay="autoscroll"!=r?.slider_display_type?"flex":"none",this.layoutCheck=t,this.layoutTypes="badge-III"==this.layoutType||A<768?"twocol":"onecol",this.buttonBorderRadius=this.styles.customStyle.card_border_radius/2,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}getClassNames(){switch(this.layoutTypes){case"onecol":default:return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol"}}generateBadgeHtml(t){return Boolean(this.badgeData.buttonType)?`\n
`:""}render(){return`\n ${$(this.cardSettings,this.color)}\n
\n ${"onecol"===this.layoutTypes?`
${this.generateBadgeHtml(this.badgeData)}\n
`:""}\n
\n
\n \n ${"twocol"===this.layoutTypes?`
${this.generateBadgeHtml(this.badgeData)}\n
`:""}\n \n
\n \n
\n
\n ${this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?`\n
\n ${new St({author_name:"AI-Reviews Summary",author_image:"",time:"",review:this.reviewData,rating:this.badgeData.rating,total_review:this.badgeData.total_review,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutCheck}).render()}\n
\n `:""}\n ${this.reviewData.map((t,e)=>`\n
\n ${new tt({author_name:t.author_name,author_image:t.profile_photo_url,time:t.time,review:t.text,rating:t.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,image_url:t.image_urls,author_url:I({url:t.author_url,placeId:this.badgeData.place_id}),cardId:e
}).render()}\n
\n `).join("")}\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n `}}class bt{constructor(t){const{author_name:e,author_image:s,time:i,review:a,rating:n,center:r,styles:l,cardSettings:o,layoutType:d,total_review:g}=t;this.author_name=e,this.total_review=g,this.author_image=s,this.time=i,this.review=a,this.rating=n,this.center=r,this.styles=l,this.cardSettings=o||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.reviews=o.reviews_ai_summary,this.layoutType=d,this.starColor=l.star_color,this.backgroundColor="custom"===this.styles.color_scheme?this.styles.customStyle?.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"midnight"===this.styles.color_scheme?"#121826":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"midnight"===this.styles.color_scheme?"#f1f5f9":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=l?.customStyle.review_text_font_size+"px",this.computedBackground="custom"===this.styles.color_scheme?"var(--grp_ai_summary_background_color_custom)":"dark"===this.styles.color_scheme?"var(--grp_ai_summary_background_color)":"var(--grp_ai_summary_gradient_color)"}generateReviewsString(t){const e=null===t?"":t.map(t=>`\n