1/*! For license information please see mwf-auto-init-main.var.min.js.LICENSE.txt */ 2!function(e,t){function i(e,t){return typeof e===t}var n,s,o,r=[],a=[],l={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){a.push({name:e,fn:t,options:i})},addAsyncTest:function(e){a.push({name:null,fn:e})}},c=function(){};for((c.prototype=l,(c=new c).addTest("picture","HTMLPictureElement"in e),n=t.documentElement,(s="svg"===n.nodeName.toLowerCase())||function(e,t){function i(e,t){var i=e.createElement("p"),n=e.getElementsByTagName("head")[0]||e.documentElement;return i.innerHTML="x<style>"+t+"</style>",n.insertBefore(i.lastChild,n.firstChild)}function n(){var e=m.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=C[e[b]];return t||(t={},y++,e[b]=y,C[y]=t),t}function o(e,i,n){return i||(i=t),p?i.createElement(e):(n||(n=s(i)),!(o=n.cache[e]?n.cache[e].cloneNode():f.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||v.test(e)||o.tagUrn?o:n.frag.appendChild(o));var o}function r(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(i){return m.shivMethods?o(i,e,t):t.createElem(i)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(m,t.frag)}function a(e){e||(e=t);var n=s(e);return!m.shivCSS||d||n.hasCSS||(n.hasCSS=!!i(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),p||r(e,n),e}function l(e){for(var t,i=e.getElementsByTagName("*"),s=i.length,o=RegExp("^(?:"+n().join("|")+")$","i"),r=[];s--;)t=i[s],o.test(t.nodeName)&&r.push(t.applyElement(c(t)));return r}function c(e){for(var t,i=e.attributes,n=i.length,s=e.ownerDocument.createElement(w+":"+e.nodeName);n--;)(t=i[n]).specified&&s.setAttribute(t.nodeName,t.nodeValue);return s.style.cssText=e.style.cssText,s}function u(e){for(var t,i=e.split("{"),s=i.length,o=RegExp("(^|[\\s,>+~])("+n().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),r="$1"+w+"\\:$2";s--;)(t=i[s]=i[s].split("}"))[t.length-1]=t[t.length-1].replace(o,r),i[s]=t.join("}");return i.join("{")}function h(e){function t(){clearTimeout(a._removeSheetTimer),n&&n.removeNode(!0),n=null}var n,r,a=s(e),c=e.namespaces,h=e.parentWindow;return!S||e.printShived||("undefined"==typeof c[w]&&c.add(w),h.attachEvent("onbeforeprint",(function(){t();for(var s,a,c,h=e.styleSheets,d=[],p=h.length,m=Array(p);p--;)m[p]=h[p];for(;c=m.pop();)if(!c.disabled&&E.test(c.media)){try{a=(s=c.imports).length}catch(o){a=0}for(p=0;a>p;p++)m.push(s[p]);try{d.push(c.cssText)}catch(o){}}d=u(d.reverse().join("")),r=l(e),n=i(e,d)})),h.attachEvent("onafterprint",(function(){!function(e){for(var t=e.length;t--;)e[t].removeNode()}(r),clearTimeout(a._removeSheetTimer),a._removeSheetTimer=setTimeout(t,500)})),e.printShived=!0),e}var d,p,m,g=e.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?: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,b="_html5shiv",y=0,C={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",d="hidden"in e,p=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(m){d=!0,p=!0}}(),m={elements:g.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:"3.7.3",shivCSS:!1!==g.shivCSS,supportsUnknownElements:p,shivMethods:!1!==g.shivMethods,type:"default",shivDocument:a,createElement:o,createDocumentFragment:function(e,i){if(e||(e=t),p)return e.createDocumentFragment();for(var o=(i=i||s(e)).frag.cloneNode(),r=0,a=n(),l=a.length;l>r;r++)o.createElement(a[r]);return o},addElements:function(e,t){var i=m.elements;"string"!=typeof i&&(i=i.join(" ")),"string"!=typeof e&&(e=e.join(" ")),m.elements=i+" "+e,a(t)}},e.html5=m,a(t);var E=/^$|\b(?:all|print)\b/,w="html5shiv",S=!p&&function(){var i=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof i.applyElement||"undefined"==typeof i.removeNode||"undefined"==typeof e.attachEvent)}();m.type+=" print",m.shivPrint=h,h(t),"object"==typeof module&&module.exports&&(module.exports=m)}("undefined"!=typeof e?e:this,t),c.addTest("eventlistener","addEventListener"in e),function(){var e,t,n,s,o,l;for(var u in a)if(a.hasOwnProperty(u)){if(e=[],(t=a[u]).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(s=i(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)1===(l=e[o].split(".")).length?c[l[0]]=s:(!c[l[0]]||c[l[0]]instanceof Boolean||(c[l[0]]=new Boolean(c[l[0]])),c[l[0]][l[1]]=s),r.push((s?"":"no-")+l.join("-"))}}(),function(e){var t,i=n.className,o=c._config.classPrefix||"";s&&(i=i.baseVal),c._config.enableJSClass&&(t=new RegExp("(^|\\s)"+o+"no-js(\\s|$)"),i=i.replace(t,"$1"+
2o+"js$2")),c._config.enableClasses&&(i+=" "+o+e.join(" "+o),s?n.className.baseVal=i:n.className=i)}(r),delete l.addTest,delete l.addAsyncTest,o=0);o<c._q.length;o++)c._q[o]();e.Modernizr=c}(window,document),function(e){var t=navigator.userAgent;e.HTMLPictureElement&&/ecko/.test(t)&&t.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var t,i=document.createElement("source"),n=function(e){var t,n,s=e.parentNode;"PICTURE"===s.nodeName.toUpperCase()?(t=i.cloneNode(),s.insertBefore(t,s.firstElementChild),setTimeout((function(){s.removeChild(t)}))):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,n=e.sizes,e.sizes+=",100vw",setTimeout((function(){e.sizes=n})))},s=function(){for(var e=document.querySelectorAll("picture > img, img[srcset][sizes]"),t=0;t<e.length;t++)n(e[t])},o=function(){clearTimeout(t),t=setTimeout(s,99)},r=e.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){o(),r&&r.addListener&&r.addListener(o)};return i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),o}())}(window),function(e,t,i){"use strict";function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function s(e,t,i,n){var s,o,r;return"saveData"===y.algorithm?e>2.7?r=i+1:(o=(t-i)*(s=Math.pow(e-.6,1.5)),n&&(o+=.1*s),r=e+o):r=i>1?Math.sqrt(e*t):e,r>i}function o(e,t){return e.res-t.res}function r(e,t){var i,n,s;if(e&&t)for(s=u.parseSet(t),e=u.makeUrl(e),i=0;i<s.length;i++)if(e===u.makeUrl(s[i].url)){n=s[i];break}return n}t.createElement("picture");var a,l,c,u={},h=!1,d=function(){},p=t.createElement("img"),m=p.getAttribute,g=p.setAttribute,v=p.removeAttribute,f=t.documentElement,b={},y={algorithm:""},C="data-pfsrc",E=C+"set",w=navigator.userAgent,S=/rident/.test(w)||/ecko/.test(w)&&w.match(/rv\:(\d+)/)&&RegExp.$1>35,T="currentSrc",x=/\s+\+?\d+(e\d+)?w/,A=/(\([^)]+\))?\s*(.+)/,k=e.picturefillCFG,I="font-size:100%!important;",P=!0,M={},O={},D=e.devicePixelRatio,F={px:1,in:96},N=t.createElement("a"),B=!1,L=/^[ \t\n\r\u000c]+/,R=/^[, \t\n\r\u000c]+/,H=/^[^ \t\n\r\u000c]+/,_=/[,]+$/,z=/^\d+$/,V=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,W=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n||!1):e.attachEvent&&e.attachEvent("on"+t,i)},j=function(e){var t={};return function(i){return i in t||(t[i]=e(i)),t[i]}},K=function(){var e=/^([\d\.]+)(em|vw|px)$/,t=j((function(e){return"return "+function(){for(var e=arguments,t=0,i=e[0];++t in e;)i=i.replace(e[t],e[++t]);return i}((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}));return function(i,n){var s;if(!(i in M))if(M[i]=!1,n&&(s=i.match(e)))M[i]=s[1]*F[s[2]];else try{M[i]=new Function("e",t(i))(F)}catch(f){}return M[i]}}(),U=function(e,t){return e.w?(e.cWidth=u.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e},q=function(e){if(h){var i,n,s,o=e||{};if(o.elements&&1===o.elements.nodeType&&("IMG"===o.elements.nodeName.toUpperCase()?o.elements=[o.elements]:(o.context=o.elements,o.elements=null)),s=(i=o.elements||u.qsa(o.context||t,o.reevaluate||o.reselect?u.sel:u.selShort)).length){for(u.setupRun(o),B=!0,n=0;s>n;n++)u.fillImg(i[n],o);u.teardownRun(o)}}};for((e.console&&console.warn?function(e){console.warn(e)}:d,T in p||(T="src"),b["image/jpeg"]=!0,b["image/gif"]=!0,b["image/png"]=!0,b["image/svg+xml"]=t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),u.ns=("pf"+(new Date).getTime()).substr(0,9),u.supSrcset="srcset"in p,u.supSizes="sizes"in p,u.supPicture=!!e.HTMLPictureElement,u.supSrcset&&u.supPicture&&!u.supSizes&&function(e){p.srcset="data:,a",e.src="data:,a",u.supSrcset=p.complete===e.complete,u.supPicture=u.supSrcset&&u.supPicture}(t.createElement("img")),u.supSrcset&&!u.supSizes?function(){var e="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i=t.createElement("img"),n=function(){2===i.width&&(u.supSizes=!0),l=u.supSrcset&&!u.supSizes,h=!0,setTimeout(q)};i.onload=n,i.onerror=n,i.setAttribute("sizes","9px"),i.srcset=e+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",i.src=e}():h=!0,u.selShort="picture>img,img[srcset]",u.sel=u.selShort,u.cfg=y,u.DPR=D||1,u.u=F,u.types=b,u.setSize=d,u.makeUrl=j((function(e){return N.href=e,N.href})),u.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},u.matchesMedia=function(){return u.matchesMedia=e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?function(e){return!e||matchMedia(e).matches}:u.mMQ,u.matchesMedia.apply(this,arguments)},u.mMQ=function(e){return!e||K(e)}
2,u.calcLength=function(e){var t=K(e,!0)||!1;return 0>t&&(t=!1),t},u.supportsType=function(e){return!e||b[e]},u.parseSize=j((function(e){var t=(e||"").match(A);return{media:t&&t[1],length:t&&t[2]}})),u.parseSet=function(e){return e.cands||(e.cands=function(e,t){function i(t){var i,n=t.exec(e.substring(d));if(n)return i=n[0],d+=i.length,i}function s(){for(var e,i,n,s,o,l,c,u,h=!1,d={},m=0;m<a.length;m++)o=(s=a[m])[s.length-1],l=s.substring(0,s.length-1),c=parseInt(l,10),u=parseFloat(l),z.test(l)&&"w"===o?((e||i)&&(h=!0),0===c?h=!0:e=c):V.test(l)&&"x"===o?((e||i||n)&&(h=!0),0>u?h=!0:i=u):z.test(l)&&"h"===o?((n||i)&&(h=!0),0===c?h=!0:n=c):h=!0;h||(d.url=r,e&&(d.w=e),i&&(d.d=i),n&&(d.h=n),n||i||e||(d.d=1),1===d.d&&(t.has1x=!0),d.set=t,p.push(d))}function o(){for(i(L),l="",c="in descriptor";;){if(u=e.charAt(d),"in descriptor"===c)if(n(u))l&&(a.push(l),l="",c="after descriptor");else{if(","===u)return d+=1,l&&a.push(l),void s();if("("===u)l+=u,c="in parens";else{if(""===u)return l&&a.push(l),void s();l+=u}}else if("in parens"===c)if(")"===u)l+=u,c="in descriptor";else{if(""===u)return a.push(l),void s();l+=u}else if("after descriptor"===c&&!n(u)){if(""===u)return void s();c="in descriptor",d-=1}d+=1}}for(var r,a,l,c,u,h=e.length,d=0,p=[];;){if(i(R),d>=h)return p;r=i(H),a=[],","===r.slice(-1)?(r=r.replace(_,""),s()):o()}}(e.srcset,e)),e.cands},u.getEmValue=function(){var e;if(!a&&(e=t.body)){var i=t.createElement("div"),n=f.style.cssText,s=e.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",f.style.cssText=I,e.style.cssText=I,e.appendChild(i),a=i.offsetWidth,e.removeChild(i),a=parseFloat(a,10),f.style.cssText=n,e.style.cssText=s}return a||16},u.calcListLength=function(e){if(!(e in O)||y.uT){var t=u.calcLength(function(e){function t(e){return!!(c.test(e)&&parseFloat(e)>=0)||!!h.test(e)||"0"===e||"-0"===e||"+0"===e}var i,s,o,r,a,l,c=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,h=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(s=function(e){function t(){o&&(r.push(o),o="")}function i(){r[0]&&(a.push(r),r=[])}for(var s,o="",r=[],a=[],l=0,c=0,u=!1;;){if(""===(s=e.charAt(c)))return t(),i(),a;if(u){if("*"===s&&"/"===e[c+1]){u=!1,c+=2,t();continue}c+=1}else{if(n(s)){if(e.charAt(c-1)&&n(e.charAt(c-1))||!o){c+=1;continue}if(0===l){t(),c+=1;continue}s=" "}else if("("===s)l+=1;else if(")"===s)l-=1;else{if(","===s){t(),i(),c+=1;continue}if("/"===s&&"*"===e.charAt(c+1)){u=!0,c+=2;continue}}o+=s,c+=1}}}(e),o=s.length,i=0;o>i;i++)if(t(a=(r=s[i])[r.length-1])&&(l=a,r.pop(),0===r.length||(r=r.join(" "),u.matchesMedia(r))))return l;return"100vw"}(e));O[e]=t||F.width}return O[e]},u.setRes=function(e){var t,i,n;if(e)for(i=0,n=(t=u.parseSet(e)).length;n>i;i++)U(t[i],e.sizes);return t},u.setRes.res=U,u.applySetCandidate=function(e,t){if(e.length){var i,n,a,l,c,h,d,p,m,g=t[u.ns],v=u.DPR;if(h=g.curSrc||t[T],d=g.curCan||function(e,t,i){var n;return!i&&t&&(i=(i=e[u.ns].sets)&&i[i.length-1]),(n=r(t,i))&&(t=u.makeUrl(t),e[u.ns].curSrc=t,e[u.ns].curCan=n,n.res||U(n,n.set.sizes)),n}(t,h,e[0].set),d&&d.set===e[0].set&&((m=S&&!t.complete&&d.res-.1>v)||(d.cached=!0,d.res>=v&&(c=d))),!c)for(e.sort(o),c=e[(l=e.length)-1],n=0;l>n;n++)if((i=e[n]).res>=v){c=e[a=n-1]&&(m||h!==u.makeUrl(i.url))&&s(e[a].res,i.res,v,e[a].cached)?e[a]:i;break}c&&(p=u.makeUrl(c.url),g.curSrc=p,g.curCan=c,p!==h&&u.setSrc(t,c),u.setSize(t))}},u.setSrc=function(e,t){var i;e.src=t.url,"image/svg+xml"===t.set.type&&(i=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=i))},u.getSet=function(e){for(var t,i,n=!1,s=e[u.ns].sets,o=0;o<s.length&&!n;o++)if((t=s[o]).srcset&&u.matchesMedia(t.media)&&(i=u.supportsType(t.type))){"pending"===i&&(t=i),n=t;break}return n},u.parseSets=function(e,t,n){var s,o,a,c,h=t&&"PICTURE"===t.nodeName.toUpperCase(),d=e[u.ns];(d.src===i||n.src)&&(d.src=m.call(e,"src"),d.src?g.call(e,C,d.src):v.call(e,C)),(d.srcset===i||n.srcset||!u.supSrcset||e.srcset)&&(s=m.call(e,"srcset"),d.srcset=s,c=!0),d.sets=[],h&&(d.pic=!0,function(e,t){for(var i,n,s=e.getElementsByTagName("source"),o=0,r=s.length;r>o;o++)(i=s[o])[u.ns]=!0,(n=i.getAttribute("srcset"))&&t.push({srcset:n,media:i.getAttribute("media"),type:i.getAttribute("type"),sizes:i.getAttribute("sizes")})}(t,d.sets)),d.srcset?(o={srcset:d.srcset,sizes:m.call(e,"sizes")}
2,d.sets.push(o),(a=(l||d.src)&&x.test(d.srcset||""))||!d.src||r(d.src,o)||o.has1x||(o.srcset+=", "+d.src,o.cands.push({url:d.src,d:1,set:o}))):d.src&&d.sets.push({srcset:d.src,sizes:null}),d.curCan=null,d.curSrc=i,d.supported=!(h||o&&!u.supSrcset||a&&!u.supSizes),c&&u.supSrcset&&!d.supported&&(s?(g.call(e,E,s),e.srcset=""):v.call(e,E)),d.supported&&!d.srcset&&(!d.src&&e.src||e.src!==u.makeUrl(d.src))&&(null===d.src?e.removeAttribute("src"):e.src=d.src),d.parsed=!0},u.fillImg=function(e,t){var i,n=t.reselect||t.reevaluate;e[u.ns]||(e[u.ns]={}),i=e[u.ns],(n||i.evaled!==c)&&((!i.parsed||t.reevaluate)&&u.parseSets(e,e.parentNode,t),i.supported?i.evaled=c:function(e){var t,i=u.getSet(e),n=!1;"pending"!==i&&(n=c,i&&(t=u.setRes(i),u.applySetCandidate(t,e))),e[u.ns].evaled=n}(e))},u.setupRun=function(){(!B||P||D!==e.devicePixelRatio)&&(P=!1,D=e.devicePixelRatio,M={},O={},u.DPR=D||1,F.width=Math.max(e.innerWidth||0,f.clientWidth),F.height=Math.max(e.innerHeight||0,f.clientHeight),F.vw=F.width/100,F.vh=F.height/100,c=[F.height,F.width,D].join("-"),F.em=u.getEmValue(),F.rem=F.em)},u.supPicture?(q=d,u.fillImg=d):function(){var i,n=e.attachEvent?/d$|^c/:/d$|^c|^i/,s=function(){var e=t.readyState||"";o=setTimeout(s,"loading"===e?200:999),t.body&&(u.fillImgs(),(i=i||n.test(e))&&clearTimeout(o))},o=setTimeout(s,t.body?9:99),r=f.clientHeight;W(e,"resize",function(e,t){var i,n,s=function(){var o=new Date-n;t>o?i=setTimeout(s,t-o):(i=null,e())};return function(){n=new Date,i||(i=setTimeout(s,t))}}((function(){P=Math.max(e.innerWidth||0,f.clientWidth)!==F.width||f.clientHeight!==r,r=f.clientHeight,P&&u.fillImgs()}),99)),W(t,"readystatechange",s)}(),u.picturefill=q,u.fillImgs=q,u.teardownRun=d,q._=u,e.picturefillCFG={pf:u,push:function(e){var t=e.shift();"function"==typeof u[t]?u[t].apply(u,e):(y[t]=e[0],B&&u.fillImgs({reselect:!0}))}});k&&k.length;)e.picturefillCFG.push(k.shift());e.picturefill=q,"object"==typeof module&&"object"==typeof module.exports?module.exports=q:"function"==typeof define&&define.amd&&define("picturefill",(function(){return q})),u.supPicture||(b["image/webp"]=function(t,i){var n=new e.Image;return n.onerror=function(){b[t]=!1,q()},n.onload=function(){b[t]=1===n.width,q()},n.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document);var mwfAutoInit=function(e){function t(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="mwf.main.auto.init")}({"./node_modules/webpack/buildin/":function(n){var t=function(){return this}();try{t=t||Function("return this")()||eval("this")}catch(i){"object"==typeof window&&(t=window)}n.exports=t},"./src/components/tslib/scripts/":function(e,t,i){(function(i){var n,s,o,r,a,l,c,u,h,d,p,m,g,v,f,b,y,C,E,w;!function(s){function o(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(i,n){return e[i]=t?t(i,n):n}}var r="object"==typeof i?i:"object"==typeof self?self:"object"==typeof this?this:{};n=function(e){s(o(r,o(e)))}.apply(t,[t]),void 0===n||(e.exports=n)}((function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])};s=function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)},o=Object.assign||function(e){for(var t,i,n=1,s=arguments.length;n<s;n++)for(i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r=function(e,t){var i,n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)t.indexOf(s[i])<0&&(n[s[i]]=e[s[i]]);return n},a=function(e,t,i,n){var s,o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(o=e.length-1;o>=0;o--)(s=e[o])&&(a=(r<3?s(a):r>3?s(t,i,a):s(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a},l=function(e,t){return function(i,n){t(i,n,e)}},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}
2,u=function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(t){o(t)}}function a(e){try{l(n.throw(e))}catch(t){o(t)}}function l(e){e.done?s(e.value):new i((function(t){t(e.value)})).then(r,a)}l((n=n.apply(e,t||[])).next())}))},h=function(e,t){function i(e){return function(t){return n([e,t])}}function n(n){if(s)throw new TypeError("Generator is already executing.");for(;l;)try{if(s=1,o&&(r=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(!(r=(r=l.trys).length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){l.label=n[1];break}if(6===n[0]&&l.label<r[1]){l.label=r[1],r=n;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(n);break}r[2]&&l.ops.pop(),l.trys.pop();continue}n=t.call(e,l)}catch(i){n=[6,i],o=0}finally{s=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var s,o,r,a,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},d=function(e,t){for(var i in e)t.hasOwnProperty(i)||(t[i]=e[i])},p=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],i=0;return t?t.call(e):{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}}},m=function(e,t){var i,n,s,o,r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},g=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e},v=function(e){return this instanceof v?(this.v=e,this):new v(e)},f=function(e,t,i){function n(e){c[e]&&(l[e]=function(t){return new Promise((function(i,n){u.push([e,t,i,n])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof v?Promise.resolve(e.value.v).then(o,r):a(u[0][2],e)}(c[e](t))}catch(i){a(u[0][3],i)}}function o(e){s("next",e)}function r(e){s("throw",e)}function a(e,t){e(t),u.shift(),u.length&&s(u[0][0],u[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,c=i.apply(e,t||[]),u=[];return l={},n("next"),n("throw"),n("return"),l[Symbol.asyncIterator]=function(){return this},l},b=function(e){function t(t,s){e[t]&&(i[t]=function(i){return(n=!n)?{value:v(e[t](i)),done:"return"===t}:s?s(i):i})}var i,n;return i={},t("next"),t("throw",(function(e){throw e})),t("return"),i[Symbol.iterator]=function(){return this},i},y=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):p(e)},C=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},E=function(e){var t,i;if(e&&e.__esModule)return e;if(t={},null!=e)for(i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t},w=function(e){return e&&e.__esModule?e:{default:e}},e("__extends",s),e("__assign",o),e("__rest",r),e("__decorate",a),e("__param",l),e("__metadata",c),e("__awaiter",u),e("__generator",h),e("__exportStar",d),e("__values",p),e("__read",m),e("__spread",g),e("__await",v),e("__asyncGenerator",f),e("__asyncDelegator",b),e("__asyncValues",y),e("__makeTemplateOb
2ject",C),e("__importStar",E),e("__importDefault",w)}))}).call(t,i("./node_modules/webpack/buildin/"))},actionBar:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.toggleOverflow=function(){n.showOverflow?(n.overflow.setAttribute(t.ariaHiddenAttribute,"true"),n.overflowToggle.setAttribute(t.ariaExpandedAttribute,"false"),n.showOverflow=!1):(n.overflow.setAttribute(t.ariaHiddenAttribute,"false"),n.overflowToggle.setAttribute(t.ariaExpandedAttribute,"true"),n.showOverflow=!0)},n.handleWindowResize=function(){n.updateWidth(),n.linksClipped()},i?(n.update(),n):n}return i.__extends(t,e),t.prototype.update=function(){this.overflow=s.selectFirstElement(t.overflowSelector,this.element),this.overflowToggle=s.selectFirstElement(t.overflowToggleSelector,this.element),this.barLinks=this.getBarLinks(),this.staticOverflowLinks=this.getStaticOverflowLinks(),this.linksWidth=this.getLinksWidth(),this.totalLinksWidth=this.getTotalLinksWidth(),this.overflowToggleWidth=s.getClientRect(this.overflowToggle).width,this.showOverflow=!(!this.overflowToggle.hasAttribute(t.ariaHiddenAttribute)||!this.overflowToggle.getAttribute(t.ariaHiddenAttribute)),this.duplicateLinksToOverflow(),this.handleWindowResize(),s.addEvent(this.overflowToggle,s.eventTypes.click,this.toggleOverflow),this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.handleWindowResize)},t.prototype.teardown=function(){s.removeEvent(this.overflowToggle,s.eventTypes.click,this.toggleOverflow),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEventHandler)},t.prototype.duplicateLinksToOverflow=function(){var e,t,i,n=document.createElement("li"),s=document.createElement("ul");for(this.overflowLinks=[],this.setDataAttributes(),e=0,t=this.barLinks;e<t.length;e++)i=t[e].cloneNode(!0),this.overflowLinks.push(i),s.appendChild(i);n.appendChild(s),this.ignoreNextDOMChange=!0,this.overflow.insertBefore(n,this.staticOverflowLinks[0])},t.prototype.getStaticOverflowLinks=function(){for(var e,i=[],n=0,o=s.selectElements(t.overflowLinkSelector,this.element);n<o.length;n++)e=o[n],s.hasClass(e,t.overflowClass)||i.push(e);return i},t.prototype.updateWidth=function(){this.width=s.getClientRect(this.overflowToggle).right-s.getClientRect(this.barLinks[0]).left},t.prototype.getBarLinks=function(){for(var e,i=[],n=0,o=s.selectElements(t.barLinkSelector,this.element);n<o.length;n++)e=o[n],s.hasClass(e,t.overflowClass)||i.push(e);return i},t.prototype.getLinksWidth=function(){for(var e,i=[],n=0,o=this.barLinks;n<o.length;n++)e=o[n],s.hasClass(e,t.overflowClass)||i.push(s.getClientRect(e).width);return i},t.prototype.getTotalLinksWidth=function(){for(var e=0,t=0,i=this.linksWidth;t<i.length;t++)e+=i[t];return e},t.prototype.linksClipped=function(){var e,t;this.barLinkIds=[],this.overflowLinkIds=[];var i=this.width-this.overflowToggleWidth,n=0;for(e=0,t=this.barLinks.length;e<t;e++)(n+=this.linksWidth[e])<i?(this.barLinkIds.push(e)):this.overflowLinkIds.push(e);this.toggleLinks()},t.prototype.setDataAttributes=function(){for(var e=0,i=this.barLinks.length;e<i;e++)this.barLinks[e].setAttribute(t.overflowIdAttribute,String(e)),this.barLinks[e].setAttribute(t.overflowAttribute,"false")},t.prototype.showOverflowLink=function(e){this.barLinks[e].setAttribute(t.overflowAttribute,"true"),this.overflowLinks[e].setAttribute(t.overflowAttribute,"true")},t.prototype.hideOverflowLink=function(e){this.barLinks[e].setAttribute(t.overflowAttribute,"false"),this.overflowLinks[e].setAttribute(t.overflowAttribute,"false")},t.prototype.toggleLinks=function(){for(var e,t,i,n=0,s=this.overflowLinkIds;n<s.length;n++)i=s[n],this.showOverflowLink(i);for(e=0,t=this.barLinkIds;e<t.length;e++)i=t[e],this.hideOverflowLink(i)},t.selector=".m-action-bar",t.typeName="ActionBar",t.overflowClass="f-overflow",t.ariaHiddenAttribute="aria-hidden",t.ariaExpandedAttribute="aria-expanded",t.overflowSelector=t.selector+" > .f-overflow > ul",t.overflowLinkSelector=t.overflowSelector+" > li",t.overflowToggleSelector=t.selector+" > .f-overflow > button",t.barLinkSelector=t.selector+" > li",t.overflowAttribute="data-overflow",t.overflowIdAttribute="data-overflow-id",t}(n.ObservableComponent);t.ActionBar=o}.apply(t,n),void 0===s||(e.exports=s)},actionMenu:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("utility"),i("htmlExtensions")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esMo
2dule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.onTriggerClick=function(e){if(e=o.getEvent(e),o.preventDefault(e),!i.disabled){i.onTriggerToggled();var t=i.items[0];t.setAttribute("tabindex","0"),t.focus()}},i.onTouchMove=function(e){e=o.getEvent(e),o.preventDefault(e),i.isExpanded()?i.collapse():i.expand()},i.onItemClick=function(e){var t=(e=o.getEvent(e)).currentTarget;t.hasAttribute("aria-disabled")||(i.onItemSelected(t),i.collapse())},i.onNonActionMenuClick=function(e){if(e=o.getEvent(e),i.element&&i.menu){var t=o.getEventTargetOrSrcElement(e);i.element.contains(t)||t!==i.menu&&t.parentElement!==i.menu&&i.collapse()}},i.onTriggerKeyPress=function(e){var t;switch(e=o.getEvent(e),s.getKeyCode(e)){case 13:case 32:o.preventDefault(e),i.disabled||(t=i.items[0],i.onTriggerToggled(),t.setAttribute("tabindex","0"),t.focus())}},i.handleMenuKeydownEvent=function(e){e=o.getEvent(e);var t=s.getKeyCode(e);(9!==t||i.isExpanded())&&o.preventDefault(e),i.handleMenuKeydown(o.getEventTargetOrSrcElement(e),t)},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){if(this.trigger=o.selectFirstElement(t.triggerSelector,this.element),this.menu=o.selectFirstElement(t.menuSelector,this.element),this.items=o.selectElementsT('li[class^="f-context-"]',this.element),this.disabled=this.trigger.hasAttribute("disabled"),this.trigger&&this.menu&&this.items&&this.items.length){var e=this.isExpanded();this.addEventListeners(),e&&this.expand()}},t.prototype.teardown=function(){!this.trigger||!this.menu||!this.items||!this.items.length||this.removeEventListeners(),this.trigger=null,this.menu=null,this.items=null,this.selectedItem=null},t.prototype.isExpanded=function(){return"true"===this.trigger.getAttribute(t.ariaExpanded)},t.prototype.expand=function(){o.removeClass(this.trigger,"x-hidden-focus"),o.addClass(this.trigger,"f-active"),this.trigger.setAttribute(t.ariaExpanded,"true")},t.prototype.collapse=function(){o.removeClass(this.trigger,"f-active"),this.trigger.setAttribute(t.ariaExpanded,"false")},t.prototype.addEventListeners=function(){var e,t,i;for(o.addEvent(this.trigger,o.eventTypes.click,this.onTriggerClick),o.addEvent(this.trigger,o.eventTypes.keydown,this.onTriggerKeyPress),o.addEvent(this.menu,o.eventTypes.keydown,this.handleMenuKeydownEvent,!0),o.addEvent(this.trigger,o.eventTypes.touchmove,this.onTouchMove),e=0,t=this.items;e<t.length;e++)i=t[e],o.addEvent(i,o.eventTypes.click,this.onItemClick);o.addEvent(document,o.eventTypes.click,this.onNonActionMenuClick)},t.prototype.removeEventListeners=function(){var e,t,i;for(o.removeEvent(this.trigger,o.eventTypes.click,this.onTriggerClick),o.removeEvent(this.trigger,o.eventTypes.keydown,this.onTriggerKeyPress),o.removeEvent(this.menu,o.eventTypes.keydown,this.handleMenuKeydownEvent,!0),o.removeEvent(this.trigger,o.eventTypes.touchmove,this.onTouchMove),e=0,t=this.items;e<t.length;e++)i=t[e],o.removeEvent(i,o.eventTypes.click,this.onItemClick);o.removeEvent(document,o.eventTypes.click,this.onNonActionMenuClick)},t.prototype.onTriggerToggled=function(){this.isExpanded()?this.collapse():this.expand()},t.prototype.onItemSelected=function(e){var i;this.selectedItem=e,"menuitemcheckbox"===this.selectedItem.getAttribute("role")?((i="true"===this.selectedItem.getAttribute(t.ariaChecked))?this.selectedItem.setAttribute(t.ariaChecked,"false"):this.selectedItem.setAttribute(t.ariaChecked,"true"),this.initiatePublish({id:this.selectedItem.id,checked:!i})):this.initiatePublish({id:this.selectedItem.id})},t.prototype.publish=function(e,t){this.selectedItem&&e.onSelection(t)},t.prototype.handleMenuKeydown=function(e,t){switch(t){case 13:e.hasAttribute("aria-disabled")||(this.handleMenuEnterKey(e),this.trigger.focus(),this.collapse());break;case 32:e.hasAttribute("aria-disabled")||(this.handleMenuEnterKey(e),"menuitemcheckbox"!==e.getAttribute("role")&&(this.collapse(),this.trigger.focus()));break;case 27:case 196:this.trigger.focus(),this.collapse();break;case 38:case 203:case 211:this.handleMenuArrowKey(!0,e);break;case 40:case 204:case 212:this.handleMenuArrowKey(!1,e);break;case 9:this.isExpanded()&&(this.trigger.focus(),this.collapse())}},t.prototype.handleMenuArrowKey=function(e,t){var i,n=this.items.indexOf(t);-1!==n&&((i=e?n-1:n+1)<0?i=this.items.length-1:i>=this.items.length&&(i=0),this.items[n].removeAttribute("tabindex"),this.items[i].setAttribute("tabindex","0"),this.items[i].focus())},t.prototype.handleMenuEnterKey=function(e){this.onItemSelected(e)},t.selector=".c-action-menu",t.typeName="ActionMenu",t.ariaExpanded="aria-expanded",t.ariaChecked="aria-checked",t.triggerSelector=t.selector+" > button.c-action-trigger",t.menuSelector=t.triggerSelector+' + ul[role="menu"]',t}(n.Publisher);t.ActionMenu=r}.apply(t,n),void 0===s||(e.exports=s)},actionToggle:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("componentFactory"),i("tooltip"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esMo
2dule",{value:!0});var l=function(e){function t(i){var n=e.call(this,i)||this;return n.element=i,n.toggleText=function(e){r.setText(n.element,e.innerText)},n.toggleLabel=function(e){r.setText(n.element,e.label)},n.updateActionToggleState=function(e){e!==n.isToggled()&&(n.skipAriaPressed?e?(r.addClass(n.element,t.initializeToggledClassName),n.element.setAttribute(t.dataIsPressedAttribute,"true"),n.toggleStateProperties(n.toggledState,n.initialState)):(r.removeClass(n.element,t.initializeToggledClassName),n.element.setAttribute(t.dataIsPressedAttribute,"false"),n.toggleStateProperties(n.initialState,n.toggledState)):e?(r.addClass(n.element,t.initializeToggledClassName),n.element.setAttribute(t.ariaPressedAttribute,"true"),n.toggleStateProperties(n.toggledState,n.initialState)):(r.removeClass(n.element,t.initializeToggledClassName),n.element.setAttribute(t.ariaPressedAttribute,"false"),n.toggleStateProperties(n.initialState,n.toggledState)),n.initiatePublish({toggled:e}))},n.toggleStateProperties=function(e,t){r.removeClass(n.element,t.glyph),r.addClass(n.element,e.glyph),n.textArialLabelToggleFunction(e),!n.tooltip||n.tooltip.setContent(e.label)},n.onActionToggleChange=function(){n.updateActionToggleState(!n.isToggled())},n.handleKeydownEvent=function(e){switch(a.getKeyCode(e)){case 13:case 32:r.preventDefault(e),n.updateActionToggleState(!n.isToggled());break;case 27:r.preventDefault(e),n.updateActionToggleState(!1)}},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e,i,n=this;this.element&&(this.initializeStates(),e=r.hasClass(this.element,t.initializeToggledClassName),this.skipAriaPressed=r.hasClass(this.element,t.skipAriaPressedAttributeClassName),!(i=this.element.getAttribute(o.Tooltip.dataDescribedByAttribute))||s.ComponentFactory.create([{component:o.Tooltip,eventToBind:"DOMContentLoaded",elements:[document.getElementById(i)],callback:function(t){!t&&!t.length||(n.tooltip=t[0],n.tooltip.setContent(e?n.toggledState.label:n.initialState.label))}}]),e&&r.removeClass(this.element,t.initializeToggledClassName),this.updateActionToggleState(e),this.skipAriaPressed?e?this.element.setAttribute(t.dataIsPressedAttribute,"true"):this.element.setAttribute(t.dataIsPressedAttribute,"false"):e?this.element.setAttribute(t.ariaPressedAttribute,"true"):this.element.setAttribute(t.ariaPressedAttribute,"false"),r.addEvent(this.element,r.eventTypes.click,this.onActionToggleChange),r.addEvent(this.element,r.eventTypes.keydown,this.handleKeydownEvent))},t.prototype.teardown=function(){r.removeEvent(this.element,r.eventTypes.click,this.onActionToggleChange),r.removeEvent(this.element,r.eventTypes.keydown,this.handleKeydownEvent)},t.prototype.publish=function(e,t){e.onActionToggled&&e.onActionToggled(t)},t.prototype.isToggled=function(){return r.hasClass(this.element,t.initializeToggledClassName)},t.prototype.initializeStates=function(){var e,i,n,s;for(this.initialState={label:null,innerText:null,glyph:null},this.toggledState={label:this.element.getAttribute(t.localizedToggledLabelAttribute),innerText:this.element.getAttribute(t.localizedToggledTextAttribute),glyph:this.element.getAttribute(t.toggledGlyphAttribute)},e=r.getText(this.element),this.element.getAttribute(t.ariaLabelAttribute)?(this.initialState.label=this.element.getAttribute(t.ariaLabelAttribute),this.toggledState.innerText&&e&&(this.initialState.innerText=e),this.textArialLabelToggleFunction=this.toggleText):e&&(this.initialState.label=e,this.textArialLabelToggleFunction=this.toggleLabel),i=0,n=this.element.className.split(" ");i<n.length;i++)if((s=n[i]).indexOf("glyph-")>=0){this.initialState.glyph=s;break}},t.selector=".c-action-toggle",t.typeName="ActionToggle",t.ariaPressedAttribute="aria-pressed",t.dataIsPressedAttribute="data-ispressed",t.ariaLabelAttribute="aria-label",t.initializeToggledClassName="f-toggle",t.skipAriaPressedAttributeClassName="f-skip-ariapressed",t.toggledGlyphAttribute="data-toggled-glyph",t.localizedToggledLabelAttribute="data-toggled-label",t.localizedToggledTextAttribute="data-toggled-text",t}(n.Publisher);t.ActionToggle=l}.apply(t,n),void 0===s||(e.exports=s)},alert:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.closeAlertAndRemoveEvent=function(){s.removeEvent(i.closeButton,s.eventTypes.click,i.closeAlertAndRemoveEvent),s.removeElement(i.element),i.initiatePublish()},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.closeButton=s.selectFirstElement("button.c-action-trigger.glyph-cancel",this.element),!this.closeButton||s.addEvent(this.closeButton,s.eventTypes.click,this.closeAlertAndRemoveEvent,!1))},t.prototype.teardown=function(){s.removeEvent(this.closeButton,s.eventTypes.click,this.closeAlertAndRemoveEvent,!1)},t.prototype.publish=function(e){e.onAlertClosed()},t.selector=".m-alert",t.typeName="Alert",t}(n.Publisher);t.Alert=o}.apply(t,n),void 0===s||(e.exports=s)},ambientVideo:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("observableComponent")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.observer=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){var e,t=this;this.htmlRoot=n.selectFirstElement("html"),this.videoElement=n.selectFirstElement("video",this.element),e={attributes:!0,childList:!0,characterData:!0},"undefined"!=typeof MutationObserver?(this.observer=new MutationObserver((function(e){e.forEach((function(){t.checkReduceMotion()}))})),this.observer.observe(this.htmlRoot,e)):n.addEvent(document,n.eventTypes.DOMNodeInserted,this.reduceMotion),this.checkReduceMotion()},t.prototype.checkReduceMotion=function(){n.hasClass(this.htmlRoot,"context-set-motion-limited")&&this.reduceMotion()},t.prototype.reduceMotion=function(){this.videoElement.hasAttribute("autoplay")&&this.videoElement.removeAttribute("autoplay"),this.videoElement.hasAttribute("loop")&&this.videoElement.removeAttribute("loop"),this.videoElement.pause()},t.prototype.teardown=function(){"undefined"!=typeof MutationObserver?this.observer.disconnect():n.removeEvent(document,n.eventTypes.DOMNodeInserted,this.reduceMotion)},t.selector=".m-ambient-video",t.typeName="AmbientVideo",t}(s.ObservableComponent);t.AmbientVideo=o}.apply(t,n),void 0===s||(e.exports=s)},autosuggest:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("utility")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i,n){var a,l;return void 0===n&&(n=null),(a=e.call(this,i,r.isNumber(n)?{}:n)||this).hideNoResults=!1,a.suggestionClickListeners=[],a.publishInProgress=[],a.updateSuggestions=function(e){a.publishInProgress.length>0&&a.publishInProgress.pop();var t=a.reconstructMenu(e);a.show(),t&&a.setFocusToInput()},a.handleInputKeyup=function(e){switch(a.input&&a.input.value?(a.cachedInputValue=a.input.value,a.show()):a.hide(),r.getKeyCode(e)){case 9:case 27:case 38:case 40:break;default:a.initiatePublish({notification:"onMatchPatternChanged",properties:{pattern:a.input.value}}),a.publishInProgress.push(!0)}},a.handleInputKeydown=function(e){switch(r.getKeyCode(e)){case 9:case 27:a.hide();break;case 38:s.preventDefault(e),a.handleInputArrowKey(!0);break;case 40:s.preventDefault(e),a.handleInputArrowKey(!1)}},a.handleMenuKeydown=function(e){switch(r.getKeyCode(e)){case 13:a.selectSuggestion(a.selectedSuggestion,!0);break;case 27:a.hide();break;case 38:s.preventDefault(e),a.handleMenuArrowKey(!0);break;case 40:s.preventDefault(e),a.handleMenuArrowKey(!1)}},a.handleClickWhenMenuOpen=function(e){a.closeMenuFromClick(s.getEventTargetOrSrcElement(e))},a.handleInputClick=function(){a.show()},a.selectSuggestionFromClick=function(e){a.selectSuggestion(e,!0)},a.buildStringSuggestionHtml=function(e,t){var i=document.createElement("li");i.setAttribute("class","c-menu-item"),i.setAttribute("role","presentation"),i.setAttribute("title",e),i.innerHTML='<span role="option" aria-label="'+e+'" tabindex="0">'+a.highlight(e)+"</span>",s.addAttribute(i,t),a.ignoreNextDOMChange=!0,a.menu.appendChild(i)},a.buildProductSuggestionHtml=function(e,t){var i,n,r,l,c,u=e.category?" - "+e.category:"",h=document.createElement("li");h.setAttribute("class","c-menu-item"),h.setAttribute("role","presentation"),h.setAttribute("title",e.title+u),a.searchable(h,!1),(i=document.createElement("a")).setAttribute("role","option"),i.setAttribute("aria-label",e.title+u+" - Link"),i.setAttribute("class","f-product"),i.setAttribute("href",e.targetUrl),s.addAttribute(i,t),n="",e.imageSrc&&(r="",l='class="c-image'+(e.isImageRound?" f-round":"")+'"',o.isNullOrWhiteSpace(e.backgroundColor)||"transparent"===e.backgroundColor.toLowerCase()||(r='style="background:'+e.backgroundColor+'"'),n="<img "+l+' src="'+e.imageSrc+'" '+r+' role="none" alt="'+(e.title+u)+'"/>'),c=e.category?'<span class="c-meta-text">'+e.category+"</span>":"",i.innerHTML=n+"<div><span>"+a.highlight(e.title)+"</span>"+c+"</div>",h.appendChild(i),a.ignoreNextDOMChange=!0,a.menu.appendChild(h)},a.setFocusToInput=function(){a.input&&a.input.focus()},r.isNumber(n)?l=n:n&&(r.isNumber(n.scrollLimit)&&(l=n.scrollLimit),n.hideNoResults&&(a.hideNoResults=n.hideNoResults)),a.itemScrollCount=Math.max(t.minimumItemScrollCount,l||t.defaultItemScrollCount),a.update(),a}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.input=s.selectFirstElement("[aria-controls="+this.element.i
2d+"]"),this.input)&&("combobox"===this.element.getAttribute("role")&&(this.input.setAttribute("role","combobox"),this.element.setAttribute("role","")),this.menu=s.selectFirstElement(".c-menu",this.element),this.menu)&&(this.hideNoResults||(this.noResults=s.selectFirstElement(".f-auto-suggest-no-results",this.element),this.noResults&&(this.noResultsItem=s.selectFirstElement(".c-menu-item span",this.noResults)),this.noResultsItem&&(this.noResultsString=this.noResultsItem.textContent)),this.form=this.element.parentElement,this.form)&&(this.addMenuStateAnnouncement(),s.addEvent(this.input,s.eventTypes.keyup,this.handleInputKeyup,!0),s.addEvent(this.input,s.eventTypes.keydown,this.handleInputKeydown,!0),s.addEvent(this.input,s.eventTypes.click,this.handleInputClick,!0),this.reconstructMenu(null,!0))},t.prototype.teardown=function(){s.removeEvent(this.input,s.eventTypes.keyup,this.handleInputKeyup,!0),s.removeEvent(this.input,s.eventTypes.keydown,this.handleInputKeydown,!0),s.removeEvent(this.input,s.eventTypes.click,this.handleInputClick,!0),s.removeEvent(document.body,s.eventTypes.click,this.handleClickWhenMenuOpen);for(var e=0;e<this.suggestions.length;++e)s.removeEvent(this.suggestions[e],s.eventTypes.keydown,this.handleMenuKeydown),s.removeEvent(this.suggestions[e],s.eventTypes.click,this.suggestionClickListeners[e++]);this.form=null,this.input=null,this.menu=null,this.noResults=null,this.suggestions=null,this.selectedSuggestion=null},t.prototype.searchable=function(e,t){var i="data-is-searchable";if(void 0===t)return"false"!==e.getAttribute(i);e.setAttribute(i,t.toString())},t.prototype.publish=function(e,t){e.onMatchPatternChanged&&"onMatchPatternChanged"===t.notification?e.onMatchPatternChanged(t.properties):e.onSuggestionSelected&&"onSuggestionSelected"===t.notification&&e.onSuggestionSelected(t.properties)},t.prototype.handleInputArrowKey=function(e){var t,i=this.suggestions,n=this.suggestions?this.suggestions.length:0;n>0&&(!this.selectedSuggestion&&e?this.selectSuggestion(i[n-1]):this.selectedSuggestion?(t=i.indexOf(this.selectedSuggestion),e&&0===t?this.selectSuggestion(i[n-1]):e?this.selectSuggestion(i[t-1]):t===n-1?this.selectSuggestion(i[0]):this.selectSuggestion(i[t+1])):this.selectSuggestion(i[0]))},t.prototype.handleMenuArrowKey=function(e){var t,i=this.suggestions,n=this.suggestions?this.suggestions.length:0;n>0&&(t=i.indexOf(this.selectedSuggestion),e&&0===t||!e&&t===n-1?(this.input.value=this.cachedInputValue,this.setFocusToInput(),this.selectedSuggestion.setAttribute("data-selected","false"),this.selectedSuggestion=null):e?this.selectSuggestion(i[t-1]):this.selectSuggestion(i[t+1]))},t.prototype.selectSuggestion=function(e,t){var i,n,o;void 0===t&&(t=!1),e&&(this.selectedSuggestion&&this.selectedSuggestion.setAttribute("data-selected","false"),this.selectedSuggestion=e,this.selectedSuggestion.setAttribute("data-selected","true"),s.selectFirstElement("li > a, li > span",this.selectedSuggestion).focus(),i="product",this.searchable(this.selectedSuggestion)?(n=s.getText(this.selectedSuggestion),this.input.value=n,i="term"):0===this.publishInProgress.length&&(this.input.value=""),t&&(this.hide(),o=this.suggestions.indexOf(this.selectedSuggestion),this.initiatePublish({notification:"onSuggestionSelected",properties:{srchq:this.cachedInputValue,suggestion:this.selectedSuggestion,suggestionType:i,aslinkpos:o,qrylngth:this.cachedInputValue.length,resultselected:this.selectedSuggestion.innerText}}),this.searchable(this.selectedSuggestion)&&"function"==typeof this.form.submit&&this.form.submit()))},t.prototype.hide=function(){this.menu.setAttribute(t.ariaHidden,"true"),this.noResults&&this.noResultsItem&&(this.noResults.setAttribute(t.ariaHidden,"true"),this.noResultsItem.removeAttribute("aria-label"),this.noResultsItem.textContent=""),this.form.setAttribute(t.ariaExpanded,"false"),s.setText(this.ariaLiveRegion,""),s.removeEvent(document.body,s.eventTypes.click,this.handleClickWhenMenuOpen)},t.prototype.show=function(){if(o.isNullOrWhiteSpace(this.input.value))this.hide();else{if(this.form.setAttribute(t.ariaExpanded,"true"),!this.suggestions||!this.suggestions.length)return!this.hideNoResults&&this.noResults&&this.noResultsItem&&(this.noResults.setAttribute(t.ariaHidden,"false"),this.noResultsItem.setAttribute("aria-label",this.noResultsString),this.noResultsItem.textContent=this.noResultsString),void this.menu.setAttribute(t.ariaHidden,"true");s.setText(this.ariaLiveRegion,this.menuOpenLocString),!this.hideNoResults&&this.noResults&&this.noResults.setAttribute(t.ariaHidden,"true"),this.menu.setAttribute(t.ariaHidden,"false"),s.hasClass(this.menu,"f-auto-suggest-scroll")&&s.css(this.menu,"maxHeight",this.suggestions[0].offsetHeight*this.itemScrollCount+"px"),s.addEvent(document.body,s.eventTypes.click,this.handleClickWhenMenuOpen)}},t.prototype.closeMenuFromClick=function(e){this.form.contains(e)||this.hide()},t.prototype.reconstructMenu=function(e,t){var i,n,o,r,a,l,c=this;if(void 0===t&&(t=!1),this.suggestions=null,this.suggestionClickListeners=[],!t)for(this.ignoreNextDOMChange=!0,s.removeInnerHtml(this.menu),i=0,n=e;i<n.length;i++)switch((o=n[i]).type){case"string":this.buildStringSuggestionHtml(o.value,o.attributes);break;case"product":this.buildProductSuggestionHtml(o.value,o.attributes)}for(this.suggestions=s.nodeListToArray(this.menu.children),r=function(e){s.addEvent(a.suggestions[e],s.eventTypes.keydown,a.handleMenuKeydown),s.addEvent(a.suggestions[e],s.eventTypes.click,a.suggestionClickListeners[e]=function(){c.selectSuggestionFromClick(c.suggestions[e])})},a=this,l=0;l<this.suggestions.length;++l)r(l);return!!this.selectedSuggestion},t.prototype.addMenuStateAnnouncement=function(){this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("div"),s.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.input.parentNode.insertBefore(this.ariaLiveRegion,this.input.nextSibling),this.ignoreNextDOMChange=!0,this.menuOpenLocString=this.element.getAttribute("data-f-loc-menu-open")||t.menuOpenFallbackString)},t.prototype.highlight=function(e){var t=new RegExp(this.input.value,"ig");return e.replace(t,(function(e){return"<b>"+e+"</b>"}))},t.selector=".m-auto-suggest",t.typeName="AutoSuggest",t.menuOpenFallbackString="results are available, use up and down arrow keys to navigate.",t.defaultItemScrollCount=5,t.minimumItemScrollCount=2,t.ariaHidden="aria-hidden",t.ariaExpanded="aria-expanded",t.telemetryCtNonProduct="0",t.telemetryCtProduct="4",t}(n.Publisher);t.AutoSuggest=a}.apply(t,n),void 0===s||(e.exports=s)},backToTop:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("utility"),i("observableComponent")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esMo
2dule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.toggleBackToTop=function(){var e=(window.pageYOffset||document.body.scrollTop)>=2*s.getWindowHeight()?"false":"true";i.element.setAttribute("aria-disabled",e)},t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){this.scrollThrottledEventHandler=n.addThrottledEvent(window,n.eventTypes.scroll,this.toggleBackToTop)},t.prototype.teardown=function(){n.removeEvent(window,n.eventTypes.scroll,this.scrollThrottledEventHandler)},t.selector=".m-back-to-top",t.typeName="BackToTop",t}(o.ObservableComponent);t.BackToTop=r}.apply(t,n),void 0===s||(e.exports=s)},breakpointTracker:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){var i=e.call(this,null)||this;return i.onWindowResized=function(){var e=t.getWindowWidth(),n=t.identifyBreakpoint(e);i.breakpoint!==n&&(i.breakpoint=n,i.initiatePublish({breakpoint:n,width:e}))},i.windowWidth=t.getWindowWidth(),i.breakpoint=t.identifyBreakpoint(i.windowWidth),s.addDebouncedEvent(window,s.eventTypes.resize,i.onWindowResized),i}return i.__extends(t,e),t.getBreakpointTracker=function(){return document.body.breakpointTracker||(document.body.breakpointTracker=new t),document.body.breakpointTracker},t.prototype.getBreakpoint=function(){return this.breakpoint},t.identifyBreakpoint=function(e){o.isNumber(e)||(e=t.getWindowWidth());for(var i=t.breakpoints.length-1;i>=0;i--)if(e>=t.breakpoints[i])return i},t.getWindowWidth=function(){return window.innerWidth||document.documentElement.clientWidth},t.prototype.publish=function(e,t){e.onBreakpointChanged&&e.onBreakpointChanged(t)},t.breakpoints=[0,540,768,1084,1400,1779],t}(n.Publisher);t.BreakpointTracker=r}.apply(t,n),void 0===s||(e.exports=s)},button:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.handleKeydown=function(e){if(32===o.getKeyCode(e))s.preventDefault(e),i.emitClickEvent()},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&"A"===this.element.nodeName&&"button"===(this.element.getAttribute("role")||"").toLowerCase()&&s.addEvent(this.element,s.eventTypes.keydown,this.handleKeydown)},t.prototype.teardown=function(){s.removeEvent(this.element,s.eventTypes.keydown,this.handleKeydown)},t.prototype.emitClickEvent=function(){s.customEvent(this.element,s.eventTypes.click)},t.selector=".c-button",t.typeName="Button",t}(n.ObservableComponent);t.Button=r}.apply(t,n),void 0===s||(e.exports=s)},"carousel-base":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("componentFactory"),i("publisher"),i("swipe"),i("stringExtensions"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o,r,a,l,c){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t,i){var s=e.call(this,t,i)||this;return s.carouselElement=t,s.activeIndex=-1,s.onFlipperClicked=function(e){l.getEventTargetOrSrcElement(e)===s.previousButton?s.previousSlide():s.nextSlide()},s.swipeHandler=function(e){if(e.direction===r.SwipeDirection.Right||e.direction===r.SwipeDirection.Left){var t=e.direction===r.SwipeDirection.Right?s.direction===l.Direction.left:s.direction!==l.Direction.left;t&&s.isScrollableNext()?s.nextSlide():!t&&s.isScrollablePrevious()&&s.previousSlide()}},n.ObservableComponent.shouldInitializeAsClass(t,i)?(s.direction=l.getDirection(),s.directionValue=l.Direction[s.direction],s.requestAnimationFrame=l.SafeBrowserApis.requestAnimationFrame,l.preventDefaultSwipeAction(s.element),s.requestAnimationFrame.call(window,(function(){return s.update()})),s):s}return i.__extends(t,e),t.prototype.update=function(){var e=this;return!(!this.carouselElement||!this.hasSlides())&&(this.requestAnimationFrame.call(window,(function(){return e.setActiveSlide(e.getFirstActiveIndex(),!1)})),this.previousButton=l.selectFirstElement(t.previousButtonSelector,this.carouselElement),this.nextButton=l.selectFirstElement(t.nextButtonSelector,this.carouselElement),!this.previousButton||!this.nextButton||(l.addEvent(this.previousButton,l.eventTypes.click,this.onFlipperClicked),l.addEvent(this.nextButton,l.eventTypes.click,this.onFlipperClicked)),this.swipe=new r.Swipe([this.carouselElement],{end:this.swipeHandler},r.SwipeOrientation.Horizontal),!0)},t.prototype.teardown=function(){!this.previousButton||!this.nextButton||(l.removeEvent(this.previousButton,l.eventTypes.click,this.onFlipperClicked),l.removeEvent(this.nextButton,l.eventTypes.click,this.onFlipperClicked)),this.swipe&&this.swipe.tearDown(),this.slides=null,this.previousButton=null,this.nextButton=null},t.prototype.hasSlides=function(){return this.slides=this.getSlides(),!!this.slides&&!!this.slides.length},t.prototype.getCollectionItem=function(e){var t;return!e||!e.firstElementChild||s.ComponentFactory.enumerateComponents(e.firstElementChild,(function(e,i){return i.onCollectionItemHidden&&i.onCollectionItemShown&&i.triggerItem&&(t=i),!t})),t},t.prototype.setActiveSlide=function(e,i){return void 0===i&&(i=!0),!(!this.slides||!c.isNumber(e)||e<0||e>=this.slides.length||e===this.activeIndex)&&(this.activeIndex>=0&&this.activeIndex<this.slides.length&&l.removeClass(this.slides[this.activeIndex],t.activeClass),this.activeIndex=e,l.addClass(this.slides[e],t.activeClass),this.updateTheme(),this.updateFlippers(),!0)},t.prototype.updateTheme=function(){l.removeClasses(this.carouselElement,[t.themeDarkClass,t.themeLightClass]);var e=this.slides[this.activeIndex].getAttribute(t.slideThemeAttribute);a.isNullOrWhiteSpace(e)||l.addClass(this.carouselElement,t.themePrefix+e)},t.prototype.updateFlippers=function(){this.isScrollableNext()?l.addClass(this.carouselElement,t.nextFlipperClass):l.removeClass(this.carouselElement,t.nextFlipperClass),this.isScrollablePrevious()?l.addClass(this.carouselElement,t.previousFlipperClass):l.removeClass(this.carouselElement,t.previousFlipperClass)},t.prototype.publish=function(e,t){e.onSlideRangeChanged(t)},t.prototype.triggerSlide=function(){if(!this.slides||!this.slides.length||!(this.activeIndex>=0))return!1;var e=this.getCollectionItem(this.slides[this.activeIndex]);return e&&e.triggerItem()},t.selector=".c-carousel",t.activeClass="f-active",t.allChildSelectors=t.selector+" > * > ul > li",t.slideThemeAttribute="data-f-theme",t.themePrefix="theme-",t.previousFlipperClass="f-scrollable-previous",t.nextFlipperClass="f-scrollable-next",t.themeLightClass="theme-light",t.themeDarkClass="theme-dark",t.previousButtonSelector=".c-flipper.f-previous, .c-flipper.f-left",t.nextButtonSelector=".c-flipper.f-next, .c-flipper.f-right",t}(o.Publisher);t.CarouselBase=u}.apply(t,n),void 0===s||(e.exports=s)},channelPivot:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("htmlExtensions"),i("observableComponent"),i("pivot")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esMo
2dule",{value:!0});var a=function(e){function t(t){var i=e.call(this,t)||this;return i.channelPivotHeadingSelector=".c-cp-heading",i.channelPivotBackgroundSelector=".c-cp-background",i.themeDark="theme-dark",i.themeLight="theme-light",i.dataTheme="data-theme",i.ariaHidden="aria-hidden",i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.initializePivot(),this.initializePivotedElements())},t.prototype.teardown=function(){this.pivot.unsubscribe(this),this.pivot=null,this.pivotedElements=null},t.prototype.initializePivot=function(){var e=this,t=s.selectFirstElement(r.Pivot.selector,this.element);t&&n.ComponentFactory.create([{component:r.Pivot,elements:[t],callback:function(t){t&&t.length&&t[0]&&(e.pivot=t[0],e.pivot.subscribe(e))},eventToBind:"DOMContentLoaded"}])},t.prototype.initializePivotedElements=function(){this.pivotedElements=s.selectElements(this.channelPivotHeadingSelector,this.element);var e=s.selectElements(this.channelPivotBackgroundSelector,this.element);this.pivotedElements=this.pivotedElements.concat(e)},t.prototype.changeTheme=function(e){e&&(s.removeClasses(this.element,["theme-dark","theme-light"]),s.addClass(this.element,e))},t.prototype.onPivotChanged=function(e){for(var t,i=e.activePivotId.split(" "),n=0,s=this.pivotedElements;n<s.length;n++)t=s[n],-1!==i.indexOf(t.id)?(t.setAttribute(this.ariaHidden,"false"),this.changeTheme(t.getAttribute(this.dataTheme))):t.setAttribute(this.ariaHidden,"true")},t.selector=".m-channel-pivot",t}(o.ObservableComponent);t.ChannelPivot=a}.apply(t,n),void 0===s||(e.exports=s)},checkbox:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.updateCheckbox=function(){var e=n.input.checked;e!==n.checked&&(n.checked=e,n.input.setAttribute(t.ariaCheckedAttribute,n.checked.toString()),n.initiatePublish({checked:n.checked}))},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){this.input=s.selectFirstElement(t.inputSelector,this.element),this.input&&(this.input.getAttribute(t.indeterminateAttribute)===t.indeterminateValue&&(this.input.indeterminate=!0),this.checked=this.input.checked,this.input.setAttribute(t.ariaCheckedAttribute,this.checked.toString()),s.addEvent(this.input,s.eventTypes.click,this.updateCheckbox))},t.prototype.teardown=function(){s.removeEvent(this.input,s.eventTypes.click,this.updateCheckbox)},t.prototype.publish=function(e,t){e.onValueChanged(t)},Object.defineProperty(t.prototype,"indeterminate",{get:function(){return!!this.input&&this.input.indeterminate},set:function(e){this.input&&(this.input.indeterminate=e)},enumerable:!0,configurable:!0}),t.selector=".c-checkbox",t.typeName="Checkbox",t.inputSelector='input[type="checkbox"]',t.indeterminateAttribute="data-js-checkbox",t.indeterminateValue="indeterminate",t.ariaCheckedAttribute="aria-checked",t}(n.Publisher);t.Checkbox=o}.apply(t,n),void 0===s||(e.exports=s)},choiceSummary:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.onDropdownClicked=function(e){s.preventDefault(e),n.toggleVisibility(),n.choiceOptions&&n.choiceOptions.length>0&&n.choiceOptions[0].focus()},n.onNonDropdownClick=function(e){var t=s.getEventTargetOrSrcElement(e);n.isVisible||n.element.contains(t)||n.toggleVisibility()},n.replaceText=function(e){var i,o;n.checkedChoiceOption=e.target,i=n.checkedChoiceOption.parentNode,n.label=s.selectFirstElement(t.spanSelector,i),o=n.labelText+n.separator+" "+s.getText(n.label),s.setText(n.dropdownText,o)},n.toggleVisibility=function(){n.isVisible=!n.isVisible,n.dropdownMenu.setAttribute(t.ariaHidden,""+n.isVisible),n.dropdownMenu.setAttribute(t.ariaExpanded,""+!n.isVisible),n.dropdownButton.setAttribute(t.ariaExpanded,""+!n.isVisible),n.element.setAttribute(t.ariaExpanded,""+!n.isVisible)},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e,i,n;if(this.dropdownButton=s.selectFirstElement(t.dropdownButtonSelector,this.element),this.dropdownMenu=s.selectFirstElement(t.dropdownMenuSelector,this.element),this.dropdownText=s.selectFirstElement(t.separatorSpanSelector,this.element),this.separator=this.dropdownText.getAttribute(t.separatorSelector),this.labelText=s.getText(this.dropdownText),this.dropdownButton&&this.separator&&this.dropdownMenu&&this.dropdownText&&this.labelText)for(this.choiceOptions=s.selectElementsT(t.choiceOptionSelector,this.element),this.isVisible="true"===this.dropdownMenu.getAttribute(t.ariaHidden),this.dropdownMenu.setAttribute(t.ariaExpanded,""+!this.isVisible),s.addEvent(this.dropdownButton,s.eventTypes.click,this.onDropdownClicked),s.addEvent(document,s.eventTypes.click,this.onNonDropdownClick),s.addEvent(this.choiceOptions,s.eventTypes.click,this.replaceText),e=0,i=this.choiceOptions;e<i.length;e++)if((n=i[e]).checked){this.checkedChoiceOption=n;break}},t.prototype.teardown=function(){s.removeEvent(this.dropdownButton,s.eventTypes.click,this.onDropdownClicked),s.removeEvent(document,s.eventTypes.click,this.onNonDropdownClick),s.removeEvent(this.choiceOptions,s.eventTypes.click,this.replaceText)},t.selector=".c-choice-summary",t.typeName="ChoiceSummary",t.dropdownButtonSelector=".c-action-trigger.glyph-chevron-down",t.dropdownMenuSelector="ul",t.ariaHidden="aria-hidden",t.ariaLabel="aria-label",t.ariaExpanded="aria-expanded",t.separatorSpanSelector=".c-choice-summary > span",t.spanSelector="span",t.separatorSelector="data-js-separator",t.labelSelector="label",t.choiceOptionSelector='input[type="radio"]',t}(n.ObservableComponent);t.ChoiceSummary=o}.apply(t,n),void 0===s||(e.exports=s)},colorPicker:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.onPickerMouseover=function(e){var i,o,r,a,l,c,u=s.getEventTargetOrSrcElement(e);if(u&&(n.currentActiveColor!==u&&(s.removeClass(n.currentActiveColor.parentElement,t.activeColorSelector),s.addClass(u.parentElement,t.activeColorSelector),n.currentActiveColor=u),n.initiatePublish({id:u.id,previousId:n.previouslyHoverId,currentActiveColor:n.currentActiveColor,dataImgHref:u.getAttribute(t.dataImgHref)}),n.previouslyHoverId=n.element.id,"SPAN"===u.nodeName)){for(i=u,o=0;i&&"A"!==i.nodeName&&o<t.AncestorLookupMaxTimes;)i=i.parentElement,o++;if(!i||"A"!==i.nodeName)return;(r=u.getAttribute("data-href"))&&i.setAttribute("href",r),(a=u.getAttribute("data-img-srcset"))&&(l=s.selectFirstElement(".c-channel-placement-image > picture > source",i),c=s.selectFirstElement(".c-channel-placement-image > picture > img",i),l.setAttribute("data-srcset",a),l.setAttribute("srcset",a),c.setAttribute("src",a),c.setAttribute("data-src",a))}},n.onPickerMouseout=function(){n.initiatePublish({id:null,previousId:n.previouslyHoverId,dataImgHref:null}),n.previouslyHoverId=null},i?(n.update(),n):n}return i.__extends(t,e),t.prototype.update=function(){var e,i,n,o;for(this.colorPickerElements=s.selectElements(t.colorPickerSelector,this.element),i=0,n=this.colorPickerElements;i<n.length;i++)o=n[i],s.addEvent(o,s.eventTypes.mouseover,this.onPickerMouseover),s.addEvent(o,s.eventTypes.mouseout,this.onPickerMouseout),s.hasClass(o.parentElement,t.activeColorSelector)&&(e?s.removeClass(o.parentElement,t.activeColorSelector):e=o);e||(s.addClass(this.colorPickerElements[0].parentElement,t.activeColorSelector),e=this.colorPickerElements[0]),this.currentActiveColor=e},t.prototype.teardown=function(){for(var e,t=0,i=this.colorPickerElements;t<i.length;t++)e=i[t],s.removeEvent(e,s.eventTypes.mouseover,this.onPickerMouseover),s.removeEvent(e,s.eventTypes.mouseout,this.onPickerMouseout);this.colorPickerElements=null},t.prototype.publish=function(e,t){e.onPickerHoverChanged&&e.onPickerHoverChanged(t)},t.selector=".m-color-picker",t.colorPickerSelector=".c-hyperlink.f-picker",t.activeColorSelector="f-active",t.dataImgHref="data-img-srcset",t.AncestorLookupMaxTimes=4,t}(n.Publisher);t.ColorPicker=o}.apply(t,n),void 0===s||(e.exports=s)},combo:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility"),i("stringExtensions")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i){var n=e.call(this,i)||this;return n.isFirstFocus=!0,n.isCombobox=!1,n.maxDisplayedItems=t.defaultMaxDisplayedItems,n.usesAccessibleHtmlShape=!1,n.handleOnInputEvent=function(){r.isNullOrWhiteSpace(n.input.value)&&(n.isMenuVisible()||n.input.setAttribute(t.ariaActiveDescendant,""),n.hideMenu())},n.handleInputKeydownEvent=function(e){var t=o.getKeyCode(e);(13===t||40===t||38===t&&n.isMenuVisible())&&s.preventDefault(e),n.handleInputKeydown(t)},n.handleInputKeyupEvent=function(e){n.handleInputKeyup(o.getKeyCode(e))},n.handleFocusInEvent=function(){n.isFirstFocus&&(n.input.value&&n.input.setSelectionRange(0,n.input.value.length),n.isFirstFocus=!1)},n.handleFocusOutEvent=function(){n.isFirstFocus=!0},n.handleInputOrButtonClickEvent=function(e){s.preventDefault(e),n.handleInputOrButtonClick()},n.handleMenuClickEvent=function(e){n.handleMenuClick(s.getEventTargetOrSrcElement(e))},n.handleOffMenuClick=function(e){n.element.contains(s.getEventTargetOrSrcElement(e))||n.hideMenu()},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e,i,n;if(this.element){if(this.comboBoxElement=s.selectFirstElement('input[role="combobox"]',this.element),this.input=s.selectFirstElementT("input",this.element),this.button=s.selectFirstElement("button",this.element),this.menu=s.selectFirstElement("ul",this.element),this.matchedElement=null,this.listItems=s.selectElements("span, a",this.menu),null===this.listItems||0===this.listItems.length)for(this.listItems=s.selectElements('li[role="option"], a',this.menu),this.usesAccessibleHtmlShape=!0,e=0,i=this.listItems;e<i.length;e++)(n=i[e]).getAttribute("id")||n.setAttribute("id","item-"+ ++t._uniqueId);this.comboBoxElement?this.element.getAttribute("data-v3")?(this.isCombobox=!0,this.comboBoxElement=this.element):(this.isCombobox=!0,this.comboBoxElement=this.menu):"combobox"===this.element.getAttribute(t.role)&&(this.isCombobox=!0,this.comboBoxElement=this.element,this.input.setAttribute("role","combobox"),this.element.setAttribute("role","")),this.addMenuStateAnnouncement(),this.input&&this.button&&this.menu&&!(this.listItems.length<1)&&(this.activeValue=this.input.value,this.activeItem=this.usesAccessibleHtmlShape?s.selectFirstElement("li."+t.activeClassName,this.menu):s.selectFirstElement("span[class='"+t.activeClassName+"']",this.menu),s.addEvent(this.input,s.eventTypes.keydown,this.handleInputKeydownEvent,!0),s.addEvent(this.comboBoxElement,s.eventTypes.focusout,this.handleFocusOutEvent,!1),s.addEvent(this.comboBoxElement,s.eventTypes.focusin,this.handleFocusInEvent,!1),s.addEvent(this.input,s.eventTypes.keyup,this.handleInputKeyupEvent,!0),s.addEvent(this.input,s.eventTypes.click,this.handleInputOrButtonClickEvent,!0),s.addEvent(this.input,s.eventTypes.input,this.handleOnInputEvent,!0),s.addEvent(this.button,s.eventTypes.click,this.handleInputOrButtonClickEvent,!0),s.addEvent(this.listItems,s.eventTypes.click,this.handleMenuClickEvent,!0),this.activeItem&&this.setActiveItemAndHideMenu(this.activeItem,!1))}},t.prototype.teardown=function(){s.removeEvent(this.input,s.eventTypes.keydown,this.handleInputKeydownEvent,!0),s.removeEvent(this.input,s.eventTypes.keyup,this.handleInputKeyupEvent,!0),s.removeEvent(this.input,s.eventTypes.click,this.handleInputOrButtonClickEvent,!0),s.removeEvent(this.button,s.eventTypes.click,this.handleInputOrButtonClickEvent,!0),s.removeEvent(this.listItems,s.eventTypes.click,this.handleMenuClickEvent,!0),s.removeEvent(this.comboBoxElement,s.eventTypes.focusout,this.handleFocusOutEvent,!1),s.removeEvent(this.comboBoxElement,s.eventTypes.focusin,this.handleFocusInEvent,!1),this.input=null,this.button=null,this.menu=null,this.listItems=null,this.activeItem=null},t.prototype.publish=function(e,t){e.onSelectionChanged(t)},t.prototype.onSelectionChanged=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this.getValue();this.initiatePublish({id:i.id,value:i.value,internal:e,userInitiated:t})},t.prototype.getValue=function(){return{id:this.activeItem&&this.activeItem.parentElement?this.usesAccessibleHtmlShape?this.activeItem.id:this.activeItem.parentElement.id:"",value:this.input.value,internal:!1,userInitiated:!1}},t.prototype.showMenu=function(e){var t,i,n;if(void 0===e&&(e=!1),!this.isMenuVisible()&&(t=this.input.value,e||!r.isNullOrWhiteSpace(t))){if
2(this.setMenuAriaAttributes(!0),this.listItems.length>this.maxDisplayedItems){for(i=0,n=0;n<this.maxDisplayedItems;n++)i+=this.listItems[n].offsetHeight;this.menu.style.maxHeight=i+"px"}s.addEvent(document.body,s.eventTypes.click,this.handleOffMenuClick),this.matchItem()}},t.prototype.hideMenu=function(){this.isMenuVisible()&&(this.setMenuAriaAttributes(!1),this.activeItem&&this.activeItem.setAttribute(t.ariaSelected,"false"),this.usesAccessibleHtmlShape&&this.input.setAttribute(t.ariaActiveDescendant,""),s.removeClass(this.activeItem,t.activeClassName),this.matchedElement=null,s.removeEvent(document.body,s.eventTypes.click,this.handleOffMenuClick))},t.prototype.setMenuAriaAttributes=function(e){this.isCombobox?(this.comboBoxElement.firstElementChild.setAttribute(t.ariaExpanded,e.toString()),this.comboBoxElement.setAttribute(t.ariaExpanded,e.toString())):this.menu.setAttribute(t.ariaHidden,(!e).toString()),e&&this.ariaLiveRegion?s.setText(this.ariaLiveRegion,this.menuOpenLocString):s.setText(this.ariaLiveRegion,"")},t.prototype.addMenuStateAnnouncement=function(){this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("div"),s.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.input.parentNode.insertBefore(this.ariaLiveRegion,this.input.nextSibling),this.ignoreNextDOMChange=!0,this.menuOpenLocString=this.element.getAttribute("data-f-loc-menu-open")||t.menuOpenFallbackString)},t.prototype.isMenuVisible=function(){return this.isCombobox?"true"===this.comboBoxElement.getAttribute(t.ariaExpanded):"false"===this.menu.getAttribute(t.ariaHidden)},t.prototype.setActiveItemAndHideMenu=function(e,t){void 0===t&&(t=!0),!e||(this.setActiveItem(e),this.input.value=this.activeValue=this.getActiveText(),this.hideMenu(),t&&this.input.focus(),this.onSelectionChanged())},t.prototype.setActiveItem=function(e,i){void 0===i&&(i=!0),this.activeItem&&(s.removeClass(this.activeItem,t.activeClassName),this.activeItem.setAttribute(t.ariaSelected,"false"),this.input.setAttribute(t.ariaActiveDescendant,"")),this.activeItem=e,i&&(s.addClass(this.activeItem,t.activeClassName),this.activeItem.setAttribute(t.ariaSelected,"true"),this.input.setAttribute(t.ariaActiveDescendant,this.activeItem.id))},t.prototype.getActiveText=function(){return this.activeItem?s.getText(this.activeItem):""},t.prototype.matchItem=function(e){var t,i,n,o,a,l,c,u;if(void 0===e&&(e=!1),t=this.input.value,n=0,!r.isNullOrWhiteSpace(t))for(t=r.trim(t).toLocaleLowerCase(),o=0,a=this.listItems;o<a.length;o++){if(l=a[o],t===(c=s.getText(l).toLocaleLowerCase())){i=l,n=-1;break}(u=r.getMatchLength(c,t,!1))>0&&(0===n||u>n)&&(i=l,n=u)}i?this.matchedElement=i:i=this.listItems[0],(e||-1===n)&&this.setActiveItem(i,e||-1===n),s.scrollElementIntoView(i,this.menu)},t.prototype.handleInputKeydown=function(e){var i,n,o,r;switch(this.activeValue=this.input.value,e){case 9:case 13:i=this.getActiveText(),this.activeValue!==i&&(s.hasClass(this.activeItem,t.activeClassName)&&(this.activeValue=this.input.value=i),this.onSelectionChanged()),this.hideMenu();break;case 40:this.isMenuVisible()?this.activeItem?(r=this.listItems.indexOf(this.activeItem),n=this.getNextItemIndex(r),this.setActiveItem(this.listItems[n]),s.scrollElementIntoView(this.listItems[n],this.menu),this.input.focus()):this.matchItem(!0):this.showMenu(!0);break;case 38:this.isMenuVisible()&&(o=this.listItems.length-1,this.activeItem&&(r=this.listItems.indexOf(this.activeItem),o=this.getPreviousItemIndex(r)),this.setActiveItem(this.listItems[o]),s.scrollElementIntoView(this.listItems[o],this.menu),this.input.focus());break;case 27:this.hideMenu()}},t.prototype.handleInputKeyup=function(){r.isNullOrWhiteSpace(this.input.value)||this.input.value===this.activeValue||(this.setActiveItem(null,!1),this.showMenu(!0),this.matchItem())},t.prototype.handleInputOrButtonClick=function(){this.isMenuVisible()?this.hideMenu():this.showMenu(!0),this.input.focus()},t.prototype.handleMenuClick=function(e){this.setActiveItemAndHideMenu(e)},t.prototype.getNextItemIndex=function(e){return(e+1)%this.listItems.length},t.prototype.getPreviousItemIndex=function(e){return--e>0?e:this.listItems.length-1},t.selector=".c-combo",t._uniqueId=0,t.typeName="Combo",t.menuOpenFallbackString="results are available, use up and down arrow keys to navigate.",t.ariaHidden="aria-hidden",t.ariaExpanded="aria-expanded",t.ariaSelected="aria-selected",t.ariaActiveDescendant="aria-activedescendant",t.role="role",t.activeClassName="active",t.defaultMaxDisplayedItems=5,t}(n.Publisher);t.Combo=a}.apply(t,n),void 0===s||(e.exports=s)},compareChart:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esMo
2dule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.maxRows=0,i.checkPollingCriteria=function(){var e=i.checkForDeferredContent(),t=i.setRowHeightsAcrossAllColumns();return!e&&t},i.recalculate=function(){o.poll(i.checkPollingCriteria,250,-1)},t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){return this.cachedDisplayValue=s.css(this.element,"display"),this.columns=s.selectElements(".f-column",this.element),this.maxRows=this.getMaxRowsFromAllColumns(),this.allRows=s.selectElements(".f-row",this.element),this.images=s.selectElementsT("img",this.element),this.recalculate(),this.resizeEventListener=s.addDebouncedEvent(window,s.eventTypes.resize,this.recalculate,50),!0},t.prototype.teardown=function(){this.columns=null,this.maxRows=0,this.allRows=null,this.columnRows=null,this.images=null,s.removeEvent(window,s.eventTypes.resize,this.resizeEventListener)},t.prototype.getMaxRowsFromAllColumns=function(){var e,t,i,n,o=0;for(this.columnRows=[],e=0,t=this.columns;e<t.length;e++)i=t[e],n=s.selectElements(".f-row",i),o=Math.max(o,n.length),this.columnRows.push(n);return o},t.prototype.setRowHeightsAcrossAllColumns=function(){var e,t,i,n,o,r,a=!1,l=[];for(this.displayCompareChart(!1),e=0,t=this.allRows;e<t.length;e++)i=t[e],s.css(i,"height","auto");for(this.displayCompareChart(),o=0;o<this.maxRows;o++)0===(n=this.getMaxRowHeight(o))&&(a=!0),l.push(n);for(this.displayCompareChart(!1),o=0;o<this.maxRows;o++)for(r in this.columns)void 0!==this.columnRows[r][o]&&s.css(this.columnRows[r][o],"height",l[o].toString()+"px");return this.displayCompareChart(),!a},t.prototype.getMaxRowHeight=function(e){var t=0;for(var i in this.columns)void 0!==this.columnRows[i][e]&&(t=Math.max(o.getDimensions(this.columnRows[i][e]).height,t));return t},t.prototype.checkForDeferredContent=function(){for(var e=0,t=this.images;e<t.length;e++)if(t[e].height<2)return!0;return!1},t.prototype.displayCompareChart=function(e){void 0===e&&(e=!0),s.css(this.element,"display",e?this.cachedDisplayValue:"none")},t.selector=".c-compare-chart, .m-compare-chart",t.typeName="CompareChart",t}(n.ObservableComponent);t.CompareChart=r}.apply(t,n),void 0===s||(e.exports=s)},"component-auto-initializer":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("actionBar"),i("actionMenu"),i("actionToggle"),i("ambientVideo"),i("alert"),i("button"),i("backToTop"),i("checkbox"),i("choiceSummary"),i("colorPicker"),i("combo"),i("compareChart"),i("contentPlacementItem"),i("contentToggle"),i("dateTimePicker"),i("deviceActions"),i("dialog"),i("drawer"),i("expansionPanel"),i("feedHeroItem"),i("file"),i("flyout"),i("heroItem"),i("immersiveHeroItem"),i("inPageNavigation"),i("mosaicPlacement"),i("multiFeature"),i("multiHero"),i("multiHeroItem"),i("multi-slide-carousel"),i("navigationMenu"),i("navigationBar"),i("pageBar"),i("pageBehaviors"),i("pagination"),i("parallax"),i("persona"),i("pivot"),i("channelPivot"),i("productPlacement"),i("productPlacementItem"),i("rangeSlider"),i("rating"),i("refineMenu"),i("select"),i("selectButton"),i("selectMenu"),i("sequenceIndicator"),i("single-slide-carousel"),i("slider"),i("social"),i("splitReveal"),i("sticky"),i("supplementalNavigation"),i("table"),i("toggle"),i("tooltip"),i("video"),i("videoTrigger"),i("mwf.main")],s=function(e,t,i,n,s,o,r,a,l,c,u,h,d,p,m,g,v,f,b,y,C,E,w,S,T,x,A,k,I,P,M,O,D,F,N,B,L,R,H,_,z,V,W,j,K,U,q,G,Y,$,X,Q,J,Z,ee,te,ie,ne,se,oe,re,ae,le,ce){Object.defineProperty(t,"__esModule",{value:!0}),i.__exportStar(ce,t);var ue=function(){function e(){}return e.initializeAll=function(e){n.ComponentFactory.create([{context:e,c:R.PageBehaviors,selector:"body"},{context:e,c:s.ActionBar},{context:e,c:o.ActionMenu},{context:e,c:r.ActionToggle},{context:e,c:l.Alert,selector:".c-alert, .m-alert"},{context:e,c:a.AmbientVideo},{context:e,c:u.BackToTop,selector:".c-back-to-top, .m-back-to-top"},{context:e,c:c.Button},{context:e,c:W.ChannelPivot},{context:e,c:h.Checkbox},{context:e,c:d.ChoiceSummary},{context:e,c:p.ColorPicker},{context:e,c:m.Combo},{context:e,c:g.CompareChart,selector:".c-compare-chart, .m-compare-chart"},{context:e,c:v.ContentPlacementItem,selector:".m-content-placement-item"},{context:e,c:f.ContentToggle,eventToBind:"DOMContentLoaded"},{context:e,c:b.DateTimePicker},{context:e,c:y.DeviceActions},{context:e,c:C.Dialog},{context:e,c:E.Drawer},{context:e,c:w.ExpansionPanel},{context:e,c:S.FeedHeroItem},{context:e,c:T.File},{context:e,c:x.Flyout},{context:e,c:A.HeroItem,selector:".c-hero, .m-hero-item"},{context:e,c:k.ImmersiveHeroItem},{context:e,c:I.InPageNavigation,selector:".c-in-page-navigation, .m-in-page-navigation"},{context:e,c:P.MosaicPlacement},{context:e,c:M.MultiFeature},{context:e,c:O.MultiHero},{context:e,c:D.MultiHeroItem},{context:e,c:F.MultiSlideCarousel},{context:e,c:N.NavigationMenu},{context:e,c:B.NavigationBar},{context:e,c:L.PageBar},{context:e,c:H.Pagination,selector:".c-pagination, .m-pagination"},{context:e,c:_.Parallax},{context:e,c:z.Persona},{context:e,c:V.Pivot},{context:e,c:j.ProductPlacement},{context:e,c:K.ProductPlacementItem},{context:e,c:U.RangeSlider},{context:e,c:q.Rating},{context:e,c:G.RefineMenu},{context:e,c:Y.Select},{context:e,c:$.SelectButton},{context:e,c:X.SelectMenu,selector:".c-select-menu, .c-select-menu .c-menu-item.f-sub-menu"},{context:e,c:Q.SequenceIndicator,selector:".c-sequence-indicator"},{context:e,c:J.SingleSlideCarousel},{context:e,c:Z.Slider},{context:e,c:ee.Social,selector:".c-social, .m-social"},{context:e,c:te.SplitReveal},{context:e,c:ie.Sticky}
2,{context:e,c:ne.SupplementalNavigation,selector:".c-supplemental-nav, .m-supplemental-nav"},{context:e,c:se.Table},{context:e,c:oe.Toggle},{context:e,c:re.Tooltip},{context:e,c:ae.Video,eventToBind:"DOMContentLoaded"},{context:e,c:le.VideoTrigger}])},e}();t.ComponentAutoInitializer=ue,ue.initializeAll()}.apply(t,n),void 0===s||(e.exports=s)},componentFactory:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions"),i("utility"),i("stringExtensions"),i("pageBehaviors")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.create=function(t){for(var i,n=0,s=t;n<s.length;n++){if(!(i=s[n]).c&&!i.component)throw"factoryInput should has either component or c to tell the factory what component to create.Eg.ComponentFactory.create([{ c: Carousel] or ComponentFactory.create([component: Carousel]))";e.createComponent(i.component||i.c,i)}},e.createComponent=function(t,n){if(t){var s=n&&n.eventToBind?n.eventToBind:"",o=n&&n.selector?n.selector:t.selector,r=n&&n.context?n.context:null,a=[],l=function(e,s,o){var l,c,u,h;for(l=0,c=n.elements?n.elements:s?i.selectElementsT(s,r):[document.body];l<c.length;l++)(u=c[l])?(u.mwfInstances||(u.mwfInstances={}),u.mwfInstances[e]?a.push(u.mwfInstances[e]):(!(h=new t(u,o)).isObserving||h.isObserving())&&(u.mwfInstances[e]=h,a.push(h))):console.error("The elements array in ComponentFactory.create() cannnot have a null element in it")};switch(s){case"DOMContentLoaded":if(!e.onDomReadyHappened){e.domReadyFunctions.push((function(){return e.callBindFunction(t,o,l,n,a)}));break}e.callBindFunction(t,o,l,n,a);break;default:if(!e.onDeferredHappened){e.deferredFunctions.push((function(){return e.callBindFunction(t,o,l,n,a)}));break}e.callBindFunction(t,o,l,n,a)}}},e.callBindFunction=function(t,i,s,o,r){void 0===o&&(o=null);var a=e.getTypeName(t),l=a||i||"",c=o&&o.params?o.params:{};c.mwfClass=a,n.createPerfMarker(l+"_Begin"),s(a,i,c),n.createPerfMarker(l+"_End"),o&&o.callback&&o.callback(r)},e.getTypeName=function(t){if(t.typeName)return t.typeName;if(t.name)return t.name;var i=e.typeNameRegEx.exec(t.toString());return i&&i.length>1?i[1]:void 0},e.enumerateComponents=function(e,t){var i,n,s;if(e&&t)for(n in i=e.mwfInstances)if(i.hasOwnProperty(n)&&((s=i[n])&&!t(n,s)))break},e.detach=function(e,t){var i,n=e;n&&n.mwfInstances&&!s.isNullOrWhiteSpace(t)&&n.mwfInstances.hasOwnProperty(t)&&(i=n.mwfInstances[t],n.mwfInstances[t]=null,i&&i.detach&&i.detach())},e.typeNameRegEx=/function\s+(\S+)\s*\(/,e.onLoadTimeoutMs=6e3,e.onDeferredHappened=!1,e.deferredFunctions=[],e.onDomReadyHappened=!1,e.domReadyFunctions=[],e}();t.ComponentFactory=r,i.onDeferred((function(){var e,t,n,s;if(r.onDeferredHappened=!0,!(e=r.deferredFunctions)||e.length>0)for(t=0,n=e;t<n.length;t++)"function"==typeof(s=n[t])&&i.SafeBrowserApis.requestAnimationFrame.call(window,s);r.deferredFunctions=null}),r.onLoadTimeoutMs),i.documentReady((function(){var e,t,n,s;if(r.onDomReadyHappened=!0,!(e=r.domReadyFunctions)||e.length>0)for(t=0,n=e;t<n.length;t++)"function"==typeof(s=n[t])&&i.SafeBrowserApis.requestAnimationFrame.call(window,s);r.domReadyFunctions=null}),r.onLoadTimeoutMs),new o.PageBehaviors}.apply(t,n),void 0===s||(e.exports=s)},contentPlacementItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],s=function(e,t,i,n){Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.contentPlacementItemElement=t,n}return i.__extends(t,e),t.selector=".m-content-placement-item",t.typeName="ContentPlacementItem",t.callToActionSelector="a",t}(n.HeroItemBase);t.ContentPlacementItem=s}.apply(t,n),void 0===s||(e.exports=s)},contentToggle:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("stringExtensions")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.isList=!1,i.maxOpenHeight="",i.lineHeight=0,i.clickHandler=function(){i.toggleContent()},i.onResized=function(){i.render()},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){if(this.element&&(this.target=s.selectFirstElement(t.targetSelector,this.element),this.target||(this.target=s.selectFirstElement("p",this.element)),this.trigger=s.selectFirstElement("button",this.element),this.target&&this.trigger)){var e=parseInt(this.trigger.getAttribute(t.dataShowAttribute),10),i=parseInt(this.trigger.getAttribute(t.dataMaxListShowAttribute),10);this.showLines=isNaN(e)||e<0?t.defaultShow:e,this.maxListShow=isNaN(i)||i<=0?t.defaultMaxListShow:i,this.moreString=this.trigger.getAttribute(t.dataMoreAttributeValue),this.lessString=this.trigger.getAttribute(t.dataLessAttributeValue),this.moreAriaLabelString=this.trigger.getAttribute(t.dataMoreLabelAttributeValue),this.lessAriaLabelString=this.trigger.getAttribute(t.datalessLabelAttributeValue),this.element.removeAttribute(t.showOnInit),this.triggerDis
2playStyle=s.css(this.trigger,"display"),this.render(),s.addEvent(this.trigger,s.eventTypes.click,this.clickHandler),this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.onResized)}},t.prototype.teardown=function(){s.removeEvent(this.trigger,s.eventTypes.click,this.clickHandler),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEventHandler),this.target=null,this.trigger=null,this.showLines=t.defaultShow,this.maxListShow=t.defaultMaxListShow,this.isList=!1,this.lineHeight=0,this.maxOpenHeight=""},t.prototype.toggleContent=function(e){var i;void 0===e&&(e=!("true"===this.target.getAttribute(t.dataExpanded))),this.target.setAttribute(t.dataExpanded,e.toString()),s.setText(this.trigger,e?this.lessString:this.moreString),e?(this.trigger.setAttribute(t.AriaExpandedAttribute,"true"),this.lessAriaLabelString?(i=o.format(this.lessAriaLabelString,this.lessString),this.trigger.setAttribute(t.AriaLabelAttribute,i)):this.trigger.setAttribute(t.AriaLabelAttribute,this.lessString),this.target.setAttribute(t.AriaHiddenAttribute,"false"),s.css(this.target,"max-height",this.maxOpenHeight)):(this.trigger.setAttribute(t.AriaExpandedAttribute,"false"),this.moreAriaLabelString?(i=o.format(this.moreAriaLabelString,this.moreString),this.trigger.setAttribute(t.AriaLabelAttribute,i)):this.trigger.setAttribute(t.AriaLabelAttribute,this.moreString),0===this.showLines&&this.target.setAttribute(t.AriaHiddenAttribute,"true"),s.css(this.target,"max-height",this.lineHeight*this.showLines+"px"))},t.prototype.noToggle=function(){s.css(this.target,"max-height","");var e=s.getClientRect(this.target),t=(parseInt(s.css(this.target,"padding-top"),10)||0)+(parseInt(s.css(this.target,"padding-bottom"),10)||0);return 0===this.lineHeight&&this.calculateLineHeight(),0===this.lineHeight||e.height-t<=this.lineHeight*this.showLines},t.prototype.calculateLineHeight=function(){var e,t,i;if(this.target){if(e=0,"UL"===this.target.nodeName||"OL"===this.target.nodeName){if(this.isList=!0,!this.target.firstElementChild)return void(this.lineHeight=0);t=this.target.children[this.target.children.length-1],e=this.target.offsetHeight,this.target.removeChild(t),e-=this.target.offsetHeight,this.target.appendChild(t),this.maxOpenHeight=e*this.maxListShow+"px"}else(i=this.target.cloneNode()).innerHTML="<br>",this.target.appendChild(i),e=i.offsetHeight,i.innerHTML="<br><br>",e=i.offsetHeight-e,this.target.removeChild(i);this.ignoreNextDOMChange=!0,this.lineHeight=e}else this.lineHeight=0},t.prototype.render=function(){this.noToggle()?s.css(this.trigger,"display","none"):("none"===this.triggerDisplayStyle&&(this.triggerDisplayStyle="inline-block"),s.css(this.trigger,"display",this.triggerDisplayStyle),this.toggleContent("true"===this.target.getAttribute(t.dataExpanded)))},t.prototype.show=function(){this.lineHeight=0,this.render()},t.selector=".c-content-toggle",t.typeName="ContentToggle",t.dataExpanded="data-f-expanded",t.targetSelector="[data-f-expanded]",t.dataMoreAttributeValue="data-f-more",t.dataLessAttributeValue="data-f-less",t.dataMoreLabelAttributeValue="data-f-morelabel",t.datalessLabelAttributeValue="data-f-lesslabel",t.dataShowAttribute="data-f-show",t.showOnInit="data-f-showOnInit",t.dataMaxListShowAttribute="data-f-max-list-show",t.AriaLabelAttribute="aria-label",t.AriaHiddenAttribute="aria-hidden",t.AriaExpandedAttribute="aria-expanded",t.defaultShow=3,t.defaultMaxListShow=10,t}(n.ObservableComponent);t.ContentToggle=r}.apply(t,n),void 0===s||(e.exports=s)},dateTimePicker:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("stringExtensions"),i("utility"),i("publisher"),i("swipe")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(i){var r=e.call(this,i)||this;return r.days=[0,31,28,31,30,31,30,31,31,30,31,30,31],r.amPmSelection=["AM","PM"],r.numberOfElementsThatAppearInColumn=5,r.pickerIsOpen=!1,r.pendingDayRecalc=!1,r.handleKeyDown=function(e){var i,s,a,l,c;if(e=n.getEvent(e),i=o.getKeyCode(e),s=n.getEventTargetOrSrcElement(e),r.pickerIsOpen)switch(i){case 13:n.preventDefault(e),s!==r.cancelButton&&r.updatePicker(),r.closePicker();break;case 27:r.closePicker();break;case 37:if(!r.activeColumn||document.activeElement===r.applyButton||document.activeElement===r.cancelButton)break;if(!(l=r.activeColumn.previousElementSibling))break;n.preventDefault(e),r.setFocus(l);break;case 39:if(!r.activeColumn||document.activeElement===r.applyButton||document.activeElement===r.cancelButton)break;if(!(a=r.activeColumn.nextElementSibling))break;n.preventDefault(e),r.setFocus(a);break;case 38:n.preventDefault(e),r.activeColumn&&document.activeElement!==r.applyButton&&document.activeElement!==r.cancelButton&&r.scrollC
2olumn(r.activeColumn,t.scrollUpValue);break;case 40:n.preventDefault(e),r.activeColumn&&document.activeElement!==r.applyButton&&document.activeElement!==r.cancelButton&&r.scrollColumn(r.activeColumn,t.scrollDownValue);break;case 9:document.activeElement===r.applyButton||document.activeElement===r.cancelButton?(c=void 0,document.activeElement!==r.cancelButton||e.shiftKey||(c=r.firstCycleColumn),document.activeElement===r.applyButton&&e.shiftKey&&(c=r.lastCycleColumn),!c||(n.preventDefault(e),r.setFocus(c))):(a=(a=e.shiftKey?r.activeColumn.previousElementSibling:r.activeColumn.nextElementSibling)&&a.nextElementSibling&&!n.hasClass(a.nextElementSibling,"glyph-accept")?a:null)?r.activeColumn=a:(n.preventDefault(e),e.shiftKey?r.cancelButton.focus():r.applyButton.focus())}else 13===i&&(n.preventDefault(e),r.openPicker(s))},r.handleMouseClick=function(e){var i,s=n.getEventTargetOrSrcElement(e);if(r.lastClickedElement=s,!r.pickerIsOpen)return-1===r.columnTriggerButtons.indexOf(s)&&(s=r.columnTriggerButtons[0]),void r.openPicker(s);if("LI"===s.nodeName){if(!s.parentElement||!s.parentElement.parentElement)return;var o=s.parentElement.parentElement,a=o.getAttribute(t.dateTimePickerDataAttribute),l=s.getAttribute(t.ariaLabel);"ampm"===a?r.selectAmPm(l):(i=s.parentElement,r.buildSelector(i,a,l),r.recalculateDaysInMonth(i),r.setFocus(o))}},r.handleOutsideClick=function(e){var t=n.getEventTargetOrSrcElement(e);n.isDescendant(r.element,t)||r.lastClickedElement===t||(r.updatePicker(),r.closePicker())},r.handleApplyClicked=function(e){e=n.getEvent(e),n.stopPropagation(e),r.updatePicker(),r.closePicker()},r.handleCancelClicked=function(e){e=n.getEvent(e),n.stopPropagation(e),r.closePicker()},r.handleScrollButtons=function(e){e=n.getEvent(e),n.stopPropagation(e);var i=n.getEventTargetOrSrcElement(e),s=i.parentElement,o=i.getAttribute(t.dateTimePickerDataAttribute);if("mouseenter"!==e.type)return"mouseleave"===e.type?(clearTimeout(r.scrollDelay),clearInterval(r.scrollInterval),r.scrollInterval=null,void r.recalculateDaysInMonth(i)):void(null!==o&&r.scrollColumn(s,o));r.scrollDelay=setTimeout((function(){r.scrollInterval=null,clearTimeout(r.scrollDelay),r.scrollDelay=null,r.scrollInterval=setInterval((function(){r.scrollC
2olumn(s,o)}),300)}),150)},r.handleMouseScroll=function(e){e=n.getEvent(e),n.preventDefault(e);var i=(e.deltaY||e.wheelDelta||-e.detail)>=0?t.scrollDownValue:t.scrollUpValue;r.scrollColumn(e.currentTarget,i)},r.scrollColumn=function(e,i){if(null!==e){r.ignoreNextDOMChange=!0;var s,o=n.selectFirstElement("ul li",e),a=n.selectFirstElement("ul",e),l=e.getAttribute(t.dateTimePickerDataAttribute);if("ampm"===l)return void(i===t.scrollUpValue?r.selectAmPm(r.amPmSelection[0]):i===t.scrollDownValue&&r.selectAmPm(r.amPmSelection[1]));i===t.scrollUpValue?(s=r.newContent(e,"up"),r.prependChildren(o,s[2]),r.isLastInList(a,s[0],"up",s[1]),r.removeChildren(e,"bottom")):i===t.scrollDownValue&&(r.removeChildren(e,"top"),s=r.newContent(e,"down"),r.appendChildren(a,s[2]),r.isLastInList(a,s[0],"down",s[1])),("month"===l||"year"===l)&&(r.pendingDayRecalc||(r.pendingDayRecalc=!0,setTimeout((function(){r.pendingDayRecalc=!1,r.recalculateDaysInMonth(r.monthColumn)}),0)))}},r.buildSelector=function(e,t,i){var s,o;switch(n.removeInnerHtml(e),s=null===i?r.getDateTimePickerElement(t).getAttribute(r.activeValueStorage):i,t){case"month":o=r.months.indexOf(s),r.buildNodes(o,e,12,!0,!1);break;case"day":r.recalculateDaysInMonth(r.monthColumn,parseInt(s,10));break;case"year":r.buildNodes(parseInt(s,10),e,0,!1,!0);break;case"hour":r.buildNodes(parseInt(s,10),e,12,!1,!1);break;case"minute":case"minute24":r.buildNodes(parseInt(s,10),e,60,!1,!0);break;case"ampm":r.buildAmPm(e);break;case"hour24":r.buildNodes(parseInt(s,10),e,24,!1,!0)}},r.buildNodes=function(e,i,s,o,a){var l,c,u,h=a?s-1:s;for(r.ignoreNextDOMChange=!0,l=e-r.numberOfElementsThatAppearInColumn;l<e+r.numberOfElementsThatAppearInColumn+1;l++)c=void 0,0===l&&a||l===s&&a?c=0:c=l+s*(l<1?1:l>s?-1:0),u=o?r.monthInfo[c].name:c.toString(),r.appendChildren(i,u),l===e?(i.lastElementChild.setAttribute(t.ariaSelected,"true"),i.lastElementChild.setAttribute("tabindex","0")):i.lastElementChild.setAttribute(t.ariaSelected,"false"),i.lastElementChild.setAttribute("role","option"),h===c&&n.addClass(i.lastElementChild,"f-js-last")},r.appendChildren=function(e,t){r.insertChildren(e,t,!0)},r.prependChildren=function(e,t){r.insertChildren(e,t,!1)},r.insertChildren=function(e,i,n){var s=document.createElement("li");s.appendChild(document.createTextNode(i)),s.setAttribute(t.ariaLabel,i),n?e.appendChild(s):e.parentElement.insertBefore(s,e)},r.buildAmPm=function(e){r.appendChildren(e,r.amPmSelection[0]),e.lastElementChild.setAttribute(t.ariaSelected,"true"),e.lastElementChild.setAttribute("tabindex","0"),r.appendChildren(e,r.amPmSelection[1])},r.selectAmPm=function(e){var i,s;e||(e=r.getDateTimePickerElement("ampm").getAttribute(r.activeValueStorage).toUpperCase()),(i=n.selectFirstElement(t.ariaSelectedSelector,r.amPmColumn))&&(i.removeAttribute("tabindex"),i.removeAttribute(t.ariaSelected)),(e===r.amPmSelection[0]?n.removeClass:n.addClass).call(r,r.amPmColumn,"f-js-pm"),(s=n.selectFirstElement('[aria-label="'+e+'"]',r.amPmColumn))&&(s.setAttribute(t.ariaSelected,"true"),s.setAttribute("tabindex","0"),r.setFocus(r.amPmColumn))},r.newContent=function(e,i){var s,o,a,l,c,u,h,d=n.selectFirstElement(t.ariaSelectedSelector,e).getAttribute(t.ariaLabel),p=e.getAttribute(t.dateTimePickerDataAttribute),m=[],g=null,v=null;switch(p){case"month":return r.removeAriaSelected(r.monthColumn),s=r.months.indexOf(d),g=r.nextCurrent(s,i,r.totalMonths,!1),r.setAriaSelected(e,r.months[g]),v=r.stagedElement(r.monthColumn,g,i,r.totalMonths,!1),m[0]=v[1],m[1]=r.totalMonths,m[2]=r.months[v[0]],m;case"day":return(o=n.selectFirstElement(t.ariaSelectedSelector,r.monthColumn))?(a=o.getAttribute(t.ariaLabel))?(l=r.months.indexOf(a),c=r.getDaysInMonth(l),r.removeAriaSelected(r.dayColumn),g=r.nextCurrent(parseInt(d,10),i,c,!1),r.setAriaSelected(e,g.toString()),v=r.stagedElement(r.dayColumn,g,i,c,!1),m[0]=v[1],m[1]=c,m[2]=v[0],m):void 0:void 0;case"year":return r.removeAriaSelected(r.yearColumn),g=r.nextCurrent(parseInt(d,10),i,9999,!0),r.setAriaSelected(e,g.toString()),v=r.stagedElement(r.yearColumn,g,i,9999,!0),m[0]=v[1],m[1]=9999,m[2]=v[0],m;case"hour":case"hour24":return h=(u=p.indexOf("24")>-1)?24:12,r.removeAriaSelected(r.hourColumn),g=r.nextCurrent(parseInt(d,10),i,h,u),r.setAriaSelected(e,g.toString()),v=r.stagedElement(r.hourColumn,g,i,h,u),m[0]=v[1],m[1]=u?23:12,m[2]=v[0],m;case"minute":case"minute24":return r.removeAriaSelected(r.minuteColumn),g=r.nextCurrent(parseInt(d,10),i,60,!0),r.setAriaSelected(e,g.toString()),v=r.stagedElement(r.minuteColumn,g,i,60,!0),m[0]=v[1],m[1]=
259,m[2]=v[0],m}},r.removeAriaSelected=function(e){var i=n.selectFirstElement(t.ariaSelectedSelector,e);i&&(i.removeAttribute("tabindex"),i.removeAttribute(t.ariaSelected))},r.setAriaSelected=function(e,i){var s=n.selectFirstElement('[aria-label="'+i+'"]',e);s&&(s.setAttribute(t.ariaSelected,"true"),s.setAttribute("tabindex","0"),r.setFocus(e))},r.setFocus=function(e){var i=null;return!e||(!(i=n.selectFirstElement(t.ariaSelectedSelector,e))||(i.focus(),r.activeColumn=e)),i},r.nextCurrent=function(e,t,i,n){switch(t){case"up":return n&&e-1==0?0:e-1<=0?n?i-1:i:e-1;case"down":return n&&e+1===i?0:e+1>i?1:e+1}return null},r.stagedElement=function(e,t,i,n,s){var o,a=[];return"down"===i?t+=r.numberOfElementsThatAppearInColumn:"up"===i&&(t-=r.numberOfElementsThatAppearInColumn),!s||0!==t&&t!==n?(o=t<1?1:t>n?-1:0,a[0]=a[1]=t+n*o):(a[0]=0,a[1]=n),a},r.isLastInList=function(e,t,i,s){t===s&&("down"===i?n.addClass(e.lastElementChild,"f-js-last"):"up"===i&&n.addClass(e.firstElementChild,"f-js-last"))},r.removeChildren=function(e,t){var i,s=n.selectElements("li",e);s&&0!==s.length&&("top"===t?s[0].parentNode.removeChild(s[0]):"bottom"===t&&(i=s.length-1,s[0].parentNode.removeChild(s[i])))},r.updatePicker=function(){switch(r.pickerType){case 0:r.updateButton(r.monthColumn,"month"),r.updateButton(r.dayColumn,"day"),r.updateButton(r.yearColumn,"year");break;case 1:r.updateButton(r.hourColumn,"hour"),r.updateButton(r.minuteColumn,"minute"),r.updateButton(r.amPmColumn,"ampm");break;case 2:r.updateButton(r.hourColumn,"hour24"),r.updateButton(r.minuteColumn,"minute24")}var e=r.currentDateTime;r.updateCurrentDateTime(),r.areDatesCloseEnough(r.currentDateTime,e)||r.initiatePublish({oldDateTime:e,newDateTime:r.currentDateTime})},r.updateButton=function(e,i){var o,a,l,c;e&&i&&(o=r.getDateTimePickerElement(i))&&(a=n.selectFirstElement(t.ariaSelectedSelector,e))&&(l=a.getAttribute(t.ariaLabel))&&(n.setText(o,l),o.setAttribute(r.activeValueStorage,l),c=o.getAttribute(t.buttonFormatterAttribute),r.activeValueStorage!==t.activeValueStorageAttribute||!c||o.setAttribute(t.ariaLabel,s.format(c,l)))},r.swipeHandler=function(e){e&&e.target&&(e.direction===a.SwipeDirection.Up||e.direction===a.SwipeDirection.Down)&&r.scrollColumn(e.target,e.direction===a.SwipeDirection.Up?t.scrollUpValue:t.scrollDownValue)},r.update(),r}return i.__extends(t,e),t.prototype.update=function(){var e,i,s,o,r,l,c,u,h,d,p,m,g,v,f,b,y;if(this.element){switch(e=this.element.getAttribute(t.dateTimePickerDataAttribute),this.picker=this.getDateTimePickerElement("date-selector")||this.getDateTimePickerElement("time-selector12")||this.getDateTimePickerElement("time-selector24"),n.preventDefaultSwipeAction(this.picker,!1),this.activeValueStorage=n.selectElements("button["+t.activeValueStorageAttribute+"]",this.element).length?t.activeValueStorageAttribute:t.ariaLabel,e){case"date":if(this.pickerType=0,this.monthColumn=this.getDateTimePickerElement("month","ul"),this.dayColumn=this.getDateTimePickerElement("day","ul"),this.yearColumn=this.getDateTimePickerElement("year","ul"),!(i=this.monthColumn.getAttribute("data-months")))return;if(s=this.days.length,this.months=i.split(","),this.months.splice(0,0,""),this.months.length!==s)return;for(this.totalMonths=this.months.length-1,this.monthInfo=new Array(s),o=0;o<=this.totalMonths;o++)this.monthInfo[o]={name:this.months[o],days:this.days[o]};this.buildSelector(this.yearColumn,"year",null),this.buildSelector(this.monthColumn,"month",null),this.buildSelector(this.dayColumn,"day",null),this.firstCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="month"]',this.picker),this.lastCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="year"]',this.picker),this.swipe=new a.Swipe([this.monthColumn.parentElement,this.dayColumn.parentElement,this.yearColumn.parentElement],{move:this.swipeHandler},a.SwipeOrientation.Vertical);break;case"time":case"time24":this.pickerType=e.indexOf("24")<0?1:2;var C="hour",E="minute";2===this.pickerType?("24",C+="24",E+="24",this.firstCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="hour24"]',this.picker),this.lastCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="minute24"]',this.picker)):("12",this.amPmColumn=this.getDateTimePickerElement("ampm","ul"),this.firstCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="hour"]',this.picker),this.lastCycleColumn=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="ampm"]',this.picker)),this.hourColumn=this.getDateTimePickerElement(C,"ul"),this.minuteColumn=this.getDateTimePickerElement(E,"ul"),!this.amPmColumn||(!(r=this.amPmColumn.getAttribute("data-meridiem"))||2!==r.split("&").length||(this.amPmSelection=r.split("&"))),this.buildSelector(this.hourColumn,C,null),this.buildSelector(this.minuteColumn,E,null),1===this.pickerType&&this.buildAmPm(this.amPmColumn),this.swipe=new a.Swipe([this.hourColumn.parentElement,this.minuteColumn.parentElement],{move:this.swipeHandler},a.SwipeOrientation.Vertical)}if(this.activeValueStorage===t.activeValueStorageAttribute)for(l=0,c=n.selectElements("li",this.picker);l<c.length;l++)!(h=(u=c[l]).getAttribute(t.ariaLabel))||u.setAttribute(t.activeValueStorageAttribute,h);for(this.cancelButton=this.getDateTimePickerElement("cancel"),this.applyButton=this.getDateTimePickerElement("apply"),this.scrollButtons=[],this.columnTriggerButtons=[],p=0,m=(d=this.element.children).length-1;p<m;p++)(g=d.item(p)).nodeType===Node.ELEMENT_NODE&&"BUTTON"===g.nodeName&&this.columnTriggerButtons.push(g);for(this.columns=n.selectElements("div["+t.dateTimePickerDataAttribute+"]",this.picker),v=0,f=this.columns;v<f.length;v++)b=f[v],2===(y=n.selectElements("button",b)).length&&(y[0].setAttribute(t.dateTimePickerDataAttribute,t.scrollUpValue),y[1].setAttribute(t.dateTimePickerDataAttribute,t.scrollDownValue),this.scrollButtons.push(y[0],y[1]));this.updateCurrentDateTime(),n.addEvent(this.applyButton,n.eventTypes.click,this.handleApplyClicked),n.addEvent(this.cancelButton,n.eventTypes.click,this.handleCancelClicked),n.addEvents(this.scrollButtons,"mouseenter mouseleave",this.handleScrollButtons),n.addEvent(this.element,n.eventTypes.keydown,this.handleKeyDown),n.addEvent(this.element,n.eventTypes.click,this.handleMouseClick)}},t.prototype.teardown=function(){n.removeEvent(this.applyButton,n.eventTypes.click,this.handleApplyClicked),n.removeEvent(this.cancelButton,n.eventTypes.click,this.handleCancelClicked),n.removeEvents(this.scrollButtons,"mouseenter mouseleave",this.handleScrollButtons),n.removeEvent(this.element,n.eventTypes.keydown,this.handleKeyDown),n.removeEvent(this.element,n.eventTypes.click,this.handleMouseClick),n.removeEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll),this.swipe&&this.swipe.tearDown()},t.prototype.getDate=function(){return this.currentDateTime},t.prototype.openPicker=function(e){var i,s,o;for(this.pickerIsOpen=!0,i=n.selectFirstElement("["+t.dateTimePickerDataAttribute+'="'+e.getAttribute(t.dateTimePickerDataAttribute)+'"]',this.picker),0===this.pickerType?(this.buildSelector(this.yearColumn,"year",null),this.buildSelector(this.monthColumn,"month",null),this.buildSelector(this.dayColumn,"day",null)):1===this.pickerType?(this.buildSelector(this.hourColumn,"hour",null),this.buildSelector(this.minuteColumn,"minute",null),this.selectAmPm(null)):2===this.pickerType&&(this.buildSelector(this.hourColumn,"hour24",null),this.buildSelector(this.minuteColumn,"minute24",null)),this.picker.setAttribute(t.ariaHidden,"false"),s=0,o=this.columnTriggerButtons.length;s<o;s++)this.columnTriggerButtons[s].setAttribute(t.ariaExpanded,"true");this.setFocus(i),n.addEvent(window,n.eventTypes.mousedown,this.handleOutsideClick),n.addEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll)},t.prototype.closePicker=function(){var e,i,s;for(this.pickerIsOpen=!1,this.picker.setAttribute(t.ariaHidden,"true"),e=0,i=this.columnTriggerButtons.length;e<i;e++)this.columnTriggerButtons[e].setAttribute(t.ariaExpanded,"false");n.removeEvent(window,n.eventTypes.mousedown,this.handleOutsideClick),n.removeEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll),(s=this.columns.indexOf(this.activeColumn))>=0&&s<this.columnTriggerButtons.length&&this.columnTriggerButtons[s].focus()},t.prototype.getDateTimePickerElement=function(e,t){var i=s.isNullOrWhiteSpace(t)?"":" "+t;return s.isNullOrWhiteSpace(e)?null:n.selectFirstElement('[data-date-time-picker="'+e+'"] '+i,this.element)},t.prototype.getDaysInMonth=function(e,i){var s,o,r;if(void 0===i&&(i=NaN),e<0||e>=this.monthInfo.length)return NaN;if(s=this.monthInfo[e].days||NaN,!isNaN(s)&&28===s){if(isNaN(i)){if(!(o=n.selectFirstElement(t.ariaSelectedSelector,this.yearColumn)))return NaN;if(!(r=o.getAttribute(t.ariaLabel)))return NaN;if(i=parseInt(r,10),isNaN(i))return NaN}1===new Date(i,1,29).getMonth()&&(s=29)}return s},t.prototype.areDatesCloseEnough=function(e,i){return Math.abs(e.getTime()-i.getTime())<=t.changeThreshold},t.prototype.updateCurrentDateTime=function(){var e;switch(this.pickerType){case 0:var i=(d=n.selectFirstElement('[data-date-time-picker="date-selector"]',this.element))?n.selectFirstElement('[data-date-time-picker="month"]',d):null,s=d?n.selectFirstElement('[data-date-time-picker="day"]',d):null,o=d?n.selectFirstElement('[data-date-time-picker="year"]',d):null,r=i?n.selectFirstElement(t.ariaSelectedSelector,i):null,a=s?n.selectFirstElement(t.ariaSelectedSelector,s):null,l=o?n.selectFirstElement(t.ariaSelectedSelector,o):null,c=parseInt(n.getText(l),10)||-1,u=this.months.indexOf(n.getText(r))||-1,h=parseInt(n.getText(a),10)||-1;-1!==c&&u>0&&-1!==h&&(this.currentDateTime=new Date(c,u-1,h));break;case 1:case 2:var d,p=(d=n.selectFirstElement('[data-date-time-picker^="time-selector"]',this.element))?n.selectFirstElement('[data-date-time-picker^="hour"]',d):null,m=d?n.selectFirstElement('[data-date-time-picker^="minute"]',d):null,g=d?n.selectFirstElement('[data-date-time-picker="ampm"]',d):null,v=p?n.selectFirstElement(t.ariaSelectedSelector,p):null,f=m?n.selectFirstElement(t.ariaSelectedSelector,m):null,b=g?n.selectFirstElement(t.ariaSelectedSelector,g):null,y=parseInt(n.getText(v),10),C=parseInt(n.getText(f),10);isNaN(y)||isNaN(C)||((e=n.getText(b)===this.amPmSelection[1])&&y<12?y+=12:b&&!e&&12===y&&(y=0),this.currentDateTime=new Date,this.currentDateTime.setSeconds(0),this.currentDateTime.setMinutes(C),this.currentDateTime.setHours(y))}},t.prototype.publish=function(e,t){e&&e.onDateTimeChanged&&e.onDateTimeChanged(t)},t.prototype.recalculateDaysInMonth=function(e,i){var s,o,r,a,l,c,u,h;if(void 0===i&&(i=0),(s=e?e.parentElement.getAttribute(t.dateTimePickerDataAttribute):null)&&("month"===s||"year"===s)){if(!i){if(o=this.getDateTimePickerElement("day").getAttribute(this.activeValueStorage),(r=n.selectFirstElement(t.ariaSelectedSelector,this.dayColumn))&&(o=r.getAttribute(t.ariaLabel)),!o)return;i=parseInt(o,10)}i&&(a=n.selectFirstElement(t.ariaSelectedSelector,this.monthColumn))&&(l=a.getAttribute(t.ariaLabel))&&(c=this.months.indexOf(l),this.monthInfo[c])&&(u=this.getDaysInMonth(c),isNaN(u)||(n.removeInnerHtml(this.dayColumn),h=i>u?u:i,this.buildNodes(h,this.dayColumn,u,!1,!1)))}},t.selector=".c-date-time-picker",t.typeName="DateTimePicker",t.changeThreshold=1e3,t.scrollUpValue="scrollUp",t.scrollDownValue="scrollDown",t.buttonFormatterAttribute="data-formatter-aria-label",t.activeValueStorageAttribute="data-active-value",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.ariaHidden="aria-hidden",t.ariaExpanded="aria-expanded",t.dateTimePickerDataAttribute="data-date-time-picker",t.ariaSelectedSelector="["+t.ariaSelected+'="true"]',t}(r.Publisher);t.DateTimePicker=l}.apply(t,n),void 0===s||(e.exports=s)},deviceActions:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("breakpointTracker")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esMo
2dule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,n,r=this;if(this.element&&(this.buttons=s.selectElements(t.buttonsSelector,this.element),this.buttonContainers=s.selectElements(t.buttonsContainerSelector,this.element),this.buttons&&this.buttonContainers&&!(this.buttons.length<1)&&!(this.buttonContainers.length<1))){for(this.buttonsLength=this.buttons.length,e=0;e<this.buttonsLength;e++)i=s.getClientRect(this.buttonContainers[e]).width,(!this.resizedContainerWidth||i>this.resizedContainerWidth)&&(this.resizedContainerWidth=i),n=s.getClientRect(this.buttons[e]).width,(!this.resizedButtonWidth||n>this.resizedButtonWidth)&&(this.resizedButtonWidth=n);this.updateWidths(),o.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(e){r.onBreakpointChanged(e)}})}},t.prototype.updateWidths=function(){for(var e=0;e<this.buttonsLength;e++)this.buttons[e].style.width=this.resizedButtonWidth+"px",this.buttonContainers[e].style.width=this.resizedContainerWidth+"px"},t.prototype.onBreakpointChanged=function(e){if(e.breakpoint>1)this.updateWidths();else for(var t=0;t<this.buttonsLength;t++)s.css(this.buttons[t],"width",""),s.css(this.buttonContainers[t],"width","");this.ignoreNextDOMChange=!0},t.prototype.teardown=function(){this.resizedButtonWidth=null,this.resizedContainerWidth=null},t.selector=".m-device-actions",t.typeName="DeviceActions",t.buttonsSelector=".c-button",t.buttonsContainerSelector=".f-button",t}(n.ObservableComponent);t.DeviceActions=r}.apply(t,n),void 0===s||(e.exports=s)},dialog:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(i){var n=e.call(this,i)||this;return n.shouldCloseOnEscape=!0,n.isFlowDialog=!1,n.isLightboxDialog=!1,n.pageContentContainers=[],n.handleFakeElementFocus=function(){n.firstInput.focus()},n.handleTriggerClick=function(e){n.activeButton=s.getEventTargetOrSrcElement(e),n.show()},n.handleTriggerKeyDown=function(e){var t=e.keyCode;(13===t||32===t)&&(s.preventDefault(e),n.activeButton=s.getEventTargetOrSrcElement(e),n.show())},n.show=function(){var e,i,o,r,a,l=s.selectElements(t.pageContentContainerSelector);for(n.pageContentContainers=[],n.element.setAttribute(t.ariaHidden,"false"),n.dialogWrapper.tabIndex=0,n.firstInput&&n.firstInput.focus(),n.onResized(),n.bodyOverflowX=s.css(document.body,"overflow-x"),n.bodyOverflowY=s.css(document.body,"overflow-y"),s.css(document.body,"overflow-x","hidden"),s.css(document.body,"overflow-y","hidden"),n.container.setAttribute(t.ariaHidden,"true"),n.checkOverflow(),e=0,i=l;e<i.length;e++)r=!("true"!==(o=i[e]).getAttribute(t.ariaHidden)),n.pageContentContainers.push({element:o,hidden:r}),r||o.setAttribute(t.ariaHidden,"true");n.dialogWrapper.scrollTop=0,(a=document.querySelector("#footerArea"))&&a.setAttribute("aria-hidden","true"),n.initiatePublish({notification:1})},n.hide=function(){var e,i,o,r,a="true"===n.element.getAttribute(t.ariaHidden);if(n.element.setAttribute(t.ariaHidden,"true"),s.css(n.dialogWrapper,"height","auto"),s.css(document.body,"overflow-x",n.bodyOverflowX),s.css(document.body,"overflow-y",n.bodyOverflowY),n.container.setAttribute(t.ariaHidden,"false"),n.dialogWrapper.setAttribute("tabindex","-1"),n.pageContentContainers&&n.pageContentContainers.length)for(e=0,i=n.pageContentContainers;e<i.length;e++)(o=i[e]).hidden||o.element.removeAttribute(t.ariaHidden);!a&&n.activeButton&&n.activeButton.focus(),n.activeButton=null,n.pageContentContainers=[],(r=document.querySelector("#footerArea"))&&r.removeAttribute("aria-hidden"),a||n.initiatePublish({notification:2})},n.triggerClickPublish=function(e){n.initiatePublish({notification:0,button:s.getEventTargetOrSrcElement(e)})},n.onKeydown=function(e){switch(o.getKeyCode(e)){case 13:case 32:-1!==n.closeButtons.indexOf(s.getEventTargetOrSrcElement(e))?(s.preventDefault(e),n.hide()):-1!==n.customButtons.indexOf(s.getEventTargetOrSrcElement(e))&&n.initiatePublish({notification:0,button:s.getEventTargetOrSrcElement(e)});break;case 27:s.preventDefault(e),n.shouldCloseOnEscape&&n.hide();break;case 9:var t=s.getEventTargetOrSrcElement(e),i=n.getLastFocusableInput();i&&t===i&&!e.shiftKey?(s.preventDefault(e),n.firstInput&&(n.firstInput.focus(),!0)):n.firstInput&&t===n.firstInput&&e.shiftKey?(s.preventDefault(e),i&&(i.focus(),!0)):n.dialogWrapper&&n.firstInput&&n.firstInput!==n.dialogWrapper&&(t!==n.dialogWrapper||e.shiftKey||(s.preventDefault(e),n.firstInput&&(n.firstInput.focus(),!0)),t===n.dialogWrapper&&e.shiftKey&&(s.preventDefault(e),i&&i.focus()));break;case 40:n.onKeypressScroll("down");break;case 38:n.onKeypressScroll("up")}},n.onKeypressScroll=function(e){var i,s=200;"up"===e&&(s=-200),(i=document.getElementById(n.dialogId).querySelector(t.scrollSelector))&&i.scrollBy(0,s)},n.onResized=function(){n.checkOverflow(),n.handleResponsive()},n.checkOverflow=function(){s.getClientRect(n.dialogWrapper).height<n.dialogWrapper.scrollHeight?n.isScroll||s.css(n.dialogWrapper,"overflow-y","auto"):s.css(n.dialogWrapper,"overflow-y","hidden")},n.handleResponsive=function(){if("false"===n.element.getAttribute(t.ariaHidden)){var e=s.getClientRect(n.dialogWrapper);n.isFlowDialog&&!n.isScroll?e.height<n.dialogWrapper.scrollHeight?(s.css(n.dialogWrapper,"max-height",t.height
2CalculationString),s.css(n.dialogWrapper,"height","100%")):s.css(n.dialogWrapper,"max-height","100%"):n.isScroll&&(e.height+t.heightCalculationValue>window.innerHeight&&"inherit"!==s.css(n.dialogInnerContent,"height")?(s.css(n.dialogWrapper,"height",t.heightCalculationString),s.css(n.dialogInnerContent,"height","inherit")):"auto"!==s.css(n.dialogInnerContent,"height")&&(s.css(n.dialogWrapper,"height","auto"),(e=s.getClientRect(n.dialogWrapper)).height+t.heightCalculationValue<window.innerHeight?(s.css(n.dialogInnerContent,"height","auto"),n.element.setAttribute(t.ariaHidden,"true"),n.element.setAttribute(t.ariaHidden,"false"),n.checkOverflow()):s.css(n.dialogWrapper,"height",t.heightCalculationString)))}},n.appendDialog=function(){n.ignoreNextDOMChange=!0,n.element&&n.element.parentElement!==document.body&&document.body.appendChild(n.element)},n.getLastFocusableInput=function(){if(!n.dialogInputs||0===n.dialogInputs.length)return null;for(var e=n.dialogInputs.length-1;e>=0;e--)if(!n.dialogInputs[e].hidden&&"disabled"!==n.dialogInputs[e].getAttribute("disabled"))return n.dialogInputs[e];return n.dialogWrapper},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e,i;if(this.element&&this.element.id&&(this.dialogId=this.element.id,this.dialogWrapper=s.selectFirstElement("div[role=dialog]",this.element),this.dialogInnerContent=s.selectFirstElement('[role="document"]',this.element),this.openButtons=s.selectElements("[data-js-dialog-show="+this.dialogId+"]"),this.closeButtons=s.selectElements(t.closeSelector,this.element),this.dialogInputs=s.selectElements(t.dialogInputSelectors,this.element),this.customButtons=s.selectElements(t.customButtonSelector,this.element),this.appendDialog(),this.container=s.selectFirstElement('[data-grid*="container"]'),this.overlay=s.selectFirstElement('[role="presentation"]',this.element),this.isScroll=s.selectFirstElement(t.scrollSelector,this.element),s.hasClass(this.element,"f-flow")&&(this.isFlowDialog=!0),s.hasClass(this.element,"f-lightbox")&&(this.isLightboxDialog=!0),this.dialogWrapper&&this.dialogInputs&&this.dialogInputs.length&&this.container&&this.overlay)){if(this.isLightboxDialog)-1===this.closeButtons.indexOf(this.overlay)&&this.closeButtons.push(this.overlay),this.dialogWrapper.removeAttribute("tabIndex"),this.dialogInputs.splice(1,0,this.dialogWrapper),this.shouldCloseOnEscape=!0;else if(this.isFlowDialog){for(e=0;e<this.closeButtons.length;e++)if(i=this.closeButtons[e],s.hasClass(i,"c-glyph")&&s.hasClass(i,"glyph-cancel")){this.closeButtons.push(this.overlay),this.shouldCloseOnEscape=!0;break}this.dialogInputs.splice(0,0,this.dialogWrapper)}this.firstInput=this.dialogInputs[0],"IFRAME"===this.getLastFocusableInput().tagName&&this.addFakeLastElement(),s.addEvent(this.openButtons,s.eventTypes.click,this.handleTriggerClick),s.addEvent(this.openButtons,s.eventTypes.keydown,this.handleTriggerKeyDown),s.addEvent(this.closeButtons,s.eventTypes.click,this.hide),s.addEvent(this.customButtons,s.eventTypes.click,this.triggerClickPublish),s.addEvent(this.element,s.eventTypes.keydown,this.onKeydown),this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.onResized),"false"===this.element.getAttribute(t.ariaHidden)&&this.onResized()}},t.prototype.teardown=function(){s.removeEvent(this.openButtons,s.eventTypes.click,this.handleTriggerClick),s.removeEvent(this.openButtons,s.eventTypes.keydown,this.handleTriggerKeyDown),s.removeEvent(this.closeButtons,s.eventTypes.click,this.hide),s.removeEvent(this.customButtons,s.eventTypes.click,this.triggerClickPublish),s.removeEvent(this.element,s.eventTypes.keydown,this.onKeydown),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEventHandler)},t.prototype.publish=function(e,t){switch(t.notification){case 0:e&&e.onButtonClicked&&e.onButtonClicked(t);break;case 1:e&&e.onShown&&e.onShown();break;case 2:e&&e.onHidden&&e.onHidden()}},t.prototype.addFakeLastElement=function(){var e=document.createElement("div");e.setAttribute("tabindex","0"),s.addEvent(e,s.eventTypes.focusin,this.handleFakeElementFocus),this.dialogWrapper.appendChild(e)},t.selector=".c-dialog",t.typeName="Dialog",t.dialogInputSelectors="select, input, textarea, button, a, .c-glyph[data-js-dialog-hide], iframe",t.closeSelector="[data-js-dialog-hide]",t.customButtonSelector='button[type="button"]',t.ariaHidden="aria-hidden",t.scrollSelector=".f-dialog-scroll",t.height
2CalculationValue=24,t.heightCalculationString="calc(100% - "+t.heightCalculationValue.toString()+"px)",t.pageContentContainerSelector='[data-js-controlledby="dialog"]',t}(n.Publisher);t.Dialog=r}.apply(t,n),void 0===s||(e.exports=s)},drawer:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("breakpointTracker"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i){var n=e.call(this,i)||this;return n.getCollapseBreakpoint=function(){switch(n.element.getAttribute(t.dataCollapseAttribute).toLowerCase()){case"vp3":n.collapseBreakpoint=2;break;case"vp2":n.collapseBreakpoint=1;break;case"vp1":n.collapseBreakpoint=0}},n.toggleDrawer=function(){n.inactive||(n.isExpanded()?n.collapseDrawer():n.expandDrawer())},n.onTriggerKeyPress=function(e){switch(e=o.getEvent(e),r.getKeyCode(e)){case 13:case 32:o.preventDefault(e),n.toggleDrawer()}},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e,i,n=this;this.element&&(this.drawerToggleButton=o.selectFirstElement("button[aria-controls]",this.element)||o.selectFirstElement("span[aria-controls]",this.element)||o.selectFirstElement(".c-drawer-toggle",this.element),this.drawerToggleButton)&&(this.drawerToggleButton.nodeName!==t.spanString&&this.isMarkupOldShape(this.drawerToggleButton)&&!this.spanElement&&this.createSpanWithinButtonElement(),e=this.drawerToggleButton.getAttribute("aria-controls"),this.drawerContainer=o.selectFirstElement("#"+e,this.element),this.inactive=o.hasClass(this.element,"f-inactive"),o.addEvent(this.drawerToggleButton,o.eventTypes.keydown,this.onTriggerKeyPress),this.drawerContainer)&&(o.hasClass(this.element,t.deprecatedResponsiveString)&&(this.element.setAttribute(t.dataCollapseAttribute,"vp1"),o.removeClass(this.element,t.deprecatedResponsiveString),o.hasClass(this.element,"f-remove-divider")||o.addClass(this.element,"f-divider")),o.hasClass(this.element,"m-amc-placement")&&this.element.setAttribute(t.dataCollapseAttribute,"vp1"),this.isExpanded()?this.changeDrawerState(0):(this.drawerContainer.setAttribute(t.hiddenString,""),this.changeDrawerState(1)),i=s.BreakpointTracker.getBreakpointTracker(),!this.element.getAttribute(t.dataCollapseAttribute)||(this.getCollapseBreakpoint(),i.subscribe({onBreakpointChanged:function(e){n.onBreakpointChanged(e)}})),o.addEvent(this.drawerToggleButton,o.eventTypes.click,this.toggleDrawer),this.onBreakpointChanged({breakpoint:i.getBreakpoint(),width:0}))},t.prototype.createSpanWithinButtonElement=function(){this.spanElement=document.createElement(t.spanString),this.spanElement.classList.add("c-glyph","chevron"),this.drawerToggleButton.appendChild(this.spanElement)},t.prototype.isMarkupOldShape=function(e){return!(e.firstElementChild&&e.firstElementChild.nodeName===t.spanString.toUpperCase())},t.prototype.teardown=function(){o.removeEvent(this.drawerToggleButton,o.eventTypes.click,this.toggleDrawer)},t.prototype.publish=function(e,t){e.onExpandedChanged(t)},t.prototype.onBreakpointChanged=function(e){this.element.getAttribute(t.dataCollapseAttribute)&&this.updateResponsiveDrawer(e.breakpoint)},t.prototype.changeDrawerState=function(e){var i,n,s=0===e;this.drawerToggleButton.setAttribute(t.ariaExpanded,s?t.trueString:"false"),i=this.drawerToggleButton.getAttribute(t.localizedExpandedLabel),n=this.drawerToggleButton.getAttribute(t.localizedCollapsedLabel),i&&n&&(s?this.drawerToggleButton.setAttribute(t.ariaLabelAttribute,i):this.drawerToggleButton.setAttribute(t.ariaLabelAttribute,n)),this.drawerContainer.style.display=s?"block":"none",this.drawerContainer.style.height=s?"auto":"0",this.drawerContainer.style.overflow=s?"visible":t.hiddenString,this.initiatePublish({isExpanded:s})},t.prototype.collapseDrawer=function(){var e,i;this.drawerContainer.setAttribute(t.hiddenString,""),this.changeDrawerState(1),(e=this.drawerToggleButton.getAttribute(t.dataDrawerExpandAttribute))&&((i=this.drawerToggleButton.getElementsByClassName(t.drawerTextControlAttribute)[0])&&(i.innerText=e))},t.prototype.expandDrawer=function(){var e,i;this.drawerContainer.removeAttribute(t.hiddenString),this.changeDrawerState(0),(e=this.drawerToggleButton.getAttribute(t.dataDrawerCollapseAttribute))&&((i=this.drawerToggleButton.getElementsByClassName(t.drawerTextControlAttribute)[0])&&(i.innerText=e))},t.prototype.activateDrawer=function(){this.inactive=!1,o.removeClass(this.element,"f-inactive"),this.drawerToggleButton.setAttribute("aria-disabled","false"),this.expandDrawer()},t.prototype.isExpanded=function(){return this.drawerToggleButton.getAttribute(t.ariaExpanded)===t.trueString},t.prototype.updateResponsiveDrawer=function(e){e>this.collapseBreakpoint?(this.drawerToggleButton.setAttribute(t.disabledString,t.disabledString),o.addClass(this.element,"f-show"),this.expandDrawer()):(this.drawerToggleButton.removeAttribute(t.disabledString),o.removeClass(this.element,"f-show"),this.collapseDrawer())},t.selector=".c-drawer",t.typeName="Drawer",t.ariaExpanded="aria-expanded",t.disabledString="disabled",t.hiddenString="hidden",t.trueString="true",t.deprecatedResponsiveString="f
2-responsive",t.spanString="span",t.dataCollapseAttribute="data-js-collapse",t.dataDrawerExpandAttribute="data-drawer-expand",t.dataDrawerCollapseAttribute="data-drawer-collapse",t.drawerTextControlAttribute="c-drawer-text-control",t.drawerTextControlContainerAttribute="c-drawer-text-control-container",t.ariaLabelAttribute="aria-label",t.localizedCollapsedLabel="data-collapsed-label",t.localizedExpandedLabel="data-expanded-label",t}(n.Publisher);t.Drawer=a}.apply(t,n),void 0===s||(e.exports=s)},expansionPanel:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("componentFactory"),i("observableComponent"),i("actionToggle")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i,s){void 0===s&&(s=null);var o=e.call(this,i,s)||this;return o.collapsiblePaneModule=i,o.params=s,o.initialHeightOfPane=0,o.onActionToggled=function(e){e&&(e.toggled?o.openPane():o.closePane())},o.handleWindowResize=function(){if(o.isExpanded)o.openPane(null,!0);else if(o.rowsToShow){var e=o.getTotalRowsTakenByElement(o.listGroupContainer);o.rowsToShow&&e<=o.rowsToShow?o.showToggleButton(!1):o.showToggleButton(!0),o.openDrawerToShowRows(Math.min(o.rowsToShow,e),!0)}},o.setLastFocusableElement=function(e){var i,s,r,a;if(e){for(i=void 0,s=0;s<e.children.length;s++)r=e.children[s],n.hasClass(r,"f-last-visible-node")&&n.removeClass(r,"f-last-visible-node"),n.hasClass(r,"f-last-focus-node")&&n.removeClass(r,"f-last-focus-node"),a=n.selectElements(t.focusableSelectors,r),o.isVisible(r)&&a?(a.forEach((function(e){var t=e.getAttribute("data-previous-tab-index");t?e.setAttribute("tabindex",t):e.setAttribute("tabindex","0")})),i=r):a.forEach((function(e){e.setAttribute("tabindex","-1")}));n.addClass(i,"f-last-visible-node")}},o.getTotalRowsTakenByElement=function(e){var t,i,n=0;return e&&((t=e.firstElementChild)&&((i=Math.floor(e.offsetWidth/t.offsetWidth))>0&&(n=Math.max(Math.ceil(e.children.length/i),1)))),n},o.update(),setTimeout((function(){var e=n.selectFirstElement(t.listItemGroupSelector,o.collapsiblePane);o.setLastFocusableElement(e)}),t.timeOutToSetFocus),o}return i.__extends(t,e),t.prototype.update=function(){var e,i,o=this;return this.collapsiblePane=n.selectFirstElement(t.collapsiblePaneSelector,this.collapsiblePaneModule),this.actionToggleButton=n.selectFirstElement(t.toggleButtonSelector,this.collapsiblePaneModule),e=n.selectFirstElement(r.ActionToggle.selector,this.collapsiblePaneModule),!(!this.collapsiblePane||!e)&&(this.listGroupContainer=n.selectFirstElement(t.listItemGroupSelector,this.collapsiblePane),s.ComponentFactory.create([{component:r.ActionToggle,elements:[e],callback:function(e){e&&e.length&&e[0]&&(o.toggleButton=e[0],o.toggleButton.subscribe(o),n.hasClass(o.collapsiblePaneModule,t.toggleSelector)&&o.openPane())},eventToBind:"DOMContentLoaded"}]),this.dataRowsAttibuteValue=this.collapsiblePane.getAttribute(t.rowsToShowAttributeSelector),this.dataRowsAttibuteValue?(this.setPreviousTabIndexes(this.listGroupContainer),this.rowsToShow=Math.max(0,parseInt(this.dataRowsAttibuteValue,10)||0),i=this.getTotalRowsTakenByElement(this.listGroupContainer),this.rowsToShow&&i>this.rowsToShow&&this.showToggleButton(!0),this.openDrawerToShowRows(Math.min(this.rowsToShow,i))):(n.hasClass(this.collapsiblePaneModule,t.toggleSelector)||n.css(this.collapsiblePane,"display","none"),this.showToggleButton(!0)),n.addThrottledEvent(window,n.eventTypes.resize,this.handleWindowResize),!0)},t.prototype.teardown=function(){this.collapsiblePaneModule=null,this.collapsiblePane=null,this.toggleButton&&this.toggleButton.unsubscribe(this),this.toggleButton=null,n.removeEvent(window,n.eventTypes.resize,this.handleWindowResize)},t.prototype.openPane=function(e,i){var s,o,r=this;void 0===e&&(e=null),void 0===i&&(i=!1),e?(s=e+"px",n.css(this.collapsiblePane,"max-height",s),n.css(this.collapsiblePane,"height",s),this.isExpanded=!1):(n.css(this.collapsiblePane,"display","block"),n.css(this.collapsiblePane,"max-height",this.collapsiblePane.scrollHeight+"px"),n.css(this.collapsiblePane,"height","auto"),this.isExpanded=!0),(
2o=n.selectFirstElement(".f-last-visible-node",this.listGroupContainer))&&n.addClass(o,"f-last-focus-node"),this.resizeTriggeredEvent=i,setTimeout((function(){var e,i=n.selectFirstElement(t.listItemGroupSelector,r.collapsiblePane);r.collapsiblePaneModule.contains(document.activeElement)&&((e=n.selectFirstElement(t.focusableItemSelectorsInListItemGroup,r.collapsiblePaneModule))&&!r.resizeTriggeredEvent&&e.focus(),r.setLastFocusableElement(i))}),t.timeOutToSetFocus)},t.prototype.closePane=function(){var e=this;n.css(this.collapsiblePane,"max-height",this.initialHeightOfPane+"px"),this.isExpanded=!1,setTimeout((function(){var i=n.selectFirstElement(t.listItemGroupSelector,e.collapsiblePane);0===e.initialHeightOfPane&&n.css(e.collapsiblePane,"display","none"),e.setLastFocusableElement(i)}),t.timeOutToSetFocus)},t.prototype.openDrawerToShowRows=function(e,t){if(void 0===t&&(t=!1),e&&this.listGroupContainer&&this.listGroupContainer.firstElementChild){var i=this.listGroupContainer.firstElementChild,s=i.offsetHeight;s>0&&(this.initialHeightOfPane=s*e+(parseInt(n.css(this.listGroupContainer,"margin-top"),10)||0)+2*(parseInt(n.css(i,"margin-top"),10)||0)+2*(parseInt(n.css(i,"margin-bottom"),10)||0),this.openPane(this.initialHeightOfPane,t))}},t.prototype.isVisible=function(e){if(e){var t=e.getBoundingClientRect();if(this.collapsiblePane.getBoundingClientRect().bottom>=t.bottom)return!0}return!1},t.prototype.setPreviousTabIndexes=function(e){var i,s,o;if(e)for(i=0;i<e.children.length;i++)s=e.children[i],(o=n.selectElements(t.focusableSelectors,s))&&o.length>0&&o.forEach((function(e){var i=e.getAttribute("tabindex");i&&e.setAttribute(t.initialTabIndexAttributeString,i)}))},t.prototype.showToggleButton=function(e){n.css(this.actionToggleButton,"display",e?"flex":"none")},t.selector=".m-expansion-panel",t.toggleButtonSelector=".expansion-panel__toggle-button",t.collapsiblePaneSelector=".expansion-panel__pane",t.toggleSelector="f-toggle",t.focusableSelectors="a,button,select,input,textarea",t.rowsToShowAttributeSelector="data-rows-to-show",t.focusableItemSelectorsInListItemGroup=".f-last-focus-node > a, .f-last-focus-node > button",t.listItemGroupSelector=".c-group",t.initialTabIndexAttributeString="data-initial-tabindex",t.timeOutToSetFocus=600,t}(o.ObservableComponent);t.ExpansionPanel=a}.apply(t,n),void 0===s||(e.exports=s)},feedHeroItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],s=function(e,t,i,n){Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.feedHeroItemElement=t,n}return i.__extends(t,e),t.selector=".m-feed-hero-item",t.typeName="FeedHeroItem",t.callToActionSelector="a",t}(n.HeroItemBase);t.FeedHeroItem=s}.apply(t,n),void 0===s||(e.exports=s)},file:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.showFileDialogMenu=function(e){s.preventDefault(e),i.fileInputElement.click()},i.handleFileSelection=function(){i.textInputElement.value=i.fileInputElement.value.replace("C:\\fakepath\\","")},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.fileInputElement=s.selectFirstElement('input[type="file"]',this.element),this.submitButton=s.selectFirstElement("button",this.element),this.textInputElement=s.selectFirstElement('input[type="text"]',this.element),this.fileInputElement&&this.submitButton&&this.textInputElement)&&(s.addEvent(this.fileInputElement,s.eventTypes.change,this.handleFileSelection),s.addEvent(this.submitButton,s.eventTypes.click,this.showFileDialogMenu),s.addEvent(this.textInputElement,s.eventTypes.click,this.showFileDialogMenu))},t.prototype.teardown=function(){s.removeEvent(this.fileInputElement,s.eventTypes.change,this.handleFileSelection),s.removeEvent(this.submitButton,s.eventTypes.click,this.showFileDialogMenu),s.removeEvent(this.textInputElement,s.eventTypes.click,this.show
2FileDialogMenu),this.fileInputElement=null,this.submitButton=null,this.textInputElement=null},t.selector=".c-file",t.typeName="File",t}(n.ObservableComponent);t.File=o}.apply(t,n),void 0===s||(e.exports=s)},flyout:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("viewportCollision"),i("utility")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i){var n=e.call(this,i)||this;return n.element=i,n.toggleFlyout=function(){n.shown?n.hide(!0):n.show(!0)},n.handleFocusOut=function(e){var t=e.relatedTarget||e.srcElement;n.performActionsWhenFlyoutIsOpen(t)},n.onWindowResize=function(){s.hasClass(n.element,"flyout-nohide")||n.hide()},n.handleKeydownWhenFlyoutIsOpen=function(e){var t=r.getKeyCode(e);if(n.shown)switch(t){case 27:n.hide(!0);break;case 196:e.preventDefault(),n.hide(!0)}},n.handleClickWhenFlyoutIsOpen=function(e){var t=e.target||e.srcElement;n.performActionsWhenFlyoutIsOpen(t)},n.performActionsWhenFlyoutIsOpen=function(e){var t=e.parentNode;!1===n.element.contains(e)&&e!==n.openButton&&t!==n.openButton&&n.hide(!0)},n.hide=function(e){void 0===e&&(e=!1),n.shown=!1,n.element.setAttribute(t.AriaHidden,"true"),0===n.dismissalMode&&(s.removeEvent(n.bodyElement,s.eventTypes.click,n.handleClickWhenFlyoutIsOpen),s.removeEvent(n.openButton,s.eventTypes.focusout,n.handleFocusOut),s.removeEvent(n.element,s.eventTypes.focusout,n.handleFocusOut)),e&&n.openButton.focus()},n.show=function(e){void 0===e&&(e=!1),n.shown=!0,n.element.setAttribute(t.AriaHidden,"false"),n.offsetParent=s.getOffsetParent(n.element),3===n.placement?n.placeRight():1===n.placement?n.placeTop():2===n.placement?n.placeLeft():0===n.placement&&n.placeBottom(),!1!==o.collidesWith(n.element)&&(n.placeLeft(),!1!==o.collidesWith(n.element)&&(n.placeRight(),!1!==o.collidesWith(n.element)&&(n.placeBottom(),!1!==o.collidesWith(n.element)&&(n.placeTop(),!1!==o.collidesWith(n.element)&&(n.placeBottomFinal(),!1!==o.collidesWith(n.element)&&n.placeTopFinal()))))),e&&n.element.focus(),0===n.dismissalMode&&(s.addEvent(n.bodyElement,s.eventTypes.click,n.handleClickWhenFlyoutIsOpen),s.addEvent(n.openButton,s.eventTypes.focusout,n.handleFocusOut),s.addEvent(n.element,s.eventTypes.focusout,n.handleFocusOut))},n.placeTopFinal=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.element),i=s.getClientRect(n.openButton),o=i.left-e.left,r=i.top-e.top-t.height-8;s.css(n.element,"left",o+"px"),s.css(n.element,"top",r+"px")},n.placeBottomFinal=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.openButton),i=t.left-e.left,o=t.top-e.top+t.height+8;s.css(n.element,"left",i+"px"),s.css(n.element,"top",o+"px")},n.placeBottom=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.element),i=s.getClientRect(n.openButton),o=function(){var o=n.calculateHorizontalCenter(e,i,t),r=i.top-e.top+i.height+8;s.css(n.element,"left",o+"px"),s.css(n.element,"top",r+"px"),n.element.setAttribute("data-js-flyout-placement","bottom")};o(),t=s.getClientRect(n.element),o()},n.placeLeft=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.element),i=s.getClientRect(n.openButton),o=function(){var o=i.left-e.left-t.width-8,r=n.calculateVerticalCenter(e,i,t);s.css(n.element,"left",o+"px"),s.css(n.element,"top",r+"px"),n.element.setAttribute("data-js-flyout-placement","left")};o(),t=s.getClientRect(n.element),o()},n.placeTop=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.element),i=s.getClientRect(n.openButton),o=function(){var o=n.calculateHorizontalCenter(e,i,t),r=i.top-e.top-t.height-8;s.css(n.element,"left",o+"px"),s.css(n.element,"top",r+"px"),n.element.setAttribute("data-js-flyout-placement","top")};o(),t=s.getClientRect(n.element),o()},n.placeRight=function(){var e=s.getClientRect(n.offsetParent),t=s.getClientRect(n.element),i=s.getClientRect(n.openButton),o=function(){var o=i.left-e.left+i.width+8,r=n.calculateVerticalCenter(e,i,t);s.css(n.element,"left",o+"px"),s.css(n.element,"top",r+"px"),n.element.setAttribute("data-js-flyout-placement","right")};o(),t=s.getClientRect(n.element),o()},i?(n.bodyElement=s.selectFirstElement("body"),n.update(),n):n}return i.__extends(t,e),t.prototype.update=function(){var e,t,i,n,o=this;if(this.flyoutId=this.element.getAttribute("id"),this.flyoutId&&(this.openButton=s.selectFirstElement('[aria-describedby="'+this.flyoutId+'"]'),this.openButton||(this.openButton=s.selectFirstElement('[data-js-flyout="'+this.flyoutId+'"]'),this.openButton))){switch(this.shown=!1,e=this.element.getAttribute("data-js-flyout-dismissible"),this.dismissalMode="false"===e?1:0,this.element.getAttribute("data-js-flyout-placement")){case"bottom":this.placement=0;break;case"top":this.placement=1;break;case"left":this.placement=2;break;default:this.placement=3}if(s.addEvent(this.openButton,s.eventTypes.click,this.toggleFlyout),s.addEvent(window,s.eventTypes.keydown,this.handleKeydownWhenFlyoutIsOpen),this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.onWindowResize),1===this.dismissalMode&&(this.flyoutButtons=s.selectElementsT("button",this.element),this.flyoutButtons.length>0))for(t=0,i=this.flyoutButtons;t<i.length;t++)n=i[t],s.addEvent(n,s.eventTypes.click,(function(){o.hide(!0)}))}},t.prototype.teardown=function(){var e,t,i,n=this;if(s.removeEvent(this.openButton,s.eventTypes.click,this.toggleFlyout),s.removeEvent(window,s.eventTypes.keydown,this.handleKeydownWhenFlyoutIsOpen),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEventHandler),1===this.dismissalMode&&this.flyoutButtons.length>0)for(e=0,t=this.flyoutButtons;e<t.length;e++)i=t[e],s.removeEvent(i,s.eventTypes.click,(function(){n.hide()}))},t.prototype.calculateHorizontalCenter=function(e,t,i){return t.left-e.left+t.width/2-i.width/2},t.prototype.calculateVerticalCenter=function(e,t,i){return t.top-e.top+t.height/2-i.height/2},t.selector=".c-flyout",t.typeName="Flyout",t.AriaHidden="aria-hidden",t}(n.ObservableComponent);t.Flyout=a}.apply(t,n),void 0===s||(e.exports=s)},handleImageError:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions")],s=function(e,t,i){function n(e,t,n){var o,r;if(void 0===t&&(t=u),void 0===n&&(n=0),e){if(t=t&&t>0?t:u,e.parentElement)for(o=0,r=i.selectElements("source",e.parentElement);o<r.length;o++)r[o].setAttribute("srcset","");e.setAttribute("srcset",""),e.src=s(n),e.src.length&&(i.css(e,"height",t+"px"),i.css(e,"width",t+"px"))}}function s(e){switch(e){case 1:return o;case 2:return a;case 3:return l;default:return r}}
2Object.defineProperty(t,"__esModule",{value:!0});var o="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 60 60' style='enable-background:new 0 0 60 60' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M0 0 h60 v32 H32 v28 H0 V0 z M28 28 V4 H4 v24 H28 z M28 56 V32 H4 v24 H28 z M56 28 V4 H32 v24 H56 z'/%3E%3C/g%3E%3C/svg%3E",r="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M64,8v48H0V8H64z M4,12v21.2l14-14l20,20l8-8l14,14V12H4z M4,52h41.2L18,24.8l-14,14V52z M60,52v-1.2l-14-14 L40.8,42l10,10H60z M50,24c-0.5,0-1-0.2-1.4-0.6C48.2,23,48,22.5,48,22s0.2-1,0.6-1.4C49,20.2,49.5,20,50,20s1,0.2,1.4,0.6 C51.8,21,52,21.5,52,22s-0.2,1-0.6,1.4C51,23.8,50.5,24,50,24z'/%3E%3C/g%3E%3C/svg%3E",a="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M41.7,37.9c2.8,1,5.3,2.3,7.6,4.1c2.3,1.8,4.2,3.8,5.7,6c1.6,2.3,2.8,4.7,3.7,7.5c0.8,2.8,1.2,5.5,1.2,8.5h-4 c0-3.4-0.6-6.5-1.8-9.4c-1.2-2.9-2.9-5.4-4.9-7.5s-4.6-3.8-7.5-4.9c-3-1.3-6.1-1.9-9.5-1.9c-2.2,0-4.4,0.3-6.3,0.8 c-2,0.5-4,1.4-5.7,2.4c-1.8,1-3.4,2.3-4.7,3.8c-1.4,1.4-2.7,3.1-3.7,4.7c-1,1.7-1.8,3.7-2.4,5.7S8.5,61.8,8.5,64h-4%09c0-3,0.4-5.8,1.3-8.5c0.9-2.7,2.1-5.2,3.7-7.4c1.6-2.3,3.5-4.3,5.7-6s4.7-3.1,7.5-4.2c-1.6-0.9-3.1-1.9-4.4-3.2%09c-1.3-1.3-2.4-2.6-3.3-4.2c-0.9-1.6-1.6-3.2-2.1-4.8c-0.4-1.7-0.6-3.5-0.6-5.2c0-2.8,0.5-5.3,1.6-7.7c1-2.4,2.5-4.4,4.3-6.3%09c1.8-1.9,3.9-3.2,6.3-4.3c2.4-1,4.9-1.6,7.7-1.6c2.8,0,5.3,0.5,7.7,1.6c2.4,1,4.4,2.5,6.3,4.3s3.2,3.9,4.3,6.3 c1,2.4,1.6,4.9,1.6,7.7c0,1.8-0.2,3.6-0.7,5.2c-0.5,1.7-1.2,3.4-2.1,4.8c-0.9,1.5-2,2.9-3.3,4.2C44.6,36,43.3,37,41.7,37.9z M16.4,20.5c0,2.2,0.4,4.3,1.3,6.1s2,3.6,3.4,5c1.4,1.4,3.1,2.6,5,3.4c2,0.8,4,1.3,6.1,1.3c2.2,0,4.3-0.4,6.1-1.3 c1.9-0.9,3.6-2,5-3.4c1.4-1.4,2.6-3.1,3.4-5s1.3-4,1.3-6.1s-0.4-4.3-1.3-6.1s-2-3.6-3.4-5c-1.4-1.4-3.1-2.6-5-3.4 c-2-0.8-4-1.3-6.1-1.3c-2.2,0-4.3,0.4-6.1,1.3s-3.6,2-5,3.4c-1.4,1.4-2.6,3.1-3.4,5S16.4,18.3,16.4,20.5z'/%3E%3C/g%3E%3C/svg%3E",l="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M0,10h64v44H0V10z M60,50V14h-4v4h-4v-4H12v4H8v-4H4v36h4v-4h4v4h40v-4h4v4H60z M8,26v-4h4v4H8z M8,34v-4h4v4 H8z M8,42v-4h4v4H8z M52,26v-4h4v4H52z M52,34v-4h4v4H52z M52,42v-4h4v4H52z'/%3E%3C/g%3E%3C/svg%3E",c=24,u=57;t.handleImageError=function(e,t,i){var s;if(void 0===t&&(t=0),1===t)s=c;else s=u;n(e,s,i)},t.handleImageErrorCustomDimensions=n}.apply(t,n),void 0===s||(e.exports=s)},"hero-item-base":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("stringExtensions")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t,i){var s=e.call(this,t,i)||this;return s.heroItemBaseElement=t,s.initialized=!1,s.handleMouseAndTouchStart=function(e){s.startCoordinates=o.getCoordinates(e)},s.handleMouseAndTouchEnd=function(e){var t=s.startCoordinates,i=o.getCoordinates(e);1===(e.which||e.button)&&t&&i&&!s.isSwipe(t,i)&&s.handleValidUserInteraction(e,o.getEventTargetOrSrcElement(e))},s.verifyPreciseInteraction=function(){return!!o.hasClass(s.heroItemBaseElement,"f-precise-click")},n.ObservableComponent.shouldInitializeAsClass(t,i)?(o.SafeBrowserApis.requestAnimationFrame.call(window,(function(){return s.update()})),s):s}return i.__extends(t,e),t.prototype.update=function(){var e,i,n;if(!this.heroItemBaseElement)return!1;for(this.callsToAction=o.selectElementsT(this.constructor.callToActionSelector,this.heroItemBaseElement),this.videoItem=o.selectFirstElement(t.videoSelector,this.heroItemBaseElement),e=0,i=o.selectElementsT(".hiddenCTAlink",this.heroItemBaseElement);e<i.length;e++)n=i[e],this.callsToAction.push(n);return this.addEventListeners(),this.initialized=!0,!0},t.prototype.teardown=function(){this.removeEventListeners(),this.initialized=!1},t.prototype.publish=function(e,t){e.onHeroItemClicked&&(e.onHeroItemClicked(t),this.preventDefaultClickAction=this.preventDefaultClickAction||t.preventDefault)},t.prototype.addEventListeners=function(){!this.verifyPreciseInteraction()&&this.verifyCallToAction()&&(o.addEvent(this.heroItemBaseElement,o.eventTypes.mousedown,this.handleMouseAndTouchStart),o.addEvent(this.heroItemBaseElement,o.eventTypes.mouseup,this.handleMouseAndTouchEnd))},t.prototype.removeEventListeners=function(){o.removeEvent(this.heroItemBaseElement,o.eventTypes.mousedown,this.handleMouseAndTouchStart),o.removeEvent(this.heroItemBaseElement,o.eventTypes.mouseup,this.handleMouseAndTouchEnd)},t.prototype.handleValidUserInteraction=function(e,t){if(!t||this.isCallToActionOrDescendant(t)||o.isDescendantOrSelf(this.videoItem,t)||(r.isNullOrWhiteSpace(this.callsToAction[0].getAttribute("data-js-dialog-show"))||this.callsToAction[0].click(),!this.verifyCallToAction()))return!1;var i={preventDefault:!1,event:e,targetElement:t,targetUri:this.callsToAction[0].href};return this.preventDefaultClickAction=!1,this.initiatePublish(i),this.preventDefaultClickAction?this.preventDefaultClickAction=!1:(e&&o.stopPropagation(e),this.navigateToUrl(this.callsToAction[0].href,e.ctrlKey?"_blank":this.callsToAction[0].target)),!0},t.prototype.isCallToActionOrDescendant=function(e){for(var t,i=0,n=this.callsToAction;i<n.length;i++)if((t=n[i])===e||o.isDescendant(t,e))return!0;return!1},t.prototype.isSwipe=function(e,i){if(!e||!i)return!1;var n=Math.abs(i.y-e.y);return Math.abs(i.x-e.x)>t.minimumSwipeDistance||n>t.minimumSwipeDistance},t.prototype.navigateToUrl=function(e,t){r.isNullOrWhiteSpace(e)||window.open(e,r.isNullOrWhiteSpace(t)?"_self":t)},t.prototype.verifyCallToAction=function(){var e=this.callsToAction&&this.callsToAction.length&&!r.isNullOrWhiteSpace(this.callsToAction[0].href);return e?this.heroItemBaseElement.setAttribute(t.dataJsHref,this.callsToAction[0].href):this.heroItemBaseElement.removeAttribute(t.dataJsHref),e},t.prototype.onCollectionItemHidden=function(){},t.prototype.onCollectionItemShown=function(){},t.prototype.triggerItem=function(){return!(!this.callsToAction||!this.callsToAction.length)&&this.handleValidUserInteraction(null,this.callsToAction[0])},t.dataJsHref="data-js-href",t.minimumSwipeDistance=30,t.callToActionSelector="a.c-call-to-action",t.videoSelector=".c-video-player,.c-lightbox-video",t}(s.Publisher);t.HeroItemBase=a}.apply(t,n),void 0===s||(e.exports=s)},heroItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],s=function(e,t,i,n){Object.defineProperty(t,"__esMo
2dule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.heroItemElement=t,n}return i.__extends(t,e),t.selector=".c-hero, .m-hero-item",t.typeName="HeroItem",t.callToActionSelector="a",t}(n.HeroItemBase);t.HeroItem=s}.apply(t,n),void 0===s||(e.exports=s)},htmlExtensions:function(e,t,i){"use strict";var n,s;n=[i,t,i("stringExtensions")],s=function(e,t,i){function n(e,t,i,n){var s,o;for(void 0===n&&(n=!1),s=0,o=p(e);s<o.length;s++)g(o[s],i,n,y[t])}function s(e,t){!e||i.isNullOrWhiteSpace(t)||r(e,t)||(e.classList?e.classList.add(t):e.className=i.trim(e.className+" "+t))}function o(e,t){var n,s,o,r,a;if(e&&!i.isNullOrWhiteSpace(t))for(n=" "+i.trim(t)+" ",s=0,o=p(e);s<o.length;s++)if((r=o[s]).classList)r.classList.remove(t);else if(!i.isNullOrWhiteSpace(r.className)){for(a=" "+r.className+" ";a.indexOf(n)>-1;)a=a.replace(n," ");r.className=i.trim(a)}}function r(e,t){return!(!e||i.isNullOrWhiteSpace(t))&&(e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+i.trim(t)+" ")>-1)}function a(e,t){var n,s;if(i.isNullOrWhiteSpace(e)||"#"===e)return[];if(n=t||document,/^[\#.]?[\w-]+$/.test(e)){switch(e[0]){case".":return n.getElementsByClassName?l(n.getElementsByClassName(e.slice(1))):l(n.querySelectorAll(e));case"#":return(s=n.querySelector(e))?[s]:[]}return l(n.getElementsByTagName(e))}return l(n.querySelectorAll(e))}function l(e){var t,i;if(!e)return[];for(t=[],i=0;i<e.length;i++)t.push(e[i]);return t}function c(e){var t,i,n;if(e){for(n in i={},t=e.getBoundingClientRect())i[n]=t[n];return"undefined"==typeof i.width&&(i.width=e.offsetWidth),"undefined"==typeof i.height&&(i.height=e.offsetHeight),i}}function u(e,t,n){return e?n||""===n?void(e.style[t]=n):(n=e.style[t],i.isNullOrWhiteSpace(n)&&(n=(n=getComputedStyle(e))[t]),n):null}function h(e,t,i,n){var s,o;if(e&&t&&i)for(s=0,o=p(e);s<o.length;s++)v(o[s],i,n,y[t])}function d(e){return Array.isArray?Array.isArray(e):"[object Array]"==={}.toString.call(e)}function p(e){return e?d(e)?e:"string"==typeof e?e.split(/\s+/):[e]:[]}function m(e){return e||window.event}function g(e,t,i,n){void 0===i&&(i=!1),!e||(window.addEventListener?e.addEventListener(n,t,i):e.attachEvent("on"+n,t))}function v(e,t,i,n){void 0===i&&(i=!1),!e||(window.removeEventListener?e.removeEventListener(n,t,i):e.detachEvent("on"+n,t))}var f,b,y;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.requestAnimationFrame=window.requestAnimationFrame||function(e){"function"==typeof e&&window.setTimeout(e,16.7)}}(f=t.SafeBrowserApis||(t.SafeBrowserApis={})),function(e){e[e.right=0]="right",e[e.left=1]="left"}(b=t.Direction||(t.Direction={})),function(e){e[e.animationend=0]="animationend",e[e.blur=1]="blur",e[e.change=2]="change",e[e.click=3]="click",e[e.DOMContentLoaded=4]="DOMContentLoaded",e[e.DOMNodeInserted=5]="DOMNodeInserted",e[e.DOMNodeRemoved=6]="DOMNodeRemoved",e[e.ended=7]="ended",e[e.error=8]="error",e[e.focus=9]="focus",e[e.focusin=10]="focusin",e[e.focusout=11]="focusout",e[e.input=12]="input",e[e.load=13]="load",e[e.keydown=14]="keydown",e[e.keypress=15]="keypress",e[e.keyup=16]="keyup",e[e.loadedmetadata=17]="loadedmetadata",e[e.mousedown=18]="mousedown",e[e.mousemove=19]="mousemove",e[e.mouseout=20]="mouseout",e[e.mouseover=21]="mouseover",e[e.mouseup=22]="mouseup",e[e.onreadystatechange=23]="onreadystatechange",e[e.resize=24]="resize",e[e.scroll=25]="scroll",e[e.submit=26]="submit",e[e.timeupdate=27]="timeupdate",e[e.touchcancel=28]="touchcancel",e[e.touchend=29]="touchend",e[e.touchmove=30]="touchmove",e[e.touchstart=31]="touchstart",e[e.transitionend=32]="transitionend",e[e.wheel=33]="wheel"}(y=t.eventTypes||(t.eventTypes={})),t.addEvent=n,t.addEvents=function(e,t,n,s){var o,r,a,l,c,u;if(void 0===s&&(s=!1),!i.isNullOrWhiteSpace(t))for(o=0,r=p(e);o<r.length;o++)for(a=r[o],l=0,c=t.split(/\s+/);l<c.length;l++)u=c[l],i.isNullOrWhiteSpace(u)||g(a,n,s,u)},t.removeEvents=function(e,t,n,s){var o,r,a,l,c,u;for(void 0===s&&(s=!1),o=0,r=p(e);o<r.length;o++)for(a=r[o],l=0,c=p(t);l<c.length;l++)u=c[l],i.isNullOrWhiteSpace(u)||v(a,n,s,u)},t.preventDefault=function(e){(e=m(e))&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},t.addThrottledEvent=function(e,t,i,s){void 0===s&&(s=150);var o,r=0,a=function(e){var t=Date.now();o&&(clearTimeout(o),o=void 0),r&&t<r+s?o=setTimeout((function(){r=Date.now(),i(e)}),s-(t-r)):(r=t,i(e))};return n(e,t,a),a},t.addThrottledEvents=function(e,t,n,s,o){function r(e){var t,i=0;return function(n){var s=Date.now();clearTimeout(t),i&&s<i+o?t=setTimeout((function(){i=s,e(n)}),o-(s-i)):(i=s,e(n))}}var a,l,c,u,h,d;if(void 0===s&&(s=!1),void 0===o&&(o=150),!i.isNullOrWhiteSpace(t))for(a=0,l=p(e);a<l.length;a++)for(c=l[a],u=0,h=t.split(/\s+/);u<h.length;u++)d=h[u],i.isNullOrWhiteSpace(d)||g(c,r(n),s,d)},t.addDebouncedEvent=function(e,t,i,s){void 0===s&&(s=150);var o,r=function(e){window.clearTimeout(o),o=setTimeout((function(){i(e)}),s)};return n(e,t,r),r},t.documentReady=function(e,t){if(void 0===t&&(t=5e3),"complete"!==document.readyState)if(document.attachEvent||"interactive"!==document.readyState){var i,s,o,r=function(){clearTimeout(i),s&&h(document,y.DOMContentLoaded,s),o&&h(document,y.onreadystatechange,o),f.requestAnimationFrame.call(window,e)};if(i=setTimeout((function(){r()}),t),document.addEventListener)return s=function(){r()},void n(document,y.DOMContentLoaded,s,!1);document.attachEvent&&(o=function(){"complete"===document.readyState&&r()},n(document,y.onreadystatechange,o,!1))}else e.call(null);else e.call(null)},t.onDeferred=function(e,t){void 0===t&&(t=5e3);var i,s=setTimeout((function(){clearTimeout(s),h(window,y.load,i),e.call(null)}),t);i=function(){clearTimeout(s),f.requestAnimationFrame.call(window,e)},"complete"===document.readyState?(clearTimeout(s),e.call(null)):n(window,y.load,i)},t.addClass=s,t.removeClass=o,t.removeClasses=function(e,t){var i,n;if(t)for(i=0,n=t;i<n.length;i++)o(e,n[i])},t.addClasses=function(e,t){var i,n;if(t)for(i=0,n=t;i<n.length;i++)s(e,n[i])},t.addAttribute=function(e,t){var n,s,o;if(e&&t)for(n=0,s=t;n<s.length;n++)o=s[n],i.isNullOrWhiteSpace(o.name)||i.isNullOrWhiteSpace(o.value)||e.setAttribute(o.name,o.value)},t.hasClass=r,t.removeElement=function(e){return e?e.parentElement.removeChild(e):e},t.selectElements=function(e,t){return a(e,t)},t.selectFirstElement=function(e,t){var i=a(e,t);return i&&i.length?i[0]:null},t.selectElementsT=a,t.selectFirstElementT=function(e,t){var i=a(e,t);return i&&i.length?i[0]:null},t.selectElementsFromSelectors=function(e,t){var i,n,s,o,r=t||document;for(n=0,s=e.split(",");n<s.length;n++)o=s[n],i+=this.selectElements(o,r);return i},t.nodeListToArray=l,t.getDirection=function(e){for(void 0===e&&(e=document.documentElement);null!==e;){var t=e.getAttribute("dir");
2if(t)return"rtl"===t?b.right:b.left;e=e.parentElement}return b.left},t.getClientRect=c,t.getClientRectWithMargin=function(e){if(e)return{width:parseFloat(c(e).width)+parseFloat(u(e,"margin-left"))+parseFloat(u(e,"margin-right")),height:parseFloat(c(e).height)+parseFloat(u(e,"margin-top"))+parseFloat(u(e,"margin-bottom"))}},t.css=u,t.removeEvent=h,t.isArray=d,t.toArray=p,t.isDescendant=function(e,t){return!!e&&e!==t&&e.contains(t)},t.isDescendantOrSelf=function(e,t){return!!e&&e.contains(t)},t.getText=function(e){return e&&(e.textContent||e.innerText)||""},t.setText=function(e,t){!e||null===t||(e.textContent?e.textContent=t:e.innerHTML=t)},t.removeInnerHtml=function(e){e&&(e.innerHTML="")},t.getEventTargetOrSrcElement=function(e){return(e=m(e)).target||e.srcElement},t.getEvent=m,t.customEvent=function(e,t,i){if(void 0===i&&(i={}),!e||!t)return null;var s="string"==typeof t?t:y[t],o=null;if(i.bubbles="undefined"==typeof i.bubbles||i.bubbles,i.cancelable="undefined"==typeof i.cancelable||i.cancelable,window.CustomEvent&&"function"==typeof CustomEvent)o=new CustomEvent(s,i),i.changedTouches&&i.changedTouches.length&&(o.changedTouches=i.changedTouches);else{if(!document.createEvent){o=document.createEventObject();try{e.fireEvent("on"+s,o)}catch(n){return}return o}(o=document.createEvent("CustomEvent")).initCustomEvent(s,i.bubbles,i.cancelable,i.detail),i.changedTouches&&i.changedTouches.length&&(o.changedTouches=i.changedTouches)}return e.dispatchEvent(o),o},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.returnValue=!1},t.getScrollY=function(e){return void 0===e&&(e=window),e.scrollY||e.pageYOffset||("CSS1Compat"===e.document.compatMode?e.document.documentElement.scrollTop:e.document.body.scrollTop)},t.getOffsetParent=function(e){if(!e)return window.document.documentElement;for(var t=e.ownerDocument.documentElement,i=e.offsetParent;i&&"static"==u(i,"position");)i=i.offsetParent;return i||t},t.scrollElementIntoView=function(e,t){if(e&&t){var i=t.clientHeight,n=t.scrollHeight;n>i&&(t.scrollTop=Math.min(e.offsetTop-t.firstElementChild.offsetTop,n-i))}},t.isImageLoadedSuccessfully=function(e){return"undefined"==typeof e.complete||"undefined"==typeof e.naturalHeight||e&&e.complete&&e.naturalHeight>0},t.isImageLoadFailed=function(e){return!(!e||"undefined"==typeof e.complete||"undefined"==typeof e.naturalHeight)&&(e&&e.complete&&0==e.naturalWidth&&0==e.naturalHeight)},t.getCoordinates=function(e){var t=e.touches&&e.touches.length?e.touches:[e],i=e.changedTouches&&e.changedTouches[0]||t[0];return{x:i.clientX,y:i.clientY}},t.getParent=function(e,t){for(var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;e&&!i.call(e,t);)e=e.parentElement;return e},t.preventDefaultSwipeAction=function(e,t){void 0===t&&(t=!0),e&&(window.PointerEvent||window.navigator.pointerEnabled)&&u(e,"touchAction",t?"pan-y":"pan-x")}}.apply(t,n),void 0===s||(e.exports=s)},immersiveHeroItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.immersiveHeroItemElement=t,n.onWindowResized=function(){var e=Math.round(window.innerWidth),t=Math.round(window.innerHeight);(n.windowWidth!==e||n.windowHeight!==t)&&(n.windowWidth=e,n.windowHeight=t,n.resizeImage())},n}return i.__extends(t,e),t.prototype.update=function(){if(!e.prototype.update.call(this))return!1;this.image=s.selectFirstElement(t.imageSelector,this.immersiveHeroItemElement),this.title=s.selectFirstElement(t.titleSelector,this.immersiveHeroItemElement),this.isTopAligned=s.hasClass(this.immersiveHeroItemElement,"f-align-top"),this.windowWidth=Math.round(window.innerWidth),this.windowHeight=Math.round(window.innerHeight),this.image?(this.resizeImage(),this.resizeThrottledEvent=s.addThrottledEvent(window,s.eventTypes.resize,this.onWindowResized,50)):this.handleTextOnly()},t.prototype.teardown=function(){e.prototype.teardown.call(this),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEvent),this.image=null,this.sectionHeight=null,this.title=null,this.titleHeight=null,this.isTopAligned=null},t.prototype.handleTextOnly=function(){if(!this.isTopAligned&&this.title.parentElement){var e=this.title.parentElement;
2s.css(e,"top","auto"),s.css(e,"bottom","0px")}},t.prototype.resizeImage=function(){var e;if(this.immersiveHeroItemElement&&this.title&&this.image){var t=s.getClientRect(this.immersiveHeroItemElement),i=s.getClientRect(this.title),n=this.isTopAligned?i.top-t.top:s.getClientRect(this.image).top-t.top;this.titleHeight=i.height+n,this.sectionHeight=t.height,e=Math.round(this.sectionHeight-this.titleHeight)+"px",s.css(this.image,"height",e)}},t.prototype.onCollectionItemHidden=function(){},t.prototype.onCollectionItemShown=function(){this.resizeImage()},t.selector=".m-immersive-hero-item",t.typeName="ImmersiveHeroItem",t.titleSelector="div > div",t.imageSelector="div > .c-image > img",t}(n.HeroItemBase);t.ImmersiveHeroItem=o}.apply(t,n),void 0===s||(e.exports=s)},inPageNavigation:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("utility"),i("stringExtensions"),i("htmlExtensions"),i("observableComponent")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t){var i=e.call(this,t)||this;return i.resizeHandler=function(){i.checkCollapse(i.element),i.setWidth(i.element,!0),i.setStickyClass(),i.anchorPositions=i.setAnchorPositions(i.element)},i.scrollHandler=function(){var e=o.selectFirstElement("ul",i.element),t=e.getAttribute("aria-hidden");i.updateNavLinks(i.element),!t||e.setAttribute("aria-hidden","true"),i.setWidth(i.element)},i.clickHandler=function(e){var t=e.target||e.srcElement,n=t.getAttribute("href"),s="aria-hidden";if(n&&!(n.indexOf("#")<0)){o.hasClass(t,"f-dropdown-link")&&o.preventDefault(e),i.updateNavLinks(i.element);var r=o.selectFirstElement("ul",i.element),a="true"!==r.getAttribute("aria-hidden"),l=o.getClientRect(i.element).height+10,c=n.split("#")[1],u=o.selectElements("[data-js-in-page-navigation-wrapper]").length>0;o.hasClass(t,"f-dropdown-link")?a?(t.setAttribute("aria-expanded","false"),r.setAttribute(s,"true")):(t.setAttribute("aria-expanded","true"),r.setAttribute(s,"false")):(o.hasClass(i.element,"f-vertical")?u?window.scrollTo(0,i.anchorPositions[c]-(o.hasClass(i.element,"f-dropdown")?l:0)):window.scrollTo(0,i.anchorPositions[c]):window.scrollTo(0,i.anchorPositions[c]-(u?l:0)),i.updateLinks(t))}},i.onControlKeyboardEvent=function(e){var t=n.getKeyCode(e),s=o.selectFirstElement(".f-dropdown-link",i.element),r=o.selectFirstElement(".c-menu",i.element);switch(t){case 9:case 40:r.setAttribute("aria-hidden","true"),s.setAttribute("aria-expanded","false"),setTimeout((function(){s.focus()}),0)}},t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){this.isLtr=o.getDirection(this.element)===o.Direction.left,this.navLinks=o.selectElements("ul a",this.element),this.listItems=o.selectElements("ul li",this.element),this.triggerButton=o.selectFirstElement(".f-dropdown-link",this.element),this.dropDownMenu=o.selectFirstElement(".c-menu",this.element),this.marginDirection=this.isLtr?"margin-left":"margin-right",this.navLinks&&this.navLinks.length&&(this.anchorElements=this.getAnchorElements(),this.checkCollapse(this.element),this.setStickyClass(),this.anchorPositions=this.setAnchorPositions(this.element),o.addEvent(window,o.eventTypes.resize,this.resizeHandler),o.addEvent(window,o.eventTypes.scroll,this.scrollHandler),o.hasClass(this.element,"f-dropdown")&&(this.triggerButton=o.selectFirstElement("a",this.element),o.addEvent(this.triggerButton,o.eventTypes.click,this.clickHandler,!0),this.listItems.length>0&&o.addEvents(this.listItems[this.listItems.length-1],"keydown",this.onControlKeyboardEvent,!0)),this.setNavLinkHandler(this.navLinks))},t.prototype.teardown=function(){var e,t,i,n;for(o.removeEvent(window,o.eventTypes.resize,this.resizeHandler),o.removeEvent(window,o.eventTypes.scroll,this.scrollHandler),o.hasClass(this.element,"f-dropdown")&&(e=o.selectFirstElement("a",this.element),o.removeEvent(e,o.eventTypes.click,this.clickHandler,!0),o.removeEvent(this.listItems[this.listItems.length-1],o.eventTypes.keydown,this.onControlKeyboardEvent,!0)),t=0,i=this.navLinks;t<i.length;t++)n=i[t],o.removeEvent(n,o.eventTypes.click,this.clickHandler,!0)},t.prototype.setNavLinkHandler=function(e){var t,i,n;if(null!==e)for(t=0,i=e;t<i.length;t++)n=i[t],o.addEvent(n,o.eventTypes.click,this.clickHandler,!0)},t.prototype.setAnchorPositions=function(){var e,t,i,n,s;if(this.anchorElements){for(e=o.getClientRect(document.body).top,t={},i=0,n=this.anchorElements;i<n.length;i++)(s=n[i])&&(t[s.id]=o.getClientRect(s).top-e);return t}},t.prototype.getAnchorElements=function(){for(var e,t,i=[],n=0,r=o.selectElements("a",this.element);n<r.length;n++)e=r[n],null!=(t=s.trim(e.getAttribute("href")))&&0===t.indexOf("#")&&i.push(o.selectFirstElement(t));return i},t.prototype.setStickyClass=function(){return o.getClientRect(this.element).top+this.getScrollY()<0&&(o.addClass(this.element,"f-sticky"),o.css(this.element,this.marginDirection,this.stickyOffsetStart)),this.element},t.prototype.checkCollapse=function(e){var t,i,s;if(e&&(t=e.parentElement)){var r,a=t.children,l=o.selectElements("li",e),c=o.getClientRect(t).width,u="f-dropdown",h="f-vertical";if(o.hasClass(e,u)||o.hasClass(e,h)){if(o.hasClass(e,u)&&!o.hasClass(e,h))for(i=0,s=a.length;i<s-1;i++)(l=o.selectElements("li",a[i]))&&l.length>0&&!o.hasClass(a[i],u)&&(r=o.getClientRect(l[l.length-1]))}else r=o.getClientRect(l[l.length-1]);return o.hasClass(e,"f-vertical")?n.getWindowWidth()<100+c?this.convertMenu(e,"dropdown"):this.convertMenu(e):0===c||this.isLtr&&r.right>c||!this.isLtr&&r.left<=0?this.convertMenu(e,"dropdown"):this.convertMenu(e)}},t.prototype.convertMenu=function(e,t){void 0===t&&(t=null);var i="f-dropdown",n="f-hide";return"dropdown"===t?o.hasClass(e,i)?o.hasClass(e,n)&&o.removeClass(e,n):o.hasClass(e,n)||o.addClass(e,n):o.hasClass(e,i)?o.hasClass(e,n)||o.addClass(e,n):o.hasClass(e,n)&&o.removeClass(e,n),e},t.prototype.setWidth=function(e,t){var i;void 0===t&&(t=!1);var s=e.parentElement,r="f-sticky",a=o.selectFirstElement("ul",e),l=o.hasClass(e,r),c=this.getScrollY(),u=o.getClientRect(s).top+c;return this.stickyOffsetStart=this.isLtr?o.getClientRect(s).left:n.getWindowWidth()-o.getClientRect(s).right,this.elementWidth=o.getClientRect(s).width,i=o.selectElements("[data-js-in-page-navigation-wrapper]"),!0===t&&o.hasClass(e,r)&&(a.style.width=this.elementWidth+"px",a.style[this.marginDirection]=this.stickyOffsetStart+"px"),i.length>0&&(u<c?o.hasClass(e,r)||(o.addClass(e,r),a.style.width=this.elementWidth+"px",a.style[this.marginDirection]=this.stickyOffsetStart+"px"):!1!==l&&(o.removeClass(e,r),o.css(a,this.marginDirection,""),o.css(a,"width",""))),e},t.prototype.updateLinks=function(e){var t,i,n,s;if(this.element&&this.navLinks&&0!==this.navLinks.length){for(t=0,i=this.navLinks;t<i.length;t++)(n=i[t]).blur(),o.removeClass(n,"f-active");return o.addClass(e,"f-active"),o.hasClass(this.element,"f-dropdown")&&((s=o.selectFirstElement("a",this.element)).setAttribute("href",e.getAttribute("href")),s.innerHTML=e.innerHTML),this.element}},t.prototype.updateNavLinks=function(e){var t,i,n;if(e&&((t=this.getAnchorElements())&&((i=o.selectFirstElement("[data-js-in-page-navigation-wrapper]"))&&t&&t.length)))for(i.style.top=e.offsetHeight+"px",n=t.length-1;n>=0;n--)if(t[n]&&t[n].getBoundingClientRect().top<=50){this.updateLinks(o.selectElements("a",e)[n]);break}},t.prototype.getScrollY=function(){return window.scrollY||window.pageYOffset||document.documentElement.scrollTop},t.selector=".c-in-page-navigation",t.typeName="InPageNavigation",t}(r.ObservableComponent);t.InPageNavigation=a}.apply(t,n),void 0===s||(e.exports=s)},"logo-controller":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("sequenceIndicator")],s=function(e,t,i,n){Object.defineProperty(t,"__esMo
2dule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.logoControllerElement=t,n}return i.__extends(t,e),t.selector=".c-logo-controller",t.typeName="LogoController",t.itemSelector='[role="tab"]',t}(n.SequenceIndicator);t.LogoController=s}.apply(t,n),void 0===s||(e.exports=s)},mosaicPlacement:function(e,t,i){"use strict";var n,s,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("breakpointTracker"),i("utility"),i("htmlExtensions")],s=function(e,t,i,n,s,r,a){Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(t){var i=e.call(this,t)||this;return i.cssClassNames={width:{large:"f-width-large",small:"f-width-small"},height:{large:"f-height-large",medium:"f-height-medium",small:"f-height-small"}},i.mappings=[[[300,0],[150,320],[0,160]],[[300,540],[150,270],[0,135]],[[400,768],[200,384],[0,0]],[[400,542],[200,271],[0,135]],[[400,542],[200,271],[0,135]],[[400,542],[200,271],[0,135]]],i.update(),s.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(e){i.onBreakpointChanged(e)}}),i}return i.__extends(t,e),t.prototype.update=function(){this.onBreakpointChanged({breakpoint:s.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0})},t.prototype.teardown=function(){},t.prototype.removeClasses=function(e){null!=e&&a.removeClasses(e,this.concatenateCssClasses(this.cssClassNames))},t.prototype.applySizeClasses=function(e,t){var i,n,s=r.getDimensions(e);null!=s&&r.isNumber(s.height)&&r.isNumber(s.width)&&(i=[],s.height>=this.mappings[t][0][0]?(i.push(this.cssClassNames.height.large),n=s.width>=this.mappings[t][0][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,i.push(n)):s.height>=this.mappings[t][1][0]?(i.push(this.cssClassNames.height.medium),n=s.width>=this.mappings[t][1][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,i.push(n)):(i.push(this.cssClassNames.height.small),n=s.width>=this.mappings[t][2][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,i.push(n)),a.addClasses(this.element,i))},t.prototype.onBreakpointChanged=function(e){this.removeClasses(this.element),this.applySizeClasses(this.element,e.breakpoint)},t.prototype.concatenateCssClasses=function(e){var t,i,n,s;if(null!=e){for(i in t=[],e)if(e.hasOwnProperty(i)&&"object"===("undefined"==typeof(n=e[i])?"undefined":o(n)))for(s in n)n.hasOwnProperty(s)&&t.push(n[s]);return t}},t.selector=".c-mosaic-placement",t.typeName="MosaicPlacement",t}(n.ObservableComponent);t.MosaicPlacement=l}.apply(t,n),void 0===s||(e.exports=s)},"multi-slide-carousel":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("carousel-base"),i("componentFactory"),i("sequenceIndicator"),i("actionToggle"),i("htmlExtensions"),i("utility"),i("viewportCollision")],s=function(e,t,i,n,s,o,r,a,l,c){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.carouselElement=t,n.isAutoPlayPaused=!0,n.autoPlayTimer=-1,n.hasContentFocus=!1,n.isMouseOver=!1,n.hasViewportCollisions=!1,n.onActionToggled=function(e){if(e){n.playPauseButton.removeAttribute(r.ActionToggle.ariaPressedAttribute);var t=n.playPauseButton.getAttribute("aria-label"),i=n.playPauseButton.getAttribute("data-toggled-label");n.playPauseButton.setAttribute("data-toggled-label",t),n.playPauseButton.setAttribute("aria-label",i),e.toggled?n.startAutoPlay():n.pauseAutoPlay()}},n.onMouseOver=function(){n.isMouseOver=!0,n.suspendAutoPlay()},n.onMouseOut=function(){n.isMouseOver=!1,n.resumeAutoPlay()},n.onContentFocusIn=function(){n.hasContentFocus=!0,n.suspendAutoPlay()},n.onContentFocusOut=function(){n.hasContentFocus=!1,n.resumeAutoPlay()},n.onWindowScrolled=function(){n.carouselElement&&(n.hasViewportCollisions=!!c.collidesWith(n.carouselElement),n.hasViewportCollisions?n.suspendAutoPlay():n.resumeAutoPlay())},n}return i.__extends(t,e),t.prototype.update=function(){var i=this;return!(!this.isObserving()||!e.prototype.update.call(this))&&(this.playPauseButton=a.selectFirstElement(r.ActionToggle.selector,this.carouselElement),!this.playPauseButton||(this.playPauseButton.setAttribute("aria-hidden",this.slides.length>1?"false":"true"),s.ComponentFactory.create([{component:r.ActionToggle,elements:[this.playPauseButton],callback:function(e){if(e.length>0&&(i.autoPlayActionToggle=e[0],i.autoPlayActionToggle)){i.autoPlayActionToggle.subscribe(i),i.playPauseButton.removeAttribute(r.ActionToggle.ariaPressedAttribute);var n=i.playPauseButton.getAttribute("aria-label"),s=i.playPauseButton.getAttribute("data-toggled-label");i.playPauseButton.setAttribute("data-toggled-label",n),i.playPauseButton.setAttribute("aria-label",s),a.addEvent(i.carouselElement,a.eventTypes.mouseover,i.onMouseOver),a.addEvent(i.carouselElement,a.eventTypes.mouseout,i.onMouseOut),i.scrollThrottledEventHandler=a.addThrottledEvent(window,a.eventTypes.scroll,i.onWindowScrolled),i.hasViewportCollisions=!!c.collidesWith(i.carouselElement),i.hasContentFocus=a.isDescendantOrSelf(i.carouselElement,document.activeElement),a.addEvent(i.carouselElement,a.eventTypes.focusin,i.onContentFocusIn),a.addEvent(i.carouselElement,a.eventTypes.focusout,i.onContentFocusOut),i.autoPlayIntervalDuration=Math.max(t.autoPlayMinimumInterval,parseInt(i.carouselElement.getAttribute(t.autoPlayIntervalAttribute),10)||t.autoPlayDefaultInterval),a.hasClass(i.carouselElement,t.autoPlayClass)&&i.slides.length>1&&i.autoPlayActionToggle.isToggled()&&"formwfvdiff"!==l.getQSPValue("mwfrun").toLowerCase()&&i.startAutoPlay()}},eventToBind:"DOMContentLoaded"}])),this.loadMultiSlideController(),!0)},t.prototype.teardown=function(){e.prototype.teardown.call(this),!this.autoPlayActionToggle||(this.autoPlayActionToggle.unsubscribe(this),a.removeEvent(this.carouselElement,a.eventTypes.mouseover,this.onMouseOver),a.removeEvent(this.carouselElement,a.eventTypes.mouseout,this.onMouseOut),this.scrollThrottledEventHandler&&(a.removeEvent(window,a.eventTypes.scroll,this.scrollThrottledEventHandler),this.scrollThrottledEventHandler=null),a.removeEvent(this.carouselElement,a.eventTypes.focusin,this.onContentFocusIn),a.removeEvent(this.carouselElement,a.eventTypes.focusout,this.onContentFocusOut),this.clearAutoPlayTimers()),this.hasContentFocus=!1,this.isMouseOver=!1,this.hasViewportCollisions=!1,this.isAutoPlayPaused=!0,this.hasContentFocus=!1,this.playPauseButton=null,!this.sequenceIndicator||this.sequenceIndicator.unsubscribe(this)},t.prototype.getSlides=function(){return a.selectElements(n.CarouselBase.allChildSelectors,this.carouselElement)},t.prototype.getFirstActiveIndex=function(){if(!this.slides)return 0;for(var e=0;e<this.slides.length;e++)if(a.hasClass(this.slides[e],n.CarouselBase.activeClass))return e;return 0},t.prototype.isScrollablePrevious=function(){return!!this.slides&&this.slides.length>1},t.prototype.isScrollableNext=function(){return!!this.slides&&this.slides.length>1},t.prototype.previousSlide=function(){this.setActiveSlide(this.activeIndex-1)},t.prototype.nextSlide=function(){this.setActiveSlide(this.activeIndex+1)},t.prototype.setActiveSlide=function(i,s){var o,r,l,c,u;if(void 0===s&&(s=!0),!this.slides)return!1;
2o=this.activeIndex,r=i,i<0?i=this.slides.length-1:i>=this.slides.length&&(i=0),e.prototype.setActiveSlide.call(this,i,s)&&(-1!==o&&(a.removeClasses(this.slides[o],[n.CarouselBase.activeClass,t.animateNextClass,t.animatePreviousClass]),l=o<r?t.animateNextClass:t.animatePreviousClass,a.addClass(this.slides[this.activeIndex],l)),this.resumeAutoPlay(),this.sequenceIndicator&&this.sequenceIndicator.setControllerIndex(i,!1),c=-1===o?null:e.prototype.getCollectionItem.call(this,this.slides[o]),u=e.prototype.getCollectionItem.call(this,this.slides[this.activeIndex]),c&&c.onCollectionItemHidden(),u&&u.onCollectionItemShown(),e.prototype.initiatePublish.call(this,{fullyVisibleItemRange:[i,i],partiallyVisibleItemRange:[i,i],userInitiated:s}))},t.prototype.startAutoPlay=function(){this.isAutoPlayPaused=!1,this.isMouseOver=!1,this.resumeAutoPlay()},t.prototype.pauseAutoPlay=function(){this.isAutoPlayPaused=!0,this.clearAutoPlayTimers()},t.prototype.suspendAutoPlay=function(){this.clearAutoPlayTimers()},t.prototype.resumeAutoPlay=function(){this.isAutoPlayPaused||this.isMouseOver||this.hasViewportCollisions||this.hasContentFocus&&this.playPauseButton!==document.activeElement||this.setAutoPlayInterval()},t.prototype.setAutoPlayInterval=function(){var e=this;this.clearAutoPlayTimers(),this.autoPlayTimer=setTimeout((function(){e.setActiveSlide(e.activeIndex+1,!1)}),this.autoPlayIntervalDuration)},t.prototype.clearAutoPlayTimers=function(){-1!==this.autoPlayTimer&&(clearTimeout(this.autoPlayTimer),this.autoPlayTimer=-1)},t.prototype.loadMultiSlideController=function(){var e=this,t=a.selectFirstElement(o.SequenceIndicator.selector,this.carouselElement);!t||s.ComponentFactory.create([{component:o.SequenceIndicator,elements:[t],callback:function(t){t&&t.length&&(e.sequenceIndicator=t[0],!e.sequenceIndicator||(e.slides.length>1?e.sequenceIndicator.show():e.sequenceIndicator.hide(),e.sequenceIndicator.subscribe(e),e.sequenceIndicator.setControllerIndex(e.activeIndex,!1)))},eventToBind:"DOMContentLoaded"}])},t.prototype.onControllerIndexChanged=function(e){!e||this.setActiveSlide(e.currentIndex)},t.selector=".c-carousel[class*=f-multi-slide]",t.typeName="MultiSlideCarousel",t.animateNextClass="f-animate-next",t.animatePreviousClass="f-animate-previous",t.focusContentSelector=".c-call-to-action",t.autoPlayClass="f-auto-play",t.autoPlayIntervalAttribute="data-js-interval",t.autoPlayDefaultInterval=6e3,t.autoPlayMinimumInterval=5e3,t}(n.CarouselBase);t.MultiSlideCarousel=u}.apply(t,n),void 0===s||(e.exports=s)},multiFeature:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("componentFactory"),i("logo-controller"),i("multi-slide-carousel"),i("pivot"),i("sequenceIndicator"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o,r,a,l,c,u){Object.defineProperty(t,"__esModule",{value:!0});var h=function(e){function t(i,n){void 0===n&&(n=null);var s=e.call(this,t.selectMultiSlideCarousel(i,n),n)||this;return s.multiFeatureElement=i,s.activeContentIndex=-1,s.onKeydown=function(t){switch(u.getKeyCode(t)){case 39:case 206:case 213:c.stopPropagation(t),c.preventDefault(t),s.isLtr?e.prototype.nextSlide.call(s):e.prototype.previousSlide.call(s);break;case 37:case 205:case 214:c.preventDefault(t),c.stopPropagation(t),s.isLtr?e.prototype.previousSlide.call(s):e.prototype.nextSlide.call(s);break;case 195:c.preventDefault(t),c.stopPropagation(t),s.triggerCta()}},s}return i.__extends(t,e),t.selectMultiSlideCarousel=function(e,t){var i=c.selectFirstElement(r.MultiSlideCarousel.selector,e);return i&&(i.setAttribute(n.ObservableComponent.mwfClassAttribute,t&&t.mwfClass?t.mwfClass:"MultiFeature"),s.ComponentFactory.enumerateComponents(i,(function(e){if(e===r.MultiSlideCarousel.typeName)return s.ComponentFactory.detach(i,e),!1})),i.removeAttribute(n.ObservableComponent.initializeAttribute)),i},t.prototype.update=function(){return!!e.prototype.update.call(this)&&(e.prototype.subscribe.call(this,this),this.confirmCorrectShape(),this.isLtr=c.getDirection(this.multiFeatureElement)===c.Direction.left,c.addEvent(this.multiFeatureElement,c.eventTypes.keydown,this.onKeydown),!0)},t.prototype.teardown=function(){e.prototype.teardown.call(this),e.prototype.unsubscribe.call(this,this),this.controller&&this.controller.unsubscribe(this),c.removeEvent(this.multiFeatureElement,c.eventTypes.keydown,this.onKeydown)},t.prototype.loadMultiSlideController=function(){var e,i=this,r=c.selectFirstElement(t.controllerSelector,this.multiFeatureElement);r&&c.hasClass(r,"c-sequence-indicator")?(this.loadContentElements(r),e=l.SequenceIndicator):r&&r.parentElement&&c.hasClass(r.parentElement,"c-pivot")?(r=r.parentElement,e=a.Pivot,r.removeAttribute(n.ObservableComponent.initializeAttribute)):r&&r.firstElementChild&&r.f
2irstElementChild.firstElementChild&&c.hasClass(r.firstElementChild.firstElementChild,"c-logo")&&(this.loadContentElements(r),e=o.LogoController,r.setAttribute(n.ObservableComponent.mwfClassAttribute,"LogoController"),c.addClass(r,l.SequenceIndicator.selector)),s.ComponentFactory.create([{elements:[r],component:e,callback:function(e){e&&e.length&&(i.controller=e[0],!i.controller||(i.controller.subscribe(i),i.controller.setControllerIndex(i.activeIndex,!1)))},eventToBind:"DOMContentLoaded"}])},t.prototype.onSlideRangeChanged=function(e){!e||!e.fullyVisibleItemRange||!e.fullyVisibleItemRange.length||(!this.controller||this.controller.setControllerIndex(e.fullyVisibleItemRange[0],!1),this.updateMultiFeatureContentIndex(e.fullyVisibleItemRange[0]))},t.prototype.updateMultiFeatureContentIndex=function(e){!this.contentElements||!u.isNumber(e)||e<0||e>=this.contentElements.length&&1!==this.contentElements.length||(e=Math.min(e,this.contentElements.length-1),u.isNumber(this.activeContentIndex)&&this.activeContentIndex>=0&&this.activeContentIndex<this.contentElements.length&&c.removeClass(this.contentElements[this.activeContentIndex],t.activeItemClass),c.addClass(this.contentElements[e],t.activeItemClass),this.activeContentIndex=e)},t.prototype.loadContentElements=function(){this.contentElements=c.selectElements(t.contentSelector,this.multiFeatureElement)},t.prototype.triggerCta=function(){if(!e.prototype.triggerSlide.call(this))if(-1!==this.activeContentIndex){var t=c.selectFirstElement(".c-call-to-action",this.contentElements[this.activeContentIndex]);t&&"true"!==t.getAttribute("aria-disabled")&&t.click()}else this.controller.triggerCta&&this.controller.triggerCta()},t.prototype.confirmCorrectShape=function(){var e,t,i,n=c.hasClass(this.multiFeatureElement,"f-align-center"),s=c.selectFirstElement(".c-carousel",this.multiFeatureElement),o=s.parentElement;"SECTION"===o.nodeName||n?!n||(t=c.selectFirstElement(".c-sequence-indicator",this.multiFeatureElement),i=o.children,!t||Array.prototype.indexOf.call(i,t)===[0]||(c.selectFirstElement(".m-area-heading",this.multiFeatureElement)?o.insertBefore(t,i[1]):o.insertBefore(t,i[0])),o.insertBefore(s,i[i.length-1].nextSibling)):((e=o.parentElement).appendChild(s),e.removeChild(o))},t.prototype.onControllerIndexChanged=function(t){!t||(e.prototype.setActiveSlide.call(this,t.currentIndex),this.updateMultiFeatureContentIndex(t.currentIndex))},t.selector=".m-multi-feature",t.typeName="MultiFeature",t.controllerSelector='[role="tablist"]',t.controllerItemsSelector='[role="tab"]',t.contentSelector='section > ul > li[role="tabpanel"], section > div > ul > li[role="tabpanel"]',t.activeItemClass="f-active",t.ariaControls="aria-controls",t}(r.MultiSlideCarousel);t.MultiFeature=h}.apply(t,n),void 0===s||(e.exports=s)},multiHero:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("multi-slide-carousel"),i("breakpointTracker"),i("htmlExtensions"),i("componentFactory")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(i,n){void 0===n&&(n=null);var s=e.call(this,t.selectMultiSlideCarousel(i,n),n)||this;return s.multiHeroElement=i,s}return i.__extends(t,e),t.selectMultiSlideCarousel=function(e,t){var i=r.selectFirstElement(s.MultiSlideCarousel.selector,e);return i&&(i.setAttribute(n.ObservableComponent.mwfClassAttribute,t&&t.mwfClass?t.mwfClass:"MultiHero"),a.ComponentFactory.enumerateComponents(i,(function(e){if(e===s.MultiSlideCarousel.typeName)return a.ComponentFactory.detach(i,e),!1}))),i},t.prototype.update=function(){return!!e.prototype.update.call(this)&&(o.BreakpointTracker.getBreakpointTracker().subscribe(this),this.updateUxMode(o.BreakpointTracker.getBreakpointTracker().getBreakpoint()<3),!0)},t.prototype.teardown=function(){e.prototype.teardown.call(this),o.BreakpointTracker.getBreakpointTracker().unsubscribe(this)},t.prototype.onBreakpointChanged=function(e){this.updateUxMode(e.breakpoint<3)},t.prototype.updateUxMode=function(e){var i,n,s;if(this.sequenceIndicator&&(e&&this.slides&&this.slides.length>1?this.sequenceIndicator.show():this.sequenceIndicator.hide()),this.slides)for(i=0,n=this.slides;i<n.length;i++)s=n[i],e?s.setAttribute(t.role,t.tabPanelString):s.removeAttribute(t.role)},t.selector=".m-multi-hero",t.typeName="MultiHero",t.role="role",t.tabPanelString="tabpanel",t}(s.MultiSlideCarousel);t.MultiHero=l}.apply(t,n),void 0===s||(e.exports=s)},multiHeroItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],s=function(e,t,i,n){Object.defineProperty(t,"__esMo
2dule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.multiHeroItemElement=t,n}return i.__extends(t,e),t.selector=".m-multi-hero-item",t.typeName="MultiHeroItem",t.callToActionSelector="a",t}(n.HeroItemBase);t.MultiHeroItem=s}.apply(t,n),void 0===s||(e.exports=s)},"mwf.main":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("actionBar"),i("actionMenu"),i("actionToggle"),i("alert"),i("autosuggest"),i("backToTop"),i("button"),i("channelPivot"),i("checkbox"),i("choiceSummary"),i("colorPicker"),i("combo"),i("contentPlacementItem"),i("compareChart"),i("componentFactory"),i("contentToggle"),i("dateTimePicker"),i("deviceActions"),i("dialog"),i("drawer"),i("expansionPanel"),i("feedHeroItem"),i("file"),i("flyout"),i("heroItem"),i("immersiveHeroItem"),i("inPageNavigation"),i("mosaicPlacement"),i("multiFeature"),i("multiHero"),i("multiHeroItem"),i("multi-slide-carousel"),i("navigationMenu"),i("navigationBar"),i("pageBar"),i("pageBehaviors"),i("pagination"),i("parallax"),i("persona"),i("pivot"),i("productPlacement"),i("productPlacementItem"),i("rangeSlider"),i("rating"),i("refineMenu"),i("refineItem"),i("select"),i("selectButton"),i("selectMenu"),i("sequenceIndicator"),i("single-slide-carousel"),i("slider"),i("social"),i("supplementalNavigation"),i("table"),i("toggle"),i("tooltip"),i("video"),i("videoControls"),i("video-closed-captions"),i("ttml-context"),i("ttml-parser"),i("ttml-settings"),i("ttml-time-parser"),i("videoTrigger"),i("sticky")],s=function(e,t,i,n,s,o,r,a,l,c,u,h,d,p,m,g,v,f,b,y,C,E,w,S,T,x,A,k,I,P,M,O,D,F,N,B,L,R,H,_,z,V,W,j,K,U,q,G,Y,$,X,Q,J,Z,ee,te,ie,ne,se,oe,re,ae,le,ce,ue,he,de,pe,me){Object.defineProperty(t,"__esModule",{value:!0}),i.__exportStar(n,t),i.__exportStar(s,t),i.__exportStar(o,t),i.__exportStar(r,t),i.__exportStar(a,t),i.__exportStar(l,t),i.__exportStar(c,t),i.__exportStar(u,t),i.__exportStar(h,t),i.__exportStar(d,t),i.__exportStar(p,t),i.__exportStar(m,t),i.__exportStar(g,t),i.__exportStar(v,t),i.__exportStar(f,t),i.__exportStar(b,t),i.__exportStar(y,t),i.__exportStar(C,t),i.__exportStar(E,t),i.__exportStar(w,t),i.__exportStar(S,t),i.__exportStar(T,t),i.__exportStar(x,t),i.__exportStar(A,t),i.__exportStar(k,t),i.__exportStar(I,t),i.__exportStar(P,t),i.__exportStar(M,t),i.__exportStar(O,t),i.__exportStar(D,t),i.__exportStar(F,t),i.__exportStar(N,t),i.__exportStar(B,t),i.__exportStar(L,t),i.__exportStar(R,t),i.__exportStar(H,t),i.__exportStar(_,t),i.__exportStar(z,t),i.__exportStar(V,t),i.__exportStar(W,t),i.__exportStar(j,t),i.__exportStar(K,t),i.__exportStar(U,t),i.__exportStar(q,t),i.__exportStar(G,t),i.__exportStar(Y,t),i.__exportStar($,t),i.__exportStar(X,t),i.__exportStar(Q,t),i.__exportStar(J,t),i.__exportStar(Z,t),i.__exportStar(ee,t),i.__exportStar(te,t),i.__exportStar(ie,t),i.__exportStar(ne,t),i.__exportStar(se,t),i.__exportStar(oe,t),i.__exportStar(re,t),i.__exportStar(ae,t),i.__exportStar(le,t),i.__exportStar(ce,t),i.__exportStar(ue,t),i.__exportStar(he,t),i.__exportStar(de,t),i.__exportStar(pe,t),i.__exportStar(me,t)}.apply(t,n),void 0===s||(e.exports=s)},"mwf.main.auto.init":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("component-auto-initializer")],s=function(e,t,i,n){Object.defineProperty(t,"__esModule",{value:!0}),i.__exportStar(n,t)}.apply(t,n),void 0===s||(e.exports=s)},navigationBar:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.onMenuClick=function(e){i.handleMenuInteraction(s.getEventTargetOrSrcElement(e))},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,n;if(this.menus=s.selectElements(t.navigationMenuSelector,this.element),0!==this.menus.length)for(e=0,i=this.menus;e<i.length;e++)n=i[e],s.addEvent(n,s.eventTypes.click,this.onMenuClick)},t.prototype.teardown=function(){for(var e,t=0,i=this.menus;t<i.length;t++)e=i[t],s.removeEvent(e,s.eventTypes.click,this.onMenuClick)},t.prototype.hideMenu=function(e,i){e.setAttribute(t.ariaHidden,"true"),i.setAttribute(t.ariaExpanded,"false")},t.prototype.handleMenuInteraction=function(e){for(var i,n,o=0,r=this.menus;o<r.length;o++){var a=r[o],l=s.selectFirstElement("button",a),c=l.getAttribute(t.ariaControl
2s),u=l.getAttribute(t.ariaExpanded),h=e.getAttribute(t.ariaControls);"true"===u&&c!==h&&(i=s.selectFirstElement("button",a),n=s.selectFirstElement("button + ul",a),"f-sub-menu"!==e.parentElement.className&&this.hideMenu(n,i))}},t.selector=".m-navigation-bar",t.typeName="NavigationBar",t.navigationMenuSelector=".c-navigation-menu",t.ariaControls="aria-controls",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t}(n.ObservableComponent);t.NavigationBar=o}.apply(t,n),void 0===s||(e.exports=s)},navigationMenu:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("utility"),i("htmlExtensions")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(i){var n=e.call(this,i)||this;return n.onTriggerClick=function(e){n.activeTrigger=o.getEventTargetOrSrcElement(e);var i=n.activeTrigger.getAttribute(t.ariaControlsAttribute);n.activeMenu=document.getElementById(i),!n.activeMenu||n.toggleVisibility()},n.onNonMenuClick=function(e){if(n.element&&n.activeMenu){e=o.getEvent(e);var t=o.getEventTargetOrSrcElement(e);n.handleOnNonMenuClick(t)}},n.handleOnNonMenuClick=function(e){n.element.contains(e)||(n.activeMenu=o.selectFirstElement("button + ul",n.element),n.activeTrigger=o.selectFirstElement("button",n.element),n.hideMenu())},n.onMenuKeydownEvent=function(e){e=o.getEvent(e);var t=s.getKeyCode(e);n.handleMenuKeydown(t)},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){var e=o.selectElements("button",this.element);0!==e.length&&(this.triggers=e,this.menus=o.selectElements("button + ul",this.element),o.addEvent(this.triggers,o.eventTypes.click,this.onTriggerClick)),o.addEvent(this.element,o.eventTypes.keydown,this.onMenuKeydownEvent,!0),o.addEvent(document,o.eventTypes.click,this.onNonMenuClick)},t.prototype.teardown=function(){o.removeEvent(this.triggers,o.eventTypes.click,this.onTriggerClick),o.removeEvent(this.element,o.eventTypes.keydown,this.onMenuKeydownEvent,!0),o.removeEvent(document,o.eventTypes.click,this.onNonMenuClick)},t.prototype.toggleVisibility=function(){"true"===this.activeMenu.getAttribute(t.ariaHidden)?this.showMenu():this.hideMenu()},t.prototype.showMenu=function(){this.activeMenu.setAttribute(t.ariaHidden,"false"),this.activeTrigger.setAttribute(t.ariaExpanded,"true")},t.prototype.hideMenu=function(){this.activeMenu.setAttribute(t.ariaHidden,"true"),this.activeTrigger.setAttribute(t.ariaExpanded,"false")},t.prototype.handleMenuKeydown=function(e){switch(e){case 27:case 196:this.activeMenu=o.selectFirstElement("button + ul",this.element),this.activeTrigger=o.selectFirstElement("button",this.element),this.hideMenu()}},t.selector=".c-navigation-menu",t.typeName="NavigationMenu",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaControlsAttribute="aria-controls",t}(n.ObservableComponent);t.NavigationMenu=r}.apply(t,n),void 0===s||(e.exports=s)},observableComponent:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions")],s=function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(t,i){void 0===i&&(i=null),this.element=t,this.ignoreNextDOMChange=!1,this.observing=!1,e.shouldInitializeAsClass(t,i)&&this.setObserver()}return e.prototype.detach=function(){this.unObserve(),this.teardown()},e.prototype.isObserving=function(){return this.observing},e.prototype.unObserve=function(){this.observing=!1,this.modernObserver&&this.modernObserver.disconnect(),i.removeEvent(this.element,i.eventTypes.DOMNodeInserted,this.obsoleteNodeInsertedEventHander),i.removeEvent(this.element,i.eventTypes.DOMNodeRemoved,this.obsoleteNodeRemovedEventHandler)},e.prototype.setObserver=function(){this.observing=!0,"undefined"!=typeof e.mutationObserver?this.observeModern():"MutationEvent"in window&&this.observeObsolete()},e.prototype.observeModern=function(){var t=this;this.modernObserver=new e.mutationObserver((function(e){t.onModernMutations(e)})),this.modernObserver.observe(this.element,{childList:!0,subtree:!0})},e.prototype.onModernMutations=function(e){var t,i,n,s,o,r,a,l;if(this.ignoreNextDOMChange)this.ignoreNextDOMChange=!1;else{for(t=!1,i=!1,n=0,s=e;n<s.length;n++){for(a=0,r=(o=s[n]).addedNodes.length;a<r;a++)o.addedNodes[a].nodeType===Node.ELEMENT_NODE&&(t=!0,i=!0);for(a=0,l=o.removedNodes.length;a<l;a++)o.removedNodes[a].nodeType===Node.ELEMENT_NODE&&(t=!0,o.removedNodes[a]!==this.element&&(i=!0))}t&&this.teardown(),i&&this.update()}},e.prototype.observeObsolete=function(){var e=this;this.obsoleteNodeInsertedEventHander=i.addDebouncedEvent(this.element,i.eventTypes.DOMNodeInserted,(function(){e.onObsoleteNodeInserted()})),this.obsoleteNodeRemovedEventHandler=i.addDebouncedEvent(this.element,i.eventTypes.DOMNodeRemoved,(function(t){e.onObsoleteNodeRemoved(t)}))},e.prototype.onObsoleteNodeInserted=function(){this.ignoreNextDOMChange||(this.teardown(),this.update())},e.prototype.onObsoleteNodeRemoved=function(e){this.ignoreNextDOMChange||(this.teardown(),i.getEventTargetOrSrcElement(e)!==this.element&&this.update())},e.shouldInitializeAsClass=function(t,i){var n=t?t.getAttribute(e.mwfClassAttribute):null;return"false"!==(t?t.getAttribute(e.initializeAttribute):null)&&(!!t&&(!n||!!i&&n===i.mwfClass))},e.mwfClassAttribute="data-mwf-class",e.initializeAttribute="data-js-initialize",e.mutationObserver=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,e}();t.ObservableComponent=n}.apply(t,n),void 0===s||(e.exports=s)},pageBar:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.element=t,i.onWindowScrolled=function(){if(i.pageBar)if(i.scrollTarget&&null!==i.pageBarTransition){var e=s.getClientRect(i.scrollTarget).bottom;Math.round(e)!==Math.round(s.getClientRect(i.element).top)&&(s.css(i.pageBar,"transition",i.pageBarTransition),i.pageBarTransition=null),i.togglePageBar(e)}else i.togglePageBar()},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){return!(!this.element||!this.element.id)&&(this.pageBar=this.element.cloneNode(!0),!!this.pageBar&&(this.scrollTarget=s.selectFirstElement('[data-js-page-bar-target="'+this.element.id+'"]'),this.pageBar.id=this.pageBar.id+"_generated_clone",this.pageBarTransition=s.css(this.pageBar,"transition"),s.css(this.pageBar,"transition","none"),s.addClass(this.pageBar,"f-sticky"),s.removeClass(this.pageBar,"f-hidden"),document.body.appendChild(this.pageBar),this.scrollThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.scroll,this.onWindowScrolled),this.togglePageBar(),!0))},t.prototype.teardown=function(){s.removeEvent(window,s.eventTypes.scroll,this.scrollThrottledEventHandler),s.removeElement(this.pageBar),this.pageBar=null},t.prototype.togglePageBar=function(e){void 0===e&&(e=this.scrollTarget?s.getClientRect(this.scrollTarget).bottom:s.getClientRect(document.body).top+t.scrollDistanceWithoutTarget),e<=0?s.addClass(this.pageBar,t.showClass):s.removeClass(this.pageBar,t.showClass)},t.selector=".m-page-bar",t.typeName="PageBar",t.showClass="f-show",t.scrollDistanceWithoutTarget=800,t}(n.ObservableComponent);t.PageBar=o}.apply(t,n),void 0===s||(e.exports=s)},pageBehaviors:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions")],s=function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){i.removeClass(document.documentElement,"no-js"),i.addClass(document.documentElement,"js"),i.hasClass(document.body,"c_native")&&window.navigator&&"string"==typeof window.navigator.gamepadInputEmulation&&(window.navigator.gamepadInputEmulation="keyboard")}return e.typeName="PageBehaviors",e}();t.PageBehaviors=n}.apply(t,n),void 0===s||(e.exports=s)},pagination:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.page=-1,i.handleClickEvent=function(e){var t=s.getEventTargetOrSrcElement(e);t===i.previousButton||s.isDescendant(i.previousButton,t)?i.handleButtonClick(i.previousButton):t===i.nextButton||s.isDescendant(i.nextButton,t)?i.handleButtonClick(i.nextButton):i.setActivePage(i.getPageFromElement(t.parentElement),!0,!0)},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i;this.element&&(this.pages=s.selectElements(t.pageClassSelector,this.element),this.srContainer=s.selectFirstElement(t.srSelector,this.element),this.pages.length<2||2===(e=s.selectElements(t.buttonsClassSelector,this.element)).length&&(this.previousButton=e[0].parentElement,this.nextButton=e[1].parentElement,s.addEvent(this.element,s.eventTypes.click,this.handleClickEvent),(i=s.selectElements(t.activeClassSelector,this.element))&&0!==i.length||(i=this.pages),this.setActivePage(this.getPageFromElement(i[0]),!0,!1)))},t.prototype.teardown=function(){s.removeEvent(this.element,s.eventTypes.click,this.handleClickEvent),this.page=-1,this.pages=null,this.activeItem=null,this.previousButton=null,this.nextButton=null,this.srContainer=null},t.prototype.publish=function(e,t){e.onPageChanged&&e.onPageChanged(t)},t.prototype.getPage=function(){return this.page},t.prototype.setPage=function(e){return this.setActivePage(e,!1,!1)},t.prototype.handleButtonClick=function(e){var t=e===this.nextButton,i=e===this.previousButton,n=this.getPage();(t||i)&&this.setActivePage(-1===n?0:t?n+1:n-1,!0,!0)},t.prototype.setActivePage=function(e,i,n){var r=this.getPage();if(!o.isNumber(e)||!this.pages||!(e>=0)||!(e<this.pages.length)||e===r)return!1;if(this.activeItem){var a=this.activeItem.firstElementChild,l=this.activeItem.getAttribute(t.dataLabel),c=a.getAttribute(t.dataHref);this.activeItem.setAttribute(t.dataLabel,a.getAttribute(t.ariaLabel)),a.setAttribute(t.dataLabel,l),a.removeAttribute("aria-current"),!c||(a.setAttribute(t.href,c),a.removeAttribute(t.dataHref)),s.removeClass(this.activeItem,t.activeClass)}var u=this.pages[e],h=u.firstElementChild,d=u.getAttribute(t.dataLabel),p=h.getAttribute(t.href);return u.setAttribute(t.dataLabel,h.getAttribute(t.ariaLabel)),h.setAttribute(t.dataLabel,d),h.setAttribute("aria-current","true"),this.srContainer&&(this.srContainer.innerText="Selected page "+(e+1)),!p||(h.setAttribute(t.dataHref,p),setTimeout((function(){h.removeAttribute(t.href)}),0)),s.addClass(u,t.activeClass),this.activeItem=u,this.page=e,this.updateButtons(),this.initiatePublish({page:e,priorPage:r,internal:i,userinitiated:n}),!0},t.prototype.updateButtons=function(){var e=this.getPage();-1!==e&&(0===e?s.addClass(this.previousButton,t.hideClass):s.removeClass(this.previousButton,t.hideClass),e===this.pages.length-1?s.addClass(this.nextButton,t.hideClass):s.removeClass(this.nextButton,t.hideClass))},t.prototype.getPageFromElement=function(e){return this.pages&&e?this.pages.indexOf(e):-1},t.selector=".m-pagination",t.srSelector=".x-screen-reader",t.typeName="Pagination",t.pageClassSelector="li[data-label],li.x-page",t.buttonsClassSelector=".c-glyph",t.activeClass="f-active",t.activeClassSelector="."+t.activeClass,t.hideClass="f-hide",t.ariaLabel="aria-label",t.dataLabel="data-label",t.dataHref="data-href",t.href="href",t}(n.Publisher);t.Pagination=r}.apply(t,n),void 0===s||(e.exports=s)},parallax:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.element=i,n.viewportHeight=0,n.backgroundSlideRatio=.8,n.foregroundSlideRatio=0,n.animate=function(){var e,i,o,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame,a=n.backgroundLayer,l=n.foregroundLayer;a||(a=s.selectFirstElement(t.parallaxBackgroundLayerSelector,n.element)),l||(l=s.selectFirstElement(t.parallaxForegroundLayerSelector,n.element)),e=parseFloat(l.getAttribute(t.parallaxScrollAdjustAttribute))||0,i=parseFloat(a.getAttribute(t.parallaxScrollAdjustAttribute))||.8,n.isInViewport(n.element)&&(o=(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0)-n.parallaxOffsets.y,n.setTransform(l,"0","-"+o*e+"px","0"),n.setTransform(a,n.offsetDirection,o*i+"px","0")),r(n.animate)},n.update(),n}return i.__extends(t,e),t.prototype.teardown=function(){this.foregroundLayer=null,this.backgroundLayer=null,this.primaryDirection=null,this.foregroundSlideRatio=null,this.backgroundSlideRatio=null},t.prototype.update=function(){return!!this.element&&(this.backgroundLayer=s.selectFirstElement(t.parallaxBackgroundLayerSelector,this.element),this.foregroundLayer=s.selectFirstElement(t.parallaxForegroundLayerSelector,this.element),!(!this.foregroundLayer||!this.backgroundLayer)&&(this.primaryDirection=s.getDirection(this.element),this.offsetDirection=(this.primaryDirection===s.Direction.left?"-":"")+"50%",this.parallaxOffsets=this.getOffsets(this.element),this.foregroundSlideRatio=parseFloat(this.foregroundLayer.getAttribute(t.parallaxScrollAdjustAttribute))||this.foregroundSlideRatio,this.backgroundSlideRatio=parseFloat(this.backgroundLayer.getAttribute(t.parallaxScrollAdjustAttribute))||this.backgroundSlideRatio,this.animate(),!0))},t.prototype.setTransform=function(e,t,i,n){e&&s.css(e,"transform","translate3d("+t+", "+i+", "+n+")")},t.prototype.isInViewport=function(e){var t=e.getBoundingClientRect();return(t.height>0||t.width>0)&&t.bottom>=0&&t.right>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth)},t.prototype.getOffsets=function(e){var t=e.getBoundingClientRect(),i=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{y:t.top+n,x:t.left+i}},t.selector=".m-parallax",t.parallaxBackgroundLayerSelector=".c-parallax-background",t.parallaxForegroundLayerSelector=".c-parallax-foreground",t.parallaxScrollAdjustAttribute="data-parallax-scroll-ratio",t}(n.ObservableComponent);t.Parallax=o}.apply(t,n),void 0===s||(e.exports=s)},persona:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.personaElement=t,n.personaImageError=function(){n.hidePersonaImage()},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){return!!this.personaElement&&(this.personaImage=s.selectFirstElementT(t.personaImageSelector,this.personaElement),this.personaImage&&(s.addEvent(this.personaImage,s.eventTypes.error,this.personaImageError),s.isImageLoadFailed(this.personaImage)?this.hidePersonaImage():this.showPersonaImage()),!0)},t.prototype.teardown=function(){s.removeEvent(this.personaImage,s.eventTypes.error,this.personaImageError)},t.prototype.hidePersonaImage=function(){this.personaImage.setAttribute(t.ariaHidden,"true")},t.prototype.showPersonaImage=function(){this.personaImage.removeAttribute(t.ariaHidden)},t.selector='[class*="m-persona-"]',t.typeName="Persona",t.ariaHidden="aria-hidden",t.personaImageSelector=".c-image",t}(n.ObservableComponent);t.Persona=o}.apply(t,n),void 0===s||(e.exports=s)},pivot:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("utility"),i("swipe"),i("stringExtensions")],s=function(e,t,i,n,s,o,r,a,l,c){Object.defineProperty(t,"__esMo
2dule",{value:!0});var u=function(e){function t(t,i){void 0===i&&(i=null);var s=e.call(this,t,i)||this;return s.pivotElement=t,s.flipperWidth=0,s.headerRect=null,s.firstTabRect=null,s.lastTabRect=null,s.headerOffset=0,s.minHeaderOffset=0,s.justificationInitialized=!1,s.initializeFlippers=function(){s.primaryFlipper||s.secondaryFlipper||(s.primaryFlipper=o.selectFirstElement(".c-pivot .c-flipper.f-previous",s.element),s.secondaryFlipper=o.selectFirstElement(".c-pivot .c-flipper.f-next",s.element),s.isInteractive&&o.addEvent([s.primaryFlipper,s.secondaryFlipper],o.eventTypes.click,s.onFlipperClicked))},s.onFlipperClicked=function(e){o.preventDefault(e),s.updateLayoutRectangles()&&(o.getEventTargetOrSrcElement(e)===s.secondaryFlipper?s.pageNext():s.pagePrevious())},s.setControllerIndex=function(e,t){return void 0===t&&(t=!1),!(!s.pivotTabs||e<0||e>=s.pivotTabs.length)&&(s.onPivotChanged(s.pivotTabs[e],t,!0),!0)},s.onPivotClicked=function(e){var t,i,n,r=o.getEventTargetOrSrcElement(e);for("A"===r.nodeName&&o.preventDefault(e),t=0,i=s.pivotTabs;t<i.length;t++)if(n=i[t],o.isDescendantOrSelf(n,r)){o.addClass(n,"x-hidden-focus"),s.onPivotChanged(n,!0,!0);break}},s.onFocus=function(e){o.isDescendantOrSelf(s.activePivotHeader,o.getEventTargetOrSrcElement(e))&&setTimeout((function(){s.pivotHeader.scrollLeft=0,s.updateLayoutRectangles()&&s.ensureActiveTabIsVisible(!0)}),0)},s.onBlur=function(){o.removeClass(s.activePivotHeader,"x-hidden-focus")},s.onKeydown=function(e){var t,i,n,r,l=a.getKeyCode(e),c=a.getVirtualKey(e);if(13===l||32===l||"Enter"===c||" "===c?o.preventDefault(e):37===l||205===l||214===l||"ArrowLeft"===c?t=-1:(39===l||206===l||213===l||"ArrowRight"===c)&&(t=1),t){for(o.stopPropagation(e),o.preventDefault(e),t*=s.isLtr?1:-1,i=void 0,n=0;n<s.pivotTabs.length;n++)if(s.pivotTabs[n]===s.activePivotHeader){(r=n+t)>=s.pivotTabs.length?r=0:r<0&&(r=s.pivotTabs.length-1),i=s.pivotTabs[r];break}i&&s.onPivotChanged(i,!0,!0)}},s.onWindowResized=function(){if(s.updateLayoutRectangles()){s.updateFlippers();var e=s.getActiveTabIndex(),t=s.checkTabVisibility(e);0!==t&&2!==t&&(e<=s.getFirstVisibleTabIndex()?s.moveTabToStart(e,!1):s.moveTabToEnd(e,!1)),s.pivotTabs&&s.headerOffset<s.minHeaderOffset&&s.moveTabToEnd(s.pivotTabs.length-1,!0)}},s.swipeHandler=function(e){e&&(e.direction===l.SwipeDirection.Left||e.direction===l.SwipeDirection.Right)&&(e.direction===l.SwipeDirection.Right&&s.isLtr?s.pageNext():s.pagePrevious())},n.ObservableComponent.shouldInitializeAsClass(t,i)&&s.update(),s}return i.__extends(t,e),t.prototype.update=function(){var e,i,n,s,r,a,c,u;if(!this.pivotElement)return!1;for(this.pivots=[],e=0,i=o.selectElements(t.panelSelector,this.element);e<i.length;e++)(r=i[e]).parentElement===this.element&&this.pivots.push(r);if(this.pivotHeader=o.selectFirstElement(t.headerSelector,this.element),this.pivotTabs=this.pivotHeader?o.selectElements(t.tabSelector,this.pivotHeader):null,this.isDisabled())for(n=0,s=this.pivotTabs;n<s.length;n++)(r=s[n]).setAttribute("aria-disabled","true");if(!this.pivotHeader||!this.pivotTabs||this.pivotTabs.length<=1){if(a=null,this.pivotTabs&&this.pivotTabs.length&&(u=this.pivotTabs[0],o.addClass(u,t.activePivotSelector),u.setAttribute(t.ariaSelected,"true"),u.setAttribute(t.ariaSetSize,"1"),u.setAttribute(t.ariaPosInSet,"1"),a=u.getAttribute("aria-controls")),this.pivots.length){for(c=1;c<this.pivots.length;c++)this.hidePivot(this.pivots[c]);this.showPivot(this.pivots[0])}this.initiatePublish({previousIndex:NaN,currentIndex:0,activePivotId:a&&a.length?a:this.pivots.length?this.appendBackgroundAndHeadingId(this.pivots[0].id):void 0,previousPivotId:null})}else{var h=this.pivotTabs.length,d=h.toString(),p=void 0;for(this.isInteractive=!o.hasClass(this.pivotElement,"f-noninteractive"),this.pivotTabJustification=o.css(this.pivotHeader,"justify-content"),this.justificationInitialized||(this.justificationInitialized=!0,this.normalJustification="normal"===this.pivotTabJustification),c=1;c<=h;c++)u=this.pivotTabs[c-1],o.hasClass(u,t.activePivotSelector)&&(p?o.removeClass(u,t.activePivotSelector):p=u),u.setAttribute(t.tabIndexAttribute,"-1"),u.setAttribute(t.ariaSetSize,d),u.setAttribute(t.ariaPosInSet,c.toString()),this.isInteractive||u.removeAttribute("href"),u.setAttribute(t.ariaSelected,u===this.activePivotHeader?"true":"false");p||(p=this.pivotTabs[0]),this.isLtr=o.getDirection(this.pivotHeader)===o.Direction.left,this.direction=this.isLtr?o.Direction[o.Direction.left]:o.Direction[o.Direction.r
2ight],this.isInteractive&&!this.isDisabled()&&(p.setAttribute(t.tabIndexAttribute,"0"),o.addEvent(this.pivotHeader,o.eventTypes.click,this.onPivotClicked),o.addEvent(this.pivotHeader,o.eventTypes.keydown,this.onKeydown),o.addEvent(this.pivotTabs,o.eventTypes.focus,this.onFocus),o.addEvent(this.pivotTabs,o.eventTypes.blur,this.onBlur)),this.initializeFlippers(),p!==this.activePivotHeader?this.updatePivot(p,!1,!1):this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible(),this.updateFlippers(),this.resizeListener=o.addThrottledEvent(window,o.eventTypes.resize,this.onWindowResized),this.swipe=new l.Swipe([this.pivotHeader],{end:this.swipeHandler},l.SwipeOrientation.Horizontal),o.preventDefaultSwipeAction(this.pivotElement)}},t.prototype.teardown=function(){this.pivotTabs&&this.pivotTabs.length>1&&(this.isInteractive&&(o.removeEvent(this.pivotHeader,o.eventTypes.click,this.onPivotClicked),o.removeEvent(this.pivotHeader,o.eventTypes.keydown,this.onKeydown),o.removeEvent(this.pivotTabs,o.eventTypes.focus,this.onFocus),o.removeEvent(this.pivotTabs,o.eventTypes.blur,this.onBlur)),o.removeEvent(window,o.eventTypes.resize,this.resizeListener)),this.primaryFlipper&&this.secondaryFlipper&&(this.hideFlipper(this.primaryFlipper),this.hideFlipper(this.secondaryFlipper),this.isInteractive&&o.removeEvent([this.primaryFlipper,this.secondaryFlipper],o.eventTypes.click,this.onFlipperClicked),this.primaryFlipper=null,this.secondaryFlipper=null),this.pivotHeader=null,this.pivots=null,this.activePivot=null,this.minHeaderOffset=0,this.headerRect=null,this.isInteractive=!1,this.swipe&&this.swipe.tearDown()},t.prototype.appendBackgroundAndHeadingId=function(e){return c.format("{0} {0}-{1} {0}-{2}",e,"heading","background")},t.prototype.updateLayoutRectangles=function(){var e,t;return!(!this.pivotTabs||!this.pivotTabs.length)&&(this.headerRect=o.getClientRect(this.pivotHeader),0!==this.headerRect.width&&(this.firstTabRect=o.getClientRect(this.pivotTabs[0]),this.lastTabRect=1===this.pivotTabs.length?this.firstTabRect:o.getClientRect(this.pivotTabs[this.pivotTabs.length-1]),e=this.isLtr?this.headerRect.width-this.lastTabRect.right+this.firstTabRect.left:this.headerRect.width-this.firstTabRect.right+this.lastTabRect.left,this.normalJustification||(t="normal"===o.css(this.pivotHeader,"justify-content"),e<0&&!t&&o.css(this.pivotHeader,"justify-content","normal"),e>0&&t&&this.pivotTabJustification&&"normal"!==this.pivotTabJustification&&o.css(this.pivotHeader,"justify-content",this.pivotTabJustification)),this.minHeaderOffset=Math.min(0,e),!0))},t.prototype.getActiveTabIndex=function(){if(!this.activePivotHeader)return-1;for(var e=0;e<this.pivotTabs.length;e++)if(this.activePivotHeader===this.pivotTabs[e])return e;return-1},t.prototype.getFirstVisibleTabIndex=function(){var e,i,n=this.isLtr?this.headerRect.left:this.headerRect.right;for(this.primaryFlipper&&"true"!==this.primaryFlipper.getAttribute(t.ariaHidden)&&(n=this.isLtr?n+this.flipperWidth:n-this.flipperWidth),e=0;e<this.pivotTabs.length-1;e++)if(i=o.getClientRect(this.pivotTabs[e]),this.isLtr&&i.right>=n||!this.isLtr&&i.left<=n)return e;return this.pivotTabs.length-1},t.prototype.getLastVisibleTabIndex=function(){var e,i,n=this.isLtr?this.headerRect.right:this.headerRect.left;for(this.secondaryFlipper&&"true"!==this.secondaryFlipper.getAttribute(t.ariaHidden)&&(n=this.isLtr?n-this.flipperWidth:n+this.flipperWidth),e=this.pivotTabs.length-1;e>0;e--)if(i=o.getClientRect(this.pivotTabs[e]),this.isLtr&&i.left<=n||!this.isLtr&&i.right>=n)return e;return 0},t.prototype.checkTabVisibility=function(e){var i;if(e<0||e>=this.pivotTabs.length)return 0;var n=this.headerRect.left,s=this.headerRect.right,r=this.primaryFlipper&&"true"!==this.primaryFlipper.getAttribute(t.ariaHidden),a=this.secondaryFlipper&&"true"!==this.secondaryFlipper.getAttribute(t.ariaHidden);return r&&(this.isLtr?n+=this.flipperWidth:s-=this.flipperWidth),a&&(this.isLtr?s-=this.flipperWidth:n+=this.flipperWidth),(i=o.getClientRect(this.pivotTabs[e])).left>=n&&i.right<=s?2:i.right<n||i.left>s?0:1},t.prototype.isTabEntirelyVisible=function(e){return 2===this.checkTabVisibility(e)},t.prototype.ensureActiveTabIsVisible=function(e){void 0===e&&(e=!1);var t=this.getActiveTabIndex();-1!==t&&(this.isTabEntirelyVisible(t)?this.pivotTabs&&this.headerOffset<this.minHeaderOffset&&this.moveTabToEnd(this.pivotTabs.length-1,!0):t<=this.getFirstVisibleTabIndex()?this.moveTabToStart(t,e):this.moveTabToEnd(t,e))},t.prototype.pageNext=function(){var e=this.getLastVisibleTabIndex();(this.isTabEntirelyVisible(e)||e===this.getFirstVisibleTabIndex())&&e++,this.moveTabToStart(e,!0)},t.prototype.pagePrevious=function(){var e=this.getFirstVisibleTabIndex();(this.isTabEntirelyVisible(e)||e===this.getLastVisibleTabIndex())&&e--,this.moveTabToEnd(e,!0)},t.prototype.moveTabToStart=function(e,t){if(void 0===t&&(t=!1),!(e<0)&&this.pivotTabs&&!(e>=this.pivotTabs.length)){var i=o.getClientRect(this.pivotTabs[e]),n=this.isLtr?this.firstTabRect.left-i.left:i.right-this.firstTabRect.right;e>
20&&(this.showFlipper(this.primaryFlipper),n+=this.flipperWidth),this.setHeaderOffset(n,t)}},t.prototype.moveTabToEnd=function(e,t){if(void 0===t&&(t=!1),!(e<0)&&this.pivotTabs&&!(e>=this.pivotTabs.length)){var i=o.getClientRect(this.pivotTabs[e]),n=this.isLtr?this.headerRect.width-i.right+this.firstTabRect.left:this.headerRect.width-this.firstTabRect.right+i.left;e<this.pivotTabs.length-1&&(this.showFlipper(this.secondaryFlipper),n-=this.flipperWidth),this.setHeaderOffset(n,t)}},t.prototype.setHeaderOffset=function(e,i){void 0===i&&(i=!1),e=Math.min(0,Math.max(this.minHeaderOffset,e)),this.headerOffset!==e&&(this.headerOffset=e,this.updateFlippers(),o.css(this.pivotHeader.children[0],"transition-duration",i?t.transitionDuration:"0s"),o.css(this.pivotHeader.children[0],"margin-"+this.direction,e+"px"))},t.prototype.updateFlippers=function(){this.headerOffset<0?this.showFlipper(this.primaryFlipper):this.hideFlipper(this.primaryFlipper),this.headerOffset>this.minHeaderOffset?this.showFlipper(this.secondaryFlipper):this.hideFlipper(this.secondaryFlipper)},t.prototype.show=function(){this.pivotElement.setAttribute(t.ariaHidden,"false"),this.updateLayoutRectangles()&&(this.updateFlippers(),this.ensureActiveTabIsVisible())},t.prototype.showFlipper=function(e){e&&"false"!==e.getAttribute(t.ariaHidden)&&e.setAttribute(t.ariaHidden,"false"),e&&!this.flipperWidth&&(this.flipperWidth=o.getClientRect(e).width)},t.prototype.hideFlipper=function(e){e&&"true"!==e.getAttribute(t.ariaHidden)&&e.setAttribute(t.ariaHidden,"true")},t.prototype.onPivotChanged=function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1),this.isDisabled()||(e&&e!==this.activePivotHeader?this.updatePivot(e,t,i):this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible())},t.prototype.publish=function(e,t){var i=e,n=e;i.onPivotChanged&&i.onPivotChanged(t),n.onControllerIndexChanged&&n.onControllerIndexChanged(t)},t.prototype.updateBrowserAddressUrl=function(e){var i,n=window.history;!(!n||!n.pushState)&&(r.isNullOrWhiteSpace(e)||"#"===e||(void 0,i=a.getQSPValue(t.activeTabQSPKeyName).length>0?this.updateCurrentUrl(e):e,n.replaceState({},document.title||"",i)))},t.prototype.updateCurrentUrl=function(e){var i,n=location.href.split("?");if(1===n.length)return e;if(n.length>1){var s=n[1].split("&"),o=[],r=[],l=a.getQSPFromUrl(e,t.activeTabQSPKeyName),c=decodeURIComponent(l).split(":");s.forEach((function(e){var i,n=e.split("=");n.length>1&&n[0]===t.activeTabQSPKeyName?(i=n[1].split("|")).length>=1?i.forEach((function(e){decodeURIComponent(e).split(":")[0].toLocaleLowerCase()===c[0].toLocaleLowerCase()?r.push(l):r.push(e)})):r.push(n[1]):o.push(e)})),i=r.length>0?r.join("|"):l,o.push(t.activeTabQSPKeyName+"="+i),n[1]=o.join("&")}return n.join("?")},t.prototype.updatePivot=function(e,i,n){var s,r,l,c,u,h,d,p,m,g,v,f=!1,b=this.activePivotHeader;if(this.activePivotHeader=e,this.activePivotHeader){var y=b?b.getAttribute("aria-controls"):null,C=this.activePivotHeader?this.activePivotHeader.getAttribute("aria-controls"):null,E=void 0,w=void 0;for(s=0;s<this.pivotTabs.length;s++)if((r=this.pivotTabs[s])===b){if(E=s,a.isNumber(w))break}else if(r===e&&(w=s,a.isNumber(E)))break;if(b&&(o.removeClass(b,t.activePivotSelector),b.setAttribute(t.ariaSelected,"false"),b.setAttribute(t.tabIndexAttribute,"-1"),f=document.activeElement===b),o.addClass(this.activePivotHeader,t.activePivotSelector),this.activePivotHeader.setAttribute(t.ariaSelected,"true"),this.isInteractive&&!this.isDisabled()&&this.activePivotHeader.setAttribute(t.tabIndexAttribute,"0"),this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible(n),this.isInteractive&&(i||f)&&(this.activePivotHeader.focus(),this.pivotHeader.scrollLeft=0),C){for(l=null,c=0,u=C.split(" ");c<u.length;c++)for(h=u[c],d=0,p=this.pivots;d<p.length;d++)if((v=p[d]).id===h){l=v;break}if(l&&(!this.activePivot||this.activePivot!==l))for(m=0,g=this.pivots;m<g.length;m++)(v=g[m])===l?(this.showPivot(v),this.activePivot=l):this.hidePivot(v)}"A"===this.activePivotHeader.tagName&&this.updateBrowserAddressUrl(this.activePivotHeader.getAttribute("href")),this.initiatePublish({previousIndex:E,currentIndex:w,activePivotId:C,previousPivotId:y})}},t.prototype.showPivot=function(e){!e||e.setAttribute(t.ariaHidden,"false")},t.prototype.hidePivot=function(e){!e||e.setAttribute(t.ariaHidden,"true")},t.prototype.isDisabled=function(){return this.pivotElement.getAttribute(t.state)===t.disabled},t.prototype.triggerCta=function(){if(this.activePivot){var e=o.selectFirstElement(".c-call-to-action",this.activePivot);if(e&&"true"!==e.getAttribute("aria-disabled"))return e.click(),!0}return!1},t.selector=".c-pivot",t.typeName="Pivot",t.headerSelector='[role="tablist"]',t.tabSelector='[role="tab"]',t.panelSelector='.c-pivot > [role="tabpanel"]',t.tabIndexAttribute="tabIndex",t.activeTabQSPKeyName="activetab",t.state="data-f-state",t.disabled="disabled",t.activePivotSelector="f-active",t.ariaHidden="aria-hidden",t.ariaSelected="aria-selected",t.ariaSetSize="aria-setsize",t.ariaPosInSet="aria-posinset",t.transitionDuration="600ms",t}(s.Publisher);t.Pivot=u}.apply(t,n),void 0===s||(e.exports=s)},productPlacement:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility"),i("handleImageError"),i("breakpointTracker")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esMo
2dule",{value:!0});var l=function(e){function t(t){var i=e.call(this,t)||this;return i.onWindowResize=function(){i.onResize()},i.update(),i.isFlexLayout&&!!i.products&&a.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(e){i.onBreakpointChanged(e)}}),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,n=this;if(this.element){this.carousel=s.selectFirstElement(".c-carousel",this.element),this.products=s.selectFirstElement("ul",this.element),this.seeAll=s.selectFirstElement('[class^="c-heading"] .c-hyperlink[aria-label]',this.element),this.isFlexLayout="true"===this.element.getAttribute("data-js-flex"),this.flexProductsLength=s.selectElements("li",this.products).length;var o=this.seeAll?this.seeAll.parentElement:null,r=s.selectElements(".f-default-image img",this.element),l=function(e){e.onerror=function(){n.handleProductPlacementImageError(e)},s.isImageLoadFailed(e)&&c.handleProductPlacementImageError(e)},c=this;for(e=0,i=r;e<i.length;e++)l(i[e]);this.isFlexLayout&&this.products&&(this.coerceFlexProductsLength(),this.onBreakpointChanged({breakpoint:a.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0})),(!this.carousel||!this.products||!this.seeAll||s.hasClass(o,t.showAllAlwaysClass))&&(!this.isFlexLayout||!this.products)||(this.onResize(),this.resizeListener=s.addThrottledEvent(window,s.eventTypes.resize,this.onWindowResize))}},t.prototype.teardown=function(){s.removeEvent(window,s.eventTypes.resize,this.resizeListener),this.carousel=null,this.products=null,this.seeAll=null,this.resizeListener=null},t.prototype.onResize=function(){var e;!this.carousel||!this.products||!this.seeAll||(e=o.getDimensions(this.carousel).width,o.getDimensions(this.products).width<e?this.seeAll.setAttribute(t.ariaHidden,"true"):this.seeAll.removeAttribute(t.ariaHidden)),this.isFlexLayout&&this.products&&(e=this.flexProductsLength*t.flexItemDefaultWidth+"px",s.css(this.products,"width",o.Viewports.getViewport()<3?e:"auto"))},t.prototype.coerceFlexProductsLength=function(){var e,i=s.selectElements("li",this.products);if(i.length>t.flexProductsMaxLength)for(this.flexProductsLength=t.flexProductsMaxLength,e=t.flexProductsMaxLength;e<i.length;e++)i[e].setAttribute("aria-hidden","true");else if(i.length<t.flexProductsMaxLength)for(e=i.length;e<t.flexProductsMaxLength;e++)this.ignoreNextDOMChange=!0,this.products.appendChild(document.createElement("li"))},t.prototype.onBreakpointChanged=function(e){var t=s.selectElements("li",this.products);e.breakpoint<2?(s.addClass(this.element,"f-scrollable"),t[7].setAttribute("aria-hidden",t[7].firstChild?"false":"true"),t[6].setAttribute("aria-hidden",t[6].firstChild?"false":"true"),t[5].setAttribute("aria-hidden",t[5].firstChild?"false":"true"),t[4].setAttribute("aria-hidden",t[4].firstChild?"false":"true")):(s.removeClass(this.element,"f-scrollable"),t[7].setAttribute("aria-hidden",e.breakpoint<4?"true":"false"),t[6].setAttribute("aria-hidden",e.breakpoint<4?"true":"false"),t[5].setAttribute("aria-hidden",e.breakpoint<3?"true":"false"),t[4].setAttribute("aria-hidden",e.breakpoint<3?"true":"false")),this.setProductImageHeight()},t.prototype.setProductImageHeight=function(){var e="default";s.selectElements('li[aria-hidden="false"] .m-product-placement-item[class*="context-movie"]',this.products).length>0?e="movie":s.selectElements('li[aria-hidden="false"] .m-product-placement-item[class*="context-device"]',this.products).length>0&&0===s.selectElements('li[aria-hidden="false"] .m-product-placement-item:not([class*="context-device"])',this.products).length&&(e="device"),s.removeClasses(this.products,["f-height-default","f-height-device","f-height-movie"]),s.addClasses(this.products,["f-height-"+e,"f-visible"])},t.prototype.handleProductPlacementImageError=function(e){for(var t,i,n=!1,o=e;!n&&o.parentElement;)o=o.parentElement,s.hasClass(o,"m-product-placement-item")&&(n=!0);n&&(void 0,t=s.hasClass(o,"context-app")?1:s.hasClass(o,"context-person")||s.hasClass(o,"context-artist")?2:s.hasClass(o,"context-video")?3:0,i=s.hasClass(o,"f-size-small")?1:0,r.handleImageError(e,i,t))},t.selector=".m-product-placement",t.typeName="ProductPlacement",t.flexProductsMaxLength=8,t.flexItemDefaultWidth=124,t.ariaHidden="aria-hidden",t.showAllAlwaysClass="js-product-placement-persist-show-all",t}(n.ObservableComponent);t.ProductPlacement=l}.apply(t,n),void 0===s||(e.exports=s)},productPlacementItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){this.explicit=s.selectFirstElement(t.explicitSelector,this.element),this.heading=s.selectFirstElement(t.headingSelector,this.element),this.explicit&&this.heading&&this.setExplicitPosition()},t.prototype.teardown=function(){},t.prototype.setExplicitPosition=function(){s.getClientRect(this.heading).height<3*t.headingLineHeight&&(s.css(this.explicit,"position","relative"),s.css(this.explicit,"bottom","inherit"))},t.selector=".m-product-placement-item",t.typeName="ProductPlacementItem",t.explicitSelector=".c-explicit",t.headingSelector=".c-heading",t.headingLineHeight=20,t}(n.ObservableComponent);t.ProductPlacementItem=o}.apply(t,n),void 0===s||(e.exports=s)},publisher:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent")],s=function(e,t,i,n){Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.element=t,n}return i.__extends(t,e),t.prototype.subscribe=function(e){if(!e)return!1;if(this.subscribers){if(-1!==this.subscribers.indexOf(e))return!1}else this.subscribers=[];return this.subscribers.push(e),!0},t.prototype.unsubscribe=function(e){if(!e||!this.subscribers||!this.subscribers.length)return!1;var t=this.subscribers.indexOf(e);return-1!==t&&(this.subscribers.splice(t,1),!0)},t.prototype.hasSubscribers=function(){return!!this.subscribers&&this.subscribers.length>0},t.prototype.initiatePublish=function(e){var t,i,n;if(this.hasSubscribers())for(t=0,i=this.subscribers;t<i.length;t++)n=i[t],this.publish(n,e)},t.prototype.update=function(){},t.prototype.teardown=function(){},t}(n.ObservableComponent);t.Publisher=s}.apply(t,n),void 0===s||(e.exports=s)},rangeSlider:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility"),i("swipe")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(i){var n=e.call(this,i)||this;return n.element=i,n.handleNumberInputChangeEvent=function(e){var t=e,i=o.getKeyCode(t),r=t.shiftKey?10:1,a=s.getEventTargetOrSrcElement(e),l=parseFloat(a.value);isNaN(l)&&(n.minimumInput===a?l=n.currentMinimumValue:n.maximumInput===a&&(l=n.currentMaximumValue)),n.handleNumberInputChange(l,i,r,a)},n.handleNumberInputChange=function(e,t,i,s){38===t&&(e+=i),40===t&&(e-=i),n.updateFromChangedElement(s,e)},n.handleNumberInputKeyDownEvent=function(e){var t,i=o.getKeyCode(e),r=s.getEventTargetOrSrcElement(e),a=parseFloat(r.value);(38===i||40===i)&&(s.preventDefault(e),t=e.shiftKey?10:1,a+=t=38===i?t:-1*t,n.updateFromChangedElement(r,a))},n.updateFromChangedElement=function(e,t){var i,s;e===n.minimumInput||e===n.minimumSlider?(i=parseFloat(n.maximumInput.getAttribute("value")),s=n.minimum,isNaN(i)||t>i?(n.syncInputAndSlider(n.minimumInput,n.minimumSlider,i),n.currentMinimumValue=i):t<s?(n.syncInputAndSlider(n.minimumInput,n.minimumSlider,s),n.currentMinimumValue=s):(n.syncInputAndSlider(n.minimumInput,n.minimumSlider,t),n.currentMinimumValue=t)):(e===n.maximumInput||e===n.maximumSlider)&&(i=n.maximum,s=parseFloat(n.minimumInput.getAttribute("value")),isNaN(s)||t<s?(n.syncInputAndSlider(n.maximumInput,n.maximumSlider,s),n.currentMaximumValue=s):t>i?(n.syncInputAndSlider(n.maximumInput,n.maximumSlider,i),n.currentMaximumValue=i):(n.syncInputAndSlider(n.maximumInput,n.maximumSlider,t),n.currentMaximumValue=t)),n.updateRangeUI()},n.handleSliderKeyboard=function(e){var t=s.getEventTargetOrSrcElement(e),i=o.getKeyCode(e),r=parseFloat(t.getAttribute("aria-valuenow")),a=e.shiftKey?10:1;i===(n.primaryDirection===s.Direction.left?39:37)?(n.updateFromChangedElement(t,r+a),s.preventDefault(e)):i===(n.primaryDirection===s.Direction.left?37:39)&&(n.updateFromChangedElement(t,r-a),s.preventDefault(e))},n.handleSliderMouseDown=function(e){n.swipeActive=new r.Swipe([window],{move:n.handleSliderMouseMove,end:n.handleSliderMouseUp},r.SwipeOrientation.Horizontal,["touch","pointer"],1),n.activelyAdjustedSlider=s.getEventTargetOrSrcElement(event),s.addClass(n.activelyAdjustedSlider===n.minimumSlider?n.minimumInput:n.maximumInput,t.activlyAdjustingClassName),n.mousedownReferenceLocation=e.coordinate.x,n.mousedownReferenceOffset=n.activelyAdjustedSlider.style[n.offsetDirection]},n.handleSliderMouseUp=function(){n.swipeActive&&n.swipeActive.tearDown(),s.removeClass(n.activelyAdjustedSlider===n.minimumSlider?n.minimumInput:n.maximumInput,t.activlyAdjustingClassName),n.activelyAdjustedSlider=null,n.mousedownReferenceLocation=null,n.mousedownReferenceOffset=null},n.handleSliderMouseMove=function(e){n.animationFrameRequestInProgress||n.requestAnimationFrame.call(window,(function(){return n.requestSliderHandleUpdate(e.coordinate.x)}))},n.requestAnimationFrame=s.SafeBrowserApis.requestAnimationFrame,n.update(),n}return i.__extends(t,e),t.prototype.update=function(){if(this.element){var e=s.selectElements("input",this.element);2===e.length&&(this.minimumInput=e[0],this.maximumInput=e[1],this.minimum=parseInt(this.minimumInput.getAttribute("min"),10)||0,this.maximum=parseInt(this.maximumInput.getAttribute("max"),10)||100,this.createRangeSliderUI(),this.primaryDirection=s.getDirection(this.element),this.offsetDirection=this.primaryDirection===s.Direction.left?"left"
2:"right",this.updateRangeUI(),s.addEvents([this.minimumInput,this.maximumInput],"change",this.handleNumberInputChangeEvent),s.addEvents([this.minimumInput,this.maximumInput],"keydown",this.handleNumberInputKeyDownEvent),s.addEvents([this.minimumSlider,this.maximumSlider],"keydown",this.handleSliderKeyboard),this.swipeDown=new r.Swipe([this.minimumSlider,this.maximumSlider],{start:this.handleSliderMouseDown},r.SwipeOrientation.All,["touch","pointer"]))}},t.prototype.teardown=function(){s.removeEvents([this.minimumInput,this.maximumInput],"change",this.handleNumberInputChangeEvent),s.removeEvents([this.minimumInput,this.maximumInput],"keydown",this.handleNumberInputKeyDownEvent),s.removeEvents([this.minimumSlider,this.maximumSlider],"keydown",this.handleSliderKeyboard),this.swipeDown&&this.swipeDown.tearDown()},t.prototype.publish=function(e,t){e.onValueChanged&&e.onValueChanged(t)},t.prototype.createSlider=function(e){var t=document.createElement("div");return t.setAttribute("role","slider"),t.setAttribute("aria-valuemin",this.minimum.toString()||"0"),t.setAttribute("aria-valuemax",this.maximum.toString()||"100"),t.setAttribute("aria-valuenow",e.getAttribute("value")||"0"),t.setAttribute("aria-label",""),t.setAttribute("tabindex","0"),this.currentMinimumValue=this.minimum||0,this.currentMaximumValue=this.maximum||100,t},t.prototype.createRangeSliderUI=function(){if(!this.slider)return this.slider=document.createElement("div"),this.innerRange=document.createElement("div"),this.minimumSlider=this.createSlider(this.minimumInput),this.maximumSlider=this.createSlider(this.maximumInput),this.minimumSlider.setAttribute("aria-label",this.minimumInput.getAttribute("data-js-range-slider-minimum-label")),this.maximumSlider.setAttribute("aria-label",this.maximumInput.getAttribute("data-js-range-slider-maximum-label")),this.minimumInput.removeAttribute("data-js-range-slider-minimum-label"),this.maximumInput.removeAttribute("data-js-range-slider-maximum-label"),this.selectedRangeIndicator=document.createElement("span"),this.innerRange.appendChild(this.minimumSlider),this.innerRange.appendChild(this.maximumSlider),this.innerRange.appendChild(this.selectedRangeIndicator),this.slider.appendChild(this.innerRange),this.element.appendChild(this.slider),void s.preventDefaultSwipeAction(this.element)},t.prototype.updateRangeUI=function(){var e=parseInt(this.minimumSlider.getAttribute("aria-valuenow"),10),t=parseInt(this.maximumSlider.getAttribute("aria-valuenow"),10),i=this.calculateOffset(e,this.maximum),n=this.calculateOffset(t,this.maximum);this.minimumSlider.style[this.offsetDirection]=i.toString().concat("%"),this.maximumSlider.style[this.offsetDirection]=n.toString().concat("%"),this.selectedRangeIndicator.style[this.offsetDirection]=i.toString().concat("%"),this.selectedRangeIndicator.style.width=(n-i).toString().concat("%"),this.initiatePublish({minimum:e,maximum:t})},t.prototype.requestSliderHandleUpdate=function(e){this.animationFrameRequestInProgress=!1;var t=e-this.mousedownReferenceLocation,i=parseFloat(this.mousedownReferenceOffset),n=t/this.innerRange.clientWidth*100,o=this.primaryDirection===s.Direction.left?i+n:i-n,r=Math.floor(o/100*this.maximum);this.updateFromChangedElement(this.activelyAdjustedSlider,r)},t.prototype.calculateOffset=function(e,t){if(isNaN(e)||isNaN(t))return 0;var i=e/t*100;return i<0||i>100?0:i},t.prototype.syncInputAndSlider=function(e,t,i){if(!isNaN(i)){var n=i.toString();e.setAttribute("value",n),e.value=n,t.setAttribute("aria-valuenow",n)}},t.selector=".c-range-slider",t.typeName="RangeSlider",t.activlyAdjustingClassName="f-adjusting",t}(n.Publisher);t.RangeSlider=a}.apply(t,n),void 0===s||(e.exports=s)},rating:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.onRatingSelect=function(e){i.handleRatingSelect(s.getEventTargetOrSrcElement(e))},i.onKeydown=function(e){switch(o.getKeyCode(e)){case 13:case 32:i.handleRatingSelect(s.getEventTargetOrSrcElement(e))}},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.buttons=s.selectElements("button",this.element),this.buttonClasse
2s=this.getButtonClasses(),this.userRated=s.hasClass(this.element,t.userRatedSelector),this.communityRated=s.hasClass(this.element,t.communityRatedSelector),s.addEvent(this.buttons,s.eventTypes.keydown,this.onKeydown),s.addEvent(this.buttons,s.eventTypes.click,this.onRatingSelect)},t.prototype.teardown=function(){s.removeEvent(this.buttons,s.eventTypes.keydown,this.onKeydown),s.removeEvent(this.buttons,s.eventTypes.click,this.onRatingSelect)},t.prototype.handleRatingSelect=function(e){s.addClasses(this.element,[t.userRatedSelector,t.communityRatedSelector]),this.removeButtonClasses(),this.setButtonStyle(e);for(var i=0;i<this.buttons.length;i++)if(e===this.buttons[i]){this.selectedRating=i+1;break}},t.prototype.getButtonClasses=function(){for(var e=[],i=0,n=this.buttons.length;i<n;i++)s.hasClass(this.buttons[i],t.fullClass)?e.push(t.fullClass):s.hasClass(this.buttons[i],t.halfClass)?e.push(t.halfClass):s.hasClass(this.buttons[i],t.noneClass)?e.push(t.noneClass):e.push("");return e},t.prototype.removeButtonClasses=function(){for(var e=0,t=this.buttons.length;e<t;e++)s.removeClass(this.buttons[e],this.buttonClasses[e])},t.prototype.resetButtonClasses=function(){for(var e=0,i=this.buttonClasses.length;e<i;e++)s.addClasses(this.buttons[e],[this.buttonClasses[e]]),s.hasClass(this.buttons[e],t.fullClass)&&this.buttonClasses[e]!==t.fullClass&&s.removeClass(this.buttons[e],t.fullClass)},t.prototype.setButtonStyle=function(e){for(var i=!0,n=0,o=this.buttons.length;n<o;n++)!0===i?(s.addClasses(this.buttons[n],[t.fullClass]),this.buttons[n].setAttribute("aria-pressed","true")):(s.removeClass(this.buttons[n],t.fullClass),this.buttons[n].setAttribute("aria-pressed","false")),this.buttons[n]===e&&(i=!1)},t.selector=".c-rating.f-interactive",t.typeName="Rating",t.userRatedSelector="f-user-rated",t.communityRatedSelector="f-community-rated",t.fullClass="f-full",t.halfClass="f-half",t.noneClass="f-none",t}(n.ObservableComponent);t.Rating=r}.apply(t,n),void 0===s||(e.exports=s)},refineItem:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions"),i("stringExtensions")],s=function(e,t,i,n){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(t){var n=this;this.element=t,this.setSelectedLabels=function(){var t,s;if(n.selectedLabel="Active refinement:",n.unSelectedLabel="Refine by",n.element.hasAttribute(e.dataSelectedLabel)||n.element.hasAttribute(e.dataUnSelectedLabel))n.selectedLabel=n.element.getAttribute(e.dataSelectedLabel)||n.selectedLabel,n.unSelectedLabel=n.element.getAttribute(e.dataUnSelectedLabel)||n.unSelectedLabel;else for(t=n.element.parentElement;null!=t&&t.parentElement;)s=t.parentElement,i.hasClass(t,"c-refine-menu")&&(n.selectedLabel=t.getAttribute(e.dataSelectedLabel)||n.selectedLabel,n.unSelectedLabel=t.getAttribute(e.dataUnSelectedLabel)||n.unSelectedLabel,s=null),t=s;n.selectedLabel=n.selectedLabel+" {0}",n.unSelectedLabel=n.unSelectedLabel+" {0}"},this.toggleRefineItem=function(){n.changeItemState(!n.isSelected())},this.element&&(this.element.hasAttribute("role")?(this.isRadioItem="radio"===this.element.getAttribute("role"),this.ariaAttribute=this.isRadioItem?"aria-checked":"aria-selected"):(this.isUpdatedShape=!0,this.label=i.getText(i.selectFirstElement("span",this.element))),this.setSelectedLabels(),this.changeItemState(this.isSelected()),i.addEvent(this.element,i.eventTypes.click,this.toggleRefineItem))}return e.prototype.isSelected=function(){return this.isUpdatedShape?i.hasClass(this.element,e.selectedClass):"true"===this.element.getAttribute(this.ariaAttribute)},e.prototype.changeItemState=function(t){this.isUpdatedShape?t?(i.addClass(this.element,e.selectedClass),this.element.setAttribute(e.ariaLabel,n.format(this.selectedLabel,this.label))):(i.removeClass(this.element,e.selectedClass),this.element.setAttribute(e.ariaLabel,n.format(this.unSelectedLabel,this.label))):this.element.setAttribute(this.ariaAttribute,t.toString())},e.prototype.unselectItem=function(){this.changeItemState(!1)},e.prototype.teardown=function(){i.removeEvent(this.element,i.eventTypes.click,this.toggleRefineItem)},e.selector=".c-refine-item",e.typeName="RefineItem",e.selectedClass="f-selected",e.dataSelectedLabel="data-selected-label",e.dataUnSelectedLabel="data-unselected-label",e.ariaLabel="aria-label",e}();t.RefineItem=s}.apply(t,n),void 0===s||(e.exports=s)},refineMenu:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("drawer"),i("utility"),i("refineItem"),i("breakpointTracker"),i("htmlExtensions")],s=function(e,t,i,n,s,o,r,a,l){Object.defineProperty(t,"__esMo
2dule",{value:!0});var c=function(e){function t(t){var i=e.call(this,t)||this;return i.onBreakpointChanged=function(e){var t="true"===i.element.getAttribute("data-force-expand");e.breakpoint<2&&!t?i.expandMenu(!1):i.expandMenu(!0)},i.handleMenuClick=function(e){var t=l.getEventTargetOrSrcElement(e);switch(t){case i.collapseButton:i.expandMenu(!1);break;case i.expandButton:i.expandMenu(!0);break;default:i.manageRadioGroupClick(t)}},i.handleKeyDown=function(e){var t=l.getEventTargetOrSrcElement(e);if(-1!==i.getRefineItemIndex(t))switch(o.getKeyCode(e)){case 37:case 38:i.setFocusToAdjacentRefineItem(t,!1)&&l.preventDefault(e);break;case 39:case 40:i.setFocusToAdjacentRefineItem(t,!0)&&l.preventDefault(e);break;case 32:l.preventDefault(e),t.click()}},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.getRefineMenuItems(),this.setTabIndexes(),this.collapseButton=l.selectFirstElement(".c-heading + button.c-action-trigger",this.element)||l.selectFirstElement(".js-collapse-refinemenu",this.element),this.expandButton=l.selectFirstElement("[data-mobile-target] + button.c-action-trigger",this.element)||l.selectFirstElement(".js-expand-refinemenu",this.element),this.mobileTarget=l.selectFirstElement("[data-mobile-target]",this.element),this.collapseButton&&this.expandButton&&this.mobileTarget)&&(a.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:this.onBreakpointChanged}),l.addEvent(this.element,l.eventTypes.click,this.handleMenuClick),l.addEvent(this.element,l.eventTypes.keydown,this.handleKeyDown),this.onBreakpointChanged({breakpoint:a.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0}))},t.prototype.teardown=function(){var e,t;for(l.removeEvent(this.element,l.eventTypes.click,this.handleMenuClick),l.removeEvent(this.element,l.eventTypes.keydown,this.handleKeyDown),this.collapseButton=null,this.expandButton=null,this.mobileTarget=null,e=0,t=this.refineItems;e<t.length;e++)t[e].teardown();this.refineItems=[]},t.prototype.manageRadioGroupClick=function(e){var t,i="SPAN"===e.nodeName?e.parentNode:e,n=null!=i?i.parentNode.parentNode:null;if(null==i||null==n)return null;this.processGroupSelection(i,n),t=null,"LI"===n.parentElement.nodeName?t=n.parentElement.parentElement:l.hasClass(n.parentElement,"c-drawer")||"LI"!==n.parentElement.parentElement.nodeName||(t=n.parentElement.parentElement.parentElement),t&&this.processGroupSelection(i,t)},t.prototype.processGroupSelection=function(e,i){var n,s,o,r,a;if(!e||!i)return null;if(n=i.getAttribute(t.selectTypeProperty)===t.singleSelectValue,!i.hasAttribute(t.selectTypeProperty)&&i.parentElement.hasAttribute("role")&&(n="radiogroup"===(i=i.parentNode).getAttribute("role")),n)for(s=0,o=this.refineItems;s<o.length;s++)(a=(r=o[s]).element)!==e&&l.isDescendant(i,a)&&r.unselectItem()},t.prototype.getRefineMenuItems=function(){var e,t,i;for(this.refineItems=[],e=0,t=l.selectElements(r.RefineItem.selector,this.element);e<t.length;e++)i=t[e],this.refineItems.push(new r.RefineItem(i))},t.prototype.expandMenu=function(e){this.mobileTarget.setAttribute("aria-hidden",(!e).toString()),this.expandButton.setAttribute("aria-expanded",e.toString()),this.collapseButton.setAttribute("aria-expanded",e.toString()),l.css(this.expandButton,"display",e?"none":"block"),e?this.collapseButton.focus():this.expandButton.focus()},t.prototype.setTabIndexes=function(){for(var e,t,i,n=0,o=l.selectElements(s.Drawer.selector,this.element);n<o.length;n++)if(e=o[n],(t=l.selectElements(r.RefineItem.selector,e))&&t.length)for(t[0].tabIndex=0,i=1;i<t.length;i++)t[i].tabIndex=-1},t.prototype.setFocusToAdjacentRefineItem=function(e,t){var i,n,s,o;if(!e||!e.parentElement||!e.parentElement.parentElement||"UL"!==(i=e.parentElement.parentElement).tagName&&"OL"!==i.tagName||(-1===(n=this.getRefineItemIndex(e))||0===n&&!t||n>=this.refineItems.length-1&&t))return!1;n+=t?1:-1;var r=this.refineItems[n].element,a=this.getContainingDrawer(e),l=this.getContainingDrawer(r);return!(!a||a!==l)&&(s=document.activeElement,o=r.tabIndex,r.tabIndex=0,r.focus(),r.tabIndex=o,document.activeElement!==s)},t.prototype.getRefineItemIndex=function(e){for(var t=0;t<this.refineItems.length;t++)if(this.refineItems[t].element===e)return t;return-1},t.prototype.getContainingDrawer=function(e){return l.getParent(e,s.Drawer.selector)},t.selector=".c-refine-menu",t.typeName="RefineMenu",t.selectTypeProperty="data-js-select-type",t.singleSelectValue="single-select",t}(n.ObservableComponent);t.RefineMenu=c}.apply(t,n),void 0===s||(e.exports=s)},select:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("publisher"),i("selectMenu"),i("htmlExtensions"),i("stringE
2xtensions")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(t){var i=e.call(this,t)||this;return i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,s,l,c,u,h,d=this;if(this.element&&(this.select=r.selectFirstElementT("select",this.element),this.options=r.selectElementsT("option",this.select),this.select&&this.options)){!this.select.id&&this.element.id&&(this.select.id=this.element.id+"-select"),this.selectMenuDiv?r.removeInnerHtml(this.selectMenuDiv):this.selectMenuDiv=document.createElement("div"),this.selectMenuTrigger=document.createElement("button"),e=document.createElement("ul"),r.addClass(this.selectMenuDiv,"c-select-menu"),r.addClass(this.selectMenuDiv,"f-persist"),r.hasClass(this.element,"f-border")&&r.addClass(this.selectMenuDiv,"f-border"),r.hasClass(this.element,"f-accent")&&r.addClass(this.selectMenuDiv,"f-accent");var p=this.select.getAttribute(t.placeHolder),m=this.select.getAttribute(t.ariaLabel),g=this.select.getAttribute(t.selectedAriaLabel),v=this.select.getAttribute(t.ariaLabelledBy),f=this.select.getAttribute(t.selectedAriaLabelledBy),b=this.select.getAttribute(t.ariaDescribedBy);for(p&&(this.selectMenuTrigger.setAttribute(t.placeHolder,p),r.setText(this.selectMenuTrigger,p)),m&&(p||r.setText(this.selectMenuTrigger,m),this.selectMenuTrigger.setAttribute(t.ariaLabel,m)),g&&this.selectMenuTrigger.setAttribute(t.selectedAriaLabel,g),v&&this.selectMenuTrigger.setAttribute(t.ariaLabelledBy,v),f&&this.selectMenuTrigger.setAttribute(t.selectedAriaLabelledBy,f),b&&this.selectMenuTrigger.setAttribute(t.ariaDescribedBy,b),this.selectMenuTrigger.setAttribute(t.ariaHaspopup,"listbox"),this.selectMenuTrigger.setAttribute(t.ariaExpanded,"false"),this.selectMenuTrigger.setAttribute("tabindex","0"),r.addClass(e,"c-menu"),r.hasClass(this.element,"f-scroll")&&r.addClass(e,"f-scroll"),e.setAttribute(t.ariaHidden,"true"),e.setAttribute("role","listbox"),e.setAttribute("tabindex","0"),r.hasClass(this.element,"f-flex")&&r.addClass(this.selectMenuDiv,"f-flex"),this.select.hasAttribute("disabled")&&(this.selectMenuDiv.setAttribute("aria-disabled","true"),this.selectMenuTrigger.disabled=!0,this.selectMenuTrigger.removeAttribute(t.ariaHaspopup)),this.select.hasAttribute("required")&&this.selectMenuDiv.setAttribute("aria-required","true"),this.idPrefix=(this.element.id||this.select.id)+"-generated-select-menu-",this.selectMenuTrigger.id=this.idPrefix+"trigger",i=this.options.length,s=!1,l=0;l<i;l++){var y=this.options[l],C=y.getAttribute("selected"),E="selected"===C||"true"===C||""===C,w=y.getAttribute("disabled"),S="disabled"===w||"true"===w||""===w,T=document.createElement("li"),x=document.createElement("span");r.addClass(T,"c-menu-item"),T.setAttribute("role","presentation"),x.setAttribute("tabindex","0"),x.setAttribute("role","option"),x.setAttribute("aria-posinset",(l+1).toString()),x.setAttribute("aria-setsize",i.toString()),r.hasClass(y,"f-context-action-trigger")&&r.addClass(x,"f-context-action-trigger"),!E||s||S||(s=!0,x.setAttribute(t.ariaSelected,"true")),S&&T.setAttribute("aria-disabled","true"),y.hasAttribute("data-icon")&&(c=y.getAttribute("data-icon"),a.isNullOrWhiteSpace(c)||((u=document.createElement("img")).src=c,x.appendChild(u),r.addClass(x,"f-icon"))),T.id=this.idPrefix+l.toString(),y.setAttribute(t.dataValue,T.id),(h=document.createElement("p")).appendChild(document.createTextNode(r.getText(y))),x.appendChild(h),T.appendChild(x),e.appendChild(T)}s||(this.select.selectedIndex=-1),this.selectMenuDiv.appendChild(this.selectMenuTrigger),this.selectMenuDiv.appendChild(e),this.element.insertBefore(this.selectMenuDiv,this.select),this.ignoreNextDOMChange=!0,n.ComponentFactory.create([{component:o.SelectMenu,eventToBind:"DOMContentLoaded",elements:[this.selectMenuDiv],callback:function(e){!e&&!e.length||(d.selectMenu=e[0],d.selectMenu.subscribe(d))}}]),this.select.hasAttribute("autofocus")&&this.focus()}},t.prototype.teardown=function(){this.select=null,this.options=null,this.selectMenu=null},t.prototype.publish=function(e,t){e.onSelectionChanged(t)},t.prototype.onSelectionChanged=function(e){var i,n,s,o,r;if(e&&e.id){for(i=null,n=0,s=this.options;n<s.length;n++)o=s[n],e.id===o.getAttribute(t.dataValue)?(o.setAttribute("selected","selected"),i=o):o.removeAttribute("selected");i&&(e.id=i.value,this.selectMenuTrigger.removeAttribute(t.ariaLabel),r=(r=this.selectMenuTrigger.getAttribute(t.selectedAriaLabel)||this.selectMenuDiv.getAttribute(t.defaultAr
2iaLabel))?a.format(r,i.innerText):i.innerText,this.selectMenuTrigger.setAttribute(t.ariaLabel,r),this.initiatePublish(e))}},t.prototype.setSelectedItem=function(e){if(!e||!this.selectMenu||!this.options||!this.idPrefix)return!1;for(var t=0;t<this.options.length;t++)if(this.options[t].value===e)return this.selectMenu.setSelectedItem(this.idPrefix+t.toString());return!1},t.prototype.focus=function(){this.selectMenuTrigger.focus()},t.selector=".c-select",t.typeName="Select",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaHaspopup="aria-haspopup",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.selectedAriaLabel="data-selected-aria-label",t.defaultAriaLabel="data-default-aria-label",t.ariaLabelledBy="aria-labelledby",t.selectedAriaLabelledBy="data-selected-aria-labelledby",t.ariaDescribedBy="aria-describedby",t.placeHolder="data-placeholder",t.dataValue="data-value",t}(s.Publisher);t.Select=l}.apply(t,n),void 0===s||(e.exports=s)},selectButton:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.onClick=function(){i.toggleCheckedState()},t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){if(this.buttonContainer=this.element.parentNode,this.buttonContainer){var e=this.buttonContainer.getAttribute(t.ariaLabelledBySelector);this.ariaLabelledByElement=document.getElementById(e),this.nameSelector='.c-select-button[name="'+this.element.getAttribute("name")+'"]',this.selectedText=this.element.getAttribute(t.selectedTextSelector),this.unselectedText=this.element.getAttribute(t.unselectedTextSelector),this.prepareSwatches(),s.addEvent(this.element,s.eventTypes.click,this.onClick)}},t.prototype.teardown=function(){s.removeEvent(this.element,s.eventTypes.click,this.onClick)},t.prototype.prepareSwatches=function(){var e=this.element.getAttribute("data-select-button-swatch"),i=o.detectContrast(e);!i||(this.element.style.backgroundColor="#"+e,1===i&&s.addClass(this.element,t.darkSwatchClass))},t.prototype.toggleCheckedState=function(){var e,i,n,o=this.selectedText;if(this.element.getAttribute(t.multiSelectAttributeName))this.element.setAttribute(t.checkedAttributeName,this.isChecked()?"false":"true"),this.isChecked()||(o=this.unselectedText);else for(e=0,i=s.selectElements(this.nameSelector);e<i.length;e++)(n=i[e]).setAttribute(t.checkedAttributeName,n===this.element?"true":"false");s.setText(this.ariaLabelledByElement,o)},t.prototype.isChecked=function(){return"true"===this.element.getAttribute(t.checkedAttributeName)},t.selector=".c-select-button",t.typeName="SelectButton",t.checkedAttributeName="aria-pressed",t.multiSelectAttributeName="data-select-button-multiselect",t.selectedTextSelector="data-js-selected-text",t.unselectedTextSelector="data-js-unselected-text",t.ariaLabelledBySelector="aria-labelledby",t.darkSwatchClass="f-swatch-dark",t}(n.ObservableComponent);t.SelectButton=r}.apply(t,n),void 0===s||(e.exports=s)},selectMenu:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("viewportCollision"),i("utility")],s=function(e,t,i,n,s,o,r,a){Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(t){var i=e.call(this,t)||this;return i.onTriggerClick=function(e){e=s.getEvent(e),s.preventDefault(e),i.onTriggerToggled(e)},i.onItemClick=function(e){e=s.getEvent(e),i.onItemSelected(s.getEventTargetOrSrcElement(e),!1,!0),i.trigger.focus()},i.onNonSelectMenuClick=function(e){if(e=s.getEvent(e),i.element&&i.menu){var t=s.getEventTargetOrSrcElement(e);i.element.contains(t)||t!==i.menu&&t.parentElement!==i.menu&&i.collapse()}},i.onNonSelectMenuTab=function(e){e=s.getEvent(e),9===a.getKeyCode(e)&&i.collapse()},i.onTriggerKeyPress=function(e){switch(e=s.getEvent(e),a.getKeyCode(e)){case 13:case 32:s.preventDefault(e),i.onTriggerToggled()}},i.handleMenuKeydownEvent=function(e){e=s.getEvent(e);var t=a.getKeyCode(e);9!==t&&i.isExpanded()&&s.preventDefault(e),i.handleMenuKeydown(s.getEventTargetOrSrcElement(e),t,e)},i.isOptionDisabled=function(e){var t=s.getParent(e,".c-menu-item");return t&&"true"===t.getAttribute("aria-disabled")},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,n,o,r,a,l,c,u;if(this.element){if(this.persist=s.hasClass(this.element,"f-persist"),this.trigger=s.selectFirstElementT('[role="button"]',this.element),this.trigger||(this.trigger=s.selectFirstElementT("button",this.element)),this.trigger){!this.trigger.id&&this.element.i
2d&&(this.trigger.id=this.element.id+"-trigger"),e=this.trigger.getAttribute(t.placeHolder)||s.getText(this.trigger),this.element.setAttribute(t.placeHolder,e);var h=this.trigger.getAttribute(t.ariaLabel),d=this.trigger.getAttribute(t.ariaLabelledBy),p=this.element.getAttribute(t.dataAriaLabelFormat);h&&this.element.setAttribute(t.defaultAriaLabel,h),d&&this.element.setAttribute(t.defaultAriaLabelledBy,d),p&&this.trigger.setAttribute(t.dataAriaLabelFormat,p)}if(this.menu=s.selectFirstElement(".c-menu",this.element),i=s.selectElementsT(".c-menu-item a",this.element),this.items=i.length>0?i:s.selectElementsT(".c-menu-item span",this.element),this.isLtr=s.getDirection(this.menu)===s.Direction.left,this.persist&&(!!s.selectFirstElement("img",this.menu)&&(this.ignoreNextDOMChange=!0,n=document.createElement("img"),o=document.createElement("span"),s.setText(o,s.getText(this.trigger)),s.setText(this.trigger,""),this.trigger.appendChild(n),this.trigger.appendChild(o))),this.trigger&&this.menu&&this.items&&this.items.length){for(r=null,s.hasClass(this.menu,t.fScroll)&&s.addClass(this.element,t.fScroll),this.items.length<=t.fScrollItems?s.removeClass(this.menu,t.fScroll):s.hasClass(this.element,t.fScroll)&&s.addClass(this.menu,t.fScroll),a=0,l=this.items;a<l.length;a++)c=l[a],this.itemIsSelected(c)&&null===r?(r=c,c.setAttribute(this.getSelectedAttribute(c),"true")):c.setAttribute(this.getSelectedAttribute(c),"false"),c.setAttribute("tabindex","-1"),this.cleanSelectedAttributes(c),c.hasAttribute("role")||c.setAttribute("role","menuitem");u=this.isExpanded(),this.onItemSelected(r,!0,!1),this.selectedItem||this.updateAriaLabel(),this.addEventListeners(),u&&this.expand()}}},t.prototype.teardown=function(){var e,t,i;for(s.removeEvent(this.trigger,s.eventTypes.click,this.onTriggerClick),s.removeEvent(this.trigger,s.eventTypes.keydown,this.onTriggerKeyPress),s.removeEvent(this.menu,s.eventTypes.keydown,this.handleMenuKeydownEvent,!0),e=0,t=this.items;e<t.length;e++)i=t[e],s.removeEvent(i,s.eventTypes.click,this.onItemClick);s.removeEvent(document,s.eventTypes.click,this.onNonSelectMenuClick),s.removeEvent(this.items[this.items.length-1],s.eventTypes.keydown,this.onNonSelectMenuTab),this.persist=!1,this.trigger=null,this.menu=null,this.items=null,this.selectedItem=null},t.prototype.setSelectedItem=function(e){if(!e||!this.element)return!1;var t=s.selectFirstElement('[id="'+e+'"] > a',this.element)||s.selectFirstElement('[id="'+e+'"] > span',this.element);return!!t&&this.onItemSelected(t,!1,!1)},t.prototype.updateAriaLabel=function(){if(this.selectedItem){var e=this.trigger.getAttribute(t.selectedAriaLabel)||this.trigger.getAttribute(t.dataAriaLabelFormat)||this.trigger.getAttribute(t.ariaLabel),i=this.trigger.getAttribute(t.selectedAriaLabelledBy)||this.trigger.getAttribute(t.ariaLabelledBy),n=this.selectedItem?this.selectedItem.getAttribute(t.ariaLabel)||s.getText(this.selectedItem):s.getText(this.trigger),r=e?o.format(e,n):n;this.trigger.setAttribute(t.ariaLabel,r),i&&this.trigger.setAttribute(t.ariaLabelledBy,o.format(i,this.trigger.id))}else{this.trigger.removeAttribute(t.ariaLabel),this.trigger.removeAttribute(t.ariaLabelledBy);var a=this.element.getAttribute(t.placeHolder),l=this.element.getAttribute(t.dataAriaLabelFormat)||this.element.getAttribute(t.defaultAriaLabel),c=this.element.getAttribute(t.defaultAriaLabelledBy);a&&s.setText(this.trigger,a),l&&this.trigger.setAttribute(t.ariaLabel,o.format(l,s.getText(this.trigger))),c&&this.trigger.setAttribute(t.ariaLabelledBy,o.format(c,this.trigger.id))}},t.prototype.isExpanded=function(){return!!this.trigger&&!!this.menu&&"true"===this.trigger.getAttribute(t.ariaExpanded)&&"false"===this.menu.getAttribute(t.ariaHidden)},t.prototype.itemIsSelected=function(e){return"true"===e.getAttribute(t.ariaSelected)||"true"===e.getAttribute(t.ariaChecked)},t.prototype.getSelectedAttribute=function(e){return"menuitemradio"===e.getAttribute("role")?t.ariaChecked:t.ariaSelected},t.prototype.cleanSelectedAttributes=function(e){var i=this.getSelectedAttribute(e)===t.ariaSelected?t.ariaChecked:t.ariaSelected;e.removeAttribute(i)},t.prototype.positionMenu=function(){var e,t,i=s.css(this.element,"float"),n="right"===i,o=!!(!n&&"left"===i)||!(n||!this.isLtr);s.css(this.menu,"top","auto"),s.css(this.menu,"bottom","auto"),s.css(this.menu,o?"left":"right","0"),s.css(this.menu,"height","auto"),!(e=r.getCollisionExtents(this.menu))||((e.right<0||e.left<0)&&(e.clientRect.width<=e.viewport.width?o?s.css(this.menu,"left",e.right+"px"):s.css(this.menu,"right",e.left+"px"):(s.css(this.menu,"left",-e.left+"px"),s.css(this.menu,"width",e.viewport.width+"px"))),e.bottom<0&&(t=parseFloat(s.css(this.trigger,"height")),e.clientRect.height+t<=e.top?s.css(this.menu,"bottom",t+"px"):e.clientRect.height<=e.viewport.height?s.css(this.menu,"top",e.bottom+t+"px"):(s.css(this.menu,"top",-e.top+t+"px"),s.css(this.menu,"height",e.viewport.height+"px"))))},t.prototype.expand=function(){if(this.trigger&&this.menu&&(this.trigger.setAttribute(t.ariaExpanded,"true"),this.menu.setAttribute(t.ariaHidden,"false"),this.positionMenu(),this.items)){var e=this.items.indexOf(this.selectedItem),i=-1===e?0:e;this.items[i].focus()}},t.prototype.collapse=function(){!this.trigger||!this.menu||(this.trigger.setAttribute(t.ariaExpanded,"false"),this.menu.setAttribute(t.ariaHidden,"true"))},t.prototype.addEventListeners=function(){var e,t,i;if(this.trigger&&this.items){for(s.addEvent(this.trigger,s.eventTypes.click,this.onTriggerClick),s.addEvent(this.trigger,s.eventTypes.keydown,this.onTriggerKeyPress),s.addEvent(this.menu,s.eventTypes.keydown,this.handleMenuKeydownEvent,!0),e=0,t=this.items;e<t.length;e++)i=t[e],s.addEvent(i,s.eventTypes.click,this.onItemClick);s.addEvent(this.items[this.items.length-1],s.eventTypes.keydown,this.onNonSelectMenuTab),s.addEvent(document,s.eventTypes.click,this.onNonSelectMenuClick)}},t.prototype.onTriggerToggled=function(e){"true"!==this.element.getAttribute("aria-disabled")&&(this.isExpanded()?this.collapse():this.expand(e))},t.prototype.onItemSelected=function(e,t,i){var n,o,r,a,l;if(!e||e===this.selectedItem)return this.collapse(),!1;if(("P"===e.nodeName||"IMG"===e.nodeName)&&(e=e.parentElement),!this.isOptionDisabled(e)){
2if("c-menu"===e.className)return this.collapse(),!1;for(this.persist&&this.trigger&&(n=s.selectFirstElementT("img",this.trigger),this.ignoreNextDOMChange=!0,n?(r=(o=s.selectFirstElementT("img",e))?o.getAttribute("src"):"",n.setAttribute("src",r),a=s.selectFirstElementT("span",this.trigger),s.setText(a,s.getText(e)),s.hasClass(this.trigger,"f-icon")&&!o?s.removeClass(this.trigger,"f-icon"):!s.hasClass(this.trigger,"f-icon")&&o&&s.addClass(this.trigger,"f-icon")):s.setText(this.trigger,s.getText(e))),this.selectedItem&&this.selectedItem.setAttribute(this.getSelectedAttribute(this.selectedItem),"false"),this.selectedItem=e,this.selectedItem.setAttribute(this.getSelectedAttribute(this.selectedItem),"true"),this.updateAriaLabel(),this.collapse(),null,l=this.selectedItem;l&&l.parentElement!==this.menu;)l=l.parentElement;return l&&this.initiatePublish({id:l.id,href:this.selectedItem.getAttribute("href"),internal:t,userInitiated:i}),!0}},t.prototype.publish=function(e,t){this.selectedItem&&e.onSelectionChanged(t)},t.prototype.handleMenuKeydown=function(e,t,i){switch(void 0===i&&(i=null),t){case 32:case 13:this.handleMenuEnterKey(e),this.trigger.focus();break;case 27:this.trigger.focus(),this.collapse(),i&&i.stopPropagation();break;case 38:case 203:case 211:this.handleMenuArrowKey(!0,e);break;case 40:case 204:case 212:this.handleMenuArrowKey(!1,e);break;case 9:this.isExpanded()&&this.handleMenuEnterKey(e)}},t.prototype.handleMenuArrowKey=function(e,t){var i,n,s=this.items.indexOf(t);if(-1!==s){i=e?-1:1,n=s;do{((n+=i)<0||n>=this.items.length)&&(n=s)}while(n!==s&&this.isOptionDisabled(this.items[n]));this.items[n].focus()}},t.prototype.handleMenuEnterKey=function(e){this.onItemSelected(e,!1,!0)},t.selector=".c-select-menu",t.typeName="SelectMenu",t.dataAriaLabelFormat="data-aria-label-format",t.selectedAriaLabel="data-selected-aria-label",t.selectedAriaLabelledBy="data-selected-aria-labelledby",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.ariaLabelledBy="aria-labelledby",t.ariaChecked="aria-checked",t.placeHolder="data-placeholder",t.defaultAriaLabel="data-default-aria-label",t.defaultAriaLabelledBy="data-default-aria-labelledby",t.fScroll="f-scroll",t.fScrollItems=5,t}(n.Publisher);t.SelectMenu=l}.apply(t,n),void 0===s||(e.exports=s)},sequenceIndicator:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("utility"),i("componentFactory"),i("tooltip")],s=function(e,t,i,n,s,o,r,a,l){Object.defineProperty(t,"__esModule",{value:!0});var c=function(e){function t(i,s){void 0===s&&(s=null);var a=e.call(this,i,s)||this;return a.sequenceIndicatorElement=i,a.selectedAttribute=t.ariaSelected,a.setActiveIndex=function(e){return r.apiDeprecated("SequenceIndicator.setActiveIndex() is deprecated, please use SequenceIndicator.setControllerIndex() instead."),a.setControllerIndex(e)},a.setControllerIndex=function(e,t,i){if(void 0===t&&(t=!1),void 0===i&&(i=!1),e<0||e>a.items.length-1||e===a.activeIndex)return!1;var n=a.activeIndex,s=a.items[a.activeIndex],o=a.items[e],r=document.activeElement===s;return a.deselectItem(s),a.selectItem(o,i),a.activeIndex=e,(t||r)&&o.focus(),a.initiatePublish({previousIindex:n,currentIndex:e,index:e}),!0},a.handleClickEvent=function(e){var t;o.preventDefault(e),(t=o.getEventTargetOrSrcElement(e))&&(!t.getAttribute("role")&&t.parentElement&&(t="tab"===t.parentElement.getAttribute("role")?t.parentElement:null),a.setControllerIndex(a.items.indexOf(t),!1,!0))},a.onKeydown=function(e){var t=!1,i=!1;switch(r.getKeyCode(e)){case 39:case 206:case 213:i=!0;break;case 37:case 205:case 214:t=!0;break;default:switch(r.getVirtualKey(e)){case"ArrowRight":i=!0;break;case"ArrowLeft":t=!0}}(t||i)&&(o.stopPropagation(e),o.preventDefault(e),t&&!a.isLtr||i&&a.isLtr?a.next():(t&&a.isLtr||i&&!a.isLtr)&&a.previous())},n.ObservableComponent.shouldInitializeAsClass(i,s)&&a.update(),a}return i.__extends(t,e),t.prototype.update=function(){var e,i,n,s,r=this.element.getAttribute(l.Tooltip.dataDescribedByAttribute);if(!r||a.ComponentFactory.create([{component:l.Tooltip,eventToBind:"DOMContentLoaded",elements:[document.getElementById(r)]}]),!this.sequenceIndicatorElement||("radiogroup"===this.sequenceIndicatorElement.getAttribute("role")&&(this.selectedAttribute=t.ariaChecked),this.isInteractive=!o.hasClass(this.sequenceIndicatorElement,"f-noninteractive"),this.items=o.selectElements(this.constructor.itemSelector,this.sequenceIndicatorElement),!this.items.length))return!1;for(i=0,n=this.items;i<n.length;i++)(s=n[i]).getAttribute(this.selectedAttribute)===t.selectedValue&&(e=this.items.indexOf(s)),this.deselectItem(s),this.isInteractive||(s.setAttribute("tabIndex","-1"),s.setAttribute("disabled",""));return this.selectItem(this.items[e||0]),this.setControllerIndex(e||0),this.isInteractive&&(this.isLtr=o.getDirection(this.sequenceIndicatorElement)===o.Direction.left,o.addEvent(this.sequenceIndicatorElement,o.eventTypes.click,this.handleClickEvent),o.addEvent(this.sequenceIndicatorElement,o.eventTypes.keydown,this.onKeydown,!0)),!0},t.prototype.teardown=function(){this.isInteractive&&(o.removeEvent(this.sequenceIndicatorElement,o.eventTypes.click,this.handleClickEvent),o.removeEvent(this.sequenceIndicatorElement,o.eventTypes.keydown,this.onKeydown))},t.prototype.publish=function(e,t){var i=e,n=e;i.onIndexChanged&&i.onIndexChanged(t),n.onControllerIndexChanged&&n.onControllerIndexChanged(t)},t.prototype.selectItem=function(e,i){void 0===i&&(i=!1),!e||(e.setAttribute(this.selectedAttribute,t.selectedValue),this.isInteractive&&e.setAttribute("tabindex","0"),o.addClass(e,t.activeItem
2Class),i&&"tab"===e.getAttribute("role")&&o.addClass(e,"x-hidden-focus"))},t.prototype.deselectItem=function(e){!e||(e.setAttribute(this.selectedAttribute,t.deselectedValue),this.isInteractive&&e.setAttribute("tabindex","-1"),o.removeClass(e,t.activeItemClass),"tab"===e.getAttribute("role")&&o.removeClass(e,"x-hidden-focus"))},t.prototype.show=function(){this.sequenceIndicatorElement&&this.sequenceIndicatorElement.setAttribute("aria-hidden","false")},t.prototype.hide=function(){this.sequenceIndicatorElement&&this.sequenceIndicatorElement.setAttribute("aria-hidden","true")},t.prototype.next=function(){var e;e=this.activeIndex===this.items.length-1?0:this.activeIndex+1,this.setControllerIndex(e)},t.prototype.previous=function(){var e;e=0===this.activeIndex?this.items.length-1:this.activeIndex-1,this.setControllerIndex(e)},t.selector=".c-sequence-indicator",t.typeName="SequenceIndicator",t.itemSelector="button",t.selectedValue="true",t.deselectedValue="false",t.ariaSelected="aria-selected",t.ariaChecked="aria-checked",t.activeItemClass="f-active",t}(s.Publisher);t.SequenceIndicator=c}.apply(t,n),void 0===s||(e.exports=s)},"single-slide-carousel":function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("carousel-base"),i("htmlExtensions"),i("utility"),i("utility")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.carouselElement=t,n.nextFocusIndex=function(e){return e>=n.focusElements.length-1?-1:e+1},n.previousFocusIndex=function(e){return e<=0?-1:e-1},n.scrollFocusItemLI=function(e){for(;"LI"!==e.tagName&&e.parentElement&&e.parentElement!==e;)e=e.parentElement;"LI"===e.tagName&&n.scrollItemIntoView(e)},n.onFocus=function(){var e=s.getEventTargetOrSrcElement(event);e&&n.focusElements.indexOf(e)>-1&&n.scrollFocusItemLI(e)},n.onKeydown=function(e){var t,i,o=s.getEventTargetOrSrcElement(e);if(o){var a=r.getKeyCode(e),l=9===a&&e.shiftKey||(205===a||214===a)&&"left"===n.directionValue||(206===a||213===a)&&"right"===n.directionValue,c=9===a||(205===a||214===a)&&"right"===n.directionValue||(206===a||213===a)&&"left"===n.directionValue;l?(t=n.focusElements.indexOf(o),(i=n.previousFocusIndex(t))>-1&&n.scrollFocusItemLI(n.focusElements[i])):c&&(t=n.focusElements.indexOf(o),(i=n.nextFocusIndex(t))>-1&&n.scrollFocusItemLI(n.focusElements[i]))}},n.onResized=function(){n.onCarouselResized()},n}return i.__extends(t,e),t.prototype.update=function(){if(!e.prototype.update.call(this))return!1;this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.onResized);var i=s.hasClass(this.slides[0],"f-gallery")?t.focusGalleryItemSelector:t.focusItemSelector;return this.focusElements=s.selectElements(i,this.carouselElement),s.addEvent(this.focusElements,s.eventTypes.keydown,this.onKeydown),s.addEvent(this.focusElements,s.eventTypes.focus,this.onFocus),!0},t.prototype.teardown=function(){e.prototype.teardown.call(this),s.removeEvent(window,s.eventTypes.resize,this.resizeThrottledEventHandler),s.removeEvent(this.focusElements,s.eventTypes.focus,this.onFocus),s.removeEvent(this.focusElements,s.eventTypes.keydown,this.onKeydown)},t.prototype.getSlides=function(){var e=s.selectElements(t.singleSlideSelector,this.carouselElement);return e&&e.length&&s.selectFirstElement("li",e[0])?(this.singleSlideWidth=o.getDimensions(e[0]).width,e):null},t.prototype.getFirstActiveIndex=function(){return 0},t.prototype.isScrollablePrevious=function(){var e=parseInt(s.css(this.slides[this.activeIndex],this.directionValue),10);return!isNaN(e)&&0!==e},t.prototype.isScrollableNext=function(){var e=parseInt(s.css(this.slides[this.activeIndex],this.directionValue),10),t=o.getDimensions(this.carouselElement).width,i=this.getCurrentSlideSize();return o.isNumber(e)||(e=0),!(t+Math.abs(e)+i.gutter>=this.singleSlideWidth)},t.prototype.previousSlide=function(){this.changeSingleSlide(!1)},t.prototype.nextSlide=function(){this.changeSingleSlide(!0)},t.prototype.changeSingleSlide=function(t){var i,n,r,a=this.slides[this.activeIndex],l=parseInt(s.css(a,this.directionValue),10),c=this.getCurrentSlideSize(),u=o.getDimensions(this.carouselElement).width,h=Math.floor(u/(c.width+c.gutter)),d=t?-1:1,p=t?c.gutter:0;o.isNumber(l)||(l=0),0===h&&(h=1),h=u%(c.width+c.gutter)==0?h-1:h,r=(i=(h=Math.max(h,1))*(c.width+c.gutter))<=(n=t?this.singleSlideWidth-u+l:Math.abs(l))?i*d+l:n*d+l+p,s.css(a,this.directionValue,r+"px"),e.prototype.updateFlippers.call(this),this.fireSingleSlideChangedNotification(r,u,c)},t.prototype.fireSingleSlideChangedNotification=function(t,i,o){for(var r,a,l=s.selectElements(n.CarouselBase.allChildSelectors,this.carouselElement),c=o.width,u=o.width+o.gutter,h=-1,d=-1,p=-1,m=-1,g=0;g<l.length;g++)if(!((a=(r=g*u+t)+c)<0)&&(r<0&&a>0&&(h=g),-1===p&&r>=0&&(p=g,-1===h&&(h=p)),-1!==p&&a<=i&&(m=g),-1!==m&&-1===d&&r<i&&a>i)){d=g;break}-1===d&&(d=m),e.prototype.initiatePublish.call(this,{fullyVisibleItemRange:[p,m],partiallyVisibleItemRange:[h,d],userInitiated:!0})},t.prototype.getCurrentSlideSize=function(){var e,t=s.selectFirstElement(n.CarouselBase.allChildSelectors,this.carouselElement);return t?(e=this.direction===s.Direction.left?parseInt(s.css(t,"marginRight"),10):parseInt(s.css(t,"marginLeft"),10),{width:t.offsetWidth,gutter:isNaN(e)?0:e}):{width:0,gutter:0}},t.prototype.onCarouselResized=function(){var t=this.slides[0],i=parseInt(s.css(t,this.directionValue),10),n=o.getDimensions(this.carouselElement).width;this.singleSlideWidth=o.getDimensions(this.slides[0]).width,!isNaN(i)&&i<0&&this.singleSlideWidth+i<n&&s.css(t,this.directionValue,Math.min(0,n-this.singleSlideWidth)+"px"),e.prototype.updateFlippers.call(this)},t.prototype.scrollItemIntoView=function(t){var i,n,r=this,a=o.getDimensions(this.carouselElement).width,l=this.slides[0],c=t.offsetLeft,u=this.getCurrentSlideSize(),h=!1;this.direction===s.Direction.left?(i=parseInt(s.css(l,"left"),10)||0)<0&&-i>c?(0!==c&&(c=1-c),h=!0):i+c>a-u.width&&(c=a-u.width-c-1,h=!0):(n=o.getDimensions(l).width,c+u.width+u.gutter+l.offsetLeft>a?(c=1-(n-c-u.width-u.gutter),h=!0):c+l.offsetLeft<0&&(c=a-(n-c-u.gutter)-1,h=!0)),h&&(s.css(l,this.directionValue,c+"px"),e.prototype.updateFlippers.call(this),setTimeout((function(){l.parentElement.scrollLeft=0,r.fireSingleSlideChangedNotification(c,a,u)}),0))},t.selector=".c-carousel[class*=f-single-slide]",t.typeName="SingleSlideCarousel",t.singleSlideSelector=n.CarouselBase.selector+" > * > ul",t.focusItemSelector=n.CarouselBase.selector+" > * > ul > li > section a, * > ul > li > section button, * > ul > li > div a",t.focusGalleryItemSelector=n.CarouselBase.selector+" > * > ul > li a",t}(n.CarouselBase);t.SingleSlideCarousel=a}.apply(t,n),void 0===s||(e.exports=s)},slider:function(e,t,i){"use strict";var n,s,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,r){Object.defineProperty(t,"__esMo
2dule",{value:!0});var a=function(e){function t(t){var i=e.call(this,t)||this;return i.onKeyPressed=function(e){var t,n,o,r;switch(e){case 37:case 39:i.isVerticalSlider||(t=i.primaryDirection===s.Direction.left?i.stepOffset:-i.stepOffset,t=37===e?-t:t,i.updateThumbOffset(i.thumbOffset+t,!0,!0),s.preventDefault(s.getEvent(event)));break;case 38:case 40:i.isVerticalSlider&&(t=38===e?i.stepOffset:-i.stepOffset,i.updateThumbOffset(i.thumbOffset+t,!0,!0),s.preventDefault(s.getEvent(event)));break;case 33:s.preventDefault(s.getEvent(event)),t=2*i.stepOffset,i.updateThumbOffset(i.thumbOffset+t,!0,!0);break;case 34:s.preventDefault(s.getEvent(event)),t=-2*i.stepOffset,i.updateThumbOffset(i.thumbOffset+t,!0,!0);break;case 36:s.preventDefault(s.getEvent(event)),n=parseInt(i.input.getAttribute("min"),10)||0,i.updateThumbOffset(n,!0,!0);break;case 35:s.preventDefault(s.getEvent(event)),o=parseInt(i.input.getAttribute("step"),10),r=i.thumbRange+o,i.updateThumbOffset(r,!0,!0)}},i.onKeyDown=function(e){i.onKeyPressed(r.getKeyCode(s.getEvent(e)))},i.onMouseDown=function(e){if(e=s.getEvent(e),i.setupDimensions(),s.getEventTargetOrSrcElement(e)===i.thumb)return s.addEvent(document,s.eventTypes.mousemove,i.onMouseMove),s.addEvent(document,s.eventTypes.mouseup,i.onMouseUp),s.addEvent(document,s.eventTypes.touchmove,i.onMouseMove),void s.addEvent(document,s.eventTypes.touchcancel,i.onMouseUp);i.moveThumbTo(e.clientX,e.clientY)},i.onMouseMove=function(e){("mousemove"===e.type&&(e=s.getEvent(e)),"touchmove"===e.type)&&(e=s.getEvent(e).targetTouches[0]);i.moveThumbTo(e.clientX,e.clientY)},i.onMouseUp=function(){s.removeEvent(document,s.eventTypes.mousemove,i.onMouseMove),s.removeEvent(document,s.eventTypes.mouseup,i.onMouseUp),s.removeEvent(document,s.eventTypes.touchmove,i.onMouseMove),s.removeEvent(document,s.eventTypes.touchcancel,i.onMouseUp)},i.onWindowResized=function(){i.setupDimensions()},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){if(this.element){this.input=s.selectFirstElement("input",this.element),this.primaryDirection=s.getDirection(this.element),this.isVerticalSlider=s.hasClass(this.input,"f-vertical"),s.preventDefaultSwipeAction(this.element,!this.isVerticalSlider),s.addClass(this.input,"x-screen-reader");var e=parseInt(this.input.getAttribute("min"),10)||0,t=parseInt(this.input.getAttribute("max"),10)||100,i=parseInt(this.input.getAttribute("value"),10),n=parseInt(this.input.getAttribute("step"),10);this.element.children[this.element.children.length-1]===this.input?(this.mockSlider=document.createElement("div"),this.thumb=document.createElement("button"),this.thumb.setAttribute("role","slider"),this.thumb.setAttribute("aria-valuemin",e.toString()),this.thumb.setAttribute("aria-valuemax",t.toString()),this.thumb.setAttribute("aria-valuenow",i.toString()),this.thumb.setAttribute("aria-valuetext",i.toString()),this.input.hasAttribute("aria-label")&&this.thumb.setAttribute("aria-label",this.input.getAttribute("aria-label")),this.valueTooltip=document.createElement("span"),this.track=document.createElement("span"),this.thumb.appendChild(this.valueTooltip),this.mockSlider.appendChild(this.thumb),this.mockSlider.appendChild(this.track),this.element.appendChild(this.mockSlider),this.ignoreNextDOMChange=!0):(this.mockSlider=this.element.children[this.element.children.length-1],this.thumb=this.mockSlider.firstElementChild,this.valueTooltip=this.thumb.firstElementChild,this.track=this.mockSlider.children[this.mockSlider.children.length-1]),this.halfThumbOffset=this.thumb.clientWidth/2,this.resetSliderInternal(e,t,i,n,!0)&&(s.addEvent(this.element,s.eventTypes.mousedown,this.onMouseDown),s.addEvent(this.element,s.eventTypes.touchstart,this.onMouseDown),s.addEvent(this.thumb,s.eventTypes.keydown,this.onKeyDown),this.resizeListener=s.addDebouncedEvent(window,s.eventTypes.resize,this.onWindowResized))}},t.prototype.teardown=function(){s.removeEvent(this.element,s.eventTypes.mousedown,this.onMouseDown),s.removeEvent(this.element,s.eventTypes.touchstart,this.onMouseDown),s.removeEvent(this.thumb,s.eventTypes.keydown,this.onKeyDown),s.removeEvent(window,s.eventTypes.resize,this.resizeListener),this.input=null,this.mockSlider=null,this.thumb=null,this.valueTooltip=null,this.track=null,this.resizeListener=null},t.prototype.resetSlider=function(e,t,i,n){return this.resetSliderInternal(e,t,i,n,!1)},t.prototype.resetSliderInternal=function(e,t,i,n,s){return!(!r.isNumber(e)||!r.isNumber(t))&&(!(Math.max(e,t)-Math.min(e,t)<=0)&&(this.min=Math.min(e,t),this.max=Math.max(e,t),this.range=this.max-this.min,this.step=isNaN(n)?this.range/10:n,this.value=Math.min(Math.max(isNaN(i)?isNaN(this.value)?this.min:this.value:i,this.min),this.max),this.setupDimensions(),this.updateThumbOffset(this.thumbOffset,s,!1,this.value),!0))},t.prototype.setValue=function(e){return!(!r.isNumber(e)||e<this.min||e>this.max)&&(e!==this.value&&(this.thumbOffset=(e-this.min)*this.thumbRange/this.range+this.halfThumbOffset,this.updateThumbOffset(this.thumbOffset,!1,!1,e)),!0)},t.prototype.setupDimensions=function(){this.dimensions=s.getClientRect(this.mockSlider),this.isVerticalSlider?(this.dimensions.left-=t.hitPadding,this.dimensions.right+=t.hitPadding,this.thumbRange=this.dimensions.height-this.thumb.clientWidth,this.maxThumbOffset=this.dimensions.height):(this.dimensions.top-=t.hitPadding,this.dimensions.bottom+=t.hitPadding,this.thumbRange=this.dimensions.width-this.thumb.clientWidth,this.maxThumbOffset=this.dimensions.width),this.thumbRange=Math.max(this.thumbRange,1),this.thumbOffset=(this.value-this.min)*this.thumbRange/this.range+this.halfThumbOffset,this.stepOffset=this.thumbRange/(this.range/this.step),this.setThumbPosition()},t.prototype.setThumbPosition=function(){var e=Math.max(0,this.thumbOffset-this.halfThumbOffset);s.css(this.thumb,s.Direction[this.primaryDirection],e+"px"),s.css(this.track,"width",e+"px")},t.prototype.updateThumbOffset=function(e,t,i,n){var a,l,c;void 0===n&&(n=NaN),r.isNumber(e)||(e=this.thumbOffset),this.thumbOffset=Math.min(Math.max(0,e),this.maxThumbOffset),a=n,isNaN(a)&&(a=1e3*Math.max(0,this.thumbOffset-this.halfThumbOffset)*this.range/this.thumbRange,a=Math.round(a)/1e3+this.min),this.value=Math.min(Math.max(this.min,a),this.max),this.input.setAttribute("value",this.value.toString()),a=parseFloat(this.input.getAttribute("value")),isNaN(a)||
2(this.value=a),l=isNaN(parseFloat(this.input.getAttribute("step")))?this.value%1==0?this.value.toString():(Math.round(10*this.value)/10).toString():this.value.toString(),this.thumb.setAttribute("aria-valuenow",l),this.thumb.setAttribute("aria-valuetext",l),this.setThumbPosition(),this.valueDescriptor=null,this.initiatePublish({value:this.value,internal:t,userInitiated:i}),c=this.valueDescriptor||{},this.valueDescriptor=null,"object"===("undefined"==typeof c?"undefined":o(c))?(s.setText(this.valueTooltip,c.tooltipText||l),c.ariaValueText&&this.thumb.setAttribute("aria-valuetext",c.ariaValueText)):"string"==typeof c&&((isNaN(parseFloat(c))||c.match(":"))&&this.thumb.setAttribute("aria-valuetext","00:00:00"===c?"0 second":c),s.setText(this.valueTooltip,c))},t.prototype.publish=function(e,t){var i=e.onValueChanged(t);!i||this.valueDescriptor||(this.valueDescriptor=i)},t.prototype.moveThumbTo=function(e,t){if(r.pointInRect(e,t,this.dimensions)){var i=this.dimensions.bottom-t;this.isVerticalSlider||(i=this.primaryDirection===s.Direction.left?e-this.dimensions.left:this.dimensions.right-e),this.updateThumbOffset(i,!0,!0)}},t.selector=".c-slider",t.typeName="Slider",t.hitPadding=20,t}(n.Publisher);t.Slider=a}.apply(t,n),void 0===s||(e.exports=s)},social:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.element=t,i.ariaExpanded="aria-expanded",i.buttonToggle="data-js-toggle",i.ariaHidden="aria-hidden",i.hideClass="f-hide",i.isHidden=!0,i.iconOverflowThresholdLength=4,i.maxIconShowCount=i.iconOverflowThresholdLength-1,i.handleMouseUp=function(){i.handleToggle(!1)},i.handleKeydown=function(e){e=s.getEvent(e);var t=o.getKeyCode(e),n=s.getEventTargetOrSrcElement(e);switch(t){case 9:!i.isHidden&&n===i.icons[i.maxIconShowCount]&&e.shiftKey&&(s.preventDefault(e),i.handleToggle(!1),i.toggle.focus());break;case 13:n===i.toggle&&i.handleToggle(!0)}},i.handleToggle=function(e){i.isHidden?i.toggleIcons(!1,e):i.toggleIcons(!0,e),i.ariaExpanded&&i.toggle.setAttribute(i.ariaExpanded,(!i.isHidden).toString()),i.toggle.setAttribute(i.buttonToggle,(!i.isHidden).toString())},i.toggleIcons=function(e,t){for(var n=0;n<i.maxIconShowCount;n++)e?s.removeClass(i.icons[n],i.hideClass):s.addClass(i.icons[n],i.hideClass);for(n=Math.max(0,i.icons.length-i.maxIconShowCount);n<i.icons.length;n++)e&&n>i.maxIconShowCount-1?s.addClass(i.icons[n],i.hideClass):s.removeClass(i.icons[n],i.hideClass);t&&(e?i.icons[0].focus():i.icons[i.maxIconShowCount].focus()),i.isHidden=e},t?(i.update(),i):i}return i.__extends(t,e),t.prototype.update=function(){if(this.icons=s.selectElementsT('a[itemprop="sameAs"]',this.element),this.icons&&this.icons.length&&!(this.icons.length>t.maxIconCount)&&(this.toggle=s.selectFirstElement("button",this.element),this.toggle)){if(this.icons.length<this.iconOverflowThresholdLength)return void this.toggle.setAttribute(this.ariaHidden,"true");s.addEvent(this.toggle,s.eventTypes.mouseup,this.handleMouseUp),s.addEvent(this.element,s.eventTypes.keydown,this.handleKeydown),"true"===this.toggle.getAttribute(this.ariaHidden)||(this.toggle.setAttribute(this.ariaHidden,"false"),this.ariaExpanded?this.toggle.setAttribute(this.ariaExpanded,"false"):this.toggle.setAttribute(this.buttonToggle,"false"),this.toggleIcons(!0,!1))}},t.prototype.teardown=function(){s.removeEvent(this.toggle,s.eventTypes.mouseup,this.handleMouseUp),s.removeEvent(this.element,s.eventTypes.keydown,this.handleKeydown)},t.maxIconCount=6,t.selector=".m-social",t.typeName="Social",t}(n.ObservableComponent);t.Social=r}.apply(t,n),void 0===s||(e.exports=s)},splitReveal:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(i){var n=e.call(this,i)||this;return n.sliderLineThickness=8,n.slidePanelPosition=0,n.slideHandlePosition=50,n.sliderHandleSize=32,n.sliderHandleColor="0067B8",n.moduleWidth=0,n.hasHandle=!1,n.handleWindowScroll=function(){var e,t=window.pageYOffset+window.innerHeight/2;t>=n.splitRevealSection.offsetTop&&n.splitRevealSection.offsetTop+n.splitRevealSection.clientHeight>=t&&(e=(t-n.splitRevealSection.offsetTop)/n.splitRevealSection.clientHeight*100,n.setSlidePanelPosition(e))},n.handleWindowResize=function(){n.moduleWidth=n.splitRevealSection.offsetWidth,n.orientation===t.horizontal?s.css(n.secondaryImageContainer,"width",n.moduleWidth+"px"):n.orientation===t.vertical&&s.css(n.secondaryImageContainer,"width","auto")},n.handleMouseDown=function(e){s.removeEvent(n.splitRevealSection,s.eventTypes.mousedown,n.handleMouseDown),s.addEvent(window,s.eventTypes.mouseup,n.handleMouseUp),s.addEvent(window,s.eventTypes.mousemove,n.handleDrag),n.handleDrag(e)},n.handleMouseUp=function(){s.removeEvent(window,s.eventTypes.mouseup,n.handleMouseUp),s.removeEvent(window,s.eventTypes.mousemove,n.handleDrag),s.addEvent(n.splitRevealSection,s.eventTypes.mousedown,n.handleMouseDown)},n.handleMouseOver=function(){s.removeEvent(n.splitRevealSection,s.eventTypes.mouseover,n.handleMouseOver),s.addEvent(n.splitRevealSection,s.eventTypes.mouseout,n.handleMouseOut),s.addEvent(n.splitRevealSection,s.eventTypes.mousemove,n.handleMouseMove)},n.handleMouseOut=function(){s.removeEvent(n.splitRevealSection,s.eventTypes.mouseout,n.handleMouseUp),s.addEvent(n.splitRevealSection,s.eventTypes.mousemove,n.handleMouseMove),s.addEvent(n.splitRevealSection,s.eventTypes.mouseover,n.handleMouseOver)},n.handleDrag=function(e){var i=n.orientation===t.horizontal?e.clientX:e.clientY;n.updateSlidePanelPosition(i)},n.handleMouseMove=function(e){var i,o,r,a,l,c=s.getClientRect(n.sliderLine);n.orientation===t.horizontal?(i=n.sliderLine.offsetHeight,o=n.sliderHandle.offsetHeight/2,r=c.top,a=e.clientY):(i=n.sliderLine.offsetWidth,o=n.sliderHandle.offsetWidth/2,r=c.left,a=e.clientX),a<=r+o||a>=r+i-o||(l=(a-r)/i*100,n.setSliderHandlePosition(l))},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){this.splitRevealSection=this.element,this.sliderLine=s.selectFirstElement('div[aria-hidden="true"]',this.splitRevealSection),this.slidePanel=s.selectFirstElement(".c-image + div",this.splitRevealSection),this.secondaryImageContainer=s.selectFirstElement("div",this.slidePanel),this.moduleWidth=this.splitRevealSection.offsetWidth,this.handleWindowResize(),this.get
2SliderLineConfiguration(),s.selectFirstElement("button",this.sliderLine)&&(this.hasHandle=!0,this.sliderHandle=s.selectFirstElement("button",this.sliderLine),this.getSliderHandleConfiguration(),this.setSliderHandlePosition(this.slideHandlePosition));var e=-this.sliderLineThickness/2+"px";this.orientation=s.hasClass(this.splitRevealSection,"f-horizontal")?t.horizontal:t.vertical,this.orientation===t.horizontal?(s.css(this.sliderLine,"width",this.sliderLineThickness+"px"),s.css(this.sliderLine,"transform","translateX("+e+")"),this.resizeThrottledEventHandler=s.addThrottledEvent(window,s.eventTypes.resize,this.handleWindowResize)):this.orientation===t.vertical&&(s.css(this.sliderLine,"height",this.sliderLineThickness+"px"),s.css(this.sliderLine,"transform","translateY("+e+")")),this.setSlidePanelPosition(this.slidePanelPosition),this.hasHandle&&this.createSliderHandle(),this.hasHandle?this.sliderHandle&&(s.addEvent(this.splitRevealSection,s.eventTypes.mouseover,this.handleMouseOver),s.addEvent(this.splitRevealSection,s.eventTypes.mousedown,this.handleMouseDown)):s.addEvent(window,s.eventTypes.scroll,this.handleWindowScroll)},t.prototype.createSliderHandle=function(){this.setSliderHandlePosition(this.slidePanelPosition),s.css(this.sliderHandle,"width",this.sliderHandleSize+"px"),s.css(this.sliderHandle,"height",this.sliderHandleSize+"px"),s.css(this.sliderHandle,"borderWidth",this.sliderHandleSize/this.sliderLineThickness+"px"),s.css(this.sliderHandle,"backgroundColor",null!==this.sliderHandleColor?"#"+this.sliderHandleColor:null)},t.prototype.getSliderLineConfiguration=function(){var e="data-js-split-reveal-slider-line-thickness",t="data-js-split-reveal-initial-slide-panel-position";this.sliderLine.getAttribute(e)&&(this.sliderLineThickness=parseInt(this.sliderLine.getAttribute(e),10)),this.sliderLine.getAttribute(t)&&(this.slidePanelPosition=parseInt(this.sliderLine.getAttribute(t),10))},t.prototype.getSliderHandleConfiguration=function(){var e,i,n="data-js-split-reveal-handle-color",s="data-js-split-reveal-handle-size",o="data-js-split-reveal-initial-handle-position";this.sliderHandle.getAttribute(n)&&(e=this.sliderHandle.getAttribute(n),i=Object.keys(t.accentColorMap).some((function(i){return t.accentColorMap[i]===e})),this.sliderHandleColor=i?e:t.accentColorMap.blueDefault),this.sliderHandle.getAttribute(s)&&(this.sliderHandleSize=parseInt(this.sliderHandle.getAttribute(s),10)),this.sliderHandle.getAttribute(o)&&(this.slideHandlePosition=parseInt(this.sliderHandle.getAttribute(o),10))},t.prototype.setSlidePanelPosition=function(e){this.slidePanelPosition=e,this.orientation===t.horizontal?(s.css(this.sliderLine,"left",this.slidePanelPosition+"%"),s.css(this.slidePanel,"width",this.slidePanelPosition+"%"),s.css(this.secondaryImageContainer,"width",this.moduleWidth+"px")):this.orientation===t.vertical&&(s.css(this.sliderLine,"top",this.slidePanelPosition+"%"),s.css(this.slidePanel,"height",this.slidePanelPosition+"%"),s.css(this.secondaryImageContainer,"width","auto"))},t.prototype.setSliderHandlePosition=function(e){var i=-(this.sliderHandleSize/2-this.sliderLineThickness/2);this.orientation===t.horizontal?(s.css(this.sliderHandle,"top",e+"%"),s.css(this.sliderHandle,"transform","translate("+i+"px, -50%)")):this.orientation===t.vertical&&(s.css(this.sliderHandle,"left",e+"%"),s.css(this.sliderHandle,"transform","translate(-50%, "+i+"px)"))},t.prototype.updateSlidePanelPosition=function(e){var i,n,o,r=s.getClientRect(this.slidePanel);this.orientation===t.horizontal?(i=this.splitRevealSection.offsetWidth,o=r.left):(i=this.splitRevealSection.offsetHeight,o=r.top),e<=o||((n=(e-o)/i*100)>100&&(n=100),this.setSlidePanelPosition(n))},t.prototype.teardown=function(){this.hasHandle?this.sliderHandle&&(s.removeEvent(this.splitRevealSection,s.eventTypes.mouseover,this.handleMouseOver),s.removeEvent(this.splitRevealSection,s.eventTypes.mousedown,this.handleMouseDown)):s.removeEvent(window,s.eventTypes.scroll,this.handleWindowScroll)},t.selector=".m-split-reveal",t.typeName="SplitReveal",t.accentColorMap={blueDefault:"0067B8",blueAlt:"1483DA",purpleDefault:"5C2E91",purpleAlt:"9172B5",magentaDefault:"B4009E",magentaAlt:"CB4DBB",redDefault:"CB0F1F",redAlt:"EC3B4A",orangeDefault:"BC3301",orangeAlt:"DD521E",yellowDefault:"845F00",yellowAlt:"FFB900",greenDefault:"0F760F",greenAlt:"379237",tealDefault:"007264",tealAlt:"1A8F80"},t.vertical="vertical",t.horizontal="horizontal",t}(n.ObservableComponent);t.SplitReveal=o}.apply(t,n),void 0===s||(e.exports=s)},sticky:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("publisher")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(i){var s=e.call(this,i)||this;return s.element=i,s.shouldMoveToBody=!1,s.isTransitionInProgress=!1,s.lastScrollHeight=-1,s.lastTransformValue=null,s.wasHidden=!1,s.isStuck=!1,s.setSticky=function(){s.wasHidden=n.hasClass(s.element,t.isHiddenClass),s.placeholder=s.cloneAsPlaceholder(s.element),s.element.parentElement.insertBefore(s.placeholder,s.element),s.shouldMoveToBody&&document.body.appendChild(s.element),n.addClass(s.element,t.stuckClass),s.isStuck=!0,n.removeClass(s.element,t.isHiddenClass),s.initiatePublish({isStuck:!0,isVisible:!0}),n.addClass(s.element,t.animateClass)},s.removeAnimationClass=function(){n.removeClass(s.element,t.animateClass),window.requestAnimationFrame(s.waitForTransitionEnd)},s.setNotSticky=function(){s.isTransitionInProgress=!0,s.wasHidden?window.requestAnimationFrame(s.removeAnimationClass):(n.addClass(s.element,t.noTransitionClass),s.waitForTransitionEnd())},s.waitForTransitionEnd=function(){var e=n.css(s.element,"transform");s.wasHidden&&e!==s.lastTransformValue?(s.lastTransformValue=e,window.requestAnimationFrame(s.waitForTransitionEnd)):s.isTransitionInProgress&&(s.isTransitionInProgress=!1,s.lastTransformValue=null,s.wasHidden&&n.addClass(s.element,t.isHiddenClass),s.shouldMoveToBody&&s.placeholder.parentElement.insertBefore(s.element,s.placeholder),s.placeholder.parentElement.removeChild(s.placeholder),n.removeClasses(s.element,[t.noTransitionClass,t.stuckClass,t.animateClass]),s.isStuck=!1,s.initiatePublish({isStuck:!1,isVisible:!s.wasHidden}),s.wasHidden=!1)},s.onWindowScrolled=function(){var e=s.isStuck?n.getClientRect(s.placeholder):n.getClientRect(s.element);!s.isStuck&&e.top<0?s.setSticky():s.isStuck&&e.top>=0&&s.setNotSticky()},s.watchForWindowScroll=function(){s.isTransitionInProgress||s.lastScrollHeight===window.pageYOffset||(s.lastScrollHeight=window.pageYOffset,s.onWindowScrolled()),window.requestAnimationFrame(s.watchForWindowScroll)},s.update(),s}return i.__extends(t,e),t.prototype.update=function(){return!!this.element&&(this.shouldMoveToBody=this.element.hasAttribute(t.dataTagMove),this.watchForWindowScroll(),!0)},t.prototype.publish=function(e,t){e&&e.onStickyStateChange&&e.onStickyStateChange(t)},t.prototype.teardown=function(){},t.prototype.cloneAsPlaceholder=function(){var e,t=this;return this.placeholder||(this.placeholder=document.createElement("div"),this.placeholder.style.background="transparent"),e=getComputedStyle(this.element),["padding","margin","display","position","height"].forEach((function(i){return t.placeholder.style[i]=e[i]})),this.placeholder},t.selector=".m-sticky",t.typeName="Sticky",t.stuckClass="f-stuck",t.noTransitionClass="f-no-transition",t.isHiddenClass="f-hidden",t.animateClass="f-animate",t.dataTagMove="data-move",t}(s.Publisher);t.Sticky=o}.apply(t,n),void 0===s||(e.exports=s)},stringExtensions:function(e,t,i){"use strict";var n;n=function(e,t){function i(e){return e&&"string"==typeof e?e.trim?e.trim():e.replace(/^\s+|\s+$/g,""):e}Object.defineProperty(t,"__esModule",{value:!0}),t.isNullOrWhiteSpace=function(e){return!e||"string"!=typeof e||!i(e)},t.trim=i,t.startsWith=function(e,t,i){return void 0===i&&(i=!0),!(!e||!t)&&(i&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.startsWith?e.startsWith(t):0===e.indexOf(t))},t.endsWith=function(e,t,i){return void 0===i&&(i=!0),!(!e||!t)&&(i&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.endsWith?e.endsWith(t):e.lastIndexOf(t)===e.length-t.length)},t.getMatchLength=function(e,t,i){if(void 0===i&&(i=!0),!e||!t)return 0;var n=0;for(i&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase());e.charCodeAt(n)===t.charCodeAt(n);)n++;return n},t.format=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return e.replace(/{(\d+)}/g,(function(e,i){if(i>=t.length)return e;var n=t[i];return"number"==typeof n||n?"string"==typeof n?n:n.toString():""}))}}.apply(t,[i,t]),void 0===n||(e.exports=n)},supplementalNavigation:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("observableComponent"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esMo
2dule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.onExpandableItemClicked=function(e){i.setExpandedItem(n.getEventTargetOrSrcElement(e))},i.onActivatableItemClicked=function(e){i.setActiveItem(n.getEventTargetOrSrcElement(e))},i.keydownEventListener=function(e){i.itemKeydownHandler(n.getEventTargetOrSrcElement(e),o.getKeyCode(e))&&n.preventDefault(e)},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){var e,i,s,o,r,a;if(!this.element)return null;for(this.items=n.selectElements(t.itemSelector,this.element),e=n.selectElements("."+t.activeSelector,this.element),this.activeItem=e?e.shift():null,i=0,s=e;i<s.length;i++)a=s[i],n.removeClass(a,t.activeSelector);if(this.syncExpandedItem(),this.items&&this.items.length){for(o=0,r=this.items;o<r.length;o++)a=r[o],this.isExpandable(a)?n.addEvent(a,n.eventTypes.click,this.onExpandableItemClicked):n.addEvent(a,n.eventTypes.click,this.onActivatableItemClicked);n.addEvent(this.items,n.eventTypes.keydown,this.keydownEventListener)}},t.prototype.teardown=function(){var e,t,i;if(this.items&&this.items.length){for(e=0,t=this.items;e<t.length;e++)i=t[e],this.isExpandable(i)?n.removeEvent(i,n.eventTypes.click,this.onExpandableItemClicked):n.removeEvent(i,n.eventTypes.click,this.onActivatableItemClicked);n.removeEvent(this.items,n.eventTypes.keydown,this.keydownEventListener)}this.items=null,this.activeItem=null,this.expandedItem=null},t.prototype.setExpandedItem=function(e){!e||e===this.expandedItem||(this.collapseItem(this.expandedItem),this.expandItem(e))},t.prototype.setActiveItem=function(e){!e||!e.parentElement||"false"===e.parentElement.getAttribute("aria-hidden")||(this.expandedItem=null),!e||e===this.activeItem||(n.removeClass(this.activeItem,t.activeSelector),this.activeItem=e,n.addClass(this.activeItem,t.activeSelector),this.syncExpandedItem())},t.prototype.expandItem=function(e){var i,s,o,r;if(e&&(i=this.getExpandableElementForExpandableItem(e),s=this.getExpandableElementForExpandableItem(this.expandedItem),i&&(!s||i!==s)))for(e.setAttribute("data-state",t.stateNames.expanded),e.setAttribute("aria-expanded","true"),i.setAttribute("aria-hidden","false"),i.style.height="auto",i.style.overflow="visible",this.collapseItem(this.expandedItem),this.expandedItem=e,o=0,r=n.selectElements(t.itemSelector,i);o<r.length;o++)r[o].removeAttribute(t.tabIndexAttribute)},t.prototype.collapseItem=function(e){var i,s,o;if(e&&(i=document.getElementById(e.getAttribute("aria-controls"))))for(e.setAttribute("data-state",t.stateNames.collapsed),e.setAttribute("aria-expanded","false"),i.setAttribute("aria-hidden","true"),i.style.height="0",i.style.overflow="hidden",s=0,o=n.selectElements(t.itemSelector,i);s<o.length;s++)o[s].setAttribute(t.tabIndexAttribute,"-1")},t.prototype.isExpandable=function(e){return!!(e&&e.hasAttribute("data-state")&&e.hasAttribute("aria-controls"))},t.prototype.syncExpandedItem=function(){var e,t,i,n,s;if(this.items&&this.items.length&&this.activeItem&&(e=this.getExpandableElementForActiveItem(),!(t=this.getExpandableElementForExpandableItem(this.expandedItem))||t!==e))for(i=0,n=this.items;i<n.length;i++)s=n[i],this.isExpandable(s)&&(e&&this.getExpandableElementForExpandableItem(s)===e?this.expandItem(s):this.collapseItem(s))},t.prototype.getExpandableElementForActiveItem=function(){return this.activeItem&&this.activeItem.parentElement&&this.activeItem.parentElement.hasAttribute("id")?this.activeItem.parentElement:null},t.prototype.getExpandableElementForExpandableItem=function(e){return this.isExpandable(e)&&e.nextElementSibling?e.nextElementSibling:null},t.prototype.itemKeydownHandler=function(e,t){if(!e||!t)return!1;switch(t){case 32:case 13:if(this.isExpandable(e))return this.setExpandedItem(e),!0}return!1},t.selector=".m-supplemental-nav",t.typeName="SupplementalNavigation",t.activeSelector="f-active",t.itemSelector="a, button",t.tabIndexAttribute="tabindex",t.dateState="data-state",t.stateNames={expanded:"expanded",collapsed:"collapsed"},t}(s.ObservableComponent);t.SupplementalNavigation=r}.apply(t,n),void 0===s||(e.exports=s)},swipe:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions")],s=function(e,t,i){var n,s,o;
2Object.defineProperty(t,"__esModule",{value:!0}),n=function(){function e(e,t,n,r,a){void 0===n&&(n=o.All);var l=this;this.targets=e,this.swipeEventHandlers=t,this.active=!1,this.orientation=o.All,this.pointerEvents={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},pointer:{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}},this.minimumDirectionalDistance=30,this.maximumAntiDirectionalDistance=200,this.minimumDirectionalRatio=.6,this.minimumMoveDistance=10,this.startHandler=function(e){l.active=!0,l.startCoordinate=i.getCoordinates(e),l.lastMoveCoordinate=l.startCoordinate,l.swipeEventHandlers.start&&l.swipeEventHandlers.start({event:e,target:l.getEventTarget(e),coordinate:l.startCoordinate})},this.moveHandler=function(e){var t;if(l.active&&l.startCoordinate){var n=i.getCoordinates(e),r=Math.abs(n.x-l.lastMoveCoordinate.x),a=Math.abs(n.y-l.lastMoveCoordinate.y);r<l.minimumMoveDistance&&a<l.minimumMoveDistance||(t=r>a?n.x>l.lastMoveCoordinate.x?s.Left:s.Right:n.y>l.lastMoveCoordinate.y?s.Up:s.Down,l.lastMoveCoordinate=n,((r=Math.abs(n.x-l.startCoordinate.x))>(a=Math.abs(n.y-l.startCoordinate.y))&&l.orientation!==o.Vertical||r<a&&l.orientation!==o.Horizontal)&&i.preventDefault(e),l.swipeEventHandlers.move&&l.swipeEventHandlers.move({event:e,target:l.getEventTarget(e),coordinate:n,direction:t}))}},this.endHandler=function(e){if(l.active&&(l.active=!1,l.swipeEventHandlers.end)){var t=i.getCoordinates(e),n=l.getSwipeDirection(t);l.swipeEventHandlers.end({event:e,target:l.getEventTarget(e),coordinate:t,direction:n})}},this.cancelHandler=function(e){l.active&&(l.active=!1,l.swipeEventHandlers.cancel&&l.swipeEventHandlers.cancel({event:e,target:l.getEventTarget(e)}))},this.targets&&this.targets.length&&t&&(this.pointerTypes=r||["touch","pointer","mouse"],this.minimumMoveDistance=a||this.minimumMoveDistance,this.orientation=n,i.addEvents(this.targets,this.getEvents(this.pointerTypes,"start"),this.startHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"move"),this.moveHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"end"),this.endHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"cancel"),this.cancelHandler))}return e.prototype.tearDown=function(){i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"start"),this.startHandler),i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"move"),this.moveHandler),i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"end"),this.endHandler),i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"cancel"),this.cancelHandler)},e.prototype.getEvents=function(e,t){for(var i,n,s=[],o=0,r=e;o<r.length;o++)i=r[o],(n=this.pointerEvents[i][t])&&s.push(n);return s.join(" ")},e.prototype.getEventTarget=function(e){var t,n,s,o;if(!e||!this.targets)return null;if(1===this.targets.length)return this.targets[0];for(t=i.getEventTargetOrSrcElement(e),n=0,s=this.targets;n<s.length;n++)if(o=s[n],i.isDescendantOrSelf(o,t))return o;return null},e.prototype.getSwipeDirection=function(e){if(this.startCoordinate){var t=Math.abs(e.y-this.startCoordinate.y),i=Math.abs(e.x-this.startCoordinate.x);if(t<this.maximumAntiDirectionalDistance&&i>this.minimumDirectionalDistance&&t/i<=this.minimumDirectionalRatio)return e.x>this.startCoordinate.x?s.Left:s.Right;if(i<this.maximumAntiDirectionalDistance&&t>this.minimumDirectionalDistance&&i/t<=this.minimumDirectionalRatio)return e.y>this.startCoordinate.y?s.Up:s.Down}},e}(),t.Swipe=n,function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Up=2]="Up",e[e.Down=3]="Down"}(s=t.SwipeDirection||(t.SwipeDirection={})),function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical",e[e.All=2]="All"}(o=t.SwipeOrientation||(t.SwipeOrientation={}))}.apply(t,n),void 0===s||(e.exports=s)},table:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility"),i("stringExtensions")],s=function(e,t,i,n,s,o,r){var a,l,c;
2Object.defineProperty(t,"__esModule",{value:!0}),a=function(e){function t(t){var i=e.call(this,t)||this;return i.onSortButtonClicked=function(e){for(var t,n=e.currentTarget||s.getEventTargetOrSrcElement(e);n!==i.element;){if(n.getAttribute("data-sort-index")){t=n;break}n=n.parentElement}t&&i.reSort(t)},i.onSortButtonKeydown=function(e){var t,n,r,a,l;if(9===o.getKeyCode(e)||"Tab"===o.getVirtualKey(e)){var c=e.currentTarget||s.getEventTargetOrSrcElement(e),u=void 0,h=void 0;if(e.shiftKey){for(t=0,n=i.columnInfos;t<n.length;t++)if((l=n[t])&&l.button){if(l.button===c){u=l;break}h=l}}else for(r=0,a=i.columnInfos;r<a.length;r++)if((l=a[r])&&l.button)if(l.button===c)u=l;else if(u){h=l;break}u&&h&&(s.preventDefault(e),h.button.focus())}},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){this.element&&(this.sortableTable=s.selectFirstElementT('table[data-f-sort="true"]',this.element),!this.sortableTable||this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("p"),s.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.element.appendChild(this.ariaLiveRegion),this.ascendingLocString=this.element.getAttribute("data-f-loc-ascending")||"Sorted by {0} - ascending",this.descendingLocString=this.element.getAttribute("data-f-loc-descending")||"Sorted by {0} - descending"),this.reloadTable())},t.prototype.teardown=function(){for(var e,t,i,n,o=0,r=s.selectElementsT("thead > tr",this.sortableTable);o<r.length;o++)for(t=0,i=(e=r[o]).cells.length;t<i;t++)n=e.cells[t],s.hasClass(n,"f-sortable")&&(s.removeEvent(n.firstElementChild,s.eventTypes.click,this.onSortButtonClicked),s.removeEvent(n.firstElementChild,s.eventTypes.keydown,this.onSortButtonKeydown));this.sortableTable=null,this.tableBody=null,this.originalRows=null,this.columnInfos=null},t.prototype.alertUserToSorting=function(e,t){var i=this;this.ariaLiveRegion&&(s.setText(this.ariaLiveRegion,r.format(t,e)),setTimeout((function(){i.ignoreNextDOMChange=!0,s.removeInnerHtml(i.ariaLiveRegion)}),3e3))},t.prototype.reloadTable=function(){this.sortableTable&&(this.tableBody||(this.tableBody=s.selectFirstElementT("tbody",this.sortableTable)),this.originalRows=null,!this.tableBody||(this.originalRows=s.selectElementsT("tr",this.tableBody),this.rebuildSortInfo()))},t.prototype.rebuildSortInfo=function(){var e,t,i,n,s,o,r;if(this.originalRows&&this.originalRows.length&&(this.columnInfos&&this.columnInfos.length||this.rebuildColumnInfo(),this.columnInfos&&this.columnInfos.length))for(e=0,t=this.columnInfos.length;e<t;e++)if(this.columnInfos[e]){for(i=[],n=0,s=this.originalRows.length;n<s;n++)o=this.originalRows[n],r=new l(n,this.getSortKey(o.cells[e])),i.push(r);this.columnInfos[e].sortOrder=i}},t.prototype.rebuildColumnInfo=function(){var e,t,i,n,o,r,a,l,u,h,d,p,m,g,v,f,b=s.selectElementsT("thead > tr",this.sortableTable);for(this.columnInfos=[],e=0,t=b.length;e<t;e++)for(i=this.findNextNull(this.columnInfos,0),n=0,o=0,r=b[e].cells.length;o<r;o++)if(a=b[e].cells[o],s.hasClass(a,"f-sortable"))l=a.firstElementChild,u=new c(a,l),a.setAttribute("aria-sort","none"),l.setAttribute("data-sort-index",i.toString()),s.addClass(l,"c-glyph"),s.addEvent(l,s.eventTypes.click,this.onSortButtonClicked),s.addEvent(l,s.eventTypes.keydown,this.onSortButtonKeydown),this.columnInfos[i]=u,i=this.findNextNull(this.columnInfos,i+1),0===e&&0===n&&(n++,s.addClass(l,"glyph-sort"));else if(0===e)for(h=0,d=a.colSpan;h<d;h++)this.columnInfos.push(null),i++;else i++;if(this.columnInfos.length>2)for(p=void 0,m=void 0,g=0,v=this.columnInfos;g<v.length;g++)(f=v[g])&&f.button&&(p?(m&&m.button.setAttribute("tabIndex","-1"),m=f):p=f)},t.prototype.findNextNull=function(e,t){for(var i=t,n=e.length;i<n;i++)if(!e[i])return i;return e.length},t.prototype.reSort=function(e){var t=this.columnInfos[parseInt(e.getAttribute("data-sort-index"),10)],i="ascending"!==t.header.getAttribute("aria-sort");this.clearSortIndicators(),this.reorderTableRows(t,i),i?(t.header.setAttribute("aria-sort","ascending"),s.addClass(t.button,"f-ascending"),this.alertUserToSorting(s.getText(e),this.ascendingLocString)):(t.header.setAttribute("aria-sort","descending"),s.addClass(t.button,"f-descending"),this.alertUserToSorting(s.getText(e),this.descendingLocString))},t.prototype.clearSortIndicators=function(){for(var e,t=0,i=this.columnInfos;t<i.length;t++)(e=i[t])&&(e.header.setAttribute("aria-sort","none"),s.removeClass(e.button,"f-descending"),s.removeClass(e.button,"f-ascending"),s.removeClass(e.button,"glyph-sort"))},t.prototype.reorderTableRows=function(e,t){var i,n,s=this.tableBody.rows.length;for(e.ensureColumnInfoIsSorted(),this.ignoreNextDOMChange=!0,i=0;i<s;i++)n=t?e.sortOrder[i]:e.sortOrder[s-i-1],this.tableBody.appendChild(this.originalRows[n.originalRowIndex])},t.prototype.getSortKey=function(e){if(s.hasClass(e,"f-numerical")){if(s.selectElements('[content="0.00"]',e).length>0)return"";var i=s.getText(e).match(t.floatRegEx);if(i)return i[0]}return r.trim(s.getText(e))},t.selector=".c-table",t.typeName="Table",t.floatRegEx=/(\d+|\,|\.)+/g,t}(n.ObservableComponent),t.Table=a,l=function(e,t){this.originalRowIndex=e,this.key=t},c=function(){function e(e,t){this.header=e,this.button=t}return e.prototype.ensureColumnInfoIsSorted=function(){this.sortOrder&&!this.isSorted&&(this.sortOrder.sort((function(e,t){var i,n,s=e.key,o=t.key;return s===o?0:(i=parseFloat(s),n=parseFloat(o),isNaN(i)||isNaN(n)?s>o?1:-1:i>n?1:-1)})),this.isSorted=!0)},e}()}.apply(t,n),void 0===s||(e.exports=s)},toggle:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esMo
2dule",{value:!0});var o=function(e){function t(t,i){void 0===i&&(i=null);var n=e.call(this,t,i)||this;return n.toggleElement=t,n.toggleCheckedState=function(){n.isChecked()?n.uncheckToggle():n.checkToggle()},n.update(),n}return i.__extends(t,e),t.prototype.update=function(){if(e.prototype.update.call(this),!this.toggleElement)return!1;this.toggleButton=s.selectFirstElementT("button",this.toggleElement),this.toggleLabel=s.selectFirstElement("button + span",this.toggleElement),this.toggleLabel&&this.toggleButton&&(this.checkedString=this.toggleLabel.getAttribute("data-on-string"),this.uncheckedString=this.toggleLabel.getAttribute("data-off-string"),this.isDisabled()?this.disableToggle():this.enableToggle(),this.setToggleCheckedState(this.isChecked()),s.addEvent(this.toggleButton,s.eventTypes.click,this.toggleCheckedState),s.addEvent(this.toggleLabel,s.eventTypes.click,this.toggleCheckedState))},t.prototype.teardown=function(){s.removeEvent(this.toggleButton,s.eventTypes.click,this.toggleCheckedState),s.removeEvent(this.toggleLabel,s.eventTypes.click,this.toggleCheckedState)},t.prototype.checkToggle=function(){this.setToggleCheckedState(!0)},t.prototype.uncheckToggle=function(){this.setToggleCheckedState(!1)},t.prototype.isChecked=function(){return"true"===this.toggleButton.getAttribute(t.ariaChecked)},t.prototype.enableToggle=function(){this.toggleButton.disabled=!1,s.removeClass(this.toggleElement,t.disabledClass)},t.prototype.disableToggle=function(){this.toggleButton.disabled=!0,s.addClass(this.toggleElement,t.disabledClass)},t.prototype.isDisabled=function(){return this.toggleButton.disabled},t.prototype.setToggleCheckedState=function(e){this.isDisabled()||e===this.isChecked()||(this.toggleButton.setAttribute(t.ariaChecked,e.toString()),s.setText(this.toggleLabel,e?this.checkedString:this.uncheckedString),this.initiatePublish())},t.prototype.publish=function(e){e.onToggled&&e.onToggled({checked:this.isChecked()})},t.selector=".c-toggle",t.typeName="Toggle",t.ariaChecked="aria-checked",t.disabledClass="f-disabled",t}(n.Publisher);t.Toggle=o}.apply(t,n),void 0===s||(e.exports=s)},tooltip:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var i=e.call(this,t)||this;return i.isVisible=!1,i.timer=0,i.exposeToScreenReaders=!0,i.onFocus=function(e){(e=s.getEvent(e))&&"mouseover"!==e.type&&i.actOnFocus()},i.handleKeydownWhenFocused=function(e){if(i.isVisible)switch(e=s.getEvent(e),o.getKeyCode(e)){case 27:i.hide();break;case 38:case 40:s.preventDefault(e)}},i.onBlur=function(){i.hide(),s.addEvent(i.controller,s.eventTypes.focus,i.onFocus),s.removeEvent(i.controller,s.eventTypes.blur,i.onBlur),s.removeEvent(i.controller,s.eventTypes.keydown,i.handleKeydownWhenFocused)},i.onMouseOver=function(e){i.isVisible||(e=s.getEvent(e),i.tooltipXPosition=e.clientX,i.tooltipYPosition=e.clientY,i.actOnMouseOver())},i.onMouseOut=function(){i.timer>0&&(window.clearTimeout(i.timer),i.timer=0),i.hide(),s.removeEvent(i.controller,s.eventTypes.mouseout,i.onMouseOut),s.addEvent(i.controller,s.eventTypes.mouseover,i.onMouseOver)},i.showForMouse=function(){i.show(),s.removeEvent(i.controller,s.eventTypes.mouseover,i.onMouseOver)},i.onScroll=function(){i.isVisible&&!i.animationFrameRequested&&(i.animationFrameRequested=!0,s.SafeBrowserApis.requestAnimationFrame.call(window,(function(){return i.handleScroll()})))},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){if(this.element){var e=this.element.getAttribute("id");this.controller=s.selectFirstElement("["+t.ariaDescribedByAttribute+'="'+e+'"]'),this.controller||(this.controller=s.selectFirstElement("["+t.dataDescribedByAttribute+'="'+e+'"]'),this.exposeToScreenReaders=!this.controller),this.element.setAttribute(t.ariaHidden,"true"),this.exposeToScreenReaders||(s.addClass(this.element,t.hiddenClass),s.addClass(this.element,t.hiddenFromScreenReadersClass)),!this.controller||(s.addEvent(this.controller,s.eventTypes.mouseover,this.onMouseOver),s.addEvent(this.controller,s.eventTypes.focus,this.onFocus),s.addEvent(window,s.eventTypes.scroll,this.onScroll))}},t.prototype.teardown=function(){s.removeEvent(this.controller,s.eventTypes.mouseover,this.onMouseOver),s.removeEvent(this.controller,s.eventTypes.mouseout,this.onMouseOut),s.removeEvent(this.controller,s.eventTypes.focus,this.onFocus),s.removeEvent(this.controller,s.eventTypes.blur,this.onBlur),s.removeEvent(window,s.eventTypes.scroll,this.onScroll),this.controller=null,this.isVisible=!1,this.tooltipXPosition=0,this.tooltipYPosition=0,this.timer>0&&(window.clearTimeout(this.timer),this.timer=0)},t.prototype.actOnFocus=function(){s.removeClass(this.element,t.hookHover),s.addClass(this.element,t.hookFocus);var e=s.getClientRect(this.controller);this.tooltipXPosition=e.left,this.tooltipYPosition=e.bottom,this.show(),s.addEvent(this.controller,s.eventTypes.blur,this.onBlur),s.addEvent(this.controller,s.eventTypes.keydown,this.handleKeydownWhenFocused),s.removeEvent(this.controller,s.eventTypes.focus,this.onFocus)},t.prototype.actOnMouseOver=function(){s.removeClass(this.element,t.hookFocus),s.addClass(this.element,t.hookHover),this.timer=window.setTimeout(this.show
2ForMouse,t.timerDelay),s.addEvent(this.controller,s.eventTypes.mouseout,this.onMouseOut)},t.prototype.handleScroll=function(){this.animationFrameRequested=!1;var e=s.getScrollY(),t=this.scrollYOnShow-e;this.setPosition({top:this.tooltipYPosition+t})},t.prototype.show=function(){this.isVisible=!0,this.scrollYOnShow=s.getScrollY(),this.exposeToScreenReaders?this.element.setAttribute(t.ariaHidden,"false"):s.removeClass(this.element,t.hiddenClass),this.setPosition({left:this.tooltipXPosition,top:this.tooltipYPosition})},t.prototype.hide=function(){this.element&&this.isVisible&&(this.isVisible=!1,this.exposeToScreenReaders?this.element.setAttribute(t.ariaHidden,"true"):s.addClass(this.element,t.hiddenClass),s.removeClass(this.element,t.hookHover),s.removeClass(this.element,t.hookFocus))},t.prototype.setContent=function(e){!this.element||s.setText(this.element,e)},t.prototype.setPosition=function(e){e&&(!e.left||s.css(this.element,"left",e.left+"px"),!e.top||s.css(this.element,"top",e.top+"px"))},t.selector=".c-tooltip",t.typeName="Tooltip",t.ariaHidden="aria-hidden",t.hiddenClass="x-hidden",t.timerDelay=800,t.hookFocus="hook-focus",t.hookHover="hook-hover",t.ariaDescribedByAttribute="aria-describedby",t.dataDescribedByAttribute="data-f-describedby",t.hiddenFromScreenReadersClass="f-hidden-from-screen-readers",t}(n.ObservableComponent);t.Tooltip=r}.apply(t,n),void 0===s||(e.exports=s)},"ttml-context":function(e,t,i){"use strict";var n,s;n=[i,t,i("ttml-parser"),i("ttml-settings"),i("htmlExtensions"),i("stringExtensions"),i("utility")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){var t=this;this.translateToHtml=function(r,a,l){var c,u,h,d,p,m,g=t.getTagNameEquivalent(r),v="",f="";switch(g){case"ttml:region":f="cue ";case"ttml:rootcontainerregion":case"ttml:body":case"ttml:div":v="div";break;case"ttml:p":v="p";break;case"ttml:span":v="span";break;case"ttml:br":v="br"}return(h=i.TtmlParser.getAttributeNS(r,"role",t.settings.ttmlMetaNamespace))&&(f+=" "+h),(d=i.TtmlParser.getAttributeNS(r,"agent",t.settings.ttmlMetaNamespace))&&(f+=" "+d),"x-ruby"===h?v="ruby":"x-rubybase"===h?v="rb":"x-rubytext"===h&&(v="rt"),o.isNullOrWhiteSpace(v)||(c=e.defaultStyle(t.ownerDocument.createElement(v)),s.addClass(c,o.trim(f)),(p=i.TtmlParser.getAttributeNS(r,"title",t.settings.ttmlMetaNamespace))&&c.setAttribute("title",p),(m=i.TtmlParser.getAttributeNS(r,"id",n.xmlNS))&&t.settings.idPrefix&&c.setAttribute("id",t.settings.idPrefix+m),"ttml:region"===g&&(u=c.appendChild(e.defaultStyle(t.ownerDocument.createElement("div"))),s.css(u,"display","table"),s.css(u,"border-spacing","0"),s.css(u,"cell-spacing","0"),s.css(u,"cell-padding","0"),s.css(u,"width","100%"),s.css(u,"height","100%"),u=u.appendChild(e.defaultStyle(t.ownerDocument.createElement("div"))),s.css(u,"display","table-cell"),a.displayAlign&&(t.translateStyle(g,u,{displayAlign:a.displayAlign}),a.displayAlign=null)),l&&"ttml:span"===g&&(u=c.appendChild(e.defaultStyle(t.ownerDocument.createElement("span"))),s.css(u,"white-space","pre")),s.css(c,"position","static"),s.css(c,"width","100%"),t.translateStyle(g,c,a)),{outerNode:c,innerNode:u||c}}}return e.prototype.setOwnerDocument=function(e){this.ownerDocument=e},e.prototype.updateRelatedMediaObjectRegion=function(e){return(!this.settings.relatedMediaObjectRegion||e.width!==this.settings.relatedMediaObjectRegion.width||e.height!==this.settings.relatedMediaObjectRegion.height)&&(this.settings.relatedMediaObjectRegion={width:e.width,height:e.height},!0)},e.prototype.hasEvents=function(){return this.events&&!!this.events.length},e.prototype.resetCurrentEvents=function(){this.currentEvents=[]},e.prototype.updateCurrentEvents=function(e){var t,i=this.getTemporallyActiveEvents(e),n=this.currentEvents?this.currentEvents.length:0;if(n!==(i?i.length:0))return this.currentEventsTime=e,this.currentEvents=i,!0;if(this.currentEvents)for(t=0;t<n;t++)if(this.currentEvents[t].time!==i[t].time)return this.currentEventsTime=e,this.currentEvents=i,!0;return!1},e.prototype.getTemporallyActiveEvents=function(e){var t=this;return this.events.filter((function(i){return!i.element||t.isTemporallyActive(i.element,e)}))},e.prototype.isTemporallyActive=function(e,t){return(parseInt(e.getAttribute("data-time-start"),10)||0)<=t&&t<(parseInt(e.getAttribute("data-time-end"),10)||0)},e.prototype.getCues=function(e){var t,r,a,l,c,u,h,d,p,m,g,v,f,b,y,C,E=[];for(this.currentEventsTime!==e&&this.updateCurrentEvents(e),t="preserve"===i.TtmlParser.getAttributeNS(this.root,"space",n.xmlNS),r=0,a=this.layout?this.layout.getElementsByTagNameNS(this.settings.ttmlNamespace,"region"):[];r<a.length;r++){var w=a[r],S=i.TtmlParser.getAttributeNS(w,"id",n.xmlNS),T=w.getAttribute("data-isanonymous");if((T||S)&&(l=this.translate(w,this.settings.defaultRegionStyle,t,e,this.translateToHtml)).outerNode){for(c=l.innerNode,u=l.outerNode,h=0,d=this.events;h<d.length;h++)(p=d[h]).element&&this.isInRegion(p.element,T?null:S)&&(g=(m=this.prune(p.element,l.inheritableStyleSet,t,e,this.translateToHtml)).prunedElement,m.hasPreservedContent||!g||o.trim(s.getText(g)).length||(g=null),g&&c.appendChild(g));
2((v="always"===u.getAttribute("data-showBackground"))||c.children.length)&&(v&&u.removeAttribute("data-showBackground"),E.push(u))}}if(E.length){for(f=this.translate(this.rootContainerRegion,{overflow:"hidden",padding:"0"},!1,e,this.translateToHtml),b=0,y=E;b<y.length;b++)C=y[b],f.innerNode.appendChild(C);(E=[]).push(f.outerNode)}return E},e.prototype.translate=function(e,t,i,n,s){var o,r,a;return this.isTemporallyActive(e,n)&&(a=this.getTagNameEquivalent(e),"none"!==(r=this.getComputedStyleSet(e,t,a,n)).display&&(o=s(e,this.getApplicableStyleSet(r,a),i))),o?{outerNode:o.outerNode,innerNode:o.innerNode,inheritableStyleSet:this.getInheritableStyleSet(r)}:{outerNode:null,innerNode:null,inheritableStyleSet:null}},e.prototype.translateStyle=function(e,t,i){for(var n in i)i[n]&&this.applyStyle(t,e,n,i[n])},e.prototype.prune=function(e,t,o,r,a,l){var c,u,h,d,p,m,g,v,f,b,y,C;if(void 0===l&&(l=!1),u=!1,null!==(h=this.translate(e,t,o,r,a)).outerNode){for(d=this.getTagNameEquivalent(e),c=h.outerNode,p=h.innerNode,m=0,g=s.nodeListToArray(e.childNodes);m<g.length;m++)(v=g[m]).nodeType===Node.COMMENT_NODE||(v.nodeType===Node.TEXT_NODE?(p.appendChild(document.createTextNode(v.data)),o&&"ttml:span"===d&&(u=!0)):(f=o,(b=i.TtmlParser.getAttributeNS(v,"space",n.xmlNS))&&(f="preserve"===b),y=this.prune(v,h.inheritableStyleSet,f,r,a,!0),u=u||y.hasPreservedContent,y.prunedElement&&p.appendChild(y.prunedElement)));if(!l)for(C=e.parentNode;null!==C&&C.nodeType===Node.ELEMENT_NODE&&C!==this.body&&(h=this.translate(C,t,o,r,a)).outerNode;)(p=h.innerNode).appendChild(c),c=h.outerNode,C=C.parentNode}return{prunedElement:c,hasPreservedContent:u}},e.prototype.getComputedStyleSet=function(e,t,n,o){var a,l,c,u,h,d=r.extend({},t);for(r.extend(d,this.styleSetCache[parseInt(e.getAttribute("data-styleSet"),10)]),a=e.getElementsByTagNameNS(this.settings.ttmlNamespace,"set"),l=0,c=s.nodeListToArray(a);l<c.length;l++)u=c[l],this.isTemporallyActive(u,o)&&i.TtmlParser.applyInlineStyles(this.settings,d,u);return"ttml:p"===n&&"normal"===d.lineHeight&&((h=this.appendSpanFontSizes(e,this.getInheritableStyleSet(d),o,""))&&(d["computed-lineHeight"]=h)),d},e.prototype.getApplicableStyleSet=function(e,t){var i,n={};for(i in e.extent&&this.isStyleApplicable(t,"extent")&&(n.extent=e.extent),e.color&&this.isStyleApplicable(t,"color")&&(n.color=e.color),e)this.isStyleApplicable(t,i)&&(n[i]=e[i]);return n},e.prototype.isStyleApplicable=function(e,t){switch(t){case"backgroundColor":case"display":case"visibility":return"ttml:body ttml:div ttml:p ttml:region ttml:rootcontainerregion ttml:span ttml:br".indexOf(e)>=0;case"fontFamily":case"fontSize":case"fontStyle":case"fontWeight":case"direction":case"unicodeBidi":return"ttml:p ttml:span ttml:br".indexOf(e)>=0;case"color":case"textDecoration":case"textOutline":case"wrapOption":return"ttml:span ttml:br".indexOf(e)>=0;case"displayAlign":case"opacity":case"origin":case"overflow":case"padding":case"showBackground":case"writingMode":case"zIndex":return"ttml:region ttml:rootcontainerregion".indexOf(e)>=0;case"extent":return"ttml:tt ttml:region ttml:rootcontainerregion".indexOf(e)>=0;case"computed-lineHeight":case"lineHeight":case"textAlign":return"ttml:p".indexOf(e)>=0;default:return!1}},e.prototype.getInheritableStyleSet=function(e){var t={};for(var i in e)if(e.hasOwnProperty(i))switch(i){case"backgroundColor":case"computed-lineHeight":case"display":case"displayAlign":case"extent":case"opacity":case"origin":case"overflow":case"padding":case"showBackground":case"unicodeBidi":case"writingMode":case"zIndex":break;default:t[i]=e[i]}return t},e.prototype.appendSpanFontSizes=function(e,t,i,n){for(var o,r,a,l=0,c=s.nodeListToArray(e.childNodes);l<c.length;l++)(o=c[l]).nodeType===Node.ELEMENT_NODE&&("ttml:span"===this.getTagNameEquivalent(o)&&((a=(r=this.getComputedStyleSet(o,t,"ttml:span",i)).fontSize)&&(n+=(n?",":"")+a),n=this.appendSpanFontSizes(o,this.getInheritableStyleSet(r),i,n)));return n},e.prototype.isInRegion=function(e,t){var n,o,r,a,l,c;if(!t||(n=i.TtmlParser.getAttributeNS(e,"region",this.settings.ttmlNamespace))===t)return!0;if(!n){for(o=e.parentNode;null!==o&&o.nodeType===Node.ELEMENT_NODE;){if(r=this.getRegionId(o))return r===t;o=o.parentNode}for(a=0,l=s.nodeListToArray(e.getElementsByTagName("*"));a<l.length;a++)if(c=l[a],this.getRegionId(c)===t)return!0}return!1},e.prototype.getRegionId=function(e){var t;
2return e.nodeType===Node.ELEMENT_NODE&&e.namespaceURI===this.settings.ttmlNamespace&&(t="region"===i.TtmlParser.getLocalTagName(e)?i.TtmlParser.getAttributeNS(e,"id",n.xmlNS):i.TtmlParser.getAttributeNS(e,"region",this.settings.ttmlNamespace)),t},e.prototype.getTagNameEquivalent=function(e){var t=i.TtmlParser.getLocalTagName(e),n=e.namespaceURI;return n===this.settings.ttmlNamespace?"ttml:"+t:"http://www.w3.org/1999/xhtml"===n?t:""},e.prototype.applyStyle=function(t,i,n,a){var l,c,u,h,d,p,m,g,v,f=a;switch(n){case"color":case"backgroundColor":return f=e.ttmlToCssColor(a),void s.css(t,n,f);case"direction":case"display":case"fontStyle":case"fontWeight":case"opacity":case"visibility":case"zIndex":default:return void s.css(t,n,f);case"displayAlign":switch(a){case"before":f="top";break;case"center":f="middle";break;case"after":f="bottom"}return void s.css(t,"vertical-align",f);case"extent":return l=void 0,g=void 0,"auto"!==a&&(2===(v=a.split(/\s+/)).length&&(l=this.ttmlToCssUnits(v[0],!0),g=this.ttmlToCssUnits(v[1],!1))),l||(l=(this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions.width:this.settings.relatedMediaObjectRegion.width).toString()+"px",g=(this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions.height:this.settings.relatedMediaObjectRegion.height).toString()+"px"),s.css(t,"position","absolute"),s.css(t,"width",l),s.css(t,"min-width",l),s.css(t,"max-width",l),s.css(t,"height",g),s.css(t,"min-height",g),void s.css(t,"max-height",g);case"fontFamily":return this.settings.fontMap&&this.settings.fontMap[a]&&(f=this.settings.fontMap[a]),"smallCaps"===a&&s.css(t,"fontVariant","small-caps"),void s.css(t,n,f);case"fontSize":return c=(b=a.split(/\s+/)).length>1?b[1]:b[0],f=this.ttmlToCssFontSize(c,!1,.75,"ttml:region"===i),void s.css(t,n,f);case"lineHeight":return u="normal"===a?a:this.ttmlToCssFontSize(a,!1),void s.css(t,"line-height",u);case"computed-lineHeight":for(h=-1,d=0,p=a.split(",");d<p.length;d++)m=p[d],(f=this.ttmlToCssFontSize(m,!1))&&f.indexOf("px")===f.length-2&&(g=parseFloat(f.substr(0,f.length-2)),!isNaN(g)&&g>h&&(h=g));return void(h>=0&&s.css(t,"line-height",h+"px"));case"origin":return void("auto"!==a&&(v=a.split(/\s+/),2===v.length&&(s.css(t,"position","absolute"),s.css(t,"left",this.ttmlToCssUnits(v[0],!0)),s.css(t,"top",this.ttmlToCssUnits(v[1],!1)))));case"padding":var b,y=r.getDimensions(t),C=void 0,E=void 0,w=void 0,S=void 0;switch((b=a.split(/\s+/)).length){case 1:C=this.ttmlToCssUnits(b[0],!1,y),E=this.ttmlToCssUnits(b[0],!0,y),f=o.format("{0} {1} {0} {1}",C,E);break;case 2:C=this.ttmlToCssUnits(b[0],!1,y),E=this.ttmlToCssUnits(b[1],!0,y),f=o.format("{0} {1} {0} {1}",C,E);break;case 3:C=this.ttmlToCssUnits(b[0],!1,y),E=this.ttmlToCssUnits(b[1],!0,y),w=this.ttmlToCssUnits(b[2],!1,y),f=o.format("{0} {1} {2} {1}",C,E,w);break;case 4:C=this.ttmlToCssUnits(b[0],!1,y),E=this.ttmlToCssUnits(b[1],!0,y),w=this.ttmlToCssUnits(b[2],!1,y),S=this.ttmlToCssUnits(b[3],!0,y),f=o.format("{0} {1} {2} {3}",C,E,w,S)}return s.css(t,"box-sizing","border-box"),s.css(t,"border-style","solid"),s.css(t,"border-color","transparent"),void s.css(t,"border-width",f);case"textAlign":switch(a){case"start":f="left";break;case"end":f="right"}return void s.css(t,"text-align",f);case"textDecoration":return f=e.ttmlToCssTextDecoration(a),void s.css(t,"text-decoration",f);case"textOutline":return void s.css(t,"text-shadow",this.ttmlToCssTextOutline(f));case"unicodeBidi":if("bidiOverride"===a)f="bidi-override";return void s.css(t,"unicode-bidi",f);case"writingMode":switch(a){case"lr":case"lrtb":return s.css(t,"writing-mode","horizontal-tb"),s.css(t,"-webkit-writing-mode","horizontal-tb"),void s.css(t,"writing-mode","lr-tb");case"rl":case"rltb":return s.css(t,"writing-mode","horizontal-tb"),s.css(t,"-webkit-writing-mode","horizontal-tb"),void s.css(t,"writing-mode","rl-tb");case"tblr":return s.css(t,"text-orientation","upright"),s.css(t,"writing-mode","vertical-lr"),s.css(t,"-webkit-text-orientation","upright"),s.css(t,"-webkit-writing-mode","vertical-lr"),void s.css(t,"writing-mode","tb-lr");case"tb":case"tbrl":return s.css(t,"text-orientation","upright"),s.css(t,"writing-mode","vertical-rl"),s.css(t,"-webkit-text-orientation","upright"),s.css(t,"-webkit-writing-mode","vertical-rl"),void s.css(t,"writing-mode","tb-rl")}return;case"wrapOption":return void s.css(t,"white-space","noWrap"===a?"nowrap":"pre"===a?"pre":"normal")}},e.defaultStyle=function(t){return s.css(t,"background-color",e.TtmlNamedColorMap.transparent),s.css(t,"offset","0"),s.css(t,"margin","0"),s.css(t,"padding","0"),s.css(t,"border","0"),t},e.prototype.ttmlToCssUnits=function(e,t,i){var n,s=e;if(e&&("c"===(n=e.charAt(e.length-1))||"%"===n)){var o=this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions:this.settings.relatedMediaObjectRegion,r=parseFloat(e.substr(0,e.length-1)),a=t?o.width:o.height,l=void 0;"c"===n?l=r*a/(t?this.settings.cellResolution.columns:this.settings.cellResolution.rows):"%"===n&&(i&&(a=t?i.width:i.height),l=a*r/100),s=(l=Math.round(10*l)/10)+"px"}return s},e.prototype.ttmlToCssFontSize=function(e,t,i,n){var s,o;if(void 0===i&&(i=1),void 0===n&&(n=!1),s=e,e&&("c"===(o=e.charAt(e.length-1))||n&&"%"===o)){var r=this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions:this.settings.relatedMediaObjectRegion,a=parseFloat(e.substr(0,e.length-1))*(t?r.width:r.height)/(t?this.settings.cellResolution.columns:this.settings.cellResolution.rows);"%"===o&&(a/=100),s=(a=Math.floor(a*i*10)/10)+"px"}return s},e.prototype.ttmlToCssTextOutline=function(t){var i,n,s,r,a,l="none";if(!o.isNullOrWhiteSpace(t)&&"none"!==t){var c,u=t.split(/\s+/),h=void 0,d=void 0;if(1===u.length?(h=$(this).css("color"),d=u[0],c=""):3===u.length?(h=u[0],d=u[1],c=u[2]):2===u.length&&((i=u[0].charAt(0))>="0"&&i<="9"?(h=$(this).css("color"),d=u[0],c=u[1]):(h=u[0],d=u[1],c="")),c=this.ttmlToCssFontSize(c,!1,.75),d=this.ttmlToCssFontSize(d,!1,.75),(u=e.lengthRegEx.exec(d))&&3===u.length){for(n=Math.round(parseFloat(u[1])),s=u[2],l="",r=-n;r<=n;r++)for(a=-n;a<=n;a++)(0!==r||0!==a)&&(l+=o.format("{0}{4} {1}{4} {2} {3}, ",r,a,c,e.ttmlToCssColor(h),s));l&&(l=l.substr(0,l.length-2))}}return l},e.ttmlToCssTextDecoration=function(e){for(var t,i,n,s="",r=e.split(/\s+/),a=0,l=r;a<l.length;a++)switch(n=l[a]){case"none":case"noUnderline":case"noLineThrough":case"noOverline":s="none"}for(t=0,i=r;t<i.length;t++)switch(n=i[t]){case"none":case"noUnderline":case"noLineThrough":case"noOverline":break;case"lineThrough":s+=" line-through";break;default:s+=" "+n}return o.trim(s)},e.ttmlToCssColor=function(t){var i,n=t;if(0===(t=t.toLowerCase()).indexOf("rgba")){if((i=e.rgbaRegEx.exec(t))&&5===i.length){var s=i[1],r=i[2],a=i[3],l=parseInt(i[4],10);n=o.format("rgba({0},{1},{2},{3})",s,r,a,Math.round(100*l/255)/100)}}else if("#"===t.charAt(0)&&9===t.length){s=parseInt(t.substr(1,2),16),r=parseInt(t.substr(3,2),16),a=parseInt(t.substr(5,2),16),l=parseInt(t.substr(7,2),16);n=o.format("rgba({0},{1},{2},{3})",s,r,a,Math.round(100*l/255)/100)}else e.TtmlNamedColorMap[t]&&(n=e.TtmlNamedColorMap[t]);return n},e.lengthRegEx=/\s*(\d+\.*\d*)(.*)\s*/,e.rgbaRegEx=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3}
2)\s*\)\s*/,e.TtmlNamedColorMap={transparent:"rgba(0,0,0,0)",black:"rgba(0,0,0,1)",silver:"rgba(192,192,192,1)",gray:"rgba(128,128,128,1)",white:"rgba(255,255,255,1)",maroon:"rgba(128,0,0,1)",red:"rgba(255,0,0,1)",purple:"rgba(128,0,128,1)",fuchsia:"rgba(255,0,255,1)",magenta:"rgba(255,0,255,1)",green:"rgba(0,128,0,1)",lime:"rgba(0,255,0,1)",olive:"rgba(128,128,0,1)",yellow:"rgba(255,255,0,1)",navy:"rgba(0,0,128,1)",blue:"rgba(0,0,255,1)",teal:"rgba(0,128,128,1)",aqua:"rgba(0,255,255,1)",cyan:"rgba(0,255,255,1)"},e}();t.TtmlContext=a}.apply(t,n),void 0===s||(e.exports=s)},"ttml-parser":function(e,t,i){"use strict";var n,s;n=[i,t,i("ttml-context"),i("ttml-time-parser"),i("ttml-settings"),i("htmlExtensions"),i("stringExtensions")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){}return e.parse=function(t,o){var r,a,l,c;if(t="string"==typeof t?e.parseXml(t):t,(r=new i.TtmlContext).settings=new s.TtmlSettings(o),r.root=e.verifyRoot(t,r),r.body=e.getFirstElementByTagNameNS(r.root,"body",r.settings.ttmlNamespace),r.events=[],r.styleSetCache=[],r.body){try{e.parseTtAttrs(r),a=e.ensureRegions(r),l=e.getAttributeNS(r.root,"timeBase",r.settings.ttmlParameterNamespace)||"media",-1!==r.settings.supportedTimeBase.indexOf(l)&&(e.processAnonymousSpans(r,r.body),c=new n.TtmlTimeParser(r.settings.mediaFrameRate,r.settings.mediaTickRate),e.applyTiming(r,r.root,{start:e.mediaStart,end:e.mediaEnd},!0,c),e.applyStyling(r,a))}catch(u){}r.events.push({time:e.mediaEnd,element:null}),r.events.sort((function(e,t){return e.time-t.time}))}return r},e.parseXml=function(e){var t,i=null;try{window.DOMParser?i=(t=new window.DOMParser).parseFromString(e,"application/xml"):((t=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(e),i=t)}catch(n){i=null}return i},e.verifyRoot=function(t,i){var n,s=t.documentElement;return"tt"===e.getLocalTagName(s)&&("http://www.w3.org/ns/ttml"!==s.namespaceURI&&(i.settings.ttmlNamespace=s.namespaceURI,i.settings.ttmlStyleNamespace=i.settings.ttmlNamespace+"#styling",i.settings.ttmlParameterNamespace=i.settings.ttmlNamespace+"#parameter",i.settings.ttmlMetaNamespace=i.settings.ttmlNamespace+"#metadata"),n=s),n},e.parseTtAttrs=function(t){var i,n,s,o,a,l,c=e.getAttributeNS(t.root,"cellResolution",t.settings.ttmlParameterNamespace),u=e.getAttributeNS(t.root,"extent",t.settings.ttmlStyleNamespace),h=null;c&&(2===(i=r.trim(c).split(/\s+/)).length&&(n=Math.round(parseFloat(i[0])),(s=Math.round(parseFloat(i[1])))>0&&n>0&&(h={rows:s,columns:n}))),h&&(t.settings.cellResolution=h),u&&"auto"!==u&&(2===(o=u.split(/\s+/)).length&&"px"===o[0].substr(o[0].length-2)&&"px"===o[1].substr(o[1].length-2)&&(a=parseFloat(o[0].substr(0,o[0].length-2)),l=parseFloat(o[1].substr(0,o[1].length-2)),t.settings.rootContainerRegionDimensions={width:Math.round(a),height:Math.round(l)}))},e.ensureRegions=function(t){var i,n,o;return t.rootContainerRegion=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"rootcontainerregion"),t.root.appendChild(t.rootContainerRegion),i=t.settings.rootContainerRegionDimensions?r.format("{0}px {1}px",t.settings.rootContainerRegionDimensions.width,t.settings.rootContainerRegionDimensions.height):"auto",t.rootContainerRegion.setAttributeNS(t.settings.ttmlStyleNamespace,"extent",i),(n=e.getFirstElementByTagNameNS(t.root,"head",t.settings.ttmlNamespace))||(n=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"head"),t.root.appendChild(n)),t.layout=e.getFirstElementByTagNameNS(n,"layout",t.settings.ttmlNamespace),t.layout||(t.layout=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"layout"),t.root.appendChild(t.layout)),t.layout.getElementsByTagNameNS(t.settings.ttmlNamespace,"region").length||((o=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"region")).setAttributeNS(s.xmlNS,"id","anonymous"),o.setAttribute("data-isanonymous","1"),t.layout.appendChild(o),t.body.setAttributeNS(t.settings.ttmlNamespace,"region","anonymous")),n},e.processAnonymousSpans=function(t,i){var n,s,r,a,l,c,u,h,d,p,m,g;if(e.isTagNS(i,"p",t.settings.ttmlNamespace)){for(n=[],s=void 0,r=0,a=o.nodeListToArray(i.childNodes);r<a.length;r++)(g=a[r]).nodeType===Node.TEXT_NODE&&(s!==Node.TEXT_NODE&&n.push([]),n[n.length-1].push(g)),s=g.nodeType;for(l=0,c=n;l<c.length;l++)for(u=c[l],(h=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"span")).appendChild(u[0].parentNode.replaceChild(h,u[0])),d=1;d<u.length;d++)h.appendChild(u[d])}for(p=0,m=o.nodeListToArray(i.childNodes);p<m.length;p++)g=m[p],this.processAnonymousSpans(t,g)},e.applyTiming=function(t,i,n,s,r){var a,l,c,u,h,d=e.getAttributeNS(i,"begin",t.settings.ttmlNamespace),p=d?r.parse(d):n.start,m=0,g=0,v=0,f=e.getAttributeNS(i,"dur",t.settings.ttmlNamespace),b=e.getAttributeNS(i,"end",t.settings.ttmlNamespace);for(f||b?f&&b?(g=r.parse(f),v=r.parse(b),a=Math.min(p+g,n.start+v),m=Math.min(a,n.end)):b?(v=r.parse(b),m=Math.min(n.start+v,n.end)):(g=r.parse(f),m=Math.min(p+g,n.end)):s&&(p<=n.end?(Math.max(0,n.end-p),m=n.end):m=0),m<p&&(m=p),p=Math.floor(p),m=Math.floor(m),i.setAttribute("data-time-start",p.toString()),i.setAttribute("data-time-end",m.toString()),p>=0&&t.events.filter((function(e){return e.time===p})).length<=0&&t.events.push({time:p,element:i}),l=p,c=0,u=o.nodeListToArray(i.childNodes);c<u.length;c++)(h=u[c]).nodeType===Node.ELEMENT_NODE&&("seq"!==e.getAttributeNS(i,"timeContainer",t.settings.ttmlNamespace)?this.applyTiming(t,h,{start:p,end:m},!0,r):(this.applyTiming(t,h,{start:l,end:m},!1,r),l=parseInt(h.getAttribute("data-time-end"),10)))},e.applyStyling=function(t,i){for(var n,s=e.getFirstElementByTagNameNS(i,"styling",t.settings.ttmlNamespace),r=s?o.nodeListToArray(s.getElementsByTagNameNS(t.settings.ttmlNamespace,"style")):[],a=0,l=o.nodeListToArray(t.root.querySelectorAll("*"));a<l.length;a++)n=l[a],this.applyStyle(t,n,r)},e.applyStyle=function(t,i,n){var s,o,r={};for(o in this.applyStylesheet(t.settings,r,i,n),e.applyInlineStyles(t.settings,r,i),s=!0,r)if(r.hasOwnProperty(o)){s=!1;break}s||(i.setAttribute("data-styleSet",t.styleSetCache.length.toString()),t.styleSetCache.push(r))},e.applyStylesheet=function(t,i,n,r){for(var a,l,c,u,h,d,p=e.getAttributeNS(n,"style",t.ttmlNamespace),m=0,g=p?p.split(/\s+/):[];m<g.length;m++)for(a=g[m],l=0,c=r;l<c.length;l++)d=c[l],e.getAttributeNS(d,"id",s.xmlNS)===a&&(this.applyStylesheet(t,i,d,r),e.applyInlineStyles(t,i,d));if(e.isTagNS(n,"region",t.ttmlNamespace))for(u=0,h=o.nodeListToArray(n.getElementsByTagNameNS(t.ttmlNamespace,"style"));u<h.length;u++)d=h[u],e.applyInlineStyles(t,i,d)},e.applyInlineStyles=function(t,i,n){for(var s,a=0,l=o.nodeListToArray(n.attributes);a<l.length;a++)(s=l[a]).namespaceURI===t.ttmlStyleNamespace&&(i[e.getLocalTagName(s)]=r.trim(s.nodeValue))},e.getLocalTagName=function(e){return e.localName||e.baseName},e.isTagNS=function(e,t,i){return e.namespaceURI===i&&this.getLocalTagName(e)===t},e.getAttributeNS=function(e,t,i){var n,s,r,a=e.getAttributeNS(i,t);if(!a)for(n=0,s=o.nodeListToArray(e.attributes);n<s.length;n++)if((r=s[n]).localName===t&&r.lookupNamespaceURI(r.prefix)===i){a=r.value;break}return a},e.getFirstElementByTagNameNS=function(e,t,i){if(e){var n=e.getElementsByTagNameNS(i,t);if(n&&n.length)return n[0]}return null},e.mediaStart=-1,e.mediaEnd=99999999,e}();t.TtmlParser=a}.apply(t,n),void 0===s||(e.exports=s)},"ttml-settings":function(e,t,i){"use strict";var n,s;n=[i,t,i("utility")],s=function(e,t,i){Object.defineProperty(t,"__esMo
2dule",{value:!0}),t.xmlNS="http://www.w3.org/XML/1998/namespace";var n=function(e){this.ttmlNamespace="http://www.w3.org/ns/ttml",this.ttmlStyleNamespace="http://www.w3.org/ns/ttml#styling",this.ttmlParameterNamespace="http://www.w3.org/ns/ttml#parameter",this.ttmlMetaNamespace="http://www.w3.org/ns/ttml#metadata",this.idPrefix="",this.mediaFrameRate=30,this.mediaFrameRateMultiplier=1,this.mediaSubFrameRate=1,this.mediaTickRate=1e3,this.supportedTimeBase="media",this.cellResolution={rows:15,columns:32},this.defaultRegionStyle={backgroundColor:"transparent",color:"#E8E9EA",direction:"ltr",display:"auto",displayAlign:"before",extent:"auto",fontFamily:"default",fontSize:"1c",fontStyle:"normal",fontWeight:"normal",lineHeight:"normal",opacity:"1",origin:"auto",overflow:"hidden",padding:"0",showBackground:"always",textAlign:"start",textDecoration:"none",textOutline:"none",unicodeBidi:"normal",visibility:"visible",wrapOption:"noWrap",writingMode:"lrtb",zIndex:"auto"},this.fontMap={},this.fontMap.default="Lucida sans typewriter, Lucida console, Consolas",this.fontMap.monospaceSerif="Courier",this.fontMap.proportionalSerif="Times New Roman, Serif",this.fontMap.monospaceSansSerif="Lucida sans typewriter, Lucida console, Consolas",this.fontMap.proportionalSansSerif="Arial, Sans-serif",this.fontMap.casual="Verdana",this.fontMap.cursive="Zapf-Chancery, Segoe script, Cursive",this.fontMap.smallCaps="Arial, Helvetica",this.fontMap.monospace="Lucida sans typewriter, Lucida console, Consolas",this.fontMap.sansSerif="Arial, Sans-serif",this.fontMap.serif="Times New Roman, Serif",e&&i.extend(this,e)};t.TtmlSettings=n}.apply(t,n),void 0===s||(e.exports=s)},"ttml-time-parser":function(e,t,i){"use strict";var n;n=function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.mediaFrameRate=e,this.mediaTickRate=t}return e.prototype.parse=function(t){var i,n;if(!t)return 0;if((i=e.absoluteTimeRegex.exec(t))&&i.length>3){var s=3600*parseInt(i[1],10),o=60*parseInt(i[2],10),r=parseInt(i[3],10),a=0;return i[5]&&(a=1e3*parseFloat(i[4])),i[6]&&(a=Math.round(parseFloat(i[6])*this.getTimeUnitMultiplier("f"))),1e3*(s+o+r)+a}return(n=e.relativeTimeRegex.exec(t))&&n.length>3?Math.round(parseFloat(n[1])*this.getTimeUnitMultiplier(n[3])):0},e.prototype.getTimeUnitMultiplier=function(e){switch(e){case"h":return 36e5;case"ms":return 1;case"m":return 6e4;case"s":return 1e3;case"f":return 1e3/this.mediaFrameRate;case"t":return 1e3/this.mediaTickRate;default:return 0}},e.absoluteTimeRegex=/^(\d{1,}):(\d{2}):(\d{2})((\.\d{1,})|:(\d{2,}(\.\d{1,})?))?$/,e.relativeTimeRegex=/^(\d+(\.\d+)?)(ms|[hmsft])$/,e}();t.TtmlTimeParser=i}.apply(t,[i,t]),void 0===n||(e.exports=n)},utility:function(e,t,i){"use strict";var n,s,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i,t,i("stringExtensions")],s=function(e,t,i){function n(e){return!isNaN(e)&&"number"==typeof e}function s(){return window.innerWidth&&document.documentElement.clientWidth?Math.min(window.innerWidth,document.documentElement.clientWidth):window.innerWidth||document.documentElement.clientWidth}function r(e){return 0===(e=decodeURIComponent(e.replace("/+/g"," "))).indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e}function a(e,t){return void 0===t&&(t=!0),l(location.search,e,t)}function l(e,t,i){if(void 0===i&&(i=!0),!t||!e)return"";var n="[\\?&]"+t.replace(/[\[\]]/g,"\\$&")+"=([^&#]*)",s=(i?new RegExp(n,"i"):new RegExp(n)).exec(e);return null===s?"":decodeURIComponent(s[1].replace(/\+/g," "))}Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=n,t.getWindowWidth=s,t.getWindowHeight=function(){return window.innerHeight&&document.documentElement.clientHeight?Math.min(window.innerHeight,document.documentElement.clientHeight):window.innerHeight||document.documentElement.clientHeight},t.getDimensions=function(e){if(null!=e)return{width:e.clientWidth,height:e.clientHeight}},t.getVirtualKey=function(e){var t;if(!(e=e||window.event)||!(t=e.key||e.keyIdentifier))return t;switch(t){case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Up":return"ArrowUp";case"Down":return"ArrowDown";case"Esc":return"Escape";default:return t}},t.getKeyCode=function(e){return null==(e=e||window.event)?null:e.which||e.keyCode||e.charCode},t.setCookie=function(e,t,i,n,s){var o,r,a="";n&&((o=new Date).setTime(o.getTime()+864e5*n),a="; expires="+o.toUTCString()),r="",s&&(r=";domain="+s),window.document.cookie=e+"="+encodeURIComponent(t)+a+"; path="+i+";"+r},t.getCookie=function(e){var t,i;if(e)for(t=0,i=document.cookie.split("; ");t<i.length;t++){var n=i[t],s=n.indexOf("="),o=r(n.substring(0,s));if(o===e)return r(n.substring(o.length+1))}return null},t.detectContrast=function(e){if(e&&6===e.length){var t=parseInt(e.substring(0,2),16),i=parseInt(e.substring(2,4),16),n=parseInt(e.substring(4,6),16);if(!isNaN(t)&&!isNaN(i)&&!isNaN(n))return(299*t+587*i+114*n)/255e3>=.5?2:1}return null},t.pointInRect=function(e,t,i){return!!(i&&n(e)&&n(t)&&n(i.left)&&n(i.right)&&n(i.top)&&n(i.bottom))&&(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)},t.apiDeprecated=function(e){console&&console.warn?console.warn(e):console&&console.error&&console.error(e)},t.createPerfMarker=function(e,t){if((t||!(a("item").toLowerCase().indexOf("perf_marker_global:true")<0))&&!i.isNullOrWhiteSpace(e)&&window.performance&&window.performance.mark){var n=e.split(" ").join("_");window.performance.mark(n),window.console&&window.console.timeStamp&&window.console.timeStamp(n)}},t.getPerfMarkerValue=function(e){if(i.isNullOrWhiteSpace(e)||!window.performance||!window.performance.mark)return 0;var t=e.split(" ").join("_"),n=window.performance.getEntriesByName(t);return n&&n.length?Math.round(n[n.length-1].startTime):0}
2,t.toElapsedTimeString=function(e,t){var i;if(!n(e))return"00:00";(i=e<0)&&(e*=-1);var s=Math.floor(e/3600),o=e%3600,r=Math.floor(o/60),a="";return a=t?s>0?s+":":"00:":s>0?s+":":"",a+=(r<10?"0":"")+r,a+=":"+(0===(e=Math.floor(o%60))?"00":(e<10?"0":"")+e),i?"-"+a:a},t.parseJson=function(e){if(!JSON||!JSON.parse)throw new Error("JSON.parse unsupported.");if(!e)throw new Error("Invalid json.");return JSON.parse(e)},t.extend=function e(){for(var t,i,n,s,r,a,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];if(!l||!l.length)return null;if(t="boolean"==typeof l[0]&&l[0],l.length<2)return t?null:l[0];if(t&&l.length<3)return l[1];for(i=t?l[1]:l[0],n=t?2:1;n<l.length;n++)for(s in l[n])if(l[n].hasOwnProperty(s)){if(r=l[n][s],t){var u=Array.isArray?Array.isArray(r):"[object Array]"==={}.toString.call(r),h=!!i[s]&&(Array.isArray?Array.isArray(i[s]):"[object Array]"==={}.toString.call(i[s])),d=!u&&"object"===("undefined"==typeof r?"undefined":o(r)),p=!h&&!!i[s]&&"object"===o(i[s]);if(u&&h){for(a=0;a<r.length;a++)u=Array.isArray?Array.isArray(r[a]):"[object Array]"==={}.toString.call(r[a]),h=!!i[s][a]&&(Array.isArray?Array.isArray(i[s][a]):"[object Array]"==={}.toString.call(i[s][a])),d=!u&&"object"===o(r[a]),p=!h&&!!i[s][a]&&"object"===o(i[s][a]),i[s][a]=u?e(!0,h?i[s][a]:[],r[a]):d?e(!0,p?i[s][a]:{},r[a]):r[a];continue}if(u){i[s]=e(!0,[],r);continue}if(d){i[s]=e(!0,p?i[s]:{},r);continue}}i[s]=r}return i},t.poll=function(e,t,i,n,s){var o=!i||i<0?-1:Number(new Date)+i;t=t||100,function i(){var r=e();if(r&&n)n();else{if(r)return;if(-1===o||Number(new Date)<o)setTimeout(i,t);else{if(!s)return;s()}}}()},t.getQSPValue=a,t.getQSPFromUrl=function(e,t,i){return void 0===i&&(i=!0),l(e,t,i)},t.addQSP=function(e,t){var i,n;if(!t)return e;if(-1===e.indexOf("//"))throw'To avoid unexpected results in URL parsing, url must begin with "http://", "https://", or "//"';return(i=document.createElement("a")).href=e,i.search=(i.search?i.search+"&":"?")+t,n=i.href,i=null,n},t.saveToSessionStorage=function(e,t){try{if(!window.sessionStorage||!e||!t)return;sessionStorage.setItem(e,t)}catch(i){}},t.getValueFromSessionStorage=function(e){try{return window.sessionStorage&&e?sessionStorage.getItem(e):null}catch(t){return null}},t.saveToLocalStorage=function(e,t){try{if(!window.localStorage||!e||!t)return;localStorage.setItem(e,t)}catch(i){}},t.getValueFromLocalStorage=function(e){try{return window.localStorage&&e?localStorage.getItem(e):null}catch(t){return null}},t.getScrollTop=function(){return window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0},function(e){e.allWidths=[320,540,768,1084,1400,1779],e.vpMin=e.allWidths[0],e.vpMax=2048,e.getViewport=function(){var t;if(window.matchMedia){for(t=0;t<e.allWidths.length;++t)if(!window.matchMedia("(min-width:"+e.allWidths[t]+"px)").matches)return t}else for(t=0;t<e.allWidths.length;++t)if(!(s()>=e.allWidths[t]))return t;return e.allWidths.length}}(t.Viewports||(t.Viewports={}))}.apply(t,n),void 0===s||(e.exports=s)},video:function(e,t,i){"use strict";var n,s;n=[i,t,i("videoControls"),i("video-closed-captions"),i("utility"),i("htmlExtensions"),i("stringExtensions")],s=function(e,t,i,n,s,o,r){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(t){var n=this;if(this.videoComponent=t,this.canPlay=!1,this.errorMessageDisplayed=!1,this.onMouseEvent=function(e){if("mouseover"===(e=o.getEvent(e)).type)!n.controlPanelTimer||window.clearTimeout(n.controlPanelTimer),n.showControlPanel();else if("mouseout"===e.type){for(var t=e.toElement||e.relatedTarget;t&&t.parentNode&&t.parentNode!==window;){if(t.parentNode===n||t===n)return void o.preventDefault(e);t=t.parentNode}n.startControlPanelTimeout()}},this.onVideoMetadataLoaded=function(){!n.videoControls||!n.videoPlayer||(n.canPlay=!1,n.videoControls.setDuration(n.videoPlayer.duration),null!==n.videoPlayer.getAttribute("autoplay")&&n.play())},this.onVideoTimeUpdate=function(){!n.videoControls||!n.videoPlayer||(n.videoControls.setPlayPosition(n.videoPlayer.currentTime),n.closedCaptions&&n.closedCaptions.updateCaptions(n.videoPlayer.currentTime))},this.onVideoPlayStateChanged=function(e){n.canPlay=n.canPlay||"canplay"===e.type||"canplaythrough"===e.type,!n.videoControls||n.videoControls.updatePlayPauseState()},this.onVideoPlayerClicked=function(){n.isPlayable&&(n.isPaused()?n.play():n.pause())},this.onVideoEnded=function(){!n.videoControls||(n.videoControls.setPlayPosition(0),n.videoControls.updatePlayPauseState()),n.closedCaptions&&n.closedCaptions.updateCaptions(0)},this.onResized=function(){!n.videoComponent||!n.triggerParagraph||(s.getDimensions(n.videoComponent).width<s.Viewports.allWidths[2]?n.triggerParagraph.setAttribute(e.ariaHidden,"true"):n.triggerParagraph.removeAttribute(e.ariaHidden))},t){if(this.videoPlayer=o.selectFirstElementT(".f-video-player",this.videoComponent),this.videoControlsContainer=o.selectFirstElement(".f-video-controls",this.videoComponent),this.videoControls=new i.VideoControls(this.videoControlsContainer,this),!this.videoPlayer||!this.videoPlayer.canPlayType)return null;this.initializeClosedCaptions(),this.triggerContainer=o.selectFirstElement("section",this.videoComponent),!this.triggerContainer||(this.trigger=o.selectFirstElement(".c-action-trigger",this.triggerContainer),this.triggerParagraph=o.selectFirstElement("p",this.triggerContainer),this.triggerParagraph&&(this.resizeListener=o.addThrottledEvent(window,o.eventTypes.resize,this.onResized),this.onResized())),this.videoControlsContainer&&this.videoControls&&(this.videoControls.setMuted(null!==this.videoPlayer.getAttribute("muted")),this.videoControls.setVolume(parseInt(s.getCookie(e.co
2okieVolume)||"1",10)),o.addEvents(this.videoComponent,"mouseover mouseout",this.onMouseEvent),o.addEvents(this.videoPlayer,"canplay canplaythrough waiting",this.onVideoPlayStateChanged),o.addEvent(this.videoPlayer,o.eventTypes.loadedmetadata,this.onVideoMetadataLoaded),o.addEvent(this.videoPlayer,o.eventTypes.timeupdate,this.onVideoTimeUpdate),o.addEvent(this.videoPlayer,o.eventTypes.ended,this.onVideoEnded),o.addEvent(this.videoPlayer,o.eventTypes.click,this.onVideoPlayerClicked),this.startControlPanelTimeout())}}return e.prototype.startControlPanelTimeout=function(){var t=this;this.controlPanelTimer=window.setTimeout((function(){t.hideControlPanel()}),e.controlPanelTimeout)},e.prototype.hideControlPanel=function(){!this.controlPanelTimer||window.clearTimeout(this.controlPanelTimer),!this.videoControlsContainer||o.hasClass(this.videoControlsContainer,e.showControlsClass)&&(o.removeClass(this.videoControlsContainer,e.showControlsClass),o.addClass(this.videoControlsContainer,e.hideControlsClass),!this.ccOverlay||(o.removeClass(this.ccOverlay,e.fitControlsClass),this.closedCaptions&&this.videoPlayer&&this.closedCaptions.updateCaptions(this.videoPlayer.currentTime))),!this.videoControls||this.videoControls.prepareToHide()},e.prototype.showControlPanel=function(){!this.videoControlsContainer||this.errorMessageDisplayed||o.hasClass(this.videoControlsContainer,e.hideControlsClass)&&(o.removeClass(this.videoControlsContainer,e.hideControlsClass),o.addClass(this.videoControlsContainer,e.showControlsClass),!this.ccOverlay||(o.addClass(this.ccOverlay,e.fitControlsClass),this.closedCaptions&&this.videoPlayer&&this.closedCaptions.updateCaptions(this.videoPlayer.currentTime)))},e.prototype.isPaused=function(){return!!this.videoPlayer&&this.videoPlayer.paused},e.prototype.isPlayable=function(){return!!this.videoPlayer&&this.canPlay},e.prototype.play=function(){!this.videoPlayer||this.videoPlayer.play(),!this.videoControls||this.videoControls.updatePlayPauseState()},e.prototype.pause=function(){!this.videoPlayer||this.videoPlayer.pause(),!this.videoControls||this.videoControls.updatePlayPauseState()},e.prototype.setPlayPosition=function(t){s.isNumber(t)&&this.videoPlayer&&(t=Math.max(0,Math.min(t,s.isNumber(this.videoPlayer.duration)?this.videoPlayer.duration:0)),Math.abs(t-this.videoPlayer.currentTime)>=e.positionUpdateThreshold&&(this.videoPlayer.currentTime=t))},e.prototype.getVolume=function(){return this.videoPlayer&&s.isNumber(this.videoPlayer.volume)?this.videoPlayer.volume:0},e.prototype.setVolume=function(t){s.isNumber(t)&&this.videoPlayer&&((t=Math.round(100*Math.max(0,Math.min(t,1)))/100)!==this.videoPlayer.volume&&(this.videoPlayer.volume=t,s.setCookie(e.cookieVolume,t.toString(),"/",365),!this.videoControls||this.videoControls.setVolume(t)))},e.prototype.isMuted=function(){return!this.videoPlayer||this.videoPlayer.muted},e.prototype.setMuted=function(e){!this.videoPlayer||e===this.videoPlayer.muted||(this.videoPlayer.muted=e,!this.videoControls||this.videoControls.setMuted(e))},e.prototype.setFullscreen=function(){if(this.videoPlayer&&(this.videoPlayer.requestFullscreen||this.videoPlayer.msRequestFullscreen||this.videoPlayer.mozRequestFullScreen||this.videoPlayer.webkitRequestFullscreen||this.videoPlayer.webkitSupportsFullscreen)){var e=document.fullScreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,t=document.cancelFullScreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitCancelFullScreen||document.webkitCancelFullScreen,i=this.videoPlayer.requestFullscreen||this.videoPlayer.msRequestFullscreen||this.videoPlayer.mozRequestFullScreen||this.videoPlayer.webkitRequestFullscreen||this.videoPlayer.webkitEnterFullScreen;e&&t(),i.call(this.videoPlayer)}},e.prototype.initializeClosedCaptions=function(){this.ccOverlay=o.selectFirstElement(".f-video-cc-overlay",this.videoComponent),this.ccOverlay&&(this.closedCaptions=new n.VideoClosedCaptions(this.ccOverlay),this.initializeClosedCaptionsMenu())},e.prototype.initializeClosedCaptionsMenu=function(t){var i,n,r,a,l,c,u;if(this.ccOverlay&&this.closedCaptions){if(!t&&(t=[],n=o.selectElementsT("ul[data-vi
2deo-sub-options=f-video-captions] li a[data-video-selectable]",this.videoComponent)))for(r=0,a=n=n.slice(1);r<a.length;r++){var h=a[r],d=this.removeIdPrefix(h.parentElement.id),p="true"===h.parentElement.getAttribute("aria-selected");p&&(i=d),t.push({id:d,value:o.getText(h),selected:p,href:h.href})}if(!t||!t.length)return void(this.ccOptions=null);for((l=s.getCookie(e.cookieCcPreference))&&(i=l),c=0,u=t;c<u.length;c++)h=u[c],i&&(h.selected=i===h.id),h.id=this.addIdPrefix(h.id);this.ccOptions=t,this.videoControls.setOptions({category:"f-video-captions",options:t})}},e.prototype.onOptionChanged=function(e){switch(e.category){case"f-video-captions":this.setCC(e.id);break;case"f-video-quality":this.setQuality(e.id);break;case"f-video-share":this.shareVideo(e.id)}},e.prototype.setCC=function(t){var i,n,o,r;if(this.closedCaptions){if(i=null,t&&this.ccOptions)for(n=0,o=this.ccOptions;n<o.length;n++)if((r=o[n]).id===t){i=r;break}t=this.removeIdPrefix(t),this.closedCaptions.setCcLanguage(t,i?i.href:null),s.setCookie(e.cookieCcPreference,t,"/",365)}},e.prototype.setQuality=function(){},e.prototype.shareVideo=function(){},e.prototype.addIdPrefix=function(e){var t=this.videoComponent&&this.videoComponent.id?this.videoComponent.id+"-":null;return t&&!r.startsWith(e,t,!1)?t+e:e},e.prototype.removeIdPrefix=function(e){var t=this.videoComponent&&this.videoComponent.id?this.videoComponent.id+"-":null;return t&&r.startsWith(e,t,!1)?e.substring(t.length):e},e.prototype.showTrigger=function(){!this.triggerContainer||this.triggerContainer.setAttribute(e.ariaHidden,"false")},e.prototype.hideTrigger=function(){!this.triggerContainer||this.triggerContainer.setAttribute(e.ariaHidden,"true")},e.prototype.displayErrorMessage=function(t){if(t&&(t.title||t.message)){if(this.errorMessageDisplayed=!0,this.errorMessage)o.setText(this.errorMessage.title,t.title||""),o.setText(this.errorMessage.message,t.message||""),this.errorMessage.container.setAttribute(e.ariaHidden,"false");else{this.errorMessage={},this.errorMessage.container=document.createElement("div");var i=document.createElement("div");this.errorMessage.title=document.createElement("p"),this.errorMessage.message=document.createElement("p"),this.errorMessage.container.setAttribute("role","status"),this.errorMessage.title.setAttribute("class","c-heading"),this.errorMessage.message.setAttribute("class","c-paragraph"),!t.title||o.setText(this.errorMessage.title,t.title),!t.message||o.setText(this.errorMessage.message,t.message),this.errorMessage.container.appendChild(i),i.appendChild(this.errorMessage.title),i.appendChild(this.errorMessage.message),this.videoComponent.appendChild(this.errorMessage.container)}this.hideControlPanel(),this.hideTrigger()}},e.prototype.hideErrorMessage=function(){!this.errorMessage||!this.errorMessage.container||(this.errorMessage.container.setAttribute(e.ariaHidden,"true"),this.errorMessageDisplayed=!1)},e.selector=".c-video",e.showControlsClass="f-slidein",e.hideControlsClass="f-slideout",e.fitControlsClass="f-overlay-slidein",e.ariaHidden="aria-hidden",e.cookieVolume="vidvol",e.cookieCcPreference="vidccpref",e.positionUpdateThreshold=.1,e.controlPanelTimeout=3500,e}();t.Video=a}.apply(t,n),void 0===s||(e.exports=s)},"video-closed-captions":function(e,t,i){"use strict";var n,s;n=[i,t,i("ttml-parser"),i("htmlExtensions"),i("utility")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){this.element=e,this.errorCallback=t,this.lastPlayPosition=0,this.ccLanguageId=null,this.resetCaptions()}return e.prototype.setCcLanguage=function(e,t){if(this.element&&e!==this.ccLanguageId){if(this.ttmlContext=null,this.resetCaptions(),!t)return void(this.ccLanguageId=null);this.ccLanguageId=e,this.loadClosedCaptions(t)}},e.prototype.getCurrentCcLanguage=function(){return this.ccLanguageId},e.prototype.loadClosedCaptions=function(e){var t,i=this;e&&((t=new XMLHttpRequest).onreadystatechange=function(){4===t.readyState&&200===t.status&&i.onClosedCaptionsLoaded(t.responseXML||t.responseText)},t.open("GET",e,!0),t.setRequestHeader("Accept","text/xml, application/xml"),t.send())},e.prototype.onClosedCaptionsLoaded=function(t){if(t){this.element.setAttribute(e.ariaHidden,"false");
2var n={idPrefix:this.element.id?this.element.id+"-":"",fontMap:{default:"Segoe ui, Arial"},relatedMediaObjectRegion:s.getDimensions(this.element)};this.ttmlContext=i.TtmlParser.parse(t,n),this.ttmlContext&&(this.ttmlContext.setOwnerDocument(this.element.ownerDocument),this.ttmlContext.hasEvents()?this.updateCaptions(this.lastPlayPosition):this.element.setAttribute(e.ariaHidden,"true"))}},e.prototype.updateCaptions=function(t){var i,o,r,a,l;if(this.lastPlayPosition=t,this.ttmlContext&&this.ttmlContext.hasEvents()&&(i=Math.floor(1e3*t),this.element.setAttribute(e.ariaHidden,"false"),o=s.getDimensions(this.element),this.ttmlContext.updateRelatedMediaObjectRegion(o)&&this.resetCaptions(),this.ttmlContext.updateCurrentEvents(i))){for(this.element.setAttribute(e.ariaHidden,"true"),n.removeInnerHtml(this.element),r=0,a=this.ttmlContext.getCues(i);r<a.length;r++)l=a[r],this.applyUserPreferencesOverrides(l),this.element.appendChild(l);this.element.setAttribute(e.ariaHidden,"false")}},e.prototype.resetCaptions=function(){this.ttmlContext&&this.ttmlContext.resetCurrentEvents(),this.element&&(this.element.setAttribute(e.ariaHidden,"true"),n.removeInnerHtml(this.element))},e.prototype.applyUserPreferencesOverrides=function(t){var i,s,o,r,a,l;if(e.userPreferences){if(e.userPreferences.text)for(i=0,s=n.selectElements("p, span, br",t);i<s.length;i++)for(l in a=s[i],e.userPreferences.text)e.userPreferences.text.hasOwnProperty(l)&&n.css(a,l,e.userPreferences.text[l]);if(e.userPreferences.window)for(o=0,r=n.toArray(t.children);o<r.length;o++)for(l in a=r[o],e.userPreferences.window)e.userPreferences.window.hasOwnProperty(l)&&n.css(a,l,e.userPreferences.window[l])}},e.ariaHidden="aria-hidden",e}();t.VideoClosedCaptions=o}.apply(t,n),void 0===s||(e.exports=s)},videoControls:function(e,t,i){"use strict";var n,s;n=[i,t,i("componentFactory"),i("slider"),i("utility"),i("htmlExtensions")],s=function(e,t,i,n,s,o){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,s){var r,a,l=this;if(this.videoControls=t,this.onPlayPauseEvents=function(t){"click"===t.type?!l.videoPlayer||(l.videoPlayer.isPaused()?l.play():l.pause()):"mouseover"===t.type?!l.playTooltip||o.removeClass(l.playTooltip,e.screenReaderOnlyClass):"mouseout"===t.type&&(!l.playTooltip||o.addClass(l.playTooltip,e.screenReaderOnlyClass))},this.onVolumeEvents=function(e){"click"===e.type?o.getEventTargetOrSrcElement(e)===l.volumeButton&&l.setMuted(!l.videoPlayer.isMuted()):"mouseover"===e.type||"focus"===e.type?l.showVolumeContainer():("mouseout"===e.type||"blur"===e.type)&&l.hideVolumeContainer()},this.onVolumeSliderEvents=function(e){"focus"===e.type?l.showVolumeContainer():"blur"===e.type&&l.hideVolumeContainer()},this.onFullScreenEvents=function(t){"click"===t.type?!l.videoPlayer||l.videoPlayer.setFullscreen():"mouseover"===t.type?!l.fullScreenTooltip||l.fullScreenTooltip.setAttribute(e.ariaHidden,"false"):"mouseout"===t.type&&(!l.fullScreenTooltip||l.fullScreenTooltip.setAttribute(e.ariaHidden,"true"))},this.toggleOptionsDialog=function(){!l.optionsContainer||("false"===l.optionsContainer.getAttribute(e.ariaHidden)?("click"===event.type&&l.hideOptionsContainer(),"mouseout"===event.type&&window.setTimeout((function(e){e.hideOptionsContainer()}),l.cleanupInterval,l)):"true"===l.optionsContainer.getAttribute(e.ariaHidden)&&("click"===event.type||"mouseover"===event.type)&&l.showOptionsContainer())},this.hideOptionsContainer=function(){!l.optionsContainer||l.optionsContainer.setAttribute(e.ariaHidden,"true")},this.onOptionsDialogClick=function(e){var t,i,n,s,r,a,c,u;if(e=o.getEvent(e),"back"===(i=(t=o.getEventTargetOrSrcElement(e)).getAttribute("data-video-options")))return l.showOptionsContainer(),void o.preventDefault(e);if(i)return!l.optionsContainer||!l.odParent||(n=o.selectFirstElement("ul[data-video-sub-options="+i+"]",l.optionsContainer),o.css(n,"display","block"),s=l.calcHeight(n),o.css(l.optionsContainer,"height",s+"px"),o.css(l.odParent,"left","-160px"),l.odSubActive=n),void o.preventDefault(e);if(l.odSubActive&&(o.preventDefault(e),!(r=t.getAttribute("data-video-selectable"))&&t.firstElementChild&&(r=(t=t.firstElementChild).getAttribute("data-video-selectable")),r)){for(a=0,c=o.selectElements("a",l.odSubActive);a<c.length;a++)u=c[a],o.removeClass(u,"glyph-check-mark");o.addClass(t,"glyph-check-mark"),l.videoPlayer&&l.videoPlayer.onOptionChanged({category:l.odSubA
2ctive.getAttribute("data-video-sub-options"),id:t.parentElement.id,href:t.getAttribute("href")})}l.hideOptionsContainer()},t&&s){if(this.videoPlayer=s,this.playButton=o.selectFirstElementT(".f-play-pause",this.videoControls),this.playTooltip=o.selectFirstElement("span",this.playButton),this.fullScreenButton=o.selectFirstElementT(".f-full-screen",this.videoControls),this.fullScreenTooltip=o.selectFirstElement("span",this.fullScreenButton),this.volumeButton=o.selectFirstElementT(".f-volume-button",this.videoControls),this.volumeContainer=o.selectFirstElement(".f-volume-slider",this.videoControls),this.optionsButton=o.selectFirstElementT(".f-options",this.videoControls),this.optionsContainer=o.selectFirstElement(".f-options-dialog",this.videoControls),this.timeCurrent=o.selectFirstElement(".f-current-time",this.videoControls),this.timeDuration=o.selectFirstElement(".f-duration",this.videoControls),this.cleanupInterval=2e3,r=o.selectFirstElement(".c-slider.f-progress",this.videoControls),a=o.selectFirstElement(".c-slider",this.volumeContainer),!this.playButton||!this.playTooltip||!this.fullScreenButton||!this.fullScreenTooltip||!r||!this.volumeButton||!this.volumeContainer||!a||!this.timeCurrent||!this.timeDuration||!this.optionsButton||!this.optionsContainer)return null;this.playButton.removeAttribute("aria-label"),this.playTooltip.removeAttribute("aria-hidden"),o.addClass(this.playTooltip,e.screenReaderOnlyClass),this.initializeLocalization(),this.updatePlayPauseState(),this.optionsDialogInit(),o.addEvents(window,"resize scroll",this.hideOptionsContainer),o.addEvents(this.playButton,"click mouseover mouseout",this.onPlayPauseEvents),o.addEvents(this.fullScreenButton,"click mouseover mouseout",this.onFullScreenEvents),o.addEvents([this.volumeButton,this.volumeContainer],"click mouseover mouseout focus blur",this.onVolumeEvents),o.addEvents(this.optionsButton,"click mouseover mouseout",this.toggleOptionsDialog),i.ComponentFactory.create([{component:n.Slider,eventToBind:"DOMContentLoaded",elements:[r,a],callback:function(e){!e||!e.length||2!==e.length||(l.progressSlider=e[0],l.volumeSlider=e[1],l.progressSlider.subscribe({onValueChanged:function(e){return l.onProgressChanged(e)}}),l.volumeSlider.subscribe({onValueChanged:function(e){return l.onVolumeChanged(e)}}),o.addEvents(o.selectFirstElement("button",l.volumeSlider.element),"focus blur",l.onVolumeSliderEvents))}}])}}return e.prototype.initializeLocalization=function(){!this.playButton||(this.locPlay=this.playButton.getAttribute("data-locPlay")||"Play",this.locPause=this.playButton.getAttribute("data-locPause")||"Pause")},e.prototype.setDuration=function(e){s.isNumber(e)&&(!this.progressSlider||this.progressSlider.resetSlider(0,e),!this.timeDuration||o.setText(this.timeDuration,s.toElapsedTimeString(e,!1)))},e.prototype.setPlayPosition=function(e){s.isNumber(e)&&this.progressSlider&&this.progressSlider.setValue(e)},e.prototype.setVolume=function(e){s.isNumber(e)&&this.videoPlayer&&(this.videoPlayer.setVolume(e),!this.volumeSlider||(this.volumeSlider.setValue(Math.round(100*e)),this.updateMuteGlyph()))},e.prototype.setMuted=function(e){!this.videoPlayer||(this.videoPlayer.setMuted(e),this.updateMuteGlyph())},e.prototype.updateMuteGlyph=function(){if(this.videoPlayer&&this.volumeButton){o.removeClasses(this.volumeButton,["glyph-volume","glyph-mute"]);var e=this.videoPlayer.isMuted()||0===this.videoPlayer.getVolume();o.addClass(this.volumeButton,e?"glyph-mute":"glyph-volume")}},e.prototype.prepareToHide=function(){this.hideOptionsContainer(),this.hideVolumeContainer()},e.prototype.onProgressChanged=function(e){if(!e)return null;this.videoPlayer&&e.userInitiated&&this.videoPlayer.setPlayPosition(e.value);var t=s.toElapsedTimeString(e.value,!0);return!this.timeCurrent||o.setText(this.timeCurrent,s.toElapsedTimeString(e.value,!1)),t},e.prototype.onVolumeChanged=function(e){if(!e)return null;this.videoPlayer&&e.value>0&&this.videoPlayer.setMuted(!1);var t=Math.round(e.value);return this.setVolume(t/100),t.toString()},e.prototype.play=function(){!this.videoPlayer||this.videoPlayer.play()},e.prototype.pause=function(){!this.videoPlayer||this.videoPlayer.pause()},e.prototype.updatePlayPauseState=function(){!this.videoPlayer||!this.playButton||(this.videoPlayer.isPlayable()?(this.playButton.removeAttribute("disabled"),this.videoPlayer.isPaused()?(!this.playTooltip||o.setText(this.playTooltip,this.locPlay),o.removeClass(this.playButton,"glyph-p
2ause"),o.addClass(this.playButton,"glyph-play")):(!this.playTooltip||o.setText(this.playTooltip,this.locPause),o.removeClass(this.playButton,"glyph-play"),o.addClass(this.playButton,"glyph-pause"),this.prepareToHide())):(!this.playTooltip||o.setText(this.playTooltip,this.locPlay),o.removeClass(this.playButton,"glyph-pause"),o.addClass(this.playButton,"glyph-play"),this.playButton.setAttribute("disabled","disabled")))},e.prototype.showVolumeContainer=function(){this.volumeContainer&&(this.volumeContainer.setAttribute(e.ariaHidden,"false"),this.onlyOneDialog(this.volumeContainer))},e.prototype.hideVolumeContainer=function(){!this.volumeContainer||this.volumeContainer.setAttribute(e.ariaHidden,"true")},e.prototype.optionsDialogInit=function(){!this.optionsContainer||(this.odParent=o.selectFirstElement("ul",this.optionsContainer),this.odDimensions=o.getClientRect(this.odParent),o.addEvent(this.odParent,o.eventTypes.click,this.onOptionsDialogClick))},e.prototype.showOptionsContainer=function(){this.optionsContainer&&this.odParent&&(this.optionsContainer.setAttribute(e.ariaHidden,"false"),o.css(this.optionsContainer,"height",this.odDimensions.height+"px"),o.css(this.optionsContainer,"overflowY","hidden"),o.css(this.odParent,"left","0"),this.odClearSubActive(),this.onlyOneDialog(this.optionsContainer))},e.prototype.onlyOneDialog=function(t){!this.optionsContainer||!this.volumeContainer||"false"!==this.optionsContainer.getAttribute(e.ariaHidden)||"false"!==this.volumeContainer.getAttribute(e.ariaHidden)||(t===this.optionsContainer?this.hideVolumeContainer():this.hideOptionsContainer())},e.prototype.calcHeight=function(e){if(!e||!this.videoControls)return 0;var t=o.getClientRect(e).height,i=o.getClientRect(this.videoControls.parentElement),n=o.getClientRect(this.videoControls),s=i.height-n.height;return t>s?(o.css(this.optionsContainer,"overflowY","scroll"),t=s):o.css(this.optionsContainer,"overflowY","hidden"),t},e.prototype.odClearSubActive=function(){!this.odSubActive||(o.css(this.odSubActive,"display","none"),this.odSubActive=null)},e.prototype.setOptions=function(e){var t,i,n,s,r,a,l,c,u,h,d;if(e&&e.options&&e.options.length&&e.category&&this.odParent){if("info"===e.category)return void((u=e.options[0])&&u.href&&(t=o.selectFirstElementT("a",this.odParent),t&&t.setAttribute("href",u.href)));if(i="f-video-share"===e.category?1:2,(n=o.selectFirstElement("ul[data-video-sub-options='"+e.category+"']",this.odParent))&&((s=o.selectElements("li",n))&&s.length>i)){for(;s.length>i;)o.removeElement(s.pop());for(r=s.pop(),1===i&&(r=r.cloneNode(!0),o.removeClasses(r.firstElementChild,["glyph-chevron-left","c-glyph"]),r.firstElementChild.removeAttribute("data-video-options")),o.removeClass(r.firstElementChild,"glyph-check-mark"),a=null,l=0,c=e.options;l<c.length;l++)u=c[l],(h=n.appendChild(r.cloneNode(!0))).id=u.id,o.setText(h.firstElementChild,u.value),u.selected&&(a=h.firstElementChild),u.href&&(h.firstElementChild.setAttribute("href",u.href),o.addClass(h.firstElementChild,u.glyph)),u.glyph&&(o.addClass(h.firstElementChild,"c-glyph"),o.addClass(h.firstElementChild,u.glyph)),u.image&&(d=h.firstElementChild.appendChild(document.createElement("img")),o.addClass(d,"c-image"),d.setAttribute("src",u.image));"f-video-share"!==e.category&&(a||(a=r.firstElementChild),o.addClass(a,"glyph-check-mark"),this.videoPlayer)&&this.videoPlayer.onOptionChanged({category:e.category,id:a.parentElement.id,href:a.getAttribute("href")})}}},e.selector=".f-video-controls",e.ariaHidden="aria-hidden",e.ariaLabel="aria-label",e.screenReaderOnlyClass="x-screen-reader",e}();t.VideoControls=r}.apply(t,n),void 0===s||(e.exports=s)},videoTrigger:function(e,t,i){"use strict";var n,s;n=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],s=function(e,t,i,n,s){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=e.call(this,t)||this;return i.handleElementResizeEvent=function(){i.applyWidthBasedClass()},i.onTriggerClick=function(){i.initiatePublish({id:i.element.id})},i.update(),i}return i.__extends(t,e),t.prototype.update=function(){if(this.element){var e=s.selectFirstElement(t.triggerSelector,this.element);
2e&&this.element.id&&(this.trigger=e,s.addEvent(this.trigger,s.eventTypes.click,this.onTriggerClick)),this.applyWidthBasedClass(),this.resizeThrottledEvent=s.addThrottledEvent(window,s.eventTypes.resize,this.handleElementResizeEvent,50)}},t.prototype.teardown=function(){s.removeEvent(window,s.eventTypes.resize,this.handleElementResizeEvent),this.element=null},t.prototype.applyWidthBasedClass=function(){var e=s.getClientRect(this.element).width;e<=t.mediumWidth&&e>t.smallWidth?this.element.setAttribute(t.dataJsWidth,t.mediumString):e<=t.smallWidth?this.element.setAttribute(t.dataJsWidth,t.smallString):this.element.removeAttribute(t.dataJsWidth)},t.prototype.publish=function(e,t){this.trigger&&e.onClick(t)},t.selector=".m-video-trigger",t.typeName="VideoTrigger",t.dataJsWidth="data-js-width",t.smallString="small",t.mediumString="medium",t.smallWidth=767,t.mediumWidth=1083,t.triggerSelector="button",t}(n.Publisher);t.VideoTrigger=o}.apply(t,n),void 0===s||(e.exports=s)},viewportCollision:function(e,t,i){"use strict";var n,s;n=[i,t,i("htmlExtensions")],s=function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.collidesWith=function(e,t){var n,s,o,r,a=i.getClientRect(e);return a.left=Math.round(a.left),a.top=Math.round(a.top),a.right=Math.round(a.right),a.bottom=Math.round(a.bottom),!(0===a.width||(n=!1,s={top:!1,bottom:!1,left:!1,right:!1},t||(o=Math.min(window.innerWidth,document.documentElement.clientWidth),r=Math.min(window.innerHeight,document.documentElement.clientHeight),t={left:0,top:0,right:o,bottom:r,width:o,height:r}),a.left<t.left&&(n=!0,s.left=!0),a.top<t.top&&(n=!0,s.top=!0),a.right>t.right&&(n=!0,s.right=!0),a.bottom>t.bottom&&(n=!0,s.bottom=!0),!n))&&s},t.getCollisionExtents=function(e,t){var n,s,o=i.getClientRect(e);if(0===o.width)return null;t||(t={top:0,right:n=Math.min(window.innerWidth,document.documentElement.clientWidth),bottom:s=Math.min(window.innerHeight,document.documentElement.clientHeight),left:0,height:s,width:n});var r=Math.round(o.top-t.top),a=Math.round(t.right-o.right),l=Math.round(t.bottom-o.bottom),c=Math.round(o.left-t.left);return r>=0&&a>=0&&l>=0&&c>=0?null:{top:r,right:a,bottom:l,left:c,clientRect:o,viewport:t}}}.apply(t,n),void 0===s||(e.exports=s)}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.