PageSourceSearch

https://booking.seaplanes.dk/chunk-FRTBPP4Y.js

js seaplanes.dk collected 2026-09-25 07:07:11 UTC 16,502 bytes, 1 lines download raw bytes

1import{b as zt}from"./chunk-CLXQSMSN.js";import"./chunk-WOU5QES2.js";import{a as Qt}from"./chunk-LKXNCNS2.js";import{$t as ne,$w as ze,AE as se,AF as ot,AT as Rt,AX as Vt,Ag as Je,BX as Jt,CF as nt,EF as st,EM as _t,ET as ge,F as Me,FF as rt,FM as xt,HE as Ze,HL as J,HT as Lt,Iy as Xe,JM as le,JO as Tt,K as Ie,Ld as He,Nc as je,Nd as R,OM as bt,OZ as Ut,PX as Dt,PZ as qt,Pf as ie,QF as at,QG as Ct,QM as $t,Qf as H,RF as lt,SI as Pt,TF as pt,TI as ae,UF as ct,VF as dt,VT as Mt,WQ as pe,Ww as Ge,XF as gt,XW as jt,Xj as oe,Xw as Qe,YJ as wt,YQ as ce,ZF as ht,Zt as Ke,Zx as Ye,aa as Ee,bb as k,cG as ut,cN as Bt,ca as Ne,dU as It,eU as Et,fG as mt,fb as te,ga as ke,hG as ft,hH as vt,hw as qe,j as Re,jH as re,jZ as Kt,jf as j,mU as Nt,n as Le,nU as kt,nw as We,o1 as Gt,qH as St,qh as De,rG as yt,s0 as Wt,tT as de,uT as D,uu as Ue,vF as et,wG as V,wM as At,xF as tt,yF as it,yN as Ft,zT as Ot,zX as Ht,zg as Ve}from"./chunk-THWQXKGW.js";import{Ba as w,Bc as m,Cc as f,Da as ve,Dc as d,Ec as B,G as p,Gb as we,Gd as s,H as g,Hd as r,Ia as Se,Ja as Pe,Ma as M,Mb as c,Mc as Z,R as X,Ta as b,Ua as $,Uc as O,Wb as P,Wc as y,ac as Ae,bc as _e,f as Y,fc as xe,ga as Ce,gd as $e,jd as N,la as T,ld as ee,pd as Be,qd as Fe,rd as Te,uc as I,vc as be,wc as E,y as ye,yd as Oe}from"./chunk-RIHCSLB5.js";var l=Y(te());var U=Y(te());var K=class{constructor(A){this.store=A,this.availableSteps$=this.store.select(Nt),this.furthestStepUrl$=this.store.select(kt),this.promoCode=this.store.selectSignal(yt),this.isPromoCodeValid=this.store.selectSignal(Et),this.promoCodeDescription=this.store.selectSignal(It),this.allAncillaryOptionsForAllJourneys$=this.store.select(Rt).pipe(Ce((e,t)=>(0,U.isEqual)((0,U.sortBy)(e.map(i=>i.key)),t.map(i=>i.key)))),this.searches$=this.store.select(V),this.multiCityTripType=qe.MultiCity,this.reservation$=this.store.select(le),this.reservation=this.store.selectSignal(le),this.quotation$=this.store.select(bt),this.passengerTypeCodes$=this.store.select(ht),this.selectedJourneys$=this.store.select(Bt),this.voucherPaymentMethodIdentifier$=this.store.select(et)}onInit(){this.selectedTravelOptions$=this.selectedJourneys$.pipe(p(A=>A.map(e=>e?.travelOption)))}};var ue=Y(te());var he="res.addNewPassengers",q=(()=>{class n{constructor(e,t,i){this.configHelper=e,this.componentsConfigurationHelper=t,this.log=i,this.pageHeaderMessageConfiguration=new Vt,this.pageFooterMessageConfiguration=new jt,this.nextButtonText="Next",this.backButtonText="Back",this.noAvailablePaymentMethodsErrorText="We apologize for the inconvenience. Please contact customer service to complete this booking.",this.journeyFaresListConfiguration=new Ht,this.reservationChargesBreakdownConfiguration=new Jt(this.componentsConfigurationHelper,this.configHelper),this.allowVoucherOnlyPayment=!1,this.passengerCountsByAgeCategory={}}loadConfigSettingsAndI18nMessages(e,t){this.pageHeaderMessageConfiguration.loadConfigSettingsAndI18nMessages(`page.agent.${he}`,e,t,this.log),this.pageFooterMessageConfiguration.loadConfigSettingsAndI18nMessages(`page.agent.${he}`,e,t,this.log),this.backButtonText=t["backButton.text"]}loadJourneyFaresListConfiguration(e,t,i,o,a,h,u,C,v,_,W,L,F){let S=`${(0,ue.isString)(F)&&F!==""?`${F}.`:""}${he}`,Q=(0,ue.isString)(S)&&S!==""?`${S}.`:"",x=new R(this.log,e,"config"),z=new R(this.log,t,"i18n"),Zt=this.configHelper.getCurrencyISOCode_new(x,i.code),ei=x.getString("defaultCurrency.symbolDisplay","symbol-narrow");this.passengerCountsByAgeCategory=this.componentsConfigurationHelper.loadPassengerCountsByAgeCategory(x,z,W,_),this.componentsConfigurationHelper.loadJourneyFaresListConfiguration(x,z,this.journeyFaresListConfiguration,i,Zt,ei,null,a,h,u,o,C,v,L,_,this.passengerCountsByAgeCategory,!1,S),this.reservationChargesBreakdownConfiguration.loadConfigSettingsAndI18nMessages(S,e,t,i,a,h,L,this.log),x.setProperties(this,[["boolean","allowVoucherOnlyPayment","allowVoucherOnlyPayment.enabled"]]),z.setProperties(this,[["string","noAvailablePaymentMethodsErrorText","noAvailablePaymentMethodsError.text"],["string","nextButtonText",`${Q}passengers.nextButton.text`]])}static{this.\u0275fac=function(t){return new(t||n)(M(He),M(j),M(k))}}static{this.\u0275prov=Se({token:n,factory:n.\u0275fac})}}return n})();
1function ni(n,A){n&1&&(f(0,"nav",1)(1,"span",2),N(2,"Loading..."),d()(),f(3,"div",3)(4,"div",4)(5,"div",5),B(6,"app-ias-loading-placeholder"),d()()())}function si(n,A){if(n&1&&(f(0,"div",14),B(1,"div",22),d()),n&2){let e=y(2);c(),m("innerHTML",e.configuration.noAvailablePaymentMethodsErrorText,we)}}function ri(n,A){if(n&1){let e=Z();f(0,"div",16)(1,"app-page-footer-message",23),Te("ngModelChange",function(i){b(e);let o=y(2);return Fe(o.footerMessageAcknowledgment,i)||(o.footerMessageAcknowledgment=i),$(i)}),d()()}if(n&2){let e=y(2);c(),m("configuration",e.configuration.pageFooterMessageConfiguration),Be("ngModel",e.footerMessageAcknowledgment)}}function ai(n,A){if(n&1){let e=Z();f(0,"div",6),B(1,"app-progress-bar",7),s(2,"async"),s(3,"async"),d(),B(4,"app-loading-spinner",0),s(5,"async"),B(6,"app-page-header-message",8),f(7,"div",9)(8,"div",10)(9,"div",11)(10,"div",12)(11,"app-journey-fares-list",13),s(12,"async"),s(13,"async"),s(14,"async"),s(15,"async"),s(16,"async"),s(17,"async"),s(18,"async"),O("onTravelOptionSelected",function(i){b(e);let o=y();return $(o.travelOptionSelected(i))})("onTravelOptionCleared",function(){b(e);let i=y();return $(i.travelOptionCleared())}),d(),I(19,si,2,1,"div",14),s(20,"async"),s(21,"async"),s(22,"async"),d(),f(23,"app-reservation-charges-breakdown",15),s(24,"async"),s(25,"async"),s(26,"async"),s(27,"async"),s(28,"async"),s(29,"async"),s(30,"async"),s(31,"async"),O("removePromoCode",function(){b(e);let i=y();return $(i.onRemovePromoCode())}),d()(),I(32,ri,2,2,"div",16),d()(),f(33,"div",17)(34,"div",18)(35,"div",4)(36,"div",19)(37,"button",20),O("click",function(){b(e);let i=y();return $(i.goToPreviousPage())}),N(38),d(),f(39,"button",21),s(40,"async"),O("click",function(){b(e);let i=y();return $(i.nextStep())}),N(41),d()()()()()}if(n&2){let e=y();c(),m("steps",r(2,39,e.availableSteps$))("furthestStepUrl",r(3,41,e.furthestStepUrl$)),c(3),m("showSpinner",r(5,43,e.dataLoading$)),c(2),m("configuration",e.configuration.pageHeaderMessageConfiguration),c(5),m("configuration",e.configuration.journeyFaresListConfiguration)("travelOptions",r(12,45,e.travelOptions$))("selectedFareOption",r(13,47,e.selectedFareOptionByCurrentIndex$))("selectedTravelOption",r(14,49,e.selectedTravelOptionByCurrentIndex$))("fareClassByKey",r(15,51,e.fareClassByKey$))("fareRuleTypeByKey",r(16,53,e.fareRuleTypeByKey$))("fareRuleTypeKeyByFareClassKey",r(17,55,e.fareRuleTypeKeyByFareClassKey$))("flightSearchModel",null)("travelOptionsLoading",r(18,57,e.travelOptionsLoading$))("isReturnTrip",!1)("partnerCarriers",e.partnerCarriers),c(8),E(!r(20,59,e.dataLoading$)&&r(21,61,e.hasSelectedFare$)&&!r(22,63,e.hasValidPaymentMethods$)?19:-1),c(4),$e("d-sm-block",e.configuration==null||e.configuration.reservationChargesBreakdownConfiguration==null?null:e.configuration.reservationChargesBreakdownConfiguration.enabled),m("allAncillaryOptionsForAllJourneys",r(24,65,e.allAncillaryOptionsForAllJourneys$))("configuration",e.configuration.reservationChargesBreakdownConfiguration)("tripType",e.multiCityTripType)("reservation",e.reservation())("quotation",r(25,67,e.quotation$))("journeysTravelOptions",r(26,69,e.selectedTravelOptions$))("passengerCountsByAgeCategory",e.configuration.passengerCountsByAgeCategory)("promoCode",e.promoCode())("isPromoCodeValid",e.isPromoCodeValid())("promoCodeDescription",e.promoCodeDescription())("alwaysShowPromoCode",!1)("voucherPaymentIdentifier",r(27,71,e.voucherPaymentMethodIdentifier$))("passengerTypeCodes",r(28,73,e.passengerTypeCodes$))("selectedJourneys",r(29,75,e.selectedJourneys$))("searches",r(30,77,e.searches$))("selectedJourneyIndex",r(31,79,e.journeyIndex$))("showRemovePromoCode",!0),c(9),E(e.configuration.pageFooterMessageConfiguration.footerAcknowledgmentEnabled||e.configuration.pageFooterMessageConfiguration.footerMessageEnabled?32:-1),c(6),ee(" ",e.configuration.backButtonText," "),c(),m("disabled",!e.footerMessageAcknowledgment&&e.configuration.pageFooterMessageConfiguration.footerAcknowledgmentEnabled||!r(40,81,e.hasSelectedFare$)),c(2),ee(" ",e.configuration.nextButtonText," ")}}var Xt=(()=>{class n extends K{constructor(e,t,i,o,a,h,u,C){super(t),this.configuration=e,this.store=t,this.activatedRoute=i,this.componentsConfigurationHelper=o,this.router=a,this.log=h,this.travelOptionsHelper=u,this.reservationsHelper=C,this.footerMessageAcknowledgment=!1,this.alive=!0,this.dataRoute=null,this.hasValidPaymentMethods$=ye(!0)}ngOnInit(){super.onInit(),this.dataRoute=this.activatedRoute.snapshot.data||null,this.nextPageUrl=`/${H}/${"res"}/${Je}`.replace(`:${ie}`,J),this.addNewPassengersSearchResultUrl=`${H}/${"res"}/${Ve}`.replace(`:${ie}`,J),this.initialDataLoading$=g([this.store.select(pe),this.store.select(ce),this.store.select(xt).pipe(p(e=>Object.values(e).some(t=>t))),this.store.select(ae)]).pipe(p(e=>!e.every(t=>!t))),this.travelOptionsLoading$=this.store.select(vt).pipe(p(e=>e.every(t=>t))),this.dataLoading$=g([this.store.select(ot),this.store.select(pe),this.store.select(st),this.store.select(rt),this.store.select(ce),this.store.select(ft),this.store.select(it),this.store.select(mt),this.store.select(ct),this.store.select(nt),this.store.select(ae),this.store.select($t),this.store.select(ut),this.travelOptionsLoading$]).pipe(p(e=>!e.every(t=>!t))),this.hasValidPaymentMethods$=this.store.select(Mt).pipe(p(e=>this.reservationsHelper.hasValidPaymentMethods(e,this.configuration.allowVoucherOnlyPayment))),this.reservation$.pipe(ve(this.store.select(V),this.store.select(ge)),w(()=>this.alive)).subscribe(([e,t,i])=>{if((0,l.isObject)(e)){let o=t[0];i[0].length===0&&o.departureDate!==null&&o.originAirport!==null&&o.destinationAirport!==null&&this.searchForFlights(e.key)}else{this.router.navigateByUrl(`/${this.dataRoute?.fallBackUrl??""}`);return}}),g([this.store.select(D),this.store.select(de)]).pipe(w(()=>this.alive),X(e=>e[0]!==null&&e[1]!==null)).subscribe(([e,t])=>{this.configuration.loadConfigSettingsAndI18nMessages(e,t);let o=new Qt(this.log).convertConfigSettingsAndI18nMessages(e,t,`${this.dataRoute?.configPrefix}.res.addNewPassenger`);this.store.dispatch(new Ge(o)),this.store.dispatch(new Qe(this.addNewPassengersSearchResultUrl))}),this.fareRuleTypeKeyByFareClassKey$=this.store.select(lt),this.fareRuleTypeByKey$=this.store.select(at),this.fareClassByKey$=this.store.select(pt),this.nonCombinableFareClassesEnabled$=this.store.select(D).pipe(p(e=>new R(this.log,e,"config").getBoolean("fareClass.nonCombinable.enabled",!1))),this.journeyIndex$=this.store.select(re),this.selectedTravelOptionByCurrentIndex$=g([this.selectedTravelOptions$,this.journeyIndex$]).pipe(p(([e,t])=>e[t])),this.selectedFareOptions$=this.selectedJourneys$.pipe(p(e=>e.reduce((t,i)=>((0,l.isObject)(i?.fareOption)&&t.push(i.fareOption),t),[]))),this.selectedFareOptionByCurrentIndex$=g([this.selectedFareOptions$,this.journeyIndex$]).pipe(p(([e,t])=>e[t])),this.hasSelectedFare$=this.selectedFareOptions$.pipe(p(e=>e?.length>0&&e?.every(t=>(0,l.isObject)(t)))),this.travelOptions$=g([this.store.select(ge),this.store.select(re),this.store.select(St),this.store.select(gt),this.nonCombinableFareClassesEnabled$]).pipe(X(([e,t])=>(0,l.isArray)(e)&&(0,l.isNumber)(t)),p(e=>{let[t,i,o,a,h]=e,u=t[i]?.filter(v=>!(0,l.isEmpty)(v.fareOptions)),C=[];for(let v=0;v<i;v++){let _=o?.[v]?.fareOption;(0,l.isObject)(_)&&C.push(_)}return this.travelOptionsHelper.filterNonCombinableFareClasses(u,C,a,h,null)})),g([this.store.select(D),this.store.select(de),this.store.select(_t),this.store.select(Ct),this.store.select(Pt),this.passengerTypeCodes$,this.travelOptions$,this.store.select(dt),this.store.select(Lt),this.store.select(Ft),this.store.select(tt),this.store.select(Ot)]).pipe(w(()=>this.alive)).subscribe(([e,t,i,o,a,h,u,C,[v,_],W,L,F])=>{let G={};this.componentsConfigurationHelper.updatePassengerCountsByAgeCategory(h,W||[],G);let fe=this.dataRoute?.configPrefix?`${this.dataRoute?.configPrefix}.`:"",S=this.travelOptionsHelper.getAvailableFareTypeIdentifiers(L,e,"[AddNewPassengersSelectFareComponent.ngOnInit]",`${fe}res.addNewPassenger`),Q=S.length>0?C.filter(x=>S.includes(x?.identifier)):C;this.store.dispatch(new Ze(S)),this.partnerCarriers=a,this.configuration.loadJourneyFaresListConfiguration(e,t,i,o,v,_,Q,u,a,h,G,F,this.dataRoute?.configPrefix)})}ngOnDestroy(){this.alive=!1}travelOptionCleared(){g([this.selectedJourneys$,this.journeyIndex$]).pipe(w(()=>this.alive),T()).subscribe(([e,t])=>{let i=(0,l.cloneDeep)(e),o=[];if((0,l.isArray)(i)&&i.length>0)for(let a=t;a<e.length;a++)o.push(new Xe({},e[a]?.fareOption?.bookingKey,!0)),i[a]=null;o.forEach(a=>{a[wt]=!1,this.store.dispatch(a)}),this.store.dispatch(new ne(i))}),this.store.dispatch(new Ke(null))}travelOptionSelected(e){let t=[e.fareOption.bookingKey];this.store.dispatch(new Ye(t)),g([this.reservation$,this.selectedJourneys$.pipe(p(i=>(0,l.cloneDeep)(i))),this.journeyIndex$]).pipe(w(()=>this.alive),T()).subscribe(([i,o,a])=>{(0,l.isArray)(o)&&o.length>0?o[a]=e:o=[e],this.store.dispatch(new ne(o)),o.filter(u=>(0,l.isObject)(u?.fareOption)||(0,l.isObject)(u?.childFareOption)).length===this.reservationsHelper.getNonCancelledJourneys(i.journeys).length&&this.store.dispatch(new Ue)})}goToPreviousPage(){this.journeyIndex$.pipe(w(()=>this.alive),T()).subscribe(e=>{if(e>0){this.store.dispatch(new se(e-1));return}let t=`${H}/${"res"}/${J}`;this.router.navigate([t])})}nextStep(){g([this.quotation$,this.journeyIndex$,this.reservation$,this.hasValidPaymentMethods$]).pipe(w(()=>this.alive),T()).subscribe(([e,t,i,o])=>{if(this.reservationsHelper.getNonCancelledJourneys(i.journeys)&&t<this.reservationsHelper.getNonCancelledJourneys(i.journeys).length-1){this.store.dispatch(new se(t+1));return}o&&(0,l.isObject)(e)&&this.router.navigate([this.nextPageUrl])})}onRemovePromoCode(){this.promoCode()&&(this.store.dispatch(new We(null)),this.store.dispatch(new oe(this.reservation()?.key,null,null)))}searchForFlights(e){this.store.dispatch(new oe(e,null,null,!0))}static{this.\u0275fac=function(t){return new(t||n)(P(q),P(De),P(Ee),P(j),P(Ne),P(k),P(ze),P(je))}}static{this.\u0275cmp=Ae({type:n,selectors:[["app-add-new-passengers-select-fare"]],standalone:!1,features:[Oe([q]),xe],decls:5,vars:6,consts:[[3,"showSpinner"],[1,"navbar","navbar-expand-lg","navbar-primary","bg-primary"],[1,"invisible"],[1,"container","mt-5"],[1,"row"],[1,"col"],[1,"sticky-top","z-index-fixed","bg-white"],[3,"steps","furthestStepUrl"],[3,"configuration"],[1,"container-fluid","bg-white","flight-search-result"],[1,"container-lg"],[1,"leg","row"],[1,"col-sm-8"],["id","journeyFaresList","name","journeyFaresList",1,"col-12",3,"onTravelOptionSelected","onTravelOptionCleared","configuration","travelOptions","selectedFareOption","selectedTravelOption","fareClassByKey","fareRuleTypeByKey","fareRuleTypeKeyByFareClassKey","flightSearchModel","travelOptionsLoading","isReturnTrip","partnerCarriers"],[1,"row","error-container","alert","alert-danger"],[1,"cart","col-sm-4","d-block","mt-5",3,"removePromoCode","allAncillaryOptionsForAllJourneys","configuration","tripType","reservation","quotation","journeysTravelOptions","passengerCountsByAgeCategory","promoCode","isPromoCodeValid","promoCodeDescription","alwaysShowPromoCode","voucherPaymentIdentifier","passengerTypeCodes","selectedJourneys","
1searches","selectedJourneyIndex","showRemovePromoCode"],[1,"row","my-4"],[1,"page-controllers","container-fluid","bg-white"],[1,"container-lg","pb-5","mt-5"],[1,"col-sm-8","d-flex","justify-content-between"],["type","button",1,"btn","btn-outline-primary","rounded-pill",3,"click"],["type","button",1,"btn","btn-primary","rounded-pill",3,"click","disabled"],[1,"error",3,"innerHTML"],[3,"ngModelChange","configuration","ngModel"]],template:function(t,i){t&1&&(B(0,"app-loading-spinner",0),s(1,"async"),I(2,ni,7,0),s(3,"async"),be(4,ai,42,83)),t&2&&(m("showSpinner",r(1,2,i.initialDataLoading$)),c(2),E(r(3,4,i.initialDataLoading$)?2:4))},dependencies:[Me,Ie,Kt,At,Wt,Tt,Ut,qt,Dt,Re],encapsulation:2})}}return n})();var li=[{path:"",pathMatch:"full",component:Xt}];var Yi=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=_e({type:n})}static{this.\u0275inj=Pe({imports:[Le,ke.forChild(li),Gt,zt]})}}return n})();export{Yi as AddNewPassengersSelectFareModule};

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.