(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{7484:function(t){var e;e=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="week",s="month",a="quarter",o="year",u="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},m="en",p={};p[m]=f;var v=function(t){return t instanceof $},y=function t(e,n,r){var i;if(!e)return m;if("string"==typeof e){var s=e.toLowerCase();p[s]&&(i=s),n&&(p[s]=n,i=s);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var o=e.name;p[o]=e,i=o}return!r&&i&&(m=i),i||!r&&m},g=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new $(n)},w={s:h,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,s),a=n-i<0,o=e.clone().add(r+(a?-1:1),s);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:s,y:o,w:i,d:"day",D:u,h:r,m:n,s:e,ms:t,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};w.l=y,w.i=v,w.w=function(t,e){return g(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var $=function(){function f(t){this.$L=y(t.locale,null,!0),this.parse(t)}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(d);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return this.$d.toString()!==c},h.isSame=function(t,e){var n=g(t);return this.startOf(e)<=n&&n<=this.endOf(e)},h.isAfter=function(t,e){return g(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<g(t)},h.$g=function(t,e,n){return w.u(t)?this[e]:this.set(n,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,a){var c=this,d=!!w.u(a)||a,l=w.p(t),f=function(t,e){var n=w.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return d?n:n.endOf("day")},h=function(t,e){return w.w(c.toDate()[t].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},m=this.$W,p=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case o:return d?f(1,0):f(31,11);case s:return d?f(1,p):f(0,p+1);case i:var g=this.$locale().weekStart||0,$=(m<g?m+7:m)-g;return f(d?v-$:v+(6-$),p);case"day":case u:return h(y+"Hours",0);case r:return h(y+"Minutes",1);case n:return h(y+"Seconds",2);case e:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(i,a){var c,d=w.p(i),l="set"+(this.$u?"UTC":""),f=((c={}).day=l+"Date",c[u]=l+"Date",c[s]=l+"Month",c[o]=l+"FullYear",c[r]=l+"Hours",c[n]=l+"Minutes",c[e]=l+"Seconds",c[t]=l+"Milliseconds",c)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===s||d===o){var m=this.clone().set(u,1);m.$d[f](h),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[w.p(t)]()},h.add=function(t,a){var u,c=this;t=Number(t);var d=w.p(a),l=function(e){var n=g(c);return w.w(n.date(n.date()+Math.round(e*t)),c)};if(d===s)return this.set(s,this.$M+t);if(d===o)return this.set(o,this.$y+t);if("day"===d)return l(1);if(d===i)return l(7);var f=((u={})[n]=6e4,u[r]=36e5,u[e]=1e3,u)[d]||1,h=this.$d.getTime()+t*f;return w.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),s=this.$H,a=this.$m,o=this.$M,u=n.weekdays,d=n.months,f=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},h=function(t){return w.s(s%12||12,t,"0")},m=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:w.s(o+1,2,"0"),MMM:f(n.monthsShort,o,d,3),MMMM:f(d,o),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:f(n.weekdaysMin,this.$W,u,2),ddd:f(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(s),HH:w.s(s,2,"0"),h:h(1),hh:h(2),a:m(s,a,!0),A:m(s,a,!1),m:String(a),mm:w.s(a,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:i};return r.replace(l,function(t,e){return e||p[t]||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(t,u,c){var d,l=w.p(u),f=g(t),h=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,p=w.m(this,f);return p=((d={})[o]=p/12,d[s]=p,d[a]=p/3,d[i]=(m-h)/6048e5,d.day=(m-h)/864e5,d[r]=m/36e5,d[n]=m/6e4,d[e]=m/1e3,d)[l]||m,c?p:w.a(p)},h.daysInMonth=function(){return this.endOf(s).$D},h.$locale=function(){return p[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=y(t,e,!0);return r&&(n.$L=r),n},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=$.prototype;return g.prototype=_,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W","day"],["$M",s],["$y",o],["$D",u]].forEach(function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),g.extend=function(t,e){return t.$i||(t(e,$,g),t.$i=!0),g},g.locale=y,g.isDayjs=v,g.unix=function(t){return g(1e3*t)},g.en=p[m],g.Ls=p,g.p={},g},t.exports=e()},4110:function(t){var e;e=function(){return function(t,e,n){t=t||{};var r=e.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,e,n,i){return r.fromToBase(t,e,n,i)}n.en.relativeTime=i,r.fromToBase=function(e,r,s,a,o){for(var u,c,d,l=s.$locale().relativeTime||i,f=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,m=0;m<h;m+=1){var p=f[m];p.d&&(u=a?n(e).diff(s,p.d,!0):s.diff(e,p.d,!0));var v=(t.rounding||Math.round)(Math.abs(u));if(d=u>0,v<=p.r||!p.r){v<=1&&m>0&&(p=f[m-1]);var y=l[p.l];o&&(v=o(""+v)),c="string"==typeof y?y.replace("%d",v):y(v,r,p.l,d);break}}if(r)return c;var g=d?l.future:l.past;return"function"==typeof g?g(c):g.replace("%s",c)},r.to=function(t,e){return s(t,e,this,!0)},r.from=function(t,e){return s(t,e,this)};var a=function(t){return t.$u?n.utc():n()};r.toNow=function(t){return this.to(a(this),t)},r.fromNow=function(t){return this.from(a(this),t)}}},t.exports=e()},9433:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reviews",function(){return n(3733)}])},8885:function(t,e,n){"use strict";var r=n(5893),i=n(7294),s=n(9008),a=n.n(s),o=n(918),u=function(t){var e=t.host,n=(0,i.useContext)(o.Z).pageInfo;return(0,r.jsxs)(a(),{children:[(0,r.jsx)("meta",{name:"title",content:n.mainDetails.seoDetails.metaTitle}),(0,r.jsx)("meta",{property:"og:title",content:n.mainDetails.seoDetails.metaTitle}),(0,r.jsx)("meta",{property:"og:type",content:"product"}),(0,r.jsx)("meta",{property:"og:url",content:"https://".concat(e)}),(0,r.jsx)("meta",{property:"og:image",content:"https://imagedelivery.net/".concat(n.mainDetails.seoDetails.metaImageCfId,"/1600X1200")}),(0,r.jsx)("meta",{property:"twitter:description",content:n.mainDetails.seoDetails.metaDescription}),(0,r.jsx)("meta",{property:"og:description",content:n.mainDetails.seoDetails.metaDescription}),(0,r.jsx)("meta",{property:"twitter:title",content:n.mainDetails.seoDetails.metaTitle}),(0,r.jsx)("meta",{property:"twitter:type",content:"product"}),(0,r.jsx)("meta",{property:"twitter:url",content:"https://".concat(e)}),(0,r.jsx)("meta",{property:"twitter:image",content:"https://imagedelivery.net/".concat(n.mainDetails.seoDetails.metaImageCfId,"/1600X1200")}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"description",content:n.mainDetails.seoDetails.metaDescription}),(0,r.jsx)("title",{children:n.mainDetails.seoDetails.metaTitle})]})};e.Z=u},2394:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var r,i,s=n(5893),a=n(7294),o=n(4794),u=n.n(o),c=n(7484),d=n.n(c),l=n(4110),f=n.n(l),h=n(9503),m=n(918),p=n(3684);(i=r||(r={})).SECONDARY="secondary";var v=function(t){var e=t.style,n=t.review;d().extend(f());var r=d()(null==n?void 0:n.createdAt).fromNow(),i=(0,a.useContext)(m.Z).pageInfo,o=[i.mainDetails.design.primaryColor,i.mainDetails.design.primaryColorAccent||i.mainDetails.design.primaryColor];return(0,s.jsxs)("div",{className:u().reviewCard+" "+u()[e||""],children:[(0,s.jsxs)("header",{className:u().cardHeader,children:[(0,s.jsx)("div",{className:u().stars,children:(0,s.jsx)(h.Z,{starDimension:"18px",starSpacing:"2px",starRatedColor:i.mainDetails.design.primaryColor,rating:n.rating},1)}),(0,s.jsx)("time",{children:r})]}),(0,s.jsxs)("div",{className:u().cardBody,children:[(0,s.jsx)("p",{children:null==n?void 0:n.comment}),(null==n?void 0:n.sellerReply)&&(0,s.jsxs)("div",{className:u().cardAnswer,children:[(0,s.jsx)("p",{children:n.sellerReply}),(0,s.jsxs)("span",{children:["— reply from ",i.mainDetails.name]})]})]}),(0,s.jsxs)("footer",{className:u().cardFooter,children:[(0,s.jsxs)("div",{className:u().security,children:[(0,s.jsx)(p.Z,{gradientColors:o}),(0,s.jsx)("span",{children:"Verified Purchase"})]}),e&&(0,s.jsx)("time",{children:"Last updated 09-11-2022, 02:32 AM"})]})]})};e.Z=v},2724:function(t,e,n){"use strict";n.d(e,{t:function(){return r}});var r=function(t,e){e||setTimeout(function(){var e;null===(e=t.current)||void 0===e||e.classList.add("active")},10)}},3733:function(t,e,n){"use strict";n.r(e);var r,i=n(7568),s=n(6042),a=n(9396),o=n(655),u=n(5893),c=n(7294),d=n(8954),l=n.n(d),f=n(2394),h=n(2754),m=n(2268),p=n(918),v=n(3098),y=n(2724),g=n(8885),w=n(1163),$=function(t){var e,n=t.data,r=t.host,d=(0,c.useContext)(p.Z),$=d.pageInfo,_=d.setPageInfo,D=(0,c.useState)(null==n?void 0:n.feedbacks),x=D[0],M=D[1],j=(0,c.useState)(!1),S=j[0],C=j[1],O=(0,c.useRef)(null),N=(0,w.useRouter)(),T=(e=(0,i.Z)(function(){var t,e;return(0,o.__generator)(this,function(n){switch(n.label){case 0:return C(!0),t=sessionStorage.getItem("shopPassword"),[4,h.Z.PageInfo(location.hostname,"feedbacks",t).finally(function(){C(!1)}).catch(function(t){401===t.response.status&&N.push("/auth")})];case 1:return(e=n.sent())&&M(e.data.data.feedbacks),[2]}})}),function(){return e.apply(this,arguments)});return((0,c.useEffect)(function(){n?_((0,a.Z)((0,s.Z)({},$),{mainDetails:n.mainDetails})):T()},[]),(0,c.useEffect)(function(){(0,y.t)(O,S)},[S]),S)?(0,u.jsx)(v.Z,{}):(0,u.jsxs)(m.Z,{children:[(0,u.jsx)(g.Z,{host:r}),(0,u.jsxs)("div",{className:l().ReviewsPage+" page",ref:O,children:[(0,u.jsx)("h1",{children:"Reviews"}),(0,u.jsxs)("div",{className:l().reviewsList,children:[null==x?void 0:x.map(function(t){return(0,u.jsx)(f.Z,{review:t},t.id)}),(0,u.jsx)("div",{className:l().reviewsEnd})]})]})]})};$.getInitialProps=(r=(0,i.Z)(function(t){var e,n;return(0,o.__generator)(this,function(t){switch(t.label){case 0:return[2,{}];case 1:if(n=t.sent())return[2,{data:n.data.data,host:e}];return[2]}})}),function(t){return r.apply(this,arguments)}),e.default=$},3684:function(t,e,n){"use strict";var r=n(5893);n(7294);var i=function(t){var e=t.gradientColors;return(0,r.jsxs)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M3.50692 5.70619L1.25759 3.45685L0.507812 4.20663L3.50692 7.20574L9.93359 0.779075L9.18382 0.0292969L3.50692 5.70619Z",fill:"url(#paint0_linear_3693_55)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_3693_55",x1:"5.2207",y1:"0.0292969",x2:"5.2207",y2:"7.20574",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:e[0]}),(0,r.jsx)("stop",{offset:"1",stopColor:e[1]})]})})]})};e.Z=i},4794:function(t){t.exports={reviewCard:"ReviewCard_reviewCard__bRFHC",secondary:"ReviewCard_secondary__wcpEl",cardFooter:"ReviewCard_cardFooter__QsX0l",cardHeader:"ReviewCard_cardHeader__HRfmF",cardBody:"ReviewCard_cardBody__cqkPi",cardAnswer:"ReviewCard_cardAnswer__V6804",security:"ReviewCard_security__TtDYw"}},8954:function(t){t.exports={ReviewsPage:"ReviewsPage_ReviewsPage__Lm9sq",reviewsList:"ReviewsPage_reviewsList__K3psM",reviewsEnd:"ReviewsPage_reviewsEnd__ajSfQ"}}},function(t){t.O(0,[503,774,888,179],function(){return t(t.s=9433)}),_N_E=t.O()}]);