PageSourceSearch

https://www.marriage.gov.sg/assets/SolemniserLicenceInvitationPage-CtdV-SgS.js

js marriage.gov.sg collected 2026-09-25 05:39:36 UTC 839 bytes, 1 lines download raw bytes

1import{b as g,d as u,e as I,r as n,C as r,l as f,f as c,i as m,T as p,g as v,L,h as T,U as E,j as i,s as C,a as P,c as x}from"./index-D9MYIGKW.js";const j=()=>{const{invitationId:s}=g(),d=u(),[l]=I(),t=n.useCallback(e=>{if(e.origin!==r.ORIGIN_URL||e.data?.source!=="app")return;const a=e.data.payload;a?.error||f.assign(a?.redirectTo??c.home)},[]);return n.useEffect(()=>{if(!s||!/^[a-zA-Z0-9-]+$/.test(s||""))return;const o=`/solemniser/invitation/${encodeURIComponent(s)}`;return m()&&l.tokenType===p.Couple?v(o)():r.ENABLE_IDENTITY_PROVIDER_TYPE?d(c.selectLoginProvider,{state:{loginMethod:L.Civil,redirectTo:o}}):T(o,E.Couple,void 0,!0),window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[]),i.jsx("div",{className:C.root,children:i.jsx("div",{children:i.jsx(P,{imageSrc:x})})})};export{j 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.