From 3964c5d44e2f1db61bfe4ad232c77604811c981d Mon Sep 17 00:00:00 2001 From: Jo David Date: Sat, 16 Apr 2022 07:39:42 +0200 Subject: [PATCH] remove google analytics (#8877) * remove google analytics * remove bom --- docs/_includes/_footer.html | 27 ++++++------------------- docs/index.html | 6 +++--- docs/js/footer.dev.js | 24 ---------------------- docs/js/footer.min.js | 2 +- docs/js/footer.min.js.map | 2 +- docs/package-lock.json | 6 ++++++ docs/src/Gruntfile.js | 1 - docs/src/js/components/analytics.js | 20 ------------------ docs/src/js/components/contentSearch.js | 3 --- 9 files changed, 17 insertions(+), 74 deletions(-) create mode 100644 docs/package-lock.json delete mode 100644 docs/src/js/components/analytics.js diff --git a/docs/_includes/_footer.html b/docs/_includes/_footer.html index b269a8ea57..2797f35cd9 100644 --- a/docs/_includes/_footer.html +++ b/docs/_includes/_footer.html @@ -3,24 +3,24 @@

ACE3

ACE3 is a joint effort by the teams behind ACE2, AGM and CSE to improve the realism and authenticity of Arma 3.

-

If you want to contribute something to ACE3, simply fork the GitHub repository and submit your pull requests for review.

+

If you want to contribute something to ACE3, simply fork the GitHub repository and submit your pull requests for review.

Issues / Feedback

-

Issues, feature requests and feedback are welcome at the ACE3 GitHub issue tracker.

+

Issues, feature requests and feedback are welcome at the ACE3 GitHub issue tracker.

Before reporting an issue, please read the wiki entry "How to report an issue".

-

We have created a single issue for feature requests.

+

We have created a single issue for feature requests.

Social Media

@@ -28,21 +28,6 @@
- - diff --git a/docs/index.html b/docs/index.html index d372f5f31f..2e5e9bd305 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,7 +43,7 @@ sitemap:

{{ page.browserTitle }}

- Get ACE3 v{{site.ace.version.major}}.{{site.ace.version.minor}}.{{site.ace.version.patch}}
+ Get ACE3 v{{site.ace.version.major}}.{{site.ace.version.minor}}.{{site.ace.version.patch}}
Installation Guide
@@ -60,11 +60,11 @@ sitemap:
Everything you need to know about using the mod or developing for it.

-

ACE3 on Github
Latest code, issue reports, feature requests +

ACE3 on Github
Latest code, issue reports, feature requests and more.

-

ACE3 Public Chat
+

ACE3 Public Chat
Join our public chat! We're glad to answer questions concerning ACE3, development or Arma things.
If you made something with this mod (screen shots, artwork, videos) we'd love to see it.

diff --git a/docs/js/footer.dev.js b/docs/js/footer.dev.js index 1a627a5244..108c9da9d3 100644 --- a/docs/js/footer.dev.js +++ b/docs/js/footer.dev.js @@ -6353,27 +6353,6 @@ utils.countOccurrences = function (text, searchTerm) { return (n); }; -window.app = window.app || {}; -window.app.analytics = (function () { - - - function sendEvent(category, action, label, value) { - - if (!window.ga) { - return; - } - - try { - ga("send", "event", category, action, label, value); - } catch(ex) {} - } - - - return { - sendEvent: sendEvent - }; -})(); - window.app = window.app || {}; window.app.storage = (function () { @@ -6638,14 +6617,12 @@ window.app.contentSearch = (function ($) { function handleLiveSearchResult(response) { var results = findSearchTermInArray(response, _maxEntriesLive); - app.analytics.sendEvent("LiveSearch", "Search", _searchTerm); showLiveResultList(results); } function openSearchPage(e) { e.preventDefault(); var searchTerm = $liveSearchField.val().trim(); - app.analytics.sendEvent("LiveSearch", "OpenSearchPage", searchTerm); document.location.href = String.format("search.html?{0}={1}", searchTermParamName, encodeURIComponent(searchTerm)); return false; } @@ -6713,7 +6690,6 @@ window.app.contentSearch = (function ($) { function handleContentSearchResult(response) { var results = findSearchTermInArray(response, _maxEntriesContent); - app.analytics.sendEvent("ContentSearch", "Search", _searchTerm); showContentResultList(results); } diff --git a/docs/js/footer.min.js b/docs/js/footer.min.js index 4522b3ee91..26da8d4c0e 100644 --- a/docs/js/footer.min.js +++ b/docs/js/footer.min.js @@ -1,2 +1,2 @@ -window.Modernizr=function(e,i){function t(e){a.cssText=e}var n,o,r={},s=e.documentElement,a=e.createElement("modernizr").style,l={},c=[],d=c.slice,u={}.hasOwnProperty,p=void 0!==u&&void 0!==u.call?function(e,t){return u.call(e,t)}:function(e,t){return t in e&&void 0===e.constructor.prototype[t]};for(o in Function.prototype.bind||(Function.prototype.bind=function(n){var i=this;if("function"!=typeof i)throw new TypeError;var o=d.call(arguments,1),r=function(){if(this instanceof r){var e=function(){};e.prototype=i.prototype;var t=new e,e=i.apply(t,o.concat(d.call(arguments)));return Object(e)===e?e:t}return i.apply(n,o.concat(d.call(arguments)))};return r}),l)p(l,o)&&(n=o.toLowerCase(),r[n]=l[o](),c.push((r[n]?"":"no-")+n));return r.addTest=function(e,t){if("object"==typeof e)for(var n in e)p(e,n)&&r.addTest(n,e[n]);else{if(e=e.toLowerCase(),r[e]!==i)return r;t="function"==typeof t?t():t,s.className+=" "+(t?"":"no-")+e,r[e]=t}return r},t(""),0,function(e,a){function l(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function c(e){var t=f[e[r]];return t||(t={},s++,e[r]=s,f[s]=t),t}function d(e,t,n){return t=t||a,p?t.createElement(e):!(t=(n=n||c(t)).cache[e]?n.cache[e].cloneNode():o.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||i.test(e)||t.tagUrn?t:n.frag.appendChild(t)}function t(e){var t,n,i,o,r,s=c(e=e||a);return!h.shivCSS||u||s.hasCSS||(s.hasCSS=(o="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",r=(i=e).createElement("p"),i=i.getElementsByTagName("head")[0]||i.documentElement,r.innerHTML="x",!!i.insertBefore(r.lastChild,i.firstChild))),p||(t=e,(n=s).cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return h.shivMethods?d(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(h,n.frag)),e}var u,p,n=e.html5||{},i=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?: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,r="_html5shiv",s=0,f={};!function(){try{var e=a.createElement("a");e.innerHTML="",u="hidden"in e,p=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){p=u=!0}}();var h={elements:n.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:"3.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:p,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:t,createElement:d,createDocumentFragment:function(e,t){if(e=e||a,p)return e.createDocumentFragment();for(var n=(t=t||c(e)).frag.cloneNode(),i=0,o=l(),r=o.length;i img, img[srcset][sizes]"),t=0;te._pfLastSize)&&(e._pfLastSize=e.offsetWidth,n=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=n}))}(e[t])},i=e.matchMedia&&matchMedia("(orientation: landscape)"),o.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s))}(window),function(e,r,c){"use strict";var o,d,s;r.createElement("picture");function t(){}function n(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)}var w={},a=!1,i=r.createElement("img"),u=i.getAttribute,p=i.setAttribute,f=i.removeAttribute,l=r.documentElement,h={},x={algorithm:""},g="data-pfsrc",m=g+"set",v=navigator.userAgent,k=/rident/.test(v)||/ecko/.test(v)&&v.match(/rv\:(\d+)/)&&35=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(e,t){var n;if(!(e in $))if($[e]=!1,t&&(n=e.match(I)))$[e]=n[1]*j[n[2]];else try{$[e]=new Function("e",R(e))(j)}catch(e){}return $[e]}),ie=function(e){if(a){var t,n,i,o=e||{};if(o.elements&&1===o.elements.nodeType&&("IMG"===o.elements.nodeName.toUpperCase()?o.elements=[o.elements]:(o.context=o.elements,o.elements=null)),i=(t=o.elements||w.qsa(o.context||r,o.reevaluate||o.reselect?w.sel:w.selShort)).length){for(w.setupRun(o),L=!0,n=0;nimg,img[srcset]",w.sel=w.selShort,w.cfg=x,w.DPR=_||1,w.u=j,w.types=h,w.setSize=t,w.makeUrl=v(function(e){return D.href=e,D.href}),w.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},w.matchesMedia=function(){return e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?w.matchesMedia=function(e){return!e||matchMedia(e).matches}:w.matchesMedia=w.mMQ,w.matchesMedia.apply(this,arguments)},w.mMQ=function(e){return!e||ne(e)},w.calcLength=function(e){e=ne(e,!0)||!1;return e=e<0?!1:e},w.supportsType=function(e){return!e||h[e]},w.parseSize=v(function(e){e=(e||"").match(b);return{media:e&&e[1],length:e&&e[2]}}),w.parseSet=function(e){return e.cands||(e.cands=se(e.srcset,e)),e.cands},w.getEmValue=function(){var e,t,n,i;return!o&&(e=r.body)&&(t=r.createElement("div"),n=l.style.cssText,i=e.style.cssText,t.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",l.style.cssText=C,e.style.cssText=C,e.appendChild(t),o=t.offsetWidth,e.removeChild(t),o=parseFloat(o,10),l.style.cssText=n,e.style.cssText=i),o||16},w.calcListLength=function(e){var t;return e in E&&!x.uT||(t=w.calcLength(ae(e)),E[e]=t||j.width),E[e]},w.setRes=function(e){if(e)for(var t,n=0,i=(t=w.parseSet(e)).length;nv)||(b.cached=!0,b.res>=v&&(s=b))),!s)for(e.sort(oe),s=e[(r=e.length)-1],i=0;i=v){s=e[o=i-1]&&(a||y!==w.makeUrl(n.url))&&(d=e[o].res,u=n.res,p=v,f=e[o].cached,g=h=void 0,d="saveData"===x.algorithm?2.7>10|55296,1023&i|56320)}function t(){k()}var e,h,w,r,i,g,p,m,x,l,c,k,S,o,T,v,s,a,y,C="sizzle"+ +new Date,b=n.document,A=0,d=0,f=oe(),$=oe(),E=oe(),_=function(e,t){return e===t&&(c=!0),0},j={}.hasOwnProperty,D=[],L=D.pop,N=D.push,H=D.push,q=D.slice,O=function(e,t){for(var n=0,i=e.length;n+~]|"+M+")"+M+"*"),X=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),Q=new RegExp(I),Y=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig");try{H.apply(D=q.call(b.childNodes),b.childNodes),D[b.childNodes.length].nodeType}catch(e){H={apply:D.length?function(e,t){N.apply(e,q.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,n,i){var o,r,s,a,l,c,d,u,p=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:b)!==S&&k(t),t=t||S,T)){if(11!==f&&(c=Z.exec(e)))if(o=c[1]){if(9===f){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(p&&(s=p.getElementById(o))&&y(t,s)&&s.id===o)return n.push(s),n}else{if(c[2])return H.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(o)),n}if(h.qsa&&!E[e+" "]&&(!v||!v.test(e))){if(1!==f)p=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=C),r=(d=g(e)).length,l=Y.test(a)?"#"+a:"[id='"+a+"']";r--;)d[r]=l+" "+pe(d[r]);u=d.join(","),p=ee.test(e)&&de(t.parentNode)||t}if(u)try{return H.apply(n,p.querySelectorAll(u)),n}catch(e){}finally{a===C&&t.removeAttribute("id")}}}return m(e.replace(W,"$1"),t,n,i)}function oe(){var n=[];function i(e,t){return n.push(e+" ")>w.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function re(e){return e[C]=!0,e}function se(e){var t=S.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ae(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(s){return re(function(r){return r=+r,re(function(e,t){for(var n,i=s([],e.length,r),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ie.support={},i=ie.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},k=ie.setDocument=function(e){var e=e?e.ownerDocument||e:b;return e!==S&&9===e.nodeType&&e.documentElement&&(o=(S=e).documentElement,T=!i(S),(e=S.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",t,!1):e.attachEvent&&e.attachEvent("onunload",t)),h.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=se(function(e){return e.appendChild(S.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(S.getElementsByClassName),h.getById=se(function(e){return o.appendChild(e).id=C,!S.getElementsByName||!S.getElementsByName(C).length}),h.getById?(w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){e=t.getElementById(e);return e?[e]:[]}},w.filter.ID=function(e){var t=e.replace(ne,u);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(ne,u);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&T?t.getElementsByClassName(e):void 0},s=[],v=[],(h.qsa=K.test(S.querySelectorAll))&&(se(function(e){o.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||v.push(".#.+[+~]")}),se(function(e){var t=S.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(h.matchesSelector=K.test(a=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&se(function(e){h.disconnectedMatch=a.call(e,"div"),a.call(e,"[s!='']:x"),s.push("!=",I)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),e=K.test(o.compareDocumentPosition),y=e||K.test(o.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=e?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===S||e.ownerDocument===b&&y(b,e)?-1:t===S||t.ownerDocument===b&&y(b,t)?1:l?O(l,e)-O(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,s=[e],a=[t];if(!o||!r)return e===S?-1:t===S?1:o?-1:r?1:l?O(l,e)-O(l,t):0;if(o===r)return le(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?le(s[i],a[i]):s[i]===b?-1:a[i]===b?1:0}),S},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==S&&k(e),t=t.replace(X,"='$1']"),h.matchesSelector&&T&&!E[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=a.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,u),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,u),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Q.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=f[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&f(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=ie.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,n,i){if(S.isFunction(n))return S.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return S.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(w.test(n))return S.filter(n,e,i);n=S.filter(n,e)}return S.grep(e,function(e){return-1)[^>]*|#([\w-]*))$/;(S.fn.init=function(e,t,n){if(!e)return this;if(n=n||A,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):S.isFunction(e)?void 0!==n.ready?n.ready(e):e(S):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),S.makeArray(e,this));if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:C.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),b.test(i[1])&&S.isPlainObject(t))for(var i in t)S.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=k.getElementById(i[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=k,this.selector=e,this}).prototype=S.fn;var A=S(k),$=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function _(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function V(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&S.nodeName(e,t)?S.merge([e],n):n}function J(e,t){for(var n=0,i=e.length;nx",m.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;var ee=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;function ie(){return!0}function oe(){return!1}function re(){try{return k.activeElement}catch(e){}}function se(e,t,n,i,o,r){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)se(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=oe;else if(!o)return e;return 1===r&&(s=o,(o=function(e){return S().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),e.each(function(){S.event.add(this,t,o,i,n)})}S.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,d,u,p,f,h=O.get(t);if(h)for(n.handler&&(n=(r=n).handler,o=r.selector),n.guid||(n.guid=S.guid++),(a=h.events)||(a=h.events={}),(s=h.handle)||(s=h.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;l--;)u=f=(c=ne.exec(e[l])||[])[1],p=(c[2]||"").split(".").sort(),u&&(d=S.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=S.event.special[u]||{},c=S.extend({type:u,origType:f,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:p.join(".")},r),(f=a[u])||((f=a[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(u,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),S.event.global[u]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,c,d,u,p,f,h,g,m=O.hasData(e)&&O.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(D)||[""]).length;c--;)if(f=g=(a=ne.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(u=S.event.special[f]||{},p=l[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)d=p[r],!o&&g!==d.origType||n&&n.guid!==d.guid||a&&!a.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(p.splice(r,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));s&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,h,m.handle)||S.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)S.event.remove(e,f+t[c],n,i,!0);S.isEmptyObject(l)&&O.remove(e,"handle events")}},dispatch:function(e){e=S.event.fix(e);var t,n,i,o,r,s=d.call(arguments),a=(O.get(this,"events")||{})[e.type]||[],l=S.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(r=S.event.handlers.call(this,e,a),t=0;(i=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(o=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n]*)\/>/gi,le=/\s*$/g;function pe(e,t){return S.nodeName(e,"table")&&S.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=de.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ge(e,t){var n,i,o,r,s,a;if(1===t.nodeType){if(O.hasData(e)&&(r=O.access(e),s=O.set(t,r),a=r.events))for(o in delete s.handle,s.events={},a)for(n=0,i=a[o].length;n")},clone:function(e,t,n){var i,o,r,s,a,l,c,d=e.cloneNode(!0),u=S.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(s=V(d),i=0,o=(r=V(e)).length;i")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=we(e,t),ye.detach()),be[e]=n),n}function ke(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?x:t).getComputedStyle(e)}function Se(e,t,n,i){var o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,i||[]),t)e.style[o]=r[o];return i}var Te,Ce,Ae,$e,Ee,_e,je=/^margin/,De=new RegExp("^("+R+")(?!px)[a-z%]+$","i"),Le=k.documentElement;function Ne(){_e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",_e.innerHTML="",Le.appendChild(Ee);var e=x.getComputedStyle(_e);Te="1%"!==e.top,$e="2px"===e.marginLeft,Ce="4px"===e.width,_e.style.marginRight="50%",Ae="4px"===e.marginRight,Le.removeChild(Ee)}function He(e,t,n){var i,o,r=e.style;return""!==(o=(n=n||ke(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||S.contains(e.ownerDocument,e)||(o=S.style(e,t)),n&&!m.pixelMarginRight()&&De.test(o)&&je.test(t)&&(i=r.width,e=r.minWidth,t=r.maxWidth,r.minWidth=r.maxWidth=r.width=o,o=n.width,r.width=i,r.minWidth=e,r.maxWidth=t),void 0!==o?o+"":o}function qe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}Ee=k.createElement("div"),(_e=k.createElement("div")).style&&(_e.style.backgroundClip="content-box",_e.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===_e.style.backgroundClip,Ee.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",Ee.appendChild(_e),S.extend(m,{pixelPosition:function(){return Ne(),Te},boxSizingReliable:function(){return null==Ce&&Ne(),Ce},pixelMarginRight:function(){return null==Ce&&Ne(),Ae},reliableMarginLeft:function(){return null==Ce&&Ne(),$e},reliableMarginRight:function(){var e,t=_e.appendChild(k.createElement("div"));return t.style.cssText=_e.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",_e.style.width="1px",Le.appendChild(Ee),e=!parseFloat(x.getComputedStyle(t).marginRight),Le.removeChild(Ee),_e.removeChild(t),e}}));var Oe=/^(none|table(?!-c[ea]).+)/,Pe={position:"absolute",visibility:"hidden",display:"block"},Me={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],ze=k.createElement("div").style;function Ie(e){if(e in ze)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in ze)return e}function Re(e,t,n){var i=W.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function We(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=S.css(e,n+B[r],!0,o)),i?("content"===n&&(s-=S.css(e,"padding"+B[r],!0,o)),"margin"!==n&&(s-=S.css(e,"border"+B[r]+"Width",!0,o))):(s+=S.css(e,"padding"+B[r],!0,o),"padding"!==n&&(s+=S.css(e,"border"+B[r]+"Width",!0,o)));return s}function Be(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=ke(e),s="border-box"===S.css(e,"boxSizing",!1,r);if(o<=0||null==o){if(((o=He(e,t,r))<0||null==o)&&(o=e.style[t]),De.test(o))return o;i=s&&(m.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+We(e,t,n||(s?"border":"content"),i,r)+"px"}function Ue(e,t){for(var n,i,o,r=[],s=0,a=e.length;s").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(i[0])},abort:function(){o&&o()}}});var Lt=[],Nt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||S.expando+"_"+ut++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,r,s=!1!==e.jsonp&&(Nt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Nt.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=S.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Nt,"$1"+i):!1!==e.jsonp&&(e.url+=(pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||S.error(i+" was not called"),r[0]},e.dataTypes[0]="json",o=x[i],x[i]=function(){r=arguments},n.always(function(){void 0===o?S(x).removeProp(i):x[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Lt.push(i)),r&&S.isFunction(o)&&o(r[0]),r=o=void 0}),"script"):void 0}),S.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||k;var i=b.exec(e),n=!n&&[];return i?[t.createElement(i[1])]:(i=Z([e],t,n),n&&n.length&&S(n).remove(),S.merge([],i.childNodes))};var Ht=S.fn.load;function qt(e){return S.isWindow(e)?e:9===e.nodeType&&e.defaultView}S.fn.load=function(e,t,n){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);var i,o,r,s=this,a=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.filters.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var i,o,r,s,a=S.css(e,"position"),l=S(e),c={};"static"===a&&(e.style.position="relative"),r=l.offset(),i=S.css(e,"top"),s=S.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(s)||0),null!=(t=S.isFunction(t)?t.call(e,n,S.extend({},r)):t).top&&(c.top=t.top-r.top+o),null!=t.left&&(c.left=t.left-r.left+s),"using"in t?t.using.call(e,c):l.css(c)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n=this[0],i={top:0,left:0},o=n&&n.ownerDocument;return o?(e=o.documentElement,S.contains(e,n)?(i=n.getBoundingClientRect(),o=qt(o),{top:i.top+o.pageYOffset-e.clientTop,left:i.left+o.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===S.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(i=!S.nodeName(e[0],"html")?e.offset():i).top+=S.css(e[0],"borderTopWidth",!0),i.left+=S.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-S.css(n,"marginTop",!0),left:t.left-i.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||Le})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r="pageYOffset"===o;S.fn[t]=function(e){return N(this,function(e,t,n){var i=qt(e);return void 0===n?i?i[o]:e[t]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=qe(m.pixelPosition,function(e,t){return t?(t=He(e,n),De.test(t)?S(e).position()[n]+"px":t):void 0})}),S.each({Height:"height",Width:"width"},function(r,s){S.each({padding:"inner"+r,content:s,"":"outer"+r},function(i,e){S.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return N(this,function(e,t,n){var i;return S.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?S.css(e,t,o):S.style(e,t,n,o)},s,n?e:void 0,n,null)}})}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),S.fn.andSelf=S.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Ot=x.jQuery,Pt=x.$;return S.noConflict=function(e){return x.$===S&&(x.$=Pt),e&&x.jQuery===S&&(x.jQuery=Ot),S},e||(x.jQuery=x.$=S),S}),function(d,l,i,n){"use strict";!function(e){for(var t=e.length,n=d("head");t--;)0===n.has("."+e[t]).length&&n.append('')}(["foundation-mq-small","foundation-mq-small-only","foundation-mq-medium","foundation-mq-medium-only","foundation-mq-large","foundation-mq-large-only","foundation-mq-xlarge","foundation-mq-xlarge-only","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),d(function(){"undefined"!=typeof FastClick&&void 0!==i.body&&FastClick.attach(i.body)});function a(e,t){if("string"!=typeof e)return d(e,t);if(t){var n;if(t.jquery){if(!(n=t[0]))return t}else n=t;return d(n.querySelectorAll(e))}return d(i.querySelectorAll(e))}function t(e){var t=[];return e||t.push("data"),0 #mq-test-1 { width: 42px; }',u.insertBefore(f,p),c=42===h.offsetWidth,u.removeChild(f),{matches:c,media:e}}),function(t){for(var n,o=0,e=["webkit","moz"],i=l.requestAnimationFrame,r=l.cancelAnimationFrame,s=void 0!==t.fx;o").appendTo("head")[0].sheet,global:{namespace:n},init:function(e,t,n,i,o){var o=[e,n,i,o],r=[];if(this.rtl=/rtl/i.test(a("html").attr("dir")),this.scope=e||this.scope,this.set_namespace(),t&&"string"==typeof t&&!/reflow/i.test(t))this.libs.hasOwnProperty(t)&&r.push(this.init_lib(t,o));else for(var s in this.libs)r.push(this.init_lib(s,t));return a(l).load(function(){a(l).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),e},init_lib:function(e,t){return this.libs.hasOwnProperty(e)?(this.patch(this.libs[e]),t&&t.hasOwnProperty(e)?(void 0!==this.libs[e].settings?d.extend(!0,this.libs[e].settings,t[e]):void 0!==this.libs[e].defaults&&d.extend(!0,this.libs[e].defaults,t[e]),this.libs[e].init.apply(this.libs[e],[this.scope,t[e]])):(t=t instanceof Array?t:new Array(t),this.libs[e].init.apply(this.libs[e],t))):function(){}},patch:function(e){e.scope=this.scope,e.namespace=this.global.namespace,e.rtl=this.rtl,e.data_options=this.utils.data_options,e.attr_name=t,e.add_namespace=o,e.bindings=r,e.S=this.utils.S},inherit:function(e,t){for(var n=t.split(" "),i=n.length;i--;)this.utils.hasOwnProperty(n[i])&&(e[n[i]]=this.utils[n[i]])},set_namespace:function(){var e=this.global.namespace===n?d(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=e===n||/false/i.test(e)?"":e},libs:{},utils:{S:a,throttle:function(n,i){var o=null;return function(){var e=this,t=arguments;null==o&&(o=setTimeout(function(){n.apply(e,t),o=null},i))}},debounce:function(i,o,r){var s,a;return function(){var e=this,t=arguments,n=r&&!s;return clearTimeout(s),s=setTimeout(function(){s=null,r||(a=i.apply(e,t))},o),a=n?i.apply(e,t):a}},data_options:function(e,t){t=t||"options";var n,i,o,r,s,a,l={},e=(r=e,0<(s=Foundation.global.namespace).length?r.data(s+"-"+t):r.data(t));if("object"==typeof e)return e;function c(e){return"string"==typeof e?d.trim(e):e}for(n=(o=(e||":").split(";")).length;n--;)i=[(i=o[n].split(":"))[0],i.slice(1).join(":")],/true/i.test(i[1])&&(i[1]=!0),/false/i.test(i[1])&&(i[1]=!1),a=i[1],isNaN(+a)||null===a||""===a||!1===a||!0===a||(-1===i[1].indexOf(".")?i[1]=parseInt(i[1],10):i[1]=parseFloat(i[1])),2===i.length&&0'),Foundation.media_queries[e]=t="string"==typeof(t=d("."+t).css("font-family"))||t instanceof String?t.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,""):t)},add_custom_rule:function(e,t){t===n&&Foundation.stylesheet?Foundation.stylesheet.insertRule(e,Foundation.stylesheet.cssRules.length):Foundation.media_queries[t]!==n&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[t]+"{ "+e+" }")},image_loaded:function(e,t){var n=this,i=e.length;0===i&&t(e),e.each(function(){s(n.S(this),function(){0===--i&&t(e)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)},match:function(e){return l.matchMedia(e).matches},is_small_up:function(){return this.match(Foundation.media_queries.small)},is_medium_up:function(){return this.match(Foundation.media_queries.medium)},is_large_up:function(){return this.match(Foundation.media_queries.large)},is_xlarge_up:function(){return this.match(Foundation.media_queries.xlarge)},is_xxlarge_up:function(){return this.match(Foundation.media_queries.xxlarge)},is_small_only:function(){return!(this.is_medium_up()||this.is_large_up()||this.is_xlarge_up()||this.is_xxlarge_up())},is_medium_only:function(){return this.is_medium_up()&&!this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_large_only:function(){return this.is_medium_up()&&this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xxlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&this.is_xxlarge_up()}}},d.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(e)),this})}}(jQuery,window,window.document),function(s,a,l){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.5.1",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(e,t,n){Foundation.inherit(this,"add_custom_rule register_media throttle");var i=this;i.register_media("topbar","foundation-mq-topbar"),this.bindings(t,n),i.S("["+this.attr_name()+"]",this.scope).each(function(){var e=s(this),t=e.data(i.attr_name(!0)+"-init");i.S("section, .top-bar-section",this);e.data("index",0);var n=e.parent();n.hasClass("fixed")||i.is_sticky(e,n,t)?(i.settings.sticky_class=t.sticky_class,(i.settings.sticky_topbar=e).data("height",n.outerHeight()),e.data("stickyoffset",n.offset().top)):e.data("height",e.outerHeight()),t.assembled||i.assemble(e),t.is_hover?i.S(".has-dropdown",e).addClass("not-click"):i.S(".has-dropdown",e).removeClass("not-click"),i.add_custom_rule(".f-topbar-fixed { padding-top: "+e.data("height")+"px }"),n.hasClass("fixed")&&i.S("body").addClass("f-topbar-fixed")})},is_sticky:function(e,t,n){var i=t.hasClass(n.sticky_class),o=matchMedia(Foundation.media_queries.small).matches,r=matchMedia(Foundation.media_queries.medium).matches,t=matchMedia(Foundation.media_queries.large).matches;return!(!i||"all"!==n.sticky_on)||(!(!(i&&this.small()&&-1!==n.sticky_on.indexOf("small")&&o)||r||t)||(!(!(i&&this.medium()&&-1!==n.sticky_on.indexOf("medium")&&o&&r)||t)||(!!(i&&this.large()&&-1!==n.sticky_on.indexOf("large")&&o&&r&&t)||!(!i||!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)))))},toggle:function(e){var t=this,n=e?t.S(e).closest("["+this.attr_name()+"]"):t.S("["+this.attr_name()+"]"),i=n.data(this.attr_name(!0)+"-init"),e=t.S("section, .top-bar-section",n);t.breakpoint()&&(t.rtl?(e.css({right:"0%"}),s(">.name",e).css({right:"100%"})):(e.css({left:"0%"}),s(">.name",e).css({left:"100%"})),t.S("li.moved",e).removeClass("moved"),n.data("index",0),n.toggleClass("expanded").css("height","")),i.scrolltop?n.hasClass("expanded")?n.parent().hasClass("fixed")&&(i.scrolltop?(n.parent().removeClass("fixed"),n.addClass("fixed"),t.S("body").removeClass("f-topbar-fixed"),a.scrollTo(0,0)):n.parent().removeClass("expanded")):n.hasClass("fixed")&&(n.parent().addClass("fixed"),n.removeClass("fixed"),t.S("body").addClass("f-topbar-fixed")):(t.is_sticky(n,n.parent(),i)&&n.parent().addClass("fixed"),n.parent().hasClass("fixed")&&(n.hasClass("expanded")?(n.addClass("fixed"),n.parent().addClass("expanded"),t.S("body").addClass("f-topbar-fixed")):(n.removeClass("fixed"),n.parent().removeClass("expanded"),t.update_sticky_positioning())))},timer:null,events:function(e){var o=this,r=this.S;r(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(e){e.preventDefault(),o.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(e){var t=s(this).closest("li");!o.breakpoint()||t.hasClass("back")||t.hasClass("has-dropdown")||o.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(e){var t=r(this),n=r(e.target),i=t.closest("["+o.attr_name()+"]").data(o.attr_name(!0)+"-init");n.data("revealId")?o.toggle():o.breakpoint()||i.is_hover&&!Modernizr.touch||(e.stopImmediatePropagation(),t.hasClass("hover")?(t.removeClass("hover").find("li").removeClass("hover"),t.parents("li.hover").removeClass("hover")):(t.addClass("hover"),s(t).siblings().removeClass("hover"),"A"===n[0].nodeName&&n.parent().hasClass("has-dropdown")&&e.preventDefault()))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(e){var t,n,i;o.breakpoint()&&(e.preventDefault(),i=(n=(t=r(this)).closest("["+o.attr_name()+"]")).find("section, .top-bar-section"),t.next(".dropdown").outerHeight(),e=t.closest("li"),n.data("index",n.data("index")+1),e.addClass("moved"),o.rtl?(i.css({right:-100*n.data("index")+"%"}),i.find(">.name").css({right:100*n.data("index")+"%"})):(i.css({left:-100*n.data("index")+"%"}),i.find(">.name").css({left:100*n.data("index")+"%"})),n.css("height",t.siblings("ul").outerHeight(!0)+n.data("height")))}),r(a).off(".topbar").on("resize.fndtn.topbar",o.throttle(function(){o.resize.call(o)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){r(this).trigger("resize.fndtn.topbar")}),r("body").off(".topbar").on("click.fndtn.topbar",function(e){0.name").css({right:100*n.data("index")+"%"})):(e.css({left:-100*n.data("index")+"%"}),e.find(">.name").css({left:100*n.data("index")+"%"})),0===n.data("index")?n.css("height",""):n.css("height",t.outerHeight(!0)+n.data("height")),setTimeout(function(){i.removeClass("moved")},300)}),r(this.scope).find(".dropdown a").focus(function(){s(this).parents(".has-dropdown").addClass("hover")}).blur(function(){s(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var r=this;r.S("["+this.attr_name()+"]").each(function(){var e,t,n=r.S(this),i=n.data(r.attr_name(!0)+"-init"),o=n.parent("."+r.settings.sticky_class);r.breakpoint()||(t=n.hasClass("expanded"),n.css("height","").removeClass("expanded").find("li").removeClass("hover"),t&&r.toggle(n)),r.is_sticky(n,o,i)&&(o.hasClass("fixed")?(o.removeClass("fixed"),e=o.offset().top,r.S(l.body).hasClass("f-topbar-fixed")&&(e-=n.data("height")),n.data("stickyoffset",e),o.addClass("fixed")):(e=o.offset().top,n.data("stickyoffset",e)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(e){var i=this,o=e.data(this.attr_name(!0)+"-init"),t=i.S("section, .top-bar-section",e);t.detach(),i.S(".has-dropdown>a",t).each(function(){var e=i.S(this),t=e.siblings(".dropdown"),n=e.attr("href");t.find(".title.back").length||(n=1==o.mobile_show_parent_link&&n?s('
  • "):s('
  • '),1==o.custom_back_text?s("h5>a",n).html(o.back_text):s("h5>a",n).html("« "+e.html()),t.prepend(n))}),t.appendTo(e),this.sticky(),this.assembled(e)},assembled:function(e){e.data(this.attr_name(!0),s.extend({},e.data(this.attr_name(!0)),{assembled:!0}))},height:function(e){var t=0,n=this;return s("> li",e).each(function(){t+=n.S(this).outerHeight(!0)}),t},sticky:function(){var e=this;this.S(a).on("scroll",function(){e.update_sticky_positioning()})},update_sticky_positioning:function(){var e,t="."+this.settings.sticky_class,n=this.S(a),i=this;i.settings.sticky_topbar&&i.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)&&(e=this.settings.sticky_topbar.data("stickyoffset"),i.S(t).hasClass("expanded")||(n.scrollTop()>e?i.S(t).hasClass("fixed")||(i.S(t).addClass("fixed"),i.S("body").addClass("f-topbar-fixed")):n.scrollTop()<=e&&i.S(t).hasClass("fixed")&&(i.S(t).removeClass("fixed"),i.S("body").removeClass("f-topbar-fixed"))))},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(a).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),function(p,n,f){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.5.1",settings:{templates:{viewing:'×'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(e,t,n){var i=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(t,n),i.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(i.S("li",this.scope)):i.S("["+this.attr_name()+"]",this.scope).each(function(){i.assemble(i.S("li",this))})},events:function(e){var s=this,a=s.S,t=p(".scroll-container");0'),t="",null!=(e=n.detach())[0]&&(t=e[0].outerHTML,e=this.S("#foundationClearingHolder"),t='",n='
    '+n.data(this.attr_name(!0)+"-init").templates.viewing+t+"
    ",t=this.settings.touch_label,Modernizr.touch&&(n=p(n).find(".clearing-touch-label").html(t).end()),e.after(n).remove()))},open:function(e,t,n){var i=this,o=p(f.body),r=n.closest(".clearing-assembled"),s=i.S("div",r).first(),a=i.S(".visible-img",s),l=i.S("img",a).not(e),c=i.S(".clearing-touch-label",s),d=!1;function u(){setTimeout(function(){this.image_loaded(l,function(){1!==l.outerWidth()||d?function(e){p(e).css("visibility","visible"),o.css("overflow","hidden"),r.addClass("clearing-blackout"),s.addClass("clearing-container"),a.show(),this.fix_height(n).caption(i.S(".clearing-caption",a),i.S("img",n)).center_and_label(e,c).shift(t,n,function(){n.closest("li").siblings().removeClass("visible"),n.closest("li").addClass("visible")}),a.trigger("opened.fndtn.clearing")}.call(this,l):u.call(this)}.bind(this))}.bind(this),100)}p("body").on("touchmove",function(e){e.preventDefault()}),l.error(function(){d=!0}),this.locked()||(a.trigger("open.fndtn.clearing"),l.attr("src",this.load(e)).css("visibility","hidden"),u.call(this))},close:function(e,t){e.preventDefault();var n,i=(n=p(t),/blackout/.test(n.selector)?n:n.closest(".clearing-blackout")),n=p(f.body);return t===e.target&&i&&(n.css("overflow",""),e=p("div",i).first(),(n=p(".visible-img",e)).trigger("close.fndtn.clearing"),this.settings.prev_index=0,p("ul["+this.attr_name()+"]",i).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),e.removeClass("clearing-container"),n.hide(),n.trigger("closed.fndtn.clearing")),p("body").off("touchmove"),!1},is_open:function(e){return 0t.outerHeight()&&e.addClass("fix-height")}).closest("ul").width(100*e.length+"%"),this},update_paddles:function(e){var t=(e=e.closest("li")).closest(".carousel").siblings(".visible-img");0this.settings.prev_index?"right":e-1Previous',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('