1/*! 2 * fullpage.js Fading Effect Extension 0.0.3 3 * https://github.com/alvarotrigo/fullPage.js 4 * 5 * This code has been bought from www.alvarotrigo.com/fullPage/extensions/ and it is not free to use or distrubute. 6 * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo 7 */ 8!(function (n) { 9 window.fp_fadingEffectExtension = function () { 10 function t() { 11 n(g).on('afterResponsive', e) 12 } 13 14 function e(n, t) { 15 t ? ((o = !1), s.turnOff()) : ((o = l.autoScrolling), s.turnOn()) 16 } 17 var i, 18 a, 19 l, 20 o, 21 s = this, 22 r = n.fn.fullpage.getFullpageData(), 23 f = r.options, 24 c = r.internals, 25 p = f.scrollingSpeed, 26 u = 'fullpage-wrapper', 27 g = '.' + u, 28 d = 'active', 29 y = '.' + d, 30 m = 'fp-section', 31 S = '.' + m, 32 v = S + y, 33 h = 'fp-slide', 34 P = '.' + h, 35 A = 'fp-slidesContainer', 36 w = '.' + A, 37 E = P + y, 38 F = 'fp-fading-animations', 39 b = '#' + F, 40 T = 'fp-fading-sheet', 41 C = '#' + T 42 ;((s.apply = function () { 43 ;(t(), (l = n.extend(!0, {}, f)), (o = l.autoScrolling), (f.scrollBar = !1), s.isFadingPanel('sections') && n.fn.fullpage.setAutoScrolling(!0)) 44 var e = s.isFadingPanel('slides') ? s.getStyles(P) : '', 45 i = s.isFadingPanel('sections') ? s.getStyles(S) : '' 46 ;(f.fadingEffect && s.appendStyleSheet(T, i + e), clearTimeout(a), (a = setTimeout(s.applyAnimation, 300))) 47 }), 48 (s.isFadingPanel = function (n) { 49 return f.fadingEffect === !0 || f.fadingEffect === n 50 }), 51 (s.appendStyleSheet = function (t, e) { 52 n('<style id="' + t + '">' + e + '</style>').appendTo('head') 53 }), 54 (s.applyAnimation = function () { 55 i = s.getTransition() 56 var n = s.isFadingPanel('slides') ? s.getPanelAnimation(P) : '', 57 t = s.isFadingPanel('sections') ? s.getPanelAnimation(S) : '' 58 s.appendStyleSheet(F, n + t) 59 }), 60 (s.getPanelAnimation = function (n) { 61 return n + '{-webkit-transition: ' + i + ';transition: ' + i + ';}' 62 }), 63 (s.getStyles = function (n) { 64 return s.getContainerStyles(n) + '' + s.getPanelStyles(n) + s.getActivePanelStyles(n) 65 }), 66 (s.getContainerStyles = function (n) { 67 return n === P ? '.fp-slidesContainer {width: 100% !important;transform: none!important;}' : '' 68 }), 69 (s.getPanelStyles = function (n) { 70 return n + '{width: 100% !important;position: absolute!important;left: 0;top: 0;visibility: hidden;opacity: 0;}' 71 }), 72 (s.getActivePanelStyles = function (n) { 73 return n + '.active{visibility: visible;opacity: 1!important;}' 74 }), 75 (s.update = function (t) { 76 ;(n(b).remove(), (p = t), s.applyAnimation()) 77 }), 78 (s.getTransition = function () { 79 return 'all ' + p + 'ms ' + f.easingcss3 + ', width 0s, height 0s' 80 }), 81 (s.turnOff = function () { 82 if (n(C).length) { 83 n(b).remove() 84 var t = n(v).find(E), 85 e = n(v).find(w) 86 ;(c.removeAnimation(e), n(C).remove(), (f.scrollBar = l.scrollBar), n.fn.fullpage.setAutoScrolling(o), t.length && c.silentLandscapeScroll(t)) 87 } 88 }), 89 (s.turnOn = function () { 90 n(C).length || (s.apply(), n('html,body').scrollTop(0), c.silentScroll(0)) 91 }), 92 (s.c = c.c)) 93 var O = s['common'.charAt(0)] 94 return ( 95 'complete' === document.readyState && O('fadingEffect'), 96 n(window).on('load', function () { 97 O('fadingEffect') 98 }), 99 s 100 ) 101 } 102})(jQuery) 103/*! 104 * fullpage.js Continuos Horizontal Scrolling Extension 0.0.4 105 * https://github.com/alvarotrigo/fullPage.js 106 * 107 * This code has been bought from www.alvarotrigo.com/fullPage/extensions/ and it is not free to use or distrubute. 108 * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo 109 */ 110!(function (n) { 111 window.fp_continuousHorizontalExtension = function () { 112 var e = this, 113 o = n.fn.fullpage.getFullpageData(), 114 t = o.options, 115 i = o.internals, 116 r = 'fullpage-wrapper', 117 l = '.' + r, 118 s = 'active', 119 a = '.' + s, 120 d = 'fp-section', 121 f = '.' + d, 122 u = f + a, 123 p = 'fp-slide', 124 c = '.' + p, 125 m = 'fp-slidesContainer', 126 x = '.' + m 127 ;((e.wrapAroundElements = null), 128 (e.apply = function (o) { 129 var i = o.destiny, 130 r = o.direction, 131 a = o.prevSlide 132 ;((e.wrapAroundElements = null), t.continuousHorizontal && 'undefined' != typeof r && r != o.xMovement && ('right' === r ? a.after(a.prevAll(c).get().reverse()) : a.before(a.nextAll(c)), e.silentHorizontalScroll(a.position().left), (e.wrapAroundElements = a), (o.destinyPos = i.position()), (o.slideIndex = i.index()), (o.prevSlideIndex = a.index()), n(l).trigger('onContinuosHorizontal', [o])), i.addClass(s).siblings().removeClass(s)) 133 }), 134 (e.fixSectionOrder = function (n, o, t) {
135 e.wrapAroundElements && e.wrapAroundElements.length && ('left' == t ? n.find(c + ':first').before(e.wrapAroundElements) : n.find(c + ':last').after(e.wrapAroundElements), e.silentHorizontalScroll(o.position().left)) 136 }), 137 (e.afterSlideLoads = function (n) { 138 // is triggered when a horizontal slide is shown 139 window.laytheme.emit('magnetic_slides_afterSlideLoads') 140 ;(e.fixSectionOrder(n.slides, n.destiny, n.direction), (n.slideIndex = n.destiny.index())) 141 }), 142 (e.silentHorizontalScroll = function (e) { 143 var o = n(u).find(x) 144 if (t.css3) { 145 var r = 'translate3d(-' + e + 'px, 0px, 0px)' 146 ;(i.removeAnimation(o), o.css(i.getTransforms(r))) 147 } else o.parent().scrollLeft(e) 148 }), 149 (e.c = i.c)) 150 var v = e['common'.charAt(0)] 151 return ( 152 'complete' === document.readyState && v('continuousHorizontal'), 153 n(window).on('load', function () { 154 v('continuousHorizontal') 155 }), 156 e 157 ) 158 } 159})(jQuery) 160 161/*! 162 * fullPage 2.9.5 - Extensions 0.1.1 163 * https://github.com/alvarotrigo/fullPage.js 164 * @license http://alvarotrigo.com/fullPage/extensions/#license 165 * 166 * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo 167 */ 168!(function (e, n) { 169 'use strict' 170 'function' == typeof define && define.amd 171 ? define(['jquery'], function (t) { 172 return n(t, e, e.document, e.Math) 173 }) 174 : 'object' == typeof exports && exports 175 ? (module.exports = n(require('jquery'), e, e.document, e.Math)) 176 : n(jQuery, e, e.document, e.Math) 177})('undefined' != typeof window ? window : this, function (e, n, t, o, i) { 178 'use strict' 179 var r = 'fullpage-wrapper', 180 a = '.' + r, 181 l = 'fp-scrollable', 182 s = '.' + l, 183 c = 'fp-responsive', 184 d = 'fp-notransition', 185 f = 'fp-destroyed', 186 u = 'fp-enabled', 187 h = 'fp-viewing', 188 p = 'active', 189 v = '.' + p, 190 g = 'fp-completely', 191 m = '.' + g, 192 S = '.section', 193 w = 'fp-section', 194 y = '.' + w, 195 x = y + v, 196 b = y + ':first', 197 C = y + ':last', 198 A = 'fp-tableCell', 199 T = '.' + A, 200 I = 'fp-auto-height', 201 k = 'fp-normal-scroll', 202 M = 'fp-nav', 203 O = '#' + M, 204 L = 'fp-tooltip', 205 E = '.' + L, 206 R = 'fp-show-active', 207 H = '.slide', 208 z = 'fp-slide', 209 B = '.' + z, 210 D = B + v, 211 P = 'fp-slides', 212 F = '.' + P, 213 V = 'fp-slidesContainer', 214 W = '.' + V, 215 j = 'fp-table', 216 Z = 'fp-slidesNav', 217 Y = '.' + Z, 218 N = Y + ' a', 219 q = 'fp-controlArrow', 220 U = '.' + q, 221 G = 'fp-prev', 222 X = '.' + G, 223 Q = q + ' ' + G, 224 _ = U + X, 225 K = 'fp-next', 226 J = '.' + K, 227 $ = q + ' ' + K, 228 ee = U + J, 229 ne = e(n), 230 te = e(t), 231 oe = { 232 scrollbars: !0, 233 mouseWheel: !0, 234 hideScrollbars: !1, 235 fadeScrollbars: !1, 236 disableMouse: !0, 237 interactiveScrollbars: !0, 238 } 239 ;((e.fn.fullpage = function (l) { 240 function s(n, t) { 241 ;(n || dt(0), yt('autoScrolling', n, t)) 242 var o = e(x) 243 if (l.autoScrolling) { 244 Ct.addClass('fp-autoscroll') 245 } 246 ;(l.autoScrolling && !l.scrollBar 247 ? (Ct.addClass('fp-autoscroll'), 248 q(Qt.recordHistory, 'internal'), 249 Ht.css({ 250 '-ms-touch-action': 'none', 251 'touch-action': 'none', 252 }), 253 o.length && dt(o.position().top)) 254 : (Ct.css({ 255 overflow: 'visible', 256 height: 'initial', 257 }), 258 q(!1, 'internal'), 259 Ht.css({ 260 '-ms-touch-action': '', 261 'touch-action': '', 262 }), 263 vt(Ht), 264 o.length && Ct.scrollTop(o.position().top)), 265 Ht.trigger('setAutoScrolling', [n])) 266 } 267 268 function q(e, n) { 269 yt('recordHistory', e, n) 270 } 271 272 function X(e, n) { 273 ;('internal' !== n && l.fadingEffect && Tt.fadingEffect && Tt.fadingEffect.update(e), yt('scrollingSpeed', e, n)) 274 } 275 276 function K(e, n) { 277 yt('fitToSection', e, n) 278 } 279 280 function J(e) { 281 l.lockAnchors = e 282 } 283 284 function re(e) { 285 e ? (tt(), ot()) : (nt(), it()) 286 } 287 288 function ae(n, t) { 289 'undefined' != typeof t 290 ? ((t = t.replace(/ /g, '').split(',')), 291 e.each(t, function (e, t) { 292 ut(n, t, 'm') 293 })) 294 : (ut(n, 'all', 'm'), n ? (re(!0), (gt('dragAndMove') && 'mouseonly' !== l.dragAndMove) || rt()) : (re(!1), at())) 295 } 296 297 function le(n, t) { 298 'undefined' != typeof t 299 ? ((t = t.replace(/ /g, '').split(',')), 300 e.each(t, function (e, t) { 301 ut(n, t, 'k') 302 })) 303 : (ut(n, 'all', 'k'), (l.keyboardScrolling = n)) 304 } 305 306 function se() { 307 var n = e(x).prev(y) 308 ;(n.length || (!l.loopTop && !l.continuousVertical) || (n = e(y).last(
308)), n.length && _e(n, null, !0)) 309 } 310 311 function ce() { 312 var n = e(x).next(y) 313 ;(n.length || (!l.loopBottom && !l.continuousVertical) || (n = e(y).first()), n.length && _e(n, null, !1)) 314 } 315 316 function de(e, n) { 317 ;(X(0, 'internal'), fe(e, n), X(Qt.scrollingSpeed, 'internal')) 318 } 319 320 function fe(e, n) { 321 var t = qn(e) 322 'undefined' != typeof n ? Gn(e, n) : t.length > 0 && _e(t) 323 } 324 325 function ue(e) { 326 Ge('right', e) 327 } 328 329 function he(e) { 330 Ge('left', e) 331 } 332 333 function myResize(n) { 334 if (!Ht.hasClass(f)) { 335 ;((Bt = !0), 336 (zt = ne.height()), 337 e(y).each(function () { 338 var n = e(this).find(F), 339 t = e(this).find(B) 340 ;(l.verticalCentered && e(this).find(T).css('height', ''), 341 e(this).css('height', ''), 342 l.scrollOverflow && 343 (t.length 344 ? t.each(function () { 345 jn(e(this)) 346 }) 347 : jn(e(this))), 348 t.length > 1 && kn(n, n.find(D))) 349 })) 350 var t = e(x), 351 o = t.index(y) 352 ;(o && !gt('fadingEffect') && de(o + 1), (Bt = !1), e.isFunction(l.afterResize) && n && l.afterResize.call(Ht), e.isFunction(l.afterReBuild) && !n && l.afterReBuild.call(Ht)) 353 } 354 } 355 356 function ve(n) { 357 var t = At.hasClass(c) 358 n ? t || (s(!1, 'internal'), K(!1, 'internal'), e(O).hide(), At.addClass(c), e.isFunction(l.afterResponsive) && l.afterResponsive.call(Ht, n), l.responsiveSlides && Tt.responsiveSlides && Tt.responsiveSlides.toSections(), Ht.trigger('afterResponsive', [n])) : t && (s(Qt.autoScrolling, 'internal'), K(Qt.autoScrolling, 'internal'), e(O).show(), At.removeClass(c), e.isFunction(l.afterResponsive) && l.afterResponsive.call(Ht, n), l.responsiveSlides && Tt.responsiveSlides && Tt.responsiveSlides.toSlides(), Ht.trigger('afterResponsive', [n])) 359 } 360 361 function ge() { 362 return { 363 options: l, 364 internals: { 365 canScroll: Pt, 366 isScrollAllowed: Vt, 367 getDestinationPosition: Qe, 368 isTouch: Rt, 369 c: hn, 370 getXmovement: Wn, 371 removeAnimation: Bn, 372 getTransforms: ft, 373 lazyLoad: rn, 374 addAnimation: zn, 375 performHorizontalMove: Ln, 376 landscapeScroll: kn, 377 silentLandscapeScroll: ct, 378 keepSlidesPosition: Xe, 379 silentScroll: dt, 380 styleSlides: be, 381 scrollHandler: Be, 382 getEventsPage: st, 383 getMSPointer: lt, 384 isReallyTouch: Ye, 385 checkParentForNormalScrollElement: Ze, 386 usingExtension: gt, 387 toggleControlArrows: Mn, 388 }, 389 } 390 } 391 392 function me() { 393 ;(l.css3 && (l.css3 = et()), (l.scrollBar = l.scrollBar || l.hybrid), ye(), xe(), ae(!0), s(l.autoScrolling, 'internal'), Hn(), $n(), 'complete' === t.readyState && pn(), ne.on('load', pn)) 394 } 395 396 function Se() { 397 ;(ne.on('scroll', Be).on('hashchange', vn).blur(bn).resize(Rn), 398 te 399 .keydown(gn) 400 .keyup(Sn) 401 .on('click touchstart', O + ' a', Cn) 402 .on('click touchstart', N, An) 403 .on('click', E, mn), 404 e(y).on('click touchstart', U, xn), 405 l.normalScrollElements && 406 (te.on('mouseenter touchstart', l.normalScrollElements, function () { 407 ae(!1) 408 }), 409 te.on('mouseleave touchend', l.normalScrollElements, function () { 410 ae(!0) 411 }
411))) 412 } 413 414 function we(e) { 415 var t = 'fp_' + e + 'Extension' 416 ;((_t[e] = l[e + 'Key']), (Tt[e] = 'undefined' != typeof n[t] ? new n[t]() : null), Tt[e] && Tt[e].c(e)) 417 } 418 419 function ye() { 420 var n = Ht.find(l.sectionSelector) 421 ;(l.anchors.length || 422 (l.anchors = n 423 .filter('[data-anchor]') 424 .map(function () { 425 return e(this).data('anchor').toString() 426 }) 427 .get()), 428 l.navigationTooltips.length || 429 (l.navigationTooltips = n 430 .filter('[data-tooltip]') 431 .map(function () { 432 return e(this).data('tooltip').toString() 433 }) 434 .get())) 435 } 436 437 function xe() { 438 ;(Ht.css({ 439 height: '100%', 440 position: 'relative', 441 }), 442 Ht.addClass(r), 443 e('html').addClass(u), 444 (zt = ne.height()), 445 Ht.removeClass(f), 446 Ie(), 447 mt('parallax', 'init'), 448 e(y).each(function (n) { 449 var t = e(this), 450 o = t.find(B), 451 i = o.length 452 ;(Ae(t, n), Te(t, n), i > 0 ? be(t, o, i) : l.verticalCentered && Zn(t)) 453 }), 454 l.fixedElements && l.css3 && e(l.fixedElements).appendTo(At), 455 l.navigation && Me(), 456 Le(), 457 l.fadingEffect && Tt.fadingEffect && Tt.fadingEffect.apply(), 458 l.scrollOverflow ? ('complete' === t.readyState && Oe(), ne.on('load', Oe)) : He()) 459 } 460 461 function be(n, t, o) { 462 var i = 100 * o, 463 r = 100 / o 464 ;(t.wrapAll('<div class="' + V + '" />'), 465 t.parent().wrap('<div class="' + P + '" />'), 466 n.find(W).css('width', i + '%'), 467 o > 1 && (l.controlArrows && ke(n), l.slidesNavigation && Qn(n, o)), 468 t.each(function (n) { 469 ;(e(this).css('width', r + '%'), l.verticalCentered && Zn(e(this))) 470 })) 471 var a = n.find(D) 472 a.length && (0 !== e(x).index(y) || (0 === e(x).index(y) && 0 !== a.index())) ? ct(a, 'internal') : t.eq(0).addClass(p) 473 } 474 475 function Ce(e) { 476 return l.offsetSections && Tt.offsetSections ? o.round(Tt.offsetSections.getWindowHeight(e)) : zt 477 } 478 479 function Ae(n, t) { 480 ;(t || 0 !== e(x).length || n.addClass(p), (Ot = e(x)), n.css('height', ''), l.paddingTop && n.css('padding-top', l.paddingTop), l.paddingBottom && n.css('padding-bottom', l.paddingBottom), 'undefined' != typeof l.sectionsColor[t] && n.css('background-color', l.sectionsColor[t]), 'undefined' != typeof l.anchors[t] && n.attr('data-anchor', l.anchors[t])) 481 } 482 483 function Te(n, t) { 484 ;('undefined' != typeof l.anchors[t] && n.hasClass(p) && Fn(l.anchors[t], t), l.menu && l.css3 && e(l.menu).closest(a).length && e(l.menu).appendTo(At)) 485 } 486 487 function Ie() { 488 ;(Ht.find(l.sectionSelector).addClass(w), Ht.find(l.slideSelector).addClass(z)) 489 } 490 491 function ke(e) { 492 ;(e.find(F).after('<div class="' + Q + '"></div><div class="' + $ + '"></div>'), '#fff' != l.controlArrowColor && (e.find(ee).css('border-color', 'transparent transparent transparent ' + l.controlArrowColor), e.find(_).css('border-color', 'transparent ' + l.controlArrowColor + ' transparent transparent')), l.loopHorizontal || e.find(_).hide()) 493 } 494 495 function Me() { 496 At.append('<div id="' + M + '"><ul></ul></div>') 497 var n = e(O) 498 n.addClass(function () { 499 return l.showActiveTooltip ? R + ' ' + l.navigationPosition : l.navigationPosition 500 }) 501 for (var t = 0; t < e(y).length; t++) { 502 var o = '' 503 l.anchors.length && (o = l.anchors[t]) 504 var i = '<li><a href="#' + o + '"><span></span></a>', 505 r = l.navigationTooltips[t] 506 ;('undefined' != typeof r && '' !== r && (i += '<div class="' + L + ' ' + l.navigationPosition + '">' + r + '</div>'), (i += '</li>'), n.find('ul').append(i)) 507 } 508 ;(e(O).css('margin-top', '-' + e(O).height() / 2 + 'px'), e(O).find('li').eq(e(x).index(y)).find('a').addClass(p)) 509 } 510 511 function Oe() { 512 ;(e(y).each(function () { 513 var n = e(this).find(B) 514 n.length 515 ? n.each(function () { 516 jn(e(this)) 517 }) 518 : jn(e(this)) 519 }), 520 He()) 521 } 522 523 function Le() { 524 Ht.find('iframe[src*="youtube.com/embed/"]').each(function () { 525 Ee(e(this), 'enablejsapi=1') 526 }) 527 } 528 529 function Ee(e, n) { 530 var t = e.attr('src') 531 e.attr('src', t + Re(t) + n) 532 } 533 534 function Re(e) { 535 return /\?/.test(e) ? '&' : '?' 536 } 537 538 function He() { 539 var n = e(x) 540 ;
540(n.addClass(g), l.scrollOverflowHandler.afterRender && l.scrollOverflowHandler.afterRender(n), rn(n), an(n), l.scrollOverflowHandler.afterLoad(), ze() && e.isFunction(l.afterLoad) && l.afterLoad.call(n, n.data('anchor'), n.index(y) + 1), e.isFunction(l.afterRender) && l.afterRender.call(Ht)) 541 } 542 543 function ze() { 544 var e = n.location.hash.replace('#', '').split('/'), 545 t = qn(decodeURIComponent(e[0])) 546 return !t.length || (t.length && t.index() === Ot.index()) 547 } 548 549 function Be() { 550 io || (requestAnimationFrame(De), (io = !0)) 551 } 552 553 function De() { 554 Ht.trigger('onScroll') 555 var n 556 if ((!l.autoScrolling || l.scrollBar || gt('dragAndMove')) && !wt()) { 557 var i = gt('dragAndMove') ? o.abs(Tt.dragAndMove.getCurrentScroll()) : ne.scrollTop(), 558 r = (Fe(i), 0), 559 a = i + ne.height() / 2, 560 s = gt('dragAndMove') ? Tt.dragAndMove.getDocumentHeight() : At.height() - ne.height(), 561 c = s === i, 562 d = t.querySelectorAll(y) 563 if (c) r = d.length - 1 564 else if (i) 565 for (var f = 0; f < d.length; ++f) { 566 var u = d[f] 567 u.offsetTop <= a && (r = f) 568 } 569 else r = 0 570 if (((n = e(d).eq(r)), !n.hasClass(p))) { 571 Kt = !0 572 var h, 573 v, 574 g = e(x), 575 m = g.index(y) + 1, 576 S = Vn(n), 577 w = n.data('anchor'), 578 b = n.index(y) + 1, 579 C = n.find(D) 580 ;(C.length && ((v = C.data('anchor')), (h = C.index())), 581 Pt && 582 (n.addClass(p).siblings().removeClass(p), 583 mt('parallax', 'afterLoad'), 584 e.isFunction(l.onLeave) && l.onLeave.call(g, m, b, S), 585 e.isFunction(l.afterLoad) && l.afterLoad.call(n, w, b), 586 l.resetSliders && 587 Tt.resetSliders && 588 Tt.resetSliders.apply({ 589 localIsResizing: Bt, 590 leavingSection: m, 591 }), 592 sn(g), 593 rn(n), 594 an(n), 595 Fn(w, b - 1), 596 l.anchors.length && (It = w), 597 _n(h, v, w, b)), 598 clearTimeout(Yt), 599 (Yt = setTimeout(function () { 600 Kt = !1 601 }, 100))) 602 } 603 l.fitToSection && 604 (clearTimeout(Nt), 605 (Nt = setTimeout(function () { 606 l.fitToSection && Pe() 607 }, l.fitToSectionDelay))) 608 } 609 io = !1 610 } 611 612 function Pe() { 613 Pt && ((Bt = !0), _e(e(x)), (Bt = !1)) 614 } 615 616 function Fe(e) { 617 var n = e > Jt ? 'down' : 'up' 618 return ((Jt = e), (ro = e), n) 619 } 620 621 function Ve(e, n) { 622 if (Vt.m[e]) { 623 var t = 'down' === e ? 'bottom' : 'top', 624 o = 'down' === e ? ce : se 625 if ((Tt.scrollHorizontally && (o = Tt.scrollHorizontally.getScrollSection(e, o)), n.length > 0)) { 626 if (!l.scrollOverflowHandler.isScrolled(t, n)) return !0 627 o() 628 } else o() 629 } 630 } 631 632 function We(e) { 633 var n = e.originalEvent 634 !Ze(e.target) && l.autoScrolling && Ye(n) && e.preventDefault() 635 } 636 637 function je(n) { 638 var t = n.originalEvent, 639 i = e(t.target).closest(y) 640 if (!Ze(n.target) && Ye(t)) { 641 l.autoScrolling && n.preventDefault() 642 var r = l.scrollOverflowHandler.scrollable(i), 643 a = st(t) 644 ;((no = a.y), (to = a.x), i.find(F).length && o.abs(eo - to) > o.abs($t - no) ? !Lt && o.abs(eo - to) > (ne.outerWidth() / 100) * l.touchSensitivity && (eo > to ? Vt.m.right && ue(i) : Vt.m.left && he(i)) : l.autoScrolling && Pt && o.abs($t - no) > (ne.height() / 100) * l.touchSensitivity && ($t > no ? Ve('down', r) : no > $t && Ve('up', r))) 645 } 646 } 647 648 function Ze(n, t) { 649 t = t || 0 650 var o = e(n).parent() 651 return !!(t < l.normalScrollElementTouchThreshold && o.is(l.normalScrollElements)) || (t != l.normalScrollElementTouchThreshold && Ze(o, ++t)) 652 } 653 654 function Ye(e) { 655 return 'undefined' == typeof e.pointerType || 'mouse' != e.pointerType 656 } 657 658 function Ne(e) { 659 var n = e.originalEvent 660 if ((l.fitToSection && Ct.stop(), Ye(n))) { 661 var t = st(n) 662 ;(($t = t.y), (eo = t.x)) 663 } 664 } 665 666 function qe(e, n) { 667 for (var t = 0, i = e.slice(o.max(e.length - n, 1)), r = 0; r < i.length; r++) t += i[r] 668 return o.ceil(t / n) 669 } 670 671 function Ue(t) { 672 var i = new Date().getTime(), 673 r = e(m).hasClass(k) 674 if (l.autoScrolling && !Mt && !r) { 675 t = t || n.event 676 var a = t.wheelDelta || -t.deltaY || -t.detail, 677 s = o.max(-1, o.min(1, a)), 678 c = 'undefined' != typeof t.wheelDeltaX || 'undefined' != typeof t.deltaX, 679 d = o.abs(t.wheelDeltaX) < o.abs(t.wheelDelta) || o.abs(t.deltaX) < o.abs(t.deltaY) || !c 680 ;(Ft.length > 149 && Ft.shift(), Ft.push(o.abs(a)), l.scrollBar && (t.preventDefault ? t.preventDefault() : (t.returnValue = !1))) 681 var f = e(x), 682 u = l.scrollOverflowHandler.scrollable(f), 683 h = i - oo 684 if (((oo = i), h > 200 && (Ft = []), Pt && !St())) { 685 var p = qe(Ft, 10), 686 v = qe(Ft, 70), 687 g = p >= v 688 g && d && (s < 0 ? Ve('down', u) : Ve('up', u)) 689 } 690 return !1 691 } 692 l.fitToSection && Ct.stop() 693 } 694 695 function Ge(n, t) { 696 var o = 'undefined' == typeof t ? e(x) : t, 697 i = o.find(F) 698 if (!(!i.length || St() || Lt || i.find(B).length < 2)) { 699 var r = i.find(D), 700 a = null 701 if (((a = 'left' === n ? r.prev(B) : r.next(B)), !a.length)) { 702 if (!l.loopHorizontal) return 703 a = 'left' === n ? r.siblings(':last') : r.siblings(':first') 704 } 705 ;((Lt = !0), kn(i, a, n)) 706 } 707 } 708 709 function Xe() { 710 e(D).each(function () { 711 ct(e(this), 'internal') 712 }) 713 } 714 715 function Qe(e) { 716 var n = e.position(), 717 t = n.top, 718 o = gt('dragAndMove') && Tt.dragAndMove.isGrabbing ? Tt.dragAndMove.isScrollingDown() : n.top > ro, 719 i = t - zt + e.outerHeight(), 720 r = l.bigSectionsDestination 721 return (e.outerHeight() > zt ? ((o || r) && 'bottom' !== r) || (t = i) : (o || (Bt && e.is(':last-child'))) && (t = i), l.offsetSections && Tt.offsetSections && (t = Tt.offsetSections.getSectionPosition(o, t, e)), (ro = t), t) 722 } 723 724 function _e(n, t, o) { 725 if ('undefined' != typeof n && n.length) { 726 var i, 727 r, 728 a = Qe(n), 729 s = { 730 element: n, 731 callback: t, 732 isMovementUp: o, 733 dtop: a, 734 yMovement: Vn(n), 735 anchorLink: n.data('anchor'), 736 sectionIndex: n.index(y), 737 activeSlide: n.find(D), 738 activeSection: e(x), 739 leavingSection: e(x).index(y) + 1, 740 localIsResizing: Bt, 741 } 742 ;(s.activeSection.is(n) && !Bt) || (l.scrollBar && ne.scrollTop() === s.dtop && !n.hasClass(I)) || (s.activeSlide.length && ((i = s.activeSlide.data('anchor')), (r = s.activeSlide.index())), mt('parallax', 'apply', s), l.autoScrolling && l.continuousVertical && 'undefined' != typeof s.isMovementUp && ((!s.isMovementUp && 'up' == s.yMovement) || (s.isMovementUp && 'down' == s.yMovement)) && (s = en(s)), (e.isFunction(l.onLeave) && !s.localIsResizing && l.onLeave.call(s.activeSection, s.leavingSection, s.sectionIndex + 1, s.yMovement) === !1) || (gt('scrollOverflowReset') && Tt.scrollOverflowReset.setPrevious(s.activeSection), s.localIsResizing || sn(s.activeSection), l.scrollOverflowHandler.beforeLeave(), n.addClass(p).siblings().removeClass(p), rn(n), l.scrollOverflowHandler.onLeave(), (Pt = !1), _n(r, i, s.anchorLink, s.sectionIndex), Je(s), (It = s.anchorLink), Fn(s.anchorLink, Ke(s)))) 743 } 744 } 745 746 function Ke(n) { 747 return n.wrapAroundElements && n.wrapAroundElements.length ? (n.isMovementUp ? e(y).length - 1 : 0) : n.sectionIndex 748 } 749 750 function Je(n) { 751 if (l.css3 && l.autoScrolling && !l.scrollBar) { 752 var t = 'translate3d(0px, -' + o.round(n.dtop) + 'px, 0px)' 753 ;(Nn(t, !0), 754 l.scrollingSpeed 755 ? (clearTimeout(jt), 756 (jt = setTimeout(function () { 757 tn(n) 758 }, l.scrollingSpeed))) 759 : tn(n)) 760 } else { 761 var i = $e(n) 762 e(i.element) 763 .animate(i.options, l.scrollingSpeed, l.easing) 764 .promise() 765 .done(function () { 766 l.scrollBar 767 ? setTimeout(function () { 768 tn(n) 769 }, 30) 770 : tn(n) 771 }) 772 } 773 } 774 775 function $e(e) { 776 var n = {} 777 return ( 778 l.autoScrolling && !l.scrollBar 779 ? ((n.options = { 780 top: -e.dtop, 781 }), 782 (n.element = a)) 783 : ((n.options = { 784 scrollTop: e.dtop, 785 }), 786 (n.element = 'html, body')), 787 n 788 ) 789 } 790 791 function en(n) { 792 return (n.isMovementUp ? n.activeSection.before(n.activeSection.nextAll(y)) : n.activeSection.after(n.activeSection.prevAll(y).get().reverse()), dt(e(x).position().top), Xe(), (n.wrapAroundElements = n.activeSection), (n.dtop = n.element.position().top), (n.yMovement = Vn(n.element)), (n.leavingSection = n.activeSection.index(y) + 1), (n.sectionIndex = n.element.index(y)), e(a).trigger('onContinuousVertical', [n]), n) 793 } 794 795 function nn(n) { 796 n.wrapAroundElements && n.wrapAroundElements.length && (n.isMovementUp ? e(b).before(n.wrapAroundElements) : e(C).after(n.wrapAroundElements), dt(e(x).position().top), Xe(), (n.sectionIndex = n.element.index(y)), (n.leavingSection = n.activeSection.index(y) + 1)) 797 } 798 799 function tn(n) { 800 ;(nn(n), e.isFunction(l.afterLoad) && !n.localIsResizing && l.afterLoad.call(n.element, n.anchorLink, n.sectionIndex + 1), l.scrollOverflowHandler.afterLoad(), mt('parallax', 'afterLoad'), gt('scrollOverflowReset') && Tt.scrollOverflowReset.reset(), l.resetSliders && Tt.resetSliders && Tt.resetSliders.apply(n), n.localIsResizing || an(n.element), n.element.addClass(g).siblings().removeClass(g), (Pt = !0), e.isFunction(n.callback) && n.callback.call(this)) 801 } 802 803 function on(e, n) { 804 e.attr(n, e.data(n)).removeAttr('data-' + n) 805 } 806 807 function rn(n) { 808 if (l.lazyLoading) { 809 var t, 810 o = cn(n) 811 o.find('img[data-src], img[data-srcset], source[data-src], audio[data-src], iframe[data-src]').each(function () { 812 ;((t = e(this)), 813 e.each(['src', 'srcset'], function (e, n) { 814 var o = t.attr('data-' + n) 815 'undefined' != typeof o && o && on(t, n) 816 }), 817 t.is('source') && t.closest('video').get(0).load()) 818 }) 819 } 820 } 821 822 function an(n) { 823 var t = cn(n) 824 ;(t.find('video, audio').each(function () { 825 var n = e(this).get(0) 826 n.hasAttribute('data-autoplay') && 'function' == typeof n.play && n.play() 827 }), 828 t.find('iframe[src*="youtube.com/embed/"]').each(function () { 829 var n = e(this).get(0) 830 ;(n.hasAttribute('data-autoplay') && ln(n), 831 (n.onload = function () { 832 n.hasAttribute('data-autoplay') && ln(n) 833 })) 834 })) 835 } 836 837 function ln(e) { 838 e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*') 839 } 840 841 function sn(n) { 842 var t = cn(n) 843 ;(t.find('video, audio').each(function () { 844 var n = e(this).get(0) 845 n.hasAttribute('data-keepplaying') || 'function' != typeof n.pause || n.pause() 846 }), 847 t.find('iframe[src*="youtube.com/embed/"]').each(function () { 848 var n = e(this).get(0) 849 ;/youtube\.com\/embed\//.test(e(this).attr('src')) && !n.hasAttribute('data-keepplaying') && e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*') 850 })) 851 } 852 853 function cn(n) { 854 var t = n.find(D) 855 return (t.length && (n = e(t)), n) 856 } 857 858 function dn(e) { 859 function n(e) { 860 var n, 861 o, 862 i, 863 r, 864 l, 865 s, 866 c, 867 d = '', 868 f = 0 869 for (e = e.replace(/[^A-Za-z0-9+\/=]/g, ''); f < e.length; ) ((r = a.indexOf(e.charAt(f++))), (l = a.indexOf(e.charAt(f++))), (s = a.indexOf(e.charAt(f++))), (c = a.indexOf(e.charAt(f++))), (n = (r << 2) | (l >> 4)), (o = ((15 & l) << 4) | (s >> 2)), (i = ((3 & s) << 6) | c), (d += String.fromCharCode(n)), 64 != s && (d += String.fromCharCode(o)), 64 != c && (d += String.fromCharCode(i))) 870 return (d = t(d)) 871 } 872 873 function t(e) { 874 for (var n, t = '', o = 0, i = 0, r = 0; o < e.length; ) ((i = e.charCodeAt(o)), i < 128 ? ((t += String.fromCharCode(i)), o++) : i > 191 && i < 224 ? ((r = e.charCodeAt(o + 1)), (t += String.fromCharCode(((31 & i) << 6) | (63 & r))), (o += 2)) : ((r = e.charCodeAt(o + 1)), (n = e.charCodeAt(o + 2)), (t += String.fromCharCode(((15 & i) << 12) | ((63 & r) << 6) | (63 & n))), (o += 3))) 875 return t 876 } 877 878 function o(e) { 879 return e 880 } 881 882 function i(e) { 883 return e.slice(3).slice(0, -3) 884 } 885 886 function r(e) { 887 var t = e.split('_') 888 if (t.length > 1) { 889 var o = t[1], 890 r = e.replace(i(t[1]), '').split('_')[0], 891 a = r 892 return a + '_' + n(o.slice(3).slice(0, -3)) 893 } 894 return i(e) 895 } 896 var a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
896+/=' 897 return o(r(n(e))) 898 } 899 900 function fn() { 901 if (t.domain.length) { 902 for (var e = t.domain.replace(/^(www\.)/, '').split('.'); e.length > 2; ) { 903 e.shift() 904 } 905 var n = e.join('.') 906 return n.replace(/(^\.*)|(\.*$)/g, '') 907 } 908 return '' 909 } 910 911 function un(e) { 912 var n = fn(), 913 t = ['localhost', '127.0.0.1', 'jshell.net', 'UDdDQU5ZNlNN'], 914 o = t[0], 915 i = t[1], 916 r = t[2], 917 a = dn(t[3]), 918 l = [o, i, r].indexOf(n) < 0 && 0 !== n.length, 919 s = 'undefined' != typeof _t[e] && _t[e].length 920 if (!s && l) return !1 921 var c = s ? dn(_t[e]) : '' 922 c = c.split('_') 923 var d = c.length > 1 && c[1].indexOf(e, c[1].length - e.length) > -1, 924 f = c[0].indexOf(n, c[0].length - n.length) < 0 925 return (!(f && l && a != c[0]) && d) || !l 926 } 927 928 function hn(e) { 929 // if (gt(e) && Tt[e]) { 930 // var n = dn("MTIzPGRpdiBzdHlsZT0iei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkOyB0b3A6IDIwcHg7IGxlZnQ6MjBweDsgYmFja2dyb3VuZDpyZWQ7IHBhZGRpbmc6IDdweCAxNXB4OyBmb250LXNpemU6IDE0cHg7IGZvbnQtZmFtaWx5OiBhcmlhbDsgY29sb3I6ICNmZmY7IGRpc3BsYXk6IGlubGluZS1ibG9jazsiPjxhIGhyZWY9Imh0dHA6Ly9hbHZhcm90cmlnby5jb20vZnVsbFBhZ2UvZXh0ZW5zaW9ucy8iIHN0eWxlPSJjb2xvcjogI2ZmZjsgdGV4dC1kZWNvcmF0aW9uOm5vbmU7Ij5VbmxpY2Vuc2VkIGZ1bGxQYWdlLmpzIEV4dGVuc2lvbjwvYT48L2Rpdj4xMjM="), 931 // t = o.random() < .5; 932 // if (!un(e)) { 933 // var i, r = "9999999", 934 // a = "z-index", 935 // l = function() { 936 // i = t ? At.find("div").first() : At.find("div").last(), i.css(a) !== r && (t ? At.prepend(n) : At.append(n)) 937 // }; 938 // l(), setInterval(l, 2e3) 939 // } 940 // } 941 } 942 943 function pn() { 944 var e = n.location.hash.replace('#', '').split('/'), 945 t = decodeURIComponent(e[0]), 946 o = decodeURIComponent(e[1]) 947 t && (l.animateAnchor ? Gn(t, o) : de(t, o)) 948 } 949 950 function vn() { 951 if (!Kt && !l.lockAnchors) { 952 var e = n.location.hash.replace('#', '').split('/'), 953 t = decodeURIComponent(e[0]), 954 o = decodeURIComponent(e[1]), 955 i = 'undefined' == typeof It, 956 r = 'undefined' == typeof It && 'undefined' == typeof o && !Lt 957 t.length && ((t && t !== It && !i) || r || (!Lt && kt != o)) && Gn(t, o) 958 } 959 } 960 961 function gn(n) { 962 clearTimeout(qt) 963 var t = e(':focus') 964 if (!t.is('textarea') && !t.is('input') && !t.is('select') && 'true' !== t.attr('contentEditable') && '' !== t.attr('contentEditable') && l.keyboardScrolling && l.autoScrolling) { 965 var o = n.which, 966 i = [40, 38, 32, 33, 34] 967 ;(e.inArray(o, i) > -1 && n.preventDefault(), 968 (Mt = n.ctrlKey), 969 (qt = setTimeout(function () { 970 Tn(n) 971 }, 150))) 972 } 973 } 974 975 function mn() { 976 e(this).prev().trigger('click') 977 } 978 979 function Sn(e) { 980 Dt && (Mt = e.ctrlKey) 981 } 982 983 function wn(e) { 984 2 == e.which && ((ao = e.pageY), Ht.on('mousemove', In)) 985 } 986 987 function yn(e) { 988 2 == e.which && Ht.off('mousemove') 989 } 990 991 function xn() { 992 var n = e(this).closest(y) 993 e(this).hasClass(G) ? Vt.m.left && he(n) : Vt.m.right && ue(n) 994 } 995 996 function bn() { 997 ;((Dt = !1), (Mt = !1)) 998 } 999 1000 function Cn(n) { 1001 n.preventDefault() 1002 var t = e(this).parent().index() 1003 _e(e(y).eq(t)) 1004 } 1005 1006 function An(n) { 1007 n.preventDefault() 1008 var t = e(this).closest(y).find(F), 1009 o = t.find(B).eq(e(this).closest('li').index()) 1010 kn(t, o) 1011 } 1012 1013 function Tn(n) { 1014 var t = n.shiftKey 1015 if (Pt || !([37, 39].indexOf(n.which) < 0)) 1016 switch (n.which) { 1017 case 38: 1018 case 33: 1019 Vt.k.up && se() 1020 break 1021 case 32: 1022 if (t && Vt.k.up) { 1023 se() 1024 break 1025 } 1026 case 40: 1027 case 34: 1028 Vt.k.down && ce() 1029 break 1030 case 36: 1031 Vt.k.up && fe(1) 1032 break 1033 case 35: 1034 Vt.k.down && fe(e(y).length) 1035 break 1036 case 37: 1037 Vt.k.left && he() 1038 break 1039 case 39: 1040 Vt.k.right && ue() 1041 break 1042 default: 1043 return 1044 } 1045 } 1046 1047 function In(e) { 1048 ;(Pt && (e.pageY < ao && Vt.m.up ? se() : e.pageY > ao && Vt.m.down && ce()), (ao = e.pageY)) 1049 } 1050 1051 function kn(n, t, o) { 1052 var i = n.closest(y), 1053 r = { 1054 slides: n, 1055 destiny: t, 1056 direction: o, 1057 destinyPos: t.position(), 1058 slideIndex: t.index(), 1059 section: i, 1060 sectionIndex: i.index(y), 1061 anchorLink: i.data('anchor'), 1062 slidesNav: i.find(Y), 1063 slideAnchor: Jn(t), 1064 prevSlide: i.find(D), 1065 prevSlideIndex: i.find(D).index(), 1066 localIsResizing: Bt, 1067 } 1068 return ((r.xMovement = Wn(r.prevSlideIndex, r.slideIndex)), r.localIsResizing || (Pt = !1), mt('parallax', 'applyHorizontal', r), l.onSlideLeave && !r.localIsResizing && 'none' !== r.xMovement && e.isFunction(l.onSlideLeave) && l.onSlideLeave.call(r.prevSlide, r.anchorLink, r.sectionIndex + 1, r.prevSlideIndex, r.xMovement, r.slideIndex) === !1 ? void (Lt = !1) : (t.addClass(p).siblings().removeClass(p), r.localIsResizing || (sn(r.prevSlide), rn(t)), Mn(r), i.hasClass(p) && !r.localIsResizing && _n(r.slideIndex, r.slideAnchor, r.anchorLink, r.sectionIndex), Tt.continuousHorizontal && Tt.continuousHorizontal.apply(r), void (wt() ? On(r) : Ln(n, r, !0)))) 1069 } 1070 1071 function Mn(e) { 1072 !l.loopHorizontal && l.controlArrows && (e.section.find(_).toggle(0 !== e.slideIndex), e.section.find(ee).toggle(!e.destiny.is(':last-child'))) 1073 } 1074 1075 function On(n) { 1076 ;(Tt.continuousHorizontal && Tt.continuousHorizontal.afterSlideLoads(n), En(n.slidesNav, n.slideIndex), n.localIsResizing || (mt('parallax', 'afterSlideLoads'), e.isFunction(l.afterSlideLoad) && l.afterSlideLoad.call(n.destiny, n.anchorLink, n.sectionIndex + 1, n.slideAnchor, n.slideIndex), (Pt = !0), an(n.destiny)), (Lt = !1), Tt.interlockedSlides && Tt.interlockedSlides.apply(n)) 1077 } 1078 1079 function Ln(e, n, t) { 1080 var i = n.destinyPos 1081 if (l.css3) { 1082 var r = 'translate3d(-' + o.round(i.left) + 'px, 0px, 0px)' 1083 ;(zn(e.find(W)).css(ft(r)), 1084 (Zt = setTimeout( 1085 function () { 1086 t && On(n) 1087 }, 1088 l.scrollingSpeed, 1089 l.easing 1090 ))) 1091 } else 1092 e.animate( 1093 { 1094 scrollLeft: o.round(i.left), 1095 }, 1096 l.scrollingSpeed, 1097 l.easing, 1098 function () { 1099 t && On(n) 1100 } 1101 ) 1102 } 1103 1104 function En(e, n) { 1105 ;(e.find(v).removeClass(p), e.find('li').eq(n).find('a').addClass(p)) 1106 } 1107 1108 function Rn() { 1109 if ((Ht.trigger('onResize'), Hn(), Et)) { 1110 var n = e(t.activeElement) 1111 if (!n.is('textarea') && !n.is('input') && !n.is('select')) { 1112 var i = ne.height() 1113 o.abs(i - lo) > (20 * o.max(lo, i)) / 100 && (myResize(!0), (lo = i)) 1114 } 1115 } else { 1116 myResize(!0) 1117 } 1118 } 1119 1120 function Hn() { 1121 var e = l.responsive || l.responsiveWidth, 1122 n = l.responsiveHeight, 1123 t = e && ne.outerWidth() < e, 1124 o = n && ne.height() < n 1125 e && n ? ve(t || o) : e ? ve(t) : n && ve(o) 1126 } 1127 1128 function zn(e) { 1129 var n = 'all ' + l.scrollingSpeed + 'ms ' + l.easingcss3 + ', width 0s, height 0s' 1130 return ( 1131 e.removeClass(d), 1132 e.css({ 1133 '-webkit-transition': n, 1134 transition: n, 1135 }) 1136 ) 1137 } 1138 1139 function Bn(e) { 1140 return e.addClass(d) 1141 } 1142 1143 function Dn(n, t) { 1144 l.navigation && 1145 (e(O).find(v).removeClass(p), 1146 n 1147 ? e(O) 1148 .find('a[href="#' + n + '"]') 1149 .addClass(p) 1150 : e(O).find('li').eq(t).find('a').addClass(p)) 1151 } 1152 1153 function Pn(n) { 1154 l.menu && 1155 (e(l.menu).find(v).removeClass(p), 1156 e(l.menu) 1157 .find('[data-menuanchor="' + n + '"]') 1158 .addClass(p)) 1159 } 1160 1161 function Fn(e, n) { 1162 ;(Pn(e), Dn(e, n)) 1163 } 1164 1165 function Vn(n) { 1166 var t = e(x).index(y), 1167 o = n.index(y) 1168 return t == o ? 'none' : t > o ? 'up' : 'down' 1169 } 1170 1171 function Wn(e, n) { 1172 return e == n ? 'none' : e > n ? 'left' : 'right' 1173 } 1174 1175 function jn(e) { 1176 if (!e.hasClass('fp-noscroll')) { 1177 e.css('overflow', 'hidden') 1178 var n, 1179 t = l.scrollOverflowHandler, 1180 o = t.wrapContent(), 1181 i = e.closest(y), 1182 r = t.scrollable(e) 1183 r.length ? (n = t.scrollHeight(e)) : ((n = e.get(0).scrollHeight), l.verticalCentered && (n = e.find(T).get(0).scrollHeight)) 1184 var a = Yn(i) 1185 ;(n > a ? (r.length ? t.update(e, a) : (l.verticalCentered ? e.find(T).wrapInner(o) : e.wrapInner(o), t.create(e, a, l.scrollOverflowOptions))) : t.remove(e), e.css('overflow', '')) 1186 } 1187 } 1188 1189 function Zn(e) { 1190 e.hasClass(j) || e.addClass(j).wrapInner('<div class="' + A + '"/>') 1191 } 1192 1193 function Yn(e) { 1194 var n = Ce(e) 1195 if (l.paddingTop || l.paddingBottom) { 1196 var t = e 1197 t.hasClass(w) || (t = e.closest(y)) 1198 var o = parseInt(t.css('padding-top')) + parseInt(t.css('padding-bottom')) 1199 n -= o 1200 } 1201 return n 1202 } 1203 1204 function Nn(e, n) { 1205 ;(n ? zn(Ht) : Bn(Ht), 1206 clearTimeout(Ut), 1207 Ht.css(ft(e)), 1208 (Ut = setTimeout(function () { 1209 Ht.removeClass(d) 1210 }, 10))) 1211 } 1212 1213 function qn(n) { 1214 if (!n) return [] 1215 var t = Ht.find(y + '[data-anchor="' + n + '"]') 1216 return (t.length || (t = e(y).eq(n - 1)), t) 1217 } 1218 1219 function Un(e, n) { 1220 var t = n.find(F), 1221 o = t.find(B + '[data-anchor="' + e + '"]') 1222 return (o.length || (o = t.find(B).eq(e)), o) 1223 } 1224 1225 function Gn(e, n) { 1226 var t = qn(e) 1227 t.length && 1228 ('undefined' == typeof n && (n = 0), 1229 e === It || t.hasClass(p) 1230 ? Xn(t, n) 1231 : _e(t, function () { 1232 Xn(t, n) 1233 })) 1234 } 1235 1236 function Xn(e, n) { 1237 if ('undefined' != typeof n) { 1238 var t = e.find(F), 1239 o = Un(n, e) 1240 o.length && kn(t, o) 1241 } 1242 } 1243 1244 function Qn(e, n) { 1245 e.append('<div class="' + Z + '"><ul></ul></div>') 1246 var t = e.find(Y) 1247 t.addClass(l.slidesNavPosition) 1248 for (var o = 0; o < n; o++) t.find('ul').append('<li><a href="#"><span></span></a></li>') 1249 ;(t.css('margin-left', '-' + t.width() / 2 + 'px'), t.find('li').first().find('a').addClass(p)) 1250 } 1251 1252 function _n(e, n, t, o) { 1253 var i = '' 1254 ;(l.anchors.length && !l.lockAnchors && (e ? ('undefined' != typeof t && (i = t), 'undefined' == typeof n && (n = e), (kt = n), Kn(i + '/' + n)) : 'undefined' != typeof e ? ((kt = n), Kn(t)) : Kn(t)), $n()) 1255 } 1256 1257 function Kn(e) { 1258 /*if (l.recordHistory) location.hash = e 1259 else if (Et || Rt) n.history.replaceState(i, i, '#' + e) 1260 else { 1261 var t = n.location.href.split('#')[0] 1262 n.location.replace(t + '#' + e) 1263 }*/ 1264 } 1265 1266 function Jn(e) { 1267 var n = e.data('anchor'), 1268 t = e.index() 1269 return ('undefined' == typeof n && (n = t), n) 1270 } 1271 1272 function $n() { 1273 var n = e(x), 1274 t = n.find(D), 1275 o = Jn(n), 1276 i = Jn(t), 1277 r = String(o) 1278 ;(t.length && (r = r + '-' + i), (r = r.replace('/', '-').replace('#', ''))) 1279 var a = new RegExp('\\b\\s?' + h + '-[^\\s]+\\b', 'g') 1280 ;((At[0].className = At[0].className.replace(a, '')), At.addClass(h + '-' + r)) 1281 } 1282 1283 function et() { 1284 var e, 1285 o = t.createElement('p'), 1286 r = { 1287 webkitTransform: '-webkit-transform', 1288 OTransform: '-o-transform', 1289 msTransform: '-ms-transform', 1290 MozTransform: '-moz-transform', 1291 transform: 'transform', 1292 } 1293 t.body.insertBefore(o, null) 1294 for (var a in r) o.style[a] !== i && ((o.style[a] = 'translate3d(1px,1px,1px)'), (e = n.getComputedStyle(o).getPropertyValue(r[a]))) 1295 return (t.body.removeChild(o), e !== i && e.length > 0 && 'none' !== e) 1296 } 1297 1298 function nt() { 1299 t.addEventListener ? (t.removeEventListener('mousewheel', Ue, !1), t.removeEventListener('wheel', Ue, !1), t.removeEventListener('MozMousePixelScroll', Ue, !1)) : t.detachEvent('onmousewheel', Ue) 1300 } 1301 1302 function tt() { 1303 var e, 1304 o = '' 1305 n.addEventListener ? (e = 'addEventListener') : ((e = 'attachEvent'), (o = 'on')) 1306 var r = 'onwheel' in t.createElement('div') ? 'wheel' : t.onmousewheel !== i ? 'mousewheel' : 'DOMMouseScroll' 1307 'DOMMouseScroll' == r ? t[e](o + 'MozMousePixelScroll', Ue, { passive: false }) : t[e](o + r, Ue, { passive: false }) 1308 } 1309 1310 function ot() { 1311 Ht.on('mousedown', wn).on('mouseup', yn) 1312 } 1313 1314 function it() { 1315 Ht.off('mousedown', wn).off('mouseup', yn) 1316 } 1317 1318 function rt() { 1319 ;(Et || Rt) && (l.autoScrolling && At.off(Xt.touchmove).on(Xt.touchmove, We), e(a).off(Xt.touchstart).on(Xt.touchstart, Ne).off(Xt.touchmove).on(Xt.touchmove, je)) 1320 } 1321 1322 function at() { 1323 ;(Et || Rt) && e(a).off(Xt.touchstart).off(Xt.touchmove) 1324 } 1325 1326 function lt() { 1327 var e 1328 return (e = n.PointerEvent 1329 ? { 1330 down: 'pointerdown', 1331 move: 'pointermove', 1332 } 1333 : { 1334 down: 'MSPointerDown', 1335 move: 'MSPointerMove', 1336 }) 1337 } 1338 1339 function st(e) { 1340 var n = [] 1341 return ((n.y = 'undefined' != typeof e.pageY && (e.pageY || e.pageX) ? e.pageY : e.touches[0].pageY), (n.x = 'undefined' != typeof e.pageX && (e.pageY || e.pageX) ? e.pageX : e.touches[0].pageX), Rt && Ye(e) && l.scrollBar && ((n.y = e.touches[0].pageY), (n.x = e.touches[0].pageX)), n) 1342 } 1343 1344 function ct(e, n) { 1345 ;(X(0, 'internal'), 'undefined' != typeof n && (Bt = !0), kn(e.closest(F), e), 'undefined' != typeof n && (Bt = !1), X(Qt.scrollingSpeed, 'internal')) 1346 } 1347 1348 function dt(e) { 1349 var n = o.round(e) 1350 if (l.css3 && l.autoScrolling && !l.scrollBar) { 1351 var t = 'translate3d(0px, -' + n + 'px, 0px)' 1352 Nn(t, !1) 1353 } else l.autoScrolling && !l.scrollBar ? Ht.css('top', -n) : Ct.scrollTop(n) 1354 } 1355 1356 function ft(e) { 1357 return { 1358 '-webkit-transform': e, 1359 '-moz-transform': e, 1360 '-ms-transform': e, 1361 transform: e, 1362 } 1363 } 1364 1365 function ut(n, t, o) { 1366 'all' !== t 1367 ? (Vt[o][t] = n) 1368 : e.each(Object.keys(Vt[o]), function (e, t) { 1369 Vt[o][t] = n 1370 }) 1371 } 1372 1373 function ht(n) { 1374 ;(Ht.trigger('destroy', [n]), 1375 s(!1, 'internal'), 1376 ae(!1), 1377 le(!1), 1378 Ht.addClass(f),
1379 clearTimeout(Zt), 1380 clearTimeout(jt), 1381 clearTimeout(Wt), 1382 clearTimeout(Yt), 1383 clearTimeout(Nt), 1384 ne.off('scroll', Be).off('hashchange', vn).off('resize', Rn), 1385 te 1386 .off('click touchstart', O + ' a') 1387 .off('mouseenter', O + ' li') 1388 .off('mouseleave', O + ' li') 1389 .off('click touchstart', N) 1390 .off('mouseover', l.normalScrollElements) 1391 .off('mouseout', l.normalScrollElements), 1392 e(y).off('click touchstart', U), 1393 gt('dragAndMove') && Tt.dragAndMove.destroy(), 1394 clearTimeout(Zt), 1395 clearTimeout(jt), 1396 n && pt()) 1397 } 1398 1399 function pt() { 1400 // removed the following, because it was causing the page to scroll up when closing a projectoverlay: 1401 // dt(0), 1402 if (window.layData != undefined && window.layData.projects_overlays != undefined && window.utility_controller.isProjectsOverlayEnabled()) { 1403 } else { 1404 // but im using it again here so other fullscreen pages work correctly 1405 dt(0) 1406 } 1407 ;(Ht.find('img[data-src], source[data-src], audio[data-src], iframe[data-src]').each(function () { 1408 on(e(this), 'src') 1409 }), 1410 Ht.find('img[data-srcset]').each(function () { 1411 on(e(this), 'srcset') 1412 }), 1413 e(O + ', ' + Y + ', ' + U).remove(), 1414 e(y).css({ 1415 height: '', 1416 'background-color': '', 1417 padding: '', 1418 }), 1419 e(B).css({ 1420 width: '', 1421 }), 1422 Ht.css({ 1423 height: '', 1424 position: '', 1425 '-ms-touch-action': '', 1426 'touch-action': '', 1427 }), 1428 Ct.css({ 1429 overflow: '', 1430 height: '', 1431 }), 1432 e('html').removeClass(u), 1433 At.removeClass(c), 1434 e.each(At.get(0).className.split(/\s+/), function (e, n) { 1435 0 === n.indexOf(h) && At.removeClass(n) 1436 }), 1437 e(y + ', ' + B).each(function () { 1438 ;(l.scrollOverflowHandler.remove(e(this)), e(this).removeClass(j + ' ' + p)) 1439 }), 1440 vt(Ht), 1441 Ht.find(T + ', ' + W + ', ' + F).each(function () { 1442 e(this).replaceWith(this.childNodes) 1443 })) 1444 // removed the following, because it was causing the page to scroll up when closing a projectoverlay: 1445 // ,Ct.scrollTop(0) 1446 if (window.utility_controller != undefined && window.utility_controller.isProjectsOverlayEnabled != undefined && window.utility_controller.isProjectsOverlayEnabled()) { 1447 } else { 1448 // but im using it again here so other fullscreen pages work correctly 1449 Ct.scrollTop(0) 1450 } 1451 var n = [w, z, V] 1452 e.each(n, function (n, t) { 1453 e('.' + t).removeClass(t) 1454 }) 1455 } 1456 1457 function vt(e) { 1458 return e.css({ 1459 '-webkit-transition': 'none', 1460 transition: 'none', 1461 }) 1462 } 1463 1464 function gt(e) { 1465 return null !== l[e] && 'object' == typeof l[e] ? l[e].enabled && Tt[e] : l[e] && Tt[e] 1466 } 1467 1468 function mt(e, n, t) { 1469 if (gt(e)) return Tt[e][n](t) 1470 } 1471 1472 function St() { 1473 return gt('dragAndMove') && Tt.dragAndMove.isAnimating 1474 } 1475 1476 function wt() { 1477 return gt('dragAndMove') && Tt.dragAndMove.isGrabbing 1478 } 1479 1480 function yt(e, n, t) { 1481 ;((l[e] = n), 'internal' !== t && (Qt[e] = n)) 1482 } 1483 1484 function xt() { 1485 return e('html').hasClass(u) 1486 ? void bt('error', 'Fullpage.js can only be initialized once and you are doing it multiple times!') 1487 : (l.continuousVertical && (l.loopTop || l.loopBottom) && ((l.continuousVertical = !1), bt('warn', 'Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled')), 1488 l.scrollBar && l.scrollOverflow && bt('warn', 'Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox'), 1489 !l.continuousVertical || (!l.scrollBar && l.autoScrolling) || ((l.continuousVertical = !1), bt('warn', 'Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled')), 1490 void e.each(l.anchors, function (n, t) { 1491 var o = te.find('[name]').filter(function () { 1492 return e(this).attr('name') && e(this).attr('name').toLowerCase() == t.toLowerCase() 1493 }), 1494 i = te.find('[id]').filter(function () { 1495 return e(this).attr('id') && e(this).attr('id').toLowerCase() == t.toLowerCase() 1496 }) 1497 ;(i.length || o.length) && (bt('error', 'data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).'), i.length && bt('error', '"' + t + '" is is being used by another element `id` property'), o.length && bt('error', '"' + t + '" is is being used by another element `name` property')) 1498 })) 1499 } 1500 1501 function bt(e, n) { 1502 console && console[e] && console[e]('fullPage: ' + n) 1503 } 1504 if (e('html').hasClass(u)) return void xt() 1505 var Ct = e('html, body'), 1506 At = e('body'), 1507 Tt = e.fn.fullpage 1508 l = e.extend( 1509 !0, 1510 { 1511 menu: !1, 1512 anchors: [], 1513 lockAnchors: !1, 1514 navigation: !1, 1515 navigationPosition: 'right', 1516 navigationTooltips: [], 1517 showActiveTooltip: !1, 1518 slidesNavigation: !1, 1519 slidesNavPosition: 'bottom', 1520 scrollBar: !1, 1521 hybrid: !1, 1522 css3: !0, 1523 scrollingSpeed: 700, 1524 autoScrolling: !0, 1525 fitToSection: !0, 1526 fitToSectionDelay: 1e3, 1527 easing: 'easeInOutCubic', 1528 easingcss3: 'ease', 1529 loopBottom: !1, 1530 loopTop: !1, 1531 loopHorizontal: !0, 1532 continuousVertical: !1, 1533 continuousHorizontal: !1, 1534 scrollHorizontally: !1, 1535 interlockedSlides: !1, 1536 dragAndMove: !1, 1537 offsetSections: !1, 1538 resetSliders: !1, 1539 fadingEffect: !1, 1540 normalScrollElements: null, 1541 scrollOverflow: !1, 1542 scrollOverflowReset: !1, 1543 scrollOverflowHandler: ie, 1544 scrollOverflowOptions: null, 1545 touchSensitivity: 5, 1546 normalScrollElementTouchThreshold: 5, 1547 bigSectionsDestination: null, 1548 keyboardScrolling: !0, 1549 animateAnchor: !0, 1550 recordHistory: !0, 1551 controlArrows: !0, 1552 controlArrowColor: '#fff', 1553 verticalCentered: !0, 1554 sectionsColor: [], 1555 paddingTop: 0, 1556 paddingBottom: 0, 1557 fixedElements: null, 1558 responsive: 0, 1559 responsiveWidth: 0, 1560 responsiveHeight: 0, 1561 responsiveSlides: !1, 1562 parallax: !1, 1563 parallaxOptions: { 1564 type: 'reveal', 1565 percentage: 62, 1566 property: 'translate', 1567 }, 1568 sectionSelector: S, 1569 slideSelector: H, 1570 afterLoad: null, 1571 onLeave: null, 1572 afterRender: null, 1573 afterResize: null, 1574 afterReBuild: null, 1575 afterSlideLoad: null, 1576 onSlideLeave: null, 1577 afterResponsive: null, 1578 lazyLoading: !0, 1579 }, 1580 l 1581 ) 1582 var It, 1583 kt, 1584 Mt, 1585 Ot, 1586 Lt = !1, 1587 Et = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/), 1588 Rt = 'ontouchstart' in n || navigator.msMaxTouchPoints > 0 || navigator.maxTouchPoints, 1589 Ht = e(this), 1590 zt = ne.height(), 1591 Bt = !1, 1592 Dt = !0, 1593 Pt = !0, 1594 Ft = [], 1595 Vt = {} 1596 ;((Vt.m = { 1597 up: !0, 1598 down: !0, 1599 left: !0, 1600 right: !0, 1601 }), 1602 (Vt.k = e.extend(!0, {}, Vt.m))) 1603 var Wt, 1604 jt, 1605 Zt, 1606 Yt, 1607 Nt, 1608 qt, 1609 Ut, 1610 Gt = lt(), 1611 Xt = { 1612 touchmove: 'ontouchmove' in n ? 'touchmove' : Gt.move, 1613 touchstart: 'ontouchstart' in n ? 'touchstart' : Gt.down, 1614 }, 1615 Qt = e.extend(!0, {}, l), 1616 _t = {} 1617 ;(xt(), 1618 (oe.click = Rt),
1619 (l.scrollOverflowOptions = e.extend(oe, l.scrollOverflowOptions)), 1620 e.extend(e.easing, { 1621 easeInOutCubic: function (e, n, t, o, i) { 1622 return (n /= i / 2) < 1 ? (o / 2) * n * n * n + t : (o / 2) * ((n -= 2) * n * n + 2) + t 1623 }, 1624 }), 1625 e(this).length && ((Tt.setAutoScrolling = s), (Tt.setRecordHistory = q), (Tt.setScrollingSpeed = X), (Tt.setFitToSection = K), (Tt.setLockAnchors = J), (Tt.setMouseWheelScrolling = re), (Tt.setAllowScrolling = ae), (Tt.setKeyboardScrolling = le), (Tt.moveSectionUp = se), (Tt.moveSectionDown = ce), (Tt.silentMoveTo = de), (Tt.moveTo = fe), (Tt.moveSlideRight = ue), (Tt.moveSlideLeft = he), (Tt.fitToSection = Pe), (Tt.reBuild = myResize), (Tt.setResponsive = ve), (Tt.getFullpageData = ge), (Tt.destroy = ht), (Tt.landscapeScroll = kn), we('continuousHorizontal'), we('scrollHorizontally'), we('resetSliders'), we('interlockedSlides'), we('responsiveSlides'), we('fadingEffect'), we('dragAndMove'), we('offsetSections'), we('scrollOverflowReset'), we('parallax'), gt('dragAndMove') && Tt.dragAndMove.init(), me(), Se(), gt('dragAndMove') && Tt.dragAndMove.turnOffTouch())) 1626 var Kt = !1, 1627 Jt = 0, 1628 $t = 0, 1629 eo = 0, 1630 no = 0, 1631 to = 0 1632 !(function () { 1633 var e = n.requestAnimationFrame || n.mozRequestAnimationFrame || n.webkitRequestAnimationFrame || n.msRequestAnimationFrame 1634 n.requestAnimationFrame = e 1635 })() 1636 var oo = new Date().getTime(), 1637 io = !1, 1638 ro = 0, 1639 ao = 0, 1640 lo = zt 1641 }), 1642 'undefined' != typeof IScroll && 1643 ((IScroll.prototype.wheelOn = function () { 1644 ;(this.wrapper.addEventListener('wheel', this), this.wrapper.addEventListener('mousewheel', this), this.wrapper.addEventListener('DOMMouseScroll', this)) 1645 }), 1646 (IScroll.prototype.wheelOff = function () { 1647 ;(this.wrapper.removeEventListener('wheel', this), this.wrapper.removeEventListener('mousewheel', this), this.wrapper.removeEventListener('DOMMouseScroll', this)) 1648 }))) 1649 var ie = { 1650 refreshId: null, 1651 iScrollInstances: [], 1652 toggleWheel: function (n) { 1653 var t = e(x).find(s) 1654 t.each(function () { 1655 var t = e(this).data('iscrollInstance') 1656 'undefined' != typeof t && t && (n ? t.wheelOn() : t.wheelOff()) 1657 }) 1658 }, 1659 onLeave: function () { 1660 ie.toggleWheel(!1) 1661 }, 1662 beforeLeave: function () { 1663 ie.onLeave() 1664 }, 1665 afterLoad: function () { 1666 ie.toggleWheel(!0) 1667 // is triggered when a vertical slide is shown 1668 window.laytheme.emit('magnetic_slides_afterLoad') 1669 }, 1670 create: function (n, t, o) { 1671 var i = n.find(s) 1672 ;(i.height(t), 1673 i.each(function () { 1674 var n = e(this), 1675 t = n.data('iscrollInstance') 1676 ;(t && 1677 e.each(ie.iScrollInstances, function () { 1678 e(this).destroy() 1679 }), 1680 (t = new IScroll(n.get(0), o)), 1681 t.on('scrollEnd', function () { 1682 ;((this.fp_isAtTop = this.y > -30), (this.fp_isAtEnd = this.y - this.maxScrollY < 30)) 1683 }), 1684 ie.iScrollInstances.push(t), 1685 t.wheelOff(), 1686 n.data('iscrollInstance', t)) 1687 })) 1688 }, 1689 isScrolled: function (e, n) { 1690 var t = n.data('iscrollInstance') 1691 return !t || ('top' === e ? t.y >= 0 && !n.scrollTop() : 'bottom' === e ? 0 - t.y + n.scrollTop() + 1 + n.innerHeight() >= n[0].scrollHeight : void 0) 1692 }, 1693 scrollable: function (e) { 1694 return e.find(F).length ? e.find(D).find(s) : e.find(s) 1695 }, 1696 scrollHeight: function (e) { 1697 return e.find(s).children().first().get(0).scrollHeight 1698 }, 1699 remove: function (e) { 1700 var n = e.find(s) 1701 if (n.length) { 1702 var t = n.data('iscrollInstance') 1703 ;(t && t.destroy(), n.data('iscrollInstance', null)) 1704 } 1705 e.find(s).children().first().children().first().unwrap().unwrap() 1706 }, 1707 update: function (n, t) { 1708 ;(clearTimeout(ie.refreshId), 1709 (ie.refreshId = setTimeout(function () { 1710 e.each(ie.iScrollInstances, function () { 1711 e(this).get(0).refresh() 1712 }) 1713 }, 150)), 1714 n.find(s).css('height', '').parent().css('height', '')) 1715 }, 1716 wrapContent: function () { 1717 return '<div class="' + l + '"><div class="fp-scroller"></div></div>' 1718 }, 1719 } 1720})
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.