(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[18],{"+s6w":function(e,t,a){"use strict";var i=a("sIHJ"),n=a("A1sm"),c=a("ERkP"),r=(a("aWzz"),a("7O4Y")),o=a("dJc8"),s=a("N79G"),l=c.forwardRef((function(e,t){var a=e.absolute,o=void 0!==a&&a,s=e.classes,l=e.className,d=e.component,j=void 0===d?"hr":d,b=e.flexItem,m=void 0!==b&&b,p=e.light,h=void 0!==p&&p,u=e.orientation,O=void 0===u?"horizontal":u,x=e.role,f=void 0===x?"hr"!==j?"separator":void 0:x,g=e.variant,v=void 0===g?"fullWidth":g,y=Object(n.a)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return c.createElement(j,Object(i.a)({className:Object(r.a)(s.root,l,"fullWidth"!==v&&s[v],o&&s.absolute,m&&s.flexItem,h&&s.light,"vertical"===O&&s.vertical),role:f,ref:t},y))}));t.a=Object(o.a)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(s.c)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(l)},FQ9D:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return h})),a.d(t,"c",(function(){return u})),a.d(t,"d",(function(){return O}));var i=a("5siB"),n=a.n(i),c=a("+V53");Object(c.i)()&&n.a.polyfill();const r=(e,t,a=0)=>{if(!e)return;const i=globalThis,n=i.pageYOffset||e.scrollTop,c=e.getBoundingClientRect().top+n-a;i.parent.scrollTo({top:c,behavior:t})};var o=a("BTL3"),s=a("7Gza");var l=a.n(s)()({values:{xs:0,sm:480,md:768,lg:992,xl:1200}}),d=a("rDKd");const j={palette:{type:"light",common:d.a,colors:{yellow:d.g,red:d.e,green:d.b,purple:d.d,teal:d.f,grey:d.c},primary:{main:d.g[300],dark:d.g[500]},secondary:{main:d.d[500],dark:d.d[400]},error:{main:d.e[500],dark:d.e[400]},grey:d.c},breakpoints:l};Object(o.a)(j);var b=a("ERkP"),m=a("mweN"),p=a("jg1C");var h=({children:e,theme:t})=>Object(p.jsx)(m.a,{theme:t,children:e});function u(e,t,a={debounce:0}){const{debounce:i}=a,{0:n,1:c}=Object(b.useState)(""),{0:r,1:o}=Object(b.useState)(e),s=a=>{c(a),o(e.filter((e=>t(e,a))))},l=function(e,{miliseconds:t=100}){const a=Object(b.useRef)();return Object(b.useCallback)(((...i)=>{void 0!==a.current&&clearTimeout(a.current),a.current=setTimeout((function(){e.apply(this,i)}),t)}),[e,t])}(s,{miliseconds:i});return[r,e=>{i>0?l(e):s(e)},n]}function O({allowMultiple:e=!1,initialItemsSelected:t=[]}){const{0:a,1:i}=Object(b.useState)(t);Object(b.useEffect)((()=>{a!==t&&i(t)}),[t]);return[a,t=>{const n=a.indexOf(t);i(n>=0?[...a.slice(0,n),...a.slice(n+1)]:e?[t,...a]:[t])},()=>{i([])}]}},XMvh:function(e,t,a){"use strict";a.d(t,"b",(function(){return _e})),a.d(t,"c",(function(){return qe})),a.d(t,"d",(function(){return Xe})),a.d(t,"a",(function(){return Ze}));var i=a("ERkP"),n=a.n(i),c=a("LHL8"),r=a("Bkb1"),o=a("UE5/"),s=a("KEZU"),l=a("L4Mh"),d=a("yUsM"),j=a("RrMC"),b=a("TuTm"),m=a("LIo8"),p=a("ToJA"),h=a("Gt+H"),u=a("aw66"),O=a("0YZl"),x=a("boRH"),f=a("aKBm"),g=a("KewH"),v=a("jg1C");function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){Object(c.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}const N="SEO Tables",T=Object(o.a)((({spacing:e,breakpoints:t,palette:a})=>({container:{[null===t||void 0===t?void 0:t.down("sm")]:{paddingLeft:"0",paddingRight:"0"}},root:{overflowX:"inherit",[null===t||void 0===t?void 0:t.up("md")]:{padding:e(0,2)}},tableCellHead:{borderBottom:"none",padding:0,"&:first-child":{paddingLeft:e(2),[t.up("md")]:{paddingLeft:e(5.5)},"& > div":{[t.up("md")]:{paddingLeft:e(6)}}},"&:last-child":{paddingRight:e(2),[t.up("md")]:{paddingRight:e(5.5)}}},tableCellHeadTitle:{fontWeight:600,[t.up("md")]:{fontWeight:400}},tableBody:{border:`1px solid ${a.primary.main}`}})));var w=function({title:e,tariffs:t,headers:a,RowComponent:n,bgcolor:c="common.white"}){const{container:o,root:y,tableCellHead:w,tableCellHeadTitle:I,tableBody:A}=T(),S=Object(r.useRouter)(),{thorAxService:L}=Object(g.b)(),D=Object(i.useCallback)((({path:e})=>{S.push(e)}),[S]);return Object(i.useEffect)((()=>{L.sendProductsImpresion({items:t.map(((e,t)=>C(C({},e),{},{position:`tabla-${t+1}`}))),customPositions:!0})}),[L,t]),Object(i.useEffect)((()=>{const e=t.map((e=>{const t=Object(f.D)(e).map((e=>Object(x.d)(e,N)));return[Object(x.d)(e,N),...t]}));Object(x.u)({items:e.flat(),item_list_id:N,item_list_name:N})}),[]),Object(v.jsx)(s.a,{pb:25,bgcolor:c,id:"rates-table",children:Object(v.jsxs)(l.a,{maxWidth:"xl",component:"section",className:o,children:[Object(v.jsx)(s.a,{py:6,px:8,children:Object(v.jsx)(d.a,{color:"primary",component:"h2",variant:"h3",children:e})}),Object(v.jsx)(j.a,{component:b.a,className:y,children:Object(v.jsxs)(m.a,{children:[Object(v.jsx)(p.a,{children:Object(v.jsx)(h.a,{children:a.map((({text:e,colSpan:t},a)=>Object(v.jsx)(u.a,{colSpan:null!==t&&void 0!==t?t:1,className:w,children:Object(v.jsx)(s.a,{display:"flex",alignItems:"center",alignContent:"flex-start",bgcolor:"grey.300",py:3,pl:{xs:2,md:3},children:Object(v.jsx)(d.a,{variant:"h5",component:"span",className:I,children:e})})},`table-cell-${a+1}`)))})}),Object(v.jsx)(O.a,{className:A,children:t.map(((e,t)=>Object(v.jsx)(n,{tariff:e,position:t,onClick:D},e.id)))})]})})]})})};const I=[{text:"FIBRA"},{text:"MOVIL"},{text:"PRECIOS",colSpan:2}],A=[{text:"DATOS"},{text:"LLAMADAS"},{text:"PRECIOS",colSpan:2}];var S=a("+V53"),L=a("nD/U"),D=a("jvFD"),k=a.n(D),E=a("FBF/"),P=a("gBNo"),M=a("zmDv"),R=a("aKsK");const B=Object(o.a)((({spacing:e,breakpoints:t,palette:a})=>({root:{paddingRight:e(4),paddingLeft:"0",verticalAlign:"middle",borderBottom:"none",position:"relative",[t.up("md")]:{width:"10%",paddingRight:"0"},"&:after":{content:'""',width:"calc(100% - 22px)",position:"absolute",bottom:0,borderBottom:`2px solid ${a.grey[300]}`}},action:{width:"200px",marginRight:e(10)},arrowIcon:{transform:"rotate(-90deg)"}}))),F="VER DETALLES";var $=function({tariffPath:e}){const{root:t,action:a,arrowIcon:i}=B();return Object(v.jsx)(u.a,{className:t,children:Object(v.jsx)(k.a,{href:e,children:Object(v.jsxs)(s.a,{textAlign:"right",children:[Object(v.jsx)(E.a,{implementation:"css",smDown:!0,children:Object(v.jsx)(P.a,{href:e,variant:"outlined",className:a,children:F})}),Object(v.jsx)(E.a,{implementation:"css",mdUp:!0,children:Object(v.jsx)(M.a,{href:e,children:Object(v.jsx)(R.a,{color:"primary",className:i})})})]})})})};const V=Object(o.a)((({breakpoints:e,spacing:t,palette:a})=>({root:{padding:t(3,2),borderBottom:"none",position:"relative",[e.up("md")]:{padding:t(3)},"&:after":{content:'""',width:"100%",position:"absolute",bottom:0,right:t(-3),borderBottom:`2px solid ${a.grey[300]}`,[e.up("md")]:{right:t(-6)}},"&:first-child":{width:"25%",paddingLeft:t(4),[e.up("md")]:{paddingLeft:t(11),width:"30%"}},"&:nth-child(2)":{[e.up("md")]:{width:"30%"}},"&:nth-child(3)":{width:"37%",paddingRight:0,[e.up("md")]:{width:"30%",paddingRight:t(4)}}},boldText:{[e.up("md")]:{fontSize:"18px",fontWeight:700,color:a.common.black}},smallText:{[e.up("md")]:{fontSize:"14px"}}})));var W=function({text:e,subText:t,metas:a}){const{root:i,smallText:n,boldText:c}=V();return Object(v.jsx)(u.a,{className:i,children:Object(v.jsxs)(s.a,{children:[a&&a.map(((e,t)=>Object(v.jsx)("meta",{itemProp:e.itemProp,content:e.content},`rates-table-cell-${t}`))),Object(v.jsx)(d.a,{variant:"body2",color:"primary",className:`${c} semibold`,children:e}),t&&Object(v.jsx)(d.a,{variant:"caption",className:n,children:t})]})})};const U="SEO Tables",z=Object(o.a)((()=>({root:{verticalAlign:"top",cursor:"pointer","&:last-child > td:after":{content:"none"}}})));var _=({tariff:e,position:t,children:a,onClick:n})=>{const{root:c}=z(),{thorAxService:r}=Object(g.b)(),o=Object(L.getCoreServices)(e),s=[Object(L.generateAxItems)(e,U),...o.map((e=>Object(L.generateAxItems)(e,U)))];Object(i.useEffect)((()=>{Object(L.sendAXViewItem)({items:s,value:e.totalMonthlyFeeWithDiscounts.withIva})}),[]);const l=Object(i.useCallback)((()=>{n(e),r.sendProductClick({item:e,ctaText:F,position:`tabla-${t+1}`}),Object(L.sendAXSelectItem)({items:s,item_list_id:U,item_list_name:U})}),[r,e,t,n]);return Object(v.jsx)(h.a,{className:c,itemScope:!0,itemType:"http://schema.org/Offer",onClick:l,children:a})};var G=function({tariff:e,position:t,onClick:a}){const i=Object(f.L)(e),n=Object(f.H)(e),{getSegmentTax:c}=Object(L.useTaxes)(),r=c(e.segment);return i&&n?Object(v.jsxs)(_,{onClick:a,tariff:e,position:t,children:[n.internetSpeed&&Object(v.jsx)(W,{text:f.k[n.internetSpeed],subText:"y l\xednea fija",metas:[{itemProp:"alternateName",content:`Tarifa fibra ${f.k[n.internetSpeed]} y m\xf3vil ${i.internetDataCapacity}`},{itemProp:"description",content:`${f.k[n.internetSpeed]} de fibra \xf3ptica y l\xednea fija con ${i.internetDataCapacity} de datos m\xf3viles y llamadas ilimitadas`}]}),Object(v.jsx)(W,{text:`${i.internetDataCapacity}`,subText:Object(f.x)(i,(({isVoiceUnlimited:e,voiceCapacity:t})=>""+(e?"y llamadas ilimitadas":`y ${t} minutos`)))}),Object(v.jsx)(W,{text:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[r])}\u20ac/${Object(f.N)(e)}`,subText:Object(f.v)(e,(({hasDiscount:t,months:a,monthlyFee:i})=>t?`durante ${a} meses, luego ${Object(S.d)(i[r])}\u20ac/${Object(f.N)(e)}`:"\xa1Para siempre!")),metas:[{itemProp:"price",content:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[r])}`},{itemProp:"priceCurrency",content:"EUR"}]}),Object(v.jsx)($,{tariffPath:e.path})]},`rates-table-row-${e.id}`):null};var H=function({title:e,tariffs:t,bgcolor:a}){return Object(v.jsx)(w,{title:e,tariffs:t,headers:I,RowComponent:G,bgcolor:a})};var q=function({tariff:e,position:t,onClick:a}){const n=Object(f.L)(e),c=Object(i.useMemo)((()=>Object(f.J)(e)),[e]),r=Object(i.useMemo)((()=>Object(f.R)(e)),[e]),o=Object(i.useMemo)((()=>r===f.s.UNLIMITED&&(!c||!Object(f.W)(c))),[r,c]),{getSegmentTax:s}=Object(L.useTaxes)(),l=s(e.segment);return n?Object(v.jsxs)(_,{onClick:a,tariff:e,position:t,children:[o?Object(v.jsx)(v.Fragment,{children:Object(v.jsx)(W,{text:"-",subText:"Sin GB",metas:[{itemProp:"alternateName",content:"Tarifa m\xf3vil con llamadas ilimitadas"},{itemProp:"description",content:"Llamadas a fijos y m\xf3viles ilimitadas"}]})}):Object(v.jsx)(W,{text:`${n.internetDataCapacity}`,metas:[{itemProp:"alternateName",content:`Tarifa m\xf3vil ${n.internetDataCapacity}`},{itemProp:"description",content:`${n.internetDataCapacity} de datos m\xf3viles y llamadas a fijos y m\xf3viles`}]}),Object(v.jsx)(W,{text:Object(f.x)(n,(({isVoiceUnlimited:e,voiceCapacity:t})=>""+(e?"y llamadas ilimitadas":`y ${t} minutos`)))}),Object(v.jsx)(W,{text:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[l])}\u20ac/${Object(f.N)(e)}`,subText:Object(f.v)(e,(({hasDiscount:t,months:a,monthlyFee:i})=>t?`durante ${a} meses, lluego ${Object(S.d)(i[l])}\u20ac/${Object(f.N)(e)}`:"\xa1Para siempre!")),metas:[{itemProp:"price",content:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[l])}`},{itemProp:"priceCurrency",content:"EUR"}]}),Object(v.jsx)($,{tariffPath:e.path})]},`rates-table-row-${e.id}`):null};var K=function({title:e,tariffs:t,bgcolor:a}){return Object(v.jsx)(w,{title:e,tariffs:t,headers:A,RowComponent:q,bgcolor:a})};var Y=function({tariff:e,position:t,onClick:a}){const n=Object(f.L)(e),c=Object(i.useMemo)((()=>Object(f.J)(e)),[e]),r=Object(i.useMemo)((()=>Object(f.R)(e)),[e]),o=Object(i.useMemo)((()=>r&&Object(f.Y)(r)),[r]),s=Object(i.useMemo)((()=>r===f.s.UNLIMITED&&(!c||!Object(f.W)(c))),[r,c]),l=L.TaxType.withIva;return n?Object(v.jsxs)(_,{onClick:a,tariff:e,position:t,children:[s?Object(v.jsx)(v.Fragment,{children:Object(v.jsx)(W,{text:"-",subText:"Sin GB",metas:[{itemProp:"alternateName",content:"Tarifa prepago con llamadas ilimitadas"},{itemProp:"description",content:"Llamadas a fijos y m\xf3viles ilimitadas"}]})}):Object(v.jsx)(W,{text:`${n.internetDataCapacity}`,metas:[{itemProp:"alternateName",content:`Tarifa prepago ${n.internetDataCapacity}`},{itemProp:"description",content:`${n.internetDataCapacity} de datos m\xf3viles y llamadas a fijos y m\xf3viles`}]}),o?Object(v.jsx)(W,{text:Object(f.x)(n,(({isVoiceUnlimited:e,voiceCapacity:t})=>" "+(e?"ilimitadas":`${t} min`))),subText:Object(f.x)(n,(({isVoiceUnlimited:e})=>""+(e?"a fijos y m\xf3viles":"")))}):Object(v.jsx)(W,{text:"-",subText:"Sin llamadas"}),Object(v.jsx)(W,{text:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[l])}\u20ac/${Object(f.N)(e)}`,subText:Object(f.v)(e,(({hasDiscount:t,months:a,monthlyFee:i})=>t?`durante ${a} meses, lluego ${Object(S.d)(i[l])}\u20ac/${Object(f.N)(e)}`:"\xa1Para siempre!")),metas:[{itemProp:"price",content:`${Object(S.d)(e.totalMonthlyFeeWithDiscounts[l])}`},{itemProp:"priceCurrency",content:"EUR"}]}),Object(v.jsx)($,{tariffPath:e.path})]},`rates-table-row-${e.id}`):null};var X=function({title:e,tariffs:t,bgcolor:a}){return Object(v.jsx)(w,{title:e,tariffs:t,headers:A,RowComponent:Y,bgcolor:a})},Z=(a("ZAMY"),a("uDfI")),J=a("qtMa"),Q=a("Q5Cj"),ee=a("rhty"),te=a("wSGm"),ae=a("/UJ3"),ie=a("Ft2k"),ne=a("aXG5");var ce=({tariffs:e})=>{if(e.length>0){const t=parseInt(Object(ie.w)(e[0]),10),a=Object(ie.H)(e[0])?"llamadas ilimitadas":t>0?`${t} min en llamadas`:"solo datos";return Object(v.jsx)(J.a,{container:!0,alignItems:"center",spacing:10,justify:"center",children:Object(v.jsx)(J.a,{item:!0,lg:e.length>=4?12:8,children:4===e.length?Object(v.jsx)(s.a,{mb:6,children:Object(v.jsx)(ne.a,{children:a})}):Object(v.jsx)(ne.a,{children:a})})})}return null},re=a("uVmk"),oe=a("T7Pj");var se=function({tariffs:e,title:t}){return e&&e.length?Object(v.jsx)(oe.b,{schema:[Object(L.itemListCreator)(e),Object(L.offerCatalogCreator)({items:e,name:t})]}):null},le=a("FQ9D"),de=a("7O4Y"),je=a("qrV5"),be=a("sQkG"),me=a("Mxk8"),pe=a("SvF0"),he=a("sn4y");const ue=Object(o.a)((({palette:e,spacing:t,breakpoints:a})=>({bonusItem:{position:"relative","&.recomended":{"&::after":{backgroundColor:e.secondary.main}},"&::after":{zIndex:-1,left:0,content:'""',height:"330px",width:"100%",position:"absolute",top:0,backgroundColor:e.grey[300],[null===a||void 0===a?void 0:a.up("lg")]:{height:"100px"}}},bonusVoiceCapacity:{fontSize:"40px",marginBottom:t(-2),lineHeight:"1",display:"inline-block",[null===a||void 0===a?void 0:a.up("xl")]:{fontSize:"48px"}},priceWrapper:{minWidth:"190px",textAlign:"center",[null===a||void 0===a?void 0:a.up("xl")]:{minWidth:"225px"}},priceBig:{fontSize:"65px",lineHeight:1.2},bonusItemDetail:{textAlign:"center",flexDirection:"column",padding:t(6,4,0),[null===a||void 0===a?void 0:a.up("lg")]:{flexDirection:"row",textAlign:"left",justifyContent:"space-between",padding:t(0,0,0,4)},[null===a||void 0===a?void 0:a.up("xl")]:{padding:t(0,0,0,6)},"& > div":{padding:t(0,2,0),"&:last-of-type":{padding:0,marginRight:"-1px"}}},linkShowDetails:{display:"flex",margin:t(4,0),alignItems:"center",[null===a||void 0===a?void 0:a.up("lg")]:{margin:0,minWidth:"165px"}},arrow:{marginLeft:t(4),transition:"transform 0.25s linear","&.open":{transform:"rotate(180deg)"}},sortCountryListText:{margin:t(4,0,0,0),textAlign:"center",[null===a||void 0===a?void 0:a.up("lg")]:{margin:0,maxWidth:"240px",textAlign:"left"},[null===a||void 0===a?void 0:a.up("xl")]:{maxWidth:"320px"}},infoExpanded:{padding:t(0,4,0),[null===a||void 0===a?void 0:a.up("lg")]:{padding:t(0,4,0)},[null===a||void 0===a?void 0:a.up("xl")]:{padding:t(0,8,0)}},infoExpandedTitle:{margin:t(2,0,0,0)},bonusItemRecomendedTag:{textAlign:"center",[null===a||void 0===a?void 0:a.up("lg")]:{position:"absolute",right:"-8px",top:"10px"}}})));var Oe=function({service:e,highlighted:t,orderInList:a,paymentType:c,taxType:r=L.TaxType.withIva}){var o;const{bonusItem:l,bonusItemDetail:j,bonusItemRecomendedTag:b,bonusVoiceCapacity:m,infoExpanded:p,infoExpandedTitle:h,sortCountryListText:u,arrow:O,linkShowDetails:x,priceBig:g,priceWrapper:y}=ue(),{0:C,1:N}=Object(i.useState)(!1),T=Object(f.O)(c),[w,I]=n.a.useState(!1),A=Object(f.I)(e);return Object(v.jsxs)(s.a,{"data-hook":"bonus-item",className:Object(de.a)(l,t&&"recomended"),px:6,mt:7.5,children:[Object(v.jsx)(s.a,{py:2,children:Object(v.jsx)(d.a,{variant:"subtitle1",className:"large bold",children:e.name})}),t&&Object(v.jsx)(s.a,{className:b,mb:2,children:Object(v.jsx)(pe.i,{promoText:"\xa1BONO RECOMENDADO!"})}),Object(v.jsxs)(s.a,{border:1,borderColor:"primary.main",bgcolor:"common.white",children:[Object(v.jsxs)(s.a,{display:"flex",alignItems:"center",className:j,children:[Object(v.jsxs)(s.a,{children:[Object(v.jsx)(d.a,{color:"primary",component:"span",className:`${m} bold`,children:e.voiceCapacity}),Object(v.jsxs)(d.a,{variant:"h3",color:"primary",component:"span",children:[" ","MIN"]})]}),Object(v.jsx)(s.a,{children:Object(v.jsxs)(d.a,{variant:"h2",color:"primary",children:[null===A||void 0===A||null===(o=A.countries)||void 0===o?void 0:o.length," pa\xedses"]})}),Object(v.jsx)(s.a,{className:`${u}`,children:Object(v.jsx)(d.a,{color:"primary",children:a>0?`Adem\xe1s: ${null===A||void 0===A?void 0:A.highlightedCountriesString}`:null===A||void 0===A?void 0:A.highlightedCountriesString})}),Object(v.jsxs)(s.a,{textAlign:"center",className:`${x}`,children:[Object(v.jsxs)(P.a,{className:"link underline",onClick:()=>N(!C),children:[C?"Ocultar":"Ver"," detalles"]}),Object(v.jsx)(R.a,{className:Object(de.a)(O,C&&"open")})]}),Object(v.jsx)(E.a,{implementation:"css",mdDown:!0,children:Object(v.jsxs)(s.a,{bgcolor:"primary.main",className:y,display:"flex",alignItems:"center",justifyContent:"center",py:2,children:[Object(v.jsx)(d.a,{variant:"h2",component:"span",className:g,color:"secondary",children:"+"}),Object(v.jsx)(he.b,{amount:e.monthlyFee,size:"xl",period:T,taxType:r})]})})]}),Object(v.jsx)(s.a,{className:p,children:Object(v.jsxs)(je.a,{in:C,children:[Object(v.jsx)(d.a,{variant:"subtitle2",className:`${h} large bold`,children:"Llamadas"}),Object(v.jsxs)(d.a,{paragraph:!0,children:["Incluye ",e.voiceCapacity," min de llamadas a fijo y m\xf3vil a los pa\xedses indicados, con establecimiento de llamada incluido. Superados los minutos del bono, se aplicar\xe1 una tarificaci\xf3n por minutos seg\xfan el pa\xeds de destino."]}),Object(v.jsx)(d.a,{variant:"subtitle2",className:"large bold",children:"Contrataci\xf3n y renovaci\xf3n"}),c===be.f.POSTPAID&&Object(v.jsx)(d.a,{paragraph:!0,children:"A\xf1\xe1delo durante el proceso de compra o si ya eres cliente de contrato, contr\xe1talo llamando gratis al 2376 desde tu n\xfamero Llamaya o en tu \xe1rea de cliente MI LLAMAYA. Una vez a\xf1adido a tu plan, este Bono se renueva autom\xe1ticamente. Puedes cancelar tu bono cuando quieras y no se aplicar\xe1 en el siguiente mes."}),c===be.f.PREPAID&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(d.a,{paragraph:!0,children:"Bono compatible con cualquier Plan y Bono, validez de 28 d\xedas desde la fecha de activaci\xf3n. Una vez a\xf1adido a tu plan, este Bono se renueva autom\xe1ticamente a los 28 d\xedas cuando dispongas de saldo."}),Object(v.jsxs)(d.a,{paragraph:!0,children:["A\xf1\xe1delo a tu Plan al contratar o activa tu bono en tu \xe1rea de cliente MI LLAMAYA o enviando un SMS con la palabra ",e.activationCode," al 2377. Puedes cancelar tu bono cuando quieras y no se aplicar\xe1 en el siguiente mes."]})]}),Object(v.jsx)(s.a,{my:6,children:Object(v.jsx)(d.a,{variant:"subtitle1",color:"primary",children:Object(v.jsx)(P.a,{fullWidth:!0,className:"link underline",onClick:()=>{I(!0)},children:"Ver Pa\xedses incluidos"})})}),Object(v.jsx)(me.a,{bonusName:e.name,countries:null===A||void 0===A?void 0:A.countries,open:w,onClose:()=>{I(!1)}})]})}),Object(v.jsx)(s.a,{children:Object(v.jsx)(E.a,{implementation:"css",lgUp:!0,children:Object(v.jsxs)(s.a,{bgcolor:"primary.main",className:y,display:"flex",alignItems:"center",justifyContent:"center",py:2,children:[Object(v.jsx)(d.a,{variant:"h2",component:"span",className:g,color:"secondary",children:"+"}),Object(v.jsx)(he.b,{amount:e.monthlyFee,size:"xl",period:T,taxType:r})]})})})]})]})},xe=a("l1z0"),fe=a("R/U4"),ge=a("gWZ7");const ve=Object(o.a)((({spacing:e,breakpoints:t})=>({searchIcon:{display:"none",[null===t||void 0===t?void 0:t.up("md")]:{marginRight:e(5),display:"inline"}}})));var ye=function({title:e,subtitle:t,paymentType:a,services:n}){const{searchIcon:c}=ve(),r=Object(i.useMemo)((()=>Object(xe.b)(n)),[n]),[o,l,j]=Object(le.c)(n,xe.a);return Object(v.jsx)(s.a,{mb:6,children:Object(v.jsxs)(J.a,{container:!0,children:[Object(v.jsx)(J.a,{item:!0,xs:12,lg:12,children:Object(v.jsxs)(s.a,{mx:7,my:6,children:[Object(v.jsx)(s.a,{my:2,children:Object(v.jsx)(d.a,{variant:"h3",color:"primary",children:e})}),Object(v.jsx)(s.a,{my:2,color:"grey.400",children:Object(v.jsx)(d.a,{children:t})})]})}),Object(v.jsx)(J.a,{item:!0,xs:12,lg:12,children:Object(v.jsx)(s.a,{p:7,bgcolor:"primary.main",children:Object(v.jsxs)(J.a,{container:!0,direction:"row",alignItems:"center",children:[Object(v.jsx)(J.a,{item:!0,lg:4,xs:12,children:Object(v.jsxs)(s.a,{color:"common.white",display:"flex",alignItems:"center",children:[Object(v.jsx)(d.a,{className:c,component:"span",children:Object(v.jsx)(ge.BonosInternacionales,{color:fe.g[500]})}),Object(v.jsx)(d.a,{variant:"subtitle1",className:"large bold",component:"span",children:"\xbfA qu\xe9 pa\xeds quieres llamar?"})]})}),Object(v.jsx)(J.a,{item:!0,lg:8,xs:12,children:Object(v.jsx)(s.a,{position:"relative",children:Object(v.jsx)(xe.c,{countries:r,onSelect:e=>{l(e)},minSearchTerm:3})})})]})})}),Object(v.jsx)(J.a,{item:!0,xs:12,lg:12,children:Object(v.jsx)(J.a,{container:!0,children:o.map(((e,t)=>Object(v.jsx)(Oe,{service:e,highlighted:0===t&&""!==j,orderInList:t,paymentType:a},`bonus-${t+1}`)))})})]})})},Ce=a("VqYj"),Ne=a.n(Ce),Te=a("DhFu"),we=a("02vo");const Ie=Object(o.a)((({spacing:e,breakpoints:t,palette:a})=>({promoStrip:{position:"relative",[null===t||void 0===t?void 0:t.up("lg")]:{display:"flex",justifyContent:"space-evenly","&::before":{content:'""',borderBottom:"20px solid transparent",borderTop:"20px solid transparent",borderLeft:`10px solid ${a.common.white}`,position:"absolute",bottom:0,left:0,top:0},"&::after":{content:'""',borderBottom:"20px solid transparent",borderTop:"20px solid transparent",borderRight:`10px solid ${a.common.white}`,position:"absolute",bottom:0,right:0,top:0}}},content:{padding:e(0,6)},actions:{justifyContent:"center",padding:e(12,0,4),"& button":{width:"100%",[null===t||void 0===t?void 0:t.up("sm")]:{width:"inherit"}}}})));var Ae=({highlightedPromo:e})=>{const{stripTitle:t,longDescription:a}=e,{0:n,1:c}=Object(i.useState)(!1),{promoStrip:r,content:o,actions:l}=Ie();return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)(s.a,{className:r,"data-hook":"promo-strip",width:1,p:2,mb:4,bgcolor:"primary.main",children:[Object(v.jsx)(d.a,{component:"span",className:"semibold",variant:"subtitle2",color:"textSecondary",children:t}),Object(v.jsx)(P.a,{className:"link",onClick:()=>c(!0),children:Object(v.jsx)(d.a,{className:"underline",component:"span",color:"textSecondary",children:"Ver condiciones"})})]}),Object(v.jsx)(pe.h,{open:n,openModal:c,modalHeader:"Condiciones promoci\xf3n",children:Object(v.jsxs)(Te.a,{className:o,children:[Object(v.jsx)(d.a,{paragraph:!0,variant:"h2",children:t}),Object(v.jsx)(d.a,{component:"div",paragraph:!0,children:Object(v.jsx)(Ne.a,{source:a})}),Object(v.jsx)(we.a,{className:l,children:Object(v.jsx)(P.a,{onClick:()=>c(!1),variant:"contained",color:"primary",children:"Volver"})})]})})]})},Se=a("qC11"),Le=a("eWgw"),De=a("0Hza");var ke=({children:e,filterValue:t,optionValue:a,filterOptions:i,isMobile:n=!1,onChange:c})=>{const r=a===t;return n?Object(v.jsx)(J.a,{item:!0,xs:3===i?4:6,onClick:()=>{return e=a,void(c&&c(e));var e},children:Object(v.jsx)(d.a,{className:r?"mobile-filter-item mobile-filter-item-active":"mobile-filter-item mobile-filter-item",children:e})}):Object(v.jsx)(Le.a,{value:a,control:Object(v.jsx)(De.a,{color:"primary"}),label:Object(v.jsx)(d.a,{className:"desktop-filter-item"+(r?" desktop-filter-item-selected":""),color:r?"primary":void 0,variant:"body2",children:e})})};const Ee=Object(o.a)((({palette:e,spacing:t})=>({mobileFilter:{border:`1px solid ${e.primary.main}`,color:e.common.black,cursor:"pointer",marginTop:t(4),"& .mobile-filter-item":{color:e.primary.main,padding:t(1.5,0),textAlign:"center"},"& .mobile-filter-item-active":{backgroundColor:e.primary.main,color:e.common.white,fontWeight:600}},desktopFilter:{flexWrap:"nowrap","& .desktop-filter-item":{fontSize:"24px",fontWeight:300,margin:0},"& .desktop-filter-item-selected":{fontWeight:600}}}))),Pe=({filterValue:e,onChange:t,children:a})=>{const i=e=>{t(e)},{mobileFilter:c}=Ee();return Object(v.jsx)(J.a,{container:!0,className:c,alignContent:"center",justify:"center",children:n.a.Children.map(a,(t=>n.a.isValidElement(t)&&t.type===ke?n.a.cloneElement(t,{filterValue:e,onChange:i,isMobile:!0}):t))})},Me=({filterValue:e,onChange:t,children:a})=>{const i=e=>{t(e.target.value)},{desktopFilter:c}=Ee();return Object(v.jsx)(Se.a,{className:c,name:"speed",value:e,onChange:i,"data-hook":"internet-speed-options",row:!0,children:n.a.Children.map(a,(t=>n.a.isValidElement(t)&&t.type===ke?n.a.cloneElement(t,{filterValue:e,onChange:i,isMobile:!1}):t))})};var Re=({className:e,title:t,filterValue:a,onChange:i,children:n})=>Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(E.a,{implementation:"css",mdDown:!0,children:Object(v.jsxs)(J.a,{container:!0,direction:"row",alignItems:"center",children:[Object(v.jsx)(J.a,{item:!0,lg:6,xs:12,className:"text-center",children:Object(v.jsx)(s.a,{textAlign:"center",children:Object(v.jsx)(d.a,{color:"primary",component:"p",variant:"h3",children:t})})}),Object(v.jsx)(J.a,{item:!0,lg:6,xs:12,className:"text-center",children:Object(v.jsx)(Me,{filterValue:a,onChange:i,children:n})})]})}),Object(v.jsx)(E.a,{implementation:"css",lgUp:!0,children:Object(v.jsx)(J.a,{container:!0,className:e,direction:"row",alignItems:"center",children:Object(v.jsx)(J.a,{item:!0,lg:6,xs:12,children:Object(v.jsx)(Pe,{filterValue:a,onChange:i,children:n})})})})]});var Be=function({path:e,tariffs:t,promotions:a,filter:i}){const{thorAxService:n}=Object(g.b)();return Object(L.useDistributiveAx)({path:e,tariffs:t,promotions:a,filter:i,thorAxService:n})},Fe=a("vj/l"),$e=a("vd6b"),Ve=a("MwwD");const We=Object(o.a)((({breakpoints:e,spacing:t})=>({root:{paddingBottom:t(12)},head:{display:"contents"},title:{padding:t(2,0),textAlign:"center",[null===e||void 0===e?void 0:e.up("lg")]:{textAlign:"left"}},result:{textAlign:"center"}}))),Ue=[{offerType:L.OfferTypesAX.REGULAR,offeredService:"MOBILELINE",offeredProductName:"NUEVA TARIFA ADICIONAL 5GB",ppalImageAltText:"NUEVA TARIFA ADICIONAL 5GB",position:"Bottom Banner"}],ze=()=>{const{bysideService:e}=Object(g.b)();return Object(v.jsx)(J.a,{lg:4,item:!0,style:{textAlign:"right"},children:Object(v.jsxs)(E.a,{implementation:"css",mdDown:!0,children:[Object(v.jsx)(d.a,{component:"span",variant:"body2",children:"\xbfNecesitas ayuda?"}),Object(v.jsx)(L.BysideWidget,{display:"inline-flex",widgetId:"balon_verde_c2c_2020",bysideService:e})]})})};var _e=({pageId:e})=>{const{root:t,head:a,title:n,result:c}=We(),o=Object(Z.b)(),j=Object(r.useRouter)(),b=Object(L.useSEODetails)(),m=Object(Z.c)(ee.v),{distributive:{distributiveTariffs:p,tariffsFiltered:h,path:u,filter:O,highlightedPromotion:x}}=Object(L.useDistributive)(),f=Object(i.useMemo)((()=>Object(ee.j)(m)===ee.b.ADSL),[m]),g=Object(i.useMemo)((()=>p?Object(v.jsx)(H,{title:"TARIFAS FIBRA Y M\xd3VIL",tariffs:p}):null),[p]),y=Object(i.useMemo)((()=>p?Object(ae.a)(p,L.ServiceType.FIBER_LINE).sort(((e,t)=>t.localeCompare(e))):[]),[p]),C={filterValue:O||y[0],defaultValue:y[0],filters:y.map((e=>({label:`Fibra ${e}`,value:e})))},N=Object(i.useCallback)((e=>{o(Object(te.e)({filterKey:u,filterValue:e}))}),[o,te.e]);return Be({path:u,tariffs:h,filter:O,promotions:Ue}),Object(i.useEffect)((()=>{if(f||y.length<2)return void N(Ze);const{filterValue:e,defaultValue:t}=C,a=e!==Ze&&y.some((t=>t===e))?e:t;N(a)}),[f,y]),Object(i.useEffect)((()=>{const e=globalThis,t=Object(Q.f)(e,"filter");t&&C.filters.some((({value:e})=>e===t))&&N(t)}),[C,j.query]),Object(v.jsx)($e.a,{pageId:e,Layout:Ve.c,staticComponentsList:{0:Object(v.jsx)(Fe.a,{}),1:Object(v.jsxs)(l.a,{maxWidth:"xl",className:t,component:"section",children:[Object(v.jsx)(se,{tariffs:p,title:b.h1}),Object(v.jsx)(L.SmartBreadcrumbs,{}),Object(v.jsxs)(J.a,{container:!0,direction:"column",children:[Object(v.jsx)(J.a,{item:!0,className:a,children:Object(v.jsxs)(J.a,{container:!0,alignItems:"center",children:[Object(v.jsx)(J.a,{lg:8,item:!0,children:Object(v.jsx)(s.a,{mb:4,children:Object(v.jsx)(d.a,{className:n,variant:"h1",children:null!==b&&void 0!==b&&b.h1?null===b||void 0===b?void 0:b.h1:"Ofertas fibra y m\xf3vil"})})}),Object(v.jsx)(ze,{})]})}),x&&Object(v.jsx)(Ae,{highlightedPromo:x}),!f&&y.length>1&&Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(Re,{title:"Elige la VELOCIDAD DE FIBRA:",onChange:N,filterValue:O,children:C.filters.map((e=>Object(v.jsx)(ke,{filterOptions:C.filters.length,optionValue:e.value,children:e.label},e.value)))})}),Object(v.jsx)(s.a,{display:"flex",justifyContent:"flex-end",mt:{xs:-5,lg:-7.5},children:Object(v.jsx)(L.TaxesSelector,{segment:L.Segment.RESIDENTIAL})}),h&&(null===h||void 0===h?void 0:h.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(s.a,{mt:5,mb:4,textAlign:"center",className:c,children:Object(v.jsxs)(d.a,{component:"h2",children:["Tarifas de fibra \xf3ptica sim\xe9trica"," ",O&&O!==Ze?` de ${parseInt(O,10)}Mb`:""," ","+ m\xf3vil:"]})})}),Object(v.jsx)(J.a,{container:!0,className:"card-list-wrapper",children:Object(v.jsx)(re.a,{tariffs:h,showTitleCardGroup:!1})})]})]})]}),5:g}})};const Ge=Object(o.a)((({breakpoints:e,spacing:t})=>({root:{paddingBottom:t(12)},head:{display:"contents"},title:{padding:t(2,0),textAlign:"center",[null===e||void 0===e?void 0:e.up("lg")]:{textAlign:"left"}},result:{textAlign:"center"}}))),He=()=>{const{bysideService:e}=Object(g.b)();return Object(v.jsx)(J.a,{lg:4,item:!0,style:{textAlign:"right"},children:Object(v.jsxs)(E.a,{implementation:"css",mdDown:!0,children:[Object(v.jsx)(d.a,{component:"span",variant:"body2",children:"\xbfNecesitas ayuda?"}),Object(v.jsx)(L.BysideWidget,{display:"inline-flex",widgetId:"balon_verde_c2c_2020",bysideService:e})]})})};var qe=({pageId:e})=>{const t=Object(Z.b)(),a=Object(r.useRouter)(),n=Object(L.useSEODetails)(),c=Object(i.useRef)(null),{distributive:{distributiveTariffs:o,tariffsFiltered:j,services:b,path:m,filter:p,highlightedPromotion:h}}=Object(L.useDistributive)(),u=Object(i.useMemo)((()=>o?Object(ae.a)(o,L.ServiceType.MOBILE_LINE).sort():[]),[o]),O={filterValue:p,filters:u.map((e=>({label:e!==L.VoiceCapacity.UNLIMITED?`${e} min`:"Ilimitadas",value:e})))};Be({path:m,tariffs:j,filter:p});const{root:x,head:f,title:g,result:y}=Ge(),C=Object(i.useCallback)((e=>{t(Object(te.e)({filterKey:m,filterValue:e}))}),[t,te.e]);Object(i.useEffect)((()=>{const e=globalThis,t=Object(Q.f)(e,"filter");t&&O.filters.some((({value:e})=>e===t))&&C(t)}),[O,a.query]);const N=Object(i.useMemo)((()=>b&&p!==L.VoiceCapacity.NOCALLS?Object(v.jsx)("div",{id:"bonos",ref:c,children:Object(v.jsx)(ye,{title:"\xa1A\xd1ADE BONOS DE LLAMADAS INTERNACIONALES!",subtitle:"Podr\xe1s a\xf1adir bonos a tu tarifa durante el proceso de compra o m\xe1s tarde desde tu \xe1rea de usuario.",paymentType:L.PaymentType.POSTPAID,services:b})}):Object(v.jsx)(v.Fragment,{})),[p]),T=Object(i.useMemo)((()=>o?Object(v.jsx)(K,{title:"TARIFAS M\xd3VIL CONTRATO",tariffs:o}):null),[o]);return Object(v.jsx)($e.a,{pageId:e,Layout:Ve.c,staticComponentsList:{0:Object(v.jsxs)(l.a,{maxWidth:"xl",className:x,component:"section",children:[Object(v.jsx)(se,{tariffs:o,title:n.h1}),Object(v.jsx)(L.SmartBreadcrumbs,{}),Object(v.jsxs)(J.a,{container:!0,direction:"column",children:[Object(v.jsx)(J.a,{item:!0,className:f,children:Object(v.jsxs)(J.a,{container:!0,alignItems:"center",children:[Object(v.jsx)(J.a,{lg:8,item:!0,children:Object(v.jsx)(s.a,{mb:4,children:Object(v.jsx)(d.a,{className:g,variant:"h1",children:null!==n&&void 0!==n&&n.h1?null===n||void 0===n?void 0:n.h1:"Ofertas fibra y m\xf3vil"})})}),Object(v.jsx)(He,{})]})}),h&&Object(v.jsx)(Ae,{highlightedPromo:h}),O&&Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(Re,{title:"Elige las LLAMADAS:",onChange:C,filterValue:p,children:O.filters.map((e=>Object(v.jsx)(ke,{filterOptions:O.filters.length,optionValue:e.value,children:e.label},e.value)))})}),Object(v.jsx)(s.a,{display:"flex",justifyContent:"flex-end",mt:{lg:-7.5},children:Object(v.jsx)(L.TaxesSelector,{segment:L.Segment.RESIDENTIAL})}),j&&(null===j||void 0===j?void 0:j.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(s.a,{mt:5,mb:4,textAlign:"center",className:y,children:Object(v.jsx)(d.a,{component:"h2",children:"Tarifas de m\xf3vil de contrato con:"})})}),p&&"ALL"!==p&&Object(v.jsx)(E.a,{implementation:"css",mdDown:!0,children:Object(v.jsx)(J.a,{item:!0,className:"card-group-wrapper",children:Object(v.jsx)(ce,{tariffs:j})})}),Object(v.jsx)(J.a,{container:!0,className:"card-list-wrapper",children:Object(v.jsx)(re.a,{tariffs:j,showTitleCardGroup:!0})})]})]})]}),1:Object(v.jsx)(l.a,{maxWidth:"xl",className:x,component:"section",children:N}),4:T}})};const Ke=Object(o.a)((({breakpoints:e,spacing:t})=>({root:{paddingBottom:t(12)},head:{display:"contents"},title:{padding:t(2,0),textAlign:"center",[null===e||void 0===e?void 0:e.up("lg")]:{textAlign:"left"}},result:{textAlign:"center"}}))),Ye=[{offerType:L.OfferTypesAX.REGULAR,offeredService:"MOBILELINE",offeredProductName:"GRATIS BONO 20GB",ppalImageAltText:"\xbfPensando en traer tu n\xfamero?",position:"Top Banner"}];var Xe=({pageId:e})=>{const t=Object(Z.b)(),a=Object(r.useRouter)(),n=Object(L.useSEODetails)(),c=Object(i.useRef)(null),{distributive:{distributiveTariffs:o,tariffsFiltered:j,services:b,path:m,filter:p,highlightedPromotion:h}}=Object(L.useDistributive)(),u=Object(i.useMemo)((()=>o?Object(ae.a)(o,L.ServiceType.MOBILE_LINE):[]),[o]),O={filterValue:p,filters:u.map((e=>({label:e===L.VoiceCapacity.NOCALLS?"Solo datos":e!==L.VoiceCapacity.UNLIMITED?`${e} min`:"Ilimitadas",value:e})))};Be({path:m,tariffs:j,filter:p,promotions:Ye});const{root:x,head:f,title:g,result:y}=Ke(),C=Object(i.useCallback)((e=>{t(Object(te.e)({filterKey:m,filterValue:e}))}),[t,te.e]);Object(i.useEffect)((()=>{const e=globalThis,t=Object(Q.f)(e,"filter");t&&O.filters.some((({value:e})=>e===t))&&C(t)}),[O,a.query]);const N=Object(i.useMemo)((()=>b&&p!==L.VoiceCapacity.NOCALLS?Object(v.jsx)("div",{id:"bonos",ref:c,children:Object(v.jsx)(ye,{title:"\xa1A\xd1ADE BONOS DE LLAMADAS INTERNACIONALES!",subtitle:"Podr\xe1s a\xf1adir bonos a tu tarifa durante el proceso de compra o m\xe1s tarde desde tu \xe1rea de usuario.",paymentType:L.PaymentType.PREPAID,services:b})}):Object(v.jsx)(v.Fragment,{})),[p]),T=Object(i.useMemo)((()=>o?Object(v.jsx)(X,{title:"TARIFAS M\xd3VIL PREPAGO",tariffs:o}):null),[o]);return Object(v.jsx)($e.a,{pageId:e,Layout:Ve.c,staticComponentsList:{0:Object(v.jsxs)(l.a,{maxWidth:"xl",className:x,component:"section",children:[Object(v.jsx)(se,{tariffs:o,title:n.h1}),Object(v.jsx)(L.SmartBreadcrumbs,{}),Object(v.jsxs)(J.a,{container:!0,direction:"column",children:[Object(v.jsx)(J.a,{item:!0,className:f,children:Object(v.jsx)(J.a,{container:!0,alignItems:"center",children:Object(v.jsx)(J.a,{lg:8,item:!0,children:Object(v.jsx)(s.a,{mb:4,children:Object(v.jsx)(d.a,{className:g,variant:"h1",children:null!==n&&void 0!==n&&n.h1?null===n||void 0===n?void 0:n.h1:"Ofertas fibra y m\xf3vil"})})})})}),h&&Object(v.jsx)(Ae,{highlightedPromo:h}),O&&Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(Re,{title:"Elige las LLAMADAS:",onChange:C,filterValue:p,children:O.filters.map((e=>Object(v.jsx)(ke,{filterOptions:O.filters.length,optionValue:e.value,children:e.label},e.value)))})}),j&&(null===j||void 0===j?void 0:j.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(J.a,{item:!0,children:Object(v.jsx)(s.a,{mt:5,mb:4,textAlign:"center",className:y,children:Object(v.jsx)(d.a,{component:"h2",children:"Tarifas de m\xf3vil de prepago con:"})})}),p&&"ALL"!==p&&Object(v.jsx)(E.a,{implementation:"css",mdDown:!0,children:Object(v.jsx)(J.a,{item:!0,className:"card-group-wrapper",children:Object(v.jsx)(ce,{tariffs:j})})}),Object(v.jsx)(J.a,{container:!0,className:"card-list-wrapper",children:Object(v.jsx)(re.a,{tariffs:j,showTitleCardGroup:!0})})]})]})]}),2:Object(v.jsx)(l.a,{maxWidth:"xl",className:x,component:"section",children:N}),5:T}})};const Ze="ALL"},ZAMY:function(e,t,a){"use strict";var i=a("ERkP"),n=a("uDfI"),c=a("Bkb1"),r=a("UE5/"),o=a("KEZU"),s=a("boRH"),l=a("dFQh"),d=a("rhty"),j=a("aKBm"),b=a("nD/U"),m=a("qtMa"),p=a("Ft2k"),h=a("+V53"),u=a("yUsM"),O=a("SvF0"),x=a("sn4y"),f=a("jg1C");const g=Object(r.a)((({spacing:e,breakpoints:t})=>({tagPromo:{position:"absolute",maxWidth:"120px",top:e(-4),right:e(-3),[null===t||void 0===t?void 0:t.up("sm")]:{top:e(-2),right:e(-4)},[null===t||void 0===t?void 0:t.only("lg")]:{right:e(-4.5)}}})));var v=({tariff:e,taxType:t})=>{const{tagPromo:a}=g(),i=Object(p.s)(e),[n,c]=Object(h.n)(e.totalMonthlyFee[t]),r=Object(p.B)(e);return Object(f.jsx)(o.a,{bgcolor:"primary.main",color:"secondary.main",position:"relative",px:1,pt:8,pb:2,children:Object(f.jsxs)(m.a,{container:!0,direction:"column",alignItems:"center",children:[Object(f.jsx)(x.a,{fullWidth:!0,subline:r&&Object(f.jsx)(u.a,{variant:"caption",color:"secondary",className:"large",children:`${e.priceConditions}, despu\xe9s ${n}${c}\u20ac`}),children:Object(f.jsx)(x.b,{amount:e.totalMonthlyFeeWithDiscounts,size:"xl",period:i,taxType:Object(b.isPrepaid)(e)?b.TaxType.withIva:t})}),e.highlightedCard&&Object(p.L)(e)&&Object(f.jsx)(o.a,{className:a,children:Object(f.jsx)(O.i,{promoText:e.highlightedCard,inverted:!0,small:!0})})]})})},y=a("+s6w");const C=Object(r.a)((({palette:e,breakpoints:t,spacing:a})=>({root:{"& .card-service-highlighted":{backgroundColor:e.primary.dark,borderRadius:a(2),margin:a(3,"auto",2),maxWidth:"300px",padding:a(.5)},"& .card-service-capacity":{fontSize:"65px",lineHeight:1},"& .card-service-voice-only":{[t.up("lg")]:{marginTop:a(12)}},"& .card-service-data-only":{[t.up("lg")]:{marginBottom:a(10)}},"& .service-mobile .capacity-number":{fontSize:"48px",[t.down("lg")]:{fontSize:"36px"}},"& .service-mobile-prepaid, .service-mobile-postpaid":{"& hr":{marginTop:a(4)}}},divider:{backgroundColor:e.primary.light,height:"1px",margin:a(2,"auto",0,"auto"),width:"70%"},tagPromo:{position:"absolute",maxWidth:"95px",right:a(-4.5),top:a(6),[null===t||void 0===t?void 0:t.up("sm")]:{top:a(5),right:a(-4)},[null===t||void 0===t?void 0:t.only("lg")]:{right:a(-4.5)}}}))),N=({voiceCapacity:e})=>Object(f.jsxs)(m.a,{item:!0,children:[Object(f.jsxs)(m.a,{container:!0,alignItems:"baseline",justify:"center",children:[Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(u.a,{className:"capacity-number bold",variant:"h3",component:"span",color:"textSecondary",children:parseInt(e,10)})}),Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(o.a,{ml:2,children:Object(f.jsx)(u.a,{variant:"h3",component:"span",color:"textSecondary",children:"min"})})})]}),Object(f.jsx)(o.a,{mt:-2,mb:2,children:Object(f.jsx)(u.a,{variant:"subtitle2",component:"span",color:"textSecondary",className:"bold",children:"en llamadas"})})]}),T=({service:e})=>e.internetDataCapacity||e.internetSpeed?Object(f.jsxs)(u.a,{variant:"subtitle2",component:"span",color:"textSecondary",className:"bold",children:["y llamadas"," ",Object(f.jsx)(u.a,{variant:"subtitle2",component:"span",color:"textSecondary",className:"bold",children:"ilimitadas"})]}):Object(f.jsxs)(u.a,{variant:"subtitle2",component:"span",color:"textSecondary",className:"bold",children:["Llamadas",Object(f.jsx)("br",{}),"ilimitadas"]});var w=({service:e,tariff:t})=>{const a=e.internetDataCapacity?parseInt(e.internetDataCapacity,10):void 0,i=Object(p.bb)(t),{root:n,divider:c,tagPromo:r}=C();return Object(f.jsxs)(o.a,{className:n,bgcolor:"primary.main",color:"common.white",textAlign:"center",position:"relative",mx:2,py:1,children:[Object(f.jsx)(y.a,{className:`${c} top`}),t.highlightedCard&&i&&Object(f.jsx)(o.a,{className:r,children:Object(f.jsx)(O.i,{promoText:t.highlightedCard,inverted:!0,small:!0})}),Object(f.jsx)(o.a,{className:`service-mobile service-mobile-${t.paymentType.toLowerCase()}`,pt:3,children:Object(f.jsxs)(m.a,{container:!0,direction:"column",alignItems:"center",children:[a&&Object(f.jsx)(m.a,{item:!0,children:Object(f.jsxs)(m.a,{container:!0,alignItems:"baseline",children:[Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(u.a,{className:"card-service-capacity",variant:"h3",component:"span",color:"textSecondary",children:a})}),Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(o.a,{ml:2,children:Object(f.jsx)(u.a,{variant:"h2",component:"span",color:"textSecondary",children:"GB"})})})]})}),Object(f.jsx)(m.a,{item:!0,component:o.a,width:1,children:Object(f.jsxs)(o.a,{className:Object(p.Z)(e)?"card-service-data-only":"",children:[e.internetDataCapacity&&Object(f.jsx)(u.a,{variant:"caption",className:"large",color:"textSecondary",children:"Internet m\xf3vil a velocidad 4G"}),!Object(p.Z)(e)&&Object(f.jsxs)(f.Fragment,{children:[Object(p.X)(t)&&e.internetDataCapacity&&Object(f.jsx)(y.a,{className:c}),Object(f.jsxs)(o.a,{pb:2,pt:3,className:e.internetDataCapacity?"card-service-minutes":"card-service-voice-only",children:[Object(p.eb)(e)?Object(f.jsx)(T,{service:e}):Object(f.jsx)(N,{voiceCapacity:e.voiceCapacity}),Object(f.jsx)(u.a,{component:"p",variant:"caption",className:"large",color:"textSecondary",children:"a fijos y m\xf3viles nacionales"})]}),i&&!Object(p.eb)(e)?Object(f.jsx)(o.a,{className:"card-service-highlighted",children:Object(f.jsx)(u.a,{className:"bold",color:"textSecondary",children:"y con llamadas ilimitadas GRATIS a n\xfameros Llamaya"})}):""]})]})})]})})]})};const I=Object(r.a)((({breakpoints:e})=>({root:{[null===e||void 0===e?void 0:e.up("lg")]:{flex:1}},container:{[null===e||void 0===e?void 0:e.up("lg")]:{height:"100%"}}})));var A=({tariff:e,onViewDetails:t})=>{const a=Object(p.i)(e).sort(((e,t)=>e.serviceType.localeCompare(t.serviceType))),{getSegmentTax:i}=Object(b.useTaxes)(),n=i(e.segment),{root:c,container:r}=I();return Object(f.jsx)(o.a,{className:c,bgcolor:"primary.main",color:"common.white",children:Object(f.jsx)("a",{href:e.path,onClick:t,children:Object(f.jsxs)(m.a,{container:!0,className:r,alignItems:"stretch",direction:"column",children:[Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(o.a,{px:2,children:Object(f.jsx)(v,{tariff:e,taxType:n})})}),a.map((t=>Object(f.jsx)(m.a,{item:!0,children:Object(f.jsx)(w,{tariff:e,service:t})},t.name)))]})})})},S=a("jvFD"),L=a.n(S),D=a("gBNo"),k=a("E0sA"),E=a("PD3E"),P=a("aKsK");const M=Object(r.a)((({spacing:e,breakpoints:t})=>({arrowLink:{"&.link":{display:"flex","& span":{[t.only("lg")]:{fontSize:"14px"}}}},arrowRight:{margin:e(-.5,0,-.5,6),transform:"rotate(-90deg)",[null===t||void 0===t?void 0:t.up("lg")]:{margin:e(-.5,0,-1,3)}}})));var R=({disableAddToCart:e,linkFooter:t,tariff:a,detailsButtonText:n,onAddToCart:c,onViewDetails:r})=>{const{0:s,1:l}=Object(i.useState)(!1),d=Object(i.useRef)(null),j=e?"No disponible":"Lo quiero";const{arrowLink:b,arrowRight:h}=M();return Object(f.jsxs)(m.a,{container:!0,direction:"column",children:[Object(f.jsx)(o.a,{mt:2,children:Object(f.jsx)(D.a,{component:"a",href:a.path,variant:"outlined",onClick:e=>r(e,n),fullWidth:!0,children:Object(f.jsx)(u.a,{color:"primary",variant:"h3",component:"span",children:n})})}),!t&&Object(f.jsxs)(m.a,{item:!0,children:[Object(f.jsx)(o.a,{mt:2,children:Object(f.jsx)(D.a,{variant:"contained",ref:d,onClick:function(){e?l(!0):c(j)},className:e?"disabled":"",color:"secondary",fullWidth:!0,"data-hook":"tariff-card-contract-btn",children:j})}),e&&Object(f.jsx)(k.a,{className:"arrowTopDisabled",open:s,onClose:()=>l(!1),anchorEl:d.current,anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"center"},children:Object(f.jsx)(u.a,{color:"textSecondary",variant:"body2",children:"Lo sentimos, no podemos ofrecer esta tarifa en tu direcci\xf3n."})})]}),t&&Object(f.jsx)(o.a,{display:"flex",justifyContent:"flex-end",mt:3,children:Object(p.X)(a)?Object(f.jsx)(u.a,{component:"span",color:"primary",children:Object(p.bb)(a)?Object(f.jsx)(L.a,{href:E.a.MOBILE_PREPAID,children:Object(f.jsxs)(D.a,{className:`link underline ${b}`,href:E.a.MOBILE_PREPAID,children:["Ver tarifas de m\xf3vil prepago",Object(f.jsx)(P.a,{className:h})]})}):Object(f.jsx)(L.a,{href:E.a.MOBILE_POSTPAID,children:Object(f.jsxs)(D.a,{className:`link underline ${b}`,href:E.a.MOBILE_POSTPAID,children:["Ver tarifas de m\xf3vil contrato",Object(f.jsx)(P.a,{className:h})]})})}):Object(f.jsx)(L.a,{href:E.a.FMC,children:Object(f.jsxs)(D.a,{className:`link underline ${b}`,href:E.a.FMC,children:["Ver tarifas fibra y m\xf3vil",Object(f.jsx)(P.a,{className:h})]})})})]})};const B=Object(r.a)((({breakpoints:e})=>({root:{alignItems:"center",display:"flex",justifyContent:"center",minHeight:"66px","& h3":{[e.between("md","lg")]:{fontSize:"16px"}}}})));var F=({name:e})=>{const{root:t}=B();return Object(f.jsx)(o.a,{className:t,py:2,textAlign:"center",bgcolor:"colors.grey.300",children:Object(f.jsx)(u.a,{component:"h3",variant:"subtitle2",className:"bold",children:e})})},$=a("KewH");const V="Distributive Cards",W=Object(r.a)((({breakpoints:e})=>({root:{position:"relative",[null===e||void 0===e?void 0:e.up("lg")]:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between"}}})));t.a=({coverage:e,tariff:t,linkFooter:a})=>{const r=Object(n.b)(),{push:b}=Object(c.useRouter)(),m=Object(d.r)(t,e),{thorAxService:p}=Object($.b)();function h(e,t=""){p.sendProductClick({item:e,ctaText:t});const a=Object(j.D)(e),i=[Object(s.d)(e,V),...a.map((e=>Object(s.d)(e,V)))];Object(s.q)({items:i,item_list_id:V,item_list_name:V})}function u(e,a=""){e.preventDefault(),e.stopPropagation(),h(t,a),b(t.path)}Object(i.useEffect)((()=>{const e=Object(j.D)(t),a=[Object(s.d)(t,V),...e.map((e=>Object(s.d)(e,V)))];Object(s.t)({items:a,value:t.totalMonthlyFeeWithDiscounts.withIva})}),[]);const{root:O}=W();return Object(f.jsxs)(o.a,{className:O,padding:0,"data-hook":`tariff-id-${t.id}`,children:[Object(f.jsx)(F,{name:t.cardTitle}),Object(f.jsx)(A,{tariff:t,onViewDetails:u}),Object(f.jsx)(R,{onAddToCart:function(a){r(Object(l.o)({tariff:t})),t&&Object(j.db)(t)?r(Object(d.x)(t.id)):r(Object(d.x)(void 0)),h(t,a),Object(d.s)(t,e)?b(E.b.COVERAGE):(Object(d.q)(t,e)||Object(j.mb)(t))&&b(E.b.SUMMARY)},onViewDetails:u,disableAddToCart:m,tariff:t,linkFooter:a,detailsButtonText:"VER DETALLES"})]})}},aXG5:function(e,t,a){"use strict";a("ERkP");var i=a("UE5/"),n=a("yUsM"),c=a("jg1C");const r=Object(i.a)((({palette:e,spacing:t})=>({root:{backgroundColor:e.primary.light,padding:t(3,0)}})));t.a=({children:e})=>{const{root:t}=r();return Object(c.jsx)(n.a,{color:"primary",variant:"h4",component:"p",align:"center",className:t,children:e})}},l1z0:function(e,t,a){"use strict";a.d(t,"a",(function(){return T})),a.d(t,"b",(function(){return w}));var i,n=a("ERkP"),c=a("+V53"),r=a("FQ9D"),o=a("UE5/"),s=a("tDgs"),l=a("X/6Q"),d=a("HCes"),j=a("ZshQ"),b=a("nhL0"),m=a("RxLa"),p=a("q209"),h=a("yUsM");function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(this,arguments)}var O,x=n.memo((function(e){return n.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet",color:"#000"},e),i||(i=n.createElement("path",{fillRule:"evenodd",d:"M19 6.4L17.6 5 12 10.6 6.4 5 5 6.4l5.6 5.6L5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6z"})))}));function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(this,arguments)}var g=n.memo((function(e){return n.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet",color:"#000"},e),O||(O=n.createElement("path",{fill:"#6A2375",fillRule:"evenodd",d:"M15.502 14h-.794l-.276-.274A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16a6.47 6.47 0 004.225-1.566l.276.274v.792l4.998 4.991L20.49 19l-4.988-5zM9.5 14a4.5 4.5 0 110-9 4.5 4.5 0 010 9z"})))})),v=a("jg1C");const y="highlighted",C=Object(o.a)((({palette:e,spacing:t,breakpoints:a})=>({searchField:{borderRadius:t(1),backgroundColor:e.common.white,fontSize:"18px",textAlign:"center","& input":{padding:"10px 15px"},[null===a||void 0===a?void 0:a.up("md")]:{marginTop:0}},countryList:{backgroundColor:e.common.white,border:`1px solid ${e.primary.main}`,overflow:"hidden",position:"absolute",width:"100%",zIndex:100,"&-item":{cursor:"pointer","&.highlighted":{backgroundColor:e.grey[300]}}}}))),N=(e,t,a,i)=>!e&&t.length>0&&a.length>=i;function T(e,t){var a;if(""===t)return!0;const i=null===(a=e.specs)||void 0===a?void 0:a.find((e=>"COUNTRIES_LIST"===e.key)),n=null===i||void 0===i?void 0:i.value;return!(!n||0===(null===n||void 0===n?void 0:n.length))&&n.some((e=>Object(c.m)(e.name.toLocaleLowerCase()).indexOf(Object(c.m)(t.toLocaleLowerCase()))>=0))}function w(e){const t=[];return e.forEach((e=>{var a;const i=null===(a=e.specs)||void 0===a?void 0:a.find((e=>"COUNTRIES_LIST"===e.key)),n=null===i||void 0===i?void 0:i.value;n&&n.length>0&&n.forEach((e=>{t.find((t=>t.name===e.name))||t.push(e)}))})),t.sort(((e,t)=>e.name.localeCompare(t.name)))}t.c=function({countries:e,onSelect:t,minSearchTerm:a=1,placeHolder:i="Selecciona tu pa\xeds"}){const{searchField:o,countryList:u}=C(),{0:O,1:f}=Object(n.useState)(),T=Object(n.useRef)(null),[w,I,A]=Object(r.c)(e,((e,t)=>{const i=Object(c.m)(e.name.toLocaleLowerCase()),n=Object(c.m)(t.toLocaleLowerCase());return t.length>=a&&i.indexOf(n)>=0}),{debounce:200}),S=e=>{e.currentTarget.classList.add(y)},L=e=>{e.currentTarget.classList.remove(y)},D=e=>{e.currentTarget.classList.add(y)},k=e=>{e.currentTarget.classList.remove(y)};return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(s.a,{className:o,fullWidth:!0,id:"searchTerm",name:"searchTerm",variant:"outlined",placeholder:i,inputRef:T,onChange:e=>{const a=e.target.value;f(void 0),I(a),""===a&&t(a)},InputProps:{endAdornment:Object(v.jsx)(l.a,{position:"end",children:Object(v.jsx)(d.a,{onClick:()=>{null!==T&&void 0!==T&&T.current&&(T.current.value=""),I(""),t("")},edge:"end",children:""!==A?Object(v.jsx)(x,{}):Object(v.jsx)(g,{})})})}}),N(O,w,A,a)&&Object(v.jsx)(j.a,{className:u,children:w.map((e=>{return Object(v.jsxs)(b.a,{className:`${u}-item`,onMouseOver:D,onFocus:S,onMouseOut:k,onBlur:L,onClick:(a=e.name,()=>{null!==T&&void 0!==T&&T.current&&(f(a),T.current.value=a),t(a)}),"data-hook":"country-item",children:[!c.l&&Object(v.jsx)(m.a,{children:Object(v.jsx)("span",{role:"img","aria-label":e.name,dangerouslySetInnerHTML:{__html:e.flagCode}})}),Object(v.jsx)(p.a,{children:Object(v.jsx)(h.a,{children:e.name})})]},e.name);var a}))})]})}},uVmk:function(e,t,a){"use strict";a("ERkP");var i=a("uDfI"),n=a("qtMa"),c=a("FBF/"),r=a("KEZU"),o=a("rhty"),s=a("Ft2k"),l=a("aXG5"),d=a("ZAMY"),j=a("jg1C");t.a=({tariffs:e,linkFooter:t=!1,showTitleCardGroup:a})=>{const b=Object(i.c)(o.v);return Object(j.jsx)(n.a,{container:!0,spacing:6,justify:"center","data-hook":"tariff-cards-container",children:e.map(((i,o)=>Object(j.jsxs)(n.a,{item:!0,xs:12,lg:e.length<=2?4:3,"data-name":i.name,"data-tariff-id":i.id,"data-hook":`tariff-card-element-${o+1}`,children:[o%2===0&&a&&Object(j.jsx)(c.a,{lgUp:!0,children:Object(j.jsx)(r.a,{mb:7,className:"card-group-item-wrapper",children:Object(j.jsx)(l.a,{children:Object(s.H)(i)?"llamadas ilimitadas":parseInt(Object(s.w)(i),10)>0?`${Object(s.w)(i)} min en llamadas`:"solo datos"})})}),Object(j.jsx)(d.a,{coverage:b,tariff:i,linkFooter:t})]},i.id)))})}},vd6b:function(e,t,a){"use strict";a.d(t,"a",(function(){return T}));var i=a("LHL8"),n=a("wHK/"),c=a("ERkP"),r=a.n(c),o=a("uDfI"),s=a("nD/U"),l=a("UE5/"),d=a("L4Mh"),j=a("yUsM"),b=a("kdi9"),m=a("196G"),p=a("8ICW"),h=a("xABf"),u=a("9oVB"),O=a("MwwD"),x=a("jg1C");const f=["DialogContext"];function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function v(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){Object(i.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}const y=Object(l.a)((({spacing:e})=>({title:{padding:e(2,0)}}))),C=({children:e})=>{const{title:t}=y();return Object(x.jsx)(d.a,{maxWidth:"xl",children:Object(x.jsx)(j.a,{className:t,variant:"h1",children:e})})};function N({pageId:e,staticComponentsList:t,hiddenDynamicComponents:a=[],showBreadcrumbs:i,Layout:n,DialogContext:c}){Object(s.useFetchDynamicPage)(e),Object(m.d)({Context:c});const l=Object(b.i)(),{h1:d}=Object(p.useSEODetails)()||{},j=Object(o.c)(Object(b.d)(e)),{dynamicComponents:f=[],showH1:g}=j||{},v=Object(m.c)({dynamicComponents:f,staticComponentsList:t,hiddenDynamicComponents:a});return Object(x.jsxs)(n,{children:[i&&Object(x.jsx)(h.f,{}),g&&!!d&&Object(x.jsx)(C,{children:d}),v.map((({modelType:e,data:t})=>{const a=e===b.b.genericBlock?Object(b.j)(t):e,i=l(a);switch(e){case b.b.bannerPrimary:return Object(x.jsx)(O.a,{data:t},i);case b.b.claim:return Object(x.jsx)(u.a,{id:i,data:t},i);case b.b.staticComponent:{const{component:e}=t;return Object(x.jsx)(r.a.Fragment,{children:e},i)}case b.b.genericBlock:return Object(x.jsx)(u.c,{id:i,data:t},i);default:return null}}))]})}var T=function(e){let{DialogContext:t}=e,a=Object(n.a)(e,f);return t?Object(x.jsx)(N,v({DialogContext:t},a)):Object(x.jsx)(m.a,{children:({Context:e})=>Object(x.jsx)(N,v({DialogContext:e},a))})}}}]);