!function(){function e(e,t,r,i,n,o,a){try{var c=e[o](a),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(i,n)}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./vendor-legacy--aGazLR_.js","./common-utils-legacy-LO9isciF.js","./common-store-legacy-Kf10cbZm.js"],(function(i,n){"use strict";var o,a,c,s,u,f,d;return{setters:[e=>{o=e.a4,a=e.r},e=>{c=e.q,s=e.F,u=e.U,f=e.a4},e=>{d=e.aV}],execute:function(){i("u",(function(){const i=o(),n=a(!1),y=a(!1),l=e=>{switch(e){case 0:return c()?(s("toActivity"),""):"/activity";case 1:return c()?void s("secondRecharge"):void(y.value=!0);case 2:return"/mine/withdrawMoney";case 3:return"/twoActivity?messageBack=1";case 4:return"/fundDetails";case 5:return c()?void s("secondBetRecords"):void(n.value=!0);case 6:return"/welfareCenter";case 7:return"/affiliate?tab=0&from=/entertainment";case 8:return"/customerService"}},g=e=>{d({id:e.secondConfigId}).then((t=>{let r=t.data;r&&r.data?0===r.config?u(r.data):window.location.href=r.data:i.push({path:"ActivityDetails",query:{id:e.secondConfigId,activityConditionType:e.activityCategory||""}})})).catch((()=>{i.push({path:"ActivityDetails",query:{id:e.secondConfigId,activityConditionType:e.activityCategory||""}})}))},v=function(){var t,r=(t=function*(e){if(0===e.gameLobby)i.push({path:`/thirdgamelist/${e.thirdGameName}/${e.secondConfig}`,query:{from:"/entertainment"}});else try{let t={thirdGameCode:e.secondConfig,gameCode:e.secondConfigId,gameLobby:e.gameLobby,h5RedirectParam:e.h5RedirectParam,isMaintain:e.isMaintain||0};f(t,{gameCode:t.h5RedirectParam})}catch(t){}},function(){var r=this,i=arguments;return new Promise((function(n,o){var a=t.apply(r,i);function c(t){e(a,n,o,c,s,"next",t)}function s(t){e(a,n,o,c,s,"throw",t)}c(void 0)}))});return function(e){return r.apply(this,arguments)}}();return{entryClick:e=>{switch(e.linkType){case 1:c()?s("openWindow",function(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?t(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)):0===e.firstConfigId?u(e.firstConfig):window.location.href=e.firstConfig;break;case 2:{let t=l(1*e.firstConfigId);t&&i.push(t);break}case 3:if(1===e.secondConfigId)return;g(e);break;case 4:v(e);break;case 5:break;default:i.push(l(1*e.firstConfigId))}},showRight:n,showRechargeRight:y}}))}}}))}();
