kcc-gem-theme 1.84.96 → 1.86.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/_data/navigation.yml +0 -1
  3. data/_includes/body.html +1 -6
  4. data/_includes/breadcrumbs.html +2 -5
  5. data/_includes/contacts.html +22 -6
  6. data/_includes/footer.html +79 -241
  7. data/_includes/hash/theme_hash.yml +1 -1
  8. data/_includes/hero-slider.html +24 -12
  9. data/_includes/nav-global.html +164 -101
  10. data/_includes/preconnect.html +15 -5
  11. data/_includes/scripts/custom.html +4 -2
  12. data/_includes/scripts/kcc-theme.html +1 -1
  13. data/_includes/scripts/vendor-cdn.html +3 -1
  14. data/_includes/styles/main.html +5 -7
  15. data/_includes/styles/vendor.html +4 -2
  16. data/_layouts/default.html +2 -3
  17. data/assets/img/facebook.svg +1 -0
  18. data/assets/img/instagram.svg +1 -0
  19. data/assets/img/kankakee-community-college-blue.svg +1 -0
  20. data/assets/img/linkedin.svg +1 -0
  21. data/assets/img/pinterest.svg +1 -0
  22. data/assets/img/twitter.svg +1 -0
  23. data/assets/img/youtube.svg +1 -0
  24. data/assets/js/dist/109.8e60ff72fdb2d997406c.bundle.js +1 -0
  25. data/assets/js/dist/279.8e60ff72fdb2d997406c.bundle.js +1 -0
  26. data/assets/js/dist/45.8e60ff72fdb2d997406c.bundle.js +1 -0
  27. data/assets/js/dist/504.8e60ff72fdb2d997406c.bundle.js +1 -0
  28. data/assets/js/dist/57.8e60ff72fdb2d997406c.bundle.js +1 -0
  29. data/assets/js/dist/582.8e60ff72fdb2d997406c.bundle.js +1 -0
  30. data/assets/js/dist/647.8e60ff72fdb2d997406c.bundle.js +1 -0
  31. data/assets/js/dist/719.8e60ff72fdb2d997406c.bundle.js +1 -0
  32. data/assets/js/dist/787.8e60ff72fdb2d997406c.bundle.js +1 -0
  33. data/assets/js/dist/909.8e60ff72fdb2d997406c.bundle.js +1 -0
  34. data/assets/js/dist/936.8e60ff72fdb2d997406c.bundle.js +1 -0
  35. data/assets/js/dist/971.8e60ff72fdb2d997406c.bundle.js +1 -0
  36. data/assets/js/dist/971.8e60ff72fdb2d997406c.css +1 -0
  37. data/assets/js/dist/theme.8e60ff72fdb2d997406c.bundle.js +1 -0
  38. data/assets/js/dist/theme.8e60ff72fdb2d997406c.css +1 -0
  39. data/assets/js/{theme/nav/nav → nav}/closeNavOnClick.js +0 -0
  40. data/assets/js/{theme/nav/nav → nav}/highlightCurrentNav.js +0 -0
  41. data/assets/js/{theme/nav/nav → nav}/moveSearchIcon.js +0 -0
  42. data/assets/js/{theme/nav/nav → nav}/nav.js +3 -2
  43. data/assets/js/{theme/nav/nav → nav}/searchToggleNav.js +0 -0
  44. data/assets/js/{theme/nav/nav → nav}/toggleNavSearchDropdownOnWindowResize.js +0 -0
  45. data/assets/js/{theme/src → src}/addClassToOpenNavbar.js +0 -0
  46. data/assets/js/{theme/alerts → src}/alerts.js +4 -2
  47. data/assets/js/src/all.js +74 -0
  48. data/assets/js/{theme/alerts → src}/cacheResponse.js +0 -0
  49. data/assets/js/{theme/alerts → src}/campusAlertsSheetsAPI.js +0 -0
  50. data/assets/js/{theme/alerts → src}/checkForPrefersReducedMotion.js +0 -0
  51. data/assets/js/{theme/alerts → src}/contentHashLink.js +0 -0
  52. data/assets/js/{theme/alerts → src}/createAlertsHtml.js +0 -0
  53. data/assets/js/src/footerDate.js +13 -0
  54. data/assets/js/{theme/alerts → src}/getCachedResponse.js +0 -0
  55. data/assets/js/{theme/src → src}/lazyLoad.js +0 -0
  56. data/assets/js/{theme/alerts → src}/parseMarkdownToHTML.js +0 -0
  57. data/assets/js/{theme/alerts → src}/simpleSetSheetParameters.js +0 -0
  58. data/assets/js/{theme/src → src}/sliders.js +0 -0
  59. data/assets/js/{theme/src → src}/test.js +0 -0
  60. data/assets/js/src/translate.js +62 -0
  61. data/assets/js/src/walkText.js +31 -0
  62. data/assets/js/src/wrapPowerText.js +11 -0
  63. data/assets/js/{theme/src → src}/ytEmbed.js +0 -0
  64. data/assets/scss/0-tools/_google-translate-overrides.scss +53 -40
  65. data/assets/scss/1-base/_svg.scss +3 -0
  66. data/assets/scss/1-base/_typography.scss +2 -1
  67. data/assets/scss/2-modules/_accordion.scss +2 -2
  68. metadata +52 -80
  69. data/_data/cache_bust_css.yml +0 -1
  70. data/_includes/alerts.html +0 -2
  71. data/_includes/benefits.html +0 -98
  72. data/_includes/bottom-action-call.html +0 -10
  73. data/_includes/check-mark.svg +0 -17
  74. data/_includes/emergency-alert.html +0 -9
  75. data/_includes/scripts/emergency-alerts.html +0 -2
  76. data/_includes/targetx-form.html +0 -370
  77. data/_includes/targetx-head.html +0 -48
  78. data/_layouts/default-core.html +0 -31
  79. data/_layouts/default-landing.html +0 -31
  80. data/_layouts/landing-page.html +0 -8
  81. data/_layouts/landing-simple.html +0 -29
  82. data/assets/css/kcc-theme.css +0 -1
  83. data/assets/css/translate.css +0 -1
  84. data/assets/img/facebook-f_white.svg +0 -1
  85. data/assets/img/instagram-white.svg +0 -1
  86. data/assets/img/linkedin-white.svg +0 -1
  87. data/assets/img/pinterest-p_white.svg +0 -1
  88. data/assets/img/twitter-white.svg +0 -1
  89. data/assets/img/youtube-white.svg +0 -1
  90. data/assets/js/dist/main.bundle.js +0 -1
  91. data/assets/js/theme/dist/alerts.bundle.js +0 -1
  92. data/assets/js/theme/dist/kcc-mega-nav.bundle.js +0 -1
  93. data/assets/js/theme/dist/kcc-nav.bundle.js +0 -1
  94. data/assets/js/theme/dist/kcc-theme-landing.bundle.js +0 -1
  95. data/assets/js/theme/dist/kcc-theme.bundle.js +0 -1
  96. data/assets/js/theme/landing/landing.js +0 -5
  97. data/assets/js/theme/landing/landingPage.js +0 -49
  98. data/assets/js/theme/nav/megaNav/closeMegaNavOnClick.js +0 -50
  99. data/assets/js/theme/nav/megaNav/googleCustomSearch.js +0 -112
  100. data/assets/js/theme/nav/megaNav/megaNav.js +0 -13
  101. data/assets/js/theme/nav/megaNav/searchToggleMegaNav.js +0 -96
  102. data/assets/js/theme/nav/megaNav/toggleDropdownOnWindowResize.js +0 -78
  103. data/assets/js/theme/nav/megaNav/toggleDropdownOnWindowResizeTwo.js +0 -54
  104. data/assets/js/theme/nav/megaNav/toggleMenuOnWindowResize.js +0 -26
  105. data/assets/js/theme/nav/megaNav/underlineCurrentSite.js +0 -22
  106. data/assets/js/theme/src/all.js +0 -36
  107. data/assets/js/theme/src/footerDate.js +0 -7
  108. data/assets/js/theme/src/translate.js +0 -56
  109. data/assets/js/theme/src/walkText.js +0 -27
  110. data/assets/js/theme/src/wrapPowerText.js +0 -21
  111. data/assets/vendor/css/ajax-loader.gif +0 -0
  112. data/assets/vendor/css/bootstrap.min.css +0 -7
  113. data/assets/vendor/css/fonts/slick.eot +0 -0
  114. data/assets/vendor/css/fonts/slick.ttf +0 -0
  115. data/assets/vendor/css/fonts/slick.woff +0 -0
  116. data/assets/vendor/css/mli7lsm.css +0 -22
  117. data/assets/vendor/css/slick-theme.min.css +0 -8
  118. data/assets/vendor/css/slick.min.css +0 -8
  119. data/assets/vendor/font/slick.woff +0 -0
  120. data/assets/vendor/js/bootstrap.min.js +0 -7
  121. data/assets/vendor/js/jquery.min.js +0 -2
  122. data/assets/vendor/js/popper.min.js +0 -5
  123. data/assets/vendor/js/slick.min.js +0 -1
