1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2],{51295:function(e,n,t){t.d(n,{T:function(){return eB},K:function(){return eE}});var r=t(85893),i=t(55626),o=t(87441),d=t(88634),l=t(87382),a=t(77527),s=t(25675),c=t.n(s);let p=(0,a.ZP)("div")(e=>{let{theme:n,componentSettings:t}=e;return(0,l.f)({theme:n,componentSettings:t,defaultComponentSettings:{backgroundColor:"transparent",paddingTop:"none",paddingBottom:"none"}})}),u=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{background:i.$_.green950,color:i.$_.white,borderRadius:n.radius("xm"),padding:n.spacing(4)}}),g=(0,a.ZP)(u)(e=>{let{theme:n}=e;return{display:"flex",flexDirection:"column",gap:n.spacing(5)}}),h=(0,a.ZP)(u)(()=>({background:i.$_.dayGrey20,color:i.$_.dayGrey90})),x=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:n.spacing(4)}}),m=(0,a.ZP)("div")(()=>({display:"flex",justifyContent:"space-between",alignItems:"center"})),f=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",alignItems:"center",gap:n.spacing(2)}}),v=(0,a.ZP)(c())(e=>{let{theme:n}=e;return{borderRadius:n.radius("xxl"),objectFit:"cover"}}),b=(0,a.ZP)(v)(()=>({alignSelf:"flex-start"})),w=(0,a.ZP)(i.ZT)(()=>({color:i.$_.deepSeaGreen20})),j=(0,a.ZP)(i.ZT)(()=>({color:i.$_.dayGrey60})),y=(0,a.ZP)(i.ZT)(()=>({textDecoration:"underline"})),Z=(0,a.ZP)("div")(()=>({display:"flex",flexDirection:"column"}));var P=t(8755),S=t(61730),k=t(67294),C=t(4388),_=t(33454);let T=e=>{let{quote:n}=e;return(0,r.jsx)(u,{children:(0,r.jsxs)(x,{children:[(0,r.jsx)(d.Z,{icon:"quoteIcon"}),(0,r.jsx)(i.ZT,{variant:"subheader",children:n})]})})},D=e=>{let{quote:n,authorName:t,authorTitle:o,profileImage:d}=e,l=(0,S.Z)(e=>e.breakpoints.down("sm"));return(0,r.jsxs)(g,{children:[l&&(0,r.jsx)(c(),{src:"/images/logo/Ageras_Logomark_white.svg",width:33,height:20,alt:"ageras"}),(0,r.jsx)(i.ZT,{variant:"subheader",children:n}),(0,r.jsxs)(m,{children:[(0,r.jsxs)(f,{children:[(null==d?void 0:d.url)&&(0,r.jsx)(v,{src:(0,P.J)(d.url),alt:t||"",width:50,height:50}),(0,r.jsxs)(Z,{children:[(0,r.jsx)(i.ZT,{variant:"body1",children:t}),(0,r.jsx)(w,{variant:"body2",children:o})]})]}),!l&&(0,r.jsx)(c(),{src:"/images/Logo_white.svg",width:33,height:20,alt:"ageras"})]})]})},R=e=>{let{authorName:n,authorTitle:t,authorContact:o,profileImage:d}=e;return(0,r.jsx)(h,{children:(0,r.jsxs)(f,{children:[(null==d?void 0:d.url)&&(0,r.jsx)(b,{src:(0,P.J)(d.url),alt:n||"",width:50,height:50}),(0,r.jsxs)(Z,{children:[(0,r.jsx)(i.ZT,{variant:"subheader",children:n}),(0,r.jsx)(j,{variant:"body2",children:t}),(0,r.jsx)(y,{variant:"body2",children:(0,r.jsx)("a",{href:"mailto:".concat(o),children:o})})]})]})})},G=e=>{let{component:n}=e,{quoteElements:t,quoteType:i}=n,{quote:o="",authorName:d="",authorTitle:l="",authorContact:a,profileImage:s}=t||{};switch(i){case"noAuthor":return(0,r.jsx)(T,{quote:o});case"withAuthor":return(0,r.jsx)(D,{quote:o,authorName:d,authorTitle:l,profileImage:s});case"articleAuthor":return(0,r.jsx)(R,{authorName:d,authorTitle:l,authorContact:a,profileImage:s});default:return null}};var L=e=>{var n;let{component:t}=e,{componentSettings:i}=t,o=(0,_.u)(i,{backgroundColor:C.S4.Transparent});return(0,r.jsx)(p,{componentSettings:o,id:null!==(n=null==i?void 0:i.htmlId)&&void 0!==n?n:void 0,children:(0,r.jsx)(G,{component:t})})},$=t(74889);let B=(e,n)=>{switch(n){case"info":default:return{background:e.palette.prosperityBlue[50],border:"1px solid ".concat(e.palette.prosperityBlue[100])};case"positive":return{background:e.palette.accountingGreen[50],border:"1px solid ".concat(e.palette.accountingGreen[100])};case"warning":return{background:e.palette.entrepreneurYellow[50],border:"1px solid ".concat(e.palette.entrepreneurYellow[100])};case"negative":return{background:e.palette.prosperityRed[50],border:"1px solid ".concat(e.palette.prosperityRed[100])};case"link":return{background:e.palette.prosperityStone[50],border:"1px solid ".concat(e.palette.prosperityStone[100])}}},E=(0,a.ZP)("div",{shouldForwardProp:e=>"componentSettings"!==e})(e=>{let{theme:n,componentSettings:t}=e;
1return(0,l.f)({theme:n,componentSettings:t,defaultComponentSettings:{backgroundColor:"transparent",paddingTop:"none",paddingBottom:"none"}})}),I=(0,a.ZP)("div",{shouldForwardProp:e=>"variant"!==e&&"hasContent"!==e})(e=>{let{theme:n,variant:t,hasContent:r}=e,i=B(n,t);return{display:"grid",gridTemplateColumns:"auto 1fr",gridTemplateRows:r?"auto auto":"auto",columnGap:n.spacing(2.5),rowGap:n.spacing(2),backgroundColor:i.background,border:i.border,borderRadius:n.radius("xm"),padding:n.spacing(4),[n.breakpoints.down("md")]:{padding:n.spacing(2.5),rowGap:n.spacing(1.5)}}}),z=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{fontSize:"24px",lineHeight:1.1,[n.breakpoints.down("md")]:{fontSize:"22px"}}}),W=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{...n.typography.body2,alignSelf:"center"}}),A=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{...n.typography.body1,gridColumn:2,[n.breakpoints.down("md")]:{gridColumn:"span 2"}}});var N=t(18142);let F={info:"\uD83D\uDCA1",positive:"\uD83D\uDFE2",warning:"â ï¸",negative:"â",link:"\uD83D\uDD17"};var U=e=>{var n,t;let{component:o}=e,{variant:d=N.a.Info,title:l,content:a,componentSettings:s}=o,c=null!==(n=F[d])&&void 0!==n?n:F.info,p=!!a,u=(0,_.u)(s,{backgroundColor:C.S4.Transparent});return(0,r.jsx)(E,{componentSettings:u,id:null!==(t=null==s?void 0:s.htmlId)&&void 0!==t?t:void 0,children:(0,r.jsxs)(I,{variant:d,hasContent:p,children:[(0,r.jsx)(z,{children:c}),(0,r.jsx)(W,{children:l}),a&&(0,r.jsx)(A,{children:(0,r.jsx)(i.UG,{markdown:a})})]})})};let O=(0,a.ZP)("div",{shouldForwardProp:e=>"componentSettings"!==e})(e=>{let{theme:n,componentSettings:t}=e;return{...(0,l.f)({theme:n,componentSettings:t,defaultComponentSettings:{backgroundColor:"transparent",paddingTop:"none",paddingBottom:"none"}}),color:n.palette.text.primary,gap:n.spacing(4),display:"flex",flexDirection:"column",[n.breakpoints.down("sm")]:{gap:n.spacing(1.5)}}}),H=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",flexDirection:"column",gap:n.spacing(1.5)}}),Y=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",gap:n.spacing(3),"> div":{flex:"1 1 50%"},[n.breakpoints.down("lg")]:{flexDirection:"column",gap:n.spacing(2.5)}}}),J=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",flexDirection:"column",background:i.$_.dayGrey20,gap:n.spacing(2.5),borderRadius:n.radius("xm"),padding:n.spacing(4),[n.breakpoints.down("sm")]:{padding:n.spacing(2.5),gap:n.spacing(1.5)}}}),M=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",alignItems:"center",gap:n.spacing(2.5)}}),X=(0,a.ZP)("ul")(e=>{let{theme:n}=e;return{margin:0,paddingLeft:"inherit",li:{marginBottom:n.spacing(1)},[n.breakpoints.down("sm")]:{li:{fontSize:i.Pg.fontSizes.default}}}}),q=e=>{let{icon:n,title:t,items:o=[]}=e;return(0,r.jsxs)(J,{children:[(0,r.jsxs)(M,{children:[(0,r.jsx)("span",{children:n}),(0,r.jsx)(i.ZT,{variant:"h6",children:t})]}),(0,r.jsx)(X,{children:null==o?void 0:o.map(e=>(0,r.jsx)("li",{children:null==e?void 0:e.text},null==e?void 0:e.id))})]})};var K=e=>{var n;let{component:t}=e,{sectionTitle:o,description:d,Pros:l=[],Cons:a=[],componentSettings:s}=t,c=(0,_.u)(s,{backgroundColor:C.S4.Transparent});return(0,r.jsxs)(O,{componentSettings:c,id:null!==(n=null==s?void 0:s.htmlId)&&void 0!==n?n:void 0,children:[!!(o||d)&&(0,r.jsxs)(H,{children:[!!o&&(0,r.jsx)(i.ZT,{component:"h2",variant:"h4",children:o}),!!d&&(0,r.jsx)(i.ZT,{variant:"body1",children:d})]}),(0,r.jsxs)(Y,{children:[(0,r.jsx)(q,{icon:"\uD83D\uDFE2",title:"Pros",items:l}),(0,r.jsx)(q,{icon:"â",title:"Cons",items:a})]})]})},Q=t(78401);let V=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{color:n.palette.text.secondary,display:"flex",background:n.palette.entrepreneurYellow[100],borderRadius:n.radius("xm"),flexDirection:"column",padding:n.spacing(1.5),[n.breakpoints.down("md")]:{padding:n.spacing(2)}}}),ee=(0,a.ZP)("div")(()=>({display:"flex",justifyContent:"center",width:"100%"})),en=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",alignItems:"center",flexDirection:"row",gap:n.spacing(2.5),[n.breakpoints.down("md")]:{alignItems:"center",gap:n.spacing(2),flexDirection:"column",justifyContent:"center"}}}),et=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{flex:1,display:"flex",gap:n.spacing(2.5),flexDirection:"column",padding:n.spacing(0,2),justifyContent:"center",[n.breakpoints.down("md")]:{textAlign:"center",padding:0}}}),er=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",flexDirection:"column",gap:n.spacing(1.5)}}),ei=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{flex:1,height:"100%",display:"flex",gap:n.spacing(2.5),flexDirection:"column",padding:n.spacing(1.8125,0),justifyContent:"center",[n.breakpoints.down("md")]:{gap:n.spacing(2.5),padding:0}}}),eo=(0,a.ZP)("div")(()=>({width:"max-content"})),ed=(0,a.ZP)(Q.z)(e=>{let{theme:n}=e;return{width:"max-content",[n.breakpoints.down("md")]:{width:"auto"}}}),el=(0,a.ZP)(Q.z)(e=>{let{theme:n}=e;
1return{[n.breakpoints.down("sm")]:{minWidth:"295px",width:"100%"}}}),ea=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{display:"flex",color:n.palette.text.white,flexDirection:"row",gap:n.spacing(2.5),padding:n.spacing(1),backgroundColor:n.palette.accountingGreen[950],borderRadius:n.radius("xm"),width:"100%",[n.breakpoints.down("md")]:{flexDirection:"column",padding:n.spacing(2.5)}}}),es=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{width:"100%",maxWidth:"270px",maxHeight:"286px",position:"relative",minHeight:"200px",[n.breakpoints.down("md")]:{maxWidth:"100%",height:"286px",order:2}}}),ec=(0,a.ZP)(c())(e=>{let{theme:n}=e;return{width:"100%",height:"100%",objectFit:"cover",borderRadius:n.radius("xs"),[n.breakpoints.down("md")]:{borderRadius:n.radius("xm")}}});var ep=e=>{let{component:n,imageUrl:t}=e,{ctaType:o,titleText:d,description:l,image:a,ctaButton:s}=n;if("button"===o)return(0,r.jsx)(ee,{children:(0,r.jsx)(el,{buttonProps:{...s}})});if("banner"===o){let e="string"==typeof d?d:null;return(0,r.jsxs)(ea,{children:[(0,r.jsxs)(es,{children:[a&&(0,r.jsx)(ec,{src:(0,P.J)((null==a?void 0:a.url)||""),fill:!0,alt:e||"Shine"}),t&&(0,r.jsx)(ec,{src:t,fill:!0,alt:e||"Shine"})]}),(0,r.jsxs)(ei,{children:[(0,r.jsxs)(er,{children:[(0,r.jsx)(c(),{src:"/images/logo/Logomark_yellow.svg",width:34,height:34,alt:"Shine"}),d&&(0,r.jsx)(i.ZT,{variant:"h4",component:"h2",children:d}),l&&(0,r.jsx)(i.ZT,{variant:"body2",component:"p",children:l})]}),s&&(0,r.jsx)(ed,{buttonProps:{...s}})]})]})}return(0,r.jsx)(V,{children:(0,r.jsxs)(en,{children:[(0,r.jsx)(et,{children:d&&(0,r.jsx)(i.ZT,{variant:"h5",component:"h2",children:d})}),s&&(0,r.jsx)(eo,{children:(0,r.jsx)(ed,{buttonProps:{...s}})})]})})};let eu=(0,a.ZP)("div",{shouldForwardProp:e=>"componentSettings"!==e})(e=>{let{theme:n,componentSettings:t}=e;return(0,l.f)({theme:n,componentSettings:t,defaultComponentSettings:{backgroundColor:"transparent",paddingTop:"none",paddingBottom:"none"}})}),eg=(0,a.ZP)("div")(()=>({display:"flex",flexDirection:"column",width:"100%",maxWidth:"100%"})),eh=(0,a.ZP)(c())(e=>{let{theme:n}=e;return{height:"auto",borderRadius:n.radius("xm"),objectFit:"contain",maxWidth:"100%",maxHeight:"100%",border:"1px solid ".concat(i.$_.dayGrey30)}}),ex=(0,a.ZP)(i.ZT)(e=>{let{theme:n}=e;return{color:i.$_.dayGrey90,paddingTop:n.spacing(1)}});var em=e=>{var n,t;let{component:i}=e,{image:o,imageCaption:d,componentSettings:l}=i,a=(null==o?void 0:o.url)?(0,P.J)(o.url):"";if(!o)return null;let s=(0,_.u)(l,{backgroundColor:C.S4.Transparent});return(0,r.jsx)(eu,{componentSettings:s,id:null!==(t=null===(n=i.componentSettings)||void 0===n?void 0:n.htmlId)&&void 0!==t?t:void 0,children:(0,r.jsxs)(eg,{children:[o&&(0,r.jsx)(eh,{width:(null==o?void 0:o.width)||400,height:(null==o?void 0:o.height)||300,src:a,alt:null!=d?d:""}),d&&(0,r.jsx)(ex,{variant:"body2",children:d})]})})};let ef=(0,a.ZP)("div")(e=>{let{theme:n,componentSettings:t}=e;return{...(0,l.f)({theme:n,componentSettings:t,defaultComponentSettings:{backgroundColor:"transparent",paddingTop:"none",paddingBottom:"none"}}),width:"100%",[n.breakpoints.down("lg")]:{maxWidth:"calc(100vw - ".concat(n.spacing(n.global.margin.tablet)," * 2)")},[n.breakpoints.down("md")]:{maxWidth:"calc(100vw - ".concat(n.spacing(n.global.margin.mobile)," * 2)")}}}),ev=(0,a.ZP)(i.ZT)(e=>{let{theme:n}=e;return{textAlign:"left",marginBottom:"".concat(n.spacing(4)," !important")}}),eb=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{position:"relative",display:"flex",alignItems:"center",marginBottom:n.spacing(3),marginTop:n.spacing(2)}}),ew=(0,a.ZP)("div")(()=>({width:"100%",borderBottom:"1px solid ".concat(i.$_.dayGrey50)})),ej=(0,a.ZP)("div")(()=>({width:"100%",overflowX:"auto",color:i.$_.dayGrey200})),ey=(0,a.ZP)(d.Z)(()=>({position:"absolute",backgroundColor:i.$_.white,left:"50%",top:"50%",transform:"translate(-50%, -50%)",height:"24px",width:"24px"})),eZ=(0,a.ZP)("div")(e=>{let{theme:n}=e;return{overflow:"hidden",borderRadius:n.spacing(1.5),border:"1px solid ".concat(i.$_.deepSeaGreen25),minWidth:"100%",width:"max-content"}}),eP=(0,a.ZP)("table")({borderCollapse:"collapse",borderSpacing:"0px",minWidth:"100%"}),eS=(0,a.ZP)("thead")({}),ek=(0,a.ZP)("tbody")({}),eC=(0,a.ZP)("tr")(e=>{let{theme:n}=e;return{"&:first-child th:first-child":{borderTopLeftRadius:n.spacing(1.5),borderLeft:"none"},"&:first-child th:last-child":{borderTopRightRadius:n.spacing(1.5),borderRight:"none"},"&:last-child td:first-child":{borderBottomLeftRadius:n.spacing(1.5),borderLeft:"none"},"&:last-child td:last-child":{borderBottomRightRadius:n.spacing(1.5),borderRight:"none"},"& td:first-child":{borderLeft:"none"},"&:last-child td":{borderBottom:"none"}}}),e_=(0,a.ZP)("th",{shouldForwardProp:e=>"bgColor"!==e})(e=>{let{theme:n,bgColor:t}=e;return{padding:n.spacing(2,2.5),backgroundColor:t,textAlign:"unset",minWidth:"160px",maxWidth:"220px",borderLeft:"1px solid ".concat(i.$_.deepSeaGreen25),borderRight:"1px solid ".concat(i.$_.deepSeaGreen25),borderBottom:"1px solid ".concat(i.$_.deepSeaGreen25),fontWeight:"unset","& div *":{margin:0,fontSize:n.typography.tag.fontSize,fontFamily:i.iD.style.fontFamily}}}),eT=(0,a.ZP)("th")(()=>({backgroundColor:i.$_.deepSeaGreen10,borderBottom:"1px solid ".concat(i.$_.deepSeaGreen25)})),eD=(0,a.ZP)("td",{shouldForwardProp:e=>"bgColor"!==e})(e=>{let{theme:n,bgColor:t}=e;return{padding:n.spacing(2,2.5),backgroundColor:t,verticalAlign:"top",minWidth:"160px",maxWidth:"220px",whiteSpace:"wrap",borderBottom:"1px solid ".concat(i.$_.deepSeaGreen25),"& div *":{margin:0,fontSize:n.typography.tag.fontSize,fontFamily:i.iD.style.fontFamily}}}),eR=(0,a.ZP)("td",{shouldForwardProp:e=>"bgColor"!==e})(e=>{let{theme:n,bgColor:t}=e;return{padding:n.spacing(2,2.5),verticalAlign:"top",backgroundColor:t,borderLeft:"1px solid ".concat(i.$_.deepSeaGreen25),borderBottom:"1px solid ".concat(i.$_.deepSeaGreen25),maxWidth:"220px","& div *":{margin:0,fontSize:n.typography.tag.fontSize,fontFamily:i.iD.style.fontFamily}}}),eG=e=>{var n,t,o;let{component:d}=e,{sectionTitle:l,tableColumns:a,componentSettings:s}=d,c=(0,k.useRef)(null),[p,u]=(0,k.useState)(!1);if((0,k.useEffect)(()=>
1{let e=c.current;if(!e)return;let n=()=>{u(e.scrollWidth>e.clientWidth+1)};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[a]),!a||0===a.length)return null;let g=(null===(t=a[0])||void 0===t?void 0:null===(n=t.tableRows)||void 0===n?void 0:n.map(e=>null==e?void 0:e.header))||[],h=g.some(e=>e&&""!==e),x=i.$_.deepSeaGreen10,m=(0,_.u)(s,{backgroundColor:C.S4.Transparent});return(0,r.jsxs)(ef,{componentSettings:m,id:null!==(o=null==s?void 0:s.htmlId)&&void 0!==o?o:void 0,children:[l&&(0,r.jsx)(ev,{component:"h2",variant:"h4",children:l}),p&&(0,r.jsxs)(eb,{children:[(0,r.jsx)(ew,{}),(0,r.jsx)(ey,{icon:"scrollIcon"})]}),(0,r.jsx)(ej,{ref:c,children:(0,r.jsx)(eZ,{children:(0,r.jsxs)(eP,{children:[(0,r.jsx)(eS,{children:(0,r.jsxs)(eC,{children:[h&&(0,r.jsx)(eT,{}),a.map((e,n)=>{let t=h?i.$_.white:0!==n?i.$_.white:i.$_.deepSeaGreen10;return(0,r.jsx)(e_,{bgColor:t,children:(0,r.jsx)(i.UG,{markdown:(null==e?void 0:e.header)||""})},null==e?void 0:e.id)})]})}),(0,r.jsx)(ek,{children:g.map((e,n)=>(0,r.jsxs)(eC,{children:[h&&(0,r.jsx)(eD,{bgColor:x,children:(0,r.jsx)(i.UG,{markdown:e||""})}),a.map((e,t)=>{var o;let d=h?i.$_.white:0!==t?i.$_.white:i.$_.deepSeaGreen10,l=null==e?void 0:null===(o=e.tableRows)||void 0===o?void 0:o[n];return(0,r.jsx)(eR,{bgColor:d,children:(0,r.jsx)(i.UG,{markdown:(null==l?void 0:l.text)||""})},null==e?void 0:e.id)})]},"$".concat(e,"-").concat(n)))})]})})})]})};var eL=t(91818);let e$=(e,n)=>{switch(e.__typename){case eL.LN.CTA:return(0,r.jsx)(ep,{component:e});case eL.LN.CALLOUT:return(0,r.jsx)(U,{component:e});case eL.LN.LANDING_PAGE_RICH_TEXT_EDITOR:case eL.LN.RICH_TEXT_EDITOR:return(0,r.jsx)("div",{children:(0,r.jsx)(i.UG,{markdown:e.content,componentSettings:e.componentSettings,pageType:n})});case eL.LN.TABLE:return(0,r.jsx)(eG,{component:e});case eL.LN.QUOTE:return(0,r.jsx)(L,{component:e});case eL.LN.PROS_AND_CONS:return(0,r.jsx)(K,{component:e});case eL.LN.IMAGE_CONTAINER:return(0,r.jsx)(em,{component:e});default:return(0,r.jsx)("div",{children:"Unknown component"})}},eB=(e,n)=>e?e$(e,n):(0,r.jsx)("div",{children:"Unknown component"}),eE=e=>{let n=(null==e?void 0:e.filter(e=>e.__typename===eL.LN.RICH_TEXT_EDITOR))||[],t=[];return n?(n.forEach(e=>{o.TU.lexer((null==e?void 0:e.content)||"").forEach(e=>{"heading"===e.type&&(1===e.depth||2===e.depth||3===e.depth)&&t.push({heading:e.text,level:e.depth,id:(0,$.i)(e.text.toLowerCase().replace(/ /g,"-"))})})}),n.forEach(e=>{let n;let r=e.content||"",i=/<h(\d)[^>]*>(.*?)<\/h(\d)>/gi;for(;null!==(n=i.exec(r));){let e=parseInt(n[1],10);if(1===e||2===e||3===e){let r=n[2].replace(/<\/?[^>]+(>|$)/g,"").replace(/ /g," ").trim();r&&t.push({heading:r,level:e,id:(0,$.i)(r.toLowerCase().replace(/ /g,"-"))})}}}),t):[]}},81814:function(e,n,t){t.d(n,{M:function(){return r}});let r=(0,t(77527).ZP)("article")(e=>{let{theme:n}=e;return{fontSize:n.typography.body1.fontSize,lineHeight:1.4,fontWeight:400,width:"100%",display:"flex",flexDirection:"column",gap:n.spacing(5),figure:{margin:n.spacing(4,0),maxWidth:"100%"},img:{maxWidth:"100%",height:"auto"},'h1[id="nbsp"], h2[id="nbsp"], h3[id="nbsp"], h4[id="nbsp"], p[id="nbsp"]':{height:"20px"},"ul,ol ":{lineHeight:1.5,margin:"20px 0"},li:{fontSize:"".concat(n.typography.body1.fontSize),marginBottom:"8px"},"a:not(.MuiButtonBase-root), a:visited:not(.MuiButtonBase-root)":{border:"none",fontWeight:500},"& > p":{wordBreak:"break-word"},"& > div > & > p":{margin:0},[n.breakpoints.down("lg")]:{width:"100%",textAlign:"left"}}})},39838:function(e,n,t){t.d(n,{o:function(){return c}});var r=t(85893),i=t(92761),o=t(13142),d=t(66261),l=t(10960),a=t(67294);let s=e=>{let{elements:n}=e,[t,r]=(0,a.useState)(null),i=(0,a.useRef)([]),o=e=>e.map((n,t)=>{var r;let{id:i}=n,o=t===e.length-1,d=document.getElementById(i),l=o?document.body:document.getElementById(null===(r=e[t+1])||void 0===r?void 0:r.id);return d&&l?{id:i,start:d.getBoundingClientRect().top+window.scrollY,end:o?l.getBoundingClientRect().height:l.getBoundingClientRect().top+window.scrollY}:null}).filter(e=>null!==e),d=()=>{var e;let n=window.scrollY+150,t=i.current.find(e=>n>=e.start&&n<e.end),o=null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null;r(e=>e===o?e:o)};return(0,a.useEffect)(()=>
1{if("undefined"==typeof document)return;let e=()=>{i.current=o(n)},t="undefined"!=typeof ResizeObserver?new ResizeObserver(()=>{e(),d()}):null;return t&&t.observe(document.body),e(),window.addEventListener("scroll",d),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",d),window.removeEventListener("resize",e),null==t||t.disconnect()}},[n]),t},c=e=>{let{elements:n}=e,{t}=(0,i.$G)(),a=s({elements:n});return(0,r.jsxs)(l.eE,{children:[(0,r.jsx)(o.Z,{variant:"h6",children:t("table_of_contents.header")}),(0,r.jsx)(l.jG,{children:n.map((e,n)=>(0,r.jsx)(l.L_,{active:a===e.id,children:(0,r.jsx)(d.rU,{to:e.id,smooth:!0,duration:900,offset:-80,isDynamic:!0,children:e.heading})},"el-".concat(n,"-").concat(e.id)))})]})}},33454:function(e,n,t){t.d(n,{n:function(){return o},u:function(){return d}});var r=t(4388),i=t(39251);let o=e=>{let{bg:n,validOptions:t,pageType:o,defaultBG:d=r.S4.Default,primaryBusinessColor:l="entrepreneurYellow200",primaryAccountantColor:a="accountingGreen950"}=e;return n&&n!==r.S4.Default&&[r.S4.Transparent,...t].includes(n)?n===r.S4.Primary?(0,i.s)(o)?a:l:n:d},d=(e,n)=>e?{...e,...n}: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.