UNPKG

jqwidgets-scripts

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

22 lines (12 loc) 275 kB
/* Release Date: Jan-02-2026 Copyright (c) 2011-2026 jQWidgets. License: https://jqwidgets.com/license/ */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 7257: /***/ (() => { (function(){if(typeof document==="undefined"){return}(function(a){a.jqx.jqxWidget("jqxBulletChart","",{});a.extend(a.jqx._jqxBulletChart.prototype,{defineInstance:function(){var b={width:500,height:100,barSize:"50%",ranges:[{startValue:0,endValue:50,color:"#000000",opacity:0.7},{startValue:50,endValue:80,color:"#000000",opacity:0.5},{startValue:80,endValue:100,color:"#000000",opacity:0.3}],pointer:{value:65,label:"Value",size:"25%",color:""},target:{value:85,label:"Target",size:4,color:""},ticks:{position:"far",interval:20,size:10},title:"Title",description:"Description",orientation:"horizontal",labelsFormat:null,labelsFormatFunction:null,animationDuration:400,showTooltip:true,tooltipFormatFunction:null,disabled:false,rtl:false,events:["change"]};if(this===a.jqx._jqxBulletChart.prototype){return b}a.extend(true,this,b);return b},createInstance:function(b){if(!a.jqx.dataAdapter){throw new Error("jqxBulletChart: Missing reference to the following module: 'jqxdata.js'.")}this._setDefaultValues();this.render();var c=this;a.jqx.utilities.resize(this.host,function(){if(c._timer){clearTimeout(c._timer)}c._timer=setTimeout(function(){var d=c.animationDuration;c.animationDuration=0;c.render();setTimeout(function(){c.animationDuration=d},0)},10)},false,true)},render:function(){if(this.host.children().length>0){this._removeHandlers();if(this.showTooltip==true){this.host.jqxTooltip("destroy")}this.host.empty()}this.host.addClass(this.toThemeProperty("jqx-widget"));this.host.addClass(this.toThemeProperty("jqx-bulletchart"));this.host.width(this.width);this.host.height(this.height);var k=this.host.width();var h=this.host.height();var n;var d=this.rtl?"rtl":"ltr";var n=document.createElement("div");n.style.position="absolute";n.style.visibility="hidden";if(this.orientation==="horizontal"){n.style.padding="5px"}else{if(this.orientation==="vertical"){n.style.paddingBottom="15px"}}var q=document.createElement("div");q.className=this.toThemeProperty("jqx-bulletchart-title");q.textContent=this.title;q.style.direction=d;if(this.orientation==="vertical"){q.style.width=k+"px"}var r=document.createElement("div");r.className=this.toThemeProperty("jqx-bulletchart-description");r.textContent=this.description;r.style.direction=d;n.appendChild(q);n.appendChild(r);n=a(n);this.host.append(n);var j=n.outerWidth();var g=n.outerHeight();n.remove();var c,m,i,e,s,b,o,f;if(this.orientation=="horizontal"){c="jqx-bulletchart-title-container-horizontal";m="jqx-bulletchart-chart-container-horizontal";i=this._checkPercentage(this.barSize,this.host);e=j;s=this.barSize;b=0;o=k-e;f=s;if(this.width&&this.width.toString().indexOf("%")>=0){var o=parseFloat(parseFloat(o*100)/k).toString()+"%";var e=parseFloat(parseFloat(e*100)/k).toString()+"%";this._percentageWidth=true}}else{if(this.orientation=="vertical"){c="jqx-bulletchart-title-container-vertical";m="jqx-bulletchart-chart-container-vertical";i=0;e="100%";s=g;b=this._checkPercentage(this.barSize,this.host);o=this.barSize;f=h-s}}var p,l;if(this.rtl===false||(this.rtl===true&&this.orientation==="vertical")){p=a("<div></div>").attr("id",this.element.id+"titleContainer").addClass(c).css({top:i});this.host.append(p)}l=a("<div></div>").attr("id",this.element.id+"ChartContainer").addClass(m).css({top:i,left:b});this.host.append(l);if(this.rtl===true&&this.orientation==="horizontal"){p=a("<div></div>").attr("id",this.element.id+"titleContainer").addClass(c).css({top:i});this.host.append(p)}this._titleContainer=a("#"+this.element.id+"titleContainer");this._chartContainer=a("#"+this.element.id+"ChartContainer");this._titleContainer.css({width:e,height:s});this._chartContainer.css({width:o,height:f});this._min=this.ranges[0].startValue;this._max=this.ranges[this.ranges.length-1].endValue;this._interval=this._max-this._min;this._valueToPixelsHorizontal=this._chartContainer.width()/this._interval;this._valueToPixelsVertical=this._chartContainer.height()/this._interval;this._checkValues();this._appendRanges();this._appendPointerAndTarget();this._appendTitleAndDescription();this.applyDataStyles(this.element);if(this.ticks.position!="none"){this._appendTicksAndLabels()}if(this.disabled==true){this.host.addClass(this.toThemeProperty("jqx-fill-state-disabled"))}if(this.showTooltip==true){if(this.host.jqxTooltip!=undefined){this._initializeTooltip();this.host.data().jqxWidget=this}else{throw new Error("jqxBulletChart: Missing reference to the following module: 'jqxtooltip.js'.")}}this._updateValue(this.pointer.value,0,true);this.applyDataStyles(this.element)},applyDataStyles:function(o,p){o=o||document;p=p||"[data-style]";var n;try{if(o.jquery&&o.length){o=o[0]}n=o.querySelectorAll(p)}catch(r){return}for(var q=0;q<n.length;q++){var b=n[q];var j=b.getAttribute("data-style");if(!j){continue}var m=j.split(";");for(var s=0;s<m.length;s++){var f=m[s];if(!f){continue}var k=f.indexOf(":");if(k===-1){continue}var c=f.slice(0,k).trim();var v=f.slice(k+1).trim();if(!c||!v){continue}var t="";var h=v.match(/\s*!important\s*$/i);if(h){t="important";v=v.replace(/\s*!important\s*$/i,"").trim()}try{b.style.setProperty(c,v,t)}catch(g){try{var u=c.replace(/-([a-z])/g,function(d,e){return e.toUpperCase()});b.style[u]=v}catch(l){}}}b.removeAttribute("data-style")}},refresh:function(b){if(!b){this.render()}},val:function(b){if(arguments.length==0||(b!=null&&typeof(b)=="object")){return this.pointer.value}else{if(b>this._max){b=this._max}else{if(b<this._min){b=this._min}}if(b!=this.pointer.value){this._updateValue(b,this.pointer.value);this.pointer.value=b;if(this.showTooltip==true){this._updateTooltip()}}}},destroy:function(){a.jqx.utilities.resize(this.host,null,true);this._removeHandlers();if(this.showTooltip==true){this.host.jqxTooltip("destroy")}this.host.remove()},propertyChangedHandler:function(c,d,g,e){if(g!=e||e instanceof Object){var b=true;var f=function(){a.each(g,function(i,h){if(e[i]==undefined){c[d][i]=h}})};switch(d){case"barSize":break;case"ranges":a.each(g,function(i,h){a.each(h,function(k,j){if(e[i]===undefined){return}if(e[i][k]==undefined){c[d][i][k]=j}})});this._setDefaultValues();break;case"pointer":f();this._updatePointer(e,g);return;case"target":f();this._updateTarget(e,g);return;case"ticks":b=false;f();a.each(g,function(i,h){if(g[i]!=c[d][i]){b=!(b&&false)}});break;case"showTooltip":if(e==true){if(this.host.jqxTooltip!=undefined){this._initializeTooltip()}else{throw new Error("jqxBulletChart: Missing reference to the following module: 'jqxtooltip.js'.")}}else{this._removeHandlers();this.host.jqxTooltip("destroy")}break;case"animationDuration":return;case"tooltipFormatFunction":this._updateTooltip();return;case"disabled":if(e==true){this.host.addClass(this.toThemeProperty("jqx-fill-state-disabled"))}else{this.host.removeClass(this.toThemeProperty("jqx-fill-state-disabled"))}return}if(b==true){this.render()}}},_raiseEvent:function(g,e){var c=this.events[g];var f=new a.Event(c);f.owner=this;f.args=e;try{var b=this.host.trigger(f)}catch(d){}return b},_removeHandlers:function(){var b=a("#"+this.element.id+"Pointer, #"+this.element.id+"Target");this.removeHandler(b,"mouseenter.bulletchart"+this.element.id);this.removeHandler(b,"mouseleave.bulletchart"+this.element.id)},_setDefaultValues:function(){var b=this.ranges;var c=this.ranges.length;for(var d=0;d<c;d++){if(b[d].startValue==undefined||b[d].endValue==undefined){throw new Error("jqxBulletChart: Each range must have its startValue and endValue set.")}if(b[d].color==undefined){this.ranges[d].color="#000000"}if(b[d].opacity==undefined){this.ranges[d].opacity=1-(1/c)*d}}var g=this.pointer;if(g.value==undefined){this.pointer.value=65}if(g.label==undefined){this.pointer.label="Value"}if(g.size==undefined){this.pointer.size="25%"}if(g.color==undefined){this.pointer.color=""}var f=this.target;if(f.value==undefined){this.target.value=85}if(f.label==undefined){this.target.label="Target"}if(f.size==undefined){this.target.size=5}if(f.color==undefined){this.target.color=""}var e=this.ticks;if(e.position==undefined){this.ticks.position="near"}if(e.interval==undefined){this.ticks.interval=20}if(e.size==undefined){this.ticks.size=10}},_checkValues:function(){if(this.pointer.value>this._max){this.pointer.value=this._max}else{if(this.pointer.value<this._min){this.pointer.value=this._min}}if(this.target.value>this._max){this.target.value=this._max}else{if(this.target.value<this._min){this.target.value=this._min}}},_appendRanges:function(){var e="";var g=this.ranges.length;for(var d=0;d<g;d++){var f=this.ranges[d];var l;if(this.orientation=="horizontal"){var h=this.rtl?"right":"left";var c=(f.startValue-this._min)*this._valueToPixelsHorizontal;var j=(f.endValue-f.startValue)*this._valueToPixelsHorizontal;l="<div class='"+this.toThemeProperty("jqx-bulletchart-range")+" "+this.toThemeProperty("jqx-bulletchart-range-horizontal")+"' data-style='"+h+": "+c+"px; width: "+j+"px; background-color: "+f.color+"; opacity: "+f.opacity+"'></div>"}else{if(this.orientation=="vertical"){var b=(f.startValue-this._min)*this._valueToPixelsVertical;var k=(f.endValue-f.startValue)*this._valueToPixelsVertical;l="<div class='"+this.toThemeProperty("jqx-bulletchart-range")+" "+this.toThemeProperty("jqx-bulletchart-range-vertical")+"' data-style='bottom: "+b+"px; height: "+k+"px; background-color: "+f.color+"; opacity: "+f.opacity+"'></div>"}}e+=l}this._chartContainer.append(e)},_appendPointerAndTarget:function(){var o="";var m=this.element.id+"Pointer";var f=this.element.id+"Target";var l=this.pointer.size;var k=this.target.value;var e=this.target.size;var j=k>0?0:parseInt(e);var p=this.pointer.color.length>0?"":this.toThemeProperty("jqx-fill-state-pressed");var g=this.target.color.length>0?"":this.toThemeProperty("jqx-fill-state-pressed");if(this.orientation=="horizontal"){var c=this._normaliseValue(l);var n=this._checkPercentage(l,this._chartContainer);var d=this.rtl?"right":"left";var t=(k-this._min)*this._valueToPixelsHorizontal-j;var u=t+parseInt(e)-this._chartContainer.width();if(t<0){t=0}else{if(u>0){t-=u}}var i=this._normaliseValue(e);o+="<div class='"+g+" "+this.toThemeProperty("jqx-bulletchart-target")+" "+this.toThemeProperty("jqx-bulletchart-target-horizontal")+"' id='"+f+"' data-style='"+d+": "+t+"px; width: "+i+"; background-color: "+this.target.color+"'></div>";o+="<div class='"+p+" "+this.toThemeProperty("jqx-bulletchart-pointer")+"' id='"+m+"' data-style='top: "+n+"; height: "+c+"; background-color: "+this.pointer.color+"'></div>"}else{if(this.orientation=="vertical"){var r=this._chartContainer.width();var q=this._normaliseValue(l);var s=this._checkPercentage(l,this._chartContainer);var b=(k-this._min)*this._valueToPixelsVertical-j;var u=b+parseInt(e)-this._chartContainer.height();if(b<0){b=0}else{if(u>0){b-=u}}var h=this._normaliseValue(e);o+="<div class='"+g+" "+this.toThemeProperty("jqx-bulletchart-target")+" "+this.toThemeProperty("jqx-bulletchart-target-vertical")+"' id='"+f+"' data-style='bottom: "+b+"px; height: "+h+"; background-color: "+this.target.color+"'></div>";o+="<div class='"+p+" "+this.toThemeProperty("jqx-bulletchart-pointer")+"' id='"+m+"' data-style='left: "+s+"; width: "+q+"; background-color: "+this.pointer.color+"'></div>"}}this._chartContainer.append(o)},_updatePointer:function(c,i){var h=a("#"+this.element.id+"Pointer");if(c.value>this._max){this.pointer.value=this._max}else{if(c.value<this._min){this.pointer.value=this._min}}if(c.value!=i.value){this._updateValue(c.value,i.value);if(this.showTooltip==true){this._updateTooltip()}}if(c.label!=i.label){if(this.showTooltip==true){this._updateTooltip()}}if(c.size!=i.size){var d=c.size;if(this.orientation=="horizontal"){var g=this._checkPercentage(d,this._chartContainer);var b=this._normaliseValue(d);h.css({top:g,height:b})}else{if(this.orientation=="vertical"){var f=this._checkPercentage(d,this._chartContainer);var e=this._normaliseValue(d);h.css({left:f,width:e})}}}if(c.color!=i.color){if(c.color==""){h.css("background-color","");h.addClass(this.toThemeProperty("jqx-fill-state-pressed"))}else{h.removeClass(this.toThemeProperty("jqx-fill-state-pressed"));h.css("background-color",c.color)}}},_updateTarget:function(b,d){var e=a("#"+this.element.id+"Target");if(b.value>this._max){this.target.value=this._max}else{if(b.value<this._min){this.target.value=this._min}}if(b.value!=d.value||b.size!=d.size){var h=b.value;var k=parseInt(b.size);var c=h>0?0:k;if(this.orientation=="horizontal"){var i=this.rtl?"right":"left";var j=(h-this._min)*this._valueToPixelsHorizontal-c;var g=j+k-this._chartContainer.width();if(j<0){j=0}else{if(g>0){j-=g}}if(this.rtl==false){e.css("left",j)}else{e.css("right",j)}e.width(k)}else{if(this.orientation=="vertical"){var f=(h-this._min)*this._valueToPixelsVertical-c;var g=f+k-this._chartContainer.height();if(f<0){f=0}else{if(g>0){f-=g}}e.css({bottom:f,height:k})}}if(this.showTooltip==true){this._updateTooltip()}}if(b.label!=d.label){if(this.showTooltip==true){this._updateTooltip()}}if(b.color!=d.color){if(b.color==""){e.css("background-color","");e.addClass(this.toThemeProperty("jqx-fill-state-pressed"))}else{e.removeClass(this.toThemeProperty("jqx-fill-state-pressed"));e.css("background-color",b.color)}}},_appendTitleAndDescription:function(){var d;if(this.orientation=="horizontal"){if(this.rtl==true){d=this.toThemeProperty("jqx-bulletchart-title-description-rtl")}else{d=this.toThemeProperty("jqx-bulletchart-title-description-ltr")}}else{d=this.toThemeProperty("jqx-bulletchart-title-description-vertical")}var g=this.rtl?"rtl":"ltr";var b="<div id='"+this.element.id+"Title' class='"+this.toThemeProperty("jqx-bulletchart-title")+" "+d+"' data-style='direction: "+g+";'>"+this.title+"</div><div id='"+this.element.id+"Description' class='"+this.toThemeProperty("jqx-bulletchart-description")+" "+d+"' data-style='direction: "+g+";'>"+this.description+"</div>";var e=a("<div data-style='position: absolute; visibility: hidden;'>"+b+"</div>");this._titleContainer.append(e);var h=e.children();var c=a(h[0]).height()+a(h[1]).height();e.remove();var f;if(this.orientation=="horizontal"){if(this.rtl==false){f=this.toThemeProperty("jqx-bulletchart-title-inner-container")+" "+this.toThemeProperty("jqx-bulletchart-title-inner-container-ltr")}else{f=this.toThemeProperty("jqx-bulletchart-title-inner-container")+" "+this.toThemeProperty("jqx-bulletchart-title-inner-container-rtl")}}else{f=""}this._titleContainer.append("<div class='"+f+"' data-style='height: "+c+"px;'>"+b+"</div>")},_appendTicksAndLabels:function(){var o=a("<div></div>").css({position:"absolute",visibility:"hidden"});this._chartContainer.append(o);var j="";var e=this._min<0?true:false;var b=this.ticks.size;if(this.orientation=="horizontal"){var k=this._titleContainer.width();var r=this._chartContainer.offset().top-this.host.offset().top;if(this.ticks.position=="both"||this.ticks.position=="far"){var l=this._chartContainer.height()+r}for(var h=0;h<=this._interval;h+=this.ticks.interval){var c=h*this._valueToPixelsHorizontal+k;if(h+this.ticks.interval>this._interval){c-=1}if(e){var d=(h+this._min)==0?true:false;if(d){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-horizontal")+" "+this.toThemeProperty("jqx-bulletchart-zero-tick")+"' data-style='top: "+r+"px; "+m+": "+c+"px; height: "+this._chartContainer.height()+"px;'></div>";e=false}}var n=this._labelValue(h);o.html(n);var p=c-o.width()/2;var m=this.rtl?"right":"left";if(this.ticks.position=="both"||this.ticks.position=="far"){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-horizontal")+"' data-style='top: "+l+"px; "+m+": "+c+"px; height: "+b+"px;'></div>";j+="<div class='"+this.toThemeProperty("jqx-bulletchart-labels")+"' data-style='top: "+(l+b+2)+"px; "+m+": "+p+"px;'>"+n+"</div>"}if(this.ticks.position=="both"||this.ticks.position=="near"){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-horizontal")+"' data-style='top: "+(r-b)+"px; "+m+": "+c+"px; height: "+b+"px;'></div>";j+="<div class='"+this.toThemeProperty("jqx-bulletchart-labels")+"' data-style='top: "+(r-(b+o.height()+2))+"px; "+m+": "+p+"px;'>"+n+"</div>"}}}else{if(this.orientation=="vertical"){var g=this._chartContainer.offset().left-this.host.offset().left;if(this.ticks.position=="both"||this.ticks.position=="far"){var q=this._chartContainer.width()}for(var h=0;h<=this._interval;h+=this.ticks.interval){var f=h*this._valueToPixelsVertical;if(h+this.ticks.interval>this._interval){f-=1}if(e){var d=(h+this._min)==0?true:false;if(d){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-vertical")+" "+this.toThemeProperty("jqx-bulletchart-zero-tick")+"' data-style='left: "+g+"px; bottom: "+f+"px; width: "+q+"px;'></div>";e=false}}if(this.ticks.position=="both"||this.ticks.position=="near"){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-vertical")+"' data-style='left: "+(g-b)+"px; bottom: "+f+"px; width: "+b+"px;'></div>";var n=this._labelValue(h,"near");o.html(n);var p=o.height()/2-1;j+="<div class='"+this.toThemeProperty("jqx-bulletchart-labels")+"' data-style='left: "+(g-(b+o.width()+2))+"px; bottom: "+(f-p)+"px;'>"+n+"</div>"}if(this.ticks.position=="both"||this.ticks.position=="far"){j+="<div class='"+this.toThemeProperty("jqx-bulletchart-ticks")+" "+this.toThemeProperty("jqx-bulletchart-ticks-vertical")+"' data-style='left: "+(q+g)+"px; bottom: "+f+"px; width: "+b+"px;'></div>";var n=this._labelValue(h,"far");o.html(n);var p=o.height()/2-1;j+="<div class='"+this.toThemeProperty("jqx-bulletchart-labels")+"' data-style='left: "+(q+g+b+2)+"px; bottom: "+(f-p)+"px;'>"+n+"</div>"}}}}this.host.append(j);o.remove()},_labelValue:function(d,b){var e=d+this._min;var c;if(this.labelsFormatFunction){c=this.labelsFormatFunction(e,b)}else{c=a.jqx.dataFormat.formatnumber(e,this.labelsFormat)}return c},_initializeTooltip:function(){var c=this;var d=this._tooltipContent();this.host.jqxTooltip({theme:this.theme,position:"mouse",content:d,trigger:"none",autoHide:false,rtl:this.rtl});this.host.jqxTooltip("getInstance").val=a.proxy(this.val,this);var b=a("#"+this.element.id+"Pointer, #"+this.element.id+"Target");this.addHandler(b,"mouseenter.bulletchart"+this.element.id,function(e){if(c.disabled==false){c.host.jqxTooltip("open",e.pageX,e.pageY);if(e.target.id==c.element.id+"Pointer"&&c.pointer.color==""||e.target.id==c.element.id+"Target"&&c.target.color==""){a(e.target).removeClass(c.toThemeProperty("jqx-fill-state-pressed"));a(e.target).addClass(c.toThemeProperty("jqx-fill-state-hover"))}}});this.addHandler(b,"mouseleave.bulletchart"+this.element.id,function(e){if(c.disabled==false){c.host.jqxTooltip("close");if(e.target.id==c.element.id+"Pointer"&&c.pointer.color==""||e.target.id==c.element.id+"Target"&&c.target.color==""){a(e.target).removeClass(c.toThemeProperty("jqx-fill-state-hover"));a(e.target).addClass(c.toThemeProperty("jqx-fill-state-pressed"))}}})},_updateTooltip:function(){this.host.jqxTooltip({content:this._tooltipContent()})},_tooltipContent:function(){var c;if(this.tooltipFormatFunction){c=this.tooltipFormatFunction(this.pointer.value,this.target.value)}else{var b=a.jqx.dataFormat.formatnumber(this.pointer.value,this.labelsFormat);var d=a.jqx.dataFormat.formatnumber(this.target.value,this.labelsFormat);c="<div>"+this.pointer.label+": "+b+"</div><div>"+this.target.label+": "+d+"</div>"}return c},_updateValue:function(m,d,k){var j=this;var c=a("#"+this.element.id+"Pointer");var g,h,l,n;var f=function(p,r,q){if(j._min>=0){if(p=="vertical"){c.css("bottom",0)}else{if(j.rtl==true&&p=="horizontal"){c.css("right",0)}}g=(m-j._min)*r}else{if(m>=0){if(p=="horizontal"){if(j.rtl==true){h="right";l="left"}else{h="left"}}else{if(p=="vertical"){h="bottom";l="top"}}var o=-j._min*r}else{if(p=="horizontal"){if(j.rtl==true){h="left"}else{h="right";l="left"}}else{if(p=="vertical"){h="top"}}var o=q+j._min*r}c.css(h,o);if(l){c.css(l,"")}if(m*d<0){if(p=="horizontal"){c.width(0)}else{if(p=="vertical"){c.height(0)}}}g=Math.abs(m*r)}return g};var i=function(){if(!k){j._raiseEvent("0")}};if(this.orientation=="horizontal"){var e=f("horizontal",this._valueToPixelsHorizontal,this._chartContainer.width());setTimeout(function(){c.animate({width:e},j.animationDuration,i)},0)}else{if(this.orientation=="vertical"){var b=f("vertical",this._valueToPixelsVertical,this._chartContainer.height());setTimeout(function(){c.animate({height:b},j.animationDuration,i)},0)}}},_checkPercentage:function(f,d){var c=-1;if(f.indexOf){c=f.indexOf("%")}var g=function(h){if(!f.indexOf||f.indexOf("px")==-1){return h}else{return parseFloat(h.slice(0,f.indexOf("px")))}};var e=function(h){return parseFloat(h.slice(0,c))};if(c==-1){var b;if(this.orientation=="horizontal"){b=d.height()}else{if(this.orientation=="vertical"){b=d.width()}}return((b-g(f))/2)+"px"}else{return((100-e(f))/2)+"%"}},_normaliseValue:function(b){if(!b.indexOf||(b.indexOf("px")==-1&&b.indexOf("%")==-1)){return b+"px"}else{return b}}})})(jqxBaseFramework)})(); /***/ }), /***/ 7944: /***/ ((module, exports, __webpack_require__) => { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof document==="undefined"){return}var a=document.all&&!document.addEventListener;if(!a){(function(bf,I){var s,ap,am=bf.document,bq=bf.location,bv=bf.navigator,az=bf.JQXLite,Z=bf.$,aT=Array.prototype.push,aF=Array.prototype.slice,aC=Array.prototype.indexOf,A=Object.prototype.toString,d=Object.prototype.hasOwnProperty,ay=String.prototype.trim,E=function(bw,bx){return new E.fn.init(bw,bx,s)},aG=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,av=/\S/,ba=/\s+/,U=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,aH=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,g=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,l=/^[\],:{}\s]*$/,v=/(?:^|:|,)(?:\s*\[)+/g,a7=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,M=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,aw=/^-ms-/,aU=/-([\da-z])/gi,o=function(bw,bx){return(bx+"").toUpperCase()},a6=function(){if(am.addEventListener){am.removeEventListener("DOMContentLoaded",a6,false);E.ready()}else{if(am.readyState==="complete"){am.detachEvent("onreadystatechange",a6);E.ready()}}},a2={};E.fn=E.prototype={constructor:E,init:function(bw,bz,bA){var by,bB,bx,bC;if(!bw){return this}if(bw.nodeType){this.context=this[0]=bw;this.length=1;return this}if(typeof bw==="string"){if(bw.charAt(0)==="<"&&bw.charAt(bw.length-1)===">"&&bw.length>=3){by=[null,bw,null]}else{by=aH.exec(bw)}if(by&&(by[1]||!bz)){if(by[1]){bz=bz instanceof E?bz[0]:bz;bC=(bz&&bz.nodeType?bz.ownerDocument||bz:am);bw=E.parseHTML(by[1],bC,true);if(g.test(by[1])&&E.isPlainObject(bz)){this.attr.call(bw,bz,true)}return E.merge(this,bw)}else{bB=am.getElementById(by[2]);if(bB&&bB.parentNode){if(bB.id!==by[2]){return bA.find(bw)}this.length=1;this[0]=bB}this.context=am;this.selector=bw;return this}}else{if(!bz||bz.jqx){return(bz||bA).find(bw)}else{return this.constructor(bz).find(bw)}}}else{if(E.isFunction(bw)){return bA.ready(bw)}}if(bw.selector!==I){this.selector=bw.selector;this.context=bw.context}return E.makeArray(bw,this)},selector:"",jqx:"4.5.0",length:0,size:function(){return this.length},toArray:function(){return aF.call(this)},get:function(bw){return bw==null?this.toArray():(bw<0?this[this.length+bw]:this[bw])},pushStack:function(bx,bz,bw){var by=E.merge(this.constructor(),bx);by.prevObject=this;by.context=this.context;if(bz==="find"){by.selector=this.selector+(this.selector?" ":"")+bw}else{if(bz){by.selector=this.selector+"."+bz+"("+bw+")"}}return by},each:function(bx,bw){return E.each(this,bx,bw)},ready:function(bw){E.ready.promise().done(bw);return this},eq:function(bw){bw=+bw;return bw===-1?this.slice(bw):this.slice(bw,bw+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aF.apply(this,arguments),"slice",aF.call(arguments).join(","))},map:function(bw){return this.pushStack(E.map(this,function(by,bx){return bw.call(by,bx,by)}))},end:function(){return this.prevObject||this.constructor(null)},push:aT,sort:[].sort,splice:[].splice};E.fn.init.prototype=E.fn;E.extend=E.fn.extend=function(){var bF,by,bw,bx,bC,bD,bB=arguments[0]||{},bA=1,bz=arguments.length,bE=false;if(typeof bB==="boolean"){bE=bB;bB=arguments[1]||{};bA=2}if(typeof bB!=="object"&&!E.isFunction(bB)){bB={}}if(bz===bA){bB=this;--bA}for(;bA<bz;bA++){if((bF=arguments[bA])!=null){for(by in bF){bw=bB[by];bx=bF[by];if(bB===bx){continue}if(bE&&bx&&(E.isPlainObject(bx)||(bC=E.isArray(bx)))){if(bC){bC=false;bD=bw&&E.isArray(bw)?bw:[]}else{bD=bw&&E.isPlainObject(bw)?bw:{}}bB[by]=E.extend(bE,bD,bx)}else{if(bx!==I){bB[by]=bx}}}}}return bB};E.extend({noConflict:function(bw){if(bf.$===E){bf.$=Z}if(bw&&bf.JQXLite===E){bf.JQXLite=az}return E},isReady:false,readyWait:1,holdReady:function(bw){if(bw){E.readyWait++}else{E.ready(true)}},ready:function(bw){if(bw===true?--E.readyWait:E.isReady){return}if(!am.body){return setTimeout(E.ready,1)}E.isReady=true;if(bw!==true&&--E.readyWait>0){return}ap.resolveWith(am,[E]);if(E.fn.trigger){E(am).trigger("ready").off("ready")}},isFunction:function(bw){return E.type(bw)==="function"},isArray:Array.isArray||function(bw){return E.type(bw)==="array"},isWindow:function(bw){return bw!=null&&bw==bw.window},isNumeric:function(bw){return !isNaN(parseFloat(bw))&&isFinite(bw)},type:function(bw){return bw==null?String(bw):a2[A.call(bw)]||"object"},isPlainObject:function(by){if(!by||E.type(by)!=="object"||by.nodeType||E.isWindow(by)){return false}try{if(by.constructor&&!d.call(by,"constructor")&&!d.call(by.constructor.prototype,"isPrototypeOf")){return false}}catch(bx){return false}var bw;for(bw in by){}return bw===I||d.call(by,bw)},isEmptyObject:function(bx){var bw;for(bw in bx){return false}return true},error:function(bw){throw new Error(bw)},parseHTML:function(bz,by,bw){var bx;if(!bz||typeof bz!=="string"){return null}if(typeof by==="boolean"){bw=by;by=0}by=by||am;if((bx=g.exec(bz))){return[by.createElement(bx[1])]}bx=E.buildFragment([bz],by,bw?null:[]);return E.merge([],(bx.cacheable?E.clone(bx.fragment):bx.fragment).childNodes)},parseJSON:function(bw){if(!bw||typeof bw!=="string"){return null}bw=E.trim(bw);if(bf.JSON&&bf.JSON.parse){return bf.JSON.parse(bw)}if(l.test(bw.replace(a7,"@").replace(M,"]").replace(v,""))){return(new Function("return "+bw))()}E.error("Invalid JSON: "+bw)},parseXML:function(by){var bw,bx;if(!by||typeof by!=="string"){return null}try{if(bf.DOMParser){bx=new DOMParser();bw=bx.parseFromString(by,"text/xml")}else{bw=new ActiveXObject("Microsoft.XMLDOM");bw.async="false";bw.loadXML(by)}}catch(bz){bw=I}if(!bw||!bw.documentElement||bw.getElementsByTagName("parsererror").length){E.error("Invalid XML: "+by)}return bw},noop:function(){},globalEval:function(bw){if(bw&&av.test(bw)){(bf.execScript||function(bx){bf["eval"].call(bf,bx)})(bw)}},camelCase:function(bw){return bw.replace(aw,"ms-").replace(aU,o)},nodeName:function(bx,bw){return bx.nodeName&&bx.nodeName.toLowerCase()===bw.toLowerCase()},each:function(bB,bC,by){var bx,bz=0,bA=bB.length,bw=bA===I||E.isFunction(bB);if(by){if(bw){for(bx in bB){if(bC.apply(bB[bx],by)===false){break}}}else{for(;bz<bA;){if(bC.apply(bB[bz++],by)===false){break}}}}else{if(bw){for(bx in bB){if(bC.call(bB[bx],bx,bB[bx])===false){break}}}else{for(;bz<bA;){if(bC.call(bB[bz],bz,bB[bz++])===false){break}}}}return bB},trim:ay&&!ay.call("\uFEFF\xA0")?function(bw){return bw==null?"":ay.call(bw)}:function(bw){return bw==null?"":(bw+"").replace(U,"")},makeArray:function(bw,by){var bz,bx=by||[];if(bw!=null){bz=E.type(bw);if(bw.length==null||bz==="string"||bz==="function"||bz==="regexp"||E.isWindow(bw)){aT.call(bx,bw)}else{E.merge(bx,bw)}}return bx},inArray:function(bz,bx,by){var bw;if(bx){if(aC){return aC.call(bx,bz,by)}bw=bx.length;by=by?by<0?Math.max(0,bw+by):by:0;for(;by<bw;by++){if(by in bx&&bx[by]===bz){return by}}}return -1},merge:function(bA,by){var bw=by.length,bz=bA.length,bx=0;if(typeof bw==="number"){for(;bx<bw;bx++){bA[bz++]=by[bx]}}else{while(by[bx]!==I){bA[bz++]=by[bx++]}}bA.length=bz;return bA},grep:function(bx,bC,bw){var bB,by=[],bz=0,bA=bx.length;bw=!!bw;for(;bz<bA;bz++){bB=!!bC(bx[bz],bz);if(bw!==bB){by.push(bx[bz])}}return by},map:function(bw,bD,bE){var bB,bC,bA=[],by=0,bx=bw.length,bz=bw instanceof E||bx!==I&&typeof bx==="number"&&((bx>0&&bw[0]&&bw[bx-1])||bx===0||E.isArray(bw));if(bz){for(;by<bx;by++){bB=bD(bw[by],by,bE);if(bB!=null){bA[bA.length]=bB}}}else{for(bC in bw){bB=bD(bw[bC],bC,bE);if(bB!=null){bA[bA.length]=bB}}}return bA.concat.apply([],bA)},guid:1,proxy:function(bA,bz){var by,bw,bx;if(typeof bz==="string"){by=bA[bz];bz=bA;bA=by}if(!E.isFunction(bA)){return I}bw=aF.call(arguments,2);bx=function(){return bA.apply(bz,bw.concat(aF.call(arguments)))};bx.guid=bA.guid=bA.guid||E.guid++;return bx},access:function(bw,bC,bF,bD,bA,bG,bE){var by,bB=bF==null,bz=0,bx=bw.length;if(bF&&typeof bF==="object"){for(bz in bF){E.access(bw,bC,bz,bF[bz],1,bG,bD)}bA=1}else{if(bD!==I){by=bE===I&&E.isFunction(bD);if(bB){if(by){by=bC;bC=function(bI,bH,bJ){return by.call(E(bI),bJ)}}else{bC.call(bw,bD);bC=null}}if(bC){for(;bz<bx;bz++){bC(bw[bz],bF,by?bD.call(bw[bz],bz,bC(bw[bz],bF)):bD,bE)}}bA=1}}return bA?bw:bB?bC.call(bw):bx?bC(bw[0],bF):bG},now:function(){return(new Date()).getTime()}});E.ready.promise=function(bz){if(!ap){ap=E.Deferred();if(am.readyState==="complete"){setTimeout(E.ready,1)}else{if(am.addEventListener){am.addEventListener("DOMContentLoaded",a6,false);bf.addEventListener("load",E.ready,false)}else{am.attachEvent("onreadystatechange",a6);bf.attachEvent("onload",E.ready);var by=false;try{by=bf.frameElement==null&&am.documentElement}catch(bx){}if(by&&by.doScroll){(function bw(){if(!E.isReady){try{by.doScroll("left")}catch(bA){return setTimeout(bw,50)}E.ready()}})()}}}}return ap.promise(bz)};E.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bx,bw){a2["[object "+bw+"]"]=bw.toLowerCase()});s=E(am);var aZ={};function D(bx){var bw=aZ[bx]={};E.each(bx.split(ba),function(bz,by){bw[by]=true});return bw}E.Callbacks=function(bG){bG=typeof bG==="string"?(aZ[bG]||D(bG)):E.extend({},bG);var bz,bw,bA,by,bB,bC,bD=[],bE=!bG.once&&[],bx=function(bH){bz=bG.memory&&bH;bw=true;bC=by||0;by=0;bB=bD.length;bA=true;for(;bD&&bC<bB;bC++){if(bD[bC].apply(bH[0],bH[1])===false&&bG.stopOnFalse){bz=false;break}}bA=false;if(bD){if(bE){if(bE.length){bx(bE.shift())}}else{if(bz){bD=[]}else{bF.disable()}}}},bF={add:function(){if(bD){var bI=bD.length;(function bH(bJ){E.each(bJ,function(bL,bK){var bM=E.type(bK);if(bM==="function"){if(!bG.unique||!bF.has(bK)){bD.push(bK)}}else{if(bK&&bK.length&&bM!=="string"){bH(bK)}}})})(arguments);if(bA){bB=bD.length}else{if(bz){by=bI;bx(bz)}}}return this},remove:function(){if(bD){E.each(arguments,function(bJ,bH){var bI;while((bI=E.inArray(bH,bD,bI))>-1){bD.splice(bI,1);if(bA){if(bI<=bB){bB--}if(bI<=bC){bC--}}}})}return this},has:function(bH){return E.inArray(bH,bD)>-1},empty:function(){bD=[];return this},disable:function(){bD=bE=bz=I;return this},disabled:function(){return !bD},lock:function(){bE=I;if(!bz){bF.disable()}return this},locked:function(){return !bE},fireWith:function(bI,bH){bH=bH||[];bH=[bI,bH.slice?bH.slice():bH];if(bD&&(!bw||bE)){if(bA){bE.push(bH)}else{bx(bH)}}return this},fire:function(){bF.fireWith(this,arguments);return this},fired:function(){return !!bw}};return bF};E.extend({Deferred:function(by){var bx=[["resolve","done",E.Callbacks("once memory"),"resolved"],["reject","fail",E.Callbacks("once memory"),"rejected"],["notify","progress",E.Callbacks("memory")]],bz="pending",bA={state:function(){return bz},always:function(){bw.done(arguments).fail(arguments);return this},then:function(){var bB=arguments;return E.Deferred(function(bC){E.each(bx,function(bE,bD){var bG=bD[0],bF=bB[bE];bw[bD[1]](E.isFunction(bF)?function(){var bH=bF.apply(this,arguments);if(bH&&E.isFunction(bH.promise)){bH.promise().done(bC.resolve).fail(bC.reject).progress(bC.notify)}else{bC[bG+"With"](this===bw?bC:this,[bH])}}:bC[bG])});bB=null}).promise()},promise:function(bB){return bB!=null?E.extend(bB,bA):bA}},bw={};bA.pipe=bA.then;E.each(bx,function(bC,bB){var bE=bB[2],bD=bB[3];bA[bB[1]]=bE.add;if(bD){bE.add(function(){bz=bD},bx[bC^1][2].disable,bx[2][2].lock)}bw[bB[0]]=bE.fire;bw[bB[0]+"With"]=bE.fireWith});bA.promise(bw);if(by){by.call(bw,bw)}return bw},when:function(bA){var by=0,bC=aF.call(arguments),bw=bC.length,bx=bw!==1||(bA&&E.isFunction(bA.promise))?bw:0,bF=bx===1?bA:E.Deferred(),bz=function(bH,bI,bG){return function(bJ){bI[bH]=this;bG[bH]=arguments.length>1?aF.call(arguments):bJ;if(bG===bE){bF.notifyWith(bI,bG)}else{if(!(--bx)){bF.resolveWith(bI,bG)}}}},bE,bB,bD;if(bw>1){bE=new Array(bw);bB=new Array(bw);bD=new Array(bw);for(;by<bw;by++){if(bC[by]&&E.isFunction(bC[by].promise)){bC[by].promise().done(bz(by,bD,bC)).fail(bF.reject).progress(bz(by,bB,bE))}else{--bx}}}if(!bx){bF.resolveWith(bD,bC)}return bF.promise()}});E.support=(function(){var bI,bH,bF,bG,bz,bE,bD,bB,bA,by,bw,bx=am.createElement("div");bx.setAttribute("className","t");bx.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";bH=bx.getElementsByTagName("*");bF=bx.getElementsByTagName("a")[0];if(!bH||!bF||!bH.length){return{}}bG=am.createElement("select");bz=bG.appendChild(am.createElement("option"));bE=bx.getElementsByTagName("input")[0];bF.style.cssText="top:1px;float:left;opacity:.5";bI={leadingWhitespace:(bx.firstChild.nodeType===3),tbody:!bx.getElementsByTagName("tbody").length,htmlSerialize:!!bx.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.5/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bz.selected,getSetAttribute:bx.className!=="t",enctype:!!am.createElement("form").enctype,html5Clone:am.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:(am.compatMode==="CSS1Compat"),submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};bE.checked=true;bI.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bI.optDisabled=!bz.disabled;try{delete bx.test}catch(bC){bI.deleteExpando=false}if(!bx.addEventListener&&bx.attachEvent&&bx.fireEvent){bx.attachEvent("onclick",bw=function(){bI.noCloneEvent=false});bx.cloneNode(true).fireEvent("onclick");bx.detachEvent("onclick",bw)}bE=am.createElement("input");bE.value="t";bE.setAttribute("type","radio");bI.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bE.setAttribute("name","t");bx.appendChild(bE);bD=am.createDocumentFragment();bD.appendChild(bx.lastChild);bI.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bI.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bx);if(bx.attachEvent){for(bA in {submit:true,change:true,focusin:true}){bB="on"+bA;by=(bB in bx);if(!by){bx.setAttribute(bB,"return;");by=(typeof bx[bB]==="function")}bI[bA+"Bubbles"]=by}}E(function(){var bK,bO,bM,bN,bL="padding:0;margin:0;border:0;display:block;overflow:hidden;",bJ=am.getElementsByTagName("body")[0];if(!bJ){return}bK=am.createElement("div");bK.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";bJ.insertBefore(bK,bJ.firstChild);bO=am.createElement("div");bK.appendChild(bO);bO.innerHTML="<table><tr><td></td><td>t</td></tr></table>";bM=bO.getElementsByTagName("td");bM[0].style.cssText="padding:0;margin:0;border:0;display:none";by=(bM[0].offsetHeight===0);bM[0].style.display="";bM[1].style.display="none";bI.reliableHiddenOffsets=by&&(bM[0].offsetHeight===0);bO.innerHTML="";bO.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";bI.boxSizing=(bO.offsetWidth===4);bI.doesNotIncludeMarginInBodyOffset=(bJ.offsetTop!==1);if(bf.getComputedStyle){bI.pixelPosition=(bf.getComputedStyle(bO,null)||{}).top!=="1%";bI.boxSizingReliable=(bf.getComputedStyle(bO,null)||{width:"4px"}).width==="4px";bN=am.createElement("div");bN.style.cssText=bO.style.cssText=bL;bN.style.marginRight=bN.style.width="0";bO.style.width="1px";bO.appendChild(bN);bI.reliableMarginRight=!parseFloat((bf.getComputedStyle(bN,null)||{}).marginRight)}if(typeof bO.style.zoom!=="undefined"){bO.innerHTML="";bO.style.cssText=bL+"width:1px;padding:1px;display:inline;zoom:1";bI.inlineBlockNeedsLayout=(bO.offsetWidth===3);bO.style.display="block";bO.style.overflow="visible";bO.innerHTML="<div></div>";bO.firstChild.style.width="5px";bI.shrinkWrapBlocks=(bO.offsetWidth!==3);bK.style.zoom=1}bJ.removeChild(bK);bK=bO=bM=bN=null});bD.removeChild(bx);bH=bF=bG=bz=bE=bD=bx=null;return bI})();var aM=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,at=/([A-Z])/g;E.extend({cache:{},deletedIds:[],uuid:0,expando:"JQXLite"+(E.fn.jqx+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(bw){bw=bw.nodeType?E.cache[bw[E.expando]]:bw[E.expando];return !!bw&&!O(bw)},data:function(bz,bx,bB,bA){if(!E.acceptData(bz)){return}var bC,bE,bF=E.expando,bD=typeof bx==="string",bG=bz.nodeType,bw=bG?E.cache:bz,by=bG?bz[bF]:bz[bF]&&bF;if((!by||!bw[by]||(!bA&&!bw[by].data))&&bD&&bB===I){return}if(!by){if(bG){bz[bF]=by=E.deletedIds.pop()||E.guid++}else{by=bF}}if(!bw[by]){bw[by]={};if(!bG){bw[by].toJSON=E.noop}}if(typeof bx==="object"||typeof bx==="function"){if(bA){bw[by]=E.extend(bw[by],bx)}else{bw[by].data=E.extend(bw[by].data,bx)}}bC=bw[by];if(!bA){if(!bC.data){bC.data={}}bC=bC.data}if(bB!==I){bC[E.camelCase(bx)]=bB}if(bD){bE=bC[bx];if(bE==null){bE=bC[E.camelCase(bx)]}}else{bE=bC}return bE},removeData:function(bz,bx,bA){if(!E.acceptData(bz)){return}var bD,bC,bB,bE=bz.nodeType,bw=bE?E.cache:bz,by=bE?bz[E.expando]:E.expando;if(!bw[by]){return}if(bx){bD=bA?bw[by]:bw[by].data;if(bD){if(!E.isArray(bx)){if(bx in bD){bx=[bx]}else{bx=E.camelCase(bx);if(bx in bD){bx=[bx]}else{bx=bx.split(" ")}}}for(bC=0,bB=bx.length;bC<bB;bC++){delete bD[bx[bC]]}if(!(bA?O:E.isEmptyObject)(bD)){return}}}if(!bA){delete bw[by].data;if(!O(bw[by])){return}}if(bE){E.cleanData([bz],true)}else{if(E.support.deleteExpando||bw!=bw.window){delete bw[by]}else{bw[by]=null}}},_data:function(bx,bw,by){return E.data(bx,bw,by,true)},acceptData:function(bx){var bw=bx.nodeName&&E.noData[bx.nodeName.toLowerCase()];return !bw||bw!==true&&bx.getAttribute("classid")===bw}});E.fn.extend({data:function(bF,bE){var bA,bx,bD,bw,bz,by=this[0],bC=0,bB=null;if(bF===I){if(this.length){bB=E.data(by);if(by.nodeType===1&&!E._data(by,"parsedAttrs")){bD=by.attributes;for(bz=bD.length;bC<bz;bC++){bw=bD[bC].name;if(!bw.indexOf("data-")){bw=E.camelCase(bw.substring(5));bb(by,bw,bB[bw])}}E._data(by,"parsedAttrs",true)}}return bB}if(typeof bF==="object"){return this.each(function(){E.data(this,bF)})}bA=bF.split(".",2);bA[1]=bA[1]?"."+bA[1]:"";bx=bA[1]+"!";return E.access(this,function(bG){if(bG===I){bB=this.triggerHandler("getData"+bx,[bA[0]]);if(bB===I&&by){bB=E.data(by,bF);bB=bb(by,bF,bB)}return bB===I&&bA[1]?this.data(bA[0]):bB}bA[1]=bG;this.each(function(){var bH=E(this);bH.triggerHandler("setData"+bx,bA);E.data(this,bF,bG);bH.triggerHandler("changeData"+bx,bA)})},null,bE,arguments.length>1,null,false)},removeData:function(bw){return this.each(function(){E.removeData(this,bw)})}});function bb(by,bx,bz){if(bz===I&&by.nodeType===1){var bw="data-"+bx.replace(at,"-$1").toLowerCase();bz=by.getAttribute(bw);if(typeof bz==="string"){try{bz=bz==="true"?true:bz==="false"?false:bz==="null"?null:+bz+""===bz?+bz:aM.test(bz)?E.parseJSON(bz):bz}catch(bA){}E.data(by,bx,bz)}else{bz=I}}return bz}function O(bx){var bw;for(bw in bx){if(bw==="data"&&E.isEmptyObject(bx[bw])){continue}if(bw!=="toJSON"){return false}}return true}E.extend({queue:function(by,bx,bz){var bw;if(by){bx=(bx||"fx")+"queue";bw=E._data(by,bx);if(bz){if(!bw||E.isArray(bz)){bw=E._data(by,bx,E.makeArray(bz))}else{bw.push(bz)}}return bw||[]}},dequeue:function(bB,bA){bA=bA||"fx";var bx=E.queue(bB,bA),bC=bx.length,bz=bx.shift(),bw=E._queueHooks(bB,bA),by=function(){E.dequeue(bB,bA)};if(bz==="inprogress"){bz=bx.shift();bC--}if(bz){if(bA==="fx"){bx.unshift("inprogress")}delete bw.stop;bz.call(bB,by,bw)}if(!bC&&bw){bw.empty.fire()}},_queueHooks:function(by,bx){var bw=bx+"queueHooks";return E._data(by,bw)||E._data(by,bw,{empty:E.Callbacks("once memory").add(function(){E.removeData(by,bx+"queue",true);E.removeData(by,bw,true)})})}});E.fn.extend({queue:function(bw,bx){var by=2;if(typeof bw!=="string"){bx=bw;bw="fx";by--}if(arguments.length<by){return E.queue(this[0],bw)}return bx===I?this:this.each(function(){var bz=E.queue(this,bw,bx);E._queueHooks(this,bw);if(bw==="fx"&&bz[0]!=="inprogress"){E.dequeue(this,bw)}})},dequeue:function(bw){return this.each(function(){E.dequeue(this,bw)})},delay:function(bx,bw){bx=E.fx?E.fx.speeds[bx]||bx:bx;bw=bw||"fx";return this.queue(bw,function(bz,by){var bA=setTimeout(bz,bx);by.stop=function(){clearTimeout(bA)}})},clearQueue:function(bw){return this.queue(bw||"fx",[])},promise:function(by,bC){var bx,bz=1,bD=E.Deferred(),bB=this,bw=this.length,bA=function(){if(!(--bz)){bD.resolveWith(bB,[bB])}};if(typeof by!=="string"){bC=by;by=I}by=by||"fx";while(bw--){bx=E._data(bB[bw],by+"queueHooks");if(bx&&bx.empty){bz++;bx.empty.add(bA)}}bA();return bD.promise(bC)}});var bj,aV,aA,aK=/[\t\r\n]/g,aR=/\r/g,f=/^(?:button|input)$/i,B=/^(?:button|input|object|select|textarea)$/i,j=/^a(?:rea|)$/i,ag=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,C=E.support.getSetAttribute;E.fn.extend({attr:function(bw,bx){return E.access(this,E.attr,bw,bx,arguments.length>1)},removeAttr:function(bw){return this.each(function(){E.removeAttr(this,bw)})},prop:function(bw,bx){return E.access(this,E.prop,bw,bx,arguments.length>1)},removeProp:function(bw){bw=E.propFix[bw]||bw;return this.each(function(){try{this[bw]=I;delete this[bw]}catch(bx){}})},addClass:function(bA){var bC,by,bx,bz,bB,bD,bw;if(E.isFunction(bA)){return this.each(function(bE){E(this).addClass(bA.call(this,bE,this.className))})}if(bA&&typeof bA==="string"){bC=bA.split(ba);for(by=0,bx=this.length;by<bx;by++){bz=this[by];if(bz.nodeType===1){if(!bz.className&&bC.length===1){bz.className=bA}else{bB=" "+bz.className+" ";for(bD=0,bw=bC.length;bD<bw;bD++){if(bB.indexOf(" "+bC[bD]+" ")<0){bB+=bC[bD]+" "}}bz.className=E.trim(bB)}}}}return this},removeClass:function(bC){var bz,bA,bB,bD,bx,by,bw;if(E.isFunction(bC)){return this.each(function(bE){E(this).removeClass(bC.call(this,bE,this.className))})}if((bC&&typeof bC==="string")||bC===I){bz=(bC||"").split(ba);for(by=0,bw=this.length;by<bw;by++){bB=this[by];if(bB.nodeType===1&&bB.className){bA=(" "+bB.className+" ").replace(aK," ");for(bD=0,bx=bz.length;bD<bx;bD++){while(bA.indexOf(" "+bz[bD]+" ")>=0){bA=bA.replace(" "+bz[bD]+" "," ")}}bB.className=bC?E.trim(bA):""}}}return this},toggleClass:function(bz,bx){var by=typeof bz,bw=typeof bx==="boolean";if(E.isFunction(bz)){return this.each(function(bA){E(this).toggleClass(bz.call(this,bA,this.className,bx),bx)})}return this.each(function(){if(by==="string"){var bC,bB=0,bA=E(this),bD=bx,bE=bz.split(ba);while((bC=bE[bB++])){bD=bw?bD:!bA.hasClass(bC);bA[bD?"addClass":"removeClass"](bC)}}else{if(by==="undefined"||by==="boolean"){if(this.className){E._data(this,"__className__",this.className)}this.className=this.className||bz===false?"":E._data(this,"__className__")||""}}})},hasClass:function(bw){var bz=" "+bw+" ",by=0,bx=this.length;for(;by<bx;by++){if(this[by].nodeType===1&&(" "+this[by].className+" ").replace(aK," ").indexOf(bz)>=0){return true}}return false},val:function(bz){var bw,bx,bA,by=this[0];if(!arguments.length){if(by){bw=E.valHooks[by.type]||E.valHooks[by.nodeName.toLowerCase()];if(bw&&"get" in bw&&(bx=bw.get(by,"value"))!==I){return bx}bx=by.value;return typeof bx==="string"?bx.replace(aR,""):bx==null?"":bx}return}bA=E.isFunction(bz);return this.each(function(bC){var bD,bB=E(this);if(this.nodeType!==1){return}if(bA){bD=bz.call(this,bC,bB.val())}else{bD=bz}if(bD==null){bD=""}else{if(typeof bD==="number"){bD+=""}else{if(E.isArray(bD)){bD=E.map(bD,function(bE){return bE==null?"":bE+""})}}}bw=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()];if(!bw||!("set" in bw)||bw.set(this,bD,"value")===I){this.value=bD}})}});E.extend({valHooks:{option:{get:function(bw){var bx=bw.attributes.value;return !bx||bx.specified?bw.value:bw.text}},select:{get:function(bw){var bC,by,bE=bw.options,bA=bw.selectedIndex,bz=bw.type==="select-one"||bA<0,bD=bz?null:[],bB=bz?bA+1:bE.length,bx=bA<0?bB:bz?bA:0;for(;bx<bB;bx++){by=bE[bx];if((by.selected||bx===bA)&&(E.support.optDisabled?!by.disabled:by.getAttribute("disabled")===null)&&(!by.parentNode.disabled||!E.nodeName(by.parentNode,"optgroup"))){bC=E(by).val();if(bz){return bC}bD.push(bC)}}return bD},set:function(bx,by){var bw=E.makeArray(by);E(bx).find("option").each(function(){this.selected=E.inArray(E(this).val(),bw)>=0});if(!bw.length){bx.selectedIndex=-1}return bw}}},attrFn:{},attr:function(bC,bz,bD,bB){var by,bw,bA,bx=bC.nodeType;if(!bC||bx===3||bx===8||bx===2){return}if(bB&&E.isFunction(E.fn[bz])){return E(bC)[bz](bD)}if(typeof bC.getAttribute==="undefined"){return E.prop(bC,bz,bD)}bA=bx!==1||!E.isXMLDoc(bC);if(bA){bz=bz.toLowerCase();bw=E.attrHooks[bz]||(ag.test(bz)?aV:bj)}if(bD!==I){if(bD===null){E.removeAttr(bC,bz);return}else{if(bw&&"set" in bw&&bA&&(by=bw.set(bC,bD,bz))!==I){return by}else{bC.setAttribute(bz,bD+"");return bD}}}else{if(bw&&"get" in bw&&bA&&(by=bw.get(bC,bz))!==null){return by}else{by=bC.getAttribute(bz);return by===null?I:by}}},removeAttr:function(bz,bB){var bA,bC,bx,bw,by=0;if(bB&&bz.nodeType===1){bC=bB.split(ba);for(;by<bC.length;by++){bx=bC[by];if(bx){bA=E.propFix[bx]||bx;bw=ag.test(bx);if(!bw){E.attr(bz,bx,"")}bz.removeAttribute(C?bx:bA);if(bw&&bA in bz){bz[bA]=false}}}}},attrHooks:{type:{set:function(bw,bx){if(f.test(bw.nodeName)&&bw.parentNode){E.error("type property can't be changed")}else{if(!E.support.radioValue&&bx==="radio"&&E.nodeName(bw,"input")){var by=bw.value;bw.setAttribute("type",bx);if(by){bw.value=by}return bx}}}},value:{get:function(bx,bw){if(bj&&E.nodeName(bx,"button")){return bj.get(bx,bw)}return bw in bx?bx.value:null},set:function(bx,by,bw){if(bj&&E.nodeName(bx,"button")){return bj.set(bx,by,bw)}bx.value=by}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bB,bz,bC){var by,bw,bA,bx=bB.nodeType;if(!bB||bx===3||bx===8||bx===2){return}bA=bx!==1||!E.isXMLDoc(bB);if(bA){bz=E.propFix[bz]||bz;bw=E.propHooks[bz]}if(bC!==I){if(bw&&"set" in bw&&(by=bw.set(bB,bC,bz))!==I){return by}else{return(bB[bz]=bC)}}else{if(bw&&"get" in bw&&(by=bw.get(bB,bz))!==null){return by}else{return bB[bz]}}},propHooks:{tabIndex:{get:function(bx){var bw=bx.getAttributeNode("tabindex");return bw&&bw.specified?parseInt(bw.value,10):B.test(bx.nodeName)||j.test(bx.nodeName)&&bx.href?0:I}}}});aV={get:function(bx,bw){var bz,by=E.prop(bx,bw);return by===true||typeof by!=="boolean"&&(bz=bx.getAttributeNode(bw))&&bz.nodeValue!==false?bw.toLowerCase():I},set:function(bx,bz,bw){var by;if(bz===false){E.removeAttr(bx,bw)}else{by=E.propFix[bw]||bw;if(by in bx){bx[by]=true}bx.setAttribute(bw,bw.toLowerCase())}return bw}};if(!E.support.enctype){E.propFix.enctype="encoding"}var bh=/^(?:textarea|input|select)$/i,p=/^([^\.]*|)(?:\.(.+)|)$/,H=/(?:^|\s)hover(\.\S+|)\b/,aJ=/^key/,bk=/^(?:mouse|contextmenu)|click/,P=/^(?:focusinfocus|focusoutblur)$/,bu=function(bw){return E.event.special.hover?bw:bw.replace(H,"mouseenter$1 mouseleave$1")};E.event={add:function(bz,bD,bK,bB,bA){var bE,bC,bL,bJ,bI,bG,bw,bH,bx,by,bF;if(bz.nodeType===3||bz.nodeType===8||!bD||!bK||!(bE=E._data(bz))){return}if(bK.handler){bx=bK;bK=bx.handler;bA=bx.selector}if(!bK.guid){bK.guid=E.guid++}bL=bE.events;if(!bL){bE.events=bL={}}bC=bE.handle;if(!bC){bE.handle=bC=function(bM){return typeof E!=="undefined"&&(!bM||E.event.triggered!==bM.type)?E.event.dispatch.apply(bC.elem,arguments):I};bC.elem=bz}bD=E.trim(bu(bD)).split(" ");for(bJ=0;bJ<bD.length;bJ++){bI=p.exec(bD[bJ])||[];bG=bI[1];bw=(bI[2]||"").split(".").sort();bF=E.event.special[bG]||{};bG=(bA?bF.delegateType:bF.bindType)||bG;bF=E.event.special[bG]||{};bH=E.extend({type:bG,origType:bI[1],data:bB,handler:bK,guid:bK.guid,selector:bA,needsContext:bA&&E.expr.match.needsContext.test(bA),namespace:bw.join(".")},bx);by=bL[bG];if(!by){by=bL[bG]=[];by.delegateCount=0;if(!bF.setup||bF.setup.call(bz,bB,bw,bC)===false){if(bz.addEventListener){if(bB&&bB.passive!==I){bz.addEventListener(bG,bC,bB)}else{bz.addEventListener(bG,bC,false)}}else{if(bz.attachEvent){bz.attachEvent("on"+bG,bC)}}}}if(bF.add){bF.add.call(bz,bH);if(!bH.handler.guid){bH.handler.guid=bK.guid}}if(bA){by.splice(by.delegateCount++,0,bH)}else{by.push(bH)}E.event.global[bG]=true}bz=null},global:{},remove:function(bz,bE,bK,bA,bD){var bL,bM,bH,by,bx,bB,bC,bJ,bG,bw,bI,bF=E.hasData(bz)&&E._data(bz);if(!bF||!(bJ=bF.events)){return}bE=E.trim(bu(bE||"")).split(" ");for(bL=0;bL<bE.length;bL++){bM=p.exec(bE[bL])||[];bH=by=bM[1];bx=bM[2];if(!bH){for(bH in bJ){E.event.remove(bz,bH+bE[bL],bK,bA,true)}continue}bG=E.event.special[bH]||{};bH=(bA?bG.delegateType:bG.bindType)||bH;bw=bJ[bH]||[];bB=bw.length;bx=bx?new RegExp("(^|\\.)"+bx.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(bC=0;bC<bw.length;bC++){bI=bw[b