1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"63454191f8ac0590158b18fb5a10b35f78b09750"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1f307d18-862b-4207-89e8-4f30247ae087",e._sentryDebugIdIdentifier="sentry-dbid-1f307d18-862b-4207-89e8-4f30247ae087")}catch(e){}}(),(self.webpackChunkusers=self.webpackChunkusers||[]).push([[3843],{55860(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(96540),i=n(75659),a=n(28466),o=n(39770),l=n(11848),s=n(41159),d=n(79716),c=n(80189),u=n(38413),f=n(31609);function m(e){return(0,f.Ay)("PrivateSwitchBase",e)}(0,u.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var p=n(6025),h=n(74848);const v=(0,l.Ay)(c.A,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),y=(0,l.Ay)("input",{name:"MuiSwitchBase",shouldForwardProp:o.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),g=r.forwardRef(function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,defaultChecked:l,disabled:c,disableFocusRipple:u=!1,edge:f=!1,icon:g,id:b,inputProps:x,inputRef:k,name:j,onBlur:S,onChange:A,onFocus:R,readOnly:w,required:P=!1,tabIndex:I,type:D,value:C,slots:F={},slotProps:E={},...T}=e,[O,N]=(0,s.A)({controlled:r,default:Boolean(l),name:"SwitchBase",state:"checked"}),M=(0,d.A)();let z=c;M&&void 0===z&&(z=M.disabled);const B="checkbox"===D||"radio"===D,V={...e,checked:O,disabled:z,disableFocusRipple:u,edge:f},$=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,l={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,a.A)(o)}`],input:["input"]};return(0,i.A)(l,m,t)})(V),q={slots:F,slotProps:{input:x,...E}},[L,W]=(0,p.A)("root",{ref:t,elementType:v,className:$.root,shouldForwardComponentProp:!0,externalForwardedProps:{...q,component:"span",...T},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{R&&R(e),M&&M.onFocus&&M.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{S&&S(e),M&&M.onBlur&&M.onBlur(e)})(t)}}),ownerState:V,additionalProps:{centerRipple:!0,focusRipple:!u,disabled:z,role:void 0,tabIndex:null}}),[Y,H]=(0,p.A)("input",{ref:k,elementType:y,className:$.input,externalForwardedProps:q,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),A&&A(e,t)})(t)}}),ownerState:V,additionalProps:{autoFocus:n,checked:r,defaultChecked:l,disabled:z,id:B?b:void 0,name:j,readOnly:w,required:P,tabIndex:I,type:D,..."checkbox"===D&&void 0===C?{}:{value:C}}});return(0,h.jsxs)(L,{...W,children:[(0,h.jsx)(Y,{...H}),O?o:g]})})},9182(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>q});var r=n(96540),i=n(95196),a=n(32434),o=n(64856),l=n(99227),s=n.n(l),d=n(95093),c=n.n(d),u=n(44731),f=n(66118),m=n(8239),p=n(77406),h=n(33551),v=n(64155),y=n(69890),g=n(11641),b=n(51749),x=n(71543),k=n(17809),j=n(40244),S=n(82825),A=n(3177),R=n(56625);function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return P(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const I=function(e){var t=e.initialInvestmentAmount,n=e.realizedIRR,r=void 0===n?8:n,i=e.currentSharePrice,a=e.projectionEndDate,o=e.autoReinvest,l=void 0!==o&&o;if(!t||!i||!a)return{months:[],payoutToDate:[],navToDate:[],principal:0,cashReturn:0,shareCount:0,totalValue:0};for(var s=c()(),d=c()(a),u=Math.max(1,d.diff(s,"months")),f=r/100,m=Math.pow(1+f,1/12)-1,p=function(e,t){var n=u-e;return n<=0||t<=0?0:m<=0?t/n:t*m/(1-Math.pow(1+m,-n))},h=p(0,i),v=[],y=0;y<=u;y++){var g=u-y;
1if(g<=0)v.push(0);else if(m>0){var b=h*(1-Math.pow(1+m,-g))/m;v.push(b)}else v.push(h*g)}for(var x=[{shares:t/i,dividendPerShare:h,purchaseMonth:0}],k=[],j=[],S=[],A=[],R=0,P=t,I=[-t],D=0;D<=u;D++){var C=c()(s).add(D,"months");k.push(C);var F=v[D];if(D>0){var E,T=0,O=w(x);try{for(O.s();!(E=O.n()).done;){var N=E.value;D>N.purchaseMonth&&D<=u&&(T+=N.shares*N.dividendPerShare)}}catch(e){O.e(e)}finally{O.f()}if(l&&F>0){var M=T/F,z=p(D,F);x.push({shares:M,dividendPerShare:z,purchaseMonth:D}),P+=T,I.push(0)}else R+=T,I.push(T)}var B=x.reduce(function(e,t){return e+t.shares},0),V=B*F;j.push(R),S.push(V),A.push(P)}var $=S.length-1,q=S[$],L=j[$],W=x.reduce(function(e,t){return e+t.shares},0),Y=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.005,n=0;n<100;n++){for(var r=0,i=0,a=0;a<e.length;a++){var o=e[a];r+=o/Math.pow(1+t,a),i-=a*o/Math.pow(1+t,a+1)}if(Math.abs(i)<1e-7)break;var l=t-r/i;if(Math.abs(l-t)<1e-7)return l;t=l}return t}(I),H=100*(Math.pow(1+Y,12)-1);return{months:k,payoutToDate:j,navToDate:S,principalToDate:A,principal:t,cashReturn:L,shareCount:W,currentSharePrice:i,monthlyDividend:x[0].shares*x[0].dividendPerShare,dividendPerShare:h,totalValue:q+L,targetIRR:r,calculatedIRR:H}};var D=n(27568),C=n.n(D),F=n(74848);function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}var T=["inputRef","onChange"];function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],s=!0,d=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){d=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){B(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B(e,t,n){return(t=function(e){var t=function(e){if("object"!=E(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==E(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}f.t1.register(f.PP,f.kc,f.FN,f.No,f.E8,f.hE,f.m_,f.s$,f.dN);var V=function(e){var t=e.color,n=e.label,r=e.hidden,i=e.onClick;return(0,F.jsxs)(m.Ay,{container:!0,spacing:1,alignItems:"center",onClick:i,sx:{cursor:"pointer",opacity:r?.4:1,transition:"opacity 0.2s","&:hover":{opacity:r?.6:.8}},children:[(0,F.jsx)(m.Ay,{item:!0,children:(0,F.jsx)(p.A,{sx:{width:"17px",height:"5px",backgroundColor:t,borderRadius:"4px"}})}),(0,F.jsx)(m.Ay,{item:!0,children:(0,F.jsx)(h.A,{variant:"body2",sx:{textDecoration:r?"line-through":"none"},children:n})})]})},$=r.forwardRef(function(e,t){var n=e.inputRef,r=e.onChange,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,T);return(0,F.jsx)(a.HG,z(z({},i),{},{getInputRef:n||t,onValueChange:function(t){r({target:{name:e.name,value:t.floatValue}})},placeholder:"$0.00",isAllowed:function(e){var t=e.floatValue;return!t&&0!==t||t<=1e7},allowLeadingZeros:!1,thousandSeparator:!0,valueIsNumericString:!0,decimalScale:0,allowNegative:!1,prefix:"$"}))});$.displayName="NumberFormatCustom";const q=(0,j.A)(function(){return{}},{withTheme:!0})(function(e){var t,n=e.fullScreen,a=(e.classes,e.theme),l=e.id,d=(0,i.IT)(C(),{variables:{id:l},fetchPolicy:"cache-first"}),f=d.data,j=d.loading,w=d.error,P=O((0,r.useState)(1e4),2),D=P[0],E=P[1],T=O((0,r.useState)(!1),2),N=T[0],M=T[1],q=O((0,r.useState)({}),2),L=q[0],W=q[1],Y=O((0,r.useState)(null),2),H=Y[0],_=Y[1],G=function(e){W(function(t){return z(z({},t),{},B({},e,!t[e]))})},U=null==f?void 0:f.portfolioForSimplifiedProjector,Z=(0,r.useMemo)(function(){var e;if(null==U||null===(e=U.latestMonthlyPortfolioFinancialProjections)||void 0===e||!e.length)return 20;var t=U.latestMonthlyPortfolioFinancialProjections,n=t[t.length-1];return Math.max(1,c()(n.effectiveDt).diff(c()(),"years"))},[U]),K=(0,r.useMemo)(function(){var e;if(null==U||null===(e=U.latestMonthlyPortfolioFinancialProjections)||void 0===e||!e.length)return null;var t=U.latestMonthlyPortfolioFinancialProjections;return t[t.length-1].effectiveDt},[U]),Q=(null==U?void 0:U.realizedIRR)||8,X=(0,r.useMemo)(function(){var e;return null!=U&&null!==(e=U.currentEquityData)&&void 0!==e&&e.sharePrice&&K?I({initialInvestmentAmount:D,realizedIRR:Q,currentSharePrice:U.currentEquityData.sharePrice,projectionEndDate:K,autoReinvest:!0}):null},[D,Q,U,K]),J=(0,r.useMemo)(function(){var e;return null!=U&&null!==(e=U.currentEquityData)&&void 0!==e&&e.sharePrice&&K?I({initialInvestmentAmount:D,realizedIRR:Q,currentSharePrice:U.currentEquityData.sharePrice,projectionEndDate:K,autoReinvest:!1}):null},[D,Q,U,K]),ee=N?X:J;if(j)return(0,F.jsx)(v.A,{variant:"outlined",style:{padding:"2rem",textAlign:"center"},children:(0,F.jsx)(h.A,{variant:"body1",children:"Loading projections..."})});if(w)return(0,F.jsx)(v.A,{variant:"outlined",style:{padding:"2rem",textAlign:"center"},children:(0,F.jsxs)(h.A,{variant:"body1",color:"error",children:["Error loading projections: ",w.message]})});if(!U||!ee)return(0,F.jsxs)(v.A,{variant:"outlined",style:{padding:"2rem",textAlign:"center"},children:[(0,F.jsx)(h.A,{variant:"body1",children:"Unable to load projections. Missing required data."}),(0,F.jsxs)(h.A,{variant:"caption",style:{display:"block",marginTop:"0.5rem"},children:["Portfolio: ",U?"loaded":"missing"," | Share Price:"," ",(null==U||null===(t=U.currentEquityData)||void 0===t?void 0:t.sharePrice)||"missing"," | End Date:"," ",K||"missing"]})]});var te={labels:ee.months.map(function(e){return e.format("M-YYYY")}
1),datasets:[{label:"Dividend Payout",fill:!0,tension:.3,backgroundColor:function(e){var t=e.chart,n=t.ctx,r=t.chartArea;if(!r)return a.palette.green.ultraLight;var i=n.createLinearGradient(0,r.top,0,r.bottom);return i.addColorStop(0,"rgba(150, 227, 98, 0.5)"),i.addColorStop(.5,"rgba(150, 227, 98, 0.25)"),i.addColorStop(1,"rgba(150, 227, 98, 0.05)"),i},borderColor:a.palette.green.dark,pointBorderWidth:0,pointHoverRadius:0,pointRadius:0,pointHitRadius:0,data:ee.payoutToDate,stack:"main",hidden:L[0]||!1},{label:"Value of Shares",fill:!0,tension:.3,backgroundColor:function(e){var t=e.chart,n=t.ctx,r=t.chartArea;if(!r)return a.palette.primary.ultraLight;var i=n.createLinearGradient(0,r.top,0,r.bottom);return i.addColorStop(0,"rgba(1, 54, 46, 0.4)"),i.addColorStop(.5,"rgba(1, 54, 46, 0.2)"),i.addColorStop(1,"rgba(1, 54, 46, 0.02)"),i},borderColor:a.palette.primary.main,pointBorderWidth:0,pointHoverRadius:0,pointRadius:0,pointHitRadius:0,data:ee.navToDate,stack:"main",hidden:L[1]||!1}]};if(N&&J){var ne=J.navToDate.map(function(e,t){return e+J.payoutToDate[t]});te.datasets.push({label:"Without Reinvestment (Total)",fill:!1,tension:.3,borderColor:a.palette.grey.light,borderDash:[5,5],pointBorderWidth:0,pointHoverRadius:0,pointRadius:0,pointHitRadius:0,data:ne,stack:"comparison",hidden:L[2]||!1})}var re={responsive:!0,maintainAspectRatio:!1,plugins:{tooltip:{mode:"index",intersect:!1,itemSort:function(e,t){return(null==e?void 0:e.datasetIndex)-(null==t?void 0:t.datasetIndex)?-1:1},callbacks:{label:function(e){var t,n;if(1===e.datasetIndex)return"Market Value of Account: ".concat(s()(e.raw).format("$0,0.00"));var r=(null==e||null===(t=e.dataset)||void 0===t||null===(t=t.data)||void 0===t?void 0:t[e.dataIndex])-((null==e||null===(n=e.dataset)||void 0===n||null===(n=n.data)||void 0===n?void 0:n[e.dataIndex-1])||0);return["Monthly Dividend: ".concat(s()(r).format("$0,0")),"Monthly Dividend Yield: ".concat(s()(12*r/D).format("0,0.0%")),"Total Dividends Received: ".concat(s()(null==e?void 0:e.raw).format("$0,0"))]},footer:function(e){var t=0;return e.forEach(function(e){t+=parseFloat(null==e?void 0:e.raw)}),"Total Account Value: ".concat(s()(t).format("$0,0.00"))}}},legend:{display:!1}},scales:{x:{ticks:{maxTicksLimit:Math.round(ee.months.length/(n?36:24))}},y:{stacked:!1,beginAtZero:!0,ticks:{callback:function(e){return s()(e).format("$0,0.[0]a")}}}}},ie=ee.navToDate[ee.navToDate.length-1]+ee.payoutToDate[ee.payoutToDate.length-1],ae=ee.monthlyDividend||0,oe=ee.targetIRR||0,le=ee.calculatedIRR||0,se=[{key:"monthlyDividend",value:ae,label:"Est. Monthly Return",format:ae<10?"$0,0.00":"$0,0",decimals:ae<10?2:0,tooltip:"The estimated monthly dividend you would receive based on your investment amount and the current realized IRR. Actual dividends will vary based on portfolio performance."},{key:"finalValue",value:ie,label:N?"Est. Final Value":"Est. Total Dividends",format:"$0,0",decimals:0,tooltip:N?"The estimated total value of your investment at the end of the portfolio lifecycle, including all reinvested dividends compounded over time.":"The estimated total dividends you would receive over the remaining portfolio lifecycle if you withdraw dividends as cash."},{key:"calculatedIRR",value:le,label:"Calculated IRR",format:"0.00",decimals:2,suffix:"%",tooltip:"Target IRR: ".concat(oe.toFixed(2),"%. This shows the actual IRR calculated from the projected cashflows. Should match the target IRR.")}];return(0,F.jsxs)(v.A,{elevation:0,sx:{padding:n?"1.5rem":"2rem",backgroundColor:a.palette.grey.main,borderRadius:"".concat(a.shape.borderRadius,"px")},children:[(0,F.jsxs)(m.Ay,{container:!0,spacing:3,children:[(0,F.jsx)(m.Ay,{item:!0,xs:12,children:(0,F.jsxs)(m.Ay,{container:!0,spacing:2,alignItems:"center",justifyContent:"space-between",children:[(0,F.jsx)(m.Ay,{item:!0,xs:12,sm:6,md:4,children:(0,F.jsx)(y.A,{variant:"outlined",label:"Investment Amount",value:D,onChange:function(e){return E(e.target.value||0)},fullWidth:!0,size:"small",slotProps:{input:{inputComponent:$},inputLabel:{shrink:Boolean(D)}},sx:{"& .MuiOutlinedInput-root":{backgroundColor:a.palette.white.main}}})}),(0,F.jsx)(m.Ay,{item:!0,xs:12,sm:6,md:8,children:(0,F.jsxs)(m.Ay,{container:!0,alignItems:"center",justifyContent:n?"center":"flex-end",children:[(0,F.jsx)(h.A,{variant:"body2",sx:{marginRight:"0.75rem",color:N?a.palette.text.grey:a.palette.text.primary,fontWeight:N?400:600},children:"Withdraw Dividends"}),(0,F.jsx)(S.A,{backgroundOverride:!0,onClick:function(){return M(!N)},checked:N}),(0,F.jsx)(h.A,{variant:"body2",sx:{marginLeft:"0.75rem",color:N?a.palette.text.primary:a.palette.text.grey,fontWeight:N?600:400},children:"Reinvest Dividends"})]})})]})}),(0,F.jsx)(m.Ay,{item:!0,xs:12,children:(0,F.jsx)(m.Ay,{container:!0,spacing:2,children:se.map(function(e,t){return(0,F.jsx)(m.Ay,{item:!0,xs:6,sm:12/se.length,children:(0,F.jsxs)(A.A,{backgroundColor:a.palette.white.main,cornerRadius:a.custom.squircle.small.cornerRadius,cornerSmoothing:a.custom.squircle.small.cornerSmoothing,sx:{padding:"1rem",textAlign:"center"},children:[(0,F.jsx)(h.A,{variant:"h4",sx:{fontWeight:500,color:a.palette.text.primary,marginBottom:"0.25rem"},children:(0,F.jsx)(o.Ay,{useEasing:!0,preserveValue:!0,duration:1,end:e.value,decimals:e.decimals,formattingFn:function(t){return"".concat(s()(t).format(e.format)).concat(e.suffix||"")}})}),(0,F.jsxs)(h.A,{variant:"caption",sx:{color:a.palette.text.grey,textTransform:"uppercase",letterSpacing:"0.5px",display:"flex",alignItems:"center",justifyContent:"center"},children:[e.label,(0,F.jsx)(g.A,{edge:"end",size:"small","aria-label":"get more info",onClick:function(){return _(e.key)},id:"".concat(e.key,"-info-btn"),sx:{marginLeft:"0.25rem"},children:(0,F.jsx)(R.A,{sx:{fontSize:".9em"}})})]})]})},e.key)})})}),(0,F.jsxs)(m.Ay,{item:!0,xs:12,children:[(0,F.jsx)("div",{style:{position:"relative",height:n?"300px":"400px",
1width:"100%"},children:(0,F.jsx)(u.N1,{data:te,options:re})}),(0,F.jsxs)(m.Ay,{container:!0,justifyContent:"center",spacing:3,sx:{marginTop:"0.5rem"},children:[(0,F.jsx)(m.Ay,{item:!0,children:(0,F.jsx)(V,{color:a.palette.green.dark,label:"Dividend Payout",hidden:L[0],onClick:function(){return G(0)}})}),(0,F.jsx)(m.Ay,{item:!0,children:(0,F.jsx)(V,{color:a.palette.primary.main,label:"Market Value of Shares",hidden:L[1],onClick:function(){return G(1)}})})]})]}),(0,F.jsx)(m.Ay,{item:!0,xs:12,children:(0,F.jsx)(h.A,{variant:"caption",children:(0,F.jsxs)("em",{children:["This projection is for illustrative purposes only and is based on the portfolio's current realized IRR of"," ",s()(Q/100).format("0.0%"),". The model assumes flat, evenly distributed cash flows over the remaining ",Z,"-year portfolio lifecycle. Actual dividend amounts will vary based on project performance, weather conditions, energy prices, and other factors."," ",N&&"Reinvestment projections assume dividends are reinvested at the projected share price until portfolio maturity. ","Past performance is not indicative of future results. This is not a guarantee of future performance or returns. All investments involve risk and may result in partial or total loss of principal. Please review the Offering Circular for complete information before investing."]})})})]}),se.map(function(e){return(0,F.jsxs)(b.Ay,{open:H===e.key,anchorEl:function(){return document.getElementById("".concat(e.key,"-info-btn"))},onClose:function(){return _(null)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiPaper-root":{maxWidth:"300px",padding:"1rem",borderRadius:"".concat(a.shape.borderRadius,"px")}},children:[(0,F.jsxs)(p.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"0.5rem"},children:[(0,F.jsx)(h.A,{variant:"subtitle2",sx:{fontWeight:600},children:e.label}),(0,F.jsx)(g.A,{size:"small",onClick:function(){return _(null)},"aria-label":"close",children:(0,F.jsx)(k.A,{fontSize:"small"})})]}),(0,F.jsx)(x.A,{sx:{marginBottom:"0.75rem"}}),(0,F.jsx)(h.A,{variant:"body2",sx:{color:a.palette.text.grey},children:e.tooltip})]},"".concat(e.key,"-popover"))})]})})},27568(e){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getPortfolioForSimplifiedProjector"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"portfolioForSimplifiedProjector"},name:{kind:"Name",value:"getCachedPortfolio"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subtitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"projectedCOCYield"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"realizedIRR"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showRealizedIRR"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAcceptingInvestmentsDt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentEquityData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sharePrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxShares"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"investmentCap"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalNetRaised"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"latestMonthlyPortfolioFinancialProjections"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"effectiveDt"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:475}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);
1else if("VariableDefinition"===e.kind){var r=e.type;"NamedType"===r.kind&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){n(e,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){n(e,t)}),e.definitions&&e.definitions.forEach(function(e){n(e,t)})}t.loc.source={body:"query getPortfolioForSimplifiedProjector($id: Int!) {\n portfolioForSimplifiedProjector: getCachedPortfolio(id: $id) {\n id\n name\n subtitle\n projectedCOCYield\n realizedIRR\n showRealizedIRR\n startAcceptingInvestmentsDt\n currentEquityData {\n id\n sharePrice\n maxShares\n investmentCap\n totalNetRaised\n }\n # Get projections to determine end date\n latestMonthlyPortfolioFinancialProjections {\n effectiveDt\n }\n }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function i(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}t.definitions.forEach(function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}}),e.exports=t,e.exports.getPortfolioForSimplifiedProjector=function(e,t){var n={kind:e.kind,definitions:[i(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=r[t]||new Set,o=new Set,l=new Set;for(a.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return o.forEach(function(t){var r=i(e,t);r&&n.definitions.push(r)}),n}(t,"getPortfolioForSimplifiedProjector")},44731(e,t,n){"use strict";n.d(t,{N1:()=>p,Xl:()=>y,nu:()=>v,yP:()=>h});var r=n(74848),i=n(96540),a=n(66118);const o="label";function l(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function s(e,t){e.labels=t}function d(e,t,n=o){const r=[];e.datasets=t.map(t=>{const i=e.datasets.find(e=>e[n]===t[n]);return i&&t.data&&!r.includes(i)?(r.push(i),Object.assign(i,t),i):{...t}})}function c(e,t=o){const n={labels:[],datasets:[]};return s(n,e.labels),d(n,e.datasets,t),n}function u(e,t){const{height:n=150,width:o=300,redraw:u=!1,datasetIdKey:f,type:m,data:p,options:h,plugins:v=[],fallbackContent:y,updateMode:g,...b}=e,x=(0,i.useRef)(null),k=(0,i.useRef)(null),j=()=>{x.current&&(k.current=new a.t1(x.current,{type:m,data:c(p,f),options:h&&{...h},plugins:v}),l(t,k.current))},S=()=>{l(t,null),k.current&&(k.current.destroy(),k.current=null)};return(0,i.useEffect)(()=>{!u&&k.current&&h&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(k.current,h)},[u,h]),(0,i.useEffect)(()=>{!u&&k.current&&s(k.current.config.data,p.labels)},[u,p.labels]),(0,i.useEffect)(()=>{!u&&k.current&&p.datasets&&d(k.current.config.data,p.datasets,f)},[u,p.datasets]),(0,i.useEffect)(()=>{k.current&&(u?(S(),setTimeout(j)):k.current.update(g))},[u,h,p.labels,p.datasets,g]),(0,i.useEffect)(()=>{k.current&&(S(),setTimeout(j))},[m]),(0,i.useEffect)(()=>(j(),()=>S()),[]),(0,r.jsx)("canvas",{ref:x,role:"img",height:n,width:o,...b,children:y})}const f=(0,i.forwardRef)(u);function m(e,t){return a.t1.register(t),(0,i.forwardRef)((t,n)=>(0,r.jsx)(f,{...t,ref:n,type:e}))}const p=m("line",a.ZT),h=m("bar",a.A6),v=m("doughnut",a.ju),y=m("scatter",a.Pz)}}]);
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.