1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1545],{1545:function(n,e,i){i.r(e),i.d(e,{BookingBlock:function(){return Z}});var t=i(97458);i(52983);var r=i(34955),a=i(2544),l=i(79787),m=i(64578),d=i(28934),s=i(83529),o=i(56361),p=i(73400),x=i(92305),u=i(55530),h=i(52341),c=i(27273),g=i(40954),b=i(85838),w=i(31791),k=i(91519);function v(){let n=(0,w._)(["\n position: relative;\n\n &._not-landing {\n margin: ",";\n\n @media (min-width: ","px) {\n margin: ",";\n }\n\n @media (min-width: ","px) {\n margin: ",";\n }\n }\n\n &.is-right {\n ."," {\n flex-direction: column-reverse;\n align-items: center;\n text-align: center;\n\n @media (min-width: ","px) {\n flex-direction: row;\n text-align: left;\n }\n }\n\n ."," {\n padding: ",";\n\n @media (min-width: ","px) {\n padding: ",";\n margin-right: ",";\n }\n\n @media (min-width: ","px) {\n margin-right: ",";\n }\n\n @media (min-width: 1920px) {\n margin-right: ",";\n }\n }\n }\n\n &.is-left {\n ."," {\n flex-direction: column-reverse;\n align-items: center;\n text-align: center;\n\n @media (min-width: ","px) {\n flex-direction: row-reverse;\n text-align: left;\n }\n }\n\n ."," {\n padding: ",";\n\n @media (min-width: ","px) {\n padding: ",";\n margin-left: ",";\n }\n\n @media (min-width: ","px) {\n margin-left: ",";\n }\n\n @media (min-width: 1920px) {\n margin-left: ",";\n }\n }\n }\n\n ."," {\n position: relative;\n display: flex;\n justify-content: space-between;\n gap: ",";\n border-radius: 5px;\n\n @media (min-width: ","px) {\n gap: ",";\n }\n }\n\n ."," {\n width: 100%;\n\n @media (min-width: ","px) {\n max-width: 550px;\n }\n\n @media (min-width: ","px) {\n max-width: 800px;\n }\n }\n\n ."," {\n position: relative;\n z-index: 5;\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n max-height: 270px;\n max-width: 320px;\n\n @media (min-width: 420px) {\n max-height: 420px;\n max-width: 400px;\n }\n\n @media (min-width: 1024px) {\n max-width: 525px;\n }\n\n @media (min-width: ","px) {\n max-width: 600px;\n max-height: 520px;\n }\n\n @media (min-width: ","px) {\n max-width: 785px;\n max-height: 620px;\n }\n }\n\n ."," {\n width: 100%;\n height: 100%;\n overflow: visible;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 5px;\n max-height: 270px;\n max-width: 320px;\n\n @media (min-width: 420px) {\n max-height: 420px;\n max-width: 400px;\n }\n\n @media (min-width: 1024px) {\n max-width: 525px;\n margin-top: ",";\n }\n\n @media (min-width: ","px) {\n max-width: 650px;\n max-height: 520px;\n margin-top: ",";\n }\n\n @media (min-width: ","px) {\n max-width: 785px;\n max-height: 620px;\n }\n }\n }\n"]);return v=function(){return n},n}let f="booking-block__content-box",_="booking-block__picture",j="booking-block__wrap-picture",N="booking-block__text",W=(0,k.ZP)(r.Z,{label:"booking-block"})(v(),n=>{let{theme:e}=n;return e.spacing(0,0,2,0)},n=>{let{theme:e}=n;return e.breakpoints.values.lg},n=>{let{theme:e}=n;return e.spacing(24,0,3,0)},n=>{let{theme:e}=n;return e.breakpoints.values.xl},n=>{let{theme:e}=n;return e.spacing(24,0,10,0)},f,n=>{let{theme:e}=n;return e.breakpoints.values.md},N,n=>{let{theme:e}=n;return e.spacing(3.75,2.5)},n=>{let{theme:e}=n;return e.breakpoints.values.lg},n=>{let{theme:e}=n;return e.spacing(5,0,5,0)},n=>{let{theme:e}=n;return e.spacing(10)},n=>{let{theme:e}=n;return e.breakpoints.values.md},n=>{let{theme:e}=n;return e.spacing(5)},n=>{let{theme:e}=n;return e.spacing(18)},f,n=>{let{theme:e}=n;return e.breakpoints.values.md},N,n=>{let{theme:e}=n;return e.spacing(3.75,2.5)},n=>{let{theme:e}=n;return e.breakpoints.values.lg},n=>{let{theme:e}=n;return e.spacing(5,0,5,0)},n=>{let{theme:e}=n;return e.spacing(10)},n=>{let{theme:e}=n;return e.breakpoints.values.md},n=>{let{theme:e}=n;return e.spacing(5)},n=>{let{theme:e}=n;return e.spacing(18)},f,n=>{let{theme:e}=n;return e.spacing(2)},n=>{let{theme:e}=n;return e.breakpoints.values.md},n=>{let{theme:e}=n;return e.spacing(6)},N,n=>{let{theme:e}=n;return e.breakpoints.values.md},n=>{let{theme:e}=n;return e.breakpoints.values.xl},j,n=>{let{theme:e}=n;return e.breakpoints.values.lg},n=>{let{theme:e}=n;return e.breakpoints.values.xl},_,n=>{let{theme:e}=n;return e.spacing(-11)},n=>{let{theme:e}=n;return e.breakpoints.values.lg},n=>{let{theme:e}=n;return e.spacing(-11)},n=>{let{theme:e}=n;return e.breakpoints.values.xl}),Z=n=>{var e,i;
1let{image:w,pivot:k,bookingTheme:v,bookingBackgroundColor:Z,contentPosition:y,translation:B}=n,z=Number(null!==(e=null==k?void 0:k.topOffset)&&void 0!==e?e:0),C=Number(null!==(i=null==k?void 0:k.bottomOffset)&&void 0!==i?i:0),D=null==k?void 0:k.titleAsH1,{translate:S}=(0,o.Wt)(),{stoLocalityId:A}=(0,p.parseCookies)(),E=(0,x.y)(u.A);return(0,t.jsxs)(W,{className:(0,d.Z)(s.cA.Left===y?"is-left":"is-right"),paddingTop:{xs:z/20,lg:z/14,xl:z/8},paddingBottom:{xs:C/20,lg:C/14,xl:C/8},children:[(0,t.jsx)(h.W,{children:(0,t.jsxs)(r.Z,{className:f,style:{background:Z},children:[(0,t.jsx)(r.Z,{className:j,children:(0,t.jsx)(c.E,{className:_,src:null==w?void 0:w.medium,srcWebp:null==w?void 0:w.mediumWebp,src2xWebp:null==w?void 0:w.medium2x,src2xSmallWebp:null==w?void 0:w.small2x,srcSmall:null==w?void 0:w.small,srcSmallWebp:null==w?void 0:w.smallWebp,alt:null==w?void 0:w.name,width:784,height:620})}),(0,t.jsxs)(r.Z,{className:N,children:[(0,t.jsx)(a.Z,{variant:"h2",component:D?"h1":"h2",color:v===s.ku.Dark?"common.white":"text.primary",fontWeight:300,marginBottom:{xs:2,lg:2.5},children:B.title}),B.text&&(0,t.jsx)(g.F,{size:"medium",data:B.text,marginBottom:{xs:2,lg:2.5},sx:n=>({color:v===s.ku.Dark?(0,l.Fq)(n.palette.common.white,.4):(0,l.Fq)(n.palette.common.black,.4)})}),(0,t.jsx)(b.z,{endIcon:(0,t.jsx)(m.Z,{}),color:v===s.ku.Dark?"primary":"secondary",variant:v===s.ku.Dark?"outlined":"contained",icon:"true",size:"large",onClick:()=>{E.open({activeStep:A?"date":"sto",formName:"ФоÑма запиÑÑ"})},children:S("block.booking.button")})]})]})}),E.view]})}}}]);
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.