1import{a as He}from"./chunk-U5DWRMET.js";import{b as Rt,c as Oe,d as Nt}from"./chunk-LLCDT2AR.js";import{$a as Ie,$b as Xe,Bg as Dt,C as E,Cb as mt,Cf as Tt,Df as It,Dg as ce,Eb as W,Ec as Je,Ee as wt,Ef as De,F as fe,Fc as ft,Ff as At,Fg as ve,G as Se,Ga as M,Gb as gt,H as st,Ha as O,Hg as zt,I as ge,Ia as l,If as Lt,J as Ue,Jc as et,Jg as Be,K as h,Kc as ht,Ke as yt,Kg as Bt,L as C,Le as Q,Lg as Ht,Ma as G,Me as R,Na as K,Nc as Re,Ne as N,O as We,Oa as j,Od as z,Oe as L,Qa as lt,Qd as Ve,Ra as U,S as qe,Sc as Ne,Ua as d,Va as _,Wa as k,Wb as J,Xa as X,Xf as ze,Yb as ut,Yf as re,Zb as I,_ as he,_a as Te,ab as Ae,ba as a,c as F,ca as ue,db as _e,dd as Ct,fb as dt,fd as xt,g as ot,gb as $e,gd as vt,gg as gn,ha as x,hd as bt,hf as ne,i as at,ib as m,ja as S,jb as f,ka as Ee,kb as Qe,l as rt,le as Ot,lf as kt,mb as T,nb as pt,nc as ee,ne as xe,nf as St,oc as A,p as ct,pa as D,pc as _t,pd as Le,pe as Pt,qb as Ye,ra as g,re as q,rf as Et,rh as Ft,sa as u,ta as Ce,ua as oe,va as ae,vg as Vt,wa as b,we as Mt,xa as c,xe as $,ya as s,yc as Ze,za as v,ze as te}from"./chunk-NHVDVYS6.js";import{g as mn}from"./chunk-27WATYC3.js";var Gt=new st("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=Ue(We);return()=>et(i)}});function Kt(i){let r=Ue(We);return()=>et(r)}var jt={provide:Gt,deps:[],useFactory:Kt};var tt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Ee({type:i});static \u0275inj=Se({providers:[jt],imports:[ht,Je,Ze,ft,Oe,Je,Ze]})}return i})();var ie=(()=>{let r=class r{constructor(t,n){this.availabilityService=t,this.venueService=n,this.seatPlanData=null,this.seatEventPlacementId=null,this.showSnapshot=!1,this.loading=!1,this.initialized=!1,this.destroy$=new F}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}load(t,n,o){if(this.initialized||this.loading)return;let p=n?.EventPlacementId??t.CurrentTicketDetails?.EventPlacementId;if(!p)return;let P=t.CurrentTicketDetails?.EventId??o;P&&(this.loading=!0,this.resolveCandidateSectionIds(t,P).pipe(E(this.destroy$)).subscribe({next:w=>this.loadSeatPlanForSections(w,P,p,0),error:()=>{this.loading=!1}}))}resolveCandidateSectionIds(t,n){let o=y=>(y||"").trim().toLowerCase(),p=o(t.CurrentTicketDetails?.SectionName),w=(t.AvailableSections??[]).filter(y=>o(y.Name)===p).map(y=>y.SectionId).filter(y=>typeof y=="number");return this.venueService.getVenue({EventIds:[n]},!1).pipe(at(y=>{let V=y?.Sections??[],Z=V.filter(H=>o(H.Name)===p).map(H=>H.VenueBuildingBlockId).filter(H=>typeof H=="number"),be=V.map(H=>H.VenueBuildingBlockId).filter(H=>typeof H=="number");return Array.from(new Set([...w,...Z,...be]))}),ct(()=>ot(w)))}loadSeatPlanForSections(t,n,o,p){if(!t.length||p>=t.length){this.loading=!1;return}let P={ParentVBBId:t[p],EventIds:[n]};this.availabilityService.section(P,!1).pipe(E(this.destroy$)).subscribe({next:w=>{let y=w?.Rows?.some(V=>V.Columns?.some(Z=>Z.Id===o));if(!w?.Rows?.length||!y){this.loadSeatPlanForSections(t,n,o,p+1);return}this.loading=!1,this.seatPlanData=w,this.seatEventPlacementId=o,this.showSnapshot=!0,this.initialized=!0},error:()=>this.loadSeatPlanForSections(t,n,o,p+1)})}};r.\u0275fac=function(n){return new(n||r)(ge(Le),ge(Ve))},r.\u0275prov=fe({token:r,factory:r.\u0275fac});let i=r;return i})();function le(i,r,e){r.setPendingOrderId(e,null),r.startOrUpdateTimer(e),i.navigate(["/shopping-cart"])}function hn(i,r){if(i&1){let e=M();c(0,"app-error-state",3),O("action",function(){h(e);let n=l();return C(n.goBack())}),s()}if(i&2){let e=l();b("message",e.errorMessage)}}function Cn(i,r){i&1&&v(0,"app-error-banner",4),i&2&&b("message","TICKET-CHANGE.CONFIRM.DISCOUNT-WARNING")}function xn(i,r){if(i&1&&v(0,"img",29),i&2){let e=l(3);b("src",e.ticket.HomeTeamImageUrl,he)("alt",e.ticket.HomeTeamName)}}function vn(i,r){if(i&1&&v(0,"img",29),i&2){let e=l(3);b("src",e.ticket.AwayTeamImageUrl,he)("alt",e.ticket.AwayTeamName)}}function bn(i,r){if(i&1&&(c(0,"span",32),d(1),m(2,"date"),s()),i&2){let e=l(3);a(),_(Qe(2,1,e.eventStartDate||(e.ticket==null?null:e.ticket.EventStartDate),"dd-MM-yyyy HH:mm"))}}function On(i,r){if(i&1&&(c(0,"div",5)(1,"div",28),g(2,xn,1,2,"img",29),c(3,"span",30),d(4),s(),c(5,"span",31),d(6,"-"),s(),c(7,"span",30),d(8),s(),g(9,vn,1,2,"img",29),s(),g(10,bn,3,4,"span",32),s()),i&2){let e=l(2);a(2),u(e.ticket.HomeTeamImageUrl?2:-1),a(2),_(e.ticket.HomeTeamName),a(4),_(e.ticket.AwayTeamName),a(),u(e.ticket.AwayTeamImageUrl?9:-1),a(),u(e.eventStartDate||e.ticket!=null&&e.ticket.EventStartDate?10:-1)}}function Pn(i,r){if(i&1&&(c(0,"span",33),d(1),s()),i&2){let e=l(3);a(),_(e.eventName||(e.ticket==null?null:e.ticket.EventName))}}function Mn(i,r){if(i&1&&(c(0,"span",32),d(1),m(2,"date"),s()),i&2){let e=l(3);a(),_(Qe(2,1,e.eventStartDate||(e.ticket==null?null:e.ticket.EventStartDate),"dd-MM-yyyy HH:mm"))}}function wn(i,r){if(i&1&&(c(0,"div",6),g(1,Pn,2,1,"span",33),g(2,Mn,3,4,"span",32),s()),i&2){let e=l(2);a(),u(e.eventName||e.ticket!=null&&e.ticket.EventName?1:-1),a(),u(e.eventStartDate||e.ticket!=null&&e.ticket.EventStartDate?2:-1)}}function yn(i,r){if(i&1&&(c(0,"span",34),d(1),s(),c(2,"span",35),d(3),m(4,"currency"),s()),i&2){let e=l(2);a(),_(e.selectedVariation.Name),a(2),_(T(4,2,e.selectedVariation.Price,"EUR","symbol","1.2-2"))}}function kn(i,r){i&1&&(d(0),m(1,"translate")),i&2&&k(" ",f(1,1,"TICKET-CHANGE.VARIATION.SELECT-PLACEHOLDER")," ")}function Sn(i,r){i&1&&(c(0,"span",39),d(1),m(2,"translate"),s()),i&2&&(a(),
1k(" ",f(2,1,"TICKET-CHANGE.VARIATION.BADGE-NO-COST")," "))}function En(i,r){if(i&1&&(c(0,"span",40),d(1),m(2,"currency"),m(3,"translate"),s()),i&2){let e=l().$implicit;a(),X(" +",T(2,2,e.PriceDifference,"EUR","symbol","1.2-2")," ",f(3,7,"TICKET-CHANGE.VARIATION.BADGE-TO-PAY")," ")}}function Tn(i,r){if(i&1){let e=M();c(0,"button",37),O("click",function(){let n=h(e).$implicit,o=l(3);return C(o.selectVariation(n))}),c(1,"span",38),d(2),m(3,"currency"),s(),g(4,Sn,3,3,"span",39),g(5,En,4,9,"span",40),s()}if(i&2){let e=r.$implicit,t=l(3);U("variation-dropdown__item--active",t.compareVariations(t.selectedVariation,e)),a(2),X("",e.Name," - ",T(3,6,e.Price,"EUR","symbol","1.2-2")),a(2),u(e.PriceDifference<=0?4:-1),a(),u(e.PriceDifference>0?5:-1)}}function In(i,r){if(i&1&&(c(0,"div",21),oe(1,Tn,6,11,"button",36,Ce),s()),i&2){let e=l(2);a(),ae(e.nonCurrentVariations)}}function An(i,r){i&1&&(c(0,"span",41),d(1),m(2,"translate"),s()),i&2&&(a(),k(" ",f(2,1,"TICKET-CHANGE.CONFIRM.NO-EXTRA-COST")," "))}function Rn(i,r){if(i&1&&(c(0,"span",42),d(1),m(2,"translate"),m(3,"currency"),s()),i&2){let e=l(3);a(),X(" ",f(2,2,"TICKET-CHANGE.CONFIRM.AMOUNT-DUE"),": ",T(3,4,e.selectedVariation.PriceDifference,"EUR","symbol","1.2-2")," ")}}function Nn(i,r){if(i&1&&(c(0,"div",22),g(1,An,3,3,"span",41),g(2,Rn,4,9,"span",42),s()),i&2){let e=l(2);a(),u(e.isUpgrade?-1:1),a(),u(e.isUpgrade?2:-1)}}function Ln(i,r){if(i&1){let e=M();c(0,"div",23)(1,"mat-checkbox",43),Ae("ngModelChange",function(n){h(e);let o=l(2);return Ie(o.discountAcknowledged,n)||(o.discountAcknowledged=n),C(n)}),d(2),m(3,"translate"),s()()}if(i&2){let e=l(2);a(),b("disableRipple",!0),Te("ngModel",e.discountAcknowledged),a(),k(" ",f(3,3,"TICKET-CHANGE.CONFIRM.DISCOUNT-ACKNOWLEDGE")," ")}}function Vn(i,r){if(i&1&&v(0,"app-error-banner",24),i&2){let e=l(2);b("message",e.submitErrorMessage)}}function Dn(i,r){if(i&1){let e=M();g(0,Cn,1,1,"app-error-banner",4),g(1,On,11,5,"div",5),g(2,wn,3,2,"div",6),c(3,"div",7)(4,"div",8)(5,"span",9),d(6),m(7,"translate"),s(),c(8,"div",10)(9,"span",11),d(10),s(),c(11,"span",12),d(12),m(13,"currency"),s()()(),c(14,"div",13),v(15,"i",14)(16,"i",15),s(),c(17,"div",8)(18,"span",9),d(19),m(20,"translate"),s(),c(21,"div",16)(22,"div",17)(23,"button",18),O("click",function(){h(e);let n=l();return C(n.toggleDropdown())}),c(24,"span",19),g(25,yn,5,7)(26,kn,2,3),s(),v(27,"span",20),s(),g(28,In,3,0,"div",21),s()()()(),g(29,Nn,3,2,"div",22),g(30,Ln,4,5,"div",23),g(31,Vn,1,1,"app-error-banner",24),c(32,"div",25)(33,"app-button",26),O("click",function(){h(e);let n=l();return C(n.goBack())}),s(),c(34,"app-button",27),O("click",function(){h(e);let n=l();return C(n.confirmChange())}),s()()}if(i&2){let e=l();u(e.hasDiscount&&e.isUpgrade?0:-1),a(),u(e.ticket!=null&&e.ticket.HomeTeamName||e.ticket!=null&&e.ticket.AwayTeamName?1:-1),a(),u(!(e.ticket!=null&&e.ticket.HomeTeamName)&&(e.eventName||e.ticket!=null&&e.ticket.EventName||e.eventStartDate)?2:-1),a(4),_(f(7,18,"TICKET-CHANGE.CONFIRM.FROM")),a(4),_(e.options.CurrentTicketDetails.VariationName),a(2),_(T(13,20,e.options.CurrentTicketDetails.CurrentPrice,"EUR","symbol","1.2-2")),a(7),_(f(20,25,"TICKET-CHANGE.CONFIRM.TO")),a(4),D("aria-expanded",e.dropdownOpen)("aria-controls","variation-menu"),a(),U("variation-select__value--placeholder",!e.selectedVariation),a(),u(e.selectedVariation?25:26),a(3),u(e.dropdownOpen?28:-1),a(),u(e.selectedVariation?29:-1),a(),u(e.hasDiscount&&e.selectedVariation?30:-1),a(),u(e.submitErrorMessage?31:-1),a(2),b("disabled",e.processing),a(),b("disabled",!e.canConfirm)}}var qt=(()=>{let r=class r{constructor(t,n,o,p,P,w){this.route=t,this.router=n,this.ticketChangeService=o,this.appLoader=p,this.translate=P,this.shoppingCartService=w,this.options=null,this.ticket=null,this.errorMessage=null,this.submitErrorMessage=null,this.selectedVariation=null,this.nonCurrentVariations=[],this.dropdownOpen=!1,this.discountAcknowledged=!1,this.processing=!1,this.eventName=null,this.eventStartDate=null,this.destroy$=new F,this.orderLineId=Number(this.route.snapshot.paramMap.get("orderLineId"))}ngOnInit(){if(isNaN(this.orderLineId)){this.router.navigate(["/tickets"]);return}let t=window.history.state;this.eventName=t?.eventName||null,this.eventStartDate=t?.eventStartDate||null,this.ticket=t?.ticket||null,this.loadOptions()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get hasDiscount(){return this.options?.CurrentTicketDetails?.HasActiveDiscounts===!0}get isUpgrade(){return(this.selectedVariation?.PriceDifference??0)>0}get canConfirm(){return!this.selectedVariation||this.processing?!1:!(this.hasDiscount&&!this.discountAcknowledged)}get selectedVariationLabel(){return this.selectedVariation?`${this.selectedVariation.Name} - ${this.selectedVariation.Price?.toFixed(2)} EUR`:this.translate.instant("TICKET-CHANGE.VARIATION.SELECT-PLACEHOLDER")}compareVariations(t,n){return t?.VariationId===n?.VariationId}toggleDropdown(){this.dropdownOpen=!this.dropdownOpen}selectVariation(t){this.selectedVariation=t,this.dropdownOpen=!1}closeDropdown(){this.dropdownOpen=!1}loadOptions(){let t=this.appLoader.open("ticket-change-options");this.ticketChangeService.getTicketChangeOptions(this.orderLineId).pipe(E(this.destroy$)).subscribe({next:n=>{if(this.appLoader.close(t),!n.VariationChangeAllowed){this.errorMessage=n.UnavailableReason||"TICKET-CHANGE.ERROR.UNAVAILABLE";return}if(!n.AvailableVariations?.length){this.errorMessage="TICKET-CHANGE.ERROR.NO-ALTERNATIVES";return}this.options=n,this.nonCurrentVariations=n.AvailableVariations.filter(o=>o.VariationId!==n.CurrentTicketDetails?.VariationId),this.nonCurrentVariations.length===1&&(this.selectedVariation=this.nonCurrentVariations[0])},error:()=>{this.appLoader.close(t),this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"}})}confirmChange(){if(!this.canConfirm||!this.selectedVariation)return;let t=this.selectedVariation.VariationId;if(t==null){this.submitErrorMessage="TICKET-CHANGE.ERROR.UNAVAILABLE";return}this.processing=!0,this.submitErrorMessage=null;let n=this.appLoader.open("ticket-change-confirm"),o={TargetPriceVariationId:t};this.ticketChangeService.changeTicketVariation(this.orderLineId,o).pipe(E(this.destroy$)).subscribe({next:p=>{if(p.Success&&!p.PaymentRequired){this.appLoader.close(n),this.navigateToSuccess(p);return}if(p.PaymentRequired&&p.PendingOrderId){this.appLoader.close(n),le(this.router,this.shoppingCartService,p.PendingOrderId);return}p.Success||(this.appLoader.close(n),this.processing=!1,this.submitErrorMessage=p.ErrorCode||"TICKET-CHANGE.ERROR.UNAVAILABLE")},error:p=>{this.appLoader.close(n),this.processing=!1,this.submitErrorMessage=p?.error?.ErrorCode||"TICKET-CHANGE.ERROR.NETWORK-ERROR"}})}navigateToSuccess(t){this.router.navigate(["/ticket-change",this.orderLineId,"success"],{state:{changeResult:t,selectedVariation:this.selectedVariation}})}goBack(){if(this.options?.VariationChangeAllowed&&!this.options.SeatChangeAllowed){this.router.navigate(["/tickets/overview"]);return}this.router.navigate(["/ticket-change",this.orderLineId,"options"],{state:{eventName:this.eventName,eventStartDate:this.eventStartDate,ticket:this.ticket}})}};r.\u0275fac=function(n){return new(n||r)(x(J),x(I),x(z),x(q),x(ee),x(te))},r.\u0275cmp=S({type:r,selectors:[["app-change-variation"]],standalone:!1,features:[_e([ie])],decls:4,vars:3,consts:[["title","TICKET-CHANGE.VARIATION.TITLE","backText","TICKET-CHANGE.ERROR.BACK",3,"onBack","forceShowBacklink"],["fxLayout","column","fxLayoutGap","16px",1,"ticket-change-container"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"message"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"action","message"],["icon","fas fa-exclamation-triangle","variant","warning",3,"message"],[1,"match-header"],[1,"event-info"],["fxLayout","row","fxLayoutAlign","space-between stretch","fxLayoutGap","8px","fxLayout.lt-sm","column","fxLayoutGap.lt-sm","12px"],["fxLayout","column","fxLayoutGap","6px","fxFlex",""],[1,"summary-card__heading"],[1,"summary-card","variation-summary-card"],[1,"summary-field-value"],[1,"summary-price"],["fxLayoutAlign","center center",1,"summary-card__arrow"],["fxHide.lt-sm","",1,"fas","fa-arrow-right"],["fxShow.lt-sm","","fx
1Hide","",1,"fas","fa-arrow-down"],[1,"summary-card","variation-summary-card","variation-select-card"],[1,"variation-select-field"],["type","button",1,"variation-select",3,"click"],[1,"variation-select__value"],["aria-hidden","true",1,"variation-select__icon"],["id","variation-menu","role","listbox",1,"variation-dropdown"],[1,"price-difference"],["fxLayout","row","fxLayoutAlign","end center"],[3,"message"],["fxLayout","row","fxLayoutAlign","end center","fxLayoutGap","12px",1,"action-buttons"],["type","stroked","text","TICKET-CHANGE.CONFIRM.CANCEL",3,"click","disabled"],["type","primary","text","TICKET-CHANGE.CONFIRM.CONFIRM-BUTTON",3,"click","disabled"],[1,"match-teams"],[1,"match-team-logo",3,"src","alt"],[1,"match-team-name"],[1,"match-separator"],[1,"event-date"],[1,"event-name"],[1,"variation-select__name"],[1,"variation-select__price"],["type","button","role","option",1,"variation-dropdown__item",3,"variation-dropdown__item--active"],["type","button","role","option",1,"variation-dropdown__item",3,"click"],[1,"variation-dropdown__main"],[1,"variation-dropdown__badge","variation-dropdown__badge--free"],[1,"variation-dropdown__badge","variation-dropdown__badge--upgrade"],[1,"price-neutral"],[1,"price-upgrade"],[1,"discount-checkbox",3,"ngModelChange","disableRipple","ngModel"]],template:function(n,o){n&1&&(c(0,"app-title-bar",0),O("onBack",function(){return o.goBack()}),s(),c(1,"div",1),g(2,hn,1,1,"app-error-state",2),g(3,Dn,35,27),s()),n&2&&(b("forceShowBacklink",!0),a(2),u(o.errorMessage?2:-1),a(),u(o.options?3:-1))},dependencies:[Re,Ne,$,ne,ze,re,De,L,N,R,Q,xe,W,mt,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}.match-header[_ngcontent-%COMP%]{flex-direction:column;gap:4px}.match-teams[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.match-header[_ngcontent-%COMP%] .event-date[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;text-align:center}.event-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}
1.event-info[_ngcontent-%COMP%] .event-name[_ngcontent-%COMP%]{font-weight:500;font-size:16px}.event-info[_ngcontent-%COMP%] .event-date[_ngcontent-%COMP%]{color:#3f3f3f}.variation-summary-card[_ngcontent-%COMP%]{min-height:86px}.variation-select-card[_ngcontent-%COMP%]{justify-content:center;position:relative}.variation-select-card[_ngcontent-%COMP%] .variation-select-field[_ngcontent-%COMP%]{width:100%;margin:0;position:relative}.variation-select[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;font-family:var(--base-font);font-size:16px;line-height:19px;font-weight:600;text-align:left;color:#313131;padding:0;min-height:45px;cursor:pointer}.variation-select[_ngcontent-%COMP%]:focus{outline:none}.variation-select__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;display:flex;flex-direction:column;min-width:0}.variation-select__name[_ngcontent-%COMP%]{font-weight:600;font-size:16px;line-height:19px}.variation-select__price[_ngcontent-%COMP%]{font-size:13px;line-height:16px;color:#9e9e9e;font-weight:300;margin-top:4px}.variation-select__value--placeholder[_ngcontent-%COMP%]{color:#757575}.variation-select__icon[_ngcontent-%COMP%]{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #7a7a7a;margin-left:12px;flex-shrink:0}.variation-dropdown[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 2px);left:0;width:100%;z-index:20;background:#fff;border-radius:8px;box-shadow:0 8px 24px #0000002e;border:1px solid #e6e6e6;overflow:hidden}.variation-dropdown__item[_ngcontent-%COMP%]{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;font-family:var(--base-font);font-size:15px;line-height:1.35;color:#313131;cursor:pointer}.variation-dropdown__item[_ngcontent-%COMP%]:hover, .variation-dropdown__item[_ngcontent-%COMP%]:focus{outline:none;background:#f7f9fc}.variation-dropdown__item--active[_ngcontent-%COMP%]{background:#f2f6fb}.variation-dropdown__main[_ngcontent-%COMP%]{min-width:0;flex:1 1 auto}.variation-dropdown__badge[_ngcontent-%COMP%]{white-space:nowrap;font-size:12px;font-weight:600;font-family:var(--base-font)}.variation-dropdown__badge--free[_ngcontent-%COMP%]{color:#2e7d32}.variation-dropdown__badge--upgrade[_ngcontent-%COMP%]{margin-left:auto;text-align:right;color:#e65100}@media(max-width:599px){.action-buttons[_ngcontent-%COMP%]{width:100%}.action-buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{flex:1 1 50%;max-width:calc(50% - 6px)}.action-buttons[_ngcontent-%COMP%] .btn-container, .action-buttons[_ngcontent-%COMP%] .btn{width:100%}}"]});let i=r;return i})();function zn(i,r){i&1&&(c(0,"h2",4),d(1),m(2,"translate"),s(),c(3,"p",5),d(4),m(5,"translate"),s()),i&2&&(a(),_(f(2,2,"TICKET-CHANGE.SUCCESS.TITLE")),a(3),_(f(5,4,"TICKET-CHANGE.SUCCESS.GENERIC-MESSAGE")))}function Bn(i,r){if(i&1&&(c(0,"span",7),d(1),s()),i&2){let e=l(4);a(),_(e.variationName)}}function Hn(i,r){if(i&1&&(c(0,"span",8),d(1),m(2,"currency"),s()),i&2){let e=l(4);a(),k(" ",T(2,1,e.changeResult.NewPrice,"EUR","symbol","1.2-2")," ")}}function Fn(i,r){if(i&1&&(c(0,"div",6),g(1,Bn,2,1,"span",7),g(2,Hn,3,6,"span",8),s()),i&2){let e=l(3);a(),u(e.variationName?1:-1),a(),u(e.changeResult!=null&&e.changeResult.NewPrice?2:-1)}}function Gn(i,r){if(i&1&&(c(0,"h2",4),d(1),m(2,"translate"),s(),c(3,"p",5),d(4),m(5,"translate"),s(),g(6,Fn,3,2,"div",6)),i&2){let e=l(2);a(),_(f(2,3,"TICKET-CHANGE.SUCCESS.TITLE")),a(3),_(f(5,5,"TICKET-CHANGE.SUCCESS.MESSAGE")),a(2),u(e.variationName||e.changeResult!=null&&e.changeResult.NewPrice?6:-1)}}function Kn(i,r){if(i&1&&(c(0,"div",10)(1,"span",13),d(2),m(3,"translate"),s(),c(4,"span",14),d(5),c(6,"span"),d(7),s(),c(8,"span"),d(9),s()()()),i&2){let e=l(3);a(2),_(f(3,4,"TICKET-CHANGE.SUCCESS.OLD-SEAT")),a(3),k(" ",e.oldSection," "),a(2),k(" / ",e.oldRow?e.oldRow:"-"),a(2),k(" / ",e.oldSeat?e.oldSeat:"-")}}function jn(i,r){if(i&1&&(c(0,"div",10)(1,"span",13),d(2),m(3,"translate"),s(),c(4,"span",14),d(5),c(6,"span"),d(7),s(),c(8,"span"),d(9),s()()()),i&2){let e=l(3);a(2),_(f(3,4,"TICKET-CHANGE.SUCCESS.NEW-SEAT")),a(3),k(" ",e.newSection," "),a(2),k(" / ",e.newRow?e.newRow:"-"),a(2),k(" / ",e.newSeat?e.newSeat:"-")}}function Un(i,r){if(i&1&&(c(0,"h2",4),d(1),m(2,"translate"),s(),c(3,"div",9),g(4,Kn,10,6,"div",10),c(5,"div",11),v(6,"i",12),s(),g(7,jn,10,6,"div",10),s()),i&2){let e=l(2);a(),_(f(2,3,"TICKET-CHANGE.SUCCESS.SEAT-CHANGED")),a(3),u(e.oldSection?4:-1),a(3),u(e.newSection?7:-1)}}function Wn(i,r){if(i&1&&g(0,Gn,7,7)(1,Un,8,5),i&2){let e=l();u(e.changeType==="variation"?0:e.changeType==="seat"?1:-1)}}var $t=(()=>
1{let r=class r{constructor(t){this.router=t,this.changeResult=null,this.variationName=null,this.hasStateData=!1,this.changeType="variation",this.oldSection=null,this.oldRow=null,this.oldSeat=null,this.newSection=null,this.newRow=null,this.newSeat=null}ngOnInit(){let t=window.history.state;this.changeResult=t?.changeResult||null,this.changeType=t?.changeType||"variation",this.hasStateData=!!(t?.changeResult||t?.selectedVariation||t?.changeType),t?.selectedVariation&&(this.variationName=t.selectedVariation.Name),this.changeResult?.NewPriceVariationName&&(this.variationName=this.changeResult.NewPriceVariationName),this.changeType==="seat"&&(this.oldSection=t?.oldSection||null,this.oldRow=t?.oldRow||null,this.oldSeat=t?.oldSeat||null,this.newSection=t?.newSection||t?.changeResult?.NewSectionName||null,this.newRow=t?.newRow||t?.changeResult?.NewRowNumber||null,this.newSeat=t?.newSeat||t?.changeResult?.NewSeatNumber||null)}viewTickets(){this.router.navigate(["/tickets/overview"])}};r.\u0275fac=function(n){return new(n||r)(x(I))},r.\u0275cmp=S({type:r,selectors:[["app-ticket-change-success"]],standalone:!1,decls:6,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","24px","role","status",1,"ticket-change-container","success-container"],[1,"success-icon"],[1,"fas","fa-check-circle"],["type","primary","text","TICKET-CHANGE.SUCCESS.VIEW-TICKETS",3,"click"],[1,"success-title"],[1,"success-message"],[1,"change-summary"],[1,"summary-variation"],[1,"summary-price"],["fxLayout","column","fxLayoutGap","12px",1,"seat-change-summary"],[1,"seat-detail"],[1,"seat-arrow"],[1,"fas","fa-arrow-down"],[1,"seat-label"],[1,"seat-value"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),v(2,"i",2),s(),g(3,zn,6,6)(4,Wn,2,1),c(5,"app-button",3),O("click",function(){return o.viewTickets()}),s()()),n&2&&(a(3),u(o.hasStateData?4:3))},dependencies:[$,L,N,R,W,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}.success-container[_ngcontent-%COMP%]{padding-top:64px;text-align:center}.success-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:72px;color:#4caf50}.success-title[_ngcontent-%COMP%]{margin:0;font-size:24px;font-weight:600;color:#333}.success-message[_ngcontent-%COMP%]{font-size:16px;color:#666;margin:0}.change-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px 24px;text-align:center;display:flex;flex-direction:column;gap:4px}.change-summary[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.change-summary[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:14px;color:#666}.seat-change-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px 24px;text-align:center;min-width:250px}.seat-detail[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.seat-label[_ngcontent-%COMP%]{font-size:11px;text-transform:uppercase;color:#757575;font-weight:600}.seat-value[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.seat-arrow[_ngcontent-%COMP%]{color:#999;font-size:16px}@media(max-width:599px){.success-container[_ngcontent-%COMP%]{padding-top:40px}}"]});let i=r;return i})();var qn=i=>[i,"EUR","symbol","1.2-2","nl"],$n=(i,r)=>r.PendingTicketChangeId;function Qn(i,r){if(i&1&&(c(0,"div",5)(1,"b"),d(2),s(),c(3,"span"),d(4),s(),c(5,"span"),d(6),m(7,"currency"),s()()),i&2){let e=r.$implicit,t=l(2);a(2),_(e.EventName),a(2),_(t.ticketChangeBasketPosition(e,!0)),a(2),_(pt(7,3,dt(9,qn,e.AmountDue)))}}function Yn(i,r){if(i&1){let e=M();c(0,"div",1),v(1,"i",2),s(),c(2,"h2",3),d(3),m(4,"translate"),s(),c(5,"p",4),d(6),m(7,"translate"),s(),oe(8,Qn,8,11,"div",5,$n),c(10,"app-button",6),O("click",function(){h(e);let n=l();return C(n.viewTickets())}),s()}if(i&2){let e=l();a(3),_(f(4,2,"TICKET-CHANGE.BASKET.CONFIRMATION.SUCCESS-TITLE")),a(3),_(f(7,4,"TICKET-CHANGE.BASKET.CONFIRMATION.SUCCESS-MESSAGE")),a(2),ae(e.confirmation==null?null:e.confirmation.Lines)}}function Xn(i,r){if(i&1){let e=M();c(0,"div",1),v(1,"i",7),s(),c(2,"h2",3),d(3),m(4,"translate"),s(),c(5,"app-button",6),O("click",function(){h(e);let n=l();return C(n.viewTickets())}),s()}i&2&&(a(3),_(f(4,1,"TICKET-CHANGE.BASKET.CONFIRMATION.FAILED-TITLE")))}function Zn(i,r){if(i&1){let e=M();c(0,"h2",3),d(1),m(2,"translate"),s(),c(3,"app-button",6),O("click",function(){h(e);let n=l();return C(n.viewTickets())}),s()}i&2&&(a(),_(f(2,1,"TICKET-CHANGE.BASKET.CONFIRMATION.STILL-PROCESSING")))}function Jn(i,r){i&1&&(v(0,"app-base-loader"),c(1,"h2",3),d(2),m(3,"translate"),s()),i&2&&(a(2),_(f(3,1,"TICKET-CHANGE.BASKET.CONFIRMATION.PENDING-TITLE")))}var Qt=(()=>
1{let r=class r{constructor(t,n,o,p,P,w,y){this.route=t,this.router=n,this.ticketChangeService=o,this.shoppingCartService=p,this.shopGuardHelperService=P,this.layoutService=w,this.gtmService=y,this.confirmation=null,this.pollCount=0,this.maxPollCount=60,this.pollInterval=5e3,this.stillProcessing=!1,this.polling=!1,this.ticketChangeBasketPosition=Ot,this.pollingSubscription=null,this.requestSubscription=null,this.purchaseReported=!1}ngOnInit(){this.paymentReference=this.route.snapshot.paramMap.get("paymentReference"),this.clientReference=this.route.snapshot.paramMap.get("clientReference"),this.layoutService.updateLayout(new vt("TICKET-CHANGE.BASKET.CONFIRMATION.TITLE",!1)),this.shoppingCartService.awaitingPendingOrderPayment=!0,this.shoppingCartService.cancelTimer(),this.shopGuardHelperService.leaveQueueWhenIn(),this.startPolling()}ngOnDestroy(){this.stopPolling()}startPolling(){this.polling=!0,this.pollCount=0,this.poll()}poll(){!this.polling||this.pollCount>=this.maxPollCount||(this.pollCount++,this.requestSubscription=this.ticketChangeService.getTicketChangeBasketConfirmation(this.paymentReference,this.clientReference,!1).subscribe({next:t=>this.handleConfirmation(t),error:()=>{this.stillProcessing=!0,this.stopPolling()}}))}handleConfirmation(t){if(this.confirmation=t,this.isTerminalStatus(t.Status)){t.Status==="completed"&&this.reportPurchase(),this.shoppingCartService.clearPendingOrder(),this.stopPolling();return}if(t.Status!=="pending"||this.pollCount>=this.maxPollCount){this.stillProcessing=t.Status==="pending",this.stopPolling();return}this.pollingSubscription=rt(this.pollInterval).subscribe(()=>this.poll())}isTerminalStatus(t){return t==="completed"||t==="failed"||t==="cancelled"}reportPurchase(){if(this.purchaseReported)return;this.purchaseReported=!0;let t=this.confirmation?.Lines||[];this.gtmService.purchaseEvent(this.paymentReference,0,this.confirmation?.TotalAmount||0,zt(t))}stopPolling(){this.pollingSubscription?.unsubscribe(),this.pollingSubscription=null,this.requestSubscription?.unsubscribe(),this.requestSubscription=null,this.polling=!1}viewTickets(){this.router.navigate(["/tickets/overview"])}};r.\u0275fac=function(n){return new(n||r)(x(J),x(I),x(z),x(te),x(wt),x(bt),x(kt))},r.\u0275cmp=S({type:r,selectors:[["app-ticket-change-basket-confirmation"]],standalone:!1,decls:5,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","24px",1,"ticket-change-container","success-container"],[1,"success-icon"],[1,"fas","fa-check-circle"],[1,"success-title"],[1,"success-message"],["data-testid","ticket-change-confirmation-line",1,"change-summary"],["type","primary","text","TICKET-CHANGE.BASKET.CONFIRMATION.VIEW-TICKETS",3,"click"],[1,"fas","fa-times-circle"]],template:function(n,o){n&1&&(c(0,"div",0),g(1,Yn,11,6)(2,Xn,6,3)(3,Zn,4,3)(4,Jn,4,3),s()),n&2&&(a(),u((o.confirmation==null?null:o.confirmation.Status)==="completed"?1:(o.confirmation==null?null:o.confirmation.Status)==="failed"||(o.confirmation==null?null:o.confirmation.Status)==="cancelled"?2:o.stillProcessing?3:4))},dependencies:[$,Pt,L,N,R,W,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}.success-container[_ngcontent-%COMP%]{padding-top:64px;text-align:center}.success-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:72px;color:#4caf50}.success-title[_ngcontent-%COMP%]{margin:0;font-size:24px;font-weight:600}.success-message[_ngcontent-%COMP%]{margin:0}.change-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;display:flex;flex-direction:column;gap:4px;padding:16px 24px}"]});let i=r;return i})();var Ke="ticket-change:flow-state",Y=(()=>
1{let r=class r{constructor(){this._options=null,this._eventId=null,this._eventName=null,this._eventStartDate=null,this._orderLineId=null,this._activeHoldEpId=null,this.hydrateFromStorage()}get options(){return this._options}get currentDetails(){return this._options?.CurrentTicketDetails||null}get availableSections(){return this._options?.AvailableSections||[]}get eventId(){return this._eventId??this._options?.CurrentTicketDetails?.EventId??null}get eventName(){return this._eventName}get eventStartDate(){return this._eventStartDate}get orderLineId(){return this._orderLineId}get activeHoldEpId(){return this._activeHoldEpId}get isInitialized(){return this._options!==null}initialize(t,n,o,p,P){this._options=t,this._eventId=n,this._eventName=o,this._eventStartDate=p,this._orderLineId=P,this.persistHoldState()}setActiveHold(t){this._activeHoldEpId=t,this.persistHoldState()}clear(){this._options=null,this._eventId=null,this._eventName=null,this._eventStartDate=null,this._orderLineId=null,this._activeHoldEpId=null,sessionStorage.removeItem(Ke)}persistHoldState(){if(this._orderLineId===null)return;let t={orderLineId:this._orderLineId,activeHoldEpId:this._activeHoldEpId,options:this._options,eventId:this._eventId,eventName:this._eventName,eventStartDate:this._eventStartDate};sessionStorage.setItem(Ke,JSON.stringify(t))}hydrateFromStorage(){let t=sessionStorage.getItem(Ke);if(t)try{let n=JSON.parse(t);typeof n?.orderLineId=="number"&&(this._orderLineId=n.orderLineId,this._activeHoldEpId=typeof n.activeHoldEpId=="number"?n.activeHoldEpId:null,this._options=n.options??null,this._eventId=n.eventId??null,this._eventName=n.eventName??null,this._eventStartDate=n.eventStartDate??null)}catch{sessionStorage.removeItem(Ke)}}};r.\u0275fac=function(n){return new(n||r)},r.\u0275prov=fe({token:r,factory:r.\u0275fac});let i=r;return i})();var ti=["container"],Yt=(()=>{let r=class r{constructor(){this.highlightLabel="",this.renderFrameId=null,this.renderAttemptTimeout=null,this.renderAttempts=0}ngAfterViewInit(){this.scheduleRenderAdjustments(),this.resizeObserver=new ResizeObserver(()=>{this.scheduleRenderAdjustments()}),this.resizeObserver.observe(this.containerRef.nativeElement),this.mutationObserver=new MutationObserver(()=>this.scheduleRenderAdjustments()),this.mutationObserver.observe(this.containerRef.nativeElement,{childList:!0,subtree:!0})}ngOnChanges(){this.scheduleRenderAdjustments()}ngOnDestroy(){this.resizeObserver?.disconnect(),this.mutationObserver?.disconnect(),this.renderFrameId!==null&&(cancelAnimationFrame(this.renderFrameId),this.renderFrameId=null),this.renderAttemptTimeout&&clearTimeout(this.renderAttemptTimeout)}scheduleRenderAdjustments(){this.containerRef?.nativeElement&&(this.renderFrameId!==null&&(cancelAnimationFrame(this.renderFrameId),this.renderFrameId=null),this.renderAttemptTimeout&&clearTimeout(this.renderAttemptTimeout),this.renderFrameId=requestAnimationFrame(()=>{this.renderFrameId=null,this.fitSvgToContainer(),this.renderSnapshotSeatState()}))}fitSvgToContainer(){let t=this.containerRef.nativeElement,n=t.querySelector("svg");if(!n)return;let o=16,p=t.clientWidth-o*2,P=t.clientHeight-o*2,w=n.getAttribute("viewBox"),y,V;if(w){let it=w.split(" ").map(Number);y=it[2],V=it[3]}else y=n.width.baseVal.value||n.getBoundingClientRect().width,V=n.height.baseVal.value||n.getBoundingClientRect().height;if(!y||!V||!p||!P)return;let Z=p/y,be=P/V,H=Math.min(Z,be),sn=y*H,ln=V*H,dn=o+(p-sn)/2,pn=o+(P-ln)/2;n.style.transformOrigin="0 0",n.style.transform=`translate(${dn}px, ${pn}px) scale(${H})`}renderSnapshotSeatState(){if(!this.highlightPlacementId)return;let t=this.containerRef.nativeElement,n=t.querySelector("svg"),o=t.querySelectorAll("g[data-id]");if(!n||o.length===0){this.retryRenderSnapshotState();return}n.classList.add("seat-snapshot-svg--readonly"),o.forEach(y=>{y.classList.remove("current-seat-highlight")});let p=t.querySelector(`g[data-id="${this.highlightPlacementId}"]`);if(!p){this.retryRenderSnapshotState();return}this.renderAttempts=0,p.classList.add("current-seat-highlight"),p.setAttribute("cursor","default");let P=p.querySelector("path");P&&(P.setAttribute("fill","var(--club-main-color, #1976d2)"),P.setAttribute("stroke","#1b3f7a"),P.setAttribute("stroke-width","0.25"));let w=p.querySelector("text");
1w&&(w.setAttribute("fill","#ffffff"),w.setAttribute("opacity","1"))}retryRenderSnapshotState(){this.renderAttempts>=10||(this.renderAttempts+=1,this.renderAttemptTimeout=setTimeout(()=>{this.fitSvgToContainer(),this.renderSnapshotSeatState()},40))}};r.\u0275fac=function(n){return new(n||r)},r.\u0275cmp=S({type:r,selectors:[["app-seat-snapshot"]],viewQuery:function(n,o){if(n&1&&G(ti,7),n&2){let p;K(p=j())&&(o.containerRef=p.first)}},inputs:{seatPlan:"seatPlan",highlightPlacementId:"highlightPlacementId",highlightLabel:"highlightLabel"},standalone:!1,features:[qe],decls:3,vars:1,consts:[["container",""],[1,"seat-snapshot-container"],[3,"seatPlan"]],template:function(n,o){n&1&&(c(0,"div",1,0),v(2,"app-seatplan-renderer",2),s()),n&2&&(a(2),b("seatPlan",o.seatPlan))},dependencies:[ve],styles:[".seat-snapshot-container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:relative;display:flex;justify-content:center;align-items:center}.seat-snapshot-container[_ngcontent-%COMP%] #stadium-map{position:absolute;top:0;left:0}.seat-snapshot-container[_ngcontent-%COMP%] svg{display:block;position:absolute;top:0;left:0}.seat-snapshot-container[_ngcontent-%COMP%] .current-seat-highlight path{filter:drop-shadow(0 0 5px rgba(25,118,210,.5))}.seat-snapshot-container[_ngcontent-%COMP%] .seat-snapshot-svg--readonly{pointer-events:none;-webkit-user-select:none;user-select:none}.seat-snapshot-container[_ngcontent-%COMP%] .seat-label{pointer-events:none}"]});let i=r;return i})();function ii(i,r){if(i&1&&v(0,"img",15),i&2){let e=l(2);b("src",e.ticket.HomeTeamImageUrl,he)("alt",e.ticket.HomeTeamName)}}function oi(i,r){if(i&1&&v(0,"img",15),i&2){let e=l(2);b("src",e.ticket.AwayTeamImageUrl,he)("alt",e.ticket.AwayTeamName)}}function ai(i,r){if(i&1&&(c(0,"div",3),g(1,ii,1,2,"img",15),c(2,"span",16),d(3),s(),c(4,"span",17),d(5,"-"),s(),c(6,"span",16),d(7),s(),g(8,oi,1,2,"img",15),s()),i&2){let e=l();a(),u(e.ticket.HomeTeamImageUrl?1:-1),a(2),_(e.ticket.HomeTeamName),a(4),_(e.ticket.AwayTeamName),a(),u(e.ticket.AwayTeamImageUrl?8:-1)}}function ri(i,r){i&1&&v(0,"hr",4)}function ci(i,r){if(i&1&&(c(0,"div",6)(1,"div",18),d(2),m(3,"translate"),s(),c(4,"div",19),d(5),m(6,"replaceOnEmpty"),s()()),i&2){let e=l();a(2),k(" ",f(3,2,(e.ticket==null||e.ticket.TicketStatus==null?null:e.ticket.TicketStatus.Status)==="InvitationPending"?"VIEWS.TICKETS-LIST.LABEL.NAME.INVITE":"VIEWS.TICKETS-LIST.LABEL.NAME")," "),a(3),_(f(6,4,e.ticket.TicketCustomerName))}}function si(i,r){if(i&1&&(c(0,"div",7)(1,"div",12),d(2),m(3,"translate"),s(),c(4,"div",20),v(5,"app-ticket-status",21),s()()),i&2){let e=l();a(2),_(f(3,2,"VIEWS.TICKETS-LIST.LABEL.STATUS")),a(3),b("ticket",e.ticket)}}function li(i,r){if(i&1&&(c(0,"div",23)(1,"div",24),d(2),m(3,"translate"),s(),c(4,"div",25),d(5),s()()),i&2){let e=l(2);a(2),_(f(3,2,"VIEWS.TICKETS-LIST.LABEL.SECTION")),a(3),_(e.ticketDetails.SectionName)}}function di(i,r){if(i&1&&(c(0,"div",8)(1,"div",12),d(2),m(3,"translate"),s(),c(4,"div",22),g(5,li,6,4,"div",23),c(6,"div",23)(7,"div",24),d(8),m(9,"translate"),s(),c(10,"div",25),d(11),s()(),c(12,"div",23)(13,"div",24),d(14),m(15,"translate"),s(),c(16,"div",25),d(17),s()()()()),i&2){let e=l();a(2),_(f(3,6,"TICKET-CHANGE.OPTIONS.CURRENT-SEAT")),a(3),u(e.ticketDetails!=null&&e.ticketDetails.SectionName?5:-1),a(3),_(f(9,8,"VIEWS.TICKETS-LIST.LABEL.ROW")),a(3),_((e.ticketDetails==null?null:e.ticketDetails.RowNumber)||"-"),a(3),_(f(15,10,"VIEWS.TICKETS-LIST.LABEL.SEAT")),a(3),_((e.ticketDetails==null?null:e.ticketDetails.SeatNumber)||"-")}}function pi(i,r){i&1&&v(0,"hr",4)}function mi(i,r){if(i&1&&(c(0,"div",10)(1,"div",12),d(2),m(3,"translate"),s(),c(4,"div",13),d(5),s()()),i&2){let e=l();a(2),_(f(3,2,"TICKET-CHANGE.OPTIONS.PRICE-VARIANT")),a(3),_(e.ticketDetails.VariationName)}}function gi(i,r){i&1&&(c(0,"div",27),v(1,"app-loader",29),s()),i&2&&(a(),b("displayOn",!0))}
1function ui(i,r){if(i&1&&(v(0,"app-seat-snapshot",28),m(1,"translate")),i&2){let e=l(2);b("seatPlan",e.seatPlanData)("highlightPlacementId",e.seatEventPlacementId)("highlightLabel",f(1,3,"TICKET-CHANGE.SEAT.CURRENT-SEAT-LABEL"))}}function _i(i,r){if(i&1&&(c(0,"div",14)(1,"div",26),d(2),m(3,"translate"),s(),g(4,gi,2,1,"div",27),g(5,ui,2,5,"app-seat-snapshot",28),s()),i&2){let e=l();a(2),_(f(3,3,"TICKET-CHANGE.OPTIONS.CURRENT-SEAT")),a(2),u(e.loadingSnapshot?4:-1),a(),u(e.showSnapshot&&e.seatPlanData?5:-1)}}var je=(()=>{let r=class r{constructor(){this.ticket=null,this.ticketDetails=null,this.loadingSnapshot=!1,this.showSnapshot=!1,this.seatPlanData=null,this.seatEventPlacementId=null}hasSeatInfo(){return!!(this.ticketDetails?.SectionName||this.ticketDetails?.RowNumber||this.ticketDetails?.SeatNumber)}};r.\u0275fac=function(n){return new(n||r)},r.\u0275cmp=S({type:r,selectors:[["app-current-ticket-header"]],inputs:{ticket:"ticket",ticketDetails:"ticketDetails",loadingSnapshot:"loadingSnapshot",showSnapshot:"showSnapshot",seatPlanData:"seatPlanData",seatEventPlacementId:"seatEventPlacementId"},standalone:!1,decls:21,vars:19,consts:[[1,"current-ticket-overview"],[1,"current-ticket-summary","current-ticket-overview__ticket"],[1,"summary-layout"],[1,"match-header"],[1,"summary-divider"],["fxLayout","row","fxLayoutAlign","start end","fxLayoutGap","16px",1,"summary-row","summary-row__top"],["fxFlex","",1,"summary-ticket-holder"],[1,"summary-status-holder"],[1,"summary-row","summary-row__seat"],["fxLayout","row","fxLayoutAlign","space-between end","fxLayoutGap","16px",1,"summary-row","summary-row__price"],[1,"summary-field"],[1,"summary-field","summary-field__price"],[1,"summary-meta-label"],[1,"summary-field-value"],[1,"current-seat-snapshot","current-ticket-overview__map"],[1,"match-team-logo",3,"src","alt"],[1,"match-team-name"],[1,"match-separator"],[1,"summary-ticket-holder__label","summary-meta-label"],[1,"summary-ticket-holder__value"],[1,"summary-ticket-status"],[3,"ticket"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","8px","fxLayoutWrap","",1,"summary-fields","seat-fields"],[1,"seat-card"],[1,"seat-card__label"],[1,"seat-card__value"],[1,"summary-field-label"],[1,"current-seat-snapshot__loading"],[1,"current-seat-snapshot__viewer",3,"seatPlan","highlightPlacementId","highlightLabel"],["message","",3,"displayOn"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),g(3,ai,9,4,"div",3),g(4,ri,1,0,"hr",4),c(5,"div",5),g(6,ci,7,6,"div",6),g(7,si,6,4,"div",7),s(),v(8,"hr",4),g(9,di,18,12,"div",8),g(10,pi,1,0,"hr",4),c(11,"div",9),g(12,mi,6,4,"div",10),c(13,"div",11)(14,"div",12),d(15),m(16,"translate"),s(),c(17,"div",13),d(18),m(19,"currency"),s()()()()(),g(20,_i,6,5,"div",14),s()),n&2&&(U("current-ticket-overview__with-map",o.loadingSnapshot||o.seatPlanData),a(3),u(o.ticket!=null&&o.ticket.HomeTeamName||o.ticket!=null&&o.ticket.AwayTeamName?3:-1),a(),u(o.ticket!=null&&o.ticket.HomeTeamName||o.ticket!=null&&o.ticket.AwayTeamName?4:-1),a(2),u(o.ticket?6:-1),a(),u(o.ticket!=null&&o.ticket.TicketStatus?7:-1),a(2),u(o.hasSeatInfo()?9:-1),a(),u(o.hasSeatInfo()?10:-1),a(2),u(o.ticketDetails!=null&&o.ticketDetails.VariationName?12:-1),a(3),_(f(16,12,"TICKET-CHANGE.OPTIONS.PRICE")),a(3),_(T(19,14,o.ticketDetails==null?null:o.ticketDetails.CurrentPrice,"EUR","symbol","1.2-2")),a(2),u(o.loadingSnapshot||o.seatPlanData?20:-1))},dependencies:[Vt,L,N,R,Q,He,Yt,W,St,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}"]});let i=r;return i})();function fi(i,r){if(i&1){let e=M();c(0,"app-error-state",5),O("action",function(){h(e);let n=l();return C(n.goBack())}),s()}if(i&2){let e=l();b("message",e.errorMessage)}}function hi(i,r){if(i&1&&v(0,"app-current-ticket-header",3),i&2){let e=l();b("ticket",e.ticket)("ticketDetails",e.options.CurrentTicketDetails)("loadingSnapshot",e.snapshot.loading)("showSnapshot",e.snapshot.showSnapshot)("seatPlanData",e.snapshot.seatPlanData)("seatEventPlacementId",e.snapshot.seatEventPlacementId)}}function Ci(i,r){if(i&1){let e=M();c(0,"div",7),m(1,"translate"),O("click",function(){h(e);let n=l(2);return C(n.selectVariationChange())})("keydown.enter",function(){h(e);let n=l(2);return C(n.selectVariationChange())})("keydown.space",function(n){return h(e),l(2).selectVariationChange(),C(n.preventDefault())}),c(2,"div",8)(3,"div",9),v(4,"i",10),s(),c(5,"div",11)(6,"span",12),d(7),m(8,"translate"),s(),c(9,"span",13),d(10),m(11,"translate"),s()(),v(12,"i",14),s()()}i&2&&(D("aria-label",f(1,3,"TICKET-CHANGE.OPTIONS.VARIATION-OPTION")),a(7),_(f(8,5,"TICKET-CHANGE.OPTIONS.VARIATION-OPTION")),a(3),_(f(11,7,"TICKET-CHANGE.OPTIONS.VARIATION-DESCRIPTION")))}function xi(i,r){if(i&1){let e=M();c(0,"div",7),m(1,"translate"),O("click",function(){h(e);let n=l(2);return C(n.selectSeatChange())})("keydown.enter",function(){h(e);let n=l(2);return C(n.selectSeatChange())})("keydown.space",function(n){return h(e),l(2).selectSeatChange(),C(n.preventDefault())}),c(2,"div",8)(3,"div",9),v(4,"i",15),s(),c(5,"div",11)(6,"span",12),d(7),m(8,"translate"),s(),c(9,"span",13),d(10),m(11,"translate"),s()(),v(12,"i",14),s()()}i&2&&(D("aria-label",f(1,3,"TICKET-CHANGE.OPTIONS.SEAT-OPTION")),a(7),_(f(8,5,"TICKET-CHANGE.OPTIONS.SEAT-OPTION")),a(3),_(f(11,7,"TICKET-CHANGE.OPTIONS.SEAT-DESCRIPTION")))}function vi(i,r){if(i&1&&(c(0,"div",4),g(1,Ci,13,9,"div",6),g(2,xi,13,9,"div",6),s()),i&2){let e=l();a(),u(e.options.VariationChangeAllowed?1:-1),a(),u(e.options.SeatChangeAllowed?2:-1)}}var Zt=(()=>
1{let r=class r{constructor(t,n,o,p,P,w,y){this.route=t,this.router=n,this.ticketChangeService=o,this.appLoader=p,this.stateService=P,this.translate=w,this.snapshot=y,this.options=null,this.ticket=null,this.errorMessage=null,this.loading=!0,this.eventId=null,this.eventName=null,this.eventStartDate=null,this.destroy$=new F}ngOnInit(){if(this.stateService.clear(),this.orderLineId=Number(this.route.snapshot.paramMap.get("orderLineId")),isNaN(this.orderLineId)){this.router.navigate(["/tickets"]);return}let t=window.history.state;this.eventId=t?.eventId||null,this.eventName=t?.eventName||null,this.eventStartDate=t?.eventStartDate||null,this.ticket=t?.ticket||null,this.loadOptions()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}loadOptions(){let t=this.appLoader.open("seat-change-options");this.ticketChangeService.getTicketChangeOptions(this.orderLineId).pipe(E(this.destroy$)).subscribe(n=>{if(this.appLoader.close(t),this.loading=!1,!n.VariationChangeAllowed&&!n.SeatChangeAllowed){this.errorMessage=n.UnavailableReason||"TICKET-CHANGE.ERROR.UNAVAILABLE";return}if(this.options=n,this.stateService.initialize(n,this.eventId,this.eventName,this.eventStartDate,this.orderLineId),this.snapshot.load(this.options,this.ticket,this.eventId),n.VariationChangeAllowed&&!n.SeatChangeAllowed){this.selectVariationChange(!0);return}if(!n.VariationChangeAllowed&&n.SeatChangeAllowed){this.selectSeatChange(!0);return}},()=>{this.appLoader.close(t),this.loading=!1,this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"})}selectVariationChange(t=!1){this.router.navigate(["/ticket-change",this.orderLineId,"variation"],{state:{eventName:this.eventName,eventStartDate:this.eventStartDate,ticket:this.ticket},replaceUrl:t})}selectSeatChange(t=!1){this.router.navigate(["/ticket-change",this.orderLineId,"seat","venue"],{replaceUrl:t})}goBack(){this.router.navigate(["/tickets/overview"])}};r.\u0275fac=function(n){return new(n||r)(x(J),x(I),x(z),x(q),x(Y),x(ee),x(ie))},r.\u0275cmp=S({type:r,selectors:[["app-seat-change-options"]],standalone:!1,features:[_e([ie])],decls:5,vars:4,consts:[["title","TICKET-CHANGE.OPTIONS.TITLE","backText","TICKET-CHANGE.ERROR.BACK",3,"onBack","forceShowBacklink"],["fxLayout","column","fxLayoutGap","16px",1,"ticket-change-container"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"message"],[3,"ticket","ticketDetails","loadingSnapshot","showSnapshot","seatPlanData","seatEventPlacementId"],["fxLayout","column","fxLayoutGap","12px",1,"option-list"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"action","message"],["tabindex","0","role","button",1,"option-card","option-card__selectable"],["tabindex","0","role","button",1,"option-card","option-card__selectable",3,"click","keydown.enter","keydown.space"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","16px"],[1,"option-icon"],[1,"fas","fa-tags"],["fxLayout","column","fxFlex",""],[1,"option-title"],[1,"option-description"],[1,"fas","fa-chevron-right","option-arrow"],[1,"fas","fa-chair"]],template:function(n,o){n&1&&(c(0,"app-title-bar",0),O("onBack",function(){return o.goBack()}),s(),c(1,"div",1),g(2,fi,1,1,"app-error-state",2),g(3,hi,1,6,"app-current-ticket-header",3),g(4,vi,3,2,"div",4),s()),n&2&&(b("forceShowBacklink",!0),a(2),u(o.errorMessage?2:-1),a(),u(o.options!=null&&o.options.CurrentTicketDetails?3:-1),a(),u(o.options?4:-1))},dependencies:[ne,re,L,N,R,Q,je,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}"]});let i=r;return i})();var Oi=["panzoomPageContainer"],Pi=["seatingList"],Jt=(i,r)=>({availableCount:i,totalCount:r});function Mi(i,r){if(i&1&&(c(0,"div",7)(1,"div",8),d(2),m(3,"translate"),s(),c(4,"div",9),d(5),s()()),i&2){let e=l(2);a(2),_(f(3,2,"VIEWS.TICKETS-LIST.LABEL.SECTION")),a(3),_(e.currentDetails.SectionName)}}function wi(i,r){if(i&1&&(c(0,"div",4)(1,"div",6),d(2),m(3,"translate"),s(),g(4,Mi,6,4,"div",7),c(5,"div",7)(6,"div",8),d(7),m(8,"translate"),s(),c(9,"div",9),d(10),s()(),c(11,"div",7)(12,"div",8),d(13),m(14,"translate"),s(),c(15,"div",9),d(16),s()()()),i&2){let e=l();a(2),k(" ",f(3,6,"TICKET-CHANGE.OPTIONS.CURRENT-SEAT")," "),a(2),u(e.currentDetails.SectionName?4:-1),a(3),_(f(8,8,"VIEWS.TICKETS-LIST.LABEL.ROW")),a(3),_(e.currentDetails.RowNumber?e.currentDetails.RowNumber:"-"),a(3),_(f(14,10,"VIEWS.TICKETS-LIST.LABEL.SEAT")),a(3),_(e.currentDetails.SeatNumber?e.currentDetails.SeatNumber:"-")}
1}function yi(i,r){if(i&1){let e=M();c(0,"app-error-state",10),O("action",function(){h(e);let n=l();return C(n.goBack())}),s()}if(i&2){let e=l();b("message",e.errorMessage)}}function ki(i,r){if(i&1){let e=M();c(0,"app-venue-filter",26),O("onFilterChanged",function(n){h(e);let o=l(2);return C(o.handleFilterChanged(n))}),s()}if(i&2){let e=l(2);b("availability",e.availability)("isFindingSeats",!1)("filterDisplaySettings",e.displayFilterSettings)}}function Si(i,r){if(i&1&&v(0,"app-format-translation",15),i&2){let e=l(2);b("params",$e(1,Jt,e.availableSectorCount,e.totalSectorCount))}}function Ei(i,r){if(i&1){let e=M();c(0,"app-seating-list-item",27),O("itemClick",function(n){h(e);let o=l(2);return C(o.handleManualSectionClick(n))}),s()}if(i&2){let e=r.$implicit,t=r.$index,n=l(2);b("item",e)("filterCodes",n.getFilterCodes(e.EventPlacementId))("minPrice",n.getMinPrice(e.EventPlacementId))("maxPrice",n.getMaxPrice(e.EventPlacementId))("showParentHeader",n.shouldShowParentHeader(t))("showSectionLabels",n.displayFilterSettings.DisplayFilters)}}function Ti(i,r){if(i&1&&v(0,"app-format-translation",24),i&2){let e=l(2);b("params",$e(1,Jt,e.availableSectorCount,e.totalSectorCount))}}function Ii(i,r){if(i&1&&(c(0,"span",30),d(1),s()),i&2){let e=l(3);a(),k(" ",e.mobileActiveFilterCount," ")}}function Ai(i,r){if(i&1){let e=M();c(0,"button",28),m(1,"translate"),O("click",function(){h(e);let n=l(2);return C(n.openMobileFiltersModal())}),v(2,"i",29),g(3,Ii,2,1,"span",30),s()}if(i&2){let e=l(2);D("aria-label",(e.mobileActiveFilterCount>0?"BTN.OPEN-FILTERS-WITH-COUNT":f(1,2,"BTN.OPEN-FILTERS"))+(e.mobileActiveFilterCount>0?" ("+e.mobileActiveFilterCount+" active)":"")),a(3),u(e.mobileActiveFilterCount>0?3:-1)}}function Ri(i,r){if(i&1){let e=M();g(0,ki,1,3,"app-venue-filter",11),c(1,"div",12)(2,"div",13)(3,"div",14,1),g(5,Si,1,4,"app-format-translation",15),oe(6,Ei,1,6,"app-seating-list-item",16,Ce),s()(),c(8,"div",17)(9,"app-panzoom",18),O("onClick",function(n){h(e);let o=l();return C(o.venueComponent.handleClick(n.e,n.changed))}),c(10,"app-venue-renderer",19),O("onSectionClicked",function(n){h(e);let o=l();return C(o.handleSectionClick(n))}),s()(),c(11,"div",20)(12,"div",21)(13,"h4",22),v(14,"app-format-translation",23),s(),g(15,Ti,1,4,"app-format-translation",24),s(),g(16,Ai,4,4,"button",25),s()()()}if(i&2){let e=l();u(e.availability!=null?0:-1),a(5),u(e.totalSectorCount>0?5:-1),a(),ae(e.visibleSectionList),a(3),b("maxHeight",e.panzoomMaxHeight)("hasSeatingList",e.hasSeatingList),a(6),u(e.totalSectorCount>0?15:-1),a(),u(e.hasFilters?16:-1)}}function Ni(i,r){if(i&1){let e=M();c(0,"div",40),O("click",function(){h(e);let n=l(2);return C(n.closeMobileFiltersModal())}),s()}}function Li(i,r){if(i&1){let e=M();c(0,"app-venue-filter",41),O("onFilterChanged",function(n){h(e);let o=l(2);return C(o.handleFilterChanged(n))})("onCloseModal",function(){h(e);let n=l(2);return C(n.closeMobileFiltersModal())}),s()}if(i&2){let e=l(2);b("availability",e.availability)("isFindingSeats",!1)("filterDisplaySettings",e.displayFilterSettings)}}function Vi(i,r){if(i&1){let e=M();g(0,Ni,1,0,"div",31),c(1,"div",32)(2,"div",33)(3,"p",34),v(4,"app-format-translation",35),s(),c(5,"button",36),O("click",function(){h(e);let n=l();return C(n.closeMobileFiltersModal())}),v(6,"i",37),s()(),c(7,"div",38),g(8,Li,1,3,"app-venue-filter",39),s()()}if(i&2){let e=l();u(e.showMobileFiltersModal?0:-1),a(),lt("--mobile-filters-top-offset","calc("+e.svgHolderHeight+"px + var(--header-height-total))"),U("open",e.showMobileFiltersModal),a(7),u(e.availability!=null?8:-1)}}var en=(()=>{let r=class r{constructor(t,n,o,p,P,w){this.router=t,this.venueService=n,this.appLoader=o,this.stateService=p,this.translate=P,this.venueFilterService=w,this.planLoaded=!1,this.errorMessage=null,this.panzoomMaxHeight=0,this.svgHolderHeight=0,this.hasSeatingList=!1,this.showMobileFiltersModal=!1,this.availability=null,this.displayFilterSettings={DisplayFilters:!0,DisplayBestSeatSelection:!1},this.sectionListArray=[],this.filteredEpIds=null,this.mobileActiveFilterCount=0,this.availableSectorCount=0,this.venuePlanSvg="",this.sections=[],this.eligibleSectionIds=new Set,this.allSectionsEligible=!1,this.destroy$=new F}get currentDetails(){return this.stateService.currentDetails}get hasFilters(){return!!this.displayFilterSettings?.DisplayFilters&&!!this.availability?.Filters}get visibleSectionList(){return this.sectionListArray.filter(t=>this.isSectionEligibleByIds(t.VenueBuildingBlockId,t.HasTicketsAvailable,t.HasMarketplaceTicketsAvailable)?this.filteredEpIds===null||this.filteredEpIds.has(t.EventPlacementId):!1)}get totalSectorCount(){return this.sectionListArray.filter(t=>this.isSectionEligibleByIds(t.VenueBuildingBlockId,t.HasTicketsAvailable,t.HasMarketplaceTicketsAvailable)).length}ngOnDestroy(){this.closeMobileFiltersModal(),this.destroy$.next(),this.destroy$.complete()}ngAfterViewInit(){if(!this.stateService.isInitialized){this.redirectToOptions();return}this.buildEligibilitySet();let t=this.panzoomPageContainer.nativeElement.getBoundingClientRect().height;this.panzoomComponent.maxHeight=t,this.panzoomMaxHeight=t,this.hasSeatingList=this.seatingList!=null,this.updateSvgHolderHeight(),this.loadVenuePlan()}buildEligibilitySet(){let t=this.stateService.availableSections;if(!t||t.length===0){this.allSectionsEligible=!0;return}t.forEach(n=>
1{n.SectionId!=null&&this.eligibleSectionIds.add(n.SectionId)})}loadVenuePlan(){let t=this.stateService.eventId;if(!t){this.errorMessage="TICKET-CHANGE.ERROR.UNAVAILABLE";return}let n=this.appLoader.open("seat-change-venue@loadPlan");this.venueService.getAvailabilityBasePlan({EventIds:[t]},!1).pipe(E(this.destroy$)).subscribe(o=>{if(!o){this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.ERROR.UNAVAILABLE";return}this.venuePlanSvg=o.Base64BasePlan,this.loadSections(t,n)},()=>{this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"})}loadSections(t,n){this.venueService.getVenue({EventIds:[t]},!1).pipe(E(this.destroy$)).subscribe(o=>{let p=o?.Sections??[];if(p.length===0){this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.ERROR.UNAVAILABLE";return}this.availability=o,this.sections=p,this.sectionListArray=this.createSectionList(p),this.venueFilterService.initialize(o),this.mobileActiveFilterCount=this.venueFilterService.mobileActiveFilterCount,this.availableSectorCount=this.visibleSectionList.length,this.venueComponent.setVenuePlan(this.venuePlanSvg??"",p),this.panzoomComponent.initPanZoom().subscribe(()=>{this.updateSvgHolderHeight(),setTimeout(this.panzoomComponent.zoom.bind(this.panzoomComponent,-1),1),this.markIneligibleSections(p),this.venueComponent.applyFilteredEpIds(this.filteredEpIds)}),this.appLoader.close(n),this.planLoaded=!0},()=>{this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"})}createSectionList(t){return t.filter(n=>n.EventPlacementId!=null&&n.VenueBuildingBlockId!=null).map(n=>({Name:n.Name??"",EventPlacementId:n.EventPlacementId,HasTicketsAvailable:n.HasTicketsAvailable??!1,HasMarketplaceTicketsAvailable:n.HasMarketplaceTicketsAvailable??!1,ShortName:n.ShortName??"",VenueBuildingBlockId:n.VenueBuildingBlockId,HexColorCode:n.HexColorCode??"",ParentVenueBuildingBlockName:n.ParentVenueBuildingBlockName??""}))}markIneligibleSections(t){if(this.allSectionsEligible)return;let n=this.translate.instant("TICKET-CHANGE.SEAT.SECTION-UNAVAILABLE");t.forEach(o=>{if(o.VenueBuildingBlockId&&!this.eligibleSectionIds.has(o.VenueBuildingBlockId)){let p=this.panzoomPageContainer.nativeElement.querySelector(`g[data-id="${o.InternalId}"]`);if(!p)return;p.classList.add("seat-change-unavailable"),p.setAttribute("title",n)}})}isSectionEligible(t){let n=!!t.HasTicketsAvailable||!!t.HasMarketplaceTicketsAvailable;return this.allSectionsEligible?n:t.VenueBuildingBlockId==null?!1:this.eligibleSectionIds.has(t.VenueBuildingBlockId)&&n}isSectionEligibleByIds(t,n,o){return(this.allSectionsEligible||this.eligibleSectionIds.has(t))&&(n||o)}handleManualSectionClick(t){let n=this.sections.find(o=>o.VenueBuildingBlockId===t.VenueBuildingBlockId);n&&this.handleSectionClick(n)}handleFilterChanged(t){this.filteredEpIds=t,this.mobileActiveFilterCount=this.venueFilterService.mobileActiveFilterCount,this.availableSectorCount=this.visibleSectionList.length,this.venueComponent&&(this.venueComponent.applyFilteredEpIds(t),this.markIneligibleSections(this.sections))}getFilterCodes(t){return this.venueFilterService.getFilterCodes(t)}getMinPrice(t){return this.venueFilterService.getMinPrice(t)}getMaxPrice(t){return this.venueFilterService.getMaxPrice(t)}shouldShowParentHeader(t){if(t===0)return this.visibleSectionList[0]?.ParentVenueBuildingBlockName!=null;let n=this.visibleSectionList[t],o=this.visibleSectionList[t-1];return n?.ParentVenueBuildingBlockName!==o?.ParentVenueBuildingBlockName}openMobileFiltersModal(){this.updateSvgHolderHeight(),this.showMobileFiltersModal=!0,document.body.style.overflow="hidden",document.body.classList.add("mobile-filters-open")}closeMobileFiltersModal(){this.showMobileFiltersModal=!1,document.body.style.overflow="auto",document.body.classList.remove("mobile-filters-open")}updateSvgHolderHeight(){let n=this.panzoomPageContainer?.nativeElement?.querySelector("#focal")?.getBoundingClientRect().height;this.svgHolderHeight=n&&n>0?n:this.panzoomMaxHeight}handleSectionClick(t){this.isSectionEligible(t)&&this.router.navigate(["/ticket-change",this.stateService.orderLineId,"seat","section",t.VenueBuildingBlockId],{state:{sectionName:t.Name}})}goBack(){let t=this.stateService.options;if(t?.SeatChangeAllowed&&!t.VariationChangeAllowed){this.router.navigate(["/tickets/overview"]);return}this.redirectToOptions()}redirectToOptions(){let t=this.stateService.orderLineId||Number(this.router.url.split("/")[2]);this.router.navigate(["/ticket-change",t,"options"])}};r.\u0275fac=function(n){return new(n||r)(x(I),x(Ve),x(q),x(Y),x(ee),x(Et))},r.\u0275cmp=S({type:r,selectors:[["app-seat-change-venue"]],viewQuery:function(n,o){if(n&1&&(G(ce,5),G(Be,5),G(Oi,7),G(Pi,5)),n&2){let p;K(p=j())&&(o.panzoomComponent=p.first),K(p=j())&&(o.venueComponent=p.first),K(p=j())&&(o.panzoomPageContainer=p.first),K(p=j())&&(o.seatingList=p.first)}},standalone:!1,decls:7,vars:5,consts:[["panzoomPageContainer",""],["seatingList",""],["fxFlex","","fxLayout","column",1,"seat-change-venue"],["title","TICKET-CHANGE.SEAT.VENUE-TITLE","backText","TICKET-CHANGE.SEAT.BACK-TO-VENUE",1,"venue-header",3,"onBack","forceShowBacklink"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","8px","fxLayoutWrap","",1,"current-seat-bar"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"message"],[1,"current-seat-bar__label"],[1,"seat-card"],[1,"seat-card__label"],[1,"seat-card__value"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"action","message"],["fxHide","","fxShow.gt-md","",3,"availability","isFindingSeats","filterDisplaySettings"],["fxFlex","","fxLayout","column","fxLayout.gt-md","row","fxLayoutGap.gt-md","24px"],["fxFlex","","fxFlexOrder.gt-md","1","fxFlexOrder","2",1,"seating-list-heightwrapper"],["fxFlex","","fxLayout","column",1,"seating-list"],["translationKey","VIEWS.EVENT-VENUE.SECTOR-COUNT","fxHide","","fxShow.gt-md","",3,"params"],[3,"item","filterCodes","minPrice","maxPrice","showParentHeader","showSectionLabels"],["fxFlex","70%","fxFlexOrder.gt-md","2","fxFlexOrder","1","fxLayout","column","fxLayoutGap","16px",1,"svgholder","stickyToTop","pr-5"],[3,"onClick","maxHeight","hasSeatingList"],[3,"onSectionClicked"],["fxFlex","","fxLayout","row","fxLayoutAlign","space-between center","fxShow","","fxHide.gt-md","",1,"mobile-filterbar"],["fxFlex","","fxLayout","column","fxLayoutGap","4px"],[1,"mb-0"],["translationKey","VIEWS.EVENT-VENUE.SELECT-SECTOR"],["translationKey","VIEWS.EVENT-VENUE.SECTOR-COUNT",3,"params"],[1,"mobile-filters-button"],["fxHide","","fxShow.gt-md","",3,"onFilterChanged","availability","isFindingSeats","filterDisplaySettings"],[3,"itemClick","item","filterCodes","minPrice","maxPrice","showParentHeader","showSectionLabels"],[1,"mobile-filters-button",3,"click"],[1,"fas","fa-sliders"],[1,"mobile-filters-button__count"],["fxHide.gt-md","",1,"mobile-filters-backdrop"],["fxHide.gt-md","",1,"mobile-filters-modal"],[1,"mobile-filters-modal__header"],[1,"mobile-filters-modal__title"],["translationKey","VIEWS.EVENT-VENUE.FILTERS"],["aria-label","Close filters",1,"mobile-filters-modal__close",3,"click"],[1,"fa","fa-caret-down"],[1,"mobile-filters-modal__content"],[3,"availability","isFindingSeats","filterDisplaySettings"],["fxHide.gt-md","",1,"mobile-filters-backdrop",3,"click"],[3,"onFilterChanged","onCloseModal","availability","isFindingSeats","filterDisplaySettings"]],template:function(n,o){if(n&1){let p=M();c(0,"div",2,0)(2,"app-title-bar",3),O("onBack",function(){return h(p),C(o.goBack())}),s(),g(3,wi,17,12,"div",4),g(4,yi,1,1,"app-error-state",5),g(5,Ri,17,6),g(6,Vi,9,6),s()}n&2&&(a(2),b("forceShowBacklink",!0),a(),u(o.currentDetails?3:-1),a(),u(o.errorMessage?4:-1),a(),u(o.errorMessage?-1:5),a(),u(o.hasFilters?6:-1))},dependencies:[ne,Be,Bt,Ht,ce,re,Mt,L,N,R,yt,Q,xe,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}
1.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}[_nghost-%COMP%]{display:block}
1.seat-change-venue[_ngcontent-%COMP%]{width:1100px}@media(max-width:667px){.seat-change-venue[_ngcontent-%COMP%]{width:auto}}.venue-header[_ngcontent-%COMP%]{margin-bottom:16px;flex-shrink:0}.current-seat-bar[_ngcontent-%COMP%]{margin:0 16px 16px;flex-shrink:0}.current-seat-bar__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;color:#757575;margin-bottom:8px}.current-seat-bar[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:var(--offwhite, #eef2f6);padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-seat-bar[_ngcontent-%COMP%] .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;color:#757575;margin-bottom:4px}.current-seat-bar[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;font-weight:400}.seating-list[_ngcontent-%COMP%]{padding:0 8px 0 16px;max-height:calc(-23rem + 100vh);overflow-y:auto;position:relative;z-index:0}@media(max-width:667px){.seating-list[_ngcontent-%COMP%]{max-height:unset;overflow:hidden;padding:0 8px 60px}}@media(max-width:667px){.mobile-filterbar[_ngcontent-%COMP%]{padding:0 8px}}app-error-state[_ngcontent-%COMP%]{flex:1}@media(max-width:667px){.stickyToTop[_ngcontent-%COMP%]{position:sticky;top:var(--header-height);z-index:10;background-color:#fff;padding-bottom:10px;max-width:100vw}} .seat-change-unavailable{opacity:.3;cursor:not-allowed!important} .seat-change-unavailable path, .seat-change-unavailable polygon, .seat-change-unavailable rect, .seat-change-unavailable circle{fill:#ccc!important} .section.filtered-dimmed{opacity:.3;pointer-events:none} .section.filtered-out{opacity:.2;pointer-events:none}.mobile-filters-button[_ngcontent-%COMP%]{background-color:var(--club-main-color);width:40px;height:40px;position:relative;display:flex;justify-content:center;align-items:center;color:#fff;border-radius:100%;border:0}.mobile-filters-button__count[_ngcontent-%COMP%]{position:absolute;bottom:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background-color:#fff;color:var(--club-main-color);border:2px solid var(--club-main-color);font-size:14px;font-weight:700;line-height:18px;text-align:center}.mobile-filters-backdrop[_ngcontent-%COMP%]{pointer-events:none}.mobile-filters-modal[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;width:100vw;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));background-color:#fff;z-index:19999;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);border-top:4px solid var(--club-main-color, #333)}@media(max-width:667px){.mobile-filters-modal[_ngcontent-%COMP%]{top:var(--mobile-filters-top-offset, 50vh);height:auto;overflow:hidden}}.mobile-filters-modal.open[_ngcontent-%COMP%]{transform:translateY(0)}.mobile-filters-modal__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:16px;flex-shrink:0;background-color:#fff;border-radius:16px 16px 0 0}.mobile-filters-modal__title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;color:#333}.mobile-filters-modal__close[_ngcontent-%COMP%]{background:none;border:none;color:#333;font-size:24px;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.mobile-filters-modal__content[_ngcontent-%COMP%]{min-height:0;flex:1;overflow-y:auto;display:flex;flex-direction:column;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}@media(max-width:599px){.current-seat-bar[_ngcontent-%COMP%]{margin:0 12px 12px}}"]});let i=r;return i})();var tn=mn(gn());function nn(i,r){let e=(0,tn.default)(`g[data-id="${i}"]`);if(e.length===0)return;e.find("path").attr("fill","var(--club-main-color, #1976d2)").attr("stroke","#1b3f7a").attr("stroke-width","0.25"),e.attr("data-sale","0"),e.css("cursor","default"),e.addClass("current-seat-highlight");let t=e.find("text").first();t.length&&t.attr("fill","#ffffff").attr("opacity","1"),e.parent().find(".current-seat-label").remove();let o=e[0]?.getBBox?.();if(o){let p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",String(o.x+o.width/2)),p.setAttribute("y",String(o.y-5)),p.setAttribute("text-anchor","middle"),p.setAttribute("fill","var(--club-main-color, #1976d2)"),p.setAttribute("font-size","10"),p.setAttribute("font-weight","bold"),p.setAttribute("class","current-seat-label"),p.textContent=r,e.parent().append(p)}}function Di(i,r){i&1&&(c(0,"div",6),d(1),m(2,"translate"),s()),i&2&&(a(),
1k(" ",f(2,1,"TICKET-CHANGE.SEAT.HOLD-WARNING")," "))}function zi(i,r){if(i&1){let e=M();v(0,"i",3),c(1,"span",4),d(2),m(3,"translate"),s(),c(4,"app-countdown",5),O("expired",function(){h(e);let n=l();return C(n.onCountdownExpired())})("dangerChange",function(n){h(e);let o=l();return C(o.isCountdownDanger=n)}),s(),g(5,Di,3,3,"div",6)}if(i&2){let e=l();a(2),_(f(3,5,"TICKET-CHANGE.SEAT.HELD-FOR")),a(2),b("seconds",e.holdSeconds)("warnAtSeconds",300)("dangerAtSeconds",60),a(),u(e.isCountdownDanger?5:-1)}}function Bi(i,r){if(i&1){let e=M();c(0,"div",2),v(1,"i",7),c(2,"p",8),d(3),m(4,"translate"),s(),c(5,"app-button",9),O("click",function(){h(e);let n=l();return C(n.cancel())}),s()()}i&2&&(a(3),_(f(4,1,"TICKET-CHANGE.SEAT.HOLD-EXPIRED")))}function Hi(i,r){if(i&1&&(c(0,"span",19),d(1),m(2,"translate"),m(3,"currency"),s()),i&2){let e=l(2);a(),X(" ",f(2,2,"TICKET-CHANGE.CONFIRM.AMOUNT-DUE"),": ",T(3,4,e.holdResult.PriceDifference,"EUR","symbol","1.2-2")," ")}}function Fi(i,r){i&1&&(c(0,"span",20),d(1),m(2,"translate"),s()),i&2&&(a(),k(" ",f(2,1,"TICKET-CHANGE.CONFIRM.NO-EXTRA-COST")," "))}function Gi(i,r){i&1&&(c(0,"span",20),d(1),m(2,"translate"),s()),i&2&&(a(),k(" ",f(2,1,"TICKET-CHANGE.CONFIRM.NO-EXTRA-COST")," "))}function Ki(i,r){if(i&1){let e=M();c(0,"h3",10),d(1),m(2,"translate"),s(),c(3,"div",11)(4,"div",12)(5,"span",13),d(6),m(7,"translate"),s(),c(8,"span",14),d(9),s(),c(10,"span",14),d(11),s(),c(12,"span",15),d(13),m(14,"currency"),s()(),c(15,"div",16),v(16,"i",17),s(),c(17,"div",12)(18,"span",13),d(19),m(20,"translate"),s(),c(21,"span",14),d(22),s(),c(23,"span",14),d(24),s(),c(25,"span",15),d(26),m(27,"currency"),s()(),c(28,"div",18),g(29,Hi,4,9,"span",19)(30,Fi,3,3,"span",20)(31,Gi,3,3,"span",20),s()(),c(32,"div",21)(33,"app-button",22),O("click",function(){h(e);let n=l();return C(n.confirmChange())}),s(),c(34,"app-button",23),O("click",function(){h(e);let n=l();return C(n.cancel())}),s()()}if(i&2){let e=l();a(),_(f(2,14,"TICKET-CHANGE.SEAT.HOLD-TITLE")),a(5),_(f(7,16,"TICKET-CHANGE.SEAT.FROM")),a(3),_(e.currentDetails==null?null:e.currentDetails.SectionName),a(2),X("",e.currentDetails!=null&&e.currentDetails.RowNumber?e.currentDetails.RowNumber:"-"," / ",e.currentDetails!=null&&e.currentDetails.SeatNumber?e.currentDetails.SeatNumber:"-"),a(2),_(T(14,18,e.currentDetails==null?null:e.currentDetails.CurrentPrice,"EUR","symbol","1.2-2")),a(6),_(f(20,23,"TICKET-CHANGE.SEAT.TO")),a(3),_(e.holdResult==null?null:e.holdResult.SectionName),a(2),X("",e.holdResult!=null&&e.holdResult.RowNumber?e.holdResult.RowNumber:"-"," / ",e.holdResult!=null&&e.holdResult.SeatNumber?e.holdResult.SeatNumber:"-"),a(2),_(T(27,25,e.holdResult==null?null:e.holdResult.TargetPrice,"EUR","symbol","1.2-2")),a(3),u(e.isUpgrade?29:e.isDowngrade?30:31),a(4),b("disabled",!e.canConfirm),a(),b("disabled",e.processing)}}var on=(()=>{let r=class r{constructor(t,n,o,p){this.ticketChangeService=t,this.appLoader=n,this.router=o,this.shoppingCartService=p,this.confirmed=new ue,this.cancelled=new ue,this.expired=new ue,this.seatTaken=new ue,this.error=new ue,this.processing=!1,this.isExpired=!1,this.isCountdownDanger=!1}get holdSeconds(){return this.holdResult?.HoldDurationSeconds??300}onCountdownExpired(){this.isExpired=!0,this.expired.emit()}get isUpgrade(){return(this.holdResult?.PriceDifference??0)>0}get isDowngrade(){return(this.holdResult?.PriceDifference??0)<0}get canConfirm(){return!this.processing&&!this.isExpired}confirmChange(){if(!this.canConfirm)return;this.processing=!0;let t=this.appLoader.open("seat-change-confirm"),n={TargetEventPlacementId:this.holdResult.TargetEventPlacementId,TargetSectionId:null};this.ticketChangeService.changeTicketSeat(this.orderLineId,n).subscribe(o=>{if(this.appLoader.close(t),this.processing=!1,o.Success&&!o.PaymentRequired){this.confirmed.emit(o);return}if(o.PaymentRequired&&o.PendingOrderId){le(this.router,this.shoppingCartService,o.PendingOrderId);return}if(o.ErrorCode?.includes("SEAT_TAKEN")){this.seatTaken.emit(o.UpdatedSectionAvailability);return}if(o.ErrorCode?.includes("WIDOW")){this.error.emit("TICKET-CHANGE.SEAT.ERROR.WIDOW-SEAT");return}this.error.emit(o.ErrorCode||"TICKET-CHANGE.SEAT.ERROR.CHANGE-FAILED")},o=>{this.appLoader.close(t),this.processing=!1,this.error.emit(o?.error?.ErrorCode||"TICKET-CHANGE.ERROR.NETWORK-ERROR")})}cancel(){this.cancelled.emit()}};r.\u0275fac=function(n){return new(n||r)(x(z),x(q),x(I),x(te))},r.\u0275cmp=S({type:r,selectors:[["app-seat-change-confirm-panel"]],inputs:{holdResult:"holdResult",currentDetails:"currentDetails",orderLineId:"orderLineId"},outputs:{confirmed:"confirmed",cancelled:"cancelled",expired:"expired",seatTaken:"seatTaken",error:"error"},standalone:!1,decls:6,vars:9,consts:[["fxLayout","column","fxLayoutGap","16px",1,"confirm-panel"],["aria-live","polite",1,"timer-bar"],["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","12px",1,"expired-state"],[1,"fas","fa-clock","timer-icon"],[1,"timer-label"],[1,"timer-value",3,"expired","dangerChange","seconds","warnAtSeconds","dangerAtSeconds"],[1,"timer-warning-text"],[1,"fas","fa-clock","expired-icon"],[1,"expired-text"],["type","stroked","size","full","text","TICKET-CHANGE.SEAT.BACK-TO-VENUE",3,"click"],[1,"confirm-title"],[1,"summary-card"],[1,"summary-section"],[1,"summary-label"],[1,"summary-detail"],[1,"summary-price"],[1,"summary-arrow"],[1,"fas","fa-arrow-down"],[1,"price-difference"],[1,"price-upgrade"],[1,"price-neutral"],["fxLayout","column","fxLayoutGap","8px",1,"action-buttons"],["type","primary","size","full","text","TICKET-CHANGE.SEAT.CONFIRM-BUTTON",3,"click","disabled"],["type","stroked","size","full","text","TICKET-CHANGE.SEAT.CA
1NCEL",3,"click","disabled"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),m(2,"translate"),g(3,zi,6,7),s(),g(4,Bi,6,3,"div",2)(5,Ki,35,30),s()),n&2&&(a(),U("timer-warning",o.isCountdownDanger)("timer-expired",o.isExpired),D("aria-label",f(2,7,"TICKET-CHANGE.SEAT.TIMER-ARIA-LABEL")),a(2),u(o.isExpired?-1:3),a(),u(o.isExpired?4:5))},dependencies:[$,Dt,L,N,R,W,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}.confirm-panel[_ngcontent-%COMP%]{padding:20px 16px}.timer-bar[_ngcontent-%COMP%]{background:#e3f2fd;border-radius:8px;padding:10px 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timer-bar.timer-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107}.timer-bar.timer-expired[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350}.timer-icon[_ngcontent-%COMP%]{color:var(--club-main-color, #1976d2);font-size:16px}.timer-warning[_ngcontent-%COMP%] .timer-icon[_ngcontent-%COMP%]{color:#f57f17}.timer-label[_ngcontent-%COMP%]{font-size:14px;color:#333}.timer-value[_ngcontent-%COMP%]{font-weight:700;font-size:18px;color:var(--club-main-color, #1976d2)}.timer-warning[_ngcontent-%COMP%] .timer-value[_ngcontent-%COMP%]{color:#f57f17}.timer-warning-text[_ngcontent-%COMP%]{font-size:12px;color:#f57f17;font-weight:500;width:100%}.expired-state[_ngcontent-%COMP%]{padding:24px 0;text-align:center}.expired-icon[_ngcontent-%COMP%]{font-size:36px;color:#e53935}.expired-text[_ngcontent-%COMP%]{font-size:14px;color:#666;max-width:300px;text-align:center}.confirm-title[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:600}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.summary-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.summary-label[_ngcontent-%COMP%]{font-size:11px;text-transform:uppercase;color:#757575;font-weight:600}.summary-detail[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#333}.summary-price[_ngcontent-%COMP%]{font-size:14px;color:#666}.summary-arrow[_ngcontent-%COMP%]{text-align:center;padding:8px 0;color:#999}.price-difference[_ngcontent-%COMP%]{margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0;text-align:center;font-weight:600;font-size:14px}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.action-buttons[_ngcontent-%COMP%]{margin-top:4px}"]});let i=r;return i})();var Ui=["panzoomPageContainer"];function Wi(i,r){if(i&1){let e=M();c(0,"app-error-banner",9),O("dismissed",function(){h(e);let n=l();return C(n.errorMessage=null)}),s()}if(i&2){let e=l();b("message",e.errorMessage)("dismissible",!0)}}function qi(i,r){if(i&1){let e=M();c(0,"app-panzoom",10),O("onClick",function(n){h(e);let o=l();return C(o.seatPlanComponent.handleClick(n.e,n.changed))}),c(1,"app-seatplan-renderer",11),O("seatSelection",function(n){h(e);let o=l();return C(o.onSeatSelected(n))}),s()()}if(i&2){let e=l();b("maxHeight",0),a(),b("seatPlan",e.seatPlanData)("hidden",!e.showSeatPlan)}}function $i(i,r){if(i&1){let e=M();c(0,"div",7),v(1,"i",12),c(2,"p",13),d(3),s(),c(4,"app-button",14),O("click",function(){h(e);let n=l();return C(n.selectUnplacedSection())}),s()()}if(i&2){let e=l();a(3),_(e.sectionName),a(),b("disabled",e.processing)}}function Qi(i,r){if(i&1){let e=M();c(0,"aside",8),m(1,"translate"),c(2,"app-seat-change-confirm-panel",15),O("confirmed",function(n){h(e);let o=l();return C(o.onConfirmed(n))})("cancelled",function(){h(e);let n=l();return C(n.onCancelled())})("expired",function(){h(e);let n=l();return C(n.onExpired())})("seatTaken",function(n){h(e);let o=l();return C(o.onSeatTaken(n))})("error",function(n){h(e);let o=l();return C(o.onError(n))}),s()()}if(i&2){let e=l();D("aria-label",f(1,4,"TICKET-CHANGE.CONFIRM.TITLE")),a(2),b("holdResult",e.holdResult)("currentDetails",e.currentDetails)("orderLineId",e.orderLineId)}}var an=(()=>{let r=class r{get activeHoldEpId(){return this.stateService.activeHoldEpId}set activeHoldEpId(t){this.stateService.setActiveHold(t)}constructor(t,n,o,p,P,w,y,V,Z){this.route=t,this.router=n,this.translate=o,this.availabilityService=p,this.ticketChangeService=P,this.appLoader=w,this.changeDetector=y,this.stateService=V,this.shoppingCartService=Z,this.sectionName="",this.seatPlanData=null,this.showSeatPlan=!1,this.isUnplaced=!1,this.holdResult=null,this.showConfirmPanel=!1,this.errorMessage=null,this.processing=!1,this.destroy$=new F}get currentDetails(){return this.stateService.currentDetails}
1ngOnInit(){if(this.orderLineId=Number(this.route.snapshot.paramMap.get("orderLineId")),isNaN(this.orderLineId)){this.router.navigate(["/tickets"]);return}this.sectionId=Number(this.route.snapshot.paramMap.get("sectionId"));let t=window.history.state;if(this.sectionName=t?.sectionName||"",!this.stateService.isInitialized){this.router.navigate(["/ticket-change",this.orderLineId,"options"]);return}this.loadSeatPlan()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.activeHoldEpId!==null&&this.ticketChangeService.releaseHoldSeat(this.orderLineId).subscribe()}loadSeatPlan(){let t=this.stateService.eventId;if(!t)return;let n=this.appLoader.open("seat-change-section@load"),o={ParentVBBId:this.sectionId,EventIds:[t]};this.availabilityService.section(o,!1).pipe(E(this.destroy$)).subscribe({next:p=>{this.seatPlanData=p;let P=!p.Rows||p.Rows.length===0,w=p.Details?.HasTicketsAvailable||p.Details?.HasMarketplaceTicketsAvailable;if(P&&!w){this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.SEAT.ERROR.SEAT-TAKEN";return}if(this.isUnplaced=P,this.isUnplaced){this.appLoader.close(n),this.selectUnplacedSection();return}if(this.changeDetector.detectChanges(),this.panzoomComponent&&this.panzoomPageContainer){let y=this.panzoomPageContainer.nativeElement,V=y.querySelector(".seatplan-container"),Z=y.getBoundingClientRect().height,be=V?V.getBoundingClientRect().height:Z;this.panzoomComponent.maxHeight=Math.max(0,Z-be),this.showSeatPlan=!0,this.panzoomComponent.initPanZoom().subscribe(()=>{setTimeout(this.panzoomComponent.zoom.bind(this.panzoomComponent,-1),1),this.markCurrentSeat()})}this.appLoader.close(n)},error:()=>{this.appLoader.close(n),this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"}})}markCurrentSeat(){let t=this.currentDetails?.EventPlacementId;t&&setTimeout(()=>{let n=this.translate.instant("TICKET-CHANGE.SEAT.CURRENT-SEAT-LABEL");nn(t,n)},50)}onSeatSelected(t){let n=t.EndPoint;!n||!n.Id||n.Id===this.currentDetails?.EventPlacementId||!n.IsAvailableForSale||this.processing||this.showConfirmPanel||(this.errorMessage=null,this.holdSeat(n.Id))}holdSeat(t){this.processing=!0;let n=this.appLoader.open("seat-change-section@hold"),o=this.activeHoldEpId!==null?this.ticketChangeService.releaseHoldSeat(this.orderLineId):null,p=()=>{this.ticketChangeService.holdSeat(this.orderLineId,{TargetEventPlacementId:t}).pipe(E(this.destroy$)).subscribe({next:P=>{this.appLoader.close(n),this.processing=!1,P.Success?(this.holdResult=P,this.activeHoldEpId=t,this.showConfirmPanel=!0,this.seatPlanComponent?.setCurrentSelection([{id:t}])):this.errorMessage=P.ErrorCode||"TICKET-CHANGE.SEAT.ERROR.HOLD-FAILED"},error:P=>{this.appLoader.close(n),this.processing=!1;let w=P.error?.ErrorCode;w==="TICKET_CHANGE.HOLD.SEAT_TAKEN"?this.handleSeatTaken(P.error?.UpdatedSectionAvailability):w?.includes("WIDOW")?this.errorMessage="TICKET-CHANGE.SEAT.ERROR.WIDOW-SEAT":this.errorMessage=w||"TICKET-CHANGE.ERROR.NETWORK-ERROR"}})};o?o.pipe(E(this.destroy$)).subscribe({next:()=>p(),error:()=>p()}):p()}handleSeatTaken(t){this.errorMessage="TICKET-CHANGE.SEAT.ERROR.SEAT-TAKEN",t&&(this.seatPlanData=t),this.showSeatPlan=!1,setTimeout(()=>this.loadSeatPlan())}selectUnplacedSection(){this.processing=!0;let t=this.appLoader.open("seat-change-section@unplaced"),n={TargetSectionId:this.sectionId};this.ticketChangeService.changeTicketSeat(this.orderLineId,n).pipe(E(this.destroy$)).subscribe({next:o=>{this.appLoader.close(t),this.processing=!1,this.handleChangeResult(o)},error:o=>{this.appLoader.close(t),this.processing=!1;let p=o?.error?.ErrorCode;p==="TICKET_CHANGE.SEAT.SEAT_TAKEN"?this.errorMessage="TICKET-CHANGE.SEAT.ERROR.SEAT-TAKEN":this.errorMessage=p||"TICKET-CHANGE.ERROR.NETWORK-ERROR"}})}onConfirmed(t){this.activeHoldEpId=null,this.handleChangeResult(t)}handleChangeResult(t){t.Success&&!t.PaymentRequired?this.navigateToSuccess(t):t.PaymentRequired&&t.PendingOrderId?le(this.router,this.shoppingCartService,t.PendingOrderId):t.ErrorCode==="TICKET_CHANGE.SEAT.SEAT_TAKEN"?this.handleSeatTaken(t.UpdatedSectionAvailability):this.errorMessage=t.ErrorCode||"TICKET-CHANGE.SEAT.ERROR.CHANGE-FAILED"}navigateToSuccess(t){this.router.navigate(["/ticket-change",this.orderLineId,"success"],{state:{changeType:"seat",changeResult:t,oldSection:this.currentDetails?.SectionName,oldRow:this.currentDetails?.RowNumber,oldSeat:this.currentDetails?.SeatNumber,newSection:t.NewSectionName,newRow:t.NewRowNumber,newSeat:t.NewSeatNumber}})}onCancelled(){this.releaseActiveHold(),this.resetConfirmPanel(),this.seatPlanComponent?.setCurrentSelection([]),this.markCurrentSeat()}onExpired(){this.releaseActiveHold(),this.activeHoldEpId=null}releaseActiveHold(){this.activeHoldEpId!==null&&this.ticketChangeService.releaseHoldSeat(this.orderLineId).subscribe()}onSeatTaken(t){this.resetConfirmPanel(),this.handleSeatTaken(t)}onError(t){this.resetConfirmPanel(),this.errorMessage=t}resetConfirmPanel(){this.showConfirmPanel=!1,this.holdResult=null,this.activeHoldEpId=null}goBack(){let t=()=>this.router.navigate(["/ticket-change",this.orderLineId,"seat","venue"]);if(this.activeHoldEpId===null){t();return}this.processing=!0,this.ticketChangeService.releaseHoldSeat(this.orderLineId).subscribe({next:()=>t(),error:()=>t()})}};r.\u0275fac=function(n){return new(n||r)(x(J),x(I),x(ee),x(Le),x(z),x(q),x(Ye),x(Y),x(te))},r.\u0275cmp=S({type:r,selectors:[["app-seat-change-section"]],viewQuery:function(n,o){if(n&1&&(G(ce,5),G(ve,5),G(Ui,5)),n&2){let p;K(p=j())&&(o.panzoomComponent=p.first),K(p=j())&&(o.seatPlanComponent=p.first),K(p=j())&&(o.panzoomPageContainer=p.first)}},standalone:!1,decls:9,vars:6,consts:[["panzoomPageContainer",""],["backText","TICKET-CHANGE.SEAT.BACK-TO-VENUE",1,"section-header",3,"onBack","title","forceShowBacklink"],["fxLayout","column",1,"seat-change-section"],[1,"error-banner-host",3,"message","dismissible"],["fxFlex","","fxLayout","row","fxLayout.lt-md","column",1,"section-content"],["fxFlex","",1,"seatplan-container"],[3,"maxHeight"],["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","16px",1,"unplaced-section"],["role","complementary",1,"confirm-aside","confirm-aside__show-mobile"],[1,"error-banner-host",3,"dismissed","message","dismissible"],[3,"onClick","maxHeight"],[3,"seatSelection","seatPlan","hidden"],[1,"fas","fa-map-marker-alt","unplaced-icon"],[1,"unplaced-text"],["type","primary","text","TICKET-CHANGE.SEAT.SELECT-SECTION",3,"click","disabled"],[3,"confirmed","cancelled","expired","seatTaken","error","holdResult","currentDetails","orderLineId"]],template:function(n,o){if(n&1){let p=M();c(0,"app-title-bar",1),O("onBack",function(){return h(p),C(o.goBack())}),s(),c(1,"div",2,0),g(3,Wi,1,2,"app-error-banner",3),c(4,"div",4)(5,"div",5),g(6,qi,2,3,"app-panzoom",6),g(7,$i,5,2,"div",7),s(),g(8,Qi,3,6,"aside",8),s()()}n&2&&(b("title",o.sectionName||"TICKET-CHANGE.SEAT.SECTION-TITLE")("forceShowBacklink",!0),a(3),u(o.errorMessage?3:-1),a(3),u(o.seatPlanData&&!o.isUnplaced?6:-1),a(),u(o.isUnplaced?7:-1),a(),u(o.showConfirmPanel&&o.holdResult?8:-1))},dependencies:[$,ne,ve,ce,ze,L,N,R,Q,on,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}
1.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}.seat-change-section[_ngcontent-%COMP%]{width:100%;max-width:100%;height:100%;overflow:hidden;position:relative} .current-seat-highlight path{filter:drop-shadow(0 0 5px rgba(25,118,210,.5))}.section-header[_ngcontent-%COMP%]{flex-shrink:0}.error-banner-host[_ngcontent-%COMP%]{margin:0 16px 8px;flex-shrink:0}.section-content[_ngcontent-%COMP%]{width:100%;max-width:100%;overflow:hidden;min-width:0}.seatplan-container[_ngcontent-%COMP%]{position:relative;width:100%;max-width:100vw;overflow:hidden;min-width:0;padding:16px;box-sizing:border-box}.seatplan-container[_ngcontent-%COMP%] app-panzoom[_ngcontent-%COMP%]{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}.confirm-aside[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:0 0 30%;min-width:0;max-width:100%;box-sizing:border-box;border-left:1px solid #e0e0e0;background:#fff;overflow-y:auto}@media(max-width:959px){.confirm-aside.confirm-aside__show-mobile[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;width:auto;height:100vh;flex:none;max-width:100%;overflow-x:hidden;border-left:none;z-index:9999}}.unplaced-section[_ngcontent-%COMP%]{padding:48px 16px;text-align:center}.unplaced-section[_ngcontent-%COMP%] .unplaced-icon[_ngcontent-%COMP%]{font-size:48px;color:var(--club-main-color, #1976d2)}.unplaced-section[_ngcontent-%COMP%] .unplaced-text[_ngcontent-%COMP%]{font-size:18px;font-weight:500;color:#333}@media(max-width:959px){.section-header[_ngcontent-%COMP%]{padding:12px}}"]});let i=r;return i})();var ke=(()=>
1{let r=class r{constructor(t,n,o){this.router=t,this.stateService=n,this.ticketChangeService=o}canActivate(t){if(this.stateService.isInitialized)return!0;let n=this.resolveOrderLineId(t);return n!==null&&this.ticketChangeService.cancelPendingTicketChange?.(n).subscribe({next:()=>{},error:()=>{}}),this.stateService.clear(),this.router.createUrlTree(["/tickets"])}resolveOrderLineId(t){let n=Number(t.paramMap.get("orderLineId"));return!isNaN(n)&&n>0?n:this.stateService.orderLineId}};r.\u0275fac=function(n){return new(n||r)(ge(I),ge(Y),ge(z))},r.\u0275prov=fe({token:r,factory:r.\u0275fac});let i=r;return i})();function Yi(i,r){if(i&1){let e=M();c(0,"app-error-state",6),O("action",function(){h(e);let n=l();return C(n.back())}),s()}if(i&2){let e=l();b("message",e.errorMessage)}}function Xi(i,r){if(i&1&&v(0,"app-current-ticket-header",3),i&2){let e=l();b("ticket",e.ticket)("ticketDetails",e.currentDetails)("loadingSnapshot",e.snapshot.loading)("showSnapshot",e.snapshot.showSnapshot)("seatPlanData",e.snapshot.seatPlanData)("seatEventPlacementId",e.snapshot.seatEventPlacementId)}}function Zi(i,r){if(i&1){let e=M();c(0,"div",8),m(1,"translate"),O("click",function(){h(e);let n=l(2);return C(n.openVariations())})("keydown.enter",function(){h(e);let n=l(2);return C(n.openVariations())})("keydown.space",function(n){return h(e),l(2).openVariations(),C(n.preventDefault())}),c(2,"div",9)(3,"div",10),v(4,"i",11),s(),c(5,"div",12)(6,"span",13),d(7),m(8,"translate"),s(),c(9,"span",14),d(10),m(11,"translate"),s()(),v(12,"i",15),s()()}i&2&&(D("aria-label",f(1,3,"TICKET-CHANGE.OPTIONS.VARIATION-OPTION")),a(7),_(f(8,5,"TICKET-CHANGE.OPTIONS.VARIATION-OPTION")),a(3),_(f(11,7,"TICKET-CHANGE.OPTIONS.VARIATION-DESCRIPTION")))}function Ji(i,r){if(i&1){let e=M();c(0,"div",8),m(1,"translate"),O("click",function(){h(e);let n=l(2);return C(n.selectSeatChange())})("keydown.enter",function(){h(e);let n=l(2);return C(n.selectSeatChange())})("keydown.space",function(n){return h(e),l(2).selectSeatChange(),C(n.preventDefault())}),c(2,"div",9)(3,"div",10),v(4,"i",16),s(),c(5,"div",12)(6,"span",13),d(7),m(8,"translate"),s(),c(9,"span",14),d(10),m(11,"translate"),s()(),v(12,"i",15),s()()}i&2&&(D("aria-label",f(1,3,"TICKET-CHANGE.OPTIONS.SEAT-OPTION")),a(7),_(f(8,5,"TICKET-CHANGE.OPTIONS.SEAT-OPTION")),a(3),_(f(11,7,"TICKET-CHANGE.OPTIONS.SEAT-DESCRIPTION")))}function eo(i,r){if(i&1&&(c(0,"div",4),g(1,Zi,13,9,"div",7),g(2,Ji,13,9,"div",7),s()),i&2){let e=l();a(),u(e.options.VariationChangeAllowed?1:-1),a(),u(e.options.SeatChangeAllowed?2:-1)}}function to(i,r){i&1&&(c(0,"span",23),d(1),m(2,"translate"),s()),i&2&&(a(),k(" ",f(2,1,"TICKET-CHANGE.VARIATION.BADGE-CURRENT")," "))}function no(i,r){i&1&&(c(0,"span",24),d(1),m(2,"translate"),s()),i&2&&(a(),k(" ",f(2,1,"TICKET-CHANGE.VARIATION.BADGE-NO-COST")," "))}function io(i,r){if(i&1&&(c(0,"span",25),d(1),m(2,"currency"),m(3,"translate"),s()),i&2){let e=l().$implicit;a(),X(" ",T(2,2,e.PriceDifference,"EUR","symbol","1.2-2")," ",f(3,7,"TICKET-CHANGE.VARIATION.BADGE-TO-PAY")," ")}}function oo(i,r){if(i&1){let e=M();c(0,"div",18),O("click",function(){let n=h(e).$implicit,o=l(2);return C(o.isCurrentVariation(n)?null:o.selectVariation(n))})("keydown.enter",function(){let n=h(e).$implicit,o=l(2);return C(o.isCurrentVariation(n)?null:o.selectVariation(n))})("keydown.space",function(n){let o=h(e).$implicit,p=l(2);return p.isCurrentVariation(o)||p.selectVariation(o),C(n.preventDefault())}),c(1,"div",19)(2,"div",12)(3,"span",20),d(4),s(),c(5,"span",21),d(6),m(7,"currency"),s()(),c(8,"div",22),g(9,to,3,3,"span",23),g(10,no,3,3,"span",24),g(11,io,4,9,"span",25),s()()()}if(i&2){let e=r.$implicit,t=l(2);U("variation-card__current",t.isCurrentVariation(e))("variation-card__selectable",!t.isCurrentVariation(e)),D("tabindex",t.isCurrentVariation(e)?-1:0)("aria-label",t.getAriaLabel(e)),a(4),_(e.Name),a(2),_(T(7,11,e.Price,"EUR","symbol","1.2-2")),a(3),u(t.isCurrentVariation(e)?9:-1),a(),u(!t.isCurrentVariation(e)&&e.PriceDifference<=0?10:-1),a(),u(!t.isCurrentVariation(e)&&e.PriceDifference>0?11:-1)}}function ao(i,r){if(i&1&&(c(0,"div",5),oe(1,oo,12,16,"div",17,Ce),s()),i&2){let e=l();a(),ae(e.options.AvailableVariations)}}function ro(i,r){i&1&&(c(0,"span",35),d(1),m(2,"translate"),s()),i&2&&(a(),
1k(" ",f(2,1,"TICKET-CHANGE.CONFIRM.NO-EXTRA-COST")," "))}function co(i,r){if(i&1&&(c(0,"span",36),d(1),m(2,"translate"),m(3,"currency"),s()),i&2){let e=l(2);a(),X(" ",f(2,2,"TICKET-CHANGE.CONFIRM.AMOUNT-DUE"),": ",T(3,4,e.selectedVariation.PriceDifference,"EUR","symbol","1.2-2")," ")}}function so(i,r){if(i&1){let e=M();c(0,"div",37)(1,"div",42),v(2,"i",43),c(3,"span",44),d(4),m(5,"translate"),s()(),c(6,"mat-checkbox",45),Ae("ngModelChange",function(n){h(e);let o=l(2);return Ie(o.discountAcknowledged,n)||(o.discountAcknowledged=n),C(n)}),d(7),m(8,"translate"),s()()}if(i&2){let e=l(2);a(4),_(f(5,4,"TICKET-CHANGE.CONFIRM.DISCOUNT-WARNING")),a(2),b("disableRipple",!0),Te("ngModel",e.discountAcknowledged),a(),k(" ",f(8,6,"TICKET-CHANGE.CONFIRM.DISCOUNT-ACKNOWLEDGE")," ")}}function lo(i,r){if(i&1&&(c(0,"div",38),v(1,"i",46),c(2,"span"),d(3),m(4,"translate"),s()()),i&2){let e=l(2);a(3),_(f(4,1,e.errorMessage))}}function po(i,r){if(i&1){let e=M();c(0,"div",26)(1,"div",27)(2,"div",12)(3,"span",28),d(4),m(5,"translate"),s(),c(6,"span",29),d(7),s(),c(8,"span",30),d(9),m(10,"currency"),s()(),c(11,"div",31),v(12,"i",32)(13,"i",33),s(),c(14,"div",12)(15,"span",28),d(16),m(17,"translate"),s(),c(18,"span",29),d(19),s(),c(20,"span",30),d(21),m(22,"currency"),s()()(),c(23,"div",34),g(24,ro,3,3,"span",35),g(25,co,4,9,"span",36),s()(),g(26,so,9,8,"div",37),g(27,lo,5,3,"div",38),c(28,"div",39)(29,"app-button",40),O("click",function(){h(e);let n=l();return C(n.back())}),s(),c(30,"app-button",41),O("click",function(){h(e);let n=l();return C(n.confirmChange())}),s()()}if(i&2){let e=l();a(4),_(f(5,12,"TICKET-CHANGE.CONFIRM.FROM")),a(3),_(e.currentDetails.VariationName),a(2),_(T(10,14,e.currentDetails.CurrentPrice,"EUR","symbol","1.2-2")),a(7),_(f(17,19,"TICKET-CHANGE.CONFIRM.TO")),a(3),_(e.selectedVariation.Name),a(2),_(T(22,21,e.selectedVariation.Price,"EUR","symbol","1.2-2")),a(3),u(e.isUpgrade?-1:24),a(),u(e.isUpgrade?25:-1),a(),u(e.hasDiscount?26:-1),a(),u(e.errorMessage?27:-1),a(2),b("disabled",e.processing),a(),b("disabled",!e.canConfirm)}}var rn=(()=>{let r=class r{constructor(t,n,o,p,P,w,y,V){this.route=t,this.router=n,this.ticketChangeService=o,this.stateService=p,this.appLoader=P,this.translate=w,this.snapshot=y,this.shoppingCartService=V,this.options=null,this.ticket=null,this.selectedVariation=null,this.step="options",this.loading=!0,this.processing=!1,this.discountAcknowledged=!1,this.errorMessage=null,this.eventId=null,this.eventName=null,this.eventStartDate=null,this.pendingExtractedOrderLineId=null,this.destroy$=new F}ngOnInit(){if(this.stateService.clear(),this.eventPlacementId=Number(this.route.snapshot.paramMap.get("eventPlacementId")),isNaN(this.eventPlacementId)){this.router.navigate(["/tickets/overview"]);return}let t=window.history.state;this.eventId=t?.eventId??null,this.eventName=t?.eventName??null,this.eventStartDate=t?.eventStartDate??null,this.ticket=t?.ticket??null,this.loadPreview()}ngOnDestroy(){this.cancelPendingExtraction(),this.destroy$.next(),this.destroy$.complete()}get currentDetails(){return this.options?.CurrentTicketDetails??null}get hasDiscount(){return this.currentDetails?.HasActiveDiscounts===!0}get isUpgrade(){return(this.selectedVariation?.PriceDifference??0)>0}get canConfirm(){return!(this.processing||this.hasDiscount&&!this.discountAcknowledged)}loadPreview(){let t=this.appLoader.open("passepartout-change-preview");this.ticketChangeService.getPassePartoutTicketChangeOptions(this.eventPlacementId).pipe(E(this.destroy$)).subscribe(n=>{if(this.appLoader.close(t),this.loading=!1,!n.VariationChangeAllowed&&!n.SeatChangeAllowed){this.errorMessage=n.UnavailableReason||"TICKET-CHANGE.ERROR.UNAVAILABLE";return}this.options=n,this.snapshot.load(this.options,this.ticket,this.eventId),n.VariationChangeAllowed&&!n.SeatChangeAllowed&&this.openVariations()},()=>{this.appLoader.close(t),this.loading=!1,this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"})}openVariations(){this.step="variations"}selectSeatChange(){if(this.processing||!this.options)return;this.processing=!0,this.errorMessage=null;let t=this.appLoader.open("passepartout-change-extract");this.ticketChangeService.extractPassePartoutEvent(this.eventPlacementId).pipe(E(this.destroy$)).subscribe(n=>{if(this.appLoader.close(t),this.processing=!1,n.UnavailableReason||!n.OrderLineId){this.errorMessage=n.UnavailableReason||"TICKET-CHANGE.ERROR.UNAVAILABLE";return}this.enterSeatFlow(n.OrderLineId)},()=>{this.appLoader.close(t),this.processing=!1,this.errorMessage="TICKET-CHANGE.ERROR.NETWORK-ERROR"})}enterSeatFlow(t){this.stateService.initialize(this.options,this.eventId,this.eventName,this.eventStartDate,t),this.router.navigate(["/ticket-change",t,"seat","venue"])}selectVariation(t){this.isCurrentVariation(t)||(this.selectedVariation=t,this.discountAcknowledged=!1,this.step="confirm")}isCurrentVariation(t){return t.VariationId===this.currentDetails?.VariationId}getAriaLabel(t){let n=t.Name,o="\u20AC"+t.Price.toFixed(2);if(this.isCurrentVariation(t))return this.translate.instant("TICKET-CHANGE.VARIATION.ARIA-CURRENT",{name:n,price:o});if(t.PriceDifference<=0)return this.translate.instant("TICKET-CHANGE.VARIATION.ARIA-NO-COST",{name:n,price:o});let p="\u20AC"+t.PriceDifference.toFixed(2);return this.translate.instant("TICKET-CHANGE.VARIATION.ARIA-UPGRADE",{name:n,price:o,diff:p})}confirmChange(){if(!this.canConfirm||!this.selectedVariation)return;this.processing=!0,this.errorMessage=null;let t=this.appLoader.open("passepartout-change-confirm"),n={TargetPriceVariationId:this.selectedVariation.VariationId};this.ticketChangeService.changePassePartoutTicketVariation(this.eventPlacementId,n).pipe(E(this.destroy$)).subscribe(o=>{let p=o.ExtractedOrderLineId??null;if(o.Success&&!o.PaymentRequired){this.appLoader.close(t),this.navigateToSuccess(p,o);return}if(o.PaymentRequired&&o.PendingOrderId){this.appLoader.close(t),this.pendingExtractedOrderLineId=null,le(this.router,this.shoppingCartService,o.PendingOrderId);return}this.appLoader.close(t),this.processing=!1,this.errorMessage=o.ErrorCode||"TICKET-CHANGE.ERROR.UNAVAILABLE"},o=>{this.appLoader.close(t),this.processing=!1,this.errorMessage=o?.error?.ErrorCode||"TICKET-CHANGE.ERROR.NETWORK-ERROR"})}navigateToSuccess(t,n){let o=t??0;this.router.navigate(["/ticket-change",o,"success"],{state:{changeResult:n,selectedVariation:this.selectedVariation}})}back(){if(this.cancelPendingExtraction(),this.step==="confirm"){this.step="variations",this.selectedVariation=null;return}if(this.step==="variations"&&this.options?.SeatChangeAllowed){this.step="options";return}this.router.navigate(["/tickets/overview"])}cancelPendingExtraction(){if(this.pendingExtractedOrderLineId===null)return;let t=this.pendingExtractedOrderLineId;this.pendingExtractedOrderLineId=null,this.processing=!1,this.ticketChangeService.cancelPendingTicketChange(t).subscribe({next:()=>{},error:()=>{}})}};r.\u0275fac=function(n){return new(n||r)(x(J),x(I),x(z),x(Y),x(q),x(ee),x(ie),x(te))},r.\u0275cmp=S({type:r,selectors:[["app-passepartout-change"]],standalone:!1,features:[_e([ie])],decls:7,vars:7,consts:[["backText","TICKET-CHANGE.ERROR.BACK",3,"onBack","title","forceShowBacklink"],["fxLayout","column","fxLayoutGap","16px",1,"ticket-change-container"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"message"],[3,"ticket","ticketDetails","loadingSnapshot","showSnapshot","seatPlanData","
1seatEventPlacementId"],["fxLayout","column","fxLayoutGap","12px",1,"option-list"],["fxLayout","column","fxLayoutGap","12px",1,"variation-list"],["actionLabel","TICKET-CHANGE.ERROR.BACK",3,"action","message"],["tabindex","0","role","button",1,"option-card","option-card__selectable"],["tabindex","0","role","button",1,"option-card","option-card__selectable",3,"click","keydown.enter","keydown.space"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","16px"],[1,"option-icon"],[1,"fas","fa-tags"],["fxLayout","column","fxFlex",""],[1,"option-title"],[1,"option-description"],[1,"fas","fa-chevron-right","option-arrow"],[1,"fas","fa-chair"],["role","button",1,"variation-card",3,"variation-card__current","variation-card__selectable"],["role","button",1,"variation-card",3,"click","keydown.enter","keydown.space"],["fxLayout","row","fxLayoutAlign","space-between center","fxLayoutGap","12px"],[1,"variation-name"],[1,"variation-price"],[1,"badge-container"],[1,"badge","badge__current"],[1,"badge","badge__no-cost"],[1,"badge","badge__upgrade"],[1,"summary-card"],["fxLayout","row","fxLayoutAlign","space-between start","fxLayout.lt-sm","column","fxLayoutGap","16px","fxLayoutGap.lt-sm","12px"],[1,"summary-meta-label"],[1,"summary-field-value"],[1,"summary-price"],["fxLayoutAlign","center center",1,"arrow-icon"],["fxHide.lt-sm","",1,"fas","fa-arrow-right"],["fxShow.lt-sm","","fxHide","",1,"fas","fa-arrow-down"],[1,"price-difference"],[1,"price-neutral"],[1,"price-upgrade"],[1,"discount-warning"],["role","alert",1,"error-banner"],["fxLayout","row","fxLayoutAlign","end center","fxLayoutGap","12px","fxLayout.lt-sm","column-reverse","fxLayoutGap.lt-sm","8px",1,"action-buttons"],["type","stroked","text","TICKET-CHANGE.CONFIRM.CANCEL",3,"click","disabled"],["type","primary","text","TICKET-CHANGE.CONFIRM.CONFIRM-BUTTON",3,"click","disabled"],["fxLayout","row","fxLayoutGap","8px","fxLayoutAlign","start start"],[1,"fas","fa-exclamation-triangle","warning-icon"],[1,"warning-text"],[1,"discount-checkbox",3,"ngModelChange","disableRipple","ngModel"],[1,"fas","fa-exclamation-circle"]],template:function(n,o){n&1&&(c(0,"app-title-bar",0),O("onBack",function(){return o.back()}),s(),c(1,"div",1),g(2,Yi,1,1,"app-error-state",2),g(3,Xi,1,6,"app-current-ticket-header",3),g(4,eo,3,2,"div",4),g(5,ao,3,0,"div",5),g(6,po,31,26),s()),n&2&&(b("title",o.step==="confirm"?"TICKET-CHANGE.CONFIRM.TITLE":"TICKET-CHANGE.PASSEPARTOUT.TITLE")("forceShowBacklink",!0),a(2),u(o.errorMessage&&o.step!=="confirm"?2:-1),a(),u(o.currentDetails&&o.step!=="confirm"?3:-1),a(),u(o.step==="options"&&o.options?4:-1),a(),u(o.step==="variations"&&(o.options!=null&&o.options.AvailableVariations)?5:-1),a(),u(o.step==="confirm"&&o.selectedVariation&&o.currentDetails?6:-1))},dependencies:[Re,Ne,$,ne,re,De,L,N,R,Q,xe,je,W,A],styles:[".ticket-change-container[_ngcontent-%COMP%]{padding:24px 16px}.error-banner[_ngcontent-%COMP%]{background:#fbe9e7;border:1px solid #ef5350;border-radius:8px;padding:12px 16px;color:#c62828;display:flex;align-items:center;gap:8px}.error-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.match-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:4px 0 8px}.match-team-logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;flex-shrink:0}.match-team-name[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:18px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
1.match-separator[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px;font-weight:600;color:#757575;flex-shrink:0}.current-ticket-overview[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:16px}.current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:calc(50% - 8px);flex:0 0 calc(50% - 8px)}.summary-meta-label[_ngcontent-%COMP%], .summary-field-label[_ngcontent-%COMP%], .summary-ticket-holder__label[_ngcontent-%COMP%], .seat-card__label[_ngcontent-%COMP%]{font-family:var(--base-font);font-size:14px;line-height:17px;text-transform:none;color:#757575;font-weight:400;margin-bottom:4px}.summary-field-value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-ticket-summary[_ngcontent-%COMP%] .summary-layout[_ngcontent-%COMP%]{display:block}.current-ticket-summary[_ngcontent-%COMP%] .summary-row[_ngcontent-%COMP%]{width:100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-divider[_ngcontent-%COMP%]{margin:12px 0;border:0;border-top:2px solid #c8c8c8}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{flex-shrink:0}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-holder__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{margin-bottom:0}.current-ticket-summary[_ngcontent-%COMP%] .seat-card[_ngcontent-%COMP%]{background:#fff;padding:4px 8px;border-radius:4px;text-align:center;min-width:52px}.current-ticket-summary[_ngcontent-%COMP%] .seat-card__value[_ngcontent-%COMP%]{font-family:var(--base-font);color:#313131;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:400}.current-ticket-summary[_ngcontent-%COMP%] .summary-field__price[_ngcontent-%COMP%]{text-align:right;flex-shrink:0}.current-seat-snapshot[_ngcontent-%COMP%]{height:100%;background:var(--offwhite, #f8f9fa);border-radius:8px;padding:16px;border:1px solid #e0e0e0}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%]{margin-top:8px;height:360px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{margin-top:8px;display:block;height:360px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.option-list[_ngcontent-%COMP%]{margin-top:8px}.option-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:20px 16px;transition:border-color .2s,box-shadow .2s}.option-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.option-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.option-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.option-icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#e3f2fd;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:var(--club-main-color, #1976d2)}.option-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.option-description[_ngcontent-%COMP%]{font-size:14px;color:#757575;margin-top:2px}.option-arrow[_ngcontent-%COMP%]{color:#999;font-size:14px;flex-shrink:0}.variation-list[_ngcontent-%COMP%]{margin-top:8px}.variation-card[_ngcontent-%COMP%]{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:border-color .2s,box-shadow .2s}.variation-card__selectable[_ngcontent-%COMP%]{cursor:pointer}.variation-card__selectable[_ngcontent-%COMP%]:hover{border-color:var(--club-main-color, #1976d2);box-shadow:0 2px 8px #1976d226}.variation-card__selectable[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--club-main-color, #1976d2);box-shadow:0 0 0 3px #1976d24d}.variation-card__current[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;background:#f5f5f5}
1.variation-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333}.variation-price[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-top:2px}.badge-container[_ngcontent-%COMP%]{flex-shrink:0}.badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;white-space:nowrap}.badge__current[_ngcontent-%COMP%]{background:#f5f5f5;color:#757575}.badge__no-cost[_ngcontent-%COMP%]{background:#e8f5e9;color:#2e7d32}.badge__upgrade[_ngcontent-%COMP%]{background:#fff3e0;color:#e65100}.summary-card[_ngcontent-%COMP%]{background:var(--offwhite, #f8f9fa);border-radius:8px;padding:20px;border:1px solid #e0e0e0;display:flex;flex-direction:column}.summary-card[_ngcontent-%COMP%] .summary-field-value[_ngcontent-%COMP%]{font-weight:600}.summary-card[_ngcontent-%COMP%] .summary-label[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;color:#757575;font-weight:600;margin-bottom:4px}.summary-card[_ngcontent-%COMP%] .summary-variation[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.summary-card[_ngcontent-%COMP%] .summary-price[_ngcontent-%COMP%]{font-size:13px;color:#9e9e9e;font-weight:300;margin-top:4px}.summary-card[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{color:#999;font-size:18px;padding:8px 0}.summary-card__arrow[_ngcontent-%COMP%]{color:#bdbdbd;font-size:18px;flex-shrink:0;padding:0 4px;margin-top:30px}.summary-card__heading[_ngcontent-%COMP%]{font-size:13px;font-weight:700;text-transform:uppercase;color:#757575;letter-spacing:.5px}.price-difference[_ngcontent-%COMP%]{font-weight:600;font-size:15px;text-align:right}.price-difference[_ngcontent-%COMP%] .price-neutral[_ngcontent-%COMP%]{color:#2e7d32}.price-difference[_ngcontent-%COMP%] .price-upgrade[_ngcontent-%COMP%]{color:#e65100}.summary-card[_ngcontent-%COMP%] .price-difference[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.discount-warning[_ngcontent-%COMP%]{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:16px}.discount-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#f57f17;font-size:18px;margin-top:2px}.discount-warning[_ngcontent-%COMP%] .warning-text[_ngcontent-%COMP%]{font-size:14px;color:#5d4037}.discount-warning[_ngcontent-%COMP%] .discount-checkbox[_ngcontent-%COMP%]{margin-top:12px}.discount-checkbox[_ngcontent-%COMP%]{display:block;--mdc-checkbox-selected-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-hover-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-focus-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-pressed-icon-color: var(--club-main-color, #333333);--mdc-checkbox-selected-checkmark-color: #ffffff;--mat-checkbox-label-text-size: 14px}.action-buttons[_ngcontent-%COMP%]{margin-top:8px}@media(max-width:599px){.ticket-change-container[_ngcontent-%COMP%]{padding:16px 12px}.current-ticket-overview[_ngcontent-%COMP%]{flex-direction:column;gap:12px}.current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__ticket[_ngcontent-%COMP%], .current-ticket-overview.current-ticket-overview__with-map[_ngcontent-%COMP%] .current-ticket-overview__map[_ngcontent-%COMP%]{width:100%;flex:0 0 100%}.current-ticket-summary[_ngcontent-%COMP%] .summary-row__top[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .summary-status-holder[_ngcontent-%COMP%]{width:100%;margin-top:2px}.current-ticket-summary[_ngcontent-%COMP%] .summary-ticket-status[_ngcontent-%COMP%]{justify-content:flex-start}.current-ticket-summary[_ngcontent-%COMP%] .seat-fields[_ngcontent-%COMP%]{width:100%}.current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__loading[_ngcontent-%COMP%], .current-seat-snapshot[_ngcontent-%COMP%] .current-seat-snapshot__viewer[_ngcontent-%COMP%]{height:260px}.option-card[_ngcontent-%COMP%]{padding:16px 12px}.variation-card[_ngcontent-%COMP%]{padding:12px}.badge[_ngcontent-%COMP%]{font-size:12px;padding:3px 8px}}"]});let i=r;return i})();var cn=[{path:"basket/confirmation/:paymentReference/:clientReference",component:Qt},{path:"passepartout/:eventPlacementId",component:rn},{path:":orderLineId/options",component:Zt},{path:":orderLineId/variation",component:qt},{path:":orderLineId/confirm",redirectTo:":orderLineId/variation"},{path:":orderLineId/seat/venue",component:en,canActivate:[ke]},{path:":orderLineId/seat/section/:sectionId",component:an,canActivate:[ke]},{path:":orderLineId/success",component:$t},{path:"",redirectTo:"/tickets/overview",pathMatch:"full"},{path:"**",redirectTo:"/system/404"}];var Yr=(()=>{let r=class r{};r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=Ee({type:r}),r.\u0275inj=Se({providers:[{provide:ut,useFactory:t=>cn,multi:!0,deps:[xt]},Y,ke],imports:[gt,Ct,Ft,Tt,It,At,Rt,Nt,tt,Oe,Lt,Xe.forChild([]),_t,He,Xe]});let i=r;return i})();export{Yr as TicketChangeModule};
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.