2015-10-01 16:00:26 +02:00
/ *
* Foundation Responsive Library
* http : //foundation.zurb.com
2018-02-09 03:02:47 +01:00
* Copyright 2015 , ZURB
2015-10-01 16:00:26 +02:00
* Free to use under the MIT license .
* http : //www.opensource.org/licenses/mit-license.php
* /
2018-02-09 03:02:47 +01:00
! function ( t , e , i , s ) { "use strict" ; function n ( t ) { return ( "string" == typeof t || t instanceof String ) && ( t = t . replace ( /^['\\/"]+|(;\s?})+|['\\/"]+$/g , "" ) ) , t } function a ( t ) { this . selector = t , this . query = "" } var o = function ( e ) { var i = t ( "head" ) ; i . prepend ( t . map ( e , function ( t ) { return 0 === i . has ( "." + t ) . length ? '<meta class="' + t + '" />' : void 0 } ) ) } ; o ( [ "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" ] ) , t ( function ( ) { "undefined" != typeof FastClick && "undefined" != typeof i . body && FastClick . attach ( i . body ) } ) ; var r = function ( e , s ) { if ( "string" == typeof e ) { if ( s ) { var n ; if ( s . jquery ) { if ( n = s [ 0 ] , ! n ) return s } else n = s ; return t ( n . querySelectorAll ( e ) ) } return t ( i . querySelectorAll ( e ) ) } return t ( e , s ) } , l = function ( t ) { var e = [ ] ; return t || e . push ( "data" ) , this . namespace . length > 0 && e . push ( this . namespace ) , e . push ( this . name ) , e . join ( "-" ) } , d = function ( t ) { for ( var e = t . split ( "-" ) , i = e . length , s = [ ] ; i -- ; ) 0 !== i ? s . push ( e [ i ] ) : this . namespace . length > 0 ? s . push ( this . namespace , e [ i ] ) : s . push ( e [ i ] ) ; return s . reverse ( ) . join ( "-" ) } , c = function ( e , i ) { var s = this , n = function ( ) { var n = r ( this ) , a = ! n . data ( s . attr _name ( ! 0 ) + "-init" ) ; n . data ( s . attr _name ( ! 0 ) + "-init" , t . extend ( { } , s . settings , i || e , s . data _options ( n ) ) ) , a && s . events ( this ) } ; return r ( this . scope ) . is ( "[" + this . attr _name ( ) + "]" ) ? n . call ( this . scope ) : r ( "[" + this . attr _name ( ) + "]" , this . scope ) . each ( n ) , "string" == typeof e ? this [ e ] . call ( this , i ) : void 0 } , h = function ( t , e ) { function i ( ) { e ( t [ 0 ] ) } function s ( ) { if ( this . one ( "load" , i ) , /MSIE (\d+\.\d+);/ . test ( navigator . userAgent ) ) { var t = this . attr ( "src" ) , e = t . match ( /\?/ ) ? "&" : "?" ; e += "random=" + ( new Date ) . getTime ( ) , this . attr ( "src" , t + e ) } } return t . attr ( "src" ) ? void ( t [ 0 ] . complete || 4 === t [ 0 ] . readyState ? i ( ) : s . call ( t ) ) : void i ( ) } ; /*! 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 */
2015-10-01 16:00:26 +02:00
e . matchMedia || ( e . matchMedia = function ( ) { var t = e . styleMedia || e . media ; if ( ! t ) { var s = i . createElement ( "style" ) , n = i . getElementsByTagName ( "script" ) [ 0 ] , a = null ; s . type = "text/css" , s . id = "matchmediajs-test" , n . parentNode . insertBefore ( s , n ) , a = "getComputedStyle" in e && e . getComputedStyle ( s , null ) || s . currentStyle , t = { matchMedium : function ( t ) { var e = "@media " + t + "{ #matchmediajs-test { width: 1px; } }" ; return s . styleSheet ? s . styleSheet . cssText = e : s . textContent = e , "1px" === a . width } } } return function ( e ) { return { matches : t . matchMedium ( e || "all" ) , media : e || "all" } } } ( ) ) , / *
* jquery . requestAnimationFrame
* https : //github.com/gnarf37/jquery-requestAnimationFrame
* Requires jQuery 1.8 +
*
* Copyright ( c ) 2012 Corey Frang
* Licensed under the MIT license .
* /
2018-02-09 03:02:47 +01:00
function ( t ) { function i ( ) { s && ( o ( i ) , l && t . fx . tick ( ) ) } for ( var s , n = 0 , a = [ "webkit" , "moz" ] , o = e . requestAnimationFrame , r = e . cancelAnimationFrame , l = "undefined" != typeof t . fx ; n < a . length && ! o ; n ++ ) o = e [ a [ n ] + "RequestAnimationFrame" ] , r = r || e [ a [ n ] + "CancelAnimationFrame" ] || e [ a [ n ] + "CancelRequestAnimationFrame" ] ; o ? ( e . requestAnimationFrame = o , e . cancelAnimationFrame = r , l && ( t . fx . timer = function ( e ) { e ( ) && t . timers . push ( e ) && ! s && ( s = ! 0 , i ( ) ) } , t . fx . stop = function ( ) { s = ! 1 } ) ) : ( e . requestAnimationFrame = function ( t ) { var i = ( new Date ) . getTime ( ) , s = Math . max ( 0 , 16 - ( i - n ) ) , a = e . setTimeout ( function ( ) { t ( i + s ) } , s ) ; return n = i + s , a } , e . cancelAnimationFrame = function ( t ) { clearTimeout ( t ) } ) } ( t ) , a . prototype . toString = function ( ) { return this . query || ( this . query = r ( this . selector ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) ) } , e . Foundation = { name : "Foundation" , version : "5.5.3" , media _queries : { small : new a ( ".foundation-mq-small" ) , "small-only" : new a ( ".foundation-mq-small-only" ) , medium : new a ( ".foundation-mq-medium" ) , "medium-only" : new a ( ".foundation-mq-medium-only" ) , large : new a ( ".foundation-mq-large" ) , "large-only" : new a ( ".foundation-mq-large-only" ) , xlarge : new a ( ".foundation-mq-xlarge" ) , "xlarge-only" : new a ( ".foundation-mq-xlarge-only" ) , xxlarge : new a ( ".foundation-mq-xxlarge" ) } , stylesheet : t ( "<style></style>" ) . appendTo ( "head" ) [ 0 ] . sheet , global : { namespace : s } , init : function ( t , i , s , n , a ) { var o = [ t , s , n , a ] , l = [ ] ; if ( this . rtl = /rtl/i . test ( r ( "html" ) . attr ( "dir" ) ) , this . scope = t || this . scope , this . set _namespace ( ) , i && "string" == typeof i && ! /reflow/i . test ( i ) ) this . libs . hasOwnProperty ( i ) && l . push ( this . init _lib ( i , o ) ) ; else for ( var d in this . libs ) l . push ( this . init _lib ( d , i ) ) ; return r ( e ) . load ( function ( ) { r ( e ) . 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" ) } ) , t } , init _lib : function ( e , i ) { return this . libs . hasOwnProperty ( e ) ? ( this . patch ( this . libs [ e ] ) , i && i . hasOwnProperty ( e ) ? ( "undefined" != typeof this . libs [ e ] . settings ? t . extend ( ! 0 , this . libs [ e ] . settings , i [ e ] ) : "undefined" != typeof this . libs [ e ] . defaults && t . extend ( ! 0 , this . libs [ e ] . defaults , i [ e ] ) , this . libs [ e ] . init . apply ( this . libs [ e ] , [ this . scope , i [ e ] ] ) ) : ( i = i instanceof Array ? i : new Array ( i ) , this . libs [ e ] . init . apply ( this . libs [ e ] , i ) ) ) : function ( ) { } } , patch : function ( t ) { t . scope = this . scope , t . namespace = this . global . namespace , t . rtl = this . rtl , t . data _options = this . utils . data _options , t . attr _name = l , t . add _namespace = d , t . bindings = c , t . S = this . utils . S } , inherit : function ( t , e ) { for ( var i = e . split ( " " ) , s = i . length ; s -- ; ) this . utils . hasOwnProperty ( i [ s ] ) && ( t [ i [ s ] ] = this . utils [ i [ s ] ] ) } , set _namespace : function ( ) { var e = this . global . namespace === s ? t ( ".foundation-data-attribute-namespace" ) . css ( "font-family" ) : this . global . namespace ; this . global . namespace = e === s || /false/i . test ( e ) ? "" : e } , libs : { } , utils : { S : r , throttle : function ( t , e ) { var i = null ; return function ( ) { var s = this , n = arguments ; null == i && ( i = setTimeout ( function ( ) { t . apply ( s , n ) , i = null } , e ) ) } } , debounce : function ( t , e , i ) { var s , n ; return function ( ) { var a = this , o = arguments , r = function ( ) { s = null , i || ( n = t . apply ( a , o ) ) } , l = i && ! s ; return clearTimeout ( s ) , s = setTimeout ( r , e ) , l && ( n = t . apply ( a , o ) ) , n } } , data _options : function ( e , i ) { function s ( t ) { return ! isNaN ( t - 0 ) && null !== t && "" !== t && t !== ! 1 && t !== ! 0 } function n ( e ) { return "string" == typeof e ? t . trim ( e ) : e } i = i || "options" ; var a , o , r , l = { } , d = function ( t ) { var e = Foundation . global . namespace ; return t . data ( e . length > 0 ? e + "-" + i : i ) } , c = d ( e ) ; if ( "object" == typeof c ) return c ; for ( r = ( c || ":" ) . split ( ";" ) , a = r . length ; a -- ; ) o = r [ a ] . split ( ":" ) , o = [ o [ 0 ] , o . slice ( 1 ) . join ( ":" ) ] , /true/i . test ( o [ 1 ] ) && ( o [ 1 ] = ! 0 ) , /false/i . test ( o [ 1 ] ) && ( o [ 1 ] = ! 1 ) , s ( o [ 1 ] ) && ( o [ 1 ] = - 1 === o [ 1 ] . indexOf ( "." ) ? parseInt ( o [ 1 ] , 10 ) : parseFloat ( o [ 1 ] ) ) , 2 === o . length && o [ 0 ] . length > 0 && ( l [ n ( o [ 0 ] ) ] = n ( o [ 1 ] ) ) ; return l } , register _media : function ( e , i ) { Foundation . media _queries [ e ] === s && ( t ( "head" ) . append ( '<meta class="' + i + '"/>' ) , Foundation . media _queries [ e ] = n ( t ( "." + i ) . css ( "font-family" ) ) ) } , add _custom _rule : function ( t , e ) { if ( e === s && Foundation . stylesheet ) Foundation . stylesheet . insertRule ( t , Foundation . stylesheet . cssRules . length ) ; else { var i = Foundation . media _queries [ e ] ; i !
n . attr ( "aria-expanded" , "false" ) , i . S ( this ) . hasClass ( i . settings . active _class ) && ( i . S ( this ) . css ( Foundation . rtl ? "right" : "left" , "-99999px" ) . attr ( "aria-hidden" , "true" ) . removeClass ( i . settings . active _class ) . prev ( "[" + i . attr _name ( ) + "]" ) . removeClass ( i . settings . active _class ) . removeData ( "target" ) , i . S ( this ) . trigger ( "closed.fndtn.dropdown" , [ e ] ) ) } ) , e . removeClass ( "f-open-" + this . attr _name ( ! 0 ) ) } , closeall : function ( ) { var e = this ; t . each ( e . S ( ".f-open-" + this . attr _name ( ! 0 ) ) , function ( ) { e . close . call ( e , e . S ( this ) ) } ) } , open : function ( t , e ) { this . css ( t . addClass ( this . settings . active _class ) , e ) , t . prev ( "[" + this . attr _name ( ) + "]" ) . addClass ( this . settings . active _class ) , t . data ( "target" , e . get ( 0 ) ) . trigger ( "opened.fndtn.dropdown" , [ t , e ] ) , t . attr ( "aria-hidden" , "false" ) , e . attr ( "aria-expanded" , "true" ) , t . focus ( ) , t . addClass ( "f-open-" + this . attr _name ( ! 0 ) ) } , data _attr : function ( ) { return this . namespace . length > 0 ? this . namespace + "-" + this . name : this . name } , toggle : function ( t ) { if ( ! t . hasClass ( this . settings . disabled _class ) ) { var e = this . S ( "#" + t . data ( this . data _attr ( ) ) ) ; 0 !== e . length && ( this . close . call ( this , this . S ( "[" + this . attr _name ( ) + "-content]" ) . not ( e ) ) , e . hasClass ( this . settings . active _class ) ? ( this . close . call ( this , e ) , e . data ( "target" ) !== t . get ( 0 ) && this . open . call ( this , e , t ) ) : this . open . call ( this , e , t ) ) } } , resize : function ( ) { var e = this . S ( "[" + this . attr _name ( ) + "-content].open" ) , i = t ( e . data ( "target" ) ) ; e . length && i . length && this . css ( e , i ) } , css : function ( t , e ) { var i = Math . max ( ( e . width ( ) - t . width ( ) ) / 2 , 8 ) , s = e . data ( this . attr _name ( ! 0 ) + "-init" ) || this . settings , n = t . parent ( ) . css ( "overflow-y" ) || t . parent ( ) . css ( "overflow" ) ; if ( this . clear _idx ( ) , this . small ( ) ) { var a = this . dirs . bottom . call ( t , e , s ) ; t . attr ( "style" , "" ) . removeClass ( "drop-left drop-right drop-top" ) . css ( { position : "absolute" , width : "95%" , "max-width" : "none" , top : a . top } ) , t . css ( Foundation . rtl ? "right" : "left" , i ) } else if ( "visible" !== n ) { var o = e [ 0 ] . offsetTop + e [ 0 ] . offsetHeight ; t . attr ( "style" , "" ) . css ( { position : "absolute" , top : o } ) , t . css ( Foundation . rtl ? "right" : "left" , i ) } else this . style ( t , e , s ) ; return t } , style : function ( e , i , s ) { var n = t . extend ( { position : "absolute" } , this . dirs [ s . align ] . call ( e , i , s ) ) ; e . attr ( "style" , "" ) . css ( n ) } , dirs : { _base : function ( t , s ) { var n = this . offsetParent ( ) , a = n . offset ( ) , o = t . offset ( ) ; o . top -= a . top , o . left -= a . left , o . missRight = ! 1 , o . missTop = ! 1 , o . missLeft = ! 1 , o . leftRightFlag = ! 1 ; var r , l = e . innerWidth ; r = i . getElementsByClassName ( "row" ) [ 0 ] ? i . getElementsByClassName ( "row" ) [ 0 ] . clientWidth : l ; var d = ( l - r ) / 2 , c = r ; if ( ! this . hasClass ( "mega" ) && ! s . ignore _repositioning ) { var h = this . outerWidth ( ) , u = t . offset ( ) . left ; t . offset ( ) . top <= this . outerHeight ( ) && ( o . missTop = ! 0 , c = l - d , o . leftRightFlag = ! 0 ) , u + h > u + d && u - d > h && ( o . missRight = ! 0 , o . missLeft = ! 1 ) , 0 >= u - h && ( o . missLeft = ! 0 , o . missRight = ! 1 ) } return o } , top : function ( t , e ) { var i = Foundation . libs . dropdown , s = i . dirs . _base . call ( this , t , e ) ; return this . addClass ( "drop-top" ) , 1 == s . missTop && ( s . top = s . top + t . outerHeight ( ) + this . outerHeight ( ) , this . removeClass ( "drop-top" ) ) , 1 == s . missRight && ( s . left = s . left - this . outerWidth ( ) + t . outerWidth ( ) ) , ( t . outerWidth ( ) < this . outerWidth ( ) || i . small ( ) || this . hasClass ( e . mega _menu ) ) && i . adjust _pip ( this , t , e , s ) , Foundation . rtl ? { left : s . left - this . outerWidth ( ) + t . outerWidth ( ) , top : s . top - this . outerHeight ( ) } : { left : s . left , top : s . top - this . outerHeight ( ) } } , bottom : function ( t , e ) { var i = Foundation . libs . dropdown , s = i . dirs . _base . call ( this , t , e ) ; return 1 == s . missRight && ( s . left = s . left - this . outerWidth ( ) + t . outerWidth ( ) ) , ( t . outerWidth ( ) < this . outerWidth ( ) || i . small ( ) || this . hasClass ( e . mega _menu ) ) && i . adjust _pip ( this , t , e , s ) , i . rtl ? { left : s . left - this . outerWidth ( ) + t . outerWidth ( ) , top : s . top + t . outerHeight ( ) } : { left : s . left , top : s . top + t . outerHeight ( ) } } , left : function ( t , e ) { var i = Foundation . libs . dropdown . dirs . _base . call ( this , t , e ) ; return this . addClass ( "drop-left" ) , 1 == i . missLeft && ( i . left = i . left + this . outerWidth ( ) , i . top = i . top + t . outerHeight ( ) , this . removeClass ( "drop-left" ) ) , { left : i . left - this . outerWidth ( ) , top : i . top } } , right : function ( t , e ) { var i = Foundation . libs . dropdown . dirs . _base . call ( this , t , e ) ; this . addClass ( "drop-right" ) , 1 == i . missRight ? ( i . left = i . left - this . outerWidth ( ) , i . top = i . top + t . outerHeight ( ) , this . removeClass ( "drop-right" ) ) : i . triggeredRight = ! 0 ; var s = Foundation . libs . dropdown ; return ( t . outerWidth ( ) < this . outerWidth ( ) || s . small ( ) |
if ( i . length > 0 ) if ( e . removeAttr ( "tabindex" , "0" ) . attr ( "aria-hidden" , "true" ) , this . locked = ! 0 , this . key _up _off ( e ) , e . trigger ( "close.fndtn.reveal" ) , ( s . multiple _opened && 1 === i . length || ! s . multiple _opened || e . length > 1 ) && ( n . toggle _bg ( e , ! 1 ) , n . to _front ( e ) ) , s . multiple _opened ) { var o = e . is ( ":not(.toback)" ) ; n . hide ( e , s . css . close , s ) , o ? a . pop ( ) : a = t . grep ( a , function ( t ) { var i = t [ 0 ] === e [ 0 ] ; return i && n . to _front ( e ) , ! i } ) , a . length > 0 && n . to _front ( a [ a . length - 1 ] ) } else n . hide ( i , s . css . close , s ) } , close _targets : function ( ) { var t = "." + this . settings . dismiss _modal _class ; return this . settings . close _on _background _click ? t + ", ." + this . settings . bg _class : t } , toggle _bg : function ( e , i ) { 0 === this . S ( "." + this . settings . bg _class ) . length && ( this . settings . bg = t ( "<div />" , { "class" : this . settings . bg _class } ) . appendTo ( "body" ) . hide ( ) ) ; var n = this . settings . bg . filter ( ":visible" ) . length > 0 ; i != n && ( ( i == s ? n : ! i ) ? this . hide ( this . settings . bg ) : this . show ( this . settings . bg ) ) } , show : function ( i , s ) { if ( s ) { var a = i . data ( this . attr _name ( ! 0 ) + "-init" ) || this . settings , o = a . root _element , r = this ; if ( 0 === i . parent ( o ) . length ) { var l = i . wrap ( '<div style="display: none;" />' ) . parent ( ) ; i . on ( "closed.fndtn.reveal.wrapped" , function ( ) { i . detach ( ) . appendTo ( l ) , i . unwrap ( ) . unbind ( "closed.fndtn.reveal.wrapped" ) } ) , i . detach ( ) . appendTo ( o ) } var d = n ( a . animation ) ; if ( d . animate || ( this . locked = ! 1 ) , d . pop ) { s . top = t ( e ) . scrollTop ( ) - i . data ( "offset" ) + "px" ; var c = { top : t ( e ) . scrollTop ( ) + i . data ( "css-top" ) + "px" , opacity : 1 } ; return setTimeout ( function ( ) { return i . css ( s ) . animate ( c , a . animation _speed , "linear" , function ( ) { r . locked = ! 1 , i . trigger ( "opened.fndtn.reveal" ) } ) . addClass ( "open" ) } , a . animation _speed / 2 ) } if ( s . top = t ( e ) . scrollTop ( ) + i . data ( "css-top" ) + "px" , d . fade ) { var c = { opacity : 1 } ; return setTimeout ( function ( ) { return i . css ( s ) . animate ( c , a . animation _speed , "linear" , function ( ) { r . locked = ! 1 , i . trigger ( "opened.fndtn.reveal" ) } ) . addClass ( "open" ) } , a . animation _speed / 2 ) } return i . css ( s ) . show ( ) . css ( { opacity : 1 } ) . addClass ( "open" ) . trigger ( "opened.fndtn.reveal" ) } var a = this . settings ; return n ( a . animation ) . fade ? i . fadeIn ( a . animation _speed / 2 ) : ( this . locked = ! 1 , i . show ( ) ) } , to _back : function ( t ) { t . addClass ( "toback" ) } , to _front : function ( t ) { t . removeClass ( "toback" ) } , hide : function ( i , s ) { if ( s ) { var a = i . data ( this . attr _name ( ! 0 ) + "-init" ) , o = this ; a = a || this . settings ; var r = n ( a . animation ) ; if ( r . animate || ( this . locked = ! 1 ) , r . pop ) { var l = { top : - t ( e ) . scrollTop ( ) - i . data ( "offset" ) + "px" , opacity : 0 } ; return setTimeout ( function ( ) { return i . animate ( l , a . animation _speed , "linear" , function ( ) { o . locked = ! 1 , i . css ( s ) . trigger ( "closed.fndtn.reveal" ) } ) . removeClass ( "open" ) } , a . animation _speed / 2 ) } if ( r . fade ) { var l = { opacity : 0 } ; return setTimeout ( function ( ) { return i . animate ( l , a . animation _speed , "linear" , function ( ) { o . locked = ! 1 , i . css ( s ) . trigger ( "closed.fndtn.reveal" ) } ) . removeClass ( "open" ) } , a . animation _speed / 2 ) } return i . hide ( ) . css ( s ) . removeClass ( "open" ) . trigger ( "closed.fndtn.reveal" ) } var a = this . settings ; return n ( a . animation ) . fade ? i . fadeOut ( a . animation _speed / 2 ) : i . hide ( ) } , close _video : function ( e ) { var i = t ( ".flex-video" , e . target ) , s = t ( "iframe" , i ) ; s . length > 0 && ( s . attr ( "data-src" , s [ 0 ] . src ) , s . attr ( "src" , s . attr ( "src" ) ) , i . hide ( ) ) } , open _video : function ( e ) { var i = t ( ".flex-video" , e . target ) , n = i . find ( "iframe" ) ; if ( n . length > 0 ) { var a = n . attr ( "data-src" ) ; if ( "string" == typeof a ) n [ 0 ] . src = n . attr ( "data-src" ) ; else { var o = n [ 0 ] . src ; n [ 0 ] . src = s , n [ 0 ] . src = o } i . show ( ) } } , data _attr : function ( t ) { return this . namespace . length > 0 ? this . namespace + "-" + t : t } , cache _offset : function ( t ) { var e = t . show ( ) . height ( ) + parseInt ( t . css ( "top" ) , 10 ) + t . scrollY ; return t . hide ( ) , e } , off : function ( ) { t ( this . scope ) . off ( ".fndtn.reveal" ) } , reflow : function ( ) { } } } ( jQuery , window , window . document ) , function ( t , e ) { "use strict" ; Foundation . libs . interchange = { name : "interchange" , version : "5.5.3" , cache : { } , images _loaded : ! 1 , nodes _loaded : ! 1 , settings : { load _attr : "interchange" , named _queries : { "default" : "only screen" , small : Foundation . media _queries . small , "small-only" : Foundation . media _queries [ "small-only" ] , medium : Foundation . media _queries . medium , "medium-only" : Foundation . media _queries [ "medium-only" ] , large : Foundation . media _queries . large , "large-only" : Foundation . media _queries [ "large-only" ] , xlarge : Foundation . media _queries . xlarge , "xlarge-only" : Foundation . media _queries [ " xlarge - onl
} , valid _radio : function ( e ) { for ( var i = e . getAttribute ( "name" ) , s = this . S ( e ) . closest ( "[data-" + this . attr _name ( ! 0 ) + "]" ) . find ( "[name='" + i + "']" ) , n = s . length , a = ! 1 , o = ! 1 , r = 0 ; n > r ; r ++ ) s [ r ] . getAttribute ( "disabled" ) ? ( o = ! 0 , a = ! 0 ) : s [ r ] . checked ? a = ! 0 : o && ( a = ! 1 ) ; for ( var r = 0 ; n > r ; r ++ ) a ? ( this . S ( s [ r ] ) . removeAttr ( this . invalid _attr ) . parent ( ) . removeClass ( this . settings . error _class ) , t ( s [ r ] ) . triggerHandler ( "valid" ) ) : ( this . S ( s [ r ] ) . attr ( this . invalid _attr , "" ) . parent ( ) . addClass ( this . settings . error _class ) , t ( s [ r ] ) . triggerHandler ( "invalid" ) ) ; return a } , valid _equal : function ( t , e , s ) { var n = i . getElementById ( t . getAttribute ( this . add _namespace ( "data-equalto" ) ) ) . value , a = t . value , o = n === a ; return o ? ( this . S ( t ) . removeAttr ( this . invalid _attr ) , s . removeClass ( this . settings . error _class ) , label . length > 0 && settings . error _labels && label . removeClass ( this . settings . error _class ) ) : ( this . S ( t ) . attr ( this . invalid _attr , "" ) , s . addClass ( this . settings . error _class ) , label . length > 0 && settings . error _labels && label . addClass ( this . settings . error _class ) ) , o } , valid _oneof : function ( t , e , i , s ) { var t = this . S ( t ) , n = this . S ( "[" + this . add _namespace ( "data-oneof" ) + "]" ) , a = n . filter ( ":checked" ) . length > 0 ; if ( a ? t . removeAttr ( this . invalid _attr ) . parent ( ) . removeClass ( this . settings . error _class ) : t . attr ( this . invalid _attr , "" ) . parent ( ) . addClass ( this . settings . error _class ) , ! s ) { var o = this ; n . each ( function ( ) { o . valid _oneof . call ( o , this , null , null , ! 0 ) } ) } return a } , reflow : function ( ) { var t = this , e = t . S ( "[" + this . attr _name ( ) + "]" ) . attr ( "novalidate" , "novalidate" ) ; t . S ( e ) . each ( function ( e , i ) { t . events ( i ) } ) } } } ( jQuery , window , window . document ) , function ( t , e ) { "use strict" ; Foundation . libs . tooltip = { name : "tooltip" , version : "5.5.3" , settings : { additional _inheritable _classes : [ ] , tooltip _class : ".tooltip" , append _to : "body" , touch _close _text : "Tap To Close" , disable _for _touch : ! 1 , hover _delay : 200 , fade _in _duration : 150 , fade _out _duration : 150 , show _on : "all" , tip _template : function ( t , e ) { return '<span data-selector="' + t + '" id="' + t + '" class="' + Foundation . libs . tooltip . settings . tooltip _class . substring ( 1 ) + '" role="tooltip">' + e + '<span class="nub"></span></span>' } } , cache : { } , init : function ( t , e , i ) { Foundation . inherit ( this , "random_str" ) , this . bindings ( e , i ) } , should _show : function ( e ) { var i = t . extend ( { } , this . settings , this . data _options ( e ) ) ; return "all" === i . show _on ? ! 0 : this . small ( ) && "small" === i . show _on ? ! 0 : this . medium ( ) && "medium" === i . show _on ? ! 0 : this . large ( ) && "large" === i . show _on ? ! 0 : ! 1 } , medium : function ( ) { return matchMedia ( Foundation . media _queries . medium ) . matches } , large : function ( ) { return matchMedia ( Foundation . media _queries . large ) . matches } , events : function ( e ) { function i ( t , e , i ) { t . timer || ( i ? ( t . timer = null , n . showTip ( e ) ) : t . timer = setTimeout ( function ( ) { t . timer = null , n . showTip ( e ) } . bind ( t ) , n . settings . hover _delay ) ) } function s ( t , e ) { t . timer && ( clearTimeout ( t . timer ) , t . timer = null ) , n . hide ( e ) } var n = this , a = n . S ; n . create ( this . S ( e ) ) , t ( this . scope ) . off ( ".tooltip" ) . on ( "mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip" , "[" + this . attr _name ( ) + "]" , function ( e ) { var o = a ( this ) , r = t . extend ( { } , n . settings , n . data _options ( o ) ) , l = ! 1 ; if ( Modernizr . touch && /touchstart|MSPointerDown/i . test ( e . type ) && a ( e . target ) . is ( "a" ) ) return ! 1 ; if ( /mouse/i . test ( e . type ) && n . ie _touch ( e ) ) return ! 1 ; if ( o . hasClass ( "open" ) ) Modernizr . touch && /touchstart|MSPointerDown/i . test ( e . type ) && e . preventDefault ( ) , n . hide ( o ) ; else { if ( r . disable _for _touch && Modernizr . touch && /touchstart|MSPointerDown/i . test ( e . type ) ) return ; if ( ! r . disable _for _touch && Modernizr . touch && /touchstart|MSPointerDown/i . test ( e . type ) && ( e . preventDefault ( ) , a ( r . tooltip _class + ".open" ) . hide ( ) , l = ! 0 , t ( ".open[" + n . attr _name ( ) + "]" ) . length > 0 ) ) { var d = a ( t ( ".open[" + n . attr _name ( ) + "]" ) [ 0 ] ) ; n . hide ( d ) } / enter | over / i . test ( e . type ) ? i ( this , o ) : "mouseout" === e . type || "mouseleave" === e . type ? s ( this , o ) : i ( this , o , ! 0 ) } } ) . on ( "mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip" , "[" + this . attr _name ( ) + "].open" , function ( e ) { return /mouse/i . test ( e . type ) && n . ie _touch ( e ) ? ! 1 : void ( ( "touch" != t ( this ) . data ( "tooltip-open-event-type" ) || "mouseleave" != e . type ) && ( "mouse" == t ( this ) . data ( "tooltip-open-event-type" ) && /MSPointerDown|touchstart/i . test ( e . type ) ? n . convert _to _touch ( t ( this ) ) : s ( this , t ( this ) ) ) ) } ) . on ( " DOMNodeRemoved DOMAtt