/* SJS v0.1.7.2 alpha | GNU LGPL: http://www.gnu.org/licenses/ */
(function(f){var e=function(a){return e.isFunction(a)?window.ready(a):new window.Elements(a,window.Slick.search(window.document,a))},r=/\r\n/g;e.extend=e.expand=function(a,c,b){if(c&&c.charAt){if(a[c]===f||a[c]===null)a[c]=b}else for(var i in c)if(c.hasOwnProperty(i)&&(a[i]===f||a[i]===null))a[i]=c[i];return a};e.expand(e,{Version:"0.1.7.2",Features:{Element:!!window.Element},Settings:{animationInterval:15,animationDefaults:{}},ajax:function(a,c,b,i,o){if(e.isString(a))return e.ajax({path:a,data:c,
success:b,type:i,method:o});var h;if(window.XMLHttpRequest)h=new window.XMLHttpRequest;else if(window.ActiveXObject)try{h=new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(l){try{h=new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(s){return false}}else return false;a=e.merge({data:"",method:a.data?"post":"get",type:"plain",thisObj:h},a);c=a.method==="get";h.onreadystatechange=function(){if(h.readyState==4){var b=h.status==200,i=h.responseText;a.type=="json"&&(i=i.jsonDecode());e.each([b?"success":
"fail","callback"],function(b){a[b]&&a[b].call(a.thisObj,i)})}};h.open(a.method,a.path+(c?"?"+e.serialize(a.data):""));h.setRequestHeader("X-Requested-With","XMLHttpRequest");h.send(c?null:e.serialize(a.data));return this},live:function(a,c,b){if(b){var i=c,c={};c[i]=b}e.each(c,function(b,i){window.document.bind(b,function(b){window.Element.prototype.match.call(b.target,a)&&i.call(b)})});return this},implement:function(a,c,b){return e.expand(a.prototype,c,b)},alias:function(a,c){return e.each(["Element",
"Elements"],function(b){e.implement(window[b],c,window[b].prototype[a])})},classPropertyOf:function(a){a=Object.prototype.toString.call(a);return a.substr(8,a.length-9)},isString:function(a){return e.classPropertyOf(a)==="String"},isNumber:function(a){return e.classPropertyOf(a)==="Number"},isFunction:function(a){return e.classPropertyOf(a)==="Function"},isArray:function(a){return!e.isNull(a)&&a.hasOwnProperty&&a.hasOwnProperty("length")&&!e.isString(a)&&!e.isFunction(a)},isBoolean:function(a){return a===
true||a===false},isNull:function(a){return a===f||a===null},toArray:function(a){return e.isArray(a)?a:[a]},toObject:function(a,c){return e.isPlainObject(a)?a:e.expand({},a,c)},flatten:function(a){var c=[];e.each(a,function(b){e.isArray(b)?e.each(e.flatten(b),function(b){c.push(b)}):c.push(b)});return c},filter:function(a,c){var b=[];e.each(a,function(a){e.isFunction(c)?c(a)&&b.push(a):a&&!b.contains(a)&&b.push(a)});return b},isPlainObject:function(a){if(a==={})return true;for(var c in a);return!e.isNull(c)&&
e.hasOwn(a,c)},hasOwn:function(a,c){return e.isNull(a)?false:!a.hasOwnProperty?!e.isNull(a[c]):a.hasOwnProperty(c)},each:function(a,c,b){var i=true,o,h;if(e.isArray(a))for(o=0,h=a.length;o<h&&i!==false;o++)i=c.call(b||a,a[o],o,a);else for(o in a){if(i===false)break;a.hasOwnProperty(o)&&(i=c.call(b||a,o,a[o],a))}return a},without:function(a,c){if(e.isArray(a)){var b=[];e.each(a,function(a,e){e!==c&&b.push(a)});return b}else return delete a[c],a},merge:function(a,c,b){var i=a,o=arguments;if(e.isString(c)&&
b!==f&&b!==null)i[c]=b;else for(var h=1,l=1;h<arguments.length;h++)for(l in o[h])o[h].hasOwnProperty(l)&&o[h][l]!==f&&o[h][l]!==null&&(i[l]=o[h][l]);return i},rgb2hex:function(a){var c="#";e.each(["r","g","b"],function(b){var a=a[b].toString(16);c+=a.length==1?"0"+a:a},a);return c},serialize:function(a){if(e.isString(a))return a;var c="",b=0;e.each(a,function(a,e){b++&&(c+="&");c+=a+"="+escape(e)});return c}});window.g=function(a){var a=e.isString(a)?window.document.getElementById(a):a,c;if(!e.Features.Element)for(c in window.Element.prototype)window.Element.prototype.hasOwnProperty(c)&&
!(c in a)&&(a[c]=window.Element.prototype[c]);return a};if(!e.Features.Element)window.Element={};if(!window.Element.prototype)window.Element.prototype={};e.each(["get","post"],function(a){e.expand(e,a,function(c,b,i,o){return e.ajax(e.isString(c)?{path:c,data:b,success:i,type:o,method:a}:e.merge({method:a},c))});e.implement(window.Element,a,function(c,b,i,o){return e.ajax(e.isString(c)?{path:c,data:b,success:i,type:o,method:a,thisObj:this}:e.merge({method:a,thisObj:this},c))})});e.implement(window.Element,
{ajax:function(a,c,b,i,o){return e.ajax(e.isString(a)?{path:a,data:c,success:b,type:i,method:o,thisObj:this}:e.merge({thisObj:this},a))},pull:function(a,c,b,i,o){return e.ajax(e.isString(a)?{path:a,data:c,success:function(b){this.innerHTML=b},type:i,method:o,thisObj:this}:e.merge({success:function(b){this.innerHTML=b},thisObj:this},a))}});window.Elements=e.Features.Element?function(a,c){this.query=a;this.length=0;c&&c.length&&Array.prototype.splice.apply(this,[0,0].concat(c))}:function(a,c){for(var b=
0,i=c?c.length:0,e;b<i;b++)for(e in this[b]=c[b],window.Element.prototype)this[b][e]=window.Element.prototype[e];this.query=a;this.length=b};e.implement(window.Elements,{push:e.Features.Element?function(a){this[this.length++]=a}:function(a){var c=this.length;this[c]=a;for(var b in window.Element.prototype)b in this[c]||(this[c][b]=window.Element.prototype[b]);this.length++},sort:Array.prototype.sort,queryOf:function(){return this.query},_:function(a){var c=new window.Elements(this.query+" "+a);e.each(this,
function(b){c=Slick.search(b,a,c)});return c},each:function(a,c){return e.each(this,a,c)}});e.expand(window.Elements,{implementBoth:function(a,c){c||(c=0);e.each(e.toArray(a),function(b){e.implement(window.Elements,b,function(){var a=arguments;return a.length>c?e.each(this,function(c){window.Element.prototype[b].apply(c,a)}):window.Element.prototype[b].apply(this[0],a)})})},implementEach:function(){e.each(e.flatten(arguments),function(a){e.implement(window.Elements,a,function(){var c=arguments;return e.each(this,
function(b){window.Element.prototype[a].apply(b,c)})})})},implementSame:function(){e.each(e.flatten(arguments),function(a){e.implement(window.Elements,a,function(){return window.Element.prototype[a].apply(this,arguments)})})}});e.implement(window.Array,{contains:function(a){for(var c=false,b=0,i=this.length;b<i;b++)if(this[b]==a){c=true;break}return c},containsKey:function(a){return a<this.length}});window.Elements.implementBoth(["html","text"]);window.Elements.implementBoth("css",1);window.Elements.implementEach("prepend",
"append","prependText","appendText","before","after","animate","ajax","get","post","load","bind");window.Elements.implementSame("live");e.implement(window.Element,"bind",function(a,c){switch(a){case "ready":NW.Event.contentLoaded(this,c,this);break;case "change":case "dblclick":NW.Event.appendHandler(this,a,c,false);break;default:NW.Event.appendListener(this,a,c,false)}return this});window.bind=window.document.bind=function(a,c){Element.prototype.bind.call(this,a,c);return this};e.each("ready,load,mousedown,mouseup,click,dblclick,contextmenu,mousemove,keydown,keyup,keypress,change".split(","),
function(a){e.implement(window.Element,a,window[a]=window.document[a]=function(c){return this.bind(a,c)});window.Elements.implementEach(a)});e.implement(window.Element,{queryOf:function(){if(this.query)return this.query;if(this.id)return"#"+this.id;var a=this.classes(),c;if(e.filter(a,function(b){return(c=b.substr(0,14))==="sjs-uniqclass-"}).length)return"."+c;else{do c=".sjs-uniqclass-"+Math.round(Math.random()*1E5);while(_(c).length);this.addClass(c.substr(1));return c}},_:function(a){var c=(this.query||
(this.id?"#"+this.id:this.nodeName.toLowerCase()))+" "+a,c=new window.Elements(c);Slick.search(this,a,c);return c},getFirst:function(a){var c=new window.Elements(a);Slick.search(this,a||"*",c);return window.g(c[0])},getLast:function(a){var c=new window.Elements(a);Slick.search(this,a||"*",c);return window.g(c[c.length-1])},html:function(a){if(e.isNull(a))return this.innerHTML;this.innerHTML=a;return this},prepend:function(a){this.insertBefore(a.toElement(),this.firstChild);return this},append:function(a){this.appendChild(a.toElement());
return this},text:function(a){return e.isNull(a)?this.textContent||this.innerText.replace(r,""):this.html(a.htmlSpecialChars())},prependText:function(a){this.insertBefore(document.createTextNode(a),this.firstChild);return this},appendText:function(a){this.appendChild(document.createTextNode(a));return this},before:function(a){this.parent().insertBefore(a.toElement(),this);return this},after:function(a){this.parent().insertBefore(a.toElement(),this.next()||null);return this},live:function(a,c){_.live(this.queryOf(),
a,c);return this},val:function(a){if(this.match("select"))if(a)e.each(this.e("option"),function(b){b.selected=b.value==a});else{var c;this.multiple&&(c=[]);e.each(this._("option"),function(b){if(this.multiple)b.selected&&c.push(b.value);else if(!c&&b.selected)c=b.value},this);return c}else{if(!a)return this.value;this.value=a;return this}},attr:function(a,c){var b=e.isArray(a);(b||e.isPlainObject(a))&&e.each(a,function(a,i){this.attr(a,b?c:i)},this);var i={"class":"className","for":"htmlFor",colpan:"colSpan",
rowspan:"rowSpan"};if(e.isNull(c))return e.hasOwn(i,a.toLowerCase())&&(a=i[a]),this[a]||this.getAttribute(a);else{if(!e.isString(a))return this;["href","src"].contains(a)?this[a]=c:a==="style"?this.style.cssText=c:e.hasOwn(i,a.toLowerCase())?this[i[a]]=c:this.setAttribute(a,c);return this}},removeAttr:function(a){if(!e.isString(a))return this;var c={"class":"className","for":"htmlFor",colpan:"colSpan",rowspan:"rowSpan"};["href","src"].contains(a)?this[a]=null:e.hasOwn(c,a.toLowerCase())?this[c[a]]=
null:this.removeAttribute(a);return this},addClass:function(){var a=this.className.split(" ");e.each(e.flatten(arguments),function(c){a=a.concat(c.split(" "))});this.className=e.filter(a).join(" ");return this},removeClass:function(){var a=this.className.split(" ");e.each(e.flatten(arguments),function(c){e.each(c.split(" "),function(b){a=e.without(a,a.indexOf(b))})});this.className=e.filter(a).join(" ");return this},classes:function(){return this.className.split(" ")},computedStyle:function(){return document.defaultView&&
document.defaultView.getComputedStyle?function(a){(a=document.defaultView.getComputedStyle(this,null).getPropertyValue(a.caps2dashes()))&&a.match(/rgb\(\d+,\s?\d+,\s?\d+\)/)&&(a=a.replace(/rgb\((\d+),\s?(\d+),\s?(\d+)\)/,"{r:$1,g:$2,b:$3}").jsonDecode());return a}:function(a){var c=this.currentStyle[a];c&&e.isString(c)&&c.match(/#[a-z0-9]{3,6}/i)&&(c=e.hex2rgb(c));if(e.isNull(c)||c==="auto")switch(a){case "width":return this.offsetWidth;case "height":return this.offsetHeight;case "opacity":return 0}return c}}(),
chain:function(a,c,b){var i=this,o=function(){e.isFunction(a)&&a.apply(i,b)},h=e.isArray(b);e.isString(a)&&(a=i[a]);h||(b=e.without(arguments,0));if(!h||!c||!e.isString(c))c="default";j||this.fnChain.length?e.hasOwn(this,"fnChains")?e.hasOwn(this.fnChains,c)?this.fnChains[c].push(o):this.fnChains[c]=[o]:this.fnChains=e.expand({},c,[o]):setTimeout(o);return this},callChain:function(a){a||(a="default");if(e.hasOwn(this,"fnChains")&&e.hasOwn(this.fnChains,a))for(;!p.length&&this.fnChains[a].length;)this.fnChains[a][0](),
this.fnChains[a]=e.without(this.fnChains[a],0);return this},animations:false,match:function(a){return Slick.match(this,a)},css:function(a,c){if(e.isArray(a))e.each(a,function(b){this.css(b,c)},this);else{if(e.isNull(c)&&!e.isPlainObject(a))return this.style[a];e.each(e.toObject(a,c),function(b,a){this.style[b]=e.isNumber(a)?a+"px":a},this)}return this},parent:function(){return g(this.parentNode)},prev:function(){return this._("!+ *")[0]},next:function(){return this._("+ *")[0]}});e.implement(window.String,
{substringAfter:function(a,c){return!a?this:e.isNumber(a)?this.substring(a+1,c):this.substring(this.indexOf(a)+a.length,c)},htmlSpecialChars:function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},caps2dashes:function(){return this.replace(/[A-Z][a-z]/g,"-$&").toLowerCase()},hex2rgb:function(){var a=this.charAt(0)=="#"?this.substr(1):this;a.length==3&&(a=a.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"));return{r:parseInt(a.substr(0,2),16),g:parseInt(a.substr(2,2),16),b:parseInt(a.substr(4,
2),16)}},jsonEncode:function(){},jsonDecode:function(){return eval("("+this+")")},insert:function(a){var c=this;e.each(a,function(b,a){c=c.replace(RegExp("([^$])(\\$"+b+")","gi"),"$1"+a)},this);return c},toElement:function(){var a=document.createElement("div"),c;a.innerHTML=this;c=g(a)._("> *");return c.length===1?c[0]:a}});var u={animate:function(a,c,b,i,o){if(e.isArray(a))return e.each(a,function(a){this.animate(a,c,b,i,o)},this),this;else if(e.isArray(c))return this.animate({prop:a,from:c[0],to:c[1],
duration:b,easing:i,callback:o});else if(e.isString(a))return this.animate({prop:a,to:c,duration:b,easing:i,callback:o});e.each(arguments,function(b){var b=e.merge({type:"unit",duration:400,easing:"swing",start:new Date,element:this},e.Settings.animationDefaults,b),a;switch(b.duration){case "fast":b.duration=200;break;case "normal":b.duration=400;break;case "slow":b.duration=600}if(e.isNull(b.from))b.from=this.css(b.prop)||this.computedStyle(b.prop);if(b.to=="auto"){this.css(b.prop,"");if(b.prop==
"height"&&parseFloat(this.css("width")||1)===0)a=true,this.css("width","");b.to=this.computedStyle(b.prop);a&&this.css("width",0);this.css(b.prop,b.from)}if(b.prop=="height"||b.prop=="width")b.origOverflow=this.css("overflow"),this.css("overflow","hidden");if(b.prop=="opacity")b.type="opacity",b.from=b.from?parseFloat(b.from):1;else if(b.type=="unit"&&e.isString(b.to)&&b.to.charAt(0)=="#"){if(b.type="color",!b.rgb)b.rgb=b.to.hex2rgb()}else b.toUnit=(b.to.toString().match(/[\d\.]+([a-z]+|%)/)||["",
"px"])[1],b.to=parseFloat(b.to),b.from?b.fromUnit=(b.from.toString().match(/[\d\.]+([a-z]+|%)/)||["","px"])[1]:b.from=0,b.from=b.toUnit=="%"?100:parseFloat(b.from)||0;p.push(b);j||(j=true,animationsInterval=setInterval(t,e.Settings.animationInterval))},this);return this},animateQ:function(){return this.chain.apply(this,["animate"].concat(arguments))},visible:function(){return this.css("display")!=="none"&&this.css("visibility")!=="hidden"},hide:function(){return this.css("display","none")},show:function(){return this.css("display",
"")},toggle:function(){return this[this.visible()?"hide":"show"]()},hideSmooth:function(a,c,b){var i=this.css("margin");return this.animate(["width","height","opacity","margin"],0,a,c,b).chain("css",{display:"none",margin:i})},showSmooth:function(a,c,b){return this.css("display")!=="none"?this:this.hideSmooth(0).chain(function(){this.css("display","").animate(["width","height"],"auto",a,c).animate("opacity",1,a,c).animate("margin",[0,this.css("margin")],a,c).chain(b)})},toggleSmooth:function(){return this[this.visible()?
"hideSmooth":"showSmooth"].apply(this,arguments)},hideSlide:function(a,c,b){var i=this.css("marginTop"),e=this.css("marginBottom");return this.animate(["height","opacity","marginTop","marginBottom"],0,a,c,b).chain("css",{display:"none",marginTop:i,marginBottom:e})},showSlide:function(a,c,b){return this.css("display")!=="none"?this:this.css("display","").animate("height","auto",a,c).animate("opacity",1,a,c).animate(["marginTop","marginBottom"],[0,this.css("margin")],a,c).chain(b)},toggleSlide:function(){return this[this.visible()?
"hideSlide":"showSlide"].apply(this,arguments)}};e.implement(window.Element,u);e.each(u,function(a){window.Elements.implementEach(a)});var z={linear:function(a){return a},swing:function(a){return Math.cos(a*Math.PI)*-0.5+0.5}},p=[],j=false,t=function(){p.length?e.each(p,function(a,c){var b,i;a.duration?(b=new Date-a.start,i=b>=a.duration?1:z[a.easing](b/a.duration)):i=1;switch(a.type){case "unit":a.element.style[a.prop]=Math.round(i*(a.to-a.from)+a.from)+a.toUnit;break;case "color":e.each(["r","g",
"b"],function(b){newVal[b]=Math.round(i*(a.rgb[b]-a.from[b])+a.from[b])});newVal=e.rgb2hex(newVal);a.element.style[a.prop]=newVal;break;case "opacity":newVal=i*(a.to-a.from)+a.from,a.element.style.opacity=newVal,a.element.style.filter="alpha(opacity="+newVal*100+")"}if(i==1){if(!e.isNull(a.origOverflow)){var o=false;e.each(p,function(b,a){a!=c&&!e.isNull(b.origOverflow)&&(o=true)});o||a.element.css("overflow",a.origOverflow)}p=e.without(p,c);a.callback&&a.callback.call(a.element);a.element.callChain();
return false}}):(j=false,clearInterval(animationsInterval))};e.each({_:"getAll",hideSmooth:"smoothHide",showSmooth:"smoothShow"},function(a,c){e.alias(a,c)});window.SJS=e;if(!window._)window._=e})();
(function(){function f(b,a,h,o,f,m,n,p,j,I,q,x,B,C,w,A){if(a||r===-1)if(e.expressions[++r]=[],u=-1,a)return"";if(h||o||u===-1){h=h||" ";b=e.expressions[r];if(z&&b[u])b[u].reverseCombinator=c(h);b[++u]={combinator:h,tag:"*"}}h=e.expressions[r][u];if(f)h.tag=f.replace(t,"");else if(m)h.id=m.replace(t,"");else if(n){n=n.replace(t,"");if(!h.classList)h.classList=[];if(!h.classes)h.classes=[];h.classList.push(n);h.classes.push({value:n,regexp:RegExp("(^|\\s)"+i(n)+"(\\s|$)")})}else if(B){A=(A=A||w)?A.replace(t,
""):null;if(!h.pseudos)h.pseudos=[];h.pseudos.push({key:B.replace(t,""),value:A,type:x.length==1?"class":"element"})}else if(p){var p=p.replace(t,""),q=(q||"").replace(t,""),y,D;switch(j){case "^=":D=RegExp("^"+i(q));break;case "$=":D=RegExp(i(q)+"$");break;case "~=":D=RegExp("(^|\\s)"+i(q)+"(\\s|$)");break;case "|=":D=RegExp("^"+i(q)+"(-|$)");break;case "=":y=function(b){return q==b};break;case "*=":y=function(b){return b&&b.indexOf(q)>-1};break;case "!=":y=function(b){return q!=b};break;default:y=
function(b){return!!b}}q==""&&/^[*$^]=$/.test(j)&&(y=function(){return false});y||(y=function(b){return b&&D.test(b)});if(!h.attributes)h.attributes=[];h.attributes.push({key:p,operator:j,value:q,test:y})}return""}var e,r,u,z,p={},j={},t=/\\/g,a=function(i,c){if(i==null)return null;if(i.Slick===true)return i;var i=(""+i).replace(/^\s+|\s+$/g,""),h=(z=!!c)?j:p;if(h[i])return h[i];e={Slick:true,expressions:[],raw:i,reverse:function(){return a(this.raw,true)}};for(r=-1;i!=(i=i.replace(o,f)););e.length=
e.expressions.length;return h[e.raw]=z?b(e):e},c=function(b){return b==="!"?" ":b===" "?"!":/^!/.test(b)?b.replace(/^!/,""):"!"+b},b=function(b){for(var a=b.expressions,i=0;i<a.length;i++){for(var e=a[i],h={parts:[],tag:"*",combinator:c(e[0].combinator)},o=0;o<e.length;o++){var f=e[o];if(!f.reverseCombinator)f.reverseCombinator=" ";f.combinator=f.reverseCombinator;delete f.reverseCombinator}e.reverse().push(h)}return b},i=function(b){return b.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,function(b){return"\\"+
b})},o=RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+i(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),h=this.Slick||{};h.parse=function(b){return a(b)};
h.escapeRegExp=i;if(!this.Slick)this.Slick=h}).apply(typeof exports!="undefined"?exports:this);
(function(){var f={},e={},r=Object.prototype.toString;f.isNativeCode=function(b){return/\{\s*\[native code\]\s*\}/.test(""+b)};f.isXML=function(b){return!!b.xmlVersion||!!b.xml||r.call(b)=="[object XMLDocument]"||b.nodeType==9&&b.documentElement.nodeName!="HTML"};f.setDocument=function(b){var a=b.nodeType;if(a!=9)if(a)b=b.ownerDocument;else if(b.navigator)b=b.document;else return;if(this.document!==b){this.document=b;var a=b.documentElement,c=this.getUIDXML(a),h=e[c],l;if(!h){h=e[c]={};h.root=a;h.isXMLDocument=
this.isXML(b);h.brokenStarGEBTN=h.starSelectsClosedQSA=h.idGetsName=h.brokenMixedCaseQSA=h.brokenGEBCN=h.brokenCheckedQSA=h.brokenEmptyAttributeQSA=h.isHTMLDocument=h.nativeMatchesSelector=false;var s,k,f,p,m,n=b.createElement("div"),j=b.body||b.getElementsByTagName("body")[0]||a;j.appendChild(n);try{n.innerHTML='<a id="slick_uniqueid"></a>',h.isHTMLDocument=!!b.getElementById("slick_uniqueid")}catch(u){}if(h.isHTMLDocument){n.style.display="none";n.appendChild(b.createComment(""));c=n.getElementsByTagName("*").length>
1;try{n.innerHTML="foo</foo>",s=(m=n.getElementsByTagName("*"))&&!!m.length&&m[0].nodeName.charAt(0)=="/"}catch(r){}h.brokenStarGEBTN=c||s;try{n.innerHTML='<a name="slick_uniqueid"></a><b id="slick_uniqueid"></b>',h.idGetsName=b.getElementById("slick_uniqueid")===n.firstChild}catch(q){}if(n.getElementsByClassName){try{n.innerHTML='<a class="f"></a><a class="b"></a>',n.getElementsByClassName("b"),n.firstChild.className="b",f=n.getElementsByClassName("b").length!=2}catch(t){}try{n.innerHTML='<a class="a"></a><a class="f b a"></a>',
k=n.getElementsByClassName("a").length!=2}catch(z){}h.brokenGEBCN=f||k}if(n.querySelectorAll){try{n.innerHTML="foo</foo>",m=n.querySelectorAll("*"),h.starSelectsClosedQSA=m&&!!m.length&&m[0].nodeName.charAt(0)=="/"}catch(C){}try{n.innerHTML='<a class="MiX"></a>',h.brokenMixedCaseQSA=!n.querySelectorAll(".MiX").length}catch(w){}try{n.innerHTML='<select><option selected="selected">a</option></select>',h.brokenCheckedQSA=n.querySelectorAll(":checked").length==0}catch(A){}try{n.innerHTML='<a class=""></a>',
h.brokenEmptyAttributeQSA=n.querySelectorAll('[class*=""]').length!=0}catch(y){}}try{n.innerHTML='<form action="s"><input id="action"/></form>',p=n.firstChild.getAttribute("action")!="s"}catch(D){}h.nativeMatchesSelector=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector;if(h.nativeMatchesSelector)try{h.nativeMatchesSelector.call(a,":slick"),h.nativeMatchesSelector=null}catch(J){}}try{a.slick_expando=1,delete a.slick_expando,h.getUID=this.getUIDHTML}catch(K){h.getUID=this.getUIDXML}j.removeChild(n);
n=m=j=null;h.getAttribute=h.isHTMLDocument&&p?function(b,a){var c=this.attributeGetters[a];return c?c.call(b):(c=b.getAttributeNode(a))?c.nodeValue:null}:function(b,a){var c=this.attributeGetters[a];return c?c.call(b):b.getAttribute(a)};h.hasAttribute=a&&this.isNativeCode(a.hasAttribute)?function(b,a){return b.hasAttribute(a)}:function(b,a){b=b.getAttributeNode(a);return!(!b||!b.specified&&!b.nodeValue)};h.contains=a&&this.isNativeCode(a.contains)?function(b,a){return b.contains(a)}:a&&a.compareDocumentPosition?
function(b,a){return b===a||!!(b.compareDocumentPosition(a)&16)}:function(b,a){if(a){do if(a===b)return true;while(a=a.parentNode)}return false};h.documentSorter=a.compareDocumentPosition?function(b,a){return!b.compareDocumentPosition||!a.compareDocumentPosition?0:b.compareDocumentPosition(a)&4?-1:b===a?0:1}:"sourceIndex"in a?function(b,a){return!b.sourceIndex||!a.sourceIndex?0:b.sourceIndex-a.sourceIndex}:b.createRange?function(b,a){if(!b.ownerDocument||!a.ownerDocument)return 0;var c=b.ownerDocument.createRange(),
i=a.ownerDocument.createRange();c.setStart(b,0);c.setEnd(b,0);i.setStart(a,0);i.setEnd(a,0);return c.compareBoundaryPoints(Range.START_TO_END,i)}:null;a=null}for(l in h)this[l]=h[l]}};var u=/^([#.]?)((?:[\w-]+|\*))$/,z=/\[.+[*$^]=(?:""|'')?\]/,p={};f.search=function(b,a,e,h){var l=this.found=h?null:e||[];if(b)if(b.navigator)b=b.document;else{if(!b.nodeType)return l}else return l;var s,k,f=this.uniques={},e=!(!e||!e.length),j=b.nodeType==9;this.document!==(j?b:b.ownerDocument)&&this.setDocument(b);
if(e)for(k=l.length;k--;)f[this.getUID(l[k])]=true;if(typeof a=="string"){var m=a.match(u);a:if(m){k=m[1];var n=m[2];if(k)if(k=="#"){if(!this.isHTMLDocument||!j)break a;m=b.getElementById(n);if(!m)return l;if(this.idGetsName&&m.getAttributeNode("id").nodeValue!=n)break a;if(h)return m||null;(!e||!f[this.getUID(m)])&&l.push(m)}else{if(k=="."){if(!this.isHTMLDocument||(!b.getElementsByClassName||this.brokenGEBCN)&&b.querySelectorAll)break a;if(b.getElementsByClassName&&!this.brokenGEBCN){s=b.getElementsByClassName(n);
if(h)return s[0]||null;for(k=0;m=s[k++];)(!e||!f[this.getUID(m)])&&l.push(m)}else{var r=RegExp("(^|\\s)"+c.escapeRegExp(n)+"(\\s|$)");s=b.getElementsByTagName("*");for(k=0;m=s[k++];)if((className=m.className)&&r.test(className)){if(h)return m;(!e||!f[this.getUID(m)])&&l.push(m)}}}}else{if(n=="*"&&this.brokenStarGEBTN)break a;s=b.getElementsByTagName(n);if(h)return s[0]||null;for(k=0;m=s[k++];)(!e||!f[this.getUID(m)])&&l.push(m)}e&&this.sort(l);return h?null:l}a:if(b.querySelectorAll&&this.isHTMLDocument&&
!p[a]&&!this.brokenMixedCaseQSA&&!(this.brokenCheckedQSA&&a.indexOf(":checked")>-1||this.brokenEmptyAttributeQSA&&z.test(a)||!j&&a.indexOf(",")>-1||c.disableQSA)){k=a;m=b;if(!j){var t=m.getAttribute("id");m.setAttribute("id","slickid__");k="#slickid__ "+k;b=m.parentNode}try{if(h)return b.querySelector(k)||null;else s=b.querySelectorAll(k)}catch(I){p[a]=1;break a}finally{j||(t?m.setAttribute("id",t):m.removeAttribute("id"),b=m)}if(this.starSelectsClosedQSA)for(k=0;m=s[k++];)m.nodeName>"@"&&(!e||!f[this.getUID(m)])&&
l.push(m);else for(k=0;m=s[k++];)(!e||!f[this.getUID(m)])&&l.push(m);e&&this.sort(l);return l}s=this.Slick.parse(a);if(!s.length)return l}else if(a==null)return l;else if(a.Slick)s=a;else{if(this.contains(b.documentElement||b,a))l?l.push(a):l=a;return l}this.posNTH={};this.posNTHLast={};this.posNTHType={};this.posNTHTypeLast={};this.push=!e&&(h||s.length==1&&s.expressions[0].length==1)?this.pushArray:this.pushUID;l==null&&(l=[]);var q,x,B,C,w,A,y=s.expressions;k=0;a:for(;A=y[k];k++)for(a=0;w=A[a];a++){t=
"combinator:"+w.combinator;if(!this[t])continue a;j=this.isXMLDocument?w.tag:w.tag.toUpperCase();m=w.id;n=w.classList;B=w.classes;C=w.attributes;w=w.pseudos;q=a===A.length-1;this.bitUniques={};q?(this.uniques=f,this.found=l):(this.uniques={},this.found=[]);if(a===0){if(this[t](b,j,m,B,C,w,n),h&&q&&l.length)break a}else if(h&&q)for(q=0,x=r.length;q<x;q++){if(this[t](r[q],j,m,B,C,w,n),l.length)break a}else for(q=0,x=r.length;q<x;q++)this[t](r[q],j,m,B,C,w,n);r=this.found}(e||s.expressions.length>1)&&
this.sort(l);return h?l[0]||null:l};f.uidx=1;f.uidk="slick-uniqueid";f.getUIDXML=function(b){var a=b.getAttribute(this.uidk);a||(a=this.uidx++,b.setAttribute(this.uidk,a));return a};f.getUIDHTML=function(b){return b.uniqueNumber||(b.uniqueNumber=this.uidx++)};f.sort=function(b){if(!this.documentSorter)return b;b.sort(this.documentSorter);return b};f.cacheNTH={};f.matchNTH=/^([+-]?\d*)?([a-z]+)?([+-]\d+)?$/;f.parseNTHArgument=function(b){var a=b.match(this.matchNTH);if(!a)return false;var c=a[2]||
false,e=a[1]||1;e=="-"&&(e=-1);a=+a[3]||0;a=c=="n"?{a:e,b:a}:c=="odd"?{a:2,b:1}:c=="even"?{a:2,b:0}:{a:0,b:e};return this.cacheNTH[b]=a};f.createNTHPseudo=function(b,a,c,e){return function(l,f){var k=this.getUID(l);if(!this[c][k]){var v=l.parentNode;if(!v)return false;var v=v[b],j=1;if(e){var m=l.nodeName;do v.nodeName==m&&(this[c][this.getUID(v)]=j++);while(v=v[a])}else{do v.nodeType==1&&(this[c][this.getUID(v)]=j++);while(v=v[a])}}f=f||"n";j=this.cacheNTH[f]||this.parseNTHArgument(f);if(!j)return false;
v=j.a;j=j.b;k=this[c][k];if(v==0)return j==k;if(v>0){if(k<j)return false}else if(j<k)return false;return(k-j)%v==0}};f.pushArray=function(b,a,c,e,l,f){this.matchSelector(b,a,c,e,l,f)&&this.found.push(b)};f.pushUID=function(b,a,c,e,l,f){var k=this.getUID(b);!this.uniques[k]&&this.matchSelector(b,a,c,e,l,f)&&(this.uniques[k]=true,this.found.push(b))};f.matchNode=function(b,a){if(this.isHTMLDocument&&this.nativeMatchesSelector)try{return this.nativeMatchesSelector.call(b,a.replace(/\[([^=]+)=\s*([^'"\]]+?)\s*\]/g,
'[$1="$2"]'))}catch(c){}var e=this.Slick.parse(a);if(!e)return true;var l=e.expressions,f=0,k;for(k=0;currentExpression=l[k];k++)if(currentExpression.length==1){var j=currentExpression[0];if(this.matchSelector(b,this.isXMLDocument?j.tag:j.tag.toUpperCase(),j.id,j.classes,j.attributes,j.pseudos))return true;f++}if(f==e.length)return false;e=this.search(this.document,e);for(k=0;l=e[k++];)if(l===b)return true;return false};f.matchPseudo=function(b,a,c){var e="pseudo:"+a;if(this[e])return this[e](b,c);
b=this.getAttribute(b,a);return c?c==b:!!b};f.matchSelector=function(b,a,c,e,l,f){if(a){var k=this.isXMLDocument?b.nodeName:b.nodeName.toUpperCase();if(a=="*"){if(k<"@")return false}else if(k!=a)return false}if(c&&b.getAttribute("id")!=c)return false;if(e)for(a=e.length;a--;)if(c=b.getAttribute("class")||b.className,!c||!e[a].regexp.test(c))return false;if(l)for(a=l.length;a--;)if(e=l[a],e.operator?!e.test(this.getAttribute(b,e.key)):!this.hasAttribute(b,e.key))return false;if(f)for(a=f.length;a--;)if(e=
f[a],!this.matchPseudo(b,e.key,e.value))return false;return true};var j={" ":function(b,a,c,e,f,j,k){var p;if(this.isHTMLDocument){a:if(c){p=this.document.getElementById(c);if(!p&&b.all||this.idGetsName&&p&&p.getAttributeNode("id").nodeValue!=c){k=b.all[c];if(!k)return;k[0]||(k=[k]);for(b=0;p=k[b++];){var r=p.getAttributeNode("id");if(r&&r.nodeValue==c){this.push(p,a,null,e,f,j);break}}return}if(p){if(this.document!==b&&!this.contains(b,p))return}else if(this.contains(this.root,b))return;else break a;
this.push(p,a,null,e,f,j);return}if(e&&b.getElementsByClassName&&!this.brokenGEBCN&&(k=b.getElementsByClassName(k.join(" ")))&&k.length){for(b=0;p=k[b++];)this.push(p,a,c,null,f,j);return}}if((k=b.getElementsByTagName(a))&&k.length){this.brokenStarGEBTN||(a=null);for(b=0;p=k[b++];)this.push(p,a,c,e,f,j)}},">":function(a,c,e,h,f,j){if(a=a.firstChild){do a.nodeType==1&&this.push(a,c,e,h,f,j);while(a=a.nextSibling)}},"+":function(a,c,e,h,f,j){for(;a=a.nextSibling;)if(a.nodeType==1){this.push(a,c,e,h,
f,j);break}},"^":function(a,c,e,h,f,j){if(a=a.firstChild)if(a.nodeType==1)this.push(a,c,e,h,f,j);else this["combinator:+"](a,c,e,h,f,j)},"~":function(a,c,e,h,f,j){for(;a=a.nextSibling;)if(a.nodeType==1){var k=this.getUID(a);if(this.bitUniques[k])break;this.bitUniques[k]=true;this.push(a,c,e,h,f,j)}},"++":function(a,c,e,h,f,j){this["combinator:+"](a,c,e,h,f,j);this["combinator:!+"](a,c,e,h,f,j)},"~~":function(a,c,e,h,f,j){this["combinator:~"](a,c,e,h,f,j);this["combinator:!~"](a,c,e,h,f,j)},"!":function(a,
c,e,h,f,j){for(;a=a.parentNode;)a!==this.document&&this.push(a,c,e,h,f,j)},"!>":function(a,c,e,h,f,j){a=a.parentNode;a!==this.document&&this.push(a,c,e,h,f,j)},"!+":function(a,c,e,h,f,j){for(;a=a.previousSibling;)if(a.nodeType==1){this.push(a,c,e,h,f,j);break}},"!^":function(a,c,e,h,f,j){if(a=a.lastChild)if(a.nodeType==1)this.push(a,c,e,h,f,j);else this["combinator:!+"](a,c,e,h,f,j)},"!~":function(a,c,e,h,f,j){for(;a=a.previousSibling;)if(a.nodeType==1){var k=this.getUID(a);if(this.bitUniques[k])break;
this.bitUniques[k]=true;this.push(a,c,e,h,f,j)}}},t;for(t in j)f["combinator:"+t]=j[t];var j={empty:function(a){var c=a.firstChild;return!(c&&c.nodeType==1)&&!(a.innerText||a.textContent||"").length},not:function(a,c){return!this.matchNode(a,c)},contains:function(a,c){return(a.innerText||a.textContent||"").indexOf(c)>-1},"first-child":function(a){for(;a=a.previousSibling;)if(a.nodeType==1)return false;return true},"last-child":function(a){for(;a=a.nextSibling;)if(a.nodeType==1)return false;return true},
"only-child":function(a){for(var c=a;c=c.previousSibling;)if(c.nodeType==1)return false;for(;a=a.nextSibling;)if(a.nodeType==1)return false;return true},"nth-child":f.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":f.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":f.createNTHPseudo("firstChild","nextSibling","posNTHType",true),"nth-last-of-type":f.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",true),index:function(a,c){return this["pseudo:nth-child"](a,
""+c+1)},even:function(a){return this["pseudo:nth-child"](a,"2n")},odd:function(a){return this["pseudo:nth-child"](a,"2n+1")},"first-of-type":function(a){for(var c=a.nodeName;a=a.previousSibling;)if(a.nodeName==c)return false;return true},"last-of-type":function(a){for(var c=a.nodeName;a=a.nextSibling;)if(a.nodeName==c)return false;return true},"only-of-type":function(a){for(var c=a,e=a.nodeName;c=c.previousSibling;)if(c.nodeName==e)return false;for(;a=a.nextSibling;)if(a.nodeName==e)return false;
return true},enabled:function(a){return!a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked||a.selected},focus:function(a){return this.isHTMLDocument&&this.document.activeElement===a&&(a.href||a.type||this.hasAttribute(a,"tabindex"))},root:function(a){return a===this.root},selected:function(a){return a.selected}},a;for(a in j)f["pseudo:"+a]=j[a];a=f.attributeGetters={"class":function(){return this.getAttribute("class")||this.className},"for":function(){return"htmlFor"in
this?this.htmlFor:this.getAttribute("for")},href:function(){return"href"in this?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return this.style?this.style.cssText:this.getAttribute("style")},tabindex:function(){var a=this.getAttributeNode("tabindex");return a&&a.specified?a.nodeValue:null},type:function(){return this.getAttribute("type")},maxlength:function(){var a=this.getAttributeNode("maxLength");return a&&a.specified?a.nodeValue:null}};a.MAXLENGTH=a.maxLength=a.maxlength;
var c=f.Slick=this.Slick||{};c.version="1.1.6";c.search=function(a,c,e){return f.search(a,c,e)};c.find=function(a,c){return f.search(a,c,null,true)};c.contains=function(a,c){f.setDocument(a);return f.contains(a,c)};c.getAttribute=function(a,c){f.setDocument(a);return f.getAttribute(a,c)};c.hasAttribute=function(a,c){f.setDocument(a);return f.hasAttribute(a,c)};c.match=function(a,c){if(!a||!c)return false;if(!c||c===a)return true;f.setDocument(a);return f.matchNode(a,c)};c.defineAttributeGetter=function(a,
c){f.attributeGetters[a]=c;return this};c.lookupAttributeGetter=function(a){return f.attributeGetters[a]};c.definePseudo=function(a,c){f["pseudo:"+a]=function(a,b){return c.call(a,b)};return this};c.lookupPseudo=function(a){var c=f["pseudo:"+a];return c?function(a){return c.call(this,a)}:null};c.override=function(a,c){f.override(a,c);return this};c.isXML=f.isXML;c.uidOf=function(a){return f.getUIDHTML(a)};if(!this.Slick)this.Slick=c}).apply(typeof exports!="undefined"?exports:this);
window.NW||(window.NW={});
NW.Event=function(f){var e={},r={},u={},z={},p=f.document,j=p.documentElement,t=function(){return{items:[],calls:[],parms:[],wraps:[]}},a="activeElement"in p?function(){try{return p.activeElement=null,null===p.activeElement}catch(a){return false}}:true,c=function(){var a=(f.open+"").replace(/open/g,"");return function(b,c){var e=b?b[c]:false;return!(!e||!(typeof e!="string"&&a===(e+"").replace(RegExp(c,"g"),"")))}}(),b=j.addEventListener&&j.removeEventListener?true:false,i=j.attachEvent&&j.detachEvent?
true:false,o="parentWindow"in top.document?function(a){return a.parentWindow||window}:"defaultView"in top.document&&top===top.document.defaultView?function(a){return a.defaultView||window}:function(a){if(!(window.frames.length===0&&top.document===a))for(var b in top.frames)if(top.frames[b].document===a)return top.frames[b];return top},h=function(a,b,c){b||(b=o(a.ownerDocument||a.document||a).event);b.currentTarget=a;b.target=b.srcElement||a;b.preventDefault=l;b.stopPropagation=s;b.eventPhase=c?1:
3;b.relatedTarget=b[(b.target==b.fromElement?"to":"from")+"Element"];b.timeStamp=+new Date;return b},l=function(){this.returnValue=false},s=function(){this.cancelBubble=true},k=function(a,b,c,e,h){var f,i,j=false;if(a[c]&&a[c].items)for(f=0,i=a[c].items.length;i>f;f++)if(a[c].items[f]===b&&a[c].calls[f]===e&&a[c].parms[f]===h){j=f;break}return j},v=function(a,b,c){var e,h,f,i=[];b||(b="*");a||(a="*");c||(c=u);for(e in c)if(b.indexOf(e)>-1||b=="*")for(h=0,f=c[e].items.length;h<f;h++)(c[e].items[h]===
a||a=="*")&&i.push(c[e].calls[h]);return i},G=function(a){var b,c,e=true,h,f,i,j;b=a.type;var k;if(u[b]&&u[b].items){j=a.eventPhase;if(!a.propagated&&D[b])return a.preventDefault?a.preventDefault():a.returnValue=false,true;if(j!==2&&a.target===this)j=a.eventPhase=2;h=u[b].items.slice();f=u[b].calls.slice();i=u[b].parms.slice();for(b=0,c=h.length;c>b;b++){k=false;if(h[b]===this)switch(j){case 1:if(!a.propagated||i[b]===true)k=true;break;case 3:i[b]===false&&(k=true);break;case 2:if(!a.propagated||
i[b]===true)k=true;break;default:k=true}if(k&&(e=f[b].call(this,a))===false)break}}return e},m=function(a){var b,c,e,h,f,i=true;b=a.type;if(r[b]&&r[b].items){e=r[b].items.slice();h=r[b].calls.slice();r[b].parms.slice();b=0;c=e.length;a:for(;c>b;b++)for(f=a.target;f&&f!=this;){if(NW.Dom.match(f,e[b])&&h[b].call(f,a)===false){i=false;break a}f=f.parentNode}}return i},n=function(a,b,c,e,h){a[c]&&a[c].items||(a[c]=new t);a[c].items.push(b);a[c].calls.push(e);a[c].parms.push(h)},H=function(a,b,c){a[b].items.splice(c,
1);a[b].calls.splice(c,1);a[b].parms.splice(c,1)},Q=b?function(a,b,c,e){a.addEventListener(b,c,e||false)}:i?function(a,b,c,f){var i=e[b].wraps.push(function(b){return c.call(a,h(a,b,f))});a.attachEvent("on"+b,e[b].wraps[i-1])}:function(a,b,c,e){z["on"+b]=a["on"+b]||new Function;a["on"+b]=function(a){var f;a||(a=h(this,a,e));f=c.call(this,a);z["on"+b].call(this,a);return f}},I=b?function(a,b,c,e){a.removeEventListener(b,c,e||false)}:i?function(a,b,c,h,f){a.detachEvent("on"+b,c);e[b].wraps.splice(f,
1)}:function(a,b){a["on"+b]=z["on"+b];delete z["on"+b]},q=function(a,b,c,f){var h,i,j;if(typeof b=="string"){j=b.split(" ");for(h=0,i=j.length;h<i;h++)b=k(e,a,j[h],c,f),b===false&&(n(e,a,j[h],c,f),Q(a,j[h],c,f))}else for(h in b)q(a,h,b[h],f);return this},x=function(a,b,c,h){var f,i,j;if(typeof b=="string"){j=b.split(" ");for(f=0,i=j.length;f<i;f++)b=k(e,a,j[f],c,h),b!==false&&(I(a,j[f],e[j[f]].wraps[b],h,b),H(e,j[f],b))}else for(f in b)x(a,f,b[f],h);return this},B=function(a,b,c,e){var f,h,i;if(typeof b==
"string"){i=b.split(" ");for(f=0,h=i.length;f<h;f++)b=k(u,a,i[f],c,e),b===false&&(n(u,a,i[f],c,e),v(a,i[f],u).length===1&&q(a,i[f],G,e))}else for(f in b)B(a,f,b[f],e);return this},C=function(a,b,c,e){var f,h,i;if(typeof b=="string"){i=b.split(" ");for(f=0,h=i.length;f<h;f++)b=k(u,a,i[f],c,e),b!==false&&(v(a,i[f],u).length===1&&x(a,i[f],G,e),H(u,i[f],b))}else for(f in b)C(a,f,b[f],e);return this},w=function(a,b,c,e){var f,h,i;if(typeof a=="string"){i=b.split(" ");e=e||j;for(f=0,h=i.length;f<h;f++)b=
k(r,a,i[f],c,e),b===false&&(n(r,a,i[f],c,e),r[i[f]].items.length===1&&B(e,i[f],m,true))}else for(f in a)if(typeof f=="string")for(h in a[f])w(f,h,a[f][h]);return this},A=function(a,b,c,e){var f,h,i;if(typeof b=="string"){i=b.split(" ");e=e||j;for(f=0,h=i.length;f<h;f++)b=k(r,a,i[f],c,e),b!==false&&(r[i[f]].items.length===1&&C(e,i[f],m,true),H(r,i[f],b))}else for(f in a)if(typeof f=="string")for(h in a[f])A(f,h,a[f][h]);return this},b=j.dispatchEvent?function(a,b){var c,e=a.ownerDocument||a.document||
a,f=o(e);if(/mouse|click/.test(b))try{c=e.createEvent("MouseEvents"),c.initMouseEvent(b,true,true,f,0,0,0,0,0,false,false,false,false,0,null)}catch(h){c=e.createEvent("HTMLEvents"),c.initEvent(b,true,true)}else/key(down|press|out)/.test(b)?(c=e.createEvent("KeyEvents"),c.initKeyEvent(b,true,true,f,false,false,false,false,0,0)):(c=e.createEvent("HTMLEvents"),c.initEvent(b,true,true));return a.dispatchEvent(c)}:j.fireEvent?function(a,b,c){var e;e=(a.ownerDocument||a.document||a).createEventObject();
e.type=b;e.target=a;e.eventPhase=0;e.currentTarget=a;e.cancelBubble=!!c;e.returnValue=void 0;return a.fireEvent("on"+b,h(a,e,c))}:function(){},y={blur:"blur",focus:"focus",beforeactivate:"focus",beforedeactivate:"blur"},D={blur:1,focus:1,reset:1,submit:1,change:1},J=p.addEventListener?"focus blur":"beforeactivate beforedeactivate",K=function(a){var b=true,e=a.target,a=a.type;b&&(b=F(e,a,true));b&&(b=F(e,a,false));x(e,a,K,false);if(e.form)e=e.form;b&&c(e,a)&&e[a]();return b},F=function(a,b,c){var e,
f=true;e=a;for(var h=[],a={type:b,target:a,bubbles:true,cancelable:true,currentTarget:a,relatedTarget:null,timeStamp:+new Date,preventDefault:l,stopPropagation:s,eventPhase:c?1:3,propagated:true};e.nodeType==1;)h.push(e),e=e.parentNode;c&&h.reverse();for(e=0,b=h.length;b>e;e++)if(a.currentTarget=h[e],a.eventPhase=c?1:3,G.call(h[e],a)===false||a.returnValue===false){f=false;break}delete a.propagated;return f},L=function(a){var b=true,c=a.target;b&&(b=F(c,y[a.type],true));b&&(b=F(c,y[a.type],false));
b||(a.preventDefault?a.preventDefault():a.returnValue=false);return b},M=function(b){var c=b.target,e=c.type;if(c!=p.activeElement&&!a&&c.nodeType==1)p.activeElement=c,p.focusElement=null;if(e){if(c!=p.focusElement&&!a)p.focusElement=c;if(/file|text|password/.test(e)&&b.keyCode==13&&c.form)e="submit",c=c.form;else if(/select-(one|multi)/.test(e))e="change";else if(/reset|submit/.test(e)&&c.form)c=c.form;else return;q(c,e,K,false)}},i=function(a){if(!a.forcedPropagation)a.forcedPropagation=true,q(o(a),
"unload",function(b){N(a);x(this,"unload",arguments.callee,false)},false),q(a,"keydown mousedown",M,true),q(a,J,L,true)},N=function(a){if(a.forcedPropagation)a.forcedPropagation=false,x(a,"keydown mousedown",M,true),x(a,J,L,true)},O=false,E=new t,P=function(a,b,c){function e(a){f||(f=true,b.call(c,a))}var f=false,h=0,i=a.document,j=i.documentElement;if(i.addEventListener){var k=function(a){i.removeEventListener(a.type,k,false);e(a)};i.addEventListener("DOMContentLoaded",k,false);a.addEventListener("load",
k,false)}else if(i.attachEvent){var l=function(){function a(){try{if(j.doScroll("left"),h=j.outerHTML.length,h*1.03<d.fileSize*1)return!f&&setTimeout(a,50)}catch(b){return!f&&setTimeout(a,50)}e({type:"poll"});return f}i.detachEvent("onreadystatechange",l);a()};i.attachEvent("onreadystatechange",l);var m=function(a){i.readyState=="complete"&&(i.detachEvent("onreadystatechange",m),e(a))};i.attachEvent("onreadystatechange",m);i.attachEvent("load",m)}else{var n=a.onload;a.onload=function(b){e(b||a.event);
typeof n=="function"&&n(b||a.event)}}};if(!a)p.activeElement=j;p.forcedPropagation||i(p);P(f,function(a,b,c){O=true;if(E.ready&&E.ready.items){b=E.ready.items.length;for(a=0;b>a;++a)E.ready.calls[a].call(c)}});return{USE_DOM2:true,stop:function(a){a.preventDefault?a.preventDefault():a.returnValue=false;a.stopPropagation?a.stopPropagation():a.cancelBubble=true;return false},dispatch:b,onDOMReady:function(a,b,c){if(O)b.call(c);else if(k(E,a,"ready",b,null)===false)n(E,a,"ready",b,null);else throw Error("NWEvents: duplicate ready handler for host: "+
a);},contentLoaded:P,getRegistered:v,appendHandler:q,removeHandler:x,appendListener:B,removeListener:C,appendDelegate:w,removeDelegate:A,enablePropagation:i,disablePropagation:N}}(this);NW.Dom={match:Slick.match};
