webpackJsonp([14],{"2KIr":function(e,t){},"4B/U":function(e,t,n){"use strict";function o(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){return e instanceof o(e).Element||e instanceof Element}function i(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,"a",function(){return G}),n.d(t,"b",function(){return Y});var s=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function c(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),c=1,u=1;t&&i(e)&&(c=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var p=(r(e)?o(e):window).visualViewport,l=!!/^((?!chrome|android).)*safari/i.test(f())&&n,d=(a.left+(l&&p?p.offsetLeft:0))/c,m=(a.top+(l&&p?p.offsetTop:0))/u,h=a.width/c,g=a.height/u;return{width:h,height:g,top:m,right:d+h,bottom:m+g,left:d,x:d,y:m}}function u(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){return((r(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return o(e).getComputedStyle(e)}function m(e){var t=d(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function h(e,t,n){void 0===n&&(n=!1);var r,a,f=i(t),d=i(t)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,o=s(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),h=l(t),g=c(e,d,n),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!n)&&(("body"!==p(t)||m(h))&&(v=(r=t)!==o(r)&&i(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:u(r)),i(t)?((b=c(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):h&&(b.x=function(e){return c(l(e)).left+u(e).scrollLeft}(h))),{x:g.left+v.scrollLeft-b.x,y:g.top+v.scrollTop-b.y,width:g.width,height:g.height}}function g(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||l(e)}function v(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(p(t))>=0?t.ownerDocument.body:i(t)&&m(t)?t:e(g(t))}(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),s=o(r),f=a?[s].concat(s.visualViewport||[],m(r)?r:[]):r,c=t.concat(f);return a?c:c.concat(v(g(f)))}function b(e){return["table","td","th"].indexOf(p(e))>=0}function w(e){return i(e)&&"fixed"!==d(e).position?e.offsetParent:null}function y(e){for(var t=o(e),n=w(e);n&&b(n)&&"static"===d(n).position;)n=w(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===d(n).position)?t:n||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&i(e)&&"fixed"===d(e).position)return null;var n=g(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(p(n))<0;){var o=d(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var x="top",O="bottom",j="right",S="left",k="auto",E="start",P="end",D=[].concat([x,O,j,S],[k]).reduce(function(e,t){return e.concat([t,t+"-"+E,t+"-"+P])},[]),A=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function M(e){var t=new Map,n=new Set,o=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(o){if(!n.has(o)){var r=t.get(o);r&&e(r)}}),o.push(r)}(e)}),o}function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o100){console.error(H);break}if(!0!==f.reset){var d=f.orderedModifiers[u],m=d.fn,g=d.options,v=void 0===g?{}:g,b=d.name;"function"==typeof m&&(f=m({state:f,options:v,name:b,instance:l})||f)}else f.reset=!1,u=-1}}else console.error(R)}},update:(i=function(){return new Promise(function(e){l.forceUpdate(),e(f)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})),s}),destroy:function(){m(),p=!0}};if(!J(e,t))return console.error(R),l;function m(){u.forEach(function(e){return e()}),u=[]}return l.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,s=r.resize,f=void 0===s||s,c=o(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,U)}),f&&c.addEventListener("resize",n.update,U),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),f&&c.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=function(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?C(r):null,a=r?T(r):null,s=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2;switch(i){case x:t={x:s,y:n.y-o.height};break;case O:t={x:s,y:n.y+n.height};break;case j:t={x:n.x+n.width,y:f};break;case S:t={x:n.x-o.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case E:t[c]=t[c]-(n[u]/2-o[u]/2);break;case P:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c=d(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some(function(e){return c.indexOf(e)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var u={placement:C(t.placement),variation:T(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,F(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,F(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];i(r)&&p(r)&&(Object.assign(r.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});i(o)&&p(o)&&(Object.assign(o.style,a),Object.keys(r).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]}]});var Y={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=D.reduce(function(e,n){return e[n]=function(e,t,n){var o=C(e),r=[S,x].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[S,j].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}}},"4ml/":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("7+uW"),r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App"},r,!1,function(e){n("fh2C")},null,null).exports,a=n("YaEn"),s=(n("2KIr"),n("NYxO")),f=n("Z4iZ"),c=Object(f.b)().app;console.log(c,"store"),o.a.use(s.a);var u=new s.a.Store({state:{info:{ticket:"123",uid:"678"},isApp:c},mutations:{setInfo:function(e,t){e.info.ticket=t.ticket,e.info.uid=t.uid}},getters:{getInfo:function(e){return e.info},getIsApp:function(e){return e.info}},actions:{getUserInfo:function(e){return e.state}}}),p=n("pFYg"),l=n.n(p);window.info={},window.getMessage=function(e,t){info[e]=t};n("4ml/");var d=n("Fd2+"),m=(n("sVYa"),n("Lw6n")),h=n.n(m),g=n("DVXL"),v=n.n(g);!function(){var e=Object(f.b)();if(e.app)if(window.sessionStorage.clear(),e.ios){var t=document.cookie.match(/\d+/);info.uid=t[0],window.webkit.messageHandlers.getTicket.postMessage(null),window.webkit.messageHandlers.getDeviceId.postMessage(null)}else e.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":l()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket(),info.deviceId=window.androidJsObj.getDeviceId());else info.uid=sessionStorage.getItem("uid")?sessionStorage.getItem("uid"):"",info.ticket=sessionStorage.getItem("ticket")?sessionStorage.getItem("ticket"):""}(),o.a.config.productionTip=!1,"test"===Object(f.a)()&&new h.a,v.a.attach(document.body),v.a.prototype.focus=function(e){var t;e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.focus(),e.setSelectionRange(t,t)):e.focus()},o.a.use(d.c),new o.a({el:"#app",router:a.a,store:u,components:{App:i},template:""})},YaEn:function(e,t,n){"use strict";var o=n("7+uW"),r=n("/ocq");o.a.use(r.a);var i=new r.a({routes:[{path:"/MyIncome",name:"MyIncome",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"kutM"))}},{path:"/CrystalExchangeDiamond",name:"CrystalExchangeDiamond",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"3IW4"))}},{path:"/GoldExchangeDiamond",name:"GoldExchangeDiamond",component:function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"RpvA"))}},{path:"/WithDraw",name:"WithDraw",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"9SZj"))}},{path:"/BindAlipay",name:"BindAlipay",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"b+Mi"))}},{path:"/CrystalLog",name:"CrystalLog",component:function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,"4tis"))}},{path:"/GoldLog",name:"GoldLog",component:function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"b+89"))}},{path:"/DiamondLog",name:"DiamondLog",component:function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,"QAJJ"))},meta:{title:"鉆石記錄"}},{path:"/Login",name:"Login",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"CroZ"))},meta:{title:"登錄"}},{path:"/runningWater",name:"runningWater",component:function(){return n.e(8).then(n.bind(null,"Ok5E"))},meta:{title:"房間流水"}},{path:"/GameWithDrawDesc",name:"GameWithDrawDesc",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"CXh3"))},meta:{title:"領獎說明"}},{path:"/WithDrawInfoBind",name:"WithDrawInfoBind",component:function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"Vj3e"))},meta:{title:"個人信息綁定"}}]});i.beforeEach(function(e,t,n){"Login"===t.name||window.sessionStorage.getItem("ticket")?n():setTimeout(function(){window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),n()},50)}),t.a=i},Z4iZ:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var o=function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"==e.match(/\sQQ/i),app:"pekoApp"==e.match("pekoApp")}},r=function(){if(window.location.href){var e=window.location.href,t=e.match(/api.uat.z/),n=e.match(/120.79.211.243/),o=e.match(/192.168/),r=e.match(/127.0.0.1/),i=e.match(/api.uat/),a=e.match(/beta./);return t||n||o||r||i||a?"test":"live"}}},fh2C:function(e,t){}},["NHnr"]); //# sourceMappingURL=app.f56d535f53d3c277e0fd.js.map