PageSourceSearch

https://www.sps-dopravni.cz/wp-content/cache/autoptimize/js/autoptimize_34891c11d36d5da31c1d8ba7910fe8d0.js

js sps-dopravni.cz collected 2026-10-06 11:14:18 UTC 605,008 bytes, 213 lines download raw bytes

1/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window}
2,"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
2,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
3var flatpickr=function(){"use strict";var e,t={};var n,a,o,i,r,l,c,d,s,u,f,m,p,g,h,v,D,y,w,b,M,C,x,E,_,O,k,T,I,S,P,F,j,A,N,Y=(e||(e=1,n||(n=1,a||(a=1,o||(o=1,i||(i=1,r||(r=1,l||(l=1,c||(c=1,d||(
vendor: 5,562 bytes, line 3
3d=1,s||(s=1,u||(u=1,f||(f=1,m||(m=1,p||(p=1,g||(g=1,h||(h=1,v||(v=1,D||(D=1,y||(y=1,w||(w=1,b||(b=1,M||(M=1,E={exports:{}},C||(C=1,E.exports=function(){var e=function(){return(e=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function t(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],r=0,l=i.length;r<l;r++,o++)a[o]=i[r];return a}var n=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},o={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},i=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},r=function(e){return!0===e?1:0};function l(e,t){var n;return function(){var a=this,o=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(a,o)}),t)}}var c=function(e){return e instanceof Array?e:[e]};function d(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function s(e,t,n){var a=window.document.createElement(e);return t=t||"",n=n||"",a.className=t,void 0!==n&&(a.textContent=n),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,t){return t(e)?e:e.parentNode?f(e.parentNode,t):void 0}function m(e,t){var n=s("div","numInputWrapper"),a=s("input","numInput "+e),o=s("span","arrowUp"),i=s("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==t)for(var r in t)a.setAttribute(r,t[r]);return n.appendChild(a),n.appendChild(o),n.appendChild(i),n}function p(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var g=function(){},h=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},v={D:g,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*r(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var a=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:g,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:g,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},D={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"
3(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},y={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[y.w(e,t,n)]},F:function(e,t,n){return h(y.n(e,t,n)-1,!1,t)},G:function(e,t,n){return i(y.h(e,t,n))},H:function(e){return i(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[r(e.getHours()>11)]},M:function(e,t){return h(e.getMonth(),!0,t)},S:function(e){return i(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return i(e.getFullYear(),4)},d:function(e){return i(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return i(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return i(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},w=function(e){var t=e.config,n=void 0===t?a:t,i=e.l10n,r=void 0===i?o:i,l=e.isMobile,c=void 0!==l&&l;return function(e,t,a){var o=a||r;return void 0===n.formatDate||c?t.split("").map((function(t,a,i){return y[t]&&"\\"!==i[a-1]?y[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},b=function(e){var t=e.config,n=void 0===t?a:t,i=e.l10n,r=void 0===i?o:i;return function(e,t,o,i){if(0===e||e){var l,c=i||r,d=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var s=t||(n||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,o=!0;else if(n&&n.parseDate)l=n.parseDate(e,s);else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else{for(var f=void 0,m=[],p=0,g=0,h="";p<s.length;p++){var y=s[p],w="\\"===y,b="\\"===s[p-1]||w;if(D[y]&&!b){h+=D[y];var M=new RegExp(h).exec(e);M&&(f=!0)&&m["Y"!==y?"push":"unshift"]({fn:v[y],val:M[++g]})}else w||(h+=".")}l=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),m.forEach((function(e){var t=e.fn,n=e.val;return l=t(l,n,c)||l})),l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===o&&l.setHours(0,0,0,0),l;n.errorHandler(new Error("Invalid date provided: "+d))}}};function M(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var C=function(e,t,n){return 3600*e+60*t+n};function x(e){var t=e.defaultHour,n=e.defaultMinute,a=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),i=e.minDate.getMinutes(),r=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<i&&(n=i),t===o&&n===i&&a<r&&(a=e.minDate.getSeconds())}if(void 0!==e.maxDate){var l=e.maxDate.getHours(),c=e.maxDate.getMinutes();(t=Math.min(t,l))===l&&(n=Math.min(c,n)),t===l&&n===c&&(a=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:a}}function E(g,v){var y={config:e(e({},a),O.defaultConfig),l10n:o};function E(){var e;return(null===(e=y.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function _(e){return e.bind(y)}function k(){var e=y.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==y.calendarContainer&&(y.calendarContainer.style.visibility="hidden",y.calendarContainer.style.display="block"),void 0!==y.daysContainer){var t=(y.days.offsetWidth+1)*e.showMonths;y.daysContainer.style.width=t+"px",y.calendarContainer.style.width=t+(void 0!==y.weekWrapper?y.weekWrapper.offsetWidth:0)+"px",y.calendarContainer.style.removeProperty("visibility"),y.calendarContainer.style.removeProperty("display")}}))}function T(e){if(0===y.selectedDates.length){var t=void 0===y.config.minDate||M(new Date,y.config.minDate)>=0?new Date:new Date(y.config.minDate.getTime()),n=x(y.config);t.setHours(n.hours,n.minutes,n.seconds,t.getMilliseconds()),y.selectedDates=[t],y.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=p(e),a=n;void 0!==y.amPM&&n===y.amPM&&(y.amPM.textContent=y.l10n.amPM[r(y.amPM.textContent===y.l10n.amPM[0])]);var o=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=p
vendor: 6,275 bytes, line 3
3arseFloat(a.getAttribute("step")),d=parseInt(a.value,10),s=d+c*(e.delta||(t?38===e.which?1:-1:0));if(void 0!==a.value&&2===a.value.length){var u=a===y.hourElement,f=a===y.minuteElement;s<o?(s=l+s+r(!u)+(r(u)&&r(!y.amPM)),f&&H(void 0,-1,y.hourElement)):s>l&&(s=a===y.hourElement?s-l-r(!y.amPM):o,f&&H(void 0,1,y.hourElement)),y.amPM&&u&&(1===c?s+d===23:Math.abs(s-d)>c)&&(y.amPM.textContent=y.l10n.amPM[r(y.amPM.textContent===y.l10n.amPM[0])]),a.value=i(s)}}(e);var a=y._input.value;I(),Me(),y._input.value!==a&&y._debouncedChange()}function I(){if(void 0!==y.hourElement&&void 0!==y.minuteElement){var e,t,n=(parseInt(y.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(y.minuteElement.value,10)||0)%60,o=void 0!==y.secondElement?(parseInt(y.secondElement.value,10)||0)%60:0;void 0!==y.amPM&&(e=n,t=y.amPM.textContent,n=e%12+12*r(t===y.l10n.amPM[1]));var i=void 0!==y.config.minTime||y.config.minDate&&y.minDateHasTime&&y.latestSelectedDateObj&&0===M(y.latestSelectedDateObj,y.config.minDate,!0),l=void 0!==y.config.maxTime||y.config.maxDate&&y.maxDateHasTime&&y.latestSelectedDateObj&&0===M(y.latestSelectedDateObj,y.config.maxDate,!0);if(void 0!==y.config.maxTime&&void 0!==y.config.minTime&&y.config.minTime>y.config.maxTime){var c=C(y.config.minTime.getHours(),y.config.minTime.getMinutes(),y.config.minTime.getSeconds()),d=C(y.config.maxTime.getHours(),y.config.maxTime.getMinutes(),y.config.maxTime.getSeconds()),s=C(n,a,o);if(s>d&&s<c){var u=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]}(c);n=u[0],a=u[1],o=u[2]}}else{if(l){var f=void 0!==y.config.maxTime?y.config.maxTime:y.config.maxDate;(n=Math.min(n,f.getHours()))===f.getHours()&&(a=Math.min(a,f.getMinutes())),a===f.getMinutes()&&(o=Math.min(o,f.getSeconds()))}if(i){var m=void 0!==y.config.minTime?y.config.minTime:y.config.minDate;(n=Math.max(n,m.getHours()))===m.getHours()&&a<m.getMinutes()&&(a=m.getMinutes()),a===m.getMinutes()&&(o=Math.max(o,m.getSeconds()))}}P(n,a,o)}}function S(e){var t=e||y.latestSelectedDateObj;t&&t instanceof Date&&P(t.getHours(),t.getMinutes(),t.getSeconds())}function P(e,t,n){void 0!==y.latestSelectedDateObj&&y.latestSelectedDateObj.setHours(e%24,t,n||0,0),y.hourElement&&y.minuteElement&&!y.isMobile&&(y.hourElement.value=i(y.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),y.minuteElement.value=i(t),void 0!==y.amPM&&(y.amPM.textContent=y.l10n.amPM[r(e>=12)]),void 0!==y.secondElement&&(y.secondElement.value=i(n)))}function F(e){var t=p(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&X(n)}function j(e,t,n,a){return t instanceof Array?t.forEach((function(t){return j(e,t,n,a)})):e instanceof Array?e.forEach((function(e){return j(e,t,n,a)})):(e.addEventListener(t,n,a),void y._handlers.push({remove:function(){return e.removeEventListener(t,n,a)}}))}function A(){ve("onChange")}function N(e,t){var n=void 0!==e?y.parseDate(e):y.latestSelectedDateObj||(y.config.minDate&&y.config.minDate>y.now?y.config.minDate:y.config.maxDate&&y.config.maxDate<y.now?y.config.maxDate:y.now),a=y.currentYear,o=y.currentMonth;try{void 0!==n&&(y.currentYear=n.getFullYear(),y.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,y.config.errorHandler(e)}t&&y.currentYear!==a&&(ve("onYearChange"),U()),!t||y.currentYear===a&&y.currentMonth===o||ve("onMonthChange"),y.redraw()}function Y(e){var t=p(e);~t.className.indexOf("arrow")&&H(e,t.classList.contains("arrowUp")?1:-1)}function H(e,t,n){var a=e&&p(e),o=n||a&&a.parentNode&&a.parentNode.firstChild,i=De("increment");i.delta=t,o&&o.dispatchEvent(i)}function L(e,t,n,a){var o=ee(t,!0),i=s("span",e,t.getDate().toString());return i.dateObj=t,i.$i=a,i.setAttribute("aria-label",y.formatDate(t,y.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===M(t,y.now)&&(y.todayDateElem=i,i.classList.add("today"),i.setAttribute("aria-current","date")),o?(i.tabIndex=-1,ye(t)&&(i.classList.add("selected"),y.selectedDateElem=i,"range"===y.config.mode&&(d(i,"startRange",y.selectedDates[0]&&0===M(t,y.selectedDates[0],!0)),d(i,"endRange",y.selectedDates[1]&&0===M(t,y.selectedDates[1],!0)),"nextMonthDay"===e&&i.classList.add("inRange")))):i.classList.add("flatpickr-disabled"),"range"===y.config.mode&&function(e){return!("range"!==y.config.mode||y.selectedDates.length<2)&&M(e,y.selectedDates[0])>=0&&M(e,y.selectedDates[1])<=0}(t)&&!ye(t)&&i.classList.add("inRange"),y.weekNumbers&&1===y.config.showMonths&&"prevMonthDay"!==e&&a%7==6&&y.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+y.config.getWeek(t)+"</span>"),ve("onDayCreate",i),i}function R(e){e.focus(),"range"===y.config.mode&&oe(e)}function W(e){for(var t=e>0?0:y.config.showMonths-1,n=e>0?y.config.showMonths:-1,a=t;a!=n;a+=e)for(var o=y.daysContainer.children[a],i=e>0?0:o.children.length-1,r=e>0?o.children.length:-1,l=i;l!=r;l+=e){var c=o.children[l];if(-1===c.className.indexOf("hidden")&&ee(c.dateObj))return c}}function B(e,t){var n=E(),a=te(n||document.body),o=void 0!==e?e:a?n:void 0!==y.selectedDateElem&&te(y.selectedDateElem)?y.selectedDateElem:void 0!==y.todayDateElem&&te(y.todayDateElem)?y.todayDateElem:W(t>0?1:-1);void 0===o?y._input.focus():a?function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():y.currentMonth,a=t>0?y.config.showMonths:-1,o=t>0?1:-1,i=n-y.currentMonth;i!=a;i+=o)for(var r=y.daysContainer.children[i],l=n-y.currentMonth===i?e.$i+t:t<0?r.children.length-1:0,c=r.children.length,d=l;d>=0&&d<c&&d!=(t>0?c:-1);d+=o){var s=r.children[d];if(-1===s.className.indexOf("hidden")&&ee(s.dateObj)&&Math.abs(e.$i-d)>=Math.abs(t))return R(s)}y.changeMonth(o),B(W(o),0)}(o,t):R(o)}function J(e,t){for(var n=(new Date(e,t,1).getDay()-y.l10n.firstDayOfWeek+7)%7,a=y.utils.getDaysInMonth((t-1+12)%12,e),o=y.utils.getDaysInMonth(t,e),i=window.document.createDocumentFragment(),r=y.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",d=a+1-n,u=0;d<=a;d++,u++)i.appendChild(L("flatpickr-day "+l,new Date(e,t-1,d),0,u));for(d=1;d<=o;d++,u++)i.appendChild(L("flatpickr-day",new Date(e,t,d),0,u));for(var f=o+1;f<=42-n&&(1===y.config.showMonths||u%7!=0);f++,u++)i.appendChild(L("flatpickr-day "+c,new Date(e,t+1,f%o),0,u));var m=s("div","dayContainer");return m.appendChild(i),m}
vendor: 4,625 bytes, line 3
3function K(){if(void 0!==y.daysContainer){u(y.daysContainer),y.weekNumbers&&u(y.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<y.config.showMonths;t++){var n=new Date(y.currentYear,y.currentMonth,1);n.setMonth(y.currentMonth+t),e.appendChild(J(n.getFullYear(),n.getMonth()))}y.daysContainer.appendChild(e),y.days=y.daysContainer.firstChild,"range"===y.config.mode&&1===y.selectedDates.length&&oe()}}function U(){if(!(y.config.showMonths>1||"dropdown"!==y.config.monthSelectorType)){var e=function(e){return!(void 0!==y.config.minDate&&y.currentYear===y.config.minDate.getFullYear()&&e<y.config.minDate.getMonth()||void 0!==y.config.maxDate&&y.currentYear===y.config.maxDate.getFullYear()&&e>y.config.maxDate.getMonth())};y.monthsDropdownContainer.tabIndex=-1,y.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var n=s("option","flatpickr-monthDropdown-month");n.value=new Date(y.currentYear,t).getMonth().toString(),n.textContent=h(t,y.config.shorthandCurrentMonth,y.l10n),n.tabIndex=-1,y.currentMonth===t&&(n.selected=!0),y.monthsDropdownContainer.appendChild(n)}}}function $(){var e,t=s("div","flatpickr-month"),n=window.document.createDocumentFragment();y.config.showMonths>1||"static"===y.config.monthSelectorType?e=s("span","cur-month"):(y.monthsDropdownContainer=s("select","flatpickr-monthDropdown-months"),y.monthsDropdownContainer.setAttribute("aria-label",y.l10n.monthAriaLabel),j(y.monthsDropdownContainer,"change",(function(e){var t=p(e),n=parseInt(t.value,10);y.changeMonth(n-y.currentMonth),ve("onMonthChange")})),U(),e=y.monthsDropdownContainer);var a=m("cur-year",{tabindex:"-1"}),o=a.getElementsByTagName("input")[0];o.setAttribute("aria-label",y.l10n.yearAriaLabel),y.config.minDate&&o.setAttribute("min",y.config.minDate.getFullYear().toString()),y.config.maxDate&&(o.setAttribute("max",y.config.maxDate.getFullYear().toString()),o.disabled=!!y.config.minDate&&y.config.minDate.getFullYear()===y.config.maxDate.getFullYear());var i=s("div","flatpickr-current-month");return i.appendChild(e),i.appendChild(a),n.appendChild(i),t.appendChild(n),{container:t,yearElement:o,monthElement:e}}function q(){u(y.monthNav),y.monthNav.appendChild(y.prevMonthNav),y.config.showMonths&&(y.yearElements=[],y.monthElements=[]);for(var e=y.config.showMonths;e--;){var t=$();y.yearElements.push(t.yearElement),y.monthElements.push(t.monthElement),y.monthNav.appendChild(t.container)}y.monthNav.appendChild(y.nextMonthNav)}function V(){y.weekdayContainer?u(y.weekdayContainer):y.weekdayContainer=s("div","flatpickr-weekdays");for(var e=y.config.showMonths;e--;){var t=s("div","flatpickr-weekdaycontainer");y.weekdayContainer.appendChild(t)}return z(),y.weekdayContainer}function z(){if(y.weekdayContainer){var e=y.l10n.firstDayOfWeek,n=t(y.l10n.weekdays.shorthand);e>0&&e<n.length&&(n=t(n.splice(e,n.length),n.splice(0,e)));for(var a=y.config.showMonths;a--;)y.weekdayContainer.children[a].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+n.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function G(e,t){void 0===t&&(t=!0);var n=t?e:e-y.currentMonth;n<0&&!0===y._hidePrevMonthArrow||n>0&&!0===y._hideNextMonthArrow||(y.currentMonth+=n,(y.currentMonth<0||y.currentMonth>11)&&(y.currentYear+=y.currentMonth>11?1:-1,y.currentMonth=(y.currentMonth+12)%12,ve("onYearChange"),U()),K(),ve("onMonthChange"),we())}function Z(e){return y.calendarContainer.contains(e)}function Q(e){if(y.isOpen&&!y.config.inline){var t=p(e),n=Z(t),a=!(t===y.input||t===y.altInput||y.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(y.input)||~e.path.indexOf(y.altInput))||n||Z(e.relatedTarget)),o=!y.config.ignoredFocusElements.some((function(e){return e.contains(t)}));a&&o&&(y.config.allowInput&&y.setDate(y._input.value,!1,y.config.altInput?y.config.altFormat:y.config.dateFormat),void 0!==y.timeContainer&&void 0!==y.minuteElement&&void 0!==y.hourElement&&""!==y.input.value&&void 0!==y.input.value&&T(),y.close(),y.config&&"range"===y.config.mode&&1===y.selectedDates.length&&y.clear(!1))}}function X(e){if(!(!e||y.config.minDate&&e<y.config.minDate.getFullYear()||y.config.maxDate&&e>y.config.maxDate.getFullYear())){var t=e,n=y.currentYear!==t;y.currentYear=t||y.currentYear,y.config.maxDate&&y.currentYear===y.config.maxDate.getFullYear()?y.currentMonth=Math.min(y.config.maxDate.getMonth(),y.currentMonth):y.config.minDate&&y.currentYear===y.config.minDate.getFullYear()&&(y.currentMonth=Math.max(y.config.minDate.getMonth(),y.currentMonth)),n&&(y.redraw(),ve("onYearChange"),U())}}function ee(e,t){var n;void 0===t&&(t=!0);var a=y.parseDate(e,void 0,t);
vendor: 5,970 bytes, line 3
3if(y.config.minDate&&a&&M(a,y.config.minDate,void 0!==t?t:!y.minDateHasTime)<0||y.config.maxDate&&a&&M(a,y.config.maxDate,void 0!==t?t:!y.maxDateHasTime)>0)return!1;if(!y.config.enable&&0===y.config.disable.length)return!0;if(void 0===a)return!1;for(var o=!!y.config.enable,i=null!==(n=y.config.enable)&&void 0!==n?n:y.config.disable,r=0,l=void 0;r<i.length;r++){if("function"==typeof(l=i[r])&&l(a))return o;if(l instanceof Date&&void 0!==a&&l.getTime()===a.getTime())return o;if("string"==typeof l){var c=y.parseDate(l,void 0,!0);return c&&c.getTime()===a.getTime()?o:!o}if("object"==typeof l&&void 0!==a&&l.from&&l.to&&a.getTime()>=l.from.getTime()&&a.getTime()<=l.to.getTime())return o}return!o}function te(e){return void 0!==y.daysContainer&&-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&y.daysContainer.contains(e)}function ne(e){var t=e.target===y._input,n=y._input.value.trimEnd()!==be();!t||!n||e.relatedTarget&&Z(e.relatedTarget)||y.setDate(y._input.value,!0,e.target===y.altInput?y.config.altFormat:y.config.dateFormat)}function ae(e){var t=p(e),n=y.config.wrap?g.contains(t):t===y._input,a=y.config.allowInput,o=y.isOpen&&(!a||!n),i=y.config.inline&&n&&!a;if(13===e.keyCode&&n){if(a)return y.setDate(y._input.value,!0,t===y.altInput?y.config.altFormat:y.config.dateFormat),y.close(),t.blur();y.open()}else if(Z(t)||o||i){var r=!!y.timeContainer&&y.timeContainer.contains(t);switch(e.keyCode){case 13:r?(e.preventDefault(),T(),ue()):fe(e);break;case 27:e.preventDefault(),ue();break;case 8:case 46:n&&!y.config.allowInput&&(e.preventDefault(),y.clear());break;case 37:case 39:if(r||n)y.hourElement&&y.hourElement.focus();else{e.preventDefault();var l=E();if(void 0!==y.daysContainer&&(!1===a||l&&te(l))){var c=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),G(c),B(W(1),0)):B(void 0,c)}}break;case 38:case 40:e.preventDefault();var d=40===e.keyCode?1:-1;y.daysContainer&&void 0!==t.$i||t===y.input||t===y.altInput?e.ctrlKey?(e.stopPropagation(),X(y.currentYear-d),B(W(1),0)):r||B(void 0,7*d):t===y.currentYearElement?X(y.currentYear-d):y.config.enableTime&&(!r&&y.hourElement&&y.hourElement.focus(),T(e),y._debouncedChange());break;case 9:if(r){var s=[y.hourElement,y.minuteElement,y.secondElement,y.amPM].concat(y.pluginElements).filter((function(e){return e})),u=s.indexOf(t);if(-1!==u){var f=s[u+(e.shiftKey?-1:1)];e.preventDefault(),(f||y._input).focus()}}else!y.config.noCalendar&&y.daysContainer&&y.daysContainer.contains(t)&&e.shiftKey&&(e.preventDefault(),y._input.focus())}}if(void 0!==y.amPM&&t===y.amPM)switch(e.key){case y.l10n.amPM[0].charAt(0):case y.l10n.amPM[0].charAt(0).toLowerCase():y.amPM.textContent=y.l10n.amPM[0],I(),Me();break;case y.l10n.amPM[1].charAt(0):case y.l10n.amPM[1].charAt(0).toLowerCase():y.amPM.textContent=y.l10n.amPM[1],I(),Me()}(n||Z(t))&&ve("onKeyDown",e)}function oe(e,t){if(void 0===t&&(t="flatpickr-day"),1===y.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var n=e?e.dateObj.getTime():y.days.firstElementChild.dateObj.getTime(),a=y.parseDate(y.selectedDates[0],void 0,!0).getTime(),o=Math.min(n,y.selectedDates[0].getTime()),i=Math.max(n,y.selectedDates[0].getTime()),r=!1,l=0,c=0,d=o;d<i;d+=864e5)ee(new Date(d),!0)||(r=r||d>o&&d<i,d<a&&(!l||d>l)?l=d:d>a&&(!c||d<c)&&(c=d));Array.from(y.rContainer.querySelectorAll("*:nth-child(-n+"+y.config.showMonths+") > ."+t)).forEach((function(t){var o,i,d,s=t.dateObj.getTime(),u=l>0&&s<l||c>0&&s>c;if(u)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));r&&!u||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),void 0!==e&&(e.classList.add(n<=y.selectedDates[0].getTime()?"startRange":"endRange"),a<n&&s===a?t.classList.add("startRange"):a>n&&s===a&&t.classList.add("endRange"),s>=l&&(0===c||s<=c)&&(i=a,d=n,(o=s)>Math.min(i,d)&&o<Math.max(i,d))&&t.classList.add("inRange")))}))}}function ie(){!y.isOpen||y.config.static||y.config.inline||de()}function re(e){return function(t){var n=y.config["_"+e+"Date"]=y.parseDate(t,y.config.dateFormat),a=y.config["_"+("min"===e?"max":"min")+"Date"];void 0!==n&&(y["min"===e?"minDateHasTime":"maxDateHasTime"]=n.getHours()>0||n.getMinutes()>0||n.getSeconds()>0),y.selectedDates&&(y.selectedDates=y.selectedDates.filter((function(e){return ee(e)})),y.selectedDates.length||"min"!==e||S(n),Me()),y.daysContainer&&(se(),void 0!==n?y.currentYearElement[e]=n.getFullYear().toString():y.currentYearElement.removeAttribute(e),y.currentYearElement.disabled=!!a&&void 0!==n&&a.getFullYear()===n.getFullYear())}}function le(){return y.config.wrap?g.querySelector("[data-input]"):g}function ce(){"object"!=typeof y.config.locale&&void 0===O.l10ns[y.config.locale]&&y.config.errorHandler(new Error("flatpickr: invalid locale "+y.config.locale)),y.l10n=e(e({},O.l10ns.default),"object"==typeof y.config.locale?y.config.locale:"default"!==y.config.locale?O.l10ns[y.config.locale]:void 0),D.D="("+y.l10n.weekdays.shorthand.join("|")+")",D.l="("+y.l10n.weekdays.longhand.join("|")+")",D.M="("+y.l10n.months.shorthand.join("|")+")",D.F="("+y.l10n.months.longhand.join("|")+")",D.K="("+y.l10n.amPM[0]+"|"+y.l10n.amPM[1]+"|"+y.l10n.amPM[0].toLowerCase()+"|"+y.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(g.dataset||{}))).time_24hr&&void 0===O.defaultConfig.time_24hr&&(y.config.time_24hr=y.l10n.time_24hr),y.formatDate=w(y),y.parseDate=b({config:y.config,l10n:y.l10n})}function de(e){if("function"!=typeof y.config.position){if(void 0!==y.calendarContainer){ve("onPreCalendarPosition");var t=e||y._positionElement,n=Array.prototype.reduce.call(y.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),a=y.calendarContainer.offsetWidth,o=y.config.position.split(" "),i=o[0],r=o.length>1?o[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,s="above"===i||"below"!==i&&c<n&&l.to
vendor: 4,912 bytes, lines 3-4
3p>n,u=window.pageYOffset+l.top+(s?-n-2:t.offsetHeight+2);if(d(y.calendarContainer,"arrowTop",!s),d(y.calendarContainer,"arrowBottom",s),!y.config.inline){var f=window.pageXOffset+l.left,m=!1,p=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,p=!0),d(y.calendarContainer,"arrowLeft",!m&&!p),d(y.calendarContainer,"arrowCenter",m),d(y.calendarContainer,"arrowRight",p);var g=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=g+a>window.document.body.offsetWidth;if(d(y.calendarContainer,"rightMost",h),!y.config.static)if(y.calendarContainer.style.top=u+"px",h)if(v){var D=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===D)return;var w=window.document.body.offsetWidth,b=Math.max(0,w/2-a/2),M=D.cssRules.length,C="{left:"+l.left+"px;right:auto;}";d(y.calendarContainer,"rightMost",!1),d(y.calendarContainer,"centerMost",!0),D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+C,M),y.calendarContainer.style.left=b+"px",y.calendarContainer.style.right="auto"}else y.calendarContainer.style.left="auto",y.calendarContainer.style.right=g+"px";else y.calendarContainer.style.left=f+"px",y.calendarContainer.style.right="auto"}}}else y.config.position(y,e)}function se(){y.config.noCalendar||y.isMobile||(U(),we(),K())}function ue(){y._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(y.close,0):y.close()}function fe(e){e.preventDefault(),e.stopPropagation();var t=f(p(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var n=t,a=y.latestSelectedDateObj=new Date(n.dateObj.getTime()),o=(a.getMonth()<y.currentMonth||a.getMonth()>y.currentMonth+y.config.showMonths-1)&&"range"!==y.config.mode;if(y.selectedDateElem=n,"single"===y.config.mode)y.selectedDates=[a];else if("multiple"===y.config.mode){var i=ye(a);i?y.selectedDates.splice(parseInt(i),1):y.selectedDates.push(a)}else"range"===y.config.mode&&(2===y.selectedDates.length&&y.clear(!1,!1),y.latestSelectedDateObj=a,y.selectedDates.push(a),0!==M(a,y.selectedDates[0],!0)&&y.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(I(),o){var r=y.currentYear!==a.getFullYear();y.currentYear=a.getFullYear(),y.currentMonth=a.getMonth(),r&&(ve("onYearChange"),U()),ve("onMonthChange")}if(we(),K(),Me(),o||"range"===y.config.mode||1!==y.config.showMonths?void 0!==y.selectedDateElem&&void 0===y.hourElement&&y.selectedDateElem&&y.selectedDateElem.focus():R(n),void 0!==y.hourElement&&void 0!==y.hourElement&&y.hourElement.focus(),y.config.closeOnSelect){var l="single"===y.config.mode&&!y.config.enableTime,c="range"===y.config.mode&&2===y.selectedDates.length&&!y.config.enableTime;(l||c)&&ue()}A()}}y.parseDate=b({config:y.config,l10n:y.l10n}),y._handlers=[],y.pluginElements=[],y.loadedPlugins=[],y._bind=j,y._setHoursFromDate=S,y._positionCalendar=de,y.changeMonth=G,y.changeYear=X,y.clear=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=!0),y.input.value="",void 0!==y.altInput&&(y.altInput.value=""),void 0!==y.mobileInput&&(y.mobileInput.value=""),y.selectedDates=[],y.latestSelectedDateObj=void 0,!0===t&&(y.currentYear=y._initialDate.getFullYear(),y.currentMonth=y._initialDate.getMonth()),!0===y.config.enableTime){var n=x(y.config);P(n.hours,n.minutes,n.seconds)}y.redraw(),e&&ve("onChange")},y.close=function(){y.isOpen=!1,y.isMobile||(void 0!==y.calendarContainer&&y.calendarContainer.classList.remove("open"),void 0!==y._input&&y._input.classList.remove("active")),ve("onClose")},y.onMouseOver=oe,y._createElement=s,y.createDay=L,y.destroy=function(){void 0!==y.config&&ve("onDestroy");for(var e=y._handlers.length;e--;)y._handlers[e].remove();if(y._handlers=[],y.mobileInput)y.mobileInput.parentNode&&y.mobileInput.parentNode.removeChild(y.mobileInput),y.mobileInput=void 0;else if(y.calendarContainer&&y.calendarContainer.parentNode)if(y.config.static&&y.calendarContainer.parentNode){var t=y.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else y.calendarContainer.parentNode.removeChild(y.calendarContainer);y.altInput&&(y.input.type="text",y.altInput.parentNode&&y.altInput.parentNode.removeChild(y.altInput),delete y.altInput),y.input&&(y.input.type=y.input._type,y.input.classList.remove("flatpickr-input"),y.input.removeAttribute("readonly")),
4["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","
4isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete y[e]}catch(e){}}))},y.isEnabled=ee,y.jumpToDate=N,y.updateValue=Me,y.open=function(e,t){if(void 0===t&&(t=y._positionElement),!0===y.isMobile){if(e){e.preventDefault();var n=p(e);n&&n.blur()}return void 0!==y.mobileInput&&(y.mobileInput.focus(),y.mobileInput.click()),void ve("onOpen")}if(!y._input.disabled&&!y.config.inline){var a=y.isOpen;y.isOpen=!0,a||(y.calendarContainer.classList.add("open"),y._input.classList.add("active"),ve("onOpen"),de(t)),!0===y.config.enableTime&&!0===y.config.noCalendar&&(!1!==y.config.allowInput||void 0!==e&&y.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return y.hourElement.select()}),50))}},y.redraw=se,y.set=function(e,t){if(null!==e&&"object"==typeof e)for(var a in Object.assign(y.config,e),e)void 0!==me[a]&&me[a].forEach((function(e){return e()}));else y.config[e]=t,void 0!==me[e]?me[e].forEach((function(e){return e()})):n.indexOf(e)>-1&&(y.config[e]=c(t));y.redraw(),Me(!0)},y.setDate=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=y.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return y.clear(t);pe(e,n),y.latestSelectedDateObj=y.selectedDates[y.selectedDates.length-1],y.redraw(),N(void 0,t),S(),0===y.selectedDates.length&&y.clear(!1),Me(t),t&&ve("onChange")},y.toggle=function(e){if(!0===y.isOpen)return y.close();y.open(e)};var me={locale:[ce,z],showMonths:[q,k,V],minDate:[N],maxDate:[N],positionElement:[he],clickOpens:[function(){!0===y.config.clickOpens?(j(y._input,"focus",y.open),j(y._input,"click",y.open)):(y._input.removeEventListener("focus",y.open),y._input.removeEventListener("click",y.open))}]};function pe(e,t){var n=[];if(e instanceof Array)n=e.map((function(e){return y.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)n=[y.parseDate(e,t)];else if("string"==typeof e)switch(y.config.mode){case"single":case"time":n=[y.parseDate(e,t)];break;case"multiple":n=e.split(y.config.conjunction).map((function(e){return y.parseDate(e,t)}));break;case"range":n=e.split(y.l10n.rangeSeparator).map((function(e){return y.parseDate(e,t)}))}else y.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));y.selectedDates=y.config.allowInvalidPreload?n:n.filter((function(e){return e instanceof Date&&ee(e,!1)})),"range"===y.config.mode&&y.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function ge(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?y.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:y.parseDate(e.from,void 0),to:y.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function he(){y._positionElement=y.config.positionElement||y._input}function ve(e,t){if(void 0!==y.config){var n=y.config[e];if(void 0!==n&&n.length>0)for(var a=0;n[a]&&a<n.length;a++)n[a](y.selectedDates,y.input.value,y,t);"onChange"===e&&(y.input.dispatchEvent(De("change")),y.input.dispatchEvent(De("input")))}}function De(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function ye(e){for(var t=0;t<y.selectedDates.length;t++){var n=y.selectedDates[t];if(n instanceof Date&&0===M(n,e))return""+t}return!1}function we(){y.config.noCalendar||y.isMobile||!y.monthNav||(y.yearElements.forEach((function(e,t){var n=new Date(y.currentYear,y.currentMonth,1);n.setMonth(y.currentMonth+t),y.config.showMonths>1||"static"===y.config.monthSelectorType?y.monthElements[t].textContent=h(n.getMonth(),y.config.shorthandCurrentMonth,y.l10n)+" ":y.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()})),y._hidePrevMonthArrow=void 0!==y.config.minDate&&(y.currentYear===y.config.minDate.getFullYear()?y.currentMonth<=y.config.minDate.getMonth():y.currentYear<y.config.minDate.getFullYear()),y._hideNextMonthArrow=void 0!==y.config.maxDate&&(y.currentYear===y.config.maxDate.getFullYear()?y.currentMonth+1>y.config.maxDate.getMonth():y.currentYear>y.config.maxDate.getFullYear()))}function be(e){var t=e||(y.config.altInput?y.config.altFormat:y.config.dateFormat);return y.selectedDates.map((function(e){return y.formatDate(e,t)})).filter((function(e,t,n){return"range"!==y.config.mode||y.config.enableTime||n.indexOf(e)===t})).join("range"!==y.config.mode?y.config.conjunction:y.l10n.rangeSeparator)}function Me(e){void 0===e&&(e=!0),void 0!==y.mobileInput&&y.mobileFormatStr&&(y.mobileInput.value=void 0!==y.latestSelectedDateObj?y.formatDate(y.latestSelectedDateObj,y.mobileFormatStr):""),y.input.value=be(y.config.dateFormat),void 0!==y.altInput&&(y.altInput.value=be(y.config.altFormat)),!1!==e&&ve("onValueUpdate")}function Ce(e){var t=p(e),n=y.prevMonthNav.contains(t),a=y.nextMonthNav.contains(t);n||a?G(n?-1:1):y.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?y.changeYear(y.currentYear+1):t.classList.contains("arrowDown")&&y.changeYear(y.currentYear-1)}return function(){y.element=y.input=g,y.isOpen=!1,function(){var t=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],o=e(e({},JSON.parse(JSON.stringify(g.dataset||{}))),v),i={};y.config.parseDate=o.parseDate,y.config.formatDate=o.formatDate,Object.defineProperty(y.config,"enable",{get:function(){return y.config._enable},set:function(e){y.config._enable=ge(e)}}),Object.defineProperty(y.config,"disable",{get:function(){return y.config._disable},set:function(e){y.config._disable=ge(e)}});var r="time"===o.mode;if(!o.dateFormat&&(o.enableTime||r)){var l=O.defaultConfig.dateFormat||a.dateFormat;i.dateFormat=o.noCalendar||r?"H:i"+(o.enableSeconds?":S":""):l+" H:i"+(o.enableSeconds?":S":"")}if(o.altInput&&(o.enableTime||r)&&!o.altFormat){var d=O.defaultConfig.altFormat||a.altFormat;i.altFormat=o.noCalendar||r?"h:i"+(o.enableSeconds?":S K":" K"):d+" h:i"+(o.enableSeconds?":S":"")+" K"}Object.defineProperty(y.config,"minDate",{get:function(){return y.config._minDate},set:re("min")}),Object.defineProperty(y.config,"maxDate",{get:function(){return y.config._maxDate},set:re("max")});var s=function(e){return function(t){y.config["min"===e?"_minTime":"_maxTime"]=y.parseDate(t,"H:i:S")}};Object.defineProperty(y.config,"minTime",{get:function(){return y.config._minTime},set:s("min")}),Object.defineProperty(y.config,"maxTime",{get:function(){return y.config._maxTime},set:s("max")}),"time"===o.mode&&(y.config.noCalendar=!0,y.config.enableTime=!0),Object.assign(y.config,i,o);for(var u=0;u<t.length;u++)y.config[t[u]]=!0===y.config[t[u]]||"true"===y.config[t[u]];for(n.filter((function(e){return void 0!==y.config[e]}
vendor: 5,564 bytes, line 4
4)).forEach((function(e){y.config[e]=c(y.config[e]||[]).map(_)})),y.isMobile=!y.config.disableMobile&&!y.config.inline&&"single"===y.config.mode&&!y.config.disable.length&&!y.config.enable&&!y.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),u=0;u<y.config.plugins.length;u++){var f=y.config.plugins[u](y)||{};for(var m in f)n.indexOf(m)>-1?y.config[m]=c(f[m]).map(_).concat(y.config[m]):void 0===o[m]&&(y.config[m]=f[m])}o.altInputClass||(y.config.altInputClass=le().className+" "+y.config.altInputClass),ve("onParseConfig")}(),ce(),y.input=le(),y.input?(y.input._type=y.input.type,y.input.type="text",y.input.classList.add("flatpickr-input"),y._input=y.input,y.config.altInput&&(y.altInput=s(y.input.nodeName,y.config.altInputClass),y._input=y.altInput,y.altInput.placeholder=y.input.placeholder,y.altInput.disabled=y.input.disabled,y.altInput.required=y.input.required,y.altInput.tabIndex=y.input.tabIndex,y.altInput.type="text",y.input.setAttribute("type","hidden"),!y.config.static&&y.input.parentNode&&y.input.parentNode.insertBefore(y.altInput,y.input.nextSibling)),y.config.allowInput||y._input.setAttribute("readonly","readonly"),he()):y.config.errorHandler(new Error("Invalid input element specified")),function(){y.selectedDates=[],y.now=y.parseDate(y.config.now)||new Date;var e=y.config.defaultDate||("INPUT"!==y.input.nodeName&&"TEXTAREA"!==y.input.nodeName||!y.input.placeholder||y.input.value!==y.input.placeholder?y.input.value:null);e&&pe(e,y.config.dateFormat),y._initialDate=y.selectedDates.length>0?y.selectedDates[0]:y.config.minDate&&y.config.minDate.getTime()>y.now.getTime()?y.config.minDate:y.config.maxDate&&y.config.maxDate.getTime()<y.now.getTime()?y.config.maxDate:y.now,y.currentYear=y._initialDate.getFullYear(),y.currentMonth=y._initialDate.getMonth(),y.selectedDates.length>0&&(y.latestSelectedDateObj=y.selectedDates[0]),void 0!==y.config.minTime&&(y.config.minTime=y.parseDate(y.config.minTime,"H:i")),void 0!==y.config.maxTime&&(y.config.maxTime=y.parseDate(y.config.maxTime,"H:i")),y.minDateHasTime=!!y.config.minDate&&(y.config.minDate.getHours()>0||y.config.minDate.getMinutes()>0||y.config.minDate.getSeconds()>0),y.maxDateHasTime=!!y.config.maxDate&&(y.config.maxDate.getHours()>0||y.config.maxDate.getMinutes()>0||y.config.maxDate.getSeconds()>0)}(),y.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=y.currentMonth),void 0===t&&(t=y.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:y.l10n.daysInMonth[e]}},y.isMobile||function(){var e=window.document.createDocumentFragment();if(y.calendarContainer=s("div","flatpickr-calendar"),y.calendarContainer.tabIndex=-1,!y.config.noCalendar){if(e.appendChild((y.monthNav=s("div","flatpickr-months"),y.yearElements=[],y.monthElements=[],y.prevMonthNav=s("span","flatpickr-prev-month"),y.prevMonthNav.innerHTML=y.config.prevArrow,y.nextMonthNav=s("span","flatpickr-next-month"),y.nextMonthNav.innerHTML=y.config.nextArrow,q(),Object.defineProperty(y,"_hidePrevMonthArrow",{get:function(){return y.__hidePrevMonthArrow},set:function(e){y.__hidePrevMonthArrow!==e&&(d(y.prevMonthNav,"flatpickr-disabled",e),y.__hidePrevMonthArrow=e)}}),Object.defineProperty(y,"_hideNextMonthArrow",{get:function(){return y.__hideNextMonthArrow},set:function(e){y.__hideNextMonthArrow!==e&&(d(y.nextMonthNav,"flatpickr-disabled",e),y.__hideNextMonthArrow=e)}}),y.currentYearElement=y.yearElements[0],we(),y.monthNav)),y.innerContainer=s("div","flatpickr-innerContainer"),y.config.weekNumbers){var t=function(){y.calendarContainer.classList.add("hasWeeks");var e=s("div","flatpickr-weekwrapper");e.appendChild(s("span","flatpickr-weekday",y.l10n.weekAbbreviation));var t=s("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,a=t.weekNumbers;y.innerContainer.appendChild(n),y.weekNumbers=a,y.weekWrapper=n}y.rContainer=s("div","flatpickr-rContainer"),y.rContainer.appendChild(V()),y.daysContainer||(y.daysContainer=s("div","flatpickr-days"),y.daysContainer.tabIndex=-1),K(),y.rContainer.appendChild(y.daysContainer),y.innerContainer.appendChild(y.rContainer),e.appendChild(y.innerContainer)}y.config.enableTime&&e.appendChild(function(){y.calendarContainer.classList.add("hasTime"),y.config.noCalendar&&y.calendarContainer.classList.add("noCalendar");var e=x(y.config);y.timeContainer=s("div","flatpickr-time"),y.timeContainer.tabIndex=-1;var t=s("span","flatpickr-time-separator",":"),n=m("flatpickr-hour",{"aria-label":y.l10n.hourAriaLabel});y.hourElement=n.getElementsByTagName("input")[0];var a=m("flatpickr-minute",{"aria-label":y.l10n.minuteAriaLabel});if(y.minuteElement=a.getElementsByTagName("input")[0],y.hourElement.tabIndex=y.minuteElement.tabIndex=-1,y.hourElement.value=i(y.latestSelectedDateObj?y.latestSelectedDateObj.getHours():y.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),y.minuteElement.value=i(y.latestSelectedDateObj?y.latestSelectedDateObj.getMinutes():e.minutes),y.hourElement.setAttribute("step",y.config.hourIncrement.toString()),y.minuteElement.setAttribute("step",y.config.minuteIncrement.toString()),y.hourElement.setAttribute("min",y.config.time_24hr?"0":"1"),y.hourElement.setAttribute("max",y.config.time_24hr?"23":"12"),y.hourElement.setAttribute("maxlength","2"),y.minuteElement.setAttribute("min","0"),y.minuteElement.setAttribute("max","59"),y.minuteElement.setAttribute("maxlength","2"),y.timeContainer.appendChild(n),y.timeContainer.appendChild(t),y.timeContainer.appendChild(a),y.c
vendor: 4,024 bytes, line 4
4onfig.time_24hr&&y.timeContainer.classList.add("time24hr"),y.config.enableSeconds){y.timeContainer.classList.add("hasSeconds");var o=m("flatpickr-second");y.secondElement=o.getElementsByTagName("input")[0],y.secondElement.value=i(y.latestSelectedDateObj?y.latestSelectedDateObj.getSeconds():e.seconds),y.secondElement.setAttribute("step",y.minuteElement.getAttribute("step")),y.secondElement.setAttribute("min","0"),y.secondElement.setAttribute("max","59"),y.secondElement.setAttribute("maxlength","2"),y.timeContainer.appendChild(s("span","flatpickr-time-separator",":")),y.timeContainer.appendChild(o)}return y.config.time_24hr||(y.amPM=s("span","flatpickr-am-pm",y.l10n.amPM[r((y.latestSelectedDateObj?y.hourElement.value:y.config.defaultHour)>11)]),y.amPM.title=y.l10n.toggleTitle,y.amPM.tabIndex=-1,y.timeContainer.appendChild(y.amPM)),y.timeContainer}()),d(y.calendarContainer,"rangeMode","range"===y.config.mode),d(y.calendarContainer,"animate",!0===y.config.animate),d(y.calendarContainer,"multiMonth",y.config.showMonths>1),y.calendarContainer.appendChild(e);var o=void 0!==y.config.appendTo&&void 0!==y.config.appendTo.nodeType;if((y.config.inline||y.config.static)&&(y.calendarContainer.classList.add(y.config.inline?"inline":"static"),y.config.inline&&(!o&&y.element.parentNode?y.element.parentNode.insertBefore(y.calendarContainer,y._input.nextSibling):void 0!==y.config.appendTo&&y.config.appendTo.appendChild(y.calendarContainer)),y.config.static)){var l=s("div","flatpickr-wrapper");y.element.parentNode&&y.element.parentNode.insertBefore(l,y.element),l.appendChild(y.element),y.altInput&&l.appendChild(y.altInput),l.appendChild(y.calendarContainer)}y.config.static||y.config.inline||(void 0!==y.config.appendTo?y.config.appendTo:window.document.body).appendChild(y.calendarContainer)}(),function(){if(y.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(y.element.querySelectorAll("[data-"+e+"]"),(function(t){return j(t,"click",y[e])}))})),y.isMobile)!function(){var e=y.config.enableTime?y.config.noCalendar?"time":"datetime-local":"date";y.mobileInput=s("input",y.input.className+" flatpickr-mobile"),y.mobileInput.tabIndex=1,y.mobileInput.type=e,y.mobileInput.disabled=y.input.disabled,y.mobileInput.required=y.input.required,y.mobileInput.placeholder=y.input.placeholder,y.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",y.selectedDates.length>0&&(y.mobileInput.defaultValue=y.mobileInput.value=y.formatDate(y.selectedDates[0],y.mobileFormatStr)),y.config.minDate&&(y.mobileInput.min=y.formatDate(y.config.minDate,"Y-m-d")),y.config.maxDate&&(y.mobileInput.max=y.formatDate(y.config.maxDate,"Y-m-d")),y.input.getAttribute("step")&&(y.mobileInput.step=String(y.input.getAttribute("step"))),y.input.type="hidden",void 0!==y.altInput&&(y.altInput.type="hidden");try{y.input.parentNode&&y.input.parentNode.insertBefore(y.mobileInput,y.input.nextSibling)}catch(e){}j(y.mobileInput,"change",(function(e){y.setDate(p(e).value,!1,y.mobileFormatStr),ve("onChange"),ve("onClose")}))}();else{var e=l(ie,50);y._debouncedChange=l(A,300),y.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&j(y.daysContainer,"mouseover",(function(e){"range"===y.config.mode&&oe(p(e))})),j(y._input,"keydown",ae),void 0!==y.calendarContainer&&j(y.calendarContainer,"keydown",ae),y.config.inline||y.config.static||j(window,"resize",e),void 0!==window.ontouchstart?j(window.document,"touchstart",Q):j(window.document,"mousedown",Q),j(window.document,"focus",Q,{capture:!0}),!0===y.config.clickOpens&&(j(y._input,"focus",y.open),j(y._input,"click",y.open)),void 0!==y.daysContainer&&(j(y.monthNav,"click",Ce),j(y.monthNav,["keyup","increment"],F),j(y.daysContainer,"click",fe)),void 0!==y.timeContainer&&void 0!==y.minuteElement&&void 0!==y.hourElement&&(j(y.timeContainer,["increment"],T),j(y.timeContainer,"blur",T,{capture:!0}),j(y.timeContainer,"click",Y),j([y.hourElement,y.minuteElement],["focus","click"],(function(e){return p(e).select()}
4)),void 0!==y.secondElement&&j(y.secondElement,"focus",(function(){return y.secondElement&&y.secondElement.select()})),void 0!==y.amPM&&j(y.amPM,"click",(function(e){T(e)}))),y.config.allowInput&&j(y._input,"blur",ne)}}(),(y.selectedDates.length||y.config.noCalendar)&&(y.config.enableTime&&S(y.config.noCalendar?y.latestSelectedDateObj:void 0),Me(!1)),k();var t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!y.isMobile&&t&&de(),ve("onReady")}(),y}function _(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],o=0;o<n.length;o++){var i=n[o];try{if(null!==i.getAttribute("data-fp-omit"))continue;void 0!==i._flatpickr&&(i._flatpickr.destroy(),i._flatpickr=void 0),i._flatpickr=E(i,t||{}),a.push(i._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},o=0,i=t;o<i.length;o++)a(i[o]);return e}),"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return _(this,e)},HTMLElement.prototype.flatpickr=function(e){return _([this],e)});var O=function(e,t){return"string"==typeof e?_(window.document.querySelectorAll(e),t):e instanceof Node?_([e],t):_(e,t)};return O.defaultConfig={},O.l10ns={en:e({},o),default:e({},o)},O.localize=function(t){O.l10ns.default=e(e({},O.l10ns.default),t)},O.setDefaults=function(t){O.defaultConfig=e(e({},O.defaultConfig),t)},O.parseDate=b({}),O.formatDate=w({}),O.compareDates=M,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return _(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=O),O}()),(x=E.exports)&&x.__esModule&&Object.prototype.hasOwnProperty.call(x,"default")&&x.default),(_={})&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")&&_.default),(O={})&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")&&O.default),(k={})&&k.__esModule&&Object.prototype.hasOwnProperty.call(k,"default")&&k.default),(T={})&&T.__esModule&&Object.prototype.hasOwnProperty.call(T,"default")&&T.default),(I={})&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")&&I.default),(S={})&&S.__esModule&&Object.prototype.hasOwnProperty.call(S,"default")&&S.default),(P={})&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")&&P.default),(F={})&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")&&F.default),(j={})&&j.__esModule&&Object.prototype.hasOwnProperty.call(j,"default")&&j.default),(A={})&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")&&A.default),(N={})&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")&&N.default),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}({})),t),H=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Y);return H}();
5/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
6!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(u){var e=function(){if(u&&u.fn&&u.fn.select2&&u.fn.select2.amd)var e=u.fn.select2.amd;var t,n,r,h,o,s,f,g,m,v,y,_,i,a,b;function w(e,t){return i.call(e,t)}function l(e,t){var n,r,i,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(s=(e=e.split("/")).length-1,y.nodeIdCompat&&b.test(e[s])&&(e[s]=e[s].replace(b,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),--u;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;--u){if(r=n.slice(0,u).join("/"),h)for(d=h.length;0<d;--d)if(i=(i=f[h.slice(0,d).join("/")])&&i[r]){o=i,a=u;break}if(o)break;!l&&g&&g[r]&&(l=g[r],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function A(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),s.apply(h,e.concat([t,n]))}}function x(t){return function(e){m[t]=e}}function D(e){if(w(v,e)){var t=v[e];delete v[e],_[e]=!0,o.apply(h,t)}if(!w(m,e)&&!w(_,e))throw new Error("No "+e);return m[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?c(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},i=Object.prototype.hasOwnProperty,a=[].slice,b=/\.js$/,f=function(e,t){var n,r,i=c(e),o=i[0],s=t[1];return e=i[1],o&&(n=D(o=l(o,s))),o?e=n&&n.normalize?n.normalize(e,(r=s,function(e){return l(e,r)})):l(e,s):(o=(i=c(e=l(e,s)))[0],e=i[1],o&&(n=D(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},g={require:function(e){return A(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:(t=e,function(){return y&&y.config&&y.c
6onfig[t]||{}})};var t}},o=function(e,t,n,r){var i,o,s,a,l,c,u,d=[],p=typeof n;if(c=S(r=r||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===o)d[l]=g.exports(e),u=!0;else if("module"===o)i=d[l]=g.module(e);else if(w(m,o)||w(v,o)||w(_,o))d[l]=D(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,A(r,!0),x(o),{}),d[l]=m[o]}s=n?n.apply(m[e],d):void 0,e&&(i&&i.exports!==h&&i.exports!==m[e]?m[e]=i.exports:s===h&&u||(m[e]=s))}else e&&(m[e]=n)},t=n=s=function(e,t,n,r,i){if("string"==typeof e)return g[e]?g[e](t):D(f(e,S(t)).f);if(!e.splice){if((y=e).deps&&s(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=r,r=i),r?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.config=function(e){return s(e)},t._defined=m,(r=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),w(m,e)||w(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=r),e.define("almond",function(){}),e.define("jquery",[],function(){var e=u||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){var i={};function u(e){var t=e.prototype,n=[];for(var r in t){"function"==typeof t[r]&&"constructor"!==r&&n.push(r)}return n}i.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i.Decorate=function(r,i){var e=u(i),t=u(r);function o(){var e=Array.prototype.unshift,t=i.prototype.constructor.length,n=r.prototype.constructor;0<t&&(e.call(arguments,r.prototype.constructor),n=i.prototype.constructor),n.apply(this,arguments)}i.displayName=r.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<t.length;n++){var s=t[n];o.prototype[s]=r.prototype[s]}function a(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=i.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];o.prototype[c]=a(c)}return o};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},i.Observable=e,i.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},i.bind=function(e,t){return function(){e.apply(t,arguments)}},i._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=e[t]),r=r[o]}delete e[t]}}return e},i.hasScroll=function(e,t){var n=o(t),r=t.style.overflowX,i=t.style.overflowY;return(r!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===r||"scroll"===i||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},i.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},i.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},i.__cache={};var n=0;return i.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},i.StoreData=function(e,t,n){var r=i.GetUniqueElementId(e);i.__cache[r]||(i.__cache[r]={}),i.__cache[r][t]=n},i.GetData=function(e,t){var n=i.GetUniqueElementId(e);
6return t?i.__cache[n]&&null!=i.__cache[n][t]?i.__cache[n][t]:o(e).data(t):i.__cache[n]},i.RemoveData=function(e){var t=i.GetUniqueElementId(e);null!=i.__cache[t]&&delete i.__cache[t],e.removeAttribute("data-select2-id")},i}),e.define("select2/results",["jquery","./utils"],function(h,f){function r(e,t,n){this.$element=e,this.data=n,this.options=t,r.__super__.constructor.call(this)}return f.Extend(r,f.Observable),r.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},r.prototype.clear=function(){this.$results.empty()},r.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);n.append(t(r(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},r.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},r.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},r.prototype.position=function(e,t){t.find(".select2-results").append(e)},r.prototype.sort=function(e){return this.options.get("sorter")(e)},r.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},r.prototype.setClasses=function(){var t=this;this.data.current(function(e){var r=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,r)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},r.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},r.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},r.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var i in(null!=e.element&&r.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[i];t.setAttribute(i,o)}if(e.children){var s=h(t),a=document.createElement("strong");a.className="select2-results__group";h(a);this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},r.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}
vendor: 4,472 bytes, line 6
6),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var i=t.eq(r);i.trigger("mouseenter");var o=l.$results.offset().top,s=i.offset().top,a=l.$results.scrollTop()+(s-o);0===r?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var i=l.$results.offset().top+l.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),s=l.$results.scrollTop()+o-i;0===n?l.$results.scrollTop(0):i<o&&l.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,r=0<e.deltaY&&t-e.deltaY<=0,i=e.deltaY<0&&n<=l.$results.height();r?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):i&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:t,element:h(this)})})},r.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},r.prototype.destroy=function(){this.$results.remove()},r.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,r=e.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},r.prototype.template=function(e,t){var n=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),i=n(e,t);null==i?t.style.display="none":"string"==typeof i?t.innerHTML=r(i):h(t).append(i)},r}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,r,i){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return r.Extend(o,r.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=r.GetData(this.$element[0],"old-tabindex")?this._tabindex=r.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,r=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",r),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","fal
6se"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&r.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var r=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!r.isDisabled()){var t=i(this).parent(),n=l.GetData(t[0],"data");r.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return i('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var r=e[n],i=this.selectionContainer(),o=this.display(r,i);i.append(o);var s=r.title||r.text;
vendor: 10,087 bytes, line 6
6s&&i.attr("title",s),l.StoreData(i[0],"data",r),t.push(i)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(i,r,a){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){r._handleClear(e)}),t.on("keypress",function(e){r._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var r=a.GetData(n[0],"data"),i=this.$element.val();this.$element.val(this.placeholder.id);var o={data:r};if(this.trigger("clear",o),o.prevented)this.$element.val(i);else{for(var s=0;s<r.length;s++)if(o={data:r[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(i);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=r.DELETE&&t.which!=r.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),r=i('<span class="select2-selection__clear" title="'+n()+'">&times;</span>');a.StoreData(r[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(r)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(r,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=r('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var r=this,i=t.id+"-results";e.call(this,t,n),t.on("open",function(){r.$search.attr("aria-controls",i),r.$search.trigger("focus")}),t.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),t.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),t.on("disable",function(){r.$search.prop("disabled",!0)}),t.on("focus",function(e){r.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===r.$search.val()){var t=r.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=a.GetData(t[0],"data");r.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){r.$search.val()&&e.stopPropagation()});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&r.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var r=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==s.inArray(e,i)){t=t||{};var n=s.Event("select2:"+e,{params:t});r.$element.trigger(n),-1!==s.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function r(e){this.dict=e||{}}return r.prototype.all=function(){return this.dict},r.prototype.get=function(e){return this.dict[e]},r.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},r._cache={},r.loadPath=function(e){if(!(e in r._cache)){var t=n(e);r._cache[e]=t}return new r(r._cache[e])},r}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"
6V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(r){function n(e,t){n.__super__.constructor.call(this)}return r.Extend(n,r.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=r.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+r.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var n=[],r=this;this.$element.find(":selected").each(function(){var e=l(this),t=r.item(e);n.push(t)}),e(n)},n.prototype.select=function(i){var o=this;if(i.selected=!0,l(i.element).is("option"))return i.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(i=[i]).push.apply(i,e);for(var n=0;n<i.length;n++){var r=i[n].id;-1===l.inArray(r,t)&&t.push(r)}o.$element.val(t),o.$element.trigger("input").trigger("change")});else{var e=i.id;this.$element.val(e),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(i){var o=this;if(this.$element.prop("multiple")){if(i.selected=!1,l(i.element).is("option"))return i.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n].id;r!==i.id&&-1===l.inArray(r,t)&&t.push(r)}o.$element.val(t),o.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(r,e){var i=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(r,t);null!==n&&i.push(n)}}),e({results:i})},n.prototype.addOptions=function(e){a.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),r=this._normalizeItem(e);return r.element=t,a.StoreData(t,"data",r),n},n.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),r=[],i=0;i<n.length;i++){var o=l(n[i]),s=this.item(o);r.push(s)}t.children=r}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t)}return f.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),r.__super__.select.call(this,n)},r.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),r=n.map(function(){return t.item(g(this)).id}).get(),i=[];function o(e){return function(){return g(this).val()==e.id}}for(var s=0;s<e.length;s++){var a=this._normalizeItem(e[s]);if(0<=g.inArray(a.id,r)){var l=n.filter(o(a)),c=this.item(l),u=g.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);f.appendMany(p,h)}i.push(p)}}return i},r}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var r=o.ajax(e);return r.then(t),r.fail(n),r}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,r){var i=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=i.processResults(e,n);i.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),r(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||i.trigger("results:message",{message:"errorLoading"})});i._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(u){function e(e,t,n){var r=n.get("tags"),i=n.get("createTag");void 0!==i&&(this.createTag=i);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),u.isArray(r))for(var s=0;s<r.length;
vendor: 9,053 bytes, line 6
6s++){var a=r[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var r=t.results,i=0;i<r.length;i++){var o=r[i],s=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(c.term||"").toUpperCase()||s)return!n&&(t.data=r,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(r,a)}t.results=r,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){var n=u.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||u(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){var t,n=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return d(this).val()===n.id}).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}t=n,i.trigger("select",{data:t})});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,r){for(var i=n.get("tokenSeparators")||[],o=t.term,s=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(-1!==d.inArray(l,i)){var c=o.substr(0,s),u=a(d.extend({},t,{term:c}));null!=u?(r(u),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(){r._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var r=this;this.current(function(e){var t=null!=e?e.length:0;0<r.maximumSelectionLength&&t>=r.maximumSelectionLength?r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var r=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){r.handleSearch(e)}),t.on("open",function(){r.$search.attr("tabindex",0),r.$search.attr("aria-controls",i),r.$search.trigger("focus"),window.setTimeout(function(){r.$search.trigger("focus")},0)}),t.on("close",function(){r.$search.attr("tabindex",-1),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.val(""),r.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||r.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;0<=r;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",function(e){r.lastParams=e,r.loading=!0}),t.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,r="scroll.
6select2."+t.id,i="resize.select2."+t.id,o="orientationchange.select2."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(r,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(r+" "+i+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,r="resize.select2."+t.id,i="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+r+" "+i)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),r=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=i.top,o.bottom=i.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<i.top-s,u=l>i.bottom+s,d={left:i.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(r="below"),u||!c||t?!c&&u&&t&&(r="below"):r="above",("above"==r||t&&"below"!==r)&&(d.top=o.top-h.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",function(e){r._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var i=o.GetData(r[0],"data");null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(e){r._selectTriggered(e)}),t.on("unselect",function(e){r._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,d,p,h,f,g,m,v,y,s,t,_,$,b,w,A,x,D,S,E,C,O,T,q,L,I,j,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=b:null!=e.data?e.dataAdapter=$:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,D)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,w)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,A)),null!=e.query){var t=u(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=u(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,T)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,I))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=E;else{var r=y.Decorate(E,C);e.dropdownAdapter=r}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,L)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var i=u(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,i)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,q)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptC
6ontainerCssClass){var o=u(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var s=[],a=0;a<e.language.length;a++){var l=e.language[a];-1===s.indexOf(l)&&s.push(l)}return e.language=s,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(""===c.trim(t.term))return n;if(n.children&&0<n.children.length){for(var r=c.extend(!0,{},n),i=n.children.length-1;0<=i;i--)null==e(t,n.children[i])&&r.children.splice(i,1);return 0<r.children.length?r:e(t,r)}var o=a(n.text).toUpperCase(),s=a(t.term).toUpperCase();return-1<o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return e.language=s,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];var t;t=c.isArray(e)?e:[e];for(var n=[],r=0;r<t.length;r++)if(n.push(t[r]),"string"==typeof t[r]&&0<t[r].indexOf("-")){var i=t[r].split("-")[0];n.push(i)}return n},n.prototype._processTranslations=function(e,t){for(var n=new s,r=0;r<e.length;r++){var i=new s,o=e[r];if("string"==typeof o)try{i=s.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,i=s.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else i=c.isPlainObject(o)?new s(o):o;n.extend(i)}return n},n.prototype.set=function(e,t){var n={};n[c.camelCase(e)]=t;var r=y._convertData(n);c.extend(!0,this.defaults,r)},new n}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(r,d,i,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=i.applyFromElement(this.options,t)),this.options=i.apply(this.options),t&&t.is("input")){var n=r(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function r(e,t){return t.toUpperCase()}for(var i=0;i<e[0].attributes.length;i++){var o=e[0].attributes[i].name,s="data-";if(o.substr(0,s.length)==s){var a=o.substring(s.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,r)]=l}}
6d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<d.inArray(u,t)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(o,c,u,r){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(e,this.options);var i=this.render();this._placeContainer(i);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,i);var s=this.options.get("dropdownAdapter");this.dropdown=new s(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,i);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,r=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===o.inArray(e,r)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===r.ESC||t===r.TAB||t===r.UP&&e.altKey?(n.close(e),e.preventDefault()):t===r.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===r.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===r.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===r.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===r.ENTER||t===r.SPACE||t===r.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(e,t){var n=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var i=0;i<t.addedNodes.length;i++){t.addedNodes[i].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length?n=!0:o.isArray(t)&&o.each(t,function(e,t){if(r._isChangeMutation(e,t))return!(n=!0)});else n=!0;return n}},d.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),r=this;n&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})})},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var i=r[e],o={prevented:!1,name:e,args:t};if(n.call(this,i,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
6,d.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];o.isArray(t)&&(t=o.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("input").trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("jquery-mousewheel",["jquery"],function(e){return e}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(i,e,o,t,s){if(null==i.fn.select2){var a=["open","close","destroy"];i.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new o(i(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,r)}),-1<i.inArray(t,a)?this:n}}return null==i.fn.select2.defaults&&(i.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return u.fn.select2.amd=e,t});
7(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>m,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>d,maxdate:()=>z,maxfilesize:()=>j,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>y,mindate:()=>A,minfilesize:()=>$,minitems:()=>w,minlength:()=>g,minnumber:()=>b,number:()=>c,required:()=>n,requiredfile:()=>a,stepnumber:()=>I,tel:()=>l,time:()=>f,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(t.length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(!e.every((t=>{try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}}
7)))throw new o(this)},l=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>(((t=(t=t.replace(/[#*].*$/,"")).replaceAll(/[()/.*#\s-]+/g,"")).startsWith("+")||t.startsWith("00"))&&(t=`+${t.replace(/^[+0]+/,"")}`),!!/^[+]?[0-9]+$/.test(t)&&5<t.length&&t.length<16))))throw new o(this)},c=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))throw new o(this)},m=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},f=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=t.match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>this.accept?.some((e=>
7t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},b=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},y=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold))))throw new o(this)},z=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t))))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)),i=parseFloat(this.base),s=parseFloat(this.interval);if(!(0<s))return!0;if(!e.every((t=>{const e=(parseFloat(t)-i)%s;return"0.000000"===Math.abs(e).toFixed(6)||"0.000000"===Math.abs(e-s).toFixed(6)})))throw new o(this)},O=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},E=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},k=[],F=t=>[...k].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var L;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>O({ruleObj:t,options:i})));if(!n.length)return new Map;const a=F(E),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{k.push(t)},...null!==(L=window.swv)&&void 0!==L?L:{}}})();
8(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,
8status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>
8(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>
8{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&&a.value.length<c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)}
8)))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();
9(()=>{function c(o,i,n){let l;if(n){let s=new Date;s.setTime(s.getTime()+n*24*60*60*1e3),l="; expires="+s.toGMTString()}else l="";document.cookie=o+"="+i+l+"; path=/; SameSite=Strict;"}function d(o){let i=o+"=",n=document.cookie.split(";");for(let l=0;l<n.length;l++){let s=n[l];for(;s.charAt(0)==" ";)s=s.substring(1,s.length);if(s.indexOf(i)==0)return s.substring(i.length,s.length)}return null}function u(o){c(o,"")}(function(){let o=document.createElement("div"),i="";i+='<ul class="a11y-toolbar-list">',wpatb.enable_contrast=="true"&&(i+='<li class="a11y-toolbar-list-item"><button type="button" class="a11y-toggle a11y-toggle-contrast toggle-contrast" data-id="is_normal_contrast" aria-pressed="false"><span class="offscreen">'+wpatb.contrast+'</span><span class="aticon aticon-adjust" aria-hidden="true"></span></button></li>'),wpatb.enable_grayscale=="true"&&(i+='<li class="a11y-toolbar-list-item"><button type="button" class="a11y-toggle a11y-toggle-grayscale toggle-grayscale" data-id="is_normal_color" aria-pressed="false"><span class="offscreen">'+wpatb.grayscale+'</span><span class="aticon aticon-tint" aria-hidden="true"></span></button></li>'),wpatb.enable_fontsize=="true"&&(i+='<li class="a11y-toolbar-list-item"><button type="button" class="a11y-toggle a11y-toggle-fontsize toggle-fontsize" data-id="is_normal_fontsize" aria-pressed="false"><span class="offscreen">'+wpatb.fontsize+'</span><span class="aticon aticon-font" aria-hidden="true"></span></button></li>'),i+="</ul>",o.classList.add(wpatb.responsive,"a11y-toolbar",wpatb.is_rtl,wpatb.is_right,wpatb.custom_location),o.innerHTML=i;let n=document.querySelector(wpatb.location);n!==null?n.insertAdjacentElement("afterbegin",o):(n=document.querySelector("body"),o.classList.remove("custom-location"),o.classList.add("standard-location"),n.insertAdjacentElement("afterbegin",o),console.log("WP Accessibility Toolbar insertion point not valid. Moved to body."));
9let l=document.querySelectorAll(".a11y-toggle"),s=document.querySelector("body"),p=document.querySelector("head"),r=document.querySelector("html"),E=document.querySelector(".a11y-toolbar");l.forEach(e=>{e.addEventListener("focus",function(){e.classList.remove("tooltip-dismissed")}),e.addEventListener("keyup",function(t){t.keyCode==27&&e.classList.addClass("tooltip-dismissed")})}),d("a11y-desaturated")&&f(),d("a11y-high-contrast")&&g(),d("a11y-larger-fontsize")&&b();function f(){r.classList.add("desaturated"),document.querySelectorAll('[data-id="is_normal_color"]').forEach(t=>{t.setAttribute("data-id","is_grayscale"),t.setAttribute("aria-pressed",!0),t.classList.add("active")}),c("a11y-desaturated","1")}function _(){r.classList.remove("desaturated"),document.querySelectorAll('[data-id="is_grayscale"]').forEach(t=>{t.setAttribute("data-id","is_normal_color"),t.setAttribute("aria-pressed",!1),t.classList.remove("active")}),u("a11y-desaturated")}function g(){s.classList.add("contrast"),document.querySelectorAll('[data-id="is_normal_contrast"]').forEach(a=>{a.setAttribute("data-id","is_high_contrast"),a.setAttribute("aria-pressed",!0),a.classList.add("active")}),c("a11y-high-contrast","1");let t=document.createElement("link");t.setAttribute("href",wpa11y.path),t.setAttribute("id","highContrastStylesheet"),t.setAttribute("rel","stylesheet"),p.insertAdjacentElement("beforeend",t)}function A(){s.classList.remove("contrast"),document.querySelectorAll('[data-id="is_high_contrast"]').forEach(a=>{a.setAttribute("data-id","is_normal_contrast"),a.setAttribute("aria-pressed",!1),a.classList.remove("active")}),u("a11y-high-contrast"),document.getElementById("highContrastStylesheet").remove()}function b(){r.classList.add("fontsize"),document.querySelectorAll('[data-id="is_normal_fontsize"]').forEach(t=>{t.setAttribute("data-id","is_large_fontsize"),t.setAttribute("aria-pressed",!0),t.classList.add("active")}),c("a11y-larger-fontsize","1")}function v(){r.classList.remove("fontsize"),document.querySelectorAll('[data-id="is_large_fontsize"]').forEach(t=>{t.setAttribute("data-id","is_normal_fontsize"),t.setAttribute("aria-pressed",!1),t.classList.remove("active")}),u("a11y-larger-fontsize")}let y=document.querySelectorAll(".toggle-grayscale"),m=document.querySelectorAll(".toggle-contrast"),h=document.querySelectorAll(".toggle-fontsize");y!==null&&y.forEach(e=>{e.addEventListener("click",function(){this.getAttribute("data-id")==="is_normal_color"?f():_()})}),m!==null&&m.forEach(e=>{e.addEventListener("click",function(){this.getAttribute("data-id")==="is_normal_contrast"?g():A()})}),h!==null&&h.forEach(e=>{e.addEventListener("click",function(){this.getAttribute("data-id")==="is_normal_fontsize"?b():v()})}),document.querySelectorAll('input,a[href],select,textarea,button:not(.a11y-toggle),[tabindex]:not([tabindex="-1"])').forEach(e=>{e.addEventListener("focus",function(){let t=e.getBoundingClientRect(),a=document.querySelector(".a11y-toolbar.standard-location");if(a?a=a.getBoundingClientRect():a={bottom:0,left:0,top:0,right:0},!(t.top>a.bottom||t.right<a.left||t.bottom<a.top||t.left>a.right)){let S=t.bottom-a.top;window.scrollBy(0,S)}})})})();})();
10!function($){"use strict";(new function(){var e=this;this.init=function(){window.ppFormRecaptchaLoadCallback=this.recaptcha_processing,$(".pp-del-profile-avatar").on("click",this.delete_avatar),$(".pp-del-cover-image").on("click",this.delete_profile_image_cover),$(document).on("click",".has-password-visibility-icon .pp-form-material-icons",this.toggle_password_visibility),$(document.body).on("click","a.showlogin",(function(){$(".pp_wc_login").slideToggle()})),$(window).on("load resize ppress_updated_checkout",(function(){e.defaultUserProfileResponsive()})),$(window).on("ppress_updated_checkout",(function(){e.recaptcha_processing()})),$(document).on("click",".ppress-confirm-delete",(function(e){e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(window.location.href=$(this).attr("href"))})),this.submit_reload_form_on_billing_country_field_change(),this.myaccount_password_strength_meter(),"true"!==pp_ajax_form.disable_ajax_form&&($(document).on("submit",'form[data-pp-form-submit="login"]',this.ajax_login),$(document).on("submit",'form[data-pp-form-submit="signup"]',this.ajax_registration),$(document).on("submit",'form[data-pp-form-submit="passwordreset"]',this.ajax_password_reset),$(document).on("submit",'form[data-pp-form-submit="editprofile"]',this.ajax_edit_profile))},this.recaptcha_processing=function(){$(".pp-g-recaptcha").each((function(s,t){var r=$(t).attr("data-sitekey"),o=$(this).parents(".pp-form-container").find("form"),p=void 0!==grecaptcha.enterprise?grecaptcha.enterprise:grecaptcha;if("v3"===$(t).attr("data-type"))o.find("input.pp-submit-form").on("click",(function(s){s.preventDefault(),e._add_processing_label(o),p.ready((function(){p.execute(r,{action:"form"}).then((function(e){o.find('[name="g-recaptcha-response"]').remove(),o.append($("<input>",{type:"hidden",value:e,name:"g-recaptcha-response"})),o.trigger("submit")}))}))}));else{try{var a=p.render(t,{sitekey:r,theme:$(t).attr("data-theme"),size:$(t).attr("data-size")})}catch(e){}o.on("pp_form_submitted",(function(){p.reset(a)})),$(document).on("ppress_process_checkout_success_callback ppress_process_checkout_error_callback",(function(){p.reset(a)}))}}))},this.toggle_password_visibility=function(e){e.preventDefault();var s=$(this).parents(".pp-form-field-input-textarea-wrap").find(".pp-form-field");"password"===s.attr("type")?(s.attr("type","text"),$(this).text("visibility_off")):(s.attr("type","password"),$(this).text("visibility"))},this.submit_reload_form_on_billing_country_field_change=function(){$(document).on("change",".pp-edit-profile-form-wrap select[name=ppress_billing_country]",(function(e){$(document).on("pp_form_edit_profile_success",(function(){window.location.reload()})),$(this).closest("form").find("input.pp-submit-form").trigger("click")}))},this.ajax_edit_profile=function(s){if(void 0!==window.FormData&&window.FormData){s.preventDefault();var t=$('form[data-pp-form-submit="editprofile"]'),r=e.get_melange_id(t),o=new FormData(this);o.append("action","pp_ajax_editprofile"),o.append("nonce",pp_ajax_form.nonce),o.append("melange_id",r),$(".profilepress-edit-profile-status").remove(),$(".profilepress-edit-profile-success").remove(),""!==window.edit_profile_msg_class&&$("."+window.edit_profile_msg_class).remove(),e._add_processing_label(t),$.post({url:pp_ajax_form.ajaxurl,data:o,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(s){t.trigger("pp_form_submitted"),t.trigger("pp_form_edit_profile_success",[t]),"avatar_url"in s&&""!==s.avatar_url&&($("img[data-del='avatar'], img.pp-user-avatar").attr("src",s.avatar_url),$("input[name=eup_avatar]",t).val("")),"cover_image_url"in s&&""!==s.cover_image_url&&($("img[data-del='cover-image'], img.pp-user-cover-image").attr("src",s.cover_image_url),$("input[name=eup_cover_image]",t).val(""),$(".profilepress-myaccount-has-cover-image",t).show(),$(".profilepress-myaccount-cover-image-empty",t).hide()),"message"in s&&(window.edit_profile_msg_class=$(s.message).attr("class"),t.before(s.message),s.message&&s.message.includes("profilepress-edit-profile-status")&&e.scroll_to_notices($(".profilepress-edit-profile-status"))),"redirect"in s&&(t.trigger("pp_edit_profile_success_before_redirect"),window.location.assign(s.redirect)),e._remove_processing_label(t)}},"json")}},this.ajax_password_reset=function(s){s.preventDefault();var t=$(this),r=e.get_melange_id(t),o="true"===t.find('input[name="is-pp-tab-widget"]').val(),p={action:"pp_ajax_passwordreset",data:$(this).serialize()+"&melange_id="+r};e._remove_status_notice(),t.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),e._add_processing_label(t),$.post(pp_ajax_form.ajaxurl,p,(function(s){if(t.trigger("pp_form_submitted"),"object"!=typeof s)return e._remove_processing_label(t);if("message"in s){if(t.trigger("pp_password_reset_status"),o){var r=s.message.replace("profilepress-reset-status","pp-tab-status");t.parents(".pp-tab-widget-form").before(r)}else t.parents(".lucidContainer").length>0?t.parents(".lucidContainer").before(s.message):t.before(s.message);"status"in s&&!0===s.status&&t.hide(),$('input[name="user_login"]',t).val("")}e._remove_processing_label(t)}),"json")},this.ajax_registration=function(s){if(void 0!==window.FormData&&window.FormData){s.preventDefault();var t=$(this),r=e.get_melange_id(t),o=new FormData(this),p="true"===t.find('input[name="is-pp-tab-widget"]').val();o.append("action","pp_ajax_signup"),o.append("melange_id",r),e._remove_status_notice(),t.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),e._add_processing_label(t),$.post({url:pp_ajax_form.ajaxurl,data:o,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(s){if(t.trigger("pp_form_submitted"),"object"!=typeof s)return e._remove_processing_label(t);if("message"in s){if(t.trigger("pp_registration_error",[s]),t.trigger("pp_registration_ajax_response",[s]),p){var r=s.message.replace("profilepress-reg-status","pp-tab-status");t.parents(".pp-tab-widget-form").before(r)}else t.parents(".lucidContainer").length>0?t.parents(".lucidContainer").before(s.message):t.before(s.message);s.message&&s.message.includes("profilepress-reg-status")&&e.scroll_to_notices()}else"redirect"in s&&(t.trigger("pp_registration_success",[s]),window.location.assign(s.redirect));e._remove_processing_label(t)}})}},this.ajax_login=function(s){s.preventDefault();var t=$(this),r={action:"pp_ajax_login",data:$(this).serialize()},o="true"===t.find('input[name="is-pp-tab-widget"]').val();e._remove_status_notice(),e._add_processing_label(t),$.post(pp_ajax_form.ajaxurl,r,(function(s){if(t.trigger("pp_form_submitted"),null===s||"object"!=typeof s)return e._remove_processing_label(t);if("success"in s&&!0===s.success&&"redirect"in s)t.trigger("pp_login_form_success"),window.location.assign(s.redirect);else if(t.trigger("pp_login_form_error"),"code"in s&&"pp2fa_auth_code_invalid"==s.code&&t.find(".pp-2fa").show(),o){var r=s.message.replace("profilepress-login-status","pp-tab-status");t.parents(".pp-tab-widget-form").before(r)}else t.parents(".lucidContainer").length>0?t.parents(".lucidContainer").before(s.message):t.before(s.message);e._remove_processing_label(t)}),"json")},this.delete_avatar=function(e){e.preventDefault();var s=$(this).text(),t=$(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(t.is("button")&&t.text(pp_ajax_form.deleting_text),$.post(pp_ajax_form.ajaxurl,{action:"pp_del_avatar",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error?(t.text(s),alert(pp_ajax_form.deleting_error)):"success"in e&&($("img[data-del='avatar']").attr("src",e.default),t.remove())}
10)))},this.delete_profile_image_cover=function(e){e.preventDefault();var s=$(this).text(),t=$(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(t.is("button")&&t.text(pp_ajax_form.deleting_text),$.post(pp_ajax_form.ajaxurl,{action:"pp_del_cover_image",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error&&(t.text(s),alert(pp_ajax_form.deleting_error)),"success"in e&&(""!==e.default?($("img[data-del='cover-image']").attr("src",e.default),t.parent().find(".profilepress-myaccount-has-cover-image").show(),t.parent().find(".profilepress-myaccount-cover-image-empty").hide()):(t.parent().find(".profilepress-myaccount-has-cover-image").hide(),t.parent().find(".profilepress-myaccount-cover-image-empty").show()),t.remove())})))},this.get_melange_id=function(e){var s=$("input.pp_melange_id",e).val();return void 0===s?"":s},this._add_processing_label=function(e){var s=e.find("input[data-pp-submit-label]");s.attr({value:s.data("pp-processing-label"),disabled:"disabled"}).css("opacity",".4")},this._remove_processing_label=function(e){var s=e.find("input[data-pp-submit-label]");s.attr("value",s.data("pp-submit-label")),s.attr({value:s.data("pp-submit-label"),disabled:null}).css("opacity","")},this._remove_status_notice=function(){$(".profilepress-login-status,.pp-tab-status,.profilepress-edit-profile-success,.profilepress-edit-profile-status,.pp-reset-success,.profilepress-reset-status,.profilepress-reg-status").remove()},this.scroll_to_notices=function(e){(e=e||$(".profilepress-reg-status")).length&&$("html, body").animate({scrollTop:e.offset().top-100},1e3)},this.defaultUserProfileResponsive=function(){$(".ppress-default-profile, .pp-member-directory, .ppress-checkout__form").each((function(){var e=$
10(this),s=e.width();s<=340?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui768"),e.removeClass("ppressui960"),e.addClass("ppressui340")):s<=500?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui500")):s<=768?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui768")):s<=800?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui800")):s<=960?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui960")):s>960&&(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960")),e.css("opacity",1)})),$(".ppress-default-profile-cover, .ppress-default-profile-cover-e").each((function(){var e=$
10(this),s=Math.round(e.width()/e.data("ratio"))+"px";e.height(s),e.find(".ppress-dpf-cover-add").height(s)}))},this.myaccount_password_strength_meter=function(){$((function(){var e=$("input[name=password_new]"),s=$("input[name=password_confirm_new]"),t=$("input[name=submit-form]"),r=$("#pp-pass-strength-result");$("body").on("keyup","input[name=password_new], input[name=password_confirm_new]",(function(o){!function(e,s,t,r,o){var p=e.val(),a=s.val();r.attr("disabled","disabled"),t.removeClass("short bad good strong"),o=o.concat(wp.passwordStrength.userInputDisallowedList());var i=wp.passwordStrength.meter(p,o,a);switch(i){case 2:t.addClass("bad").html(pwsL10n.bad);break;case 3:t.addClass("good").html(pwsL10n.good);break;case 4:t.addClass("strong").html(pwsL10n.strong);break;case 5:t.addClass("short").html(pwsL10n.mismatch);break;default:t.addClass("short").html(pwsL10n.short)}"false"===myacPwsL10n.disable_enforcement&&4===i&&""!==a.trim()&&r.removeAttr("disabled")}(e,s,r,t,[])}))}))}}).init(),(new function(){let e=this;window.ppressCheckoutForm=this,this.last_checked_email="",this.check_email_xhr=null,this.init=function(){if("0"!==pp_ajax_form.is_checkout&&0!==$("#ppress_checkout_main_form").length){if($(document).on("click",".ppress-checkout-show-login-form",this.toggle_login_form),$(document).on("click",'.ppress-login-submit-btn input[type="submit"]',this.process_login),$(document).on("click",".ppress-coupon-code-link",this.toggle_discount_code_reveal),$(document).on("click",".ppress-apply-discount-btn",this.apply_discount_code),$(document).on("click","#ppress-remove-applied-coupon",this.remove_applied_discount_code),$(document).on("submit","#ppress_mb_checkout_form",this.process_checkout),"1"!==pp_ajax_form.is_user_logged_in){$(document).on("blur","#ppress_mb_checkout_form #ppmb_email",this.check_email_exists),$(document).on("input","#ppress_mb_checkout_form #ppmb_email",e.debounce(this.check_email_exists,500)),$(document).on("click",".ppress-checkout-inline-login-link",this.show_login_form_and_focus),$.trim($("#ppress_mb_checkout_form #ppmb_email").val())&&this.check_email_exists()}$(document).on("click",".ppress-terms-and-conditions-link",(function(e){var s=$(".ppress-checkout-form__terms_condition__content");s.length>0&&(e.preventDefault(),s.slideToggle())})),$(document).on("ppress_update_checkout",this.update_checkout),"1"===pp_ajax_form.is_checkout_tax_enabled?$(document).on("change","#ppress_mb_checkout_form .ppress_billing_country, #ppress_mb_checkout_form .ppress_billing_state, #ppress_mb_checkout_form .ppress_vat_number",e.debounce((function(){$(document.body).trigger("ppress_update_checkout")}),200)):$(document).on("change","#ppress_mb_checkout_form .ppress_billing_country",e.contextual_state_field),$(document.body).on("change","#ppress_checkout_payment_methods [name=ppress_payment_method]",(function(){$(document.body).trigger("ppress_update_checkout")})),$(document.body).on("change","#ppress_mb_checkout_form #ppress-checkout-renewal",(function(){$(document.body).trigger("ppress_update_checkout")})),$(document.body).on("change","#ppress_mb_checkout_form #pwyw_price",(function(){$(document.body).trigger("ppress_update_checkout")})),$(document.body).on("change","#ppress_mb_checkout_form [name=group_selector]",(function(){e.update_checkout()})),$(document.body).trigger("ppress_update_checkout"),$(document).ajaxError((function(){e.remove_spinner()}))}},this.debounce=function(e,s){let t;return s=s||600,function(){clearTimeout(t),t=setTimeout((function(){e()}),s)}},this.contextual_state_field=function(){let e=$(".ppress_billing_state"),s={action:"ppress_contextual_state_field",country:$(this).val(),name:e.prop("name"),id:e.prop("id"),class:e.prop("class"),csrf:$("#ppress_checkout_nonce").val()};$.post(pp_ajax_form.ajaxurl,s,(function(s){e.replaceWith(s.data)}))},this.scroll_to_notices=function(e){"true"===pp_ajax_form.is_checkout_autoscroll_enabled&&(e=e||$(".ppress-checkout-alert")).length&&$("html, body").animate({scrollTop:e.offset().top-100},1e3)},this.update_checkout=function(s){s=s||!1;let t=$("#ppress_mb_checkout_form [name=group_selector]").length>0;e.removeAllAlerts(),e.add_spinner();let r={action:"ppress_update_order_review",plan_id:$("#ppress-checkout-plan-id").val(),ppress_payment_method:$("#ppress_checkout_payment_methods [name=ppress_payment_method]:checked").val(),csrf:$("#ppress_checkout_nonce").val(),address:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_address").val(),city:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_city").val(),country:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_country").val(),state:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_state").val(),postcode:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_postcode").val(),phone:$(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_phone").val(),vat_number:$("#ppress_checkout_main_form .ppress_vat_number").val(),post_data:$("#ppress_mb_checkout_form").serialize()};!0===t&&(r.isChangePlanUpdate="true"),$.post(pp_ajax_form.ajaxurl,r,(function(o){let p={};if($(".ppress-checkout-form__payment_method :input, .ppress-checkout_account_info-wrap :input").each((function(){let e=$(this).attr("id");e&&(-1!==$.inArray($(this).attr("type"),["checkbox","radio"])?p[e]=$(this).prop("checked"):p[e]=$(this).val())})),"data"in o&&void 0!==o.data.fragments&&($.each(o.data.fragments,(function(s,t){e.fragments&&e.fragments[s]===t||$(s).replaceWith(t)})),e.fragments=r.fragments),$.isEmptyObject(p)||$(".ppress-checkout-form__payment_method :input, .ppress-checkout_account_info-wrap :input").each((function(){let e=$(this).attr("id");e&&(-1!==$.inArray($(this).attr("type"),["checkbox","radio"])?$(this).prop("checked",p[e]):($.inArray($(this).attr("type"),["select"]),$(this).val(p[e])))})),"success"in o&&!1===o.success){let e=$("#ppress_checkout_main_form");
10o.data&&e.prepend(o.data),e.find(".input-text, select, input:checkbox").trigger("blur")}$(document.body).trigger("ppress_updated_checkout",[o]);let a,i=$(".ppress-checkout_order_summary__bottom_details");(a=$(".ppress-checkout-alert")).length>0&&(i=a),e.scroll_to_notices(i),e.remove_spinner(),!0===t&&!0!==s&&e.update_checkout(!0),!0===t&&(e.last_checked_email="",e.check_email_exists())}))},this.toggle_login_form=function(e){e.preventDefault(),$("#ppress_checkout_account_info .ppress-main-checkout-form__login_form_wrap").slideToggle((function(){if($(this).is(":visible")){let e=$.trim($("#ppress_mb_checkout_form #ppmb_email").val()),s=$("#ppmb_user_login");e&&!s.val()&&s.val(e)}}))},this.show_login_form_and_focus=function(e){e.preventDefault();let s=$("#ppress_checkout_account_info .ppress-main-checkout-form__login_form_wrap"),t=$.trim($("#ppress_mb_checkout_form #ppmb_email").val()),r=$("#ppmb_user_login");t&&r.val(t);let o=function(){r.val()?$("#ppmb_user_pass").focus():r.focus()};s.is(":visible")?o():s.slideDown(o),$("#ppress_checkout_account_info").length&&$("html, body").animate({scrollTop:$("#ppress_checkout_account_info").offset().top-100},500)},this.check_email_exists=function(){if("1"===pp_ajax_form.is_user_logged_in)return;let s=$("#ppress_mb_checkout_form #ppmb_email");if(0===s.length||"hidden"===s.attr("type"))return;let t=$.trim(s.val());if(!t||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t))return e.remove_email_exists_message(),void(e.last_checked_email="");if(t===e.last_checked_email)return;let r={action:"ppress_checkout_check_email",email:t,csrf:$("#ppress_checkout_nonce").val()||pp_ajax_form.nonce};e.check_email_xhr&&e.check_email_xhr.abort(),e.check_email_xhr=$.post(pp_ajax_form.ajaxurl,r,(function(r){if(e.last_checked_email=t,e.remove_email_exists_message(),r&&r.success&&r.data&&r.data.exists&&$.trim($("#ppress_mb_checkout_form #ppmb_email").val())===t){let e=r.data.message||"";if(e){let t=$('<div class="ppress-checkout-field-inline-message ppress-checkout-email-exists-message">'+e+"</div>"),r=s.closest(".ppmb-email");r.length?r.append(t):s.after(t)}}}))},this.remove_email_exists_message=function(){$(".ppress-checkout-email-exists-message").remove()},this.toggle_discount_code_reveal=function(e){e.preventDefault(),$("#ppress-checkout-coupon-code-wrap").slideToggle()},this.apply_discount_code=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let t={action:"ppress_checkout_apply_discount",plan_id:$("#ppress-checkout-plan-id").val(),coupon_code:$("#apply-discount").val(),ppress_checkout_nonce:$("#ppress_checkout_nonce").val()};$.post(pp_ajax_form.ajaxurl,t,(function(s){"success"in s&&!0===s.success?$(document.body).trigger("ppress_update_checkout"):($(".ppress-checkout_order_summary-wrap").before(s.data),e.remove_spinner())}))},this.remove_applied_discount_code=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let t={action:"ppress_checkout_remove_discount",plan_id:$("#ppress-checkout-plan-id").val(),ppress_checkout_nonce:$("#ppress_checkout_nonce").val()};$.post(pp_ajax_form.ajaxurl,t,(function(s){"success"in s&&!0===s.success?$(document.body).trigger("ppress_update_checkout"):($(".ppress-checkout_order_summary-wrap").before(s.data),e.remove_spinner())}))},this.process_login=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let t={action:"ppress_process_checkout_login",ppmb_user_login:$("#ppress_mb_checkout_form #ppmb_user_login").val(),ppmb_user_pass:$("#ppress_mb_checkout_form #ppmb_user_pass").val(),ppress_checkout_nonce:$("#ppress_checkout_nonce").val()};$.post(pp_ajax_form.ajaxurl,t,(function(s){"success"in s&&(!0===s.success?window.location.reload():"data"in s&&$("#ppress_mb_checkout_form .ppress-login-submit-btn").prepend(s.data)),e.remove_spinner()}))},this.process_checkout=function(s){if("function"!=typeof this.checkValidity||!1!==this.checkValidity()){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();var t=$(this),r=e.get_payment_method();if(!1!==t.triggerHandler("ppress_checkout_place_order_"+r)){let s=new FormData(this);s.append("action","ppress_process_checkout"),s.append("ppress_checkout_nonce",$("#ppress_checkout_nonce").val()),$.post({url:pp_ajax_form.ajaxurl,data:s,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(s){if($(document.body).trigger("ppress_process_checkout_success_callback",[s]),"success"in s)return!0===s.success?void(!1!==t.triggerHandler("ppress_process_checkout_"+r,[s,r])&&("redirect_url"in s&&void 0!==s.redirect_url&&s.redirect_url.length>0?window.location.assign(s.redirect_url):($(document.body).trigger("ppress_checkout_success",[s,r]),window.location.assign(s.order_success_url)))):"error_message"in s?e.createAlertMessage(s.error_message):"data"in s&&"string"==typeof s.data?e.createAlertMessage(s.data):void 0;e.remove_spinner()},error:function(s,t,r){$(document.body).trigger("ppress_process_checkout_error_callback",[s,t,r]),e.createAlertMessage(r)}},"json")}}},this.get_payment_method=function(){return $("#ppress_mb_checkout_form").find('input[name="ppress_payment_method"]:checked').val()},this.createAlertMessage=function(e,s){s=s||"error";var t=void 0!==e.indexOf&&-1!==e.indexOf("ppress-checkout-alert"),r="";t||(r='<div class="ppress-checkout-alert ppress-'+s+'"><p>'),r+=e,t||(r+="</p></div>"),$("#ppress_checkout_main_form").prepend(r),ppressCheckoutForm.scroll_to_notices(),ppressCheckoutForm.remove_spinner(),$(document.body).trigger("ppress_checkout_error",[e])},this.removeAllAlerts=function(){$(".ppress-checkout-alert").remove()},this.add_spinner=function(){e.remove_spinner(),$(".ppress-checkout__form").prepend('<div class="ppress-checkout__form__preloader"><div class="ppress-checkout__form__spinner"></div></div>')},this.remove_spinner=function(){$(".ppress-checkout__form .ppress-checkout__form__preloader").remove()},this.is_var_defined=function(e){return null!=e},this.get_obj_val=function(e,s){return this.is_var_defined(e)&&""!==e?e:s}}).init()}(jQuery);
11/*!
12 * Bootstrap v3.3.2 (http://getbootstrap.com)
13 * Copyright 2011-2015 Twitter, Inc.
14 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15 */
16if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.2",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;
vendor: 4,123 bytes, line 16
16e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.2",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.2",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});
vendor: 5,084 bytes, line 16
16if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.2",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","fal
16se"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.2",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.2",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.options.backdrop&&d.adjustBackdrop(),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in").attr("aria-hidden",!1),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$element.find(".modal-dialog").one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
16down.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a('<div class="modal-backdrop '+e+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-m<p.top?"bottom":"right"==h&&k.right+l>p.width?"left":"left"==h&&k.left-l<p.left?"right":h,f.removeClass(n).addClass(h)}var q=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(q,h);var r=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",r).emulateTransitionEnd(c.TRANSITION_DURATION):r()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=
vendor: 9,757 bytes, lines 16-17
16parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top=b.top+g,b.left=b.left+h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=this.tip(),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.2",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.2",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()
17}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;
17e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.2",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
18window.Modernizr=function(an,am,al){function H(b){ae.cssText=b}function Y(d,c){return H(ab.join(d+";")+(c||""))}function W(d,c){return typeof d===c}function U(d,c){return !!~(""+d).indexOf(c)}function S(f,c){for(var h in f){var g=f[h];if(!U(g,"-")&&ae[g]!==al){return c=="pfx"?g:!0}}return !1}function Q(g,c,j){for(var i in g){var h=c[g[i]];if(h!==al){return j===!1?g[i]:W(h,"function")?h.bind(j||c):h}}return !1}function O(g,f,j){var i=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+Z.join(i+" ")+i).split(" ");return W(f,"string")||W(f,"undefined")?S(h,f):(h=(g+" "+X.join(i+" ")+i).split(" "),Q(h,f,j))}var ak="2.8.3",aj={},ai=!0,ah=am.documentElement,ag="modernizr",af=am.createElement(ag),ae=af.style,ad,ac={}.toString,ab=" -webkit- -moz- -o- -ms- ".split(" "),aa="Webkit Moz O ms",Z=aa.split(" "),X=aa.toLowerCase().split(" "),V={},T={},R={},P=[],N=P.slice,M,K=function(w,v,u,s){var r,q,p,o,h=am.createElement("div"),g=am.body,b=g||am.createElement("body");if(parseInt(u,10)){while(u--){p=am.createElement("div"),p.id=s?s[u]:ag+(u+1),h.appendChild(p)}}return r=["&#173;",'<style id="s',ag,'">',w,"</style>"].join(""),h.id=ag,(g?h:b).innerHTML+=r,b.appendChild(h),g||(b.style.background="",b.style.overflow="hidden",o=ah.style.overflow,ah.style.overflow="hidden",ah.appendChild(b)),q=v(h,w),g?h.parentNode.removeChild(h):(b.parentNode.removeChild(b),ah.style.overflow=o),!!q},J={}.hasOwnProperty,I;!W(J,"undefined")&&!W(J.call,"undefined")?I=function(d,c){return J.call(d,c)}:I=function(d,c){return c in d&&W(d.constructor.prototype[c],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError}var g=N.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(N.call(arguments)));return Object(c)===c?c:d}return h.apply(a,g.concat(N.call(arguments)))};return f}),V.rgba=function(){return H("background-color:rgba(150,255,150,.5)"),U(ae.backgroundColor,"rgba")},V.backgroundsize=function(){return O("backgroundSize")},V.borderimage=function(){return O("borderImage")}
vendor: 4,869 bytes, line 18
18,V.borderradius=function(){return O("borderRadius")},V.boxshadow=function(){return O("boxShadow")},V.textshadow=function(){return am.createElement("div").style.textShadow===""},V.opacity=function(){return Y("opacity:.55"),/^0.55$/.test(ae.opacity)},V.cssanimations=function(){return O("animationName")},V.csstransitions=function(){return O("transition")},V.fontface=function(){var b;return K('@font-face {font-family:"font";src:url("https://")}',function(k,j){var i=am.getElementById("smodernizr"),h=i.sheet||i.styleSheet,a=h?h.cssRules&&h.cssRules[0]?h.cssRules[0].cssText:h.cssText||"":"";b=/src/i.test(a)&&a.indexOf(j.split(" ")[0])===0}),b};for(var L in V){I(V,L)&&(M=L.toLowerCase(),aj[M]=V[L](),P.push((aj[M]?"":"no-")+M))}return aj.addTest=function(e,c){if(typeof e=="object"){for(var f in e){I(e,f)&&aj.addTest(f,e[f])}}else{e=e.toLowerCase();if(aj[e]!==al){return aj}c=typeof c=="function"?c():c,typeof ai!="undefined"&&ai&&(ah.className+=" "+(c?"":"no-")+e),aj[e]=c}return aj},H(""),af=ad=null,function(au,at){function B(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild)}function A(){var b=u.elements;return typeof b=="string"?b.split(" "):b}function z(d){var c=D[d[F]];return c||(c={},E++,d[F]=E,D[E]=c),c}function y(b,h,f){h||(h=at);if(C){return h.createElement(b)}f||(f=z(h));var e;return f.cache[b]?e=f.cache[b].cloneNode():ao.test(b)?e=(f.cache[b]=f.createElem(b)).cloneNode():e=f.createElem(b),e.canHaveChildren&&!ap.test(b)&&!e.tagUrn?f.frag.appendChild(e):e}function x(b,l){b||(b=at);if(C){return b.createDocumentFragment()}l=l||z(b);var k=l.frag.cloneNode(),j=0,i=A(),h=i.length;for(;j<h;j++){k.createElement(i[j])}return k}function w(d,c){c.cache||(c.cache={},c.createElem=d.createElement,c.createFrag=d.createDocumentFragment,c.frag=c.createFrag()),d.createElement=function(a){return u.shivMethods?y(a,d,c):c.createElem(a)},d.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+A().join().replace(/[\w\-]+/g,function(b){return c.createElem(b),c.frag.createElement(b),'c("'+b+'")'})+");return n}")(u,c.frag)}function v(b){b||(b=at);var d=z(b);return u.shivCSS&&!G&&!d.hasCSS&&(d.hasCSS=!!B(b,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),C||w(b,d),b}var ar="3.7.0",aq=au.html5||{},ap=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,ao=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,G,F="_html5shiv",E=0,D={},C;(function(){try{var b=at.createElement("a");b.innerHTML="<xyz></xyz>",G="hidden" in b,C=b.childNodes.length==1||function(){at.createElement("a");var c=at.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()}catch(d){G=!0,C=!0}})();var u={elements:aq.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:ar,shivCSS:aq.shivCSS!==!1,supportsUnknownElements:C,shivMethods:aq.shivMethods!==!1,type:"default",shivDocument:v,createElement:y,createDocumentFragment:x};au.html5=u,v(at)}(this,am),aj._version=ak,aj._prefixes=ab,aj._domPrefixes=X,aj._cssomPrefixes=Z,aj.testProp=function(b){return S([b])},aj.testAllProps=O,aj.testStyles=K,aj.prefixed=function(e,d,f){return d?O(e,d,f):O(e,"pfx")},ah.className=ah.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(ai?" js "+P.join(" "):""),aj}(this,this.document),function(ad,ac,ab){function aa(b){return"[object Function]"==P.call(b)}function Z(b){return"string"==typeof b}function Y(){}function X(b){return !b||"loaded"==b||"complete"==b||"uninitialized"==b}function W(){var b=O.shift();M=1,b?b.t?R(function(){("c"==b.t?L.injectCss:L.injectJs)(b.s,0,b.a,b.x,b.e,1)},0):(b(),W()):M=0}function V(x,w,v,s,q,p,n){function m(a){if(!g&&X(h.readyState)&&(y.r=g=1,!M&&W(),h.onload=h.onreadystatechange=null,a)){"img"!=x&&R(function(){I.removeChild(h)},50);for(var c in D[w]){D[w].hasOwnProperty(c)&&D[w][c].onload()}}}var n=n||L.errorTimeout,h=ac.createElement(x),g=0,b=0,y={t:v,s:w,e:q,a:p,x:n};1===D[w]&&(b=1,D[w]=[]),"object"==x?h.data=w:(h.src=w,h.type=x),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){m.call(this,b)},O.splice(s,0,y),"img"!=x&&(b||2===D[w]?(I.insertBefore(h,J?null:Q),R(m,n)):D[w].push(h))}function U(g,e,j,i,h){return M=0,e=e||"j",Z(g)?V("c"==e?G:H,g,e,this.i++,j,i,h):(O.splice(this.i++,0,g),1==O.length&&W()),this}function T(){var b=L;return b.loader={load:U,i:0},b}var S=ac.documentElement,R=ad.setTimeout,Q=ac.getElementsByTagName("script")[0],P={}
18.toString,O=[],M=0,K="MozAppearance" in S.style,J=K&&!!ac.createRange().compareNode,I=J?S:Q.parentNode,S=ad.opera&&"[object Opera]"==P.call(ad.opera),S=!!ac.attachEvent&&!S,H=K?"object":S?"script":"img",G=S?"script":H,F=Array.isArray||function(b){return"[object Array]"==P.call(b)},E=[],D={},C={timeout:function(d,c){return c.length&&(d.timeout=c[0]),d}},N,L;L=function(e){function c(i){var i=i.split("!"),h=E.length,q=i.pop(),p=i.length,q={url:q,origUrl:q,prefixes:i},o,l,j;for(l=0;l<p;l++){j=i[l].split("="),(o=C[j.shift()])&&(q=o(q,j))}for(l=0;l<h;l++){q=E[l](q)}return q}function n(b,s,r,q,p){var o=c(b),l=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(s&&(s=aa(s)?s:s[b]||s[q]||s[b.split("/").pop().split("?")[0]]),o.instead?o.instead(b,s,r,q,p):(D[o.url]?o.noexec=!0:D[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":ab,o.noexec,o.attrs,o.timeout),(aa(s)||aa(l))&&r.load(function(){T(),s&&s(o.origUrl,p,q),l&&l(o.origUrl,p,q),D[o.url]=2})))}function m(x,w){function v(b,h){if(b){if(Z(b)){h||(r=function(){var i=[].slice.call(arguments);q.apply(this,i),p()}),n(b,r,w,0,u)}else{if(Object(b)===b){for(g in o=function(){var a=0,i;for(i in b){b.hasOwnProperty(i)&&a++}return a}(),b){b.hasOwnProperty(g)&&(!h&&!--o&&(aa(r)?r=function(){var i=[].slice.call(arguments);q.apply(this,i),p()}:r[g]=function(i){return function(){var a=[].slice.call(arguments);i&&i.apply(this,a),p()}}(q[g])),n(b[g],r,w,g,u))}}}}else{!h&&p()}}var u=!!x.test,s=x.load||x.both,r=x.callback||Y,q=r,p=x.complete||Y,o,g;v(u?x.yep:x.nope,!!s),s&&v(s)}var k,f,d=this.yepnope.loader;if(Z(e)){n(e,0,d,0)}else{if(F(e)){for(k=0;k<e.length;k++){f=e[k],Z(f)?n(f,0,d,0):F(f)?L(f):Object(f)===f&&m(f,d)}}else{Object(e)===e&&m(e,d)}}},L.addPrefix=function(d,c){C[d]=c},L.addFilter=function(b){E.push(b)},L.errorTimeout=10000,null==ac.readyState&&ac.addEventListener&&(ac.readyState="loading",ac.addEventListener("DOMContentLoaded",N=function(){ac.removeEventListener("DOMContentLoaded",N,0),ac.readyState="complete"},0)),ad.yepnope=T(),ad.yepnope.executeStack=W,ad.yepnope.injectJs=function(r,q,p,n,m,h){var g=ac.createElement("script"),f,b,n=n||L.errorTimeout;g.src=r;for(b in p){g.setAttribute(b,p[b])}q=h?W:q||Y,g.onreadystatechange=g.onload=function(){!f&&X(g.readyState)&&(f=1,q(),g.onload=g.onreadystatechange=null)},R(function(){f||(f=1,q(1))},n),m?g.onload():Q.parentNode.insertBefore(g,Q)},ad.yepnope.injectCss=function(b,n,m,l,k,h){var l=ac.createElement("link"),f,n=h?W:n||Y;l.href=b,l.rel="stylesheet",l.type="text/css";for(f in m){l.setAttribute(f,m[f])}k||(Q.parentNode.insertBefore(l,Q),R(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};(function(f){var e={topSpacing:0,topSticky:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:false,getWidthFrom:"",responsiveWidth:false},b=f(window),d=f(document),i=[],a=b.height(),g=function(){var j=b.scrollTop(),u=d.height(),r=u-a,l=(j>r)?r-j:0;var m=null,o=null;for(var n=0;n<i.length;n++){var v=i[n],k=v.stickyWrapper.offset().top,p=k-v.topSpacing-l;if(j<=p){if((v.currentTop!==null)&&v.stickyElement.hasClass("sticky-on")){v.stickyElement.removeClass("sticky-on");v.stickyElement.removeClass("sticky-in");v.stickyElement.addClass("sticky-out");clearTimeout(o);o=setTimeout(function(){v.stickyElement.removeClass("sticky-out");v.stickyElement.css("position","").css("top","");v.stickyElement.trigger("sticky-end",[v]).parent().removeClass(v.className);v.currentTop=null;if((typeof(v.change)!="undefined")&&(v.change!=null)){v.change()}},300)}}else{var q=u-v.stickyElement.outerHeight()-v.topSpacing-v.bottomSpacing-j-l;if(q<0){q=q+v.topSticky}else{q=v.topSticky}if(v.currentTop!=q){clearTimeout(m);clearTimeout(o);v.stickyElement.addClass("sticky-on");v.stickyElement.addClass("sticky-in");v.stickyElement.removeClass("sticky-out");m=setTimeout(function(){v.stickyElement.removeClass("sticky-in")},500);v.stickyElement.css("position","fixed").css("top",q);if(typeof v.getWidthFrom!=="undefined"){v.stickyElement.css("width",f(v.getWidthFrom).width())}v.stickyElement.trigger("sticky-start",[v]).parent().addClass(v.className);v.currentTop=q;if((typeof(v.change)!="undefined")&&(v.change!=null)){v.change()}}}}},h=function(){a=b.height();for(var j=0;j<i.length;j++){var k=i[j];if(typeof k.getWidthFrom!=="undefined"&&k.responsiveWidth===true){k.stickyElement.css("width",f(k.getWidthFrom).width())}}},c={init:function(j){var k=f.extend({}
18,e,j);return this.each(function(){var m=f(this);var n=m.attr("id");var p=n?n+"-"+e.wrapperClassName:e.wrapperClassName;var q=f("<div></div>").attr("id",n+"-sticky-wrapper").addClass(k.wrapperClassName);m.wrapAll(q);if(k.center){m.parent().css({width:m.outerWidth(),marginLeft:"auto",marginRight:"auto"})}if(m.css("float")=="right"){m.css({"float":"none"}).parent().css({"float":"right"})}var o=m.parent();var l=m.outerHeight(true);if(l>0){o.css("height",m.outerHeight(true))}i.push({topSpacing:k.topSpacing,topSticky:k.topSticky,bottomSpacing:k.bottomSpacing,stickyElement:m,currentTop:null,stickyWrapper:o,className:k.className,getWidthFrom:k.getWidthFrom,responsiveWidth:k.responsiveWidth,change:k.change})})},update:g,unstick:function(j){return this.each(function(){var l=f(this);var k=-1;for(var m=0;m<i.length;m++){if(i[m].stickyElement.get(0)==l.get(0)){k=m}}if(k!=-1){i.splice(k,1);l.unwrap();l.removeAttr("style")}})}};if(window.addEventListener){window.addEventListener("scroll",g,false);window.addEventListener("resize",h,false)}else{if(window.attachEvent){window.attachEvent("onscroll",g);window.attachEvent("onresize",h)}}f.fn.sticky=function(j){if(c[j]){return c[j].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof j==="object"||!j){return c.init.apply(this,arguments)}else{f.error("Method "+j+" does not exist on jQuery.sticky")}}};f.fn.unstick=function(j){if(c[j]){return c[j].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof j==="object"||!j){return c.unstick.apply(this,arguments)}else{f.error("Method "+j+" does not exist on jQuery.sticky")}}};f(function(){setTimeout(g,0)})})(jQuery);if(typeof Object.create!=="function"){Object.create=function(c){function d(){}d.prototype=c;return new d()}}(function(h,e,f){var g={init:function(c,b){var a=this;a.$elem=h(b);a.options=h.extend({},h.fn.owlCarousel.options,a.$elem.data(),c);a.userOptions=c;a.loadContent()},loadContent:function(){var a=this,b;function c(d){var l,i="";if(typeof a.options.jsonSuccess==="function"){a.options.jsonSuccess.apply(this,[d])}else{for(l in d.owl){if(d.owl.hasOwnProperty(l)){i+=d.owl[l].item}}a.$elem.html(i)}a.logIn()}if(typeof a.options.beforeInit==="function"){a.options.beforeInit.apply(this,[a.$elem])}if(typeof a.options.jsonPath==="string"){b=a.options.jsonPath;h.getJSON(b,c)}else{a.logIn()}},logIn:function(){var a=this;a.$elem.data("owl-originalStyles",a.$elem.attr("style"));a.$elem.data("owl-originalClasses",a.$elem.attr("class"));a.$elem.css({opacity:0});a.orignalItems=a.options.items;a.checkBrowser();a.wrapperWidth=0;a.checkVisible=null;a.setVars()},setVars:function(){var a=this;if(a.$elem.children().length===0){return false}a.baseClass();a.eventTypes();a.$userItems=a.$elem.children();a.itemsAmount=a.$userItems.length;a.wrapItems();a.$owlItems=a.$elem.find(".owl-item");a.$owlWrapper=a.$elem.find(".owl-wrapper");a.playDirection="next";a.prevItem=0;a.prevArr=[0];a.currentItem=0;a.customEvents();a.onStartup()},onStartup:function(){var a=this;a.updateItems();a.calculateAll();a.buildControls();a.updateControls();a.response();a.moveEvents();a.stopOnHover();a.owlStatus();if(a.options.transitionStyle!==false){a.transitionTypes(a.options.transitionStyle)}if(a.options.autoPlay===true){a.options.autoPlay=5000}a.play();a.$elem.find(".owl-wrapper").css("display","block");if(!a.$elem.is(":visible")){a.watchVisibility()}else{a.$elem.css("opacity",1)}a.onstartup=false;a.eachMoveUpdate();if(typeof a.options.afterInit==="function"){a.options.afterInit.apply(this,[a.$elem])}},eachMoveUpdate:function(){var a=this;if(a.options.lazyLoad===true){a.lazyLoad()}if(a.options.autoHeight===true){a.autoHeight()}a.onVisibleItems();if(typeof a.options.afterAction==="function"){a.options.afterAction.apply(this,[a.$elem])}}
18,updateVars:function(){var a=this;if(typeof a.options.beforeUpdate==="function"){a.options.beforeUpdate.apply(this,[a.$elem])}a.watchVisibility();a.updateItems();a.calculateAll();a.updatePosition();a.updateControls();a.eachMoveUpdate();if(typeof a.options.afterUpdate==="function"){a.options.afterUpdate.apply(this,[a.$elem])}},reload:function(){var a=this;e.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;if(a.$elem.is(":visible")===false){a.$elem.css({opacity:0});e.clearInterval(a.autoPlayInterval);e.clearInterval(a.checkVisible)}else{return false}a.checkVisible=e.setInterval(function(){if(a.$elem.is(":visible")){a.reload();a.$elem.animate({opacity:1},200);e.clearInterval(a.checkVisible)}},500)},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');a.wrapperOuter=a.$elem.find(".owl-wrapper-outer");a.$elem.css("display","block")},baseClass:function(){var a=this,c=a.$elem.hasClass(a.options.baseClass),b=a.$elem.hasClass(a.options.theme);if(!c){a.$elem.addClass(a.options.baseClass)}if(!b){a.$elem.addClass(a.options.theme)}},updateItems:function(){var a=this,b,c;if(a.options.responsive===false){return false}if(a.options.singleItem===true){a.options.items=a.orignalItems=1;a.options.itemsCustom=false;a.options.itemsDesktop=false;a.options.itemsDesktopSmall=false;a.options.itemsTablet=false;a.options.itemsTabletSmall=false;a.options.itemsMobile=false;return false}b=h(a.options.responsiveBaseWidth).width();if(b>(a.options.itemsDesktop[0]||a.orignalItems)){a.options.items=a.orignalItems}if(a.options.itemsCustom!==false){a.options.itemsCustom.sort(function(d,j){return d[0]-j[0]});for(c=0;c<a.options.itemsCustom.length;c+=1){if(a.options.itemsCustom[c][0]<=b){a.options.items=a.options.itemsCustom[c][1]}}}else{if(b<=a.options.itemsDesktop[0]&&a.options.itemsDesktop!==false){a.options.items=a.options.itemsDesktop[1]}if(b<=a.options.itemsDesktopSmall[0]&&a.options.itemsDesktopSmall!==false){a.options.items=a.options.itemsDesktopSmall[1]}if(b<=a.options.itemsTablet[0]&&a.options.itemsTablet!==false){a.options.items=a.options.itemsTablet[1]}if(b<=a.options.itemsTabletSmall[0]&&a.options.itemsTabletSmall!==false){a.options.items=a.options.itemsTabletSmall[1]}if(b<=a.options.itemsMobile[0]&&a.options.itemsMobile!==false){a.options.items=a.options.itemsMobile[1]}}if(a.options.items>a.itemsAmount&&a.options.itemsScaleUp===true){a.options.items=a.itemsAmount}},response:function(){var a=this,b,c;if(a.options.responsive!==true){return false}c=h(e).width();a.resizer=function(){if(h(e).width()!==c){if(a.options.autoPlay!==false){e.clearInterval(a.autoPlayInterval)}e.clearTimeout(b);b=e.setTimeout(function(){c=h(e).width();a.updateVars()},a.options.responsiveRefreshRate)}};h(e).resize(a.resizer)},updatePosition:function(){var a=this;a.jumpTo(a.currentItem);if(a.options.autoPlay!==false){a.checkAp()}},appendItemsSizes:function(){var a=this,c=0,b=a.itemsAmount-a.options.items;a.$owlItems.each(function(j){var d=h(this);d.css({width:a.itemWidth}).data("owl-item",Number(j));if(j%a.options.items===0||j===b){if(!(j>b)){c+=1}}d.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:b*2,left:0});a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth();a.appendWrapperSizes();a.loops();a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var b=this,a=((b.itemsAmount*b.itemWidth)-b.options.items*b.itemWidth)*-1;if(b.options.items>b.itemsAmount){b.maximumItem=0;a=0;b.maximumPixels=0}else{b.maximumItem=b.itemsAmount-b.options.items;b.maximumPixels=a}return a},min:function(){return 0},loops:function(){var a=this,b=0,d=0,i,c,l;a.positionsInArray=[0];a.pagesInArray=[];for(i=0;i<a.itemsAmount;i+=1){d+=a.itemWidth;a.positionsInArray.push(-d);if(a.options.scrollPerPage===true){c=h(a.$owlItems[i]);l=c.data("owl-roundPages");if(l!==b){a.pagesInArray[b]=a.positionsInArray[i];b=l}}}},buildControls:function(){var a=this;if(a.options.navigation===true||a.options.pagination===true){a.owlControls=h('<div class="owl-control
18s"/>').toggleClass("clickable",!a.browser.isTouch).appendTo(a.$elem)}if(a.options.pagination===true){a.buildPagination()}if(a.options.navigation===true){a.buildButtons()}},buildButtons:function(){var a=this,b=h('<div class="owl-buttons"/>');a.owlControls.append(b);a.buttonPrev=h("<div/>",{"class":"owl-prev",html:a.options.navigationText[0]||""});a.buttonNext=h("<div/>",{"class":"owl-next",html:a.options.navigationText[1]||""});b.append(a.buttonPrev).append(a.buttonNext);b.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(c){c.preventDefault()});b.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault();if(h(this).hasClass("owl-next")){a.next()}else{a.prev()}})},buildPagination:function(){var a=this;a.paginationWrapper=h('<div class="owl-pagination"/>');a.owlControls.append(a.paginationWrapper);a.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(b){b.preventDefault();if(Number(h(this).data("owl-page"))!==a.currentItem){a.goTo(Number(h(this).data("owl-page")),true)}})},updatePagination:function(){var a=this,m,b,c,d,i,n;if(a.options.pagination===false){return false}a.paginationWrapper.html("");m=0;b=a.itemsAmount-a.itemsAmount%a.options.items;for(d=0;d<a.itemsAmount;d+=1){if(d%a.options.items===0){m+=1;if(b===d){c=a.itemsAmount-a.options.items}i=h("<div/>",{"class":"owl-page"});n=h("<span></span>",{text:a.options.paginationNumbers===true?m:"","class":a.options.paginationNumbers===true?"owl-numbers":""});i.append(n);i.data("owl-page",b===d?c:d);i.data("owl-roundPages",m);a.paginationWrapper.append(i)}}a.checkPagination()},checkPagination:function(){var a=this;if(a.options.pagination===false){return false}a.paginationWrapper.find(".owl-page").each(function(){if(h(this).data("owl-roundPages")===h(a.$owlItems[a.currentItem]).data("owl-roundPages")){a.paginationWrapper.find(".owl-page").removeClass("active");h(this).addClass("active")}})},checkNavigation:function(){var a=this;if(a.options.navigation===false){return false}if(a.options.rewindNav===false){if(a.currentItem===0&&a.maximumItem===0){a.buttonPrev.addClass("disabled");a.buttonNext.addClass("disabled")}else{if(a.currentItem===0&&a.maximumItem!==0){a.buttonPrev.addClass("disabled");a.buttonNext.removeClass("disabled")}else{if(a.currentItem===a.maximumItem){a.buttonPrev.removeClass("disabled");a.buttonNext.addClass("disabled")}else{if(a.currentItem!==0&&a.currentItem!==a.maximumItem){a.buttonPrev.removeClass("disabled");a.buttonNext.removeClass("disabled")}}}}}},updateControls:function(){var a=this;a.updatePagination();a.checkNavigation();if(a.owlControls){if(a.options.items>=a.itemsAmount){a.owlControls.hide()}else{a.owlControls.show()}}},destroyControls:function(){var a=this;if(a.owlControls){a.owlControls.remove()}},next:function(a){var b=this;if(b.isTransition){return false}b.currentItem+=b.options.scrollPerPage===true?b.options.items:1;if(b.currentItem>b.maximumItem+(b.options.scrollPerPage===true?(b.options.items-1):0)){if(b.options.rewindNav===true){b.currentItem=0;a="rewind"}else{b.currentItem=b.maximumItem;return false}}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition){return false}if(b.options.scrollPerPage===true&&b.currentItem>0&&b.currentItem<b.options.items){b.currentItem=0}else{b.currentItem-=b.options.scrollPerPage===true?b.options.items:1}if(b.currentItem<0){if(b.options.rewindNav===true){b.currentItem=b.maximumItem;a="rewind"}else{b.currentItem=0;return false}}b.goTo(b.currentItem,a)},goTo:function(j,a,c){var b=this,d;if(b.isTransition){return false}if(typeof b.options.beforeMove==="function"){b.options.beforeMove.apply(this,[b.$elem])}if(j>=b.maximumItem){j=b.maximumItem}else{if(j<=0){j=0}}b.currentItem=b.owl.currentItem=j;if(b.options.transitionStyle!==false&&c!=="drag"&&b.options.items===1&&b.browser.support3d===true){b.swapSpeed(0);if(b.browser.support3d===true){b.transition3d(b.positionsInArray[j])}else{b.css2slide(b.positionsInArray[j],1)}b.afterGo();b.singleItemTransition();return false}d=b.positionsInArray[j];if(b.browser.support3d===true){b.isCss3Finish=false;if(a===true){b.swapSpeed("paginationSpeed");e.setTimeout(function(){b.isCss3Finish=true},b.options.paginationSpeed)}else{if(a==="rewind"){b.swapSpeed(b.options.rewindSpeed);e.setTimeout(function(){b.isCss3Finish=true},b.options.rewindSpeed)}else{b.swapSpeed("slideSpeed");e.setTimeout(function(){b.isCss3Finish=true},b.options.slideSpeed)}}b.transition3d(d)}else{if(a===true){b.css2slide(d,b.options.paginationSpeed)}else{if(a==="rewind"){b.css2slide(d,b.options.rewindSpeed)}else{b.css2slide(d,b.options.slideSpeed)}}}b.afterGo()},jumpTo:function(b){var a=this;if(typeof a.options.beforeMove==="function"){a.options.beforeMove.apply(this,[a.$elem])}if(b>=a.maximumItem||b===-1){b=a.maximumItem}else{if(b<=0){b=0}}a.swapSpeed(0);if(a.browser.support3d===true){a.transition3d(a.positionsInArray[b])}else{a.css2slide(a.positionsInArray[b],1)}a.currentItem=a.owl.currentItem=b;a.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem);a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2];a.prevArr.shift(0);if(a.prevItem!==a.currentItem){a.checkPagination();a.checkNavigation();a.eachMoveUpdate();if(a.options.autoPlay!==false){a.checkAp()}}if(typeof a.options.afterMove==="function"&&a.prevItem!==a.currentItem){a.options.afterMove.apply(this,[a.$elem])}},stop:function(){var a=this;a.apStatus="stop";e.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;if(a.apStatus!=="stop"){a.play()}},play:function(){var a=this;a.apStatus="play";if(a.options.autoPlay===false){return false}e.clearInterval(a.autoPlayInterval);a.autoPlayInterval=e.setInterval(function(){a.next(true)},a.options.autoPlay)},swapSpeed:function(a){var b=this;if(a==="slideSpeed"){b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed))}else{if(a==="paginationSpeed"){b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed))}
18else{if(typeof a!=="string"){b.$owlWrapper.css(b.addCssSpeed(a))}}}},addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=false;c.$owlWrapper.stop(true,true).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=true}})},checkBrowser:function(){var b=this,l="translate3d(0px, 0px, 0px)",c=f.createElement("div"),d,m,a,n;c.style.cssText="  -moz-transform:"+l+"; -ms-transform:"+l+"; -o-transform:"+l+"; -webkit-transform:"+l+"; transform:"+l;d=/translate3d\(0px, 0px, 0px\)/g;m=c.style.cssText.match(d);a=(m!==null&&m.length>=1&&m.length<=2);n="ontouchstart" in e||e.navigator.msMaxTouchPoints;b.browser={support3d:a,isTouch:n}},moveEvents:function(){var a=this;if(a.options.mouseDrag!==false||a.options.touchDrag!==false){a.gestures();a.disabledEvents()}},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={};if(a.options.mouseDrag===true&&a.options.touchDrag===true){b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]}else{if(a.options.mouseDrag===false&&a.options.touchDrag===true){b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]}else{if(a.options.mouseDrag===true&&a.options.touchDrag===false){b=["mousedown.owl","mousemove.owl","mouseup.owl"]}}}a.ev_types.start=b[0];a.ev_types.move=b[1];a.ev_types.end=b[2]},disabledEvents:function(){var a=this;a.$elem.on("dragstart.owl",function(b){b.preventDefault()});a.$elem.on("mousedown.disableTextSelect",function(b){return h(b.target).is("input, textarea, select, option")})},gestures:function(){var d=this,c={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};d.isCssFinish=true;function a(i){if(i.touches!==undefined){return{x:i.touches[0].pageX,y:i.touches[0].pageY}}if(i.touches===undefined){if(i.pageX!==undefined){return{x:i.pageX,y:i.pageY}}if(i.pageX===undefined){return{x:i.clientX,y:i.clientY}}}}function b(i){if(i==="on"){h(f).on(d.ev_types.move,l);h(f).on(d.ev_types.end,n)}else{if(i==="off"){h(f).off(d.ev_types.move);h(f).off(d.ev_types.end)}}}function m(k){var i=k.originalEvent||k||e.event,j;if(i.which===3){return false}if(d.itemsAmount<=d.options.items){return}if(d.isCssFinish===false&&!d.options.dragBeforeAnimFinish){return false}if(d.isCss3Finish===false&&!d.options.dragBeforeAnimFinish){return false}if(d.options.autoPlay!==false){e.clearInterval(d.autoPlayInterval)}if(d.browser.isTouch!==true&&!d.$owlWrapper.hasClass("grabbing")){d.$owlWrapper.addClass("grabbing")}d.newPosX=0;d.newRelativeX=0;h(this).css(d.removeTransition());j=h(this).position();c.relativePos=j.left;c.offsetX=a(i).x-j.left;c.offsetY=a(i).y-j.top;b("on");c.sliding=false;c.targetElement=i.target||i.srcElement}function l(k){var p=k.originalEvent||k||e.event,j,i;d.newPosX=a(p).x-c.offsetX;d.newPosY=a(p).y-c.offsetY;d.newRelativeX=d.newPosX-c.relativePos;if(typeof d.options.startDragging==="function"&&c.dragging!==true&&d.newRelativeX!==0){c.dragging=true;d.options.startDragging.apply(d,[d.$elem])}if((d.newRelativeX>8||d.newRelativeX<-8)&&(d.browser.isTouch===true)){if(p.preventDefault!==undefined){p.preventDefault()}else{p.returnValue=false}c.sliding=true}if((d.newPosY>10||d.newPosY<-10)&&c.sliding===false){h(f).off("touchmove.owl")}j=function(){return d.newRelativeX/5};i=function(){return d.maximumPixels+d.newRelativeX/5};d.newPosX=Math.max(Math.min(d.newPosX,j()),i());if(d.browser.support3d===true){d.transition3d(d.newPosX)}else{d.css2move(d.newPosX)}}function n(k){var q=k.originalEvent||k||e.event,r,i,j;q.target=q.target||q.srcElement;c.dragging=false;
18if(d.browser.isTouch!==true){d.$owlWrapper.removeClass("grabbing")}if(d.newRelativeX<0){d.dragDirection=d.owl.dragDirection="left"}else{d.dragDirection=d.owl.dragDirection="right"}if(d.newRelativeX!==0){r=d.getNewPosition();d.goTo(r,false,"drag");if(c.targetElement===q.target&&d.browser.isTouch!==true){h(q.target).on("click.disable",function(o){o.stopImmediatePropagation();o.stopPropagation();o.preventDefault();h(o.target).off("click.disable")});i=h._data(q.target,"events").click;j=i.pop();i.splice(0,0,j)}}b("off")}d.$elem.on(d.ev_types.start,".owl-wrapper",m)},getNewPosition:function(){var a=this,b=a.closestItem();if(b>a.maximumItem){a.currentItem=a.maximumItem;b=a.maximumItem}else{if(a.newPosX>=0){b=0;a.currentItem=0}}return b},closestItem:function(){var b=this,a=b.options.scrollPerPage===true?b.pagesInArray:b.positionsInArray,d=b.newPosX,c=null;h.each(a,function(i,l){if(d-(b.itemWidth/20)>a[i+1]&&d-(b.itemWidth/20)<l&&b.moveDirection()==="left"){c=l;if(b.options.scrollPerPage===true){b.currentItem=h.inArray(c,b.positionsInArray)}else{b.currentItem=i}}else{if(d+(b.itemWidth/20)<l&&d+(b.itemWidth/20)>(a[i+1]||a[i]-b.itemWidth)&&b.moveDirection()==="right"){if(b.options.scrollPerPage===true){c=a[i+1]||a[a.length-1];b.currentItem=h.inArray(c,b.positionsInArray)}else{c=a[i+1];b.currentItem=i+1}}}});return b.currentItem},moveDirection:function(){var b=this,a;if(b.newRelativeX<0){a="right";b.playDirection="next"}else{a="left";b.playDirection="prev"}return a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()});a.$elem.on("owl.prev",function(){a.prev()});a.$elem.on("owl.play",function(c,b){a.options.autoPlay=b;a.play();a.hoverStatus="play"});a.$elem.on("owl.stop",function(){a.stop();a.hoverStatus="stop"});a.$elem.on("owl.goTo",function(b,c){a.goTo(c)});a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;if(a.options.stopOnHover===true&&a.browser.isTouch!==true&&a.options.autoPlay!==false){a.$elem.on("mouseover",function(){a.stop()});a.$elem.on("mouseout",function(){if(a.hoverStatus!=="stop"){a.play()}})}},lazyLoad:function(){var a=this,c,i,b,d,l;if(a.options.lazyLoad===false){return false}for(c=0;c<a.itemsAmount;c+=1){i=h(a.$owlItems[c]);if(i.data("owl-loaded")==="loaded"){continue}b=i.data("owl-item");d=i.find(".lazyOwl");if(typeof d.data("src")!=="string"){i.data("owl-loaded","loaded");continue}if(i.data("owl-loaded")===undefined){d.hide();i.addClass("loading").data("owl-loaded","checked")}if(a.options.lazyFollow===true){l=b>=a.currentItem}else{l=true}if(l&&b<a.currentItem+a.options.items&&d.length){a.lazyPreload(i,d)}}},lazyPreload:function(n,m){var c=this,d=0,b;if(m.prop("tagName")==="DIV"){m.css("background-image","url("+m.data("src")+")");b=true}else{m[0].src=m.data("src")}function l(){n.data("owl-loaded","loaded").removeClass("loading");m.removeAttr("data-src");if(c.options.lazyEffect==="fade"){m.fadeIn(400)}else{m.show()}if(typeof c.options.afterLazyLoad==="function"){c.options.afterLazyLoad.apply(this,[c.$elem])}}function a(){d+=1;if(c.completeImg(m.get(0))||b===true){l()}else{if(d<=100){e.setTimeout(a,100)}else{l()}}}a()},autoHeight:function(){var b=this,a=h(b.$owlItems[b.currentItem]).find("img"),c;function j(){var i=h(b.$owlItems[b.currentItem]).height();b.wrapperOuter.css("height",i+"px");if(!b.wrapperOuter.hasClass("autoHeight")){e.setTimeout(function(){b.wrapperOuter.addClass("autoHeight")},0)}}function d(){c+=1;if(b.completeImg(a.get(0))){j()}else{if(c<=100){e.setTimeout(d,100)}else{b.wrapperOuter.css("height","")}}}if(a.get(0)!==undefined){c=0;d()}else{j()}},completeImg:function(b){var a;if(!b.complete){return false}a=typeof b.naturalWidth;if(a!=="undefined"&&b.naturalWidth===0){return false}return true},onVisibleItems:function(){var a=this,b;if(a.options.addClassActive===true){a.$owlItems.removeClass("active")}a.visibleItems=[];for(b=a.currentItem;b<a.currentItem+a.options.items;b+=1){a.visibleItems.push(b);if(a.options.addClassActive===true){h(a.$owlItems[b]).addClass("active")}}a.owl.visibleItems=a.visibleItems},transitionTypes:function(b){var a=this;a.outClass="owl-"+b+"-out";a.inClass="owl-"+b+"-in"},singleItemTransition:function(){var q=this,o=q.outClass,c=q.inClass,d=q.$owlItems.eq(q.currentItem),n=q.$owlItems.eq(q.prevItem),a=Math.abs(q.positionsInArray[q.currentItem])+q.positionsInArray[q.prevItem],b=Math.abs(q.positionsInArray[q.currentItem])+q.itemWidth/2,p="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";q.isTransition=true;
18q.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":b+"px","-moz-perspective-origin":b+"px","perspective-origin":b+"px"});function r(i){return{position:"relative",left:i+"px"}}n.css(r(a,10)).addClass(o).on(p,function(){q.endPrev=true;n.off(p);q.clearTransStyle(n,o)});d.addClass(c).on(p,function(){q.endCurrent=true;d.off(p);q.clearTransStyle(d,c)})},clearTransStyle:function(b,c){var a=this;b.css({position:"",left:""}).removeClass(c);if(a.endPrev&&a.endCurrent){a.$owlWrapper.removeClass("owl-origin");a.endPrev=false;a.endCurrent=false;a.isTransition=false}},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var a=this;a.$elem.off(".owl owl mousedown.disableTextSelect");h(f).off(".owl owl");h(e).off("resize",a.resizer)},unWrap:function(){var a=this;if(a.$elem.children().length!==0){a.$owlWrapper.unwrap();a.$userItems.unwrap().unwrap();if(a.owlControls){a.owlControls.remove()}}a.clearEvents();a.$elem.attr("style",a.$elem.data("owl-originalStyles")||"").attr("class",a.$elem.data("owl-originalClasses"))},destroy:function(){var a=this;a.stop();e.clearInterval(a.checkVisible);a.unWrap();a.$elem.removeData()},reinit:function(a){var b=this,c=h.extend({},b.userOptions,a);b.unWrap();b.init(c,b.$elem)},addItem:function(a,c){var b=this,d;if(!a){return false}if(b.$elem.children().length===0){b.$elem.append(a);b.setVars();return false}b.unWrap();if(c===undefined||c===-1){d=-1}else{d=c}if(d>=b.$userItems.length||d===-1){b.$userItems.eq(-1).after(a)}else{b.$userItems.eq(d).before(a)}b.setVars()},removeItem:function(b){var a=this,c;if(a.$elem.children().length===0){return false}if(b===undefined||b===-1){c=-1}else{c=b}a.unWrap();a.$userItems.eq(c).remove();a.setVars()}};h.fn.owlCarousel=function(a){return this.each(function(){if(h(this).data("owl-init")===true){return false}h(this).data("owl-init",true);var b=Object.create(g);b.init(a,this);h.data(this,"owlCarousel",b)})};h.fn.owlCarousel.options={items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1000,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:e,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false}}(jQuery,window,document));
19/*!
20 * imagesLoaded PACKAGED v3.1.8
21 * JavaScript is all like "You images are done yet or what?"
22 * MIT License
23 */
24(function(){function d(){}function b(i,h){for(var j=i.length;j--;){if(i[j].listener===h){return j}}return -1}function g(h){return function(){return this[h].apply(this,arguments)}}var a=d.prototype,c=this,f=c.EventEmitter;a.getListeners=function(k){var j,l,h=this._getEvents();if("object"==typeof k){j={};for(l in h){h.hasOwnProperty(l)&&k.test(l)&&(j[l]=h[l])}}else{j=h[k]||(h[k]=[])}return j},a.flattenListeners=function(i){var h,j=[];for(h=0;i.length>h;h+=1){j.push(i[h].listener)}return j},a.getListenersAsObject=function(i){var h,j=this.getListeners(i);return j instanceof Array&&(h={},h[i]=j),h||j},a.addListener=function(k,m){var h,j=this.getListenersAsObject(k),l="object"==typeof m;for(h in j){j.hasOwnProperty(h)&&-1===b(j[h],m)&&j[h].push(l?m:{listener:m,once:!1})}return this},a.on=g("addListener"),a.addOnceListener=function(i,h){return this.addListener(i,{listener:h,once:!0})},a.once=g("addOnceListener"),a.defineEvent=function(h){return this.getListeners(h),this},a.defineEvents=function(i){for(var h=0;i.length>h;h+=1){this.defineEvent(i[h])}return this},a.removeListener=function(k,m){var h,j,l=this.getListenersAsObject(k);for(j in l){l.hasOwnProperty(j)&&(h=b(l[j],m),-1!==h&&l[j].splice(h,1))}return this},a.off=g("removeListener"),a.addListeners=function(i,h){return this.manipulateListeners(!1,i,h)},a.removeListeners=function(i,h){return this.manipulateListeners(!0,i,h)},a.manipulateListeners=function(m,j,q){var h,l,p=m?this.removeListener:this.addListener,k=m?this.removeListeners:this.addListeners;if("object"!=typeof j||j instanceof RegExp){for(h=q.length;h--;){p.call(this,j,q[h])}}else{for(h in j){j.hasOwnProperty(h)&&(l=j[h])&&("function"==typeof l?p.call(this,h,l):k.call(this,h,l))}}return this},a.removeEvent=function(k){var j,l=typeof k,h=this._getEvents();if("string"===l){delete h[k]}else{if("object"===l){for(j in h){h.hasOwnProperty(j)&&k.test(j)&&delete h[j]}}else{delete this._events}}return this},a.removeAllListeners=g("removeEvent"),a.emitEvent=function(m,j){var q,h,l,p,k=this.getListenersAsObject(m);
24for(l in k){if(k.hasOwnProperty(l)){for(h=k[l].length;h--;){q=k[l][h],q.once===!0&&this.removeListener(m,q.listener),p=q.listener.apply(this,j||[]),p===this._getOnceReturnValue()&&this.removeListener(m,q.listener)}}}return this},a.trigger=g("emitEvent"),a.emit=function(i){var h=Array.prototype.slice.call(arguments,1);return this.emitEvent(i,h)},a.setOnceReturnValue=function(h){return this._onceReturnValue=h,this},a._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},a._getEvents=function(){return this._events||(this._events={})},d.noConflict=function(){return c.EventEmitter=f,d},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return d}):"object"==typeof module&&module.exports?module.exports=d:this.EventEmitter=d}).call(this),function(d){function b(e){var h=d.event;return h.target=h.target||h.srcElement||e,h}var g=document.documentElement,a=function(){};g.addEventListener?a=function(i,h,j){i.addEventListener(h,j,!1)}:g.attachEvent&&(a=function(j,k,h){j[k+h]=h.handleEvent?function(){var e=b(j);h.handleEvent.call(h,e)}:function(){var e=b(j);h.call(j,e)},j.attachEvent("on"+k,j[k+h])});var c=function(){};g.removeEventListener?c=function(i,h,j){i.removeEventListener(h,j,!1)}:g.detachEvent&&(c=function(k,j,l){k.detachEvent("on"+j,k[j+l]);try{delete k[j+l]}catch(h){k[j+l]=void 0}});var f={bind:a,unbind:c};"function"==typeof define&&define.amd?define("eventie/eventie",f):d.eventie=f}(this),function(b,a){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(d,c){return a(b,d,c)}):"object"==typeof exports?module.exports=a(b,require("wolfy87-eventemitter"),require("eventie")):b.imagesLoaded=a(b,b.EventEmitter,b.eventie)}(window,function(p,A,j){function k(c,a){for(var d in a){c[d]=a[d]}return c}function b(a){return"[object Array]"===q.call(a)}function g(d){var c=[];if(b(d)){c=d}else{if("number"==typeof d.length){for(var f=0,a=d.length;a>f;f++){c.push(d[f])}}else{c.push(d)}}return c}function B(d,a,f){if(!(this instanceof B)){return new B(d,a)}"string"==typeof d&&(d=document.querySelectorAll(d)),this.elements=g(d),this.options=k({},this.options),"function"==typeof a?f=a:k(this.options,a),f&&this.on("always",f),this.getImages(),x&&(this.jqDeferred=new x.Deferred);var c=this;setTimeout(function(){c.check()})}function m(a){this.img=a}function w(a){this.src=a,y[a]=this}var x=p.jQuery,z=p.console,l=z!==void 0,q=Object.prototype.toString;B.prototype=new A,B.prototype.options={},B.prototype.getImages=function(){this.images=[];for(var v=0,c=this.elements.length;c>v;v++){var D=this.elements[v];"IMG"===D.nodeName&&this.addImage(D);var a=D.nodeType;if(a&&(1===a||9===a||11===a)){for(var h=D.querySelectorAll("img"),C=0,d=h.length;d>C;C++){var u=h[C];this.addImage(u)}}}},B.prototype.addImage=function(c){var a=new m(c);this.images.push(a)},B.prototype.check=function(){function f(n,i){return c.options.debug&&l&&z.log("confirm",n,i),c.progress(n),s++,s===a&&c.complete(),!0}var c=this,s=0,a=this.images.length;if(this.hasAnyBroken=!1,!a){return this.complete(),void 0}for(var d=0;a>d;d++){var h=this.images[d];h.on("confirm",f),h.check()}},B.prototype.progress=function(c){this.hasAnyBroken=this.hasAnyBroken||!c.isLoaded;var a=this;setTimeout(function(){a.emit("progress",a,c),a.jqDeferred&&a.jqDeferred.notify&&a.jqDeferred.notify(a,c)})},B.prototype.complete=function(){var c=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var a=this;setTimeout(function(){if(a.emit(c,a),a.emit("always",a),a.jqDeferred){var d=a.hasAnyBroken?"reject":"resolve";a.jqDeferred[d](a)}})},x&&(x.fn.imagesLoaded=function(c,a){var d=new B(this,c,a);return d.jqDeferred.promise(x(this))}),m.prototype=new A,m.prototype.check=function(){var c=y[this.img.src]||new w(this.img.src);if(c.isConfirmed){return this.confirm(c.isLoaded,"cached was confirmed"),void 0}if(this.img.complete&&void 0!==this.img.naturalWidth){return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0}var a=this;c.on("confirm",function(d,f){return a.confirm(d.isLoaded,f),!0}),c.check()}
24,m.prototype.confirm=function(c,a){this.isLoaded=c,this.emit("confirm",this,a)};var y={};return w.prototype=new A,w.prototype.check=function(){if(!this.isChecked){var a=new Image;j.bind(a,"load",this),j.bind(a,"error",this),a.src=this.src,this.isChecked=!0}},w.prototype.handleEvent=function(c){var a="on"+c.type;this[a]&&this[a](c)},w.prototype.onload=function(a){this.confirm(!0,"onload"),this.unbindProxyEvents(a)},w.prototype.onerror=function(a){this.confirm(!1,"onerror"),this.unbindProxyEvents(a)},w.prototype.confirm=function(c,a){this.isConfirmed=!0,this.isLoaded=c,this.emit("confirm",this,a)},w.prototype.unbindProxyEvents=function(a){j.unbind(a.target,"load",this),j.unbind(a.target,"error",this)},B});
25/*!
26 --------------------------------
27 Infinite Scroll
28 --------------------------------
29 + https://github.com/paulirish/infinite-scroll
30 + version 2.1.0
31 + Copyright 2011/12 Paul Irish & Luke Shumard
32 + Licensed under the MIT license
33 + Documentation: http://infinite-scroll.com/
34 */
35(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}})(function(c,a){c.infinitescroll=function(g,f,e){this.element=c(e);if(!this._create(g,f)){this.failed=true}};c.infinitescroll.defaults={loading:{finished:a,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oXHlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFh
35ohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSHMzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2G
35iqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:a},state:{isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,isBeyondMaxPage:false,currPage:1},debug:false,behavior:a,binder:c(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:false,pathParse:a,dataType:"html",appendCallback:true,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:a,path:a,prefill:false,maxPage:a};c.infinitescroll.prototype={_binding:function(g){var f=this,e=f.options;e.v="2.0b2.120520";if(!!e.behavior&&this["_binding_"+e.behavior]!==a){this["_binding_"+e.behavior].call(this);return}if(g!=="bind"&&g!=="unbind"){this._debug("Binding value  "+g+" not valid");return false}if(g==="unbind"){this.options.binder.unbind("smartscroll.infscr."+f.options.infid)}else{this.options.binder[g]("smartscroll.infscr."+f.options.infid,function(){f.scroll()})}this._debug("Binding",g)},_create:function(k,h){var j=c.extend(true,{},c.infinitescroll.defaults,k);this.options=j;var m=c(window);var g=this;if(!g._validate(k)){return false}var e=c(j.nextSelector).attr("href");if(!e){this._debug("Navigation selector not found");return false}j.path=j.path||this._determinepath(e);
35j.contentSelector=j.contentSelector||this.element;j.loading.selector=j.loading.selector||j.contentSelector;j.loading.msg=j.loading.msg||c('<div id="infscr-loading"><img alt="Loading..." src="'+j.loading.img+'" /><div>'+j.loading.msgText+"</div></div>");(new Image).src=j.loading.img;if(j.pixelsFromNavToBottom===a){j.pixelsFromNavToBottom=c(document).height()-c(j.navSelector).offset().top;this._debug("pixelsFromNavToBottom: "+j.pixelsFromNavToBottom)}var l=this;j.loading.start=j.loading.start||function(){c(j.navSelector).hide();j.loading.msg.appendTo(j.loading.selector).show(j.loading.speed,c.proxy(function(){this.beginAjax(j)},l))};j.loading.finished=j.loading.finished||function(){if(!j.state.isBeyondMaxPage){j.loading.msg.fadeOut(j.loading.speed)}};j.callback=function(o,i,f){if(!!j.behavior&&o["_callback_"+j.behavior]!==a){o["_callback_"+j.behavior].call(c(j.contentSelector)[0],i,f)}if(h){h.call(c(j.contentSelector)[0],i,j,f)}if(j.prefill){m.bind("resize.infinite-scroll",o._prefill)}};if(k.debug){if(Function.prototype.bind&&(typeof console==="object"||typeof console==="function")&&typeof console.log==="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(f){console[f]=this.call(console[f],console)},Function.prototype.bind)}}this._setup();if(j.prefill){this._prefill()}return true},_prefill:function(){function e(){return c(g.options.contentSelector).height()<=f.height()}var g=this;var f=c(window);this._prefill=function(){if(e()){g.scroll()}f.bind("resize.infinite-scroll",function(){if(e()){f.unbind("resize.infinite-scroll");g.scroll()}})};this._prefill()},_debug:function(){if(true!==this.options.debug){return}if(typeof console!=="undefined"&&typeof console.log==="function"){if(Array.prototype.slice.call(arguments).length===1&&typeof Array.prototype.slice.call(arguments)[0]==="string"){console.log(Array.prototype.slice.call(arguments).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else{if(!Function.prototype.bind&&typeof console!=="undefined"&&typeof console.log==="object"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}}},_determinepath:function(f){var e=this.options;if(!!e.behavior&&this["_determinepath_"+e.behavior]!==a){return this["_determinepath_"+e.behavior].call(this,f)}if(!!e.pathParse){this._debug("pathParse manual");return e.pathParse(f,this.options.state.currPage+1)}else{if(f.match(/^(.*?)\b2\b(.*?$)/)){f=f.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else{if(f.match(/^(.*?)2(.*?$)/)){if(f.match(/^(.*?page=)2(\/.*|$)/)){f=f.match(/^(.*?page=)2(\/.*|$)/).slice(1);return f}f=f.match(/^(.*?)2(.*?$)/).slice(1)}else{if(f.match(/^(.*?page=)1(\/.*|$)/)){f=f.match(/^(.*?page=)1(\/.*|$)/).slice(1);return f}else{this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");e.state.isInvalidPage=true}}}}this._debug("determinePath",f);return f},_error:function(f){var e=this.options;if(!!e.behavior&&this["_error_"+e.behavior]!==a){this["_error_"+e.behavior].call(this,f);return}if(f!=="destroy"&&f!=="end"){f="unknown"}this._debug("Error",f);if(f==="end"||e.state.isBeyondMaxPage){this._showdonemsg()}e.state.isDone=true;e.state.currPage=1;
35e.state.isPaused=false;e.state.isBeyondMaxPage=false;this._binding("unbind")},_loadcallback:function(e,j,q){var g=this.options,p=this.options.callback,n=g.state.isDone?"done":!g.appendCallback?"no-append":"append",k;if(!!g.behavior&&this["_loadcallback_"+g.behavior]!==a){this["_loadcallback_"+g.behavior].call(this,e,j);return}switch(n){case"done":this._showdonemsg();return false;case"no-append":if(g.dataType==="html"){j="<div>"+j+"</div>";j=c(j).find(g.itemSelector)}if(j.length===0){return this._error("end")}break;case"append":var h=e.children();if(h.length===0){return this._error("end")}k=document.createDocumentFragment();while(e[0].firstChild){k.appendChild(e[0].firstChild)}this._debug("contentSelector",c(g.contentSelector)[0]);c(g.contentSelector)[0].appendChild(k);j=h.get();break}g.loading.finished.call(c(g.contentSelector)[0],g);if(g.animate){var m=c(window).scrollTop()+c(g.loading.msg).height()+g.extraScrollPx+"px";c("html,body").animate({scrollTop:m},800,function(){g.state.isDuringAjax=false})}if(!g.animate){g.state.isDuringAjax=false}p(this,j,q);if(g.prefill){this._prefill()}},_nearbottom:function(){var f=this.options,e=0+c(document).height()-f.binder.scrollTop()-c(window).height();if(!!f.behavior&&this["_nearbottom_"+f.behavior]!==a){return this["_nearbottom_"+f.behavior].call(this)}this._debug("math:",e,f.pixelsFromNavToBottom);return e-f.bufferPx<f.pixelsFromNavToBottom},_pausing:function(f){var e=this.options;if(!!e.behavior&&this["_pausing_"+e.behavior]!==a){this["_pausing_"+e.behavior].call(this,f);return}if(f!=="pause"&&f!=="resume"&&f!==null){this._debug("Invalid argument. Toggling pause value instead")}f=f&&(f==="pause"||f==="resume")?f:"toggle";
35switch(f){case"pause":e.state.isPaused=true;break;case"resume":e.state.isPaused=false;break;case"toggle":e.state.isPaused=!e.state.isPaused;break}this._debug("Paused",e.state.isPaused);return false},_setup:function(){var e=this.options;if(!!e.behavior&&this["_setup_"+e.behavior]!==a){this["_setup_"+e.behavior].call(this);return}this._binding("bind");return false},_showdonemsg:function(){var e=this.options;if(!!e.behavior&&this["_showdonemsg_"+e.behavior]!==a){this["_showdonemsg_"+e.behavior].call(this);return}e.loading.msg.find("img").hide().parent().find("div").html(e.loading.finishedMsg).animate({opacity:1},2000,function(){c(this).parent().fadeOut(e.loading.speed)});e.errorCallback.call(c(e.contentSelector)[0],"done")},_validate:function(f){for(var e in f){if(e.indexOf&&e.indexOf("Selector")>-1&&c(f[e]).length===0){this._debug("Your "+e+" found no elements.");return false}}return true},bind:function(){this._binding("bind")},destroy:function(){this.options.state.isDestroyed=true;this.options.loading.finished();return this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(k){var h=this,j=k.path,m,g,e,l;k.state.currPage++;if(k.maxPage!==a&&k.state.currPage>k.maxPage){k.state.isBeyondMaxPage=true;this.destroy();return}m=c(k.contentSelector).is("table, tbody")?c("<tbody/>"):c("<div/>");g=typeof j==="function"?j(k.state.currPage):j.join(k.state.currPage);h._debug("heading into ajax",g);e=k.dataType==="html"||k.dataType==="json"?k.dataType:"html+callback";if(k.appendCallback&&k.dataType==="html"){e+="+callback"}switch(e){case"html+callback":h._debug("Using HTML via .load() method");m.load(g+" "+k.itemSelector,a,function(f){h._loadcallback(m,f,g)});break;case"html":h._debug("Using "+e.toUpperCase()+" via $.ajax() method");c.ajax({url:g,dataType:k.dataType,complete:function(f,i){l=typeof f.isResolved!=="undefined"?f.isResolved():i==="success"||i==="notmodified";if(l){h._loadcallback(m,f.responseText,g)}else{h._error("end")}}});break;case"json":h._debug("Using "+e.toUpperCase()+" via $.ajax() method");c.ajax({dataType:"json",type:"GET",url:g,success:function(o,p,i){l=typeof i.isResolved!=="undefined"?i.isResolved():p==="success"||p==="notmodified";if(k.appendCallback){if(k.template!==a){var f=k.template(o);m.append(f);if(l){h._loadcallback(m,f)}else{h._error("end")}}else{h._debug("template must be defined.");h._error("end")}}else{if(l){h._loadcallback(m,o,g)}else{h._error("end")}}},error:function(){h._debug("JSON ajax request failed.");h._error("end")}});break}},retrieve:function(g){g=g||null;var e=this,f=e.options;if(!!f.behavior&&this["retrieve_"+f.behavior]!==a){this["retrieve_"+f.behavior].call(this,g);return}
35if(f.state.isDestroyed){this._debug("Instance is destroyed");return false}f.state.isDuringAjax=true;f.loading.start.call(c(f.contentSelector)[0],f)},scroll:function(){var f=this.options,e=f.state;if(!!f.behavior&&this["scroll_"+f.behavior]!==a){this["scroll_"+f.behavior].call(this);return}if(e.isDuringAjax||e.isInvalidPage||e.isDone||e.isDestroyed||e.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(e){if(c.isPlainObject(e)){this.options=c.extend(true,this.options,e)}}};c.fn.infinitescroll=function(h,g){var e=typeof h;switch(e){case"string":var f=Array.prototype.slice.call(arguments,1);this.each(function(){var i=c.data(this,"infinitescroll");if(!i){return false}if(!c.isFunction(i[h])||h.charAt(0)==="_"){return false}i[h].apply(i,f)});break;case"object":this.each(function(){var i=c.data(this,"infinitescroll");if(i){i.update(h)}else{i=new c.infinitescroll(h,g,this);if(!i.failed){c.data(this,"infinitescroll",i)}}});break}return this};var d=c.event,b;d.special.smartscroll={setup:function(){c(this).bind("scroll",d.special.smartscroll.handler)},teardown:function(){c(this).unbind("scroll",d.special.smartscroll.handler)},handler:function(f,h){var e=this,g=arguments;f.type="smartscroll";if(b){clearTimeout(b)}b=setTimeout(function(){c(e).trigger("smartscroll",g)},h==="execAsap"?0:100)}};c.fn.smartscroll=function(f){return f?this.bind("smartscroll",f):this.trigger("smartscroll",["execAsap"])}});
36/*! Stellar.js v0.6.2 | Copyright 2014, Mark Dalgleish | http://markdalgleish.com/projects/stellar.js | http://markdalgleish.mit-license.org */
37!function(E,D,C,B){function A(a,d){this.element=a,this.options=E.extend({},y,d),this._defaults=y,this._name=z,this.init()}var z="stellar",y={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(b){b.hide()},showElement:function(b){b.show()}},x={scroll:{getLeft:function(b){return b.scrollLeft()},setLeft:function(d,c){d.scrollLeft(c)},getTop:function(b){return b.scrollTop()},setTop:function(d,c){d.scrollTop(c)}},position:{getLeft:function(b){return -1*parseInt(b.css("left"),10)},getTop:function(b){return -1*parseInt(b.css("top"),10)}},margin:{getLeft:function(b){return -1*parseInt(b.css("margin-left"),10)},getTop:function(b){return -1*parseInt(b.css("margin-top"),10)}},transform:{getLeft:function(d){var c=getComputedStyle(d[0])[u];return"none"!==c?-1*parseInt(c.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(d){var c=getComputedStyle(d[0])[u];return"none"!==c?-1*parseInt(c.match(/(-?[0-9]+)/g)[5],10):0}}},w={position:{setLeft:function(d,c){d.css("left",c)},setTop:function(d,c){d.css("top",c)}},transform:{setPosition:function(g,f,j,i,h){g[0].style[u]="translate3d("+(f-j)+"px, "+(i-h)+"px, 0)"}}},v=function(){var a,h=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,g=E("script")[0].style,f="";for(a in g){if(h.test(a)){f=a.match(h)[0];break}}return"WebkitOpacity" in g&&(f="Webkit"),"KhtmlOpacity" in g&&(f="Khtml"),function(b){return f+(f.length>0?b.charAt(0).toUpperCase()+b.slice(1):b)}}(),u=v("transform"),s=E("<div />",{style:"background:#fff"}).css("background-position-x")!==B,r=s?function(e,d,f){e.css({"background-position-x":d,"background-position-y":f})}:function(e,d,f){e.css("background-position",d+" "+f)},q=s?function(b){return[b.css("background-position-x"),b.css("background-position-y")]}:function(b){return b.css("background-position").split(" ")},p=D.requestAnimationFrame||D.webkitRequestAnimationFrame||D.mozRequestAnimationFrame||D.oRequestAnimationFrame||D.msRequestAnimationFrame||function(b){setTimeout(b,1000/60)};A.prototype={init:function(){this.options.name=z+"_"+Math.floor(1000000000*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===C.body&&(this.element=D),this.$scrollElement=E(this.element),this.$element=this.element===D?E("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==B?E(this.options.viewportElement):this.$scrollElement[0]===D||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var d=this,c=x[d.options.scrollProperty];this._getScrollLeft=function(){return c.getLeft(d.$scrollElement)},this._getScrollTop=function(){return c.getTop(d.$scrollElement)}},_defineSetters:function(){var a=this,j=x[a.options.scrollProperty],i=w[a.options.positionProperty],h=j.setLeft,g=j.setTop;this._setScrollLeft="function"==typeof h?function(b){h(a.$scrollElement,b)}
37:E.noop,this._setScrollTop="function"==typeof g?function(b){g(a.$scrollElement,b)}:E.noop,this._setPosition=i.setPosition||function(b,m,l,k,d){a.options.horizontalScrolling&&i.setLeft(b,m,l),a.options.verticalScrolling&&i.setTop(b,k,d)}},_handleWindowLoadAndResize:function(){var b=this,a=E(D);b.options.responsive&&a.bind("load."+this.name,function(){b.refresh()}),a.bind("resize."+this.name,function(){b._detectViewport(),b.options.responsive&&b.refresh()})},refresh:function(h){var g=this,b=g._getScrollLeft(),a=g._getScrollTop();h&&h.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),h&&h.firstLoad&&/WebKit/.test(navigator.userAgent)&&E(D).load(function(){var d=g._getScrollLeft(),c=g._getScrollTop();g._setScrollLeft(d+1),g._setScrollTop(c+1),g._setScrollLeft(d),g._setScrollTop(c)}),this._setScrollLeft(b),this._setScrollTop(a)},_detectViewport:function(){var d=this.$viewportElement.offset(),c=null!==d&&d!==B;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=c?d.top:0,this.viewportOffsetLeft=c?d.left:0},_findParticles:function(){var a=this;this._getScrollLeft(),this._getScrollTop();if(this.particles!==B){for(var d=this.particles.length-1;d>=0;d--){this.particles[d].$element.data("stellar-elementIsActive",B)}}this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var R,Q,P,O,N,M,L,K,J,I=E(this),H=0,G=0,F=0,b=0;if(I.data("stellar-elementIsActive")){if(I.data("stellar-elementIsActive")!==this){return}}else{I.data("stellar-elementIsActive",this)}a.options.showElement(I),I.data("stellar-startingLeft")?(I.css("left",I.data("stellar-startingLeft")),I.css("top",I.data("stellar-startingTop"))):(I.data("stellar-startingLeft",I.css("left")),I.data("stellar-startingTop",I.css("top"))),P=I.position().left,O=I.position().top,N="auto"===I.css("margin-left")?0:parseInt(I.css("margin-left"),10),M="auto"===I.css("margin-top")?0:parseInt(I.css("margin-top"),10),K=I.offset().left-N,J=I.offset().top-M,I.parents().each(function(){var c=E(this);return c.data("stellar-offset-parent")===!0?(H=F,G=b,L=c,!1):(F+=c.position().left,void (b+=c.position().top))}),R=I.data("stellar-horizontal-offset")!==B?I.data("stellar-horizontal-offset"):L!==B&&L.data("stellar-horizontal-offset")!==B?L.data("stellar-horizontal-offset"):a.horizontalOffset,Q=I.data("stellar-vertical-offset")!==B?I.data("stellar-vertical-offset"):L!==B&&L.data("stellar-vertical-offset")!==B?L.data("stellar-vertical-offset"):a.verticalOffset,a.particles.push({$element:I,$offsetParent:L,isFixed:"fixed"===I.css("position"),horizontalOffset:R,verticalOffset:Q,startingPositionLeft:P,startingPositionTop:O,startingOffsetLeft:K,startingOffsetTop:J,parentOffsetLeft:H,parentOffsetTop:G,stellarRatio:I.data("stellar-ratio")!==B?I.data("stellar-ratio"):1,width:I.outerWidth(!0),height:I.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var a,h=this,g=this._getScrollLeft(),d=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(a=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(a=a.add(this.$element)),a.each(function(){var K,J,I,H,G,F,n,m=E(this),f=q(m),e=0,c=0,M=0,L=0;if(m.data("stellar-backgroundIsActive")){if(m.data("stellar-backgroundIsActive")!==this){return}}else{m.data("stellar-backgroundIsActive",this)}m.data("stellar-backgroundStartingLeft")?r(m,m.data("stellar-backgroundStartingLeft"),m.data("stellar-backgroundStartingTop")):(m.data("stellar-backgroundStartingLeft",f[0]),m.data("stellar-backgroundStartingTop",f[1])),I="auto"===m.css("margin-left")?0:parseInt(m.css("margin-left"),10),H="auto"===m.css("margin-top")?0:parseInt(m.css("margin-top"),10),G=m.offset().left-I-g,F=m.offset().top-H-d,m.parents().each(function(){var i=E(this);return i.data("stellar-offset-parent")===!0?(e=M,c=L,n=i,!1):(M+=i.position().left,void (L+=i.position().top))}),K=m.data("stellar-horizontal-offset")!==B?m.data("stellar-horizontal-offset"):n!==B&&n.data("stellar-horizontal-offset")!==B?n.data("stellar-horizontal-offset"):h.horizontalOffset,J=m.data("stellar-vertical-offset")!==B?m.data("stellar-vertical-offset"):n!==B&&n.data("stellar-vertical-offset")!==B?n.data("stellar-vertical-offset"):h.verticalOffset,h.backgrounds.push({$element:m,$offsetParent:n,isFixed:"fixed"===m.css("background-attachment"),horizontalOffset:K,verticalOffset:J,startingValueLeft:f[0],startingValueTop:f[1],startingBackgroun
37dPositionLeft:isNaN(parseInt(f[0],10))?0:parseInt(f[0],10),startingBackgroundPositionTop:isNaN(parseInt(f[1],10))?0:parseInt(f[1],10),startingPositionLeft:m.position().left,startingPositionTop:m.position().top,startingOffsetLeft:G,startingOffsetTop:F,parentOffsetLeft:e,parentOffsetTop:c,stellarRatio:m.data("stellar-background-ratio")===B?1:m.data("stellar-background-ratio")})}))},_reset:function(){var g,f,j,i,h;for(h=this.particles.length-1;h>=0;h--){g=this.particles[h],f=g.$element.data("stellar-startingLeft"),j=g.$element.data("stellar-startingTop"),this._setPosition(g.$element,f,f,j,j),this.options.showElement(g.$element),g.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null)}for(h=this.backgrounds.length-1;h>=0;h--){i=this.backgrounds[h],i.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),r(i.$element,i.startingValueLeft,i.startingValueTop)}},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=E.noop,E(D).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var b=this,a=E(D);a.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),a.bind("resize.horizontal-"+this.name,function(){b.horizontalOffset=b.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),a.bind("resize.vertical-"+this.name,function(){b.verticalOffset=b.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var R,Q,P,O,N,M,L,K,J,I,H=this._getScrollLeft(),G=this._getScrollTop(),F=!0,m=!0;if(this.currentScrollLeft!==H||this.currentScrollTop!==G||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=H,this.currentScrollTop=G,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,I=this.particles.length-1;I>=0;I--){R=this.particles[I],Q=R.isFixed?1:0,this.options.horizontalScrolling?(M=(H+R.horizontalOffset+this.viewportOffsetLeft+R.startingPositionLeft-R.startingOffsetLeft+R.parentOffsetLeft)*-(R.stellarRatio+Q-1)+R.startingPositionLeft,K=M-R.startingPositionLeft+R.startingOffsetLeft):(M=R.startingPositionLeft,K=R.startingOffsetLeft),this.options.verticalScrolling?(L=(G+R.verticalOffset+this.viewportOffsetTop+R.startingPositionTop-R.startingOffsetTop+R.parentOffsetTop)*-(R.stellarRatio+Q-1)+R.startingPositionTop,J=L-R.startingPositionTop+R.startingOffsetTop):(L=R.startingPositionTop,J=R.startingOffsetTop),this.options.hideDistantElements&&(m=!this.options.horizontalScrolling||K+R.width>(R.isFixed?0:H)&&K<(R.isFixed?0:H)+this.viewportWidth+this.viewportOffsetLeft,F=!this.options.verticalScrolling||J+R.height>(R.isFixed?0:G)&&J<(R.isFixed?0:G)+this.viewportHeight+this.viewportOffsetTop),m&&F?(R.isHidden&&(this.options.showElement(R.$element),R.isHidden=!1),this._setPosition(R.$element,M,R.startingPositionLeft,L,R.startingPositionTop)):R.isHidden||(this.options.hideElement(R.$element),R.isHidden=!0)}for(I=this.backgrounds.length-1;I>=0;I--){P=this.backgrounds[I],Q=P.isFixed?0:1,O=this.options.horizontalScrolling?(H+P.horizontalOffset-this.viewportOffsetLeft-P.startingOffsetLeft+P.parentOffsetLeft-P.startingBackgroun
37dPositionLeft)*(Q-P.stellarRatio)+"px":P.startingValueLeft,N=this.options.verticalScrolling?(G+P.verticalOffset-this.viewportOffsetTop-P.startingOffsetTop+P.parentOffsetTop-P.startingBackgroundPositionTop)*(Q-P.stellarRatio)+"px":P.startingValueTop,r(P.$element,O,N)}}},_handleScrollEvent:function(){var f=this,e=!1,h=function(){f._repositionElements(),e=!1},g=function(){e||(p(h),e=!0)};this.$scrollElement.bind("scroll."+this.name,g),g()},_startAnimationLoop:function(){var b=this;this._animationLoop=function(){p(b._animationLoop),b._repositionElements()},this._animationLoop()}},E.fn[z]=function(a){var d=arguments;return a===B||"object"==typeof a?this.each(function(){E.data(this,"plugin_"+z)||E.data(this,"plugin_"+z,new A(this,a))}):"string"==typeof a&&"_"!==a[0]&&"init"!==a?this.each(function(){var b=E.data(this,"plugin_"+z);b instanceof A&&"function"==typeof b[a]&&b[a].apply(b,Array.prototype.slice.call(d,1)),"destroy"===a&&E.data(this,"plugin_"+z,null)}):void 0},E[z]=function(){var a=E(D);return a.stellar.apply(a,Array.prototype.slice.call(arguments,0))},E[z].scrollProperty=x,E[z].positionProperty=w,D.Stellar=A}(jQuery,this,document);!function(d){function b(){var g=location.href;return hashtag=-1!==g.indexOf("#prettyPhoto")?decodeURI(g.substring(g.indexOf("#prettyPhoto")+1,g.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function a(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function c(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function f(k,h){k=k.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var g="[\\?&]"+k+"=([^&#]*)",j=new RegExp(g),l=j.exec(h);return null==l?"":l[1]}d.prettyPhoto={version:"3.1.6"},d.fn.prettyPhoto=function(R){function C(){d(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(p/2-M.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:M.contentHeight,width:M.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:J/2-M.containerWidth/2<0?0:J/2-M.containerWidth/2,width:M.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(M.height).width(M.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==K(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(M.resized?d("a.pp_expand,a.pp_contract").show():d("a.pp_expand").hide()),!settings.autoplay_slideshow||i||A||d.prettyPhoto.startSlideshow(),settings.changepicturecallback(),A=!0}),F(),R.ajaxcallback()}function E(g){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){d(".pp_loaderIcon").show(),g()})}function D(g){g>1?d(".pp_nav").show():d(".pp_nav").hide()}function G(h,g){if(resized=!1,N(h,g),imageWidth=h,imageHeight=g,(H>J||Q>p)&&doresize&&settings.allow_resize&&!e){for(resized=!0,fitting=!1;!fitting;){H>J?(imageWidth=J-200,imageHeight=g/h*imageWidth):Q>p?(imageHeight=p-200,imageWidth=h/g*imageHeight):fitting=!0,Q=imageHeight,H=imageWidth}(H>J||Q>p)&&G(H,Q),N(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(Q),containerWidth:Math.floor(H)+2*settings.horizontal_padding,contentHeight:Math.floor(o),contentWidth:Math.floor(z),resized:resized}}function N(h,g){h=parseFloat(h),g=parseFloat(g),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(h),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(h).appendTo(d("body")).css({position:"absolute",top:-10000}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(h),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(d("body")).css({position:"absolute",top:-10000}),titleHeight+=$pp_title.height(),$pp_title.remove(),o=g+detailsHeight,z=h,Q=o+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),H=h}function K(g){return g.match(/youtube\.com\/watch/i)||g.match(/youtu\.be/i)?"youtube":g.match(/vimeo\.com/i)?"vimeo":g.match(/\b.mov\b/i)?"quicktime":g.match(/\b.swf\b/i)?"flash":g.match(/\biframe=true\b/i)?"
37iframe":g.match(/\bajax=true\b/i)?"ajax":g.match(/\bcustom=true\b/i)?"custom":"#"==g.substr(0,1)?"inline":"image"}function O(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=S(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=p/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>p){return}$pp_pic_holder.css({top:projectedTop,left:J/2+scroll_pos.scrollLeft-contentwidth/2})}}function S(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function L(){p=d(window).height(),J=d(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(d(document).height()).width(J)}function F(){isSet&&settings.overlay_gallery&&"image"==K(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((M.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,d.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}function B(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),d("body").append(settings.markup),$pp_pic_holder=d(".pp_pic_holder"),$ppt=d(".ppt"),$pp_overlay=d("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var g=0;g<pp_images.length;g++){pp_images[g].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",img_src=pp_images[g]):(classname="default",img_src=""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=d(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return d.prettyPhoto.changeGalleryPage("next"),d.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return d.prettyPhoto.changeGalleryPage("previous"),d.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(h){d(this).find("a").click(function(){return d.prettyPhoto.changePage(h),d.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return d.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:d(document).height(),width:d(window).width()}).bind("click",function(){settings.modal||d.prettyPhoto.close()}),d("a.pp_close").bind("click",function(){return d.prettyPhoto.close(),!1}),settings.allow_expand&&d("a.pp_expand").bind("click",function(){return d(this).hasClass("pp_expand")?(d(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(d(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),E(function(){d.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return d.prettyPhoto.changePage("previous"),d.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return d.prettyPhoto.changePage("next"),d.prettyPhoto.stopSlideshow(),!1}),O()}R=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5000,autoplay_slideshow:!1,opacity:0.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder"> 						<div class="ppt">&nbsp;</div> 						<div class="pp_top"> 							<div class="pp_left"></div> 							<div class="pp_middle"></div> 							<div class="pp_right"></div> 						</div> 						<div class="pp_content_container"> 							<div class="pp_left"> 							<div class="pp_right"> 								<div class="pp_content"> 									<div class="pp_loaderIcon"></div> 									<div class="pp_fade"> 										<a href="#" class="pp_expand" title="Expand the image">Expand</a> 										<div class="pp_hoverContainer"> 											<a class="pp_next" href="#">next</a> 											<a class="pp_previous" href="#">previous</a> 										</div> 										<div id="pp_full_res"></div> 										<div class="pp_details"> 											<div class="pp_nav"> 												<a href="#" class="pp_arrow_previous">Previous</a> 												<p class="currentTextHolder">0/0</p> 												<a href="#" class="pp_arrow_next">Next</a> 											</div> 											<p class="pp_description"></p> 											<div class="pp_social">{pp_social}</div> 											<a class="pp_close" href="#">Close</a> 										</div> 									</div> 								</div> 							</div> 							</div> 						</div> 						<div class="pp_bottom"> 							<div class="pp_left"></div> 							<div class="pp_middle"></div> 							<div class="pp_right"></div> 						</div> 					</div> 					<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> 								<a href="#" class="pp_arrow_previous">Previous</a> 								<div> 									<ul> 										{gallery} 									</ul> 								</div> 								<a href="#" class="pp_arrow_next">Next</a> 							</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},R);var M,A,o,z,Q,H,i,q=this,e=!1,p=d(window).height(),J=d(window).width();return doresize=!0,scroll_pos=S(),d(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){O(),L()}
37),R.keyboard_shortcuts&&d(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(g){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible")){switch(g.keyCode){case 37:d.prettyPhoto.changePage("previous"),g.preventDefault();break;case 39:d.prettyPhoto.changePage("next"),g.preventDefault();break;case 27:settings.modal||d.prettyPhoto.close(),g.preventDefault()}}}),d.prettyPhoto.initialize=function(){return settings=R,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=d(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(q,function(g){return -1!=d(g).attr(settings.hook).indexOf(theRel)?d(g).attr("href"):void 0}):d.makeArray(d(this).attr("href")),pp_titles=isSet?jQuery.map(q,function(g){return -1!=d(g).attr(settings.hook).indexOf(theRel)?d(g).find("img").attr("alt")?d(g).find("img").attr("alt"):"":void 0}):d.makeArray(d(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(q,function(g){return -1!=d(g).attr(settings.hook).indexOf(theRel)?d(g).attr("title")?d(g).attr("title"):"":void 0}):d.makeArray(d(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(d(this).attr("href"),pp_images),rel_index=isSet?set_position:d("a["+settings.hook+"^='"+theRel+"']").index(d(this)),B(this),settings.allow_resize&&d(window).bind("scroll.prettyphoto",function(){O()}),d.prettyPhoto.open(),!1},d.prettyPhoto.open=function(g){return"undefined"==typeof settings&&(settings=R,pp_images=d.makeArray(arguments[0]),pp_titles=d.makeArray(arguments[1]?arguments[1]:""),pp_descriptions=d.makeArray(arguments[2]?arguments[2]:""),isSet=pp_images.length>1?!0:!1,set_position=arguments[3]?arguments[3]:0,B(g.target)),settings.hideflash&&d("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),D(d(pp_images).size()),d(".pp_loaderIcon").show(),settings.deeplinking&&a(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+d(pp_images).size()),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(f("width",pp_images[set_position]))?f("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(f("height",pp_images[set_position]))?f("height",pp_images[set_position]):settings.default_height.toString(),e=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(d(window).height()*parseFloat(movie_height)/100-150),e=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(d(window).width()*parseFloat(movie_width)/100-150),e=!0),$pp_pic_holder.fadeIn(function(){switch($ppt.html(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?unescape(pp_titles[set_position]):"&nbsp;"),imgPreloader="",skipInjection=!1,K(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<d(pp_images).size()-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){M=G(imgPreloader.width,imgPreloader.height),C()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),d.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":M=G(movie_width,movie_height),movie_id=f("v",pp_images[set_position]),""==movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],movie_id.indexOf("?")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="http://www.youtube.com/embed/"+movie_id,movie+=f("rel",pp_images[set_position])?"?rel="+f("rel",pp_images[set_position]):"?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,M.width).replace(/{height}/g,M.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":M=G(movie_width,movie_height),movie_id=pp_images[set_position];var j=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,h=movie_id.match(j);movie="http://player.vimeo.com/video/"+h[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=M.width+"/embed/?moog_width="+M.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,M.height).replace(/{path}/g,movie);break;case"quicktime":M=G(movie_width,movie_height),M.height+=15,M.contentHeight+=15,M.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,M.width).replace(/{height}/g,M.height).replace(/{wmode}/g,settings.wmode).replace(/{path}
37/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":M=G(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,M.width).replace(/{height}/g,M.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":M=G(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,M.width).replace(/{height}/g,M.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,M=G(movie_width,movie_height),doresize=!0,skipInjection=!0,d.get(pp_images[set_position],function(k){toInject=settings.inline_markup.replace(/{content}/g,k),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,C()});break;case"custom":M=G(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=d(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(d("body")).show(),doresize=!1,M=G(d(myClone).width(),d(myClone).height()),doresize=!0,d(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,d(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,C())}),!1},d.prettyPhoto.changePage=function(g){currentGalleryPage=0,"previous"==g?(set_position--,set_position<0&&(set_position=d(pp_images).size()-1)):"next"==g?(set_position++,set_position>d(pp_images).size()-1&&(set_position=0)):set_position=g,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&d(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),E(function(){d.prettyPhoto.open()})},d.prettyPhoto.changeGalleryPage=function(g){"next"==g?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==g?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=g,slide_speed="next"==g||"previous"==g?settings.animation_speed:0,slide_to=currentGalleryPage*itemsPerPage*itemWidth,$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},d.prettyPhoto.startSlideshow=function(){"undefined"==typeof i?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return d.prettyPhoto.stopSlideshow(),!1}),i=setInterval(d.prettyPhoto.startSlideshow,settings.slideshow)):d.prettyPhoto.changePage("next")},d.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return d.prettyPhoto.startSlideshow(),!1}),clearInterval(i),i=void 0},d.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(d.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),d("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){d(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&d("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),d(this).remove(),d(window).unbind("scroll.prettyphoto"),c(),settings.callback(),doresize=!0,A=!1,delete settings}))},!pp_alreadyInitialized&&b()&&(pp_alreadyInitialized=!0,hashIndex=b(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){d("a["+R.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",d.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;!function t(d,g,c){function f(h,j){if(!g[h]){if(!d[h]){var e="function"==typeof require&&require;if(!j&&e){return e(h,!0)}if(b){return b(h,!0)}var k=new Error("Cannot find module '"+h+"'");throw k.code="MODULE_NOT_FOUND",k}var i=g[h]={exports:{}};d[h][0].call(i.exports,function(l){var m=d[h][1][l];return f(m?m:l)},i,i.exports,t,d,g,c)}return g[h].exports}for(var b="function"==typeof require&&require,a=0;a<c.length;a++){f(c[a])}return f}({1:[function(b,d){function g(e){e.fn.perfectScrollbar=function(h){return this.each(function(){if("object"==typeof h||"undefined"==typeof h){var k=h;f.get(this)||c.initialize(this,k)}else{var j=h;"update"===j?c.update(this):"destroy"===j&&c.destroy(this)}return e(this)})}}var c=b("../main"),f=b("../plugin/instances");if("function"==typeof define&&define.amd){define(["jquery"],g)}else{var a=window.jQuery?window.jQuery:window.$;"undefined"!=typeof a&&g(a)}d.exports=g},{"../main":7,"../plugin/instances":18}],2:[function(a,c,f){function b(g,h){var i=g.className.split(" ");i.indexOf(h)<0&&i.push(h),g.className=i.join(" ")}function d(g,i){var j=g.className.split(" "),h=j.indexOf(i);h>=0&&j.splice(h,1),g.className=j.join(" ")}f.add=function(g,h){g.classList?g.classList.add(h):b(g,h)},f.remove=function(g,h){g.classList?g.classList.remove(h):d(g,h)},f.list=function(e){return e.classList?e.classList:e.className.split(" ")}},{}],3:[function(b,d,g){function c(h,i){return window.getComputedStyle(h)[i]}function f(h,i,j){return"number"==typeof j&&(j=j.toString()+"px"),h.style[i]=j,h}function a(h,j){for(var k in j){var i=j[k];"number"==typeof i&&(i=i.toString()+"px"),h.style[k]=i}return h}g.e=function(h,i){var j=document.createElement(h);return j.className=i,j},g.appendTo=function(h,i){return i.appendChild(h),h},g.css=function(h,i,j){return"object"==typeof i?a(h,i):"undefined"==typeof j?c(h,i):f(h,i,j)},g.matches=function(h,i){return"undefined"!=typeof h.matches?h.matches(i):"undefined"!=typeof h.matchesSelector?h.matchesSelector(i):"undefined"!=typeof h.webkitMatchesSelector?h.webkitMatchesSelector(i):"undefined"!=typeof h.mozMatchesSelector?h.mozMatchesSelector(i):"undefined"!=typeof h.msMatchesSelector?h.msMatchesSelector(i):void 0},g.remove=function(e){"undefined"!=typeof e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}},{}],4:[function(a,c){var d=function(e){this.element=e,this.events={}};d.prototype.bind=function(f,g){"undefined"==typeof this.events[f]&&(this.events[f]=[]),this.events[f].push(g),this.element.addEventListener(f,g,!1)},d.prototype.unbind=function(f,g){var h="undefined"!=typeof g;this.events[f]=this.events[f].filter(function(e){return h&&e!==g?!0:(this.element.removeEventListener(f,e,!1),!1)},this)},d.prototype.unbindAll=function(){for(var e in this.events){this.unbind(e)}};var b=function(){this.eventElements=[]};b.prototype.eventElement=function(f){var g=this.eventElements.filter(function(h){return h.element===f})[0];
37return"undefined"==typeof g&&(g=new d(f),this.eventElements.push(g)),g},b.prototype.bind=function(f,g,h){this.eventElement(f).bind(g,h)},b.prototype.unbind=function(f,g,h){this.eventElement(f).unbind(g,h)},b.prototype.unbindAll=function(){for(var e=0;e<this.eventElements.length;e++){this.eventElements[e].unbindAll()}},b.prototype.once=function(f,h,j){var g=this.eventElement(f),i=function(e){g.unbind(h,i),j(e)};g.bind(h,i)},c.exports=b},{}],5:[function(a,b){b.exports=function(){function c(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return c()+c()+"-"+c()+"-"+c()+"-"+c()+"-"+c()+c()+c()}}()},{}],6:[function(a,c,f){var b=a("./class"),d=a("./dom");f.toInt=function(e){return"string"==typeof e?parseInt(e,10):~~e},f.clone=function(g){if(null===g){return null}if("object"==typeof g){var h={};for(var i in g){h[i]=this.clone(g[i])}return h}return g},f.extend=function(g,i){var j=this.clone(g);for(var h in i){j[h]=this.clone(i[h])}return j},f.isEditable=function(e){return d.matches(e,"input,[contenteditable]")||d.matches(e,"select,[contenteditable]")||d.matches(e,"textarea,[contenteditable]")||d.matches(e,"button,[contenteditable]")},f.removePsClasses=function(g){for(var h=b.list(g),j=0;j<h.length;j++){var i=h[j];0===i.indexOf("ps-")&&b.remove(g,i)}},f.outerWidth=function(e){return this.toInt(d.css(e,"width"))+this.toInt(d.css(e,"paddingLeft"))+this.toInt(d.css(e,"paddingRight"))+this.toInt(d.css(e,"borderLeftWidth"))+this.toInt(d.css(e,"borderRightWidth"))},f.startScrolling=function(g,h){b.add(g,"ps-in-scrolling"),"undefined"!=typeof h?b.add(g,"ps-"+h):(b.add(g,"ps-x"),b.add(g,"ps-y"))},f.stopScrolling=function(g,h){b.remove(g,"ps-in-scrolling"),"undefined"!=typeof h?b.remove(g,"ps-"+h):(b.remove(g,"ps-x"),b.remove(g,"ps-y"))},f.env={isWebKit:"WebkitAppearance" in document.documentElement.style,supportsTouch:"ontouchstart" in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(a,c){var f=a("./plugin/destroy"),b=a("./plugin/initialize"),d=a("./plugin/update");c.exports={initialize:b,update:d,destroy:f}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":20}],8:[function(a,b){b.exports={wheelSpeed:1,wheelPropagation:!1,swipePropagation:!0,minScrollbarLength:null,maxScrollbarLength:null,useBothWheelAxes:!1,useKeyboard:!0,suppressScrollX:!1,suppressScrollY:!1,scrollXMarginOffset:0,scrollYMarginOffset:0}},{}],9:[function(a,c){var f=a("../lib/dom"),b=a("../lib/helper"),d=a("./instances");c.exports=function(g){var h=d.get(g);h.event.unbindAll(),f.remove(h.scrollbarX),f.remove(h.scrollbarY),f.remove(h.scrollbarXRail),f.remove(h.scrollbarYRail),b.removePsClasses(g),d.remove(g)}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(b,d){function g(h,i){function k(e){return e.getBoundingClientRect()}var j=window.Event.prototype.stopPropagation.bind;i.event.bind(i.scrollbarY,"click",j),i.event.bind(i.scrollbarYRail,"click",function(p){var m=c.toInt(i.scrollbarYHeight/2),n=p.pageY-k(i.scrollbarYRail).top-m,e=i.containerHeight-i.scrollbarYHeight,q=n/e;0>q?q=0:q>1&&(q=1),h.scrollTop=(i.contentHeight-i.containerHeight)*q,a(h)}),i.event.bind(i.scrollbarX,"click",j),i.event.bind(i.scrollbarXRail,"click",function(p){var m=c.toInt(i.scrollbarXWidth/2),n=p.pageX-k(i.scrollbarXRail).left-m;console.log(p.pageX,i.scrollbarXRail.offsetLeft);var e=i.containerWidth-i.scrollbarXWidth,q=n/e;0>q?q=0:q>1&&(q=1),h.scrollLeft=(i.contentWidth-i.containerWidth)*q,a(h)})}var c=b("../../lib/helper"),f=b("../instances"),a=b("../update-geometry");d.exports=function(h){var i=f.get(h);g(h,i)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19}],11:[function(c,g){function j(m,p){function s(v){var u=o+v,e=p.containerWidth-p.scrollbarXWidth;p.scrollbarXLeft=0>u?0:u>e?e:u;var r=b.toInt(p.scrollbarXLeft*(p.contentWidth-p.containerWidth)/(p.containerWidth-p.scrollbarXWidth));m.scrollLeft=r}var o=null,k=null,i=function(l){s(l.pageX-k),d(m),l.stopPropagation(),l.preventDefault()},q=function(){b.stopScrolling(m,"x"),p.event.unbind(p.ownerDocument,"mousemove",i)};p.event.bind(p.scrollbarX,"mousedown",function(e){k=e.pageX,o=b.toInt(h.css(p.scrollbarX,"left")),b.startScrolling(m,"x"),p.event.bind(p.ownerDocument,"mousemove",i),p.event.once(p.ownerDocument,"mouseup",q),e.stopPropagation(),e.preventDefault()})}function f(m,p){function s(v){var u=o+v,e=p.containerHeight-p.scrollbarYHeight;p.scrollbarYTop=0>u?0:u>e?e:u;var r=b.toInt(p.scrollbarYTop*(p.contentHeight-p.containerHeight)/(p.containerHeight-p.scrollbarYHeight));m.scrollTop=r}var o=null,k=null,i=function(l){s(l.pageY-k),d(m),l.stopPropagation(),l.preventDefault()},q=function(){b.stopScrolling(m,"y"),p.event.unbind(p.ownerDocument,"mousemove",i)};p.event.bind(p.scrollbarY,"mousedown",function(e){k=e.pageY,o=b.toInt(h.css(p.scrollbarY,"top")),b.startScrolling(m,"y"),p.event.bind(p.ownerDocument,"mousemove",i),p.event.once(p.ownerDocument,"mouseup",q),e.stopPropagation(),e.preventDefault()})}var h=c("../../lib/dom"),b=c("../../lib/helper"),a=c("../instances"),d=c("../update-geometry");g.exports=function(i){var k=a.get(i);j(i,k),f(i,k)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19}],12:[function(b,d){function g(i,j){function m(q,l){var p=i.scrollTop;if(0===q){if(!j.scrollbarYActive){return !1}if(0===p&&l>0||p>
37=j.contentHeight-j.containerHeight&&0>l){return !j.settings.wheelPropagation}}var e=i.scrollLeft;if(0===l){if(!j.scrollbarXActive){return !1}if(0===e&&0>q||e>=j.contentWidth-j.containerWidth&&q>0){return !j.settings.wheelPropagation}}return !0}var k=!1;j.event.bind(i,"mouseenter",function(){k=!0}),j.event.bind(i,"mouseleave",function(){k=!1});var h=!1;j.event.bind(j.ownerDocument,"keydown",function(n){if((!n.isDefaultPrevented||!n.isDefaultPrevented())&&k){var e=document.activeElement?document.activeElement:j.ownerDocument.activeElement;if(e){for(;e.shadowRoot;){e=e.shadowRoot.activeElement}if(c.isEditable(e)){return}}var o=0,l=0;switch(n.which){case 37:o=-30;break;case 38:l=30;break;case 39:o=30;break;case 40:l=-30;break;case 33:l=90;break;case 32:case 34:l=-90;break;case 35:l=n.ctrlKey?-j.contentHeight:-j.containerHeight;break;case 36:l=n.ctrlKey?i.scrollTop:j.containerHeight;break;default:return}i.scrollTop=i.scrollTop-l,i.scrollLeft=i.scrollLeft+o,a(i),h=m(o,l),h&&n.preventDefault()}})}var c=b("../../lib/helper"),f=b("../instances"),a=b("../update-geometry");d.exports=function(h){var i=f.get(h);g(h,i)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19}],13:[function(b,d){function g(j,m){function q(u,l){var s=j.scrollTop;if(0===u){if(!m.scrollbarYActive){return !1}if(0===s&&l>0||s>=m.contentHeight-m.containerHeight&&0>l){return !m.settings.wheelPropagation}}var e=j.scrollLeft;if(0===l){if(!m.scrollbarXActive){return !1}if(0===e&&0>u||e>=m.contentWidth-m.containerWidth&&u>0){return !m.settings.wheelPropagation}}return !0}function p(l){var o=l.deltaX,r=-1*l.deltaY;return("undefined"==typeof o||"undefined"==typeof r)&&(o=-1*l.wheelDeltaX/6,r=l.wheelDeltaY/6),l.deltaMode&&1===l.deltaMode&&(o*=10,r*=10),o!==o&&r!==r&&(o=0,r=l.wheelDelta),[o,r]}function i(u,w){var s=j.querySelector("textarea:hover");if(s){var v=s.scrollHeight-s.clientHeight;if(v>0&&!(0===s.scrollTop&&w>0||s.scrollTop===v&&0>w)){return !0}var l=s.scrollLeft-s.clientWidth;if(l>0&&!(0===s.scrollLeft&&0>u||s.scrollLeft===l&&u>0)){return !0}}return !1}function k(l){if(c.env.isWebKit||!j.querySelector("select:focus")){var o=p(l),e=o[0],n=o[1];i(e,n)||(h=!1,m.settings.useBothWheelAxes?m.scrollbarYActive&&!m.scrollbarXActive?(j.scrollTop=n?j.scrollTop-n*m.settings.wheelSpeed:j.scrollTop+e*m.settings.wheelSpeed,h=!0):m.scrollbarXActive&&!m.scrollbarYActive&&(j.scrollLeft=e?j.scrollLeft+e*m.settings.wheelSpeed:j.scrollLeft-n*m.settings.wheelSpeed,h=!0):(j.scrollTop=j.scrollTop-n*m.settings.wheelSpeed,j.scrollLeft=j.scrollLeft+e*m.settings.wheelSpeed),a(j),h=h||q(e,n),h&&(l.stopPropagation(),l.preventDefault()))}}var h=!1;"undefined"!=typeof window.onwheel?m.event.bind(j,"wheel",k):"undefined"!=typeof window.onmousewheel&&m.event.bind(j,"mousewheel",k)}var c=b("../../lib/helper"),f=b("../instances"),a=b("../update-geometry");d.exports=function(h){var i=f.get(h);g(h,i)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19}],14:[function(a,c){function f(g,h){h.event.bind(g,"scroll",function(){d(g)})}var b=a("../instances"),d=a("../update-geometry");c.exports=function(g){var h=b.get(g);f(g,h)}},{"../instances":18,"../update-geometry":19}],15:[function(b,d){function g(k,o){function q(){var e=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===e.toString().length?null:e.getRangeAt(0).commonAncestorContainer}function i(){h||(h=setInterval(function(){return f.get(k)?(k.scrollTop=k.scrollTop+p.top,k.scrollLeft=k.scrollLeft+p.left,void a(k)):void clearInterval(h)},50))}function m(){h&&(clearInterval(h),h=null),c.stopScrolling(k)}var h=null,p={top:0,left:0},j=!1;o.event.bind(o.ownerDocument,"selectionchange",function(){k.contains(q())?j=!0:(j=!1,m())}),o.event.bind(window,"mouseup",function(){j&&(j=!1,m())}),o.event.bind(window,"mousemove",function(l){if(j){var s={x:l.pageX,y:l.pageY},r={left:k.offsetLeft,right:k.offsetLeft+k.offsetWidth,top:k.offsetTop,bottom:k.offsetTop+k.offsetHeight};s.x<r.left+3?(p.left=-5,c.startScrolling(k,"x")):s.x>r.right-3?(p.left=5,c.startScrolling(k,"x")):p.left=0,s.y<r.top+3?(p.top=r.top+3-s.y<5?-5:-20,c.startScrolling(k,"y")):s.y>r.bottom-3?(p.top=s.y-r.bottom+3<5?5:20,c.startScrolling(k,"y")):p.top=0,0===p.top&&0===p.left?m():i()}})}var c=b("../../lib/helper"),f=b("../instances"),a=b("../update-geometry");d.exports=function(h){var i=f.get(h);g(h,i)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19}],16:[function(a,c){function f(r,H,A,D){function C(u,m){var p=r.scrollTop,g=r.scrollLeft,e=Math.abs(u),h=Math.abs(m);if(h>e){if(0>m&&p===H.contentHeight-H.containerHeight||m>0&&0===p){return !H.settings.swipePropagation}}else{if(e>h&&(0>u&&g===H.contentWidth-H.containerWidth||u>0&&0===g)){return !H.settings.swipePropagation}}return !0}function x(g,h){r.scrollTop=r.scrollTop-h,r.scrollLeft=r.scrollLeft-g,d(r)}function L(){k=!0}function J(){k=!1}function q(e){return e.targetTouches?e.targetTouches[0]:e}function I(e){return e.targetTouches&&1===e.targetTouches.length?!0:e.pointerType&&"mouse"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE?!0:!1}function z(g){if(I(g)){j=!0;var h=q(g);K.pageX=h.pageX,K.pageY=h.pageY,F=(new Date).getTime(),null!==B&&clearInterval(B),g.stopPropagation()}}function G(l){if(!k&&j&&I(l)){var p=q(l),u={pageX:p.pageX,pageY:p.pageY},m=u.pageX-K.pageX,s=u.pageY-K.pageY;x(m,s),K=u;var h=(new Date).getTime(),g=h-F;g>
370&&(o.x=m/g,o.y=s/g,F=h),C(m,s)&&(l.stopPropagation(),l.preventDefault())}}function E(){!k&&j&&(j=!1,clearInterval(B),B=setInterval(function(){return b.get(r)?Math.abs(o.x)<0.01&&Math.abs(o.y)<0.01?void clearInterval(B):(x(30*o.x,30*o.y),o.x*=0.8,void (o.y*=0.8)):void clearInterval(B)},10))}var K={},F=0,o={},B=null,k=!1,j=!1;A&&(H.event.bind(window,"touchstart",L),H.event.bind(window,"touchend",J),H.event.bind(r,"touchstart",z),H.event.bind(r,"touchmove",G),H.event.bind(r,"touchend",E)),D&&(window.PointerEvent?(H.event.bind(window,"pointerdown",L),H.event.bind(window,"pointerup",J),H.event.bind(r,"pointerdown",z),H.event.bind(r,"pointermove",G),H.event.bind(r,"pointerup",E)):window.MSPointerEvent&&(H.event.bind(window,"MSPointerDown",L),H.event.bind(window,"MSPointerUp",J),H.event.bind(r,"MSPointerDown",z),H.event.bind(r,"MSPointerMove",G),H.event.bind(r,"MSPointerUp",E)))}var b=a("../instances"),d=a("../update-geometry");c.exports=function(h,j,k){var g=b.get(h);f(h,g,j,k)}},{"../instances":18,"../update-geometry":19}],17:[function(y,m){var h=y("../lib/class"),b=y("../lib/helper"),g=y("./instances"),k=y("./update-geometry"),j=y("./handler/click-rail"),z=y("./handler/drag-scrollbar"),w=y("./handler/keyboard"),v=y("./handler/mouse-wheel"),x=y("./handler/native-scroll"),q=y("./handler/selection"),f=y("./handler/touch");m.exports=function(a,d){d="object"==typeof d?d:{},h.add(a,"ps-container");var c=g.add(a);c.settings=b.extend(c.settings,d),j(a),z(a),v(a),x(a),q(a),(b.env.supportsTouch||b.env.supportsIePointer)&&f(a,b.env.supportsTouch,b.env.supportsIePointer),c.settings.useKeyboard&&w(a),k(a)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(y,m,h){function b(a){var c=this;c.settings=q.clone(w),c.containerWidth=null,c.containerHeight=null,c.contentWidth=null,c.contentHeight=null,c.isRtl="rtl"===z.css(a,"direction"),c.event=new v,c.ownerDocument=a.ownerDocument||document,c.scrollbarXRail=z.appendTo(z.e("div","ps-scrollbar-x-rail"),a),c.scrollbarX=z.appendTo(z.e("div","ps-scrollbar-x"),c.scrollbarXRail),c.scrollbarXActive=null,c.scrollbarXWidth=null,c.scrollbarXLeft=null,c.scrollbarXBottom=q.toInt(z.css(c.scrollbarXRail,"bottom")),c.isScrollbarXUsingBottom=c.scrollbarXBottom===c.scrollbarXBottom,c.scrollbarXTop=c.isScrollbarXUsingBottom?null:q.toInt(z.css(c.scrollbarXRail,"top")),c.railBorderXWidth=q.toInt(z.css(c.scrollbarXRail,"borderLeftWidth"))+q.toInt(z.css(c.scrollbarXRail,"borderRightWidth")),c.railXMarginWidth=q.toInt(z.css(c.scrollbarXRail,"marginLeft"))+q.toInt(z.css(c.scrollbarXRail,"marginRight")),c.railXWidth=null,c.scrollbarYRail=z.appendTo(z.e("div","ps-scrollbar-y-rail"),a),c.scrollbarY=z.appendTo(z.e("div","ps-scrollbar-y"),c.scrollbarYRail),c.scrollbarYActive=null,c.scrollbarYHeight=null,c.scrollbarYTop=null,c.scrollbarYRight=q.toInt(z.css(c.scrollbarYRail,"right")),c.isScrollbarYUsingRight=c.scrollbarYRight===c.scrollbarYRight,c.scrollbarYLeft=c.isScrollbarYUsingRight?null:q.toInt(z.css(c.scrollbarYRail,"left")),c.scrollbarYOuterWidth=c.isRtl?q.outerWidth(c.scrollbarY):null,c.railBorderYWidth=q.toInt(z.css(c.scrollbarYRail,"borderTopWidth"))+q.toInt(z.css(c.scrollbarYRail,"borderBottomWidth")),c.railYMarginHeight=q.toInt(z.css(c.scrollbarYRail,"marginTop"))+q.toInt(z.css(c.scrollbarYRail,"marginBottom")),c.railYHeight=null}function g(a){return"undefined"==typeof a.dataset?a.getAttribute("data-ps-id"):a.dataset.psId}function k(a,c){"undefined"==typeof a.dataset?a.setAttribute("data-ps-id",c):a.dataset.psId=c}function j(a){"undefined"==typeof a.dataset?a.removeAttribute("data-ps-id"):delete a.dataset.psId}var z=y("../lib/dom"),w=y("./default-setting"),v=y("../lib/event-manager"),x=y("../lib/guid"),q=y("../lib/helper"),f={};h.add=function(a){var c=x();return k(a,c),f[c]=new b(a),f[c]},h.remove=function(a){delete f[g(a)],j(a)}
37,h.get=function(a){return f[g(a)]}},{"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(c,g){function j(i,k){return i.settings.minScrollbarLength&&(k=Math.max(k,i.settings.minScrollbarLength)),i.settings.maxScrollbarLength&&(k=Math.min(k,i.settings.maxScrollbarLength)),k}function f(i,l){var m={width:l.railXWidth};m.left=l.isRtl?i.scrollLeft+l.containerWidth-l.contentWidth:i.scrollLeft,l.isScrollbarXUsingBottom?m.bottom=l.scrollbarXBottom-i.scrollTop:m.top=l.scrollbarXTop+i.scrollTop,b.css(l.scrollbarXRail,m);var k={top:i.scrollTop,height:l.railYHeight};l.isScrollbarYUsingRight?k.right=l.isRtl?l.contentWidth-i.scrollLeft-l.scrollbarYRight-l.scrollbarYOuterWidth:l.scrollbarYRight-i.scrollLeft:k.left=l.isRtl?i.scrollLeft+2*l.containerWidth-l.contentWidth-l.scrollbarYLeft-l.scrollbarYOuterWidth:l.scrollbarYLeft+i.scrollLeft,b.css(l.scrollbarYRail,k),b.css(l.scrollbarX,{left:l.scrollbarXLeft,width:l.scrollbarXWidth-l.railBorderXWidth}),b.css(l.scrollbarY,{top:l.scrollbarYTop,height:l.scrollbarYHeight-l.railBorderYWidth})}var h=c("../lib/class"),b=c("../lib/dom"),a=c("../lib/helper"),d=c("./instances");g.exports=function(i){var k=d.get(i);k.containerWidth=i.clientWidth,k.containerHeight=i.clientHeight,k.contentWidth=i.scrollWidth,k.contentHeight=i.scrollHeight,i.contains(k.scrollbarXRail)||b.appendTo(k.scrollbarXRail,i),i.contains(k.scrollbarYRail)||b.appendTo(k.scrollbarYRail,i),!k.settings.suppressScrollX&&k.containerWidth+k.settings.scrollXMarginOffset<k.contentWidth?(k.scrollbarXActive=!0,k.railXWidth=k.containerWidth-k.railXMarginWidth,k.scrollbarXWidth=j(k,a.toInt(k.railXWidth*k.containerWidth/k.contentWidth)),k.scrollbarXLeft=a.toInt(i.scrollLeft*(k.railXWidth-k.scrollbarXWidth)/(k.contentWidth-k.containerWidth))):(k.scrollbarXActive=!1,k.scrollbarXWidth=0,k.scrollbarXLeft=0,i.scrollLeft=0),!k.settings.suppressScrollY&&k.containerHeight+k.settings.scrollYMarginOffset<k.contentHeight?(k.scrollbarYActive=!0,k.railYHeight=k.containerHeight-k.railYMarginHeight,k.scrollbarYHeight=j(k,a.toInt(k.railYHeight*k.containerHeight/k.contentHeight)),k.scrollbarYTop=a.toInt(i.scrollTop*(k.railYHeight-k.scrollbarYHeight)/(k.contentHeight-k.containerHeight))):(k.scrollbarYActive=!1,k.scrollbarYHeight=0,k.scrollbarYTop=0,i.scrollTop=0),k.scrollbarXLeft>=k.railXWidth-k.scrollbarXWidth&&(k.scrollbarXLeft=k.railXWidth-k.scrollbarXWidth),k.scrollbarYTop>=k.railYHeight-k.scrollbarYHeight&&(k.scrollbarYTop=k.railYHeight-k.scrollbarYHeight),f(i,k),h[k.scrollbarXActive?"add":"remove"](i,"ps-active-x"),h[k.scrollbarYActive?"add":"remove"](i,"ps-active-y")}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18}],20:[function(a,c){var f=a("../lib/dom"),b=a("./instances"),d=a("./update-geometry");c.exports=function(g){var h=b.get(g);f.css(h.scrollbarXRail,"display","none"),f.css(h.scrollbarYRail,"display","none"),d(g),f.css(h.scrollbarXRail,"display","block"),f.css(h.scrollbarYRail,"display","block")}},{"../lib/dom":3,"./instances":18,"./update-geometry":19}]},{},[1]);
38/*!
39 * Isotope PACKAGED v2.2.0
40 *
41 * Licensed GPLv3 for open source use
42 * or Isotope Commercial License for commercial use
43 *
44 * http://isotope.metafizzy.co
45 * Copyright 2015 Metafizzy
46 */
47(function(b){function c(){}function a(f){function e(i){i.prototype.option||(i.prototype.option=function(j){f.isPlainObject(j)&&(this.options=f.extend(!0,this.options,j))})}function h(k,j){f.fn[k]=function(v){if("string"==typeof v){for(var o=d.call(arguments,1),i=0,l=this.length;l>i;i++){var r=this[i],m=f.data(r,k);if(m){if(f.isFunction(m[v])&&"_"!==v.charAt(0)){var q=m[v].apply(m,o);if(void 0!==q){return q}}else{g("no such method '"+v+"' for "+k+" instance")}}else{g("cannot call methods on "+k+" prior to initialization; attempted to call '"+v+"'")}}return this}return this.each(function(){var n=f.data(this,k);n?(n.option(v),n._init()):(n=new j(this,v),f.data(this,k,n))})}}if(f){var g="undefined"==typeof console?c:function(i){console.error(i)};return f.bridget=function(i,j){e(j),h(i,j)},f.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],a):"object"==typeof exports?a(require("jquery")):a(b.jQuery)})(window),function(b){function d(j){var h=b.event;return h.target=h.target||h.srcElement||j,h}var a=document.documentElement,f=function(){};a.addEventListener?f=function(j,k,h){j.addEventListener(k,h,!1)}:a.attachEvent&&(f=function(h,e,j){h[e+j]=j.handleEvent?function(){var k=d(h);j.handleEvent.call(j,k)}:function(){var k=d(h);j.call(h,k)},h.attachEvent("on"+e,h[e+j])});var g=function(){};a.removeEventListener?g=function(j,k,h){j.removeEventListener(k,h,!1)}:a.detachEvent&&(g=function(j,k,h){j.detachEvent("on"+k,j[k+h]);try{delete j[k+h]}catch(l){j[k+h]=void 0}});var c={bind:f,unbind:g};"function"==typeof define&&define.amd?define("eventie/eventie",c):"object"==typeof exports?module.exports=c:b.eventie=c}(window),function(){function b(){}function d(j,k){for(var h=j.length;h--;){if(j[h].listener===k){return h}}return -1}function a(e){return function(){return this[e].apply(this,arguments)}}var f=b.prototype,g=this,c=g.EventEmitter;f.getListeners=function(j){var k,h,l=this._getEvents();if(j instanceof RegExp){k={};for(h in l){l.hasOwnProperty(h)&&j.test(h)&&(k[h]=l[h])}}else{k=l[j]||(l[j]=[])}return k},f.flattenListeners=function(j){var k,h=[];for(k=0;j.length>k;k+=1){h.push(j[k].listener)}return h},f.getListenersAsObject=function(j){var k,h=this.getListeners(j);return h instanceof Array&&(k={},k[j]=h),k||h},f.addListener=function(h,e){var k,l=this.getListenersAsObject(h),j="object"==typeof e;for(k in l){l.hasOwnProperty(k)&&-1===d(l[k],e)&&l[k].push(j?e:{listener:e,once:!1})}return this},f.on=a("addListener"),f.addOnceListener=function(h,i){return this.addListener(h,{listener:i,once:!0})},f.once=a("addOnceListener"),f.defineEvent=function(e){return this.getListeners(e),this},f.defineEvents=function(h){for(var i=0;h.length>i;i+=1){this.defineEvent(h[i])}return this},f.removeListener=function(h,e){var k,l,j=this.getListenersAsObject(h);for(l in j){j.hasOwnProperty(l)&&(k=d(j[l],e),-1!==k&&j[l].splice(k,1))}return this},f.off=a("removeListener"),f.addListeners=function(h,i){return this.manipulateListeners(!1,h,i)},f.removeListeners=function(h,i){return this.manipulateListeners(!0,h,i)},f.manipulateListeners=function(j,m,h){var p,q,l=j?this.removeListener:this.addListener,k=j?this.removeListeners:this.addListeners;if("object"!=typeof m||m instanceof RegExp){for(p=h.length;p--;){l.call(this,m,h[p])}}else{for(p in m){m.hasOwnProperty(p)&&(q=m[p])&&("function"==typeof q?l.call(this,p,q):k.call(this,p,q))}}return this},f.removeEvent=function(j){var k,h=typeof j,l=this._getEvents();if("string"===h){delete l[j]}else{if(j instanceof RegExp){for(k in l){l.hasOwnProperty(k)&&j.test(k)&&delete l[k]}}else{delete this._events}}return this},f.removeAllListeners=a("removeEvent"),f.emitEvent=function(j,m){var h,p,q,l,k=this.getListenersAsObject(j);
47for(q in k){if(k.hasOwnProperty(q)){for(p=k[q].length;p--;){h=k[q][p],h.once===!0&&this.removeListener(j,h.listener),l=h.listener.apply(this,m||[]),l===this._getOnceReturnValue()&&this.removeListener(j,h.listener)}}}return this},f.trigger=a("emitEvent"),f.emit=function(h){var i=Array.prototype.slice.call(arguments,1);return this.emitEvent(h,i)},f.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},f._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},f._getEvents=function(){return this._events||(this._events={})},b.noConflict=function(){return g.EventEmitter=c,b},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return b}):"object"==typeof module&&module.exports?module.exports=b:g.EventEmitter=b}.call(this),function(b){function c(f){if(f){if("string"==typeof d[f]){return f}f=f.charAt(0).toUpperCase()+f.slice(1);for(var h,i=0,g=a.length;g>i;i++){if(h=a[i]+f,"string"==typeof d[h]){return h}}}}var a="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return c}):"object"==typeof exports?module.exports=c:b.getStyleProperty=c}(window),function(b){function f(k){var l=parseFloat(k),j=-1===k.indexOf("%")&&!isNaN(l);return j&&l}function a(){}function g(){for(var k={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},l=0,j=c.length;j>l;l++){var m=c[l];k[m]=0}return k}function h(k){function r(){if(!q){q=!0;var u=b.getComputedStyle;if(o=function(){var n=u?function(s){return u(s,null)}:function(s){return s.currentStyle};return function(w){var s=n(w);return s||d("Style returned "+s+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),s}}(),l=k("boxSizing")){var v=document.createElement("div");v.style.width="200px",v.style.padding="1px 2px 3px 4px",v.style.borderStyle="solid",v.style.borderWidth="1px 2px 3px 4px",v.style[l]="border-box";var p=document.body||document.documentElement;p.appendChild(v);var i=o(v);m=200===f(i.width),p.removeChild(v)}}}function e(C){if(r(),"string"==typeof C&&(C=document.querySelector(C)),C&&"object"==typeof C&&C.nodeType){var H=o(C);if("none"===H.display){return g()}var D={};D.width=C.offsetWidth,D.height=C.offsetHeight;for(var O=D.isBorderBox=!(!l||!H[l]||"border-box"!==H[l]),K=0,G=c.length;G>K;K++){var M=c[K],F=H[M];F=j(C,F);var s=parseFloat(F);D[M]=isNaN(s)?0:s}var J=D.paddingLeft+D.paddingRight,A=D.paddingTop+D.paddingBottom,P=D.marginLeft+D.marginRight,u=D.marginTop+D.marginBottom,p=D.borderLeftWidth+D.borderRightWidth,n=D.borderTopWidth+D.borderBottomWidth,w=O&&m,B=f(H.width);B!==!1&&(D.width=B+(w?0:J+p));var N=f(H.height);return N!==!1&&(D.height=N+(w?0:A+n)),D.innerWidth=D.width-(J+p),D.innerHeight=D.height-(A+n),D.outerWidth=D.width+P,D.outerHeight=D.height+u,D}}function j(w,p){if(b.getComputedStyle||-1===p.indexOf("%")){return p}var x=w.style,y=x.left,v=w.runtimeStyle,u=v&&v.left;return u&&(v.left=w.currentStyle.left),x.left=p,p=x.pixelLeft,x.left=y,u&&(v.left=u),p}var o,l,m,q=!1;return e}var d="undefined"==typeof console?a:function(e){console.error(e)},c=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],h):"object"==typeof exports?module.exports=h(require("desandro-get-style-property")):b.getSize=h(b.getStyleProperty)}(window),function(b){function f(e){"function"==typeof e&&(f.isReady?e():c.push(e))}function a(j){var e="readystatechange"===j.type&&"complete"!==d.readyState;f.isReady||e||g()}function g(){f.isReady=!0;for(var j=0,e=c.length;e>j;j++){var k=c[j];k()}}function h(e){return"complete"===d.readyState?g():(e.bind(d,"DOMContentLoaded",a),e.bind(d,"readystatechange",a),e.bind(b,"load",a)),f}var d=b.document,c=[];f.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],h):"object"==typeof exports?module.exports=h(require("eventie")):b.docReady=h(b.eventie)}(window),function(k){function g(a,i){return a[l](i)}function f(a){if(!a.parentNode){var i=document.createDocumentFragment();i.appendChild(a)}}function c(a,m){f(a);for(var p=a.parentNode.querySelectorAll(m),q=0,i=p.length;i>q;q++){if(p[q]===a){return !0}}return !1}function d(a,e){return f(a),g(a,e)}var b,l=function(){if(k.matches){return"matches"}if(k.matchesSelector){return"matchesSelector"}for(var p=["webkit","moz","ms","o"],a=0,q=p.length;q>a;a++){var s=p[a],m=s+"MatchesSelector";if(k[m]){return m}}}();if(l){var h=document.createElement("div"),j=g(h,"div");b=j?g:d}else{b=c}"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return b}):"object"==typeof exports?module.exports=b:window.matchesSelector=b}(Element.prototype),function(a,b){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(c,d){return b(a,c,d)}):"object"==typeof exports?module.exports=b(a,require("doc-ready"),require("desandro-matches-selector")):a.fizzyUIUtils=b(a,a.docReady,a.matchesSelector)}(window,function(b,d,a){var f={};f.extend=function(j,k){for(var h in k){j[h]=k[h]}return j}
47,f.modulo=function(h,i){return(h%i+i)%i};var g=Object.prototype.toString;f.isArray=function(e){return"[object Array]"==g.call(e)},f.makeArray=function(j){var k=[];if(f.isArray(j)){k=j}else{if(j&&"number"==typeof j.length){for(var h=0,l=j.length;l>h;h++){k.push(j[h])}}else{k.push(j)}}return k},f.indexOf=Array.prototype.indexOf?function(h,i){return h.indexOf(i)}:function(j,k){for(var h=0,l=j.length;l>h;h++){if(j[h]===k){return h}}return -1},f.removeFrom=function(j,k){var h=f.indexOf(j,k);-1!=h&&j.splice(h,1)},f.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(e){return e instanceof HTMLElement}:function(e){return e&&"object"==typeof e&&1==e.nodeType&&"string"==typeof e.nodeName},f.setText=function(){function h(j,e){i=i||(void 0!==document.documentElement.textContent?"textContent":"innerText"),j[i]=e}var i;return h}(),f.getParent=function(h,i){for(;h!=document.body;){if(h=h.parentNode,a(h,i)){return h}}},f.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},f.handleEvent=function(h){var i="on"+h.type;this[i]&&this[i](h)},f.filterFindElements=function(v,m){v=f.makeArray(v);for(var k=[],i=0,w=v.length;w>i;i++){var o=v[i];if(f.isElement(o)){if(m){a(o,m)&&k.push(o);for(var q=o.querySelectorAll(m),j=0,l=q.length;l>j;j++){k.push(q[j])}}else{k.push(o)}}}return k},f.debounceMethod=function(j,k,h){var l=j.prototype[k],m=k+"Timeout";j.prototype[k]=function(){var i=this[m];i&&clearTimeout(i);var o=arguments,n=this;this[m]=setTimeout(function(){l.apply(n,o),delete n[m]},h||100)}},f.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(j,k,h){return k+"-"+h}).toLowerCase()};var c=b.console;return f.htmlInit=function(e,h){d(function(){for(var q=f.toDashed(h),y=document.querySelectorAll(".js-"+q),w="data-"+q+"-options",x=0,i=y.length;i>x;x++){var n,o=y[x],r=o.getAttribute(w);try{n=r&&JSON.parse(r)}catch(k){c&&c.error("Error parsing "+w+" on "+o.nodeName.toLowerCase()+(o.id?"#"+o.id:"")+": "+k);continue}var v=new e(o,n),j=b.jQuery;j&&j.data(o,h,v)}})},f}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(c,e,f,d){return b(a,c,e,f,d)}):"object"==typeof exports?module.exports=b(a,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(a.Outlayer={},a.Outlayer.Item=b(a,a.EventEmitter,a.getSize,a.getStyleProperty,a.fizzyUIUtils))}(window,function(q,I,E,A,B){function x(a){for(var c in a){return !1}return c=null,!0}function w(a,c){a&&(this.element=a,this.layout=c,this.position={x:0,y:0},this._create())}var L=q.getComputedStyle,k=L?function(a){return L(a,null)}:function(a){return a.currentStyle},z=A("transition"),F=A("transform"),H=z&&F,J=!!A("perspective"),D={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[z],K=["transform","transition","transitionDuration","transitionProperty"],C=function(){for(var c={},f=0,a=K.length;a>f;f++){var g=K[f],d=A(g);d&&d!==g&&(c[g]=d)}return c}();B.extend(w.prototype,I.prototype),w.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},w.prototype.handleEvent=function(a){var c="on"+a.type;this[c]&&this[c](a)},w.prototype.getSize=function(){this.size=E(this.element)},w.prototype.css=function(c){var d=this.element.style;for(var a in c){var f=C[a]||a;d[f]=c[a]}},w.prototype.getPosition=function(){var c=k(this.element),g=this.layout.options,a=g.isOriginLeft,h=g.isOriginTop,l=parseInt(c[a?"left":"right"],10),f=parseInt(c[h?"top":"bottom"],10);l=isNaN(l)?0:l,f=isNaN(f)?0:f;var d=this.layout.size;l-=a?d.paddingLeft:d.paddingRight,f-=h?d.paddingTop:d.paddingBottom,this.position.x=l,this.position.y=f},w.prototype.layoutPosition=function(){var O=this.layout.size,v=this.layout.options,l={},f=v.isOriginLeft?"paddingLeft":"paddingRight",g=v.isOriginLeft?"left":"right",c=v.isOriginLeft?"right":"left",P=this.position.x+O[f];P=v.percentPosition&&!v.isHorizontal?100*(P/O.width)+"%":P+"px",l[g]=P,l[c]="";var y=v.isOriginTop?"paddingTop":"paddingBottom",N=v.isOriginTop?"top":"bottom",d=v.isOriginTop?"bottom":"top",m=this.position.y+O[y];m=v.percentPosition&&v.isHorizontal?100*(m/O.height)+"%":m+"px",l[N]=m,l[d]="",this.css(l),this.emitEvent("layout",[this])};var b=J?function(a,c){return"translate3d("+a+"px, "+c+"px, 0)"}:function(a,c){return"translate("+a+"px, "+c+"px)"};w.prototype._transitionTo=function(O,v){this.getPosition();var l=this.position.x,f=this.position.y,g=parseInt(O,10),c=parseInt(v,10),P=g===this.position.x&&
47c===this.position.y;if(this.setPosition(O,v),P&&!this.isTransitioning){return this.layoutPosition(),void 0}var y=O-l,N=v-f,d={},m=this.layout.options;y=m.isOriginLeft?y:-y,N=m.isOriginTop?N:-N,d.transform=b(y,N),this.transition({to:d,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},w.prototype.goTo=function(a,c){this.setPosition(a,c),this.layoutPosition()},w.prototype.moveTo=H?w.prototype._transitionTo:w.prototype.goTo,w.prototype.setPosition=function(a,c){this.position.x=parseInt(a,10),this.position.y=parseInt(c,10)},w.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var c in a.onTransitionEnd){a.onTransitionEnd[c].call(this)}},w.prototype._transition=function(c){if(!parseFloat(this.layout.options.transitionDuration)){return this._nonTransition(c),void 0}var d=this._transn;for(var a in c.onTransitionEnd){d.onEnd[a]=c.onTransitionEnd[a]}for(a in c.to){d.ingProperties[a]=!0,c.isCleaning&&(d.clean[a]=!0)}if(c.from){this.css(c.from);var f=this.element.offsetHeight;f=null}this.enableTransition(c.to),this.css(c.to),this.isTransitioning=!0};var G=F&&B.toDashed(F)+",opacity";w.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:G,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(D,this,!1))},w.prototype.transition=w.prototype[z?"_transition":"_nonTransition"],w.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},w.prototype.onotransitionend=function(a){this.ontransitionend(a)};var j={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};w.prototype.ontransitionend=function(c){if(c.target===this.element){var d=this._transn,a=j[c.propertyName]||c.propertyName;if(delete d.ingProperties[a],x(d.ingProperties)&&this.disableTransition(),a in d.clean&&(this.element.style[c.propertyName]="",delete d.clean[a]),a in d.onEnd){var f=d.onEnd[a];f.call(this),delete d.onEnd[a]}this.emitEvent("transitionEnd",[this])}},w.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(D,this,!1),this.isTransitioning=!1},w.prototype._removeStyles=function(c){var d={};for(var a in c){d[a]=""}this.css(d)};var M={transitionProperty:"",transitionDuration:""};return w.prototype.removeTransitionStyles=function(){this.css(M)},w.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},w.prototype.remove=function(){if(!z||!parseFloat(this.layout.options.transitionDuration)){return this.removeElem(),void 0}var a=this;this.once("transitionEnd",function(){a.removeElem()}),this.hide()},w.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var c=this.layout.options,d={},a=this.getHideRevealTransitionEndProperty("visibleStyle");d[a]=this.onRevealTransitionEnd,this.transition({from:c.hiddenStyle,to:c.visibleStyle,isCleaning:!0,onTransitionEnd:d})},w.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},w.prototype.getHideRevealTransitionEndProperty=function(c){var d=this.layout.options[c];if(d.opacity){return"opacity"}for(var a in d){return a}},w.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var c=this.layout.options,d={},a=this.getHideRevealTransitionEndProperty("hiddenStyle");d[a]=this.onHideTransitionEnd,this.transition({from:c.visibleStyle,to:c.hiddenStyle,isCleaning:!0,onTransitionEnd:d})},w.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},w.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},w}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(c,f,g,e,d){return b(a,c,f,g,e,d)}):"object"==typeof exports?module.exports=b(a,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):a.Outlayer=b(a,a.eventie,a.EventEmitter,a.getSize,a.fizzyUIUtils,a.Outlayer.Item)}(window,function(w,m,j,d,g,b){function x(f,h){var a=g.getQueryElement(f);if(!a){return q&&q.error("Bad element for "+this.constructor.namespace+": "+(a||f)),void 0}this.element=a,v&&(this.$element=v(this.element)),this.options=g.extend({},this.constructor.defaults),this.option(h);var n=++k;this.element.outlayerGUID=n,l[n]=this,this._create(),this.options.isInitLayout&&this.layout()}var q=w.console,v=w.jQuery,c=function(){},k=0,l={};return x.namespace="outlayer",x.Item=b,x.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},g.extend(x.prototype,j.prototype),x.prototype.option=function(a){g.extend(this.options,a)},x.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),g.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},x.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},x.prototype._itemize=function(p){for(var z=this._filterFindItemElements(p),h=this.constructor.Item,A=[],B=0,y=z.length;y>B;B++){var u=z[B],f=new h(u,this);A.push(f)}return A},x.prototype._filterFindItemElements=function(a){return g.filterFindElements(a,this.options.itemSelector)},x.prototype.getItemElements=function(){for(var f=[],h=0,a=this.items.length;a>h;h++){f.push(this.items[h].element)}return f},x.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},x.prototype._init=x.prototype.layout,x.prototype._resetLayout=function(){this.get
47Size()},x.prototype.getSize=function(){this.size=d(this.element)},x.prototype._getMeasurement=function(f,n){var a,h=this.options[f];h?("string"==typeof h?a=this.element.querySelector(h):g.isElement(h)&&(a=h),this[f]=a?d(a)[n]:h):this[f]=0},x.prototype.layoutItems=function(a,f){a=this._getItemsForLayout(a),this._layoutItems(a,f),this._postLayout()},x.prototype._getItemsForLayout=function(f){for(var h=[],a=0,p=f.length;p>a;a++){var r=f[a];r.isIgnored||h.push(r)}return h},x.prototype._layoutItems=function(f,u){if(this._emitCompleteOnItems("layout",f),f&&f.length){for(var a=[],y=0,z=f.length;z>y;y++){var p=f[y],h=this._getItemLayoutPosition(p);h.item=p,h.isInstant=u||p.isLayoutInstant,a.push(h)}this._processLayoutQueue(a)}},x.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},x.prototype._processLayoutQueue=function(f){for(var h=0,a=f.length;a>h;h++){var n=f[h];this._positionItem(n.item,n.x,n.y,n.isInstant)}},x.prototype._positionItem=function(f,h,a,n){n?f.goTo(h,a):f.moveTo(h,a)},x.prototype._postLayout=function(){this.resizeContainer()},x.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},x.prototype._getContainerSize=c,x.prototype._setContainerMeasure=function(f,h){if(void 0!==f){var a=this.size;a.isBorderBox&&(f+=h?a.paddingLeft+a.paddingRight+a.borderLeftWidth+a.borderRightWidth:a.paddingBottom+a.paddingTop+a.borderTopWidth+a.borderBottomWidth),f=Math.max(f,0),this.element.style[h?"width":"height"]=f+"px"}},x.prototype._emitCompleteOnItems=function(E,B){function A(){z.emitEvent(E+"Complete",[B])}function y(){F++,F===f&&A()}var z=this,f=B.length;if(!B||!f){return A(),void 0}for(var F=0,C=0,D=B.length;D>C;C++){var h=B[C];h.once(E,y)}},x.prototype.ignore=function(a){var f=this.getItem(a);f&&(f.isIgnored=!0)},x.prototype.unignore=function(a){var f=this.getItem(a);f&&delete f.isIgnored},x.prototype.stamp=function(f){if(f=this._find(f)){this.stamps=this.stamps.concat(f);for(var h=0,a=f.length;a>h;h++){var n=f[h];this.ignore(n)}}},x.prototype.unstamp=function(f){if(f=this._find(f)){for(var h=0,a=f.length;a>h;h++){var n=f[h];g.removeFrom(this.stamps,n),this.unignore(n)}}},x.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=g.makeArray(a)):void 0},x.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var f=0,h=this.stamps.length;h>f;f++){var a=this.stamps[f];this._manageStamp(a)}}},x.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),f=this.size;this._boundingRect={left:a.left+f.paddingLeft+f.borderLeftWidth,top:a.top+f.paddingTop+f.borderTopWidth,right:a.right-(f.paddingRight+f.borderRightWidth),bottom:a.bottom-(f.paddingBottom+f.borderBottomWidth)}},x.prototype._manageStamp=c,x.prototype._getElementOffset=function(f){var o=f.getBoundingClientRect(),a=this._boundingRect,p=d(f),h={left:o.left-a.left-p.marginLeft,top:o.top-a.top-p.marginTop,right:a.right-o.right-p.marginRight,bottom:a.bottom-o.bottom-p.marginBottom};return h},x.prototype.handleEvent=function(a){var f="on"+a.type;this[f]&&this[f](a)},x.prototype.bindResize=function(){this.isResizeBound||(m.bind(w,"resize",this),this.isResizeBound=!0)},x.prototype.unbindResize=function(){this.isResizeBound&&m.unbind(w,"resize",this),this.isResizeBound=!1},x.prototype.onresize=function(){function a(){f.resize(),delete f.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var f=this;this.resizeTimeout=setTimeout(a,100)},x.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},x.prototype.needsResizeLayout=function(){var a=d(this.element),f=this.size&&a;return f&&a.innerWidth!==this.size.innerWidth},x.prototype.addItems=function(a){var f=this._itemize(a);return f.length&&(this.items=this.items.concat(f)),f},x.prototype.appended=function(a){var f=this.addItems(a);f.length&&(this.layoutItems(f,!0),this.reveal(f))},x.prototype.prepended=function(f){var h=this._itemize(f);if(h.length){var a=this.items.slice(0);this.items=h.concat(a),this._resetLayout(),this._manageStamps(),this.layoutItems(h,!0),this.reveal(h),this.layoutItems(a)}},x.prototype.reveal=function(f){this._emitCompleteOnItems("reveal",f);for(var h=f&&f.length,a=0;h&&h>a;a++){var n=f[a];n.reveal()}},x.prototype.hide=function(f){this._emitCompleteOnItems("hide",f);for(var h=f&&f.length,a=0;h&&h>a;a++){var n=f[a];n.hide()}},x.prototype.revealItemElements=function(a){var f=this.getItems(a);this.reveal(f)},x.prototype.hideItemElements=function(a){var f=this.getItems(a);this.hide(f)},x.prototype.getItem=function(f){for(var h=0,a=this.items.length;a>h;h++){var n=this.items[h];if(n.element===f){return n}}},x.prototype.getItems=function(f){f=g.makeArray(f);for(var p=[],a=0,u=f.length;u>a;a++){var n=f[a],h=this.getItem(n);h&&p.push(h)}return p},x.prototype.remove=function(f){var n=this.getItems(f);if(this._emitCompleteOnItems("remove",n),n&&n.length){for(var a=0,p=n.length;p>a;a++){var h=n[a];h.remove(),g.removeFrom(this.items,h)}}},x.prototype.destroy=function(){var f=this.element.style;f.height="",f.position="",f.width="";for(var h=0,a=this.items.length;a>h;h++){var p=this.items[h];p.destroy()}this.unbindResize();var r=this.element.outlayerGUID;delete l[r],delete this.element.outlayerGUID,v&&v.removeData(this.element,this.constructor.namespace)},x.data=function(a){a=g.getQueryElement(a);var f=a&&a.outlayerGUID;return f&&l[f]},x.create=function(f,h){function a(){x.apply(this,arguments)}return Object.create?a.prototype=Object.create(x.prototype):g.extend(a.prototype,x.prototype),a.prototype.constructor=a,a.defaults=g.extend({},x.defaults),g.extend(a.defaults,h),a.prototype.settings={},a.namespace=f,a.data=x.data,a.Item=function(){b.apply(this,arguments)},a.Item.prototype=new b,g.htmlInit(a,f),v&&v.bridget&&v.bridget(f,a),a},x.Item=b,x}),function(a,b){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],b):"object"==typeof exports?module.exports=b(require("outlayer")):(a.Isotope=a.Isotope||{},a.Isotope.Item=b(a.Outlayer))}(window,function(b){function c(){b.Item.apply(this,arguments)}c.prototype=new b.Item,c.prototype._create=function(){this.id=this.layout.itemGUID++,b.Item.prototype._create.call(this),this.sortData={}},c.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var f=this.layout.options.getSortData,g=this.layout._sorters;for(var d in f){var h=g[d];this.sortData[d]=h(this.element,this)}}};var a=c.prototype.destroy;return c.prototype.destroy=function(){a.apply(this,arguments),this.css({display:""})},c}),function(a,b){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],b):"object"==typeof exports?module.exports=b(require("get-size"),require("outlayer")):(a.Isotope=a.Isotope||{},a.Isotope.LayoutMode=b(a.getSize,a.Outlayer))}(window,function(b,c){function a(d){this.isotope=d,d&&(this.options=d.options[this.namespace],this.element=d.element,this.items=d.filteredItems,this.size=d.size)}return function(){function d(i){return function(){return c.prototype[i].apply(this.isotope,arguments)}}for(var g=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],h=0,f=g.length;f>h;h++){var e=g[h];a.prototype[e]=d(e)}}(),a.prototype.needsVerticalResizeLayout=function(){var f=b(this.isotope.element),d=this.isotope.size&&f;
47return d&&f.innerHeight!=this.isotope.size.innerHeight},a.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},a.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},a.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},a.prototype.getSegmentSize=function(f,g){var d=f+g,h="outer"+g;if(this._getMeasurement(d,h),!this[d]){var j=this.getFirstItemSize();this[d]=j&&j[h]||this.isotope.size["inner"+g]}},a.prototype.getFirstItemSize=function(){var d=this.isotope.filteredItems[0];return d&&d.element&&b(d.element)},a.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},a.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},a.modes={},a.create=function(d,f){function g(){a.apply(this,arguments)}return g.prototype=new a,f&&(g.options=f),g.prototype.namespace=d,a.modes[d]=g,g},a}),function(a,b){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],b):"object"==typeof exports?module.exports=b(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):a.Masonry=b(a.Outlayer,a.getSize,a.fizzyUIUtils)}(window,function(b,c,a){var d=b.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var e=this.cols;for(this.colYs=[];e--;){this.colYs.push(0)}this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var g=this.items[0],f=g&&g.element;this.columnWidth=f&&c(f).outerWidth||this.containerWidth}var k=this.columnWidth+=this.gutter,l=this.containerWidth+this.gutter,j=l/k,h=k-l%k,e=h&&1>h?"round":"floor";j=Math[e](j),this.cols=Math.max(j,1)},d.prototype.getContainerWidth=function(){var f=this.options.isFitWidth?this.element.parentNode:this.element,e=c(f);this.containerWidth=e&&e.innerWidth},d.prototype._getItemLayoutPosition=function(x){x.getSize();var q=x.size.outerWidth%this.columnWidth,j=q&&1>q?"round":"ceil",k=Math[j](x.size.outerWidth/this.columnWidth);k=Math.min(k,this.cols);for(var g=this._getColGroup(k),y=Math.min.apply(Math,g),v=a.indexOf(g,y),w={x:this.columnWidth*v,y:y},i=y+x.size.outerHeight,l=this.cols+1-g.length,m=0;l>m;m++){this.colYs[v+m]=i}return w},d.prototype._getColGroup=function(g){if(2>g){return this.colYs}for(var h=[],f=this.cols+1-g,j=0;f>j;j++){var k=this.colYs.slice(j,j+g);h[j]=Math.max.apply(Math,k)}return h},d.prototype._manageStamp=function(m){var j=c(m),g=this._getElementOffset(m),h=this.options.isOriginLeft?g.left:g.right,e=h+j.outerWidth,q=Math.floor(h/this.columnWidth);q=Math.max(0,q);var k=Math.floor(e/this.columnWidth);k-=e%this.columnWidth?0:1,k=Math.min(this.cols-1,k);for(var l=(this.options.isOriginTop?g.top:g.bottom)+j.outerHeight,f=q;k>=f;f++){this.colYs[f]=Math.max(l,this.colYs[f])}},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this.options.isFitWidth&&(e.width=this._getContainerFitWidth()),e},d.prototype._getContainerFitWidth=function(){for(var f=0,g=this.cols;--g&&0===this.colYs[g];){f++}return(this.cols-f)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!==this.containerWidth},d}),function(a,b){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],b):"object"==typeof exports?module.exports=b(require("../layout-mode"),require("masonry-layout")):b(
47a.Isotope.LayoutMode,a.Masonry)}(window,function(k,g){function f(m,n){for(var a in n){m[a]=n[a]}return m}var c=k.create("masonry"),d=c.prototype._getElementOffset,b=c.prototype.layout,l=c.prototype._getMeasurement;f(c.prototype,g.prototype),c.prototype._getElementOffset=d,c.prototype.layout=b,c.prototype._getMeasurement=l;var h=c.prototype.measureColumns;c.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,h.call(this)};var j=c.prototype._manageStamp;return c.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,j.apply(this,arguments)},c}),function(a,b){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],b):"object"==typeof exports?module.exports=b(require("../layout-mode")):b(a.Isotope.LayoutMode)}(window,function(a){var b=a.create("fitRows");return b.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},b.prototype._getItemLayoutPosition=function(d){d.getSize();var f=d.size.outerWidth+this.gutter,c=this.isotope.size.innerWidth+this.gutter;0!==this.x&&f+this.x>c&&(this.x=0,this.y=this.maxY);var g={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+d.size.outerHeight),this.x+=f,g},b.prototype._getContainerSize=function(){return{height:this.maxY}},b}),function(a,b){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],b):"object"==typeof exports?module.exports=b(require("../layout-mode")):b(a.Isotope.LayoutMode)}(window,function(a){var b=a.create("vertical",{horizontalAlignment:0});return b.prototype._resetLayout=function(){this.y=0},b.prototype._getItemLayoutPosition=function(d){d.getSize();var f=(this.isotope.size.innerWidth-d.size.outerWidth)*this.options.horizontalAlignment,c=this.y;return this.y+=d.size.outerHeight,{x:f,y:c}},b.prototype._getContainerSize=function(){return{height:this.y}},b}),function(a,b){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(d,g,h,f,e,c){return b(a,d,g,h,f,e,c)}):"object"==typeof exports?module.exports=b(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):a.Isotope=b(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(C,x,q,j,k,b,D){function A(a,c){return function(E,f){for(var l=0,d=a.length;d>l;l++){var I=a[l],G=E.sortData[I],H=f.sortData[I];if(G>H||H>G){var e=void 0!==c[I]?c[I]:c,F=e?1:-1;return(G>H?1:-1)*F}}return 0}}var B=C.jQuery,g=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s+|\s+$/g,"")},v=document.documentElement,w=v.textContent?function(a){return a.textContent}:function(a){return a.innerText},y=x.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});y.Item=b,y.LayoutMode=D,y.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),x.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var a in D.modes){this._initLayoutMode(a)}},y.prototype.reloadItems=function(){this.itemGUID=0,x.prototype.reloadItems.call(this)},y.prototype._itemize=function(){for(var c=x.prototype._itemize.apply(this,arguments),a=0,d=c.length;d>a;a++){var e=c[a];e.id=this.itemGUID++}return this._updateItemsSortData(c),c},y.prototype._initLayoutMode=function(c){var d=D.modes[c],a=this.options[c]||{};this.options[c]=d.options?k.extend(d.options,a):a,this.modes[c]=new d(this)},y.prototype.layout=function(){return !this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},y.prototype._layout=function(){var a=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,a),this._isLayoutInited=!0},y.prototype.arrange=function(c){function d(){f.reveal(a.needReveal),f.hide(a.needHide)}this.option(c),this._getIsInstant();var a=this._filter(this.items);this.filteredItems=a.matches;var f=this;this._bindArrangeComplete(),this._isInstant?this._noTransition(d):d(),this._sort(),this._layout()},y.prototype._init=y.prototype.arrange,y.prototype._getIsInstant=function(){var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=a,a},y.prototype._bindArrangeComplete=function(){function c(){d&&a&&f&&h.emitEvent("arrangeComplete",[h.filteredItems])}var d,a,f,h=this;this.once("layoutComplete",function(){d=!0,c()}),this.once("hideComplete",function(){a=!0,c()}),this.once("revealComplete",function(){f=!0,c()})},y.prototype._filter=function(H){var E=this.options.filter;E=E||"*";for(var l=[],f=[],h=[],c=this._getFilterTest(E),I=0,F=H.length;F>I;I++){var G=H[I];if(!G.isIgnored){var d=c(G);d&&l.push(G),d&&G.isHidden?f.push(G):d||G.isHidden||h.push(G)}}return{matches:l,needReveal:f,needHide:h}},y.prototype._getFilterTest=function(a){return B&&this.options.isJQueryFiltering?function(c){return B(c.element).is(a)}:"function"==typeof a?function(c){return a(c.element)}:function(c){return j(c.element,a)}},y.prototype.updateSortData=function(a){var c;a?(a=k.makeArray(a),c=this.getItems(a)):c=this.items,this._getSorters(),this._updateItemsSortData(c)},y.prototype._getSorters=function(){var c=this.options.getSortData;for(var d in c){var a=c[d];this._sorters[d]=m(a)}},y.prototype._updateItemsSortData=function(c){for(var d=c&&c.length,a=0;d&&d>a;a++){var f=c[a];f.updateSortData()}};var m=function(){function a(f){if("string"!=typeof f){return f}var e=g(f).split(" "),p=e[0],u=p.match(/^\[(.+)\]$/),l=u&&u[1],h=c(l,p),d=y.sortDataParsers[e[1]];return f=d?function(i){return i&&d(h(i))}:function(i){return i&&h(i)}}function c(f,h){var d;return d=f?function(i){return i.getAttribute(f)}:function(l){var e=l.querySelector(h);return e&&w(e)}}return a}();y.sortDataParsers={parseInt:function(a){return parseInt(a,10)},parseFloat:function(a){return parseFloat(a)}},y.prototype._sort=function(){var c=this.options.sortBy;if(c){var d=[].concat.apply(c,this.sortHistory),a=A(d,this.options.sortAscending);this.filteredItems.sort(a),c!=this.sortHistory[0]&&this.sortHistory.unshift(c)}},y.prototype._mode=function(){var a=this.options.layoutMode,c=this.modes[a];if(!c){throw Error("No layout mode: "+a)}return c.options=this.options[a],c},y.prototype._resetLayout=function(){x.prototype._resetLayout.call(this),this._mode()._resetLayout()},y.prototype._getItemLayoutPosition=function(a){return this._mode()._getItemLayoutPosition(a)},y.prototype._manageStamp=function(a){this._mode()._manageStamp(a)},y.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},y.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},y.prototype.appended=function(c){var d=this.addItems(c);if(d.length){var a=this._filterRevealAdded(d);this.filteredItems=this.filteredItems.concat(a)}},y.prototype.prepended=function(c){var d=this._itemize(c);if(d.length){this._resetLayout(),this._manageStamps();var a=this._filterRevealAdded(d);this.layoutItems(this.filteredItems),this.filteredItems=a.concat(this.filteredItems),this.items=d.concat(this.items)}},y.prototype._filterRevealAdded=function(a){var c=this._filter(a);return this.hide(c.needHide),this.reveal(c.matches),this.layoutItems(c.matches,!0),c.matches},y.prototype.insert=function(c){var f=this.addItems(c);if(f.length){var a,h,l=f.length;for(a=0;l>a;a++){h=f[a],this.element.appendChild(h.element)}var d=this._filter(f).matches;for(a=0;l>a;a++){f[a].isLayoutInstant=!0}for(this.arrange(),a=0;l>a;a++){delete f[a].isLayoutInstant}this.reveal(d)}};var z=y.prototype.remove;return y.prototype.remove=function(c){c=k.makeArray(c);var f=this.getItems(c);z.call(this,c);var a=f&&f.length;if(a){for(var h=0;a>h;h++){var d=f[h];k.removeFrom(this.filteredItems,d)}}},y.prototype.shuffle=function(){for(var c=0,d=this.items.length;d>c;c++){var a=this.items[c];a.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},y.prototype._noTransition=function(c){var d=this.options.transitionDuration;this.options.transitionDuration=0;var a=c.call(this);return this.options.transitionDuration=d,a},y.prototype.getFilteredItemElements=function(){for(var c=[],d=0,a=this.filteredItems.length;a>d;d++){c.push(this.filteredItems[d].element)}return c},y});!function(b){var a=function(d,f){this.$element=b(d),this.$indicators=this.$element.find(".vc_carousel-indicators"),this.options=f,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",b.proxy(this.pause,this)).on("mouseleave",b.proxy(this.cycle,this)),this._build()};a.DEFAULTS={mode:"horizontal",partial:!1,interval:5000,pause:"hover",wrap:!1,autoHeight:!1,perView:1},a.prototype.cycle=function(d){return d||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(b.proxy(this.next,this),this.options.interval)),this.touch_start_position=0,this},a.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".vc_item.vc_active"),this.$active.length||(this.$active=this.$element.find(".vc_item:first").addClass("vc_active")),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},a.prototype.showHideControl=function(d){if("undefined"==typeof d){var d=this.getActiveIndex()}this.$left_control[0===d?"hide":"show"](),this.$right_control[d===this.items_count-1?"hide":"show"]()},a.prototype.to=function(d){var g=this,f=this.getActiveIndex();return d>this.$items.length-1||0>d?void 0:this.sliding?this.$element.one("slid",function(){g.to(d)}):f==d?this.pause().cycle():this.slide(d>f?"next":"prev",b(this.$items[d]))},a.prototype.pause=function(d){return d||(this.paused=!0),this.$element.find(".vc_right.vc_carousel-control, .vc_left.vc_carousel-control").length&&b.support.transition.end&&(this.$element.trigger(b.supp
47ort.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},a.prototype.next=function(){return this.sliding?void 0:this.slide("next")},a.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},a.prototype.slide=function(k,p){var u=this.$element.find(".vc_item.vc_active"),g=p||u[k](),f=this.interval,q="next"==k?"vc_left":"vc_right",d="next"==k?"first":"last",m=this;if(!g.length){if(!this.options.wrap){return void this.returnSwipedSlide()}g=this.$element.find(".vc_item")[d]()}this.sliding=!0,f&&this.pause();var j=b.Event("slide.vc.carousel",{relatedTarget:g[0],direction:q});if(!g.hasClass("vc_active")){if(this.$indicators.length&&(this.$indicators.find(".vc_active").removeClass("vc_active"),this.$indicators.find(".vc_partial").removeClass("vc_partial"),this.$element.one("slid",function(){var h=m.getActiveIndex(),l=b(m.$indicators.children().slice(h,m.getActiveIndex()+m.options.perView));l&&l.addClass("vc_active"),m.options.partial&&l&&(h+1<m.items_count?l.last().next().addClass("vc_partial"):l.first().prev().addClass("vc_partial")),!m.options.wrap&&m.showHideControl(h)})),this.current_index=g.index(),this.current_index>this.items_count?this.current_index=0:this.current_index<0&&(this.current_index=this.items_count-1),this.current_pos_value=this.options.autoHeight?-1*this._step*this.current_index:-1*g.position()[this.animation_position],this.options.partial&&this.current_index>=this.items_count-1&&(this.current_pos_value+=this._step*(1-this.partial_part)),b.support.transition&&this.$element.hasClass("vc_slide")){if(this.$element.trigger(j),j.isDefaultPrevented()){return}this.$slideline_inner.addClass("vc_transition").css(this.animation_position,this.current_pos_value+m.pos_units),this.options.autoHeight||this.recalculateSlidelineHeight(g.height(),!0),this.$slideline_inner.one(b.support.transition.end,function(){g.addClass("vc_active"),u.removeClass("vc_active"),m.$slideline_inner.removeClass([k,"vc_transition"].join(" ")),m.sliding=!1,m.removeSwipeAnimationSpeed(),setTimeout(function(){m.$element.trigger("slid")},0)}).emulateTransitionEnd(this.transition_speed)}else{if(this.$element.trigger(j),j.isDefaultPrevented()){return}u.removeClass("vc_active"),g.addClass("vc_active"),this.sliding=!1,this.$slideline_inner.css(this.animation_position,this.current_pos_value+m.pos_units)}return f&&this.cycle(),this}},a.prototype.setSwipeAnimationSpeed=function(){this.$slideline_inner.addClass("vc_swipe-transition")},a.prototype.removeSwipeAnimationSpeed=function(){this.$slideline_inner.removeClass("vc_swipe-transition")},a.prototype.velocity=function(e,d){return{x:Math.abs(d/e)||0}},a.prototype.recalculateSlidelineHeight=function(e,d){d===!0?this.$slideline.animate({height:e}):this.$slideline.height(e)},a.prototype.resizeAction=function(){var d=0,f=0;"horizontal"===this.options.mode&&(this.el_effect_size=this.$element.width()*(this.options.partial?this.partial_part:1),this.$slideline.width(this.items_count*this.el_effect_size)),this.options.autoHeight?(this.$items.height("auto"),this.$items.each(function(){var g=b(this).height();g>d&&(d=g)}),this.$items.height(d)):this.recalculateSlidelineHeight(this.$active.height()),"vertical"===this.options.mode&&(this._step=this.$active.height(),f=this.$active.height()*this.options.perView*(this.options.partial?2-this.partial_part:1),this.recalculateSlidelineHeight(f,!1),this.$slideline_inner.css({top:-1*this.$active.position().top}),this.el_effect_size=this._step)},a.prototype.returnSwipedSlide=function(){var d={};d[this.animation_position]=this.current_pos_value+this.pos_units,this.$slideline_inner.animate(d)},a.prototype._build=function(){var k=this.$element.get(0),p=!1,u=0,g=0,f=0,q=!1,d=this,m=this.options.mode;if(this.getActiveIndex(),this.el_width=0,this.items_count=this.$items.length,this.$slideline=this.$element.find(".vc_carousel-slideline"),this.$slideline_inner=this.$slideline.find("> div"),this.slideline_inner=this.$slideline_inner.get(0),this.partial_part=0.8,this._slide_width=0,this.swipe_velocity=0.7,this.current_pos_value=0,this.current_index=0,this.el_effect_size=0,this.transition_speed=600,this.$left_control=this.$element.find(".vc_left.vc_carousel-control"),this.$right_control=this.$element.find(".vc_right.vc_carousel-control"),this.options.partial&&(this.options.autoHeight=!0),this.options.perView>1&&this.$element.addClass("vc_per-view-more vc_per-view-"+this.options.perView),"horizontal"===m?(this.pos_units="%",this._step=100/this.items_count/this.options.perView,this.animation_position="left",this.$items.width(this._step+this.pos_units),this.touch_direction="pageX"):(this.pos_units="px",this.animation_position="top",this.touch_direction="pageY",this.$element.addClass("vc_carousel_vertical")),!d.options.wrap&&this.showHideControl(),this.options.partial&&this.$element.addClass("vc_partial"),this.$indicators.length){var j=d.$indicators.children().slice(this.current_index,this.current_index+this.options.perView).addClass("vc_active");
47this.options.partial&&j.last().next().addClass("vc_partial")}return b(window).resize(this.resizeAction.bind(this)),this.resizeAction(),k.addEventListener("touchstart",function(e){p=parseFloat(e[d.touch_direction]),u=e.timeStamp,g=d.$slideline_inner.position()[d.animation_position]}.bind(this),!1),k.addEventListener("touchmove",function(e){return f=parseFloat(e[d.touch_direction])-p,(q=Math.abs(f)>0)?(e.preventDefault(),void (d.slideline_inner.style[d.animation_position]=g+f+"px")):!0},!1),k.addEventListener("touchend",function(l){var h,o,r;q&&(h=(l.timeStamp-u)/1000,o=f/d.el_effect_size,r=d.velocity(h,o),r.x>d.swipe_velocity&&0>o||-0.7>=o?(d.setSwipeAnimationSpeed(),d.next()):r.x>d.swipe_velocity||o>=0.7?(d.setSwipeAnimationSpeed(),d.prev()):d.returnSwipedSlide(),q=!1)},!1),this.$element.addClass("vc_build"),this};var c=b.fn.carousel;b.fn.carousel=function(f,d){return this.each(function(){var i=b(this),h=i.data("vc.carousel"),e=b.extend({},a.DEFAULTS,i.data(),"object"==typeof f&&f),g="string"==typeof f?f:e.slide;h||i.data("vc.carousel",h=new a(this,e)),"number"==typeof f?h.to(f):g?h[g](d):e.interval&&h.pause().cycle()})},b.fn.carousel.Constructor=a,b.fn.carousel.noConflict=function(){return b.fn.carousel=c,this},b(document).off("click.vc.carousel.data-api").on("click.vc.carousel.data-api","[data-slide], [data-slide-to]",function(f){var h,g=b(this),k=b(g.attr("data-target")||(h=g.attr("href"))&&h.replace(/.*(?=#[^\s]+$)/,"")),j=b.extend({},k.data(),g.data()),d=g.attr("data-slide-to");d&&(j.interval=!1),k.carousel(j),(d=g.attr("data-slide-to"))&&k.data("vc.carousel").to(d),f.preventDefault()}),b(window).on("load",function(){b('[data-ride="vc_carousel"]').each(function(){var d=b(this);d.carousel(d.data())})})}(window.jQuery);
48/*!
49 jQuery Waypoints - v2.0.5
50 Copyright (c) 2011-2014 Caleb Troughton
51 Licensed under the MIT license.
52 https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
53 */
54(function(){var a=[].indexOf||function(c){for(var d=0,f=this.length;d<f;d++){if(d in this&&this[d]===c){return d}}return -1},b=[].slice;(function(c,d){if(typeof define==="function"&&define.amd){return define("waypoints",["jquery"],function(e){return d(e,c)})}else{return d(c.jQuery,c)}})(window,function(C,z){var F,B,E,x,I,q,K,L,G,J,A,e,k,j,H,D;F=C(z);L=a.call(z,"ontouchstart")>=0;x={horizontal:{},vertical:{}};I=1;K={};q="waypoints-context-id";A="resize.waypoints";e="scroll.waypoints";k=1;j="waypoints-waypoint-ids";H="waypoint";D="waypoints";B=function(){function c(d){var f=this;this.$element=d;this.element=d[0];this.didResize=false;this.didScroll=false;this.id="context"+I++;this.oldScroll={x:d.scrollLeft(),y:d.scrollTop()};this.waypoints={horizontal:{},vertical:{}};this.element[q]=this.id;K[this.id]=this;d.bind(e,function(){var g;if(!(f.didScroll||L)){f.didScroll=true;g=function(){f.doScroll();return f.didScroll=false};return z.setTimeout(g,C[D].settings.scrollThrottle)}});d.bind(A,function(){var g;if(!f.didResize){f.didResize=true;g=function(){C[D]("refresh");return f.didResize=false};return z.setTimeout(g,C[D].settings.resizeThrottle)}})}c.prototype.doScroll=function(){var d,f=this;d={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(L&&(!d.vertical.oldScroll||!d.vertical.newScroll)){C[D]("refresh")}C.each(d,function(m,n){var h,p,g;g=[];p=n.newScroll>n.oldScroll;h=p?n.forward:n.backward;C.each(f.waypoints[m],function(o,r){var s,l;if(n.oldScroll<(s=r.offset)&&s<=n.newScroll){return g.push(r)}else{if(n.newScroll<(l=r.offset)&&l<=n.oldScroll){return g.push(r)}}});g.sort(function(i,l){return i.offset-l.offset});if(!p){g.reverse()}return C.each(g,function(i,l){if(l.options.continuous||i===g.length-1){return l.trigger([h])}})});return this.oldScroll={x:d.horizontal.newScroll,y:d.vertical.newScroll}};c.prototype.refresh=function(){var f,h,g,d=this;g=C.isWindow(this.element);h=this.$element.offset();this.doScroll();f={horizontal:{contextOffset:g?0:h.left,contextScroll:g?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:g?0:h.top,contextScroll:g?0:this.oldScroll.y,contextDimension:g?C[D]("viewportHe
54ight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return C.each(f,function(i,l){return C.each(d.waypoints[i],function(p,v){var n,y,m,u,w;n=v.options.offset;m=v.offset;y=C.isWindow(v.element)?0:v.$element.offset()[l.offsetProp];if(C.isFunction(n)){n=n.apply(v.element)}else{if(typeof n==="string"){n=parseFloat(n);if(v.options.offset.indexOf("%")>-1){n=Math.ceil(l.contextDimension*n/100)}}}v.offset=y-l.contextOffset+l.contextScroll-n;if(v.options.onlyOnScroll&&m!=null||!v.enabled){return}if(m!==null&&m<(u=l.oldScroll)&&u<=v.offset){return v.trigger([l.backward])}else{if(m!==null&&m>(w=l.oldScroll)&&w>=v.offset){return v.trigger([l.forward])}else{if(m===null&&l.oldScroll>=v.offset){return v.trigger([l.forward])}}}})})};c.prototype.checkEmpty=function(){if(C.isEmptyObject(this.waypoints.horizontal)&&C.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([A,e].join(" "));return delete K[this.id]}};return c}();E=function(){function c(f,h,g){var d,l;if(g.offset==="bottom-in-view"){g.offset=function(){var i;i=C[D]("viewportHeight");if(!C.isWindow(h.element)){i=h.$element.height()}return i-C(this).outerHeight()}}this.$element=f;this.element=f[0];this.axis=g.horizontal?"horizontal":"vertical";this.callback=g.handler;this.context=h;this.enabled=g.enabled;this.id="waypoints"+k++;this.offset=null;this.options=g;h.waypoints[this.axis][this.id]=this;x[this.axis][this.id]=this;d=(l=this.element[j])!=null?l:[];d.push(this.id);this.element[j]=d}c.prototype.trigger=function(d){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,d)}if(this.options.triggerOnce){return this.destroy()}};c.prototype.disable=function(){return this.enabled=false};c.prototype.enable=function(){this.context.refresh();return this.enabled=true};c.prototype.destroy=function(){delete x[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};c.getWaypointsByElement=function(d){var g,f;f=d[j];if(!f){return[]}g=C.extend({},x.horizontal,x.vertical);return C.map(f,function(h){return g[h]})};return c}();J={init:function(c,f){var d;f=C.extend({},C.fn[H].defaults,f);if((d=f.handler)==null){f.handler=c}this.each(function(){var h,m,g,l;h=C(this);g=(l=f.context)!=null?l:C.fn[H].defaults.context;if(!C.isWindow(g)){g=h.closest(g)}g=C(g);m=K[g[0][q]];if(!m){m=new B(g)}return new E(h,m,f)});C[D]("refresh");return this},disable:function(){return J._invoke.call(this,"disable")},enable:function(){return J._invoke.call(this,"enable")},destroy:function(){return J._invoke.call(this,"destroy")},prev:function(c,d){return J._traverse.call(this,c,d,function(f,g,h){if(g>0){return f.push(h[g-1])}})},next:function(c,d){return J._traverse.call(this,c,d,function(f,g,h){if(g<h.length-1){return f.push(h[g+1])}})},_traverse:function(f,g,d){var h,c;if(f==null){f="vertical"}if(g==null){g=z}c=G.aggregate(g);h=[];this.each(function(){var i;i=C.inArray(this,c[f]);return d(h,i,c[f])});return this.pushStack(h)},_invoke:function(c){this.each(function(){var d;d=E.getWaypointsByElement(this);return C.each(d,function(f,g){g[c]();return true})});return this}};C.fn[H]=function(){var c,d;d=arguments[0],c=2<=arguments.length?b.call(arguments,1):[];if(J[d]){return J[d].apply(this,c)}else{if(C.isFunction(d)){return J.init.apply(this,arguments)}else{if(C.isPlainObject(d)){return J.init.apply(this,[null,d])}else{if(!d){return C.error("jQuery Waypoints needs a callback function or handler option.")}else{return C.error("The "+d+" method does not exist in jQuery Waypoints.")}}}}};C.fn[H].defaults={context:z,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};G={refresh:function(){return C.each(K,function(c,d){return d.refresh()})},viewportHeight:function(){var c;return(c=z.innerHeight)!=null?c:F.height()},aggregate:function(d){var g,f,c;g=x;if(d){g=(c=K[C(d)[0][q]])!=null?c.waypoints:void 0}if(!g){return[]}f={horizontal:[],vertical:[]};C.each(f,function(l,h){C.each(g[l],function(i,m){return h.push(m)});h.sort(function(i,m){return i.offset-m.offset});f[l]=C.map(h,function(i){return i.element});return f[l]=C.unique(f[l])});return f},above:function(c){if(c==null){c=z}return G._filter(c,"vertical",function(d,f){return f.offset<=d.oldScroll.y})},below:function(c){if(c==null){c=z}return G._filter(c,"vertical",function(d,f){return f.offset>d.oldScroll.y})},left:function(c){if(c==null){c=z}return G._filter(c,"horizontal",function(d,f){return f.offset<=d.oldScroll.x})},right:function(c){if(c==null){c=z}return G._filter(c,"horizontal",function(d,f){return f.offset>d.oldScroll.x})},enable:function(){return G._invoke("enable")},disable:function(){return G._invoke("disable")},destroy:function(){return G._invoke("destroy")},extendFn:function(c,d){return J[c]=d},_invoke:function(c){var d;d=C.extend({},x.vertical,x.horizontal);return C.each(d,function(f,g){g[c]();return true})},_filter:function(d,g,f){var c,h;c=K[C(d)[0][q]];if(!c){return[]}h=[];C.each(c.waypoints[g],function(i,l){if(f(c,l)){return h.push(l)}});h.sort(function(i,l){return i.offset-l.offset});return C.map(h,function(i){return i.element})}};C[D]=function(){var c,d;
54d=arguments[0],c=2<=arguments.length?b.call(arguments,1):[];if(G[d]){return G[d].apply(null,c)}else{return G.aggregate.call(null,d)}};C[D].settings={resizeThrottle:100,scrollThrottle:30};return F.on("load.waypoints",function(){return C[D]("refresh")})})}).call(this);
55/*!
56 * jQuery One Page Nav Plugin
57 * http://github.com/davist11/jQuery-One-Page-Nav
58 *
59 * Copyright (c) 2010 Trevor Davis (http://trevordavis.net)
60 * Dual licensed under the MIT and GPL licenses.
61 * Uses the same license as jQuery, see:
62 * http://jquery.org/license
63 *
64 * @version 3.0.0
65 *
66 * Example usage:
67 * $('#nav').onePageNav({
68 *   currentClass: 'current',
69 *   changeHash: false,
70 *   scrollSpeed: 750
71 * });
72 */
73(function(d,c,a,e){var b=function(g,f){this.elem=g;this.$elem=d(g);this.options=f;this.metadata=this.$elem.data("plugin-options");this.$win=d(c);this.sections={};this.didScroll=false;this.$doc=d(a);this.docHeight=this.$doc.height()};b.prototype={defaults:{navItems:"a",currentClass:"current",changeHash:false,easing:"swing",filter:"",scrollSpeed:750,scrollThreshold:0.5,begin:false,end:false,scrollChange:false},init:function(){this.config=d.extend({},this.defaults,this.options,this.metadata);this.$nav=this.$elem.find(this.config.navItems);if(this.config.filter!==""){this.$nav=this.$nav.filter(this.config.filter)}this.$nav.on("click.onePageNav",d.proxy(this.handleClick,this));this.getPositions();this.bindInterval();this.$win.on("resize.onePageNav",d.proxy(this.getPositions,this));return this},adjustNav:function(f,g){f.$elem.find("."+f.config.currentClass).removeClass(f.config.currentClass);g.addClass(f.config.currentClass)},bindInterval:function(){var g=this;var f;g.$win.on("scroll.onePageNav",function(){g.didScroll=true});g.t=setInterval(function(){f=g.$doc.height();if(g.didScroll){g.didScroll=false;g.scrollChange()}if(f!==g.docHeight){g.docHeight=f;g.getPositions()}},250)},getHash:function(f){return f.attr("href").split("#")[1]},getPositions:function(){var h=this;var i;var g;var f;h.$nav.each(function(){i=h.getHash(d(this));f=d("#"+i);if(f.length){g=f.offset().top;h.sections[i]=Math.round(g)}})},getSection:function(i){var f=null;var h=Math.round(this.$win.height()*this.config.scrollThreshold);for(var g in this.sections){if((this.sections[g]-h-this.headerOffsetTop())<i){f=g}}return f},headerOffsetTop:function(){var f=0;if((d("#wpadminbar").length>0)&&(d("#wpadminbar").css("position")=="fixed")){f=d("#wpadminbar").outerHeight()}if(d("header.main-header .header-sticky").length>0){if(d("header.main-header").css("position")=="fixed"){f+=d("header.main-header").outerHeight()}else{f+=60}}return f},handleClick:function(j){var g=this;var f=d(j.currentTarget);var i=f.parent();var h="#"+g.getHash(f);if(h=="#undefined"){return}if((1)||!i.hasClass(g.config.currentClass)){if(g.config.begin){g.config.begin()}g.adjustNav(g,i);g.unbindInterval();g.scrollTo(h,function(){if(g.config.changeHash){c.location.hash=h}g.bindInterval();if(g.config.end){g.config.end()}})}j.preventDefault()},scrollChange:function(){var h=this.$win.scrollTop();var f=this.getSection(h);var g;if(f!==null){g=this.$elem.find('a[href$="#'+f+'"]').parent();if(!g.hasClass(this.config.currentClass)){this.adjustNav(this,g);if(this.config.scrollChange){this.config.scrollChange(g)}}}},scrollTo:function(f,h){if(d(f).length==0){return}var g=d(f).offset().top-this.headerOffsetTop();d("html, body").animate({scrollTop:g},this.config.scrollSpeed,this.config.easing,h)},unbindInterval:function(){clearInterval(this.t);this.$win.unbind("scroll.onePageNav")}};b.defaults=b.prototype.defaults;d.fn.onePageNav=function(f){return this.each(function(){new b(this,f).init()})}})(jQuery,window,document);(function(a){a.fn.equalHeight=function(){var b=[];a.each(this,function(f,e){var d=a(e);var g;var c=(d.css("box-sizing")=="border-box")||(d.css("-moz-box-sizing")=="border-box");if(c){g=d.innerHeight()}else{g=d.height()}b.push(g)});this.height(Math.max.apply(window,b));return this};a.fn.equalHeightGrid=function(c){var f=this;f.css("height","auto");for(var b=0;b<f.length;b++){if(b%c===0){var d=a(f[b]);for(var e=1;e<c;e++){d=d.add(f[b+e])}d.equalHeight()}}return this};a.fn.detectGridColumns=function(){var c=0,b=0;this.each(function(d,e){var f=a(e).offset().top;if(c===0||f==c){b++;c=f}else{return false}});return b};a.fn.responsiveEqualHeightGrid=function(){var c=this;function b(){var d=c.detectGridColumns();c.equalHeightGrid(d)}a(window).bind("resize load",b);b();return this}})(jQuery);
73jQuery(document).ready(function(){jQuery(function(a){if(a(".column-equal-height").length){a(".column-equal-height").each(function(){a('[class*="vc_col-"]',this).responsiveEqualHeightGrid()})}})});
74/*!
75 * classie - class helper functions
76 * from bonzo https://github.com/ded/bonzo
77 *
78 * classie.has( elem, 'my-class' ) -> true/false
79 * classie.add( elem, 'my-new-class' )
80 * classie.remove( elem, 'my-unwanted-class' )
81 * classie.toggle( elem, 'my-class' )
82 */
83(function(e){function a(h){return new RegExp("(^|\\s+)"+h+"(\\s+|$)")}var d,f,g;if("classList" in document.documentElement){d=function(h,i){return h.classList.contains(i)};f=function(h,i){h.classList.add(i)};g=function(h,i){h.classList.remove(i)}}else{d=function(h,i){return a(i).test(h.className)};f=function(h,i){if(!d(h,i)){h.className=h.className+" "+i}};g=function(h,i){h.className=h.className.replace(a(i)," ")}}function b(i,j){var h=d(i,j)?g:f;h(i,j)}var c={hasClass:d,addClass:f,removeClass:g,toggleClass:b,has:d,add:f,remove:g,toggle:b};if(typeof define==="function"&&define.amd){define(c)}else{e.classie=c}})(window);(function(c){var b={animations:Modernizr.cssanimations},a={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"},f=a[Modernizr.prefixed("animation")],d=function(h,j){var i=function(k){if(b.animations){if(k.target!=this){return}this.removeEventListener(f,i)}if(j&&typeof j==="function"){j.call()}};if(b.animations){h.addEventListener(f,i)}else{i()}};function g(i,h){for(var j in h){if(h.hasOwnProperty(j)){i[j]=h[j]}}return i}function e(i,h){this.el=i;this.options=g({},this.options);g(this.options,h);this.ctrlClose=this.el.querySelector("[data-dialog-close]");this.isOpen=false;this._initEvents()}e.prototype.options={onOpenDialog:function(){return false},onCloseDialog:function(){return false}};e.prototype._initEvents=function(){var h=this;this.ctrlClose.addEventListener("click",this.toggle.bind(this));document.addEventListener("keydown",function(i){var j=i.keyCode||i.which;if(j===27&&h.isOpen){h.toggle()}});this.el.querySelector(".dialog__overlay").addEventListener("click",this.toggle.bind(this))};e.prototype.toggle=function(){var h=this;if(this.isOpen){classie.remove(this.el,"dialog--open");classie.add(h.el,"dialog--close");d(this.el.querySelector(".dialog__content"),function(){classie.remove(h.el,"dialog--close")});this.options.onCloseDialog(this)}else{classie.add(this.el,"dialog--open");this.options.onOpenDialog(this)}this.isOpen=!this.isOpen};c.DialogFx=e})(window);
84/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */
85window.matchMedia||(window.matchMedia=function(){var b=(window.styleMedia||window.media);if(!b){var c=document.createElement("style"),a=document.getElementsByTagName("script")[0],d=null;c.type="text/css";c.id="matchmediajs-test";a.parentNode.insertBefore(c,a);d=("getComputedStyle" in window)&&window.getComputedStyle(c,null)||c.currentStyle;b={matchMedium:function(e){var f="@media "+e+"{ #matchmediajs-test { width: 1px; } }";if(c.styleSheet){c.styleSheet.cssText=f}else{c.textContent=f}return d.width==="1px"}}}return function(e){return{matches:b.matchMedium(e||"all"),media:e||"all"}}}());!function(f){var e=function(a,b){this.element=f(a);this.format=d.parseFormat(b.format||this.element.data("date-format")||"mm/dd/yyyy");this.picker=f(d.template).appendTo("body").on({click:f.proxy(this.click,this)});this.isInput=this.element.is("input");this.component=this.element.is(".date")?this.element.find(".add-on"):false;if(this.isInput){this.element.on({focus:f.proxy(this.show,this),keyup:f.proxy(this.update,this)})}else{if(this.component){this.component.on("click",f.proxy(this.show,this))}else{this.element.on("click",f.proxy(this.show,this))}}this.minViewMode=b.minViewMode||this.element.data("date-minviewmode")||0;if(typeof this.minViewMode==="string"){switch(this.minViewMode){case"months":this.minViewMode=1;break;case"years":this.minViewMode=2;break;default:this.minViewMode=0;break}}this.viewMode=b.viewMode||this.element.data("date-viewmode")||0;if(typeof this.viewMode==="string"){switch(this.viewMode){case"months":this.viewMode=1;break;case"years":this.viewMode=2;break;default:this.viewMode=0;break}}this.startViewMode=this.viewMode;this.weekStart=b.weekStart||this.element.data("date-weekstart")||0;this.weekEnd=this.weekStart===0?6:this.weekStart-1;this.onRender=b.onRender;this.fillDow();this.fillMonths();this.update();this.showMode()};e.prototype={constructor:e,show:function(a){this.picker.show();this.height=this.component?this.component.outerHeight():this.element.outerHeight();this.place();f(window).on("resize",f.proxy(this.place,this));if(a){a.stopPropagation();a.preventDefault()}if(!this.isInput){}var b=this;f(document).on("mousedown",function(c){if(f(c.target).closest(".datepicker").length==0){b.hide()}});this.element.trigger({type:"show",date:this.date})},hide:function(){this.picker.hide();f(window).off("resize",this.place);this.viewMode=this.startViewMode;this.showMode();if(!this.isInput){f(document).off("mousedown",this.hide)}this.element.trigger({type:"hide",date:this.date})},set:function(){var a=d.formatDate(this.date,this.format);if(!this.isInput){if(this.component){this.element.find("input").prop("value",a)}this.element.data("date",a)}else{this.element.prop("value",a)}}
85,setValue:function(a){if(typeof a==="string"){this.date=d.parseDate(a,this.format)}else{this.date=new Date(a)}this.set();this.viewDate=new Date(this.date.getFullYear(),this.date.getMonth(),1,0,0,0,0);this.fill()},place:function(){var a=this.component?this.component.offset():this.element.offset();this.picker.css({top:a.top+this.height,left:a.left})},update:function(a){this.date=d.parseDate(typeof a==="string"?a:(this.isInput?this.element.prop("value"):this.element.data("date")),this.format);this.viewDate=new Date(this.date.getFullYear(),this.date.getMonth(),1,0,0,0,0);this.fill()},fillDow:function(){var b=this.weekStart;var a="<tr>";while(b<this.weekStart+7){a+='<th class="dow">'+d.dates.daysMin[(b++)%7]+"</th>"}a+="</tr>";this.picker.find(".datepicker-days thead").append(a)},fillMonths:function(){var a="";var b=0;while(b<12){a+='<span class="month">'+d.dates.monthsShort[b++]+"</span>"}this.picker.find(".datepicker-months td").append(a)},fill:function(){var a=new Date(this.viewDate),E=a.getFullYear(),b=a.getMonth(),A=this.date.valueOf();this.picker.find(".datepicker-days th:eq(1)").text(d.dates.months[b]+" "+E);var x=new Date(E,b-1,28,0,0,0,0),D=d.getDaysInMonth(x.getFullYear(),x.getMonth());x.setDate(D);x.setDate(D-(x.getDay()-this.weekStart+7)%7);var u=new Date(x);u.setDate(u.getDate()+42);u=u.valueOf();var v=[];var y,c,C;while(x.valueOf()<u){if(x.getDay()===this.weekStart){v.push("<tr>")}y=this.onRender(x);c=x.getFullYear();C=x.getMonth();if((C<b&&c===E)||c<E){y+=" old"}else{if((C>b&&c===E)||c>E){y+=" new"}}if(x.valueOf()===A){y+=" active"}v.push('<td class="day '+y+'">'+x.getDate()+"</td>");if(x.getDay()===this.weekEnd){v.push("</tr>")}x.setDate(x.getDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(v.join(""));var i=this.date.getFullYear();var B=this.picker.find(".datepicker-months").find("th:eq(1)").text(E).end().find("span").removeClass("active");if(i===E){B.eq(this.date.getMonth()).addClass("active")}v="";E=parseInt(E/10,10)*10;var z=this.picker.find(".datepicker-years").find("th:eq(1)").text(E+"-"+(E+9)).end().find("td");E-=1;for(var w=-1;w<11;w++){v+='<span class="year'+(w===-1||w===10?" old":"")+(i===E?" active":"")+'">'+E+"</span>";E+=1}z.html(v)},click:function(a){a.stopPropagation();a.preventDefault();var b=f(a.target).closest("span, td, th");if(b.length===1){switch(b[0].nodeName.toLowerCase()){case"th":switch(b[0].className){case"switch":this.showMode(1);break;case"prev":case"next":this.viewDate["set"+d.modes[this.viewMode].navFnc].call(this.viewDate,this.viewDate["get"+d.modes[this.viewMode].navFnc].call(this.viewDate)+d.modes[this.viewMode].navStep*(b[0].className==="prev"?-1:1));this.fill();this.set();break}break;case"span":if(b.is(".month")){var c=b.parent().find("span").index(b);this.viewDate.setMonth(c)}else{var j=parseInt(b.text(),10)||0;this.viewDate.setFullYear(j)}if(this.viewMode!==0){this.date=new Date(this.viewDate);this.element.trigger({type:"changeDate",date:this.date,viewMode:d.modes[this.viewMode].clsName})}this.showMode(-1);this.fill();this.set();break;case"td":if(b.is(".day")&&!b.is(".disabled")){var k=parseInt(b.text(),10)||1;var c=this.viewDate.getMonth();if(b.is(".old")){c-=1}else{if(b.is(".new")){c+=1}}var j=this.viewDate.getFullYear();this.date=new Date(j,c,k,0,0,0,0);this.viewDate=new Date(j,c,Math.min(28,k),0,0,0,0);this.fill();this.set();this.element.trigger({type:"changeDate",date:this.date,viewMode:d.modes[this.viewMode].clsName})}break}}},mousedown:function(a){a.stopPropagation();a.preventDefault()},showMode:function(a){if(a){this.viewMode=Math.max(this.minViewMode,Math.min(2,this.viewMode+a))}this.picker.find(">div").hide().filter(".datepicker-"+d.modes[this.viewMode].clsName).show()}};f.fn.datepicker=function(b,a){return this.each(function(){var c=f(this),i=c.data("datepicker"),j=typeof b==="object"&&b;if(!i){c.data("datepicker",(i=new e(this,f.extend({},f.fn.datepicker.defaults,j))))}if(typeof b==="string"){i[b](a)}})};f.fn.datepicker.defaults={onRender:function(a){return""}};f.fn.datepicker.Constructor=e;var d={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],dates:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
85ay","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},isLeapYear:function(a){return(((a%4===0)&&(a%100!==0))||(a%400===0))},getDaysInMonth:function(b,a){return[31,(d.isLeapYear(b)?29:28),31,30,31,30,31,31,30,31,30,31][a]},parseFormat:function(a){var b=a.match(/[.\/\-\s].*?/),c=a.split(/\W+/);if(!b||!c||c.length===0){throw new Error("Invalid date format.")}return{separator:b,parts:c}},parseDate:function(p,a){var o=p.split(a.separator),p=new Date(),q;p.setHours(0);p.setMinutes(0);p.setSeconds(0);p.setMilliseconds(0);if(o.length===a.parts.length){var c=p.getFullYear(),b=p.getDate(),i=p.getMonth();for(var n=0,r=a.parts.length;n<r;n++){q=parseInt(o[n],10)||1;switch(a.parts[n]){case"dd":case"d":b=q;p.setDate(q);break;case"mm":case"m":i=q-1;p.setMonth(q-1);break;case"yy":c=2000+q;p.setFullYear(2000+q);break;case"yyyy":c=q;p.setFullYear(q);break}}p=new Date(c,i,b,0,0,0)}return p},formatDate:function(j,b){var a={d:j.getDate(),m:j.getMonth()+1,yy:j.getFullYear().toString().substring(2),yyyy:j.getFullYear()};a.dd=(a.d<10?"0":"")+a.d;a.mm=(a.m<10?"0":"")+a.m;var j=[];for(var c=0,i=b.parts.length;c<i;c++){j.push(a[b.parts[c]])}return j.join(b.separator)},headTemplate:'<thead><tr><th class="prev">&lsaquo;</th><th colspan="5" class="switch"></th><th class="next">&rsaquo;</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>'};d.template='<div class="datepicker dropdown-menu"><div class="datepicker-days"><table class=" table-condensed">'+d.headTemplate+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+d.headTemplate+d.contTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+d.headTemplate+d.contTemplate+"</table></div></div>"}(window.jQuery);jQuery(document).ready(function(){jQuery(".datepicker").datepicker()});
86var G5Plus=G5Plus||{};!function($){"use strict";var $window=$(window),$body=$("body"),isRTL=!!$body.hasClass("site-rtl"),deviceAgent=navigator.userAgent.toLowerCase(),isMobile=deviceAgent.match(/(iphone|ipod|android|iemobile)/),isMobileAlt=deviceAgent.match(/(iphone|ipod|ipad|android|iemobile)/),isAppleDevice=deviceAgent.match(/(iphone|ipod|ipad)/),isIEMobile=deviceAgent.match(/(iemobile)/);G5Plus.common={init:function(){G5Plus.common.owlCarousel(),G5Plus.common.stellar(),G5Plus.common.prettyPhoto(),G5Plus.common.magicLine(),G5Plus.common.tooltip()},owlCarousel:function(){$("div.owl-carousel:not(.manual)").each(function(){var slider=$(this),defaults={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[980,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,transitionStyle:!1,addClassActive:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1},config=$.extend({},defaults,slider.data("plugin-options")),fucStr_afterInit=config.afterInit,fuc_afterInit=function(){eval(fucStr_afterInit)};0!=config.afterInit&&(config.afterInit=fuc_afterInit);var fucStr_afterMove=config.afterMove,fuc_afterMove=function(){eval(fucStr_afterMove)};0!=config.afterMove&&(config.afterMove=fuc_afterMove),slider.owlCarousel(config)})},isDesktop:function(){var e=991,a=$(".x-nav-menu");return 0<a.length&&void 0!==a.attr("responsive-breakpoint")&&!isNaN(parseInt(a.attr("responsive-breakpoint"),10))&&(e=parseInt(a.attr("responsive-breakpoint"),10)),window.matchMedia("(min-width: "+(e+1)+"px)").matches},stellar:function(){$.stellar({horizontalScrolling:!1,scrollProperty:"scroll",positionProperty:"position"})},prettyPhoto:function(){$("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",social_tools:"",animation_speed:"normal",theme:"light_square"})},magicLine:function(){$(".magic-line-container").each(function(){var e=$
86("li.active",this);G5Plus.common.magicLineSetPosition(e),$("li",this).hover(function(){$(this).hasClass("none-magic-line")||G5Plus.common.magicLineSetPosition(this)},function(){$(this).hasClass("none-magic-line")||G5Plus.common.magicLineReturnActive(this)})})},magicLineSetPosition:function(e){var a,t,i,o,s;null!=e&&"undefined"!=e&&(a=0,null!=$(e).position()&&(a=$(e).position().left),t=$(e).css("margin-left"),i=$(e).css("margin-right"),o=$(".top.magic-line",$(e).parent()),s=$(".bottom.magic-line",$(e).parent()),null!=o&&"undefined"!=o&&($(o).css("left",a),$(o).css("width",$(e).width()),$(o).css("margin-left",t),$(o).css("margin-right",i)),null!=s&&"undefined"!=s&&($(s).css("left",a),$(s).css("width",$(e).width()),$(s).css("margin-left",t),$(s).css("margin-right",i)))},magicLineReturnActive:function(e){var a;$(e).hasClass("active")||(a=$("li.active",$(e).parent()),G5Plus.common.magicLineSetPosition(a))},showLoading:function(){$body.addClass("overflow-hidden"),0==$(".loading-wrapper").length&&$body.append('<div class="loading-wrapper"><span class="spinner-double-section-far"></span></div>')},hideLoading:function(){$(".loading-wrapper").fadeOut(function(){$(".loading-wrapper").remove(),$("body").removeClass("overflow-hidden")})},tooltip:function(){$().tooltip&&!isMobileAlt&&$('[data-toggle="tooltip"]').tooltip()},isIE:function(){return!(!window.navigator.userAgent.indexOf("MSIE ")&&!navigator.userAgent.match(/Trident.*rv\:11\./))}},G5Plus.page={init:function(){G5Plus.page.footerParallax(),G5Plus.page.topDrawer(),G5Plus.page.setOverlayVC(),G5Plus.page.progressBar(),G5Plus.page.events(),G5Plus.page.backToTop(),G5Plus.page.onQuotesClickHandler(),G5Plus.page.onMenuProductClickHandler(),G5Plus.page.setWidgetCollapse()},events:function(){$(".wpb_map_wraper").on("click",G5Plus.page.onMapClickHandler)},windowLoad:function(){$body.hasClass("site-loading")&&G5Plus.page.pageIn(),G5Plus.page.setPositionPageTitle()},windowResized:function(){G5Plus.page.footerParallax(),G5Plus.page.setPositionPageTitle(),G5Plus.page.setWidgetCollapse()},setPositionPageTitle:function(){var e,a,t,i;G5Plus.common.isDesktop()&&(e=$(".page-title-wrap"),$("header.main-header").hasClass("header-float")&&null!=e&&void 0!==e&&(a=$("header.main-header").outerHeight(),$(".top-bar").length&&(a+=$(".top-bar").outerHeight()),t=($(e).outerHeight()-a-$(".block-center-inner",e).outerHeight())/2,$(e).css("padding-top",a+t),$(e).css("padding-bottom",t),i=$(".page-title-inner",e),$(i).css("transition","all 0.5s"),$(i).css("-webkit-transition","all 0.5s ease-in-out"),$(i).css("-moz-transition","all 0.5s ease-in-out"),$(i).css("-o-transition","all 0.5s ease-in-out"),$(i).css("-ms-transition","all 0.5s ease-in-out")))}
86,footerParallax:function(){var e=$("footer"),a=0<$("header.main-header .sticky-wrapper").length?60:0,t=$("#wpadminbar"),i=0<t.length?t.outerHeight():0;$body.hasClass("page-template-coming-soon")?$body.removeClass("footer-static"):e.hasClass("enable-parallax")&&(G5Plus.common.isDesktop()&&$window.height()>=e.outerHeight()+a+i?($body.css({"padding-bottom":e.outerHeight()+"px"}),$body.removeClass("footer-static")):($body.addClass("footer-static"),$body.css({"padding-bottom":"0px"})))},topDrawer:function(){$(".top-drawer-toggle").click(function(){$("#top-drawer-bar").slideToggle("slow"),$(this).toggleClass("open")})},setOverlayVC:function(){$("[data-overlay-image]").each(function(){var a=$(this);setTimeout(function(){var e='<div class="overlay-bg-vc" style="background-image: url('+a.data("overlay-image")+") ;background-repeat:repeat; opacity:"+a.data("overlay-opacity")+'"></div>';a.prepend(e)},100)}),$("[data-overlay-color]").each(function(){var a=$(this);setTimeout(function(){var e='<div class="overlay-bg-vc" style="background-color: '+a.data("overlay-color")+'"></div>';a.prepend(e)},100)})},progressBar:function(){$().waypoint?$(".wolverine-vertical-progress-bar").waypoint(function(){$(this).find(".vc_single_bar").each(function(e){var a=$(this).find(".vc_bar"),t=a.data("percentage-value");setTimeout(function(){a.css({height:t+"%"})},200*e)})},{offset:"85%"}):$(this).find(".wolverine-vertical-progress-bar .vc_single_bar").each(function(e){var a=$(this).find(".vc_bar"),t=a.data("percentage-value");setTimeout(function(){a.css({height:t+"%"})},200*e)})},backToTop:function(){var t=$(".back-top-top-wrap"),e=$(".back-to-top");0<e.length&&(e.click(function(e){e.preventDefault(),$("html,body").animate({scrollTop:"0px"},800)}),$window.on("scroll",function(e){var a=$window.scrollTop();$window.height()/2<a?t.addClass("in"):t.removeClass("in")}))}
86,onMapClickHandler:function(){var e=$(this);e.off("click",G5Plus.page.onMapClickHandler),e.find("iframe").css("pointer-events","auto"),e.on("mouseleave",G5Plus.page.onMapMouseleaveHandler)},onMapMouseleaveHandler:function(){var e=$(this);e.on("click",G5Plus.page.onMapClickHandler),e.off("mouseleave",G5Plus.page.onMapMouseleaveHandler),e.find("iframe").css("pointer-events","none")},onQuotesClickHandler:function(){$(".wolverine-quotes .custom-owl-prev").click(function(){$(".owl-carousel",$(this).parent()).data("owlCarousel").prev()}),$(".wolverine-quotes .custom-owl-next").click(function(){$(".owl-carousel",$(this).parent()).data("owlCarousel").next()})},onMenuProductClickHandler:function(){$(".wolverine-menu-product-cate li.cat-parent").click(function(){$(".wolverine-menu-product-cate ul ul").slideUp(),$("ul",this).is(":visible")||$("ul",this).slideDown()})},pageIn:function(){setTimeout(function(){$("#site-loading").fadeOut(300)},300)},setWidgetCollapse:function(){$window.width();window.matchMedia("(max-width: 767px)").matches?$("footer.footer-collapse-able aside.widget").each(function(){var a=$("h4:first",this),e=$(a).next();$(a).addClass("collapse"),null!=e&&"undefined"!=e&&$(e).hide(),$(a).off(),$(a).click(function(){var e=$
86(this).next();$(this).hasClass("expanded")?($(this).removeClass("expanded"),$(a).addClass("collapse"),$(e).slideUp()):($(this).addClass("expanded"),$(a).removeClass("collapse"),$(e).slideDown())})}):$("footer aside.widget").each(function(){var e=$("h4:first",this);$(e).off();var a=$(e).next();$(e).removeClass("collapse"),$(e).removeClass("expanded"),$(a).show()})}},G5Plus.portfolio={init:function(){}},G5Plus.blog={init:function(){G5Plus.blog.postLayout(),setInterval(G5Plus.blog.postLayout,300),G5Plus.blog.jPlayerSetup(),G5Plus.blog.infiniteScroll(),G5Plus.blog.loadMore(),G5Plus.blog.gridLayout(),setInterval(G5Plus.blog.gridLayout,300),G5Plus.blog.masonryLayout(),setInterval(G5Plus.blog.masonryLayout,300),G5Plus.blog.likeComment()},windowResized:function(){G5Plus.blog.processWidthAudioPlayer()},postLayout:function(){$(".wolverine-post-isotope").each(function(){var e=$(this).imagesLoaded(function(){e.isotope({itemSelector:".wolverine-post-item",layoutMode:"fitRows",isOriginLeft:!isRTL}),setTimeout(function(){e.isotope("layout")},300)})})},jPlayerSetup:function(){$(".jp-jplayer").each(function(){var e=$
86(this),a=e.data("audio"),t=e.data("title"),i=a.substr(a.lastIndexOf(".")+1),o="#"+e.data("player"),s={};s[i]=a,s.title=t,e.jPlayer({ready:function(){e.jPlayer("setMedia",s)},swfPath:"../plugins/jquery.jPlayer",cssSelectorAncestor:o})}),G5Plus.blog.processWidthAudioPlayer()},processWidthAudioPlayer:function(){setTimeout(function(){$(".jp-audio").each(function(){var e=$(this).outerWidth()-$(".jp-play-pause",this).outerWidth()-$(".jp-volume",this).outerWidth()-46;$(".jp-progress",this).width(e)})},100)},infiniteScroll:function(){var o=".blog-inner";$(".blog-inner").infinitescroll({navSelector:"#infinite_scroll_button",nextSelector:"#infinite_scroll_button a",itemSelector:"article",loading:{selector:"#infinite_scroll_loading",img:g5plus_framework_vars.theme_url+"assets/images/ajax-loader.gif",msgText:"Loading...",finishedMsg:""}},function(e,a,t){var i=$(e).css({opacity:0});i.imagesLoaded(function(){G5Plus.common.owlCarousel(),G5Plus.blog.jPlayerSetup(),G5Plus.common.prettyPhoto(),i.animate({opacity:1}),($(o).hasClass("blog-style-masonry-01")||$(o).hasClass("blog-style-masonry-02")||$(o).hasClass("blog-style-grid-01")||$(o).hasClass("blog-style-grid-02"))&&($(o).isotope("appended",i),setTimeout(function(){$(o).isotope("layout")},400))})})},loadMore:function(){$(".blog-load-more").on("click",function(e){e.preventDefault();var i=$(this).button("loading"),a=$(this).attr("data-href"),o=".blog-inner";$.get(a,function(e){var a=$(".blog-load-more",e).attr("data-href"),t=$("article",e).css({opacity:0});$(o).append(t),t.imagesLoaded(function(){G5Plus.common.owlCarousel(),G5Plus.blog.jPlayerSetup(),G5Plus.common.prettyPhoto(),t.animate({opacity:1}),($(o).hasClass("blog-style-masonry-01")||$(o).hasClass("blog-style-masonry-02")||$(o).hasClass("blog-style-grid-01")||$(o).hasClass("blog-style-grid-02"))&&($(o).isotope("appended",t),setTimeout(function(){$(o).isotope("layout")},400))}),void 0===a?i.parent().parent().remove():(i.button("reset"),i.attr("data-href",a))})})}
86,gridLayout:function(){var e=$(".blog-style-grid-01,.blog-style-grid-02");e.imagesLoaded(function(){e.isotope({itemSelector:"article",layoutMode:"fitRows",isOriginLeft:!isRTL}),setTimeout(function(){e.isotope("layout")},500)})},masonryLayout:function(){var e=$(".blog-style-masonry-01,.blog-style-masonry-02");e.imagesLoaded(function(){e.isotope({itemSelector:"article",layoutMode:"masonry",isOriginLeft:!isRTL}),setTimeout(function(){e.isotope("layout")},500)})},likeComment:function(){$(document).on("click",'a[data-like-comment="true"]:not(".liked")',function(e){e.preventDefault();var t=$(this),i=$(this).data("id"),a=$.cookie("g5plus_comment_liked");void 0!==a&&0<=a.indexOf("|"+i+"|")||$.ajax({url:g5plus_framework_vars.ajax_url,data:{action:"blog_comment_like",id:i},success:function(e){var a=$.cookie("g5plus_comment_liked");void 0===a?a="|"+i+"|":a+=i+"|",$.cookie("g5plus_comment_liked",a,{path:"/"}),t.addClass("liked"),$("label",t).text(e)}})})}},G5Plus.woocommerce={init:function(){G5Plus.woocommerce.setCartScrollBar(),G5Plus.woocommerce.addCartQuantity(),G5Plus.woocommerce.addToCart(),G5Plus.woocommerce.quickView(),G5Plus.woocommerce.updateShippingMethod();var e=$(".single-product-image");this.singleProductImage(e)},windowResized:function(){G5Plus.woocommerce.setCartScrollBar()},windowLoad:function(){G5Plus.woocommerce.setCartScrollBar()}
86,setCartScrollBar:function(){setTimeout(function(){var e=$("#wpadminbar").outerHeight(),a=$(".site-top").outerHeight(),t=$(".shopping-cart-wrapper").outerHeight(),i=325,o="124px",s=3;$window.height()-e-a-t-40<417&&(i=200,o="100px",s=2),$("ul.cart_list.product_list_widget").css("max-height",i),$("ul.cart_list.product_list_widget").perfectScrollbar({wheelSpeed:.5,suppressScrollX:!0}),$("ul.cart_list.product_list_widget").perfectScrollbar("update"),$("ul.cart_list.product_list_widget li").length>s&&$("ul.cart_list.product_list_widget .ps-scrollbar-y").css("height",o)},1e3)},addCartQuantity:function(){$(document).off("click",".quantity .btn-number").on("click",".quantity .btn-number",function(e){e.preventDefault();var a=$(this).data("type"),t=$("input",$(this).parent()),i=parseFloat(t.val()),o=parseFloat(t.attr("max")),s=parseFloat(t.attr("min")),n=parseFloat(t.attr("step")),l=0;0<t.attr("step").indexOf(".")&&(l=t.attr("step").split(".")[1].length),isNaN(o)&&(o=100),isNaN(s)&&(s=0),isNaN(n)&&(n=1,l=0),isNaN(i)?t.val(s):("minus"==a&&(s<i&&(i=(i-n).toFixed(l),t.val(i).change()),parseFloat(t.val())<=s&&(t.val(s).change(),$(this).attr("disabled",!0))),"plus"==a&&(i<o&&(i=(i+n).toFixed(l),t.val(i).change()),parseFloat(t.val())>=o&&(t.val(o).change(),$(this).attr("disabled",!0))))}),$("input",".quantity").focusin(function(){$(this).data("oldValue",$(this).val())}
86),$("input",".quantity").on("change",function(){var e=$(this),a=parseFloat(e.attr("max")),t=parseFloat(e.attr("min")),i=parseFloat(e.val()),o=parseFloat(e.attr("step"));isNaN(a)&&(a=100),isNaN(t)&&(t=0),isNaN(o)&&(o=1);var s=$(".add_to_cart_button",$(this).parent().parent().parent());t<=i?($(".btn-number[data-type='minus']",$(this).parent()).removeAttr("disabled"),void 0!==s&&s.attr("data-quantity",i)):(alert("Sorry, the minimum value was reached"),$(this).val($(this).data("oldValue")),void 0!==s&&s.attr("data-quantity",$(this).data("oldValue"))),i<=a?($(".btn-number[data-type='plus']",$(this).parent()).removeAttr("disabled"),void 0!==s&&s.attr("data-quantity",i)):(alert("Sorry, the maximum value was reached"),$(this).val($(this).data("oldValue")),void 0!==s&&s.attr("data-quantity",$(this).data("oldValue")))})},addToCart:function(){$(document).on("click",".add_to_cart_button",function(){var e,a=$(this),t=a.parent();if(a.addClass("added-spinner"),a.find("i").attr("class","fa fa-spinner fa-spin"),!a.hasClass("single_add_to_cart_button")){if("classic-1"==t.data("style")&&(e=t.parent().parent().parent().parent()),"classic-2"==t.data("style")&&(e=t.parent().parent().parent().parent()),"creative"==t.data("style")&&(e=t.parent().parent().parent().parent()),void 0===e)return;e.addClass("active")}}),$body.bind("added_to_cart",function(e,a,t,i){G5Plus.woocommerce.setCartScrollBar();var o,s,n,l,r,c,u,d=i.hasClass("single_add_to_cart_button"),p=$(".added-spinner"),h=p.parent(),m=h.find(".added_to_cart"),g=m.text();if(p.remove(),d?m.html('<i class="wicon icon-svg-icon-17"></i> '+g):(m.html('<i class="wicon icon-svg-icon-17"></i>'),setTimeout(function(){h.tooltip("hide").attr("title",g).tooltip("fixTitle")},500),setTimeout(function(){h.tooltip("show")},700)),d?(l=parseInt(i.data("product_id"),10),isNaN(l)||(s=$("#product-"+l))):(s=$(".product-item-wrap.active"),setTimeout(function(){s.removeClass("active")},300)),!s.hasClass("add-to-cart-animation-visible")){if(d)o=$($(".woocommerce-main-image")[0]),n=$("img",o);else{if(0==s.length)return;o=$(".product-thumb",s),0==(n=$(".product-thumb-primary img",o)).length&&(n=$(".product-thumb-one img",o))}0!=n.length&&(r=o.offset(),$body.append('<div class="floating-cart"></div>'),c=$("div.floating-cart"),n.clone().appendTo(c),0!=(u=$(".widget_shopping_cart_icon",".header-desktop-wrapper")).length&&($(c).css({top:r.top+"px",left:r.left+"px",width:o.width()+"px",height:o.height()+"px"}).fadeIn("slow"),$(c).animate({width:o.width()/2+"px",height:o.height()/2+"px",top:"+="+o.height()/4+"px",left:"+="+o.width()/4+"px"},400,"swing",function(){$(c).animate({top:u.offset().top+"px",left:u.offset().left+"px",height:"18px",width:"25px"},800,"swing",function(){$("div.floating-cart").fadeIn("fast",function(){$("div.floating-cart").remove()}),u.addClass("animated").addClass("tada"),setTimeout(function(){u.removeClass("animated").removeClass("tada")},4e3)})})))}}),$body.on("wc_fragments_refreshed",function(){G5Plus.woocommerce.setCartScrollBar()})},quickView:function(){$(".product-quick-view").on("click",function(e){e.preventDefault();var a=$(this).data("product_id"),t="#popup-product-quick-view-wrapper",i=$(this).find("i"),o=i.attr("class"),s=$(this).parent().parent().parent().parent();s.addClass("active"),i.attr("class","fa fa-spinner fa-spin"),$.ajax({url:g5plus_framework_vars.ajax_url,data:{action:"product_quick_view",id:a},success:function(e){s.removeClass("active"),i.attr("class",o),$(t).length&&$(t).remove(),$("body").append(e),G5Plus.woocommerce.addCartQuantity(),G5Plus.common.tooltip(),$(t).modal()},error:function(e){G5Plus.common.hideLoading()}})})},updateShippingMethod:function(){$body.bind("updated_shipping_method",function(){$("select.country_to_state, input.country_to_state").change()})},singleProductImage:function(e){var a=e.find(".flex-control-thumbs");a.length&&a.owlCarousel({items:4,itemsDesktop:[1199,4],itemsDesktopSmall:[980,4],itemsTablet:[768,4],itemsTabletSmall:!1,itemsMobile:[479,4],pagination:!1,responsiveRefreshRate:100,navigation:!1})}},G5Plus.header={timeOutSearch:null,init:function(){G5Plus.header.stickyHeader(),G5Plus.header.menuOnePage(),G5Plus.header.menuMobile(),G5Plus.header.events(),G5Plus.header.search(),G5Plus.header.searchAj
86axForm(),G5Plus.header.headerNavSeparate(),G5Plus.header.headerLeftPosition()},events:function(){$("a[data-hash]").on("click",function(e){return e.preventDefault(),G5Plus.page.anchorsPosition(this),!1})},windowResized:function(){G5Plus.header.stickyHeader(),G5Plus.header.headerNavSpacing(),G5Plus.common.isDesktop()&&$(".toggle-icon-wrapper[data-drop]").removeClass("in");var e=$("#wpadminbar");0<e.length&&$body.attr("data-offset",e.outerHeight()+1),0<e.length&&$body.attr("data-offset",e.outerHeight()+1),G5Plus.header.headerMobileFlyPosition(),G5Plus.header.headerMobilePosition()},windowLoad:function(){G5Plus.header.headerNavSpacing(1),G5Plus.header.headerLeftScrollBar(),G5Plus.header.headerMobileFlyPosition(),G5Plus.header.headerMobilePosition(),G5Plus.header.fixStickyLogoSize()},fixStickyLogoSize:function(){if(G5Plus.common.isIE()){var o=$("header .logo-sticky img");if(0==o.length)return;var e=o.attr("src");if(e.length-e.lastIndexOf(".svg")!=4)return;$.get(e,function(e){var a=e.documentElement.attributes,t=a.width.value,i=a.height.value;"string"==typeof t&&(t=t.replace("px",""),t=parseInt(t,10)),"string"==typeof i&&(i=i.replace("px",""),i=parseInt(i,10)),0<i&&o.css("width",30*t/i+"px")},"xml")}},headerMobileFlyPosition:function(){var e=0;0<$("#wpadminbar").length&&"fixed"==$("#wpadminbar").css("position")&&(e=$("#wpadminbar").outerHeight()),0<e?$(".header-mobile-nav.menu-drop-fly").css("top",e+"px"):$(".header-mobile-nav.menu-drop-fly").css("top","")},headerMobilePosition:function(){var e=0;0<$("#wpadminbar").length&&"fixed"==$("#wpadminbar").css("position")&&(e=$("#wpadminbar").outerHeight()),0<e?$(".header-mobile-nav.menu-drop-fly").css("top",e+"px"):$(".header-mobile-nav.menu-drop-fly").css("top","")},headerLeftPosition:function(){var e=0;0<$("#wpadminbar").length&&(e=$("#wpadminbar").outerHeight()),0<e&&$("header.header-left").css("top",e+"px")},stickyHeader:function(){var e=0,a=$("#wpadminbar");0<a.length&&"fixed"==a.css("position")&&(e=a.outerHeight()),$(".header-sticky, .header-mobile-sticky").unstick();var t=e;G5Plus.common.isDesktop()?(e=65-$(window).height(),$(".header-sticky").sticky({topSpacing:e,topSticky:t,change:function(){G5Plus.header.headerNavSpacing(),$("header.main-header .x-nav-menu > li").each(function(){APP_XMENU.process_menu_position(this)})}})):$(".header-mobile-sticky").sticky({topSpacing:e,topSticky:t})},menuOnePage:function(){$(".menu-one-page").onePageNav({currentClass:"menu-current",changeHash:!1,scrollSpeed:750,scrollThreshold:.5,filter:"",easing:"swing"})},anchorsPosition:function(e,a){var t,i,o=$(e).attr("href");0<$(o).length&&(t=$(o).offset().top,0<(i=$("#wpadminbar")).length&&(t-=i.outerHeight()),$("html,body").animate({scrollTop:t},a,"swing",function(){}))},menuMobile:function(){$(".toggle-mobile-menu[data-ref]").click(function(e){e.preventDefault();var a=$(this),t=a.data("ref");switch(a.toggleClass("in"),a.data("drop-type")){case"dropdown":$("#"+t).slideToggle();break;case"fly":$("body").toggleClass("menu-mobile-in"),$("#"+t).toggleClass("in")}}),$(".toggle-icon-wrapper[data-ref]:not(.toggle-mobile-menu)").click(function(e){e.preventDefault();var a=$(this),t=a.data("ref");a.toggleClass("in"),$("#"+t).toggleClass("in")}),$(".main-menu-overlay").click(function(){$body.removeClass("menu-mobile-in"),$("#nav-menu-mobile").removeClass("in"),$(".toggle-icon-wrapper[data-ref]").removeClass("in")})},search:function(){var e,a=$("#search_popup_wrapper");function t(){var e=$('input[type="search"]',"#g5plus-modal-search").val();e.length<3?$(".ajax-search-result","#g5plus-modal-search").html(""):($(".ajax-search-icon","#g5plus-modal-search").addClass("fa fa-spinner fa-spin"),$(".ajax-search-icon","#g5plus-modal-search").removeClass("icon-search-icon"),$.ajax({type:"POST",data:"action=result_search&keyword="+e,url:g5plus_framework_vars.ajax_url,success:function(e){$(".ajax-search-icon","#g5plus-modal-search").removeClass("fa fa-spinner fa-spin"),$(".ajax-search-icon","#g5plus-modal-search").addClass("icon-search-icon");var a,t="",i="";e&&((a=$.parseJSON(e)).length?(t+="<ul>",-1==a[0].id?t+="<li>"+a[0].title+"</li>":$.each(a,function(e){-2==this.id?i='<div class="search-view-more">'+this.title+"</div>":(t+=0==e?'<li class="selected">':"<li>",null==this.title||""==this.title?t+='<a href="'+this.guid+'">'+this.date+"</a>":(t+='<a href="'+this.guid+'">'+this.title+"</a>",t+="<span>"+this.date+" </span>"),t+="</li>")}),t+="</ul>"):t=""),$(".ajax-search-result","#g5plus-modal-search").html(t+i),$("#g5plus-modal-search .ajax-search-result").scrollTop(0)},error:function(e){$(".ajax-search-icon","#g5plus-modal-search").removeClass("fa fa-spinner fa-spin"),$(".ajax-search-icon","#g5plus-modal-search").addClass("icon-search-icon")}}))}0<a.length&&"standard"==$("header .icon-search-menu").data("search-type")&&(e=new DialogFx(a[0]),$("header .icon-search-menu").click(e.toggle.bind(e))),$("header .icon-search-menu").click(function(e){e.preventDefault(),"ajax"==$(this).data("search-type")?G5Plus.header.searchPopupOpen():$('#search_popup_wrapper input[type="text"]').focus()}),$(".g5plus-dismiss-modal, .modal-backdrop","#g5plus-modal-search").click(function(){G5Plus.header.searchPopupClose()}),$(".g5plus-search-wrapper button > i.ajax-search-icon").click(function(){t()}),$("#search-ajax","#g5plus-modal-search").on("keyup",function(e){if(!(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){var a;if(-1==["Control","Alt","Shift"].indexOf(e.key))switch(e.which){case 27:G5Plus.header.searchPopupClose();break;
86case 38:!function(){var e=$("li.selected","#g5plus-modal-search");if($("li","#g5plus-modal-search").length<2)return;var a=e.prev();e.removeClass("selected"),a.length?a.addClass("selected"):($("li:last","#g5plus-modal-search").addClass("selected"),a=$("li:last","#g5plus-modal-search"));a.position().top<$("#g5plus-modal-search .ajax-search-result").scrollTop()?$("#g5plus-modal-search .ajax-search-result").scrollTop(a.position().top):a.position().top+a.outerHeight()>$("#g5plus-modal-search .ajax-search-result").scrollTop()+$("#g5plus-modal-search .ajax-search-result").height()&&$("#g5plus-modal-search .ajax-search-result").scrollTop(a.position().top-$("#g5plus-modal-search .ajax-search-result").height()+a.outerHeight())}();break;case 40:!function(){var e=$("li.selected","#g5plus-modal-search");if($("li","#g5plus-modal-search").length<2)return;var a=e.next();e.removeClass("selected"),a.length?a.addClass("selected"):($("li:first","#g5plus-modal-search").addClass("selected"),a=$("li:first","#g5plus-modal-search"));a.position().top<$("#g5plus-modal-search .ajax-search-result").scrollTop()?$("#g5plus-modal-search .ajax-search-result").scrollTop(a.position().top):a.position().top+a.outerHeight()>$("#g5plus-modal-search .ajax-search-result").scrollTop()+$("#g5plus-modal-search .ajax-search-result").height()&&$("#g5plus-modal-search .ajax-search-result").scrollTop(a.position().top-$("#g5plus-modal-search .ajax-search-result").height()+a.outerHeight())}();break;case 13:if(0==$("li.selected a","#g5plus-modal-search").length)return e.preventDefault(),!1;0<(a=$("li.selected a","#g5plus-modal-search")).length&&(window.location=a.attr("href"));break;default:clearTimeout(G5Plus.header.timeOutSearch),G5Plus.header.timeOutSearch=setTimeout(t,500)}}})},searchPopupOpen:function(){$("#g5plus-modal-search").hasClass("in")||($("body").addClass("overflow-hidden"),$("#g5plus-modal-search").show(),setTimeout(function(){$("#g5plus-modal-search").addClass("in")},300),0<$("#search-ajax","#g5plus-modal-search").length?($("#search-ajax","#g5plus-modal-search").focus(),$("#search-ajax","#g5plus-modal-search").val("")):($("#search-standard","#g5plus-modal-search").focus(),$("#search-standard","#g5plus-modal-search").val("")),$(".ajax-search-result","#g5plus-modal-search").html(""))},searchPopupClose:function(){$("#g5plus-modal-search").hasClass("in")&&($("#g5plus-modal-search").removeClass("in"),setTimeout(function(){$("#g5plus-modal-search").hide(),$("body").removeClass("overflow-hidden")},300))},searchAjaxForm:function(){var o=$("header.main-header .search-button-wrapper"),t=$("header.main-header .search-button-wrapper form.search-type-ajax");$($window).click(function(e){0==$(e.target).closest("header.main-header .search-button-wrapper").length&&($(".ajax-search-result",o).remove(),$('> input[type="text"]',t).val(""))}),t.submit(function(){return!1}),$('> input[type="text"]',t).on("keyup",function(e){if(!(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){var a;if(-1==["Control","Alt","Shift"].indexOf(e.key))switch(e.which){case 27:$(".ajax-search-result",o).remove(),$('> input[type="text"]',t).val("");break;
86case 38:!function(){var e=$("li.selected",o);if($("li",o).length<2)return;var a=e.prev();e.removeClass("selected"),a.length?a.addClass("selected"):($("li:last",o).addClass("selected"),a=$("li:last",o));var t=$(".ajax-search-result ul",o);a.position().top<t.scrollTop()?t.scrollTop(a.position().top):a.position().top+a.outerHeight()>t.scrollTop()+t.height()&&t.scrollTop(a.position().top-t.height()+a.outerHeight())}();break;case 40:!function(){var e=$("li.selected",o);if($("li",o).length<2)return;var a=e.next();e.removeClass("selected"),a.length?a.addClass("selected"):($("li:first",o).addClass("selected"),a=$("li:first",o));var t=$(".ajax-search-result ul",o);a.position().top<t.scrollTop()?t.scrollTop(a.position().top):a.position().top+a.outerHeight()>t.scrollTop()+t.height()&&t.scrollTop(a.position().top-t.height()+a.outerHeight())}();break;case 13:0<(a=$("li.selected a",o)).length&&(window.location=a.attr("href"));break;default:clearTimeout(G5Plus.header.timeOutSearch),G5Plus.header.timeOutSearch=setTimeout(function(){var e=$
86('input[type="text"]',t).val();if(e.length<3){0==$(".ajax-search-result",o).length&&$(o).append('<div class="ajax-search-result"></div>');var a=o.attr("data-hint-message");return void $(".ajax-search-result",o).html('<ul><li class="no-result">'+a+"</li></ul>")}$("button > i",t).addClass("fa fa-spinner fa-spin"),$("button > i",t).removeClass("wicon icon-search-icon"),$.ajax({type:"POST",data:"action=result_search&keyword="+e,url:g5plus_framework_vars.ajax_url,success:function(e){$("button > i",o).removeClass("fa fa-spinner fa-spin"),$("button > i",o).addClass("wicon icon-search-icon");var a,t="",i="";e&&((a=$.parseJSON(e)).length?(t+="<ul>",-1==a[0].id?t+='<li class="no-result">'+a[0].title+"</li>":$.each(a,function(e){-2==this.id?i='<div class="search-view-more">'+this.title+"</div>":(t+=0==e?'<li class="selected">':"<li>",null==this.title||""==this.title?t+='<a href="'+this.guid+'">'+this.date+"</a>":t+='<a href="'+this.guid+'">'+this.title+"</a>",t+="</li>")}),t+="</ul>"):t=""),0==$(".ajax-search-result",o).length&&$(o).append('<div class="ajax-search-result"></div>'),$(".ajax-search-result",o).html(t+i),$(".ajax-search-result ul",o).scrollTop(0)},error:function(e){$("button > i",o).removeClass("fa fa-spinner fa-spin"),$("button > i",o).addClass("wicon icon-search-icon")}})},500)}}})}
86,headerNavSeparate:function(){var e=$("header.main-header ul.main-menu");e.hasClass("nav-separate")&&$("> li.x-menu-item + li.x-menu-item > a",e).append('<span class="x-nav-separate"></span>');var a=$("header.main-header .header-customize");a.hasClass("nav-separate")?$("> .header-customize-item + .header-customize-item",a).append('<span class="x-nav-separate"></span>'):a.hasClass("nav-separate-outer")&&$("> .header-customize-item",a).append('<span class="x-nav-separate"></span>')},headerNavSpacing:function(e){var a,t,i,o,s,n,l,r;void 0===e&&(e=0),G5Plus.common.isDesktop()&&(a=$("header.main-header .header-nav-wrapper > .container"),t=$("body").hasClass("site-rtl"),$("ul.main-menu > li, .header-customize > .header-customize-item, .header-customize,.menu-wrapper + .toggle-icon-wrapper",a).css(t?"margin-right":"margin-left",""),$("header.main-header span.x-nav-separate").css(t?"right":"left",""),i=a.width(),l=n=s=o=0,$("ul.main-menu > li, .header-customize > .header-customize-item,.header-left .header-logo,.header-left .logo-sticky, .menu-wrapper + .toggle-icon-wrapper",a).each(function(){var e=$
86(this);e.is(":visible")&&(n=parseInt(e.css(t?"margin-right":"margin-left").replace("px",""),10),o+=e.outerWidth()+n+1,l+=n,0<n&&s++)}),0<$(".header-customize",a).length&&(n=parseInt($(".header-customize",a).css(t?"margin-right":"margin-left").replace("px",""),10),l+=n,o+=n,0<n&&s++),o+=50,0<s&&i<o&&(r=(l-(o-i))/s,n<5&&(n=5),$("ul.main-menu > li.x-menu-item + li, .header-customize > .header-customize-item + .header-customize-item, .header-customize, .menu-wrapper + .toggle-icon-wrapper",a).css(t?"margin-right":"margin-left",r+"px"),$("ul.main-menu > li.logo-sticky",a).is(":visible")&&$("ul.main-menu > li.logo-sticky + li",a).css(t?"margin-right":"margin-left",r+"px"),$("header.main-header span.x-nav-separate").css(t?"right":"left",-r/2+"px")),0<e&&setTimeout(function(){G5Plus.header.headerNavSpacing(e-1)},100))},changeStickyWrapperSize:function(e){var a=$("header.main-header .sticky-wrapper");0<a.length&&a.height($(" > .header-sticky",a).outerHeight()),0<e&&setTimeout(function(){G5Plus.header.changeStickyWrapperSize(e-1)},100)},headerLeftScrollBar:function(){$("header.header-left").perfectScrollbar({wheelSpeed:.5,suppressScrollX:!0})}},G5Plus.onReady={init:function(){G5Plus.common.init(),G5Plus.header.init(),G5Plus.page.init(),G5Plus.blog.init(),G5Plus.portfolio.init(),G5Plus.woocommerce.init()}},G5Plus.onLoad={init:function(){G5Plus.header.windowLoad(),G5Plus.page.windowLoad(),G5Plus.woocommerce.windowLoad()}},G5Plus.onResize={init:function(){G5Plus.page.windowResized(),G5Plus.woocommerce.windowResized(),G5Plus.header.windowResized(),G5Plus.blog.windowResized()}},G5Plus.onScroll={init:function(){}},$(window).resize(G5Plus.onResize.init),$(window).scroll(G5Plus.onScroll.init),$(document).ready(G5Plus.onReady.init),$(window).load(G5Plus.onLoad.init)}(jQuery);
87
88(function(b,f){"function"===typeof define&&define.amd?define(["jquery"],f):b.jQuery?f(b.jQuery):f(b.Zepto)})(this,function(b,f){b.fn.jPlayer=function(a){var c="string"===typeof a,d=Array.prototype.slice.call(arguments,1),e=this;a=!c&&d.length?b.extend.apply(null,[!0,a].concat(d)):a;if(c&&"_"===a.charAt(0))return e;c?this.each(function(){var c=b(this).data("jPlayer"),h=c&&b.isFunction(c[a])?c[a].apply(c,d):c;if(h!==c&&h!==f)return e=h,!1}):this.each(function(){var c=b(this).data("jPlayer");c?c.option(a||
89{}):b(this).data("jPlayer",new b.jPlayer(a,this))});return e};b.jPlayer=function(a,c){if(arguments.length){this.element=b(c);this.options=b.extend(!0,{},this.options,a);var d=this;this.element.bind("remove.jPlayer",function(){d.destroy()});this._init()}};"function"!==typeof b.fn.stop&&(b.fn.stop=function(){});b.jPlayer.emulateMethods="load play pause";b.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";b.jPlayer.emulateOptions="muted volume";b.jPlayer.reservedEvent=
90"ready flashreset resize repeat error warning";b.jPlayer.event={};b.each("ready setmedia flashreset resize repeat click error warning loadstart progress suspend abort emptied stalled play pause loadedmetadata loadeddata waiting playing canplay canplaythrough seeking seeked timeupdate ended ratechange durationchange volumechange".split(" "),function(){b.jPlayer.event[this]="jPlayer_"+this});b.jPlayer.htmlEvent="loadstart abort emptied stalled loadedmetadata loadeddata canplay canplaythrough".split(" ");
91b.jPlayer.pause=function(){b.each(b.jPlayer.prototype.instances,function(a,c){c.data("jPlayer").status.srcSet&&c.jPlayer("pause")})};b.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var l=function(){this.init()};l.prototype={init:function(){this.options={timeFormat:b.jPlayer.timeFormat}},time:function(a){var c=new Date(1E3*(a&&"number"===typeof a?a:0)),b=c.getUTCHours();a=this.options.timeFormat.showHour?c.getUTCMinutes():c.getUTCMinutes()+
9260*b;c=this.options.timeFormat.showMin?c.getUTCSeconds():c.getUTCSeconds()+60*a;b=this.options.timeFormat.padHour&&10>b?"0"+b:b;a=this.options.timeFormat.padMin&&10>a?"0"+a:a;c=this.options.timeFormat.padSec&&10>c?"0"+c:c;b=""+(this.options.timeFormat.showHour?b+this.options.timeFormat.sepHour:"");b+=this.options.timeFormat.showMin?a+this.options.timeFormat.sepMin:"";return b+=this.options.timeFormat.showSec?c+this.options.timeFormat.sepSec:""}};var n=new l;b.jPlayer.convertTime=function(a){return n.time(a)};
93b.jPlayer.uaBrowser=function(a){a=a.toLowerCase();var c=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,e=/(mozilla)(?:.*? rv:([\w.]+))?/;a=/(webkit)[ \/]([\w.]+)/.exec(a)||c.exec(a)||b.exec(a)||0>a.indexOf("compatible")&&e.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};b.jPlayer.uaPlatform=function(a){var c=a.toLowerCase(),b=/(android)/,e=/(mobile)/;a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(c)||[];c=/(ipad|playbook)/.exec(c)||!e.exec(c)&&b.exec(c)||
94[];a[1]&&(a[1]=a[1].replace(/\s/g,"_"));return{platform:a[1]||"",tablet:c[1]||""}};b.jPlayer.browser={};b.jPlayer.platform={};var k=b.jPlayer.uaBrowser(navigator.userAgent);k.browser&&(b.jPlayer.browser[k.browser]=!0,b.jPlayer.browser.version=k.version);k=b.jPlayer.uaPlatform(navigator.userAgent);k.platform&&(b.jPlayer.platform[k.platform]=!0,b.jPlayer.platform.mobile=!k.tablet,b.jPlayer.platform.tablet=!!k.tablet);b.jPlayer.getDocMode=function(){var a;b.jPlayer.browser.msie&&(document.documentMode?
95a=document.documentMode:(a=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(a=7)));return a};b.jPlayer.browser.documentMode=b.jPlayer.getDocMode();b.jPlayer.nativeFeatures={init:function(){var a=document,c=a.createElement("video"),b={w3c:"fullscreenEnabled fullscreenElement requestFullscreen exitFullscreen fullscreenchange fullscreenerror".split(" "),moz:"mozFullScreenEnabled mozFullScreenElement mozRequestFullScreen mozCancelFullScreen mozfullscreenchange mozfullscreenerror".split(" "),
96webkit:" webkitCurrentFullScreenElement webkitRequestFullScreen webkitCancelFullScreen webkitfullscreenchange ".split(" "),webkitVideo:"webkitSupportsFullscreen webkitDisplayingFullscreen webkitEnterFullscreen webkitExitFullscreen  ".split(" ")}
96,e=["w3c","moz","webkit","webkitVideo"],g,h;this.fullscreen=c={support:{w3c:!!a[b.w3c[0]],moz:!!a[b.moz[0]],webkit:"function"===typeof a[b.webkit[3]],webkitVideo:"function"===typeof c[b.webkitVideo[2]]},used:{}};g=0;for(h=e.length;g<h;g++){var f=e[g];if(c.support[f]){c.spec=
97f;c.used[f]=!0;break}}if(c.spec){var m=b[c.spec];c.api={fullscreenEnabled:!0,fullscreenElement:function(c){c=c?c:a;return c[m[1]]},requestFullscreen:function(a){return a[m[2]]()},exitFullscreen:function(c){c=c?c:a;return c[m[3]]()}};c.event={fullscreenchange:m[4],fullscreenerror:m[5]}}else c.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},c.event={}}};b.jPlayer.nativeFeatures.init();b.jPlayer.focus=null;b.jPlayer.keyIgnoreElementNames=
98"A INPUT TEXTAREA SELECT BUTTON";var p=function(a){var c=b.jPlayer.focus,d=document.activeElement,e;c&&("undefined"!==typeof d?null!==d&&"BODY"!==d.nodeName.toUpperCase()&&(e=!0):b.each(b.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(c,b){if(a.target.nodeName.toUpperCase()===b.toUpperCase())return e=!0,!1}),e||b.each(c.options.keyBindings,function(d,e){if(e&&a.which===e.key&&b.isFunction(e.fn))return a.preventDefault(),e.fn(c),!1}))};b.jPlayer.keys=function(a){b(document.documentElement).unbind("keydown.jPlayer");
99a&&b(document.documentElement).bind("keydown.jPlayer",p)};b.jPlayer.keys(!0);b.jPlayer.prototype={count:0,version:{script:"2.7.0",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",
100play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",
101noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1E3},loop:!1,repeat:function(a){a.jPlayer.options.loop?b(this).unbind(".jPlayerRepeat").bind(b.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){b(this).jPlayer("play")}):b(this).unbind(".jPlayerRepeat")},
102nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},
103keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(a){a.status.paused?a.play():a.pause()}},fullScreen:{key:13,fn:function(a){(a.status.video||a.options.audioFullScreen)&&a._setOption("fullScreen",!a.options.fullScreen)}},muted:{key:8,fn:function(a){a._muted(!a.options.muted)}},volumeUp:{key:38,fn:function(a){a.volume(a.options.volume+.1)}},volumeDown:{key:40,fn:function(a){a.volume(a.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",
104noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,
105currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',
106flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',
107flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var a=this;this.element.empty();this.status=b.extend({},this.status);this.internal=b.extend({},this.internal);
108this.options.timeFormat=b.extend({},b.jPlayer.timeFormat,this.options.timeFormat);this.internal.cmdsIgnored=b.jPlayer.platform.ipad||b.jPlayer.platform.iphone||b.jPlayer.platform.ipod;this.internal.domNode=this.element.get(0);
108this.options.keyEnabled&&!b.jPlayer.focus&&(b.jPlayer.focus=this);this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN};b.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto");this.formats=[];this.solutions=[];this.require={};this.htmlElement=
109{};this.html={};this.html.audio={};this.html.video={};this.flash={};this.css={};this.css.cs={};this.css.jq={};this.ancestorJq=[];this.options.volume=this._limitValue(this.options.volume,0,1);b.each(this.options.supplied.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,"");if(a.format[e]){var f=!1;b.each(a.formats,function(a,c){if(e===c)return f=!0,!1});f||a.formats.push(e)}});b.each(this.options.solution.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,"");if(a.solution[e]){var f=
110!1;b.each(a.solutions,function(a,c){if(e===c)return f=!0,!1});f||a.solutions.push(e)}});this.internal.instance="jp_"+this.count;this.instances[this.internal.instance]=this.element;this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count);this.internal.self=b.extend({},{id:this.element.attr("id"),jq:this.element});this.internal.audio=b.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:f});this.internal.video=b.extend({},{id:this.options.idPrefix+"_video_"+
111this.count,jq:f});this.internal.flash=b.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:f,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")});this.internal.poster=b.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:f});b.each(b.jPlayer.event,function(c,b){a.options[c]!==f&&(a.element.bind(b+".jPlayer",a.options[c]),a.options[c]=f)});this.require.audio=!1;this.require.video=
112!1;b.each(this.formats,function(c,b){a.require[a.format[b].media]=!0});this.options=this.require.video?b.extend(!0,{},this.optionsVideo,this.options):b.extend(!0,{},this.optionsAudio,this.options);this._setSize();this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this.status.noVolume=this._uaBlocklist(this.options.noVolume);b.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners();
113this._restrictNativeVideoControls();this.htmlElement.poster=document.createElement("img");this.htmlElement.poster.id=this.internal.poster.id;this.htmlElement.poster.onload=function(){a.status.video&&!a.status.waitForPlay||a.internal.poster.jq.show()};this.element.append(this.htmlElement.poster);this.internal.poster.jq=b("#"+this.internal.poster.id);this.internal.poster.jq.css({width:this.status.width,height:this.status.height});this.internal.poster.jq.hide();this.internal.poster.jq.bind("click.jPlayer",
114function(){a._trigger(b.jPlayer.event.click)});this.html.audio.available=!1;this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio));this.html.video.available=!1;this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&
115this._testCanPlayType(this.htmlElement.video));this.flash.available=this._checkForFlash(10.1);this.html.canPlay={};this.flash.canPlay={};b.each(this.formats,function(c,b){a.html.canPlay[b]=a.html[a.format[b].media].available&&""!==a.htmlElement[a.format[b].media].canPlayType(a.format[b].codec);a.flash.canPlay[b]=a.format[b].flashCanPlay&&a.flash.available});this.html.desired=!1;this.flash.desired=!1;b.each(this.solutions,function(c,d){if(0===c)a[d].desired=!0;else{var e=!1,f=!1;b.each(a.formats,function(c,
116b){a[a.solutions[0]].canPlay[b]&&("video"===a.format[b].media?f=!0:e=!0)});a[d].desired=a.require.audio&&!e||a.require.video&&!f}});this.html.support={};this.flash.support={};b.each(this.formats,function(c,b){a.html.support[b]=a.html.canPlay[b]&&a.html.desired;a.flash.support[b]=a.flash.canPlay[b]&&a.flash.desired});this.html.used=!1;this.flash.used=!1;b.each(this.solutions,function(c,d){b.each(a.formats,function(c,b){if(a[d].support[b])return a[d].used=!0,!1})});this._resetActive();this._resetGate();
117this._cssSelectorAncestor(this.options.cssSelectorAncestor);this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:b.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SOLUTION,hint:b.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show());if(this.flash.used){var c,d="jQuery="+encodeURI(this.options.noConflict)+"&id="+
118encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(b.jPlayer.browser.msie&&(9>Number(b.jPlayer.browser.version)||9>b.jPlayer.browser.documentMode)){d=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+d+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];c=document.createElement('<object id="'+
119this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>');for(var e=0;e<d.length;e++)c.appendChild(document.createElement(d[e]))}else e=function(a,c,b){var d=document.createElement("param");d.setAttribute("name",c);d.setAttribute("value",b);a.appendChild(d)},c=document.createElement("object"),c.setAttribute("id",this.internal.flash.id),c.setAttribute("name",this.internal.flash.id),c.setAttribute("data",this.internal.flash.swf),c.setAttribute("type",
120"application/x-shockwave-flash"),c.setAttribute("width","1"),c.setAttribute("height","1"),c.setAttribute("tabindex","-1"),e(c,"flashvars",d),e(c,"allowscriptaccess","always"),e(c,"bgcolor",this.options.backgroundColor),e(c,"wmode",this.options.wmode);this.element.append(c);this.internal.flash.jq=b(c)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1;this._updatePlaybackRate();this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,
121this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=b("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=b("#"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",
122function(){a._trigger(b.jPlayer.event.click)})));this.options.emulateHtml&&this._emulateHtmlBridge();this.html.used&&!this.flash.used&&setTimeout(function(){a.internal.ready=!0;a.version.flash="n/a";a._trigger(b.jPlayer.event.repeat);a._trigger(b.jPlayer.event.ready)},100);this._updateNativeVideoControls();this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();b.jPlayer.prototype.count++},destroy:function(){this.clearMedia();this._removeUiClass();this.css.jq.currentTime.length&&this.css.jq.currentTime.text("");
123this.css.jq.duration.length&&this.css.jq.duration.text("");b.each(this.css.jq,function(a,c){c.length&&c.unbind(".jPlayer")});this.internal.poster.jq.unbind(".jPlayer");this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer");this._fullscreenRemoveEventListeners();
123this===b.jPlayer.focus&&(b.jPlayer.focus=null);this.options.emulateHtml&&this._destroyHtmlBridge();this.element.removeData("jPlayer");this.element.unbind(".jPlayer");this.element.empty();delete this.instances[this.internal.instance]},
124enable:function(){},disable:function(){},_testCanPlayType:function(a){try{return a.canPlayType(this.format.mp3.codec),!0}catch(c){return!1}},_testPlaybackRate:function(a){a=document.createElement("string"===typeof a?a:"audio");try{return"playbackRate"in a?(a.playbackRate=.5,.5===a.playbackRate):!1}catch(c){return!1}},_uaBlocklist:function(a){var c=navigator.userAgent.toLowerCase(),d=!1;b.each(a,function(a,b){if(b&&b.test(c))return d=!0,!1});return d},_restrictNativeVideoControls:function(){this.require.audio&&
125this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),
126this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(a,c){var d=this;a.preload=this.options.preload;a.muted=this.options.muted;a.volume=this.options.volume;this.status.playbackRateEnabled&&(a.defaultPlaybackRate=this.options.defaultPlaybackRate,a.playbackRate=this.options.playbackRate);a.addEventListener("progress",function(){c.gate&&(d.internal.cmdsIgnored&&0<this.readyState&&(d.internal.cmdsIgnored=!1),d.androidFix.setMedia=!1,d.androidFix.play&&(d.androidFix.play=
127!1,d.play(d.androidFix.time)),d.androidFix.pause&&(d.androidFix.pause=!1,d.pause(d.androidFix.time)),d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.progress))},!1);a.addEventListener("timeupdate",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.timeupdate))},!1);a.addEventListener("durationchange",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.durationchange))},!1);a.addEventListener("play",function(){c.gate&&
128(d._updateButtons(!0),d._html_checkWaitForPlay(),d._trigger(b.jPlayer.event.play))},!1);a.addEventListener("playing",function(){c.gate&&(d._updateButtons(!0),d._seeked(),d._trigger(b.jPlayer.event.playing))},!1);a.addEventListener("pause",function(){c.gate&&(d._updateButtons(!1),d._trigger(b.jPlayer.event.pause))},!1);a.addEventListener("waiting",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.waiting))},!1);a.addEventListener("seeking",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.seeking))},
129!1);a.addEventListener("seeked",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.seeked))},!1);a.addEventListener("volumechange",function(){c.gate&&(d.options.volume=a.volume,d.options.muted=a.muted,d._updateMute(),d._updateVolume(),d._trigger(b.jPlayer.event.volumechange))},!1);a.addEventListener("ratechange",function(){c.gate&&(d.options.defaultPlaybackRate=a.defaultPlaybackRate,d.options.playbackRate=a.playbackRate,d._updatePlaybackRate(),d._trigger(b.jPlayer.event.ratechange))},!1);
130a.addEventListener("suspend",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.suspend))},!1);a.addEventListener("ended",function(){c.gate&&(b.jPlayer.browser.webkit||(d.htmlElement.media.currentTime=0),d.htmlElement.media.pause(),d._updateButtons(!1),d._getHtmlStatus(a,!0),d._updateInterface(),d._trigger(b.jPlayer.event.ended))},!1);a.addEventListener("error",function(){c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet&&(clearTimeout(d.internal.htmlDlyCmdId),d.status.waitForLoad=
131!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:b.jPlayer.error.URL,context:d.status.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL})))},!1);b.each(b.jPlayer.htmlEvent,function(e,g){a.addEventListener(this,function(){c.gate&&d._trigger(b.jPlayer.event[g])},
132!1)})},_getHtmlStatus:function(a,c){var b=0,e=0,g=0,f=0;isFinite(a.duration)&&(this.status.duration=a.duration);b=a.currentTime;e=0<this.status.duration?100*b/this.status.duration:0;"object"===typeof a.seekable&&0<a.seekable.length?(g=0<this.status.duration?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100,f=0<this.status.duration?100*a.currentTime/a.seekable.end(a.seekable.length-1):0):(g=100,f=e);c&&(e=f=b=0);this.status.seekPercent=g;this.status.currentPercentRelative=f;this.status.currentPercentAbsolute=
133e;this.status.currentTime=b;this.status.remaining=this.status.duration-this.status.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=a.readyState;this.status.networkState=a.networkState;this.status.playbackRate=a.playbackRate;this.status.ended=a.ended},_resetStatus:function(){this.status=b.extend({},this.status,b.jPlayer.prototype.status)},_trigger:function(a,c,d){a=b.Event(a);a.jPlayer={};a.jPlayer.version=b.extend({},this.version);a.jPlayer.options=
134b.extend(!0,{},this.options);a.jPlayer.status=b.extend(!0,{},this.status);a.jPlayer.html=b.extend(!0,{},this.html);a.jPlayer.flash=b.extend(!0,{},this.flash);c&&(a.jPlayer.error=b.extend({},c));d&&(a.jPlayer.warning=b.extend({},d));this.element.trigger(a)},jPlayerFlashEvent:function(a,c){if(a===b.jPlayer.event.ready)if(!this.internal.ready)this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=c.version,this.version.needFlash!==this.version.flash&&this._error({type:b.jPlayer.error.VERSION,
135context:this.version.flash,message:b.jPlayer.errorMsg.VERSION+this.version.flash,hint:b.jPlayer.errorHint.VERSION}),this._trigger(b.jPlayer.event.repeat),this._trigger(a);else if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);0<d&&(e?this.pause(d):this.play(d))}this._trigger(b.jPlayer.event.flashreset)}if(this.flash.gate)switch(a){case b.jPlayer.event.progress:this._getFlashStatus(c);
136this._updateInterface();this._trigger(a);break;case b.jPlayer.event.timeupdate:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(a);break;case b.jPlayer.event.pause:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.ended:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.click:this._trigger(a);break;case b.jPlayer.event.error:this.status.waitForLoad=!0;this.status.waitForPlay=
137!0;this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"});
137this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(!1);this._error({type:b.jPlayer.error.URL,context:c.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL});break;case b.jPlayer.event.seeking:this._seeking();
138this._trigger(a);break;case b.jPlayer.event.seeked:this._seeked();this._trigger(a);break;case b.jPlayer.event.ready:break;default:this._trigger(a)}return!1},_getFlashStatus:function(a){this.status.seekPercent=a.seekPercent;this.status.currentPercentRelative=a.currentPercentRelative;this.status.currentPercentAbsolute=a.currentPercentAbsolute;this.status.currentTime=a.currentTime;this.status.duration=a.duration;this.status.remaining=a.duration-a.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=
139a.videoHeight;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(a){a===f?a=!this.status.paused:this.status.paused=!a;a?this.addStateClass("playing"):this.removeStateClass("playing");!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen");this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped");this.css.jq.play.length&&this.css.jq.pause.length&&
140(a?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()));this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide()));this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),
141this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%");this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var a="";this.css.jq.currentTime.length&&(a=this._convertTime(this.status.currentTime),
142a!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var a="",a=this.status.duration,c=this.status.remaining;this.css.jq.duration.length&&("string"===typeof this.status.media.duration?a=this.status.media.duration:("number"===typeof this.status.media.duration&&(a=this.status.media.duration,c=a-this.status.currentTime),a=this.options.remainingDuration?(0<c?"-":"")+this._convertTime(c):this._convertTime(a)),a!==this.css.jq.duration.text()&&this.css.jq.duration.text(a))},
143_convertTime:l.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg");this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg");this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1;this.html.video.gate=!1;this.flash.gate=!1},_resetActive:function(){this.html.active=!1;this.flash.active=!1},_escapeHtml:function(a){return a.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},
144_qualifyURL:function(a){var c=document.createElement("div");c.innerHTML='<a href="'+this._escapeHtml(a)+'">x</a>';return c.firstChild.href},_absoluteMediaUrls:function(a){var c=this;b.each(a,function(b,e){e&&c.format[b]&&(a[b]=c._qualifyURL(e))});return a},addStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[a])},removeStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[a])},setMedia:function(a){var c=this,
145d=!1,e=this.status.media.poster!==a.poster;this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=!1;this.androidFix.play=!1;this.androidFix.pause=!1;a=this._absoluteMediaUrls(a);b.each(this.formats,function(e,f){var k="video"===c.format[f].media;b.each(c.solutions,function(e,g){if(c[g].support[f]&&c._validString(a[f])){var l="html"===g;k?(l?(c.html.video.gate=!0,c._html_setVideo(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(a),c.flash.active=!0),c.css.jq.videoPlay.length&&
146c.css.jq.videoPlay.show(),c.status.video=!0):(l?(c.html.audio.gate=!0,c._html_setAudio(a),c.html.active=!0,b.jPlayer.platform.android&&(c.androidFix.setMedia=!0)):(c.flash.gate=!0,c._flash_setAudio(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1);d=!0;return!1}});if(d)return!1});d?(this.status.nativeVideoControls&&this.html.video.gate||!this._val
146idString(a.poster)||(e?this.htmlElement.poster.src=a.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&
147"string"===typeof a.title&&(this.css.jq.title.html(a.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",a.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",a.title)),this.status.srcSet=!0,this.status.media=b.extend({},a),this._updateButtons(!1),this._updateInterface(),this._trigger(b.jPlayer.event.setmedia)):this._error({type:b.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SUPPORT,hint:b.jPlayer.errorHint.NO_SUPPORT})},
148_resetMedia:function(){this._resetStatus();this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&
149this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(b.jPlayer.focus=this)},play:function(a){"object"===typeof a&&this.options.useStateClassSkin&&!this.status.paused?this.pause(a):(a="number"===typeof a?a:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(a):this.flash.active&&this._flash_play(a)):this._urlNotSetError("play"))},videoPlay:function(){this.play()},pause:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?this.html.active?
150this._html_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError("pause")},tellOthers:function(a,c){var d=this,e="function"===typeof c,g=Array.prototype.slice.call(arguments);"string"===typeof a&&(e&&g.splice(1,1),b.each(this.instances,function(){d.element!==this&&(e&&!c.call(this.data("jPlayer"),d)||this.jPlayer.apply(this,g))}))},pauseOthers:function(a){this.tellOthers("pause",function(){return this.status.srcSet},a)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):
151this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100);this.status.srcSet?this.html.active?this._html_playHead(a):this.flash.active&&this._flash_playHead(a):this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},a)},mutedWorker:function(a){this.options.muted=a;this.html.used&&this._html_setProperty("muted",a);this.flash.used&&
152this._flash_mute(a);this.html.video.gate||this.html.audio.gate||(this._updateMute(a),this._updateVolume(this.options.volume),this._trigger(b.jPlayer.event.volumechange))},mute:function(a){"object"===typeof a&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(a=a===f?!0:!!a,this._muted(a))},unmute:function(a){a=a===f?!0:!!a;this._muted(!a)},_updateMute:function(a){a===f&&(a=this.options.muted);a?this.addStateClass("muted"):this.removeStateClass("muted");this.css.jq.mute.length&&this.css.jq.unmute.length&&
153(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(a){this.volumeWorker(a);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(a){a=this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_setProperty("volume",a);this.flash.used&&this._flash_volume(a);this.html.video.gate||
154this.html.audio.gate||(this._updateVolume(a),this._trigger(b.jPlayer.event.volumechange))},volumeBar:function(a){if(this.css.jq.volumeBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.options.verticalVolume?this.volume(a/c):this.volume(e/g)}this.options.muted&&this._muted(!1)},_updateVolume:function(a){a===f&&(a=this.options.volume);a=this.options.muted?0:a;this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),
155this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*a+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(a){var c=
156this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a?b(a):[];a&&1!==this.ancestorJq.length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();b.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();
157this._updateMute()},_cssSelector:function(a,c){var d=this;"string"===typeof c?b.jPlayer.prototype.options.cssSelector[a]?(this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(".jPlayer"),this.options.cssSelector[a]=c,this.css.cs[a]=this.options.cssSelectorAncestor+" "+c,this.css.jq[a]=c?b(this.css.cs[a]):[],this.css.jq[a].length&&this[a]&&this.css.jq[a].bind("click.jPlayer",function(c){c.preventDefault();d[a](c);d.options.autoBlur&&b(this).blur()}),c&&1!==this.css.jq[a].length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,
158context:this.css.cs[a],message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[a].length+" found for "+a+" method.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_METHOD,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:b.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_STRING,context:c,message:b.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:b.jPlayer.warningHint.CSS_SELECTOR_STRING})},
159duration:function(a){this.options.toggleDuration&&(this.options.captureDuration&&a.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))}
159,seekBar:function(a){if(this.css.jq.seekBar.length){var c=b(a.currentTarget),d=c.offset();a=a.pageX-d.left;c=c.width();this.playHead(100*a/c)}},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(a){if(this.css.jq.playbackRateBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();
160a=c.height()-a.pageY+d.top;c=c.height();this.playbackRate((this.options.verticalPlaybackRate?a/c:e/g)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate)}},_updatePlaybackRate:function(){var a=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),
161this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*a+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(a){"object"===typeof a&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(a){this.options.loop!==a&&(this.options.loop=a,this._updateButtons(),this._trigger(b.jPlayer.event.repeat))},
162option:function(a,c){var d=a;if(0===arguments.length)return b.extend(!0,{},this.options);if("string"===typeof a){var e=a.split(".");if(c===f){for(var d=b.extend(!0,{},this.options),g=0;g<e.length;g++)if(d[e[g]]!==f)d=d[e[g]];else return this._warning({type:b.jPlayer.warning.OPTION_KEY,context:a,message:b.jPlayer.warningMsg.OPTION_KEY,hint:b.jPlayer.warningHint.OPTION_KEY}),f;return d}for(var g=d={},h=0;h<e.length;h++)h<e.length-1?(g[e[h]]={},g=g[e[h]]):g[e[h]]=c}this._setOptions(d);return this},_setOptions:function(a){var c=
163this;b.each(a,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,c){var d=this;switch(a){case "volume":this.volume(c);break;case "muted":this._muted(c);break;case "globalVolume":this.options[a]=c;break;case "cssSelectorAncestor":this._cssSelectorAncestor(c);break;case "cssSelector":b.each(c,function(a,c){d._cssSelector(a,c)});break;case "playbackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("playbackRate",
164c);this._updatePlaybackRate();break;case "defaultPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("defaultPlaybackRate",c);this._updatePlaybackRate();break;case "minPlaybackRate":this.options[a]=c=this._limitValue(c,.1,this.options.maxPlaybackRate-.1);this._updatePlaybackRate();break;case "maxPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate+.1,16);this._updatePlaybackRate();
165break;case "fullScreen":if(this.options[a]!==c){var e=b.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;if(!e||e&&!this.status.waitForPlay)e||(this.options[a]=c),c?this._requestFullscreen():this._exitFullscreen(),e||this._setOption("fullWindow",c)}break;case "fullWindow":this.options[a]!==c&&(this._removeUiClass(),this.options[a]=c,this._refreshSize());break;case "size":this.options.fullWindow||this.options[a].cssClass===c.cssClass||this._removeUiClass();this.options[a]=b.extend({},this.options[a],
166c);this._refreshSize();break;case "sizeFull":this.options.fullWindow&&this.options[a].cssClass!==c.cssClass&&this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case "autohide":this.options[a]=b.extend({},this.options[a],c);this._updateAutohide();break;case "loop":this._loop(c);break;case "remainingDuration":this.options[a]=c;this._updateInterface();break;case "toggleDuration":this.options[a]=c;break;case "nativeVideoControls":this.options[a]=b.extend({},
167this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();break;case "noFullWindow":this.options[a]=b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this._restrictNativeVideoControls();this._updateButtons();break;case "noVolume":this.options[a]=b.extend({},
168this.options[a],c);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case "emulateHtml":this.options[a]!==c&&((this.options[a]=c)?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case "timeFormat":this.options[a]=b.extend({},this.options[a],c);break;case "keyEnabled":this.options[a]=c;c||this!==b.jPlayer.focus||(b.jPlayer.focus=null);break;case "keyBindings":this.options[a]=b.extend(!0,{},this.options[a],c);break;case "audioFullScreen":this.options[a]=
169c;break;case "autoBlur":this.options[a]=c}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();this._updateAutohide();this._trigger(b.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=
170this.options.size.cssClass);this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height});!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&
171this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,c=function(){a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId);a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};
172this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(".jPlayerAutohide"),this.css.jq.gui.unbind(".jPlayerAutohide"),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.hide()):this.css.jq.gui.show())},
173fullScreen:function(a){"object"===typeof a&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var a=this,c=b.jPlayer.nativeFeatures.fullscreen;c.api.fullscreenEnabled&&c.event.fullscreenchange&&("function"!==typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){a._fullscreenchange()}),document.addEventListener(c.event.fullscreenchange,
174this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var a=b.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(a.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!b.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var a=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],
175c=b.jPlayer.nativeFeatures.fullscreen;c.used.webkitVideo&&(a=this.htmlElement.video);c.api.fullscreenEnabled&&c.api.requestFullscreen(a)},_exitFullscreen:function(){var a=b.jPlayer.nativeFeatures.fullscreen,c;a.used.webkitVideo&&(c=this.htmlElement.video);a.api.fullscreenEnabled&&a.api.exitFullscreen(c)},_html_initMedia:function(a){var c=b(this.htmlElement.media).empty();b.each(a.track||[],function(a,b){var g=document.createElement("track");g.setAttribute("kind",b.kind?b.kind:"");g.setAttribute("src",
176b.src?b.src:"");g.setAttribute("srclang",b.srclang?b.srclang:"");g.setAttribute("label",b.label?b.label:"");b.def&&g.setAttribute("default",b.def);c.append(g)});this.htmlElement.media.src=this.status.src;"none"!==this.options.preload&&this._html_load();this._trigger(b.jPlayer.event.timeupdate)},_html_setFormat:function(a){var c=this;b.each(this.formats,function(b,e){if(c.html.support[e]&&a[e])return c.status.src=a[e],c.status.format[e]=!0,c.status.formatType=e,!1})},_html_setAudio:function(a){this._html_setFormat(a);
177this.htmlElement.media=this.htmlElement.audio;this._html_initMedia(a)},_html_setVideo:function(a){this._html_setFormat(a);this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._val
177idString(a.poster)?a.poster:"");this.htmlElement.media=this.htmlElement.video;this._html_initMedia(a)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},
178_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load());clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(a){var b=this,d=this.htmlElement.media;this.androidFix.pause=!1;this._html_load();if(this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=a;else if(isNaN(a))d.play();else{this.internal.cmdsIgnored&&
179d.play();try{if(!d.seekable||"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a,d.play();else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},250);return}}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this,d=this.htmlElement.media;this.androidFix.play=!1;0<a?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);d.pause();if(this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=a;
179else if(!isNaN(a))try{if(!d.seekable||
180"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a;else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},250);return}0<a&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this,d=this.htmlElement.media;this._html_load();try{if("object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a*d.seekable.end(d.seekable.length-1)/100;else if(0<d.duration&&!isNaN(d.duration))d.currentTime=a*d.duration/100;else throw"e";}catch(e){this.internal.htmlDlyCmdId=
181setTimeout(function(){b.playHead(a)},250);return}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(a,b){this.html.audio.available&&(this.htmlElement.audio[a]=b);this.html.video.available&&
182(this.htmlElement.video[a]=b)},_flash_setAudio:function(a){var c=this;try{b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case "m4a":case "fla":c._getMovie().fl_setAudio_m4a(a[d]);break;case "mp3":c._getMovie().fl_setAudio_mp3(a[d]);break;case "rtmpa":c._getMovie().fl_setAudio_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_setVideo:function(a){var c=
183this;try{b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case "m4v":case "flv":c._getMovie().fl_setVideo_m4v(a[d]);break;case "rtmpv":c._getMovie().fl_setVideo_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},
184_flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=!1},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}0<a&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}this.status.waitForLoad||
185this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},_flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},
186_getFlashPluginVersion:function(){var a=0,b;if(window.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var d=b.GetVariable("$version");d&&(d=d.split(" ")[1].split(","),a=parseInt(d[0],10)+"."+parseInt(d[1],10))}}catch(e){}else navigator.plugins&&0<navigator.mimeTypes.length&&(b=navigator.plugins["Shockwave Flash"])&&(a=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"));return 1*a},_checkForFlash:function(a){var b=!1;this._getFlashPluginVersion()>=
187a&&(b=!0);return b},_validString:function(a){return a&&"string"===typeof a},_limitValue:function(a,b,d){return a<b?b:a>d?d:a},_urlNotSetError:function(a){this._error({type:b.jPlayer.error.URL_NOT_SET,context:a,message:b.jPlayer.errorMsg.URL_NOT_SET,hint:b.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(a){var c;c=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:b.jPlayer.error[c],context:this.internal.flash.swf,message:b.jPlayer.errorMsg[c]+a.message,hint:b.jPlayer.errorHint[c]});
188this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(a){this._trigger(b.jPlayer.event.error,a);this.options.errorAlerts&&this._alert("Error!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_warning:function(a){this._trigger(b.jPlayer.event.warning,f,a);this.options.warningAlerts&&this._alert("Warning!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_alert:function(a){a="jPlayer "+this.version.script+" : id='"+this.internal.self.id+
189"' : "+a;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(a):alert(a)},_emulateHtmlBridge:function(){var a=this;b.each(b.jPlayer.emulateMethods.split(/\s+/g),function(b,d){a.internal.domNode[d]=function(b){a[d](b)}});b.each(b.jPlayer.event,function(c,d){var e=!0;b.each(b.jPlayer.reservedEvent.split(/\s+/g),function(a,b){if(b===c)return e=!1});e&&a.element.bind(d+".jPlayer.jPlayerHtml",function(){a._emulateHtmlUpdate();var b=document.createEvent("Event");b.initEvent(c,
190!1,!0);a.internal.domNode.dispatchEvent(b)})})},_emulateHtmlUpdate:function(){var a=this;b.each(b.jPlayer.emulateStatus.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});b.each(b.jPlayer.emulateOptions.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a=this;this.element.unbind(".jPlayerHtml");b.each((b.jPlayer.emulateMethods+" "+b.jPlayer.emulateStatus+" "+b.jPlayer.emulateOptions).split(/\s+/g),function(b,d){delete a.internal.domNode[d]})}};
191b.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};b.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",
191NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",
192NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+b.jPlayer.prototype.version.script+" needs Jplayer.swf version "+b.jPlayer.prototype.version.needFlash+" but found "};b.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",
193NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."};b.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};b.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",
194CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."};b.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
195(()=>{(()=>{"use strict";let m=document.querySelector("html"),y=document.querySelector("body"),h=[];if(wpa.lang&&(m.getAttribute("lang")||(m.setAttribute("lang",wpa.lang),(wpa.errors||wpa.tracking)&&(h.push("html-lang"),console.log("HTML language set by WP Accessibility")))),wpa.dir&&!m.getAttribute("dir")&&wpa.dir!=="ltr"&&(m.setAttributeattr("dir",wpa.dir),(wpa.errors||wpa.tracking)&&(h.push("html-lang-direction"),console.log("HTML language direction set by WP Accessibility"))),wpa.continue){let d=document.querySelectorAll(".wp-block-post-excerpt__more-link");d.length!==0&&d.forEach(t=>{if(!t.hasAttribute("aria-describedby")){let o=t.closest(".wp-block-post"),c=o.getAttribute("class");c=c.replaceAll(" ","-");let i=o.querySelector(".wp-block-post-title");i&&(i.hasAttribute("id")?c=i.getAttribute("id"):i.setAttribute("id",c),t.setAttribute("aria-describedby",c),(wpa.errors||wpa.tracking)&&console.log("Continue Reading link description set by WP Accessibility"))}})}let A=document.querySelector('meta[name="viewport"]');if(A&&wpa.viewport){let d=A.getAttribute("content"),t=A.getAttribute("content");d.search(/user-scalable=no/g)&&(t=d.replace("user-scalable=no","user-scalable=yes"),A.setAttribute("content",t),(wpa.errors||wpa.tracking)&&t!=d&&(h.push("viewport-scalable"),console.log("Viewport made scalable by WP Accessibility"))),d.search(/maximum-scale=1/g)&&(t=d.replace("maximum-scale=1","maximum-scale=5"),t=t.replace("maximum-scale=0","maximum-scale=5"),A.setAttribute("content",t),(wpa.errors||wpa.tracking)&&t!=d&&(h.push("viewport-maxscale"),console.log("Viewport maximum scale set by WP Accessibility")))}if(wpa.skiplinks.enabled&&(y.insertAdjacentHTML("afterbegin",wpa.skiplinks.output),(wpa.errors||wpa.tracking)&&(h.push("skiplinks"),console.log("Skip links added by WP Accessibility"))),wpa.current){let d=document.querySelectorAll(".current-menu-item a, .current_page_item a");d.length!==0&&(d.forEach(t=>{t.setAttribute("aria-current","page")}),(wpa.errors||wpa.tracking)&&(h.push("aria-current"),console.log("ARIA current added by WP Accessibility")))}if(wpa.labels&&["s","author","email","url","comment"].forEach(t=>{let o,c,i,a,e,r,f,s,n,l;t=="comment"?o=document.querySelectorAll("textarea[name="+t+"]"):o=document.querySelectorAll("input[name="+t+"]:not(#adminbar-search)"),o.length!==0&&o.forEach(b=>{b.length!==0&&(c=b.getAttribute("id"),i=b.closest("label"),a=b.getAttribute("aria-label"),e=b.getAttribute("aria-labelledby"),r={},e&&(r=document.getElementById(e)),f=!(a==null||a==""||typeof a>"u"),s=!(e==null||e==""||typeof e>"u"),(!f&&!s||!f&&s&&!r)&&(c?(n=document.querySelector("label[for="+c+"]"),n&&(l=n.innerText,n&&!l&&(n.innerText=wpa.wpalabels[t],(wpa.errors||wpa.tracking)&&(h.push(["empty-label",wpa.wpalabels[t]]),console.log("Empty label on "+wpa.wpalabels[t]+" added by WP Accessibility")))),!n&&!i&&(b.insertAdjacentHTML("beforebegin","<label for='"+c+"' class='wpa-screen-reader-text'>"+wpa.wpalabels[t]+"</label>"),(wpa.errors||wpa.tracking)&&(h.push(["explicit-label",wpa.wpalabels[t]]),console.log("Explicit label on "+wpa.wpalabels[t]+" added by WP Accessibility")))):i||(b.setAttribute("id","wpa_label_"+t),b.insertAdjacentHTML("beforebegin","<label for='wpa_label_"+t+"' class='wpa-screen-reader-text'>"+wpa.wpalabels[t]+"</label>"),(wpa.errors||wpa.tracking)&&(h.push(["implicit-label",wpa.wpalabels[t]]),console.log("Implicit label on "+wpa.wpalabels[t]+" added by WP Accessibility")))))})}),wpa.titles){let d=0,t=0,o=0,c=!1,i=document.querySelectorAll("img, a, input, textarea, select, button");i.length!==0&&(i.forEach(a=>{let e=a.getAttribute("title");if(a.classList.contains("nturl")&&(c=!0),e&&e!=="")switch(a.tagName){case"IMG":let r=a.getAttribute("alt");e=a.getAttribute("title"),!r||r===""?(a.setAttribute("alt",e),a.removeAttribute("title")):e===r&&a.removeAttribute("title"),d++;break;case"A":case"BUTTON":let f=L(a);if(!f||f===""){let k=a.getAttribute("aria-label");(!k||k==="")&&(a.setAttribute("aria-label",e),c||a.removeAttribute("title"))}else a.removeAttribute("title");t++;break;case"INPUT":case"SELECT":case"TEXTAREA":let s=a.getAttribute("aria-label"),n=a.getAttribute("aria-labelledby"),l=n?document.getElementById(n):!1,b=a.getAttribute("id"),g=b?document.querySelector('label[for="'+b+'"]'):!1,w=a.closest("label"),u=!!(s&&s!==""),p=!!(g&&L(g)!==""),x=!!(w&&L(w)!==""),E=!!(l&&L(l)!=="");u||p||x||E||a.setAttribute("aria-label",e),a.removeAttribute("title"),o++;break}}),(wpa.errors||wpa.tracking)&&(d>0&&(h.push(["images-titles",d]),console.log(d+" title attributes removed from images by WP Accessibility")),t>0&&(h.push(["control-titles",t]),console.log(t+" title attributes removed from links and buttons by WP Accessibility")),o>0&&(h.push(["input-titles",o]),console.log(o+" title attributes removed from input fields by WP Accessibility"))))}if(wpa.target){let d=document.querySelectorAll("a:not(.wpa-allow-target)"),t=0;
195d.length!==0&&(d.forEach(o=>{let c=o.getAttribute("target"),i=o.getAttribute("href");if(c)if(i.startsWith("#"))o.removeAttribute("target");else try{new URL(i).hostname.includes("facebook")||(o.removeAttribute("target"),t++)}catch{console.log("href value is not a URL or a fragment:",i)}}),t>0&&(wpa.errors||wpa.tracking)&&(h.push(["link-targets",t]),console.log(t+" target attributes removed from links by WP Accessibility")))}if(wpa.tabindex){let d=document.querySelectorAll("input:not(.wpa-ignore-tabindex),a[href]:not(.wpa-ignore-tabindex),select:not(.wpa-ignore-tabindex),textarea:not(.wpa-ignore-tabindex),button:not(.wpa-ignore-tabindex)"),t=0;d.length!==0&&(d.forEach(e=>{let r=e.getAttribute("tabindex"),f=!1;if(e.hasAttribute("tabindex")&&r==="-1"){let s=e.getAttribute("aria-hidden"),n=e.hasAttribute("hidden");(s==="true"||n)&&(f=!0)}r&&!f&&(e.removeAttribute("tabindex"),t++)}),t>0&&(wpa.errors||wpa.tracking)&&(h.push(["control-tabindex",t]),console.log(t+" tabindex attributes removed from links, buttons and inputs by WP Accessibility")));let o=document.querySelectorAll('[role="button"]:not([tabindex]):not(a):not(button)'),c=document.querySelectorAll('a[role="button"]:not([tabindex]):not([href])'),i=document.querySelectorAll('[role="link"]:not([tabindex]):not(a)'),a=document.querySelectorAll("a:not([href]):not([tabindex])");o.length!==0&&(o.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),o.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["button-add-tabindex",o.length]),console.log(o.length+" tabindex attributes added to divs with the button role by WP Accessibility"))),c.length!==0&&(c.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),c.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["link-add-tabindex",c.length]),console.log(c.length+" tabindex attributes added to anchor elements with the button role and no href value by WP Accessibility"))),i.length!==0&&(i.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),i.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["fakelink-add-tabindex",i.length]),console.log(i.length+" tabindex attributes added to elements with the link role not using the a element by WP Accessibility"))),a.length!==0&&(a.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),a.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["links-add-tabindex",a.length]),console.log(a.length+" tabindex attributes added to a with no href attribute by WP Accessibility")))}if(wpa.url!=="disabled"){let o=function(e,r,f="event"){e=JSON.stringify(e);let s=new FormData;s.append("action",wpa.action),s.append("security",wpa.security),s.append("stats",e),s.append("post_id",wpa.post_id),s.append("title",r),s.append("type",f),fetch(wpa.ajaxurl,{method:"POST",body:s})};class d{constructor(r){var f=Array.prototype.forEach,s=Array.prototype.map;this.each=function(n,l,b){if(n!=null){if(f&&n.forEach===f)n.forEach(l,b);else if(n.length===+n.length){for(var g=0,w=n.length;g<w;g++)if(JSON.stringify(l.call(b,n[g],g,n))==="{}")return}else for(var u in n)if(n.hasOwnProperty(u)&&JSON.stringify(l.call(b,n[u],u,n))==="{}")return}},this.map=function(n,l,b){var g=[];return n==null?g:s&&n.map===s?n.map(l,b):(this.each(n,function(w,u,p){g[g.length]=l.call(b,w,u,p)}),g)},r&&(this.hasher=r)}get(){let r=[];r.push(navigator.userAgent),r.push([screen.height,screen.width,screen.colorDepth].join("x")),r.push(new Date().getTimezoneOffset()),r.push(!!window.sessionStorage),r.push(!!window.localStorage);var f=this.map(navigator.plugins,function(s){var n=this.map(s,function(l){return[l.type,l.suffixes].join("~")}).join(",");return[s.name,s.description,n].join("::")},this).join(";");return r.push(f),this.hasher?this.hasher(r.join("###"),31):this.murmurhash3_32_gc(r.join("###"),31)}murmurhash3_32_gc(r,f){let s,n,l,b,g,w,u,p;for(s=r.length&3,n=r.length-s,l=f,g=3432918353,w=461845907,p=0;p<n;)u=r.charCodeAt(p)&255|(r.charCodeAt(++p)&255)<<8|(r.charCodeAt(++p)&255)<<16|(r.charCodeAt(++p)&255)<<24,++p,u=(u&65535)*g+(((u>>>16)*g&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(u&65535)*w+(((u>>>16)*w&65535)<<16)&4294967295,l^=u,l=l<<13|l>>>19,b=(l&65535)*5+(((l>>>16)*5&65535)<<16)&4294967295,l=(b&65535)+27492+(((b>>>16)+58964&65535)<<16);switch(u=0,s){case 3:u^=(r.charCodeAt(p+2)&255)<<16;case 2:u^=(r.charCodeAt(p+1)&255)<<8;case 1:u^=r.charCodeAt(p)&255,u=(u&65535)*g+(((u>>>16)*g&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(u&65535)*w+(((u>>>16)*w&65535)<<16)&4294967295,l^=u}return l^=r.length,l^=l>>>16,l=(l&65535)*2246822507+(((l>>>16)*2246822507&65535)<<16)&4294967295,l^=l>>>13,l=(l&65535)*3266489909+(((l>>>16)*3266489909&65535)<<16)&4294967295,l^=l>>>16,l>>>0}}let t=new d().get(),c=document.querySelector(".toggle-contrast");c&&c.addEventListener("click",function(){let e;this.getAttribute("data-id")=="is_normal_contrast"?e={contrast:"disabled"}:e={contrast:"enabled"},o(e,t)});let i=document.querySelector(".toggle-fontsize");i&&i.addEventListener("click",function(){let e;this.getAttribute("data-id")=="is_normal_fontsize"?e={fontsize:"disabled"}:e={fontsize:"enabled"},o(e,t)}),v(".wpa-ld button").then(e=>{e.addEventListener("click",function(r){if(e.getAttribute("aria-expanded")==="true"){let l={longdesc:e.closest("div").getAttribute("class").replace("wpa-ld wp-image-","")};o(l,t)}})});let a=document.querySelectorAll(".wpa-alt button");a.length>
1950&&a.forEach(e=>{e.addEventListener("click",function(r){if(e.getAttribute("aria-expanded")==="true"){let l={alttext:e.closest("div").getAttribute("class").replace("wpa-alt wp-image-","")};o(l,t)}})}),wpa.tracking&&h.length>=1&&o(h,wpa.url,"view")}if(wpa.underline.enabled){let d=document.querySelectorAll(wpa.underline.target+":not(nav "+wpa.underline.target+"):not(#wpadminbar a), .wpa-focusable[role=link]");d.length>0&&d.forEach(t=>{let o=t.style.outlineWidth,c=t.style.outlineOffset,i=t.style.color,a=t.style.outlineColor;t.style.textDecoration="underline",t.addEventListener("mouseenter",function(){this.style.textDecoration="none"}),t.addEventListener("mouseleave",function(){this.style.textDecoration="underline"}),t.addEventListener("focusin",function(){let e="2px";o=="2px"&&(e="4px"),this.style.outlineWidth=e,this.style.outlineColor=i,this.style.outlineOffset="2px"}),t.addEventListener("focusout",function(){this.style.outlineWidth=o,this.style.outlineColor=a,this.style.outlineOffset=c})})}if(wpa.videos){let d=matchMedia("(prefers-reduced-motion)"),t="false",o=document.querySelectorAll("video[autoplay]:not([controls])");o.length>0&&o.forEach(c=>{d.matches&&(c.pause(),t="true");let i=c.parentElement,a=document.createElement("button"),e=document.createElement("span"),r=document.createElement("span");a.setAttribute("type","button"),a.classList.add("wpa-video"),a.setAttribute("aria-pressed",t),e.classList.add("dashicons-controls-pause","dashicons"),e.setAttribute("aria-hidden","true"),r.classList.add("screen-reader-text"),r.innerText=wpa.pause,a.append(e,r),i.append(a),a.addEventListener("click",function(){let f=this.getAttribute("aria-pressed");console.log(f),f==="true"?(c.play(),this.setAttribute("aria-pressed","false")):(c.pause(),this.setAttribute("aria-pressed","true"))})})}if(wpa.alt){let d=wpa.altSelector?wpa.altSelector:'.hentry img[alt]:not([alt=""]), .comment-content img[alt]:not([alt=""]), #content img[alt]:not([alt=""]),.entry-content img[alt]:not([alt=""])',t=document.querySelectorAll(d),o=(c,i)=>{c.parentElement.insertBefore(i,c),i.appendChild(c)};t.forEach(c=>{let i=c,a=i.closest("a"),e=i.closest("button"),r=!!a,f=!!e,s=i.width,n=i.height;if((s||n)&&(s=s||56,n=n||56,n*s<150*300||c.classList.contains("wpa-skip")||
195c.closest(".wpa-skip")))return;let l=i.getAttribute("alt"),b=[...i.classList];i.setAttribute("class","");let g=document.createElement("div");g.classList.add("wpa-alt"),o(r||f?r?a:e:i,g),b.forEach(p=>{g.classList.add(p)}),g.insertAdjacentHTML("afterbegin",'<button aria-expanded="false" type="button" class="wpa-toggle">alt</button>'),g.insertAdjacentHTML("beforeend",'<div class="wpa-alt-text"></div>');let w=g.querySelector(".wpa-alt-text");w.style.display="none",w.innerText=l,g.querySelector("button").addEventListener("click",function(p){w.checkVisibility()?(this.setAttribute("aria-expanded","false"),w.style.display="none"):(this.setAttribute("aria-expanded","true"),w.style.display="block")})})}if(wpa.ldType){let o=function(i){let a=i.getAttribute("class"),e=i.getAttribute("id"),r;e&&e.includes("longdesc")?r=e.replace("longdesc-return-",""):((a===null||a==="")&&(parent=i.closest(".wpa-alt"),a=parent.getAttribute("class").replace("wpa-alt ","")),r=a.replace("wp-image-",""));let f=wpa.restUrl+"/"+r;fetch(f).then(s=>s.json()).then(s=>{let n=s.description.rendered;if(n=n.replace(/(<([^>]+)>)/gi,"").trim(),n!==""){let l=new URL(wpa.ldHome);l.searchParams.set("longdesc",r),l.searchParams.set("p",r),l.toString(),c(i,r,l,n)}}).catch(s=>{console.log(s)})},c=function(i,a,e,r){let f=document.createElement("div");f.classList.add("wpa-ld");let s=i.getAttribute("alt");s===""&&(s="<code>"+i.getAttribute("src").replace(wpa.ldHome,"")+"</code>");let n=document.body.className.split(/\s+/),l="";n.forEach(p=>{p.match(/postid-/gi)&&(l=p.replace("postid-","",p)),p.match(/page-id-/gi)&&(l=p.replace("page-id-","",p))});let b=new URL(e);b.searchParams.set("referrer",l),b.toString(),[...i.classList].forEach(p=>{f.classList.add(p)}),d(i,f),i.setAttribute("alt",""),i.setAttribute("class","");let w=document.createElement("a");w.setAttribute("href",b),w.classList.add("longdesc-link");let u=document.createElement("span");if(u.classList.add("screen-reader-text"),u.textContent=" of "+s,w.textContent="Description",w.appendChild(u),wpa.ldType==="link")f.insertAdjacentElement("beforeend",w);else{f.insertAdjacentHTML("beforeend",'<button aria-expanded="false" class="wpa-toggle">'+wpa.ldText+"</button>"),f.insertAdjacentHTML("beforeend",'<div class="longdesc"></div>');let p=f.querySelector(".longdesc");p.style.display="none",fetch(e).then(x=>{if(x.ok)return x.text();p.insertAdjacentHTML("beforeend",r)}).then(x=>{let k=new DOMParser().parseFromString(x,"text/html");p.insertAdjacentElement("beforeend",k.querySelector("#desc_"+a))}),f.querySelector("button").addEventListener("click",function(x){p.checkVisibility()?(this.setAttribute("aria-expanded","false"),p.style.display="none"):(this.setAttribute("aria-expanded","true"),p.style.display="block")})}},d=(i,a)=>{i.parentElement.insertBefore(a,i),a.appendChild(i)},t=document.querySelectorAll("img[longdesc]");if(wpa.ldType==="link"){t.length>0&&t.forEach(a=>{let e=document.createElement("div");e.classList.add("wpa-ld");let r=a.getAttribute("longdesc"),f=a.getAttribute("alt"),s=[...a.classList];d(a,e),s.forEach(b=>{e.classList.add(b)}),a.setAttribute("class","");let n=document.createElement("a");n.setAttribute("href",r),n.classList.add("longdesc-link");let l=document.createElement("span");l.classList.add("screen-reader-text"),l.textContent=" of "+f,n.textContent="Description",n.appendChild(l),a.insertAdjacentElement("afterend",n)});let i=document.querySelectorAll("figure.is-style-longdesc");i.length>0&&i.forEach(a=>{let e=a.querySelector("img");o(e)})}else{t.length>0&&t.forEach(a=>{o(a)});let i=document.querySelectorAll("figure.is-style-longdesc");i.length>0&&i.forEach(a=>{let e=a.querySelector("img");o(e)})}}})();function L(m){let y="";if(m.nodeType===3||m.nodeType===4)y=m.nodeValue;else if(m.nodeType===1&&(m.tagName.toLowerCase()=="img"||m.tagName.toLowerCase()=="area"||m.tagName.toLowerCase()=="input"&&m.getAttribute("type")&&m.getAttribute("type").toLowerCase()=="image"))y=m.getAttribute("alt")||"";else if(m.nodeType===1&&!m.tagName.match(/^(script|style)$/i)){let h=m.childNodes;for(let A=0,d=h.length;A<d;A++){let t=m.getAttribute("aria-label");y+=t||L(h[A])+" "}}return y}function v(m){return new Promise(y=>{if(document.querySelector(m))return y(document.querySelector(m));let h=new MutationObserver(A=>{document.querySelector(m)&&(h.disconnect(),y(document.querySelector(m)))});h.observe(document.body,{childList:!0,subtree:!0})})}})();
196let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_log(...e){"undefined"!=typeof complianz&&complianz.debug&&console.warn(...e)}
196function cmplz_create_element(e,t){e=document.createElement(e);return e.innerHtml=t,e}function cmplz_add_event(e,t,c){document.addEventListener(e,e=>{e.target.closest(t)&&c(e)})}function cmplz_is_hidden(e){return null===e.offsetParent}function cmplz_html_decode(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(e){var t=document.createElement("template");return t.innerHTML=String(e||""),t.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(e=>{e.remove()}),t.content.querySelectorAll("*").forEach(n=>{Array.from(n.attributes).forEach(e=>{var t,c=e.name.toLowerCase();0!==c.indexOf("on")&&(t=e.value.trim(),"href"!==c&&"src"!==c&&"xlink:href"!==c||!/^\s*(javascript:|data:)/i.test(t))||n.removeAttribute(e.name)})}),t.innerHTML}function cmplz_is_safe_script_src(e){if("string"!=typeof e)return!1;e=e.trim();if(!e)return!1;try{var t=new URL(e,window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cmplz_trap_focus(){var e;cmplz_banner&&(cmplz_original_active_element=cmplz_banner.ownerDocument.activeElement,complianz.soft_cookiewall&&document.body.classList.add("cmplz-banner-active"),document.addEventListener("keydown",cmplz_handle_tab_navigation),0<(e=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length)&&e[0].focus()}function cmplz_handle_tab_navigation(e){var t,c,n,o;"Tab"===e.key&&cmplz_banner&&(0===(c=Array.from(cmplz_banner.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(function(e){return null!==e.offsetParent})).length?e.preventDefault():(t=c[0],c=c[c.length-1],n=cmplz_banner.ownerDocument.activeElement,o=cmplz_banner.contains(n),e.shiftKey?o&&n!==t||(e.preventDefault(),c.focus()):o&&n!==c||(e.preventDefault(),t.focus())))}function cmplz_release_focus_trap(){document.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active");var e=cmplz_banner_trigger_source;if(cmplz_banner_trigger_source="page-load","manage-consent"===e){if(cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}else cmplz_last_input_was_keyboard&&(document.querySelector('a[href="#content"], a[href="#main"], a[href="#main-content"], .skip-link')||document.body).focus()}function cmplzLoadConsentAreaContent(e,r){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(t=>{let c=t.getAttribute("data-category"),n=t.getAttribute("data-service");var o=t.getAttribute("data-post_id"),a=t.getAttribute("data-block_id");if(e===c||r===n){let e=new XMLHttpRequest;e.open("GET",complianz.url+"consent-area/"+o+"/"+a,!0),e.setRequestHeader("Content-type","application/json"),e.send(),t.classList.remove("cmplz-placeholder"),e.onload=function(){t.innerHTML=JSON.parse(e.response),t.querySelectorAll("script").forEach(e=>{cmplz_run_script(e.innerHTML,c,n,"inline",e)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(e=>{e.addEventListener("click",e=>{let t=e.target;(t=t.classList.contains("cmplz-consent-area")?t:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=t.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(e){cmplzLoadConsentAreaContent(e.detail.category,e.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var e,t=window.location.href;-1!==t.indexOf("#")&&(e=-1!==t.lastIndexOf("?")?t.lastIndexOf("?"):void 0,t=t.substring(t.indexOf("#")+1,e),e=document.getElementById(t))&&(t=e.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:t,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),c}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"],cmplz_original_active_element=null,cmplz_banner_trigger_source="page-load",cmplz_last_input_was_keyboard=!1,cmplz_set_category_as_body_class=(document.addEventListener("keydown",function(){cmplz_last_input_was_keyboard=!0},!0),document.addEventListener("pointerdown",function(){cmplz_last_input_was_keyboard=!1},!0),window.cmplz_get_cookie=function(t){if("undefined"!=typeof document){t=complianz.prefix+t;var c=document.cookie.split(";");for(let e=0;e<c.length;e++){var n=c[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}}return""},window.cmplz_set_cookie=function(e,t,c){var n,o,a,r;"undefined"!=typeof document&&(c=void 0===c||c,n="https:"===window.location.protocol?";
196secure":"",(o=new Date).setTime(o.getTime()+24*complianz.cookie_expiry*60*60*1e3),o=";expires="+o.toGMTString(),a=0<(a=cmplz_get_cookie_domain()).length?";domain="+a:"",c=c?complianz.prefix:"",r=cmplz_get_cookie_path(),document.cookie=""+c+e+`=${t};SameSite=Lax${n}${o}${a};path=`+r)},window.cmplz_in_array=function(e,t){return t.includes(e)},window.cmplz_highest_accepted_category=function(){var t=cmplz_accepted_categories(),c=["marketing","statistics","preferences"];for(let e=0;e<c.length;e++)if(cmplz_in_array(c[e],t))return c[e];return"functional"},()=>{let c=document.body.classList;for(let e=c.length-1;0<=e;e--)c[e].startsWith("cmplz-")&&"cmplz-document"!==c[e]&&c.remove(c[e]);var e=cmplz_accepted_categories(),e=(Object.values(e).forEach(e=>{"string"==typeof e&&c.add("cmplz-"+e)}),cmplz_get_all_service_consents()),e=(Object.entries(e).forEach(([e,t])=>{t&&c.add("cmplz-"+e)}),c.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(e)}),cmplz_append_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.setAttribute("type","text/css"),c.appendChild(document.createTextNode(e)),t.appendChild(c)},cmplz_load_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=e,t.appendChild(c)};function cmplz_run_script(t,c,n,e,o){var a=document.createElement("script");if("inline"!==e&&cmplz_is_safe_script_src(t)?a.src=t:("string"!=typeof t&&(t=t.innerHTML),a.textContent=[t,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(t,cmplz_fired_scripts)){cmplzCopyAttributes(o,a);try{"inline"!==e?a.onload=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)},document.head.appendChild(a)}catch(e){throw cmplz_run_after_all_scripts(c,n),"Something went wrong "+e+" while loading "+t}}}function cmplz_maybe_run_waiting_scripts(e,t,c,n){var o=cmplz_get_waiting_script(cmplz_waiting_scripts,e),o=(o&&cmplz_run_script(o,t,c,"src",n),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,e));o&&cmplz_run_script(o,t,c,"inline",n)}let cmplzLazyLoader=()=>{var e=document.querySelectorAll(".cmplz-blocked-content-container");let t=new IntersectionObserver((e,n)=>{e.forEach(e=>{var t,c;e.isIntersecting&&((t=(e=e.target).getAttribute("data-placeholder-image"))&&(c=e.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+c+" {background-image: url("+t+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(e,t,c)),n.unobserve(e))})});e.forEach(e=>{t.observe(e)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(e=>{var t,c,n,o;e.classList.contains("cmplz-processed")||(e.classList.add("cmplz-processed"),t=e.getAttribute("data-service"),c=e.getAttribute("data-category"),(n=e.parentElement).classList.add("cmplz-blocked-content-container"),o=n.getAttribute("data-placeholder_class_index"),"lazy"===e.getAttribute("loading")&&(e.removeAttribute("loading"),e.setAttribute("data-deferlazy",1)),null===o&&(cmplz_placeholder_class_index++,n.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),n.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(n,c,t)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(t=>{if(!t.classList.contains("cmplz-processed")){t.classList.add("cmplz-processed");var c=t.getAttribute("data-service"),n=t.getAttribute("data-category");let e;null===(e=t.classList.contains("cmplz-iframe")?("lazy"===t.getAttribute("loading")&&(t.removeAttribute("loading"),t.setAttribute("data-deferlazy",1)),t.parentElement):t).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,e.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),e.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(e,n,c),n=t.getAttribute("data-placeholder-image"))&&void 0!==n&&n.length&&e.setAttribute("data-placeholder-image",n)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(e,n,o){if(!e.querySelector(".cmplz-blocked-content-notice")){let t=complianz.placeholdertext;n=n||"marketing";let c;if(void 0!==t){if(1===Number(complianz.clean_cookies)){let e=o?o.replace("-"," "):"";e=e.charAt(0).toUpperCase()+e.slice(1),t=t.replace("{service}
196",e),(c=cmplz_create_element("div",t)).innerHTML=cmplz_sanitize_placeholder_html(t),c.classList.add("cmplz-blocked-content-notice");var a=c.querySelector("button"),a=(a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{service}",e)),complianz.page_links[complianz.region]),r=c.querySelector(".cmplz-links a");a&&a.hasOwnProperty("cookie-statement")?(r.setAttribute("href",a["cookie-statement"].url),"{title}"===r.innerText&&(r.innerText=a["cookie-statement"].title)):r&&(r.parentElement.style.display="none")}else{a=cmplz_create_element("button",""),r=complianz.categories.hasOwnProperty(n)?complianz.categories[n]:"marketing";a.innerText=t.replace("{category}",r),a.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+n),a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{category}",n)),c=a}("VIDEO"!==e.tagName?e:e.parentElement).appendChild(c)}}}function cmplz_set_blocked_content_container_aspect_ratio(t,c,n){var e;null!=t&&((e=new Image).addEventListener("load",function(){var e=this.naturalWidth||1,e=this.naturalHeight*(t.clientWidth/e),e=-1===c.indexOf("placeholder.jpg")?"height:"+e+"px;":"";cmplz_append_css(".cmplz-placeholder-"+n+" {"+e+"}")}),e.src=c)}let cmplzResizeTimer;function cmplz_enable_category(o,a){1===Number(complianz.tm_categories)&&""!==o&&cmplz_run_tm_event(o);var t={},t=(t.category=o,t.categories=cmplz_accepted_categories(),t.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:t}));if(document.dispatchEvent(t),a=void 0!==a?a:"do_not_match","functional"!==(o=""===o?"do_not_match":o)){"marketing"===o&&cmplz_set_integrations_cookies();let e;e="do_not_match"!==a?'.cmplz-blocked-content-notice [data-service="'+a+'"]':1!==Number(complianz.clean_cookies)?".cmplz-blocked-content-notice.cmplz-accept-"+o:'.cmplz-blocked-content-notice [data-category="'+o+'"]',document.querySelectorAll(e).forEach(e=>{var t=e.getAttribute("data-service");e.parentNode.classList.contains("cmplz-blocked-content-notice")&&(e=e.parentNode),cmplz_is_service_denied(t)||e.parentNode.removeChild(e)}),document.querySelectorAll('[data-category="'+o+'"], [data-service="'+a+'"]').forEach(t=>{var e=t.getAttribute("data-service");if(!cmplz_is_service_denied(e)&&"functional"!==t.getAttribute("data-category")&&!t.classList.contains("cmplz-activated")){var e=t.tagName;if("LINK"===e){t.classList.add("cmplz-activated");var c=t.getAttribute("data-href");cmplz_load_css(c,o)}else if("IMG"===e){t.classList.add("cmplz-activated");c=t.getAttribute("data-src-cmplz");t.setAttribute("src",c),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),cmplz_remove_placeholder(t)}else if("IFRAME"===e){t.classList.add("cmplz-activated");let e=t.getAttribute("data-src-cmplz");c=t.getAttribute("data-cmplz-target")?t.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(t.getAttribute(c),"autoplay")&&(e+="&autoplay=1"),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),t.addEventListener("load",()=>{cmplz_remove_placeholder(t)}),t.setAttribute(c,e)}else t.classList.contains("cmplz-placeholder-element")&&(t.classList.add("cmplz-activated"),e=t.getAttribute("data-placeholder_class_index"),t.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+e))}});t=document.querySelectorAll('script[data-category="'+o+'"], script[data-service="'+a+'"]');t.forEach(e=>{var t=e.getAttribute("data-waitfor"),c=e.getAttribute("data-cmplz-src");t&&(c?cmplz_waiting_scripts[t]=c:0<e.innerText.length&&(cmplz_waiting_inline_scripts[t]=e)),e.parentElement&&e.parentElement.removeChild(e)}),t.forEach(e=>{var t,c,n=e.getAttribute("type");!e.classList.contains("cmplz-activated")&&n&&"text/javascript"!==n&&(e.classList.add("cmplz-activated"),(n=e.getAttribute("data-cmplz-src"))?(e.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,n)||(e.getAttribute("data-post_scribe_id")?(t="#"+e.getAttribute("data-post_scribe_id"),(c=document.querySelector(t))&&(c.innerHtml(""),postscribe(t,"<script src="+n+"><\/script>"))):cmplz_run_script(n,o,a,"src",e))):0<e.innerText.length&&(cmplz_is_
196waiting_script(cmplz_waiting_inline_scripts,e.innerText)||cmplz_run_script(e.innerText,o,a,"inline",e)))}),cmplz_run_after_all_scripts(o,a)}}function cmplz_remove_placeholder(e){var t,c=e.closest(".cmplz-blocked-content-container");c&&(t=c.getAttribute("data-placeholder_class_index"),c.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+t)),e.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(e,t){for(var c in e){var n;if(e.hasOwnProperty(c))if(-1!==t.indexOf(c))return n=e[c],delete e[c],n}return!1}function cmplz_array_is_empty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function cmplz_is_waiting_script(t,c){for(var n in t)if(t.hasOwnProperty(n)){let e=t[n];if("string"!=typeof e&&(e=e.innerText),-1!==c.indexOf(e)||-1!==e.indexOf(c))return!0}return!1}function cmplz_run_after_all_scripts(e,t){var c="do_not_match"!==t&&!cmplz_in_array(t,cmplz_fired_service_events),n="do_not_match"!==e&&!cmplz_in_array(e,cmplz_fired_category_events);(n||c)&&(n&&cmplz_fired_category_events.push(e),c&&cmplz_fired_service_events.push(t),(n={}).category=e,n.service=t,n.categories=cmplz_accepted_categories(),n.services=cmplz_get_all_service_consents(),n.region=complianz.region,c=new CustomEvent("cmplz_enable_category",{detail:n}),document.dispatchEvent(c)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)&&(n=new CustomEvent("cmplz_run_after_all_scripts",{detail:e,service:t}),document.dispatchEvent(n),cmplz_all_scripts_hook_fired=!0)}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},!0),1===Number(complianz.block_ajax_content)&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(e){-1===cmplz_fired_events.indexOf(e)&&(cmplz_fired_events.push(e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+e}),e=new CustomEvent("cmplz_tag_manager_event",{detail:e}),document.dispatchEvent(e))}function cmplz_fire_before_categories_consent(e){var t={},e=(t.categories=e,t.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:t}));document.dispatchEvent(e)}function cmplz_check_cookie_policy_id(){var e=cmplz_get_cookie("policy_id");e&&parseInt(complianz.current_policy_id)!==parseInt(e)&&(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var e="doNotTrack"in navigator&&"1"===navigator.doNotTrack,t="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!t&&!e)}function cmplz_get_services_on_page(){let c=[];return document.querySelectorAll("[data-service]").forEach(e=>{var t=e.getAttribute("data-service"),e=e.getAttribute("data-category");-1===c.indexOf(t)&&c.push({category:e,service:t})}),c}function cmplzEnsureBannerCss(){var e="cmplz-banner-"+complianz.user_banner_id+"-"+complianz.consenttype+"-css",e=document.getElementById(e);if(e&&"stylesheet"===e.rel)return e.sheet&&e.sheet.disabled&&(e.sheet.disabled=!1),e;var t,e=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&cmplz_log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory");let c=e.split("?")[0].split("/").pop(),n=null;return document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){e.href.split("?")[0].split("/").pop()===c&&(n=e)}),n?(n.sheet&&n.sheet.disabled&&(n.sheet.disabled=!1),n):((t=document.createElement("link")).href=e,t.type="text/css",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t),t)}function cmplzSyncConsentState(){var e=document.querySelectorAll(".cmplz-cookiebanner");1<e.length&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()});let t="dismissed"===cmplz_get_banner_status();document.querySelectorAll(".cmplz-cookiebanner").forEach(function(e){e.classList.toggle("cmplz-show",!t),e.classList.toggle("cmplz-dismissed",t)});e=document.querySelectorAll("#cmplz-manage-consent");Array.prototype.some.call(e,function(e){return!e.closest("[data-wp-router-region]")})&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()})}function cmplzInitNavigationHook(){if(document.querySelector("[data-wp-router-region]")){let e=function(){cmplzEnsureBannerCss(),cmplzSyncConsentState()};
196if("module"===complianz.iapi_nav)document.addEventListener("cmplz_router_navigated",e);else{let c=function(){requestAnimationFrame(function(){e(),setTimeout(e,150)})};["pushState","replaceState"].forEach(function(e){let t=history[e];history[e]=function(){var e=t.apply(this,arguments);return c(),e}}),window.addEventListener("popstate",c)}}}function cmplz_is_bot(){var e=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),t=navigator.userAgent;return e.test(t)}function cmplz_is_speedbot(){var e=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(e)}function cmplz_exists_service_consent(){var e,t=cmplz_get_cookie("consented_services");try{for(var c in e=JSON.parse(t))if(e.hasOwnProperty(c)&&!0===e[c])return!0}catch(e){}return!1}function cmplz_set_service_consent(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}n[e]=t,cmplz_set_cookie("consented_services",JSON.stringify(n));c={},c.service=e,c.value=t,c.region=complianz.region,cmplz_all_scripts_hook_fired=!1,e=new CustomEvent("cmplz_status_change_service",{detail:c});document.dispatchEvent(e)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var e=cmplz_get_cookie("consented_services");let t;try{t=JSON.parse(e)}catch(e){t={}}return t}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==complianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1===Number(complianz.set_cookies_on_root)&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var e;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((e=new 
196URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=e.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var e in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"deny");let t=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(t=!0),cmplz_clear_cookies("cmplz_service")&&(t=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var c=new CustomEvent("cmplz_revoke",{detail:t});document.dispatchEvent(c),!complianz.tcf_active&&t&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var e,t,c,n=new CustomEvent("wp_consent_type_defined"),o=(document.dispatchEvent(n),n=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(n),1===Number(complianz.forceEnableStats)&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),a=[];for(e in o)o.hasOwnProperty(e)&&(t=cmplz_categories[e],cmplz_has_consent(t))&&a.push(t);for(c in cmplz_fire_before_categories_consent(a),a)o.hasOwnProperty(c)&&cmplz_enable_category(a[c]);if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var r,l,i,s=cmplz_get_services_on_page();for(r in s)s.hasOwnProperty(r)&&(l=s[r].service,i=s[r].category,cmplz_has_service_consent(l,i))&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+l+'"]').forEach(e=>{e.checked=!0}),cmplz_enable_category("",l))}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),n=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(n),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(cmplz_log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),cmplz_log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(cmplz_log("opt-out"),show_cookie_banner):(cmplz_log("other consent type, no cookie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let t=complianz.disable_cookiebanner||cmplz_is_speedbot(),e=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(e=!0);var c=document.getElementById("cmplz-cookiebanner-container");c&&document.body.prepend(c);let n=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(t=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);function o(){var e;t||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),e=cmplz_banner.querySelector(".cmplz-close"))&&e.focus())}c=cmplzEnsureBannerCss(),t||((!c||!c.sheet)&&c?(c.addEventListener("load",o),setTimeout(o,500)):o()),cmplz_banner&&!t&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(e=>{var t,c=e;for(t in c.classList.add("cmplz-hidden"),n)n.hasOwnProperty(t)&&c.classList.contains(t)&&(c.setAttribute("href",n[t].url+c.getAttribute("data-relative_url")),"{title}"===c.innerText&&(c.innerText=cmplz_html_decode(n[t].title)),c.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),e)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),c=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(c)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(e){let t=cmplz_get_cookie("banner-status");(e=void 0!==e?e:t)!==t&&cmplz_set_cookie("banner-status",e),0===e.length&&(e="show"),t="show"===e?"dismissed":"show",cmplz_banner&&0<e.length&&(cmplz_banner.classList.remove("cmplz-"+t),cmplz_banner.classList.add("cmplz-"+e),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+t),cmplz_manage_consent_button.classList.remove("cmplz-"+e)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+t),cmplz_banner_container.classList.add("cmplz-"+e,"cmplz-soft-cookiewall"));var c=new CustomEvent("cmplz_banner_status",{detail:e});document.dispatchEvent(c),cmplz_start_clean(),"show"===e?(cmplz_trap_focus(),(c=cmplz_banner.querySelector(".cmplz-close"))&&c.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(e){if(cmplz_is_bot())return!0;
196if("functional"===e)return!0;let t,c;return t=cmplz_do_not_track()?(c=cmplz_get_cookie(e),"allow"===c):(c=cmplz_get_cookie(e),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===c||"allow"===c)},window.cmplz_is_service_denied=function(e){var t=cmplz_get_cookie("consented_services");let c;try{c=JSON.parse(t)}catch(e){c={}}return!!c.hasOwnProperty(e)&&!c[e]},window.cmplz_has_service_consent=function(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}return n.hasOwnProperty(e)?n[e]:cmplz_has_consent(t)},window.cmplz_set_consent=function(e,t){cmplz_set_accepted_cookie_policy_id(),t="functional"===e?"allow":t;var c,n=cmplz_get_cookie(e);let o="allow"===t;document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=o}),n!==t&&(cmplz_set_cookie(e,t),"allow"===t&&cmplz_enable_category(e),cmplz_wp_set_consent(e,t),"statistics"===e&&cmplz_wp_set_consent("statistics-anonymous","allow"),(c=new Object).category=e,c.value=t,c.region=complianz.region,c.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,c=new CustomEvent("cmplz_status_change",{detail:c}),document.dispatchEvent(c),"marketing"===e)&&"deny"===t&&"allow"===n&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!==Number(complianz.geoip)||0!==cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let e=new XMLHttpRequest,t=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");t=t?"&cmplz_user_region="+t:"",e.open("GET",complianz.url+"banner?"+complianz.locale+t,!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_user_data=JSON.parse(e.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(cmplzInitNavigationHook(),1===Number(complianz.store_consent)){let e=cmplz_get_cookie("id"),t="",c="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(t=JSON.parse(sessionStorage.cmplz_id)),0===e.length&&0<t.length&&(c=t,cmplz_set_cookie("id",c)),0<e.length&&0===t.length&&(c=e),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(c))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===complianz.consenttype&&1===Number(complianz.dismiss_on_scroll)){let e=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",e),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",e)}var e=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<e&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(e))}}function cmplz_fire_categories_event(){var e=new Object,e=(e.category=cmplz_highest_accepted_category(),e.categories=cmplz_accepted_categories(),e.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:e}));document.dispatchEvent(e)}function cmplz_track_status(e){let t=[];e=void 0!==e&&e;var c=new CustomEvent("cmplz_track_status",{detail:e});document.dispatchEvent(c),t=e?[e]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let n,o;try{n=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){n={}}try{o=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){o={}}var c=cmplz_get_all_service_consents();cmplz_equals(n,t)&&cmplz_equals(o,c)||1!==Number(complianz.store_consent)||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(t)),cmplz_set_cookie("saved_services",JSON.stringify(c)),cmplz_consent_stored_once=!0,e={consented_categories:t,consented_services:c,consenttype:window.wp_consent_type},(c=new XMLHttpRequest).open("POST",complianz.url+"track",!0),c.setRequestHeader("Content-type","application/json"),c.send(JSON.stringify(e)))}function cmplz_accepted_categories(){let e=cmplz_categories,t=[];for(var c in e)e.hasOwnProperty(c)&&(c=e[c],cmplz_has_consent(c))&&t.pu
196sh(c);return e=e.filter(function(e){return cmplz_in_array(e,t)})}function cmplz_sync_category_checkboxes(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],cmplz_has_consent(e)||"functional"===e?document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!0}):document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(e=>{var t=e.getAttribute("data-service"),c=e.getAttribute("data-category");cmplz_has_service_consent(t,c)?e.checked=!0:cmplz_is_service_denied(t)?e.checked=!1:e.checked=!!cmplz_has_consent(c)})}function cmplz_merge_object(e,t){var c,n,o={};for(c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);for(n in e)t.hasOwnProperty(n)&&void 0!==t[n]||e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function cmplz_clear_cookies(t){if("undefined"==typeof document)return!1;let a=!1,r="https:"===window.location.protocol?";secure":"",l="expires="+(new Date).toGMTString(),i=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(e){let n=e.split(";")[0].split("=")[0];if(-1!==n.indexOf(t)){a=!0;let c=window.location.hostname.split(".");var o=1<c.length;for(i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e+"/"});0<c.length;){let t="."+c.join(".");
196c.shift(),o&&1===c.length&&c.shift(),i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),a}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&"1"===t[e][1]&&cmplz_set_cookie(e,t[e][1],!1)}function cmplz_integrations_revoke(){var e,t,c=complianz.set_cookies;for(e in c)c.hasOwnProperty(e)&&(t=c[e][1],cmplz_set_cookie(e,t,!1),0===Number(t))&&cmplz_clear_cookies(e)}function cmplz_set_integrations_cookies(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&cmplz_set_cookie(e,t[e][0],!1)}function cmplz_get_url_parameter(e,t){if(e&&void 0!==e&&-1!==e.indexOf("?")){e=e.split("?")[1];if(e){var c=e.split("&");for(let e=0;e<c.length;e++){var n=c[e].split("=");if(n[0]===t)return void 0===n[1]||decodeURIComponent(n[1])}}}return!1}function cmplz_maybe_auto_redirect(){var e=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),t=cmplz_get_url_parameter(window.location.href,"cmplz-region");e&&!t&&(e=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,t=window.location.hash,window.location.href=e+t)}function cmplz_wp_set_consent(e,t){"function"==typeof wp_set_consent&&wp_set_consent(e,t)}function cmplz_start_clean(){if(1===Number(complianz.clean_cookies))if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let e=new XMLHttpRequest;e.open("GET",complianz.url+"cookie_data",!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_cookie_data=JSON.parse(e.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var e;for(e of["preferences","statistics","marketing"])if(!cmplz_has_consent(e)&&cmplz_cookie_data.hasOwnProperty(e)){var t,c,n=cmplz_cookie_data[e];for(t in n)if(!cmplz_has_service_consent(t,e))for(c of n[t])cmplz_clear_cookies(c),cmplz_clear_storage(c)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(e){"undefined"!=typeof Storage&&(localStorage.getItem(e)&&localStorage.removeItem(e),sessionStorage.getItem(e))&&sessionStorage.removeItem(e)}function cmplz_load_manage_consent_container(){let c=document.querySelector(".cmplz-manage-consent-container");if(c){let t=new XMLHttpRequest;t.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,!0),t.setRequestHeader("Content-type","application/json"),t.send(),t.onload=function(){var e=JSON.parse(t.response);c.insertAdjacentHTML("beforeend",e),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",c.style.display="block";e=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(e)}}}function cmplz_equals(c,n){if("object"!=typeof c||null===c||Array.isArray(c)||"object"!=typeof n||null===n||Array.isArray(n)){if(Array.isArray(c)||(c=Object.keys(c),n=Object.keys(n)),!c||!n)return!1;if(c.length!==n.length)return!1;for(let e=0,t=c.length;e<t;e++)if(c[e]instanceof Array&&n[e]instanceof Array){if(!cmplz_equals(c[e],n[e]))return!1}else if(c[e]!==n[e])return!1}else{var e;for(e of[...new Set([...Object.keys(c),...Object.keys(n)])])if(c[e]!==n[e])return!1}return!0}function cmplzCopyAttributes(e,t){let c=["type","data-service","data-category","async"];Array.from(e.attributes).forEach(e=>{"data-script-type"===e.nodeName&&"module"===e.nodeValue?(t.setAttribute("type","module"),t.removeAttribute("data-script-type")):c.includes(e.nodeName)||t.setAttribute(e.nodeName,e.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,t=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";1===Number(complianz.clean_cookies)&&void 0!==t&&t?(cmplz_set_service_consent(t,!0),cmplz_enable_category("","general"),cmplz_enable_category("",t)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var t=e.target,c=t.tagName,n=t.getAttribute("data-service");void 0!==n&&("INPUT"===c?(cmplz_set_banner_status("dismissed"),t.checked?(cmplz_set_service_consent(n,!0),cmplz_enable_category("",n)):(cmplz_set_service_consent(n,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(n,!0),cmplz_enable_category("","general"),cmplz_enable_category("",n),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var t,c,n,o,a,e=e.target,r=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(t in cmplz_categories)cmplz_categories.hasOwnProperty(t)&&(c=cmplz_categories[t],n=cmplz_banner.querySelector("input.cmplz-"+c))&&n.checked&&r.push(c);for(o in cmplz_fire_before_categories_consent(r),cmplz_categories)cmplz_categories.hasOwnProperty(o)&&(a=cmplz_categories[o],r.includes(a)?cmplz_set_consent(a,"allow"):cmplz_set_consent(a,"deny"));cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-v
196isible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector(".cmplz-category-toggle"))&&e.focus())}),cmplz_add_event("click",".cmplz-category-toggle",function(e){var t,e=e.target.closest(".cmplz-category-toggle");e&&(t="true"===e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded",String(!t)),e=e.closest(".cmplz-category"))&&(e=e.querySelector(".cmplz-description"))&&(e.hidden=t)}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var e in cmplz_categories){var t;cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],t=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+e))&&(t.checked?cmplz_set_consent(e,"allow"):cmplz_set_consent(e,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),t=document.querySelector(".cmplz-save-settings"),c=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(t.style.display="block",c.style.display="none",e.style.display="block"):(t.style.display="none",c.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_banner_trigger_source="manage-consent",cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32===(e.keyCode||e.which)&&e.target.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13===(e.keyCode||e.which)&&e.target.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function(i){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){t()});let e=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?t():clearInterval(e)},500)}function t(){if(document.querySelector(".cmplz-wp-video-shortcode")){var e,t,n,o=cmplz_accepted_categories(),a=cmplz_get_all_service_consents(),r=[];for(e in o)if(o.hasOwnProperty(e)){var l=o[e];if("functional"===l)break;r.push('.cmplz-wp-video-shortcode[data-category="'+l+'"]')}for(t in a)a.hasOwnProperty(t)&&r.push('.cmplz-wp-video-shortcode[data-service="'+t+'"]');n=r.join(",");let c=!1;0<n.length&&document.querySelectorAll(n).forEach(e=>{c=!0,e.setAttribute("controls","controls"),e.classList.add("wp-video-shortcode","cmplz-processed"),e.classList.remove("cmplz-wp-video-shortcode"),e.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var t=e.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");t&&t.parentElement.removeChild(t),e.classList.remove("cmplz-blocked-content-container")}),c&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(n={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},i(".wp-video-shortcode").mediaelementplayer(n)))}}function c(e){e=i(e);"function"==typeof e.parent().fitVids&&e.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)})})});
197document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBo
197x(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{i.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),o?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".
197isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,i,o,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}
197),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgroun
197ds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery);
198/*!
199 * Lightbox v2.11.5
200 * by Lokesh Dhakar
201 *
202 * More info:
203 * http://lokeshdhakar.com/projects/lightbox2/
204 *
205 * Copyright Lokesh Dhakar
206 * Released under the MIT license
207 * https://github.com/lokesh/lightbox2/blob/master/LICENSE
208 *
209 * @preserve
210 */
211!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof exports?module.exports=b(require("jquery")):a.lightbox=b(a.jQuery)}(this,function(a){function b(b){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=a.extend({},this.constructor.defaults),this.option(b)}return b.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:600,fitImagesInViewport:!0,imageFadeDuration:600,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1,sanitizeTitle:!1},b.prototype.option=function(b){a.extend(this.options,b)},b.prototype.imageCountLabel=function(a,b){return this.options.albumLabel.replace(/%1/g,a).replace(/%2/g,b)},b.prototype.init=function(){var b=this;a(document).ready(function(){b.enable(),b.build()})},b.prototype.enable=function(){var b=this;a("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(c){return b.start(a(c.currentTarget)),!1})},b.prototype.build=function(){if(!(a("#lightbox").length>0)){var b=this;a('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" role="button" tabindex="0" aria-label="Previous image" href="" ></a><a class="lb-next" role="button" tabindex="0" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel" role="button" tabindex="0"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close" role="button" tabindex="0"></a></div></div></div></div>').appendTo(a("body")),this.$lightbox=a("#lightbox"),this.$overlay=a("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.$image=this.$lightbox.find(".lb-image"),this.$nav=this.$lightbox.find(".lb-nav"),this.containerPadding={top:parseInt(this.$container.css("padding-top"),10),right:parseInt(this.$container.css("padding-right"),10),bottom:parseInt(this.$container.css("padding-bottom"),10),left:parseInt(this.$container.css("padding-left"),10)},this.imageBorderWidth={top:parseInt(this.$image.css("border-top-width"),10),right:parseInt(this.$image.css("border-right-width"),10),bottom:parseInt(this.$image.css("border-bottom-width"),10),left:parseInt(this.$image.css("border-left-width"),10)},this.$overlay.hide().on("click",function(){return b.end(),!1}),this.$lightbox.hide().on("click",function(c){"lightbox"===a(c.target).attr("id")&&b.end()}),this.$outerContainer.on("click",function(c){return"lightbox"===a(c.target).attr("id")&&b.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===b.currentImageIndex?b.changeImage(b.album.length-1):b.changeImage(b.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return b.currentImageIndex===b.album.length-1?b.changeImage(0):b.changeImage(b.currentImageIndex+1),!1}),this.$nav.on("mousedown",function(a){3===a.which&&(b.$nav.css("pointer-events","none"),b.$lightbox.one("contextmenu",function(){setTimeout(function(){this.$nav.css("pointer-events","auto")}.bind(b),0)}))}),this.$lightbox.find(".lb-loader, .lb-close").on("click keyup",function(a){if
211("click"===a.type||"keyup"===a.type&&(13===a.which||32===a.which))return b.end(),!1})}},b.prototype.start=function(b){function c(a){d.album.push({alt:a.attr("data-alt"),link:a.attr("href"),title:a.attr("data-title")||a.attr("title")})}var d=this,e=a(window);e.on("resize",a.proxy(this.sizeOverlay,this)),this.sizeOverlay(),this.album=[];var f,g=0,h=b.attr("data-lightbox");if(h){f=a(b.prop("tagName")+'[data-lightbox="'+h+'"]');for(var i=0;i<f.length;i=++i)c(a(f[i])),f[i]===b[0]&&(g=i)}else if("lightbox"===b.attr("rel"))c(b);else{f=a(b.prop("tagName")+'[rel="'+b.attr("rel")+'"]');for(var j=0;j<f.length;j=++j)c(a(f[j])),f[j]===b[0]&&(g=j)}var k=e.scrollTop()+this.options.positionFromTop,l=e.scrollLeft();this.$lightbox.css({top:k+"px",left:l+"px"}).fadeIn(this.options.fadeDuration),this.options.disableScrolling&&a("body").addClass("lb-disable-scrolling"),this.changeImage(g)},b.prototype.changeImage=function(b){var c=this,d=this.album[b].link,e=d.split(".").slice(-1)[0],f=this.$lightbox.find(".lb-image");this.disableKeyboardNav(),this.$overlay.fadeIn(this.options.fadeDuration),a(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var g=new Image;g.onload=function(){var h,i,j,k,l,m;f.attr({alt:c.album[b].alt,src:d}),a(g),f.width(g.width),f.height(g.height);var n=g.width/g.height;m=a(window).width(),l=a(window).height(),k=m-c.containerPadding.left-c.containerPadding.right-c.imageBorderWidth.left-c.imageBorderWidth.right-20,j=l-c.containerPadding.top-c.containerPadding.bottom-c.imageBorderWidth.top-c.imageBorderWidth.bottom-c.options.positionFromTop-70,"svg"===e?(n>=1?(i=k,h=parseInt(k/n,10)):(i=parseInt(j/n,10),h=j),f.width(i),f.height(h)):(c.options.fitImagesInViewport?(c.options.maxWidth&&c.options.maxWidth<k&&(k=c.options.maxWidth),c.options.maxHeight&&c.options.maxHeight<j&&(j=c.options.maxHeight)):(k=c.options.maxWidth||g.width||k,j=c.options.maxHeight||g.height||j),(g.width>k||g.height>j)&&(g.width/k>g.height/j?(i=k,h=parseInt(g.height/(g.width/i),10),f.width(i),f.height(h)):(h=j,i=parseInt(g.width/(g.height/h),10),f.width(i),f.height(h)))),c.sizeContainer(f.width(),f.height())},g.src=this.album[b].link,this.currentImageIndex=b},b.prototype.sizeOverlay=function(){var b=this;setTimeout(function(){b.$overlay.width(a(document).width()).height(a(document).height())},0)},b.prototype.sizeContainer=function(a,b){function c(){d.$lightbox.find(".lb-dataContainer").width(g),d.$lightbox.find(".lb-prevLink").height(h),d.$lightbox.find(".lb-nextLink").height(h),d.$overlay.trigger("focus"),d.showImage()}var d=this,e=this.$outerContainer.outerWidth(),f=this.$outerContainer.outerHeight(),g=a+this.containerPadding.left+this.containerPadding.right+this.imageBorderWidth.left+this.imageBorderWidth.right,h=b+this.containerPadding.top+this.containerPadding.bottom+this.imageBorderWidth.top+this.imageBorderWidth.bottom;e!==g||f!==h?this.$outerContainer.animate({width:g,height:h},this.options.resizeDuration,"swing",function(){c()}):c()},b.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn(this.options.imageFadeDuration),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},b.prototype.updateNav=function(){var a=!1;try{document.createEvent("TouchEvent"),a=!!this.options.alwaysShowNavOnTouchDevices}catch(a){}this.$lightbox.find(".lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(a&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(this.currentImageIndex>0&&(this.$lightbox.find(".lb-prev").show(),a&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),a&&this.$lightbox.find(".lb-next").css("opacity","1"))))},b.prototype.updateDetails=function(){var a=this;if(void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title){var b=this.$lightbox.find(".lb-caption");this.options.sanitizeTitle?b.text(this.album[this.currentImageIndex].title):b.html(this.album[this.currentImageIndex].title),b.fadeIn("fast")}if(this.album.length>1&&this.options.showImageNumberLabel){var c=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(c).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return a.sizeOverlay()})},b.prototype.preloadNeighboringImages=function(){if(this.album.length>this.currentImageIndex+1){(new Image).src=this.album[this.currentImageIndex+1].link}if(this.currentImageIndex>0){(new Image).src=this.album[this.currentImageIndex-1].link}},b.prototype.enableKeyboardNav=function(){this.$lightbox.on("keyup.keyboard",a.proxy(this.keyboardAction,this)),this.$overlay.on("keyup.keyboard",a.proxy(this.keyboardAction,this))},b.prototype.disableKeyboardNav=function(){this.$lightbox.off(".keyboard"),this.$overlay.off(".keyboard")},b.prototype.keyboardAction=function(a){var b=a.keyCode;27===b?(a.stopPropagation(),this.end()):37===b?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1):39===b&&(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0))},b.prototype.end=function(){this.disableKeyboardNav(),a(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),this.options.disableScrolling&&a("body").removeClass("lb-disable-scrolling")},new b});
212;
213var APP_XMENU=APP_XMENU||{};(function(a){APP_XMENU={timeOutHoverMenu:[],timeOutHoverOutMenu:[],initialize:function(){APP_XMENU.event()},event:function(){APP_XMENU.window_resize();APP_XMENU.menu_event();APP_XMENU.window_scroll();APP_XMENU.tabs_position(5);APP_XMENU.windowLoad()},windowLoad:function(){a(window).load(function(){a("header.main-header .x-nav-menu").each(function(){var b=this;a("header.main-header .x-nav-menu > li").each(function(){APP_XMENU.process_menu_position(this);APP_XMENU.process_tab_padding(this,b)})})})},window_scroll:function(){a(window).on("scroll",function(b){if(APP_XMENU.is_desktop()){a("header.main-header .x-nav-menu > li").each(function(){APP_XMENU.process_menu_position(this)})}})},window_resize:function(){a(window).resize(function(){if(APP_XMENU.is_desktop()){APP_XMENU.tabs_position(5);a("header.main-header .x-nav-menu").each(function(){var b=this;a("header.main-header .x-nav-menu > li").each(function(){APP_XMENU.process_menu_position(this);APP_XMENU.process_tab_padding(this,b)})})}})},tabs_position:function(b){var c=a("body").hasClass("site-rtl");a("header.main-header ul.x-nav-menu").each(function(){if(a(this).hasClass("x-nav-vmenu")){return}a(".x-sub-menu-tab",this).each(function(){var e=a(this);var d=a(this).parent().outerWidth();if(a("> li.x-menu-active",this).length==0){a("> li:first-child",this).addClass("x-menu-active")}a("> li",this).each(function(){a("> ul",this).css(c?"right":"left",d+"px")});a("> li.x-menu-active",this).each(function(){APP_XMENU.tab_position(a(this))})});if(b>0){setTimeout(function(){APP_XMENU.tabs_position(b-1)},500)}})},tab_position:function(b){var c=0;if(a("> ul",b).length!=0){c=a("> ul",b).outerHeight()}b.parent().css("min-height",c+"px")},menu_event:function(){a("header.main-header .x-sub-menu-tab > li:first-child").addClass("x-menu-active");APP_XMENU.process_menu_mobile_click();a("header.main-header .x-nav-menu").each(function(){if(a(this).hasClass("x-nav-vmenu")){return}var b=APP_XMENU.get_transition_name(this);APP_XMENU.transition_menu(this,b,this);a(".x-sub-menu-tab > li",this).hover(function(){if(!APP_XMENU.is_desktop()){return}a("> li",a(this).parent()).removeClass("x-menu-active");a(this).addClass("x-menu-active");APP_XMENU.tab_position(a(this))},function(){})})},process_menu_mobile_click:function(){a(".header-mobile-nav li.x-menu-item, header.header-left li.x-menu-item").click(function(b){if(a("> ul.x-sub-menu",this).length==0){return}if(a(b.target).closest(a("> ul.x-sub-menu",this)).length>0){return}b.preventDefault();a(this).toggleClass("x-sub-menu-open");a("> ul.x-sub-menu",this).slideToggle()})}
213,process_tab_padding:function(e,c){if(!APP_XMENU.is_desktop()){return}if(a(c).hasClass("x-nav-vmenu")){return}var d=a(e);if(d.hasClass("x-sub-menu-multi-column")){var b=a("> ul.x-sub-menu > li.x-tabs",d);if(b.length>0){a(" > ul.x-sub-menu",d).addClass("no-padding")}}a("> ul.x-sub-menu > li").each(function(){APP_XMENU.process_tab_padding(this,c)})},transition_menu:function(e,b,c){var d=a(e);if(a(c).hasClass("x-nav-vmenu")){return}a("> li.x-menu-item",d).each(function(){var h=APP_XMENU.get_transition_name(a("> ul",this));if(h==""){h=b}var f=300;if(h==""){f=200}var g=0;a(this).hover(function(){if(!APP_XMENU.is_desktop()){return}var i=a(this);g=i.prop("id");if(a(".main-menu").hasClass("x-nav-vmenu")){if(i.offset().top-jQuery(window).scrollTop()-a(window).outerHeight()/2>0){a("> ul",i).removeClass("x-drop-from-bottom").addClass("x-drop-from-bottom")}}if(typeof(APP_XMENU.timeOutHoverMenu[i.prop("id")])!="undefined"){clearTimeout(APP_XMENU.timeOutHoverMenu[i.prop("id")])}APP_XMENU.timeOutHoverMenu[i.prop("id")]=setTimeout(function(){i.addClass("x-active");if(h!=""){a("> ul",i).addClass(h)}},f)},function(){if(!APP_XMENU.is_desktop()){return}var i=a(this);g=0;if(a(".main-menu").hasClass("x-nav-vmenu")){if(i.offset().top-jQuery(window).scrollTop()-a(window).outerHeight()/2>0){a("> ul",i).removeClass("x-drop-from-bottom")}}clearTimeout(APP_XMENU.timeOutHoverMenu[i.prop("id")]);APP_XMENU.timeOutHoverOutMenu[i.prop("id")]=setTimeout(function(){if(g==i.prop("id")){return}if(i.hasClass("x-active")){a("> ul",i).addClass(h+"-out");setTimeout(function(){if(h!=""){a("> ul",i).removeClass(h);a("> ul",i).removeClass(h+"-out")}a(i).removeClass("x-active")},f)}},200)});if(!a(this).hasClass("x-sub-menu-multi-column")){APP_XMENU.transition_menu(a("> ul.x-sub-menu",this),b,c)}})},get_transition_name:function(c){var b="";if(a(c).hasClass("x-animate-slide-up")){b="x-slide-up"}else{if(a(c).hasClass("x-animate-slide-down")){b="x-slide-down"}else{if(a(c).hasClass("x-animate-slide-left")){b="x-slide-left"}else{if(a(c).hasClass("x-animate-slide-right")){b="x-slide-right"}else{if(a(c).hasClass("x-animate-fade-in")){b="x-fade-in"}else{if(a(c).hasClass("x-animate-sign-flip")){b="x-sign-flip"}}}}}}return b},process_menu_position:function(e){if(a(".main-menu").hasClass("x-nav-vmenu")){return}var d=a(e);var b=a(".x-nav-menu");var c=a(e).parent();if(d.hasClass("x-pos-left-menu-parent")){APP_XMENU.process_position_left_menu_parent(e)}else{if(d.hasClass("x-pos-right-menu-parent")){APP_XMENU.process_position_right_menu_parent(e)}else{if(d.hasClass("x-pos-center-menu-parent")){APP_XMENU.process_position_center_menu_parent(e)}else{if(d.hasClass("x-pos-left-menu-bar")){APP_XMENU.process_position_left_menu_bar(e)}else{if(d.hasClass("x-pos-right-menu-bar")){APP_XMENU.process_position_right_menu_bar(e)}else{if(d.hasClass("x-pos-full")){}else{APP_XMENU.process_position_right_menu_parent(e)}}}}}}},get_margin_left:function(d){var b=a(d).css("margin-left");try{b=parseInt(b.replace("px",""),10)}catch(c){b=0}return b},process_position_left_menu_parent:function(g){var f=a(g);var b=a("header.main-header .x-nav-menu");while((b.prop("tagName")!="BODY")&&(b.css("position")=="static")){b=b.parent()}var e=a("> ul.x-sub-menu",f);if(e.length==0){return}if(b.outerWidth()<=e.outerWidth()){e.css("left","15px");e.css("right","15px")}else{var c=APP_XMENU.get_margin_left(g);var d=b.outerWidth()-a(g).outerWidth()-a(g).position().left-c;if(a(g).outerWidth()+a(g).position().left+c<e.outerWidth()){e.css("left","15px");e.css("right","auto")}else{e.css("left","auto");e.css("right",d+"px")}}},process_position_right_menu_parent:function(f){var e=a(f);var b=a("header.main-header .x-nav-menu");while((b.prop("tagName")!="BODY")&&(b.css("position")=="static")){b=b.parent()}var d=a("> ul.x-sub-menu",e);if(d.length==0){return}var c=APP_XMENU.get_margin_left(f);if(b.outerWidth()<=d.outerWidth()){d.css("left","15px");d.css("right","15px")}else{if(b.outerWidth()-a(f).position().left-c<d.outerWidth()){d.css("left","auto");d.css("right","15px")}else{d.css("left",(a(f).position().left+c)+"px");d.css("right","auto")}}},process_position_center_menu_parent:function(g){var f=a(g);var b=a("header.main-header .x-nav-menu");while((b.prop("tagName")!="BODY")&&(b.css("position")=="static")){b=b.parent()}var e=a("> ul.x-sub-menu",f);if(e.length==0){return}if(b.outerWidth()<=e.outerWidth()){e.css("left","15px");e.css("right","15px")}else{var c=APP_XMENU.get_margin_left(g);var d=(e.outerWidth()-f.outerWidth()-c)/2;if(d>a(g).position().left){e.css("left","15px");e.css("right","auto")}else{if(d>b.outerWidth()-a(g).outerWidth()-a(g).position().left){e.css("left","auto");e.css("right","15px")}else{e.css("left",(a(g).position().left-d)+"px");e.css("right","auto")}}}},process_position_left_menu_bar:function(d){var c=a(d);var b=a("> ul.x-sub-menu",c);b.css("left","15px");b.css("right","auto")},process_position_right_menu_bar:function(d){var c=a(d);var b=a("> ul.x-sub-menu",c);b.css("left","auto");b.css("right","15px")},is_desktop:function(){var c=991;var b=a("body");if((typeof(b.attr("data-breakpoint"))!="undefined")&&!isNaN(parseInt(b.attr("data-breakpoint"),10))){c=parseInt(b.attr("data-breakpoint"),10)}return window.matchMedia("(min-width: "+(c+1)+"px)").matches}};a(document).ready(function(){APP_XMENU.initialize()})})(jQuery);

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.