@@ -1 +0,0 @@
1
- !function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=166)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e(83))},function(t,n,e){var r=e(0),o=e(31),i=e(4),u=e(29),c=e(33),a=e(55),f=o("wks"),l=r.Symbol,s=a?l:l&&l.withoutSetter||u;t.exports=function(t){return i(f,t)||(c&&i(l,t)?f[t]=l[t]:f[t]=s("Symbol."+t)),f[t]}},function(t,n,e){var r=e(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(0),o=e(27).f,i=e(9),u=e(11),c=e(28),a=e(49),f=e(54);t.exports=function(t,n){var e,l,s,p,v,d=t.target,g=t.global,h=t.stat;if(e=g?r:h?r[d]||c(d,{}):(r[d]||{}).prototype)for(l in n){if(p=n[l],s=t.noTargetGet?(v=o(e,l))&&v.value:e[l],!f(g?l:d+(h?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(e,l,p,t)}}},function(t,n,e){var r=e(8),o=e(45),i=e(2),u=e(25),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(i(t),n=u(n,!0),i(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(8),o=e(7),i=e(19);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=!1},function(t,n,e){var r=e(0),o=e(9),i=e(4),u=e(28),c=e(39),a=e(18),f=a.get,l=a.enforce,s=String(String).split("String");(t.exports=function(t,n,e,c){var a=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),l(e).source=s.join("string"==typeof n?n:"")),t!==r?(a?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=e:o(t,n,e)):f?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},function(t,n,e){var r=e(44),o=e(17);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(50),o=e(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][n]||o[t]&&o[t][n]}},function(t,n,e){var r=e(17);t.exports=function(t){return Object(r(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r,o,i,u=e(73),c=e(0),a=e(5),f=e(9),l=e(4),s=e(26),p=e(23),v=c.WeakMap;if(u){var d=new v,g=d.get,h=d.has,x=d.set;r=function(t,n){return x.call(d,t,n),n},o=function(t){return g.call(d,t)||{}},i=function(t){return h.call(d,t)}}else{var y=s("state");p[y]=!0,r=function(t,n){return f(t,y,n),n},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},,,function(t,n){t.exports={}},,function(t,n,e){var r=e(5);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(31),o=e(29),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(8),o=e(48),i=e(19),u=e(12),c=e(25),a=e(4),f=e(45),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=u(t),n=c(n,!0),f)try{return l(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(0),o=e(9);t.exports=function(t,n){try{o(r,t,n)}catch(e){r[t]=n}return n}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){"use strict";var r,o,i=e(47),u=e(80),c=RegExp.prototype.exec,a=String.prototype.replace,f=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),s=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||s)&&(f=function(t){var n,e,r,o,u=this,f=s&&u.sticky,v=i.call(u),d=u.source,g=0,h=t;return f&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),h=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(d="(?: "+d+")",h=" "+h,g++),e=new RegExp("^(?:"+d+")",v)),p&&(e=new RegExp("^"+d+"$(?!\\s)",v)),l&&(n=u.lastIndex),r=c.call(f?e:u,h),f?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=u.lastIndex,u.lastIndex+=r[0].length):u.lastIndex=0:l&&r&&(u.lastIndex=u.global?r.index+r[0].length:n),p&&r&&r.length>1&&a.call(r[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=f},function(t,n,e){var r=e(10),o=e(46);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(51),o=e(37).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(3);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},,function(t,n,e){"use strict";var r=e(6),o=e(30);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,function(t,n,e){var r=e(46),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},,function(t,n,e){var r=e(0),o=e(5),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},,,function(t,n,e){var r=e(3),o=e(16),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(8),o=e(3),i=e(41);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(0),o=e(28),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){"use strict";var r=e(2);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(4),o=e(84),i=e(27),u=e(7);t.exports=function(t,n){for(var e=o(n),c=u.f,a=i.f,f=0;f<e.length;f++){var l=e[f];r(t,l)||c(t,l,a(n,l))}}},function(t,n,e){var r=e(0);t.exports=r},function(t,n,e){var r=e(4),o=e(12),i=e(67).indexOf,u=e(23);t.exports=function(t,n){var e,c=o(t),a=0,f=[];for(e in c)!r(u,e)&&r(c,e)&&f.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(20),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(3),o=/#|\.prototype\./,i=function(t,n){var e=c[u(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(33);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},,function(t,n,e){var r=e(20),o=e(17),i=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},,,,,,,function(t,n,e){"use strict";var r=e(65),o=e(2),i=e(15),u=e(13),c=e(20),a=e(17),f=e(92),l=e(66),s=Math.max,p=Math.min,v=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,n,e,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=r.REPLACE_KEEPS_$0,y=h?"$":"$0";return[function(e,r){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,r){if(!h&&x||"string"==typeof r&&-1===r.indexOf(y)){var i=e(n,t,this,r);if(i.done)return i.value}var a=o(t),v=String(this),d="function"==typeof r;d||(r=String(r));var g=a.global;if(g){var m=a.unicode;a.lastIndex=0}for(var S=[];;){var E=l(a,v);if(null===E)break;if(S.push(E),!g)break;""===String(E[0])&&(a.lastIndex=f(v,u(a.lastIndex),m))}for(var O,w="",P=0,_=0;_<S.length;_++){E=S[_];for(var j=String(E[0]),I=s(p(c(E.index),v.length),0),R=[],T=1;T<E.length;T++)R.push(void 0===(O=E[T])?O:String(O));var A=E.groups;if(d){var M=[j].concat(R,I,v);void 0!==A&&M.push(A);var C=String(r.apply(void 0,M))}else C=b(j,v,I,R,A,r);I>=P&&(w+=v.slice(P,I)+C,P=I+j.length)}return w+v.slice(P)}];function b(t,e,r,o,u,c){var a=r+t.length,f=o.length,l=g;return void 0!==u&&(u=i(u),l=d),n.call(c,l,(function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":c=u[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>f){var s=v(l/10);return 0===s?n:s<=f?void 0===o[s-1]?i.charAt(1):o[s-1]+i.charAt(1):n}c=o[l-1]}return void 0===c?"":c}))}}))},function(t,n,e){"use strict";e(35);var r=e(11),o=e(3),i=e(1),u=e(30),c=e(9),a=i("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),s=i("replace"),p=!!/./[s]&&""===/./[s]("a","$0"),v=!o((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,s){var d=i(t),g=!o((function(){var n={};return n[d]=function(){return 7},7!=""[t](n)})),h=g&&!o((function(){var n=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return n=!0,null},e[d](""),!n}));if(!g||!h||"replace"===t&&(!f||!l||p)||"split"===t&&!v){var x=/./[d],y=e(d,""[t],(function(t,n,e,r,o){return n.exec===u?g&&!o?{done:!0,value:x.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],m=y[1];r(String.prototype,t,b),r(RegExp.prototype,d,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}s&&c(RegExp.prototype[d],"sham",!0)}},function(t,n,e){var r=e(16),o=e(30);t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,e){var r=e(12),o=e(13),i=e(52),u=function(t){return function(n,e,u){var c,a=r(n),f=o(a.length),l=i(u,f);if(t&&e!=e){for(;f>l;)if((c=a[l++])!=c)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},,,,,,function(t,n,e){var r=e(0),o=e(39),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,,,,,,function(t,n,e){"use strict";var r=e(3);function o(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},,,function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(14),o=e(32),i=e(53),u=e(2);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(u(t)),e=i.f;return e?n.concat(e(t)):n}},,,,,,,,function(t,n,e){"use strict";var r=e(57).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n);e(35),e(64);function r(t){return Math.floor(t.getBoundingClientRect().top)}function o(t){var n=t.target.getAttribute("href").replace(/^#/,""),e=document.getElementById(n),o=r(e);t.preventDefault(),window.scrollBy({top:o,left:0,behavior:"smooth"});var i=setInterval((function(){var t,n=window.innerHeight+window.pageYOffset>=document.body.offsetHeight-2;(0===r(e)||n)&&(t='.inputWrapper input[placeholder="First Name"]',document.querySelector(t).select(),clearInterval(i))}),100)}var i=function(){var t;document.querySelector("nav.nav-landing")&&document.querySelector("div.wFormContainer")&&document.querySelector('a[href="#page-top"]')&&document.querySelector('.inputWrapper input[placeholder="First Name"]')&&(t='a[href="#page-top"]',document.querySelector(t).addEventListener("click",o))};document.addEventListener("DOMContentLoaded",(function(){i()}))}]);
@@ -1 +0,0 @@
1
- !function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=163)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(83))},function(t,n,r){var e=r(0),o=r(31),i=r(4),u=r(29),c=r(33),a=r(55),f=o("wks"),s=e.Symbol,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){return i(f,t)||(c&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(0),o=r(27).f,i=r(9),u=r(11),c=r(28),a=r(49),f=r(54);t.exports=function(t,n){var r,s,l,p,v,d=t.target,y=t.global,g=t.stat;if(r=y?e:g?e[d]||c(d,{}):(e[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(y?s:d+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n,r){var e=r(8),o=r(45),i=r(2),u=r(25),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(8),o=r(7),i=r(19);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){t.exports=!1},function(t,n,r){var e=r(0),o=r(9),i=r(4),u=r(28),c=r(39),a=r(18),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,r,c){var a=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=l.join("string"==typeof n?n:"")),t!==e?(a?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=r:o(t,n,r)):f?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},function(t,n,r){var e=r(44),o=r(17);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(20),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(50),o=r(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){var e=r(17);t.exports=function(t){return Object(e(t))}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e,o,i,u=r(73),c=r(0),a=r(5),f=r(9),s=r(4),l=r(26),p=r(23),v=c.WeakMap;if(u){var d=new v,y=d.get,g=d.has,h=d.set;e=function(t,n){return h.call(d,t,n),n},o=function(t){return y.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var b=l("state");p[b]=!0,e=function(t,n){return f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!a(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(22);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports={}},function(t,n){t.exports={}},function(t,n,r){var e=r(5);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(31),o=r(29),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,r){var e=r(8),o=r(48),i=r(19),u=r(12),c=r(25),a=r(4),f=r(45),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,r){var e=r(0),o=r(9);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n,r){"use strict";var e,o,i=r(47),u=r(80),c=RegExp.prototype.exec,a=String.prototype.replace,f=c,s=(e=/a/,o=/b*/g,c.call(e,"a"),c.call(o,"a"),0!==e.lastIndex||0!==o.lastIndex),l=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||l)&&(f=function(t){var n,r,e,o,u=this,f=l&&u.sticky,v=i.call(u),d=u.source,y=0,g=t;return f&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),g=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,y++),r=new RegExp("^(?:"+d+")",v)),p&&(r=new RegExp("^"+d+"$(?!\\s)",v)),s&&(n=u.lastIndex),e=c.call(f?r:u,g),f?e?(e.input=e.input.slice(y),e[0]=e[0].slice(y),e.index=u.lastIndex,u.lastIndex+=e[0].length):u.lastIndex=0:s&&e&&(u.lastIndex=u.global?e.index+e[0].length:n),p&&e&&e.length>1&&a.call(e[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(e[o]=void 0)})),e}),t.exports=f},function(t,n,r){var e=r(10),o=r(46);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:e?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(51),o=r(37).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(3);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e=r(7).f,o=r(4),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){"use strict";var e=r(6),o=r(30);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e,o=r(2),i=r(99),u=r(37),c=r(23),a=r(85),f=r(41),s=r(26),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(){try{e=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;d=e?function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n}(e):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var r=u.length;r--;)delete d.prototype[u[r]];return d()};c[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(46),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,n,r){var e=r(16);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(0),o=r(5),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,r){var e={};e[r(1)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){"use strict";var e=r(12),o=r(102),i=r(24),u=r(18),c=r(60),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,n){a(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=f(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(3),o=r(16),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,r){var e=r(8),o=r(3),i=r(41);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(0),o=r(28),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){"use strict";var e=r(2);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(4),o=r(84),i=r(27),u=r(7);t.exports=function(t,n){for(var r=o(n),c=u.f,a=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||c(t,s,a(n,s))}}},function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){var e=r(4),o=r(12),i=r(67).indexOf,u=r(23);t.exports=function(t,n){var r,c=o(t),a=0,f=[];for(r in c)!e(u,r)&&e(c,r)&&f.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(20),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(3),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==f||r!=a&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,r){var e=r(33);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(51),o=r(37);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(20),o=r(17),i=function(t){return function(n,r){var i,u,c=String(o(n)),a=e(r),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,r){var e=r(50),o=r(4),i=r(68),u=r(7).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},function(t,n,r){"use strict";var e=r(25),o=r(7),i=r(19);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,n,r){"use strict";var e=r(6),o=r(103),i=r(61),u=r(96),c=r(34),a=r(9),f=r(11),s=r(1),l=r(10),p=r(24),v=r(71),d=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,g=s("iterator"),h=function(){return this};t.exports=function(t,n,r,s,v,b,m){o(r,n,s);var x,S,E,O=function(t){if(t===v&&P)return P;if(!y&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},w=n+" Iterator",A=!1,_=t.prototype,j=_[g]||_["@@iterator"]||v&&_[v],P=!y&&j||O(v),T="Array"==n&&_.entries||j;if(T&&(x=i(T.call(new t)),d!==Object.prototype&&x.next&&(l||i(x)===d||(u?u(x,d):"function"!=typeof x[g]&&a(x,g,h)),c(x,w,!0,!0),l&&(p[w]=h))),"values"==v&&j&&"values"!==j.name&&(A=!0,P=function(){return j.call(this)}),l&&!m||_[g]===P||a(_,g,P),p[n]=P,v)if(S={values:O("values"),keys:b?P:O("keys"),entries:O("entries")},m)for(E in S)(y||A||!(E in _))&&f(_,E,S[E]);else e({target:n,proto:!0,forced:y||A},S);return S}},function(t,n,r){var e=r(4),o=r(15),i=r(26),u=r(95),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,r){var e=r(8),o=r(3),i=r(4),u=Object.defineProperty,c={},a=function(t){throw t};t.exports=function(t,n){if(i(c,t))return c[t];n||(n={});var r=[][t],f=!!i(n,"ACCESSORS")&&n.ACCESSORS,s=i(n,0)?n[0]:a,l=i(n,1)?n[1]:void 0;return c[t]=!!r&&!o((function(){if(f&&!e)return!0;var t={length:-1};f?u(t,1,{enumerable:!0,get:a}):t[1]=1,r.call(t,s,l)}))}},function(t,n,r){var e=r(42),o=r(11),i=r(105);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e=r(65),o=r(2),i=r(15),u=r(13),c=r(20),a=r(17),f=r(92),s=r(66),l=Math.max,p=Math.min,v=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;e("replace",2,(function(t,n,r,e){var g=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,h=e.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(r,e){var o=a(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,e){if(!g&&h||"string"==typeof e&&-1===e.indexOf(b)){var i=r(n,t,this,e);if(i.done)return i.value}var a=o(t),v=String(this),d="function"==typeof e;d||(e=String(e));var y=a.global;if(y){var x=a.unicode;a.lastIndex=0}for(var S=[];;){var E=s(a,v);if(null===E)break;if(S.push(E),!y)break;""===String(E[0])&&(a.lastIndex=f(v,u(a.lastIndex),x))}for(var O,w="",A=0,_=0;_<S.length;_++){E=S[_];for(var j=String(E[0]),P=l(p(c(E.index),v.length),0),T=[],I=1;I<E.length;I++)T.push(void 0===(O=E[I])?O:String(O));var L=E.groups;if(d){var R=[j].concat(T,P,v);void 0!==L&&R.push(L);var k=String(e.apply(void 0,R))}else k=m(j,v,P,T,L,e);P>=A&&(w+=v.slice(A,P)+k,A=P+j.length)}return w+v.slice(A)}];function m(t,r,e,o,u,c){var a=e+t.length,f=o.length,s=y;return void 0!==u&&(u=i(u),s=d),n.call(c,s,(function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(a);case"<":c=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return n;if(s>f){var l=v(s/10);return 0===l?n:l<=f?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):n}c=o[s-1]}return void 0===c?"":c}))}}))},function(t,n,r){"use strict";r(35);var e=r(11),o=r(3),i=r(1),u=r(30),c=r(9),a=i("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),v=!o((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,n,r,l){var d=i(t),y=!o((function(){var n={};return n[d]=function(){return 7},7!=""[t](n)})),g=y&&!o((function(){var n=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[a]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return n=!0,null},r[d](""),!n}));if(!y||!g||"replace"===t&&(!f||!s||p)||"split"===t&&!v){var h=/./[d],b=r(d,""[t],(function(t,n,r,e,o){return n.exec===u?y&&!o?{done:!0,value:h.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=b[0],x=b[1];e(String.prototype,t,m),e(RegExp.prototype,d,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[d],"sham",!0)}},function(t,n,r){var e=r(16),o=r(30);t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var i=r.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,r){var e=r(12),o=r(13),i=r(52),u=function(t){return function(n,r,u){var c,a=e(n),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,n,r){var e=r(1);n.f=e},function(t,n,r){var e=r(70),o=r(24),i=r(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){var e=r(42),o=r(16),i=r(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=e?o:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?r:u?o(n):"Object"==(e=o(n))&&"function"==typeof n.callee?"Arguments":e}},function(t,n,r){"use strict";var e,o,i,u=r(61),c=r(9),a=r(4),f=r(1),s=r(10),l=f("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):p=!0),null==e&&(e={}),s||a(e,l)||c(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}},function(t,n,r){var e=r(0),o=r(98),i=r(43),u=r(9),c=r(1),a=c("iterator"),f=c("toStringTag"),s=i.values;for(var l in o){var p=e[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{u(v,a,s)}catch(t){v[a]=s}if(v[f]||u(v,f,l),o[l])for(var d in i)if(v[d]!==i[d])try{u(v,d,i[d])}catch(t){v[d]=i[d]}}}},function(t,n,r){var e=r(0),o=r(39),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,r){var e=r(21),o=r(44),i=r(15),u=r(13),c=r(93),a=[].push,f=function(t){var n=1==t,r=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l;return function(v,d,y,g){for(var h,b,m=i(v),x=o(m),S=e(d,y,3),E=u(x.length),O=0,w=g||c,A=n?w(v,E):r?w(v,0):void 0;E>O;O++)if((p||O in x)&&(b=S(h=x[O],O,m),t))if(n)A[O]=b;else if(b)switch(t){case 3:return!0;case 5:return h;case 6:return O;case 2:a.call(A,h)}else if(s)return!1;return l?-1:f||s?s:A}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},function(t,n,r){var e=r(2);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(1),o=r(24),i=e("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){var e,o,i=r(0),u=r(89),c=i.process,a=c&&c.versions,f=a&&a.v8;f?o=(e=f.split("."))[0]+e[1]:u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},function(t,n,r){"use strict";var e=r(11),o=r(2),i=r(3),u=r(47),c=RegExp.prototype,a=c.toString,f=i((function(){return"/a/b"!=a.call({source:"a",flags:"b"})})),s="toString"!=a.name;(f||s)&&e(RegExp.prototype,"toString",(function(){var t=o(this),n=String(t.source),r=t.flags;return"/"+n+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in c)?u.call(t):r)}),{unsafe:!0})},function(t,n,r){"use strict";var e=r(3);function o(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=e((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=e((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},,function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(14),u=r(10),c=r(8),a=r(33),f=r(55),s=r(3),l=r(4),p=r(40),v=r(5),d=r(2),y=r(15),g=r(12),h=r(25),b=r(19),m=r(38),x=r(56),S=r(32),E=r(100),O=r(53),w=r(27),A=r(7),_=r(48),j=r(9),P=r(11),T=r(31),I=r(26),L=r(23),R=r(29),k=r(1),M=r(68),C=r(58),N=r(34),$=r(18),F=r(74).forEach,D=I("hidden"),G=k("toPrimitive"),U=$.set,B=$.getterFor("Symbol"),q=Object.prototype,H=o.Symbol,V=i("JSON","stringify"),Y=w.f,W=A.f,z=E.f,K=_.f,X=T("symbols"),J=T("op-symbols"),Q=T("string-to-symbol-registry"),Z=T("symbol-to-string-registry"),tt=T("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,et=c&&s((function(){return 7!=m(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=Y(q,n);e&&delete q[n],W(t,n,r),e&&t!==q&&W(q,n,e)}:W,ot=function(t,n){var r=X[t]=m(H.prototype);return U(r,{type:"Symbol",tag:t,description:n}),c||(r.description=n),r},it=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},ut=function(t,n,r){t===q&&ut(J,n,r),d(t);var e=h(n,!0);return d(r),l(X,e)?(r.enumerable?(l(t,D)&&t[D][e]&&(t[D][e]=!1),r=m(r,{enumerable:b(0,!1)})):(l(t,D)||W(t,D,b(1,{})),t[D][e]=!0),et(t,e,r)):W(t,e,r)},ct=function(t,n){d(t);var r=g(n),e=x(r).concat(lt(r));return F(e,(function(n){c&&!at.call(r,n)||ut(t,n,r[n])})),t},at=function(t){var n=h(t,!0),r=K.call(this,n);return!(this===q&&l(X,n)&&!l(J,n))&&(!(r||!l(this,n)||!l(X,n)||l(this,D)&&this[D][n])||r)},ft=function(t,n){var r=g(t),e=h(n,!0);if(r!==q||!l(X,e)||l(J,e)){var o=Y(r,e);return!o||!l(X,e)||l(r,D)&&r[D][e]||(o.enumerable=!0),o}},st=function(t){var n=z(g(t)),r=[];return F(n,(function(t){l(X,t)||l(L,t)||r.push(t)})),r},lt=function(t){var n=t===q,r=z(n?J:g(t)),e=[];return F(r,(function(t){!l(X,t)||n&&!l(q,t)||e.push(X[t])})),e};(a||(P((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=R(t),r=function(t){this===q&&r.call(J,t),l(this,D)&&l(this[D],n)&&(this[D][n]=!1),et(this,n,b(1,t))};return c&&rt&&et(q,n,{configurable:!0,set:r}),ot(n,t)}).prototype,"toString",(function(){return B(this).tag})),P(H,"withoutSetter",(function(t){return ot(R(t),t)})),_.f=at,A.f=ut,w.f=ft,S.f=E.f=st,O.f=lt,M.f=function(t){return ot(k(t),t)},c&&(W(H.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),u||P(q,"propertyIsEnumerable",at,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:H}),F(x(tt),(function(t){C(t)})),e({target:"Symbol",stat:!0,forced:!a},{for:function(t){var n=String(t);if(l(Q,n))return Q[n];var r=H(n);return Q[n]=r,Z[r]=n,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),e({target:"Object",stat:!0,forced:!a,sham:!c},{create:function(t,n){return void 0===n?m(t):ct(m(t),n)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:ft}),e({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),e({target:"Object",stat:!0,forced:s((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(y(t))}}),V)&&e({target:"JSON",stat:!0,forced:!a||s((function(){var t=H();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,n,r){for(var e,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(e=n,(v(n)||void 0!==t)&&!it(t))return p(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!it(n))return n}),o[1]=n,V.apply(null,o)}});H.prototype[G]||j(H.prototype,G,H.prototype.valueOf),N(H,"Symbol"),L[D]=!0},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(14),o=r(32),i=r(53),u=r(2);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(u(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(14);t.exports=e("document","documentElement")},function(t,n,r){"use strict";var e=r(6),o=r(8),i=r(0),u=r(4),c=r(5),a=r(7).f,f=r(49),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[n]=!0),n};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var d=v.toString,y="Symbol(test)"==String(s("test")),g=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,n=d.call(t);if(u(l,t))return"";var r=y?n.slice(7,-1):n.replace(g,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:p})}},function(t,n,r){r(58)("iterator")},function(t,n,r){var e=r(3),o=r(1),i=r(78),u=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(14);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(8),o=r(7).f,i=Function.prototype,u=i.toString,c=/^\s*function ([^ (]*)/;e&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(57).charAt,o=r(18),i=r(60),u=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){u(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(57).charAt;t.exports=function(t,n,r){return n+(r?e(t,n).length:1)}},function(t,n,r){var e=r(5),o=r(40),i=r(1)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},function(t,n,r){var e=r(6),o=r(101);e({target:"Array",stat:!0,forced:!r(77)((function(t){Array.from(t)}))},{from:o})},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(2),o=r(104);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,i){return e(r),o(i),n?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,n,r){"use strict";var e=r(6),o=r(5),i=r(40),u=r(52),c=r(13),a=r(12),f=r(59),s=r(1),l=r(88),p=r(62),v=l("slice"),d=p("slice",{ACCESSORS:!0,0:0,1:2}),y=s("species"),g=[].slice,h=Math.max;e({target:"Array",proto:!0,forced:!v||!d},{slice:function(t,n){var r,e,s,l=a(this),p=c(l.length),v=u(t,p),d=u(void 0===n?p:n,p);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[y])&&(r=void 0):r=void 0,r===Array||void 0===r))return g.call(l,v,d);for(e=new(void 0===r?Array:r)(h(d-v,0)),s=0;v<d;v++,s++)v in l&&f(e,s,l[v]);return e.length=s,e}})},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){var e=r(8),o=r(7),i=r(2),u=r(56);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,a=0;c>a;)o.f(t,r=e[a++],n[r]);return t}},function(t,n,r){var e=r(12),o=r(32).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(e(t))}},function(t,n,r){"use strict";var e=r(21),o=r(15),i=r(75),u=r(76),c=r(13),a=r(59),f=r(69);t.exports=function(t){var n,r,s,l,p,v,d=o(t),y="function"==typeof this?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,b=void 0!==h,m=f(d),x=0;if(b&&(h=e(h,g>2?arguments[2]:void 0,2)),null==m||y==Array&&u(m))for(r=new y(n=c(d.length));n>x;x++)v=b?h(d[x],x):d[x],a(r,x,v);else for(p=(l=m.call(d)).next,r=new y;!(s=p.call(l)).done;x++)v=b?i(l,h,[s.value,x],!0):s.value,a(r,x,v);return r.length=x,r}},function(t,n,r){var e=r(1),o=r(38),i=r(7),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},function(t,n,r){"use strict";var e=r(71).IteratorPrototype,o=r(38),i=r(19),u=r(34),c=r(24),a=function(){return this};t.exports=function(t,n,r){var f=n+" Iterator";return t.prototype=o(e,{next:i(1,r)}),u(t,f,!1,!0),c[f]=a,t}},function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,r){"use strict";var e=r(42),o=r(70);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},,,,function(t,n,r){"use strict";var e=r(65),o=r(2),i=r(17),u=r(112),c=r(66);e("search",1,(function(t,n,r){return[function(n){var r=i(this),e=null==n?void 0:n[t];return void 0!==e?e.call(n,r):new RegExp(n)[t](String(r))},function(t){var e=r(n,t,this);if(e.done)return e.value;var i=o(t),a=String(this),f=i.lastIndex;u(f,0)||(i.lastIndex=0);var s=c(i,a);return u(i.lastIndex,f)||(i.lastIndex=f),null===s?-1:s.index}]}))},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}},,function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},,,,,,function(t,n,r){var e=r(6),o=r(15),i=r(56);e({target:"Object",stat:!0,forced:r(3)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,,function(t,n,r){"use strict";var e=r(74).forEach,o=r(110),i=r(62),u=o("forEach"),c=i("forEach");t.exports=u&&c?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}},,,,function(t,n,r){"use strict";var e=r(6),o=r(125);e({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,r){var e=r(0),o=r(98),i=r(125),u=r(9);for(var c in o){var a=e[c],f=a&&a.prototype;if(f&&f.forEach!==i)try{u(f,"forEach",i)}catch(t){f.forEach=i}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n);var e=function(){var t=(new Date).getFullYear();document.getElementById("currentYear").innerHTML=t};r(82),r(86),r(87),r(94),r(43),r(97),r(90),r(63),r(79),r(91),r(72);function o(t,n){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return i(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var e=0,o=function(){};return{s:o,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return c=t.done,t},e:function(t){a=!0,u=t},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw u}}}}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}var u=function(){var t,n=o(document.querySelectorAll("img[data-src]"));try{var r=function(){var n=t.value;n.setAttribute("src",n.getAttribute("data-src")),n.onload=function(){n.removeAttribute("data-src")}};for(n.s();!(t=n.n()).done;)r()}catch(t){n.e(t)}finally{n.f()}},c=(r(35),r(64),r(109),/---?/g),a=/---/;function f(t){return-1===t.search(a)?"—":t}var s=function t(n){if(3==n.nodeType&&(n.data=n.data.replace(c,f)),1==n.nodeType&&"SCRIPT"!=n.nodeName)for(var r=0;r<n.childNodes.length;r++)t(n.childNodes[r])};function l(){$(".hero-slider__slider").slick({dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3,prevArrow:'<button type="button" data-role="none" class="prev slick-prev" aria-label="Previous" role="button" style="display: block;">Previous</button>',nextArrow:'<button type="button" data-role="none" class="next slick-next" aria-label="Next" role="button" style="display: block;">Next</button>'})}function p(t,n,r){return t.setAttribute(n,r)}function v(t,n,r){var e="Pause"===r;$(".hero-slider__slider").slick(n),p(t,"aria-label",r),t.classList.toggle("hero-slider__button--play"),t.innerHTML=r,e&&$(".hero-slider__slider").slick("slickNext")}function d(){var t,n=document.querySelector(".hero-slider__slider"),r=document.createElement("button");p(r,"role","button"),p(r,"type","button"),p(r,"aria-label","Pause"),p(r,"style","display: block;"),r.innerHTML="Pause",r.classList.add("hero-slider__button--toggle"),n.appendChild(r),(t=r).addEventListener("click",(function(n){"Pause"===t.innerHTML?v(t,"slickPause","Play"):v(t,"slickPlay","Pause")}))}var y=function(){var t;document.querySelector(".hero-slider__slider")&&(t=l,$(".hero-slider__slider").on("init",(function(t,n){d()})),t())};r(129),r(118),r(130);function g(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var h=function(){if(document.getElementById("google_translate_element")){var t=document.getElementById("google_translate_element"),n=(g(r={".goog-te-menu2-item div, .goog-te-menu2-item:link div, .goog-te-menu2-item:visited div, .goog-te-menu2-item:active div, .goog-te-menu2 *":'color: #544F4B; font-family: "Roboto", sans-serif; width: 100%;',".goog-te-menu2-item-selected":"display: none;",".goog-te-menu2":"overflow-y: scroll; padding: 0px;",".goog-te-menu2-item div":"padding: 20px;",".goog-te-menu2-item":"width: 100%;",td:"width: 100%; display: block;",".goog-te-menu2-colpad":"display: none;"},".goog-te-menu2","border: none;"),g(r,".goog-te-menu2","height: 100%; width: 100%;"),r);t.addEventListener("click",(function(t){var r=document.querySelector('iframe[class*="goog-te-menu-frame"]');!function(t,n){var r=t.style.cssText.toString(),e=r+=n;t.setAttribute("style",e)}(r," height: 100%; width: 100%; top: 0px; box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);"),Object.keys(n).forEach((function(t){!function(t,n,r){for(var e=r.contentWindow.document.querySelectorAll(t),o=0;o<e.length;o++){e[o].setAttribute("style",n)}}(t,n[t],r)}))}),!1)}var r},b=document.querySelectorAll(".hero-slider__slider--slide-heading"),m=/\*\*(\S+)\*\*/g;var x=function(){document.querySelectorAll(".hero-slider__slider--slide-heading")&&function(t){for(var n=0;n<t.length;n++)(r=t[n]).innerHTML=r.innerHTML.replace(m,'<span class="typography__power-text">$1</span>');var r}(b)};var S=function(){if(document.getElementById("headerGlobalNavbarContent")){var t=document.getElementById("headerGlobalNavbarContent"),n=document.querySelector(".header-global");$(t).on("show.bs.collapse",(function(t){n.classList.add("header-global__open")})),$(t).on("hide.bs.collapse",(function(t){n.classList.remove("header-global__open")}))}};document.addEventListener("DOMContentLoaded",(function(){x(),y(),s(document.body),e(),u(),h(),S(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var n=this;do{if(n.matches(t))return n;n=n.parentElement||n.parentNode}while(null!==n&&1===n.nodeType);return null})}))}]);
@@ -1,5 +0,0 @@
1
- import landingPageInit from './landingPage.js';
2
-
3
- document.addEventListener('DOMContentLoaded', function() {
4
- landingPageInit();
5
- });
@@ -1,49 +0,0 @@
1
- const QUERYSELECTOR_IN_LANDING_PAGES = 'nav.nav-landing' // <nav> element in landing pages
2
- const FORM_WRAPPER_QUERYSELCTOR = 'div.wFormContainer' // <div> element from TargetX form in landing pages
3
- const GET_STARTED_BUTTON_QUERYSELECTOR = 'a[href="#page-top"]'; // call-to-action Button at the bottom of landing pages
4
- const FIRST_NAME_INPUT_QUERYSELECTOR = '.inputWrapper input[placeholder="First Name"]'; // First Name <input> element from the TargetX form in landing pages
5
- // Custom JS to scroll the user to the top of the page & focus the first field (First Name input) of the form
6
-
7
- function selectInputEl(inputElQuerySelctorString) {
8
- const inputEl = document.querySelector(inputElQuerySelctorString);
9
-
10
- return inputEl.select();
11
- }
12
-
13
- function distanceToTop(el) {
14
- return Math.floor(el.getBoundingClientRect().top);
15
- }
16
-
17
- function clickHandler(e) {
18
- const targetId = e.target.getAttribute('href').replace(/^#/, '');
19
- const targetEl = document.getElementById(targetId);
20
- const originalTop = distanceToTop(targetEl);
21
-
22
- e.preventDefault();
23
- window.scrollBy({ top: originalTop, left: 0, behavior: 'smooth' });
24
-
25
- const checkIfDone = setInterval(function() {
26
- const atBottom = window.innerHeight + window.pageYOffset >= document.body.offsetHeight - 2;
27
- if (distanceToTop(targetEl) === 0 || atBottom) {
28
- selectInputEl(FIRST_NAME_INPUT_QUERYSELECTOR);
29
- clearInterval(checkIfDone);
30
- }
31
- }, 100);
32
- }
33
-
34
- function addClickEventListener(querySelectorString) {
35
- const el = document.querySelector(querySelectorString);
36
-
37
- el.addEventListener('click', clickHandler)
38
- }
39
-
40
- function landingPageInit() {
41
- const requiredPageElements = document.querySelector(QUERYSELECTOR_IN_LANDING_PAGES) && document.querySelector(FORM_WRAPPER_QUERYSELCTOR) && document.querySelector(GET_STARTED_BUTTON_QUERYSELECTOR) && document.querySelector(FIRST_NAME_INPUT_QUERYSELECTOR);
42
-
43
- if ( ! requiredPageElements )
44
- return;
45
-
46
- addClickEventListener(GET_STARTED_BUTTON_QUERYSELECTOR);
47
- }
48
-
49
- export default landingPageInit;
@@ -1,50 +0,0 @@
1
- const NAV_LINKS_SELECTOR = '.nav-link:not(.dropdown-toggle)'; // Bootstrap 4 class
2
- const MENU_COLLAPSE_JQUERY = $('#headerGlobalNavbarContent'); // Bootstrap 4 crap that requires $() w/ an ID from the HTML
3
- const MENU_COLLAPSE = 'headerGlobalNavbarContent'; // ID from the HTML
4
- const HIDE = 'hide'; // Bootstrap 4 class
5
- const SHOW = 'show'; // Bootstrap 4 class
6
-
7
- function hideBootstrapMenu() {
8
- MENU_COLLAPSE_JQUERY.collapse(HIDE);
9
- }
10
-
11
- function checkIfMenuIsOpen() {
12
- if ( document.getElementById(MENU_COLLAPSE).classList.contains(SHOW) ) {
13
- return true;
14
- }
15
- return false;
16
- }
17
-
18
- function hideMenuIfOpen(menuIsOpen) {
19
- if ( menuIsOpen ) {
20
- hideBootstrapMenu();
21
- } else {
22
- return;
23
- }
24
- }
25
-
26
- function clickHandlerFunction(e) {
27
- if ( !e.target.matches(NAV_LINKS_SELECTOR) ) // Bail out of the rest of the code if the click event's target is not what we want!
28
- return;
29
-
30
- if ( e.target.classList.contains('dropdown-toggle') )
31
- return;
32
-
33
-
34
- const menuIsOpen = checkIfMenuIsOpen();
35
-
36
- hideMenuIfOpen(menuIsOpen);
37
- }
38
-
39
- function addEventListenerFunction(element, clickEvent) {
40
- element.addEventListener(clickEvent, clickHandlerFunction, false);
41
- }
42
-
43
- function closeMenuOnClick() {
44
- const clickEvent = 'click';
45
- const element = document;
46
-
47
- addEventListenerFunction(element, clickEvent);
48
- }
49
-
50
- export default closeMenuOnClick;
@@ -1,112 +0,0 @@
1
- import initSearchToggle from './searchToggleMegaNav.js';
2
-
3
- const FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR = [
4
- '#gsc-i-id1',
5
- '#gs_st50 .gsst_a',
6
- '.gsc-search-button .gsc-search-button.gsc-search-button-v2'
7
- ];
8
- const SEARCH_INPUT_ID = 'gsc-i-id1'; // ID OF THE GOOGLE CUSTOM SEARCH (GCS) INPUT ELEMENT // Not in the DOM until the GCS JS fires `gcsInit()`
9
- const SEARCH_DIV_WRAPPER_ID = 'searchCollapse'; // ID OF THE DIV BUILT INTO THE SITES HTML WHICH WRAPS THE GCS
10
-
11
- function checkXIcon() {
12
- const checkXIconOnLoad = (function() {
13
- let executed = false;
14
- return function() {
15
- if (!executed) {
16
- executed = true;
17
- // do checkXIconOnLoad
18
- const icon = document.getElementById('xIcon');
19
- const xIsHidden = icon.getAttribute('style') === 'display: none;';
20
- xIsHidden ? removeClear() : clearXIcon();
21
- }
22
- };
23
- })();
24
- checkXIconOnLoad(); // "do checkXIconOnLoad" happens
25
- }
26
-
27
- function clearXIcon() {
28
- const targetEl = document.querySelector('button.gsc-search-button-v2');
29
- targetEl.classList.add('gsc-overrides__clear-x');
30
- }
31
-
32
- function removeClear() {
33
- const targetEl = document.querySelector('button.gsc-search-button-v2');
34
- targetEl.classList.remove('gsc-overrides__clear-x');
35
- }
36
-
37
- function addId() {
38
- const xIcon = document.querySelector('.gsst_a');
39
- xIcon.setAttribute('id', 'xIcon');
40
- }
41
-
42
- function addAttribute(selector, attr, val) {
43
- const el = document.querySelector(selector);
44
-
45
- el.setAttribute(attr, val);
46
- }
47
-
48
- function gcsInit() { // Init The GCS JS
49
- var cx = '006320264078644364913:sy48bet-lr8';
50
- var gcse = document.createElement('script');
51
- gcse.type = 'text/javascript';
52
- gcse.async = true;
53
- gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
54
- var s = document.getElementsByTagName('script')[0];
55
- s.parentNode.insertBefore(gcse, s);
56
- }
57
-
58
- function googleCustomSearchInit() {
59
- if ( document.getElementById(SEARCH_DIV_WRAPPER_ID) ) {
60
- let initSearchPromise = new Promise((resolve, reject) => {
61
- gcsInit();
62
- resolve();
63
- });
64
- initSearchPromise.then(() => {
65
- let addIdPromise = new Promise((resolve, reject) => {
66
-
67
- const targetNode = document.getElementById('searchCollapse');
68
- const config = { attributes: true, childList: true, subtree: true };
69
- const callback = function(mutationsList, observer) {
70
- for(const mutation of mutationsList) {
71
- if (mutation.type == 'childList') {
72
- addId();
73
- let len = FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR.length;
74
- for (var i = 0; i < len; i++) {
75
- addAttribute(FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR[i], 'tabindex', '-1'); // Make Elements initially unfocusable, so that screen readers don't pick up the hidden GCS
76
- }
77
- resolve();
78
- }
79
- }
80
- };
81
- const observer = new MutationObserver(callback); // Using a MutationObserver to watch for changes in the Google Custom Search Elements that got built into the page from `gcsInit()`
82
- observer.observe(targetNode, config);
83
- // Later, you can stop observing
84
- //observer.disconnect();
85
- });
86
- addIdPromise.then(() => {
87
- checkXIcon();
88
- const targetNode = document.getElementById('xIcon');
89
- const config = { attributes: true, childList: true, subtree: true };
90
- const callback = function(mutationsList, observer) {
91
- for(const mutation of mutationsList) {
92
- if (mutation.type == 'attributes') {
93
- const xIsHidden = targetNode.getAttribute('style') === 'display: none;';
94
- if (xIsHidden) {
95
- removeClear();
96
- } else {
97
- clearXIcon();
98
- }
99
- }
100
- }
101
- };
102
- const observer = new MutationObserver(callback);
103
- observer.observe(targetNode, config);
104
- // Later, you can stop observing
105
- //observer.disconnect();
106
- initSearchToggle();
107
- });
108
- });
109
- }
110
- }
111
-
112
- export default googleCustomSearchInit;
@@ -1,13 +0,0 @@
1
- import toggleMenuOnWindowResize from './toggleMenuOnWindowResize.js';
2
- import toggleDropdownOnWindowResize from './toggleDropdownOnWindowResizeTwo.js';
3
- import googleCustomSearchInit from './googleCustomSearch.js';
4
- import closeMenuOnClick from './closeMegaNavOnClick.js';
5
- import underlineCurrentSite from './underlineCurrentSite.js';
6
-
7
- document.addEventListener('DOMContentLoaded', function() {
8
- googleCustomSearchInit();
9
- underlineCurrentSite();
10
- toggleMenuOnWindowResize();
11
- toggleDropdownOnWindowResize();
12
- closeMenuOnClick();
13
- });
@@ -1,96 +0,0 @@
1
- // Custom JS to toggle the search form
2
- const FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR = [
3
- '#gsc-i-id1',
4
- '#gs_st50 .gsst_a',
5
- '.gsc-search-button .gsc-search-button.gsc-search-button-v2'
6
- ]; // Elements that Google Custom Search builds into the page
7
- const OPEN_SEARCH_BUTTON_ID = 'openSearchButton';
8
- const OPEN_SEARCH_BUTTON_CLASS = 'header-global__search-icon';
9
- const CLOSE_SEARCH_BUTTON_ID = 'closeSearchButton';
10
- const CLOSE_SEARCH_BUTTON_CLASS = 'header-global__close-icon';
11
- const SEARCH_INPUT_ID = 'gsc-i-id1'; // An element that Google Custom Search builds into the page
12
- const HEADER_GLOBAL_NAV_ID = 'headerGlobalNavbar';
13
- const SEARCH_COLLAPSE_ID = 'searchCollapse';
14
-
15
- function setElementAttribute(selector, attr, val) {
16
- const el = document.querySelector(selector);
17
-
18
- el.setAttribute(attr, val);
19
- }
20
-
21
- function toggleButtonAttributes(button, removeButtonOption, buttonClass) {
22
- if ( removeButtonOption ) {
23
- button.classList.add(buttonClass + '--hidden');
24
- button.setAttribute('aria-hidden', 'true');
25
- button.setAttribute('tabindex', '-1');
26
- } else {
27
- button.classList.remove(buttonClass + '--hidden');
28
- button.setAttribute('aria-hidden', 'false');
29
- button.setAttribute('tabindex', '0');
30
- }
31
- }
32
-
33
- function handleSearchToggle(searchButtonWasClicked) {
34
- const searchButtonEl = document.getElementById(OPEN_SEARCH_BUTTON_ID);
35
- const closeButtonEl = document.getElementById(CLOSE_SEARCH_BUTTON_ID);
36
- const searchInputField = document.getElementById(SEARCH_INPUT_ID);
37
- let len = FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR.length;
38
-
39
- if ( searchButtonWasClicked ) {
40
- toggleButtonAttributes(searchButtonEl, true, OPEN_SEARCH_BUTTON_CLASS);
41
- toggleButtonAttributes(closeButtonEl, false, CLOSE_SEARCH_BUTTON_CLASS);
42
- for (var i = 0; i < len; i++) {
43
- setElementAttribute(FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR[i], 'tabindex', '0');
44
- }
45
- searchInputField.focus();
46
- } else {
47
- toggleButtonAttributes(searchButtonEl, false, OPEN_SEARCH_BUTTON_CLASS);
48
- toggleButtonAttributes(closeButtonEl, true, CLOSE_SEARCH_BUTTON_CLASS);
49
- for (var i = 0; i < len; i++) {
50
- setElementAttribute(FOCUSABLE_GOOGLE_CUSTOM_SEARCH_SELECTORS_ARR[i], 'tabindex', '-1');
51
- }
52
- }
53
- }
54
-
55
- function toggleOtherElements() {
56
- const searchCollapse = document.getElementById(SEARCH_COLLAPSE_ID);
57
- const headerGlobalNavbar = document.getElementById(HEADER_GLOBAL_NAV_ID);
58
- const collapseAria = searchCollapse.getAttribute('aria-hidden');
59
-
60
- searchCollapse.classList.toggle('header-global__search-collapse--visible');
61
- (collapseAria === "true") ? searchCollapse.setAttribute('aria-hidden', 'false') : searchCollapse.setAttribute('aria-hidden', 'true');
62
- headerGlobalNavbar.classList.toggle('header-global__navbar--search-toggle');
63
- }
64
-
65
- function checkClickedButton(event) {
66
- let openSearchButtonWasClicked;
67
-
68
- if ( event.target.closest('#openSearchButton') ) {
69
- openSearchButtonWasClicked = true;
70
- } else if ( event.target.closest('#closeSearchButton') ) {
71
- openSearchButtonWasClicked = false;
72
- }
73
- handleSearchToggle(openSearchButtonWasClicked);
74
- toggleOtherElements();
75
- }
76
-
77
- function clickEventHandler(event) {
78
- if ( event.target.closest('#openSearchButton') || event.target.closest('#closeSearchButton') ) {
79
- checkClickedButton(event);
80
- } else {
81
- return; // Bail-out
82
- }
83
- }
84
-
85
- function addClickEventListener() {
86
- document.addEventListener('click', clickEventHandler);
87
- }
88
-
89
- function initSearchToggle() {
90
- if ( ! document.getElementById('openSearchButton') )
91
- return;
92
-
93
- addClickEventListener();
94
- }
95
-
96
- export default initSearchToggle;
@@ -1,78 +0,0 @@
1
- //
2
- //
3
- //
4
- // TODO: Combine method bellow with a class added to the nav when it is desktop size and above
5
- //
6
- //
7
- //
8
- //
9
- //
10
- // Custom JS to Close the Navigation menu, if its open, & if the screen goes above 992px wide (Bootstrap 4 'lg' devices)
11
- const NAV_ELEMENT_ID_STRING = 'headerGlobalNavbar';
12
- const NAVBAR_COLLAPSE_ID = 'headerGlobalNavbarContent'; // ID built into the sites' HTML
13
- const NAVBAR_IS_DESKTOP = 'header-global__navbar--lg';
14
- const NAVBAR_ELEMENT = document.getElementById(NAV_ELEMENT_ID_STRING);
15
-
16
- function removeClassFromElement(el, classString) {
17
- el.classList.remove(classString);
18
- }
19
-
20
- function collapseElement(dropdownToggle) {
21
- //console.log( $(dropdownToggle) );
22
- $(dropdownToggle).collapse('hide'); // Bootstrap 4 `.collapse()` method.
23
- removeClassFromElement(NAVBAR_ELEMENT, NAVBAR_IS_DESKTOP);
24
-
25
- }
26
-
27
- function checkDropdownCollapseState(el) {
28
- let dropdownToggle = el.parentElement
29
- //console.log(el.parentElement.classList);
30
- if ( dropdownToggle.classList.contains('show') ) { // 'show' is a Bootstrap 4 class that makes `.collapse` items visible. // Checking to see if the Menu is open
31
- //console.log(el);
32
- collapseElement(dropdownToggle);
33
- }
34
- }
35
-
36
- function loopOverNodeList(nodeList) {
37
- //console.log(nodeList);
38
- let len = nodeList.length;
39
-
40
- for (var i = 0; i < len; i++) {
41
- const dropdownMenu = nodeList[i];
42
-
43
- checkDropdownCollapseState(dropdownMenu);
44
- }
45
- }
46
-
47
- function windowResizeHandler() {
48
- const navbarEl = windowResizeHandler.element;
49
-
50
- if ( window.innerWidth <= 992 && navbarEl.classList.contains(NAVBAR_IS_DESKTOP) ) {
51
- const menuCollapseElement = document.getElementById(NAVBAR_COLLAPSE_ID);
52
- const dropdownMenuNodeList = menuCollapseElement.querySelectorAll('.dropdown-toggle');
53
-
54
- loopOverNodeList(dropdownMenuNodeList);
55
- //checkNavbarCollapseState(menuCollapseElement);
56
- }
57
- }
58
-
59
- function addClassToElement(el, classString) {
60
- el.classList.add(classString);
61
- }
62
-
63
- function checkWindowWidth() {
64
- const windowIsWiderThanBootStrapLarge = window.innerWidth >= 992;
65
-
66
- windowIsWiderThanBootStrapLarge ?
67
- addClassToElement(NAVBAR_ELEMENT, NAVBAR_IS_DESKTOP)
68
- : null;
69
- }
70
-
71
- function toggleDropdownOnWindowResize() {
72
-
73
- windowResizeHandler.element = NAVBAR_ELEMENT;
74
- checkWindowWidth();
75
- window.addEventListener('resize', windowResizeHandler);
76
- }
77
-
78
- export default toggleDropdownOnWindowResize;
@@ -1,54 +0,0 @@
1
- // Custom JS to make the site look pretty while ITS shrinks and expands the window with the menu open
2
- const NAV_ELEMENT_ID_STRING = 'headerGlobalNavbar'; // ID built into the site's HMTL
3
- const NAVBAR_COLLAPSE_ID = 'headerGlobalNavbarContent'; // ID built into the sites' HTML
4
- const GLOBAL_NAVIGATION_ITEMS = 'navGlobalBottom'; // ID built into the site's HMTL
5
- const NAVBAR_ELEMENT = document.getElementById(NAV_ELEMENT_ID_STRING); // The <nav> element built into the site's HMTL
6
- const BOOTSTRAP_COLLAPSE_SHOW_CLASS_STRING = 'show';
7
- const BOOTSTRAP_DROPDOWN_TOGGLER_CLASS = '.dropdown-toggle'; // Class specific to Bootstrap 4 code
8
-
9
- function openNavigationCollapse() {
10
-
11
- if ( NAVBAR_ELEMENT.navbar_toggled === true ) // Track if the navbar has already been toggled
12
- return; // Bail-out to prevent repetitive calls to the code below (without this the code is called many, many, many times while the screen is resizing)
13
-
14
- const menuCollapseElement = document.getElementById(NAVBAR_COLLAPSE_ID);
15
-
16
- NAVBAR_ELEMENT.navbar_toggled = true;
17
- $(menuCollapseElement).collapse(BOOTSTRAP_COLLAPSE_SHOW_CLASS_STRING); // BOOTSTRAP 4 METHOD (requires jQuery (yuck!).)!!! Official BS4 docs on `.collapse()` https://getbootstrap.com/docs/4.4/components/collapse/#via-javascript
18
- }
19
-
20
- function checkForOpenDropdownMenus(menuItem) {
21
- const dropdown = menuItem.parentElement;
22
-
23
- if ( dropdown.classList.contains(BOOTSTRAP_COLLAPSE_SHOW_CLASS_STRING) ) {
24
- openNavigationCollapse();
25
- }
26
- }
27
-
28
- function loopOverDropdownItems(nodeList) {
29
- let len = nodeList.length;
30
-
31
- for (var i = 0; i < len; i++) {
32
- checkForOpenDropdownMenus(nodeList[i]);
33
- }
34
- }
35
-
36
- function windowResizeHandler() {
37
- const dropdownToggleNodeList = document.getElementById(GLOBAL_NAVIGATION_ITEMS).querySelectorAll(BOOTSTRAP_DROPDOWN_TOGGLER_CLASS);
38
-
39
- if ( window.innerWidth <= 992 ) {
40
- loopOverDropdownItems(dropdownToggleNodeList);
41
- } else {
42
- NAVBAR_ELEMENT.navbar_toggled = false;
43
- }
44
- }
45
-
46
- function toggleDropdownOnWindowResize() {
47
-
48
- if ( ! NAVBAR_ELEMENT )
49
- return;
50
-
51
- window.addEventListener('resize', windowResizeHandler);
52
- }
53
-
54
- export default toggleDropdownOnWindowResize;
@@ -1,26 +0,0 @@
1
- // Custom JS to Close the Navigation menu, if its open, & if the screen goes above 992px wide (Bootstrap 4 'lg' devices)
2
- const NAVBAR_COLLAPSE_ID = 'headerGlobalNavbarContent'; // ID built into the sites' HTML
3
-
4
- function collapseElement(el) {
5
- $(el).collapse('hide'); // Bootstrap 4 `.collapse()` method.
6
- }
7
-
8
- function checkNavbarCollapseState(menuEl) {
9
- if ( menuEl.classList.contains('show') ) { // 'show' is a Bootstrap 4 class that makes `.collapse` items visible. // Checking to see if the Menu is open
10
- collapseElement(menuEl);
11
- }
12
- }
13
-
14
- function windowResizeHandler() {
15
- if ( window.innerWidth >= 992 ) {
16
- const menuCollapseElement = document.getElementById(NAVBAR_COLLAPSE_ID);
17
-
18
- checkNavbarCollapseState(menuCollapseElement);
19
- }
20
- }
21
-
22
- function toggleMenuOnWindowResize() {
23
- window.addEventListener('resize', windowResizeHandler);
24
- }
25
-
26
- export default toggleMenuOnWindowResize;
@@ -1,22 +0,0 @@
1
- const NAV_GLOBAL_BOTTOM_NAV_ITEMS = document.getElementById('navGlobalBottom'); // ID from the HTML
2
-
3
- function underlineCurrentSite() {
4
- // JS is fun!
5
- if (window.location.pathname === '/') // YOU DON'T NEED TO RUN THIS ON THE HOMEPAGE!!
6
- return;
7
- //console.log('execution of further functions has ceased.');
8
- const NAV_ITEMS = NAV_GLOBAL_BOTTOM_NAV_ITEMS.querySelectorAll('li'); // Navigation HTML structure uses <ul><li>...</li><li>...</li></ul> which is common markup for a Bootrap's nav (from their documentation)
9
- const url = window.location.pathname.replace(/(^\/|\/$)/g, '');
10
- //console.log(url);
11
-
12
- for (let i = 0, len = NAV_ITEMS.length; i < len; i++) {
13
- let NAV_CATEGORIES = NAV_ITEMS[i].dataset.nav; // Comes from data-set attributes built into the HTML
14
-
15
- if ( url.search(NAV_CATEGORIES) !== -1 ) {
16
- let NAV_LINK = NAV_ITEMS[i].querySelector('a'); // Again, pretty standard bootstrap navigation HTML struture to have anchors in the <li>
17
-
18
- return NAV_LINK.classList.add('header-global__nav-bottom--underlined'); // return breaks the loop and this is the class to underline stuff with
19
- }
20
- }
21
- }
22
- export default underlineCurrentSite;