PageSourceSearch

https://flugboerse.de/chunk-CWSDML62.js

js flugboerse.de collected 2026-09-26 07:30:06 UTC 11,858 bytes, 2 lines download raw bytes

1import{ya as m}from"./chunk-MJVFGSUM.js";import{g as T}from"./chunk-WCABR6TI.js";var t=T(m()),o=class{realparams;partner;limit=5;constructor(i,e,p){this.partner=i,this.realparams=p,this.limit=e}getFilter(i){let e={currency:this.partner.partnercurrency,language:"de",authKey:this.partner.peakwork?.apikey,display:{pricesByPax:!0,priceType:"PER_PERSON",localTime:!1,additionalFlightInfo:!0,productCount:!0,ratings:!1,giataFacts:!0},travelPeriod:{departureDate:"2025-04-10",returnDate:"2025-04-30",durations:[7]},persons:[{age:30,refId:1},{age:30,refId:2}],paging:{sortingOrder:{order:"PRICE_ASC",index:1}}};if(i==="region")switch(delete e.paging,this.realparams.sortBy){case"regionName":case"hotelName":e.sortingOrder='"NAME_ASC';break;default:e.sortingOrder="PRICE_ASC";break}if(this.realparams.pauschalreiseResult)if(this.realparams.pauschalreiseResult.type===1)if(String(this.realparams.pauschalreiseResult.data?.code).includes("_")){let a=String(this.realparams.pauschalreiseResult.data?.code).split("_");e.hotel={accomodationCodes:[a[1]]}}else e.hotel={references:{giataIds:[Number(this.realparams.pauschalreiseResult.data?.code)]}};else this.realparams.pauschalreiseResult.type===2?e.location={cityCodes:[Number(this.realparams.pauschalreiseResult.data?.code)]}:this.realparams.pauschalreiseResult.type===3?e.location={regionCodes:[Number(this.realparams.pauschalreiseResult.data?.code)]}:this.realparams.pauschalreiseResult.type===4&&(e.location={countryCodes:[this.realparams.pauschalreiseResult.data?.code]});if(this.realparams.reisezeitraumResult.start&&this.realparams.reisezeitraumResult.end)isNaN(Number(this.realparams?.reisezeitraumResult?.start))?(this.realparams.reisezeitraumResult.start=(0,t.default)(this.realparams.reisezeitraumResult.start).format("YYYY-MM-DD"),this.realparams.reisezeitraumResult.end=(0,t.default)(this.realparams.reisezeitraumResult.end).format("YYYY-MM-DD")):(this.realparams.reisezeitraumResult.start=(0,t.default)().add(Number(this.realparams.reisezeitraumResult.start),"days").format("YYYY-MM-DD"),this.realparams.reisezeitraumResult.end=(0,t.default)().add(Number(this.realparams.reisezeitraumResult.end),"days").format("YYYY-MM-DD")),e.travelPeriod={departureDate:(0,t.default)(new Date(this.realparams.reisezeitraumResult.start)).format("YYYY-MM-DD"),returnDate:(0,t.default)(new Date(this.realparams.reisezeitraumResult.end)).format("YYYY-MM-DD")};else if(Number(this.realparams.reiseMonth)>=0){let a=(0,t.default)().year(),r="",l="";(0,t.default)().month()>Number(this.realparams.reiseMonth)?(a+=1,r=(0,t.default)().set({date:1,month:Number(this.realparams.reiseMonth),year:a}).format("YYYY-MM-DD"),l=(0,t.default)(r).add(60,"days").format("YYYY-MM-DD")):(0,t.default)().month()===Number(this.realparams.reiseMonth)?(r=(0,t.default)().format("YYYY-MM-DD"),l=(0,t.default)(r).add(60,"days").format("YYYY-MM-DD")):(r=(0,t.default)().set({date:1,month:Number(this.realparams.reiseMonth),year:a}).format("YYYY-MM-DD"),l=(0,t.default)(r).add(60,"days").format("YYYY-MM-DD")),e.travelPeriod={departureDate:r,returnDate:l}}if(e.travelPeriod.durations=[],Number(this.realparams?.reisezeitraumResult?.minDuration)===-1)e.travelPeriod.durations.push(t.default.duration((0,t.default)(this.realparams?.reisezeitraumResult?.end).diff(this.realparams?.reisezeitraumResult?.start)).asDays());else for(let a=Number(this.realparams.reisedauerResult.minDuration);a<=Number(this.realparams.reisedauerResult.maxDuration);a++)e.travelPeriod.durations.push(a);i==="region"?e.limitDepth=this.limit:e.paging.perPage=this.limit,Number(this.realparams.minCategory)>0&&(e.hotel?e.hotel.category=Number(this.realparams.minCategory):e.hotel={category:Number(this.realparams.minCategory)}),this.realparams.maxPricePerPerson?e.maxPrice=Number(this.realparams.maxPricePerPerson):e.maxPrice=null,this.realparams.minPricePerPerson?e.minPrice=Number(this.realparams.minPricePerPerson):e.minPrice=null,Number(this.realparams?.giataIdList)>0&&(e.hotel?e.hotel.references?e.hotel.references.giataIds?e.hotel.references.giataIds.indexOf(Number(this.realparams?.giataIdList))<0&&e.hotel.references.giataIds.push(Number(this.realparams?.giataIdList)):e.hotel.references.giataIds=[Number(this.realparams?.giataIdList)]:e.hotel.references={giataIds:[Number(this.realparams?.giataIdList)]}:e.hotel={references:{giataIds:[Number(this.realparams?.giataIdList)]}}),this.realparams.flight?.stopover?.length>0?e.transport?e.transport.stopOver=Number(this.realparams.flight.stopover):e.transport={stopOver:Number(this.realparams.flight.stopover)}:this.realparams.flight?.directness==="N"&&(e.transport?e.transport.stopOver=0:e.transport={stopOver:0});let p=[];for(let a=0;a<this.realparams.airportsResult?.length;a++)p.push(this.realparams.airportsResult[a].code);p.length>0?e.transport?e.transport.departureAirports={values:p}:e.transport={departureAirports:{values:p}}:e?.transport?.departureAirports&&delete e.transport.departureAirports;let u=[];for(let a=0;a<this.realparams.flightCarrierList?.length;a++)u.push(this.realparams.flightCarrierList[a].code);
1if(u.length>0?e.transport?e.transport.airlines={values:u}:e.transport={airlines:{values:u}}:e?.transport?.airlines&&delete e.transport.airlines,e?.transport&&(e.transport.transportType="FLIGHT"),this.realparams.hotelChainList?.length>0&&(e.hotel?e.hotel.chain=this.realparams.hotelChainList[0].code:e.hotel={chain:this.realparams.hotelChainList[0].code}),this.realparams.reisendeResult){e.persons=[];let a=0;for(let r=0;r<this.realparams.reisendeResult.adults;r++)a++,e.persons.push({age:30,refId:a});for(let r=0;r<this.realparams.reisendeResult.children?.length;r++)a++,e.persons.push({age:this.realparams.reisendeResult.children[r].age,refId:a})}if(this.realparams.boardTypeList?.length>0){let a=[];for(let r=0;r<this.realparams.boardTypeList.length;r++)this.realparams.boardTypeList[r].code==="OV"&&(a.push("GT06-AO"),a.push("GT06-XX")),this.realparams.boardTypeList[r].code==="UF"&&a.push("GT06-BB"),this.realparams.boardTypeList[r].code==="HP"&&a.push("GT06-HB"),this.realparams.boardTypeList[r].code==="VP"&&a.push("GT06-HBP"),this.realparams.boardTypeList[r].code==="AI"&&a.push("GT06-AI");e.hotel?e.hotel.rooms?.length>0?e.hotel.rooms[0].boardTypes=a:e.hotel.rooms=[{boardTypes:a}]:e.hotel={rooms:[{boardTypes:a}]}}if(this.realparams.roomTypeList?.length>0){let a=[];for(let r=0;r<this.realparams.roomTypeList.length;r++)this.realparams.roomTypeList[r].code==="DZ"&&a.push("ST04-DO"),this.realparams.roomTypeList[r].code==="AP"&&a.push("ST04-AP"),this.realparams.roomTypeList[r].code==="DX"&&a.push("AT04-DPSU"),this.realparams.roomTypeList[r].code==="EZ"&&a.push("ST04-SI"),this.realparams.roomTypeList[r].code==="VI"&&a.push("ST04-VI"),this.realparams.roomTypeList[r].code==="FZ"&&a.push("ST04-FA"),this.realparams.roomTypeList[r].code==="SU"&&(a.push("T04-SU"),a.push("ST04-JS"));e.hotel?e.hotel.rooms?.length>0?e.hotel.rooms[0].types={values:a}:e.hotel.rooms=[{types:{values:a}}]:e.hotel={rooms:[{types:{values:a}}]}}let h=[];this.realparams.zommermitmeerblick&&h.push("GT13-SEVI"),this.realparams.meerseite&&h.push("AT13-SIDE"),h?.length>0&&(e.hotel?e.hotel.rooms?.length>0?e.hotel.rooms[0].views={values:h}:e.hotel.rooms=[{views:{values:h}}]:e.hotel={rooms:[{views:{values:h}}]}),e.transfer=!1,this.realparams?.transferlist?.length>0&&this.realparams?.transferlist?.indexOf("MT")>=0&&(e.transfer=!0);let s=[];for(let a=0;a<this.realparams?.keywordList?.length;a++)switch(this.realparams.keywordList[a].code){case"bea":s.push("ST03-DIRE");break;case"fcp":s.push("GT03-CHPO");break;case"wdt":s.push("ST03-DICU"),s.push("ST03-SCCU");break;case"ipl":s.push("ST03-INSW");break;case"pol":s.push("GT03-POOL");break;case"wsl":s.push("GT03-WASL");break;case"fbs":s.push("GT03-BASE"),s.push("GT03-FAMI");break;case"ecc":s.push("GT03-CHIL"),s.push("ST02-CL");break;case"rcb":s.push("GT05-CHBE");break;case"chf":s.push("GT03-FAMI");break;case"emc":s.push("GT03-FAMI"),s.push("GT03-KICL");break;case"fpg":s.push("GT03-CHPL");break;case"eec":s.push("ST19-CHEN");break;case"fpr":s.push("GT03-CHPA");break;case"wms":s.push("GT05-WHJA"),s.push("ST03-ABMA"),s.push("ST03-CETR"),s.push("ST03-CUGL"),s.push("ST03-FBMA"),s.push("ST03-FORE"),s.push("ST03-HESP"),s.push("ST03-HYMA"),s.push("ST03-JESH"),s.push("ST03-LATH"),s.push("ST03-LOMA"),s.push("ST03-LYDR"),s.push("ST03-PBMA"),s.push("ST03-SHIA"),s.push("ST03-THMA"),s.push("ST03-TUBA"),s.push("ST03-TUMA"),s.push("ST03-VINO"),s.push("ST03-VISH"),s.push("ST03-WHJA");break;case"wap":s.push("ST08-TRCH"),s.push("GT03-TRCH"),s.push("ST03-ACUP"),s.push("ST03-ACUR"),s.push("ST03-TUMA");break;case"way":s.push("ST08-AYUR"),s.push("GT03-AYUR");break;case"wbf":s.push("ST03-BECE");break;case"wsn":s.push("GT05-SAUN"),s.push("ST03-BANY"),s.push("ST03-BISA"),s.push("ST03-COLI"),s.push("ST03-EUSA"),s.push("ST03-FISA"),s.push("ST03-HEBA"),s.push("ST03-HESP"),s.push("ST03-INSA"),s.push("ST03-SAGR"),s.push("ST03-SOST"),s.push("ST03-WAAI");break;case"wth":s.push("ST03-THAG"),s.push("ST03-THAL");break;case"wel":s.push("GT05-SAUN"),s.push("GT05-PRPO"),s.push("GT05-POOL"),s.push("GT05-WHJA"),s.push("ST03-ABMA"),s.push("ST03-ACUP"),s.push("ST03-ACUR"),s.push("ST03-ANAG"),s.push("ST03-AROM"),s.push("ST03-AUTR"),s.push("ST03-BAEX"),s.push("ST03-BALN"),s.push("ST03-BANY"),s.push("ST03-BECE"),s.push("ST03-BISA"),s.push("ST03-BRTH"),s.push("ST03-CETR"),s.push("ST03-CHMA"),s.push("ST03-CHYA"),s.push("ST03-CLBA"),s.push("ST03-COLI"),s.push("ST03-CUGL"),s.push("ST03-DRCU"),s.push("ST03-ELEC"),s.push("ST03-EUSA"),s.push("ST03-EVPR"),s.push("ST03-EXFO"),s.push("ST03-EXSH"),s.push("ST03-FACI"),s.push("ST03-FACU"),s.push("ST03-FANG"),s.push("ST03-FISA"),s.push("ST03-FLLI"),s.push("ST03-FORE"),s.push("ST03-HABA"),s.push("ST03-HEBA"),s.push("ST03-HESP"),s.push("ST03-HOSP"),s.push("ST03-HYMA"),s.push("ST03-IRBA"),s.push("ST03-JESH"),s.push("ST03-KNCU"),s.push("ST03-LATH"),s.push("ST03-LOMA"),s.push("ST03-LYDR"),s.push("ST03-MANI"),s.push("ST03-MEBA"),s.push("ST03-OXTH");break;case"ani":s.push("ST02-CL"),s.push("ST03-CHEN"),s.push("ST03-DAEN"),s.push("ST03-ENAD"),s.push("ST03-ENYO"),s.push("ST03-EVEN"),s.push("ST03-SPEN");break;case"sae":s.push("ST08-AERO"),s.push("GT03-AERO"),s.push("ST03-TABO");break;case"sbs":s.push("GT08-GOLF"),s.push("GT03-BASK"),s.push("GT03-GOLF"),s.push("ST03-BEBS"),s.push("ST03-GOLF");break;case"shb":s.push("ST08-HIKI"),s.push("GT03-HIAR"),s.push("GT03-HIKI"),s.push("GT03-NATU"),s.push("ST02-CE"),s.push("ST03-MOH"),s.push("ST08-MOBI"),s.push("ST03-BMDO"),s.push("ST03-MOBI");break;case"sdv":s.push("GT08-DIVI"),s.push("ST08-DISA"),s.push("GT03-DIVI");break;case"sfr":s.push("ST03-FIRO"),s.push("ST03-STTR");break;case"sgl":s.push("ST03-09HO"),s.push("ST03-18HO"),s.push("ST03-27HO"),s.push("ST03-GOCO"),s.push("ST03-GOLF"),s.push("ST03-HARE"),s.push("ST03-LE18"),s.push("ST03-MI18"),s.push("ST03-SHCO"),s.push("GT12-GEMA"),s.push("GT12-GRIS"),s.push("GT13-GOSI"),s.push("GT13-GOVI");break;case"srd":s.push("ST08-HORI"),s.push("GT03-HORI");break;case"stn":s.push("ST03-TENN");break;case"sws":s.push("ST19-BOAT"),s.push("ST08-KITE"),s.push("ST08-ROWI"),s.push("ST08-SAIL"),s.push("ST08-SURF"),s.push("ST08-WIND"),s.push("GT03-BABO"),s.push("GT03-CANO"),s.push("GT03-CATA"),s.push("GT03-DIVI"),s.push("GT03-DIWS"),s.push("GT03-FISH"),s.push("GT03-KAYA"),s.push("GT03-KITE"),s.push("GT03-PEBO"),s.push("GT03-RAFT"),s.push("GT03-ROWI"),s.push("GT03-SAIL"),s.push("GT03-SNOR"),s.push("GT03-SURF"),s.push("GT03-WAPO"),s.push("GT03-WASP"),s.push("GT03-WATE"),s.push("GT03-WIND"),s.push("ST03-PADI"),s.push("ST03-SCHO"),s.push("ST03-WACE");break;case"fwi":s.push("ST03-WLAN"),s.push("AT22-WLAN");break;case"ado":s.push("ST21-ADON"),s.push("GT03-ADON");break;default:break}return s?.length>0&&(e.hotel?e.hotel.globalTypeList={values:s}:e.hotel={globalTypeList:{values:s}}),e}};export{o as a};
2//# sourceMappingURL=chunk-CWSDML62.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.