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,
|