PageSourceSearch

https://www.stashaway.sg/_next/static/chunks/8331.44c19a7bd74fc335.js

js stashaway.sg collected 2026-10-01 11:36:37 UTC 6,085 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="11e94c24-7154-4d34-923a-64e3ef599e6c",e._sentryDebugIdIdentifier="sentry-dbid-11e94c24-7154-4d34-923a-64e3ef599e6c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[712,8331],{47811:(e,t,n)=>{n.d(t,{D:()=>i});var a=n(65321),r=n(71176);let i=e=>{let{data:t}=e;return(0,a.jsx)(r.Q2,{useAppDir:!1,mainEntity:t.map(e=>{let{answer:t,question:n}=e;return{questionName:n,acceptedAnswerText:t}})})}},92938:(e,t,n)=>{n.d(t,{z:()=>i});var a=n(60827),r=n.n(a);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={blocks:[],time:0,version:""};try{n=JSON.parse(e)}catch(e){}return n.blocks.filter(e=>!t.includes(e.type)).reduce((e,t)=>{switch(t.type){case"paragraph":case"header":case"quote":return e.concat(t.data.text);case"image":return t.data.file.alternativeText?e.concat(t.data.file.alternativeText):e;case"list":return e.concat(o(t.data.items));case"table":return e.concat(l(t.data));default:return e}},[]).join("\n")},o=e=>e.map(e=>r()(e)?e:"".concat(e.content,"\n").concat(o(e.items))).join("\n"),l=e=>{var t,n;let a=e.content.map(e=>e.map(e=>e).join(" | ")).join("\n");return[null==(t=e.header)?void 0:t.join(" | "),a,null==(n=e.footer)?void 0:n.join(" | ")].join("\n")}},98331:(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var a=n(65321),r=n(54080),i=n(95599),o=n(64468),l=n(63880),d=n(42456),s=n(56178);let c=(0,s.A)((0,a.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline"),u=(0,s.A)((0,a.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline");var p=n(71244),h=n(68687),m=n(3351),x=n(99110),f=n(49038),b=n(7528),g=n(97109);let v=(0,g.forwardRef)((e,t)=>{let{question:n,answer:r,expanded:i,onChange:o,variant:l="default"}=e;return(0,a.jsx)("div",{ref:t,children:(0,a.jsxs)(j,{expanded:i,onChange:o,faqVariant:l,children:[(0,a.jsx)(y,{expanded:i,children:(0,a.jsx)(p.A,{sx:{fontWeight:"bold"},children:n})}),(0,a.jsx)(A,{children:(0,a.jsx)(b.X,{children:r})})]})})});v.displayName="FaqQuestion";let j=(0,h.Ay)(e=>{var t;let{faqVariant:n,...r}=e,i=(0,d.A)(),o="light"===n?i.palette.common.white:null==(t=i.palette.faq)?void 0:t.background;return(0,a.jsx)(m.A,{...r,sx:{backgroundColor:o}})})(()=>({borderRadius:"16px",boxShadow:"none","&:before":{display:"none"},"& + &":{marginTop:"16px"}})),y=(0,h.Ay)(e=>{var t;let{expanded:n,...r}=e,i=(0,d.A)(),o=i.palette.brand.light;return(0,a.jsx)(f.A,{...r,sx:{color:null==(t=i.palette.faq)?void 0:t.question,padding:{xs:i.spacing(2),md:i.spacing(3)},gap:i.spacing(1)},expandIcon:n?(0,a.jsx)(c,{htmlColor:o,fontSize:"medium"}):(0,a.jsx)(u,{htmlColor:o,fontSize:"medium"})})})({}),A=(0,h.Ay)(e=>{var t;let n=(0,d.A)();return(0,a.jsx)(x.A,{...e,sx:{color:null==(t=n.palette.faq)?void 0:t.answer,paddingTop:"0"}})})({});var q=n(1505),w=n(92938),C=n(84645),k=n(12493),T=n(98358),S=n(21780),R=n(26292),_=n(47811);let z=e=>{let{children:t,value:n,tabName:r,...i}=e;return(0,a.jsx)(l.A,{role:"tabpanel",hidden:n!==r,id:"tabpanel-".concat(r),"aria-labelledby":"tab-".concat(r),...i,children:n===r&&(0,a.jsx)(l.A,{children:t})})},I=e=>{let{title:t,tabs:n,includeStructuredData:s=!1,variant:c="default"}=e,u="light"===c,{query:p}=(0,C.useRouter)(),{formatQueryParams:h}=(0,T.H)(),[m]=n,[x,f]=(0,g.useState)((null==m?void 0:m.tab)||""),[b,j]=(0,g.useState)(),y=(0,d.A)(),{height:A}=(0,q.A)(),I=(0,g.useRef)(null);return(0,g.useEffect)(()=>{if(p.questionId){let e=String(p.questionId),{tab:t,questionToOpen:a}=n.map(t=>{let{tab:n,questions:a=[]}=t;return{tab:n,questionToOpen:a.find(t=>{let{id:n}=t;return"qs".concat(String(n).padStart(2,"0"))===e})}}).find(e=>e.questionToOpen)||{};t&&f(t),a&&j(a.question)}},[p,n]),(0,g.useEffect)(()=>{I.current&&scrollTo({top:I.current.getBoundingClientRect().top+window.scrollY-A})},[A]),(0,a.jsxs)(r.A,{children:[s&&(0,a.jsx)(_.D,{data:n.map(e=>(e.questions||[]).map(e=>{let{question:t,answer:n}=e;return{answer:(0,w.z)(n,["image","button","delimiter","registerButton","embed"]),question:t}})).flat()}),t&&(0,a.jsx)(R._,{sx:{width:"100%",marginBottom:{xs:"24px",md:"40px"},color:y.palette.primary.main},align:"center",id:"faq",children:t}),(0,a.jsx)(i.A,{value:x,textColor:"inherit",onChange:(e,t)=>
1{f(t)},"aria-label":"frequently asked questions tabs",sx:{overflow:"auto",marginBottom:4,display:n.length>1?"block":"none","& .MuiTabs-indicator":{bottom:"5px",backgroundColor:y.palette.brand.light},"& > div":{overflow:"auto!important"}},children:n.map((e,t)=>(0,a.jsx)(o.A,{label:e.tab,value:e.tab,sx:{fontWeight:"bold",textTransform:"none",minWidth:0,padding:"0",marginRight:4,fontSize:"1rem",opacity:1,color:S.Ay.secondaryGray.shade600,"&.Mui-selected":{color:y.palette.brand.light},"&:hover":{color:y.palette.brand.light}},disableRipple:!0,...function(e){return{id:"tab-".concat(e),"aria-controls":"tabpanel-".concat(e)}}(e.tab)},t))}),n.map((e,t)=>{var n,i;return(0,a.jsx)(z,{value:x,tabName:e.tab,children:(0,a.jsxs)(r.A,{spacing:{xs:1,md:3},children:[null==(n=e.questions)?void 0:n.map((e,t)=>{let n;return(0,a.jsx)(v,{ref:e.question===b?I:null,question:e.question,answer:e.answer||"",expanded:e.question===b,onChange:(n=e.question,(e,t)=>{j(t?n:void 0)}),variant:c},t)}),(null==(i=e.viewMore)?void 0:i.link)&&(0,a.jsx)(l.A,{textAlign:"center",mt:4,children:(0,a.jsx)(k.A,{variant:u?"outlined":"primary",size:"medium",color:u?void 0:"secondary",href:h(e.viewMore.link),sx:{textTransform:"none",px:4,py:1.5,...u&&{borderRadius:"999px",borderColor:y.palette.primary.main,color:y.palette.primary.main,"&:hover":{borderColor:y.palette.primary.main,backgroundColor:"rgba(7, 35, 64, 0.04)"}}},children:e.viewMore.label})})]})},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.