PageSourceSearch

https://www.zke.com/js/chunk-079e0449.33f69356.js

js zke.com collected 2026-10-06 13:04:28 UTC 77,437 bytes, 1 lines download raw bytes

1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-079e0449"],{"0575":function(t,e,s){"use strict";s("3805")},"078d":function(t,e,s){},"09b5":function(t,e,s){},1929:function(t,e,s){},"1bb0":function(t,e,s){},"1ef1":function(t,e,s){},"1f38":function(t,e,s){},2718:function(t,e,s){"use strict";s("1bb0")},2744:function(t,e,s){},"29e0":function(t,e,s){},"2d6d":function(t,e,s){"use strict";s("d783")},3805:function(t,e,s){},"3b5d":function(t,e,s){},"3d84":function(t,e,s){},"40d9":function(t,e,s){"use strict";s("6a77")},4379:function(t,e,s){"use strict";s("2744")},4897:function(t,e,s){"use strict";s("6ccf")},"5a14":function(t,e,s){},"5d0c":function(t,e,s){"use strict";s("9053")},"6a77":function(t,e,s){},"6ccf":function(t,e,s){},9053:function(t,e,s){},"9a1b":function(t,e,s){"use strict";s("29e0")},b55a:function(t,e,s){},bf30:function(t,e,s){"use strict";s("078d")},c9ba:function(t,e,s){},cc44:function(t,e,s){},d0b0:function(t,e,s){"use strict";s("cc44")},d76b:function(t,e,s){"use strict";s("c9ba")},d783:function(t,e,s){},d8db7:function(t,e,s){},db26:function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t._self._c;return e("div",["pc"===t.clientType?e("HomePc"):e("HomeH5"),e("HomeDialog")],1)},a=[],n=(s("8e6e"),s("ac6a"),s("456d"),s("bd86"));function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?o(Object(s),!0).forEach((function(e){Object(n["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var c=[{httpUrl:"",imageUrl:"https://d1bv9t3fnouri2.cloudfront.net/1411/upload/d842bd306b9eec1b3e5da465d71d23db.png",imageUrlDay:"https://d1bv9t3fnouri2.cloudfront.net/1411/upload/d842bd306b9eec1b3e5da465d71d23db.png"},{httpUrl:"",imageUrl:"https://d1bv9t3fnouri2.cloudfront.net/1411/upload/6a1a29060b668ea3af76b2c88fca28f7.png",imageUrlDay:"https://d1bv9t3fnouri2.cloudfront.net/1411/upload/6a1a29060b668ea3af76b2c88fca28f7.png"}],l={computed:{clientType:function(){return this.$store.state.baseData.clientType},publicInfo:function(){return this.$store.state.baseData.publicInfo},indexData:function(){return this.$store.state.baseData.indexData||{}},bannerList:function(){var t=this.indexData.cmsAdvertList||[];return t.map((function(t){return r(r({},t),{},{imageUrlDay:t.imageUrlDay||t.imageUrl})}))},appBannerList:function(){return this.indexData.cmsAppAdvertList||[]},noticeInfoList:function(){return this.indexData.noticeInfoList||[]},footerWarmPrompt:function(){return this.indexData.footer_warm_prompt||""},footerWarmPromptV6:function(){return this.indexData.footerWarmPromptv6||""},footerWarmPromptTempNight:function(){return this.indexData.footerWarmPromptTempNight||""},footerWarmPromptStatus:function(){return this.indexData.footerWarmPromptStatus||"0"},internationalTitle:function(){return{title:this.indexData.index_international_title1||"",subTitle:this.indexData.index_international_title2||""}},cmsAppDataList:function(){return this.indexData.cmsAppDataList||[]},styleMap:function(){return this.indexData.styleMap||[]},cmsAppDataListFilter:function(){var t=this.cmsAppDataList,e=this.styleMap[0];if(1===e){if(5===t.length)return t;var s=t.slice(0,4);return t.length>5&&s.push({target:"more"}),s}if(2===e){if(10===t.length)return t;var i=t.slice(0,9);return t.length>10&&i.push({target:"more"}),i}return t},styleMapList:function(){return 1===this.styleMap[0]?[1]:[1,2]}},created:function(){this.getIndexData()},methods:{isV2HomeTemplate:function(){var t=this.publicInfo&&this.publicInfo.switch||{};return["52","62"].indexOf(String(t.index_temp_type))>-1},normalizeBannerList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=t.length||!this.isV2HomeTemplate()?t:c;return e.map((function(t){return r(r({},t),{},{imageUrlDay:t.imageUrlDay||t.imageUrl})}))},getIndexData:function(){var t=this;this.axios({url:this.$store.state.url.common.index_data,method:"post"}).then((function(e){if(e&&null!=e.code&&"0"===String(e.code)){var s=e.data||{},i=s.noticeInfoList,a=void 0===i?[]:i,n=s.cmsAdvertList,o=void 0===n?[]:n,r=s.cmsAppAdvertList,c=void 0===r?[]:r,l=s.footer_warm_prompt,m=void 0===l?"":l,u=s.index_international_title1,h=void 0===u?"":u,d=s.index_international_title2,f=void 0===d?"":d,p=s.footerWarmPromptv6,v=void 0===p?"":p,g=s.footerWarmPromptTempNight,b=void 0===g?"":g,_=s.footerWarmPromptStatus,C=void 0===_?"0":_,x=s.cmsAppDataList,y=void 0===x?[]:x,k=s.styleMap,w=void 0===k?[]:k,D=t.normalizeBannerList(o),T={noticeInfoList:a,cmsAdvertList:D,cmsAppAdvertList:c,footer_warm_prompt:m,index_international_title1:h,index_international_title2:f,footerWarmPromptv6:v,footerWarmPromptTempNight:b,footerWarmPromptStatus:C,cmsAppDataList:y,styleMap:w,indexDataReady:!0};t.$store.commit("SET_INDEX_DATA",T)}else t.$store.commit("SET_INDEX_DATA",{indexDataReady:!0})})).catch((function(){t.$store.commit("SET_INDEX_DATA",{indexDataReady:!0})}))}}},m=(s("8615"),s("768b")),u=(s("5df3"),s("4f7f"),s("75fc")),h=(s("28a5"),s("8ac4")),d=s("95d5"),f={mixins:[h["a"]],computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},footerConfig:function(){return this.$store.state.baseData.footer||{}},headerSymbolList:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol||[]},recommendMarketList:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.recommendMarket?this.publicInfo.market.recommendMarket:this.footerConfig.recommendSymbol?this.footerConfig.recommendSymbol.split(",").filter(
1Boolean):[]},wsSymbolMap:function(){var t=this,e=Object(u["a"])(new Set([].concat(Object(u["a"])(this.headerSymbolList),Object(u["a"])(this.recommendMarketList))));return e.reduce((function(e,s){return t.symbolAll[s]&&(e[s]=t.symbolAll[s]),e}),{})},homeCurrentSymbol:function(){var t=d["T"].get("sSymbolName");if(t&&this.symbolAll[t])return t;var e=Object.keys(this.wsSymbolMap||{}),s=Object(m["a"])(e,1),i=s[0];return i||""},headerKlineSymbols:function(){var t=this;return this.headerSymbolList.reduce((function(e,s){var i=t.symbolAll[s];return i&&i.symbol&&(e[s]=i.symbol.toLowerCase()),e}),{})}},watch:{market:function(t){t&&t.wsUrl&&this.createWs()},myWebSocket:function(t){t&&(this.sendHomeReview(),this.subscribeHomeMarket(),this.subscribeHomeKline())},wsSymbolMap:function(t,e){this.myWebSocket&&e&&Object.keys(e).length&&this.webSocketSend("Market","unsub",this.homeCurrentSymbol,e),this.myWebSocket&&t&&Object.keys(t).length&&this.webSocketSend("Market","sub",this.homeCurrentSymbol,t)},headerKlineSymbols:function(t,e){this.myWebSocket&&e&&Object.keys(e).length&&this.unsubscribeHomeKline(e),this.myWebSocket&&t&&Object.keys(t).length&&this.subscribeHomeKline(t)}},mounted:function(){this.market&&this.market.wsUrl&&this.createWs(),this.myWebSocket&&(this.sendHomeReview(),this.subscribeHomeMarket(),this.subscribeHomeKline())},methods:{onmessageWorker:function(t){var e=t.data;"WEBSOCKET_DATA"===e.type&&"MARKET_DATA"===e.data.type&&this.$bus.$emit("HOME_MARKET_DATA",e.data.WsData),"WEBSOCKET_DATA"===e.type&&"KLINE_DATA_REQ"===e.data.type&&this.$bus.$emit("HOME_KLINE_DATA_REQ",e.data.WsData),"WEBSOCKET_DATA"===e.type&&"KLINE_DATA_SUB"===e.data.type&&this.$bus.$emit("HOME_KLINE_DATA_SUB",e.data.WsData)},sendHomeReview:function(){this.homeCurrentSymbol&&this.symbolAll&&Object.keys(this.symbolAll).length&&this.webSocketSend("Review",null,this.homeCurrentSymbol,this.symbolAll)},subscribeHomeMarket:function(){this.wsSymbolMap&&Object.keys(this.wsSymbolMap).length&&this.webSocketSend("Market","sub",this.homeCurrentSymbol,this.wsSymbolMap)},sendHomeKline:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.headerKlineSymbols;this.worker&&s&&Object.keys(s).length&&Object.values(s).forEach((function(s){e.worker.postMessage({type:"WEBSOCKET_KLINE_SEND",data:{type:t,symbol:s,lastTimeS:"1min",number:30}})}))},subscribeHomeKline:function(t){this.sendHomeKline("req",t),this.sendHomeKline("sub",t)},unsubscribeHomeKline:function(t){this.sendHomeKline("unsub",t)}}},p=(s("7f7f"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"home-pc-wrap",class:[t.homeTemplate?"home-pc-".concat(t.homeTemplate):"home-pc-loading",{"home-pc-pending":!t.homeDataReady}]},[t.homeDataReady?t._l(t.currentLayout,(function(s){return e(s.name,{key:s.name,tag:"component",attrs:{homeTemplate:t.homeTemplate}},["Swiper"===s.name&&"v1"===t.homeTemplate&&t.hasHeaderSymbol?e("Recommend"):t._e()],1)})):e("div",{staticClass:"home-pc-skeleton"}),e("c-floatLayer",{attrs:{type:"1"}})],2)}),v=[],g=(s("b54a"),function(){var t=this,e=t._self._c;return e("section",{staticClass:"home-banner",class:{"v501-swiper-base":"v1"===t.homeTemplate||"v4"===t.homeTemplate,"v503-swiper-base":"v3"===t.homeTemplate}},[e("div",{staticClass:"banner",style:t.bannerBgStyle},[e("div",{staticClass:"banner-info"},[t.backgroundInfo&&t.backgroundInfo.title?e("h1",{staticClass:"title",attrs:{id:"title"}},[t._v(t._s(t.backgroundInfo.title))]):t._e(),t.backgroundInfo&&t.backgroundInfo.subTitle?e("div",{staticClass:"subTitle",attrs:{id:"subTitle"}},[t._v(t._s(t.backgroundInfo.subTitle))]):t._e(),t.backgroundInfo&&t.backgroundInfo.button?e("c-button",{attrs:{width:"220px",height:"44px",marginTop:"32px",paddingW:"0",fontSize:"16px"},on:{click:function(e){return t.goLink(t.backgroundInfo.link)}}},[t._v("\n        "+t._s(t.backgroundInfo.button)+"\n      ")]):t._e(),t.$slots.default?e("div",{staticClass:"symbol"},[t._t("default")],2):t._e()],1)])])}),b=[];s("c5f6");function _(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function C(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};
1e%2?_(Object(s),!0).forEach((function(e){Object(n["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):_(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var x="https://d1bv9t3fnouri2.cloudfront.net/1411/upload/43c276391e6aef371c99369bcfd35458.png",y={props:{homeTemplate:{type:String,default:""}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},userInfoIsReady:function(){return this.$store.state.baseData.userInfoIsReady},advertList:function(){var t=this.$store.state.baseData.indexData||{};return t.cmsAdvertList||[]},backgroundInfo:function(){var t=this.$store.state.baseData.publicInfo||{};if(!this.userInfoIsReady)return t.pcBackgroundIsBeforeLogin||{};var e=this.$store.state.baseData,s=e.isLogin,i=e.userInfo;if(s){var a=t.pcBackgroundIsAfterLogin||{},n=Number((t.switch||{}).verifyRealName);return 1===n&&i&&1!==i.authLevel?C(C({},a),{},{title:this.$t("guide.text50"),subTitle:this.$t("guide.text51"),button:this.$t("guide.text52"),link:"/personal/verification"}):a}return t.pcBackgroundIsBeforeLogin||{}},headerSymbolList:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol?this.publicInfo.market.headerSymbol:[]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")},bannerBgStyle:function(){if(!this.backgroundInfo)return null;var t=this.backgroundInfo.imageUrl,e=this.backgroundInfo.nightImageUrl,s=this.isDarkTheme&&e||t;return s||"v3"===this.homeTemplate?s?{backgroundImage:"url(".concat(s,")")}:{}:{backgroundImage:"url(".concat(x,")")}}},methods:{goLink:function(t){t&&(window.location.href=t)}}},k=(s("1ef1"),{mixins:[y]}),w=k,D=s("2877"),T=Object(D["a"])(w,g,b,!1,null,null,null),I=T.exports,S=function(){var t=this,e=t._self._c;return t.advertList&&t.advertList.length?e("div",{staticClass:"swiper-wrap",attrs:{dir:"ltr"}},[e("c-swiper",{attrs:{slideList:t.advertList,height:"140px",sliderPerView:4,sliderPerGroup:4,spaceBetween:13,loop:!1,autoplay:!1,pagination:!1,slideButton:t.advertList.length>4}},[t._l(t.advertList,(function(s,i){return e("c-swiper-item",{key:i,attrs:{width:"290px",height:"140px"}},[e("a",{staticClass:"slide-item",attrs:{href:s.httpUrl}},[e("img",{attrs:{src:t.isDarkTheme?s.imageUrl:s.imageUrlDay||s.imageUrl,alt:s.title||""}})])])})),e("div",{staticClass:"cursor-pointer",attrs:{slot:"prev-button"},slot:"prev-button"},[e("svg",{attrs:{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},domProps:{innerHTML:t._s(t.getIconPathV2("trade_swiper_arrow_left","main-1-cl"))}})]),e("div",{staticClass:"cursor-pointer",attrs:{slot:"next-button"},slot:"next-button"},[e("svg",{attrs:{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},domProps:{innerHTML:t._s(t.getIconPathV2("trade_swiper_arrow_right","main-1-cl"))}})])],2)],1):t._e()},L=[],O={computed:{advertList:function(){var t=this.$store.state.baseData.indexData||{};return t.cmsAdvertList||[]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")}},methods:{getIconPathV2:d["I"]}},M=(s("09b5"),{mixins:[O]}),$=M,A=Object(D["a"])($,S,L,!1,null,null,null),P=A.exports,j=function(){var t=this,e=t._self._c;return e("div",{staticClass:"v501-recommend home-recommend"},[e("div",{staticClass:"recommend-list",on:{mouseenter:t.pauseScroll,mouseleave:t.resumeScroll}},[e("div",{staticClass:"recommend-list_group",style:{transform:t.listTransform,transition:t.listTransition}},t._l(t.symbolRows,(function(s,i){return e("div",{key:i,staticClass:"recommend-row"},t._l(s,(function(s){return e("div",{key:s.symbol,staticClass:"recommend-item",on:{click:function(e){return t.goTrade(s.symbol)}}},[e("div",{staticClass:"symbol-detail"},[e("span",{staticClass:"symbol-name"},[t._v(t._s(s.showName||s.symbol))]),e("span",{staticClass:"symbol-change",class:s.roseClass},[t._v(t._s(t.formatPercent(s.rose)))])]),e("div",{staticClass:"symbol-price",class:s.roseClass},[t._v(t._s(s.close))]),s.otcPrice?e("div",{staticClass:"symbol-otcPrice"},[t._v("≈ "+t._s(s.otcPrice))]):t._e()])})),0)})),0)])])},H=[],N=(s("a481"),s("ee1d"),s("7618"));function R(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function E(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};
1e%2?R(Object(s),!0).forEach((function(e){Object(n["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):R(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var B=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.close&&"object"===Object(N["a"])(t.close)?t.close:null,s=t.rose&&"object"===Object(N["a"])(t.rose)?t.rose:null,i=e?e.price:t.otcPrice;return E(E({},t),{},{close:e?e.data:t.close,otcPrice:null==i||""===i?"--":i,rose:s?s.data:t.rose,roseClass:s?s.class:t.roseClass,roseBgClass:s?s.bgClass:t.roseBgClass,volume:t.amount||t.volume,klineData:t.klineData||{}})},K=function(t){if(null==t||"--"===t)return"--";if("string"===typeof t&&t.indexOf("%")>-1)return t;var e=Number(t);return Number.isNaN(e)?"--":"".concat(e>=0?"+":"").concat((100*e).toFixed(2),"%")},U={data:function(){return{homeMarketData:{},activeRow:0,scrollTimer:null,transitionDisabled:!1}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},headerSymbolConfig:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol||[]},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},visibleSymbols:function(){var t=this;return this.headerSymbolConfig.length?this.headerSymbolConfig.map((function(e){var s=t.getMarketData(e),i=t.symbolAll[e]||{};return{symbol:e,showName:i.showName||e,close:s.close||"--",rose:s.rose,roseClass:s.roseClass||t.getRoseClass(s.rose),otcPrice:s.otcPrice||"--",klineData:s.klineData||{}}})):[]},symbolRows:function(){for(var t=[],e=0;e<this.visibleSymbols.length;e+=5)t.push(this.visibleSymbols.slice(e,e+5));return t.length>1&&t.push(t[0]),t},rowCount:function(){return this.visibleSymbols.length>5?Math.ceil(this.visibleSymbols.length/5):1},listTransform:function(){return"translate3d(0, -".concat(76*this.activeRow,"px, 0)")},listTransition:function(){return this.transitionDisabled?"none":"all 0.3s"}},watch:{rowCount:function(t){if(t>1)return this.activeRow>=t&&(this.activeRow=0),void this.startScroll();this.stopScroll(),this.activeRow=0}},mounted:function(){this.$bus.$on("HOME_MARKET_DATA",this.setHomeMarketData),this.rowCount>1&&this.startScroll()},beforeDestroy:function(){this.$bus.$off("HOME_MARKET_DATA",this.setHomeMarketData),this.stopScroll()},methods:{setHomeMarketData:function(t){this.homeMarketData=t||{}},getMarketData:function(t){if(this.homeMarketData&&this.homeMarketData[t])return B(this.homeMarketData[t]);if(this.market&&this.market.market)for(var e=0,s=Object.values(this.market.market);e<s.length;e++){var i=s[e];if(i[t])return B(i[t])}return this.symbolAll[t]||{}},formatPercent:function(t){return K(t)},getRoseClass:function(t){return null==t||"--"===t?"":"string"===typeof t&&0===t.indexOf("-")?"main-down-cl":Number(t)>=0?"main-up-cl":"main-down-cl"},goTrade:function(t){d["T"].set("sSymbolName",t),d["T"].set("markTitle",t.split("/")[1]||"");var e=this.symbolAll[t]||{},s=(e.showName||t).replace("/","_"),i=this.publicInfo&&this.publicInfo.switch&&this.publicInfo.switch.marketJumpType||"0",a="1"===i?"proTrade":"trade";window.location.href="/".concat(a,"/").concat(s)},startScroll:function(){var t=this;this.scrollTimer||this.rowCount<=1||(this.scrollTimer=setInterval((function(){t.activeRow+=1,t.activeRow>=t.rowCount&&setTimeout((function(){t.transitionDisabled=!0,t.activeRow=0,t.$nextTick((function(){setTimeout((function(){t.transitionDisabled=!1}),50)}))}),300)}),5300))},stopScroll:function(){this.scrollTimer&&(clearInterval(this.scrollTimer),this.scrollTimer=null)},pauseScroll:function(){this.stopScroll()},resumeScroll:function(){this.rowCount>1&&this.startScroll()}}},W=(s("3b5d"),{mixins:[U]}),V=W,q=Object(D["a"])(V,j,H,!1,null,null,null),z=q.exports,F=function(){var t=this,e=t._self._c;return e("section",{staticClass:"swipers home-banner-v2 home-v2-banner",attrs:{id:"swipers"}},[e("c-swiper",{staticClass:"carousel-wrap",attrs:{slideList:t.advertList,slideButton:!1,spaceBetween:0,effect:"fade"}},t._l(t.advertList,(function(s,i){return e("c-swiper-item",{key:i},[e("div",{staticClass:"banner-item",style:{backgroundImage:"url(".concat(t.getSlideImg(s),")")},on:{click:function(e){return t.goLink(s.httpUrl)}}})])})),1)],1)},Q=[],G={data:function(){return{}},computed:{advertList:function(){return(this.$store.state.baseData.indexData||{}).cmsAdvertList||[]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")}},methods:{getSlideImg:function(t){return this.isDarkTheme?t.imageUrl||t.imageUrlDay:t.imageUrlDay||t.imageUrl},goLink:function(t){t&&(window.location.href=t)}}},J=(s("1929"),{mixins:[G]}),Z=J,X=Object(D["a"])(Z,F,Q,!1,null,null,null),Y=X.exports,tt=function(){var t=this,e=t._self._c;
1return e("section",{staticClass:"v503-swiper-base",class:{"is-paused":t.v3Paused},style:t.v3BannerBgStyle,on:{mouseenter:t.pauseV3Swiper,mouseleave:t.resumeV3Swiper}},[e("h1",{staticClass:"title",attrs:{id:"title"}},[t._v("\n    "+t._s(t.backgroundInfo&&t.backgroundInfo.title||"")+"\n  ")]),e("div",{staticClass:"text",attrs:{id:"subTitle"}},[t._v("\n    "+t._s(t.backgroundInfo&&t.backgroundInfo.subTitle||"")+"\n  ")]),t.advertGroups.length?e("div",{staticClass:"imgBox"},[t._l(t.advertGroups,(function(s,i){return e("ul",{directives:[{name:"show",rawName:"v-show",value:t.activePage===i,expression:"activePage === groupIndex"}],key:i,staticClass:"img-ul clearfix"},t._l(s,(function(s){return e("li",{key:s.id||s.imageUrl,staticClass:"main-1-bd",on:{click:function(e){return t.goAdvert(s)}}},[e("img",{attrs:{src:t.getAdvertImage(s),alt:""}})])})),0)})),t.advertGroups.length>1?e("div",{staticClass:"sNav"},[e("ul",{staticClass:"img-pages clearfix"},t._l(t.advertGroups,(function(s,i){return e("li",{key:i,class:{active:t.activePage===i},on:{click:function(e){return t.setActivePage(i)}}},[t.activePage===i?e("span",{key:"".concat(i,"-").concat(t.v3ProgressKey),staticClass:"pageBar"}):t._e()])})),0)]):t._e()],2):t._e()])},et=[];function st(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function it(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?st(Object(s),!0).forEach((function(e){Object(n["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):st(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var at={mixins:[y],data:function(){return{activePage:0,v3Timer:null,v3Paused:!1,v3Remaining:1e4,v3StartedAt:0,v3ProgressKey:0}},computed:{advertGroups:function(){var t=[];return this.advertList.forEach((function(e,s){var i=Math.floor(s/4);t[i]||(t[i]=[]),t[i].push(e)})),t},v3BannerBgStyle:function(){var t=this.bannerBgStyle||{};return t.backgroundImage||(t.backgroundImage='url("https://d1bv9t3fnouri2.cloudfront.net/1411/upload/09851fda425794688e508d844e38a494.png")'),it(it({},t),{},{backgroundSize:"2560px 580px"})}},watch:{advertGroups:function(){this.activePage=0,this.resetV3Swiper()}},mounted:function(){this.resetV3Swiper()},beforeDestroy:function(){this.stopV3Swiper()},methods:{resetV3Swiper:function(){this.stopV3Swiper(),this.v3Remaining=1e4,this.v3ProgressKey+=1,this.startV3Swiper()},startV3Swiper:function(){var t=this;this.v3Timer||this.v3Paused||this.advertGroups.length<=1||(this.v3StartedAt=Date.now(),this.v3Timer=setTimeout((function(){t.v3Timer=null,t.activePage=(t.activePage+1)%t.advertGroups.length,t.v3Remaining=1e4,t.v3ProgressKey+=1,t.startV3Swiper()}),this.v3Remaining))},stopV3Swiper:function(){this.v3Timer&&(clearTimeout(this.v3Timer),this.v3Timer=null)},pauseV3Swiper:function(){this.v3Paused||(this.v3Timer&&(this.v3Remaining=Math.max(0,this.v3Remaining-(Date.now()-this.v3StartedAt))),this.v3Paused=!0,this.stopV3Swiper())},resumeV3Swiper:function(){this.v3Paused&&(this.v3Paused=!1,this.startV3Swiper())},setActivePage:function(t){this.activePage=t,this.resetV3Swiper()},getAdvertImage:function(t){return t?this.isDarkTheme?t.imageUrl:t.imageUrlDay||t.imageUrl:""},goAdvert:function(t){t&&t.httpUrl&&(window.location.href=t.httpUrl)}}},nt=(s("3d84"),{mixins:[at]}),ot=nt,rt=Object(D["a"])(ot,tt,et,!1,null,null,null),ct=rt.exports,lt=function(){var t=this,e=t._self._c;return t.advertList.length?e("section",{staticClass:"v501-swiper-base2 v1-swiper-min"},[e("div",{staticClass:"swiper-wrap",attrs:{dir:"ltr"}},[t.advertList.length>4?e("div",{staticClass:"prev-btn main-4-bg",class:{"not-allow":!t.canPrev},on:{click:t.prev}},[e("span",{staticClass:"before main-1-bg"}),e("span",{staticClass:"after main-1-bg"}),e("span",{staticClass:"btn-bg main-1-bg"})]):t._e(),e("div",{staticClass:"slide-wrap"},[e("ul",{staticClass:"slide-list",style:{transform:t.slideTransform}},t._l(t.advertList,(function(s,i){return e("li",{key:i,staticClass:"slide-item"},[e("a",{attrs:{href:s.httpUrl||"javascript:void(0)"}},[e("img",{attrs:{src:t.getImgUrl(s),alt:s.title||""}})]),e("a",{staticClass:"layout",attrs:{href:s.httpUrl||"javascript:void(0)"}})])})),0)]),t.advertList.length>4?e("div",{staticClass:"next-btn main-4-bg",class:{"not-allow":!t.canNext},on:{click:t.next}},[e("span",{staticClass:"before main-1-bg"}),e("span",{staticClass:"after main-1-bg"}),e("span",{staticClass:"btn-bg main-1-bg"})]):t._e()])]):t._e()},mt=[],ut={data:function(){return{slideIndex:0}},computed:{advertList:function(){return(this.$store.state.baseData.indexData||{}).cmsAdvertList||[]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")},pageCount:function(){return Math.ceil(this.advertList.length/4)},canPrev:function(){return this.slideIndex>0},canNext:function(){return this.slideIndex<this.pageCount-1},slideTransform:function(){return"translate3d(-".concat(1212*this.slideIndex,"px, 0, 0)")}},methods:{getImgUrl:function(t){return this.isDarkTheme?t.imageUrl||t.imageUrlDay:t.imageUrlDay||t.imageUrl},prev:function(){this.canPrev&&(this.slideIndex-=1)},next:function(){this.canNext&&(this.slideIndex+=1)}}},ht=(s("d8db7"),{mixins:[ut]}),dt=ht,ft=Object(D["a"])(dt,lt,mt,!1,null,"133f54f7",null),pt=ft.exp
1orts,vt=function(){var t=this,e=t._self._c;return e("section",{staticClass:"inter-recommend inter-recommend-international v-8-bg"},[e("ul",{staticClass:"recommend-ul clearfix recommend-wrap ulCenter",class:{"is-marquee":t.enableMarquee},style:t.marqueeStyle},t._l(t.marqueeSymbols,(function(s,i){return e("li",{key:"".concat(s,"-").concat(i),staticClass:"recommend-even recommend-content",on:{click:function(e){return t.goTrade(s)}}},[e("div",{staticClass:"fill-6-bd content-wrap"},[e("div",{staticClass:"bl fill-6-bg"}),e("div",{staticClass:"symbol text-1-cl"},[e("span",[t._v(t._s(t.getSymbolShowName(s)))]),e("span",{staticClass:"percentage-wrap"},[e("i",{staticClass:"ltr-lock rose percentage",class:t.getRoseClass(s)},[t._v(t._s(t.getRose(s)))])]),t.getCoinLabel(s)?e("div",{staticClass:"coin-label main-1-cl main-4-bg"},[e("span",{staticClass:"coin-text"},[t._v(t._s(t.getCoinLabel(s)))])]):t._e()]),e("div",{staticClass:"price text-1-cl recommendPrice"},[t._v(t._s(t.getClose(s)))]),e("div",{staticClass:"volume recommendTime text-2-cl"},[t._v("24H Vol "+t._s(t.getVolume(s)))]),e("div",{staticClass:"kline"},[t.hasKlineData(s)?e("c-echart",{staticClass:"recommend-kline-chart",attrs:{id:"inter-recommend-kline-".concat(s.replace("/","_"),"-").concat(i),propData:t.getKlineData(s)}}):t._e()],1),e("div",{staticClass:"vr-line fill-6-bg"})])])})),0)])},gt=[],bt=(s("7514"),{data:function(){return{homeMarketData:{},homeKlineData:{},recommendWidth:0}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},headerSymbolConfig:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol||[]},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},enableMarquee:function(){return this.recommendWidth>0&&368*this.headerSymbolConfig.length>this.recommendWidth},marqueeSymbols:function(){return this.enableMarquee?this.headerSymbolConfig.concat(this.headerSymbolConfig):this.headerSymbolConfig},marqueeDuration:function(){return"".concat(Math.max(6*this.headerSymbolConfig.length,36),"s")},marqueeStyle:function(){return this.enableMarquee?{animationDuration:this.marqueeDuration}:{}}},mounted:function(){var t=this;this.$bus.$on("HOME_MARKET_DATA",this.setHomeMarketData),this.$bus.$on("HOME_KLINE_DATA_REQ",this.setHomeKlineReqData),this.$bus.$on("HOME_KLINE_DATA_SUB",this.setHomeKlineSubData),this.setRecommendWidth(),this._recommendResizeHandler=function(){return t.setRecommendWidth()},window.addEventListener("resize",this._recommendResizeHandler)},beforeDestroy:function(){this.$bus.$off("HOME_MARKET_DATA",this.setHomeMarketData),this.$bus.$off("HOME_KLINE_DATA_REQ",this.setHomeKlineReqData),this.$bus.$off("HOME_KLINE_DATA_SUB",this.setHomeKlineSubData),this._recommendResizeHandler&&window.removeEventListener("resize",this._recommendResizeHandler)},methods:{setRecommendWidth:function(){var t=this;this.$nextTick((function(){t.recommendWidth=t.$el?t.$el.clientWidth:0}))},setHomeMarketData:function(t){this.homeMarketData=t||{}},getChannelSymbol:function(t){var e=this.symbolAll[t]||{};return(e.symbol||t.replace("/","")).toLowerCase()},getSymbolByChannel:function(t){var e=this,s=t.split("_"),i=Object(m["a"])(s,2),a=i[1];return this.headerSymbolConfig.find((function(t){return e.getChannelSymbol(t)===a}))},getKlineCloseList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map((function(t){return t&&null!=t.close?Number(t.close):null})).filter((function(t){return!Number.isNaN(t)&&null!=t})).slice(-30)},setHomeKlineReqData:function(t){if(t&&t.channel&&t.data){var e=this.getSymbolByChannel(t.channel);e&&this.$set(this.homeKlineData,e,this.getKlineCloseList(t.data))}},setHomeKlineSubData:function(t){if(t&&t.channel&&t.tick){var e=this.getSymbolByChannel(t.channel);if(e){var s=Number(t.tick.close);if(!Number.isNaN(s)){var i=(this.homeKlineData[e]||[]).slice(-29);i.push(s),this.$set(this.homeKlineData,e,i)}}}},getMarketData:function(t){if(this.homeMarketData&&this.homeMarketData[t])return B(this.homeMarketData[t]);if(!this.market||!this.market.market)return{};for(var e=0,s=Object.values(this.market.market);e<s.length;e++){var i=s[e];if(i[t])return B(i[t])}return this.symbolAll[t]||{}},getSymbolShowName:function(t){var e=this.symbolAll[t];return e&&e.showName||t},getClose:function(t){var e=this.getMarketData(t),s=e.close;return s?Object(d["db"])(s):"--"},getRose:function(t){var e=this.getMarketData(t).rose;return K(e)},getRoseClass:function(t){var e=this.getMarketData(t),s=e.rose,i=e.roseClass;if(i)return i;if(null==s)return"";var a=Number(String(s).replace("%",""));return Number.isNaN(a)?"":a>=0?"rise-1-cl":"fall-1-cl"},getVolume:function(t){var e=this.getMarketData(t);return e.volume?Object(d["db"])(e.volume):"--"},getKlineData:function(t){var e=this.homeKlineData[t]||this.getMarketData(t).klineData||[];return this.getKlineOption(t,e)},hasKlineData:function(t){var e=this.homeKlineData[t]||this.getMarketData(t).klineData||[];return Array.isArray(e)&&e.length>1},getKlineColor:function(t){var e=this.getRoseClass(t),s=window.colorMap||{};return e.indexOf("rise")>-1||e.indexOf("up")>-1?s["rise-1-cl"]||s["main-up-cl"]||"#00b595":e.indexOf("fall")>-1||e.indexOf("down")>-1?s["fall-1-cl"]||s["main-down-cl"]||"#d1425e":"#24a0f5"},getKlineOption:function(t,e){var s=Array.isArray(e)?e:[];return{animation:!1,grid:{left:-10,bottom:0,top:0,right:-10},xAxis:{show:!1,type:"category",min:"dataMin",max:"dataMax"},yAxis:{show:!1,type:"value",min:"dataMin",max:"dataMax"}
1,series:[{data:s,type:"line",symbol:"none",lineStyle:{normal:{color:this.getKlineColor(t),width:2}}}]}},getCoinLabel:function(t){var e=this.symbolAll[t]||{};return e.coinTag||e.label||""},goTrade:function(t){d["T"].set("sSymbolName",t),d["T"].set("markTitle",t.split("/")[1]||"");var e=this.symbolAll[t],s=e&&e.showName?e.showName.replace("/","_"):t.replace("/","_"),i=this.publicInfo&&this.publicInfo.switch&&this.publicInfo.switch.marketJumpType||"0",a="1"===i?"proTrade":"trade";window.location.href="/".concat(a,"/").concat(s)}}}),_t=(s("b55a"),{mixins:[bt]}),Ct=_t,xt=Object(D["a"])(Ct,vt,gt,!1,null,"35400010",null),yt=xt.exports,kt=function(){var t=this,e=t._self._c;return e("section",{staticClass:"v5-noticeInfo"},[e("div",{staticClass:"noticeInfo-wrap"},[e("span",{staticClass:"noticeInfo-icon main-5-cl main-4-bg"},[t._v("News")]),e("div",{staticClass:"noticeInfo-list_view",on:{mouseenter:t.pauseScroll,mouseleave:t.resumeScroll}},[e("ul",{staticClass:"noticeInfo-list",style:t.listStyle},t._l(t.displayList,(function(s,i){return e("li",{key:i,staticClass:"noticeInfo-item"},[2===s.contentType?e("a",{staticClass:"text-1-cl main-5-f-h",attrs:{href:s.content,target:"_blank",rel:"noreferrer"}},[t._v(t._s(s.noticeText))]):e("a",{staticClass:"text-1-cl main-5-f-h",attrs:{href:"/noticeInfo/".concat(t.encodeTitle(s.title),"-").concat(s.id)}},[t._v(t._s(s.noticeText))])])})),0)]),e("div",{staticClass:"noticeInfo-more"},[e("a",{staticClass:"main-5-cl main-2-f-h",attrs:{href:"/noticeInfo"}},[t._v(t._s(t.$t("home.more")))])])])])},wt=[],Dt={data:function(){return{activeIndex:0,scrollTimer:null,transitionDisabled:!1}},computed:{noticeList:function(){var t=this.$store.state.baseData.indexData||{};return(t.noticeInfoList||[]).map((function(t){return{id:t.id,title:t.title||"",noticeText:t.noticeText||t.title||"",content:t.content||"",contentType:t.contentType||1}}))},displayList:function(){return this.noticeList.length?[].concat(Object(u["a"])(this.noticeList),[this.noticeList[0]]):[]},listStyle:function(){return{transform:"translateY(-".concat(20*this.activeIndex,"px)"),transition:this.transitionDisabled?"none":"all 0.3s"}},autoplay:function(){var t=this.$store.state.baseData.publicInfo;return t&&t.switch&&"0"!==t.switch.notice_autoplay}},watch:{noticeList:{immediate:!0,handler:function(t){this.activeIndex=0,this.clearTimer(),this.autoplay&&t.length>1&&this.setAutoPlay()}},autoplay:function(t){t&&this.noticeList.length>1&&this.setAutoPlay()}},beforeDestroy:function(){this.clearTimer()},methods:{setAutoPlay:function(){var t=this;this.clearTimer(),this.scrollTimer=setInterval((function(){var e=t.noticeList.length;t.transitionDisabled=!1,t.activeIndex+=1,t.activeIndex===e&&setTimeout((function(){t.transitionDisabled=!0,t.activeIndex=0,t.$nextTick((function(){setTimeout((function(){t.transitionDisabled=!1}),50)}))}),300)}),5300)},pauseScroll:function(){this.clearTimer()},resumeScroll:function(){this.autoplay&&this.noticeList.length>1&&this.setAutoPlay()},clearTimer:function(){this.scrollTimer&&(clearInterval(this.scrollTimer),this.scrollTimer=null)},encodeTitle:function(t){return encodeURIComponent(t||"")}}},Tt={mixins:[Dt]},It=Tt,St=(s("0575"),Object(D["a"])(It,kt,wt,!1,null,"dcc2e738",null)),Lt=St.exports,Ot=function(){var t=this,e=t._self._c;return e("section",{ref:"marketSection",staticClass:"v502-market v5-market effect-fade v5-market-wrap-outer"},[e("div",{staticClass:"v5-market-wrap"},[e("ul",{staticClass:"market-ul market-wrap"},[e("li",{staticClass:"market-item title-th"},[e("div",{staticClass:"td-item td-item1 text-2-cl"},[t._v("#")]),e("div",{staticClass:"td-item td-item2 text-2-cl"},[t._v(t._s(t.$t("home.market")))]),e("div",{staticClass:"td-item td-item3 text-2-cl"},[t._v(t._s(t.$t("home.close")))]),e("div",{staticClass:"td-item td-item4 text-2-cl"},[t._v(t._s(t.appliesTitle))]),e("div",{staticClass:"td-item td-item-vol text-2-cl"},[t._v(t._s(t.$t("home.H_turnover")))]),e("div",{staticClass:"td-item td-item-btn text-2-cl"},[t._v(t._s(t.$t("h5Add.tradeList1")))])]),t._l(t.recommendMarketList,(function(s,i){return e("li",{key:s,staticClass:"market-item market-content",on:{click:function(e){return t.goTrade(s)}}},[e("div",{staticClass:"hover-item fill-3-cl-h"},[e("div",{staticClass:"market-info"},[e("div",{staticClass:"td-item td-item1 text-2-cl"},[t._v(t._s(i+1))]),e("div",{staticClass:"td-item td-item2"},[e("span",{staticClass:"symbol-icon"},[e("img",{attrs:{src:t.getCoinIcon(s),alt:""}})]),e("span",{staticClass:"ltr-lock symbol-name"},[e("span",{staticClass:"b-cion text-1-cl"},[t._v(t._s(t.getBaseCoin(s)))]),e("span",{staticClass:"q-cion text-2-cl"},[t._v(t._s(t.getQuoteCoin(s)))])])]),e("div",{staticClass:"td-item td-item3 text-1-cl"},[t._v(t._s(t.getMarketVal(s,"close")))]),e("div",{staticClass:"td-item td-item4 text-1-cl"},[e("span",{staticClass:"ltr-lock",class:t.getPriceClass(s)},[t._v(t._s(t.formatPercent(t.getMarketVal(s,"rose"))))])]),e("div",{staticClass:"td-item td-item-vol text-1-cl"},[t._v(t._s(t.formatVolume(s)))]),e("div",{staticClass:"td-item td-item-btn"},[e("c-button",{attrs:{type:"solid",width:"76px",height:"40px","padding-w":"
10","font-size":"14px"}},[t._v("\n                "+t._s(t.$t("home.trade"))+"\n              ")])],1)])])])})),e("li",{staticClass:"more",on:{click:t.goMarket}},[e("span",{staticClass:"text-2-cl main-1-f-h"},[t._v("\n          "+t._s(t.$t("home.moreMarket"))+"\n          "),e("c-icon",{attrs:{className:"icon icon-12",viewBox:"0 0 12 12",svgName:"public_arrow_right_new",svgColor:"currentColor"}})],1)])],2)])])},Mt=[],$t={data:function(){return{homeMarketData:{}}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},footerConfig:function(){return this.$store.state.baseData.footer||{}},recommendMarketList:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.recommendMarket?this.publicInfo.market.recommendMarket:this.footerConfig.recommendSymbol?this.footerConfig.recommendSymbol.split(",").filter(Boolean):[]},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},coinList:function(){return this.market&&this.market.coinList||{}},rate:function(){return this.market&&this.market.rate||{}},marketJumpType:function(){return this.publicInfo&&this.publicInfo.switch&&this.publicInfo.switch.marketJumpType||"0"},klineTimezone:function(){return this.$store.state.baseData.klineTimezone},appliesTitle:function(){return"24H"===this.klineTimezone?this.$t("market.applies24h"):this.$t("home.applies")}},mounted:function(){this.$bus.$on("HOME_MARKET_DATA",this.setHomeMarketData),this.observerFade()},beforeDestroy:function(){this.$bus.$off("HOME_MARKET_DATA",this.setHomeMarketData),this._fadeObserver&&(this._fadeObserver.disconnect(),this._fadeObserver=null),this._scrollHandler&&window.removeEventListener("scroll",this._scrollHandler)},methods:{setHomeMarketData:function(t){this.homeMarketData=t||{}},getSymbolMarketData:function(t){if(this.homeMarketData&&this.homeMarketData[t])return B(this.homeMarketData[t]);if(!this.market||!this.market.market)return{};for(var e=0,s=Object.values(this.market.market);e<s.length;e++){var i=s[e];if(i[t])return B(i[t])}return{}},getMarketVal:function(t,e){var s=this.getSymbolMarketData(t),i=s[e];return null==i?"--":"close"===e?Object(d["db"])(i):i},getPriceClass:function(t){var e=this.getSymbolMarketData(t),s=e.rose,i=e.roseClass;return i||(null==s?"":Number(s)>=0?"main-up-cl":"main-down-cl")},formatPercent:function(t){return K(t)},formatVolume:function(t){var e=this.getSymbolMarketData(t),s=e.volume;if(!s)return"--";var i=this.getQuoteCoin(t),a=e.symbol&&e.symbol.unit?e.symbol.unit:i;return Object(d["db"])(Object(d["z"])(s,this.rate,a||"usd"))},getCoinIcon:function(t){var e=this.symbolAll[t];if(!e)return"";var s=e.baseCoin||t.split("/")[0],i=this.coinList[s];return i&&(i.icon||i.coinIconUrl)||""},getBaseCoin:function(t){var e=this.symbolAll[t];return e&&e.showName&&e.showName.split("/")[0]||t.split("/")[0]},getQuoteCoin:function(t){var e=this.symbolAll[t];return e&&e.showName?e.showName.split("/")[1]||t.split("/")[1]:t.split("/")[1]||""},goTrade:function(t){d["T"].set("sSymbolName",t),d["T"].set("markTitle",t.split("/")[1]||"");var e=this.symbolAll[t],s=e&&e.showName?e.showName.replace("/","_"):t.replace("/","_"),i="1"===this.marketJumpType?"proTrade":"trade";window.location.href="/".concat(i,"/").concat(s)},goMarket:function(){window.location.href="/trade"},observerFade:function(){var t=this,e=this.$refs.marketSection;e&&(window.IntersectionObserver?(this._fadeObserver=new window.IntersectionObserver((function(s){s.forEach((function(s){s.isIntersecting&&(e.classList.remove("effect-fade"),t._fadeObserver&&(t._fadeObserver.unobserve(e),t._fadeObserver.disconnect(),t._fadeObserver=null))}))}),{root:null,rootMargin:"0px 0px -50px 0px",threshold:0}),this._fadeObserver.observe(e)):e.classList.remove("effect-fade"))}}},At={mixins:[$t]},Pt=At,jt=(s("4897"),Object(D["a"])(Pt,Ot,Mt,!1,null,"1fb0cfde",null)),Ht=jt.exports,Nt=function(){var t=this,e=t._self._c;return e("section",{staticClass:"v5-custom-info"},[t.customContentOpen?[e("section",{ref:"customContent",staticClass:"interHome-custom",class:t.isDarkTheme?"home-custom-dark":"home-custom-light",domProps:{innerHTML:t._s(t.footerWarmPromptHtml)}})]:[e("div",{ref:"guide",staticClass:"v5-guide effect-fade cols-3"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text1")))]),e("div",{staticClass:"title-tip text-2-cl"},[t._v(t._s(t.$t("home.custom_text2")))]),e("div",{staticClass:"guide
1-content"},[e("dl",{staticClass:"guide-item item-1"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_guide_1"),alt:""}}),e("a",{staticClass:"layout",attrs:{href:"javascript:void(0);"}})]),e("dd",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text3")))])]),e("dl",{staticClass:"guide-item item-2"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_guide_2"),alt:""}}),e("a",{staticClass:"layout",attrs:{href:"javascript:void(0);"}})]),e("dd",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text4")))])]),e("dl",{staticClass:"guide-item item-3"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_guide_3"),alt:""}}),e("a",{staticClass:"layout",attrs:{href:"javascript:void(0);"}})]),e("dd",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text5")))])])])]),e("div",{ref:"guide2",staticClass:"v5-guide effect-fade cols-2"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text1")))]),e("div",{staticClass:"title-tip text-2-cl"},[t._v(t._s(t.$t("home.custom_text2")))]),e("div",{staticClass:"guide-content"},[e("dl",{staticClass:"guide-item item-1"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_guide_4"),alt:""}}),e("a",{staticClass:"layout",attrs:{href:"javascript:void(0);"}})]),e("dd",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text3")))])]),e("dl",{staticClass:"guide-item item-2"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_guide_5"),alt:""}}),e("a",{staticClass:"layout",attrs:{href:"javascript:void(0);"}})]),e("dd",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text4")))])])])]),e("div",{ref:"service",staticClass:"v5-service effect-fade rows-1"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text14")))]),e("div",{staticClass:"service-content"},[e("dl",{staticClass:"service-item item-1"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_1"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text15")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text16")))])])]),e("dl",{staticClass:"service-item item-2"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_2"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text17")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text18")))])])]),e("dl",{staticClass:"service-item item-3"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_3"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text19")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text20")))])])]),e("dl",{staticClass:"service-item item-4"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_4"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text21")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text22")))])])])])]),e("div",{ref:"service2",staticClass:"v5-service effect-fade rows-2"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text14")))]),e("div",{staticClass:"service-content"},[e("dl",{staticClass:"service-item item-1"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_1"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text15")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text16")))])])]),e("dl",{staticClass:"service-item item-3"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_3"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text19")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text20")))])])]),e("dl",{staticClass:"service-item item-4"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_4"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text21")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text22")))])])]),e("dl",{staticClass:"service-item item-2"},[e("dt",[e("img",{attrs:{src:t.getThemeImg("home_service_2"),alt:""}})]),e("dd",[e("div",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text17")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text18")))])])])])]),e("div",{ref:"invite",staticClass:"v5-invite effect-fade text-left"},[e("div",{staticClass:"invite-text"},[e("h2",{staticClass:"title-text text-1-cl"},[e("div",[t._v(t._s(t.$t("home.custom_text29")))]),e("div",[t._v(t._s(t.$t("home.custom_text30")))])]),e("div",{staticClass:"invite-text_subTitle text-2-cl"},[t._v(t._s(t.$t("home.custom_text31")))]),e("a",{staticClass:"invite-button",attrs:{href:"/promotion"}},[t._v(t._s(t.$t("home.custom_text29")))])]),e("div",{staticClass:"invite-img"},[e("img",{attrs:{src:t.getThemeImg("home_invite_1"),alt:""}})])]),e("div",{ref:"invite2",staticClass:"v5-invite effect-fade text-right"},[e("div",{staticClass:"invite-img"},[e("img",{attrs:{src:t.getThemeImg("home_invite_1"),alt:""}})]),e("div",{staticClass:"invite-text"},[e("h2",{staticClass:"title-text text-1-cl"},[e("div",[t._v(t._s(t.$t("home.custom_text29")))]),e("div",[t._v(t._s(t.$t("home.custom_text30")))])]),e("div",{staticClass:"invite-text_subTitle text-2-cl"},[t._v(t._s(t.$t("home.custom_text31")))]),e("a",{staticClass:"invite-button",attrs:{href:"/promotion"}},[t._v(t._s(t.$t("home.custom_text29")))])])]),e("div",{ref:"features",staticClass:"v5-features effect-fade cols-3"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text32")))]),e("ul",{staticClass:"features-list"},[e("li",{staticClass:"features-item fill-3-bg"},[e("div",{staticClass:"features-text"},[e("div",{staticClass:"features-main_text text-1-cl"},[t._v(t._s(t.$t("home.custom_text33")))]),e("div",{staticClass:"features-sub_text text-2-cl"},[t._v(t._s(t.$t("home.custom_text34")))])]),e("div",{staticClass:"features-img"},[e("img",{attrs:{src:t.getThemeImg("home_feature_1"),alt:""}})]),e("div",{staticClass:"layout"})]),e("li",{staticClass:"features-item fill-3-bg"},[e("div",{staticClass:"features-text"},[e("div",{staticClass:"features-main_text text-1-cl"},[t._v(t._s(t.$t("home.custom_text35")))]),e("div",{staticClass:"features-sub_text text-2-cl"},[t._v(t._s(t.$t("home.custom_text36")))])]),e("div",{staticClass:"features-img"},[e("img",{attrs:{src:t.getThemeImg("home_feature_2"),alt:""}})]),e("div",{staticClass:"layout"})]),e("li",{staticClass:"features-item fill-3-bg"},[e("div",{staticClass:"features-text"},[e("div",{staticClass:"features-main_text text-1-cl"},[t._v(t._s(t.$t("home.custom_text37")))]),e("div",{staticClass:"features-sub_text text-2-cl"},[t._v(t._s(t.$t("home.custom_text38")))])]),e("div",{staticClass:"features-img"},[e("img",{attrs:{src:t.getThemeImg("home_feature_3"),alt:""}})]),e("div",{staticClass:"layout"})])])]),e("div",{ref:"features2",staticClass:"v5-features effect-fade cols-2"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text32")))]),e("ul",{staticClass:"features-list"},[e("li",{staticClass:"features-item fill-3-bg"},[e("div",{staticClass:"features-text"},[e("div",{staticClass:"features-main_text text-1-cl"},[t._v(t._s(t.$t("home.custom_text33")))]),e("div",{staticClass:"features-sub_text text-2-cl"},[t._v(t._s(t.$t("home.custom_text34")))])]),e("div",{staticClass:"features-img"},[e("img",{attrs:{src:t.getThemeImg("home_feature_4"),alt:""}})]),e("div",{staticClass:"layout"})]),e("li",{staticClass:"features-item fill-3-bg"},[e("div",{staticClass:"features-text"},[e("div",{staticClass:"features-main_text text-1-cl"},[t._v(t._s(t.$t("home.custom_text35")))]),e("div",{staticClass:"features-sub_text text-2-cl"},[t._v(t._s(t.$t("home.custom_text36")))])]),e("div",{staticClass:"features-img"},[e("img",{attrs:{src:t.getThemeImg("home_feature_5"),alt:""}})]),e("div",{staticClass:"layout"})])])]),e("div",{ref:"appDownload",staticClass:"v5-appDownload effect-fade img-right"},[e("div",{staticClass:"app-introduce"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text6")))]),e("div",{staticClass:"title-tip text-2-cl"},[t._v(t._s(t.$t("home.custom_text7")))]),e("ul",{staticClass:"intro-list"},[e("li",{staticClass:"intro-item"},[e("svg",{staticClass:"icon icon-24",attrs:{"aria-hidden":"true",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M6.30334 10.0495L13.6568 2.69605L15.3542 4.39338L6.30334 13.4442
1L0.646484 7.78735L2.34382 6.09002L6.30334 10.0495Z",fill:"var(--main-1)"}})]),e("div",[e("p",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text8")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text9")))])])]),e("li",{staticClass:"intro-item"},[e("svg",{staticClass:"icon icon-24",attrs:{"aria-hidden":"true",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M6.30334 10.0495L13.6568 2.69605L15.3542 4.39338L6.30334 13.4442L0.646484 7.78735L2.34382 6.09002L6.30334 10.0495Z",fill:"var(--main-1)"}})]),e("div",[e("p",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text10")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text11")))])])]),e("li",{staticClass:"intro-item"},[e("svg",{staticClass:"icon icon-24",attrs:{"aria-hidden":"true",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M6.30334 10.0495L13.6568 2.69605L15.3542 4.39338L6.30334 13.4442L0.646484 7.78735L2.34382 6.09002L6.30334 10.0495Z",fill:"var(--main-1)"}})]),e("div",[e("p",{staticClass:"text-1-cl"},[t._v(t._s(t.$t("home.custom_text12")))]),e("span",{staticClass:"text-2-cl"},[t._v(t._s(t.$t("home.custom_text13")))])])])]),e("div",{staticClass:"download"},[e("a",{attrs:{href:"/appDownload"}},[e("img",{staticClass:"download-store",attrs:{src:t.getThemeImg("home_download_1"),alt:""}}),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})]),e("a",{attrs:{href:"/appDownload"}},[e("img",{staticClass:"download-store",attrs:{src:t.getThemeImg("home_download_2"),alt:""}}),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})]),e("div",{staticClass:"qrcode"},[e("div",{staticClass:"qrcode-icon"},[e("img",{attrs:{src:t.getThemeImg("home_download_3"),alt:""}}),e("div",{staticClass:"hover-layout"})]),e("aside",{staticClass:"qrcode-preview text-1-bg box-shadow"},[e("img",{attrs:{src:t.appDownloadQR,alt:""}})])])])]),e("div",{staticClass:"app-preview"},[e("img",{attrs:{src:t.getThemeImg("home_appview_1"),alt:""}})])]),e("div",{ref:"appDownload2",staticClass:"v5-appDownload effect-fade img-left"},[e("div",{staticClass:"app-preview"},[e("img",{attrs:{src:t.getThemeImg("home_appview_3"),alt:""}})]),e("div",{staticClass:"app-introduce"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text6")))]),e("div",{staticClass:"title-tip text-2-cl"},[t._v(t._s(t.$t("home.custom_text7")))]),e("div",{staticClass:"qrcode-img fill-5-bd"},[e("img",{attrs:{src:t.appDownloadQR,alt:""}})]),e("div",{staticClass:"download"},[e("a",{attrs:{href:"/appDownload"}},[e("img",{staticClass:"download-store",attrs:{src:t.getThemeImg("home_download_1"),alt:""}}),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})]),e("a",{attrs:{href:"/appDownload"}},[e("img",{staticClass:"download-store",attrs:{src:t.getThemeImg("home_download_2"),alt:""}}),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})])])])]),e("div",{ref:"registerGuide",staticClass:"v5-register-guide transparentColor effect-fade"},[e("img",{staticClass:"img-bg",attrs:{src:t.getThemeImg("home_register_1"),alt:""}}),e("div",{staticClass:"register-guide-content"},[e("h2",{staticClass:"title-text text-1-cl"},[t._v(t._s(t.$t("home.custom_text25")))]),e("div",{staticClass:"title-text-sub text-1-cl"},[t._v(t._s(t.$t("home.custom_text26")))]),e("a",{staticClass:"main-1-bg link-href text-4-cl",attrs:{href:t.registerLink}},[e("span",{staticClass:"link-href_text"},[t._v(t._s(t.registerText))]),t._m(0),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})])])]),e("div",{ref:"registerGuide2",staticClass:"v5-register-guide mainColor effect-fade"},[e("img",{staticClass:"img-bg",attrs:{src:t.getThemeImg("home_register_2"),alt:""}}),e("div",{staticClass:"register-guide-content"},[e("h2",{staticClass:"title-text text-4-cl"},[t._v(t._s(t.$t("home.custom_text25")))]),e("div",{staticClass:"title-text-sub text-4-cl"},[t._v(t._s(t.$t("home.custom_text26")))]),e("a",{staticClass:"text-4-bg link-href text-5-cl",attrs:{href:t.registerLink}},[e("span",{staticClass:"link-href_text"},[t._v(t._s(t.registerText))]),t._m(1),e("div",{staticClass:"hover-layout"}),e("div",{staticClass:"active-layout"})])])])]],2)},Rt=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"link-icon"},[e("i",{staticClass:"rtl-reverse"},[t._v("→")])])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"link-icon"},[e("i",{staticClass:"rtl-reverse"},[t._v("→")])])}],Et=(s("1c4c"),["guide","guide2","service","service2","invite","invite2","features","features2","appDownload","appDownload2","registerGuide","registerGuide2"]),Bt={data:function(){return{customScriptSignature:""}},computed:{isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")},themeImgMap:function(){return d["O"]},appDownloadQR:function(){var t=this.$store.state.baseData.app_download;return t&&t.app_page_url?t.app_page_url:""},customContentOpen:function(){var t=this.$store.state.baseData.indexData||{};return"1"===String(t.footerWarmPromptStatus||"0")},footerTemplateReceived:function(){return this.$store.state.baseData.footerTemplateReceived},footerWarmPromptHtml:function(){var t=this.$store.state.baseData.indexData||{};return this.isDarkTheme?t.footerWarmPromptTempNight||t.footerWarmPromptv6:t.footerWarmPromptv6||t.footerWarmPromptTempNight},isLogin:function(){return this.$store.state.baseData.isLogin},registerLink:function(){return this.isLogin?"/trade":"/register"},registerText:function(){return this.isLogin?this.$t("home.trade"):this.$t("home.custom_text27")}},created:function(){this.$store.state.baseData.app_download||this.$store.dispatch("getAppDownload")},mounted:function(){this.setFadeObserver(),this.executeCustomScripts()},watch:{customContentOpen:function(){this.executeCustomScripts()},footerWarmPromptHtml:function(){this.executeCustomScripts()},footerTemplateReceived:function(t){t&&this.executeCustomScripts()}},beforeDestroy:function(){this.fadeObserver&&(this.fadeObserver.disconnect(),this.fadeObserver=null)}
1,methods:{getThemeImg:function(t){return this.themeImgMap[t]||""},executeCustomScripts:function(){var t=this;this.footerTemplateReceived&&this.$nextTick((function(){var e=t.$refs.customContent;if(t.customContentOpen&&e){var s="".concat(t.isDarkTheme?"dark":"light",":").concat(t.footerWarmPromptHtml);t.footerWarmPromptHtml&&(t.replaceCustomQrcodeIcon(e),s!==t.customScriptSignature&&(e.querySelectorAll("script").forEach((function(t){var e=document.createElement("script");Array.from(t.attributes).forEach((function(t){e.setAttribute(t.name,t.value)})),e.text=t.text||t.textContent||"",t.parentNode.replaceChild(e,t)})),t.customScriptSignature=s))}}))},replaceCustomQrcodeIcon:function(t){t.querySelectorAll(".qrcode").forEach((function(t){var e=Array.from(t.children).filter((function(t){return"I"===t.tagName&&t.classList.contains("img")&&t.classList.contains("v5-20-bg")}));if(e.length){var s=document.createElement("i"),i=document.createElementNS("http://www.w3.org/2000/svg","svg");s.className="img v5-20-bg",i.setAttribute("class","icon icon-30"),i.setAttribute("aria-hidden","true"),i.setAttribute("viewBox","0 0 16 16"),i.innerHTML=Object(d["I"])("public_qrcode","text-1-cl"),s.appendChild(i),t.replaceChild(s,e[0]),e.slice(1).forEach((function(e){return t.removeChild(e)}))}}))},setFadeObserver:function(){var t=this;this.customContentOpen||(window.IntersectionObserver?(this.fadeObserver=new window.IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(e.target.classList.remove("effect-fade"),t.fadeObserver.unobserve(e.target))}))}),{root:null,rootMargin:"0px 0px -100px 0px",threshold:0}),Et.forEach((function(e){var s=t.$refs[e];s&&s.classList.contains("effect-fade")&&t.fadeObserver.observe(s)}))):Et.forEach((function(e){var s=t.$refs[e];s&&s.classList.remove("effect-fade")})))}}},Kt=(s("1f38"),{name:"HomeCustom",mixins:[Bt]}),Ut=Kt,Wt=Object(D["a"])(Ut,Nt,Rt,!1,null,null,null),Vt=Wt.exports,qt={51:"v1",61:"v1",52:"v2",62:"v2",53:"v3",63:"v3",54:"v4",64:"v4"},zt={v1:[{name:"Swiper"},{name:"AdvertSwiper"},{name:"NoticeInfo",guard:"hasNotice"},{name:"Market",guard:"hasRecommendMarket"},{name:"Custom"}],v2:[{name:"SwiperV2"},{name:"RecommendInter",guard:"hasHeaderSymbol"},{name:"NoticeInfo",guard:"hasNotice"},{name:"Market",guard:"hasRecommendMarket"},{name:"Custom"}],v3:[{name:"SwiperV3"},{name:"RecommendInter",guard:"hasHeaderSymbol"},{name:"NoticeInfo",guard:"hasNotice"},{name:"Market",guard:"hasRecommendMarket"},{name:"Custom"}],v4:[{name:"Swiper"},{name:"RecommendInter",guard:"hasHeaderSymbol"},{name:"NoticeInfo",guard:"hasNotice"},{name:"SwiperMin"},{name:"Market",guard:"hasRecommendMarket"},{name:"Custom"}]},Ft={components:{Swiper:I,AdvertSwiper:P,Recommend:z,SwiperV2:Y,SwiperV3:ct,SwiperMin:pt,RecommendInter:yt,NoticeInfo:Lt,Market:Ht,Custom:Vt},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},indexData:function(){return this.$store.state.baseData.indexData||{}},homeDataReady:function(){var t=this.publicInfo&&this.publicInfo.switch||{};return!!this.indexData.indexDataReady&&void 0!==t.index_temp_type&&null!==t.index_temp_type},homeTemplateCode:function(){var t=this.publicInfo&&this.publicInfo.switch||{};return t.index_temp_type||null},homeTemplate:function(){var t=this.homeTemplateCode;return t?qt[t]||"v1":""},hasHeaderSymbol:function(){return!!(this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol&&this.publicInfo.market.headerSymbol.length)},hasNotice:function(){return this.noticeInfoList.length>0},hasRecommendMarket:function(){var t=this.publicInfo&&this.publicInfo.market||{};if(Array.isArray(t.recommendMarket)&&t.recommendMarket.length)return!0;var e=this.$store.state.baseData.footer||{};return!(!e.recommendSymbol||!e.recommendSymbol.split(",").filter(Boolean).length)},bannerList:function(){return this.indexData.cmsAdvertList||[]},noticeInfoList:function(){return this.indexData.noticeInfoList||[]},currentLayout:function(){var t=this;if(!this.homeDataReady||!this.homeTemplate)return[];var e=zt[this.homeTemplate]||zt.v1;return e.filter((function(e){return!e.guard||t[e.guard]})).map((function(t){return{name:t.name}}))}}},Qt=Ft,Gt=(s("d0b0"),Object(D["a"])(Qt,p,v,!1,null,null,null)),Jt=Gt.exp
1orts,Zt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home-h5-wrap common-home-h5"},[t.showAppDownload?e("AppDown"):t._e(),e("HomeHeader"),e("SwiperH5"),e("NoticeInfo"),e("BannerPosition"),e("RecommendH5"),e("MarketH5"),e("c-floatLayer",{attrs:{type:"1"}})],1)},Xt=[],Yt={computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo||{}},appDownload:function(){return this.$store.state.baseData.app_download},companyId:function(){return this.publicInfo&&this.publicInfo.msg&&this.publicInfo.msg.companyId},showAppDownload:function(){var t=Number(this.companyId);return!(!this.appDownload||!this.appDownload.app_page_url||1841===t||1845===t)}},created:function(){this.$store.state.baseData.app_download||this.$store.dispatch("getAppDownload")}},te=function(){var t=this,e=t._self._c;return t.show?e("section",{staticClass:"home-h5-appDown fill-2-bg"},[e("div",{staticClass:"appDown-logo"},[e("img",{attrs:{width:"40",height:"40",src:t.appDownload.logo,alt:""}})]),e("div",{staticClass:"appDown-info"},[e("div",{staticClass:"info-companyName text-1-cl"},[t._v(t._s(t.appDownload.company_name))]),e("div",{staticClass:"info-desc text-2-cl"},[t._v(t._s(t.$t("appDownLoad.desc")))])]),e("div",{staticClass:"appDown-button"},[e("c-button",{attrs:{type:"solid",height:"32px","padding-w":"16px","font-size":"12px"},nativeOn:{click:function(e){return t.handleDownload.apply(null,arguments)}}},[t._v(t._s(t.$t("h5Add.download")))])],1),e("div",{staticClass:"appDown-close",on:{click:t.handleClose}},[e("svg",{staticClass:"icon icon-16 special-4-cl",attrs:{width:"16",height:"16",viewBox:"0 0 16 16"}},[e("path",{staticClass:"special-4-cl",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM3.75015 5.16422L5.16436 3.75L7.99275 6.57839L10.8211 3.75007L12.2353 5.16428L9.40696 7.9926L12.2354 10.8211L10.8212 12.2353L7.99275 9.40681L5.16421 12.2354L3.75 10.8211L6.57854 7.9926L3.75015 5.16422Z",fill:"currentColor"}})])])]):t._e()},ee=[],se={data:function(){return{show:!0}},computed:{appDownload:function(){return this.$store.state.baseData.app_download||{}}},methods:{handleDownload:function(){window.location.href="/appDownload"},handleClose:function(){this.show=!1}}},ie={mixins:[se]},ae=ie,ne=(s("2d6d"),Object(D["a"])(ae,te,ee,!1,null,"52b536ed",null)),oe=ne.exports,re=s("610b"),ce=function(){var t=this,e=t._self._c;return t.appBannerList.length?e("section",{staticClass:"home-swiper-h5"},[e("c-swiper",{attrs:{slideList:t.appBannerList,paginationStyle:"dot",loop:t.appBannerList.length>1,slideButton:!1,spaceBetween:32,autoplay:5e3}},t._l(t.appBannerList,(function(s,i){return e("c-swiper-item",{key:i},[e("a",{staticClass:"h5-swiper-item",attrs:{href:s.httpUrl||"javascript:void(0)",rel:"noreferrer"}},[e("img",{attrs:{src:t.isDarkTheme&&s.imageNightUrl||s.imageUrl,alt:s.title||""}})])])})),1)],1):t._e()},le=[],me={computed:{appBannerList:function(){return(this.$store.state.baseData.indexData||{}).cmsAppAdvertList||[]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")}}},ue={mixins:[me]},he=ue,de=(s("d76b"),s("9a1b"),Object(D["a"])(he,ce,le,!1,null,"76620dfa",null)),fe=de.exports,pe=function(){var t=this,e=t._self._c;return t.cmsAppDataList.length?e("section",{staticClass:"banner_position-h5"},[e("div",{staticClass:"banner_position-h5-wrap"},t._l(t.styleMapList,(function(s){return e("div",{key:s,staticClass:"banner_position-box",class:"banner_position-box-".concat(s)},t._l(t.rowList(s),(function(i,a){return e("div",{key:"more"===i.target?"more-".concat(s):"".concat(i.httpUrl||"","-").concat(a),staticClass:"positionItem",attrs:{"data-target":i.target,"data-link":i.httpUrl},on:{click:function(e){return t.handleItem(i)}}},["more"===i.target?e("svg",{attrs:{id:"bannerPostiton-more-icon",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},domProps:{innerHTML:t._s(t.getIconPathV2("home_kumgangdistrict_more",["var(--main-1)","var(--special-4)","var(--text-1)"],["var(--text-1)","var(--special-4)"]))}}):e("img",{staticClass:"positionImg",attrs:{src:t.getItemImg(i)}}),e("div",{staticClass:"text-1-cl positionDesc"},[t._v("\n          "+t._s("more"===i.target?t.$t("header.moreText"):i.title)+"\n        ")])])})),0)})),0),e("div",{staticClass:"moreDialog",class:{show:t.moreDialogShow},on:{click:t.closeMoreDialog}},[e("div",{staticClass:"dialogContentBox fill-2-bg",class:{dialogContentBoxShow:t.moreDialogShow},on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"dialogHeader"},[e("span",{staticClass:"text-1-cl headerTitle"},[t._v(t._s(t.$t("header.moreText"))+t._s(t.$t("trade.features")))]),e("svg",{staticClass:"special-4-cl closeSvg",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",id:"h5-banner-position-close"},domProps:{innerHTML:t._s(t.getIconPathV2("public_close_20","#909090"))},on:{click:t.closeMoreDialog}})]),e("div",{staticClass:"dialogContent"},t._l(t.cmsAppDataList,(function(s,i){return e("div",{key:"".concat(s.httpUrl||"","-").concat(i),staticClass:"dialogPositionItem",attrs:{"data-link":s.httpUrl},on:{click:function(e){return t.handleItem(s)}}},[e("img",{staticClass:"dialogPositionImg",attrs:{src:t.getItemImg(s)}}),e("div",{staticClass:"text-1-cl dialogPositionDesc"},[t._v(t._s(s.title))])])})),0)])])]):t._e()},ve=[],ge={data:function(){return{moreDialogShow:!1}},computed:{indexData:function(){return this.$store.state.baseData.indexData||{}},cmsAppDataList:function(){return this.indexData.cmsAppDataList||[]},cmsAppDataListFilter:function(){var t=this.cmsAppDataList,e=(this.indexData.styleMap||[])[0];if(1===e){if(5===t.length)return t;var s=t.slice(0,4);return t.length>5&&s.push({target:"more"}),s}if(2===e){if(10===t.length)return t;var i=t.slice(0,9);return t.length>10&&i.push({target:"more"}),i}return t},styleMapList:function(){return 1===(this.indexData.styleMap||[])[0]?[1]:[1,2]},isDarkTheme:function(){return"2"!==Object(d["C"])("cusSkin")}},methods:{getIconPathV2:d["I"],rowList:function(t){return this.cmsAppDataListFilter.slice(5*(t-1),5*t)}
1,getItemImg:function(t){return t?this.isDarkTheme&&t.nightImageUrl||t.imageUrl:""},handleItem:function(t){t&&("more"!==t.target?t.httpUrl&&(window.location.href=t.httpUrl):this.moreDialogShow=!0)},closeMoreDialog:function(){this.moreDialogShow=!1}}},be={mixins:[ge]},_e=be,Ce=(s("40d9"),Object(D["a"])(_e,pe,ve,!1,null,"9e00d4a6",null)),xe=Ce.exports,ye=function(){var t=this,e=t._self._c;return t.noticeList.length?e("section",{staticClass:"home-noticeInfo-h5"},[e("div",{staticClass:"notice-icon special-4-cl"},[e("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor"}},[e("path",{attrs:{d:"M2 6.5v3h2.2L8 13V3L4.2 6.5H2zm8.3-.8a3 3 0 0 1 0 4.6l1.1 1.1a4.5 4.5 0 0 0 0-6.8l-1.1 1.1z"}})])]),e("div",{staticClass:"notice-list-view"},[e("ul",{staticClass:"notice-list text-2-cl",style:t.listStyle},t._l(t.displayList,(function(s,i){return e("li",{key:i,staticClass:"noticeInfo-item"},[2===s.contentType?e("a",{staticClass:"text-2-cl",attrs:{href:s.content,target:"_blank",rel:"noreferrer"}},[t._v(t._s(s.noticeText))]):e("a",{staticClass:"text-2-cl",attrs:{href:"/noticeInfo/".concat(t.encodeTitle(s.title),"-").concat(s.id)}},[t._v(t._s(s.noticeText))])])})),0)]),e("div",{staticClass:"notice-more special-4-cl"},[e("a",{staticClass:"special-4-cl",attrs:{href:"/noticeInfo",rel:"noreferrer"}},[e("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor"}},[e("path",{attrs:{d:"M3 4h10v1.5H3V4zm0 3.25h10v1.5H3v-1.5zM3 10.5h10V12H3v-1.5z"}})])])])]):t._e()},ke=[],we={data:function(){return{activeIndex:0,scrollTimer:null,transitionDisabled:!1}},computed:{noticeList:function(){var t=this.$store.state.baseData.indexData||{};return(t.noticeInfoList||[]).map((function(t){return{id:t.id,title:t.title||"",noticeText:t.noticeText||t.title||"",content:t.content||"",contentType:t.contentType||1}}))},displayList:function(){return this.noticeList.length?this.noticeList.length>1?[].concat(Object(u["a"])(this.noticeList),[this.noticeList[0]]):this.noticeList:[]},listStyle:function(){return{transform:"translateY(-".concat(16*this.activeIndex,"px)"),transition:this.transitionDisabled?"none":"transform 0.3s"}},autoplay:function(){var t=this.$store.state.baseData.publicInfo;return t&&t.switch&&"0"!==t.switch.notice_autoplay}},watch:{noticeList:{immediate:!0,handler:function(t){this.activeIndex=0,this.clearTimer(),this.autoplay&&t.length>1&&this.setAutoPlay()}},autoplay:function(t){t&&this.noticeList.length>1&&this.setAutoPlay()}},beforeDestroy:function(){this.clearTimer()},methods:{setAutoPlay:function(){var t=this;this.clearTimer(),this.scrollTimer=setInterval((function(){var e=t.noticeList.length;t.transitionDisabled=!1,t.activeIndex+=1,t.activeIndex===e&&setTimeout((function(){t.transitionDisabled=!0,t.activeIndex=0,t.$nextTick((function(){setTimeout((function(){t.transitionDisabled=!1}),50)}))}),300)}),5e3)},clearTimer:function(){this.scrollTimer&&(clearInterval(this.scrollTimer),this.scrollTimer=null)},encodeTitle:function(t){return encodeURIComponent(t||"")}}},De={mixins:[we]},Te=De,Ie=(s("5d0c"),Object(D["a"])(Te,ye,ke,!1,null,"2d3946dd",null)),Se=Ie.exports,Le=function(){var t=this,e=t._self._c;return t.visibleSymbols.length?e("section",{staticClass:"home-recommend-h5"},[e("ul",{staticClass:"recommend-h5-list"},t._l(t.visibleSymbols,(function(s){return e("li",{key:s,staticClass:"recommend-h5-item cursor-pointer",on:{click:function(e){return t.goTrade(s)}}},[e("div",{staticClass:"symbol-info"},[e("span",{staticClass:"symbol-name text-1-cl"},[t._v(t._s(t.getSymbolShowName(s)))]),e("span",{staticClass:"symbol-rose",class:t.getRoseClass(s)},[e("i",{staticClass:"ltr-lock"},[t._v(t._s(t.getRose(s)))])])]),e("div",{staticClass:"symbol-close text-1-cl",class:t.getRoseClass(s)},[e("span",[t._v(t._s(t.getClose(s)))])]),e("div",{staticClass:"symbol-price text-2-cl"},[t._v(t._s(t.getPrice(s)))])])})),0)]):t._e()},Oe=[],Me={data:function(){return{homeMarketData:{}}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},headerSymbolConfig:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.headerSymbol||[]},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},visibleSymbols:function(){return this.headerSymbolConfig.slice(0,3)}},mounted:function(){this.$bus.$on("HOME_MARKET_DATA",this.setHomeMarketData)},beforeDestroy:function(){this.$bus.$off("HOME_MARKET_DATA",this.setHomeMarketData)},methods:{setHomeMarketData:function(t){this.homeMarketData=t||{}},getMarketData:function(t){if(this.homeMarketData&&this.homeMarketData[t])return B(this.homeMarketData[t]);if(this.market&&this.market.market)for(var e=0,s=Object.values(this.market.market);e<s.length;e++){var i=s[e];if(i[t])return B(i[t])}return{}},getSymbolShowName:function(t){var e=this.symbolAll[t];return e&&e.showName||t},getClose:function(t){return this.getMarketData(t).close||"--"}
1,getPrice:function(t){var e=this.getMarketData(t);return e.otcPrice||"--"},getRose:function(t){var e=this.getMarketData(t).rose;return K(e)},getRoseClass:function(t){var e=this.getMarketData(t),s=e.rose,i=e.roseClass;return i||(null==s?"":Number(s)>=0?"main-up-cl":"main-down-cl")},goTrade:function(t){d["T"].set("sSymbolName",t),d["T"].set("markTitle",t.split("/")[1]||"");var e=this.symbolAll[t],s=e&&e.showName?e.showName.replace("/","_"):t.replace("/","_");window.location.href="/trade/".concat(s,"?type=spot&page=kline")}}},$e={mixins:[Me]},Ae=$e,Pe=(s("2718"),Object(D["a"])(Ae,Le,Oe,!1,null,"15aeede8",null)),je=Pe.exports,He=function(){var t=this,e=t._self._c;return e("section",{staticClass:"home-market-h5"},[e("ul",{staticClass:"market-h5-list text-1-cl"},t._l(t.recommendMarketList,(function(s){return e("li",{key:s,staticClass:"market-h5-item fill-4-cl-h cursor-pointer",on:{click:function(e){return t.goTrade(s)}}},[e("div",{staticClass:"market-symbol"},[t.getCoinIcon(s)?e("img",{attrs:{src:t.getCoinIcon(s),alt:s}}):t._e(),e("span",{staticClass:"symbol-name ltr-lock"},[e("span",{staticClass:"b-cion"},[t._v(t._s(t.getBaseCoin(s)))]),e("span",{staticClass:"q-cion text-2-cl"},[t._v("/"+t._s(t.getQuoteCoin(s)))])])]),e("div",{staticClass:"market-close"},[t._v(t._s(t.getMarketVal(s,"close")))]),e("div",{staticClass:"market-rose",class:t.getRoseClass(s)},[e("span",{staticClass:"ltr-lock text-6-cl"},[t._v(t._s(t.formatPercent(t.getMarketVal(s,"rose"))))])])])})),0)])},Ne=[],Re={data:function(){return{homeMarketData:{}}},computed:{publicInfo:function(){return this.$store.state.baseData.publicInfo},footerConfig:function(){return this.$store.state.baseData.footer||{}},recommendMarketList:function(){return this.publicInfo&&this.publicInfo.market&&this.publicInfo.market.recommendMarket?this.publicInfo.market.recommendMarket:this.footerConfig.recommendSymbol?this.footerConfig.recommendSymbol.split(",").filter(Boolean):[]},market:function(){return this.$store.state.baseData.market},symbolAll:function(){return this.$store.state.baseData.symbolAll||{}},coinList:function(){return this.market&&this.market.coinList||{}}},mounted:function(){this.$bus.$on("HOME_MARKET_DATA",this.setHomeMarketData)},beforeDestroy:function(){this.$bus.$off("HOME_MARKET_DATA",this.setHomeMarketData)},methods:{setHomeMarketData:function(t){this.homeMarketData=t||{}},getSymbolMarketData:function(t){if(this.homeMarketData&&this.homeMarketData[t])return B(this.homeMarketData[t]);if(!this.market||!this.market.market)return{};for(var e=0,s=Object.values(this.market.market);e<s.length;e++){var i=s[e];if(i[t])return B(i[t])}return{}},getMarketVal:function(t,e){var s=this.getSymbolMarketData(t),i=s[e];return null==i?"--":"close"===e?Object(d["db"])(i):i},getRoseClass:function(t){var e=this.getSymbolMarketData(t),s=e.rose,i=e.roseBgClass,a=e.roseClass,n=Number(String(null==s?"":s).replace("%",""));if(!Number.isNaN(n)&&0===n)return"text-3-bg";if(i)return i;if(a){if(a.indexOf("rise")>-1||a.indexOf("up")>-1)return"main-up-bg";if(a.indexOf("fall")>-1||a.indexOf("down")>-1)return"main-down-bg"}return null==s?"text-3-bg":"string"===typeof s&&0===s.indexOf("-")?"main-down-bg":Number(s)>=0?"main-up-bg":"main-down-bg"},formatPercent:function(t){return K(t)},getCoinIcon:function(t){var e=this.symbolAll[t];if(!e)return"";var s=e.baseCoin||t.split("/")[0],i=this.coinList[s];return i&&(i.icon||i.coinIconUrl)||""},getBaseCoin:function(t){var e=this.symbolAll[t];return e&&e.showName?e.showName.split("/")[0]:t.split("/")[0]},getQuoteCoin:function(t){var e=this.symbolAll[t];return e&&e.showName?e.showName.split("/")[1]||"":t.split("/")[1]||""},goTrade:function(t){d["T"].set("sSymbolName",t),d["T"].set("markTitle",t.split("/")[1]||"");var e=this.symbolAll[t],s=e&&e.showName?e.showName.replace("/","_"):t.replace("/","_");window.location.href="/trade/".concat(s,"?type=spot&page=kline")}}},Ee={mixins:[Re]},Be=Ee,Ke=(s("4379"),Object(D["a"])(Be,He,Ne,!1,null,"27dd475f",null)),Ue=Ke.exports,We={mixins:[Yt],components:{AppDown:oe,HomeHeader:re["a"],SwiperH5:fe,BannerPosition:xe,NoticeInfo:Se,RecommendH5:je,MarketH5:Ue}},Ve=We,qe=Object(D["a"])(Ve,Zt,Xt,!1,null,null,null),ze=qe.exports,Fe=function(){var t=this,e=t._self._c;return t.showFlag?e("section",{staticClass:"common-homeDialog"},[e("c-dialog",{staticClass:"common-homeDialog",attrs:{titleText:t.titleText,haveHead:"img"!==t.dialogType,showFlag:t.showFlag,confirmText:t.oneText,closeText:t.twoText,haveOption:"img"!==t.dialogType&&t.haveOption,size:"auto",bodyWidth:"800px",padding:"img"===t.dialogType?"0":"8px 24px 12px"},on:{close:t.closeDialog}},["img"===t.dialogType?e("div",{staticClass:"dialog-imgBox"},[e("img",{staticClass:"diaolog-img home-dialog-img",attrs:{src:t.imgUrl,alt:""},on:{click:t.handleImgClick}})]):e("div",{staticClass:"home-dialog-text ql-editor"},[e("section",{domProps:{innerHTML:t._s(t.htmlText)}})]),e("div",{staticClass:"dialog-frame-options",attrs:{slot:"dialog-footer"},slot:"dialog-footer"},[t.twoText?e("div",{staticClass:"dialog-button cancel-button"},[e("c-button",{attrs:{height:"40px",colorType:"config",paddingW:"32px"},on:{click:function(e){return t.goLink(t.twoLink)}}},[t._v("\n          "+t._s(t.twoText)+"\n        ")])],1):t._e(),t.oneText?e("div",{staticClass:"dialog-button confirm-button"},[e("c-button",{attrs:{type:"solid",height:"40px",paddingW:"32px"}
1,on:{click:function(e){return t.goLink(t.oneLink)}}},[t._v("\n          "+t._s(t.oneText)+"\n        ")])],1):t._e()])])],1):t._e()},Qe=[],Ge=(s("6b54"),{data:function(){return{showFlag:!1,dialogType:"text",titleText:"",oneText:"",oneLink:"",twoText:"",twoLink:"",htmlText:"",imgUrl:"",imgLink:"",nowId:""}},computed:{isLogin:function(){return this.$store.state.baseData.isLogin},haveOption:function(){return!(!this.oneText&&!this.twoText)}},mounted:function(){this.getHomeDialog()},methods:{getHomeDialog:function(){var t=this;this.axios({url:"homepage_Elastic_Layer",method:"post",params:{terminalType:"0"}}).then((function(e){e&&!Number(e.code)&&e.data&&t.setDialogData(e.data)})).catch((function(){}))},setDialogData:function(t){var e=t.activityTitle,s=t.startTime,i=t.endTime,a=t.displayType,n=t.picturePath,o=t.pictureUrl,r=t.imageText,c=t.buttonWritingOne,l=t.buttonWritingTwo,m=t.buttonUrlOne,u=t.buttonUrlTwo,h=t.id,d=t.mtime,f=t.isLogin;this.dialogType="0"===a.toString()?"img":"text",this.titleText=e||"",this.imgUrl=n||"",this.imgLink=o||"",this.htmlText=r||"",this.oneText=c||"",this.oneLink=m||"",this.twoText=l||"",this.twoLink=u||"",this.nowId="".concat(h,"-").concat(d),this.shouldShow(s,i,f)&&(this.showFlag=!0)},shouldShow:function(t,e,s){var i=(new Date).getTime();return i>t&&i<e&&(4===Number(s)?!!this.isLogin:(this.isLogin&&s||!Number(s))&&this.cookieCanShow())},getCookieArr:function(){try{return Object(d["C"])("homeAlertArr")?JSON.parse(Object(d["C"])("homeAlertArr")):[]}catch(t){return[]}},cookieCanShow:function(){return-1===this.getCookieArr().indexOf(this.nowId)},setCookieArr:function(){if(this.nowId){var t=this.getCookieArr();-1===t.indexOf(this.nowId)&&(t.push(this.nowId),Object(d["Z"])("homeAlertArr",JSON.stringify(t)))}},closeDialog:function(){this.showFlag=!1,this.setCookieArr()},goLink:function(t){t?window.location.href=t:this.closeDialog()},handleImgClick:function(){this.goLink(this.imgLink)}}}),Je=(s("5a14"),{mixins:[Ge]}),Ze=Je,Xe=(s("bf30"),Object(D["a"])(Ze,Fe,Qe,!1,null,"5e806176",null)),Ye=Xe.exports,ts={mixins:[l,f],components:{HomePc:Jt,HomeH5:ze,HomeDialog:Ye}},es=ts,ss=Object(D["a"])(es,i,a,!1,null,null,null);e["default"]=ss.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.