1import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{d as t}from"./animation-BmfWTHNX.js";import{t as n}from"./useTranslation-DAhprYe0.js";import{g as r}from"./IEntityCollection-EELl0FHm.js";import{t as i}from"./useSelector-pt6CdCBU.js";import{t as a}from"./DirectInteractionActionCreator-xb8o7jIU.js";import{i as o}from"./AuthenticationSelectors-BpuPDry0.js";import{Tt as s,mn as c}from"./mui-C6SoQiqU.js";import{r as l}from"./vendor-BFRf0H0a.js";import{t as u}from"./config-orooZnbf.js";import{t as d}from"./CookieStorage-BeClXZis.js";import{t as f}from"./IconModal-R5q7T1tp.js";var p=l(),m=e(t(),1);function h(){let{id:e}=i(o),[t,n]=(0,m.useState)(!!d.getItem(u.constants.EMAIL_CONFIRM_TIMEOUT));(0,m.useEffect)(()=>{d.getItem(u.constants.EMAIL_CONFIRM_TIMEOUT)&&n(!0)},[]);let s=(0,m.useCallback)(()=>{a.resendConfirmEmail(e),n(!0),d.setItem(u.constants.EMAIL_CONFIRM_TIMEOUT,`true`,{expires:r(new Date,u.app.EmailConfirmationTimeoutInMinutes)})},[e]);return{enabled:!t,onSendVerificationMail:s}}var g=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20style='enable-background:new%200%200%20512%20512'%20viewBox='0%200%20512%20512'%3e%3cpath%20d='m0%20192%20246.528%20156.896c2.816%202.08%206.144%203.104%209.472%203.104s6.656-1.024%209.472-3.104L512%20192%20265.6%203.2a16.032%2016.032%200%200%200-19.2%200L0%20192z'%20style='fill:%2364b5f6'/%3e%3cpath%20d='M416%200H96C78.368%200%2064%2014.368%2064%2032v352c0%208.832%207.168%2016%2016%2016h352c8.832%200%2016-7.168%2016-16V32c0-17.632-14.336-32-32-32z'%20style='fill:%23eceff1'/%3e%3cpath%20d='M144%2096h224c8.832%200%2016-7.168%2016-16s-7.168-16-16-16H144c-8.832%200-16%207.168-16%2016s7.168%2016%2016%2016zm224%2032H144c-8.832%200-16%207.168-16%2016s7.168%2016%2016%2016h224c8.832%200%2016-7.168%2016-16s-7.168-16-16-16zm-96%2064H144c-8.832%200-16%207.168-16%2016s7.168%2016%2016%2016h128c8.832%200%2016-7.168%2016-16s-7.168-16-16-16z'%20style='fill:%2390a4ae'/%3e%3cpath%20d='M265.472%20348.896c-2.816%202.08-6.144%203.104-9.472%203.104s-6.656-1.024-9.472-3.104L0%20192v288c0%2017.664%2014.336%2032%2032%2032h448c17.664%200%2032-14.336%2032-32V192L265.472%20348.896z'%20style='fill:%231e88e5'/%3e%3cpath%20d='M480%20512H32c-17.952%200-32-14.048-32-32a16.02%2016.02%200%200%201%206.528-12.896l240-160c2.816-2.08%206.144-3.104%209.472-3.104s6.656%201.024%209.472%203.104l240%20160A16.02%2016.02%200%200%201%20512%20480c0%2017.952-14.048%2032-32%2032z'%20style='fill:%232196f3'/%3e%3c/svg%3e`,_=c(),v=e=>{let t=(0,p.c)(14),{isOpen:r,onClose:i}=e,{EMAIL_NOT_APPROVED_TITLE:a,EMAIL_NOT_APPROVED_TEXT:o,EMAIL_NOT_APPROVED_BUTTON:c,RESEND_EMAIL_BUTTON:l,EMAIL_NOT_APPROVED_DISABLED_TEXT:u}=n(),{enabled:d,onSendVerificationMail:m}=h(),v;t[0]!==c||t[1]!==i?(v={title:c,onClick:i},t[0]=c,t[1]=i,t[2]=v):v=t[2];let y=d?o:u,b=!d,x;t[3]!==l||t[4]!==m||t[5]!==b?(x=(0,_.jsx)(s,{disabled:b,onClick:m,fullWidth:!0,color:`secondary`,children:l}),t[3]=l,t[4]=m,t[5]=b,t[6]=x):x=t[6];let S;return t[7]!==a||t[8]!==r||t[9]!==i||t[10]!==v||t[11]!==y||t[12]!==x?(S=(0,_.jsx)(f,{open:r,onClose:i,button:v,icon:g,title:a,text:y,children:x}),t[7]=a,t[8]=r,t[9]=i,t[10]=v,t[11]=y,t[12]=x,t[13]=S):S=t[13],S};export{v 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.