import{A as w}from"./AdminLayout-CAkQ7Os4.js";import{T as h}from"./SectionBorder-CNslaa3A.js";import g from"./DeleteUserForm-CvUGUxMl.js";import F from"./UpdatePasswordForm-DOWhWSD5.js";import $ from"./TwoFactorAuthenticationForm-CyEYEl9i.js";import k from"./UpdateProfileInformationForm-CPnOLKyM.js";import y from"./LogoutOtherBrowserSessionsForm-NIy5J3b1.js";import{_ as B,r as t,d as b,e as A,o as r,a as p,c as m,g as o,F as a,b as n}from"./app-PFKfXWEI.js";import"./Modal-c7b3PsDt.js";import"./DropdownLink-C4dPXnWr.js";import"./ApplicationLogo-C_9BxMDe.js";import"./ApplicationMark-CKHzDXqr.js";import"./Input-CjMYJgEv.js";import"./InputError-S5X7Xksv.js";import"./DialogModal-DGhkFqan.js";import"./DangerButton-BRiD1LeJ.js";import"./ActionSection-DzSczZXM.js";import"./SectionTitle-B7yJArs8.js";import"./SecondaryButton-DNoVYIkM.js";import"./Label-C2KmBUfM.js";import"./LoadingButton-DuL9lXrz.js";import"./FormSection-DOK5FbWO.js";import"./ActionMessage-Disc29dP.js";import"./Button-CYWIMkWL.js";const P={props:["sessions"],components:{AdminLayout:w,DeleteUserForm:g,TecSectionBorder:h,UpdatePasswordForm:F,TwoFactorAuthenticationForm:$,UpdateProfileInformationForm:k,LogoutOtherBrowserSessionsForm:y}};function U(e,j,i,T,v,C){const c=t("update-profile-information-form"),s=t("tec-section-border"),f=t("update-password-form"),u=t("two-factor-authentication-form"),_=t("logout-other-browser-sessions-form"),l=t("delete-user-form"),d=t("admin-layout");return r(),b(d,{title:e.$t("Profile")},{default:A(()=>[p("div",null,[p("div",null,[e.$page.props.jetstream.canUpdateProfileInformation?(r(),m(a,{key:0},[o(c,{user:e.$page.props.auth.user},null,8,["user"]),o(s)],64)):n("",!0),e.$page.props.jetstream.canUpdatePassword?(r(),m(a,{key:1},[o(f,{class:"mt-10 sm:mt-0"}),o(s)],64)):n("",!0),e.$page.props.jetstream.canManageTwoFactorAuthentication?(r(),m(a,{key:2},[o(u,{class:"mt-10 sm:mt-0"}),o(s)],64)):n("",!0),o(_,{sessions:i.sessions,class:"mt-10 sm:mt-0"},null,8,["sessions"]),e.$page.props.jetstream.hasAccountDeletionFeatures?(r(),m(a,{key:3},[o(s),o(l,{class:"mt-10 sm:mt-0"})],64)):n("",!0)])])]),_:1},8,["title"])}const eo=B(P,[["render",U]]);export{eo as default};
