/*BUGME_START*/
const __BUGME_START__ = 1;
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=43)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Connect="RemoteX.connect",e.Disconnect="RemoteX.disconnect",e.PageChanged="RemoteX.pageChanged",e.DataChanged="RemoteX.dataChanged",e.EvaluteScript="RemoteX.evaluteScript",e.RegisterChannel="RemoteX.registerChannel",e.PassByWorker="RemoteX.PassByWorker",e.syncStorage="RemoteX.syncStorage",e.setStorage="RemoteX.setStorage",e.removeStorage="RemoteX.removeStoarge",e.requestWillBeSent="RemoteX.requestWillBeSent",e.requestFinished="RemoteX.requestFinished",e.ExitApp="RemoteX.exitApp"}(t.RemoteXMethods||(t.RemoteXMethods={}))},11:function(e,t){
/*!
Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
var n="~",o="\\x"+("0"+n.charCodeAt(0).toString(16)).slice(-2),r="\\"+o,a=new RegExp(o,"g"),s=new RegExp(r,"g"),i=new RegExp("(?:^|([^\\\\]))"+r),c=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},u=String;function l(e,t,o){return t instanceof Array?function(e,t,n){for(var o=0,r=t.length;o<r;o++)t[o]=l(e,t[o],n);return t}(e,t,o):t instanceof u?t.length?o.hasOwnProperty(t)?o[t]:o[t]=function(e,t){for(var o=0,r=t.length;o<r;e=e[t[o++].replace(s,n)]);return e}(e,t.split(n)):e:t instanceof Object?function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&(t[o]=l(e,t[o],n));return t}(e,t,o):t}var d={stringify:function(e,t,s,i){return d.parser.stringify(e,function(e,t,s){var i,u,l=!1,d=!!t,f=[],h=[e],p=[e],g=[s?n:"[Circular]"],m=e,y=1;return d&&(u="object"==typeof t?function(e,n){return""!==e&&t.indexOf(e)<0?void 0:n}:t),function(e,t){return d&&(t=u.call(this,e,t)),l?(m!==this&&(i=y-c.call(h,this)-1,y-=i,h.splice(y,h.length),f.splice(y-1,f.length),m=this),"object"==typeof t&&t?(c.call(h,t)<0&&h.push(m=t),y=h.length,(i=c.call(p,t))<0?(i=p.push(t)-1,s?(f.push((""+e).replace(a,o)),g[i]=n+f.join(n)):g[i]=g[0]):t=g[i]):"string"==typeof t&&s&&(t=t.replace(o,r).replace(n,o))):l=!0,t}}(e,t,!i),s)},parse:function(e,t){return d.parser.parse(e,function(e){return function(t,a){var s="string"==typeof a;return s&&a.charAt(0)===n?new u(a.slice(1)):(""===t&&(a=l(a,a,{})),s&&(a=a.replace(i,"$1"+n).replace(r,o)),e?e.call(this,t,a):a)}}(t))},parser:JSON};e.exports=d},12:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),r=n(5),a=n(2),s=n(0),i=Function,c=console.log,u=function(){a.getBridge().call("showRemoteDebugPanel",{status:"connecting",text:"远程调试连接中",buttonTitle:"退出"})},l=function(){a.getBridge().call("showRemoteDebugPanel",{status:"connected",text:"远程调试已连接",buttonTitle:"退出"})},d=function(){a.getBridge().call("showRemoteDebugPanel",{status:"disconnected",text:"远程调试已断开",buttonTitle:"退出"})},f={send:function(e){a.getBridge().sendSocketMessage(e)},close:function(){a.getBridge().closeSocket()}};t.SocketConn={socketTask:null,send:function(e){this.socketTask&&this.socketTask.send({data:"string"==typeof e?e:JSON.stringify(e)})},close:function(){this.socketTask&&this.socketTask.close()},open:function(){var e=this,t=a.getStartupParams().channelId;if(t){u();var n=a.getBridge();if(a.checkIOS())n.connectSocket({url:"wss://openchannel.alipay.com/host/"+t}),n.onSocketOpen((function(){e.socketTask=f,e.onopen()})),n.onSocketMessage((function(t){e.onmessage({data:t})})),n.onSocketClose((function(){e.onclose()})),n.connectSocket=function(){n.alert({content:"iOS 真机调试暂不支持 connectSocket JSAPI"})},n.onSocketMessage=n.offSocketMessage=function(){};else{var o=n.connectSocket({url:"wss://openchannel.alipay.com/host/"+t,multiple:!0});o.onOpen((function(){e.socketTask=o,e.onopen()})),o.onMessage((function(t){e.onmessage(t)})),o.onClose((function(){e.onclose()}))}}},onopen:function(){this.send({method:s.RemoteXMethods.Connect,params:{userAgent:a.getUserAgent()}}),l()},onmessage:function(e){try{var t=JSON.parse(e.data.data),n=t.method,a=t.id,u=t.params;if(n===s.RemoteXMethods.Disconnect)this.close();else if(n===s.RemoteXMethods.EvaluteScript){if(u&&u.code)try{var l=new i("var res = "+u.code+"; return res;")();this.send({returnId:a,payload:o.stringify(l)})}catch(e){c("[remoteX worker evaluteScript] ",e)}}else r.ChannelPot.sendToActiveChannel(t)}catch(t){c("RemoteX onSocketMessage error",t,e)}},onclose:function(){this.socketTask=null,d(),a.getBridge().call("alert",{title:"调试中断",button:"退出"},(function(){r.ChannelPot.sendToActiveChannel({method:s.RemoteXMethods.ExitApp})}))}}},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserAgent=function(){return navigator.swuserAgent||navigator.userAgent||""},t.checkIOS=function(){return/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(t.getUserAgent())},t.getAlipayVersion=function(){return(t.getUserAgent().match(/AlipayClient\/(\d+\.\d+\.\d+)/)||[])[1]||""},t.compareVersion=function(e,t){var n=e.split("."),o=t.split(".");if(e===t)return 0;for(var r=0;r<n.length;r++){var a=n[r]-o[r];if(a)return a>0?1:-1}};var o=self.AlipayJSBridge&&self.AlipayJSBridge.call,r=self.fetch;t.callInternalAPI=function(e,t){var n={data:{method:e,param:t},action:"internalAPI"},a=encodeURIComponent(JSON.stringify(n));r?r("https://alipay.kylinBridge/?data="+a,{mode:"no-cors"}).then((function(){})).catch((function(){})):o&&o("internalAPI",{method:e,param:t})},t.getStartupParams=function(){return self.__appxStartupParams||{}},t.getBridge=function(){return self.AFAppX.bridge},t.debug=console.log},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),r=n(44),a=n(2);!function(){var e=function(e,t){return void 0===t?"©undefined":null===t?"©null":t===-1/0?"©- Infinity":t===1/0?"©Infinity":"number"==typeof t&&isNaN(t)?"©NaN":"function"==typeof t?"©function":t},t=Function,n=function(n){try{if(n.fromVConsoleToWorker){var r=n.requestId;if("exec"===n.method){try{new t("requestId","sendBack","var res = "+n.script+";console.log(res);")(r,(function(t){return a.callInternalAPI("tinyDebugConsole",{type:"msgFromWorkerToVConsole",content:o.stringify({requestId:r,returnValue:t},e)})}))}catch(e){console.error(e.name+":"+e.message)}}}}catch(e){}};setTimeout((function(){self.document?self.document.addEventListener("push",(function(e){try{var t=e.data.param;n(JSON.parse(t.content||t.data.content))}catch(e){}})):self.addEventListener&&self.addEventListener("push",(function(e){try{var t=JSON.parse(JSON.parse(e.data.text()).param.data.content);n(t)}catch(e){}}))}),10),["log","info","error","debug","warn"].forEach((function(t){var n="o"+t;console[n]||(console[n]=console[t],console[t]=function(){for(var r,s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];console[n].apply(console,s);try{r=o.stringify(s.map((function(e){return e instanceof Error?e.name+": "+e.message:e})),e)}catch(e){return void console.error(e.name+": "+e.message)}a.callInternalAPI("tinyDebugConsole",{content:r,type:"console_"+t})})}));var s=setInterval((function(){if(self.AFAppX){clearInterval(s);var e=a.getStartupParams();e.isRemoteX&&e.channelId&&r.registerRemoteX()}}),50)}()},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(45),a=n(12),s=n(2),i=n(0);function c(){s.getBridge().call("hideOptionMenuItem",{scope:"single",name:"backToHome"}),(self.document||self).addEventListener("push",(function(e){var t=e.data;if(t&&"function"==typeof t.text)try{t=JSON.parse(t.text())}catch(e){return}if(t&&t.func){var n=t.func,s=t.viewId;if("nbcomponent.canrender"===n||"pageResume"===n)o.ChannelPot.setActiveId(s),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged});else if("beforeDestroy"===n)o.ChannelPot.remove(s);else if("tinyRemoteDebugPanelButtonClick"===n)a.SocketConn.close();else try{r.listenTinyDebug(t)}catch(e){}}})),r.hookGlobalApi()}t.initRemoteX=c,t.registerRemoteX=function(){self.addEventListener&&self.navigator&&(c(),a.SocketConn.open(),self.addEventListener("message",(function(e){if(e&&e.data){var t=e.data;if(t.method===i.RemoteXMethods.RegisterChannel){var n=e.ports[0],r=t.params.viewId+"";o.ChannelPot.set(r,new o.ChannelHandler(n)),o.ChannelPot.setActiveId(r),null===o.ChannelPot._mainViewId&&o.ChannelPot.setMainId(r),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged})}}})))}},45:function(e,t,n){"use strict";var o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(0),s=n(2),i="__APPX_DEVTOOLS_GLOBAL_HOOK__",c="remotex_req_",u=function(e){return"function"==typeof e},l=0;function d(e){if(!e||"object"!=typeof e)return{};var t={};return Object.keys(e).forEach((function(n){t[n]=""+e[n]})),t}function f(e){var t=e.name,n=e.params;/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:c+e.reqId,url:n.url,method:(n.method||"GET").toUpperCase(),body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:d(n.headers)}})}function h(e){var t=e.name,n=e.res,o=e.params;/^clearStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:{}}}):/^removeStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.removeStorage,params:{key:o.key}}):/^setStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.setStorage,params:{key:o.key,value:o.data}}):/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:c+e.reqId,url:o.url,status:n.status,body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:d(n.headers)}})}t.hookGlobalApi=function(){if(!(s.compareVersion(s.getAlipayVersion(),"10.1.75")>=0)){var e=self.AFAppX.bridge;e?["clearStorage","removeStorage","setStorage","httpRequest","request"].forEach((function(t){e[t]&&(e[t]=function(e,t){return function(n){var r=++l,a=o({},n),s=a.success,i=a.fail;f({name:e,params:n,reqId:r}),a.success=function(t){u(s)&&s(t),h({name:e,params:n,res:t,reqId:r})},a.fail=function(t){u(i)&&i(t),h({name:e,params:n,res:t,reqId:r})},t(a)}}(t,e[t]));var n=t+"Sync";e[n]&&(e[n]=function(e,t){return function(n){var o=++l;f({name:e,params:n,reqId:o});var r=t(n);return h({name:e,params:n,res:r,reqId:o}),r}}(n,e[n]))})):self[i]={onApiCallback:h,onApiSyncCallback:h,onApiCall:f}}};var p=/^https?:\/\/hpmweb\.alipay\.com/;function g(e,t){switch(e){case"tinyAppRemoteDebug_network_request":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:t.requestId,url:t.url,method:(t.method||"GET").toUpperCase(),body:t.postBody,headers:d(t.headers)}});break;case"tinyAppRemoteDebug_network_response":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:t.status,body:t.body,headers:d(t.headers)}});break;case"tinyAppRemoteDebug_network_error":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:null}});break;case"tinyAppRemoteDebug_storage":var n={};Object.keys(t.data).forEach((function(e){try{n[e]=JSON.parse(t.data[e]).APDataStorage}catch(e){}})),r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:n}})}}t.listenTinyDebug=function(e){var t=e.func,n=e.param;if(/^tinyAppRemoteDebug_/.test(t))g(t,n);else if("onTinyDebugConsole"===t){if(!n.data)return;var o=n.data,r=o.type,a=o.content;try{a=JSON.parse(a)}catch(e){}g(r,a)}}},5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),r=n(0),a=console.log;t.ChannelPot={_mainViewId:null,_activeViewId:null,_map:{},get:function(e){return this._map[e]||null},set:function(e,t){this._map[e]=t},remove:function(e){delete this._map[e]},setActiveId:function(e){this._activeViewId=e},setMainId:function(e){this._mainViewId=e},sendToMainChannel:function(e){o.SocketConn.send(e)},sendToActiveChannel:function(e){this.get(this._activeViewId)?this.get(this._activeViewId).postMessage(e):a("[remotex] missing active channel",e,this._activeViewId)}};var s=function(){function e(e){var t=this;this._port=e,this._port.onmessage=this.onMessage,Object.defineProperty(e,"onmessage",{get:function(){return t.onMessage},set:function(){}})}return e.prototype.onMessage=function(e){if(e.data){var n=e.data,o=n.method,a=n.params;o===r.RemoteXMethods.PassByWorker&&t.ChannelPot.sendToMainChannel(a)}},e.prototype.postMessage=function(e){this._port.postMessage(e)},e}();t.ChannelHandler=s}});
const __BUGME_END__ = 1;
/*BUGME_END*/if(!self.__appxInited) {
self.__appxInited = 1;


require('./config$');
require('./importScripts$');

var AFAppX = self.AFAppX;
self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page;
self.App = AFAppX.App;
self.my = AFAppX.bridge || AFAppX.abridge;
self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;



function success() {
require('../../app');
require('../../component/authorization-modal/authorization-modal?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/imageSwiper/imageSwiper?hash=7e85fb87e93fec38dd7984afd1ebd4d26bee1b7f');
require('../../component/personCenter/personCenter?hash=7e85fb87e93fec38dd7984afd1ebd4d26bee1b7f');
require('../../component/picNav/picNav?hash=bdd3f1e991de349fe5e272f94e9f35f662fe5be7');
require('../../component/bottom/bottom?hash=7e85fb87e93fec38dd7984afd1ebd4d26bee1b7f');
require('../../component/home-modal/home-modal?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/noMore/noMore?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/picNavServe/picNavServe?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/table/table?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/exchange-coupon-modal/exchange-coupon-modal?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/statusPoint/statusPoint?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/dialog/dialog?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/progressPoint/progressPoint?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/progressImage/progressImage?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../component/authorization-modal-point/authorization-modal-point?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43');
require('../../pages/userCenter/userCenter?hash=889331511cbfdb1b1bb85ca4667c3e0da3abcc00');
require('../../pages/mySpend/mySpend?hash=97ec32de618b78d2054eb38eeaba4edb2a9eaf84');
require('../../pages/memberOfOwn/memberOfOwn?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/memberRules/memberRules?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/integralWater/integralWater?hash=97ec32de618b78d2054eb38eeaba4edb2a9eaf84');
require('../../pages/deliveryService/deliveryService?hash=74f85a0a2c50b03cb6a064e681fd07b198506d53');
require('../../pages/coupons/coupons?hash=97ec32de618b78d2054eb38eeaba4edb2a9eaf84');
require('../../pages/couponDetail/couponDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/couponCodeDetail/couponCodeDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/consumptionDetails/consumptionDetails?hash=013e0bae5e2031babf80e3cee37a66a08ab06a52');
require('../../pages/IntegralMall/IntegralMall?hash=24f587f4a7c18cc655d6b25b935d59d4722f16e3');
require('../../pages/integralMallDetail/integralMallDetail?hash=156a812558d5337e49c1278cd7ee32133bc7d4a8');
require('../../pages/activateCard/activateCardCallback?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/pointList/pointList?hash=eb17aa2f4ba7cc997fe708841f1fe01cde8cc03d');
require('../../pages/pointDetail/pointDetail?hash=d7bedad42ed1e6b4887fbf6bc8af0dfc84d5e21b');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}