vendor: 7,199 bytes, lines 1-2
1/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ 2jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
2 3var stacks = {}; 4stacks.jQuery = jQuery.noConflict(true); 5stacks.com_joeworkman_stacks_cycler3 = {}; 6stacks.com_joeworkman_stacks_cycler3 = (function(stack) { 7var jQuery = stacks.jQuery;var $ = jQuery; 8(function($){var ver="2.99";if($.support==undefined){$.support={opacity:true};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}
8else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=(false&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=(false&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=(false&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length){opts.after[0].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];
8if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}
8$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#"><span>'+(i+1)+"</span></a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0}
8;opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery);(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display="block";opts.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0;};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width="show";opts.animOut.width=0;};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height="show";opts.animOut.height=0;};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2});});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$c
8ont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w;};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);
8opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;
8return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});(function(b){var a=function(d){var c=b(this);if(c.data("resizetimer")){window.clearTimeout(c.data("resizetimer"))}c.data("resizetimer",window.setTimeout(function(){c.trigger("afterresize")},300))};b.event.special.afterresize={add:function(c){b(this).bind("resize",a);var d=c.handler;c.handler=function(e){return d.apply(this,arguments)}},remove:function(c){b(this).unbind("resize",a)}};b.fn.extend({afterresize:function(c){if(b.isFunction(c)){b(this).bind("afterresize",c)}else{b(this).trigger("afterresize")}return this}})})(jQuery);jQuery.fn.exists=function(){return jQuery(this).length>0;} 9 10return stack;})(stacks.com_joeworkman_stacks_cycler3); 11stacks.com_stacks4stacks_stacks_topbox4 = {}; 12stacks.com_stacks4stacks_stacks_topbox4 = (function(stack) { 13var jQuery = stacks.jQuery;var $ = jQuery;/** 14* Cookie plugin 15* 16* Copyright (c) 2006 Klaus Hartl (stilbuero.de) 17* Dual licensed under the MIT and GPL licenses: 18* http://www.opensource.org/licenses/mit-license.php 19* http://www.gnu.org/licenses/gpl.html 20* 21*/ 22 23/** 24* Create a cookie with the given name and value and other optional parameters. 25* 26* @example $.cookie('the_cookie', 'the_value'); 27* @desc Set the value of a cookie. 28* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); 29* @desc Create a cookie with all available options. 30* @example $.cookie('the_cookie', 'the_value'); 31* @desc Create a session cookie. 32* @example $.cookie('the_cookie', null); 33* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain 34* used when the cookie was set. 35* 36* @param String name The name of the cookie. 37* @param String value The value of the cookie. 38* @param Object options An object literal containing key/value pairs to provide optional cookie attributes. 39* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. 40* If a negative value is specified (e.g. a date in the past), the cookie will be deleted. 41* If set to null or omitted, the cookie will be a session cookie and will not be retained 42* when the the browser exits. 43* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). 44* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). 45* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will 46* require a secure protocol (like HTTPS). 47* @type undefined 48* 49* @name $.cookie 50* @cat Plugins/Cookie 51* @author Klaus Hartl/[email protected] 52*/ 53 54/** 55* Get the value of a cookie with the given name. 56* 57* @example $.cookie('the_cookie'); 58* @desc Get the value of a cookie. 59* 60* @param String name The name of the cookie. 61* @return The value of the cookie. 62* @type String 63* 64* @name $.cookie 65* @cat Plugins/Cookie 66* @author Klaus Hartl/[email protected] 67*/ 68jQuery.cookie = function(name, value, options) { 69 if (typeof value != 'undefined') { // name and value given, set cookie 70 options = options || {}; 71 if (value === null) { 72 value = ''; 73 options.expires = -1; 74 } 75 var expires = ''; 76 if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { 77 var date; 78 if (typeof options.expires == 'number') { 79 date = new Date(); 80 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); 81 } else { 82 date = options.expires; 83 } 84 expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE 85 } 86 // CAUTION: Needed to parenthesize options.path and options.domain 87 // in the following expressions, otherwise they evaluate to undefined 88 // in the packed version for some reason... 89 var path = options.path ? '; path=' + (options.path) : ''; 90 var domain = options.domain ? '; domain=' + (options.domain) : ''; 91 var secure = options.secure ? '; secure' : ''; 92 document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 93 } else { // only name given, get cookie 94 var cookieValue = null; 95 if (document.cookie && document.cookie != '') { 96 var cookies = document.cookie.split(';'); 97 for (var i = 0; i < cookies.length; i++) { 98 var cookie = jQuery.trim(cookies[i]); 99 // Does this cookie string begin with the name we want? 100 if (cookie.substring(0, name.length + 1) == (name + '=')) { 101 cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); 102 break; 103 } 104 } 105 } 106 return cookieValue; 107 } 108 }; 109 110
111/* 112 * Nivo Lightbox v1.3.1 113 * http://dev7studios.com/nivo-lightbox 114 * 115 * Copyright 2013, Dev7studios 116 * Free to use and abuse under the MIT license. 117 * http://www.opensource.org/licenses/mit-license.php 118 */ 119 120;(function($, window, document, undefined){ 121 122 var pluginName = 'nivoLightbox', 123 defaults = { 124 effect: 'fade', 125 theme: 'default', 126 keyboardNav: true, 127 clickImgToClose: false, 128 clickOverlayToClose: true, 129 onInit: function(){}, 130 beforeShowLightbox: function(){}, 131 afterShowLightbox: function(lightbox){}, 132 beforeHideLightbox: function(){}, 133 afterHideLightbox: function(){}, 134 beforePrev: function(element){}, 135 onPrev: function(element){}, 136 beforeNext: function(element){}, 137 onNext: function(element){}, 138 errorMessage: 'The requested content cannot be loaded. Please try again later.' 139 }; 140 141 function NivoLightbox(element, options){ 142 this.el = element; 143 this.$el = $(this.el); 144 145 this.options = $.extend({}, defaults, options); 146 147 this._defaults = defaults; 148 this._name = pluginName; 149 150 this.init(); 151 } 152 153 NivoLightbox.prototype = { 154 155 init: function(){ 156 var $this = this; 157 158 // Need this so we don't use CSS transitions in mobile 159 if(!$('html').hasClass('nivo-lightbox-notouch')) $('html').addClass('nivo-lightbox-notouch'); 160 if('ontouchstart' in document) $('html').removeClass('nivo-lightbox-notouch'); 161 162 // Setup the click 163 this.$el.on('click', function(e){ 164 $this.showLightbox(e); 165 }); 166 167 // keyboardNav 168 if(this.options.keyboardNav){ 169 $('body').off('keyup').on('keyup', function(e){ 170 var code = (e.keyCode ? e.keyCode : e.which); 171 // Escape 172 if(code == 27) $this.destructLightbox(); 173 // Left 174 if(code == 37) $('.nivo-lightbox-prev').trigger('click'); 175 // Right 176 if(code == 39) $('.nivo-lightbox-next').trigger('click'); 177 }); 178 } 179 180 this.options.onInit.call(this); 181 182 }, 183 184 showLightbox: function(e){ 185 var $this = this, 186 currentLink = this.$el; 187 188 // Check content 189 var check = this.checkContent(currentLink); 190 if(!check) return; 191 192 e.preventDefault(); 193 this.options.beforeShowLightbox.call(this); 194 var lightbox = this.constructLightbox(); 195 if(!lightbox) return; 196 var content = lightbox.find('.nivo-lightbox-content'); 197 if(!content) return; 198 199 $('body').addClass('nivo-lightbox-body-effect-'+ this.options.effect); 200 201 this.processContent( content, currentLink ); 202 203 // Nav 204 if(this.$el.attr('data-lightbox-gallery')){ 205 var galleryItems = $('[data-lightbox-gallery="'+ this.$el.attr('data-lightbox-gallery') +'"]'); 206 207 $('.nivo-lightbox-nav').show(); 208 209 // Prev 210 $('.nivo-lightbox-prev').off('click').on('click', function(e){ 211 e.preventDefault(); 212 var index = galleryItems.index(currentLink); 213 currentLink = galleryItems.eq(index - 1); 214 if(!$(currentLink).length) currentLink = galleryItems.last(); 215 $.when($this.options.beforePrev.call(this, [ currentLink ])).done(function(){ 216 $this.processContent(content, currentLink); 217 $this.options.onPrev.call(this, [ currentLink ]); 218 }); 219 }); 220 221 // Next 222 $('.nivo-lightbox-next').off('click').on('click', function(e){ 223 e.preventDefault(); 224 var index = galleryItems.index(currentLink); 225 currentLink = galleryItems.eq(index + 1); 226 if(!$(currentLink).length) currentLink = galleryItems.first(); 227 $.when($this.options.beforeNext.call(this, [ currentLink ])).done(function(){ 228 $this.processContent(content, currentLink); 229 $this.options.onNext.call(this, [ currentLink ]); 230 }); 231 }); 232 } 233 234 setTimeout(function(){ 235 lightbox.addClass('nivo-lightbox-open'); 236 $this.options.afterShowLightbox.call(this, [ lightbox ]); 237 }, 1); // For CSS transitions 238 }, 239 240 checkContent: function( link ) { 241 var $this = this, 242 href = link.attr('href'), 243 video = href.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/); 244 245 if(href.match(/\.(jpeg|jpg|gif|png)$/i) !== null){ 246 return true; 247 } 248 // HTML5 Audio 249 else if(link.attr('data-lightbox-type') == 'html5audio'){ 250 return true; 251 } 252 // HTML5 Video 253 else if(link.attr('data-lightbox-type') == 'html5video'){ 254 return true; 255 } 256 // Video (Youtube/Vimeo) 257 else if(video){ 258 return true; 259 } 260 // AJAX 261 else if(link.attr('data-lightbox-type') == 'ajax'){ 262 return true; 263 } 264 // Inline HTML 265 else if(href.substring(0, 1) == '#' && link.attr('data-lightbox-type') == 'inline'){ 266 return true; 267 } 268 // iFrame (default) 269 else if(link.attr('data-lightbox-type') == 'iframe'){ 270 return true; 271 } 272 273 return false;
274 }, 275 276 processContent: function(content, link){ 277 var $this = this, 278 href = link.attr('href'), 279 video = href.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/); 280 281 content.html('').addClass('nivo-lightbox-loading'); 282 283 // Is HiDPI? 284 if(this.isHidpi() && link.attr('data-lightbox-hidpi')){ 285 href = link.attr('data-lightbox-hidpi'); 286 } 287 288 // Image 289 if(href.match(/\.(jpeg|jpg|gif|png)$/i) !== null){ 290 var img = $('<img>', { src: href, 'class': 'nivo-lightbox-image-display' }); 291 img.one('load', function() { 292 var wrap = $('<div class="nivo-lightbox-image" />'); 293 wrap.append(img); 294 content.html(wrap).removeClass('nivo-lightbox-loading'); 295 296 // Vertically center images 297 wrap.css({ 298 'line-height': $('.nivo-lightbox-content').height() +'px', 299 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox 300 }); 301 $(window).resize(function() { 302 wrap.css({ 303 'line-height': $('.nivo-lightbox-content').height() +'px', 304 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox 305 }); 306 }); 307 }).each(function() { 308 if(this.complete) $(this).load(); 309 }); 310 311 img.error(function() { 312 var wrap = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>'); 313 content.html(wrap).removeClass('nivo-lightbox-loading'); 314 }); 315 } 316 317 // Video (Youtube/Vimeo) 318 else if(video){ 319 var src = '', 320 classTerm = 'nivo-lightbox-video'; 321 322 if(video[1] == 'youtube'){ 323 src = 'https://www.youtube.com/embed/'+ video[4]+'?autoplay=1&rel=0'; 324 classTerm = 'nivo-lightbox-youtube'; 325 } 326 if(video[1] == 'youtube-nocookie'){ 327 src = href; //https://www.youtube-nocookie.com/embed/... 328 classTerm = 'nivo-lightbox-youtube'; 329 } 330 if(video[1] == 'youtu'){ 331 src = 'https://www.youtube.com/embed/'+ video[3]+'?autoplay=1&rel=0'; 332 classTerm = 'nivo-lightbox-youtube'; 333 } 334 if(video[1] == 'vimeo'){ 335 src = 'https://player.vimeo.com/video/'+ video[3]+'?autoplay=1&rel=0&playsinline=0'; 336 classTerm = 'nivo-lightbox-vimeo'; 337 } 338 339 if(src){ 340 var iframeVideo = $('<iframe>', { 341 src: src, 342 'class': classTerm, 343 frameborder: 0, 344 vspace: 0, 345 hspace: 0, 346 scrolling: 'auto', 347 allowfullscreen: 'true' 348 }); 349 content.html(iframeVideo); 350 iframeVideo.load(function(){ content.removeClass('nivo-lightbox-loading'); }); 351 } 352 } 353 // AJAX 354 else if(link.attr('data-lightbox-type') == 'ajax'){ 355 $.ajax({ 356 url: href, 357 cache: false, 358 success: function(data) { 359 var wrap = $('<div class="nivo-lightbox-ajax" />'); 360 wrap.append(data); 361 content.html(wrap).removeClass('nivo-lightbox-loading'); 362 363 // Vertically center html 364 if(wrap.outerHeight() < content.height()){ 365 wrap.css({ 366 'position': 'relative', 367 'top': '50%', 368 'margin-top': -(wrap.outerHeight()/2) +'px' 369 }); 370 } 371 $(window).resize(function() { 372 if(wrap.outerHeight() < content.height()){ 373 wrap.css({ 374 'position': 'relative', 375 'top': '50%', 376 'margin-top': -(wrap.outerHeight()/2) +'px' 377 }); 378 } 379 }); 380 }, 381 error: function(){ 382 var wrap = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>'); 383 content.html(wrap).removeClass('nivo-lightbox-loading'); 384 } 385 }); 386 } 387 // Inline HTML 388 else if(href.substring(0, 1) == '#' && link.attr('data-lightbox-type') == 'inline'){ 389 if($(href).length){ 390 var wrap = $('<div class="nivo-lightbox-inline" />'); 391 wrap.append($(href).clone().show()); 392 content.html(wrap).removeClass('nivo-lightbox-loading'); 393 394 // Vertically center html 395 if(wrap.outerHeight() < content.height()){ 396 wrap.css({ 397 'position': 'relative', 398 'top': '50%', 399 'margin-top': -(wrap.outerHeight()/2) +'px' 400 }); 401 } 402 $(window).resize(function() { 403 if(wrap.outerHeight() < content.height()){ 404 wrap.css({ 405 'position': 'relative', 406 'top': '50%', 407 'margin-top': -(wrap.outerHeight()/2) +'px' 408 }); 409 } 410 }); 411 } else { 412 var wrapError = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>'); 413 content.html(wrapError).removeClass('nivo-lightbox-loading'); 414 } 415 } 416 417 // HTML5 audio 418 else if(link.attr('data-lightbox-type') == 'html5audio'){ 419 var vidframe = $('<audio>', { 420 src: href, 421 'class': 'nivo-lightbox-html5audio', 422 'controls': 'true', 423 'playsinline': 'true', 424 'preload': 'auto', 425 'autoplay': 'true' 426 }); 427 content.html(vidframe); 428 vidframe.load(function(){ content.removeClass('nivo-lightbox-loading'); }); 429 } 430 431 // HTML5 video 432 else if(link.attr('data-lightbox-type') == 'html5video'){ 433 var vidframe = $('<video>', { 434 src: href, 435 'class': 'nivo-lightbox-html5video', 436 'controls': 'true', 437 'playsinline': 'true', 438 'preload': 'auto', 439 'autoplay': 'true' 440 }); 441 content.html(vidframe); 442 vidframe.load(function(){ content.removeClass('nivo-lightbox-loading'); }); 443 } 444 445 // iFrame (default) 446 else if(link.attr('data-lightbox-type') == 'iframe'){ 447 var iframe = $('<iframe>', { 448 src: href, 449 'class': 'nivo-lightbox-item', 450 frameborder: 0, 451 vspace: 0, 452 hspace: 0, 453 scrolling: 'auto' 454 }); 455 content.html(iframe); 456 iframe.load(function(){ content.removeClass('nivo-lightbox-loading'); }); 457 } else { 458 return false;
459 } 460 461 // Set the title 462 if(link.attr('title')){ 463 var titleWrap = $('<span>', { 'class': 'nivo-lightbox-title' }); 464 titleWrap.text(link.attr('title')); 465 $('.nivo-lightbox-title-wrap').html(titleWrap); 466 } else { 467 $('.nivo-lightbox-title-wrap').html(''); 468 } 469 }, 470 471 constructLightbox: function(){ 472 if($('.nivo-lightbox-overlay').length) return $('.nivo-lightbox-overlay'); 473 474 var overlay = $('<div>', { 'class': 'nivo-lightbox-overlay nivo-lightbox-theme-'+ this.options.theme +' nivo-lightbox-effect-'+ this.options.effect }); 475 var wrap = $('<div>', { 'class': 'nivo-lightbox-wrap' }); 476 var content = $('<div>', { 'class': 'nivo-lightbox-content' }); 477 var nav = $('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev"><i class="fa fa-chevron-left"></i></a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next"><i class="fa fa-chevron-right"></i></a>'); 478 var close = $('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>'); 479 var title = $('<div>', { 'class': 'nivo-lightbox-title-wrap' }); 480 481 var isMSIE = /*@cc_on!@*/0; 482 if(isMSIE) overlay.addClass('nivo-lightbox-ie'); 483 484 wrap.append(content); 485 wrap.append(title); 486 overlay.append(wrap); 487 overlay.append(nav); 488 overlay.append(close); 489 $('body').append(overlay); 490 491 var $this = this; 492 if($this.options.clickOverlayToClose){ 493 overlay.on('click', function(e){ 494 if(e.target === this || $(e.target).hasClass('nivo-lightbox-content') || $(e.target).hasClass('nivo-lightbox-image')){ 495 $this.destructLightbox(); 496 } 497 }); 498 } 499 if($this.options.clickImgToClose){ 500 overlay.on('click', function(e){ 501 if(e.target === this || $(e.target).hasClass('nivo-lightbox-image-display')){ 502 $this.destructLightbox(); 503 } 504 }); 505 } 506 507 close.on('click', function(e){ 508 e.preventDefault(); 509 $this.destructLightbox(); 510 }); 511 512 return overlay; 513 }, 514 515 destructLightbox: function(){ 516 var $this = this; 517 this.options.beforeHideLightbox.call(this); 518 519 $('.nivo-lightbox-overlay').removeClass('nivo-lightbox-open'); 520 $('.nivo-lightbox-nav').hide(); 521 $('body').removeClass('nivo-lightbox-body-effect-'+ $this.options.effect); 522 523 // For IE 524 var isMSIE = /*@cc_on!@*/0; 525 if(isMSIE){ 526 $('.nivo-lightbox-overlay iframe').attr("src", " "); 527 $('.nivo-lightbox-overlay iframe').remove(); 528 } 529 530 // Remove click handlers 531 $('.nivo-lightbox-prev').off('click'); 532 $('.nivo-lightbox-next').off('click'); 533 534 // Empty content (for videos) 535 $('.nivo-lightbox-content').empty(); 536 537 this.options.afterHideLightbox.call(this); 538 }, 539 540 isHidpi: function(){ 541 var mediaQuery = "(-webkit-min-device-pixel-ratio: 1.5),\ 542 (min--moz-device-pixel-ratio: 1.5),\ 543 (-o-min-device-pixel-ratio: 3/2),\ 544 (min-resolution: 1.5dppx)"; 545 if(window.devicePixelRatio > 1) return true; 546 if(window.matchMedia && window.matchMedia(mediaQuery).matches) return true; 547 return false; 548 } 549 550 }; 551 552 $.fn[pluginName] = function(options){ 553 return this.each(function(){ 554 if(!$.data(this, pluginName)){ 555 $.data(this, pluginName, new NivoLightbox(this, options)); 556 } 557 }); 558 }; 559 560})(jQuery, window, document); 561 562 563 564/* 565WHW changes 566- Replace '<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a>' with '<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev"><i class="fa fa-chevron-left"></i></a>' 567- Replace '<a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>' with '<a href="#" class="nivo-lightbox-nav nivo-lightbox-next"><i class="fa fa-chevron-right"></i></a>' 568- Replace '<a href="#" class="nivo-lightbox-close" title="Close">Close</a>' with '<a href="#" class="nivo-lightbox-close"></a>' 569- Replace 'http://player.vimeo.com' with 'https://player.vimeo.com' 570- Replace 'http://www.youtube.com/embed/' with 'https://www.youtube.com/embed/' 571- Replace '[4]' with '[4]+'?autoplay=1&rel=0'' 572- Replace '[3]' with '[3]+'?autoplay=1&rel=0'' 573- Replace 'scrolling:"auto"' with 'scrolling:"auto",allowfullscreen:"true"' 574*/ 575 576return stack;})(stacks.com_stacks4stacks_stacks_topbox4); 577stacks.com_bigwhiteduck_stacks_dropem = {}; 578stacks.com_bigwhiteduck_stacks_dropem = (function(stack) { 579var jQuery = stacks.jQuery;var $ = jQuery;(function(window,document,undefined){'use strict';(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory(require('jquery'));}else{factory(stacks.jQuery);}}(function($){var pluginName='popDrop';var pluginClass='popdrop-popover';var pluginType='webui.popover';var defaults={uniqueID:'stack',parent:$('.pop-launcher'),placement:'auto',mobplacement:'auto',mobBP:'640',bias:'',container:null,width:'auto',maxWidth:1000,height:'auto',modal:false,trigger:'click',closeOnClick:false,style:'',delay:{show:null,hide:300},async:{type:'GET',before:null,success:null,error:null},cache:true,multi:false,arrow:true,title:'',allowListTitles:false,content:'',closeable:false,padding:true,url:'',type:'html',direction:'',animation:null,template:'<div class="popdrop-popover">'+'<div class="popdrop-arrow"></div>'+'<div class="popdrop-popover-inner">'+'<a href="#" class="popdrop-close"></a>'+'<h3 class="popdrop-popover-title"></h3>'+'<div class="popdrop-popover-content"><i class="icon-refresh"></i> <p> </p></div>'+'</div>'+'</div>',backdrop:false,dismissible:true,onShow:null,onHide:null,abortXHR:true,autoHide:false,offsetTop:0,offsetLeft:0,iframeOptions:{frameborder:'0',allowtransparency:'true',id:'',name:'',scrolling:'',onload:'',height:'',width:''},hideEmpty:false};
vendor: 15,444 bytes, lines 579-649
579var rtlClass=pluginClass+'-rtl';var _srcElements=[];var backdrop=$('<div class="popdrop-popover-backdrop"></div>');var _globalIdSeed=0;var _isBodyEventHandled=false;var _offsetOut=-2000;var $document=$(document);var toNumber=function(numeric,fallback){return isNaN(numeric)?(fallback||0):Number(numeric);};var getPopFromElement=function($element){return $element.data('plugin_'+pluginName);};var hideAllPop=function(){var pop=null;for(var i=0;i<_srcElements.length;i++){pop=getPopFromElement(_srcElements[i]);if(pop){pop.hide(true);}} 580$document.trigger('hiddenAll.'+pluginType);};var isMobile=('ontouchstart'in document.documentElement)&&(/Mobi/.test(navigator.userAgent));var pointerEventToXY=function(e){var out={x:0,y:0};if(e.type==='touchstart'||e.type==='touchmove'||e.type==='touchend'||e.type==='touchcancel'){var touch=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];out.x=touch.pageX;out.y=touch.pageY;}else if(e.type==='mousedown'||e.type==='mouseup'||e.type==='click'){out.x=e.pageX;out.y=e.pageY;} 581return out;};function WebuiPopover(element,options){this.$element=$(element);if(options){if($.type(options.delay)==='string'||$.type(options.delay)==='number'){options.delay={show:options.delay,hide:options.delay};}} 582this.options=$.extend({},defaults,options);this._defaults=defaults;this._name=pluginName;this._targetclick=false;this.init();_srcElements.push(this.$element);} 583WebuiPopover.prototype={init:function(){if(this.options.hidemob&&isMobile){return false;} 584if(this.getTrigger()!=='manual'){if(this.getTrigger()==='click'||isMobile){this.$element.off('click touchend').on('click touchend',$.proxy(this.toggle,this));}else if(this.getTrigger()==='hover'){this.$element.off('mouseenter mouseleave click').on('mouseenter',$.proxy(this.mouseenterHandler,this)).on('mouseleave',$.proxy(this.mouseleaveHandler,this));}} 585this._poped=false;this._inited=true;this._opened=false;this._idSeed=_globalIdSeed;this.options.container=$(this.options.container||document.body).first();if(isMobile){$('html').addClass('popdrop-touch');} 586if(this.options.backdrop){backdrop.appendTo(this.options.container).hide();} 587_globalIdSeed++;if(this.getTrigger()==='sticky'){this.show();}},destroy:function(){var index=-1;for(var i=0;i<_srcElements.length;i++){if(_srcElements[i]===this.$element){index=i;break;}} 588_srcElements.splice(index,1);this.hide();this.$element.data('plugin_'+pluginName,null);if(this.getTrigger()==='click'){this.$element.off('click');}else if(this.getTrigger()==='hover'){this.$element.off('mouseenter mouseleave');} 589if(this.$target){this.$target.remove();}},hide:function(force,event){if(!force&&this.getTrigger()==='sticky'){return;} 590if(!this._opened){return;} 591if(event){event.preventDefault();event.stopPropagation();} 592if(this.xhr&&this.options.abortXHR===true){this.xhr.abort();this.xhr=null;} 593var e=$.Event('hide.'+pluginType);this.$element.trigger(e,[this.$target]);if(this.$target){this.$target.removeClass('in').addClass(this.getHideAnimation());var that=this;setTimeout(function(){that.$target.hide();if(!that.getCache()){that.$target.remove();}},that.getHideDelay());} 594if(this.options.backdrop){backdrop.hide();} 595this._opened=false;$('html').removeClass('popdrop-open');this.options.parent.removeClass('popdrop-open');if(this.options.modal){$('html').removeClass('popdrop-modal').removeClass('pop-drop-'+this.options.uniqueID);} 596this.$element.trigger('hidden.'+pluginType,[this.$target]);if(this.options.onHide){this.options.onHide(this.$target);} 597if(!this.options.multi){this.hideAll();}},resetAutoHide:function(){var that=this;var autoHide=that.getAutoHide();if(autoHide){if(that.autoHideHandler){clearTimeout(that.autoHideHandler);} 598that.autoHideHandler=setTimeout(function(){that.hide();},autoHide);}},toggle:function(e){if(e){e.preventDefault();e.stopPropagation();} 599this[this.getTarget().hasClass('in')?'hide':'show']();},hideAll:function(){hideAllPop();},show:function(){if(this._opened){return;} 600var 601$target=this.getTarget().removeClass().addClass(pluginClass).addClass(this._customTargetClass);if(!this.options.multi){this.hideAll();} 602if(!this.getCache()||!this._poped||this.content===''){this.content='';if(!this.options.closeable){$target.find('.popdrop-close').off('click').remove();} 603if(!this.isAsync()){this.setContent(this.getContent());}else{this.setContentASync(this.options.content);} 604if(this.canEmptyHide()&&this.content===''){return;} 605this.setTitle(this.getTitle());$target.show();} 606this.displayContent();if(this.options.onShow){this.options.onShow($target);} 607this.bindBodyEvents();if(this.options.backdrop){backdrop.show();} 608this._opened=true;$('html').addClass('popdrop-open');this.options.parent.addClass('popdrop-open');$('>div',this.options.parent).removeClass('is-fresh');if(this.options.modal){$('html').addClass('popdrop-modal').addClass('pop-drop-'+this.options.uniqueID);var overflowContent=$target.find('.popdrop-popover-content'),titleSize=($target.find('.popdrop-popover-title')).outerHeight()||0,topmargin=parseInt($target.css('margin-top'))||0,adjust=(topmargin*2)+titleSize;overflowContent.css({'max-height':'calc(100vh - '+adjust+'px)'});} 609this.resetAutoHide();},isFixed:function(el){var fixedParent=false;el.parents().filter(function(){fixedParent=$(this).css('position')=='fixed'?true:fixedParent;});return fixedParent;},displayContent:function(){var 610elementPos=this.getElementPosition(),$target=this.getTarget().removeClass().addClass(pluginClass).addClass(this._customTargetClass),$targetContent=this.getContentElement(),targetWidth=$target[0].offsetWidth,targetHeight=$target[0].offsetHeight,placement='bottom',e=$.Event('show.'+pluginType);if(this.canEmptyHide()){var content=$targetContent.children().html();if(content!==null&&content.trim().length===0){return;}} 611this.$element.trigger(e,[$target]);var optWidth=this.$element.data('width')||this.options.width;if(optWidth===''){optWidth=this._defaults.width;} 612if(optWidth!=='auto'){$target.width(optWidth);} 613if(optWidth==='mega'){var win=$(window).width();if(win>=this.options.maxWidth){$target.width(this.options.maxWidth);}else{$target.width($(window).width());}} 614if(optWidth==='contained'){$target.width(this.$element.outerWidth());} 615var optHeight=this.$element.data('height')||this.options.height;if(optHeight===''){optHeight=this._defaults.height;} 616if(optHeight!=='auto'){$targetContent.height(optHeight);} 617if(this.options.style){this.$target.addClass(pluginClass+'-'+this.options.style);} 618if(this.options.direction==='rtl'&&!$targetContent.hasClass(rtlClass)){$targetContent.addClass(rtlClass);} 619if(!this.options.arrow){$target.find('.popdrop-arrow').remove();} 620$target.detach().css({top:_offsetOut,left:_offsetOut,display:'block'});if(this.getAnimation()){$target.addClass(this.getAnimation());} 621$target.appendTo(this.options.container);placement=this.getPlacement(elementPos);this.$element.trigger('added.'+pluginType);this.initTargetEvents();if(!this.options.padding){if(this.options.height!=='auto'){$targetContent.css('height',$targetContent.outerHeight());} 622this.$target.addClass('popdrop-no-padding');} 623targetWidth=$target[0].offsetWidth;targetHeight=$target[0].offsetHeight;var postionInfo=this.getTargetPositin(elementPos,placement,targetWidth,targetHeight);this.$target.css(postionInfo.position).addClass(placement).addClass('in');if(this.isFixed(this.$element)||this.options.modal){this.$element.addClass('popdrop-fixed');this.$target.css('position','fixed');} 624if(this.options.type==='iframe'){var $iframe=$target.find('iframe');var iframeWidth=$target.width();var iframeHeight=$iframe.parent().height();if(this.options.iframeOptions.width!==''&&this.options.iframeOptions.width!=='auto'){iframeWidth=this.options.iframeOptions.width;} 625if(this.options.iframeOptions.height!==''&&this.options.iframeOptions.height!=='auto'){iframeHeight=this.options.iframeOptions.height;} 626$iframe.width(iframeWidth).height(iframeHeight);} 627if(!this.options.arrow){this.$target.css({'margin':0});} 628if(this.options.arrow){var $arrow=this.$target.find('.popdrop-arrow');$arrow.removeAttr('style');if(placement==='left'||placement==='right'){$arrow.css({top:this.$target.height()/2});}else if(placement==='top'||placement==='bottom'){$arrow.css({left:this.$target.width()/2});} 629if(this.options.modal){$arrow.hide();} 630if(postionInfo.arrowOffset){if(postionInfo.arrowOffset.left===-1||postionInfo.arrowOffset.top===-1){$arrow.hide();}else{$arrow.css(postionInfo.arrowOffset);}} 631var optWidth=this.$element.data('width')||this.options.width;if(optWidth==='mega'){var win=$(window).width(),targetOffset=win>this.options.maxWidth?(win-this.options.maxWidth)/2:0;$arrow.css({left:this.$element.offset().left+(this.$element.outerWidth()/2)-targetOffset});}} 632this._poped=true;this.$element.trigger('shown.'+pluginType,[this.$target]);},isTargetLoaded:function(){return this.getTarget().find('i.glyphicon-refresh').length===0;},getTriggerElement:function(){return this.$element;},getTarget:function(){if(!this.$target){var id=pluginName+this._idSeed;this.$target=$(this.options.template).attr('id',id).attr('data-pop-source',this.options.uniqueID).data('trigger-element',this.getTriggerElement());this._customTargetClass=this.$target.attr('class')!==pluginClass?this.$target.attr('class'):null;this.getTriggerElement().attr('data-target',id);} 633return this.$target;},getTitleElement:function(){return this.getTarget().find('.'+pluginClass+'-title');},getContentElement:function(){if(!this.$contentElement){this.$contentElement=this.getTarget().find('.'+pluginClass+'-content');} 634return this.$contentElement;},getTitle:function(){return this.$element.attr('data-title')||this.options.title||this.$element.attr('title');},getUrl:function(){return this.$element.attr('data-url')||this.options.url;},getAutoHide:function(){return this.$element.attr('data-auto-hide')||this.options.autoHide;},getOffsetTop:function(){return toNumber(this.$element.attr('data-offset-top'))||this.options.offsetTop;},getOffsetLeft:function(){return toNumber(this.$element.attr('data-offset-left'))||this.options.offsetLeft;},getCache:function(){var dataAttr=this.$element.attr('data-cache');if(typeof(dataAttr)!=='undefined'){switch(dataAttr.toLowerCase()){case'true':case'yes':case'1':return true;case'false':case'no':case'0':return false;}} 635return this.options.cache;},getTrigger:function(){return this.$element.attr('data-trigger')||this.options.trigger;},getDelayShow:function(){var dataAttr=this.$element.attr('data-delay-show');if(typeof(dataAttr)!=='undefined'){return dataAttr;} 636return this.options.delay.show===0?0:this.options.delay.show||100;},getHideDelay:function(){var dataAttr=this.$element.attr('data-delay-hide');if(typeof(dataAttr)!=='undefined'){return dataAttr;} 637return this.options.delay.hide===0?0:this.options.delay.hide||100;},getAnimation:function(){var dataAttr=this.$element.attr('data-animation');return dataAttr||this.options.animation;},getHideAnimation:function(){var ani=this.getAnimation();return ani?ani+'-out':'out';},setTitle:function(title){var $titleEl=this.getTitleElement();if(title){if(this.options.direction==='rtl'&&!$titleEl.hasClass(rtlClass)){$titleEl.addClass(rtlClass);} 638$titleEl.html(title);}else{$titleEl.remove();}},hasContent:function(){return this.getContent();},canEmptyHide:function(){return this.options.hideEmpty&&this.options.type==='html';},getIframe:function(){var $iframe=$('<iframe></iframe>').attr('src',this.getUrl());var self=this;$.each(this._defaults.iframeOptions,function(opt){if(typeof self.options.iframeOptions[opt]!=='undefined'){$iframe.attr(opt,self.options.iframeOptions[opt]);}});return $iframe;},getTipItem:function(){var 639tipdata=this.options.url,thisTipID=$.trim(this.$element.attr('data-tip-name')),thisTip=tipdata.find('[data-tip-id="'+thisTipID+'"]');if(this.options.allowListTitles){var tipTitle=$.trim($('.tip-title',thisTip).text());this.options.title=tipTitle;} 640if(!thisTip.length){console.log('Tip ID '+thisTipID+' is not defined in TipList Stack');return;}else{return $('.tip-content',thisTip);}},getContent:function(){if(this.getUrl()){switch(this.options.type){case'iframe':this.content=this.getIframe();break;case'tiplist':try{this.content=this.getTipItem();if(!this.content.is(':visible')){this.content.show();}}catch(error){throw new Error('Tip ID must be specified in TipList. Check Log.');} 641break;case'html':try{this.content=$(this.getUrl());if(!this.content.is(':visible')){this.content.show();}}catch(error){throw new Error('Unable to get popover content. Invalid selector specified.');} 642break;}}else if(!this.content){var content='';if($.isFunction(this.options.content)){content=this.options.content.apply(this.$element[0],[this]);}else{content=this.options.content;} 643this.content=this.$element.attr('data-content')||content;if(!this.content){var $next=this.$element.next();if($next&&$next.hasClass(pluginClass+'-content')){this.content=$next;}}} 644return this.content;},setContent:function(content){var $target=this.getTarget();var $ct=this.getContentElement();if(typeof content==='string'){$ct.html(content);}else if(content instanceof jQuery){$ct.html('');if(!this.options.cache){content.clone(true,true).addClass('popdrop-live').removeClass(pluginClass+'-content').appendTo($ct);}else{content.addClass('popdrop-live').removeClass(pluginClass+'-content').appendTo($ct);}} 645this.$target=$target;},isAsync:function(){return this.options.type==='async';},setContentASync:function(content){var that=this;if(this.xhr){return;} 646this.xhr=$.ajax({url:this.getUrl(),type:this.options.async.type,cache:this.getCache(),beforeSend:function(xhr){if(that.options.async.before){that.options.async.before(that,xhr);}},success:function(data){that.bindBodyEvents();if(content&&$.isFunction(content)){that.content=content.apply(that.$element[0],[data]);}else{that.content=data;} 647that.setContent(that.content);var $targetContent=that.getContentElement();$targetContent.removeAttr('style');that.displayContent();if(that.options.async.success){that.options.async.success(that,data);}},complete:function(){that.xhr=null;},error:function(xhr,data){if(that.options.async.error){that.options.async.error(that,xhr,data);}}});},bindBodyEvents:function(){if(_isBodyEventHandled){return;} 648if(this.options.dismissible&&this.getTrigger()==='click'){$document.off('keyup.popdrop-popover').on('keyup.popdrop-popover',$.proxy(this.escapeHandler,this));$document.off('click.popdrop-popover touchend.popdrop-popover').on('click.popdrop-popover touchend.popdrop-popover',$.proxy(this.bodyClickHandler,this));}else if(this.getTrigger()==='hover'){$document.off('touchend.popdrop-popover').on('touchend.popdrop-popover',$.proxy(this.bodyClickHandler,this));}},mouseenterHandler:function(){var self=this;if(self._timeout){clearTimeout(self._timeout);} 649self._enterTimeout=setTimeout(function(){if(!self.getTarget().is(':visible')){self.show();}},this.getDelayShow());},mouseleaveHandler:function(){var self=this;clearTimeout(self._enterTimeout);self._timeout=setTimeout(function(){self.hide();},this.getHideDelay());},escapeHandler:function(e){if(e.keyCode===27){this.hideAll();}},bodyClickHandler:function(e){_isBodyEventHandled=true;var canHide=true;for(var i=0;i<_srcElements.length;i++){var pop=getPopFromElement(_srcElements[i]);if(pop&&pop._opened){var offset=pop.getTarget().offset();var popX1=offset.left;var popY1=offset.top;var popX2=offset.left+pop.getTarget().width();var popY2=offset.top+pop.getTarget().height();var pt=pointerEventToXY(e);var inPop=pt.x>=popX1&&pt.x<=popX2&&pt.y>
649=popY1&&pt.y<=popY2;if(inPop){canHide=false;break;}}} 650if(canHide){hideAllPop();}},initTargetEvents:function(){if(this.getTrigger()==='hover'){this.$target.off('mouseenter mouseleave').on('mouseenter',$.proxy(this.mouseenterHandler,this)).on('mouseleave',$.proxy(this.mouseleaveHandler,this));} 651this.$target.find('.popdrop-close').off('click').on('click',$.proxy(this.hide,this,true));if(this.options.closeOnClick){var self=this;this.$target.find('a').on('click',function(){$.proxy(self.hide(),self,true);});}},getPlacement:function(pos){var 652placement,container=this.options.container,clientWidth=container.innerWidth(),clientHeight=container.innerHeight(),scrollTop=document.documentElement.scrollTop+container.scrollTop(),scrollLeft=document.documentElement.scrollLeft+container.scrollLeft(),pageX=Math.max(0,pos.left-scrollLeft),pageY=Math.max(0,pos.top-scrollTop);if($(window).width()>this.options.mobBP){if(typeof(this.options.placement)==='function'){placement=this.options.placement.call(this,this.getTarget()[0],this.$element[0]);}else{placement=this.$element.data('placement')||this.options.placement;}}else{if(typeof(this.options.mobplacement)==='function'){placement=this.options.mobplacement.call(this,this.getTarget()[0],this.$element[0]);}else{placement=this.$element.data('mobplacement')||this.options.mobplacement;}} 653var bias=this.$element.data('bias')||this.options.bias;var isH=placement==='horizontal';var isV=placement==='vertical';var detect=placement==='auto'||isH||isV;if(detect){if(pageX<clientWidth/3){if(pageY<clientHeight/3){placement=isH?'right-bottom':'bottom-right';}else if(pageY<clientHeight*2/3){if(isV){placement=pageY<=clientHeight/2?'bottom-right':'top-right';}else{placement='right';}}else{placement=isH?'right-top':'top-right';}}else if(pageX<clientWidth*2/3){if(pageY<clientHeight/3){if(isH){placement=pageX<=clientWidth/2?'right-bottom':'left-bottom';}else{placement='bottom';}}else if(pageY<clientHeight*2/3){if(isH){placement=pageX<=clientWidth/2?'right':'left';}else{placement=pageY<=clientHeight/2?'bottom':'top';}}else{if(isH){placement=pageX<=clientWidth/2?'right-top':'left-top';}else{placement='top';}}}else{if(pageY<clientHeight/3){placement=isH?'left-bottom':'bottom-left';}else if(pageY<clientHeight*2/3){if(isV){placement=pageY<=clientHeight/2?'bottom-left':'top-left';}else{placement='left';}}else{placement=isH?'left-top':'top-left';}}}else if(placement==='auto-top'){if(pageX<clientWidth/3){placement='top-right';}else if(pageX<clientWidth*2/3){placement='top';}else{placement='top-left';}}else if(placement==='auto-bottom'){if(pageX<clientWidth/3){placement='bottom-right';}else if(pageX<clientWidth*2/3){placement='bottom';}else{placement='bottom-left';}}else if(placement==='auto-left'){if(pageY<clientHeight/3){placement='left-top';}else if(pageY<clientHeight*2/3){placement='left';}else{placement='left-bottom';}}else if(placement==='auto-right'){if(pageY<clientHeight/3){placement='right-top';}else if(pageY<clientHeight*2/3){placement='right';}else{placement='right-bottom';}} 654return placement;},getElementPosition:function(){var elRect=this.$element[0].getBoundingClientRect();if(this.isFixed(this.$element)){var containerRect=this.options.container[0].getBoundingClientRect();return{top:elRect.top,left:elRect.left,width:elRect.width,height:elRect.height};} 655if(this.options.container.is(document.body)||this.options.container.css('position')!=='fixed'||!this.$element[0].hasClass('popdrop-fixed')){return $.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth||elRect.width,height:this.$element[0].offsetHeight||elRect.height});}else{var containerRect=this.options.container[0].getBoundingClientRect();return{top:elRect.top-containerRect.top+this.options.container.scrollTop(),left:elRect.left-containerRect.left+this.options.container.scrollLeft(),width:elRect.width,height:elRect.height};}},getTargetPositin:function(elementPos,placement,targetWidth,targetHeight){var pos=elementPos,container=this.options.container,elementW=this.$element.outerWidth(),elementH=this.$element.outerHeight(),scrollTop=container.scrollTop(),scrollLeft=container.scrollLeft(),position={},arrowOffset=null,arrowSize=this.options.arrow?20:0,padding=10,fixedW=elementW<arrowSize+padding?arrowSize:0,fixedH=elementH<arrowSize+padding?arrowSize:0,refix=0,pageH=document.documentElement.clientHeight+scrollTop,pageW=document.documentElement.clientWidth+scrollLeft;
655var validLeft=pos.left+pos.width/2-fixedW>0;var validRight=pos.left+pos.width/2+fixedW<pageW;var validTop=pos.top+pos.height/2-fixedH>0;var validBottom=pos.top+pos.height/2+fixedH<pageH;switch(placement){case'bottom':position={top:pos.top+pos.height,left:pos.left+pos.width/2-targetWidth/2};break;case'top':position={top:pos.top-targetHeight,left:pos.left+pos.width/2-targetWidth/2};break;case'left':position={top:pos.top+pos.height/2-targetHeight/2,left:pos.left-targetWidth};break;case'right':position={top:pos.top+pos.height/2-targetHeight/2,left:pos.left+pos.width};break;case'top-right':position={top:pos.top-targetHeight,left:validLeft?pos.left-fixedW:padding};arrowOffset={left:validLeft?Math.min(elementW,targetWidth)/2+fixedW:_offsetOut};break;case'top-left':refix=validRight?fixedW:-padding;position={top:pos.top-targetHeight,left:pos.left-targetWidth+pos.width+refix};arrowOffset={left:validRight?targetWidth-Math.min(elementW,targetWidth)/2-fixedW:_offsetOut};break;case'bottom-right':position={top:pos.top+pos.height,left:validLeft?pos.left-fixedW:padding};arrowOffset={left:validLeft?Math.min(elementW,targetWidth)/2+fixedW:_offsetOut};break;case'bottom-left':refix=validRight?fixedW:-padding;position={top:pos.top+pos.height,left:pos.left-targetWidth+pos.width+refix};arrowOffset={left:validRight?targetWidth-Math.min(elementW,targetWidth)/2-fixedW:_offsetOut};break;case'right-top':refix=validBottom?fixedH:-padding;position={top:pos.top-targetHeight+pos.height+refix,left:pos.left+pos.width};arrowOffset={top:validBottom?targetHeight-Math.min(elementH,targetHeight)/2-fixedH:_offsetOut};break;case'right-bottom':position={top:validTop?pos.top-fixedH:padding,left:pos.left+pos.width};arrowOffset={top:validTop?Math.min(elementH,targetHeight)/2+fixedH:_offsetOut};break;case'left-top':refix=validBottom?fixedH:-padding;position={top:pos.top-targetHeight+pos.height+refix,left:pos.left-targetWidth};arrowOffset={top:validBottom?targetHeight-Math.min(elementH,targetHeight)/2-fixedH:_offsetOut};break;case'left-bottom':position={top:validTop?pos.top-fixedH:padding,left:pos.left-targetWidth};arrowOffset={top:validTop?Math.min(elementH,targetHeight)/2+fixedH:_offsetOut};break;} 656position.top+=this.getOffsetTop();var optWidth=this.$element.data('width')||this.options.width;if(optWidth==='auto'){position.left+=this.getOffsetLeft();}else{if(optWidth==='mega'){var win=$(window).width();if(win>=this.options.maxWidth){position.left=(win-this.options.maxWidth)/2;}else{position.left=0;}} 657if(optWidth==='contained'){position.left=this.$element.offset().left;}} 658if(this.options.modal){position.top=Math.max(0,($(window).height()/2)-(targetHeight/2));} 659return{position:position,arrowOffset:arrowOffset};}};$.fn[pluginName]=function(options,noInit){var results=[];var $result=this.each(function(){var webuiPopover=$.data(this,'plugin_'+pluginName);if(!webuiPopover){if(!options){webuiPopover=new WebuiPopover(this,null);}else if(typeof options==='string'){if(options!=='destroy'){if(!noInit){webuiPopover=new WebuiPopover(this,null);results.push(webuiPopover[options]());}}}else if(typeof options==='object'){webuiPopover=new WebuiPopover(this,options);} 660$.data(this,'plugin_'+pluginName,webuiPopover);}else{if(options==='destroy'){webuiPopover.destroy();}else if(typeof options==='string'){results.push(webuiPopover[options]());}}});return(results.length)?results:$result;};var popdropPopovers=(function(){var _hideAll=function(){hideAllPop();};var _show=function(selector){$(selector).webuiPopover('show');};var _hide=function(selector){$(selector).webuiPopover('hide');};return{show:_show,hide:_hide,hideAll:_hideAll};})();window.PopDropPopovers=popdropPopovers;}));})(window,document); 661 662return stack;})(stacks.com_bigwhiteduck_stacks_dropem); 663stacks.com_elixir_stacks_Animagic = {}; 664stacks.com_elixir_stacks_Animagic = (function(stack) { 665var jQuery = stacks.jQuery;var $ = jQuery; 666(function() { 667 var Util, WeakMap, 668 __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; 669 670 Util = (function() { 671 function Util() {} 672 673 Util.prototype.extend = function(custom, defaults) { 674 var key, value; 675 for (key in custom) { 676 value = custom[key]; 677 if (value != null) { 678 defaults[key] = value; 679 } 680 } 681 return defaults; 682 }; 683 684 Util.prototype.isMobile = function(agent) { 685 return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent); 686 }; 687 688 return Util; 689 690 })(); 691 692 WeakMap = this.WeakMap || (WeakMap = (function() { 693 function WeakMap() { 694 this.keys = []; 695 this.values = []; 696 } 697 698 WeakMap.prototype.get = function(key) { 699 var i, item, _i, _len, _ref; 700 _ref = this.keys; 701 for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { 702 item = _ref[i]; 703 if (item === key) { 704 return this.values[i]; 705 } 706 } 707 }; 708 709 WeakMap.prototype.set = function(key, value) { 710 var i, item, _i, _len, _ref; 711 _ref = this.keys; 712 for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { 713 item = _ref[i]; 714 if (item === key) { 715 this.values[i] = value; 716 return; 717 } 718 } 719 this.keys.push(key); 720 return this.values.push(value); 721 }; 722 723 return WeakMap; 724 725 })()); 726 727 this.WOW = (function() { 728 WOW.prototype.defaults = { 729 boxClass: 'wow', 730 animateClass: 'animated', 731 offset: 0, 732 mobile: true 733 }; 734 735 function WOW(options) { 736 if (options == null) { 737 options = {}; 738 } 739 this.scrollCallback = __bind(this.scrollCallback, this); 740 this.scrollHandler = __bind(this.scrollHandler, this); 741 this.start = __bind(this.start, this); 742 this.scrolled = true; 743 this.config = this.util().extend(options, this.defaults); 744 this.animationNameCache = new WeakMap(); 745 } 746 747 WOW.prototype.init = function() { 748 var _ref; 749 this.element = window.document.documentElement; 750 if ((_ref = document.readyState) === "interactive" || _ref === "complete") { 751 return this.start(); 752 } else { 753 return document.addEventListener('DOMContentLoaded', this.start); 754 } 755 }; 756 757 WOW.prototype.start = function() { 758 var box, _i, _len, _ref; 759 this.boxes = this.element.getElementsByClassName(this.config.boxClass); 760 if (this.boxes.length) { 761 if (this.disabled()) { 762 return this.resetStyle(); 763 } else { 764 _ref = this.boxes; 765 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 766 box = _ref[_i]; 767 this.applyStyle(box, true); 768 } 769 window.addEventListener('scroll', this.scrollHandler, false); 770 window.addEventListener('resize', this.scrollHandler, false); 771 return this.interval = setInterval(this.scrollCallback, 50); 772 } 773 } 774 }; 775 776 WOW.prototype.stop = function() { 777 window.removeEventListener('scroll', this.scrollHandler, false); 778 window.removeEventListener('resize', this.scrollHandler, false); 779 if (this.interval != null) { 780 return clearInterval(this.interval); 781 } 782 }; 783 784 WOW.prototype.show = function(box) { 785 this.applyStyle(box); 786 return box.className = "" + box.className + " " + this.config.animateClass; 787 }; 788 789 WOW.prototype.applyStyle = function(box, hidden) { 790 var delay, duration, iteration; 791 duration = box.getAttribute('data-wow-duration');
vendor: 4,541 bytes, lines 792-949
792 delay = box.getAttribute('data-wow-delay'); 793 iteration = box.getAttribute('data-wow-iteration'); 794 return this.animate((function(_this) { 795 return function() { 796 return _this.customStyle(box, hidden, duration, delay, iteration); 797 }; 798 })(this)); 799 }; 800 801 WOW.prototype.animate = (function() { 802 if ('requestAnimationFrame' in window) { 803 return function(callback) { 804 return window.requestAnimationFrame(callback); 805 }; 806 } else { 807 return function(callback) { 808 return callback(); 809 }; 810 } 811 })(); 812 813 WOW.prototype.resetStyle = function() { 814 var box, _i, _len, _ref, _results; 815 _ref = this.boxes; 816 _results = []; 817 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 818 box = _ref[_i]; 819 _results.push(box.setAttribute('style', 'visibility: visible;')); 820 } 821 return _results; 822 }; 823 824 WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) { 825 if (hidden) { 826 this.cacheAnimationName(box); 827 } 828 box.style.visibility = hidden ? 'hidden' : 'visible'; 829 if (duration) { 830 this.vendorSet(box.style, { 831 animationDuration: duration 832 }); 833 } 834 if (delay) { 835 this.vendorSet(box.style, { 836 animationDelay: delay 837 }); 838 } 839 if (iteration) { 840 this.vendorSet(box.style, { 841 animationIterationCount: iteration 842 }); 843 } 844 this.vendorSet(box.style, { 845 animationName: hidden ? 'none' : this.cachedAnimationName(box) 846 }); 847 return box; 848 }; 849 850 WOW.prototype.vendors = ["moz", "webkit"]; 851 852 WOW.prototype.vendorSet = function(elem, properties) { 853 var name, value, vendor, _results; 854 _results = []; 855 for (name in properties) { 856 value = properties[name]; 857 elem["" + name] = value; 858 _results.push((function() { 859 var _i, _len, _ref, _results1; 860 _ref = this.vendors; 861 _results1 = []; 862 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 863 vendor = _ref[_i]; 864 _results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value); 865 } 866 return _results1; 867 }).call(this)); 868 } 869 return _results; 870 }; 871 872 WOW.prototype.vendorCSS = function(elem, property) { 873 var result, style, vendor, _i, _len, _ref; 874 style = window.getComputedStyle(elem); 875 result = style.getPropertyCSSValue(property); 876 _ref = this.vendors; 877 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 878 vendor = _ref[_i]; 879 result = result || style.getPropertyCSSValue("-" + vendor + "-" + property); 880 } 881 return result; 882 }; 883 884 WOW.prototype.animationName = function(box) { 885 var animationName; 886 try { 887 animationName = this.vendorCSS(box, 'animation-name').cssText; 888 } catch (_error) { 889 animationName = window.getComputedStyle(box).getPropertyValue('animation-name'); 890 } 891 if (animationName === 'none') { 892 return ''; 893 } else { 894 return animationName; 895 } 896 }; 897 898 WOW.prototype.cacheAnimationName = function(box) { 899 return this.animationNameCache.set(box, this.animationName(box)); 900 }; 901 902 WOW.prototype.cachedAnimationName = function(box) { 903 return this.animationNameCache.get(box); 904 }; 905 906 WOW.prototype.scrollHandler = function() { 907 return this.scrolled = true; 908 }; 909 910 WOW.prototype.scrollCallback = function() { 911 var box; 912 if (this.scrolled) { 913 this.scrolled = false; 914 this.boxes = (function() { 915 var _i, _len, _ref, _results; 916 _ref = this.boxes; 917 _results = []; 918 for (_i = 0, _len = _ref.length; _i < _len; _i++) { 919 box = _ref[_i]; 920 if (!(box)) { 921 continue; 922 } 923 if (this.isVisible(box)) { 924 this.show(box); 925 continue; 926 } 927 _results.push(box); 928 } 929 return _results; 930 }).call(this); 931 if (!this.boxes.length) { 932 return this.stop(); 933 } 934 } 935 }; 936 937 WOW.prototype.offsetTop = function(element) { 938 var top; 939 while (element.offsetTop === void 0) { 940 element = element.parentNode; 941 } 942 top = element.offsetTop; 943 while (element = element.offsetParent) { 944 top += element.offsetTop; 945 } 946 return top; 947 }; 948 949 WOW.prototype.isVisible = function(box) {
950 var bottom, offset, top, viewBottom, viewTop; 951 offset = box.getAttribute('data-wow-offset') || this.config.offset; 952 viewTop = window.pageYOffset; 953 viewBottom = viewTop + this.element.clientHeight - offset; 954 top = this.offsetTop(box); 955 bottom = top + box.clientHeight; 956 return top <= viewBottom && bottom >= viewTop; 957 }; 958 959 WOW.prototype.util = function() { 960 return this._util || (this._util = new Util()); 961 }; 962 963 WOW.prototype.disabled = function() { 964 return !this.config.mobile && this.util().isMobile(navigator.userAgent); 965 }; 966 967 return WOW; 968 969 })(); 970 971}).call(this); 972 973 974 975$(window).load(function(){ 976 new WOW().init(); 977}); 978 979return stack;})(stacks.com_elixir_stacks_Animagic); 980stacks.com_bigwhiteduck_stacks_headerpro = {}; 981stacks.com_bigwhiteduck_stacks_headerpro = (function(stack) { 982var jQuery = stacks.jQuery;var $ = jQuery; var elements=document.getElementsByClassName('hp-slice');while(elements.length>0){elements[0].parentNode.removeChild(elements[0]);} 983 984return stack;})(stacks.com_bigwhiteduck_stacks_headerpro); 985stacks.stacks_in_5637 = {}; 986stacks.stacks_in_5637 = (function(stack) { 987var jQuery = stacks.jQuery;var $ = jQuery;$(function(){var stack=$('#stacks_in_5637');stack.find("script").remove();var selectors=['#sidebar','#sidebarContainer','#sidecontent','#SidebarContent','#sidebar_content','div.sidebar','div.sidebarContainer','#sidebarContentTop','#container div.aside','#container aside','.aside .section','aside.sidebarContent','aside'];for(var index=0,len=selectors.length;index<len;index++){var selector=$(selectors[index]);if(!selector.length>0)continue;stack.prependTo(selector);} 988stack.css('visibility','visible');}); 989 990return stack;})(stacks.stacks_in_5637); 991stacks.stacks_in_5639_302 = {}; 992stacks.stacks_in_5639_302 = (function(stack) { 993var jQuery = stacks.jQuery;var $ = jQuery; 994 995return stack;})(stacks.stacks_in_5639_302); 996stacks.stacks_in_5639_303 = {}; 997stacks.stacks_in_5639_303 = (function(stack) { 998var jQuery = stacks.jQuery;var $ = jQuery; 999$(function(){var stack=$('#stacks_in_5639_303'),parent=$('#stacks_in_5639_302'),ddWidth=('custom'!='mega'&&'custom'!='contained')?'auto':'custom',titletext='true'=='true'?'Reserve your Signature Rotisserie Duck':'',closeicon='false'=='true'?true:false,isModal='dropPop'=='modal'?true:false,ddWidth=isModal?'mega':ddWidth,hOffset=0,vOffset=0,isBP=parent.hasClass('com_bigwhiteduck_stacks_FoundationButtonPlus2_stack')?true:false,isPDBurger=parent.hasClass('com_bigwhiteduck_stacks_popdrop_switch_stack')?true:false,isExternal=parent.hasClass('com_bigwhiteduck_stacks_popdrop_stack')?true:false,trigger=isModal==true?'click':'hover',closeOnClick='False'=='True'?true:false,validTarget=false,isTipList=parent.hasClass('tip-list')?true:false,tipType=isTipList?'tiplist':'html',allowTipListTitles='true'=='true'&&isTipList?true:false,dropContent=isTipList?$('.popdrop-tip-data',parent):$('[data-pop-source="'+'stacks_in_5639_303'+'"]'),shouldCache=true,containerEl='body'!=='body'?stack.closest($('body')):$('body');if(isBP){var dropTarget=$('>.b-p',parent).attr('id','drop_stacks_in_5639_303');validTarget=true;} 1000if(isPDBurger){var dropTarget=$('>.pd-switch-wrap',parent).attr('id','drop_stacks_in_5639_303');validTarget=true;} 1001if(isExternal){var launchAttr=$('.pop-drop',parent).attr('data-popdrop-launcher'),dropTarget=$('[data-pop-drop="'+launchAttr+'"]');if(dropTarget.length){validTarget=true;if(parent.hasClass('no-cache')||isTipList){shouldCache=false;}}else{if(isModal){parent.append('<div class="popdrop-target" data-pop-drop="'+launchAttr+'" style="display:none"></div>');dropTarget=$('.popdrop-target',parent);console.log('Pop Drop Modal: using internal link for 3rd party compatibility');validTarget=true;}else{console.log('Pop-drop -> Target: '+launchAttr+' not defined for Pop-drop #stacks_in_5639_303');}}} 1002var initPopDrop=function(){var target=dropTarget.attr('data-pop-drop');dropTarget.attr('data-pop-drop','').attr('data-popdrop-linked',target);if(!isTipList)dropContent.insertAfter(parent);dropTarget.popDrop({uniqueID:'stacks_in_5639_303',parent:parent,placement:'vertical',mobplacement:'vertical',mobBP:'640',bias:'left',container:$('body'),width:ddWidth,maxWidth:5000,height:'auto',trigger:trigger,closeOnClick:closeOnClick,style:'custom-style',modal:isModal,animation:'pop',delay:{show:null,hide:300},cache:shouldCache,multi:false,arrow:true,title:titletext,allowListTitles:allowTipListTitles,content:'',closeable:closeicon,direction:'',padding:true,type:tipType,url:dropContent,backdrop:false,dismissible:true,autoHide:false,offsetTop:vOffset,offsetLeft:hOffset,hidemob:false,template:'<div class="popdrop-popover">'+'<div class="popdrop-arrow"></div>'+'<div class="popdrop-popover-inner pop-stacks_in_5639_303">'+'<a href="#" class="popdrop-close"></a>'+'<h3 class="popdrop-popover-title theme"></h3>'+'<div class="popdrop-popover-content"><i class="icon-refresh"></i> <p> </p></div>'+'</div>'+'</div>',});} 1003if(validTarget){initPopDrop();} 1004$(window).resize(function(){PopDropPopovers.hideAll();});$(".close-popdrop, .close-popdrops, [data-popdrop-close]").on("click",function(){PopDropPopovers.hideAll();});}); 1005 1006return stack;})(stacks.stacks_in_5639_303); 1007stacks.stacks_in_5639_109 = {}; 1008stacks.stacks_in_5639_109 = (function(stack) { 1009var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1010 $('#topBoxTriggerstacks_in_5639_109').nivoLightbox({ 1011 effect: 'fade', 1012 theme: 'default', 1013 keyboardNav: true, 1014 clickImgToClose: true, 1015 clickOverlayToClose: true, 1016 onInit: function(){ 1017 1018 }, 1019 beforeShowLightbox: function(){ 1020 1021 }, 1022 afterShowLightbox: function(){ 1023 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1024 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1025 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1026 1027 // Close a TopBox by clicking a custom close button 1028 $(".topBoxClose, .closeTopBox").click(function(){ 1029 $('.nivo-lightbox-close').trigger('click'); 1030 }); 1031 1032 1033 }, 1034 afterHideLightbox: function(){ 1035 1036 1037 1038 1039 1040 }, 1041 onPrev: function(element){ 1042 1043 }, 1044 onNext: function(element){ 1045 1046 }, 1047 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1048 }); 1049 1050 1051 1052 // If auto open is enabled 1053 1054 1055 // Custom triggers 1056 $(".myTopBox_Map").click(function(event){ 1057 event.preventDefault(); 1058 $('#topBoxTriggerstacks_in_5639_109').trigger('click'); 1059 }); 1060}); 1061return stack;})(stacks.stacks_in_5639_109); 1062stacks.stacks_in_12147 = {}; 1063stacks.stacks_in_12147 = (function(stack) { 1064var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1065 1066$(document).ready(function() { 1067 1068 1069 // Helpers 1070 var url = window.location; 1071 var img = $('#imageWizardstacks_in_12147 img').attr('src'); 1072 var alt = $('#imageWizardstacks_in_12147 img').attr('alt'); 1073 1074 // Pinterest helper 1075 $("#socialButtonsstacks_in_12147 .pinterestHelper").click(function(e){ 1076 e.preventDefault(); 1077 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1078 }); 1079 1080}); 1081 1082return stack;})(stacks.stacks_in_12147); 1083stacks.stacks_in_12164 = {}; 1084stacks.stacks_in_12164 = (function(stack) { 1085var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1086 1087$(document).ready(function() { 1088 1089 1090 // Helpers 1091 var url = window.location; 1092 var img = $('#imageWizardstacks_in_12164 img').attr('src'); 1093 var alt = $('#imageWizardstacks_in_12164 img').attr('alt'); 1094 1095 // Pinterest helper 1096 $("#socialButtonsstacks_in_12164 .pinterestHelper").click(function(e){ 1097 e.preventDefault(); 1098 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1099 }); 1100 1101}); 1102 1103return stack;})(stacks.stacks_in_12164); 1104stacks.stacks_in_12030 = {}; 1105stacks.stacks_in_12030 = (function(stack) { 1106var jQuery = stacks.jQuery;var $ = jQuery; 1107 1108return stack;})(stacks.stacks_in_12030); 1109stacks.stacks_in_12031 = {}; 1110stacks.stacks_in_12031 = (function(stack) { 1111var jQuery = stacks.jQuery;var $ = jQuery; 1112$(function(){var stack=$('#stacks_in_12031'),parent=$('#stacks_in_12030'),ddWidth=('custom'!='mega'&&'custom'!='contained')?'auto':'custom',titletext='true'=='true'?'Reserve your Signature Rotisserie Duck':'',closeicon='false'=='true'?true:false,isModal='dropPop'=='modal'?true:false,ddWidth=isModal?'mega':ddWidth,hOffset=0,vOffset=0,isBP=parent.hasClass('com_bigwhiteduck_stacks_FoundationButtonPlus2_stack')?true:false,isPDBurger=parent.hasClass('com_bigwhiteduck_stacks_popdrop_switch_stack')?true:false,isExternal=parent.hasClass('com_bigwhiteduck_stacks_popdrop_stack')?true:false,trigger=isModal==true?'click':'hover',closeOnClick='False'=='True'?true:false,validTarget=false,isTipList=parent.hasClass('tip-list')?true:false,tipType=isTipList?'tiplist':'html',allowTipListTitles='true'=='true'&&isTipList?true:false,dropContent=isTipList?$('.popdrop-tip-data',parent):$('[data-pop-source="'+'stacks_in_12031'+'"]'),shouldCache=true,containerEl='body'!=='body'?stack.closest($('body')):$('body');if(isBP){var dropTarget=$('>.b-p',parent).attr('id','drop_stacks_in_12031');validTarget=true;} 1113if(isPDBurger){var dropTarget=$('>.pd-switch-wrap',parent).attr('id','drop_stacks_in_12031');validTarget=true;} 1114if(isExternal){var launchAttr=$('.pop-drop',parent).attr('data-popdrop-launcher'),dropTarget=$('[data-pop-drop="'+launchAttr+'"]');if(dropTarget.length){validTarget=true;if(parent.hasClass('no-cache')||isTipList){shouldCache=false;}}else{if(isModal){parent.append('<div class="popdrop-target" data-pop-drop="'+launchAttr+'" style="display:none"></div>');dropTarget=$('.popdrop-target',parent);console.log('Pop Drop Modal: using internal link for 3rd party compatibility');validTarget=true;}else{console.log('Pop-drop -> Target: '+launchAttr+' not defined for Pop-drop #stacks_in_12031');}}} 1115var initPopDrop=function(){var target=dropTarget.attr('data-pop-drop');dropTarget.attr('data-pop-drop','').attr('data-popdrop-linked',target);if(!isTipList)dropContent.insertAfter(parent);dropTarget.popDrop({uniqueID:'stacks_in_12031',parent:parent,placement:'vertical',mobplacement:'vertical',mobBP:'640',bias:'left',container:$('body'),width:ddWidth,maxWidth:5000,height:'auto',trigger:trigger,closeOnClick:closeOnClick,style:'custom-style',modal:isModal,animation:'pop',delay:{show:null,hide:300},cache:shouldCache,multi:false,arrow:false,title:titletext,allowListTitles:allowTipListTitles,content:'',closeable:closeicon,direction:'',padding:true,type:tipType,url:dropContent,backdrop:false,dismissible:true,autoHide:false,offsetTop:vOffset,offsetLeft:hOffset,hidemob:false,template:'<div class="popdrop-popover">'+'<div class="popdrop-arrow"></div>'+'<div class="popdrop-popover-inner pop-stacks_in_12031">'+'<a href="#" class="popdrop-close"></a>'+'<h3 class="popdrop-popover-title theme"></h3>'+'<div class="popdrop-popover-content"><i class="icon-refresh"></i> <p> </p></div>'+'</div>'+'</div>',});} 1116if(validTarget){initPopDrop();} 1117$(window).resize(function(){PopDropPopovers.hideAll();});$(".close-popdrop, .close-popdrops, [data-popdrop-close]").on("click",function(){PopDropPopovers.hideAll();});}); 1118 1119return stack;})(stacks.stacks_in_12031); 1120stacks.stacks_in_12568 = {}; 1121stacks.stacks_in_12568 = (function(stack) { 1122var jQuery = stacks.jQuery;var $ = jQuery; 1123 1124return stack;})(stacks.stacks_in_12568); 1125stacks.stacks_in_12569 = {}; 1126stacks.stacks_in_12569 = (function(stack) { 1127var jQuery = stacks.jQuery;var $ = jQuery; 1128$(function(){var stack=$('#stacks_in_12569'),parent=$('#stacks_in_12568'),ddWidth=('custom'!='mega'&&'custom'!='contained')?'auto':'custom',titletext='true'=='true'?'Reserve your Signature Rotisserie Duck':'',closeicon='false'=='true'?true:false,isModal='dropPop'=='modal'?true:false,ddWidth=isModal?'mega':ddWidth,hOffset=0,vOffset=0,isBP=parent.hasClass('com_bigwhiteduck_stacks_FoundationButtonPlus2_stack')?true:false,isPDBurger=parent.hasClass('com_bigwhiteduck_stacks_popdrop_switch_stack')?true:false,isExternal=parent.hasClass('com_bigwhiteduck_stacks_popdrop_stack')?true:false,trigger=isModal==true?'click':'hover',closeOnClick='False'=='True'?true:false,validTarget=false,isTipList=parent.hasClass('tip-list')?true:false,tipType=isTipList?'tiplist':'html',allowTipListTitles='true'=='true'&&isTipList?true:false,dropContent=isTipList?$('.popdrop-tip-data',parent):$('[data-pop-source="'+'stacks_in_12569'+'"]'),shouldCache=true,containerEl='body'!=='body'?stack.closest($('body')):$('body');if(isBP){var dropTarget=$('>.b-p',parent).attr('id','drop_stacks_in_12569');validTarget=true;} 1129if(isPDBurger){var dropTarget=$('>.pd-switch-wrap',parent).attr('id','drop_stacks_in_12569');validTarget=true;} 1130if(isExternal){var launchAttr=$('.pop-drop',parent).attr('data-popdrop-launcher'),dropTarget=$('[data-pop-drop="'+launchAttr+'"]');if(dropTarget.length){validTarget=true;if(parent.hasClass('no-cache')||isTipList){shouldCache=false;}}else{if(isModal){parent.append('<div class="popdrop-target" data-pop-drop="'+launchAttr+'" style="display:none"></div>');dropTarget=$('.popdrop-target',parent);console.log('Pop Drop Modal: using internal link for 3rd party compatibility');validTarget=true;}else{console.log('Pop-drop -> Target: '+launchAttr+' not defined for Pop-drop #stacks_in_12569');}}} 1131var initPopDrop=function(){var target=dropTarget.attr('data-pop-drop');dropTarget.attr('data-pop-drop','').attr('data-popdrop-linked',target);if(!isTipList)dropContent.insertAfter(parent);dropTarget.popDrop({uniqueID:'stacks_in_12569',parent:parent,placement:'vertical',mobplacement:'vertical',mobBP:'640',bias:'left',container:$('body'),width:ddWidth,maxWidth:5000,height:'auto',trigger:trigger,closeOnClick:closeOnClick,style:'custom-style',modal:isModal,animation:'pop',delay:{show:null,hide:300},cache:shouldCache,multi:false,arrow:true,title:titletext,allowListTitles:allowTipListTitles,content:'',closeable:closeicon,direction:'',padding:true,type:tipType,url:dropContent,backdrop:false,dismissible:true,autoHide:false,offsetTop:vOffset,offsetLeft:hOffset,hidemob:false,template:'<div class="popdrop-popover">'+'<div class="popdrop-arrow"></div>'+'<div class="popdrop-popover-inner pop-stacks_in_12569">'+'<a href="#" class="popdrop-close"></a>'+'<h3 class="popdrop-popover-title theme"></h3>'+'<div class="popdrop-popover-content"><i class="icon-refresh"></i> <p> </p></div>'+'</div>'+'</div>',});} 1132if(validTarget){initPopDrop();} 1133$(window).resize(function(){PopDropPopovers.hideAll();});$(".close-popdrop, .close-popdrops, [data-popdrop-close]").on("click",function(){PopDropPopovers.hideAll();});}); 1134 1135return stack;})(stacks.stacks_in_12569); 1136stacks.stacks_in_9174 = {}; 1137stacks.stacks_in_9174 = (function(stack) { 1138var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1139 $("#stacks_in_9174").closest(".stacks_out").css("overflow", "visible"); 1140 $("#stacks_in_9174").closest(".stacks_in").css("overflow", "visible");
1141 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1142 $(".stacks_top").css("overflow", "visible"); 1143 } 1144 1145// 1146// Disable animation on mobile devices if the user opts for it ... 1147// 1148}); 1149 1150 1151return stack;})(stacks.stacks_in_9174); 1152stacks.stacks_in_3821 = {}; 1153stacks.stacks_in_3821 = (function(stack) { 1154var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1155 $('#topBoxTriggerstacks_in_3821').nivoLightbox({ 1156 effect: 'fade', 1157 theme: 'default', 1158 keyboardNav: true, 1159 clickImgToClose: true, 1160 clickOverlayToClose: true, 1161 onInit: function(){ 1162 1163 }, 1164 beforeShowLightbox: function(){ 1165 1166 }, 1167 afterShowLightbox: function(){ 1168 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1169 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1170 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1171 1172 // Close a TopBox by clicking a custom close button 1173 $(".topBoxClose, .closeTopBox").click(function(){ 1174 $('.nivo-lightbox-close').trigger('click'); 1175 }); 1176 1177 1178 }, 1179 afterHideLightbox: function(){ 1180 1181 1182 1183 1184 1185 }, 1186 onPrev: function(element){ 1187 1188 }, 1189 onNext: function(element){ 1190 1191 }, 1192 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1193 }); 1194 1195 1196 1197 // If auto open is enabled 1198 1199 1200 // Custom triggers 1201 $("").click(function(event){ 1202 event.preventDefault(); 1203 $('#topBoxTriggerstacks_in_3821').trigger('click'); 1204 }); 1205}); 1206return stack;})(stacks.stacks_in_3821); 1207stacks.stacks_in_3808 = {}; 1208stacks.stacks_in_3808 = (function(stack) { 1209var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1210 1211$(document).ready(function() { 1212 1213 1214 // Helpers 1215 var url = window.location; 1216 var img = $('#imageWizardstacks_in_3808 img').attr('src'); 1217 var alt = $('#imageWizardstacks_in_3808 img').attr('alt'); 1218 1219 // Pinterest helper 1220 $("#socialButtonsstacks_in_3808 .pinterestHelper").click(function(e){ 1221 e.preventDefault(); 1222 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1223 }); 1224 1225}); 1226 1227return stack;})(stacks.stacks_in_3808); 1228stacks.stacks_in_13850 = {}; 1229stacks.stacks_in_13850 = (function(stack) { 1230var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1231 $('#topBoxTriggerstacks_in_13850').nivoLightbox({ 1232 effect: 'fade', 1233 theme: 'default', 1234 keyboardNav: true, 1235 clickImgToClose: true, 1236 clickOverlayToClose: true, 1237 onInit: function(){ 1238 1239 }, 1240 beforeShowLightbox: function(){ 1241 1242 }, 1243 afterShowLightbox: function(){ 1244 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1245 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1246 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1247 1248 // Close a TopBox by clicking a custom close button 1249 $(".topBoxClose, .closeTopBox").click(function(){ 1250 $('.nivo-lightbox-close').trigger('click'); 1251 }); 1252 1253 1254 }, 1255 afterHideLightbox: function(){ 1256 1257 1258 1259 1260 1261 }, 1262 onPrev: function(element){ 1263 1264 }, 1265 onNext: function(element){ 1266 1267 }, 1268 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1269 }); 1270 1271 1272 1273 // If auto open is enabled 1274 1275 1276 // Custom triggers 1277 $("").click(function(event){ 1278 event.preventDefault(); 1279 $('#topBoxTriggerstacks_in_13850').trigger('click'); 1280 }); 1281}); 1282return stack;})(stacks.stacks_in_13850); 1283stacks.stacks_in_13813 = {}; 1284stacks.stacks_in_13813 = (function(stack) { 1285var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1286 1287$(document).ready(function() { 1288 1289 1290 // Helpers 1291 var url = window.location; 1292 var img = $('#imageWizardstacks_in_13813 img').attr('src'); 1293 var alt = $('#imageWizardstacks_in_13813 img').attr('alt'); 1294 1295 // Pinterest helper 1296 $("#socialButtonsstacks_in_13813 .pinterestHelper").click(function(e){ 1297 e.preventDefault(); 1298 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1299 }); 1300 1301}); 1302 1303return stack;})(stacks.stacks_in_13813); 1304stacks.stacks_in_13855 = {}; 1305stacks.stacks_in_13855 = (function(stack) { 1306var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1307 $('#topBoxTriggerstacks_in_13855').nivoLightbox({ 1308 effect: 'fade', 1309 theme: 'default', 1310 keyboardNav: true, 1311 clickImgToClose: true, 1312 clickOverlayToClose: true, 1313 onInit: function(){ 1314 1315 }, 1316 beforeShowLightbox: function(){ 1317 1318 }, 1319 afterShowLightbox: function(){ 1320 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1321 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1322 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1323 1324 // Close a TopBox by clicking a custom close button 1325 $(".topBoxClose, .closeTopBox").click(function(){ 1326 $('.nivo-lightbox-close').trigger('click'); 1327 }); 1328 1329 1330 }, 1331 afterHideLightbox: function(){ 1332 1333 1334 1335 1336 1337 }, 1338 onPrev: function(element){ 1339 1340 }, 1341 onNext: function(element){ 1342 1343 }, 1344 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1345 }); 1346 1347 1348 1349 // If auto open is enabled 1350 1351 1352 // Custom triggers 1353 $("").click(function(event){ 1354 event.preventDefault(); 1355 $('#topBoxTriggerstacks_in_13855').trigger('click'); 1356 }); 1357}); 1358return stack;}
1358)(stacks.stacks_in_13855); 1359stacks.stacks_in_13814 = {}; 1360stacks.stacks_in_13814 = (function(stack) { 1361var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1362 1363$(document).ready(function() { 1364 1365 1366 // Helpers 1367 var url = window.location; 1368 var img = $('#imageWizardstacks_in_13814 img').attr('src'); 1369 var alt = $('#imageWizardstacks_in_13814 img').attr('alt'); 1370 1371 // Pinterest helper 1372 $("#socialButtonsstacks_in_13814 .pinterestHelper").click(function(e){ 1373 e.preventDefault(); 1374 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1375 }); 1376 1377}); 1378 1379return stack;})(stacks.stacks_in_13814); 1380stacks.stacks_in_13847 = {}; 1381stacks.stacks_in_13847 = (function(stack) { 1382var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1383 $("#stacks_in_13847").closest(".stacks_out").css("overflow", "visible"); 1384 $("#stacks_in_13847").closest(".stacks_in").css("overflow", "visible"); 1385 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1386 $(".stacks_top").css("overflow", "visible"); 1387 } 1388 1389// 1390// Disable animation on mobile devices if the user opts for it ... 1391// 1392}); 1393 1394 1395return stack;})(stacks.stacks_in_13847); 1396stacks.stacks_in_13760 = {}; 1397stacks.stacks_in_13760 = (function(stack) { 1398var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1399 $('#topBoxTriggerstacks_in_13760').nivoLightbox({ 1400 effect: 'fade', 1401 theme: 'default', 1402 keyboardNav: true, 1403 clickImgToClose: true, 1404 clickOverlayToClose: true, 1405 onInit: function(){ 1406 1407 }, 1408 beforeShowLightbox: function(){ 1409 1410 }, 1411 afterShowLightbox: function(){ 1412 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1413 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1414 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1415 1416 // Close a TopBox by clicking a custom close button 1417 $(".topBoxClose, .closeTopBox").click(function(){ 1418 $('.nivo-lightbox-close').trigger('click'); 1419 }); 1420 1421 1422 }, 1423 afterHideLightbox: function(){ 1424 1425 1426 1427 1428 1429 }, 1430 onPrev: function(element){ 1431 1432 }, 1433 onNext: function(element){ 1434 1435 }, 1436 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1437 }); 1438 1439 1440 1441 // If auto open is enabled 1442 1443 1444 // Custom triggers 1445 $("").click(function(event){ 1446 event.preventDefault(); 1447 $('#topBoxTriggerstacks_in_13760').trigger('click'); 1448 }); 1449}); 1450return stack;})(stacks.stacks_in_13760); 1451stacks.stacks_in_13757 = {}; 1452stacks.stacks_in_13757 = (function(stack) { 1453var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1454 1455$(document).ready(function() { 1456 1457 1458 // Helpers 1459 var url = window.location; 1460 var img = $('#imageWizardstacks_in_13757 img').attr('src'); 1461 var alt = $('#imageWizardstacks_in_13757 img').attr('alt'); 1462 1463 // Pinterest helper 1464 $("#socialButtonsstacks_in_13757 .pinterestHelper").click(function(e){ 1465 e.preventDefault(); 1466 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1467 }); 1468 1469}); 1470 1471return stack;})(stacks.stacks_in_13757); 1472stacks.stacks_in_13756 = {}; 1473stacks.stacks_in_13756 = (function(stack) { 1474var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1475 $("#stacks_in_13756").closest(".stacks_out").css("overflow", "visible"); 1476 $("#stacks_in_13756").closest(".stacks_in").css("overflow", "visible"); 1477 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1478 $(".stacks_top").css("overflow", "visible"); 1479 } 1480 1481// 1482// Disable animation on mobile devices if the user opts for it ... 1483// 1484}); 1485 1486 1487return stack;})(stacks.stacks_in_13756); 1488stacks.stacks_in_13684 = {}; 1489stacks.stacks_in_13684 = (function(stack) { 1490var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1491 $('#topBoxTriggerstacks_in_13684').nivoLightbox({ 1492 effect: 'fade', 1493 theme: 'default', 1494 keyboardNav: true, 1495 clickImgToClose: true, 1496 clickOverlayToClose: true, 1497 onInit: function(){ 1498 1499 }, 1500 beforeShowLightbox: function(){ 1501 1502 }, 1503 afterShowLightbox: function(){ 1504 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1505 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1506 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1507 1508 // Close a TopBox by clicking a custom close button 1509 $(".topBoxClose, .closeTopBox").click(function(){ 1510 $('.nivo-lightbox-close').trigger('click'); 1511 }); 1512 1513 1514 }, 1515 afterHideLightbox: function(){ 1516 1517 1518 1519 1520 1521 }, 1522 onPrev: function(element){ 1523 1524 }, 1525 onNext: function(element){ 1526 1527 }, 1528 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1529 }); 1530 1531 1532 1533 // If auto open is enabled 1534 1535 1536 // Custom triggers 1537 $("").click(function(event){ 1538 event.preventDefault(); 1539 $('#topBoxTriggerstacks_in_13684').trigger('click'); 1540 }); 1541}); 1542return stack;})(stacks.stacks_in_13684); 1543stacks.stacks_in_13681 = {}; 1544stacks.stacks_in_13681 = (function(stack) { 1545var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1546 1547$(document).ready(function() { 1548 1549 1550 // Helpers 1551 var url = window.location; 1552 var img = $('#imageWizardstacks_in_13681 img').attr('src'); 1553 var alt = $('#imageWizardstacks_in_13681 img').attr('alt'); 1554 1555 // Pinterest helper 1556 $("#socialButtonsstacks_in_13681 .pinterestHelper").click(function(e){ 1557 e.preventDefault(); 1558 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1559 }); 1560 1561}); 1562 1563return stack;})(stacks.stacks_in_13681); 1564stacks.stacks_in_13680 = {}; 1565stacks.stacks_in_13680 = (function(stack) { 1566var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1567 $("#stacks_in_13680").closest(".stacks_out").css("overflow", "visible"); 1568 $("#stacks_in_13680").closest(".stacks_in").css("overflow", "visible");
1569 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1570 $(".stacks_top").css("overflow", "visible"); 1571 } 1572 1573// 1574// Disable animation on mobile devices if the user opts for it ... 1575// 1576}); 1577 1578 1579return stack;})(stacks.stacks_in_13680); 1580stacks.stacks_in_13461 = {}; 1581stacks.stacks_in_13461 = (function(stack) { 1582var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1583 $('#topBoxTriggerstacks_in_13461').nivoLightbox({ 1584 effect: 'fade', 1585 theme: 'default', 1586 keyboardNav: true, 1587 clickImgToClose: true, 1588 clickOverlayToClose: true, 1589 onInit: function(){ 1590 1591 }, 1592 beforeShowLightbox: function(){ 1593 1594 }, 1595 afterShowLightbox: function(){ 1596 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1597 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1598 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1599 1600 // Close a TopBox by clicking a custom close button 1601 $(".topBoxClose, .closeTopBox").click(function(){ 1602 $('.nivo-lightbox-close').trigger('click'); 1603 }); 1604 1605 1606 }, 1607 afterHideLightbox: function(){ 1608 1609 1610 1611 1612 1613 }, 1614 onPrev: function(element){ 1615 1616 }, 1617 onNext: function(element){ 1618 1619 }, 1620 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1621 }); 1622 1623 1624 1625 // If auto open is enabled 1626 1627 1628 // Custom triggers 1629 $("").click(function(event){ 1630 event.preventDefault(); 1631 $('#topBoxTriggerstacks_in_13461').trigger('click'); 1632 }); 1633}); 1634return stack;})(stacks.stacks_in_13461); 1635stacks.stacks_in_13433 = {}; 1636stacks.stacks_in_13433 = (function(stack) { 1637var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1638 1639$(document).ready(function() { 1640 1641 1642 // Helpers 1643 var url = window.location; 1644 var img = $('#imageWizardstacks_in_13433 img').attr('src'); 1645 var alt = $('#imageWizardstacks_in_13433 img').attr('alt'); 1646 1647 // Pinterest helper 1648 $("#socialButtonsstacks_in_13433 .pinterestHelper").click(function(e){ 1649 e.preventDefault(); 1650 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1651 }); 1652 1653}); 1654 1655return stack;})(stacks.stacks_in_13433); 1656stacks.stacks_in_13458 = {}; 1657stacks.stacks_in_13458 = (function(stack) { 1658var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1659 $("#stacks_in_13458").closest(".stacks_out").css("overflow", "visible"); 1660 $("#stacks_in_13458").closest(".stacks_in").css("overflow", "visible"); 1661 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1662 $(".stacks_top").css("overflow", "visible"); 1663 } 1664 1665// 1666// Disable animation on mobile devices if the user opts for it ... 1667// 1668}); 1669 1670 1671return stack;})(stacks.stacks_in_13458); 1672stacks.stacks_in_9145 = {}; 1673stacks.stacks_in_9145 = (function(stack) { 1674var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() { 1675 $("#stacks_in_9145").closest(".stacks_out").css("overflow", "visible"); 1676 $("#stacks_in_9145").closest(".stacks_in").css("overflow", "visible"); 1677 if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){ 1678 $(".stacks_top").css("overflow", "visible"); 1679 } 1680 1681// 1682// Disable animation on mobile devices if the user opts for it ... 1683// 1684}); 1685 1686 1687return stack;})(stacks.stacks_in_9145); 1688stacks.stacks_in_9125 = {}; 1689stacks.stacks_in_9125 = (function(stack) { 1690var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1691 1692$(document).ready(function() { 1693 1694 1695 // Helpers 1696 var url = window.location; 1697 var img = $('#imageWizardstacks_in_9125 img').attr('src'); 1698 var alt = $('#imageWizardstacks_in_9125 img').attr('alt'); 1699 1700 // Pinterest helper 1701 $("#socialButtonsstacks_in_9125 .pinterestHelper").click(function(e){ 1702 e.preventDefault(); 1703 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1704 }); 1705 1706}); 1707 1708return stack;})(stacks.stacks_in_9125); 1709stacks.stacks_in_7793 = {}; 1710stacks.stacks_in_7793 = (function(stack) { 1711var jQuery = stacks.jQuery;var $ = jQuery;$(window).on("load",function(){var stack=$('#stacks_in_7793');$(document).keydown(function(e){var key_next;var key_prev;switch('scrollHorz'){case'scrollHorz':key_next=39;key_prev=37;break;case'scrollVert':key_next=40;key_prev=38;break;default:break;}switch(e.keyCode){case key_next:$('.cycler_reel',stack).cycle('next');break;case key_prev:$('.cycler_reel',stack).cycle('prev');break;default:break;}});stack.parent().hover(function(){},function(){});var start_slide_stacks_in_7793=0;if(location.hash.match(/^#\d+$/)){start_slide_stacks_in_7793=parseInt(location.hash.substring(1));} 1712updateNavigation_stacks_in_7793=function(pager,currSlide,clsName){start_slide_stacks_in_7793=currSlide;$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function resize_gallery_stacks_in_7793(){$('.cycler_reel',stack).cycle('pause');} 1713function build_gallery_stacks_in_7793(){$('.cycler_reel',stack).cycle('destroy').removeAttr('style');$('.cycler_reel > div.stacks_out',stack).removeAttr('style');$('#stacks_in_7793 .cycler_reel').cycle({fx:'scrollHorz',timeout:4000,timeoutFn:null,continuous:0,speed:1100,speedIn:1100,speedOut:1100,next:'#stacks_in_7793 .cycler_nav.next',prev:'#stacks_in_7793 .cycler_nav.prev',onPrevNextEvent:null,prevNextEvent:'click.cycle',pager:'#cycler_pager_stacks_in_7793',onPagerEvent:null,pagerEvent:'click.cycle',allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:'easeOutExpo',easeOut:'easeOutExpo',shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:'auto',width:'100%',startingSlide:start_slide_stacks_in_7793,sync:1,random:0,fit:0,containerResize:1,pause:1,pauseOnPagerHover:true,autostop:0,autostopCount:0,delay:5000,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:true,
1713nowrap:0,fastOnEvent:0,randomizeEffects:0,rev:true,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:'activeSlide',updateActivePagerLink:updateNavigation_stacks_in_7793,backwards:0});var maxHeight=0;$('.cycler_reel > div.stacks_out',stack).each(function(){maxHeight=maxHeight>$(this).height()?maxHeight:$(this).height();});$('.cycler_reel,.cycler_reel > div.stacks_out',stack).height(maxHeight);} 1714stack.fadeIn(function(){build_gallery_stacks_in_7793();$('.cycler_reel > div.stacks_out',stack).css('visibility','visible');stack.css('visibility','visible');});if(typeof(orientationEvent)==undefined){var orientationEvent=0;} 1715$(window).bind(orientationEvent,build_gallery_stacks_in_7793).bind('resize',resize_gallery_stacks_in_7793).afterresize(build_gallery_stacks_in_7793);}); 1716 1717return stack;})(stacks.stacks_in_7793); 1718stacks.stacks_in_10097 = {}; 1719stacks.stacks_in_10097 = (function(stack) { 1720var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1721 $('#topBoxTriggerstacks_in_10097').nivoLightbox({ 1722 effect: 'fade', 1723 theme: 'default', 1724 keyboardNav: true, 1725 clickImgToClose: false, 1726 clickOverlayToClose: true, 1727 onInit: function(){ 1728 1729 }, 1730 beforeShowLightbox: function(){ 1731 1732 }, 1733 afterShowLightbox: function(){ 1734 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1735 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1736 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1737 1738 // Close a TopBox by clicking a custom close button 1739 $(".topBoxClose, .closeTopBox").click(function(){ 1740 $('.nivo-lightbox-close').trigger('click'); 1741 }); 1742 1743 1744 }, 1745 afterHideLightbox: function(){ 1746 1747 1748 1749 1750 1751 }, 1752 onPrev: function(element){ 1753 1754 }, 1755 onNext: function(element){ 1756 1757 }, 1758 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1759 }); 1760 1761 1762 1763 // If auto open is enabled 1764 1765 1766 // Custom triggers 1767 $("").click(function(event){ 1768 event.preventDefault(); 1769 $('#topBoxTriggerstacks_in_10097').trigger('click'); 1770 }); 1771}); 1772return stack;})(stacks.stacks_in_10097); 1773stacks.stacks_in_10098 = {}; 1774stacks.stacks_in_10098 = (function(stack) { 1775var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1776 1777$(document).ready(function() { 1778 1779 1780 // Helpers 1781 var url = window.location; 1782 var img = $('#imageWizardstacks_in_10098 img').attr('src'); 1783 var alt = $('#imageWizardstacks_in_10098 img').attr('alt'); 1784 1785 // Pinterest helper 1786 $("#socialButtonsstacks_in_10098 .pinterestHelper").click(function(e){ 1787 e.preventDefault(); 1788 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1789 }); 1790 1791}); 1792 1793return stack;})(stacks.stacks_in_10098); 1794stacks.stacks_in_7845 = {}; 1795stacks.stacks_in_7845 = (function(stack) { 1796var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1797 $('#topBoxTriggerstacks_in_7845').nivoLightbox({ 1798 effect: 'fade', 1799 theme: 'default', 1800 keyboardNav: true, 1801 clickImgToClose: true, 1802 clickOverlayToClose: true, 1803 onInit: function(){ 1804 1805 }, 1806 beforeShowLightbox: function(){ 1807 1808 }, 1809 afterShowLightbox: function(){ 1810 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1811 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1812 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1813 1814 // Close a TopBox by clicking a custom close button 1815 $(".topBoxClose, .closeTopBox").click(function(){ 1816 $('.nivo-lightbox-close').trigger('click'); 1817 }); 1818 1819 1820 }, 1821 afterHideLightbox: function(){ 1822 1823 1824 1825 1826 1827 }, 1828 onPrev: function(element){ 1829 1830 }, 1831 onNext: function(element){ 1832 1833 }, 1834 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1835 }); 1836 1837 1838 1839 // If auto open is enabled 1840 1841 1842 // Custom triggers 1843 $("").click(function(event){ 1844 event.preventDefault(); 1845 $('#topBoxTriggerstacks_in_7845').trigger('click'); 1846 }); 1847}); 1848return stack;})(stacks.stacks_in_7845); 1849stacks.stacks_in_7846 = {}; 1850stacks.stacks_in_7846 = (function(stack) { 1851var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1852 1853$(document).ready(function() { 1854 1855 1856 // Helpers 1857 var url = window.location; 1858 var img = $('#imageWizardstacks_in_7846 img').attr('src'); 1859 var alt = $('#imageWizardstacks_in_7846 img').attr('alt'); 1860 1861 // Pinterest helper 1862 $("#socialButtonsstacks_in_7846 .pinterestHelper").click(function(e){ 1863 e.preventDefault(); 1864 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1865 }); 1866 1867}); 1868 1869return stack;})(stacks.stacks_in_7846); 1870stacks.stacks_in_7865 = {}; 1871stacks.stacks_in_7865 = (function(stack) { 1872var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 1873 $('#topBoxTriggerstacks_in_7865').nivoLightbox({ 1874 effect: 'fade', 1875 theme: 'default', 1876 keyboardNav: true, 1877 clickImgToClose: false, 1878 clickOverlayToClose: true, 1879 onInit: function(){ 1880 1881 }, 1882 beforeShowLightbox: function(){ 1883 1884 }, 1885 afterShowLightbox: function(){ 1886 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 1887 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 1888 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 1889 1890 // Close a TopBox by clicking a custom close button 1891 $(".topBoxClose, .closeTopBox").click(function(){ 1892 $('.nivo-lightbox-close').trigger('click'); 1893 }); 1894 1895 1896 }, 1897 afterHideLightbox: function(){ 1898 1899 1900 1901 1902 1903 }, 1904 onPrev: function(element){ 1905 1906 }, 1907 onNext: function(element){ 1908 1909 }, 1910 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 1911 }); 1912 1913 1914 1915 // If auto open is enabled 1916 1917 1918 // Custom triggers 1919 $("").click(function(event){ 1920 event.preventDefault(); 1921 $('#topBoxTriggerstacks_in_7865').trigger('click'); 1922 }); 1923}); 1924return stack;})(stacks.stacks_in_7865); 1925stacks.stacks_in_7866 = {}; 1926stacks.stacks_in_7866 = (function(stack) { 1927var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1928 1929$(document).ready(function() { 1930 1931 1932 // Helpers 1933 var url = window.location; 1934 var img = $('#imageWizardstacks_in_7866 img').attr('src'); 1935 var alt = $('#imageWizardstacks_in_7866 img').attr('alt'); 1936 1937 // Pinterest helper 1938 $("#socialButtonsstacks_in_7866 .pinterestHelper").click(function(e){ 1939 e.preventDefault(); 1940 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1941 }); 1942 1943}); 1944 1945return stack;})(stacks.stacks_in_7866); 1946stacks.stacks_in_10048 = {}; 1947stacks.stacks_in_10048 = (function(stack) { 1948var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1949 1950$(document).ready(function() { 1951 1952 1953 // Helpers 1954 var url = window.location; 1955 var img = $('#imageWizardstacks_in_10048 img').attr('src'); 1956 var alt = $('#imageWizardstacks_in_10048 img').attr('alt'); 1957 1958 // Pinterest helper 1959 $("#socialButtonsstacks_in_10048 .pinterestHelper").click(function(e){ 1960 e.preventDefault(); 1961 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1962 }); 1963 1964}); 1965 1966return stack;})(stacks.stacks_in_10048); 1967stacks.stacks_in_7907 = {}; 1968stacks.stacks_in_7907 = (function(stack) { 1969var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1970 1971$(document).ready(function() { 1972 1973 1974 // Helpers 1975 var url = window.location; 1976 var img = $('#imageWizardstacks_in_7907 img').attr('src'); 1977 var alt = $('#imageWizardstacks_in_7907 img').attr('alt'); 1978 1979 // Pinterest helper 1980 $("#socialButtonsstacks_in_7907 .pinterestHelper").click(function(e){ 1981 e.preventDefault(); 1982 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 1983 }); 1984 1985}); 1986 1987return stack;})(stacks.stacks_in_7907); 1988stacks.stacks_in_11023 = {}; 1989stacks.stacks_in_11023 = (function(stack) { 1990var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 1991 1992$(document).ready(function() { 1993 1994 1995 // Helpers 1996 var url = window.location; 1997 var img = $('#imageWizardstacks_in_11023 img').attr('src'); 1998 var alt = $('#imageWizardstacks_in_11023 img').attr('alt'); 1999 2000 // Pinterest helper 2001 $("#socialButtonsstacks_in_11023 .pinterestHelper").click(function(e){ 2002 e.preventDefault(); 2003 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 2004 }); 2005 2006}); 2007 2008return stack;})(stacks.stacks_in_11023); 2009stacks.stacks_in_5408 = {}; 2010stacks.stacks_in_5408 = (function(stack) { 2011var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 2012 2013$(document).ready(function() { 2014 2015 2016 // Helpers 2017 var url = window.location; 2018 var img = $('#imageWizardstacks_in_5408 img').attr('src'); 2019 var alt = $('#imageWizardstacks_in_5408 img').attr('alt'); 2020 2021 // Pinterest helper 2022 $("#socialButtonsstacks_in_5408 .pinterestHelper").click(function(e){ 2023 e.preventDefault(); 2024 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 2025 }); 2026 2027}); 2028 2029return stack;})(stacks.stacks_in_5408); 2030stacks.stacks_in_9925 = {}; 2031stacks.stacks_in_9925 = (function(stack) { 2032var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 2033 $('#topBoxTriggerstacks_in_9925').nivoLightbox({ 2034 effect: 'fade', 2035 theme: 'default', 2036 keyboardNav: true, 2037 clickImgToClose: true, 2038 clickOverlayToClose: true, 2039 onInit: function(){ 2040 2041 }, 2042 beforeShowLightbox: function(){ 2043 2044 }, 2045 afterShowLightbox: function(){ 2046 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 2047 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 2048 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 2049 2050 // Close a TopBox by clicking a custom close button 2051 $(".topBoxClose, .closeTopBox").click(function(){ 2052 $('.nivo-lightbox-close').trigger('click'); 2053 }); 2054 2055 2056 }, 2057 afterHideLightbox: function(){ 2058 2059 2060 2061 2062 2063 }, 2064 onPrev: function(element){ 2065 2066 }, 2067 onNext: function(element){ 2068 2069 }, 2070 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 2071 }); 2072 2073 2074 2075 // If auto open is enabled 2076 2077 2078 // Custom triggers 2079 $("").click(function(event){ 2080 event.preventDefault(); 2081 $('#topBoxTriggerstacks_in_9925').trigger('click'); 2082 }); 2083}); 2084return stack;})(stacks.stacks_in_9925); 2085stacks.stacks_in_9926 = {}; 2086stacks.stacks_in_9926 = (function(stack) { 2087var jQuery = stacks.jQuery;var $ = jQuery;// This javascript will be created for each instance of our stack 2088 2089$(document).ready(function() { 2090 2091 2092 // Helpers 2093 var url = window.location; 2094 var img = $('#imageWizardstacks_in_9926 img').attr('src'); 2095 var alt = $('#imageWizardstacks_in_9926 img').attr('alt'); 2096 2097 // Pinterest helper 2098 $("#socialButtonsstacks_in_9926 .pinterestHelper").click(function(e){ 2099 e.preventDefault(); 2100 window.open('http://pinterest.com/pin/create/button/?url='+url+img+'&media='+url+img+'&description='+alt); 2101 }); 2102 2103}); 2104 2105return stack;})(stacks.stacks_in_9926); 2106stacks.stacks_in_512 = {}; 2107stacks.stacks_in_512 = (function(stack) { 2108function scrollToTop(options){const defaults={text:'To Top',min:200,inDelay:600,outDelay:400,containerID:'toTop',scrollSpeed:1200,easingType:'linear',};const settings={...defaults,...options};const containerID=settings.containerID;const containerIDhash=`#${containerID}`;const easing={easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},};const toTopButton=document.createElement('a');toTopButton.href='#';toTopButton.id=containerID;toTopButton.textContent=settings.text;toTopButton.style.display='none';document.body.appendChild(toTopButton);const scrollAnimation=(duration,easingFunction)=>{const start=document.documentElement.scrollTop||document.body.scrollTop;const startTime=performance.now();function animateScroll(currentTime){const elapsed=currentTime-startTime;const progress=Math.min(elapsed/duration,1);const scrollTo=easingFunction(0,elapsed,start,-start,duration);document.documentElement.scrollTop=document.body.scrollTop=scrollTo;if(elapsed<duration){requestAnimationFrame(animateScroll);}} 2109requestAnimationFrame(animateScroll);};toTopButton.addEventListener('click',(e)=>{e.preventDefault();scrollAnimation(settings.scrollSpeed,easing[settings.easingType]||easing.easeOutQuart);});window.addEventListener('scroll',()=>{const scrollTop=document.documentElement.scrollTop||document.body.scrollTop;if(scrollTop>settings.min){toTopButton.style.display='block';toTopButton.style.opacity=1;}
2109else{toTopButton.style.opacity=0;setTimeout(()=>{if(toTopButton.style.opacity==='0'){toTopButton.style.display='none';}},settings.outDelay);}});} 2110document.addEventListener('DOMContentLoaded',()=>{scrollToTop({easingType:'easeOutQuart',scrollSpeed:1200,min:200});}); 2111 2112return stack;})(stacks.stacks_in_512); 2113stacks.stacks_in_7257 = {}; 2114stacks.stacks_in_7257 = (function(stack) { 2115var jQuery = stacks.jQuery;var $ = jQuery;jQuery(document).ready(function($) { 2116 // CODES HERE 2117 $('#actionMenu_stacks_in_7257').find('i').first().on('click', function(e) { 2118 if ($(this).parent().hasClass("open")) { 2119 2120 $("[id*='actionMenu_'].open").not('.start-open').removeClass("open"); 2121 $(this).parent().removeClass('open start-open'); 2122 e.stopPropagation() 2123 2124 } else { 2125 $(document).off("click.actionMenu"); 2126 $("[id*='actionMenu_'].open").not('.start-open').removeClass("open"); 2127 $(this).parent().addClass('open'); 2128 2129 $(document).on("click.actionMenu", function(e) { 2130 if ($(e.target).is("#actionMenu_stacks_in_7257 .actionMenu_toggle_icon") === false) { 2131 $("#actionMenu_stacks_in_7257").removeClass("open"); 2132 $(document).off("click.actionMenu"); 2133 } 2134 }); 2135 } 2136 2137 }); 2138 2139// 2140// 2141 if (!$("#actionMenu_stacks_in_7257").parents(".Action_Menu_Container").length > 0) { 2142 2143 $(document.body).append($("#actionMenu_stacks_in_7257")); 2144 2145 } 2146 2147}); 2148return stack;})(stacks.stacks_in_7257); 2149stacks.stacks_in_7258 = {}; 2150stacks.stacks_in_7258 = (function(stack) { 2151var jQuery = stacks.jQuery;var $ = jQuery;jQuery(document).ready(function($){ 2152// CODES HERE 2153 2154 if ( !$( "#actionMenu_link_material" ).length ) { 2155 $(document).find("head").append("<link id='actionMenu_link_material' href='https://fonts.googleapis.com/icon?family=Material+Icons' rel='stylesheet'>"); 2156 } 2157 2158 2159}); 2160 2161return stack;})(stacks.stacks_in_7258); 2162stacks.stacks_in_7260 = {}; 2163stacks.stacks_in_7260 = (function(stack) { 2164var jQuery = stacks.jQuery;var $ = jQuery;jQuery(document).ready(function($){ 2165// CODES HERE 2166 2167 2168 if ( !$( "#actionMenu_link_ionic" ).length ) { 2169 $(document).find("head").append("<link id='actionMenu_link_ionic' href='https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css' rel='stylesheet'>"); 2170 } 2171 2172}); 2173 2174return stack;})(stacks.stacks_in_7260); 2175stacks.stacks_in_7262 = {}; 2176stacks.stacks_in_7262 = (function(stack) { 2177var jQuery = stacks.jQuery;var $ = jQuery;jQuery(document).ready(function($){ 2178// CODES HERE 2179 2180 2181}); 2182 2183return stack;})(stacks.stacks_in_7262); 2184stacks.stacks_in_7264 = {}; 2185stacks.stacks_in_7264 = (function(stack) { 2186var jQuery = stacks.jQuery;var $ = jQuery;jQuery(document).ready(function($){ 2187// CODES HERE 2188 2189 2190}); 2191 2192return stack;})(stacks.stacks_in_7264); 2193stacks.stacks_in_12528 = {}; 2194stacks.stacks_in_12528 = (function(stack) { 2195var jQuery = stacks.jQuery;var $ = jQuery;$(window).load(function(){ 2196 $('#topBoxTriggerstacks_in_12528').nivoLightbox({ 2197 effect: 'fade', 2198 theme: 'default', 2199 keyboardNav: true, 2200 clickImgToClose: false, 2201 clickOverlayToClose: true, 2202 onInit: function(){ 2203 2204 }, 2205 beforeShowLightbox: function(){ 2206 2207 }, 2208 afterShowLightbox: function(){ 2209 $('.nivo-lightbox-close').html('<i class="fa fa-times"></i>'); 2210 $('.nivo-lightbox-prev').html('<i class="fa fa-chevron-left"></i>'); 2211 $('.nivo-lightbox-next').html('<i class="fa fa-chevron-right"></i>'); 2212 2213 // Close a TopBox by clicking a custom close button 2214 $(".topBoxClose, .closeTopBox").click(function(){ 2215 $('.nivo-lightbox-close').trigger('click'); 2216 }); 2217 2218 2219 }, 2220 afterHideLightbox: function(){ 2221 2222 2223 2224 2225 2226 }, 2227 onPrev: function(element){ 2228 2229 }, 2230 onNext: function(element){ 2231 2232 }, 2233 errorMessage: 'The requested content cannot be loaded. Please try again later.' // Error message when content can't be loaded 2234 }); 2235 2236 2237 2238 // If auto open is enabled 2239 2240 2241 // Custom triggers 2242 $(".myTopBox_Map").click(function(event){ 2243 event.preventDefault(); 2244 $('#topBoxTriggerstacks_in_12528').trigger('click'); 2245 }); 2246}); 2247return stack;})(stacks.stacks_in_12528);
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.