"use strict";

exports.__esModule = true;
exports.createTitles = exports.hotCity = void 0;

var hotCity = function hotCity() {
  return [{
    title: '北京',
    id: 'XZ2-174',
    value: [{
      id: 'XZ1-06',
      name: '北京',
      level: 'province'
    }, {
      id: 'XZ2-174',
      name: '北京市',
      level: 'city'
    }]
  }, {
    title: '上海',
    id: 'XZ2-040',
    value: [{
      id: 'XZ1-01',
      name: '上海',
      level: 'province'
    }, {
      id: 'XZ2-040',
      name: '上海市',
      level: 'city'
    }]
  }, {
    title: '广州',
    id: 'XZ2-042',
    value: [{
      id: 'XZ1-31',
      name: '广东省',
      level: 'province'
    }, {
      id: 'XZ2-042',
      name: '广州市',
      level: 'city'
    }]
  }, {
    title: '深圳',
    id: 'XZ2-229',
    value: [{
      id: 'XZ1-31',
      name: '广东省',
      level: 'province'
    }, {
      id: 'XZ2-229',
      name: '深圳市',
      level: 'city'
    }]
  }, {
    title: '杭州',
    id: 'XZ2-213',
    value: [{
      id: 'XZ1-22',
      name: '浙江省',
      level: 'province'
    }, {
      id: 'XZ2-213',
      name: '杭州市',
      level: 'city'
    }]
  }, {
    title: '武汉',
    id: 'XZ2-342',
    value: [{
      id: 'XZ1-23',
      name: '湖北省',
      level: 'province'
    }, {
      id: 'XZ2-342',
      name: '武汉市',
      level: 'city'
    }]
  }, {
    title: '成都',
    id: 'XZ2-043',
    value: [{
      id: 'XZ1-08',
      name: '四川省',
      level: 'province'
    }, {
      id: 'XZ2-043',
      name: '成都市',
      level: 'city'
    }]
  }];
};

exports.hotCity = hotCity;

var createTitles = function createTitles(level) {
  if (level === void 0) {
    level = 4;
  }

  var arr = new Array(level);
  arr[0] = '请选择';
  return arr;
};

exports.createTitles = createTitles;