1"use strict";(globalThis.webpackChunkgolfnow_web||=[]).push([[64254],{28927(e,l,a){a.d(l,{C:()=>v,v:()=>r});var i=a(6934),u=a(742),t=a(78559),n=a(49642);function v(e){return{shouldShowFeeLabel:(0,i.EW)(()=>{var l,a,i,v,r,o,s,d;if(!e.value)return!1;if(e.value instanceof n.L){if(null==(a=null==(l=e.value.ttResults)?void 0:l.teeTimes)?void 0:a.length){for(let l of e.value.ttResults.teeTimes)if(null==(i=l.value)?void 0:i.length){for(let e of l.value)if(null==e?void 0:e.displayFeeRates)return!0}}return!1}return e.value instanceof t.$?null!=(o=null==(r=null==(v=e.value.ttResults)?void 0:v.facilities)?void 0:r.some(e=>e.displayFeeRates))&&o:e.value instanceof u.$&&null!=(d=null==(s=e.value.ttResults)?void 0:s.some(e=>e.displayFeeRates))&&d})}}function r(){let e=(0,i.KR)(!1),l=(0,i.KR)(void 0),a=(0,i.KR)(void 0),u=(0,i.KR)(void 0),t=(0,i.EW)(()=>{var a,i,u,t;return!!(e.value&&!(null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.isPriceTotalRangeZero)&&(null==(t=null==(u=l.value)?void 0:u.feeMessagingFacilityDisplayRates)?void 0:t.maxPriceTotal))}),n=(0,i.EW)(()=>{var a,i,u,t,n;return e.value?null==(u=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.minPriceTotal)?void 0:u.formattedValue2:null==(n=null==(t=l.value)?void 0:t.minPrice)?void 0:n.formattedValue2}),v=(0,i.EW)(()=>{var a,i,u,n,v,r;return e.value?t.value?null==(u=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.maxPriceTotal)?void 0:u.formattedValue2:"":(null==(n=l.value)?void 0:n.maxPrice)&&!(null==(v=l.value)?void 0:v.isPriceRangeZero)?null==(r=l.value)?void 0:r.maxPrice.formattedValue2:""}),r=(0,i.EW)(()=>{var a,i,u,t,n;return e.value?null==(u=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.minPriceTotal)?void 0:u.superScriptFormattedValue:null==(n=null==(t=l.value)?void 0:t.minPrice)?void 0:n.superScriptFormattedValue}),o=(0,i.EW)(()=>{var a,i,u,n,v,r;return e.value?t.value?null==(u=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.maxPriceTotal)?void 0:u.superScriptFormattedValue:"":(null==(n=l.value)?void 0:n.maxPrice)&&!(null==(v=l.value)?void 0:v.isPriceRangeZero)?null==(r=l.value)?void 0:r.maxPrice.superScriptFormattedValue:""}),s=(0,i.EW)(()=>{var a,i;return e.value?t.value:!!((null==(a=l.value)?void 0:a.maxPrice)&&!(null==(i=l.value)?void 0:i.isPriceRangeZero))}),d=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.minPriceGreenFees)?void 0:i.formattedValue2}),c=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.minPriceTransactionFee)?void 0:i.formattedValue2}),f=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.maxPriceTransactionFee)?void 0:i.formattedValue2}),p=(0,i.EW)(()=>{var l,i;return e.value?null==(i=null==(l=a.value)?void 0:l.greensFees)?void 0:i.superScriptFormattedValue:""});return{init:function(i,t,n,v){e.value=i,l.value=t,a.value=n,u.value=v},minPrice:r,maxPrice:o,hasPriceRange:s,minPriceGreenFees:d,minPriceTransactionFee:c,maxPriceTransactionFee:f,greensFees:p,transactionFeesTotal:(0,i.EW)(()=>{var l,i;return e.value?null==(i=null==(l=a.value)?void 0:l.transactionFeesTotal)?void 0:i.superScriptFormattedValue:""}),discountedSubtotal:(0,i.EW)(()=>{var e,l;return null==(l=null==(e=u.value)?void 0:e.discountedSubtotal)?void 0:l.superScriptFormattedValue}),minPriceFormatted2:n,maxPriceFormatted2:v}}},64678(e,l,a){a.r(l),a.d(l,{default:()=>r});var i=a(6934),u=a(28927);let t={key:0},n={key:0},v={key:1},r=(0,i.pM)({__name:"FacilityFeeMessagingRate",props:{facility:{},usePriceRange:{type:Boolean}},setup(e){var l,a;let{init:r,hasPriceRange:o,minPriceGreenFees:s,minPriceTransactionFee:d,maxPriceTransactionFee:c}=(0,u.v)();return r(null!=(a=null==(l=e.facility)?void 0:l.displayFeeRates)&&a,e.facility),(l,a)=>{var u;return(null==(u=e.facility)?void 0:u.displayFeeRates)?((0,i.uX)(),(0,i.CE)("div",t,[e.usePriceRange?((0,i.uX)(),(0,i.CE)("p",n,[(0,i.R1)(o)?((0,i.uX)(),(0,i.CE)(i.FK,{key:0},[a[0]||(a[0]=(0,i.eW)(" *Rate ",-1)),a[1]||(a[1]=(0,i.Lk)("span",{class:"hidden md:inline-block"},"is inclusive of",-1)),a[2]||(a[2]=(0,i.Lk)("span",{class:"inline-block md:hidden"},"includes",-1)),(0,i.eW)(" up to "+(0,i.v_)((0,i.R1)(c))+" fee ",1)],64)):((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[(0,i.eW)("*Rate is "+(0,i.v_)((0,i.R1)(s))+" + "+(0,i.v_)((0,i.R1)(d))+" fee",1)],64))])):((0,i.uX)(),(0,i.CE)("p",v,"*Rate is inclusive of up to "+(0,i.v_)((0,i.R1)(c))+" fee",1))])):(0,i.Q3)("v-if",!0)}}})}}]);
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.