dolphin-weex-ui 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.native.js +47 -6
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +41 -12
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-cell/colmo.css +1 -1
- package/packages/dof-slider/index.vue +2 -2
- package/packages/dof-slider-scale/index.vue +3 -2
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -664,7 +664,7 @@ module.exports = {
|
|
|
664
664
|
/* 4 */
|
|
665
665
|
/***/ (function(module, exports, __webpack_require__) {
|
|
666
666
|
|
|
667
|
-
((e,t)=>{ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dolphinNativeBridge={})})(this,function(e){let r={name:"weex扩展API",callNative:function(e,t,n,o,r){try{$midea_harmony_native.run(e,t,n,o,r)}catch(e){}}},E={name:"weex剪贴板事件",getString:function(e){r.callNative("clipboard.getString","",e)},setString:function(e){r.callNative("clipboard.setString",{message:e},void 0)}},q={name:"weex webview",goBack:function(e){e={method:"goBack",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},goForward:function(e){e={method:"goForward",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},reload:function(e){e={method:"reload",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},postMessage:function(e,t){e={method:"postMessage",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)},notifyWebview:function(e,t){e={method:"notifyWebview",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)}},R={name:"bridgeModule",commandInterface:function(e,t,n){var o;if((o="string"==typeof e?JSON.parse(e):e)&&0<Object.keys(o).length){let e=o.operation;e&&r.callNative("bridgeModule."+e,{options:o},t,void 0,n)}},requestDataTransmit:function(e,t){r.callNative("bridgeModule.requestDataTransmit",{options:e},t)},play:function(e,t){r.callNative("bridgeModule.play",{options:e},t)},pause:function(e,t){r.callNative("bridgeModule.pause",{options:e},t)},stop:function(e,t){r.callNative("bridgeModule.stop",{options:e},t)},seek:function(e,t){r.callNative("bridgeModule.seek",{options:e},t)},loop:function(e,t){r.callNative("bridgeModule.loop",{options:e},t)},setCallback:function(e,t){r.callNative("bridgeModule.setCallback",{options:e},t)},getDuration:function(e,t){r.callNative("bridgeModule.getDuration",{options:e},t)},backgroundPlay:function(e,t){r.callNative("bridgeModule.backgroundPlay",{options:e},t)},startRecord:function(e,t){r.callNative("bridgeModule.startRecord",{options:e},t)},stopRecord:function(e,t){r.callNative("bridgeModule.stopRecord",{options:e},t)},pauseRecord:function(e,t){r.callNative("bridgeModule.pauseRecord",{options:e},t)},resumeRecord:function(e,t){r.callNative("bridgeModule.resumeRecord",{options:e},t)},playAudio:function(e,t){r.callNative("bridgeModule.playAudio",{options:e},t)},pauseAudio:function(e,t){r.callNative("bridgeModule.pauseAudio",{options:e},t)},stopAudio:function(e,t){r.callNative("bridgeModule.stopAudio",{options:e},t)},musicDownload:function(e,t){r.callNative("bridgeModule.musicDownload",{options:e},t)},delMusic:function(e,t){r.callNative("bridgeModule.delMusic",{options:e},t)},delRecorder:function(e,t){r.callNative("bridgeModule.delRecorder",{options:e},t)},killKeyboard:function(e,t){r.callNative("bridgeModule.killKeyboard",{options:e},t)},setStatusBar:function(e,t){r.callNative("bridgeModule.setStatusBar",{options:e},t)},setBottomStatusBar:function(e,t){r.callNative("bridgeModule.setBottomStatusBar",{options:e},t)},showLoading:function(e,t){r.callNative("bridgeModule.showLoading",{options:e},t)},hideLoading:function(e,t){r.callNative("bridgeModule.hideLoading",{options:e},t)},showLoadingWithMsg:function(e,t){r.callNative("bridgeModule.showLoadingWithMsg",{options:e},t)},hideLoadingWithMsg:function(e,t){r.callNative("bridgeModule.hideLoadingWithMsg",{options:e},t)},toast:function(e,t){r.callNative("bridgeModule.toast",{options:e},t)},showToast:function(e,t){r.callNative("bridgeModule.showToast",{options:e},t)},showModal:function(e,t){r.callNative("bridgeModule.showModal",{options:e},t)},photoDownload:function(e,t){r.callNative("bridgeModule.photoDownload",{options:e},t)},openShare:function(e,t){r.callNative("bridgeModule.openShare",{options:e},t)},shareMsg:function(e,t){r.callNative("bridgeModule.shareMsg",{options:e},t)},showSharePanel:function(e,t){r.callNative("bridgeModule.showSharePanel",{options:e},t)},customSharePanel:function(e,t){r.callNative("bridgeModule.customSharePanel",{options:e},t)},shareCustomPanel:function(e,t){r.callNative("bridgeModule.shareCustomPanel",{options:e},t)},getLanguageSync:function(e,t){r.callNative("bridgeModule.getLanguageSync",{options:e},t)},getTimeZoneSync:function(e,t){r.callNative("bridgeModule.getTimeZoneSync",{options:e},t)},getWeexPath:function(e){r.callNative("bridgeModule.getWeexPath",{options:{}},e)},getWeexFunctionPath:function(e,t){r.callNative("bridgeModule.getWeexFunctionPath",{options:e},t)},reload:function(e,t){r.callNative("bridgeModule.reload",{options:e},t)},saveImageToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveImageToPhotosAlbum",{options:e},t)},saveVideoToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveVideoToPhotosAlbum",{options:e},t)},mapPoiNearbySearch:function(e,t){r.callNative("bridgeModule.mapPoiNearbySearch",{options:e},t)},searchPOI:function(e,t){r.callNative("bridgeModule.searchPOI",{options:e},t)},requestLocation:function(e,t){r.callNative("bridgeModule.requestLocation",{options:e},t)},launchMapApp:function(e,t){r.callNative("bridgeModule.launchMapApp",{options:e},t)},searchMapAddress:function(e,t){r.callNative("bridgeModule.searchMapAddress",{options:e},t)},geoCode:function(e,t){r.callNative("bridgeModule.geoCode",{options:e},t)},getCityInfo:function(e,t){r.callNative("bridgeModule.getCityInfo",{options:e},t)},cityLocation:function(e,t){r.callNative("bridgeModule.cityLocation",{options:e},t)},getWeatherInfo:function(e,t){r.callNative("bridgeModule.getWeatherInfo",{options:e},t)},getElderMode:function(e,t){r.callNative("bridgeModule.getElderMode",{options:e},t)},getDiablomode:function(e,t){r.callNative("bridgeModule.getDiablomode",{options:e},t)},canSupportSwitchTheme:function(e,t){r.callNative("bridgeModule.canSupportSwitchTheme",{options:e},t)},getDeviceUUID:function(e,t){r.callNative("bridgeModule.getDeviceUUID",{options:e},t)},sendCentralCloundRequest:function(e,t){r.callNative("bridgeModule.sendCentralCloundRequest",{options:e},t)},sendMCloudRequest:function(e,t){r.callNative("bridgeModule.sendMCloudRequest",{options:e},t)},setIdleTimerDisabled:function(e,t){r.callNative("bridgeModule.setIdleTimerDisabled",{options:e},t)},showControlPanelPage:function(e,t,n){r.callNative("bridgeModule.showControlPanelPage",{options:e},t,void 0,n)},getAuthToken:function(e,t,n){r.callNative("bridgeModule.getAuthToken",{options:e},t,void 0,n)},backToNative:function(e,t,n){r.callNative("bridgeModule.backToNative",{options:e},t,void 0,n)}},F={name:"aiSpeechModule",initAISDK:function(e,t,n){r.callNative("aiSpeechModule.initAISDK",{options:e},t,void 0,n)},stopASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopASRSpeech",{options:e},t,void 0,n)},startASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.startASRSpeech",{options:e},t,void 0,n)},getNLPWithText:function(e,t,n){r.callNative("aiSpeechModule.getNLPWithText",{options:e},t,void 0,n)},getSpeechDeviceId:function(e,t,n){r.callNative("aiSpeechModule.getSpeechDeviceId",{options:e},t,void 0,n)},startSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.startSpeechMonitor",{options:e},t,void 0,n)},resumeSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.resumeSpeechMonitor",{options:e},t,void 0,n)},pauseSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.pauseSpeechMonitor",{options:e},t,void 0,n)},stopSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechMonitor",{options:e},t,void 0,n)},textToSpeech:function(e,t,n){r.callNative("aiSpeechModule.textToSpeech",{options:e},t,void 0,n)},releaseDailog:function(e,t,n){r.callNative("aiSpeechModule.releaseDailog",{options:e},t,void 0,n)},enableWakeup:function(e,t,n){r.callNative("aiSpeechModule.enableWakeup",{options:e},t,void 0,n)},disableWakeup:function(e,t,n){r.callNative("aiSpeechModule.disableWakeup",{options:e},t,void 0,n)},prepareSpeech:function(e,t,n){r.callNative("aiSpeechModule.prepareSpeech",{options:e},t,void 0,n)},startSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.startSpeechToText",{options:e},t,void 0,n)},startTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.startTextToSpeech",{options:e},t,void 0,n)},stopSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechToText",{options:e},t,void 0,n)},stopTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopTextToSpeech",{options:e},t,void 0,n)}},W={name:"weex获取全屏高度",enableFullScreenHeight:function(e){r.callNative("deviceInfo.enableFullScreenHeight",null,e)}},_={name:"weex导航事件",pop:function(e,t){r.callNative("navigator.navigatorPop",e,t)},push:function(e,t){r.callNative("navigator.navigatorPush",e,t)},replace:function(e,t){r.callNative("navigator.navigatorReplace",e,t)}},U={name:"weex监听全局事件",addEventListener:function(e,t){void 0===t?console.error("callback is undefined."):r.callNative("globalEvent.addEventListener",{eventName:e},t)},removeEventListener:function(e){r.callNative("globalEvent.removeEventListener",{eventName:e},void 0)},addBroadcastChannel:function(e,t,n){void 0===n?console.error("callback is undefined."):r.callNative("globalEvent.addBroadcastChannel",{channel:e,message:t},n)},removeBroadcastChannel:function(e){r.callNative("globalEvent.removeBroadcastChannel",{channel:e},void 0)}},n=[],o=[],i=[],a=[],u=null;function t(e,t){let n=new Event("error");e.forEach(e=>e(Object.defineProperty(n,"data",{value:t,enumerable:!0,writable:!0})))}var J,G,c={WebSocket:function(e,t){u&&(n=[],o=[],i=[],a=[],u=null),(u=new WebSocket(e,void 0!==t&&""!==t?t:"wss")).onopen=function(t){i.forEach(e=>e(t))},u.onmessage=function(t){a.forEach(e=>e(t))},u.onclose=function(t){o.forEach(e=>e(t))}},onopen:function(e){i.push(e)},onmessage:function(e){a.push(e)},onerror:function(e){n.push(e)},onclose:function(e){o.push(e)},send:function(e){if(null!=u)try{u.send(e)}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")},close:function(){if(null!=u)try{u.close(),n=[],o=[],i=[],a=[],u=null}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")}},l={name:"weex 选择器",pick:function(e,t){r.callNative("picker.pick",{options:e},t)},pickDate:function(e,t){r.callNative("picker.pickDate",{options:e},t)},pickTime:function(e,t){r.callNative("picker.pickTime",{options:e},t)},pickWetness:function(e,t){r.callNative("picker.pickWetness",{options:e},t)},showPick:function(e,t){r.callNative("picker.showPick",{options:e},t)},pickCascade:function(e,t){r.callNative("picker.pickCascade",{options:e},t)},dismissPick:function(e,t){r.callNative("picker.dismissPick",{options:e},t)}},s={name:"weex 网络",fetch:function(e,t,n){r.callNative("stream.fetch",{options:e},t)}},H={name:"lottieModule",lottieInterface:function(e,t,n,o){r.callNative("lottieModule.lottieInterface",{options:{name:"lottieView",param:t}},void 0,n,o)}},d={name:"event 模块",fireNativeGlobalEvent(e,t){r.callNative("event.fireNativeGlobalEvent",{options:e},t)}},V={name:"storage 模块",length:function(e){r.callNative("storage.length",{options:null},e)},getItem:function(e,t){r.callNative("storage.getItem",{options:e},t)},setItem:function(e,t,n){r.callNative("storage.setItem",{options:{key:e,value:t}},n)},setItemPersistent:function(e,t,n){r.callNative("storage.setItemPersistent",{options:{key:e,value:t}},n)},getAllKeys:function(e){r.callNative("storage.getAllKeys",{options:null},e)},removeItem:function(e,t){r.callNative("storage.removeItem",{options:e},t)}},Q=new Proxy({},{get:(e,n)=>(e,t)=>{r.callNative("singleBlueToothModule."+n,{options:e},t)}}),z=Object.freeze({__proto__:null,clipboard:E,weexModule:r,deviceInfo:W,navigator:_,globalEvent:U,websocket:c,webview:q,picker:l,stream:s,lottieModule:H,bridgeModule:R,event:d,storage:V,singleBlueToothModule:Q,routerModule:{name:"路由",goToMeijuPage:function(e,t,n){r.callNative("routerModule.goToMeijuPage",{options:e},t,void 0,n)},goToMeijuPageWithUrl:function(e,t,n){r.callNative("routerModule.goToMeijuPageWithUrl",{options:e},t,void 0,n)}},nfcModule:{name:"nfcModule",isSupportNfc:function(e,t,n){r.callNative("nfcModule.isSupportNfc",e,t,void 0,n)},getNfcStatus:function(e,t,n){r.callNative("nfcModule.getNfcStatus",e,t,void 0,n)},getNfcData:function(e,t,n){r.callNative("nfcModule.getNfcData",e,t,void 0,n)},getNfcInfo:function(e,t,n){r.callNative("nfcModule.getNfcInfo",e,t,void 0,n)},clearNfcInfo:function(e,t,n){r.callNative("nfcModule.clearNfcInfo",e,t,void 0,n)},startReadNfc:function(e,t,n){r.callNative("nfcModule.startReadNfc",e,t,void 0,n)},startWriteNfc:function(e,t,n){r.callNative("nfcModule.startWriteNfc",e,t,void 0,n)},cancelWriteNfc:function(e,t,n){r.callNative("nfcModule.cancelWriteNfc",e,t,void 0,n)},toConfigDevice:function(e,t,n){r.callNative("nfcModule.toConfigDevice",e,t,void 0,n)},configDevice:function(e,t,n){r.callNative("nfcModule.configDevice",e,t,void 0,n)},getDeviceConnectInfo:function(e,t,n){r.callNative("nfcModule.getDeviceConnectInfo",e,t,void 0,n)},addDevice:function(e,t,n){r.callNative("nfcModule.addDevice",e,t,void 0,n)}},router:{name:"router",setMiniAppCache:function(e,t,n){r.callNative("router.setMiniAppCache",{options:e},t,void 0,n)},getMiniAppCache:function(e,t,n){r.callNative("router.getMiniAppCache",{options:e},t,void 0,n)},deleteMiniAppCache:function(e,t,n){r.callNative("router.deleteMiniAppCache",{options:e},t,void 0,n)},setGlobalAppCache:function(e,t,n){r.callNative("router.setGlobalAppCache",{options:e},t,void 0,n)},getGlobalAppCache:function(e,t,n){r.callNative("router.getGlobalAppCache",{options:e},t,void 0,n)},deleteGlobalAppCache:function(e,t,n){r.callNative("router.deleteGlobalAppCache",{options:e},t,void 0,n)},navigateTo:function(e,t,n){r.callNative("router.navigateTo",{options:e},t,void 0,n)},navigateBack:function(e,t,n){r.callNative("router.navigateBack",{options:e},t,void 0,n)},exitMiniApp:function(e,t,n){r.callNative("router.exitMiniApp",{options:e},t,void 0,n)}},aiSpeechModule:F,modal:{name:"modal",toast:function(e,t,n){r.callNative("modal.toast",{options:e},t,void 0,n)},alert:function(e,t,n){r.callNative("modal.alert",{options:e},t,void 0,n)},confirm:function(e,t,n){r.callNative("modal.confirm",{options:e},t,void 0,n)},prompt:function(e,t,n){r.callNative("modal.prompt",{options:e},t,void 0,n)}}}),c=weex.config.env.platform;function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f(e,t){return e(t={exports:{}},t.exports),t.exports}"ios"!==c.toLowerCase()&&"android"!==c.toLowerCase()&&(J=["weexModule","globalEvent","clipboard","navigator","deviceInfo","websocket","picker","webview","stream","bridgeModule","lottieModule","singleBlueToothModule","nfcModule","storage","routerModule","router","modal","aiSpeechModule"],G=weex.requireModule.bind(weex),weex.requireModule=function(e){return J.includes(e)?z[e]||{}:G(e)});var K=p(f(function(e){function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e)}u.done?t(c):Promise.resolve(c).then(o,r)}e.exports=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var o=u.apply(e,a);function r(e){c(o,t,n,r,i,"next",e)}function i(e){c(o,t,n,r,i,"throw",e)}r(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),g=f(function(t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}),$=p(g),X=f(function(e){var o=g.default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports}),Y=(p(X),f(function(e){var t=g.default;e.exports=function(e){e=X(e,"string");return"symbol"==t(e)?e:e+""},e.exports.__esModule=!0,e.exports.default=e.exports})),h=(p(Y),p(f(function(e){e.exports=function(e,t,n){return(t=Y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}))),l=f(function(D){var j=g.default;function e(){D.exports=function(){return a},D.exports.__esModule=!0,D.exports.default=D.exports;var c,a={},e=Object.prototype,l=e.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function i(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(c){i=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r,i,a,u,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype),o=new N(o||[]);return s(t,"_invoke",{value:(r=e,i=n,a=o,u=p,function(e,t){if(u===f)throw Error("Generator is already running");if(u===g){if("throw"===e)throw t;return{value:c,done:!0}}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var o=n.method,r=t.iterator[o];if(r===c)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=c,e(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;r=o.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}(n,a);if(n){if(n===h)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(u===p)throw u=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);u=f;n=d(r,i,a);if("normal"===n.type){if(u=a.done?g:"suspendedYield",n.arg===h)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(u=g,a.method="throw",a.arg=n.arg)}})}),t}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var p="suspendedStart",f="executing",g="completed",h={};function v(){}function m(){}function b(){}var t={},y=(i(t,o,function(){return this}),Object.getPrototypeOf),y=y&&y(y(x([]))),w=(y&&y!==e&&l.call(y,o)&&(t=y),b.prototype=v.prototype=Object.create(t));function M(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function S(a,u){var t;s(this,"_invoke",{value:function(n,o){function e(){return new u(function(e,t){!function t(e,n,o,r){var i,e=d(a[e],a,n);if("throw"!==e.type)return(n=(i=e.arg).value)&&"object"==j(n)&&l.call(n,"__await")?u.resolve(n.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):u.resolve(n).then(function(e){i.value=e,o(i)},function(e){return t("throw",e,o,r)});r(e.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function x(t){if(t||""===t){var n,e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=c,e.done=!0,e}).next=e}throw new TypeError(j(t)+" is not iterable")}return s(w,"constructor",{value:m.prototype=b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=i(b,r,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,r,"GeneratorFunction")),e.prototype=Object.create(w),e},a.awrap=function(e){return{__await:e}},M(S.prototype),i(S.prototype,n,function(){return this}),a.AsyncIterator=S,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new S(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},M(w),i(w,r,"Generator"),i(w,o,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=Object(e),o=[];for(t in n)o.push(t);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=c)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var o=this;function e(e,t){return i.type="throw",i.arg=n,o.next=e,t&&(o.method="next",o.arg=c),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&l.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}var i=(r=r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc?null:r)?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,o,r=this.tryEntries[t];if(r.tryLoc===e)return"throw"===(n=r.completion).type&&(o=n.arg,P(r)),o}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=c),h}},a}D.exports=e,D.exports.__esModule=!0,D.exports.default=D.exports}),s=(p(l),l()),v=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}var Z=Object.prototype.toString;function ee(e){return Z.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===Z.call(e)}var te=weex.config.env.appVersion;function ne(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:te;if(t===e)return!0;for(var n=t.split("."),o=e.split("."),r=Math.max(n.length,o.length),i=0;i<r;i++){var a=~~o[i],u=~~n[i];if(a<u)return!0;if(u<a)return!1}return!1}function oe(e,t){t=t||weex.config.bundleUrl;var n=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){e=e.split("=");n[e[0]]=e[1]}),e?n[e]:n}function b(e){try{e=JSON.parse(e)}catch(e){}return e}var H={_typeof:ee,isDate:function(e){return"[object Date]"===Z.call(e)},isPlainObject:m,deepMerge:function o(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(n){n&&Object.keys(n).forEach(function(e){var t=n[e];m(t)?m(r[e])?r[e]=o(r[e],t):r[e]=o(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:ne,getParamsFromUrl:oe,JSONFormat:b},re=f(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}),ie=(p(re),f(function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports})),ae=(p(ie),f(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports})),ue=(p(ae),f(function(e){e.exports=function(e,t){var n;if(e)return"string"==typeof e?ae(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports})),ce=(p(ue),f(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports})),d=(p(ce),p(f(function(e){e.exports=function(e,t){return re(e)||ie(e,t)||ue(e,t)||ce()},e.exports.__esModule=!0,e.exports.default=e.exports})),oe(weex.config.bundleUrl,"isDummy")||!1),V="web"!==weex.config.env.platform.toLowerCase()&&d,y=weex.requireModule("bridgeModule"),le=weex.requireModule("routerModule"),se=weex.requireModule("singleBlueToothModule"),de=weex.requireModule("blueToothMeshModule"),pe=weex.requireModule("globalEvent"),fe=weex.requireModule("aiSpeechModule"),ge=weex.requireModule("nfcModule"),he=weex.requireModule("configCommonModule"),ve=weex.requireModule("clipboard"),w=weex.requireModule("midea-audio"),me=weex.requireModule("picker"),be=weex.requireModule("router"),ye=weex.requireModule("blueToothModule"),we=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),Me=weex.requireModule("infraredModule");function M(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),y&&y.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function S(e,t){var o=0<arguments.length&&void 0!==e?e:j("params"),e=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===e?"commandInterface":e;return new Promise(function(t,n){console.log("params",o,r),y[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function Se(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){y.hasOwnProperty(n)?y[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function O(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){ye&&ye.hasOwnProperty(n)?ye[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function P(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;ne("5.9.0")&&(se&&se.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),se[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(e),n(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(o)),e="singleBlueToothModule 缺少 ".concat(o),n({status:-1,message:e})))})}function N(e,t,n,o){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?n:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,n){be&&be[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function Oe(n,o){return new Promise(function(t,e){de&&de.hasOwnProperty(n)?de[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function x(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){fe[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)})})}function Pe(e,t,n){pe&&pe[e]?pe[e](t,function(e){n&&n(b(e))}):(t="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:t}))}function D(o,r,i,a){return new Promise(function(t,n){var e;ge&&ge.hasOwnProperty(o)?ge[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function Ne(o,r,i,a){return new Promise(function(t,n){var e;he&&he.hasOwnProperty(o)?he[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function j(e){var n=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(n),t(n)}catch(e){console.error(e),t(e)}})}function xe(e,o){return new Promise(function(t,n){ve&&(o?ve[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):ve[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function I(e,o){return new Promise(function(t,n){w&&(o?w[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):w[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function T(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;ne("5.9.0")&&(we&&we.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),we[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(b(e)),n(b(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function De(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){Me.hasOwnProperty(n)?Me[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function je(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Ie=weex.requireModule("modal"),Te=weex.requireModule("navigator"),Ae=weex.requireModule("stream"),k=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),Q=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.5.7",isDummy:V,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,n=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{n?k.toast({message:e,duration:t||1.5,bgStyle:n}):k.toast({message:e,duration:t||1.5})}catch(n){Ie.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===$(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}Ie.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){Ie.confirm({message:e,okTitle:2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",cancelTitle:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消"},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Te.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||k.killKeyboard()},getUserInfo:function(){return M({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return M({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return M(A({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return M(A({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceAliasName:function(){return M(A({operation:"getDeviceAliasName"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return M(A({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return M(A({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{k.getDevicePluginInfo({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return M(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return M(A(A({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{k.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return M(A({operation:"callTel"},e))},callTelList:function(e){return M({operation:"callTelList",params:e})},setBackHandle:function(){return M({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return M(A({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return M({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return M({operation:"getNetworkStatus"})},shareMsg:function(e){return M({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{k.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){k.getWeexPath(function(e){t(L(e))})})},jumpNativePage:function(){return M(A({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return Se("backToNative")},getWeexFunctionPath:function(){return M({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return M(A({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){return k.showControlPanelPage(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},checkCurrentNotificationStatus:function(){return M({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return M({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{k.getAuthToken({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return M(A({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return M({operation:"stopRecordAudio"})},takePhoto:function(){return M(A({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return M(A({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return M(A({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return M(A({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return M(A({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return M(A({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return M(A({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return M(A({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return M(A({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"getGPSInfo"},e),t,n)},geoCode:function(){return M(A({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return M(A({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return M({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return M(A({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){k.interfaceForThirdParty.apply(k,arguments)},sendCentralCloudRequest:function(o){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,n){var e;1!=r.isDummy&&((e=i).url=o,a.isShowLoading&&r.showLoading(),k.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),n(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(n,o){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=(e=>{var t,n="";for(t in e)"function"!=typeof e[t]&&(n+="&"+t+"="+encodeURI(e[t]));return n.substring(1)})(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),Ae.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),n(t)):("string"==typeof e&&(e=JSON.parse(e)),o(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,n){var e,o;null==r?n("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(o=Object.create(null)).commandId=e,o.messageBody=r,i&&(o.deviceId=i),k.startCmdProcess(JSON.stringify(o),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}n(e)}))})},sendElectronicRequest:function(e){return Se("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?k.requestDataTransmit(JSON.stringify(e),function(e){t(L(e))},function(e){n(e)}):n("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),M(A(A({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):M(A(A({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var o=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,n){r&&o.showLoading();try{k.getTXList({},function(e){r&&o.hideLoading(),t(L(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFile"},e),t,n)},uploadImgFileToMas:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFileToMas"},e),t,n)},setIdleTimerDisabled:function(){return M({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{k.downLoadDevicePlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{k.getDeviceOnlineStatus(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{k.loadingLatestPlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.method,n=n.headers,r={url:e,method:void 0===o?"POST":o,headers:void 0===n?{"Content-Type":"application/json;charset=utf-8"}:n,data:A({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,n){console.log("params:".concat(JSON.stringify(r,null,4))),k.sendCentralCloundRequest(r,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return k.updateAutoList()}});function L(e){try{e=JSON.parse(e)}catch(e){}return e}function ke(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}c={hideKeyboard:function(){return M({operation:"hideKeyboard",params:{}})},showLoading:function(){return M({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return M({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return M({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return M({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return M({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return M({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return M({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideStatusBar:function(){return M({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getStatusBar:function(){return M({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return M({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideNavigationBar:function(){return M({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showConfirmView:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ke(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},popupGeneralList:function(){return M({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){me&&me[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},likeAnimation:function(){return M({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},dismissFullPage:function(){return M({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllBarHeight:function(){return M({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Le(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Le(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}l={errorCaptured:function(t){return K(v.mark(function e(){return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var n={name:"zoiew"},o={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),e=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(e),new Promise(function(e,t){e(Ce(Ce({},n),o))})},canIUse:function(){return M({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()}})},getSystemInfo:function(){return M({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return M({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return M({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addEventListener:function(e,t){return Pe("addEventListener",e,t)},removeEventListener:function(e,t){return Pe("removeEventListener",e,t)},getPluginInfo:function(){return M({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return M({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return M({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return M({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(n,o,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),o&&"function"!=typeof o?(i=o,o=null):r&&"function"!=typeof r&&(i=r,r=null),n=JSON.stringify(n);e=weex.requireModule(i);e&&e.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(),t(e)},function(e){r&&r(),t(e)})})}};function Be(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var qe=weex.requireModule("navigator"),Re={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=(t=0<(t=weex.config.bundleUrl).indexOf("?")?t.substring(0,t.indexOf("?")):t).split("/").slice(0,-1).join("/");return e?t+"/":t},push:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:j("url"),s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a=Object.create(null),u="";if("string"===ee(l)?(a.url=l,a.options=s,a.params=d,a.callback=p):m(l)&&(n=l.url,o=void 0===(o=l.options)?{animated:"true",replace:"false"}:o,r=void 0===(r=l.params)?{}:r,i=void 0===(i=l.callback)?function(){}:i,a.url=n,a.options=o,a.params=r,a.callback=i),a.params)for(var c in a.params)u+=c+"="+encodeURIComponent(a.params[c])+"&";u=a.url.indexOf("?")?a.url+"?"+u.slice(0,-1):a.url+u.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(u)||(u=Re.getContextPath()+u);try{qe.push(Ee({url:u},a.options),p),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof n&&(o=n,n=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{qe.pop(Ee({animated:"true",level:1},n),o)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){le&&le.hasOwnProperty(n)&&le[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return M(Ee({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},goToPage:function(){return M({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},reload:function(){return M({operation:"reload"})},openURL:function(){return M({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},setMiniAppCache:function(){return N("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return N("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return N("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return N("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return N("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return N("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return M({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},s={getBatteryInfo:function(){return M({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return M({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return M({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return M({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return M({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return M({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return M({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return M({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return M({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return M({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return M({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return M({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return M({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return M({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return M({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},vibrate:function(){return M({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAppInfo:function(){return M({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return M({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return M({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return M({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return M({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return M({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Fe(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var d={scanCode:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},V={encrypt:function(){return M({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return M({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return M({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return M({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},encodeAES128:function(){return M({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},We={saveFile:function(){return M({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return M({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return M({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return M({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return M({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return M({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return M({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return M({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return M({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return M({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return M({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return M({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return M({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return M({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return M({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},_e={downloadFile:function(){return M({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return M({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return M({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return M({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return M({operation:"resetCookie",params:e})}},Ue={getLocation:function(){return M({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return M({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return M({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return M({operation:"getTodaySteps"})}},Je={getBluetoothStatus:function(){return M({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return M({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return M({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return M({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return M({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return M({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return M({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return M({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return M({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return P("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return P("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return P("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return P("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return P("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return P("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return P("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return P("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return P("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return P("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return P("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return P("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceData:function(){return P("sendSourceData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},enableGatewayProxy:function(){return P("enableGatewayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disableGateayProxy:function(){return P("disableGateayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceProxyStatus:function(){return P("queryDeviceProxyStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return Oe("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return Oe("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return O("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return O("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return O("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return O("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return P("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return P("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryAuthStatus:function(){return P("queryAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startAuthenticRight:function(){return P("startAuthenticRight",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},Ge={chooseImage:function(){return M({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return M({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return M({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return M({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return M({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return M({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return M({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return M({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return M({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return M({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return M({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return M({operation:"pauseRecord"})},resumeRecord:function(){return M({operation:"resumeRecord"})},stopRecord:function(){return M({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return M({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return M({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return M({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return M({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return M({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return I("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return I("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){var n,o;n=e,o=t,w&&w.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)})},getDuration:function(){return I("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return I("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return I("pause")},stop:function(){return I("stop")},recordVideo:function(){return M({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return M({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return M({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},He={getWifiList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ve={startSpeechMonitor:function(){return x("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return x("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return x("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return x("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return x("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},Qe=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function ze(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Ke={reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},$e={checkAndRequestPermission:function(){return M({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return M({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Xe={getNfcInfo:function(){return D("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return D("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return D("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return D("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return D("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return D("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return D("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return D("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ye={configDevice:function(){return Ne("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return Ne("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},changeBleBindToWiFiConfig:function(){return Ne("changeBleBindToWiFiConfig",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function Ze(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var tt={getWeatherInfo:function(){return M(et({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAppWeatherInfo:function(){return M(et({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}};function nt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var rt={canUseSiriShortcut:function(){return M({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return M({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllSiriShortcuts:function(){return M({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return M({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addInstructToSiriShortcut:function(){return M(ot({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAllSiriInstructShortcuts:function(){return M(ot({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},editSiriInstructShortcut:function(){return M(ot({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}},it={setString:function(){return xe("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},getString:function(){return xe("getString")}},at={prepareSpeech:function(){return x("prepareSpeech")},startSpeechToText:function(){return x("startSpeechToText")},startTextToSpeech:function(){return x("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},stopSpeechToText:function(){return x("stopSpeechToText")},stopTextToSpeech:function(){return x("stopTextToSpeech")}},ut={getLoginInfo:function(){return M({operation:"getLoginInfo"})},getUserInfo:function(){return M({operation:"getUserInfo"})},logout:function(){return M({operation:"logout"})},getUnionId:function(){return M({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAuthToken:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return M({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},ct={getHomeInfo:function(){return M({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllHomeInfoList:function(){return M({operation:"getAllHomeInfoList"})},createHome:function(){return M({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateHomeInfo:function(){return M({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteHome:function(){return M({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getHomeMemberList:function(){return M({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},inviteToHome:function(){return M({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getRoomInfo:function(){return M({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllRoomInfoList:function(){return M({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},createRoom:function(){return M({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteRoom:function(){return M({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateRoomInfo:function(){return M({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},refreshHomeInfo:function(){return M({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}};function lt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var st={pay:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return M({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return T("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return T("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return T("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return T("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return T("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return T("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return T("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return T("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return T("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function dt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var pt={luaQuery:function(){return M(C({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return M(C({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return M(C({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return M(C({operation:"getDeviceList"},e))},toConfigDevice:function(e){return D("toConfigDevice",e)},getDeviceConnectInfo:function(e){return D("getDeviceConnectInfo",e)},addDevice:function(e){return D("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return M(C({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return M({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return M({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return M({operation:"getDeviceUUID"})}};function ft(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var gt={checkInstalledThirdPlatform:function(e){return M({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return Se("shareCustomPanel",e)},sharePeerToPeer:function(e){return M({operation:"sharePeerToPeer",params:e})}},ht={cameraMatch:function(){return De("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return De("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},vt={openMiniProgram:function(){return M({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2PerformAction:function(){return M({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryAllProperties:function(){return M({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryProperty:function(){return M({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2SetupProperty:function(){return M({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2BatchQueryProperty:function(){return M({operation:"tslV2BatchQueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},mt={subscribeMessage:function(){return M({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},bt=weex.requireModule("bridgeModule"),yt=weex.requireModule("storage"),wt=(weex.requireModule("modal"),{});function Mt(e,t){yt&&yt.getItem(e,t)}function St(n,o){var r;void 0!==o&&(r={},Mt("WEEX_CANIUSE_MAP",function(e){var t;"undefined"!==e.data?(r=JSON.parse(e.data))[n]=o:r[n]=o,e=JSON.stringify(r),"object"==$(e)&&(t=JSON.stringify(e)),yt.setItem("WEEX_CANIUSE_MAP",t||e,function(e){console.log("set success")})}))}function Ot(i,a){return new Promise((n=K(v.mark(function e(t,o){var r;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r={},void 0===wt[i])?e.next=5:(r=wt[i],e.next=8);break;case 5:e.next=7;var n={operation:"canIUse",params:{api:i}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),bt&&bt.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})});case 7:r=e.sent;case 8:!0===r.enable||!0===r?(St(i,r.enable),t(!0)):(a=a?a:o)({code:-13,msg:i+"接口不支持"});case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}Mt("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(wt=JSON.parse(e.data))});var Pt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless","getGpsInfo"];function Nt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function xt(e){e.prototype.$bridge=Dt}var Q=B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B({},Q),l),Re),Je),s),d),V),We),_e),Ue),Ge),c),He),Ve),Qe),Ke),$e),Xe),Ye),tt),rt),it),at),ut),ct),st),pt),gt),ht),vt),mt),Dt=new Proxy(Q,{get:function(e,i,t){var a=e[i];return"function"==typeof a?K(v.mark(function e(){var t,n,o,r=arguments;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,Pt.includes(i)){e.next=4;break}return e.next=4,Ot(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject({code:-13,msg:i+"接口不支持"}));case 9:for(t=r.length,n=new Array(t),o=0;o<t;o++)n[o]=r[o];return e.abrupt("return",a.apply(this,n));case 11:case"end":return e.stop()}},e,this,[[0,6]])})):a}}),l={install:xt};e.Bridge=Dt,e.Utils=H,e.default=l,e.install=xt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
667
|
+
((e,t)=>{ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dolphinNativeBridge={})})(this,function(e){let r={name:"weex扩展API",callNative:function(t,n,o,r,i){try{window!==window.top&&window.addEventListener("message",function(e){console.log("event🥳","-----\x3e👉",e),e.currentTarget.$midea_harmony_native.run(t,n,o,r,i)}),$midea_harmony_native.run(t,n,o,r,i)}catch(t){}}},E={name:"weex剪贴板事件",getString:function(e){r.callNative("clipboard.getString","",e)},setString:function(e){r.callNative("clipboard.setString",{message:e},void 0)}},q={name:"weex webview",goBack:function(e){e={method:"goBack",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},goForward:function(e){e={method:"goForward",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},reload:function(e){e={method:"reload",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},postMessage:function(e,t){e={method:"postMessage",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)},notifyWebview:function(e,t){e={method:"notifyWebview",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)}},R={name:"bridgeModule",commandInterface:function(e,t,n){var o;if((o="string"==typeof e?JSON.parse(e):e)&&0<Object.keys(o).length){let e=o.operation;e&&r.callNative("bridgeModule."+e,{options:o},t,void 0,n)}},requestDataTransmit:function(e,t){r.callNative("bridgeModule.requestDataTransmit",{options:e},t)},play:function(e,t){r.callNative("bridgeModule.play",{options:e},t)},pause:function(e,t){r.callNative("bridgeModule.pause",{options:e},t)},stop:function(e,t){r.callNative("bridgeModule.stop",{options:e},t)},seek:function(e,t){r.callNative("bridgeModule.seek",{options:e},t)},loop:function(e,t){r.callNative("bridgeModule.loop",{options:e},t)},setCallback:function(e,t){r.callNative("bridgeModule.setCallback",{options:e},t)},getDuration:function(e,t){r.callNative("bridgeModule.getDuration",{options:e},t)},backgroundPlay:function(e,t){r.callNative("bridgeModule.backgroundPlay",{options:e},t)},startRecord:function(e,t){r.callNative("bridgeModule.startRecord",{options:e},t)},stopRecord:function(e,t){r.callNative("bridgeModule.stopRecord",{options:e},t)},pauseRecord:function(e,t){r.callNative("bridgeModule.pauseRecord",{options:e},t)},resumeRecord:function(e,t){r.callNative("bridgeModule.resumeRecord",{options:e},t)},playAudio:function(e,t){r.callNative("bridgeModule.playAudio",{options:e},t)},pauseAudio:function(e,t){r.callNative("bridgeModule.pauseAudio",{options:e},t)},stopAudio:function(e,t){r.callNative("bridgeModule.stopAudio",{options:e},t)},musicDownload:function(e,t){r.callNative("bridgeModule.musicDownload",{options:e},t)},delMusic:function(e,t){r.callNative("bridgeModule.delMusic",{options:e},t)},delRecorder:function(e,t){r.callNative("bridgeModule.delRecorder",{options:e},t)},killKeyboard:function(e,t){r.callNative("bridgeModule.killKeyboard",{options:e},t)},setStatusBar:function(e,t){r.callNative("bridgeModule.setStatusBar",{options:e},t)},setBottomStatusBar:function(e,t){r.callNative("bridgeModule.setBottomStatusBar",{options:e},t)},showLoading:function(e,t){r.callNative("bridgeModule.showLoading",{options:e},t)},hideLoading:function(e,t){r.callNative("bridgeModule.hideLoading",{options:e},t)},showLoadingWithMsg:function(e,t){r.callNative("bridgeModule.showLoadingWithMsg",{options:e},t)},hideLoadingWithMsg:function(e,t){r.callNative("bridgeModule.hideLoadingWithMsg",{options:e},t)},toast:function(e,t){r.callNative("bridgeModule.toast",{options:e},t)},showToast:function(e,t){r.callNative("bridgeModule.showToast",{options:e},t)},showModal:function(e,t){r.callNative("bridgeModule.showModal",{options:e},t)},photoDownload:function(e,t){r.callNative("bridgeModule.photoDownload",{options:e},t)},openShare:function(e,t){r.callNative("bridgeModule.openShare",{options:e},t)},shareMsg:function(e,t){r.callNative("bridgeModule.shareMsg",{options:e},t)},showSharePanel:function(e,t){r.callNative("bridgeModule.showSharePanel",{options:e},t)},customSharePanel:function(e,t){r.callNative("bridgeModule.customSharePanel",{options:e},t)},shareCustomPanel:function(e,t){r.callNative("bridgeModule.shareCustomPanel",{options:e},t)},getLanguageSync:function(e,t){r.callNative("bridgeModule.getLanguageSync",{options:e},t)},getTimeZoneSync:function(e,t){r.callNative("bridgeModule.getTimeZoneSync",{options:e},t)},getWeexPath:function(o){if(window.isIframe){let e=window.location.pathname,t=e.lastIndexOf("/"),n=e.substring(0,t+1);o(JSON.stringify({weexPath:n}))}else r.callNative("bridgeModule.getWeexPath",{options:{}},o)},getWeexFunctionPath:function(e,t){r.callNative("bridgeModule.getWeexFunctionPath",{options:e},t)},reload:function(e,t){r.callNative("bridgeModule.reload",{options:e},t)},saveImageToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveImageToPhotosAlbum",{options:e},t)},saveVideoToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveVideoToPhotosAlbum",{options:e},t)},mapPoiNearbySearch:function(e,t){r.callNative("bridgeModule.mapPoiNearbySearch",{options:e},t)},searchPOI:function(e,t){r.callNative("bridgeModule.searchPOI",{options:e},t)},requestLocation:function(e,t){r.callNative("bridgeModule.requestLocation",{options:e},t)},launchMapApp:function(e,t){r.callNative("bridgeModule.launchMapApp",{options:e},t)},searchMapAddress:function(e,t){r.callNative("bridgeModule.searchMapAddress",{options:e},t)},geoCode:function(e,t){r.callNative("bridgeModule.geoCode",{options:e},t)},getCityInfo:function(e,t){r.callNative("bridgeModule.getCityInfo",{options:e},t)},cityLocation:function(e,t){r.callNative("bridgeModule.cityLocation",{options:e},t)},getWeatherInfo:function(e,t){r.callNative("bridgeModule.getWeatherInfo",{options:e},t)},getElderMode:function(e,t){r.callNative("bridgeModule.getElderMode",{options:e},t)},getDiablomode:function(e,t){r.callNative("bridgeModule.getDiablomode",{options:e},t)},canSupportSwitchTheme:function(e,t){r.callNative("bridgeModule.canSupportSwitchTheme",{options:e},t)},getDeviceUUID:function(e,t){r.callNative("bridgeModule.getDeviceUUID",{options:e},t)},sendCentralCloundRequest:function(e,t){r.callNative("bridgeModule.sendCentralCloundRequest",{options:e},t)},sendMCloudRequest:function(e,t){r.callNative("bridgeModule.sendMCloudRequest",{options:e},t)},setIdleTimerDisabled:function(e,t){r.callNative("bridgeModule.setIdleTimerDisabled",{options:e},t)},showControlPanelPage:function(e,t,n){r.callNative("bridgeModule.showControlPanelPage",{options:e},t,void 0,n)},getAuthToken:function(e,t,n){r.callNative("bridgeModule.getAuthToken",{options:e},t,void 0,n)},backToNative:function(e,t,n){r.callNative("bridgeModule.backToNative",{options:e},t,void 0,n)}},F={name:"aiSpeechModule",initAISDK:function(e,t,n){r.callNative("aiSpeechModule.initAISDK",{options:e},t,void 0,n)},stopASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopASRSpeech",{options:e},t,void 0,n)},startASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.startASRSpeech",{options:e},t,void 0,n)},getNLPWithText:function(e,t,n){r.callNative("aiSpeechModule.getNLPWithText",{options:e},t,void 0,n)},getSpeechDeviceId:function(e,t,n){r.callNative("aiSpeechModule.getSpeechDeviceId",{options:e},t,void 0,n)},startSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.startSpeechMonitor",{options:e},t,void 0,n)},resumeSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.resumeSpeechMonitor",{options:e},t,void 0,n)},pauseSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.pauseSpeechMonitor",{options:e},t,void 0,n)},stopSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechMonitor",{options:e},t,void 0,n)},textToSpeech:function(e,t,n){r.callNative("aiSpeechModule.textToSpeech",{options:e},t,void 0,n)},releaseDailog:function(e,t,n){r.callNative("aiSpeechModule.releaseDailog",{options:e},t,void 0,n)},enableWakeup:function(e,t,n){r.callNative("aiSpeechModule.enableWakeup",{options:e},t,void 0,n)},disableWakeup:function(e,t,n){r.callNative("aiSpeechModule.disableWakeup",{options:e},t,void 0,n)},prepareSpeech:function(e,t,n){r.callNative("aiSpeechModule.prepareSpeech",{options:e},t,void 0,n)},startSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.startSpeechToText",{options:e},t,void 0,n)},startTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.startTextToSpeech",{options:e},t,void 0,n)},stopSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechToText",{options:e},t,void 0,n)},stopTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopTextToSpeech",{options:e},t,void 0,n)}},W={name:"MallModule",isLogin:function(e){r.callNative("MallModule.isLogin",{},e)},getCookie:function(e,t){r.callNative("MallModule.getCookie",{name:e},t)},openWxPageTranslucent:function(e,t){r.callNative("MallModule.openWxPageTranslucent",{finalUrl:e,options:t},void 0)},openURL:function(e){r.callNative("MallModule.openURL",{url:e},void 0)},getWXPayInfo:function(e,t){r.callNative("MallModule.getWXPayInfo",{param:e},t)}},_={name:"weex获取全屏高度",enableFullScreenHeight:function(e){r.callNative("deviceInfo.enableFullScreenHeight",null,e)}},U={name:"weex导航事件",pop:function(e,t){r.callNative("navigator.navigatorPop",e,t)},push:function(e,t){r.callNative("navigator.navigatorPush",e,t)},replace:function(e,t){r.callNative("navigator.navigatorReplace",e,t)}},J={name:"weex监听全局事件",addEventListener:function(e,t){void 0===t?console.error("callback is undefined."):r.callNative("globalEvent.addEventListener",{eventName:e},t)},removeEventListener:function(e){r.callNative("globalEvent.removeEventListener",{eventName:e},void 0)},addBroadcastChannel:function(e,t,n){void 0===n?console.error("callback is undefined."):r.callNative("globalEvent.addBroadcastChannel",{channel:e,message:t},n)},removeBroadcastChannel:function(e){r.callNative("globalEvent.removeBroadcastChannel",{channel:e},void 0)}},n=[],o=[],i=[],a=[],u=null;function t(e,t){let n=new Event("error");e.forEach(e=>e(Object.defineProperty(n,"data",{value:t,enumerable:!0,writable:!0})))}var G,H,c={WebSocket:function(e,t){u&&(n=[],o=[],i=[],a=[],u=null),(u=new WebSocket(e,void 0!==t&&""!==t?t:"wss")).onopen=function(t){i.forEach(e=>e(t))},u.onmessage=function(t){a.forEach(e=>e(t))},u.onclose=function(t){o.forEach(e=>e(t))}},onopen:function(e){i.push(e)},onmessage:function(e){a.push(e)},onerror:function(e){n.push(e)},onclose:function(e){o.push(e)},send:function(e){if(null!=u)try{u.send(e)}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")},close:function(){if(null!=u)try{u.close(),n=[],o=[],i=[],a=[],u=null}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")}},l={name:"weex 选择器",pick:function(e,t){r.callNative("picker.pick",{options:e},t)},pickDate:function(e,t){r.callNative("picker.pickDate",{options:e},t)},pickTime:function(e,t){r.callNative("picker.pickTime",{options:e},t)},pickWetness:function(e,t){r.callNative("picker.pickWetness",{options:e},t)},showPick:function(e,t){r.callNative("picker.showPick",{options:e},t)},pickCascade:function(e,t){r.callNative("picker.pickCascade",{options:e},t)},dismissPick:function(e,t){r.callNative("picker.dismissPick",{options:e},t)}},s={name:"weex 网络",fetch:function(e,t,n){r.callNative("stream.fetch",{options:e},t)}},V={name:"lottieModule",lottieInterface:function(e,t,n,o){r.callNative("lottieModule.lottieInterface",{options:{name:"lottieView",param:t}},void 0,n,o)}},d={name:"event 模块",fireNativeGlobalEvent(e,t){r.callNative("event.fireNativeGlobalEvent",{options:e},t)}},Q={name:"storage 模块",length:function(e){r.callNative("storage.length",{options:null},e)},getItem:function(e,t){r.callNative("storage.getItem",{options:e},t)},setItem:function(e,t,n){r.callNative("storage.setItem",{options:{key:e,value:t}},n)},setItemPersistent:function(e,t,n){r.callNative("storage.setItemPersistent",{options:{key:e,value:t}},n)},getAllKeys:function(e){r.callNative("storage.getAllKeys",{options:null},e)},removeItem:function(e,t){r.callNative("storage.removeItem",{options:e},t)}},z=new Proxy({},{get:(e,n)=>(e,t)=>{r.callNative("singleBlueToothModule."+n,{options:e},t)}}),K=Object.freeze({__proto__:null,clipboard:E,weexModule:r,deviceInfo:_,navigator:U,globalEvent:J,websocket:c,webview:q,picker:l,stream:s,lottieModule:V,bridgeModule:R,event:d,storage:Q,singleBlueToothModule:z,routerModule:{name:"路由",goToMeijuPage:function(e,t,n){r.callNative("routerModule.goToMeijuPage",{options:e},t,void 0,n)},goToMeijuPageWithUrl:function(e,t,n){r.callNative("routerModule.goToMeijuPageWithUrl",{options:e},t,void 0,n)}},nfcModule:{name:"nfcModule",isSupportNfc:function(e,t,n){r.callNative("nfcModule.isSupportNfc",e,t,void 0,n)},getNfcStatus:function(e,t,n){r.callNative("nfcModule.getNfcStatus",e,t,void 0,n)},getNfcData:function(e,t,n){r.callNative("nfcModule.getNfcData",e,t,void 0,n)},getNfcInfo:function(e,t,n){r.callNative("nfcModule.getNfcInfo",e,t,void 0,n)},clearNfcInfo:function(e,t,n){r.callNative("nfcModule.clearNfcInfo",e,t,void 0,n)},startReadNfc:function(e,t,n){r.callNative("nfcModule.startReadNfc",e,t,void 0,n)},startWriteNfc:function(e,t,n){r.callNative("nfcModule.startWriteNfc",e,t,void 0,n)},cancelWriteNfc:function(e,t,n){r.callNative("nfcModule.cancelWriteNfc",e,t,void 0,n)},toConfigDevice:function(e,t,n){r.callNative("nfcModule.toConfigDevice",e,t,void 0,n)},configDevice:function(e,t,n){r.callNative("nfcModule.configDevice",e,t,void 0,n)},getDeviceConnectInfo:function(e,t,n){r.callNative("nfcModule.getDeviceConnectInfo",e,t,void 0,n)},addDevice:function(e,t,n){r.callNative("nfcModule.addDevice",e,t,void 0,n)}},router:{name:"router",setMiniAppCache:function(e,t,n){r.callNative("router.setMiniAppCache",{options:e},t,void 0,n)},getMiniAppCache:function(e,t,n){r.callNative("router.getMiniAppCache",{options:e},t,void 0,n)},deleteMiniAppCache:function(e,t,n){r.callNative("router.deleteMiniAppCache",{options:e},t,void 0,n)},setGlobalAppCache:function(e,t,n){r.callNative("router.setGlobalAppCache",{options:e},t,void 0,n)},getGlobalAppCache:function(e,t,n){r.callNative("router.getGlobalAppCache",{options:e},t,void 0,n)},deleteGlobalAppCache:function(e,t,n){r.callNative("router.deleteGlobalAppCache",{options:e},t,void 0,n)},navigateTo:function(e,t,n){r.callNative("router.navigateTo",{options:e},t,void 0,n)},navigateBack:function(e,t,n){r.callNative("router.navigateBack",{options:e},t,void 0,n)},exitMiniApp:function(e,t,n){r.callNative("router.exitMiniApp",{options:e},t,void 0,n)}},aiSpeechModule:F,modal:{name:"modal",toast:function(e,t,n){r.callNative("modal.toast",{options:e},t,void 0,n)},alert:function(e,t,n){r.callNative("modal.alert",{options:e},t,void 0,n)},confirm:function(e,t,n){r.callNative("modal.confirm",{options:e},t,void 0,n)},prompt:function(e,t,n){r.callNative("modal.prompt",{options:e},t,void 0,n)}},MallModule:W,mideaAudio:{name:"midea-audio",play:function(e,t,n){r.callNative("midea-audio.play",{options:e},t,void 0,n)},pause:function(e,t,n){r.callNative("midea-audio.pause",{options:e},t,void 0,n)},stop:function(e,t,n){r.callNative("midea-audio.stop",{options:e},t,void 0,n)},seek:function(e,t,n){r.callNative("midea-audio.seek",{options:e},t,void 0,n)},loop:function(e,t,n){r.callNative("midea-audio.loop",{options:e},t,void 0,n)},setCallback:function(e,t,n){r.callNative("midea-audio.setCallback",{options:e},t,void 0,n)},getDuration:function(e,t,n){r.callNative("midea-audio.getDuration",{options:e},t,void 0,n)}}}),c=weex.config.env.platform;function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f(e,t){return e(t={exports:{}},t.exports),t.exports}"ios"!==c.toLowerCase()&&"android"!==c.toLowerCase()&&(G=["weexModule","globalEvent","clipboard","navigator","deviceInfo","websocket","picker","webview","stream","bridgeModule","lottieModule","singleBlueToothModule","nfcModule","storage","routerModule","router","modal","aiSpeechModule","MallModule","midea-audio"],H=weex.requireModule.bind(weex),weex.requireModule=function(e){return G.includes(e)?K["midea-audio"==e?"mideaAudio":e]||{}:H(e)});var $=p(f(function(e){function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e)}u.done?t(c):Promise.resolve(c).then(o,r)}e.exports=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var o=u.apply(e,a);function r(e){c(o,t,n,r,i,"next",e)}function i(e){c(o,t,n,r,i,"throw",e)}r(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),g=f(function(t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}),X=p(g),Y=f(function(e){var o=g.default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports}),Z=(p(Y),f(function(e){var t=g.default;e.exports=function(e){e=Y(e,"string");return"symbol"==t(e)?e:e+""},e.exports.__esModule=!0,e.exports.default=e.exports})),h=(p(Z),p(f(function(e){e.exports=function(e,t,n){return(t=Z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}))),l=f(function(D){var j=g.default;function e(){D.exports=function(){return a},D.exports.__esModule=!0,D.exports.default=D.exports;var c,a={},e=Object.prototype,l=e.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function i(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(c){i=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r,i,a,u,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype),o=new N(o||[]);return s(t,"_invoke",{value:(r=e,i=n,a=o,u=p,function(e,t){if(u===f)throw Error("Generator is already running");if(u===g){if("throw"===e)throw t;return{value:c,done:!0}}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var o=n.method,r=t.iterator[o];if(r===c)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=c,e(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;r=o.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}(n,a);if(n){if(n===h)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(u===p)throw u=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);u=f;n=d(r,i,a);if("normal"===n.type){if(u=a.done?g:"suspendedYield",n.arg===h)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(u=g,a.method="throw",a.arg=n.arg)}})}),t}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var p="suspendedStart",f="executing",g="completed",h={};function v(){}function m(){}function b(){}var t={},y=(i(t,o,function(){return this}),Object.getPrototypeOf),y=y&&y(y(x([]))),w=(y&&y!==e&&l.call(y,o)&&(t=y),b.prototype=v.prototype=Object.create(t));function M(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function S(a,u){var t;s(this,"_invoke",{value:function(n,o){function e(){return new u(function(e,t){!function t(e,n,o,r){var i,e=d(a[e],a,n);if("throw"!==e.type)return(n=(i=e.arg).value)&&"object"==j(n)&&l.call(n,"__await")?u.resolve(n.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):u.resolve(n).then(function(e){i.value=e,o(i)},function(e){return t("throw",e,o,r)});r(e.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function x(t){if(t||""===t){var n,e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=c,e.done=!0,e}).next=e}throw new TypeError(j(t)+" is not iterable")}return s(w,"constructor",{value:m.prototype=b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=i(b,r,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,r,"GeneratorFunction")),e.prototype=Object.create(w),e},a.awrap=function(e){return{__await:e}},M(S.prototype),i(S.prototype,n,function(){return this}),a.AsyncIterator=S,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new S(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},M(w),i(w,r,"Generator"),i(w,o,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=Object(e),o=[];for(t in n)o.push(t);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=c)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var o=this;function e(e,t){return i.type="throw",i.arg=n,o.next=e,t&&(o.method="next",o.arg=c),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&l.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}var i=(r=r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc?null:r)?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,o,r=this.tryEntries[t];if(r.tryLoc===e)return"throw"===(n=r.completion).type&&(o=n.arg,P(r)),o}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=c),h}},a}D.exports=e,D.exports.__esModule=!0,D.exports.default=D.exports}),s=(p(l),l()),v=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}var ee=Object.prototype.toString;function te(e){return ee.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===ee.call(e)}var ne=weex.config.env.appVersion;function oe(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:ne;if(t===e)return!0;for(var n=t.split("."),o=e.split("."),r=Math.max(n.length,o.length),i=0;i<r;i++){var a=~~o[i],u=~~n[i];if(a<u)return!0;if(u<a)return!1}return!1}function re(e,t){t=t||weex.config.bundleUrl;var n=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){e=e.split("=");n[e[0]]=e[1]}),e?n[e]:n}function b(e){try{e=JSON.parse(e)}catch(e){}return e}var V={_typeof:te,isDate:function(e){return"[object Date]"===ee.call(e)},isPlainObject:m,deepMerge:function o(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(n){n&&Object.keys(n).forEach(function(e){var t=n[e];m(t)?m(r[e])?r[e]=o(r[e],t):r[e]=o(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:oe,getParamsFromUrl:re,JSONFormat:b},ie=f(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}),ae=(p(ie),f(function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports})),ue=(p(ae),f(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports})),ce=(p(ue),f(function(e){e.exports=function(e,t){var n;if(e)return"string"==typeof e?ue(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports})),le=(p(ce),f(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports})),d=(p(le),p(f(function(e){e.exports=function(e,t){return ie(e)||ae(e,t)||ce(e,t)||le()},e.exports.__esModule=!0,e.exports.default=e.exports})),re(weex.config.bundleUrl,"isDummy")||!1),Q="web"!==weex.config.env.platform.toLowerCase()&&d,y=weex.requireModule("bridgeModule"),se=weex.requireModule("routerModule"),de=weex.requireModule("singleBlueToothModule"),pe=weex.requireModule("blueToothMeshModule"),fe=weex.requireModule("globalEvent"),ge=weex.requireModule("aiSpeechModule"),he=weex.requireModule("nfcModule"),ve=weex.requireModule("configCommonModule"),me=weex.requireModule("clipboard"),w=weex.requireModule("midea-audio"),be=weex.requireModule("picker"),ye=weex.requireModule("router"),we=weex.requireModule("blueToothModule"),Me=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),Se=weex.requireModule("infraredModule");function M(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),y&&y.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function S(e,t){var o=0<arguments.length&&void 0!==e?e:j("params"),e=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===e?"commandInterface":e;return new Promise(function(t,n){console.log("params",o,r),y[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function Oe(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){y.hasOwnProperty(n)?y[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function O(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){we&&we.hasOwnProperty(n)?we[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function P(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;oe("5.9.0")&&(de&&de.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),de[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(e),n(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(o)),e="singleBlueToothModule 缺少 ".concat(o),n({status:-1,message:e})))})}function N(e,t,n,o){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?n:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,n){ye&&ye[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function Pe(n,o){return new Promise(function(t,e){pe&&pe.hasOwnProperty(n)?pe[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function x(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){ge[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)})})}function Ne(e,t,n){fe&&fe[e]?fe[e](t,function(e){n&&n(b(e))}):(t="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:t}))}function D(o,r,i,a){return new Promise(function(t,n){var e;he&&he.hasOwnProperty(o)?he[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function xe(o,r,i,a){return new Promise(function(t,n){var e;ve&&ve.hasOwnProperty(o)?ve[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function j(e){var n=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(n),t(n)}catch(e){console.error(e),t(e)}})}function De(e,o){return new Promise(function(t,n){me&&(o?me[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):me[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function I(e,o){return new Promise(function(t,n){w&&(o?w[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):w[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function T(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;oe("5.9.0")&&(Me&&Me.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),Me[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(b(e)),n(b(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function je(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){Se.hasOwnProperty(n)?Se[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function Ie(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Te=weex.requireModule("modal"),Ae=weex.requireModule("navigator"),ke=weex.requireModule("stream"),k=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),z=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.5.11",isDummy:Q,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,n=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{n?k.toast({message:e,duration:t||1.5,bgStyle:n}):k.toast({message:e,duration:t||1.5})}catch(n){Te.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===X(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}Te.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){Te.confirm({message:e,okTitle:2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",cancelTitle:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消"},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Ae.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||k.killKeyboard()},getUserInfo:function(){return M({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return M({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return M(A({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return M(A({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceAliasName:function(){return M(A({operation:"getDeviceAliasName"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return M(A({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return M(A({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{k.getDevicePluginInfo({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return M(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return M(A(A({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{k.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return M(A({operation:"callTel"},e))},callTelList:function(e){return M({operation:"callTelList",params:e})},setBackHandle:function(){return M({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return M(A({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return M({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return M({operation:"getNetworkStatus"})},shareMsg:function(e){return M({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{k.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){k.getWeexPath(function(e){t(L(e))})})},jumpNativePage:function(){return M(A({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return Oe("backToNative")},getWeexFunctionPath:function(){return M({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return M(A({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){return k.showControlPanelPage(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},checkCurrentNotificationStatus:function(){return M({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return M({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{k.getAuthToken({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return M(A({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return M({operation:"stopRecordAudio"})},takePhoto:function(){return M(A({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return M(A({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return M(A({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return M(A({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return M(A({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return M(A({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return M(A({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return M(A({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return M(A({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"getGPSInfo"},e),t,n)},geoCode:function(){return M(A({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return M(A({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return M({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return M(A({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){k.interfaceForThirdParty.apply(k,arguments)},sendCentralCloudRequest:function(o){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,n){var e;1!=r.isDummy&&((e=i).url=o,a.isShowLoading&&r.showLoading(),k.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),n(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(n,o){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=(e=>{var t,n="";for(t in e)"function"!=typeof e[t]&&(n+="&"+t+"="+encodeURI(e[t]));return n.substring(1)})(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),ke.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),n(t)):("string"==typeof e&&(e=JSON.parse(e)),o(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,n){var e,o;null==r?n("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(o=Object.create(null)).commandId=e,o.messageBody=r,i&&(o.deviceId=i),k.startCmdProcess(JSON.stringify(o),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}n(e)}))})},sendElectronicRequest:function(e){return Oe("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?k.requestDataTransmit(JSON.stringify(e),function(e){t(L(e))},function(e){n(e)}):n("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),M(A(A({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):M(A(A({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var o=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,n){r&&o.showLoading();try{k.getTXList({},function(e){r&&o.hideLoading(),t(L(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFile"},e),t,n)},uploadImgFileToMas:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFileToMas"},e),t,n)},setIdleTimerDisabled:function(){return M({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{k.downLoadDevicePlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{k.getDeviceOnlineStatus(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{k.loadingLatestPlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.method,n=n.headers,r={url:e,method:void 0===o?"POST":o,headers:void 0===n?{"Content-Type":"application/json;charset=utf-8"}:n,data:A({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,n){console.log("params:".concat(JSON.stringify(r,null,4))),k.sendCentralCloundRequest(r,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return k.updateAutoList()}});function L(e){try{e=JSON.parse(e)}catch(e){}return e}function Le(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}c={hideKeyboard:function(){return M({operation:"hideKeyboard",params:{}})},showLoading:function(){return M({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return M({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return M({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return M({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return M({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return M({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return M({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideStatusBar:function(){return M({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getStatusBar:function(){return M({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return M({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideNavigationBar:function(){return M({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showConfirmView:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Le(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},popupGeneralList:function(){return M({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){be&&be[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},likeAnimation:function(){return M({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},dismissFullPage:function(){return M({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllBarHeight:function(){return M({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Ce(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ce(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}l={errorCaptured:function(t){return $(v.mark(function e(){return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var n={name:"zoiew"},o={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),e=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(e),new Promise(function(e,t){e(Be(Be({},n),o))})},canIUse:function(){return M({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()}})},getSystemInfo:function(){return M({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return M({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return M({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addEventListener:function(e,t){return Ne("addEventListener",e,t)},removeEventListener:function(e,t){return Ne("removeEventListener",e,t)},getPluginInfo:function(){return M({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return M({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return M({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return M({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(n,o,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),o&&"function"!=typeof o?(i=o,o=null):r&&"function"!=typeof r&&(i=r,r=null),n=JSON.stringify(n);e=weex.requireModule(i);e&&e.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(),t(e)},function(e){r&&r(),t(e)})})}};function Ee(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Re=weex.requireModule("navigator"),Fe={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=(t=0<(t=weex.config.bundleUrl).indexOf("?")?t.substring(0,t.indexOf("?")):t).split("/").slice(0,-1).join("/");return e?t+"/":t},push:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:j("url"),s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a=Object.create(null),u="";if("string"===te(l)?(a.url=l,a.options=s,a.params=d,a.callback=p):m(l)&&(n=l.url,o=void 0===(o=l.options)?{animated:"true",replace:"false"}:o,r=void 0===(r=l.params)?{}:r,i=void 0===(i=l.callback)?function(){}:i,a.url=n,a.options=o,a.params=r,a.callback=i),a.params)for(var c in a.params)u+=c+"="+encodeURIComponent(a.params[c])+"&";u=a.url.indexOf("?")?a.url+"?"+u.slice(0,-1):a.url+u.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(u)||(u=Fe.getContextPath()+u);try{Re.push(qe({url:u},a.options),p),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof n&&(o=n,n=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{Re.pop(qe({animated:"true",level:1},n),o)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){se&&se.hasOwnProperty(n)&&se[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return M(qe({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},goToPage:function(){return M({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},reload:function(){return M({operation:"reload"})},openURL:function(){return M({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},setMiniAppCache:function(){return N("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return N("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return N("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return N("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return N("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return N("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return M({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},s={getBatteryInfo:function(){return M({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return M({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return M({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return M({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return M({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return M({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return M({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return M({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return M({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return M({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return M({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return M({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return M({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return M({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return M({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},vibrate:function(){return M({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAppInfo:function(){return M({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return M({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return M({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return M({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return M({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return M({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function We(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var d={scanCode:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?We(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},Q={encrypt:function(){return M({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return M({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return M({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return M({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},encodeAES128:function(){return M({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},_e={saveFile:function(){return M({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return M({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return M({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return M({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return M({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return M({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return M({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return M({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return M({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return M({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return M({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return M({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return M({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return M({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return M({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ue={downloadFile:function(){return M({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return M({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return M({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return M({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return M({operation:"resetCookie",params:e})}},Je={getLocation:function(){return M({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return M({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return M({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return M({operation:"getTodaySteps"})}},Ge={getBluetoothStatus:function(){return M({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return M({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return M({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return M({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return M({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return M({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return M({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return M({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return M({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return P("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return P("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return P("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return P("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return P("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return P("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaNotification:function(){return P("sendBlueLuaNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return P("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return P("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return P("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return P("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return P("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return P("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceData:function(){return P("sendSourceData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceDataNotification:function(){return P("sendSourceDataNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},enableGatewayProxy:function(){return P("enableGatewayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disableGateayProxy:function(){return P("disableGateayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceProxyStatus:function(){return P("queryDeviceProxyStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return Pe("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return Pe("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return O("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return O("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return O("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return O("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return P("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return P("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryAuthStatus:function(){return P("queryAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startAuthenticRight:function(){return P("startAuthenticRight",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},He={chooseImage:function(){return M({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return M({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return M({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return M({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return M({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return M({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return M({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return M({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return M({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return M({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return M({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return M({operation:"pauseRecord"})},resumeRecord:function(){return M({operation:"resumeRecord"})},stopRecord:function(){return M({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return M({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return M({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return M({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return M({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return M({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return I("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return I("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){var n,o;n=e,o=t,w&&w.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)})},getDuration:function(){return I("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return I("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return I("pause")},stop:function(){return I("stop")},recordVideo:function(){return M({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return M({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return M({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ve={getWifiList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Qe={startSpeechMonitor:function(){return x("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return x("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return x("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return x("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return x("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},ze=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Ke(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var $e={reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},Xe={checkAndRequestPermission:function(){return M({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return M({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ye={getNfcInfo:function(){return D("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return D("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return D("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return D("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return D("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return D("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return D("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return D("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ze={configDevice:function(){return xe("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return xe("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},changeBleBindToWiFiConfig:function(){return xe("changeBleBindToWiFiConfig",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function et(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nt={getWeatherInfo:function(){return M(tt({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAppWeatherInfo:function(){return M(tt({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}};function ot(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var it={canUseSiriShortcut:function(){return M({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return M({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllSiriShortcuts:function(){return M({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return M({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addInstructToSiriShortcut:function(){return M(rt({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAllSiriInstructShortcuts:function(){return M(rt({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},editSiriInstructShortcut:function(){return M(rt({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}},at={setString:function(){return De("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},getString:function(){return De("getString")}},ut={prepareSpeech:function(){return x("prepareSpeech")},startSpeechToText:function(){return x("startSpeechToText")},startTextToSpeech:function(){return x("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},stopSpeechToText:function(){return x("stopSpeechToText")},stopTextToSpeech:function(){return x("stopTextToSpeech")}},ct={getLoginInfo:function(){return M({operation:"getLoginInfo"})},getUserInfo:function(){return M({operation:"getUserInfo"})},logout:function(){return M({operation:"logout"})},getUnionId:function(){return M({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAuthToken:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return M({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},lt={getHomeInfo:function(){return M({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllHomeInfoList:function(){return M({operation:"getAllHomeInfoList"})},createHome:function(){return M({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateHomeInfo:function(){return M({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteHome:function(){return M({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getHomeMemberList:function(){return M({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},inviteToHome:function(){return M({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getRoomInfo:function(){return M({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllRoomInfoList:function(){return M({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},createRoom:function(){return M({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteRoom:function(){return M({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateRoomInfo:function(){return M({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},refreshHomeInfo:function(){return M({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}};function st(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var dt={pay:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return M({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return T("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return T("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return T("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return T("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return T("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return T("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return T("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return T("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return T("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function pt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ft={luaQuery:function(){return M(C({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return M(C({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return M(C({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return M(C({operation:"getDeviceList"},e))},toConfigDevice:function(e){return D("toConfigDevice",e)},getDeviceConnectInfo:function(e){return D("getDeviceConnectInfo",e)},addDevice:function(e){return D("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return M(C({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return M({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return M({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return M({operation:"getDeviceUUID"})}};function gt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var ht={checkInstalledThirdPlatform:function(e){return M({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return Oe("shareCustomPanel",e)},sharePeerToPeer:function(e){return M({operation:"sharePeerToPeer",params:e})}},vt={cameraMatch:function(){return je("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return je("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},mt={openMiniProgram:function(){return M({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2PerformAction:function(){return M({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryAllProperties:function(){return M({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryProperty:function(){return M({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2SetupProperty:function(){return M({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2BatchQueryProperty:function(){return M({operation:"tslV2BatchQueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},bt={subscribeMessage:function(){return M({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},yt=weex.requireModule("bridgeModule"),wt=weex.requireModule("storage"),Mt=(weex.requireModule("modal"),{});function St(e,t){wt&&wt.getItem(e,t)}function Ot(n,o){var r;void 0!==o&&(r={},St("WEEX_CANIUSE_MAP",function(e){var t;"undefined"!==e.data?(r=JSON.parse(e.data))[n]=o:r[n]=o,e=JSON.stringify(r),"object"==X(e)&&(t=JSON.stringify(e)),wt.setItem("WEEX_CANIUSE_MAP",t||e,function(e){console.log("set success")})}))}function Pt(i,a){return new Promise((n=$(v.mark(function e(t,o){var r;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r={},void 0===Mt[i])?e.next=5:(r=Mt[i],e.next=8);break;case 5:e.next=7;var n={operation:"canIUse",params:{api:i}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),yt&&yt.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})});case 7:r=e.sent;case 8:!0===r.enable||!0===r?(Ot(i,r.enable),t(!0)):(a=a?a:o)({code:-13,msg:i+"接口不支持"});case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}St("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(Mt=JSON.parse(e.data))});var Nt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless","getGpsInfo"];function xt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Dt(e){e.prototype.$bridge=jt}var z=B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B({},z),l),Fe),Ge),s),d),Q),_e),Ue),Je),He),c),Ve),Qe),ze),$e),Xe),Ye),Ze),nt),it),at),ut),ct),lt),dt),ft),ht),vt),mt),bt),jt=new Proxy(z,{get:function(e,i,t){var a=e[i];return"function"==typeof a?$(v.mark(function e(){var t,n,o,r=arguments;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,Nt.includes(i)){e.next=4;break}return e.next=4,Pt(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject({code:-13,msg:i+"接口不支持"}));case 9:for(t=r.length,n=new Array(t),o=0;o<t;o++)n[o]=r[o];return e.abrupt("return",a.apply(this,n));case 11:case"end":return e.stop()}},e,this,[[0,6]])})):a}}),l={install:Dt};e.Bridge=jt,e.Utils=V,e.default=l,e.install=Dt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
668
668
|
//# sourceMappingURL=dolphin-native-bridge.umd.js.map
|
|
669
669
|
|
|
670
670
|
|
|
@@ -19360,6 +19360,18 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
19360
19360
|
//
|
|
19361
19361
|
//
|
|
19362
19362
|
//
|
|
19363
|
+
//
|
|
19364
|
+
//
|
|
19365
|
+
//
|
|
19366
|
+
//
|
|
19367
|
+
//
|
|
19368
|
+
//
|
|
19369
|
+
//
|
|
19370
|
+
//
|
|
19371
|
+
//
|
|
19372
|
+
//
|
|
19373
|
+
//
|
|
19374
|
+
//
|
|
19363
19375
|
|
|
19364
19376
|
var icon = __webpack_require__(3);
|
|
19365
19377
|
var modal = weex.requireModule('modal');
|
|
@@ -19585,6 +19597,21 @@ exports.default = {
|
|
|
19585
19597
|
}
|
|
19586
19598
|
return value;
|
|
19587
19599
|
},
|
|
19600
|
+
dotTipTop: function dotTipTop() {
|
|
19601
|
+
var iconSize = this.iconSize;
|
|
19602
|
+
|
|
19603
|
+
var topClass = '';
|
|
19604
|
+
if (iconSize === 'max') {
|
|
19605
|
+
topClass = 'dotTopMax';
|
|
19606
|
+
} else if (iconSize === 'medium') {
|
|
19607
|
+
topClass = 'dotTopMedium';
|
|
19608
|
+
} else if (iconSize === 'min') {
|
|
19609
|
+
topClass = 'dotTopMin';
|
|
19610
|
+
} else {
|
|
19611
|
+
topClass = 'dotTopBig';
|
|
19612
|
+
}
|
|
19613
|
+
return topClass;
|
|
19614
|
+
},
|
|
19588
19615
|
|
|
19589
19616
|
//处理特殊类型cell高度问题
|
|
19590
19617
|
innerCellHeightComp: function innerCellHeightComp() {
|
|
@@ -26822,7 +26849,8 @@ exports.default = {
|
|
|
26822
26849
|
width: this.width + 'px',
|
|
26823
26850
|
backgroundColor: this.maskBgColor,
|
|
26824
26851
|
height: this.height + 'px',
|
|
26825
|
-
borderRadius: this.borderRadius + 'px'
|
|
26852
|
+
borderRadius: this.borderRadius + 'px',
|
|
26853
|
+
overflow: 'hidden'
|
|
26826
26854
|
// backgroundImage: "../../assets/img/image/activity.png",
|
|
26827
26855
|
// backgroundRepeat: "no-repeat",
|
|
26828
26856
|
};
|
|
@@ -36224,6 +36252,7 @@ exports.default = {
|
|
|
36224
36252
|
};
|
|
36225
36253
|
var p = this.$parent;
|
|
36226
36254
|
var left = (this.value - p.min) / p.scope * p.width + p._trackHeight / 2;
|
|
36255
|
+
if (p.isGradientBar) left = left + 4.5 - this.elWidth / 2;
|
|
36227
36256
|
style.left = left + 'px';
|
|
36228
36257
|
|
|
36229
36258
|
// 防止超出的情况
|
|
@@ -42760,6 +42789,18 @@ module.exports = {
|
|
|
42760
42789
|
"dotRight": {
|
|
42761
42790
|
"right": "32"
|
|
42762
42791
|
},
|
|
42792
|
+
"dotTopMax": {
|
|
42793
|
+
"top": "34"
|
|
42794
|
+
},
|
|
42795
|
+
"dotTopMedium": {
|
|
42796
|
+
"top": "39"
|
|
42797
|
+
},
|
|
42798
|
+
"dotTopBig": {
|
|
42799
|
+
"top": "44"
|
|
42800
|
+
},
|
|
42801
|
+
"dotTopMin": {
|
|
42802
|
+
"top": "54"
|
|
42803
|
+
},
|
|
42763
42804
|
"cell-label-text": {
|
|
42764
42805
|
"fontSize": "30",
|
|
42765
42806
|
"color": "#616c73",
|
|
@@ -44294,7 +44335,7 @@ module.exports = {
|
|
|
44294
44335
|
"whiteSpace": "nowrap",
|
|
44295
44336
|
"fontFamily": "PingFangSC-Regular",
|
|
44296
44337
|
"fontSize": "20",
|
|
44297
|
-
"color": "#
|
|
44338
|
+
"color": "#8e969b",
|
|
44298
44339
|
"fontWeight": "400"
|
|
44299
44340
|
},
|
|
44300
44341
|
"dof-slider-scale--mid": {
|
|
@@ -48375,7 +48416,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
48375
48416
|
}
|
|
48376
48417
|
})])], 2) : _vm._e(), (_vm.hasDot) ? _c('div', {
|
|
48377
48418
|
staticClass: ["dot-tip"],
|
|
48378
|
-
class: [_vm.badgeNum && 'dotRight'],
|
|
48419
|
+
class: [_vm.badgeNum && 'dotRight', _vm.dotTipTop],
|
|
48379
48420
|
style: _vm.badgeStyle
|
|
48380
48421
|
}) : (_vm.badgeNum) ? _c('div', {
|
|
48381
48422
|
staticClass: ["dot-num-tip"],
|
|
@@ -50262,13 +50303,13 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
50262
50303
|
staticClass: ["dof-slider-thin-bar-right"],
|
|
50263
50304
|
style: {
|
|
50264
50305
|
backgroundImage: ("linear-gradient(to right, " + (_vm._gradientBarConfig.mid) + ", " + (_vm._gradientBarConfig.end) + ")"),
|
|
50265
|
-
width: _vm.midWidth + _vm._buttonSize / 2 + 'px'
|
|
50306
|
+
width: _vm.midWidth + _vm._buttonSize / 2 - 1 + 'px'
|
|
50266
50307
|
}
|
|
50267
50308
|
}) : _vm._e(), (!_vm._gradientBarConfig.mid) ? _c('div', {
|
|
50268
50309
|
staticClass: ["dof-slider-thin-bar-left"],
|
|
50269
50310
|
style: {
|
|
50270
50311
|
backgroundImage: ("linear-gradient(to right, " + (_vm._gradientBarConfig.start) + ", " + (_vm._gradientBarConfig.end) + ")"),
|
|
50271
|
-
right:
|
|
50312
|
+
right: 1 + 'px'
|
|
50272
50313
|
}
|
|
50273
50314
|
}) : _vm._e()]) : _vm._e(), (!_vm.isGradientBar) ? _c('div', {
|
|
50274
50315
|
style: _vm.lineStyle
|