1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9610],{16263:function(e,t,n){n.d(t,{D:function(){return C},a:function(){return b}});var l=n(67251),o=n(36506),i=n(45113),s=n(52509),r=n(72454),a=n(39321),d=n(13591),u=n(59008),c=n(38875),p=n(94770),f=n(95685),h=n(93055),_=n(13328),m=n(47015);n(98961),"u">typeof window&&(0,i.lazy)(()=>Promise.all([n.e(1493),n.e(7832)]).then(n.bind(n,69409)));let g=((0,i.forwardRef)(({slide:e,isActive:t,isPrevious:n},o)=>{let i=(0,r.Z)("_titleBox_fmpi8_5",{_isVisible_fmpi8_8:t,_isNotVisible_fmpi8_11:n,_isHide_fmpi8_14:!t&&!n});return(0,l.jsxs)("div",{ref:o,className:i,children:[(0,l.jsx)(_.Z,{color:"static-white",decoration:"none",variant:"heading1",weight:"semi-bold",children:e.title}),(0,l.jsx)(_.Z,{color:"static-white",decoration:"none",variant:"subHeading",weight:"medium",component:"p",className:"_mt3_fmpi8_17",children:e.description})]})}),"_readStory_1nou0_1"),w=({link:e,text:t})=>(0,l.jsx)("div",{className:g,children:(0,l.jsxs)("a",{href:e,target:"_blank",children:[(0,l.jsx)(_.Z,{color:"static-black",decoration:"none",variant:"regular",weight:"medium",component:"h3",children:t}),(0,l.jsx)("img",{src:m.V,alt:"arrowIcon"})]})}),v=((0,i.forwardRef)(({slide:e,isActive:t,isPrevious:n},o)=>{let i=(0,r.Z)("_titleBox_exwi7_6",{_isVisible_exwi7_12:t,_isNotVisible_exwi7_15:n,_isHide_exwi7_18:!t&&!n});return(0,l.jsxs)("div",{ref:o,className:i,children:[(0,l.jsx)(_.Z,{color:"primary-900",decoration:"none",variant:"tiny",weight:"semi-bold",component:"h3",className:"_newsTitle_exwi7_22",children:e.newsTitle}),(0,l.jsx)(_.Z,{color:"static-black",decoration:"none",variant:"heading4",weight:"semi-bold",component:"h2",children:e.title}),(0,l.jsx)(w,{text:"Read Full Stroy"})]})}),"_titleBox_1daof_6"),x=((0,i.forwardRef)(({upNextSlide:e,isActive:t,isPrevious:n,contentTitle:o},i)=>{let s=(0,r.Z)(v,{_isVisible_1daof_12:t,_isNotVisible_1daof_15:n,_isHide_1daof_18:!t&&!n});return(0,l.jsxs)("div",{ref:i,className:s,children:[(0,l.jsx)(_.Z,{color:"static-deep-blue",decoration:"none",variant:"small",weight:"medium",component:"h4",className:"_mb10_1daof_9",children:o||"Untitled"}),(0,l.jsx)(_.Z,{color:"static-black",decoration:"none",variant:"subHeading",weight:"semi-bold",component:"h2",children:(null==e?void 0:e.nextNewsTitle)||"No Title Available"})]})}),{wrapper:"_wrapper_12ypp_2","full-width":"_full-width_12ypp_14","disable-scroll":"_disable-scroll_12ypp_17",listItem:"_listItem_12ypp_37",searchContainer:"_searchContainer_12ypp_40",scrollbar:"_scrollbar_12ypp_48",icon:"_icon_12ypp_52",noResultsItem:"_noResultsItem_12ypp_67",searchInput:"_searchInput_12ypp_70"}),b=(0,i.forwardRef)((e,t)=>{let{type:n="normal",name:o,fullWidth:s=!1,onChange:d,id:u,reverse:_=!1,backgroundChangeOnCheck:m=!0,isMulti:g=!1,onClick:w,className:v,options:b=[],optionLabelKey:y="label",optionValueKey:C="value",optionIdKey:j="id",values:N=[],renderOption:k,onMouseDown:S,onMouseUp:I,maxHeight:E,scrollable:O=!0,focused:Z=!1,sortSelectedItems:M=!1,groupedOptions:D,minWidth:W,searchable:R=!1,searchPlaceholder:L="Search...",onClearSearch:F,onSearchChange:P,noResultsMessage:H="No results found",listItemClassName:$="",showOptions:V=!0,renderOptionsFooter:K=null}=e,[A,B]=(0,i.useState)(N),[T,q]=(0,i.useState)(""),[z,U]=(0,i.useState)(b),[J,G]=(0,i.useState)(z);(0,i.useEffect)(()=>{B(N)},[JSON.stringify(N)]),(0,i.useEffect)(()=>{U(b),G(b)},[b]),(0,i.useEffect)(()=>{if(!g&&N.length>1)throw Error("Multiple default values can be set when 'isMulti' is true")},[]),(0,i.useEffect)(()=>{R&&T?G(z.filter(e=>{var t;let n="string"==typeof y?null==e?void 0:e[y]:y(e);return"string"==typeof n&&(null==(t=null==n?void 0:n.toLowerCase())?void 0:t.includes(null==T?void 0:T.toLowerCase()))})):G(z)},[T,z,y]),(0,i.useEffect)(()=>{M&&G([...J].sort((e,t)=>{let n=A.includes(e[C]);return+A.includes(t[C])-+n}))},[A,Z]);let Q=(0,r.Z)(x.wrapper,{[x["full-width"]]:s,[x["disable-scroll"]]:!O},v),X=e=>{let t=e.target,n=t.value,l=t.checked;B(g?l?e=>[...e,n]:e=>e.filter(e=>e!=n):l?[n]:[]),d&&d(e)},Y=e=>{w&&w(e)};return V?(0,l.jsxs)("div",{className:Q,ref:t,onMouseDown:S,onMouseUp:I,children:[(0,l.jsxs)(l.Fragment,{children:[R&&(0,l.jsx)("div",{className:x.searchContainer,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),children:(0,l.jsx)(a.Z,{value:T,onChange:e=>{let t=e.target.value;q(t),null==P||P(t)},placeholder:L,preIcon:(0,l.jsx)(h.Z,{}),postIcon:T?(0,l.jsx)("div",{className:x.icon,children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",onClick:()=>{q(""),null==F||F()},children:(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L12 10.9393L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L13.0607 12L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L12 13.0607L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L10.9393 12L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"})})}):(0,l.jsx)(f.Z,{}),fullWidth:!0,readOnly:!1,className:x.searchInput})}),(0,l.jsx)(p.Z,{className:x.scrollbar,maxHeight:E,children:J.length>0?null==J?void 0:J.map((e,t)=>
1{let s=A.some(t=>t===(null==e?void 0:e[C]));function a(){return(0,l.jsx)(i.Fragment,{children:(0,l.jsx)(c.Z,{type:n,name:o,fullWidth:!0,onChange:X,onClick:Y,reverse:_,backgroundChangeOnCheck:m,...null!=e&&e[j]?{id:e[j]}:void 0!==u?{id:`${u}-${t}`}:{},value:null==e?void 0:e[C],checked:s,bottomStroke:!!K||t<J.length-1,className:(0,r.Z)(x.listItem,$),tooltip:(null==e?void 0:e.tooltip)||null,minWidth:W,...e,children:"string"==typeof y?null==e?void 0:e[y]:y(e)})},t)}let d=a(),p={...e,index:t,value:e[C],label:"string"==typeof y?e[y]:y(e)};return(0,l.jsx)(i.Fragment,{children:k?k(d,p):a()},t)}):T?(0,l.jsx)(c.Z,{type:"normal",fullWidth:!0,className:(0,r.Z)(x.noResultsItem,$),disabled:!0,value:"",children:H}):D&&(null==D?void 0:D.map((e,t)=>(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(c.Z,{className:"group-header",value:e.group,type:"section-header",children:e.group}),(0,l.jsx)("div",{className:"group-options",children:e.options.map((t,s)=>{let a=A.some(e=>e===(null==t?void 0:t[C]));function d(){return(0,l.jsx)(i.Fragment,{children:(0,l.jsx)(c.Z,{type:n,name:o,fullWidth:!0,onChange:X,onClick:Y,reverse:_,backgroundChangeOnCheck:m,id:(null==t?void 0:t[j])||`${u}-${s}`,value:null==t?void 0:t[C],checked:a,bottomStroke:!!K||s<e.options.length-1,className:(0,r.Z)(x.listItem,$),tooltip:(null==t?void 0:t.tooltip)||null,minWidth:W,...t,children:"string"==typeof y?null==t?void 0:t[y]:y(t)})},s)}let p=d(),f={...t,index:s,value:t[C],label:"string"==typeof y?t[y]:y(t)};return(0,l.jsx)(i.Fragment,{children:k?k(p,f):d()},s)})})]},t)))})]}),K?K():(0,l.jsx)(l.Fragment,{})]}):null}),y={dropdown:"_dropdown_74wrp_1","full-width":"_full-width_74wrp_4",isDefaultDropdown:"_isDefaultDropdown_74wrp_8",right:"_right_74wrp_12",left:"_left_74wrp_15",center:"_center_74wrp_18",inputWrapper:"_inputWrapper_74wrp_23",fullWidth:"_fullWidth_74wrp_35",input:"_input_74wrp_23",focus:"_focus_74wrp_45",list:"_list_74wrp_50","open-above":"_open-above_74wrp_53",message:"_message_74wrp_59",requiredMark:"_requiredMark_74wrp_74",postIcon:"_postIcon_74wrp_78",readOnly:"_readOnly_74wrp_85",disabled:"_disabled_74wrp_86",hidden:"_hidden_74wrp_90"},C=(0,i.forwardRef)((e,t)=>{let{label:n="",placeholder:r="",preIcon:c,focused:p=!1,success:f=!1,error:h=!1,message:_,required:m=!0,onChange:g,onClick:w,name:v,type:x="normal",disabled:C=!1,readOnly:j=!1,variant:N="inside",align:k="center",fullWidth:S=!1,id:I,isMulti:E=!1,backgroundChangeOnCheck:O,reverse:Z,className:M="",renderDropdown:D=null,options:W=[],optionLabelKey:R="label",optionValueKey:L="value",optionIdKey:F="id",values:P=[],renderOption:H,onFocus:$,onBlur:V,scrollable:K=!0,maxHeight:A,sortSelectedItems:B=!1,defaultValue:T="",minWidth:q,menuClassName:z,groupedOptions:U,onSearchChange:J,onClearSearch:G,searchable:Q,searchPlaceholder:X="Search...",noResultsMessage:Y="No results found",listItemClassName:ee="",showOptions:et=!0,renderOptionsFooter:en=()=>null,...el}=e,eo=A||344,[ei,es]=(0,i.useState)(!1),[er,ea]=(0,i.useState)(eo),[ed,eu]=(0,i.useState)({top:0,left:0,width:0}),[ec,ep]=(0,i.useState)(null),[ef,eh]=(0,i.useState)(null),[e_,em]=(0,i.useState)(!1),[eg,ew]=(0,i.useState)(p),[ev,ex]=(0,i.useState)(T||""),[eb,ey]=(0,i.useState)(P);(0,i.useEffect)(()=>{ew(p)},[p]),(0,i.useEffect)(()=>{ey(P)},[JSON.stringify(P)]),(0,i.useEffect)(()=>{var e;B&&eg&&eN.current&&eb.length>0&&!E&&(null==(e=null==eS?void 0:eS.current)||e.children[1].children[0].scrollTo({top:0}))},[eg,eb]),(0,i.useEffect)(()=>{let e=(e,t)=>e.map(e=>{let n=t.find(t=>t[L]==e);return n?"string"==typeof R?n[R]:R(n):null}).filter(Boolean);if(W.length>0){if(E){let t=e(eb,W),n=t.length>0?1===t.length?t[0]:t.join(", "):"";ex(`${n}`)}else{let e=W.find(e=>e[L]==eb[0]);ex(e?"string"==typeof R?e[R]:R(e):T||"")}}else if(U&&U.length>0){if(E){let t=e(eb,U.flatMap(e=>e.options)),n=t.length>0?1===t.length?t[0]:t.join(", "):"";ex(`${n}`)}else{let e=U.flatMap(e=>e.options).find(e=>e[L]==eb[0]);ex(e?e["string"==typeof R?e[R]:R(e)]:T||"")}}},[P,eb,E,W,U]),(0,i.useEffect)(()=>{T&&ex(T)},[T]),(0,i.useEffect)(()=>{if(ek.current){let e=ek.current.parentElement;for(;e;){if((0,d.a9)(e)){ep(e);break}e=e.parentElement}}},[]),(0,i.useEffect)(()=>
1{if(eg&&ec){let e=(0,d.$$)(ec);eh(()=>e)}else!eg&&ef&&(ef(),eh(null))},[eg,ec]),(0,i.useEffect)(()=>{if("u">typeof window&&"u">typeof document)return eg?(document.body.style.overflow="hidden",eI()):document.body.style.overflow="",()=>{document.body.style.overflow=""}},[eg]);let[eC,ej]=(0,i.useState)(!1),eN=(0,i.useRef)(null),ek=(0,i.useRef)(null),eS=(0,i.useRef)(null);(0,i.useEffect)(()=>{if("u">typeof window&&"u">typeof document){let e=e=>{eN.current&&!eN.current.contains(e.target)&&ew(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}},[]);let eI=()=>{if(eN.current&&ek.current){let{top:e,left:t,bottom:n,right:l,width:o}=ek.current.getBoundingClientRect(),{innerWidth:i,innerHeight:s}=window,r=S?o:eN.current.offsetWidth,a=(0,d.At)(k,t,l,r,i),{top:u,openAbove:c,maxHeight:p}=(0,d._R)(e,n,s,eo,eN.current.offsetHeight);ej(c),ea(p),eu({top:u,left:a,width:r})}};(0,i.useEffect)(()=>{if(eN.current&&ek.current&&et)return eI(),window.addEventListener("resize",eI),()=>{window.removeEventListener("resize",eI)}},[eg]);let eE=(0,o.c)(y.dropdown,{[y["full-width"]]:S,[y.isDefaultDropdown]:!D,[y[k]]:!0}),eO=(0,o.c)(y.list,{[y.focus]:eg,[y["open-above"]]:eC,[y.message]:!!_,[y[N]]:N},z),eZ=(0,o.c)(y.postIcon,{[y.focus]:eg&&!j,[y.readOnly]:j,[y.disabled]:C}),eM=(0,o.c)(y.input,{[y.focus]:eg},M),eD=(0,o.c)(y.inputWrapper,{[y[k]]:!0,[y.fullWidth]:S,[y.isDefaultDropdown]:!D}),eW=(0,i.useCallback)(e=>{C||j||(null==e||e.preventDefault(),null==e||e.stopPropagation(),ew(!et||(e=>!e)),e&&(null==w||w(e)))},[C,j,w,et]),eR=(0,l.jsx)(u._,{className:eZ});(0,i.useEffect)(()=>{em("u">typeof window&&"u">typeof document)},[]);let eL=Array.isArray(W)&&W.length>0;return e_?(0,l.jsxs)("div",{className:eE,ref:eS,children:[(0,l.jsx)("div",{className:eD,ref:ek,children:D?D({focused:eg,onClick:eW}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.Z,{id:I,label:n,placeholder:eg?r:"",onBlur:e=>{ei?e.preventDefault():null==V||V(e)},onFocus:function(e){$&&$(e),j||C||ew(!0),Q&&setTimeout(()=>{eI()},300)},postIcon:eR,success:f,error:h,message:_,required:m,disabled:C,readOnly:(!Q||!eg)&&j,onKeyDown:function(e){Q&&eg||e.preventDefault()},value:ev,fullWidth:S,className:eM,preIcon:c,variant:N,onClick:eW,focused:eg,name:v,asChild:!(Q&&eg||j),...el,inputMode:Q?"text":"none"}),eg&&et&&(0,l.jsx)("div",{className:y.hidden,onMouseDown:e=>{e.stopPropagation(),ew(!1)}})]})}),et?s.createPortal((0,l.jsx)("div",{tabIndex:-1,style:{position:"fixed",zIndex:1500,left:`${ed.left}px`,top:`${ed.top}px`,minWidth:`${q}px`,maxHeight:eg?`${er}px`:"0px",width:S?`${ed.width}px`:""},onMouseDown:e=>{e.stopPropagation()},children:eL&&(0,l.jsx)(b,{...null!==I&&{id:I},ref:eN,isMulti:E,type:x,name:v,fullWidth:S,onChange:function(e){e.preventDefault(),e.stopPropagation();let{value:t,checked:n}=e.target;E?ey(e=>n?e.some(e=>e==t)?e:[...e,t]:e.filter(e=>e!=t)):(ey(n?[t]:[]),ew(!1)),g&&g(e)},backgroundChangeOnCheck:O,reverse:Z,className:eO,optionLabelKey:R,optionValueKey:L,optionIdKey:F,options:W,values:P,renderOption:H,onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),es(!0)},onMouseUp:()=>{setTimeout(()=>es(!1),0)},scrollable:K,maxHeight:er,focused:eg,sortSelectedItems:B,minWidth:q,groupedOptions:U,onClick:function(e){E||eb[0]!=e.target.value||ew(!1)},onSearchChange:J,onClearSearch:G,searchable:Q,searchPlaceholder:X,noResultsMessage:Y,showOptions:et,renderOptionsFooter:()=>en({focused:eg,setFocused:ew})})}),document.body):null]}):(0,l.jsx)(l.Fragment,{})})}}]); 2//# sourceMappingURL=c219fbf4-5ab32f7be440801c.js.map
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.