PageSourceSearch

https://www.golfnow.com/dist/js/54668.bundle.js?v=rAWTcyLUOW5U5qd_&av=401838134

js golfnow.com collected 2026-09-24 08:43:55 UTC 116,030 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkgolfnow_web||=[]).push([[54668],{32287(e,r,t){t.r(r),t.d(r,{default:()=>ey});class i{constructor(e){if(Object.defineProperty(this,"email",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"firstName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"avatarUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"gpMember",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"gppMember",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.email=void 0!==e.email?e.email:null,this.firstName=void 0!==e.firstName?e.firstName:null,this.lastName=void 0!==e.lastName?e.lastName:null,this.avatarUrl=void 0!==e.avatarUrl?e.avatarUrl:null,this.gpMember=void 0!==e.gpMember?e.gpMember:null,this.gppMember=void 0!==e.gppMember?e.gppMember:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new i;return r.init(e),r}}var o=t(42424),a=t(64844);class n{constructor(e){if(Object.defineProperty(this,"facilityId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facility",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"count",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.facilityId=void 0!==e.facilityId?e.facilityId:null,this.facility=e.facility?a.t.fromJS(e.facility):null,this.count=void 0!==e.count?e.count:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new n;return r.init(e),r}}class s{constructor(e){if(Object.defineProperty(this,"cancellationReasonId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.cancellationReasonId=void 0!==e.cancellationReasonId?e.cancellationReasonId:null,this.description=void 0!==e.description?e.description:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new s;return r.init(e),r}}var l=t(58654);class c extends l.R{constructor(e){super(e),Object.defineProperty(this,"inviteId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"inviterName",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.inviteId=void 0!==e.inviteId?e.inviteId:null,this.inviterName=void 0!==e.inviterName?e.inviterName:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new c;return r.init(e),r}}class u{constructor(e){if(Object.defineProperty(this,"totalReservations",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reservations",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reservationInvites",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cancellationReasons",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"myProperty",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pastOrCanceledReservations",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"upcomingAndNotCanceledReservations",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"upcomingInvites",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pastInvites",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.totalReservations=void 0!==e.totalReservations?e.totalReservations:null,Array.isArray(e.reservations))for(let r of(this.reservations=[],e.reservations))this.reservations.push(l.R.fromJS(r));else this.reservations=null;if(Array.isArray(e.reservationInvites))for(let r of(this.reservationInvites=[],e.reservationInvites))this.reservationInvites.push(c.fromJS(r));else this.reservationInvites=null;if(Array.isArray(e.cancellationReasons))for(let r of(this.cancellationReasons=[],e.cancellationReasons))this.cancellationReasons.push(s.fromJS(r));else this.cancellationReasons=null;
1if(Array.isArray(e.myProperty))for(let r of(this.myProperty=[],e.myProperty))this.myProperty.push(l.R.fromJS(r));else this.myProperty=null;if(Array.isArray(e.pastOrCanceledReservations))for(let r of(this.pastOrCanceledReservations=[],e.pastOrCanceledReservations))this.pastOrCanceledReservations.push(l.R.fromJS(r));else this.pastOrCanceledReservations=null;if(Array.isArray(e.upcomingAndNotCanceledReservations))for(let r of(this.upcomingAndNotCanceledReservations=[],e.upcomingAndNotCanceledReservations))this.upcomingAndNotCanceledReservations.push(l.R.fromJS(r));else this.upcomingAndNotCanceledReservations=null;if(Array.isArray(e.upcomingInvites))for(let r of(this.upcomingInvites=[],e.upcomingInvites))this.upcomingInvites.push(c.fromJS(r));else this.upcomingInvites=null;if(Array.isArray(e.pastInvites))for(let r of(this.pastInvites=[],e.pastInvites))this.pastInvites.push(c.fromJS(r));else this.pastInvites=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new u;return r.init(e),r}}class d{constructor(e){if(Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"credits",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expiresOn",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.id=void 0!==e.id?e.id:null,this.credits=void 0!==e.credits?e.credits:null,this.expiresOn=void 0!==e.expiresOn?e.expiresOn:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new d;return r.init(e),r}}class h{constructor(e){if(Object.defineProperty(this,"cancellationCredits",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"availableCredits",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"totalExpired",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(Array.isArray(e.cancellationCredits))for(let r of(this.cancellationCredits=[],e.cancellationCredits))this.cancellationCredits.push(d.fromJS(r));else this.cancellationCredits=null;this.availableCredits=void 0!==e.availableCredits?e.availableCredits:null,this.totalExpired=void 0!==e.totalExpired?e.totalExpired:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new h;return r.init(e),r}}var b=t(36317),f=t(55940);class p{constructor(e){if(Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"codeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"couponId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"icon",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isAvailable",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"promoTypeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redemptionReferenceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redemptionTypeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}
1init(e){e&&(this.code=void 0!==e.code?e.code:null,this.codeId=void 0!==e.codeId?e.codeId:null,this.couponId=void 0!==e.couponId?e.couponId:null,this.description=void 0!==e.description?e.description:null,this.icon=void 0!==e.icon?e.icon:null,this.expirationDate=void 0!==e.expirationDate?e.expirationDate:null,this.isAvailable=void 0!==e.isAvailable?e.isAvailable:null,this.promoTypeId=void 0!==e.promoTypeId?e.promoTypeId:null,this.redemptionReferenceId=void 0!==e.redemptionReferenceId?e.redemptionReferenceId:null,this.redemptionTypeId=void 0!==e.redemptionTypeId?e.redemptionTypeId:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new p;return r.init(e),r}}var v=t(67061),m=t(21948);class y{constructor(e){if(Object.defineProperty(this,"isUsCustomer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfNowSubscribed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeGolfNow",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"marketSubscribed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeMarket",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"markets",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfChannelSubscribed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeGolfChannel",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfCourseSubscriptionListId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVoxGolfCheckbox",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeVoxGolf",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfCourseSubscribed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facilityName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"emailSubscribeOfferEnabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"emailOptInPromo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeGolfCourse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeSMSReminders",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsRemindersEnabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsRemindersAllowedCountries",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsRemindersInitialCountry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeSMSMarketing",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsMarketingEnabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsMarketingAllowedCountries",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsMarketingInitialCountry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.isUsCustomer=void 0!==e.isUsCustomer?e.isUsCustomer:null,this.golfNowSubscribed=void 0!==e.golfNowSubscribed?e.golfNowSubscribed:null,this.subscribeGolfNow=void 0!==e.subscribeGolfNow?e.subscribeGolfNow:null,this.marketSubscribed=void 0!==e.marketSubscribed?e.marketSubscribed:null,this.subscribeMarket=void 0!==e.subscribeMarket?e.subscribeMarket:null,this.markets=void 0!==e.markets?e.markets:null,this.golfChannelSubscribed=void 0!==e.golfChannelSubscribed?e.golfChannelSubscribed:null,this.subscribeGolfChannel=void 0!==e.subscribeGolfChannel?e.subscribeGolfChannel:null,this.golfCourseSubscriptionListId=void 0!==e.golfCourseSubscriptionListId?e.golfCourseSubscriptionListId:null,this.showVoxGolfCheckbox=void 0!==e.showVoxGolfCheckbox?e.showVoxGolfCheckbox:null,this.subscribeVoxGolf=void 0!==e.subscribeVoxGolf?e.subscribeVoxGolf:null,this.golfCourseSubscribed=void 0!==e.golfCourseSubscribed?e.golfCourseSubscribed:null,this.facilityName=void 0!==e.facilityName?e.facilityName:null,this.emailSubscribeOfferEnabled=void 0!==e.emailSubscribeOfferEnabled?e.emailSubscribeOfferEnabled:null,this.emailOptInPromo=void 0!==e.emailOptInPromo?e.emailOptInPromo:null,this.subscribeGolfCourse=void 0!==e.subscribeGolfCourse?e.subscribeGolfCourse:null,this.subscribeSMSReminders=void 0!==e.subscribeSMSReminders?e.subscribeSMSReminders:null,this.smsRemindersEnabled=void 0!==e.smsRemindersEnabled?e.smsRemindersEnabled:null,Array.isArray(e.smsRemindersAllowedCountries))for(let r of(this.smsRemindersAllowedCountries=[],e.smsRemindersAllowedCountries))this.smsRemindersAllowedCountries.push(r);else this.smsRemindersAllowedCountries=null;if(this.smsRemindersInitialCountry=void 0!==e.smsRemindersInitialCountry?e.smsRemindersInitialCountry:null,this.subscribeSMSMarketing=void 0!==e.subscribeSMSMarketing?e.subscribeSMSMarketing:null,this.smsMarketingEnabled=void 0!==e.smsMarketingEnabled?e.smsMarketingEnabled:null,Array.isArray(e.smsMarketingAllowedCountries))for(let r of(this.smsMarketingAllowedCountries=[],e.smsMarketingAllowedCountries))this.smsMarketingAllowedCountries.push(r);else this.smsMarketingAllowedCountries=null;this.smsMarketingInitialCountry=void 0!==e.smsMarketingInitialCountry?e.smsMarketingInitialCountry:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new y;return r.init(e),r}}var g=t(84045);class P{constructor(e){if(Object.defineProperty(this,"golfPassSavingEstimates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfPassSavingActual",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfPassSavingEstimatesRounded",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfPassSavingActualRounded",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.golfPassSavingEstimates=e.golfPassSavingEstimates?g.W.fromJS(e.golfPassSavingEstimates):null,this.golfPassSavingActual=e.golfPassSavingActual?g.W.fromJS(e.golfPassSavingActual):null,this.golfPassSavingEstimatesRounded=void 0!==e.golfPassSavingEstimatesRounded?e.golfPassSavingEstimatesRounded:null,this.golfPassSavingActualRounded=void 0!==e.golfPassSavingActualRounded?e.golfPassSavingActualRounded:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new P;return r.init(e),r}}class w{constructor(e){if(Object.defineProperty(this,"benefits",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"savings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.benefits=e.benefits?v.r.fromJS(e.benefits):null,this.savings=e.savings?P.fromJS(e.savings):null)}static fromJS(e){e="object"==typeof e?e:{};let r=new w;return r.init(e),r}}class O{constructor(e){if(Object.defineProperty(this,"termsAndConditions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isRedeemed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.termsAndConditions=void 0!==e.termsAndConditions?e.termsAndConditions:null,this.isRedeemed=void 0!==e.isRedeemed?e.isRedeemed:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new O;return r.init(e),r}}class j{constructor(e){if(Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"extendedData",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isActive",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referenceID",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"termsAndConditions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isRedeemed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expiringSoon",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.description=void 0!==e.description?e.description:null,this.expirationDate=void 0!==e.expirationDate?e.expirationDate:null,this.extendedData=e.extendedData?O.fromJS(e.extendedData):null,this.isActive=void 0!==e.isActive?e.isActive:null,this.referenceID=void 0!==e.referenceID?e.referenceID:null,this.termsAndConditions=void 0!==e.termsAndConditions?e.termsAndConditions:null,this.isRedeemed=void 0!==e.isRedeemed?e.isRedeemed:null,this.expiringSoon=void 0!==e.expiringSoon?e.expiringSoon:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new j;return r.init(e),r}}class S{constructor(e){if(Object.defineProperty(this,"benefits",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"termsAndConditions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(Array.isArray(e.benefits))for(let r of(this.benefits=[],e.benefits))this.benefits.push(j.fromJS(r));else this.benefits=null;this.termsAndConditions=void 0!==e.termsAndConditions?e.termsAndConditions:null,this.description=void 0!==e.description?e.description:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new S;return r.init(e),r}}class C{constructor(e){if(Object.defineProperty(this,"formattedBalance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"number",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currencyCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expiresFormatted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.formattedBalance=void 0!==e.formattedBalance?e.formattedBalance:null,this.number=void 0!==e.number?e.number:null,this.currencyCode=void 0!==e.currencyCode?e.currencyCode:null,this.expiresFormatted=void 0!==e.expiresFormatted?e.expiresFormatted:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new C;return r.init(e),r}}var A=t(70311),I=t(82765);class J{constructor(e){if(Object.defineProperty(this,"creditCards",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"totalCreditString",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountBalances",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountBalancesDetails",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"paymentManagement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(Array.isArray(e.creditCards))for(let r of(this.creditCards=[],e.credit
1Cards))this.creditCards.push(A.q.fromJS(r));else this.creditCards=null;if(this.totalCreditString=void 0!==e.totalCreditString?e.totalCreditString:null,Array.isArray(e.accountBalances))for(let r of(this.accountBalances=[],e.accountBalances))this.accountBalances.push(g.W.fromJS(r));else this.accountBalances=null;if(Array.isArray(e.accountBalancesDetails))for(let r of(this.accountBalancesDetails=[],e.accountBalancesDetails))this.accountBalancesDetails.push(C.fromJS(r));else this.accountBalancesDetails=null;this.paymentManagement=e.paymentManagement?I.R.fromJS(e.paymentManagement):null}}static fromJS(e){e="object"==typeof e?e:{};let r=new J;return r.init(e),r}}class x{constructor(e){if(Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reviewUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productReviewId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"imagePathUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.id=void 0!==e.id?e.id:null,this.name=void 0!==e.name?e.name:null,this.reviewUrl=void 0!==e.reviewUrl?e.reviewUrl:null,this.productReviewId=void 0!==e.productReviewId?e.productReviewId:null,this.imagePathUrl=void 0!==e.imagePathUrl?e.imagePathUrl:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new x;return r.init(e),r}}var E=t(34410);class R{constructor(e){if(Object.defineProperty(this,"facilityId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facilityName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"imagePathUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"seoFriendlyName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"address",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"playDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.facilityId=void 0!==e.facilityId?e.facilityId:null,this.facilityName=void 0!==e.facilityName?e.facilityName:null,this.imagePathUrl=void 0!==e.imagePathUrl?e.imagePathUrl:null,this.seoFriendlyName=void 0!==e.seoFriendlyName?e.seoFriendlyName:null,this.address=e.address?E.p.fromJS(e.address):null,this.playDate=void 0!==e.playDate?e.playDate:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new R;return r.init(e),r}}class N{constructor(e){if(Object.defineProperty(this,"campaignName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"campaignDescription",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"actionTypeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.campaignName=void 0!==e.campaignName?e.campaignName:null,this.campaignDescription=void 0!==e.campaignDescription?e.campaignDescription:null,this.actionTypeId=void 0!==e.actionTypeId?e.actionTypeId:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new N;return r.init(e),r}}class T{constructor(e){if(Object.defineProperty(this,"referenceTypeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"source",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"action",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referenceTypeEnum",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.referenceTypeId=void 0!==e.referenceTypeId?e.referenceTypeId:null,this.source=void 0!==e.source?e.source:null,this.action=void 0!==e.action?e.action:null,this.referenceTypeEnum=void 0!==e.referenceTypeEnum?e.referenceTypeEnum:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new T;return r.init(e),r}}class U{constructor(e){if(Object.defineProperty(this,"pointsTransactionId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"programId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"customerId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"channelId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"createdOnUtc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referenceType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referenceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pointsValue",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isProcessed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"processedOnUtc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"runningBalance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expiresOnUtc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pointsForAction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.pointsTransactionId=void 0!==e.pointsTransactionId?e.pointsTransactionId:null,this.programId=void 0!==e.programId?e.programId:null,this.customerId=void 0!==e.customerId?e.customerId:null,this.channelId=void 0!==e.channelId?e.channelId:null,this.createdOnUtc=void 0!==e.createdOnUtc?e.createdOnUtc:null,this.referenceType=e.referenceType?T.fromJS(e.referenceType):null,this.referenceId=void 0!==e.referenceId?e.referenceId:null,this.pointsValue=void 0!==e.pointsValue?e.pointsValue:null,this.description=void 0!==e.description?e.description:null,this.isProcessed=void 0!==e.isProcessed?e.isProcessed:null,this.processedOnUtc=void 0!==e.processedOnUtc?e.processedOnUtc:null,this.runningBalance=void 0!==e.runningBalance?e.runningBalance:null,this.expiresOnUtc=void 0!==e.expiresOnUtc?e.expiresOnUtc:null,this.pointsForAction=e.pointsForAction?N.fromJS(e.pointsForAction):null)}static fromJS(e){e="object"==typeof e?e:{};let r=new U;return r.init(e),r}}var G=t(79599);class M{constructor(e){if(Object.defineProperty(this,"loyaltyEligibility",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"originalSubtotal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subtotal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.loyaltyEligibility=e.loyaltyEligibility?G.L.fromJS(e.loyaltyEligibility):null,this.originalSubtotal=e.originalSubtotal?g.W.fromJS(e.originalSubtotal):null,this.subtotal=e.subtotal?g.W.fromJS(e.subtotal):null)}static fromJS(e){e="object"==typeof e?e:{};let r=new M;return r.init(e),r}}class k{constructor(e){if(Object.defineProperty(this,"rewardId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"wasUsed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"issueDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"firstName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"useRefereeFirstName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDateFormatted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"issueDateFormatted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"firstNameChecked",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.rewardId=void 0!==e.rewardId?e.rewardId:null,this.description=void 0!==e.description?e.description:null,this.co
1de=void 0!==e.code?e.code:null,this.wasUsed=void 0!==e.wasUsed?e.wasUsed:null,this.expirationDate=void 0!==e.expirationDate?e.expirationDate:null,this.issueDate=void 0!==e.issueDate?e.issueDate:null,this.firstName=void 0!==e.firstName?e.firstName:null,this.useRefereeFirstName=void 0!==e.useRefereeFirstName?e.useRefereeFirstName:null,this.expirationDateFormatted=void 0!==e.expirationDateFormatted?e.expirationDateFormatted:null,this.issueDateFormatted=void 0!==e.issueDateFormatted?e.issueDateFormatted:null,this.firstNameChecked=void 0!==e.firstNameChecked?e.firstNameChecked:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new k;return r.init(e),r}}class D{constructor(e){if(Object.defineProperty(this,"couponCodes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"availableCouponCodes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"availableRewardsCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"rewardsToDateCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isGPMemberWithReferralReward",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(Array.isArray(e.couponCodes))for(let r of(this.couponCodes=[],e.couponCodes))this.couponCodes.push(k.fromJS(r));else this.couponCodes=null;if(Array.isArray(e.availableCouponCodes))for(let r of(this.availableCouponCodes=[],e.availableCouponCodes))this.availableCouponCodes.push(k.fromJS(r));else this.availableCouponCodes=null;this.availableRewardsCount=void 0!==e.availableRewardsCount?e.availableRewardsCount:null,this.rewardsToDateCount=void 0!==e.rewardsToDateCount?e.rewardsToDateCount:null,this.isGPMemberWithReferralReward=void 0!==e.isGPMemberWithReferralReward?e.isGPMemberWithReferralReward:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new D;return r.init(e),r}}class F{constructor(e){if(Object.defineProperty(this,"productId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productPriceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productTypeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.productId=void 0!==e.productId?e.productId:null,this.productPriceId=void 0!==e.productPriceId?e.productPriceId:null,this.productTypeId=void 0!==e.productTypeId?e.productTypeId:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new F;return r.init(e),r}}class V{constructor(e){if(Object.defineProperty(this,"facilityName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facilityId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.facilityName=void 0!==e.facilityName?e.facilityName:null,this.facilityId=void 0!==e.facilityId?e.facilityId:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new V;return r.init(e),r}}var B=t(28010),$=t(34928);class L{constructor(e){if(Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productVariantId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"variantId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"externalItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productPrice",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"quantity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.id=void 0!==e.id?e.id:null,this.productId=void 0!==e.productId?e.productId:null,this.productName=void 0!==e.productName?e.productName:null,this.productVariantId=void 0!==e.productVariantId?e.productVariantId:null,this.variantId=void 0!==e.variantId?e.variantId:null,this.externalItem=void 0!==e.externalItem?e.externalItem:null,this.productPrice
1=e.productPrice?g.W.fromJS(e.productPrice):null,this.productType=void 0!==e.productType?e.productType:null,this.quantity=void 0!==e.quantity?e.quantity:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new L;return r.init(e),r}}class H{constructor(e){if(Object.defineProperty(this,"discounts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facilityId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fees",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"grandTotal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"items",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"numberOfGuests",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subtotal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"taxes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.discounts=e.discounts?g.W.fromJS(e.discounts):null,this.facilityId=void 0!==e.facilityId?e.facilityId:null,Array.isArray(e.fees))for(let r of(this.fees=[],e.fees))this.fees.push(r);else this.fees=null;if(this.grandTotal=e.grandTotal?g.W.fromJS(e.grandTotal):null,this.id=void 0!==e.id?e.id:null,Array.isArray(e.items))for(let r of(this.items=[],e.items))this.items.push(L.fromJS(r));else this.items=null;this.numberOfGuests=void 0!==e.numberOfGuests?e.numberOfGuests:null,this.subtotal=e.subtotal?g.W.fromJS(e.subtotal):null,this.taxes=e.taxes?g.W.fromJS(e.taxes):null}}static fromJS(e){e="object"==typeof e?e:{};let r=new H;return r.init(e),r}}class W{constructor(e){if(Object.defineProperty(this,"upcomingReservations",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e)if(Array.isArray(e.upcomingReservations))for(let r of(this.upcomingReservations=[],e.upcomingReservations))this.upcomingReservations.push(l.R.fromJS(r));else this.upcomingReservations=null}static fromJS(e){e="object"==typeof e?e:{};let r=new W;return r.init(e),r}}class K{constructor(e){if(Object.defineProperty(this,"reasonId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.reasonId=void 0!==e.reasonId?e.reasonId:null,this.description=void 0!==e.description?e.description:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new K;return r.init(e),r}}var q=t(46112),Y=t(7655);class Z{constructor(e){if(Object.defineProperty(this,"pageHeader",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"wallet",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"products",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cancellationReasons",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"benefitCoupons",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productSubscriptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfPassCtaProductUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endedSubscriptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.pageHeader=void 0!==e.pageHeader?e.pageHeader:null,this.wallet=e.wallet?Y.Z.fromJS(e.wallet):null,Array.isArray(e.products))for(let r of(this.products=[],e.products))this.products.push(q.L.fromJS(r));else this.products=null;if(Array.isArray(e.cancellationReasons))for(let r of(this.cancellationReasons=[],e.cancellationReasons))this.cancellationReasons.push(K.fromJS(r));else this.cancellationReasons=null;if(Array.isArray(e.benefitCoupons))for(let r of(this.benefitCoupons=[],e.benefitCoupons))this.benefitCoupons.push(p.fromJS(r));else this.benefitCoupons=null;if(Array.isArray(e.productSubscriptions))for(let r of(this.productSubscriptions=[],e.productSubscriptions))this.productSubscriptions.push(m.r.fromJS(r));else this.productSubscriptions=null;if(this.golfPassCtaProductUrl=void 0!==e.golfPassCtaProductUrl?e.golfPassCtaProductUrl:null,Array.isArray(e.endedSubscriptions))for(let r of(this.endedSubscriptions=[],e.endedSubscriptions))this.endedSubscriptions.push(m.r.fromJS(r));else this.endedSubscriptions=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new Z;return r.init(e),r}}var z=t(78570),Q=t(35822),X=t(78222);class _{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?Z.fromJS(e.model):null,this.pageConfig=e.page
1Config?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new _;return r.init(e),r}}class ee{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?b.C.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new ee;return r.init(e),r}}class er{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?f.$.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new er;return r.init(e),r}}var et=t(20730);class ei{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?et.l.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new ei;return r.init(e),r}}var eo=t(64656);class ea{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?eo.B.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new ea;return r.init(e),r}}class en{constructor(e){if(Object.defineProperty(this,"userName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.userName=void 0!==e.userName?e.userName:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new en;return r.init(e),r}}class es{constructor(e){if(Object.defineProperty(this,"returnUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isLocalUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseFlowCookieKey",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseFlowCookieProductKey",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseFlowCookieFound",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseFlowCookieProductFound",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"locationCacheName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastLocationCheck",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signInText",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isBookingProcess",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"invalidEmailAddressMsg",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"keepMeSignedInTitle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"privacyPolicyLink",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"enhancedEcommerceInfoLoginUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"teeTimeId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"facilityId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"players",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isVipSubscribeFlow",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"vipEnableRoutes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"vipProduct",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fullCustomerGuestLoginError",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"guestLoginModel",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountSignupTagline",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfIdEnabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isWhiteLabelSite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sourceType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"forgotPasswordUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"allowedOrigin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"iFrameBaseUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"iFrameRawUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"emailOptinCopy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"convertGuestCheckoutSection",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"invalidReferrers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsMarketingEnabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsOptinCopy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.returnUrl=void 0!==e.returnUrl?e.returnUrl:null,this.isLocalUrl=void 0!==e.isLocalUrl?e.isLocalUrl:null,this.purchaseFlowCookieKey=void 0!==e.purchaseFlowCookieKey?e.purchaseFlowCookieKey:null,this.purchaseFlowCookieProductKey=void 0!==e.purchaseFlowCookieProductKey?e.purchaseFlowCookieProductKey:null,this.purchaseFlowCookieFound=void 0!==e.purchaseFlowCookieFound?e.purchaseFlowCookieFound:null,this.purchaseFlowCookieProductFound=void 0!==e.purchaseFlowCookieProductFound?e.purchaseFlowCookieProductFound:null,this.locationCacheName=void 0!==e.locationCacheName?e.locationCacheName:null,this.lastLocationCheck=void 0!==e.lastLocationCheck?e.lastLocationCheck:null,this.signInText=void 0!==e.signInText?e.signInText:null,this.isBookingProcess=void 0!==e.isBookingProcess?e.isBookingProcess:null,this.invalidEmailAddressMsg=void 0!==e.invalidEmailAddressMsg?e.invali
1dEmailAddressMsg:null,this.keepMeSignedInTitle=void 0!==e.keepMeSignedInTitle?e.keepMeSignedInTitle:null,this.privacyPolicyLink=void 0!==e.privacyPolicyLink?e.privacyPolicyLink:null,this.enhancedEcommerceInfoLoginUrl=void 0!==e.enhancedEcommerceInfoLoginUrl?e.enhancedEcommerceInfoLoginUrl:null,this.teeTimeId=void 0!==e.teeTimeId?e.teeTimeId:null,this.facilityId=void 0!==e.facilityId?e.facilityId:null,this.players=void 0!==e.players?e.players:null,this.isVipSubscribeFlow=void 0!==e.isVipSubscribeFlow?e.isVipSubscribeFlow:null,this.vipEnableRoutes=void 0!==e.vipEnableRoutes?e.vipEnableRoutes:null,this.vipProduct=e.vipProduct?q.L.fromJS(e.vipProduct):null,this.fullCustomerGuestLoginError=void 0!==e.fullCustomerGuestLoginError?e.fullCustomerGuestLoginError:null,this.guestLoginModel=e.guestLoginModel?en.fromJS(e.guestLoginModel):null,this.accountSignupTagline=void 0!==e.accountSignupTagline?e.accountSignupTagline:null,this.golfIdEnabled=void 0!==e.golfIdEnabled?e.golfIdEnabled:null,this.isWhiteLabelSite=void 0!==e.isWhiteLabelSite?e.isWhiteLabelSite:null,this.sourceType=void 0!==e.sourceType?e.sourceType:null,this.forgotPasswordUrl=void 0!==e.forgotPasswordUrl?e.forgotPasswordUrl:null,this.allowedOrigin=void 0!==e.allowedOrigin?e.allowedOrigin:null,this.iFrameBaseUrl=void 0!==e.iFrameBaseUrl?e.iFrameBaseUrl:null,this.iFrameRawUrl=void 0!==e.iFrameRawUrl?e.iFrameRawUrl:null,this.emailOptinCopy=void 0!==e.emailOptinCopy?e.emailOptinCopy:null,this.convertGuestCheckoutSection=void 0!==e.convertGuestCheckoutSection?e.convertGuestCheckoutSection:null,Array.isArray(e.invalidReferrers))for(let r of(this.invalidReferrers=[],e.invalidReferrers))this.invalidReferrers.push(r);else this.invalidReferrers=null;this.smsMarketingEnabled=void 0!==e.smsMarketingEnabled?e.smsMarketingEnabled:null,this.smsOptinCopy=void 0!==e.smsOptinCopy?e.smsOptinCopy:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new es;return r.init(e),r}}class el{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?es.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new el;return r.init(e),r}}var ec=t(78848);class eu{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?ec.w.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new eu;return r.init(e),r}}var ed=t(69940);class eh{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?ed.b.fromJS(e.model):null,this.pageConfig=e.page
1Config?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new eh;return r.init(e),r}}class eb{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?I.R.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new eb;return r.init(e),r}}var ef=t(29264);class ep extends ef.f{constructor(e){super(e),Object.defineProperty(this,"referrerLastName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referrerProfileId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referrerName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referrerProfilePic",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfNowSubscribe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"profilePicRootUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referrerFirstName",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.referrerLastName=void 0!==e.referrerLastName?e.referrerLastName:null,this.referrerProfileId=void 0!==e.referrerProfileId?e.referrerProfileId:null,this.referrerName=void 0!==e.referrerName?e.referrerName:null,this.referrerProfilePic=void 0!==e.referrerProfilePic?e.referrerProfilePic:null,this.golfNowSubscribe=void 0!==e.golfNowSubscribe?e.golfNowSubscribe:null,this.profilePicRootUrl=void 0!==e.profilePicRootUrl?e.profilePicRootUrl:null,this.referrerFirstName=void 0!==e.referrerFirstName?e.referrerFirstName:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new ep;return r.init(e),r}}class ev{constructor(e){if(Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageConfig",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"searchViews",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"refinements",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.model=e.model?ep.fromJS(e.model):null,this.pageConfig=e.pageConfig?Q.I.fromJS(e.pageConfig):null,Array.isArray(e.searchViews))for(let r of(this.searchViews=[],e.searchViews))this.searchViews.push(X.m.fromJS(r));else this.searchViews=null;if(Array.isArray(e.refinements))for(let r of(this.refinements=[],e.refinements))this.refinements.push(z.t.fromJS(r));else this.refinements=null}}static fromJS(e){e="object"==typeof e?e:{};let r=new ev;return r.init(e),r}}var em=t(69777);class ey{constructor(e,r){Object.defineProperty(this,"http",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"baseUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"jsonParseReviver",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.http=r||window,this.baseUrl=null!=e?e:""}getModel(e,r){let t=this.baseUrl+"/api/account/model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetModel(e))}processGetModel(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return eh.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getManageAccountModel(e,r){let t=this.baseUrl+"/api/account/manage-account-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetManageAccountModel(e))}processGetManageAccountModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return eu.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getLoginModel(e,r){let t=this.baseUrl+"/api/account/login-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetLoginModel(e))}processGetLoginModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return el.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCallCenterSigninModel(e,r){let t=this.baseUrl+"/api/account/call-center-signin-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetCallCenterSigninModel(e))}processGetCallCenterSigninModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return ea.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getAccountMembershipsModel(e,r){let t=this.baseUrl+"/api/account/memberships-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetAccountMembershipsModel(e))}processGetAccountMembershipsModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return _.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getPaymentMangementModel(e,r){let t=this.baseUrl+"/api/account/payment-management-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetPaymentMangementModel(e))}processGetPaymentMangementModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return eb.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getPaymentMethodDetail(e){let r=this.baseUrl+"/api/account/get-payment-method-detail";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetPaymentMethodDetail(e))}processGetPaymentMethodDetail(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return J.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getChangeEmailModel(e,r){let t=this.baseUrl+"/api/account/change-email-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetChangeEmailModel(e))}processGetChangeEmailModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return ee.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getChangePasswordModel(e,r){let t=this.baseUrl+"/api/account/change-password-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetChangePasswordModel(e))}processGetChangePasswordModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return er.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getDataManagementModel(e,r){let t=this.baseUrl+"/api/account/datamanagement-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetDataManagementModel(e))}processGetDataManagementModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return ei.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getJoinMeModel(e,r){let t=this.baseUrl+"/api/account/joinme-model/{cacheKey}";if(null==e)throw Error("The parameter 'cacheKey' must be defined.");return t=(t=t.replace("{cacheKey}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetJoinMeModel(e))}processGetJoinMeModel(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return ev.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getBookedCourses(e){let r=this.baseUrl+"/api/account/bookedcourses";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetBookedCourses(e))}processGetBookedCourses(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(n.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getUpcomingReservationCount(e){let r=this.baseUrl+"/api/account/pending-reservation-count";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetUpcomingReservationCount(e))}processGetUpcomingReservationCount(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return void 0!==r?r:null}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getFreeGolfBenefitCoupons(e){let r=this.baseUrl+"/api/account/free-golf-coupons";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetFreeGolfBenefitCoupons(e))}processGetFreeGolfBenefitCoupons(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(p.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCourseBookingInfo(e,r){let t=this.baseUrl+"/api/account/vendors/g1/booking-info";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCourseBookingInfo(e))}processPostCourseBookingInfo(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return $.d.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCoursePrepaidBookingInfo(e,r){let t=this.baseUrl+"/api/account/vendors/g1/prepaid/booking-info";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCoursePrepaidBookingInfo(e))}processPostCoursePrepaidBookingInfo(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCourseInvoice(e,r){let t=this.baseUrl+"/api/account/vendors/g1/invoice";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCourseInvoice(e))}processPostCourseInvoice(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return H.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCourseInvoicePurchase(e,r){let t=this.baseUrl+"/api/account/vendors/g1/purchase";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCourseInvoicePurchase(e))}processPostCourseInvoicePurchase(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postLogin(e,r){let t=this.baseUrl+"/api/account/login";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostLogin(e))}processPostLogin(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return void 0!==r?r:null}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCreateAccount(e,r){let t=this.baseUrl+"/api/account/create-account";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCreateAccount(e))}processPostCreateAccount(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postSmsMarketingOptIn(e,r){let t=this.baseUrl+"/api/account/sms-marketing-optin";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/octet-stream"}}).then(e=>this.processPostSmsMarketingOptIn(e))}processPostSmsMarketingOptIn(e){let r=e.status,t={};
1if(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r||206===r){let i=e.headers?e.headers.get("content-disposition"):void 0,o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,a=o&&o.length>1?o[3]||o[2]:void 0;return a=a?decodeURIComponent(a):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0)&&o.length>1?o[1]:void 0,e.blob().then(e=>({fileName:a,data:e,status:r,headers:t}))}return 200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postUpdateWalletOption(e,r){let t=this.baseUrl+"/api/account/updatewalletoption";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostUpdateWalletOption(e))}processPostUpdateWalletOption(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postDeleteWalletOption(e,r){let t=this.baseUrl+"/api/account/deletewalletoption";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostDeleteWalletOption(e))}processPostDeleteWalletOption(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postSetDefaultWalletOption(e,r){let t=this.baseUrl+"/api/account/setdefaultwalletoption";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostSetDefaultWalletOption(e))}processPostSetDefaultWalletOption(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postAddWalletOption(e,r){let t=this.baseUrl+"/api/account/addwalletoption";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostAddWalletOption(e))}processPostAddWalletOption(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postAddGiftCard(e,r){let t=this.baseUrl+"/api/account/addgiftcard";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostAddGiftCard(e))}processPostAddGiftCard(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postUpdate(e,r){let t=this.baseUrl+"/api/account/update";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostUpdate(e))}processPostUpdate(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postChangeEmail(e,r){let t=this.baseUrl+"/api/account/change-email";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostChangeEmail(e))}processPostChangeEmail(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return b.C.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postChangePassword(e,r){let t=this.baseUrl+"/api/account/change-password";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostChangePassword(e))}processPostChangePassword(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return f.$.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCoursesPlayed(e){let r=this.baseUrl+"/api/account/played-courses";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetCoursesPlayed(e))}processGetCoursesPlayed(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(x.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getPlayedReservations(e){let r=this.baseUrl+"/api/account/played-reservations";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetPlayedReservations(e))}processGetPlayedReservations(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(R.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerRewardsProfile(e,r){let t=this.baseUrl+"/api/account/rewards-profile?";return null!=e&&(t+="rewardStatus="+encodeURIComponent(""+e)+"&"),t=t.replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetCustomerRewardsProfile(e))}processGetCustomerRewardsProfile(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return B.P.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerRewardsCredits(e,r,t){let i=this.baseUrl+"/api/account/rewards-credits/{activeOnly}";if(null==r)throw Error("The parameter 'activeOnly' must be defined.");i=(i=i.replace("{activeOnly}",encodeURIComponent(""+r))).replace(/[?&]$/,"");let o=JSON.stringify(e);return this.http.fetch(i,{body:o,method:"POST",signal:t,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processGetCustomerRewardsCredits(e))}processGetCustomerRewardsCredits(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(p.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCancellationCreditSummary(e){let r=this.baseUrl+"/api/account/cancellation-credits-summary";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetCancellationCreditSummary(e))}processGetCancellationCreditSummary(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return h.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerBenefitsSummary(e){let r=this.baseUrl+"/api/account/benefits-profile";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetCustomerBenefitsSummary(e))}processGetCustomerBenefitsSummary(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return v.r.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getGolfPassSavings(e){let r=this.baseUrl+"/api/account/golfpass-savings";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetGolfPassSavings(e))}processGetGolfPassSavings(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return P.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerLoyaltyRewardsTransactions(e,r,t){let i=this.baseUrl+"/api/account/loyalty-rewards-transactions?";if(null===e)throw Error("The parameter 'page' cannot be null.");if(void 0!==e&&(i+="page="+encodeURIComponent(""+e)+"&"),null===r)throw Error("The parameter 'pageSize' cannot be null.");return void 0!==r&&(i+="pageSize="+encodeURIComponent(""+r)+"&"),i=i.replace(/[?&]$/,""),this.http.fetch(i,{method:"GET",signal:t,headers:{Accept:"application/json"}}).then(e=>this.processGetCustomerLoyaltyRewardsTransactions(e))}processGetCustomerLoyaltyRewardsTransactions(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(U.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getHubBenefitsSummary(e){let r=this.baseUrl+"/api/account/hub-benefits";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetHubBenefitsSummary(e))}processGetHubBenefitsSummary(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return w.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getProductSubscriptions(e){let r=this.baseUrl+"/api/account/product-subscriptions";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetProductSubscriptions(e))}processGetProductSubscriptions(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=null,t=""===e?null:JSON.parse(e,this.jsonParseReviver);if(Array.isArray(t))for(let e of(r=[],t))r.push(m.r.fromJS(e));else r=null;return r}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getProductInvoice(e,r){let t=this.baseUrl+"/api/account/product-invoice";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processGetProductInvoice(e))}processGetProductInvoice(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return M.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getPartnerDataForCustomer(e,r){let t=this.baseUrl+"/api/account/customers/partner-data/{partnerId}";if(null==e)throw Error("The parameter 'partnerId' must be defined.");return t=(t=t.replace("{partnerId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetPartnerDataForCustomer(e))}processGetPartnerDataForCustomer(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return S.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postSetMembershipAutoRenew(e,r){let t=this.baseUrl+"/api/account/subscription-autorenew";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostSetMembershipAutoRenew(e))}processPostSetMembershipAutoRenew(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getRenewalProductOffer(e,r,t){let i=this.baseUrl+"/api/account/subscription-renewal-offer/{customerSubscriptionId}?";if(null==e)throw Error("The parameter 'customerSubscriptionId' must be defined.");return i=i.replace("{customerSubscriptionId}",encodeURIComponent(""+e)),null!=r&&(i+="cancellationReasonId="+encodeURIComponent(""+r)+"&"),i=i.replace(/[?&]$/,""),this.http.fetch(i,{method:"GET",signal:t,headers:{Accept:"application/json"}}).then(e=>this.processGetRenewalProductOffer(e))}processGetRenewalProductOffer(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return F.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCancelSubscriptionWithRefund(e,r){let t=this.baseUrl+"/api/account/subscription-cancel";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCancelSubscriptionWithRefund(e))}processPostCancelSubscriptionWithRefund(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}postCustomerInformationRequest(e,r){let t=this.baseUrl+"/api/account/customer-information/request";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processPostCustomerInformationRequest(e))}processPostCustomerInformationRequest(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerProfileByToken(e,r,t){let i=this.baseUrl+"/api/account/{email}/profile";if(null==e)throw Error("The parameter 'email' must be defined.");return i=(i=i.replace("{email}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(i,{method:"GET",signal:t,headers:{"X-GolfIdToken":null!=r?""+r:"",Accept:"application/json"}}).then(e=>this.processGetCustomerProfileByToken(e))}processGetCustomerProfileByToken(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return i.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerProfile(e){let r=this.baseUrl+"/api/account/profile";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetCustomerProfile(e))}processGetCustomerProfile(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return i.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}toggleMasking(e,r){let t=this.baseUrl+"/api/account/callcenter-mask";t=t.replace(/[?&]$/,"");let i=JSON.stringify(e);return this.http.fetch(t,{body:i,method:"POST",signal:r,headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>this.processToggleMasking(e))}processToggleMasking(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return void 0!==r?r:null}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getBookingHistoryWithSmartCourseDetails(e){let r=this.baseUrl+"/api/account/upcoming-reservations";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetBookingHistoryWithSmartCourseDetails(e))}processGetBookingHistoryWithSmartCourseDetails(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return W.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getBookingHistory(e){let r=this.baseUrl+"/api/account/booking-history";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetBookingHistory(e))}processGetBookingHistory(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return u.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getReservationFacility(e,r){let t=this.baseUrl+"/api/account/reservation-facility/{reservationId}";if(null==e)throw Error("The parameter 'reservationId' must be defined.");return t=(t=t.replace("{reservationId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),this.http.fetch(t,{method:"GET",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetReservationFacility(e))}processGetReservationFacility(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getCustomerReferralRewards(e,r){let t=this.baseUrl+"/api/account/referral-rewards?";if(null===e)throw Error("The parameter 'bypassCache' cannot be null.");return void 0!==e&&(t+="bypassCache="+encodeURIComponent(""+e)+"&"),t=t.replace(/[?&]$/,""),this.http.fetch(t,{method:"POST",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processGetCustomerReferralRewards(e))}processGetCustomerReferralRewards(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return D.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}forgotPassword(e,r){let t=this.baseUrl+"/api/account/forgot-password?";if(null===e)throw Error("The parameter 'email' cannot be null.");return void 0!==e&&(t+="email="+encodeURIComponent(""+e)+"&"),t=t.replace(/[?&]$/,""),this.http.fetch(t,{method:"POST",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processForgotPassword(e))}processForgotPassword(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}setPasswordRequest(e,r){let t=this.baseUrl+"/api/account/set-password-request?";if(null===e)throw Error("The parameter 'email' cannot be null.");return void 0!==e&&(t+="email="+encodeURIComponent(""+e)+"&"),t=t.replace(/[?&]$/,""),this.http.fetch(t,{method:"POST",signal:r,headers:{Accept:"application/json"}}).then(e=>this.processSetPasswordRequest(e))}processSetPasswordRequest(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}setPassword(e,r,t,i){let o=this.baseUrl+"/api/account/set-password?";if(null===e)throw Error("The parameter 'token' cannot be null.");if(void 0!==e&&(o+="token="+encodeURIComponent(""+e)+"&"),null===r)throw Error("The parameter 'newpassword' cannot be null.");if(void 0!==r&&(o+="newpassword="+encodeURIComponent(""+r)+"&"),null===t)throw Error("The parameter 'repassword' cannot be null.");return void 0!==t&&(o+="repassword="+encodeURIComponent(""+t)+"&"),o=o.replace(/[?&]$/,""),this.http.fetch(o,{method:"POST",signal:i,headers:{Accept:"application/json"}}).then(e=>this.processSetPassword(e))}processSetPassword(e){let r=e.status,t={};
1return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return o.V.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getEmailSubscriptionStatus(e,r,t){let i=this.baseUrl+"/api/account/subscription-status/{facilityid}-{isHotDeal}";if(null==e)throw Error("The parameter 'facilityid' must be defined.");if(i=i.replace("{facilityid}",encodeURIComponent(""+e)),null==r)throw Error("The parameter 'isHotDeal' must be defined.");return i=(i=i.replace("{isHotDeal}",encodeURIComponent(""+r))).replace(/[?&]$/,""),this.http.fetch(i,{method:"GET",signal:t,headers:{Accept:"application/json"}}).then(e=>this.processGetEmailSubscriptionStatus(e))}processGetEmailSubscriptionStatus(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return y.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}getEmailOptInSubscriptionStatus(e){let r=this.baseUrl+"/api/account/subscription-status";return r=r.replace(/[?&]$/,""),this.http.fetch(r,{method:"GET",signal:e,headers:{Accept:"application/json"}}).then(e=>this.processGetEmailOptInSubscriptionStatus(e))}processGetEmailOptInSubscriptionStatus(e){let r=e.status,t={};return(e.headers&&e.headers.forEach&&e.headers.forEach((e,r)=>t[r]=e),200===r)?e.text().then(e=>{let r=""===e?null:JSON.parse(e,this.jsonParseReviver);return y.fromJS(r)}):200!==r&&204!==r?e.text().then(e=>eg("An unexpected server error occurred.",r,e,t)):Promise.resolve(null)}}function eg(e,r,t,i,o){if(null!=o)throw o;throw new em.A(e,r,t,i,null)}},29264(e,r,t){t.d(r,{f:()=>o});var i=t(20294);class o extends i.I{constructor(e){super(e),Object.defineProperty(this,"emailAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"userName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"firstName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"gender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"birthMonth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"birthDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"birthYear",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"phoneNumber",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"address1",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"address2",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"city",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stateCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"countryCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"postalCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"handicap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referralToken",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dateOfBirth",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.emailAddress=void 0!==e.emailAddress?e.emailAddress:null,this.password=void 0!==e.password?e.password:null,this.userName=void 0!==e.userName?e.userName:null,this.firstName=void 0!==e.firstName?e.firstName:null,this.lastName=void 0!==e.lastName?e.lastName:null,this.gender=void 0!==e.gender?e.gender:null,this.birthMonth=void 0!==e.birthMonth?e.birthMonth:null,this.birthDate=void 0!==e.birthDate?e.birthDate:null,this.birthYear=void 0!==e.birthYear?e.birthYear:null,this.phoneNumber=void 0!==e.phoneNumber?e.phoneNumber:null,this.address1=void 0!==e.address1?e.address1:null,this.address2=void 0!==e.address2?e.address2:null,this.city=void 0!==e.city?e.city:null,this.stateCode=void 0!==e.stateCode?e.stateCode:null,this.countryCode=void 0!==e.countryCode?e.countryCode:null,this.postalCode=void 0!==e.postalCode?e.postalCode:null,this.handicap=void 0!==e.handicap?e.handicap:null,this.referralToken=void 0!==e.referralToken?e.referralToken:null,this.dateOfBirth=void 0!==e.dateOfBirth?e.dateOfBirth:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},36317(e,r,t){t.d(r,{C:()=>o});var i=t(20294);class o extends i.I{constructor(e){super(e),Object.defineProperty(this,"currentEmail",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newEmail",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.currentEmail=void 0!==e.currentEmail?e.currentEmail:null,this.newEmail
1=void 0!==e.newEmail?e.newEmail:null,this.password=void 0!==e.password?e.password:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},55940(e,r,t){t.d(r,{$:()=>o});var i=t(20294);class o extends i.I{constructor(e){super(e),Object.defineProperty(this,"emailAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"oldPassword",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newPassword",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newPasswordConfirmed",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.emailAddress=void 0!==e.emailAddress?e.emailAddress:null,this.oldPassword=void 0!==e.oldPassword?e.oldPassword:null,this.newPassword=void 0!==e.newPassword?e.newPassword:null,this.newPasswordConfirmed=void 0!==e.newPasswordConfirmed?e.newPasswordConfirmed:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},68840(e,r,t){t.d(r,{T:()=>i});class i{constructor(e){if(Object.defineProperty(this,"countryCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"countryName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.countryCode=void 0!==e.countryCode?e.countryCode:null,this.countryName=void 0!==e.countryName?e.countryName:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new i;return r.init(e),r}}},21948(e,r,t){t.d(r,{r:()=>n});var i=t(24820),o=t(46112),a=t(22670);class n{constructor(e){if(Object.defineProperty(this,"customerSubscriptionId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productPriceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"product",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"purchaseDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isExpired",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isAutomaticRenewal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"policy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cutoffDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"renewalProductPriceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"memberSinceDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"renewalProductPrice",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isEligibleForCancellation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.customerSubscriptionId=void 0!==e.customerSubscriptionId?e.customerSubscriptionId:null,this.productId=void 0!==e.productId?e.productId:null,this.productPriceId=void 0!==e.productPriceId?e.productPriceId:null,this.purchaseId=void 0!==e.purchaseId?e.purchaseId:null,this.product=e.product?o.L.fromJS(e.product):null,this.purchaseDate=e.purchaseDate?i.D.fromJS(e.purchaseDate):null,this.startDate=e.startDate?i.D.fromJS(e.startDate):null,this.expirationDate=e.expirationDate?i.D.fromJS(e.expirationDate):null,this.isExpired=void 0!==e.isExpired?e.isExpired:null,this.isAutomaticRenewal=void 0!==e.isAutomaticRenewal?e.isAutomaticRenewal:null,this.policy=void 0!==e.policy?e.policy:null,this.cutoffDate=e.cutoffDate?i.D.fromJS(e.cutoffDate):null,this.renewalProductPriceId=void 0!==e.renewalProductPriceId?e.renew
1alProductPriceId:null,this.memberSinceDate=e.memberSinceDate?i.D.fromJS(e.memberSinceDate):null,this.status=void 0!==e.status?e.status:null,this.renewalProductPrice=e.renewalProductPrice?a.b.fromJS(e.renewalProductPrice):null,this.isEligibleForCancellation=void 0!==e.isEligibleForCancellation?e.isEligibleForCancellation:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new n;return r.init(e),r}}},20730(e,r,t){t.d(r,{l:()=>o});var i=t(20294);class o extends i.I{constructor(e){super(e),Object.defineProperty(this,"isInquire",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"message",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.isInquire=void 0!==e.isInquire?e.isInquire:null,this.message=void 0!==e.message?e.message:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},64656(e,r,t){t.d(r,{B:()=>i});class i{constructor(e){if(Object.defineProperty(this,"gncUserName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"gncPassword",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"customerUserName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isValidToken",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.gncUserName=void 0!==e.gncUserName?e.gncUserName:null,this.gncPassword=void 0!==e.gncPassword?e.gncPassword:null,this.customerUserName=void 0!==e.customerUserName?e.customerUserName:null,this.isValidToken=void 0!==e.isValidToken?e.isValidToken:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new i;return r.init(e),r}}},78848(e,r,t){t.d(r,{w:()=>p});var i=t(36317),o=t(20294);class a extends o.I{constructor(e){super(e),Object.defineProperty(this,"currentHandicap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newHandicap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"handicapProviderId",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.currentHandicap=void 0!==e.currentHandicap?e.currentHandicap:null,this.newHandicap=void 0!==e.newHandicap?e.newHandicap:null,this.handicapProviderId=void 0!==e.handicapProviderId?e.handicapProviderId:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new a;return r.init(e),r}}var n=t(55940),s=t(68840),l=t(35973),c=t(21948),u=t(20730),d=t(82765),h=t(46112),b=t(40409),f=t(48722);class p extends o.I{constructor(e){super(e),Object.defineProperty(this,"account",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"countries",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"customer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"changePassword",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"changeEmail",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dataManagement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"paymentManagement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"changeHandicap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"products",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"productSubscriptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headerFooter",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headerFooterUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headerFooterUrlRequiresAuth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headerFooterUrlAuthToken",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){if(super.init(e),e){if(this.account=e.account?b.Q.fromJS(e.account):null,Array.isArray(e.countries))for(let r of(this.countries=[],e.countries))this.countries.push(s.T.fromJS(r));else this.countries=null;if(this.customer=e.customer?l.E.fromJS(e.customer):null,this.changePassword=e.changePassword?n.$.fromJS(e.changePassword):null,this.changeEmail=e.changeEmail?i.C.fromJS(e.changeEmail):null,this.dataManagement=e.dataManagement?u.l.fromJS(e.dataManagement):null,this.paymentManagement=e.paymentManagement?d.R.fromJS(e.paymentManagement):null,this.changeHandicap=e.changeHandicap?a.fromJS(e.changeHandicap):null,Array.isArray(e.products))for(let r of(this.products=[],e.products))this.products.push(h.L.fromJS(r));else this.products=null;if(Array.isArray(e.productSubscriptions))for(let r of(this.productSubscriptions=[],e.productSubscriptions))this.productSubscriptions.push(c.r.fromJS(r));else this.productSubscriptions=null;this.headerFooter=e.headerFooter?f.X.fromJS(e.headerFooter):null,this.headerFooterUrl=void 0!==e.headerFooterUrl?e.headerFooterUrl:null,this.headerFooterUrlRequiresAuth=void 0!==e.headerFooterUrlRequiresAuth?e.headerFooterUrlRequiresAuth:null,this.headerFooterUrlAuthToken=void 0!==e.headerFooterUrlAuthToken?e.headerFooterUrlAuthToken:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new p;return r.init(e),r}}},69940(e,r,t){t.d(r,{b:()=>o});var i=t(29264);class o extends i.f{constructor(e){super(e),Object.defineProperty(this,"emailSubscribe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"golfNowSubscribe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"latitude",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"longitude",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"logInUser",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscribeSMSMarketing",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"smsMarketingPhone",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.emailSubscribe=void 0!==e.emailSubscribe?e.emailSubscribe:null,this.golfNowSubscribe=void 0!==e.golfNowSubscribe?e.golfNowSubscribe:null,this.latitude=void 0!==e.latitude?e.latitude:null,this.longitude=void 0!==e.longitude?e.longitude:null,this.logInUser=void 0!==e.logInUser?e.logInUser:null,this.subscribeSMSMarketing=void 0!==e.subscribeSMSMarketing?e.subscribeSMSMarketing:null,this.smsMarketingPhone=void 0!==e.smsMarketingPhone?e.smsMarketingPhone:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},83068(e,r,t){t.d(r,{F:()=>o});var i=t(31587);class o extends i.e{constructor(e){super(e),Object.defineProperty(this,"creditCardNumber",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isDefault",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastFour",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"creditCardType",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}init(e){super.init(e),e&&(this.creditCardNumber=void 0!==e.creditCardNumber?e.credit
1CardNumber:null,this.isDefault=void 0!==e.isDefault?e.isDefault:null,this.lastFour=void 0!==e.lastFour?e.lastFour:null,this.creditCardType=void 0!==e.creditCardType?e.creditCardType:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}},31587(e,r,t){t.d(r,{e:()=>i});class i{constructor(e){if(Object.defineProperty(this,"walletOptionId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationMonth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationYear",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"billingName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"address",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"country",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"postalCode",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"displayLastFour",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"displayCreditCardType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"displayIsDefault",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.walletOptionId=void 0!==e.walletOptionId?e.walletOptionId:null,this.expirationMonth=void 0!==e.expirationMonth?e.expirationMonth:null,this.expirationYear=void 0!==e.expirationYear?e.expirationYear:null,this.billingName=void 0!==e.billingName?e.billingName:null,this.address=void 0!==e.address?e.address:null,this.country=void 0!==e.country?e.country:null,this.postalCode=void 0!==e.postalCode?e.postalCode:null,this.displayLastFour=void 0!==e.displayLastFour?e.displayLastFour:null,this.displayCreditCardType=void 0!==e.displayCreditCardType?e.displayCreditCardType:null,this.displayIsDefault=void 0!==e.displayIsDefault?e.displayIsDefault:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new i;return r.init(e),r}}},82765(e,r,t){t.d(r,{R:()=>l});class i{constructor(e){if(Object.defineProperty(this,"createdDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"oldBalance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newBalance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"referenceID",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isCreditExpiringSoon",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"balance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"amount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"createdDateFormatted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"expirationDateFormatted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"descriptionIcon",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){e&&(this.createdDate=void 0!==e.createdDate?e.createdDate:null,this.expirationDate=void 0!==e.expirationDate?e.expirationDate:null,this.oldBalance=void 0!==e.oldBalance?e.oldBalance:null,this.newBalance=void 0!==e.newBalance?e.newBalance:null,this.description=void 0!==e.description?e.description:null,this.referenceID=void 0!==e.referenceID?e.referenceID:null,this.isCreditExpiringSoon=void 0!==e.isCreditExpiringSoon?e.isCreditExpiringSoon:null,this.balance=void 0!==e.balance?e.balance:null,this.amount=void 0!==e.amount?e.amount:null,this.createdDateFormatted=void 0!==e.createdDateFormatted?e.createdDateFormatted:null,this.expirationDateFormatted=void 0!==e.expirationDateFormatted?e.expirationDateFormatted:null,this.descriptionIcon=void 0!==e.descriptionIcon?e.descriptionIcon:null)}static fromJS(e){e="object"==typeof e?e:{};let r=new i;return r.init(e),r}}var o=t(84045);class a{constructor(e){if(Object.defineProperty(this,"balance",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"transactions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"totalCreditsAmountExpiring",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.balance=e.balance?o.W.fromJS(e.balance):null,Array.isArray(e.transactions))for(let r of(this.transactions=[],e.transactions))this.transactions.push(i.fromJS(r));else this.transactions=null;this.totalCreditsAmountExpiring=void 0!==e.totalCreditsAmountExpiring?e.totalCreditsAmountExpiring:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new a;return r.init(e),r}}var n=t(83068),s=t(7655);class l{constructor(e){if(Object.defineProperty(this,"wallet",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"newPayment",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountBalanceHistory",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountBalanceHistoryFiltered",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"accountBalanceHistoryWithZeroIncluded",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"balanceIsAvailable",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"transactionHistoryIsAvailable",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isDirty",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e)for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}init(e){if(e){if(this.wallet=e.wallet?s.Z.fromJS(e.wallet):null,this.newPayment=e.newPayment?n.F.fromJS(e.newPayment):null,Array.isArray(e.accountBalanceHistory))for(let r of(this.accountBalanceHistory=[],e.accountBalanceHistory))this.accountBalanceHistory.push(a.fromJS(r));else this.accountBalanceHistory=null;if(Array.isArray(e.accountBalanceHistoryFiltered))for(let r of(this.accountBalanceHistoryFiltered=[],e.accountBalanceHistoryFiltered))this.accountBalanceHistoryFiltered.push(a.fromJS(r));else this.accountBalanceHistoryFiltered=null;if(Array.isArray(e.accountBalanceHistoryWithZeroIncluded))for(let r of(this.accountBalanceHistoryWithZeroIncluded=[],e.accountBalanceHistoryWithZeroIncluded))this.accountBalanceHistoryWithZeroIncluded.push(a.fromJS(r));else this.accountBalanceHistoryWithZeroIncluded=null;this.balanceIsAvailable=void 0!==e.balanceIsAvailable?e.balanceIsAvailable:null,this.transactionHistoryIsAvailable=void 0!==e.transactionHistoryIsAvailable?e.transactionHistoryIsAvailable:null,this.isDirty=void 0!==e.isDirty?e.isDirty:null}}static fromJS(e){e="object"==typeof e?e:{};let r=new l;return r.init(e),r}}},40409(e,r,t){t.d(r,{Q:()=>o});var i=t(29264);class o extends i.f{constructor(e){super(e)}init(e){super.init(e)}static fromJS(e){e="object"==typeof e?e:{};let r=new o;return r.init(e),r}}}}]);

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.