1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var l in n)n.hasOwnProperty(l)&&(e[l]=n[l])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sentry-pl":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d54511e4-90a1-44f3-b0df-54fec513ad6b",e._sentryDebugIdIdentifier="sentry-dbid-d54511e4-90a1-44f3-b0df-54fec513ad6b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40741,87834],{62931:function(e,t,n){"use strict";var l,a=n(44194);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}t.Z=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 36 44"},e),l||(l=a.createElement("path",{fill:"#1b115c",fillRule:"evenodd",d:"M0 3Q0 1.78.89.89 1.782.001 3 0h9q0 2.625 1.734 4.313Q15.446 6 18 6q2.532 0 4.266-1.688Q24 2.626 24 0h9q1.22 0 2.11.89T36 3v38q0 1.22-.89 2.11T33 44H3q-1.22 0-2.11-.89Q.001 42.218 0 41z"})))}},66811:function(e,t,n){var l=n(70551),a=n(18951);e.exports=function(e,t){return e&&e.length?a(e,l(t,2)):[]}},65595:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[abTestsToken]/mytui/reservation/documents",function(){return n(36315)}])},62027:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var l=n(31549),a=n(60669),i=n(29796),r=n(44194),o=n(53213),s=n(92671),c=n(60810);let d=(0,i.e)(new Date,30),u=(0,i.e)(new Date,120),m=(0,i.e)(new Date,18);function f(e){let{wrapperClassName:t,calendarWindowClassName:n,renderInput:i,onDateSelect:f,minDate:p,maxDate:v,value:x,activeStartDate:h,isDisabled:b}=e,[g,j]=(0,r.useState)(!1),y=(0,a.Z)("relative",t),N=(0,a.Z)("absolute left-[0] max-w-[calc(100%+1px)] border border-solid border-gray-doveLight top-[64px] z-[3] md:max-w-none",n),_=(0,r.useRef)(null),w=(0,r.useCallback)(()=>{g&&j(!1)},[g]);(0,s.t)(_,w);let D=x?(0,c.sG)(x,c.fK.dayMonthYearWithDots):void 0,T=h;return h||(T=x?(0,c.sG)(x,c.fK.dayMonthYearWithDots):d),(0,l.jsxs)("div",{className:y,ref:_,"data-component":"CalendarDropdown",children:[(0,l.jsx)("div",{className:"w-full cursor-pointer appearance-none border-none bg-transparent p-0 text-left outline-none focus:outline-none",onClick:function(){b||j(e=>!e)},role:"presentation",tabIndex:-1,children:i()}),g&&!b&&(0,l.jsx)("div",{className:N,children:(0,l.jsx)(o.Z,{className:"p-[10px]",activeStartDate:T,minValue:void 0===p?u:p,maxValue:void 0===v?m:v,onChange:function(e){void 0!==f&&f(e),j(!1)},value:D,view:x?"month":"decade"})})]})}},21374:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var l=n(31549),a=n(5856),i=n(14895),r=n(26951);function o(e){let{name:t="email",label:n}=e,o=(0,i.z$)("MYTUI_LOGIN");return(0,l.jsx)(a.Z,{name:t,type:"email",autoComplete:"email",label:"string"==typeof n?n:null==o?void 0:o["login.email_label"],placeholder:null==o?void 0:o["login.email_placeholder"],wrapperClassName:"m-0",inputClassName:"h-[34px] py-0 text-base",labelClassName:"m-0",withValidIcon:!0,registerOptions:{validate:(0,r.b0)(r.Hy,null==o?void 0:o["login.email_validation"],r.Zh.email)},"data-component":"EmailInput"})}},53415:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var l=n(31549);function a(e){let{frameSrc:t}=e;return(0,l.jsx)("iframe",{src:t,frameBorder:"0",className:"min-h-[450px] w-full border border-solid border-gray-altoLight"})}},36315:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return ea},default:function(){return ei}});var l,a=n(31549),i=n(88527),r=n(17126),o=n(20138),s=n(43544),c=n(6522),d=n(36103),u=n(14895),m=n(77696),f=n(60669),p=n(26152),v=n(44194);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}var h=function(e){return v.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 120"},e),l||(l=v.createElement("path",{d:"M111 15.657 62.828 63.828a4 4 0 1 1-5.656-5.656L105.343 10H95a4 4 0 1 1 0-8h20a4 4 0 0 1 4 4v20a4 4 0 1 1-8 0zM101 55a4 4 0 1 1 8 0v37.143c0 9.282-7.576 16.858-16.857 16.858H27.857C18.577 109 11 101.424 11 92.143V27.858C11 18.577 18.577 11 27.857 11H65a4 4 0 1 1 0 8H27.857C22.995 19 19 22.995 19 27.858v64.285c0 4.863 3.995 8.858 8.857 8.858h64.286c4.863 0 8.857-3.995 8.857-8.858z"})))};function b(e){let{url:t,label:n,isDisabled:l,download:i,onClick:r}=e,o=(0,f.Z)("flex items-center gap-2 py-[10px] px-[12px]",{"pointer-events-none bg-gray-concrete":l,"odd:bg-blue-sky even:bg-white":!l,"cursor-pointer":r}),s=(0,f.Z)("shrink-0 fill-blue",{"fill-black/50":l}),c=(0,f.Z)("text-lg font-bold leading-[25px] text-blue",{"text-black/50":l});return(0,a.jsxs)("a",{href:t,target:i?void 0:"_blank",rel:"nofollow noopener noreferrer",className:o,onClick:r,download:i,"data-component":"DocumentLink",children:[i?(0,a.jsx)(h,{className:"".concat(s," h-[23px] w-[28px]")}):(0,a.jsx)(p.default,{className:"".concat(s," h-[28px] w-[28px]")}),(0,a.jsx)("span",{className:c,children:n})]})}function g(){let{data:e}=(0,m.RM)(),t=(0,u.z$)("MYTUI_FACULTATIVE_TRIPS_VOUCHERS"),n=(0,u.w6)(t);if(!(null==e?void 0:e.facultativeTripsVouchers)||!n)return null;let{sectionDescription:l,sectionLabel:i,vouchers:r}=e.facultativeTripsVouchers;return(0,a.jsxs)(d.Z,{title:i,titleAlignment:"left",initiallyExpanded:!1,children:[void 0===r||0===r.length&&(0,a.jsx)("span",{className:"leading-[25px] text-black","data-component":"FacultativeTripVouchers",children:l}),void 0!==r&&r.length>0&&(0,a.jsx)("div",{className:"flex w-full flex-col",children:r.map((e,t)=>e.voucherUrls.map((n,l)=>(0,a.jsx)(b,{url:n,label:e.voucherUrls.length>1?"".concat(e.tripName," (").concat(l+1,")"):e.tripName},"".concat(t,"-").concat(l))))})]})}var j=n(53415),y=n(83608),N=n(47624),_=n(98629);function w(){let e=(0,u.z$)("MYTUI_ORDER_INVOICE"),t=(0,m.OJ)(),n=(0,y.Iz)(t);if(!e)return null;let l=null==e?void 0:e["orderInvoice.description"],i=null==e?void 0:e["orderInvoice.boxTitle"],r=(0,N.Ax)()&&void 0!==i&&window.location.hash.includes((0,_.lV)(i).toLowerCase());return(0,a.jsx)(d.Z,{title:i,titleAlignment:"left",initiallyExpanded:r,anchor:"invoice",children:(0,a.jsxs)("div",{"data-component":"OrderInvoice",children:[void 0!==l&&(0,a.jsx)("div",{className:"mb-[20px]",dangerouslySetInnerHTML:{__html:l}}),(0,a.jsx)(j.Z,{frameSrc:n})]})})}var D=n(66811),T=n.n(D);let E=["confirmationDocuments","travelDocuments","invoice"];function S(){let e=function(){let e=(0,m.ax)();if(!e)return;let{_links:t,assets:n}=e,l=void 0===t?[]:Object.keys(t).filter(e=>!E.includes(e)).map(e=>{let n=t[e];return{url:null==n?void 0:n.href,label:null==n?void 0:n.label,download:null==n?void 0:n.download}});return T()(l.concat(null!=n?n:[]),"url")}(),t=(0,u.z$)("MYTUI_REPORT_FORMS");if(!Array.isArray(e)||0===e.length||!t)return null;let n=null==t?void 0:t["reportForms.boxTitle"];return(0,a.jsx)(d.Z,{title:n,titleAlignment:"left",initiallyExpanded:!1,children:(0,a.jsx)("div",{className:"flex w-full flex-col","data-component":"ReportForms",children:e.map((e,t)=>(0,a.jsx)(b,{url:e.url,label:e.label,download:e.download},t))})})}var O=n(54737),C=n(34435),I=n(48645),k=n(35937),M=n(87954),Z=n(95870),R=n(71923),P=n(62027),V=n(5856),U=n(60810),A=n(26951),z=n(52613),L=n(62931);let B=(0,U.p6)(new Date,U.fK.dayMonthYearWithDots);function Y(e){let{data:t,setCurrentFormStage:n}=e,{getValues:l,setValue:i,trigger:r,clearErrors:o}=(0,I.Gc)(),s=(0,u.z$)("MYTUI_RESERVATION_DOCUMENTS");if(void 0===t)return null;async function c(e){e.preventDefault(),await r()&&n("preview")}return(0,a.jsxs)("div",{className:"flex flex-col gap-[12px]","data-component":"EntryDocumentsEdit",children:[(0,a.jsx)("span",{children:t.statements.subtitleBefore}),(0,a.jsxs)("div",{className:"flex flex-col gap-[25px] text-blue",children:[t.reservationParticipants.map((e,n)=>(0,a.jsxs)("div",{className:"flex flex-col gap-[20px]",children:[(0,a.jsxs)("span",{className:"font-bold",children:[null==s?void 0:s["reservationDocuments.entry_form_heading"],"\xa0",e.reservationNumber]}),(0,a.jsx)("div",{className:"flex flex-col gap-[30px]",children:e.participants.map((e,n)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col gap-[10px]",children:[(0,a.jsxs)("div",{className:"mb-[10px] flex items-center gap-[4px]",children:[(0,a.jsxs)("div",{className:"relative flex shrink-0",children:[(0,a.jsx)(L.Z,{className:"h-[20px] w-[20px] shrink-0"}),(0,a.jsx)("span",{className:"absolute left-1/2 -translate-x-1/2 font-bold text-white",children:n+1})]}),(0,a.jsx)("span",{className:"grow border-b border-solid border-gray-altoLight pb-[3px] font-bold leading-none",children:e.label})]}),(0,a.jsxs)("span",{className:"font-bold",children:[e.firstName,"\xa0",e.lastName,",",null==s?void 0:s["reservationDocuments.entry_form_birth_date_prefix"],"\xa0",e.birthDate]}),(0,a.jsx)("div",{className:"grid gap-[20px] md:grid-cols-3 md:gap-[10px]",children:t.requiredData.map((e,t)=>{let r="".concat(n,"-").concat(e.value),c="".concat(e.label,"*"),d=e.placeholder;return(0,a.jsxs)("div",{className:"md:basis-1/3",children:[("STRING"===e.formDataType||"PICKER"===e.formDataType)&&(0,a.jsx)(V.Z,{name:r,type:"STRING"===e.formDataType?"text":void 0,isSelect:"PICKER"===e.formDataType,label:c,placeholder:d,wrapperClassName:"m-0",inputClassName:"h-[40px] py-0 text-base text-blue placeholder:text-blue",labelClassName:"m-0 text-base md:text-sm",withValidIcon:!0,registerOptions:{validate:(0,A.b0)(A.UE,null==s?void 0:s["reservationDocuments.entry_form_validation_message"])},children:"PICKER"===e.formDataType&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("option",{value:"",children:d}),e.options.map((e,t)=>(0,a.jsx)("option",{value:e.value,children:e.label},t))]})}),"DATE"===e.formDataType&&(0,a.jsx)(P.Z,{onDateSelect:e=>{i(r,(0,U.p6)(e,U.fK.dayMonthYearWithDots),{shouldValidate:!0,shouldDirty:!0}),o(r)},value:l(r)||B,minDate:null,maxDate:"documentIssuanceDate"===e.value?new Date:null,renderInput:()=>(0,a.jsx)(V.Z,{name:r,label:c,placeholder:d,wrapperClassName:"m-0",inputClassName:"h-[40px] py-0 text-base text-blue placeholder:text-blue",labelClassName:"m-0 text-base md:text-sm",withValidIcon:!0,registerOptions:{validate:(0,A.b0)(A.UE,null==s?void 0:s["reservationDocuments.entry_form_validation_message"])},customIcon:(0,a.jsx)(z.Z,{className:"user-data__calendar-icon"}),readOnly:!0})})]},t)})})]})}
1,n))})]},n)),(0,a.jsx)(R.ZP,{variant:"primary",size:"big",onClick:c,children:t.statements.proceedButtonLabel})]})]})}function F(e){let{data:t,setCurrentFormStage:n,isPending:l}=e,{getValues:i}=(0,I.Gc)();return void 0===t?null:(0,a.jsxs)("div",{className:"flex flex-col gap-[12px]","data-component":"EntryDocumentsPreview",children:[(0,a.jsx)("span",{children:t.statements.subtitleAfter}),(0,a.jsxs)("div",{className:"flex flex-col gap-[25px] text-blue",children:[t.reservationParticipants.map((e,n)=>(0,a.jsxs)("div",{className:"flex flex-col gap-[20px]",children:[(0,a.jsxs)("span",{className:"font-bold",children:["Rezerwacja\xa0",e.reservationNumber]}),(0,a.jsx)("div",{className:"flex flex-col gap-[30px]",children:e.participants.map((e,n)=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col gap-[10px]",children:[(0,a.jsxs)("div",{className:"mb-[10px] flex items-center gap-[4px]",children:[(0,a.jsxs)("div",{className:"relative flex shrink-0",children:[(0,a.jsx)(L.Z,{className:"h-[20px] w-[20px] shrink-0"}),(0,a.jsx)("span",{className:"absolute left-1/2 -translate-x-1/2 font-bold text-white",children:n+1})]}),(0,a.jsx)("span",{className:"grow border-b border-solid border-gray-altoLight pb-[3px] font-bold leading-none",children:e.label})]}),(0,a.jsxs)("span",{className:"font-bold",children:[e.firstName,"\xa0",e.lastName,", ur.\xa0",e.birthDate]}),(0,a.jsx)("div",{className:"grid gap-[5px]",children:t.requiredData.map((e,t)=>{var l;let r=i("".concat(n,"-").concat(e.value));return(0,a.jsxs)("div",{className:"md:text-sm",children:[(0,a.jsxs)("span",{children:[e.label,":"]}),"\xa0",(0,a.jsx)("span",{className:"font-bold",children:"PICKER"===e.formDataType?null===(l=e.options.find(e=>e.value===r))||void 0===l?void 0:l.label:r})]},t)})})]})},n))})]},n)),(0,a.jsxs)("div",{className:"flex flex-col gap-[15px] md:flex-row",children:[(0,a.jsx)(R.ZP,{variant:"primary",size:"big",type:"submit",isLoading:l,children:t.statements.sendButtonLabel}),(0,a.jsx)(R.ZP,{variant:"outlinedBlue",size:"big",onClick:function(e){e.preventDefault(),l||n("edit")},isLoading:l,children:t.statements.editButtonLabel})]})]})]})}var $=n(62716),H=n(78261),G=n(5715),K=n(79732),q=n(20852);let Q=(0,q.p)();function W(){let[e,t]=(0,v.useState)(!1),[n,l]=(0,v.useState)("edit"),[a,i]=(0,K.O)("entry-documents-dialog-is-open",!1),[r,o]=(0,K.O)("entry-documents-dialog-submitted",!1),{data:s,mutate:c}=(0,m.RM)(),d=(0,$.VY)(),u=(0,I.cI)({mode:"onChange"}),f=null==s?void 0:s.number,p=a&&void 0!==f,{data:x,isValidating:h}=(0,H.ZP)(p?"".concat(G.config.urls.mytui.reservationDetails,"/").concat(f,"/participants-documents"):null,{onError(){d.error(G.hF),i(!1)}});async function b(n){var l,a,r;let s;if(!e){t(!0);try{let e={allParticipants:null==x?void 0:x.reservationParticipants.map(e=>({reservationNumber:e.reservationNumber,participants:e.participants.map((e,t)=>{let{label:l,...a}=e,i={},r="".concat(t,"-");for(let e of Object.keys(n))e.startsWith(r)&&(i[e.replace(r,"")]=n[e]);return{...a,...i}})}))};if(s=await Q("".concat(G.config.urls.mytui.reservationDetails,"/").concat(f,"/participants-documents"),{method:"POST",body:JSON.stringify(e)}),"SUCCESS"===s.status)await c(),o(!0),d.success(null==x?void 0:null===(l=x.statements)||void 0===l?void 0:l.successMessage),i(!1);else throw Error(s.status)}catch(e){d.error(null!==(r=null==x?void 0:null===(a=x.statements)||void 0===a?void 0:a.failedMessage)&&void 0!==r?r:G.hF)}t(!1)}}return{data:x,isValidating:h,isDialogOpen:a,openDialog:function(){i(!0)},closeDialog:function(){i(!1),l("edit")},currentFormStage:n,setCurrentFormStage:l,formMethods:u,onSubmit:b,isPending:e,isSubmitted:r}}function J(){var e;let{data:t,isValidating:n,isDialogOpen:l,closeDialog:i,currentFormStage:r,setCurrentFormStage:o,formMethods:s,onSubmit:c,isPending:d}=W();return(0,a.jsx)(k.Z,{isOpen:l,onClick:i,onClose:i,className:"mt-0 md:w-full md:max-w-[720px]",dialogTitle:null==t?void 0:null===(e=t.statements)||void 0===e?void 0:e.formTitle,headingClassName:"pl-[10px] md:pl-[15px]",variant:void 0!==t?M.od.withTitle:void 0,children:(0,a.jsxs)("div",{className:"relative min-h-[200px]","data-component":"EntryDocumentsDialog",children:[(0,a.jsx)(I.RV,{...s,children:(0,a.jsxs)("form",{onSubmit:s.handleSubmit(c),noValidate:!0,className:"p-[10px] md:px-[15px]",children:["edit"===r&&(0,a.jsx)(Y,{data:t,setCurrentFormStage:o}),"preview"===r&&(0,a.jsx)(F,{data:t,setCurrentFormStage:o,isPending:d})]})}),(0,a.jsx)(Z.Z,{isLoading:n})]})})}var X=n(21374);let ee=(0,q.p)();function et(){let{isPending:e,isFormVisible:t,setIsFormVisible:n,formMethods:l,onSubmit:i}=function(){let[e,t]=(0,v.useState)(!1),[n,l]=(0,v.useState)(!1),a=(0,m.OJ)(),i=(0,I.cI)({mode:"onChange"}),r=(0,$.VY)(),o=(0,O.uG)();async function s(e){let i;if(!n&&void 0!==a){l(!0);try{var s,c;let t={reservationNumber:a,email:e.email};i=await ee(o?null===(s=G.config.urls.mytui.microserviceSendDocumentsToEmail)||void 0===s?void 0:s.replace("{reservationNumber}",a):G.config.urls.mytui.hybrisSendDocumentsToEmail,{method:"POST",body:JSON.stringify(t)}),"SUCCESS"===i.status?r.success(i.message):r.error(null!==(c=i.message)&&void 0!==c?c:G.hF)}
1catch(e){r.error(G.hF)}l(!1),t(!1)}}return{isPending:n,isFormVisible:e,setIsFormVisible:t,onSubmit:s,formMethods:i}}(),{data:r}=(0,m.RM)(),o=(0,u.z$)("MYTUI_RESERVATION_DOCUMENTS");return r?(0,a.jsxs)("div",{"data-component":"SendToEmail",children:[!t&&(0,a.jsx)(R.ZP,{variant:"link",className:"h-auto w-auto self-start font-bold text-blue-curious",iconClassName:"fill-blue-curious",onClick:()=>n(!0),children:null==o?void 0:o["reservationDocuments.send_to_email_button"]}),t&&(0,a.jsx)(I.RV,{...l,children:(0,a.jsxs)("form",{onSubmit:l.handleSubmit(i),noValidate:!0,className:"flex flex-col gap-[10px]",children:[(0,a.jsx)("span",{className:"text-black",children:null==o?void 0:o["reservationDocuments.send_to_email_info"]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[15px] md:max-w-[360px]",children:[(0,a.jsx)(X.Z,{}),(0,a.jsx)(R.ZP,{variant:"primary",type:"submit",isLoading:e,children:null==o?void 0:o["reservationDocuments.send_to_email_submit_button_label"]})]})]})})]}):null}function en(){var e,t,n,l,i,r,o,s,c,f,p;let v;let{openDialog:x,isSubmitted:h}=W(),{data:g,documentsAvailable:j,participantDocumentsStatus:y}=(0,m.RM)(),N=(0,u.z$)("MYTUI_RESERVATION_DOCUMENTS"),_=(0,u.z$)("MYTUI_TRIP_DOCUMENTS"),w=(0,O.o8)(),D=(0,O.cS)();if(!g||!_||(null===(t=g._embedded)||void 0===t?void 0:null===(e=t.status)||void 0===e?void 0:e.value)==="FINISHED")return null;let T=g.number,E=v=D?j?"/api/www/mytui/api/secured/documents/download/".concat(T):void 0:null===(p=g._embedded)||void 0===p?void 0:null===(f=p.documents)||void 0===f?void 0:null===(c=f._links)||void 0===c?void 0:null===(s=c.travelDocuments)||void 0===s?void 0:s.href;if(w&&v){let e=(0,C.s$)();E="/api/services/tui-reservation/api/reservation/".concat(T,"/download?market=").concat("pl","&language=").concat(e)}let S=null===(l=g._embedded)||void 0===l?void 0:null===(n=l.documents)||void 0===n?void 0:n.initialText,I=null===(r=g._embedded)||void 0===r?void 0:null===(i=r.documents)||void 0===i?void 0:i.text,k=null===(o=g.travelDocumentsStatements)||void 0===o?void 0:o.completeDataText;D&&(S=null==_?void 0:_["tripDocuments.initial_text"],I=j?null==_?void 0:_["tripDocuments.available_text"]:null==_?void 0:_["tripDocuments.unavailable_text"],k=null==_?void 0:_["tripDocuments.complete_data_text"]);let M=("SENT"===y||"NOT_REQUIRED"===y||h)&&void 0!==E;return(0,a.jsxs)(d.Z,{title:null==N?void 0:N["reservationDocuments.travel_documents_box_title"],titleAlignment:"left",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[20px]","data-component":"TravelDocuments",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[10px]",children:[(0,a.jsx)("span",{className:"leading-[25px] text-black",children:S}),(0,a.jsx)("span",{className:"leading-[25px] text-black",children:I}),void 0!==k&&(0,a.jsx)("span",{className:"leading-[25px] text-black",children:k})]}),(0,a.jsxs)("div",{className:"empty:hidden",children:[M&&(0,a.jsx)(b,{url:E,label:null==N?void 0:N["reservationDocuments.travel_documents_link_label"]}),("SENT"===y||"NOT_REQUIRED"===y)&&void 0===E&&(0,a.jsx)(b,{label:function(e,t){var n,l,a,i;let r=null==e?void 0:e["tripDocuments.availability_text"],o=null==t?void 0:null===(i=t._embedded)||void 0===i?void 0:null===(a=i.status)||void 0===a?void 0:null===(l=a._embedded)||void 0===l?void 0:null===(n=l.documents)||void 0===n?void 0:n.label,s=/\d{1,}.\d{1,}\.\d{1,}/.exec(null!=o?o:"");return"".concat(null==r?void 0:r.replace("{{ tripDocumentsAvailabilityDate }}","")," ").concat(null==s?void 0:s[0])}(_,g),isDisabled:!0}),"NOT_SENT"===y&&j&&(0,a.jsx)(b,{onClick:x,label:null==N?void 0:N["reservationDocuments.travel_documents_link_label"]})]}),M&&(0,a.jsx)(et,{})]}),(0,a.jsx)(J,{})]})}var el=n(52315),ea=!0;function ei(e){var t,n,l,d,u,m;let{initialPageData:f,dictionary:p,featureFlags:v,header:x}=e,h=(null===(m=f.template)||void 0===m?void 0:null===(u=m.slots)||void 0===u?void 0:null===(d=u[0])||void 0===d?void 0:null===(l=d.components)||void 0===l?void 0:null===(n=l.find(e=>"MYTUI_RESERVATION_DOCUMENTS"===e.name))||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t["reservationDocuments.mobile_heading"])||"";return(0,a.jsx)(o.Z,{initialPageData:f,fallback:{"cms-dictionary":p,"feature-flags":v,header:x},children:(0,a.jsxs)(el.Z,{isStaticPage:!0,children:[(0,a.jsx)(r.Z,{header:(0,a.jsx)(s.Z,{mobileHeading:h,"data-component":"documents"}
1),withMobileBlueBackground:!0,children:(0,a.jsxs)(c.Z,{children:[(0,a.jsx)(en,{}),(0,a.jsx)(g,{}),(0,a.jsx)(S,{}),(0,a.jsx)(w,{})]})}),(0,a.jsx)(i.Z,{})]})})}},81690:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,l="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,r){if(i===r)return!0;if(i&&r&&"object"==typeof i&&"object"==typeof r){var o,s,c,d;if(i.constructor!==r.constructor)return!1;if(Array.isArray(i)){if((o=i.length)!=r.length)return!1;for(s=o;0!=s--;)if(!e(i[s],r[s]))return!1;return!0}if(n&&i instanceof Map&&r instanceof Map){if(i.size!==r.size)return!1;for(d=i.entries();!(s=d.next()).done;)if(!r.has(s.value[0]))return!1;for(d=i.entries();!(s=d.next()).done;)if(!e(s.value[1],r.get(s.value[0])))return!1;return!0}if(l&&i instanceof Set&&r instanceof Set){if(i.size!==r.size)return!1;for(d=i.entries();!(s=d.next()).done;)if(!r.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(r)){if((o=i.length)!=r.length)return!1;for(s=o;0!=s--;)if(i[s]!==r[s])return!1;return!0}if(i.constructor===RegExp)return i.source===r.source&&i.flags===r.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof r.valueOf)return i.valueOf()===r.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof r.toString)return i.toString()===r.toString();if((o=(c=Object.keys(i)).length)!==Object.keys(r).length)return!1;for(s=o;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,c[s]))return!1;if(t&&i instanceof Element)return!1;for(s=o;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!i.$$typeof)&&!e(i[c[s]],r[c[s]]))return!1;return!0}return i!=i&&r!=r}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}}},function(e){e.O(0,[74357,50895,85772,30035,71143,94090,62716,45749,1552,34971,53907,50062,58563,97044,17314,3806,30054,94467,11783,98654,86242,77696,90872,29233,74439,69725,1358,98442,55243,30840,92888,49774,40179],function(){return e(e.s=65595)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.