1 line
53 KiB
JavaScript
1 line
53 KiB
JavaScript
!function(){var l,yo,vo,xo,h,Co,$,M,L,W,S,zo,_o,Po,f,n,r,N,To,ko,H,$o,Mo,Lo,Wo,So,No,Ho=window,Io=Ho.document,Bo=Ho.fb,I=Bo.data,Eo=Bo.$,Ro=Bo.select,Zo=Bo.require,Ao=Bo.extend,Oo=Bo.addEvent,Vo=Bo.removeEvent,Yo=Bo.stopEvent,s=Bo.serialize,B=Bo.getClass,Xo=Bo.hasClass,Fo=Bo.addClass,Do=Bo.attr,_=Bo.typeOf,qo=Bo.encodeHTML,E=Bo.decodeHTML,a=Bo.path,jo=I.T,Ko=I.s,Qo=I.S,Uo=I.r,Go=I.R,Jo=I.q,ti=I.Q,ei=I.p,oi=I.P,ii=I.o,ni=I.O,g=I.n,ri=I.N,d=I.Y,y=I.m,R=I.X,ai={},li={left:0,top:0},b={left:0,top:0},hi={left:0,top:0},m=Math.round,fi=Math.max,si=Math.min,di=Math.abs,P=Math.pow,ci=function(t){return Math.random()*(t+1)<<0},pi=Date.now,ui=Array.isArray,w=1/0,gi=void 0,v=[],bi=[],mi={top:"",right:"",bottom:"",left:"",width:"",height:""},wi=["caption","caption2","header","footer"],yi="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",vi="about:blank",Z=/<.+>/,xi=77777,x=6;function p(k){var h,l,u,g,$,M,L,W,S,N,H,m,a,I,n,b,w,r,y,v,f,x,B,s,C,z,_,P,T,E,R,d,Z,c,p,A,O,V,Y,X,F,D,q,j,K,Q,U,G,J,tt,et,ot,it,nt,rt,at,lt,ht,ft,st,dt,ct,pt,ut,gt,bt,mt,wt,yt,vt,xt,Ct,zt,_t,Pt,Tt,kt,$t,Mt,Lt,Wt,St,Nt,Ht,It,Bt,Et,Rt,Zt,At,Ot,Vt,Yt,Xt,Ft,Dt,qt,jt,Kt,Qt,Ut,Gt,Jt,te,ee,oe,ie,ne,re,ae,le,he,fe,se,de,ce,pe,ue,ge,be,me,we,ye,ve={},xe=$o.length,Ce=[],ze={},_e=[],Pe=[],Te={},ke=[],$e=[],Me=[],Le=0,We={},Se=[],t=Ti(),e=t&&t.$+1||1,Ne=Ti(gi,!0),He={left:0,top:0,width:0,height:0},Ie={},Be={},Ee={};function Re(t,e,o,i,n,r){var a;if(t)return a=ve[t]=ei(o||"div"),(i=i&&yo[i]||"")&&p&&!1!==jt&&!No[t]&&(a.title=i),n&&(n=ei("i",vo[n]),Fo(n,"fbIcon"),r&&(a.innerHTML=Ii("span",Kt?/\S*/.exec(i)[0]:"",["class","fbText"]),Pi(n,"padding"+r,".5em")),oi(n,a,"Right"==r&&a.firstChild),_e.push(Oo(a,["mouseover","mouseout"],Ae)),Pi(a,"color",se)),a.fbName=t,Fo(a,["fbx",t,/_/.test(t)&&t.split("_")[0]]),"a"==o&&(a.href="",_e.push(Oo(a,"click",Yo))),"iframe"==o&&(Do(a,{allowFullScreen:"",allow:"autoplay",frameBorder:0}),a.src=vi),"img"==o&&(a.alt="",a.src=yi),ve[t]=a,ke.push(t),e&&oi(a,e),a}function Ze(t){var e=t.keyCode,o=t.ctrlKey||t.shiftKey||t.altKey||t.metaKey,i=Ti();!o||38!=e&&40!=e||(e=38==e?33:34,o=!1),ve!=i?i&&i._&&i.X(t):p&&ve._&&!o&&ti(Ho)&&!ii(t.target,["input","select","textarea"])&&((37==e||39==e)&&1<st?(Yo(t),Xe(37==e?"prev":"next")):32==e&&ft&&H.$?(Yo(t),no(!ht)):33!=e&&34!=e||!Ot?13==e?Ve(t):27==e&&(Yo(t),ao()):(Yo(t),Ye(33==e?3:2)))}function Ae(t){var e=this,o=e.fbName||"",i=ni(o,"Panel","2"),n=t.relatedTarget||{},r="mouseover"==t.type;!r&&i==n.fbName||(ki(ge,e)&&(e.innerHTML&&(e.opacity=e.opacity||_i(e,"opacity",!0),Pi(e,"opacity",r?.8:e.opacity)),e=e.href?(1===Qt&&Pi(ve[i],"visibility",r||!H.$?"":"hidden"),ve[ni(i,"2","")]):gi),e&&(Pi(e,"color",(r=e.href&&r)?fe:se),Pi(Ro(".fbText",e,0),"textDecoration",r?"underline":"")),r&&o&&ve[o].title&&!0!==jt?jo(function(){i=ni(o+"2","22",""),No[o]=No[i]=!0,Do([ve[o],ve[i]],"title",null)},1777,o,Te):Ko(o,Te))}function Oe(t){ai.type&&Zi(ue.src!=vi&&ue.src||this.href)&&ze.closeOnNewWindow&&ao(),Yo(t)}function Ve(t){var e,o=t.target,i=!0;!o||!ai.type||xo&&"mouseup"==t.type||(o.fbName||ii(o,"a")||(o=o.parentElement||o),e=o.fbName||"",/fbPrev/.test(e)?Xe("prev"):/fbNext/.test(e)?Xe("next"):"fbPlay"==e?no(!1):"fbPause"==e?no(!0):Ot&&("fbResizer"==e||"fbContent"==e&&o.style.cursor)?Ye(t):"fbInfo"==e?$i(ve.fbInfo):"fbPrint"==e?Si(ue,ze.printCSS,ze):/Close/.test(e)||ze.contentClickCloses&&ki(ge,o)?ao():i=!1,i&&Yo(t))}function Ye(t){var e,o;1!=Gt&&Gt!=t&&(Ko(1,Te),2==Gt?it&&b&&(e=zi(ue),t.target==ue&&ai.type&&(e.x=ai.x,e.y=ai.y),fo({$:ue,left:(e.x-e.left)*(1-u/e.width),top:(e.y-e.top)*(1-g/e.height),width:u,height:g},uo,Vt),o=!0):o=po(uo),o||(ve._=5,He={left:0,top:0,width:0,height:0},Ke(),De([Ge,3==Gt])))}function Xe(t){var e,o,i,n;if(4==ve._)if(t===gi){if(ft)if(i=v.afterSlideshow,Le<st||"loop"==i)ht||Io.hidden||Xe(Rt);else if("stop"==i){for(no(!0),n=st;n--;)Ce[n].T=!1;Le=0,"fb"==H.s&&ue.contentWindow.postMessage({action:"load"},H._)}else ao()}else(e=Ce[t=t==m?gi:"prev"==t?Et:"next"==t?Rt:"reload"==t?m:+t])&&(o=Ao(e.z),!1!==Qo(ze.beforeItemEnd,ve)&&!1!==Qo(o.beforeItemStart,ve)&&(Zt=H,At=m,H=ve.z=e,m=t,ze=o,Ko(1,Te),ve._=3,Fe()))}function Fe(){var t;try{Io.activeElement.blur()}catch(t){}Hi(),I=ze.aspect,/%w/.test(ze.height)&&(I=I||100/Yi(ze.height),ze.height=gi),I=I||0,"click"==(Ie={x:Ai(ze.boxX,v.boxX),y:Ai(ze.boxY,v.boxY),left:Ai(ze.boxLeft,v.boxLeft),top:Ai(ze.boxTop,v.boxTop),width:ze.width,height:ze.height}).x&&(Ie.x=ne),"click"==Ie.y&&(Ie.y=re),"click"==Ie.left&&(Ie.left=ne),"click"==Ie.top&&(Ie.top=re),gt=Oi(ze.maxWidth||ze.maxContentWidth,li.width,xi),bt=Oi(ze.maxHeight||ze.maxContentHeight,li.height,xi),yt=si(gt,Oi(ze.minWidth||ze.minContentWidth,li.width,lt?35:H.w?140:70)),vt=si(bt,Oi(ze.minHeight||ze.minContentHeight,li.height,lt?25:H.w?100:50)),b=!1!==ze.autoFit,Ot=H.$&&!1!==ze.enableImageResize,t=v.pageScroll,R=!!t===t?!t:k&&b,t=v.boxScroll,E=!!t===t?!t:R||gi,C=z=_=P=T=!1,3==ve._&&Zt.$&&H.$&&de&&(T=!!B||(z=1==et,_=2==et,P=3==et,4==et),C=z||_||P||T),L=W=$=M=u=g=gi,Be=Ao(Ie),le||(He.left=He.top=0),he||(He.width=He.height=0),jo(o,1777,2,Te),je(),De([i,[Ke,Ue]])}function o(){var t=ve.fbSlowLoad,e=Wo[zo];Pi(t,{left:li.left-e.width/2+(ne||li.width/2),top:li.top-e.height/2+(re||li.height/2),zIndex:+we.style.zIndex+77}),t.src=e.src,oi(t,Io.body)}function De(t,e){if(e||(Ko(3,Te),Ko(1,Te),uo(!0),ji(),mo(!1),C||5==ve._?(Pi([ve.fbTopPanel,ve.fbBottomPanel],"visibility","hidden"),e=1):(Vo(Pe),fo({$:lt?we:me,opacity:0},[De,t,1],2==ve._?0:de&&V))),1==e){var o,i,n,r,a,l=3==ve._?Zt:0==ve._?H:null;if(l){for(a=wi.length;a--;)o=wi[a],i=l.z[o],So[i]&&(n=Vi("fb-"+o),(r=ve[n])&&oi(r.firstChild,So[i]));i=l._,So[i]&&oi(ue.firstChild,So[i]),l.x&&(l.R&&(l.R.destroy(),ri(l,"R")),ue.src=vi),Qo(l.z.afterItemEnd)}Qo(t)}}function i(e){var t,o=H._,i=ze.altContent||"",n=H.$?"img":H.t?"div":"iframe";ue=ve.fbContent,!H.x&&ii(ue,n)||(oi(ue),ue=Re("fbContent",ge,n)),Do(ue,H.$?"alt":H.t?"":"title",i),H.$?Wi(o,e):(H.w||Pi(ue,{width:$,height:M}),H.x?H.Y?Qo(e):(t=Oo(ue,"load",function(){Vo(t),Qo(e)}),H.W||_e.push(Oo(ue,"load",qe)),ue.src=o):(ue.innerHTML="",H.n?Mi(o,{finish:function(t){Bi(ue,Ii("div",t.responseText),!0),Qo(e)}}):(So[o]&&oi(So[o].firstChild,ue),ue.innerHTML||Bi(ue,Ii("div",o),!0),Qo(e))))}function qe(){var o=ue&&ue.contentDocument,i=o&&o.documentElement,n=o&&ue.contentWindow;function t(){var t,e=Eo(H.q,o);e&&(t=zi(e).top-zi(i).top,n.scroll(0,t))}i&&n.location.href.indexOf(vi)<0&&(p&&Oo(i,"keydown",Ze),k||lt||Oo(i,["mousedown","touchstart"],ro),ue.ready?(l=gi,io()):(H.q&&(t(),H.Q=t),ue.ready=!0))}function je(){$=Oi(Be.width,li.width),M=Oi(Be.height,li.height),H.w&&!I&&(I=u/g||$/M||H.Y&&16/9||0),$=$||I&&M*I||u||si(.87*li.width,980),M=M||I&&$/I||g||.87*li.height}function Ke(t){var e,o={};Pi(ue,mi),u||(bo(!1),H.$?o=Wo[H._]:(Qe(),H.W||Be.width&&Be.height||(o=function(){var t,e,o,i=$,n=M,r=ue&&ue.contentDocument,a=r?r.body:Ro("*",ue,0);a&&(l=l||_i(a,"margin"),t={width:ge.style.width,height:ge.style.height},e={position:a.style.position,height:a.style.height},Pi(ge,{width:i,height:i}),Pi(a,{position:"absolute",height:"auto"}),o=zi(a),i=o.width+l.left+l.right,n=o.height+l.top+l.bottom,Pi(a,e),Pi(ge,t));return{width:i,height:n}}())),u=o.width||$,g=o.height||M,je()),I&&(e=He.width+He.height,He.height=e/(I+1),He.width=e-He.height),$+=He.width,M+=He.height,Qe(),Ko(2,Te),oi(ve.fbSlowLoad),Qo(t)}function Qe(){var t;t=Ri($,M,yt,vt,I,!0,1),t=Ri(t.width,t.height,gt,bt,I,!1,-1),$=t.width,M=t.height}function Ue(){var t,e,o,i,n,r,a,l,h,f,s,d,c,p,u=H._,g=st-1;function b(t,e,o){t&&e&&(Do(t,"href",e&&qo(e)||null),Ro(".fbText",t,0).innerHTML=o||""),Pi(t,"display",e?"":"none")}for(p=wi.length;p--;)i=wi[p],r=ze[i],n=Vi("fb-"+i),(t=ve[n])&&(t.innerHTML="",So[r]?(oi(So[r].firstChild,t),Do(Ro("*",t),"tabindex",null)):t.innerHTML=r||"",Pi(t,"display",t.innerHTML?"":"none"));if(ve.fbItemNumber&&(ve.fbItemNumber.innerHTML=ni(yo[dt?7:j?9:8],"%1",m+1,"%2",st)),(t=ve.fbInfo)&&(b(t,ze.info,ze.infoText||yo[10]),Do(t,"data-fb-options",Jo(Go(ze.infoOptions)))),(t=ve.fbPrint)&&b(t,ze.showPrint&&!H.W&&u,ze.printText||yo[11]),(t=ve.fbNewWindow)&&b(t,ze.showNewWindow&&H.V&&u,yo[12]),t=ve.fbIndex){for(t.innerHTML="",-1==_t?(l=0,h=g):(h=m+(a=(_t>>>1)-1),(l=m-a)<=0&&(h+=si(1-l,a)),m||h++,0<=h-g&&(l-=si(1+h-g,a)),m==g&&l--),p=0;p<st;p++)(f=p&&p<l?l:p!=g&&h<p?g:p)!=p&&(p=f,Pi(e=ei("span","..."),"color",_i(t,"color")),oi(e,t)),(s=Ce[p]).V&&(e=ei("a"),(c=("href"==(r=s.z.indexThumbSource)?s.$&&s._:r)||s.p)&&!1!==v.showIndexThumbs&&(Fo(e,"fbPop"+(/t/.test(ot)?"down":"up")),d=ei("img"),(r=v.maxIndexThumbSize)&&Pi(d,{maxWidth:r,maxHeight:r}),d.src=c,oi(d,e)),Pi(e,"color",se),o=ei("span"),Fo(o,"fbText"),oi(o,e),p==m?Fo(e,"fbCurrentIndex"):Pe.push(Oo(e,["mouseover","mouseout"],Ae)),oi(e,t),b(e,s._," "+(p+1)+" "),Do(e,"data-fb",p),Pe.push(Oo(e,"click",function(t){Yo(t),ai.type&&(qi(this),Xe(Do(this,"data-fb")))})));Fi(Ro("a",t),ve)}Pi(ve.fbNav,"display",1<st?"":"none"),Ge()}function Ge(t,e){var o,i,n,r,a,l,h,f=H._,s=Wo[f]&&Wo[f].src||f,d=ce&&2==ve._,c=zi(ge),p=ko.documentElement;t=Ai(t,!(3==Gt&&!it)&&b),2==ve._&&R&&!Co&&(o=zi(ai.$).top+_i(p,"marginTop",!0),Pi(p,"marginRight",_i(p,"marginRight",!0)+To.innerWidth-p.clientWidth),Pi(ko.body,"overflow","hidden"),1<(o-=zi(ai.$).top)&&Pi(p,"marginTop",o),Co=ve,Hi()),function t(e,o,i,n){var r,a,l,h,f,s,d,c,p,u,g;if(ve._&&we){if(o||(mt=Oi(Ai(ze.minBoxWidth,v.minBoxWidth),li.width,0),wt=Oi(Ai(ze.minBoxHeight,v.minBoxHeight),li.height,0)),mt=fi(0,mt-(S=$+2*(nt+Wt+Tt))),pt=li.width-2*w,Je(si(e?pt:xi,S+mt)),J=Ee.fbHeader+w,tt=Ee.fbFooter+w,N=M+2*(nt+Tt)+Ee.fbTopPanel+Ee.fbBottomPanel,ut=li.height-J-tt,o=Ai(o,e?3:-1),c=S-pt,p=N-ut,e&&0<o&&(0<c||0<p))return a=fi(X?ve.fbCaption.offsetHeight:0,F?ve.fbCaption2.offsetHeight:0),2==o?i={width:$,height:M}:n<a&&(e=!1,$=i.width,M=i.height),e&&(I?(d=Ri($,M,$-c,M-p,I,!1,-1),d=Ri(d.width,d.height,yt,vt,I,!0,1),$=d.width,M=d.height):($=fi(yt,$-fi(c,0)),M=fi(vt,M-fi(p,0)),e=!1)),t(e,o-1,i,a);wt=fi(0,wt-N),S+=mt,N+=wt,x={$:ge,top:Ee.fbTopPanel+wt/2,right:Wt+mt/2,bottom:Ee.fbBottomPanel+wt/2,left:Wt+mt/2},at?to(r=v.placement||"bottom",0,0):(L=(Be.x?Oi(Be.x,li.width)-S/2:Oi(Be.left,li.width,(li.width-S)/2))+He.left,l=li.height-N-J-tt,h=l/li.height,f=h<=.1?2:h<.2?1.5+5*h:2.5,W=(Be.y?Oi(Be.y,li.height)-N/2:Oi(Be.top,li.height,l/f+J))+He.top,Ne&&!H.w&&(s=zi(Ne.fbMain),Be.x===gi&&Be.left===gi&&0<s.left&&(c=L-s.left,L-=0<c?c/2:0),Be.y===gi&&Be.top===gi&&0<s.top&&(p=W-s.top,W-=0<p?p/2:0))),5!=ve._&&(c=p=u=0,(g=li.width-w-S-L)<0&&(c=u=g,"right"==r&&(r="left",c=0)),0<(g=w-L)&&(c=u=g,"left"==r&&(r="right",c=0)),(g=li.height-tt-N-W)<0&&(p=u=g,"bottom"==r&&(r="top",p=0)),0<(g=J-W)&&(p=u=g,"top"==r&&(r="bottom",p=0)),u&&(at?to(r,c,p):(Be.left!==gi&&Be.left!=ne||(L+=c),Be.top!==gi&&Be.top!=re||(W+=p)))),L+=Oi(v.boxLeftAdjust,li.width,0),W+=Oi(v.boxTopAdjust,li.height,0),+ct===ct&&(W=ct-Ee.fbTopPanel-Tt,ct=gi)}}(t),C&&(i=zi(ue),c.width-=2*nt,c.height-=2*nt,n=m==(At||fi(st,3))-1,be.src=ue.src,Pi(be,{left:i.left-c.left-nt,top:i.top-c.top-nt,width:i.width,height:i.height,opacity:1}),oi(be,ge),r=Ri(i.width,i.height,z?$:i.width,M,i.width/i.height,!0),h={$:be,left:z?($-r.width)/2:n?$:P?0:-r.width,top:(M-r.height)/2,width:P?0:r.width,height:r.height},z&&(h.opacity=0),a=T&&c.height<M,r=Ri($,M,a?$:c.width,a?M:c.height,I,!0,1),Pi(ue,{left:z?(c.width-r.width)/2:_?0:n?P?0:-r.width:c.width,top:(c.height-r.height)/2,width:P?0:r.width,height:r.height}),ue.src=s),d||(Pi(we,"visibility",""),te&&!_i(we,"width",!0)&&fo({$:we,left:L+Pt.left+(S-Jt)/2,top:W+Pt.top+(N-Jt)/2,width:Jt,height:Jt},0,Vt)),e=+e===e?e:3==ve._?de:d?0:Vt,H.$&&ue.src!=s&&(ue.src=s),(C||po())&&(l={$:ue,left:0,top:0,width:$,height:M}),fo([{$:we,left:L+Pt.left,top:W+Pt.top,width:S-2*Tt,height:N-2*Tt,borderWidth:Tt},x,l,h],eo,e,te&&!C&&($-c.width>M-c.height?"x":"y"))}function Je(t){for(var e,o,i,n,r,a,l,h,f,s,d,c,p,u,g=["fbTopPanel","fbBottomPanel","fbHeader","fbFooter"],b=ve.fbIndex&&Ro("img",ve.fbIndex),m=[];g.length;)if(n="fbTopPanel"==(o=g.pop())||"fbHeader"==o,Ee[o]=0,e=ve[o])if(Pi(e,Ao({display:"",margin:"0 auto"},mi)),/Panel/.test(o)){for(Pi(e,{left:"auto",right:"auto",width:f=t-2*((c=fi(c=Wt||St,y/2-c))+Tt)}),Pi(b,"display","none"),l=2-f,Pi(r=Ro(".fbCell",e),{width:"auto",marginRight:""}),i=Ai(ze.strictCentering,!0),r[1].offsetWidth&&(!0===i||-1<o.toLowerCase().indexOf(i))&&Pi([r[0],r[2]],"minWidth",fi(zi(r[0]).width,zi(r[2]).width)),u=3;u--;)s=zi(r[u]).width,l+=m[u]=s;for(m[0]&&m[1]+m[2]&&(Pi(r[0],"marginRight",20),l+=20),m[1]&&m[2]&&(Pi(r[1],"marginRight",20),l+=20),a=[0,1,2].sort(function(t,e){return m[t]-m[e]}),0<l&&(h=si(l,m[a[2]]-m[a[1]]),m[a[2]]-=h,0<(l-=h)&&(h=si(l/2,m[a[1]]-m[a[0]]),m[a[2]]-=h,m[a[1]]-=h,l-=2*h),0<l&&(h=l/3,m[0]-=h,m[1]-=h,m[2]-=h),l=0),l<0&&(h=l/2,m[0]-=h,m[2]-=h),u=3,s=0;u--;)s+=r[u].offsetWidth,Pi(r[u],{width:m[u],minWidth:""});s||Pi(e,Ao({display:"none"},mi)),d=zi(e).height,p=fi(d&&St,fi(Wt-d,0)/2),s&&(Pi(e,{width:"",left:c,right:c}),Pi(e,n?"top":"bottom",p)),Pi(b,"display",""),Ee[o]=d+2*p}else e.offsetHeight?(Pi(e,{left:"auto",width:t-2*Tt}),d=e.offsetHeight+2,n?(d+=Nt,Pi(e,{bottom:"100%",marginBottom:Tt+Nt})):(d+=Ht,Pi(e,{top:"100%",marginTop:Tt+Ht})),Ee[o]=d,Pi(e,{width:"auto",left:0})):Pi(e,"display","none")}function to(t,e,o){var i=ve.fbSpacer,n=i&&i.firstChild,r=Ai(v.arrowSize,16),a=zi(H.Z);L=a.x-S/2,W=a.y-N/2,"center"!=t&&(i||(i=Re("fbSpacer",we,"div"),n=ei("i"),Fo(n,"fbIcon"),Pi([i,n],{color:v.arrowColor||kt,fontSize:r}),oi(n,i)),n.innerHTML=vo["tooltip"+t],Pi([i,n],{top:"",right:"",bottom:"",left:""}),"left"==t||"right"==t?(L+=((a.width+S)/2+r-1)*("left"==t?-1:1),W+=o,Pi(i,{top:fi(a.top-W-Tt,-Tt),height:si(N,a.height),width:r+1}),Pi(i,t,S-Tt-1)):(L+=e+S/5,W+=((a.height+N)/2+r-1)*("top"==t?-1:1),Pi(i,{left:fi(a.left-L-Tt,-Tt),width:si(S,a.width),height:r+1}),Pi(i,t,N-Tt-1)))}function eo(t){var e;ve._&&(t||(3==ve._&&(Pi(ue,mi),oi(be),be.src=yi,Pi(be,"opacity",1)),ce&&2==ve._?t=1:oo()),1==t&&(Lo.y=gi,qi(H.Z),be.src=ce,e=zi(ue),fo({$:be,left:e.left+Pt.left,top:e.top+Pt.top,width:e.width,height:e.height},[eo,2],Vt)),2==t&&(Pi(we,{opacity:0,visibility:""}),Pi(me,"opacity",1),oo(0,[eo,3])),3==t&&Li({$:we,opacity:1},[jo,[eo,4],!H.$&&377],V),4==t&&Li({$:be,opacity:0},[eo,5],H.$?0:V),5==t&&(oi(be),Pi(be,"borderWidth",0),be.src=yi,oo()))}function oo(t,e){var o;function i(){H.R=new To.YT.Player(ue)}ve._&&(t||(C=!1,H.x&&!e&&("youtube"==H.s&&(Ho.YT?i():(Ho.onYouTubeIframeAPIReady=i,Zo("https://www.youtube.com/iframe_api"))),ue.src!=H._&&(ue.src=H._)),1<st&&(Rt=m<st-1?m+1:O&&0,It=Ce[Et=m?m-1:O&&st-1]&&Ce[Et]._||null,Bt=Ce[Rt]&&Ce[Rt]._||null),xt&&(Do(ve.fbPrev,"href",It),Pi(ve.fbPrev,"opacity",It?"":.5),Do(ve.fbNext,"href",Bt),Pi(ve.fbNext,"opacity",Bt?"":.5)),Ct&&(Do([ve.fbPrevPanel,ve.fbPrev2],"href",It),Do([ve.fbNextPanel,ve.fbNext2],"href",Bt)),Pi(ve.fbPlayPause,"visibility",H.Y?"hidden":""),d&&Ei(1==d?we:ge,0,"BottomRight",1==d&&Tt),Pi(ge,"backgroundColor",ze.contentBackgroundColor||H.Y&&"black"||(H.x||H.t)&&"white"||""),2==ve._&&(wo(),Pi([ve.fbControls,ve.fbClose2],"visibility",""),"once"==v.showMagCursor&&Pi(H.Z,"cursor","")),Pi([me,ve.fbTopPanel,ve.fbBottomPanel,ze.header&&ve.fbHeader,ze.footer&&ve.fbFooter],"visibility",""),e?Qo(e):(uo(),Qo(H.Q),jo([fo,{$:lt?we:me,opacity:1},[oo,1],de&&V]))),1==t&&ve&&Ce&&(H.T||(H.T=!0,Le++),ft&&!H.Y&&jo(Xe,999*(v.slideInterval||4.5),1,Te),Wi(+Rt===Rt&&Ce[Rt].$&&Bt),2==ve._&&(v.autoEnd&&jo(ao,999*v.autoEnd,3,Te),jo([v.afterBoxStart,ve])),ve._<4&&(ze.noFocus||(o=ti(ue.contentWindow)||we,(o=Ro(['input[type="text"]',"textarea"],o,0)||o).focus()),jo([ze.afterItemStart,ve])),5==ve._&&jo(a),a=H.Q=gi,Ci(we),ve._=4))}function io(t,e,o){var i,n,r={left:L,top:W,width:$,height:M};if(4==ve._)if(!0!==t||lt){for(n in t=t||{},r)!0===t[n]&&(t[n]=r[n]),I&&("width"==n&&t.width&&!t.height?t.height=Oi(t.width,li.width)/I:"height"==n&&t.height&&!t.width&&(t.width=Oi(t.height,li.height)*I)),He[n]=0;Be=Ao({},Ie,t),$=M=u=g=gi,a=e,ve._=5,je(),Ke(),De([Ge,gi,o])}else i=zi(we),Ai(v.keepCentered,b||fi(i.width,mt)<li.width-2*w&&fi(i.height,wt)<li.height-2*w)&&io()}function no(t){ft&&(ht=t,Ko(1,Te),Pi(ve.fbPlay,"display",t?"":"none"),Pi(ve.fbPause,"display",t?"none":""),t||Xe("next"))}function ro(){var t=Ti(),e=t?t.$:0;!k&&ve.$<e&&(ve.$=e+1,co())}function ao(t,e){var o,i,n,r,a,l,h;if(e||(H&&1<ve._||ve.fbSlowLoad.parentElement)&&(We.active?jo([ao,t],77,3,Te):!1!==Qo(ze.beforeItemEnd,ve)&&!1!==Qo(v.beforeBoxEnd,ve)&&(ve._=0,e=1)),1==e){for(n in Te)Ko(n,Te);if(o=zi(ge),i=!ge.clientWidth||xe&&!0===t||o.left>li.width||o.top>li.height||o.right<0||o.bottom<0,!k&&!i)for(h=$o.length;h--;)(r=$o[h])&&r!=ve&&r.fbMain&&!r.Z&&(i=!0);mo(!1),Ft&&(Ft=0,wo()),i&&(Vt=0,Pi(we,"display","none")),ce=Vt&&null!==ce&&Ai(ze.zoomSource,H.$&&H._),Di(a=H.Z),c=so(oe),qi(a),lo([ao,t,2])}2==e&&(Co==ve&&(Pi(ko.documentElement,{marginTop:"",marginRight:""}),Pi(ko.body,"overflow",""),Co=gi,Hi()),Pi(we,"display","none"),be.src=ce||yi,ye?fo({$:ye,opacity:0},[ao,t,3],Mt):e=3),3==e&&(Pi(ye,"display","none"),ce?fo({$:be,opacity:0},[ao,t,4],.3):e=4),4==e&&(be.src=yi,ho(),H.r&&(H._=H.r),Qo(v.afterBoxEnd),t&&t.call&&Qo(t),(r=!0===t&&Ti())&&r.end(t),"self"==(l=""+t===t&&t||ze.loadPageOnClose||v.loadPageOnClose)?To.location.reload(!0):"back"==l?To.history.back():l&&(To.location.href=l))}function lo(t,e){var o;e||(ce?po([lo,t,1],!0):e=4),1==e&&(Pi(be,"opacity",0),be.src=ce,o=zi(ue),Pi(be,{left:o.left+Pt.left,top:o.top+Pt.top,width:o.width,height:o.height}),oi(be,pe),Li({$:be,opacity:1},[lo,t,2],H.$&&0)),2==e&&(H.Y&&oi(ue),Li({$:we,opacity:0},[lo,t,3],V)),3==e&&(Pi(we,"display","none"),fo(Ao({$:be},c),[De,t],Vt)),4==e&&(y&&1==d&&Ei(we,y,"BottomRight",Tt),De([lo,t,5])),5==e&&(Pi([me,ve.fbHeader,ve.fbFooter,ve.fbClose2],"display","none"),te&&(o=zi(we),fo({$:we,left:o.x-Jt/2+Pt.left,top:o.y-Jt/2+Pt.top,width:Jt,height:Jt},0,Vt,o.width<o.height?"x":"y")),fo(o={$:we,left:c.left+c.width/2,top:c.top+c.height/2,width:0,height:0,borderWidth:0},t,Vt))}function ho(){var t;for(t in $o[xe]=gi,Ti()||($o.length=0,Vo(bi)),Ti(gi,!0)||Pi(ko.documentElement,"touchAction",""),Vo(_e),Te)Ko(t,Te);for(t=Mo.length;t--;)Mo[t]&&Mo[t].X==ve&&(Mo[t]=gi);for(t=Lo.length;t--;)Lo[t]&&Lo[t].X==ve&&(Lo[t]=gi);for(t=$e.length;t--;)Do($e[t],"tabindex",Me[t]);for($e.length=0;ke.length;)oi(ve[ke.pop()]);ve={},pe=ue=ge=be=me=we=ye=gi}function fo(t,e,o,i,n){var r,a,l=[];if(t)if(We.active)Se.push([fo,t,e,o,i,n]);else{for(ui(t)||(t=[t]),a=0;a<t.length;a++)(r=t[a])&&(r=Ao(r),i&&ii(r.$,"div")&&("x"==i?(ri(r,"left"),ri(r,"right"),ri(r,"width")):(ri(r,"top"),ri(r,"bottom"),ri(r,"height"))),l.push(r));i?Se.push([fo,t,e,o,0,n]):h=e,Li(l,fo,o,i?1:gi,n,o&&We)}else jo(h),jo(Se.shift()),h=gi}function so(t){var e,o,i,n,r,a=-xi,l=-xi,h=0,f=0,s=Eo(t),d=!s&&!1!==v.showThis&&H.y,c=null===t?t:s||d;return ae=ae||Ao(li),c&&(e=zi(c,To),d&&ce&&"start"!=t?(o=_i(d,"padding"),i=_i(d,"border"),a=e.left+o.left+i.left,l=e.top+o.top+i.top,h=e.width-o.left-o.right-i.left-i.right,f=e.height-o.top-o.bottom-i.top-i.bottom):(a=e.x,l=e.y),"start"==t&&(ne=e.x,re=e.y)),r=l+f/2,((n=a+h/2)<7||n>li.width||r<7||r>li.height)&&(l=ne&&null!==t?(a=ne+ae.left-li.left,re+ae.top-li.top):(a=li.width/2,li.height/3),h=f=0),{left:a+Pt.left,top:l+Pt.top,width:h,height:f}}function co(){var t=v.zIndex||xi,e=["fbOverlay","fbMain","fbPrevPanel","fbNextPanel","fbPrev2","fbNext2","fbResizer","fbFloater","fbClose2","fbDragger"],o=e.length;for(t+=o*ve.$-o+1;o--;)Pi(ve[e[o]],"zIndex",t+o)}function po(t,e,o){var i=H.$&&ue&&2<ue.offsetWidth-ge.clientWidth;return t&&(i?fo({$:ue,left:0,top:0,width:$,height:M},[po,t,!0],+o===o?o:Vt):(Pi(ue,mi),e&&Qo(t))),i}function uo(t){var e,o,i,n,r,a,l,h,f=H.$,s=Eo(ze.useMap),d=Wo[H._],c=ve.fbResizer,p=po();if(Pi([c,ve.fbPrevPanel,ve.fbNextPanel,ve.fbPrev2,ve.fbNext2],"display","none"),Pi(ue,"cursor",""),Vo(ge,"mousemove",go),ve._&&bo(!1),Gt=1,!t){if(p||Pi(ue,mi),f&&(e=zi(ue),Ot&&(p||12<e.width-u||12<e.height-g?(Gt=3,o=Po):(e.width-u<-32||e.height-g<-32)&&(Gt=2,o=_o),o&&(1&Yt&&Pi(ue,"cursor",o),2&Yt&&(c.firstChild.innerHTML=vo.zoom,Pi(Ro("path",c,-1),"display",3==Gt?"none":""),Pi(c,"display","")))),p&&!1!==v.hoverPan&&Oo(ge,"mousemove",go),s&&s.id&&d)){for(l=(i=Ro("area",s)).length;l--;)if((n=i[l])&&(r=Do(n,"data-coords"),a=Do(n,"coords"),/,/.test(a))){for(r||(r=ni(a,/\s/g,""),Do(n,"data-coords",r)),h=(a=r.split(",")).length;h--;)a[h]=a[h]*(h%2?e.height/d.height:e.width/d.width);Do(n,"coords",a.join(","))}Do(ue,"usemap","#"+s.id)}Ct&&(!f||xo||p||Pi([It&&ve.fbPrevPanel,Bt&&ve.fbNextPanel],{width:Ai(v.navOverlayWidth,30)+"%",backgroundColor:"rgba(0,0,0,0)",display:""}),Qt&&Pi([It&&ve.fbPrev2,Bt&&ve.fbNext2],{top:Ai(v.navOverlayPos,33)+"%",visibility:!0===Qt||!f||xo&&!zt?"":"hidden",display:""})),bo(!0),mo(Ai(E,!xo&&S<li.width&&N<li.height))}}function go(t){var e;xo||t.buttons||(e=zi(ge),Pi(ue,{left:si(-.5,fi($-u+.5,(t.clientX-e.left-nt)*($-u)/$)),top:si(-.5,fi(M-g+.5,(t.clientY-e.top-nt)*(M-g)/M))}))}function bo(t){if(ue){var e=ue.contentDocument;Pi(e?e.documentElement:ge,"overflow",!t||!1===ze.contentScroll||H.$||H.W?"hidden":"auto")}}function mo(t){var e,o;Pt={left:li.left-n.left,top:li.top-n.top},!!t===t&&(e=t?hi:Pt,o=zi(we),Pi(we,{position:t?"fixed":"absolute",left:o.left+e.left,top:o.top+e.top}))}function wo(){var t,e,o="";Ft&&(e="drop"==Dt?(t=1,-.3):"halo"==Dt?(t=0,.7):(t=.25,.45),o=[t*=Ft,t,.8*Ft,e*=Ft,"rgba(0,0,0,"+Xt+")"].join("px ")),Pi(we,"boxShadow",o)}return Ao(ve,{Z:k,$:e,showItem:Xe,resize:io,pause:no,reload:function(t){H&&H.V&&(H.r||(H.r=H._),H._=t||Uo(H._,{no_cache:pi()})._,Xe("reload"))},goBack:function(){Zt&&$i(Zt,{sameBox:!0})},end:ao,y:function(t,e,o){var i;ve._=1,!t&&!1===Qo(o.beforeBoxStart)||!1===Qo(o.beforeItemStart,ve)?t||ho():(function(t,e){var o,i,n,r=e.randomOrder;for(dt=!0,j=!1,Ce.length=0,n=0;n<Mo.length;n++)(o=Mo[n])&&(i=o.z,o.v&&(o==t||!0===o.X||i.group&&i.group==e.group&&o.Z&&ki(o.Z.ownerDocument,o.Z))&&(Ce.push(o),o.T=!1,o.u=r?ci(xi):i.order||Ce.length,!0===o.X&&(o.X=ve,o.u=-o.u),o.$?j=!0:dt=!1));if(st=Ce.length)for(Ce.sort(function(t,e){return t.u-e.u}),m=r?0:st-1;m&&Ce[m]!=t;)m--}(e,o),st?(at=e.o,lt=e.P,Zt=H,At=m,ve.z=H=Ce[m],ze=o,t?ve._=3:(ai.type&&(ne=ai.x,re=ai.y),function(){var t,e,o;v=Ao(ze),Z=!1!==v.enableDragMove,d=xo||!v.enableDragResize?0:dt&&"content"==v.draggerLocation?2:1,y=Ai(v.outerBorderRadius,Ai(v.boxCornerRadius,8)),f=Ai(v.innerBorderRadius,Ai(v.contentCornerRadius,0)),Dt=v.shadowType||"drop",Ft="none"==Dt?0:Ai(v.shadowSize,12),Xt=Ai(v.shadowOpacity,.4),Tt=Ai(v.outerBorder,1),nt=Ai(v.innerBorder,1),Wt=Ai(v.padding,20),St=Ai(v.panelPadding,6),Nt=Ai(v.headerGap,0),Ht=Ai(v.footerGap,0),w=Ai(v.autoFitSpace,5),Lt=k?Ai(v.overlayOpacity,.55):0,de=Ai(v.transitionTime,.8),et=v.imageTransition,Mt=Lt&&Ai(v.overlayFadeTime,.4),Vt=Ai(v.resizeTime,.7),V=Ai(v.fadeTime,.4),it=!1!==v.inFrameResize,te=Vt&&v.splitResize,Jt=120,jt=v.showHints,le=!1!==v.stickyMove,he=!1!==v.stickyResize,qt=!1!==v.showClose,Kt=!1!==v.showControlsText,p=!1!==v.enableKeyboardNav,ee=v.startAt,"start"==(oe=v.endAt)&&(oe=ee);Wi(ce=Vt&&Ai(ze.zoomSource,H.$&&H._)),e={black:["black","black","#888","#ccc","#aaa","#ddd"],blue:["#124","#0b183b","#777","#9ab","#aaa","#ddd"],white:["black","white","#555","black","#555","black"],yellow:["#bbb","#ed9","#611","#733","#733","#600"],red:["#211","#511","#865","#965","#ca8","#eca"]}[v.colorTheme||H.$&&"black"||H.Y&&"blue"]||["black","#ccc","black","black","#444","black"],$t=v.overlayColor||e[0],r=v.boxColor||e[1],kt=v.outerBorderColor||e[2],rt=v.innerBorderColor||e[3],se=v.textColor||e[4],fe=v.strongTextColor||e[5],1<st&&(e=v.navType,xt=1&(e="none"==e?0:"button"==e?1:"overlay"==e?2:"both"==e||dt?3:1),Ct=2&e,Qt=Ai(v.showNavOverlay,1),A=!1!==v.enableSwipeNav,_t=v.numIndexLinks,ot=v.indexPos||"br",ft=v.doSlideshow,Ut=ft&&!1!==v.showPlayPause,O=ft||!1!==v.enableWrap,ht=v.startPaused,Q=!1!==v.showItemNumber);s=(qt||Ut||xt)&&(v.controlsPos||"br"),Yt="topleft"==(Yt=v.resizeTool)||v.contentClickCloses?2:"both"==Yt||xo?3:1,!1===v.doAnimations&&(Vt=V=de=Mt=0);0==(et=de&&"none"!=et?"slide"==et?2:"expand"==et?3:"shift"==et?4:"fade"==et?5:1:0)&&(de=0);/\|/.test(r)&&(Y=r.split("|"),e=+ni(Y[0],"#","0x"),e+=+ni(Y[1],"#","0x"),r="#"+(e/2).toString(16));o=st;for(;o--;)t=Ce[o].z,X=X||t.caption,F=F||t.caption2,K=K||t.info,G=G||!Ce[o].W&&t.showPrint,U=U||t.showNewWindow,q=q||t.header,D=D||t.footer;Ao(ve,{Y:Ai(v.outsideClickCloses,k),name:(v.instanceName||H.O)+"",w:ft,W:st})}(),Ne&&Ne.pause(!0),k&&(function(){var t;$e=Bo.select("*"),t=$e.length;for(;t--;)Me[t]=Do($e[t],"tabindex"),Do($e[t],"tabindex",-1)}(),Pi(ko.documentElement,"touchAction","pinch-zoom")),function(){var t,e,o;be=Re("fbFloater",0,"img"),Re("fbSlowLoad",0,"img"),Lt&&(ye=Re("fbOverlay"));we=Re("fbMain"),q&&Re("fbHeader",we);D&&Re("fbFooter",we);v.showOuterClose&&Re("fbClose2",we,"a",1,"close2");Re("fbBackground",we),me=Re("fbLiner",we),pe=Re("fbTopPanel",me),Re("fbCell_tl",pe,"span"),Re("fbCell_tc",pe,"span"),Re("fbCell_tr",pe,"span"),ge=Re("fbContentWrapper",me),Ct&&(Re("fbPrevPanel",ge,"a"),Re("fbNextPanel",ge,"a"),Re("fbPrev2",ge,"a",2,"prev2"),Re("fbNext2",ge,"a",3,"next2"));j&&Re("fbResizer",ge,"span",6,"zoom");pe=Re("fbBottomPanel",me),Re("fbCell_bl",pe,"span"),Re("fbCell_bc",pe,"span"),Re("fbCell_br",pe,"span"),_t&&Re("fbIndex",ve["fbCell_"+ot],"span");s&&(e=Re("fbControls",ve["fbCell_"+s],"span"),xt&&(pe=Re("fbNav",v.centerNav?ve["fbCell_"+ni(s,/[lr]/,"c")]:e,"span"),t=Bo.smallScreen&&!Kt?3:"",Re("fbPrev",pe,"a",2,"prev"+t,"Right"),Re("fbNext",pe,"a",3,"next"+t,"Left")),Ut&&(pe=Re("fbPlayPause",e,"span"),Re("fbPlay",pe,"a",4,"play","Left"),Re("fbPause",pe,"a",5,"pause","Left")),qt&&Re("fbClose",e,"a",1,Kt?"close":"close3","Left"));F&&Re("fbCaption2",ve["fbCell_"+(v.caption2Pos||"tc")],"span");X&&Re("fbCaption",ve["fbCell_"+(v.captionPos||"bl")],"span");K&&Re("fbInfo",Re("fbWidgets_"+(t=v.infoLinkPos||"bl"),ve["fbCell_"+t],"span"),"a",0,"info","Right");G&&(t=v.printLinkPos||"bl",Re("fbPrint",ve["fbWidgets_"+t]||Re("fbWidgets_"+t,ve["fbCell_"+t],"span"),"a",0,"print","Right"));Q&&(t=v.itemNumberPos||"bl",Re("fbItemNumber",ve["fbWidgets_"+t]||Re("fbWidgets_"+t,ve["fbCell_"+t],"span"),"span"));U&&(t=v.newWindowLinkPos||"tr",Re("fbNewWindow",ve["fbWidgets_"+t]||Re("fbWidgets_"+t,ve["fbCell_"+t],"span"),"a",0,"newWindow","Right"));d&&Re("fbDragger",1==d?me:ge,"div",0,"dragger");/l/.test(s)&&(oi(ve.fbPlayPause,e),oi(ve.fbNav,e));/b/.test(s)&&oi(e,e.parentElement);_t&&/t/.test(ot)&&oi(ve.fbIndex,ve.fbIndex.parentElement);(pe=Eo(v.attachTo,Io))&&pe.offsetParent||(pe=Io.body);Pi([ye,we],"visibility","hidden"),oi(ye,pe),oi(we,pe),n=pe==Io.body?{left:0,top:0}:(n=zi(we.offsetParent),o=_i(we.offsetParent,"border"),{left:n.left+o.left+li.left,top:n.top+o.top+li.top});Pt={left:li.left-n.left,top:li.top-n.top}}(),function(){var t,e,o=ve.fbClose2;Pi([o,me,ve.fbControls,ve.fbHeader,ve.fbFooter],"visibility","hidden"),Pi([ve.fbTopPanel,ve.fbBottomPanel],"color",fe),Pi([ve.fbItemNumber,ve.fbNewWindow],"color",se),Pi(we,"borderColor",kt),Pi(ge,"borderColor",rt),t=v.boxBackgroundImage,Pi(ve.fbBackground,{backgroundColor:r,backgroundImage:t?"url("+t+")":Y?"linear-gradient("+Y.join(",")+")":""}),ie=so(ee),Pi(we,Ao({borderWidth:0},ie)),Pi(ge,"borderWidth",nt),o&&(e=v.detachOuterClose?(Pi(o,"position","fixed"),w):zi(o).width/-2-Tt,Pi(o,{top:e,left:e,right:e}),Pi(o,"tl"==v.outerClosePos?"right":"left",""),Pi(Ro("circle",o,0),"fill",r));Ut&&(Pi([ve.fbPlay,ve.fbPause],"width",fi(_i(ve.fbPlay,"width",!0),_i(ve.fbPause,"width",!0))),Pi(ve[ht?"fbPause":"fbPlay"],"display","none"));y&&Ei(we,y,"",Tt);f&&Ei(ge,f);co(),ce&&(Lo.y=!0,Pi(be,ie),be.src=H.p||yi,oi(be,pe))}(),function(){xe||bi.push(Oo(ko,"keydown",Ze));_e.push(Oo(we,["touchstart","mousedown"],function(){var e,o,i,n,r,a,l,h,f,s,d,c,p,u,g,b,m,w,y,v,x,C,z,_=[];return function(t){4!=ve._||!xo&&t.button||(e=t.touches,o=e?e[0]:t,i=o.target,x=i.fbName||"",n=i.ownerDocument.documentElement,r=ko.body.style,a=r.cursor,l=o.clientX,h=o.clientY,u="fixed"==_i(we,"position")?hi:Pt,g=po(),(f=zi(ue)).left-=L+Tt+Wt+nt,f.top-=W+Tt+Ee.fbTopPanel+nt,f.x=f.left/($-f.width),f.y=f.top/(M-f.height),_.push(Oo(n,e?"touchend":"mouseup",T)),H.x&&Pi(ue,"pointerEvents","none"),k||lt||"fbHeader"==x||"fbFooter"==x||ro(),b=m=B=p=c=y=w=!1,1!=Gt&&e&&2==e.length?(s=o.clientX-e[1].clientX,d=o.clientY-e[1].clientY,w=s*s+d*d):ki(ve.fbDragger,i)?(r.cursor="nw-resize",p=!0):ki(ge,i)?po()?b=!0:H.$&&(e&&A?m=!0:c=Z):!Z||!/^fb/.test(x)||ki(ve.fbHeader,i)||ki(ve.fbFooter,i)||ii(i,"object")||(c=!0),(w||b||m||p||c)&&(Yo(t),_.push(Oo(n,e?"touchmove":"mousemove",P,e&&{passive:!1}))))};function P(t){e=t.touches,o=e?e[0]:t,v=!w&&e&&e[1]||o.target.ownerDocument!=ko,0===t.buttons&&T(),ve._&&we&&!v&&(w&&e&&2==e.length?(s=o.clientX-e[1].clientX,d=o.clientY-e[1].clientY,2777<(s*s+d*d-w)*(2==Gt?1:-1)&&(Ye(o),w=!1)):(s=o.clientX-l,d=o.clientY-h,!y&&9<s*s+d*d&&(y=!0,Ni(),Ko(1,Te)),y&&(b?Pi(ue,{left:fi(si(f.left+s,0),$-f.width),top:fi(si(f.top+d,0),M-f.height)}):m?!B&&50<di(s)&&(B=zt=!0,T(),Xe(0<s?"prev":"next")):c?Pi(we,{left:L+u.left+s,top:W+u.top+d}):p?(5!=ve._&&(ve._=5,De()),I&&(s=(C=s+d)-(d=C/(I+1))),z=Ri($+2*s,M+2*d,gt,bt,I,!1,-1),z=Ri(z.width,z.height,yt,vt,I,!0,1),s=(z.width-$)/2,d=(z.height-M)/2,Pi(we,{left:L+Pt.left-s,top:W+Pt.top-d,width:S+2*(s-Tt),height:N+2*(d-Tt)}),g&&(ge.clientWidth<f.width?Pi(ue,{left:si(0,f.left+2*s*f.x),top:si(0,f.top+2*d*f.y)}):(g=!1,Pi(ue,mi)))):v=!0)),v||(Yo(t),To.getSelection().removeAllRanges()),jo(T,1777,4,Te))}function T(t){Ko(4,Te),Vo(_),r.cursor=a,Pi(ue,"pointerEvents"),ve._&&(y?p?(L-=s,W-=d,$+=2*s,M+=2*d,He.width+=2*s,He.height+=2*d,ct=zi(ge).top,Ge(!1,0),uo()):c&&(L+=s,W+=d,He.left+=s,He.top+=d):t&&(H.x&&Xo(t.target,"fbx")&&(Do(we,"tabindex",0),we.focus()),ai.type&&Ve(t)))}}()),Oo([ve.fbPrevPanel,ve.fbNextPanel],["mouseover","mouseout"],Ae),Oo(ve.fbNewWindow,"click",Oe),at&&Oo(we,["mouseover","mouseout"],Xi))}(),ye&&(i=v.overlayBackgroundImage,Pi(ye,{backgroundColor:$t,backgroundImage:i?"url("+i+")":"",visibility:"",opacity:0}),fo({$:ye,opacity:Lt},gi,Mt)),ve._=2),Fe()):t||ho())},x:ro,X:Ze}),$o.push(ve),ve}function Ci(t){var e,o,i;if(t===gi){for(i=Mo.length;i--;)(e=Mo[i]&&Mo[i].Z)&&(e.fbx=e.tip=e.onclick=gi,Vo(e,["touchend","click","contextmenu","mouseover","mouseout"],Xi));Mo.length=0}o=A(t),!1!==t&&H.t(t,o),function(t,e){var o,i,n,r,a,l={autoFitSpace:2,minWidth:0,minHeight:0,enableDragMove:!1,enableDragResize:!1,innerBorder:0,outerBorder:1,outsideClickCloses:!0,padding:0,contentScroll:!1,showClose:!1,showOuterClose:!1,titleAsCaption:!1,outerBorderRadius:4,fadeTime:.2,shadowSize:4,shadowType:"drop"},h=Ao({},l,{boxLeft:"click",boxTop:"click",outerBorderRadius:0,fadeTime:0,shadowSize:8,shadowType:"hybrid"});for(a=0;a<t.length;a++)o=t[a],i=Xo(o,f),(n=Go(Do(o,"data-fb-"+(i?"context":"tooltip")))).source&&!Mo[o.tip]&&(Fo(n,B(o)),n.Z=i?h:l,(r=V(gi,e,n))&&(r.Z=o,r.P=!0,r.o=!i,o.tip=Mo.length-1,(n=r.z).modal=n.sameBox=!1,n.resizeTime=0,n.group=null,Oo(o,i?["touchend","right"!=n.contextMouseButton&&"click","left"!=n.contextMouseButton&&"contextmenu"]:["mouseover","mouseout",!ii(o,["a","area"])&&"touchend"],Xi)))}(Ro("."+f+",."+n,t),o),Fi(Ro('a[class*="fbPop"]',t),o),function(t){var e,o,i,n,r,a,l,h,f,s,d;for(s=0;s<t.length;s++)if((e=t[s])&&!v[e.fbx]){var c=[],p=Ao({},M,Go(e)),u=[].slice.call(e.children);for(d=0;d<u.length;d++)h=u[d],(o=ii(h,["img","div","a"]))&&("img"==o?h=Y(n=h,"div"):n=Ro("img",h,0),(r=Do(n,"data-fb-src")||/\.(jpe?g|png|gif|webp)\b/i.test(Do(n,"longdesc"))&&r||Do(n,"src"))&&((a=Ro("span",h,0))||(i=!1!==p.titleAsCaption&&Do(n,"title")||p.altAsCaption&&Do(n,"alt")||"")&&(a=ei("span",i),oi(a,h)),c.push({Z:h,z:r,_:n,$:a})));if(1<c.length){var g=Ai(p.cycleZoom,.2),b=p.cyclePauseOnClick,m=b&&!1!==p.cycleShowControls&&(p.cycleControlsPos||"bl");x=p.cycleInterval||x,l=oi(ei("i"),e),Pi([oi(ei(o=g?"canvas":"img"),l),oi(ei(o),l),l],{position:"absolute",left:0,top:0,padding:0,borderWidth:0,margin:0,width:"100%"}),h=m&&oi(ei("i"),e),Fo(h,"fbCyclerControl"),e.fbx=f=v.length,v.push({Z:e,y:c,$:c.length-1,_:b&&p.cycleStartPaused,Y:h,x:l,z:{step:1},X:Ai(p.cycleFadeTime,1.7),w:g,W:p.cycleEasing||1.4,v:p.cycleInflection,V:m}),tt(f,0,!0),Oo(e,b?["touchend","click"]:p.cyclePauseOnHover?["mouseover","mouseout"]:gi,U)}}v.length&&!y[6]&&jo(J,377*x,6)}(Ro("."+r,t))}function zi(t,e){t=Eo(t);var o,i,n={left:0,top:0,width:0,height:0},r=ii(t),a=r&&ti(t);return a&&(e=e&&ti(e)||a,n="area"==r?function(t){var e,o,i,n,r,a,l,h,f,s,d,c=w,p=w,u=0,g=0;if(o=Ro('img[usemap="#'+t.parentElement.name+'"]',t.ownerDocument,0)){if(e=zi(o),n=ni(Do(t,"coords")||"",/\s+/g,"").split(","),h=+n[0],f=+n[1],s=+n[2],r=Do(t,"shape"),!(i="rect"==r?[h,f,s,+n[3]]:"circle"==r?[h-s,f-s,h+s,f+s]:"default"==r?[0,0,e.width,e.height]:0)){for(d=n.length;d--;)s=+n[d],d%2?(p=si(p,s),g=fi(g,s)):(c=si(c,s),u=fi(u,s));i=[c==w?0:c,p==w?0:p,u,g]}l=_i(o,"border"),a=_i(o,"padding"),e={left:e.left+l.left+a.left+i[0],top:e.top+l.top+a.top+i[1],width:i[2]-i[0],height:i[3]-i[1]}}return e}(t)||n:{left:(i=t.getBoundingClientRect()).left,top:i.top,width:i.width,height:i.height},(o=a.fb&&a.fb.data.l)&&(n.left-=o.left,n.top-=o.top),a!=e&&(o=X(a,e),n.left-=o.left,n.top-=o.top)),n.right=n.left+n.width,n.bottom=n.top+n.height,n.x=n.left+n.width/2,n.y=n.top+n.height/2,n}function c(t){var e=(t=ti(t)||Ho).document.documentElement,o=t.visualViewport;return o?{left:o.pageLeft,top:o.pageTop,width:o.width,height:o.height}:{left:t.pageXOffset||0,top:t.pageYOffset||0,width:si(e.clientWidth||xi,t.innerWidth||xi),height:si(e.clientHeight||xi,t.innerHeight||xi)}}function _i(t,e,o){var i,n,r,a,l,h,f={padding:"",border:"-width",margin:""},s=["left","bottom","right","top"],d={};if((t=Eo(t))&&(n=(n=Ho.getComputedStyle)&&ii(t)?n(t):t.style))if(e){if(e in f)for(r=o=!0,h=s.length;h--;)d[s[h]]=e+"-"+s[h]+f[e];else d[e]=e;for(e in d)i=n[Vi(d[e])],o&&(i=Yi(i)),d[e]=i;r&&(i=d)}else{if(!(i=n.cssText||"")){for(e in a={},n)(""+(l=/[a-z]/i.test(e)&&["cssText","length"].indexOf(e)<0&&n[e])===l&&l||+l===l)&&(a[Vi(e,!0)]=l);for(e in a)i+=e+":"+a[e]+";"}i=ni(i,/-?(webkit|ms|moz)-[^;]+;/g,"")}return i}function Pi(t,e,o){var i,n,r;if(t=Eo(t)||Ro(t),ui(t))for(r=t.length;r--;)Pi(t[r],e,o);else if(i=t&&t.style)if(""+e===e)+o===o&&(o+="opacity"==e||"zIndex"==e?"":"px"),o=o?""+o:"",i[e]=o;else for(n in e)Pi(t,n,e[n])}function Ti(t,e){var o,i,n,r=-1;for(n=$o.length;n--;)(i=$o[n])&&i._&&(t?i.name!=t&&0!=i.z._.indexOf(t)||(o=i):i.$>r&&(!e||i.Z)&&(r=i.$,o=i));return o}function A(t){var e,o,i,n=ti(t);if(n)for(i=$o.length;i--;)if((e=$o[i])&&e._&&(o=e.fbContent&&e.fbContent.contentWindow,ki(e.fbMain,t)||t==o||n==o))return e}function ki(t,e){t=Eo(t),e=Eo(e);var o,i=ti(t),n=ti(e);return i&&n&&(t!=i&&t!=i.document||(t=i.document.documentElement),e!=n&&e!=n.document||(e=n.document.documentElement),ii(e)||(e=e.parentElement),o=n==i?t.contains(e):ki(t,n.frameElement)),o}function $i(t,e){var o,i,n,r,a,l,h,f,s,d,c;if(e=Go(e),t=t?Mo[t.fbx]||t:e.source){for(ui(t)||(t=[t]),c=t.length;c--;)(a=t[c])&&(o=a._?a:V(a,!0,e));if(n=o&&o._){if(i=Ao({},o.z,e),!o.v){for(c=Mo.length;c--&&(!o.v||o._!=n);)(s=Mo[c])&&s.z.group==i.group&&(o=s);Ao(i,o.z,a.z)}if(i.newWindow)r=So[n],Zi(o.V?n:Ii("body",r&&r.outerHTML||n));else{if(l=Ti()){if(!l.Z)for(c=$o.length;c--;)(s=(f=$o[c])&&f.z)&&!f.Z&&s._==n&&s.Z==o.Z&&(f.x(),d=!0);h=i.sameBox&&l.z&&!l.z.P}d||(h||(l=p(!1!==i.modal)),jo([l.y,h,o,i]))}}}}function Mi(o,i){_(o,"object")&&(o=(i=o).source||i.url);var t,n="XMLHttpRequest",r=(i=i||{}).failure,e=i.postData,a=i.headers||{},l=Eo(i.$||i.updateNode);try{for(t in(o=Uo(o,!1===i.cacheable&&{no_cache:pi()})).Z==R.Z&&(a["X-Requested-With"]=n),e&&(e=s(e)||e,a["Content-Type"]="application/x-www-form-urlencoded"),(n=new Ho[n]).open(e?"POST":"GET",o._),a)n.setRequestHeader(t,a[t]);i.timeout&&jo(n.abort,+i.timeout,o._),n.onreadystatechange=function(){var t,e={};4==n.readyState&&(Ko(o._),Ao(e,n,{responseJSON:C(n.responseText)}),/^2|304/.test(t=e.status)&&(ii(l)&&(Bi(l,e.responseText,!0),Ci(l)),r=i.success),Qo(t&&r,e),Qo(i.finish||i.callback,e))},n.send(e)}catch(t){Qo(r,n)}}function u(t){t=Io.forms[t]||Eo(t);var e,o,i,n,r,a,l,h,f,s,d,c,p={},u={};if(ii(t,"form"))for(e=Ro("*",t),d=0;d<e.length;d++)if(i=!(o=e[d]).disabled&&o.name)if(n=o.value,r=ii(o),a=(Do(o,"type")||"").toLowerCase(),f=gi,ai.type&&ki(o,ai.$)&&("image"==a&&("keydown"==ai.type?f={left:ai.x,top:ai.y}:(f=zi(o),s=_i(o,"border"),f.left+=s.left,f.top+=s.top)),r=a="input"),"input"==r){if(["file","image","reset","submit"].indexOf(a)<0){if("radio"==a)if(u[i])i=gi;else{for(u[i]=!0,n=gi,c=(l=Ro('input[name="'+i+'"]',t)).length;!n&&c--;)l[c].checked&&(n=l[c].value);n||(i=gi)}else"checkbox"==a&&(o.checked?n=n||"on":i=gi);i&&(f?(p[i+".x"]=m(ai.x-f.left),p[i+".y"]=m(ai.y-f.top)):g(p,i,n))}}else if("select"==r)for(l=Ro("option",o),c=0;c<l.length;c++)(h=l[c]).selected&&g(p,i,null!==Do(h,"value")?h.value:h.text);else"textarea"==r&&(p[i]=n);return p}function Li(t,s,d,c,p,u){d=+d===d?d:Ai(M.animationTime,1),c=+c===c?c:Ai(M.inflection,.5),p=+p===p?p:Ai(M.easing,2.5);var e,o,g,i,n,r,a,b,m,w,l,h,y=_(u,"function"),v=!u||y?{}:u,x=c/P(c,p)||1,C=(1-c)/P(1-c,p)||1,f=0,z=[];for(ui(t)||(t=[t]),l=0;l<t.length;l++)if(g=t[l],e=Eo(g.$)||Ro(g.$))for(r in ui(e)||(e=[e]),g)if("$"!=r)for(h=0;h<e.length;h++)(o=Eo(e[h]))&&(a=g[r],i=_i(o,"borderWidth"==r?"borderLeftWidth":r,!0),f=fi(f,di(n=a-i)*("opacity"==r?700:1)),z.push([o,Vi(r),i,n]));(d=Yi(d))<77&&(d*=999*P(si(f,1500)/700,.5)),v.step=0,v.active=!0,function t(){var e,o,i,n;y&&u(v);m=pi();b=b||(w=m-7);o={};i=si(1,d?fi(v.step,(m-b)/d):1);i<1&&(Ho.requestAnimationFrame||jo)(t);if(i<1&&(Io.hidden||!v.active))b+=m-w;else{for(v.step=i,e=1==p?i:i<c?x*P(i,p):1-C*P(1-i,p),n=0;n<z.length;n++){var r=z[n],a=r[0],l=r[1],h=r[2],f=r[3];a.canvas?(o.$=a,o[l]=h+f*e):Pi(a,l,h+f*("opacity"==l?i:e))}(g=o.$)&&g.img&&g.img.src&&g.drawImage(g.img,o.left,o.top,o.width,o.height)}w=m;1<=i&&(v.active=!1,v.step=1,Qo(s))}()}function Wi(t,o){var e,i,r=S+"404.png",a=[];function l(i,n){var t,e;if(Wo[n]){for(a[i]=Wo[n],t=!0,e=a.length;e--;)t=t&&_(a[e].ok,"boolean");t&&Qo(ui(o)?o:[o,a[1]?a:a[0]])}else a[i]=ei("img"),a[i].onload=a[i].onerror=function(t){var e=this,o=-1<e.src.indexOf(r);"load"==t.type||o?(e.ok=!o,e.onload=e.onerror=gi,Wo[n]=e,l(i,n)):(Do(e,{width:null,height:null}),e.src=r)},a[i].src=n}for(ui(t)||(t=[t]),i=0;i<t.length;i++)(e=t[i])&&a.push(e.src||e);for(a.length||Qo(o),i=0;i<a.length;i++)l(i,a[i])}function Si(t,e,o){var i,n,r,a,l,h,f="",s=(t=Eo(t)||{}).outerHTML,d=ii(t,"iframe"),c=ti(d?t.contentWindow:t),p=c&&c.document;if(I.L=function(){(i=this).document.body.focus(),!1!==Qo(o.beforePrint,i)&&jo(function(){i.print(),i.close()})},p){for(d&&(s=(t=p.body).innerHTML,n=(n=Do(t,"style"))&&n.cssText||n),r=Ii("base",!1,["href",Uo(c.location.href).$]),s=Ii("body",ni(s,/<script[^>]*>([\s\S]*?)<\/script>/gi,""),["style",n]),a=Ii("script",'opener.fb.addEvent(self,"load",opener.fb.data.L)'),l=Ro(["link","style"],p),h=0;h<l.length;h++)f+=l[h].outerHTML;f+=Ii("style","html,body{border:0;margin:0;padding:0}"+(d?"html":"body")+"{background:"+_i(t.parentElement,"backgroundColor")+"}"),e&&(/\.css(\?|$)/i.test(e)?f+=Ii("link",!1,["rel","stylesheet","href",e]):f+=Ii("style",e)),Zi(Ii("head",r+f+a)+s)}}function C(t){try{return Ho.JSON.parse(t)}catch(t){}}function z(t,e,o){return t=ui(t=t||"")?t.join(",."):ni(t,/\s+/g,"."),Ro("."+t,e,o)}function T(t,e){return Ao({padding:_i(t,"padding"),border:_i(t,"border"),margin:_i(t,"margin")},zi(t,!e&&To))}function Ni(t,e,o){if(t){var i,n,r,a,l,h,f=t.type,s=t.changedTouches&&t.changedTouches[0]||t,d=s.target,c=s.clientX-(e||0),p=s.clientY-(o||0),u=s.keyCode;if((li.width<c||li.height<p)&&(f=gi),+e!==e&&(c-=b.left,p-=b.top),"touchstart"==f||"mousedown"==f&&!ai.type)Bo.usingTouch=xo="touchstart"==f,xo?t.touches[1]?Ni():(a=c,l=p):s.button||(a=c,l=p);else if("keydown"!=f||13!=u&&27!=u&&32!=u){if(("touchend"==f||"mouseup"==f&&!xo)&&(ai.type?64<(c-=ai.x)*c+(p-=ai.y)*p&&Ni():xo&&!t.touches.length&&Hi(),d&&ai.type&&!s.button))for(ji(d),n=(n=A(d))&&n.$||0,h=$o.length;h--;)(r=$o[h])&&((r.Y||1==r._)&&(ai.type&&r.$>n&&!ki(r.z.Z,d)||r.z.o&&xo)&&r.end(),r.Z&&(h=0))}else a=(i=zi(d)).x-(e||0),l=i.y-(o||0);+a===a&&(jo(Ni,555,5),Ao(ai,{type:f,$:d,x:a,y:l}),Ho!=To&&(i=X(Ho,To),H.x(t,i.left,i.top)))}else ai.type=gi,Ho!=To&&H.x()}function Hi(t){var e,o,i,n,r,a;if(t)jo(Hi,300,8);else if(Ao(li,c()),Ho==To&&(o=(e=Io.documentElement).getBoundingClientRect(),i=_i(e,"margin"),Ao(b,{left:li.left+o.left-i.left,top:li.top+o.top-i.top})),Pi(n=ei("div"),{position:"fixed",left:0,top:0,width:77,height:77}),oi(n,Io.body),o=n.getBoundingClientRect(),Ao(hi,{left:fi(-o.left,b.left),top:fi(-o.top,b.top)}),Pi(r=ei("div"),{width:"100%",height:"100%"}),oi(r,n),Pi(n,"overflow","hidden"),l=zi(r).width,Pi(n,"overflow","scroll"),l-=zi(r).width,oi(n),Ho==To&&(h=h||Ao(li),di(h.width-li.width)>l+7||17<di(h.left-li.left)||17<di(h.top-li.top))){for(a=$o.length;a--;)$o[a]&&$o[a].resize(!0);h=Ao(li)}}function k(t){var e=C(t.data)||t.data||{},o=e.event,i=e.href,n=e.cmd,r=A(t.source)||Ti(i)||Ti(t.origin);r&&(o?"ready"==o?t.source.postMessage({method:"addEventListener",value:"finish"},t.origin):"esc"==o?r.end():("ended"==o||e.info&&0===e.info.playerState)&&(1==r.W&&r.z.z.autoEndVideo?r.end():r.w?r.showItem():"fb"==r.z.s&&t.source.postMessage({action:"load"},t.origin)):i&&ui(n)&&Qo(r[n[0]],n[1]))}function O(t){t.ctrlKey||t.metaKey||t.shiftKey||t.altKey||(Yo(t),To.fb.start(this))}function V(t,e,o){o=o||{};var i,n,r,a,l,h,f,s,d,c,p,u,g,b,m,w,y,v,x,C,z={},_={},P={},T={},k={};for((n=(i=ii(t,["a","area"]))&&t)&&(w="a"==i?Ro("img",n,0):n,P=Go(n),Fo(P,B(n)),t=n.parentElement&&(Do(n,"href")||Do(n,"xlink:href"))),Fo(_,[P.className,o.className,M.className]),C=(v=(_.className||"").split(" ")).length;C--;)Ao(k,L[v[C]]);if(Ao(_,M,Go(o.Z||Do(n,"data-fb")),k,P,o),t=_.source||t){for(r=_.type,h="video"==(r=/<.+>/.test(t)?(t=Ii("div",t),"direct"):(a=Uo(E(t)),Eo(a.z)?(t=a.z,m=ni(t,"#",""),"inline"):(m=a.y,t=a._,r||a.Y||"iframe"))),f=(l="image"==r)||h,d="ajax"==r,c="direct"==r,p=(s="inline"==r)||d||c,g=!s&&!c,b=(u=!l&&!p)&&(h||"pdf"==r||a.Z!=H.X.Z),u&&!b&&(t=a.X,"!"==a.z.slice(1,2)?t+=ni(a.z,"#!","#"):z.q=a.z),Ao(T,W[(p||u)&&!h&&"html"],W[r]),Fo(_,[T.className,k.className]),C=(v=(_.className||"").split(" ")).length;C--;)Ao(k,L[v[C]]);for(Ao(_,T,k,P,o),Ao(z,{_:t,z:_,v:!1!==_.showThis,O:m||"",X:e||A(n),Z:n,y:w,U:_.addPlayButton,$:l,Y:h,w:f,n:d,t:p,x:u,V:g,W:b}),x=Do(w,"data-fb-src"),z.p="src"!=x&&x||w&&w.src,x=_.titleAsCaption,_.caption=Ai(_.caption,!1!==x&&("img"!=x&&Do(n,"title")||"a"!=x&&Do(w,"title"))||_.altAsCaption&&Do(w,"alt")),C=wi.length;C--;)(x=_[wi[C]])&&((y=/^#[\S]+$/.test(x)&&Eo(x))&&!y.parentElement.fbName?So[x]=Y(y):"href"==x?x=ni(m,/[_-]/g," ",/(^|\s)\w/g,function(t){return t.toUpperCase()}):/<.+>/.test(x)?x=E(x):Z.test(x)||(x=qo(x)),_[wi[C]]=x);return(y=Eo(t))&&!y.parentElement.fbName&&(So[t]=Y(y)),z.$&&0<N&&(N--,jo([Wi,t])),z.Y?function(o){var t,e,i,n=o.z,r=Uo(o._),a=ni(r.w,"youtu.be","youtube.com"),l=r.x,h={autoplay:Ai(n.autoPlayVideo,"0"!=l.autoplay)?1:0,bgcolor:n.contentBackgroundColor||"transparent"};/\.mp4$/i.test(a)?(t="fb",o.S=ni(a,".mp4",".jpg"),a=S+"video.html",Ao(h,{esc:n.enableKeyboardNav,source:o._,fb:I.M})):(i=/(youtube|vimeo)\.com\/([\w-]+)$/.exec(a))&&(t=i[1],e=l.v||i[2],ri(l,"v"),"youtube"==t?(a="https://www.youtube.com/embed/"+e,Ao(h,{fs:1,autohide:1,showinfo:0,rel:0,enablejsapi:1}),o.S="https://img.youtube.com/vi/"+e+"/maxresdefault.jpg"):(a="https://player.vimeo.com/video/"+e,Ao(h,{badge:0,byline:0,portrait:0,title:0})));o._=Uo(a,Ao(h,l))._,o.s=t,n.autoEndVideo=Ai(n.autoEndVideo,"0"!=l.autoend),"vimeo"==t&&!1!==n.fetchVideoInfo?Mi("https://vimeo.com/api/v2/video/"+e+".json",{finish:function(t){var e=t.responseJSON;e&&(e=e[0],n.caption=Ai(n.caption,e.title),n.width=n.width||q(e.width),n.height=n.height||q(e.height),o.S=e.thumbnail_large),K(o)}}):K(o)}(z):z.U&&Q(z),n&&!0!==e&&(((x=R.x.autoStart)&&z.v&&-1<t.indexOf(x)||!$&&_.autoStart)&&($=z),_.showMagCursor&&Pi(n,"cursor",_o),n.fbx=Mo.length,Oo(n,"onclick",O)),Mo.push(z),z}}function Y(t,e){var o,i,n=t&&t.parentElement;return n&&(Xo(n,"fbWrapper")?o=n:(o=ei(e||"div"),Fo(o,"fbWrapper"),oi(o,n,t),oi(t,o),e||(Pi(o,{display:i=_i(t,"display"),visibility:_i(t,"visibility"),width:"100%",height:"100%"}),Pi(t,{display:"none"==i?"inline-block":i,visibility:"inherit"})))),o}function X(t,e){t=ti(t),e=ti(e);var o,i,n,r,a={left:0,top:0},l=1;if(t&&e&&t!=e)if(ki(t,e))for(;t!=e;)e=(o=e.frameElement)?(i=zi(o),n=_i(o,"padding"),r=_i(o,"border"),a.left+=i.left+n.left+r.left,a.top+=i.top+n.top+r.top,ti(o)):t;else ki(e,t)?(l=-1,a=X(e,t)):(i=X(t,To),a.left+=i.left,a.top+=i.top,i=X(To,e),a.left+=i.left,a.top+=i.top);return{left:a.left*l,top:a.top*l}}function Ii(t,e,o){var i,n="<"+t;if(ui(o))for(i=0;i<o.length;i+=2)n+=" "+o[i]+'="'+qo(o[i+1])+'"';return n+=!1===e?"/>":">"+(e||"")+"</"+t+">"}function Bi(t,e,o){var i,n;if((t=Eo(t))&&(t.innerHTML=ni(""+e,/(<script)\b/gi,'$1 type="off"'),o))for(i=Ro("script",t),n=0;n<i.length;n++)Zo(i[n].src,i[n].text,!0)}function Ei(t,e,o,i){var n,r,a,l={TopLeft:"Top",TopRight:"Right",BottomRight:"Bottom",BottomLeft:"Left"};if(o){if(n="border"+o+"Radius",e===gi&&(e=(q((r=t.parentElement).style[n])||_i(r,n,!0))-_i(r,"border"+l[o]+"Width",!0)),Pi(t,n,fi(0,e)),+i===i)for(a=Ro(">div:not(.fbHeader):not(.fbFooter)",t);a.length;)Ei(a.pop(),e-i,o)}else for(o in l)Ei(t,e,o,i)}function Ri(t,e,o,i,n,r,a){var l=0<a?fi:a<0?si:Yi,h=l(o-t,0),f=l(i-e,0);return n&&(0<(f*n-h)*(r?1:-1)?h=f*n:f=h/n),{width:t+h,height:e+f}}function Zi(t,e,o){var i=Z.test(t),n=Ho.open(i?"":t,e?"":"_fb",o||""),r=n&&n.document;return r?i&&(r.open("text/html"),r.write("<!DOCTYPE html>"+Ii("html",t)),r.close()):alert(yo[13]),n}function Ai(t,e,o){return t||(t===gi||""===t||""+t=="NaN"?e:null!==t?t:o!==gi?o:+e===e?0:t)}function Oi(t,e,o){return+t===t?t:/%/.test(t)?Yi(t)/100*e:o}function F(n){return function(t,e,o){var i=Ti();i?Qo([i[n],t,e,o]):Ho!=parent&&parent.postMessage({href:Ho.location.href,cmd:[n,t]},"*")}}function D(t){var e,o,i=t&&t.z;i&&("once"!=i.autoStart&&!i.showOnce||(e=Go(ko.cookie).fb||"",o="|"+function(t){var e=5381,o=(t=""+t).length;for(;o--;)e=(e<<5)+e^t.charCodeAt(o);return e}(t._),-1<e.indexOf(o)?t=gi:ko.cookie="fb="+e+o+"; path=/"),jo([$i,t],i.autoStart&&999*(+i.autoDelay||0)))}function Vi(t,e){return e?ni(t,/[A-Z]/g,"-$&").toLowerCase():ni(t,/-([a-z]?)/g,function(t,e){return e.toUpperCase()})}function q(t,e){return parseInt(t,e||10)||0}function Yi(t){return parseFloat(t)||0}function j(t){yo=I.strings||["en","Close (key: Esc)","Prev (key: ←)","Next (key: →)","Play (key: spacebar)","Pause (key: spacebar)","Resize (key: Page Up/Down)","Image %1 of %2","Page %1 of %2","(%1 of %2)","Info...","Print...","Open in a new window","Pop-up content is blocked by this browser."],t&&t!=yo[0]&&Zo(a+"languages/"+t+".js",j)}function K(n){var r=n.z,a=r.addVideoThumb,l=n.Z,h=n.S;"poster"==r.zoomSource&&(r.zoomSource=h||null),!1!==a&&l&&h?Wi(h,function(t){var e,o,i;t.ok&&((e=n.y)||(e=n.y=ei("img"),oi(e,l,l.firstChild)),o=e.width||0,o=si(t.width,32<o?o:+a===a?a:"small"==a?120:"large"==a?480:240),i=e.height=o*t.height/t.width,Pi(e,{width:o,height:i,maxWidth:o}),e.src=h,n.U=Ai(n.U,o<180?"small":!(360<o)||"large"),Q(n),r.zoomSource=Ai(r.zoomSource,h))}):Q(n)}function Q(t){var e,o,i,n,r=t.U,a=r&&t.y;a&&Wi(a.src,function(t){t.ok&&(e=a.parentElement,Xo(e,"fbVid")||(e=Y(a,"span"),Fo(e,"fbVid"),Pi(e,"cssText",_i(a)),Pi(a,{position:"relative",border:0,margin:0}),i=zi(a),Pi(e,{display:"inline-block",position:"relative",overflow:"hidden",width:i.width,height:i.height})),o=Ro("i",e,0)||ei("i",vo.play),Fo(o,"fbIcon"),Pi(o,{position:"absolute",fontSize:"small"==r?20:"large"==r?48:28}),oi(o,e),i=zi(a),n=zi(o),Pi(o,{left:(i.width-n.width)/2,top:(i.height-n.height)/2}))})}function Xi(t){var e,o=t.type,i=t.relatedTarget,n="fbMain"==this.fbName&&A(this),r=n&&n.z||Mo[this.tip];if(r&&(!xo||ai.type&&!/mouse/.test(o)))if(Xo(r.z,f))ai.type&&(Yo(t),$i(r));else{for(e=$o.length;!n&&e--;)(n=$o[e]||{}).z!=r&&(n=gi);"mouseout"==o?ki(r.Z,i)||n&&ki(n.fbMain,i)||(Ko(7),n&&(n._=2,jo(n.end))):n||y[7]||(xo?Qo:jo)([D,r],Ai(r.z.delay,333),7)}}function U(t){var e=v[this.fbx];!e||xo&&"touchend"!=t.type||ki(e.Z,t.relatedTarget)||G(e,"mouseover"==t.type||"mouseout"!=t.type&&!e._)}function G(t,e){var o,i,n,r,a,l,h;e!==gi&&(t._=e,t.z.active=!e),(o=t.Y)&&(o.innerHTML=ni(yo[t._?4:5],/\(.+\)/," "+Ii("i",vo[t._?"play2":"pause2"],["class","fbIcon"])),Pi(o,"display","inline-block"),i=t.V,a=zi(r=t.y[t.$]._),l=_i(r,"border"),n=zi(o),h=a.width-n.width,Pi(o,{left:/r/.test(i)?h-l.right-12:/c/.test(i)?h/2:l.left+12,top:/b/.test(i)?a.height-n.height-l.bottom-12:l.top+12}))}function J(){var t,e,o,i,n=-1;for((o=Ti(gi,!0))&&(n=o.$),i=v.length;i--;)(t=v[i])&&(e=t.Z)&&(t._||Io.hidden||t.z.active&&t.z.step<1||n<=((o=A(e))&&o.$||-1)&&tt(i,t.$+1));y[6]||jo(J,999*x,6)}function tt(t,e,o){var i,n,r,a,l,h=v[t],f=h.x,s=f.firstChild,d=h.y,c=e%d.length,p=d[h.$],u=d[c],g=u.Z,b=u._,m=h.w,w=h.v;(o||b&&(Wo[u.z]||{}).ok)&&(o&&y[6]||(Pi(u.$,"opacity",0),Pi(b,"visibility","hidden")),Pi(g,{position:"absolute",visibility:"visible"}),Pi(h.Z,"height",zi(g).height),r={left:0,top:0,width:i=b.width,height:n=b.height},Pi(f,"cssText",_i(b)),Pi(f,Ao({zIndex:_i(b,"zIndex",!0)+1,display:"inline-block",position:"absolute",visibility:"visible"},r)),oi(f,b.parentElement),Ei(s),Pi(s,"opacity",0),s.src=b.src,s.width=i,s.height=n,oi(s,f),Li([{$:[s,u.$],opacity:1},{$:p.$,opacity:0}],[Pi,p._,"visibility","hidden"],o?0:990*h.X),m&&(a={left:-ci(i*m),top:-ci(n*m),width:i*(1+m),height:n*(1+m)},(o||ci(1))&&(m*=-r.width/a.width,l=r,r=a,a=l),+w!==w&&(w=ci(80)/100+.1),a.$=s=s.getContext("2d"),s.img=b,s.style=r,Li(a,gi,o?0:990*x,w,o?1:h.W,h.z))),h.$=c,o||G(h),Wi((u=d[(1+c)%d.length])._.src=u.z)}function Fi(t,e){var o,i,n,r;for(r=0;r<t.length;r++)o=t[r],Lo[o.pop]||(i=Ro("img",o,0),n=B(o).join(" "),(n=i&&/\bfbPop(\w+)\b/i.exec(n))&&(o.pop=Lo.length,Lo.push({Z:o,y:Ro("img",o,0),N:n[1].toLowerCase(),X:e}),Oo(o,["touchend","mouseover","mouseout"],et)))}function et(t){var e,o=t.type,i=Lo[this.pop],n=i&&i.y;n&&(e=zi(n).bottom+li.top<0,xo?"touchend"==o&&e&&(Di(this),Ni(),Yo(t)):"mouseover"==o?e&&Di(this):e||qi(this))}function Di(t){var e,o=t&&Lo[t.pop],i=o&&o.y;if(i){Pi(t,"display","inline-block"),ji();var n=o.N,r=zi("center"==n&&Ro("img",t,1)||t),a=zi(i),l=a.width,h=a.height,f=A(i),s=r.x,d=r.y;0<s&&s<li.width&&0<d&&d<li.height&&(s=r.left+("left"==n?-l:"right"==n?r.width-1:(r.width-l)/2),d=r.top+("up"==n?2-h:"down"==n?r.height-1:(r.height-h)/2),f=f?zi(f.fbLiner):{left:0,top:0,width:li.width,height:li.height},s=si(s,f.left+f.width-l),s=fi(s,f.left),d=si(d,f.top+f.height-h),d=fi(d,f.top),r=zi(i.offsetParent),e=_i(i.offsetParent,"border"),Pi(i,{left:s-r.left-e.left,top:d-r.top-e.top}))}}function qi(t){var e=!Lo.y&&t&&Lo[t.pop];e&&Pi(e.y,{left:0,top:-xi})}function ji(t){var e,o,i;for(i=Lo.length;i--;)(e=Lo[i])&&(o=e.Z,ki(Io,o)&&!ki(o,t)&&qi(o))}I.z=function(){var t,e,o=I._;for(o.fb&&o.fb.version==Bo.version&&!d._.framed||(o={}),e=(t=o.fb&&o.fb.data)&&t.Y||{},To=Ho;To.fb.data._.fb;)To=To.fb.data._;function i(t,e){e=e||1e3;var o,i="";for(o=0;o<t.length;o++)i+=Ii(t[o][0],!1,t[o][1]);return Ii("svg",i,["viewBox","0 0 "+e+" 1000","width",e/1e3+"em","height","1em"])}t&&!t.Z?jo(I.z,77):(ko=To.document,H=To.fb.data,$o=H.w,Mo=H.W,Lo=H.v,Wo=H.V,So=H.u,No=H.U,M=d._=Ao({},e._,d._),L=d.$=Ao({},e.$,d.$),W=d.z=Ao({},e.z,d.z),zo=(S=a+"resources/")+"wait.gif",Po=ni(_o="url("+S+"zoom-in.cur),default","zoom-in","zoom-out"),f=M.contextClass||"fbContext",n=M.tooltipClass||"fbTooltip",r=M.cyclerClass||"fbCycler",N=q(Ai(M.preloadLimit,5)),j(ni((M.language||Do(ko.documentElement,"lang")||"en").toLowerCase(),/^(\w+).*/i,"$1")),vo={close:i([["polygon",["points","0,230 170,60 850,740 680,910"]],["polygon",["points","850,230 680,60 0,740 170,910"]]]),close2:i([["circle",["stroke-width",100,"fill","none","cx",500,"cy",500,"r",450]],["polygon",["points","250,350 350,250 750,650 650,750"]],["polygon",["points","750,350 650,250 250,650 350,750"]]]),close3:i([["path",["d","M125,275Q50,200,125,125T275,125L875,725Q950,800,875,875T725,875Z"]],["path",["d","M875,275Q950,200,875,125T725,125L125,725Q50,800,125,875T275,875Z"]]]),prev:i([["path",["d","M0,500L600,100V325H1000V675H600V900Z"]]]),next:i([["path",["d","M1000,500L400,100V325H0V675H400V900Z"]]]),prev2:i([["path",["d","M100,500L494,938C520,967,464,1023,438,994L33,544C4,510,4,490,33,456L438,6C464,-23,520,33,494,62z"]]],500),next2:i([["path",["d","M400,500L6,938C-20,967,36,1023,62,994L467,544C496,510,496,490,467,456L62,6C36,-23,-20,33,6,62z"]]],500),prev3:i([["path",["d","M0,500l400,-400q46,-46,92,0t0,92l-310,310l310,310q46,46,0,92t-92,0zM135,435h800q65,0,65,65t-65,65h-800z"]]]),next3:i([["path",["d","M1000,500l-400,-400q-46,-46,-92,0t0,92l310,310l-310,310q-46,46,0,92t92,0zM865,435h-800q-65,0,-65,65t65,65h800z"]]]),play:i([["path",["d","M625,500L0,875V125Z"]]],625),pause:i([["rect",["x",0,"y",125,"width",225,"height",750,"rx",75,"ry",75]],["rect",["x",400,"y",125,"width",225,"height",750,"rx",75,"ry",75]]],625),play2:i([["circle",["stroke-width",100,"fill","none","cx",500,"cy",500,"r",450]],["path",["d","M375,720V280L755,500z"]]]),pause2:i([["circle",["stroke-width",100,"fill","none","cx",500,"cy",500,"r",450]],["path",["d","M320,300h125v400h-125zM680,300h-125v400h125z"]]]),zoom:i([["circle",["stroke-width",100,"fill","none","cx",380,"cy",380,"r",330]],["path",["d","M210,335h340v90h-340zM820,690l170,170q30,165,-135,135l-170,-170L580,580z"]],["path",["d","M335,210v340h90v-340z"]]]),info:i([["circle",["stroke-width",100,"fill","none","cx",500,"cy",500,"r",450]],["circle",["cx",500,"cy",280,"r",70]],["path",["d","M580,420h-200v70h70v200h-70v70h270v-70h-70z"]]]),print:i([["path",["d","M170,800V1000H830V800H1000V410H830V230L600,0H170V410H0V800zM780,950H220V765H780zM570,50V260H780V510H220V50zM60,475h65v65h-65z"]]]),newWindow:i([["path",["stroke-width",70,"fill","none","d","M500,120h-350q-120,0,-120,120v520q0,120,120,120h610q120,0,120,-120v-270"]],["path",["d","M970,0q30,0,30,30v280c0,60,-60,30,-60,30l-280,-280c-30,-60,30,-60,30,-60zM915,0l85,85l-530,530l-85,-85z"]]]),dragger:i([["path",["d","M160,1000h-160L1000,0v160zM500,1000h-160L1000,317v160zM826,1000h-160L1000,643v160z"]]]),tooltiptop:i([["path",["d","M0,0h1000l-500,800z"]]]),tooltipright:i([["path",["d","M1000,0v1000l-800,-500z"]]]),tooltipbottom:i([["path",["d","M1000,1000h-1000l500,-800z"]]]),tooltipleft:i([["path",["d","M0,1000v-1000l800,500z"]]])},Ao(Bo,{activate:Ci,getFormValues:u,getRect:zi,getViewport:c,getStyle:_i,setStyle:Pi,getInstance:Ti,getOwnerInstance:A,nodeContains:ki,printNode:Si,parseJSON:C,getLayout:T,getByClass:z,getScroll:c,icons:vo,viewport:li,start:$i,ajax:Mi,animate:Li,preload:Wi,showItem:F("showItem"),resize:F("resize"),pause:F("pause"),reload:F("reload"),goBack:F("goBack"),end:F("end")}),I.$=V,I.x=Ni,I.l=b,Oo(Io,["touchstart","mousedown","keydown","touchend","mouseup"],Ni,!0),Oo(Ho,["resize","scroll"],Hi),Hi(),Oo(Ho,"message",k),I.Z=!0,Bo.ready([Ci,!1]),Wi(zo),D($))}}(); |