PageSourceSearch

https://www.syfe.com/_next/static/chunks/pages/knowledge/advice/[adviceId]-ceb1da14646c0222.js

js syfe.com collected 2026-09-24 09:43:28 UTC 6,893 bytes, 1 lines download raw bytes

1try{let 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]="754bdda7-705f-43f9-b208-03519c0b4c86",e._sentryDebugIdIdentifier="sentry-dbid-754bdda7-705f-43f9-b208-03519c0b4c86")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9267],{7574:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var i=n(37876),r=n(14232),a=n(76213),l=n(48011),s=n(74222),d=n(19461),o=n(71776);let c=(0,l.Ng)((e,t)=>({adviceVideoInfo:d.jZ.getAdviceVideo(e),isDesktop:e.responsiveUtility.isDesktop}),e=>({getAdviceVideo:t=>e(o.$G.getAdviceVideo(t)),navigate:t=>e((0,s.VC)(t)),goBack:()=>e((0,s.OE)()),updateLocalAdviceStatus:t=>{let{id:n,status:i,text:r}=t;return e(o.$G.updateLocalAdviceStatus({id:n,status:i,text:r}))},updateVideoStatus:(t,n)=>{let{type:i,status:r,itemId:a}=t;return e(o.$G.updateArticleStatus({type:i,status:r,itemId:a},n))}}));var h=n(89099),p=n(48779),u=n(54755),g=n(34219),x=n(82167),f=n(20845),j=n.n(f),m=n(62694),_=n(24143);let b=(0,x.Ay)(g.az).withConfig({componentId:"sc-135e9316-0"})(["position:relative;.react-player__preview{background-position:top !important;}"]),v=e=>{let{onVideoEnd:t,goBack:n,onPlay:r}=e,{url:a}=e.data||{};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.A,{renderOn:["phone"],children:(0,i.jsx)(g.az,{pl:6,py:5,children:(0,i.jsx)(g._V,{alt:"back",onClick:n,src:_.A})})}),(0,i.jsx)(b,{height:{_:"236px",md:"410px"},margin:"auto",width:{_:"100%"},children:(0,i.jsx)(j(),{controls:!0,height:"100%",onEnded:t,onPlay:r,preload:"auto",url:a,width:"100%",config:{youtube:{playerVars:{modestbranding:1}}},playIcon:(0,i.jsx)(g.az,{color:"F.4",height:{_:"40px",md:"50px"},width:{_:"40px",md:"50px"},children:(0,i.jsx)(g.C0,{height:"100%",name:"play",width:"100%"})})})})]})};var y=n(81444);let w=c(e=>{var t;let{getAdviceVideo:n,adviceVideoInfo:a,isDesktop:l,navigate:s,goBack:d,updateLocalAdviceStatus:o,updateVideoStatus:c}=e,x=(0,h.useRouter)(),{adviceId:f}=(0,u.vA)(x),j=(null==a?void 0:a[f])||!1,{data:m=[]}=a||{},{featuredAdviceVideoId:_}=j,b=m.find(e=>e.id===_);(0,r.useEffect)(()=>{j||n(f)},[n,f,j]);let w=(0,r.useCallback)((e,t)=>{e&&c({itemId:String(e.id),type:"ADVICE_VIDEO",status:t},()=>{o({id:e.id,status:t,text:"COMPLETED"===t?"Done":""})})},[f,_,j,b]);return((0,r.useEffect)(()=>{if(j){var e,t;"NOT_STARTED"===(null==b||null==(t=b.data)||null==(e=t.status)?void 0:e.type)&&w({id:_},"IN_PROGRESS")}},[f,w,_,j,b]),j)?(0,i.jsx)(g.mc,{pb:{_:10,md:16},pt:{_:0,md:16},px:{_:0,md:4},children:(0,i.jsxs)(g.pT,{flexDirection:{_:"column",lg:"row"},children:[(0,i.jsxs)(g.az,{flexBasis:"65%",children:[(0,i.jsx)(v,{data:null==b?void 0:b.data,goBack:()=>{(0,p.Ay)({action:"back_click",category:"advise_l3",label:"".concat(f,";")}),d&&d()},onVideoEnd:()=>w(b,"COMPLETED")}),(0,i.jsx)(g.az,{mt:6,px:6,children:(0,i.jsx)(g.EY,{color:"N.15",dangerouslySetInnerHTML:{__html:null==b||null==(t=b.data)?void 0:t.title},variant:{_:"h2",md:"h3"}})})]}),(0,i.jsxs)(g.az,{flexBasis:"35%",children:[(0,i.jsx)(g.EY,{capitalize:!0,as:"div",color:"DN.7",pb:2,pl:6,pt:{_:4,md:0},variant:{_:"caption1",md:"h6"},children:"Expert advice"}),m.map((e,t)=>(0,i.jsx)(g.az,{bg:e.id===_?"N.1":"",pl:6,pr:6,children:(0,i.jsx)(g.q5,{active:e.id===_,isLast:t===m.length-1,itemIndex:t,widgetData:e})}))]})]})}):(0,i.jsx)(y.k,{oneTime:!0,showLoader:!0,type:"website"})});function k(){return(0,i.jsx)(w,{})}k.getLayout=a.A},23298:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/knowledge/advice/[adviceId]",function(){return n(7574)}])},76213:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var i=n(37876),r=n(14232),a=n(48011),l=n(89099),s=n(71776),d=n(19461),o=n(54755),c=n(48779),h=n(85931),p=n(95706),u=n(142),g=n(29632),x=n(34462),f=n(34219),j=n(96344),m=n(91794),_=n(80309),b=n(5041);let v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[u.gG.SJP_CLIENT];return n=>{let r=(0,a.d4)(d.$u.getUserRole);return t.includes(r)?(0,i.jsx)(g.default,{statusCode:404}):(0,i.jsx)(e,{...n})}}(function(e){let{children:t}=e,n=(0,l.useRouter)(),u=(0,a.d4)(d.jZ.getKnowledgeInfo),g=(0,a.d4)(e=>e.router.location),x=(0,a.d4)(e=>e.responsiveUtility.isPhone),v=(0,a.wA)(),y=(0,o.R8)(g.pathname,1),{tabs:w,defaultTab:k}=u||{};if((0,r.useEffect)(()=>{u||v(s.$G.getKnowledgeInfo())},[]),(0,r.useEffect)(()=>{!y&&g.pathname===p.zti&&w&&w.length&&n.replace("".concat(p.zti,"/").concat(w[0].key))},[y,n,w,g.pathname]),!u)return(0,i.jsx)(b.kt,{oneTime:!0,showLoader:!0});let E=g.pathname.split("/knowledge/guides/"),T=1!==g.pathname.split("/knowledge/advice/").length,A=1!==E.length,I=1!==g.pathname.split("/knowledge/magazine/").length,C=1!==g.pathname.split("/knowledge/webinars/").length;return(0,i.jsxs)(f.pT,{bg:"N.2",flexDirection:"column",height:"100%",children:[(0,i.jsx)(j.A,{renderOn:["desktop"],children:(0,i.jsx)(m.QI,{theme:"light"})}),(0,i.jsxs)(f.pT,{flex:"1",flexDirection:"column",style:{overflow:"auto"}
1,children:[w&&(!x||!(A||T||I||C))&&(0,i.jsx)(f.pT,{bg:{_:"N.1",md:"inherit"},borderBottom:"1px solid",borderBottomColor:"N.9",justifyContent:"center",pt:2,children:(0,i.jsx)(f.oz,{activeTab:y,defaultTab:k,items:w,onTabChange:e=>{(0,c.Ay)((0,h.vjL)("".concat(e,"_click"))()),n.push("/".concat(p.zti,"/").concat(e))}})}),!w.length&&(0,i.jsx)(f.pT,{alignItems:"center",flex:1,justifyContent:"center",children:(0,i.jsx)(f.aH,{})}),t,(0,i.jsx)(j.A,{renderOn:["tablet","desktop"],children:(0,i.jsx)(_.A,{})})]})]})}),y=e=>(0,i.jsx)(x.A,{children:(0,i.jsx)(v,{children:e})})},80309:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(37876);n(14232);var r=n(78071),a=n(1414),l=n(34219);let s={src:"/_next/static/media/app-store.30c9f98e.svg",height:40,width:120,blurWidth:0,blurHeight:0},d={src:"/_next/static/media/google-play.71039c30.svg",height:40,width:130,blurWidth:0,blurHeight:0},o=()=>{let{geographyConstants:e}=(0,r.Ym)();return(0,i.jsx)(l.az,{bg:"N.3",py:6,children:(0,i.jsx)(l.mc,{children:(0,i.jsxs)(l.pT,{alignItems:"center",justifyContent:"space-between",children:[(0,i.jsx)(l.az,{maxWidth:"70%",children:(0,i.jsxs)(l.EY,{color:"N.14",variant:"caption1",children:["Syfe \xa9 2022. All rights reserved. Reproduction of the materials, text and images isn’t permitted. For any queries, contact"," ",(0,i.jsx)(l.EY,{color:"A.4",variant:"caption1",children:e.links.SYFE_CONTACT_EMAIL})]})}),(0,i.jsxs)(l.pT,{children:[(0,i.jsx)(l.pT,{mr:2,children:(0,i.jsx)("a",{href:a.SFJ,rel:"noopener noreferrer",target:"_blank",children:(0,i.jsx)(l._V,{alt:"google play store ",shimmer:!0,src:d})})}),(0,i.jsx)(l.pT,{children:(0,i.jsx)("a",{href:a.M_w,rel:"noopener noreferrer",target:"_blank",children:(0,i.jsx)(l._V,{alt:"app store ",shimmer:!0,src:s})})})]})]})})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[5912,6340,1854,5601,4310,2908,6257,4462,636,6593,8792],()=>t(23298)),_N_E=e.O()}]);

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.