PageSourceSearch

https://welcome26.ru/_nuxt/C3q_XiUm.js

js welcome26.ru collected 2026-10-07 18:09:43 UTC 17,666 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CwFW5OX1.js","./DaWMykhG.js","./7bDPPfED.js","./CgDnksnM.js","./entry.CmJ9QzPy.css","./CRd4z7HC.js","./BtnInput.dLnGUKpj.css","./Select.C29pwqVd.css","./Cjb8fmty.js","./Input.O5rDFW6C.css","./Cggf-Cwm.js","./Button.DdQyM3z9.css","./BLmhnPGu.js","./DhHGWOs9.js","./D2NWW7zW.js","./IconRublesGray.BcpsmRe3.css","./Item.BkVSWOo4.css","./CW99kOov.js","./Cl3FLjou.js","./DX1qi1OT.js","./MapNedvizhimost.CycaInPv.css"])))=>i.map(i=>d[i]);
2import{d as W,u as be,a as P,o as G,b as ce,c as d,e as r,n as Y,f as a,F as z,r as X,g as b,_ as Z,h as f,i as c,j as y,w as F,t as H,k as Te,l as de,m as ue,p as xe,q as Ae,s as Me,v as Be,x as Le,y as E,z as I,A as oe,B as A,C as _e,K as Ve,D as pe,E as He,G as Pe,H as ne,I as Se,J as qe,L as Re}from"./CgDnksnM.js";import{B as Ee}from"./4u87W8k8.js";import{_ as ve}from"./Cggf-Cwm.js";import{_ as Ie,u as ze,E as K,a as Fe,d as j}from"./hLNu1fmw.js";import{_ as Oe}from"./FXCnnsfC.js";import{_ as Ne}from"./BwCA2Wiu.js";import{u as De}from"./DhHGWOs9.js";import{u as Ue}from"./BLmhnPGu.js";import{u as We}from"./BALEIhnC.js";import{_ as Ge}from"./Cl3FLjou.js";import{P as Ze,_ as Je,a as Ke,b as je}from"./DC4EjOoA.js";import{f as ie}from"./kjn64BOi.js";import{S as Xe}from"./BgyJkg-O.js";import{_ as Ye}from"./QDpszS_u.js";import{R as le}from"./DE2NTuPy.js";import"./CRd4z7HC.js";const Qe={key:0,class:"swiper-wrapper"},et={key:0,class:"swiper-slide"},tt=["src"],at={key:1,class:"swiper-wrapper"},st={class:"swiper-slide"},rt=["src"],ot={key:2,class:"swiper-wrapper"},nt=W({__name:"SliderImages",props:{idx:{},images:{default:null},width:{default:"100%"},height:{default:"100%"}},setup(v,{expose:m}){be(p=>({"7c06570e":p.width,"63cec0d4":p.height}));let n=null;const x=new AbortController,{signal:_}=x,i=P("swiperRef");return G(()=>{var p;n=new Xe(`.swiper-${v.idx}`,{modules:[Ze],pagination:{el:".swiper-pagination",type:"bullets"}}),(p=i.value)==null||p.addEventListener("mousemove",u=>{if(!n)return;const g=n.slides.length;if(g>1){const T=n.width,M=Math.round(T/g),h=u.clientX-i.value.offsetLeft,t=Math.floor(h/M);n.slideTo(t)}},{signal:_})}),m({resetSlide:()=>n==null?void 0:n.slideTo(0)}),ce(()=>{n&&n.destroy&&n.destroy(),x.abort()}),(p,u)=>(r(),d("div",{class:Y(["swiper","swiper_card",`swiper-${p.idx}`]),ref_key:"swiperRef",ref:i},[Array.isArray(p.images)&&p.images.length?(r(),d("div",Qe,[(r(!0),d(z,null,X(p.images,(g,T)=>(r(),d(z,{key:g},[T<5?(r(),d("div",et,[a("img",{src:g,alt:"",loading:"lazy"},null,8,tt)])):b("",!0)],64))),128))])):typeof p.images=="string"&&p.images.length?(r(),d("div",at,[a("div",st,[a("img",{src:p.images,alt:"",loading:"lazy"},null,8,rt)])])):(r(),d("div",ot,u[0]||(u[0]=[a("div",{class:"swiper-slide"},[a("img",{src:Je,alt:"",loading:"lazy"})],-1)]))),u[1]||(u[1]=a("div",{class:"swiper-pagination"},null,-1))],2))}}),it=Z(nt,[["__scopeId","data-v-0db5f2ae"]]),lt={class:"card_wrap",ref:"cardWrap"},ct={class:"card__images"},dt={class:"card__content",ref:"cardContent"},ut={class:"card__price"},_t={key:0,class:"card__tags"},pt={class:"card__kvar"},vt={key:0},gt={key:1},mt={key:2},ft={class:"card__address"},yt={class:"card__price_tel",ref:"cardPriceTel"},ht={class:"card__price_tel__bx1"},wt={class:"card__price card__price_horizon"},Ct={key:0,class:"card__price_tel__gk"},kt={class:"card__price_tel__bx2"},$t=W({__name:"index",props:{idx:{},card:{}},emits:["cardData"],setup(v,{emit:m}){const n=f(()=>{const t=String(v.card.bishopUsage||"").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):""}),x=m,_=()=>{var t,o,B;if(!((t=v.card.location)!=null&&t.address)||!((o=v.card.location)!=null&&o.latitude)||!((B=v.card.location)!=null&&B.longitude)){console.error("Invalid location data:",v.card.location);return}x("cardData",v.card.location.address,[+v.card.location.longitude,+v.card.location.latitude],v.card.id)},i=P("cardWrap"),p=P("card"),u=P("sliderRef"),g=P("cardContent"),T=P("cardText"),M=P("cardPriceTel"),h=()=>{const t=window.matchMedia("(max-width: 1200px)"),o=B=>{var L,C,k,V;B.matches?((L=i.value)==null||L.append(T.value),(C=g.value)==null||C.append(M.value)):((k=g.value)==null||k.append(T.value),(V=
2p.value)==null||V.append(M.value))};o(t),t.addEventListener("change",o)};return G(()=>{h()}),(t,o)=>{var k,V,O;const B=Ge,L=Ke,C=je;return r(),d("div",lt,[a("div",{class:"card",ref:"card",onMouseleave:o[0]||(o[0]=S=>{var q;return(q=c(u))==null?void 0:q.resetSlide()})},[y(B,{class:"card__link",to:`/realty/${t.card.id}`,target:"_blank",rel:"noopener noreferrer"},{default:F(()=>[a("div",ct,[y(it,{ref_key:"sliderRef",ref:u,idx:t.idx,images:t.card.image},null,8,["idx","images"])])]),_:1},8,["to"]),a("div",dt,[a("div",ut,[a("span",null,H(t.card.price?c(ie)(t.card.price):"Цена по запросу"),1),o[1]||(o[1]=a("span",null,[a("svg",{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M0.19 8.4525V6.914H5.9785C6.06917 6.914 6.17967 6.91117 6.31 6.9055C6.446 6.89417 6.5905 6.86583 6.7435 6.8205C7.26483 6.69017 7.6445 6.43233 7.8825 6.047C8.12617 5.66167 8.248 5.21683 8.248 4.7125C8.248 4.40083 8.197 4.09483 8.095 3.7945C7.99867 3.4885 7.84 3.22217 7.619 2.9955C7.40367 2.76317 7.11183 2.6045 6.7435 2.5195C6.60183 2.47983 6.45733 2.45717 6.31 2.4515C6.16267 2.44017 6.05217 2.4345 5.9785 2.4345H2.6465V0.76H6.0465C6.1145 0.76 6.2335 0.762833 6.4035 0.7685C6.57917 0.774166 6.77183 0.793999 6.9815 0.828C7.66717 0.935666 8.23667 1.168 8.69 1.525C9.149 1.882 9.49183 2.3325 9.7185 2.8765C9.94517 3.41483 10.0585 4.01267 10.0585 4.67C10.0585 5.66167 9.80067 6.49183 9.285 7.1605C8.76933 7.8235 8.0015 8.2315 6.9815 8.3845C6.77183 8.4185 6.57917 8.43833 6.4035 8.444C6.2335 8.44967 6.1145 8.4525 6.0465 8.4525H0.19ZM0.19 11.198V9.77H7.2195V11.198H0.19ZM1.4395 13V0.76H3.216V13H1.4395Z",fill:"#1A1A18"})])],-1))]),c(n)?(r(),d("ul",_t,[a("li",null,H(c(n)),1)])):b("",!0),a("ul",pt,[t.card.area?(r(),d("li",vt,[Te(H(t.card.area)+" м",1),o[2]||(o[2]=a("sup",null,"2",-1))])):b("",!0),t.card.floorsTotal?(r(),d("li",gt,H(t.card.floorsTotal)+" эт.",1)):b("",!0),t.card.lotArea?(r(),d("li",mt,H(t.card.lotArea)+" соток",1)):b("",!0)]),a("div",ft,H(((k=t.card.location)==null?void 0:k.address)||"Адрес не указан"),1),a("div",{class:"card__map",onClick:_},"Смотреть на карте"),a("p",{class:"card__text dots_text",ref:"cardText","data-allow-mismatch":""},H(t.card.description||"Описание отсутствует"),513)],512),a("div",yt,[a("div",ht,[a("div",wt,[a("span",null,H(t.card.price?c(ie)(t.card.price):"Цена по запросу"),1),o[3]||(o[3]=a("span",null,[a("svg",{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M0.19 8.4525V6.914H5.9785C6.06917 6.914 6.17967 6.91117 6.31 6.9055C6.446 6.89417 6.5905 6.86583 6.7435 6.8205C7.26483 6.69017 7.6445 6.43233 7.8825 6.047C8.12617 5.66167 8.248 5.21683 8.248 4.7125C8.248 4.40083 8.197 4.09483 8.095 3.7945C7.99867 3.4885 7.84 3.22217 7.619 2.9955C7.40367 2.76317 7.11183 2.6045 6.7435 2.5195C6.60183 2.47983 6.45733 2.45717 6.31 2.4515C6.16267 2.44017 6.05217 2.4345 5.9785 2.4345H2.6465V0.76H6.0465C6.1145 0.76 6.2335 0.762833 6.4035 0.7685C6.57917 0.774166 6.77183 0.793999 6.9815 0.828C7.66717 0.935666 8.23667 1.168 8.69 1.525C9.149 1.882 9.49183 2.3325 9.7185 2.8765C9.94517 3.41483 10.0585 4.01267 10.0585 4.67C10.0585 5.66167 9.80067 6.49183 9.285 7.1605C8.76933 7.8235 8.0015 8.2315 6.9815 8.3845C6.77183 8.4185 6.57917 8.43833 6.4035 8.444C6.2335 8.44967 6.1145 8.4525 6.0465 8.4525H0.19ZM0.19 11.198V9.77H7.2195V11.198H0.19ZM1.4395 13V0.76H3.216V13H1.4395Z",fill:"#1A1A18"})])],-1))]),(V=t.card)!=null&&V.buildingName?b("",!0):(r(),d("div",Ct,"КП “Солнечный”"))]),a("div",kt,[y(L,{class:"card__price_tel__bx2_link",link:`/realty/${t.card.id}`,title:"Подробнее","new-tab":""},null,8,["link"]),y(L,{class:"card__price_tel__bx2_tel",external:"",link:(O=t.card.salesAgent)!=null&&O.phone?`tel:${t.card.salesAgent.phone}`:"#",bg:"var(--cloud-light)"},{default:F(()=>[y(C,{class:"card__price_tel__bx2_link_img"})]),_:1},8,["link"])])],512)],544)],512)}}}),bt=Z($t,[["__scopeId","data-v-a0894013"]]),Tt=_e(()=>pe(()=>import("./CwFW5OX1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url).then(v=>v.default||v)),xt={class:"filter_page_category_wrap",ref:"filter_page_category_wrap"},At={key:0,class:"sticky_filter_btn"},Mt=W({__name:"index",setup(v){const m=de(),n=ue(),x=xe(),_=Ae(),i=Me(),p=Be(),u=Le(),g=P("filter_page_category_wrap"),T=E(!1),M=f(()=>n.isLessThan("screen577")?_.value?"Закрыть":"Фильтр":_.value?"Закрыть фильтр":"Открыть фильтр"),h=()=>{var o;i.value?i.value=!1:p.value?p.value=!1:u.value?u.value=!1:x.value=!x.value,_.value=!_.value,_.value&&window.scrollTo({top:(o=g.value)==null?void 0:o.offsetTop,behavior:"smooth"})};I(x,o=>{!o&&_.value&&(_.value=!1)});const t=()=>{if(n.isLessThan("screen769")&&g.value){const o=g.value.getBoundingClientRect();T.value=o.top<0}};return G(()=>{oe(()=>{m.query.autoOpen==="true"&&n.isLessThan("screen769")&&(u.value&&(u.value=!1),setTimeout(()=>{_.value=!0,x.value=!0,oe(()=>{g.value&&window.scrollTo({top:g.value.offsetTop,behavior:"smooth"})})},100))}),n.isLessThan("screen769")&&window.addEventListener("scroll",t)}),ce(()=>{n.isLessThan("screen769")&&window.removeEventListener("scroll",t)}),(o,B)=>{const L=Ye,C=Ie,k=ve,V=Tt;return r(),d(z,null,[a("div",xt,[y(k,{title:c(M),"color-active":"var(--primary)","bg-active":"var(--white)",active:c(_),onBtnClick:h,class:Y(["filter_page_category__filter__bt
2n",{open_filter:c(_)}])},{default:F(()=>[c(_)?(r(),A(L,{key:0,class:"filter_page_category__image_close"})):(r(),A(C,{key:1,class:"filter_page_category__image_open"}))]),_:1},8,["title","active","class"]),(r(),A(Ve,null,[c(_)?(r(),A(V,{key:0,onClickSearch:h,onClickClose:h})):b("",!0)],1024))],512),c(T)&&c(n).isLessThan("screen769")?(r(),d("div",At,[y(k,{title:c(M),"color-active":"var(--primary)","bg-active":"var(--white)",active:c(_),onBtnClick:h,class:"sticky_filter_btn__button"},{default:F(()=>[c(_)?(r(),A(L,{key:0,class:"filter_page_category__image_close"})):(r(),A(C,{key:1,class:"filter_page_category__image_open"}))]),_:1},8,["title","active"])])):b("",!0)],64)}}}),Bt=Z(Mt,[["__scopeId","data-v-a8b9f31c"]]),Lt=_e(()=>pe(()=>import("./CW99kOov.js"),__vite__mapDeps([17,18,3,4,19,20]),import.meta.url).then(v=>v.default||v)),Vt={class:"page"},Ht={class:"container"},Pt={class:"wrap__breadcrumbs"},St={class:"title"},qt={class:"filter_btns"},Rt={class:"filter_sort"},Et={key:0},It={class:"desc_nedvizh"},zt={key:0,class:"loading"},Ft={key:1,class:"error"},Ot={key:2},Nt={class:"desc_nedvizh__title"},Dt={class:"desc_nedvizh__par"},Ut=W({__name:"grazi",async setup(v){let m,n;const _=He().public.strapiBaseUrl,i=de(),p=ue(),u=Pe(),g=[{title:"Встроенный",type:"built-in"},{title:"Кирпичный",type:"brick"},{title:"Металлический",type:"metal"},{title:"Наземный боксовый",type:"ground box"},{title:"Подземный паркинг",type:"parking place"}],T=f(()=>{const e={главная:0};return g.forEach((s,l)=>{e[s.type]=l+1}),e}),M=f(()=>{const e={0:"главная"};return g.forEach((s,l)=>{e[l+1]=s.type}),e}),h=f(()=>{const e=i.query.garageType;return String(T.value[e]??0)}),t=E({res:[],cursorId:null,title:"Гаражи"}),o=E(null),{data:B,pending:L}=([m,n]=ne(()=>Ue("/api/pages/garagi",{query:i.query,lazy:!0,server:!1,key:`garagi-${JSON.stringify(i.query)}`},"$cJVu8bvX_I")),m=await m,n(),m),{data:C,error:k,refresh:V}=([m,n]=ne(()=>De(`description-garages-${h.value}`,()=>$fetch(`${_}/api/property-descriptions`,{query:{"filters[category][$eq]":"garages","filters[filterType][$eq]":h.value,locale:"ru",populate:"*"}}),{watch:[h],lazy:!0,server:!1})),m=await m,n(),m),O={Ставрополь:"Ставрополе",Железноводск:"Железноводске",Ессентуки:"Ессентуках",Кисловодск:"Кисловодске",Пятигорск:"Пятигорске",Михайловск:"Михайловске","Ессентукская станица":"Ессентукской станице","Новая пролетарка":"Новой пролетарке"},S=f(()=>{const e=i.query.locationCity||"Ставрополь";return O[e]||"Ставрополе"}),q=f(()=>{const e=i.query.garageType;return g.find(s=>s.type===e)});f(()=>{var e;return((e=i==null?void 0:i.query)==null?void 0:e.locationCity)||"Ставрополь"});const Q={Встроенный:"Встроенные гаражи",Кирпичный:"Кирпичные гаражи",Металлический:"Металлические гаражи","Наземный боксовый":"Наземные боксовые гаражи","Подземный паркинг":"Подземные паркинги и машиноместа"},ee=f(()=>{const e=S.value,s=q.value;return s!=null&&s.title&&Q[s.title]?`${Q[s.title]} в ${e}`:`Гаражи и машиноместа в ${e}`}),ge=ze(i),me=f(()=>{const e=S.value,s=q.value,l=ge.value;return s!=null&&s.title?`Купить ${s.title.toLowerCase()} гараж или машиноместо в ${e}: каталог объявлений. Подбор и оформление сделки — Welcome.${l}`:`Гаражи и машиноместа в ${e}: встроенные, кирпичные, металлические, паркинг. Каталог и сопровождение сделки — Welcome.${l}`}),fe=f(()=>We(me.value,i.fullPath));Se({title:f(()=>ee.value+" | Welcome"),description:fe});const ye=f(()=>`гаражи ${S.value}, машиноместа парковка, встроенный бокс, купить гараж`);qe({meta:[{name:"keywords",content:()=>ye.value}]});const te=f(()=>{var D,U;if(k.value||!((U=(D=C.value)==null?void 0:D.data)!=null&&U.length))return console.warn(`No description found for category: garages, filterType: ${h.value}`),{title:`Купить гараж в ${S.value}`,content:`<p>Выберите подходящий гараж в ${S.value} с помощью Welcome. Мы поможем найти идеальный вариант для вас!</p>`};const e=C.value.data[0],s=e.content||"",l=/Ставропол[ье]?/gi,$=s.split(/\n{1,}/).map(J=>`<p>${J.trim().replace(l,S.value)}</p>`).join("");
2return{title:e.title.replace(l,S.value),content:$}});I(B,e=>{e&&(t.value={...e,res:j(e.res||[])},o.value=e.res.length===16?e.cursorId:null)},{immediate:!0});const R=E(K.two),he=()=>{const e=window.matchMedia("(max-width: 750px)"),s=l=>{l.matches&&R.value===K.single&&(R.value=K.two)};s(e),e.addEventListener("change",s)};G(()=>{he()}),I(()=>i.query,async(e,s)=>{if(JSON.stringify(e)!==JSON.stringify(s)){u.value=!0;try{const l=Array.isArray(e.garageType)?e.garageType[0]:e.garageType,$=await $fetch("/api/pages/garagi",{query:{...e,garageType:l}});t.value={...$,res:j($.res||[])},o.value=$.res.length===16?$.cursorId:null,await V()}catch(l){console.error("Error fetching data:",l)}finally{u.value=!1}}},{deep:!0});const we=async e=>{await Re({query:{...i.query,garageType:e.type}})},Ce=async()=>{if(o.value){u.value=!0;try{const e=await $fetch("/api/pages/garagi",{query:{...i.query,more:o.value}});e.res&&e.res.length?(t.value.res=j([...t.value.res,...e.res]),o.value=e.res.length===16?e.cursorId:null):o.value=null}catch(e){console.error("Error loading more:",e),o.value=null}finally{u.value=!1}}},ae=P("modal"),N=E(null),ke=(e,s,l)=>{var $;N.value={address:e,coords:s,link:`/realty/${l}`},($=ae.value)==null||$.modalOpen()};return I(C,e=>{var l;const s=(l=e==null?void 0:e.data[0])==null?void 0:l.filterType;M.value[Number(s)]}),I(()=>i.query,e=>{},{deep:!0}),(e,s)=>{var se;const l=Ee,$=ve,D=Fe,U=Oe,J=Lt,$e=Ne;return r(),d("section",Vt,[a("div",Ht,[a("div",Pt,[y(l,{breadcrumbs:[{title:"Главная",url:"/"},{title:"Гаражи",url:"/garagi"}]})]),a("h1",St,H(ee.value),1),a("div",qt,[(r(),d(z,null,X(g,w=>y($,{key:w.type,title:w.title,bg:"var(--white)","bg-hover":"#2AAA3D","bg-active":"var(--primary)",color:"#1A1A18","color-hover":"#fff","color-active":"var(--white)",active:c(i).query.garageType===w.type,onBtnClick:re=>we(w),class:"filter_btn"},null,8,["title","active","onBtnClick"])),64))]),a("div",Rt,[y(Bt),y(D,{"show-default-option":!1,"default-sort":"Новые"}),c(p).isGreaterOrEquals("screen751")?(r(),A(U,{key:0,modelValue:R.value,"onUpdate:modelValue":s[0]||(s[0]=w=>R.value=w)},null,8,["modelValue"])):b("",!0)]),a("div",{class:Y(["cards_wrap",R.value])},[(r(!0),d(z,null,X(t.value.res,(w,re)=>(r(),A(bt,{key:w.id,idx:re,card:w,onCardData:ke},null,8,["idx","card"]))),128)),(se=t.value.res)!=null&&se.length?b("",!0):(r(),d("span",Et,"Объектов недвижимости не найдено"))],2),o.value?(r(),A($,{key:0,title:c(u).value?"Загрузка...":"Показать больше",disabled:c(u).value,color:"var(--black)",bg:"var(--cloud-light)",onBtnClick:Ce,class:"more"},null,8,["title","disabled"])):b("",!0),a("div",It,[!c(C)&&!c(k)?(r(),d("div",zt,"Загрузка описания...")):c(k)?(r(),d("div",Ft,"Ошибка загрузки описания")):(r(),d("div",Ot,[a("h2",Nt,[y(le,{text:te.value.title},null,8,["text"])]),a("div",Dt,[y(le,{text:te.value.content},null,8,["text"])])]))])]),y($e,{ref_key:"modal",ref:ae,onCloseModal:s[1]||(s[1]=w=>N.value=null)},{default:F(()=>{var w;return[(w=N.value)!=null&&w.coords.length?(r(),A(J,{key:0,"card-data":N.value},null,8,["card-data"])):b("",!0)]}),_:1},512)])}}}),ia=Z(Ut,[["__scopeId","data-v-48203891"]]);export{ia 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.