1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4350],{50888:function(_,e,t){"use strict";t.d(e,{Z:function(){return c}});var a=t(1413),n=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},o=t(47833),s=function(_,e){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},_),{},{ref:e,icon:r}))};s.displayName="LoadingOutlined";var c=n.forwardRef(s)},52745:function(_,e,t){"use strict";t.d(e,{Z:function(){return c}});var a=t(1413),n=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},o=t(47833),s=function(_,e){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},_),{},{ref:e,icon:r}))};s.displayName="MinusOutlined";var c=n.forwardRef(s)},32198:function(_,e,t){"use strict";t.d(e,{Z:function(){return c}});var a=t(1413),n=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},o=t(47833),s=function(_,e){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},_),{},{ref:e,icon:r}))};s.displayName="SwapRightOutlined";var c=n.forwardRef(s)},1808:function(_,e,t){"use strict";var a=t(95318),n=t(50008);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(t(67154)),o=a(t(59713)),s=a(t(319)),c=function(_,e){if(!e&&_&&_.__esModule)return _;if(null===_||"object"!==n(_)&&"function"!==typeof _)return{default:_};var t=p(e);if(t&&t.has(_))return t.get(_);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in _)if("default"!==o&&Object.prototype.hasOwnProperty.call(_,o)){var s=r?Object.getOwnPropertyDescriptor(_,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=_[o]}a.default=_,t&&t.set(_,a);return a}(t(67294)),i=a(t(94184)),u=a(t(98959)),l=a(t(73757)),d=a(t(32117)),E=a(t(12386)),m=t(31929),M=a(t(72454)),O=t(47419);function p(_){if("function"!==typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(p=function(_){return _?t:e})(_)}var D=function(_,e){var t={};for(var a in _)Object.prototype.hasOwnProperty.call(_,a)&&e.indexOf(a)<0&&(t[a]=_[a]);if(null!=_&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(_);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(_,a[n])&&(t[a[n]]=_[a[n]])}return t};function P(_,e,t,a){var n=t.indexOf(_)===t.length-1,r=function(_,e){if(!_.breadcrumbName)return null;var t=Object.keys(e).join("|");return _.breadcrumbName.replace(new RegExp(":(".concat(t,")"),"g"),(function(_,t){return e[t]||_}))}(_,e);return n?c.createElement("span",null,r):c.createElement("a",{href:"#/".concat(a.join("/"))},r)}var C=function(_,e){return _=(_||"").replace(/^\//,""),Object.keys(e).forEach((function(t){_=_.replace(":".concat(t),e[t])})),_},f=function(_){var e,t=_.prefixCls,a=_.separator,n=void 0===a?"/":a,d=_.style,p=_.className,f=_.routes,b=_.children,g=_.itemRender,h=void 0===g?P:g,T=_.params,L=void 0===T?{}:T,R=D(_,["prefixCls","separator","style","className","routes","children","itemRender","params"]),I=c.useContext(m.ConfigContext),A=I.getPrefixCls,k=I.direction,B=A("breadcrumb",t);if(f&&f.length>0){var x=[];e=f.map((function(_){var e,t=C(_.path,L);return t&&x.push(t),_.children&&_.children.length&&(e=c.createElement(E.default,null,_.children.map((function(_){return c.createElement(E.default.Item,{key:_.path||_.breadcrumbName},h(_,L,f,function(_,e,t){var a=(0,s.default)(_),n=C(e||"",t);return n&&a.push(n),a}(x,_.path,L)))})))),c.createElement(l.default,{overlay:e,separator:n,key:t||_.breadcrumbName},h(_,L,f,x))}))}else b&&(e=(0,u.default)(b).map((function(_,e){return _?((0,M.default)(_.type&&(!0===_.type.__ANT_BREADCRUMB_ITEM||!0===_.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),(0,O.cloneElement)(_,{separator:n,key:e})):_})));var W=(0,i.default)(B,(0,o.default)({},"".concat(B,"-rtl"),"rtl"===k),p);return c.createElement("div",(0,r.default)({className:W,style:d},R),e)};f.Item=l.default,f.Separator=d.default;var b=f;e.default=b},73757:function(_,e,t){"use strict";var a=t(95318),n=t(50008);
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(t(67154)),o=function(_,e){if(!e&&_&&_.__esModule)return _;if(null===_||"object"!==n(_)&&"function"!==typeof _)return{default:_};var t=u(e);if(t&&t.has(_))return t.get(_);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in _)if("default"!==o&&Object.prototype.hasOwnProperty.call(_,o)){var s=r?Object.getOwnPropertyDescriptor(_,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=_[o]}a.default=_,t&&t.set(_,a);return a}(t(67294)),s=a(t(43529)),c=a(t(48301)),i=t(31929);function u(_){if("function"!==typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(u=function(_){return _?t:e})(_)}var l=function(_,e){var t={};for(var a in _)Object.prototype.hasOwnProperty.call(_,a)&&e.indexOf(a)<0&&(t[a]=_[a]);if(null!=_&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(_);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(_,a[n])&&(t[a[n]]=_[a[n]])}return t},d=function(_){var e,t,a=_.prefixCls,n=_.separator,u=void 0===n?"/":n,d=_.children,E=_.overlay,m=_.dropdownProps,M=l(_,["prefixCls","separator","children","overlay","dropdownProps"]),O=(0,o.useContext(i.ConfigContext).getPrefixCls)("breadcrumb",a);return e="href"in M?o.createElement("a",(0,r.default)({className:"".concat(O,"-link")},M),d):o.createElement("span",(0,r.default)({className:"".concat(O,"-link")},M),d),t=e,e=E?o.createElement(c.default,(0,r.default)({overlay:E,placement:"bottom"},m),o.createElement("span",{className:"".concat(O,"-overlay-link")},t,o.createElement(s.default,null))):t,d?o.createElement("span",null,e,u&&o.createElement("span",{className:"".concat(O,"-separator")},u)):null};d.__ANT_BREADCRUMB_ITEM=!0;var E=d;e.default=E},32117:function(_,e,t){"use strict";var a=t(50008);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(_,e){if(!e&&_&&_.__esModule)return _;if(null===_||"object"!==a(_)&&"function"!==typeof _)return{default:_};var t=o(e);if(t&&t.has(_))return t.get(_);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in _)if("default"!==s&&Object.prototype.hasOwnProperty.call(_,s)){var c=r?Object.getOwnPropertyDescriptor(_,s):null;c&&(c.get||c.set)?Object.defineProperty(n,s,c):n[s]=_[s]}n.default=_,t&&t.set(_,n);return n}(t(67294)),r=t(31929);function o(_){if("function"!==typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(o=function(_){return _?t:e})(_)}var s=function(_){var e=_.children,t=(0,n.useContext(r.ConfigContext).getPrefixCls)("breadcrumb");return n.createElement("span",{className:"".concat(t,"-separator")},e||"/")};s.__ANT_BREADCRUMB_SEPARATOR=!0;var c=s;e.default=c},68672:function(_,e,t){"use strict";var a=t(95318);e.Z=void 0;var n=a(t(1808)).default;e.Z=n},60101:function(_,e,t){"use strict";t(41113),t(7186),t(54214),t(6373)},54214:function(_,e,t){"use strict";t(41113),t(74248),t(15086)},98441:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(82932),antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__),antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(31929),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15144),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__),antd_lib_table__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2307),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(40037),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(30266),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(809),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(67294),next_dynamic__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5152),next_router__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(11163),_js_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17108),js_cookie__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(31955),_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(40987),_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16__),_ant_design_icons__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(50888),antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(82925),_config_config__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(36389),_service_quotesService__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(81050),_js_goldVip__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(45439),moment__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(30381),moment__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_11__),antd_mobile__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(47186),antd_mobile_icons__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(50400),antd_mobile_icons__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(30148),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(85893),SocketItem_PC=(0,next_dynamic__WEBPACK_IMPORTED_MODULE_4__.default)((function(){return Promise.all([__webpack_require__.e(6502),__webpack_require__.e(4402)]).then(__webpack_require__.bind(__webpack_require__,54402)).then((function(_){return _}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[54402]},modules:["../component/mobile/quotes/spotsCommonListContent.js -> @/component/pc/quotes/socketItem"]}}),SpotsCommonListContent_Mobile=function SpotsCommonListContent_Mobile(props){try{var parameters=props.params,userInfo=parameters.personalInfo,_useState=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(parameters.data.list),bondMarketData=_useState[0],setBondMarketData=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),bondMarketLoading=_useState2[0],setBondMarketLoading=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(parameters.pageNo?parameters.pageNo:1),pageNo=_useState3[0],setPageNo=_useState3[1],_useState4=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(20),pageSize=_useState4[0],setPageSize=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(parameters.data.total),total=_useState5[0],setTotal=_useState5[1],_useState6=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(0),totalPages=_useState6[0],setTotalPages=_useState6[1],_useState7=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),socketCodeArr=_useState7[0],setSocketCodeArr=_useState7[1],bondMarketDataRef=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(bondMarketData),_useState8=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!0),hasMore=_useState8[0],setHasMore=_useState8[1],_useState9=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),visible=_useState9[0],setVisible=_useState9[1],_useState10=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(""),actionCode=_useState10[0],setA
1ctionCode=_useState10[1],_useState11=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(""),actionType=_useState11[0],setActionType=_useState11[1],_useState12=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),classifyVisible=_useState12[0],setClassifyVisible=_useState12[1];(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){getCommonData(setBondMarketData,setBondMarketLoading)}),[]),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){bondMarketDataRef.current=bondMarketData}),[bondMarketData]);var rebuildObj=function(_){var e=_.match(/(\S*)\[/)[1],t=_.match(/\[.*?\]/g)[0],a=_.match(/\](\S*)/)[1];e=e.replace(/^(\s|\{)+|(\s|\:)+$/g,""),t=(t=t.replace(/^(\s|\[)+|(\s|\])+$/g,"")).split(",");for(var n=0;n<t.length;n++)t[n]=t[n]?'"'+t[n]+'"':"null";return'{"'+e+'":['+(t=t.join(","))+"]"+a},updateSocketData=function(_){var e=JSON.parse(_),t=getKeys(e)[0],a=deepCopy(bondMarketDataRef.current);a.map((function(_){t==_.quoteCode&&e[t]&&e[t][1]&&moment__WEBPACK_IMPORTED_MODULE_11___default()(e[t][1]).valueOf()>=moment__WEBPACK_IMPORTED_MODULE_11___default()(_.date).valueOf()&&(_.tradePrice=e[t]&&e[t][2]?e[t][2]:_.tradePrice,_.openPrice=e[t]&&e[t][3]?e[t][3]:_.openPrice,_.highPrice=e[t]&&e[t][4]?e[t][4]:_.highPrice,_.lowPrice=e[t]&&e[t][5]?e[t][5]:_.lowPrice,_.range=e[t]&&e[t][7]?e[t][7]-0:_.range,_.rangePercent=e[t]&&e[t][8]?-1!=e[t][8].indexOf("+")?e[t][8].slice(1):e[t][8]:_.rangePercent,_.date=e[t]&&e[t][1]?e[t][1]:_.date)})),setBondMarketData(a)},getKeys=function(_){var e=[];for(var t in _)_.hasOwnProperty(t)&&e.push(t);return e},deepCopy=function deepCopy(){var sourceObj=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},targetObj=Array.isArray(sourceObj)?[]:{};for(var prop in sourceObj)"object"===typeof sourceObj[prop]?sourceObj[prop]instanceof Object?targetObj[prop]=deepCopy(sourceObj[prop]):targetObj[prop]=sourceObj[prop]:"function"===typeof sourceObj[prop]?targetObj[prop]=eval(sourceObj[prop].toString()):targetObj[prop]=sourceObj[prop];return targetObj},getCommonData=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_14__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark((function _(e,t){var a,n,r;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return a=js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t"):"",t(!0),_.next=4,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_9__.gZ)({categoryCode:parameters.secondChannelId,pageNo:pageNo,pageSize:pageSize,showArea:1},a);case 4:0==(n=_.sent).code?(e(pageNo-0==1?n.data.list:[].concat((0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_15__.Z)(bondMarketData),(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_15__.Z)(n.data.list))),setTotal(n.data.total),r=[],n.data.list.map((function(_){r.push(_.quoteCode)})),setSocketCodeArr(r),setPageNo(pageNo-0+1),setHasMore(pageNo-0<n.data.pages)):antd_mobile__WEBPACK_IMPORTED_MODULE_12__.FN.show({icon:"fail",content:n.data||"\u83b7\u53d6\u4fe1\u606f\u5931\u8d25\uff01"}),t(!1);case 7:case"end":return _.stop()}}),_)})));return function(e,t){return _.apply(this,arguments)}}(),loadMore=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_14__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark((function _(){return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,getCommonData(setBondMarketData,setBondMarketLoading);case 2:case"end":return _.stop()}}),_)})));return function(){return _.apply(this,arguments)}}(),updateIsQuoter=function(_,e){var t=deepCopy(bondMarketData);t.map((function(t){t.quoteCode==_&&(t.isQuoteOrder=e)})),setBondMarketData(t),setVisible(!1)},addPocket=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_14__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark((function _(e){var t,a;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return t=js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t"):"",_.next=3,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_9__.oq)({quoteCode:e},t);case 3:0==(a=_.sent).code?(updateIsQuoter(e,!0),antd_mobile__WEBPACK_IMPORTED_MODULE_12__.FN.show({icon:"success",content:"\u6
1dfb\u52a0\u81ea\u9009\u6210\u529f\uff01"})):antd_mobile__WEBPACK_IMPORTED_MODULE_12__.FN.show({icon:"fail",content:a.data||"\u6dfb\u52a0\u81ea\u9009\u5931\u8d25\uff01"});case 5:case"end":return _.stop()}}),_)})));return function(e){return _.apply(this,arguments)}}(),removePocket=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_14__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark((function _(e){var t,a;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return t=js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t"):"",_.next=3,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_9__.Ui)({quoteCode:e},t);case 3:0==(a=_.sent).code?(updateIsQuoter(e,!1),antd_mobile__WEBPACK_IMPORTED_MODULE_12__.FN.show({icon:"success",content:"\u5220\u9664\u81ea\u9009\u6210\u529f\uff01"})):antd_mobile__WEBPACK_IMPORTED_MODULE_12__.FN.show({icon:"fail",content:a.data||"\u5220\u9664\u81ea\u9009\u5931\u8d25\uff01"});case 5:case"end":return _.stop()}}),_)})));return function(e){return _.apply(this,arguments)}}(),calculateActionList=function(){return actionType?[{text:"\u5220\u81ea\u9009",key:"minus",onClick:function(){removePocket(actionCode)}}]:[{text:"\u52a0\u81ea\u9009",key:"add",onClick:function(){addPocket(actionCode)}}]},calculateName=function(_){var e=parameters.currentChannel.quoteCategoryListVo.filter((function(e){return e.categoryCode==_}));return e.length||parameters.currentChannel.quoteCategoryListVo.map((function(t,a){var n=t.quoteCategoryListVo&&t.quoteCategoryListVo.length&&t.quoteCategoryListVo.filter((function(e){return e.categoryCode==_}));n&&n.length&&(e=n)})),e&&e.length?e[0].categoryName:""},calculateHref=function(_){return parameters.secondUrl?_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/"+parameters.url+"/"+parameters.secondUrl+"/"+_:_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/"+parameters.url+"/"+_},showBrothers=function(){var _=calculateName(parameters.secondChannelId);return-1!=["\u4e0a\u671f\u6240","\u4e0a\u671f\u80fd\u6e90","\u5927\u5546\u6240","\u90d1\u5546\u6240","\u5e7f\u5dde\u671f\u8d27"].indexOf(_)?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().classifySets,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span",{children:_}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile_icons__WEBPACK_IMPORTED_MODULE_17__.Z,{onClick:function(){return setClassifyVisible(!0)}})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile__WEBPACK_IMPORTED_MODULE_12__.Vb,{cancelText:"\u53d6\u6d88",visible:classifyVisible,actions:[{text:"\u4e0a\u671f\u6240",key:"1",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/shanghai"}},{text:"\u4e0a\u671f\u80fd\u6e90",key:"2",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/energy"}},{text:"\u5927\u5546\u6240",key:"3",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/dalian"}},{text:"\u90d1\u5546\u6240",key:"4",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/zhengshangstation"}},{text:"\u5e7f\u5dde\u671f\u8d27",key:"5",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/guangzhoustation"}}],onClose:function(){return setClassifyVisible(!1)}})]}):-1!=["\u7ebd\u7ea6NYMEX","\u7ebd\u7ea6COMEX","\u829d\u52a0\u54e5CBOT","\u829d\u52a0\u54e5CME","\u829d\u52a0\u54e5CBOE","\u4f26\u6566LME","\u6d32\u9645ICE","\u4e1c\u4eacTOCM","\u9999\u6e2fHKEX"].indexOf(_)?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().classifySets,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span",{children:_}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile_icons__WEBPACK_IMPORTED_MODULE_17__.Z,{onClick:function(){return setClassifyVisible(!0)}})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile__WEBPACK_IMPORTED_MODULE_12__.Vb,{cancelText:"\u53d6\u6d88",visible:classifyVisible,actions:[{text:"\u7ebd\u7ea6NYMEX",key:"1",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/nymex"}},{text:"\u7ebd\u7ea6COMEX",key:"2",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/comex"}},{text:"\u829d\u52a0\u54e5CBOT",key:"3",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/cbot"}},{text:"\u829d\u52a0\u54e5CME",key:"4",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/cme"}},{text:"\u829d\u52a0\u54e5CBOE",key:"5",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/cboe"}},{text:"\u4f26\u6566LME",key:"6",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/lme"}},{text:"\u6d32\u9645ICE",key:"7",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/ice"}},{text:"\u4e1c\u4eacTOCM",key:"8",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/tocm"}},{text:"\u9999\u6e2fHKEX",key:"9",onClick:function(){location.href=_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quotes/futures/hkex"}}],onClose:function(){return setClassifyVisible(!1)}})]}
1):-1!=["\u4e0a\u91d1\u6240"].indexOf(_)?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().classifySets,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span",{children:_})})}):""},columns=[{title:"\u540d\u79f0",dataIndex:"name",key:"name",align:"left",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().name,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quote/"+e.quoteCode,target:"_blank",children:e.name})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{style:{color:"#9898a6"},children:e.quotationShowName})]})}},{title:"\u6700\u65b0\u4ef7",dataIndex:"tradePrice",key:"tradePrice"},{title:"\u6da8\u8dcc\u5e45\u5ea6",dataIndex:"rangePercent",key:"rangePercent",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span",{className:e.range<0?_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().tableGreen:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().tableRed,children:e.range>0?"+"+_:_})}},{title:"",valueType:"option",key:"option",align:"right",render:function(_,e,t,a){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile_icons__WEBPACK_IMPORTED_MODULE_18__.Z,{style:{fontSize:"18px"},onMouseOver:function(){setActionType(e.isQuoteOrder),setActionCode(e.quoteCode)},onClick:function(){setVisible(!0)}})}}],CustomEmpty=function(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{style:{flex:"1",marginTop:"50px",marginBottom:"50px",textAlign:"center"},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("img",{src:_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/img/quotes/nodata.svg",width:300})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{style:{lineHeight:"36px",color:"rgba(0,0,0,0.25)"},children:"\u6682\u65e0\u6570\u636e"})]})},isPersonalInfoResolved=null===userInfo||userInfo&&"{}"!==JSON.stringify(userInfo),showGoldVipNotice=parameters.showGoldVipNotice&&isPersonalInfoResolved&&!(0,_js_goldVip__WEBPACK_IMPORTED_MODULE_10__.jH)(userInfo);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().bondMarketContent,children:[showBrothers(),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().bondMarketItem,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().bd,children:[showGoldVipNotice?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().goldVipNotice,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span",{className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().goldVipNoticeText,children:_js_goldVip__WEBPACK_IMPORTED_MODULE_10__.Fk}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/goldVip",className:_css_mobile_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_16___default().goldVipButton,children:"\u5f00\u901a\u9ec4\u91d1\u4f1a\u5458"})]}):null,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_19__.default,{locale:antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_lib_table__WEBPACK_IMPORTED_MODULE_21__.Z,{rowKey:function(_){return _.quoteCode+
1Math.floor(1e4*Math.random()+1)},loading:{indicator:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_22__.Z,{spin:!0}),spinning:bondMarketLoading},pagination:!1,columns:columns,dataSource:bondMarketData,locale:{emptyText:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(CustomEmpty,{})}})})]})}),bondMarketData.length?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile__WEBPACK_IMPORTED_MODULE_12__.v_,{loadMore:loadMore,hasMore:hasMore}):"",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_mobile__WEBPACK_IMPORTED_MODULE_12__.Vb,{extra:"\u8bf7\u9009\u62e9\u4f60\u8981\u8fdb\u884c\u7684\u64cd\u4f5c",cancelText:"\u53d6\u6d88",visible:visible,actions:calculateActionList(),onClose:function(){return setVisible(!1)}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(SocketItem_PC,{params:{data:socketCodeArr,updateSocketData:updateSocketData}})]})}catch(e){return null}};__webpack_exports__.Z=SpotsCommonListContent_Mobile},65487:function(_,e,t){"use strict";t(67294),t(17108);var a=t(7725),n=t(85893);e.Z=function(_){var e=_.errorCode,t=void 0===e?404:e;try{return 429==t?(0,n.jsx)(a.default,{is404:!1}):(0,n.jsx)(a.default,{is404:!0})}catch(r){return null}}},11600:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9405),antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0__),antd_lib_spin__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(89552),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(40037),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(67294),next_dynamic__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5152),_js_common__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(17108),js_cookie__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(31955),_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(50888),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(45316),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13__),_config_config__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36389),moment__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(30381),moment__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_6__),echarts__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(7927),_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(27918),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(85893),ChartContent_PC=function ChartContent_PC(props){try{var parameters=props.params,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),myChart=_useState[0],setMyChart=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([parameters.code?parameters.code:""]),socketCodeArr=_useState2[0],setSocketCodeArr=_useState2[1],dataRef=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(parameters.data),socketCodeArrRef=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(socketCodeArr),_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),highValue=_useState3[0],setHighValue=_useState3[1],_useState4=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),lowValue=_useState4[0],setLowValue=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),averageValue=_useState5[0],setAverageValue=_useState5[1];(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){parameters.data&¶meters.data.quoteTSDList&¶meters.data.quoteTSDList.length&&build(),dataRef.current=parameters.data}),[parameters.data]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){parameters.code?(setSocketCodeArr([parameters.code]),socketCodeArrRef.current=[parameters.code]):(setSocketCodeArr([]),socketCodeArrRef.current=[]),setMyChart(null)}),[parameters.code]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(props.onRef,(function(){return{updateSocketData:updateSocketData}}));var rebuildObj=function(_){var e=_.match(/(\S*)\[/)[1],t=_.match(/\[.*?\]/g)[0],a=_.match(/\](\S*)/)[1];e=e.replace(/^(\s|\{)+|(\s|\:)+$/g,""),t=(t=t.replace(/^(\s|\[)+|(\s|\])+$/g,"")).split(",");for(var n=0;n<t.length;n++)t[n]=t[n]?'"'+t[n]+'"':"null";return'{"'+e+'":['+(t=t.join(","))+"]"+a},updateSocketData=function(_){if(!parameters.data||parameters.data.quoteTSDList){var e=JSON.parse(_),t=getKeys(e)[0];if(t==socketCodeArrRef.current[0]){e[t][0]&&"v"==e[t][0]&&setTimeout((function(){parameters.getChartData(parameters.code,parameters.setData,parameters.setLoa
1ding)}),2e3);var a=dataRef.current&&dataRef.current.timeRange?generateXLine(dataRef.current.timeRange):[],n=e[t]&&e[t][1]?moment__WEBPACK_IMPORTED_MODULE_6___default()(e[t][1]).format("YYYY-MM-DD HH:mm"):"";if(a.indexOf(n)>-1){var r=deepCopy(dataRef.current);r.quoteTSDList=r.quoteTSDList?r.quoteTSDList:[],r.quoteTSDList.filter((function(_){return moment__WEBPACK_IMPORTED_MODULE_6___default()(_.tm).format("YYYY-MM-DD HH:mm")==(e[t]&&e[t][1]?moment__WEBPACK_IMPORTED_MODULE_6___default()(e[t][1]).format("YYYY-MM-DD HH:mm"):"")})).length?r.quoteTSDList.map((function(_){(e[t]&&e[t][1]?moment__WEBPACK_IMPORTED_MODULE_6___default()(e[t][1]).format("YYYY-MM-DD HH:mm"):"")==moment__WEBPACK_IMPORTED_MODULE_6___default()(_.tm).format("YYYY-MM-DD HH:mm")&&(_.close=e[t]&&e[t][2]?e[t][2]-0:_.close)})):e[t]&&e[t][2]&&r.quoteTSDList.push({close:e[t]&&e[t][2]?e[t][2]-0:"",time:moment__WEBPACK_IMPORTED_MODULE_6___default()(e[t]&&e[t][1]?e[t][1]:"").valueOf(),tm:e[t]&&e[t][1]?e[t][1]:""}),r.quoteTSDList&&r.quoteTSDList.sort((function(_,e){return _.time-e.time})),parameters.setData(r)}}}},floatAdd=function(_,e){var t,a,n;try{t=_.toString().split(".")[1].length}catch(r){t=0}try{a=e.toString().split(".")[1].length}catch(r){a=0}return(_*(n=Math.pow(10,Math.max(t,a)))+e*n)/n},floatMinus=function(_,e){var t,a,n;try{t=_.toString().split(".")[1].length}catch(r){t=0}try{a=e.toString().split(".")[1].length}catch(r){a=0}return((_*(n=Math.pow(10,Math.max(t,a)))-e*n)/n).toFixed(t>=a?t:a)},getKeys=function(_){var e=[];for(var t in _)_.hasOwnProperty(t)&&e.push(t);return e},deepCopy=function deepCopy(){var sourceObj=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},targetObj=Array.isArray(sourceObj)?[]:{};for(var prop in sourceObj)"object"===typeof sourceObj[prop]?sourceObj[prop]instanceof Object?targetObj[prop]=deepCopy(sourceObj[prop]):targetObj[prop]=sourceObj[prop]:"function"===typeof sourceObj[prop]?targetObj[prop]=eval(sourceObj[prop].toString()):targetObj[prop]=sourceObj[prop];return targetObj},generateTimeArr=function(_,e){for(var t=[],a=0;a<=(e-_)/6e4;a++)t.push(moment__WEBPACK_IMPORTED_MODULE_6___default()(_+6e4*a).format("YYYY-MM-DD HH:mm"));return t},generateXLine=function(_){for(var e=generateShowTime(_),t=[],a=[],n=0;n<e.length;n+=2)t.push(e.slice(n,n+2));for(var r=0;r<t.length;r++)a=[].concat((0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__.Z)(a),(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__.Z)(generateTimeArr(moment__WEBPACK_IMPORTED_MODULE_6___default()(t[r][0]).valueOf(),moment__WEBPACK_IMPORTED_MODULE_6___default()(t[r][1]).valueOf())));return a},generateShowTime=function(_){for(var e=_.split(/[|~]/),t=0;t<e.length;t++)e[t]=moment__WEBPACK_IMPORTED_MODULE_6___default()((0,_js_common__WEBPACK_IMPORTED_MODULE_3__.Tx)(new Date(e[t]))).format("YYYY-MM-DD HH:mm");return e},caculateYMax=function(){var _=Number(parameters.data.averAge),e=parameters.data.quoteTSDList.sort((function(_,e){return _.close-e.close}))[0].close,t=parameters.data.quoteTSDList.sort((function(_,e){return e.close-_.close}))[0].close;return Math.abs(t-_)>Math.abs(e-_)?Number(Number(_)+Math.abs(t-_)).toFixed(parameters.data.decimalDigits):Number(Number(_)+Math.abs(e-_)).toFixed(parameters.data.decimalDigits)},caculateYMin=function(){var _=parameters.data.averAge,e=parameters.data.quoteTSDList.sort((function(_,e){return _.close-e.close}))[0].close,t=parameters.data.quoteTSDList.sort((function(_,e){return e.close-_.close}))[0].close;return Math.abs(t-_)>Math.abs(e-_)?Number(Number(_)-Number(Math.abs(t-_))).toFixed(parameters.data.decimalDigits):Number(Number(_)-Number(Math.abs(e-_))).toFixed(parameters.data.decimalDigits)},option={tooltip:{trigger:"axis",position:"inside"},grid:[{id:"gd1",left:"6%",right:"6%",height:"85%",top:"5%"}],xAxis:[{type:"category",gridIndex:0,data:parameters.data&¶meters.data.timeRange?generateXLine(parameters.data.timeRange):[],axisLabel:{formatter:function(_,e){var t=generateShowTime(parameters.data.timeRange);return-1!=t.indexOf(_)?0!=t.indexOf(_)&&t.indexOf(_)%2===0?null:(0!=t.indexOf(_)&&t.indexOf(_)%1===0&&(t.indexOf(_),t.length),moment__WEBPACK_IMPORTED_MODULE_6___default()(_).format("HH:mm")):null},interval:function(_,e){return-1!=generateShowTime(parameters.data.timeRange).indexOf(e)&&1}},splitLine:{show:!1}}
1],yAxis:[{type:"value",axisLine:{show:!1},gridIndex:0,min:function(_){return caculateYMin()-0},max:function(_){return caculateYMax()-0},showMinLabel:!0,showMaxLabel:!0,axisLabel:{hideOverlap:!1,inside:!0,show:!0,formatter:function(_,e){return null}},z:4,splitLine:{show:!1,lineStyle:{color:"#181a23"}}}],series:[{name:"\u6536\u76d8\u4ef7",type:"line",smooth:!0,symbol:"none",data:parameters.data&¶meters.data.quoteTSDList?parameters.data.quoteTSDList.map((function(_){return[moment__WEBPACK_IMPORTED_MODULE_6___default()(_.time).format("YYYY-MM-DD HH:mm"),_.close]})):[],areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#CADAFC"},{offset:1,color:"#fff"}],global:!1}},lineStyle:{width:.1},emphasis:{lineStyle:{width:.3}},color:["#608AE3"],large:!0}]},build=function(){if(myChart)myChart.setOption(option),setHighValue(caculateYMax()-0),setLowValue(caculateYMin()-0),setAverageValue(parameters.data&¶meters.data.averAge?parameters.data.averAge:"");else{var _=document.getElementById("chartArea"+parameters.name),e=echarts__WEBPACK_IMPORTED_MODULE_7__.S1(_);setMyChart(e),e.setOption(option),setHighValue(caculateYMax()-0),setLowValue(caculateYMin()-0),setAverageValue(parameters.data&¶meters.data.averAge?parameters.data.averAge:"")}};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_lib_spin__WEBPACK_IMPORTED_MODULE_11__.default,{spinning:parameters.loading,wrapperClassName:"chartLoading",indicator:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__.Z,{spin:!0}),children:parameters.data&¶meters.data.quoteTSDList&¶meters.data.quoteTSDList.length?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default().chartWrap,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default().highValue,children:highValue}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default().lowValue,children:lowValue}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default().averageValue,children:averageValue}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_13___default().chartInner,id:"chartArea"+parameters.name,style:{height:"280px"}})]}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_8__.Z,{widthPercent:"35%",paddingTop:"30px",paddingBottom:"30px"})})}catch(e){return null}};__webpack_exports__.Z=ChartContent_PC},40967:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(82932),antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__),antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(31929),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15144),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__),antd_lib_table__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2307),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(75314),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(antd_lib_message_style__WEBPACK_IMPORTED_MODULE_2__),antd_lib_message__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(11187),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(30266),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(809),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(67294),next_dynamic__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5152),next_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(11163),_js_common__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(17108),js_cookie__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(31955),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(45316),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17__),_ant_design_icons__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(50888),antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(82925),_config_config__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(36389),_service_quotesService__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(81050),_component_pc_quotes_chartContent__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(11600),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(30381),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(27918),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(85893),CommonItem_PC=function CommonItem_PC(_ref){var onRef=_ref.onRef,params=_ref.params,colorType=_ref.colorType;try{var parameters=params,_useState=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(parameters.defaultList),exchangeData=_useState[0],setExchangeData=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!1),exchangeLoading=_useState2[0],setExchangeLoading=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(parameters.defaultList.length?parameters.defaultList[0].quoteCode:""),exchangeChartCode=_useState3[0],setExchangeChartCode=_useState3[1],_useState4=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),exchangeChartData=_useState4[0],setExchangeChartData=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!1),exchangeChartLoading=_useState5[0],setExchangeChartLoading=_useState5[1],exchangeDataRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(exchangeData),ChildRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();(0,react__WEBPACK_IMPORTED_MODULE_4__.useImperativeHandle)(onRef,(function(){return{updateSocketData:updateSocketData}})),(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){var _=[];parameters.defaultList.map((function(e){e.quoteCode&&_.push(e.quoteCode)})),parameters.setSocketCodeArr(_)}),[]),(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){exchangeChartCode&&(setExchangeChartData([]),getChartData(exchangeChartCode,setExchangeChartData,setExchangeChartLoading))}),[exchangeChartCode]),(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){exchangeDataRef.current=exchangeData}),[exchangeData]);var rebuildObj=function(_){var e=_.match(/(\S*)\[/)[1],t=_.match(/\[.*?\]/g)[0],a=_.match(/\](\S*)/)[1];e=e.replace(/^(\s|\{)+|(\s|\:)+$/g,""),t=(t=t.replace(/^(\s|\[)+|(\s|\])+$/g,"")).split(",");for(var n=0;n<t.length;n++)t[n]=t[n]?'"'+t[n]+'"':"null";return'{"'+e+'":['+(t=t.join(","))+"]"+a},updateSocketData=function(_){updateChild(_,exchangeDataRef.current,setExchangeData),ChildRef.current.updateSocketData(_)},updateChild=function(_,e,t){var a=JSON.parse(_),n=getKeys(a)[0],r=deepCopy(e),o=!1;
1r.map((function(_){a[n][8]&&"v"==a[n][8]?n==_.quoteCode&&(o=!0,_.tradePrice="--",_.openPrice="--",_.highPrice="--",_.lowPrice="--",_.range="--",_.rangePercent="--",_.date="--"):n==_.quoteCode&&a[n]&&a[n][1]&&moment__WEBPACK_IMPORTED_MODULE_12___default()(a[n][1]).valueOf()>=moment__WEBPACK_IMPORTED_MODULE_12___default()(_.date).valueOf()&&(o=!0,_.tradePrice=a[n]&&a[n][2]?a[n][2]:_.tradePrice,_.openPrice=a[n]&&a[n][3]?a[n][3]:_.openPrice,_.highPrice=a[n]&&a[n][4]?a[n][4]:_.highPrice,_.lowPrice=a[n]&&a[n][5]?a[n][5]:_.lowPrice,_.range=a[n]&&a[n][7]?a[n][7]-0:_.range,_.rangePercent=a[n]&&a[n][8]?-1!=a[n][8].indexOf("+")?a[n][8].slice(1):a[n][8]:_.rangePercent,_.date=a[n]&&a[n][1]?a[n][1]:_.date)})),o&&t(r)},getKeys=function(_){var e=[];for(var t in _)_.hasOwnProperty(t)&&e.push(t);return e},deepCopy=function deepCopy(){var sourceObj=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},targetObj=Array.isArray(sourceObj)?[]:{};for(var prop in sourceObj)"object"===typeof sourceObj[prop]?sourceObj[prop]instanceof Object?targetObj[prop]=deepCopy(sourceObj[prop]):targetObj[prop]=sourceObj[prop]:"function"===typeof sourceObj[prop]?targetObj[prop]=eval(sourceObj[prop].toString()):targetObj[prop]=sourceObj[prop];return targetObj},getCommonData=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_15__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().mark((function _(e,t,a,n){var r,o,s;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return r=js_cookie__WEBPACK_IMPORTED_MODULE_8__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_8__.Z.get("t"):"",a(!0),_.next=4,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_10__.gZ)({categoryCode:calculateCode(e),pageNo:1,pageSize:5,showArea:1},r);case 4:0==(o=_.sent).code?(t(o.data.list),o.data.list&&o.data.list.length?n(o.data.list[0].quoteCode):n(""),s=[],o.data.list.map((function(_){_.quoteCode&&s.push(_.quoteCode)})),parameters.setSocketCodeArr(s)):antd_lib_message__WEBPACK_IMPORTED_MODULE_16__.default.error(o.data||"\u83b7\u53d6"+e+"\u4fe1\u606f\u5931\u8d25\uff01"),a(!1);case 7:case"end":return _.stop()}}),_)})));return function(e,t,a,n){return _.apply(this,arguments)}}(),getChartData=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_15__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().mark((function _(e,t,a){var n,r;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return n=js_cookie__WEBPACK_IMPORTED_MODULE_8__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_8__.Z.get("t"):"",a(!0),_.next=4,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_10__.HN)({symbol:e,resolution:1},n);case 4:0==(r=_.sent).code?(r.data.averAge=Number(r.data.averAge).toFixed(r.data.decimalDigits)-0,r.data.quoteTSDList&&r.data.quoteTSDList.sort((function(_,e){return _.time-e.time})),r.data.quoteTSDList&&r.data.quoteTSDList.map((function(_){_.close=Number(_.close).toFixed(r.data.decimalDigits)-0})),t(r.data)):antd_lib_message__WEBPACK_IMPORTED_MODULE_16__.default.error(r.data||"\u83b7\u53d6"+name+"\u4fe1\u606f\u5931\u8d25\uff01"),setTimeout((function(){a(!1)}),1e3);case 7:case"end":return _.stop()}}),_)})));return function(e,t,a){return _.apply(this,arguments)}}(),calculateCode=function(_){var e=parameters.defaultNavList.filter((function(e){return e.categoryName==_}));return e&&e.length?e[0].categoryCode:""},columns=[{title:"\u540d\u79f0",dataIndex:"name",key:"name",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().name,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_9__.LX+"/quote/"+e.quoteCode,target:"_blank",children:_})})}},{title:"\u5f53\u524d\u503c",dataIndex:"tradePrice",key:"tradePrice",align:"center"},{title:"\u6da8\u8dcc\u989d",dataIndex:"range",key:"range",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{className:e.range<0?"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableGreen:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableRed:"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableRed:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableGreen,children:e.range>0?"+"+_:_})}},{title:"\u6da8\u8dcc\u5e45\u5ea6",dataIndex:"rangePercent",key:"rangePercent",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{className:e.range<0?"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableGreen:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableRed:"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableRed:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().tableGreen,children:e.range>0?"+"+_:_})}}];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().commonItem,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().hd,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{children:parameters.name}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_9__.LX+"/quotes/"+parameters.moreCode,target:"_blank",className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().more,children:["\u66f4\u591a",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("img",{src:_config_config__WEBPACK_IMPORTED_MODULE_9__.LX+"/img/more.svg",width:14,height:14})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().bd,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().graphic,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_quotes_chartContent__WEBPACK_IMPORTED_MODULE_11__.Z,{onRef:ChildRef,params:{data:exchangeChartData,getChartData:getChartData,setData:setExchangeChartData,code:exchangeChartCode,setLoading:setExchangeChartLoading,name:parameters.tag,loading:exchangeChartLoading}})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().listTable,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_18__.default,{locale:antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_19__.Z,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_lib_table__WEBPACK_IMPORTED_MODULE_20__.Z,{rowKey:"quoteCode",loading:{indicator:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_21__.Z,{spin:!0}),spinning:exchangeLoading},pagination:!1,showHeader:!1,columns:columns,dataSource:exchangeData,locale:{emptyText:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_13__.Z,{widthPercent:"35%",paddingTop:"30px",paddingBottom:"30px"})},rowClassName:function(_){return _.quoteCode===exchangeChartCode?"clickRowStyl":""},onRow:function(_){var e=null;return{onMouseEnter:function(t){_.quoteCode!==exchangeChartCode&&(e=setTimeout((function(){setExchangeChartCode(_.quoteCode)}),300))},onMouseLeave:function(_){clearTimeout(e)}}}})})})]})]})}catch(e){return null}};__webpack_exports__.Z=CommonItem_PC}
1,35378:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(40037),antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9405),antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(antd_lib_spin_style__WEBPACK_IMPORTED_MODULE_0__),antd_lib_spin__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(89552),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(75314),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(antd_lib_message_style__WEBPACK_IMPORTED_MODULE_1__),antd_lib_message__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(11187),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(30266),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(809),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(67294),next_dynamic__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5152),next_router__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(11163),_js_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17108),js_cookie__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(31955),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(45316),_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17__),_ant_design_icons__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(50888),_config_config__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(36389),_service_quotesService__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(81050),_component_pc_quotes_chartContent__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(11600),_component_pc_quotes_commonItem__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(40967),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(30381),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(27918),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(85893),SocketItem_PC=(0,next_dynamic__WEBPACK_IMPORTED_MODULE_4__.default)((function(){return Promise.all([__webpack_require__.e(6502),__webpack_require__.e(4402)]).then(__webpack_require__.bind(__webpack_require__,54402)).then((function(_){return _}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[54402]},modules:["../component/pc/quotes/goodsAllListContent.js -> ./socketItem"]}}),GoodsAllListContent_PC=function GoodsAllListContent_PC(_ref){var params=_ref.params,colorType=_ref.colorType;try{var parameters=params,_useState=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),importantLoading=_useState[0],setImportantLoading=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(parameters.importantData.list),importantData=_useState2[0],setImportantData=_useState2[1],importantDataRef=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(importantData),_useState3=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),socketCodeArr=_useState3[0],setSocketCodeArr=_useState3[1],_useState4=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),socketCodeArr1=_useState4[0],setSocketCodeArr1=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),socketCodeArr2=_useState5[0],setSocketCodeArr2=_useState5[1],_useState6=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),socketCodeArr3=_useState6[0],setSocketCodeArr3=_useState6[1],ChildRef1=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(),ChildRef2=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(),ChildRef3=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){havingImportant()&&getImportantData(havingImportant())}),[]),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){importantDataRef.current=importantData}),[importantData]);var rebuildObj=function(_){var e=_.match(/(\S*)\[/)[1],t=_.match(/\[.*?\]/g)[0],a=_.match(/\](\S*)/)[1];e=e.replace(/^(\s|\{)+|(\s|\:)+$/g,""),t=(t=t.replace(/^(\s|\[)+|(\s|\])+$/g,"")).split(",");for(var n=0;n<t.length;n++)t[n]=t[n]?'"'+t[n]+'"':"null";return'{"'+e+'":['+(t=t.join(","))+"]"+a},updateSocketData=function(_){updateChild(_,importantDataRef.current,setImportantData),ChildRef1.current.updateSocketData(_),ChildRef2.current.updateSocketData(_),ChildRef3.current.updateSocketData(_)},updateChild=function(_,e,t){var a=JSON.parse(_),n=getKeys(a)[0],r=deepCopy(e),o=!1;r.map((function(_){n==_.quoteCode&&a[n]&&a[n][1]&&moment__WEBPACK_IMPORTED_MODULE_12___default()(a[n][1]).valueOf()>=moment__WEBPACK_IMPORTED_MODULE_12___default()(_.date).valueOf()&&(o=!0,_.tradePrice=a[n]&&a[n][2]?a[n][2]:_.tradePrice,_.openPrice=a[n]&&a[n][3]?a[n][3]:_.openPrice,_.highPrice=a[n]&&a[n][4]?a[n][4]:_.highPrice,_.lowPrice=a[n]&&a[n][5]?a[n][5]:_.lowPrice,_.range=a[n]&&a[n][7]?a[n][7]-0:_.range,_.rangePercent=a[n]&&a[n][8]?-1!=a[n][8].indexOf("+")?a[n][8].slice(1):a[n][8]:_.rangePercent,_.date=a[n]&&a[n][1]?a[n][1]:_.date)})),o&&t(r)},getKeys=function(_){var e=[];for(var t in _)_.hasOwnProperty(t)&&e.push(t);return e},deepCopy=function deepCopy(){var sourceObj=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},targetObj=Array.isArray(sourceObj)?[]:{};for(var prop in sourceObj)"object"===typeof sourceObj[prop]?sourceObj[prop]instanceof Object?targetObj[prop]=deepCopy(sourceObj[prop]):targetObj[prop]=sourceObj[prop]:"function"===typeof sourceObj[prop]?targetObj[prop]=eval(sourceObj[prop].toString()):targetObj[prop]=sourceObj[prop];return targetObj},getImportantData=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_15__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark((function _(e){var t,a,n;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return t=js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_7__.Z.get("t"):"",setImportantLoading(!0),_.next=4,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_9__.gZ)({categoryCode:e,isImportantQuote:1,showArea:1},t);case 4:0==(a=_.sent).code?(setImportantData(a.data.list),n=[],a.data.list.map((function(_){_.quoteCode&&n.push(_.quoteCode)})),setSocketCodeArr(n)):antd_lib_message__WEBPACK_IMPORTED_MODULE_16__.default.error(a.data||"\u83b7\u53d6\u4fe1\u606f\u593
11\u8d25\uff01"),setImportantLoading(!1);case 7:case"end":return _.stop()}}),_)})));return function(e){return _.apply(this,arguments)}}(),havingImportant=function(){if(parameters.currentChannel&¶meters.currentChannel.quoteCategoryListVo&¶meters.currentChannel.quoteCategoryListVo.length){var _=parameters.currentChannel.quoteCategoryListVo.filter((function(_){return"\u91cd\u8981"==_.categoryName}));return _.length?_[0].categoryCode:null}return null},renderGlobal=function(_){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:(0,_js_common__WEBPACK_IMPORTED_MODULE_6__.cx)(_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketItem,_.range<0?"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketItemGreen:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketItemRed:"rugd"==colorType?_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketItemRed:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketItemGreen),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketName,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_8__.LX+"/quote/"+_.quoteCode,target:"_blank",children:_.name?_.name:"--"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketPrice,children:_.tradePrice?_.tradePrice:"--"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().marketRange,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{children:_.range>0?"+"+_.range:_.range}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span",{children:_.range>0?"+"+_.rangePercent:_.rangePercent})]})]},_.quoteCode)},calculateCode=function(_){var e=parameters.currentChannel.quoteCategoryListVo.filter((function(e){return e.categoryName==_}));return e&&e.length?e[0].categoryCode:""};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().globalContent,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().globalMarket,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().hd,children:"\u91cd\u8981"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_lib_spin__WEBPACK_IMPORTED_MODULE_18__.default,{spinning:importantLoading,indicator:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_19__.Z,{spin:!0}),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().bd,children:[importantData.length?"":(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_13__.Z,{widthPercent:"35%",paddingTop:"30px",paddingBottom:"30px"}),importantData.map((function(_,e){return renderGlobal(_)}))]})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div",{className:_css_pc_quotes_globalContent_module_scss__WEBPACK_IMPORTED_MODULE_17___default().commonList,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_quotes_commonItem__WEBPACK_IMPORTED_MODULE_11__.Z,{onRef:ChildRef1,colorType:colorType,params:{defaultList:parameters.data&¶meters.data[calculateCode("\u91d1\u5c5e\u94a2\u6750")]?parameters.data[calculateCode("\u91d1\u5c5e\u94a2\u6750")]:[],defaultNavList:parameters.currentChannel.quoteCategoryListVo,setSocketCodeArr:setSocketCodeArr1,name:"\u91d1\u5c
15e\u94a2\u6750",tag:"exchange",moreCode:"commodity/metal"}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_quotes_commonItem__WEBPACK_IMPORTED_MODULE_11__.Z,{onRef:ChildRef2,colorType:colorType,params:{defaultList:parameters.data&¶meters.data[calculateCode("\u80fd\u6e90\u5316\u5de5")]?parameters.data[calculateCode("\u80fd\u6e90\u5316\u5de5")]:[],defaultNavList:parameters.currentChannel.quoteCategoryListVo,setSocketCodeArr:setSocketCodeArr2,name:"\u80fd\u6e90\u5316\u5de5",tag:"goods",moreCode:"commodity/chemical"}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_component_pc_quotes_commonItem__WEBPACK_IMPORTED_MODULE_11__.Z,{onRef:ChildRef3,colorType:colorType,params:{defaultList:parameters.data&¶meters.data[calculateCode("\u519c\u4ea7\u54c1")]?parameters.data[calculateCode("\u519c\u4ea7\u54c1")]:[],defaultNavList:parameters.currentChannel.quoteCategoryListVo,setSocketCodeArr:setSocketCodeArr3,name:"\u519c\u4ea7\u54c1",tag:"marketIndex",moreCode:"commodity/agriculture"}})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(SocketItem_PC,{params:{data:[].concat((0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_20__.Z)(socketCodeArr),(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_20__.Z)(socketCodeArr1),(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_20__.Z)(socketCodeArr2),(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_20__.Z)(socketCodeArr3)),updateSocketData:updateSocketData}})]})}catch(e){return null}};__webpack_exports__.Z=GoodsAllListContent_PC},41754:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(82932),antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(antd_lib_config_provider_style__WEBPACK_IMPORTED_MODULE_0__),antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(31929),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15144),antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(antd_lib_table_style__WEBPACK_IMPORTED_MODULE_1__),antd_lib_table__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(2307),antd_lib_button_style__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1025),antd_lib_button_style__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(antd_lib_button_style__WEBPACK_IMPORTED_MODULE_2__),antd_lib_button__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(65400),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(75314),antd_lib_message_style__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(antd_lib_message_style__WEBPACK_IMPORTED_MODULE_3__),antd_lib_message__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(11187),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(30266),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(809),_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4__),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(67294),next_dynamic__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(5152),next_router__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(11163),_js_common__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(17108),js_cookie__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(31955),_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(85622),_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18__),_ant_design_icons__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(52745),_ant_design_icons__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(47399),_ant_design_icons__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(50888),antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(82925),_config_config__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(36389),_service_quotesService__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(81050),_js_goldVip__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(45439),moment__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(30381),moment__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_13__),_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(27918),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(85893),SocketItem_PC=(0,next_dynamic__WEBPACK_IMPORTED_MODULE_6__.default)((function(){return Promise.all([__webpack_require__.e(6502),__webpack_require__.e(4402)]).then(__webpack_require__.bind(__webpack_require__,54402)).then((function(_){return _}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[54402]},modules:["../component/pc/quotes/goodsCommonListContent.js -> ./socketItem"]}}),GoodsCommonListContent_PC=function GoodsCommonListContent_PC(_ref){var params=_ref.params,colorType=_ref.colorType;try{var parameters=params,userInfo=parameters.personalInfo,_useState=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(parameters.data.list),bondMarketData=_useState[0],setBondMarketData=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(!1),bondMarketLoading=_useState2[0],setBondMarketLoading=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(parameters.pageNo),pageNo=_useState3[0],setPageNo=_useState3[1],_useState4=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(10),pageSize=_useState4[0],setPageSize=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(parameters.data.total),total=_useState5[0],setTotal=_useState5[1],_useState6=(0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),socketCodeArr=_useState6[0],setSocketCodeArr=_useState6[1],bondMarketDataRef=(0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(bondMarketData);(0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)((function(){getCommonData(setBondMarketData,setBondMarketLoading)}),[pageNo,pageSize]),(0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)((function(){bondMarketDataRef.current=bondMarketData}),[bondMarketData]);var rebuildObj=function(_){var e=_.match(/(\S*)\[/)[1],t=_.match(/\[.*?\]/g)[0],a=_.match(/\](\S*)/)[1];e=e.replace(/^(\s|\{)+|(\s|\:)+$/g,""),t=(t=t.replace(/^(\s|\[)+|(\s|\])+$/g,"")).split(",");for(var n=0;n<t.length;n++)t[n]=t[n]?'"'+t[n]+'"':"null";return'{"'+e+'":['+(t=t.join(","))+"]"+a},updateSocketData=function(_){var e=JSON.parse(_),t=getKeys(e)[0],a=deepCopy(bondMarketDataRef.current);a.map((function(_){t==_.quoteCode&&e[t]&&e[t][1]&&moment__WEBPACK_IMPORTED_MODULE_13___default()(e[t][1]).valueOf()>=moment__WEBPACK_IMPORTED_MODULE_13___default()(_.date).valueOf()&&(_.tradePrice=e[t]&&e[t][2]?e[t][2]:_.tradePrice,_.openPrice=e[t]&&e[t][3]?e[t][3]:_.openPrice,_.highPrice=e[t]&&e[t][4]?e[t][4]:_.highPrice,_.lowPrice=e[t]&&e[t][5]?e[t][5]:_.lowPrice,_.range=e[t]&&e[t][7]?e[t][7]-0:_.range,_.rangePercent=e[t]&&e[t][8]?-1!=e[t][8].indexOf("+")?e[t][8].slice(1):e[t][8]:_.rangePercent,_.date=e[t]&&e[t][1]?e[t][1]:_.date)})),setBondMarketData(a)},getKeys=function(_){var e=[];for(var t in _)_.hasOwnProperty(t)&&e.push(t);return e},deepCopy=function deepCopy(){var sourceObj=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},targetObj=Array.isArray(sourceObj)?[]:{};for(var prop in sourceObj)"object"===typeof sourceObj[prop]?sourceObj[prop]instanceof Object?targetObj[prop]=deepCopy(sourceObj[prop]):targetObj[prop]=sourceObj[prop]:"function"===typeof sourceObj[prop]?targetObj[prop]=eval(sourceObj[prop].toString()):targetObj[prop]=sourceObj[prop];return targetObj},getCommonData=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().mark((function _(e,t){var a,n,r;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return a=js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t"):"",t(!0),_.next=4,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_11__.gZ)({categoryCode:parameters.secondChannelId,pageNo:pageNo,pageSize:pageSize,showArea:1},a);case 4:0==(n=_.sent).code?(e(n.data.list),setTotal(n.data.total),r=[],n.data.list.map((function(_){r.push(_.quoteCode)})),setSocketCodeArr(r)):antd_lib_message__WEBPACK_IMPORTED_MODULE_17__.default.error(n.data||"\u83b7\u53d6\u4fe1\u606f\u593
11\u8d25\uff01"),t(!1);case 7:case"end":return _.stop()}}),_)})));return function(e,t){return _.apply(this,arguments)}}(),addPocket=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().mark((function _(e){var t,a;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return t=js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t"):"",_.next=3,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_11__.oq)({quoteCode:e},t);case 3:0==(a=_.sent).code?(setBondMarketLoading(!0),setTimeout((function(){getCommonData(setBondMarketData,setBondMarketLoading)}),2e3),antd_lib_message__WEBPACK_IMPORTED_MODULE_17__.default.success("\u6dfb\u52a0\u81ea\u9009\u6210\u529f\uff01")):antd_lib_message__WEBPACK_IMPORTED_MODULE_17__.default.error(a.data||"\u6dfb\u52a0\u81ea\u9009\u5931\u8d25\uff01");case 5:case"end":return _.stop()}}),_)})));return function(e){return _.apply(this,arguments)}}(),removePocket=function(){var _=(0,_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__.Z)(_var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().mark((function _(e){var t,a;return _var_jenkins_home_workspace_Run_ZT_2richcn_node_modules_next_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_4___default().wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return t=js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t")?js_cookie__WEBPACK_IMPORTED_MODULE_9__.Z.get("t"):"",_.next=3,(0,_service_quotesService__WEBPACK_IMPORTED_MODULE_11__.Ui)({quoteCode:e},t);case 3:0==(a=_.sent).code?(setBondMarketLoading(!0),setTimeout((function(){getCommonData(setBondMarketData,setBondMarketLoading)}),2e3),antd_lib_message__WEBPACK_IMPORTED_MODULE_17__.default.success("\u5220\u9664\u81ea\u9009\u6210\u529f\uff01")):antd_lib_message__WEBPACK_IMPORTED_MODULE_17__.default.error(a.data||"\u5220\u9664\u81ea\u9009\u5931\u8d25\uff01");case 5:case"end":return _.stop()}}),_)})));return function(e){return _.apply(this,arguments)}}(),calculateName=function(_){var e=parameters.currentChannel.quoteCategoryListVo.filter((function(e){return e.categoryCode==_}));return e.length||parameters.currentChannel.quoteCategoryListVo.map((function(t,a){var n=t.quoteCategoryListVo&&t.quoteCategoryListVo.length&&t.quoteCategoryListVo.filter((function(e){return e.categoryCode==_}));n&&n.length&&(e=n)})),e&&e.length?e[0].categoryName:""},changePageNo=function(_,e){parameters.secondUrl?location.href=_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/quotes/"+parameters.url+"/"+parameters.secondUrl+"/"+_:location.href=_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/quotes/"+parameters.url+"/"+_},calculateHref=function(_){return parameters.secondUrl?_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/quotes/"+parameters.url+"/"+parameters.secondUrl+"/"+_:_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/quotes/"+parameters.url+"/"+_},itemRender=function(_,e,t){return"prev"===e?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("a",{children:"\u4e0a\u4e00\u9875"}):"next"===e?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("a",{children:"\u4e0b\u4e00\u9875"}):"jump-prev"==e||"jump-next"==e?t:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("a",{href:calculateHref(_),onClick:function(_){_.preventDefault()},children:_})},isPersonalInfoResolved=null===userInfo||userInfo&&"{}"!==JSON.stringify(userInfo),showGoldVipNotice=parameters.showGoldVipNotice&&isPersonalInfoResolved&&!(0,_js_goldVip__WEBPACK_IMPORTED_MODULE_12__.jH)(userInfo),columns=[{title:"\u540d\u79f0",dataIndex:"name",key:"name",align:"left",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().name,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/quote/"+e.quoteCode,target:"_blank",children:e.name})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("div",{style:{color:"#9898a6"},children:e.quotationShowName})]})}},{title:"\u6700\u65b0\u4ef7",dataIndex:"tradePrice",key:"tradePrice",align:"center"},{title:"\u5f00\u76d8\u4ef7",dataIndex:"openPrice",key:"openPrice",align:"center"},{title:"\u6700\u9ad8\u4ef7",dataIndex:"highPrice",key:"highPrice",align:"center"},{title:"\u6700\u4f4e\u4ef7",dataIndex:"lowPrice",key:"lowPrice",align:"center"},{title:"\u6da8\u8dcc\u989d",dataIndex:"range",key:"range",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{className:e.range<0?"rugd"==colorType?_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableGreen:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableRed:"rugd"==colorType?_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableRed:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableGreen,children:e.range>0?"+"+_:_})}},{title:"\u6da8\u8dcc\u5e45\u5ea6",dataIndex:"rangePercent",key:"rangePercent",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{className:e.range<0?"rugd"==colorType?_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableGreen:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableRed:"rugd"==colorType?_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableRed:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().tableGreen,children:e.range>0?"+"+_:_})}},{title:"\u65f6\u95f4",dataIndex:"date",key:"date",align:"center",render:function(_,e){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{style:{color:"#9898a6"},children:_})}},{title:"",valueType:"option",key:"option",align:"right",render:function(_,e,t,a){return e.isQuoteOrder?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(antd_lib_button__WEBPACK_IMPORTED_MODULE_19__.default,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_20__.Z,{}),size:"small",className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().minusBtn,onClick:function(){removePocket(e.quoteCode)},children:"\u5220\u81ea\u9009"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(antd_lib_button__WEBPACK_IMPORTED_MODULE_19__.default,{icon:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_21__.Z,{}),size:"small",className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().addBtn,onClick:function(){addPocket(e.quoteCode)},children:"\u52a0\u81ea\u9009"})}}];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().bondMarketContent,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().bondMarketItem,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().hd,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{children:calculateName(parameters.secondChannelId)})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().bd,children:[showGoldVipNotice?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)("div",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().goldVipNotice,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span",{className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().goldVipNoticeText,children:_js_goldVip__WEBPACK_IMPORTED_MODULE_12__.Fk}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("a",{href:_config_config__WEBPACK_IMPORTED_MODULE_10__.LX+"/goldVip",className:_css_pc_quotes_bondMarketContent_module_scss__WEBPACK_IMPORTED_MODULE_18___default().goldVipButton,children:"\u5f00\u901a\u9ec4\u91d1\u4f1a\u5458"})]}):null,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(antd_lib_config_provider__WEBPACK_IMPORTED_MODULE_22__.default,{locale:antd_lib_locale_zh_CN__WEBPACK_IMPORTED_MODULE_23__.Z,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(antd_lib_table__WEBPACK_IMPORTED_MODULE_24__.Z,{rowKey:"quoteCode",loading:{indicator:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_25__.Z,{spin:!0}),spinning:bondMarketLoading},pagination:{defaultCurrent:pageNo,size:"small",itemRender:itemRender,total:total,pageSize:pageSize,hideOnSinglePage:!0,onChange:changePageNo,showSizeChanger:!1},columns:columns,dataSource:bondMarketData,locale:{emptyText:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_component_pc_global_empty__WEBPACK_IMPORTED_MODULE_14__.Z,{widthPercent:"35%",paddingTop:"30px",paddingBottom:"30px"})}})})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(SocketItem_PC,{params:{data:socketCodeArr,updateSocketData:updateSocketData}})]})}catch(e){return null}};__webpack_exports__.Z=GoodsCommonListContent_PC},99401:function(_,e,t){"use strict";t.d(e,{Z:function(){return M}});t(54214);var a=t(12386),n=t(67294),r=(t(5152),t(11163),t(17108),t(31955),t(47607)),o=t.n(r),s=t(36389),c=t(41754),i=t(35378),u=t
1(85893),l=function(_){var e=_.params,t=_.colorType;try{var a=e,n=a.currentChannel&&a.currentChannel.categoryName?a.currentChannel.categoryName:"",r=a.secondChannelId;return(0,u.jsx)(u.Fragment,{children:"\u5546\u54c1"!=n||r?(0,u.jsx)(c.Z,{colorType:t,params:{data:a.data,importantData:a.importantData,defaultNavList:a.defaultNavList,code:a.code,currentChannel:a.currentChannel,secondChannelId:a.secondChannelId,pageNo:a.pageNo,url:a.url,secondUrl:a.secondUrl,personalInfo:a.personalInfo,showGoldVipNotice:a.showGoldVipNotice}}):(0,u.jsx)(i.Z,{colorType:t,params:{data:a.data,importantData:a.importantData,defaultNavList:a.defaultNavList,code:a.code,currentChannel:a.currentChannel,secondChannelId:a.secondChannelId,personalInfo:a.personalInfo,showGoldVipNotice:a.showGoldVipNotice}})})}catch(o){return null}},d=t(55348),E=t(89899),m=t(43952),M=function(_){try{var e=_.data,t=_.params||{},r=(0,n.useState)(e.navListData?e.navListData:[]),c=r[0],i=(r[1],(0,n.useState)(!1)),M=i[0],O=i[1],p=(0,n.useState)("rugd"),D=p[0],P=p[1];return(0,u.jsxs)("div",{className:o().allPage,children:[(0,u.jsxs)("div",{className:o().breadCrumb,children:[(0,d.aV)(e),(0,u.jsx)(m.Z,{colorType:D,setColorType:P})]}),(0,u.jsx)("div",{style:{width:1180,margin:"0 auto",lineHeight:0},children:(0,u.jsx)("div",{className:o().adThree,children:(0,u.jsx)("div",{className:o().adThreeInner,children:(0,u.jsx)(E.Z,{codeId:1015,adReady:M,setAdReady:O,wrapHeight:110,borderRadius:6})})})}),(0,u.jsxs)("div",{className:o().page,children:[(0,u.jsx)("div",{children:(0,u.jsx)("div",{className:o().side,children:(0,u.jsxs)(a.default,{style:{width:160},triggerSubMenuAction:"hover",mode:"vertical",selectedKeys:[e.currentChannel.length?e.currentChannel[0].categoryCode+e.currentChannel[0].categoryName:"selected"],children:[(0,u.jsx)(a.default.Item,{icon:(0,u.jsx)(d.pq,{}),children:(0,u.jsx)("a",{href:s.LX+"/quotes/selected",children:"\u81ea\u9009"})},"selected"),c.length&&c.map((function(_,e){return(0,d.Jn)(_)}))]})})}),(0,u.jsx)("div",{className:o().main,children:(0,u.jsx)(l,{colorType:D,params:{data:e.dataListData,importantData:e.importantListData,defaultNavList:c,code:e.channelId,url:(0,d.oT)(e.channelId,e),currentChannel:e.currentChannel[0],secondChannelId:e.secondChannelId,secondUrl:(0,d.oT)(e.secondChannelId,e),pageNo:e.page,personalInfo:t.personalInfo,showGoldVipNotice:t.showGoldVipNotice}})})]})]})}catch(C){return null}}},45439:function(_,e,t){"use strict";t.d(e,{Fk:function(){return r},$E:function(){return o},p1:function(){return c},CU:function(){return i},vJ:function(){return u},T0:function(){return E},jH:function(){return O},W6:function(){return p},J4:function(){return D},lB:function(){return P},I7:function(){return C}});var a=t(30381),n=t.n(a),r="\u4e0a\u91d1\u6240\u8be6\u60c5\u9875\u4e0e\u5341\u6863\u6df1\u5ea6\u884c\u60c5\u9700\u5f00\u901a\u9ec4\u91d1\u4f1a\u5458\u540e\u67e5\u770b\u3002",o=[{label:"10\u6863",description:"\u4e70\u5356\u76d8\u6df1\u5ea6"}
1,{label:"3\u4e2a",description:"\u4e0a\u91d1\u6240\u6838\u5fc3\u54c1\u79cd"},{label:"PC",description:"\u7f51\u9875\u7aef\u67e5\u770b"}],s=[{key:"1\u4e2a\u6708",title:"1\u4e2a\u6708",features:["\u4e0a\u91d1\u6240\u8be6\u60c5\u9875\u6743\u9650","\u5341\u6863\u6df1\u5ea6\u884c\u60c5","\u7f51\u9875\u7aef\u8bbf\u95ee\u89e3\u9501"]},{key:"3\u4e2a\u6708",title:"3\u4e2a\u6708",badge:"\u63a8\u8350",highlight:"\u8f83\u6708\u4ed8\u66f4\u4f18\u60e0",features:["\u8f83\u6708\u4ed8\u66f4\u4f18\u60e0","\u4e0a\u91d1\u6240\u5168\u90e8\u54c1\u79cd\u8986\u76d6","\u6388\u6743\u884c\u60c5\u8eab\u4efd\u6807\u8bc6"]},{key:"6\u4e2a\u6708",title:"6\u4e2a\u6708",features:["\u4e2d\u957f\u671f\u7a33\u5b9a\u8bbf\u95ee","\u4e0a\u91d1\u6240\u5168\u90e8\u54c1\u79cd\u8986\u76d6","\u5341\u6863\u6df1\u5ea6\u884c\u60c5"]},{key:"12\u4e2a\u6708",title:"12\u4e2a\u6708",features:["\u5168\u5e74\u6301\u7eed\u8bbf\u95ee","\u5341\u6863\u6df1\u5ea6\u884c\u60c5","\u4e13\u5c5e\u5ba2\u670d\u652f\u6301"]}],c=[{tag:"\u6743",title:"\u5b98\u65b9\u6388\u6743",description:"\u7a81\u51fa\u4e0a\u6d77\u9ec4\u91d1\u4ea4\u6613\u6240\u5b98\u65b9\u6388\u6743\u6765\u6e90\uff0c\u8be6\u60c5\u9875\u548c\u884c\u60c5\u9875\u5747\u663e\u793a\u6388\u6743\u6807\u8bc6\u3002"},{tag:"\u6df1",title:"\u5341\u6863\u6df1\u5ea6",description:"\u5c55\u793a\u5356\u5341\u81f3\u4e70\u5341\u7684\u4ef7\u683c\uff0c\u907f\u514d\u53ea\u770b\u5355\u4e00\u6210\u4ea4\u4ef7\u3002"},{tag:"\u9501",title:"\u4e13\u4eab\u62e6\u622a",description:"\u672a\u5f00\u901a\u7528\u6237\u8fdb\u5165 AUTD \u7b49\u4e0a\u91
1d1\u6240\u884c\u60c5\u9875\u65f6\uff0c\u5c55\u793a\u6e05\u6670\u62e6\u622a\u4e0e\u5f00\u901a\u5165\u53e3\u3002"},{tag:"\u901a",title:"\u8d2d\u4e70\u5373\u5f00\u901a",description:"\u652f\u4ed8\u6210\u529f\u540e\u5217\u8868\u3001\u8be6\u60c5\u3001\u5341\u6863\u6df1\u5ea6\u4e09\u5904\u6743\u9650\u540c\u6b65\u89e3\u9501\u3002"}],i=[{step:"1",title:"\u767b\u5f55\u8d26\u53f7",description:"\u786e\u4fdd\u8d2d\u4e70\u6743\u76ca\u7ed1\u5b9a\u5230\u5f53\u524d\u7528\u6237\u3002"},{step:"2",title:"\u9009\u62e9\u5957\u9910",description:"\u5728\u9ec4\u91d1\u4f1a\u5458\u8be6\u60c5\u9875\u9009\u62e9\u5468\u671f\uff0c\u8fdb\u5165\u652f\u4ed8\u786e\u8ba4\u3002"},{step:"3",title:"\u5b8c\u6210\u652f\u4ed8",description:"\u652f\u4ed8\u6210\u529f\u540e\u7cfb\u7edf\u5199\u5165\u9ec4\u91d1\u4f1a\u5458\u6743\u9650\u3002"},{step:"4",title:"\u67e5\u770b\u884c\u60c5",description:"\u8fd4\u56de\u4e0a\u91d1\u6240\u884c\u60c5\u6216 AUTD \u8be6\u60c5\u9875\uff0c\u5341\u6863\u6df1\u5ea6\u5373\u65f6\u5c55\u793a\u3002"}],u=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e={};return _.forEach((function(_){_&&_.goodsSpecsValues&&(e[String(_.goodsSpecsValues)]=_)})),e},l=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=String(_).match(/(\d+)\s*\u4e2a\u6708/);return e?Number(e[1]):Number.MAX_SAFE_INTEGER},d=function(_){return s.find((function(e){return e.key===_}))},E=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(_).filter((function(e){return _[e]})).sort((function(_,e){var t=l(_),a=l(e);return t!==a?t-a:_.localeCompare(e)})).map((function(_){var e=d(_)||{};return{key:_,title:e.title||_,badge:e.badge,highlight:e.highlight,features:e.features||["\u4e0a\u91d1\u6240\u8be6\u60c5\u9875\u6743\u9650","\u5341\u6863\u6df1\u5ea6\u884c\u60c5","".concat(_,"\u8bbf\u95ee\u6743\u76ca")]}}))},m=function(_){if(!_)return null;var e="string"===typeof _?_.replace(/\-/g,"/"):_,t=new Date(e);return Number.isNaN(t.getTime())?null:t},M=function(_){var e=m(_);return!!e&&function(){var _=new Date,e=_.getTimezoneOffset();return new Date(_.getTime()+60*(480+e)*1e3)}()>e},O=function(_){return!(!_||1!==Number(_.memberType))&&(!_.memberDeadline||!M(_.memberDeadline))},p=function(_){return _?1===Number(_.memberType)?M(_.memberDeadline)?"\u9ec4\u91d1\u4f1a\u5458\u5df2\u8fc7\u671f":"\u9ec4\u91d1\u4f1a\u5458\u5df2\u5f00\u901a":_.memberDeadline?"\u9ec4\u91d1\u4f1a\u5458\u5df2\u8fc7\u671f":"\u9ec4\u91d1\u4f1a\u5458\u672a\u5f00\u901a":"\u672a\u767b\u5f55"},D=function(_){if(!_)return"--";if(1===Number(_.memberType)&&!_.memberDeadline)return"\u6c38\u4e45\u4f1a\u5458";var e=m(_.memberDeadline);return e?n()(e).format("YYYY-MM-DD HH:mm:ss"):"--"},P=function(_){return _&&(1===Number(_.memberType)||_.memberDeadline)?"\u7ee7\u7eed\u7eed\u8d39":"\u7acb\u5373\u5f00\u901a"},C=function(_){if(!_||void 0===_.price||null===_.price||""===_.price)return"--";var e=Number(_.price);return Number.isNaN(e)?_.price:Number.isInteger(e)?"".concat(e):"".concat(e.toFixed(2))}},7725:function(_,e,t){"use strict";t.r(e);t(67294),t(41664);var a=t(9008),n=t(65581),r=t.n(n),o=t(36389),s=t(85893);e.default=function(_){var e=_.is404,t=void 0===e||e;return(0,s.jsxs)("div",{className:r().wrap,children:[(0,s.jsxs)(a.default,{children:[(0,s.jsx)("title",{children:t?"404":"Busy"}),(0,s.jsx)("link",{rel:"shortcut icon",href:o.LX+"/img/favicon.ico",type:"image/x-icon"})]}),(0,s.jsx)("div",{className:r().img,children:(0,s.jsx)("img",{src:o.LX+(t?"/img/404.jpg":"/img/busy.jpg")})}),t?(0,s.jsx)("p",{className:r().text,children:"\u60a8\u8981\u627e\u7684\u9875\u9762\u8ff7\u8def\u4e86"}):(0,s.jsx)("p",{className:r().text,children:"\u5f53\u524d\u9875\u9762\u8bbf\u95ee\u91cf\u8fc7\u5927\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5"}),t?(0,s.jsx)("a",{className:r().backHome,href:o.LX+"/",children:"\u8fd4\u56de\u9996\u9875"}):(0,s.jsx)("a",{className:r().backHome,onClick:function(){location.reload()},children:"\u5237\u65b0\u91cd\u8bd5"})]})}},87636:function(_,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return T},default:function(){return L}});var a=t(67294),n=t(9008),r=(t(5152),t(36389)),o=t(75623),s=t(35797),c=t(87143),i=t(99401),u=t(48250),l=t.n(u),d=(t(31955),t(46127)),E=t.n(d),m=t(47186),M=t(98441),O=t(85893),p=function(_){try{var e=_.data,t=_.personalInfo,n=_.showGoldVipNotice,o=(0,a.useState)(e.navListData?e.navListData:[]),s=o[0];o[1];return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:E().navList,children:(0,O.jsxs)(m.mQ,{defaultActiveKey:"9",style:{"--active-line-height":"0"},children:[(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/selected",children:"\u81ea\u9009"})},"1"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/exchange",children:"\u5916\u6c47"})},"3"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/commodity",children:"\u5546\u54c1"})},"4"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/futures/shanghai",children:"\u56fd\u5185\u671f\u8d27"})},"7"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/futures/nymex",children:"\u56fd\u9645\u671f\u8d27"})},"8"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/sh
1angjin",children:"\u73b0\u8d27"})},"9"),(0,O.jsx)(m.mQ.Tab,{title:(0,O.jsx)("a",{href:r.LX+"/quotes/stock",children:"\u80a1\u6307"})},"5")]})}),(0,O.jsx)("div",{children:(0,O.jsx)(M.Z,{params:{data:e.dataListData,importantData:e.importantListData,defaultNavList:s,code:function(_){var e=s.filter((function(e){return e.categoryName==_}));return e&&e.length?e[0].categoryCode:""}("\u5546\u54c1"),currentChannel:e.currentChannel[0],secondChannelId:e.secondChannelId,pageNo:e.page,personalInfo:t,showGoldVipNotice:n}})})]})}catch(c){return null}},D=t(34740),P=t(60721),C=t(28454),f=t.n(C),b=t(65487);function g(_,e){var t="undefined"!==typeof Symbol&&_[Symbol.iterator]||_["@@iterator"];if(!t){if(Array.isArray(_)||(t=function(_,e){if(!_)return;if("string"===typeof _)return h(_,e);var t=Object.prototype.toString.call(_).slice(8,-1);"Object"===t&&_.constructor&&(t=_.constructor.name);if("Map"===t||"Set"===t)return Array.from(_);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(_,e)}(_))||e&&_&&"number"===typeof _.length){t&&(_=t);var a=0,n=function(){};return{s:n,n:function(){return a>=_.length?{done:!0}:{done:!1,value:_[a++]}},e:function(_){throw _},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){t=t.call(_)},n:function(){var _=t.next();return o=_.done,_},e:function(_){s=!0,r=_},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw r}}}}function h(_,e){(null==e||e>_.length)&&(e=_.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=_[t];return a}var T=!0,L=function(_){var e=_.flag,t=_.data,u=_.errorCode,d=(0,a.useState)({}),E=d[0],m=d[1],M=(0,a.useState)(""),C=M[0],h=M[1],T=(0,a.useState)(""),L=T[0],R=T[1],I=((0,a.useContext)(o.sk),(0,a.useRef)(null));(0,a.useEffect)((function(){new MutationObserver((function(_){var e,t=g(_);try{for(t.s();!(e=t.n()).done;){"childList"===e.value.type&&I.current&&I.current.zh_init()}}catch(a){t.e(a)}finally{t.f()}})).observe(document,{childList:!0,subtree:!0})}),[]);var A=function _(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.find((function(t){t.categoryCode===e?a=t.categoryName:t.quoteCategoryListVo&&t.quoteCategoryListVo.length&&(a=_(e,t.quoteCategoryListVo,a))})),a},k=function(){var _="";return t.secondChannelId?(_=A(t.secondChannelId,t.navListData))+"\u884c\u60c5_"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf-99\u671f\u8d27":t.channelId?"selected"==t.channelId?(_="\u6211\u7684\u81ea\u9009")+"\u884c\u60c5_"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf-99\u671f\u8d27":(_=A(t.channelId,t.navListData))+"\u884c\u60c5_"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf-99\u671f\u8d27":void 0},B=function(){var _="";return t.secondChannelId?(_=A(t.secondChannelId,t.navListData))+"\u884c\u60c5,"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf,99\u671f\u8d27":t.channelId?"selected"==t.channelId?(_="\u6211\u7684\u81ea\u9009")+"\u884c\u60c5,"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf,99\u671f\u8d27":(_=A(t.channelId,t.navListData))+"\u884c\u60c5,"+_+"\u5b9e\u65f6\u884c\u60c5\u8d70\u52bf,99\u671f\u8d27":void 0};return u?(0,O.jsx)(b.Z,{errorCode:u}):e?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(n.default,{children:[(0,O.jsx)("title",{children:k()}),(0,O.jsx)("meta",{name:"keywords",content:B()}),(0,O.jsx)("meta",{name:"description",content:""}),(0,O.jsx)("link",{rel:"shortcut icon",href:r.LX+"/img/favicon.ico",type:"image/x-icon"}),(0,O.jsx)("script",{src:r.LX+"/noSupport.js"}),(0,O.jsx)("link",{rel:"canonical",href:r.DD+"/quotes/commodity/shangjin"+(1==t.page?"":"/"+t.page)})]}),(0,O.jsxs)("div",{className:f().mobileMainWrap,children:[(0,O.jsxs)("div",{className:f().contentWrap,children:[(0,O.jsx)(D.Z,{params:{pv:I,setPersonalInfo:m,personalInfo:E,refreshTag:C,setRefreshTag:h,liveStatusRefresh:L,current:"quotes"}}),(0,O.jsx)(p,{data:t,personalInfo:E,showGoldVipNotice:!0})]}),(0,O.jsx)("div",{className:f().footerWrap,children:(0,O.jsx)(P.Z,{params:{current:"4"}})})]})]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(n.default,{children:[(0,O.jsx)("title",{children:k()}),(0,O.jsx)("meta",{name:"keywords",content:B()}),(0,O.jsx)("meta",{name:"description",content:""}),(0,O.jsx)("link",{rel:"shortcut icon",href:r.LX+"/img/favicon.ico",type:"image/x-icon"}),(0,O.jsx)("script",{src:r.LX+"/noSupport.js"}),(0,O.jsx)("link",{rel:"canonical",href:r.DD+"/quotes/commodity/shangjin"+(1==t.page?"":"/"+t.page)})]}),(0,O.jsxs)("div",{className:l().mainWrap,children:[(0,O.jsx)(s.Z,{params:{pv:I,setPersonalInfo:m,personalInfo:E,refreshTag:C,setRefreshTag:h,liveStatusRefresh:L,current:"quotes"}}),(0,O.jsx)(i.Z,{data:t,params:{personalInfo:E,setLiveStatusRefresh:R,showGoldVipNotice:!0}})]}),(0,O.jsx)("div",{className:l().footerWrap,children:(0,O.jsx)(c.Z,{})})]})}},50400:function(_,e,t){"use strict";var a=t(67294);e.Z=function(_){return a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},_,{style:Object.assign({verticalAlign:"-0.125em"}
1,_.style),className:["antd-mobile-icon",_.className].filter(Boolean).join(" ")}),a.createElement("g",{id:"DownOutline-DownOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",null,a.createElement("rect",{id:"DownOutline-\u77e9\u5f62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),a.createElement("path",{d:"M5.11219264,16.3947957 L22.6612572,34.5767382 L22.6612572,34.5767382 C23.2125856,35.1304785 24.0863155,35.1630514 24.6755735,34.6744571 L24.7825775,34.5767382 L42.8834676,16.3956061 C42.9580998,16.320643 43,16.2191697 43,16.1133896 L43,12.9866673 C43,12.7657534 42.8209139,12.5866673 42.6,12.5866673 C42.4936115,12.5866673 42.391606,12.6290496 42.316542,12.7044413 L23.7816937,31.3201933 L23.7816937,31.3201933 L5.6866816,12.7237117 C5.53262122,12.5653818 5.27937888,12.5619207 5.121049,12.7159811 C5.04365775,12.7912854 5,12.8946805 5,13.0026627 L5,16.1170064 C5,16.2206403 5.04022164,16.3202292 5.11219264,16.3947957 Z",id:"DownOutline-down",fill:"currentColor",fillRule:"nonzero"}))))}},30148:function(_,e,t){"use strict";var a=t(67294);e.Z=function(_){return a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},_,{style:Object.assign({verticalAlign:"-0.125em"},_.style),className:["antd-mobile-icon",_.className].filter(Boolean).join(" ")}),a.createElement("g",{id:"MoreOutline-MoreOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{id:"MoreOutline-\u7f16\u7ec4"},a.createElement("rect",{id:"MoreOutline-\u77e9\u5f62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),a.createElement("path",{d:"M12,21 C13.6568542,21 15,22.3431458 15,24 C15,25.6568542 13.6568542,27 12,27 C10.3431458,27 9,25.6568542 9,24 C9,22.3431458 10.3431458,21 12,21 Z M24,21 C25.6568542,21 27,22.3431458 27,24 C27,25.6568542 25.6568542,27 24,27 C22.3431458,27 21,25.6568542 21,24 C21,22.3431458 22.3431458,21 24,21 Z M36,21 C37.6568542,21 39,22.3431458 39,24 C39,25.6568542 37.6568542,27 36,27 C34.3431458,27 33,25.6568542 33,24 C33,22.3431458 34.3431458,21 36,21 Z",id:"MoreOutline-\u5f62\u72b6\u7ed3\u5408",fill:"currentColor",fillRule:"nonzero"}))))}},17865:function(_,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/quotes/shangjin/[[...id]]",function(){return t(87636)}])},7186:function(){},74248:function(){},65581:function(_){_.exports={wrap:"__404_wrap__TJbjs",img:"__404_img__3pmpw",text:"__404_text__2Lcwg",backHome:"__404_backHome__22OOD"}},40987:function(_){_.exports={bondMarketContent:"bondMarketContent_bondMarketContent__1zNMj",secondNavList:"bondMarketContent_secondNavList__3HFBm",classifySets:"bondMarketContent_classifySets__2LIhl",bondMarketItem:"bondMarketContent_bondMarketItem__2bO55",hd:"bondMarketContent_hd__2Q2Az",more:"bondMarketContent_more__34QWn",bd:"bondMarketContent_bd__1LIPN",goldVipNotice:"bondMarketContent_goldVipNotice__3sxdN",goldVipNoticeText:"bondMarketContent_goldVipNoticeText__1F1gr",goldVipButton:"bondMarketContent_goldVipButton__jNdIt",tableBold:"bondMarketContent_tableBold__2STf3",tableGreen:"bondMarketContent_tableGreen__28hCo",tableRed:"bondMarketContent_tableRed__9_APo",addBtn:"bondMarketContent_addBtn__2sk_6",minusBtn:"bondMarketContent_minusBtn__FRPnE",name:"bondMarketContent_name__1FtYC"}},85622:function(_){_.exports={bondMarketContent:"bondMarketContent_bondMarketContent__2IiWv",bondMarketItem:"bondMarketContent_bondMarketItem__3TUl1",hd:"bondMarketContent_hd__1NZCW",more:"bondMarketContent_more__2sKzh",bd:"bondMarketContent_bd__3qFw4",goldVipNotice:"bondMarketContent_goldVipNotice__PWWnk",goldVipNoticeText:"bondMarketContent_goldVipNoticeText__3Qnx0",goldVipButton:"bondMarketContent_goldVipButton__3yaSY",tableBold:"bondMarketContent_tableBold__13rzY",tableGreen:"bondMarketContent_tableGreen__116qT",tableRed:"bondMarketContent_tableRed__17ir-",addBtn:"bondMarketContent_addBtn__2yEZl",minusBtn:"bondMarketContent_minusBtn__1j-2C",name:"bondMarketContent_name__1kRSh"}},45316:function(_){_.exports={globalContent:"globalContent_globalContent__6nv_I",globalMarket:"globalContent_globalMarket__3j4Sh",hd:"globalContent_hd__1YYnC",bd:"globalContent_bd__2LDW2",marketItem:"globalContent_marketItem__CJsmk",marketName:"globalContent_marketName__2JCZ3",marketPrice:"globalContent_marketPrice__1vW8L",marketRange:"globalContent_marketRange__eOhWV",marketItemGreen:"globalContent_marketItemGreen__39uoR",marketItemRed:"globalContent_marketItemRed__2Tsjh",commonList:"globalContent_commonList__2FOYP",commonItem:"globalContent_commonItem__3qzvo",more:"globalContent_more__2xd4_",graphic:"globalContent_graphic__2ub45",tableBold:"globalContent_tableBold__3p9cJ",tableGreen:"globalContent_tableGreen__3PCO4",tableRed:"globalContent_tableRed__2TkXF",name:"globalContent_name__2ayx6",chartWrap:"globalContent_chartWrap__2NfgB",highValue:"globalContent_highValue__2MVAt",lowValue:"globalContent_lowValue__pBqEz",averageValue:"globalContent_averageValue__27yxf"}},4298:function(_,e,t){_.exports=t(72189)}},function(_){_.O(0,[9774,4885,3662,5357,3996,129,2039,3798,5511,1214,1066,2519,7186,6103,2133,5353,2543,519,358,4005,8764,7927,5734,568,2888,179],(function(){return e=17865,_(_.s=e);var e}));var e=_.O();_N_E=e}]);
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.