webpackJsonp([27],{HIRX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZLEe"),r=n.n(i),o=n("a3Yh"),a=n.n(o),s=n("NFBZ"),l=n("hcrA"),c=n.n(l),u={props:["preLength","list"],data:function(){return{timer1:null,timer2:null,offsetHeight1:0,lastTimer:0,hasDone:!1}},mounted:function(){document.getElementsByClassName("list_box")&&(c()(".list_box")[0].scrollTo(0,c()(".foreign_tbody").height()),this.offsetHeight1=document.getElementsByClassName("list_box")[0].scrollTop),this.autoPlay(this.list.length)},methods:{autoPlay:function(e,t){var n=this;clearInterval(this.timer1),2!=t&&(this.lastTimer=parseInt(1e4/e)>0?parseInt(1e4/e):500),this.timer1=setInterval(function(){n.offsetHeight1>.1*n.remData?(n.offsetHeight1=n.offsetHeight1-.82*n.remData,document.getElementsByClassName("list_box")[0].scrollTop=n.offsetHeight1):(n.hasDone=!0,clearInterval(n.timer1))},this.lastTimer)},addList:function(){this.offsetHeight1=(.72*this.remData+.1*this.remData)*(this.list.length-this.preLength),document.getElementsByClassName("list_box")[0].scrollTop=(.72*this.remData+.1*this.remData)*(this.list.length-this.preLength),clearInterval(this.timer1),this.autoPlay(this.list.length-this.preLength)},stopLoop:function(){this.hasDone&&this.$emit("stopLoop1",!1),clearInterval(this.timer1)},startLoop:function(){this.hasDone&&this.$emit("startLoop1"),document.getElementsByClassName("list_box")[0].scrollTop=this.offsetHeight1,clearInterval(this.timer1),this.autoPlay(this.lastTimer,2)}},watch:{list:function(){this.hasDone&&this.addList()}},computed:{remData:function(){return document.documentElement.clientWidth/1920*100}}},d={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"list_box",staticClass:"list_box",on:{mouseenter:e.stopLoop,mouseleave:e.startLoop}},[n("div",{staticClass:"PT_projectitem_list"},[n("div",{staticClass:"foreign_tbody"},e._l(e.list,function(t){return n("div",{ref:"bull_item",refInFor:!0,staticClass:"bull_item"},[n("div",[n("span",[e._v(e._s(t.user_name))])]),e._v(" "),n("div",[n("span",[e._v(e._s(t.content))])])])}),0)])])},staticRenderFns:[]};var f=n("C7Lr")(u,d,!1,function(e){n("WlIK")},"data-v-4e11a98c",null).exports,p={props:["preLength","list"],data:function(){return{timerStart:null,giftOffsetHeight:0,lastGiftTimer:0,hasDone:!1}},mounted:function(){document.getElementsByClassName("gift_box")&&(c()(".gift_box")[0].scrollTo(0,c()(".gift_body").height()),this.giftOffsetHeight=document.getElementsByClassName("gift_box")[0].scrollTop),this.autoPlay(this.list.length)},methods:{autoPlay:function(e,t){var n=this;clearInterval(this.timerStart),2!=t&&(this.lastGiftTimer=parseInt(1e4/e)>0?parseInt(1e4/e):500),this.timerStart=setInterval(function(){n.giftOffsetHeight>.1*n.remData?(n.giftOffsetHeight=n.giftOffsetHeight-.72*n.remData-.1*n.remData,document.getElementsByClassName("gift_box")[0].scrollTop=n.giftOffsetHeight):(n.hasDone=!0,clearInterval(n.timerStart))},this.lastGiftTimer)},addList:function(){this.giftOffsetHeight=(.72*this.remData+.1*this.remData)*(this.list.length-this.preLength),document.getElementsByClassName("gift_box")[0].scrollTop=(.72*this.remData+.1*this.remData)*(this.list.length-this.preLength),clearInterval(this.timerStart),this.autoPlay(this.list.length-this.preLength)},stopLoop:function(){this.hasDone&&this.$emit("stopLoop1",!1),clearInterval(this.timerStart)},startLoop:function(){this.hasDone&&this.$emit("startLoop1"),document.getElementsByClassName("gift_box")[0].scrollTop=this.giftOffsetHeight,clearInterval(this.timerStart),this.autoPlay(this.lastGiftTimer,2)}},watch:{list:function(){this.hasDone&&this.addList()}},computed:{remData:function(){return document.documentElement.clientWidth/1920*100}}},h={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"gift_box",staticClass:"gift_box",on:{mouseenter:e.stopLoop,mouseleave:e.startLoop}},[n("div",{staticClass:"PT_projectitem_list"},[n("div",{staticClass:"gift_body"},e._l(e.list,function(t){return n("div",{ref:"active",refInFor:!0,staticClass:"active"},[n("div",[n("span",[e._v(e._s(t.user_name))])]),e._v(" "),n("div",[n("span",[e._v(e._s(t.content))])])])}),0)])])},staticRenderFns:[]};var m=n("C7Lr")(p,h,!1,function(e){n("TTHi")},"data-v-6c656b3c",null).exports,g=(n("Ovmy"),n("1c6y"),{name:"commentaryAnalysis",props:["live_stream_id","enable","user_id"],data:function(){return{noneAsync:!1,timerAsync:0,commentarySize:0,commentaryTotal:0,commentaryPages:0,commentaryPage:1,commentKeyword:"",commentList:[],commentFlag:!0,loading:!0,commentListHot:[],commentListHotLoadingFlag:!0,commentListHotPages:1,commentListHotSize:0,commentListHotTotal:0,commentListNew:[],commentListNewLoadingFlag:!0,commentListNewTotal:0,commentListNewSize:0,commentListNewPages:1}},components:{nopermission:s.a},mounted:function(){this.hotWords()},methods:{hotWords:function(){var e=this;this.$axios({url:this.URL.BASEURL+this.URL.topHotWords,method:"get",params:{liveStreamId:this.live_stream_id,user_id:this.user_id,pagesize:50}}).then(function(t){t=t.data;if(e.noneAsync=4003==t.errno,e.commentFlag=!0,t&&0==t.errno){var n=[];if(0==t.rst.length)return e.commentFlag=!1,clearTimeout(e.timerAsync),void(e.timerAsync=setTimeout(function(){1==e.enable&&e.hotWords()},3e4));clearTimeout(e.timerAsync),e.timerAsync=setTimeout(function(){1==e.enable&&e.hotWords()},3e4),t.rst.forEach(function(e,t){n.push({name:e.keyword,value:e.count})}),e.commentKeyword=t.rst[0].keyword,e.worldCloudcharts(n)}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(e){console.log(e)})},worldCloudcharts:function(e){var t=this;if(document.getElementById("worldCloud"))var n=this.$echarts.init(document.getElementById("worldCloud"),"macarons"),i={tooltip:{show:!0},series:[{name:"",type:"wordCloud",sizeRange:[10,19],rotationRange:[0,0],autoSize:{enable:!0,minSize:10},shape:"circle",data:e}]};n.setOption(i),n.on("click",function(e){t.commentKeyword=e.data.name,t.commentaryPage=1,t.hotWordsList()})}}}),v={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"commentaryAnalysis1"}},[e.noneAsync||e.commentFlag?e._e():n("div",{staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"hasNone"},[e._v("暂无弹幕热词")])]),e._v(" "),e.noneAsync?n("nopermission",{attrs:{noBack:!0}}):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.commentFlag,expression:"commentFlag"}],staticClass:"hotWord clear"},[e._m(0)])],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wordNephogram",staticStyle:{width:"100%"}},[t("div",{staticStyle:{display:"inline-block",width:"100%",height:"5rem"},attrs:{id:"worldCloud"}})])}]};var y=n("C7Lr")(g,v,!1,function(e){n("d/rn")},"data-v-f15e7296",null).exports;document.documentElement.style.fontSize=document.documentElement.clientWidth/1920*100+"px",window.onresize=function(){document.documentElement.style.fontSize=document.documentElement.clientWidth/1920*100+"px"};var b={inject:["reload"],props:["liveDetail"],name:"basicsDataDetail",components:{CommentaryAnalysis:y,nopermission:s.a,bullSwiper:f,giftSwiper:m},data:function(){var e;return e={times:1,preGiftLength:0,preBullLength:0,user_id:"",wh_detail:{},noBack:!0,enable:1,giftCount:0,isFirst:!0,stopUpdate:!1,hasAunoProTrend:!1,hasAunoPro:!1,noneDonePro:!1,noneRewardList:!1,barrageList:[],allGiftList:[],isAll:!1,stopUpdateGift:!1,onlineCount:"",swiper1:{},allSwiper:{},priceType:1,checkType:1,timerAllBarrage:0,loopGift:0,loopPeople:0,timerTrend:0,timerReward:0,timerGoods:0,timerGiftBarrage:-1,timerGiftList:0,timerBarrage:-1,timerGift:0,timerInit:-1,sourceType:1,dataObj:{},noneSale:!1,giftList:[],timer1:0,timer:0,total:0,page:1,isOver:!1,status:"",proList:[],goodsStatisticsFlag:!0,priceEchartsLoding:!0,channelEchartsLoding:!0,timerUpdate:0,totalbarrage:"-",noLive:!1},a()(e,"giftList",[]),a()(e,"noneGift",!1),a()(e,"noneStatus",!1),a()(e,"scrollFlag",!1),a()(e,"mainHeight",0),a()(e,"mainTop",0),a()(e,"checkType",1),a()(e,"live_stream_id",""),a()(e,"dataInfo",""),a()(e,"tab",3),a()(e,"checkadLoadingFlag",!0),a()(e,"from",""),a()(e,"hasBill",!1),a()(e,"monitoringStatusHome",1),a()(e,"hasBarrage",!1),a()(e,"noneTotal",!1),a()(e,"noRewardTrend",!1),a()(e,"loading",!1),e},created:function(){window._czc&&window._czc.push(["_trackEvent","详情页","快手","直播展板"]),this.live_stream_id=this.$route.params.live_stream_id,this.user_id=this.$route.params.user_id,this.dataInfo={enable:1},this.basicsData_init(),this.from=this.$route.query.from,this.liveDetail||window.addEventListener("scroll",this.scrollTop,!0)},mounted:function(){var e=this,t="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,n=t.replace(/hidden/i,"visibilitychange");document.addEventListener(n,function(){document[t]?(e.enable=2,e.isFirst=!1,r()(e.dataInfo).length>0&&e.$set(e.dataInfo,"enable",2)):r()(e.dataInfo).length>0&&(e.$set(e.dataInfo,"enable",1),e.timerInit=-1,e.enable=1,e.basicsData_init())})},computed:{bigImgDisabled:function(){return this.loadingReward||this.isAll}},methods:{toDetailHot:function(e){if(e){var t=this.$router.resolve({path:"/userDetail/"+e});window.open(t.href,"_blank")}else this.$message({message:"暂无该红人信息",type:"warning"})},toUrl1:function(){var e=this.$router.resolve({path:"/permissIntroduce"});window.open(e.href,"_blank")},toOther:function(e){if(!e)return this.$message.closeAll(),void this.$message({message:"链接错误,暂时无法查看",type:"warning"});e&&window.open(e,"_blank")},getGift:function(){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.showtopuserinfo+"?show_id="+this.live_stream_id+"&user_id="+this.user_id).then(function(t){t=t.data;if(e.noneRewardList=4003==t.errno,t&&0==t.errno){var n=t.rst;e.giftList=n,clearTimeout(e.timerGift),e.timerGift=setTimeout(function(){1==e.dataInfo.enable&&e.getGift()},3e5)}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(e){console.log(e)})},stopLoop:function(e){e||(clearTimeout(this.timerBarrage),this.stopUpdate=!0)},startLoop:function(){clearTimeout(this.timerBarrage),this.stopUpdate=!1,2==this.status&&this.getbarrageList(1)},stopLoop1:function(e){e||(clearTimeout(this.timerGiftBarrage),this.stopUpdateGift=!0)},startLoop1:function(){clearTimeout(this.timerGiftBarrage),this.stopUpdateGift=!1,2==this.status&&this.getGiftList(1)},updateTime:function(){var e=this;clearInterval(this.timerUpdate),this.timerUpdate=setInterval(function(){if(e.dataInfo.start_time&&1==e.dataInfo.enable){var t=(new Date).getTime()-new Date(e.dataInfo.start_time).getTime();e.$set(e.dataInfo,"minute",parseInt(t/1e3/60))}},6e4)},userGoodsStatistics:function(){var e=this;this.$axios({url:this.URL.BASEURL+this.URL.newgoodsStatistics,method:"post",data:{user_id:this.dataInfo.user_id,live_stream_id:this.live_stream_id}}).then(function(t){if(4403==(t=t.data).auno||4003==t.errno?e.hasAunoProTrend=!0:e.hasAunoProTrend=!1,e.dataObj=t.rst,t&&0==t.errno){if(t.rst.category&&0!=t.rst.category.length){e.goodsStatisticsFlag=!0;var n=[],i=[];t.rst.category.forEach(function(e,t){n.push(e.name),i.push({value:e.percent,name:e.name})})}else e.goodsStatisticsFlag=!1;var r=[],o=[];if(t.rst.price&&t.rst.price.length?(e.priceEchartsLoding=!0,t.rst.price.forEach(function(e,t){r.push(e.price),o.push(e.percent)})):e.priceEchartsLoding=!1,t.rst.channel&&0!=t.rst.channel.length){e.channelEchartsLoding=!0;var a=[],s=[];t.rst.channel.forEach(function(e,t){a.push(e.name),s.push({value:e.percent,name:e.name})})}else e.channelEchartsLoding=!1;e.$nextTick(function(){e.goodsStatisticsFlag&&e.drawPie(n,i),e.priceEchartsLoding&&e.drawPrice(r,o),e.channelEchartsLoding&&e.drawChannel(a,s)}),clearTimeout(e.timerGoodsTrend),e.timerGoodsTrend=setTimeout(function(){e.userGoodsStatistics()},3e4)}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){clearTimeout(e.timerGoodsTrend),e.timerGoodsTrend=setTimeout(function(){e.userGoodsStatistics()},3e4),console.log(t)})},drawChannel:function(e,t){for(var n,i=["#2296F3","#FF5A7B","#BCA4FC","#F6564A","#FF936B","#9CCCFF","#FFACB8","#B7EEA8","#FFB89D","#FCE500","#9F9F9F","#78ADF9"],r=0;r=i.length&&i.push("rgba("+[Math.round(255*Math.random()),Math.round(200*Math.random()),Math.round(160*Math.random()),.8].join(",")+")");t=t.splice(0,12);var o={color:i,tooltip:{show:!0,formatter:"{b}: {c}%"},grid:{top:"0%",left:"10%",right:"10%",bottom:"30%"},series:[(n={center:["50%","50%"],radius:["40%","60%"],minShowLabelAngle:4,minAngle:18,avoidLabelOverlap:!0,label:{normal:{formatter:function(e){return e.name+""+Math.round(e.percent)+"%"},show:!0,position:"outside"}},labelLine:{show:!0}},a()(n,"label",{normal:{formatter:function(e){return e.name},show:!0,position:"outside"}}),a()(n,"avoidLabelOverlap",!1),a()(n,"type","pie"),a()(n,"data",t),n)]};this.$echarts.init(document.getElementById("channel")).setOption(o)},drawPie:function(e,t){for(var n,i=["#2296F3","#FF5A7B","#BCA4FC","#F6564A","#FF936B","#9CCCFF","#FFACB8","#B7EEA8","#FFB89D","#FCE500","#9F9F9F","#78ADF9"],r=0;r=i.length&&i.push("rgba("+[Math.round(255*Math.random()),Math.round(200*Math.random()),Math.round(160*Math.random()),.8].join(",")+")");t=t.splice(0,12);var o={color:i,tooltip:{show:!0,formatter:"{b}: {c}%"},grid:{top:"0%",left:"10%",right:"10%",bottom:"30%"},series:[(n={center:["50%","50%"],radius:["40%","60%"],minShowLabelAngle:4,minAngle:18,avoidLabelOverlap:!0,label:{normal:{formatter:function(e){return e.name+""+Math.round(e.percent)+"%"},show:!0,position:"outside"}},labelLine:{show:!0}},a()(n,"label",{normal:{formatter:function(e){return e.name},show:!0,position:"outside"}}),a()(n,"avoidLabelOverlap",!1),a()(n,"type","pie"),a()(n,"data",t),n)]};this.$echarts.init(document.getElementById("typeDis")).setOption(o)},drawPrice:function(e,t){var n,i={color:["#57C2FF"],tooltip:{trigger:"axis",formatter:"{b}: {c}%"},grid:(n={left:"6%",right:"8%",bottom:"0",top:"5%"},a()(n,"bottom","5%"),a()(n,"containLabel",!0),n),xAxis:[a()({type:"category",data:e,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}},"axisTick",{show:!1,length:10,lineStyle:{color:"red",type:"solid",width:2}})],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{type:"solid",color:"#4E588A"}},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}}],series:[{type:"bar",barWidth:"20",data:t,itemStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#53FAF9"},{offset:1,color:"#1E56FE"}],global:!1},barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("priceDis")).setOption(i)},getGiftList:function(){var e=this;clearTimeout(this.timerGiftBarrage),this.$axios({url:this.URL.BASEURL+this.URL.BarrageList,method:"post",data:{liveStreamId:this.live_stream_id,user_id:this.user_id,type:2,page:1,pagesize:20}}).then(function(t){t=t.data;if(e.noneGift=4003==t.errno,t&&0==t.errno){e.preGiftLength=e.allGiftList.length;var n=t.rst.data.concat(e.allGiftList),i={};n=n.reduce(function(e,t){return!i[t.created_at+t.kwai_id]&&(i[t.created_at+t.kwai_id]=e.push(t)),e},[]),e.allGiftList=n.splice(0,200),e.giftCount=t.rst.pageInfo.total,1==e.dataInfo.enable&&(e.timerGiftBarrage=setTimeout(function(){e.timerGiftBarrage=0,2!=e.status||e.stopUpdateGift?clearTimeout(e.timerGiftBarrage):e.getGiftList(1)},1e4))}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),clearTimeout(e.timerAllBarrage),1==e.dataInfo.enable&&(e.timerGiftBarrage=setTimeout(function(){2!=e.status||e.stopUpdateGift?clearTimeout(e.timerGiftBarrage):e.getGiftList(1)},1e4))})},getbarrageList:function(e){var t=this;clearTimeout(this.timerBarrage),this.page1=e,this.$axios({url:this.URL.BASEURL+this.URL.BarrageList,method:"post",data:{user_id:this.user_id,liveStreamId:this.live_stream_id,type:1,page:1,pagesize:20}}).then(function(e){e=e.data;if(t.noneGift=4003==e.errno,e&&0==e.errno){t.preBullLength=t.barrageList.length;var n=e.rst.data.concat(t.barrageList),i={};n=n.reduce(function(e,t){return!i[t.created_at+t.kwai_id]&&(i[t.created_at+t.kwai_id]=e.push(t)),e},[]),t.barrageList=n.splice(0,200),t.totalbarrage=e.rst.pageInfo.total?e.rst.pageInfo.total:"-",1==t.dataInfo.enable&&(t.timerBarrage=setTimeout(function(){2!=t.status||t.stopUpdate?clearTimeout(t.timerBarrage):t.getbarrageList(1)},1e4))}else 4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){clearTimeout(t.timerAllBarrage),1==t.dataInfo.enable&&(t.timerBarrage=setTimeout(function(){2!=t.status||t.stopUpdate?clearTimeout(t.timerBarrage):t.getbarrageList(1)},1e4))})},todayShowDetail:function(){var e=this;clearTimeout(this.timerTrend),this.$axios({url:this.URL.BASEURL+this.URL.todayShowDetail,method:"post",data:{liveStreamId:this.live_stream_id,user_id:this.user_id}}).then(function(t){if(4403==(t=t.data).auno||4003==t.errno?e.hasAuno=!0:e.hasAuno=!1,e.timerTrend=setTimeout(function(){1==e.dataInfo.enable&&e.todayShowDetail()},3e4),t&&0==t.errno){var n=t.rst?t.rst.watching_count_record:{},i={keyes:[],value:[]};for(var o in n)i.keyes.push(o),i.value.push(n[o]);var a=t.rst?t.rst.like_count_record:{},s={keyes:[],value:[]};for(var l in a)s.keyes.push(l),s.value.push(a[l]);var c=t.rst?t.rst.reward_count_record:{},u={keyes:[],value:[]};for(var d in c)u.keyes.push(d),u.value.push(c[d]);var f=t.rst?t.rst.live_commodity_sum_record:{};e.noneSale=0==r()(f).length;var p={keyes:[],value:[]};for(var h in f)p.keyes.push(h),p.value.push(f[h]);e.onlineCount=i.value[i.value.length-1],e.$nextTick(function(){e.OnlineNumber(i),e.CommoditySales(p)})}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})})},OnlineNumber:function(e){var t,n=this,i={tooltip:{trigger:"axis",formatter:function(e){var t=e[0].name+"
";return e.forEach(function(e,i){t+=e.marker+e.seriesName+":"+n.$NumberHandle(e.value,2)+"
"}),t}},grid:(t={left:"6%",right:"8%",bottom:"0",top:"5%"},a()(t,"bottom","5%"),a()(t,"containLabel",!0),t),xAxis:[a()({type:"category",boundaryGap:!1,data:e.keyes.map(function(e){return e.split(" ")[1]}),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}},"axisTick",{show:!1,length:10,lineStyle:{color:"red",type:"solid",width:2}})],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{type:"solid",color:"#4E588A"}},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}}],series:[{name:"在线人数",type:"line",itemStyle:{normal:{color:"#83FFF4"}},smooth:!0,symbol:"none",areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(41,244,241,.23)"},{offset:1,color:"rgba(47,74,166,.33)"}],global:!1}},data:e.value}]};document.getElementById("OnlineNumber")&&this.$echarts.init(document.getElementById("OnlineNumber")).setOption(i)},CommoditySales:function(e){var t,n=this,i={tooltip:{trigger:"axis",formatter:function(e){var t=e[0].name+"
";return e.forEach(function(e,i){t+=e.marker+e.seriesName+":"+n.$NumberHandle(e.value,2)+"
"}),t}},grid:(t={left:"6%",right:"8%",bottom:"0",top:"5%"},a()(t,"bottom","5%"),a()(t,"containLabel",!0),t),xAxis:[a()({type:"category",boundaryGap:!1,data:e.keyes.map(function(e){return e.split(" ")[1]}),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}},"axisTick",{show:!1,length:10,lineStyle:{color:"red",type:"solid",width:2}})],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{type:"solid",color:"#4E588A"}},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}}],series:[{name:"商品销量",type:"line",itemStyle:{normal:{color:"#83FFF4"}},smooth:!0,symbol:"none",areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(41,244,241,.23)"},{offset:1,color:"rgba(47,74,166,.33)"}],global:!1}},data:e.value}]};document.getElementById("CommoditySales")&&this.$echarts.init(document.getElementById("CommoditySales")).setOption(i)},getReward:function(){var e=this;clearTimeout(this.timerReward),this.$axios.get(this.URL.BASEURL+this.URL.showtopinfo+"?show_id="+this.live_stream_id+"&user_id="+this.user_id).then(function(t){if(4403==(t=t.data).auno||4003==t.errno?e.hasAuno1=!0:e.hasAuno1=!1,t&&0==t.errno){e.timerReward=setTimeout(function(){1==e.dataInfo.enable&&e.getReward()},3e5);var n=t.rst;e.rewardObj={timeArr:[],incrCount:[],incrSum:[],countArr:[],sumArr:[]},n.forEach(function(t){e.rewardObj.timeArr.push(t.count_at),e.rewardObj.incrCount.push(t.new_reward_count),e.rewardObj.incrSum.push(t.new_reward_sum),e.rewardObj.countArr.push(t.reward_count),e.rewardObj.sumArr.push(t.reward_sum)}),e.noRewardTrend=0==e.rewardObj.timeArr.length,e.drawReward()}else e.$message({message:t.err,type:"warning"})}).catch(function(e){})},drawReward:function(){var e,t=this,n={tooltip:{trigger:"axis",formatter:function(e){var n=e[0].name+"
";return e.forEach(function(e,i){n+=e.marker+e.seriesName+":"+t.$NumberHandle(e.value,2)+"
"}),n}},grid:(e={left:"6%",right:"8%",bottom:"0",top:"5%"},a()(e,"bottom","5%"),a()(e,"containLabel",!0),e),xAxis:[a()({type:"category",boundaryGap:!1,data:this.rewardObj.timeArr.map(function(e){return e.split(" ")[1]}),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}},"axisTick",{show:!1,length:10,lineStyle:{color:"red",type:"solid",width:2}})],yAxis:[{splitLine:{show:!0,lineStyle:{type:"solid",color:"#4E588A"}},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#fff"}}}],series:[{name:"打赏金额",type:"line",itemStyle:{normal:{color:"#83FFF4"}},smooth:!0,symbol:"none",areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(41,244,241,.23)"},{offset:1,color:"rgba(47,74,166,.33)"}],global:!1}},data:t.rewardObj.sumArr}]};document.getElementById("RewardNumber")&&this.$echarts.init(document.getElementById("RewardNumber")).setOption(n,!0)},ShowGoods:function(e){var t,n=this;clearTimeout(this.timerGoods),this.$axios({url:this.URL.BASEURL+this.URL.ShowGoods,method:"post",data:(t={page:this.page,user_id:"",pagesize:999},a()(t,"user_id",this.user_id),a()(t,"name",""),a()(t,"stime",""),a()(t,"etime",""),a()(t,"top_cid",0),a()(t,"title",this.keyword),a()(t,"commodity_id",""),a()(t,"live_stream_id",this.live_stream_id),a()(t,"sort",5),t)}).then(function(e){e=e.data;if(n.hasAunoPro=4403==e.auno,n.noneDonePro=4003==e.errno,e&&0==e.errno){var t=e.rst.data;n.proList=t,n.total=e.rst.pageInfo.total,n.isAll=n.page>=e.rst.pageInfo.pages,n.timerGoods=setTimeout(function(){1==n.dataInfo.enable&&(n.page=1,n.ShowGoods())},3e4)}else 4003!=e.errno&&n.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e)})},scrollTop:function(){if(document.getElementsByClassName("contentRight")[0]){var e=document.getElementsByClassName("tab")[0];if(!e)return!1;this.mainTop=e.offsetTop>75?e.offsetTop:this.mainTop,this.mainHeight=e.offsetHeight,document.getElementsByClassName("contentRight")[0].scrollTop>this.mainTop-this.mainHeight-15?this.scrollFlag=!0:this.scrollFlag=!1}},getMonitoringStatus:function(e){this.monitoringStatusHome=e},getStatus:function(){var e=this;clearTimeout(this.timerAllBarrage),clearTimeout(this.timerGiftBarrage),this.$axios({url:this.URL.BASEURL+this.URL.BarrageScrapeStatus,method:"post",data:{liveStreamId:this.live_stream_id,user_id:this.user_id}}).then(function(t){(t=t.data)&&0==t.errno&&(e.status=t.rst.barrageScrapeStatus,e.hasBarrage=t.rst.hasBarrage,2!=e.status?e.addBarrageScrape():(e.getbarrageList(1),e.getGiftList(1)))}).catch(function(e){})},addBarrageScrape:function(){var e=this;2!=this.monitoringStatus&&this.$axios({url:this.URL.BASEURL+this.URL.AddBarrageScrape,method:"post",data:{liveStreamId:this.live_stream_id}}).then(function(t){t=t.data;e.noneGift=4003==t.errno,t&&0==t.errno?(clearTimeout(e.timer1),e.timer1=setTimeout(function(){e.getStatus()},2e3)):4003!=t.errno&&(e.getGiftList(),e.getbarrageList(),e.$message({message:t.err,type:"warning"}))}).catch(function(){})},formatDuring:function(e){e=60*e*1e3;var t=parseInt(e/864e5)+"天",n=parseInt(e%864e5/36e5)+"小时",i=parseInt(e%36e5/6e4)+"分钟";return(parseInt(t)>0?t:"")+(parseInt(n)>0?n:"")+(parseInt(i)>0?i:"")},toUrl:function(e){if(!e)return this.$message.closeAll(),void this.$message({message:"链接错误,暂时无法查看",type:"warning"});e&&window.open(e,"_blank")},basicsData_init:function(){var e=this;clearTimeout(this.timerInit),this.$axios.get(this.URL.BASEURL+this.URL.v2_showDetailInfo,{params:{user_id:this.user_id,live_stream_id:this.live_stream_id}}).then(function(t){if(4403==(t=t.data).auno||4003==t.errno?e.noneTotal=!0:e.noneTotal=!1,e.loading=!1,t&&0==t.errno){var n=t.rst;e.dataInfo=n,e.enable=e.dataInfo.enable,-1===e.timerInit&&(e.getRedUserDetail(),e.getStatus(),e.userGoodsStatistics(),e.todayShowDetail(),e.ShowGoods(1),e.getReward(),e.getGift()),e.hasBill=1==n.is_big_fan,e.hasBill||(e.tab=1),document.title=e.dataInfo.user_name+" - 直播详情 - 酷炫数据",e.updateTime(),e.timerInit=setTimeout(function(){1!=e.dataInfo.enable||e.noneTotal||e.basicsData_init()},3e4)}else e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loading=!1,1==e.dataInfo.enable&&e.userGoodsStatistics(),-1===e.timerInit&&(e.getStatus(),e.todayShowDetail(),e.ShowGoods(1),e.getReward(),e.getGift()),clearTimeout(e.timerInit),e.timerInit=setTimeout(function(){e.noneTotal||e.basicsData_init()},3e4)})},getRedUserDetail:function(){var e=this,t=this;this.$axios.get(this.URL.BASEURL+this.URL.GetRedUserDetail,{params:{user_id:this.dataInfo.user_id}}).then(function(n){(n=n.data)&&0==n.errno?n.rst.data?t.wh_detail=n.rst.data:(t.isHaveUserInfo=!1,t.checkStatus=10):e.$message({message:n.err,type:"warning"})}).catch(function(e){console.log(e)})},followWhEvent:function(e){var t=this;this.loading=!0,this.$axios({url:this.URL.BASEURL+this.URL[e],method:"post",data:{user_id:this.dataInfo.user_id.toString()}}).then(function(n){(n=n.data)&&0==n.errno?(t.loading=!1,t.getRedUserDetail(),"kuai_follow_create"==e?t.$message({message:"关注成功",type:"warning"}):t.$message({message:"取消关注成功",type:"warning"})):(t.loading=!1,t.$message({message:n.err,type:"warning"}))}).catch(function(e){t.loading=!1})}},watch:{tab:function(){this.scrollFlag&&document.getElementsByClassName("contentRight")[0].scrollTo(0,this.mainTop-this.mainHeight-10)},checkType:function(){var e=this;if(this.dataObj.category&&0!=this.dataObj.category.length){var t=[],n=[];(1==this.checkType?this.dataObj.category:2==this.checkType?this.dataObj.categoryBySellCount:this.dataObj.categoryBySellMoney).forEach(function(e,i){t.push(e.name),n.push({value:e.percent,name:e.name})})}else this.goodsStatisticsFlag=!1;this.$nextTick(function(){e.goodsStatisticsFlag&&e.drawPie(t,n)})},priceType:function(){var e=this,t=[],n=[];this.dataObj.price&&this.dataObj.price.length?(1==this.priceType?this.dataObj.price:2==this.priceType?this.dataObj.priceBySellCount:this.dataObj.priceBySellMoney).forEach(function(e,i){t.push(e.price),n.push(e.percent)}):this.priceEchartsLoding=!1;this.$nextTick(function(){e.priceEchartsLoding&&e.drawPrice(t,n)})},sourceType:function(){var e=this;if(this.dataObj.channel&&0!=this.dataObj.channel.length){var t=[],n=[];(1==this.sourceType?this.dataObj.channelBySellCount:2==this.sourceType?this.dataObj.channelBySellCount:this.dataObj.channelBySellMoney).forEach(function(e,i){t.push(e.name),n.push({value:e.percent,name:e.name})})}else this.channelEchartsLoding=!1;this.$nextTick(function(){e.channelEchartsLoding&&e.drawChannel(t,n)})}},beforeDestroy:function(){this.enable=2,this.isFirst=!1,r()(this.dataInfo).length>0&&this.$set(this.dataInfo,"enable",2),this.liveDetail||window.removeEventListener("scroll",this.scrollTop,!0)}},x={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"onlineDetail",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"header"},[i("div",{staticClass:"left"},[i("router-link",{attrs:{to:"/"}},[i("img",{staticClass:"ku",attrs:{src:n("dLd/"),alt:""}})])],1),e._v(" "),i("div",{staticClass:"centerInfo"},[i("div",{staticClass:"sIcon"},[i("img",{staticClass:"img",attrs:{src:e.dataInfo&&e.dataInfo.headurl?e.dataInfo.headurl:"#",alt:""},on:{click:function(t){return e.toDetailHot(e.dataInfo.user_id)}}}),e._v(" "),e.dataInfo&&e.dataInfo.enable&&1==e.dataInfo.enable?i("div",{staticClass:"isLive isLiveYes"},[i("img",{attrs:{src:n("Zp58")}}),e._v("\n 直播中")]):i("div",{staticClass:"isLive isLiveYes"},[e._v("\n 直播结束")])]),e._v(" "),i("div",{staticClass:"info"},[i("el-tooltip",{attrs:{effect:"dark",content:e.dataInfo&&e.dataInfo.user_name?e.dataInfo.user_name:"-",placement:"top"}},[i("div",{staticClass:"userName",on:{click:function(t){return e.toDetailHot(e.dataInfo.user_id)}}},[e._v(e._s(e.dataInfo&&e.dataInfo.user_name?e.dataInfo.user_name:"-")+"\n ")])]),e._v(" "),i("div",{staticClass:"time"},[e._v("\n "+e._s(e.dataInfo&&e.dataInfo.start_time?e.dataInfo.start_time:"-")+"\n     \n 已播"+e._s(e.dataInfo&&e.dataInfo.minute?e.formatDuring(e.dataInfo.minute):"-")+"\n "),i("span",{staticClass:"toUrl",on:{click:function(t){return e.toOther(e.dataInfo.live_url)}}},[e._v("进入直播间>")])]),e._v(" "),e.wh_detail&&e.wh_detail.follow?i("span",{class:["follow",{active:e.wh_detail.is_follow}],on:{click:function(t){return e.followWhEvent(e.wh_detail.is_follow?"kuai_follow_delete":"kuai_follow_create")}}},[e._v(e._s(e.wh_detail.is_follow?"已关注":"关注"))]):e._e()],1)])]),e._v(" "),i("div",{staticClass:"mainInfo"},[i("div",{staticClass:"line"},[i("div",{staticClass:"topLine leftLine"},[i("ul",{staticClass:"numberInfo"},[i("li",[i("img",{staticClass:"icon",attrs:{src:n("a8Oi"),alt:""}}),e._v(" "),i("div",{staticClass:"numberText",staticStyle:{"text-align":"left"}},[i("div",[e._v(e._s(e.onlineCount?e.onlineCount:"-"))]),e._v(" "),i("span",[e._v("当前在线人数")])])]),e._v(" "),i("li",[i("img",{staticClass:"icon",attrs:{src:n("zDoT"),alt:""}}),e._v(" "),i("div",{staticClass:"numberText"},[i("div",[e._v(e._s(e.totalbarrage?e.totalbarrage:"-"))]),e._v(" "),i("span",[e._v("弹幕条数")])])])]),e._v(" "),i("div",{staticStyle:{width:"100%",height:"2rem"},attrs:{id:"OnlineNumber"}}),e._v(" "),i("div",{staticClass:"bullScreen"},[e._m(0),e._v(" "),e.barrageList.length>0?i("bull-swiper",{attrs:{preLength:e.preBullLength,list:e.barrageList},on:{stopLoop1:e.stopLoop,startLoop1:e.startLoop}}):e._e(),e._v(" "),e.noneGift||0!=e.barrageList.length?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.noneGift?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)]),e._v(" "),i("div",{staticClass:"hotLine"},[i("div",{staticClass:"title"},[e._v("弹幕热词")]),e._v(" "),i("commentaryAnalysis",{staticStyle:{"padding-top":"40px"},attrs:{user_id:e.user_id,live_stream_id:e.live_stream_id,enable:e.enable}})],1),e._v(" "),i("div",{staticClass:"bottomLine rightLines"},[i("div",{staticClass:"title",staticStyle:{width:"100%",display:"block"}},[e._v("分类占比")]),e._v(" "),i("div",{staticClass:"choice_div clear"},[i("li",{class:1==e.checkType?"active":"",on:{click:function(t){e.checkType=1}}},[e._v("按数量")]),e._v(" "),i("li",{class:2==e.checkType?"active":"",on:{click:function(t){e.checkType=2}}},[e._v("按销量")]),e._v(" "),i("li",{class:3==e.checkType?"active":"",on:{click:function(t){e.checkType=3}}},[e._v("按销售额")])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hasAunoProTrend&&e.goodsStatisticsFlag,expression:"!hasAunoProTrend&&goodsStatisticsFlag"}],staticStyle:{width:"100%",height:"4rem"},attrs:{id:"typeDis"}}),e._v(" "),e.hasAunoProTrend||e.goodsStatisticsFlag?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.hasAunoProTrend?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)]),e._v(" "),i("div",{staticClass:"centerLine"},[i("div",{staticClass:"centerTop numberInfo"},[i("li",[i("div",[e._v(e._s(e.dataInfo&&e.dataInfo.goods_num?e.dataInfo.goods_num:"-"))]),e._v(" "),i("span",[e._v("商品数")])]),e._v(" "),i("li",[i("div",[e._v(e._s(e.dataInfo&&e.dataInfo.sell_count?e.dataInfo.sell_count:"-"))]),e._v(" "),i("span",[e._v("销量")])]),e._v(" "),i("li",[i("div",[e._v(e._s(e.dataInfo&&e.dataInfo.sell_money?e.dataInfo.sell_money:"-"))]),e._v(" "),i("span",[e._v("销售额")])])]),e._v(" "),i("div",{staticClass:"center"},[i("div",{staticClass:"echarts"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.noneSale,expression:"!noneSale"}],staticStyle:{width:"100%",height:"2.3rem"},attrs:{id:"CommoditySales"}}),e._v(" "),e.noneSale?i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]):e._e()]),e._v(" "),i("div",{staticClass:"table bullScreen"},[e._m(1),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.noneDonePro&&e.proList.length>0,expression:"!noneDonePro&&proList.length>0"}],staticClass:"good_list",attrs:{id:"proList"}},[e._l(e.proList,function(t){return i("div",{staticClass:"good_item"},[i("div",{staticClass:"userInfo"},[i("div",{staticClass:"leftUser"},[i("img",{staticClass:"headUrl",attrs:{src:t.img,alt:""}}),e._v(" "),i("div",{staticClass:"rightPro"},[i("el-tooltip",{staticClass:"item",staticStyle:{"-webkit-box-orient":"vertical"},attrs:{effect:"dark",content:t.title,placement:"top-start"}},[i("span",{staticClass:"name",staticStyle:{display:"inline-block"}},[e._v(e._s(t.title))])]),e._v(" "),i("div",{staticClass:"btmText"},[e._v("¥"+e._s(t.price?t.price:"-"))])],1)]),e._v(" "),i("div",{staticClass:"contentText"},[e._v("\n "+e._s(t.sell_count?t.sell_count:"-")+"\n ")]),e._v(" "),i("div",{staticClass:"contentText"},[e._v("\n "+e._s(t.sell_money?t.sell_money:"-")+"\n ")])])])}),e._v(" "),e.proList.length>0&&!e.noneDonePro&&e.hasAunoPro?i("list-permission"):e._e()],2),e._v(" "),e.noneDonePro||0!=e.proList.length?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")])]),e._v(" "),!e.hasAunoPro&&e.noneDonePro?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1),e._v(" "),i("div",{staticClass:"centerBottom"},[i("div",{staticClass:"title",staticStyle:{width:"100%",display:"block"}},[e._v("价格分布")]),e._v(" "),i("div",{staticClass:"canvas"},[i("div",{staticClass:"choice_div clear"},[i("li",{class:1==e.priceType?"active":"",on:{click:function(t){e.priceType=1}}},[e._v("按数量")]),e._v(" "),i("li",{class:2==e.priceType?"active":"",on:{click:function(t){e.priceType=2}}},[e._v("按销量")]),e._v(" "),i("li",{class:3==e.priceType?"active":"",on:{click:function(t){e.priceType=3}}},[e._v("按销售额")])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hasAunoProTrend&&e.priceEchartsLoding,expression:"!hasAunoProTrend&&priceEchartsLoding"}],staticStyle:{width:"100%",height:"3rem"},attrs:{id:"priceDis"}}),e._v(" "),e.hasAunoProTrend||e.priceEchartsLoding?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.hasAunoProTrend?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)])]),e._v(" "),i("div",{staticClass:"line"},[i("div",{staticClass:"topLine rightLine"},[i("ul",{staticClass:"numberInfo"},[i("li",[i("img",{staticClass:"icon",attrs:{src:n("yrL6"),alt:""}}),e._v(" "),i("div",{staticClass:"numberText"},[i("div",[e._v(e._s(e.giftCount?e.giftCount:"-"))]),e._v(" "),i("span",[e._v("送礼人数")])])]),e._v(" "),i("li",[i("img",{staticClass:"icon",attrs:{src:n("vK0N"),alt:""}}),e._v(" "),i("div",{staticClass:"numberText"},[i("div",[e._v(e._s(e.dataInfo&&e.dataInfo.reward_count?e.dataInfo.reward_count:"-"))]),e._v(" "),i("span",[e._v("礼物收入")])])])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.noRewardTrend,expression:"!noRewardTrend"}],staticStyle:{width:"100%",height:"2rem"},attrs:{id:"RewardNumber"}}),e._v(" "),e.noRewardTrend?i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]):e._e(),e._v(" "),i("div",{staticClass:"bullScreen"},[e._m(2),e._v(" "),e.allGiftList.length>0?i("gift-swiper",{attrs:{preLength:e.preGiftLength,list:e.allGiftList},on:{stopLoop1:e.stopLoop1,startLoop1:e.startLoop1}}):e._e(),e._v(" "),e.noneGift||0!=e.allGiftList.length?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.noneGift?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)]),e._v(" "),i("div",{staticClass:"hotLine hotLine1",staticStyle:{padding:"0"}},[i("div",{staticClass:"table bullScreen"},[e._m(3),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.giftList.length>0,expression:"giftList.length>0"}],staticStyle:{height:"3.2rem"},attrs:{id:"proList"}},e._l(e.giftList,function(t){return i("div",{staticClass:"good_item",staticStyle:{background:"#071e3f"}},[i("div",{staticClass:"userInfo"},[i("div",{staticClass:"leftUser"},[i("img",{staticClass:"headUrl",staticStyle:{"border-radius":"50%"},attrs:{src:t.head_url,alt:""}}),e._v(" "),i("div",{staticClass:"rightPro"},[i("el-tooltip",{staticClass:"item",staticStyle:{display:"inline-block","-webkit-box-orient":"vertical"},attrs:{effect:"dark",content:t.user_name,placement:"top-start"}},[i("span",{staticClass:"name"},[e._v(e._s(t.user_name))])])],1)]),e._v(" "),i("div",{staticClass:"contentText",staticStyle:{width:"50%"}},[e._v("\n "+e._s(t.rewards?t.rewards:"-")+"\n ")])])])}),0),e._v(" "),e.noneRewardList||0!=e.giftList.length?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.noneRewardList?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)]),e._v(" "),i("div",{staticClass:"bottomLine"},[i("div",{staticClass:"title",staticStyle:{width:"100%",display:"block"}},[e._v("商品来源分布")]),e._v(" "),i("div",{staticClass:"choice_div clear"},[i("li",{class:1==e.sourceType?"active":"",on:{click:function(t){e.sourceType=1}}},[e._v("按数量")]),e._v(" "),i("li",{class:2==e.sourceType?"active":"",on:{click:function(t){e.sourceType=2}}},[e._v("按销量")]),e._v(" "),i("li",{class:3==e.sourceType?"active":"",on:{click:function(t){e.sourceType=3}}},[e._v("按销售额")])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hasAunoProTrend&&e.channelEchartsLoding,expression:"!hasAunoProTrend&&channelEchartsLoding"}],staticStyle:{width:"100%",height:"4rem"},attrs:{id:"channel"}}),e._v(" "),e.hasAunoProTrend||e.channelEchartsLoding?e._e():i("p",{staticClass:"noHaveDate",staticStyle:{"padding-top":"100px"}},[e._v("暂无数据")]),e._v(" "),e.hasAunoProTrend?i("nopermission",{attrs:{noBack:e.noBack}}):e._e()],1)])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"topTitle"},[t("div",{staticClass:"title"},[this._v("观众名称")]),this._v(" "),t("div",{staticClass:"other"},[this._v("弹幕")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"topTitle"},[t("div",{staticClass:"title"},[this._v("商品名称")]),this._v(" "),t("div",{staticClass:"other"},[this._v("销量")]),this._v(" "),t("div",{staticClass:"other"},[this._v("销售额")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"topTitle"},[t("div",{staticClass:"title"},[this._v("观众名称")]),this._v(" "),t("div",{staticClass:"other"},[this._v("礼物")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"topTitle"},[t("div",{staticClass:"title"},[this._v("土豪名称")]),this._v(" "),t("div",{staticClass:"other"},[this._v("送礼金额(元)")])])}]};var w=n("C7Lr")(b,x,!1,function(e){n("T8zG")},"data-v-2cec5b3b",null);t.default=w.exports},T8zG:function(e,t){},TTHi:function(e,t){},WlIK:function(e,t){},a8Oi:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABOCAMAAAC5dNAvAAAAilBMVEVq7f8AAABL8/pJ8vpq7v818/U19PQw9PNj8/9r7P9t8v8y9PQ68vVs7/8+9Pds7/9s8P9w7P+A1f8p9fI89Pcp9fJp8P9u7f9m6/906P9m5v+A/P9U8fxb8v4r9fIt9fM48/ZC9fhk7/9n6v8r9fIs9fMu9fMy9PQ19PVO8vss9fI49PVB8vYp9PHRFLl2AAAALXRSTlM6AFtiL5mgukA2ErKEH3chKhAD+X7yMxsZCwoIT0fo0YxsPSXt38iqnFbZkXLCRdGzAAACQ0lEQVRYw72Y2ZLaMBBFLyAWGQvvgMGswzqT/v/fCyGVBMayWuCunBf8dEpumZb6ouMkTeZRrKYa0FMVR/Mk7Thx6RKjUEOZ5B1daTQa0KZ8URcoOFEBo7PKeCGvW8TwIl546FIDb0zK6ZYKL6CWbl2g8RI6cOlmeJlZsy7CG0RNug+8xYddx6+NXx/4uvHM6roALQi+65YaLdDLZ12q0AqVPukMWmIedQu0ZvGgi9Ga+J8ugADBX52CAOqPLgCklgepxQHqt66EEOVdF6FOFQ6c5CvUMXedRo0wI4biB2roX7oENbrZOu86CYuiQo3kpjOocaEdGELa2t4Wtn0d0ggMXRrb9hYpON1ocwj9dEiRsLoeEQ1XXroEcw/daUjrnY9ujshD10de0GDP6yLEXjpUG/rssroYyk8H9CnrcjqFqa+uOlDO6abQnrrJrXrgdBrw0o3G973ldPDSDbrH+5fH67xeNsuK0Osz1h5bURFtrvDSTT0+FPTyPfx0CjHkOgpiRJK6CHNv3WRdfHEtwNGgVpMn8uxwpK/bQ8/RoBzt80zfyK/3n2zf3D4dzb0Kn9hm608a3B52rubeMb61y4vs4q6dsR+MY1rBxv7xr3K2lM5+bG9pC4Yz5fZj2/K2ozUN+y4uJzrW62GarjzXDTGcKtQomy9kq54TW22V8HVR9jIrfNWWHQSExxTZIUp4xJMdQGXHY9nhXTZakA0+ZGMZ2dBIOtKSD9zk40D5sFI+SpUPeu2UUXMMHZX/KSQXjvB/AhpXPnD7sKCtAAAAAElFTkSuQmCC"},"d/rn":function(e,t){},hcrA:function(e,t,n){var i; /*! * jQuery JavaScript Library v3.5.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2020-05-04T22:49Z */ /*! * jQuery JavaScript Library v3.5.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2020-05-04T22:49Z */ !function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,o=(n=n||b).createElement("script");if(o.text=e,t)for(i in x)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)};function A(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.5.1",constructor:C,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+H+")"+H+"*"),W=new RegExp(H+"|>"),X=new RegExp(q),V=new RegExp("^"+P+"$"),Y={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(D=B.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){N={apply:D.length?function(e,t){j.apply(e,B.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,r){var o,s,c,u,d,h,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!r&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return i.push(c),i}else{if(d[2])return N.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(W.test(e)||z.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=x)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);v=h.join(",")}try{return N.apply(i,y.querySelectorAll(v)),i}catch(t){S(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(M,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[x]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),w!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ue(function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue(function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+H+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",q)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(h.compareDocumentPosition),b=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:u?R(u,e)-R(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==p?-1:t==p?1:r?-1:o?1:u?R(u,e)-R(u,t):0;if(r===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?fe(a[i],s[i]):a[i]==w?-1:s[i]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!S[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){S(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var r=i.attrHandle[t.toLowerCase()],o=r&&k.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ie,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(E),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=se.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(p=(c=(u=(d=(f=g)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===T&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[T,p,b];break}}else if(y&&(b=p=(c=(u=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===T&&c[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((u=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[T,b]),f!==t)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,o=r(e,t),a=o.length;a--;)e[i=R(e,o[a])]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ce(function(e){var t=[],n=[],i=s(e.replace(M,"$1"));return i[x]?ce(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}}),lang:ce(function(e){return V.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;nt?t:n;--i>=0;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Te(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=d))}}else v=Te(v===a?v.splice(h,v.length):v),r?r(null,a,v,l):N.apply(a,v)})}function Ae(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,u=xe(function(e){return e===t},s,!0),d=xe(function(e){return R(t,e)>-1},s,!0),f=[function(e,n,i){var r=!a&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];l1&&we(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(M,"$1"),n,l0,r=e.length>0,o=function(o,a,s,l,u){var d,h,g,v=0,y="0",b=o&&[],x=[],w=c,C=o||r&&i.find.TAG("*",u),A=T+=null==w?1:Math.random()||.1,L=C.length;for(u&&(c=a==p||a||u);y!==L&&null!=(d=C[y]);y++){if(r&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,a||p,s)){l.push(d);break}u&&(T=A)}n&&((d=!g&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(h=0;g=t[h++];)g(b,x,a,s);if(o){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=I.call(l));x=Te(x)}N.apply(l,x),u&&!o&&x.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(T=A,c=w),b};return n?ce(o):o}(o,r))).selector=e}return s},l=se.select=function(e,t,n,r){var o,l,c,u,d,f="function"==typeof e&&e,p=!r&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=Y.needsContext.test(e)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(r=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&be(l)))return N.apply(n,r),n;break}}return(f||s(e,p))(r,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(O,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(n);C.find=L,C.expr=L.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=L.uniqueSort,C.text=L.getText,C.isXMLDoc=L.isXML,C.contains=L.contains,C.escapeSelector=L.escape;var _=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&C(e).is(n))break;i.push(e)}return i},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=C.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return v(t)?C.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return u.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?C.find.matchesSelector(i,e)?[i]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&E.test(e)?C(e):e||[],!1).length}});var j,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),D.test(i[1])&&C.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,j=C(b);var B=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,i){var r=C.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=C.filter(i,r)),this.length>1&&(R[e]||C.uniqueSort(r),B.test(e)&&r.reverse()),this.pushStack(r)}});var H=/[^\x20\t\r\n\f]+/g;function P(e){return e}function F(e){throw e}function q(e,t,n,i){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(n):e&&v(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(H)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,i){var r=v(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){var o=0;function a(e,t,i,r){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e=o&&(i!==F&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),n.setTimeout(u))}}return C.Deferred(function(n){t[0][3].add(a(0,n,v(r)?r:P,n.notifyWith)),t[1][3].add(a(0,n,v(e)?e:P)),t[2][3].add(a(0,n,v(i)?i:F))}).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},o={};return C.each(t,function(e,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add(function(){i=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=s.call(arguments),o=C.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(q(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)q(r[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var M=C.Deferred();function G(){b.removeEventListener("DOMContentLoaded",G),n.removeEventListener("load",G),C.ready()}C.fn.ready=function(e){return M.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||M.resolveWith(b,[C]))}}),C.ready.then=M.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",G),n.addEventListener("load",G));var z=function(e,t,n,i,r,o,a){var s=0,l=e.length,c=null==n;if("object"===T(n))for(s in r=!0,n)z(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,v(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),C.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=$.get(e,t),n&&(!i||Array.isArray(n)?i=$.access(e,t,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),i=n.length,r=n.shift(),o=C._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){C.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return $.get(e,n)||$.access(e,n,{empty:C.Callbacks("once memory").add(function(){$.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(he=b.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),g.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",g.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",g.option=!!pe.lastChild;var ye={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?C.merge([e],n):n}function xe(e,t){for(var n=0,i=e.length;n",""]);var we=/<|&#?\w+;/;function Te(e,t,n,i,r){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)r&&r.push(o);else if(c=ae(o),a=be(d.appendChild(o),"script"),c&&xe(a),n)for(u=0;o=a[u++];)ve.test(o.type||"")&&n.push(o);return d}var Ce=/^key/,Ae=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Le=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function Se(){return!1}function Ee(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,i,r,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)ke(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Se;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,r,i,n)})}function De(e,t,n){n?($.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=$.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),$.set(this,t,o),i=n(this,t),this[t](),o!==(r=$.get(this,t))||i?$.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else o.length&&($.set(this,t,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===$.get(e,t)&&C.event.add(e,t,_e)}C.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,c,u,d,f,p,h,m,g=$.get(e);if(Q(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&C.find.matchesSelector(oe,r),n.guid||(n.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(H)||[""]).length;c--;)p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=C.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=C.event.special[p]||{},u=C.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,u):f.push(u),C.event.global[p]=!0)},remove:function(e,t,n,i,r){var o,a,s,l,c,u,d,f,p,h,m,g=$.hasData(e)&&$.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(H)||[""]).length;c--;)if(p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},f=l[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||C.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)C.event.remove(e,p+t[c],n,i,!0);C.isEmptyObject(l)&&$.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=new Array(arguments.length),l=C.event.fix(e),c=($.get(this,"events")||Object.create(null))[l.type]||[],u=C.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:C.find(r,this,null,[c]).length),a[r]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,l\s*$/g;function Be(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,o,a,s;if(1===t.nodeType){if($.hasData(e)&&(s=$.get(e).events))for(r in $.remove(t,"handle events"),s)for(n=0,i=s[r].length;n1&&"string"==typeof h&&!g.checkClone&&je.test(h))return e.each(function(r){var o=e.eq(r);m&&(t[0]=h.call(this,r,o.html())),Pe(o,t,n,i)});if(f&&(o=(r=Te(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=(a=C.map(be(r,"script"),Re)).length;d0&&xe(a,!d&&be(e,"script")),u},cleanData:function(e){for(var t,n,i,r=C.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[$.expando]){if(t.events)for(i in t.events)r[i]?C.event.remove(n,i):C.removeEvent(n,i,t.handle);n[$.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return z(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Be(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Be(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!ye[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n3,oe.removeChild(e)),s}}))}();var Xe=["Webkit","Moz","ms"],Ve=b.createElement("div").style,Ye={};function Qe(e){var t=C.cssProps[e]||Ye[e];return t||(e in Ve?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ve)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,$e=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var i=ie.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function tt(e,t,n,i,r,o){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=C.css(e,n+re[a],!0,r)),i?("content"===n&&(l-=C.css(e,"padding"+re[a],!0,r)),"margin"!==n&&(l-=C.css(e,"border"+re[a]+"Width",!0,r))):(l+=C.css(e,"padding"+re[a],!0,r),"padding"!==n?l+=C.css(e,"border"+re[a]+"Width",!0,r):s+=C.css(e,"border"+re[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function nt(e,t,n){var i=Ue(e),r=(!g.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,i),o=r,a=ze(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&k(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===C.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===C.css(e,"boxSizing",!1,i),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(r?"border":"content"),o,i,a)+"px"}function it(e,t,n,i,r){return new it.prototype.init(e,t,n,i,r)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=Y(t),l=$e.test(t),c=e.style;if(l||(t=Qe(s)),a=C.cssHooks[t]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:c[t];"string"===(o=typeof n)&&(r=ie.exec(n))&&r[1]&&(n=ce(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(C.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,a,s=Y(t);return $e.test(t)||(t=Qe(s)),(a=C.cssHooks[t]||C.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=ze(e,t,i)),"normal"===r&&t in Je&&(r=Je[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,i){if(n)return!Ke.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,i):Me(e,Ze,function(){return nt(e,t,i)})},set:function(e,n,i){var r,o=Ue(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===C.css(e,"boxSizing",!1,o),l=i?tt(e,t,i,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),l&&(r=ie.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),et(0,n,l)}}}),C.cssHooks.marginLeft=We(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Me(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+re[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(C.cssHooks[e+t].set=et)}),C.fn.extend({css:function(e,t){return z(this,function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=Ue(e),r=t.length;a1)}}),C.Tween=it,it.prototype={constructor:it,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,n=it.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=it.prototype.init,C.fx.step={};var rt,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,C.fx.interval),C.fx.tick())}function ct(){return n.setTimeout(function(){rt=void 0}),rt=Date.now()}function ut(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=re[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function dt(e,t,n){for(var i,r=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=r.length;o1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(r=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=C.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(H);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||C.find.attr;ht[t]=function(e,t,i){var r,o,a=t.toLowerCase();return i||(o=ht[a],ht[a]=r,r=null!=n(e,t,i)?a:null,ht[a]=o),r}});var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(H)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(H)||[]}C.fn.extend({prop:function(e,t){return z(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,r=C.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,l=0;if(v(e))return this.each(function(t){C(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(r=yt(n),i=1===n.nodeType&&" "+vt(r)+" "){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=vt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,l=0;if(v(e))return this.each(function(t){C(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(r=yt(n),i=1===n.nodeType&&" "+vt(r)+" "){for(a=0;o=t[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=vt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,yt(this),t),t)}):this.each(function(){var t,r,o,a;if(i)for(r=0,o=C(this),a=bt(e);t=a[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&$.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":$.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;C.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=v(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,C(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(xt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:vt(C.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,i,r){var o,a,s,l,c,u,d,f,h=[i||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(m=(g=m.split(".")).shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(i.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||m,(u=($.get(a,"events")||Object.create(null))[e.type]&&$.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Q(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Q(i)||c&&v(i[m])&&!y(i)&&((s=i[c])&&(i[c]=null),C.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Tt),i[m](),e.isPropagationStopped()&&f.removeEventListener(m,Tt),C.event.triggered=void 0,s&&(i[c]=s)),e.result}},simulate:function(e,t,n){var i=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(i,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=$.access(i,t);r||i.addEventListener(e,n,!0),$.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=$.access(i,t)-1;r?$.access(i,t,r):(i.removeEventListener(e,n,!0),$.remove(i,t))}}});var Ct=n.location,At={guid:Date.now()},Lt=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var _t=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var r;if(Array.isArray(t))C.each(t,function(t,r){n||_t.test(e)?i(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==T(t))i(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],n,i)}C.param=function(e,t){var n,i=[],r=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){r(this.name,this.value)});else for(n in e)Dt(n,e[n],t,r);return i.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&kt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var It=/%20/g,jt=/#.*$/,Nt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Ot=/^\/\//,Ht={},Pt={},Ft="*/".concat("*"),qt=b.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(H)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Mt(e,t,n,i){var r={},o=e===Pt;function a(s){var l;return r[s]=!0,C.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Gt(e,t){var n,i,r=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&C.extend(!0,e,i),e}qt.href=Ct.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,C.ajaxSettings),t):Gt(C.ajaxSettings,e)},ajaxPrefilter:Ut(Ht),ajaxTransport:Ut(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,a,s,l,c,u,d,f,p=C.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?C(h):C.event,g=C.Deferred(),v=C.Callbacks("once memory"),y=p.statusCode||{},x={},w={},T="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Bt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)A.always(e[A.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),L(0,t),this}};if(g.promise(A),p.url=((e||p.url||Ct.href)+"").replace(Ot,Ct.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(H)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Mt(Ht,p,t,A),c)return A;for(d in(u=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Rt.test(p.type),r=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(It,"+")):(f=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Lt.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Nt,"$1"),f=(Lt.test(r)?"&":"?")+"_="+At.guid+++f),p.url=r+f),p.ifModified&&(C.lastModified[r]&&A.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&A.setRequestHeader("If-None-Match",C.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&A.setRequestHeader("Content-Type",p.contentType),A.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)A.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,A,p)||c))return A.abort();if(T="abort",v.add(p.complete),A.done(p.success),A.fail(p.error),i=Mt(Pt,p,t,A)){if(A.readyState=1,u&&m.trigger("ajaxSend",[A,p]),c)return A;p.async&&p.timeout>0&&(s=n.setTimeout(function(){A.abort("timeout")},p.timeout));try{c=!1,i.send(x,L)}catch(e){if(c)throw e;L(-1,e)}}else L(-1,"No Transport");function L(e,t,a,l){var d,f,b,x,w,T=t;c||(c=!0,s&&n.clearTimeout(s),i=void 0,o=l||"",A.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,A,a)),!d&&C.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),x=function(e,t,n,i){var r,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,x,A,d),d?(p.ifModified&&((w=A.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=w),(w=A.getResponseHeader("etag"))&&(C.etag[r]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=x.state,f=x.data,d=!(b=x.error))):(b=T,!e&&T||(T="error",e<0&&(e=0))),A.status=e,A.statusText=(t||T)+"",d?g.resolveWith(h,[f,T,A]):g.rejectWith(h,[A,T,b]),A.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[A,p,d?f:b]),v.fireWith(h,[A,T]),u&&(m.trigger("ajaxComplete",[A,p]),--C.active||C.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:r,data:n,success:i},C.isPlainObject(e)&&e))}}),C.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Wt=C.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,C.ajaxTransport(function(e){var t,i;if(g.cors||Wt&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=C("