=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,i=t-n;return 2*Math.abs(n)>=e&&(i+=n>0?e:-e),parseFloat(i.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,n,i,s,r,o=this.options.range,a=this.options,l=this,c=!this._animateOff&&a.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(i){n=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,h["horizontal"===l.orientation?"left":"bottom"]=n+"%",t(this).stop(1,1)[c?"animate":"css"](h,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},a.animate),1===i&&l.range[c?"animate":"css"]({width:n-e+"%"},{queue:!1,duration:a.animate})):(0===i&&l.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},a.animate),1===i&&l.range[c?"animate":"css"]({height:n-e+"%"},{queue:!1,duration:a.animate}))),e=n}):(i=this.value(),s=this._valueMin(),r=this._valueMax(),n=r!==s?(i-s)/(r-s)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[c?"animate":"css"](h,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range[c?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:a.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range[c?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:a.animate}))},_handleEvents:{keydown:function(e){var n,i,s,r=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(e.target).addClass("ui-state-active"),!1===this._start(e,r)))return}switch(s=this.options.step,n=i=this.options.values&&this.options.values.length?this.values(r):this.value(),e.keyCode){case t.ui.keyCode.HOME:i=this._valueMin();break;case t.ui.keyCode.END:i=this._valueMax();break;case t.ui.keyCode.PAGE_UP:i=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/5);break;case t.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/5);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;i=this._trimAlignValue(n+s);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;i=this._trimAlignValue(n-s)}this._slide(e,r,i)},click:function(t){t.preventDefault()},keyup:function(e){var n=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,n),this._change(e,n),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t,e){var n;t.effects={effect:{}},function(t,e){var n,i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],r=t.Color=function(e,n,i,s){return new t.Color.fn.parse(e,n,i,s)},o={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},a={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},l=r.support={},c=t("")[0],h=t.each;function u(t,e,n){var i=a[e.type]||{};return null==t?n||!e.def?null:e.def:(t=i.floor?~~t:parseFloat(t),isNaN(t)?e.def:i.mod?(t+i.mod)%i.mod:0>t?0:i.max-1,h(o,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),r.fn=t.extend(r.prototype,{parse:function(e,i,s,a){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=t(e).css(i),i=void 0);var l=this,c=t.type(e),f=this._rgba=[];return void 0!==i&&(e=[e,i,s,a],c="array"),"string"===c?this.parse(d(e)||n._default):"array"===c?(h(o.rgba.props,function(t,n){f[n.idx]=u(e[n.idx],n)}),this):"object"===c?(h(o,e instanceof r?function(t,n){e[n.cache]&&(l[n.cache]=e[n.cache].slice())}:function(n,i){var s=i.cache;h(i.props,function(t,n){if(!l[s]&&i.to){if("alpha"===t||null==e[t])return;l[s]=i.to(l._rgba)}l[s][n.idx]=u(e[t],n,!0)}),l[s]&&t.inArray(null,l[s].slice(0,3))<0&&(l[s][3]=1,i.from&&(l._rgba=i.from(l[s])))}),this):void 0},is:function(t){var e=r(t),n=!0,i=this;return h(o,function(t,s){var r,o=e[s.cache];return o&&(r=i[s.cache]||s.to&&s.to(i._rgba)||[],h(s.props,function(t,e){if(null!=o[e.idx])return n=o[e.idx]===r[e.idx]})),n}),n},_space:function(){var t=[],e=this;return h(o,function(n,i){e[i.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var n=r(t),i=n._space(),s=o[i],l=0===this.alpha()?r("transparent"):this,c=l[s.cache]||s.to(l._rgba),d=c.slice();return n=n[s.cache],h(s.props,function(t,i){var s=i.idx,r=c[s],o=n[s],l=a[i.type]||{};null!==o&&(null===r?d[s]=o:(l.mod&&(o-r>l.mod/2?r+=l.mod:r-o>l.mod/2&&(r-=l.mod)),d[s]=u((o-r)*e+r,i)))}),this[i](d)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),s=r(e)._rgba;return r(t.map(n,function(t,e){return(1-i)*s[e]+i*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),i=n.pop();return e&&n.push(~~(255*i)),"#"+t.map(n,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),r.fn.parse.prototype=r.fn,o.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,i=t[0]/255,s=t[1]/255,r=t[2]/255,o=t[3],a=Math.max(i,s,r),l=Math.min(i,s,r),c=a-l,h=a+l,u=.5*h;return e=l===a?0:i===a?60*(s-r)/c+360:s===a?60*(r-i)/c+120:60*(i-s)/c+240,n=0===c?0:u<=.5?c/h:c/(2-h),[Math.round(e)%360,n,u,null==o?1:o]},o.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],i=t[2],s=t[3],r=i<=.5?i*(1+n):i+n-i*n,o=2*i-r;return[Math.round(255*f(o,r,e+1/3)),Math.round(255*f(o,r,e)),Math.round(255*f(o,r,e-1/3)),s]},h(o,function(e,n){var s=n.props,o=n.cache,a=n.to,l=n.from;r.fn[e]=function(e){if(a&&!this[o]&&(this[o]=a(this._rgba)),void 0===e)return this[o].slice();var n,i=t.type(e),c="array"===i||"object"===i?e:arguments,d=this[o].slice();return h(s,function(t,e){var n=c["object"===i?t:e.idx];null==n&&(n=d[e.idx]),d[e.idx]=u(n,e)}),l?((n=r(l(d)))[o]=d,n):r(d)},h(s,function(n,s){r.fn[n]||(r.fn[n]=function(r){var o,a=t.type(r),l="alpha"===n?this._hsla?"hsla":"rgba":e,c=this[l](),h=c[s.idx];return"undefined"===a?h:("function"===a&&(r=r.call(this,h),a=t.type(r)),null==r&&s.empty?this:("string"===a&&(o=i.exec(r))&&(r=h+parseFloat(o[2])*("+"===o[1]?1:-1)),c[s.idx]=r,this[l](c)))})})}),r.hook=function(e){var n=e.split(" ");h(n,function(e,n){t.cssHooks[n]={set:function(e,i){var s,o,a="";if("transparent"!==i&&("string"!==t.type(i)||(s=d(i)))){if(i=r(s||i),!l.rgba&&1!==i._rgba[3]){for(o="backgroundColor"===n?e.parentNode:e;(""===a||"transparent"===a)&&o&&o.style;)try{a=t.css(o,"backgroundColor"),o=o.parentNode}catch(t){}i=i.blend(a&&"transparent"!==a?a:"_default")}i=i.toRgbaString()}try{e.style[n]=i}catch(t){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=r(e.elem,n),e.end=r(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},r.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return h(["Top","Right","Bottom","Left"],function(n,i){e["border"+i+"Color"]=t}),e}},n=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){var e,n=["add","remove","toggle"],i={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function s(e){var n,i,s=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,r={};if(s&&s.length&&s[0]&&s[s[0]])for(i=s.length;i--;)"string"==typeof s[n=s[i]]&&(r[t.camelCase(n)]=s[n]);else for(n in s)"string"==typeof s[n]&&(r[n]=s[n]);return r}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,n){t.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,n,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,r,o,a){var l=t.speed(r,o,a);return this.queue(function(){var r,o=t(this),a=o.attr("class")||"",c=l.children?o.find("*").addBack():o;c=c.map(function(){return{el:t(this),start:s(this)}}),(r=function(){t.each(n,function(t,n){e[n]&&o[n+"Class"](e[n])})})(),c=c.map(function(){return this.end=s(this.el[0]),this.diff=function(e,n){var s,r,o={};for(s in n)r=n[s],e[s]!==r&&(i[s]||!t.fx.step[s]&&isNaN(parseFloat(r))||(o[s]=r));return o}(this.start,this.end),this}),o.attr("class",a),c=c.map(function(){var e=this,n=t.Deferred(),i=t.extend({},l,{queue:!1,complete:function(){n.resolve(e)}});return this.el.animate(this.diff,i),n.promise()}),t.when.apply(t,c.get()).done(function(){r(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(o[0])})})},t.fn.extend({addClass:(e=t.fn.addClass,function(n,i,s,r){return i?t.effects.animateClass.call(this,{add:n},i,s,r):e.apply(this,arguments)}),removeClass:function(e){return function(n,i,s,r){return arguments.length>1?t.effects.animateClass.call(this,{remove:n},i,s,r):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(n,i,s,r,o){return"boolean"==typeof i||void 0===i?s?t.effects.animateClass.call(this,i?{add:n}:{remove:n},s,r,o):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},i,s,r)}}(t.fn.toggleClass),switchClass:function(e,n,i,s,r){return t.effects.animateClass.call(this,{add:n,remove:e},i,s,r)}})}(),function(){function e(e,n,i,s){return t.isPlainObject(e)&&(n=e,e=e.effect),e={effect:e},null==n&&(n={}),t.isFunction(n)&&(s=n,i=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(s=i,i=n,n={}),t.isFunction(i)&&(s=i,i=null),n&&t.extend(e,n),i=i||n.duration,e.duration=t.fx.off?0:"number"==typeof i?i:i in t.fx.speeds?t.fx.speeds[i]:t.fx.speeds._default,e.complete=s||n.complete,e}function n(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||(!!t.isFunction(e)||"object"==typeof e&&!e.effect))}var i;t.extend(t.effects,{version:"1.10.4",save:function(t,e){for(var n=0;n").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),s={width:e.width(),height:e.height()},r=document.activeElement;try{r.id}catch(t){r=document.body}return e.wrap(i),(e[0]===r||t.contains(e[0],r))&&t(r).focus(),i=e.parent(),"static"===e.css("position")?(i.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,i){n[i]=e.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(s),i.css(n).show()},removeWrapper:function(e){var n=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===n||t.contains(e[0],n))&&t(n).focus()),e},setTransition:function(e,n,i,s){return s=s||{},t.each(n,function(t,n){var r=e.cssUnit(n);r[0]>0&&(s[n]=r[0]*i+r[1])}),s}}),t.fn.extend({effect:function(){var n=e.apply(this,arguments),i=n.mode,s=n.queue,r=t.effects.effect[n.effect];if(t.fx.off||!r)return i?this[i](n.duration,n.complete):this.each(function(){n.complete&&n.complete.call(this)});function o(e){var i=t(this),s=n.complete,o=n.mode;function a(){t.isFunction(s)&&s.call(i[0]),t.isFunction(e)&&e()}(i.is(":hidden")?"hide"===o:"show"===o)?(i[o](),a()):r.call(i[0],n,a)}return!1===s?this.each(o):this.queue(s||"fx",o)},show:(i=t.fn.show,function(t){if(n(t))return i.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="show",this.effect.call(this,s)}),hide:function(t){return function(i){if(n(i))return t.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="hide",this.effect.call(this,s)}}(t.fn.hide),toggle:function(t){return function(i){if(n(i)||"boolean"==typeof i)return t.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="toggle",this.effect.call(this,s)}}(t.fn.toggle),cssUnit:function(e){var n=this.css(e),i=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(i=[parseFloat(n),e])}),i}})}(),n={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){n[e]=function(e){return Math.pow(e,t+2)}}),t.extend(n,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(n,function(e,n){t.easing["easeIn"+e]=n,t.easing["easeOut"+e]=function(t){return 1-n(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?n(2*t)/2:1-n(-2*t+2)/2}})}(jQuery),function(t){if(t.support.touch="ontouchend"in document,t.support.touch){var e,n=t.ui.mouse.prototype,i=n._mouseInit;n._touchStart=function(t){!e&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(e=!0,this._touchMoved=!1,s(t,"mouseover"),s(t,"mousemove"),s(t,"mousedown"))},n._touchMove=function(t){e&&(this._touchMoved=!0,s(t,"mousemove"))},n._touchEnd=function(t){e&&(s(t,"mouseup"),s(t,"mouseout"),this._touchMoved||s(t,"click"),e=!1)},n._mouseInit=function(){this.element.bind("touchstart",t.proxy(this,"_touchStart")).bind("touchmove",t.proxy(this,"_touchMove")).bind("touchend",t.proxy(this,"_touchEnd")),i.call(this)}}function s(t,e){if(!(t.originalEvent.touches.length>1)){t.preventDefault();var n=t.originalEvent.changedTouches[0],i=document.createEvent("MouseEvents");i.initMouseEvent(e,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(i)}}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function i(t,e){for(var n=0;n0?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){var r=n[s],o=e[s],a=o&&i.isElement(o)?"element":(l=o,{}.toString.call(l).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+a+'" but expected type "'+r+'".')}var l}};return e=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},t.fn.emulateTransitionEnd=n,i.supportsTransitionEnd()&&(t.event.special[i.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),i}(e),a=function(t){var e=t.fn.alert,n={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},i="alert",r="fade",a="show",l=function(){function e(t){this._element=t}var l=e.prototype;return l.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},l.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},l._getRootElement=function(e){var n=o.getSelectorFromElement(e),s=!1;return n&&(s=t(n)[0]),s||(s=t(e).closest("."+i)[0]),s},l._triggerCloseEvent=function(e){var i=t.Event(n.CLOSE);return t(e).trigger(i),i},l._removeElement=function(e){var n=this;t(e).removeClass(a),o.supportsTransitionEnd()&&t(e).hasClass(r)?t(e).one(o.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):this._destroyElement(e)},l._destroyElement=function(e){t(e).detach().trigger(n.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),s=i.data("bs.alert");s||(s=new e(this),i.data("bs.alert",s)),"close"===n&&s[n](this)})},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(e,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),e}();return t(document).on(n.CLICK_DATA_API,'[data-dismiss="alert"]',l._handleDismiss(new l)),t.fn.alert=l._jQueryInterface,t.fn.alert.Constructor=l,t.fn.alert.noConflict=function(){return t.fn.alert=e,l._jQueryInterface},l}(e),l=function(t){var e="button",n=t.fn[e],i="active",r="btn",o="focus",a='[data-toggle^="button"]',l='[data-toggle="buttons"]',c="input",h=".active",u=".btn",d={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},f=function(){function e(t){this._element=t}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,s=t(this._element).closest(l)[0];if(s){var r=t(this._element).find(c)[0];if(r){if("radio"===r.type)if(r.checked&&t(this._element).hasClass(i))e=!1;else{var o=t(s).find(h)[0];o&&t(o).removeClass(i)}if(e){if(r.hasAttribute("disabled")||s.hasAttribute("disabled")||r.classList.contains("disabled")||s.classList.contains("disabled"))return;r.checked=!t(this._element).hasClass(i),t(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!t(this._element).hasClass(i)),e&&t(this._element).toggleClass(i)},n.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.button");i||(i=new e(this),t(this).data("bs.button",i)),"toggle"===n&&i[n]()})},s(e,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),e}();return t(document).on(d.CLICK_DATA_API,a,function(e){e.preventDefault();var n=e.target;t(n).hasClass(r)||(n=t(n).closest(u)),f._jQueryInterface.call(t(n),"toggle")}).on(d.FOCUS_BLUR_DATA_API,a,function(e){var n=t(e.target).closest(u)[0];t(n).toggleClass(o,/^focus(in)?$/.test(e.type))}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=n,f._jQueryInterface},f}(e),c=function(t){var e="carousel",n="bs.carousel",i="."+n,a=t.fn[e],l={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},c={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},h="next",u="prev",d="left",f="right",p={SLIDE:"slide"+i,SLID:"slid"+i,KEYDOWN:"keydown"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i,TOUCHEND:"touchend"+i,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},g="carousel",m="active",v="slide",b="carousel-item-right",y="carousel-item-left",_="carousel-item-next",w="carousel-item-prev",C={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},S=function(){function a(e,n){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(n),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(C.INDICATORS)[0],this._addEventListeners()}var S=a.prototype;return S.next=function(){this._isSliding||this._slide(h)},S.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},S.prev=function(){this._isSliding||this._slide(u)},S.pause=function(e){e||(this._isPaused=!0),t(this._element).find(C.NEXT_PREV)[0]&&o.supportsTransitionEnd()&&(o.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},S.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},S.to=function(e){var n=this;this._activeElement=t(this._element).find(C.ACTIVE_ITEM)[0];var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(p.SLID,function(){return n.to(e)});else{if(i===e)return this.pause(),void this.cycle();var s=e>i?h:u;this._slide(s,this._items[e])}},S.dispose=function(){t(this._element).off(i),t.removeData(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},S._getConfig=function(t){return t=r({},l,t),o.typeCheckConfig(e,t,c),t},S._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(p.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(t(this._element).on(p.MOUSEENTER,function(t){return e.pause(t)}).on(p.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&t(this._element).on(p.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},S._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},S._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(C.ITEM)),this._items.indexOf(e)},S._getItemByDirection=function(t,e){var n=t===h,i=t===u,s=this._getItemIndex(e),r=this._items.length-1;if((i&&0===s||n&&s===r)&&!this._config.wrap)return e;var o=(s+(t===u?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},S._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),s=this._getItemIndex(t(this._element).find(C.ACTIVE_ITEM)[0]),r=t.Event(p.SLIDE,{relatedTarget:e,direction:n,from:s,to:i});return t(this._element).trigger(r),r},S._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(C.ACTIVE).removeClass(m);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&t(n).addClass(m)}},S._slide=function(e,n){var i,s,r,a=this,l=t(this._element).find(C.ACTIVE_ITEM)[0],c=this._getItemIndex(l),u=n||l&&this._getItemByDirection(e,l),g=this._getItemIndex(u),S=Boolean(this._interval);if(e===h?(i=y,s=_,r=d):(i=b,s=w,r=f),u&&t(u).hasClass(m))this._isSliding=!1;else if(!this._triggerSlideEvent(u,r).isDefaultPrevented()&&l&&u){this._isSliding=!0,S&&this.pause(),this._setActiveIndicatorElement(u);var x=t.Event(p.SLID,{relatedTarget:u,direction:r,from:c,to:g});o.supportsTransitionEnd()&&t(this._element).hasClass(v)?(t(u).addClass(s),o.reflow(u),t(l).addClass(i),t(u).addClass(i),t(l).one(o.TRANSITION_END,function(){t(u).removeClass(i+" "+s).addClass(m),t(l).removeClass(m+" "+s+" "+i),a._isSliding=!1,setTimeout(function(){return t(a._element).trigger(x)},0)}).emulateTransitionEnd(600)):(t(l).removeClass(m),t(u).addClass(m),this._isSliding=!1,t(this._element).trigger(x)),S&&this.cycle()}},a._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(n),s=r({},l,t(this).data());"object"==typeof e&&(s=r({},s,e));var o="string"==typeof e?e:s.slide;if(i||(i=new a(this,s),t(this).data(n,i)),"number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new TypeError('No method named "'+o+'"');i[o]()}else s.interval&&(i.pause(),i.cycle())})},a._dataApiClickHandler=function(e){var i=o.getSelectorFromElement(this);if(i){var s=t(i)[0];if(s&&t(s).hasClass(g)){var l=r({},t(s).data(),t(this).data()),c=this.getAttribute("data-slide-to");c&&(l.interval=!1),a._jQueryInterface.call(t(s),l),c&&t(s).data(n).to(c),e.preventDefault()}}},s(a,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return l}}]),a}();return t(document).on(p.CLICK_DATA_API,C.DATA_SLIDE,S._dataApiClickHandler),t(window).on(p.LOAD_DATA_API,function(){t(C.DATA_RIDE).each(function(){var e=t(this);S._jQueryInterface.call(e,e.data())})}),t.fn[e]=S._jQueryInterface,t.fn[e].Constructor=S,t.fn[e].noConflict=function(){return t.fn[e]=a,S._jQueryInterface},S}(e),h=function(t){var e="collapse",n="bs.collapse",i=t.fn[e],a={toggle:!0,parent:""},l={toggle:"boolean",parent:"(string|element)"},c={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},h="show",u="collapse",d="collapsing",f="collapsed",p="width",g="height",m={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},v=function(){function i(e,n){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=t(m.DATA_TOGGLE),s=0;s0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var v=i.prototype;return v.toggle=function(){t(this._element).hasClass(h)?this.hide():this.show()},v.show=function(){var e,s,r=this;if(!this._isTransitioning&&!t(this._element).hasClass(h)&&(this._parent&&0===(e=t.makeArray(t(this._parent).find(m.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(s=t(e).not(this._selector).data(n))&&s._isTransitioning))){var a=t.Event(c.SHOW);if(t(this._element).trigger(a),!a.isDefaultPrevented()){e&&(i._jQueryInterface.call(t(e).not(this._selector),"hide"),s||t(e).data(n,null));var l=this._getDimension();t(this._element).removeClass(u).addClass(d),this._element.style[l]=0,this._triggerArray.length>0&&t(this._triggerArray).removeClass(f).attr("aria-expanded",!0),this.setTransitioning(!0);var p=function(){t(r._element).removeClass(d).addClass(u).addClass(h),r._element.style[l]="",r.setTransitioning(!1),t(r._element).trigger(c.SHOWN)};if(o.supportsTransitionEnd()){var g="scroll"+(l[0].toUpperCase()+l.slice(1));t(this._element).one(o.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[l]=this._element[g]+"px"}else p()}}},v.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(h)){var n=t.Event(c.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();if(this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",o.reflow(this._element),t(this._element).addClass(d).removeClass(u).removeClass(h),this._triggerArray.length>0)for(var s=0;s0&&t(n).toggleClass(f,!i).attr("aria-expanded",i)}},i._getTargetFromElement=function(e){var n=o.getSelectorFromElement(e);return n?t(n)[0]:null},i._jQueryInterface=function(e){return this.each(function(){var s=t(this),o=s.data(n),l=r({},a,s.data(),"object"==typeof e&&e);if(!o&&l.toggle&&/show|hide/.test(e)&&(l.toggle=!1),o||(o=new i(this,l),s.data(n,o)),"string"==typeof e){if(void 0===o[e])throw new TypeError('No method named "'+e+'"');o[e]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),i}();return t(document).on(c.CLICK_DATA_API,m.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var i=t(this),s=o.getSelectorFromElement(this);t(s).each(function(){var e=t(this),s=e.data(n)?"toggle":i.data();v._jQueryInterface.call(e,s)})}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=i,v._jQueryInterface},v}(e),u=function(t){var e="dropdown",i="bs.dropdown",a="."+i,l=t.fn[e],c=new RegExp("38|40|27"),h={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},u="disabled",d="show",f="dropup",p="dropright",g="dropleft",m="dropdown-menu-right",v="dropdown-menu-left",b="position-static",y='[data-toggle="dropdown"]',_=".dropdown form",w=".dropdown-menu",C=".navbar-nav",S=".dropdown-menu .dropdown-item:not(.disabled)",x="top-start",T="top-end",D="bottom-start",E="bottom-end",I="right-start",A="left-start",k={offset:0,flip:!0,boundary:"scrollParent"},O={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},N=function(){function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var _=l.prototype;return _.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(u)){var e=l._getParentFromElement(this._element),i=t(this._menu).hasClass(d);if(l._clearMenus(),!i){var s={relatedTarget:this._element},r=t.Event(h.SHOW,s);if(t(e).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var o=this._element;t(e).hasClass(f)&&(t(this._menu).hasClass(v)||t(this._menu).hasClass(m))&&(o=e),"scrollParent"!==this._config.boundary&&t(e).addClass(b),this._popper=new n(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(e).closest(C).length&&t("body").children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(d),t(e).toggleClass(d).trigger(t.Event(h.SHOWN,s))}}}},_.dispose=function(){t.removeData(this._element,i),t(this._element).off(a),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},_.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},_._addEventListeners=function(){var e=this;t(this._element).on(h.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},_._getConfig=function(n){return n=r({},this.constructor.Default,t(this._element).data(),n),o.typeCheckConfig(e,n,this.constructor.DefaultType),n},_._getMenuElement=function(){if(!this._menu){var e=l._getParentFromElement(this._element);this._menu=t(e).find(w)[0]}return this._menu},_._getPlacement=function(){var e=t(this._element).parent(),n=D;return e.hasClass(f)?(n=x,t(this._menu).hasClass(m)&&(n=T)):e.hasClass(p)?n=I:e.hasClass(g)?n=A:t(this._menu).hasClass(m)&&(n=E),n},_._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},_._getPopperConfig=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},l._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(i);if(n||(n=new l(this,"object"==typeof e?e:null),t(this).data(i,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},l._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=t.makeArray(t(y)),s=0;s0&&r--,40===e.which&&rdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},m._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},m._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},d="show",f="out",p={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},g="fade",m="show",v=".tooltip-inner",b=".arrow",y="hover",_="focus",w="click",C="manual",S=function(){function a(t,e){if(void 0===n)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var S=a.prototype;return S.enable=function(){this._isEnabled=!0},S.disable=function(){this._isEnabled=!1},S.toggleEnabled=function(){this._isEnabled=!this._isEnabled},S.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(m))return void this._leave(null,this);this._enter(null,this)}},S.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},S.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var s=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!s)return;var r=this.getTipElement(),l=o.getUID(this.constructor.NAME);r.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&t(r).addClass(g);var c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(c);this.addAttachmentClass(h);var u=!1===this.config.container?document.body:t(this.config.container);t(r).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(u),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:b},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),t(r).addClass(m),"ontouchstart"in document.documentElement&&t("body").children().on("mouseover",null,t.noop);var d=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===f&&e._leave(null,e)};o.supportsTransitionEnd()&&t(this.tip).hasClass(g)?t(this.tip).one(o.TRANSITION_END,d).emulateTransitionEnd(a._TRANSITION_DURATION):d()}},S.hide=function(e){var n=this,i=this.getTipElement(),s=t.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==d&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};t(this.element).trigger(s),s.isDefaultPrevented()||(t(i).removeClass(m),"ontouchstart"in document.documentElement&&t("body").children().off("mouseover",null,t.noop),this._activeTrigger[w]=!1,this._activeTrigger[_]=!1,this._activeTrigger[y]=!1,o.supportsTransitionEnd()&&t(this.tip).hasClass(g)?t(i).one(o.TRANSITION_END,r).emulateTransitionEnd(150):r(),this._hoverState="")},S.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},S.isWithContent=function(){return Boolean(this.getTitle())},S.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},S.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},S.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(v),this.getTitle()),e.removeClass(g+" "+m)},S.setElementContent=function(e,n){var i=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?i?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[i?"html":"text"](n)},S.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},S._getAttachment=function(t){return h[t.toUpperCase()]},S._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==C){var i=n===y?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,s=n===y?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(s,e.config.selector,function(t){return e._leave(t)})}t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},S._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},S._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?_:y]=!0),t(n.getTipElement()).hasClass(m)||n._hoverState===d?n._hoverState=d:(clearTimeout(n._timeout),n._hoverState=d,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===d&&n.show()},n.config.delay.show):n.show())},S._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?_:y]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=f,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===f&&n.hide()},n.config.delay.hide):n.hide())},S._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},S._getConfig=function(n){return"number"==typeof(n=r({},this.constructor.Default,t(this.element).data(),n)).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),o.typeCheckConfig(e,n,this.constructor.DefaultType),n},S._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},S._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(l);null!==n&&n.length>0&&e.removeClass(n.join(""))},S._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},S._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(g),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},a._jQueryInterface=function(e){return this.each(function(){var n=t(this).data("bs.tooltip"),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new a(this,i),t(this).data("bs.tooltip",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return c}}]),a}();return t.fn[e]=S._jQueryInterface,t.fn[e].Constructor=S,t.fn[e].noConflict=function(){return t.fn[e]=a,S._jQueryInterface},S}(e),p=function(t){var e="popover",n=".bs.popover",i=t.fn[e],o=new RegExp("(^|\\s)bs-popover\\S+","g"),a=r({},f.Default,{placement:"right",trigger:"click",content:"",template:''}),l=r({},f.DefaultType,{content:"(string|element|function)"}),c="fade",h="show",u=".popover-header",d=".popover-body",p={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},g=function(i){var r,f;function g(){return i.apply(this,arguments)||this}f=i,(r=g).prototype=Object.create(f.prototype),r.prototype.constructor=r,r.__proto__=f;var m=g.prototype;return m.isWithContent=function(){return this.getTitle()||this._getContent()},m.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},m.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},m.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(u),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(d),n),e.removeClass(c+" "+h)},m._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},m._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(o);null!==n&&n.length>0&&e.removeClass(n.join(""))},g._jQueryInterface=function(e){return this.each(function(){var n=t(this).data("bs.popover"),i="object"==typeof e?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new g(this,i),t(this).data("bs.popover",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(g,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return l}}]),g}(f);return t.fn[e]=g._jQueryInterface,t.fn[e].Constructor=g,t.fn[e].noConflict=function(){return t.fn[e]=i,g._jQueryInterface},g}(e),g=function(t){var e="scrollspy",n=t.fn[e],i={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},c="dropdown-item",h="active",u={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},d="offset",f="position",p=function(){function n(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+u.NAV_LINKS+","+this._config.target+" "+u.LIST_ITEMS+","+this._config.target+" "+u.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(l.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var p=n.prototype;return p.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?d:f,i="auto"===this._config.method?n:this._config.method,s=i===f?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.makeArray(t(this._selector)).map(function(e){var n,r=o.getSelectorFromElement(e);if(r&&(n=t(r)[0]),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[t(n)[i]().top+s,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},p.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},p._getConfig=function(n){if("string"!=typeof(n=r({},i,n)).target){var s=t(n.target).attr("id");s||(s=o.getUID(e),t(n.target).attr("id",s)),n.target="#"+s}return o.typeCheckConfig(e,n,a),n},p._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},p._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},p._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},p._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;){this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void 0===this._offsets[s+1]||t li > .active",p='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',g=".dropdown-toggle",m="> .dropdown-menu .active",v=function(){function e(t){this._element=t}var p=e.prototype;return p.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(r)||t(this._element).hasClass(a))){var i,s,l=t(this._element).closest(u)[0],c=o.getSelectorFromElement(this._element);if(l){var h="UL"===l.nodeName?f:d;s=(s=t.makeArray(t(l).find(h)))[s.length-1]}var p=t.Event(n.HIDE,{relatedTarget:this._element}),g=t.Event(n.SHOW,{relatedTarget:s});if(s&&t(s).trigger(p),t(this._element).trigger(g),!g.isDefaultPrevented()&&!p.isDefaultPrevented()){c&&(i=t(c)[0]),this._activate(this._element,l);var m=function(){var i=t.Event(n.HIDDEN,{relatedTarget:e._element}),r=t.Event(n.SHOWN,{relatedTarget:s});t(s).trigger(i),t(e._element).trigger(r)};i?this._activate(i,i.parentNode,m):m()}}},p.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},p._activate=function(e,n,i){var s=this,r=("UL"===n.nodeName?t(n).find(f):t(n).children(d))[0],a=i&&o.supportsTransitionEnd()&&r&&t(r).hasClass(l),c=function(){return s._transitionComplete(e,r,i)};r&&a?t(r).one(o.TRANSITION_END,c).emulateTransitionEnd(150):c()},p._transitionComplete=function(e,n,s){if(n){t(n).removeClass(c+" "+r);var a=t(n.parentNode).find(m)[0];a&&t(a).removeClass(r),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(r),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),o.reflow(e),t(e).addClass(c),e.parentNode&&t(e.parentNode).hasClass(i)){var l=t(e).closest(h)[0];l&&t(l).find(g).addClass(r),e.setAttribute("aria-expanded",!0)}s&&s()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),s=i.data("bs.tab");if(s||(s=new e(this),i.data("bs.tab",s)),"string"==typeof n){if(void 0===s[n])throw new TypeError('No method named "'+n+'"');s[n]()}})},s(e,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),e}();return t(document).on(n.CLICK_DATA_API,p,function(e){e.preventDefault(),v._jQueryInterface.call(t(this),"show")}),t.fn.tab=v._jQueryInterface,t.fn.tab.Constructor=v,t.fn.tab.noConflict=function(){return t.fn.tab=e,v._jQueryInterface},v}(e);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=o,t.Alert=a,t.Button=l,t.Carousel=c,t.Collapse=h,t.Dropdown=u,t.Modal=d,t.Popover=p,t.Scrollspy=g,t.Tab=m,t.Tooltip=f,Object.defineProperty(t,"__esModule",{value:!0})}),function(){var t=[].slice;!function(e,n){"use strict";var i;i=function(){function t(t,n){var i;null==n&&(n={}),this.$element=e(t),this.options=e.extend({},e.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class"),radioAllOff:this.$element.data("radio-all-off")},n),this.$wrapper=e("",{class:(i=this,function(){var t;return(t=[""+i.options.baseClass].concat(i._getClasses(i.options.wrapperClass))).push(i.options.state?i.options.baseClass+"-on":i.options.baseClass+"-off"),null!=i.options.size&&t.push(i.options.baseClass+"-"+i.options.size),i.options.animate&&t.push(i.options.baseClass+"-animate"),i.options.disabled&&t.push(i.options.baseClass+"-disabled"),i.options.readonly&&t.push(i.options.baseClass+"-readonly"),i.options.indeterminate&&t.push(i.options.baseClass+"-indeterminate"),i.$element.attr("id")&&t.push(i.options.baseClass+"-id-"+i.$element.attr("id")),t.join(" ")})()}),this.$container=e("
",{class:this.options.baseClass+"-container"}),this.$on=e("",{html:this.options.onText,class:this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=e("",{html:this.options.offText,class:this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=e("
'),this.$input=t('
').appendTo(this.$container),this.$element.before(this.$container),this.build(n),this.isInit=!1}function i(t,e){if("function"!=typeof t[e]){var n=t[e];t[e]=function(t){return t[n]}}}function s(t,e){if("function"!=typeof t[e]){var n=t[e];t[e]=function(){return n}}}n.prototype={constructor:n,add:function(e,n,i){var s=this;if(!(s.options.maxTags&&s.itemsArray.length>=s.options.maxTags)&&(!1===e||e)){if("string"==typeof e&&s.options.trimValue&&(e=t.trim(e)),"object"==typeof e&&!s.objectItems)throw"Can't add objects when itemValue option is not set";if(!e.toString().match(/^\s*$/)){if(s.isSelect&&!s.multiple&&s.itemsArray.length>0&&s.remove(s.itemsArray[0]),"string"==typeof e&&"INPUT"===this.$element[0].tagName){var r=s.options.delimiterRegex?s.options.delimiterRegex:s.options.delimiter,a=e.split(r);if(a.length>1){for(var l=0;l
s.options.maxInputLength)){var p=t.Event("beforeItemAdd",{item:e,cancel:!1,options:i});if(s.$element.trigger(p),!p.cancel){s.itemsArray.push(e);var g=t(''+o(h)+'');g.data("item",e),s.findInputWrapper().before(g),g.after(" ");var m=t('option[value="'+encodeURIComponent(c)+'"]',s.$element).length||t('option[value="'+o(c)+'"]',s.$element).length;if(s.isSelect&&!m){var v=t("");v.data("item",e),v.attr("value",c),s.$element.append(v)}n||s.pushVal(s.options.triggerChange),s.options.maxTags!==s.itemsArray.length&&s.items().toString().length!==s.options.maxInputLength||s.$container.addClass("bootstrap-tagsinput-max"),t(".typeahead, .twitter-typeahead",s.$container).length&&s.$input.typeahead("val",""),this.isInit?s.$element.trigger(t.Event("itemAddedOnInit",{item:e,options:i})):s.$element.trigger(t.Event("itemAdded",{item:e,options:i}))}}}else if(s.options.onTagExists){var b=t(".badge",s.$container).filter(function(){return t(this).data("item")===f});s.options.onTagExists(e,b)}}}},remove:function(e,n,i){var s=this;if(s.objectItems&&(e=(e="object"==typeof e?t.grep(s.itemsArray,function(t){return s.options.itemValue(t)==s.options.itemValue(e)}):t.grep(s.itemsArray,function(t){return s.options.itemValue(t)==e}))[e.length-1]),e){var r=t.Event("beforeItemRemove",{item:e,cancel:!1,options:i});if(s.$element.trigger(r),r.cancel)return;t(".badge",s.$container).filter(function(){return t(this).data("item")===e}).remove(),t("option",s.$element).filter(function(){return t(this).data("item")===e}).remove(),-1!==t.inArray(e,s.itemsArray)&&s.itemsArray.splice(t.inArray(e,s.itemsArray),1)}n||s.pushVal(s.options.triggerChange),s.options.maxTags>s.itemsArray.length&&s.$container.removeClass("bootstrap-tagsinput-max"),s.$element.trigger(t.Event("itemRemoved",{item:e,options:i}))},removeAll:function(){for(t(".badge",this.$container).remove(),t("option",this.$element).remove();this.itemsArray.length>0;)this.itemsArray.pop();this.pushVal(this.options.triggerChange)},refresh:function(){var e=this;t(".badge",e.$container).each(function(){var n=t(this),i=n.data("item"),s=e.options.itemValue(i),r=e.options.itemText(i),a=e.options.tagClass(i);(n.attr("class",null),n.addClass("badge "+o(a)),n.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=o(r),e.isSelect)&&t("option",e.$element).filter(function(){return t(this).data("item")===i}).attr("value",s)})},items:function(){return this.itemsArray},pushVal:function(){var e=this,n=t.map(e.items(),function(t){return e.options.itemValue(t).toString()});e.$element.val(n,!0),e.options.triggerChange&&e.$element.trigger("change")},build:function(n){var r=this;if(r.options=t.extend({},e,n),r.objectItems&&(r.options.freeInput=!1),i(r.options,"itemValue"),i(r.options,"itemText"),s(r.options,"tagClass"),r.options.typeahead){var o=r.options.typeahead||{};s(o,"source"),r.$input.typeahead(t.extend({},o,{source:function(e,n){function i(t){for(var e=[],i=0;i$1")}}))}if(r.options.typeaheadjs){var l=r.options.typeaheadjs;t.isArray(l)||(l=[null,l]),t.fn.typeahead.apply(r.$input,l).on("typeahead:selected",t.proxy(function(t,e,n){var i=0;l.some(function(t,e){return t.name===n&&(i=e,!0)}),l[i].valueKey?r.add(e[l[i].valueKey]):r.add(e),r.$input.typeahead("val","")},r))}r.$container.on("click",t.proxy(function(t){r.$element.attr("disabled")||r.$input.removeAttr("disabled"),r.$input.focus()},r)),r.options.addOnBlur&&r.options.freeInput&&r.$input.on("focusout",t.proxy(function(e){0===t(".typeahead, .twitter-typeahead",r.$container).length&&(r.add(r.$input.val()),r.$input.val(""))},r)),r.$container.on({focusin:function(){r.$container.addClass(r.options.focusClass)},focusout:function(){r.$container.removeClass(r.options.focusClass)}}),r.$container.on("keydown","input",t.proxy(function(e){var n=t(e.target),i=r.findInputWrapper();if(r.$element.attr("disabled"))r.$input.attr("disabled","disabled");else{switch(e.which){case 8:if(0===a(n[0])){var s=i.prev();s.length&&r.remove(s.data("item"))}break;case 46:if(0===a(n[0])){var o=i.next();o.length&&r.remove(o.data("item"))}break;case 37:var l=i.prev();0===n.val().length&&l[0]&&(l.before(i),n.focus());break;case 39:var c=i.next();0===n.val().length&&c[0]&&(c.after(i),n.focus())}var h=n.val().length,u=h+Math.ceil(h/5)+1;n.attr("size",Math.max(this.inputSize,u))}},r)),r.$container.on("keypress","input",t.proxy(function(e){var n=t(e.target);if(r.$element.attr("disabled"))r.$input.attr("disabled","disabled");else{var i,s,o,a=n.val(),l=r.options.maxChars&&a.length>=r.options.maxChars;r.options.freeInput&&(i=e,s=r.options.confirmKeys,o=!1,t.each(s,function(t,e){if("number"==typeof e&&i.which===e)return o=!0,!1;if(i.which===e.which){var n=!e.hasOwnProperty("altKey")||i.altKey===e.altKey,s=!e.hasOwnProperty("shiftKey")||i.shiftKey===e.shiftKey,r=!e.hasOwnProperty("ctrlKey")||i.ctrlKey===e.ctrlKey;if(n&&s&&r)return o=!0,!1}}),o||l)&&(0!==a.length&&(r.add(l?a.substr(0,r.options.maxChars):a),n.val("")),!1===r.options.cancelConfirmKeysOnEmpty&&e.preventDefault());var c=n.val().length,h=c+Math.ceil(c/5)+1;n.attr("size",Math.max(this.inputSize,h))}},r)),r.$container.on("click","[data-role=remove]",t.proxy(function(e){r.$element.attr("disabled")||r.remove(t(e.target).closest(".badge").data("item"))},r)),r.options.itemValue===e.itemValue&&("INPUT"===r.$element[0].tagName?r.add(r.$element.val()):t("option",r.$element).each(function(){r.add(t(this).attr("value"),!0)}))},destroy:function(){this.$container.off("keypress","input"),this.$container.off("click","[role=remove]"),this.$container.remove(),this.$element.removeData("tagsinput"),this.$element.show()},focus:function(){this.$input.focus()},input:function(){return this.$input},findInputWrapper:function(){for(var e=this.$input[0],n=this.$container[0];e&&e.parentNode!==n;)e=e.parentNode;return t(e)}},t.fn.tagsinput=function(e,i,s){var r=[];return this.each(function(){var o=t(this).data("tagsinput");if(o)if(e||i){if(void 0!==o[e]){if(3===o[e].length&&void 0!==s)var a=o[e](i,null,s);else a=o[e](i);void 0!==a&&r.push(a)}}else r.push(o);else o=new n(this,e),t(this).data("tagsinput",o),r.push(o),"SELECT"===this.tagName&&t("option",t(this)).attr("selected","selected"),t(this).val(t(this).val())}),"string"==typeof e?r.length>1?r:r[0]:r},t.fn.tagsinput.Constructor=n;var r=t("");function o(t){return t?r.text(t).html():""}function a(t){var e=0;if(document.selection){t.focus();var n=document.selection.createRange();n.moveStart("character",-t.value.length),e=n.text.length}else(t.selectionStart||"0"==t.selectionStart)&&(e=t.selectionStart);return e}t(function(){t("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery),function(t,e,n){e.onDomReady=n}(0,this,function(t){"use strict";function e(t){if(!w){if(!o.body)return s(e);for(w=!0;t=C.shift();)s(t)}}function n(t){(y||t.type===l||o[d]===u)&&(i(),e())}function i(){y?(o[b](m,n,c),t[b](l,n,c)):(o[p](v,n),t[p](h,n))}function s(t,e){setTimeout(t,+e>=0?e:1)}function r(t){w?s(t):C.push(t)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t,!1),document.readyState="complete"},!1),document.readyState="loading");var o=t.document,a=o.documentElement,l="load",c=!1,h="on"+l,u="complete",d="readyState",f="attachEvent",p="detachEvent",g="addEventListener",m="DOMContentLoaded",v="onreadystatechange",b="removeEventListener",y=g in o,_=c,w=c,C=[];if(o[d]===u)s(e);else if(y)o[g](m,n,c),t[g](l,n,c);else{o[f](v,n),t[f](h,n);try{_=null==t.frameElement&&a}catch(t){}_&&_.doScroll&&function t(){if(!w){try{_.doScroll("left")}catch(e){return s(t,50)}i(),e()}}()}return r.version="1.4.0",r.isReady=function(){return w},r}(this)),document.querySelectorAll||(document.querySelectorAll=function(t){var e,n=document.createElement("style"),i=[];for(document.documentElement.firstChild.appendChild(n),document._qsa=[],n.styleSheet.cssText=t+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",window.scrollBy(0,0),n.parentNode.removeChild(n);document._qsa.length;)(e=document._qsa.shift()).style.removeAttribute("x-qsa"),i.push(e);return document._qsa=null,i}),document.querySelector||(document.querySelector=function(t){var e=document.querySelectorAll(t);return e.length?e[0]:null}),document.getElementsByClassName||(document.getElementsByClassName=function(t){return t=String(t).replace(/^|\s+/g,"."),document.querySelectorAll(t)}),Object.keys||(Object.keys=function(t){if(t!==Object(t))throw TypeError("Object.keys called on non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}),function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.atob=t.atob||function(t){var n=0,i=[],s=0,r=0;if((t=(t=String(t)).replace(/\s/g,"")).length%4==0&&(t=t.replace(/=+$/,"")),t.length%4==1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(t))throw Error("InvalidCharacterError");for(;n>16&255)),i.push(String.fromCharCode(s>>8&255)),i.push(String.fromCharCode(255&s)),r=0,s=0),n+=1;return 12===r?(s>>=4,i.push(String.fromCharCode(255&s))):18===r&&(s>>=2,i.push(String.fromCharCode(s>>8&255)),i.push(String.fromCharCode(255&s))),i.join("")},t.btoa=t.btoa||function(t){t=String(t);var n,i,s,r,o,a,l,c=0,h=[];if(/[^\x00-\xFF]/.test(t))throw Error("InvalidCharacterError");for(;c>2,o=(3&n)<<4|(i=t.charCodeAt(c++))>>4,a=(15&i)<<2|(s=t.charCodeAt(c++))>>6,l=63&s,c===t.length+2?(a=64,l=64):c===t.length+1&&(l=64),h.push(e.charAt(r),e.charAt(o),e.charAt(a),e.charAt(l));return h.join("")}}(this),function(){function t(e,n,i){e.document;var s,r=e.currentStyle[n].match(/([\d\.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],o=r[1],a=r[2];return i=i?/%|em/.test(a)&&e.parentElement?t(e.parentElement,"fontSize",null):16:i,s="fontSize"==n?i:/width/i.test(n)?e.clientWidth:e.clientHeight,"%"==a?o/100*s:"cm"==a?.3937*o*96:"em"==a?o*i:"in"==a?96*o:"mm"==a?.3937*o*96/10:"pc"==a?12*o*96/72:"pt"==a?96*o/72:o}function e(t,e){var n="border"==e?"Width":"",i=e+"Top"+n,s=e+"Right"+n,r=e+"Bottom"+n,o=e+"Left"+n;t[e]=(t[i]==t[s]&&t[i]==t[r]&&t[i]==t[o]?[t[i]]:t[i]==t[r]&&t[o]==t[s]?[t[i],t[s]]:t[o]==t[s]?[t[i],t[s],t[r]]:[t[i],t[s],t[r],t[o]]).join(" ")}function n(n){var i,s=this,r=n.currentStyle,o=t(n,"fontSize"),a=function(t){return"-"+t.toLowerCase()};for(i in r)if(Array.prototype.push.call(s,"styleFloat"==i?"float":i.replace(/[A-Z]/,a)),"width"==i)s[i]=n.offsetWidth+"px";else if("height"==i)s[i]=n.offsetHeight+"px";else if("styleFloat"==i)s.float=r[i];else if(/margin.|padding.|border.+W/.test(i)&&"auto"!=s[i])s[i]=Math.round(t(n,i,o))+"px";else if(/^outline/.test(i))try{s[i]=r[i]}catch(t){s.outlineColor=r.color,s.outlineStyle=s.outlineStyle||"none",s.outlineWidth=s.outlineWidth||"0px",s.outline=[s.outlineColor,s.outlineWidth,s.outlineStyle].join(" ")}else s[i]=r[i];e(s,"margin"),e(s,"padding"),e(s,"border"),s.fontSize=Math.round(o)+"px"}window.getComputedStyle||(n.prototype={constructor:n,getPropertyPriority:function(){throw new Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(t){return this[t.replace(/-([a-z])/g,function(t){return(t=t.charAt?t.split(""):t)[1].toUpperCase()})]},item:function(t){return this[t]},removeProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw new Error("NotSupportedError: DOM Exception 9")}},window.getComputedStyle=function(t){return new n(t)})}(),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(t){var e=this.__proto__||this.constructor.prototype;return t in this&&(!(t in e)||e[t]!==this[t])}),function(t,e){t.augment=function(){"use strict";var t=function(){},e=Array.prototype.slice,n=function(n,i){var s=t.prototype="function"==typeof n?n.prototype:n,r=new t,o=i.apply(r,e.call(arguments,2).concat(s));if("object"==typeof o)for(var a in o)r[a]=o[a];if(!r.hasOwnProperty("constructor"))return r;var l=r.constructor;return l.prototype=r,l};return n.defclass=function(t){var e=t.constructor;return e.prototype=t,e},n.extend=function(t,e){return n(t,function(t){return this.uber=t,e})},n}()}(this),function(t,e){function n(t,e,n,r){var o=i(n.substr(n.lastIndexOf(t.domain)),t);o&&s(null,r,o,e)}function i(t,e){for(var n={theme:p(x.settings.themes.gray,null),stylesheets:e.stylesheets,holderURL:[]},i=!1,s=String.fromCharCode(11),r=t.replace(/([^\\])\//g,"$1"+s).split(s),o=/%[0-9a-f]{2}/gi,a=r.length,l=0;a>l;l++){var c=r[l];if(c.match(o))try{c=decodeURIComponent(c)}catch(t){c=r[l]}var h=!1;if(x.flags.dimensions.match(c))i=!0,n.dimensions=x.flags.dimensions.output(c),h=!0;else if(x.flags.fluid.match(c))i=!0,n.dimensions=x.flags.fluid.output(c),n.fluid=!0,h=!0;else if(x.flags.textmode.match(c))n.textmode=x.flags.textmode.output(c),h=!0;else if(x.flags.colors.match(c)){var u=x.flags.colors.output(c);n.theme=p(n.theme,u),h=!0}else if(e.themes[c])e.themes.hasOwnProperty(c)&&(n.theme=p(e.themes[c],null)),h=!0;else if(x.flags.font.match(c))n.font=x.flags.font.output(c),h=!0;else if(x.flags.auto.match(c))n.auto=!0,h=!0;else if(x.flags.text.match(c))n.text=x.flags.text.output(c),h=!0;else if(x.flags.random.match(c)){null==x.vars.cache.themeKeys&&(x.vars.cache.themeKeys=Object.keys(e.themes));var d=x.vars.cache.themeKeys[0|Math.random()*x.vars.cache.themeKeys.length];n.theme=p(e.themes[d],null),h=!0}h&&n.holderURL.push(c)}return n.holderURL.unshift(e.domain),n.holderURL=n.holderURL.join("/"),!!i&&n}function s(t,e,n,i){var s=n.dimensions,o=n.theme,l=s.width+"x"+s.height;if(t=null==t?n.fluid?"fluid":"image":t,null!=n.text&&(o.text=n.text,"object"===e.nodeName.toLowerCase())){for(var h=o.text.split("\\n"),d=0;d16?o.text.substring(0,16)+"…":o.text)+" ["+l+"]":l}),"image"==t?("html"!=g.renderer&&n.auto||(e.style.width=s.width+"px",e.style.height=s.height+"px"),"html"==g.renderer?e.style.backgroundColor=o.background:(r(t,{dimensions:s,theme:o,flags:n},e,g),n.textmode&&"exact"==n.textmode&&(x.vars.resizableImages.push(e),a(e)))):"background"==t&&"html"!=g.renderer?r(t,{dimensions:s,theme:o,flags:n},e,g):"fluid"==t&&("%"==s.height.slice(-1)?e.style.height=s.height:null!=n.auto&&n.auto||(e.style.height=s.height+"px"),"%"==s.width.slice(-1)?e.style.width=s.width:null!=n.auto&&n.auto||(e.style.width=s.width+"px"),("inline"==e.style.display||""===e.style.display||"none"==e.style.display)&&(e.style.display="block"),c(e),"html"==g.renderer?e.style.backgroundColor=o.background:(x.vars.resizableImages.push(e),a(e)))}function r(t,e,n,i){function s(){var t=null;switch(i.renderer){case"canvas":t=D(l);break;case"svg":t=E(l,i);break;default:throw"Holder: invalid renderer: "+i.renderer}return t}var r;switch(i.renderer){case"svg":if(!x.setup.supportsSVG)return;break;case"canvas":if(!x.setup.supportsCanvas)return;break;default:return}var a={width:e.dimensions.width,height:e.dimensions.height,theme:e.theme,flags:e.flags},l=o(a);if(a.font.size,a.font.family,a.font.weight,null==(r=s()))throw"Holder: couldn't render placeholder";"background"==t?(n.style.backgroundImage="url("+r+")",n.style.backgroundSize=a.width+"px "+a.height+"px"):("img"===n.nodeName.toLowerCase()?u(n,{src:r}):"object"===n.nodeName.toLowerCase()&&(u(n,{data:r}),u(n,{type:"image/svg+xml"})),i.reRender&&setTimeout(function(){var t=s();if(null==t)throw"Holder: couldn't render placeholder";"img"===n.nodeName.toLowerCase()?u(n,{src:t}):"object"===n.nodeName.toLowerCase()&&(u(n,{data:t}),u(n,{type:"image/svg+xml"}))},100)),u(n,{"data-holder-rendered":!0})}function o(t){function e(t,e,n,i){e.width=n,e.height=i,t.width=Math.max(t.width,e.width),t.height+=e.height,t.add(e)}switch(t.font={family:t.theme.font?t.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:function(t,e,n){e=parseInt(e,10),t=parseInt(t,10);var i=Math.max(e,t),s=Math.min(e,t),r=x.defaults.scale,o=Math.min(.75*s,.75*i*r);return Math.round(Math.max(n,o))}(t.width,t.height,t.theme.size?t.theme.size:x.defaults.size),units:t.theme.units?t.theme.units:x.defaults.units,weight:t.theme.fontweight?t.theme.fontweight:"bold"},t.text=t.theme.text?t.theme.text:Math.floor(t.width)+"x"+Math.floor(t.height),t.flags.textmode){case"literal":t.text=t.flags.dimensions.width+"x"+t.flags.dimensions.height;break;case"exact":if(!t.flags.exactDimensions)break;t.text=Math.floor(t.flags.exactDimensions.width)+"x"+Math.floor(t.flags.exactDimensions.height)}var n=new I({width:t.width,height:t.height}),i=n.Shape,s=new i.Rect("holderBg",{fill:t.theme.background});s.resize(t.width,t.height),n.root.add(s);var r=new i.Group("holderTextGroup",{text:t.text,align:"center",font:t.font,fill:t.theme.foreground});r.moveTo(null,null,1),n.root.add(r);var o=r.textPositionData=T(n);if(!o)throw"Holder: staging fallback not supported yet.";r.properties.leading=o.boundingBox.height;var a=null,l=null;if(o.lineCount>1){var c=0,h=0,u=t.width*x.setup.lineWrapRatio,d=0;l=new i.Group("line"+d);for(var f=0;f=u||!0===g)&&(e(r,l,c,r.properties.leading),c=0,h+=r.properties.leading,d+=1,(l=new i.Group("line"+d)).y=h),!0!==g&&(a.moveTo(c,0),c+=o.spaceWidth+p.width,l.add(a))}for(var m in e(r,l,c,r.properties.leading),r.children)(l=r.children[m]).moveTo((r.width-l.width)/2,null,null);r.moveTo((t.width-r.width)/2,(t.height-r.height)/2,null),(t.height-r.height)/2<0&&r.moveTo(null,0,null)}else a=new i.Text(t.text),(l=new i.Group("line0")).add(a),r.add(l),r.moveTo((t.width-o.boundingBox.width)/2,(t.height-o.boundingBox.height)/2,null);return n}function a(t){var e;for(var n in e=null==t||null==t.nodeType?x.vars.resizableImages:[t])if(e.hasOwnProperty(n)){var i=e[n];if(i.holderData){var s=i.holderData.flags,o=l(i,S.invisibleErrorFn(a));if(o){if(s.fluid&&s.auto){var c=i.holderData.fluidConfig;switch(c.mode){case"width":o.height=o.width/c.ratio;break;case"height":o.width=o.height*c.ratio}}var h={dimensions:o,theme:s.theme,flags:s};s.textmode&&"exact"==s.textmode&&(s.exactDimensions=o,h.dimensions=s.dimensions),r("image",h,i,i.holderData.renderSettings)}}}}function l(t,e){var n={height:t.clientHeight,width:t.clientWidth};return n.height||n.width?(t.removeAttribute("data-holder-invisible"),n):(u(t,{"data-holder-invisible":!0}),void e.call(this,t))}function c(t){if(t.holderData){var e=l(t,S.invisibleErrorFn(c));if(e){var n=t.holderData.flags,i={fluidHeight:"%"==n.dimensions.height.slice(-1),fluidWidth:"%"==n.dimensions.width.slice(-1),mode:null,initialDimensions:e};i.fluidWidth&&!i.fluidHeight?(i.mode="width",i.ratio=i.initialDimensions.width/parseFloat(n.dimensions.height)):!i.fluidWidth&&i.fluidHeight&&(i.mode="height",i.ratio=parseFloat(n.dimensions.width)/i.initialDimensions.height),t.holderData.fluidConfig=i}}}function h(t,e){return null==e?C.createElement(t):C.createElementNS(e,t)}function u(t,e){for(var n in e)t.setAttribute(n,e[n])}function d(t,e,n){if(null==t){t=h("svg",w);var i=h("defs",w);t.appendChild(i)}return t.webkitMatchesSelector&&t.setAttribute("xmlns",w),u(t,{width:e,height:n,viewBox:"0 0 "+e+" "+n,preserveAspectRatio:"none"}),t}function f(t,n){if(e.XMLSerializer){var i=new XMLSerializer,s="",r=n.stylesheets;if(t.querySelector("defs"),n.svgXMLStylesheet){for(var o=(new DOMParser).parseFromString("","application/xml"),a=r.length-1;a>=0;a--){var l=o.createProcessingInstruction("xml-stylesheet",'href="'+r[a]+'" rel="stylesheet"');o.insertBefore(l,o.firstChild)}var c=o.createProcessingInstruction("xml",'version="1.0" encoding="UTF-8" standalone="yes"');o.insertBefore(c,o.firstChild),o.removeChild(o.documentElement),s=i.serializeToString(o)}var h=i.serializeToString(t);return s+(h=h.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"))}}function p(t,e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);if(null!=e)for(var s in e)e.hasOwnProperty(s)&&(n[s]=e[s]);return n}function g(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n+":"+t[n]);return e.join(";")}function m(){!function(t){x.vars.debounceTimer||t.call(this),x.vars.debounceTimer&&clearTimeout(x.vars.debounceTimer),x.vars.debounceTimer=setTimeout(function(){x.vars.debounceTimer=null,t.call(this)},x.setup.debounce)}(function(){a(null)})}function v(t){var n=null;return"string"==typeof t?n=C.querySelectorAll(t):e.NodeList&&t instanceof e.NodeList?n=t:e.Node&&t instanceof e.Node?n=[t]:e.HTMLCollection&&t instanceof e.HTMLCollection?n=t:null===t&&(n=[]),n}function b(t,e){var n=new Image;n.onerror=function(){e.call(this,!1)},n.onload=function(){e.call(this,!0)},n.src=t}function y(t){for(var e=[],n=0,i=t.length-1;i>=0;i--)(n=t.charCodeAt(i))>128?e.unshift(["",n,";"].join("")):e.unshift(t[i]);return e.join("")}function _(t){return t.replace(/(\d+);/g,function(t,e){return String.fromCharCode(e)})}var w="http://www.w3.org/2000/svg",C=e.document,S={addTheme:function(t,e){return null!=t&&null!=e&&(x.settings.themes[t]=e),delete x.vars.cache.themeKeys,this},addImage:function(t,e){var n=C.querySelectorAll(e);if(n.length)for(var i=0,s=n.length;s>i;i++){var r=h("img");u(r,{"data-src":t}),n[i].appendChild(r)}return this},run:function(t){t=t||{};var r={};x.vars.preempted=!0;var o=p(x.settings,t);r.renderer=o.renderer?o.renderer:x.setup.renderer,-1===x.setup.renderers.join(",").indexOf(r.renderer)&&(r.renderer=x.setup.supportsSVG?"svg":x.setup.supportsCanvas?"canvas":"html"),o.use_canvas?r.renderer="canvas":o.use_svg&&(r.renderer="svg");var a=v(o.images),l=v(o.bgnodes),c=v(o.stylenodes),u=v(o.objects);r.stylesheets=[],r.svgXMLStylesheet=!0,r.noFontFallback=!!o.noFontFallback&&o.noFontFallback;for(var d=0;d1){n.nodeValue="";for(var y=0;y=this.maxSize&&(this.list.remove(i),delete this.hash[i.key]),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new function(t,e){this.key=t,this.val=e,this.prev=this.next=null}(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val},reset:function(){this.size=0,this.hash={},this.list=new i}}),e.mixin(i.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),n}(),r=function(){"use strict";var t,n;try{(t=window.localStorage).setItem("~~~","!"),t.removeItem("~~~")}catch(e){t=null}function i(t){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+e.escapeRegExChars(this.prefix))}return n=t&&window.JSON?{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},get:function(e){return this.isExpired(e)&&this.remove(e),o(t.getItem(this._prefix(e)))},set:function(n,i,o){return e.isNumber(o)?t.setItem(this._ttlKey(n),r(s()+o)):t.removeItem(this._ttlKey(n)),t.setItem(this._prefix(n),r(i))},remove:function(e){return t.removeItem(this._ttlKey(e)),t.removeItem(this._prefix(e)),this},clear:function(){var e,n,i=[],s=t.length;for(e=0;ei)}}:{get:e.noop,set:e.noop,remove:e.noop,clear:e.noop,isExpired:e.noop},e.mixin(i.prototype,n),i;function s(){return(new Date).getTime()}function r(t){return JSON.stringify(e.isUndefined(t)?null:t)}function o(t){return JSON.parse(t)}}(),o=function(){"use strict";var n=0,i={},r=6,o=new s(10);function a(n){var i;n=n||{},this.cancelled=!1,this.lastUrl=null,this._send=n.transport?(i=n.transport,function(n,s){var r=t.Deferred();return i(n,s,function(t){e.defer(function(){r.resolve(t)})},function(t){e.defer(function(){r.reject(t)})}),r}):t.ajax,this._get=n.rateLimiter?n.rateLimiter(this._get):this._get,this._cache=!1===n.cache?new s(0):o}return a.setMaxPendingRequests=function(t){r=t},a.resetCache=function(){o.reset()},e.mixin(a.prototype,{_get:function(t,e,s){var o,a=this;function l(e){s&&s(null,e),a._cache.set(t,e)}function c(){s&&s(!0)}this.cancelled||t!==this.lastUrl||((o=i[t])?o.done(l).fail(c):ne[i]?i++:(s.push(t[n]),n++,i++);return s;function a(t,e){return t-e}}(s,o):o}),s?e.map(function(t){for(var e={},n=[],i=0,s=t.length;i0||!this.transport)&&n&&n(s)},clear:function(){this.index.reset()},clearPrefetchCache:function(){this.storage&&this.storage.clear()},clearRemoteCache:function(){this.transport&&o.resetCache()},ttAdapter:function(){return e.bind(this.get,this)}}),h;function u(){return!1}}(this);var c={wrapper:'',dropdown:'',dataset:'',suggestions:'',suggestion:''},h=function(){"use strict";var t={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return e.isMsie()&&e.mixin(t.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),e.isMsie()&&e.isMsie()<=7&&e.mixin(t.input,{marginTop:"-1px"}),t}(),u=function(){"use strict";function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}return e.mixin(n.prototype,{trigger:function(t){var e=[].slice.call(arguments,1);this.$el.trigger("typeahead:"+t,e)}}),n}(),d=function(){"use strict";var t=/\s+/,e=function(){var t;t=window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)};return t}();return{onSync:function(t,e,i){return n.call(this,"sync",t,e,i)},onAsync:function(t,e,i){return n.call(this,"async",t,e,i)},off:function(e){var n;if(!this._callbacks)return this;e=e.split(t);for(;n=e.shift();)delete this._callbacks[n];return this},trigger:function(n){var s,r,o,a,l;if(!this._callbacks)return this;n=n.split(t),o=[].slice.call(arguments,1);for(;(s=n.shift())&&(r=this._callbacks[s]);)a=i(r.sync,this,[s].concat(o)),l=i(r.async,this,[s].concat(o)),a()&&e(l);return this}};function n(e,n,i,s){var r;if(!i)return this;for(n=n.split(t),i=s?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(i,s):i,this._callbacks=this._callbacks||{};r=n.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][e].push(i);return this}function i(t,e,n){return function(){for(var i,s=0,r=t.length;!i&&s').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:l.css("font-family"),fontSize:l.css("font-size"),fontStyle:l.css("font-style"),fontVariant:l.css("font-variant"),fontWeight:l.css("font-weight"),wordSpacing:l.css("word-spacing"),letterSpacing:l.css("letter-spacing"),textIndent:l.css("text-indent"),textRendering:l.css("text-rendering"),textTransform:l.css("text-transform")}).insertAfter(l))}return n={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},i.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},e.mixin(i.prototype,d,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=n[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,r;switch(t){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!s(e);break;case"up":case"down":n=!s(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;switch(t){case"tab":n=!s(e);break;default:n=!0}return n},_checkInputValue:function(){var t,e,n,s,r;t=this.getInputValue(),s=t,r=this.query,n=!!(e=i.normalizeQuery(s)===i.normalizeQuery(r))&&this.query.length!==t.length,this.query=t,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){this.$input.val(t),e?this.clearHint():this._checkInputValue()},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),!(""!==t&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,n,i;return t=this.$input.val().length,n=this.$input[0].selectionStart,e.isNumber(n)?n===t:!document.selection||((i=document.selection.createRange()).moveStart("character",-t),t===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),i;function s(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}}(),g=function(){"use strict";var n="ttDataset",i="ttValue",s="ttDatum";function r(n){var i;(n=n||{}).templates=n.templates||{},n.source||t.error("missing source"),n.name&&(i=n.name,!/^[_a-zA-Z0-9-]+$/.test(i))&&t.error("invalid dataset name: "+n.name),this.query=null,this.highlight=!!n.highlight,this.name=n.name||e.getUniqueId(),this.source=n.source,this.displayFn=function(t){return t=t||"value",e.isFunction(t)?t:function(e){return e[t]}}(n.display||n.displayKey),this.templates=function(t,n){return{empty:t.empty&&e.templatify(t.empty),header:t.header&&e.templatify(t.header),footer:t.footer&&e.templatify(t.footer),suggestion:t.suggestion||function(t){return""+n(t)+"
"}}}(n.templates,this.displayFn),this.$el=t(c.dataset.replace("%CLASS%",this.name))}return r.extractDatasetName=function(e){return t(e).data(n)},r.extractValue=function(e){return t(e).data(i)},r.extractDatum=function(e){return t(e).data(s)},e.mixin(r.prototype,d,{_render:function(r,o){if(this.$el){var a,l=this;this.$el.empty(),!(a=o&&o.length)&&this.templates.empty?this.$el.html(l.templates.empty({query:r,isEmpty:!0})).prepend(l.templates.header?u():null).append(l.templates.footer?d():null):a&&this.$el.html(function(){var a,u;return a=t(c.suggestions).css(h.suggestions),u=e.map(o,function(e){var r;return(r=t(c.suggestion).append(l.templates.suggestion(e)).data(n,l.name).data(i,l.displayFn(e)).data(s,e)).children().each(function(){t(this).css(h.suggestionChild)}),r}),a.append.apply(a,u),l.highlight&&f({className:"tt-highlight",node:a[0],pattern:r}),a}()).prepend(l.templates.header?u():null).append(l.templates.footer?d():null),this.trigger("rendered")}function u(){return l.templates.header({query:r,isEmpty:!a})}function d(){return l.templates.footer({query:r,isEmpty:!a})}},getRoot:function(){return this.$el},update:function(t){var e=this;this.query=t,this.canceled=!1,this.source(t,function(n){e.canceled||t!==e.query||e._render(t,n)})},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),r}(),m=function(){"use strict";function n(n){var s,r,o,a=this;(n=n||{}).menu||t.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.datasets=e.map(n.datasets,i),s=e.bind(this._onSuggestionClick,this),r=e.bind(this._onSuggestionMouseEnter,this),o=e.bind(this._onSuggestionMouseLeave,this),this.$menu=t(n.menu).on("click.tt",".tt-suggestion",s).on("mouseenter.tt",".tt-suggestion",r).on("mouseleave.tt",".tt-suggestion",o),e.each(this.datasets,function(t){a.$menu.append(t.getRoot()),t.onSync("rendered",a._onRendered,a)})}return e.mixin(n.prototype,d,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",t(e.currentTarget))},_onSuggestionMouseEnter:function(e){this._removeCursor(),this._setCursor(t(e.currentTarget),!0)},_onSuggestionMouseLeave:function(){this._removeCursor()},_onRendered:function(){this.isEmpty=e.every(this.datasets,function(t){return t.isEmpty()}),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(t,e){t.first().addClass("tt-cursor"),!e&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(t){var e,n,i,s;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(s=e.eq(i)),this._ensureVisible(s)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,s;n=(e=t.position().top)+t.outerHeight(!0),i=this.$menu.scrollTop(),s=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),e<0?this.$menu.scrollTop(i+e):s0,e.isMsie()&&(i||o)&&(t.preventDefault(),t.stopImmediatePropagation(),e.defer(function(){r.focus()}))}),s.on("mousedown.tt",function(t){t.preventDefault()}),this.eventBus=i.eventBus||new u({el:r}),this.dropdown=new m({menu:s,datasets:i.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new p({input:r,hint:o}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._setLanguageDirection()}return e.mixin(i.prototype,{_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n)},_onCursorMoved:function(){var t=this.dropdown.getDatumForCursor();this.input.setInputValue(t.value,!0),this.eventBus.trigger("cursorchanged",t.raw,t.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.isActivated=!0,this.dropdown.open()},_onBlurred:function(){this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),n?(this._select(n),e.preventDefault()):this.autoselect&&i&&(this._select(i),e.preventDefault())},_onTabKeyed:function(t,e){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n),e.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t;this.dir!==(t=this.input.getLanguageDirection())&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,n,i,s,r;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(n=this.input.getInputValue(),i=p.normalizeQuery(n),s=e.escapeRegExChars(i),(r=new RegExp("^(?:"+s+")(.+$)","i").exec(t.value))?this.input.setHint(n+r[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,i,s;e=this.input.getHint(),n=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),e&&n!==e&&i&&((s=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(s.value),this.eventBus.trigger("autocompleted",s.raw,s.datasetName))},_select:function(t){this.input.setQuery(t.value),this.input.setInputValue(t.value,!0),this._setLanguageDirection(),this.eventBus.trigger("selected",t.raw,t.datasetName),this.dropdown.close(),e.defer(e.bind(this.dropdown.empty,this.dropdown))},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=e.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){var t,i;this.input.destroy(),this.dropdown.destroy(),t=this.$node,i=t.find(".tt-input"),e.each(i.data(n),function(t,n){e.isUndefined(t)?i.removeAttr(n):i.attr(n,t)}),i.detach().removeData(n).removeClass("tt-input").insertAfter(t),t.remove(),this.$node=null}}),i}();!function(){"use strict";var n,i,s;n=t.fn.typeahead,i="ttTypeahead",s={initialize:function(n,s){return s=e.isArray(s)?s:[].slice.call(arguments,1),n=n||{},this.each(function(){var r,o=t(this);e.each(s,function(t){t.highlight=!!n.highlight}),r=new v({input:o,eventBus:new u({el:o}),withHint:!!e.isUndefined(n.hint)||!!n.hint,minLength:n.minLength,autoselect:n.autoselect,datasets:s}),o.data(i,r)})},open:function(){return this.each(function(){var e,n=t(this);(e=n.data(i))&&e.open()})},close:function(){return this.each(function(){var e,n=t(this);(e=n.data(i))&&e.close()})},val:function(e){return arguments.length?this.each(function(){var n,s=t(this);(n=s.data(i))&&n.setVal(e)}):function(t){var e,n;(e=t.data(i))&&(n=e.getVal());return n}(this.first())},destroy:function(){return this.each(function(){var e,n=t(this);(e=n.data(i))&&(e.destroy(),n.removeData(i))})}},t.fn.typeahead=function(e){var n;return s[e]&&"initialize"!==e?(n=this.filter(function(){return!!t(this).data(i)}),s[e].apply(n,[].slice.call(arguments,1))):s.initialize.apply(this,arguments)},t.fn.typeahead.noConflict=function(){return t.fn.typeahead=n,this}}()}(window.jQuery),function(t,e,n){var i,s,r="[object OperaMini]"==Object.prototype.toString.call(t.operamini),o="placeholder"in e.createElement("input")&&!r,a="placeholder"in e.createElement("textarea")&&!r,l=n.fn,c=n.valHooks,h=n.propHooks;function u(t,e){var i=n(this);if(this.value==i.attr("placeholder")&&i.hasClass("placeholder"))if(i.data("placeholder-password")){if(i=i.hide().next().show().attr("id",i.removeAttr("id").data("placeholder-id")),!0===t)return i[0].value=e;i.focus()}else this.value="",i.removeClass("placeholder"),this==f()&&this.select()}function d(){var t,e,i,s,r=n(this),o=this.id;if(""==this.value){if("password"==this.type){if(!r.data("placeholder-textinput")){try{t=r.clone().attr({type:"text"})}catch(r){t=n("").attr(n.extend((e=this,i={},s=/^jQuery\d+$/,n.each(e.attributes,function(t,e){e.specified&&!s.test(e.name)&&(i[e.name]=e.value)}),i),{type:"text"}))}t.removeAttr("name").data({"placeholder-password":r,"placeholder-id":o}).bind("focus.placeholder",u),r.data({"placeholder-textinput":t,"placeholder-id":o}).before(t)}r=r.removeAttr("id").hide().prev().attr("id",o).show()}r.addClass("placeholder"),r[0].value=r.attr("placeholder")}else r.removeClass("placeholder")}function f(){try{return e.activeElement}catch(t){}}o&&a?(s=l.placeholder=function(){return this}).input=s.textarea=!0:((s=l.placeholder=function(){return this.filter((o?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":u,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=o,s.textarea=a,i={get:function(t){var e=n(t),i=e.data("placeholder-password");return i?i[0].value:e.data("placeholder-enabled")&&e.hasClass("placeholder")?"":t.value},set:function(t,e){var i=n(t),s=i.data("placeholder-password");return s?s[0].value=e:i.data("placeholder-enabled")?(""==e?(t.value=e,t!=f()&&d.call(t)):i.hasClass("placeholder")&&u.call(t,!0,e)||(t.value=e),i):t.value=e}},o||(c.input=i,h.value=i),a||(c.textarea=i,h.value=i),n(function(){n(e).delegate("form","submit.placeholder",function(){var t=n(".placeholder",this).each(u);setTimeout(function(){t.each(d)},10)})}),n(t).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(t){void 0===t.fn.each2&&t.extend(t.fn,{each2:function(e){for(var n=t([0]),i=-1,s=this.length;++i=112&&t<=123}},d="",f={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};a=t(document),c=1,r=function(){return c++},i=N(n=N(Object,{bind:function(t){var e=this;return function(){t.apply(e,arguments)}},init:function(n){var i,s;this.opts=n=this.prepareOpts(n),this.id=n.id,n.element.data("select2")!==e&&null!==n.element.data("select2")&&n.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=t(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=t("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(n.element.attr("id")||"autogen"+r()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",n.element.attr("title")),this.body=t(document.body),S(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",n.element.attr("style")),this.container.css(k(n.containerCss,this.opts.element)),this.container.addClass(k(n.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",C),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),S(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(k(n.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",C),this.results=i=this.container.find(".select2-results"),this.search=s=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",C),this.results.on("mousemove",function(n){var i=h;i!==e&&i.x===n.pageX&&i.y===n.pageY||t(n.target).trigger("mousemove-filtered",n)}),this.dropdown.on("mousemove-filtered",".select2-results",this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",".select2-results",this.bind(function(t){this._touchEvent=!0,this.highlightUnderEvent(t)})),this.dropdown.on("touchmove",".select2-results",this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",".select2-results",this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(t){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),function(t,e){var n=w(t,function(t){e.trigger("scroll-debounced",t)});e.on("scroll",function(t){m(t.target,e.get())>=0&&n(t)})}(80,this.results),this.dropdown.on("scroll-debounced",".select2-results",this.bind(this.loadMoreIfNeeded)),t(this.container).on("change",".select2-input",function(t){t.stopPropagation()}),t(this.dropdown).on("change",".select2-input",function(t){t.stopPropagation()}),t.fn.mousewheel&&i.mousewheel(function(t,e,n,s){var r=i.scrollTop();s>0&&r-s<=0?(i.scrollTop(0),C(t)):s<0&&i.get(0).scrollHeight-i.scrollTop()+s<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),C(t))}),_(s),s.on("keyup-change input paste",this.bind(this.updateResults)),s.on("focus",function(){s.addClass("select2-focused")}),s.on("blur",function(){s.removeClass("select2-focused")}),this.dropdown.on("mouseup",".select2-results",this.bind(function(e){t(e.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(e),this.selectHighlighted(e))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(t){t.stopPropagation()}),this.nextSearchTerm=e,t.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==n.maximumInputLength&&this.search.attr("maxlength",n.maximumInputLength);var o=n.element.prop("disabled");o===e&&(o=!1),this.enable(!o);var a=n.element.prop("readonly");a===e&&(a=!1),this.readonly(a),l=l||function(){var e=t(d);e.appendTo(document.body);var n={width:e.width()-e[0].clientWidth,height:e.height()-e[0].clientHeight};return e.remove(),n}(),this.autofocus=n.element.prop("autofocus"),n.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",n.searchInputPlaceholder)},destroy:function(){var t=this.opts.element,n=t.data("select2"),i=this;this.close(),t.length&&t[0].detachEvent&&i._sync&&t.each(function(){i._sync&&this.detachEvent("onpropertychange",i._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,n!==e&&(n.container.remove(),n.liveRegion.remove(),n.dropdown.remove(),t.show().removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?t.attr({tabindex:this.elementTabIndex}):t.removeAttr("tabindex"),t.show()),O.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(t){return t.is("option")?{id:t.prop("value"),text:t.text(),element:t.get(),css:t.attr("class"),disabled:t.prop("disabled"),locked:v(t.attr("locked"),"locked")||v(t.data("locked"),!0)}:t.is("optgroup")?{text:t.attr("label"),children:[],element:t.get(),css:t.attr("class")}:void 0},prepareOpts:function(n){var i,s,o,a,l=this;if("select"===(i=n.element).get(0).tagName.toLowerCase()&&(this.select=s=n.element),s&&t.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in n)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a "),n.push(i(t.substring(s+r,t.length))))}function T(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})}function D(n){var i,s=null,r=n.quietMillis||100,o=n.url,a=this;return function(l){window.clearTimeout(i),i=window.setTimeout(function(){var i=n.data,r=o,c=n.transport||t.fn.select2.ajaxDefaults.transport,h={type:n.type||"GET",cache:n.cache||!1,jsonpCallback:n.jsonpCallback||e,dataType:n.dataType||"json"},u=t.extend({},t.fn.select2.ajaxDefaults.params,h);i=i?i.call(a,l.term,l.page,l.context):null,r="function"==typeof r?r.call(a,l.term,l.page,l.context):r,s&&"function"==typeof s.abort&&s.abort(),n.params&&(t.isFunction(n.params)?t.extend(u,n.params.call(a)):t.extend(u,n.params)),t.extend(u,{url:r,dataType:n.dataType,data:i,success:function(t){var e=n.results(t,l.page,l);l.callback(e)},error:function(t,e,n){var i={hasError:!0,jqXHR:t,textStatus:e,errorThrown:n};l.callback(i)}}),s=c.call(a,u)},r)}}function E(e){var n,i,s=e,r=function(t){return""+t.text};t.isArray(s)&&(s={results:i=s}),!1===t.isFunction(s)&&(i=s,s=function(){return i});var o=s();return o.text&&(r=o.text,t.isFunction(r)||(n=o.text,r=function(t){return t[n]})),function(e){var n,i=e.term,o={results:[]};""!==i?(n=function(s,o){var a,l;if((s=s[0]).children){for(l in a={},s)s.hasOwnProperty(l)&&(a[l]=s[l]);a.children=[],t(s.children).each2(function(t,e){n(e,a.children)}),(a.children.length||e.matcher(i,r(a),s))&&o.push(a)}else e.matcher(i,r(s),s)&&o.push(s)},t(s().results).each2(function(t,e){n(e,o.results)}),e.callback(o)):e.callback(s())}}function I(n){var i=t.isFunction(n);return function(s){var r=s.term,o={results:[]},a=i?n(s):n;t.isArray(a)&&(t(a).each(function(){var t=this.text!==e,n=t?this.text:this;(""===r||s.matcher(r,n))&&o.results.push(t?this:{id:this,text:this})}),s.callback(o))}}function A(e,n){if(t.isFunction(e))return!0;if(!e)return!1;if("string"==typeof e)return!0;throw new Error(n+" must be a string, function, or falsy value")}function k(e,n){if(t.isFunction(e)){var i=Array.prototype.slice.call(arguments,2);return e.apply(n,i)}return e}function O(){var e=this;t.each(arguments,function(t,n){e[n].remove(),e[n]=null})}function N(e,n){var i=function(){};return(i.prototype=new e).constructor=i,i.prototype.parent=e.prototype,i.prototype=t.extend(i.prototype,n),i}}(jQuery),function(t,e,n){!function(t){"use strict";"function"==typeof define&&define.amd?define("datatables",["jquery"],t):"object"==typeof exports?t(require("jquery")):jQuery&&!jQuery.fn.dataTable&&t(jQuery)}(function(i){"use strict";var s,r,o,a,l,c={},h=/[\r\n]/g,u=/<.*?>/g,d=/^[\w\+\-]/,f=/[\w\+\-]$/,p=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),g=/[',$£€¥%\u2009\u202F]/g,m=function(t){return!t||!0===t||"-"===t},v=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},b=function(t,e){return c[e]||(c[e]=new RegExp(xt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(c[e],"."):t},y=function(t,e,n){var i="string"==typeof t;return e&&i&&(t=b(t,e)),n&&i&&(t=t.replace(g,"")),m(t)||!isNaN(parseFloat(t))&&isFinite(t)},_=function(t,e,n){return!!m(t)||(function(t){return m(t)||"string"==typeof t}(t)&&!!y(T(t),e,n)||null)},w=function(t,e,i){var s=[],r=0,o=t.length;if(i!==n)for(;r").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(i("").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(i('').css({width:"100%",height:10}))).appendTo("body"),s=n.find(".test");e.bScrollOversize=100===s[0].offsetWidth,e.bScrollbarLeft=1!==s.offset().left,n.remove()}function L(t,e,i,s,r,o){var a,l=s,c=!1;for(i!==n&&(a=i,c=!0);l!==r;)t.hasOwnProperty(l)&&(a=c?e(a,t[l],l,t):t[l],c=!0,l+=o);return a}function R(t,n){var r=s.defaults.column,o=t.aoColumns.length,a=i.extend({},s.models.oColumn,r,{nTh:n||e.createElement("th"),sTitle:r.sTitle?r.sTitle:n?n.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[o],mData:r.mData?r.mData:o,idx:o});t.aoColumns.push(a);var l=t.aoPreSearchCols;l[o]=i.extend({},s.models.oSearch,l[o]),F(t,o,null)}function F(t,e,r){var o=t.aoColumns[e],a=t.oClasses,l=i(o.nTh);if(!o.sWidthOrig){o.sWidthOrig=l.attr("width")||null;var c=(l.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);c&&(o.sWidthOrig=c[1])}r!==n&&null!==r&&(N(r),I(s.defaults.column,r),r.mDataProp===n||r.mData||(r.mData=r.mDataProp),r.sType&&(o._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),i.extend(o,r),he(o,r,"sWidth","sWidthOrig"),"number"==typeof r.iDataSort&&(o.aDataSort=[r.iDataSort]),he(o,r,"aDataSort"));var h=o.mData,u=J(h),d=o.mRender?J(o.mRender):null,f=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};o._bAttrSrc=i.isPlainObject(h)&&(f(h.sort)||f(h.type)||f(h.filter)),o.fnGetData=function(t,e,i){var s=u(t,e,n,i);return d&&e?d(s,e,t,i):s},o.fnSetData=function(t,e,n){return X(h)(t,e,n)},"number"!=typeof h&&(t._rowReadObject=!0),t.oFeatures.bSort||(o.bSortable=!1,l.addClass(a.sSortableNone));var p=-1!==i.inArray("asc",o.asSorting),g=-1!==i.inArray("desc",o.asSorting);o.bSortable&&(p||g)?p&&!g?(o.sSortingClass=a.sSortableAsc,o.sSortingClassJUI=a.sSortJUIAscAllowed):!p&&g?(o.sSortingClass=a.sSortableDesc,o.sSortingClassJUI=a.sSortJUIDescAllowed):(o.sSortingClass=a.sSortable,o.sSortingClassJUI=a.sSortJUI):(o.sSortingClass=a.sSortableNone,o.sSortingClassJUI="")}function j(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;zt(t);for(var n=0,i=e.length;n=0;o--){var p=(d=e[o]).targets!==n?d.targets:d.aTargets;for(i.isArray(p)||(p=[p]),l=0,c=p.length;l=0){for(;f.length<=p[l];)R(t);r(p[l],d)}else if("number"==typeof p[l]&&p[l]<0)r(f.length+p[l],d);else if("string"==typeof p[l])for(h=0,u=f.length;he&&t[r]--;-1!=s&&i===n&&t.splice(s,1)}function nt(t,e,i,s){var r,o,a=t.aoData[e],l=function(n,i){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=K(t,e,i,"display")};if("dom"!==i&&(i&&"auto"!==i||"dom"!==a.src)){var c=a.anCells;if(c)if(s!==n)l(c[s],s);else for(r=0,o=c.length;r").appendTo(a)),e=0,n=u.length;etr").attr("role","row"),i(a).find(">tr>th, >tr>td").addClass(h.sHeaderTH),i(l).find(">tr>th, >tr>td").addClass(h.sFooterTH),null!==l){var d=t.aoFooter[0];for(e=0,n=d.length;e=0;a--)t.aoColumns[a].bVisible||s||p[r].splice(a,1);g.push([])}for(r=0,o=p.length;r=t.fnRecordsDisplay()?0:c,t.iInitDisplayStart=-1);var d=t._iDisplayStart,f=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,$t(t,!1);else if(h){if(!t.bDestroying&&!pt(t))return}else t.iDraw++;if(0!==u.length)for(var p=h?0:d,g=h?t.aoData.length:f,m=p;m",{class:a?o[0]:""}).append(i(" | ",{valign:"top",colSpan:$(t),class:t.oClasses.sRowEmpty}).html(w))[0]}pe(t,"aoHeaderCallback","header",[i(t.nTHead).children("tr")[0],Z(t),d,f,u]),pe(t,"aoFooterCallback","footer",[i(t.nTFoot).children("tr")[0],Z(t),d,f,u]);var C=i(t.nTBody);C.children().detach(),C.append(i(s)),pe(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}else $t(t,!1)}function ct(t,e){var n=t.oFeatures,i=n.bSort,s=n.bFilter;i&&te(t),s?yt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,lt(t),t._drawHold=!1}function ht(t){var e=t.oClasses,n=i(t.nTable),r=i("").insertBefore(n),o=t.oFeatures,a=i("",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=r[0],t.nTableWrapper=a[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var l,c,h,u,d,f,p=t.sDom.split(""),g=0;g")[0],"'"==(u=p[g+1])||'"'==u){for(d="",f=2;p[g+f]!=u;)d+=p[g+f],f++;if("H"==d?d=e.sJUIHeader:"F"==d&&(d=e.sJUIFooter),-1!=d.indexOf(".")){var m=d.split(".");h.id=m[0].substr(1,m[0].length-1),h.className=m[1]}else"#"==d.charAt(0)?h.id=d.substr(1,d.length-1):h.className=d;g+=f}a.append(h),a=i(h)}else if(">"==c)a=a.parent();else if("l"==c&&o.bPaginate&&o.bLengthChange)l=Ft(t);else if("f"==c&&o.bFilter)l=bt(t);else if("r"==c&&o.bProcessing)l=Ht(t);else if("t"==c)l=Wt(t);else if("i"==c&&o.bInfo)l=kt(t);else if("p"==c&&o.bPaginate)l=jt(t);else if(0!==s.ext.feature.length)for(var v=s.ext.feature,b=0,y=v.length;b',c=r.sSearch;c=c.match(/_INPUT_/)?c.replace("_INPUT_",l):c+l;var h=i("",{id:a.f?null:s+"_filter",class:n.sFilter}).append(i("").append(c)),u=function(){a.f;var e=this.value?this.value:"";e!=o.sSearch&&(yt(t,{sSearch:e,bRegex:o.bRegex,bSmart:o.bSmart,bCaseInsensitive:o.bCaseInsensitive}),t._iDisplayStart=0,lt(t))},d=null!==t.searchDelay?t.searchDelay:"ssp"===ve(t)?400:0,f=i("input",h).val(o.sSearch).attr("placeholder",r.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",d?Kt(u,d):u).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",s);return i(t.nTable).on("search.dt.DT",function(n,i){if(t===i)try{f[0]!==e.activeElement&&f.val(o.sSearch)}catch(t){}}),h[0]}function yt(t,e,i){var s=t.oPreviousSearch,r=t.aoPreSearchCols,o=function(t){s.sSearch=t.sSearch,s.bRegex=t.bRegex,s.bSmart=t.bSmart,s.bCaseInsensitive=t.bCaseInsensitive},a=function(t){return t.bEscapeRegex!==n?!t.bEscapeRegex:t.bRegex};if(U(t),"ssp"!=ve(t)){Ct(t,e.sSearch,i,a(e),e.bSmart,e.bCaseInsensitive),o(e);for(var l=0;l=0;c--)o=t.aoData[a[c]]._aFilterData[n],l.test(o)||a.splice(c,1)}function Ct(t,e,n,i,r,o){var a,l,c,h=St(e,i,r,o),u=t.oPreviousSearch.sSearch,d=t.aiDisplayMaster;if(0!==s.ext.search.length&&(n=!0),l=Et(t),e.length<=0)t.aiDisplay=d.slice();else for((l||n||u.length>e.length||0!==e.indexOf(u)||t.bSorted)&&(t.aiDisplay=d.slice()),c=(a=t.aiDisplay).length-1;c>=0;c--)h.test(t.aoData[a[c]]._sFilterRow)||a.splice(c,1)}function St(t,e,n,s){(t=e?t:xt(t),n)&&(t="^(?=.*?"+i.map(t.match(/"[^"]+"|[^ ]+/g)||"",function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")}).join(")(?=.*?")+").*$");return new RegExp(t,s?"i":"")}function xt(t){return t.replace(p,"\\$1")}var Tt=i("")[0],Dt=Tt.textContent!==n;function Et(t){var e,n,i,r,o,a,l,c,h=t.aoColumns,u=s.ext.type.search,d=!1;for(n=0,r=t.aoData.length;n",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:Ot,sName:"information"}),s.attr("role","status").attr("aria-live","polite"),i(t.nTable).attr("aria-describedby",e+"_info")),s[0]}function Ot(t){var e=t.aanFeatures.i;if(0!==e.length){var n=t.oLanguage,s=t._iDisplayStart+1,r=t.fnDisplayEnd(),o=t.fnRecordsTotal(),a=t.fnRecordsDisplay(),l=a?n.sInfo:n.sInfoEmpty;a!==o&&(l+=" "+n.sInfoFiltered),l=Nt(t,l+=n.sInfoPostFix);var c=n.fnInfoCallback;null!==c&&(l=c.call(t.oInstance,t,s,r,o,a,l)),i(e).html(l)}}function Nt(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,s=t._iDisplayLength,r=t.fnRecordsDisplay(),o=-1===s;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,r)).replace(/_PAGE_/g,n.call(t,o?1:Math.ceil(i/s))).replace(/_PAGES_/g,n.call(t,o?1:Math.ceil(r/s)))}function Pt(t){var e,n,i,s=t.iInitDisplayStart,r=t.aoColumns,o=t.oFeatures;if(t.bInitialised){for(ht(t),ot(t),at(t,t.aoHeader),at(t,t.aoFooter),$t(t,!0),o.bAutoWidth&&zt(t),e=0,n=r.length;e",{name:n+"_length","aria-controls":n,class:e.sLengthSelect}),c=0,h=o.length;c
").addClass(e.sLength);return t.aanFeatures.l||(u[0].id=n+"_length"),u.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",l[0].outerHTML)),i("select",u).val(t._iDisplayLength).bind("change.DT",function(e){Rt(t,i(this).val()),lt(t)}),i(t.nTable).bind("length.dt.DT",function(e,n,s){t===n&&i("select",u).val(s)}),u[0]}function jt(t){var e=t.sPaginationType,n=s.ext.pager[e],r="function"==typeof n,o=function(t){lt(t)},a=i("").addClass(t.oClasses.sPaging+e)[0],l=t.aanFeatures;return r||n.fnInit(t,a,o),l.p||(a.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(r){var e,i,s=t._iDisplayStart,a=t._iDisplayLength,c=t.fnRecordsDisplay(),h=-1===a,u=h?0:Math.ceil(s/a),d=h?1:Math.ceil(c/a),f=n(u,d);for(e=0,i=l.p.length;er&&(i=0):"first"==e?i=0:"previous"==e?(i=s>=0?i-s:0)<0&&(i=0):"next"==e?i+s",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function $t(t,e){t.oFeatures.bProcessing&&i(t.aanFeatures.r).css("display",e?"block":"none"),pe(t,null,"processing",[t,e])}function Wt(t){var e=i(t.nTable);e.attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var s=n.sX,r=n.sY,o=t.oClasses,a=e.children("caption"),l=a.length?a[0]._captionSide:null,c=i(e[0].cloneNode(!1)),h=i(e[0].cloneNode(!1)),u=e.children("tfoot"),d="",f=function(t){return t?Jt(t):null};n.sX&&"100%"===e.attr("width")&&e.removeAttr("width"),u.length||(u=null);var p=i(d,{class:o.sScrollWrapper}).append(i(d,{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:s?f(s):"100%"}).append(i(d,{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(c.removeAttr("id").css("margin-left",0).append("top"===l?a:null).append(e.children("thead"))))).append(i(d,{class:o.sScrollBody}).css({overflow:"auto",height:f(r),width:f(s)}).append(e));u&&p.append(i(d,{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:s?f(s):"100%"}).append(i(d,{class:o.sScrollFootInner}).append(h.removeAttr("id").css("margin-left",0).append("bottom"===l?a:null).append(e.children("tfoot")))));var g=p.children(),m=g[0],v=g[1],b=u?g[2]:null;return s&&i(v).scroll(function(t){var e=this.scrollLeft;m.scrollLeft=e,u&&(b.scrollLeft=e)}),t.nScrollHead=m,t.nScrollBody=v,t.nScrollFoot=b,t.aoDrawCallback.push({fn:Ut,sName:"scrolling"}),p[0]}function Ut(t){var e,n,s,r,o,a,l,c,h,u=t.oScroll,d=u.sX,f=u.sXInner,p=u.sY,g=u.iBarWidth,m=i(t.nScrollHead),v=m[0].style,b=m.children("div"),y=b[0].style,_=b.children("table"),w=t.nScrollBody,C=i(w),S=w.style,x=i(t.nScrollFoot).children("div"),T=x.children("table"),D=i(t.nTHead),E=i(t.nTable),I=E[0],A=I.style,k=t.nTFoot?i(t.nTFoot):null,O=t.oBrowser,N=O.bScrollOversize,P=[],L=[],R=[],F=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0};if(E.children("thead, tfoot").remove(),o=D.clone().prependTo(E),e=D.find("tr"),s=o.find("tr"),o.find("th, td").removeAttr("tabindex"),k&&(a=k.clone().prependTo(E),n=k.find("tr"),r=a.find("tr")),d||(S.width="100%",m[0].style.width="100%"),i.each(dt(t,o),function(e,n){l=M(t,e),n.style.width=t.aoColumns[l].sWidth}),k&&Vt(function(t){t.style.width=""},r),u.bCollapse&&""!==p&&(S.height=C[0].offsetHeight+D[0].offsetHeight+"px"),h=E.outerWidth(),""===d?(A.width="100%",N&&(E.find("tbody").height()>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(A.width=Jt(E.outerWidth()-g))):""!==f?A.width=Jt(f):h==C.width()&&C.height()h-g&&(A.width=Jt(h))):A.width=Jt(h),h=E.outerWidth(),Vt(F,s),Vt(function(t){R.push(t.innerHTML),P.push(Jt(i(t).css("width")))},s),Vt(function(t,e){t.style.width=P[e]},e),i(s).height(0),k&&(Vt(F,r),Vt(function(t){L.push(Jt(i(t).css("width")))},r),Vt(function(t,e){t.style.width=L[e]},n),i(r).height(0)),Vt(function(t,e){t.innerHTML=''+R[e]+"
",t.style.width=P[e]},s),k&&Vt(function(t,e){t.innerHTML="",t.style.width=L[e]},r),E.outerWidth()w.offsetHeight||"scroll"==C.css("overflow-y")?h+g:h,N&&(w.scrollHeight>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(A.width=Jt(c-g)),""!==d&&""===f||ce(t,1,"Possible column misalignment",6)):c="100%",S.width=Jt(c),v.width=Jt(c),k&&(t.nScrollFoot.style.width=Jt(c)),p||N&&(S.height=Jt(I.offsetHeight+g)),p&&u.bCollapse){S.height=Jt(p);var j=d&&I.offsetWidth>w.offsetWidth?g:0;I.offsetHeightw.clientHeight||"scroll"==C.css("overflow-y"),W="padding"+(O.bScrollbarLeft?"Left":"Right");y[W]=$?g+"px":"0px",k&&(T[0].style.width=Jt(H),x[0].style.width=Jt(H),x[0].style[W]=$?g+"px":"0px"),C.scroll(),!t.bSorted&&!t.bFiltered||t._drawHold||(w.scrollTop=0)}function Vt(t,e,n){for(var i,s,r=0,o=0,a=e.length;o/g;function zt(e){var n,s,r,o,a,l=e.nTable,c=e.aoColumns,h=e.oScroll,u=h.sY,d=h.sX,f=h.sXInner,p=c.length,g=W(e,"bVisible"),m=i("th",e.nTHead),v=l.getAttribute("width"),b=l.parentNode,y=!1;for(n=0;n
"));_.find("tfoot th, tfoot td").css("width","");var w=_.find("tbody tr");for(m=dt(e,_.find("thead")[0]),n=0;n").css("width",Jt(t)).appendTo(n||e.body),r=s[0].offsetWidth;return s.remove(),r}function Gt(t,e){var n=t.oScroll;if(n.sX||n.sY){var s=n.sX?0:n.iBarWidth;e.style.width=Jt(i(e).outerWidth()-s)}}function Qt(t,e){var n=Yt(t,e);if(n<0)return null;var s=t.aoData[n];return s.nTr?s.anCells[e]:i(" | ").html(K(t,n,e,"display"))[0]}function Yt(t,e){for(var n,i=-1,s=-1,r=0,o=t.aoData.length;ri&&(i=n.length,s=r);return s}function Jt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Xt(){if(!s.__scrollbarWidth){var t=i("").css({width:"100%",height:200,padding:0})[0],e=i("").css({position:"absolute",top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(t).appendTo("body"),n=t.offsetWidth;e.css("overflow","scroll");var r=t.offsetWidth;n===r&&(r=e[0].clientWidth),e.remove(),s.__scrollbarWidth=n-r}return s.__scrollbarWidth}function Zt(t){var e,r,o,a,l,c,h,u=[],d=t.aoColumns,f=t.aaSortingFixed,p=i.isPlainObject(f),g=[],m=function(t){t.length&&!i.isArray(t[0])?g.push(t):g.push.apply(g,t)};for(i.isArray(f)&&m(f),p&&f.pre&&m(f.pre),m(t.aaSorting),p&&f.post&&m(f.post),e=0;ei?1:0))return"asc"===l.dir?r:-r;return(n=a[t])<(i=a[e])?-1:n>i?1:0}):u.sort(function(t,e){var n,i,s,r,h,u=o.length,d=c[t]._aSortData,f=c[e]._aSortData;for(s=0;si?1:0})}t.bSorted=!0}function ee(t){for(var e,n,i=t.aoColumns,s=Zt(t),r=t.oLanguage.oAria,o=0,a=i.length;o/g,""),u=l.nTh;u.removeAttribute("aria-sort"),l.bSortable?(s.length>0&&s[0].col==o?(u.setAttribute("aria-sort","asc"==s[0].dir?"ascending":"descending"),n=c[s[0].index+1]||c[0]):n=c[0],e=h+("asc"===n?r.sSortAscending:r.sSortDescending)):e=h,u.setAttribute("aria-label",e)}}function ne(t,e,s,r){var o,a=t.aoColumns[e],l=t.aaSorting,c=a.asSorting,h=function(t,e){var s=t._idx;return s===n&&(s=i.inArray(t[1],c)),s+10&&o.time<+new Date-1e3*l)&&r.length===o.columns.length){for(t.oLoadedState=i.extend(!0,{},o),t._iDisplayStart=o.start,t.iInitDisplayStart=o.start,t._iDisplayLength=o.length,t.aaSorting=[],i.each(o.order,function(e,n){t.aaSorting.push(n[0]>=r.length?[0,n[1]]:n)}),i.extend(t.oPreviousSearch,At(o.search)),n=0,s=o.columns.length;n=n&&(e=n-i),e-=e%i,(-1===i||e<0)&&(e=0),t._iDisplayStart=e}function me(t,e){var n=t.renderer,r=s.ext.renderer[e];return i.isPlainObject(n)&&n[e]?r[n[e]]||r._:"string"==typeof n&&r[n]||r._}function ve(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}s=function(t){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new o(t?le(this[r.iApiIndex]):this)},this.fnAddData=function(t,e){var s=this.api(!0),r=i.isArray(t)&&(i.isArray(t[0])||i.isPlainObject(t[0]))?s.rows.add(t):s.row.add(t);return(e===n||e)&&s.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),i=e.settings()[0],s=i.oScroll;t===n||t?e.draw(!1):""===s.sX&&""===s.sY||Ut(i)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===n||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,i){var s=this.api(!0),r=s.rows(t),o=r.settings()[0],a=o.aoData[r[0][0]];return r.remove(),e&&e.call(this,o,a),(i===n||i)&&s.draw(),a},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(!t)},this.fnFilter=function(t,e,i,s,r,o){var a=this.api(!0);null===e||e===n?a.search(t,i,s,o):a.column(e).search(t,i,s,o),a.draw()},this.fnGetData=function(t,e){var i=this.api(!0);if(t!==n){var s=t.nodeName?t.nodeName.toLowerCase():"";return e!==n||"td"==s||"th"==s?i.cell(t,e).data():i.row(t).data()||null}return i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==n?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();if("TR"==n)return e.row(t).index();if("TD"==n||"TH"==n){var i=e.cell(t).index();return[i.row,i.columnVisible,i.column]}return null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var i=this.api(!0).page(t);(e===n||e)&&i.draw(!1)},this.fnSetColumnVis=function(t,e,i){var s=this.api(!0).column(t).visible(e);(i===n||i)&&s.columns.adjust().draw()},this.fnSettings=function(){return le(this[r.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,i,s,r){var o=this.api(!0);return i===n||null===i?o.row(e).data(t):o.cell(e,i).data(t),(r===n||r)&&o.columns.adjust(),(s===n||s)&&o.draw(),0},this.fnVersionCheck=r.fnVersionCheck;var e=this,a=t===n,l=this.length;for(var c in a&&(t={}),this.oApi=this.internal=r.internal,s.ext.internal)c&&(this[c]=Le(c));return this.each(function(){var r,o=l>1?ue({},t,!0):t,c=0,h=this.getAttribute("id"),u=!1,d=s.defaults;if("table"==this.nodeName.toLowerCase()){O(d),N(d.column),I(d,d,!0),I(d.column,d.column,!0),I(d,o);var f=s.settings;for(c=0,r=f.length;ct<"F"ip>'),m.renderer?i.isPlainObject(m.renderer)&&!m.renderer.header&&(m.renderer.header="jqueryui"):m.renderer="jqueryui"):i.extend(v,s.ext.classes,o.oClasses),i(this).addClass(v.sTable),""===m.oScroll.sX&&""===m.oScroll.sY||(m.oScroll.iBarWidth=Xt()),!0===m.oScroll.sX&&(m.oScroll.sX="100%"),m.iInitDisplayStart===n&&(m.iInitDisplayStart=o.iDisplayStart,m._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){m.bDeferLoading=!0;var b=i.isArray(o.iDeferLoading);m._iRecordsDisplay=b?o.iDeferLoading[0]:o.iDeferLoading,m._iRecordsTotal=b?o.iDeferLoading[1]:o.iDeferLoading}var y=m.oLanguage;i.extend(!0,y,o.oLanguage),""!==y.sUrl&&(i.ajax({dataType:"json",url:y.sUrl,success:function(t){A(t),I(d.oLanguage,t),i.extend(!0,y,t),Pt(m)},error:function(){Pt(m)}}),u=!0),null===o.asStripeClasses&&(m.asStripeClasses=[v.sStripeOdd,v.sStripeEven]);var _=m.asStripeClasses,w=i("tbody tr:eq(0)",this);-1!==i.inArray(!0,i.map(_,function(t,e){return w.hasClass(t)}))&&(i("tbody tr",this).removeClass(_.join(" ")),m.asDestroyStripes=_.slice());var C,S=[],x=this.getElementsByTagName("thead");if(0!==x.length&&(ut(m.aoHeader,x[0]),S=dt(m)),null===o.aoColumns)for(C=[],c=0,r=S.length;c").appendTo(this)),m.nTHead=L[0];var j=i(this).children("tbody");0===j.length&&(j=i("").appendTo(this)),m.nTBody=j[0];var M=i(this).children("tfoot");if(0===M.length&&k.length>0&&(""!==m.oScroll.sX||""!==m.oScroll.sY)&&(M=i("").appendTo(this)),0===M.length||0===M.children().length?i(this).addClass(v.sNoFooter):M.length>0&&(m.nTFoot=M[0],ut(m.aoFooter,m.nTFoot)),o.aaData)for(c=0;ct?new o(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.filter.call(this,t,this);else for(var n=0,i=this.length;n0)return t[0].json}),a("ajax.params()",function(){var t=this.context;if(t.length>0)return t[0].oAjaxData}),a("ajax.reload()",function(t,e){return this.iterator("table",function(n){_e(n,!1===e,t)})}),a("ajax.url()",function(t){var e=this.context;return t===n?0===e.length?n:(e=e[0]).ajax?i.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource:this.iterator("table",function(e){i.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),a("ajax.url().load()",function(t,e){return this.iterator("table",function(n){_e(n,!1===e,t)})});var we=function(t,e){var s,r,o,a,l,c,h=[],u=typeof t;for(t&&"string"!==u&&"function"!==u&&t.length!==n||(t=[t]),o=0,a=t.length;o0)return t[0]=t[e],t.length=1,t.context=[t.context[e]],t;return t.length=0,t},xe=function(t,e){var n,s,r,o=[],a=t.aiDisplay,l=t.aiDisplayMaster,c=e.search,h=e.order,u=e.page;if("ssp"==ve(t))return"removed"===c?[]:S(0,l.length);if("current"==u)for(n=t._iDisplayStart,s=t.fnDisplayEnd();n=0&&"applied"==c)&&o.push(n);return o};a("rows()",function(t,e){t===n?t="":i.isPlainObject(t)&&(e=t,t=""),e=Ce(e);var s=this.iterator("table",function(n){return function(t,e,n){return we(e,function(e){var s=v(e);if(null!==s&&!n)return[s];var r=xe(t,n);if(null!==s&&-1!==i.inArray(s,r))return[s];if(!e)return r;if("function"==typeof e)return i.map(r,function(n){var i=t.aoData[n];return e(n,i._aData,i.nTr)?n:null});var o=x(C(t.aoData,r,"nTr"));return e.nodeName&&-1!==i.inArray(e,o)?[e._DT_RowIndex]:i(o).filter(e).map(function(){return this._DT_RowIndex}).toArray()})}(n,t,e)},1);return s.selector.rows=t,s.selector.opts=e,s}),a("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||n},1)}),a("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return C(t.aoData,e,"_aData")},1)}),l("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,n){var i=e.aoData[n];return"search"===t?i._aFilterData:i._aSortData},1)}),l("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,n){nt(e,n,t)})}),l("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),l("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,n,s){var r=e.aoData;r.splice(n,1);for(var o=0,a=r.length;o0&&(e.on("draw.dt.DT_details",function(i,s){t===s&&e.rows({page:"current"}).eq(0).each(function(t){var e=n[t];e._detailsShow&&e._details.insertAfter(e.nTr)})}),e.on("column-visibility.dt.DT_details",function(e,i,s,r){if(t===i)for(var o,a=$(i),l=0,c=n.length;l | ").addClass(n);i("td",s).addClass(n).html(e)[0].colSpan=$(t),r.push(s[0])}};if(i.isArray(n)||n instanceof i)for(var a=0,l=n.length;a=0?a:s.length+a];if("function"==typeof e){var l=xe(t,n);return i.map(s,function(n,i){return e(i,Ae(t,i,0,0,l),o[i])?i:null})}var c="string"==typeof e?e.match(Ie):"";if(!c)return i(o).filter(e).map(function(){return i.inArray(this,o)}).toArray();switch(c[2]){case"visIdx":case"visible":var h=parseInt(c[1],10);if(h<0){var u=i.map(s,function(t,e){return t.bVisible?e:null});return[u[u.length+h]]}return[M(t,h)];case"name":return i.map(r,function(t,e){return t===c[1]?e:null})}})}(n,t,e)},1);return s.selector.cols=t,s.selector.opts=e,s}),l("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),l("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),l("columns().data()","column().data()",function(){return this.iterator("column-rows",Ae,1)}),l("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),l("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,n,i,s,r){return C(e.aoData,r,"search"===t?"_aFilterData":"_aSortData",n)},1)}),l("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,s){return C(t.aoData,s,"anCells",e)},1)}),l("columns().visible()","column().visible()",function(t,e){return this.iterator("column",function(s,r){if(t===n)return s.aoColumns[r].bVisible;!function(t,e,s,r){var o,a,l,c,h=t.aoColumns,u=h[e],d=t.aoData;if(s===n)return u.bVisible;if(u.bVisible!==s){if(s){var f=i.inArray(!0,w(h,"bVisible"),e+1);for(a=0,l=d.length;an;return!0},s.isDataTable=s.fnIsDataTable=function(t){var e=i(t).get(0),n=!1;return i.each(s.settings,function(t,i){i.nTable!==e&&i.nScrollHead!==e&&i.nScrollFoot!==e||(n=!0)}),n},s.tables=s.fnTables=function(t){return i.map(s.settings,function(e){if(!t||t&&i(e.nTable).is(":visible"))return e.nTable})},s.util={throttle:Kt,escapeRegex:xt},s.camelToHungarian=I,a("$()",function(t,e){var n=this.rows(e).nodes(),s=i(n);return i([].concat(s.filter(t).toArray(),s.find(t).toArray()))}),i.each(["on","one","off"],function(t,e){a(e+"()",function(){var t=Array.prototype.slice.call(arguments);t[0].match(/\.dt\b/)||(t[0]+=".dt");var n=i(this.tables().nodes());return n[e].apply(n,t),this})}),a("clear()",function(){return this.iterator("table",function(t){tt(t)})}),a("settings()",function(){return new o(this.context,this.context)}),a("data()",function(){return this.iterator("table",function(t){return w(t.aoData,"_aData")}).flatten()}),a("destroy()",function(e){return e=e||!1,this.iterator("table",function(n){var r,a=n.nTableWrapper.parentNode,l=n.oClasses,c=n.nTable,h=n.nTBody,u=n.nTHead,d=n.nTFoot,f=i(c),p=i(h),g=i(n.nTableWrapper),m=i.map(n.aoData,function(t){return t.nTr});n.bDestroying=!0,pe(n,"aoDestroyCallback","destroy",[n]),e||new o(n).columns().visible(!0),g.unbind(".DT").find(":not(tbody *)").unbind(".DT"),i(t).unbind(".DT-"+n.sInstance),c!=u.parentNode&&(f.children("thead").detach(),f.append(u)),d&&c!=d.parentNode&&(f.children("tfoot").detach(),f.append(d)),f.detach(),g.detach(),n.aaSorting=[],n.aaSortingFixed=[],se(n),i(m).removeClass(n.asStripeClasses.join(" ")),i("th, td",u).removeClass(l.sSortable+" "+l.sSortableAsc+" "+l.sSortableDesc+" "+l.sSortableNone),n.bJUI&&(i("th span."+l.sSortIcon+", td span."+l.sSortIcon,u).detach(),i("th, td",u).each(function(){var t=i("div."+l.sSortJUIWrapper,this);i(this).append(t.contents()),t.detach()})),!e&&a&&a.insertBefore(c,n.nTableReinsertBefore),p.children().detach(),p.append(m),f.css("width",n.sDestroyWidth).removeClass(l.sTable),(r=n.asDestroyStripes.length)&&p.children().each(function(t){i(this).addClass(n.asDestroyStripes[t%r])});var v=i.inArray(n,s.settings);-1!==v&&s.settings.splice(v,1)})}),s.version="1.10.4",s.settings=[],s.models={},s.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},s.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null},s.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},s.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:i.extend({},s.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null},E(s.defaults),s.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},E(s.defaults.column),s.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:n,oAjaxData:n,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==ve(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==ve(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,s=this.oFeatures,r=s.bPaginate;return s.bServerSide?!1===r||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!r||n>i||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}},s.ext=r={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:s.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:s.version},i.extend(r,{afnFiltering:r.search,aTypes:r.type.detect,ofnSearch:r.type.search,oSort:r.type.order,afnSortData:r.order,aoFeatures:r.feature,oApi:r.internal,oStdClasses:r.classes,oPagination:r.pager}),i.extend(s.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""}),function(){var t="ui-state-default",e="css_right ui-icon ui-icon-",n="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";i.extend(s.ext.oJUIClasses,s.ext.classes,{sPageButton:"fg-button ui-button "+t,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:t+" sorting_asc",sSortDesc:t+" sorting_desc",sSortable:t+" sorting",sSortableAsc:t+" sorting_asc_disabled",sSortableDesc:t+" sorting_desc_disabled",sSortableNone:t+" sorting_disabled",sSortJUIAsc:e+"triangle-1-n",sSortJUIDesc:e+"triangle-1-s",sSortJUI:e+"carat-2-n-s",sSortJUIAscAllowed:e+"carat-1-n",sSortJUIDescAllowed:e+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+t,sScrollFoot:"dataTables_scrollFoot "+t,sHeaderTH:t,sFooterTH:t,sJUIHeader:n+" ui-corner-tl ui-corner-tr",sJUIFooter:n+" ui-corner-bl ui-corner-br"})}();var ke=s.ext.pager;function Oe(t,e){var n=[],i=ke.numbers_length,s=Math.floor(i/2);return e<=i?n=S(0,e):t<=s?((n=S(0,i-2)).push("ellipsis"),n.push(e-1)):t>=e-1-s?((n=S(e-(i-2),e)).splice(0,0,"ellipsis"),n.splice(0,0,0)):((n=S(t-1,t+2)).push("ellipsis"),n.push(e-1),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}i.extend(ke,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},simple_numbers:function(t,e){return["previous",Oe(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Oe(t,e),"next","last"]},_numbers:Oe,numbers_length:7}),i.extend(!0,s.ext.renderer,{pageButton:{_:function(t,n,s,r,o,a){var l,c,h=t.oClasses,u=t.oLanguage.oPaginate,d=0,f=function(e,n){var r,p,g,m=function(e){Mt(t,e.data.action,!0)};for(r=0,p=n.length;r").appendTo(e);f(v,g)}else{switch(l="",c="",g){case"ellipsis":e.append("…");break;case"first":l=u.sFirst,c=g+(o>0?"":" "+h.sPageButtonDisabled);break;case"previous":l=u.sPrevious,c=g+(o>0?"":" "+h.sPageButtonDisabled);break;case"next":l=u.sNext,c=g+(o",{class:h.sPageButton+" "+c,"aria-controls":t.sTableId,"data-dt-idx":d,tabindex:t.iTabIndex,id:0===s&&"string"==typeof g?t.sTableId+"_"+g:null}).html(l).appendTo(e),{action:g},m),d++)}};try{var p=i(e.activeElement).data("dt-idx");f(i(n).empty(),r),null!==p&&i(n).find("[data-dt-idx="+p+"]").focus()}catch(t){}}}}),i.extend(s.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return y(t,n)?"num"+n:null},function(t,e){if(t&&!(t instanceof Date)&&(!d.test(t)||!f.test(t)))return null;var n=Date.parse(t);return null!==n&&!isNaN(n)||m(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return _(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return _(t,n,!0)?"html-num-fmt"+n:null},function(t,e){return m(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),i.extend(s.ext.type.search,{html:function(t){return m(t)?t:"string"==typeof t?t.replace(h," ").replace(u,""):""},string:function(t){return m(t)?t:"string"==typeof t?t.replace(h," "):t}});var Ne=function(t,e,n,i){return 0===t||t&&"-"!==t?(e&&(t=b(t,e)),t.replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),1*t):-1/0};function Pe(t){i.each({num:function(e){return Ne(e,t)},"num-fmt":function(e){return Ne(e,t,g)},"html-num":function(e){return Ne(e,t,u)},"html-num-fmt":function(e){return Ne(e,t,u,g)}},function(e,n){r.type.order[e+t+"-pre"]=n,e.match(/^html\-/)&&(r.type.search[e+t]=r.type.search.html)})}function Le(t){return function(){var e=[le(this[s.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return s.ext.internal[t].apply(this,e)}}return i.extend(r.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return m(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return m(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return te?1:0},"string-desc":function(t,e){return te?-1:0}}),Pe(""),i.extend(!0,s.ext.renderer,{header:{_:function(t,e,n,s){i(t.nTable).on("order.dt.DT",function(i,r,o,a){if(t===r){var l=n.idx;e.removeClass(n.sSortingClass+" "+s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[l]?s.sSortAsc:"desc"==a[l]?s.sSortDesc:n.sSortingClass)}})},jqueryui:function(t,e,n,s){i("").addClass(s.sSortJUIWrapper).append(e.contents()).append(i("").addClass(s.sSortIcon+" "+n.sSortingClassJUI)).appendTo(e),i(t.nTable).on("order.dt.DT",function(i,r,o,a){if(t===r){var l=n.idx;e.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[l]?s.sSortAsc:"desc"==a[l]?s.sSortDesc:n.sSortingClass),e.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==a[l]?s.sSortJUIAsc:"desc"==a[l]?s.sSortJUIDesc:n.sSortingClassJUI)}})}}}),s.render={number:function(t,e,n,i){return{display:function(s){var r=s<0?"-":"";s=Math.abs(parseFloat(s));var o=parseInt(s,10),a=n?e+(s-o).toFixed(n).substring(2):"";return r+(i||"")+o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+a}}}},i.extend(s.ext.internal,{_fnExternApiFunc:Le,_fnBuildAjax:ft,_fnAjaxUpdate:pt,_fnAjaxParameters:gt,_fnAjaxUpdateDraw:mt,_fnAjaxDataSrc:vt,_fnAddColumn:R,_fnColumnOptions:F,_fnAdjustColumnSizing:j,_fnVisibleToColumnIndex:M,_fnColumnIndexToVisible:H,_fnVisbleColumns:$,_fnGetColumns:W,_fnColumnTypes:U,_fnApplyColumnDefs:V,_fnHungarianMap:E,_fnCamelToHungarian:I,_fnLanguageCompat:A,_fnBrowserDetect:P,_fnAddData:B,_fnAddTr:z,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==n?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return i.inArray(n,t.aoData[e].anCells)},_fnGetCellData:K,_fnSetCellData:q,_fnSplitObjNotation:Y,_fnGetObjectDataFn:J,_fnSetObjectDataFn:X,_fnGetDataMaster:Z,_fnClearTable:tt,_fnDeleteIndex:et,_fnInvalidate:nt,_fnGetRowElements:it,_fnCreateTr:st,_fnBuildHead:ot,_fnDrawHead:at,_fnDraw:lt,_fnReDraw:ct,_fnAddOptionsHtml:ht,_fnDetectHeader:ut,_fnGetUniqueThs:dt,_fnFeatureHtmlFilter:bt,_fnFilterComplete:yt,_fnFilterCustom:_t,_fnFilterColumn:wt,_fnFilter:Ct,_fnFilterCreateSearch:St,_fnEscapeRegex:xt,_fnFilterData:Et,_fnFeatureHtmlInfo:kt,_fnUpdateInfo:Ot,_fnInfoMacros:Nt,_fnInitialise:Pt,_fnInitComplete:Lt,_fnLengthChange:Rt,_fnFeatureHtmlLength:Ft,_fnFeatureHtmlPaginate:jt,_fnPageChange:Mt,_fnFeatureHtmlProcessing:Ht,_fnProcessingDisplay:$t,_fnFeatureHtmlTable:Wt,_fnScrollDraw:Ut,_fnApplyToChildren:Vt,_fnCalculateColumnWidths:zt,_fnThrottle:Kt,_fnConvertToWidth:qt,_fnScrollingWidthAdjust:Gt,_fnGetWidestNode:Qt,_fnGetMaxLenString:Yt,_fnStringToCss:Jt,_fnScrollBarWidth:Xt,_fnSortFlatten:Zt,_fnSort:te,_fnSortAria:ee,_fnSortListener:ne,_fnSortAttachListener:ie,_fnSortingClasses:se,_fnSortData:re,_fnSaveState:oe,_fnLoadState:ae,_fnSettingsFromNode:le,_fnLog:ce,_fnMap:he,_fnBindAction:de,_fnCallbackReg:fe,_fnCallbackFire:pe,_fnLengthOverflow:ge,_fnRenderer:me,_fnDataSource:ve,_fnRowAttributes:rt,_fnCalculateEnd:function(){}}),i.fn.dataTable=s,i.fn.dataTableSettings=s.settings,i.fn.dataTableExt=s.ext,i.fn.DataTable=function(t){return i(this).dataTable(t).api()},i.each(s,function(t,e){i.fn.DataTable[t]=e}),i.fn.dataTable})}(window,document),function(t,e){"use strict";var n=function(t,e){this.init("radiocheck",t,e)};n.DEFAULTS={checkboxClass:"custom-checkbox",radioClass:"custom-radio",checkboxTemplate:'',radioTemplate:''},n.prototype.init=function(t,i,s){this.$element=e(i),this.options=e.extend({},n.DEFAULTS,this.$element.data(),s),"checkbox"==this.$element.attr("type")?(this.$element.addClass(this.options.checkboxClass),this.$element.after(this.options.checkboxTemplate)):"radio"==this.$element.attr("type")&&(this.$element.addClass(this.options.radioClass),this.$element.after(this.options.radioTemplate))},n.prototype.check=function(){this.$element.prop("checked",!0),this.$element.trigger("change.radiocheck").trigger("checked.radiocheck")},n.prototype.uncheck=function(){this.$element.prop("checked",!1),this.$element.trigger("change.radiocheck").trigger("unchecked.radiocheck")},n.prototype.toggle=function(){this.$element.prop("checked",function(t,e){return!e}),this.$element.trigger("change.radiocheck").trigger("toggled.radiocheck")},n.prototype.indeterminate=function(){this.$element.prop("indeterminate",!0),this.$element.trigger("change.radiocheck").trigger("indeterminated.radiocheck")},n.prototype.determinate=function(){this.$element.prop("indeterminate",!1),this.$element.trigger("change.radiocheck").trigger("determinated.radiocheck")},n.prototype.disable=function(){this.$element.prop("disabled",!0),this.$element.trigger("change.radiocheck").trigger("disabled.radiocheck")},n.prototype.enable=function(){this.$element.prop("disabled",!1),this.$element.trigger("change.radiocheck").trigger("enabled.radiocheck")},n.prototype.destroy=function(){this.$element.removeData().removeClass(this.options.checkboxClass+" "+this.options.radioClass).next(".icons").remove(),this.$element.trigger("destroyed.radiocheck")};var i=e.fn.radiocheck;e.fn.radiocheck=function(i){return this.each(function(){var s=e(this),r=s.data("radiocheck"),o="object"==typeof i&&i;(r||"destroy"!=i)&&(r||s.data("radiocheck",r=new n(this,o)),"string"==typeof i&&r[i](),!0===/mobile|tablet|phone|ip(ad|od)|android|silk|webos/i.test(t.navigator.userAgent)&&s.parent().hover(function(){s.addClass("nohover")},function(){s.removeClass("nohover")}))})},e.fn.radiocheck.Constructor=n,e.fn.radiocheck.noConflict=function(){return e.fn.radiocheck=i,this}}(this,jQuery);