1"use strict";(self.webpackChunkweb_platform=self.webpackChunkweb_platform||[]).push([[3537],{91829:(e,t,a)=>{a.d(t,{P:()=>n});var s,l,n="FormRow-module__label--R20vd";s='{"label":"FormRow-module__label--R20vd"}',l=a(29140)(e.id,{}),e.hot.data&&e.hot.data.value&&e.hot.data.value!==s?e.hot.invalidate():e.hot.accept(),e.hot.dispose((function(e){e.value=s,l()}))},24206:(e,t,a)=>{a.d(t,{DD:()=>o,VA:()=>i,h_:()=>n});var s,l,n="HeadingSection-module__description--MRDUa",i="HeadingSection-module__subtitle--FZv51",o="HeadingSection-module__title--BFuo8";s='{"description":"HeadingSection-module__description--MRDUa","subtitle":"HeadingSection-module__subtitle--FZv51","title":"HeadingSection-module__title--BFuo8"}',l=a(29140)(e.id,{}),e.hot.data&&e.hot.data.value&&e.hot.data.value!==s?e.hot.invalidate():e.hot.accept(),e.hot.dispose((function(e){e.value=s,l()}))},70616:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(46942),l=a.n(s),n=a(96540),i=a(36519),o=a(74848);const r=n.forwardRef((({bsPrefix:e,size:t,vertical:a=!1,className:s,role:n="group",as:r="div",...d},c)=>{const m=(0,i.oU)(e,"btn-group");let u=m;return a&&(u=`${m}-vertical`),(0,o.jsx)(r,{...d,ref:c,role:n,className:l()(s,u,t&&`${m}-${t}`)})}));r.displayName="ButtonGroup";const d=r},9528:(e,t,a)=>{a.d(t,{Tj:()=>l,jJ:()=>n,mf:()=>i});var s=a(96540);function l(e,t){let a=0;return s.Children.map(e,(e=>s.isValidElement(e)?t(e,a++):e))}function n(e,t){let a=0;s.Children.forEach(e,(e=>{s.isValidElement(e)&&t(e,a++)}))}function i(e,t){return s.Children.toArray(e).some((e=>s.isValidElement(e)&&e.type===t))}},69808:(e,t,a)=>{a.d(t,{A:()=>B});var s=a(46942),l=a.n(s),n=a(5556),i=a.n(n),o=a(96540),r=a(74848);const d={type:i().string,tooltip:i().bool,as:i().elementType},c=o.forwardRef((({as:e="div",className:t,type:a="valid",tooltip:s=!1,...n},i)=>(0,r.jsx)(e,{...n,ref:i,className:l()(t,`${a}-${s?"tooltip":"feedback"}`)})));c.displayName="Feedback",c.propTypes=d;const m=c;var u=a(4702),f=a(36519);const h=o.forwardRef((({id:e,bsPrefix:t,className:a,type:s="checkbox",isValid:n=!1,isInvalid:i=!1,as:d="input",...c},m)=>{const{controlId:h}=(0,o.useContext)(u.A);return t=(0,f.oU)(t,"form-check-input"),(0,r.jsx)(d,{...c,ref:m,type:s,id:e||h,className:l()(a,t,n&&"is-valid",i&&"is-invalid")})}));h.displayName="FormCheckInput";const x=h,p=o.forwardRef((({bsPrefix:e,className:t,htmlFor:a,...s},n)=>{const{controlId:i}=(0,o.useContext)(u.A);return e=(0,f.oU)(e,"form-check-label"),(0,r.jsx)("label",{...s,ref:n,htmlFor:a||i,className:l()(t,e)})}));p.displayName="FormCheckLabel";const v=p;var y=a(9528);const j=o.forwardRef((({id:e,bsPrefix:t,bsSwitchPrefix:a,inline:s=!1,reverse:n=!1,disabled:i=!1,isValid:d=!1,isInvalid:c=!1,feedbackTooltip:h=!1,feedback:p,feedbackType:j,className:b,style:N,title:g="",type:w="checkbox",label:A,children:F,as:$="input",...C},_)=>{t=(0,f.oU)(t,"form-check"),a=(0,f.oU)(a,"form-switch");const{controlId:S}=(0,o.useContext)(u.A),D=(0,o.useMemo)((()=>({controlId:e||S})),[S,e]),R=!F&&null!=A&&!1!==A||(0,y.mf)(F,v),T=(0,r.jsx)(x,{...C,type:"switch"===w?"checkbox":w,ref:_,isValid:d,isInvalid:c,disabled:i,as:$});return(0,r.jsx)(u.A.Provider,{value:D,children:(0,r.jsx)("div",{style:N,className:l()(b,R&&t,s&&`${t}-inline`,n&&`${t}-reverse`,"switch"===w&&a),children:F||(0,r.jsxs)(r.Fragment,{children:[T,R&&(0,r.jsx)(v,{title:g,children:A}),p&&(0,r.jsx)(m,{type:j,tooltip:h,children:p})]})})})}));j.displayName="FormCheck";const b=Object.assign(j,{Input:x,Label:v});a(9771);const N=o.forwardRef((({bsPrefix:e,type:t,size:a,htmlSize:s,id:n,className:i,isValid:d=!1,isInvalid:c=!1,plaintext:m,readOnly:h,as:x="input",...p},v)=>{const{controlId:y}=(0,o.useContext)(u.A);return e=(0,f.oU)(e,"form-control"),(0,r.jsx)(x,{...p,type:t,size:s,ref:v,readOnly:h,id:n||y,className:l()(i,m?`${e}-plaintext`:e,a&&`${e}-${a}`,"color"===t&&`${e}-color`,d&&"is-valid",c&&"is-invalid")})}));N.displayName="FormControl";const g=Object.assign(N,{Feedback:m}),w=o.forwardRef((({className:e,bsPrefix:t,as:a="div",...s},n)=>(t=(0,f.oU)(t,"form-floating"),(0,r.jsx)(a,{ref:n,className:l()(e,t),...s}))));w.displayName="FormFloating";const A=w,F=o.forwardRef((({controlId:e,as:t="div",...a},s)=>{const l=(0,o.useMemo)((()=>({controlId:e})),[e]);return(0,r.jsx)(u.A.Provider,{value:l,children:(0,r.jsx)(t,{...a,ref:s})})}));F.displayName="FormGroup";const $=F;
1var C=a(61105);const _=o.forwardRef((({as:e="label",bsPrefix:t,column:a=!1,visuallyHidden:s=!1,className:n,htmlFor:i,...d},c)=>{const{controlId:m}=(0,o.useContext)(u.A);t=(0,f.oU)(t,"form-label");let h="col-form-label";"string"==typeof a&&(h=`${h} ${h}-${a}`);const x=l()(n,t,s&&"visually-hidden",a&&h);return i=i||m,a?(0,r.jsx)(C.A,{ref:c,as:"label",className:x,htmlFor:i,...d}):(0,r.jsx)(e,{ref:c,className:x,htmlFor:i,...d})}));_.displayName="FormLabel";const S=_,D=o.forwardRef((({bsPrefix:e,className:t,id:a,...s},n)=>{const{controlId:i}=(0,o.useContext)(u.A);return e=(0,f.oU)(e,"form-range"),(0,r.jsx)("input",{...s,type:"range",ref:n,className:l()(t,e),id:a||i})}));D.displayName="FormRange";const R=D;var T=a(70477);const I=o.forwardRef((({bsPrefix:e,className:t,as:a="small",muted:s,...n},i)=>(e=(0,f.oU)(e,"form-text"),(0,r.jsx)(a,{...n,ref:i,className:l()(t,e,s&&"text-muted")}))));I.displayName="FormText";const k=I,P=o.forwardRef(((e,t)=>(0,r.jsx)(b,{...e,ref:t,type:"switch"})));P.displayName="Switch";const M=Object.assign(P,{Input:b.Input,Label:b.Label}),L=o.forwardRef((({bsPrefix:e,className:t,children:a,controlId:s,label:n,...i},o)=>(e=(0,f.oU)(e,"form-floating"),(0,r.jsxs)($,{ref:o,className:l()(t,e),controlId:s,...i,children:[a,(0,r.jsx)("label",{htmlFor:s,children:n})]}))));L.displayName="FloatingLabel";const U=L,V={_ref:i().any,validated:i().bool,as:i().elementType},z=o.forwardRef((({className:e,validated:t,as:a="form",...s},n)=>(0,r.jsx)(a,{...s,ref:n,className:l()(e,t&&"was-validated")})));z.displayName="Form",z.propTypes=V;const B=Object.assign(z,{Group:$,Control:g,Floating:A,Check:b,Switch:M,Label:S,Text:k,Range:R,Select:T.A,FloatingLabel:U})},4702:(e,t,a)=>{a.d(t,{A:()=>s});const s=a(96540).createContext({})},70477:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(46942),l=a.n(s),n=a(96540),i=a(36519),o=a(4702),r=a(74848);const d=n.forwardRef((({bsPrefix:e,size:t,htmlSize:a,className:s,isValid:d=!1,isInvalid:c=!1,id:m,...u},f)=>{const{controlId:h}=(0,n.useContext)(o.A);return e=(0,i.oU)(e,"form-select"),(0,r.jsx)("select",{...u,size:a,ref:f,className:l()(s,e,t&&`${e}-${t}`,d&&"is-valid",c&&"is-invalid"),id:m||h})}));d.displayName="FormSelect";const c=d},71926:(e,t,a)=>{a.d(t,{A:()=>C,w:()=>$});var s=a(74848),l=a(96540),n=a(81681),i=a(69808),o=a(25615),r=a(70616),d=a(44479),c=a(61105),m=a(38128),u=a(71543),f=a(53715),h=a(11136),x=a(48497),p=a(47402),v=a(89098),y=a(17953),j=a(12153),b=a(60818),N=a(3004),g=a(20913);const w=l.forwardRef((({children:e,onClick:t,className:a},l)=>(0,s.jsx)("button",{ref:l,onClick:e=>{e.preventDefault(),t(e)},className:a,children:e}))),A=({timeFrame:e,isActive:t,onClick:a,onDateRangeSelect:r,permission:d})=>{var c;const{isAuthenticated:h}=(0,b.As)(),v=(0,g.Zp)(),{dictionary:A,userLanguage:F}=l.useContext(u.sM),[$,C]=l.useState(""),[_,S]=l.useState(""),[D,R]=l.useState(null),[T,I]=l.useState(!1),k=(e,t)=>{e&&t&&(0,m.O5)((0,m.pv)(e),(0,m.pv)(t))&&R((0,m.od)((0,m.pv)(e),(0,m.pv)(t)))};if(e===f.p$.duration_all){const a=t?"btn btn-primary text-white":"btn btn-outline-secondary";return(0,s.jsxs)(n.A,{show:T,onToggle:e=>I(e),children:[(0,s.jsx)(n.A.Toggle,{as:w,id:"dropdown-custom-components",className:`${a} rounded px-2`,children:A[f.p$[e]]}),(0,s.jsx)(n.A.Menu,{className:"p-3",children:(0,s.jsxs)(i.A,{style:{minWidth:200},children:[(0,s.jsx)(y.A,{label:A.date_from,labelId:"date-range-from",vertical:!0,children:(0,s.jsx)(j.A,{value:$?new Date((0,m.pv)($)):void 0,setValue:e=>!!(0,x.Y)(new Date((0,m.pv)(e)),new Date)&&(e=>{const t=e;return C(t),k(t,_),!0})(e)})}),(0,s.jsx)(y.A,{rowClassName:"mt-2",label:A.date_to,labelId:"date-range-to",vertical:!0,children:(0,s.jsx)(j.A,{value:_?new Date((0,m.pv)(_)):void 0,setValue:e=>!!(0,p.d)(new Date((0,m.pv)(e)),(0,m.pv)($))&&(e=>{const t=e;return S(t),k($,t),!0})(e)})}),D&&(0,s.jsx)("div",{className:"text-muted mb-1 p-1",children:`${A.duration}: ${D} ${A.day}`}),(0,s.jsx)("div",{className:"d-flex justify-content-end mt-2",children:(0,s.jsx)(o.A,{variant:"primary",size:"sm",onClick:()=>{if($&&_&&(0,m.O5)((0,m.pv)($),(0,m.pv)(_))){const e={startDate:$,endDate:_,days:(0,m.od)($,_)};null==r||r(e),I(!1)}},children:A.apply})})]})})]})}const P=(null===(c=[d])||void 0===c?void 0:c.some((e=>N.pR.includes(e))))||h;return(0,s.jsxs)("div",{className:"position-relative",children:[P?null:(0,s.jsx)("div",{className:"position-relative",children:(0,s.jsx)("i",{className:"fas fa-lock position-absolute end-0",style:{fontSize:"12px",color:"var(--danger-normal, #dc3545)",marginTop:-6}})}),(0,s.jsx)(o.A,{variant:t?"primary":"outline-secondary",onClick:P?a:()=>v("/login"),"aria-pressed":t,className:"rounded-2 px-2",children:A[f.p$[e]]})]})},F=({showAllButton:e=!1,showYtdButton:t=!1,activeTimeFrame:a,onTimeFrameChange:n,componentPermission:i})=>{const{dictionary:o,userLanguage:d}=l.useContext(u.sM),[c,h]=l.useState(),x=t=>{h(t),e&&n(f.p$.duration_all,t)};return(0,s.jsx)(r.A,{className:"d-flex gap-2 align-items-start secondary-pills-nav",children:Object.values(f.p$).filter((a=>!(isNaN(Number(a))||!e&&a===f.p$.duration_all||!t&&a===f.p$.duration_YTD))).map((e=>(0,s.jsx)(A,{timeFrame:e,isActive:a===e,onClick:()=>(e=>{if(e===f.p$.duration_all&&c)n(e,c);else if(e===f.p$.duration_YTD){const t=new Date((new Date).getFullYear(),0,1),a=new Date;h(void 0),n(e,{startDate:(0,v.GP)(t,"dd-MM-yyyy"),endDate:(0,v.GP)(new Date,"dd-MM-yyyy"),days:(0,m.od)(t,a)})}else h(void 0),n(e)})(e),onDateRangeSelect:x,permission:null==i?void 0:i.concat(`:${e}`)},e)))})},$=({showTitle:e=!1,showAllButton:t=!1,showYtdButton:a=!0,title:n="",initialTimeFrame:i=f.p$.duration_1d,onTimeFrameChange:o,parentPermission:r})=>{const{dictionary:m,userLanguage:x}=l.useContext(u.sM),[p,v]=l.useState(i),y=(e,t)=>{v(e),null==o||o(e,t)};return l.useEffect((()=>{v(i)}),[i]),e?(0,s.jsx)("div",{children:(0,s.jsxs)(d.A,{children:[(0,s.jsx)(c.A,{xs:12,md:6,className:"d-flex flex-wrap justify-content-between",children:(0,s.jsx)(h.A,{as:"h2",title:n,titleClassName:"fw-normal"})}),(0,s.jsx)(c.A,{xs:12,md:6,className:"d-flex flex-wrap justify-content-end align-items-end",children:(0,s.jsx)(F,{showAllButton:t,showYtdButton:a,activeTimeFrame:p,onTimeFrameChange:y,componentPermission:r})})]})}):(0,s.jsx)("div",{className:"d-flex justify-content-end align-items-center w-100",children:(0,s.jsx)(F,{showAllButton:t,showYtdButton:a,activeTimeFrame:p,onTimeFrameChange:y,componentPermission:r})})},C=$},17953:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(74848),l=(a(96540),a(91829));const n=({children:e,label:t,labelId:a,error:n,rowClassName:i="",labelClassName:o="",vertical:r=!1})=>(0,s.jsxs)("div",{className:`d-flex flex-wrap flex-lg-nowrap ${r?"flex-column":"flex-row"} ${i}`,children:[t&&(0,s.jsx)("label",{className:`${l.P} ${o} text-start`,htmlFor:a,children:t}),e,n&&(0,s.jsx)("p",{children:n})]})},11136:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(74848),l=(a(96540),a(24206));
1const n=({title:e,subtitle:t,as:a="h2",description:n,titleClassName:i="fw-bold",fullWidth:o=!1})=>{const r=a;return(0,s.jsxs)("div",{className:"d-flex flex-column",children:[(0,s.jsx)(r,{className:`${"h1"===a||"h2"===a?"fs-3":"h3"===a?"fs-4":"h4"===a?"fs-5":"fs-6"} ${i} ${l.DD}`,children:e}),(0,s.jsxs)("div",{className:"d-flex justify-content-between gap-4",children:[t&&(0,s.jsx)("p",{className:o?"":`${l.VA} mt-3`,children:t}),n&&(0,s.jsx)("p",{className:o?"fst-italic":l.h_,children:n})]})]})}},94892:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});var s=a(74848),l=a(96540),n=a(44479),i=a(61105),o=a(29806),r=a(71926),d=a(53715),c=a(90176),m=a(39594),u=a(71543);let f=(e="",t=1)=>{let{userLanguage:a}=(0,l.useContext)(u.sM),{isLoading:s,error:n,data:i,isFetching:o}=(0,c.I)({queryKey:["investorsData",t,a],queryFn:()=>function(e,t){return a=this,s=arguments,n=function*(e,t,a="en"){var s;let l=yield fetch(m.API_GET_INVESTORS_DATA+`?usersession=${e}&duration=${t}`,{headers:{"accept-language":a}});return null===(s=(yield l.json()).response)||void 0===s?void 0:s.data},new((l=void 0)||(l=Promise))((function(e,t){function i(e){try{r(n.next(e))}catch(e){t(e)}}function o(e){try{r(n.throw(e))}catch(e){t(e)}}function r(t){var a;t.done?e(t.value):(a=t.value,a instanceof l?a:new l((function(e){e(a)}))).then(i,o)}r((n=n.apply(a,s||[])).next())}));var a,s,l,n}(e,t,a)});return{isLoading:s,data:i,error:n,isFetching:o}};var h=a(65133),x=a(86751);let p=l.lazy((()=>a.e(5400).then(a.bind(a,85400)))),v=l.lazy((()=>a.e(6143).then(a.bind(a,6143)))),y=l.lazy((()=>Promise.all([a.e(5846),a.e(1052)]).then(a.bind(a,41052))));const j=({userSession:e=""})=>{let{dictionary:t,userLanguage:a}=(0,l.useContext)(u.sM),[c,m]=(0,l.useState)(d.p$.duration_1d),{isLoading:j,error:b,data:N,isFetching:g}=f(e,c),[w,A]=(0,l.useState)(null);return(0,l.useEffect)((()=>{null===(null==N?void 0:N.chart0)||j||A(N)}),[N,j]),(0,s.jsxs)("div",{style:{opacity:j?.5:1},children:[(0,s.jsx)(n.A,{className:"mb-4",children:(0,s.jsx)(i.A,{children:(0,s.jsx)(r.A,{showAllButton:!1,showTitle:!0,onT
1imeFrameChange:(e,t)=>{e===d.p$.duration_all&&t?(console.log("Selected time range:",{timeFrame:e,startDate:t.startDate,endDate:t.endDate,numberOfDays:t.days}),m(t.days)):e===d.p$.duration_YTD&&t?(console.log("Selected timeframe:",t.days),m(t.days)):(console.log("Selected timeframe:",e),m(e))},title:t.investor_distribution,parentPermission:x.aX.VIEW_MARKET_SUMMARY_INVESTORS})})}),(0,s.jsx)(n.A,{children:(0,s.jsx)(o.A,{children:(0,s.jsx)(p,{duration:c,data:{chart1:null==w?void 0:w.chart1,chart2:null==w?void 0:w.chart2}})})}),(0,s.jsxs)(n.A,{className:"my-5",children:[(0,s.jsx)(i.A,{xl:12,xxl:6,children:(0,s.jsx)(o.A,{children:(0,s.jsx)(y,{userSession:e,data:{chart0:null==w?void 0:w.chart0},duration:c})})}),(0,s.jsx)(i.A,{xl:12,xxl:6,className:"mt-4 mt-xl-4 mt-xxl-0",children:(0,s.jsx)(o.A,{children:(0,s.jsx)(v,{duration:c,userSession:e})})})]}),(0,s.jsx)(h.A,{refresh:j})]})}}}]);
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.