!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){n(1)(n(7)),n(3),n(4),n(2),n(5)},function(t,e){t.exports=function(t){function e(t){return t.replace(a,"<�")}function n(r){for(var i=[],a=0,o=r.length;a<o;a++)t.isArray(r[a])?i.push(n(r[a])):i.push("string"==typeof r[a]?e(r[a]):r[a]);return i}function r(t){return function(){return o[t].apply(this,n(arguments))}}if(t){var i,a=/<(?=script[^>]*\/>)/gi;if(t.htmlPrefilter)return i=t.htmlPrefilter,void(t.htmlPrefilter=function(t){return i.call(this,e(t))});var o={init:t.fn.init,html:t.fn.html,before:t.fn.before,after:t.fn.after,append:t.fn.append,prepend:t.fn.prepend,replaceWith:t.fn.replaceWith};t.fn.extend({init:function(t,n,r){return"string"==typeof t&&t.indexOf("<")>-1&&(t=e(t)),new o.init(t,n,r)},html:r("html"),before:r("before"),after:r("after"),append:r("append"),prepend:r("prepend"),replaceWith:r("replaceWith")})}}},function(t,e){!function(t){var e=/ /g,n=/[\s\u0000<>"]|%00/,r=/[\\;]/,i=/([.]|%2e){2}/i;XMLHttpRequest.prototype.open=function(){var a=arguments[1];if("string"==typeof a){if(a=a.trim(),a.indexOf(" ")>-1&&"undefined"!=typeof console&&console.warn("url should not contains spaces: "+a),a=a.replace(e,"+"),n.test(a))throw new Error("SecurityError: Not valid character in URL: "+a);var o=a.split("?")[0];if(r.test(o)||i.test(o)||i.test(decodeURI(o)))throw new Error("SecurityError: Refusing to load a url with path traversal: "+o)}return t.apply(this,arguments)}}(XMLHttpRequest.prototype.open)},function(t,e){/*!
	 * openerFix - a library for removing window.opener when opening a new context for security
	 * @version v0.2.12
	 */
!function(){function t(t){"object"==typeof t&&(t.realClick=!0)}var e,n,r,i,a=document.body;i=function(t){for(;t;){if(!t.tagName)return null;if("a"===t.tagName.toLowerCase())return t;t=t.parentElement}},n=function(t){var e=window.open(t);e&&(e.opener=null)},r=function(t){var e=null;return t.target&&("click"===t.type||"keydown"===t.type&&13===t.keyCode)&&(e=i(t.target)||null),e},e=function(t){if(t.realClick){var e=r(t);e&&"_blank"===e.target&&!t.defaultPrevented&&(t.preventDefault(),n(e.href))}},document&&document.addEventListener&&document.addEventListener("click",e),a&&a.addEventListener?a.addEventListener("click",t):document&&document.addEventListener&&document.addEventListener("DOMContentLoaded",function(){document.body.addEventListener("click",t)})}()},function(t,e,n){var r={};!function(){"use strict";var t=n(6),e="/platform-telemetry/platform",i="PT_C_M",a="si",o="h",c="r",l="sw",s="sh",u="tz",d="cv",f="pt-report",p="eyJcdTAwNjFcdTAwNzVcdTAwNzRcdTAwNmZcdTAwNDVcdTAwNzhcdTAwNjVcdTAwNjNcdTAwNzVcdTAwNzRcdTAwNjUiOnRydWUsIlx1MDA2NVx1MDA3OFx1MDA2NVx1MDA2M1x1MDA3NVx1MDA3NFx1MDA2NVx1MDA0OVx1MDA2ZVx1MDA3NFx1MDA2NVx1MDA3Mlx1MDA3Nlx1MDA2MVx1MDA2YyI6NDMyMDAwMDAsIlx1MDA2NVx1MDA3OFx1MDA2NVx1MDA2M1x1MDA3NVx1MDA3NFx1MDA2NSI6ZmFsc2UsIlx1MDA3NFx1MDA2OVx1MDA2ZFx1MDA2NVx1MDA2Zlx1MDA3NVx1MDA3NCI6MTAwLCJcdTAwNjlcdTAwNmVcdTAwNjlcdTAwNzQiOjAsIlx1MDA3Mlx1MDA2MVx1MDA3NFx1MDA2OVx1MDA2ZiI6MCwiXHUwMDY0XHUwMDYxXHUwMDc0XHUwMDY1IjoxLCJcdTAwNzZcdTAwNjVcdTAwNzJcdTAwNzNcdTAwNjlcdTAwNmZcdTAwNmUiOiIwXHUwMDJlMFx1MDAyZTAifQ==";window.addEventListener&&document.querySelectorAll&&window.localStorage&&window.JSON&&window.XMLHttpRequest&&Array.prototype.forEach&&window.btoa&&window.atob&&(r.canvasFingerprint=function(t){var e=document.createElement("canvas");if(e.getContext&&e.toDataURL){var n=e.getContext("2d");return n.canvas.width=t.canvasFingerprintContentSet.canvasDimension2D.width,n.canvas.height=t.canvasFingerprintContentSet.canvasDimension2D.height,t.canvasFingerprintContentSet.rectangles.forEach(function(t){if(n.beginPath(),t.rectangleHTMLStyle.isGradient){var e=n.createLinearGradient(t.rectangleHTMLStyle.gradientStartPoint.x,t.rectangleHTMLStyle.gradientStartPoint.y,t.rectangleHTMLStyle.gradientEndPoint.x,t.rectangleHTMLStyle.gradientEndPoint.y);e.addColorStop(0,t.rectangleHTMLStyle.gradient_start_color),e.addColorStop(1,t.rectangleHTMLStyle.gradient_end_color),n.fillStyle=e}else n.fillStyle=t.rectangleHTMLStyle.style;n.rect(t.rectangle2D.top_left_point.x,t.rectangle2D.top_left_point.y,t.rectangle2D.rectangleDimension2D.width,t.rectangle2D.rectangleDimension2D.height),t.rectangleHTMLStyle.isStroke?(n.lineWidth=1,n.strokeStyle=t.rectangleHTMLStyle.style,n.stroke()):n.fill()}),t.canvasFingerprintContentSet.arcs.forEach(function(t){n.beginPath(),n.arc(t.arc2D.center.x,t.arc2D.center.y,t.arc2D.radius,t.arc2D.start_angle,t.arc2D.end_angle,t.arc2D.isAnticlockwise),t.arcHTMLStyle.isStroke?(n.lineWidth=1,n.strokeStyle=t.arcHTMLStyle.style,n.stroke()):(n.fillStyle=t.arcHTMLStyle.style,n.fill())}),t.canvasFingerprintContentSet.lines.forEach(function(t){n.beginPath(),n.moveTo(t.line2D.start_point.x,t.line2D.start_point.y),n.lineWidth=t.lineHTMLStyle.line_width,n.lineTo(t.line2D.end_point.x,t.line2D.end_point.y),n.strokeStyle=t.lineHTMLStyle.style,n.stroke()}),t.canvasFingerprintContentSet.texts.forEach(function(t){n.beginPath(),n.font=t.textHTMLStyle.font,n.textBaseline="alphabetic",t.textHTMLStyle.isStroke?(n.lineWidth=1,n.strokeStyle=t.textHTMLStyle.style,n.strokeText(t.text,t.textHTMLStyle.start_point.x,t.textHTMLStyle.start_point.y)):(n.fillStyle=t.textHTMLStyle.style,n.fillText(t.text,t.textHTMLStyle.start_point.x,t.textHTMLStyle.start_point.y))}),e.toDataURL().replace("data:image/png;base64,","")}},r.obfuscateJSON=function(t){return t.replace(/"((?:\\\\|\\"|[^"])*)"/g,function(t,e){return'"'+e.replace(/(?:\\[^u]|\\u....|[\d"\\{}\[\],:]|(.))/g,function(t,e){return e?"\\u"+("000"+t.charCodeAt(0).toString(16)).slice(-4):t})+'"'})},r.saveConfig=function(t,e){var n=r.obfuscateJSON(JSON.stringify(t));try{localStorage.setItem(e,btoa(n))}catch(t){}},r.loadConfig=function(t,e){var n=localStorage.getItem(t);try{var r=e?JSON.parse(atob(e)):null;return n?JSON.parse(atob(n)):r}catch(t){return null}},r.isNumber=function(t){return"number"==typeof t&&t===t},r.isIntervalPassed=function(t,e){var n=(new Date).getTime();return 0===t||n-t>=e},r.check=function(){var t=r.loadConfig(i,p);if(t&&"0.0.0"===t.version&&r.isNumber(t.date)&&r.isNumber(t.init)){var e=(new Date).getTime();if(0===t.date||e-t.date<t.init)return t.date=e,void r.saveConfig(t,i)}r.isNumber(t.date)&&r.isNumber(t.executeInterval)&&(r.isIntervalPassed(t.date,t.executeInterval)&&t.autoExecute&&setTimeout(function(){r.sendRequest(t)},t.timeout),t.execute&&setTimeout(function(){r.sendRequest(t)},t.timeout))},r.execute=function(e,n){var i={},a={};n.forEach(function(n){n&&(i=r.canvasFingerprint(n),a=t(i)),a&&r.isNumber(e.ratio)&&(Math.random()<e.ratio?r.sendReport(a,i,n.id,e.version):r.sendReport(a,null,n.id,e.version))})},r.stamping=function(){var t=r.loadConfig(i,p);t&&(t.date=(new Date).getTime(),t.execute=!1,r.saveConfig(t,i))},r.sendRequest=function(t){var n=new XMLHttpRequest;n.open("POST",e,!0),n.setRequestHeader("Content-Type","application/json"),n.onreadystatechange=function(){if(4===n.readyState&&200===n.status)if(n.responseText)try{var e=JSON.parse(n.responseText);if(e.hasOwnProperty("c")){var a=JSON.parse(atob(e.c));a&&r.saveConfig(a,i)}else r.stamping();if(e.hasOwnProperty("s")){var o=JSON.parse(atob(e.s));o&&r.execute(t,o.seeds)}}catch(t){}else r.stamping()};var a={},o={};o[d]=t.version,a[f]=o,n.send(btoa(r.obfuscateJSON(JSON.stringify(a))))},r.sendReport=function(t,n,i,p){var y=new XMLHttpRequest;y.open("POST",e,!0),y.setRequestHeader("Content-Type","application/json");var v={},g={};g[d]=p,g[o]=t,g[c]=n,g[a]=i,g[l]=screen.width,g[s]=screen.height,g[u]=(new Date).getTimezoneOffset(),v[f]=g,y.send(btoa(r.obfuscateJSON(JSON.stringify(v))))},"complete"===document.readyState?r.check():window.addEventListener("load",r.check,!1))}()},function(t,e){!function(){"use strict";function t(t){return/^ *(?:https?:|[\/?#.]|data:(?:(?:image\/(?:gif|jpe?g|png))|(?:application\/x-font-woff)|(?:font\/(?:opentype|ttf)))[;,]|javascript:(?:void(?:\s*\(\d*\)|\s+\d+)|""|''|self[.]close\(\))?;? *$)/.test(t)?t:null}function e(t){return i||(i=document.createElement("a")),i.href=t,i.href=i.href,i.protocol}function n(t,e){return"javascript:"!==t&&"data:"!==t&&":"!==t?e:null}function r(r){return""===r?"":t(r)||n(e(r),r)||a}var i,a="javascript:void(0)",o=Array.prototype,c=o.slice,l=function(t){for(var e=t.target;e;){if(e.nodeType===Node.ELEMENT_NODE&&e.hasAttribute("href")){var n=e.href,i=r(n);n!==i&&(e.href=i);break}e=e.parentElement}};document.addEventListener("click",l,!0),document.addEventListener("mousedown",l,!0);var s=HTMLElement.prototype.setAttribute;HTMLElement.prototype.setAttribute=function(t,e){return/^(?:src|(?:xlink:)?href|(?:form)?action|data)$/i.test(t)&&(e=r(e)),s.call(this,t,e)};var u=window.open;window.open=function(t){var e=c.call(arguments,1);return t=r(t),u.apply(this,[t].concat(e))}}()},function(t,e){"use strict";function n(t){for(var e=l(t),n=1732584193,r=-271733879,i=-1732584194,a=271733878,s=0;s<e.length;s+=16){var u=n,v=r,g=i,M=a;n=d(n,r,i,a,e[s+0],7,-680876936),a=d(a,n,r,i,e[s+1],12,-389564586),i=d(i,a,n,r,e[s+2],17,606105819),r=d(r,i,a,n,e[s+3],22,-1044525330),n=d(n,r,i,a,e[s+4],7,-176418897),a=d(a,n,r,i,e[s+5],12,1200080426),i=d(i,a,n,r,e[s+6],17,-1473231341),r=d(r,i,a,n,e[s+7],22,-45705983),n=d(n,r,i,a,e[s+8],7,1770035416),a=d(a,n,r,i,e[s+9],12,-1958414417),i=d(i,a,n,r,e[s+10],17,-42063),r=d(r,i,a,n,e[s+11],22,-1990404162),n=d(n,r,i,a,e[s+12],7,1804603682),a=d(a,n,r,i,e[s+13],12,-40341101),i=d(i,a,n,r,e[s+14],17,-1502002290),r=d(r,i,a,n,e[s+15],22,1236535329),n=f(n,r,i,a,e[s+1],5,-165796510),a=f(a,n,r,i,e[s+6],9,-1069501632),i=f(i,a,n,r,e[s+11],14,643717713),r=f(r,i,a,n,e[s+0],20,-373897302),n=f(n,r,i,a,e[s+5],5,-701558691),a=f(a,n,r,i,e[s+10],9,38016083),i=f(i,a,n,r,e[s+15],14,-660478335),r=f(r,i,a,n,e[s+4],20,-405537848),n=f(n,r,i,a,e[s+9],5,568446438),a=f(a,n,r,i,e[s+14],9,-1019803690),i=f(i,a,n,r,e[s+3],14,-187363961),r=f(r,i,a,n,e[s+8],20,1163531501),n=f(n,r,i,a,e[s+13],5,-1444681467),a=f(a,n,r,i,e[s+2],9,-51403784),i=f(i,a,n,r,e[s+7],14,1735328473),r=f(r,i,a,n,e[s+12],20,-1926607734),n=p(n,r,i,a,e[s+5],4,-378558),a=p(a,n,r,i,e[s+8],11,-2022574463),i=p(i,a,n,r,e[s+11],16,1839030562),r=p(r,i,a,n,e[s+14],23,-35309556),n=p(n,r,i,a,e[s+1],4,-1530992060),a=p(a,n,r,i,e[s+4],11,1272893353),i=p(i,a,n,r,e[s+7],16,-155497632),r=p(r,i,a,n,e[s+10],23,-1094730640),n=p(n,r,i,a,e[s+13],4,681279174),a=p(a,n,r,i,e[s+0],11,-358537222),i=p(i,a,n,r,e[s+3],16,-722521979),r=p(r,i,a,n,e[s+6],23,76029189),n=p(n,r,i,a,e[s+9],4,-640364487),a=p(a,n,r,i,e[s+12],11,-421815835),i=p(i,a,n,r,e[s+15],16,530742520),r=p(r,i,a,n,e[s+2],23,-995338651),n=y(n,r,i,a,e[s+0],6,-198630844),a=y(a,n,r,i,e[s+7],10,1126891415),i=y(i,a,n,r,e[s+14],15,-1416354905),r=y(r,i,a,n,e[s+5],21,-57434055),n=y(n,r,i,a,e[s+12],6,1700485571),a=y(a,n,r,i,e[s+3],10,-1894986606),i=y(i,a,n,r,e[s+10],15,-1051523),r=y(r,i,a,n,e[s+1],21,-2054922799),n=y(n,r,i,a,e[s+8],6,1873313359),a=y(a,n,r,i,e[s+15],10,-30611744),i=y(i,a,n,r,e[s+6],15,-1560198380),r=y(r,i,a,n,e[s+13],21,1309151649),n=y(n,r,i,a,e[s+4],6,-145523070),a=y(a,n,r,i,e[s+11],10,-1120210379),i=y(i,a,n,r,e[s+2],15,718787259),r=y(r,i,a,n,e[s+9],21,-343485551),n=o(n,u),r=o(r,v),i=o(i,g),a=o(a,M)}return c(n)+c(r)+c(i)+c(a)}function r(t,e){var n=1&t|1&e,r=t>>>1|e>>>1;return r<<1|n}function i(t,e){var n=1&t^1&e,r=t>>>1^e>>>1;return r<<1|n}function a(t,e){var n=1&t&(1&e),r=t>>>1&e>>>1;return r<<1|n}function o(t,e){var n=(65535&t)+(65535&e),r=(t>>16)+(e>>16)+(n>>16);return r<<16|65535&n}function c(t){var e,n="";for(e=0;e<=3;e++)n+=v.charAt(t>>8*e+4&15)+v.charAt(t>>8*e&15);return n}function l(t){var e,n=(t.length+8>>6)+1,r=new Array(16*n);for(e=0;e<16*n;e++)r[e]=0;for(e=0;e<t.length;e++)r[e>>2]|=t.charCodeAt(e)<<(8*t.length+e)%4*8;r[e>>2]|=128<<(8*t.length+e)%4*8;var i=8*t.length;return r[16*n-2]=255&i,r[16*n-2]|=(i>>>8&255)<<8,r[16*n-2]|=(i>>>16&255)<<16,r[16*n-2]|=(i>>>24&255)<<24,r}function s(t,e){return t<<e|t>>>32-e}function u(t,e,n,r,i,a){return o(s(o(o(e,t),o(r,a)),i),n)}function d(t,e,n,i,o,c,l){return u(r(a(e,n),a(~e,i)),t,e,o,c,l)}function f(t,e,n,i,o,c,l){return u(r(a(e,i),a(n,~i)),t,e,o,c,l)}function p(t,e,n,r,a,o,c){return u(i(i(e,n),r),t,e,a,o,c)}function y(t,e,n,a,o,c,l){return u(i(n,r(e,~a)),t,e,o,c,l)}t.exports=n;var v="0123456789abcdef"},function(t,e){t.exports=function(){return"undefined"!=typeof LIModules?LIModules.imports("jquery"):"undefined"!=typeof jQuery?jQuery:void 0}()}]);LI.define("A11yMenu");LI.A11yMenu=function(a,b){a&&(this.container=a,this.config=b,this.trigger=YDom.get("a11y-skip-nav-link"),this.searchSelect=YDom.get("main-search-box"),this.body=document.getElementsByTagName("body")[0],this.pageBody=YDom.get("body"),this.item=0,this.init())};
LI.A11yMenu.prototype={init:function(){(!YAHOO.env.ua.ie||YAHOO.env.ua.ie&&7<YAHOO.env.ua.ie)&&YEvent.addListener(this.trigger,"focus",this.buildMenu,this,!0)},buildMenu:function(){var a,b,c,d,e={allowTags:["strong"]},k=document.createElement("span"),h=document.createElement("ul"),f="",g=[].slice.call(document.querySelectorAll("h2, h3")),l=[].slice.call(document.querySelectorAll("#header h2, #header h3")),g=g.filter(function(a){return-1===l.indexOf(a)&&this.isVisible(a)}.bind(this));d=10<g.length?
10:g.length;for(c=0;c<d;c++)b=g[c],a=this.getText(b.childNodes),""!==a&&(f+=jSecure.setElementContent(k,'\x3cli\x3e\x3ca class\x3d"a11y-jump-item" href\x3d"#a11y-header{j}" title\x3d"{myHTML}"\x3e{myHTML}\x3c/a\x3e\x3c/li\x3e',{myHTML:a,j:c})),b.insertAdjacentHTML("afterbegin",'\x3cspan class\x3d"a11y-offscreen" id\x3d"a11y-header'+c+'" name\x3d"a11y-header'+c+'"\x3e\x3c/span\x3e');if(0===d||""===f)f='\x3cli\x3e\x3ca class\x3d"a11y-jump-item" href\x3d"#a11y-content-link" title\x3d"{smallPageText}"\x3e{smallPageText}\x3c/a\x3e\x3c/li\x3e';
YEvent.removeListener(this.trigger,"focus",this.buildMenu);jSecure.setElementContent(h,'\x3cli role\x3d"presentation"\x3e\x3ca role\x3d"button" id\x3d"a11y-jump-to-link" aria-haspopup\x3d"true" class\x3d"a11y" href\x3d"#a11y-content"\x3e{jumpToText}\x3cspan class\x3d"more"\x3e{moreText}\x3c/span\x3e\x3c/a\x3e\x3col id\x3d"a11y-sub-menu" role\x3d"menu" class\x3d"a11y-hidden"\x3e'+f+'\x3c/ol\x3e\x3c/li\x3e\x3cli role\x3d"presentation"\x3e\x3ca id\x3d"a11y-search" class\x3d"a11y" href\x3d"{searchUrl}"\x3e\x3cspan\x3e{skipToText}\x3c/span\x3e\x3c/a\x3e\x3c/li\x3e\x3cli role\x3d"presentation" class\x3d"options"\x3e\x3ca class\x3d"a11y" href\x3d"mailto:a11y-feedback@linkedin.com"\x3e{feedbackText}\x3c/a\x3e\x3cbutton class\x3d"close"\x3e{closeText}\x3c/button\x3e\x3c/li\x3e',
{jumpToText:new jSecure.UnsafeString(this.config.jumpToText,e),moreText:this.config.moreText,searchUrl:this.config.searchUrl,skipToText:new jSecure.UnsafeString(this.config.skipToText,e),feedbackText:this.config.feedbackText,closeText:this.config.closeText,smallPageText:this.config.smallPageText});YDom.setAttribute(h,"id","a11y-toolbar");YDom.setAttribute(h,"role","menubar");this.container.appendChild(h);this.displayMenu();k=null},getText:function(a){var b="",c,d,e;d=0;for(e=a.length;d<e;d++)c=a[d],
3===c.nodeType||4===c.nodeType?b+=c.nodeValue:8!==c.nodeType&&"SCRIPT"!==c.nodeName.toUpperCase()&&(b+=" "+this.getText(c.childNodes));return b},displayMenu:function(){this.trigger=YDom.get("a11y-skip-nav-link");this.toolbar=YDom.get("a11y-toolbar");this.jumpLink=YDom.get("a11y-jump-to-link");this.subMenu=YDom.get("a11y-sub-menu");this.searchTrigger=YDom.get("a11y-search");YEvent.addListener(this.container,"keydown",this.handleKeyPress,this,!0);YEvent.addListener(this.trigger,"focus",this.showMenu,
this,!0);YEvent.addListener(this.container,"click",this.handleClick,this,!0);YEvent.addListener(this.searchTrigger,"focus",this.handleBlur,this,!0);YEvent.addListener(this.jumpLink,"focus",this.handleFocus,this,!0);this.showMenu()},isVisible:function(a){var b=a.parentElement,c=b.parentElement,d="none"===YDom.getStyle(a,"display")||"none"===YDom.getStyle(b,"display")||"none"===YDom.getStyle(c,"display")?!0:!1,e="hidden"===YDom.getStyle(a,"visibility")||"hidden"===YDom.getStyle(b,"visibility")||"hidden"===
YDom.getStyle(c,"visibility")?!0:!1;a="-"===YDom.getStyle(a,"text-indent")[0]||"-"===YDom.getStyle(b,"text-indent")[0]||"-"===YDom.getStyle(c,"text-indent")[0]?!0:!1;b=/^rect\((?:\s*[01]px[,\s]*){4}\)/.test(YDom.getStyle("clip"));return!(d||e||a||b)},addBodyMargin:function(){YDom.addClass(this.pageBody,"a11y-open");YDom.addClass(this.body,"a11y-focus")},removeBodyMargin:function(){YDom.removeClass(this.pageBody,"a11y-open");YDom.removeClass(this.body,"a11y-focus")},hideMenu:function(){YDom.addClass(this.container,
"a11y-hidden");this.removeBodyMargin();YEvent.removeListener(window,"scroll",this.hideMenu,this,!0);this.hideSubMenu()},hideSubMenu:function(){YDom.addClass(this.subMenu,"a11y-hidden")},showSubMenu:function(){YDom.removeClass(this.subMenu,"a11y-hidden")},showMenu:function(){this.toolbar?(this.hideSubMenu(),YDom.removeClass(this.container,"a11y-hidden"),this.toolbar.tabIndex=-1,this.toolbar.focus(),this.addBodyMargin(),YEvent.addListener(window,"scroll",this.hideMenu,this,!0)):this.buildMenu()},skipToSearch:function(){this.hideMenu();
this.searchSelect.focus()},handleBlur:function(a){this.hideSubMenu();this.removeTabs()},handleFocus:function(a){this.showSubMenu();this.resetTabs()},resetTabs:function(){var a=this.subMenu.getElementsByTagName("a"),b,c;b=0;for(c=a.length;b<c;b++)YDom.setAttribute(a[b],"tabindex","0")},removeTabs:function(){var a=this.subMenu.getElementsByTagName("a"),b,c;b=0;for(c=a.length;b<c;b++)YDom.setAttribute(a[b],"tabindex","-1")},handleClick:function(a){var b=YEvent.getTarget(a),c=YDom.getAttribute(b,"href"),
d;c&&"#"===c.substr(0,1)&&b!==this.jumpLink&&!YDom.hasClass(b,"close")&&(d=document.getElementById(c.substr(1)).parentNode);d?(d.tabIndex=-1,d.focus(),this.hideMenu()):b===this.jumpLink?(YEvent.preventDefault(a),this.subMenu.tabIndex=-1,this.subMenu.focus()):b===this.searchTrigger||YDom.getAncestorByTagName(b,"a")===this.searchTrigger?(YEvent.preventDefault(a),this.skipToSearch()):YDom.hasClass(b,"close")&&(YEvent.preventDefault(a),this.hideMenu())},handleKeyPress:function(a){switch(YEvent.getCharCode(a)){case 13:this.handleEnter(a);
break;case 27:this.handleEsc(a);break;case 32:this.handleSpace(a);break;case 37:this.handleLeft(a);break;case 38:this.handleUp(a);break;case 39:this.handleRight(a);break;case 40:this.handleDown(a)}},handleEnter:function(a){YDom.hasClass(this.container,"a11y-hidden")&&(YEvent.preventDefault(a),this.showMenu())},handleEsc:function(a){var b=YEvent.getTarget(a);YDom.getAncestorByTagName(b,"ol")?this.jumpLink.focus():(YEvent.preventDefault(a),this.hideMenu())},handleSpace:function(a){YEvent.preventDefault(a);
this.showMenu()},handleLeft:function(a){var b=YEvent.getTarget(a);YEvent.preventDefault(a);YDom.getAncestorByTagName(b,"ol")||(a=YDom.getAncestorByTagName(b,"li"),(a=YDom.getPreviousSibling(a))&&a.getElementsByTagName("a")[0].focus())},handleUp:function(a){var b=YEvent.getTarget(a);YEvent.preventDefault(a);YDom.getAncestorByTagName(b,"ol")&&(a=YDom.getAncestorByTagName(b,"li"),(a=YDom.getPreviousSibling(a))&&a.getElementsByTagName("a")[0].focus())},handleRight:function(a){var b=YEvent.getTarget(a);
YEvent.preventDefault(a);b===this.toolbar?this.toolbar.getElementsByTagName("a")[0].focus():YDom.getAncestorByTagName(b,"ol")||(a=YDom.getAncestorByTagName(b,"li"),(a=YDom.getNextSibling(a))&&a.getElementsByTagName("a")[0].focus())},handleDown:function(a){var b=YEvent.getTarget(a);YEvent.preventDefault(a);b===this.subMenu||b===this.jumpLink?this.subMenu.getElementsByTagName("a")[0].focus():YDom.getAncestorByTagName(b,"ol")&&(a=YDom.getAncestorByTagName(b,"li"),(a=YDom.getNextSibling(a))&&a.getElementsByTagName("a")[0].focus())}};(function(){LIModules.exports("NodeStash",function(){var e=!!window.LI_JS_TEST,c={},f=0;this.stash=function(a,b){var d;if(!a)return null;b=!b&&isNaN(b)?"NodeStash#uid:"+ ++f:b;d=document.createElement("div");d.appendChild(a);c[b]=d;return{uid:b,node:a}};this.retrieve=function(a){return(a=c[a])&&a.firstChild};this.remove=function(a){var b=c[a];b&&b.remove&&b.remove();delete c[a]};this.publicInterface={stash:this.stash,retrieve:this.retrieve,remove:this.remove};e&&(this.publicInterface._test={nodes:c});
return this.publicInterface})})();(function(){function m(){function l(e){a.hidden=b?document[b.prop]:/^(?:onfocusout|blur)$/.test(e&&e.type||"");a.publicInterface||(a.publicInterface={});a.publicInterface.hidden=a.hidden;a.publicInterface.visibilityState=a.visibilityState=a.hidden?"hidden":"visible"}function d(e){l(e);for(var c=a.visibilityState,d=f.length,b=-1,g;++b<d;)g=f[b],g.state!==c&&"change"!==g.state||g.callback.apply(g.scope||window,[e])}var a=this,b,f=[];a.on=function(a,c,b){f.push({callback:c,state:a,scope:b})};(function(){var a,
c;a=[["msHidden","msvisibilitychange"],["mozHidden","mozvisibilitychange"],["webkitHidden","webkitvisibilitychange"],["hidden","visibilitychange"]];for(c=a.length;c--;)if(a[c][0]in document){b={prop:a[c][0],event:a[c][1]};break}l();try{b&&document.addEventListener?document.addEventListener(b.event,d,!1):h?(h("focus",d,!1),h("blur",d,!1)):k&&(k("onfocusin",d),k("onfocusout",d))}catch(f){}})();a.publicInterface={on:a.on,hidden:a.hidden,visibilityState:a.visibilityState};n.test&&(a.publicInterface._test=
{events:f,trigger:d});return a.publicInterface}if(!LIModules.imports("PageVisibility")){var h=window.addEventListener,k=document.attachEvent,n={test:!!window.LI_JS_TEST};LIModules.exports("PageVisibility",new m)}})();(function(k){LIModules.exports("WeightedQueue",function(b){function f(a,b){return a.weight-b.weight}function c(){d&&(a=a.sort(b.sort),d=!1)}var g=/LI_JS_DEBUG/.test(window.location.hash),h=!!window.LI_JS_TEST,a=[],d=!1;b=b||{};b.weight=b.weight||0;b.sort="function"===typeof b.sort?b.sort:f;this.length=function(){return a.length};this.enqueue=function(c,e){a.push({weight:isNaN(e)?b.weight:e,item:c});d=!0};this.dequeue=function(){c();return a.length?a.pop().item:void 0};this.peek=function(){c();return a.length?
a[a.length-1].item:void 0};this.publicInterface={length:this.length,enqueue:this.enqueue,dequeue:this.dequeue,peek:this.peek};g&&(this.publicInterface._debug={queue:a});h&&(this.publicInterface._test={queue:a});return this.publicInterface})})();(function(s,E){function n(a){if(a){if(a.nodeType||a.item)return a;if("string"===typeof a)return document.getElementById(a);if("object"===typeof a&&"length"in a){for(var d=[],b=0,c=a.length;b<c;++b)d[d.length]=n(a[b]);return d}return a}return null}function J(){var a=function(){var b=document.getElementById("header")||document.getElementById("layout-header"),c=document.getElementById("body")||document.body,a=function(){};b?(v.register(document.getElementById("text-ad-container")||document.getElementById("body")),
c=b,a=function(b){b.className+=" wrapper";c.appendChild(b)}):c&&(a=function(b){c.insertBefore(b,c.firstChild)});return{attach:a}}(),d=function(){var b=document.getElementById(k.QUEUE)||document.createElement("div");b.id=k.QUEUE;return p[k.QUEUE]=b}();a.attach(d);F=!0}function q(a){F||J();p[a]=p[a]||document.getElementById(a);return p[a]}function G(a){var d="inject"===a?2:0,b=(a||"remove")+"Alert";return function(){var c=[].slice.apply(arguments),a=c[0],a=a===Object(a)&&!A(c[0]),e;e=a?c[0].node:c[d];
var f=q(k.QUEUE);e=n(e);e=e===q(k.OLD)?f:e||f;a?c[0].node=e:c[d]=e;return(e===q(k.QUEUE)?LI.GlobalAlertManager:t)[b].apply(this,c)}}function B(a){return"undefined"===typeof a?l.ACTION:l[a]||a||0}function A(a){return!(!a||1!==a.nodeType)}function H(a){var d=a&&a.childNodes||[],b,c;b=0;for(c=d.length;b<c;b++)if(a=d[b],A(a))return a;return null}function L(){function a(){n.remove(g.meta.uid);r.dequeue();c.showTopAlert()}function d(){g&&n.stash(g.contents,g.meta.uid);return g}function b(){c.attachEventHandlers();
c.enqueueExistingAlerts()}var c=this,m=/LI_JS_DEBUG/.test(window.location.hash),e=!!window.LI_JS_TEST,K=/<(span|a|button)[^>]+class\s*=\s*['\"]?[^'\"]*?\bdismiss\b/i,p=/<a/i,r=new LI.WeightedQueue,n=new LI.NodeStash,g,w=document.createElement("div"),h;(function(){function b(){var c,a;if(!g||!g.autoHide)return null;c=g.autoHide;if(isNaN(c)||!0===c)if(c=3E3,a=g.contents)a=a.textContent||a.innerText||"",c+=55*a.length;return c}function a(){var x;d();g&&(x=b())&&(f=m(),x=Math.max(3E3,x-e),C=window.setTimeout(function(){c.removeAlert()},
x))}function d(){window.clearTimeout(C);C=null}var C,e=0,f=0,m=Date.now||function(){return+new Date};h={clear:function(){e=0;d()},start:a,resume:a,stop:d,pause:function(){e+=Math.max(m()-f,0);d()}}})();c.showTopAlert=function(){function c(){f.fire(g.meta.origin,"view")}var b=q(k.QUEUE),a=d();if(r.length())if(g=r.peek(),a&&a.meta.uid===g.meta.uid)b.appendChild(g.contents);else{h.clear();a=g.contents;b.appendChild(a);v.shift(g.autoHide?null:a);t.injectAlert.animate(b,h.start);if(f.paused)return c;c()}else h.clear(),
t.removeAlert(b,!0),v.restore();return null};c.normalizeAlert=function(c,a){function b(c){d.meta={weight:B(a),uid:++I};"undefined"===typeof d.contents&&(w.innerHTML=c,d.contents=H(w));d.isDismissable=K.test(c);d.autoHide=d.isDismissable&&!p.test(c)}var d={};A(c)?(d.contents=c,w.innerHTML="",b(w.appendChild(c).innerHTML)):c===Object(c)?d=c:"string"===typeof c&&b(c);return d};c.enqueue=function(b,d,e){return b?(b=c.normalizeAlert(b,d))&&b.meta?(b.meta.origin=e,g&&g.meta.weight===b.meta.weight&&a(),
r.enqueue(b,b.meta.weight),f.fire(e,"enqueue"),c.showTopAlert()):null:null};c.dequeue=function(){g&&g.isDismissable&&a()};c.injectAlert=function(){var b={},a=t.injectAlert.normalizeInterface.apply(this,arguments),e;d();a.weight=B(a.weight);a.disableDismissHandler=!0;a.animate=!0;b.meta={weight:a.weight,uid:++I};b.isDismissable=!!a.dismissable;b.autoHide="undefined"!==typeof a.autoHide?a.autoHide:b.isDismissable&&!p.test(a.message||"");e=t.injectAlert(a);b.contents=e.firstChild;n.stash(b.contents,
b.meta.uid);c.enqueue(b,a.weight,a.origin||"injectAlert");return q(k.QUEUE)};c.removeAlert=function(){c.dequeue();g&&g.meta&&f.fire(g.meta.origin,"remove");c.showTopAlert()};c.attachEventHandlers=function(){function b(){f.fire(g.meta.origin,"dismiss");c.removeAlert()}function a(){f.fire(g.meta.origin,"interact")}var d=q(k.QUEUE),e;if(y)s(d).on("click",".dismiss",function(c){a();b()}).on("click","a",function(b){a()}).on("mouseenter focus",h.pause).on("mouseleave blur",h.resume);else u&&(e=function(b,
c){z.on(d,b,c)},e(d,"click",function(c){YDom.hasClass(z.getTarget(c),"dismiss")?(a(),b()):"A"===z.getTarget(c).tagName&&a()}),e("mouseenter",h.pause),e("focus",h.pause),e("mouseleave",h.resume),e("blur",h.resume))};c.enqueueExistingAlerts=function(){var b,a,d;f.pause();for(b in D)D.hasOwnProperty(b)&&(a=document.getElementById(b),d=c.enqueue(H(a),B(D[b]),b)||d);f.resume(d)};c.on=function(b,c,a){f.bind(b,c,a)};c.trigger=function(b,c){f.fire(b,c)};c.EnqueueAlertNode=function(b,a){a=a||{};c.enqueue(b,
a.weight||l.UNKNOWN,a.origin||b.id)};(function(){var c=LI.PageVisibility;c&&(c.on("hidden",h.pause),c.on("visible",h.resume));if(!e)if(y)s(b);else if(u)z.onDOMReady(b)})();c.publicInterface={injectAlert:c.injectAlert,removeAlert:c.removeAlert,trigger:c.trigger,on:c.on,EnqueueAlertNode:c.EnqueueAlertNode};m&&(c.publicInterface._debug={queue:r});e&&(c.publicInterface._test={queue:r,domReady:b});return c.publicInterface}if(!LI.GlobalAlertManager){var l={MAINTENANCE:100,UNKNOWN:200,EMAIL:300,SUBS:400,
POLICY:500,APP:600,ACTION:700},k={QUEUE:"global-alert-queue",OLD:"global-error"},D={"global-maintenance-notice":l.MAINTENANCE,"notice-cookie-policy":l.POLICY,"notice-privacy":l.POLICY+1,"global-error":l.APP,"notice-review-email":l.EMAIL,"notice-subscription":l.SUBS},t={injectAlert:LI.injectAlert,removeAlert:LI.removeAlert},y=!!s,u=!!E,z=u?E.util.Event:null,p={},I=0,F,f;(function(){var a={};f={bind:function(d,b,c){d=a[d]=a[d]||{};b=d[b]=d[b]||[];b.push(c)},fire:function(d,b){if(!f.paused)for(var c=
(a[d]||{})[b]||[],m=0,e=c.length;m<e;m++)c[m]()},pause:function(){f.paused=!0},resume:function(a){f.paused=!1;a&&a()}}})();var v;(function(){function a(b){var c=0,a,e=d.length;b&&(y?c=b?s(b).outerHeight():0:u&&(c=YDom.getRegion(b).height||0,a=parseInt(YDom.getStyle(b,"margin-top"),10)||0,b=parseInt(YDom.getStyle(b,"margin-bottom"),10)||0,c=c+a+b));for(;e--;)if((b=d[e])&&"style"in b.node){a=b.node.style;var f=b.offset;isNaN(f)&&(y?f=s(b.node).css("margin-top"):u&&(f=YDom.getStyle(b.node,"margin-top")),
f=parseInt(f,10)||0,b.offset=f);a.marginTop=f+c+"px"}}var d=[];v={shift:function(b){a(b)},restore:function(){a(null)},register:function(b){if(b){b="length"in b?b:[b];b=n(b);for(var a=b.length;a--;)b[a]&&d.push({node:b[a]})}}}})();LI.define("GlobalAlertManager");LI.GlobalAlertManager=new L;LI.injectAlert=G("inject");LI.removeAlert=G("remove")}})(window.jQuery,window.YAHOO);