1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3147],{60225:function(e,t,n){var s=n(85893);n(67294);var l=n(93967),i=n.n(l);t.Z=e=>{let t=e.component?e.component:"span";return(0,s.jsx)(t,{className:i()(e.className,"boldFamilyText"),children:e.children})}},83147:function(e,t,n){n.r(t),n.d(t,{default:function(){return j}});var s=n(85893),l=n(67294),i=n(93967),a=n.n(i),r=n(45697),d=n.n(r);let c=e=>(0,s.jsxs)("div",{className:"ds--accordion-content",children:[e.title&&(0,s.jsx)("div",{className:"ds--accordion-content__head",children:(0,s.jsx)("h2",{className:"head-title",children:e.title})}),(0,s.jsx)("div",{className:"ds--accordion-content__body",children:e.children})]});c.propTypes={title:d().string,number:d().string};class o extends l.Component{render(){let{title:e,children:t,headTitleExtraClass:n,isPrimary:l,onClick:i,show:r,titleElement:d="p"}=this.props;return(0,s.jsx)("div",{className:a()("ds--accordion-content__item",l?"ds--accordion-content__primary-item":null),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"item-head",onClick:i,children:[(0,s.jsx)(d,{className:a()("head-title",n||null),children:e}),(0,s.jsx)("div",{className:a()("head-toggle",r?"head-toggle__show":null),children:(0,s.jsx)("button",{type:"button",className:"btn btn-lg","aria-label":r?"Ocultar contenido":"Mostrar contenido","aria-expanded":!!r,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8",viewBox:"0 0 16 8",fill:"none","aria-hidden":"true",focusable:"false",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.176546 7.00893C-0.0649625 7.24113 -0.0578366 7.60297 0.192665 7.82739C0.443166 8.05181 0.847056 8.0582 1.10624 7.84183L8.12279 1.55579L14.8938 7.84183C15.1529 8.0582 15.5568 8.05181 15.8073 7.82739C16.0578 7.60297 16.065 7.24113 15.8235 7.00893L8.12279 -9.39348e-08L0.176546 7.00893Z",fill:"#333333"})})})})]}),(0,s.jsx)("div",{className:a()("item-body",r?"item-body__show":null),children:t})]})})}}var h=n(60225);let m=e=>(0,s.jsx)(h.Z,{children:(0,s.jsx)("h3",{className:"mt-4 extraLargeFontSize",dangerouslySetInnerHTML:{__html:e.children}})}),u=e=>{let{children:t}=e,n="p";return"string"==typeof t&&(t.includes("<ol")||t.includes("<ul"))&&(n="div"),(0,s.jsx)(n,{className:"h4 thinFamilyText",dangerouslySetInnerHTML:{__html:t}})},x=e=>{let{items:t,isPrimary:n}=e,[i,a]=(0,l.useState)(-1);return(0,s.jsx)("div",{className:n&&"nested-faq-primary",children:t.map((e,t)=>(0,s.jsx)(o,{title:e.title,startShown:!1,headTitleExtraClass:n&&"faq-nested-title-primary",isPrimary:n,show:t===i,onClick:()=>a(t===i?-1:t),titleElement:e.titleElement?e.titleElement:"h4",children:(0,s.jsx)(p,{questions:e.questions,nestedItems:e.nestedItems,isPrimary:n})},t))})},p=e=>{let{questions:t,nestedItems:n,isPrimary:l}=e;return(0,s.jsxs)("div",{className:"faq-content ".concat(l&&"faq-content-primary"),children:[t&&t.map((e,t)=>{let{question:n,answer:l}=e;return(0,s.jsxs)("div",{children:[n&&(0,s.jsx)(m,{children:n}),(0,s.jsx)(u,{children:l})]},t)}),n&&n.length>0&&(0,s.jsx)(x,{items:n,isPrimary:l})]})};var j=e=>{let{isPrimary:t,startShownIndex:n,featured:i,items:a,multiOpen:r}=e,[d,h]=(0,l.useState)(n||0),[m,u]=(0,l.useState)(new Set),x=()=>{let e="doubleMediumFontSize";return t?"".concat(e," faq-title-primary"):e},j=e=>{r?u(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}):h(e===d?-100:e)};return(0,s.jsx)(c,{title:i?null:"Hogar",children:a.map((e,n)=>(0,s.jsx)(o,{title:e.title,startShown:e.startOpened,headTitleExtraClass:x(),isPrimary:t,show:r?m.has(n):n===d,onClick:()=>j(n),titleElement:e.titleElement?e.titleElement:"p",children:(0,s.jsx)(p,{questions:e.questions,nestedItems:e.nestedItems,isPrimary:t})},n))})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.