// env=undefined => env=publish Cube("datav:/com/carousel-table/1.8.7/fastdom.min",[],function(s,t,e,n,i,o){function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}return function(e){"use strict";function t(){var t=this;t.reads=[],t.writes=[],t.raf=i.bind(e)}function o(t){t.scheduled||(t.scheduled=!0,t.raf(function(t){var e,n=t.writes,i=t.reads;try{i.length,r(i),n.length,r(n)}catch(t){e=t}if(t.scheduled=!1,(i.length||n.length)&&o(t),e){if(e.message,!t.catch)throw e;t.catch(e)}}.bind(null,t)))}function r(t){for(var e;e=t.shift();)e()}function n(t,e){e=t.indexOf(e);return!!~e&&!!t.splice(e,1)}var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)},u=(t.prototype={constructor:t,measure:function(t,e){e=e?t.bind(e):t;return this.reads.push(e),o(this),e},mutate:function(t,e){e=e?t.bind(e):t;return this.writes.push(e),o(this),e},clear:function(t){return n(this.reads,t)||n(this.writes,t)},extend:function(t){if("object"!=c(t))throw new Error("expected object");var e,n=Object.create(this),i=n,o=t;for(e in o)o.hasOwnProperty(e)&&(i[e]=o[e]);return n.fastdom=this,n.initialize&&n.initialize(),n},catch:null},e.fastdom=e.fastdom||new t);"function"==typeof define?define(function(){return u}):"object"==(void 0===s?"undefined":c(s))&&(s.exports=u)}("undefined"!=typeof window?window:void 0),s.exports});; Cube("datav:/com/carousel-table/1.8.7/utils",["datav:/npm/alibabacloud-datav-tool-gui-utils/1.0.2","datav:/npm/jquery/2.1.4","datav:/npm/lodash/4.6.1"],function(t,e,i,o,n,l){var g=i("datav:/npm/alibabacloud-datav-tool-gui-utils/1.0.2");function r(e,t){var i,o=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,i)),o}function s(o){for(var t=1;t\n <% if (hasIndex) {%>
<%}%>\n <%= column %>\n'),d=h.template('
\n<% if (hasIndex) {%>\n
\n
\n
\n
\n<%}%>\n
'),c=h.template('
\n<%= content %>\n<% if (!ifHeader) {%>\n
\n \n <% if (ifRun && !isBr) {%>\n \n <%}%>\n
\n<%}%>\n
');return t.exports={cancelHighLightStyleFn:function(i,t){var e=t.idList,o=e.backgroundColor,e=e.textStyle,n=e.color,l=e.fontSize,r=e.fontWeight,e=e.fontFamily,a=t.series,d=t.row.backgroundColor1,c=t.row.backgroundColor2,g=(i.find(".index-bg").css({backgroundColor:o,backgroundImage:"none",backgroundClip:"initial",textFillColor:"initial",color:n,fontSize:l,fontWeight:r,fontFamily:e}),i.eq(0).attr("highlightnum")%2==0);i.each(function(t,e){var l=f(e).find(".cell-content"),e=(t+1)%2==0,e=g?e?c:d:e?d:c;i.eq(t).css({background:e,border:"none"}),h.forEach(a,function(t,e){var t=t.textStyle,i=t.color,o=t.fontFamily,n=t.fontSize,t=t.fontWeight;l.eq(e).find(".marquee-text-span").css({color:i,fontFamily:o,fontSize:n,fontWeight:t,backgroundImage:"none",backgroundClip:"initial",textFillColor:"initial"})})})},cancelHighLightStyleAll:function(i,t){var e=t.idList,o=e.backgroundColor,e=e.textStyle,n=e.color,l=e.fontSize,r=e.fontWeight,e=e.fontFamily,a=t.series,d=t.row.backgroundColor1,c=t.row.backgroundColor2;i.find(".index-bg").css({backgroundColor:o,backgroundImage:"none",backgroundClip:"initial",textFillColor:"initial",color:n,fontSize:l,fontWeight:r,fontFamily:e}),i.each(function(t,e){var l=f(e).find(".cell-content");i.eq(t).css({background:(t+1)%2==0?c:d,border:"none"}),h.forEach(a,function(t,e){var t=t.textStyle,i=t.color,o=t.fontFamily,n=t.fontSize,t=t.fontWeight;l.eq(e).find(".marquee-text-span").css({color:i,fontFamily:o,fontSize:n,fontWeight:t,backgroundImage:"none",backgroundClip:"initial",textFillColor:"initial"})})})},cancelHighLightStyle:function(t,e,i){var o=t.idList,n=o.backgroundColor,o=o.textStyle,l=o.color,r=o.fontSize,a=o.fontWeight,o=o.fontFamily,d=t.series,c=t.row.backgroundColor1,t=t.row.backgroundColor2,g=i.find(".cell-content");i.css({background:(e+1)%2==0?t:c,border:"none"}),i.find(".index-bg").css({backgroundColor:n,color:l,fontSize:r,fontWeight:a,fontFamily:o}),h.forEach(d,function(t,e){var t=t.textStyle,i=t.color,o=t.fontFamily,n=t.fontSize,t=t.fontWeight;g.eq(e).find(".marquee-text-span").css({color:i,fontFamily:o,fontSize:n,fontWeight:t})})},addHighLightStyle:function(t,e){var t=h.get(t,"global.highLight").hightLightStyle,i=t.textStyle,o=i.fontFamily,n=i.fontSize,l=i.fontWeight,i=i.color,r=t.backgroundColor,t=t.border,a=t.borderWidth,d=t.borderStyle,t=t.borderColor,i=(0,g.getBackgroundStyleFromFill)(i),c=h.includes(i,"linear-gradient"),i={color:c?"unset":i,"background-image":c?i:"none","-webkit-background-clip":c?"text":"unset","-webkit-text-fill-color":c?"transparent":"initial"},c={},c=h.get(t,"value.stops")?{"border-style":d,"border-image":(0,g.getBackgroundStyleFromFill)(t),"border-width":a,"border-image-width":a||"0","border-image-slice":"10"}:{border:"".concat(a,"px ").concat(d," ").concat(h.get(t,"type")?t.value:t)};e.css(s(s({},c),{},{background:(0,g.getBackgroundStyleFromFill)(r)})).find(".marquee-text-span").css(s(s({},i),{},{fontSize:n,fontWeight:l,fontFamily:o})),e.find(".index-bg").css(s(s({background:"none"},i),{},{fontFamily:o,fontSize:n,fontWeight:l}))},defaultOption:{"background-color":"transparent",theme:{},global:{animation:{singleStop:!1},ifRowHidden:!1,textAnimate:{ifRun:!1,animateDur:2,isSpeed:!0,speedRate:.03},ifUpdateImd:!0,highLight:{show:!1,isOrder:!0,hightLightIndex:3,hightLightStyle:{textStyle:{fontFamily:"Microsoft Yahei",fontSize:12,fontWeight:"normal",color:"#f00"},backgroundColor:"yellowGreen",border:{borderWidth:1,borderStyle:"solid",borderColor:"#f00"}}}},idList:{textStyle:{fontFamily:"Microsoft Yahei",fontSize:10,fontWeight:"normal",color:"#ffffff"}},series:[{columnName:"area",displayName:"地区",width:20,dataType:"text",widthPercent:50,margin:{left:0,top:0,bottom:10,right:10},isBr:!1,textStyle:{textAlign:"left",fontSize:12,color:"rgba(255,255,255,0.8)",fontWeight:"normal",fontFamily:"Microsoft Yahei"},backgroundColor:"#ff7900",textAlign:"left"},{columnName:"pv",displayName:"流量(pv)",width:20,dataType:"text",widthPercent:50,margin:{left:0,top:0,bottom:10,right:10},isBr:!1,textStyle:{textAlign:"left",fontSize:12,color:"rgba(255,255,255,0.8)",fontWeight:"normal",fontFamily:"Microsoft Yahei"},backgroundColor:"#ff7900",textAlign:"left"},{columnName:"attribute",displayName:"用户行为特征",width:53,dataType:"text",widthPercent:50,margin:{left:0,top:0,bottom:10,right:10},isBr:!1,textStyle:{textAlign:"left",fontSize:12,color:"rgba(255,255,255,0.8)",fontWeight:"normal",fontFamily:"Microsoft Yahei"},backgroundColor:"#ff7900",textAlign:"left"}]},headerTemplateFn:a,rowTemplateFn:d,cellTemplateFn:c,RANDOM_TIME:i,DURATION_TIME:400,FULL_SCREEN:"top",LINE_BY_LINE_SCROLL:"bottom",BASE64_IMG:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGMAAABBCAMAAADygeqaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADhUExURUdwTADY3BPL1gDZ3ADZ3ATY3ADZ3ADZ3ADZ3ADZ3NTF2ATY3AHW2wXV2gDZ3ADZ3ADZ3ADZ3DCCq0HG1AbZ3ALZ3ADZ3AfS2ADZ3ADZ3ADZ3Me2yRwpcrehwcSzzkNOld/j6G+SpMSsyS9BiD6yxZqNusGuxMrh5iGUtNbA1xSRslxRnKuvyJyFtDSju2xeoADZ3AQvdQEeYw9BiQQpbj2uwDGHrNvn6UBBkSt6pjgseUfN0ws4gRFymwIjVROYrLObuRpKihdZjDE5hnNypzWBiKyMnqG80UnY2VuCrg53iWrCbhYAAAAwdFJOUwAhD3M6kqmI2wj+Y0MaKUx/bO4Fv1vzMlL65/n8G32X7f1O1efzpu2tzHtUPijJ36w5cUEAAAL/SURBVFjD7ZVpc5swEIYFiBtxBDDER2IncdIjaTHGqe/4Ttr//4O6C7ZDZxrSzrj9pGfGFqxgX+0hQQiHw+FwOBzO3/DhrMzNXfvurt1uN7rdxtXJNKLV7BEY4W80ev6WYywaxkf/dIFcpmlvulyuVqvZQaKxMwzj/oTJYs00zXrAtLnebDbdZ2OxWxjG7WFel0Kf2bEkUMIoMalpRaLABMG2LYlFgufRSLIipkdVIp9SIBcZ5qzH4+Gm2zpMCy4NTRdcy75uWq4kOaFgma7lxMwV3TAOVY/Fihw5VRr+NYpAKP1+fzkcTpvj8Xh9eZwWJFtVVTN0VYfEiuVRxbQ92QURk1JZNR3Z8x2FymFltqxlhhp9ZNrroca1eJwVpdiyWRhGokVEymLJij1LYJ5neWYo2qZNqeRQEVJZ3b+jZZodJNIsa44/n3yPCGfQtv1pLpHNe1l6jX1L1SO4RoYZE9UyEto8tn8AMMH2ZtlHk5fBrN/LwP8cspWHYSdHNJ0QBS9okJRwVfx3guKB4g35LQ3xZjJ5mTz1M5CYTw8F9169SYSe4xiUhBON1nJbVMMHABQT38xWOJlMBk9Psx5orIcP+4bTkqQuyyoOIrxfB5kwlmUZRg0GCqHV4NqEcGo2ITEIxhUlCSaDAYqs5s3hsW8t8AnVgmW6YZKco886JEWCa9xxDvoE//WoniQK0WEtQeWxNUCN2ezHdvP1NVwl2GeAaejFBjU118Ssi7mNgX/VxFJ5uIzK3pJB4xEktuXzNpIlT8ayupANgRAYzgUw1BkpbmgRFbaClgdTfWzdDB5H3zvb7W3JKBXFDXDpiblfOqTII0UKIao8RWgDauydTWKCxG7X6TyU9k2t0KB532IgmBRL0XD75LYkKkrt5HfuexvR/9JZwGfjohyGlqMKxQj96QeaJkcWprGwQWF8RdMUvA3Ed3f7vYG0yttGzyG+vr/Ao74YiP6LTcRn/uRIuQWJi3/8aW+d9gP7ey6Mq38tQVoXhMPhcDgcDuc/8xNsRHRmPkNeHAAAAABJRU5ErkJggg==",THREE:3},t.exports});; Cube("datav:/com/carousel-table/1.8.7",["datav:/npm/bcore/0.0.18/event","datav:/npm/jquery/2.1.4","datav:/npm/lodash/4.6.1","datav:/npm/animejs/3.1.0"],function(t,i,e,n,o,a){function h(i,t){var e,n=Object.keys(i);return Object.getOwnPropertySymbols&&(e=Object.getOwnPropertySymbols(i),t&&(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable})),n.push.apply(n,e)),n}function d(i){for(var t=1;t'))},appendRow:function(t,i){for(var e=this,n=e.config.row.callbackId,o=e.config.row.backgroundColor2,a=0;a')),this.rowContainer=this.container.find(".rows-container"),{rowCount:i,height:(t.height-e.height)/i,hasIndex:n.show,idListWidth:n.width,idListRadius:n.radius,idListBgColor:n.backgroundColor,idListColor:n.textStyle.color,idListFontSize:n.textStyle.fontSize,idListFontFamily:n.textStyle.fontFamily||t.global.fontFamily,bgColor:t.row.backgroundColor1,fontWeight:n.textStyle.fontWeight});e.bgSize=Math.min(Math.floor(this.container.width()*n.width/100),e.height)*e.idListRadius/100-4,e.radius=e.bgSize/2,this.rowStr=u(e),i=this.config.global.animation.mode===L?i+1:2*i,this.appendRow(i,o,t.defaultCell)},updateData:function(t){t&&(this.dataPool=t)},getAnimationData:function(t,i){var e=this.config.global.animation.mode,n=0,o=p.get(this.config,"global.highLight"),a=o.isOrder,o=o.hightLightIndex,o=(e===L&&(n=a?i+1:o,a=p.filter(this._data,function(t,i){return i+1===n}),this.emit("highLight",{index:n,data:a})),this.getData(t,i,e===L?1:this.config.global.rowCount));return{data:o,index:o[0].index}},getData:function(t,i,e){var n=this.config,o=[],a=p.max([t.length,e]);i>t.length-1&&(n.global.animation.mode===L&&0t.length-1&&(n.global.animation.mode===L?t.lengthe/2||t.length%(e/2)==0)&&(r%=e/2)),t[r]);l&&void 0!==l?((l=p.cloneDeep(l)).index=r+1,o.push(l)):o.push({index:r+1})}return o},setStartIndex:function(t,i,e){(i+=e)>p.max([t.length,this.config.global.rowCount])-1&&(i=0),this.startIndex=i},calTransform:function(t,i,e){var n=i.find(".marquee-text-span"),o=this.config.series[e].isBr;switch(t){case"left":return 0;case"center":return o?0:i.width()/2-n.width()/2;case"right":return o?0:i.width()-n.width()-1;default:return 0}},fillCell:function(n){for(var o=this,l=this,s=l.config,c=l.columnNameList||[],a=s.row.backgroundColor1,h=s.row.backgroundColor2,g=s.series,d=s.global.animation.mode,t=p.get(s,"global.highLight"),f=t.show,u=t.isOrder,m=t.hightLightIndex,i=(s.global.isLoop&&f&&x(this.$rowContent,this.config),0);i'),F.mutate(function(){e.css("font-size",0)})):h=r[n]||0===Number(r[n])?r[n]:"-",F.mutate(function(){(a=e.find(".marquee-text")).find(".marquee-text-span").html(h),a.find(".whiteSpace").css("width",s.width),"img"!==o&&a.css("transform","translateX(".concat(l.calTransform(g[t].textAlign,e,t),"px)"))})}),e.attr("highLightIndex",i),e.css("background-color",i%2==0?h:a).find(".index-bg").text(i),f&&d===L&&(u?(t=o.container.find(".row-content").eq(0),y(l.config,t),t=null):(t=p.toString(m).split(","),w(o.config,i,e),p.forEach(t,function(t){i==t&&y(o.config,e)}))))}(i)},textLoop:function(){var i=this,a=this,h=a.config;F.mutate(function(){for(var t=0;tb(i).width()&&(n.css("width",0),a.textRun("".concat(o+1,"-").concat(t),e,t))})}(t)})},textRun:function(t,i,e){var n=this,o=this.config,a=o.global.textAnimate,o=o.series,h=i.outerWidth()/2-i.find(".marquee-text-span").outerWidth(),h=i.outerWidth()/2+h+this.calTransform(o[e].textAlign,i.parent(),e),o=(h/a.speedRate).toFixed(2),r=i.parents(".row-content").attr("highlightindex"),l=a.isSpeed&&o||1e3*a.animateDur,s=A({targets:i[0],translateX:[0,-h],easing:"linear",loop:!0,duration:l,update:function(t){n.marqueePosition=d(d({},n.marqueePosition),{},c({},"".concat(r),{value:t.progress,duration:l}))}});s.pause(),p.mapKeys(n.marqueePosition,function(t,i){"".concat(r)==="".concat(i)&&s.seek(t.duration*(t.value/100))}),s.play(),s=null},animation:function(){var i=this,t=this.config,e=t.global.animation.mode,n=p.get(t,"global.highLight"),o=n.show,n=n.isOrder,a=p.map(this.$rowContent),o=(o&&(e===L?n&&(o=this.container.find(".row-content").eq(0),w(t,0,o),n=this.container.find(".row-content").eq(1),y(t,n)):e===T&&this.container.find(".row-content").eq(0).on("transitionend",this.transFunction())),e===L?(t.height-t.header.height)/t.global.rowCount:t.height-t.header.height);this.animationAnime=A({targets:a,translateY:[0,-o],easing:"linear",changeBegin:function(t){i.isTabFocus||(i.$marqueeText.each(function(){A.remove(b(this)[0])}),i.textLoop())},duration:S})},transFunction:function(){var t=this.config.global.rowCount,t=this.container.find(".row-content").slice(t,2*t);this.clearAllTimer(),this.fullScreenScroll(t)},fullScreenScroll:function(t){var i=this.config,e=p.get(i,"global.highLight.show",!1),i=(this.curScrollDoms=t,i.global.animation.duration*v);this.fullScreenIndex=0,this.removeHighLightTimer(),e&&this.fullScreenScrollTimeout(t,i)},fullScreenScrollTimeout:function(t,i){var e=this,n=this.config.global.rowCount,o=t.eq(this.fullScreenIndex),o=(x(this.$rowContent,this.config),y(this.config,o),this.fullScreenIndex++,this.highlightIndex=Number(o.attr("highlightIndex")),p.filter(this._data,function(t,i){return i+1===e.highlightIndex})),a=this.highlightIndex<=Math.ceil(this._data.length/n)*n,h=this.config.global.animation.mode;this.fullScreenTimer=n===this.fullScreenIndex?i+S:i,p.isNaN(this.highlightIndex)||(this.config.global.ifRowHidden?a&&h&&this.isTabFocus&&this.highlightIndex!==this._data.length+1?(this.highlightTime=setTimeout(this.fullScreenScrollTimeout.bind(this,t,i),this.fullScreenTimer),this.emit("highLight",{index:this.highlightIndex,data:o})):this.config.global.ifRowHidden&&this.isTabFocus&&this.render(this._data,this.config):a&&h&&this.isTabFocus&&(this.highlightTime=setTimeout(this.fullScreenScrollTimeout.bind(this,t,i),this.fullScreenTimer),this.emit("highLight",{index:this.highlightIndex,data:o}))),this.highlightIndex===this._data.length&&this.emit("scrollEnd",{message:"一轮滚动结束",isEnding:!0})},loop:function(){var t,i,e,n,o,a=this.config,h=(this.clearAllTimer(),this.dataPool);h&&(n=this.startIndex,e=a.global.rowCount,t=a.global.animation.mode,i=p.get(a,"global.highLight.show",!1),t===L?e+=o=1:(o=e,e*=2),this.isInit||(e=this.getData(h,this.startIndex,e),this.fillCell(e),this.animation(),this.setStartIndex(h,n,o),this.emit("data-flipped",this.getAnimationData(h,this.startIndex))),t===T&&i&&this.isInit&&(e=this.config.global.rowCount,n=this.container.find(".row-content").slice(0,e),this.fullScreenScroll(n)),this.textLoop(),this.isTabFocus&&(o=a.global.animation.duration*v,h=this.config.global.animation.mode===T&&i?a.global.rowCount*a.global.animation.duration*v:o,this.loopTimer=setTimeout(this.loop.bind(this),h)))},render:function(t,i){var e,n,o,a,h,r=this,l=this,i=this.mergeConfig(i);t=this.data(t),this.$rowContent=this.container.find(".row-content"),this.container.css({fontFamily:'"'.concat(i.global.fontFamily,'"'),transform:"translateZ(0px)"}),this.container.find(".header").css({fontFamily:'"'.concat(i.header.textStyle.fontFamily,'"')}),this.$marqueeText=l.container.find(".marquee-text"),t&&t.length?(this.updateData(t),n=i.global.rowCount,e=this.dataPool,!i.global.isLoop||i.global.animation.singleStop&&t.length<=i.global.rowCount?(this.clearAllTimer(!1),this.isInit=!0,e&&(n=i.global.animation.mode===L?n+1:2*n,t=this.getData(e,0,n),this.fillCell(t)),o=this.container.find(".row-content:first").height(),setTimeout(function(){o?(r.fillCell(r.getData(e,0,n)),r.emit("data-flipped",r.getAnimationData(e,0))):console.log("carousel-table first row height = 0"),r.textLoop()},0)):(t=this.startIndex,h=i.global.animation.mode,a=i.global.animation.duration*v,n=h===L?n+1:2*n,this.isInit&&(this.clearAllTimer(),e&&(h=this.getData(e,t,n),this.fillCell(h)),this.emit("data-flipped",this.getAnimationData(e,t)),this.loop(),this.visibleEventAddLoop||b(document).on("visibilitychange.carousel-table-component",p.debounce(function(){var t=document.visibilityState;"visible"===t?(l.isTabFocus=!0,l.restartTimers()):"hidden"===t&&(l.isTabFocus=!1,l.clearAllTimer())},a)),this.visibleEventAddLoop=!0,this.isInit=!1))):i.global.ifRowHidden&&(this.$rowContent.css("opacity",0),this.container.find(".rows-container").before('
无数据
'))},restartLoop:function(){var t=0i.global.rowCount;!t||i.global.animation.singleStop&&!e||this.loop(),i.global.textAnimate.ifRun&&this.textLoop()},resize:function(t,i){this.render(null,{width:t,height:i})},fullScreenScrollTimeLeft:function(){var t=this.config.global.rowCount,i=Math.ceil(this.highlightIndex/t),e=Math.ceil(this._data.length/t),t=i*t-this.highlightIndex,i=i===e?this._data.length-this.highlightIndex-1:t-1;return p.isNaN(i)?0:i},restartTimers:function(){var t=this,i=this.config.global.highLight.show,e=this.config.global.animation.duration*v;t.config.global.animation.mode===T&&i?(i=t.fullScreenScrollTimeLeft(),t.loopDelayTime=setTimeout(function(){return t.restartLoop()},i*v+e),t.fullScreenScrollTimeout(t.curScrollDoms,e)):t.restartLoop()},data:function(t){return t&&((this.config.global.ifUpdateImd||this.config.global.animation.singleStop&&t.length<=this.config.global.rowCount)&&(this.isInit=!0,this.startIndex=0,this.initRank()),this._data=t),this._data},mergeConfig:function(t){if(!t)return this.config;var i=this.config,e=p.cloneDeep(t),t=p.defaultsDeep(t||{},i);return t.series=e.series||i.series,p.isEqual(i,t)||(this.config=t,this.isInit=!0,this.startIndex=0,this.initRank()),this.config},listenerImgCb:function(t){var t=t.target,i=p.toNumber(t.getAttribute("data-retry-num"));"IMG"!==t.nodeName.toUpperCase()||p.isNull(i)||(I<=i?t.src=C:(t.src=p.get(this.config,"global.defaultImg"),t.setAttribute("data-retry-num",i+=1)))},listenerImgError:function(){this.container[0].addEventListener("error",this.listenerImgCb.bind(this),!0)},startLoop:function(t){t=t.isLoop;this.isInit=!0,this.restartLoop(!!p.isBoolean(t)&&t),this.isInit=!1},stopLoop:function(){this.clearAllTimer()},highlight:function(t){if(p.isEmpty(t))return!1;var n,o=this,i=p.get(t,"hightLightStyle.color"),e=p.get(t,"hightLightStyle.borderColor"),a=p.get(t,"hightLightStyle.borderStyle"),h=p.get(t,"hightLightStyle.borderWidth"),r=p.get(t,"hightLightStyle.backgroundColor"),l=p.get(t,"hightLightStyle.fontSize"),s=p.get(t,"hightLightStyle.fontWeight"),c=p.get(t,"hightLightStyle.fontFamily"),g=p.get(t,"isOrder"),t=p.get(t,"hightLightIndex",""),i=d(d({},this.config),{},{global:d(d({},this.config.global),{},{highLight:d(d({},this.config.global.highLight),{},{show:!0,isOrder:g,hightLightIndex:t,hightLightStyle:d(d({},this.config.global.highLight.hightLightStyle),{},{textStyle:d(d({},this.config.global.highLight.hightLightStyle.textStyle),{},{color:i,fontSize:l,fontFamily:c,fontWeight:s}),backgroundColor:r,border:d(d({},this.config.global.highLight.hightLightStyle.border),{},{borderWidth:h,borderStyle:a,borderColor:e})})})})});g?this.render(this._data,i):(this.config=i,f(this.$rowContent,this.config),n=(t+"").split(","),this.$rowContent.each(function(t,i){for(var e=0;e0&&this._events[a].length>d&&(this._events[a].warned=!0,console.error('Possible mem-leak detected. event['+a+'] %d listeners added. '+'Use emitter.setMaxListeners() to increase limit.',this._events[a].length),console.trace())}return this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(d,a){function b(){c.removeListener(d,b),a.apply(this,arguments)}if('function'!==typeof a)throw new Error('.once only takes instances of Function');var c=this;return b.listener=a,c.on(d,b),this},a.prototype.removeListener=function(e,d){if('function'!==typeof d)throw new Error('removeListener only takes instances of Function');if(!(this._events&&this._events[e]))return this;var a=this._events[e];if(b(a)){var f=-1;for(var c=0,g=a.length;c=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return a=n.done,n},e:function(n){i=!0,o=n},f:function(){try{a||null==e.return||e.return()}finally{if(i)throw o}}}}function b(n){return(b="function"==typeof Symbol&&"symbol"==eo(Symbol.iterator)?function(n){return void 0===n?"undefined":eo(n)}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":void 0===n?"undefined":eo(n)})(n)}function r(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}()||w(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(n,t){if(n){if("string"==typeof n)return o(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Map"===(e="Object"===e&&n.constructor?n.constructor.name:e)||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(n,t):void 0}}function o(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);en.length)&&(t=n.length);for(var e=0,r=new Array(t);en.length)&&(t=n.length);for(var e=0,r=new Array(t);e>>1;a(n[o],t)<0?e=1+o:r=o}return e},right:function(n,t,e,r){for(null==e&&(e=0),null==r&&(r=n.length);e>>1;0>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===e?I(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===e?I(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=O.exec(n))?new L(t[1],t[2],t[3],1):(t=k.exec(n))?new L(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=A.exec(n))?I(t[1],t[2],t[3],t[4]):(t=j.exec(n))?I(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=T.exec(n))?Y(t[1],t[2]/100,t[3]/100,1):(t=C.exec(n))?Y(t[1],t[2]/100,t[3]/100,t[4]):P.hasOwnProperty(n)?U(P[n]):"transparent"===n?new L(NaN,NaN,NaN,0):null}function U(n){return new L(n>>16&255,n>>8&255,255&n,1)}function I(n,t,e,r){return new L(n=r<=0?t=e=NaN:n,t,e,r)}function V(n,t,e,r){return 1===arguments.length?(o=!((o=n)instanceof x)?E(o):o)?new L((o=o.rgb()).r,o.g,o.b,o.opacity):new L:new L(n,t,e,null==r?1:r);var o}function L(n,t,e,r){this.r=+n,this.g=+t,this.b=+e,this.opacity=+r}function F(){return"#"+H(this.r)+H(this.g)+H(this.b)}function $(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}function H(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Y(n,t,e,r){return r<=0?n=t=e=NaN:e<=0||1<=e?n=t=NaN:t<=0&&(n=NaN),new q(n,t,e,r)}function R(n){if(n instanceof q)return new q(n.h,n.s,n.l,n.opacity);if(!(n=!(n instanceof x)?E(n):n))return new q;if(n instanceof q)return n;var t=(n=n.rgb()).r/255,e=n.g/255,r=n.b/255,o=Math.min(t,e,r),a=Math.max(t,e,r),i=NaN,u=a-o,l=(a+o)/2;return u?(i=t===a?(e-r)/u+6*(eu&&(o=r.slice(u,o),c[l]?c[l]+=o:c[++l]=o),(t=t[0])===(e=e[0])?c[l]?c[l]+=e:c[++l]=e:(c[++l]=null,f.push({i:l,x:Q(t,e)})),u=nn.lastIndex;return u=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function gn(n){if(!(t=pn.exec(n)))throw new Error("invalid format: "+n);var t;return new yn({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function yn(n){this.fill=void 0===n.fill?" ":n.fill+"",this.align=void 0===n.align?">":n.align+"",this.sign=void 0===n.sign?"-":n.sign+"",this.symbol=void 0===n.symbol?"":n.symbol+"",this.zero=!!n.zero,this.width=void 0===n.width?void 0:+n.width,this.comma=!!n.comma,this.precision=void 0===n.precision?void 0:+n.precision,this.trim=!!n.trim,this.type=void 0===n.type?"":n.type+""}function vn(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,t=n.slice(0,e);return[1t+1?n.slice(0,t+1)+"."+n.slice(t+1):n+new Array(t-n.length+2).join("0")):n+""}var bn,wn,Mn,xn,Sn,On,kn,An,jn,Tn,Cn,Pn,Nn=function(n){return(n=vn(Math.abs(n)))?n[1]:NaN},Dn={"%":function(n,t){return(100*n).toFixed(t)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return 1e21<=Math.abs(n=Math.round(n))?n.toLocaleString("en").replace(/,/g,""):n.toString(10)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},g:function(n,t){return n.toPrecision(t)},o:function(n){return Math.round(n).toString(8)},p:function(n,t){return mn(100*n,t)},r:mn,s:function(n,t){var e=vn(n,t);if(!e)return n+"";var r=e[0],o=e[1],e=o-(bn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,o=r.length;return e===o?r:o>1)+o+n+a+l.slice(u);break;default:n=l+o+n+a}return jn(n)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),e.toString=function(){return n+""},e}function In(n,t,e,r){var o,a,i=c(n,t,e);switch((r=gn(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(n),Math.abs(t));return null!=r.precision||isNaN((a=i,o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Nn(u)/3)))-Nn(Math.abs(a)))))||(r.precision=o),ft(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN((a=i,u=Math.max(Math.abs(n),Math.abs(t)),a=Math.abs(a),u=Math.abs(u)-a,o=Math.max(0,Nn(u)-Nn(a))+1))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Math.max(0,-Nn(Math.abs(i))))||(r.precision=o-2*("%"===r.type))}return ct(r)}function Vn(c){var f=c.domain;return c.ticks=function(n){var t=f();return m(t[0],t[t.length-1],null==n?10:n)},c.tickFormat=function(n,t){var e=f();return In(e[0],e[e.length-1],null==n?10:n,t)},c.nice=function(n){null==n&&(n=10);var t,e,r=f(),o=0,a=r.length-1,i=r[o],u=r[a],l=10;for(ut));)a=wn[o=(o+1)%wn.length];return r.reverse().join(Mn)}),On=void 0===d.currency?"":d.currency[0]+"",kn=void 0===d.currency?"":d.currency[1]+"",An=void 0===d.decimal?".":d.decimal+"",jn=void 0===d.numerals?t:(xn=b.call(d.numerals,String),function(n){return n.replace(/[0-9]/g,function(n){return xn[+n]})}),Tn=void 0===d.percent?"%":d.percent+"",Cn=void 0===d.minus?"−":d.minus+"",Pn=void 0===d.nan?"NaN":d.nan+"";var ct=(e={format:Un,formatPrefix:function(n,t){var e=Un(((n=gn(n)).type="f",n)),t=3*Math.max(-8,Math.min(8,Math.floor(Nn(t)/3))),r=Math.pow(10,-t),o=En[8+t/3];return function(n){return e(r*n)+o}}}).format,ft=e.formatPrefix,st=function(n){return null===n?NaN:+n};function dt(){var t,u=[],e=[],r=[];function l(){var n=0,t=Math.max(1,e.length);for(r=new Array(t-1);++n=h,n.t0)return n.next=12,h;n.next=12;break;case 12:r=!0,n.next=6;break;case 15:n.next=21;break;case 17:n.prev=17,n.t1=n.catch(4),o=!0,a=n.t1;case 21:n.prev=21,n.prev=22,!r&&i.return&&i.return();case 24:if(n.prev=24,o)throw a;n.next=27;break;case 27:return n.finish(24);case 28:return n.finish(21);case 29:n.next=60;break;case 31:l=-1,f=!(c=!0),s=void 0,n.prev=35,d=t[Symbol.iterator]();case 37:if(c=(h=d.next()).done){n.next=46;break}if(h=h.value,n.t2=null!=(h=e(h,++l,t))&&(h=+h)>=h,n.t2)return n.next=43,h;n.next=43;break;case 43:c=!0,n.next=37;break;case 46:n.next=52;break;case 48:n.prev=48,n.t3=n.catch(35),f=!0,s=n.t3;case 52:n.prev=52,n.prev=53,!c&&d.return&&d.return();case 55:if(n.prev=55,f)throw s;n.next=58;break;case 58:return n.finish(55);case 59:return n.finish(52);case 60:case"end":return n.stop()}},n,this,[[4,17,21,29],[22,,24,28],[35,48,52,60],[53,,55,59]])})(n,e))).length){if((t=+t)<=0||r<2)return ut(n);if(1<=t)return it(n);var e=(r-1)*t,r=Math.floor(e),t=it(function n(t,e){for(var r,o,a,i,u=2n.length)&&(t=n.length);for(var e=0,r=new Array(t);en.length)&&(t=n.length);for(var e=0,r=new Array(t);ec&&(g=o.slice(c,o.length),l=[].concat(m(l),m(g))),l}if(w(o)&&!["fill","multicolor"].includes(a)){var s={};return M(r)&&(r={}),Object.keys(o).forEach(function(n){s[n]=t([].concat(m(e),[n]),r[n],o[n])}),s}var d=!M(r),h=b(e,y),p=h.type,n=h.components,g=a===p,p=u===h.mode,u=x(i,n),h=u.length;return d&&g&&h&&p?"fill"!==a||1===i.length&&1===n.length?r:1===i.length&&1n.length)&&(t=n.length);for(var e=0,r=new Array(t);en.length)&&(t=n.length);for(var e=0,r=new Array(t);eu.split(".").length?n:m([n],r,a,o)}),"$and"===f&&-1n.length)&&(t=n.length);for(var e=0,r=new Array(t);en?Math.exp(-c*n*m)*(p*Math.cos(o*c)+a*Math.sin(o*c)):(p+a*c)*Math.exp(-c*m),0===b||1===b?b:1-c}var h=e(d),i=c(ia.und(h[0])?1:h[0],.1,100),j=c(ia.und(h[1])?100:h[1],.1,100),k=c(ia.und(h[2])?10:h[2],.1,100),l=c(ia.und(h[3])?0:h[3],.1,100),m=Math.sqrt(j/i),n=k/(2*Math.sqrt(j*i)),o=1>n?m*Math.sqrt(1-n*n):0,p=1,a=1>n?(n*m+-l)/o:-l+m;return f?g:function(){var a=ha.springs[d];if(a)return a;for(var b=1/6,c=0,e=0;;)if(c+=b,1!==g(c))e=0;else if(e++,16<=e)break;var f=1e3*(c*b);return ha.springs[d]=f,f}}function g(a){return void 0===a&&(a=10),function(b){return Math.round(b*a)*(1/a)}}function h(a,b){if(ia.fnc(a))return a;var c=a.split("(")[0],h=ka[c],i=e(a);return"spring"===c?f(a,b):"cubicBezier"===c?d(ja,i):"steps"===c?d(g,i):d(h,i)}function i(a){try{var b=document.querySelectorAll(a);return b}catch(a){}}function j(a,b){for(var c=a.length,d=2<=arguments.length?arguments[1]:void 0,e=[],f=0;fc&&(c+=1),1j?j*(1+h):j+h-j*h,l=2*j-a;e=d(l,a,i+1/3),f=d(l,a,i),g=d(l,a,i-1/3)}return"rgba("+255*e+","+255*f+","+255*g+","+k+")"}function t(a){return ia.rgb(a)?p(a):ia.hex(a)?r(a):ia.hsl(a)?s(a):void 0}function v(a){var b=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a);if(b)return b[1]}function u(a){return b(a,"translate")||"perspective"===a?"px":b(a,"rotate")||b(a,"skew")?"deg":void 0}function w(a,b){return ia.fnc(a)?a(b.target,b.id,b.total):a}function x(a,b){return a.getAttribute(b)}function y(a,b,c){var d=v(b);if(m([c,"deg","rad","turn"],d))return b;var e=ha.CSS[b+c];if(!ia.und(e))return e;var f=100,g=document.createElement(a.tagName),h=a.parentNode&&a.parentNode!==document?a.parentNode:document.body;h.appendChild(g),g.style.position="absolute",g.style.width=f+c;var i=f/g.offsetWidth;h.removeChild(g);var j=i*parseFloat(b);return ha.CSS[b+c]=j,j}function z(a,b,c){if(b in a.style){var d=b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e=a.style[b]||getComputedStyle(a).getPropertyValue(d)||"0";return c?y(a,e,c):e}}function A(a,b){return ia.dom(a)&&!ia.inp(a)&&(x(a,b)||ia.svg(a)&&a[b])?"attribute":ia.dom(a)&&m(ga,b)?"transform":ia.dom(a)&&"transform"!==b&&z(a,b)?"css":null==a[b]?void 0:"object"}function B(a){if(ia.dom(a)){for(var b,c=a.style.transform||"",d=/(\w+)\(([^)]*)\)/g,e=new Map;b=d.exec(c);)e.set(b[1],b[2]);return e}}function C(a,c,d,e){var f=b(c,"scale")?1:0+u(c),g=B(a).get(c)||f;return d&&(d.transforms.list.set(c,g),d.transforms.last=c),e?y(a,g,e):g}function D(a,b,c,d){switch(A(a,b)){case"transform":return C(a,b,d,c);case"css":return z(a,b,c);case"attribute":return x(a,b);default:return a[b]||0;}}function E(a,b){var c=/^(\*=|\+=|-=)/.exec(a);if(!c)return a;var d=v(a)||0,e=parseFloat(b),f=parseFloat(a.replace(c[0],""));switch(c[0][0]){case"+":return e+f+d;case"-":return e-f+d;case"*":return e*f+d;}}function F(a,b){if(ia.col(a))return t(a);if(/\s/g.test(a))return a;var c=v(a),d=c?a.substr(0,a.length-c.length):a;return b?d+b:d}function G(a,b){return Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2))}function H(a){return 2*Math.PI*x(a,"r")}function I(a){return 2*x(a,"width")+2*x(a,"height")}function J(a){return G({x:x(a,"x1"),y:x(a,"y1")},{x:x(a,"x2"),y:x(a,"y2")})}function K(a){for(var b,c,d=a.points,e=0,f=0;fc.indexOf(a)&&c.push(a),c},[]),c={},d=function(d){var e=b[d];c[e]=a.map(function(a){var b={};for(var c in a)ia.key(c)?c==e&&(b.value=a[c]):b[c]=a[c];return b})},e=0;e=j&&t.currentTime!==f||!f)&&k(f),m>g&&m=f&&(p=0,l(),t.remaining?(o=q,i("loopComplete"),t.loopBegan=!1,"alternate"===t.direction&&d()):(t.paused=!0,!t.completed&&(t.completed=!0,i("loopComplete"),i("complete"),!t.passThrough&&"Promise"in window&&(s(),u=b(t)))))}void 0===a&&(a={});var n,o=0,p=0,q=0,r=0,s=null,t=aa(a),u=b(t);return t.reset=function(){var a=t.direction;t.passThrough=!1,t.currentTime=0,t.progress=0,t.paused=!0,t.began=!1,t.loopBegan=!1,t.changeBegan=!1,t.completed=!1,t.changeCompleted=!1,t.reversePlayback=!1,t.reversed="reverse"===a,t.remaining=t.loop,n=t.children,r=n.length;for(var b=r;b--;)t.children[b].reset();(t.reversed&&!0!==t.loop||"alternate"===a&&1===t.loop)&&t.remaining++,k(t.reversed?t.duration:0)},t.set=function(a,b){return Y(a,b),t},t.tick=function(a){q=a,o||(o=q),m((q+(p-o))*ba.speed)},t.seek=function(a){m(e(a))},t.pause=function(){t.paused=!0,f()},t.play=function(){t.paused&&(t.completed&&t.reset(),t.paused=!1,na.push(t),f(),!da&&pa())},t.reverse=function(){d(),f()},t.restart=function(){t.reset(),t.play()},t.reset(),t.autoplay&&t.play(),t}function ca(b,c){for(var d=c.length;d--;)m(b,c[d].animatable.target)&&c.splice(d,1)}var da,ea={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},fa={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},ga=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],ha={CSS:{},springs:{}},ia={arr:function(b){return Array.isArray(b)},obj:function(c){return b(Object.prototype.toString.call(c),"Object")},pth:function(b){return ia.obj(b)&&b.hasOwnProperty("totalLength")},svg:function(b){return b instanceof SVGElement},inp:function(b){return b instanceof HTMLInputElement},dom:function(b){return b.nodeType||ia.svg(b)},str:function(b){return"string"===typeof b},fnc:function(b){return"function"===typeof b},und:function(b){return"undefined"===typeof b},hex:function(b){return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(b)},rgb:function(b){return /^rgb/.test(b)},hsl:function(b){return /^hsl/.test(b)},col:function(b){return ia.hex(b)||ia.rgb(b)||ia.hsl(b)},key:function(b){return!ea.hasOwnProperty(b)&&!fa.hasOwnProperty(b)&&"targets"!==b&&"keyframes"!==b}},ja=function(){function a(a,b){return 1-3*b+3*a}function b(a,b){return 3*b-6*a}function c(a){return 3*a}function d(d,e,f){return((a(e,f)*d+b(e,f))*d+c(e))*d}function e(d,e,f){return 3*a(e,f)*d*d+2*b(e,f)*d+c(e)}function f(a,b,c,e,f){var g,h,j=0;do h=b+(c-b)/2,g=d(h,e,f)-a,0++j);return h}function g(a,b,c,f){for(var g,h=0;4>h;++h){if(g=e(b,c,f),0===g)return b;var i=d(b,c,f)-a;b-=i/g}return b}var h=11,j=1/(h-1);return function(a,b,c,k){function l(b){for(var d=0,i=1;i!==h-1&&m[i]<=b;++i)d+=j;--i;var k=(b-m[i])/(m[i+1]-m[i]),l=d+k*j,n=e(l,a,c);return 1e-3<=n?g(b,l,a,c):0===n?l:f(b,d,d+j,a,c)}if(0<=a&&1>=a&&0<=c&&1>=c){var m=new Float32Array(h);if(a!==b||c!==k)for(var n=0;nb?d(c,a)(2*b)/2:1-d(c,a)(-2*b+2)/2}}}),a}(),la={css:function(a,b,c){return a.style[b]=c},attribute:function(a,b,c){return a.setAttribute(b,c)},object:function(a,b,c){return a[b]=c},transform:function(a,b,c,d,e){if(d.list.set(b,c),b===d.last||e){var f="";d.list.forEach(function(a,b){f+=b+"("+a+") "}),a.style.transform=f}}},ma=0,na=[],oa=[],pa=function(){function a(){da=requestAnimationFrame(b)}function b(b){var c=na.length;if(c){for(var d,e=0;ea?-1*a:-a:Math.abs(s-a)}))}var A=m?(o-n)/s:n;return q+A*(Math.round(100*r[b])/100)+p}},ba.timeline=function(a){void 0===a&&(a={});var b=ba(a);return b.duration=0,b.add=function(c,d){function e(a){a.passThrough=!0}var f=na.indexOf(b),g=b.children;-1-1}function aY(b,d,e){var a=-1,c=b.length;while(++a-1);return a}function b4(b,c){var a=b.length;while(a--&&J(c,b[a],0)>-1);return a}function an(a){return a&&a.Object===Object?a:null}function bK(a,b){if(a!==b){var f=a===null,g=a===c,d=a===a,h=b===null,i=b===c,e=b===b;if(a>b&&!h||!d||f&&!i&&e||g&&e)return 1;if(a=i)return b;var e=d[a];return b*(e=='desc'?-1:1)}}return f.index-j.index}function c6(c,d){var a=c.length,b=0;while(a--)c[a]===d&&b++;return b}function c7(a){return c1[a]}function c8(a){return b$[a]}function ca(a){return'\\'+bI[a]}function bA(c,f,d){var e=c.length,a=f+(d?0:-1);while(d?a--:++a-1&&a%1==0&&a-1}function d4(b,c){var a=b.length;while(a--)if(bs(b[a][0],c))return a;return-1}function fA(a,c,d){var b=d4(a,c);b<0?a.push([c,d]):a[b][1]=d}function dI(a,d,b,e){return a===c||bs(a,bR[b])&&!af.call(e,b)?d:a}function dE(d,a,b){(b!==c&&!bs(d[a],b)||typeof a=='number'&&b===c&&!(a in d))&&(d[a]=b)}function cn(a,b,d){var e=a[b];(!(af.call(a,b)&&bs(e,d))||d===c&&!(b in a))&&(a[b]=d)}function jb(b,c,d,a){return aW(b,function(b,f,e){c(a,b,d(b),e)}),a}function ep(a,b){return a&&cy(b,ar(b),a)}function dD(e,f){var a=-1,g=e==null,b=f.length,d=Array(b);while(++a=b?a:b)),a}function aQ(a,h,m,j,p,g,f){var b;if(j&&(b=g?j(a,p,g,f):j(a)),b!==c)return b;if(!aa(a))return a;var k=E(a);if(k){if(b=iL(a),!h)return aw(a,b)}else{var e=aN(a),l=e==Y||e==at;if(da(a))return iX(a,h);if(e==n||e==x||l&&!g){if(a4(a))return g?a:{};if(b=iK(l?{}:a),!h)return b=ep(b,a),m?f6(a,b):b}else{if(!d[e])return g?a:{};b=iJ(a,e,h)}}f||(f=new aT);var o=f.get(a);return o?o:(f.set(a,b),(k?i:aS)(a,function(d,c){cn(b,c,aQ(d,h,m,j,c,a,f))}),m&&!k?f6(a,b):b)}function ja(d){var a=ar(d),b=a.length;return function(f){if(f==null)return!b;var g=b;while(g--){var e=a[g],i=d[e],h=f[e];if(h===c&&!(e in Object(f))||!i(h))return!1}return!0}}function cs(a){return aa(a)?f1(a):{}}function eL(a,b,d){if(typeof a!='function')throw new aJ(h);return cv(function(){a.apply(c,d)},b)}function b$(m,a,g,n){var i=-1,h=aR,e=!0,j=m.length,d=[],l=a.length;if(!j)return d;g&&(a=f(a,aE(g))),n?(h=aY,e=!1):a.length>=F&&(h=d6,e=!1,a=new d7(a));a:while(++id?0:d+b),a=a===c||a>d?d:Q(a),a<0&&(a+=d),a=b>a?0:g4(a);while(b0&&ah(b)&&(d||E(b)||bU(b))?c>1?X(b,c-1,d,a):C(a,b):d||(a[a.length]=b)}return a}function j7(a,b){return a==null?a:cY(a,b,aL)}function aS(a,b){return a&&cY(a,b,ar)}function dB(a,b){return a&&dO(a,b,ar)}function d2(a,b){return A(b,function(b){return aU(a[b])})}function d0(b,a){a=bw(a,b)?[a+'']:bM(a);var d=0,e=a.length;while(b!=null&&d=aH(b,c)&&a=120&&b.length>=120)?new d7(a&&b):c}b=e[0];var o=-1,i=j[0];a:while(++o-1)b!==a&&cz.call(b,c,1),cz.call(a,c,1)}return a}function em(b,f){var c=b?f.length:0,g=c-1;while(c--){var a=f[c];if(g==c||a!=h){var h=a;if(w(a))cz.call(b,a,1);else if(!bw(a,b)){var d=bM(a),e=cL(b,d);e!=null&&delete e[aF(d)]}else delete b[a]}}return b}function dm(a,b){return a+cD(dy()*(b-a+1))}function i$(b,f,d,g){var e=-1,a=ai(cA((f-b)/(d||1)),0),c=Array(a);while(a--)c[g?a:++e]=b,b+=d;return c}function c_(h,b,l,k){b=bw(b,h)?[b+'']:bM(b);var f=-1,i=b.length,j=i-1,a=h;while(a!=null&&++fa?0:a+b),c=c>a?a:c,c<0&&(c+=a),a=b>c?0:c-b>>>0,b>>>=0;var e=Array(a);while(++d>>1,f=d[e];(g?f<=a:f=F){var k=d?null:eq(h);if(k)return ae(k);f=!1,g=d6,a=new d7}else a=d?[]:c;a:while(++i1?e[b-1]:c,h=b>2?e[2]:c;d=typeof d=='function'?(b--,d):c,h&&aV(e[0],e[1],h)&&(d=b<3?c:d,b=1),f=Object(f);while(++g=F)return b.plant(a).value();var d=0,f=i?e[d].apply(this,c):a;while(++d1&&c.reverse(),q&&f=b)return'';var d=b-e;a=a===c?' ':a+'';var f=fU(a,cA(d/a3(a)));return V.test(a)?m(f).slice(0,d).join(''):f.slice(0,d)}function iP(a,f,h,b){function c(){var m=-1,j=arguments.length,f=-1,k=b.length,i=Array(k+j),n=this&&this!==l&&this instanceof c?e:a;while(++fk))return!1;var n=a.get(e);if(n)return n==d;var i=!0;a.set(e,d);while(++f=this.__values__.length,b=a?c:this.__values__[this.__index__++];return{done:a,value:b}}function hZ(){return this}function hY(f){var d,b=this;while(b instanceof cM){var a=dX(b);a.__index__=0,a.__values__=c,d?e.__wrapped__=a:d=a;var e=a;b=b.__wrapped__}return e.__wrapped__=f,d}function hX(){var b=this.__wrapped__;if(b instanceof L){var a=b;return this.__actions__.length&&(a=new L(this)),a=a.reverse(),a.__actions__.push({func:cQ,args:[dl],thisArg:c}),new aK(a,this.__chain__)}return this.thru(dl)}function hW(){return eI(this.__wrapped__,this.__actions__)}function hV(a,b,d){var e=E(a)?bD:j9;return d&&aV(a,b,d)&&(b=c),e(a,y(b,3))}function hU(a,c){var b=E(a)?A:f0;return b(a,y(c,3))}function hT(a,b){if(b=y(b,3),E(a)){var d=a9(a,b);return d>-1?a[d]:c}return ak(a,b,aW)}function hS(a,b){if(b=y(b,3),E(a)){var d=a9(a,b,!0);return d>-1?a[d]:c}return ak(a,b,cN)}function hR(a,b){return X(eY(a,b),1)}function eV(a,b){return typeof b=='function'&&E(a)?i(a,b):aW(a,bt(b))}function eW(a,b){return typeof b=='function'&&E(a)?c2(a,b):cN(a,bt(b))}function gc(b,d,a,e){b=aG(b)?b:d5(b),a=a&&!e?Q(a):0;var c=b.length;return a<0&&(a=ai(c+a,0)),bI(b)?a<=c&&b.indexOf(d,a)>-1:!!c&&J(b,d,a)>-1}function eY(a,c){var b=E(a)?f:fK;return b(a,y(c,3))}function hP(d,b,a,e){return d==null?[]:(E(b)||(b=b==null?[]:[b]),a=e?c:a,E(a)||(a=a==null?[]:[a]),f_(d,b,a))}function hO(a,d,e){var b=E(a)?M:bJ,c=arguments.length<3;return b(a,y(d,4),e,c,aW)}function hN(a,d,e){var b=E(a)?c3:bJ,c=arguments.length<3;return b(a,y(d,4),e,c,cN)}function hM(b,a){var c=E(b)?A:f0;return a=y(a,3),c(b,function(b,c,d){return!a(b,c,d)})}function hL(a){var b=aG(a)?a:d5(a),d=b.length;return d>0?b[dm(0,d-1)]:c}function f2(h,c){var b=-1,a=dR(h),d=a.length,f=d-1;c=ck(Q(c),0,d);while(++b0&&(d=b.apply(this,arguments)),a<=1&&(b=c),d}}function f9(d,a,e){a=e?c:a;var b=bh(d,p,c,c,c,c,c,a);return b.placeholder=f9.placeholder,b}function fa(d,a,e){a=e?c:a;var b=bh(d,N,c,c,c,c,c,a);return b.placeholder=fa.placeholder,b}function fb(n,f,j){function t(){a&&cm(a),b&&cm(b),g=0,d=b=e=a=p=c}function s(h,f){f&&cm(f),b=a=p=c,h&&(g=cl(),l=n.apply(e,d),a||b||(d=e=c))}function r(){var c=f-(cl()-o);c<=0||c>f?s(p,b):a=cv(r,c)}function v(){return(a&&p||b&&i)&&(l=n.apply(e,d)),t(),l}function u(){s(i,a)}function q(){if(d=arguments,o=cl(),e=this,p=i&&(a||!m),k===!1)var q=m&&!a;else{g||b||m||(g=o);var j=k-(o-g),h=(j<=0||j>k)&&(m||b);h?(b&&(b=cm(b)),g=o,l=n.apply(e,d)):b||(b=cv(u,j))}return h&&a?a=cm(a):!a&&f!==k&&(a=cv(r,f)),q&&(h=!0,l=n.apply(e,d)),h&&!a&&!b&&(d=e=c),l}var d,b,l,o,e,a,p,g=0,m=!1,k=!1,i=!0;if(typeof n!='function')throw new aJ(h);return f=an(f)||0,aa(j)&&(m=!!j.leading,k='maxWait'in j&&ai(an(j.maxWait)||0,f),i='trailing'in j?!!j.trailing:i),q.cancel=t,q.flush=v,q}function hG(a){return bh(a,au)}function de(c,b){if(typeof c!='function'||b&&typeof b!='function')throw new aJ(h);var a=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=a.cache;if(f.has(e))return f.get(e);var g=c.apply(this,d);return a.cache=f.set(e,g),g};return a.cache=new de.Cache,a}function hF(a){if(typeof a!='function')throw new aJ(h);return function(){return!a.apply(this,arguments)}}function hE(a){return f8(2,a)}function b(b,a){if(typeof b!='function')throw new aJ(h);return a=ai(a===c?b.length-1:Q(a),0),function(){var d=arguments,c=-1,h=ai(d.length-a,0),e=Array(h);while(++cb}function hu(a,b){return a>=b}function bU(a){return ah(a)&&af.call(a,'callee')&&(!cW.call(a,'callee')||as.call(a)==x)}function ht(a){return ag(a)&&as.call(a)==K}function aG(a){return a!=null&&cw(eo(a))&&!aU(a)}function ah(a){return ag(a)&&aG(a)}function hs(a){return a===!0||a===!1||ag(a)&&as.call(a)==R}function hr(a){return ag(a)&&as.call(a)==D}function hq(a){return!!a&&a.nodeType===1&&ag(a)&&!dK(a)}function hp(a){if(aG(a)&&(E(a)||bI(a)||aU(a.splice)||bU(a)))return!a.length;for(var b in a)if(af.call(a,b))return!1;return!0}function ho(a,b){return ct(a,b)}function hm(d,e,a){a=typeof a=='function'?a:c;var b=a?a(d,e):c;return b===c?ct(d,e,a):!!b}function d3(a){return ag(a)?as.call(a)==Z||typeof a.message=='string'&&typeof a.name=='string':!1}function ha(a){return typeof a=='number'&&eU(a)}function aU(b){var a=aa(b)?as.call(b):'';return a==Y||a==at}function fG(a){return typeof a=='number'&&a==Q(a)}function cw(a){return typeof a=='number'&&a>-1&&a%1==0&&a<=t}function aa(b){var a=typeof b;return!!b&&(a=='object'||a=='function')}function ag(a){return!!a&&typeof a=='object'}function h8(a){return ag(a)&&aN(a)==q}function h6(b,a){return b===a||ds(b,a,dk(a))}function h3(d,b,a){return a=typeof a=='function'?a:c,ds(d,b,dk(b),a)}function h2(a){return fR(a)&&a!=+a}function fO(a){return a==null?!1:aU(a)?dW.test(br.call(a)):ag(a)&&(a4(a)?dW:bf).test(a)}function h1(a){return a===null}function g_(a){return a==null}function fR(a){return typeof a=='number'||ag(a)&&as.call(a)==I}function dK(b){if(!ag(b)||as.call(b)!=n||a4(b))return!1;var c=cK(b);if(c===null)return!0;var a=c.constructor;return typeof a=='function'&&a instanceof a&&br.call(a)==fm}function fT(a){return aa(a)&&as.call(a)==S}function gO(a){return fG(a)&&a>=-t&&a<=t}function gG(a){return ag(a)&&aN(a)==u}function bI(a){return typeof a=='string'||!E(a)&&ag(a)&&as.call(a)==G}function fX(a){return typeof a=='symbol'||ag(a)&&as.call(a)==$}function cE(a){return ag(a)&&cw(a.length)&&!!e[as.call(a)]}function gF(a){return a===c}function gA(a){return ag(a)&&aN(a)==O}function gu(a){return ag(a)&&as.call(a)==bu}function dP(a,b){return aa){var f=b;b=a,a=f}if(d||b%1||a%1){var e=dy();return aH(b+e*(a-b+bG('1e-'+((e+'').length-1))),a)}return dm(b,a)}function dN(a){return dM(T(a).toLowerCase())}function fV(a){return a=T(a),a&&a.replace(bi,c7).replace(bT,'')}function gH(d,b,a){d=T(d),b=typeof b=='string'?b:b+'';var e=d.length;return a=a===c?e:ck(Q(a),0,e),a-=b.length,a>=0&&d.indexOf(b,a)==a}function gI(a){return a=T(a),a&&aZ.test(a)?a.replace(aA,c8):a}function gJ(a){return a=T(a),a&&b5.test(a)?a.replace(am,'\\$&'):a}function gK(a,b,e){a=T(a),b=Q(b);var c=a3(a);if(!b||c>=b)return a;var d=(b-c)/2,f=cD(d),g=cA(d);return cS('',f,e)+a+cS('',g,e)}function gL(a,b,c){return a=T(a),a+cS(a,b,c)}function gM(a,b,c){return a=T(a),cS(a,b,c)+a}function gN(b,a,c){return c||a==null?a=0:a&&(a=+a),b=T(b).replace(al,''),eP(b,a||(bc.test(b)?16:10))}function fU(b,a){b=T(b),a=Q(a);var c='';if(!b||a<1||a>t)return c;do a%2&&(c+=b),a=cD(a/2),b+=b;while(a);return c}function gP(){var a=arguments,b=T(a[0]);return a.length<3?b:b.replace(a[1],a[2])}function gQ(a,b,c){return T(a).split(b,c)}function gR(a,c,b){return a=T(a),b=ck(Q(b),0,a.length),a.lastIndexOf(c,b)==b}function gS(e,d,n){var m=a.templateSettings;n&&aV(e,d,n)&&(d=c),e=T(e),d=cr({},d,m,dI);var i=cr({},d.imports,m.imports,dI),h=ar(i),r=aD(i,h),o,j,k=0,l=d.interpolate||a1,b='__p += \'',p=d1((d.escape||a1).source+'|'+l.source+'|'+(l===aB?ba:a1).source+'|'+(d.evaluate||a1).source+'|$','g'),q='//# sourceURL='+('sourceURL'in d?d.sourceURL:'lodash.templateSources['+ ++b_+']')+'\n';e.replace(p,function(c,d,a,h,f,g){return a||(a=h),b+=e.slice(k,g).replace(bk,ca),d&&(o=!0,b+='\' +\n__e('+d+') +\n\''),f&&(j=!0,b+='\';\n'+f+';\n__p += \''),a&&(b+='\' +\n((__t = ('+a+')) == null ? \'\' : __t) +\n\''),k=g+c.length,c}),b+='\';\n';var g=d.variable;g||(b='with (obj) {\n'+b+'\n}\n'),b=(j?b.replace(bL,''):b).replace(bN,'$1').replace(bO,'$1;'),b='function('+(g||'obj')+') {\n'+(g?'':'obj || (obj = {});\n')+'var __t, __p = \'\''+(o?', __e = _.escape':'')+(j?', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, \'\') }\n':';\n')+b+'return __p\n}';var f=dQ(function(){return Function(h,q+'return '+b).apply(c,r)});if(f.source=b,d3(f))throw f;return f}function gT(a){return T(a).toLowerCase()}function gU(a){return T(a).toUpperCase()}function gV(a,b,f){if(a=T(a),!a)return a;if(f||b===c)return a.replace(al,'');if(b+='',!b)return a;var d=m(a),e=m(b);return d.slice(b6(d,e),b4(d,e)+1).join('')}function gW(a,b,e){if(a=T(a),!a)return a;if(e||b===c)return a.replace(b8,'');if(b+='',!b)return a;var d=m(a);return d.slice(0,b4(d,m(b))+1).join('')}function gX(a,b,e){if(a=T(a),!a)return a;if(e||b===c)return a.replace(b7,'');if(b+='',!b)return a;var d=m(a);return d.slice(b6(d,m(b))).join('')}function gY(e,f){var i=bb,g=b0;if(aa(f)){var a='separator'in f?f.separator:a;i='length'in f?Q(f.length):i,g='omission'in f?T(f.omission):g}e=T(e);var j=e.length;if(V.test(e)){var h=m(e);j=h.length}if(i>=j)return e;var b=i-a3(g);if(b<1)return g;var d=h?h.slice(0,b).join(''):e.slice(0,b);if(a===c)return d+g;if(h&&(b+=d.length-b),fT(a)){if(e.slice(b).search(a)){var o,n=d;a.global||(a=d1(a.source,T(aC.exec(a))+'g')),a.lastIndex=0;while(o=a.exec(n))var l=o.index;d=d.slice(0,l===c?b:l)}}else if(e.indexOf(a,b)!=b){var k=d.lastIndexOf(a);k>-1&&(d=d.slice(0,k))}return d+g}function gZ(a){return a=T(a),a&&c0.test(a)?a.replace(az,cc):a}function fQ(b,a,d){return b=T(b),a=d?c:a,a===c&&(a=bY.test(b)?bX:bW),b.match(a)||[]}function g$(a){var c=a?a.length:0,d=y();return a=c?f(a,function(a){if(typeof a[1]!='function')throw new aJ(h);return[d(a[0]),a[1]]}):[],b(function(e){var b=-1;while(++bt)return[];var c=k,d=aH(a,k);b=bt(b),a-=k;var e=aP(d,b);while(++c0){if(++a>=bV)return d}else a=0;return dh(d,f)}}(),el=b(function(a,b){return E(a)||(a=a==null?[]:[Object(a)]),b=X(b,1),cd(a,b)}),ek=b(function(a,b){return ah(a)?b$(a,X(b,1,!0)):[]}),ei=b(function(b,d){var a=aF(d);return ah(a)&&(a=c),ah(b)?b$(b,X(d,1,!0),y(a)):[]}),eh=b(function(b,d){var a=aF(d);return ah(a)&&(a=c),ah(b)?b$(b,X(d,1,!0),c,a):[]}),eg=b(function(b){var a=f(b,dC);return a.length&&a[0]===b[0]?dt(a):[]}),ee=b(function(d){var b=aF(d),a=f(d,dC);return b===aF(a)?b=c:a.pop(),a.length&&a[0]===d[0]?dt(a,y(b)):[]}),ec=b(function(d){var b=aF(d),a=f(d,dC);return b===aF(a)?b=c:a.pop(),a.length&&a[0]===d[0]?dt(a,c,b):[]}),eb=b(ef),ea=b(function(b,a){a=f(X(a,1),String);var c=dD(b,a);return em(b,a.sort(bK)),c}),e8=b(function(a){return bP(X(a,1,!0))}),e7=b(function(b){var a=aF(b);return ah(a)&&(a=c),bP(X(b,1,!0),y(a))}),e6=b(function(b){var a=aF(b);return ah(a)&&(a=c),bP(X(b,1,!0),c,a)}),e5=b(function(a,b){return ah(a)?b$(a,b):[]}),e4=b(function(a){return dd(A(a,ah))}),e3=b(function(b){var a=aF(b);return ah(a)&&(a=c),dd(A(b,ah),y(a))}),e2=b(function(b){var a=aF(b);return ah(a)&&(a=c),dd(A(b,ah),c,a)}),e1=b(dS),e0=b(function(b){var d=b.length,a=d>1?b[d-1]:c;return a=typeof a=='function'?(b.pop(),a):c,eC(b,a)}),dZ=b(function(b){b=X(b,1);var d=b.length,e=d?b[0]:0,a=this.__wrapped__,f=function(a){return dD(a,b)};return d>1||this.__actions__.length||!(a instanceof L)||!w(e)?this.thru(f):(a=a.slice(e,+e+(d?1:0)),a.__actions__.push({func:cQ,args:[f],thisArg:c}),new aK(a,this.__chain__).thru(function(a){return d&&!a.length&&a.push(c),a}))}),dY=cV(function(a,c,b){af.call(a,b)?++a[b]:a[b]=1}),g8=cV(function(a,c,b){af.call(a,b)?a[b].push(c):a[b]=[c]}),g3=b(function(b,a,e){var f=-1,h=typeof a=='function',i=bw(a),d=aG(b)?Array(b.length):[];return aW(b,function(b){var j=h?a:i&&b!=null?b[a]:c;d[++f]=j?g(j,b,e):cJ(b,a,e)}),d}),g2=cV(function(a,b,c){a[c]=b}),fS=cV(function(a,b,c){a[c?0:1].push(b)},function(){return[[],[]]}),fP=b(function(b,a){if(b==null)return[];var c=a.length;return c>1&&aV(b,a[0],a[1])?a=[]:c>2&&aV(a[0],a[1],a[2])&&(a.length=1),f_(b,X(a,1),[])}),cl=fB.now,cO=b(function(d,e,a){var b=j;if(a.length){var c=v(a,cj(cO));b|=o}return bh(d,b,e,a,c)}),dr=b(function(d,e,a){var b=j|z;if(a.length){var c=v(a,cj(dr));b|=o}return bh(e,b,d,a,c)}),fz=b(function(a,b){return eL(a,1,b)}),ft=b(function(a,b,c){return eL(a,an(b)||0,c)}),fl=b(function(d,a){a=f(X(a,1),y());var c=a.length;return b(function(e){var b=-1,f=aH(e.length,c);while(++b0||d<0)?new L(a):(b<0?a=a.takeRight(-b):b&&(a=a.drop(b)),d!==c&&(d=Q(d),a=d<0?a.dropRight(-d):a.take(d-b)),a)},L.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},L.prototype.toArray=function(){return this.take(k)},aS(L.prototype,function(g,b){var h=/^(?:filter|find|map|reject)|While$/.test(b),d=/^(?:head|last)$/.test(b),e=a[d?b=='last'?'takeRight':'take':b],f=d||/^find/.test(b);if(!e)return;a.prototype[b]=function(){var i=this.__wrapped__,j=d?[1]:arguments,k=i instanceof L,n=j[0],l=k||E(i),o=function(c){var b=e.apply(a,C([c],j));return d&&m?b[0]:b};l&&h&&typeof n=='function'&&n.length!=1&&(k=l=!1);var m=this.__chain__,r=!!this.__actions__.length,q=f&&!m,p=k&&!r;if(!f&&l){i=p?i:new L(this);var b=g.apply(i,j);return b.__actions__.push({func:cQ,args:[o],thisArg:c}),new aK(b,m)}return q&&p?g.apply(this,j):(b=this.thru(o),q?d?b.value()[0]:b.value():b)}}),i(['pop','push','shift','sort','splice','unshift'],function(b){var c=cG[b],d=/^(?:push|sort|unshift)$/.test(b)?'tap':'thru',e=/^(?:pop|shift)$/.test(b);a.prototype[b]=function(){var a=arguments;return e&&!this.__chain__?c.apply(this.value(),a):this[d](function(b){return c.apply(b,a)})}}),aS(L.prototype,function(f,d){var b=a[d];if(b){var c=b.name+'',e=ci[c]||(ci[c]=[]);e.push({name:d,func:b})}}),ci[cT(c,z).name]=[{name:'wrapper',func:c}],L.prototype.clone=js,L.prototype.reverse=jr,L.prototype.value=jq,a.prototype.at=dZ,a.prototype.chain=i1,a.prototype.commit=i0,a.prototype.flatMap=h$,a.prototype.next=h_,a.prototype.plant=hY,a.prototype.reverse=hX,a.prototype.toJSON=a.prototype.valueOf=a.prototype.value=hW,bx&&(a.prototype[bx]=hZ),a}var c,bn='4.6.1',F=200,h='Expected a function',H='__lodash_hash_undefined__',W='__lodash_placeholder__',j=1,z=2,av=4,p=8,N=16,o=32,P=64,s=128,_=256,au=512,U=1,B=2,bb=30,b0='...',bV=150,bC=16,aI=1,bp=2,bl=3,a0=1/0,t=9007199254740991,bj=1.7976931348623157e308,bQ=0/0,k=4294967295,bv=k-1,bm=k>>>1,x='[object Arguments]',a2='[object Array]',R='[object Boolean]',D='[object Date]',Z='[object Error]',Y='[object Function]',at='[object GeneratorFunction]',q='[object Map]',I='[object Number]',n='[object Object]',S='[object RegExp]',u='[object Set]',G='[object String]',$='[object Symbol]',O='[object WeakMap]',bu='[object WeakSet]',K='[object ArrayBuffer]',ad='[object Float32Array]',ab='[object Float64Array]',a8='[object Int8Array]',a7='[object Int16Array]',a6='[object Int32Array]',a5='[object Uint8Array]',aq='[object Uint8ClampedArray]',ap='[object Uint16Array]',ao='[object Uint32Array]',bL=/\b__p \+= '';/g,bN=/\b(__p \+=) '' \+/g,bO=/(__e\(.*?\)|\b__t\)) \+\n'';/g,az=/&(?:amp|lt|gt|quot|#39|#96);/g,aA=/[&<>"'`]/g,c0=RegExp(az.source),aZ=RegExp(aA.source),a_=/<%-([\s\S]+?)%>/g,a$=/<%([\s\S]+?)%>/g,aB=/<%=([\s\S]+?)%>/g,b1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,b2=/^\w*$/,b3=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,am=/[\\^$.*+?()[\]{}|]/g,b5=RegExp(am.source),al=/^\s+|\s+$/g,b7=/^\s+/,b8=/\s+$/,b9=/\\(\\)?/g,ba=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,aC=/\w*$/,bc=/^0x/i,bd=/^[-+]0x[0-9a-f]+$/i,be=/^0b[01]+$/i,bf=/^\[object .+?Constructor\]$/,bg=/^0o[0-7]+$/i,bh=/^(?:0|[1-9]\d*)$/,bi=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,a1=/($^)/,bk=/['\n\r\u2028\u2029\\]/g,T='\\ud800-\\udfff',as='\\u0300-\\u036f\\ufe20-\\ufe23',aF='\\u20d0-\\u20f0',aG='\\u2700-\\u27bf',aH='a-z\\xdf-\\xf6\\xf8-\\xff',bq='\\xac\\xb1\\xd7\\xf7',br='\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',bs='\\u2018\\u2019\\u201c\\u201d',bt=' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',ar='A-Z\\xc0-\\xd6\\xd8-\\xde',aJ='\\ufe0e\\ufe0f',aK=bq+br+bs+bt,bx='['+T+']',aL='['+aK+']',X='['+as+aF+']',aM='\\d+',bB='['+aG+']',aN='['+aH+']',aO='[^'+T+aK+aM+aG+aH+ar+']',ah='\\ud83c[\\udffb-\\udfff]',bF='(?:'+X+'|'+ah+')',aQ='[^'+T+']',ag='(?:\\ud83c[\\udde6-\\uddff]){2}',af='[\\ud800-\\udbff][\\udc00-\\udfff]',y='['+ar+']',aS='\\u200d',aT='(?:'+aN+'|'+aO+')',bM='(?:'+y+'|'+aO+')',aU=bF+'?',aV='['+aJ+']?',bP='(?:'+aS+'(?:'+[aQ,ag,af].join('|')+')'+aV+aU+')*',aW=aV+aU+bP,bR='(?:'+[bB,ag,af].join('|')+')'+aW,bS='(?:'+[aQ+X+'?',X,ag,af,bx].join('|')+')',bT=RegExp(X,'g'),ac=RegExp(ah+'(?='+ah+')|'+bS+aW,'g'),V=RegExp('['+aS+T+as+aF+aJ+']'),bW=/[a-zA-Z0-9]+/g,bX=RegExp([y+'?'+aN+'+(?='+[aL,y,'$'].join('|')+')',bM+'+(?='+[aL,y+aT,'$'].join('|')+')',y+'?'+aT+'+',y+'+',aM,bR].join('|'),'g'),bY=/[a-z][A-Z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bZ=['Array','Buffer','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Reflect','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],b_=-1,e={};e[ad]=e[ab]=e[a8]=e[a7]=e[a6]=e[a5]=e[aq]=e[ap]=e[ao]=!0,e[x]=e[a2]=e[K]=e[R]=e[D]=e[Z]=e[Y]=e[q]=e[I]=e[n]=e[S]=e[u]=e[G]=e[O]=!1;var d={};d[x]=d[a2]=d[K]=d[R]=d[D]=d[ad]=d[ab]=d[a8]=d[a7]=d[a6]=d[q]=d[I]=d[n]=d[S]=d[u]=d[G]=d[$]=d[a5]=d[aq]=d[ap]=d[ao]=!0,d[Z]=d[Y]=d[O]=!1;var c1={À:'A',Á:'A',Â:'A',Ã:'A',Ä:'A',Å:'A',à:'a',á:'a',â:'a',ã:'a',ä:'a',å:'a',Ç:'C',ç:'c',Ð:'D',ð:'d',È:'E',É:'E',Ê:'E',Ë:'E',è:'e',é:'e',ê:'e',ë:'e',Ì:'I',Í:'I',Î:'I',Ï:'I',ì:'i',í:'i',î:'i',ï:'i',Ñ:'N',ñ:'n',Ò:'O',Ó:'O',Ô:'O',Õ:'O',Ö:'O',Ø:'O',ò:'o',ó:'o',ô:'o',õ:'o',ö:'o',ø:'o',Ù:'U',Ú:'U',Û:'U',Ü:'U',ù:'u',ú:'u',û:'u',ü:'u',Ý:'Y',ý:'y',ÿ:'y',Æ:'Ae',æ:'ae',Þ:'Th',þ:'th',ß:'ss'},b$={'&':'&','<':'<','>':'>','"':'"','\'':''','`':'`'},bU={'&':'&','<':'<','>':'>','"':'"',''':'\'','`':'`'},Q={'function':!0,object:!0},bI={'\\':'\\','\'':'\'','\n':'n','\r':'r','\u2028':'u2028','\u2029':'u2029'},bG=parseFloat,bE=parseInt,E=Q[typeof b]&&b&&!b.nodeType?b:c,L=Q[typeof a]&&a&&!a.nodeType?a:c,ay=L&&L.exports===E?E:c,bw=an(E&&L&&typeof global=='object'&&global),aw=an(Q[typeof self]&&self),aa=an(Q[typeof window]&&window),ai=an(Q[typeof this]&&this),l=bw||aa!==(ai&&ai.window)&&aa||aw||ai||Function('return this')(),r=bo();(aa||aw||{})._=r,typeof define=='function'&&typeof define.amd=='object'&&define.amd?define(function(){return r}):E&&L?(ay&&((L.exports=r)._=r),E._=r):l._=r}.call(this),a.exports}) Cube("datav:/npm/lodash/4.17.21/get",["datav:/npm/lodash/4.17.21/_baseGet"],function(a,b,c){var d=c("datav:/npm/lodash/4.17.21/_baseGet");return a.exports=function(a,b,c){var e=null==a?void 0:d(a,b);return void 0===e?c:e},a.exports}); Cube("datav:/npm/lodash/4.17.21/isNumber",["datav:/npm/lodash/4.17.21/_baseGetTag","datav:/npm/lodash/4.17.21/isObjectLike"],function(a,e,t,n,s,o){var d=t("datav:/npm/lodash/4.17.21/_baseGetTag"),r=t("datav:/npm/lodash/4.17.21/isObjectLike");return a.exports=function(a){return"number"==typeof a||r(a)&&"[object Number]"==d(a)},a.exports}); Cube("datav:/npm/lodash/4.17.21/isPlainObject",["datav:/npm/lodash/4.17.21/_baseGetTag","datav:/npm/lodash/4.17.21/_getPrototype","datav:/npm/lodash/4.17.21/isObjectLike"],function(t,a,o,e,n,c){var r=o("datav:/npm/lodash/4.17.21/_baseGetTag"),s=o("datav:/npm/lodash/4.17.21/_getPrototype"),p=o("datav:/npm/lodash/4.17.21/isObjectLike"),l=Function.prototype,o=Object.prototype,d=l.toString,i=o.hasOwnProperty,b=d.call(Object);return t.exports=function(t){return!(!p(t)||"[object Object]"!=r(t))&&(null===(t=s(t))||"function"==typeof(t=i.call(t,"constructor")&&t.constructor)&&t instanceof t&&d.call(t)==b)},t.exports}); Cube("datav:/npm/lodash/4.17.21/pick",["datav:/npm/lodash/4.17.21/_basePick","datav:/npm/lodash/4.17.21/_flatRest"],function(a,t,n,s,d,e){var l=n("datav:/npm/lodash/4.17.21/_basePick"),n=n("datav:/npm/lodash/4.17.21/_flatRest")(function(a,t){return null==a?{}:l(a,t)});return a.exports=n,a.exports}); Cube("datav:/npm/lodash/4.17.21/isUndefined",[],function(a){return a.exports=function(a){return void 0===a},a.exports}); Cube("datav:/npm/lodash/4.17.21/isArray",[],function(a){var b=Array.isArray;return a.exports=b,a.exports}); Cube("datav:/npm/lodash/4.17.21/_baseGet",["datav:/npm/lodash/4.17.21/_castPath","datav:/npm/lodash/4.17.21/_toKey"],function(a,b,c){var d=c("datav:/npm/lodash/4.17.21/_castPath"),e=c("datav:/npm/lodash/4.17.21/_toKey");return a.exports=function(a,b){b=d(b,a);for(var c=0,f=b.length;null!=a&&c0&&c-1 in b}function al(c,b,d){if(a.isFunction(b))return a.grep(c,function(a,c){return!!b.call(a,c,a)!==d});if(b.nodeType)return a.grep(c,function(a){return a===b!==d});if(typeof b==='string'){if(aS.test(b))return a.filter(b,c,d);b=a.filter(b,c)}return a.grep(c,function(a){return z.call(b,a)>=0!==d})}function ao(a,b){while((a=a[b])&&a.nodeType!==1);return a}function bq(c){var b=a2[c]={};return a.each(c.match(j)||[],function(c,a){b[a]=!0}),b}function I(){c.removeEventListener('DOMContentLoaded',I,!1),d.removeEventListener('load',I,!1),a.ready()}function n(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=a.expando+n.uid++}function aD(c,d,b){var e;if(b===undefined&&c.nodeType===1)if(e='data-'+d.replace(bd,'-$1').toLowerCase(),b=c.getAttribute(e),typeof b==='string'){try{b=b==='true'?!0:b==='false'?!1:b==='null'?null:+b+''===b?+b:bc.test(b)?a.parseJSON(b):b}catch(a){}f.set(c,d,b)}else b=undefined;return b}function Q(){return!0}function r(){return!1}function b9(){try{return c.activeElement}catch(a){}}function an(b,c){return a.nodeName(b,'table')&&a.nodeName(c.nodeType!==11?c:c.firstChild,'tr')?b.getElementsByTagName('tbody')[0]||b.appendChild(b.ownerDocument.createElement('tbody')):b}function bp(a){return a.type=(a.getAttribute('type')!==null)+'/'+a.type,a}function bo(a){var b=aB.exec(a.type);return b?a.type=b[1]:a.removeAttribute('type'),a}function ae(c,d){var a=0,e=c.length;for(;a')).appendTo(d.documentElement),d=M[0].contentDocument,d.write(),d.close(),b=bb(e,d),M.detach()),a0[e]=b),b}function D(e,f,d){var g,h,i,c,b=e.style;return d=d||y(e),d&&(c=d.getPropertyValue(f)||d[f]),d&&(c===''&&!a.contains(e.ownerDocument,e)&&(c=a.style(e,f)),L.test(c)&&a1.test(f)&&(g=b.width,h=b.minWidth,i=b.maxWidth,b.minWidth=b.maxWidth=b.width=c,c=d.width,b.width=g,b.minWidth=h,b.maxWidth=i)),c!==undefined?c+'':c}function ap(a,b){return{get:function(){if(a()){delete this.get;return}return(this.get=b).apply(this,arguments)}}}function aq(c,a){if(a in c)return a;var d=a[0].toUpperCase()+a.slice(1),e=a,b=a5.length;while(b--)if(a=a5[b]+d,a in c)return a;return e}function at(d,b,c){var a=aK.exec(b);return a?Math.max(0,a[1]-(c||0))+(a[2]||'px'):b}function au(e,h,d,g,f){var b=d===(g?'border':'content')?4:h==='width'?1:0,c=0;for(;b<4;b+=2)d==='margin'&&(c+=a.css(e,d+m[b],!0,f)),g?(d==='content'&&(c-=a.css(e,'padding'+m[b],!0,f)),d!=='margin'&&(c-=a.css(e,'border'+m[b]+'Width',!0,f))):(c+=a.css(e,'padding'+m[b],!0,f),d!=='padding'&&(c+=a.css(e,'border'+m[b]+'Width',!0,f)));return c}function aw(c,d,i){var g=!0,b=d==='width'?c.offsetWidth:c.offsetHeight,f=y(c),h=a.css(c,'boxSizing',!1,f)==='border-box';if(b<=0||b==null){if(b=D(c,d,f),(b<0||b==null)&&(b=c.style[d]),L.test(b))return b;g=h&&(e.boxSizingReliable()||b===c.style[d]),b=parseFloat(b)||0}return b+au(c,d,i||(h?'border':'content'),g,f)+'px'}function aA(f,h){var g,c,i,e=[],d=0,j=f.length;for(;d=0&&a=0},isPlainObject:function(b){return a.type(b)!=='object'||b.nodeType||a.isWindow(b)?!1:b.constructor&&!R.call(b.constructor.prototype,'isPrototypeOf')?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return a==null?a+'':typeof a==='object'||typeof a==='function'?E[av.call(a)]||'object':typeof a},globalEval:function(b){var d,e=eval;b=a.trim(b),b&&(b.indexOf('use strict')===1?(d=c.createElement('script'),d.text=b,c.head.appendChild(d).parentNode.removeChild(d)):e(b))},camelCase:function(a){return a.replace(aH,'ms-').replace(aI,aN)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(b,d,e){var c,a=0,f=b.length,g=$(b);if(e){if(g){for(;aa.cacheLength&&delete b[c.shift()],b[d+' ']=e}var c=[];return b}function j(a){return a[d]=!0,a}function p(b){var a=g.createElement('div');try{return!!b(a)}catch(a){return!1}finally{a.parentNode&&a.parentNode.removeChild(a),a=null}}function X(c,e){var d=c.split('|'),b=c.length;while(b--)a.attrHandle[d[b]]=e}function aa(b,c){var a=c&&b,d=a&&b.nodeType===1&&c.nodeType===1&&(~c.sourceIndex||Y)-(~b.sourceIndex||Y);if(d)return d;if(a)while(a=a.nextSibling)if(a===c)return-1;return b?1:-1}function am(a){return function(b){var c=b.nodeName.toLowerCase();return c==='input'&&b.type===a}}function an(a){return function(c){var b=c.nodeName.toLowerCase();return(b==='input'||b==='button')&&c.type===a}}function u(a){return j(function(b){return b=+b,j(function(c,g){var d,e=a([],c.length,b),f=e.length;while(f--)c[d=e[f]]&&(c[d]=!(g[d]=c[d]))})})}function Z(a){return a&&a.getElementsByTagName!==void 0&&a}function ad(){}function N(c){var a=0,d=c.length,b='';for(;a1?function(c,d,e){var b=a.length;while(b--)if(!a[b](c,d,e))return!1;return!0}:a[0]}function ak(f,b,d){var a=0,e=b.length;for(;a-1&&(l[h]=!(k[h]=i))}}else d=I(d===k?d.splice(r,d.length):d),a?a(null,k,d,m):n.apply(k,d)})}function Q(c){var i,g,e,h=c.length,j=a.relative[c[0].type],k=j||a.relative[' '],b=j?1:0,l=$(function(a){return a===i},k,!0),m=$(function(a){return s(i,a)>-1},k,!0),f=[function(c,a,b){var d=!j&&(b||a!==K)||((i=a).nodeType?l(c,a,b):m(c,a,b));return i=null,d}];for(;b1&&a0(f),b>1&&N(c.slice(0,b-1).concat({value:c[b-2].type===' '?'*':''})).replace(A,'$1'),g,b0,e=h.length>0,f=function(p,r,y,t,q){var j,s,m,l=0,f='0',o=p&&[],i=[],u=K,v=p||e&&a.find.TAG('*',q),w=k+=u==null?1:Math.random()||.1,x=v.length;for(q&&(K=r!==g&&r);f!==x&&(j=v[f])!=null;f++){if(e&&j){s=0;while(m=h[s++])if(m(j,r,y)){t.push(j);break}q&&(k=w)}b&&((j=!m&&j)&&l--,p&&o.push(j))}if(l+=f,b&&f!==l){s=0;while(m=d[s++])m(o,i,r,y);if(p){if(l>0)while(f--)o[f]||i[f]||(i[f]=a7.call(t));i=I(i)}n.apply(t,i),q&&!p&&i.length>0&&l+d.length>1&&c.uniqueSort(t)}return q&&(k=w,K=u),o};return b?j(f):f}d='sizzle'+1*new Date,h=R.document,k=0,ag=0,O=V(),a1=V(),_=V(),G=function(a,b){return a===b&&(x=!0),0},Y=-2147483648,a9={}.hasOwnProperty,q=[],a7=q.pop,P=q.push,n=q.push,H=q.slice,s=function(b,d){var a=0,c=b.length;for(;a+~]|'+b+')'+b+'*'),a5=new RegExp('='+b+'*([^\\]\'"]*?)'+b+'*\\]','g'),a6=new RegExp(F),aj=new RegExp('^'+S+'$'),C={ID:new RegExp('^#('+w+')'),CLASS:new RegExp('^\\.('+w+')'),TAG:new RegExp('^('+w.replace('w','w*')+')'),ATTR:new RegExp('^'+W),PSEUDO:new RegExp('^'+F),CHILD:new RegExp('^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\('+b+'*(even|odd|(([+-]|)(\\d*)n|)'+b+'*(?:([+-]|)'+b+'*(\\d+)|))'+b+'*\\)|)','i'),bool:new RegExp('^(?:'+L+')$','i'),needsContext:new RegExp('^'+b+'*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\('+b+'*((?:-\\d)?\\d*)'+b+'*\\)|)(?=[^-]|$)','i')},ab=/^(?:input|select|textarea|button)$/i,ac=/^h\d$/i,z=/^[^{]+\{\s*\[native \w/,af=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,ah=/'|\\/g,m=new RegExp('\\\\([\\da-f]{1,6}'+b+'?|('+b+')|.)','ig'),o=function(d,b,c){var a='0x'+b-65536;return a!==a||c?b:a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},T=function(){t()};try{n.apply(q=H.call(h.childNodes),h.childNodes),q[h.childNodes.length].nodeType}catch(a){n={apply:q.length?function(a,b){P.apply(a,H.call(b))}:function(a,d){var b=a.length,c=0;while(a[b++]=d[c++]);a.length=b-1}}}e=c.support={},a8=c.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=='HTML':!1},t=c.setDocument=function(k){var n,j,c=k?k.ownerDocument||k:h;return c===g||c.nodeType!==9||!c.documentElement?g:(g=c,i=c.documentElement,j=c.defaultView,j&&j!==j.top&&(j.addEventListener?j.addEventListener('unload',T,!1):j.attachEvent&&j.attachEvent('onunload',T)),l=!a8(c),e.attributes=p(function(a){return a.className='i',!a.getAttribute('className')}),e.getElementsByTagName=p(function(a){return a.appendChild(c.createComment('')),!a.getElementsByTagName('*').length}),e.getElementsByClassName=z.test(c.getElementsByClassName),e.getById=p(function(a){return i.appendChild(a).id=d,!c.getElementsByName||!c.getElementsByName(d).length}),e.getById?(a.find.ID=function(c,b){if(b.getElementById!==void 0&&l){var a=b.getElementById(c);return a&&a.parentNode?[a]:[]}},a.filter.ID=function(b){var a=b.replace(m,o);return function(b){return b.getAttribute('id')===a}}):(delete a.find.ID,a.filter.ID=function(b){var a=b.replace(m,o);return function(c){var b=c.getAttributeNode!==void 0&&c.getAttributeNode('id');return b&&b.value===a}}),a.find.TAG=e.getElementsByTagName?function(b,a){return a.getElementsByTagName!==void 0?a.getElementsByTagName(b):e.qsa?a.querySelectorAll(b):void 0}:function(d,f){var a,b=[],e=0,c=f.getElementsByTagName(d);if(d==='*'){while(a=c[e++])a.nodeType===1&&b.push(a);return b}return c},a.find.CLASS=e.getElementsByClassName&&function(a,b){return l?b.getElementsByClassName(a):void 0},v=[],f=[],(e.qsa=z.test(c.querySelectorAll))&&(p(function(a){i.appendChild(a).innerHTML=''+'',a.querySelectorAll('[msallowcapture^=\'\']').length&&f.push('[*^$]='+b+'*(?:\'\'|"")'),a.querySelectorAll('[selected]').length||f.push('\\['+b+'*(?:value|'+L+')'),a.querySelectorAll('[id~='+d+'-]').length||f.push('~='),a.querySelectorAll(':checked').length||f.push(':checked'),a.querySelectorAll('a#'+d+'+*').length||f.push('.#.+[+~]')}),p(function(a){var d=c.createElement('input');d.setAttribute('type','hidden'),a.appendChild(d).setAttribute('name','D'),a.querySelectorAll('[name=d]').length&&f.push('name'+b+'*[*^$|!~]?='),a.querySelectorAll(':enabled').length||f.push(':enabled',':disabled'),a.querySelectorAll('*,:x'),f.push(',.*:')})),(e.matchesSelector=z.test(E=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&p(function(a){e.disconnectedMatch=E.call(a,'div'),E.call(a,'[s!=\'\']:x'),v.push('!=',F)}),f=f.length&&new RegExp(f.join('|')),v=v.length&&new RegExp(v.join('|')),n=z.test(i.compareDocumentPosition),B=n||z.test(i.contains)?function(a,d){var c=a.nodeType===9?a.documentElement:a,b=d&&d.parentNode;return a===b||!!(b&&b.nodeType===1&&(c.contains?c.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(b,a){if(a)while(a=a.parentNode)if(a===b)return!0;return!1},G=n?function(a,b){if(a===b)return x=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,d&1||!e.sortDetached&&b.compareDocumentPosition(a)===d?a===c||a.ownerDocument===h&&B(h,a)?-1:b===c||b.ownerDocument===h&&B(h,b)?1:r?s(r,a)-s(r,b):0:d&4?-1:1)}:function(d,e){if(d===e)return x=!0,0;var b,a=0,i=d.parentNode,j=e.parentNode,f=[d],g=[e];if(!(i&&j))return d===c?-1:e===c?1:i?-1:j?1:r?s(r,d)-s(r,e):0;if(i===j)return aa(d,e);b=d;while(b=b.parentNode)f.unshift(b);b=e;while(b=b.parentNode)g.unshift(b);while(f[a]===g[a])a++;return a?aa(f[a],g[a]):f[a]===h?-1:g[a]===h?1:0},c)},c.matches=function(a,b){return c(a,null,null,b)},c.matchesSelector=function(a,b){if((a.ownerDocument||a)!==g&&t(a),b=b.replace(a5,'=\'$1\']'),e.matchesSelector&&l&&!(v&&v.test(b))&&!(f&&f.test(b)))try{var d=E.call(a,b);if(d||e.disconnectedMatch||a.document&&a.document.nodeType!==11)return d}catch(a){}return c(b,g,null,[a]).length>0},c.contains=function(a,b){return(a.ownerDocument||a)!==g&&t(a),B(a,b)},c.attr=function(b,d){(b.ownerDocument||b)!==g&&t(b);var f=a.attrHandle[d.toLowerCase()],c=f&&a9.call(a.attrHandle,d.toLowerCase())?f(b,d,!l):undefined;return c!==undefined?c:e.attributes||!l?b.getAttribute(d):(c=b.getAttributeNode(d))&&c.specified?c.value:null},c.error=function(a){throw new Error('Syntax error, unrecognized expression: '+a)},c.uniqueSort=function(a){var f,d=[],b=0,c=0;if(x=!e.detectDuplicates,r=!e.sortStable&&a.slice(0),a.sort(G),x){while(f=a[c++])f===a[c]&&(b=d.push(c));while(b--)a.splice(d[b],1)}return r=null,a},M=c.getText=function(a){var d,c='',e=0,b=a.nodeType;if(!b)while(d=a[e++])c+=M(d);else if(b===1||b===9||b===11)if(typeof a.textContent==='string')return a.textContent;else for(a=a.firstChild;a;a=a.nextSibling)c+=M(a);else if(b===3||b===4)return a.nodeValue;return c},a=c.selectors={cacheLength:50,createPseudo:j,match:C,attrHandle:{},find:{},relative:{'>':{dir:'parentNode',first:!0},' ':{dir:'parentNode'},'+':{dir:'previousSibling',first:!0},'~':{dir:'previousSibling'}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(m,o),a[3]=(a[3]||a[4]||a[5]||'').replace(m,o),a[2]==='~='&&(a[3]=' '+a[3]+' '),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==='nth'?(a[3]||c.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==='even'||a[3]==='odd')),a[5]=+(a[7]+a[8]||a[3]==='odd')):a[3]&&c.error(a[0]),a},PSEUDO:function(a){var c,b=!a[6]&&a[2];return C.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||'':b&&a6.test(b)&&(c=D(b,!0))&&(c=b.indexOf(')',b.length-c)-b.length)&&(a[0]=a[0].slice(0,c),a[2]=b.slice(0,c)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(m,o).toLowerCase();return a==='*'?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(c){var a=O[c+' '];return a||(a=new RegExp('(^|'+b+')'+c+'('+b+'|$)'),O(c,function(b){return a.test(typeof b.className==='string'&&b.className||b.getAttribute!==void 0&&b.getAttribute('class')||'')}))},ATTR:function(d,b,a){return function(f){var e=c.attr(f,d);return e==null?b==='!=':b?(e+='',b==='='?e===a:b==='!='?e!==a:b==='^='?a&&e.indexOf(a)===0:b==='*='?a&&e.indexOf(a)>-1:b==='$='?a&&e.slice(-a.length)===a:b==='~='?(' '+e.replace(ae,' ')+' ').indexOf(a)>-1:b==='|='?e===a||e.slice(0,a.length+1)===a+'-':!1):!0}},CHILD:function(a,h,i,c,g){var f=a.slice(0,3)!=='nth',e=a.slice(-4)!=='last',b=h==='of-type';return c===1&&g===0?function(a){return!!a.parentNode}:function(n,u,t){var j,r,h,i,l,p,o=f!==e?'nextSibling':'previousSibling',m=n.parentNode,s=b&&n.nodeName.toLowerCase(),q=!t&&!b;if(m){if(f){while(o){h=n;while(h=h[o])if(b?h.nodeName.toLowerCase()===s:h.nodeType===1)return!1;p=o=a==='only'&&!p&&'nextSibling'}return!0}if(p=[e?m.firstChild:m.lastChild],e&&q){r=m[d]||(m[d]={}),j=r[a]||[],l=j[0]===k&&j[1],i=j[0]===k&&j[2],h=l&&m.childNodes[l];while(h=++l&&h&&h[o]||(i=l=0)||p.pop())if(h.nodeType===1&&++i&&h===n){r[a]=[k,l,i];break}}else if(q&&(j=(n[d]||(n[d]={}))[a])&&j[0]===k)i=j[1];else while(h=++l&&h&&h[o]||(i=l=0)||p.pop())if((b?h.nodeName.toLowerCase()===s:h.nodeType===1)&&++i&&(q&&((h[d]||(h[d]={}))[a]=[k,i]),h===n))break;return i-=g,i===c||i%c===0&&i/c>=0}}},PSEUDO:function(e,f){var g,b=a.pseudos[e]||a.setFilters[e.toLowerCase()]||c.error('unsupported pseudo: '+e);return b[d]?b(f):b.length>1?(g=[e,e,'',f],a.setFilters.hasOwnProperty(e.toLowerCase())?j(function(d,g){var e,a=b(d,f),c=a.length;while(c--)e=s(d,a[c]),d[e]=!(g[e]=a[c])}):function(a){return b(a,0,g)}):b}},pseudos:{not:j(function(e){var a=[],c=[],b=U(e.replace(A,'$1'));return b[d]?j(function(c,f,h,g){var d,e=b(c,null,g,[]),a=c.length;while(a--)(d=e[a])&&(c[a]=!(f[a]=d))}):function(d,f,e){return a[0]=d,b(a,null,e,c),a[0]=null,!c.pop()}}),has:j(function(a){return function(b){return c(a,b).length>0}}),contains:j(function(a){return a=a.replace(m,o),function(b){return(b.textContent||b.innerText||M(b)).indexOf(a)>-1}}),lang:j(function(a){return aj.test(a||'')||c.error('unsupported lang: '+a),a=a.replace(m,o).toLowerCase(),function(b){var c;do if(c=l?b.lang:b.getAttribute('xml:lang')||b.getAttribute('lang'))return c=c.toLowerCase(),c===a||c.indexOf(a+'-')===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(b){var a=R.location&&R.location.hash;return a&&a.slice(1)===b.id},root:function(a){return a===i},focus:function(a){return a===g.activeElement&&(!g.hasFocus||g.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==='input'&&!!a.checked||b==='option'&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(b){return!a.pseudos.empty(b)},header:function(a){return ac.test(a.nodeName)},input:function(a){return ab.test(a.nodeName)},button:function(b){var a=b.nodeName.toLowerCase();return a==='input'&&b.type==='button'||a==='button'},text:function(a){var b;return a.nodeName.toLowerCase()==='input'&&a.type==='text'&&((b=a.getAttribute('type'))==null||b.toLowerCase()==='text')},first:u(function(){return[0]}),last:u(function(b,a){return[a-1]}),eq:u(function(c,b,a){return[a<0?a+b:a]}),even:u(function(b,c){var a=0;for(;a=0;)c.push(b);return c}),gt:u(function(c,d,a){var b=a<0?a+d:a;for(;++b2&&(h=d[0]).type==='ID'&&e.getById&&b.nodeType===9&&l&&a.relative[d[1].type]){if(b=(a.find.ID(h.matches[0].replace(m,o),b)||[])[0],!b)return f;k&&(b=b.parentNode),c=c.slice(d.shift().value.length)}j=C.needsContext.test(c)?0:d.length;while(j--){if(h=d[j],a.relative[p=h.type])break;if((q=a.find[p])&&(g=q(h.matches[0].replace(m,o),J.test(d[0].type)&&Z(b.parentNode)||b))){if(d.splice(j,1),c=g.length&&N(d),!c)return n.apply(f,g),f;break}}}return(k||U(c,i))(g,b,!l,f,J.test(c)&&Z(b.parentNode)||b),f},e.sortStable=d.split('').sort(G).join('')===d,e.detectDuplicates=!!x,t(),e.sortDetached=p(function(a){return a.compareDocumentPosition(g.createElement('div'))&1}),p(function(a){return a.innerHTML='',a.firstChild.getAttribute('href')==='#'})||X('type|href|height|width',function(b,a,c){return c?void 0:b.getAttribute(a,a.toLowerCase()==='type'?1:2)}),e.attributes&&p(function(a){return a.innerHTML='',a.firstChild.setAttribute('value',''),a.firstChild.getAttribute('value')===''})||X('value',function(a,c,b){return!b&&a.nodeName.toLowerCase()==='input'?a.defaultValue:void 0}),p(function(a){return a.getAttribute('disabled')==null})||X(L,function(c,a,d){var b;return d?void 0:c[a]===!0?a.toLowerCase():(b=c.getAttributeNode(a))&&b.specified?b.value:null}),c}(d);a.find=p,a.expr=p.selectors,a.expr[':']=a.expr.pseudos,a.unique=p.uniqueSort,a.text=p.getText,a.isXMLDoc=p.isXML,a.contains=p.contains;var a6=a.expr.match.needsContext,a3=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,aS=/^.[^:#\[\.,]*$/;a.filter=function(b,d,e){var c=d[0];return e&&(b=':not('+b+')'),d.length===1&&c.nodeType===1?a.find.matchesSelector(c,b)?[c]:[]:a.find.matches(b,a.grep(d,function(a){return a.nodeType===1}))},a.fn.extend({find:function(d){var b,e=this.length,c=[],f=this;if(typeof d!=='string')return this.pushStack(a(d).filter(function(){for(b=0;b1?a.unique(c):c),c.selector=this.selector?this.selector+' '+d:d,c},filter:function(a){return this.pushStack(al(this,a||[],!1))},not:function(a){return this.pushStack(al(this,a||[],!0))},is:function(b){return!!al(this,typeof b==='string'&&a6.test(b)?a(b):b||[],!1).length}});var J,aV=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,aY=a.fn.init=function(b,d){var e,f;if(!b)return this;if(typeof b==='string')if(b[0]==='<'&&b[b.length-1]==='>'&&b.length>=3?e=[null,b,null]:e=aV.exec(b),e&&(e[1]||!d))if(e[1]){if(d=d instanceof a?d[0]:d,a.merge(this,a.parseHTML(e[1],d&&d.nodeType?d.ownerDocument||d:c,!0)),a3.test(e[1])&&a.isPlainObject(d))for(e in d)a.isFunction(this[e])?this[e](d[e]):this.attr(e,d[e]);return this}else return f=c.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=c,this.selector=b,this;else return!d||d.jquery?(d||J).find(b):this.constructor(d).find(b);return b.nodeType?(this.context=this[0]=b,this.length=1,this):a.isFunction(b)?J.ready!==void 0?J.ready(b):b(a):(b.selector!==undefined&&(this.selector=b.selector,this.context=b.context),a.makeArray(b,this))};aY.prototype=a.fn,J=a(c);var a_=/^(?:parents|prev(?:Until|All))/,b0={children:!0,contents:!0,next:!0,prev:!0};a.extend({dir:function(b,f,d){var c=[],e=d!==undefined;while((b=b[f])&&b.nodeType!==9)if(b.nodeType===1){if(e&&a(b).is(d))break;c.push(b)}return c},sibling:function(a,c){var b=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}}),a.fn.extend({has:function(d){var b=a(d,this),c=b.length;return this.filter(function(){var d=0;for(;d-1:b.nodeType===1&&a.find.matchesSelector(b,d))){c.push(b);break}return this.pushStack(c.length>1?a.unique(c):c)},index:function(b){return b?typeof b==='string'?z.call(a(b),this[0]):z.call(this,b.jquery?b[0]:b):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(b,c){return this.pushStack(a.unique(a.merge(this.get(),a(b,c))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,'parentNode')},parentsUntil:function(b,d,c){return a.dir(b,'parentNode',c)},next:function(a){return ao(a,'nextSibling')},prev:function(a){return ao(a,'previousSibling')},nextAll:function(b){return a.dir(b,'nextSibling')},prevAll:function(b){return a.dir(b,'previousSibling')},nextUntil:function(b,d,c){return a.dir(b,'nextSibling',c)},prevUntil:function(b,d,c){return a.dir(b,'previousSibling',c)},siblings:function(b){return a.sibling((b.parentNode||{}).firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return b.contentDocument||a.merge([],b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f);return b.slice(-5)!=='Until'&&(e=f),e&&typeof e==='string'&&(d=a.filter(e,d)),this.length>1&&(b0[b]||a.unique(d),a_.test(b)&&d.reverse()),this.pushStack(d)}});var j=/\S+/g,a2={};a.Callbacks=function(d){d=typeof d==='string'?a2[d]||bq(d):a.extend({},d);var e,l,i,k,f,g,b=[],c=!d.once&&[],j=function(a){for(e=d.memory&&a,l=!0,g=k||0,k=0,f=b.length,i=!0;b&&g-1)b.splice(c,1),i&&(c<=f&&f--,c<=g&&g--)}),this},has:function(c){return c?a.inArray(c,b)>-1:!!(b&&b.length)},empty:function(){return b=[],f=0,this},disable:function(){return b=c=e=undefined,this},disabled:function(){return!b},lock:function(){return c=undefined,e||h.disable(),this},locked:function(){return!c},fireWith:function(d,a){return b&&(!l||c)&&(a=a||[],a=[d,a.slice?a.slice():a],i?c.push(a):j(a)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!l}};return h},a.extend({Deferred:function(f){var d=[['resolve','done',a.Callbacks('once memory'),'resolved'],['reject','fail',a.Callbacks('once memory'),'rejected'],['notify','progress',a.Callbacks('memory')]],e='pending',c={state:function(){return e},always:function(){return b.done(arguments).fail(arguments),this},then:function(){var e=arguments;return a.Deferred(function(f){a.each(d,function(g,h){var d=a.isFunction(e[g])&&e[g];b[h[1]](function(){var b=d&&d.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[h[0]+'With'](this===c?f.promise():this,d?[b]:arguments)})}),e=null}).promise()},promise:function(b){return b!=null?a.extend(b,c):c}},b={};return c.pipe=c.then,a.each(d,function(h,a){var f=a[2],g=a[3];c[a[1]]=f.add,g&&f.add(function(){e=g},d[h^1][2].disable,d[2][2].lock),b[a[0]]=function(){return b[a[0]+'With'](this===b?c:this,arguments),this},b[a[0]+'With']=f.fireWith}),c.promise(b),f&&f.call(b,b),b},when:function(g){var b=0,d=k.call(arguments),c=d.length,f=c!==1||g&&a.isFunction(g.promise)?c:0,e=f===1?g:a.Deferred(),i=function(c,b,a){return function(d){b[c]=this,a[c]=arguments.length>1?k.call(arguments):d,a===j?e.notifyWith(b,a):--f||e.resolveWith(b,a)}},j,l,h;if(c>1)for(j=new Array(c),l=new Array(c),h=new Array(c);b0)return;P.resolveWith(c,[a]),a.fn.triggerHandler&&(a(c).triggerHandler('ready'),a(c).off('ready'))}}),a.ready.promise=function(b){return P||(P=a.Deferred(),c.readyState==='complete'?setTimeout(a.ready):(c.addEventListener('DOMContentLoaded',I,!1),d.addEventListener('load',I,!1))),P.promise(b)},a.ready.promise();var l=a.access=function(d,b,e,g,i,k,h){var c=0,j=d.length,f=e==null;if(a.type(e)==='object'){i=!0;for(c in e)a.access(d,b,c,e[c],!0,k,h)}else if(g!==undefined&&(i=!0,a.isFunction(g)||(h=!0),f&&(h?(b.call(d,g),b=null):(f=b,b=function(b,d,c){return f.call(a(b),c)})),b))for(;c1,null,!0)},removeData:function(a){return this.each(function(){f.remove(this,a)})}}),a.extend({queue:function(f,d,e){var c;return f?(d=(d||'fx')+'queue',c=b.get(f,d),e&&(!c||a.isArray(e)?c=b.access(f,d,a.makeArray(e)):c.push(e)),c||[]):void 0},dequeue:function(f,b){b=b||'fx';var c=a.queue(f,b),g=c.length,d=c.shift(),e=a._queueHooks(f,b),h=function(){a.dequeue(f,b)};d==='inprogress'&&(d=c.shift(),g--),d&&(b==='fx'&&c.unshift('inprogress'),delete e.stop,d.call(f,h,e)),!g&&e&&e.empty.fire()},_queueHooks:function(d,e){var c=e+'queueHooks';return b.get(d,c)||b.access(d,c,{empty:a.Callbacks('once memory').add(function(){b.remove(d,[e+'queue',c])})})}}),a.fn.extend({queue:function(b,c){var d=2;return typeof b!=='string'&&(c=b,b='fx',d--),arguments.lengthx',e.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();var s=typeof undefined;e.focusinBubbles='onfocusin'in d;var ar=/^key/,as=/^(?:mouse|pointer|contextmenu)|click/,W=/^(?:focusinfocus|focusoutblur)$/,a8=/^([^.]*)(?:\.(.+)|)$/;a.event={global:{},add:function(i,l,d,t,g){var n,o,q,m,p,k,e,h,c,r,u,f=b.get(i);if(!f)return;d.handler&&(n=d,d=n.handler,g=n.selector),d.guid||(d.guid=a.guid++),(m=f.events)||(m=f.events={}),(o=f.handle)||(o=f.handle=function(b){return typeof a!==s&&a.event.triggered!==b.type?a.event.dispatch.apply(i,arguments):undefined}),l=(l||'').match(j)||[''],p=l.length;while(p--){if(q=a8.exec(l[p])||[],c=u=q[1],r=(q[2]||'').split('.').sort(),!c)continue;e=a.event.special[c]||{},c=(g?e.delegateType:e.bindType)||c,e=a.event.special[c]||{},k=a.extend({type:c,origType:u,data:t,handler:d,guid:d.guid,selector:g,needsContext:g&&a.expr.match.needsContext.test(g),namespace:r.join('.')},n),(h=m[c])||(h=m[c]=[],h.delegateCount=0,(!e.setup||e.setup.call(i,t,r,o)===!1)&&i.addEventListener&&i.addEventListener(c,o,!1)),e.add&&(e.add.call(i,k),k.handler.guid||(k.handler.guid=d.guid)),g?h.splice(h.delegateCount++,0,k):h.push(k),a.event.global[c]=!0}},remove:function(g,l,p,k,t){var o,r,f,m,n,d,e,i,c,q,s,h=b.hasData(g)&&b.get(g);if(!(h&&(m=h.events)))return;l=(l||'').match(j)||[''],n=l.length;while(n--){if(f=a8.exec(l[n])||[],c=s=f[1],q=(f[2]||'').split('.').sort(),!c){for(c in m)a.event.remove(g,c+l[n],p,k,!0);continue}e=a.event.special[c]||{},c=(k?e.delegateType:e.bindType)||c,i=m[c]||[],f=f[2]&&new RegExp('(^|\\.)'+q.join('\\.(?:.*\\.|)')+'(\\.|$)'),r=o=i.length;while(o--)d=i[o],(t||s===d.origType)&&(!p||p.guid===d.guid)&&(!f||f.test(d.namespace))&&(!k||k===d.selector||k==='**'&&d.selector)&&(i.splice(o,1),d.selector&&i.delegateCount--,e.remove&&e.remove.call(g,d));r&&!i.length&&((!e.teardown||e.teardown.call(g,q,h.handle)===!1)&&a.removeEvent(g,c,h.handle),delete m[c])}a.isEmptyObject(m)&&(delete h.handle,b.remove(g,'events'))},trigger:function(e,k,f,p){var r,h,i,q,m,l,j,o=[f||c],g=R.call(e,'type')?e.type:e,n=R.call(e,'namespace')?e.namespace.split('.'):[];if(h=i=f=f||c,f.nodeType===3||f.nodeType===8)return;if(W.test(g+a.event.triggered))return;if(g.indexOf('.')>=0&&(n=g.split('.'),g=n.shift(),n.sort()),m=g.indexOf(':')<0&&'on'+g,e=e[a.expando]?e:new a.Event(g,typeof e==='object'&&e),e.isTrigger=p?2:3,e.namespace=n.join('.'),e.namespace_re=e.namespace?new RegExp('(^|\\.)'+n.join('\\.(?:.*\\.|)')+'(\\.|$)'):null,e.result=undefined,e.target||(e.target=f),k=k==null?[e]:a.makeArray(k,[e]),j=a.event.special[g]||{},!p&&j.trigger&&j.trigger.apply(f,k)===!1)return;if(!(p||j.noBubble||a.isWindow(f))){for(q=j.delegateType||g,W.test(q+g)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(f.ownerDocument||c)&&o.push(i.defaultView||i.parentWindow||d)}r=0;while((h=o[r++])&&!e.isPropagationStopped())e.type=r>1?q:j.bindType||g,l=(b.get(h,'events')||{})[e.type]&&b.get(h,'handle'),l&&l.apply(h,k),l=m&&h[m],l&&l.apply&&a.acceptData(h)&&(e.result=l.apply(h,k),e.result===!1&&e.preventDefault());return e.type=g,!(p||e.isDefaultPrevented())&&(!j._default||j._default.apply(o.pop(),k)===!1)&&a.acceptData(f)&&m&&a.isFunction(f[g])&&!a.isWindow(f)&&(i=f[m],i&&(f[m]=null),a.event.triggered=g,f[g](),a.event.triggered=undefined,i&&(f[m]=i)),e.result},dispatch:function(c){c=a.event.fix(c);var l,j,g,f,d,h=[],i=k.call(arguments),m=(b.get(this,'events')||{})[c.type]||[],e=a.event.special[c.type]||{};if(i[0]=c,c.delegateTarget=this,e.preDispatch&&e.preDispatch.call(this,c)===!1)return;h=a.event.handlers.call(this,c,m),l=0;while((f=h[l++])&&!c.isPropagationStopped()){c.currentTarget=f.elem,j=0;while((d=f.handlers[j++])&&!c.isImmediatePropagationStopped())(!c.namespace_re||c.namespace_re.test(d.namespace))&&(c.handleObj=d,c.data=d.data,g=((a.event.special[d.origType]||{}).handle||d.handler).apply(f.elem,i),g!==undefined&&(c.result=g)===!1&&(c.preventDefault(),c.stopPropagation()))}return e.postDispatch&&e.postDispatch.call(this,c),c.result},handlers:function(f,g){var h,c,d,i,j=[],e=g.delegateCount,b=f.target;if(e&&b.nodeType&&(!f.button||f.type!=='click'))for(;b!==this;b=b.parentNode||this)if(b.disabled!==!0||f.type!=='click'){for(c=[],h=0;h=0:a.find(d,this,null,[b]).length),c[d]&&c.push(i);c.length&&j.push({elem:b,handlers:c})}return e]*)\/>/gi,Y=/<([\w:]+)/,ax=/<|&#?\w+;/,ay=/<(?:script|style|link)/i,az=/checked\s*(?:[^=]|=\s*.checked.)/i,Z=/^$|\/(?:java|ecma)script/i,aB=/^true\/(.*)/,aC=/^\s*\s*$/g,i={option:[1,''],thead:[1,'','
'],col:[2,'','
'],tr:[2,'','
'],td:[3,'','
'],_default:[0,'','']};i.optgroup=i.option,i.tbody=i.tfoot=i.colgroup=i.caption=i.thead,i.th=i.td,a.extend({clone:function(b,k,l){var c,i,f,d,g=b.cloneNode(!0),j=a.contains(b.ownerDocument,b);if(!e.noCloneChecked&&(b.nodeType===1||b.nodeType===11)&&!a.isXMLDoc(b))for(d=h(g),f=h(b),c=0,i=f.length;c0&&ae(d,!j&&h(b,'script')),g},buildFragment:function(p,k,o,q){var b,c,l,g,m,j,d=k.createDocumentFragment(),f=[],e=0,n=p.length;for(;e')+g[2],j=g[0];while(j--)c=c.lastChild;a.merge(f,c.childNodes),c=d.firstChild,c.textContent=''}d.textContent='',e=0;while(b=f[e++]){if(q&&a.inArray(b,q)!==-1)continue;if(m=a.contains(b.ownerDocument,b),c=h(d.appendChild(b),'script'),m&&ae(c),o){j=0;while(b=c[j++])Z.test(b.type||'')&&o.push(b)}}return d},cleanData:function(j){var e,c,g,d,i=a.event.special,h=0;for(;(c=j[h])!==undefined;h++){if(a.acceptData(c)&&(d=c[b.expando],d&&(e=b.cache[d]))){if(e.events)for(g in e.events)i[g]?a.event.remove(c,g):a.removeEvent(c,g,e.handle);b.cache[d]&&delete b.cache[d]}delete f.cache[c[f.expando]]}}}),a.fn.extend({text:function(b){return l(this,function(b){return b===undefined?a.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=b)})},null,b,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=an(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(b){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var a=an(this,b);a.insertBefore(b,a.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(d,e){var b,f=d?a.filter(d,this):this,c=0;for(;(b=f[c])!=null;c++)!e&&b.nodeType===1&&a.cleanData(h(b)),b.parentNode&&(e&&a.contains(b.ownerDocument,b)&&ae(h(b,'script')),b.parentNode.removeChild(b));return this},empty:function(){var b,c=0;for(;(b=this[c])!=null;c++)b.nodeType===1&&(a.cleanData(h(b,!1)),b.textContent='');return this},clone:function(b,c){return b=b==null?!1:b,c=c==null?b:c,this.map(function(){return a.clone(this,b,c)})},html:function(b){return l(this,function(c){var b=this[0]||{},d=0,e=this.length;if(c===undefined&&b.nodeType===1)return b.innerHTML;if(typeof c==='string'&&!ay.test(c)&&!i[(Y.exec(c)||['',''])[1].toLowerCase()]){c=c.replace(X,'<$1>');try{for(;d1&&typeof j==='string'&&!e.checkClone&&az.test(j))return this.each(function(b){var a=p.eq(b);n&&(i[0]=j.call(this,b,a.html())),a.domManip(i,r)});if(k&&(g=a.buildFragment(i,this[0].ownerDocument,!1,this),m=g.firstChild,g.childNodes.length===1&&(g=m),m)){for(f=a.map(h(g,'script'),bp),l=f.length;d1)},show:function(){return aA(this,!0)},hide:function(){return aA(this)},toggle:function(b){return typeof b==='boolean'?b?this.show():this.hide():this.each(function(){w(this)?a(this).show():a(this).hide()})}}),a.Tween=g,g.prototype={constructor:g,init:function(c,d,b,e,f,g){this.elem=c,this.prop=b,this.easing=f||'swing',this.options=d,this.start=this.now=this.cur(),this.end=e,this.unit=g||(a.cssNumber[b]?'':'px')},cur:function(){var a=g.propHooks[this.prop];return a&&a.get?a.get(this):g.propHooks._default.get(this)},run:function(c){var d,b=g.propHooks[this.prop];return this.options.duration?this.pos=d=a.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=d=c,this.now=(this.end-this.start)*d+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):g.propHooks._default.set(this),this}},g.prototype.init.prototype=g.prototype,g.propHooks={_default:{get:function(b){var c;return b.elem[b.prop]!=null&&(!b.elem.style||b.elem.style[b.prop]==null)?b.elem[b.prop]:(c=a.css(b.elem,b.prop,''),!c||c==='auto'?0:c)},set:function(b){a.fx.step[b.prop]?a.fx.step[b.prop](b):b.elem.style&&(b.elem.style[a.cssProps[b.prop]]!=null||a.cssHooks[b.prop])?a.style(b.elem,b.prop,b.now+b.unit):b.elem[b.prop]=b.now}}},g.propHooks.scrollTop=g.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},a.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},a.fx=g.prototype.init,a.fx.step={};var u,U,aR=/^(?:toggle|show|hide)$/,V=new RegExp('^(?:([+-])=|)('+A+')([a-z%]*)$','i'),aT=/queueHooks$/,B=[bm],x={'*':[function(g,i){var d=this.createTween(g,i),h=d.cur(),b=V.exec(i),e=b&&b[3]||(a.cssNumber[g]?'':'px'),c=(a.cssNumber[g]||e!=='px'&&+h)&&V.exec(a.css(d.elem,g)),f=1,j=20;if(c&&c[3]!==e){e=e||c[3],b=b||[],c=+h||1;do f=f||'.5',c/=f,a.style(d.elem,g,c+e);while(f!==(f=d.cur()/h)&&f!==1&&--j)}return b&&(c=d.start=+c||+h||0,d.unit=e,d.end=b[1]?c+(b[1]+1)*b[2]:+b[2]),d}]};a.Animation=a.extend(aU,{tweener:function(b,e){a.isFunction(b)?(e=b,b=['*']):b=b.split(' ');var c,d=0,f=b.length;for(;d1)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})}}),a.extend({attr:function(b,c,f){var d,e,g=b.nodeType;if(!b||g===3||g===8||g===2)return;if(typeof b.getAttribute===s)return a.prop(b,c,f);if((g!==1||!a.isXMLDoc(b))&&(c=c.toLowerCase(),d=a.attrHooks[c]||(a.expr.match.bool.test(c)?aX:bj)),!(f!==undefined))return d&&'get'in d&&(e=d.get(b,c))!==null?e:(e=a.find.attr(b,c),e==null?undefined:e);if(!(f===null))return d&&'set'in d&&(e=d.set(b,f,c))!==undefined?e:(b.setAttribute(c,f+''),f);a.removeAttr(b,c)},removeAttr:function(c,e){var b,f,g=0,d=e&&e.match(j);if(d&&c.nodeType===1)while(b=d[g++])f=a.propFix[b]||b,a.expr.match.bool.test(b)&&(c[f]=!1),c.removeAttribute(b)},attrHooks:{type:{set:function(b,c){if(!e.radioValue&&c==='radio'&&a.nodeName(b,'input')){var d=b.value;return b.setAttribute('type',c),d&&(b.value=d),c}}}}}),aX={set:function(c,d,b){return d===!1?a.removeAttr(c,b):c.setAttribute(b,b),b}},a.each(a.expr.match.bool.source.match(/\w+/g),function(d,b){var c=v[b]||a.find.attr;v[b]=function(f,a,d){var b,e;return d||(e=v[a],v[a]=b,b=c(f,a,d)!=null?a.toLowerCase():null,v[a]=e),b}});var aZ=/^(?:input|select|textarea|button)$/i;a.fn.extend({prop:function(b,c){return l(this,a.prop,b,c,arguments.length>1)},removeProp:function(b){return this.each(function(){delete this[a.propFix[b]||b]})}}),a.extend({propFix:{'for':'htmlFor','class':'className'},prop:function(c,b,g){var f,d,h,e=c.nodeType;return!c||e===3||e===8||e===2?void 0:(h=e!==1||!a.isXMLDoc(c),h&&(b=a.propFix[b]||b,d=a.propHooks[b]),g!==undefined?d&&'set'in d&&(f=d.set(c,g,b))!==undefined?f:c[b]=g:d&&'get'in d&&(f=d.get(c,b))!==null?f:c[b])},propHooks:{tabIndex:{get:function(a){return a.hasAttribute('tabindex')||aZ.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),e.optSelected||(a.propHooks.selected={get:function(b){var a=b.parentNode;return a&&a.parentNode&&a.parentNode.selectedIndex,null}}),a.each(['tabIndex','readOnly','maxLength','cellSpacing','cellPadding','rowSpan','colSpan','useMap','frameBorder','contentEditable'],function(){a.propFix[this.toLowerCase()]=this});var N=/[\t\r\n\f]/g;a.fn.extend({addClass:function(d){var i,b,c,f,h,g,k=typeof d==='string'&&d,e=0,l=this.length;if(a.isFunction(d))return this.each(function(b){a(this).addClass(d.call(this,b,this.className))});if(k)for(i=(d||'').match(j)||[];e=0)c=c.replace(' '+f+' ',' ');g=d?a.trim(c):'',b.className!==g&&(b.className=g)}return this},toggleClass:function(c,e){var d=typeof c;return typeof e==='boolean'&&d==='string'?e?this.addClass(c):this.removeClass(c):a.isFunction(c)?this.each(function(b){a(this).toggleClass(c.call(this,b,this.className,e),e)}):this.each(function(){if(d==='string'){var e,g=0,f=a(this),h=c.match(j)||[];while(e=h[g++])f.hasClass(e)?f.removeClass(e):f.addClass(e)}else(d===s||d==='boolean')&&(this.className&&b.set(this,'__className__',this.className),this.className=this.className||c===!1?'':b.get(this,'__className__')||'')})},hasClass:function(d){var b=' '+d+' ',a=0,c=this.length;for(;a=0)return!0;return!1}});var a$=/\r/g;a.fn.extend({val:function(e){var b,c,f,d=this[0];return arguments.length?(f=a.isFunction(e),this.each(function(d){var c;if(this.nodeType!==1)return;f?c=e.call(this,d,a(this).val()):c=e,c==null?c='':typeof c==='number'?c+='':a.isArray(c)&&(c=a.map(c,function(a){return a==null?'':a+''})),b=a.valHooks[this.type]||a.valHooks[this.nodeName.toLowerCase()],(!(b&&'set'in b)||b.set(this,c,'value')===undefined)&&(this.value=c)})):d?(b=a.valHooks[d.type]||a.valHooks[d.nodeName.toLowerCase()],b&&'get'in b&&(c=b.get(d,'value'))!==undefined?c:(c=d.value,typeof c==='string'?c.replace(a$,''):c==null?'':c)):void 0}}),a.extend({valHooks:{option:{get:function(c){var b=a.find.attr(c,'value');return b!=null?b:a.trim(a.text(c))}},select:{get:function(g){var h,b,i=g.options,c=g.selectedIndex,d=g.type==='select-one'||c<0,j=d?null:[],k=d?c+1:i.length,f=c<0?k:d?c:0;for(;f=0)&&(g=!0);return g||(f.selectedIndex=-1),d}}}}),a.each(['radio','checkbox'],function(){a.valHooks[this]={set:function(b,c){return a.isArray(c)?b.checked=a.inArray(a(b).val(),c)>=0:void 0}},e.checkOn||(a.valHooks[this].get=function(a){return a.getAttribute('value')===null?'on':a.value})}),a.each('blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu'.split(' '),function(c,b){a.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),a.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length===1?this.off(a,'**'):this.off(b,a||'**',c)}});var K=a.now(),H=/\?/;a.parseJSON=function(a){return JSON.parse(a+'')},a.parseXML=function(c){var b,d;if(!c||typeof c!=='string')return null;try{d=new DOMParser,b=d.parseFromString(c,'text/xml')}catch(a){b=undefined}return(!b||b.getElementsByTagName('parsererror').length)&&a.error('Invalid XML: '+c),b};var b2=/#.*$/,af=/([?&])_=[^&]*/,b4=/^(.*?):[ \t]*([^\r\n]*)$/gm,b5=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,b6=/^(?:GET|HEAD)$/,b7=/^\/\//,ag=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ah={},F={},aj='*/'.concat('*'),T=d.location.href,q=ag.exec(T.toLowerCase())||[];a.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:T,type:'GET',isLocal:b5.test(q[1]),global:!0,processData:!0,async:!0,contentType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:{'*':aj,text:'text/plain',html:'text/html',xml:'application/xml, text/xml',json:'application/json, text/javascript'},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{'* text':String,'text html':!0,'text json':a.parseJSON,'text xml':a.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(b,c){return c?ab(ab(b,a.ajaxSettings),c):ab(a.ajaxSettings,b)},ajaxPrefilter:b1(ah),ajaxTransport:b1(F),ajax:function(o,f){function n(i,v,q,w){var j,p,o,k,n,f=v;if(d===2)return;d=2,x&&clearTimeout(x),h=undefined,u=w||'',c.readyState=i>0?4:0,j=i>=200&&i<300||i===304,q&&(k=bk(b,c,q)),k=bn(b,k,c,j),j?(b.ifModified&&(n=c.getResponseHeader('Last-Modified'),n&&(a.lastModified[e]=n),n=c.getResponseHeader('etag'),n&&(a.etag[e]=n)),i===204||b.type==='HEAD'?f='nocontent':i===304?f='notmodified':(f=k.state,p=k.data,o=k.error,j=!o)):(o=f,(i||!f)&&(f='error',i<0&&(i=0))),c.status=i,c.statusText=(v||f)+'',j?s.resolveWith(g,[p,f,c]):s.rejectWith(g,[c,f,o]),c.statusCode(m),m=undefined,l&&r.trigger(j?'ajaxSuccess':'ajaxError',[c,b,j?p:o]),t.fireWith(g,[c,f]),l&&(r.trigger('ajaxComplete',[c,b]),--a.active||a.event.trigger('ajaxStop'))}typeof o==='object'&&(f=o,o=undefined),f=f||{};var h,e,u,p,x,k,l,i,b=a.ajaxSetup({},f),g=b.context||b,r=b.context&&(g.nodeType||g.jquery)?a(g):a.event,s=a.Deferred(),t=a.Callbacks('once memory'),m=b.statusCode||{},v={},w={},d=0,y='canceled',c={readyState:0,getResponseHeader:function(b){var a;if(d===2){if(!p){p={};while(a=b4.exec(u))p[a[1].toLowerCase()]=a[2]}a=p[b.toLowerCase()]}return a==null?null:a},getAllResponseHeaders:function(){return d===2?u:null},setRequestHeader:function(a,c){var b=a.toLowerCase();return d||(a=w[b]=w[b]||a,v[a]=c),this},overrideMimeType:function(a){return d||(b.mimeType=a),this},statusCode:function(a){var b;if(a)if(d<2)for(b in a)m[b]=[m[b],a[b]];else c.always(a[c.status]);return this},abort:function(b){var a=b||y;return h&&h.abort(a),n(0,a),this}};if(s.promise(c).complete=t.add,c.success=c.done,c.error=c.fail,b.url=((o||b.url||T)+'').replace(b2,'').replace(b7,q[1]+'//'),b.type=f.method||f.type||b.method||b.type,b.dataTypes=a.trim(b.dataType||'*').toLowerCase().match(j)||[''],b.crossDomain==null&&(k=ag.exec(b.url.toLowerCase()),b.crossDomain=!!(k&&(k[1]!==q[1]||k[2]!==q[2]||(k[3]||(k[1]==='http:'?'80':'443'))!==(q[3]||(q[1]==='http:'?'80':'443'))))),b.data&&b.processData&&typeof b.data!=='string'&&(b.data=a.param(b.data,b.traditional)),b3(ah,b,f,c),d===2)return c;l=a.event&&b.global,l&&a.active++===0&&a.event.trigger('ajaxStart'),b.type=b.type.toUpperCase(),b.hasContent=!b6.test(b.type),e=b.url,b.hasContent||(b.data&&(e=b.url+=(H.test(e)?'&':'?')+b.data,delete b.data),b.cache===!1&&(b.url=af.test(e)?e.replace(af,'$1_='+K++):e+(H.test(e)?'&':'?')+'_='+K++)),b.ifModified&&(a.lastModified[e]&&c.setRequestHeader('If-Modified-Since',a.lastModified[e]),a.etag[e]&&c.setRequestHeader('If-None-Match',a.etag[e])),(b.data&&b.hasContent&&b.contentType!==!1||f.contentType)&&c.setRequestHeader('Content-Type',b.contentType),c.setRequestHeader('Accept',b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+(b.dataTypes[0]!=='*'?', '+aj+'; q=0.01':''):b.accepts['*']);for(i in b.headers)c.setRequestHeader(i,b.headers[i]);if(b.beforeSend&&(b.beforeSend.call(g,c,b)===!1||d===2))return c.abort();y='abort';for(i in{success:1,error:1,complete:1})c[i](b[i]);if(h=b3(F,b,f,c),!h)n(-1,'No Transport');else{c.readyState=1,l&&r.trigger('ajaxSend',[c,b]),b.async&&b.timeout>0&&(x=setTimeout(function(){c.abort('timeout')},b.timeout));try{d=1,h.send(v,n)}catch(a){if(!(d<2))throw a;n(-1,a)}}return c},getJSON:function(b,c,d){return a.get(b,c,d,'json')},getScript:function(b,c){return a.get(b,undefined,c,'script')}}),a.each(['get','post'],function(c,b){a[b]=function(f,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=undefined),a.ajax({url:f,type:b,dataType:e,data:c,success:d})}}),a._evalUrl=function(b){return a.ajax({url:b,type:'GET',dataType:'script',async:!1,global:!1,throws:!0})},a.fn.extend({wrapAll:function(b){var c;return a.isFunction(b)?this.each(function(c){a(this).wrapAll(b.call(this,c))}):(this[0]&&(c=a(b,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){var c=a.isFunction(b);return this.each(function(d){a(this).wrapAll(c?b.call(this,d):b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,'body')||a(this).replaceWith(this.childNodes)}).end()}}),a.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)};var be=/%20/g,bf=/\[\]$/,am=/\r?\n/g,bh=/^(?:submit|button|image|reset|file)$/i,aW=/^(?:input|select|textarea|keygen)/i;a.param=function(b,d){var e,c=[],f=function(d,b){b=a.isFunction(b)?b():b==null?'':b,c[c.length]=encodeURIComponent(d)+'='+encodeURIComponent(b)};if(d===undefined&&(d=a.ajaxSettings&&a.ajaxSettings.traditional),a.isArray(b)||b.jquery&&!a.isPlainObject(b))a.each(b,function(){f(this.name,this.value)});else for(e in b)aa(e,b[e],d,f);return c.join('&').replace(be,'+')},a.fn.extend({serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var b=a.prop(this,'elements');return b?a.makeArray(b):this}).filter(function(){var b=this.type;return this.name&&!a(this).is(':disabled')&&aW.test(this.nodeName)&&!bh.test(b)&&(this.checked||!_.test(b))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a.replace(am,'\r\n')}}):{name:c.name,value:b.replace(am,'\r\n')}}).get()}}),a.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var ba=0,C={},aQ={0:200,1223:204},t=a.ajaxSettings.xhr();d.attachEvent&&d.attachEvent('onunload',function(){for(var a in C)C[a]()}),e.cors=!!t&&'withCredentials'in t,e.ajax=t=!!t,a.ajaxTransport(function(a){var b;return e.cors||t&&!a.crossDomain?{send:function(e,g){var d,c=a.xhr(),f=++ba;if(c.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(d in a.xhrFields)c[d]=a.xhrFields[d];a.mimeType&&c.overrideMimeType&&c.overrideMimeType(a.mimeType),a.crossDomain||e['X-Requested-With']||(e['X-Requested-With']='XMLHttpRequest');for(d in e)c.setRequestHeader(d,e[d]);b=function(a){return function(){b&&(delete C[f],b=c.onload=c.onerror=null,a==='abort'?c.abort():a==='error'?g(c.status,c.statusText):g(aQ[c.status]||c.status,c.statusText,typeof c.responseText==='string'?{text:c.responseText}:undefined,c.getAllResponseHeaders()))}},c.onload=b(),c.onerror=b('error'),b=C[f]=b('abort');try{c.send(a.hasContent&&a.data||null)}catch(a){if(b)throw a}},abort:function(){b&&b()}}:void 0}),a.ajaxSetup({accepts:{script:'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'},contents:{script:/(?:java|ecma)script/},converters:{'text script':function(b){return a.globalEval(b),b}}}),a.ajaxPrefilter('script',function(a){a.cache===undefined&&(a.cache=!1),a.crossDomain&&(a.type='GET')}),a.ajaxTransport('script',function(d){if(d.crossDomain){var e,b;return{send:function(g,f){e=a('