PageSourceSearch

https://familiesforlife.sg/assets/ProfilePageLayout.514ec82c.js

js familiesforlife.sg collected 2026-10-03 20:18:24 UTC 3,246 bytes, 1 lines download raw bytes

1import{l as e,m as a,y as n,n as s}from"./element-plus.80abf16b.js";import{c1 as t,bK as i,bM as r,bR as o,c2 as d,c3 as c,bP as l,c7 as m,c8 as p,ca as u,cg as f,bI as g,c9 as b,ch as v,cd as y,ep as h,eq as j}from"./commonmodules.b9c1dd40.js";import{_ as S,u as _,p as I,I as P,f as C,h as x}from"./index.d3bd9396.js";import k from"./BackToTop.0c3149e0.js";import w from"./Subscribe.5b508c8d.js";import E from"./index.6c4cd676.js";import N from"./LeaveSiteDialog.d06d79a3.js";import B from"./ErrorPage.7d6668ba.js";import"./lodash-es.480d1bd8.js";import"./axios.1263d4b1.js";import"./vue-router.5e13d197.js";import"./model.e540bca6.js";import"./consts.a3d39526.js";import"./Overview.a8f09604.js";import"./consts.99054894.js";import"./MyActivities.42a51cda.js";import"./RenderHtml.81f5c09a.js";import"./Unsubscribe.4a6d772b.js";const L=e=>(h("data-v-17be7e60"),e=e(),j(),e),M={class:"camps-profile-contain"},O={key:1,action:"/account/externallogin",class:"camps-sign-in",method:"post",id:"sign-in-form"},R=[L((()=>u("button",{type:"submit",style:{display:"none"},class:"btn btn-normal",id:"CommonSingpassSignin",name:"provider",value:"OpenIdConnectSingpass","data-submit":"OpenIdConnectSingpassSignin"},null,-1))),L((()=>u("input",{id:"accessuserSignin",type:"hidden",name:"accessuser",value:"true"},null,-1))),L((()=>u("input",{id:"policyNameSignin",type:"hidden",name:"policyName",value:"Common"},null,-1))),L((()=>u("input",{id:"returnurlSignin",type:"hidden",name:"returnurl",value:"/pages/profilepage"},null,-1)))],U={action:"/account/RedirectPersonalInfo",method:"get",id:"redirectPersonalInfoConfirmpage"},F=L((()=>u("input",{type:"hidden",name:"accessuser",value:"true"},null,-1))),T=["value"],q=L((()=>u("input",{type:"hidden",name:"policyName",value:"Common"},null,-1))),A=L((()=>u("input",{type:"hidden",name:"returnUrl",value:"/pages/profilepage"},null,-1)));var D=S(t({__name:"ProfilePageLayout",setup(t){document.title="FFL | My Profile";const h=_(),j=i((()=>h.state.render.hasError)),S=i((()=>{var e;return null==(e=h.state.profile.userInfo)?void 0:e.identityNumber})),L=i((()=>{var e;return null==(e=h.state.profile.userInfo)?void 0:e.nonce})),D=r();return o((async()=>{try{const e=await I("/account/islogin",{data:{type:P.Singpass}});if(D.value=e,e){if(await h.dispatch("profile/getUserProfile"),!S.value){const e=document.getElementById("redirectPersonalInfoConfirmpage");e&&e.submit()}}else{const e=document.getElementById("CommonSingpassSignin");e&&e.click()}}catch(e){"403"===e.message&&(window.location.href=`/page/error?code=${e.message}`)}})),(t,i)=>{const r=e,o=a,h=n,_=s;return d(),c(g,null,[l(D)&&l(S)?(d(),m(_,{key:0,class:"camps-render-container",direction:"vertical"},{default:p((()=>[f(r,{ref:"header",class:"camps-render-pcheader",id:"camps_render_header",tabindex:"-1"},{default:p((()=>[f(C)])),_:1},512),f(h,{class:"camps-render-main",id:"camps_render_main"},{default:p((()=>[b(u("div",M,[f(E)],512),[[v,!l(j)]]),l(j)?(d(),m(B,{key:0})):y("",!0),f(o,{class:"camps-render-footer"},{default:p((()=>[f(x)])),_:1})])),_:1}),f(k),f(w)])),_:1})):(d(),c("form",O,R)),u("form",U,[F,u("input",{type:"hidden",name:"nonce",value:l(L)},null,8,T),q,A]),f(N)],64)}}}),[["__scopeId","data-v-17be7e60"]]);export{D as default};

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.