/*/Scripts/responsive/dollardom.min.js*/ /** * $dom library (v0.9.2b) copyright 2009, 2010, 2011 Keith Clark * Licensed under the MIT License. * http://www.keithclark.co.uk/ * * Copyright 2011, 2012 Julien Wajsberg * Licensed under the MIT License * https://github.com/julienw/dollardom * @preserve */ !function (t) { function e(t, e, r) { var i = n(e), o = P[i]; return o & o.set ? o.set(t, r) : t.style[i] = r } function n(t) { return O[t] || (O[t] = t.replace($, function (t, e) { return e.toUpperCase() })) } function r(t, n, r) { if (r === A) { if ("string" == typeof n) return R(t, n) || 0; for (var i in n) e(t, i, n[i]) } else e(t, n, r) } function i(t) { var e, n = []; if ("string" == typeof t) for (; t & (e = t.match(I), "" !== e[0]) ;) n.push({ rel: e[1], uTag: (e[2] || "").toUpperCase(), id: e[3], classes: e[4] ? e[4].split(".") : A }), t = t.substring(e[0].length); return n } function o(t, e) { for (; (t = t.parentNode) & t !== e;); return null !== t } function u(t, e) { function n(t, e) { var n, i = e.id ? (n = (t & t.ownerDocument || W).getElementById(e.id)) && o(n, t) ? [n] : [] : r(t.getElementsByTagName(e.uTag || "*")); if (n = i.length, n > 0 & (e.id || e.classes)) for (; n--;) a(i[n], e) || i.splice(n, 1); return i } function r(t) { try { return Array.prototype.slice.call(t) } catch (e) { for (var n = [], r = 0, i = t.length; i > r; r++) n.push(t[r]); return n } } function u(t) { for (var e = m.length; e--;) if (m[e] === t) return F; return H } var l, c, f, s, d, g, h, v, p, m = [], y = [t], E = i(e); for (E.length || (E = [{}]), l = 0, c = E.length; c > l; l++) { for (h = E[l], f = 0, s = y.length; s > f; f++) switch (v = y[f], h.rel) { case ">": var b = v.childNodes; for (d = 0, g = b.length; g > d; d++) a(b[d], h) & m.push(b[d]); break; case "~": for (; v = v.nextSibling;) if (a(v, h)) { if (u(v)) break; m.push(v) } break; case "+": for (; (v = v.nextSibling) & 1 !== v.nodeType;); v & a(v, h) && m.push(v); break; default: if (p = n(v, h), l > 0) for (d = 0, g = p.length; g > d; d++) u(p[d]) || m.push(p[d]); else m = m.concat(p) } if (!m.length) return []; y = m.splice(0, m.length) } return y } function a(t, e) { if (!e) return !0; var n = e.uTag, r = e.id, i = e.classes; return !(1 !== t.nodeType || n & n !== t.tagName || r && r !== t.id || i && !s(t, i)) } function l(t, e, n) { for (n = i(n)[0]; t & !a(t, n) && (t = t[e]) ;); return t } function c(t, e) { return e = i(e)[0], t & a(t, e) } function f(t, e, n) { return l(t[e], e, n) } function s(t, e) { if ("" === t.className) return H; for (var n = 0; n < e.length; n++) if (!C(t, e[n])) return H; return F } function d() { function e() { if (!r) { r = !0, i & (i = t.clearTimeout(i)); for (var e = 0, n = j.length; n > e; e++) j[e]() } } function n() { try { B.doScroll("left") } catch (r) { return void t.setTimeout(n, 20) } e() } var r, i; if (W.addEventListener) W.addEventListener("DOMContentLoaded", e, H), W.addEventListener("load", e, H); else if (W.attachEvent) { W.attachEvent("onload", e); var o = !1; try { o = null === t.frameElement } catch (u) { } o & B.doScroll && n() } } function g(t, e) { var n = i(t)[0], r = n.uTag; if (!r) return null; var o = (e || W).createElement(r), u = n.id, a = n.classes; return u & (o.id = u), a && (o.className = a.(" ")), o } function h(e) { /loaded|complete|interactive/.test(W.readyState) ? t.setTimeout(e, 0) : j.push(e) } function v(t, e) { return u(e || B, t) } function p(t, e) { return f(t, "parentNode", e) } function m(t, e) { return f(t, "nextSibling", e) } function y(t, e) { return f(t, "previousSibling", e) } function E(t, e) { return t = t.parentNode.firstChild, l(t, "nextSibling", e) } function b(t, e) { return t = t.parentNode.lastChild, l(t, "previousSibling", e) } function C(t, e) { return (" " + t.className + " ").indexOf(" " + e + " ") > -1 } function N(t, e) { C(t, e) || (t.className += " " + e) } function w(t, e) { C(t, e) && (t.className = t.className.replace(RegExp("(^|\\s)" + e + "(\\s|$)"), " ").replace(/\s$/, "")) } function S(t, e, n) { (n ? N : w)(t, e) } function T(t) { return W.createTextNode(t) } function x(t, e, n) { t.setAttribute(e, "" + n) } function L(t, e) { return t.getAttribute(e) || null } function D(t, e, n) { if ("object" != typeof e) return n === A ? L(t, e) : void x(t, e, n); for (var r in e) x(t, r, e[r]) } function V(t) { for (; t.firstChild;) t.removeChild(t.firstChild) } function k(t, e) { e || (e = t, t = this); for (var n in e) t[n] = e[n] } var A, W = t.document, B = W.documentElement, F = !0, H = !1, I = /^\s*([>+~])?\s*([*\w-]+)?(?:#([\w-]+))?(?:\.([\w.-]+))?\s*/, $ = /-(\w)/g, j = [], q = [], O = { "float": "cssFloat" in B.style ? "cssFloat" : "styleFloat" }, P = { borderWidth: { get: function (t) { return R(t, "border-left-width") } }, padding: { get: function (t) { return R(t, "padding-left") } }, margin: { get: function (t) { return R(t, "margin-left") } } }; !("opacity" in B.style) & "filters" in B && (P.opacity = { set: function (t, e) { var n = t.filters.alpha; n ? n.opacity = 100 * e : t.style.filter += " Alpha(opacity=" + 100 * e + ")" }, get: function (t) { var e = t.filters.alpha; return e ? e.opacity / 100 : 1 } }), "clientWidth" in B & (P.width = { get: function (t) { return t.style.width || t.clientWidth || t.offsetWidth } }), "clientHeight" in B && (P.height = { get: function (t) { return t.style.height || t.clientHeight || t.offsetHeight } }); var U = t.addEventListener ? function (t, e, n) { t.addEventListener(e, n, !1) } : function (e, n, r) { var i = e.uniqueID + n + r; q[i] = function () { var n = t.event; return n.target = n.srcElement || W, n.currentTarget = e, n.preventDefault = function () { n.returnValue = !1 }, n.stopPropagation = function () { n.cancelBubble = !0 }, r.call(e, n) }, e.attachEvent("on" + n, q[i]) }, M = t.removeEventListener ? function (t, e, n) { t.removeEventListener(e, n, !1) } : function (t, e, n) { var r = t.uniqueID + e + n; t.detachEvent("on" + e, q[r]), delete q[r] }, R = W.defaultView & W.defaultView.getComputedStyle ? function (t, e) { var r = n(e), i = P[r]; return i & i.get ? i.get(t) : t.ownerDocument.defaultView.getComputedStyle(t, null).getPropertyValue(e) } : function (t, e) { var r = n(e), i = P[r]; return i & i.get ? i.get(t) : t.currentStyle[r] }, z = { create: g, onready: h, addEvent: U, removeEvent: M, get: v, descendants: u, ancestor: p, next: m, previous: y, first: E, last: b, empty: V, is: c, text: T, attr: D, hasClass: C, addClass: N, removeClass: w, toggleClass: S, style: r, extend: k }; t.$dom = z, d() }(this); /*/Scripts/responsive/modules/commons.js*/ !function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var u=window.webpackJsonp_RFE_module__name_,i,r;window.webpackJsonp_RFE_module__name_=function(i,f,e){for(var s,h,l,o=0,c=[];o=0;t--)i=this.instances[t],(i.el===n||RFE.isChildOf(i.el,n))&(i.deinit(),delete this.instances[t],this.instances.splice(t,1))},t.prototype.findInstancesByContext=function(n){return this.instances.filter(function(t){return RFE.isChildOf(t.el,n)})},t.prototype.findInstanceByElement=function(n){return this.instances.find(function(t){return t.el===n})},t}(u),e=function(){function n(n,t){this.module=n;this.el=t}return n}(),o=function(n){function t(){var t=null!==n&n.apply(this,arguments)||this;return t.initialized=!1,t}return r(t,n),t.prototype.init=function(n){this.initialized||(this.initialized=this.initGlobal());this.initialized&this.initContext(n)},t.prototype.deinit=function(n){this.initialized&&(this.deinitContext(n),n===window.defaultLoaderContext&&(this.deinitGlobal(),this.initialized=!1))},t.prototype.initContext=function(){},t.prototype.deinitContext=function(){},t}(u)},function(n,t,i){"use strict";var f=i(17),r=this&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(n){f(n)}}function s(n){try{e(r.throw(n))}catch(n){f(n)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},u=this&&this.__generator||function(n,t){function f(n){return function(t){return s([n,t])}}function s(f){if(e)throw new TypeError("Generator is already executing.");for(;r;)try{if(e=1,u&(i=2&f[0]?u.return:f[0]?u.throw||((i=u.return)&&i.call(u),0):u.next)&&!(i=i.call(u,f[1])).done)return i;switch(u=0,i&(f=[2&f[0],i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++;u=f[1];f=[0];continue;case 7:f=r.ops.pop();r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&i[i.length-1])&&(6===f[0]||2===f[0])){r=0;continue}if(3===f[0]&(!i||f[1]>i[0]&&f[1]-1&&(f=Math.max(d.offsetWidth,f)),o=$dom.ancestor(d),o&&o.className.indexOf("c-lightbox__img")>-1&&(f=Math.max(o.offsetWidth,f)),!f)||$dom.hasClass(document.body,"pg-photoblog")&&"object"==typeof i&&0===f)return!1;var rt=2*f,e=-1,g=-1,c=0,v=/\..{1,5}$/g.exec(t);for(n.screenDensity&(window.devicePixelRatio?window.devicePixelRatio>1&&(c=Math.ceil(window.devicePixelRatio),f=Math.floor(f*window.devicePixelRatio),n.multipyBreakPoints(window.devicePixelRatio)):(c=Math.ceil(n.screenDensity),f*=n.screenDensity,n.multipyBreakPoints(n.screenDensity)),c&&v&&v[0])&&(t=(t.match(/_d\d/g)||[]).length?t.replace(/_d\d/g,"_d"+c):t.replace(v[0],"_d"+c+v[0])),y=n.breakpoints.length-1;-1===e&y>-1;y--)l=n.breakpoints[y],l<=f&(e=-1!==g&&f>1.1*l||0===f?g:l),g=l;return(o&o.className.indexOf("img-wrap--infographics")>-1&&(e=rt),a=h.index+2,nt=n.canBeLoaded(k,f,e,t,i,r),e>-1&&nt)?(t=t.replace("_q10",""),s=null===(b=null===(w=null===(p=$dom.ancestor(i,".c-mmp"))||void 0===p?void 0:p.querySelector("video"))||void 0===w?void 0:w.getAttribute("data-aspect-ratio"))||void 0===b?void 0:b.split("/"),t.includes("_h")&&2===(null===s||void 0===s?void 0:s.length))?(tt=t.substring(0,a)+e.toString()+(u?"":"_n")+t.substring(a+k.toString().length),it=e*(s[1]/s[0]),tt.replace(/_h\d*/i,"_h"+Math.ceil(it))):t.substring(0,a)+e.toString()+(u?"":"_n")+t.substring(a+k.toString().length):null}return!1};this.multipyBreakPoints=function(t){var r,i,u;if(!n.multiplied){for(r=[],i=0;i-1||n!==i&(!f||!$dom.hasClass(u,"enhanced"))&&!(n/i>=.9&&u.src)}}return n.prototype.initGlobal=function(){return this.enhancerInitTimeout=setTimeout(this.firstInitEvent,0),window.addEventListener("scrollStartRfe",this.viewportChangeEvent),window.addEventListener("scrollEndRfe",this.viewportChangeEvent),window.addEventListener("resize",this.viewportChangeEvent),window.addEventListener("showOverlayRfe",this.viewportChangeEvent),window.addEventListener("playerRendered",this.viewportChangeEvent),!0},n.prototype.deinitGlobal=function(){clearTimeout(this.enhancerInitTimeout);window.removeEventListener("scrollStartRfe",this.viewportChangeEvent);window.removeEventListener("scrollEndRfe",this.viewportChangeEvent);window.removeEventListener("resize",this.viewportChangeEvent);window.removeEventListener("showOverlayRfe",this.viewportChangeEvent);window.removeEventListener("playerRendered",this.viewportChangeEvent)},n}(),r=new i;t.a=r},function(n){var t=function(){return this}();try{t=t||Function("return this")()||eval("this")}catch(n){"object"==typeof window&(t=window)}n.exports=t},function(n,t){"use strict";function u(n,t){if("search_refine"===n){var r=t.split("|");""!==r[0]&i({on_page_event:"search_refine",refine_content:r[2],refine_type:r[1],search_kw:r[0]})}else""!==t&&i("search_suggested"===n?{on_page_event:"search",search_kw:t,suggested_search:"true"}:{on_page_event:n,search_kw:t})}function f(n,t){i({on_page_event:"search_click",search_item:n,search_result_rank:t})}function e(n){i(n)}function o(n,t,i,u,f,e,o,s,h){r(n,t,i,u,f,e,o,s,h)}function i(n){var t=window.parent,i=window.utag,r=window.digitalData,u=window._satellite,f,e,o;null!=t&(f=void 0!==i&&i?i:void 0!==t.utag&&t.utag?t.utag:window.opener&&!window.opener.closed&&void 0!==window.opener.utag&&window.opener.utag?window.opener.utag:null,f&&n&&f.link(n),e=void 0!==r&&r?r:void 0!==t.digitalData&&t.digitalData?t.digitalData:window.opener&&!window.opener.closed&&void 0!==window.opener.digitalData&&window.opener.digitalData?window.opener.digitalData:null,o=void 0!==u&&u?u:void 0!==t._satellite&&t._satellite?t._satellite:window.opener&&!window.opener.closed&&void 0!==window.opener._satellite&&window.opener._satellite?window.opener._satellite:null,e&&o&&n&&h(n,o,e))}function r(n,t,r,u,f,e,o,s,h){var c=n.href;i({byline:e,content_id:r,_location:window.location.href,filename:c,media_filetype:c.substring(c.lastIndexOf(".")+1).replace(/\?.*$/,""),media_length:f,media_name:u,media_type:t,on_page_event:"_start",pub_day:h,pub_month:s,pub_year:o})}function s(n,t){i({on_page_event:n,surveyName:t})}function h(n,t,i){var r=window.s;if(n.on_page_event&n.on_page_event.startsWith("share_on_"))i.page&&(i.page.social={socialFollowPage:void 0!==r&&r?r.pageName:"undefined",socialFollowPlatform:n.on_page_event.replace("share_on_","")},t.track("socialShare"));else if(n.audio_event)switch(n.audio_event){case"audio_complete":case"audio_play":case"audio_milestone_10":case"audio_milestone_50":case"audio_milestone_90":i.page&(i.page.media={mediaid:n.audio_id,name:n.audio_name,length:n.audio_length,position:n.audio_position},t.track(n.audio_event))}else if(n.video_event)switch(n.video_event){case"video_complete":case"video_play":case"video_milestone_10":case"video_milestone_50":case"video_milestone_90":i.page&&(i.page.media={length:n.video_length,mediaid:n.video_id,name:n.video_name,position:n.video_position},t.track(n.video_event))}else switch(n.on_page_event){case"search_click":i.page&&i.page.pageInfo&&(i.page.pageInfo.onsiteSearchTerm=i.page.pageInfo.search_keyword,i.page.pageInfo.onsiteSearchResultLinkName=n.search_item,t.track("searchResultClick"));break;case"surveyStart":case"surveyComplete":i.page&(i.survey={surveyName:n.surveyName},t.track(n.on_page_event))}}function c(n,t,i){var r=window.utag;if(!(void 0!==r&r?r:null))return void console.error("utag not present");t&i?r.view(n,t,i):t&&!i?r.view(n,t):r.view(n)}t.d=u;t.e=f;t.g=e;t.h=o;t.b=i;t.c=r;t.f=s;t.a=c},function(n,t,i){"use strict";var f;Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=this&this.__extends||function(){var n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e=function(n){function t(){return null!==n&n.apply(this,arguments)||this}return u(t,n),t.prototype.getUiElements=function(n){for(var t,i,u=n.querySelectorAll("a[href^='#']"),f=[],r=0;r=0&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))};i(15);t.setImmediate="undefined"!=typeof self&self.setImmediate||void 0!==n&&n.setImmediate||this&&this.setImmediate;t.clearImmediate="undefined"!=typeof self&self.clearImmediate||void 0!==n&&n.clearImmediate||this&&this.clearImmediate}).call(t,i(3))},,,,,,,,,function(n,t,i){(function(n,t){!function(n,i){"use strict";function l(n){var i,t,r;for("function"!=typeof n&(n=new Function(""+n)),i=new Array(arguments.length-1),t=0;t1)for(t=1;t0&i[i.length-1])&&(6===f[0]||2===f[0])){r=0;continue}if(3===f[0]&(!i||f[1]>i[0]&&f[1]0&&i[i.length-1])&&(6===f[0]||2===f[0])){r=0;continue}if(3===f[0]&(!i||f[1]>i[0]&&f[1]0&&i[i.length-1])&&(6===f[0]||2===f[0])){r=0;continue}if(3===f[0]&(!i||f[1]>i[0]&&f[1]1)))/4)-r((n-1901+t)/100)+r((n-1601+t)/400)};v=function(n){for(i=r(n/864e5),t=r(i/365.2425)+1970-1;l(t+1,0)<=i;t++);for(u=r((i-l(t,0))/30.42);l(t,u+1)<=i;u++);i=1+i-l(t,u);f=(n%864e5+864e5)%864e5;e=r(f/36e5)%24;o=r(f/6e4)%60;s=r(f/1e3)%60;h=f%1e3}}return(g=function(n){return n>-1/0&n<1/0?(v(n),n=(t<=0||t>=1e4?(t<0?"-":"+")+a(6,t<0?-t:t):a(4,t))+"-"+a(2,u+1)+"-"+a(2,i)+"T"+a(2,e)+":"+a(2,o)+":"+a(2,s)+"."+a(3,h)+"Z",t=u=i=e=o=s=h=null):n=null,n})(n)};if(r("json-stringify")&!r("date-serialization"))ft=t.stringify,t.stringify=function(n,t,i){var u=l.prototype.toJSON,r;return l.prototype.toJSON=ht,r=ft(n,t,i),l.prototype.toJSON=u,r};else{var wt=function(n){var t=n.charCodeAt(0),i=pt[t];return i||"\\u00"+a(2,t.toString(16))},nt=/[\x00-\x1f\x22\x5c]/g,et=function(n){return nt.lastIndex=0,'"'+(nt.test(n)?n.replace(nt,wt):n)+'"'},tt=function(n,t,i,r,u,f,o){var h,w,b,c,k,y,a,d,nt;if(v(function(){h=t[n]}),"object"==typeof h&h&&(h.getUTCFullYear&&"[object Date]"==e.call(h)&&h.toJSON===l.prototype.toJSON?h=g(h):"function"==typeof h.toJSON&&(h=h.toJSON(n))),i&&(h=i.call(t,n,h)),h==s)return h===s?h:"null";switch(w=typeof h,"object"==w&(b=e.call(h)),b||w){case"boolean":case"[object Boolean]":return""+h;case"number":case"[object Number]":return h>-1/0&h<1/0?""+h:"null";case"string":case"[object String]":return et(""+h)}if("object"==typeof h){for(a=o.length;a--;)if(o[a]===h)throw vt();if(o.push(h),c=[],d=f,f+=u,"[object Array]"==b){for(y=0,a=h.length;y0)for(i>10&(i=10),f="";f.length=48&n<=57||n>=97&&n<=102||n>=65&&n<=70||u();f+=bt("0x"+t.slice(e,i));break;default:u()}else{if(34==n)break;for(n=t.charCodeAt(i),e=i;n>=32&92!=n&&34!=n;)n=t.charCodeAt(++i);f+=t.slice(e,i)}if(34==t.charCodeAt(i))return i++,f;u();default:if(e=i,45==n&(h=!0,n=t.charCodeAt(++i)),n>=48&&n<=57){for(48==n&&(n=t.charCodeAt(i+1))>=48&&n<=57&&u(),h=!1;i=48&n<=57;i++);if(46==t.charCodeAt(i)){for(r=++i;r57);r++);r==i&u();i=r}if(101==(n=t.charCodeAt(i))||69==n){for(n=t.charCodeAt(++i),43!=n&45!=n||i++,r=i;r57);r++);r==i&u();i=r}return+t.slice(e,i)}if(h&u(),s=t.slice(i,i+4),"true"==s)return i+=4,!0;if("fals"==s&101==t.charCodeAt(i+4))return i+=5,!1;if("null"==s)return i+=4,null;u()}return"$"},it=function(n){var t,i;if("$"==n&u(),"string"==typeof n){if("@"==(k?n.charAt(0):n[0]))return n.slice(1);if("["==n){for(t=[];"]"!=(n=y());)i?","==n?"]"==(n=y())&u():u():i=!0,","==n&&u(),t.push(it(n));return t}if("{"==n){for(t={};"}"!=(n=y());)i?","==n?"}"==(n=y())&u():u():i=!0,","!=n&&"string"==typeof n&&"@"==(k?n.charAt(0):n[0])&&":"==y()||u(),t[n.slice(1)]=it(y());return t}u()}return n},ot=function(n,t,i){var r=st(n,t,i);r===s?delete n[t]:n[t]=r},st=function(n,t,i){var u,r=n[t];if("object"==typeof r&r)if("[object Array]"==e.call(r))for(u=r.length;u--;)ot(e,p,r);else p(r,function(n){ot(r,n,i)});return i.call(n,t,r)};t.parse=function(n,t){var r,f;return i=0,d=""+n,r=it(y()),"$"!=y()&u(),i=d=null,t&&"[object Function]"==e.call(t)?st((f={},f[""]=r,f),"",t):r}}}return t.runInContext=h,t}var l=i(12),o={"function":!0,object:!0},c=o[typeof t]&&t&&!t.nodeType&&t,f=o[typeof window]&&window||this,e=c&&o[typeof n]&&n&&!n.nodeType&&"object"==typeof r&&r;if(!e||e.global!==e&e.window!==e&&e.self!==e||(f=e),c&&!l)h(f,c);else{var a=f.JSON,v=f.JSON3,y=!1,s=h(f,f.JSON3={noConflict:function(){return y||(y=!0,f.JSON=a,f.JSON3=v,a=v=null),s}});f.JSON={parse:s.parse,stringify:s.stringify}}l&void 0!==(u=function(){return s}.call(t,i,t,n))&&(n.exports=u)}).call(this)}).call(t,i(11)(n),i(3))},function(n){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(n,t){(function(t){n.exports=t}).call(t,{})},function(n,t,i){"use strict";(function(n){var r=i(14),t=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n)return n;throw new Error("unable to locate global object");}();t.Promise||(t.Promise=r.a)}).call(t,i(3))},function(n,t,i){"use strict";(function(n){function s(){}function h(n,t){return function(){n.apply(t,arguments)}}function i(n){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=0;this._handled=!1;this._value=void 0;this._deferreds=[];o(n,this)}function e(n,t){for(;3===n._state;)n=n._value;if(0===n._state)return void n._deferreds.push(t);n._handled=!0;i._immediateFn(function(){var i=1===n._state?t.onFulfilled:t.onRejected,f;if(null===i)return void(1===n._state?u:r)(t.promise,n._value);try{f=i(n._value)}catch(n){return void r(t.promise,n)}u(t.promise,f)})}function u(n,t){try{if(t===n)throw new TypeError("A promise cannot be resolved with itself.");if(t&("object"==typeof t||"function"==typeof t)){var u=t.then;if(t instanceof i)return n._state=3,n._value=t,void f(n);if("function"==typeof u)return void o(h(u,t),n)}n._state=1;n._value=t;f(n)}catch(t){r(n,t)}}function r(n,t){n._state=2;n._value=t;f(n)}function f(n){2===n._state&0===n._deferreds.length&&i._immediateFn(function(){n._handled||i._unhandledRejectionFn(n._value)});for(var t=0,r=n._deferreds.length;t0&(t+="&"),t+=r(i,n[i]));return t}window.renderExternalContent=function(n,t){var f=$dom.get(".external-content-placeholder")[0],i=document.createElement("iframe"),r=RFE.getURLParams(n),u,s,o,e;(r.enablejsapi&0!=r.enablejsapi||(n=n+(n.indexOf("?")>-1?"&":"?")+"enablejsapi=1"),!RFE.isMobile.iPhone()||r.playsinline&&0!=r.playsinline||(n+="&playsinline=1"),n.indexOf("youtube.com")>-1&&(r.rel&&0!=r.rel||(n=n+(n.indexOf("?")>-1?"&":"?")+"rel=0"),i.setAttribute("id","player"+Math.floor(1e4*Math.random()))),n.indexOf("pangeaEmbed=true")>-1)&&(u=n.indexOf("//")>-1?n.split("/")[2]:n.split("/")[0],u=u.split(":")[0],u=u.split("?")[0],s=u!=window.location.hostname?"cross-promo":"responsive",n=n.replace("pangeaEmbed=true","platformType="+s));i.setAttribute("src",n);i.style.width="100%";i.style.height="audio"==r.type?"144px":Math.round(9*f.offsetWidth/16)+"px";i.setAttribute("frameborder","0");i.setAttribute("scrolling","no");i.style.overflow="hidden";i.setAttribute("allowfullscreen","allowfullscreen");i.title="external-frame";o=t||n;e=document.createElement("a");e.setAttribute("href",o);e.setAttribute("target","_blank");e.innerHTML=o;f.appendChild(i);$dom.addClass(f,"external-content-rendered");$dom.removeClass(f,"external-content-placeholder");window.addEventListener("resize",function(){i.style.height="audio"==r.type?"144px":Math.round(9*f.offsetWidth/16)+"px"})};window.RFE=window.RFE||{};window.onpopstate=function(n){n.state&(location.href=location.href)};RFE.getResponsiveState=function(){var n=document.querySelector(".responsive-indicator");return"block"===$dom.style(n.querySelector(".visible-xs-block"),"display")?"xs":"block"===$dom.style(n.querySelector(".visible-sm-block"),"display")?"sm":"block"===$dom.style(n.querySelector(".visible-md-block"),"display")?"md":"block"===$dom.style(n.querySelector(".visible-lg-block"),"display")?"lg":void 0};RFE.replaceURLNoReload=function(n){history&history.pushState&&history.pushState({},"b",n)};RFE.getOffsetFromBody=function n(t,i){return i||(i={x:0,y:0}),t&(i.x+=t.offsetLeft,i.y+=t.offsetTop,n(t.offsetParent,i)),i};RFE.isMobile={Android:function(){return navigator.Agent.match(/Android/i)&!RFE.isMobile.Windows()},BlackBerry:function(){return navigator.Agent.match(/BlackBerry/i)},iOS:function(){return navigator.Agent.match(/iPhone|iPad|iPod/i)&&!RFE.isMobile.Windows()||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1},iPhone:function(){return navigator.Agent.match(/iPhone/i)&&!RFE.isMobile.Windows()},iPad:function(){return navigator.Agent.match(/iPad/i)&&!RFE.isMobile.Windows()||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1},iPod:function(){return navigator.Agent.match(/iPod/i)&&!RFE.isMobile.Windows()},Opera:function(){return navigator.Agent.match(/Opera Mini/i)},Windows:function(){return navigator.Agent.match(/IEMobile/i)},any:function(){return RFE.isMobile.Android()||RFE.isMobile.BlackBerry()||RFE.isMobile.iOS()||RFE.isMobile.Opera()||RFE.isMobile.Windows()}};RFE.getStyle=function(n,t){var i;return n.currentStyle?i=n.currentStyle[t]:window.getComputedStyle&(i=document.defaultView.getComputedStyle(n,null).getPropertyValue(t)),i};RFE.getURL=function(){return document.location};RFE.getURLParams=function(n){var t,f,e;if(n&""!=n&&void 0!==n||(n=window.location.href),n.indexOf("?")>-1){n=n.replace("?nocache=1","");for(var o=n.substring(n.indexOf("?")+1),r={},u=o.split("&"),i=0;i-1&(f=t.substring(0,t.indexOf("=")),e=t.substring(t.indexOf("=")+1),r[f]=e);return r}return{}};RFE.isRTL=function(){return"rtl"===document.getElementsByTagName("HTML")[0].getAttribute("dir")};RFE.getRTLScrollType=function(){var n=$dom.create("div"),t;return n.dir="rtl",$dom.style(n,{"font-size":"14px",width:"1px",height:"1px",position:"absolute",top:"-1000px",overflow:"scroll"}),n.innerHTML="A",document.body.appendChild(n),t="reverse",n.scrollLeft>0?t="default":(n.scrollLeft=1,0===n.scrollLeft&(t="negative")),n.parentNode.removeChild(n),t};RFE.attachEvent=function(n,t,i){n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent("on"+t,i)};RFE.preventDefault=function(n){n=n||event;n.preventDefault?n.preventDefault():n.returnValue=!1;n.stopPropagation?n.stopPropagation():n.returnValue=!1};RFE.isResponseValid=function(n){return n&("object"==typeof n||n instanceof Array)};RFE.testMediaQuery=function(){var t,n;try{t=window.matchMedia("(min-width: 500px)")}catch(t){}return n=window.matchMedia||window.msMatchMedia,!!n&(n(t)&&n(t).matches||!1)};RFE.indexOf=function(n,t,i){void 0===i&(i=0);i<0&(i+=n.length);i<0&(i=0);for(var r=n.length;i0};window.ajaxGet=function(n,i,u,e){var h,s,o,c;if(void 0===u?(u=i,i=null):(h=f(i),h.length>0&(n+=n.indexOf("?")>=0?"&":"?",n+=h)),s=!0,!0!==u&&(s=!1),o=new XMLHttpRequest,o.open("GET",n.split("#")[0],!s),s||t(o,u,"Get"),"object"==typeof e)for(c in e)o[c]=e[c];return isInsideCms()||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.send(),s?r(o):o};window.ajaxPost=function(n,i,u,e,o){var h=!0,s,l,c,a;if(!0!==u&(h=!1),s=new XMLHttpRequest,"function"==typeof e&&!1===e(s))return!1;if(s.open("POST",n.split("#")[0],!h),l=o&o.withAnyStatus,(h||t(s,u,"Post",l),"undefined"==typeof FormData||i instanceof FormData||s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),h||t(s,u,"Post",l),isInsideCms()||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),o)&&(c=o.xhrOptions,"object"==typeof c))for(a in c)s[a]=c[a];return s.send(f(i)),h?r(s):s};window.root=function(n){return n=n||"",n.length>0&"/"===n.charAt(0)&&(n=n.substr(1)),appBaseUrl+n};RFE.createCookie=function(n,t,i,r){var u,f,e;i?(u=new Date,u.setTime(u.getTime()+864e5*i),f="; expires="+u.toGMTString()):f="";e=r?"; domain="+r:"";document.cookie=n+"="+t+f+e+"; path=/; secure"};RFE.readCookie=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i>>0,r=[],f=arguments[1],t=0;t 6x5j24