"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getRoomNumber = void 0;
const getRoomNumber = data => {
  if (!data) return;
  try {
    const [{
      roomNumber: [roomNumber] = []
    } = {}] = JSON.parse(data) || [];
    return roomNumber;
  } catch (error) {
    return;
  }
};
exports.getRoomNumber = getRoomNumber;
//# sourceMappingURL=getRoomNumber.js.map