/* skel-layers.js v2.0.2-dev | (c) n33 | getskel.com | MIT licensed */
(function(e){typeof define=="function"&&define.amd?define(["jquery","skel"],e):e(jQuery,skel)})(function(e,t){var n="config",r="cache",i="setTimeout",s="trigger",o="_skel_layers_translateOrigin",u="position",f="_skel_layers_resetForms",l="$element",c="visibleWrapper",h="_skel_layers_translate",p="skel-layers-moved",d="moveToVisibleWrapper",v="_skel_layers_promote",m="exclusiveLayer",g="_skel_layers_resume",y="_skel_layers_demote",b="exclusive",w="moveToHiddenWrapper",E="center",S="right",x="_skel_layers_cssNumericValue",T="bottom",N="prototype",C="speed",k="css",L="left",A="wrapper",O="_skel_layers_init",M="_skel_layers_suspend",_="skel-layers-css-values",D="overflow-x",P="width",H="_skel_layers_doTranslate",B="transform",j="hidestart",F="layers",I="showstart",q="skel-layers-layer-z-index",R="_height",U="transition",z=null,W="hiddenWrapper",X="scrollTop",V="skel-layers-css",$="children",J="height",K="showend",Q="hideend",G=".skel-layers-fixed:not(.skel-layers-moved)",Y="iterate",Z="auto",et="deviceType",tt="resetForms",nt="unlockView",rt="top",it="touchstart.lock click.lock scroll.lock",st="recalcW",ot="element",ut="hidden",at="_width",ft=!0,lt='<div id="skel-layers-placeholder-',ct="_skel_layers_fadeOut",ht="parent",pt=!1,dt="length",vt="_skel_layers_fadeIn",mt="100%",gt="blur",yt="padding-bottom",bt="skel-layers-exclusiveVisible",wt="useActive",Et="_skel_layers_uncss",St="_skel_layers_recss",xt="easing",Tt="isInitialized",Nt="animation",Ct="lockView",kt="originalEvent",Lt="-webkit-tap-highlight-color",At="skel-layers-layer-position",Ot="#skel-layers-placeholder-",Mt="skel_layers_hiddenWrapper",_t="animations",Dt="animate",Pt="-webkit-",Ht="append",Bt="registerLocation",jt="skel-layers-layer-index",Ft="resize.lock scroll.lock",It="orientationchange.lock",qt="hasClass",Rt="z-index",Ut="_skel_layers_initializeCell",zt="breakpoints",Wt="positions",Xt="stopPropagation",Vt="touchPosX",$t="touchPosY",Jt="hide",Kt="preventDefault",Qt="canUseProperty",Gt="backface-visibility",Yt="events",Zt="-webkit-transition",en="undefined",tn="window",nn="_skel_layers_expandCell",rn="recalcH",sn="addClass",on="visible",un="none",an="_skel_layers_hasParent",fn="absolute",ln="-moz-",cn="-moz-transition",hn="handled",pn="data",dn="-ms-transition",vn="opacity",mn="rgba(0,0,0,0)",gn="show",yn="removeClass",bn="-o-transition",wn="appendTo",En="-ms-",Sn="getArray",xn="s ",Tn="states",Nn="ios",Cn="object",kn="_skel_layers_xcss",Ln="perspective",An="x",On="mode",Mn="fixed",_n="overflow-y",Dn="px",Pn="-",Hn="cell-size",Bn="side",jn="-o-",Fn="touches",In="isVisible",qn="find",Rn="*",Un="relative",zn="body",Wn="opacity ",Xn="htmlbody",Vn="#",$n="attr",Jn="html";t.registerPlugin(F,function(e){function lr(e,t,r){var i,s,o=this;this.id=e,this.index=r,this[Yt]={},this[n]={breakpoints:z,states:z,position:z,side:z,animation:un,orientation:un,width:Z,height:Z,maxWidth:mt,maxHeight:mt,zIndex:this.index,html:"",hidden:pt,exclusive:z,resetScroll:ft,resetForms:ft,swipeToHide:ft,clickToHide:pt},fr._.extend(this[n],t),this[n][b]===z&&(this[n][b]=this[n][ut]),this[ot]=fr._.newDiv(this[n][Jn]),this[ot].id=e,this[ot]._layer=this,this[l]=z,this[Vt]=z,this[$t]=z,this[on]=pt,s=fr._.newElement(this.id,this[ot],Mt,1),s.onAttach=function(){var e=this[Cn]._layer;e[Tt]()||e.init(),e.resume()},s.onDetach=function(){var e=this[Cn]._layer;e.suspend()},o[n][Tn]&&o[n][Tn]!=fr._.sd?(fr._.cacheElement(s),i=fr._[Sn](o[n][Tn]),fr._[Y](i,function(e){fr._.addCachedElementToState(i[e],s)})):o[n][zt]?(fr._.cacheElement(s),i=fr._[Sn](o[n][zt]),fr._[Y](i,function(e){fr._.addCachedElementToBreakpoint(i[e],s)})):fr._.attachElement(s)}var fr;return typeof e==en?pt:(e.fn[y]=function(){var t,n;if(this[dt]>1){for(t=0;t<this[dt];t++)e(this[t])[y]();return e(this)}return n=e(this),n[k](Rt,n[pn](q))[pn](q,""),n},e.fn[nn]=function(){var t=e(this),n=t[ht](),r=12;n[$]().each(function(){var t=e(this),n=t[$n]("class");n&&n.match(/(\s+|^)([0-9]+)u(\s+|$)/)&&(r-=parseInt(RegExp.$2))}),r>0&&(t[Ut](),t[k](P,(t[pn](Hn)+r)/12*100+"%"))},e.fn[an]=function(){return e(this).parents()[dt]>0},e.fn[Ut]=function(){var t=e(this);t[$n]("class").match(/(\s+|^)([0-9]+)u(\s+|$)/)&&t[pn](Hn,parseInt(RegExp.$2))},e.fn[v]=function(t){var r,i,s;if(this[dt]>1){for(r=0;r<this[dt];r++)e(this[r])[v](t);return e(this)}return i=e(this),isNaN(s=parseInt(i[pn](jt)))&&(s=0),i[pn](q,i[k](Rt))[k](Rt,fr[n].baseZIndex+s+(t?t:1)),i},e.fn[f]=function(){var t=e(this);return e(this)[qn]("form").each(function(){this.reset()}),t},e.fn[kn]=function(t,n){return e(this)[k](t,n)[k](ln+t,ln+n)[k](Pt+t,Pt+n)[k](jn+t,jn+n)[k](En+t,En+n)},e.fn._skel_layers_xcssProperty=function(t,n){return e(this)[k](t,n)[k](ln+t,n)[k](Pt+t,n)[k](jn+t,n)[k](En+t,n)},e.fn._skel_layers_xcssValue=function(t,n){return e(this)[k](t,n)[k](t,ln+n)[k](t,Pt+n)[k](t,jn+n)[k](t,En+n)},e.fn[Et]=function(){var n=e(this),r=n[pn](V),i={};if(!r||n[pn](_))return n;t[Y](r,function(e){var t=n[k](r[e]);t&&(i[r[e]]=t,n[k](r[e],""))}),n[pn](_,i)},e.fn[St]=function(){var n=e(this),r=n[pn](_);if(!r)return n;t[Y](r,function(e){n[k](e,r[e])}),n.removeData(_)},lr[N][_t]={none:{show:function(e){var t=e[n],r=e[l];r[X](0)[v](t.zIndex)[gn](),t[tt]&&r[f](),t[b]&&fr[Ct](An),e[d](),e[s](I),e[s](K)},hide:function(e){var t=e[n],r=e[l];r[qn](Rn)[s](gt,[ft]),t[b]&&fr[nt](An),e[w](),r[y]()[Jt](),e[s](j),e[s](Q)}},fade:{show:function(e){var t=e[n],r=e[l];r[X](0)[v](t.zIndex)[k](vn,0)[gn](),t[tt]&&r[f](),t[b]&&fr[Ct](An),e[d](),e[s](I),window[i](function(){r[vt](function(){e[s](K)})},50)},hide:function(e){var t=e[n],r=e[l];r[qn](Rn)[s](gt,[ft]),e[s](j),r[ct](function(){t[b]&&fr[nt](An),e[w](),r[y]()[Jt](),e[s](Q)})}},overlayX:{show:function(e){var t=e[n],r=e[l];r[X](0)[v](t.zIndex)[k](t[Bn],Pn+fr[st](t[at])+Dn)[gn](),t[tt]&&r[f](),t[b]&&fr[Ct](An),e[d](),e[s](I),window[i](function(){r[h]((t[Bn]==S?Pn:"")+fr[st](t[at]),0),window[i](function(){e[s](K)},fr[n][C])},50)},hide:function(e){var t=e[n],r=e[l];r[qn](Rn)[s](gt,[ft]),e[s](j),r[o](),window[i](function(){t[b]&&fr[nt](An),e[w](),r[y]()[Jt](),e[s](Q)},fr[n][C]+50)}},overlayY:{show:function(e){var t=e[n],r=e[l];r[X](0)[v](t.zIndex)[k](t[Bn],Pn+fr[st](t[R])+Dn)[gn](),t[tt]&&r[f](),t[b]&&fr[Ct]("y"),e[d](),e[s](I),window[i](function(){r[h](0,(t[Bn]==T?Pn:"")+fr[st](t[R])),window[i](function(){e[s](K)},fr[n][C])},50)},hide:function(e){var t=e[n],r=e[l];r[qn](Rn)[s](gt,[ft]),e[s](j),r[o](),window[i](function(){t[b]&&fr[nt]("y"),e[w](),r[y]()[Jt](),e[s](Q)},fr[n][C]+50)}},pushX:{show:function(e){var t=e[n],o=e[l],u=fr[r][A].add(fr[r][c][$]());o[X](0)[k](t[Bn],Pn+fr[st](t[at])+Dn)[gn](),t[tt]&&o[f](),u[v](),t[b]&&fr[Ct](An),e[d](),e[s](I),window[i](function(){o.add(u)[h]((t[Bn]==S?Pn:"")+fr[st](t[at]),0),window[i](function(){e[s](K)},fr[n][C])},50)},hide:function(e){var t=e[n],u=e[l],a=fr[r][A].add(fr[r][c][$]());u[qn](Rn)[s](gt,[ft]),e[s](j),u.add(a)[o](),window[i](function(){t[b]&&fr[nt](An),u[Jt](),e[w](),a[y](),e[s](Q)},fr[n][C]+50)}},pushY:{show:function(e){var t=e[n],o=e[l],u=fr[r][A].add(fr[r][c][$]());o[X](0)[k](t[Bn],Pn+fr[rn](t[R])+Dn)[gn](),t[tt]&&o[f](),t[b]&&fr[Ct]("y"),e[d](),e[s](I),window[i](function(){o.add(u)[h](0,(t[Bn]==T?Pn:"")+fr[rn](t[R])),window[i](function(){e[s](K)},fr[n][C])},50)},hide:function(e){var t=e[n],u=e[l],a=fr[r][A].add(fr[r][c][$]());u[qn](Rn)[s](gt,[ft]),e[s](j),u.add(a)[o](),window[i](function(){t[b]&&fr[nt]("y"),u[Jt](),e[w](),e[s](Q)},fr[n][C]+50)}},revealX:{show:function(e){var t=e[n],o=e[l],u=fr[r][A].add(fr[r][c][$]());o[X](0)[gn](),t[tt]&&o[f](),u[v](),t[b]&&fr[Ct](An),e[d](),e[s](I),window[i](function(){u[h]((t[Bn]==S?Pn:"")+fr[st](t[at]),0),window[i](function(){e[s](K)},fr[n][C])},50)},hide:function(e){var t=e[n],u=e[l],a=fr[r][A].add(fr[r][c][$]());u[qn](Rn)[s](gt,[ft]),e[s](j),a[o](),window[i](function(){t[b]&&fr[nt](An),u[Jt](),a[y](),e[w](),e[s](Q)},fr[n][C]+50)}}},lr[N][Wt]={"top-left":{v:rt,h:L,side:L},"top-right":{v:rt,h:S,side:S},top:{v:rt,h:E,side:rt},"top-center":{v:rt,h:E,side:rt},"bottom-left":{v:T,h:L,side:L},"bottom-right":{v:T,h:S,side:S},bottom:{v:T,h:E,side:T},"bottom-center":{v:T,h:E,side:T},left:{v:E,h:L,side:L},"center-left":{v:E,h:L,side:L},right:{v:E,h:S,side:S},"center-right":{v:E,h:S,side:S},center:{v:E,h:E,side:pt},"center-center":{v:E,h:E,side:pt}},lr[N].on=function(e,t){this[Yt][e]||(this[Yt][e]=[]),this[Yt][e].push(t)},lr[N][s]=function(e){var t;if(!this[Yt][e]||this[Yt][e][dt]==0)return;t=this,fr._[Y](this[Yt][e],function(n){t[Yt][e][n]()})},lr[N][gn]=function(){var e,t,o,a,f;if(this[on]){fr[r][c][Ht](this[ot]);return}e=this,t=this[n],o=fr._[wt](t[Nt]),a=this[l],a[k]("max-width","")[k]("max-height","")[k](P,"")[k](J,""),t[at]=fr._[wt](t[P]),t[R]=fr._[wt](t[J]),t[at]==Z&&(t[at]=a.outerWidth()+1),t[R]==Z&&(t[R]=a.outerHeight()+1);if(t.maxWidth!=mt||t[P]==Z)t[at]=fr[st](t[at]),t._maxWidth=fr[st](fr._[wt](t.maxWidth)),t[at]=Math.min(t[at],t._maxWidth);if(t.maxHeight!=mt||t[J]==Z)t[R]=fr[rn](t[R]),t._maxHeight=fr[rn](fr._[wt](t.maxHeight)),t[R]=Math.min(t[R],t._maxHeight);a[k](P,t[at])[k](J,t[R]),fr._.vars[et]==Nn&&(t[R]==mt&&!t[ut]&&a[k](J,"-webkit-calc("+t[R]+" + 70px)"),a.on(gt,"input,select,textarea",function(t,n){if(n)return;window[i](function(){fr[r][W][Ht](e[ot]),window[i](function(){fr[r][c][Ht](e[ot])},500)},500)})),f=this[Wt][t[u]],a[sn]("skel-layer-"+t[u])[pn](At,t[u]);switch(f.v){case rt:a[k](rt,0);break;case T:a[k](T,0);break;case E:a[k](rt,"50%")[k]("margin-top",Pn+fr.getHalf(t[R]))}switch(f.h){case L:a[k](L,0);break;case S:a[k](S,0);break;case E:a[k](L,"50%")[k]("margin-left",Pn+fr.getHalf(t[at]))}this[_t][o][gn](this),t[b]&&(fr[r][zn][sn](bt),fr[r][m]=this),this[on]=ft,this[s](gn)},lr[N][Jt]=function(){var e,t;if(!this[on]){fr[r][W][Ht](this[ot]);return}e=this[n],t=fr._[wt](e[Nt]),t in this[_t]||(t=un),this[_t][t][Jt](this),e[b]&&fr[r][m]===this&&(fr[r][zn][yn](bt),fr[r][m]=z),this[s](Jt),this[on]=pt},lr[N].init=function(){var t=this[n],r=e(this[ot]),s=this;r[O](),r[qn](Rn).each(function(){fr.parseInit(e(this))}),r[sn]("skel-layer")[pn](jt,this.index)[k](Rt,fr[n].baseZIndex)[k](u,Mn)[k]("-ms-overflow-style","-ms-autohiding-scrollbar")[k]("-webkit-overflow-scrolling","touch")[Jt]();switch(t.orientation){case"vertical":r[k](_n,Z)[k](D,ut);break;case"horizontal":r[k](D,Z)[k](_n,ut);break;case un:default:}if(!t[u]||!(t[u]in this[Wt]))t[u]="top-left";t[Bn]||(t[Bn]=this[Wt][t[u]][Bn]);if(!t[Nt]||typeof t[Nt]!==Cn&&!(t[Nt]in this[_t]))t[Nt]=un;t.clickToHide&&r[qn]("a")[k](Lt,mn).on("click.skel-layers",function(t){var r,o,u=e(this);if(u[qt]("skel-layers-ignore"))return;t[Kt](),t[Xt](),s[Jt]();if(u[qt]("skel-layers-ignoreHref"))return;r=u[$n]("href"),o=u[$n]("target"),typeof r!==en&&r!=""&&window[i](function(){o=="_blank"&&fr._.vars[et]!="wp"?window.open(r):window.location.href=r},fr[n][C]+10)}),r.on("touchstart",function(e){s[Vt]=e[kt][Fn][0].pageX,s[$t]=e[kt][Fn][0].pageY}).on("touchmove",function(e){var n,i,o,u,a,f,l;if(s[Vt]===z||s[$t]===z)return;n=s[Vt]-e[kt][Fn][0].pageX,i=s[$t]-e[kt][Fn][0].pageY,o=r.outerHeight(),u=r.get(0).scrollHeight-r[X]();if(t[ut]&&t.swipeToHide){a=pt,f=20,l=50;switch(t[Bn]){case L:a=i<f&&i>-1*f&&n>l;break;case S:a=i<f&&i>-1*f&&n<-1*l;break;case rt:a=n<f&&n>-1*f&&i>l;break;case T:a=n<f&&n>-1*f&&i<-1*l}if(a)return s[Vt]=z,s[$t]=z,s[Jt](),pt}if(r[X]()==0&&i<0||u>o-2&&u<o+2&&i>0)return pt}),this[l]=r},lr[N][Tt]=function(){return this[l]!==z},lr[N][In]=function(){return this[l].is(":visible")},lr[N][d]=function(){fr[r][c][Ht](this[l])},lr[N][w]=function(){if(!this[l][an]())return;fr[r][W][Ht](this[l])},lr[N].resume=function(t){if(!this[Tt]())return;this[l][qn](Rn).each(function(){fr.parseResume(e(this))}),this[n][ut]||this[gn](t)},lr[N].suspend=function(){if(!this[Tt]())return;this[l][o](),this[l][qn](Rn).each(function(){fr.parseSuspend(e(this))}),this[on]&&this[Jt]()},fr={cache:{visibleWrapper:z,body:z,exclusiveLayer:z,document:z,html:z,htmlbody:z,hiddenWrapper:z,layers:{},parent:z,window:z,wrapper:z},config:{baseZIndex:1e4,layers:{},mode:u,speed:500,easing:"ease",wrap:ft},layerIndex:1,create:function(t,i,s){var o,a;if(t in fr[r][F])return;if(u in i){if(!i[Jn]&&(o=e(Vn+t))[dt]==0)return;return fr[n].wrap||(fr[n].wrap=ft,fr.initWrappers()),a=new lr(t,i,fr.layerIndex++),fr[r][F][t]=a,o&&(o[$]()[wn](a[ot]),o.remove()),s||fr._.updateState(),a}return},destroy:function(i){if(i in fr[r][F]){var s=fr[r][F][i];return s.suspend(),s[n][Tn]&&s[n][Tn]!=fr._.sd&&(a=fr._[Sn](s[n][Tn]),fr._[Y](a,function(e){fr._.removeCachedElementFromState(a[e],i)})),s[n][zt]&&(a=fr._[Sn](s[n][zt]),fr._[Y](a,function(e){fr._.removeCachedElementFromBreakpoint(a[e],i)})),e(s[ot]).remove(),delete fr[r][F][i],t.uncacheElement(i),ft}return},get:function(e){if(e in fr[r][F])return fr[r][F][e];return},hide:function(e){fr[r][F][e][Jt]()},show:function(e){fr[r][F][e][gn]()},toggle:function(e){var t=fr[r][F][e];t[In]()?t[Jt]():t[gn]()},getBaseFontSize:function(){return fr._.vars.IEVersion<9?16.5:parseFloat(getComputedStyle(fr[r][zn].get(0)).fontSize)},getHalf:function(e){var t=parseInt(e);return typeof e=="string"&&e.charAt(e[dt]-1)=="%"?Math.floor(t/2)+"%":Math.floor(t/2)+Dn},lockView:function(e){e==An&&fr[r][Xn][k](D,ut),fr[n][On]!=B&&t.vars[et]==Nn&&fr[r][ht][k](J,fr[r].document[J]()),fr[r][A].on(it,function(e){e[Kt](),e[Xt](),fr[r][m]&&fr[r][m][Jt]()}),fr[r][tn].on(It,function(e){fr[r][m]&&fr[r][m][Jt]()}),fr._.vars.isMobile||window[i](function(){fr[r][tn].on(Ft,function(e){fr[r][m]&&fr[r][m][Jt]()})},fr[n][C]+50)},parseInit:function(t){var n,s,o=t.get(0),u=t[$n]("data-action"),a=t[$n]("data-args"),f,l;u&&a&&(a=a.split(","));switch(u){case"toggleLayer":case"layerToggle":t[k](Lt,mn)[k]("cursor","pointer"),n=function(t){var n=e(this);t[Kt](),t[Xt]();if(n[pn](hn)===ft)return;n[pn](hn,ft),window[i](function(){n.removeData(hn)},500);if(fr[r][m])return fr[r][m][Jt](),pt;var s=fr[r][F][a[0]];s[In]()?s[Jt]():s[gn]()},t.on("touchend click",n);break;case"navList":f=e(Vn+a[0]),n=f[qn]("a"),s=[],n.each(function(){var t=e(this),n,r;n=Math.max(0,t.parents("li")[dt]-1),r=t[$n]("href"),s.push('<a class="link depth-'+n+'"'+(typeof r!==en&&r!=""?' href="'+r+'"':"")+'><span class="indent-'+n+'"></span>'+t.text()+"</a>")}),s[dt]>0&&t[Jn]("<nav>"+s.join("")+"</nav>");break;case"copyText":f=e(Vn+a[0]),t[Jn](f.text());break;case"copyHTML":f=e(Vn+a[0]),t[Jn](f[Jn]());break;case"moveElementContents":f=e(Vn+a[0]),o[g]=function(){f[$]().each(function(){var n=e(this);if(n[qt](p))return;t[Ht](n),n[sn](p),n[Et]()})},o[M]=function(){t[$]().each(function(){var t=e(this);if(!t[qt](p))return;f[Ht](t),t[yn](p),fr.refresh(t),t[St]()})},o[g]();break;case"moveElement":f=e(Vn+a[0]),o[g]=function(){if(f[qt](p))return;e(lt+f[$n]("id")+'" />').insertBefore(f),t[Ht](f),f[sn](p),f[Et]()},o[M]=function(){if(!f[qt](p))return;e(Ot+f[$n]("id")).replaceWith(f),f[yn](p),fr.refresh(f),f[St]()},o[g]();break;case"moveCell":f=e(Vn+a[0]),l=e(Vn+a[1]),o[g]=function(){e(lt+f[$n]("id")+'" />').insertBefore(f),t[Ht](f),f[k](P,Z),l&&l[nn]()},o[M]=function(){e(Ot+f[$n]("id")).replaceWith(f),f[k](P,""),l&&l[k](P,"")},o[g]();break;default:}},parseResume:function(e){var t=e.get(0);t[g]&&t[g]()},parseSuspend:function(e){var t=e.get(0);t[M]&&t[M]()},recalc:function(e,t){var n=fr._.parseMeasurement(e),r;switch(n[1]){case"%":r=Math.floor(t*(n[0]/100));break;case"em":r=fr.getBaseFontSize()*n[0];break;default:case Dn:r=n[0]}return r},recalcH:function(t){return fr.recalc(t,e(window)[J]())},recalcW:function(t){return fr.recalc(t,e(window)[P]())},refresh:function(t){var n;t?n=t.filter(G):n=e(G),n[O](ft)[wn](fr[r][c])},unlockView:function(e){e==An&&fr[r][Xn][k](D,""),fr[n][On]!=B&&t.vars[et]==Nn&&fr[r][ht][k](J,""),fr[r][A].off(it),fr[r][tn].off(It),fr._.vars.isMobile||fr[r][tn].off(Ft)},init:function(){n in fr[n]&&(fr._.extend(fr[n],fr[n][n]),delete fr[n][n]),fr._[Y](fr[n],function(e){fr[n][e]&&typeof fr[n][e]==Cn&&u in fr[n][e]&&(fr[n][F][e]=fr[n][e],delete fr[n][e])}),typeof fr[n][On]=="function"&&(fr[n][On]=fr[n][On]()),fr[n][On]==B&&(!fr._[Qt](B)||!fr._[Qt](U))&&(fr[n][On]=u),fr[n][On]==u&&!fr._[Qt](U)&&(fr[n][On]=Dt),fr._.vars[et]=="wp"&&(fr[n][On]=Dt),fr[r][tn]=e(window),e(function(){fr.initAnimation(),fr.initObjects(),fr[n].wrap&&fr.initWrappers(),fr.initLayers(),fr.initIncludes(),fr._.updateState()})},initIncludes:function(){e(".skel-layers-include").each(function(){fr.parseInit(e(this))})},initLayers:function(){fr._[Y](fr[n][F],function(e){fr.create(e,fr[n][F][e],ft)})},initObjects:function(){fr[r].document=e(document),fr[r][Jn]=e(Jn),fr[r][zn]=e(zn),fr[r][Xn]=e("html,body")},initAnimation:function(){fr[n][On]==Dt?(e.fn[vt]=function(t){e(this).fadeTo(fr[n][C],1,t)},e.fn[ct]=function(t){e(this).fadeTo(fr[n][C],0,t)}):(e.fn[vt]=function(t){e(this)[k](vn,1),t&&window[i](t,fr[n][C]+50)},e.fn[ct]=function(t){e(this)[k](vn,0),t&&window[i](t,fr[n][C]+50)});if(fr[n][On]==B)e.fn[o]=function(){return e(this)[h](0,0)},e.fn[h]=function(t,n){return e(this)[k](B,"translate("+t+"px, "+n+"px)")},e.fn[O]=function(){return e(this)[k](Gt,ut)[k](Ln,"500")[kn](U,"transform "+fr[n][C]/1e3+xn+fr[n][xt]+","+Wn+fr[n][C]/1e3+xn+fr[n][xt])[pn](V,[Gt,Ln,cn,Zt,bn,dn,U])};else{var s=[];fr[n][On]==Dt?(fr[r][tn].resize(function(){if(fr[n][C]!=0){var e=fr[n][C];fr[n][C]=0,window[i](function(){fr[n][C]=e,s=[]},0)}}),fr[n][xt].substr(0,4)=="ease"?(fr[n][xt]="swing",fr[n][C]=fr[n][C]*.65):fr[n][xt]="linear",e.fn[H]=function(t,r){e(this)[Dt](t,fr[n][C],fr[n][xt],r)},e.fn[O]=function(t){return e(this)[k](u,t?Mn:fn)[pn](V,[u])}):(fr[r][tn].resize(function(){window[i](function(){s=[]},0)}),e.fn[H]=function(t,r){var s=e(this);fr._[Y](t,function(e){s[k](e,t[e])}),window[i](r,fr[n][C])},e.fn[O]=function(t){return e(this)[k](U,"top "+fr[n][C]/1e3+xn+fr[n][xt]+","+"right "+fr[n][C]/1e3+xn+fr[n][xt]+","+"bottom "+fr[n][C]/1e3+xn+fr[n][xt]+","+"left "+fr[n][C]/1e3+xn+fr[n][xt]+","+Wn+fr[n][C]/1e3+xn+fr[n][xt])[k](u,t?Mn:fn)[pn](V,[cn,Zt,bn,dn,U,u])}),e[x]=function(e){return e&&e.slice(-1)=="%"?e:parseInt(e)},e.fn[o]=function(){for(var t=0;t<this[dt];t++){var n=this[t],i=e(n);s[n.id]&&i[H](s[n.id],function(){fr._[Y](s[n.id],function(e){i[k](e,s[n.id][e])}),fr[r][ht][k](D,""),fr[r][A][k](P,Z)[k](yt,0)})}return e(this)},e.fn[h]=function(n,i){var o,f,l,c;n=parseInt(n),i=parseInt(i),n!=0?((t.vars[et]==Nn?fr[r][ht]:fr[r][zn])[k](D,ut),fr[r][A][k](P,fr[r][tn][P]())):l=function(){(t.vars[et]==Nn?fr[r][ht]:fr[r][zn])[k](D,""),fr[r][A][k](P,Z)},i<0?fr[r][A][k](yt,Math.abs(i)):c=function(){fr[r][A][k](yt,0)};for(o=0;o<this[dt];o++){var h=this[o],p=e(h),d;if(!s[h.id])if(d=lr[N][Wt][p[pn](At)]){s[h.id]={};switch(d.v){case E:case rt:s[h.id][rt]=e[x](h.style[rt]);break;case T:s[h.id][T]=e[x](h.style[T])}switch(d.h){case E:case L:s[h.id][L]=e[x](h.style[L]);break;case S:s[h.id][S]=e[x](h.style[S])}}else d=p[u](),s[h.id]={top:d[rt],left:d[L]};a={},fr._[Y](s[h.id],function(e){var t;switch(e){case rt:t=fr[rn](s[h.id][e])+i;break;case T:t=fr[rn](s[h.id][e])-i;break;case L:t=fr[st](s[h.id][e])+n;break;case S:t=fr[st](s[h.id][e])-n}a[e]=t}),p[H](a,function(){l&&l(),c&&c()})}return e(this)}}},initWrappers:function(){fr[n][On]!=B?(fr[r][zn].wrapInner('<div id="skel-layers-parent" />'),fr[r][ht]=e("#skel-layers-parent"),fr[r][ht][k](u,fn)[k](L,0)[k](rt,0)[k]("min-height",mt)[k](P,mt)):fr[r][ht]=fr[r][zn],fr[r][ht].wrapInner('<div id="skel-layers-wrapper" />'),fr[r][A]=e("#skel-layers-wrapper"),fr[r][A][k](u,Un)[k](L,0)[k](S,0)[k](rt,0)[O](),fr[r][W]=e('<div id="skel-layers-hiddenWrapper" />')[wn](fr[r][ht]),fr[r][W][k](J,mt),fr[r][c]=e('<div id="skel-layers-visibleWrapper" />')[wn](fr[r][ht]),fr[r][c][k](u,Un),fr._[Bt](Mt,fr[r][W][0]),fr._[Bt]("skel_layers_visibleWrapper",fr[r][c][0]),fr._[Bt]("skel_layers_wrapper",fr[r][A][0]),e("[autofocus]").focus(),fr.refresh()}},fr)}(jQuery))});