Advertisement
Guest User

Untitled

a guest
May 28th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.69 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html class="nojs html css_verticalspacer" lang="de-DE">
  4. <head>
  5.  
  6. <meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
  7. <meta name="generator" content="2017.0.1.363"/>
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  9.  
  10. <script type="text/javascript">
  11. // Update the 'nojs'/'js' class on the html node
  12. document.documentElement.className = document.documentElement.className.replace(/\bnojs\b/g, 'js');
  13.  
  14. // Check that all required assets are uploaded and up-to-date
  15. if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required":["museutils.js", "museconfig.js", "jquery.musepolyfill.bgsize.js", "jquery.watch.js", "require.js", "index.css"], "outOfDate":[]};
  16. </script>
  17.  
  18. <title>Homepage</title>
  19. <!-- CSS -->
  20. <link rel="stylesheet" type="text/css" href="css/site_global.css?crc=11580411"/>
  21. <link rel="stylesheet" type="text/css" href="css/index.css?crc=3919984914" id="pagesheet"/>
  22. <!-- Other scripts -->
  23. <script type="text/javascript">
  24. var __adobewebfontsappname__ = "muse";
  25. </script>
  26. <!-- JS includes -->
  27. <script type="text/javascript">
  28. document.write('\x3Cscript src="' + (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//webfonts.creativecloud.com/bebas-neue:n4:default.js" type="text/javascript">\x3C/script>');
  29. </script>
  30. <!--HTML Widget code-->
  31.  
  32. <style>
  33. .menu {
  34. line-height: 1;
  35. margin: 0 auto 3em;
  36. display: inline-block;
  37. }
  38.  
  39. .menu__list {
  40. position: relative;
  41. display: -webkit-flex;
  42. display: flex;
  43. -webkit-flex-wrap: wrap;
  44. flex-wrap: wrap;
  45. margin: 0;
  46. padding: 0;
  47. list-style: none;
  48. }
  49.  
  50. .menu__item {
  51. display: block;
  52. margin: 1em 0;
  53. }
  54.  
  55. .menu__link {
  56. font-size: 1.3em;
  57. display: block;
  58. padding: 1em;
  59. cursor: pointer;
  60. -webkit-user-select: none;
  61. -moz-user-select: none;
  62. -ms-user-select: none;
  63. user-select: none;
  64. -webkit-touch-callout: none;
  65. -khtml-user-select: none;
  66. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  67. }
  68.  
  69. .menu__link:hover,
  70. .menu__link:focus {
  71. outline: none;
  72. }
  73.  
  74. /* Adrian */
  75. .menu--adrian .menu__item {
  76. margin: 0 1em;
  77. }
  78.  
  79. .menu--adrian .menu__link {
  80. position: relative;
  81. overflow: hidden;
  82. width: 130px;
  83. padding: 1em 0;
  84. color: #F7931E;
  85. }
  86.  
  87. .menu--adrian .menu__link:hover,
  88. .menu--adrian .menu__link:focus {
  89. color: #E90D8B;
  90. }
  91.  
  92. .menu--adrian .menu__item--current .menu__link {
  93. color: #FBB03B;
  94. }
  95.  
  96. .menu--adrian .menu__link::before {
  97. content: '';
  98. position: absolute;
  99. bottom: 0;
  100. left: 0;
  101. width: 300%;
  102. height: 50px;
  103. opacity: 0;
  104. background: url(assets/line.svg) no-repeat top left;
  105. -webkit-transform: translate3d(130px, 0, 0);
  106. transform: translate3d(130px, 0, 0);
  107. -webkit-transition: -webkit-transform 0s 0.3s, opacity 0.3s;
  108. transition: transform 0s 0.3s, opacity 0.3s;
  109. }
  110.  
  111. .menu--adrian .menu__item--current .menu__link::before {
  112. opacity: 1;
  113. -webkit-transform: translate3d(-260px, 0, 0);
  114. transform: translate3d(-260px, 0, 0);
  115. -webkit-transition: -webkit-transform 0.5s;
  116. transition: transform 0.5s;
  117. }
  118.  
  119. .menu--adrian .menu__helper {
  120. display: block;
  121. pointer-events: none;
  122. }
  123.  
  124. .menu--adrian .menu__item--current .menu__helper {
  125. -webkit-animation: anim-adrian 0.3s forwards;
  126. animation: anim-adrian 0.3s forwards;
  127. }
  128.  
  129. @-webkit-keyframes anim-adrian {
  130. 50% {
  131. opacity: 0;
  132. -webkit-transform: translate3d(0, -100%, 0);
  133. transform: translate3d(0, -100%, 0);
  134. }
  135.  
  136. 51% {
  137. opacity: 0;
  138. -webkit-transform: translate3d(0, 100%, 0);
  139. transform: translate3d(0, 100%, 0);
  140. }
  141.  
  142. 100% {
  143. opacity: 1;
  144. -webkit-transform: translate3d(0, 0, 0);
  145. transform: translate3d(0, 0, 0);
  146. }
  147. }
  148.  
  149. @keyframes anim-adrian {
  150. 50% {
  151. opacity: 0;
  152. -webkit-transform: translate3d(0, -100%, 0);
  153. transform: translate3d(0, -100%, 0);
  154. }
  155.  
  156. 51% {
  157. opacity: 0;
  158. -webkit-transform: translate3d(0, 100%, 0);
  159. transform: translate3d(0, 100%, 0);
  160. }
  161.  
  162. 100% {
  163. opacity: 1;
  164. -webkit-transform: translate3d(0, 0, 0);
  165. transform: translate3d(0, 0, 0);
  166. }
  167. }
  168. </style>
  169.  
  170. </head>
  171. <body>
  172.  
  173. <div class="clearfix borderbox" id="page"><!-- column -->
  174. <div class="browser_width colelem" id="u99-bw">
  175. <div class="museBGSize" id="u99"><!-- column -->
  176. <div class="clearfix" id="u99_align_to_page">
  177. <div class="position_content" id="u99_position_content">
  178. <div class="clearfix colelem" id="pu208"><!-- group -->
  179. <div class="museBGSize grpelem" id="u208"><!-- simple frame --></div>
  180. <div class="size_fixed grpelem" id="u227"><!-- custom html -->
  181.  
  182. <nav class="menu menu--adrian">
  183. <ul id="menuitems" class="menu__list">
  184. </ul>
  185. </nav>
  186.  
  187. </div>
  188. </div>
  189. <!-- m_editable region-id="editable-static-tag-U132-BP_infinity" template="index.html" data-type="html" data-ice-options="disableImageResize,link" -->
  190. <div class="clearfix colelem" id="u132-4" data-muse-uid="U132" data-muse-type="txt_frame"><!-- content -->
  191. <p>Luxa ist der Beste Web Dev.</p>
  192. </div>
  193. <!-- /m_editable -->
  194. <div class="clearfix colelem" id="pu324"><!-- group -->
  195. <div class="museBGSize clearfix grpelem" id="u324"><!-- group -->
  196. <div class="clearfix grpelem" id="u244"><!-- group -->
  197. <!-- m_editable region-id="editable-static-tag-U277-BP_infinity" template="index.html" data-type="html" data-ice-options="disableImageResize,link" -->
  198. <div class="clearfix grpelem" id="u277-4" data-muse-uid="U277" data-muse-type="txt_frame"><!-- content -->
  199. <p>FUCK ME</p>
  200. </div>
  201. <!-- /m_editable -->
  202. </div>
  203. <!-- m_editable region-id="editable-static-tag-U330-BP_infinity" template="index.html" data-type="html" data-ice-options="disableImageResize,link" -->
  204. <div class="clearfix grpelem" id="u330-4" data-muse-uid="U330" data-muse-type="txt_frame"><!-- content -->
  205. <p>FUCK ME</p>
  206. </div>
  207. <!-- /m_editable -->
  208. </div>
  209. <div class="museBGSize grpelem" id="u313"><!-- simple frame --></div>
  210. <!-- m_editable region-id="editable-static-tag-U327-BP_infinity" template="index.html" data-type="html" data-ice-options="disableImageResize,link" -->
  211. <div class="clearfix grpelem" id="u327-7" data-muse-uid="U327" data-muse-type="txt_frame"><!-- content -->
  212. <p>Frequently Asked Questions</p>
  213. <p>Connection Guide</p>
  214. <p>&nbsp;</p>
  215. </div>
  216. <!-- /m_editable -->
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. <div class="clearfix colelem" id="pu286-4"><!-- group -->
  223. <!-- m_editable region-id="editable-static-tag-U286-BP_infinity" template="index.html" data-type="html" data-ice-options="disableImageResize,link" -->
  224. <div class="clearfix grpelem" id="u286-4" data-muse-uid="U286" data-muse-type="txt_frame"><!-- content -->
  225. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ich stinke heftig nach Scheisse.</p>
  226. </div>
  227. <!-- /m_editable -->
  228. <div class="grpelem" id="u289"><!-- rasterized frame --></div>
  229. </div>
  230. <div class="museBGSize colelem" id="u292"><!-- simple frame --></div>
  231. <div class="verticalspacer" data-offset-top="984" data-content-above-spacer="983" data-content-below-spacer="62"></div>
  232. </div>
  233. <!-- JS includes -->
  234. <script type="text/javascript">
  235. if (document.location.protocol != 'https:') document.write('\x3Cscript src="http://musecdn2.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type="text/javascript">\x3C/script>');
  236. </script>
  237. <script type="text/javascript">
  238. window.jQuery || document.write('\x3Cscript src="scripts/jquery-1.8.3.min.js?crc=209076791" type="text/javascript">\x3C/script>');
  239. </script>
  240. <!-- Other scripts -->
  241. <script type="text/javascript">
  242. window.Muse.assets.check=function(d){if(!window.Muse.assets.checked){window.Muse.assets.checked=!0;var b={},c=function(a,b){if(window.getComputedStyle){var c=window.getComputedStyle(a,null);return c&&c.getPropertyValue(b)||c&&c[b]||""}if(document.documentElement.currentStyle)return(c=a.currentStyle)&&c[b]||a.style&&a.style[b]||"";return""},a=function(a){if(a.match(/^rgb/))return a=a.replace(/\s+/g,"").match(/([\d\,]+)/gi)[0].split(","),(parseInt(a[0])<<16)+(parseInt(a[1])<<8)+parseInt(a[2]);if(a.match(/^\#/))return parseInt(a.substr(1),
  243. 16);return 0},g=function(g){for(var f=document.getElementsByTagName("link"),h=0;h<f.length;h++)if("text/css"==f[h].type){var i=(f[h].href||"").match(/\/?css\/([\w\-]+\.css)\?crc=(\d+)/);if(!i||!i[1]||!i[2])break;b[i[1]]=i[2]}f=document.createElement("div");f.className="version";f.style.cssText="display:none; width:1px; height:1px;";document.getElementsByTagName("body")[0].appendChild(f);for(h=0;h<Muse.assets.required.length;){var i=Muse.assets.required[h],l=i.match(/([\w\-\.]+)\.(\w+)$/),k=l&&l[1]?
  244. l[1]:null,l=l&&l[2]?l[2]:null;switch(l.toLowerCase()){case "css":k=k.replace(/\W/gi,"_").replace(/^([^a-z])/gi,"_$1");f.className+=" "+k;k=a(c(f,"color"));l=a(c(f,"backgroundColor"));k!=0||l!=0?(Muse.assets.required.splice(h,1),"undefined"!=typeof b[i]&&(k!=b[i]>>>24||l!=(b[i]&16777215))&&Muse.assets.outOfDate.push(i)):h++;f.className="version";break;case "js":h++;break;default:throw Error("Unsupported file type: "+l);}}d?d().jquery!="1.8.3"&&Muse.assets.outOfDate.push("jquery-1.8.3.min.js"):Muse.assets.required.push("jquery-1.8.3.min.js");
  245. f.parentNode.removeChild(f);if(Muse.assets.outOfDate.length||Muse.assets.required.length)f="Einige der Dateien auf dem Server fehlen oder sind ungültig. Löschen Sie den Browser-Cache und versuchen Sie es erneut. Wenn das Problem weiterhin besteht, wenden Sie sich an den Autor der Website.",g&&Muse.assets.outOfDate.length&&(f+="\nOut of date: "+Muse.assets.outOfDate.join(",")),g&&Muse.assets.required.length&&(f+="\nMissing: "+Muse.assets.required.join(",")),alert(f)};location&&location.search&&location.search.match&&location.search.match(/muse_debug/gi)?setTimeout(function(){g(!0)},5E3):g()}};
  246. var muse_init=function(){require.config({baseUrl:""});require(["jquery","museutils","whatinput","jquery.musepolyfill.bgsize","jquery.watch"],function(d){var $ = d;$(document).ready(function(){try{
  247. window.Muse.assets.check($);/* body */
  248. Muse.Utils.transformMarkupToFixBrowserProblemsPreInit();/* body */
  249. Muse.Utils.prepHyperlinks(true);/* body */
  250. Muse.Utils.resizeHeight('.browser_width');/* resize height */
  251. Muse.Utils.requestAnimationFrame(function() { $('body').addClass('initialized'); });/* mark body as initialized */
  252. Muse.Utils.fullPage('#page');/* 100% height page */
  253. Muse.Utils.showWidgetsWhenReady();/* body */
  254. Muse.Utils.transformMarkupToFixBrowserProblems();/* body */
  255. }catch(b){if(b&&"function"==typeof b.notify?b.notify():Muse.Assert.fail("Error calling selector function: "+b),false)throw b;}})})};
  256.  
  257. </script>
  258. <!-- RequireJS script -->
  259. <script src="scripts/require.js?crc=4159430777" type="text/javascript" async data-main="scripts/museconfig.js?crc=4179431180" onload="if (requirejs) requirejs.onError = function(requireType, requireModule) { if (requireType && requireType.toString && requireType.toString().indexOf && 0 <= requireType.toString().indexOf('#scripterror')) window.Muse.assets.check(); }" onerror="window.Muse.assets.check();"></script>
  260.  
  261. <!--HTML Widget code-->
  262.  
  263. <script>
  264. if(3 == 1){
  265. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li>";
  266. }
  267. else if(3 == 2){
  268. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li>";
  269. }
  270. else if(3 == 3){
  271. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li>";
  272. }
  273. else if(3 == 4){
  274. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li><li class='menu__item'><a data-scroll href='#anchor4' class='menu__link'><span class='menu__helper'>Shop</span></a></li>";
  275. }
  276. else if(3 == 5){
  277. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li><li class='menu__item'><a data-scroll href='#anchor4' class='menu__link'><span class='menu__helper'>Shop</span></a></li><li class='menu__item'><a data-scroll href='#anchor5' class='menu__link'><span class='menu__helper'>Contact</span></a></li>";
  278. }
  279. else if(3 == 6){
  280. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li><li class='menu__item'><a data-scroll href='#anchor4' class='menu__link'><span class='menu__helper'>Shop</span></a></li><li class='menu__item'><a data-scroll href='#anchor5' class='menu__link'><span class='menu__helper'>Contact</span></a></li><li class='menu__item'><a data-scroll href='#anchor6' class='menu__link'><span class='menu__helper'>Link 6</span></a></li>";
  281. }
  282. else if(3 == 7){
  283. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li><li class='menu__item'><a data-scroll href='#anchor4' class='menu__link'><span class='menu__helper'>Shop</span></a></li><li class='menu__item'><a data-scroll href='#anchor5' class='menu__link'><span class='menu__helper'>Contact</span></a></li><li class='menu__item'><a data-scroll href='#anchor6' class='menu__link'><span class='menu__helper'>Link 6</span></a></li><li class='menu__item'><a data-scroll href='#anchor7' class='menu__link'><span class='menu__helper'>Link 7</span></a></li>";
  284. }
  285. else {
  286. document.getElementById('menuitems').innerHTML = "<li class='menu__item menu__item--current'><a data-scroll href='#anchor1' class='menu__link'><span class='menu__helper'>Home</span></a></li><li class='menu__item'><a data-scroll href='#anchor2' class='menu__link'><span class='menu__helper'>About</span></a></li><li class='menu__item'><a data-scroll href='#anchor3' class='menu__link'><span class='menu__helper'>Services</span></a></li><li class='menu__item'><a data-scroll href='#anchor4' class='menu__link'><span class='menu__helper'>Shop</span></a></li><li class='menu__item'><a data-scroll href='#anchor5' class='menu__link'><span class='menu__helper'>Contact</span></a></li><li class='menu__item'><a data-scroll href='#anchor6' class='menu__link'><span class='menu__helper'>Link 6</span></a></li><li class='menu__item'><a data-scroll href='#anchor7' class='menu__link'><span class='menu__helper'>Link 7</span></a></li><li class='menu__item'><a data-scroll href='#anchor8' class='menu__link'><span class='menu__helper'>Link 8</span></a></li>";
  287. }
  288. </script>
  289. <script>
  290. /*! smooth-scroll v8.0.0 | (c) 2016 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */
  291. !function(e,t){"function"==typeof define&&define.amd?define([],t(e)):"object"==typeof exports?module.exports=t(e):e.smoothScroll=t(e)}("undefined"!=typeof global?global:this.window||this.global,function(e){"use strict";var t,n,r,o,a,c={},i="querySelector"in document&&"addEventListener"in e&&"onhashchange"in e,u={selector:"[data-scroll]",selectorHeader:"[data-scroll-header]",speed:500,easing:"easeInOutCubic",offset:0,scrollOnLoad:!0,callback:function(){}},s=function(){var e={},t=!1,n=0,r=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],n++);for(var o=function(n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t&&"[object Object]"===Object.prototype.toString.call(n[r])?e[r]=s(!0,e[r],n[r]):e[r]=n[r])};r>n;n++){var a=arguments[n];o(a)}return e},l=function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},f=function(e,t){var n,r,o=t.charAt(0),a="classList"in document.documentElement;for("["===o&&(t=t.substr(1,t.length-2),n=t.split("="),n.length>1&&(r=!0,n[1]=n[1].replace(/"/g,"").replace(/'/g,"")));e&&e!==document;e=e.parentNode){if("."===o)if(a){if(e.classList.contains(t.substr(1)))return e}else if(new RegExp("(^|\\s)"+t.substr(1)+"(\\s|$)").test(e.className))return e;if("#"===o&&e.id===t.substr(1))return e;if("["===o&&e.hasAttribute(n[0])){if(!r)return e;if(e.getAttribute(n[0])===n[1])return e}if(e.tagName.toLowerCase()===t)return e}return null};c.escapeCharacters=function(e){"#"===e.charAt(0)&&(e=e.substr(1));for(var t,n=String(e),r=n.length,o=-1,a="",c=n.charCodeAt(0);++o<r;){if(t=n.charCodeAt(o),0===t)throw new InvalidCharacterError("Invalid character: the input contains U+0000.");a+=t>=1&&31>=t||127==t||0===o&&t>=48&&57>=t||1===o&&t>=48&&57>=t&&45===c?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&57>=t||t>=65&&90>=t||t>=97&&122>=t?n.charAt(o):"\\"+n.charAt(o)}return"#"+a};var d=function(e,t){var n;return"easeInQuad"===e&&(n=t*t),"easeOutQuad"===e&&(n=t*(2-t)),"easeInOutQuad"===e&&(n=.5>t?2*t*t:-1+(4-2*t)*t),"easeInCubic"===e&&(n=t*t*t),"easeOutCubic"===e&&(n=--t*t*t+1),"easeInOutCubic"===e&&(n=.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e&&(n=t*t*t*t),"easeOutQuart"===e&&(n=1- --t*t*t*t),"easeInOutQuart"===e&&(n=.5>t?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e&&(n=t*t*t*t*t),"easeOutQuint"===e&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e&&(n=.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t),n||t},h=function(e,t,n){var r=0;if(e.offsetParent)do r+=e.offsetTop,e=e.offsetParent;while(e);return r=r-t-n,r>=0?r:0},m=function(){return Math.max(e.document.body.scrollHeight,e.document.documentElement.scrollHeight,e.document.body.offsetHeight,e.document.documentElement.offsetHeight,e.document.body.clientHeight,e.document.documentElement.clientHeight)},g=function(e){return e&&"object"==typeof JSON&&"function"==typeof JSON.parse?JSON.parse(e):{}},p=function(e){return null===e?0:l(e)+e.offsetTop};c.animateScroll=function(t,n,a){var c=g(n?n.getAttribute("data-options"):null),i=s(i||u,a||{},c),l="[object Number]"===Object.prototype.toString.call(t)?!0:!1,f=l?null:e.document.querySelector(t);if(l||f){var v=e.pageYOffset;r||(r=e.document.querySelector(i.selectorHeader)),o||(o=p(r));var b,O,y,S=l?t:h(f,o,parseInt(i.offset,10)),I=S-v,E=m(),H=0,L=function(r,o,a){var c=e.pageYOffset;(r==o||c==o||e.innerHeight+c>=E)&&(clearInterval(a),f&&f.focus(),i.callback(t,n))},A=function(){H+=16,O=H/parseInt(i.speed,10),O=O>1?1:O,y=v+I*d(i.easing,O),e.scrollTo(0,Math.floor(y)),L(y,S,b)},C=function(){b=setInterval(A,16)};0===e.pageYOffset&&e.scrollTo(0,0),C()}};var v=function(){var n=e.location.hash;if(a&&(a.id=a.getAttribute("data-scroll-id"),a=null),n){n=c.escapeCharacters(n);var r=document.querySelector(t.select+'[href*="'+n+'"]');c.animateScroll(n,r,t)}},b=function(n){var r=f(n.target,t.selector);if(r&&r.hash){var o=c.escapeCharacters(r.hash);if(o===(e.location.hash||"#top"))return void c.animateScroll(o,r,t);a=document.querySelector(o),a&&(a.setAttribute("data-scroll-id",a.id),a.id="")}},O=function(e){n||(n=setTimeout(function(){n=null,o=p(r)},66))};return c.destroy=function(){t&&(document.removeEventListener("click",b,!1),e.removeEventListener("hashchange",v,!1),e.removeEventListener("resize",O,!1),t=null,n=null,r=null,o=null,a=null)},c.init=function(n){i&&(c.destroy(),t=s(u,n||{}),r=e.document.querySelector(t.selectorHeader),o=p(r),document.addEventListener("click",b,!1),e.addEventListener("hashchange",v,!1),r&&e.addEventListener("resize",O,!1),t.scrollOnLoad&&(setTimeout(function(){window.scrollTo(0,0)},1),v()))},c});
  292. </script>
  293. <script>
  294. /*!
  295. * classie - class helper functions
  296. * from bonzo https://github.com/ded/bonzo
  297. *
  298. * classie.has( elem, 'my-class' ) -> true/false
  299. * classie.add( elem, 'my-new-class' )
  300. * classie.remove( elem, 'my-unwanted-class' )
  301. * classie.toggle( elem, 'my-class' )
  302. */
  303.  
  304. /*jshint browser: true, strict: true, undef: true */
  305. /*global define: false */
  306.  
  307. ( function( window ) {
  308.  
  309. 'use strict';
  310.  
  311. // class helper functions from bonzo https://github.com/ded/bonzo
  312.  
  313. function classReg( className ) {
  314. return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
  315. }
  316.  
  317. // classList support for class management
  318. // altho to be fair, the api sucks because it won't accept multiple classes at once
  319. var hasClass, addClass, removeClass;
  320.  
  321. if ( 'classList' in document.documentElement ) {
  322. hasClass = function( elem, c ) {
  323. return elem.classList.contains( c );
  324. };
  325. addClass = function( elem, c ) {
  326. elem.classList.add( c );
  327. };
  328. removeClass = function( elem, c ) {
  329. elem.classList.remove( c );
  330. };
  331. }
  332. else {
  333. hasClass = function( elem, c ) {
  334. return classReg( c ).test( elem.className );
  335. };
  336. addClass = function( elem, c ) {
  337. if ( !hasClass( elem, c ) ) {
  338. elem.className = elem.className + ' ' + c;
  339. }
  340. };
  341. removeClass = function( elem, c ) {
  342. elem.className = elem.className.replace( classReg( c ), ' ' );
  343. };
  344. }
  345.  
  346. function toggleClass( elem, c ) {
  347. var fn = hasClass( elem, c ) ? removeClass : addClass;
  348. fn( elem, c );
  349. }
  350.  
  351. var classie = {
  352. // full names
  353. hasClass: hasClass,
  354. addClass: addClass,
  355. removeClass: removeClass,
  356. toggleClass: toggleClass,
  357. // short names
  358. has: hasClass,
  359. add: addClass,
  360. remove: removeClass,
  361. toggle: toggleClass
  362. };
  363.  
  364. // transport
  365. if ( typeof define === 'function' && define.amd ) {
  366. // AMD
  367. define( classie );
  368. } else {
  369. // browser global
  370. window.classie = classie;
  371. }
  372.  
  373. })( window );
  374. </script>
  375. <script>
  376. (function() {
  377. [].slice.call(document.querySelectorAll('.menu')).forEach(function(menu) {
  378. var menuItems = menu.querySelectorAll('.menu__link'),
  379. setCurrent = function(ev) {
  380. ev.preventDefault();
  381.  
  382. var item = ev.target.parentNode; // li
  383.  
  384. // return if already current
  385. if (classie.has(item, 'menu__item--current')) {
  386. return false;
  387. }
  388. // remove current
  389. classie.remove(menu.querySelector('.menu__item--current'), 'menu__item--current');
  390. // set current
  391. classie.add(item, 'menu__item--current');
  392. };
  393.  
  394. [].slice.call(menuItems).forEach(function(el) {
  395. el.addEventListener('mouseover', setCurrent);
  396. });
  397. });
  398.  
  399. })(window);
  400. </script>
  401. <script>
  402. /*! jQuery UI - v1.11.4 - 2016-03-01
  403. * http://jqueryui.com
  404. * Includes: effect.js
  405. * Copyright jQuery Foundation and other contributors; Licensed MIT */
  406.  
  407. (function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t="ui-effects-",i=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var s=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod?(e+s.mod)%s.mod:0>e?0:e>s.max?s.max:e)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(e,a){var o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return h?(o=s[l](h),s[u[l].cache]=o[u[l].cache],n=s._rgba=o._rgba,!1):t}),n.length?("0,0,0,0"===n.join()&&e.extend(n,a.transparent),s):a[i]}function n(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,s,n){return new e.Color.fn.parse(t,i,s,n)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},c={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=e("<p>")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(n,o,r,h){if(n===t)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=e(n).css(o),o=t);var c=this,d=e.type(n),p=this._rgba=[];return o!==t&&(n=[n,o,r,h],d="array"),"string"===d?this.parse(s(n)||a._default):"array"===d?(f(u.rgba.props,function(e,t){p[t.idx]=i(n[t.idx],t)}),this):"object"===d?(n instanceof l?f(u,function(e,t){n[t.cache]&&(c[t.cache]=n[t.cache].slice())}):f(u,function(t,s){var a=s.cache;f(s.props,function(e,t){if(!c[a]&&s.to){if("alpha"===e||null==n[e])return;c[a]=s.to(c._rgba)}c[a][t.idx]=i(n[e],t,!0)}),c[a]&&0>e.inArray(null,c[a].slice(0,3))&&(c[a][3]=1,s.from&&(c._rgba=s.from(c[a])))}),this):t},is:function(e){var i=l(e),s=!0,n=this;return f(u,function(e,a){var o,r=i[a.cache];return r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(e,i){return null!=r[i.idx]?s=r[i.idx]===o[i.idx]:t})),s}),s},_space:function(){var e=[],t=this;return f(u,function(i,s){t[s.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var s=l(e),n=s._space(),a=u[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cache]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(e,n){var a=n.idx,o=r[a],l=s[a],u=c[n.type]||{};null!==l&&(null===o?h[a]=l:(u.mod&&(l-o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),h[a]=i((l-o)*t+o,n)))}),this[n](h)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(t)._rgba;return l(e.map(i,function(e,t){return(1-s)*n[t]+s*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),s=i.pop();return t&&i.push(~~(255*s)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,s=e[0]/255,n=e[1]/255,a=e[2]/255,o=e[3],r=Math.max(s,n,a),h=Math.min(s,n,a),l=r-h,u=r+h,c=.5*u;return t=h===r?0:s===r?60*(n-a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=c?l/u:l/(2-u),[Math.round(t)%360,i,c,null==o?1:o]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],s=e[2],a=e[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-o;return[Math.round(255*n(r,o,t+1/3)),Math.round(255*n(r,o,t)),Math.round(255*n(r,o,t-1/3)),a]},f(u,function(s,n){var a=n.props,o=n.cache,h=n.to,u=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(this[o]=h(this._rgba)),s===t)return this[o].slice();var n,r=e.type(s),c="array"===r||"object"===r?s:arguments,d=this[o].slice();return f(a,function(e,t){var s=c["object"===r?e:t.idx];null==s&&(s=d[t.idx]),d[t.idx]=i(s,t)}),u?(n=l(u(d)),n[o]=d,n):l(d)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(n){var a,o=e.type(n),h="alpha"===t?this._hsla?"hsla":"rgba":s,l=this[h](),u=l[i.idx];return"undefined"===o?u:("function"===o&&(n=n.call(this,u),o=e.type(n)),null==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=u+parseFloat(a[2])*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,n){var a,o,r="";if("transparent"!==n&&("string"!==e.type(n)||(a=s(n)))){if(n=l(a||n),!d.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?t.parentNode:t;(""===r||"transparent"===r)&&o&&o.style;)try{r=e.css(o,"backgroundColor"),o=o.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{t.style[i]=n}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,s){t["border"+s+"Color"]=e}),t}},a=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(i),function(){function t(t){var i,s,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[e.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function s(t,i){var s,n,o={};for(s in i)n=i[s],t[s]!==n&&(a[s]||(e.fx.step[s]||!isNaN(parseFloat(n)))&&(o[s]=n));return o}var n=["add","remove","toggle"],a={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,s){e.fx.step[s]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(i.style(e.elem,s,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(i,a,o,r){var h=e.speed(a,o,r);return this.queue(function(){var a,o=e(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(function(){var i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(n,function(e,t){i[t]&&o[t+"Class"](i[t])})},a(),l=l.map(function(){return this.end=t(this.el[0]),this.diff=s(this.start,this.end),this}),o.attr("class",r),l=l.map(function(){var t=this,i=e.Deferred(),s=e.extend({},h,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,s),i.promise()}),e.when.apply(e,l.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(o[0])})})},e.fn.extend({addClass:function(t){return function(i,s,n,a){return s?e.effects.animateClass.call(this,{add:i},s,n,a):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,s,n,a){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},s,n,a):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,s,n,a,o){return"boolean"==typeof s||void 0===s?n?e.effects.animateClass.call(this,s?{add:i}:{remove:i},n,a,o):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},s,n,a)}}(e.fn.toggleClass),switchClass:function(t,i,s,n,a){return e.effects.animateClass.call(this,{add:i,remove:t},s,n,a)}})}(),function(){function i(t,i,s,n){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(n=s,s=i,i={}),e.isFunction(s)&&(n=s,s=null),i&&e.extend(t,i),s=s||i.duration,t.duration=e.fx.off?0:"number"==typeof s?s:s in e.fx.speeds?e.fx.speeds[s]:e.fx.speeds._default,t.complete=n||i.complete,t}function s(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.11.4",save:function(e,i){for(var s=0;i.length>s;s++)null!==i[s]&&e.data(t+i[s],e[0].style[i[s]])},restore:function(e,i){var s,n;for(n=0;i.length>n;n++)null!==i[n]&&(s=e.data(t+i[n]),void 0===s&&(s=""),e.css(i[n],s))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},s=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return t.wrap(s),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),s=t.parent(),"static"===t.css("position")?(s.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,s){i[s]=t.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(n),s.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,s,n){return n=n||{},e.each(i,function(e,i){var a=t.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),e.fn.extend({effect:function(){function t(t){function i(){e.isFunction(a)&&a.call(n[0]),e.isFunction(t)&&t()}var n=e(this),a=s.complete,r=s.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),i()):o.call(n[0],s,i)}var s=i.apply(this,arguments),n=s.mode,a=s.queue,o=e.effects.effect[s.effect];return e.fx.off||!o?n?this[n](s.duration,s.complete):this.each(function(){s.complete&&s.complete.call(this)}):a===!1?this.each(t):this.queue(a||"fx",t)},show:function(e){return function(t){if(s(t))return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return function(t){if(s(t))return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return function(t){if(s(t)||"boolean"==typeof t)return e.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),s=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(s=[parseFloat(i),t])}),s}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects});
  408. </script>
  409. <script>
  410. $(function() {
  411. $('a[href*="#"]:not([href="#"])').click(function() {
  412. if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
  413. var target = $(this.hash);
  414. target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
  415. if (target.length) {
  416. $('html, body').animate({
  417. scrollTop: target.offset().top -0
  418. }, 500, 'linear');
  419. return false;
  420. }
  421. }
  422. });
  423. });
  424. </script>
  425.  
  426. </body>
  427. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement