import{_ as r}from"./ButtonDefault-CzWpVlv6.js";import{e as m,l as u,D as p,o as f,c as b,a as t,b as i}from"./index-Bb2UEb_P.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";const v={class:"modal__body"},C={class:"modal__buttons-wrap"},y={__name:"ModalWindowNewProfile",emits:["modalClose","buttonClicked"],setup(w,{emit:d}){const _=m(),o=d;function c(){o("modalClose")}function s(){_.push("/ProfileMake"),o("buttonClicked"),o("modalClose")}const n=a=>{a.key==="Enter"&&s()};return u(()=>{document.addEventListener("keyup",n)}),p(()=>{document.removeEventListener("keyup",n)}),(a,e)=>{const l=r;return f(),b("div",v,[e[0]||(e[0]=t("div",{class:"list-item__title"},"Создание нового профиля",-1)),e[1]||(e[1]=t("div",{class:"list-item__subtitle"}," Для определения владельца домена необходимо создать новый профиль ",-1)),t("div",C,[i(l,{class:"modal__button yes",label:"Создать новый профиль",onClick:s}),i(l,{class:"modal__button",label:"Нет",onClick:c})])])}}},N=k(y,[["__scopeId","data-v-e5b1a21b"]]);export{N as default};
