www.federated.computer/public/js/vendor.min.js

17 lines
238 KiB
JavaScript
Raw Normal View History

2023-11-20 18:48:09 +00:00
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var h,v,O,A,M,T,I,V,U,Z,y=[],i=e.document,Xt=Object.getPrototypeOf,_=y.slice,xe=y.concat,ce=y.push,q=y.indexOf,Y={},Ae=Y.toString,P=Y.hasOwnProperty,Me=P.toString,Bt=Me.call(Object),a={},o=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},k=function(t){return t!=null&&t===t.window},Ht={type:!0,src:!0,noModule:!0},ee,Je,tt,nt,dt,ge,le,be,ot,it,ut,ct,st,Xe,oe,Se,ue,we,_e;function Ie(e,t,n){var s,o=(t=t||i).createElement("script");if(o.text=e,n)for(s in Ht)n[s]&&(o[s]=n[s]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return e==null?e+"":"object"==typeof e||"function"==typeof e?Y[Ae.call(e)]||"object":typeof e}var Zt="3.3.1",n=function(e,t){return new n.fn.init(e,t)},Ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;n.fn=n.prototype={jquery:"3.3.1",constructor:n,length:0,toArray:function(){return _.call(this)},get:function(e){return e==null?_.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=n.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return n.each(this,e)},map:function(e){return this.pushStack(n.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(_.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var n=this.length,t=+e+(e<0?n:0);return this.pushStack(t>=0&&t<n?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:y.sort,splice:y.splice},n.extend=n.fn.extend=function(){var t,s,a,r,c,l,e=arguments[0]||{},i=1,u=arguments.length,d=!1;for("boolean"==typeof e&&(d=e,e=arguments[i]||{},i++),"object"==typeof e||o(e)||(e={}),i===u&&(e=this,i--);i<u;i++)if(null!=(r=arguments[i]))for(a in r)t=e[a],e!==(s=r[a])&&(d&&s&&(n.isPlainObject(s)||(c=Array.isArray(s)))?(c?(c=!1,l=t&&Array.isArray(t)?t:[]):l=t&&n.isPlainObject(t)?t:{},e[a]=n.extend(d,l,s)):void 0!==s&&(e[a]=s));return e},n.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!!e&&"[object Object]"===Ae.call(e)&&(!(t=Xt(e))||"function"==typeof(n=P.call(t,"constructor")&&t.constructor)&&Me.call(n)===Bt)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){Ie(e)},each:function(e,t){var s,n=0;if(Q(e)){for(s=e.length;n<s;n++)if(!1===t.call(e[n],n,e[n]))break}else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return e==null?"":(e+"").replace(Ot,"")},makeArray:function(e,t){var s=t||[];return e!=null&&(Q(Object(e))?n.merge(s,"string"==typeof e?[e]:e):ce.call(s,e)),s},inArray:function(e,t,n){return t==null?-1:q.call(t,e,n)},merge:function(e,t){for(var o=+t.length,n=0,s=e.length;n<o;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,n){for(var i,o=[],s=0,a=e.length,r=!n;s<a;s++)(i=!t(e[s],s))!==r&&o.push(e[s]);return o},map:function(e,t,n){var o,a,s=0,i=[];if(Q(e))for(a=e.length;s<a;s++)null!=(o=t(e[s],s,n))&&i.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&i.push(o);return xe.apply([],i)},guid:1,support:a}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=y[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Y["[object "+t+"]"]=t.toLowerCase()});function Q(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!o(e)&&!k(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}v=function(e){var t,n,a,r,l,d,g,b,_,x,C,E,k,z,N,L,V,Q,Z,i="sizzle"+1*new Date,c=e.document,f=0,_e=0,J=$(),ee=$(),D=$(),q=function(e,t){return e===t&&(C=!0),0},ve={}.hasOwnProperty,y=[],pe=y.pop,fe=y.push,v=y.push,ae=y.slice,w=function(e,t){for(var n=0,s=e.length;n<s;n++)if(e[n]===t)return n;re
`)}}):{name:t.name,value:s.replace(Be,`
`)}}).get()}});var jt=/%20/g,qt=/#.*$/,mt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Le={},se={},De="*/".concat("*"),te=i.createElement("a");te.href=z.href;function ze(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var s,i=0,a=t.toLowerCase().match(h)||[];if(o(n))for(;s=a[i++];)"+"===s[0]?(s=s.slice(1)||"*",(e[s]=e[s]||[]).unshift(n)):(e[s]=e[s]||[]).push(n)}}function Fe(e,t,s,o){var i={},r=e===se;function a(c){var l;return i[c]=!0,n.each(e[c]||[],function(e,n){var c=n(t,s,o);return"string"!=typeof c||r||i[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function ie(e,t){var s,o,i=n.ajaxSettings.flatOptions||{};for(s in t)void 0!==t[s]&&((i[s]?e:o||(o={}))[s]=t[s]);return o&&n.extend(!0,e,o),e}function Ut(e,t,n){for(var o,i,a,r,c=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===a&&(a=e.mimeType||t.getResponseHeader("Content-Type"));if(a)for(o in c)if(c[o]&&c[o].test(a)){s.unshift(o);break}if(s[0]in n)i=s[0];else{for(o in n){if(!s[0]||e.converters[o+" "+s[0]]){i=o;break}r||(r=o)}i=i||r}if(i)return i!==s[0]&&s.unshift(i),n[i]}function Kt(e,t,n,s){var o,i,a,c,l,r={},d=e.dataTypes.slice();if(d[1])for(i in e.converters)r[i.toLowerCase()]=e.converters[i];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&s&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=d.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(i=r[a+" "+o]||r["* "+o]))for(l in r)if((c=l.split(" "))[1]===o&&(i=r[a+" "+c[0]]||r["* "+c[0]])){!0===i?i=r[l]:!0!==r[l]&&(o=c[0],d.unshift(c[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}return n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:z.href,type:"GET",isLocal:Nt.test(z.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":De,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,n.ajaxSettings),t):ie(n.ajaxSettings,e)},ajaxPrefilter:ze(Le),ajaxTransport:ze(se),ajax:function(t,s){"object"==typeof t&&(s=t,t=void 0),s=s||{};var r,c,d,u,f,p,g,b,j,w,o=n.ajaxSetup({},s),l=o.context||o,y=o.context&&(l.nodeType||l.jquery)?n(l):n.event,_=n.Deferred(),O=n.Callbacks("once memory"),m=o.statusCode||{},E={},C={},x="canceled",a={readyState:0,getResponseHeader:function(e){if(c){if(!p){p={};for(var t;t=Dt.exec(b);)p[t[1].toLowerCase()]=t[2]}t=p[e.toLowerCase()]}return t??null},getAllResponseHeaders:function(){return c?b:null},setRequestHeader:function(e,t){return c==null&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,E[e]=t),this},overrideMimeType:function(e){return c==null&&(o.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)a.always(e[a.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||x;return u&&u.abort(t),v(0,t),this}};if(_.promise(a),o.url=((t||o.url||z.href)+"").replace(Rt,z.protocol+"//"),o.type=s.method||s.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(h)||[""],null==o.crossDomain){d=i.createElement("a");try{d.href=o.url,d.href=d.href,o.crossDomain=te.protocol+"//"+te.host!=d.protocol+"//"+d.host}catch{o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=n.param(o.data,o.traditional)),Fe(Le,o,s,a),c)return a;(g=n.event&&o.global)&&0==n.active++&&n.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Lt.test(o.type),r=o.url.replace(qt,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(jt,"+")):(f=o.url.slice(r.len
* Bootstrap v4.1.1 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(e.bootstrap={},e.jQuery,e.Popper)}(this,function(e,t,n){"use strict";function at(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function E(e,t,n){return t&&at(e.prototype,t),n&&at(e,n),e}function m(e){for(t=1;t<arguments.length;t++){var t,n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){var s,o=e,i=n[s=t];s in o?Object.defineProperty(o,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[s]=i})}return e}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var s,o,i,a,c,l,d,u,h,f,p,g,v,b,j,y,_,w,O,x,C,k,A,S,M,F,T,z,D,N,L,R,P,H,I,B,V,$,W,U,K,q,Y,G,X,Q,Z,J,Ee,Ae,On,De,wn,_n,vn,Ce,Oe,_e,gn,mn,dn,Ue,cn,an,on,Qe,Ze,pe,Je,sn,Pe,nn,ce,ue,tn,Jt,Zt,Xt,Yt,Kt,Ut,Wt,se,$t,je,Vt,oe,le,de,Te,He,zt,ke,re,ye,Ft,Mt,Xe,St,At,kt,Ie,xt,he,Ot,ze,yt,jt,vt,gt,ut,lt,ct,rt,et,it,ge,ot,xe,st,nt,tt,Ge,ve,Re,dt,qe,ht,mt,ft,pt,ee,Le,bt,ie,ne,_t,wt,te,Me,Ct,Et,me,be,Tt,Ye,Dt,Nt,Lt,Rt,Pt,Ht,It,Bt,ae,Ne,fe,qt,Ke,Gt,Se,Qt,en,Ve,we,rn,ln,un,hn,We,fn,pn,$e,Be,bn,jn,yn,r=function(e){var t,n="transitionend";function s(n){var o=this,s=!1;return e(this).one(t.TRANSITION_END,function(){s=!0}),setTimeout(function(){s||t.triggerTransitionEnd(o)},n),this}return t={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(t){var n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||"");try{return 0<e(document).find(n).length?n:null}catch{return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration");return parseFloat(n)?(n=n.split(",")[0],1e3*parseFloat(n)):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(n)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,n,s){for(o in s)if(Object.prototype.hasOwnProperty.call(s,o)){var o,c,a=s[o],i=n[o],r=i&&t.isElement(i)?"element":(c=i,{}.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(a).test(r))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+r+'" but expected type "'+a+'".')}}},e.fn.emulateTransitionEnd=s,e.event.special[t.TRANSITION_END]={bindType:n,delegateType:n,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},t}(t),xn=(U="alert",Ae="."+(Ee="bs.alert"),On=(f=t).fn[U],De={CLOSE:"close"+Ae,CLOSED:"closed"+Ae,CLICK_DATA_API:"click"+Ae+".data-api"},wn="alert",_n="fade",vn="show",P=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){f.removeData(this._element,Ee),this._element=null},t._getRootElement=function(e){var n=r.getSelectorFromElement(e),t=!1;return n&&(t=f(n)[0]),t||(t=f(e).closest("."+wn)[0]),t},t._triggerCloseEvent=function(e){var t=f.Event(De.CLOSE);return f(e).trigger(t),t},t._removeElement=function(e){var t,n=this;f(e).removeClass(vn),f(e).hasClass(_n)?(t=r.getTransitionDurationFromElement(e),f(e).one(r.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},t._destroyElement=function(e){f(e).detach().trigger(De.CLOSED).remove()},e._jQueryInterface=function(t){return this.each(function(){var s=f(this),n=s.data(Ee);n||(n=new e(this),s.data(Ee,n)),"close"===t&&n[t](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},E(e,null,[{key:"VERSION",get:f
* headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js
* License: MIT
*/!function(e,t){"use strict";function o(e){this.callback=e,this.ticking=!1}function a(t){return t&&"undefined"!=typeof e&&(t===e||t.nodeType)}function i(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,s,o,n=e||{};for(s=1;s<arguments.length;s++){o=arguments[s]||{};for(t in o)n[t]="object"!=typeof n[t]||a(n[t])?n[t]||o[t]:i(n[t],o[t])}return n}function r(e){return e===Object(e)?e:{down:e,up:e}}function n(e,t){t=i(t,n.options),this.lastKnownScrollY=0,this.elem=e,this.debouncer=new o(this.update.bind(this)),this.tolerance=r(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop}var s={bind:!!function(){}.bind,classList:"classList"in t.documentElement,rAF:!!(e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame)};e.requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,o.prototype={constructor:o,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},n.prototype={constructor:n,init:function(){return n.cutsTheMustard?(this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var e=this.classes;this.initialised=!1,this.elem.classList.remove(e.unpinned,e.pinned,e.top,e.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;(e.contains(t.pinned)||!e.contains(t.unpinned))&&(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(t.documentElement||t.body.parentNode||t.body).scrollTop},getViewportHeight:function(){return e.innerHeight||t.documentElement.clientHeight||t.body.clientHeight},getDocumentHeight:function(){var e=t.body,n=t.documentElement;return Math.max(e.scrollHeight,n.scrollHeight,e.offsetHeight,n.offsetHeight,e.clientHeight,n.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===e||this.scroller===t.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=0>e,n=e+this.getViewportHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,s=e>=this.offset;return n&&s&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,s=e<=this.offset;return n&&t||s},update:function(){var e=this.getScrollY(),n=e>this.lastKnownScrollY?"down":"up",t=this.toleranceExceeded(e,n);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),this.shouldUnpin(e,t)?this.unpin():this.shouldPin(e,t)&&this.pin(),this.lastKnownScrollY=e)}},n.options={tolerance:{up:0,down:0},offset:0,scroller:e,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}},n.cutsTheMustard="undefined"!=typeof s&&s.rAF&&s.bind&&s.class
* headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js
* License: MIT
*/!function(e){e&&(e.fn.headroom=function(t){return this.each(function(){var o=e(this),n=o.data("headroom"),s="object"==typeof t&&t,s=e.extend(!0,{},Headroom.options,s);n||(n=new Headroom(this,s),n.init(),o.data("headroom",n)),"string"==typeof t&&n[t]()})},e("[data-headroom]").each(function(){var t=e(this);t.headroom(t.data())}))}(window.Zepto||window.jQuery);/*! Magnific Popup - v1.1.0 - 2016-02-20
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2016 Dmitry Semenov; */!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(e){var t,i,a,c,u,p,g,b,j,_,w,k,S,T,D,L,P,H,l="Close",I="BeforeClose",$="AfterClose",W="BeforeAppend",O="MarkupParse",F="Open",V="Change",M="mfp",o="."+M,v="mfp-ready",B="mfp-removing",x="mfp-prevent-close",y=function(){},z=!!window.jQuery,d=e(window),s=function(e,n){t.ev.on(M+e+o,n)},h=function(t,n,s,o){var i=document.createElement("div");return i.className="mfp-"+t,s&&(i.innerHTML=s),o?n&&n.appendChild(i):(i=e(i),n&&i.appendTo(n)),i},n=function(n,s){t.ev.triggerHandler(M+n,s),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(s)?s:[s]))},C=function(n){return n===L&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),L=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new y,t.init(),e.magnificPopup.instance=t)},K=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};y.prototype={constructor:y,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=K(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(a){if(a.isObj===!1){{t.items=a.items.toArray(),t.index=0,f=a.items;for(r=0;r<f.length;r++)if(l=f[r],l.parsed&&(l=l.el[0]),l===a.el[0]){t.index=r;break}}}else t.items=e.isArray(a.items)?a.items:[a.items],t.index=a.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],c="",a.mainEl&&a.mainEl.length?t.ev=a.mainEl.eq(0):t.ev=i,a.key?(t.popupsCache[a.key]||(t.popupsCache[a.key]={}),t.currTemplate=t.popupsCache[a.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,a),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=h("bg").on("click"+o,function(){t.close()}),t.wrap=h("wrap").attr("tabindex",-1).on("click"+o,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=h("container",t.wrap)),t.contentContainer=h("content"),t.st.preloader&&(t.preloader=h("preloader",t.container,t.st.tLoading)),p=e.magnificPopup.modules;for(r=0;r<p.length;r++)u=p[r],u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t);n("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(s(O,function(e,t,n,s){n.close_replaceWith=C(s.type)}),c+=" mfp-close-btn-in"):t.wrap.append(C())),t.st.alignTop&&(c+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:d.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+o,function(e){27===e.keyCode&&t.close()}),d.on("resize"+o,function(){t.updateSize()}),t.st.closeOnContentClick||(c+=" mfp-auto-cursor"),c&&t.wrap.addClass(c);var r,l,u,m,f,p,b,j=t.wH=d.height(),g={};return t.fixedContentPos&&t._hasScrollBar(j)&&(b=t._getScrollbarSize(),b&&(g.marginRight=b)),t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden"),m=t.st.mainClass,t.isIE7&&(m+=" mfp-ie7"),m&&t._addClassToMFP(m),t.updateItemHTML(),n("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),i.on("focusin"+o,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(j),n(F),a},close:function(){t.isOpen&&(n(I),t.isOpen=!1,t.st.removalDelay&&!t.i