1/*! For license information please see vendor-b48beae3.6b3e4a3a3ff8217ddce4.js.LICENSE.txt */ 2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4696],{81229(e,t,n){"use strict";n.d(t,{DX:()=>r.DX,yN:()=>F,LV:()=>R});var o=n(20367),i=n(13245),r=n(16548),a=new r.DX;var l=Object.prototype.hasOwnProperty,s=Array.from||function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t};function u(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}function c(e){return c="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},c(e)}function f(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,p(o.key),o)}}function p(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var d=[];function m(e,t){if(!e)throw new Error(t||"assertion failure")}function h(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function v(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function g(e){return e.slice(0)}var y=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count},t=[{key:"peek",value:function(){if(1===this.value.length&&!x(this))return w(this),this.value[0]}},{key:"recompute",value:function(e){return m(!this.recomputing,"already recomputing"),w(this),x(this)?function(e,t){return S(e),a.withValue(e,b,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{u(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,x(e)||E(e)}(e),v(e.value)}(this,e):v(this.value)}},{key:"setDirty",value:function(){this.dirty||(this.dirty=!0,C(this),u(this))}},{key:"dispose",value:function(){var e=this;this.setDirty(),S(this),T(this,function(t,n){t.setDirty(),M(t,e)})}},{key:"forget",value:function(){this.dispose()}},{key:"dependOn",value:function(e){e.add(this),this.deps||(this.deps=d.pop()||new Set),this.deps.add(e)}},{key:"forgetDeps",value:function(){var e=this;this.deps&&(s(this.deps).forEach(function(t){return t.delete(e)}),this.deps.clear(),d.push(this.deps),this.deps=null)}}],t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function w(e){var t=a.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),x(e)?I(t,e):D(t,e),t}function b(e,t){e.recomputing=!0;var n,o=e.normalizeResult;o&&1===e.value.length&&(n=g(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),o&&n&&!h(n,e.value))try{e.value[0]=o(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function x(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function C(e){T(e,I)}function E(e){T(e,D)}function T(e,t){var n=e.parents.size;if(n)for(var o=s(e.parents),i=0;i<n;++i)t(o[i],e)}function I(e,t){m(e.childValues.has(t)),m(x(t));var n=!x(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=d.pop()||new Set;e.dirtyChildren.add(t),n&&C(e)}function D(e,t){m(e.childValues.has(t)),m(!x(t));var n=e.childValues.get(t);0===n.length?e.childValues.set(t,g(t.value)):h(n,t.value)||e.setDirty(),O(e,t),x(e)||E(e)}function O(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(d.length<100&&d.push(n),e.dirtyChildren=null))}function S(e){e.childValues.size>0&&e.childValues.forEach(function(t,n){M(e,n)}),e.forgetDeps(),m(null===e.dirtyChildren)}function M(e,t){t.parents.delete(e),e.childValues.delete(t),O(e,t)}y.count=0;var k,A={setDirty:!0,dispose:!0,forget:!0};function F(e){var t=new Map,n=e&&e.subscribe;function o(e){var o=a.getValue();if(o){var i=t.get(e);i||t.set(e,i=new Set),o.dependOn(i),"function"==typeof n&&(u(i),i.unsubscribe=n(e))}}return o.dirty=function(e,n){var o=t.get(e);if(o){var i=n&&l.call(A,n)?n:"setDirty";
2s(o).forEach(function(e){return e[i]()}),t.delete(e),u(o)}},o}function L(){for(var e=k||(k=new o.b("function"==typeof WeakMap)),t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.lookupArray(n)}var _=new Set;function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),n=t.max,o=void 0===n?Math.pow(2,16):n,r=t.keyArgs,l=t.makeCacheKey,s=void 0===l?L:l,u=t.normalizeResult,c=t.subscribe,f=t.cache,p=void 0===f?i.C:f,d="function"==typeof p?new p(o,function(e){return e.dispose()}):p,m=function(){var t=s.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);var n=d.get(t);n||(d.set(t,n=new y(e)),n.normalizeResult=u,n.subscribe=c,n.forget=function(){return d.delete(t)});var o=n.recompute(Array.prototype.slice.call(arguments));return d.set(t,n),_.add(d),a.hasValue()||(_.forEach(function(e){return e.clean()}),_.clear()),o};function h(e){var t=e&&d.get(e);t&&t.setDirty()}function v(e){var t=e&&d.get(e);if(t)return t.peek()}function g(e){return!!e&&d.delete(e)}return Object.defineProperty(m,"size",{get:function(){return d.size},configurable:!1,enumerable:!1}),Object.freeze(m.options={max:o,keyArgs:r,makeCacheKey:s,normalizeResult:u,subscribe:c,cache:d}),m.dirtyKey=h,m.dirty=function(){h(s.apply(null,arguments))},m.peekKey=v,m.peek=function(){return v(s.apply(null,arguments))},m.forgetKey=g,m.forget=function(){return g(s.apply(null,arguments))},m.makeCacheKey=s,m.getKey=r?function(){return s.apply(null,r.apply(null,arguments))}:s,Object.freeze(m)}},96513(e,t,n){"use strict";function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{$4:()=>H});var r=Math.PI+1e-4,a=[1,1];function l(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e};return e*o(.5-t*(.5-n))}var s=Math.min;function u(e,t,n){var o=s(1,t/n);return s(1,e+(s(1,1-o)-e)*(.275*o))}function c(e,t){return[e[0]+t[0],e[1]+t[1]]}function f(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function p(e,t){return[e[0]-t[0],e[1]-t[1]]}function d(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function m(e,t){return[e[0]*t,e[1]*t]}function h(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function v(e){return[e[1],-e[0]]}function g(e,t){var n=t[0];return e[0]=t[1],e[1]=-n,e}function y(e,t){return e[0]*t[0]+e[1]*t[1]}function w(e,t){return e[0]===t[0]&&e[1]===t[1]}function b(e,t){var n=e[0]-t[0],o=e[1]-t[1];return n*n+o*o}function x(e){return function(e,t){return[e[0]/t,e[1]/t]}(e,function(e){return Math.hypot(e[0],e[1])}(e))}function C(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function E(e,t,n){var o=Math.sin(n),i=Math.cos(n),r=e[0]-t[0],a=e[1]-t[1],l=r*o+a*i;return[r*i-a*o+t[0],l+t[1]]}function T(e,t,n,o){var i=Math.sin(o),r=Math.cos(o),a=t[0]-n[0],l=t[1]-n[1],s=a*r-l*i,u=a*i+l*r;return e[0]=s+n[0],e[1]=u+n[1],e}function I(e,t,n){return c(e,m(p(t,e),n))}function D(e,t,n,o){var i=n[0]-t[0],r=n[1]-t[1];return e[0]=t[0]+i*o,e[1]=t[1]+r*o,e}function O(e,t,n){return c(e,m(t,n))}var S=[0,0],M=[0,0],k=[0,0];function A(e,t){for(var n=O(e,x(v(p(e,c(e,[1,1])))),-t),o=[],i=1/13,a=i;a<=1;a+=i)o.push(E(n,e,2*r*a));return o}function F(e,t,n){for(var o=[],i=1/n,a=i;a<=1;a+=i)o.push(E(t,e,r*a));return o}function L(e,t,n){var o=p(t,n),i=m(o,.5),r=m(o,.51);return[p(e,i),p(e,r),c(e,r),c(e,i)]}function _(e,t,n,o){for(var i=[],a=O(e,t,n),l=1/o,s=l;s<1;s+=l)i.push(E(a,e,3*r*s));return i}function R(e,t,n){return[c(e,m(t,n)),c(e,m(t,.99*n)),p(e,m(t,.99*n)),p(e,m(t,n))]}function P(e,t,n){return!1===e||void 0===e?0:!0===e?Math.max(t,n):e}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.size,i=void 0===n?16:n,a=t.smoothing,s=void 0===a?.5:a,m=t.thinning,w=void 0===m?.5:m,x=t.simulatePressure,C=void 0===x||x,E=t.easing,I=void 0===E?function(e){return e}:E,O=t.start,N=void 0===O?{}:O,z=t.end,Z=void 0===z?{}:z,H=t.last,B=void 0!==H&&H,W=N.cap,U=void 0===W||W,K=N.easing,V=void 0===K?function(e){return e*(2-e)}:K,Y=Z.cap,j=void 0===Y||Y,G=Z.easing,q=void 0===G?function(e){return--e*e*e+1}:G;if(0===e.length||i<=0)return[];for(var X,$=e[e.length-1].runningLength,J=P(N.taper,i,$),Q=P(Z.taper,i,$),ee=Math.pow(i*s,2),te=[],ne=[],oe=function(e,t,n){return e.slice(0,10).reduce(function(e,o){var i=o.pressure;return t&&(i=u(e,o.distance,n)),(e+i)/2},e[0].pressure)}
2(e,C,i),ie=l(i,w,e[e.length-1].pressure,I),re=e[0].vector,ae=e[0].point,le=ae,se=ae,ue=le,ce=!1,fe=0;fe<e.length;fe++){var pe=e[fe].pressure,de=e[fe],me=de.point,he=de.vector,ve=de.distance,ge=de.runningLength,ye=fe===e.length-1;if(ye||!($-ge<3)){w?(C&&(pe=u(oe,ve,i)),ie=l(i,w,pe,I)):ie=i/2,void 0===X&&(X=ie);var we=ge<J?V(ge/J):1,be=$-ge<Q?q(($-ge)/Q):1;ie=Math.max(.01,ie*Math.min(we,be));var xe=(ye?e[fe]:e[fe+1]).vector,Ce=ye?1:y(he,xe),Ee=null!==Ce&&Ce<0;if(y(he,re)<0&&!ce||Ee){g(S,re),h(S,S,ie);for(var Te=0;Te<=1;Te+=.07692307692307693)d(M,me,S),T(M,M,me,r*Te),se=[M[0],M[1]],te.push(se),f(k,me,S),T(k,k,me,r*-Te),ue=[k[0],k[1]],ne.push(ue);ae=se,le=ue,Ee&&(ce=!0)}else ce=!1,ye?(g(S,he),h(S,S,ie),te.push(p(me,S)),ne.push(c(me,S))):(D(S,xe,he,Ce),g(S,S),h(S,S,ie),d(M,me,S),se=[M[0],M[1]],(fe<=1||b(ae,se)>ee)&&(te.push(se),ae=se),f(k,me,S),ue=[k[0],k[1]],(fe<=1||b(le,ue)>ee)&&(ne.push(ue),le=ue),oe=pe,re=he)}}var Ie=[e[0].point[0],e[0].point[1]],De=e.length>1?[e[e.length-1].point[0],e[e.length-1].point[1]]:c(e[0].point,[1,1]),Oe=[],Se=[];if(1===e.length){if(!J&&!Q||B)return A(Ie,X||ie)}else{J||Q&&1===e.length||(U?Oe.push.apply(Oe,o(F(Ie,ne[0],13))):Oe.push.apply(Oe,o(L(Ie,te[0],ne[0]))));var Me=v(function(e){return[-e[0],-e[1]]}(e[e.length-1].vector));Q||J&&1===e.length?Se.push(De):j?Se.push.apply(Se,o(_(De,Me,ie,29))):Se.push.apply(Se,o(R(De,Me,ie)))}return te.concat(Se,ne.reverse(),Oe)}var z=[0,0];function Z(e){return null!=e&&e>=0}function H(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return N(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.streamline,r=void 0===i?.5:i,l=n.size,s=void 0===l?16:l,u=n.last,f=void 0!==u&&u;if(0===e.length)return[];var p=.15+.85*(1-r),m=Array.isArray(e[0])?e:e.map(function(e){var t=e.x,n=e.y,o=e.pressure;return[t,n,void 0===o?.5:o]});if(2===m.length){var h=m[1];m=m.slice(0,-1);for(var v=1;v<5;v++)m.push(I(m[0],h,v/4))}1===m.length&&(m=[].concat(o(m),[[].concat(o(c(m[0],a)),o(m[0].slice(2)))]));for(var g=[{point:[m[0][0],m[0][1]],pressure:Z(m[0][2])?m[0][2]:.25,vector:[].concat(a),distance:0,runningLength:0}],y=!1,b=0,E=g[0],T=m.length-1,D=1;D<m.length;D++){var O=f&&D===T?[m[D][0],m[D][1]]:I(E.point,m[D],p);if(!w(E.point,O)){var S=C(O,E.point);if(b+=S,D<T&&!y){if(b<s)continue;y=!0}d(z,E.point,O),E={point:O,pressure:Z(m[D][2])?m[D][2]:.5,vector:x(z),distance:S,runningLength:b},g.push(E)}}return g[0].vector=(null===(t=g[1])||void 0===t?void 0:t.vector)||[0,0],g}(e,t),t)}},41550(e,t,n){var o,i;void 0===(i="function"==typeof(o=function(){"use strict";return function(e,t){var n,o,i,r,a,l,s,u,c,f,p,d,m,h,v,g,y,w,b=this,x=!1,C=!0,E=!0,T={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!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",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},I=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!c&&R();for(var n,o,i=(e.target||e.srcElement).getAttribute("class")||"",r=0;r<U.length;r++)(n=U[r]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),o=!0);if(o){e.stopPropagation&&e.stopPropagation(),g=!0;var a=t.features.isOldAndroid?600:30;setTimeout(function(){g=!1},a)}},D=function(){return!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth},O=function(e,n,o){t[(o?"add":"remove")+"Class"](e,"pswp__"+n)},S=function(){var e=1===v.getNumItemsFn();e!==h&&(O(o,"ui--one-slide",e),h=e)},M=function(){O(s,"share-modal--hidden",E)},k=function(){return(E=!E)?(t.removeClass(s,"pswp__share-modal--fade-in"),setTimeout(function(){E&&M()},300)):(M(),setTimeout(function(){E||t.addClass(s,"pswp__share-modal--fade-in")},30)),E||F(),!1},A=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.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)),E||k(),1))},F=function(){for(var e,t,n,o,i="",r=0;r<v.shareButtons.length;r++)e=v.shareButtons[r],t=v.getImageURLForShare(e),n=v.getPageURLForShare(e),o=v.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(o))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(i=v.parseShareButtonOut(e,i));s.children[0].innerHTML=i,s.children[0].onclick=A},L=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},_=0,R=function(){clearTimeout(w),_=0,c&&b.setIdle(!1)},P=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(w),w=setTimeout(function(){b.setIdle(!0)}
2,v.timeToIdleOutside))},N=function(){v.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=b.getFullscreenAPI()),n?(t.bind(document,n.eventK,b.updateFullscreen),b.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},z=function(){v.preloaderEl&&(Z(!0),f("beforeChange",function(){clearTimeout(m),m=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&Z(!1):Z(!0)},v.loadingIndicatorDelay)}),f("imageLoadComplete",function(t,n){e.currItem===n&&Z(!0)}))},Z=function(e){d!==e&&(O(p,"preloader--active",!e),d=e)},H=function(e){var n=e.vGap;if(D()){var a=v.barsSize;if(v.captionEl&&"auto"===a.bottom)if(r||((r=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),o.insertBefore(r,i),t.addClass(o,"pswp__ui--fit")),v.addCaptionHTMLFn(e,r,!0)){var l=r.clientHeight;n.bottom=parseInt(l,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},B=function(){v.timeToIdle&&f("mouseUsed",function(){t.bind(document,"mousemove",R),t.bind(document,"mouseout",P),y=setInterval(function(){2===++_&&b.setIdle(!0)},v.timeToIdle/2)})},W=function(){var e;f("onVerticalDrag",function(e){C&&e<.95?b.hideControls():!C&&e>=.95&&b.showControls()}),f("onPinchClose",function(t){C&&t<.9?(b.hideControls(),e=!0):e&&!C&&t>.9&&b.showControls()}),f("zoomGestureEnded",function(){(e=!1)&&!C&&b.showControls()})},U=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){s=e},onTap:function(){k()}},{name:"button--share",option:"shareEl",onInit:function(e){l=e},onTap:function(){k()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}],K=function(){var e,n,i,r=function(o){if(o)for(var r=o.length,a=0;a<r;a++){e=o[a],n=e.className;for(var l=0;l<U.length;l++)i=U[l],n.indexOf("pswp__"+i.name)>-1&&(v[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};r(o.children);var a=t.getChildByClass(o,"pswp__top-bar");a&&r(a.children)};b.init=function(){t.extend(e.options,T,!0),v=e.options,o=t.getChildByClass(e.scrollWrap,"pswp__ui"),f=e.listen,W(),f("beforeChange",b.update),f("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(v.getDoubleTapZoom(!1,e.currItem),t,333)}),f("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)}),f("bindEvents",function(){t.bind(o,"pswpTap click",I),t.bind(e.scrollWrap,"pswpTap",b.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",b.onMouseOver)}),f("unbindEvents",function(){E||k(),y&&clearInterval(y),t.unbind(document,"mouseout",P),t.unbind(document,"mousemove",R),t.unbind(o,"pswpTap click",I),t.unbind(e.scrollWrap,"pswpTap",b.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",b.onMouseOver),n&&(t.unbind(document,n.eventK,b.updateFullscreen),n.isFullscreen()&&(v.hideAnimationDuration=0,n.exit()),n=null)}),f("destroy",function(){v.captionEl&&(r&&o.removeChild(r),t.removeClass(i,"pswp__caption--empty")),s&&(s.children[0].onclick=null),t.removeClass(o,"pswp__ui--over-close"),t.addClass(o,"pswp__ui--hidden"),b.setIdle(!1)}),v.showAnimationDuration||t.removeClass(o,"pswp__ui--hidden"),f("initialZoomIn",function(){v.showAnimationDuration&&t.removeClass(o,"pswp__ui--hidden")}),f("initialZoomOut",function(){t.addClass(o,"pswp__ui--hidden")}),f("parseVerticalMargin",H),K(),v.shareEl&&l&&s&&(E=!0),S(),B(),N(),z()},b.setIdle=function(e){c=e,O(o,"ui--idle",e)},b.update=function(){C&&e.currItem?(b.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,i),O(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,E||k(),S()},b.updateFullscreen=function(o){o&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},b.updateIndexIndicator=function(){v.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+v.indexIndicatorSep+v.getNumItemsFn())},b.onGlobalTap=function(n){var o=(n=n||window.event).target||n.srcElement;if(!g)if(n.detail&&"mouse"===n.detail.pointerType){if(L(o))return void e.close();t.hasClass(o,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?v.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(v.tapToToggleControls&&(C?b.hideControls():b.showControls()),v.tapToClose&&(t.hasClass(o,"pswp__img")||L(o)))return void e.close()},b.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;O(o,"ui--over-close",L(t))},b.hideControls=function(){t.addClass(o,"pswp__ui--hidden"),C=!1}
2,b.showControls=function(){C=!0,x||b.update(),t.removeClass(o,"pswp__ui--hidden")},b.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},b.getFullscreenAPI=function(){var t,n=document.documentElement,o="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:o}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+o}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+o}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(u=v.closeOnScroll,v.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return v.closeOnScroll=u,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}})?o.call(t,n,t,e):o)||(e.exports=i)},34831(e,t,n){var o,i;function r(e){return r="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},r(e)}o=function(){"use strict";var e=function(e,t,n,o){var i={features:null,bind:function(e,t,n,o){var i=(o?"remove":"add")+"EventListener";t=t.split(" ");for(var r=0;r<t.length;r++)t[r]&&e[i](t[r],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var o=e.length;o--;)if(e[o][n]===t)return o;return-1},extend:function(e,t,n){for(var o in t)if(t.hasOwnProperty(o)){if(n&&e.hasOwnProperty(o))continue;e[o]=t[o]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var o=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10))>=1&&r<8&&(n.isOldIOSPhone=!0)}var a=o.match(/Android\s([0-9\.]*)/),l=a?a[1]:0;(l=parseFloat(l))>=1&&(l<4.4&&(n.isOldAndroid=!0),n.androidVersion=l),n.isMobileOpera=/opera mini|o
2pera mobi/i.test(o)}for(var s,u,c=["transform","perspective","animationName"],f=["","webkit","Moz","ms","O"],p=0;p<4;p++){t=f[p];for(var d=0;d<3;d++)s=c[d],u=t+(t?s.charAt(0).toUpperCase()+s.slice(1):s),!n[s]&&u in e&&(n[s]=u);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var m=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-m)),o=window.setTimeout(function(){e(t+n)},n);return m=t+n,o},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,o){t=t.split(" ");for(var i,a=(o?"detach":"attach")+"Event",l=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"===r(n)&&n.handleEvent){if(o){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=l;e[a]("on"+i,n["oldIE"+i])}else e[a]("on"+i,n)});var a=this,l=25,s=3,u={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(u,o);var c,f,p,d,m,h,v,g,y,w,b,x,C,E,T,I,D,O,S,M,k,A,F,L,_,R,P,N,z,Z,H,B,W,U,K,V,Y,j,G,q,X,$,J,Q,ee,te,ne,oe,ie,re,ae,le,se,ue,ce,fe,pe=function(){return{x:0,y:0}},de=pe(),me=pe(),he=pe(),ve={},ge=0,ye={},we=pe(),be=0,xe=!0,Ce=[],Ee={},Te=!1,Ie=function(e,t){i.extend(a,t.publicMethods),Ce.push(e)},De=function(e){var t=en();return e>t-1?e-t:e<0?t+e:e},Oe={},Se=function(e,t){return Oe[e]||(Oe[e]=[]),Oe[e].push(t)},Me=function(e){var t=Oe[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var o=0;o<t.length;o++)t[o].apply(a,n)}},ke=function(){return(new Date).getTime()},Ae=function(e){ue=e,a.bg.style.opacity=e*u.bgOpacity},Fe=function(e,t,n,o,i){(!Te||i&&i!==a.currItem)&&(o/=i?i.fitRatio:a.currItem.fitRatio),e[A]=x+t+"px, "+n+"px"+C+" scale("+o+")"},Le=function(e){ie&&(e&&(w>a.currItem.fitRatio?Te||(pn(a.currItem,!1,!0),Te=!0):Te&&(pn(a.currItem),Te=!1)),Fe(ie,he.x,he.y,w))},_e=function(e){e.container&&Fe(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Re=function(e,t){t[A]=x+e+"px, 0px"+C},Pe=function(e,t){if(!u.loop&&t){var n=d+(we.x*ge-e)/we.x,o=Math.round(e-wt.x);(n<0&&o>0||n>
2=en()-1&&o<0)&&(e=wt.x+o*u.mainScrollEndFriction)}wt.x=e,Re(e,m)},Ne=function(e,t){var n=bt[e]-ye[e];return me[e]+de[e]+n-n*(t/b)},ze=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},He=null,Be=function(){He&&(i.unbind(document,"mousemove",Be),i.addClass(e,"pswp--has_mouse"),u.mouseUsed=!0,Me("mouseUsed")),He=setTimeout(function(){He=null},100)},We=function(){i.bind(document,"keydown",a),H.transform&&i.bind(a.scrollWrap,"click",a),u.mouseUsed||i.bind(document,"mousemove",Be),i.bind(window,"resize scroll orientationchange",a),Me("bindEvents")},Ue=function(){i.unbind(window,"resize scroll orientationchange",a),i.unbind(window,"scroll",y.scroll),i.unbind(document,"keydown",a),i.unbind(document,"mousemove",Be),H.transform&&i.unbind(a.scrollWrap,"click",a),G&&i.unbind(window,v,a),clearTimeout(B),Me("unbindEvents")},Ke=function(e,t){var n=sn(a.currItem,ve,e);return t&&(oe=n),n},Ve=function(e){return e||(e=a.currItem),e.initialZoomLevel},Ye=function(e){return e||(e=a.currItem),e.w>0?u.maxSpreadZoom:1},je=function(e,t,n,o){return o===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=Ne(e,o),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(A){var t=H.perspective&&!L;return x="translate"+(t?"3d(":"("),void(C=H.perspective?", 0px)":")")}A="left",i.addClass(e,"pswp--ie"),Re=function(e,t){t.left=e+"px"},_e=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,o=t*e.w,i=t*e.h;n.width=o+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Le=function(){if(ie){var e=ie,t=a.currItem,n=t.fitRatio>1?1:t.fitRatio,o=n*t.w,i=n*t.h;e.width=o+"px",e.height=i+"px",e.left=he.x+"px",e.top=he.y+"px"}}},qe=function(e){var t="";u.escKey&&27===e.keyCode?t="close":u.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,a[t]()))},Xe=function(e){e&&($||X||re||Y)&&(e.preventDefault(),e.stopPropagation())},$e=function(){a.setScrollOffset(0,i.getScrollY())},Je={},Qe=0,et=function(e){Je[e]&&(Je[e].raf&&R(Je[e].raf),Qe--,delete Je[e])},tt=function(e){Je[e]&&et(e),Je[e]||(Qe++,Je[e]={})},nt=function(){for(var e in Je)Je.hasOwnProperty(e)&&et(e)},ot=function(e,t,n,o,i,r,a){var l,s=ke();tt(e);var u=function(){if(Je[e]){if((l=ke()-s)>=o)return et(e),r(n),void(a&&a());r((n-t)*i(l/o)+t),Je[e].raf=_(u)}};u()},it={shout:Me,listen:Se,viewportSize:ve,options:u,isMainScrollAnimating:function(){return re},getZoomLevel:function(){return w},getCurrentIndex:function(){return d},isDragging:function(){return G},isZooming:function(){return te},setScrollOffset:function(e,t){ye.x=e,Z=ye.y=t,Me("updateScrollOffset",ye)},applyZoomPan:function(e,t,n,o){he.x=t,he.y=n,w=e,Le(o)},init:function(){if(!c&&!f){var n;a.framework=i,a.template=e,a.bg=i.getChildByClass(e,"pswp__bg"),P=e.className,c=!0,H=i.detectFeatures(),_=H.raf,R=H.caf,A=H.transform,z=H.oldIE,a.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),a.container=i.getChildByClass(a.scrollWrap,"pswp__container"),m=a.container.style,a.itemHolders=I=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],I[0].el.style.display=I[2].el.style.display="none",Ge(),y={resize:a.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout(function(){ve.x!==a.scrollWrap.clientWidth&&a.updateSize()},500)},scroll:$e,keydown:qe,click:Xe};var o=H.isOldIOSPhone||H.isOldAndroid||H.isMobileOpera;for(H.animationName&&H.transform&&!o||(u.showAnimationDuration=u.hideAnimationDuration=0),n=0;n<Ce.length;n++)a["init"+Ce[n]]();t&&(a.ui=new t(a,i)).init(),Me("firstUpdate"),d=d||u.index||0,(isNaN(d)||d<0||d>=en())&&(d=0),a.currItem=Qt(d),(H.isOldIOSPhone||H.isOldAndroid)&&(xe=!1),e.setAttribute("aria-hidden","false"),u.modal&&(xe?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===Z&&(Me("initialLayout"),Z=N=i.getScrollY());var r="pswp--open ";for(u.mainClass&&(r+=u.mainClass+" "),u.showHideOpacity&&(r+="pswp--animate_opacity "),r+=L?"pswp--touch":"pswp--notouch",r+=H.animationName?" pswp--css_animation":"",r+=H.svg?" pswp--svg":"",i.addClass(e,r),a.updateSize(),h=-1,be=null,n=0;n<s;n++)Re((n+h)*we.x,I[n].el.style);z||i.bind(a.scrollWrap,g,a),Se("initialZoomInEnd",function(){a.setContent(I[0],d-1),a.setContent(I[2],d+1),I[0].el.style.display=I[2].el.style.display="block",u.focus&&e.focus(),We()}),a.setContent(I[1],d),a.updateCurrItem(),Me("afterInit"),xe||(E=setInterval(function(){Qe||G||te||w!==a.currItem.initialZoomLevel||a.updateSize()},1e3)),i.addClass(e,"pswp--visible")}}
2,close:function(){c&&(c=!1,f=!0,Me("close"),Ue(),tn(a.currItem,null,!0,a.destroy))},destroy:function(){Me("destroy"),qt&&clearTimeout(qt),e.setAttribute("aria-hidden","true"),e.className=P,E&&clearInterval(E),i.unbind(a.scrollWrap,g,a),i.unbind(window,"scroll",a),It(),nt(),Oe=null},panTo:function(e,t,n){n||(e>oe.min.x?e=oe.min.x:e<oe.max.x&&(e=oe.max.x),t>oe.min.y?t=oe.min.y:t<oe.max.y&&(t=oe.max.y)),he.x=e,he.y=t,Le()},handleEvent:function(e){e=e||window.event,y[e.type]&&y[e.type](e)},goTo:function(e){var t=(e=De(e))-d;be=t,d=e,a.currItem=Qt(d),ge-=t,Pe(we.x*ge),nt(),re=!1,a.updateCurrItem()},next:function(){a.goTo(d+1)},prev:function(){a.goTo(d-1)},updateCurrZoomItem:function(e){if(e&&Me("beforeChange",0),I[1].el.children.length){var t=I[1].el.children[0];ie=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ie=null;oe=a.currItem.bounds,b=w=a.currItem.initialZoomLevel,he.x=oe.center.x,he.y=oe.center.y,e&&Me("afterChange")},invalidateCurrItems:function(){T=!0;for(var e=0;e<s;e++)I[e].item&&(I[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){a.currItem=Qt(d),Te=!1,Me("beforeChange",be),n>=s&&(h+=be+(be>0?-s:s),n=s);for(var o=0;o<n;o++)be>0?(t=I.shift(),I[s-1]=t,h++,Re((h+2)*we.x,t.el.style),a.setContent(t,d-n+o+1+1)):(t=I.pop(),I.unshift(t),h--,Re(h*we.x,t.el.style),a.setContent(t,d+n-o-1-1));if(ie&&1===Math.abs(be)){var i=Qt(D);i.initialZoomLevel!==w&&(sn(i,ve),pn(i),_e(i))}be=0,a.updateCurrZoomItem(),D=d,Me("afterChange")}}},updateSize:function(t){if(!xe&&u.modal){var n=i.getScrollY();if(Z!==n&&(e.style.top=n+"px",Z=n),!t&&Ee.x===window.innerWidth&&Ee.y===window.innerHeight)return;Ee.x=window.innerWidth,Ee.y=window.innerHeight,e.style.height=Ee.y+"px"}if(ve.x=a.scrollWrap.clientWidth,ve.y=a.scrollWrap.clientHeight,$e(),we.x=ve.x+Math.round(ve.x*u.spacing),we.y=ve.y,Pe(we.x*ge),Me("beforeResize"),void 0!==h){for(var o,r,l,c=0;c<s;c++)o=I[c],Re((c+h)*we.x,o.el.style),l=d+c-1,u.loop&&en()>2&&(l=De(l)),(r=Qt(l))&&(T||r.needsUpdate||!r.bounds)?(a.cleanSlide(r),a.setContent(o,l),1===c&&(a.currItem=r,a.updateCurrZoomItem(!0)),r.needsUpdate=!1):-1===o.index&&l>=0&&a.setContent(o,l),r&&r.container&&(sn(r,ve),pn(r),_e(r));T=!1}b=w=a.currItem.initialZoomLevel,(oe=a.currItem.bounds)&&(he.x=oe.center.x,he.y=oe.center.y,Le(!0)),Me("resize")},zoomTo:function(e,t,n,o,r){t&&(b=w,bt.x=Math.abs(t.x)-he.x,bt.y=Math.abs(t.y)-he.y,ze(me,he));var a=Ke(e,!1),l={};je("x",a,l,e),je("y",a,l,e);var s=w,u={x:he.x,y:he.y};Ze(l);var c=function(t){1===t?(w=e,he.x=l.x,he.y=l.y):(w=(e-s)*t+s,he.x=(l.x-u.x)*t+u.x,he.y=(l.y-u.y)*t+u.y),r&&r(t),Le(1===t)};n?ot("customZoomTo",0,1,n,o||i.easing.sine.inOut,c):c(1)}},rt=30,at=10,lt={},st={},ut={},ct={},ft={},pt=[],dt={},mt=[],ht={},vt=0,gt=pe(),yt=0,wt=pe(),bt=pe(),xt=pe(),Ct=function(e,t){return e.x===t.x&&e.y===t.y},Et=function(e,t){return Math.abs(e.x-t.x)<l&&Math.abs(e.y-t.y)<l},Tt=function(e,t){return ht.x=Math.abs(e.x-t.x),ht.y=Math.abs(e.y-t.y),Math.sqrt(ht.x*ht.x+ht.y*ht.y)},It=function(){J&&(R(J),J=null)},Dt=function(){G&&(J=_(Dt),Wt())},Ot=function(){return!("fit"===u.scaleMode&&w===a.currItem.initialZoomLevel)},St=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:St(e.parentNode,t))},Mt={},kt=function(e,t){return Mt.prevent=!St(e.target,u.isClickableElement),Me("preventDragEvent",e,t,Mt),Mt.prevent},At=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Ft=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},Lt=function(e,t,n){if(e-U>50){var o=mt.length>2?mt.shift():{};o.x=t,o.y=n,mt.push(o),U=e}},_t=function(){var e=he.y-a.currItem.initialPosition.y;return 1-Math.abs(e/(ve.y/2))},Rt={},Pt={},Nt=[],zt=function(e){for(;Nt.length>0;)Nt.pop();return F?(fe=0,pt.forEach(function(e){0===fe?Nt[0]=e:1===fe&&(Nt[1]=e),fe++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Nt[0]=At(e.touches[0],Rt),e.touches.length>1&&(Nt[1]=At(e.touches[1],Pt))):(Rt.x=e.pageX,Rt.y=e.pageY,Rt.id="",Nt[0]=Rt),Nt},Zt=function(e,t){var n,o,i,r,l=he[e]+t[e],s=t[e]>0,c=wt.x+t.x,f=wt.x-dt.x;if(n=l>oe.min[e]||l<oe.max[e]?u.panEndFriction:1,l=he[e]+t[e]*n,(u.allowPanToNext||w===a.currItem.initialZoomLevel)&&(ie?"h"!==ae||"x"!==e||X||(s?(l>oe.min[e]&&(n=u.panEndFriction,oe.min[e],o=oe.min[e]-me[e]),(o<=0||f<0)&&en()>1?(r=c,f<0&&c>dt.x&&(r=dt.x)):oe.min.x!==oe.max.x&&(i=l)):(l<oe.max[e]&&(n=u.panEndFriction,oe.max[e],o=me[e]-oe.max[e]),(o<=0||f>0)&&en()>1?(r=c,f>0&&c<dt.x&&(r=dt.x)):oe.min.x!==oe.max.x&&(i=l))):r=c,"x"===e))return void 0!==r&&(Pe(r,!0),Q=r!==dt.x),oe.min.x!==oe.max.x&&(void 0!==i?he.x=i:Q||
vendor: 4,215 bytes, line 2
2(he.x+=t.x*n)),void 0!==r;re||Q||w>a.currItem.fitRatio&&(he[e]+=t[e]*n)},Ht=function(e){if(!("mousedown"===e.type&&e.button>0))if(Jt)e.preventDefault();else if(!j||"mousedown"!==e.type){if(kt(e,!0)&&e.preventDefault(),Me("pointerDown"),F){var t=i.arraySearch(pt,e.pointerId,"id");t<0&&(t=pt.length),pt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=zt(e),o=n.length;ee=null,nt(),G&&1!==o||(G=le=!0,i.bind(window,v,a),V=ce=se=Y=Q=$=q=X=!1,ae=null,Me("firstTouchStart",n),ze(me,he),de.x=de.y=0,ze(ct,n[0]),ze(ft,ct),dt.x=we.x*ge,mt=[{x:ct.x,y:ct.y}],U=W=ke(),Ke(w,!0),It(),Dt()),!te&&o>1&&!re&&!Q&&(b=w,X=!1,te=q=!0,de.y=de.x=0,ze(me,he),ze(lt,n[0]),ze(st,n[1]),Ft(lt,st,xt),bt.x=Math.abs(xt.x)-he.x,bt.y=Math.abs(xt.y)-he.y,ne=Tt(lt,st))}},Bt=function(e){if(e.preventDefault(),F){var t=i.arraySearch(pt,e.pointerId,"id");if(t>-1){var n=pt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var o=zt(e);if(ae||$||te)ee=o;else if(wt.x!==we.x*ge)ae="h";else{var r=Math.abs(o[0].x-ct.x)-Math.abs(o[0].y-ct.y);Math.abs(r)>=at&&(ae=r>0?"h":"v",ee=o)}}},Wt=function(){if(ee){var e=ee.length;if(0!==e)if(ze(lt,ee[0]),ut.x=lt.x-ct.x,ut.y=lt.y-ct.y,te&&e>1){if(ct.x=lt.x,ct.y=lt.y,!ut.x&&!ut.y&&Ct(ee[1],st))return;ze(st,ee[1]),X||(X=!0,Me("zoomGestureStarted"));var t=Tt(lt,st),n=jt(t);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(ce=!0);var o=1,i=Ve(),r=Ye();if(n<i)if(u.pinchToClose&&!ce&&b<=a.currItem.initialZoomLevel){var l=1-(i-n)/(i/1.2);Ae(l),Me("onPinchClose",l),se=!0}else(o=(i-n)/i)>1&&(o=1),n=i-o*(i/3);else n>r&&((o=(n-r)/(6*i))>1&&(o=1),n=r+o*i);o<0&&(o=0),Ft(lt,st,gt),de.x+=gt.x-xt.x,de.y+=gt.y-xt.y,ze(xt,gt),he.x=Ne("x",n),he.y=Ne("y",n),V=n>w,w=n,Le()}else{if(!ae)return;if(le&&(le=!1,Math.abs(ut.x)>=at&&(ut.x-=ee[0].x-ft.x),Math.abs(ut.y)>=at&&(ut.y-=ee[0].y-ft.y)),ct.x=lt.x,ct.y=lt.y,0===ut.x&&0===ut.y)return;if("v"===ae&&u.closeOnVerticalDrag&&!Ot()){de.y+=ut.y,he.y+=ut.y;var s=_t();return Y=!0,Me("onVerticalDrag",s),Ae(s),void Le()}Lt(ke(),lt.x,lt.y),$=!0,oe=a.currItem.bounds,Zt("x",ut)||(Zt("y",ut),Ze(he),Le())}}},Ut=function(e){if(H.isOldAndroid){if(j&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(j),j=setTimeout(function(){j=0},600))}var t;if(Me("pointerUp"),kt(e,!1)&&e.preventDefault(),F){var n=i.arraySearch(pt,e.pointerId,"id");if(n>-1)if(t=pt.splice(n,1)[0],navigator.msPointerEnabled){var o={4:"mouse",2:"touch",3:"pen"};t.type=o[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var r,l=zt(e),s=l.length;if("mouseup"===e.type&&(s=0),2===s)return ee=null,!0;1===s&&ze(ft,l[0]),0!==s||ae||re||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Me("touchRelease",e,t));var c=-1;if(0===s&&(G=!1,i.unbind(window,v,a),It(),te?c=0:-1!==yt&&(c=ke()-yt)),yt=1===s?ke():-1,r=-1!==c&&c<150?"zoom":"swipe",te&&s<2&&(te=!1,1===s&&(r="zoomPointerUp"),Me("zoomGestureEnded")),ee=null,$||X||re||Y)if(nt(),K||(K=Kt()),K.calculateSwipeSpeed("x"),Y)if(_t()<u.verticalDragRange)a.close();else{var f=he.y,p=ue;ot("verticalDrag",0,1,300,i.easing.cubic.out,function(e){he.y=(a.currItem.initialPosition.y-f)*e+f,Ae((1-p)*e+p),Le()}),Me("onVerticalDrag",1)}else{if((Q||re)&&0===s){if(Yt(r,K))return;r="zoomPointerUp"}re||("swipe"===r?!Q&&w>a.currItem.fitRatio&&Vt(K):Gt())}},Kt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(o){mt.length>1?(e=ke()-U+50,t=mt[mt.length-2][o]):(e=ke()-W,t=ft[o]),n.lastFlickOffset[o]=ct[o]-t,n.lastFlickDist[o]=Math.abs(n.lastFlickOffset[o]),n.lastFlickDist[o]>20?n.lastFlickSpeed[o]=n.lastFlickOffset[o]/e:n.lastFlickSpeed[o]=0,Math.abs(n.lastFlickSpeed[o])<.1&&(n.lastFlickSpeed[o]=0),n.slowDownRatio[o]=.95,n.slowDownRatioReverse[o]=1-n.slowDownRatio[o],n.speedDecelerationRatio[o]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(he[e]>oe.min[e]?n.backAnimDestination[e]=oe.min[e]:he[e]<oe.max[e]&&(n.backAnimDestination[e]=oe.max[e]),void 0!==n.backA
2nimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,ot("bounceZoomPan"+e,he[e],n.backAnimDestination[e],t||300,i.easing.sine.out,function(t){he[e]=t,Le()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,he[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Je.zoomPan&&(Je.zoomPan.raf=_(n.panAnimLoop),n.now=ke(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Le(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return he.x=Math.round(he.x),he.y=Math.round(he.y),Le(),void et("zoomPan")}};return n},Vt=function(e){if(e.calculateSwipeSpeed("y"),oe=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;tt("zoomPan"),e.lastNow=ke(),e.panAnimLoop()},Yt=function(e,t){var n,o,r;if(re||(vt=d),"swipe"===e){var l=ct.x-ft.x,s=t.lastFlickDist.x<10;l>rt&&(s||t.lastFlickOffset.x>20)?o=-1:l<-rt&&(s||t.lastFlickOffset.x<-20)&&(o=1)}o&&((d+=o)<0?(d=u.loop?en()-1:0,r=!0):d>=en()&&(d=u.loop?0:en()-1,r=!0),r&&!u.loop||(be+=o,ge-=o,n=!0));var c,f=we.x*ge,p=Math.abs(f-wt.x);return n||f>wt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,vt===d&&(n=!1),re=!0,Me("mainScrollAnimStart"),ot("mainScroll",wt.x,f,c,i.easing.cubic.out,Pe,function(){nt(),re=!1,vt=-1,(n||vt!==d)&&a.updateCurrItem(),Me("mainScrollAnimComplete")}),n&&a.updateCurrItem(!0),n},jt=function(e){return 1/ne*e*b},Gt=function(){var e=w,t=Ve(),n=Ye();w<t?e=t:w>n&&(e=n);var o,r=1,l=ue;return se&&!V&&!ce&&w<t?(a.close(),!0):(se&&(o=function(e){Ae((r-l)*e+l)}),a.zoomTo(e,0,200,i.easing.cubic.out,o),!0)};Ie("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,o,i){O=e+t,S=e+n,M=e+o,k=i?e+i:""};(F=H.pointerEvent)&&H.touch&&(H.touch=!1),F?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):H.touch?(e("touch","start","move","end","cancel"),L=!0):e("mouse","down","move","up"),v=S+" "+M+" "+k,g=O,F&&!L&&(L=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=L,y[O]=Ht,y[S]=Bt,y[M]=Ut,k&&(y[k]=y[M]),H.touch&&(g+=" mousedown",v+=" mousemove mouseup",y.mousedown=y[O],y.mousemove=y[S],y.mouseup=y[M]),L||(u.allowPanToNext=!1)}}});var qt,Xt,$t,Jt,Qt,en,tn=function(t,n,o,r){var l;qt&&clearTimeout(qt),Jt=!0,$t=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=u.getThumbBoundsFn&&u.getThumbBoundsFn(d);var s,c,f=o?u.hideAnimationDuration:u.showAnimationDuration,m=function(){et("initialZoom"),o?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Ae(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Me("initialZoom"+(o?"OutEnd":"InEnd"))),r&&r(),Jt=!1};if(!f||!l||void 0===l.x)return Me("initialZoom"+(o?"Out":"In")),w=t.initialZoomLevel,ze(he,t.initialPosition),Le(),e.style.opacity=o?0:1,Ae(1),void(f?setTimeout(function(){m()},f):m());s=p,c=!a.currItem.src||a.currItem.loadError||u.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),o||(w=l.w/t.w,he.x=l.x,he.y=l.y-N,a[c?"template":"bg"].style.opacity=.001,Le()),tt("initialZoom"),o&&!s&&i.removeClass(e,"pswp--animated-in"),c&&(o?i[(s?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){i.addClass(e,"pswp--animate_opacity")},30)),qt=setTimeout(function(){if(Me("initialZoom"+(o?"Out":"In")),o){var n=l.w/t.w,r={x:he.x,y:he.y}
2,a=w,u=ue,p=function(t){1===t?(w=n,he.x=l.x,he.y=l.y-Z):(w=(n-a)*t+a,he.x=(l.x-r.x)*t+r.x,he.y=(l.y-Z-r.y)*t+r.y),Le(),c?e.style.opacity=1-t:Ae(u-t*u)};s?ot("initialZoom",0,1,f,i.easing.cubic.out,p,m):(p(1),qt=setTimeout(m,f+20))}else w=t.initialZoomLevel,ze(he,t.initialPosition),Le(),Ae(1),c?e.style.opacity=1:Ae(1),qt=setTimeout(m,f+20)},o?25:90)},nn={},on=[],rn={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(){return Xt.length}},an=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},ln=function(e,t,n){var o=e.bounds;o.center.x=Math.round((nn.x-t)/2),o.center.y=Math.round((nn.y-n)/2)+e.vGap.top,o.max.x=t>nn.x?Math.round(nn.x-t):o.center.x,o.max.y=n>nn.y?Math.round(nn.y-n)+e.vGap.top:o.center.y,o.min.x=t>nn.x?0:o.center.x,o.min.y=n>nn.y?e.vGap.top:o.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var o=!n;if(o&&(e.vGap||(e.vGap={top:0,bottom:0}),Me("parseVerticalMargin",e)),nn.x=t.x,nn.y=t.y-e.vGap.top-e.vGap.bottom,o){var i=nn.x/e.w,r=nn.y/e.h;e.fitRatio=i<r?i:r;var a=u.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=an())}if(!n)return;return ln(e,e.w*n,e.h*n),o&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=an(),e.initialPosition=e.bounds.center,e.bounds},un=function(e,t,n,o,i,r){t.loadError||o&&(t.imageAppended=!0,pn(t,o,t===a.currItem&&Te),n.appendChild(o),r&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},fn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=u.errorMsg.replace("%url%",e.
2src),!0},pn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var o=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=o+"px",e.placeholder.style.height=i+"px"),t.style.width=o+"px",t.style.height=i+"px"}},dn=function(){if(on.length){for(var e,t=0;t<on.length;t++)(e=on[t]).holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);on=[]}};Ie("Controller",{publicMethods:{lazyLoadItem:function(e){e=De(e);var t=Qt(e);t&&(!t.loaded&&!t.loading||T)&&(Me("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(u,rn,!0),a.items=Xt=n,Qt=a.getItemAt,en=u.getNumItemsFn,u.loop,en()<3&&(u.loop=!1),Se("beforeChange",function(e){var t,n=u.preload,o=null===e||e>=0,i=Math.min(n[0],en()),r=Math.min(n[1],en());for(t=1;t<=(o?r:i);t++)a.lazyLoadItem(d+t);for(t=1;t<=(o?i:r);t++)a.lazyLoadItem(d-t)}),Se("initialLayout",function(){a.currItem.initialLayout=u.getThumbBoundsFn&&u.getThumbBoundsFn(d)}),Se("mainScrollAnimComplete",dn),Se("initialZoomInEnd",dn),Se("destroy",function(){for(var e,t=0;t<Xt.length;t++)(e=Xt[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);on=null})},getItemAt:function(e){return e>=0&&void 0!==Xt[e]&&Xt[e]},allowProgressiveImg:function(){return u.forceProgressiveLoading||!L||u.mouseUsed||screen.width>1200},setContent:function(e,t){u.loop&&(t=De(t));var n=a.getItemAt(e.index);n&&(n.container=null);var o,r=a.getItemAt(t);if(r){Me("gettingData",t,r),e.index=t,e.item=r;var l=r.container=i.createEl("pswp__zoom-wrap");if(!r.src&&r.html&&(r.html.tagName?l.appendChild(r.html):l.innerHTML=r.html),fn(r),sn(r,ve),!r.src||r.loadError||r.loaded)r.src&&!r.loadError&&((o=i.createEl("pswp__img","img")).style.opacity=1,o.src=r.src,pn(r,o),un(t,r,l,o,!0));else{if(r.loadComplete=function(n){if(c){if(e&&e.index===t){if(fn(n,!0))return n.loadComplete=n.img=null,sn(n,ve),_e(n),void(e.index===d&&a.updateCurrZoomItem());n.imageAppended?!Jt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):H.transform&&(re||Jt)?on.push({item:n,baseDiv:l,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,l,n.img,re||Jt,!0)}n.loadComplete=null,n.img=null,Me("imageLoadComplete",t,n)}},i.features.transform){var s="pswp__img pswp__img--placeholder";s+=r.msrc?"":" pswp__img--placeholder--blank";var f=i.createEl(s,r.msrc?"img":"");r.msrc&&(f.src=r.msrc),pn(r,f),l.appendChild(f),r.placeholder=f}r.loading||cn(r),a.allowProgressiveImg()&&(!$t&&H.transform?on.push({item:r,baseDiv:l,img:r.img,index:t,holder:e}):un(t,r,l,r.img,!0,!0))}$t||t!==d?_e(r):(ie=l.style,tn(r,o||r.img)),e.el.innerHTML="",e.el.appendChild(l)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var mn,hn,vn={},gn=function(e,t,n){var o=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};o.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(o)};Ie("Tap",{publicMethods:{initTap:function(){Se("firstTouchStart",a.onTapStart),Se("touchRelease",a.onTapRelease),Se("destroy",function(){vn={},mn=null})},onTapStart:function(e){e.length>1&&(clearTimeout(mn),mn=null)},onTapRelease:function(e,t){if(t&&!$&&!q&&!Qe){var n=t;if(mn&&(clearTimeout(mn),mn=null,Et(n,vn)))return void Me("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);ze(vn,n),mn=setTimeout(function(){gn(e,t),mn=null},300)}}}}),Ie("DesktopZoom",{publicMethods:{initDesktopZoom:function(){z||(L?Se("mouseUsed",function(){a.setupDesktopZoom()}):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){hn={};var n="wheel mousewheel DOMMouseScroll";Se("bindEvents",function(){i.bind(e,n,a.handleMouseWheel)}),Se("unbindEvents",function(){hn&&i.unbind(e,n,a.handleMouseWheel)}),a.mouseZoomedIn=!1;var o,r=function(){a.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),a.mouseZoomedIn=!1),w<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),l()},l=function(){o&&(i.removeClass(e,"pswp--dragging"),o=!1)};Se("resize",r),Se("afterChange",r),Se("pointerDown",function(){a.mouseZoomedIn&&(o=!0,i.addClass(e,"pswp--dragging"))}),Se("pointerUp",l),t||r()},handleMouseWheel:function(e){if(w<=a.currItem.fitRatio)return u.modal&&(!u.closeOnScroll||Qe||G?e.preventDefault():A&&Math.abs(e.deltaY)>2&&(p=!0,a.close())),!0;if(e.stopPropagation(),hn.x=0,"deltaX"in e)1===e.deltaMode?(hn.x=18*e.deltaX,hn.y=18*e.deltaY):(hn.x=e.deltaX,hn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(hn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?hn.y=-.16*e.wheelDeltaY:hn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;hn.y=e.detail}Ke(w,!0);var t=he.x-hn.x,n=he.y-hn.y;(u.modal||t<=oe.min.x&&t>=oe.max.x&&n<=oe.min.y&&n>=oe.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:ve.x/2+ye.x,y:ve.y/2+ye.y};var n=u.getDoubleTapZoom(!0,a.currItem),o=w===n;a.mouseZoomedIn=!o,a.zoomTo(o?a.currItem.initialZoomLevel:n,t,333),i[(o?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var yn,wn,bn,xn,Cn,En,Tn,In,Dn,On,Sn,Mn,kn={history:!0,galleryUID:1},An=function(){return Sn.hash.substring(1)},Fn=function(){yn&&clearTimeout(yn),bn&&clearTimeout(bn)},Ln=function(){var e=An(),t={};if(e.length<5)return t;var n,o=e.split("&");for(n=0;n<o.length;n++)if(o[n]){var i=o[n].split("=");i.length<2||(t[i[0]]=i[1])}if(u.galleryPIDs){var r=t.pid;for(t.pid=0,n=0;n<Xt.length;n++)if(Xt[n].pid===r){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},_n=function(){if(bn&&clearTimeout(bn),Qe||G)bn=setTimeout(_n,500);else{xn?clearTimeout(wn):xn=!0;var e=d+1,t=Qt(d);t.hasOwnProperty("pid")&&(e=t.pid);var n=Tn+"&gid="+u.galleryUID+"&pid="+e;In||-1===Sn.hash.indexOf(n)&&(On=!0);var o=Sn.href.split("#")[0]+"#"+n;Mn?"#"+n!==window.location.hash&&history[In?"replaceState":"pushState"]("",document.title,o):In?Sn.replace(o):Sn.hash=n,In=!0,wn=setTimeout(function(){xn=!1},60)}};Ie("History",{publicMethods:{initHistory:function(){if(i.extend(u,kn,!0),u.history){Sn=window.location,On=!1,Dn=!1,In=!1,Tn=An(),Mn="pushState"in history,Tn.indexOf("gid=")>-1&&(Tn=(Tn=Tn.split("&gid=")[0]).split("?gid=")[0]),Se("afterChange",a.updateURL),Se("unbindEvents",function(){i.unbind(window,"hashchange",a.onHashChange)});var e=function(){En=!0,Dn||(On?history.back():Tn?Sn.hash=Tn:Mn?history.pushState("",document.title,Sn.pathname+Sn.search):Sn.hash=""),Fn()};Se("unbindEvents",function(){p&&e()}),Se("destroy",function(){En||e()}),Se("firstUpdate",function(){d=Ln().pid});var t=Tn.indexOf("pid=");t>-1&&"&"===(Tn=Tn.substring(0,t)).slice(-1)&&(Tn=Tn.slice(0,-1)),setTimeout(function(){c&&i.bind(window,"hashchange",a.onHashChange)},40)}},onHashChange:function(){if(An()===Tn)return Dn=!0,void a.close();xn||(Cn=!0,a.goTo(Ln().pid),Cn=!1)},updateURL:function(){Fn(),Cn||(In?yn=setTimeout(_n,800):_n())}}}),i.extend(a,it)};return e},void 0===(i="function"==typeof o?o.call(t,n,t,e):o)||(e.exports=i)}
vendor: 20,714 bytes, line 2
2,17826(e,t,n){"use strict";var o="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(o&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=o&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?e:u(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var f=o&&!(!window.MSInputMethodContext||!document.documentMode),p=o&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?f:10===e?p:f||p}function m(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?m(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,i=n?t:e,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var a,l,s=r.commonAncestorContainer;if(e!==s&&t!==s||o.contains(i))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&m(a.firstElementChild)!==a?m(s):s;var u=h(e);return u.host?v(u.host,t):v(e,h(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function y(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function w(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function b(e){var t=e.body,n=e.documentElement,o=d(10)&&getComputedStyle(n);return{height:w("Height",t,n,o),width:w("Width",t,n,o)}}var x=function(){function e(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)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function T(e){return E({},e,{right:e.left+e.width,bottom:e.top+e.height})}function I(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=g(e,"top"),o=g(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?b(e.ownerDocument):{},a=r.width||e.clientWidth||i.width,s=r.height||e.clientHeight||i.height,u=e.offsetWidth-a,c=e.offsetHeight-s;if(u||c){var f=l(e);u-=y(f,"x"),c-=y(f,"y"),i.width-=u,i.height-=c}return T(i)}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=d(10),i="HTML"===t.nodeName,r=I(e),a=I(t),s=u(e),c=l(t),f=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var m=T({top:r.top-a.top-f,left:r.left-a.left-p,width:r.width,height:r.height});if(m.marginTop=0,m.marginLeft=0,!o&&i){var h=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);m.top-=f-h,m.bottom-=f-h,m.left-=p-v,m.right-=p-v,m.marginTop=h,m.marginLeft=v}return(o&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(t,"top"),i=g(t,"left"),r=n?-1:1;return e.top+=o*r,e.bottom+=o*r,e.left+=i*r,e.right+=i*r,e}(m,t)),m}function O(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===l(e,"position"))return!0;var n=s(e);return!!n&&O(n)}function S(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function M(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=i?S(e):v(e,c(t));if("viewport"===o)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=D(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),l=t?0:g(n,"left");return T({top:a-o.top+o.marginTop,left:l-o.left+o.marginLeft,width:i,height:r})}(a,i);else{var l=void 0;"scrollParent"===o?"BODY"===(l=u(s(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===o?e.ownerDocument.documentElement:o;var f=D(l,a,i);if("HTML"!==l.nodeName||O(a))r=f;else{var p=b(e.ownerDocument),d=p.height,m=p.width;r.top+=f.top-f.marginTop,r.bottom=d+f.top,r.left+=f.left-f.marginLeft,r.right=m+f.left}}var h="number"==typeof(n=n||0);return r.left+=h?n:n.left||0,r.top+=h?n:n.top||0,r.right-=h?n:n.right||0,r.bottom-=h?n:n.bottom||0,r}function k(e,t,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=M(n,o,r,i),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map(function(e){return E({key:e},l[e],{area:(t=l[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),u=s.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),c=u.length>0?u[0].key:s[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function A(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return D(n,o?S(t):v(t,c(n)),o)}function F(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function _(e,t,n){n=n.split("-")[0];var o=F(e),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",l=r?"left":"top",s=r?"height":"width",u=r?"width":"height";return i[a]=t[a]+t[s]/2-o[s]/2,i[l]=n===l?t[l]-o[u]:t[L(l)],i}function R(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=R(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))}),t}function N(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=k(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=_(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function Z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],r=i?""+i+n:e;if(void 0!==document.body.style[r])return r}return null}function H(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function B(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,o){var i="BODY"===e.nodeName,r=i?e.ownerDocument.defaultView:e;r.addEventListener(t,n,{passive:!0}),i||W(u(r.parentNode),t,n,o),o.push(r)}function U(e,t,n,o){n.updateBound=o,B(e).addEventListener("resize",n.updateBound,{passive:!0});var i=u(e);return W(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function K(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,B(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Y(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function j(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Y(t[n])&&(o="px"),e.style[n]=t[n]+o})}var G=o&&/Firefox/i.test(navigator.userAgent);function q(e,t,n){var o=R(e,function(e){return e.name===t}),i=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!i){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var X=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$=X.slice(3);function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=$.indexOf(e),o=$.slice(n+1).concat($.slice(0,n));return t?o.reverse():o}var Q="flip",ee="clockwise",te="counterclockwise";function ne(e,t,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),l=a.indexOf(R(a,function(e){return-1!==e.search(/,|\s/)}));a[l]&&-1===a[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return u=u.map(function(e,o){var i=(1===o?!r:r)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,o){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],a=i[2];if(!r)return e;if(0===a.indexOf("%")){return T("%p"===a?n:o)[t]/100*r}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(e,i,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,o){Y(n)&&(i[t]+=n*("-"===e[o-1]?-1:1))})}),i}var oe={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var i=e.offsets,r=i.reference,a=i.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",u=l?"width":"height",c={start:C({},s,r[s]),end:C({},s,r[s]+r[u]-a[u])};e.offsets.popper=E({},a,c[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,i=e.offsets,r=i.popper,a=i.reference,l=o.split("-")[0],s=void 0;return s=Y(+n)?[+n,0]:ne(n,r,a,l),"left"===l?(r.top+=s[0],r.left-=s[1]):"right"===l?(r.top+=s[0],r.left+=s[1]):"top"===l?(r.left+=s[0],r.top-=s[1]):"bottom"===l&&(r.left+=s[0],r.top+=s[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||m(e.instance.popper);e.instance.reference===n&&(n=m(n));var o=Z("transform"),i=e.instance.popper.style,r=i.top,a=i.left,l=i[o];i.top="",i.left="",i[o]="";var s=M(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=r,i.left=a,i[o]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,f={primary:function(e){var n=c[e];return c[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(c[e],s[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=c[n];return c[e]>s[e]&&!t.escapeWithReference&&(o=Math.min(c[n],s[e]-("right"===e?c.width:c.height))),C({},n,o)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=E({},c,f[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,i=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(i),l=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return n[l]<r(o[s])&&(e.offsets.popper[s]=r(o[s])-n[u]),n[s]>r(o[l])&&(e.offsets.popper[s]=r(o[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!q(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",f=u?"Top":"Left",p=f.toLowerCase(),d=u?"left":"top",m=u?"bottom":"right",h=F(o)[c];s[m]-h<a[p]&&(e.offsets.popper[p]-=a[p]-(s[m]-h)),s[p]+h>a[m]&&(e.offsets.popper[p]+=s[p]+h-a[m]),e.offsets.popper=T(e.offsets.popper);var v=s[p]+s[c]/2-h/2,g=l(e.instance.popper),y=parseFloat(g["margin"+f]),w=parseFloat(g["border"+f+"Width"]),b=v-e.offsets.popper[p]-y-w;return b=Math.max(Math.min(a[c]-h,b),0),e.arrowElement=o,e.offsets.arrow=(C(n={},p,Math.round(b)),C(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=M(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],i=L(o),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Q:a=[o,i];break;case ee:a=J(o);break;case te:a=J(o,!0);break;default:a=t.behavior}return a.forEach(function(l,s){if(o!==l||a.length===s+1)return e;o=e.placement.split("-")[0],i=L(o);var u=e.offsets.popper,c=e.offsets.reference,f=Math.floor,p="left"===o&&f(u.right)>f(c.left)||"right"===o&&f(u.left)<f(c.right)||"top"===o&&f(u.bottom)>f(c.top)||"bottom"===o&&f(u.top)<f(c.bottom),d=f(u.left)<f(n.left),m=f(u.right)>f(n.right),h=f(u.top)<f(n.top),v=f(u.bottom)>f(n.bottom),g="left"===o&&d||"right"===o&&m||"top"===o&&h||"bottom"===o&&v,y=-1!==["top","bottom"].indexOf(o),w=!!t.flipVariations&&(y&&"start"===r&&d||y&&"end"===r&&m||!y&&"start"===r&&h||!y&&"end"===r&&v),b=!!t.flipVariationsByContent&&(y&&"start"===r&&m||y&&"end"===r&&d||!y&&"start"===r&&v||!y&&"end"===r&&h),x=w||b;(p||g||x)&&(e.flipped=!0,(p||g)&&(o=a[s+1]),x&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=o+(r?"-"+r:""),e.offsets.popper=E({},e.offsets.popper,_(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,i=o.popper,r=o.reference,a=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=r[n]-(l?i[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=T(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=R(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,i=e.offsets.popper,r=R(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,l=m(e.instance.popper),s=I(l),u={position:i.position},c=function(e,t){var n=e.offsets,o=n.popper,i=n.reference,r=Math.round,a=Math.floor,l=function(e){return e},s=r(i.width),u=r(o.width),c=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),p=t?c||f||s%2==u%2?r:a:l,d=t?r:l;return{left:p(s%2==1&&u%2==1&&!f&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:p(o.right)}}(e,window.devicePixelRatio<2||!G),f="bottom"===n?"top":"bottom",p="right"===o?"left":"right",d=Z("transform"),h=void 0,v=void 0;if(v="bottom"===f?"HTML"===l.nodeName?-l.clientHeight+c.bottom:-s.height+c.bottom:c.top,h="right"===p?"HTML"===l.nodeName?-l.clientWidth+c.right:-s.width+c.right:c.left,a&&d)u[d]="translate3d("+h+"px, "+v+"px, 0)",u[f]=0,u[p]=0,u.willChange="transform";else{var g="bottom"===f?-1:1,y="right"===p?-1:1;u[f]=v*g,u[p]=h*y,u.willChange=f+", "+p}var w={"x-placement":e.placement};return e.attributes=E({},w,e.attributes),e.styles=E({},u,e.styles),e.arrowStyles=E({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return j(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,i){var r=A(i,t,e,n.positionFixed),a=k(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),j(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:oe},re=function(){function e(t,n){var o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=E({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){o.options.modifiers[t]=E({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return E({name:e},o.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return x(e,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();re.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,re.placements=X,re.Defaults=ie;const ae=re;n.d(t,["A",0,ae])}}]);
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.