1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"1.5.2.09301459"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="59505e15-f399-4e8f-9190-f9c9491dbee3",e._sentryDebugIdIdentifier="sentry-dbid-59505e15-f399-4e8f-9190-f9c9491dbee3")}catch(e){}}();import{a as e,r as t}from"./rolldown-runtime-r_PkRsG8.js";import{p as s}from"./@dnd-kit-jxMtJ-tI.js";import{t as o}from"./react-xIOnqy_g.js";import{t as n}from"./withStore-CSPjEoFO.js";import{Ot as d,p as a}from"./main-DvFig4EH.js";import{t as i}from"./welcome_documents-q9_xpykE.js";var r="_wrapper_1jnsh_7",_="_content_1jnsh_26",c="_title_1jnsh_37",m="_subtitle_1jnsh_46",h="_methods_1jnsh_54",l="_method_1jnsh_54",u="_method_name_1jnsh_92",j="_method_icon_1jnsh_103",f="_wrapper_embedded_1jnsh_309",p="_content_embedded_1jnsh_319",b="_methods_embedded_1jnsh_346",g="_method_embedded_1jnsh_354",v="_method_separator_1jnsh_382",x=t({default:()=>N}),y=e(s(),1),w=o();var N=d(n(function(e){const t=e.stores.login,{embedded:s=!1,onSelect:o,onClose:n}=e,[d,x]=(0,y.useState)(t.authData);(0,y.useLayoutEffect)(()=>{t.isNewLoginEnabled()&&(d||s||t.loadAuthMethodsPageData().then(x).catch(e=>console.log("get authData error ",e)))},[t,d,s]);if(!d)return(0,w.jsx)(a,{});const N=e=>{const n=e.currentTarget.dataset.action;s&&o?o(n):t.handleAuthAction(n)};return(0,w.jsxs)("div",{className:`${r} ${s?`${f} promo_auth_methods_embedded`:""}`,children:[!s&&(0,w.jsx)("div",{className:"modal_close",onClick:()=>{n?n():e.history.goBack()}}),(0,w.jsxs)("div",{className:`${_} ${s?p:""}`,children:[(0,w.jsx)("div",{className:c,children:d?.title}),(0,w.jsx)("div",{className:m,children:d?.subtitle}),d?.methods&&d.methods.length>0&&(0,w.jsx)("div",{className:`${h} ${s?b:""}`,children:d.methods.map((e,t)=>(0,w.jsxs)(y.Fragment,{children:[s&&1===t&&(0,w.jsx)("div",{className:v,"aria-hidden":"true"}),(0,w.jsxs)("button",{type:"button",onClick:N,"data-action":e.type||e.action,className:`${l} ${s?g:""}`,children:[(0,w.jsx)("div",{className:u,children:e.name}),!!e?.icon?.tv_x3&&(0,w.jsx)("div",{className:j,style:{backgroundImage:`url(${e?.icon?.tv_x3})`,backgroundSize:"cover",width:`${e?.icon?.tv_width_pt}rem`,height:`${e?.icon?.tv_height_pt}rem`}})]})]},e.type||e.action||t))}),s&&(0,w.jsx)(i,{documents:t.welcomeData?.docs||[],loginStore:t,isInModal:!0,isInPromo:!0})]})]})}));export{x as n,N as 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.