-
Notifications
You must be signed in to change notification settings - Fork 1
/
_mas_head.html.erb
113 lines (95 loc) · 4.24 KB
/
_mas_head.html.erb
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
<link href="https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/dough/assets/stylesheets/basic-c6f0bc03dbe96c1cc8b39033ef43f72f.css" media="screen" rel="stylesheet" />
<!--[if ( gte IE 7 ) & ( lte IE 8 ) & (!IEMobile) ]>
<link href="https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/dough/assets/stylesheets/font_files-dcbb90df70309af8f6ceeaff0db9a5af.css" media="screen" rel="stylesheet" />
<link href="https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/enhanced_fixed-1cca1e76da0e2d48be990410a432379f.css" media="all" rel="stylesheet" />
<script src="https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/html5shiv/dist/html5shiv-ccc40f0f8bab80e89dfead2f99f6efdf.js"></script>
<script>var responsiveStyle = false;</script>
<![endif]-->
<!--[if ( !IE ) | ( gte IE 9 ) ]><!-->
<link href="https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/enhanced_responsive-d8208fa73813e571e25d02f662719e85.css" media="only all" rel="stylesheet" />
<script>var responsiveStyle = true;</script>
<!--<![endif]-->
<script type="text/javascript">
var dataLayer = window.dataLayer || [];
dataLayer.push({
'Responsive page': 'Yes',
'event': 'Responsive page'
});
var require = {
config: {
globals: (function(w, d) {
var html, appendFile, bootstrap, fonts, supports;
appendFile = function(tag, src, content) {
var position = d.getElementsByTagName('script')[0],
file = d.createElement(tag);
if (tag === 'script') {
file.async = true;
file.type = "text/javascript";
}
if (src) file.src = src;
if (content) file.innerHTML = content;
position.parentNode.insertBefore(file, position);
};
html = d.getElementsByTagName('html')[0];
bootstrap = {
env: 'production',
timestamp: new Date().getTime(),
i18nLocale: 'en',
googleApiCx: '011931388747222259444:qxgwfm5hlog'
};
fonts = {
url: 'https://masjumpprdstorage.blob.core.windows.net/responsive-assets/a/dough/assets/stylesheets/font_base64-28a0a91cf9910ceb5cc55a64841ae31a.css',
cacheName: 'MAS.fonts',
loadClass: 'wf-museosans-n4-active fontsLoaded',
localstorage: undefined,
loadWithJS: responsiveStyle
};
supports = (function() {
var S = {};
function supportTest(prop, context) {
try {
return prop in context && context[prop] !== null;
} catch (e) {
return false;
}
}
S.js = supportTest('querySelector', d) && supportTest('localStorage', w) && supportTest('addEventListener', w) ? 'advanced' : 'basic';
S.touch = supportTest('ontouchstart', w) || supportTest('onmsgesturechange', w);
S.localstorage = supportTest('localStorage', w);
S.svg = (function() {
return !!d.createElementNS && !!d.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect
})();
S.test = supportTest;
return S
})();
if (supports.localstorage && localStorage.getItem(fonts.cacheName) !== null) {
html.className = html.className += (' ' + fonts.loadClass);
appendFile('style', false, localStorage.getItem(fonts.cacheName));
fonts.localstorage = true;
}
html.className = html.className.replace('supports-js', 'supports-js js js-' + supports.js);
setTimeout(function() {
var src = d.location.protocol + "//dnn506yrbagrg.cloudfront.net/pages/scripts/0018/4438.js?" + Math.floor(new Date().getTime() / 3600000);
appendFile('script', src);
}, 1);
var vp, ua, gs, sf;
vp = d.querySelector && d.querySelector('meta[name="viewport"]');
ua = navigator.userAgent;
sf = function() {
if (vp && /iPhone|iPad|iPod/.test(ua) && !/Opera Mini/.test(ua)) {
vp.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
d.addEventListener("gesturestart", gs, false);
}
};
gs = function() {
vp.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
};
return {
bootstrap: bootstrap,
fonts: fonts,
supports: supports
};
})(window, document)
}
};
</script>