!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:"get";if(!e)return"";if("get"===r){var n=localStorage.getItem(e);return n=n?JSON.parse(n):{name:"",id:""}}return localStorage.setItem(e,t),""}));var o=!1,c=(e("b",function(){var e,a=(e=regeneratorRuntime.mark((function e(n,a){var c,s,i,u=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=u.length>2&&void 0!==u[2]?u[2]:"POST",e.prev=1,!o){e.next=4;break}return e.abrupt("return",a);case 4:if(o=!0,"POST"!==c){e.next=11;break}return e.next=8,r.post(n,{requestType:a.requestType||"json",data:t({},a.params)});case 8:e.t0=e.sent,e.next=14;break;case 11:return e.next=13,r.get(n,{requestType:a.requestType||"json",params:t({},a.params)});case 13:e.t0=e.sent;case 14:s=e.t0,a.loading=!1,i=s.data||{},a.list=a.list.concat(i.rows||[]),a.finished=i.pageNo>=i.totalPage,a.params.page=i.pageNo+1,a.dataShow=a.list.length>0,e.next=27;break;case 23:e.prev=23,e.t1=e.catch(1),a.dataShow=!1,a.finished=!0;case 27:return o=!1,e.abrupt("return",a);case 29:case"end":return e.stop()}}),e,null,[[1,23]])})),function(){var t=this,r=arguments;return new Promise((function(a,o){var c=e.apply(t,r);function s(e){n(c,a,o,s,i,"next",e)}function i(e){n(c,a,o,s,i,"throw",e)}s(void 0)}))});return function(e,t){return a.apply(this,arguments)}}()),{"专辑":"klx_album","视频课":"klx_videoClass","直播课":"klx_liveClass","达人风采":"klx_talentElegant","热门资讯":"klx_hotInformation","小酷AI功能埋点":"klx_xiaokuAI","我的乐谱":"klx_myMusic","评测记录":"klx_myEvaluation","订单":"klx_myOrder","交易记录":"klx_myTrade","优惠券":"klx_myCoupon","帮助中心":"klx_helpCenter","商品列表":"klx_goods","商品详情":"klx_goodDetail","购买支付":"klx_payment","取消支付":"klx_cancelPayment"});e("u",(function(e){a({api:"setEventTracking",content:{type:c[e]}})}))}}}))}();