import{h as e}from"./p-083180bf.js";import{i as t}from"./p-f8a09b0f.js";import{c as s}from"./p-cef45012.js";import{A as o,a as r}from"./p-49b20dae.js";import{T as a}from"./p-c813ec64.js";const i=s({Wrapper:o,Column:{...r},ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sqm-text-subdued)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}}),n=i.toString();function l(s){const{states:o,callbacks:r,content:{email:l,verifyMessage:p,emailVerificationHeader:c,resendEmailButtonText:m,verificationStatusMessage:d,verificationLoadingMessage:f,verificationResentMessage:u}}=s;return e("div",{class:i.classes.Wrapper},e("style",{type:"text/css"},"\n:host {\n  display: block;\n}\n:host([hidden]): {\n  display: none;\n}\n",n),e(a,{type:"h3"},c),e("sl-form",{class:i.classes.Column,"onSl-submit":r.submit},s.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.states.error)),s.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},u)),e(a,{type:"p"},t.formatMessage({id:"verifyMessage",defaultMessage:p},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},l)})),e("p",{style:{color:"var(--sqm-text-subdued)",fontSize:"14px"}},t.formatMessage({id:"verificationStatus",defaultMessage:o.loadingVerification?f+" {countdown}":d},{countdown:o.loadingVerification?e("sl-spinner",null):o.countdown})),e("sl-button",{type:"primary",exportparts:"base: primarybutton-base",onClick:r.submit,loading:o.loading},m)))}export{l as P}