"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkVWT7DRMXjs = require('./chunk-VWT7DRMX.js');

// tmp-babel/messages/web/ChatRoomsComponent/styled.js
var _material = require('@mui/material');
var _styles = require('@mui/material/styles');
function _typeof(o) {
  "@babel/helpers - typeof";
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
    return typeof o2;
  } : function(o2) {
    return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  }, _typeof(o);
}
function _defineProperty(e, r, t) {
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
}
function _toPropertyKey(t) {
  var i = _toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
function _toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
var ChatRoomContainer = _styles.styled.call(void 0, (0, _material.Box))(function(_ref) {
  var theme = _ref.theme, hide = _ref.hide;
  return _defineProperty({
    height: "100%",
    width: "100%"
  }, theme.breakpoints.down("md"), {
    display: hide ? "none" : "initial"
  });
});
var ChatRoomsContainer = _styles.styled.call(void 0, (0, _chunkVWT7DRMXjs.ViewportHeightContainer_default))(function(_ref3) {
  var theme = _ref3.theme;
  return _defineProperty({
    display: "grid",
    gridTemplateColumns: "390px auto",
    alignItems: "flex-start",
    justifyItems: "center",
    borderRadius: theme.shape.borderRadius * 2,
    border: "1px ".concat(theme.palette.divider, " solid"),
    margin: "0 ".concat(theme.spacing(2))
  }, theme.breakpoints.down("md"), {
    border: "none",
    gridTemplateColumns: "repeat(1, minmax(0, 1fr))",
    margin: 0
  });
});
var ChatRoomsListContainer = _styles.styled.call(void 0, (0, _material.Box))(function(_ref5) {
  var theme = _ref5.theme, hide = _ref5.hide;
  return _defineProperty(_defineProperty({
    borderRight: "1px ".concat(theme.palette.divider, " solid"),
    display: "grid",
    gridTemplateColumns: "repeat(1, minmax(0, 1fr))",
    gridTemplateRows: "min-content auto",
    height: "100%",
    overflowY: "hidden",
    width: "100%"
  }, theme.breakpoints.down("md"), {
    display: hide ? "none" : "grid",
    borderRight: "none"
  }), "@media (max-height: 600px) and (orientation: landscape)", {
    overflowY: "auto",
    scrollbarWidth: "none"
  });
});





exports.ChatRoomContainer = ChatRoomContainer; exports.ChatRoomsContainer = ChatRoomsContainer; exports.ChatRoomsListContainer = ChatRoomsListContainer;
//# sourceMappingURL=chunk-3525Z2QR.js.map