var _wAMD;!function(){if(!_wAMD||!_wAMD.requirejs){_wAMD?t=_wAMD:_wAMD={};var e,t,i;!function(n){function o(e,t){return w.call(e,t)}function r(e,t){var i,n,o,r,s,a,l,c,u,d,h=t&&t.split("/"),p=y.map,f=p&&p["*"]||{};if(e&&"."===e.charAt(0))if(t){for(h=h.slice(0,h.length-1),e=h.concat(e.split("/")),c=0;c0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||f)&&p){for(i=e.split("/"),c=i.length;c>0;c-=1){if(n=i.slice(0,c).join("/"),h)for(u=h.length;u>0;u-=1)if(o=p[h.slice(0,u).join("/")],o&&(o=o[n])){r=o,s=c;break}if(r)break;!a&&f&&f[n]&&(a=f[n],l=c)}!r&&a&&(r=a,s=l),r&&(i.splice(0,s,r),e=i.join("/"))}return e}function s(e,t){return function(){return p.apply(n,_.call(arguments,0).concat([e,t]))}}function a(e){return function(t){return r(t,e)}}function l(e){return function(t){m[e]=t}}function c(e){if(o(v,e)){var t=v[e];delete v[e],b[e]=!0,h.apply(n,t)}if(!o(m,e)&&!o(b,e))throw new Error("No "+e);return m[e]}function u(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function d(e){return function(){return y&&y.config&&y.config[e]||{}}}var h,p,f,g,m={},v={},y={},b={},w=Object.prototype.hasOwnProperty,_=[].slice;f=function(e,t){var i,n=u(e),o=n[0];return e=n[1],o&&(o=r(o,t),i=c(o)),o?e=i&&i.normalize?i.normalize(e,a(t)):r(e,t):(e=r(e,t),n=u(e),o=n[0],e=n[1],o&&(i=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:i}},g={require:function(e){return s(e)},exports:function(e){var t=m[e];return"undefined"!=typeof t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:d(e)}}},h=function(e,t,i,r){var a,u,d,h,p,y,w=[];if(r=r||e,"function"==typeof i){for(t=!t.length&&i.length?["require","exports","module"]:t,p=0;p0&&0>=s?e():t?a.unshift(e):a.push(e)}function t(){var e=Array.prototype.slice.apply(arguments);if(1===e.length&&"string"==typeof e[0]);else{var t;"function"==typeof e[e.length-1]&&(t=e.pop()),r++,s++,e.push(function(){var e;if(t&&(e=t.apply(this,arguments)),s--,r>0&&0>=s)for(;a.length;)a.shift()();return e})}return p.apply(this,e)}function i(){window.define=l,window.require=c,window.requirejs=u}function n(){Weebly.jQuery.noConflict(!0),window.jQuery=window.jQuery||Weebly.jQuery}function o(){i(),n()}_W=Weebly=window.Weebly||{},_W.tl=_W.tl||function(e){return e},Weebly.ns=function(e,t){for(var t=t||window,i=e.split("."),n=0,o=i.length;o>n;n++){var r=i[n];"string"!=typeof r?t=r:(t[r]||(t[r]={}),t=t[r])}return t};var r=0,s=0,a=[];Weebly.ready=e;var l=window.define,c=window.require,u=window.requirejs,d=window._wAMD||{},h=d.define||window.define,p=d.require||window.require,f=d.requirejs||window.requirejs;window.define=d.define=h,window.require=d.require=t,window.requirejs=d.requirejs=f,Weebly.relinquishAMD=i,Weebly.jQuery=jQuery,Weebly.relinquishJQuery=n;var g=jQuery.fn.ready;jQuery.fn.ready=function(){var t=this,i=arguments;return e(function(){g.apply(t,i)}),t},Weebly.relinquish=o}(),window.console||(window.console={}),window.console.log||(window.console.log=function(){},window.console.warn=window.console.log,window.console.info=window.console.log,window.console.error=window.console.log),_wAMD.define("init",function(){}),_wAMD.define("jquery",[],function(){return Weebly.jQuery}),function(e,t,i){function n(e){return e.match(/\D+$/)}function o(e,t,i,n){if("d"!=i&&d(e)){var o=v.exec(t),r="auto"===e.css(i)?0:e.css(i),s="string"==typeof r?u(r):r,a=("string"==typeof t?u(t):t,n===!0?0:s),l=e.is(":hidden"),c=e.translation();if("left"==i&&(a=parseInt(s,10)+c.x),"right"==i&&(a=parseInt(s,10)+c.x),"top"==i&&(a=parseInt(s,10)+c.y),"bottom"==i&&(a=parseInt(s,10)+c.y),o||"show"!=t?o||"hide"!=t||(a=0):(a=1,l&&e.css({display:"block",opacity:0})),o){var h=parseFloat(o[2]);return o[1]&&(h=("-="===o[1]?-1:1)*h+parseInt(a,10)),h}return a}}function r(e,t,i){return(i===!0||P===!0&&i!==!1)&&A?"translate3d("+e+"px, "+t+"px, 0)":"translate("+e+"px,"+t+"px)"}function s(t,i,n,o,r,s,l,d){var h=t.data(_),p=h&&!c(h)?h:e.extend(!0,{},b),g=r,m=e.inArray(i,f)>-1;if(m){var v=p.meta,y=u(t.css(i))||0,w=i+"_o";g=r-y,v[i]=g,v[w]="auto"==t.css(i)?0+g:y+g||0,p.meta=v,l&&0===g&&(g=0-v[w],v[i]=g,v[w]=0)}return t.data(_,a(t,p,i,n,o,g,s,l,d))}function a(e,t,i,n,o,s,a,l,c){var u=!1,d=a===!0&&l===!0;t=t||{},t.original||(t.original={},u=!0),t.properties=t.properties||{},t.secondary=t.secondary||{};for(var h=t.meta,p=t.original,f=t.properties,m=t.secondary,v=g.length-1;v>=0;v--){var y=g[v]+"transition-property",b=g[v]+"transition-duration",w=g[v]+"transition-timing-function";i=d?g[v]+"transform":i,u&&(p[y]=e.css(y)||"",p[b]=e.css(b)||"",p[w]=e.css(w)||""),m[i]=d?r(h.left,h.top,c):s,f[y]=(f[y]?f[y]+",":"")+i,f[b]=(f[b]?f[b]+",":"")+n+"ms",f[w]=(f[w]?f[w]+",":"")+o}return t}function l(e){for(var t in e)if(!("width"!=t&&"height"!=t||"show"!=e[t]&&"hide"!=e[t]&&"toggle"!=e[t]))return!0;return!1}function c(e){for(var t in e)return!1;return!0}function u(e){return parseFloat(e.replace(n(e),""))}function d(e){var t=!0;return e.each(function(e,i){return t=t&&i.ownerDocument}),t}function h(t,i,n){if(!d(n))return!1;var o=e.inArray(t,p)>-1;return"width"!=t&&"height"!=t&&"opacity"!=t||parseFloat(i)!==parseFloat(n.css(t))||(o=!1),o}var p=["top","right","bottom","left","opacity","height","width"],f=["top","right","bottom","left"],g=["-webkit-","-moz-","-o-",""],m=["avoidTransforms","useTranslate3d","leaveTransforms"],v=/^([+-]=)?([\d+-.]+)(.*)$/,y=/([A-Z])/g,b={secondary:{},meta:{top:0,right:0,bottom:0,left:0}},w="px",_="jQe",C="cubic-bezier(",x=")",k=null,S=!1,E=document.body||document.documentElement,T=E.style,M="webkitTransitionEnd oTransitionEnd transitionend",D=void 0!==T.WebkitTransition||void 0!==T.MozTransition||void 0!==T.OTransition||void 0!==T.transition,A="WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix,P=A;e.expr&&e.expr.filters&&(k=e.expr.filters.animated,e.expr.filters.animated=function(t){return e(t).data("events")&&e(t).data("events")[M]?!0:k.call(this,t)}),e.extend({toggle3DByDefault:function(){return P=!P},toggleDisabledByDefault:function(){return S=!S}}),e.fn.translation=function(){if(!this[0])return null;var e=this[0],t=window.getComputedStyle(e,null),i={x:0,y:0};if(t)for(var n=g.length-1;n>=0;n--){var o=t.getPropertyValue(g[n]+"transform");if(o&&/matrix/i.test(o)){var r=o.replace(/^matrix\(/i,"").split(/, |\)$/g);i={x:parseInt(r[4],10),y:parseInt(r[5],10)};break}}return i},e.fn.animate=function(i,n,r,a){i=i||{};var u=!("undefined"!=typeof i.bottom||"undefined"!=typeof i.right),d=e.speed(n,r,a),p=this,v=0,y=function(){v--,0===v&&"function"==typeof d.complete&&d.complete.apply(p,arguments)},b="undefined"!=typeof i.avoidCSSTransitions?i.avoidCSSTransitions:S;return b===!0||!D||c(i)||l(i)||d.duration<=0||e.fn.animate.defaults.avoidTransforms===!0&&i.avoidTransforms!==!1?t.apply(this,arguments):this[d.queue===!0?"queue":"each"](function(){var n=e(this),r=e.extend({},d),a=function(t){var o=n.data(_)||{original:{}},r={};if(2==t.eventPhase){if(i.leaveTransforms!==!0){for(var s=g.length-1;s>=0;s--)r[g[s]+"transform"]="";if(u&&"undefined"!=typeof o.meta)for(var a,l=0;a=f[l];++l)r[a]=o.meta[a+"_o"]+w,e(this).css(a,r[a])}n.unbind(M).css(o.original).css(r).data(_,null),"hide"===i.opacity&&n.css({display:"none",opacity:""}),y.call(this)}},l={bounce:C+"0.0, 0.35, .5, 1.3"+x,linear:"linear",swing:"ease-in-out",easeInQuad:C+"0.550, 0.085, 0.680, 0.530"+x,easeInCubic:C+"0.550, 0.055, 0.675, 0.190"+x,easeInQuart:C+"0.895, 0.030, 0.685, 0.220"+x,easeInQuint:C+"0.755, 0.050, 0.855, 0.060"+x,easeInSine:C+"0.470, 0.000, 0.745, 0.715"+x,easeInExpo:C+"0.950, 0.050, 0.795, 0.035"+x,easeInCirc:C+"0.600, 0.040, 0.980, 0.335"+x,easeInBack:C+"0.600, -0.280, 0.735, 0.045"+x,easeOutQuad:C+"0.250, 0.460, 0.450, 0.940"+x,easeOutCubic:C+"0.215, 0.610, 0.355, 1.000"+x,easeOutQuart:C+"0.165, 0.840, 0.440, 1.000"+x,easeOutQuint:C+"0.230, 1.000, 0.320, 1.000"+x,easeOutSine:C+"0.390, 0.575, 0.565, 1.000"+x,easeOutExpo:C+"0.190, 1.000, 0.220, 1.000"+x,easeOutCirc:C+"0.075, 0.820, 0.165, 1.000"+x,easeOutBack:C+"0.175, 0.885, 0.320, 1.275"+x,easeInOutQuad:C+"0.455, 0.030, 0.515, 0.955"+x,easeInOutCubic:C+"0.645, 0.045, 0.355, 1.000"+x,easeInOutQuart:C+"0.770, 0.000, 0.175, 1.000"+x,easeInOutQuint:C+"0.860, 0.000, 0.070, 1.000"+x,easeInOutSine:C+"0.445, 0.050, 0.550, 0.950"+x,easeInOutExpo:C+"1.000, 0.000, 0.000, 1.000"+x,easeInOutCirc:C+"0.785, 0.135, 0.150, 0.860"+x,easeInOutBack:C+"0.680, -0.550, 0.265, 1.550"+x},p={},b=l[r.easing||"swing"]?l[r.easing||"swing"]:r.easing||"swing";for(var k in i)if(-1===e.inArray(k,m)){var S=e.inArray(k,f)>-1,E=o(n,i[k],k,S&&i.avoidTransforms!==!0);i.avoidTransforms!==!0&&h(k,E,n)?s(n,k,r.duration,b,S&&i.avoidTransforms===!0?E+w:E,S&&i.avoidTransforms!==!0,u,i.useTranslate3d):p[k]=i[k]}n.unbind(M);var T=n.data(_);if(!T||c(T)||c(T.secondary))r.queue=!1;else{v++,n.css(T.properties);var D=T.secondary;setTimeout(function(){n.bind(M,a).css(D)})}return c(p)||(v++,t.apply(n,[p,{duration:r.duration,easing:e.easing[r.easing]?r.easing:e.easing.swing?"swing":"linear",complete:y,queue:r.queue}])),!0})},e.fn.animate.defaults={},e.fn.stop=function(t,n,o){return D?(t&&this.queue([]),this.each(function(){var r=e(this),s=r.data(_);if(s&&!c(s)){var a,l={};if(n){if(l=s.secondary,!o&&void 0!==typeof s.meta.left_o||void 0!==typeof s.meta.top_o)for(l.left=void 0!==typeof s.meta.left_o?s.meta.left_o:"auto",l.top=void 0!==typeof s.meta.top_o?s.meta.top_o:"auto",a=g.length-1;a>=0;a--)l[g[a]+"transform"]=""}else if(!c(s.secondary)){var u=window.getComputedStyle(r[0],null);if(u)for(var d in s.secondary)if(s.secondary.hasOwnProperty(d)&&(d=d.replace(y,"-$1").toLowerCase(),l[d]=u.getPropertyValue(d),!o&&/matrix/i.test(l[d]))){var h=l[d].replace(/^matrix\(/i,"").split(/, |\)$/g);for(l.left=parseFloat(h[4])+parseFloat(r.css("left"))+w||"auto",l.top=parseFloat(h[5])+parseFloat(r.css("top"))+w||"auto",a=g.length-1;a>=0;a--)l[g[a]+"transform"]=""}}r.unbind(M),r.css(s.original).css(l).data(_,null)}else i.apply(r,[t,n])}),this):i.apply(this,[t,n])},RegExp(" AppleWebKit/").test(navigator.userAgent)&&RegExp(" Mobile/").test(navigator.userAgent)||e.toggleDisabledByDefault()}(jQuery,jQuery.fn.animate,jQuery.fn.stop),_wAMD.define("legacy/jquery.animate",function(){}),function(e){e.fn.up=function(e){return this.eq(0).parent().closest(e||"*")},e.fn.down=function(e){return e?this.eq(0).find(e||"*").eq(0):this.eq(0).children(":first")};var t=1;e.fn.identify=function(){var i=this.attr("id");if(!i&&this.length){do i="anonymous_element_"+t++;while(e("#"+i).length);this.attr("id",i)}return i},e.fn.placeholder=function(){if(!("placeholder"in document.createElement("input"))){var t,i;this.each(function(n,o){i=o.getAttribute("placeholder"),i&&"input"===o.nodeName.toLowerCase()&&(t=e(o).on({focus:function(){o.value===i&&(e(o).removeClass("wsite-placeholder"),o.value="")},blur:function(){o.value.length||(o.value=i,o.className+=" wsite-placeholder")}}),o.className+=" wsite-placeholder",o.value=i)})}},e.extend({isValidSelector:function(t){try{e(t)}catch(i){return!1}return!0}}),document.observe||(document.observe=function(t,i){"dom:loaded"==t&&e(document).ready(i)})}(Weebly.jQuery),Weebly.evalJSON=function(json){var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;cx.test(json)&&(json=json.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));try{return eval("("+json+")")}catch(e){}throw new SyntaxError("Badly formed JSON string: "+json)},_wAMD.define("legacy/jquery_utils",function(){}),_wAMD.define("jquery-ui/effect",["jquery"],function(e){!function(t,i){var n="ui-effects-";t.effects={effect:{}},function(e,t){function i(e,t,i){var n=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var r,s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],c=e.Color=function(t,i,n,o){return new e.Color.fn.parse(t,i,n,o)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},h=c.support={},p=e("

")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",h.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),c.fn=e.extend(c.prototype,{parse:function(o,s,a,l){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=e(o).css(s),s=t);var d=this,h=e.type(o),p=this._rgba=[];return s!==t&&(o=[o,s,a,l],h="array"),"string"===h?this.parse(n(o)||r._default):"array"===h?(f(u.rgba.props,function(e,t){p[t.idx]=i(o[t.idx],t)}),this):"object"===h?(o instanceof c?f(u,function(e,t){o[t.cache]&&(d[t.cache]=o[t.cache].slice())}):f(u,function(t,n){var r=n.cache;f(n.props,function(e,t){if(!d[r]&&n.to){if("alpha"===e||null==o[e])return;d[r]=n.to(d._rgba)}d[r][t.idx]=i(o[e],t,!0)}),d[r]&&e.inArray(null,d[r].slice(0,3))<0&&(d[r][3]=1,n.from&&(d._rgba=n.from(d[r])))}),this):void 0},is:function(e){var t=c(e),i=!0,n=this;return f(u,function(e,o){var r,s=t[o.cache];return s&&(r=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(e,t){return null!=s[t.idx]?i=s[t.idx]===r[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return f(u,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=c(e),o=n._space(),r=u[o],s=0===this.alpha()?c("transparent"):this,a=s[r.cache]||r.to(s._rgba),l=a.slice();return n=n[r.cache],f(r.props,function(e,o){var r=o.idx,s=a[r],c=n[r],u=d[o.type]||{};null!==c&&(null===s?l[r]=c:(u.mod&&(c-s>u.mod/2?s+=u.mod:s-c>u.mod/2&&(s-=u.mod)),l[r]=i((c-s)*t+s,o)))}),this[o](l)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=c(t)._rgba;return c(e.map(i,function(e,t){return(1-n)*o[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),c.fn.parse.prototype=c.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,o=e[1]/255,r=e[2]/255,s=e[3],a=Math.max(n,o,r),l=Math.min(n,o,r),c=a-l,u=a+l,d=.5*u;return t=l===a?0:n===a?60*(o-r)/c+360:o===a?60*(r-n)/c+120:60*(n-o)/c+240,i=0===c?0:.5>=d?c/u:c/(2-u),[Math.round(t)%360,i,d,null==s?1:s]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],r=e[3],s=.5>=n?n*(1+i):n+i-n*i,a=2*n-s;return[Math.round(255*o(a,s,t+1/3)),Math.round(255*o(a,s,t)),Math.round(255*o(a,s,t-1/3)),r]},f(u,function(n,o){var r=o.props,s=o.cache,l=o.to,u=o.from;c.fn[n]=function(n){if(l&&!this[s]&&(this[s]=l(this._rgba)),n===t)return this[s].slice();var o,a=e.type(n),d="array"===a||"object"===a?n:arguments,h=this[s].slice();return f(r,function(e,t){var n=d["object"===a?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),u?(o=c(u(h)),o[s]=h,o):c(h)},f(r,function(t,i){c.fn[t]||(c.fn[t]=function(o){var r,s=e.type(o),l="alpha"===t?this._hsla?"hsla":"rgba":n,c=this[l](),u=c[i.idx];return"undefined"===s?u:("function"===s&&(o=o.call(this,u),s=e.type(o)),null==o&&i.empty?this:("string"===s&&(r=a.exec(o),r&&(o=u+parseFloat(r[2])*("+"===r[1]?1:-1))),c[i.idx]=o,this[l](c)))})})}),c.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,o){var r,s,a="";if("transparent"!==o&&("string"!==e.type(o)||(r=n(o)))){if(o=c(r||o),!h.rgba&&1!==o._rgba[3]){for(s="backgroundColor"===i?t.parentNode:t;(""===a||"transparent"===a)&&s&&s.style;)try{a=e.css(s,"backgroundColor"),s=s.parentNode}catch(l){}o=o.blend(a&&"transparent"!==a?a:"_default")}o=o.toRgbaString()}try{t.style[i]=o}catch(l){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=c(t.elem,i),t.end=c(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},c.hook(s),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},r=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(e),function(){function n(e){var i,n,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,r={};if(o&&o.length&&o[0]&&o[o[0]])for(n=o.length;n--;)i=o[n],"string"==typeof o[i]&&(r[t.camelCase(i)]=o[i]);else for(i in o)"string"==typeof o[i]&&(r[i]=o[i]);return r}function o(e,i){var n,o,r={};for(n in i)o=i[n],e[n]!==o&&(s[n]||(t.fx.step[n]||!isNaN(parseFloat(o)))&&(r[n]=o));return r}var r=["add","remove","toggle"],s={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(i,n){t.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(e.style(t.elem,n,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),t.effects.animateClass=function(e,i,s,a){var l=t.speed(i,s,a);return this.queue(function(){var i,s=t(this),a=s.attr("class")||"",c=l.children?s.find("*").addBack():s;c=c.map(function(){var e=t(this);return{el:e,start:n(this)}}),i=function(){t.each(r,function(t,i){e[i]&&s[i+"Class"](e[i])})},i(),c=c.map(function(){return this.end=n(this.el[0]),this.diff=o(this.start,this.end),this}),s.attr("class",a),c=c.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,c.get()).done(function(){i(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(s[0])})})},t.fn.extend({addClass:function(e){return function(i,n,o,r){return n?t.effects.animateClass.call(this,{add:i},n,o,r):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,o,r){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,o,r):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(n,o,r,s,a){return"boolean"==typeof o||o===i?r?t.effects.animateClass.call(this,o?{add:n}:{remove:n},r,s,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},o,r,s)}}(t.fn.toggleClass),switchClass:function(e,i,n,o,r){return t.effects.animateClass.call(this,{add:i,remove:e},n,o,r)}})}(),function(){function e(e,i,n,o){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(o=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(o=n,n=i,i={}),t.isFunction(n)&&(o=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=o||i.complete,e}function o(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(e,t){for(var i=0;i").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},r=document.activeElement;try{r.id}catch(s){r=document.body}return e.wrap(n),(e[0]===r||t.contains(e[0],r))&&t(r).focus(),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,n,o){return o=o||{},t.each(i,function(t,i){var r=e.cssUnit(i);r[0]>0&&(o[i]=r[0]*n+r[1])}),o}}),t.fn.extend({effect:function(){function i(e){function i(){t.isFunction(r)&&r.call(o[0]),t.isFunction(e)&&e()}var o=t(this),r=n.complete,a=n.mode;(o.is(":hidden")?"hide"===a:"show"===a)?(o[a](),i()):s.call(o[0],n,i)}var n=e.apply(this,arguments),o=n.mode,r=n.queue,s=t.effects.effect[n.effect];return t.fx.off||!s?o?this[o](n.duration,n.complete):this.each(function(){n.complete&&n.complete.call(this)}):r===!1?this.each(i):this.queue(r||"fx",i)},show:function(t){return function(i){if(o(i))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(t.fn.show),hide:function(t){return function(i){if(o(i))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(t.fn.hide),toggle:function(t){return function(i){if(o(i)||"boolean"==typeof i)return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(n=[parseFloat(i),t])}),n}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(e){return 1-i(1-e)},t.easing["easeInOut"+e]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}()}(e)}),_wAMD.define("jquery-ui/effect-highlight",["jquery","./effect"],function(e){!function(e){e.effects.effect.highlight=function(t,i){var n=e(this),o=["backgroundImage","backgroundColor","opacity"],r=e.effects.setMode(n,t.mode||"show"),s={backgroundColor:n.css("backgroundColor")};"hide"===r&&(s.opacity=0),e.effects.save(n,o),n.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&n.hide(),e.effects.restore(n,o),i()}})}}(e)}),_wAMD.define("jquery-ui/effect-fade",["jquery","./effect"],function(e){!function(e){e.effects.effect.fade=function(t,i){var n=e(this),o=e.effects.setMode(n,t.mode||"toggle");n.animate({opacity:o},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}}(e)}),_wAMD.define("util/effect-slide-custom",["jquery","jquery-ui/effect"],function(e){!function(e){e.effects.effect.slide=function(t,i){var n,o=e(this),r=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(o,t.mode||"show"),a="show"===s,l=t.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,d={};e.effects.save(o,r),o.show();var h=t.wrapper;h?(h=e(h).show(),/relative|absolute/.test(o.css("position"))||o.css("position","relative")):h=e.effects.createWrapper(o),h.css("overflow","hidden");var n=t.distance||("top"==c?o.height()?o.outerHeight(!0):h.height():o.width()?o.outerWidth(!0):h.width());a&&o.css(c,u?isNaN(n)?"-"+n:-n:n),d[c]=(a?u?"+=":"-=":u?"-=":"+=")+n,o.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===s&&o.hide(),e.effects.restore(o,r),t.wrapper?(h.css("overflow",""),"hide"==s&&h.hide()):e.effects.removeWrapper(o),i()}})}}(e)}),function(e){function t(){"placeholder"in document.createElement("input")||e(this).find("input[placeholder]").placeholder()}var i=function(){var t=function(){var t=e(".wsite-view-link-full"),i=e(".wsite-view-link-mobile"),n=window.location.href||"";n+=n.indexOf("?")>-1?"&":"?",t.attr("href",n+"view=full"),i.attr("href",n+"view=mobile")};t();var i=window.History;i&&i.enabled&&History.Adapter.bind(window,"statechange",t)};e(document).ready(i),e(document).ready(t)}(Weebly.jQuery),function(){var e=window.STYLE_PREFIX||"weebly",t=function(){for(var t=0;t0}}catch(o){}return!1},i=function(e){if(t())e();else var i=setInterval(function(){t()&&(clearInterval(i),e())},200)};window.whenThemeCSSLoaded||(window.whenThemeCSSLoaded=i)}(),_wAMD.define("site/general",function(){}),function(e){window.blogCommentDisplayForm=function(t,i){var n=e("#"+i),o=n.data("isReplyFormOpen")||!1,r=n.prev(".reply-comment").find("span").first(),s=_W.tl("Cancel Reply");if(!n.data("locked")){n.data("locked",!0);var a=n.data("replyText");a||(a=r.html(),n.data("replyText",a));var l=e("#"+i+" iframe");return l.length||(l=e(''),e("#"+i+" > div > div").first().append(l)),o?(r.html(a),n.data("isReplyFormOpen",!1),n.down().hide("slide",{wrapper:n,direction:"up",duration:1e3,complete:function(){n.data("locked",!1)}})):(r.html(s),n.data("isReplyFormOpen",!0),n.down().show("slide",{wrapper:n,direction:"up",duration:1e3,complete:function(){n.data("locked",!1)}})),!1}}}(Weebly.jQuery),_wAMD.define("site/comments",function(){}),function(e,t){function i(){if(window.location.href.match(/posted=(.*)$/)){var i=e.evalJSON(decodeURIComponent(window.location.href.match(/posted=(.*)$/)[1].replace(/\+/g," ")));t("form").each(function(e,n){var o=t(n);t.each(i,function(e,i){"object"==typeof i?t.each(i,function(t,i){o.find("input").each(function(n,o){(o.name.replace(/_u\d*/,"")==e+"["+t+"]"||o.name==e+"["+t+"]")&&("checkbox"===o.type?o.checked=1:o.value=i)})}):o.find("input,textarea,select,button").each(function(t,r){if(r.name.replace(/_u\d*/,"")==e||r.name==e){var s=r.name;n[s][0]&&"radio"===n[s][0].type?o.find("radio[name="+s+"]").each(function(e,t){t.value==i&&(t.checked=!0)}):r.value=i}})})})}if(window.location.href.match(/form-errors=(.*?)&/)&&window.location.href.match(/ucfid%22%3A%22(.*?)%/)){var n=window.location.href.match(/form\-errors=(.*?)&/)[1].split(","),o=window.location.href.match(/ucfid%22%3A%22(.*?)%/)[1],r=t("#form-"+o);t.each(n,function(e,i){i=decodeURIComponent(i),r.find("input,textarea,select,button").each(function(e,n){(n.name.replace(/_u\d*/,"")==i||n.name.replace(/.*_u/,"_u")==i||n.name.replace(/\[.*\]$/,"")==i)&&t(n).addClass("form-input-error").up("."+c+"-form-field").addClass("form-field-error")})}),t("#"+o+"-form-parent").after("

Please correct the highlighted fields
")}if(window.location.href.match(/success\=1/)&&window.location.href.match(/ucfid\=(.*)/)){var o=window.location.href.match(/ucfid\=(.*?)&/)[1],r=t("#form-"+o),s="Your data was successfully submitted.",a=window.location.href.match(/text=(.*?)&/);a&&(s=decodeURIComponent(a[1].replace(/\+/g," "))),r.html("
"+s+"
")}}function n(){function i(i){var n=i.origin==location.protocol+location.port+"//"+location.hostname;if(n){var o=e.evalJSON(i.data);switch(o.action){case"finished":var r=o.data.ucfid,s=t("#form-"+r);s.hide();var a=t("#"+r+"-msg");return a.length||(a=t('
').insertAfter(s)),a.html(o.data.message),a.effect("highlight",{},2e3),t("body").animate({scrollTop:a.offset().top},{easing:"easeOutQuart",duration:2e3}),void 0;case"redirect":return window.location=o.data.location,void 0;case"error":var l=o.data["error-fields"],r=o.data.ucfid,s=t("#form-"+r);s.find("input,textarea,select,button").filter(".form-input-error").each(function(e,i){t(i).removeClass("form-input-error").up("."+c+"-form-field").removeClass("form-field-error")}),t.each(l,function(e,i){s.find("input,textarea,select,button").each(function(e,n){(n.name.replace(/_u\d*/,"")==i||n.name.replace(/.*_u/,"_u")==i||n.name.replace(/\[.*\]$/,"")==i)&&t(n).addClass("form-input-error").up("."+c+"-form-field").addClass("form-field-error")})});var a=t("#"+r+"-msg");return a.length||(a=t('
').insertAfter(s)),a.html(o.data.message),void 0}}}t("form").each(function(e,n){var o=t(n),r=o.attr("action")||"";if(r.match(/formSubmit\.php$/)){r=r.replace(/(.*)\/formSubmit\.php$/,window.location.protocol+"//"+window.location.host+"/ajax/apps/formSubmitAjax.php"),o.attr("action",r),o.attr("accept-charset","UTF-8");var s=o.attr("id")+"-target",a=t('",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{closeClick:!0,speedOut:200,showEarly:!0,css:{}},title:{type:"float"}},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(i.isPlainObject(t)||(t={}),!1!==s.close(!0))?(i.isArray(e)||(e=c(e)?i(e).get():[e]),i.each(e,function(o,r){var a,l,d,h,p,f,g,m={};"object"===i.type(r)&&(r.nodeType&&(r=i(r)),c(r)?(m={href:r.attr("href"),title:r.attr("title"),isDom:!0,element:r},i.metadata&&i.extend(!0,m,r.metadata())):m=r),a=t.href||m.href||(u(r)?r:null),l=t.title!==n?t.title:m.title||"",d=t.content||m.content,h=d?"html":t.type||m.type,!h&&m.isDom&&(h=r.data("fancybox-type"),h||(p=r.prop("class").match(/fancybox\.(\w+)/),h=p?p[1]:null)),u(a)&&(h||(s.isImage(a)?h="image":s.isSWF(a)?h="swf":"#"===a.charAt(0)?h="inline":u(r)&&(h="html",d=r)),"ajax"===h&&(f=a.split(/\s+/,2),a=f.shift(),g=f.shift())),d||("inline"===h?a?d=i(u(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):m.isDom&&(d=r):"html"===h?d=a:h||a||!m.isDom||(h="inline",d=r)),i.extend(m,{href:a,type:h,content:d,title:l,selector:g}),e[o]=m}),s.opts=i.extend(!0,{},s.defaults,t),t.keys!==n&&(s.opts.keys=t.keys?i.extend({},s.defaults.keys,t.keys):!1),s.group=e,s._start(s.opts.index)):void 0},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0).trigger("onReset").remove(),s.current||s.trigger("afterClose"),s.coming=null)},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isOpen&&e!==!0?(s.isOpen=s.isOpened=!1,s.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),"fixed"===s.wrap.css("position")&&s.wrap.css(s._getPosition(!0)),s.transitions[s.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut()))},play:function(e){var t=function(){clearTimeout(s.player.timer)},n=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},o=function(){t(),i("body").unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")},r=function(){s.current&&(s.current.loop||s.current.index=o.index?"next":"prev"],s.router=i||"jumpto",o.loop&&(0>e&&(e=o.group.length+e%o.group.length),e%=o.group.length),o.group[e]!==n&&(s.cancel(),s._start(e)))},reposition:function(e,t){var i;s.isOpen&&(i=s._getPosition(t),e&&"scroll"===e.type?(delete i.position,s.wrap.stop(!0,!0).animate(i,200)):s.wrap.css(i))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(a),a=null),s.isOpen&&!a&&((i||l)&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),a=setTimeout(function(){var i=s.current;i&&(s.wrap.removeClass("fancybox-tmp"),"scroll"!==t&&s._setDimension(),"scroll"===t&&i.canShrink||s.reposition(e),s.trigger("onUpdate"),a=null)},l?500:i?20:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===i.type(e)?e:!s.current.fitToView,s.update())},hideLoading:function(){r.unbind("keypress.fb"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),r.bind("keypress.fb",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),e=i('
').click(s.cancel).appendTo("body"),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=s.current?s.current.locked:!1,i={x:o.scrollLeft(),y:o.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=l&&e.innerWidth?e.innerWidth:o.width(),i.h=l&&e.innerHeight?e.innerHeight:o.height()),i},unbindEvents:function(){s.wrap&&c(s.wrap)&&s.wrap.unbind(".fb"),r.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e,t=s.current;t&&(o.bind("orientationchange.fb"+(l?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),s.update),e=t.keys,e&&r.bind("keydown.fb",function(o){var r=o.which||o.keyCode,a=o.target||o.srcElement;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||a&&(a.type||i(a).is("[contenteditable]"))||i.each(e,function(e,a){return t.group.length>1&&a[r]!==n?(s[e](a[r]),o.preventDefault(),!1):i.inArray(r,a)>-1?(s[e](),o.preventDefault(),!1):void 0})}),i.fn.mousewheel&&t.mouseWheel&&s.wrap.bind("mousewheel.fb",function(e,n,o,r){for(var a=e.target||null,l=i(a),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=h(l[0]),l=i(l).parent();0===n||c||s.group.length>1&&!t.canShrink&&(r>0||o>0?s.prev(r>0?"down":"left"):(0>r||0>o)&&s.next(0>r?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var n,o=t||s.coming||s.current;if(o){if(i.isFunction(o[e])&&(n=o[e].apply(o,Array.prototype.slice.call(arguments,1))),n===!1)return!1;"onCancel"!==e||s.isOpened||(s.isActive=!1),o.helpers&&i.each(o.helpers,function(t,n){n&&s.helpers[t]&&i.isFunction(s.helpers[t][e])&&s.helpers[t][e](n,o)}),i.event.trigger(e+".fb")}},isImage:function(e){return u(e)&&e.match(/\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$/i)},isSWF:function(e){return u(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,n,o,r,a,c={};if(e=p(e),t=s.group[e]||null,!t)return!1;if(c=i.extend(!0,{},s.opts,t),r=c.margin,a=c.padding,"number"===i.type(r)&&(c.margin=[r,r,r,r]),"number"===i.type(a)&&(c.padding=[a,a,a,a]),c.modal&&i.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),c.autoSize&&(c.autoWidth=c.autoHeight=!0),"auto"===c.width&&(c.autoWidth=!0),"auto"===c.height&&(c.autoHeight=!0),c.group=s.group,c.index=e,s.coming=c,!1===s.trigger("beforeLoad"))return s.coming=null,void 0;if(o=c.type,n=c.href,!o)return s.coming=null,s.current&&s.router&&"jumpto"!==s.router?(s.current.index=e,s[s.router](s.direction)):!1;if(s.isActive=!0,("image"===o||"swf"===o)&&(c.autoHeight=c.autoWidth=!1,c.scrolling="visible"),"image"===o&&(c.aspectRatio=!0),"iframe"===o&&l&&(c.scrolling="scroll"),c.wrap=i(c.tpl.wrap).addClass("fancybox-"+(l?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+c.wrapCSS).appendTo(c.parent),i.extend(c,{skin:i(".fancybox-skin",c.wrap),outer:i(".fancybox-outer",c.wrap),inner:i(".fancybox-inner",c.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,t){c.skin.css("padding"+t,f(c.padding[e]))}),s.trigger("onReady"),"inline"===o||"html"===o){if(!c.content||!c.content.length)return s._error("content")}else if(!n)return s._error("href");"image"===o?s._loadImage():"ajax"===o?s._loadAjax():"iframe"===o?s._loadIframe():s._afterLoad()},_error:function(e){i.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:s.coming.tpl.error}),s._afterLoad()},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width,s.coming.height=this.height,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,e.complete!==n&&e.complete||s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",l?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){i(this).data("ready",1),l||i(this).bind("load.fb",s.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e,t,i=s.group,n=s.current,o=i.length,r=n.preload?Math.min(n.preload,o-1):0;for(t=1;r>=t;t+=1)e=i[(n.index+t)%o],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,n,o,r,a,l=s.coming,u=s.current,d="fancybox-placeholder"; if(s.hideLoading(),l&&s.isActive!==!1){if(!1===s.trigger("afterLoad",l,u))return l.wrap.stop(!0).trigger("onReset").remove(),s.coming=null,void 0;switch(u&&(s.trigger("beforeChange",u),u.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove(),"fixed"===u.wrap.css("position")&&u.wrap.css(s._getPosition(!0))),s.unbindEvents(),e=l,t=l.content,n=l.type,o=l.scrolling,i.extend(s,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:u}),r=e.href,n){case"inline":case"ajax":case"html":e.selector?t=i("
").html(t).find(e.selector):c(t)&&(t.data(d)||t.data(d,i('
').insertAfter(t).hide()),t=t.show().detach(),e.wrap.bind("onReset",function(){i(this).find(t).length&&t.hide().replaceAll(t.data(d)).data(d,!1)}));break;case"image":t=e.tpl.image.replace("{href}",r);break;case"swf":t='',a="",i.each(e.swf,function(e,i){t+='',a+=" "+e+'="'+i+'"'}),t+='"}c(t)&&t.parent().is(e.inner)||e.inner.append(t),s.trigger("beforeShow"),e.inner.css("overflow","yes"===o?"scroll":"no"===o?"hidden":o),s._setDimension(),e.wrap.removeClass("fancybox-tmp"),e.pos=i.extend({},e.dim,s._getPosition(!0)),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?u.prevMethod&&s.transitions[u.prevMethod]():i(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?e.nextMethod:e.openMethod](),s._preloadImages()}},_setDimension:function(){var e,t,n,o,r,a,l,c,u,h,g,m,v,y,b,w=s.getViewport(),_=0,C=!1,x=!1,k=s.wrap,S=s.skin,E=s.inner,T=s.current,M=T.width,D=T.height,A=T.minWidth,P=T.minHeight,F=T.maxWidth,R=T.maxHeight,I=T.scrolling,O=T.scrollOutside?T.scrollbarWidth:0,W=T.margin,N=W[1]+W[3],$=W[0]+W[2];if(k.add(S).add(E).width("auto").height("auto"),e=S.outerWidth(!0)-S.width(),t=S.outerHeight(!0)-S.height(),n=N+e,o=$+t,r=d(M)?(w.w-n)*p(M)/100:M,a=d(D)?(w.h-o)*p(D)/100:D,"iframe"===T.type){if(y=T.content,T.autoHeight&&1===y.data("ready"))try{y[0].contentWindow.document.location&&(E.width(r).height(9999),b=y.contents().find("body"),O&&b.css("overflow-x","hidden"),a=b.height())}catch(L){}}else(T.autoWidth||T.autoHeight)&&(E.addClass("fancybox-tmp"),T.autoWidth||E.width(r),T.autoHeight||E.height(a),T.autoWidth&&(r=E.width()),T.autoHeight&&(a=E.height()),E.removeClass("fancybox-tmp"));if(M=p(r),D=p(a),u=r/a,A=p(d(A)?p(A,"w")-n:A),F=p(d(F)?p(F,"w")-n:F),P=p(d(P)?p(P,"h")-o:P),R=p(d(R)?p(R,"h")-o:R),l=F,c=R,m=w.w-N,v=w.h-$,T.aspectRatio?(M>F&&(M=F,D=M/u),D>R&&(D=R,M=D*u),A>M&&(M=A,D=M/u),P>D&&(D=P,M=D*u)):(M=Math.max(A,Math.min(M,F)),D=Math.max(P,Math.min(D,R))),T.fitToView)if(F=Math.min(w.w-n,F),R=Math.min(w.h-o,R),E.width(p(M)).height(p(D)),k.width(p(M+e)),h=k.width(),g=k.height(),T.aspectRatio)for(;(h>m||g>v)&&M>A&&D>P&&!(_++>19);)D=Math.max(P,Math.min(R,D-10)),M=D*u,A>M&&(M=A,D=M/u),M>F&&(M=F,D=M/u),E.width(p(M)).height(p(D)),k.width(p(M+e)),h=k.width(),g=k.height();else M=Math.max(A,Math.min(M,M-(h-m))),D=Math.max(P,Math.min(D,D-(g-v)));O&&"auto"===I&&a>D&&m>M+e+O&&(M+=O),E.width(p(M)).height(p(D)),k.width(p(M+e)),h=k.width(),g=k.height(),C=(h>m||g>v)&&M>A&&D>P,x=T.aspectRatio?l>M&&c>D&&r>M&&a>D:(l>M||c>D)&&(r>M||a>D),i.extend(T,{dim:{width:f(h),height:f(g)},origWidth:r,origHeight:a,canShrink:C,canExpand:x,wPadding:e,hPadding:t,wrapSpace:g-S.outerHeight(!0),skinSpace:S.height()-D}),!y&&T.autoHeight&&D>P&&R>D&&!x&&E.height("auto")},_getPosition:function(e){var t=s.current,i=s.getViewport(),n=t.margin,o=s.wrap.width()+n[1]+n[3],r=s.wrap.height()+n[0]+n[2],a={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&r<=i.h&&o<=i.w?a.position="fixed":t.locked||(a.top+=i.y,a.left+=i.x),a.top=f(Math.max(a.top,a.top+(i.h-r)*t.topRatio)),a.left=f(Math.max(a.left,a.left+(i.w-o)*t.leftRatio)),a},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.addClass("fancybox-opened").css("overflow","visible"),s.reposition(),(e.closeClick||e.nextClick)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||s[e.closeClick?"close":"next"]()}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",s.close),e.arrows&&s.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.indexe&&(n=r.width())):r.width()>o.width()&&(n=r.width()),this.overlay.width(n).height(r.height())},onReady:function(e,n){i(".fancybox-overlay").stop(!0,!0),this.overlay||i.extend(this,{overlay:i('
').appendTo(n.parent),margin:r.height()>o.height()||"scroll"===i("body").css("overflow-y")?i("body").css("margin-right"):!1,el:t.all&&!t.querySelector?i("html"):i("body")}),n.fixed&&!l&&(this.overlay.addClass("fancybox-overlay-fixed"),n.autoCenter&&(this.overlay.append(n.wrap),n.locked=this.overlay)),e.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n=this.overlay.unbind(".fb").width("auto").height("auto").css(e.css);e.closeClick&&n.bind("click.fb",function(e){i(e.target).hasClass("fancybox-overlay")&&s.close()}),t.fixed&&!l?t.locked&&(this.el.addClass("fancybox-lock"),this.margin!==!1&&i("body").css("margin-right",p(this.margin)+t.scrollbarWidth)):this.update(),n.show()},onUpdate:function(e,t){(!t.fixed||l)&&this.update()},afterClose:function(e){var t=this,n=e.speedOut||0;t.overlay&&!s.isActive&&t.overlay.fadeOut(n||0,function(){i("body").css("margin-right",t.margin),t.el.removeClass("fancybox-lock"),t.overlay.remove(),t.overlay=null})}},s.helpers.title={beforeShow:function(e){var t,n,o=s.current.title,r=e.type;if(u(o)&&""!==i.trim(o)){switch(t=i('
'+o+"
"),r){case"inside":n=s.skin;break;case"outside":n=s.wrap;break;case"over":n=s.inner;break;default:n=s.skin,t.appendTo("body").width(t.width()).wrapInner(''),s.current.margin[2]+=Math.abs(p(t.css("margin-bottom")))}"top"===e.position?t.prependTo(n):t.appendTo(n)}}},i.fn.fancybox=function(e){var t,n=i(this),o=this.selector||"",a=function(r){var a,l,c=i(this).blur(),u=t;r.ctrlKey||r.altKey||r.shiftKey||r.metaKey||c.is(".fancybox-wrap")||(a=e.groupAttr||"data-fancybox-group",l=c.attr(a),l||(a="rel",l=c.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(c=o.length?i(o):n,c=c.filter("["+a+'="'+l+'"]'),u=c.index(this)),e.index=u,s.open(c,e)!==!1&&r.preventDefault())};return e=e||{},t=e.index||0,o&&e.live!==!1?r.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):n.unbind("click.fb-start").bind("click.fb-start",a),this},r.ready(function(){i.scrollbarWidth===n&&(i.scrollbarWidth=function(){var e=i('
').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),i.support.fixedPosition===n&&(i.support.fixedPosition=function(){var e=i('
').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(s.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")})})}(window,document,jQuery),function(e){var t=e.fancybox;t.helpers.thumbs={wrap:null,list:null,width:0,source:function(t){var i;return t.element&&(i=e(t.element).find("img").attr("src")),!i&&"image"===t.type&&t.href&&(i=t.href),i},init:function(t,i){var n,o=this,r=t.width||50,s=t.height||50,a=t.source||this.source;n="";for(var l=0;l';this.wrap=e('
').addClass(t.position||"bottom").appendTo("body"),this.list=e("
    "+n+"
").appendTo(this.wrap),e.each(i.group,function(t){var n=a(i.group[t]);n&&e("").load(function(){var i,n,a,l=this.width,c=this.height;o.list&&l&&c&&(i=l/r,n=c/s,a=o.list.children().eq(t).find("a"),i>=1&&n>=1&&(i>n?(l=Math.floor(l/n),c=s):(l=r,c=Math.floor(c/i))),e(this).css({width:l,height:c,top:Math.floor(s/2-c/2),left:Math.floor(r/2-l/2)}),a.width(r).height(s),e(this).hide().appendTo(a).fadeIn(300))}).attr("src",n)}),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(i.group.length+1)).css("left",Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width)))},beforeLoad:function(e,t){return t.group.length<2?(t.helpers.thumbs=!1,void 0):(t.margin["top"===e.position?0:2]+=(e.height||50)+15,void 0)},afterShow:function(e,t){this.list?this.onUpdate(e,t):this.init(e,t),this.list.children().removeClass("active").eq(t.index).addClass("active")},onUpdate:function(t,i){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(jQuery),_wAMD.define("legacy/fancybox/fancybox",function(){}),_wAMD.require(["site/core","legacy/flyout_menus_jq","site/fancybox","legacy/fancybox/fancybox"],function(){}),_wAMD.define("site/main",function(){});