1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5319],{638:function(e,i,n){"use strict";var t,a,r=n(2784);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}i.Z=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 16"},e),t||(t=r.createElement("g",{clipPath:"url(#ic_arrow_right_svg__a)"},r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.646.146a.5.5 0 0 0 0 .708L11.792 8l-7.146 7.146a.5.5 0 1 0 .708.707l7.145-7.146a1 1 0 0 0 0-1.414L5.354.146a.5.5 0 0 0-.708 0Z",clipRule:"evenodd"}))),a||(a=r.createElement("defs",null,r.createElement("clipPath",{id:"ic_arrow_right_svg__a"},r.createElement("path",{fill:"currentColor",d:"M.5 0h16v16H.5z"})))))}},88358:function(e,i,n){"use strict";var t,a=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}i.Z=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 32"},e),t||(t=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M24.667 1.015a7.008 7.008 0 0 1 7 7v16a7.008 7.008 0 0 1-7 7h-16a7.008 7.008 0 0 1-7-7v-16a7.008 7.008 0 0 1 7-7h16Zm0 2h-16a5.005 5.005 0 0 0-5 5v16a5.005 5.005 0 0 0 5 5h16a5.005 5.005 0 0 0 5-5v-16a5.005 5.005 0 0 0-5-5Zm-6 6a3.004 3.004 0 0 1 3 2.946l2.684-.894a1.002 1.002 0 0 1 1.316.948v8a.999.999 0 0 1-1.316.948l-2.684-.895a3.003 3.003 0 0 1-3 2.945h-8v.002a3.003 3.003 0 0 1-3-3v-8a3.003 3.003 0 0 1 3-3h8Zm-8 2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V18.68a.999.999 0 0 1 1.317-.948l2.683.895v-5.225l-2.684.894a1.001 1.001 0 0 1-1.316-.948v-1.333a1 1 0 0 0-1-1h-8v-.001Z",clipRule:"evenodd"})))}},41209:function(e,i,n){"use strict";var t,a,r=n(2784);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}i.Z=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"#C8802E",viewBox:"0 0 40 40"},e),t||(t=r.createElement("g",{clipPath:"url(#ic_rv_svg__a)"},r.createElement("path",{fillRule:"evenodd",d:"M33.75 4.667a6.257 6.257 0 0 1 6.25 6.25 6.26 6.26 0 0 1-5.142 6.151l4.182 5.855c.626.873.962 1.92.96 2.994v5a3.753 3.753 0 0 1-3.75 3.75h-1.465a3.763 3.763 0 0 1-3.535 2.5 3.763 3.763 0 0 1-3.535-2.5h-15.43a3.766 3.766 0 0 1-3.535 2.5 3.764 3.764 0 0 1-3.535-2.5H3.75A3.753 3.753 0 0 1 0 30.917v-20a6.257 6.257 0 0 1 6.25-6.25h27.5Zm-2.5 27.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-22.5 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm28.75-5H25v5h2.715a3.766 3.766 0 0 1 3.535-2.5 3.765 3.765 0 0 1 3.535 2.5h1.465c.69 0 1.25-.56 1.25-1.25v-3.75Zm-15-5h-20v8.75c0 .69.56 1.25 1.25 1.25h1.465a3.766 3.766 0 0 1 3.535-2.5 3.765 3.765 0 0 1 3.535 2.5H22.5v-10Zm9.358-5H25v7.5h12.187a2.891 2.891 0 0 0-.179-.29l-5.15-7.21Zm1.892-10H6.25a3.753 3.753 0 0 0-3.75 3.75v8.75h20v-3.75c0-.69.56-1.25 1.25-1.25h10a3.753 3.753 0 0 0 3.75-3.75 3.754 3.754 0 0 0-3.75-3.75Zm0 2.5a1.25 1.25 0 1 1 0 2.5h-2.5a1.25 1.25 0 1 1 0-2.5h2.5Zm-12.5 0a1.25 1.25 0 1 1 0 2.5h-15a1.25 1.25 0 1 1 0-2.5h15Z",clipRule:"evenodd"}))),a||(a=r.createElement("defs",null,r.createElement("clipPath",{id:"ic_rv_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h40v40H0z"})))))}},1726:function(e,i,n){"use strict";var t,a,r=n(2784);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}i.Z=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"#999DA1"},e),t||(t=r.createElement("g",{clipPath:"url(#icon_arrow_right_svg__a)"},r.createElement("path",{fillRule:"evenodd",d:"M5.183.183a.625.625 0 0 0 0 .884L14.115 10l-8.932 8.933a.625.625 0 0 0 .884.884l8.932-8.933a1.25 1.25 0 0 0 0-1.768L6.067.183a.625.625 0 0 0-.884 0Z",clipRule:"evenodd"}))),a||(a=r.createElement("defs",null,r.createElement("clipPath",{id:"icon_arrow_right_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}},45455:function(e,i,n){var t=n(86411),a=n(70940),r=n(79631),c=n(86152),s=n(67878),o=n(73226),l=n(16001),d=n(77598),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
1if(s(e)&&(c(e)||"string"==typeof e||"function"==typeof e.splice||o(e)||d(e)||r(e)))return!e.length;var i=a(e);if("[object Map]"==i||"[object Set]"==i)return!e.size;if(l(e))return!t(e).length;for(var n in e)if(u.call(e,n))return!1;return!0}},39338:function(e,i,n){"use strict";n.d(i,{Fi:function(){return l},H8:function(){return r},Kb:function(){return c},ZZ:function(){return o},np:function(){return d},sk:function(){return s}});var t=n(70603);let a=(0,n(4144).C)(),r=new t.yv(a,a.basePath),c=async(e,i,n,t)=>r.apiV1OperatorVehiclesGuidDamagesDamageGuidPicturesPost(e,i,n),s=async(e,i,n)=>r.apiV1OperatorVehiclesGuidDamagesPost(e,i),o=async function(e,i){return arguments.length>2&&void 0!==arguments[2]&&arguments[2],r.apiV1OperatorVehiclesGuidDamagesDamageGuidDelete(e,i)},l=async function(e,i,n){let t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return r.apiV1OperatorVehiclesGuidDamagesDamageGuidPut(e,i,n,t)},d=async(e,i,n,t)=>r.apiV1OperatorVehiclesGuidDamagesDamageGuidPicturesPictureGuidDelete(e,i,n)},83075:function(e,i,n){"use strict";var t=n(52322);n(2784);var a=n(20606),r=n(64157),c=n(87254),s=n(35492),o=n(88771),l=n(518),d=n(56285),u=n(42871);i.Z=(0,r.$j)(e=>({settings:e.settings}),e=>({dispatch:e}))(e=>{let{errorMessage:i}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{title:c.ag._(c.ag._({id:"seo.unknownError"}))}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(l.FE,{children:(0,t.jsxs)(g,{children:[(0,t.jsx)(m,{children:(0,t.jsx)(u.Z,{})}),(0,t.jsx)(p,{children:(0,t.jsx)(s.cC,{id:"labels.error.api",message:"Oops, there was an error."})}),(0,t.jsx)(h,{children:i})]})})})]})});let p=a.ZP.h1.withConfig({displayName:"CICOError__Heading",componentId:"sc-49338198-0"})(["margin-top:32px;font-family:var(--font-baloo);font-size:48px;font-weight:600;font-stretch:normal;font-style:normal;line-height:1;letter-spacing:normal;text-align:center;color:#1f2244;"]),h=a.ZP.div.withConfig({displayName:"CICOError__Description",componentId:"sc-49338198-1"})(["margin-top:32px;font-family:var(--font-poppins);font-size:20px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.6;letter-spacing:normal;text-align:center;color:#1f2244;"]),g=a.ZP.div.withConfig({displayName:"CICOError__Wrapper",componentId:"sc-49338198-2"})(["display:flex;flex-direction:column;max-width:520px;width:100%;justify-content:center;align-items:center;margin-top:80px;margin-bottom:48px;"]),m=a.ZP.div.withConfig({displayName:"CICOError__ImageWrapper",componentId:"sc-49338198-3"})(["padding:16px;border-radius:16px;background-color:var(--color-beige);width:80px;height:80px;"])},75945:function(e,i,n){"use strict";var t=n(52322),a=n(2784),r=n(20606),c=n(64157);let s=r.ZP.div.withConfig({displayName:"Gauge__Wrapper",componentId:"sc-3f9c9dd-0"})(["width:190px;min-height:111px;position:relative;margin:0 auto 34px;font-size:12px;overflow:hidden;&::after{content:'';width:24px;height:24px;border-radius:50%;background-color:#1f2244;position:absolute;bottom:0;left:50%;transform:translateX(-50%);}"]),o=r.ZP.img.withConfig({displayName:"Gauge__Odometer",componentId:"sc-3f9c9dd-1"})(["position:absolute;z-index:0;top:1px;left:0;"]),l=r.ZP.img.withConfig({displayName:"Gauge__Needle",componentId:"sc-3f9c9dd-2"})(["left:0;margin:auto;position:absolute;right:0;bottom:10%;transform-origin:bottom center;transform:rotate(circleAngleStartdeg);transform:",";"],e=>"rotate(".concat(e.circleAngleStart,"deg)")),d=r.ZP.span.withConfig({displayName:"Gauge__LabelStart",componentId:"sc-3f9c9dd-3"})(["position:absolute;bottom:10%;left:0;"]),u=r.ZP.span.withConfig({displayName:"Gauge__LabelEnd",componentId:"sc-3f9c9dd-4"})(["position:absolute;bottom:10%;right:0;"]),p=r.ZP.div.withConfig({displayName:"Gauge__Pie",componentId:"sc-3f9c9dd-5"})(["border-radius:100%;height:190px;overflow hidden;position absolute;top:5px;left:0;background-color:transparent;width:190px;"]),h=r.ZP.div.withConfig({displayName:"Gauge__PieSegment",componentId:"sc-3f9c9dd-6"})(["height:100%;position:absolute;transform:",";transform-origin:50% 100%;width:100%;overflow:hidden;&:before{background:",";opacity:0.1;content:'';height:100%;position:absolute;width:100%;}&:before{transform:",";transform-origin:50% 0%;}"],e=>"translate(0, -50%) rotate(90deg) rotate(calc(".concat(e.offset," * 1deg))"),e=>e.bg?e.bg:"initial",e=>"translate(0, 100%) rotate(calc(".concat(e.value," * 1deg))")),g=(0,c.$j)(e=>({settings:e.settings,checkin:e.checkin}),e=>({dispatch:e}));i.Z=g(e=>{let{value:i=0,offsetValue:n=null}=e,[r,c]=(0,a.useState)(0),[g,m]=(0,a.useState)(0),[x,f]=(0,a.useState)(0),[v,j]=(0,a.useState)("initial");return(0,a.useEffect)(()=>{let e=Math.round(288+144*i/100),t=Math.abs(Math.round(288+144*n/100)),a=n-i,r=Math.round(e-360),s=t+(360-r);c(e),m(r),f(s),0===a?f(0):a>0?(f(t+(360-r)),j("#fd253f")):a<0&&(m(r=t),f(e-360-r),j("#119383"))},[i,n]),(0,t.jsxs)(s,{children:[(0,t.jsx)(o,{src:"/static/images/booking/checkin/gauge.svg"}),n&&(0,t.jsx)(p,{children:(0,t.jsx)(h,{offset:g,value:x,bg:v})}),(0,t.jsx)(d,{}),(0,t.jsx)(l,{className:"Needle",src:"/static/images/booking/checkin/needle.svg",style:{transform:"rotate(".concat(r,"deg)")}}),(0,t.jsx)(u,{})]})})},95215:function(e,i,n){"use strict";var t=n(52322);n(2784);var a=n(20606),r=n(64157),c=n(5632),s=n(88771),o=n(518),l=n(98836),d=n(56285),u=n(1102),p=n(69570),h=n(41394),g=n(38965);let m=a.ZP.section.withConfig({displayName:"LoadingLayoutCheckin__ContentWrapper",componentId:"sc-e5966679-0"})(["width:100%;max-width:1040px;padding:60px 0 100px 0;display:flex;flex-direction:column;justify-content:center;@media ","{background:none !important;padding:24px 0 24px 0;}"],l.VB.tablet),x=a.ZP.h1.withConfig({displayName:"LoadingLayoutCheckin__LoadingText",componentId:"sc-e5966679-1"})(["margin:0 auto;text-align:center;
1"]),f=(0,r.$j)(e=>({settings:e.settings,user:(0,u.np)(e),screen:(0,p.v)(e),bookingData:(0,h.c)(e),bookingStep:(0,h.G7)(e),bookingDataLoading:(0,h.bu)(e),bookingDataLoadingMessage:(0,h.l5)(e)}),e=>({dispatch:e}));i.Z=f(e=>{let{bookingDataLoadingMessage:i}=e;return(0,c.useRouter)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{}),(0,t.jsx)(s.Z,{children:(0,t.jsx)(o.FE,{children:(0,t.jsxs)(m,{children:[(0,t.jsx)(x,{children:i||""}),(0,t.jsx)(g.Z,{})]})})})]})})},34047:function(e,i,n){"use strict";n.d(i,{Jd:function(){return s},KZ:function(){return r},io:function(){return c},zb:function(){return a}});var t=n(87254);let a=()=>[{id:"AdBlueFilled",label:t.ag._({id:"checkin.fwc.campervan.items.adblue"})},{id:"GasBombFull",label:t.ag._({id:"checkin.fwc.campervan.items.gasBottles"})},{id:"EmptyWasteWater",label:t.ag._({id:"checkin.fwc.campervan.items.wasteWaterTankEmpty"})},{id:"RegistrationCertificate",label:t.ag._({id:"checkin.fwc.campervan.items.carRegistration"})},{id:"InsuranceCard",label:t.ag._({id:"checkin.fwc.campervan.items.insuranceProtocol"})},{id:"AccidentReport",label:t.ag._({id:"checkin.fwc.campervan.items.accidentReport"})},{id:"Tires",label:t.ag._({id:"checkin.fwc.campervan.items.tyresChecked"})},{id:"InteriorCleaned",label:t.ag._({id:"checkin.fwc.campervan.items.cleanInside"})},{id:"ExteriorCleaned",label:t.ag._({id:"checkin.fwc.campervan.items.cleanOutside"})}],r=()=>[{id:"ExtraOil",label:t.ag._({id:"checkin.fwc.campervan.items.extraOil"})},{id:"FirstAidKit",label:t.ag._({id:"checkin.fwc.campervan.items.firstAid"})},{id:"HighVisVests",label:t.ag._({id:"checkin.fwc.campervan.items.reflectiveVest"})},{id:"Triangle",label:t.ag._({id:"checkin.fwc.campervan.items.triangle"})},{id:"FireExtinguisher",label:t.ag._({id:"checkin.fwc.campervan.items.fireExtinguisher"})}],c=()=>[{id:"KitchenPackage",label:t.ag._({id:"checkin.fwc.campervan.items.kitchenPackage"})},{id:"CampingTable",label:t.ag._({id:"checkin.fwc.campervan.items.campingTable"})},{id:"BedroomSheets",label:t.ag._({id:"checkin.fwc.campervan.items.bedroomSheets"})},{id:"GreenCard",label:t.ag._({id:"checkin.fwc.campervan.items.greencard"})},{id:"Chairs",label:t.ag._({id:"checkin.fwc.campervan.items.campingChairs"})}],s=()=>[{id:"ParkingDisc",label:t.ag._({id:"checkin.fwc.campervan.items.parkingDisc"})},{id:"PowerCable",label:t.ag._({id:"checkin.fwc.campervan.items.powerCable"})},{id:"WaterTankRefilled",label:t.ag._({id:"checkin.fwc.campervan.items.freshWater"})},{id:"CableDrum",label:t.ag._({id:"checkin.fwc.campervan.items.cableDrum"})},{id:"PowerPlugAdapters",label:t.ag._({id:"checkin.fwc.campervan.items.powerPlugAdapters"})},{id:"WaterHose",label:t.ag._({id:"checkin.fwc.campervan.items.waterHose"})},{id:"RampChocks",label:t.ag._({id:"checkin.fwc.campervan.items.rampChock"})},{id:"SweepSet",label:t.ag._({id:"checkin.fwc.campervan.items.sweepSet"})}]},35804:function(e,i,n){"use strict";n.d(i,{Z:function(){return X}});var t=n(52322),a=n(76774),r=n(2784),c=n(32063),s=n(56306),o=n(52467),l=n(81608),d=n(35492),u=n(64157),p=n(38305),h=n(20606),g=n(580),m=n(31102),x=n(6916),f=n(28879),v=n.n(f),j=n(49362),b=n(24119),w=n(55564);let C=n(89945),k=n(33147);v().extend(k),v().extend(C);var y=(0,u.$j)(e=>({settings:e.settings}),e=>({dispatch:e}))(e=>{let{reservationData:i,settings:n,confirmationScreen:a=!1}=e,{start:r,end:c,pickUp:s}=i;return(0,t.jsxs)(w.Ne,{children:[(0,t.jsx)(w.Pg,{className:"",children:(0,b.Xy)(i.listing.pictures[0],"booking_image","booking_image")}),(0,t.jsxs)(w.kv,{children:[(0,t.jsx)(w.qq,{children:(0,t.jsx)("span",{children:i.listing.title})}),(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"datePicker.labels.pickingUp",message:"Vyzvednut\xed"})}),(0,t.jsx)("span",{children:(0,j.L0)(new Date(r),"cs")})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"datePicker.labels.returning",message:"Vr\xe1cen\xed"})}),(0,t.jsx)("span",{children:(0,j.L0)(new Date(c),"cs")})]}),!a&&(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.pickUpPlace",message:"M\xedsto vyzvednut\xed"})}),(0,t.jsx)("span",{children:s.city})]}),a&&(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.reservationNumber",message:"Ä\xedslo rezervace"})}),(0,t.jsx)("span",{children:i.referenceCode})]})]}),!a&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.customer",message:"Z\xe1kazn\xedk"})}),(0,t.jsxs)("span",{children:[i.renter.firstName," ",i.renter.lastName]})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.reservationNumber",message:"Ä\xedslo rezervace"})}),(0,t.jsx)("span",{children:i.referenceCode})]})]})})]})]})});let Z=n(89945),_=n(33147);v().extend(_),v().extend(Z);var $=(0,u.$j)(e=>({settings:e.settings,checkin:e.checkin}),e=>({dispatch:e}))(e=>{let{reservationData:i,settings:n,checkin:a}=e,{start:r,end:c,pickUp:s}=i;return(0,t.jsxs)(w.Ne,{children:[(0,t.jsx)(w.Pg,{className:"",children:(0,b.Xy)(i.listing.pictures[0],"booking_image","booking_image")}),(0,t.jsxs)(w.kv,{children:[(0,t.jsx)(w.qq,{children:(0,t.jsx)("span",{children:i.listing.title})}),(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.carID",message:"SPZ"})}),(0,t.jsx)("span",{children:i.licensePlate})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.car.vinCode",message:"VIN k\xf3d"})}),(0,t.jsx)("span",{children:i.vinCode})]})]})]})]})}),E=n(46910),A=n(25327),P=n(52333),N=n(67719),I=n(89378),R=n(638);let O=n(89945),M=n(33147);v().extend(M),v().extend(O);var D=(0,u.$j)(e=>({settings:e.settings}),e=>({dispatch:e}))(e=>{var i,n,r,o,l;let{reservationData:u,settings:p}=e,{start:h,end:g,pickUp:m}=u,{street:x,city:f,zipcode:j,country:b}=(null==u?void 0:null===(i=u.renter)||void 0===i?void 0:i.address)||{},C=x&&f&&j&&b?"".concat(x,", ").concat(f,", ").concat(j,", ").concat(b):"";return(0,t.jsxs)(a.Ht,{$gap:c.Z.spacing.spacingL,children:[(0,t.jsx)(s.s0,{$size:"h4",children:(0,t.jsx)(d.cC,{id:"checkin.fwc.customerInfromation",message:"Customer Information"})}),(0,t.jsx)(w.Ne,{children:(0,t.jsx)(w.kv,{children:(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.fullName",message:"Cel\xe9 jm\xe9no"})}),(0,t.jsxs)("span",{children:[null==u?void 0:null===(n=u.renter)||void 0===n?void 0:n.firstName," ",null==u?void 0:null===(r=u.renter)||void 0===r?void 0:r.lastName]})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.addressOnly"})}),(0,t.jsx)("span",{children:C})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"inputText.labels.phone"})}),(0,t.jsx)("span",{children:null==u?void 0:null===(o=u.renter)||void 0===o?void 0:o.phone})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"inputText.labels.dateOfBirth"})}),(0,t.jsx)("span",{children:(null==u?void 0:null===(l=u.renter)||void 0===l?void 0:l.birthDate)!==null?v()(u.renter.birthDate).format("DD/MM/YYYY"):""})]})]})})})]})}),F=n(17464),L=n(55357);let T=n(89945),z=n(33147);
1v().extend(z),v().extend(T);var S=(0,u.$j)(e=>({settings:e.settings,checkout:e.checkout}),e=>({dispatch:e}))(e=>{let{reservationData:i,settings:n,checkout:a,confirmationScreen:r=!1}=e,{start:c,end:s,pickUp:o}=i;return(0,t.jsxs)(w.Ne,{children:[(0,t.jsx)(w.Pg,{className:"",children:(0,b.Xy)(i.listing.pictures[0],"booking_image","booking_image")}),(0,t.jsxs)(w.kv,{children:[(0,t.jsx)(w.qq,{children:(0,t.jsx)("span",{children:i.listing.title})}),(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"datePicker.labels.pickingUp",message:"Vyzvednut\xed"})}),(0,t.jsx)("span",{children:(0,j.TX)(new Date(c),"cs")})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"datePicker.labels.returning",message:"Vr\xe1cen\xed"})}),(0,t.jsx)("span",{children:(0,j.L0)(new Date(s),"cs")})]}),!r&&(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.pickUpPlace",message:"M\xedsto vyzvednut\xed"})}),(0,t.jsx)("span",{children:o.city})]}),r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.reservationNumber",message:"Ä\xedslo rezervace"})}),(0,t.jsx)("span",{children:i.referenceCode})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.cico.depositAmount",message:"V\xfdÅ¡e kauce"})}),(0,t.jsx)("span",{children:(0,L.wb)(a.fetchedCheckOutData.billing.securityDeposit,a.fetchedReservation.currency,n)})]})]})]}),!r&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.customer",message:"Z\xe1kazn\xedk"})}),(0,t.jsxs)("span",{children:[i.renter.firstName," ",i.renter.lastName]})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.reservationNumber",message:"Ä\xedslo rezervace"})}),(0,t.jsx)("span",{children:i.referenceCode})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.securityDeposit",message:"Security deposit"})}),(0,t.jsx)("span",{children:(0,L.wb)(a.fetchedCheckOutData.billing.securityDeposit,a.fetchedReservation.currency,n)})]})]})})]})]})});let H=n(89945),B=n(33147);v().extend(B),v().extend(H);var V=(0,u.$j)(e=>({settings:e.settings,checkout:e.checkout}),e=>({dispatch:e}))(e=>{let{reservationData:i,settings:n,checkout:a}=e,{start:r,end:c,pickUp:s}=i;return(0,t.jsxs)(w.Ne,{children:[(0,t.jsx)(w.Pg,{className:"",children:(0,b.Xy)(i.listing.pictures[0],"booking_image","booking_image")}),(0,t.jsxs)(w.kv,{children:[(0,t.jsx)(w.qq,{children:(0,t.jsx)("span",{children:i.listing.title})}),(0,t.jsxs)(w.D4,{children:[(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.carID",message:"SPZ"})}),(0,t.jsx)("span",{children:null==i?void 0:i.licensePlate})]}),(0,t.jsxs)(w.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(d.cC,{id:"labels.car.vinCode",message:"VIN k\xf3d"})}),(0,t.jsx)("span",{children:null==i?void 0:i.vinCode})]})]})]})]})}),W=n(3390),q=n(1102),G=n(11218),U=n(18233);function X(e){let{children:i,type:n}=e,h=(0,u.v9)(e=>e.checkin.step),g=(0,u.v9)(e=>e.checkout.step),m=(0,U.ix)(e=>e.checkin.checkInGuid),f=(0,U.ix)(e=>e.checkout.checkOutGuid),v=(0,u.v9)(q.np),[j]=(0,x.ZP)(x.Hj),b=(0,u.v9)(e=>"CheckIn"===n?e.checkin.fetchedReservation:e.checkout.fetchedReservation),w=(0,u.I0)(),C=(0,N.yl)(),k=async e=>{C.localizedPush(P._j.checkin,{hrefParams:{id:C.query.id},hash:e})},Z=async e=>{C.localizedPush(P._j.checkout,{hrefParams:{id:C.query.id},hash:e})},_=async()=>{"CheckIn"===n?await (0,W.zA)(m,{skip:!0}):await (0,G.Hy)(f,{skip:!0}),v.customerData.isAdmin?await C.localizedPush(P._j.managerBooking,{hrefParams:{id:b.referenceCode}}):await C.localizedPush(P._j.operatorBooking,{hrefParams:{id:b.referenceCode}})},O=h===p.E.WELCOME,M=(0,r.useMemo)(()=>h===p.E.WELCOME?(0,t.jsx)(d.cC,{id:"checkin.fwc.welcome.heading",message:"Check-in"}):h===p.E.CAMPERVAN?(0,t.jsx)(d.cC,{id:"checkin.fwc.campervan.heading",message:"Vehicle"}):h===p.E.CUSTOMER?(0,t.jsx)(d.cC,{id:"checkin.fwc.customer.heading",message:"Customer"}):h===p.E.HANDOFF?(0,t.jsx)(d.cC,{id:"checkin.fwc.handover.heading",message:"Handover"}):h===p.E.CONFIRMATION?(0,t.jsx)(d.cC,{id:"checkin.fwc.summary.heading",message:"Summary"}):g===F.L.WELCOME?(0,t.jsx)(d.cC,{id:"checkout.fwc.welcome.heading",message:"Check-out"}):g===F.L.CAMPERVAN?(0,t.jsx)(d.cC,{id:"checkout.fwc.campervan.heading",message:"Vehicle Status"}):g===F.L.DAMAGES?(0,t.jsx)(d.cC,{id:"checkout.fwc.damages.heading",message:"Damages"}):g===F.L.HANDOFF?(0,t.jsx)(d.cC,{id:"checkout.fwc.return.heading",message:"Return"}):g===F.L.SUMMARY?(0,t.jsx)(d.cC,{id:"checkout.fwc.summary.heading",message:"Summary"}):void 0,[h,g]),L=(0,r.useMemo)(()=>h===p.E.WELCOME?(0,t.jsx)(d.cC,{id:"checkin.fwc.welcome.subheading",message:"In the Freeway Camper Check In, we will verify the customer, vehicle and other data together."}):h===p.E.CAMPERVAN?(0,t.jsx)(d.cC,{id:"checkin.fwc.campervan.subheading",message:"Now we move to the caravan. Basic documentation is required before handing over the vehicle to the customer."}):h===p.E.CUSTOMER?(0,t.jsx)(d.cC,{id:"checkin.fwc.customer.subheading",message:"Now please check the basic
1information about the customer and confirm its authenticity."}):h===p.E.HANDOFF?(0,t.jsx)(d.cC,{id:"checkin.fwc.handover.subheading",message:"Now please fill in and confirm the details of handing over the caravan to the customer."}):h===p.E.CONFIRMATION?(0,t.jsx)(d.cC,{id:"checkin.fwc.summary.subheading",message:"Please all below listed parameters, sign the protocol and submit the Check-in."}):g===F.L.WELCOME?(0,t.jsx)(d.cC,{id:"checkout.fwc.welcome.subheading",message:"In the Freeway Camper Check-out, you need to check the vehicle and other parameters."}):g===F.L.CAMPERVAN?(0,t.jsx)(d.cC,{id:"checkout.fwc.campervan.subheading",message:"We start with the vehicle. Basic documentation is required before returning the vehicle."}):g===F.L.DAMAGES?(0,t.jsx)(d.cC,{id:"checkout.fwc.damages.subheading",message:"Now letâs move to the damages."}):g===F.L.HANDOFF?(0,t.jsx)(d.cC,{id:"checkout.fwc.return.subheading",message:"Now letâs go through the handover and write down any additional fees."}):g===F.L.SUMMARY?(0,t.jsx)(d.cC,{id:"checkout.fwc.summary.subheading",message:"Please all below listed parameters, sign the protocol and submit the Check-out."}):void 0,[h,g]),T=["campervan","customer","handoff","confirmation"],z=["campervan","damages","handoff","summary"],H=(0,r.useMemo)(()=>h===p.E.CAMPERVAN?()=>{w((0,A.r$)(!0)),w((0,A.JH)(!0)),k("customer")}:h===p.E.CUSTOMER?()=>{w((0,A.JH)(!0)),k("handoff")}:h===p.E.HANDOFF?()=>{k("confirmation")}:g===F.L.CAMPERVAN?()=>{Z("damages")}:g===F.L.DAMAGES?()=>{Z("handoff")}:g===F.L.HANDOFF?()=>{Z("summary")}:void 0,[h,g]),B=(0,r.useMemo)(()=>h===p.E.WELCOME?(0,t.jsx)(y,{reservationData:b}):h===p.E.CAMPERVAN?(0,t.jsx)($,{reservationData:b}):h===p.E.CUSTOMER?(0,t.jsx)(D,{reservationData:b}):g===F.L.WELCOME?(0,t.jsx)(S,{reservationData:b}):g===F.L.CAMPERVAN?(0,t.jsx)(V,{reservationData:b}):void 0,[h,g]);return(0,t.jsxs)(a.Ht,{$background:c.Z.color.backgrounds.surfaceContrast,$pb:c.Z.spacing.spacingSection,$gap:c.Z.spacing.spacing4Xl,children:[(0,t.jsxs)(a.Ht,{children:[!O&&(0,t.jsx)(o.x,{$background:c.Z.color.backgrounds.surfaceBg,$mdMax:{$px:c.Z.spacing.spacingL,$py:c.Z.spacing.spacing2Xl},$width:"100%",$py:c.Z.spacing.spacing2Xl,children:(0,t.jsx)(o.x,{$maxWidth:"1200px",$margin:"auto",children:(0,t.jsx)(l.Z,{onItemClick:e=>{"CheckIn"===n&&T[e]&&k(T[e]),"CheckOut"===n&&z[e]&&Z(z[e])},activeItemId:(()=>{if("CheckIn"===n)switch(h){case p.E.CAMPERVAN:return 0;case p.E.CUSTOMER:return 1;case p.E.HANDOFF:return 2;case p.E.CONFIRMATION:return 3;default:return 0}else switch(g){case F.L.CAMPERVAN:return 0;case F.L.DAMAGES:return 1;case F.L.HANDOFF:return 2;case F.L.SUMMARY:return 3;default:return 0}})(),items:"CheckIn"===n?[(0,t.jsx)(d.cC,{id:"checkin.fwc.nav.vehicle",message:"Vehicle"}),(0,t.jsx)(d.cC,{id:"checkin.fwc.nav.customer",message:"Customer"}),(0,t.jsx)(d.cC,{id:"checkin.fwc.nav.handover",message:"Handover"}),(0,t.jsx)(d.cC,{id:"checkin.fwc.nav.summary",message:"Summary"})]:[(0,t.jsx)(d.cC,{id:"checkout.fwc.nav.vehicleStatus",message:"Vehicle status"}),(0,t.jsx)(d.cC,{id:"checkout.fwc.nav.damages",message:"Damages"}),(0,t.jsx)(d.cC,{id:"checkout.fwc.nav.return",message:"Return"}),(0,t.jsx)(d.cC,{id:"checkout.fwc.nav.summary",message:"Summary"})],description:!j,space:"line"})})}),(0,t.jsxs)(a.Ht,{$pt:c.Z.spacing.spacing4Xl,$maxWidth:"1200px",$width:"100%",$margin:"auto",$px:c.Z.spacing.spacingL,$mdMin:{$px:"0px",$pt:c.Z.spacing.spacing4Xl},$gap:c.Z.spacing.spacingXl,children:[(0,t.jsxs)(a.bw,{children:[(0,t.jsx)(s.s0,{$size:"h3",children:M}),H&&(0,t.jsxs)("div",{children:[(0,t.jsx)(I.V,{children:(0,t.jsx)(E.Z,{onClick:H,smallerPadding:!0,children:(0,t.jsx)(d.cC,{id:"cico.fwc.nav.skip",message:"Skip this step"})})}),(0,t.jsx)(I.d,{children:(0,t.jsxs)(a.Kl,{onClick:H,$cursor:"pointer",$gap:c.Z.spacing.spacingXs,children:[(0,t.jsx)(s.uT,{$color:c.Z.color.text.textLink,$size:"mBold",children:(0,t.jsx)(d.cC,{id:"cico.fwc.nav.skip",message:"Skip this step"})}),(0,t.jsx)(R.Z,{fill:"#C8802E",height:16})]})})]})]}),(0,t.jsx)(s.uT,{$size:"l",$color:c.Z.color.text.textSecondary,children:L})]})]}),(0,t.jsxs)(Q,{$gap:c.Z.spacing.spacing4Xl,$maxWidth:"1200px",$width:"100%",$margin:"auto",children:[(0,t.jsxs)(a.Ht,{$gap:c.Z.spacing.spacing4Xl,$maxWidth:"720px",$width:"100%",$height:"fit-content",children:[(0,t.jsx)(o.x,{children:i}),(0,t.jsx)(K,{id:"cicoButton"})]}),(0,t.jsxs)(o.x,{$height:"fit-content",$mdMin:{$borderRadius:c.Z.radius.radiusL,$py:c.Z.spacing.spacing4Xl,$px:c.Z.spacing.spacing4Xl},$display:B?"block":"none",$background:c.Z.color.backgrounds.surfaceBg,$py:c.Z.spacing.spacing2Xl,$px:c.Z.spacing.spacingL,$maxWidth:"450px",$width:"100%",children:[B,v.customerData.isAdmin&&"CheckOut"===n&&(0,t.jsx)(o.x,{$mt:c.Z.spacing.spacing2Xl,children:(0,t.jsx)(E.Z,{onClick:_,smallerPadding:!0,children:(0,t.jsx)(d.cC,{id:"cico.fwc.nav.skipCheckOut",message:"Skip all and complete Check-out"})})})]})]})]})}let K=h.ZP.div.withConfig({displayName:"CicoLayout__ButtonWrap",componentId:"sc-86cf42c0-0"})(["","{z-index:100;position:fixed;bottom:-1px;left:0;width:100%;background:",";border-top:1px solid ",";padding:"," ",";}"],g.l8,(0,m.if)(c.Z.color.backgrounds.surfaceBg),(0,m.if)(c.Z.color.border.border),(0,m.if)(c.Z.spacing.spacingM),(0,m.if)(c.Z.spacing.spacingL)),Q=(0,h.ZP)(a.Ht).withConfig({displayName:"CicoLayout__ContentWrap",componentId:"sc-86cf42c0-1"})(["flex-flow:column-reverse;","{flex-flow:row;}"],g.zR)},55564:function(e,i,n){"use strict";n.d(i,{AF:function(){return g},D4:function(){return h},Jy:function(){return m},Ne:function(){return d},Pg:function(){return u},kv:function(){return x},qq:function(){return p}});var t=n(20606),a=n(31102),r=n(32063),c=n(580),s=n(56306),o=n(98836),l=n(52467);let d=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarInfoBox",componentId:"sc-7770839-0"})(["width:100%;overflow:hidden;border-radius:",";border:solid 1px ",";"],(0,a.if)(r.Z.radius.radiusL),(0,a.if)(r.Z.color.border.border)),u=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarImageWrapper",componentId:"sc-7770839-1"}
1)(["height:180px;overflow:hidden;position:relative;","{height:144px;}"],c.l8),p=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarContentHeading",componentId:"sc-7770839-2"})(["display:flex;width:100%;justify-content:space-between;padding:0 0 16px;border-bottom:1px solid ",";align-items:center;"," @media ","{padding:0 0 12px;}a{",";color:",";}"],(0,a.if)(r.Z.color.border.border),(0,s.QV)("h5"),o.VB.phone,(0,s.LH)("lUnderlined"),(0,a.if)(r.Z.color.text.textLink)),h=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarContent",componentId:"sc-7770839-3"})(["border-bottom:1px solid ",";display:flex;flex-flow:column;padding:10px 0;gap:",";&:last-of-type{border:medium none;}"],(0,a.if)(r.Z.color.border.border),(0,a.if)(r.Z.spacing.spacingXs)),g=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarContentItem",componentId:"sc-7770839-4"})(["display:flex;width:100%;justify-content:space-between;color:",";align-items:center;span{"," :last-of-type{","}}"],(0,a.if)(r.Z.color.text.textSecondary),(0,s.LH)("l"),(0,s.LH)("lBold")),m=(0,t.ZP)(l.x).withConfig({displayName:"sharedCicoComponents__CicoContentWrapper",componentId:"sc-7770839-5"})(["background:",";padding:"," ",";","{border-radius:",";}"],(0,a.if)(r.Z.color.backgrounds.surfaceBg),(0,a.if)(r.Z.spacing.spacing2Xl),(0,a.if)(r.Z.spacing.spacingL),c.zR,(0,a.if)(r.Z.radius.radiusL)),x=t.ZP.div.withConfig({displayName:"sharedCicoComponents__CarContentWrapper",componentId:"sc-7770839-6"})(["padding:24px 20px 0 20px;@media ","{padding:16px 12px 0px;}"],o.VB.phone)},38305:function(e,i,n){"use strict";var t,a;n.d(i,{E:function(){return t}}),(a=t||(t={}))[a.WELCOME=0]="WELCOME",a[a.CUSTOMER=1]="CUSTOMER",a[a.CAMPERVAN=2]="CAMPERVAN",a[a.HANDOFF=3]="HANDOFF",a[a.CONFIRMATION=4]="CONFIRMATION",a[a.CUSTOMER_OVERVIEW=5]="CUSTOMER_OVERVIEW"},43785:function(e,i,n){"use strict";n.d(i,{Z:function(){return v}});var t,a,r,c=n(52322),s=n(76774),o=n(32063),l=n(56306),d=n(87254),u=n(2784);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}var h=function(e){return u.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:18,height:20,fill:"none"},e),t||(t=u.createElement("path",{fill:"#001629",d:"M4 12.5c0-.345.28-.625.625-.625H14a.625.625 0 1 1 0 1.25H4.625A.625.625 0 0 1 4 12.5ZM4.625 15.625a.625.625 0 1 0 0 1.25H14a.625.625 0 1 0 0-1.25H4.625Z"})),a||(a=u.createElement("path",{fill:"#001629",fillRule:"evenodd",d:"M17.75 18.125V6.767c0-.497-.198-.973-.549-1.325L12.308.55A1.875 1.875 0 0 0 10.983 0H2.124A1.875 1.875 0 0 0 .25 1.875v16.25A1.875 1.875 0 0 0 2.125 20h13.75a1.875 1.875 0 0 0 1.875-1.875ZM2.125 1.25a.625.625 0 0 0-.625.625v16.25a.625.625 0 0 0 .625.625h13.75a.624.624 0 0 0 .625-.625V7.5h-4.375a1.875 1.875 0 0 1-1.875-1.875V1.25H2.125Zm10 5h4.116L11.5 1.509v4.116a.625.625 0 0 0 .625.625Z",clipRule:"evenodd"})),r||(r=u.createElement("path",{fill:"#001629",d:"M4 8.5c0-.345.28-.625.625-.625H9a.625.625 0 1 1 0 1.25H4.625A.625.625 0 0 1 4 8.5Z"})))},g=n(35492),m=n(21496),x=n(60669),f=n(33921);function v(e){let{note:i,onChange:n}=e,[t,a]=(0,u.useState)(i),r=(0,f.r8)(),p=(0,x.Z)(()=>{n(t)},1e3);return(0,c.jsxs)(s.Ht,{$gap:o.Z.spacing.spacingL,children:[(0,c.jsx)(l.s0,{$size:"h4",children:d.ag._({id:"cico.fwc.summary.additionalNotes.caption"})}),(0,c.jsxs)(s.Kl,{$borderRadius:o.Z.radius.radiusL,$background:o.Z.color.backgrounds.surfaceContrast,$padding:o.Z.spacing.spacingM,$gap:o.Z.spacing.spacingM,children:[(0,c.jsx)(h,{height:20}),(0,c.jsx)(l.uT,{$size:"l",children:(0,c.jsx)(g.cC,{id:"cico.fwc.summary.additionalNotes.note",message:"This comment will appear in the Protocol."})})]}),(0,c.jsx)(m.Z,{disabled:!r,textAreaRowsNumber:4,name:"note",type:"textarea",id:"note",value:null!=t?t:"",label:d.ag._({id:"cico.fwc.summary.additionalNotes.label"}),onChange:e=>{a(e.target.value),p()}})]})}},17464:function(e,i,n){"use strict";var t,a;n.d(i,{L:function(){return t}}),(a=t||(t={}))[a.WELCOME=0]="WELCOME",a[a.CAMPERVAN=1]="CAMPERVAN",a[a.DAMAGES=2]="DAMAGES",a[a.HANDOFF=3]="HANDOFF",a[a.SUMMARY=4]="SUMMARY",a[a.CUSTOMER_OVERVIEW=5]="CUSTOMER_OVERVIEW"},33921:function(e,i,n){"use strict";n.d(i,{D8:function(){return v},Sv:function(){return j},io:function(){return g},kG:function(){return p},r8:function(){return b}});var t=n(2784),a=n(80572),r=n(17464),c=n(25327);n(6359);var s=n(11218),o=n(13671),l=n(64969),d=n(18233),u=n(48492);let p=(e,i)=>{(0,t.useEffect)(()=>{e.query.token&&(async()=>{await i((0,a.UQ)({token:e.query.token}
1))})()},[e.query.token])},h=async function(e,i,n){arguments.length>3&&void 0!==arguments[3]&&arguments[3],i((0,o.$H)(!0)),(async()=>{(0,l.Hj)(e).then(e=>{var n;(null===(n=String(null==e?void 0:e.status))||void 0===n?void 0:n.startsWith("2"))?(i((0,o.cQ)(e.data)),i((0,o.sg)(r.L.WELCOME))):i((0,c.Sw)(503)),i((0,o.$H)(!1))}).catch(e=>{var n;console.error(e),(null==e?void 0:null===(n=e.response)||void 0===n?void 0:n.status)===404?i((0,o.cQ)(null)):i((0,o.cQ)(503)),i((0,o.$H)(!1))})})()},g=(e,i,n,a)=>{(0,t.useEffect)(()=>{i.isAuthenticated&&(async()=>{await h(e,n,a,i)})()},[i.isAuthenticated])},m=(e,i)=>{i.forEach(i=>{let n={id:i.type,description:i.picture.description,preview:"".concat(i.picture.host,"/").concat(i.picture.name,".").concat(i.picture.extension)};e((0,o.VX)(n,!0))})},x=(e,i)=>{i.forEach(i=>{var n;let t=[];i.pictures.forEach(e=>{t.push({preview:"".concat(e.host,"/").concat(e.name,".").concat(e.extension),id:e.guid})});let a={id:i.guid,description:i.description,location:i.place,name:i.name,isTerminal:i.isTerminal,repairCost:null===(n=i.repairCost)||void 0===n?void 0:n.total,pictures:t};e((0,o.Zg)(a))})},f=(e,i)=>{i.forEach(i=>{let n={id:i.guid,description:i.comment,type:i.type,amount:i.amount.total};e((0,o.Mg)(n))})},v=(e,i,n,a)=>{(0,t.useEffect)(()=>{i.isAuthenticated&&e&&(async()=>{await j(e,n)})()},[i.isAuthenticated,null==a?void 0:a.asPath,e])},j=async(e,i)=>{(async()=>{(0,s.mm)(e).then(async e=>{var n;(null===(n=String(null==e?void 0:e.status))||void 0===n?void 0:n.startsWith("2"))&&(i((0,o.I7)(e.data)),m(i,e.data.pictures),x(i,e.data.newDamages),f(i,e.data.additionalCharges),i((0,o.R5)(null))),i((0,o.$H)(!1))}).catch(e=>{i((0,o.$H)(!1)),i((0,o.R5)("ERROR"))})})()};function b(){var e,i;return(null===(i=(0,d.ix)(e=>e.checkout))||void 0===i?void 0:null===(e=i.fetchedCheckOutData)||void 0===e?void 0:e.status)!==u.vHX.Complete}},46420:function(e,i,n){"use strict";n.d(i,{Z:function(){return k}});var t=n(52322),a=n(76774),r=n(56306),c=n(42283),s=n(7503),o=n(32063),l=n(65933),d=n(44745),u=n(91095),p=n(87254),h=n(35492);n(2784);var g=n(37128),m=n(18233),x=n(64157),f=n(75759),v=n(3390),j=n(11218),b=n(68853),w=n(92610),C=n(77373);function k(e){let{items:i,removedItems:n=[],total:k,currency:y,type:Z,disabled:_}=e,$=(0,c.qo)({name:"billing.paidAtSpot"}),E=(0,m.ix)(e=>e.checkin),A=(0,m.ix)(e=>e.checkout),P=(0,x.v9)(f.T);return(0,t.jsxs)(a.Ht,{children:[(0,t.jsx)(r.s0,{$pb:o.Z.spacing.spacingL,$size:"h4",children:(0,t.jsx)(h.cC,{id:"checkin.fwc.summary.billing.billing",message:"Billing"})}),(0,t.jsx)(d.Z,{heading:(0,t.jsx)(r.uT,{$size:"m",$color:o.Z.color.text.textSecondary,children:(0,t.jsx)(h.cC,{id:"checkin.fwc.summary.billing.selectedItems",message:"Selected items"})}),children:(0,t.jsxs)(a.Ht,{$gap:o.Z.spacing.spacingM,$mt:o.Z.spacing.spacingS,children:[i.map((e,i)=>(0,t.jsxs)(a.yq,{children:[(0,t.jsx)(r.uT,{$size:"l",children:e.label}),(0,t.jsx)(r.uT,{$size:"lBold",children:e.price})]},"".concat(e.label).concat(i))),n.map((e,i)=>(0,t.jsxs)(a.yq,{children:[(0,t.jsx)(r.uT,{$size:"l",$color:o.Z.color.text.textDisabled,children:e.label}),(0,t.jsx)(r.uT,{$size:"lBold",$color:o.Z.color.text.textDisabled,children:e.price})]},"".concat(e.label).concat(i)))]})}),(0,t.jsx)(u.Z0,{$my:o.Z.spacing.spacingL,$background:o.Z.color.border.border}),(0,t.jsxs)(a.yq,{children:[(0,t.jsx)(r.uT,{$size:"xlBold",children:(0,t.jsx)(h.cC,{id:"labels.restToPay",message:"Zb\xfdva doplatit"})}),(0,t.jsx)(r.uT,{$size:"xlBold",children:(0,g.wb)(k,y,P)})]}),(0,t.jsxs)(a.Ht,{$pt:o.Z.spacing.spacing2Xl,$gap:o.Z.spacing.spacingL,children:[(0,t.jsx)(l.Z,{disabled:_,name:"billing.paidAtSpot",required:p.ag._({id:"inputText.labels.required"}),label:p.ag._({id:"cico.fwc.paidAtSpot"})}),$&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.Z,{name:"billing.paymentType",required:!0,placeholder:p.ag._({id:"checkin.fwc.summary.deposit.paymentMethod"}),options:(0,b.Z)()}),(0,t.jsx)(C.Z,{name:"billing.date",label:p.ag._({id:"checkin.fwc.summary.deposit.dateOfPayment"})}),(0,t.jsx)(s.Z,{multiple:!1,required:!0,compact:!0,handleGuidRemove:async()=>{if("CheckIn"===Z&&await (0,v.p3)(E.checkInGuid),"CheckOut"===Z)await (0,j.eN)(A.checkOutGuid);else throw Error("Not implemented")},label:p.ag._({id:"cico.fwc.uploadReceipt"}),name:"billing.receipt"})]})]})]})}},2938:function(e,i,n){"use strict";n.d(i,{Z:function(){return u}});var t=n(52322),a=n(55564),r=n(35492),c=n(34047),s=n(45455),o=n.n(s),l=n(48737),d=n(32063);function u(e){let{checklistItems:i,missingFields:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.cC,{id:"cico.fwc.campervan.vehicleCondition",message:"Vehicle conditions"})}),(0,t.jsx)("span",{className:"rightAlign",children:(0,c.zb)().some(e=>!1===i[e.id])||o()(i)?(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textError,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.notReady",message:"Not Ready"})}):(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textSuccess,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.ready",message:"Ready"})})})]}),(0,t.jsxs)(a.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.cC,{id:"cico.fwc.campervan.safety",message:"Safety"})}),(0,t.jsx)("span",{className:"rightAlign",children:(0,c.KZ)().some(e=>!1===i[e.id])||o()(i)?(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textError,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.notReady",message:"Not Ready"})}):(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textSuccess,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.ready",message:"Ready"})})})]}),(0,t.jsxs)(a.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.cC,{id:"cico.fwc.campervan.alreadyPurchasedAddons",message:"Already purchased addons"})}),(0,t.jsx)("span",{className:"rightAlign",children:Object.keys(n).some(e=>e.includes("AddonsChecklistItems"))?(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textError,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.notReady",message:"Not Ready"})}):(0,t.jsx)(l.ZT,{$color:d.Z.color.text.textSuccess,children:(0,t.jsx)(r.cC,{id:"cico.fwc.summary.ready",message:"Ready"})})})]}),(0,t.jsxs)(a.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.cC,{id:"cico.fwc.campervan.additionalEquipment",message:"Additional equipment"})}),(0,t.jsxs)("span",{className:"rightAlign",children:[(0,c.io)().filter(e=>!0===i[e.id]).length," ",(0,t.jsx)(r.cC,{id:"cico.fwc.summary.items",message:"Items"})]})]}),(0,t.jsxs)(a.AF,{children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.cC,{id:"cico.fwc.campervan.others",message:"Others"})}),(0,t.jsxs)("span",{className:"rightAlign",children:[(0,c.Jd)().filter(e=>!0===i[e.id]).length," ",(0,t.jsx)(r.cC,{id:"cico.fwc.summary.items",message:"Items"})]})]})]})}n(2784)},5887:function(e,i,n){"use strict";var t=n(52322),a=n(2784),r=n(20606),c=n(64157),s=n(35492),o=n(34371),l=n(99927),d=n(69570),u=n(31102),p=n(32063),h=n(56306),g=n(29676),m=n(96577),x=n.n(m),f=n(52467),v=n(37128),j=n(18233),b=n(41394),w=n(75759);let C=(0,r.ZP)(h.uT).withConfig({displayName:"FileInputDamage__ImagesCountWrapper",componentId:"sc-3c4b9156-0"})(["background:rgba(0,0,0,0.4);letter-spacing:2px;"]),k=r.ZP.div.withConfig({displayName:"FileInputDamage__Wrapper",componentId:"sc-3c4b9156-1"})(["width:100%;"]),y=r.ZP.div.withConfig({displayName:"FileInputDamage__UploadedFilePreview",componentId:"sc-3c4b9156-2"})(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:20px;padding:12px;border-radius:8px;border:solid 1px ",";background-color:var(--color-white);"],(0,u.if)(p.Z.color.border.border)),Z=(0,r.ZP)(x()).withConfig({displayName:"FileInputDamage__PreviewImage",componentId:"sc-3c4b9156-3"})(["object-fit:cover;border-radius:8px;"]),_=r.ZP.div.withConfig({displayName:"FileInputDamage__ActionsRow",componentId:"sc-3c4b9156-4"})(["display:flex;margin-top:8px;"]),$=r.ZP.div.withConfig({displayName:"FileInputDamage__FileDataColumn",componentId:"sc-3c4b9156-5"})(["display:flex;justify-content:center;flex-direction:column;"]),E=r.ZP.div.withConfig({displayName:"FileInputDamage__UpdateIcon",componentId:"sc-3c4b9156-6"})(["margin-right:20px;cursor:pointer;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal;color:",";text-decoration:underline;"],(0,u.if)(p.Z.color.text.textLink)),A=r.ZP.div.withConfig({displayName:"FileInputDamage__DeleteIcon",componentId:"sc-3c4b9156-7"})(["cursor:pointer;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal;color:",";text-decoration:underline;"],(0,u.if)(p.Z.color.text.textError));i.Z=e=>{var i,n,r;let{onDelete:u,onEdit:m,damage:x=null,type:P,disabled:N,showPrice:I}=e,R=(0,c.I0)(),O=(0,c.v9)(d.v),[M,D]=(0,a.useState)((null==x?void 0:x.pictures[0])||null),F=(0,j.ix)(b.c),L=(0,j.ix)(w.T);(0,a.useEffect)(()=>{let e=null==x?void 0:x.pictures[0];e&&D({preview:"".concat(e.name,".").concat(e.extension)})},[x.pictures]);let T=e=>(0,v.wb)(e,F.original.currency,L);return(0,t.jsx)(k,{className:"container",children:(M||x)&&(0,t.jsxs)(y,{children:[(0,t.jsxs)($,{children:[(0,t.jsx)(h.uT,{$size:"l",children:x.name}),(0,t.jsx)(h.uT,{$size:"m",$color:p.Z.color.text.textSecondary,children:x.place}),I&&"repairCost"in x&&(0,t.jsx)(h.uT,{$size:"mBold",children:(null===(i=x.repairCost)||void 0===i?void 0:i.total)>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.cC,{id:"fwc.damagesData.price",message:"Cost"})," ",T(null===(n=x.repairCost)||void 0===n?void 0:n.total)," (+",T(null===(r=x.processingFee)||void 0===r?void 0:r.total)," ",(0,t.jsx)(s.cC,{id:"fwc.damagesData.processingFee",message:"processing fee"}),")"]}):(0,t.jsx)(s.cC,{id:"fwc.damagesData.priceEmpty",message:"No damage cost set."})}),!N&&(0,t.jsxs)(_,{children:[(0,t.jsx)(E,{onClick:()=>{m?m():(0,o.n)(l.w.ADD_DAMAGE_CHECKIN,O,R,{damage:x,type:P})}
1,children:(0,t.jsx)(s.cC,{id:"edit",message:"Upravit"})}),u&&(0,t.jsx)(A,{onClick:()=>{D(null),u()},children:(0,t.jsx)(s.cC,{id:"delete",message:"Smazat"})})]})]}),(0,t.jsxs)(f.x,{$position:"relative",$width:"100%",$maxWidth:"100px",style:{aspectRatio:"1/1"},children:[(null==M?void 0:M.preview)&&(0,t.jsx)(Z,{loader:(0,g.tQ)(),layout:"fill",src:M.preview,alt:"preview"}),x.pictures.length>0&&(0,t.jsxs)(C,{$size:"s",$borderRadius:p.Z.radius.radiusS,$px:p.Z.spacing.spacingXs,$color:p.Z.color.text.textContrastPrimary,$position:"absolute",$offset:{bottom:"5px",right:"5px"},children:["1/",x.pictures.length]})]})]})})}},41472:function(e,i,n){"use strict";n.d(i,{Z:function(){return C}});var t=n(52322),a=n(76774),r=n(32063),c=n(56306),s=n(65588),o=n(46910),l=n(65933),d=n(42283),u=n(7503),p=n(87254),h=n(35492),g=n(18233),m=n(3390),x=n(98018),f=n.n(x),v=n(11218),j=n(2784),b=n(5282),w=n(33921);function C(e){let{type:i,beforeDownloadAction:n}=e,x=(0,d.qo)({name:"protocol.signedWithCustomer"}),{setValue:C}=(0,d.Gc)(),k=(0,g.ix)(e=>e.checkin),y=(0,g.ix)(e=>e.checkout),Z=(0,w.r8)(),[_,$]=(0,j.useState)(!1),[E,A]=(0,j.use
1State)(""),P=async()=>{let e;if(!n||await n()){$(!0);try{e="CheckIn"===i?(await (0,m.Jh)(k.checkInGuid)).data:(await (0,v.Rv)(y.checkOutGuid)).data;let n="CheckIn"===i?"CheckIn_protocol_to_sign_".concat(k.fetchedReservation.referenceCode,".pdf"):"CheckOut_protocol_to_sign_".concat(y.fetchedReservation.referenceCode,".pdf");f()(e,n),A("")}catch(i){var t,a,r;let e=null==i?void 0:null===(t=i.response)||void 0===t?void 0:t.data;if(e&&"application/json"===e.type){let i=JSON.parse(await (null==e?void 0:e.text()));A(null==i?void 0:null===(r=i.errors)||void 0===r?void 0:null===(a=r[0])||void 0===a?void 0:a.message)}}finally{$(!1)}}};return(0,j.useEffect)(()=>{(async()=>{let e;if("CheckIn"===i){if(!k.fetchedCheckInData.protocolDocument)return;e=await (0,m.$z)(k.checkInGuid,{responseType:"arraybuffer"})}else{if(!y.fetchedCheckOutData.protocolDocument)return;e=await (0,v.UJ)(y.checkOutGuid,{responseType:"arraybuffer"})}let n=e.data,t="CheckIn"===i?k.fetchedCheckInData.protocolDocument.name:y.fetchedCheckOutData.protocolDocument.name,a=e.headers["content-type"];C("protocol.document",[(0,b.t)(n,t,a)])})()},[]),(0,t.jsxs)(a.Ht,{$gap:r.Z.spacing.spacingL,children:[(0,t.jsx)(c.s0,{$size:"h4",children:(0,t.jsx)(h.cC,{id:"checkin.fwc.summary.protocol.protocol",message:"Protocol"})}),(0,t.jsx)(c.uT,{$size:"l",$color:r.Z.color.text.textSecondary,children:(0,t.jsx)(h.cC,{id:"checkin.fwc.summary.protocol.info",message:"Download and sign PDF protocol below."})}),(0,t.jsx)(o.Z,{loading:_,onClick:()=>P(),type:"button",children:(0,t.jsxs)(a.kC,{$gap:r.Z.spacing.spacingS,children:[(0,t.jsx)(s.Z,{height:20}),(0,t.jsx)(c.uT,{$size:"mBold",children:(0,t.jsx)(h.cC,{id:"checkin.fwc.summary.protocol.download",message:"Download"})})]})}),E&&(0,t.jsx)(c.uT,{$color:r.Z.color.text.textError,$size:"m",children:E}),(0,t.jsx)(l.Z,{disabled:"CheckOut"===i&&!Z,name:"protocol.signedWithCustomer",required:p.ag._({id:"inputText.labels.required"}),label:p.ag._({id:"cico.fwc.signedWithCustomer"})}),x&&(0,t.jsx)(u.Z,{disabled:"CheckOut"===i&&!Z,multiple:!1,required:!0,handleGuidRemove:async()=>{"CheckIn"===i&&await (0,m.MG)(k.checkInGuid),"CheckOut"===i&&await (0,v.LW)(y.checkOutGuid)},label:p.ag._({id:"cico.fwc.uploadDocument"}),compact:!0,name:"protocol.document"})]})}},91996:function(e,i,n){"use strict";n.d(i,{Z:function(){return $},p:function(){return _}});var t=n(52322),a=n(55564),r=n(76774),c=n(32063),s=n(56306),o=n(42283),l=n(87254),d=n(44745),u=n(65933),p=n(2784),h=n(40436),g=n(20606),m=n(35492);function x(e){let{rootObject:i,items:n,hideAcceptAll:a=!1,required:g=!1,accordion:x=!1,disabled:v}=e,{control:j,reset:b,getValues:w,errors:C}=(0,o.Gc)(),k=(0,o.qo)({name:i,control:j}),y=(0,p.useMemo)(()=>{let e=Object.values(k).every(e=>!!e),i=Object.values(k).every(e=>!e);return e?"fullCheck":i?"empty":"partialCheck"},[k]),Z=()=>{if("empty"===y||"partialCheck"===y){let e=Object.entries(k).map(e=>{let[i]=e;return[i,!0]});b({...w(),[i]:{...Object.fromEntries(e)}})}else{let e=Object.entries(k).map(e=>{let[i]=e;return[i,!1]});b({...w(),[i]:{...Object.fromEntries(e)}})}},_=(0,p.useMemo)(()=>Object.keys((null==C?void 0:C[i])||{}).length>0,[null==C?void 0:C[i]]),$=(0,p.useMemo)(()=>(0,t.jsx)(f,{$gap:c.Z.spacing.spacingXl,children:n.map(e=>(0,t.jsx)("div",{children:(0,t.jsx)(u.Z,{disabled:v,required:{value:g,message:l.ag._({id:"inputText.labels.required"})},boxOnLeft:!1,label:e.label,name:"".concat(i,".").concat(e.id)},e.id)}))}),[n]);return(0,t.jsxs)(r.Ht,{$gap:c.Z.spacing.spacingXl,children:[!a&&(0,t.jsxs)(r.yq,{children:[(0,t.jsx)(s.uT,{$cursor:"pointer",onClick:Z,$color:_?c.Z.color.text.textError:c.Z.color.text.textSecondary,$size:"m",children:(0,t.jsx)(m.cC,{id:"cico.fwc.everythingWasChecked",message:"Everything was checked and it's ok"})}),(0,t.jsx)("div",{onClick:Z,children:(0,t.jsx)(h.Z,{name:"root-".concat(i),disabled:!0,readOnly:!0,partialCheck:"partialCheck"===y,isSelected:"fullCheck"===y||"partialCheck"===y})})]}),x?(0,t.jsx)(d.Z,{summaryWidgetVersion:!0,heading:(0,t.jsx)(m.cC,{id:"cico.fwc.showItems",message:"Show items"}),children:$}):$]})}let f=(0,g.ZP)(r.Ht).withConfig({displayName:"CicoConditionCheck__CheckboxWrapper",componentId:"sc-6a41a40-0"})([""]);var v=n(34047),j=n(52467),b=n(17620),w=n.n(b),C=n(70085),k=n(13329),y=n(64157),Z=n(75759);let _=(e,i)=>Object.fromEntries(e.map(e=>[e.id,(null==i?void 0:i[e.id])||!1]));function $(e){let{reservationData:i,initialAddons:n,type:o,hiddenItems:l=[],disabled:d}=e,{carAddons:u,isSuccess:h}=(0,k.Z)(null==i?void 0:i.listing.id),g=(0,y.v9)(Z.T),f=(0,p.useMemo)(()=>h?n.map(e=>({...u.items.find(i=>
1i.guid===e.guid),...w()(e,["translations"])})):[],[u,n,h]),b=(0,p.useMemo)(()=>f.map(e=>{let{translation:i}=(0,C.V)(e,g);return{label:i.titleWithCount,id:e.guid}}),[f]),_="CheckIn"===o;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Jy,{children:(0,t.jsxs)(r.Ht,{$gap:c.Z.spacing.spacingXl,children:[(0,t.jsxs)(r.bw,{children:[(0,t.jsx)(s.s0,{$size:"h4",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.vehicleCondition",message:"Vehicle conditions"})}),_&&(0,t.jsx)(s.uT,{$color:c.Z.color.text.textError,$size:"mBold",children:(0,t.jsx)(m.cC,{id:"cico.fwc.required",message:"Required"})})]}),(0,t.jsx)(x,{disabled:d,required:_,accordion:!0,items:(0,v.zb)(),rootObject:"vehicleConditions"})]})}),(0,t.jsx)(a.Jy,{children:(0,t.jsxs)(r.Ht,{$gap:c.Z.spacing.spacingXl,children:[(0,t.jsx)(s.s0,{$size:"h4",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.equiment",message:"Equipment"})}),(0,t.jsxs)(r.bw,{children:[(0,t.jsx)(s.s0,{$size:"h5",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.safety",message:"Safety"})}),_&&(0,t.jsx)(s.uT,{$color:c.Z.color.text.textError,$size:"mBold",children:(0,t.jsx)(m.cC,{id:"cico.fwc.required",message:"Required"})})]}),(0,t.jsx)(x,{disabled:d,required:_,accordion:!0,items:(0,v.KZ)(),rootObject:"safety"}),(0,t.jsx)(j.x,{$height:"1px",$background:c.Z.color.border.borderLight}),n.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.bw,{children:[(0,t.jsx)(s.s0,{$size:"h5",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.alreadyPurchased",message:"Already purchased"})}),(0,t.jsx)(s.uT,{$color:c.Z.color.text.textError,$size:"mBold",children:(0,t.jsx)(m.cC,{id:"cico.fwc.required",message:"Required"})})]}),(0,t.jsx)(x,{disabled:d,required:!0,hideAcceptAll:!0,items:b,rootObject:"addons"}),(0,t.jsx)(j.x,{$height:"1px",$background:c.Z.color.border.borderLight})]}),(0,t.jsxs)(r.bw,{children:[(0,t.jsx)(s.s0,{$size:"h5",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.additionalEquipment",message:"Additional equipment"})}),(0,t.jsx)(s.uT,{$color:c.Z.color.text.textSecondary,$size:"mBold",children:(0,t.jsx)(m.cC,{id:"cico.fwc.notRequired",message:"Not required"})})]}),(0,t.jsx)(x,{disabled:d,hideAcceptAll:!0,items:(0,v.io)().filter(e=>!l.includes(e.id)),rootObject:"additional"}),(0,t.jsx)(j.x,{$height:"1px",$background:c.Z.color.border.borderLight}),(0,t.jsxs)(r.bw,{children:[(0,t.jsx)(s.s0,{$size:"h5",children:(0,t.jsx)(m.cC,{id:"cico.fwc.campervan.others",message:"Others"})}),(0,t.jsx)(s.uT,{$color:c.Z.color.text.textSecondary,$size:"mBold",children:(0,t.jsx)(m.cC,{id:"cico.fwc.notRequired",message:"Not required"})})]}),(0,t.jsx)(x,{disabled:d,hideAcceptAll:!0,items:(0,v.Jd)().filter(e=>!l.includes(e.id)),rootObject:"others"}),(0,t.jsx)(j.x,{$height:"1px",$background:c.Z.color.border.borderLight})]})})]})}},68853:function(e,i,n){"use strict";n.d(i,{T:function(){return r},Z:function(){return c}});var t=n(48492),a=n(87254);let r=function(e){let{isCheckIn:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[e&&{value:t.AWR.CreditCardFreezed,label:a.ag._({id:"checkin.fwc.summary.deposit.CreditCardFreezed"})},{value:t.AWR.CreditCardCharged,label:a.ag._({id:"checkin.fwc.summary.deposit.CreditCardCharged"})},{value:t.AWR.DebitCard,label:a.ag._({id:"checkin.fwc.summary.deposit.DebitCard"})},!i&&{value:t.AWR.Paypal,label:a.ag._({id:"checkin.fwc.summary.deposit.Paypal"})},!i&&{value:t.AWR.Unzer,label:a.ag._({id:"checkin.fwc.summary.deposit.Unzer"})},{value:t.AWR.BankTransferCommerzbank,label:a.ag._({id:"checkin.fwc.summary.deposit.BankTransferCommerzbank"})},{value:t.AWR.BankTransferBPM,label:a.ag._({id:"checkin.fwc.summary.deposit.BankTransferBPM"})},{value:t.AWR.BankTransfer,label:a.ag._({id:"checkin.fwc.summary.deposit.BankTransfer"})}].filter(Boolean)},c=()=>[{value:t.LtK.CreditCard,label:a.ag._({id:"checkin.fwc.summary.billing.CreditCard"})},{value:t.LtK.BankTransferCommerzbank,label:a.ag._({id:"checkin.fwc.summary.billing.BankTransferCommerzbank"})},{value:t.LtK.BankTransferBPM,label:a.ag._({id:"checkin.fwc.summary.billing.BankTransferBPM"})},{value:t.LtK.Stripe,label:a.ag._({id:"checkin.fwc.summary.billing.Stripe"})},{value:t.LtK.Paypal,label:a.ag._({id:"checkin.fwc.summary.billing.Paypal"})},{value:t.LtK.Unzer,label:a.ag._({id:"checkin.fwc.summary.billing.Unzer"})},{value:t.LtK.Agent,label:a.ag._({id:"checkin.fwc.summary.billing.Agent"})},{value:t.LtK.Cash,label:a.ag._({id:"checkin.fwc.summary.billing.Cash"})},{value:t.LtK.BankTransferCommerzbankDeposits,label:a.ag._({id:"checkin.fwc.summary.billing.BankTransferCommerzbankDeposits"})},{value:t.LtK.Other,label:a.ag._({id:"checkin.fwc.summary.billing.Other"})}
1].filter(Boolean)},5350:function(e,i,n){"use strict";n.d(i,{x:function(){return c}});var t=n(20606),a=n(31102),r=n(32063);let c=t.ZP.div.withConfig({displayName:"styles__StyledRange",componentId:"sc-8dde0b3a-0"})(["position:relative;padding:10px;input[type='range']{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;background:transparent;position:absolute;top:0;left:0;border-radius:2px;}input[type='range']::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;}input[type='range']:focus{outline:none;}input[type='range']::-webkit-slider-runnable-track{width:100%;height:4px;}.TrackRange{pointer-events:none;}.TrackRange::-webkit-slider-runnable-track{background:#edeae3;border-radius:6px;overflow:hidden;}.TrackRange::-moz-range-track{background:#edeae3;border-radius:6px;overflow:hidden;}.TrackRange::-ms-track{background:#edeae3;border-radius:6px;overflow:hidden;}.TrackRange::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:1px;width:1px;box-shadow:-600px 0 0 600px #119383;.isFWC &{box-shadow:-600px 0 0 600px ",";}}.TrackRange::-moz-range-progress{background-color:#119383;.isFWC &{background-color:",";}height:2px;}.ThumbRange::-webkit-slider-runnable-track{background:transparent;cursor:pointer;}.ThumbRange::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:8px solid #119383;.isFWC &{border-color:",";}border-radius:12px;height:24px;width:24px;background:white;cursor:pointer;margin:-10px 0px 0px 0px;}.ThumbRange::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:8px solid #119383;.isFWC &{border-color:",";}border-radius:50%;height:8px;width:8px;background:white;cursor:pointer;margin:-10px 0px 0px 0px;}.ThumbRange::-ms-thumb{border:8px solid #119383;.isFWC &{border-color:",";}border-radius:50%;height:8px;width:8px;background:white;cursor:pointer;margin:-10px 0px 0px 0px;}"],(0,a.if)(r.Z.color.text.textSuccess),(0,a.if)(r.Z.color.text.textSuccess),(0,a.if)(r.Z.color.text.textSuccess),(0,a.if)(r.Z.color.text.textSuccess),(0,a.if)(r.Z.color.text.textSuccess))},65933:function(e,i,n){"use strict";n.d(i,{Z:function(){return s}});var t=n(52322),a=n(42283),r=n(40436),c=n(56306);function s(e){let{name:i,required:n,label:s,textStyleSize:o="m",disabled:l,boxOnLeft:d=!0}=e,{control:u,formState:{errors:p}}=(0,a.Gc)(),h=(0,a.U2)(p,i);return(0,t.jsx)(a.Qr,{control:u,name:i,rules:{required:n},render:e=>{let{onChange:i,value:n,name:a,ref:u}=e;return(0,t.jsx)(r.Z,{labelTranslComp:(0,t.jsx)(c.uT,{$size:o,children:s}),name:a,inputRef:u,boxOnLeft:d,showErrorMessage:!!h,errorMessage:null==h?void 0:h.message,isSelected:n,disabled:l,onCheckboxChange:()=>{i(!n)}})}})}},7503:function(e,i,n){"use strict";n.d(i,{Z:function(){return E}});var t=n(52322),a=n(42283),r=n(2784),c=n(56551),s=n(20606),o=n(56306),l=n(32063),d=n(31102),u=n(76774),p=n(96577),h=n.n(p),g=n(29676);function m(e){let{multiple:i,label:n,file:a,onRemove:r,onRemoveGuid:c,disabled:s}=e,d="guid"in a,p="name"in a&&(a.name.includes("kyc_")||a.name.includes("check-in-")||a.name.includes("check-out-")),m=e=>{e.stopPropagation(),d&&(null==c||c(a.guid)),p&&(null==c||c(a.name.replace("kyc_","").replace(".jpg",""))),r(a)};if("type"in a&&"application/pdf"===a.type)return(0,t.jsxs)(u.Ht,{$width:"100%",children:[(0,t.jsxs)(u.yq,{children:[(0,t.jsx)(o.uT,{$size:"mBold",$color:l.Z.color.text.textLink,children:a.name}),!s&&(0,t.jsx)("div",{onClick:e=>{m(e)},children:(0,t.jsx)(x,{})})]}),(0,t.jsx)(o.uT,{$size:"m",$color:l.Z.color.text.textSecondary,children:function(e){let i=["Bytes","kB","MB","GB","TB"];if(0===e)return"n/a";let n=Math.floor(Math.log(e)/Math.log(1024));return 0===n?"".concat(e," ").concat(i[n]):"".concat((e/1024**n).toFixed(1)," ").concat(i[n])}(a.size)})]});let j=d?"".concat(a.name,".").concat(a.extension):URL.createObjectURL(a);return(0,t.jsxs)(f,{multiple:i,hasLabel:!!n,children:[d?(0,t.jsx)(g.Uj,{src:j,children:(0,t.jsx)(h(),{alt:"file preview",loader:(0,g.tQ)(),src:j,fill:!0,objectFit:"cover"})}):(0,t.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(h(),{alt:"file preview",loader:(0,g.tQ)(),src:j,fill:!0,objectFit:"cover"})}),!n&&!s&&(0,t.jsx)(v,{onClick:async e=>{m(e)},children:(0,t.jsx)(x,{})}),n&&(0,t.jsxs)(u.bw,{$pt:l.Z.spacing.spacingM,$position:"relative",$offset:{top:"100%"},children:[(0,t.jsx)(o.uT,{$color:l.Z.color.text.textLink,$size:"mBold",children:n}),!s&&(0,t.jsx)("div",{onClick:async e=>{m(e)},children:(0,t.jsx)(x,{})})]})]},j)}let x=e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e,children:(0,t.jsx)("path",{fill:"#B52B2B",fillRule:"evenodd",d:"M12.143 1a2.145 2.145 0 0 1 2.143 2.143v.714h5a.714.714 0 1 1 0 1.429h-2.143v12.143A2.145 2.145 0 0 1 15 19.57H5a2.145 2.145 0 0 1-2.143-2.142V5.286H.714a.714.714 0 1 1 0-1.429h5v-.714A2.145 2.145 0 0 1 7.857 1h4.286Zm3.571 4.286H4.286v12.143c0 .394.32.714.714.714h10c.395 0 .714-.32.714-.714V5.286ZM7.857 8.143c.395 0 .714.32.714.714v5.714a.714.714 0 1 1-1.428 0V8.857c0-.394.32-.714.714-.714Zm4.286 0c.394 0 .714.32.714.714v5.714a.714.714 0 1 1-1.428 0V8.857c0-.394.32-.714.714-.714Zm0-5.714H7.857a.714.714 0 0 0-.714.714v.714h5.714v-.714a.714.714 0 0 0-.714-.714Z",clipRule:"evenodd"})}),f=s.ZP.div.withConfig({displayName:"FilePreview__ImagePreviewContainer",componentId:"sc-9a671f61-0"})(["width:156px;height:156px;position:relative;border-radius:",";",""],(0,d.if)(l.Z.radius.radiusM),e=>{let{multiple:i,hasLabel:n}=e;return!i&&(0,s.iv)(["width:100%;height:180px;"])}),v=s.ZP.div.withConfig({displayName:"FilePreview__RemoveWrapper",componentId:"sc-9a671f61-1"})(["line-height:1;position:absolute;bottom:0;right:0;border-radius:"," 0px;background-color:",";padding:",";cursor:pointer;&:hover{background-color:",";}"],(0,d.if)(l.Z.radius.radiusM),(0,d.if)(l.Z.color.backgrounds.surfaceContrast),(0,d.if)(l.Z.spacing.spacingXs),(0,d.if)(l.Z.color.backgrounds.surfaceBg));var j=n(87254);function b(e){let{handleDrop:i,onRemove:n,onRemoveGuid:s,currentFiles:d,disabled:p,multiple:h,inputRef:g,compact:x,name:f,errorMessage:v,accept:b,label:_,icon:$}=e,{setError:E}=(0,a.Gc)(),{getRootProps:A,getInputProps:P,isDragActive:N}=(0,c.uI)({disabled:p,maxSize:8388608,accept:b,onDropRejected:e=>{var i,n;E(f,{message:null==e?void 0:null===(n=e[0])||void 0===n?void 0:null===(i=n.errors)||void 0===i?void 0:i[0].message,type:"max"})},onDropAccepted:(e,n)=>{i(e)}}),I=(null==d?void 0:d.length)>0,R=(0,r.useMemo)(()=>I?d.map(e=>(0,t.jsx)(m,{multiple:h,disabled:p,onRemove:n,file:e,label:_,onRemoveGuid:s})):null,[d,I,n,s]),O=h||!1===h&&!I,M=(0,r.useMemo)(()=>_||(N?j.ag._({id:"label.uploadDrop"}):j.ag._({id:"label.uploadPhotos"})),[N,h,_]);return(0,t.jsxs)(u.Ht,{$width:"100%",children:[(0,t.jsxs)(k,{...A(),hasFiles:I,hasLabel:!!_&&I,hasError:!!v,disabled:p,ref:g,children:[(0,t.jsx)("input",{...P()}),O&&(0,t.jsxs)(C,{multiple:!x,children:[(0,t.jsx)(y,{className:N&&"active",children:$||(0,t.jsx)(Z,{})}),(0,t.jsx)(o.uT,{$size:"lBold",$color:l.Z.color.text.textLink,children:M})]}),I&&!h&&R,h&&(0,t.jsx)(o.uT,{$size:"s",children:j.ag._({id:"label.uploadInstructions"})})]}),h&&(0,t.jsx)(w,{$gap:l.Z.spacing.spacingL,children:R}),v&&(0,t.jsx)(o.uT,{$size:"m",$color:l.Z.color.text.textError,children:v})]})}let w=(0,s.ZP)(u.Kl).withConfig({displayName:"ImagesUpload__ImageWrapper",componentId:"sc-64c4a6fd-0"})(["flex-wrap:wrap;"]),C=(0,s.ZP)(u.Ht).withConfig({displayName:"ImagesUpload__TextWrap",componentId:"sc-64c4a6fd-1"})(["align-items:center;",""],e=>{let{multiple:i}=e;return!i&&(0,s.iv)(["flex-direction:row;gap:10px;"])}),k=(0,s.ZP)(u.ff).withConfig({displayName:"ImagesUpload__Container",componentId:"sc-64c4a6fd-2"})(["gap:",";border:dashed 1px ",";padding:",";border-radius:",";cursor:",";height:100%;width:100%;margin-bottom:",";"," "," ",""],(0,d.if)(l.Z.spacing.spacingM),(0,d.if)(l.Z.color.border.border),(0,d.if)(l.Z.spacing.spacing4Xl),
1(0,d.if)(l.Z.radius.radiusL),e=>{let{disabled:i}=e;return!i&&"pointer"},e=>{let{hasFiles:i}=e;return i&&(0,d.if)(l.Z.spacing.spacingL)},e=>{let{multiple:i}=e;return!i&&(0,s.iv)(["padding:",";"],(0,d.if)(l.Z.spacing.spacingL))},e=>{let{hasError:i}=e;return i&&(0,s.iv)(["border-color:",";"],(0,d.if)(l.Z.color.text.textError))},e=>{let{hasLabel:i}=e;return i&&(0,s.iv)(["padding-bottom:50px;"])}),y=s.ZP.div.withConfig({displayName:"ImagesUpload__IconContainer",componentId:"sc-64c4a6fd-3"})(["line-height:1;transform:rotate(0deg);transition:transform 0.1s ease-in-out;&.active{transform:rotate(180deg);}"]),Z=e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"#c8802eff",...e,children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M19.375 13c.345 0 .625.28.625.624v1.25A3.128 3.128 0 0 1 16.875 18H3.125A3.128 3.128 0 0 1 0 14.874v-1.25a.625.625 0 1 1 1.25 0v1.25c0 1.036.84 1.874 1.875 1.876h13.75a1.877 1.877 0 0 0 1.875-1.876v-1.25c0-.345.28-.625.625-.625Zm-9.158-9.96.017.005c.081.034.15.08.209.139l3.749 3.749a.619.619 0 0 1 .183.441.624.624 0 0 1-1.067.442l-2.683-2.683v8.491a.625.625 0 0 1-.527.618l-.099.007-.091-.006a.625.625 0 0 1-.533-.619v-8.49L6.692 7.817a.622.622 0 0 1-.884 0 .619.619 0 0 1-.183-.443c0-.166.065-.324.183-.441l3.75-3.75a.617.617 0 0 1 .204-.136l.02-.008a.62.62 0 0 1 .435 0Z",clipRule:"evenodd"})});var _=n(72579),$=n.n(_);function E(e){let{name:i,multiple:n=!0,disabled:c,required:s=!1,label:o,handleGuidRemove:l,icon:d,compact:u=!1,accept:p}=e,{control:h,setValue:g,getValues:m,formState:{errors:x}}=(0,a.Gc)(),f=(0,r.useCallback)(e=>{if(n){var t;let n=m(),a=null!==(t=null==n?void 0:n[i])&&void 0!==t?t:[];g(i,[...a,...e],{shouldValidate:!0})}else g(i,[e[0]],{shouldValidate:!0})},[g]),v=(0,r.useCallback)(e=>{let n=m()[i],t=(null==n?void 0:n.filter(i=>"guid"in i&&"guid"in e?i.guid!==e.guid:i!==e))||[];g(i,0===t.length?null:t,{shouldValidate:!0})},[g]);return(0,t.jsx)(a.Qr,{control:h,name:i,rules:{required:"boolean"==typeof s?{value:s,message:j.ag._(j.ag._({id:"inputText.labels.required"}))}:{value:s.value,message:s.message}},render:e=>{var a;let{value:r,ref:s}=e;return(0,t.jsx)(b,{name:i,compact:u,label:o,icon:d,accept:p,onRemoveGuid:l,errorMessage:null===(a=$()(x,i))||void 0===a?void 0:a.message,multiple:n,inputRef:s,currentFiles:r,handleDrop:f,onRemove:v,disabled:c})}})}},77373:function(e,i,n){"use strict";n.d(i,{Z:function(){return s}});var t=n(52322),a=n(42283),r=n(40707),c=n(87254);function s(e){let{label:i,name:n,required:s=!1,mask:o="99/99/9999",maskChar:l="_",disabled:d}=e,{control:u,errors:p}=(0,a.Gc)(),h=(0,a.U2)(p,n);return(0,t.jsx)(a.Qr,{control:u,name:n,rules:{required:"boolean"==typeof s?{value:s,message:c.ag._(c.ag._({id:"inputText.labels.required"}))}:{value:s.value,message:s.message}},render:e=>{let{onChange:n,value:a,name:c,ref:s}=e;return(0,t.jsx)(r.Z,{id:c,mask:o,maskChar:l,hasError:!!h,errorMessage:null==h?void 0:h.message,onChange:n,label:i,name:c,value:a,ref:s,disabled:d})}})}},25327:function(e,i,n){"use strict";n.d(i,{IN:function(){return o},JH:function(){return p},Sw:function(){return r},ej:function(){return s},hm:function(){return g},it:function(){return a},j0:function(){return c},l4:function(){return u},mO:function(){return l},r$:function(){return h},wm:function(){return d}});var t=n(93745);let a=e=>i=>{i({type:t.sc,payload:e})},r=e=>i=>{i({type:t.YV,payload:e})},c=e=>i=>{i({type:t.PF,payload:e})},s=e=>i=>{i({type:t.Yf,payload:e})},o=e=>i=>{i({type:t.ch,payload:e})},l=e=>i=>{i({type:t.D7,payload:e})},d=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(i)n({type:t.nk,payload:e});else{let i=new FileReader;i.readAsDataURL(e.file),i.addEventListener("load",()=>{let a={...e,preview:i.result};n({type:t.nk,payload:a})})}}},u=e=>i=>{let n={...e};i({type:t.DM,payload:n})},p=e=>i=>{i({type:t.OG,payload:e})},h=e=>i=>{i({type:t.oq,payload:e})},g=e=>i=>{i({type:t.LI,payload:e})}},13671:function(e,i,n){"use strict";n.d(i,{$H:function(){return s},I7:function(){return a},Kb:function(){return g},Mg:function(){return u},R5:function(){return c},VX:function(){return d},Zg:function(){return p},a9:function(){return h},cQ:function(){return r},mg:function(){return m},pV:function(){return o},sg:function(){return l}});var t=n(21659);let a=e=>i=>{i({type:t.Ei,payload:e})},r=e=>i=>{i({type:t.z7,payload:e})},c=e=>i=>{i({type:t.Hd,payload:e})},s=e=>i=>{i({type:t.Qs,payload:e})},o=e=>i=>{i({type:t.UN,payload:e})},l=e=>i=>{i({type:t.IE,payload:e})},d=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(i)n({type:t.uS,payload:e});else{let i=new FileReader;i.readAsDataURL(e.file),i.addEventListener("load",()=>{let a={...e,preview:i.result};n({type:t.uS,payload:a})})}}},u=e=>i=>{i({type:t.dA,payload:e})},p=e=>i=>{let n={...e};i({type:t.F4,payload:n})},h=e=>i=>{i({type:t.w_,payload:e})},g=e=>i=>{i({type:t.z8,payload:e})},m=e=>i=>{i({type:t.OQ,payload:e})}},5282:function(e,i,n){"use strict";function t(e,i,n){return new File([new Blob([e],{type:n})],i,{type:n})}n.d(i,{t:function(){return t}})},3706:function(e,i,n){"use strict";n.d(i,{Pl:function(){return c},w_:function(){return a},wt:function(){return r}});var t=n(52333);let a=function(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=c(e).replace(/[^\d.]/g,"");return new Intl.NumberFormat((null==i?void 0:i.country)===t.cH.pl&&"CZK"!==n?"pl":"cs-CZ",{maximumFractionDigits:0,minimumFractionDigits:0}).format(a)},r=e=>c(e).replace(/[^\d(.|,)]/g,""),c=e=>e?String(e).replace(/(\s+)/g,""):""},81608:function(e,i,n){"use strict";n.d(i,{Z:function(){return j}});var t,a=n(52322),r=n(2784),c=n(20606),s=n(31102),o=n(76774),l=n(56306),d=n(32063),u=n(1726);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(null,arguments)}var h=function(e){return r.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 16"},e),t||(t=r.createElement("path",{fill:"#001629",d:"M7 10 3 6 0 9l7 7L20 3l-3-3L7 10Z",className:"icon_check_small2_svg__cls-1"})))};let g=(0,c.ZP)(o.Kl).withConfig({displayName:"ProgressBar__Wrapper",componentId:"sc-cd947276-0"})(["width:100%;justify-content:space-between;svg{margin-right:auto;}"]),m=(0,c.ZP)(o.Kl).withConfig({displayName:"ProgressBar__ItemWrapper",componentId:"sc-cd947276-1"})(["position:relative;"]),x=(0,c.ZP)(l.uT).withConfig({displayName:"ProgressBar__NumberWrapper",componentId:"sc-cd947276-2"})(["display:flex;width:28px;height:28px;flex-direction:column;justify-content:center;align-items:center;border:1px solid ",";background:",";border-radius:50%;svg{width:12px;height:9.6px;margin:0;}",""],(0,s.if)(d.Z.color.border.border),(0,s.if)(d.Z.color.backgrounds.surfaceBg),e=>{let{isActive:i}=e;return i&&(0,c.iv)(["background:",";color:",";"],(0,s.if)(d.Z.color.backgrounds.surfaceSection,"#202244"),(0,s.if)(d.Z.color.text.textContrastPrimary))}),f=(0,c.ZP)(l.uT).withConfig({displayName:"ProgressBar__Heading",componentId:"sc-cd947276-3"})(["white-space:nowrap;"]),v=c.ZP.div.withConfig({displayName:"ProgressBar__Divider",componentId:"sc-cd947276-4"})(["width:100%;height:1px;background:",";margin:0px 12px;"],(0,s.if)(d.Z.color.border.border));var j=function(e){let{items:i,space:n,description:t,activeItemId:c=0,enableStepSkipping:s=!0,onItemClick:o}=e;return(0,a.jsx)(g,{children:i.map((e,l)=>(0,a.jsxs)(r.Fragment,{children:[(0,a.jsxs)(m,{$cursor:(s||l<c)&&o?"pointer":void 0,onClick:(s||l<c)&&o?()=>o(l):void 0,$gap:d.Z.spacing.spacingM,children:[(0,a.jsx)(x,{isActive:c===l,$borderRadius:d.Z.spacing.spacingM,$size:"mBold",$color:d.Z.color.text.textPrimary,children:s&&l<c?(0,a.jsx)(h,{}):l+1}),t&&(0,a.jsx)(f,{color:d.Z.color.text.textPrimary,isActive:c===l,$size:"mBold",$color:d.Z.color.text.textPrimary,children:e})]}),l!==i.length-1&&"line"===n&&(0,a.jsx)(v,{}),l!==i.length-1&&"arrow"===n&&(0,a.jsx)(u.Z,{})]},l))})}},25602:function(){}}]); 2//# sourceMappingURL=5319-ab292a1d527af617.js.map
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.