import{f as i}from"./priceFormatter-Dg4GlACg.js";function t(){if(typeof window>"u")return null;const r=window.radius_booking_param;if(r!=null&&r.currency){const o=r.currency_symbol;let y="";return o&&typeof o=="object"?y=o[r.currency.symbol]||"":typeof o=="string"&&(y=o),{currency:r.currency,currency_symbol:y||r.currency.symbol}}const n=window.radius_booking_event_param;if(n!=null&&n.currency)return{currency:n.currency,currency_symbol:n.currency_symbol||n.currency.symbol};const c=window.radius_booking_site_param;if(c!=null&&c.currency)return{currency:c.currency,currency_symbol:c.currency_symbol||c.currency.symbol};const e=window.radius_booking_my_booking_param;if(e!=null&&e.currency)return{currency:e.currency,currency_symbol:e.currency_symbol||e.currency.symbol};const u=window.radius_booking_meeting_param;return u!=null&&u.currency?{currency:u.currency,currency_symbol:u.currency_symbol||u.currency.symbol}:null}function b(r,n=null){const c=Number(r);if(Number.isNaN(c))return"";const e=n||t();return i(c,e)}export{b as f};
//# sourceMappingURL=currency-DQMOSJyc.js.map
