1import{_ as h}from"./OnjsI1YN.js";import{d as v,q as k,p as b,e as g,g as B,r as y,n as i,t as V,_ as P}from"./Da_MX3cX.js";import{_ as w}from"./DH8-ZzML.js";import{l as C,d as T,q as E,Q as N,V as U,u as q,R as c,S as e,F as r,J as A,a1 as F,H as I}from"./DBzpfgix.js";import"./C5wORlga.js";const O={class:"_pages_tabs"},R={class:"_relative side-pads"},S={class:"_content"},H=C({__name:"profile",setup(J){const u=v(),{reloadBasket:_}=k(),{signOut:l,status:a}=b(),n=()=>{y().showUniversalPopup({type:"auth"})};setTimeout(async()=>{a.value=="unauthenticated"&&setTimeout(async()=>{n()},500)},300);const s=T(u.path);E(s,o=>{o=="exit"?p():i(o)});function p(){l(),i("/"),V("УÑпеÑно вÑÑли из аккаÑнÑа",{autoClose:2e3}),_()}return g({title:"ÐиÑнÑй кабинеÑ"}),(o,t)=>{const d=h,m=B,f=w;return q(a)=="authenticated"?(c(),N(A,{key:0},[t[1]||(t[1]=e("h1",{class:"title section__title _ho_mobapp side-pads"},"ÐиÑнÑй кабинеÑ",-1)),e("div",O,[r(d,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=x=>s.value=x),type:"",items:{"/profile/":{text:"ÐÑоÑилÑ",icon:"user"},"/profile/bonuses":{text:"ÐонÑÑÑ",icon:"bonus"},"/profile/orders":{text:"ÐаказÑ",icon:"orders"},"/profile/addresses":{text:"ÐдÑеÑа",icon:"address"},"/profile/favs":{text:"ÐзбÑанное",icon:"heart",ho_mobapp:!0},exit:{text:"ÐÑÑ
од",icon:"exit"}}},null,8,["modelValue"])]),e("div",R,[e("div",S,[r(m)])])],64)):(c(),U(f,{key:1,icon:"user",text:"ÐеобÑ
одимо войÑи"},{default:F(()=>[e("button",{class:"button",onClick:I(n,["prevent"])},"ÐвÑоÑизоваÑÑÑÑ")]),_:1}))}}}),D=P(H,[["__scopeId","data-v-5ec8be81"]]);export{D as default};
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.