PageSourceSearch

https://www.psyratownicze.eu/files/staticContent/5.617.8/websitesR…eModule-5741229fd6662a83768e385480db44dd.js

js psyratownicze.eu collected 2026-10-01 13:02:19 UTC 44,309 bytes, 95 lines download raw bytes

1//# sourceMappingURL=photoswipeModule.js.map
2/*
3 PhotoSwipe - v4.1.1 - 2015-12-24
4 http://photoswipe.com
5 Copyright (c) 2015 Dmitry Semenov;  PhotoSwipe Default UI - 4.1.1 - 2015-12-24
6 http://photoswipe.com
7 Copyright (c) 2015 Dmitry Semenov; */
8var process=process||{env:{NODE_ENV:"development"}};
9!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6787)}({0:function(e,t,n){function o(e,t){if(!(e instanceof
10t))throw new TypeError("Cannot call a class as a function");}t.a=o},1:function(e,t,n){function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}t.a=i},2588:function(e,t,n){var o=n(42),i=function e(t,n,i,a){var r={features:null,bind:function e(t,n,o,i){var a=(i?"remove":"add")+"EventListener";
11n=n.split(" ");for(var r=0;r<n.length;r++)n[r]&&t[a](n[r],o,!1)},isArray:function e(t){return t instanceof Array},createEl:function e(t,n){var o=document.createElement(n||"div");return t&&(o.className=t),o},getScrollY:function e(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function e(t,n,o){r.bind(t,n,o,!0)},removeClass:function e(t,n){var o=new RegExp("(\\s|^)"+n+"(\\s|$)");t.className=t.className.replace(o," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},
12addClass:function e(t,n){r.hasClass(t,n)||(t.className+=(t.className?" ":"")+n)},hasClass:function e(t,n){return t.className&&(new RegExp("(^|\\s)"+n+"(\\s|$)")).test(t.className)},getChildByClass:function e(t,n){for(var o=t.firstChild;o;){if(r.hasClass(o,n))return o;o=o.nextSibling}},arraySearch:function e(t,n,o){for(var i=t.length;i--;)if(t[i][o]===n)return i;return-1},extend:function e(t,n,o){for(var i in n)if(n.hasOwnProperty(i)){if(o&&t.hasOwnProperty(i))continue;t[i]=n[i]}},easing:{sine:{out:function e(t){return Math.sin(t*
13(Math.PI/2))},inOut:function e(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function e(t){return--t*t*t+1}}},detectFeatures:function e(){if(r.features)return r.features;var t,n=r.createEl().style,o="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var a=navigator.userAgent;
14if(/iP(hone|od)/.test(navigator.platform)){var l=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);l&&l.length>0&&(l=parseInt(l[1],10))>=1&&l<8&&(i.isOldIOSPhone=!0)}var s=a.match(/Android\s([0-9\.]*)/),u=s?s[1]:0;(u=parseFloat(u))>=1&&(u<4.4&&(i.isOldAndroid=!0),i.androidVersion=u),i.isMobileOpera=/opera mini|o
14pera mobi/i.test(a)}for(var c=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],p,m,f=0;f<4;f++){o=d[f];for(var h=0;h<3;h++)p=c[h],m=o+(o?p.charAt(0).toUpperCase()+
15p.slice(1):p),!i[p]&&m in n&&(i[p]=m);o&&!i.raf&&(o=o.toLowerCase(),i.raf=window[o+"RequestAnimationFrame"],i.raf&&(i.caf=window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"]))}if(!i.raf){var v=0;i.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-v)),o=window.setTimeout(function(){e(t+n)},n);return v=t+n,o},i.caf=function(e){clearTimeout(e)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=
16i,i}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var a=(i?"detach":"attach")+"Event",r,l=function e(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"===Object(o.a)(n)&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=l;e[a]("on"+r,n["oldIE"+r])}else e[a]("on"+r,n)});var l=this,s=25,u=3,c={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,
17hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function e(t){return"A"===t.tagName},getDoubleTapZoom:function e(t,n){return t?1:n.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(c,a);var d=function e(){return{x:0,y:0}},p,m,f,h,v,y,x={x:0,y:0},g={x:0,y:0},w={x:0,y:0},b,C,I,T={},E,S,D,_,O,M,k=0,A={},F={x:0,y:0},L,R,P=0,Z,N,z,U,K,H,W=!0,B,G=[],Y,V,
18q,X,j,$,J,Q={},ee=!1,te=function e(t,n){r.extend(l,n.publicMethods),G.push(t)},ne=function e(t){var n=rn();return t>n-1?t-n:t<0?n+t:t},oe={},ie=function e(t,n){return oe[t]||(oe[t]=[]),oe[t].push(n)},ae=function e(t){var n=oe[t];if(n){var o=Array.prototype.slice.call(arguments);o.shift();for(var i=0;i<n.length;i++)n[i].apply(l,o)}},re=function e(){return(new Date).getTime()},le=function e(t){wt=t,l.bg.style.opacity=t*c.bgOpacity},se=function e(t,n,o,i,a){(!ee||a&&a!==l.currItem)&&(i/=a?a.fitRatio:
19l.currItem.fitRatio),t[K]=D+n+"px, "+o+"px"+_+" scale("+i+")"},ue=function e(t){mt&&(t&&(E>l.currItem.fitRatio?ee||(fn(l.currItem,!1,!0),ee=!0):ee&&(fn(l.currItem),ee=!1)),se(mt,w.x,w.y,E))},ce=function e(t){t.container&&se(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},de=function e(t,n){n[K]=D+t+"px, 0px"+_},pe=function e(t,n){if(!c.loop&&n){var o=h+(F.x*k-t)/F.x,i=Math.round(t-pt.x);(o<0&&i>0||o>=rn()-1&&i<0)&&(t=pt.x+i*c.mainScrollEndFriction)}pt.x=t,de(t,v)},
20me=function e(t,n){var o=ht[t]-A[t];return g[t]+x[t]+o-o*(n/S)},fe=function e(t,n){t.x=n.x,t.y=n.y,n.id&&(t.id=n.id)},he=function e(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},ve=null,ye=function e(){ve&&(r.unbind(document,"mousemove",e),r.addClass(t,"pswp--has_mouse"),c.mouseUsed=!0,ae("mouseUsed")),ve=setTimeout(function(){ve=null},100)},xe=function e(){r.bind(document,"keydown",l),J.transform&&r.bind(l.scrollWrap,"click",l),c.mouseUsed||r.bind(document,"mousemove",ye),r.bind(window,"resize scroll",
21l),ae("bindEvents")},ge=function e(){r.unbind(window,"resize",l),r.unbind(window,"scroll",I.scroll),r.unbind(document,"keydown",l),r.unbind(document,"mousemove",ye),J.transform&&r.unbind(l.scrollWrap,"click",l),tt&&r.unbind(window,b,l),ae("unbindEvents")},we=function e(t,n){var o=cn(l.currItem,T,t);return n&&(dt=o),o},be=function e(t){return t||(t=l.currItem),t.initialZoomLevel},Ce=function e(t){return t||(t=l.currItem),t.w>0?c.maxSpreadZoom:1},Ie=function e(t,n,o,i){return i===l.currItem.initialZoomLevel?
22(o[t]=l.currItem.initialPosition[t],!0):(o[t]=me(t,i),o[t]>n.min[t]?(o[t]=n.min[t],!0):o[t]<n.max[t]&&(o[t]=n.max[t],!0))},Te=function e(){if(K){var n=J.perspective&&!B;return D="translate"+(n?"3d(":"("),void(_=J.perspective?", 0px)":")")}K="left",r.addClass(t,"pswp--ie"),de=function e(t,n){n.left=t+"px"},ce=function e(t){var n=t.fitRatio>1?1:t.fitRatio,o=t.container.style,i=n*t.w,a=n*t.h;o.width=i+"px",o.height=a+"px",o.left=t.initialPosition.x+"px",o.top=t.initialPosition.y+"px"},ue=function e(){if(mt){var t=
23mt,n=l.currItem,o=n.fitRatio>1?1:n.fitRatio,i=o*n.w,a=o*n.h;
23t.width=i+"px",t.height=a+"px",t.left=w.x+"px",t.top=w.y+"px"}}},Ee=function e(t){var n="";c.escKey&&27===t.keyCode?n="close":c.arrowKeys&&(37===t.keyCode?n="prev":39===t.keyCode&&(n="next")),n&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,l[n]()))},Se=function e(t){t&&(it||ot||ft||je)&&(t.preventDefault(),t.stopPropagation())},De=function e(){l.setScrollOffset(0,r.getScrollY())},_e={},
24Oe=0,Me=function e(t){_e[t]&&(_e[t].raf&&V(_e[t].raf),Oe--,delete _e[t])},ke=function e(t){_e[t]&&Me(t),_e[t]||(Oe++,_e[t]={})},Ae=function e(){for(var t in _e)_e.hasOwnProperty(t)&&Me(t)},Fe=function e(t,n,o,i,a,r,l){var s=re(),u,c;ke(t),function e(){if(_e[t]){if((u=re()-s)>=i)return Me(t),r(o),void(l&&l());r((o-n)*a(u/i)+n),_e[t].raf=Y(e)}}()},Le={shout:ae,listen:ie,viewportSize:T,options:c,isMainScrollAnimating:function e(){return ft},getZoomLevel:function e(){return E},getCurrentIndex:function e(){return h},
25isDragging:function e(){return tt},isZooming:function e(){return st},setScrollOffset:function e(t,n){A.x=t,$=A.y=n,ae("updateScrollOffset",A)},applyZoomPan:function e(t,n,o,i){w.x=n,w.y=o,E=t,ue(i)},init:function e(){if(!p&&!m){var o;l.framework=r,l.template=t,l.bg=r.getChildByClass(t,"pswp__bg"),q=t.className,p=!0,J=r.detectFeatures(),Y=J.raf,V=J.caf,K=J.transform,j=J.oldIE,l.scrollWrap=r.getChildByClass(t,"pswp__scroll-wrap"),l.container=r.getChildByClass(l.scrollWrap,"pswp__container"),v=l.container.style,
26l.itemHolders=L=[{el:l.container.children[0],wrap:0,index:-1},{el:l.container.children[1],wrap:0,index:-1},{el:l.container.children[2],wrap:0,index:-1}],L[0].el.style.display=L[2].el.style.display="none",Te(),I={resize:l.updateSize,scroll:De,keydown:Ee,click:Se};var i=J.isOldIOSPhone||J.isOldAndroid||J.isMobileOpera,a;for(J.animationName&&J.transform&&!i||(c.showAnimationDuration=c.hideAnimationDuration=0),o=0;o<G.length;o++)l["init"+G[o]]();if(n)(l.ui=new n(l,r)).init();ae("firstUpdate"),h=h||c.index||
270,(isNaN(h)||h<0||h>=rn())&&(h=0),l.currItem=an(h),(J.isOldIOSPhone||J.isOldAndroid)&&(W=!1),t.setAttribute("aria-hidden","false"),c.modal&&(W?t.style.position="fixed":(t.style.position="absolute",t.style.top=r.getScrollY()+"px")),void 0===$&&(ae("initialLayout"),$=X=r.getScrollY());var s="pswp--open ";for(c.mainClass&&(s+=c.mainClass+" "),c.showHideOpacity&&(s+="pswp--animate_opacity "),s+=B?"pswp--touch":"pswp--notouch",s+=J.animationName?" pswp--css_animation":"",s+=J.svg?" pswp--svg":"",r.addClass(t,
28s),l.updateSize(),y=-1,P=null,o=0;o<3;o++)de((o+y)*F.x,L[o].el.style);j||r.bind(l.scrollWrap,C,l),ie("initialZoomInEnd",function(){l.setContent(L[0],h-1),l.setContent(L[2],h+1),L[0].el.style.display=L[2].el.style.display="block",c.focus&&t.focus(),xe()}),l.setContent(L[1],h),l.updateCurrItem(),ae("afterInit"),W||(O=setInterval(function(){Oe||tt||st||E!==l.currItem.initialZoomLevel||l.updateSize()},1E3)),r.addClass(t,"pswp--visible")}},close:function e(){p&&(p=!1,m=!0,ae("close"),ge(),$t(l.currItem,
29null,!0,l.destroy))},destroy:function e(){ae("destroy"),jt&&clearTimeout(jt),t.setAttribute("aria-hidden","true"),t.className=q,O&&clearInterval(O),r.unbind(l.scrollWrap,C,l),r.unbind(window,"scroll",l),Et(),Ae(),oe=null},panTo:function e(t,n,o){o||(t>dt.min.x?t=dt.min.x:t<dt.max.x&&(t=dt.max.x),n>dt.min.y?n=dt.min.y:n<dt.max.y&&(n=dt.max.y)),w.x=t,w.y=n,ue()},handleEvent:function e(t){t=t||window.event,I[t.type]&&I[t.type](t)},goTo:function e(t){var n=(t=ne(t))-h;P=n,h=t,l.currItem=an(h),k-=n,pe(F.x*
30k),Ae(),ft=!1,l.updateCurrItem()},next:function e(){l.goTo(h+1)},prev:function e(){l.goTo(h-1)},updateCurrZoomItem:function e(t){if(t&&ae("beforeChange",0),L[1].el.children.length){var n=L[1].el.children[0];mt=r.hasClass(n,"pswp__zoom-wrap")?n.style:null}else mt=null;dt=l.currItem.bounds,S=E=l.currItem.initialZoomLevel,w.x=dt.center.x,w.y=dt.center.y,t&&ae("afterChange")},invalidateCurrItems:function e(){M=!0;for(var t=0;t<3;t++)L[t].item&&(L[t].item.needsUpdate=!0)},updateCurrItem:function e(t){if(0!==
31P){var n=Math.abs(P),o;if(!(t&&n<2)){l.currItem=an(h),ee=!1,ae("beforeChange",P),n>=3&&(y+=P+(P>0?-3:3),n=3);for(var i=0;i<n;i++)P>0?(o=L.shift(),L[2]=o,de((++y+2)*F.x,o.el.style),l.setContent(o,h-n+i+1+1)):(o=L.pop(),L.unshift(o),de(--y*F.x,o.el.style),l.setContent(o,h+n-i-1-1));if(mt&&1===Math.abs(P)){var a=an(R);a.initialZoomLevel!==E&&(cn(a,T),fn(a),ce(a))}P=0,l.updateCurrZoomItem(),R=h,ae("afterChange")}}},updateSize:function e(n){if(!W&&c.modal){var o=r.getScrollY();if($!==o&&(t.style.top=o+
32"px",$=o),!n&&Q.x===window.innerWidth&&Q.y===window.innerHeight)return;Q.x=window.innerWidth,Q.y=window.innerHeight,t.style.height=Q.y+"px"}if(T.x=l.scrollWrap.clientWidth,T.y=l.scrollWrap.clientHeight,De(),F.x=T.x+Math.round(T.x*c.spacing),F.y=T.y,pe(F.x*k),ae("beforeResize"),void 0!==y){for(var i,a,s,u=0;u<3;u++)i=L[u],de((u+y)*F.x,i.el.style),s=h+u-1,c.loop&&rn()>2&&(s=ne(s)),(a=an(s))&&(M||a.needsUpdate||!a.bounds)?(l.cleanSlide(a),l.setContent(i,s),1===u&&(l.currItem=a,l.updateCurrZoomItem(!0)),
33a.needsUpdate=!1):-1===i.index&&s>=0&&l.setContent(i,s),a&&a.container&&(cn(a,T),fn(a),ce(a));M=!1}S=E=l.currItem.initialZoomLevel,(dt=l.currItem.bounds)&&(w.x=dt.center.x,w.y=dt.center.y,ue(!0)),ae("resize")},zoomTo:function e(t,n,o,i,a){n&&(S=E,ht.x=Math.abs(n.x)-w.x,ht.y=Math.abs(n.y)-w.y,fe(g,w));var l=we(t,!1),s={};Ie("x",l,s,t),Ie("y",l,s,t);var u=E,c=w.x,d=w.y;he(s);var p=function e(n){1===n?(E=t,w.x=s.x,w.y=s.y):(E=(t-u)*n+u,w.x=(s.x-c)*n+c,w.y=(s.y-d)*n+d),a&&a(n),ue(1===n)};o?Fe("customZoomTo",
340,1,o,i||r.easing.sine.inOut,p):p(1)}},Re=30,Pe=10,Ze,Ne,ze={},Ue={},Ke={},He={},We={},Be=[],Ge={},Ye,Ve=[],qe={},Xe,je,$e,Je=0,Qe={x:0,y:0},et=0,tt,nt,ot,it,at,rt,lt,st,ut,ct,dt,pt={x:0,y:0},mt,ft,ht={x:0,y:0},vt={x:0,y:0},yt,xt,gt,wt,bt,Ct=function e(t,n){return t.x===n.x&&t.y===n.y},It=function e(t,n){return Math.abs(t.x-n.x)<25&&Math.abs(t.y-n.y)<25},Tt=function e(t,n){return qe.x=Math.abs(t.x-n.x),qe.y=Math.abs(t.y-n.y),Math.sqrt(qe.x*qe.x+qe.y*qe.y)},Et=function e(){at&&(V(at),at=null)},St=
35function e(){tt&&(at=Y(e),Wt())},Dt=function e(){return!("fit"===c.scaleMode&&E===l.currItem.initialZoomLevel)},_t=function e(t,n){return!(!t||t===document)&&(!(t.getAttribute("class")&&t.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(n(t)?t:e(t.parentNode,n)))},Ot={},Mt=function e(t,n){return Ot.prevent=!_t(t.target,c.isClickableElement),ae("preventDragEvent",t,n,Ot),Ot.prevent},kt=function e(t,n){return n.x=t.pageX,n.y=t.pageY,n.id=t.identifier,n},At=function e(t,n,o){o.x=.5*(t.x+n.x),
36o.y=.5*(t.y+n.y)},Ft=function e(t,n,o){if(t-Ne>50){var i=Ve.length>2?Ve.shift():{};i.x=n,i.y=o,Ve.push(i),Ne=t}},Lt=function e(){var t=w.y-l.currItem.initialPosition.y;
36return 1-Math.abs(t/(T.y/2))},Rt={},Pt={},Zt=[],Nt,zt=function e(t){for(;Zt.length>0;)Zt.pop();return H?(Nt=0,Be.forEach(function(e){0===Nt?Zt[0]=e:1===Nt&&(Zt[1]=e),Nt++})):t.type.indexOf("touch")>-1?t.touches&&t.touches.length>0&&(Zt[0]=kt(t.touches[0],Rt),t.touches.length>1&&(Zt[1]=kt(t.touches[1],Pt))):(Rt.x=t.pageX,Rt.y=t.pageY,
37Rt.id="",Zt[0]=Rt),Zt},Ut=function e(t,n){var o,i=0,a=w[t]+n[t],r,s=n[t]>0,u=pt.x+n.x,d=pt.x-Ge.x,p,m;if(o=a>dt.min[t]||a<dt.max[t]?c.panEndFriction:1,a=w[t]+n[t]*o,(c.allowPanToNext||E===l.currItem.initialZoomLevel)&&(mt?"h"!==yt||"x"!==t||ot||(s?(a>dt.min[t]&&(o=c.panEndFriction,i=dt.min[t]-a,r=dt.min[t]-g[t]),(r<=0||d<0)&&rn()>1?(m=u,d<0&&u>Ge.x&&(m=Ge.x)):dt.min.x!==dt.max.x&&(p=a)):(a<dt.max[t]&&(o=c.panEndFriction,i=a-dt.max[t],r=g[t]-dt.max[t]),(r<=0||d>0)&&rn()>1?(m=u,d>0&&u<Ge.x&&(m=Ge.x)):
38dt.min.x!==dt.max.x&&(p=a))):m=u,"x"===t))return void 0!==m&&(pe(m,!0),rt=m!==Ge.x),dt.min.x!==dt.max.x&&(void 0!==p?w.x=p:rt||(w.x+=n.x*o)),void 0!==m;ft||rt||E>l.currItem.fitRatio&&(w[t]+=n[t]*o)},Kt=function e(t){if(!("mousedown"===t.type&&t.button>0))if(nn)t.preventDefault();else if(!$e||"mousedown"!==t.type){if(Mt(t,!0)&&t.preventDefault(),ae("pointerDown"),H){var n=r.arraySearch(Be,t.pointerId,"id");n<0&&(n=Be.length),Be[n]={x:t.pageX,y:t.pageY,id:t.pointerId}}var o=zt(t),i=o.length;lt=null,
39Ae(),tt&&1!==i||(tt=xt=!0,r.bind(window,b,l),Xe=bt=gt=je=rt=it=nt=ot=!1,yt=null,ae("firstTouchStart",o),fe(g,w),x.x=x.y=0,fe(He,o[0]),fe(We,He),Ge.x=F.x*k,Ve=[{x:He.x,y:He.y}],Ne=Ze=re(),we(E,!0),Et(),St()),!st&&i>1&&!ft&&!rt&&(S=E,ot=!1,st=nt=!0,x.y=x.x=0,fe(g,w),fe(ze,o[0]),fe(Ue,o[1]),At(ze,Ue,vt),ht.x=Math.abs(vt.x)-w.x,ht.y=Math.abs(vt.y)-w.y,ut=ct=Tt(ze,Ue))}},Ht=function e(t){if(t.preventDefault(),H){var n=r.arraySearch(Be,t.pointerId,"id");if(n>-1){var o=Be[n];o.x=t.pageX,o.y=t.pageY}}if(tt){var i=
40zt(t);if(yt||it||st)lt=i;else if(pt.x!==F.x*k)yt="h";else{var a=Math.abs(i[0].x-He.x)-Math.abs(i[0].y-He.y);Math.abs(a)>=10&&(yt=a>0?"h":"v",lt=i)}}},Wt=function e(){if(lt){var t=lt.length;if(0!==t)if(fe(ze,lt[0]),Ke.x=ze.x-He.x,Ke.y=ze.y-He.y,st&&t>1){if(He.x=ze.x,He.y=ze.y,!Ke.x&&!Ke.y&&Ct(lt[1],Ue))return;fe(Ue,lt[1]),ot||(ot=!0,ae("zoomGestureStarted"));var n=Tt(ze,Ue),o=qt(n);o>l.currItem.initialZoomLevel+l.currItem.initialZoomLevel/15&&(bt=!0);var i=1,a=be(),r=Ce();if(o<a)if(c.pinchToClose&&
41!bt&&S<=l.currItem.initialZoomLevel){var s,u=1-(a-o)/(a/1.2);le(u),ae("onPinchClose",u),gt=!0}else(i=(a-o)/a)>1&&(i=1),o=a-i*(a/3);else o>r&&((i=(o-r)/(6*a))>1&&(i=1),o=r+i*a);i<0&&(i=0),ut=n,At(ze,Ue,Qe),x.x+=Qe.x-vt.x,x.y+=Qe.y-vt.y,fe(vt,Qe),w.x=me("x",o),w.y=me("y",o),Xe=o>E,E=o,ue()}else{if(!yt)return;if(xt&&(xt=!1,Math.abs(Ke.x)>=10&&(Ke.x-=lt[0].x-We.x),Math.abs(Ke.y)>=10&&(Ke.y-=lt[0].y-We.y)),He.x=ze.x,He.y=ze.y,0===Ke.x&&0===Ke.y)return;if("v"===yt&&c.closeOnVerticalDrag&&!Dt()){x.y+=Ke.y,
42w.y+=Ke.y;var d=Lt();return je=!0,ae("onVerticalDrag",d),le(d),void ue()}var p;Ft(re(),ze.x,ze.y),it=!0,dt=l.currItem.bounds,Ut("x",Ke)||(Ut("y",Ke),he(w),ue())}}},Bt=function e(t){if(J.isOldAndroid){if($e&&"mouseup"===t.type)return;t.type.indexOf("touch")>-1&&(clearTimeout($e),$e=setTimeout(function(){$e=0},600))}var n;if(ae("pointerUp"),Mt(t,!1)&&t.preventDefault(),H){var o=r.arraySearch(Be,t.pointerId,"id");if(o>-1)if(n=Be.splice(o,1)[0],navigator.pointerEnabled)n.type=t.pointerType||"mouse";else{var i=
43{4:"mouse",2:"touch",3:"pen"};n.type=i[t.pointerType],n.type||(n.type=t.pointerType||"mouse")}}var a=zt(t),s,u=a.length;if("mouseup"===t.type&&(u=0),2===u)return lt=null,!0;1===u&&fe(We,a[0]),0!==u||yt||ft||(n||("mouseup"===t.type?n={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(n={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),ae("touchRelease",t,n));var d=-1;if(0===u&&(tt=!1,r.unbind(window,b,l),Et(),st?d=0:-1!==et&&(d=re()-et)),et=1===u?re():
44-1,s=-1!==d&&d<150?"zoom":"swipe",st&&u<2&&(st=!1,1===u&&(s="zoomPointerUp"),ae("zoomGestureEnded")),lt=null,it||ot||ft||je)if(Ae(),Ye||(Ye=Gt()),Ye.calculateSwipeSpeed("x"),je){var p;if(Lt()<c.verticalDragRange)l.close();else{var m=w.y,f=wt;Fe("verticalDrag",0,1,300,r.easing.cubic.out,function(e){w.y=(l.currItem.initialPosition.y-m)*e+m,le((1-f)*e+f),ue()}),ae("onVerticalDrag",1)}}else{if((rt||ft)&&0===u){var h;if(Vt(s,Ye))return;s="zoomPointerUp"}ft||("swipe"===s?!rt&&E>l.currItem.fitRatio&&Yt(Ye):
45Xt())}},Gt=function e(){var t,n,o={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{}
45,backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function e(i){Ve.length>1?(t=re()-Ne+50,n=Ve[Ve.length-2][i]):(t=re()-Ze,n=We[i]),o.lastFlickOffset[i]=He[i]-n,o.lastFlickDist[i]=Math.abs(o.lastFlickOffset[i]),o.lastFlickDist[i]>20?o.lastFlickSpeed[i]=o.lastFlickOffset[i]/t:o.lastFlickSpeed[i]=
460,Math.abs(o.lastFlickSpeed[i])<.1&&(o.lastFlickSpeed[i]=0),o.slowDownRatio[i]=.95,o.slowDownRatioReverse[i]=1-o.slowDownRatio[i],o.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function e(t,n){o.backAnimStarted[t]||(w[t]>dt.min[t]?o.backAnimDestination[t]=dt.min[t]:w[t]<dt.max[t]&&(o.backAnimDestination[t]=dt.max[t]),void 0!==o.backAnimDestination[t]&&(o.slowDownRatio[t]=.7,o.slowDownRatioReverse[t]=1-o.slowDownRatio[t],o.speedDecelerationRatioAbs[t]<.05&&(o.lastFlickSpeed[t]=0,o.backAnimStarted[t]=
47!0,Fe("bounceZoomPan"+t,w[t],o.backAnimDestination[t],n||300,r.easing.sine.out,function(e){w[t]=e,ue()}))))},calculateAnimOffset:function e(t){o.backAnimStarted[t]||(o.speedDecelerationRatio[t]=o.speedDecelerationRatio[t]*(o.slowDownRatio[t]+o.slowDownRatioReverse[t]-o.slowDownRatioReverse[t]*o.timeDiff/10),o.speedDecelerationRatioAbs[t]=Math.abs(o.lastFlickSpeed[t]*o.speedDecelerationRatio[t]),o.distanceOffset[t]=o.lastFlickSpeed[t]*o.speedDecelerationRatio[t]*o.timeDiff,w[t]+=o.distanceOffset[t])},
48panAnimLoop:function e(){if(_e.zoomPan&&(_e.zoomPan.raf=Y(o.panAnimLoop),o.now=re(),o.timeDiff=o.now-o.lastNow,o.lastNow=o.now,o.calculateAnimOffset("x"),o.calculateAnimOffset("y"),ue(),o.calculateOverBoundsAnimOffset("x"),o.calculateOverBoundsAnimOffset("y"),o.speedDecelerationRatioAbs.x<.05&&o.speedDecelerationRatioAbs.y<.05))return w.x=Math.round(w.x),w.y=Math.round(w.y),ue(),void Me("zoomPan")}};return o},Yt=function e(t){if(t.calculateSwipeSpeed("y"),dt=l.currItem.bounds,t.backAnimDestination=
49{},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05)return t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0;ke("zoomPan"),t.lastNow=re(),t.panAnimLoop()},Vt=function e(t,n){var o,i,a;if(ft||(Je=h),"swipe"===t){var s=He.x-We.x,u=n.lastFlickDist.x<10;s>30&&(u||n.lastFlickOffset.x>20)?i=-1:s<-30&&(u||n.lastFlickOffset.x<-20)&&(i=1)}i&&((h+=i)<0?(h=c.loop?rn()-1:0,a=!0):h>=
50rn()&&(h=c.loop?0:rn()-1,a=!0),a&&!c.loop||(P+=i,k-=i,o=!0));var d=F.x*k,p=Math.abs(d-pt.x),m;return o||d>pt.x==n.lastFlickSpeed.x>0?(m=Math.abs(n.lastFlickSpeed.x)>0?p/Math.abs(n.lastFlickSpeed.x):333,m=Math.min(m,400),m=Math.max(m,250)):m=333,Je===h&&(o=!1),ft=!0,ae("mainScrollAnimStart"),Fe("mainScroll",pt.x,d,m,r.easing.cubic.out,pe,function(){Ae(),ft=!1,Je=-1,(o||Je!==h)&&l.updateCurrItem(),ae("mainScrollAnimComplete")}),o&&l.updateCurrItem(!0),o},qt=function e(t){return 1/ct*t*S},Xt=function e(){var t=
51E,n=be(),o=Ce();E<n?t=n:E>o&&(t=o);var i=1,a,s=wt;return gt&&!Xe&&!bt&&E<n?(l.close(),!0):(gt&&(a=function e(t){le((1-s)*t+s)}),l.zoomTo(t,0,200,r.easing.cubic.out,a),!0)};
51te("Gestures",{publicMethods:{initGestures:function e(){var t=function e(t,n,o,i,a){Z=t+n,N=t+o,z=t+i,U=a?t+a:""};(H=J.pointerEvent)&&J.touch&&(J.touch=!1),H?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):J.touch?(t("touch","start","move","end","cancel"),B=!0):t("mouse",
52"down","move","up"),b=N+" "+z+" "+U,C=Z,H&&!B&&(B=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),l.likelyTouchDevice=B,I[Z]=Kt,I[N]=Ht,I[z]=Bt,U&&(I[U]=I[z]),J.touch&&(C+=" mousedown",b+=" mousemove mouseup",I.mousedown=I[Z],I.mousemove=I[N],I.mouseup=I[z]),B||(c.allowPanToNext=!1)}}});var jt,$t=function e(n,o,i,a){var s;jt&&clearTimeout(jt),nn=!0,tn=!0,n.initialLayout?(s=n.initialLayout,n.initialLayout=null):s=c.getThumbBoundsFn&&c.getThumbBoundsFn(h);var u=i?c.hideAnimationDuration:c.showAnimationDuration,
53d=function e(){Me("initialZoom"),i?(l.template.removeAttribute("style"),l.bg.removeAttribute("style")):(le(1),o&&(o.style.display="block"),r.addClass(t,"pswp--animated-in"),ae("initialZoom"+(i?"OutEnd":"InEnd"))),a&&a(),nn=!1},p;if(!u||!s||void 0===s.x)return ae("initialZoom"+(i?"Out":"In")),E=n.initialZoomLevel,fe(w,n.initialPosition),ue(),t.style.opacity=i?0:1,le(1),void(u?setTimeout(function(){d()},u):d());(function e(){var o=f,a=!l.currItem.src||l.currItem.loadError||c.showHideOpacity;n.miniImg&&
54(n.miniImg.style.webkitBackfaceVisibility="hidden"),i||(E=s.w/n.w,w.x=s.x,w.y=s.y-X,l[a?"template":"bg"].style.opacity=.001,ue()),ke("initialZoom"),i&&!o&&r.removeClass(t,"pswp--animated-in"),a&&(i?r[(o?"remove":"add")+"Class"](t,"pswp--animate_opacity"):setTimeout(function(){r.addClass(t,"pswp--animate_opacity")},30)),jt=setTimeout(function(){if(ae("initialZoom"+(i?"Out":"In")),i){var e=s.w/n.w,l={x:w.x,y:w.y},c=E,p=wt,m=function n(o){1===o?(E=e,w.x=s.x,w.y=s.y-$):(E=(e-c)*o+c,w.x=(s.x-l.x)*o+l.x,
55w.y=(s.y-$-l.y)*o+l.y),ue(),a?t.style.opacity=1-o:le(p-o*p)};o?Fe("initialZoom",0,1,u,r.easing.cubic.out,m,d):(m(1),jt=setTimeout(d,u+20))}else E=n.initialZoomLevel,fe(w,n.initialPosition),ue(),le(1),a?t.style.opacity=1:le(1),jt=setTimeout(d,u+20)},i?25:90)})()},Jt,Qt={},en=[],tn,nn,on={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function e(){return Jt.length}},an,rn,
56ln,sn=function e(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},un=function e(t,n,o){var i=t.bounds;i.center.x=Math.round((Qt.x-n)/2),i.center.y=Math.round((Qt.y-o)/2)+t.vGap.top,i.max.x=n>Qt.x?Math.round(Qt.x-n):i.center.x,i.max.y=o>Qt.y?Math.round(Qt.y-o)+t.vGap.top:i.center.y,i.min.x=n>Qt.x?0:i.center.x,i.min.y=o>Qt.y?t.vGap.top:i.center.y},cn=function e(t,n,o){if(t.src&&!t.loadError){var i=!o;if(i&&(t.vGap||(t.vGap={top:0,bottom:0}),ae("parseVerticalMargin",t)),Qt.x=n.x,Qt.y=n.y-t.vGap.top-
57t.vGap.bottom,i){var a=Qt.x/t.w,r=Qt.y/t.h;t.fitRatio=a<r?a:r;var l=c.scaleMode;"orig"===l?o=1:"fit"===l&&(o=t.fitRatio),o>1&&(o=1),t.initialZoomLevel=o,t.bounds||(t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!o)return;return un(t,t.w*o,t.h*o),i&&o===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds}return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},t.initialPosition=t.bounds.center,t.bounds},dn=function e(t,n,o,i,
58a,r){n.loadError||i&&(n.imageAppended=!0,fn(n,i,n===l.currItem&&ee),o.appendChild(i),r&&setTimeout(function(){n&&n.loaded&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null)},500))},pn=function e(t){t.loading=!0,t.loaded=!1;var n=t.img=r.createEl("pswp__img","img"),o=function e(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,n.onload=n.onerror=null,n=null};return n.onload=o,n.onerror=function(){t.loadError=!0,o()},n.src=t.src,n},mn=function e(t,n){if(t.src&&
59t.loadError&&t.container)return n&&(t.container.innerHTML=""),t.container.innerHTML=c.errorMsg.replace("%url%",t.src),!0},fn=function e(t,n,o){if(t.src){n||(n=t.container.lastChild);var i=o?t.w:Math.round(t.w*t.fitRatio),a=o?t.h:Math.round(t.h*t.fitRatio);t.placeholder&&!t.loaded&&(t.placeholder.style.width=i+"px",t.placeholder.style.height=a+"px"),n.style.width=i+"px",n.style.height=a+"px"}},hn=function e(){if(en.length){for(var t,n=0;n<en.length;n++)(t=en[n]).holder.index===t.index&&dn(t.index,
60t.item,t.baseDiv,t.img,!1,t.clearPlaceholder);en=[]}};te("Controller",{publicMethods:{lazyLoadItem:function e(t){t=ne(t);var n=an(t);
60n&&(!n.loaded&&!n.loading||M)&&(ae("gettingData",t,n),n.src&&pn(n))},initController:function e(){r.extend(c,on,!0),l.items=Jt=i,an=l.getItemAt,rn=c.getNumItemsFn,ln=c.loop,rn()<3&&(c.loop=!1),ie("beforeChange",function(e){var t=c.preload,n=null===e||e>=0,o=Math.min(t[0],rn()),i=Math.min(t[1],rn()),a;for(a=1;a<=(n?i:o);a++)l.lazyLoadItem(h+a);for(a=1;a<=(n?o:i);a++)l.lazyLoadItem(h-
61a)}),ie("initialLayout",function(){l.currItem.initialLayout=c.getThumbBoundsFn&&c.getThumbBoundsFn(h)}),ie("mainScrollAnimComplete",hn),ie("initialZoomInEnd",hn),ie("destroy",function(){for(var e,t=0;t<Jt.length;t++)(e=Jt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);en=null})},getItemAt:function e(t){return t>=0&&(void 0!==Jt[t]&&Jt[t])},allowProgressiveImg:function e(){return c.forceProgressiveLoading||
62!B||c.mouseUsed||screen.width>1200},setContent:function e(t,n){c.loop&&(n=ne(n));var o=l.getItemAt(t.index);o&&(o.container=null);var i=l.getItemAt(n),a;if(i){ae("gettingData",n,i),t.index=n,t.item=i;var s=i.container=r.createEl("pswp__zoom-wrap");if(!i.src&&i.html&&(i.html.tagName?s.appendChild(i.html):s.innerHTML=i.html),mn(i),cn(i,T),!i.src||i.loadError||i.loaded)i.src&&!i.loadError&&((a=r.createEl("pswp__img","img")).style.opacity=1,a.src=i.src,fn(i,a),dn(n,i,s,a,!0));else{if(i.loadComplete=function(e){if(p){if(t&&
63t.index===n){if(mn(e,!0))return e.loadComplete=e.img=null,cn(e,T),ce(e),void(t.index===h&&l.updateCurrZoomItem());e.imageAppended?!nn&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null):J.transform&&(ft||nn)?en.push({item:e,baseDiv:s,img:e.img,index:n,holder:t,clearPlaceholder:!0}):dn(n,e,s,e.img,ft||nn,!0)}e.loadComplete=null,e.img=null,ae("imageLoadComplete",n,e)}},r.features.transform){var u="pswp__img pswp__img--placeholder";u+=i.msrc?"":" pswp__img--placeholder--blank";var d=
64r.createEl(u,i.msrc?"img":"");i.msrc&&(d.src=i.msrc),fn(i,d),s.appendChild(d),i.placeholder=d}i.loading||pn(i),l.allowProgressiveImg()&&(!tn&&J.transform?en.push({item:i,baseDiv:s,img:i.img,index:n,holder:t}):dn(n,i,s,i.img,!0,!0))}tn||n!==h?ce(i):(mt=s.style,$t(i,a||i.img)),t.el.innerHTML="",t.el.appendChild(s)}else t.el.innerHTML=""},cleanSlide:function e(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});var vn,yn={},xn=function e(t,n,o){var i=document.createEvent("CustomEvent"),
65a={origEvent:t,target:t.target,releasePoint:n,pointerType:o||"touch"};i.initCustomEvent("pswpTap",!0,!0,a),t.target.dispatchEvent(i)},gn;te("Tap",{publicMethods:{initTap:function e(){ie("firstTouchStart",l.onTapStart),ie("touchRelease",l.onTapRelease),ie("destroy",function(){yn={},vn=null})},onTapStart:function e(t){t.length>1&&(clearTimeout(vn),vn=null)},onTapRelease:function e(t,n){if(n&&!it&&!nt&&!Oe){var o=n,i;if(vn&&(clearTimeout(vn),vn=null,It(o,yn)))return void ae("doubleTap",o);if("mouse"===
66n.type)return void xn(t,n,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||r.hasClass(t.target,"pswp__single-tap"))return void xn(t,n);fe(yn,o),vn=setTimeout(function(){xn(t,n),vn=null},300)}}}}),te("DesktopZoom",{publicMethods:{initDesktopZoom:function e(){j||(B?ie("mouseUsed",function(){l.setupDesktopZoom()}):l.setupDesktopZoom(!0))},setupDesktopZoom:function e(n){gn={};var o="wheel mousewheel DOMMouseScroll";ie("bindEvents",function(){r.bind(t,o,l.handleMouseWheel)}),ie("unbindEvents",function(){gn&&
67r.unbind(t,o,l.handleMouseWheel)}),l.mouseZoomedIn=!1;var i,a=function e(){l.mouseZoomedIn&&(r.removeClass(t,"pswp--zoomed-in"),l.mouseZoomedIn=!1),E<1?r.addClass(t,"pswp--zoom-allowed"):r.removeClass(t,"pswp--zoom-allowed"),s()},s=function e(){i&&(r.removeClass(t,"pswp--dragging"),i=!1)};ie("resize",a),ie("afterChange",a),ie("pointerDown",function(){l.mouseZoomedIn&&(i=!0,r.addClass(t,"pswp--dragging"))}),ie("pointerUp",s),n||a()},handleMouseWheel:function e(t){if(E<=l.currItem.fitRatio)return c.modal&&
68(!c.closeOnScroll||Oe||tt?t.preventDefault():K&&Math.abs(t.deltaY)>2&&(f=!0,l.close())),!0;if(t.stopPropagation(),gn.x=0,"deltaX"in t)1===t.deltaMode?(gn.x=18*t.deltaX,gn.y=18*t.deltaY):(gn.x=t.deltaX,gn.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(gn.x=-.16*t.wheelDeltaX),t.wheelDeltaY?gn.y=-.16*t.wheelDeltaY:gn.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;gn.y=t.detail}we(E,!0);var n=w.x-gn.x,o=w.y-gn.y;(c.modal||n<=dt.min.x&&n>=dt.max.x&&o<=dt.min.y&&o>=dt.max.y)&&t.preventDefault(),
69l.panTo(n,o)},toggleDesktopZoom:function e(n){n=n||{x:T.x/2+A.x,y:T.y/2+A.y};var o=c.getDoubleTapZoom(!0,l.currItem),i=E===o;l.mouseZoomedIn=!i,l.zoomTo(i?l.currItem.initialZoomLevel:o,n,333),r[(i?"remove":"add")+"Class"](t,"pswp--zoomed-in")}}});var wn={history:!0,galleryUID:1},bn,Cn,In,Tn,En,Sn,Dn,_n,On,Mn,kn,An,Fn=function e(){return kn.hash.substring(1)},Ln=function e(){bn&&clearTimeout(bn),In&&clearTimeout(In)},Rn=function e(){var t=Fn(),n={};if(t.length<5)return n;var o,i=t.split("&");for(o=
700;o<i.length;o++)if(i[o]){var a=i[o].split("=");a.length<2||(n[a[0]]=a[1])}if(c.galleryPIDs){var r=n.pid;for(n.pid=0,o=0;o<Jt.length;o++)if(Jt[o].pid===r){n.pid=o;break}}else n.pid=parseInt(n.pid,10)-1;return n.pid<0&&(n.pid=0),n},Pn=function e(){if(In&&clearTimeout(In),Oe||tt)In=setTimeout(e,500);else{Tn?clearTimeout(Cn):Tn=!0;var t=h+1,n=an(h);n.hasOwnProperty("pid")&&(t=n.pid);var o=Dn+"&gid="+c.galleryUID+"&pid="+t;_n||-1===kn.hash.indexOf(o)&&(Mn=!0);var i=kn.href.split("#")[0]+"#"+o;An?"#"+
71o!==window.location.hash&&history[_n?"replaceState":"pushState"]("",document.title,i):_n?kn.replace(i):kn.hash=o,_n=!0,Cn=setTimeout(function(){Tn=!1},60)}};te("History",{publicMethods:{initHistory:function e(){if(r.extend(c,wn,!0),c.history){kn=window.location,Mn=!1,On=!1,_n=!1,Dn=Fn(),An="pushState"in history,Dn.indexOf("gid=")>-1&&(Dn=(Dn=Dn.split("&gid=")[0]).split("?gid=")[0]),ie("afterChange",l.updateURL),ie("unbindEvents",function(){r.unbind(window,"hashchange",l.onHashChange)});var t=function e(){Sn=
72!0,On||(Mn?history.back():Dn?kn.hash=Dn:An?history.pushState("",document.title,kn.pathname+kn.search):kn.hash=""),Ln()};ie("unbindEvents",function(){f&&t()}),ie("destroy",function(){Sn||t()}),ie("firstUpdate",function(){h=Rn().pid});var n=Dn.indexOf("pid=");n>-1&&"&"===(Dn=Dn.substring(0,n)).slice(-1)&&(Dn=Dn.slice(0,-1)),setTimeout(function(){p&&r.bind(window,"hashchange",l.onHashChange)},40)}},onHashChange:function e(){if(Fn()===Dn)return On=!0,void l.close();Tn||(En=!0,l.goTo(Rn().pid),En=!1)},
73updateURL:function e(){Ln(),En||(_n?bn=setTimeout(Pn,800):Pn())}}}),r.extend(l,Le)};t.a=i},2589:function(e,t,n){var o=function e(t,n){var o=this,i=!1,a=!0,r,l,s,u,c,d,p,m=!0,f,h,v,y,x,g,w,b,C={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4E3,timeToIdleOutside:1E3,loadingIndicatorDelay:1E3,addCaptionHTMLFn:function e(t,n){return t.title?(n.children[0].innerHTML=t.title,!0):(n.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,
74zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",
75url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function e(){return t.currItem.src||""},getPageURLForShare:function e(){return window.location.href},getTextForShare:function e(){return t.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},I,T,E=function e(t){if(I)return!0;t=t||window.event,b.timeToIdle&&b.mouseUsed&&!h&&Z();for(var o,i,a=(t.target||t.srcElement).getAttribute("class")||"",r,l=0;l<G.length;l++)(i=G[l]).onTap&&a.indexOf("pswp__"+i.name)>-1&&(i.onTap(),r=!0);
76if(r){t.stopPropagation&&t.stopPropagation(),I=!0;var s=n.features.isOldAndroid?600:30;T=setTimeout(function(){I=!1},s)}},S=function e(){return!t.likelyTouchDevice||b.mouseUsed||screen.width>b.fitControlsWidth},D=function e(t,o,i){n[(i?"add":"remove")+"Class"](t,"pswp__"+o)},_=function e(){var t=1===b.getNumItemsFn();t!==w&&(D(l,"ui--one-slide",t),w=t)},O=function e(){D(p,"share-modal--hidden",m)},M=function e(){return(m=!m)?(n.removeClass(p,"pswp__share-modal--fade-in"),setTimeout(function(){m&&
77O()},300)):(O(),setTimeout(function(){m||n.addClass(p,"pswp__share-modal--fade-in")},30)),m||A(),!1},k=function e(n){var o=(n=n||window.event).target||n.srcElement;return t.shout("shareLinkClick",n,o),!!o.href&&(!!o.hasAttribute("download")||(window.open(o.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),m||M(),!1))},A=function e(){for(var t="",n,o,i,a,r,l=0;l<b.shareButtons.length;l++)n=
78b.shareButtons[l],i=b.getImageURLForShare(n),a=b.getPageURLForShare(n),r=b.getTextForShare(n),t+='<a href="'+(o=n.url.replace("{{url}}",encodeURIComponent(a)).replace("{{image_url}}",encodeURIComponent(i)).replace("{{raw_image_url}}",i).replace("{{text}}",encodeURIComponent(r)))+'" target="_blank" class="pswp__share--'+n.id+'"'+(n.download?"download":"")+">"+n.label+"</a>",b.parseShareButtonOut&&(t=b.parseShareButtonOut(n,t));p.children[0].innerHTML=t,p.children[0].onclick=k},F=function e(t){for(var o=
790;o<b.closeElClasses.length;o++)if(n.hasClass(t,"pswp__"+b.closeElClasses[o]))return!0},L,R,P=0,Z=function e(){clearTimeout(R),P=0,h&&o.setIdle(!1)},N=function e(t){var n=(t=t||window.event).relatedTarget||t.toElement;n&&"HTML"!==n.nodeName||(clearTimeout(R),R=setTimeout(function(){o.setIdle(!0)},b.timeToIdleOutside))},z=function e(){b.fullscreenEl&&!n.features.isOldAndroid&&(r||(r=o.getFullscreenAPI()),r?(n.bind(document,r.eventK,o.updateFullscreen),o.updateFullscreen(),n.addClass(t.template,"pswp--supports-fs")):
80n.removeClass(t.template,"pswp--supports-fs"))},U=function e(){b.preloaderEl&&(K(!0),v("beforeChange",function(){clearTimeout(g),g=setTimeout(function(){t.currItem&&t.currItem.loading?(!t.allowProgressiveImg()||t.currItem.img&&!t.currItem.img.naturalWidth)&&K(!1):K(!0)},b.loadingIndicatorDelay)}),v("imageLoadComplete",function(e,n){t.currItem===n&&K(!0)}))},K=function e(t){x!==t&&(D(y,"preloader--active",!t),x=t)},H=function e(t){var o=t.vGap;if(S()){var i=b.barsSize;if(b.captionEl&&"auto"===i.bottom)if(u||
81((u=n.createEl("pswp__caption pswp__caption--fake")).appendChild(n.createEl("pswp__caption__center")),l.insertBefore(u,s),n.addClass(l,"pswp__ui--fit")),b.addCaptionHTMLFn(t,u,!0)){var a=u.clientHeight;o.bottom=parseInt(a,10)||44}else o.bottom=i.top;else o.bottom="auto"===i.bottom?0:i.bottom;o.top=i.top}else o.top=o.bottom=0},W=function e(){b.timeToIdle&&v("mouseUsed",function(){n.bind(document,"mousemove",Z),n.bind(document,"mouseout",N),L=setInterval(function(){2===++P&&o.setIdle(!0)},b.timeToIdle/
822)})},B=function e(){var t;v("onVerticalDrag",function(e){a&&e<.95?o.hideControls():!a&&e>=.95&&o.showControls()}),v("onPinchClose",function(e){a&&e<.9?(o.hideControls(),t=!0):t&&!a&&e>.9&&o.showControls()}),v("zoomGestureEnded",function(){(t=!1)&&!a&&o.showControls()})},G=[{name:"caption",option:"captionEl",onInit:function e(t){s=t}},{name:"share-modal",option:"shareEl",onInit:function e(t){p=t},onTap:function e(){M()}},{name:"button--share",option:"shareEl",onInit:function e(t){d=t},onTap:function e(){M()}},
83{name:"button--zoom",option:"zoomEl",onTap:t.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function e(t){c=t}},{name:"button--close",option:"closeEl",onTap:t.close},{name:"button--arrow--left",option:"arrowEl",onTap:t.prev},{name:"button--arrow--right",option:"arrowEl",onTap:t.next},{name:"button--fs",option:"fullscreenEl",onTap:function e(){r.isFullscreen()?r.exit():r.enter()}},{name:"preloader",option:"preloaderEl",onInit:function e(t){y=t}}],Y=function e(){var t,o,i,a=function e(a){if(a)for(var r=
84a.length,l=0;l<r;l++){t=a[l],o=t.className;for(var s=0;s<G.length;s++)i=G[s],o.indexOf("pswp__"+i.name)>-1&&(b[i.option]?(n.removeClass(t,"pswp__element--disabled"),i.onInit&&i.onInit(t)):n.addClass(t,"pswp__element--disabled"))}};a(l.children);var r=n.getChildByClass(l,"pswp__top-bar");r&&a(r.children)};o.init=function(){n.extend(t.options,C,!0),b=t.options,l=n.getChildByClass(t.scrollWrap,"pswp__ui"),v=t.listen,B(),v("beforeChange",o.update),v("doubleTap",function(e){var n=t.currItem.initialZoomLevel;
85t.getZoomLevel()!==n?t.zoomTo(n,e,333):t.zoomTo(b.getDoubleTapZoom(!1,t.currItem),e,333)}),v("preventDragEvent",function(e,t,n){var o=e.target||e.srcElement;o&&o.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(o.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(o.tagName))&&(n.prevent=!1)}),v("bindEvents",function(){n.bind(l,"pswpTap click",E),n.bind(t.scrollWrap,"pswpTap",o.onGlobalTap),t.likelyTouchDevice||n.bind(t.scrollWrap,"mouseover",o.onMouseOver)}),v("unbindEvents",
86function(){m||M(),L&&clearInterval(L),n.unbind(document,"mouseout",N),n.unbind(document,"mousemove",Z),n.unbind(l,"pswpTap click",E),n.unbind(t.scrollWrap,"pswpTap",o.onGlobalTap),n.unbind(t.scrollWrap,"mouseover",o.onMouseOver),r&&(n.unbind(document,r.eventK,o.updateFullscreen),r.isFullscreen()&&(b.hideAnimationDuration=0,r.exit()),r=null)}),v("destroy",function(){b.captionEl&&(u&&l.removeChild(u),n.removeClass(s,"pswp__caption--empty")),p&&(p.children[0].onclick=null),n.removeClass(l,"pswp__ui--over-close"),
87n.addClass(l,"pswp__ui--hidden"),o.setIdle(!1)}),b.showAnimationDuration||n.removeClass(l,"pswp__ui--hidden"),v("initialZoomIn",function(){b.showAnimationDuration&&n.removeClass(l,"pswp__ui--hidden")}),v("initialZoomOut",function(){n.addClass(l,"pswp__ui--hidden")}),v("parseVerticalMargin",H),Y(),b.shareEl&&d&&p&&(m=!0),_(),W(),z(),U()},o.setIdle=function(e){h=e,D(l,"ui--idle",e)},o.update=function(){a&&t.currItem?(o.updateIndexIndicator(),b.captionEl&&(b.addCaptionHTMLFn(t.currItem,s),D(s,"caption--empty",
88!t.currItem.title)),i=!0):i=!1,m||M(),_()},o.updateFullscreen=function(e){e&&setTimeout(function(){t.setScrollOffset(0,n.getScrollY())},50),n[(r.isFullscreen()?"add":"remove")+"Class"](t.template,"pswp--fs")},o.updateIndexIndicator=function(){b.counterEl&&(c.innerHTML=t.getCurrentIndex()+1+b.indexIndicatorSep+b.getNumItemsFn())},o.onGlobalTap=function(e){var i=(e=e||window.event).target||e.srcElement;if(!I)if(e.detail&&"mouse"===e.detail.pointerType){if(F(i))return void t.close();n.hasClass(i,"pswp__img")&&
89(1===t.getZoomLevel()&&t.getZoomLevel()<=t.currItem.fitRatio?b.clickToCloseNonZoomable&&t.close():t.toggleDesktopZoom(e.detail.releasePoint))}else if(b.tapToToggleControls&&(a?o.hideControls():o.showControls()),b.tapToClose&&(n.hasClass(i,"pswp__img")||F(i)))return void t.close()},o.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;D(l,"ui--over-close",F(t))},o.hideControls=function(){n.addClass(l,"pswp__ui--hidden"),a=!1},o.showControls=function(){a=!0,i||o.update(),n.removeClass(l,
90"pswp__ui--hidden")},o.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},o.getFullscreenAPI=function(){var e=document.documentElement,n,o="fullscreenchange";return e.requestFullscreen?n={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:o}:e.mozRequestFullScreen?n={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+o}:e.webkitRequestFullscreen?
91n={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+o}:e.msRequestFullscreen&&(n={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),n&&(n.enter=function(){if(f=b.closeOnScroll,b.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return t.template[this.enterK]();t.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},n.exit=function(){return b.closeOnScroll=f,document[this.exitK]()},
92n.isFullscreen=function(){return document[this.elementK]}),n}};t.a=o},3136:function(e,t,n){var o=n(0),i=n(1),a=n(2588),r=n(2589),l;webwave.provide("com.webwave.photoswipe.PhotoswipeService");var s=function(){function e(){Object(o.a)(this,e)}return Object(i.a)(e,[{key:"bindImgClickOnHtmlText",value:function t(n){var o=this;this.removeImgClickOnHtmlText(n),n.on(e.CLICK_EVENT_NAME,function(e){var t=e.target;if("IMG"===t.nodeName&&"A"!==t.parentNode.tagName){var i=n.find("img"),a=Array.prototype.map.call(i,
93function(e){var t=$(e);
93return{src:t.attr("src"),w:e.naturalWidth,h:e.naturalHeight,msrc:t.attr("src"),title:t.attr("title")}});o.openAsLightbox(a,i.index(t))}})}},{key:"removeImgClickOnHtmlText",value:function t(n){n.off(e.CLICK_EVENT_NAME)}},{key:"openAsLightbox",value:function e(t,n){webwave.isNotDef(n)&&(n=0);var o=document.querySelectorAll(".pswp")[0],i={index:parseInt(n,10),history:!1,closeOnScroll:!1,closeOnVerticalDrag:!0,pinchToClose:!1,shareEl:!1},l;(new a.a(o,r.a,t,i)).init()}}]),e}();s.CLICK_EVENT_NAME=
94"click.pswpClickHandler",com.webwave.photoswipe.PhotoswipeService=s,s.getInstance=function(){return webwave.isNotDef(l)&&(l=new s),l}},42:function(e,t,n){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.a=o},6787:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n(2588),i=
95n(2589),a=n(3136);window[window.WWNamespace.LOAD_MODULE_SERVICE].notifyAboutLoad(window[window.WWNamespace.MODULES].PHOTOSWIPE)}});var process=process||{env:{NODE_ENV:"development"}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.