"use strict";function isFunction(n){return"function"==typeof n}function compareVersion(n,e){function o(n){return parseInt(n,10)||0}for(var r=n.split(".").map(o),t=e.split(".").map(o),E=0;E<r.length;E++){if(void 0===t[E])return!1;if(r[E]<t[E])return!1;if(r[E]>t[E])return!0}return!0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isFunction=isFunction,exports.compareVersion=compareVersion;var ERROR_CODE;!function(n){n.cancel="-1",n.not_exist="1",n.no_permission="7",n.jsapi_internal_error="22"}(ERROR_CODE=exports.ERROR_CODE||(exports.ERROR_CODE={}));var ENV_ENUM;!function(n){n.pc="pc",n.android="android",n.ios="ios",n.notInDingTalk="notInDingTalk"}(ENV_ENUM=exports.ENV_ENUM||(exports.ENV_ENUM={}));var APP_TYPE;!function(n){n.WEB="WEB",n.MINI_APP="MINI_APP",n.WEEX="WEEX",n.WEBVIEW_IN_MINIAPP="WEBVIEW_IN_MINIAPP",n.WEEX_WIDGET="WEEX_WIDGET"}(APP_TYPE=exports.APP_TYPE||(exports.APP_TYPE={}));var LogLevel;!function(n){n[n.INFO=1]="INFO",n[n.WARNING=2]="WARNING",n[n.ERROR=3]="ERROR"}(LogLevel=exports.LogLevel||(exports.LogLevel={}));