PageSourceSearch

https://justravel.pro/static/js/41.a83931a9.chunk.js

js justravel.pro collected 2026-10-05 21:25:30 UTC 24,031 bytes, 1 lines download raw bytes

1(this.webpackJsonpdsonetech=this.webpackJsonpdsonetech||[]).push([[41],{1155:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M7.85 7.331a469.495 469.495 0 012.358 2.219l.041.04c.105.109.237.245.412.252.197.008 3.043-.034 3.137-.046h.003c.094-.013.243-.032.165-.204-.079-.172-3.788-2.696-4.3-2.996-.073-.043-.135-.082-.19-.116-.323-.2-.39-.241-1.124-.211l-.213.008c-.669.026-.786.03-.887.229-.09.174.093.346.373.61.07.065.145.137.224.215zm10.41 5.919c1.637.007 2.41-.766 2.41-1.35 0-.585-.228-1.193-1.85-1.412-1.082-.146-5.197-.136-12.345.032-.151-.004-.184-.016-.311-.12L5.045 9.258c-.235-.24-.711-.364-1.16-.357-.449.006-.596.25-.56.469.036.22.083.37.14.51l1.166 2.886c.144.323.425.52.796.484l4.408-.023c.144 0 .204.08.204.168-.002.04-.026.116-.15.248a635.858 635.858 0 00-2.713 2.913c-.244.261-.563.605-.537.857.029.286.39.314.63.314.29 0 .464 0 .608.002l.796-.002h.016c.671-.004.804-.005 1.146-.314.254-.23 1.743-1.595 4.468-4.094a.613.613 0 01.293-.066c1.336.007 2.557.006 3.665-.003z"})),"0 0 24 24","Airplane")},1186:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M8.445 12.668a.9.9 0 10-1.303 1.242l2.573 2.745a.9.9 0 001.335-.036l5.591-7.037a.9.9 0 00-1.367-1.17l-4.655 5.913a.4.4 0 01-.607.025l-1.567-1.682zM2 12C2 6.5 6.5 2 12 2s10 4.5 10 10-4.5 10-10 10S2 17.5 2 12z"})),"0 0 24 24","CheckCircle")},1224:function(e,t,n){"use strict";n(1);var i=n(1166),l=n.n(i),c=n(12),a=n(14),r=n(13),s=n(1155),d=n(146),o=n(19),j=n.n(o),u=n(204),b=n.n(u),O=n(9),h=n.n(O),m=n(54),v=n.n(m),g=n(1115),x=n(112),p=n(209),y=n.n(p),_=n(2);t.a=e=>{var t;let{flight:n,direction:o="column"}=e;const{locale:u}=Object(c.useSelector)((e=>e.settings)),O=null===n||void 0===n||null===(t=n.bounds)||void 0===t?void 0:t.map(((e,t)=>{var n;return Object(_.jsxs)(_.Fragment,{children:[1===t?Object(_.jsx)(_.Fragment,{children:"row"!==o&&Object(_.jsxs)(_.Fragment,{children:[Object(_.jsx)(g.Separator,{}),Object(_.jsx)(v.a,{type:"title5",children:Object(_.jsx)(h.a,{tKey:"package.details.trip_flight.return"})})]})}):0===t&&Object(_.jsx)(_.Fragment,{children:"row"!==o&&Object(_.jsxs)(_.Fragment,{children:[Object(_.jsx)(g.Separator,{}),Object(_.jsx)(v.a,{type:"title5",children:Object(_.jsx)(h.a,{tKey:"package.details.trip_flight.outbound"})})]})}),Object(_.jsx)("div",{style:{width:"100%"},children:null===e||void 0===e||null===(n=e.segments)||void 0===n?void 0:n.map(((t,n)=>((e,t,n)=>{var l,c,o,u,O,m,v,g,p,f;return Object(_.jsxs)(_.Fragment,{children:[Object(_.jsxs)(i.ItinerarySegment,{spaceAfter:"medium",noElevation:!0,children:[Object(_.jsx)(i.ItinerarySegmentStop,{city:null===e||void 0===e||null===(l=e.departure_airport)||void 0===l?void 0:l.city,station:null===e||void 0===e||null===(c=e.departure_airport)||void 0===c?void 0:c.name,time:Object(a.m)(null===e||void 0===e?void 0:e.departure_date,"fr",r.wb),date:Object(a.m)(null===e||void 0===e?void 0:e.departure_date,"fr",r.lb)}
1),Object(_.jsx)(i.ItinerarySegmentDetail,{content:[{items:[{icon:Object(_.jsx)(s.a,{size:"small"}),name:Object(_.jsx)(h.a,{tKey:"gds.flight.filter.carrier"}),value:null===e||void 0===e||null===(o=e.operating_carrier)||void 0===o?void 0:o.name},{icon:Object(_.jsx)(d.a,{size:"small"}),name:Object(_.jsx)(h.a,{tKey:"flight.no"}),value:null===e||void 0===e?void 0:e.flight_or_train_number}],title:Object(_.jsx)(h.a,{tKey:"connection.info"})}],duration:"".concat(null===e||void 0===e||null===(u=e.duration)||void 0===u?void 0:u.hours,"h ").concat(null===e||void 0===e||null===(O=e.duration)||void 0===O?void 0:O.minutes,"m"),summary:Object(_.jsx)(j.a,{flex:!0,align:"center",spacing:"XXSmall",children:Object(_.jsx)(b.a,{carriers:[{name:null===e||void 0===e||null===(m=e.operating_carrier)||void 0===m?void 0:m.name,code:null===e||void 0===e||null===(v=e.operating_carrier)||void 0===v?void 0:v.iata}],border:!1,children:null===e||void 0===e||null===(g=e.operating_carrier)||void 0===g?void 0:g.name})})}),Object(_.jsx)(i.ItinerarySegmentStop,{city:null===e||void 0===e||null===(p=e.arrival_airport)||void 0===p?void 0:p.city,station:null===e||void 0===e||null===(f=e.arrival_airport)||void 0===f?void 0:f.name,time:Object(a.m)(null===e||void 0===e?void 0:e.arrival_date,"fr",r.wb),date:Object(a.m)(null===e||void 0===e?void 0:e.arrival_date,"fr",r.lb)})]},t),(null===n||void 0===n?void 0:n.segments.length)-1===t?"":Object(_.jsx)(i.ItineraryBadgeList,{children:Object(_.jsxs)(x.BadgeListItem,{icon:Object(_.jsx)(y.a,{}),children:[Object(_.jsx)(h.a,{tKey:"gds.flight.stop.duration"})," : ",Object(a.w)(n,e,t)]})})]})})(t,n,e)))})]})}));return Object(_.jsx)(_.Fragment,{children:Object(_.jsx)(l.a,{children:Object(_.jsx)(j.a,{desktop:{direction:o,grow:!0,shrink:!0},direction:"column",largeMobile:{direction:"column",grow:!0,shrink:!0},mediumMobile:{direction:"column",grow:!0,shrink:!0},children:O})})})}},1249:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M21.083 17.577c-.583-1.25-2.666-2-5.583-3.084-.583-.166-.918-.25-1.083-.75-.167-.417-.167-.916.165-1.333 1.168-1.25 1.751-3.083 1.751-5.5 0-3.083-2.167-4.5-4.333-4.5-2.167 0-4.334 1.417-4.334 4.583 0 2.417.584 4.25 1.666 5.5.251.416.335.917.168 1.334-.168.416-.5.5-1.083.749-2.917 1.084-5 1.834-5.584 3.084-.5 1.082-.833 2.25-.833 3.5 0 .25.167.417.417.417h19.166c.25 0 .417-.167.417-.417 0-1.25-.334-2.418-.917-3.583z"})),"0 0 24 24","Passenger")},1250:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M9.917 11.99a1.042 1.042 0 10-2.084.001 1.042 1.042 0 002.084 0zM16.167 11.99a1.042 1.042 0 10-2.084.001 1.042 1.042 0 002.084 0zM10.466 15.192a2.514 2.514 0 003.068 0 .832.832 0 111.098 1.25 4.084 4.084 0 01-5.265 0 .833.833 0 011.099-1.25z"}),i.createElement("path",{d:"M19.917 10.717v-.114a8.103 8.103 0 00-7.375-8.175 7.925 7.925 0 00-8.459 7.896v.257a.436.436 0 01-.221.357 2.916 2.916 0 00.657 5.607c.07.009.13.054.157.12a7.918 7.918 0 0014.648 0 .195.195 0 01.157-.12 2.917 2.917 0 00.574-5.638.202.202 0 01-.138-.19zm-.834 4.189h-.312c-.4 0-.745.285-.82.678a4.304 4.304 0 01-1.51 2.75C12.175 21.521 7.26 19.51 6.026 15.5a.833.833 0 00-.797-.588h-.311a1.25 1.25 0 11.017-2.5.823.823 0 00.816-.828v-1.26a6.249 6.249 0 016.113-6.242.177.177 0 00.018.008c.432.092.81.353 1.048.726a1.405 1.405 0 01-.279 1.988c-.464.291-1.074.181-1.407-.255a.834.834 0 10-1.5.727 2.812 2.812 0 002.281 1.381 2.9 2.9 0 002.764-2.237c.09-.427.095-.869.011-1.297a.21.21 0 01.307-.213 6.241 6.241 0 013.144 5.413v1.25a.823.823 0 00.812.833h.004a1.25 1.25 0 11.017 2.499z"})),"0 0 24 24","Child")},1251:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M9.192 12.041a1.104 1.104 0 110-2.208 1.104 1.104 0 010 2.208zM13.464 10.937a1.104 1.104 0 112.209 0 1.104 1.104 0 01-2.209 0zM11.875 15.27c1.105 0 1.975-.487 1.975-1.591 0-1.105-.895-1.122-2-1.122s-2 .017-2 1.122c0 1.104.92 1.592 2.025 1.592z"}),i.createElement("path",{d:"M19.81 7.34a2.61 2.61 0 011.323.602c.396.349.867 1.01.867 2.181 0 .948-.404 1.53-.742 1.85-.456.432-1.02.62-1.467.701v.001a.448.448 0 00-.28.246c-1.661 3.215-4.204 5.301-7.652 6.282l-.064.017-.066.019c-3.247-1.074-5.65-3.123-7.23-6.148-.086-.166-.212-.269-.36-.278-.885-.163-1.813
1-.722-2.064-1.96-.242-1.189.147-1.976.516-2.428.454-.555 1.072-.855 1.64-.982.418-1.048 1.524-3.294 3.636-4.395 1.509-.787 3.022-1.168 4.497-1.138h.006a.673.673 0 00.055 0c.398.011.797.054 1.186.126 3.063.567 5.425 3.02 6.198 5.303zm-.673 3.621c.152.007.654-.033.906-.277.08-.076.186-.218.186-.56 0-.406-.088-.692-.26-.848-.264-.239-.723-.204-.742-.203a.896.896 0 01-.97-.706c-.25-1.255-1.492-3.166-3.5-4.114.028.295.018.63-.06 1.01-.32 1.562-1.54 2.073-2.503 2.073-.16 0-.314-.015-.454-.04a.886.886 0 01.31-1.744c.502.076.808-.14.912-.644.074-.365.046-.65-.085-.846-.147-.222-.427-.339-.576-.381-1.166-.017-2.383.294-3.616.937-2.08 1.084-2.95 3.865-2.96 3.893a.888.888 0 01-.847.628c-.28 0-.687.127-.916.407-.186.228-.236.54-.152.954.131.647.852.61 1.07.583a.892.892 0 01.995.766c.324 2.543 2.754 3.743 2.779 3.755a.895.895 0 01.107.06c1.471.983 3.392.908 3.412.907.021-.001.045-.002.066-.001h.004c.097-.002 1.812-.024 3.52-1.319 2.088-1.583 2.449-3.525 2.452-3.545a.883.883 0 01.922-.745z"}),i.createElement("path",{d:"M4.06 14.35c-.142 4.728 2.321 7.745 7.94 7.745 1.938 0 3.502-.36 4.718-.993-5.873-.258-10.111-2.51-12.659-6.751z"}),i.createElement("path",{d:"M18.107 20.125c1.552-1.45 2.14-3.584 1.893-5.996l-.002-.02c-1.547 2.638-3.721 4.508-6.508 5.6 1.373.285 2.874.424 4.504.417H18.107z"})),"0 0 24 24","Infant")},1277:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M9.696 6.566a2.283 2.283 0 100-4.566 2.283 2.283 0 000 4.566zM18.098 16.794c-.182-1.643-1.552-2.922-3.196-2.922H12.71c-.274 0-.457-.182-.457-.457l-.73-4.84C11.34 7.936 10.7 7.388 9.97 7.48c-.73.183-1.278.822-1.187 1.553l.73 4.749c.183 1.552 1.553 2.74 3.197 2.74h2.192c.274 0 .456.182.456.365l.274 3.835c.092.731.731 1.279 1.462 1.279a1.476 1.476 0 001.278-1.461l-.274-3.745z"}),i.createElement("path",{d:"M9.788 17.8h3.561c.548 0 .913.364.913.912s-.365.914-.913.914H9.788c-1.279 0-2.375-.822-2.649-2.1l-1.461-6.394c-.183-.456.183-1.004.64-1.095.456-.183 1.004.182 1.095.639l1.461 6.393c.092.456.457.73.914.73z"})),"0 0 24 24","Seat")},1278:function(e,t,n){"use strict";n(1);var i=n(1166),l=n.n(i),c=n(12),a=n(14),r=n(13),s=n(1155),d=n(146),o=n(19),j=n.n(o),u=n(204),b=n.n(u),O=n(9),h=n.n(O),m=n(2);t.a=e=>{var t;let{bound:n,direction:o="column"}=e;const{locale:u}=Object(c.useSelector)((e=>e.settings)),O=Object(m.jsx)(j.a,{direction:"column",inline:!0,children:null===n||void 0===n||null===(t=n.segments)||void 0===t?void 0:t.map(((e,t)=>((e,t,n)=>{var l,c,o,O,v,g,x,p,y,_;return Object(m.jsx)(m.Fragment,{children:Object(m.jsxs)(i.ItinerarySegment,{spaceAfter:"medium",noElevation:!0,children:[Object(m.jsx)(i.ItinerarySegmentStop,{city:null===e||void 0===e||null===(l=e.departure_airport)||void 0===l?void 0:l.city,station:null===e||void 0===e||null===(c=e.departure_airport)||void 0===c?void 0:c.name,date:Object(a.m)(null===e||void 0===e?void 0:e.departure_date,u.locale,r.vb),time:Object(a.m)(null===e||void 0===e?void 0:e.departure_date,u.locale,r.lb)}
1),Object(m.jsx)(i.ItinerarySegmentDetail,{content:[{items:[{icon:Object(m.jsx)(s.a,{size:"small"}),name:Object(m.jsx)(h.a,{tKey:"gds.flight.filter.carrier"}),value:null===e||void 0===e||null===(o=e.operating_carrier)||void 0===o?void 0:o.name},{icon:Object(m.jsx)(d.a,{size:"small"}),name:Object(m.jsx)(h.a,{tKey:"flight.no"}),value:null===e||void 0===e?void 0:e.flight_or_train_number}],title:Object(m.jsx)(h.a,{tKey:"connection.info"})}],duration:"".concat(null===e||void 0===e||null===(O=e.duration)||void 0===O?void 0:O.hours,"h ").concat(null===e||void 0===e||null===(v=e.duration)||void 0===v?void 0:v.minutes,"m"),summary:Object(m.jsx)(j.a,{flex:!0,align:"center",spacing:"XXSmall",children:Object(m.jsx)(b.a,{carriers:[{name:null===e||void 0===e||null===(g=e.operating_carrier)||void 0===g?void 0:g.name,code:null===e||void 0===e||null===(x=e.operating_carrier)||void 0===x?void 0:x.iata}],border:!1,children:null===e||void 0===e||null===(p=e.operating_carrier)||void 0===p?void 0:p.name})})}),Object(m.jsx)(i.ItinerarySegmentStop,{city:null===e||void 0===e||null===(y=e.arrival_airport)||void 0===y?void 0:y.city,station:null===e||void 0===e||null===(_=e.arrival_airport)||void 0===_?void 0:_.name,date:Object(a.m)(null===e||void 0===e?void 0:e.arrival_date,u.locale,r.vb),time:Object(a.m)(null===e||void 0===e?void 0:e.arrival_date,u.locale,r.lb)})]},t)})})(e,t)))});return Object(m.jsx)(m.Fragment,{children:Object(m.jsx)(l.a,{children:Object(m.jsx)(j.a,{desktop:{direction:o,grow:!0,shrink:!0},direction:"column",largeMobile:{direction:"column",grow:!0,shrink:!0},mediumMobile:{direction:"column",grow:!0,shrink:!0},children:O})})})}},1310:function(e,t,n){"use strict";var i=n(1),l=n(35);t.a=Object(l.a)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M17.043 8.683a.588.588 0 01.852 0l2.922 2.921c.242.244.242.609 0 .792l-2.922 2.922a.554.554 0 01-.426.182c-.366 0-.609-.243-.609-.609V12.9L3.9 12.9a.9.9 0 01-.893-.787L3 12a.9.9 0 01.9-.9l12.96-.001v-1.99c0-.146.039-.254.117-.353l.066-.073z"})),"0 0 24 24","FlightDirect")},1533:function(e,t,n){"use strict";n(1);var i=n(19),l=n.n(i),c=n(112),a=n.n(c),r=n(1186),s=n(54),d=n.n(s),o=n(9),j=n.n(o),u=n(1078),b=n.n(u),O=n(38),h=n(12),m=n(122),v=n.n(m),g=n(14),x=n(13),p=n(2);t.a=e=>{var t,n,i,s,o,y,_;let{flight:f,reservationType:C}=e;const{locale:S,preferredCurrency:q,primaryCurrency:K,isClientPricing:E}=Object(h.useSelector)((e=>e.settings)),w=Object(h.useSelector)((e=>e.auth)),z=null===w||void 0===w||null===(t=w.authUser)||void 0===t||null===(n=t.agency)||void 0===n||null===(i=n.preferences)||void 0===i?void 0:i.flight_profit_margin,B=null===w||void 0===w||null===(s=w.authUser)||void 0===s||null===(o=s.agency)||void 0===o||null===(y=o.preferences)||void 0===y?void 0:y.flight_margin_type,M=Object(g.t)(x.w,x.kb),T=null===w||void 0===w||null===(_=w.authUser)||void 0===_?void 0:_.agency;return Object(p.jsxs)(l.a,{spaceAfter:"medium",children:[Object(p.jsx)(a.a,{children:Object(p.jsx)(c.BadgeListItem,{icon:Object(p.jsx)(r.a,{}),type:"info",children:Object(p.jsx)(d.a,{type:"title3",children:Object(p.jsx)(j.a,{tKey:"gds.flight.details.pricing_table"})})})}),Object(p.jsx)(v.a,{children:Object(p.jsx)(m.CardSection,{loading:!1,children:Object(p.jsxs)(b.a,{children:[Object(p.jsxs)(u.TableRow,{children:[Object(p.jsx)(u.TableCell,{as:"th",scope:"col"}),Object(p.jsx)(u.TableCell,{as:"th",scope:"col",children:Object(p.jsx)(j.a,{tKey:"gds.flight.details.pricing_table.economy"})}),Object(p.jsx)(u.TableCell,{as:"th",scope:"col",children:Object(p.jsx)(j.a,{tKey:"gds.flight.details.pricing_table.business"})}),Object(p.jsx)(u.TableCell,{as:"th",scope:"col",children:Object(p.jsx)(j.a,{tKey:"gds.flight.details.pricing_table.first"})})]}),Object(p.jsxs)(u.TableBody,{children:[Object(p.jsxs)(u.TableRow,{children:[Object(p.jsx)(u.TableCell,{children:Object(p.jsx)(j.a,{tKey:"gds.flight.passenger.type.adult"})}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.s,T,x.Y,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.r,T,x.Y,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.t,T,x.Y,C),z,B,E)})]}),Object(p.jsxs)(u.TableRow,{children:[Object(p.jsx)(u.TableCell,{children:Object(p.jsx)(j.a,{tKey:"gds.flight.passenger.type.child"})}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.s,T,x.Z,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.r,T,x.Z,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.h)(f,M,x.t,T,x.Z,C),z,B,E)})]}),Object(p.jsxs)(u.TableRow,{children:[Object(p.jsx)(u.TableCell,{children:Object(p.jsx)(j.a,{tKey:"gds.flight.passenger.type.infant"})}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.i)(f,M,T,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.i)(f,M,T,C),z,B,E)}),Object(p.jsx)(u.TableCell,{children:Object(O.e)(S,K,q,Object(O.i)(f,M,T,C),z,B,E)})]})]})]})})})]})}},1534:function(e,t,n){"use strict";var i=n(19),l=n.n(i),c=n(1186),a=n(1249),r=n(1250),s=n(1251),d=n(54),o=n.n(d),j=n(9),u=n.n(j),b=n(29),O=n.n(b),h=n(1145),m=n.n(h),v=(n(1),n(122)),g=n.n(v),x=n(112),p=n.n(x),y=n(95),_=n(2);t.a=e=>{let{form:t,isLoading:n}=e;return Object(_.jsxs)(l.a,{spaceAfter:"normal",children:[Object(_.jsx)(l.a,{spaceAfter:"medium",children:Object(_.jsx)(p.a,{children:Object(_.jsx)(x.BadgeListItem,{icon:Object(_.jsx)(c.a,{}),type:"info",children:Object(_.jsx)(o.a,{type:"title3",children:Object(_.jsx)(u.a,{tKey:"gds.flight.details.set_passengers"})})})})}),Object(_.jsx)(g.a,{loading:n,children:Object(_.jsx)(v.CardSection,{children:Object(_.jsxs)(l.a,{children:[Object(_.jsxs)(l.a,{align:"center",children:[Object(_.jsx)(a.a,{customColor:"#5F738C"}
1),Object(_.jsxs)(l.a,{spacing:"none",children:[Object(_.jsx)(o.a,{type:"title4",children:Object(_.jsx)(u.a,{tKey:"adult"})}),Object(_.jsx)(O.a,{type:"secondary",children:Object(_.jsx)(u.a,{tKey:"over_11"})})]}),Object(_.jsx)(m.a,{defaultValue:t.values.adult_quantity,maxValue:9,minValue:1,value:t.adult_quantity,onChange:e=>t.setFieldValue("adult_quantity",e),onBlur:t.handleBlur,error:Object(y.e)(t.errors,"adult_quantity")&&Object(y.e)(t.touched,"adult_quantity")?Object(y.e)(t.errors,"adult_quantity"):null})]}),Object(_.jsxs)(l.a,{align:"center",children:[Object(_.jsx)(r.a,{}),Object(_.jsxs)(l.a,{spacing:"none",children:[Object(_.jsx)(o.a,{type:"title4",children:Object(_.jsx)(u.a,{tKey:"child"})}),Object(_.jsx)(O.a,{type:"secondary",children:Object(_.jsx)(u.a,{tKey:"2_11"})})]}),Object(_.jsx)(m.a,{defaultValue:t.values.children_quantity,maxValue:9,minValue:0,value:t.children_quantity,onChange:e=>t.setFieldValue("children_quantity",e),onBlur:t.handleBlur,error:Object(y.e)(t.errors,"children_quantity")&&Object(y.e)(t.touched,"children_quantity")?Object(y.e)(t.errors,"children_quantity"):null})]}),Object(_.jsxs)(l.a,{align:"center",children:[Object(_.jsx)(s.a,{}),Object(_.jsxs)(l.a,{spacing:"none",children:[Object(_.jsx)(o.a,{type:"title4",children:Object(_.jsx)(u.a,{tKey:"infant"})}),Object(_.jsx)(O.a,{type:"secondary",children:Object(_.jsx)(u.a,{tKey:"under_2"})})]}),Object(_.jsx)(m.a,{defaultValue:t.values.infant_quantity,maxValue:9,minValue:0,value:t.infant_quantity,onChange:e=>t.setFieldValue("infant_quantity",e),onBlur:t.handleBlur,error:Object(y.e)(t.errors,"infant_quantity")&&Object(y.e)(t.touched,"infant_quantity")?Object(y.e)(t.errors,"infant_quantity"):null})]})]})})})]})}},1535:function(e,t,n){"use strict";var i=n(19),l=n.n(i),c=n(1186),a=n(1277),r=n(54),s=n.n(r),d=n(9),o=n.n(d),j=n(29),u=n.n(j),b=(n(1),n(122)),O=n.n(b),h=n(112),m=n.n(h),v=n(95),g=n(48),x=n.n(g),p=n(2);t.a=e=>{let{form:t,isLoading:n,flight:i}=e;return Object(p.jsxs)(l.a,{spaceAfter:"normal",children:[Object(p.jsx)(l.a,{spaceAfter:"medium",children:Object(p.jsx)(m.a,{children:Object(p.jsx)(h.BadgeListItem,{icon:Object(p.jsx)(c.a,{}),type:"info",children:Object(p.jsx)(s.a,{type:"title3",children:Object(p.jsx)(o.a,{tKey:"gds.flight.checkout.group.set_cabin_classes"})})})})}),Object(p.jsx)(O.a,{children:Object(p.jsx)(b.CardSection,{children:Object(p.jsxs)(l.a,{children:[Object(p.jsxs)(l.a,{align:"center",children:[Object(p.jsx)(a.a,{}),Object(p.jsx)(l.a,{spacing:"none",children:Object(p.jsx)(u.a,{type:"title4",weight:"bold",children:Object(p.jsx)(o.a,{tKey:"gds.flight.cabin_class.Economy"})})}),Object(p.jsx)(x.a,{name:"cabin_classes.economy",type:"number",value:t.values.cabin_classes.economy,inputMode:"numeric",minLength:1,minValue:1,onChange:t.handleChange,onBlur:t.handleBlur,error:Object(v.e)(t.errors,"cabin_classes.economy")&&Object(v.e)(t.touched,"cabin_classes.economy")?Object(v.e)(t.errors,"cabin_classes.economy"):null})]}),Object(p.jsxs)(l.a,{align:"center",children:[Object(p.jsx)(a.a,{}),Object(p.jsx)(l.a,{spacing:"none",children:Object(p.jsx)(u.a,{type:"title4",weight:"bold",children:Object(p.jsx)(o.a,{tKey:"gds.flight.cabin_class.Business"})})}),Object(p.jsx)(x.a,{name:"cabin_classes.business",type:"number",value:t.values.cabin_classes.business,inputMode:"numeric",minLength:1,minValue:1,onChange:t.handleChange,onBlur:t.handleBlur,error:Object(v.e)(t.errors,"cabin_classes.business")&&Object(v.e)(t.touched,"cabin_classes.business")?Object(v.e)(t.errors,"cabin_classes.business"):null})]})]})})})]})}},2074:function(e,t,n){"use strict";n.r(t);var i=n(1),l=n(12),c=n(49),a=n(150),r=n(267),s=n.n(r),d=n(122),o=n.n(d),j=n(9),u=n.n(j),b=n(52),O=n.n(b),h=n(54),m=n.n(h),v=n(123),g=n(8),x=n(269),p=n(14),y=n(36),_=(n(1224),n(1533)),f=n(1310),C=n(1186),S=n(1534),q=n(95),K=n(41),E=n(46),w=n(11),z=n(13),B=n(57),M=n.n(B),T=n(1535),k=n(44),F=n.n(k),L=n(1278),V=n(112),I=n.n(V),A=n(29),D=n.n(A),R=n(2);t.default=Object(v.a)((()=>{var e,t,n,j,b;const h=F()(),[v,g]=Object(i.useState)(!1),B=Object(l.useDispatch)(),k=Object(p.t)("gds_selected_flight",null),A=Object(p.t)("gds_selected_bound",null),X=Object(p.t)("gds_reservation_type",null),H=Object(l.useSelector)((e=>e.common)),U=Object(l.useSelector)((e=>e.gds.gdsBoundSelected)),Y=Object(l.useSelector)((e=>e.common.fieldsErrors)),{locale:Z}=Object(l.useSelector)((e=>e.settings)),J=K.e({flight_id:K.f().required("Select a valid flight"),bound_id:K.f().required("Select a valid Bound"),adult_quantity:K.d().min(1).required("Enter valid adult number min 1"),children_quantity:K.d().min(0).required("Enter valid adult number min 1"),infant_quantity:K.d().min(0).required("Enter valid adult number min 1"),total_passengers:K.d().min(9,"Minimum atleast 0").test("min","Total passengers not enough for group",(function(e){const{adult_quantity:t,children_quantity:n,cabin_classes:i}=this.parent;if(X===z.o){return i.economy+i.business+i.first>9}return t+n<=9}))}),P=Object(q.f)({initialValues:{flight_id:k,bound_id:A,destination_type:h("gds.destination_type.".concat(Object(p.t)(z.w,null))),adult_quantity:1,children_quantity:0,infant_quantity:0,reservation_type:X,total_passengers:0,cabin_classes:{economy:0,business:0,first:0}},validationSchema:J,onSubmit:e=>{const t=Object(p.j)(e,null,"");e.reservation_type===z.o?B(Object(y.u)(t,g,N)):B(Object(y.b)(t,g,G))}}),G=e=>{Object(p.B)("gds_selected_flight",null),Object(p.B)("gds_reservation_type",null),Object(p.B)("gds_selected_bound",null),B(Object(E.d)("".concat(w.B,"/").concat(e)))},N=e=>{console.log("redirect to gds bookings with data.id")};Object(i.useEffect)((()=>{B(Object(y.C)(A))}),[k,A]);const Q=H.loading?Object(R.jsx)(c.a,{justify:"center",align:"center",children:Object(R.jsx)(a.b,{})}):U?Object(R.jsxs)(s.a,{type:"Booking",children:[Object(R.jsx)(r.LayoutColumn,{children:Object(R.jsxs)(c.a,{direction:"row",align:"center",children:[Object(R.jsxs)(m.a,{type:"displaySubtitle",children:["".concat(null===U||void 0===U||null===(e=U.departure_airport)||void 0===e?void 0:e.city," (").concat(null===U||void 0===U||null===(t=U.departure_airport)||void 0===t?void 0:t.iata,") "),Object(R.jsx)(f.a,{})," ".concat(null===U||void 0===U||null===(n=U.arrival_airport)||void 0===n?void 0:n.city," (").concat(null===U||void 0===U||null===(j=U.arrival_airport)||void 0===j?void 0:j.iata,")")]}),Object(R.jsx)(I.a,{children:Object(R.jsx)(V.BadgeListItem,{icon:Object(R.jsx)(C.a,{}),type:"warning",children:Object(R.jsxs)(D.a,{type:"attention",weight:"bold",children:[Object(p.m)(null===U||void 0===U?void 0:U.departure_date,Z.locale,z.zb)," ",Object(p.m)(null===U||void 0===U?void 0:U.departure_date,Z.locale,z.lb)]})})})]})}),Object(R.jsxs)(r.LayoutColumn,{children:[Object(R.jsx)(_.a,{flight:null===U||void 0===U?void 0:U.flight,reservationType:X}),Object(R.jsx)(q.d,{value:P,children:Object(R.jsxs)("form",{onSubmit:P.handleSubmit,children:[X===z.o?Object(R.jsx)(T.a,{form:P,isLoading:v}):Object(R.jsx)(S.a,{form:P,isLoading:v}),(null===P||void 0===P||null===(b=P.errors)||void 0===b?void 0:b.total_passengers)&&Object(R.jsx)(M.a,{type:"critical",spaceAfter:"medium",icon:!0,children:Object(R.jsx)(u.a,{tKey:X===z.o?"gds.flight.checkout.group_type.min.error":"gds.flight.checkout.single_type.max.error"})}),(null===Y||void 0===Y?void 0:Y.adult_quantity)&&Object(R.jsx)(M.a,{type:"critical",spaceAfter:"medium",icon:!0,children:null===Y||void 0===Y?void 0:Y.adult_quantity}),Object(R.jsx)(c.a,{desktop:{justify:"end"},children:Object(R.jsx)(O.a,{type:"primary",onClick:P.handleSubmit,loading:v,children:Object(R.jsx)(u.a,{tKey:"gds.flight.checkout"})})})]})})]}),Object(R.jsx)(r.LayoutColumn,{children:Object(R.jsx)(o.a,{title:Object(R.jsx)(u.a,{tKey:"gds.flight.trip_summary"}),children:Object(R.jsx)(d.CardSection,{children:Object(R.jsx)(L.a,{bound:U})})})})]}):Object(R.jsx)(x.a,{});return Object(R.jsx)(R.Fragment,{children:Q})}),g.a)}}]);

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.