1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9fdfb685-e8b9-43ba-a1bb-339b18cb3b75",e._sentryDebugIdIdentifier="sentry-dbid-9fdfb685-e8b9-43ba-a1bb-339b18cb3b75")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"b613a61178f6053599d601af046e5c09b59c5efe"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{85384:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r,i=n(59499),o=n(4730),a=n(25675),c=n.n(a),s=n(67294),u=n(71383),l=(0,n(5770).zo)("img")(r||(r=(0,u.Z)(["\n height: auto;\n"]))),f=n(58199),d=n(20241),p=n(85893),h=["alt","basePath","fromCloudinary","isLazy","isNext","src"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=e.alt,n=e.basePath,r=void 0===n?"":n,i=e.fromCloudinary,a=e.isLazy,u=e.isNext,m=e.src,b=(0,o.Z)(e,h),v=r.endsWith("/")||""===r?r:"".concat(r,"/"),y=m.startsWith("/")?m.substring(1):m,j=i||y.includes("res.cloudinary.com"),w=(0,s.useRef)(null);return(0,s.useEffect)((function(){if(j&&!u&&a&&null!==w&&void 0!==w&&w.current)return(0,d.j)(w.current)}),[]),j||u?!j&&u?(0,p.jsx)(c(),g({alt:t,src:"".concat(v).concat(y),title:t},b)):(0,p.jsx)(l,g(g({},b),{},{alt:t,className:[b.className,!!a&&"lazy-load"].filter((function(e){return e})).join(" "),"data-src":a?m:void 0,ref:w,src:a?"".concat("https://files.brumbrum.it/www2","/images/placeholder.gif"):m,title:t})):(0,p.jsx)(f.Z,g({alt:t,isLazy:a,src:"".concat(v).concat(y),title:t},b))};b.defaultProps={alt:"",basePath:"",className:"",fromCloudinary:!1,isLazy:!1,isNext:!1};var v=b},7714:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r,i,o,a,c,s,u,l=n(72083),f=(n(67294),n(85384)),d=n(2451),p=n(2288),h=n(71383),m=n(5770),g=n(69315),b=70,v=20,y=(0,m.zo)("section")(r||(r=(0,h.Z)(["\n margin-bottom: 56px;\n padding-top: ","px;\n\n @media (",") {\n padding-top: ","px;\n }\n\n @media (",") {\n margin-bottom: 0;\n }\n"])),v,(function(e){return e.theme.media("small")}),b,(function(e){return e.theme.media("large")})),j=(0,m.zo)("div")(i||(i=(0,h.Z)(["\n order: 2;\n padding-top: 20px;\n\n @media (",") {\n order: 0;\n padding-top: 0;\n }\n"])),(function(e){return e.theme.media("small")})),w=(0,m.zo)("div")(o||(o=(0,h.Z)(["\n align-items: flex-end;\n display: flex;\n justify-content: ",";\n margin-bottom: 20px;\n order: 1;\n position: relative;\n\n &::before {\n background: ",";\n border-bottom-left-radius: 70px;\n content: '';\n display: block;\n height: calc(100% + ","px);\n left: 24%;\n position: absolute;\n top: -","px;\n transform: skewX(25deg);\n transform-origin: top left;\n width: 100vw;\n }\n\n @media (",") {\n margin-bottom: 0;\n order: 0;\n\n &::before {\n border-bottom-left-radius: 100px;\n height: calc(100% + ","px);\n left: -15%;\n top: -","px;\n width: calc(50vw + 15%);\n }\n }\n\n @media (",") {\n &::before {\n left: 0;\n width: 50vw;\n }\n }\n"])),(function(e){var t=e.justify;return void 0===t?"flex-end":t}),(function(e){var t=e.theme;return(0,g.Z)("brand.lighter",t.palette)}),v,v,(function(e){return e.theme.media("small")}),b,b,(function(e){return e.theme.media("xlarge")})),x=(0,m.zo)(f.Z)(a||(a=(0,h.Z)(["\n flex: 0 1 auto;\n position: relative;\n width: 60%;\n\n @media (",") {\n width: 90%;\n }\n\n @media (",") {\n width: 80%;\n }\n"])),(function(e){return e.theme.media("small")}),(function(e){return e.theme.media("xlarge")})),O=(0,m.zo)("div")(c||(c=(0,h.Z)(["\n display: flex;\n width: 60%;\n z-index: ",";\n\n @media (",") {\n width: 90%;\n }\n\n @media (",") {\n width: 80%;\n }\n"])),(function(e){return e.theme.zIndex.base}),(function(e){return e.theme.media("small")}),(function(e){return e.theme.media("xlarge")})),P=(0,m.zo)("div")(s||(s=(0,h.Z)(["\n margin-top: 20px;\n"]))),Z=(0,m.zo)("div")(u||(u=(0,h.Z)(["\n margin: 40px 0 15px;\n text-align: center;\n\n @media (",") {\n margin-bottom: 0;\n text-align: left;\n }\n"])),(function(e){return e.theme.media("small")})),E=n(7797),k=n(85893),z=(0,k.jsx)(l.ChevronRight,{}),N=function(e){var t=e.afterText,n=e.cta,r=e.image,i=e.text,o=e.title;return(0,k.jsx)(y,{children:(0,k.jsx)("div",{className:"container",children:(0,k.jsxs)("div",{className:"row items-stretch justify-between no-gap",children:[(0,k.jsxs)(j,{className:"col col-12 sm:col-6 lg:col-4 lg:offset-1",children:[(0,k.jsx)(p.Z,{abstract:(0,k.jsx)(E.Z,{component:"div",dangerouslySetInnerHTML:{__html:i},variant:"body1"}),title:o}),t&&(0,k.jsx)(P,{children:t}),n&&(0,k.jsx)(Z,{children:(0,k.jsx)(d.Z,{color:"primary",endIcon:z,href:n.href,title:n.label,children:n.label})})]}),(0,k.jsx)(w,{className:"col col-12 sm:col-6",justify:r.justify,children:r.imgHeight&&r.imgWidth?(0,k.jsx)(O,{children:(0,k.jsx)(f.Z,{alt:r.alt,height:r.imgHeight,isLazy:!0,src:r.src,width:r.imgWidth})}):(0,k.jsx)(x,{alt:r.alt,isLazy:!0,src:r.src})})]})})})};N.defaultProps={afterText:null,cta:null};var D=N},5393:function(e,t,n){"use strict";n.r(t),n.d(t,{KIND:function(){return h}});var r,i,o=n(59499),a=n(4730),c=n(71383),s=n(5770),u=(n(67294),n(43437)),l=n(85893),f=["kind","size"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={EMPTY:"EMPTY",FULL:"FULL",HALF:"HALF"},m="#FFBA00",g=(0,s.zo)("path",{shouldForwardProp:function(e){return"isYellow"!==e}})(r||(r=(0,c.Z)(["\n fill: ",";\n"])),(function(e){var t=e.isYellow,n=e.theme;return t?m:n.palette.grey.grey300})),b=(0,s.zo)("path")(i||(i=(0,c.Z)(["\n fill: ",";\n"])),m),v=function(e){return"normal"===e?27:16},y=(0,l.jsx)(b,{d:"M13.5 0v21.9C8.63 25.06 6.26 27 5.39 27c-1 0 .13-2.87 1.76-10C-2.49 8.39-3 10.21 9.57 9.17 12 3.1 12.75.05 13.5 0z"}),j=function(e){var t=e.kind,n=e.size,r=(0,a.Z)(e,f);return(0,l.jsxs)(u.default,p(p({},r),{},{height:v(n),version:"1.1",viewBox:"0 0 27 27",width:v(n),xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)(g,{d:"M17.46 9.17c12.57 1 12-.78 2.42 7.86 2.93 12.88 4.36 11.76-6.35 4.86C2.71 28.87 4.18 30 7.15 17-2.49 8.39-3 10.21 9.57 9.17c4.84-12.23 3.08-12.23 7.89 0",isYellow:t===h.FULL}),t===h.HALF&&y]}))};j.defaultProps={kind:h.EMPTY,size:"normal"},t.default=j},58199:function(e,t,n){"use strict";var r=n(59499),i=n(4730),o=n(57557),a=n.n(o),c=n(67294),s=n(20241),u=n(85893),l=["alt","className","isLazy","height","src","width"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){var t=e.alt,n=e.className,o=e.isLazy,d=e.height,p=e.src,h=e.width,m=(0,i.Z)(e,l),g=a()(m,["isActive","isLazy","isRotated","imgAlignment"]),b=p.split(".").pop(),v="gif"!==b&&"svg"!==b?"webp":b,y="".concat(p.split(".").slice(0,-1).join("."),".").concat(v);h&&(g.width=h),d&&(g.height=d);var j=(0,c.useRef)(null);return(0,c.useEffect)((function(){if(o&&null!==j&&void 0!==j&&j.current)return(0,s.j)(j.current)}),[]),(0,u.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({alt:t,className:"".concat(n," ").concat(o?"lazy-load":""),"data-src":o?y:void 0,ref:j,src:o?"".concat("https://files.brumbrum.it/www2","/images/placeholder.gif"):y,title:t},g))}d.defaultProps={alt:void 0,className:"",height:null,isLazy:!1,width:null},t.Z=d},7406:function(e,t,n){"use strict";var r=n(3674),i=n.n(r),o=n(9008),a=n.n(o),c=n(11163),s=n(67294),u=n(11987),l=n.n(u),f=n(96656),d=n(45804),p=(n(60181),n(85893)),h=(0,p.jsx)("meta",{content:"noindex",name:"robots"},"robots");t.Z=(0,c.withRouter)((function(e){var t=e.editorial,n=e.router,r=t.meta_title,o=Number(d.Z.parse(l().parse(n.asPath).query).page),c=(0,f.y)(r,o);return(0,s.useEffect)((function(){document.title=(0,f.y)(r,o)})),(0,p.jsxs)(a(),{children:[(0,p.jsx)("title",{children:c},"title"),!o&&(0,p.jsx)("link",{href:t.canonical,rel:"canonical"},"canonical"),(0,p.jsx)("meta",{content:c,property:"og:title"},"og:title"),(0,p.jsx)("meta",{content:t.meta_description,name:"description"},"description"),i()(t.openGraph).map((function(e){return(0,p.jsx)("meta",{content:t.openGraph[e],property:"og:".concat(e)},"og:".concat(e))})),t.noindex&&h]})}))},80391:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});n(67294);var r,i,o,a,c,s=n(58239),u=n(71383),l=n(5770),f=n(75967),d=(0,l.zo)(s.X2)(r||(r=(0,u.Z)(["\n margin: ",";\n"])),(function(e){return e.hasMargin?"40px 0":"0"})),p=(0,l.zo)(f.Z)(i||(i=(0,u.Z)(["\n display: inline;\n font-weight: 700;\n letter-spacing: ","px;\n vertical-align: middle;\n"])),(function(e){return e.theme.letterSpacings.medium})),h=(0,l.zo)("p")(o||(o=(0,u.Z)(["\n margin-top: 15px;\n"]))),m=(0,l.zo)("div")(a||(a=(0,u.Z)(["\n margin-bottom: 15px;\n"]))),g=n(27897),b=n(59499),v=n(4730),y=n(7797),j=n(85893),w=["className","children","id","onClick"];function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=(0,l.zo)(y.Z)(c||(c=(0,u.Z)(["\n font-weight: 700;\n"])));function Z(e){var t=e.className,n=e.children,r=e.id,i=e.onClick,o=(0,v.Z)(e,w);return(0,j.jsx)(P,O(O({className:"".concat(t),component:"div",id:r,onClick:i,variant:"h1"},o),{},{children:n}))}Z.defaultProps={children:void 0,className:"",id:void 0,onClick:void 0};var E=Z,k=function(e){var t=e.average,n=e.hasMargin,r=e.max,i=e.total;return(0,j.jsx)(d,{className:"text-center",hasGap:!1,hasMargin:n,justify:"center",children:(0,j.jsxs)(s.sg,{shrink:!0,children:[(0,j.jsx)(m,{children:(0,j.jsx)(g.Z,{max:r,value:t})}),(0,j.jsxs)(E,{className:"text-center",children:[t," ",(0,j.jsxs)(p,{children:["/ ",r]})]}),(0,j.jsxs)(h,{children:[i," valutazioni su acquisti reali!"]})]})})};k.defaultProps={hasMargin:!0};var z=k},27897:function(e,t,n){"use strict";var r,i=n(71383),o=n(5770),a=(n(67294),n(58239)),c=n(5393),s=n(85893),u=(0,o.zo)(c.default)(r||(r=(0,i.Z)(["\n margin-left: 2px;\n margin-right: 2px;\n"])));function l(e){var t=e.max,n=e.size,r=e.value,i=Array.from({length:t}).map((function(e,t){var n=r-t;return n>=1?c.KIND.FULL:n>0?c.KIND.HALF:c.KIND.EMPTY}));return(0,s.jsx)(a.X2,{hasGap:!1,justify:"center",children:i.map((function(e,t){return(0,s.jsx)(a.sg,{shrink:!0,children:(0,s.jsx)(u,{kind:e,size:n})},t)}))})}l.defaultProps={size:void 0},t.Z=l},75967:function(e,t,n){"use strict";n.d(t,{x:function(){return m}});var r,i,o=n(59499),a=n(4730),c=n(71383),s=n(5770),u=(n(67294),n(57287)),l=n(7797),f=n(85893),d=["className","children","id","onClick"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){var t=e.theme;return(0,s.iv)(r||(r=(0,c.Z)(["\n ",";\n"])),(0,u.X)("secondary",[[14,16],[14,16],[16,18]],400,t))},g=(0,s.zo)(l.Z,{shouldForwardProp:function(e){return"isCompact"!==e}})(i||(i=(0,c.Z)(["\n font-weight: 400;\n"]))),b=function(e){var t=e.className,n=e.children,r=e.id,i=e.onClick,o=(0,a.Z)(e,d);return(0,f.jsx)(g,h(h({className:"".concat(t),component:"div",id:r,onClick:i,role:i?"button":void 0,variant:"body2"},o),{},{children:n}))};b.defaultProps={children:void 0,className:"",id:void 0,onClick:void 0},t.Z=b},20241:function(e,t,n){"use strict";n.d(t,{T:function(){return i},j:function(){return o}});var r=n(16835),i=function(e){var t=e.angle,n=e.ext,r=e.idAuto,i=e.media,o=e.resolution,a=e.version,c=i&&i.basePath?i.basePath:"/pictures/".concat(r,"/");return"".concat("https://files.brumbrum.it").concat(c).concat(a,".").concat(t,".").concat(o,".").concat(n)},o=function(e){if(window&&window.IntersectionObserver){var t=new IntersectionObserver((function(e){var n=(0,r.Z)(e,1)[0];if(n.isIntersecting){var i=n.target;i.src=i.dataset.src,i.classList.remove("lazy-load"),t.unobserve(i)}}));return t.observe(e),function(){return t.disconnect()}}}},96656:function(e,t,n){"use strict";n.d(t,{N:function(){return c},y:function(){return a}});var r=n(11987),i=n.n(r),o=n(45804);function a(e,t){return t&&Number(t)>1?e.match(new RegExp(/pag.([\s\d]+\|\s)/))?e.replace(/pag.([\s\d]+\|\s)/gi,"pag.".concat(t," | ")):e.replace(/([\s\d]+\|\s)/gi," pag.".concat(t," | ")):e.replace(/pag.([\s\d]+\|\s)/gi,"| ")}function c(e,t){var n=i().parse(e),r=o.Z.parse(n.query),a=Number(t);1===a&&delete r.page,a&&a>1&&(r.page=a);var c=o.Z.stringify(r);return"".concat(n.protocol,"//").concat(n.hostname).concat(n.pathname).concat(c?"?":"").concat(c||"")}},57568:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ce}});var r,i,o,a,c,s=n(50029),u=n(92777),l=n(82262),f=n(45959),d=n(63553),p=n(37247),h=n(87794),m=n.n(h),g=n(45697),b=n.n(g),v=n(67294),y=n(14416),j=n(7406),w=n(10748),x=n(18446),O=n.n(x),P=n(5152),Z=n.n(P),E=n(58239),k=n(7714),z=n(71383),N=n(5770),D=n(98662),L=(0,N.zo)(E.X2)(r||(r=(0,z.Z)(["\n @media (",") {\n flex-wrap: nowrap;\n }\n"])),(function(e){return e.theme.media("small")})),_=(0,N.zo)(E.sg)(i||(i=(0,z.Z)(["\n margin-bottom: 15px;\n\n @media (",") {\n margin-bottom: 0;\n width: 100px;\n }\n"])),(function(e){return e.theme.media("small")})),R=(0,N.zo)("img")(o||(o=(0,z.Z)(["\n margin-left: auto;\n margin-right: auto;\n width: 100px;\n"]))),S=(0,N.zo)(E.sg)(a||(a=(0,z.Z)(["\n text-align: center;\n\n @media (",") {\n text-align: left;\n }\n"])),(function(e){return e.theme.media("small")})),C=(0,N.zo)(D.Z)(c||(c=(0,z.Z)(["\n font-weight: 700;\n"]))),F=n(80391),I=n(85893),T=(0,I.jsxs)(S,{shrink:!0,children:["brumbrum ha scelto"," ",(0,I.jsx)(C,{href:"https://www.feedaty.com/feedaty/reviews/brumbrum",kind:"primary",rel:"nofollow noreferrer",target:"_blank",title:"Opinioni brumbrum su Feedaty",children:"Feedaty"}),", una piattaforma online di opinioni certificate, per raccogliere le recensioni basate su acquisti reali di clienti verificati."]}),M=function(e){var t=e.average,n=e.text,r=e.title,i=e.total;return(0,I.jsx)(k.Z,{afterText:(0,I.jsxs)(v.Fragment,{children:[(0,I.jsx)(E.X2,{hasGap:!1,justify:"center",children:(0,I.jsx)(E.sg,{large:9,xsmall:12,children:(0,I.jsx)(F.Z,{average:t,max:5,total:i})})}),(0,I.jsxs)(L,{children:[(0,I.jsx)(_,{shrink:!0,xsmall:12,children:(0,I.jsx)(R,{alt:"Opinioni brumbrum su Feedaty",src:"".concat("https://files.brumbrum.it/www2","/images/logo-feedaty-big.png")})}),T]})]}),image:{alt:"Recensioni e opinioni dei nostri clienti",justify:"center",src:"".concat("https://files.brumbrum.it/www2","/images/recensioni/recensioni-opinioni-clienti.png")},text:n,title:r})};function A(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var i=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var U=Z()((function(){return n.e(3769).then(n.bind(n,73769))}),{loadableGenerated:{webpack:function(){return[73769]}}}),G=function(e){(0,f.Z)(n,e);var t=A(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).state={isLoading:!1},r.loadMore=r.loadMore.bind((0,w.Z)(r)),r}return(0,l.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!O
1()(e.reviews,this.props.reviews)||t.isLoading!==this.state.isLoading}},{key:"componentDidUpdate",value:function(e){O()(e.reviews,this.props.reviews)&&this.props.reviews.list.length===this.props.reviews.total||this.setState({isLoading:!1})}},{key:"loadMore",value:function(){var e=this;this.setState((function(){return{isLoading:!0}}),(function(){return e.props.getReviews(e.props.reviews.list.length)}))}},{key:"render",value:function(){var e=this.props,t=e.editorial,n=e.reviews;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(M,{average:n.average,text:t.testo,title:t.titolo,total:n.total}),(0,I.jsx)(U,{handleLoadMoreClick:this.loadMore,isLoading:this.state.isLoading,reviews:n.list,total:n.total})]})}}]),n}(v.Component),W=(0,y.$j)((function(){return{reviews:[]}}),(function(){return{getReviews:function(){return[]}}}))(G),X=n(59499),Y=n(31866),H=n(27883),q=n(96246),B=n(45804);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){(0,X.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $=function(e){return{payload:e.map((function(e){return{date:e.time,excerpt:e.excerpt,id:e.id,isFeatured:e.featured,rating:e.rating,text:e.review}})),type:"ADD_REVIEWS"}},Q=function(e){return{payload:e,type:"SET_REVIEWS_AVERAGE"}},J=function(e){return{payload:e,type:"SET_REVIEWS_TOTAL"}},ee="GET_REVIEWS",te={failure:"".concat(ee,"_FAILURE"),request:"".concat(ee,"_REQUEST"),success:"".concat(ee,"_SUCCESS")},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit,n=e.offset;return function(){var e=(0,s.Z)(m().mark((function e(r){var i,o,a,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=B.Z.stringify({limit:t,offset:n}),o={endpoint:"".concat(q.Z.cms,"/cms/p/v4/feedaty/reviews").concat(i?"?".concat(i):"")},e.next=4,r({payload:{payload:K(K({},o),{},{types:te}),type:ee},type:Y.kS});case 4:if((a=e.sent).type===te.success){e.next=7;break}return e.abrupt("return",r({payload:{context:{request:o,response:a},level:"error",message:"Fetch feedaty reviews api"},type:H.b}));case 7:return"undefined"!==typeof(c=a.payload.response.result).average&&(r(Q(c.average.average)),r(J(c.average.total))),e.abrupt("return",r($(a.payload.response.result.reviews)));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},re=n(91368);function ie(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var i=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var oe=function(e){(0,f.Z)(n,e);var t=ie(n);function n(){return(0,u.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n,[{key:"render",value:function(){var e=this.props.editorial;return(0,I.jsxs)(v.Fragment,{children:[(0,I.jsx)(j.Z,{editorial:e}),(0,I.jsx)(W,{editorial:e})]})}}],[{key:"getInitialProps",value:function(){var e=(0,s.Z)(m().mark((function e(t){var n,r;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.asPath,r=t.store,e.next=3,r.dispatch(ne());case 3:return e.abrupt("return",{asPath:n});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),n}(v.Component),ae=(0,y.$j)((function(e,t){return{editorial:(0,re.Z)(e,t.asPath)}}),(function(){return{}}))(oe);ae.defaultProps={asPath:""},ae.propTypes={asPath:b().string};var ce=ae},9413:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/Reviews",function(){return n(57568)}])}},function(e){e.O(0,[5675,9774,2888,179],(function(){return t=9413,e(e.s=t);var t}));var t=e.O();_N_E=t}]); 2//# sourceMappingURL=Reviews-cbdea3e610770d04.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.