"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = HotelLocationMap;
const hooks_1 = require("../../../hooks/index.js");
const react_1 = __importDefault(require("react"));
const BEMapWidget_1 = __importDefault(require("../../summary/BEMapWidget"));
function HotelLocationMap() {
    const { hotel } = (0, hooks_1.useCurrentHotel)();
    if (!hotel)
        return react_1.default.createElement(react_1.default.Fragment, null);
    return react_1.default.createElement(react_1.default.Fragment, null, hotel.latitude && hotel.longitude ? react_1.default.createElement(BEMapWidget_1.default, { mapLatLng: { lat: hotel.latitude, lng: hotel.longitude } }) : null);
}
//# sourceMappingURL=HotelLocationMap.js.map