-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-homepage.html
406 lines (349 loc) · 34.4 KB
/
template-homepage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<title>Templates: Homepage - Syndication</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="/resources/css/site.min.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<meta http-equiv="x-ua-compatible" content="ie=edge"/>
<meta property="og:title" content=""/>
<meta property="og:description" content=""/>
<meta property="og:image" content="/resources/images/social-share.jpg"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@twitterhandle"/>
<meta name="twitter:title" content=""/>
<meta name="twitter:description" content=""/>
<meta name="twitter:image" content="/resources/images/social-share.jpg"/>
<script>
/*! modernizr 3.3.1 (Custom Build) | MIT *
* http://modernizr.com/download/?-touchevents-mq-setclasses-shiv !*/
!function(e,t,n){function o(e,t){return typeof e===t}function a(){var e,t,n,a,r,i,s;for(var c in u)if(u.hasOwnProperty(c)){if(e=[],t=u[c],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(a=o(t.fn,"function")?t.fn():t.fn,r=0;r<e.length;r++)i=e[r],s=i.split("."),1===s.length?Modernizr[s[0]]=a:(!Modernizr[s[0]]||Modernizr[s[0]]instanceof Boolean||(Modernizr[s[0]]=new Boolean(Modernizr[s[0]])),Modernizr[s[0]][s[1]]=a),l.push((a?"":"no-")+s.join("-"))}}function r(e){var t=f.className,n=Modernizr._config.classPrefix||"";if(m&&(t=t.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(o,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),m?f.className.baseVal=t:f.className=t)}function i(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):m?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(){var e=t.body;return e||(e=i(m?"svg":"body"),e.fake=!0),e}function c(e,n,o,a){var r,c,l,u,d="modernizr",m=i("div"),h=s();if(parseInt(o,10))for(;o--;)l=i("div"),l.id=a?a[o]:d+(o+1),m.appendChild(l);return r=i("style"),r.type="text/css",r.id="s"+d,(h.fake?h:m).appendChild(r),h.appendChild(m),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(t.createTextNode(e)),m.id=d,h.fake&&(h.style.background="",h.style.overflow="hidden",u=f.style.overflow,f.style.overflow="hidden",f.appendChild(h)),c=n(m,e),h.fake?(h.parentNode.removeChild(h),f.style.overflow=u,f.offsetHeight):m.parentNode.removeChild(m),!!c}var l=[],u=[],d={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){u.push({name:e,fn:t,options:n})},addAsyncTest:function(e){u.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=d,Modernizr=new Modernizr;var f=t.documentElement,m="svg"===f.nodeName.toLowerCase();m||!function(e,t){function n(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",o.insertBefore(n.lastChild,o.firstChild)}function o(){var e=E.elements;return"string"==typeof e?e.split(" "):e}function a(e,t){var n=E.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),E.elements=n+" "+e,l(t)}function r(e){var t=y[e[v]];return t||(t={},g++,e[v]=g,y[g]=t),t}function i(e,n,o){if(n||(n=t),d)return n.createElement(e);o||(o=r(n));var a;return a=o.cache[e]?o.cache[e].cloneNode():p.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e),!a.canHaveChildren||h.test(e)||a.tagUrn?a:o.frag.appendChild(a)}function s(e,n){if(e||(e=t),d)return e.createDocumentFragment();n=n||r(e);for(var a=n.frag.cloneNode(),i=0,s=o(),c=s.length;c>i;i++)a.createElement(s[i]);return a}function c(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return E.shivMethods?i(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+o().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(E,t.frag)}function l(e){e||(e=t);var o=r(e);return!E.shivCSS||u||o.hasCSS||(o.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),d||c(e,o),e}var u,d,f="3.7.3",m=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",g=0,y={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,d=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,d=!0}}();var E={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:f,shivCSS:m.shivCSS!==!1,supportsUnknownElements:d,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:l,createElement:i,createDocumentFragment:s,addElements:a};e.html5=E,l(t),"object"==typeof module&&module.exports&&(module.exports=E)}("undefined"!=typeof e?e:this,t);var h=d._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];d._prefixes=h;var p=function(){var t=e.matchMedia||e.msMatchMedia;return t?function(e){var n=t(e);return n&&n.matches||!1}:function(t){var n=!1;return c("@media "+t+" { #modernizr { position: absolute; } }",function(t){n="absolute"==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position}),n}}();d.mq=p;var v=d.testStyles=c;Modernizr.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var o=["@media (",h.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");v(o,function(e){n=9===e.offsetTop})}return n}),a(),r(l),delete d.addTest,delete d.addAsyncTest;for(var g=0;g<Modernizr._q.length;g++)Modernizr._q[g]();e.Modernizr=Modernizr}(window,document);
</script>
<link href="/favicon.ico" type="image/ico" rel="icon"/>
<link rel="apple-touch-icon" href="/resources/images/icons/apple-touch-icon.png"/>
<link rel="manifest" href="/resources/images/icons/manifest.json"/>
</head>
<body>
<a href="#main-content" class="u-visually-hide">Skip to content</a>
<nav class="c-navbar">
<div class="container">
<div class="row">
<div class="c-navbar__wrapper">
<a href="template-homepage.html" class="c-navbar__brand"><img src="/resources/images/logo.png" alt="Pizza" /></a>
<div class="c-navbar__links" id="js-navbar-links">
<ul class="c-navbar__list">
<li class="c-navbar__item"><a href="#" class="c-navbar__link is-active" aria-current="page">Menu</a></li>
<li class="c-navbar__item js-login"><a href="/" class="c-navbar__link">Login/Sign up</a></li>
<li class="c-navbar__item is-hidden js-logout"><a href="/" class="c-navbar__link">Logout</a></li>
<li class="c-navbar__item is-hidden js-profile"><a href="template-profile.html" class="c-navbar__link">My Account</a></li>
</ul>
</div>
<button class="c-navbar__menu" id="js-navbar-menu-toggle" aria-controls="js-navbar-links" type="button"><i class="icon-burger" aria-hidden="true"></i><span class="u-visually-hide">Menu</span></button>
</div>
</div>
</div>
</nav>
<main id="main-content">
<article>
<section class="c-carousel">
<div class="container">
<div class="row">
<div class="c-carousel__wrapper">
<div class="c-carousel__slides js-carousel-slides">
<div class="c-carousel__slide lazyload" data-bgset="/resources/images/carousel-4.jpg [(min-width: 300px)]">
<div class="c-carousel__slide-content">
<h2 class="c-carousel__slide-title heading">Dine for £9.99</h2>
<p class="c-carousel__slide-summary">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
<a href="" class="c-btn c-btn--primary c-carousel__slide-link">Redeem</a>
</div>
</div>
<div class="c-carousel__slide lazyload" data-bgset="/resources/images/carousel-3.jpg [(min-width: 300px)]">
<div class="c-carousel__slide-content">
<h2 class="c-carousel__slide-title heading">Buy one get on FREE</h2>
<p class="c-carousel__slide-summary">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
<a href="" class="c-btn c-btn--primary c-carousel__slide-link">Redeem</a>
</div>
</div>
<div class="c-carousel__slide lazyload" data-bgset="/resources/images/carousel-2.jpg [(min-width: 300px)]">
<div class="c-carousel__slide-content">
<h2 class="c-carousel__slide-title heading">Carousel Slide Title</h2>
<p class="c-carousel__slide-summary">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
<a href="" class="c-btn c-btn--primary c-carousel__slide-link">Call to action</a>
</div>
</div>
</div>
<div class="c-carousel__pagination js-carousel-pagination"></div>
</div>
</div>
</div>
</section>
<div class="c-listing ">
<div class="container">
<div class="row">
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
<article class="c-listing__item ">
<div class="row">
<div class="c-listing__item-media-container">
<a href="#" class="c-listing__item-media-link">
<picture>
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/700x394/000/fff?width=700" media="(min-width: 768px)" />
<source srcset="http://placehold.it/50x28/000/fff?width=50" data-srcset="http://placehold.it/300x169/000/fff?width=300" media="(min-width: 300px)" />
<img src="http://placehold.it/50x28/000/fff?width=50" class="c-listing__item-media lazyload" alt="Placeholder image" />
</picture>
</a>
</div>
<div class="c-listing__item-content-container">
<h2 class="c-listing__item-title heading">
<a href="#" class="c-listing__item-title-link">Pizza name</a>
</h2>
<div class="c-listing__item-summary-container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vestibulum scelerisque ex. Pellentesque feugiat id felis at ornare. Ut porta orci quis rutrum eleifend.</p>
</div>
<div class="c-listging__item-size-container">
<div class="c-selectbox c-selectbox--small">
<select class="c-selectbox__select">
<option>Select Size</option>
<option value="9">9</option>
<option value="12">12</option>
<option value="15">15</option>
</select>
</div>
</div>
<div class="c-listging__item-btn-container">
<button class="c-btn c-btn--secondary c-btn--small">Add to basket</button>
</div>
</div>
</div>
</article>
</div>
</div>
</div>
</article>
</main>
<footer class="c-footer">
<div class="container">
<div class="row">
<div class="c-footer__legal">
<ul class="c-footer__legal-items">
<li class="c-footer__legal-item"><a href="" class="c-footer__legal-link">Legal</a></li>
<li class="c-footer__legal-item"><a href="" class="c-footer__legal-link">Conditions of use</a></li>
<li class="c-footer__legal-item"><a href="" class="c-footer__legal-link">Privacy and use of cookies</a></li>
<li class="c-footer__legal-item"><a href="" class="c-footer__legal-link">Terms of business</a></li>
</ul>
</div>
</div>
</div>
</footer>
<div class="c-cookiebar c-cookiebar--hidden" id="js-cookiebar">
<p class="c-cookiebar__text p--small">This website uses cookies. For more information about these please click <a href="#" class="c-cookiebar__link">here</a>.<br>By continuing to browse you consent to the use of cookies</p>
</div>
<div class="loading js-loader">
<img src="/resources/images/loading.gif" alt=""/>
</div>
<script>
/*! LAB.js (LABjs :: Loading And Blocking JavaScript)
v2.0.3 (c) Kyle Simpson
MIT License
*/
(function(j){var N=j.$LAB,A="UseLocalXHR",B="AlwaysPreserveOrder",w="AllowDuplicates",C="CacheBust",l="Debug",D="BasePath",E=/^[^?#]*\//.exec(location.href)[0],F=/^\w+\:\/\/\/?[^\/]+/.exec(E)[0],i=document.head||document.getElementsByTagName("head"),O=(j.opera&&Object.prototype.toString.call(j.opera)=="[object Opera]")||("MozAppearance"in document.documentElement.style),m=function(){},G=m,s=document.createElement("script"),H=typeof s.preload=="boolean",t=H||(s.readyState&&s.readyState=="uninitialized"),I=!t&&s.async===true,P=!t&&!I&&!O;if(j.console&&j.console.log){if(!j.console.error)j.console.error=j.console.log;m=function(a){j.console.log(a)};G=function(a,c){j.console.error(a,c)}}function J(a){return Object.prototype.toString.call(a)=="[object Function]"}function K(a){return Object.prototype.toString.call(a)=="[object Array]"}function Q(a,c){var b=/^\w+\:\/\//;if(/^\/\/\/?/.test(a)){a=location.protocol+a}else if(!b.test(a)&&a.charAt(0)!="/"){a=(c||"")+a}return b.test(a)?a:((a.charAt(0)=="/"?F:E)+a)}function u(a,c){for(var b in a){if(a.hasOwnProperty(b)){c[b]=a[b]}}return c}function R(a){var c=false;for(var b=0;b<a.scripts.length;b++){if(a.scripts[b].ready&&a.scripts[b].exec_trigger){c=true;a.scripts[b].exec_trigger();a.scripts[b].exec_trigger=null}}return c}function v(a,c,b,d){a.onload=a.onreadystatechange=function(){if((a.readyState&&a.readyState!="complete"&&a.readyState!="loaded")||c[b])return;a.onload=a.onreadystatechange=null;d()}}function L(a){a.ready=a.finished=true;for(var c=0;c<a.finished_listeners.length;c++){a.finished_listeners[c]()}a.ready_listeners=[];a.finished_listeners=[]}function S(d,g,e,f,h){setTimeout(function(){var a,c=g.real_src,b;if("item"in i){if(!i[0]){setTimeout(arguments.callee,25);return}i=i[0]}a=document.createElement("script");if(g.type)a.type=g.type;if(g.charset)a.charset=g.charset;if(h){if(t){if(d[l])m("start script preload: "+c);e.elem=a;if(H){a.preload=true;a.onpreload=f}else{a.onreadystatechange=function(){if(a.readyState=="loaded")f()}}a.src=c}else if(h&&c.indexOf(F)==0&&d[A]){b=new XMLHttpRequest();if(d[l])m("start script preload (xhr): "+c);b.onreadystatechange=function(){if(b.readyState==4){b.onreadystatechange=function(){};e.text=b.responseText+"\n//@ sourceURL="+c;f()}};b.open("GET",c);b.send()}else{if(d[l])m("start script preload (cache): "+c);a.type="text/cache-script";v(a,e,"ready",function(){i.removeChild(a);f()});a.src=c;i.insertBefore(a,i.firstChild)}}else if(I){if(d[l])m("start script load (ordered async): "+c);a.async=false;v(a,e,"finished",f);a.src=c;i.insertBefore(a,i.firstChild)}else{if(d[l])m("start script load: "+c);v(a,e,"finished",f);a.src=c;i.insertBefore(a,i.firstChild)}},0)}function M(){var o={},T=t||P,q=[],r={},p;o[A]=true;o[B]=false;o[w]=false;o[C]=false;o[l]=false;o[D]="";function U(a,c,b){var d;function g(){if(d!=null){d=null;L(b)}}if(r[c.src].finished)return;if(!a[w])r[c.src].finished=true;d=b.elem||document.createElement("script");if(c.type)d.type=c.type;if(c.charset)d.charset=c.charset;v(d,b,"finished",g);if(b.elem){b.elem=null}else if(b.text){d.onload=d.onreadystatechange=null;d.text=b.text}else{d.src=c.real_src}i.insertBefore(d,i.firstChild);if(b.text){g()}}function V(c,b,d,g){var e,f,h=function(){b.ready_cb(b,function(){U(c,b,e)})},k=function(){b.finished_cb(b,d)};b.src=Q(b.src,c[D]);b.real_src=b.src+(c[C]?((/\?.*$/.test(b.src)?"&_":"?_")+~~(Math.random()*1E9)+"="):"");if(!r[b.src])r[b.src]={items:[],finished:false};f=r[b.src].items;if(c[w]||f.length==0){e=f[f.length]={ready:false,finished:false,ready_listeners:[h],finished_listeners:[k]};S(c,b,e,((g)?function(){e.ready=true;for(var a=0;a<e.ready_listeners.length;a++){e.ready_listeners[a]()}e.ready_listeners=[]}:function(){L(e)}),g)}else{e=f[0];if(e.finished){k()}else{e.finished_listeners.push(k)}}}function x(){var e,f=u(o,{}),h=[],k=0,y=false,n;function W(a,c){if(f[l])m("script preload finished: "+a.real_src);a.ready=true;a.exec_trigger=c;z()}function X(a,c){if(f[l])m("script execution finished: "+a.real_src);a.ready=a.finished=true;a.exec_trigger=null;for(var b=0;b<c.scripts.length;b++){if(!c.scripts[b].finished)return}c.finished=true;z()}function z(){while(k<h.length){if(J(h[k])){if(f[l])m("$LAB.wait() executing: "+h[k]);try{h[k++]()}catch(err){if(f[l])G("$LAB.wait() error caught: ",err)}continue}else if(!h[k].finished){if(R(h[k]))continue;break}k++}if(k==h.length){y=false;n=false}}function Y(){if(!n||!n.scripts){h.push(n={scripts:[],finished:true})}}e={script:function(){for(var g=0;g<arguments.length;g++){(function(a,c){var b;if(!K(a)){c=[a]}for(var d=0;d<c.length;d++){Y();a=c[d];if(J(a))a=a();if(!a)continue;if(K(a)){b=[].slice.call(a);b.unshift(d,1);[].splice.apply(c,b);d--;continue}if(typeof a=="string")a={src:a};a=u(a,{ready:false,ready_cb:W,finished:false,finished_cb:X});n.finished=false;n.scripts.push(a);V(f,a,n,(T&&y));y=true;if(f[B])e.wait()}})(arguments[g],arguments[g])}return e},wait:function(){if(arguments.length>0){for(var a=0;a<arguments.length;a++){h.push(arguments[a])}n=h[h.length-1]}else n=false;z();return e}};return{script:e.script,wait:e.wait,setOptions:function(a){u(a,f);return e}}}p={setGlobalDefaults:function(a){u(a,o);return p},setOptions:function(){return x().setOptions.apply(null,arguments)},script:function(){return x().script.apply(null,arguments)},wait:function(){return x().wait.apply(null,arguments)},queueScript:function(){q[q.length]={type:"script",args:[].slice.call(arguments)};return p},queueWait:function(){q[q.length]={type:"wait",args:[].slice.call(arguments)};return p},runQueue:function(){var a=p,c=q.length,b=c,d;for(;--b>=0;){d=q.shift();a=a[d.type].apply(null,d.args)}return a},noConflict:function(){j.$LAB=N;return p},sandbox:function(){return M()}};return p}j.$LAB=M();(function(a,c,b){if(document.readyState==null&&document[a]){document.readyState="loading";document[a](c,b=function(){document.removeEventListener(c,b,false);document.readyState="complete"},false)}})("addEventListener","DOMContentLoaded")})(this);
</script>
<script type="text/javascript">
$LAB.setGlobalDefaults({Debug:true, AllowDuplicates:false})
.script("//ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js").wait(function() {
window.lazySizesConfig = window.lazySizesConfig || {};
lazySizesConfig.loadMode = 1;
lazySizesConfig.expand = 0;
})
.script("https://cdn.auth0.com/js/auth0/8.10.1/auth0.min.js")
.script("/resources/js/plugins/ls.bgset.min.js")
.script("/resources/js/plugins/lazysizes.min.js")
.script("/resources/js/plugins/picturefill.min.js")
.script("/resources/js/plugins/jquery.validate.min.js")
.script("/resources/js/plugins/jquery.validate.webforms.min.js")
.script("/resources/js/plugins/selection-sharer.min.js")
.script("/resources/js/plugins/selection-sharer.min.js")
.script("/resources/js/plugins/jquery.fitvid.min.js").wait()
.script("/resources/js/global.min.js").wait(function() {
BEGlobal.Init();
FEGlobal.Init();
});
</script>
<script type="text/javascript">
$LAB
.script("/resources/js/plugins/slick.min.js")
.script("/resources/js/carousel.min.js").wait(function() {
BECarousel.Init();
FECarousel.Init();
});
</script>
</body>
</html>