PageSourceSearch

https://www.israir.co.il/_next/static/chunks/2409.64caa638f12afa80.js

js israir.co.il collected 2026-09-24 18:59:38 UTC 16,412 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2409,3236,6437,10734,11966,13290,28818,39248,45601,67982,73580,83485],{638:(e,t,a)=>{"use strict";a.d(t,{t:()=>l});var i=a(16026);let l=()=>{let e=(0,i.G)(e=>e.global.airlineCompanyTranslation);return t=>{if(!t||!(Object.keys(e.data).length>0))return{code:"",translation:""};let a=e.data[t];return a?{code:t,translation:a}:{code:t,translation:""}}}},2409:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>p});var i=a(95155);a(12115);var l=a(39248);a(83485);var r=a(89166),s=a(44587),o=a(8154),n=a(16026),c=a(51838),d=a(4662),g=a(98490),u=a(43925),h=a(61354),m=a(97766);let p=function(e){let t,a,p=(0,s.castUtil)(r.q0,e.flight),f=(0,h.S)(),b=(0,n.G)(e=>e.searchEngine.currentSearchModule);(0,n.G)(e=>e.global.cityNameToCityCode);let _=(0,c.A)(),y=(0,g.D)(),D="GDS_PACKAGE"===p.getPackageSystemType();if("searchDomesticPackage"!==b)t=(0,o.A)(y,p,_,"outgoing"),a=(0,o.A)(y,p,_,"return");else{let e=(0,s.typedCastUtil)(m.k,f.legGroups[0].legList[0].legOptionList[0]),i=(0,s.typedCastUtil)(m.k,f.legGroups[0].legList[1].legOptionList[0]);t=(0,u.A)(y,e,_),a=(0,u.A)(y,i,_)}let S="searchDomesticFlight"===b,w="searchFlight"===b||"searchDomesticFlight"===b,C=(e,t)=>{if(w){var a;let i,l;return a=p?.getLegGroups(0)?.getLegList(e)?.getLegOptionList(),i=(t?a?.getAlternateFaresByCabinType(t):void 0)??a?.getAlternateFares(),null!=(l=i?.[0]?.availablePlace)&&l<(S?7:9)?l:void 0}},N=C(0,t?.cabin),R=C(1,a?.cabin);return(0,i.jsx)("div",{className:"order-summary-flight-details-section__rows",children:"searchDomesticPackage"!==b?(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsx)(l.default,{isFlightInfo:!0,isShortDate:!0,isShowPrice:"searchFlight"===b||"searchDomesticFlight"===b,isShowDate:!1,cardObjData:t,direction:d.KB.outboundFlight,trolleyIndicator:t.trolleyIndicator,baggageInformation:t.baggageInformation,clubMemberSeatsLeft:N,isGDS:D}),!p.isOneWayFlight()&&a&&(0,i.jsx)(l.default,{isFlightInfo:!0,isShortDate:!0,isShowPrice:"searchFlight"===b||"searchDomesticFlight"===b,isShowDate:!1,cardObjData:a,direction:d.KB.returnFlight,trolleyIndicator:a.trolleyIndicator,baggageInformation:a.baggageInformation,clubMemberSeatsLeft:R,isGDS:D})]}):(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsx)(l.default,{isFlightInfo:!0,isShortDate:!0,isShowPrice:!1,isShowDate:!1,cardObjData:t,direction:d.KB.outboundFlight,trolleyIndicator:t.trolleyIndicator,baggageInformation:t.baggageInformation,isGDS:D}),a&&(0,i.jsx)(l.default,{isFlightInfo:!0,isShortDate:!0,isShowPrice:!1,isShowDate:!1,cardObjData:a,direction:d.KB.returnFlight,trolleyIndicator:a.trolleyIndicator,baggageInformation:a.baggageInformation,isGDS:D})]})})}},3236:e=>{e.exports={"icon-PersonalZone-Guy":"FlightResultRowSmall_icon-PersonalZone-Guy__Mav6g","icon-message":"FlightResultRowSmall_icon-message__1dcpI","icon-club-stars":"FlightResultRowSmall_icon-club-stars__JuRlg","icon-favorite":"FlightResultRowSmall_icon-favorite__bPKgN","icon-star":"FlightResultRowSmall_icon-star__Zsok0","icon-trolly":"FlightResultRowSmall_icon-trolly__NU2wE","icon-backpack":"FlightResultRowSmall_icon-backpack__uZIMW",container:"FlightResultRowSmall_container__Ju2FM",flightHeader:"FlightResultRowSmall_flightHeader__Lv7TZ",date:"FlightResultRowSmall_date__q2twO",dateDayNumber:"FlightResultRowSmall_dateDayNumber__pK8oN",dateDayName:"FlightResultRowSmall_dateDayName__GaQwI",dateMonthYear:"FlightResultRowSmall_dateMonthYear__u66hB",bottom:"FlightResultRowSmall_bottom__IvYzY",bottomDetailed:"FlightResultRowSmall_bottomDetailed__XD_Tp",cityColumn:"FlightResultRowSmall_cityColumn__qBoM6",cityColumnDetailed:"FlightResultRowSmall_cityColumnDetailed__cs7Dp",airportCode:"FlightResultRowSmall_airportCode__uATIJ",cityName:"FlightResultRowSmall_cityName__duOGb",time:"FlightResultRowSmall_time__hlEbX",cabinPrice:"FlightResultRowSmall_cabinPrice__bhivB",cabinPriceDetailed:"FlightResultRowSmall_cabinPriceDetailed__0iKfS",cabinRow:"FlightResultRowSmall_cabinRow__9lept",cabinIcon:"FlightResultRowSmall_cabinIcon__k4ex3",cabinName:"FlightResultRowSmall_cabinName__QBGQL",priceRow:"FlightResultRowSmall_priceRow__LGgcw",priceValue:"FlightResultRowSmall_priceValue__hP6AT",priceLabel:"FlightResultRowSmall_priceLabel__W7VWv",flightInfo:"FlightResultRowSmall_flightInfo__F4RP2",flightInfoGroup:"FlightResultRowSmall_flightInfoGroup__4WI4D",directFlight:"FlightResultRowSmall_directFlight__0gd8a",baggage_section:"FlightResultRowSmall_baggage_section__eiB9h",carrierDetails:"FlightResultRowSmall_carrierDetails__hnzn8",clubSeats:"FlightResultRowSmall_clubSeats__4oOsu"}},8154:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});
1let i=function(e,t,a,i){if("return"===i&&t.isOneWayFlight())return;let l=t.getMarketingAirline()[i],r=t.getFlightNumbers()[i],s=t.getScheduledDateTime()?.[i],o=t.getAirportCodes()[i],n=e(o?.depAirportsCodes?.[0]??"").translation,c=e(o?.arrAirportsCodes?.[o.arrAirportsCodes.length-1]??"").translation,d=t.isDirectFlights()[i],g=t.getNumberOfAvailableSeats()[i],u=t.getFlightStatusRemarks(a,0)[i],h=t.getCarierAirline()[i],m=+("outgoing"!==i),p=t?.getLegGroups(0)?.getLegList(m)?.getLegOptionList(),f=p?.getDuration(),b=p?.getCabinType()?.[0],_=(b&&p?.getBaggageIndicatorByCabinType(b))??t.getBaggageIndicator()[i],y=(b&&p?.getTrolleyIndicatorByCabinType(b))??t.getTrolleyIndicator()[i],D=t?.getLegGroups(0)?.getLegList(m)?.getLegOptionList()?.getCabinNoteByType(),S=p?.getBaggageAllowances(),w=t.getTotalPassengersAmount(),C=(b?p?.getAverageAmountPerPassengerByCabinType(b,w):void 0)??t?.getLegGroups(0)?.getLegFare(0,m)?.getAverageAmountPerPassenger(w),N=t.getEquipmentType()?.[i],R=t?.getLegGroups(0)?.getLegList(m)?.getLegOptionList(0)?.getStops(),F=t?.getLegGroups(0)?.getLegList(m)?.getLegOptionList(0)?.getTotalDurationWithStops();return{marketingAirline:l,carrier:h,flightNumber:r,scheduledDateTime:s,airportsCodes:o,depCity:n,arrCity:c,isDirectFlight:d,baggageInformation:_,numberOfSeats:g,clientRemark:u,flightDuration:f,trolleyIndicator:y,baggageAllowances:S,cabin:b,cabinNote:D,equipmentType:N??[],pricePerPerson:C?{amount:C.amount,currency:C.currency}:void 0,stops:R,totalDuration:F,flightNoteConfig:p?.legSegmentList?.[0]?.flightNoteConfig}}},10734:e=>{e.exports={"flight-carrier-info":"FlightCarrierInfo_flight-carrier-info__YhTUZ","carrier-entry":"FlightCarrierInfo_carrier-entry__aAbJD","carrier-identity":"FlightCarrierInfo_carrier-identity__Ky_Ca","airline-logo":"FlightCarrierInfo_airline-logo__3dp3B","flight-number":"FlightCarrierInfo_flight-number__Ok5It","operated-by":"FlightCarrierInfo_operated-by__7znPH"}},11966:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>c});var i=a(95155);a(12115);var l=a(10734),r=a.n(l),s=a(32836),o=a(21147),n=a(79557);function c(e){let{carriers:t}=e,a=(0,s.r)(!0),{t:l}=(0,n.useAppTranslation)("SearchResult");return(0,i.jsx)("div",{className:r()["flight-carrier-info"],"data-testid":"flight-carrier-info",children:t.map((e,t)=>(0,i.jsxs)("div",{className:r()["carrier-entry"],"data-testid":"flight-carrier-info-entry","data-carrier-code":e.carrierCode,"data-flight-number":e.flightNumber,"data-index":t,children:[(0,i.jsxs)("div",{className:r()["carrier-identity"],children:[(0,i.jsx)(o.default,{styleCont:r()["airline-logo"],src:a(`common/images/airline/${e.carrierCode}.png`),alt:`Logo ${e.carrierCode}`}),(0,i.jsxs)("span",{className:r()["flight-number"],"data-testid":"flight-carrier-info-flight-number",children:["[",e.flightNumber,"]"]})]}),(0,i.jsxs)("div",{className:r()["operated-by"],"data-testid":"flight-carrier-info-operated-by",children:[l("powered-by")," ",e.operatedBy]})]},t))})}},13290:(e,t,a)=>{"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",[a,i]=e.split(" "),[l,r,s]=a.split("/");return s=s.slice(2,4),"0"===r[0]&&(r=r[1]),"0"===l[0]&&(l=l[1]),{date:l+t+r+t+s,time:i.slice(0,5)}}function l(e){let[t,a]=e.split(" "),[i,l,r]=t.split("/"),[s,o,n]=a.split(":");return new Date(+r,l-1,+i,+s,+o,+n).getTime()}function r(e){let t=e-Date.now();return{days:Math.floor(t/864e5),hours:Math.floor(t/36e5)}}function s(e){let t=new Date,a=t.getDay()+1+"@"+t.getHours()+":"+t.getMinutes();""!==e&&e.match("[1-7]{1};([01]?[0-9]|2[0-3]):[0-5][0-9];[1-7]{1};([01]?[0-9]|2[0-3]):[0-5][0-9]")||(e="6;13:00;1;08:00");let i=e.split(";"),l=+i[0]+"@"+i[1],r=+i[2]+"@"+i[3];return 0>l.localeCompare(r)?a.localeCompare(l)>=0&&0>=a.localeCompare(r):a.localeCompare(l)>=0||0>=a.localeCompare(r)}function o(e){return e?Array.isArray(e)?e.map(e=>n(e)).join(", "):n(e):""}function n(e){let t=Math.floor(e),a=Math.round((e-t)*100);return`${t}:${a.toString().padStart(2,"0")}`}function c(e){return({0:"שני",1:"שלישי",2:"רביעי",3:" חמישי",4:"שישי",5:"שישי",6:"ראשון"})[e.getDay()]}a.r(t),a.d(t,{DateDiffFromNow:()=>r,convertDate:()=>i,convertDateTimestamp:()=>l,convertDayByDate:()=>c,convertTimeDuration:()=>o,isWeekend:()=>s,parseStructuredDate:()=>u});let d={0:"day-sunday",1:"day-monday",2:"day-tuesday",3:"day-wednesday",4:"day-thursday",5:"day-friday",6:"day-saturday"},g={0:"january",1:"february",2:"march",3:"april",4:"may",5:"june",6:"july",7:"august",8:"september",9:"october",10:"november",11:"december"};
1function u(e){let[t,a]=e.split(" "),[i,l,r]=t.split("/"),s=new Date(+r,l-1,+i);return{dayNumber:String(+i),dayKey:d[s.getDay()],monthKey:g[s.getMonth()],year:r,time:a.slice(0,5)}}},39248:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>y});var i=a(95155);a(12115);var l=a(3236),r=a.n(l),s=a(13290),o=a(79557),n=a(4662),c=a(30514),d=a(11966),g=a(638),u=a(98490),h=a(46585),m=a(51838),p=a(10289),f=a(44587),b=a(69354);let _={he:"he-il",en:"en-us"},y=function(e){let{t}=(0,o.useAppTranslation)("SearchResult"),a=(0,g.t)(),l=(0,u.D)(),y=_[(0,m.A)()]||"iw-il",D="detailed"===e.variant,S=e.cardObjData;if(!S)return null;let w=(0,f.typedCastUtil)(h.B,S.flightNoteConfig),C=w&&S.cabin?w.getCabinNote(S.cabin,y):null,N=C?.hideSupplierNotes??!1,R=(0,s.parseStructuredDate)(S.scheduledDateTime.depDateTime[0]),F=S.scheduledDateTime.depDateTime[0]?.split(" ")[1]?.slice(0,5),j=S.scheduledDateTime.arrDateTime[S.scheduledDateTime.arrDateTime.length-1]?.split(" ")[1]?.slice(0,5),I=S.scheduledDateTime.depDateTime?.[0]?.split(" ")[0]?.split("/"),v=I?`${I[0]}.${I[1]}.${I[2]?.slice(2)}`:"",x=S.airportsCodes.depAirportsCodes?.[0]||"",A=S.airportsCodes.arrAirportsCodes?.[S.airportsCodes.arrAirportsCodes.length-1]||"";S.cabin&&c.iconsMap[S.cabin];let L=S.pricePerPerson,T=L?`${n.un[L.currency??"ILS"]}${L.amount}`:void 0,O=S.carrier[0],M=S.carrier.map((e,t)=>({carrierCode:e,flightNumber:`${S.marketingAirline[t]}${S.flightNumber[t]}`,operatedBy:a(e).translation}));return(0,i.jsxs)("div",{"data-testid":"flight-result-row-small","data-direction":e.direction===n.KB.outboundFlight?"outbound":"return","data-variant":e.variant??"default","data-is-gds":!!e.isGDS,"data-cabin":S.cabin??"",children:[(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-container",className:r().container,children:[e.isShortDate&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-header",className:r().flightHeader,children:[(0,i.jsx)("span",{children:t("flight-details")}),(0,i.jsx)("span",{children:v})]}),R&&e.isShowDate&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-date",className:r().date,children:[(0,i.jsxs)("span",{"data-testid":"flight-result-row-small-date-day-name",className:r().dateDayName,children:[t("day")," ",t(R.dayKey)]}),(0,i.jsx)("span",{"data-testid":"flight-result-row-small-date-day-number",className:r().dateDayNumber,children:R.dayNumber}),(0,i.jsxs)("span",{"data-testid":"flight-result-row-small-date-month-year",className:r().dateMonthYear,children:[t(R.monthKey)," ",R.year]})]}),e.isFlightInfo&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-flight-info",className:r().flightInfo,children:[(0,i.jsx)("div",{"data-testid":"flight-result-row-small-stops-info",className:r().flightInfoGroup,children:S.isDirectFlight?(0,i.jsx)("span",{children:t("direct-flight")}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{children:[t("stops")," ",S.stops?.length??0]}),S.stops&&S.stops.length>0&&(0,i.jsxs)("span",{children:["(",S.stops.map(e=>`${l(e.cityCode).translation} ${e.cityCode}`).join(", "),")"]})]})}),S?.totalDuration!==0&&S?.totalDuration&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-duration-info",className:r().flightInfoGroup,children:[(0,i.jsx)("span",{children:(0,s.convertTimeDuration)(S.totalDuration)}),(0,i.jsx)("span",{children:t("flight-hours")})]})]}),(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-bottom",className:`${r().bottom} ${D?r().bottomDetailed:""}`,children:[(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-departure-column",className:`${r().cityColumn} ${D?r().cityColumnDetailed:""}`,children:[(0,i.jsx)("span",{"data-testid":"flight-result-row-small-airport-code",className:r().airportCode,children:x}),(0,i.jsx)("span",{"data-testid":"flight-result-row-small-city-name",className:r().cityName,children:S.depCity}),(0,i.jsx)("span",{"data-testid":"flight-result-row-small-time",className:r().time,children:F})]}),(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-arrival-column",className:`${r().cityColumn} ${D?r().cityColumnDetailed:""}`,children:[(0,i.jsx)("span",{"data-testid":"flight-result-row-small-airport-code",className:r().airportCode,children:A}),(0,i.jsx)("span",{"data-testid":"flight-result-row-small-city-name",className:r().cityName,children:S.arrCity}),(0,i.jsx)("span",{"data-testid":"flight-result-row-small-time",className:r().time,children:j})]}),(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-cabin-price",className:`${r().cabinPrice} ${D?r().cabinPriceDetailed:""}`,children:[S.cabin&&(0,i.jsx)("div",{"data-testid":"flight-result-row-small-cabin-row",className:r().cabinRow,children:(0,i.jsx)("span",{"data-testid":"flight-result-row-small-cabin-name",className:r().cabinName,children:t(S.cabin)})}),D&&O&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-carrier-
1details",className:r().carrierDetails,children:[S.isDirectFlight&&(0,i.jsx)("div",{"data-testid":"flight-result-row-small-direct-flight-indicator",className:r().directFlight,children:(0,i.jsx)("span",{children:t("direct-flight")})}),(0,i.jsx)(d.default,{carriers:M})]}),T&&e.isShowPrice&&(0,i.jsxs)("div",{"data-testid":"flight-result-row-small-price-row",className:r().priceRow,children:[(0,i.jsx)("span",{"data-testid":"flight-result-row-small-price-value",className:r().priceValue,children:(0,b.C7)(T)}),(0,i.jsx)("span",{className:r().priceLabel,children:t("person-only")})]})]})]})]}),!N&&(0,i.jsx)("div",{"data-testid":"flight-result-row-small-baggage-section",className:r().baggage_section,children:(0,i.jsx)(p.default,{allowances:S.baggageAllowances,baggageIndicator:e.baggageInformation,trolleyIndicator:e.trolleyIndicator,iconSet:"small",variant:"large",isGDS:e.isGDS,labelStyle:e.isFlightInfo?"summary":"base"})}),null!=e.clubMemberSeatsLeft&&(0,i.jsx)("div",{"data-testid":"flight-result-row-small-club-seats",className:r().clubSeats,children:0===e.clubMemberSeatsLeft?t("clubMember-seats-sold-out"):t("clubMember-seats-left",{seats:e.clubMemberSeatsLeft})})]})}},43925:(e,t,a)=>{"use strict";function i(e,t,a){let i=t.getMarketingAirlineCodes(),l=t.getFlightNumber(),r=t.getArrScheduledDateTime(),s=t.getDepScheduledDateTime(),o=t.getArrAirportsCode(),n=t.getDepAirportsCode(),c=t.getDepTerminals(),d=t.getArrTerminals(),g=n&&e(n[0]).translation,u=o&&e(o[o.length-1]).translation,h=t.isDirect(),m=t.getBaggageIndicator(),p=t.getSeats(),f=t.getStatusRemarks(a),b=t.getDuration(),_=t.getTrolleyIndicator(),y=t.getBaggageAllowances(),D=t.getCarierAirlineCodes(),S=t.getEquipmentType(),w=t.getStops();return{marketingAirline:i,flightNumber:l,scheduledDateTime:{arrDateTime:r,depDateTime:s},arrCity:u,depCity:g,isDirectFlight:h,baggageInformation:m,numberOfSeats:p,clientRemark:f,airportsCodes:{depAirportsCodes:n,arrAirportsCodes:o,depTerminals:c,arrTerminals:d},flightDuration:b,trolleyIndicator:_,baggageAllowances:y,carrier:D,equipmentType:S,stops:w,totalDuration:t.getTotalDurationWithStops(),flightNoteConfig:t.legSegmentList?.[0]?.flightNoteConfig}}a.d(t,{A:()=>i})},46585:(e,t,a)=>{"use strict";a.d(t,{B:()=>i});class i{getCabinNote(e,t){let a=this.cabins[t];if(a){if("BUSINESS"===e)return a.BUSINESS;
1if("PREMIUM_ECONOMY"===e)return a.PREMIUM_ECONOMY;if("ECONOMY"===e)return a.ECONOMY.ECONOMY;if("ECONOMY_PLUS"===e)return a.ECONOMY.ECONOMY_PLUS}}}},83485:()=>{}}]);

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.