1"use strict";(globalThis.webpackChunkgrowingfamilies=globalThis.webpackChunkgrowingfamilies||[]).push([[106],{9103(e,t,n){n.d(t,{s:()=>u});var l=n(88094),r=n(32486),i=n.n(r),o=n(52269),s=n(94177),a=n(63464),h=n(97459),d=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(l=Object.getOwnPropertySymbols(e);r<l.length;r++)t.indexOf(l[r])<0&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]])}return n};const u=(0,o.O)((0,s.N)((0,l.forwardRef)((e,t)=>{var{field:n,tag:r="div",editable:i=!0}=e,o=d(e,["field","tag","editable"]);if(!n||!n.editable&&(0,h.isFieldValueEmpty)(n))return null;const s=Object.assign({dangerouslySetInnerHTML:{__html:n.editable&&i?n.editable:n.value},ref:t},o);return l.createElement(r||"div",s)}),{defaultEmptyFieldEditingComponent:a.G,isForwardRef:!0}),!0),m={field:i().shape({value:i().string,editable:i().string,metadata:i().objectOf(i().any)}),tag:i().string,editable:i().bool,emptyFieldEditingComponent:i().oneOfType([i().object,i().func])};u.propTypes=m,u.displayName="RichText"},34786(e,t,n){n.d(t,{D:()=>c,H1:()=>h,H2:()=>d,H3:()=>u,H4:()=>m,P:()=>f,T:()=>$});n(88094);var l=n(49596),r=n(85383),i=n(63856),o=n.n(i),s=n(15678);const a=e=>t=>(0,s.jsx)(e,{...t,children:t.children}),h=a(l.rd),d=a(l.kv),u=a(l.dT),m=a(l.kg),f=a(l.C$),c=(a(l.v$),e=>{let t,{renderAs:n,styleAs:l,children:r,...i}=e;switch(n){case"h1":t=h;break;case"h2":default:t=d;break;case"h3":t=u;break;case"h4":t=m}return(0,s.jsx)(t,{...i,className:o()(l&&`styled-${l}`),children:r})}),$=e=>{let{children:t,...n}=e;return(0,s.jsx)(r.A,{children:(0,s.jsx)(l.Xe,{...n,children:t})})}},41322(e,t,n){n.r(t),n.d(t,{default:()=>h});var l=n(9103),r=n(3143),i=n(34786),o=n(48),s=n(82550),a=n(15678);const h=e=>{var t,n,h,d,u;let{fields:m}=e;const{pageEditing:f}=(0,o.i)(),c=null===m||void 0===m?void 0:m.Content,$=null===m||void 0===m||null===(t=m.Organisation)||void 0===t||null===(n=t.Name)||void 0===n?void 0:n.value;if(!$&&!f)return null;if(null!==c&&void 0!==c&&c.value){const e="{$organisation-name}";c.value=c.value.split(e).join($)}return(0,a.jsx)(r.wn,{as:"div",children:(0,a.jsx)(r.mc,{"data-component":"rich-text-container",children:(0,a.jsx)(i.T,{themeColor:(null===m||void 0===m||null===(h=m.CategoryColor)||void 0===h||null===(d=h.fields)||void 0===d||null===(u=d.Setting)||void 0===u?void 0:u.value)||"blue",children:(0,a.jsx)(s.A,{children:(0,a.jsx)(l.s,{field:null===m||void 0===m?void 0:m.Content})})})})})}},49596(e,t,n){n.d(t,{C$:()=>p,LQ:()=>s,Sy:()=>d,UQ:()=>a,Xe:()=>v,Xm:()=>m,Z:()=>h,cD:()=>u,dT:()=>g,kg:()=>b,kv:()=>y,rd:()=>$,v$:()=>A});var l=n(25173),r=n(78334),i=n(21625);const o=l.AH` 2 color: ${e=>{let{theme:t}=e;return t.colors.general.black}}; 3 font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.bold}}; 4 margin-bottom: ${(0,i.A)(28)}; 5`,s=l.AH` 6 ${o} 7 letter-spacing: ${(0,i.A)(-1)}; 8 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h1.fontSize)}}; 9 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h1.lineHeight)}}; 10 11 @media ${e=>{let{theme:t}=e;return t.device.tablet}} { 12 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h1.fontSize)}}; 13 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h1.lineHeight)}}; 14 } 15`,a=l.AH` 16 ${o} 17 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h2.fontSize)}}; 18 letter-spacing: ${(0,i.A)(-.75)}; 19 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h2.lineHeight)}}; 20 21 @media ${e=>{let{theme:t}=e;return t.device.tablet}} { 22 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h2.fontSize)}}; 23 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h2.lineHeight)}}; 24 } 25`,h=l.AH` 26 ${o} 27 font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.regular}}; 28 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h3.fontSize)}}; 29 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h3.lineHeight)}}; 30 letter-spacing: ${(0,i.A)(-.75)}; 31 32 @media ${e=>{let{theme:t}=e;return t.device.tablet}} { 33 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h3.fontSize)}}; 34 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h3.lineHeight)}}; 35 } 36`,d=l.AH` 37 ${o} 38 font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.regular}}; 39 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h4.fontSize)}}; 40 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h4.lineHeight)}}; 41 42 @media ${e=>{let{theme:t}=e;return t.device.tablet}} { 43 font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h4.fontSize)}}; 44 line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h4.lineHeight)}}; 45 } 46`,u=l.AH` 47 color: ${e=>{let{theme:t}=e;return t.colors.general.black}}; 48 font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.regular}}; 49 font-size: 1rem; 50 line-height: ${(0,i.A)(28)}; 51 margin-bottom: ${(0,i.A)(28)}; 52 53 &:last-child { 54 margin-bottom: 0; 55 } 56 57 b, 58 strong { 59 font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.semibold}}; 60 } 61 62 img { 63 max-width: 100%; 64 height: auto !important; 65 } 66`,m=l.AH` 67 ${u} 68 color: ${e=>{let{theme:t}=e;return"spain"===t.name?t.colors.general.primary:t.colors.general.secondary}}; 69 font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.semibold}}; 70 text-decoration: none; 71 72 &:focus { 73 outline-offset: 1px; 74 outline: 1px solid ${e=>{let{theme:t}=e;return t.colors.outline}}; 75 } 76 77 &:hover { 78 border-bottom: ${(0,i.A)(1)} solid currentColor; 79 } 80`,f=l.AH` 81 &.styled-h1 { 82 ${s} 83 } 84 85 span.styled-h1 { 86 ${s} 87 } 88 89 &.styled-h2 { 90 ${a} 91 } 92 93 span.styled-h2 { 94 ${a} 95 } 96 97 &.styled-h3 { 98 ${h} 99 } 100 101 span.styled-h3 { 102 ${h} 103 } 104 105 &.styled-h4 { 106 ${d} 107 } 108 109 span.styled-h4 { 110 ${d} 111 } 112`,c=l.AH` 113 span.styled-h1 { 114 ${s} 115 } 116 117 span.styled-h2 { 118 ${a} 119 } 120 121 span.styled-h3 { 122 ${h} 123 } 124 125 span.styled-h4 { 126 ${d} 127 } 128`,$=l.Ay.h1` 129 ${s} 130 ${f} 131 ${c} 132`,y=l.Ay.h2` 133 ${a} 134 ${f} 135 ${c} 136`,g=l.Ay.h3` 137 ${h} 138 ${f} 139 ${c} 140`,b=l.Ay.h4` 141 ${d} 142 ${f} 143 ${c} 144`,p=l.Ay.p` 145 ${u} 146`,A=l.Ay.a` 147 ${m} 148`,v=l.Ay.div.withConfig({shouldForwardProp:e=>!["renderAs","styleAs","themeColor"].includes(e)})` 149 150 color: ${e=>{let{theme:t}=e;return t.colors.general.black}}; 151 font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.regular}}; 152 font-size: 1rem; 153 line-height: ${(0,i.A)(28)}; 154 155 h1 { 156 ${s} 157 ${f} 158 ${c} 159 } 160 161 h2 { 162 ${a} 163 ${f} 164 ${c} 165 } 166 167 h3 { 168 ${h} 169 ${f} 170 ${c} 171 } 172 173 h4 { 174 ${d} 175 ${f} 176 ${c} 177 } 178 179 h5 { 180 ${f} 181 ${c} 182 } 183 184 h6 { 185 ${f} 186 ${c} 187 } 188 189 p { 190 ${u} 191 ${c} 192 } 193 194 address, menu, pre, dt { 195 ${c} 196 } 197 198 ul, ol { 199 margin-bottom: ${(0,i.A)(28)}; 200 margin-${r.kb}: ${(0,i.A)(18)}; 201 202 li { 203 padding-${r.kb}: ${(0,i.A)(10)}; 204 } 205 206 } 207 208 ul { 209 list-style-type: disc; 210 } 211 212 a { 213 ${m} 214 color: ${e=>{let{theme:t,themeColor:n}=e;return t.colors.categories[n]}}; 215 } 216`},78334(e,t,n){n.d(t,{h:()=>s,kb:()=>i,pG:()=>
216o,rR:()=>r});const l=e=>{let{dir:t}=e;return"rtl"===t},r=e=>l(e)?"right":"left",i=()=>e=>{let{theme:t}=e;return r(t)},o=()=>e=>{let{theme:t}=e;return(e=>l(e)?"left":"right")(t)},s=e=>()=>t=>{let{theme:n}=t;return l(n)?e:""}},82550(e,t,n){n.d(t,{A:()=>s});var l=n(88094),r=n(48),i=n(52959),o=n(15678);const s=e=>{let{children:t}=e;const n=(0,l.useRef)(null),{pageEditing:s}=(0,r.i)();return(0,l.useEffect)(()=>{if(s)return;const e=n.current;var t;(t=e)&&Array.from(t.getElementsByTagName("a")).forEach(e=>{const t=e.getAttribute("href");e.setAttribute("href",(0,i.g1)(t))})},[n,s]),s?t:(0,o.jsx)("div",{ref:n,children:t})}},85383(e,t,n){n.d(t,{A:()=>o});var l=n(88094),r=n(52959),i=n(15678);const o=e=>{let{children:t,className:n}=e;const o=(0,l.useRef)(null);return(0,l.useEffect)(()=>{const e=o.current;var t;(t=e)&&Array.from(t.getElementsByTagName("a")).forEach(e=>{const t=e.getAttribute("href"),n=e.innerHTML;let l="";l=(0,r.nh)(t)?"event_file_download":(0,r.Gj)(t)?"event_outbound_link":"event_internal_link",Array.from(e.classList).some(e=>e.startsWith("event_"))||e.classList.add(l);const i="data-action-detail";e.hasAttribute(i)||((0,r.nh)(t)?e.setAttribute(i,(0,r.HC)(t)):(0,r.Gj)(t)?e.setAttribute(i,(0,r.f7)(t)):e.setAttribute(i,`${n} - ${(0,r.f7)(t)}`))})},[o]),(0,i.jsx)("div",{ref:o,className:n,children:t})}}}]);
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.