(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{27484:function(e){e.exports=function(){"use strict";var e="millisecond",n="second",t="minute",i="hour",r="day",s="week",a="month",o="quarter",l="year",c="date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,h={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("_")},x=function(e,n,t){var i=String(e);return!i||i.length>=n?e:""+Array(n+1-i.length).join(t)+e},f={s:x,z:function(e){var n=-e.utcOffset(),t=Math.abs(n),i=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+x(i,2,"0")+":"+x(r,2,"0")},m:function e(n,t){if(n.date()<t.date())return-e(t,n);var i=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(i,a),s=t-r<0,o=n.clone().add(i+(s?-1:1),a);return+(-(i+(t-r)/(s?r-o:o-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(d){return{M:a,y:l,w:s,d:r,D:c,h:i,m:t,s:n,ms:e,Q:o}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},C="en",g={};g[C]=h;var m=function(e){return e instanceof b},p=function(e,n,t){var i;if(!e)return C;if("string"==typeof e)g[e]&&(i=e),n&&(g[e]=n,i=e);else{var r=e.name;g[r]=e,i=r}return!t&&i&&(C=i),i||!t&&C},j=function(e,n){if(m(e))return e.clone();var t="object"==typeof n?n:{};return t.date=e,t.args=arguments,new b(t)},M=f;M.l=p,M.i=m,M.w=function(e,n){return j(e,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var b=function(){function h(e){this.$L=p(e.locale,null,!0),this.parse(e)}var x=h.prototype;return x.parse=function(e){this.$d=function(e){var n=e.date,t=e.utc;if(null===n)return new Date(NaN);if(M.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var i=n.match(d);if(i){var r=i[2]-1||0,s=(i[7]||"0").substring(0,3);return t?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(n)}(e),this.$x=e.x||{},this.init()},x.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},x.$utils=function(){return M},x.isValid=function(){return!("Invalid Date"===this.$d.toString())},x.isSame=function(e,n){var t=j(e);return this.startOf(n)<=t&&t<=this.endOf(n)},x.isAfter=function(e,n){return j(e)<this.startOf(n)},x.isBefore=function(e,n){return this.endOf(n)<j(e)},x.$g=function(e,n,t){return M.u(e)?this[n]:this.set(t,e)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(e,o){var d=this,u=!!M.u(o)||o,h=M.p(e),x=function(e,n){var t=M.w(d.$u?Date.UTC(d.$y,n,e):new Date(d.$y,n,e),d);return u?t:t.endOf(r)},f=function(e,n){return M.w(d.toDate()[e].apply(d.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(n)),d)},C=this.$W,g=this.$M,m=this.$D,p="set"+(this.$u?"UTC":"");switch(h){case l:return u?x(1,0):x(31,11);case a:return u?x(1,g):x(0,g+1);case s:var j=this.$locale().weekStart||0,b=(C<j?C+7:C)-j;return x(u?m-b:m+(6-b),g);case r:case c:return f(p+"Hours",0);case i:return f(p+"Minutes",1);case t:return f(p+"Seconds",2);case n:return f(p+"Milliseconds",3);default:return this.clone()}},x.endOf=function(e){return this.startOf(e,!1)},x.$set=function(s,o){var d,u=M.p(s),h="set"+(this.$u?"UTC":""),x=(d={},d[r]=h+"Date",d[c]=h+"Date",d[a]=h+"Month",d[l]=h+"FullYear",d[i]=h+"Hours",d[t]=h+"Minutes",d[n]=h+"Seconds",d[e]=h+"Milliseconds",d)[u],f=u===r?this.$D+(o-this.$W):o;if(u===a||u===l){var C=this.clone().set(c,1);C.$d[x](f),C.init(),this.$d=C.set(c,Math.min(this.$D,C.daysInMonth())).$d}else x&&this.$d[x](f);return this.init(),this},x.set=function(e,n){return this.clone().$set(e,n)},x.get=function(e){return this[M.p(e)]()},x.add=function(e,o){var c,d=this;e=Number(e);var u=M.p(o),h=function(n){var t=j(d);return M.w(t.date(t.date()+Math.round(n*e)),d)};if(u===a)return this.set(a,this.$M+e);if(u===l)return this.set(l,this.$y+e);if(u===r)return h(1);if(u===s)return h(7);var x=(c={},c[t]=6e4,c[i]=36e5,c[n]=1e3,c)[u]||1,f=this.$d.getTime()+e*x;return M.w(f,this)},x.subtract=function(e,n){return this.add(-1*e,n)},x.format=function(e){var n=this;if(!this.isValid())return"Invalid Date";var t=e||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),r=this.$locale(),s=this.$H,a=this.$m,o=this.$M,l=r.weekdays,c=r.months,d=function(e,i,r,s){return e&&(e[i]||e(n,t))||r[i].substr(0,s)},h=function(e){return M.s(s%12||12,e,"0")},x=r.meridiem||function(e,n,t){var i=e<12?"AM":"PM";return t?i.toLowerCase():i},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:M.s(o+1,2,"0"),MMM:d(r.monthsShort,o,c,3),MMMM:d(c,o),D:this.$D,DD:M.s(this.$D,2,"0"),d:String(this.$W),dd:d(r.weekdaysMin,this.$W,l,2),ddd:d(r.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(s),HH:M.s(s,2,"0"),h:h(1),hh:h(2),a:x(s,a,!0),A:x(s,a,!1),m:String(a),mm:M.s(a,2,"0"),s:String(this.$s),ss:M.s(this.$s,2,"0"),SSS:M.s(this.$ms,3,"0"),Z:i};return t.replace(u,(function(e,n){return n||f[e]||i.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(e,c,d){var u,h=M.p(c),x=j(e),f=6e4*(x.utcOffset()-this.utcOffset()),C=this-x,g=M.m(this,x);return g=(u={},u[l]=g/12,u[a]=g,u[o]=g/3,u[s]=(C-f)/6048e5,u[r]=(C-f)/864e5,u[i]=C/36e5,u[t]=C/6e4,u[n]=C/1e3,u)[h]||C,d?g:M.a(g)},x.daysInMonth=function(){return this.endOf(a).$D},x.$locale=function(){return g[this.$L]},x.locale=function(e,n){if(!e)return this.$L;var t=this.clone(),i=p(e,n,!0);return i&&(t.$L=i),t},x.clone=function(){return M.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},h}(),v=b.prototype;return j.prototype=v,[["$ms",e],["$s",n],["$m",t],["$H",i],["$W",r],["$M",a],["$y",l],["$D",c]].forEach((function(e){v[e[1]]=function(n){return this.$g(n,e[0],e[1])}})),j.extend=function(e,n){return e.$i||(e(n,b,j),e.$i=!0),j},j.locale=p,j.isDayjs=m,j.unix=function(e){return j(1e3*e)},j.en=g[C],j.Ls=g,j.p={},j}()},67763:function(e,n,t){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return e.locale(n,null,!0),n}(t(27484))},48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(81810)}])},81810:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return He},default:function(){return ke}});var i=t(85893),r=t(67294),s=t(9008),a=t.n(s),o=t(93717),l=t(57747),c=t(71293),d=t(3818),u=t(27239),h=t(81136),x=t(27484),f=t.n(x),C=(t(67763),t(45508)),g=t(67129),m=t(55845),p=t(48783),j=t(83558),M=t(45161),b=t(43798),v=t(93108),_=t(5460),y=t(2031),Z=t(94332),L=t(55208),S=t(55933),w=t(38508),$=t(26042),H=t(69396),k=t(10816);function V(e){return(0,i.jsx)(k.JO,(0,H.Z)((0,$.Z)({viewBox:"0 0 96 95",fill:"none"},e),{children:(0,i.jsx)("path",{d:"M48 71.859L45.3908 74.441C45.7332 74.7804 46.14 75.0497 46.5877 75.2334C47.0354 75.4171 47.5153 75.5116 48 75.5116C48.4847 75.5116 48.9646 75.4171 49.4123 75.2334C49.86 75.0497 50.2668 74.7804 50.6092 74.441L48 71.859ZM51.6923 23.141C51.6923 22.172 51.3033 21.2426 50.6109 20.5574C49.9184 19.8721 48.9793 19.4872 48 19.4872C47.0207 19.4872 46.0816 19.8721 45.3891 20.5574C44.6967 21.2426 44.3077 22.172 44.3077 23.141H51.6923ZM30.9169 49.7897C30.217 49.1443 29.2912 48.793 28.3347 48.8097C27.3781 48.8264 26.4654 49.2098 25.7889 49.8793C25.1124 50.5487 24.7249 51.4519 24.7081 52.3985C24.6912 53.3451 25.0463 54.2612 25.6985 54.9538L30.9169 49.7897ZM70.3015 54.9538C70.6643 54.6193 70.9553 54.216 71.1571 53.7677C71.3589 53.3195 71.4674 52.8357 71.4761 52.3451C71.4849 51.8545 71.3937 51.3672 71.208 50.9122C71.0223 50.4572 70.7459 50.044 70.3953 49.697C70.0446 49.35 69.627 49.0765 69.1673 48.8927C68.7075 48.709 68.215 48.6187 67.7193 48.6274C67.2235 48.636 66.7346 48.7434 66.2817 48.9431C65.8287 49.1428 65.4211 49.4308 65.0831 49.7897L70.3015 54.9538ZM51.6923 71.859V23.141H44.3077V71.859H51.6923ZM25.6985 54.9538L45.3908 74.441L50.6092 69.2769L30.9169 49.7897L25.6985 54.9538ZM50.6092 74.441L70.3015 54.9538L65.0831 49.7897L45.3908 69.2769L50.6092 74.441ZM88.6154 47.5C88.6154 58.1597 84.3363 68.3827 76.7194 75.9202C69.1026 83.4578 58.7719 87.6923 48 87.6923V95C60.7304 95 72.9394 89.9955 81.9411 81.0876C90.9429 72.1796 96 60.0978 96 47.5H88.6154ZM48 87.6923C37.2281 87.6923 26.8974 83.4578 19.2806 75.9202C11.6637 68.3827 7.38462 58.1597 7.38462 47.5H0C0 60.0978 5.05713 72.1796 14.0589 81.0876C23.0606 89.9955 35.2696 95 48 95V87.6923ZM7.38462 47.5C7.38462 36.8403 11.6637 26.6173 19.2806 19.0797C26.8974 11.5422 37.2281 7.30769 48 7.30769V0C35.2696 0 23.0606 5.00445 14.0589 13.9124C5.05713 22.8204 0 34.9022 0 47.5H7.38462ZM48 7.30769C58.7719 7.30769 69.1026 11.5422 76.7194 19.0797C84.3363 26.6173 88.6154 36.8403 88.6154 47.5H96C96 34.9022 90.9429 22.8204 81.9411 13.9124C72.9394 5.00445 60.7304 0 48 0V7.30769Z",fill:"currentColor"})}))}function D(){var e=(0,j.S)({base:!0,sm:!1,md:!1}),n=(0,y.$)().t,t=(0,w.Z)().auth,s=(0,M.ff)("surface.light","surfaceVariant.dark"),a=(0,r.useState)(!1),l=a[0],d=a[1];(0,r.useEffect)((function(){(0,L.nv)().then((function(e){e&&(console.log("Extension detected, hiding banner."),d(!0))})).catch((function(e){return console.log(e)}))}),[]);var u=(0,r.useCallback)((function(){t&&(0,S.Kz)(t.uid,S.B$,{}),window.open(Z.Fe)}),[t]);return e||l?null:(0,i.jsx)(o.k,{alignItems:"center",direction:"column",bgColor:"surface",children:(0,i.jsx)(b.M,{in:!0,initialScale:.8,children:(0,i.jsxs)(o.k,{role:"banner",justifyContent:"center",bgColor:s,rounded:["none","none","lg"],position:"relative",shadow:"md",w:["auto","auto","800px","1100px"],px:"6",py:"2",children:[(0,i.jsxs)(p.g,{spacing:"4",align:"start",justifyContent:"center",children:[(0,i.jsxs)(c.x,{fontSize:["sm","md"],children:[(0,i.jsx)("b",{children:n("installBanner.part_1")}),"\xa0",n("installBanner.part_2")]}),(0,i.jsx)(v.z,{size:"sm",variant:"primary",onClick:u,rightIcon:(0,i.jsx)(V,{}),children:n("installBanner.CTA")})]}),(0,i.jsx)(_.E,{display:["none","flex","flex"],src:"/images/install_banner.svg",alt:"Notification bell",m:"4",boxSize:"90px"})]})})})}function W(){return(0,i.jsx)(p.g,{spacing:"0",py:"4",align:"center",bgColor:"surface",children:(0,i.jsx)(o.k,{direction:"column",alignItems:"stretch",maxW:"1100px",children:(0,i.jsx)(D,{})})})}var z=t(13135),E=t(828),O=t(96854),Y=t(8540),A=t(22757),F=t(5674),I=t(70959),P=t(44461),T=t(24124),N=(t(32341),t(88555)),B=t(52092);function X(e){var n=e.section,t=(0,N.fH)(),s=t.offers,a=t.loading,l=(0,E.Z)(r.useState(1),2),d=l[0],u=l[1],h=(0,r.useCallback)((function(e){u(e+1)}),[]);return a?(0,i.jsx)(o.k,{direction:"column",children:(0,i.jsx)(O.O,{opacity:"0.25",height:"200px",rounded:"xl",my:"4"})}):0===(null===s||void 0===s?void 0:s.length)?null:(0,i.jsx)(g.Z,{children:(0,i.jsx)(Y.p,{in:!0,children:(0,i.jsxs)(o.k,{bgColor:"surface",my:"2",rounded:["none","md"],direction:"column",children:[(0,i.jsx)(A.X,{as:"h2",pt:"6",px:"6",fontWeight:"bold",fontSize:"2xl",children:n.title}),(0,i.jsxs)(o.k,{direction:"column",children:[(0,i.jsx)(F.M,{m:"6",spacing:"6",minChildWidth:"260px",children:null===s||void 0===s?void 0:s.filter((function(e){return e})).slice(12*d-12,12*d).map((function(e){return(0,i.jsx)(B.Z,{item:e},e._id)}))}),(0,i.jsx)(I.m,{onChange:h,align:"center",alignSelf:"center",children:(0,i.jsx)(P.t,{mb:"4",children:Array.from({length:Math.ceil(s.length/12)},(function(e,n){return n+1})).map((function(e){return(0,i.jsx)(T.O,{_selected:{fontWeight:"bold",bgColor:"surfaceVariant",rounded:"md"},children:(0,i.jsx)(c.x,{cursor:"pointer",children:e})},e)}))})})]})]})})})}var G=t(28777),J=t(34495),q=t(34292),R=t(65028),U=t(41664),Q=t.n(U);function K(e){var n=e.item;return(0,i.jsx)(g.Z,{children:(0,i.jsxs)(o.k,{shadow:"md",transition:"all .2s ease-in",_hover:{shadow:"lg",opacity:.9},rounded:["none","none","none","lg"],align:"flex-start",flexGrow:1,height:"280px",backgroundImage:"linear-gradient(\n          rgba(0, 0, 0, 0.2), \n          rgba(0, 0, 0, 0.5)\n        ),\n        url(".concat(n.image,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",direction:"column",position:"relative",children:["collection"!==n.type?(0,i.jsxs)(q.U,{spacing:"4",children:[(0,i.jsx)(_.E,{fallbackSrc:Z.sM,src:"".concat(Z.YS).concat(n.host,".png"),alt:n.advertiser_name,objectFit:"cover",borderRadius:"10px",top:"0",shadow:"md",m:"4",boxSize:"60px"}),(0,i.jsx)(A.X,{as:"h3",color:"white",fontWeight:"bold",fontSize:"2xl",children:n.advertiser_name})]}):null,(0,i.jsx)(R.L,{}),(0,i.jsxs)(p.g,{zIndex:2,align:"start",spacing:"4",p:"4",children:[n.label?(0,i.jsx)(c.x,{color:"white",fontWeight:"bold",fontSize:"xl",mt:"2",children:n.label}):null,"collection"===n.type?n.button?(0,i.jsx)(Q(),{href:"/collections/".concat(n.collection),passHref:!0,children:(0,i.jsx)(d.m.a,{children:(0,i.jsx)(v.z,{mt:"2",variant:"primary",children:n.button})})}):null:n.button?(0,i.jsx)(Q(),{href:"/cashback/".concat(n.host),passHref:!0,children:(0,i.jsx)(d.m.a,{children:(0,i.jsx)(v.z,{mt:"4",variant:"primary",children:n.button})})}):null]})]})})}function ee(e){var n,t=e.section,s=r.useMemo((function(){var e;return null===t||void 0===t||null===(e=t.items)||void 0===e?void 0:e.filter((function(e){var n;return!(null===e||void 0===e||null===(n=e.hide_platforms)||void 0===n?void 0:n.includes(J.Z.WEB))}))}),[null===t||void 0===t?void 0:t.items]);return 0===(null===t||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)?null:(0,i.jsx)(g.Z,{children:(0,i.jsx)(Y.p,{in:!0,children:(0,i.jsx)(o.k,{mt:"4",mb:"2",align:"stretch",flexGrow:1,height:"280px",direction:"row",children:(0,i.jsxs)(G.sj,{isPlaying:!0,style:{width:"100%"},isIntrinsicHeight:!0,naturalSlideWidth:1e3,naturalSlideHeight:400,totalSlides:s.length,children:[(0,i.jsx)(G.iR,{style:{width:"100%"},children:s.sort((function(e,n){return e.position-n.position})).map((function(e){return(0,i.jsx)(G.Mi,{style:{width:"100%"},index:e.position,children:(0,i.jsx)(K,{item:e})},e._id)}))}),(0,i.jsx)(G.I5,{})]})})})})}var ne=t(60369),te=t(64262);function ie(e){var n=e.section,t=(0,w.Z)().auth,s=(0,r.useState)(9),a=s[0],l=s[1],c=(0,r.useState)(null),u=c[0],h=c[1],x=(0,L.yU)({element:u}).width,f=(0,ne.ek)(),C=f.following,m=f.loading;return(0,r.useEffect)((function(){if(null===C||void 0===C?void 0:C.length){var e=Math.floor((x-33)/120);e=e>C.length?C.length:e,l(e)}}),[C,x]),t?m?(0,i.jsx)(o.k,{direction:"column",children:(0,i.jsx)(O.O,{opacity:"0.25",height:"200px",rounded:"xl",my:"4"})}):(null===C||void 0===C?void 0:C.length)?(0,i.jsx)(g.Z,{children:(0,i.jsx)(Y.p,{in:!0,children:(0,i.jsxs)(o.k,{maxW:"1100px",bgColor:"surface",my:"2",rounded:["none","md"],direction:"column",children:[(0,i.jsx)(A.X,{as:"h2",pt:"6",px:"6",fontWeight:"bold",fontSize:"2xl",children:n.title}),(0,i.jsx)(G.sj,{isIntrinsicHeight:!0,naturalSlideWidth:120,naturalSlideHeight:400,totalSlides:C.length,visibleSlides:a,infinite:!0,children:(0,i.jsxs)(o.k,{direction:"row",ref:h,children:[(0,i.jsx)(G.iR,{children:C.map((function(e,n){return(0,i.jsx)(G.Mi,{index:n,children:(0,i.jsx)(Q(),{href:"/cashback/".concat(e.host),passHref:!0,children:(0,i.jsx)(d.m.a,{children:(0,i.jsxs)(p.g,{alignItems:"center",minW:120,my:"4",cursor:"pointer",children:[(0,i.jsx)(_.E,{rounded:"lg",bgColor:"surface",borderRadius:"lg",boxSize:"52px",alt:e.host,fallbackSrc:Z.sM,src:"".concat(Z.YS).concat(e.host,".png")}),(0,i.jsx)(A.X,{noOfLines:1,fontSize:"xs",fontWeight:"600",children:e.advertiser_name})]})})})},e.id)}))}),C.length>a&&(0,i.jsx)(G.P1,{children:(0,i.jsx)(te.Z,{mr:"5",color:"onSurfaceVariant",boxSize:"16px"})})]})})]})})}):null:null}var re=t(95231),se=t(80529);function ae(e){var n=e.section;switch(n.type){case Z.Uv:return(0,i.jsx)(re.Z,{section:n});case Z.lv:return(0,i.jsx)(X,{section:n});case Z.HY:return(0,i.jsx)(ee,{section:n});case Z.jd:return(0,i.jsx)(se.Z,{section:n});case Z.at:return(0,i.jsx)(ie,{section:n});default:return null}}function oe(e){var n=e.dashboard;return(0,i.jsx)(g.Z,{children:(0,i.jsx)(o.k,{w:["auto","auto","800px","1100px"],mx:["0","0","auto"],mb:"2",flexGrow:1,direction:"column",children:n?n.sections.map((function(e){return(0,i.jsx)(ae,{section:e},e._id)})):(0,i.jsx)(h.$,{m:"auto"})})})}var le=t(48366),ce=t(44920),de=t(88574),ue=t(2699),he=t(55281);function xe(){var e=(0,y.$)("landing").t,n=(0,M.ff)("/images/landing/app_store_light.png","/images/landing/app_store_dark.png"),t=(0,M.ff)("/images/landing/google_play_light.png","/images/landing/google_play_dark.png");return(0,i.jsx)(p.g,{p:{base:"16",lg:"10"},alignSelf:"center",maxW:"1200px",children:(0,i.jsxs)(he.K,{spacing:"12",alignItems:"center",direction:{base:"column-reverse",lg:"row"},justifyContent:"space-between",children:[(0,i.jsxs)(p.g,{spacing:"8",justifyContent:"center",align:"start",w:"50%",children:[(0,i.jsx)(A.X,{fontWeight:"bold",fontSize:["3xl","4xl"],textAlign:"center",children:e("mobile_section.title")}),(0,i.jsx)(c.x,{fontSize:"xl",textAlign:"center",color:"onSurface",children:e("mobile_section.subtitle")}),(0,i.jsxs)(q.U,{spacing:"5",w:"100%",justifyContent:"center",children:[(0,i.jsx)(Q(),{passHref:!0,href:Z.ML,children:(0,i.jsx)(_.E,{src:n,alt:"App Store",maxWidth:{base:"100px",xl:"156px"},height:"auto",cursor:"pointer"})}),(0,i.jsx)(Q(),{passHref:!0,href:Z.ML,children:(0,i.jsx)(_.E,{src:t,alt:"Google Play",maxWidth:{base:"100px",xl:"160px"},height:"auto",cursor:"pointer"})})]}),(0,i.jsxs)(p.g,{gap:"0",w:"100%",justifyContent:"center",children:[(0,i.jsx)(c.x,{fontSize:"xs",children:"Escanea para descargar"}),(0,i.jsx)(_.E,{src:"/images/landing/qoala-qr.png",alt:"QR Code",height:"150px"})]})]}),(0,i.jsx)(p.g,{w:"50%",children:(0,i.jsx)(_.E,{alignSelf:"center",src:"/images/landing/mobile-featured-es.png",alt:"Destacados",maxWidth:["290px","375px","420px"],height:"auto"})})]})})}var fe=t(73022),Ce=t(22338);function ge(e){var n=e.campaignContent,t=(0,y.$)("landing").t,s=(0,r.useCallback)((function(){(0,L.aT)();var e=ce.ZP.get(ce.gC);(0,S.Kz)(void 0,S.j5,{utm_campaign:null!==e&&void 0!==e?e:"",context:"hero"}),_cio.track(S.j5,{utm_campaign:null!==e&&void 0!==e?e:"",context:"hero"})}),[]);return(0,i.jsx)(g.Z,{children:(0,i.jsx)(l.xu,{bgColor:"surface",bgImage:["none","/images/landing-google/landing-bg.png"],bgRepeat:"no-repeat",bgPosition:["bottom 100px left","bottom 30px left","left"],bgSize:["18%","20%","20%","13%"],children:(0,i.jsx)(Ce.W,{maxW:["auto","auto","800px","1400px"],flexGrow:1,bgImage:["none",n?n.image:"/gifs/search_qoala.gif"],bgRepeat:"no-repeat",bgPosition:"bottom 30px right",bgSize:"20%",children:(0,i.jsxs)(o.k,{justifyContent:"center",direction:"column",h:["80vh","85vh"],alignItems:"center",children:[(0,i.jsx)(A.X,{as:"h1",color:"primary",fontFamily:"Manrope",textAlign:"center",fontWeight:"700",fontSize:["lg","xl","2xl"],maxW:"700px",mb:6,children:n?n.title:"Compra siempre con el mejor precio."}),(0,i.jsx)(A.X,{as:"h2",textAlign:"center",fontWeight:"600",maxW:"750px",fontSize:["xl","4xl"],mt:["4",null],mb:4,children:"Compra como siempre y Qoala te conseguira el mejor precio. Asi de facil."}),(0,i.jsx)(q.U,{children:(0,i.jsxs)(p.g,{children:[(0,i.jsxs)(o.k,{my:8,direction:"column",justifyContent:"center",children:[(0,i.jsx)(_.E,{alt:"Qoala rating",src:"/images/landing-google/stars-rating.png",maxW:"123px",margin:"auto",mb:2}),(0,i.jsxs)(c.x,{align:"center",children:["Mas de ",(0,i.jsx)(c.x,{as:"span",fontWeight:"600",children:"350.000 usuarios confi\xe1n"})," en nosotros"]})]}),(0,i.jsx)(l.xu,{display:["none","block"],children:(0,i.jsx)(v.z,{onClick:s,variant:"primary",display:["none","block","block"],rounded:50,fontSize:"xl",fontFamily:"Manrope",fontWeight:"600",size:"lg",paddingX:8,children:t("add_to_browser")})}),(0,i.jsx)(l.xu,{children:(0,i.jsx)(v.z,{onClick:s,variant:"primary",display:["block","none","none"],fontSize:"xl",fontFamily:"Manrope",fontWeight:"600",rounded:50,size:"lg",paddingX:8,children:t("download_extension")})}),(0,i.jsx)(c.x,{color:"onSurfaceVariant",fontSize:"md",fontWeight:"semibold",marginTop:1,children:"\xa1Es Gratis!"})]})})]})})})})}var me=t(45669);function pe(){return(0,i.jsx)(g.Z,{children:(0,i.jsx)(l.xu,{bgColor:"surface",children:(0,i.jsxs)(Ce.W,{maxW:["auto","auto","800px","1400px"],flexGrow:1,children:[(0,i.jsxs)(p.g,{pb:48,children:[(0,i.jsx)(_.E,{src:"/images/landing/qoala_messages.png",objectFit:"contain",alt:"Qoala discounts",mb:12}),(0,i.jsxs)(A.X,{as:"h3",maxW:"680px",textAlign:"center",children:[(0,i.jsx)(c.x,{as:"span",fontSize:"4xl",color:"followButton",children:"Qoala aplica automaticamente todos los cupones disponibles para tu compra"}),", y cuando no haya, te devolveremos parte de lo que te gastas.",(0,i.jsx)(c.x,{as:"span",fontSize:"4xl",color:"primary",children:" Todos ganamos."})]})]}),(0,i.jsxs)(p.g,{pb:8,children:[(0,i.jsx)(_.E,{mt:8,src:"/images/landing/purchase_bag.png",alt:"Purchase bag",mb:12}),(0,i.jsx)(A.X,{as:"h3",fontSize:"3xl",textAlign:"center",fontWeight:"600",children:"+4,000 tiendas"}),(0,i.jsx)(c.x,{fontSize:"xl",maxW:"475px",textAlign:"center",mb:4,children:"\xbfComprando un vuelo? \xbfRe-haciendo tu armario? Qoala te consigue cupones y cashback en mas de 4.000 tiendas"}),(0,i.jsxs)(o.k,{my:4,gap:12,alignItems:"center",justifyContent:"center",wrap:"wrap",children:[(0,i.jsx)(_.E,{src:"/images/landing/brand-adidas.png",objectFit:"contain",maxHeight:["12px","30px","40px"],alt:"adidas"}),(0,i.jsx)(_.E,{src:"/images/landing/brand-aliexpress.png",objectFit:"contain",maxHeight:["12px","30px","40px"],alt:"AliExpress"}),(0,i.jsx)(_.E,{src:"/images/landing/brand-fnac.png",objectFit:"contain",maxHeight:["12px","30px","45px"],alt:"fnac"}),(0,i.jsx)(_.E,{src:"/images/landing/brand-mediamarkt.png",objectFit:"contain",maxHeight:["12px","30px","25px"],alt:"MediaMarkt"}),(0,i.jsx)(_.E,{src:"/images/landing/brand-edreams.png",objectFit:"contain",maxHeight:["12px","30px","35px"],alt:"eDreams"})]}),(0,i.jsx)(Q(),{href:"/login",passHref:!0,children:(0,i.jsx)(c.x,{fontSize:"xl",as:"a",_hover:{color:"primary"},children:"Ver todas"})})]})]})})})}var je=t(36948);function Me(e){return(0,i.jsxs)(je.J,(0,H.Z)((0,$.Z)({width:"66",height:"64",viewBox:"0 0 66 64",fill:"none"},e),{children:[(0,i.jsx)("ellipse",{cx:"32.9981",cy:"32",rx:"32.0617",ry:"32",fill:"#FEF7C3"}),(0,i.jsx)("g",{clipPath:"url(#clip0_724_196)",children:(0,i.jsx)("path",{d:"M41.63 44.9984C41.4627 44.9985 41.2977 44.9604 41.148 44.8872L32.998 40.8991L24.848 44.8872C24.6634 44.9775 24.4561 45.0142 24.2509 44.9928C24.0457 44.9713 23.851 44.8927 23.69 44.7663C23.529 44.6398 23.4085 44.4709 23.3427 44.2794C23.2768 44.0879 23.2685 43.8819 23.3187 43.686L25.3328 35.7816L19.2472 29.1559C19.1128 29.0091 19.0229 28.8284 18.9878 28.6343C18.9527 28.4401 18.9737 28.2402 19.0485 28.0572C19.1233 27.8741 19.2489 27.7151 19.4112 27.5982C19.5734 27.4813 19.7658 27.4112 19.9666 27.3956L28.682 26.7422L32.0154 19.5603C32.1129 19.389 32.2555 19.2464 32.4282 19.147C32.601 19.0477 32.7977 18.9954 32.998 18.9954C33.1983 18.9954 33.395 19.0477 33.5678 19.147C33.7405 19.2464 33.883 19.389 33.9806 19.5603L37.314 26.7422L46.0308 27.3985C46.2317 27.414 46.424 27.4842 46.5863 27.6011C46.7485 27.7179 46.8741 27.8769 46.9489 28.06C47.0237 28.243 47.0447 28.4429 47.0096 28.6371C46.9745 28.8312 46.8847 29.0119 46.7502 29.1587L40.6589 35.7774L42.673 43.6817C42.7135 43.8374 42.7172 44.0001 42.6837 44.1574C42.6503 44.3147 42.5806 44.4625 42.48 44.5894C42.3795 44.7164 42.2506 44.8192 42.1033 44.8901C41.956 44.961 41.7941 44.998 41.63 44.9984V44.9984ZM32.998 38.6614C33.1653 38.6611 33.3304 38.6992 33.4799 38.7727L40.0144 41.9707L38.4246 35.7492C38.3818 35.5813 38.3817 35.4057 38.4243 35.2378C38.467 35.0698 38.551 34.9147 38.6692 34.786L43.6772 29.3404L36.5112 28.801C36.3189 28.7861 36.1342 28.7212 35.9762 28.613C35.8181 28.5048 35.6924 28.3573 35.612 28.1857L32.998 22.5556L30.3839 28.1885C30.3038 28.3603 30.1782 28.508 30.0201 28.6162C29.862 28.7244 29.6771 28.7892 29.4848 28.8039L22.3188 29.3432L27.3268 34.7888C27.4446 34.9177 27.5285 35.0728 27.5711 35.2407C27.6137 35.4086 27.6138 35.5841 27.5713 35.752L25.9816 41.9707L32.516 38.7727C32.6656 38.6992 32.8307 38.6611 32.998 38.6614V38.6614Z",fill:"#C6B11E"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_724_196",children:(0,i.jsx)("rect",{width:"28.0539",height:"26",fill:"white",transform:"translate(18.9711 19)"})})})]}))}function be(e){return(0,i.jsxs)(je.J,(0,H.Z)((0,$.Z)({width:"65",height:"64",viewBox:"0 0 65 64",fill:"none"},e),{children:[(0,i.jsx)("ellipse",{cx:"32.4393",cy:"32",rx:"32.0617",ry:"32",fill:"#E8F1FA"}),(0,i.jsx)("g",{clipPath:"url(#clip0_724_196)",children:(0,i.jsx)("path",{d:"M33.4413 24C33.4413 23.7348 33.3357 23.4804 33.1478 23.2929C32.9599 23.1054 32.7051 23 32.4393 23C32.1736 23 31.9188 23.1054 31.7309 23.2929C31.543 23.4804 31.4374 23.7348 31.4374 24H33.4413ZM31.4374 26.6667C31.4374 26.9319 31.543 27.1862 31.7309 27.3738C31.9188 27.5613 32.1736 27.6667 32.4393 27.6667C32.7051 27.6667 32.9599 27.5613 33.1478 27.3738C33.3357 27.1862 33.4413 26.9319 33.4413 26.6667H31.4374ZM33.4413 37.3333C33.4413 37.0681 33.3357 36.8138 33.1478 36.6262C32.9599 36.4387 32.7051 36.3333 32.4393 36.3333C32.1736 36.3333 31.9188 36.4387 31.7309 36.6262C31.543 36.8138 31.4374 37.0681 31.4374 37.3333H33.4413ZM31.4374 40C31.4374 40.2652 31.543 40.5196 31.7309 40.7071C31.9188 40.8946 32.1736 41 32.4393 41C32.7051 41 32.9599 40.8946 33.1478 40.7071C33.3357 40.5196 33.4413 40.2652 33.4413 40H31.4374ZM36.447 27.6667C36.7128 27.6667 36.9676 27.5613 37.1555 27.3738C37.3434 27.1862 37.449 26.9319 37.449 26.6667C37.449 26.4015 37.3434 26.1471 37.1555 25.9596C36.9676 25.772 36.7128 25.6667 36.447 25.6667V27.6667ZM31.1034 26.6667V25.6667V26.6667ZM33.7752 37.3333V36.3333V37.3333ZM28.4316 36.3333C28.1659 36.3333 27.911 36.4387 27.7231 36.6262C27.5353 36.8138 27.4297 37.0681 27.4297 37.3333C27.4297 37.5986 27.5353 37.8529 27.7231 38.0404C27.911 38.228 28.1659 38.3333 28.4316 38.3333V36.3333ZM33.7752 32V31V32ZM31.1034 32V31V32ZM30.0815 26.8693L29.6981 25.9453L30.0815 26.8693ZM28.6347 28.3133L27.7089 27.9307L28.6347 28.3133ZM28.6347 30.3533L27.7089 30.736L28.6347 30.3533ZM29.2145 31.2187L29.9225 30.512L29.2145 31.2187ZM30.0815 31.7973L29.6981 32.7213L30.0815 31.7973ZM34.7972 37.1307L35.1806 38.0547L34.7972 37.1307ZM36.244 35.6867L37.1698 36.0693L36.244 35.6867ZM36.244 33.6467L37.1698 33.264L36.244 33.6467ZM35.6642 32.7813L34.9562 33.488L35.6642 32.7813ZM34.7972 32.2027L35.1806 31.2787L34.7972 32.2027ZM43.4605 32C43.4605 34.9174 42.2994 37.7153 40.2325 39.7782C38.1656 41.8411 35.3623 43 32.4393 43V45C35.8938 45 39.2068 43.6304 41.6494 41.1924C44.0921 38.7544 45.4644 35.4478 45.4644 32H43.4605ZM32.4393 43C29.5163 43 26.713 41.8411 24.6462 39.7782C22.5793 37.7153 21.4181 34.9174 21.4181 32H19.4143C19.4143 35.4478 20.7866 38.7544 23.2292 41.1924C25.6719 43.6304 28.9849 45 32.4393 45V43ZM21.4181 32C21.4181 29.0826 22.5793 26.2847 24.6462 24.2218C26.713 22.1589 29.5163 21 32.4393 21V19C28.9849 19 25.6719 20.3696 23.2292 22.8076C20.7866 25.2456 19.4143 28.5522 19.4143 32H21.4181ZM32.4393 21C35.3623 21 38.1656 22.1589 40.2325 24.2218C42.2994 26.2847 43.4605 29.0826 43.4605 32H45.4644C45.4644 28.5522 44.0921 25.2456 41.6494 22.8076C39.2068 20.3696 35.8938 19 32.4393 19V21ZM31.4374 24V26.6667H33.4413V24H31.4374ZM31.4374 37.3333V40H33.4413V37.3333H31.4374ZM36.447 25.6667H31.1034V27.6667H36.447V25.6667ZM33.7752 36.3333H28.4316V38.3333H33.7752V36.3333ZM33.7752 31H31.1034V33H33.7752V31ZM31.1034 25.6667C30.6212 25.6666 30.1436 25.7613 29.6981 25.9453L30.4649 27.7933C30.6673 27.7095 30.8843 27.6664 31.1034 27.6667V25.6667ZM29.6981 25.9453C29.2519 26.1318 28.8467 26.4035 28.5051 26.7453L29.9225 28.16C30.0778 28.0052 30.2621 27.8824 30.4649 27.7987L29.6981 25.9453ZM28.5051 26.7453C28.1626 27.0862 27.8904 27.4907 27.7035 27.936L29.5551 28.7013C29.639 28.4989 29.762 28.315 29.9171 28.16L28.5051 26.7453ZM27.7035 27.936C27.5217 28.3794 27.4286 28.8542 27.4297 29.3333H29.4335C29.4354 29.1142 29.4808 28.8975 29.5671 28.696L27.7035 27.936ZM27.4297 29.3333C27.4296 29.8146 27.5245 30.2913 27.7089 30.736L29.5605 29.9707C29.4764 29.7687 29.4333 29.5521 29.4335 29.3333H27.4297ZM27.7089 30.736C27.8954 31.181 28.1677 31.5852 28.5104 31.9253L29.9278 30.512C29.7727 30.357 29.6497 30.1731 29.5658 29.9707L27.7089 30.736ZM28.5104 31.9253C28.8513 32.2679 29.2568 32.5398 29.7034 32.7253L30.4702 30.8773C30.2674 30.7936 30.0831 30.6708 29.9278 30.516L28.5104 31.9253ZM29.7034 32.7253C30.1476 32.9073 30.6232 33.0006 31.1034 33V31C30.8838 30.9981 30.6668 30.9528 30.4649 30.8667L29.7034 32.7253ZM33.7752 38.3333C34.2575 38.3334 34.735 38.2387 35.1806 38.0547L34.4138 36.2067C34.2119 36.2928 33.9948 36.3381 33.7752 36.34V38.3333ZM35.1806 38.0547C35.627 37.8694 36.032 37.5975 36.3722 37.2547L34.9562 35.8413C34.8009 35.9961 34.6166 36.1189 34.4138 36.2027L35.1806 38.0547ZM36.3722 37.2547C36.7157 36.9151 36.9882 36.5109 37.1738 36.0653L35.3222 35.3C35.2383 35.5024 35.1153 35.6863 34.9602 35.8413L36.3722 37.2547ZM37.1738 36.0653C37.3563 35.6216 37.4498 35.1464 37.449 34.6667H35.4451C35.4432 34.8858 35.3978 35.1025 35.3115 35.304L37.1738 36.0653ZM37.449 34.6667C37.449 34.1854 37.3542 33.7087 37.1698 33.264L35.3182 34.0293C35.4045 34.2309 35.4499 34.4475 35.4518 34.6667H37.449ZM37.1698 33.264C36.9842 32.8185 36.7117 32.4142 36.3682 32.0747L34.9522 33.488C35.1072 33.643 35.2303 33.8269 35.3142 34.0293L37.1698 33.264ZM36.3682 32.0747C36.028 31.7318 35.623 31.4599 35.1766 31.2747L34.4098 33.1227C34.6126 33.2064 34.7969 33.3292 34.9522 33.484L36.3682 32.0747ZM35.1766 31.2747C34.732 31.0925 34.2559 30.9992 33.7752 31V33C33.9948 33.0019 34.2119 33.0472 34.4138 33.1333L35.1766 31.2747Z",fill:"#34AFCC"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_724_196",children:(0,i.jsx)("rect",{width:"26.0501",height:"26",fill:"white",transform:"translate(19.4143 19)"})})})]}))}function ve(e){return(0,i.jsxs)(je.J,(0,H.Z)((0,$.Z)({width:"65",height:"64",viewBox:"0 0 65 64",fill:"none"},e),{children:[(0,i.jsx)("ellipse",{cx:"32.5607",cy:"32",rx:"32.0617",ry:"32",fill:"#F0F0FF"}),(0,i.jsx)("g",{clipPath:"url(#clip0_724_196)",children:(0,i.jsx)("path",{d:"M39.5497 44C38.6231 43.9993 37.7347 43.6425 37.0795 43.0079C36.4243 42.3734 36.0559 41.5128 36.0552 40.6154C36.0537 40.0804 36.1844 39.5529 36.4364 39.0769H32.4972C32.7492 39.5529 32.8799 40.0804 32.8784 40.6154C32.8787 41.1368 32.7546 41.6513 32.5158 42.1187C32.277 42.586 31.93 42.9936 31.5017 43.3097C31.0735 43.6257 30.5756 43.8416 30.047 43.9406C29.5184 44.0395 28.9733 44.0189 28.4543 43.8802C27.9353 43.7415 27.4565 43.4885 27.055 43.141C26.6536 42.7935 26.3405 42.3608 26.1402 41.8768C25.9399 41.3928 25.8578 40.8705 25.9002 40.3506C25.9426 39.8308 26.1085 39.3275 26.3849 38.88C26.0481 38.7287 25.7555 38.4984 25.5336 38.21C25.3117 37.9216 25.1676 37.5842 25.1142 37.2283L24.733 34.608V34.5785L23.0874 23.5311V23.5015L22.8396 21.8462H20.4887C20.2359 21.8462 19.9935 21.7489 19.8148 21.5758C19.6361 21.4027 19.5356 21.1679 19.5356 20.9231C19.5356 20.6783 19.6361 20.4435 19.8148 20.2704C19.9935 20.0973 20.2359 20 20.4887 20H23.6655C23.895 20.0001 24.1168 20.0803 24.2902 20.2258C24.4636 20.3714 24.577 20.5726 24.6097 20.7926L24.8549 22.4615H44.6327C44.7836 22.4617 44.9324 22.4966 45.0667 22.5633C45.201 22.6299 45.3171 22.7265 45.4054 22.8451C45.4937 22.9637 45.5518 23.1008 45.5747 23.2453C45.5977 23.3898 45.5849 23.5375 45.5375 23.6763L41.7252 34.7532C41.6617 34.937 41.5401 35.0967 41.3778 35.21C41.2155 35.3233 41.0205 35.3844 40.8205 35.3846H26.7611L26.9949 36.9662C27.0058 37.0393 27.0435 37.1063 27.1011 37.1549C27.1587 37.2034 27.2324 37.2304 27.3087 37.2308H39.5497C40.4765 37.2308 41.3654 37.5874 42.0207 38.2221C42.6761 38.8568 43.0443 39.7177 43.0443 40.6154C43.0443 41.513 42.6761 42.3739 42.0207 43.0087C41.3654 43.6434 40.4765 44 39.5497 44ZM39.5497 39.0769C39.2356 39.0769 38.9285 39.1672 38.6673 39.3362C38.406 39.5052 38.2025 39.7455 38.0822 40.0266C37.962 40.3078 37.9306 40.6171 37.9918 40.9155C38.0531 41.214 38.2044 41.4881 38.4266 41.7032C38.6487 41.9184 38.9317 42.0649 39.2399 42.1243C39.548 42.1836 39.8674 42.1532 40.1576 42.0367C40.4479 41.9203 40.6959 41.7231 40.8705 41.4701C41.045 41.2171 41.1382 40.9197 41.1382 40.6154C41.1375 40.2076 40.9699 39.8166 40.6722 39.5282C40.3744 39.2399 39.9708 39.0776 39.5497 39.0769ZM29.3839 39.0769C29.0697 39.0769 28.7626 39.1672 28.5014 39.3362C28.2402 39.5052 28.0366 39.7455 27.9163 40.0266C27.7961 40.3078 27.7647 40.6171 27.826 40.9155C27.8872 41.214 28.0385 41.4881 28.2607 41.7032C28.4828 41.9184 28.7658 42.0649 29.074 42.1243C29.3821 42.1836 29.7015 42.1532 29.9917 42.0367C30.282 41.9203 30.53 41.7231 30.7046 41.4701C30.8791 41.2171 30.9723 40.9197 30.9723 40.6154C30.9716 40.2076 30.804 39.8166 30.5063 39.5282C30.2086 39.2399 29.8049 39.0776 29.3839 39.0769ZM26.4891 33.5385H40.133L43.3099 24.3077H25.1269L26.4891 33.5385Z",fill:"#897DDB"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_724_196",children:(0,i.jsx)("rect",{width:"26.0501",height:"24",fill:"white",transform:"translate(19.5356 20)"})})})]}))}function _e(e){return(0,i.jsxs)(je.J,(0,H.Z)((0,$.Z)({width:"65",height:"64",viewBox:"0 0 65 64",fill:"none"},e),{children:[(0,i.jsx)("ellipse",{cx:"32.1213",cy:"32",rx:"32.0617",ry:"32",fill:"#FFEBD6"}),(0,i.jsx)("g",{clipPath:"url(#clip0_724_196)",children:(0,i.jsx)("path",{d:"M49.0049 44C48.6996 44 48.4068 43.8777 48.1909 43.6599C47.975 43.4421 47.8537 43.1467 47.8537 42.8387V41.2903C47.8521 39.9562 47.326 38.6772 46.3909 37.7338C45.4558 36.7904 44.1879 36.2597 42.8654 36.2581H42.098C41.7927 36.2581 41.4999 36.1357 41.284 35.9179C41.0681 35.7001 40.9468 35.4048 40.9468 35.0968C40.9468 34.7888 41.0681 34.4934 41.284 34.2756C41.4999 34.0578 41.7927 33.9355 42.098 33.9355H42.8654C44.7983 33.9379 46.6512 34.7136 48.018 36.0924C49.3847 37.4712 50.1536 39.3405 50.156 41.2903V42.8387C50.156 43.1467 50.0348 43.4421 49.8189 43.6599C49.603 43.8777 49.3102 44 49.0049 44ZM41.3305 44C41.0252 44 40.7324 43.8777 40.5166 43.6599C40.3007 43.4421 40.1794 43.1467 40.1794 42.8387V41.2903C40.1778 39.9562 39.6517 38.6772 38.7166 37.7338C37.7814 36.7904 36.5136 36.2597 35.1911 36.2581H29.0516C27.7291 36.2597 26.4613 36.7904 25.5261 37.7338C24.591 38.6772 24.0649 39.9562 24.0633 41.2903V42.8387C24.0633 43.1467 23.942 43.4421 23.7261 43.6599C23.5103 43.8777 23.2175 44 22.9122 44C22.6068 44 22.314 43.8777 22.0982 43.6599C21.8823 43.4421 21.761 43.1467 21.761 42.8387V41.2903C21.7634 39.3405 22.5323 37.4712 23.8991 36.0924C25.2658 34.7136 27.1188 33.9379 29.0516 33.9355H35.1911C37.1239 33.9379 38.9769 34.7136 40.3436 36.0924C41.7104 37.4712 42.4793 39.3405 42.4817 41.2903V42.8387C42.4817 43.1467 42.3604 43.4421 42.1445 43.6599C41.9287 43.8777 41.6359 44 41.3305 44ZM15.2378 44C14.9325 44 14.6397 43.8777 14.4238 43.6599C14.208 43.4421 14.0867 43.1467 14.0867 42.8387V41.2903C14.0891 39.3405 14.858 37.4712 16.2247 36.0924C17.5915 34.7136 19.4444 33.9379 21.3773 33.9355H22.1447C22.45 33.9355 22.7428 34.0578 22.9587 34.2756C23.1746 34.4934 23.2959 34.7888 23.2959 35.0968C23.2959 35.4048 23.1746 35.7001 22.9587 35.9179C22.7428 36.1357 22.45 36.2581 22.1447 36.2581H21.3773C20.0548 36.2597 18.7869 36.7904 17.8518 37.7338C16.9167 38.6772 16.3906 39.9562 16.389 41.2903V42.8387C16.389 43.1467 16.2677 43.4421 16.0518 43.6599C15.8359 43.8777 15.5431 44 15.2378 44ZM39.7957 31.6129C39.4904 31.6129 39.1976 31.4906 38.9817 31.2728C38.7658 31.055 38.6445 30.7596 38.6445 30.4516C38.6445 30.1436 38.7658 29.8482 38.9817 29.6305C39.1976 29.4127 39.4904 29.2903 39.7957 29.2903C40.7116 29.2903 41.59 28.9233 42.2376 28.2699C42.8853 27.6166 43.2491 26.7304 43.2491 25.8065C43.2491 24.8825 42.8853 23.9963 42.2376 23.343C41.59 22.6896 40.7116 22.3226 39.7957 22.3226C39.4904 22.3226 39.1976 22.2002 38.9817 21.9824C38.7658 21.7647 38.6445 21.4693 38.6445 21.1613C38.6445 20.8533 38.7658 20.5579 38.9817 20.3401C39.1976 20.1224 39.4904 20 39.7957 20C41.3222 20 42.7862 20.6118 43.8656 21.7007C44.945 22.7896 45.5514 24.2665 45.5514 25.8065C45.5514 27.3464 44.945 28.8233 43.8656 29.9122C42.7862 31.0012 41.3222 31.6129 39.7957 31.6129ZM32.1214 31.6129C30.983 31.6129 29.8702 31.2724 28.9236 30.6343C27.9771 29.9963 27.2394 29.0895 26.8037 28.0285C26.3681 26.9675 26.2541 25.8 26.4762 24.6737C26.6983 23.5473 27.2465 22.5127 28.0514 21.7007C28.8564 20.8886 29.882 20.3356 30.9985 20.1116C32.115 19.8875 33.2723 20.0025 34.324 20.442C35.3757 20.8815 36.2746 21.6257 36.9071 22.5806C37.5395 23.5354 37.8771 24.658 37.8771 25.8065C37.8755 27.3459 37.2685 28.8219 36.1895 29.9104C35.1104 30.999 33.6474 31.6113 32.1214 31.6129ZM32.1214 22.3226C31.4383 22.3226 30.7706 22.5269 30.2027 22.9097C29.6348 23.2925 29.1922 23.8366 28.9308 24.4732C28.6694 25.1098 28.601 25.8103 28.7343 26.4861C28.8675 27.1619 29.1964 27.7827 29.6794 28.2699C30.1624 28.7571 30.7777 29.089 31.4476 29.2234C32.1175 29.3578 32.8119 29.2888 33.4429 29.0251C34.074 28.7614 34.6133 28.3149 34.9928 27.742C35.3723 27.1691 35.5748 26.4955 35.5748 25.8065C35.574 24.8827 35.2099 23.9971 34.5624 23.3439C33.9149 22.6907 33.037 22.3234 32.1214 22.3226ZM24.447 31.6129C22.9205 31.6129 21.4565 31.0012 20.3771 29.9122C19.2977 28.8233 18.6913 27.3464 18.6913 25.8065C18.6913 24.2665 19.2977 22.7896 20.3771 21.7007C21.4565 20.6118 22.9205 20 24.447 20C24.7523 20 25.0451 20.1224 25.261 20.3401C25.4769 20.5579 25.5982 20.8533 25.5982 21.1613C25.5982 21.4693 25.4769 21.7647 25.261 21.9824C25.0451 22.2002 24.7523 22.3226 24.447 22.3226C23.5311 22.3226 22.6527 22.6896 22.0051 23.343C21.3574 23.9963 20.9936 24.8825 20.9936 25.8065C20.9936 26.7304 21.3574 27.6166 22.0051 28.2699C22.6527 28.9233 23.5311 29.2903 24.447 29.2903C24.7523 29.2903 25.0451 29.4127 25.261 29.6305C25.4769 29.8482 25.5982 30.1436 25.5982 30.4516C25.5982 30.7596 25.4769 31.055 25.261 31.2728C25.0451 31.4906 24.7523 31.6129 24.447 31.6129Z",fill:"#FB8500"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_724_196",children:(0,i.jsx)("rect",{width:"36.0694",height:"24",fill:"white",transform:"translate(14.0867 20)"})})})]}))}function ye(e){var n=e.title,t=e.subtitle,r=e.icon;return(0,i.jsxs)(p.g,{align:"center",spacing:"2",children:[(0,i.jsx)(je.J,{boxSize:{base:"14",md:"16"},as:r}),(0,i.jsx)(c.x,{fontWeight:"bold",fontSize:{base:"2xl",md:"3xl"},children:n}),(0,i.jsx)(c.x,{noOfLines:2,textAlign:"center",fontSize:{base:"md",lg:"lg"},children:t})]})}function Ze(){return(0,i.jsxs)(p.g,{p:{base:"16",md:"24"},spacing:{base:"16",md:"16"},my:24,children:[(0,i.jsx)(_.E,{src:"/images/landing/qoins.png",maxWidth:"92px",height:"auto",alt:"Qoins"}),(0,i.jsx)(A.X,{textAlign:"center",fontWeight:"bold",fontSize:["3xl","4xl"],color:"onSurface",children:"No lo decimos solo nosotros"}),(0,i.jsxs)(F.M,{columns:{base:2,md:4},spacing:{base:"8",md:"16",lg:"24"},alignSelf:"center",maxW:"1440px",children:[(0,i.jsx)(ye,{icon:_e,title:"350k",subtitle:"Usuarios"}),(0,i.jsx)(ye,{icon:ve,title:"4.500",subtitle:"Tiendas"}),(0,i.jsx)(ye,{icon:Me,title:"4.7/5",subtitle:"Estrellas en Webstore"}),(0,i.jsx)(ye,{icon:be,title:"88.62\u20ac",subtitle:"Ahorrados de media"})]})]})}function Le(){var e=(0,r.useState)()[0];return(0,r.useEffect)((function(){var e=ce.ZP.get(ce.gC),n=ce.ZP.get(ce.nv),t=ce.ZP.get(ce.g8);(0,S.Kz)(void 0,S.kj,{page_name:S.s6,utm_source:n,utm_campaign:e,utm_medium:t})}),[]),(0,i.jsx)(g.Z,{children:(0,i.jsxs)(p.g,{spacing:"0",flexGrow:1,align:"stretch",children:[(0,i.jsx)(de.Z,{}),(0,i.jsx)(l.xu,{w:"1px",h:"64px"}),(0,i.jsx)(ge,{campaignContent:e}),(0,i.jsx)(me.Z,{}),(0,i.jsx)(pe,{}),(0,i.jsx)(Ze,{}),e?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(xe,{}),(0,i.jsx)(fe.Z,{}),(0,i.jsx)(ue.Z,{})]})]})})}var Se=t(11163),we=t(4298),$e=t.n(we),He=!0;function ke(e){var n=e.dashboard,t=(0,Se.useRouter)(),s=(0,w.Z)(),x=s.auth,p=s.loading,j=(0,ne.aF)().user;return(0,r.useEffect)((function(){x&&(j&&!(null===j||void 0===j?void 0:j.country)&&t.push(Z.F5),(0,ne.qS)(x,{last_seen:new Date}).then().catch((function(e){return console.log(e)})))}),[x,t,j]),(0,r.useEffect)((function(){(0,le.ZP)()}),[]),(0,i.jsxs)(g.Z,{children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:"Cashback en miles de tiendas | Ahorra hasta un 5% + 10\u20ac por registrarte"}),(0,i.jsx)("link",{rel:"canonical",href:"https://www.joinqoala.com"}),(0,i.jsx)("meta",{name:"description",content:"Consigue hasta un 5% de dinero de vuelta. Gracias a nuestro cashback contamos con las mejores ofertas de ".concat((0,L.fm)(f()().locale("es").format("MMMM")),".")}),(0,i.jsx)("meta",{name:"author",content:"Joinqoala"})]}),(0,i.jsx)($e(),{id:"CookieConsent",src:"https://policy.app.cookieinformation.com/uc.js","data-culture":"ES","data-gcm-version":"2.0",type:"text/javascript"}),x?(0,i.jsxs)(o.k,{bgColor:"surfaceVariant",flexGrow:1,direction:"column",children:[(0,i.jsx)(C.Z,{}),(0,i.jsx)(l.xu,{height:z.Mz}),(null===j||void 0===j?void 0:j.country)===Z.Z8.SPAIN?(0,i.jsx)(l.xu,{alignItems:"center",padding:"4",bgColor:"primary",children:(0,i.jsxs)(c.x,{textAlign:"center",color:"white",fontSize:"lg",fontWeight:"600",children:["\ud83d\udd25 \ud83d\udd25 \xa1Reg\xedstrate y haz tu 1\xaa compra en MIRAVIA y\u2026 \xa1Gana 5\u20ac por la cara!"," ",(0,i.jsx)(Q(),{passHref:!0,href:"/sorteo/miravia",children:(0,i.jsx)(d.m.span,{cursor:"pointer",textDecoration:"underline",color:"white",children:"Date de alta aqui"})})," ","\ud83d\udd25 \ud83d\udd25"]})}):null,(0,i.jsx)(W,{}),(0,i.jsx)(oe,{dashboard:n}),(0,i.jsx)(m.Z,{})]}):p?(0,i.jsx)(u.M,{bgColor:"surfaceVariant",flexGrow:1,children:(0,i.jsx)(h.$,{color:"primary"})}):(0,i.jsx)(Le,{})]})}},34495:function(e,n){"use strict";var t;!function(e){e.WEB="Web",e.MOBILE="Mobile",e.EXTENSION="Extension"}(t||(t={})),n.Z=t},22338:function(e,n,t){"use strict";t.d(n,{W:function(){return c}});var i=t(16554),r=t(33179),s=t(77030),a=t(3818),o=t(25432),l=t(85893),c=(0,i.G)((function(e,n){const{className:t,centerContent:i,...c}=(0,r.Lr)(e),d=(0,s.mq)("Container",e);return(0,l.jsx)(a.m.div,{ref:n,className:(0,o.cx)("chakra-container",t),...c,__css:{...d,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})}));c.displayName="Container"}},function(e){e.O(0,[5445,5892,1704,816,5623,3e3,399,159,2023,8246,1592,8200,5603,6419,766,9774,2888,179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]);