PageSourceSearch

https://tickets.almerecity.nl/chunk-ZB3FE4TR.js

js almerecity.nl collected 2026-09-24 23:35:21 UTC 7,050 bytes, 1 lines download raw bytes

1import{$b as M,$e as se,Ad as W,Ae as ee,Be as te,Eb as j,G as L,Ga as E,Gb as B,Ha as S,He as ie,Ia as m,Id as K,If as me,K as u,Kf as de,L as h,Le as ne,Me as oe,Oe as re,Ua as f,Va as F,Wa as O,Xg as ue,Yb as N,Zb as U,_e as ae,af as ce,ba as s,bb as P,fb as k,fd as x,gd as $,ha as a,hd as G,hf as le,ib as V,if as pe,ja as w,ka as R,nb as H,ne as Y,pc as z,ra as C,re as q,rh as he,sa as I,ta as b,ua as T,va as A,wa as p,we as J,xa as c,xe as Q,ya as l,ye as X,za as g,ze as Z}from"./chunk-L3R4CA6E.js";import"./chunk-27WATYC3.js";var Ae=n=>[n,"EUR","symbol","1.2-2","nl"];function Ee(n,o){if(n&1&&(c(0,"div")(1,"h2"),g(2,"app-format-translation",6),l(),c(3,"p",7),g(4,"app-format-translation",6),f(5," \xA0 "),l()()),n&2){let i=m(2);s(2),p("translationKey",P("MATCHDAYPASS.TITLE."+i.matchdaypass.ShortCode)),s(2),p("translationKey",P("MATCHDAYPASS.DESCRIPTION."+i.matchdaypass.ShortCode))}}function Fe(n,o){if(n&1&&(c(0,"option",12),f(1),l()),n&2){let i=o.$implicit,e=m().$implicit,t=m(2);p("value",i)("disabled",t.maxToSelect<=0)("selected",+i===e.Amount),s(),F(i)}}function Pe(n,o){if(n&1){let i=E();c(0,"div",3)(1,"div",8)(2,"b"),f(3),l()(),c(4,"div",9)(5,"div",10)(6,"select",11),S("change",function(t){let r=u(i).$implicit;return h(r.Amount=+t.target.value)}),T(7,Fe,2,4,"option",12,b),l()(),c(9,"div",13),f(10),V(11,"currency"),l(),c(12,"div",14)(13,"app-button",15),S("click",function(){let t=u(i).$implicit,r=m(2);return h(r.processSectorSelect(t))}),l()(),c(14,"div",16)(15,"app-button",17),S("click",function(){let t=u(i).$implicit,r=m(2);return h(r.processSectorSelect(t))}),l()()()()}if(n&2){let i=o.$implicit,e=m(2);s(3),F(i.Name),s(3),p("disabled",e.maxToSelect<=0),s(),A(e.amountSelectionArray),s(3),O("\xE0 ",H(11,7,k(13,Ae,e.authService.getDisplayVat()?i.PriceModel.PriceIncVat:i.PriceModel.PriceExVat))),s(3),p("small",!0)("disabled",i.Amount==0||e.savingSelectedSector),s(2),p("small",!0)("disabled",i.Amount==0||e.savingSelectedSector)}}function Me(n,o){if(n&1){let i=E();c(0,"div",2),C(1,Ee,6,4,"div"),T(2,Pe,16,15,"div",3,b),c(4,"footer",4)(5,"app-button",5),S("click",function(){u(i);let t=m();return h(t.layoutService.mobileOpenAside())}),l()()()}if(n&2){let i=m();s(),I(i.matchdaypass.ShortCode?1:-1),s(),A(i.sectors),s(3),p("textParams",i.buttonParams)}}var Se=(()=>{let o=class o{get buttonParams(){return this._buttonParams}constructor(e,t,r,_,v,d,y,ve,ye,ge,xe,_e,Ce,Ie,be){this.config=e,this.conversion=t,this.saleFlowHelper=r,this.matchdaypassService=_,this.layoutService=v,this.loader=d,this.router=y,this.orderStateService=ve,this.shoppingCartService=ye,this.pendingReservationService=ge,this.fileHelper=xe,this.eventSelectionService=_e,this.matchdaypassSelectionService=Ce,this.confirmService=Ie,this.authService=be,this.backLink="/dashboard",this.currentFlow=null,this.maxToSelect=20,this.amountSelectionArray=[],this.sectors=[],this.savingSelectedSector=!1,this.mdpSelectionStateChangeSubscription=null,this._buttonParams={selection:0},this.currentFlow=this.saleFlowHelper.readSteps();let D=new $(this.currentFlow?this.currentFlow.matchdaypass.Name:"",!0);D.toolbarIconClass="fas fa-shopping-basket",v.updateLayout(D)}ngOnInit(){this.currentFlow&&(this.matchdaypassService.getMatchDayPassDetails(this.currentFlow.matchdaypass.Id,!1).subscribe(e=>{this.matchdaypass=e,this.sectors=e.Sectors,this.sectors.forEach(t=>t.Amount=0)}),this.mdpSelectionStateChangeSubscription=this.matchdaypassSelectionService.stateChange.subscribe(e=>{this.updateVisibleSelection(e)}),setTimeout(()=>this.updateVisibleSelection(this.matchdaypassSelectionService.readState()),0));for(let e=0;e<=this.maxToSelect;e++)this.amountSelectionArray.push(e)}ngOnDestroy(){this.mdpSelectionStateChangeSubscription!=null&&this.mdpSelectionStateChangeSubscription.unsubscribe()}getEventTypeImageUrl(e){let t=this.config.templateOptions.eventList.eventTypeLogoSize;return this.fileHelper.getResizedImageUrl(e,t,t)}processSectorSelect(e){this.savingSelectedSector=!0;let t=this.matchdaypassSelectionService.getSelectionByMdpId(this.matchdaypassSelectionService.readState(),this.currentFlow.matchdaypass.Id),r
1=t!=null&&t.pendingReservation!==null?t.pendingReservation.PendingReservationId:null,_=t!=null&&t.pendingReservation!==null?t.pendingReservation.PendingReservationUID:null,v={PendingReservationId:r,PendingReservationUID:_,Amount:e.Amount,MatchDayPassId:this.matchdaypass.Id,SectorId:e.Id};this.pendingReservationService.addMatchDayPass(v,!1).subscribe(d=>{this.savingSelectedSector=!1,d!==null&&(this.matchdaypassSelectionService.setPendingReservation(this.matchdaypass.Id,d),this.sectors.forEach(y=>y.Amount=0))},d=>{d.status===400&&this.confirmService.confirm({message:"VIEWS.MATCHDATPASS.SECTOR-SELECTION.SOLDOUT.MESSAGE",title:"VIEWS.MATCHDATPASS.SECTOR-SELECTION.SOLDOUT.TITLE",okonly:!0}).subscribe(y=>{this.router.navigateByUrl("/dashboard")})})}updateVisibleSelection(e){let t=0;if(this.currentFlow){let r=this.matchdaypassSelectionService.getSelectionByMdpId(e,this.currentFlow.matchdaypass.Id);r&&r.pendingReservation&&r.pendingReservation.Lines&&(t=r.pendingReservation.Lines.length)}this._buttonParams={selection:t}}};o.\u0275fac=function(t){return new(t||o)(a(x),a(de),a(ce),a(W),a(G),a(q),a(U),a(pe),a(Z),a(K),a(te),a(ae),a(se),a(X),a(ee))},o.\u0275cmp=w({type:o,selectors:[["app-matchdaypass"]],standalone:!1,decls:3,vars:3,consts:[[3,"backLink","forceHideAsideButton"],[1,"mdp-details"],[1,"content"],["fxLayoutAlign","flex-start stretch","fxLayout.lt-sm","column",1,"summary-line-container"],["fxHide.gt-lg","",1,"panzoom-footer"],["size","full","text","VIEW.SEAT-SELECTION.MOBILE.VIEW-SELECTION",3,"click","textParams"],[3,"translationKey"],[1,"cross-sell-description"],["fxFlex","1 1 100%","fxFlex.lt.sm","0",1,"summary-line"],["fxLayoutAlign.lt-sm","space-between","fxLayoutAlign","stretch"],["fxFlex","80px","fxFlexAlign","center"],[1,"form-control",2,"width","75px",3,"change","disabled"],[3,"value","disabled","selected"],["fxFlex","95px","fxLayoutAlign","flex-end center",1,"summary-line"],["fxFlex","100px","fxHide.gt-sm","",1,"text-right","summary-button","summary-button-big-text"],["type","green","text","+",3,"click","small","disabled"],["fxFlex","150px","fxHide.lt-sm","",1,"text-right","summary-button"],["type","green","text","Toevoegen",3,"click","small","disabled"]],template:function(t,r){t&1&&(g(0,"app-title-bar",0),c(1,"div",1),C(2,Me,6,2,"div",2),l()),t&2&&(p("backLink",r.backLink)("forceHideAsideButton",!0),s(2),I(r.matchdaypass?2:-1))},dependencies:[Q,le,J,re,oe,ie,ne,Y,j],styles:[".panzoom-footer[_ngcontent-%COMP%]{padding-bottom:24px}.mdp-description[_ngcontent-%COMP%]{padding:15px 0}"]});let n=o;return n})();var fe=[{path:"",component:Se,data:{title:"Dashboard"},canActivate:[ue]},{path:"**",redirectTo:"/system/404"}];var mt=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)}
1,o.\u0275mod=R({type:o}),o.\u0275inj=L({providers:[{provide:N,useFactory:e=>fe,multi:!0,deps:[x]}],imports:[B,M.forChild([]),he,me,z,M]});let n=o;return n})();export{mt as MatchdaypassViewModule};

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.