1var $JQ = jQuery.noConflict(); 2 3//breakdance 4(function(a){var b=[],c,d,e=[],f=30,g=function(){var a=(new Date).getTime();if(c&&a-c<f){clearTimeout(d);d=setTimeout(g,f);return}else{c=a}i()},h=function(){return a.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},i=function(){var a=b.length,c=h(),d=[],f=[];for(var g=0;g<a;g++){var i=b[g];if("min"in i&&"max"in i&&"enter"in i&&"exit"in i){if(c>=i.min&&c<=i.max){if(!i.active){d.push(i.enter);i.active=true}}else{if(i.active){f.push(i.exit);i.active=false}}}}e=f.concat(d);d=[];f=[];if(e.length){j(e,0)}},j=function(a,b){a[b]();if(b+1<a.length){j(a,b+1)}else{a=[]}};a.breakdance=function(c,d){var d=d||true;if(c instanceof Array){for(var e=0;e<c.length;e++){a.breakdance(c[e],false)}window.breakdance.update()}else{c.active=false;b.push(c);if(d){window.breakdance.update()}}};window.breakdance.update=function(){g()};if(a.addEventListener){a.addEventListener("resize",g,false)}else if(a.attachEvent){a.attachEvent("onresize",g)}})(this); 5 6// used to look for URL params 7function getURLParameter(sParam){ 8 var sPageURL = window.location.search.substring(1); 9 var sURLVariables = sPageURL.split('&'); 10 for (var i = 0; i < sURLVariables.length; i++) { 11 var sParameterName = sURLVariables[i].split('='); 12 if (sParameterName[0] == sParam) { 13 return sParameterName[1]; 14 } 15 } 16} 17 18var scrollToEl = function(el,spacing) { 19 // set default spacing to 0 20 var spacing = spacing || 20; 21 22 if ($JQ(el).length) { 23 var viewportWidth = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 24 25 if (viewportWidth >= 960) { 26 // calculate height of "sticky" elements 27 var extra = $JQ('#main-nav').outerHeight(true); 28 } 29 else { 30 extra = 0; 31 } 32 33 $JQ('html, body').animate({ 34 // 20 is extra spacing away from sticky nav 35 scrollTop: $JQ(el).offset().top - extra - spacing 36 }, 600) 37 } 38}; 39 40var getFlickrFeed = function(count,container) { 41 var flickrKey = 'e913291e10c6ae7045eef9557b726828', 42 flickrID = '138818535@N06', 43 contain = $JQ(container); 44 45 $JQ.ajax({ 46 type: 'GET', 47 url: 'https://secure.flickr.com/services/rest/?method=flickr.photos.search&api_key='+flickrKey+'&user_id='+flickrID+'&media=photos&extras=url_q&per_page='+count+'&format=json&jsoncallback=?', 48 async: false, 49 contentType: "application/json", 50 dataType: 'jsonp', 51 crossDomain: true, 52 success: function(json) { 53 contain.removeClass('loading').empty(); 54 55 $JQ.each(json.photos.photo, function(idx, itm) { 56 var altText = itm.title.replace(/\"/g,'\\"'); 57 58 contain.append('<a href="http://www.flickr.com/photos/'+flickrID+'/' + itm.id +'" target="_blank"><img src="' + itm.url_q + '" alt="' + altText + '" /></a>'); 59 }); 60 }, 61 error: function() { contain.hide() } 62 }); 63}; 64 65(function($){ 66 $(function(){ 67 var $window = $(window), 68 $html = $('html'), 69 $body = $('body'), 70 navCont = $('#nav-container'), 71 headerInner = $('#header > .inner'), 72 header = $('#header'), 73 bpFull = 1300, 74 actClass = 'active', 75 navOpenClass = 'nav-open', 76 alert = $('#alert'), 77 $alertClose = $('#alert .close-button'), 78 $alertMsg = $('#alert .inner'), 79 cookies = document.cookie.split(';'); 80 81 var supportsTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints; 82 if (supportsTouch) { 83 $('html').addClass('touch'); 84 } 85 86 // load default banner image if one isn't entered 87 var banner = $('#banner'); 88 89 if (!banner.parents('#sfPageContainer').length) { 90 // this means we're not in the SF page edit screen 91 if (!banner.find('> .sfContentBlock').length) { 92 $('<div class="sfContentBlock"><img alt="students on campus" src="http://www.claflin.edu/images/default-source/Banner-Images/claflin-students-walking-by-restaurant-talking.jpg?Status=Temp&sfvrsn=2" title="students on campus"></div>').insertAfter(banner.find('.color-bars').eq(0)); 93 } 94 95 imagesLoaded('#banner .sfContentBlock', function() { 96 var bannerImg = $('#banner img'); 97 98 // figure out image ratio 99 var imgHeight = bannerImg.height(), 100 imgWidth = bannerImg.width(); 101 102 if (imgHeight != 0) { 103 $('#banner .sfContentBlock').css('padding-top',imgHeight/imgWidth*100+'%'); 104 } 105 106 bannerImg.fadeIn('slow'); 107 }); 108 } 109 110 var touchSupport = 'ontouchstart' in window || navigator.msMaxTouchPoints; 111 112 ////// sticky nav 113 var stickyClass = 'sticky', 114 navCloneID = '#nav-clone'; 115 116 var stickNav = function() { 117 if (!touchSupport) { 118 var $this = header, 119 initialTop = $this.offset().top; 120
121 $window.on('scroll.stickyNav', function(ev) { 122 123 if (!$this.hasClass(stickyClass) && $this.position().top != initialTop) { 124 // this means we calculated the position top before it was moved and loaded fully 125 initialTop = $this.position().top; 126 } 127 128 var scrollAmt = $window.scrollTop(), 129 navClone = $(navCloneID); 130 131 if (scrollAmt > initialTop) { 132 if (!navClone.length) { 133 $('<div id="nav-clone">').insertBefore($this).css('height',$this.outerHeight(true)); 134 } 135 else { navClone.show() } 136 137 $this.addClass(stickyClass); 138 } 139 else { 140 if (navClone.length) { navClone.hide() } 141 $this.removeClass(stickyClass); 142 } 143 }); 144 } 145 } 146 147 var unstickNav = function() { 148 $(window).off('.stickyNav'); 149 mainNav.removeClass(stickyClass); 150 $(navCloneID).remove(); 151 } 152 153 ////// off canvas 154 var navContTrigger = $('#nav-trigger'); 155 navContTrigger.on('click',function(e) { 156 e.preventDefault(); 157 $body.toggleClass(navOpenClass); 158 navCont.slideToggle('fast'); 159 }); 160 161 162 ////// main nav expand/collapse 163 var mainNavTriggers = $('#main-nav .group > a.trigger'); 164 165 var mainNav = $('#main-nav'); 166 167 var openNav = function(el) { 168 el.addClass('open'); 169 mainNav.addClass('menu-open'); 170 } 171 172 var closeNav = function(el) { 173 if (el == 'all') { 174 mainNav.find('.group').removeClass('open'); 175 } 176 else { 177 el.removeClass('open'); 178 } 179 180 mainNav.removeClass('menu-open'); 181 } 182 183 var mainNavMoves = [ 184 { 185 min: 0, 186 max: bpFull-1, 187 enter: function() { 188 189 // expand/collapse 190 mainNavTriggers.each(function(idx,itm) { 191 var that = $(this); 192 193 that.on('click',function(e) { 194 e.preventDefault(); 195 that.toggleClass('active'); 196 that.siblings('.content').slideToggle('fast'); 197 }); 198 }); 199 200 }, 201 exit: function() {} 202 }, 203 { 204 min: bpFull, 205 max: 99999, 206 enter: function() { 207 208 // mega menu 209 mainNavTriggers.each(function(idx,itm) { 210 $(itm).off('click'); 211 }); 212 213 mainNav.find('.group').hoverIntent( 214 function() { 215 openNav($(this)); 216 }, 217 function() { 218 closeNav($(this)); 219 } 220 ); 221 222 mainNav.find('.group').on('focus.mainNavFocus',function() { 223 closeNav('all'); 224 openNav($(this)); 225 }); 226 227 $('#breadcrumbs > .sfBreadcrumbWrp > ul > li:first-child > a, #banner-slider a').on('focus',function() { 228 closeNav('all'); 229 }); 230 231 stickNav(); 232 }, 233 exit: function() { 234 unstickNav(); 235 mainNavTriggers.off('.mainNavFocus') 236 } 237 } 238 ]; 239 240 breakdance(mainNavMoves); 241 242 243 ////// small to large 244 var search = $('#search'), 245 mainNav = $('#main-nav'), 246 toolbar = $('#toolbar'), 247 tools = $('#tools'), 248 navCTA = $('#nav-container .cta'); 249 250 var siteMoves = [ 251 { 252 min: bpFull, 253 max: 99999, 254 enter: function() { 255 $body.removeClass(navOpenClass); 256 tools.insertBefore('#header'); 257 toolbar.insertBefore(header); 258 mainNav.appendTo(headerInner); 259 search.appendTo(header); 260 }, 261 exit: function() { 262 search.appendTo(navCont); 263 mainNav.appendTo(navCont); 264 toolbar.appendTo(navCont); 265 tools.appendTo('#tools-resources'); 266 navCTA.appendTo(navCont); 267 navCont.hide(); 268 } 269 }, 270 ]; 271 272 breakdance(siteMoves); 273 274 var toolsTrigger = $('#tools-resources > a.trigger, #tools .close a'); 275 toolsTrigger.on('click',function(e) { 276 e.preventDefault(); 277 toolsTrigger.toggleClass('active'); 278 $('#tools').slideToggle('fast'); 279 });
280 281 var sectionNavTrigger = $('#section-nav-trigger'); 282 sectionNavTrigger.on('click',function(e) { 283 e.preventDefault(); 284 sectionNavTrigger.toggleClass('active'); 285 $('#section-info').slideToggle('fast'); 286 }); 287 288 var searchTrigger = $('#search-trigger, #search a.close'); 289 searchTrigger.on('click',function(e) { 290 e.preventDefault(); 291 searchTrigger.toggleClass('active'); 292 search.slideToggle('fast'); 293 }); 294 295 /************ Expand/Collapse the alert *****************/ 296 //starts off closed. 297 298 //accessibility 299 $alertClose.attr('tabindex', '0').attr('role', 'button').attr('aria-expanded', 'false').attr('aria-controls', 'alert-inner'); 300 301 //Click action 302 $alertClose.on('click', function(){ 303 $alertMsg.slideToggle('fast'); 304 $alertMsg.toggleClass('open'); 305 $(this).toggleClass('open'); 306 307 $(this).text( ($(this).hasClass('open') ? 'Close Alert' : 'Show Alert') ); 308 $(this).attr('aria-expanded', ( ($(this).hasClass('open') ? 'true' : 'false') ) ); 309 310 setTimeout(function(){ 311 $(window).trigger('resize'); 312 }, 200); 313 }); 314 315 // Accessibility 316 317 // Make sure class is toggled if changing screen widths. Probably not necessary 318 var checkAlert = [ 319 { 320 min: bpFull, 321 max: 99999, 322 enter: function() { 323 $alertMsg.css('display') === 'block' ? $alertMsg.addClass('open') : $alertMsg.removeClass('open'); 324 }, 325 exit: function() { 326 $alertMsg.css('display') === 'block' ? $alertMsg.addClass('open') : $alertMsg.removeClass('open'); 327 } 328 } 329 ]; 330 breakdance(checkAlert); 331 332 333 /********* Closed Alert Cookie *************/ 334 if (alert.length) { 335 var alertId = alert.data("id"), 336 alertVers = alert.data("version"), 337 showAlert = true; 338 339 for(var i=0; i<cookies.length; i++) { 340 var splitCookie = cookies[i].split('=');
340 //0 - cookie name, 1 - cookie value 341 342 // check if alert has been closed. Trim in case there are spaces. 343 if (splitCookie[0].trim() == alertId) { 344 showAlert = false; 345 346 //then check version in case of updated alert, then we reshow. Don't use strict type comparison 347 if ( splitCookie[1].trim() != alertVers) { 348 showAlert = true; 349 } 350 351 break; 352 } 353 } 354 355 if (showAlert) { 356 $alertClose.click(); 357 } 358 359 // write cookie on alert close to expire when browser is closed 360 // Cookie is the alert ID = alertversion to know which alert has already been closed. 361 $alertClose.on('click', function(e){ 362 document.cookie=alertId + "=" + alertVers +";path=/"; 363 }); 364 } 365 366 // section nav 367 $('#section-nav li').each(function(idx,itm) { 368 $this = $(itm); 369 370 if ($this.find('> ul').length) { 371 $this.addClass('has-links'); 372 } 373 }); 374 375 // taxonomy filters 376 var taxCallout = $('.callout.taxonomy'); 377 if (taxCallout.length == 1) { 378 var curPage = document.location.href; 379 curPage = curPage.replace(document.location.origin,''); 380 381 var taxCalloutActiveLink = taxCallout.find('a[href="'+curPage+'"]'); 382 383 if (taxCalloutActiveLink) { 384 taxCalloutActiveLink.addClass('active'); 385 386 $('<h2>'+taxCalloutActiveLink.text()+'</h2>').insertAfter($('.body-content h1').eq(0)); 387 } 388 } 389 390 // if contact callout is blank, hide it 391 $('.contact-callout').each(function(idx,itm) { 392 var that = $(this); 393 394 if (!$.trim(that.html()).length) { 395 that.remove(); 396 } 397 }); 398 399 // responsive videos 400 $('.media, .sfContentBlock').fitVids(); 401 402 // build tabs 403 var tabs = $('ul.tabs'); 404 if (tabs.length){ 405 var setContentHeight = function(con,tab){ 406 var curItemHeight = con.outerHeight()+60; 407 tab.css('min-height', curItemHeight); 408 }; 409 410 tabs.each(function(idx,itm){ 411 var idxClass = "tabs" + idx, 412 curTab = $(itm), 413 tabContent = curTab.find('li > .content'); 414 415 curTab.addClass(idxClass); 416 417 var tabfunc = [ 418 { 419 min: 0, 420 max: 999, 421 enter: function() { 422 tabContent.hide(); 423 curTab.find('li > .title').on('click.tabMobile', function(){ 424 $(this).next('.content').slideToggle('fast'); 425 $(this).parent('li').toggleClass(actClass); 426 }); 427 428 curTab.children('li:first-child').find('.title').trigger('click'); 429 }, 430 exit: function() { 431 curTab.find('li > .title').off('click.tabMobile'); 432 curTab.find('li').removeClass(actClass); 433 } 434 }, 435 { 436 min: 1000, 437 max: 99999, 438 enter: function() { 439 tabContent.hide(); 440 441 curTab.children('li').each(function(idx2, listItem){ 442 var curItem = $(listItem), 443 curItemContent = curItem.find('.content'); 444 445 curItem.children('.title').on('click.tabFull', function(){ 446 if(!curItem.hasClass(actClass)){ 447 448 $window.off('resize.tabHeight'); 449 curTab.find('.content').fadeOut('fast').parent('li').removeClass(actClass).promise().done(function(){ 450 curItemContent.fadeIn('fast').promise().done(function(){ 451 $window.on('resize.tabHeight', function() { setContentHeight(curItemContent,curTab); }); 452 $window.trigger('resize.tabHeight'); 453 }); 454 curItem.addClass(actClass); 455 }); 456 } 457 }); 458 459 curItem.on('focus.tabFull', function(){ 460 if(!curItem.hasClass(actClass)){ 461 462 $window.off('resize.tabHeight'); 463 curTab.find('.content').fadeOut('fast').parent('li').removeClass(actClass).promise().done(function(){ 464 curItemContent.fadeIn('fast').promise().done(function(){ 465 $window.on('resize.tabHeight', function() { setContentHeight(curItemContent,curItem); }); 466 $window.trigger('resize.tabHeight'); 467 }); 468 curItem.addClass(actClass); 469 }); 470 } 471 }); 472 473 curTab.children('li:first-child').find('.title').trigger('click'); 474 }); 475 476 }, 477 exit: function() { 478 curTab.find('li').removeClass(actClass); 479 $window.off('resize.tabHeight'); 480 curTab.find('li > .title').off('click.tabFull'); 481 curTab.css('min-height', ''); 482 } 483 } 484 ]; 485 486 breakdance(tabfunc); 487 488 }); 489 } 490 491 // build accordions 492 var accordions = $('ul.accordion'); 493 if (accordions.length) { 494 accordions.each(function(idx,itm) { 495 var idxClass = "accordion" + idx, 496 curAcc = $(itm); 497 498 curAcc.addClass(idxClass).children('li').each(function(idx2,listItem) { 499 var curItem = $(listItem); 500 curItem.children('.title').on('click',function() { 501 curItem.toggleClass(actClass).find('.content').slideToggle('fast'); 502 }); 503 }); 504 }); 505 } 506 507 var animateEl = $('.animate'), 508 isElementMiddleInViewport = function(el){ 509 if (typeof jQuery === "function" && el instanceof jQuery) { el = el[0] } 510 511 var rect = el.getBoundingClientRect(); 512 513 return ( 514 rect.top >= 0 && 515 rect.left >= 0 && 516 rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && 517 rect.right <= (window.innerWidth || document.documentElement.clientWidth) || 518 (rect.top + rect.height/2) <= (window.innerHeight || document.documentElement.clientHeight) 519 ); 520 }; 521 522 if(animateEl.length){ 523 $window.on('scroll',$.throttle(25,true,function() { 524 animateEl.each(function(idx,itm){ 525 if(isElementMiddleInViewport(itm)){ 526 $(itm).addClass('inViewport'); 527 } 528 }); 529 })); 530 } 531 532 /* trigger resize so bound functions can run */ 533 $window.on('load', function() { 534 $window.trigger('resize'); 535 $window.trigger('scroll'); 536 });
537 $window.on('orientationchange', function() { 538 $window.trigger('resize'); 539 }); 540 541 $('#copyright span.year').html(new Date().getFullYear()); 542 }); 543})($JQ); 544 545/*! modernizr 3.2.0 (Custom Build) | MIT * 546 * http://modernizr.com/download/?-csstransforms3d-opacity-domprefixes-prefixes-shiv-testallprops-testprop-teststyles !*/ 547!function(e,t,n){function r(e,t){return typeof e===t}function o(){var e,t,n,o,i,a,s;for(var l in C)if(C.hasOwnProperty(l)){if(e=[],t=C[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(o=r(t.fn,"function")?t.fn():t.fn,i=0;i<e.length;i++)a=e[i],s=a.split("."),1===s.length?Modernizr[s[0]]=o:(!Modernizr[s[0]]||Modernizr[s[0]]instanceof Boolean||(Modernizr[s[0]]=new Boolean(Modernizr[s[0]])),Modernizr[s[0]][s[1]]=o),y.push((o?"":"no-")+s.join("-"))}}function i(e){var t=w.className,n=Modernizr._config.classPrefix||"";if(_&&(t=t.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),_?w.className.baseVal=t:w.className=t)}function a(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):_?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(){var e=t.body;return e||(e=a(_?"svg":"body"),e.fake=!0),e}function l(e,n,r,o){var i,l,c,u,f="modernizr",d=a("div"),p=s();if(parseInt(r,10))for(;r--;)c=a("div"),c.id=o?o[r]:f+(r+1),d.appendChild(c);return i=a("style"),i.type="text/css",i.id="s"+f,(p.fake?p:d).appendChild(i),p.appendChild(d),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),d.id=f,p.fake&&(p.style.background="",p.style.overflow="hidden",u=w.style.overflow,w.style.overflow="hidden",w.appendChild(p)),l=n(d,e),p.fake?(p.parentNode.removeChild(p),w.style.overflow=u,w.offsetHeight):d.parentNode.removeChild(d),!!l}function c(e,t){return!!~(""+e).indexOf(t)}function u(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function f(e,t){return function(){return e.apply(t,arguments)}}function d(e,t,n){var o;for(var i in e)if(e[i]in t)return n===!1?e[i]:(o=t[e[i]],r(o,"function")?f(o,n||t):o);return!1}function p(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function m(t,r){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(p(t[o]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var i=[];o--;)i.push("("+p(t[o])+":"+r+")");return i=i.join(" or "),l("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function h(e,t,o,i){function s(){f&&(delete j.style,delete j.modElem)}if(i=r(i,"undefined")?!1:i,!r(o,"undefined")){var l=m(e,o);if(!r(l,"undefined"))return l}for(var f,d,p,h,g,v=["modernizr","tspan"];!j.style;)f=!0,j.modElem=a(v.shift()),j.style=j.modElem.style;for(p=e.length,d=0;p>d;d++)if(h=e[d],g=j.style[h],c(h,"-")&&(h=u(h)),j.style[h]!==n){if(i||r(o,"undefined"))return s(),"pfx"==t?h:!0;try{j.style[h]=o}catch(y){}if(j.style[h]!=g)return s(),"pfx"==t?h:!0}return s(),!1}function g(e,t,n,o,i){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+z.join(a+" ")+a).split(" ");return r(t,"string")||r(t,"undefined")?h(s,t,o,i):(s=(e+" "+x.join(a+" ")+a).split(" "),d(s,t,n))}function v(e,t,r){return g(e,n,n,t,r)}var y=[],C=[],S={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){C.push({name:e,fn:t,options:n})},addAsyncTest:function(e){C.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=S,Modernizr=new Modernizr;var E=S._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];S._prefixes=E;var b="Moz O ms Webkit",x=S._config.usePrefixes?b.toLowerCase().split(" "):[];S._domPrefixes=x;var w=t.documentElement,_="svg"===w.nodeName.toLowerCase();_||!function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=C.elements;return"string"==typeof e?e.split(" "):e}function o(e,t){var n=C.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),C.elements=n+" "+e,c(t)}function i(e){var t=y[e[g]];return t||(t={},v++,e[g]=v,y[v]=t),t}function a(e,n,r){if(n||(n=t),f)return n.createElement(e);r||(r=i(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():h.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!o.canHaveChildren||m.test(e)||o.tagUrn?o:r.frag.appendChild(o)}function s(e,n){if(e||(e=t),f)return e.createDocumentFragment();n=n||i(e);for(var o=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)o.createElement(s[a]);return o}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return C.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(C,t.frag)}function c(e){e||(e=t);var r=i(e);return!C.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
547play:block}mark{background:#FF0;color:#000}template{display:none}")),f||l(e,r),e}var u,f,d="3.7.3",p=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",v=0,y={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,f=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,f=!0}}();var C={elements:p.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:d,shivCSS:p.shivCSS!==!1,supportsUnknownElements:f,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:c,createElement:a,createDocumentFragment:s,addElements:o};e.html5=C,c(t),"object"==typeof module&&module.exports&&(module.exports=C)}("undefined"!=typeof e?e:this,t),Modernizr.addTest("opacity",function(){var e=a("a").style;return e.cssText=E.join("opacity:.55;"),/^0.55$/.test(e.opacity)});var N="CSS"in e&&"supports"in e.CSS,k="supportsCSS"in e;Modernizr.addTest("supports",N||k);var z=S._config.usePrefixes?b.split(" "):[];S._cssomPrefixes=z;var P=S.testStyles=l,T={elem:a("modernizr")};Modernizr._q.push(function(){delete T.elem});var j={style:T.elem.style};Modernizr._q.unshift(function(){delete j.style});S.testProp=function(e,t,r){return h([e],n,t,r)};S.testAllProps=g,S.testAllProps=v,Modernizr.addTest("csstransforms3d",function(){var e=!!v("perspective","1px",!0),t=Modernizr._config.usePrefixes;if(e&&(!t||"webkitPerspective"in w.style)){var n,r="#modernizr{width:0;height:0}";Modernizr.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",P(r+n,function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),o(),i(y),delete S.addTest,delete S.addAsyncTest;for(var F=0;F<Modernizr._q.length;F++)Modernizr._q[F]();e.Modernizr=Modernizr}(window,document); 548 549/*! 550 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ 551 * http://cherne.net/brian/resources/jquery.hoverIntent.html 552 * 553 * You may use hoverIntent under the terms of the MIT license. 554 * Copyright 2007, 2013 Brian Cherne 555 */ 556(function(e){e.fn.hoverIntent=function(t,n,r){var i={interval:100,sensitivity:7,timeout:175};if(typeof t==="object"){i=e.extend(i,t)}else if(e.isFunction(n)){i=e.extend(i,{over:t,out:n,selector:r})}else{i=e.extend(i,{over:t,out:t,selector:n})}var s,o,u,a;var f=function(e){s=e.pageX;o=e.pageY};var l=function(t,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if(Math.abs(u-s)+Math.abs(a-o)<i.sensitivity){e(n).off("mousemove.hoverIntent",f);n.hoverIntent_s=1;return i.over.apply(n,[t])}else{u=s;a=o;n.hoverIntent_t=setTimeout(function(){l(t,n)},i.interval)}};var c=function(e,t){t.hoverIntent_t=clearTimeout(t.hoverIntent_t);t.hoverIntent_s=0;return i.out.apply(t,[e])};var h=function(t){var n=jQuery.extend({},t);var r=this;if(r.hoverIntent_t){r.hoverIntent_t=clearTimeout(r.hoverIntent_t)}if(t.type=="mouseenter"){u=n.pageX;a=n.pageY;e(r).on("mousemove.hoverIntent",f);if(r.hoverIntent_s!=1){r.hoverIntent_t=setTimeout(function(){l(n,r)},i.interval)}}else{e(r).off("mousemove.hoverIntent",f);if(r.hoverIntent_s==1){r.hoverIntent_t=setTimeout(function(){c(n,r)},i.timeout)}}};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},i.selector)}})(jQuery); 557 558 559/*! 560* FitVids 1.1 561* 562* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com 563* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ 564* Released under the WTFPL license - http://sam.zoy.org/wtfpl/ 565* 566*/ 567!function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var d=document.head||document.getElementsByTagName("head")[0],e=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",f=document.createElement("div");f.innerHTML='<p>x</p><style id="fit-vids-style">'+e+"</style>",d.appendChild(f.childNodes[1])}return b&&a.extend(c,b),this.each(function(){var b=['iframe[src*="player.vimeo.com"]','
567iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];c.customSelector&&b.push(c.customSelector);var d=".fitvidsignore";c.ignore&&(d=d+", "+c.ignore);var e=a(this).find(b.join(","));e=e.not("object object"),e=e.not(d),e.each(function(){var b=a(this);if(!(b.parents(d).length>0||"embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){b.css("height")||b.css("width")||!isNaN(b.attr("height"))&&!isNaN(b.attr("width"))||(b.attr("height",9),b.attr("width",16));var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),e=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),f=c/e;if(!b.attr("name")){var g="fitvid"+a.fn.fitVids._count;b.attr("name",g),a.fn.fitVids._count++}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*f+"%"),b.removeAttr("height").removeAttr("width")}})})},a.fn.fitVids._count=0}(window.jQuery||window.Zepto); 568 569/* 570 * jQuery throttle / debounce - v1.1 - 3/7/2010 571 * http://benalman.com/projects/jquery-throttle-debounce-plugin/ 572 * 573 * Copyright (c) 2010 "Cowboy" Ben Alman 574 * Dual licensed under the MIT and GPL licenses. 575 * http://benalman.com/about/license/ 576 */ 577(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this); 578 579/*! 580 * imagesLoaded PACKAGED v3.0.4 581 * JavaScript is all like "You images are done yet or what?" 582 */ 583(function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}var n=e.prototype;n.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},n.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},n.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},n.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},n.on=n.addListener,n.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},n.once=n.addOnceListener,n.defineEvent=function(e){return this.getListeners(e),this},n.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},n.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},n.off=n.removeListener,n.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},n.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},n.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},n.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},n.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],o=n.listener.apply(this,t||[]),(o===this._getOnceReturnValue()||n.once===!0)&&this.removeListener(e,s[r][i].listener);return this},n.trigger=n.emitEvent,n.emit=function(e){var t=Array.prototype.slice.call(arguments,1
583);return this.emitEvent(e,t)},n.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},n._getEvents=function(){return this._events||(this._events={})},"function"==typeof define&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){"use strict";var t=document.documentElement,n=function(){};t.addEventListener?n=function(e,t,n){e.addEventListener(t,n,!1)}:t.attachEvent&&(n=function(t,n,i){t[n+i]=i.handleEvent?function(){var t=e.event;t.target=t.target||t.srcElement,i.handleEvent.call(i,t)}:function(){var n=e.event;n.target=n.target||n.srcElement,i.call(t,n)},t.attachEvent("on"+n,t[n+i])});var i=function(){};t.removeEventListener?i=function(e,t,n){e.removeEventListener(t,n,!1)}:t.detachEvent&&(i=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var r={bind:n,unbind:i};"function"==typeof define&&define.amd?define(r):e.eventie=r}(this),function(e){"use strict";function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e){return"[object Array]"===c.call(e)}function i(e){var t=[];if(n(e))t=e;else if("number"==typeof e.length)for(var i=0,r=e.length;r>i;i++)t.push(e[i]);else t.push(e);return t}function r(e,n){function r(e,n,s){if(!(this instanceof r))return new r(e,n);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=i(e),this.options=t({},this.options),"function"==typeof n?s=n:t(this.options,n),s&&this.on("always",s),this.getImages(),o&&(this.jqDeferred=new o.Deferred);var a=this;setTimeout(function(){a.check()})}function c(e){this.img=e}r.prototype=new e,r.prototype.options={},r.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},r.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},r.prototype.check=function(){function e(e,r){return t.options.debug&&a&&s.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},r.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify(t,e)})},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},o&&(o.fn.imagesLoaded=function(e,t){var n=new r(this,e,t);return n.jqDeferred.promise(o(this))});var f={};return c.prototype=new e,c.prototype.check=function(){var e=f[this.img.src];if(e)return this.useCached(e),void 0;if(f[this.img.src]=this,this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this.proxyImage=new Image;n.bind(t,"load",this),n.bind(t,"error",this),t.src=this.img.src},c.prototype.useCached=function(e){if(e.isConfirmed)this.confirm(e.isLoaded,"cached was confirmed");else{var t=this;e.on("confirm",function(e){return t.confirm(e.isLoaded,"cache emitted confirmed"),!0})}},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindProxyEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindProxyEvents()},c.prototype.unbindProxyEvents=function(){n.unbind(this.proxyImage,"load",this),n.unbind(this.proxyImage,"error",this)},r}var o=e.jQuery,s=e.console,a=s!==void 0,c=Object.prototype.toString;"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],r):e.imagesLoaded=r(e.EventEmitter,e.eventie)}(window); 584 585/* 586 587 Sudo Slider version 3.4.2 - jQuery plugin 588 Written by Erik Krogh Kristensen [email protected]. 589 http://webbies.dk/SudoSlider/ 590 591 Dual licensed under the MIT and GPL licenses. 592 593 Based on EasySlider http://cssglobe.com/easy-slider-17-numeric-navigation-jquery-slider/ 594 But bear little resemblance at this point. 595 596 Built for jQuery library 597 http://jquery.com
598 599*/ 600(function(h,kb){function ta(){return{effect:"slide",speed:1500,customLink:!1,controlsFadeSpeed:400,controlsFade:!0,insertAfter:!0,vertical:!1,slideCount:1,moveCount:1,startSlide:1,responsive:!0,ease:"swing",auto:!1,pause:2E3,resumePause:!1,continuous:!1,prevNext:!0,numeric:!1,numericText:[],slices:15,boxCols:8,boxRows:4,initCallback:R,ajaxLoad:R,beforeAnimation:R,afterAnimation:R,history:!1,autoHeight:!0,autoWidth:!0,updateBefore:!1,ajax:!1,preloadAjax:100,loadingText:"",prevHtml:'<a href="#" class="prevBtn"> previous </a>', 601nextHtml:'<a href="#" class="nextBtn"> next </a>',controlsAttr:'class="controls"',numericAttr:'class="numericControls"',interruptible:!1,useCSS:!0,loadStart:R,loadFinish:R,touch:!1,touchHandle:!1,destroyCallback:R,mouseTouch:!0,allowScroll:!0,CSSease:"swing"}}function la(a,b,c,e,E){if(h.isFunction(b))e?la(a,["","Up","Right","Down","Left",b],c,0,E):a[c]=function(a){var c=[a].concat(E),k=c.length-1;if(0===e&&0==c[k]){var h=a.diff;c[k]=a.options.vertical?0>h?1:3:0>h?2:4}b.apply(this,c)};else if(h.isArray(b))for(var k= 602b.length-1,q=b[k],m=0;m<k;m++){var p=E.slice();p.push(m);la(a,q,c+b[m],e,p)}else h.each(b,function(b,k){la(a,k,c+b,e,E)})}function ma(a,b,c,e,E,k,q,m,p){var r=a.options,w=r.boxrows,l=r.boxcols,g=w*l,x=r.speed/(1==g?1:2.5),u=Ia(a,l,w,!m),n=r=0,y=0,H=[];H[n]=[];b&&fa(u);E&&qa(u);for(var v=0;v<u.length;v++)H[n][y]=u[v],y++,y==l&&(c&&fa(H[n]),n++,y=0,H[n]=[]);n=[];if(1==k)for(u=0;u<2*l+1;u++){g=u;v=[];for(k=0;k<w;k++){if(0<=g&&g<l){y=H[k][g];if(!y)return;v.push(y)}g--}0!=v.length&&n.push(v)}else if(2== 603k){var H=w/2,y=b?g:-1,Z=b?-1:1;for(k=0;k<H;k++){for(g=v=k;g<l-k-1;g++)n[y+=Z]=u[v*l+g];g=l-k-1;for(v=k;v<w-k-1;v++)n[y+=Z]=u[v*l+g];v=w-k-1;for(g=l-k-1;g>k;g--)n[y+=Z]=u[v*l+g];g=k;for(v=w-k-1;v>k;v--)n[y+=Z]=u[v*l+g]}}else for(u=0;u<w;u++)for(g=0;g<l;g++)n.push([H[u][g]]);m&&a.goToNext();for(var D=0,v=0;v<n.length;v++){w=n[v];h.isArray(w)||(w=[w]);for(l=0;l<w.length;l++)(function(k,h){function l(h){var g=k(),w=g.children(),n=g.width(),v=g.height(),r=n,u=v,y=ga(g.css("left")),H=ga(g.css("top")),A= 604y,Z=H,P=ga(w.css("left")),z=ga(w.css("top")),N=P,Q=z;if(q){var aa,R;E?(R=xa([-r,r]),aa=xa([-u,u])):(R=b!=c?-r:r,aa=b?-u:u);m?(A-=1.5*R,Z-=1.5*aa):g.css({left:y+1.5*R,top:H+1.5*aa})}e&&(m?(N-=r/2,A+=r/2,Q-=u/2,Z+=u/2,u=r=0):(g.css({left:y+r/2,top:H+u/2}),w.css({left:P-r/2,top:z-u/2}),g.width(0).height(0),p&&g.css({borderRadius:U(v,n)})));m&&g.css({opacity:1});D++;ra(function(){Ka.ready(function(){S(w,{left:N,top:Q},x,!1,!1,a);S(g,{opacity:m?0:1,width:r,height:u,left:A,top:Z,borderRadius:e&&m&&p?U(v, 605n):0},x,!1,function(){D--;0==D&&a.callback()},a)})},h)}m||150>h?l(h):ra(N(l,[150]),h-150)})(w[l],r);r+=x/n.length*1.5}}function ba(a,b,c,e,E,k,q,m){for(var p=a.options,r=p.slices,w=p.speed/2,p=a.slider,l=Ia(a,b?r:1,b?1:r,!m),g=h(),x=0;x<l.length;x++)g=g.add(l[x]());var u=0,n=!1;c?fa(g):h(fa(g.get())).appendTo(p);e&&qa(g);g.each(function(e){e*=w/r;var g=h(this),l=g.width(),p=g.height(),x=g.css("left"),D=g.css("top"),A=b?x:D,P=g.children()[b?"width":"height"]();1==k?A=0:2==k&&(A=P/2);c&&(A=P-A);b?g.css({width:E|| 606q?l:0,left:A}):g.css({height:E||q?p:0,top:A});m&&(A=1==q?-1:1,g.css({top:D,left:x,width:l,height:p,opacity:1}),b?D=A*p:x=A*l);q&&(A=!0,3==q?n=n?A=!1:!0:2==q&&(A=!1),b?m?D=(A?-1:1)*p:g.css({bottom:A?0:p,top:A?p:0,height:m?p:0}):m?x=(A?-1:1)*l:g.css({right:A?0:l,left:A?l:0,width:m?l:0}));u++;ra(N(S,[g,{width:l,height:p,opacity:m?0:1,left:x,top:D},w,!1,function(){u--;0==u&&a.callback()},a]),e)});m&&a.goToNext()}function ya(a,b,c){var e=2==c||4==c;c=2==c||3==c?1:-1;var h=a.options.speed,k=a.callback; 607if(b){b=a.fromSlides;var q=da(a,!0).hide();a.slider.append(q);var m=U(q.height(),b.height()),p=U(q.width(),b.width());q.css(e?{left:c*p}:{top:c*m}).show();S(q,{left:0,top:0},h,!1,k,a)}else b=da(a,!1),a.slider.append(b),a.goToNext(),q=a.toSlides,q=-1==c?b:q,m=q.height(),p=q.width(),S(b,e?{left:c*p}:{top:c*m},h,!1,k,a)}function $a(a){var b=La(a.slider),c=a.options.speed,e=a.target,h=e.left,e=e.top;a.options.usecss?S(b,{transform:"translate("+h+"px, "+e+"px)"},c,!1,a.callback,a,!0):S(b,{marginTop:e, 608marginLeft:h},c,!1,a.callback,a)}function S(a,b,c,e,h,k,q){function m(){if(!q){var b={};b[l]="0s";b[g]="";b[w]="";a.css(b)}}var p=!k||k.options.usecss;if(!1!==ha&&p){e||(e=k.options.cssease);var r={},w=ha+"transition",p=Ma(b);r[w]=p.join(" ")+(""==ha?"":" "+ha+p.join(" "+ha));var l=w+"-duration";r[l]=c+"ms";var g=w+"-timing-function";"swing"==e&&(e="ease-in-out");r[g]=e;k&&k.stopCallbacks.push(m);e=ha.replace(/\-/g,"");var x=e+((e?"T":"t")+"ransitionend")+" transitionend",u=!1,n=function(){u||(u= 609!0,a.unbind(x),m(),h&&h())};if(20>c)a.css(b),n();else return z(function(){a.css(r);z(function(){a.css(b);var e=+new Date;a.on(x,function v(b){a.is(b.target)&&-100<+new Date-e-c&&(a.off(x,v),n())});setTimeout(n,c+100)})}),n}else e||(e=k.options.ease),a.animate(b,c,e,h)}function za(a,b){var c=a.options;c.boxcols=1;c.boxrows=1;c.speed=b;ma(a,!1)}function Ia(a,b,c,e){function E(b,c){m.push(function(){var g=da(a,e),g=Aa(g,l*b,w*c,l,w);k.append(g);return g})}var k=a.slider,q=a.options.vertical,m=[],p;p= 610q?e?a.toSlides.width():a.slider.width():0;var r;r=q?0:e?a.toSlides.height():a.slider.height();a.toSlides.each(function(){var a=h(this);q?r+=a.height():p+=a.width()});for(var w=Math.ceil(p/b),l=Math.ceil(r/c),g=0;g<c;g++)for(var x=0;x<b;x++)E(g,x);return m}function Aa(a,b,c,e,E){a.css({width:a.width(),height:a.height(),display:"block",top:-b,left:-c});return h("<div>").css({left:c,top:b,width:E,height:e,opacity:0,overflow:"hidden",position:"absolute"}).append(a).addClass("sudo-box")}function da(a, 611b){var c=b?a.toSlides:a.fromSlides,e=c.eq(0).position(),E=e.left,k=e.top,q=0,m=0,p=h("<div>").css({position:"absolute",top:0,left:0}).addClass("sudo-box");c.each(function(a,b){var c=h(b),e=c.outerWidth(!0),x=c.outerHeight(!0),u=c.clone(),n=c.position(),c=n.left-E,n=n.top-k;u.css({position:"absolute",left:c,top:n,opacity:1});q=U(q,n+x);m=U(m,c+e);p.append(u)});p.width(m).height(q);return p}function N(a,b){return function(){a.apply(na,b)}}function ia(a,b,c){if(a){a=a.add(a.find("img")).filter("img"); 612var e=a.length;e?a.each(function(){var a=h(this),k=function(){a.off("load error",k);e--;b?0==e&&c():c()};a.on("load error",k);if("complete"==this.readyState)a.trigger("load");else if(this.readyState)this.src=this.src;else if(this.complete)a.trigger("load");else if(this.complete===na){var q=this.src;this.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";this.src=q}}):c()}else c()}function yb(a){for(var b=h.fn.jquery.split("."),c=b.length,e=0;e<c;e++)if(a[e]&&+b[e]<+a[e])return!1; 613return!0}function ab(a){return a.replace(/^\s+|\s+$/g,"")}function Ma(a){var b=[],c;for(c in a)b.push(c);return b}function z(a){setTimeout(a,0)}function ra(a,b){return setTimeout(a,b)}function fa(a){return[].reverse.call(a)}function La(a){return a.children().not(".sudo-box")}function Ba(a){var b={},c;for(c in a)b[c.toLowerCase()]=a[c];return b}function qa(a){for(var b,c,e=a.length;e;b=Math.random()*e|0,c=a[--e],a[e]=a[b],a[b]=c);return a}function D(a){return parseInt(a,10)}function ga(a){return parseFloat(a)} 614function Ca(a,b){return(a%b+b)%b||0}function Q(a){return 0>a?-a:a}function U(a,b){return a>b?a:b}function Na(a,b){return a<b?a:b}function Oa(a){if(h.isArray(a))return oa(a);if(h.isFunction(a))return a;a=ab(a);if(-1!=a.indexOf(",")){var b=a.split(",");return oa(b)}var c=Ba(ea);a=ab(a.toLowerCase());if(b=c[a])return b;var b=[],e;for(e in c)e.match(new RegExp("^"+a.split("*").join(".*")+"$","g"))&&b.push(c[e]);return b.length?oa(b):$a}function oa(a){return function(b){var c=xa(a);return Oa(c)(b)}}function xa(a){return a[qa(Ma(a))[0]]} 615function zb(a){var b="bez_"+a.join("_").replace(/\./g,"p"),c=h.easing;if(!h.isFunction(c[b])){var e=function(a,b){function c(q,l){r[l]=3*a[l];h[l]=3*(b[l]-a[l])-r[l];e[l]=1-r[l]-h[l];return q*(r[l]+q*(h[l]+q*e[l]))}var e=[0,0],h=[0,0],r=[0,0];return function(a){for(var b=a,g=0,k;14>++g;){k=c(b,0)-a;if(.001>Q(k))break;b-=k/(r[0]+b*(2*h[0]+3*e[0]*b))}return c(b,1)}};c[b]=function(b,c,h,m,p){return m*e([a[0],a[1]],[a[2],a[3]])(c/p)+h}}return b}var na,R=function(){},ha=function(){var a;a:{var b=h("<div>")[0].style; 616for(a in b)if(b=a.toLowerCase(),-1!==b.indexOf("transition",b.length-10))break a;a=!1}if(!1===a)return!1;a=a.slice(0,a.length-10);return 0!=a.length?"-"+a+"-":""}(),bb=h(kb),Ka=h(document);h.fn.sudoSlider=function(a){var b=this;
616a=h.extend(Ba(ta()),Ba(a));!1!==ha&&yb([1,8,0])||(a.usecss=!1);return this.each(function(){function c(){var f=0,a;for(a in pa)d[f]=pa[a],f++;V=!0;Pa=[];cb=[];Qa=[];Ea=[];Ra=[];B=La(M);f=B.length;a=h("<div>");f?(Sa=B.is("ul"))||B.hasClass("slidesContainer")||lb||(a.append(B), 617M.append(B=a)):(M.append(B=a),Sa=!1);lb=!0;f=La(B);I=[];C=f.length;f.each(function(f,a){var b=h(a);I[f]=b;b.css({position:"relative"});"none"==b.css("display")&&b.css("display","inline")});B.addClass("slidesContainer");f.addClass("slide");f.each(function(f,a){h(a).attr("data-slide",f+1)});if(d[30]&&(a=d[30].length,a>C)){for(f=1;f<=a-C;f++){var b;b=Sa?"li":"div";b=h("<"+b+">"+d[32]+"</"+b+">");B.append(b);I[C+(f-1)]=b}f=La(B);C=a}f.each(function(f,a){Pa[f]=!1;ia(h(a),!0,function(){Pa[f]=!0})});t=(t= 618!1===ca?0:ca)||0;X=!0;Ta=[];ja=!1;M.css({overflow:"hidden"});"static"==M.css("position")&&M.css({position:"relative"});f.css({"float":"left",listStyle:"none"});B.add(f).css({display:"block",position:"relative",margin:"0"});A(0,0,!0);d[7]=D(d[7]);T=d[7];d[7]+=d[8]-1;"string"==typeof d[9]&&"random"==d[9].toLowerCase()&&(d[9]=Math.random()*C|0);d[9]=D(d[9])-1||0;d[0]=Oa(d[0]);d[18]=d[18].slice(0);for(f=0;f<C;f++)d[18][f]||""==d[18][f]||(d[18][f]=f+1),d[30][f]=d[30][f]||!1;d[4]=d[4]&&!d[15];d[10]&&E(!0); 619B[d[6]?"height":"width"](9E6)[d[6]?"width":"height"]("100%");d[28]=d[28]&&!d[10];d[10]&&Fa(bb,"resize focus",E,"");
619if(d[17]||d[16]){sa=h("<span "+d[35]+"></span>");M[d[5]?"after":"before"](sa);if(d[17])for(db=h("<ol "+d[36]+"></ol>"),sa.prepend(db),b=(a="pages"==d[17])?T:1,f=0;f<C-(d[15]||a?1:T)+1;f+=b)Ta[f]=h('<li data-target="'+(f+1)+'"><a href="#"><span>'+d[18][f]+"</span></a></li>").appendTo(db).click(function(){g(k(this)-1,!0);return!1});d[16]&&(mb=l(d[34],"next"),nb=l(d[33],"prev"));d[4]&&u(t, 6200)}f=[4,1,14];for(a=0;a<f.length;a++)d[f[a]]=w(d[f[a]]);d[2]&&Fa(Ka,"click",e,d[2]);ia(ya(d[9],d[7]),!0,function(){if(!1!==ca)Ua(ca,!1);else if(d[26]){var f;(f=bb.hashchange)?f(q):(f=h.address)?f.change(q):Fa(bb,"hashchange",q);q()}else Ua(d[9],!1);n(t)});d[30][d[9]]&&ua(d[9]);if(!0===d[31])for(a=0;a<C;a++)d[30][a]&&d[9]!=a&&ua(a);else m()}function e(){var f;if(f=k(this))"stop"==f?(d[12]=!1,r()):"start"==f?(p(),d[12]=!0):"block"==f?X=!1:"unblock"==f?X=!0:g(f==D(f)?f-1:f,!0);return!1}function E(f){function a(){if((M.is(":visible")&& 621!V&&!ja||!0===f)&&0!=C){var b;b=M.width();b=d[6]?b:b/T;if(ob!=b||!0===f){ob=b;for(var Da=0;Da<C;Da++)I[Da].width(b);!1!==Va&&p(Va);Ga();wa();Y(t);H(t,0)}}}a();z(a);setTimeout(a,20)}function k(f){f=h(f);return f.attr("data-target")||f.attr("rel")}function q(){var f;a:{f=location.hash.substr(1);for(var a=0;a<d[18].length;a++)if(d[18][a]==f){f=a;break a}f=f&&!V?t:d[9]}V?Ua(f,!1):g(f,!1)}function m(){if(!1!==d[31]){var f=D(d[31]);if(d[30])for(var a=0;a<d[30].length;a++)if(d[30][a]){clearTimeout(Wa);Wa= 622ra(function(){d[30][a]?ua(D(a)):m()},f);break}}}function p(f){f===na&&(f=I[t].attr("data-pause"),f=f!==na?D(f):d[13]);eb&&(f=U(f,100));r();Xa=!0;Va=f;fb=ra(function(){Xa&&!ka&&(g("next",!1),Va=!1)},f)}function r(f){fb&&clearTimeout(fb);f||(Xa=!1)}function w(f){return D(f)||0==f?D(f):"fast"==f?200:"normal"==f||"medium"==f?400:600}function l(f,a){return h(f).prependTo(sa).click(function(){g(a,!0);return!1})}function g(f,a,b){if(X&&!V)r(!0),ja||Ba(f,a,b);else if(d[37]&&ka)F(fa(f))!==gb&&(Ga(),g(f,a, 623b));else if(Ya=f,pb=a,qb=b,d[30])for(a=f=fa(f);a<f+T;a++)d[30][a]&&ua(F(a))}function x(f,a,b){function c(){f||0!=e.css("opacity")||e.css({visibility:"hidden"})}f=f?1:0;var e=h();d[16]&&(e=b?mb:nb);if(d[2]){var g=h(d[2]);b='="'+(b?"next":"prev")+'"]';g=g.filter("[rel"+b+", [data-target"+b+"");e=e.add(g)}g={opacity:f};f&&e.css({visibility:"visible"});d[38]?S(e,g,a,d[46],c):e.animate(g,{queue:!1,duration:a,easing:d[11],callback:c})}function u(f,a){x(f,a,!1);x(f<C-T,a,!0)}function n(f){f=F(f)+1;"pages"!= 624d[17]||f!=C-T+1||d[15]||(f=C);if(d[17])for(var a=0;a<Ta.length;++a)y(Ta[a],f);d[2]&&y(h(d[2]),f)}function y(f,a){f&&f.filter&&(f.filter(".current").removeClass("current"),f.filter(function(){var f=k(this);if("pages"==d[17])for(var b=T-1;0<=b;b--){if(f==a-b)return!0}else return f==a;return!1}).addClass("current"))}function H(f,a){rb=f=F(f);hb=+new Date+a;(d[27]||d[28])&&v(f)}function v(a){M.ready(function(){ba(a);ia(I[a],!1,N(ba,[a]))})}function R(a,b){for(var c=0,e=a;e<a+T;e++){var g=I[F(e)];g&&(g= 625g["outer"+(b?"Height":"Width")](!0),c=b==d[6]?c+g:U(g,c))}return c}function ba(a){if(a==rb&&M.is(":visible")&&!V&&!ja){var b=hb-+new Date,b=U(b,0),c={};d[27]&&(c.height=R(a,!0)||1);d[28]&&(c.width=R(a,!1)||1);var e;a:if(a=sb,Ma(a).length!=Ma(c).length)e=!1;else{for(e in a)if(a[e]!=c[e]){e=!1;break a}e=!0}e||(sb=c,d[38]?S(M,c,b,d[46]):0==b?M.stop().css(c):M.animate(c,{queue:!1,duration:b,easing:d[11]}))}}function Y(a){var b=P(a,!1);a=P(a,!0);A(b,a)}function A(a,b,c){tb=a;ub=b;(d[38]||c)&&B.css({transform:"translate("+ 626a+"px, "+b+"px)"});if(!d[38]||c)B.css({marginLeft:0,marginTop:0}),B.css({marginLeft:a,marginTop:b})}function P(a,b){b==na&&(b=d[6]);var c=I[F(a)];return c&&c.length?-c.position()[b?"top":"left"]:0}function da(){if(!1!==Ya){var a=Ya;Ya=!1;z(N(g,[a,pb,qb]))}}function ea(a,b,d,c){a=F(a);a=N(b?la:ma,[I[a],a+1,c]);d?a():z(a)}function la(a,c){d[25].call(a,c,b)}function ma(a,c,e){d[24].call(a,c,b,e)}function fa(a){return"next"==a?ga(t+d[8],a):"prev"==a?ga(t-d[8],a):"first"==a?0:"last"==a?C-1:ga(D(a),a)} 627function ga(a,b){if(d[15])return"next"==b||"prev"==b?a:F(a);var c=C-T;return a>c?t==c&&"next"==b?0:c:0>a?0==t&&"prev"==b?c:0:a}function ua(a,b){function c(){var b=new Image;b.src=g;var d=h(b);ia(d,!0,N(va,[function(){k.empty().append(b);oa(a,!0)}]))}if(b){var e=Qa[a];e||(e=Qa[a]=[]);e.push(b)}if(Ra[a])b&&ia(I[a],!0,N(z,[b]));else if(!Ea[a]){Ea[a]=!0;var g=d[30][a];if(g){Wa&&clearTimeout(Wa);var k=I[a],l=!1;h.ajax({url:g,success:function(b,d,e){l=!0;va(function(){var d=e.getResponseHeader("Content-Type"); 628d&&"i"!=d.substr(0,1)?(k.html(b),oa(a,!1)):c()})},complete:function(){l||c()}});d[30][a]=!1;pa.ajax[a]=!1}else z(b)}}function va(a){ka?cb.push(a):z(a)}function oa(a,c){var e=I[a];Y(t);H(t,0);ia(e,!0,N(va,[function(){Y(t);H(t,0);Ra[a]=!0;Ja(Qa[a]);m();z(function(){d[23].call(I[a],a+1,c,b)});V&&(V=!1,z(qa))}]))}function qa(){d[15]&&aa(t,0);H(t,0);Y(t);da();d[10]&&E();d[12]&&p();d[22].call(b);d[41]&&xa();ia(ya(t,C),!1,N(va,[function(){H(t,0);Y(t)}]))}function xa(){var a=h("body"),b,c=!1,e=d[0];d[0]=
629function(a){if(c){c=!1;var f=a.options;f.ease=b;f.cssease=b;return $a(a)}return e(a)};var g,k,l,p,m,q=[],r=[],u=0,n,E,w,v,D=!1,x=0,y=0,H=0,I=0,B=function(e){if(X){var W=e.type,B,O,G,J="m"==W.substr(0,1);J?(B="mousedown",O="mouseup",G=""):(B="touchstart",O="touchend",G="touchcancel",e=e.originalEvent);if(!D){if(W!=B)return;var L=e.target,F=h(L);d[42]||(F=F.parents().add(L));L=d[42]||M;"string"===typeof L&&(L=ab(L),">"==L.charAt(0)&&(L=h(L.substr(1,L.length),M)));if(F.filter(L).length)D=!0;else return}if(W!= 630O&&W!=G){J?(O=e.pageX,G=e.pageY):(G=e.touches[0],O=G.pageX,G=G.pageY);if(W==B){x=O;y=G;var J=O-x,K=G-y;a.addClass("sudoSlider-dragging");n=t;E=0;ka=!0;wa();k=ub;g=tb;m=d[6]?Q(K):Q(J);p=l=+new Date;J=P(n);w=P(n+1)-J;v=!1;e.preventDefault()}else{W=O-x;B=G-y;F=d[6]?B:W;L=Q(F);q[u]=L-m;var N=+new Date;r[u]=N-p;u=(u+1)%3;p=N;m=L;if(d[15]&&C>=T+1){L=0;if(F-E<w){v=!1;E+=w;L=1;K=P(n+L);aa(n+L,0);var z=P(n+L)}0<F-E&&(L=-1,K=P(n),aa(n+L,0),z=P(n),F=P(n-1)-z,E+=F,v=-F);0!=L&&(n+=L,d[6]?k-=K-z:g-=K-z,w=P(n+1)- 631P(n))}d[6]?W=0:B=0;A(g+W,k+B);K=O-x;K=Q(G-y)>Q(K);J=J?!1:d[45]?d[6]?!K:K:!1;J||e.preventDefault()}H=O-x;I=G-y}else{e=H;J=I;a.removeClass("sudoSlider-dragging");G=d[6]?J:e;G-=E;v&&(G-=v,n++);J=Q(G);O=+new Date;for(z=K=e=0;3>z;z++)W=r[z],W+100<O&&(e+=W,K+=q[z]);z=d[6]?M.height():M.width();O=Q(K)/e;e=.2<=O||J>=z/2;if(0<K&&0>J||0>K&&0<J||10>=J)e=!1;G=0>G?"next":"prev";d[15]||(t+1==C?"next"==G&&(e=!1):0==t&&"prev"==G&&(e=!1));G="next"==G?n+1:n-1;G=Ca(G,C);J=e?z-J:J;K=J/O*1.3;z=U(z/J*d[1],d[1]/4);K=K<z? 632Na(K,d[1]):Na(z,d[1]);J=O*K/(J+O*K);O=1-J;b=d[38]?"cubic-bezier("+O+","+J+",0.3,1)":zb([O||0,J||0,.3,1]);X=!1;c=!0;e?Ha(G,K,!0,!0,!0):Ha(n,K,!0,!0,!0);D=!1}}};Fa(Ka,"touchstart touchmove touchend touchcancel",B);d[44]&&Fa(Ka,"mousedown mousemove mouseup",B)}function Ja(a){for(;a&&a.length;)a.splice(0,1)[0]()}function Ba(a,c,e){var g=fa(a),h="next"==a||"prev"==a;a=F(g);if(a!=t)if(X=!1,gb=a,d[30]){for(var k=0,l=a;l<a+T;l++){var n=F(l);Pa[n]&&(d[30]?d[30][n]?0:!Ea[n]||Ra[n]:1)||(k++,ua(n,function(){k--; 6330==k&&(d[40].call(b,g+1),Ha(g,e,c,h))}))}0==k?Ha(g,e,c,h):d[39].call(b,g+1)}else Ha(g,e,c,h)}function wa(){d[38]&&B.css(ha+"transition-duration","")}function ta(a){a=F(a);if(a!=vb){vb=a;wa();for(var b=0;b<C;b++){var d=I[F(a+b)];B.append(d)}Y(t)}}function aa(a,b){var d=U(D((C-b-T)/2),0);a=Ca(a-d,C);ta(a)}function Ia(a){var b=Na(a,t);a=Q(a-t);aa(b,a)}function Ha(a,c,e,g,k){d[29]&&n(a);d[26]&&e&&(kb.location.hash=d[18][a]);d[4]&&u(a,d[3]);for(var l=h(),p=h(),m=0;m<T;m++)l=l.add(I[F(t+m)]),p=p.add(I[F(a+ 634m)]);var m=a-t,q;if(d[15]&&!g){g=Q(m);q=a;var r=-t+a+C;Q(r)<g&&(q=a+C,m=r,g=Q(m));r=-t+a-C;Q(r)<g&&(q=a-C,m=r)}else q=a;d[15]&&!k&&Ia(q);k=P(q,!1);g=P(q,!0);var w=I[F(a)],r=h.extend(!0,{},pa),v=d[1],x=w.attr("data-speed");x!=na&&(v=D(x));c!=na&&(v=D(c));r.speed=v;var y=d[0];(c=w.attr("data-effect"))&&(y=Oa(c));I[t]&&(c=I[t].attr("data-effectout"))&&(y=Oa(c));ka=!0;wb=y;var A=!0;ib=function(){A=ka=!1;Ua(a,e);screen.fontSmoothingEnabled&&p.style&&p.style.removeAttribute("filter");d[15]&&aa(q,0);ea(a, 635!0);d[10]&&E();Ja(cb)};jb={fromSlides:l,toSlides:p,slider:M,container:B,options:r,to:a+1,from:t+1,diff:m,target:{left:k,top:g},stopCallbacks:[],callback:function(){A&&(A=!1,Ga())},goToNext:function(){A&&ia(h(".sudo-box",M),!0,N(Y,[a]))}};H(a,v);z(function(){ea(a,!1,!0,v);y.call(b,jb)})}function Ga(){if(ka){eb=!0;ib&&ib();Ja(jb.stopCallbacks);var a=wb.stop;a?a():(h(".sudo-box",M).remove(),B.stop());H(t,0);Y(t);eb=!1}}function Fa(a,b,c,d){a.on(b,d,c);xb.push(function(){a.off(b,d,c)})}function Ua(a, 636b){X=!b&&!d[12];t=a;wa();H(t,0);t=F(t);d[29]||n(t);Y(t);X=!0;gb=!1;d[12]&&(b?(r(),d[14]&&p(d[14])):V||p());da();d[4]&&V&&u(t,0);!V||d[30][t]||Ea[t]||(V=!1,z(qa))}function ya(a,b){for(var c=h(),d=0;d<b;d++)c=c.add(I[F(a+d)]);return c}function F(a){return Ca(a,C)}function za(){r();Ga();H(t,0);ja=!0;ca=t;Ja(xb);wa();sa&&sa.remove();ta(0);Y(t);d[43].call(b)}function Aa(){ja&&c()}function Za(a){return function(){var b=!ja;za();a.apply(this,arguments);b&&Aa()}}var V,Sa,B,I,Pa,C,t,X,gb,Ta,db,ja,ca=!1,sa, 637mb,nb,fb,Xa,T,Wa,M=h(this),rb,hb=0,ka=!1,wb,ib,jb,cb,Qa,Ea,Ra,Ya=!1,pb,qb,lb=!1,d=[],pa=h.extend(!0,{},a),ub,tb,xb=[],Va=!1,eb=!1,ob=-1,sb={},vb=0;b.destroy=za;b.init=Aa;b.getOption=function(a){return pa[a.toLowerCase()]};b.setOption=Za(function(a,b){pa[a.toLowerCase()]=b});b.setOptions=Za(function(a){for(var b in a)pa[b.toLowerCase()]=a[b]});b.runWhenNotAnimating=va;b.insertSlide=Za(function(a,b,c,e){b=0>b?C-Ca(-b-1,C+1):Ca(b,C+1);a=h(a||"<div>");Sa?a=h("<li>").prepend(a):1!=a.length&&(a=h("<div>").prepend(a)); 638b&&0!=b?I[b-1].after(a):B.prepend(a);
638e?ca=e-1:(b<=ca||!b||0==b)&&ca++;d[18].length<b&&(d[18].length=b);d[18].splice(b,0,c||D(b)+1)});b.removeSlide=Za(function(a){a=U(0,D(a)-1);I[Na(a,C-1)].remove();d[18].splice(a,1);a<ca&&ca--});b.goToSlide=function(a,b){var c=a==D(a)?a-1:a;z(N(g,[c,!0,b]))};b.block=function(){X=!1};b.unblock=function(){X=!0};b.startAuto=function(){d[12]=!0;p()};b.stopAuto=function(){d[12]=!1;r()};b.adjust=function Da(a){var b=U(hb-+new Date,0);H(t,b);ka||Y(t);a||z(N(Da,[!0]))};b.getValue= 639function(a){return{currentslide:t+1,totalslides:C,clickable:X,destroyed:ja,autoanimation:Xa}[a.toLowerCase()]};b.getSlide=function(a){return I[F(D(a)-1)]};b.stopAnimation=Ga;c()})};h.fn.sudoSlider.getDefaultOptions=ta;var Ab={box:{Random:["","GrowIn","GrowInRounded","GrowOut","GrowOutRounded","FlyIn","FlyOut",function(a,b){ma(a,!1,!1,0<b&&5>b,!0,0,5==b||6==b,3==b||4==b||6==b,2==b||4==b)}],Rain:["","GrowIn","GrowInRounded","GrowOut","GrowOutRounded","FlyIn","FlyOut",["UpLeft","DownLeft","DownRight", 640"UpRight",function(a,b,c){ma(a,0==c||3==c,1==c||3==c,1<=b&&4>=b,!1,1,5==b||6==b,6==b||3==b||4==b,2==b||4==b)}]],Spiral:["InWards","OutWards",{"":function(a,b){ma(a,b,!1,!1,!1,2,!1,!1,!1)},Grow:["In","Out",["","Rounded",function(a,b,c,e){ma(a,b,!1,!0,!1,2,!1,c,e)}]]}]},fade:{"":function(a){za(a,a.options.speed)},OutIn:function(a){var b=a.options.speed,c=D(.6*b),c=b-c;a.stopCallbacks.push(function(){a.fromSlides.stop().css({opacity:1})});S(a.fromSlides,{opacity:1E-4},c,!1,N(za,[a,b]),a)},Zoom:["In", 641"Out",function(a,b){var c=a.options.speed,e=a.callback,h=a.options.usecss;if(b)h=da(a,!1),a.slider.append(h),a.goToNext(),a.options.usecss?S(h,{transform:"scale(2)",opacity:0}
641,c,!1,e,a):(h.css("zoom","100%"),S(h,{zoom:"200%",left:"-50%",top:"-50%",opacity:0},c,!1,e,a));else{var k=da(a,!0);a.slider.append(k);h?(k.css({transform:"scale(2)",opacity:0}),ra(function(){S(k,{transform:"scale(1)",opacity:1},c,!1,e,a)},100)):(k.css({zoom:"200%",left:"-50%",top:"-50%",opacity:0}),S(k,{zoom:"100%",left:"0%", 642top:"0%",opacity:1},c,!1,e,a))}}]},foldRandom:["Horizontal","Vertical",function(a,b){ba(a,b,!1,!0)}],slide:$a,stack:["Up","Right","Down","Left",["","Reverse",function(a,b,c){var e=0<a.diff;c&&(e=!e);ya(a,e,++b)}]]},ea={};la(ea,{blinds:["1","2",function(a,b,c){b++;ba(a,2==c||4==c,1==c||4==c,!1,!1,b)}],fold:function(a,b){ba(a,2==b||4==b,1==b||4==b)},push:["Out","In",ya],reveal:function(a,b){var c=1==b||3==b,e=a.options.speed,h=da(a,!0),k=h.width(),q=h.height(),m=Aa(h,0,0,0,0).css({opacity:1}).appendTo(a.slider), 643p=m.add(h);p.hide();c?(m.css({width:k}),1==b&&(h.css({top:-q}),m.css({bottom:0,top:"auto"}))):(m.css({height:q}),4==b&&(h.css({left:-k}),m.css({right:0,left:"auto"})));p.show();c?p.width(k):p.height(q);S(h,{left:0,top:0},e,!1,R,a);S(m,{width:k,height:q},e,!1,a.callback,a)},slice:{"":["","Reveal",["","Reverse","Random",function(a,b,c,e){ba(a,1==e||3==e,c,2==c,!1,0,1==e||4==e?1:2,b)}]],Fade:function(a,b){ba(a,2==b||4==b,1==b||4==b,!1,!0)}},zip:function(a,b){ba(a,2==b||4==b,1==b||4==b,!1,!1,0,3)},unzip:function(a, 644b){ba(a,2==b||4==b,1==b||4==b,!1,!1,0,3,!0)}},"",!0,[]);la(ea,Ab,"",!1,[]);ea.random=oa(ea);h.fn.sudoSlider.effects=ea})(jQuery,window); 645 646 647/* 648* jQuery Mobile v1.3.2 649* http://jquerymobile.com 650* 651* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors 652* Released under the MIT license. 653* http://jquery.org/license 654* 655*/ 656 657(function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,n,r){function x(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function T(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=x(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;d<v;d++)l=u[d],t[l]=h[l]}return t}function N(t){var n={},r,s;while(t){r=e.data(t,i);for(s in r)r[s]&&(n[s]=n.hasVirtualBinding=!0);t=t.parentNode}return n}function C(t,n){var r;while(t){r=e.data(t,i);if(r&&(!n||r[n]))return t;t=t.parentNode}return null}function k(){g=!1}function L(){g=!0}function A(){E=0,v.length=0,m=!1,L()}function O(){k()}function M(){_(),c=setTimeout(function(){c=0,A()},e.vmouse.resetTimerDuration)}function _(){c&&(clearTimeout(c),c=0)}function D(t,n,r){var i;if(r&&r[t]||!r&&C(n.target,t))i=T(n,t),e(n.target).trigger(i);return i}function P(t){var n=e.data(t.target,s);if(!m&&(!E||E!==n)){var r=D("v"+t.type,t);r&&(r.isDefaultPrevented()&&t.preventDefault(),r.isPropagationStopped()&&t.stopPropagation(),r.isImmediatePropagationStopped()&&t.stopImmediatePropagation())}}function H(t){var n=x(t).touches,r,i;if(n&&n.length===1){r=t.target,i=N(r);if(i.hasVirtualBinding){E=w++,e.data(r,s,E),_(),O(),d=!1;var o=x(t).touches[0];h=o.pageX,p=o.pageY,D("vmouseover",t,i),D("vmousedown",t,i)}}}function B(e){if(g)return;d||D("vmousecancel",e,N(e.target)),d=!0,M()}function j(t){if(g)return;var n=x(t).touches[0],r=d,i=e.vmouse.moveDistanceThreshold,s=N(t.target);d=d||Math.abs(n.pageX-h)>i||Math.abs(n.pageY-p)>i,d&&!r&&D("vmousecancel",t,s),D("vmousemove",t,s),M()}function F(e){if(g)return;L();var t=N(e.target),n;D("vmouseup",e,t);if(!d){var r=D("vclick",e,t);r&&r.isDefaultPrevented()&&(n=x(e).changedTouches[0],v.push({touchID:E,x:n.clientX,y:n.clientY}),m=!0)}D("vmouseout",e,t),d=!1,M()}function I(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function q(){}function R(t){var n=t.substr(1);return{setup:function(r,s){I(this)||e.data(this,i,{});var o=e.data(this,i);o[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,P),e(this).bind(n,q),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",H).bind("touchend",F).bind("touchmove",j).bind("scroll",B))},teardown:function(r,s){--l[t],l[t]||b.unbind(n,P),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",H).unbind("touchmove",j).unbind("touchend",F).unbind("scroll",B));var o=e(this),u=e.data(this,i);u&&(u[t]=!1),o.unbind(n,q),I(this)||o.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var U=0;U<o.length;U++)e.event.special[o[U]]=R(o[U]);y&&n.addEventListener("click",function(t){var n=v.length,r=t.target,i,o,u,a,f,l;if(n){i=t.clientX,o=t.clientY,S=e.vmouse.clickDistanceThreshold,u=r;while(u){for(a=0;a<n;a++){f=v[a],l=0;if(u===r&&Math.abs(f.x-i)<S&&Math.abs(f.y-o)<S||e.data(u,s)===f.touchID){t.preventDefault(),t.stopPropagation();return}}u=u.parentNode}}},!0)})(e,t,n),function(e){e.mobile={}}(e),function(e,t){var r={touch:"ontouchend"in n};
657e.mobile.support=e.mobile.support||{},e.extend(e.support,r),e.extend(e.mobile.support,r)}(e),function(e,t,r){function l(t,n,r){var i=r.type;r.type=n,e.event.dispatch.call(t,r),r.type=i}var i=e(n);e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)});var s=e.mobile.support.touch,o="touchmove scroll",u=s?"touchstart":"mousedown",a=s?"touchend":"mouseup",f=s?"touchmove":"mousemove";e.event.special.scrollstart={enabled:!0,setup:function(){function s(e,n){r=n,l(t,r?"scrollstart":"scrollstop",e)}var t=this,n=e(t),r,i;n.bind(o,function(t){if(!e.event.special.scrollstart.enabled)return;r||s(t,!0),clearTimeout(i),i=setTimeout(function(){s(t,!1)},50)})}},e.event.special.tap={tapholdThreshold:750,setup:function(){var t=this,n=e(t);n.bind("vmousedown",function(r){function a(){clearTimeout(u)}function f(){a(),n.unbind("vclick",c).unbind("vmouseup",a),i.unbind("vmousecancel",f)}function c(e){f(),s===e.target&&l(t,"tap",e)}if(r.which&&r.which!==1)return!1;var s=r.target,o=r.originalEvent,u;n.bind("vmouseup",a).bind("vclick",c),i.bind("vmousecancel",f),u=setTimeout(function(){l(t,"taphold",e.Event("taphold",{target:s}))},e.event.special.tap.tapholdThreshold)})}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:e(t.target)}},stop:function(e){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;return{time:(new Date).getTime(),coords:[t.pageX,t.pageY]}},handleSwipe:function(t,n){n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.
657coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold&&t.origin.trigger("swipe").trigger(t.coords[0]>n.coords[0]?"swipeleft":"swiperight")},setup:function(){var t=this,n=e(t);n.bind(u,function(t){function o(t){if(!i)return;s=e.event.special.swipe.stop(t),Math.abs(i.coords[0]-s.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()}var i=e.event.special.swipe.start(t),s;n.bind(f,o).one(a,function(){n.unbind(f,o),i&&s&&e.event.special.swipe.handleSwipe(i,s),i=s=r})})}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)}}})}(e,this)});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.