"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    getAppBaseInfo: function() {
        return getAppBaseInfo;
    },
    getDeviceInfo: function() {
        return getDeviceInfo;
    },
    getWindowInfo: function() {
        return getWindowInfo;
    }
});
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
var _taro = /*#__PURE__*/ _interop_require_default._(require("@tarojs/taro"));
var getDeviceInfo = function getDeviceInfo() {
    return _taro.default.canIUse('getDeviceInfo') ? _taro.default.getDeviceInfo() : _taro.default.getSystemInfoSync();
};
var getWindowInfo = function getWindowInfo() {
    return _taro.default.canIUse('getWindowInfo') ? _taro.default.getWindowInfo() : _taro.default.getSystemInfoSync();
};
var getAppBaseInfo = function getAppBaseInfo() {
    return _taro.default.canIUse('getAppBaseInfo') ? _taro.default.getAppBaseInfo() : _taro.default.getSystemInfoSync();
};
