1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5779],{12372:(e,r,t)=>{var a={"./ar":18133,"./ar.js":18133,"./az":96221,"./az.js":96221,"./be":931,"./be.js":931,"./bg":20189,"./bg.js":20189,"./bs":50241,"./bs.js":50241,"./ca":53122,"./ca.js":53122,"./cs":7344,"./cs.js":7344,"./cy":61482,"./cy.js":61482,"./da":90945,"./da.js":90945,"./de":53869,"./de.js":53869,"./el":45435,"./el.js":45435,"./en":58773,"./en.js":58773,"./es":39910,"./es.js":39910,"./et":97171,"./et.js":97171,"./eu":42400,"./eu.js":42400,"./fa":67379,"./fa.js":67379,"./fi":87819,"./fi.js":87819,"./fr":26834,"./fr.js":26834,"./hr":83840,"./hr.js":83840,"./hu":83585,"./hu.js":83585,"./id":74567,"./id.js":74567,"./it":39863,"./it.js":39863,"./ja":9599,"./ja.js":9599,"./ka":67466,"./ka.js":67466,"./ko":96308,"./ko.js":96308,"./lt":4826,"./lt.js":4826,"./lv":34936,"./lv.js":34936,"./mk":30246,"./mk.js":30246,"./mn":68173,"./mn.js":68173,"./ms":54638,"./ms.js":54638,"./nb_NO":81428,"./nb_NO.js":81428,"./nl":16468,"./nl.js":16468,"./pl":91206,"./pl.js":91206,"./pt":59694,"./pt.js":59694,"./pt_BR":96739,"./pt_BR.js":96739,"./ro":51077,"./ro.js":51077,"./ru":41251,"./ru.js":41251,"./se":28790,"./se.js":28790,"./sl":46889,"./sl.js":46889,"./sq":99874,"./sq.js":99874,"./sr":56403,"./sr.js":56403,"./sv":96487,"./sv.js":96487,"./tr":77764,"./tr.js":77764,"./ua":48196,"./ua.js":48196,"./uk":58718,"./uk.js":58718,"./vi":1883,"./vi.js":1883,"./zh":17588,"./zh.js":17588,"./zh_TW":12700,"./zh_TW.js":12700};function n(e){return t(i(e))}function i(e){if(!t.o(a,e)){var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}return a[e]}n.keys=function(){return Object.keys(a)},n.resolve=i,e.exports=n,n.id=12372},49384:(e,r,t)=>{"use strict";t.d(r,{A:()=>d}),t(9134);let a="breadcrumbListItem inline-block floa-left mr-5 md:mr-10 cursor-pointer text-14 md:text-19",n="ml-10 inline-block floa-left";var i=t(34028),l=t(93311),o=t(84734),s=function(e){return e.replace(/-/g," ").replace(/oe/g,"\xf6").replace(/ae/g,"\xe4").replace(/ue/g,"\xfc").toUpperCase()};let d=function(e){var r,t,d=e.breadcrumbs,c=e.breadcrumbVariant,u=e.expertArticleType,m=e.brandName,v=e.isTableOfContentPresent,p=e.productPage,h=e.adp,x=e.ausoniaExpertDetailsPage,f=e.iscancerDiscreeetPage;if(!d||(null==d||null==(r=d.items)?void 0:r.length)<2)return null;var w=function(){var e,r=(0,l.L)(i.homeWhite);return"whiteText"!==c||"default"===c?null!=d&&null!=(e=d.items[1])&&e.url.includes("discreet")?(0,l.L)(i.homeDiscreet):(0,l.L)(i.homeAusonia):(0,l.L)(i.homeWhite)};return(0,o.jsx)("nav",{"aria-label":"breadcrumbs",className:"".concat("z-full top-0 right-0 bg-transparent font-BoldFont sm:text-16 md:text-19 leading-22 text-darkpink dark:text-darkpurple py-30 lg:py-40 min-h-100 px-20 dark:bg-white"," ").concat(c||"defaultColor"," breadcrumNav ").concat(u?"absolute font-BoldFont":"","\n ").concat("discreet"===m?"discreetBreadcrumNav ":"ausoniaBreadcrumb","\n ").concat(!v&&!p&&!h?"dark:bg-lightpurple":"bg-white","\n ").concat(void 0===m?"discreetAdp":"","\n ").concat(x?"ausoniaExpertDetailsPageOld":"","\n ").concat(f?"cancerPageBreadcrumb":""," z-[999]\n "),children:(0,o.jsx)("ol",{className:"".concat("breadcrumbList mx-auto lg:max-w-lg xl:max-w-xl xxl:max-w-xxl navList"," discreetList ml-auto pl-15"),children:null==d||null==(t=d.items)?void 0:t.map(function(e,r){var t,i,l,c,u,m,v;return 0==r&&(null==d||null==(t=d.items)?void 0:t.length)>1?(0,o.jsxs)("li",{className:"".concat(a," ").concat("breadcrumbListItemActive font-BlackFont"),children:[(0,o.jsx)("a",{href:null!=d&&null!=(c=d.items[1])&&null!=(c=c.url)&&c.includes("discreet")?"/es-es/discreet":"/es-es",className:"event_internal_link","data-action-detail":"Link: ".concat(null!=d&&null!=(u=d.items[1])&&null!=(u=u.url)&&u.includes("discreet")?"P\xe1gina de inicio de Ausonia Discreet":"P\xe1gina de inicio de Ausonia"),"aria-label":"".concat(null!=d&&null!=(m=d.items[1])&&null!=(m=m.url)&&m.includes("discreet")?"P\xe1gina de inicio de Ausonia Discreet":"P\xe1gina de inicio de Ausonia"),tabIndex:0,children:(0,o.jsx)("img",{className:"breadcumHomeIcon h-20 w-20 inline-block floa-left -mt-5",src:w(),alt:"".concat(null!=d&&null!=(v=d.items[1])&&null!=(v=v.url)&&v.includes("discreet")?"P\xe1gina de inicio de Ausonia Discreet":"P\xe1gina de inicio de Ausonia")}
1)}),(0,o.jsxs)("span",{className:n,children:[" ",">"," "]})]},e.url):(0,o.jsxs)("li",{className:a,children:[(0,o.jsx)("a",{href:null==e?void 0:e.url,className:"event_internal_link","data-action-detail":"Breadcrumb : ".concat(s(null==e?void 0:e.title)),"aria-label":"".concat(s(null==e?void 0:e.title)),tabIndex:0,children:s(null==e?void 0:e.title)}),(null==d||null==(i=d.items)?void 0:i.length)>1&&r<(null==d||null==(l=d.items)?void 0:l.length)-1?(0,o.jsxs)("span",{className:n,children:[" ",">"," "]}):""]},e.url)})})})}},57756:(e,r,t)=>{"use strict";t.d(r,{A:()=>eW});var a=t(9134),n=t(53920),i=t(55387),l=t(34028),o=t.n(l),s=t(23745),d=t(67251),c=t(42969),u=t(80035),m=t(55229),v=t.n(m),p=new((0,s.A)(function e(){(0,d.A)(this,e),(0,c.A)(this,"form",{fields:{usedProduct:{value:"",name:"usedProduct",rule:"required",error:null,errorFlag:!0},overallRating:{value:"",name:"overallRating",rule:"required",error:null,errorFlag:!0},valueRating:{value:"",name:"valueRating"},qualityRating:{value:"",name:"qualityRating"},recommend:{value:"",name:"recommend",rule:"required",errorFlag:!0},summary:{value:"",error:null,type:"text",rule:["required","between:3,50"],errorFlag:!0},description:{value:"",name:"description",error:null,type:"textarea",rule:["required","between:50,1000"],errorFlag:!0},nickname:{value:"",name:"nickname",error:null,type:"text",rule:["required","between:3,50","regex:/^[a-zA-Z0-9_-]+$/"],errorFlag:!0,asyncCheck:!0},location:{value:"",name:"location",error:null,type:"text",rule:["required","between:3,50","regex:/^[a-zA-Z0-9 _-]+$/"],errorFlag:!0},email:{value:"",name:"email",error:null,type:"text",asyncCheck:!0,rule:["required","regex:/^[a-zA-Z0-9]+@[a-zA-Z0-9]+.[A-Za-z]+$/"],errorFlag:!0},receivedPromotion:{value:"",name:"receivedPromotion",error:null,rule:"required",errorFlag:!0},productTestDate:{value:"",name:"productTestDate",error:null,type:"date",rule:"required",errorFlag:!0},terms:{value:"",name:"terms",type:"checkbox",rule:"required",options:{validateOnChange:!0},errorFlag:!0},preview:{name:"preview",type:"hidden",value:!1,options:{validateOnChange:!0}},thankyou:{name:"thankyou",type:"hidden",value:!1,options:{validateOnChange:!0}},sorryModal:{name:"sorryModal",type:"hidden",value:!1,options:{validateOnChange:!0}},isSubmit:{name:"isSubmit",type:"hidden",value:!1,options:{validateOnChange:!0}},locale:{name:"locale",type:"hidden",value:!1,options:{validateOnChange:!0}},productID:{name:"productID",type:"hidden",value:!1,options:{validateOnChange:!0}},errorLength:{name:"errorLength",type:"hidden",value:0,options:{validateOnChange:!0}},serverErrorFlag:{name:"serverErrorFlag",type:"hidden",value:!1,options:{validateOnChange:!0}},serverError:{name:"serverError",type:"hidden",value:"ageCriteriaError",options:{validateOnChange:!0}},ageLimitError:{name:"ageLimitError",type:"hidden",value:!1,options:{validateOnChange:!0}}},error:{updateError:"",validationError:""},success:!1})})),h=t(11702),x=t(90233),f=t.n(x);let w=new((0,s.A)(function e(){var r=this;(0,d.A)(this,e),(0,c.A)(this,"submitClicked",!1),(0,c.A)(this,"ageRestrictionError",!1),(0,c.A)(this,"previewForm",p.form),(0,c.A)(this,"hideForm",!1),(0,c.A)(this,"setIsSubmit",function(e){r.previewForm.fields.isSubmit.value=e}),(0,c.A)(this,"setPreviewModal",function(e){r.previewForm.fields.preview.value=e}),(0,c.A)(this,"getFormattedHeaderParams",function(){return{usedProduct:r.previewForm.fields.usedProduct.value,rating:r.previewForm.fields.overallRating.value,rating_Value:r.previewForm.fields.valueRating.value,rating_Quality:r.previewForm.fields.qualityRating.value,isRecommended:r.previewForm.fields.recommend.value,reviewSummary:r.previewForm.fields.summary.value,reviewText:r.previewForm.fields.description.value,userNickname:r.previewForm.fields.nickname.value,userLocation:r.previewForm.fields.location.value,userEmail:r.previewForm.fields.email.value,receivedPromotion:r.previewForm.fields.receivedPromotion.value,productTestDate:r.previewForm.fields.productTestDate.value,agreedToTermsAndConditions:r.previewForm.fields.terms.value,productID:r.previewForm.fields.productID.value,localeVal:r.locale,preview:r.previewForm.fields.preview.value,ageLimitError:r.previewForm.fields.ageLimitError.value,thankyou:r.previewForm.fields.thankyou.value,sorryModal:r.previewForm.fields.sorryModal.value,isSubmit:r.previewForm.fields.isSubmit.value,hostedAuthentication_AuthenticationEmail
1:r.previewForm.fields.email.value,callBackURL:"https://www.ausonia.es"}}),(0,c.A)(this,"onChange",function(e,t){r.previewForm.fields[e].value=t}),(0,c.A)(this,"validateNickname",function(e){var t={};t={required:e+"RequiredError",regex:e+"FormatError",between:e+"CharactersError",duplicate:e+"DuplicateError"};var a=r.getFormattedHeaderParams();(0,h.P3)(a,a.productID).then(function(a){var n=a.data;n&&n.FormErrors&&n.FormErrors.FieldErrorsOrder&&n.FormErrors.FieldErrorsOrder.map(function(a){"usernickname"==a?(r.previewForm.fields[e].error=t.duplicate,r.previewForm.fields[e].errorFlag=!0):"useremail"==a&&(r.previewForm.fields[e].error=t.regex,r.previewForm.fields[e].errorFlag=!0)})})}),(0,c.A)(this,"validateField",function(e){var t={};t={required:e+"RequiredError",regex:e+"FormatError",between:e+"CharactersError"};var a=new(v())((0,c.A)({},e,r.previewForm.fields[e].value),(0,c.A)({},e,JSON.parse(JSON.stringify(r.previewForm.fields[e].rule))),t);!a.errors.first(e)&&r.previewForm.fields[e].asyncCheck&&r.validateNickname(e);var n=a.passes();if("productTestDate"===e&&n){var i=new Date(r.previewForm.fields[e].value+"T00:00:00"),l=new Date;l.setHours(23,59,59,999);var o=new Date(l);o.setMonth(o.getMonth()-12),o.setHours(0,0,0,0),(i>l||i<o)&&(n=!1,a.errors.add(e,"productTestDateRangeError"))}"usedProduct"===e&&("False"===r.previewForm.fields[e].value?(n=!1,a.errors.add(e,"usedProductNotAllowedError")):""===r.previewForm.fields[e].value&&(n=!1,a.errors.add(e,"usedProductRequiredError")));var s=r.previewForm.fields[e].error,d=r.previewForm.fields[e].errorFlag;return n&&d?(r.previewForm.fields[e].errorFlag=!1,r.previewForm.fields.errorLength.value-=1):n||s||(r.previewForm.fields[e].errorFlag=!0,r.previewForm.fields.errorLength.value+=1),r.previewForm.fields[e].error=a.errors.first(e),n}),(0,c.A)(this,"onCancel",function(){var e;Object.keys(r.previewForm.fields).forEach(function(e){"thankyou"===e||"sorryModal"===e||"preview"===e||"isSubmit"===e||"ageLimitError"===e?r.previewForm.fields[e].value=!1:r.previewForm.fields[e].value=""}),Object.keys(null==(e=r.previewForm)?void 0:e.fields).forEach(function(e){r.previewForm.fields[e].error=""})}),(0,c.A)(this,"setAgeRestriction",function(){r.previewForm.fields.serverErrorFlag.value=!0;var e=new Date;e.setTime(e.getTime()+24*f().bazaarvoice.ageRestrictionExpirationDays*36e5),document.cookie="WRITE_REVIEW_AGE_RESTRICTION = WRITE_REVIEW_AGE_RESTRICTION;expires=".concat(e.toUTCString(),";path=/")}),(0,c.A)(this,"verifyAge",function(){r.ageRestrictionError=!1;var e=new Date,t=new Date;return(t.setDate(e.getDate()),t.setMonth(r.previewForm.fields.dobMonth.value-1),t.setFullYear(r.previewForm.fields.dobYear.value),(e.getTime()-t.getTime())/31536e6>=18)?(r.ageRestrictionError=!1,r.previewForm.fields.serverErrorFlag.value=!1,!1):(r.ageRestrictionError=!0,r.previewForm.fields.serverErrorFlag.value=!0,!0)}),(0,c.A)(this,"shouldSubmit",function(){return!(document.cookie.indexOf("WRITE_REVIEW_AGE_RESTRICTION")>-1)||(r.ageRestrictionError=!1,r.previewForm.fields.serverErrorFlag.value=!0,r.previewForm.fields.serverError.value="ageCriteriaError",r.previewForm.fields.ageLimitError.value=!0,!1)}),(0,c.A)(this,"onSubmit",function(){var e=r.getFormattedHeaderParams(),t=[];if(Object.keys(r.previewForm.fields).forEach(function(e){r.previewForm.fields[e].rule&&!r.validateField(e)&&t.push(!1)}),r.previewForm.fields.errorLength.value=t.length,!(t.length>0)){if(!0===r.previewForm.fields.isSubmit.value)return void(0,h.MI)(e,e.productID).then(function(e){200===e.status&&!1===e.data.HasErrors?(r.previewForm.fields.sorryModal.value=!1,r.previewForm.fields.thankyou.value=!0):(r.previewForm.fields.thankyou.value=!1,r.previewForm.fields.sorryModal.value=!0),r.previewForm.fields.isSubmit.value=!1}).catch(function(e){r.previewForm.fields.thankyou.value=!1,r.previewForm.fields.sorryModal.value=!0,r.previewForm.fields.isSubmit.value=!1});document.cookie.indexOf("WRITE_REVIEW_AGE_RESTRICTION")>-1?r.previewForm.fields.ageLimitError.value=!0:(0,h.P3)(e,e.productID).then(function(e){if(!0===e.data.HasErrors){var t=e.data.FormErrors;t.FieldErrorsOrder?t.FieldErrorsOrder.map(function(e){"usernickname"===e&&r.validateNickname("nickname")}):(r.previewForm.fields.serverErrorFlag.value=!0,r.previewForm.fields.serverError.value=e.data.Errors[0].Message)}else r.previewForm.fields.preview.value=!0}
1).catch(function(e){throw Error(e)})}}),(0,u.l_)(this)}));var g=t(63857),b=t(29898),j=t(52672),k=t(76966),y=t(60180),N=t.n(y),R=t(13911),F=t(15039),A=t.n(F),C=t(12646),P=t.n(C),T=t(30742);let L={modalClose:"modalClose absolute text-36 top-0 right-20 focus:outline-none text-darkpink dark:text-darkpurple ",mainDiv:"popup-wrapper bg-white inline-block fixed top-20 right-20 bottom-20 left-20 md:top-100 md:left-100 md:right-100 lg:bottom-50 lg:top-50 lg:left-50 md:right-100 lg:bottom-50 z-full p-40 rounded-25 overflow-auto"},E="write-review-confirmation text-darkpink dark:text-darkpurple font-RegularFont text-center flex items-center justify-center flex-coloumn h-full",O="modalBG",D="h-full",S="modalTitle",B="write-review-form-header text-24 font-BlackFont leading-36 text-darkpink dark:text-darkpurple",_="modalClose absolute headclose text-darkpink dark:text-darkpurple text-36 right-20 top-5 cursor-pointer focus:outline-none",I="closespan",q="p-0",W="font-RegularFont py-15",H="buttonWrapper",M="continue-button px-25 py-5 bg-darkpink text-white dark:bg-darkpurple text-16 font-BoldFont focus:outline-none rounded-25",G="font-RegularFont py-15",z={writeReviewForm:"write-review-form",writeReviewFormHeader:"write-review-form-header text-24 font-BlackFont leading-36 text-violetPink dark:text-darkpurple mb-15",writeReviewFormMandatory:"write-review-form-header-mandatory flex justify-end text-violetPink dark:text-darkpurple font-BoldFont",writeReviewFormLayout:"write-review-form-layout flex pb-30",writeReviewFormLayoutLeft:"left w-1/4",writeReviewFormLayoutRight:"right w-3/4",writeReviewFormReviewsRatings:"write-review-form-reviews-ratings flex items-start text-violetPink dark:text-darkpurple font-BoldFont leading-24 py-30",writeReviewFormReviewsRatingsLeft:"left w-full",writeReviewFormReviewsRatingsLeftInner:"left-inner flex py-15",Left:"left-inner-left w-full md:w-1/3 md:pr-15 md:text-20",Right:"left-inner-right w-full md:w-1/2",writeReviewFormReviewsRatingsRight:"right w-1/4",writeReviewFormRecomendor:"write-review-form-reviews-ratings flex items-start text-violetPink dark:text-darkpurple font-RegularFont leading-24 pb-30",writeReviewFormRecomendorLeft:"left w-full flex",writeReviewFormRecomendorLeftInner:"left-inner flex",Left1:"left-inner-left w-full md:w-1/3 md:pr-15 md:text-20",Right1:"left-inner-right w-full md:w-1/2",writeReviewFormRecomendorRight:"right w-1/4",formWrapperTop:"form-wrapper border-b-2 border-solid border-darkpink dark:border-darkpurple pt-15",inputSections:"flex sm:flex-col md:flex-row pb-30 relative",inputLabelContain:"w-full md:w-1/3 text-violetPink dark:text-darkpurple font-BoldFont leading-24 md:pr-15 mb-10 md:mb-0 md:text-20",textboxContain:"w-full md:w-1/2 text-violetPink dark:text-darkpurple font-RegularFont leading-24",ratingWrapper:"rating-wrapper relative",floatLeft:"float-left relative",mandateField:"mandateField float-right lg:float-left text-gray-dark pb-10 lg:pb-50",sectionHeading:"clear-both sectionHeading text-blue-dark pb-15 lg:pb-20 float-left",starRating:"user-rating star-rating",primaryRadio:"primary-radio",primaryLabel:"primary-label checkmark",pgUrl:"text-black underline",serverErrorText:"text-red py-2 px-25",serverErrorLink:"serverErrorLink text-blue",serverErrorCount:"text-red py-2 pl-30",errorText:"text-red py-2 w-full text-14 font-BoldFont",errorTextScore:"text-red py-2 w-full text-14 font-BoldFont relative top-25 ml-5",errorTextRecomend:"text-red py-2 w-full text-14 font-BoldFont ml-5",pageError:"text-red py-2 w-full text-14 font-BoldFont",hyphenRating:"user-rating hyphen-rating",secondaryRadio:"secondary-radio",secondaryLabel:"secondary-label checkmark",recommendContainer:"flex mt-30 lg:mt-60 mb-20 flex-col lg:flex-row",recommendLabelContainer:"pr-15",recommendLabel:"recommendLabel font-BoldFont md:pb-0",recommendradioContain:"pg-radio",recommendedRadio:"recommended-radio absolute",radioCircle:"radioCircle inline-block relative",recommendlabelClass:"recommendlabelClass pl-5 sm:pr-15 md:pr-20 font-BoldFont",inputBox:"text-black border border-textbox-border w-full p-1 pl-5 h-40 shadow-text-box rounded-4 focus:border-textbox-focus focus:shadow-text-box-focus focus:outline-none py-4",labelHintText:"labelHintText italic text-14 font-BoldFont",textArea:"border border-textbox-border w-full p-1 pl-5 lg:h-60 shadow-text-box rounded-4 focus:border-textbox-focus focus:shadow-text-box-focus focus:outline-none text-black",informationWrapper:"information-wrapper border-backgroundGray pt-20",monthWrapper:"monthWrapper relative w-1/3 pr-15 font-RegularFont text-black",dropdownArrow:"dropdownArrow",selectStyle:"select-style h-40 w-full px-15 bg-white",yearWrapper:"yearWrapper w-1/3 pr-15 font-RegularFont text-black",termsWrapper:"terms-wrppaer pt-15",checkboxWrapper:"flex flex-col md:flex-row pb-30",termsStyle1:"w-full md:w-1/3",termsStyle:"w-full md:w-1/2 text-violetPink dark:text-darkpurple font-BoldFont leading-24 text-14",termsCheckbox:"mr-10 relative top-2",termsLink:"text-blue-dark",trustContent:"text-violetPink dark:text-darkpurple font-BoldFont leading-24 text-14",privacyClick:"text-blue-dark underline",buttonWrapper:"buttonWrapper w-full justify-between text-violetPink dark:text-darkpurple font-RegularFont text-14 pt-30",previewButton:"preview-button px-25 py-5 bg-white text-darkpink dark:text-darkpurple text-16 font-BoldFont focus:outline-none rounded-25",cancelButton:"cancel-button text-darkpink dark:text-darkpurple text-16 font-BoldFont",termsLinkWrap:"termsLinkWrap flex flex-col md:flex-row text-center md:text-left text-base list-none py-1
15 mb:py-0 font-BoldFont",termsFirstLink:"text-blue-dark pr-10",textBlack:"font-Museo300Regular text-darkBule no-underline",termsSecondLink:"md:border-l-2 border-blue-dark text-blue-dark pl-10",buttonMobileWrapper:"buttonMobileWrapper flex flex-col md:flex-row justify-between pb-10 border-b border-gray-light2",dialogTextContains:"dialogTextContains md:flex md:flex-wrap text-darkpink dark:text-darkpurple mb-30 font-RegularFont text-center md:text-left",previewleft:"previewleft w-full md:w-3/10 my-15",marginbtendt:"marginbtendt py-10",previewRight:"previewRight w-full md:w-7/10 break-all",reviewSummaryTitle:"reviewSummaryTitle w-full md:w-7/10",widthHalfDate:"widthHalfDate w-full md:w-3/10 text-center md:text-right",reviewSummaryDesc:"reviewSummaryDesc",previewButtonWrap:"previewButtonWrap float-right",reviewSubmitButton:"reviewSubmitButton px-25 py-5 bg-darkpink text-white dark:bg-darkpurple text-16 font-BoldFont focus:outline-none rounded-25",reviewEditButton:"reviewEditButton text-darkpink dark:text-darkpurple text-16 font-BoldFont ml-30",toolTip:"toolTip absolute right-20 top-20",toolTipMessage:"toolTipMessage w-200 rounded-15 pt-8 pb-8 pl-15 pr-15 text-black absolute float-right right-0 -top-150 z-10"};var V=t(59860),U=t(84734),Y=["required","className","multiRow","readonly","rows","cols"];function J(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function Z(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?J(Object(t),!0).forEach(function(r){(0,c.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function $(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($=function(){return!!e})()}var K=function(e){function r(){var e,t;return(0,d.A)(this,r),e=r,t=arguments,e=(0,j.A)(e),(0,b.A)(this,$()?Reflect.construct(e,t||[],(0,j.A)(this).constructor):e.apply(this,t))}return(0,k.A)(r,e),(0,s.A)(r,[{key:"render",value:function(){var e=this.props,r=e.required,t=e.className,a=e.multiRow,n=e.readonly,i=e.rows,l=e.cols,o=(0,V.A)(e,Y),s=(0,U.jsx)("input",Z({autoComplete:"off",className:A()(t),required:r,readOnly:n},o)),d=(0,U.jsx)("textarea",Z(Z({className:A()(t)},o),{},{rows:i,cols:l}));return a?d:s}}])}(a.PureComponent);function Q(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function X(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(X=function(){return!!e})()}(0,c.A)(K,"defaultProps",{component:"div",required:!1,multiRow:!1,className:""});var ee=function(e){function r(e,t){var a,n,i;return(0,d.A)(this,r),n=r,i=[e,t],n=(0,j.A)(n),a=(0,b.A)(this,X()?Reflect.construct(n,i||[],(0,j.A)(this).constructor):n.apply(this,i)),(0,c.A)(a,"input",null),(0,c.A)(a,"isControlled",null),(0,c.A)(a,"handleInputChange",function(e){var r=a.props.onChange,t=e.target.checked;a.isControlled||a.setState({checked:t}),r&&r(e,t)}),a.state={},a.isControlled=null!=e.checked,a.isControlled||(a.state.checked=e.checked),a}return(0,k.A)(r,e),(0,s.A)(r,[{key:"render",value:function(){var e=this.props,r=e.checked,t=e.className,a=e.disabled,n=e.id,i=e.inputProps,l=e.name,o=e.type,s=e.value,d=this.state.checked,u=this.isControlled?r:d;return(0,U.jsx)("input",function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Q(Object(t),!0).forEach(function(r){(0,c.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({id:n,type:o,name:l,"aria-label":l,checked:u,onChange:this.handleInputChange,disabled:a,value:s,className:t},i))}}])}(a.Component);ee.defaultProps={type:"checkbox",checked:!1,className:"",disabled:!1,id:"SBase-1",indeterminate:!1,inputProps:{},inputRef:function(){return null},name:"",onChange:null,value:""};var er=["className"];function et(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}var ea=function(e){var r=e.className,t=(0,V.A)(e,er);return(0,U.jsx)(ee,function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
1r%2?et(Object(t),!0).forEach(function(r){(0,c.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):et(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({type:"checkbox",className:r},t))};ea.defaultProps={className:"",disabled:!1,indeterminate:!1,inputProps:{},inputRef:function(){return null},type:"checkbox",value:""};var en=t(38406),ei=t(71644),el=t(33755),eo=t(21592);let es=function(e){var r,t=e.formData,i=e.productData,l=e.clickHandler,o=e.submitClick,s=e.brand;return(0,a.useEffect)(function(){var e;t.preview.value&&(null==(e=window)||null==(e=e.dataLayer)||e.push({event:"customEvent",GAeventCategory:"event_ratings_action",GAeventAction:"event_preview_review",GAeventLabel:"Product Review : "+(null==i?void 0:i.ratingAndReviewId),GAeventValue:null==i?void 0:i.ratingAndReviewId,GAeventNonInteraction:!1}))},[t.preview.value,i]),(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)(en.A,{open:t.preview.value,onClose:l,modalStyle:A()(L.mainDiv),children:[(0,U.jsxs)(ei.A,{className:L.title,component:"div",children:[(0,U.jsx)("span",{className:A()(B),children:(0,U.jsx)(n.default,{component:"h1",children:P().confirmReview})}),(0,U.jsx)(T.A,{className:A()(L.modalClose),onClick:l,children:(0,U.jsx)("span",{className:A()(L.close_button_icon),children:"\xd7"})})]}),(0,U.jsx)(el.A,{className:L.content,children:(0,U.jsxs)("div",{className:A()(q),children:[(0,U.jsx)("div",{className:A()(z.dialogContentWrapper),children:(0,U.jsxs)("div",{className:A()(z.dialogTextContains),children:[(0,U.jsxs)("div",{className:A()(z.previewleft),children:[(0,U.jsx)(n.default,{component:"p",className:z.marginbten,style:{wordBreak:"break-word"},children:(0,U.jsx)("strong",{children:t.nickname.value})}),""!==t.location.value&&(0,U.jsxs)(n.default,{component:"p",className:z.marginbtendt,children:[P().readYourLocation,(0,U.jsx)("strong",{children:t.location.value})]}),(0,U.jsxs)("div",{children:[(0,U.jsxs)("div",{id:"valueRating",className:A()(z.marginbten),children:[(0,U.jsx)("strong",{children:P().qualityLabel}),(0,U.jsx)(eo.A,{rating:t.qualityRating.value,brand:s,id:"qualityLabel"})]}),(0,U.jsxs)("div",{id:"qualityRating",className:A()(z.marginbten),children:[(0,U.jsx)("strong",{children:P().valueLabel}),(0,U.jsx)(eo.A,{rating:t.valueRating.value,brand:s,id:"valueLabel"})]})]})]}),(0,U.jsxs)("div",{className:A()(z.previewRight),children:[(0,U.jsx)(eo.A,{rating:t.overallRating.value,brand:s,id:"overallRating"}),(0,U.jsxs)("div",{className:"flex sm:flex-col md:flex-row pb-5",children:[(0,U.jsx)(n.default,{component:"p",className:A()(z.reviewSummaryTitle),children:(0,U.jsx)("strong",{children:t.summary.value})}),(0,U.jsx)(n.default,{component:"p",className:A()(z.widthHalfDate),children:(0,U.jsx)("strong",{children:new Date(r=new Date).getMonth()+1+"/ "+new Date(r).getDate()+"/ "+new Date(r).getFullYear()})})]}),(0,U.jsx)(n.default,{component:"p",className:A()(z.reviewSummary),children:t.description.value})]})]})}),(0,U.jsxs)("div",{className:A()(z.previewButtonWrap),children:[(0,U.jsx)(T.A,{onClick:o,className:A()(z.reviewSubmitButton),gaClass:x.events.eventSubmitReview,gaLabel:"Product Review : ".concat(null==i?void 0:i.ratingAndReviewId),name:P().reviewSubmitButton,children:P().reviewSubmitButton}),(0,U.jsx)(T.A,{onClick:l,className:A()(z.reviewEditButton),name:P().reviewEditButton,children:P().reviewEditButton})]})]})})]})})},ed=function(e){var r=e.open,t=e.clickHandler,a=e.url;return(0,U.jsxs)(en.A,{open:r,onClose:t,modalStyle:A()(L.mainDiv),children:[(0,U.jsx)("div",{className:A()(E),children:(0,U.jsx)("div",{className:A()(O),children:(0,U.jsx)(el.A,{className:L.content,children:(0,U.jsxs)("div",{className:A()(q),children:[(0,U.jsx)("div",{className:G,children:(0,U.jsx)(n.default,{component:"div",markdown:P().ageCriteriaError.replace(/\{pgUrl\}/g,"[".concat(P().pgCom,"](https://").concat(P().pgCom,")"))})}),(0,U.jsx)("div",{className:A()(H),children:(0,U.jsx)(T.A,{onClick:t,href:a,className:A()(M),name:P().reviewContinueButton,children:P().reviewContinueButton})})]})})})}),(0,U.jsx)(T.A,{className:A()(_),onClick:t,children:(0,U.jsx)("span",{className:A()(I),children:"\xd7"})})]})};function ec(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ec=function(){return!!e})()}var eu=function(e){function r(){var e,t;return(0,d.A)(this,r),e=r,t=arguments,e=(0,j.A)(e),(0,b.A)(this,ec()?Reflect.construct(e,t||[],(0,j.A)(this).constructor):e.apply(this,t))}return(0,k.A)(r,e),(0,s.A)(r,[{key:"render",value:function(){var e=this.props,r=e.form,t=e.cancel,a=e.url,i=r&&r.fields,l=function(){i&&(i.thankyou.value=!1,i.sorryModal.value=!1),t()};return(0,U.jsxs)(en.A,{open:i&&i.thankyou&&i.thankyou.value,onClose:l,modalStyle:A()(L.mainDiv),children:[(0,U.jsx)("div",{className:A()(E),children:(0,U.jsxs)("div",{className:A()(O),children:[(0,U.jsx)(ei.A,{className:L.title,component:"div",children:(0,U.jsx)("span",{className:A()(B),children:(0,U.jsx)(n.default,{component:"h1",children:P().reviewThankYou})})}),(0,U.jsx)(el.A,{className:L.content,children:(0,U.jsxs)("div",{className:A()(q),children:[(0,U.jsx)("div",{className:G,children:(0,U.jsx)(n.default,{component:"p",children:P().reviewThankYou})}),(0,U.jsx)("div",{className:A()(H),children:(0,U.jsx)(T.A,{"data-pgaction-redirection":"0",href:a,handler:l,className:A()(M),children:P().reviewContinueButton})})]})})]})}),(0,U.jsx)(T.A,{className:A()(_),handler:l,children:(0,U.jsx)("span",{className:A()(I),children:"\xd7"})})]})}}])}(a.Component);(0,c.A)(eu,"defaultProps",{cancel:function(){return null},url:""});let em=(0,R.PA)(eu);function ev(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ev=function(){return!!e})()}var ep=function(e){function r(){var e,t;return(0,d.A)(this,r),e=r,t=arguments,e=(0,j.A)(e),(0,b.A)(this,ev()?Reflect.construct(e,t||[],(0,j.A)(this).constructor):e.apply(this,t))}return(0,k.A)(r,e),(0,s.A)(r,[{key:"render",value:function(){var e=this.props.form,r=e&&e.fields,t=function(){r&&(r.sorryModal.value=!1,r.thankyou.value=!1,r.isSubmit.value=!1)};
1return(0,U.jsxs)(en.A,{open:r&&r.sorryModal&&r.sorryModal.value,onClose:t,modalStyle:A()(L.mainDiv),children:[(0,U.jsx)("div",{className:A()(E),children:(0,U.jsxs)("div",{className:A()(O),children:[(0,U.jsx)(ei.A,{component:"div",className:A()(D),children:(0,U.jsx)("div",{className:A()(S),children:(0,U.jsx)("span",{className:A()(B),children:P().reviewSorry})})}),(0,U.jsx)(el.A,{component:"div",children:(0,U.jsxs)("div",{className:A()(q),children:[(0,U.jsx)("p",{className:A()(W),children:P().reviewSorryContent}),(0,U.jsx)("div",{className:A()(H),children:(0,U.jsx)("button",{"data-pgaction-redirection":"0",className:A()(M),onClick:t,"aria-label":"Continue",children:"CONTINUE"})})]})})]})}),(0,U.jsx)(T.A,{className:A()(_),onClick:t,children:(0,U.jsx)("span",{className:A()(I),children:"\xd7"})})]})}}])}(a.Component);let eh=(0,R.PA)(ep);var ex=new Date;ex.getDate(),ex.getMonth();for(var ef=ex.getFullYear(),ew=[],eg=[],eb=ef-80,ej=ef;ej>=eb;ej--)ew.push(ej);for(var ek=1;ek<=12;ek++)eg.push(ek);function ey(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ey=function(){return!!e})()}ew.map(function(e,r){return(0,U.jsx)("option",{value:e,children:e},r)}),eg.map(function(e,r){return(0,U.jsx)("option",{value:e,children:e},r)}),[{name:"Enero",value:1},{name:"Febrero",value:2},{name:"Marzo",value:3},{name:"Abril",value:4},{name:"Mayo",value:5},{name:"Junio",value:6},{name:"Julio",value:7},{name:"Agosto",value:8},{name:"Septiembre",value:9},{name:"Octubre",value:10},{name:"Noviembre",value:11},{name:"Diciembre",value:12}].map(function(e,r){return(0,U.jsx)("option",{value:e.value,children:e.name},r)});var eN=function(e){function r(){var e,t;return(0,d.A)(this,r),e=r,t=arguments,e=(0,j.A)(e),(0,b.A)(this,ey()?Reflect.construct(e,t||[],(0,j.A)(this).constructor):e.apply(this,t))}return(0,k.A)(r,e),(0,s.A)(r,[{key:"render",value:function(){var e=this.props,r=e.formData,t=e.type,a=e.onChange,n=e.validateField,i=e.disabled,l=function(e){a(e.target.name,e.target.value),("recommend"===e.target.name||"overallRating"===e.target.name)&&n(e.target.name)}
1,o="starRating"===t.ratingType?{ratingType:"starRating",radioType:"primaryRadio"}:{ratingType:"hyphenRating",radioType:"secondaryRadio"};return(0,U.jsxs)("div",{className:A()(z.writeReviewFormReviewsRatingsLeftInner,{"opacity-50 pointer-events-none":i}),children:[(0,U.jsx)("div",{className:A()(z.Left),children:(0,U.jsxs)("label",{tabIndex:"0",className:A()(z.label),htmlFor:" ",children:[t.isRequired?(0,U.jsx)("span",{className:A()("astrick")}):"",P()[t.label]]})}),(0,U.jsx)("div",{className:A()(z.Right),children:(0,U.jsxs)("p",{className:A()(z[o.ratingType]),children:[(0,U.jsxs)("radiogroup",{name:r[t.unique_name].name,type:"radio",label:"".concat(t.unique_name),id:"".concat(t.unique_name,"--1"),value:r[t.unique_name].value,className:A()(z.floatLeft),children:[(0,U.jsx)("input",{type:"radio",className:A()(z[o.radioType]),id:"".concat(t.unique_name,"5"),name:r[t.unique_name].name,onChange:l,value:"5",checked:"5"===r[t.unique_name].value,disabled:i}),(0,U.jsx)("label",{tabIndex:"0",className:A()(z.primaryLabel),htmlFor:"".concat(t.unique_name,"5"),title:"Rating5",children:(0,U.jsx)("span",{className:"hidden",children:"Rating5"})}),(0,U.jsx)("input",{type:"radio",className:A()(z[o.radioType]),id:"".concat(t.unique_name,"4"),name:r[t.unique_name].name,onChange:l,value:"4",checked:"4"===r[t.unique_name].value,disabled:i}),(0,U.jsx)("label",{tabIndex:"0",className:A()(z.primaryLabel),htmlFor:"".concat(t.unique_name,"4"),title:"rating4",children:(0,U.jsx)("span",{className:"hidden",children:"Rating4"})}),(0,U.jsx)("input",{type:"radio",className:A()(z[o.radioType]),id:"".concat(t.unique_name,"3"),name:r[t.unique_name].name,onChange:l,value:"3",checked:"3"===r[t.unique_name].value,disabled:i}),(0,U.jsx)("label",{tabIndex:"0",className:A()(z.primaryLabel),htmlFor:"".concat(t.unique_name,"3"),title:"Rating3",children:(0,U.jsx)("span",{className:"hidden",children:"Rating3"})}),(0,U.jsx)("input",{type:"radio",className:A()(z[o.radioType]),id:"".concat(t.unique_name,"2"),name:r[t.unique_name].name,onChange:l,value:"2",checked:"2"===r[t.unique_name].value,disabled:i}),(0,U.jsx)("label",{tabIndex:"0",className:A()(z.primaryLabel),htmlFor:"".concat(t.unique_name,"2"),title:"Rating2",children:(0,U.jsx)("span",{className:"hidden",children:"Rating2"})}),(0,U.jsx)("input",{type:"radio",className:A()(z[o.radioType]),id:"".concat(t.unique_name,"1"),name:r[t.unique_name].name,onChange:l,value:"1",checked:"1"===r[t.unique_name].value,disabled:i}),(0,U.jsx)("label",{tabIndex:"0",className:A()(z.primaryLabel),htmlFor:"".concat(t.unique_name,"1"),title:"Rating1",children:(0,U.jsx)("span",{className:"hidden",children:"Rating1"})})]}),r[t.unique_name].error&&(0,U.jsx)("p",{id:"overallRatingRequiredError",className:A()(z.errorTextScore),children:P().requiredField})]})})]})}}])}(a.Component);let eR=(0,R.PA)(eN);function eF(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function eA(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?eF(Object(t),!0).forEach(function(r){(0,c.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eF(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function eC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eC=function(){return!!e})()}eN.defaultProps={formData:{},type:{},onChange:function(){},validateField:function(){},disabled:!1};var eP=function(e){function r(){(0,d.A)(this,r);for(var e,t,a,n,i,l=arguments.length,o=Array(l),s=0;s<l;s++)o[s]=arguments[s];return e=r,t=[].concat(o),e=(0,j.A)(e),i=(0,b.A)(this,eC()?Reflect.construct(e,t||[],(0,j.A)(this).constructor):e.apply(this,t)),(0,c.A)(i,"state",{ageRestricted:null==(n=i.props)||null==(n=n.form)||null==(n=n.fields)||null==(n=n.ageLimitError)?void 0:n.value}),(0,c.A)(i,"cancel",function(){var e,r=i.props,t=r.productData,a=r.onCancel;null==(e=window)||null==(e=e.dataLayer)||e.push({event:"customEvent",GAeventCategory:"event_ratings_action",GAeventAction:"event_cancel_review",GAeventLabel:"Product Review",GAeventValue:null==t?void 0:t.productName,GAeventNonInteraction:!1}),a()}),(0,c.A)(i,"previewClick",(a=(0,g.A)(N().mark(function e(r){var t,a,n,l,o;return N().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=(t=i.props).form,n=t.onSubmit,l=t.shouldSubmit,o=t.prodID,a.fields.productID.value=o,(a.fields.usedProduct.error||a.fields.nickname.error||a.fields.recommend.error||a.fields.terms.error||a.fields.summary.error||a.fields.description.error||a.fields.location.error||a.fields.email.error||a.fields.receivedPromotion.error||a.fields.productTestDate.error||null==a.fields.usedProduct.error||null==a.fields.nickname.error||void 0==a.fields.recommend.error||void 0==a.fields.terms.error||void 0==a.fields.summary.error||void 0==a.fields.description.error||void 0==a.fields.location.error||void 0==a.fields.email.error||void 0==a.fields.receivedPromotion.error||void 0==a.fields.productTestDate.error)&&document.getElementById("write-review-form").scrollIntoView({behavior:"smooth",block:"start"}),l()&&(a.fields.isSubmit.value=!1,a.fields.preview.value=!0,n(r.target.name));case 5:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)})),(0,c.A)(i,"handleToggle",function(e){var r,t,a=document.getElementById("toolTip");"info"==e.target.id?null==a||null==(r=a.classList)||r.toggle("Active"):null==a||null==(t=a.classList)||t.remove("Active")}
1),i}return(0,k.A)(r,e),(0,s.A)(r,[{key:"componentDidMount",value:function(){var e=this;-1!==document.cookie.indexOf("WRITE_REVIEW_AGE_RESTRICTION")&&this.setState({ageRestricted:!0}),window.scrollTo(0,0);var r=function(r){var t,a=document.getElementById("toolTip");27===r.keyCode&&null!=a&&null!=(t=a.classList)&&t.contains("Active")&&e.handleToggle(r),"keydown"!==r.type&&"info"!==r.target.id&&"toolTip"!==r.target.id&&e.handleToggle(r)};return window.addEventListener("keydown",r),window.addEventListener("click",r,!1),function(){window.removeEventListener("keydown",r),window.addEventListener("click",r,!1)}}},{key:"render",value:function(){var e,r,t,a,i,l,o,s,d,c,u=this.props,m=u.locale,v=u.backLink,p=u.validateField,h=u.onSubmit,f=u.form,w=u.onChange,g=u.ratingOrder,b=u.productData,j=u.isDesktop,k=u.WriteReviewStore,y=u.brand,N=f.fields,R="https://termsandconditions.pg.com/es-es/",F="/".concat(m||"es-es","/revisar-las-pautas"),C=!1;N.terms.value&&(C=!0);var L=new Date,E=L.toISOString().split("T")[0],O=new Date(L);O.setMonth(O.getMonth()-12);var D=O.toISOString().split("T")[0];(null==N||null==(e=N.ageLimitError)?void 0:e.value)===!0&&(k.hideForm=!0),(null==N||null==(r=N.preview)?void 0:r.value)===!0&&setTimeout(function(){var e,r=N.recommend.value,t=N.qualityRating.value,a=N.valueRating.value,n=document.getElementById("recommend"),i=document.getElementById("qualityRating"),l=document.getElementById("valueRating");if(j||(k.hideForm=!0),n&&"True"==r&&n.classList.remove("hidden"),i)if(""==t)i.classList.add("hidden");else{var o=i.querySelectorAll("span");o[0]&&(o[0].style.width=20*t+"%")}if(l)if(""==a)null==l||null==(e=l.classList)||e.add("hidden");else{var s=l.querySelectorAll("span");s[0]&&(s[0].style.width=20*a+"%")}},100);var S=function(e){w(e.target.name,e.target.value),("recommend"==e.target.name||"overallRating"==e.target.name)&&p(e.target.name)}
1;return(0,U.jsx)("div",{children:!1===this.state.ageRestricted&&!1===N.ageLimitError.value?(0,U.jsxs)("form",{autoComplete:"off",className:A()(z.writeReviewForm),children:[(0,U.jsx)("div",{className:A()(z.writeReviewFormHeader),children:(0,U.jsx)("h3",{children:P().productRatingHeader})}),(0,U.jsxs)("div",{className:A()(z.writeReviewFormMandatory),children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),P().mandatoryField]}),(0,U.jsx)("div",{className:A()(z.writeReviewFormRecomendor),children:(0,U.jsxs)("div",{className:A()(z.writeReviewFormRecomendorLeft),children:[(0,U.jsx)("div",{className:A()(z.Left1),children:(0,U.jsx)("div",{className:A()(z.recommendLabelContainer),children:(0,U.jsxs)("label",{className:A()(z.recommendLabel),htmlFor:"usedProductRating",children:[(0,U.jsx)("span",{className:A()("astrick")}),P().usedProductLabel]})})}),(0,U.jsx)("div",{className:A()(z.Right1),children:(0,U.jsxs)("div",{className:A()(z.recommendradioContain),children:[(0,U.jsxs)("radiogroup",{name:N.usedProduct.name,type:"radio",label:"usedProductRating",id:"usedProductRating--1",value:N.usedProduct.value,children:[(0,U.jsxs)("div",{className:A()(z.radioCircle),children:[(0,U.jsx)("input",{type:"radio",className:A()(z.recommendedRadio),id:"usedProduct1",name:N.usedProduct.name,onChange:function(e){S(e),p(e.target.name)}
1,value:"True",checked:"True"===N.usedProduct.value}),(0,U.jsx)("label",{className:A()(z.recommendlabelClass),htmlFor:"usedProduct1",title:"",children:P().writeReviewYes})]}),(0,U.jsxs)("div",{className:A()(z.radioCircle),children:[(0,U.jsx)("input",{type:"radio",className:A()(z.recommendedRadio),id:"usedProduct2",name:N.usedProduct.name,onChange:function(e){S(e),p(e.target.name)},value:"False",checked:"False"===N.usedProduct.value}),(0,U.jsx)("label",{className:A()(z.recommendlabelClass),htmlFor:"usedProduct2",title:"",children:P().writeReviewNo})]})]}),N.usedProduct.error&&(0,U.jsx)("p",{className:A()(z.errorTextRecomend),children:P().usedProductNotAllowedError})]})})]})}),(0,U.jsx)("div",{className:A()(z.writeReviewFormReviewsRatings),children:(0,U.jsx)("div",{className:A()(z.writeReviewFormReviewsRatingsLeft),children:(0,U.jsx)("div",{children:g.map(function(e,r){var t;return(0,U.jsx)(eR,{formData:N,type:e,onChange:w,validateField:p,disabled:(null==N||null==(t=N.usedProduct)?void 0:t.value)==="False"},r)})})})}),(0,U.jsx)("div",{className:A()(z.writeReviewFormRecomendor,{"opacity-50 pointer-events-none":(null==N||null==(t=N.usedProduct)?void 0:t.value)==="False"}),children:(0,U.jsxs)("div",{className:A()(z.writeReviewFormRecomendorLeft),children:[(0,U.jsx)("div",{className:A()(z.Left1),children:(0,U.jsx)("div",{className:A()(z.recommendLabelContainer),children:(0,U.jsxs)("label",{className:A()(z.recommendLabel),htmlFor:"recommendRating",children:[(0,U.jsx)("span",{className:A()("astrick")}),P().recommendLabel]})})}),(0,U.jsx)("div",{className:A()(z.Right1),children:(0,U.jsxs)("div",{className:A()(z.recommendradioContain),children:[(0,U.jsxs)("radiogroup",{name:N.recommend.name,type:"radio",label:"recommendRating",id:"recommendRating--1",value:N.recommend.value,children:[(0,U.jsxs)("div",{className:A()(z.radioCircle),children:[(0,U.jsx)("input",{type:"radio",className:A()(z.recommendedRadio),id:"recommended1",name:N.recommend.name,onChange:S,value:"True",checked:"True"===N.recommend.value,disabled:(null==N||null==(a=N.usedProduct)?void 0:a.value)==="False"}),(0,U.jsx)("label",{className:A()(z.recommendlabelClass),htmlFor:"recommended1",title:"",children:P().writeReviewYes})]}),(0,U.jsxs)("div",{className:A()(z.radioCircle),children:[(0,U.jsx)("input",{type:"radio",className:A()(z.recommendedRadio),id:"recommended2",name:N.recommend.name,onChange:S,value:"False",checked:"False"===N.recommend.value,disabled:(null==N||null==(i=N.usedProduct)?void 0:i.value)==="False"}),(0,U.jsx)("label",{className:A()(z.recommendlabelClass),htmlFor:"recommended2",title:"",children:P().writeReviewNo})]})]}),N.recommend.error&&(0,U.jsx)("p",{className:A()(z.errorTextRecomend),children:P().recommendRequiredError})]})})]})}),(0,U.jsxs)("div",{className:A()(z.formWrapperTop,{"opacity-50 pointer-events-none":(null==N||null==(l=N.usedProduct)?void 0:l.value)==="False"}),children:[(0,U.jsx)("h3",{className:A()(z.writeReviewFormHeader),children:(0,U.jsx)("p",{id:"reviewHeader",children:P().reviewHeader})}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"summary",children:(0,U.jsxs)("p",{id:"reviewSummaryLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"})," ",P().reviewSummaryLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{type:"text",id:"summary",name:"summary",value:N.summary.value,onChange:function(e){return w(e.target.name,e.target.value)},onBlur:function(e){return p(e.target.name)}
1,className:A()(z.inputBox)}),(0,U.jsx)("span",{className:A()(z.labelHintText),children:(0,U.jsx)("p",{id:"reviewSummaryHint",children:P().reviewSummaryHint})}),N.summary.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.summary.error,children:P()[N.summary.error]})})]})]}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"description",children:(0,U.jsxs)("p",{id:"reviewLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"})," ",P().reviewLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{multiRow:!0,id:"description",name:N.description.name,cols:"20",rows:"2",maxLength:"500",minLength:"50",value:N.description.value,onChange:function(e){return w(e.target.name,e.target.value)},onBlur:function(e){return p(e.target.name)},className:A()(z.textArea)}),(0,U.jsx)("span",{className:A()(z.labelHintText),children:(0,U.jsx)("p",{id:"reviewHint",children:P().reviewHint})}),N.description.error&&(0,U.jsx)(n.default,{className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.description.error,children:P()[N.description.error]})})]})]})]}),(0,U.jsxs)("div",{className:A()(z.formWrapperTop,{"opacity-50 pointer-events-none":(null==N||null==(o=N.usedProduct)?void 0:o.value)==="False"}),children:[(0,U.jsx)("h3",{className:A()(z.writeReviewFormHeader),children:(0,U.jsx)("p",{id:"informationHeader",children:P().informationHeader})}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"nickname",children:(0,U.jsxs)("p",{id:"nickNameLabel",children:[(0,U.jsx)("span",{className:A()("astrick")}),P().nickNameLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{type:"text",id:"nickname",name:N.nickname.name,value:N.nickname.value,onChange:function(e){return w(e.target.name,e.target.value)},onBlur:function(e){return p(e.target.name)}
1,className:A()(z.inputBox)}),(0,U.jsx)("span",{className:A()(z.labelHintText),children:(0,U.jsx)("p",{id:"nickNameHint",children:P().nickNameHint})}),N.nickname.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.nickname.error,children:P()[N.nickname.error]})})]})]}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"location",children:(0,U.jsxs)("p",{id:"locationLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),P().locationLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{type:"text",id:"location",name:N.location.name,value:N.location.value,onChange:function(e){return w(e.target.name,e.target.value)},className:A()(z.inputBox)}),(0,U.jsx)("span",{className:A()(z.labelHintText),children:(0,U.jsx)("p",{id:"locationHint",children:P().locationHint})}),N.location.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.location.error,children:P()[N.location.error]})})]})]}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"email",children:(0,U.jsxs)("p",{id:"emailLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),P().emailLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{type:"text",id:"email",name:N.email.name,value:N.email.value,onChange:function(e){return w(e.target.name,e.target.value)},className:A()(z.inputBox)}),(0,U.jsx)("span",{className:A()(z.labelHintText),children:(0,U.jsx)("p",{id:"emailHint",children:P().emailHint})}),N.email.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.email.error,children:P()[N.email.error]})})]}),(0,U.jsx)("div",{className:A()(z.toolTip),id:"toolTip",children:(0,U.jsx)("p",{className:A()(z.toolTipMessage),children:"Necesitamos su direcci\xf3n de correo electr\xf3nico para evitar opiniones fraudulentas."})})]}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"receivedPromotion",children:(0,U.jsxs)("p",{id:"receivedPromotionLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),P().receivedPromotionLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsxs)("select",{className:A()(z.selectStyle),id:"receivedPromotion",name:N.receivedPromotion.name,onChange:function(e){return w(e.target.name,e.target.value)},onBlur:function(e){return p(e.target.name)}
1,title:"Promoci\xf3n recibida","aria-label":"receivedPromotion",value:N.receivedPromotion.value,children:[(0,U.jsx)("option",{value:"",children:"Selecciona una opci\xf3n"}),(0,U.jsx)("option",{value:"Si",children:"S\xed"}),(0,U.jsx)("option",{value:"No",children:"No"})]}),N.receivedPromotion.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.receivedPromotion.error,children:P()[N.receivedPromotion.error]})})]})]}),(0,U.jsxs)("div",{className:A()(z.inputSections),children:[(0,U.jsx)("div",{className:A()(z.inputLabelContain),children:(0,U.jsx)("label",{className:A()(z.label),htmlFor:"productTestDate",children:(0,U.jsxs)("p",{id:"productTestDateLabel",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),P().productTestDateLabel]})})}),(0,U.jsxs)("div",{className:A()(z.textboxContain),children:[(0,U.jsx)(K,{type:"date",id:"productTestDate",name:N.productTestDate.name,value:N.productTestDate.value,min:D,max:E,onChange:function(e){return w(e.target.name,e.target.value)},onBlur:function(e){return p(e.target.name)}
1,className:A()(z.inputBox)}),N.productTestDate.error&&(0,U.jsx)(n.default,{component:"div",className:A()(z.errorText),children:(0,U.jsx)("p",{id:N.productTestDate.error,children:P()[N.productTestDate.error]})})]})]}),(0,U.jsxs)("div",{className:A()(z.checkboxWrapper,{"opacity-50 pointer-events-none":(null==N||null==(s=N.usedProduct)?void 0:s.value)==="False"}),children:[(0,U.jsx)("div",{className:A()(z.termsStyle1)}),(0,U.jsxs)("div",{className:A()(z.termsStyle),children:[(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ea,{id:"termsAndConditions",name:N.terms.name,className:A()(z.termsCheckbox),value:N.terms.value,checked:C,onChange:function(e){!0==document.getElementById("termsAndConditions").checked?e.target.value=N.terms.value=!0:e.target.value=N.terms.value="",w(e.target.name,e.target.value),p(e.target.name)}}),(0,U.jsxs)("label",{htmlFor:"termsAndConditions",children:[(0,U.jsx)("span",{className:A()("astrick"),children:"*"}),(0,U.jsx)("span",{id:"writeReviewTerms",children:P().writeReviewTerms}),(0,U.jsxs)("a",{"data-pgaction-redirection":"0",title:"Terms and condition.",className:A()(z.termsLink),href:R,rel:"noopener noreferrer",target:"_blank",children:["\xa0",(0,U.jsx)("span",{id:"termsAndCondition",children:(0,U.jsx)("u",{children:P().termsAndCondition})})]})]})]}),N.terms.error&&(0,U.jsx)("p",{className:A()(z.errorText,z.BoldError),children:P()[N.terms.error]})]})]})]}),(0,U.jsxs)("div",{className:A()(z.termsWrapper),children:[(0,U.jsxs)("div",{className:A()(z.trustContent),children:[(0,U.jsx)(n.default,{component:"div",children:(0,U.jsx)("p",{id:"writeReviewTrust",children:P().writeReviewTrust})}),(0,U.jsxs)("p",{children:[(0,U.jsx)("a",{"data-pgaction-redirection":"0",href:"https://privacypolicy.pg.com/es/",className:A()(z.privacyClick),target:"_blank",rel:"noopener noreferrer",title:P().clickHere,children:P().clickHere}),P().writeReviewPrivacy]})]}),j&&(0,U.jsxs)("div",{className:A()(z.buttonWrapper,{"opacity-50 pointer-events-none":(null==N||null==(d=N.usedProduct)?void 0:d.value)==="False"}),children:[(0,U.jsx)("button",{type:"submit",className:"hidden",children:"Submit"}),(0,U.jsx)(T.A,{className:A()(z.previewButton,"previewButton"),gaClass:" ",handler:this.previewClick,name:P().writeReviewPreview,children:P().writeReviewPreview}),(0,U.jsxs)("ul",{className:A()(z.termsLinkWrap),children:[(0,U.jsx)("li",{className:A()(z.termsFirstLink),children:(0,U.jsx)("a",{"data-pgaction-redirection":"0",href:R,className:A()(z.textBlack,x.events.eventOutBoundLink,"event_outbound_link"),"data-action-detail":"Link : Terms and Condition",title:"Terms and conditions",rel:"noopener noreferrer",target:"_blank",children:P().writeReviewTermsAndConditions})}),(0,U.jsx)("li",{className:A()(z.termsSecondLink),children:(0,U.jsx)("a",{"data-pgaction-redirection":"0",href:F,className:A()(z.textBlack,x.events.eventInternalPageLink,"event_outbound_link"),"data-action-detail":"Link: Review Guidelines",title:"Review guidelines",rel:"noopener noreferrer",target:"_blank",children:P().writeReviewReviewGuidelines})})]}),(0,U.jsx)(T.A,eA(eA({href:v,locale:m,handler:this.cancel,className:A()(z.cancelButton)},b&&b.ratingAndReviewId&&{"data-action-detail":b.ratingAndReviewId}),{},{name:P().writeReviewCancel,children:P().writeReviewCancel}))]}),!j&&(0,U.jsx)("div",{className:A()(z.buttonWrapper,{"opacity-50 pointer-events-none":(null==N||null==(c=N.usedProduct)?void 0:c.value)==="False"}),children:(0,U.jsxs)("div",{className:z.buttonMobileWrapper,children:[(0,U.jsx)("button",{type:"submit",className:"hidden","aria-label":"Submit",children:"Submit"}),(0,U.jsx)(T.A,{className:A()(z.previewButton,"previewButton"),gaClass:" ",handler:this.previewClick,name:P().writeReviewPreview,children:P().writeReviewPreview}),(0,U.jsx)("div",{className:z.linkMobileWrapper,children:(0,U.jsxs)("ul",{className:A()(z.termsLinkWrap),children:[(0,U.jsx)("li",{className:A()(z.termsFirstLink),children:(0,U.jsx)("a",{"data-pgaction-redirection":"0",href:R,className:A()(z.textBlack,x.events.eventOutBoundLink),title:"Terms and conditions",rel:"noopener noreferrer",target:"_blank",children:P().writeReviewTermsAndConditions})}),(0,U.jsx)("li",{className:A()(z.termsSecondLink),children:(0,U.jsx)("a",{"data-pgaction-redirection":"0",href:F,className:A()(z.textBlack,x.events.eventInternalPageLink),title:"Review guidelines",rel:"noopener noreferrer",target:"_blank",children:P().writeReviewReviewGuidelines})})]})}),(0,U.jsx)(T.A,eA(eA({href:v,locale:m,handler:this.cancel,className:A()(z.cancelButton,x.events.eventCancelReview)},b&&b.ratingAndReviewId&&{"data-action-detail":b.ratingAndReviewId}),{},{children:P().writeReviewCancel}))]})})]}),(0,U.jsx)(es,{formData:N,clickHandler:function(){var e=N.preview,r=N.isSubmit;k.hideForm=!1,e.value=!1,r.value=!1},submitClick:function(e){k.setIsSubmit(!0),k.setPreviewModal(!1),h()},isDesktop:j,brand:y,productData:b}),(0,U.jsx)(em,{form:f,url:v,cancel:this.cancel,isDesktop:j}),(0,U.jsx)(eh,{form:f})]}):(0,U.jsx)(ed,{open:!0,clickHandler:function(){var e=N.ageLimitError;k.hideForm=!1,e.value=!1},url:v,isDesktop:j,brand:y})})}}])}(a.Component);(0,c.A)(eP,"defaultProps",{onCancel:function(){return null}});let eT=(0,R.PA)(eP);var eL=t(78561),eE=t.n(eL);function eO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eO=function(){return!!e})()}var eD=function(e){var r;function t(e){var r,a,n;return(0,d.A)(this,t),a=t,n=[e],a=(0,j.A)(a),(r=(0,b.A)(this,eO()?Reflect.construct(a,n||[],(0,j.A)(this).constructor):a.apply(this,n))).state={isPreviewClicked:!0},r.previewRestrict=r.previewRestrict.bind(r),r}return(0,k.A)(t,e),(0,s.A)(t,[{key:"previewRestrict",value:(r=(0,g.A)(N().mark(function e(r){var t,a,n;return N().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.WriteReviewStore,e.next=3,t.shouldSubmit();case 3:return a=e.sent,n=document.getElementById("write-review-form"),
1(!1===a||r.fields.errorLength.value>0)&&n.scrollIntoView({behavior:"smooth",block:"start"}),this.setState({isPreviewClicked:a}),e.abrupt("return",a);case 8:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,r=e.productData,t=e.WriteReviewStore,a=e.productID,n=e.brand,i=e.url,l=t.hideForm?"hideFormComp":"";return(0,U.jsx)("div",{className:"",children:(0,U.jsx)("div",{className:"",children:(0,U.jsx)("div",{id:"write-review-form",children:(0,U.jsx)(eT,{productData:r,prodID:a,onSubmit:t.onSubmit,shouldSubmit:t.shouldSubmit,onChange:t.onChange,validateField:t.validateField,form:t.previewForm,locale:t.locale,backLink:i,onCancel:t.onCancel,ratingOrder:eE(),previewRestrict:this.previewRestrict,WriteReviewStore:t,hideForm:l,brand:n})})})})}}])}(a.Component);let eS=(0,R.PA)(eD);var eB=t(27984),e_=t(49384),eI=t(73440),eq=t(36500);let eW=function(e){var r,t=e.productData,a=e.reviewData,l=e.headerData,s=e.footerData,d=JSON.parse(t),c=d.productName,u=d.shortDescription,m=d.varinatsCollection,v=d.ratingAndReviewId,p=d.brand,h=d.pageMetadata,x=d.url,f=a&&a.ReviewStatistics&&a.ReviewStatistics.AverageOverallRating?a.ReviewStatistics.AverageOverallRating:0,g=a&&a.ReviewStatistics&&a.ReviewStatistics.RecommendedCount?Math.ceil(100*a.ReviewStatistics.RecommendedCount/(a.ReviewStatistics.RecommendedCount+a.ReviewStatistics.NotRecommendedCount)):0,b=m&&m.items.map(function(e){return{text:e.variantName,value:e.variantName,packshots:e.productImagesAndVideosCollection,gtin:e.gtin}});return(0,U.jsx)(eq.A,{headerData:l,footerData:s,children:(0,U.jsxs)("div",{className:"page-write-review bg-lightpink dark:bg-lightpurple overflow-hidden",children:[(0,U.jsx)(eI.A,{title:(null==h?void 0:h.pageTitle)||"",metaTitle:(null==h?void 0:h.metaTitle)||"",metaKeywords:(null==h?void 0:h.metaKeywords)||"",metaDescription:(null==h?void 0:h.metaDescription)||"",orgTitle:(null==h?void 0:h.openGraphPageTitle)||"",orgDescription:(null==h?void 0:h.openGraphDescription)||"",canonicalUrl:(null==h?void 0:h.canonicalUrl)||""}),(0,U.jsx)(e_.A,{}),(0,U.jsx)("div",{className:"write-review-top-section bg-lightpink dark:bg-lightpurple overflow-hidden",children:(0,U.jsxs)("div",{className:"product-preview px-20 py-40 mx-auto lg:max-w-lg xl:max-w-xl xxl:max-w-xxl",children:[(0,U.jsxs)("div",{className:"product-preview-top md:flex pb-30 border-b-2 border-solid border-darkpink dark:border-darkpurple w-full",children:[(0,U.jsx)("div",{className:"product-preview-caraousal md:w-3/10 pb-40 md:pb-0 md:pr-60 h-full",children:(0,U.jsx)(eB.A,{component:"img",image:b&&b[0]&&(null==(r=b[0].packshots[0].fields)||null==(r=r.image.fields)||null==(r=r.file)?void 0:r.url),altText:"altText"})}),(0,U.jsxs)("div",{id:"product",className:"product-preview-content md:w-3/5 text-violetPink dark:text-darkpurple md:text-left",children:[(0,U.jsx)(n.default,{markdown:c,className:"banner-title font-BlackFont font-black md:text-32 text-28 leading-36 mb-5",component:"h1"}),(0,U.jsx)("div",{className:"ratings-content-wrapper",children:(0,U.jsxs)("div",{className:"my-40 md:my-20 flex",children:[(0,U.jsxs)("div",{className:"ratings-content-left w-6/12 md:w-1/3 sm:pb-20 mb:pb-0",children:[(0,U.jsx)(n.default,{markdown:"".concat(f.toFixed(1),"/5"),className:"ratings-left-value text-violetPink dark:text-darkpurple sm:font-BoldFont md:font-RegularFont text-32 md:text-50 leading-48 sm:mb-0 md:mb-10 sm:text-center md:text-left"}),(0,U.jsx)(i.A,{class:"",rating:f,brand:p})]}),(0,U.jsx)("div",{className:"ratings-content-right w-6/12 md:w-2/3",children:(0,U.jsx)(n.default,{markdown:"".concat(g,"% <br/> <span> ").concat(o().recomand," </span>"),className:"ratings-right-value text-violetPink dark:text-darkpurple sm:font-BoldFont md:font-RegularFont text-32 md:text-50 leading-26 md:leading-48 sm:mt-15 md:mt-0 sm:text-center md:text-left"})})]})}),(0,U.jsx)(n.default,{markdown:u,className:"banner-short-desc text-violetPink dark:text-darkpurple font-RegularFont text-26 md:text-28 leading-36"})]})]}),(0,U.jsx)("div",{className:"product-preview-middle text-violetPink dark:text-white py-40 content-title",role:"form",children:(0,U.jsx)(eS,{productData:d,productID:v,reviewData:a,WriteReviewStore:w,brand:p,url:x})})]})}),(0,U.jsx)("div",{className:"write-review-middle-section relative",children:(0,U.jsx)("div",{className:"middle-content px-20 mx-auto lg:max-w-lg xl:max-w-xl xxl:max-w-xxl"})})]})})}},78561:e=>{e.exports=[{unique_name:"overallRating",ratingType:"starRating",label:"ratingLabel",isRequired:!0},{unique_name:"qualityRating",ratingType:"hyphenRating",label:"qual
1ityLabel",isRequired:!1},{unique_name:"valueRating",ratingType:"hyphenRating",label:"valueLabel",isRequired:!1}]}}]);
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.