PageSourceSearch

https://www.yotisign.com/iam/assets/login-55a9303d.js

js yotisign.com collected 2026-10-04 11:08:05 UTC 2,246 bytes, 1 lines download raw bytes

1import{u as V,h as E,e as Z,f as Q,y as W,n as O,a4 as y,d as s,E as H,o as j,a as o,O as z,B as J,R as S,Q as K,c as X,a5 as e,A as N,Z as $,H as oo,D as a,V as io}from"./index-528475f0.js";import{u as so,g as ao,a as P,s as eo}from"./ssoProviders-48b9c2c9.js";import{Y as no,l as to}from"./login-80ff13e6.js";import{F as I,L as lo}from"./loginSSO-d7d4c1e6.js";import{Y as ro}from"./yotiShareSection-26b622e4.js";const co=({shouldDisplayYoti:D="true",shouldDisplayEmail:T="true",ssoProviders:n="",created:R="false",matches:t={}})=>{const{getPreviousLoginConfig:u,clearPreviousLogin:Y,hasPreviousLogin:h,setPreviousLogin:A}=so(),{projectName:p,ssoConfig:_,ssoProviders:l,...v}=V(),[{shouldDisplayEmail:b,shouldDisplayYoti:q},F]=E({...v,...u()}),G=Z(),[,k]=Q(),[m,w]=E([]),r=e(T)&&b,c=e(D)&&q,L=ao(l,n),d=P(m,_,L),f=[r,c].filter(Boolean).length,C=d.length+f,B=async(i,g)=>{const U=await io(i,g),{active:x}=await G();A(no),to(U,x)},M=()=>{h()&&(Y(),F({...v,...u()}))};return W(()=>{eo(l,n).then(i=>{const g=P(i,_,L);w(i),g.length===0&&!c&&O(y,{query:t})}).catch(({message:i})=>{k(s._(H[i]||i)),O(j)})},[l,n]),o("div",{className:"login","data-qa":"login",children:[o(z,{title:p?s._({id:"q6YESN",values:{projectName:p}}):s._({id:"sQia9P"})}),o("div",{className:"login__form",children:[r&&o("div",{className:"login__btn",children:o(J,{variation:"outline-neutral",onClick:S(y,{query:t}),iconStart:o(K,{}),fullWidth:!0,"data-qa":"login-email",children:s._({id:"eL9P2A"})})}),d.length>0&&o("div",{className:X("login__sso",{"login__sso--multi":C>I+1}),style:{"--yoti-sso-length":C-I},children:o(lo,{ssoProviders:d,otherOptionsCount:f})}),c&&o(ro,{label:s._({id:"hZkZGy"}),onCompletion:B,showLearnMoreLink:!r&&m.length===0})]}),!e(R)&&!e(window.ENV.INVITE_REQUIRED)&&o("div",{className:"login__create",children:[o("div",{children:o(N,{onClick:S($,{query:t}),"data-qa":"login-sso-create-account",children:s._({id:"ln9/n9"})})}),h()&&o(oo,{children:[o("div",{className:"login__separator"}),o("div",{children:o(N,{onClick:M,"data-qa":"login-sso-create-account",children:s._({id:"FfU3uG"})})})]})]})]})};co.propTypes={shouldDisplayYoti:a.string,shouldDisplayEmail:a.string,ssoProvidersProp:a.string,created:a.string,matches:a.shape({})};export{co 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.