PageSourceSearch

https://tourselfer.com/_next/static/chunks/pages/index-649ff7c266a8c10b.js

js tourselfer.com collected 2026-10-02 00:01:42 UTC 16,370 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,s,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(71931)}])},77352:function(e,s,i){"use strict";i.d(s,{pK:function(){return n},$1:function(){return r},cV:function(){return _},UP:function(){return a}});var t=i(85893),n=()=>(0,t.jsxs)("picture",{className:"showcase__picture",children:[(0,t.jsx)("source",{srcSet:"/images/career-bg.jpg",media:"(min-width: 768px)"}),(0,t.jsx)("source",{srcSet:"/images/career-bg-mobile.jpg",media:"(min-width: 320px)"}),(0,t.jsx)("img",{src:"/images/career-bg.jpg",alt:"img",title:""})]}),a=()=>(0,t.jsxs)("picture",{className:"showcase__picture",children:[(0,t.jsx)("source",{srcSet:"/images/main.jpg",media:"(min-width: 1000px)"}),(0,t.jsx)("source",{srcSet:"/images/main-mobile.jpg",media:"(min-width: 320px)"}),(0,t.jsx)("img",{src:"/images/main.jpg",alt:"img",title:""})]}),r=()=>(0,t.jsxs)("picture",{className:"showcase__picture",children:[(0,t.jsx)("source",{srcSet:"/images/routes-bg.png",media:"(min-width: 500px)"}),(0,t.jsx)("source",{srcSet:"/images/routes-bg.png",media:"(min-width: 320px)"}),(0,t.jsx)("img",{src:"/images/routes-bg.png",alt:"img",title:""})]}),c=i(25675),l=i.n(c),o=i(41664),d=i.n(o),m=e=>(0,t.jsxs)(d(),{href:"routes/"+e.code,className:"showcase__item",children:[(0,t.jsx)(l(),{src:e.img,alt:e.city,title:e.city,fill:!0,sizes:"(max-width: 768px) 50vw, 25vw"}),(0,t.jsxs)("div",{className:"showcase__content",children:[(0,t.jsx)("div",{className:"showcase__text",children:e.country}),(0,t.jsx)("div",{className:"title-4 showcase__title",children:e.city})]})]}),h=i(50549);i(79102);var x=i(41971),u=i(30719),_=e=>{let s,{items:i}=e;return s=(0,x.i)().width<1024,(0,t.jsxs)("div",{className:"showcase__items",children:[!s&&(0,t.jsx)(t.Fragment,{children:i&&i.length>0&&i.map(e=>"string"==typeof(null==e?void 0:e.name)?(0,t.jsx)(m,{code:e.code,country:e.country.name,city:e.name,img:e.picture},e.id):(0,t.jsx)(t.Fragment,{}))||(0,t.jsx)("div",{className:"skeleton-items",children:[void 0,void 0,void 0,void 0].map(e=>(0,t.jsx)(h.Z,{containerClassName:"item",className:"item-title"}))})}),s&&(0,t.jsx)(u.tq,{slidesPerView:"auto",spaceBetween:0,children:i&&i.length>0&&i.map(e=>"string"==typeof(null==e?void 0:e.name)?(0,t.jsx)(u.o5,{children:(0,t.jsx)(m,{code:e.code,country:e.country.name,city:e.name,img:e.picture},e.id)},e.id):(0,t.jsx)(t.Fragment,{}))||(0,t.jsx)("div",{className:"skeleton-items",children:[void 0,void 0,void 0,void 0].map(e=>(0,t.jsx)(h.Z,{containerClassName:"item",className:"item-title"}))})})]})}},35292:function(e,s,i){"use strict";i.d(s,{Z:function(){return n}});var t=i(85893);i(67294);var n=e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}),(0,t.jsx)("link",{rel:"icon",href:"https://tourselfer.com/icon.svg",type:"image/svg+xml"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico",sizes:"any"}),(0,t.jsx)("link",{rel:"manifest",href:"/manifest.webmanifest"})]})},44755:function(e,s,i){"use strict";i.d(s,{K:function(){return t}});let t=(e,s)=>{var i=(e=Math.abs(e)%100)%10;return e>10&&e<20?s[2]:i>1&&i<5?s[1]:1==i?s[0]:s[2]}},71931:function(e,s,i){"use strict";i.r(s),i.d(s,{__N_SSP:function(){return B},default:function(){return S}});var t=i(85893),n=i(9008),a=i.n(n),r=i(41664),c=i.n(r),l=i(98932),o=i(28276),d=i(50549);i(79102);var m=e=>{let{items:s}=e,{t:i}=(0,o.$G)("components");return(0,t.jsxs)("div",{className:"search__text",children:[(0,t.jsx)("span",{children:i("hero.popular_now")}),s&&s.length>0&&s.map((e,s)=>"string"==typeof(null==e?void 0:e.name)?(0,t.jsx)(c(),{href:"/routes/"+(null==e?void 0:e.code),children:e.name},null==e?void 0:e.id):(0,t.jsx)(t.Fragment,{}))||(0,t.jsx)(d.Z,{containerClassName:"skeleton-text"})]})},h=i(25675),x=i.n(h),u=i(65827);function _(e){let{item:s}=e,{t:i}=(0,o.$G)("components"),n=[];return void 0!==s.type&&Array.isArray(s.type)&&(-1!==s.type.indexOf("foot")&&-1!==s.type.indexOf("car")&&-1!==s.type.indexOf("bus")?n.push({icon:(0,t.jsx)(u.M_,{})}):-1!==s.type.indexOf("foot")&&-1!==s.type.indexOf("bus")&&-1===s.t
1ype.indexOf("car")?n.push({icon:(0,t.jsx)(u.D9,{})}):-1!==s.type.indexOf("foot")&&-1===s.type.indexOf("bus")&&-1!==s.type.indexOf("car")?n.push({icon:(0,t.jsx)(u.C$,{})}):-1===s.type.indexOf("foot")&&-1!==s.type.indexOf("bus")&&-1!==s.type.indexOf("car")?n.push({icon:(0,t.jsx)(u.hz,{})}):-1!==s.type.indexOf("foot")&&-1===s.type.indexOf("bus")&&-1===s.type.indexOf("car")?n.push({icon:(0,t.jsx)(u.nt,{})}):-1===s.type.indexOf("foot")&&-1!==s.type.indexOf("bus")&&-1===s.type.indexOf("car")?n.push({icon:(0,t.jsx)(u.Gc,{})}):-1===s.type.indexOf("foot")&&-1===s.type.indexOf("bus")&&-1!==s.type.indexOf("car")&&n.push({icon:(0,t.jsx)(u.lG,{})})),(0,t.jsxs)("div",{className:"review",children:[(0,t.jsxs)("div",{className:"review__img",children:[(0,t.jsx)(x(),{src:s.picture,alt:s.title,title:s.title,fill:!0}),(0,t.jsxs)("div",{className:"review__user user user--white user--medium",children:[(0,t.jsx)("div",{className:"user__img",children:(0,t.jsx)(l.qE,{user:s.author})}),(0,t.jsx)(l.vx,{user:s.author})]})]}),(0,t.jsxs)("div",{className:"review__content",children:[(0,t.jsx)("div",{className:"review__rating",children:(0,t.jsx)("div",{className:"rating-number",children:null==s?void 0:s.rating})}),(0,t.jsx)("div",{className:"review__title title-2",children:null==s?void 0:s.title}),!!(null==s?void 0:s.preview_description)&&(0,t.jsx)("div",{className:"review__description",children:null==s?void 0:s.preview_description}),(0,t.jsxs)("div",{className:"review__chars chars",children:[(0,t.jsxs)("div",{className:"chars__row",children:[(0,t.jsx)("div",{className:"chars__name",children:i("route.props.duration")}),(0,t.jsx)("div",{className:"chars__value",children:(0,t.jsx)(l.nL,{start:s.duration.start,end:s.duration.end})})]}),(0,t.jsxs)("div",{className:"chars__row",children:[(0,t.jsx)("div",{className:"chars__name",children:i("route.props.locations_count")}),(0,t.jsx)("div",{className:"chars__value",children:parseInt(s.locations_count)})]}),(0,t.jsxs)("div",{className:"chars__row",children:[(0,t.jsx)("div",{className:"chars__name",children:i("route.props.type")}),(0,t.jsx)("div",{className:"chars__value",children:n.map((e,s)=>(0,t.jsx)("div",{className:"route-params-type-item",children:e.icon},s))})]})]}),(0,t.jsx)("div",{className:"review__buttons",children:(0,t.jsx)(c(),{className:"btn btn--large btn--filled btn--colored",href:"route/"+s.code,children:i("links.more")})})]})]})}var v=i(67294),j=i(71911),p=i(30719),N=i(60786),w=e=>{let{item:s,route:i}=e,{t:n}=(0,o.$G)("components");return(0,t.jsxs)("div",{className:"reviews__item",children:[(0,t.jsxs)("div",{className:"user",children:[(0,t.jsxs)("div",{className:"user__img",children:[(0,t.jsx)("div",{className:"icon user__icon user__icon--bottom",children:(0,t.jsx)(u.w6,{})}),(0,t.jsx)(l.qE,{user:s.author})]}),(0,t.jsx)(l.vx,{user:s.author})]}),(0,t.jsxs)("div",{className:"rating reviews__rating",children:[(0,t.jsx)("div",{className:"rating-number",children:s.rating}),(0,t.jsx)(N.iG,{value:parseFloat(s.rating)})]}),(0,t.jsxs)("div",{className:"reviews__content",children:[(0,t.jsxs)("div",{className:"reviews__block reviews__block--first",children:[(0,t.jsx)("span",{children:n("review.recommended")}),(0,t.jsx)("span",{className:"reviews__text",children:n(s.recommends?"yes":"no")})]}),!!(null==s?void 0:s.positive)&&(0,t.jsxs)("div",{className:"reviews__block liked",children:[(0,t.jsx)("span",{children:n("review.liked")}),(0,t.jsx)("span",{className:"reviews__text",dangerouslySetInnerHTML:{__html:s.positive}})]}),!!(null==s?void 0:s.negative)&&(0,t.jsxs)("div",{className:"reviews__block disliked",children:[(0,t.jsx)("span",{children:n("review.not_liked")}),(0,t.jsx)("span",{className:"reviews__text",dangerouslySetInnerHTML:{__html:s.negative}})]})]}),(0,t.jsxs)(c(),{href:"/route/"+i.code+"/#reviews",className:"reviews__link link link--arrow link--color",children:[(0,t.jsx)("span",{children:n("review.more_link")}),(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)(u.ol,{})})]})]})},g=e=>{let{items:s,route:i}=e,[n,a]=(0,v.useState)(null),[r,c]=(0,v.useState)(null);return(0,t.jsxs)("div",{className:"reviews__container",children:[(0,t.jsxs)("div",{className:"swiper-navigation swiper-navigation--outside reviews__nav",children:[(0,t.jsx)("div",{ref:e=>a(e),className:"swiper-button-prev"}),(0,t.jsx)("div",{ref:e=>c(e),className:"swiper-button-next"})]}),(0,t.jsx)(p.tq,{modules:[j.W_,j.tl],className:"reviews__items",slidesPerView:"auto",spaceBetween:0,navigation:{prevEl:n,nextEl:r},pagination:{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:24}},children:s&&s.length>0&&s.map(e=>(0,t.jsx)(p.o5,{children:(0,t.jsx)(w,{item:e,route:i})},e.id))})]})},f=i(77352),y=i(44755),b=e=>{let{t:s}=(0,o.$G)("pages__homepage");return(0,t.jsxs)(c(),{href:"/routes/"+e.code,className:"locations__item",children:[(0,t.jsx)("picture",{className:"locations__picture",children:(0,t.jsx)(x(),{src:e.img,alt:e.name,title:e.name,fill:!0,sizes:"(max-width: 768px) 77vw, (max-width: 1200px) 50vw, 33vw",priority:e.priority})}),(0,t.jsxs)("div",{className:"locations__content",children:[(0,t.jsx)("div",{className:"locations__text",children:e.country}),(0,t.jsx)("div",{className:"title-2 locations__title",children:e.name}),(0,t.jsxs)("div",{className:"locations__text",children:[(0,y.K)(e.routes_count,[s("section_bestsellers.count_routes_in_city1",{val:e.routes_count}),s("section_bestsellers.count_routes_in_city2",{val:e.routes_count}),s("section_bestsellers.count_routes_in_city3",{val:e.routes_count})]),(0,y.K)(e.authors_count,[s("section_bestsellers.count_authors_in_city1",{val:e.authors_count}),s("section_bestsellers.count_authors_in_city2",{val:e.authors_count}),s("section_bestsellers.count_authors_in_city2",{val:e.authors_count})])]})]})]})},k=i(41971),O=e=>{let s,{items:i}=e;return s=(0,k.i)().width<768,(0,t.jsxs)("div",{className:"locations__items",children:[!s&&(0,t.jsx)(t.Fragment,{children:i&&i.length>0&&i.map((e,s)=>{var i,n;return"string"!=typeof(null==e?void 0:e.name)?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(b,{code:e.code,country:e.country.name,name:e.name,img:e.picture,imgMobile:e.picture,priority:s<2,routes_count:null!==(i=null==e?void 0:e.routes_count)&&void 0!==i?i:0,authors_count:null!==(n=null==e?void 0:e.authors_count)&&void 0!==n?n:0},e.id)})||(0,t.jsxs)("div",{className:"skeleton-container",children:[(0,t.jsxs)("div",{className:"skeleton-row",children:[(0,t.jsx)(d.Z,{containerClassName:"item big",className:"item-title"}),(0,t.jsx)(d.Z,{containerClassName:"item medium",className:"item-title"})]}),(0,t.jsx)("div",{className:"skeleton-row",children:[void 0,void 0,void 0].map(e=>(0,t.jsx)(d.Z,{containerClassName:"item",className:"item-title"}))})]})}),s&&(0,t.jsx)(p.tq,{slidesPerView:1.3,spaceBetween:0,children:i&&i.length>0&&i.map((e,s)=>{var i,n;return"string"!=typeof(null==e?void 0:e.name)?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(p.o5,{children:(0,t.jsx)("div",{className:"locations__item-wrapper",children:(0,t.jsx)(b,{code:e.code,name:e.name,img:e.picture,imgMobile:e.picture,priority:s<1,routes_count:null!==(i=null==e?void 0:e.routes_count)&&void 0!==i?i:0,authors_count:null!==(n=null==e?void 0:e.authors_count)&&void 0!==n?n:0},e.id)})},e.id)})||(0,t.jsxs)("div",{className:"skeleton-container",children:[(0,t.jsxs)("div",{className:"skeleton-row",children:[(0,t.jsx)(d.Z,{containerClassName:"item big",className:"item-title"}),(0,t.jsx)(d.Z,{containerClassName:"item medium",className:"item-title"})]}),(0,t.jsx)("div",{className:"skeleton-row",children:[void 0,void 0,void 0].map(e=>(0,t.jsx)(d.Z,{containerClassName:"item",className:"item-title"}))})]})})]})},C=i(35292),D=i(63282),B=!0;function S(e){var s,i,n,r;let{t:d}=(0,o.$G)("pages__homepage");return(0,t.jsxs)(l.Ar,{transparentHeader:!0,contentMode:null!==(r=null==e?void 0:e.contentMode)&&void 0!==r&&r,children:[(0,t.jsxs)(a(),{children:[(0,t.jsx)("title",{children:d("index.meta_title")}),(0,t.jsx)("meta",{name:"description",content:d("index.meta_description")}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:site_name",content:"tourselfer.com"}),(0,t.jsx)("meta",{property:"og:title",content:d("index.meta_title")}),(0,t.jsx)("meta",{property:"og:description",content:d("index.meta_description")}),(0,t.jsx)("meta",{property:"og:image",content:"https://tourselfer.com/images/opengraph-logo.jpg"}),(0,t.jsx)("meta",{property:"og:image:width",content:"1024"}),(0,t.jsx)("meta",{property:"og:image:height",content:"1024"}),(0,t.jsx)("meta",{property:"og:url",content:"https://tourselfer.com/"}),(0,t.jsx)(C.Z,{})]}),(0,t.jsxs)("div",{className:"showcase showcase--main",children:[(0,t.jsx)(f.UP,{}),(0,t.jsxs)("div",{className:"container showcase__container",children:[(0,t.jsx)("h1",{className:"showcase__heading",children:d("hero.title")}),(0,t.jsxs)("div",{className:"search showcase__search",children:[(0,t.jsx)("div",{className:"search__title",children:d("hero.search_title")}),(0,t.jsx)(l.wD,{}),(0,t.jsx)(m,{items:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.popular_now})]}),(0,t.jsx)("div",{className:"showcase__bottom container",children:(0,t.jsx)(f.cV,{items:null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.favorite_cities})})]})]}),(0,t.jsx)("div",{className:"section locations",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"section__head",children:[(0,t.jsx)("h2",{className:"title-2",children:d("section_locations.title")}),(0,t.jsxs)(c(),{href:"/routes/",className:"link link--arrow link--gray",children:[(0,t.jsx)("span",{children:d("section_locations.more_link")}),(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)(u.ol,{})})]})]}),(0,t.jsx)(O,{items:null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.bestsellers_cities})]})}),(0,t.jsx)("div",{className:"section advantages",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"section__head",children:[(0,t.jsx)("h2",{className:"title-2",children:d("section_advantages.title")}),(0,t.jsxs)(c(),{href:"/how-it-works/",className:"link link--arrow link--gray",children:[(0,t.jsx)("span",{children:d("section_advantages.about_link")}),(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)(u.ol,{})})]})]}),(0,t.jsx)(l.Bl,{})]})}),"object"==typeof e.data&&Array.isArray(e.data.route_reviews)&&e.data.route_reviews.length>0&&(0,t.jsx)("div",{className:"section reviews",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"section__head",children:[(0,t.jsx)("h2",{className:"title-2",children:d("section_reviews.title")}),(0,t.jsxs)(c(),{href:"routes",className:"link link--arrow link--gray",children:[(0,t.jsx)("span",{children:d("section_reviews.more_link")}),(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)(u.ol,{})})]})]}),(0,t.jsx)(_,{item:e.data.route_reviews[0]}),(0,t.jsx)(g,{route:e.data.route_reviews[0],items:e.data.route_reviews[0].reviews})]})}),(0,t.jsx)("div",{className:"section app",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"section__head section__head--center",children:[(0,t.jsx)("h2",{className:"title-2",children:d("section_app.title")}),(0,t.jsx)("div",{className:"section__text",children:d("section_app.description")})]}),(0,t.jsx)(l.wE,{})]})}),(0,t.jsx)("div",{className:"section download",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"section__head section__head--center",children:(0,t.jsx)("h2",{className:"title-2",children:d("section_download_app.title")})}),(0,t.jsxs)("div",{className:"download__items",children:[(0,t.jsx)(c(),{href:"https://play.google.com/store/apps/details?id=com.tourselfer.app",className:"download__item icon","aria-label":"Tourselfer в Google Play",onClick:()=>(0,D.ZP)("reachGoal","link_check-mobile",{os:"android"}),children:(0,t.jsx)(u.L3,{})}),(0,t.jsx)(c(),{href:"https://apps.apple.com/ru/app/tourselfer-%D0%BC%D0%B0%D1%80%D1%88%D1%80%D1%83%D1%82%D1%8B-%D0%B8-%D0%B3%D0%B8%D0%B4/id6450103855",onClick:()=>(0,D.ZP)("reachGoal","link_check-mobile",{os:"ios"}),className:"download__item icon","aria-label":"Tourselfer в App Store",children:(0,t.jsx)(u.Bt,{})})]})]})})]})}}},function(e){e.O(0,[8683,5511,2888,9774,179],function(){return e(e.s=48312)}),_N_E=e.O()}]);

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.