parseSetting(obj, keys) {
  // checks for an object with "type"
  // https://stackoverflow.com/a/8511350
  if (
    typeof obj === 'object' &&
    !Array.isArray(obj) &&
    obj !== null &&
    "type" in obj
  ) {
    if (obj.type === "pc-mobile") {
      if (isMobile()) {
        return obj["mobile"];
      } else {
        return obj["pc"];
      }
    } else if (obj.type === "viewport-width-is") {
      if (VW > obj["value"]) {
        return obj["greater"];
      } else {
        return obj["lesser"];
 