PageSourceSearch

https://atlantis-yacht-club.eu/_next/static/chunks/4618-702b10d0076e5d33.js

js atlantis-yacht-club.eu collected 2026-10-08 16:22:59 UTC 25,453 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4618],{26415:function(e,n,t){var r=t(26042),i=t(85893),o=(t(67294),t(44012)),a=t(74806);n.Z=(0,a.ZP)((function(e){return(0,i.jsx)(o.Z,(0,r.Z)({},e))}),{withRef:!1})},70501:function(e,n,t){t.d(n,{Z:function(){return o},y:function(){return i}});var r=t(33659),i=function(e,n){return{de:{croatia:"Kroatien",turkey:"T\xfcrkei",italy:"Italien",greece:"Griechenland",spain:"Spanien",portugal:"Portugal",seychelles:"Seychellen",bahamas:"Bahamas"},cz:{croatia:"Chorvatsko",turkey:"Turecko",italy:"It\xe1lie",greece:"\u0158ecko",spain:"\u0160pan\u011blsko",portugal:"Portugalsko",seychelles:"Seychely",bahamas:"Bahamy"},en:{croatia:"Croatia",turkey:"Turkey",italy:"Italy",greece:"Greece",spain:"Spain",portugal:"Portugal",seychelles:"Seychelles",bahamas:"Bahamas"},ua:{croatia:"\u0425\u043e\u0440\u0432\u0430\u0442\u0456\u044f",turkey:"\u0422\u0443\u0440\u0446\u0456\u044f",italy:"\u0406\u0442\u0430\u043b\u0456\u044f",greece:"\u0413\u0440\u0435\u0446\u0456\u044f",spain:"\u0406\u0441\u043f\u0430\u043d\u0456\u044f",portugal:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0456\u044f",seychelles:"\u0421\u0435\u0439\u0448\u0435\u043b\u0438",bahamas:"\u0411\u0430\u0433\u0430\u043c\u0438"},ru:{croatia:"\u0425\u043e\u0440\u0432\u0430\u0442\u0438\u044f",turkey:"\u0422\u0443\u0440\u0446\u0438\u044f",italy:"\u0418\u0442\u0430\u043b\u0438\u044f",greece:"\u0413\u0440\u0435\u0446\u0438\u044f",spain:"\u0418\u0441\u043f\u0430\u043d\u0438\u044f",portugal:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0438\u044f",seychelles:"\u0421\u0435\u0439\u0448\u0435\u043b\u044b",bahamas:"\u0411\u0430\u0433\u0430\u043c\u044b"}}[e][n.toLowerCase()]},o=function(e,n){return{de:{"power-catamaran":"Power Katamaran",motoryacht:"Motoryacht","motor-boat":"Motorboot",catamaran:"Katamaran",gulet:"Gulet","sail-boat":"Segelyacht"},cz:{"power-catamaran":"Power catamaran",motoryacht:"Motoryacht","motor-boat":"Motor boat",catamaran:"Catamaran",gulet:"Gulet","sail-boat":"Sail boat"},en:{"power-catamaran":"Power catamaran",motoryacht:"Motoryacht","motor-boat":"Motor boat",catamaran:"Catamaran",gulet:"Gulet","sail-boat":"Sail boat"},ua:{"power-catamaran":"\u041c\u043e\u0442\u043e\u0440\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043c\u0430\u0440\u0430\u043d",motoryacht:"\u041c\u043e\u0442\u043e\u0440\u043d\u0430 \u044f\u0445\u0442\u0430","motor-boat":"\u041c\u043e\u0442\u043e\u0440\u043d\u0438\u0439 \u0447\u043e\u0432\u0435\u043d",catamaran:"\u041a\u0430\u0442\u0430\u043c\u0430\u0440\u0430\u043d",gulet:"\u0413\u0443\u043b\u0435\u0442","sail-boat":"\u041f\u0430\u0440\u0443\u0441\u043d\u0430 \u044f\u0445\u0442\u0430"},ru:{"power-catamaran":"\u041c\u043e\u0442\u043e\u0440\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043c\u0430\u0440\u0430\u043d",motoryacht:"\u041c\u043e\u0442\u043e\u0440\u043d\u0430\u044f \u044f\u0445\u0442\u0430","motor-boat":"\u041c\u043e\u0442\u043e\u0440\u043d\u0430\u044f \u043b\u043e\u0434\u043a\u0430",catamaran:"\u041a\u0430\u0442\u0430\u043c\u0430\u0440\u0430\u043d",gulet:"\u0413\u0443\u043b\u0435\u0442","sail-boat":"\u041f\u0430\u0440\u0443\u0441\u043d\u0430\u044f \u044f\u0445\u0442\u0430"}}[e][(0,r.slugify)(n)]}},84618:function(e,n,t){t.d(n,{yK:function(){return Re.yK},ii:function(){return he},WV:function(){return Qe}});var r=t(85893),i=t(45697),o=t.n(i),a=t(26447),s=t(15861),c=t(67720),l=t(83321),u=t(87357),d=t(58826),h=t(33726),x=t(9473),p=t(51851),f=t(26042),m=t(29815),g=t(94054),Z=t(153),j=t(18972),y=t(69368),v=t(70501),b=t(11163),w=t(73577),k=t(67294),I={"& .MuiFilledInput-input":{py:2}},C={PaperProps:{sx:{px:1,"& .MuiList-root":{py:.5}}}},P=(0,r.jsx)(s.Z,{variant:"body2",sx:{color:"text.disabled"},children:"\u0412\u0441\u0435 \u0442\u0438\u043f\u044b"});function T(){var e=(0,x.I0)(),n=(0,b.useRouter)().locale,t=(0,x.v9)((function(e){return e.catalog})).locations,i=(0,x.v9)((function(e){return e.offers})),o=i.isLoading,a=i.filterQuery,c=t.yachtTypes,l=a.kind,u=(0,k.useState)((0,m.Z)(l)),d=u[0],h=u[1];return(0,r.jsx)(g.Z,{fullWidth:!0,variant:"filled",sx:(0,f.Z)({},I),children:(0,r.jsx)(Z.Z,{disabled:o,multiple:!0,displayEmpty:!0,value:d,onChange:function(e){return h((0,m.Z)(e.target.value))},onClose:function(n){return e((0,w.vk)({kind:(0,m.Z)(d)}))},MenuProps:C,renderValue:function(e){return 0===e.length?P:(0,r.jsx)(s.Z,{variant:"subtitle2",component:"span",children:e.join(", ")})},children:c.filter((function(e){return e.active})).map((function(e){return(0,r.jsxs)(j.Z,{value:e.name,sx:{p:0,my:.5},children:[(0,r.jsx)(y.Z,{size:"small",checked:d.includes(e.name)}),(0,v.Z)(n,e.name)]},e.id)}))})})}var S=t(69396),F=t(23370),M=t.n(F),L=t(11447),z=t.n(L),D=t(90948),O=t(5306),W=t(50135),A=t(87918),E=(0,D.ZP)("div")((function(){return{"& .MuiAutocomplete-root":{"& .MuiFilledInput-root":{minHeight:56,padding:"12px"}}}}));function Q(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.catalog})).locations,t=(0,x.v9)((function(e){return e.offers})),i=t.isLoading,o=t.filterQuery,a=n.equipment;return(0,r.jsx)(E,{children:(0,r.jsx)(O.Z,{multiple:!0,disabled:i,limitTags:1,disableCloseOnSelect:!0,options:a.map((function(e){return e.name})),getOptionLabel:function(e){return e},value:o.equipment||[],onChange:function(n,t){return function(n){e((0,w.vk)({equipment:(0,m.Z)(n)}))}(t)},renderInput:function(e){return(0,r.jsx)(W.Z,(0,S.Z)((0,f.Z)({},e),{variant:"filled",placeholder:"\u0412\u0441\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435",InputProps:(0,S.Z)((0,f.Z)({},e.InputProps),{autoComplete:"search"})}))},renderTags:function(e,n){return e.map((function(e,t){return(0,k.createElement)(A.Z,(0,S.Z)((0,f.Z)({},n({index:t})),{key:e,label:e,size:"small",sx:{bgcolor:"text.primary",color:function(e){return"light"===e.palette.mode?"common.white":"grey.800"},"& .MuiChip-deleteIcon":{opacity:.48,color:"currentColor","&:hover":{opacity:.72,color:"currentColor"}}}}))}))},renderOption:function(e,n,t){var i=t.inputValue,o=t.selected,a=z()(n,i),s=M()(n,a);return(0,r.jsxs)(u.Z,(0,S.Z)((0,f.Z)({component:"li",sx:{my:1,p:"0 !important"}},e),{children:[(0,r.jsx)(y.Z,{size:"small",checked:o}),s.map((function(e,n){return(0,r.jsx)(u.Z,{component:"span",sx:(0,f.Z)({},e.highlight&&{fontWeight:"fontWeightBold"}),children:e.text},n)}))]}))}})})}var R=t(87109),_=t(15949),B=t(88571),K=t(44854),G=(0,D.ZP)("div")((function(){return{width:"100%","& .MuiAutocomplete-root":{"& .MuiInputAdornment-root":{marginTop:"0 !important"},"& .MuiFilledInput-root":{height:56,padding:"0 12px"}}}}));function H(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.catalog})).locations,t=(0,x.v9)((function(e){return e.offers})),i=t.isLoading,o=t.filterQuery,a=n.countries,s=function(e){return a.find((function(n){return n.id===e}))};return(0,r.jsx)(G,{children:(0,r.jsx)(O.Z,{disabled:i,autoHighlight:!0,disableClearable:!0,options:a,getOptionLabel:function(e){return e.name},filterOptions:(0,_.D)({stringify:function(e){return e.name+e.short}}),value:s(o.country),onChange:function(n,t){return function(n){return e((0,w.vk)({country:(null===n||void 0===n?void 0:n.id)||K.QC.id,region:void 0,base:void 0,page:1}))}(t)},noOptionsText:(0,r.jsx)(B.N6,{keyword:s(o.country).name}),renderInput:function(e){return(0,r.jsx)(W.Z,(0,S.Z)((0,f.Z)({},e),{variant:"filled",placeholder:"\u0421\u0442\u0440\u0430\u043d\u0430",InputProps:(0,S.Z)((0,f.Z)({},e.InputProps),{autoComplete:"search",startAdornment:(0,r.jsx)(R.Z,{position:"start",sx:{mr:2},children:(0,r.jsx)("img",{loading:"lazy",width:25,height:25,src:"https://flagcdn.com/w40/".concat(s(o.country).short.toLowerCase(),".png"),alt:"",style:{borderRadius:"50%"}})})})}))},renderOption:function(e,n,t){var i=t.inputValue,o=z()(n.name,i),a=M()(n.name,o);return(0,r.jsxs)(u.Z,(0,S.Z)((0,f.Z)({component:"li"},e),{children:[(0,r.jsx)("img",{loading:"lazy",width:25,height:25,src:"https://flagcdn.com/w40/".concat(n.short.toLowerCase(),".png"),alt:"",style:{borderRadius:"50%",marginRight:15}}),a.map((function(e,n){return(0,r.jsx)(u.Z,{component:"span",sx:(0,f.Z)({},e.highlight&&{fontWeight:"fontWeightBold"}),children:e.text},n)}))]}))}})})}var N=t(48811),U=(0,D.ZP)("div")((function(){return{width:"100%","& .MuiAutocomplete-root":{"& .MuiInputAdornment-root":{marginTop:"0 !important"},"& .MuiFilledInput-root":{height:56,padding:"0 12px"}}}}));function V(){var e,n=(0,x.I0)(),t=(0,x.v9)((function(e){return e.catalog})).locations,i=(0,x.v9)((function(e){return e.offers}
1)),o=i.isLoading,a=i.filterQuery,s=t.regions,c=function(e){return s.find((function(n){return n.id===e}))};return(0,r.jsx)(U,{children:(0,r.jsx)(O.Z,{disabled:o,options:s.filter((function(e){return e.countryId===a.country})),getOptionLabel:function(e){return e.name},filterOptions:(0,_.D)({stringify:function(e){return e.name+e.short}}),value:c(a.region),onChange:function(e,t){return function(e){return n((0,w.vk)({region:null===e||void 0===e?void 0:e.id,base:void 0,page:1}))}(t)},noOptionsText:(0,r.jsx)(B.N6,{keyword:null===(e=c(a.region))||void 0===e?void 0:e.name}),renderInput:function(e){return(0,r.jsx)(W.Z,(0,S.Z)((0,f.Z)({},e),{variant:"filled",placeholder:"\u0420\u0435\u0433\u0438\u043e\u043d",InputProps:(0,S.Z)((0,f.Z)({},e.InputProps),{autoComplete:"search",startAdornment:(0,r.jsx)(R.Z,{position:"start",children:(0,r.jsx)(B.Ir,{icon:N.Z,sx:{width:24,height:24,color:"text.disabled",flexShrink:0,mr:1}})})})}))},renderOption:function(e,n,t){var i=t.inputValue,o=z()(n.name,i),a=M()(n.name,o);return(0,r.jsx)(u.Z,(0,S.Z)((0,f.Z)({component:"li"},e),{children:a.map((function(e,n){return(0,r.jsx)(u.Z,{component:"span",sx:(0,f.Z)({},e.highlight&&{fontWeight:"fontWeightBold"}),children:e.text},n)}))}))}})})}var q=t(67498),J=(0,D.ZP)("div")((function(){return{width:"100%","& .MuiAutocomplete-root":{"& .MuiInputAdornment-root":{marginTop:"0 !important"},"& .MuiFilledInput-root":{height:56,padding:"0 12px"}}}}));function $(){var e,n=(0,x.I0)(),t=(0,x.v9)((function(e){return e.catalog})).locations,i=(0,x.v9)((function(e){return e.offers})),o=i.isLoading,a=i.filterQuery,s=t.bases,c=function(e){return s.find((function(n){return n.id===e}))};return(0,r.jsx)(J,{children:(0,r.jsx)(O.Z,{disabled:o,s:!0,options:s.filter((function(e){return e.sailingAreas.find((function(e){var n;return e===(null===(n=t.regions.find((function(e){return e.id===a.region})))||void 0===n?void 0:n.bmId)||null}))}))||[],getOptionLabel:function(e){return e.name},filterOptions:(0,_.D)({stringify:function(e){return e.name+e.short}}),value:c(a.base),onChange:function(e,t){return function(e){return n((0,w.vk)({base:null===e||void 0===e?void 0:e.id,page:1}))}(t)},noOptionsText:(0,r.jsx)(B.N6,{keyword:null===(e=c(a.base))||void 0===e?void 0:e.name}),renderInput:function(e){return(0,r.jsx)(W.Z,(0,S.Z)((0,f.Z)({},e),{variant:"filled",placeholder:"\u041c\u0430\u0440\u0438\u043d\u0430",InputProps:(0,S.Z)((0,f.Z)({},e.InputProps),{autoComplete:"search",startAdornment:(0,r.jsx)(R.Z,{position:"start",children:(0,r.jsx)(B.Ir,{icon:q.Z,sx:{width:24,height:24,color:"text.disabled",flexShrink:0,mr:1}})})})}))},renderOption:function(e,n,t){var i=t.inputValue,o=z()(n.name,i),a=M()(n.name,o);return(0,r.jsx)(u.Z,(0,S.Z)((0,f.Z)({component:"li"},e),{children:a.map((function(e,n){return(0,r.jsx)(u.Z,{component:"span",sx:(0,f.Z)({},e.highlight&&{fontWeight:"fontWeightBold"}),children:e.text},n)}))}))}})})}var X=t(64986),Y=t(87850);function ee(e,n){var t=(0,k.useState)(e),r=t[0],i=t[1];return(0,k.useEffect)((function(){var t=setTimeout((function(){return i(e)}),n||500);return function(){clearTimeout(t)}}),[e,n]),r}function ne(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.isLoading,i=n.offersOptions,o=i.minPrice,a=i.maxPrice,c=(0,k.useState)([o,a]),l=c[0],d=c[1],h=ee(l,600);return(0,k.useEffect)((function(){l[0]===o&&l[1]===a||e((0,w.vk)({priceFrom:h[0],priceTo:h[1],page:1}))}),[h]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:6,display:"block",color:"text.secondary"},children:"\u0426\u0435\u043d\u0430"}),(0,r.jsx)(u.Z,{sx:{pl:3,pr:3},children:(0,r.jsx)(X.ZP,{disabled:t,size:"small",marks:!0,step:500,min:o,max:a,valueLabelDisplay:"on",valueLabelFormat:function(e){return"".concat((0,Y.e_)(e))},value:l,onChange:function(e,n){d(n)}})})]})}function te(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.isLoading,i=n.filterQuery,o=i.yearFrom,a=i.yearTo,c=K.JU.yearFrom,l=K.JU.yearTo,d=(0,k.useState)([o,a]),h=d[0],p=d[1],f=ee(h,600);return(0,k.useEffect)((function(){h[0]===o&&h[1]===a||e((0,w.vk)({yearFrom:f[0],yearTo:f[1],page:1}))}),[f]),(0,k.useEffect)((function(){p([o,a])}),[o,a]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:6,display:"block",color:"text.secondary"},children:"\u0413\u043e\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438"}),(0,r.jsx)(u.Z,{sx:{pl:3,pr:3},children:(0,r.jsx)(X.ZP,{disabled:t,size:"small",marks:!0,step:1,min:c,max:l,valueLabelDisplay:"on",valueLabelFormat:function(e){return"".concat(e," \u0433.")},value:h,onChange:function(e,n){p(n)}})})]})}function re(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.isLoading,i=n.filterQuery,o=i.minCabins,a=i.maxCabins,c=+K.JU.minCabins,l=+K.JU.maxCabins,d=(0,k.useState)([+o,+a]),h=d[0],p=d[1],f=ee(h,600);return(0,k.useEffect)((function(){+h[0]===+o&&+h[1]===+a||e((0,w.vk)({minCabins:f[0],maxCabins:f[1],page:1}))}),[f]),(0,k.useEffect)((function(){p([o,a])}),[o,a]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:6,display:"block",color:"text.secondary"},children:"\u041a\u043e\u043b-\u0432\u043e \u043a\u0430\u044e\u0442"}),(0,r.jsx)(u.Z,{sx:{pl:3,pr:3},children:(0,r.jsx)(X.ZP,{disabled:t,size:"small",marks:!0,step:1,min:c,max:l,valueLabelDisplay:"on",valueLabelFormat:function(e){return"".concat(e)},value:h,onChange:function(e,n){p(n)}})})]})}function ie(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.isLoading,i=n.filterQuery,o=i.wcFrom,a=i.wcTo,c=+K.JU.wcFrom,l=+K.JU.wcTo,d=(0,k.useState)([o,a]),h=d[0],p=d[1],f=ee(h,600);return(0,k.useEffect)((function(){h[0]===o&&h[1]===a||e((0,w.vk)({wcFrom:f[0],wcTo:f[1],page:1}))}),[f]),(0,k.useEffect)((function(){p([o,a])}),[o,a]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:6,display:"block",color:"text.secondary"},children:"\u041a\u043e\u043b-\u0432\u043e WC"}),(0,r.jsx)(u.Z,{sx:{pl:3,pr:3},children:(0,r.jsx)(X.ZP,{disabled:t,size:"small",marks:!0,step:1,min:c,max:l,valueLabelDisplay:"on",valueLabelFormat:function(e){return"".concat(e)},value:h,onChange:function(e,n){p(n)}})})]})}var oe=t(55267),ae=t(52631),se=t(84094),ce=t(29383),le=t(77349);function ue(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=(n.isLoading,n.filterQuery),i=t.dateFrom,o=t.dateTo,s=(0,k.useState)((0,ce.Z)(new Date(o),new Date(i))),l=s[0],d=s[1],h=function(e,n){return{dateFrom:(0,oe.zR)(e),dateTo:(0,oe.zR)((0,le.Z)(new Date(e),n))}};return(0,r.jsx)(a.Z,{spacing:1.5,children:(0,r.jsxs)(u.Z,{sx:{bgcolor:"grey.5008",py:.5,borderRadius:1},children:[(0,r.jsx)(u.Z,{pl:2,children:(0,r.jsx)(se.Z,{charterDuration:l,handleChangeCharterDuration:function(n){d(n),e((0,w.vk)(h(new Date(i),n)))}})}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed",my:1}}),(0,r.jsx)(ae.Z,{departureDay:new Date(i),handleChangeDay:function(n){e((0,w.vk)(h(new Date(n),l)))}})]})})}var de=t(23731);function he(e){var n=e.mobileOpen,t=e.onMobileClose,i=(0,x.I0)(),o=(0,x.v9)((function(e){return e.catalog})).locations,f=(0,x.v9)((function(e){return e.offers})),m=(f.isLoading,f.filterQuery),g=f.offersOptions,Z=(0,r.jsxs)(a.Z,{spacing:2.5,children:[(0,r.jsx)(de.Z,{}),(0,r.jsx)("section",{children:(0,r.jsx)(ue,{})}),(0,r.jsxs)("section",{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:1.5,color:"text.secondary",display:"block"}
1,children:"\u041b\u043e\u043a\u0430\u0446\u0438\u044f"}),(0,r.jsxs)(a.Z,{spacing:2,children:[(0,r.jsx)(H,{}),m.country&&(0,r.jsx)(V,{}),m.region&&(0,r.jsx)($,{})]})]}),(0,r.jsxs)("section",{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:1.5,color:"text.secondary",display:"block"},children:"\u0422\u0438\u043f \u044f\u0445\u0442\u044b"}),(0,r.jsx)(T,{})]}),(0,r.jsxs)("section",{children:[(0,r.jsx)(s.Z,{variant:"overline",sx:{mb:1.5,color:"text.secondary",display:"block"},children:"\u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435"}),(0,r.jsx)(Q,{})]}),(0,r.jsx)("section",{children:g&&g.count>=5&&(0,r.jsx)(ne,{})}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed"}}),(0,r.jsx)("section",{children:(0,r.jsx)(te,{})}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed"}}),(0,r.jsx)("section",{children:(0,r.jsx)(re,{})}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed"}}),(0,r.jsx)("section",{children:(0,r.jsx)(ie,{})}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed"}}),(0,r.jsx)("section",{children:(0,r.jsx)(l.Z,{size:"small",startIcon:(0,r.jsx)(B.Ir,{icon:p.Z}),variant:"outlined",onClick:function(){return window.scrollTo({top:0,left:0,behavior:"smooth"}),i((0,w.R6)(o))},children:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b"})})]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{sx:{width:h.pG,flexShrink:0,display:{xs:"none",md:"block"},top:{md:h.zj},position:{md:"sticky"}},children:Z}),(0,r.jsx)(d.ZP,{anchor:"right",open:n,onClose:t,ModalProps:{keepMounted:!0},PaperProps:{sx:{pt:5,px:3,width:h.pG}},children:Z})]})}he.propTypes={mobileOpen:o().bool,onMobileClose:o().func};s.Z;o().arrayOf(o().string),o().func;s.Z;o().arrayOf(o().string),o().func;t(68061),t(50480),t(36872),t(91440);o().string,o().func;t(18264),(0,D.ZP)("div")((function(){return{"& .MuiAutocomplete-root":{"& .MuiFilledInput-root":{minHeight:56,padding:"12px"}}}}));o().array,o().func;s.Z;o().arrayOf(o().string),o().func;(0,D.ZP)("div")((function(){return{"& .MuiAutocomplete-root":{"& .MuiFilledInput-root":{minHeight:56,padding:"12px"}}}}));var xe=t(15054),pe=t(29421),fe=t(41664),me=t.n(fe),ge=t(66242),Ze=t(93946),je=t(23189),ye=t(59484),ve=t(26415),be=t(96703),we=t(91285),ke=t(54336),Ie=t(20091),Ce=t(80125),Pe=t(22975),Te=t(50313),Se=t(22566),Fe=t(5282);function Me(e){var n=e.offer,t=e.vertical,i=((0,x.I0)(),(0,b.useRouter)()),o=i.locale,d=(0,x.v9)((function(e){return e.catalog})).locations,h=(n.apiType,n.yachtId,n.startBaseId,n.startBase,n.dateFrom),p=n.dateTo,m=n.price,g=(n.basePrice,n.startPrice),Z=(n.discountPercentage,n.ourDiscount,n.oldPrice,n.commissions,n.commissionRemainder,n.yacht),j=[{text:(0,r.jsx)(ve.Z,{id:"description.yacht.type.mainsail"}),icon:Fe.Z,value:Z.mainsailType},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.year"}),icon:be.Z,value:Z.buildYear},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.cabins"}),icon:we.Z,value:Z.cabins,measure:(0,r.jsx)(ve.Z,{id:"measure.psc"})},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.bathrooms"}),icon:Ie.Z,value:Z.wc,measure:(0,r.jsx)(ve.Z,{id:"measure.wc"})},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.water"}),icon:Pe.Z,value:Z.waterCapacity,measure:(0,r.jsx)(ve.Z,{id:"measure.liter"})},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.fuel"}),icon:Ce.Z,value:Z.fuelCapacity,measure:(0,r.jsx)(ve.Z,{id:"measure.liter"})},{text:(0,r.jsx)(ve.Z,{id:"description.yacht.length"}),icon:ke.Z,value:Z.length,measure:(0,r.jsx)(ve.Z,{id:"measure.meter"})}];return(0,r.jsxs)(ge.Z,{sx:(0,f.Z)({display:{sm:"flex"},boxShadow:function(e){return e.customShadows.z16},"&:hover":{boxShadow:function(e){return e.customShadows.z24}}},t&&{flexDirection:"column"}),children:[(0,r.jsx)(u.Z,{sx:{flexShrink:{sm:0}},children:(0,r.jsx)(B.Ee,{alt:(0,ye.XK)(Z.name)+"|"+(0,ye.HD)(Z.model),src:(0,ye.uD)(Z),sx:(0,f.Z)({height:1,objectFit:"cover",width:{sm:240}},t&&{width:{sm:1}})})}),n.discountPercentage>0&&(0,r.jsxs)(B.__,{color:"warning",variant:"filled",sx:{top:12,left:12,position:"absolute",textTransform:"uppercase"},children:["-",n.discountPercentage.toFixed(0),"%"]}),(0,r.jsxs)(a.Z,{spacing:3,sx:{p:3,width:"100%"},children:[(0,r.jsxs)(a.Z,{spacing:{xs:3,sm:t?3:1},children:[(0,r.jsxs)(a.Z,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%"},flexWrap:"wrap",children:[(0,r.jsxs)(s.Z,{variant:"overline",sx:{color:"primary.main",display:"flex",alignItems:"center",minWidth:"55%"},children:[(0,r.jsx)(B.Ir,{icon:Te.Z,sx:{width:16,height:16,mr:"4px"}})," ",(0,oe.g$)(n.dateFrom)," - ",(0,oe.g$)(n.dateTo)]}),(0,r.jsxs)(s.Z,{variant:"h5",children:[g>0&&(0,r.jsxs)(s.Z,{variant:"body2",component:"span",color:"error",sx:{textDecoration:"line-through"},children:["\u20ac",(0,Y.e_)(g)]})," ","\u20ac",(0,Y.e_)(m)]})]}),(0,r.jsxs)(a.Z,{spacing:1,children:[(0,r.jsx)(me(),{passHref:!0,as:je.Z.yacht.offer(1),href:je.Z.yacht.offer("[url]"),children:(0,r.jsxs)(B.b3,{variant:"h6",line:1,asLink:!0,children:["\xab",(0,ye.XK)(Z.name),"\xbb, ",(0,ye.HD)(Z.model)]})}),(0,r.jsxs)(u.Z,{sx:{fontSize:12},children:[(0,r.jsx)("img",{loading:"lazy",width:20,height:12,src:"https://flagcdn.com/w40/".concat((0,ye.KQ)(d,Z).toLowerCase(),".png"),alt:"",style:{marginRight:"5px"}}),Z.region,", ",Z.base]}),(0,r.jsxs)(u.Z,{variant:"body2",color:"text.secondary",line:2,sx:(0,f.Z)({},t&&{display:{sm:"none"}}),children:[Z.equipments.length>0&&(0,r.jsx)(a.Z,{direction:"row",flexWrap:"wrap",sx:{mt:1,mb:1},children:Z.equipments.map((function(e){return e.highlight&&(0,r.jsx)(u.Z,{pr:1,pb:1,children:(0,r.jsx)(A.Z,{size:"small",icon:(0,ye.Vt)(e),label:e.name,color:"secondary"},e.sid)},e.id)}))}),(0,r.jsxs)(a.Z,{direction:"row",spacing:3,sx:{fontSize:12},flexWrap:"wrap",children:[(0,r.jsxs)(s.Z,{variant:"caption",children:[(0,r.jsx)(ve.Z,{id:"search.yacht.card.type"}),":",(0,r.jsx)("br",{}),(0,r.jsx)("b",{children:(0,v.Z)(o,Z.kind)})]}),Z.mainsailType&&(0,r.jsxs)(s.Z,{variant:"caption",children:[(0,r.jsx)(ve.Z,{id:"search.yacht.card.grot"}),":",(0,r.jsx)("br",{}),(0,r.jsx)("b",{children:Z.mainsailType})]}),Z.genoaType&&(0,r.jsxs)(s.Z,{variant:"caption",children:[(0,r.jsx)(ve.Z,{id:"search.yacht.card.staysail"}),":",(0,r.jsx)("br",{}),(0,r.jsx)("b",{children:Z.genoaType})]})]}),(0,r.jsx)(c.Z,{sx:{borderStyle:"dashed",mt:2,mb:2}}),(0,r.jsx)(a.Z,{direction:"row",spacing:1,sx:{fontSize:12},flexWrap:"wrap",children:j.filter((function(e){return e.value})).map((function(e){return(0,r.jsxs)(a.Z,{direction:"row",alignItems:"center",children:[(0,r.jsx)(B.Ir,{icon:e.icon,sx:{width:16,height:16,mr:"4px"}}),(0,r.jsx)("b",{children:e.value}),"\xa0",e.measure||""]},e)}))})]})]})]}),(0,r.jsx)(c.Z,{sx:(0,f.Z)({borderStyle:"dashed",display:{sm:"none"}},t&&{display:"block"})}),(0,r.jsxs)(a.Z,{direction:"row",flexWrap:"wrap",alignItems:"center",sx:{color:"text.disabled","& > *:not(:last-child)":{mr:2.5}},children:[(0,r.jsx)(l.Z,{variant:"contained",onClick:function(){return i.push({pathname:je.Z.yacht.offer(n.yacht.slug),query:{dateFrom:h,dateTo:p}})},children:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435"}),(0,r.jsx)(Ze.Z,{children:(0,r.jsx)(B.Ir,{icon:Se.Z,sx:{width:20,height:20}})})]})]})]})}var Le=t(47312),ze=function(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.filterQuery,i=n.offersOptions,o=t.sort;return(0,r.jsxs)(a.Z,{sx:{mt:1,mb:1},direction:"row",justifyContent:"space-between",children:[(0,r.jsx)(u.Z,{children:(0,r.jsxs)(u.Z,{children:["\u041d\u0430\u0439\u0434\u0435\u043d\u043e ",(0,r.jsx)("b",{children:i.count})," \u044f\u0445\u0442"]})}),(0,r.jsxs)(g.Z,{size:"small",children:[(0,r.jsx)(Le.Z,{id:"sort
1-select-label",children:(0,r.jsx)(ve.Z,{id:"search.yacht.sorting"})}),(0,r.jsxs)(Z.Z,{labelId:"sort-select-label",id:"sort-select",value:o,label:(0,r.jsx)(ve.Z,{id:"search.yacht.sorting"}),onChange:function(n){return t=n.target.value,void e((0,w.vk)({sort:t,page:1}));var t},children:[(0,r.jsx)(j.Z,{value:"ASC",children:(0,r.jsx)(ve.Z,{id:"search.yacht.sorting.cheaper"})}),(0,r.jsx)(j.Z,{value:"DESC",children:(0,r.jsx)(ve.Z,{id:"search.yacht.sorting.expensive"})}),(0,r.jsx)(j.Z,{value:"DISCOUNT",children:(0,r.jsx)(ve.Z,{id:"search.yacht.sorting.discounts"})})]})]})]})},De=t(99596),Oe=t(65907),We=t(34444),Ae=(0,D.ZP)("div")((function(){return{width:"100%",display:"flex",textAlign:"center",justifyContent:"center"}}));function Ee(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.catalog})).locations;return(0,r.jsx)(Ae,{children:(0,r.jsxs)(a.Z,{spacing:5,alignItems:"center",children:[(0,r.jsx)(Oe.Z,{alt:"500",src:"https://zone-assets-api.vercel.app/assets/illustrations/illustration_500.svg",sx:{maxWidth:240}}),(0,r.jsxs)(a.Z,{spacing:2,children:[(0,r.jsx)(s.Z,{variant:"h3",children:"No offers"}),(0,r.jsx)(s.Z,{sx:{color:"text.secondary"},children:"Try another options"})]}),(0,r.jsx)(l.Z,{variant:"outlined",size:"large",color:"inherit",startIcon:(0,r.jsx)(We.Z,{icon:De.Z,sx:{width:20,height:20}}),onClick:function(){return e((0,w.R6)(n))},children:"Clear filters"})]})})}function Qe(){var e=(0,x.I0)(),n=(0,x.v9)((function(e){return e.offers})),t=n.isLoading,i=n.offers,o=n.filterQuery,s=n.offersOptions;return t||i.length?(0,r.jsxs)(r.Fragment,{children:[!t&&(0,r.jsx)(ze,{}),(0,r.jsx)(a.Z,{spacing:4,children:(!t&&i?i:(0,m.Z)(Array(6))).map((function(e,n){return(0,r.jsx)("div",{children:e?(0,r.jsx)(Me,{offer:e}):(0,r.jsx)(pe.$g,{})},(null===e||void 0===e?void 0:e.id)||n)}))}),(0,r.jsx)(xe.Z,{count:s.totalPages,color:"primary",size:"large",page:s.page||1,sx:{pt:10,pb:{xs:10,md:15},"& .MuiPagination-ul":{justifyContent:"center"}},onChange:function(n,t){return function(n){window.scrollTo({top:0,left:0,behavior:"smooth"}),e((0,w.MT)((0,S.Z)((0,f.Z)({},o),{page:n})))}(t)}})]}):(0,r.jsx)(Ee,{})}var Re=t(16905)}}]);

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.