/*! For license information please see overviewGuestHouse.js.LICENSE.txt */
!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=7)}([function(e,t,i){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var o;i.d(t,"a",(function(){return Le})),i.d(t,"b",(function(){return ke})),i.d(t,"c",(function(){return pi})),i.d(t,"d",(function(){return ri})),i.d(t,"e",(function(){return te})),i.d(t,"f",(function(){return Pe})),i.d(t,"g",(function(){return Se})),i.d(t,"h",(function(){return Ee})),i.d(t,"i",(function(){return tt})),i.d(t,"j",(function(){return ui})),i.d(t,"k",(function(){return ni})),i.d(t,"l",(function(){return me})),i.d(t,"m",(function(){return ve})),i.d(t,"n",(function(){return qt})),i.d(t,"o",(function(){return W})),i.d(t,"p",(function(){return A})),i.d(t,"q",(function(){return X})),i.d(t,"r",(function(){return mi}));var r,a,l,c={ADVERTISING:"ADVERTISING",ANALYTICS_AND_RESEARCH:"ANALYTICS_AND_RESEARCH",FUNCTIONAL:"FUNCTIONAL"},d="GUEST",h="MEMBER",u=0,p=1,g=2,m=(s(o={},d,"li_gc"),s(o,h,"li_mc"),o),f=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;for(var r in n(this,e),t=t||{},this.consentAvailable=!1,this.issuedAt=i,this.userMode=s,this.optedInConsentMap={},c)t[r]=t[r]||u,t[r]!==u&&(this.consentAvailable=!0),this.optedInConsentMap[r]=t[r]===p||t[r]===u&&o===p},_=(r=[c.ADVERTISING,c.ANALYTICS_AND_RESEARCH,c.FUNCTIONAL],a=[u,p,g,u],l=new RegExp(["^(\\d+)","(\\d+)","(\\d+)","((?:.|\\s)+)"].join(";")),{parseConsentBody:function(e,t){var i=e.match(l);if(!i)return{error:"Invalid consent body encoding",consent:new f};for(var n=parseInt(i[1],10),s={},o=0;o<r.length;o++)s[r[o]]=a[n>>2*o&3];var c=new Date(1e3*parseInt(i[2],10)),d=parseInt(i[3],10),h=u;return d>=0&&d<=3&&(h=a[d]),{error:null,consent:new f(s,c,t,h)}}}),v=new RegExp(["^(\\d+)","((?:.|\\s)+)"].join(";")),b=function(e,t){var i=t.match(new RegExp("(?:^|; *)".concat(e,"=([^;]*)")));if(i&&i.length>1)return i[1]},E=function(e,t){var i=b(m[e],t);return i?y(i,e):b(m[d],t)||b(m[h],t)?w(g):w(p)},w=function(e){var t={};for(var i in c)t[i]=e;return{error:null,consent:new f(t,null,null,e)}},y=function(e,t){var i=atob(e).match(v);if(!i)return{error:"Invalid consent encoding",consent:new f};var n=parseInt(i[1],10),s=i[2];switch(n){case 1:return _.parseConsentBody(s,t);default:return{error:"Invalid encoded consent version ".concat(n),consent:new f}}},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.cookie;return e||(e="true"===b("liap",t)?b(m[h],t)?h:d:b(m[d],t)?d:h),E(e,t)};window.encodeURIComponent;function I(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function S(e){let t=e.querySelector('meta[name="linkedin:pageTag"]');return t&&t.content||""}function k(e){let t=e.querySelector('meta[name="locale"]');return t&&t.content||""}function L(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}function O(e){return e&&'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}var A=Object.freeze({__proto__:null,getPageKey:I,getPageTag:S,getLocale:k,getDomain:L,trimDoubleQuotes:O});const C={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ESCAPE:"Escape",ENTER:"Enter",SPACEBAR:" ",TAB:"Tab"},x={Down:C.ARROW_DOWN,Right:C.ARROW_RIGHT,Left:C.ARROW_LEFT,Up:C.ARROW_UP,Esc:C.ESCAPE,Spacebar:C.SPACEBAR,Tab:C.TAB};function R(e){return x[e]||e}function P(e,t){if(!e)return null;let i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!i.call(e,t);)e=e.parentElement;return e}function N(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}function D(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)}function U(e){const t=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,s=t.top<=i&&t.top+t.height>=0,o=t.left<=n&&t.left+t.width>=0;return s&&o}function B({scrollTop:e=scrollY,clientHeight:t=window.innerHeight,scrollHeight:i=document.body.scrollHeight}={},n=0){return e>=i-(t+t*n)}function M(e,t,i){const n=new RegExp("([\\?&])".concat(i?t:encodeURIComponent(t),"=([^&#]*)")).exec(e);return n&&(i?n[2]:decodeURIComponent(n[2]))}function q(e,t,i,n){if(!e||!t)throw new Error("Required param of addQueryParam missing: url = ".concat(e,",  key = ").concat(t));t=encodeURIComponent(t),i=encodeURIComponent(i);const s=M(e,t,!0);if(s)return n?e.replace(s,i):e;{const n=e.indexOf("?");let[s,o]=e.split("#"),r="&";return n<0?r="?":n===e.length-1&&(r=""),o&&(o="#".concat(o)),"".concat(s).concat(r).concat(t,"=").concat(i).concat(o||"")}}function H(e,t,i){if("function"!=typeof e)throw new TypeError("Expected a function.");let n;return(...s)=>{const o=i&&!n;clearTimeout(n),n=setTimeout(()=>{n=null,i||e.apply(this,s)},t),o&&e.apply(this,s)}}function F(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function j(e,t,i={}){const n=document.createEvent("CustomEvent");n.initCustomEvent(t,!0,!0,i),e.dispatchEvent(n)}function z(){let e,t;const i=new Promise((i,n)=>{e=i,t=n});return i.resolve=e,i.reject=t,i}var W=Object.freeze({__proto__:null,closest:P,onload:N,makeArray:D,outerWidth:function(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=(parseInt(i.marginLeft,10)||0)+(parseInt(i.marginRight,10)||0),t},elementInViewport:U,hasElementScrolledToThreshold:B,getQueryParam:M,addTrackingCode:function(e,t){return q(e,"trk",t)},addQueryParam:q,debounce:H,getCookie:F,dispatchCustomEvent:j,getDeferredPromise:z});class G{constructor(e,t,{mainButton:i,closeButton:n},s={}){if(!e)throw Error("An element must be provided to Collapsible");if(!t)throw Error("An list element must be provided to Collapsible");if(!i)throw Error("A main button element must be provided to Collapsible");this.el=e,this.listEl=t;let{currentListItem:o=t.children[0],isOpen:r=!1}=s;this.currentListItem=o,this.isOpen=r,this.mainButton=i,this.closeButton=n,this.buttons=[i],this.el.addEventListener("keyup",e=>this._onKeyUp(e)),this.mainButton.addEventListener("click",()=>this.closeButton?this._open():this._toggle()),this.mainButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.closeButton&&(this.closeButton.addEventListener("click",()=>this.close()),this.closeButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton)),this.currentListItem&&this.currentListItem.setAttribute("aria-selected",!0),this.listEl.addEventListener("keydown",e=>this._onListKeyDown(e))}_toggle(){this.isOpen?this.close():this._open()}_onButtonKeyDown(e){const t=R(e.key);switch(t){case C.ENTER:case C.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open(t);break;case C.ARROW_UP:this.isOpen||this._open();break;case C.ARROW_DOWN:this.isOpen&&this.close()}}_onKeyUp(e){R(e.key)===C.SPACEBAR&&e.preventDefault()}_onListKeyDown(e){let t;switch(R(e.key)){case C.SPACEBAR:j(e.target,"click");break;case C.ESCAPE:this.isOpen&&this.close();break;case C.ARROW_LEFT:case C.ARROW_UP:t=P(e.target,"li");let i=t.previousElementSibling;i&&j(i,"focus");break;case C.ARROW_RIGHT:case C.ARROW_DOWN:t=P(e.target,"li");let n=t.nextElementSibling;n&&j(n,"focus")}}_open(){this.isOpen||(this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),j(this.el,"open"),j(this.currentListItem,"focus"))}close({shouldReturnFocusToTrigger:e=!0}={}){this.isOpen&&(this.isOpen=!1,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),j(this.el,"close"),e&&this.mainButton.focus())}}const K=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([disabled]):not([tabindex^="-"]):not([type="hidden"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','[tabindex]:not([tabindex^="-"]):not([disabled])'].join(",");function V(e){const t=window.getComputedStyle(e);return"hidden"===t.visibility||"none"===t.display}function Y(e,t=document.documentElement,i){if(e===t)return!V(e);if(i&&i.get(e))return i.get(e);let n;return V(e)?n=!1:e.parentNode&&(n=Y(e.parentNode,t,i)),i&&i.set(e,n),n}const J=".".concat("collapsible-dropdown","__list"),$=".".concat("collapsible-dropdown","__button");class Z{constructor(e,t=(e=>e.querySelector(K)),{currentListItem:i,dropdownTriggerEl:n,listEl:s}={}){if(!e)throw Error("An element must be provided to CollapsibleDropdown");this.el=e,this.listEl=s||this.el.querySelector(J),this.dropdownTriggerEl=n||this.el.querySelector($),this._getFocusItemFromListItem=t,this.hideClass="hidden",this.collapsible=new G(e,this.listEl,{mainButton:this.dropdownTriggerEl},{currentListItem:i}),this._handleBodyClick=this._handleBodyClick.bind(this),this._focusOutsideDropdown=this._focusOutsideDropdown.bind(this),this._leaveWindow=this._leaveWindow.bind(this),this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("open",()=>this._showDropdownList()),this.el.addEventListener("close",()=>this._hideDropdownList()),this.listEl.addEventListener("focus",e=>this._focusItem(e))}_focusItem(e){const t=e.target;if(t){const e=this._getFocusItemFromListItem(t);e&&e.focus()}}_handleBodyClick(e){this.el.contains(e.target)||this.collapsible.close({shouldReturnFocusToTrigger:!1})}_showDropdownList(){document.addEventListener("mousedown",this._handleBodyClick),this.el.addEventListener("focusout",this._focusOutsideDropdown),window.addEventListener("blur",this._leaveWindow),this.listEl.classList.remove(this.hideClass)}_hideDropdownList(){document.removeEventListener("mousedown",this._handleBodyClick),this.el.removeEventListener("focusout",this._focusOutsideDropdown),window.removeEventListener("blur",this._leaveWindow),this.listEl.classList.add(this.hideClass)}_focusOutsideDropdown(e){e.relatedTarget&&!this.el.contains(e.relatedTarget)&&this.collapsible.isOpen&&this.collapsible.close()}_leaveWindow(){this.collapsible.isOpen&&this.collapsible.close()}}function X(e,{method:t="GET",headers:i={},sendCookies:n=!0,skipCsrfToken:s=!1,postData:o}={}){return new Promise((r,a)=>{const l=new XMLHttpRequest;if(l.addEventListener("load",(function(){if(l.status>=200&&l.status<300||304===l.status)r({status:l.status,responseText:l.responseText});else{const i=new Error("".concat(t," request for ").concat(e," has failed with status code ").concat(l.status));i.response={status:l.status,responseText:l.responseText},a(i)}})),l.addEventListener("error",(function(e){a(e)})),l.open(t,e,!0),l.withCredentials=n,Object.keys(i).forEach(e=>{l.setRequestHeader(e,i[e])}),!s){const e=F("JSESSIONID");e&&l.setRequestHeader("Csrf-Token",O(e))}l.send(o)})}const Q=".".concat("language-selector__link"),ee="".concat(Q,"--selected");class te{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");this._el=e,this.listEl=this._el.querySelector(".collapsible-dropdown__list"),this.dropdownTriggerEl=this._el.querySelector(".language-selector__button"),this.currentListItem=this.listEl.querySelector(ee),this.getFocusItemFromListItem=e=>e.classList.contains("language-selector__link")?e:e.querySelector(Q),this.collapsibleDropdown=new Z(e,this.getFocusItemFromListItem,{dropdownTriggerEl:this.dropdownTriggerEl,currentListItem:this.currentListItem}),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){const t=e.target.getAttribute("data-locale");return this._makeLangCookieRequest(t).then(()=>{location.reload()})}_makeLangCookieRequest(e){const t=O(F("bcookie")||""),i=L(document),n=this._getRequestDomain(i);return X("".concat(n,"/psettings/update-language/cors?csrfToken=").concat(encodeURIComponent(t)),{method:"POST",headers:{"Content-Type":"application/json"},postData:JSON.stringify({locale:e}),skipCsrfToken:!0})}_getRequestDomain(e){let t="";return e.indexOf("linkedin.cn")>-1?t="https://www.linkedin.cn":e.indexOf("linkedin-ei.cn")>-1?t="https://www.linkedin-ei.cn":e.indexOf("linkedin-ei.com")>-1?t="https://www.linkedin-ei.com":e.indexOf("linkedin.com")>-1&&(t="https://www.linkedin.com"),t}}var ie="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function ne(e,t){return e(t={exports:{}},t.exports),t.exports}parseInt;var se="object"==typeof ie&&ie&&ie.Object===Object&&ie,oe="object"==typeof self&&self&&self.Object===Object&&self;se||oe||Function("return this")(),Object.prototype.toString,Math.max,Math.min;"".concat(".member-nav-menu","__item-link"),"".concat(".member-nav-menu","__button");var re=ne((function(e,t){!function(e){"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==ie||"undefined"!=typeof self&&self;var t,i,n,s,o=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){!function(e,t){var i="undefined"!=typeof window&&window&&"node"!==window.appEnvironment,n=i&&!!window.requestIdleCallback,s={AJAX_METHOD:"POST",DEFAULT_PAGE_TYPE:"ajax",globalTrackingUrl:null,globalTrackingAppId:"no.app.id",queue:[],paused:!1,maxQueueSize:1,queueTimeout:1e3,timeoutId:null,disableSendBeacon:!0,csrfToken:"",testId:"",testSegId:"",setProperty:function(e,t){void 0!==t&&(this[e]=t)},setTrackingUrl:function(e){this.setProperty("globalTrackingUrl",e)},setAppId:function(e){this.setProperty("globalTrackingAppId",e)},setCsrfToken:function(e){this.setProperty("csrfToken",e)},setTestId:function(e){this.setProperty("testId",e)},setTestSegId:function(e){this.setProperty("testSegId",e)},getCookieString:function(){return document.cookie},getCsrfToken:function(){for(var e=this.getCookieString().split(";"),t=0;t<e.length;t++){for(var i=e[t];" "===i.charAt(0);)i=i.substring(1);if(-1!==i.indexOf("JSESSIONID=")){var n=i.substring("JSESSIONID=".length,i.length);return'"'===n[0]&&'"'===n[n.length-1]&&(n=n.substring(1,n.length-1)),n}}return""},createXmlHttpObject:function(){return i&&window.XMLHttpRequest?new XMLHttpRequest:null},beacon:function(e,t,n,s){this._beacon(e,t,n,s||this.globalTrackingUrl,this.disableSendBeacon?null:i&&navigator.sendBeacon&&navigator.sendBeacon.bind(navigator))},_beacon:function(e,t,i,n,s){if(s){var o=void 0;try{o=s(n,e)}catch(t){throw"object"==typeof t&&(t.message="Error sending ["+e+"] to "+n+" using sendBeacon:"+t.message,t.tags=["tracking"]),t}if(o)return void(t&&t(o))}this.ajax(e,t,i,n)},ajax:function(e,t,i,n){var s;n?(s=this.createXmlHttpObject())&&(s.open(this.AJAX_METHOD,n,!0),s.withCredentials=!0,s.setRequestHeader("Content-type","application/json"),this.csrfToken?s.setRequestHeader("Csrf-Token",this.csrfToken):s.setRequestHeader("Csrf-Token",this.getCsrfToken()),this.testId&&s.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_ID",this.testId),this.testSegId&&s.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_SEGMENT_ID",this.testSegId),s.onreadystatechange=function(){4===s.readyState&&(200===s.status||304===s.status?"function"==typeof t&&t(s):i&&i('Response is not "OK" or "Not Modified" for tracking request'))},4!==s.readyState&&s.send(e)):i&&i("Tracking url is not defined")},pause:function(){this.paused=!0},unpause:function(){this.paused=!1,this.queue.length>=this.maxQueueSize&&this.flush()},flush:function(){this.queue.length>0&&(this.beacon(JSON.stringify(this.queue),null,this.logError),this.queue=[]),n?cancelIdleCallback(this.timeoutId):clearTimeout(this.timeoutId),this.timeoutId=null,this.paused=!1},idleFlush:function(e){var t=this,i=Date.now();return requestIdleCallback((function(n){n.timeRemaining()>8||n.didTimeout?t.flush():t.timeoutId=t.idleFlush(e-(Date.now()-i))}),{timeout:e})},addToQueue:function(e){if(this.queue.push(e),this.queue.length>=this.maxQueueSize&&!this.paused)return this.flush();if(!this.timeoutId){var t=this;n&&!this.paused?this.timeoutId=this.idleFlush(this.queueTimeout):this.timeoutId=setTimeout((function(){t.flush()}),this.queueTimeout)}},validateEvent:function(e,t,i){this.beacon(JSON.stringify([{eventInfo:this.populateEventInfo(e),eventBody:this.populateEventHeaders(t)}]),(function(e){return i(null,e)}),(function(e){return i(e)}),this.globalTrackingUrl+"/validate")},sendEvent:function(e,t){this.addToQueue({eventInfo:this.populateEventInfo(e),eventBody:this.populateEventHeaders(t)})},getTimestamp:function(){return Math.round((new Date).getTime()/1e3)},populateEventInfo:function(e){return"string"==typeof e&&(e={eventName:e}),e&&"object"==typeof e?(e.appId||(e.appId=this.globalTrackingAppId),e):(this.logError("Event info must be object"),{})},populateEventHeaders:function(e){return e&&"object"==typeof e?e:(this.logError("Event body must be object"),{})},logError:function(e){var t=window.console;t&&t.error&&t.error(e)},init:function(){this.setTrackingUrl(),this.setAppId(),this.onBeforeUnload=this.onBeforeUnload.bind(this),i&&window.addEventListener("beforeunload",this.onBeforeUnload)},destroy:function(){this.flush(),i&&window.removeEventListener("beforeunload",this.onBeforeUnload)},onBeforeUnload:function(){this.flush()}};t.exports=s}(0,e)}));function r(){if("undefined"!=typeof window&&void 0!==window.sessionStorage)try{return JSON.parse(window.sessionStorage.getItem("li_trk_navigation"))}catch(e){}}function a(e){if("undefined"!=typeof window&&void 0!==window.sessionStorage)try{window.sessionStorage.setItem("li_trk_navigation",JSON.stringify(e))}catch(e){}}(s=e.ControlInteractionType||(e.ControlInteractionType={}))[s.FOCUS=0]="FOCUS",s[s.UNFOCUS=1]="UNFOCUS",s[s.KEYBOARD_SUBMIT=2]="KEYBOARD_SUBMIT",s[s.DRAG=3]="DRAG",s[s.PINCH_OPEN=4]="PINCH_OPEN",s[s.PINCH_CLOSE=5]="PINCH_CLOSE",s[s.DOUBLE_PRESS=6]="DOUBLE_PRESS",s[s.LONG_PRESS=7]="LONG_PRESS",s[s.SHORT_PRESS=8]="SHORT_PRESS",s[s.SWIPE_UP=9]="SWIPE_UP",s[s.SWIPE_DOWN=10]="SWIPE_DOWN",s[s.SWIPE_LEFT=11]="SWIPE_LEFT",s[s.SWIPE_RIGHT=12]="SWIPE_RIGHT",s[s.FLICK_UP=13]="FLICK_UP",s[s.FLICK_DOWN=14]="FLICK_DOWN",s[s.FLICK_LEFT=15]="FLICK_LEFT",s[s.FLICK_RIGHT=16]="FLICK_RIGHT",s[s.SHAKE=17]="SHAKE",s[s.KEYBOARD_NEXT=18]="KEYBOARD_NEXT",s[s.HOVER=19]="HOVER",(n=e.PageViewPageType||(e.PageViewPageType={}))[n.FULL=1]="FULL",n[n.AJAX=2]="AJAX",n[n.IFRAME=3]="IFRAME",n[n.REDIRECT=4]="REDIRECT",n[n.API=5]="API",n[n.FORM=6]="FORM",n[n.ROUTER=7]="ROUTER",n[n.ERROR=8]="ERROR",(i=e.EventTypes||(e.EventTypes={}))[i.PageViewEvent=0]="PageViewEvent",i[i.NavigationEvent=1]="NavigationEvent",i[i.ExternalNavigationEvent=2]="ExternalNavigationEvent",i[i.ControlInteractionEvent=3]="ControlInteractionEvent",i[i.PageVisibilityChangeEvent=4]="PageVisibilityChangeEvent";var l="undefined"!=typeof window?window:null;l?function(){var e=l.crypto||l.msCrypto;if(!t&&e&&e.getRandomValues){var i=new Uint8Array(16);(t=function(){return e.getRandomValues(i),i})()}if(!t){var n=new Uint8Array(16);t=function(){for(var e=0,t=void 0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),n[e]=(t||0)>>>((3&e)<<3)&255;return n}}}():t=function(){return new Uint8Array(16).fill(Math.floor(256*Math.random()))};for(var c=[],d=0;d<256;d++)c[d]=(d+256).toString(16).substr(1);function h(){var e=new Uint8Array(16),i=t();i[6]=15&i[6]|64,i[8]=63&i[8]|128;for(var n=0;n<16;n++)e[0+n]=i[n];return e}function u(){return function(e){for(var t=[],i=0;i<e.length;i+=32768)t.push(String.fromCharCode.apply(null,e.subarray(i,i+32768)));return btoa(t.join(""))}(h())}function p(e){return e?"urn:li:page:"+e:null}function g(e,t){return e&&t?"urn:li:control:"+t+"-"+e:null}function m(e){return e?e.split(":").pop():null}function f(e,t){return e?{trackingId:t||u(),pageUrn:p(e)}:null}function _(e){if("string"!=typeof e)return null;var t=e.split(";");return 2===t.length?{pageUrn:t[0],trackingId:t[1]}:null}function v(e){return e&&e.referrer}function b(e){if(e&&e.URL){var t=e.URL.match(/trk=([^&]+)/);if(t&&2===t.length)return t[1]}return null}var E=Object.assign||function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),s=0;s<t.length;s++){var o=t[s];if(null!==o)for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}return n},w=function(){function t(e){void 0===e&&(e={appId:null,initialPageInstance:null}),this.config=e;var t=this.config.disableInitialAnchorPageViewEvent||!1;if(!this.config.appId)throw new Error("TrackingTwo requires an appId.");if(!this.config.initialPageInstance){var i=document.querySelector('meta[name="trk-pageinstance"]');if(i&&(this.config.initialPageInstance=_(i.getAttribute("content"))),!this.config.initialPageInstance)throw new Error("TrackingTwo requires an initialPageInstance");t=!0}this.config.eventHeaderProperties?this.config.eventHeaderProperties.pageInstance&&delete this.config.eventHeaderProperties.pageInstance:this.config.eventHeaderProperties={},this.config.userRequestHeaderProperties?this.config.userRequestHeaderProperties.pageKey&&delete this.config.userRequestHeaderProperties.pageKey:this.config.userRequestHeaderProperties={},this.config.validationMode=!!this.config.validationMode||!1,this.config.trackingUrl=this.config.trackingUrl||"/li/track";var n=function(){var e=window.location.pathname,t=e+window.location.search,i=window.location.href,n=r();if(!n)return null;for(var s=0;s<n.length;s++){var o=n[s].href;if(o===e||o===t||o===i){var l=n.splice(s,1)[0];return a(n),l}}return null}();n&&(e.previousPageInstance=n.prevInstance),Object.freeze(this.config.eventHeaderProperties),Object.freeze(this.config.userRequestHeaderProperties),Object.freeze(this.config),o.init(),o.setProperty("disableSendBeacon",!1),o.setTrackingUrl(this.config.trackingUrl),o.setProperty("maxQueueSize",this.config.requestBatchingMaxQueueSize||10),o.setProperty("queueTimeout",1e3*(this.config.requestBatchingMaxWaitSeconds||10)),this.state={currentPageInstance:e.initialPageInstance,previousPageInstance:e.previousPageInstance||null};var s=this.config.prevControlName||(n?n.controlName:null);this.fireNavigationEvent(this.state.previousPageInstance,s),t||this.firePageViewEvent(),this._boundDocumentClickHandler=this._handleDocumentClicks.bind(this),document&&document.body.addEventListener("click",this._boundDocumentClickHandler,!0),this._boundDocumentClickBubbleHandler=this._handleDocumentClicksBubble.bind(this),document&&document.body.addEventListener("click",this._boundDocumentClickBubbleHandler,!1),this._boundWindowBeforeUnloadHandler=this._handleWindowBeforeUnload.bind(this),window&&window.addEventListener("beforeunload",this._boundWindowBeforeUnloadHandler,!0),this._boundDocumentVisibilityChangeHandler=this._handleDocumentVisibilityChange.bind(this);var l="visibilitychange";document&&(void 0!==document.msHidden&&(l="msvisibilitychange"),document.addEventListener(l,this._boundDocumentVisibilityChangeHandler,!0))}return t.prototype._handleDocumentClicks=function(e){for(var t=e.target;t!==e.currentTarget&&!t.hasAttribute("data-tracking-control-name");)t=t.parentElement;if(t!==e.currentTarget){var i=t.getAttribute("data-tracking-control-name");!t.hasAttribute("data-tracking-no-cie")&&this.fireControlInteractionEvent(i)}},t.prototype._handleDocumentClicksBubble=function(e){for(var t=e.target;t!==e.currentTarget&&!t.hasAttribute("data-tracking-control-name");)t=t.parentElement;if(t!==e.currentTarget){var i=t.getAttribute("data-tracking-control-name"),n=t.hasAttribute("data-tracking-will-navigate"),s=t.getAttribute("data-tracking-href")||t.getAttribute("href");n&&!e.defaultPrevented&&this.saveStateForPageDeparture({controlName:i,href:s})}},t.prototype._handleWindowBeforeUnload=function(e){var t=e.target.activeElement,i=t,n=null,s=!1;if(t){for(;i!==e.currentTarget&&("function"!=typeof i.hasAttribute||!i.hasAttribute("data-tracking-control-name"))&&i.parentElement;)i=i.parentElement;i!==e.currentTarget&&("getAttribute"in i&&(n=i.getAttribute("data-tracking-control-name")),"hasAttribute"in i&&(s=i.hasAttribute("data-tracking-will-navigate")))}s||this.fireExternalNavigationEvent(n)},t.prototype._handleDocumentVisibilityChange=function(){var e=!1;if(void 0!==document.msHidden)e=document.msHidden;else{if(void 0===document.hidden)return;e=document.hidden}this.firePageVisibilityChangeEvent(e)},t.prototype.saveStateForPageDeparture=function(e){if(e){var t,i,n=e.controlName,s=e.href;t={controlName:n,href:s,prevInstance:this.state.currentPageInstance},(i=r()||[]).push(t),a(i)}},t.prototype.fireControlInteractionEvent=function(t,i,n){if(void 0===i&&(i=e.ControlInteractionType.SHORT_PRESS),void 0===n&&(n={}),!t)throw new Error("controlName is required.");var s=m(this.state.currentPageInstance.pageUrn),o=n.uiControlPageKey||s;this.fireTrackingEvent(e.EventTypes[e.EventTypes.ControlInteractionEvent],{requestHeader:{},header:{},controlUrn:g(t,o),interactionType:e.ControlInteractionType[i]},n)},t.prototype.fireNavigationEvent=function(t,i,n){void 0===n&&(n={});var s=t?m(t.pageUrn):null,o=n.uiControlPageKey||s;this.fireTrackingEvent(e.EventTypes[e.EventTypes.NavigationEvent],{requestHeader:{},header:{},previousPageInstance:t,triggerControlUrn:g(i,o)},n)},t.prototype.fireExternalNavigationEvent=function(t,i){void 0===i&&(i={});var n=i.uiControlPageKey||m(this.state.currentPageInstance.pageUrn);this.fireTrackingEvent(e.EventTypes[e.EventTypes.ExternalNavigationEvent],{requestHeader:{},header:{},triggerControlUrn:g(t,n)},i,!0)},t.prototype.firePageViewEvent=function(t,i){void 0===i&&(i={});var n=(i=E({},i)).pageViewPageType||e.PageViewPageType.AJAX,s=m(this.state.currentPageInstance.pageUrn),o=t||s;this.fireTrackingEvent(e.EventTypes[e.EventTypes.PageViewEvent],{requestHeader:{pageKey:o},header:{},pageType:e.PageViewPageType[n].toLowerCase(),trackingInfo:{clientTimestamp:Date.now().toString()}},i)},t.prototype.fireAnchorPageViewEvent=function(e,t,i){if(void 0===i&&(i={}),!e)throw new Error("newPageKey is required.");var n=E({},this.state.currentPageInstance),s=f(e);this.state.previousPageInstance=n,this.state.currentPageInstance=s,this.fireNavigationEvent(n,t,i),this.firePageViewEvent(e,i)},t.prototype.firePageVisibilityChangeEvent=function(t,i){void 0===i&&(i={}),this.fireTrackingEvent(e.EventTypes[e.EventTypes.PageVisibilityChangeEvent],{requestHeader:{},header:{},isVisible:!t},i)},t.prototype.fireTrackingEvent=function(e,t,i,n){if(void 0===i&&(i={}),void 0===n&&(n=!1),!e||!t)throw new Error("eventName and body are required.");t=E({},t),(i=E({},i)).topicName||(i.topicName=e),i.pageInstance||(i.pageInstance=this.state.currentPageInstance);var s=E({pageKey:m(i.pageInstance.pageUrn),path:window.location.href,referer:v(document),trackingCode:b(document)},this.config.userRequestHeaderProperties,t.requestHeader);delete t.requestHeader,delete t.header.pageInstance;var r=E({pageInstance:i.pageInstance,time:Date.now()},this.config.eventHeaderProperties,t.header);delete t.header;var a={requestHeader:s,header:r};this.config.mapHeaders&&(a=this.config.mapHeaders(a));var l=E(a,t),c={eventName:e,topicName:i.topicName,appId:this.config.appId};this.config.validationMode?o.validateEvent(c,l,(function(t){t&&console.error("Event "+e+" failed validation!")})):(o.sendEvent(c,l),n&&o.flush())},t.prototype.destroy=function(){o.destroy(),document.removeEventListener("click",this._boundDocumentClickHandler,!0)},t.createFromPageKey=function(e,i){return e.initialPageInstance=f(i),new t(e)},t}();e.AppTrackingInstance=w,e.clearNavStorage=function(){window.sessionStorage.removeItem("li_trk_navigation")},e.derivePageInstanceFromString=_,e.derivePageKeyFromUrn=m,e.generateControlUrn=g,e.generatePageInstance=f,e.generatePageUrn=p,e.generateTrackingId=u,e.getReferrer=v,e.getTrackingCode=b,e.stringifyPageInstance=function(e){return e?e.pageUrn+";"+e.trackingId:null},e.uuid=h,e.webTrackingTransport=o}(t)}));let ae=null;function le(e,t="ajax",i){e.fireTrackingEvent("PageViewEvent",ce(i,t))}function ce(e,t="ajax"){const i=S(document),n=k(document);let s={};return n&&(s.interfaceLocale=n),e&&(s.pageKey=e),{header:{},requestHeader:s,pageType:t,trackingInfo:{clientTimestamp:Date.now(),pageTag:i}}}new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function de(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function he(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function ue(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?he(Object(i),!0).forEach((function(t){de(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):he(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}const pe="prev",ge="next";class me{constructor(e){if(!e)throw new Error("No element passed in");this._el=e,this._previousButton=e.querySelector(".".concat('slide-list__nav-button[data-direction="prev"]')),this._nextButton=e.querySelector(".".concat('slide-list__nav-button[data-direction="next"]')),this._listEl=e.querySelector(".slide-list__list"),this._slideNavDisabled=this._el.dataset.disabled,this._dragLimit=this._listEl.offsetWidth,this._items=this._listEl.children,this._lock={},this._currentPage=0,this._isRtl="rtl"===document.body.dir,this._isMinimalNav=e.querySelector(".".concat("slide-list__header-nav--minimal")),!("ontouchstart"in window)&&this._slideNavDisabled||(this._initCalc(),window.addEventListener("resize",this._handleWindowResize.bind(this)),"ontouchstart"in window?(this._el.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._el.addEventListener("touchmove",this._handleTouchMove.bind(this)),this._el.addEventListener("touchend",this._handleTouchEnd.bind(this)),this._isMinimalNav&&this._el.addEventListener("click",this._handleScrollAction.bind(this))):this._el.addEventListener("click",this._handleScrollAction.bind(this)))}next(e){return e=e||1,this._currentPage+e<=this._pageTranslates.length-1&&(this._currentPage+=e,this._updateSlideButtons(),this._updateListPosition()),this._currentPage}prev(e){return e=e||1,this._currentPage-e>=0&&(this._currentPage-=e,this._updateSlideButtons(),this._updateListPosition()),this._currentPage}_handleWindowResize(){this._isResizing||(this._isResizing=!0,window.requestAnimationFrame(this._initCalc.bind(this)))}_initCalc(){this._pageTranslates=this._getPageTranslates(),this._updateSlideButtons(),this._updateListPosition(),this._isResizing=!1}_getPageTranslates(){const e=this._listEl.offsetWidth,t=this._listEl.scrollWidth,i=this._isRtl?e-this._items[0].offsetLeft-this._items[0].offsetWidth:this._items[0].offsetLeft,n=t-e;let s=[0],o=0;for(let t=0;t<this._items.length;t+=1){const r=s[s.length-1],a=this._items[t].offsetLeft,l=this._items[t].offsetWidth;let c=Math.abs(this._isRtl?a+l:a),d=Math.abs(this._isRtl?a:a+l);if(!(this._isRtl&&a>=0))if(0===c&&0===i||0===o)o=d;else{if(d>r+e){if(c>=n)break;s.push((this._isRtl?o:c)-i)}o=d}}return s.push(n),s}_handleScrollAction(e){const t=P(e.target,".slide-list__nav-button").dataset.direction;t&&(this._listEl.addEventListener("transitionend",this._fireScrollEvent.bind(this)),t===pe?this.prev():t===ge&&this.next())}_fireScrollEvent(){j(window,"scroll"),this._listEl.removeEventListener("transitionend",this._fireScrollEvent)}_updateListPosition(){this._updateTranslateXY(this._isRtl?this._pageTranslates[this._currentPage]:-this._pageTranslates[this._currentPage],0)}_updateSlideButtons(){if(this._previousButton&&this._nextButton){if(this._previousButton.disabled=!1,this._nextButton.disabled=!1,!this._pageTranslates[1]||this._pageTranslates[1]<0)return this._previousButton.disabled=!0,void(this._nextButton.disabled=!0);0===this._currentPage&&(this._previousButton.disabled=!0),this._currentPage!==this._pageTranslates.length-1&&0!==this._pageTranslates.length||(this._nextButton.disabled=!0)}}_resetTouchEvents(){this._dragging=!1,this._dragCanceled=!1,this._listEl.classList.remove("slide-list__list--dragging"),this._lock.left=this._isRtl?this._currentPage===this._pageTranslates.length-1:0===this._currentPage,this._lock.right=this._isRtl?0===this._currentPage:this._currentPage===this._pageTranslates.length-1,this._dragThresholdMet=!1,this._t={current:{x:0,y:0}}}_handleTouchStart(e){this._resetTouchEvents(),this._t.start=this._getEventPosition(e),this._dragging=!0,this._listEl.classList.add("slide-list__list--dragging")}_handleTouchMove(e){if(!this._dragging||this._dragCanceled)return;let t=this._getEventPosition(e);this._t.current={x:this._t.start.x-t.x,y:this._t.start.y-t.y},this._canDrag()?(this._dragThresholdMet=!0,e.preventDefault(),this._lock.left&&this._t.current.x<0?this._t.current.x=this._t.current.x*-this._dragLimit/(this._t.current.x-this._dragLimit):this._lock.right&&this._t.current.x>0&&(this._t.current.x=this._t.current.x*this._dragLimit/(this._t.current.x+this._dragLimit)),this._updateTranslateXY((this._isRtl?this._pageTranslates[this._currentPage]:-this._pageTranslates[this._currentPage])-this._t.current.x)):this._isVerticalScrolling()&&(this._dragCanceled=!0)}_handleTouchEnd(){this._dragging&&(!this._dragCanceled&&Math.abs(this._t.current.x)>20&&(this._t.current.x>0&&!this._lock.right?this._isRtl?this._currentPage--:this._currentPage++:this._t.current.x<0&&!this._lock.left&&(this._isRtl?this._currentPage++:this._currentPage--)),this._resetTouchEvents(),this._updateListPosition())}_getEventPosition(e){return{x:e.touches[0].clientX,y:e.touches[0].clientY}}_isVerticalScrolling(){return Math.abs(this._t.current.x)<Math.abs(this._t.current.y)&&Math.abs(this._t.current.y)>10}_canDrag(){return this._dragThresholdMet||Math.abs(this._t.current.x)>Math.abs(this._t.current.y)&&Math.abs(this._t.current.x)>10}_updateTranslateXY(e,t){this._listEl.style.transform="translate3d(".concat(e||0,"px, ").concat(t||0,"px, 0px)")}}"".concat("tab-toggle","--active");const fe={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"};Object.keys(fe).map(e=>fe[e]);const _e={};function ve(e){const t=document.getElementById(e);if(!t&&void 0!==_e[e])return _e[e];if(!t)return console.warn("Element with id: ".concat(e," not found")),_e[e]=null,_e[e];try{const i=t.firstChild;i.nodeType===Node.COMMENT_NODE?_e[e]=JSON.parse(i.nodeValue):(console.warn("Error retrieving content with id: ".concat(e,". Use embedJson helper to embed this content")),_e[e]=null)}catch(t){console.warn("Error fetching embedded content with id: ".concat(e)),_e[e]=null}return t.parentNode.removeChild(t),_e[e]}const be=["binlar","ask\\ jeeves","mozilla\\/4\\.0\\ \\(compatible\\;\\ msie\\ 6\\.0\\;\\ windows\\ nt\\ 5\\.1\\;1813\\)","companydatatree","genieo","microsoft\\+scheduled\\+cache\\+content\\+download\\+service","liferea","superfeedr","ez\\ publish\\ link\\ validator","htmlparser","argclrint","linkwalker","webtool","ask\\+jeeves","stackrambler","paros","^fdm\\+3\\.x","ms\\ search","indy\\+library","seznam","sitevigil","intergator","freedom(?!from)","google\\+page\\+speed\\+insights","znajdzfoto\\/image","riddler\\.io","^java\\/","twiceler","httpunit","ktxn","webcopier","mna\\+digital\\+circonus\\+check","stuff(?!nz)","updatepatrol","feedburner","hp\\+sitescope","crawler","gigablastopensource\\/","rpt\\-http","^fdm\\ 3\\.x","libwww\\-perl","((?=pital)|ca(?=pital))pita","bingpreview","oia\\.owa","^ahc\\/","thunderstone","microsoft\\ bits","alertsite","^python\\-requests\\/","dts\\ agent","tangjiutao","^inmon","linkscan","alexa\\ site\\ audit","webtrends(?!clientlibrary)","chkd","joedog","daumoa","typhoeus","loadimpactpageanalyzer","google\\ news","coldfusion","mna\\ digital\\ circonus\\ check","alexa\\+site\\+audit","getright","appengine","(?=crawler)crawl","ibot(?!ta)","jobo","python\\-httplib","powermarks","site24x7","proximic","yahoo\\+pipes","((?=aporter)|oper(?=aportable))aport","web\\+downloader","check\\_http","grabber","topsy\\.com\\/butterfly\\/","harvest","^inagist\\+url\\+resolver","fast","crescent(?!\\ build|\\+build)","sohu(?!ennews|video|news)","favorg","bloglines","fetch(?!tv)","wapt","microsoft\\+url\\+control","urchin","ning\\/1\\.0","pluck","google\\+news","spider","\\(compatible\\;\\+optimizer\\)","moreover\\/5\\.1","js\\-kit","server\\ density\\ external\\ llama","facebookexternalhit","ultraseek","catchpoint","yandex(?!\\ browser|\\+browser|mail)","echo(?!arena|fon|star)","^worldwatch\\/","combine(?!d)","winhttprequest","ez\\+publish\\+link\\+validator","jakarta","^webnotifier\\/","webmetrics","teoma","nerdbynature","ms\\+frontpage","nielsen","sucker","engagebdr","yahoofeedseeker","dts\\+agent","googleapps","holmes","plumtree","www\\-mechanize","google\\-hoteladsverifier","pingdom","drupal","sina\\_weibo","google\\ page\\ speed\\ insights","lisa","w3c\\_validator","^scan","yeti","snoopy","khte","trovit","atomz","httpcomponents","ms\\+search","google\\-http\\-java\\-client","spi\\_der","bubing","websitepulse","microsoft\\+bits","http\\_request2","ieautodiscovery","siteimprove","curl(?!ings)","go\\+1\\.1\\+package\\+http","^crowsnest\\/","email\\ exractor","utorrent","yahoocachesystem","shopwiki","justview","googlesecurityscanner","msnptc","rkg\\+url\\+verifier","monitor","bitvouseragent","((?=wormgame))worm","talktalk","help\\.coccoc\\.com","yahoo\\ pipes","heritrix","nutch","argus","kulturarw3","checkurl","universalsearch","amazon\\ route\\ 53\\ health\\ check\\ service","slurp","mozilla\\/5\\.0\\ \\(compatible\\;\\ msie\\ 5\\.0\\)","ezooms","kimengi\\/nineconnections\\.com","applesyndication","python\\-urllib","internal\\+zero\\-knowledge\\+agent","system\\+center\\+operations\\+manager","riverglassscanner","imgsizer","changedetection","nutscrape","feedzilla","contype","^lwp","\\(compatible\\;\\ optimizer\\)","infolink","outbrain","^prerender","admantx","^inagist\\ url\\ resolver","amazon\\+route\\+53\\+health\\+check\\+service","neustar","a6\\-indexer","comodo\\+ssl\\+checker","linkchecker","viglink","patric","newsnow","wasalive","scrapy","(?=gruber)grub","ruxitsynthetic","rkg\\ url\\ verifier","ocelli","webcapture","^kraken\\/","t\\-h\\-u\\-n\\-d\\-e\\-r\\-s\\-t\\-o\\-n\\-e","spider(?!solitaire)","isearch","hp\\ sitescope","maxamine","\\(simulated\\_by\\_webserver\\_stress\\_tool\\)","((?=obotics)|ther(?=obotfree))obot","yacy","twibble\\.io","google\\+wireless\\+transcoder","wget","internal\\ zero\\-knowledge\\ agent","google\\ wireless\\ transcoder","xenu","yahooseeker","advanced\\ email\\ extractor","feed43","ptst","reconnoiter","go\\ 1\\.1\\ package\\ http","advanced\\+email\\+extractor","linkdex","panscient\\.com","webcheck","linktiger","scooter","flipboard\\.com\\/browserproxy","evidon","twisted\\ pagegetter","cosmos","adbeat","sherlock","web\\ downloader","cookiereports","siteexplorer","miva","twisted\\+pagegetter","mfc\\_tear\\_sample","indy\\ library","b2w(?!tenisnew)","orangebot(?!swana)","lockss\\+cache","mozilla\\/4\\.0\\+\\(compatible\\;\\+msie\\+6\\.0\\;\\+windows\\+nt\\+5\\.1\\;1813\\)","yahooexternalcache","apache\\-httpclient\\/4\\.","archive\\.org","wesee\\:search","hiscan","ms\\ frontpage","tagscanner","google\\ web\\ preview","special\\_archiver","d24y\\-aegis","scoutjet","larbin","adsense\\-snapshot\\-google","keynote","skypeuripreview","clickajob","download\\+ninja","internet\\ ninja","^ltx71","ukonline","eventmachine\\ httpclient","nomad","mediapartners","twikle","microsoft\\ scheduled\\ cache\\ content\\ download\\ service","internet\\+ninja","scanalert","metauri","agentname","adr\\)","squider","isilo","teleport","automationtest","bordermanager","linklint","bot","templeton","rssreader","ichiro","(?=dialer\\-mobileapp)dialer","atomic\\_email\\_hunter","google\\+web\\+preview","longurl\\+api","longurl\\ api","internetseer","server\\+density\\+external\\+llama","topix","iopus","download\\ ninja","mozilla\\/5\\.0\\+\\(compatible\\;\\+msie\\+5\\.0\\)","europarchive","avantgo","flamingo\\_searchengine","lockss\\ cache","jobrapido","wesee\\:ads\\/","frontier","newspaper\\/0\\.0\\.","apachebench","flamingosearch","lydia","microsoft\\ url\\ control","phantomjs","system\\ center\\ operations\\ manager","^econtext\\/","akamai","cfschedule","searchme\\.com\\/support\\/","fortimail","comodo\\ ssl\\ checker","gomezagent","sitecon","webauto","golem","swcd","spundge\\/0\\.1","findlinks","^sjn","yandex","ia\\_archive","vagabondo","watchmouse","simplepie","1job","goldfire"].join("|");new RegExp(be,"i");class Ee{constructor(e,t={},i=window.tracking,n=window.lazyloader){const{sources:s,posterUrl:o,mediaUrn:r,trackingId:a,captionsUrl:l}=e.dataset,c=JSON.parse(s);if(!c.length)throw new Error("Please pass video sources in correct Array string format inside data-sources attribute");e.hasAttribute("autoplay")&&(t.autoplay=!0),this._mediaPlayerInstancePromise=this._createPlayer(e,a,r,t,n).then(e=>(o&&e.poster(o),e.src(c),l&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:l}),this._bindTracking(e,i),e))}_createPlayer(e,t,i,n,s){return s.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(s=>{const{createPlayer:o}=s,r=n.plugins&&n.plugins.rum&&n.plugins.rum.mediaHeader&&n.plugins.rum.mediaHeader.mediaSource||"ugc",a=ue({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},n);return a.plugins.tracking={mediaUrn:i,trackingId:t},a.plugins.rum={mediaUrn:i,trackingId:t,mediaHeader:{mediaSource:r}},o(e,a)})}_bindTracking(e,t){t.then(t=>{const i=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",i),e.rum().on("track",i)})}_getMediaPlayerTrackingEventHandler(e){return function(t,{eventName:i,eventData:n}){let s=ue({header:{},requestHeader:{}},n);delete s.name,delete s.plugin,delete s.instance,s.requestHeader.pageKey||(s.requestHeader.pageKey=I(document)),e.fireTrackingEvent(i,s)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}const we=["class","disabled","style","tabindex","type"];class ye{constructor(e){if(!e)throw new Error("FocusTrap: No focus trap container passed in");this._container=e,this._observer=new MutationObserver(()=>this._setFirstAndLastFocusableEls(this._container)),this._handleKeyDown=this._focusTrap.bind(this)}init(){this._observer.observe(this._container,{attributeFilter:we,attributes:!0,childList:!0,subtree:!0}),this._setFirstAndLastFocusableEls(this._container),this._container.addEventListener("keydown",this._handleKeyDown)}tearDown(){this._observer.disconnect(),this._container.removeEventListener("keydown",this._handleKeyDown)}_focusTrap(e){const{key:t,target:i}=e,n=R(t),s=n===C.TAB&&e.shiftKey;!s&&n===C.TAB&&i===this.lastFocusableEl?(this.firstFocusableEl.focus(),e.preventDefault()):s&&i===this.firstFocusableEl&&(this.lastFocusableEl.focus(),e.preventDefault())}_setFirstAndLastFocusableEls(e){const[t,i]=this._getFirstAndLastFocusableEls(e);this.firstFocusableEl=t,this.lastFocusableEl=i,setTimeout(()=>{this._hasFocusBeenDropped()&&("-1"===e.getAttribute("tabindex")?e.focus():this.firstFocusableEl.focus())},100)}_hasFocusBeenDropped(){const e=document.activeElement;return!e||e===document.body}_getFirstAndLastFocusableEls(e){const t=[...e.querySelectorAll(K)],i=new Map;let n,s,o=0,r=t.length-1;for(;(!n||!s)&&o<=r;){if(!n){const s=t[o];n=Y(s,e,i)&&s,o++}if(!s){const n=t[r];s=Y(n,e,i)&&n,r--}}return s=s||n,[n,s]}}const{ENTER:Te,ESCAPE:Ie}=C;class Se{constructor(e,{enablePageViewTracking:t=!1}={}){if(!e)throw new Error("No modal element passed in");this._el=e,this._parentNode=this._el.parentNode,this._topLevelContainer=this._getTopLevelContainer(),this._wrapperEl=this._el.querySelector(".".concat("modal__wrapper")),this._overlayEl=this._el.querySelector(".".concat("modal__overlay")),this._outletEls=this._getOutletEls(),this._exitButtonEl=this._el.querySelector(".".concat("modal__dismiss")),this._onKeyDownEvent=e=>this._onKeyDown(e),this._enablePageViewTracking=t,this._outletEls.forEach(e=>{e.addEventListener("click",()=>this.open())}),this._exitButtonEl.addEventListener("click",()=>this.close()),this._overlayEl.addEventListener("click",this._handleOverlayClick.bind(this)),this._focusTrap=new ye(this._wrapperEl)}_getOutletEls(){const e=this._el.dataset.outlet,t=[...("default-outlet"===e?this._parentNode:document).querySelectorAll('[data-modal="'.concat(e,'"]'))];if(!t.length)throw new Error("No outlet was found with a data-modal attribute equal to the provided dataCustomOutlet param ".concat(e));return t}_getTopLevelContainer(){const e=document.querySelector(".".concat("top-level-modal-container"));if(!e){const e=document.createElement("div");return e.className="top-level-modal-container",document.body.appendChild(e)}return e}_handleOverlayClick(e){e.target===this._wrapperEl||this._wrapperEl.contains(e.target)||this.close()}_onKeyDown(e){const t=R(e.key),i=t===Te&&document.activeElement===this._exitButtonEl;(t===Ie||i)&&(this.close(),e.preventDefault())}open(){return this._previouslyFocusedEl=document.activeElement,this._overlayEl.classList.add("modal__overlay--visible"),this._topLevelContainer.appendChild(this._el),this.noScroll(),document.addEventListener("keydown",this._onKeyDownEvent),j(this._el,"open"),this._wrapperEl&&this._wrapperEl.focus(),this._focusTrap.init(),this._enablePageViewTracking&&window.tracking?window.tracking.then(e=>{const t=I(document).replace("_jsbeacon","");le(e,"ajax","".concat(t,"_").concat(this._el.id))}):Promise.resolve()}close(){this._overlayEl.classList.remove("modal__overlay--visible"),this._parentNode.appendChild(this._el),this.removeNoScroll(),document.removeEventListener("keydown",this._onKeyDownEvent),j(this._el,"close"),this._previouslyFocusedEl&&this._previouslyFocusedEl.focus(),this._focusTrap.tearDown()}noScroll(){document.body.classList.add("no-scroll")}removeNoScroll(){document.body.classList.remove("no-scroll")}}!function(e){const t=new RegExp("<(?!/?(?:"+e.allowedTags+")(?:[ \t\r\n]*/?>|[ \t\r\n]+(?:(?:(?:"+e.allowedAttributes+")(?:=([\"'])[^'\"<>]*\\1)?|(?:"+e.allowedURLAttributes+")=([\"'])(?:(?:"+e.allowedURLSchemes+")(?::|&#(?:58|x3a);)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\2)[ \t\r\n]*)+/?>))","i")}({allowedTags:"a|abbr|address|area|article|aside|audio|b|bdi|bdo|big|blockquote|br|button|center|cite|code|datalist|dd|del|details|dfn|div|dl|dt|em|fieldset|figcaption|figure|font|footer|h[1-6]|header|hgroup|hr|i|img|ins|kbd|label|legend|li|map|mark|marquee|nav|nobr|ol|p|pre|q|rp|rt|ruby|s|samp|section|small|source|span|strike|strong|sub|sup|table|tbody|td|tfoot|th|thead|time|tr|u|ul|var|video|wbr",allowedAttributes:"alt|aria-[a-z0-9_\\-]+|border|caption|checked|class|colgroup|color|cols|colspan|controls|coords|data-[a-z0-9_\\-]+|dir|disabled|height|hidden|hreflang|id|label|loop|marginheight|marginwidth|maxlength|method|multiple|name|preload|readonly|rel|required|reversed|role|rows|rowspan|spellcheck|tabindex|target|title|type|usemap|width|clear|headers|ismap|lang|start|datetime|accept|max|min|placeholder|size|step",allowedURLAttributes:"href|src",allowedURLSchemes:"https?|ftp|mailto"});class ke{constructor(e){if(!e)throw new Error("No element passed in");this._el=e,this._imgEl=this._el.querySelector(".cover-img__image"),this._imgEl&&(this.cropInfo=ve(this._imgEl.dataset.embedId),this.ratio=0,this._imgEl.classList.contains(".lazy-loaded")&&this._initCalc(),this._bindEvents())}_bindEvents(){window.addEventListener("resize",this._handleWindowResize.bind(this)),this._imgEl.addEventListener("load",this._initCalc.bind(this))}_handleWindowResize(){this._isResizing||(this._isResizing=!0,window.requestAnimationFrame(this._initCalc.bind(this)))}_initCalc(){const e=this._el.clientWidth,t=this._el.clientHeight,i=this._imgEl.naturalWidth,n=this._imgEl.naturalHeight,s=this.cropInfo.y,o=i-this.cropInfo.x,r=n-s,a=e/o,l=t/r,c=o*l>=e,d=r*a>=t;let h=0;d&&c?h=Math.min(a,l):d?h=a:c&&(h=l);let u=Math.max(h*i,e),p=Math.max(h*n,t);h!==this.ratio&&(this.ratio=h,this._imgEl.style.width="".concat(u,"px"),this._imgEl.style.height="".concat(p,"px"),this._imgEl.style.top="-".concat(this.cropInfo.y*this.ratio,"px"),this._imgEl.style.left="-".concat(this.cropInfo.x*this.ratio,"px")),this._isResizing=!1}}class Le{constructor(e,{actionButtonClassName:t="promo__action",dismissButtonClassName:i="promo__dismiss",lockScreenClassName:n="no-scroll",startCoolOffAfterImpression:s=!1}={}){if(!e)throw Error("An element must be provided to apptivation promo");this.promo=e,this.actionBtn=this.promo.querySelector(".".concat(t)),this.dismissBtn=this.promo.querySelector(".".concat(i)),this.overlay=this.promo.querySelector(".".concat("apptivation-promo__overlay")),this.containsOverlay=!!this.overlay,this.lockScreenClassName=n,this.clickHandler=this._dismissPromo.bind(this),this.actionBtn.addEventListener("click",this.clickHandler),this.dismissBtn.addEventListener("click",this.clickHandler);const o="true"===this.promo.dataset.enableAppDetection;this._initPromise=this._getInitializationParams(e,o),this._initPromise.then(({cooloffInMinutes:e,impressionsBeforeDisplay:t})=>{if(this.cooloffInMinutes=e,this.coolOffEnabled=this.cooloffInMinutes>0,this.impressionsBeforeDisplay=t,this.containsOverlay&&this.overlay.addEventListener("click",this.clickHandler),!this._hasMetImpressionThreshold(this.impressionsBeforeDisplay))return;let i=!this.coolOffEnabled;this.coolOffEnabled&&(i=this._hasCoolOffExpired(s),i&&this._setCoolOfStart("global:impression")),this._toggleShowPromo(i)})}_getInitializationParams(e,t){const i=this._getSanitizedDatasetNumber(e.dataset,"cooloffInMinutes"),n=this._getSanitizedDatasetNumber(e.dataset,"impressionsBeforeDisplay");return new Promise(e=>{t?window.appDetection.then(t=>{const s=t.find(e=>"com.linkedin.android"===e.id);e(s?{cooloffInMinutes:0,impressionsBeforeDisplay:0}:{cooloffInMinutes:i,impressionsBeforeDisplay:n})}).catch(()=>{e({cooloffInMinutes:i,impressionsBeforeDisplay:n})}):e({cooloffInMinutes:i,impressionsBeforeDisplay:n})})}isVisible(){return this._initPromise.then(()=>!this.promo.classList.contains("apptivation-promo--hidden"))}_getSanitizedDatasetNumber(e,t){const i=e[t]&&e[t].replace(/\D/g,""),n=parseInt(i,10);return Number.isNaN(n)?0:n}_hasCoolOffExpired(e){this.cooloffStartTimestampMap=this._getCoolOfStartMap();const t=e?"global:impression":"global:dismiss",i=60*this.cooloffInMinutes*1e3,n=this.cooloffStartTimestampMap[t],s=n?parseInt(n,10):0;return Date.now()-s>i}_hasMetImpressionThreshold(e){if(e<2)return!0;return!(function(e){if(!e)throw"impressionKey is required";return(JSON.parse(localStorage.getItem("guest-ui-lib:global-impression-count-map"))||{})[e]||0}("apptivation-promo")+1<e)||(function(e,t=1){if(!e)throw"impressionKey is required";const i=JSON.parse(localStorage.getItem("guest-ui-lib:global-impression-count-map"))||{},n=i[e]||0;i[e]=n+t,localStorage.setItem("guest-ui-lib:global-impression-count-map",JSON.stringify(i)),i[e]}("apptivation-promo"),!1)}_dismissPromo(e){e.preventDefault(),this.actionBtn.removeEventListener("click",this.clickHandler),this.dismissBtn.removeEventListener("click",this.clickHandler);const{target:t}=e,i="A"===t.tagName,n=t.getAttribute("href");this._toggleShowPromo(!1),this.coolOffEnabled&&this._setCoolOfStart("global:dismiss"),i&&location.assign(n)}_toggleShowPromo(e){this.promo.classList.toggle("apptivation-promo--hidden",!e),e&&this.promo.focus(),this.containsOverlay&&document.body.classList.toggle(this.lockScreenClassName,e)}_getCoolOfStartMap(){return JSON.parse(localStorage.getItem("guest-ui-lib:apptivation-promo-cooloff-start-timestamp-map"))||{}}_setCoolOfStart(e){this.cooloffStartTimestampMap[e]=Date.now(),localStorage.setItem("guest-ui-lib:apptivation-promo-cooloff-start-timestamp-map",JSON.stringify(this.cooloffStartTimestampMap))}}const Oe="loader--absolute",Ae="loader--show",Ce="loader--full-screen",xe="no-scroll",Re="loader-wrapper";class Pe{constructor(e,{wrapperEl:t}={}){if(!e)throw new Error("Loader el required");if(t&&!t.contains(e))throw new Error("Wrapper element is not a parent of the Loader el");this.el=e,this.wrapperEl=t,this.isAbsoluteVariant=this.wrapperEl&&this.el.classList.contains(Oe),window.addEventListener("pagehide",({persisted:e})=>{e&&this.hide()})}show(){this.el.classList.add(Ae),this.el.classList.contains(Ce)&&document.body.classList.add(xe),this.isAbsoluteVariant&&this.wrapperEl.classList.add(Re)}hide(){this.el.classList.remove(Ae),document.body.classList.remove(xe),this.isAbsoluteVariant&&this.wrapperEl.classList.remove(Re)}}const Ne="dismissable-input",De="dismissable-input--focus",Ue="dismissable-input__button",Be="dismissable-input__button--show",Me="dismissable-input__input";class qe{constructor(e){this.el=e,this._input=this.el.querySelector(".".concat(Me)),this._dismissButtonEl=this.el.querySelector(".".concat(Ue)),this._isDismissable=!!this._dismissButtonEl,this._attachEventListeners()}_attachEventListeners(){this._input.addEventListener("focus",this._onInputFocus.bind(this)),this._input.addEventListener("input",this._updateDismissButton.bind(this)),this._input.addEventListener("blur",this._onInputBlur.bind(this)),this._isDismissable&&(this._dismissButtonEl.addEventListener("click",this.clear.bind(this)),this._updateDismissButton())}_onInputFocus(){this.el.classList.add(De),this._updateDismissButton(),j(this._input,"dismissableInputFocused")}_updateDismissButton(){this._isDismissable&&(this._input.value.length?(this._showDismissButton(),this._dismissButtonEl.disabled=!1):(this._hideDismissButton(),this._dismissButtonEl.disabled=!0))}_hideDismissButton(){this._dismissButtonEl.classList.remove(Be)}_showDismissButton(){this._dismissButtonEl.classList.add(Be)}_onInputBlur(){this.el.classList.remove(De)}clear(){this._input.value="",this._updateDismissButton(""),this._input.focus(),j(this.el,"clear")}}const He={block:"typeahead-input",showList:"typeahead-input__dropdown--show",dropdown:"typeahead-input__dropdown",dropdownList:"typeahead-input__dropdown-list",dropdownText:"typeahead-input__dropdown-text",listItemFocus:"typeahead-input__dropdown-item--highlighted",listItem:"typeahead-input__dropdown-item",liveText:"typeahead-live-text",template:"typeahead-item-template"},Fe="i18n_aria_live_text_no-suggestions",je="i18n_aria_live_text_one-suggestion",ze="i18n_aria_live_text_multiple-suggestions";class We{constructor(e,{createDismissableInput:t,elementClasses:i=He,generateApiUrl:n,liveTextEl:s,liveTextClearTime:o=500,onSelect:r,onInput:a=(()=>{})}){this.el=e,this._liveTextClearTime=o,this._elementClasses=i,this._input=this.el.querySelector(".".concat(Me)),this._dropdownContainerEl=this.el.querySelector(".".concat(this._elementClasses.dropdown)),this._dropdownListEl=this.el.querySelector(".".concat(this._elementClasses.dropdownList)),this._listId=this._dropdownListEl.id,this._generateApiUrl=n,this._onSelect=r,this._onInput=a,this._typeaheadItemTemplate=this.el.querySelector(".".concat(this._elementClasses.template)),this._boundClickOutsideToCloseHandler=this._clickOutsideToCloseHandler.bind(this),this._liveTextEl=s||this.el.querySelector(".".concat(this._elementClasses.liveText)),t&&(this.dismissableInput=new qe(this.el)),this._getLiveTextOptions(),this._resetState(),this._attachEventListeners(),this._requestHandler=H(this._getAndApplyResults.bind(this),500)}_resetState(){this._dropdownListItemEls=[],this._setHighlightedEl(null),this._setExpandedState(!1)}_attachEventListeners(){this.checkForListItemSelectHandler=this._checkForListItemSelect.bind(this),this.hideListHandler=this._hideList.bind(this),this.onKeyDownHandler=this._onKeyDown.bind(this),this.onUserInputHandler=this._onUserInput.bind(this),this.onClearHandler=this._onClear.bind(this),this._input.addEventListener("keydown",this.onKeyDownHandler),this._input.addEventListener("input",this.onUserInputHandler),this._input.addEventListener("focus",this.onUserInputHandler),this._input.addEventListener("blur",this.hideListHandler),this._dropdownListEl.addEventListener("mousedown",this.checkForListItemSelectHandler),this._isDismissable&&this.el.addEventListener("clear",this.onClearHandler)}_removeEventListeners(){this._input.removeEventListener("keydown",this.onKeyDownHandler),this._input.removeEventListener("input",this.onUserInputHandler),this._input.removeEventListener("focus",this.onUserInputHandler),this._input.removeEventListener("blur",this.hideListHandler),this._dropdownListEl.addEventListener("mousedown",this.checkForListItemSelectHandler)}_isListActive(){return this.el.getAttribute("aria-owns")===this._listId&&"true"===this.el.getAttribute("aria-expanded")}_clickOutsideToCloseHandler(e){e.target!==this._input&&this._hideList()}_onKeyDown(e){if(!this._isListActive())return;switch(R(e.key)){case C.ARROW_DOWN:e.preventDefault(),this._moveToResult(1);break;case C.ARROW_UP:e.preventDefault(),this._moveToResult(-1);break;case C.ENTER:this._checkForListItemSelect(e)}}_moveToResult(e){if(0===this._dropdownListItemEls.length)return;const t=-1===e?-1:0;let i=null===this._highlighted.index?t:this._highlighted.index+e;i<0&&(i=this._dropdownListItemEls.length-1),i>=this._dropdownListItemEls.length&&(i=0),this._setHighlightedEl(i)}_setHighlightedEl(e){this._highlighted&&this._highlighted.el&&(this._highlighted.el.classList.remove(this._elementClasses.listItemFocus),this._highlighted.el.setAttribute("aria-selected",!1)),null===e?(this._highlighted={el:null,index:null},this._input.removeAttribute("aria-activedescendant")):(this._highlighted.el=this._dropdownListItemEls[e],this._highlighted.index=e,this._highlighted.el.setAttribute("aria-selected",!0),this._highlighted.el.classList.add(this._elementClasses.listItemFocus),this._input.setAttribute("aria-activedescendant",this._highlighted.el.id))}_isInputValid(){return this._input.value.length>0}_onUserInput(e){this._onInput(e),this._isInputValid()?this._requestHandler():this._hideList()}_getAndApplyResults(){if(this._isInputValid()){const e=this._input.value;this._makeTypeaheadRequest(e).then(e=>this._appendResults(e)).then(()=>this._showList())}}_makeTypeaheadRequest(e){return X(this._generateApiUrl(e),{sendCookies:!1}).then(e=>e&&JSON.parse(e.responseText)||[])}_appendResults(e=[]){this._hideList(),e.forEach((e,t)=>{const i=document.importNode(this._typeaheadItemTemplate.content,!0),n=i.querySelector(".".concat(this._elementClasses.listItem)),s=n.querySelector(".".concat(this._elementClasses.dropdownText));n.id="".concat(this._input.name,"-").concat(t+1),s.textContent=e.displayName,s.dataset.id=e.id,this._dropdownListEl.appendChild(i)}),this._dropdownListItemEls=D(this._dropdownListEl.children)}_shouldShowList(){return this._dropdownListItemEls.length>0&&this._isInputValid()}_showList(){this._shouldShowList()?(this._dropdownContainerEl.classList.add(this._elementClasses.showList),document.body.addEventListener("click",this._boundClickOutsideToCloseHandler),this._setExpandedState(!0)):(this._hideList(),this._setExpandedState(!1)),this._setLiveText()}_hideList(){if(this._isListActive()){for(;this._dropdownListEl.firstChild;)this._dropdownListEl.removeChild(this._dropdownListEl.firstChild);this._resetState(),this._dropdownContainerEl.classList.remove(this._elementClasses.showList),document.body.removeEventListener("click",this._boundClickOutsideToCloseHandler)}}_onClear(){this.hideListHandler()}_checkForListItemSelect(e){if(!this._isListActive())return;const t="mousedown"===e.type?e.target:this._highlighted.el;if(!t)return;e.preventDefault();const i=t.classList.contains(this._elementClasses.dropdownText)?t:t.querySelector(".".concat(this._elementClasses.dropdownText));i&&this.el.contains(i)&&this._updateInputTo(i)}_updateInputTo(e){this._input.value=e.textContent.trim(),this._input.focus(),"function"==typeof this._onSelect&&this._onSelect(e),this._hideList()}_getLiveTextOptions(){this._liveTextNoSuggestions=ve(Fe),this._liveTextOneSuggestion=ve(je),this._liveTextMultipleSuggestions=ve(ze)}_getLiveText(){let e;switch((this._dropdownListItemEls||[]).length){case 0:e=this._liveTextNoSuggestions;break;case 1:e=this._liveTextOneSuggestion;break;default:e=this._liveTextMultipleSuggestions}return e}_setLiveText(){const e=this._getLiveText(),t=document.createElement("p");t.textContent=e,this._liveTextEl.children.length&&(this._liveTextEl.removeChild(this._liveTextEl.firstChild),clearTimeout(this._liveTextTimeout)),this._liveTextEl.appendChild(t),this._liveTextTimeout=setTimeout(()=>{this._liveTextEl.firstChild&&this._liveTextEl.removeChild(this._liveTextEl.firstChild)},this._liveTextClearTime)}_setExpandedState(e){this.el.setAttribute("aria-expanded",e),e&&(this.el.setAttribute("aria-owns",this._listId),this._input.setAttribute("aria-controls",this._listId))}}function Ge(e=window){return e.innerWidth<769}class Ke{constructor(e,t,i,{onCloseExpandedSearch:n=(e=>e)}={}){if(this.el=e,this.expandedEl=t,this.placeholderEl=i,!this.el)throw new Error("No element passed in to BaseSearchBar");this.isExpanded=!1,this.type=this.el.getAttribute("data-searchbar-type"),this.firstInput=this.el.querySelector("input:first-of-type"),this.isIOSDevice="iPhone"===navigator.platform||"iPad"===navigator.platform||"iPod"===navigator.platform,this.onCloseExpandedSearch=n}showExpandedSearch(){this.isExpanded=!0,this.placeholderEl.classList.remove("show-on-mobile"),this.placeholderEl.classList.add("hide-on-mobile"),this.expandedEl.classList.add("isExpanded"),document.body.classList.add("no-scroll"),this.isIOSDevice&&(document.body.classList.add("fixed"),this.expandedEl.addEventListener("touchstart",this._onIOSTouchStartEvent)),document.addEventListener("keyup",this._onKeyUpEvent.bind(this)),this.firstInput.focus()}hideExpandedSearch(){this.firstInput.blur(),this.isExpanded=!1,this.expandedEl.classList.remove("isExpanded"),this.placeholderEl.classList.remove("hide-on-mobile"),this.placeholderEl.classList.add("show-on-mobile"),document.body.classList.remove("no-scroll"),this.isIOSDevice&&(document.body.classList.remove("fixed"),this.expandedEl.removeEventListener("touchstart",this._onIOSTouchStartEvent)),document.removeEventListener("keyup",this._onKeyUpEvent),this.placeholderEl.focus(),this.onCloseExpandedSearch()}_onKeyUpEvent(e){const{key:t,target:i}=e,n="Escape"===t,s="BODY"===i.tagName;n&&s?(e.preventDefault(),this.hideExpandedSearch()):"Tab"===t&&this._userIsTabbedOut()&&this.hideExpandedSearch()}_onIOSTouchStartEvent(e){const{target:t}=e;P(t,".".concat(He.block))||document.activeElement.blur()}_userIsTabbedOut(){if(this.expandedEl.classList.contains("isExpanded")&&Ge()){return!this.expandedEl.contains(document.activeElement)}return!1}}class Ve extends We{constructor(e,{generateApiUrl:t,liveTextEl:i,onSelect:n,onInput:s}){super(e,{createDismissableInput:!0,generateApiUrl:t,liveTextEl:i,onSelect:n,onInput:s})}}const Ye={clearButton:"recent-searches__clear-btn",dropdown:"recent-searches",dropdownList:"recent-searches__list",listItem:"recent-searches__item",listItemClearButton:"recent-searches__item--clear",listItemLink:"recent-searches__item-link",listItemFocus:"recent-searches__item--highlighted",showList:"recent-searches--show"},Je="i18n_aria_live_text_recent-searches-one-suggestion",$e="i18n_aria_live_text_recent-searches-multiple-suggestions",Ze="i18n_aria_live_text_recent-searches-cleared";class Xe extends We{constructor(e,{liveTextEl:t,clearRecentSearchApiBaseUrl:i}){if(super(e,{liveTextEl:t,elementClasses:Ye,liveTextClearTime:1e3}),!e)throw Error("An element must be provided to RecentSearches");if(this.dropdownContainerEl=e.querySelector(".".concat(Ye.dropdown)),!this.dropdownContainerEl)throw Error("A RecentSearches container element must be in the RecentSearches parent element");this._clearRecentSearchApiBaseUrl=i,this._dropdownListItemEls=D(this.dropdownContainerEl.querySelectorAll(".".concat(Ye.listItem))),this._clearBtnItem=e.querySelector(".".concat(Ye.listItemClearButton)),this._dropdownListItemEls.push(this._clearBtnItem),this._dismissButtonEl=e.querySelector(".".concat(Ue))}_attachEventListeners(){this._clearBtn=this.el.querySelector(".".concat(Ye.clearButton)),this._clearRecentSearchesHandler=this._clearRecentSearches.bind(this),this._clearBtn.addEventListener("mousedown",this._clearRecentSearchesHandler),super._attachEventListeners()}_removeEventListeners(){this._clearBtn.removeEventListener("mousedown",this._clearRecentSearchesHandler),super._removeEventListeners()}_onUserInput(){this._shouldShowList()?this._showList():this._hideList()}_redirect(e){e.click()}_clickOutsideToCloseHandler(e){e.target===this._input||this._dismissButtonEl.contains(e.target)||this._hideList()}_checkForListItemSelect(e){if(!this._isListActive())return;const t="mousedown"===e.type?e.target:this._highlighted.el;if(!t)return;e.preventDefault();const i=t.querySelector(".".concat(Ye.listItemLink));i?this._redirect(i):t.classList.contains(Ye.listItemLink)?this._redirect(t):t===this._clearBtnItem&&this._clearRecentSearches()}_shouldShowList(){return this._dropdownListItemEls.length>1&&0===this._input.value.length}_onClear(){this.onUserInputHandler()}_hideList(){this._isListActive()&&(this.dropdownContainerEl.classList.remove(Ye.showList),document.body.removeEventListener("click",this._boundClickOutsideToCloseHandler),this._setExpandedState(!1),this._setHighlightedEl(null))}_getLiveTextOptions(){this._liveTextOneSuggestion=ve(Je),this._liveTextMultipleSuggestions=ve($e),this._liveTextClearedSuggestions=ve(Ze)}_getLiveText(){let e;switch(this._informUserThatSearchesAreCleared?0:this._dropdownListItemEls.length){case 0:e=this._liveTextClearedSuggestions,this._informUserThatSearchesAreCleared=!1;break;case 2:e=this._liveTextOneSuggestion;break;default:e=this._liveTextMultipleSuggestions}return e}_clearRecentSearches(){X(this._clearRecentSearchApiBaseUrl,{method:"DELETE"}).then(()=>{this._removeEventListeners(),this._informUserThatSearchesAreCleared=!0,super._hideList(),super._setLiveText()}).catch(e=>{throw e})}}const Qe="switcher-tabs__tab--active";class et{constructor(e,t,i){this.el=e,this.mobileTriggerEl=i,this.baseSearchBarsMap=t,this.currentType=this.el.getAttribute("data-current-search-type"),this.switcherTriggerAndTabs=this.el.querySelector(".".concat("switcher-tabs__trigger-and-tabs")),this.switcherTabs=this.el.querySelector(".".concat("switcher-tabs")),this.dropdownList=this.el.querySelector(".".concat("switcher-tabs__list")),this.dropdownTrigger=this.el.querySelector(".".concat("switcher-tabs__placeholder")),this.dropdownPlaceholderText=this.el.querySelector(".".concat("switcher-tabs__placeholder-text")),this._handleSwitcherClick=this._handleSwitcherClick.bind(this),this._initMobileExpandedSwitcher(),this._initCollapsibleSwitcher()}_initMobileExpandedSwitcher(){this.el.addEventListener("click",this._handleSwitcherClick),this.mobileTriggerEl.addEventListener("click",e=>{e.preventDefault(),this.baseSearchBarsMap[this.currentType].showExpandedSearch()}),this.cancelBtn=this.el.querySelector(".".concat("switcher-tabs__cancel-btn")),this.cancelBtn.addEventListener("click",e=>{e.preventDefault(),this.baseSearchBarsMap[this.currentType].hideExpandedSearch()})}_initCollapsibleSwitcher(){this.collapsibleSwitcher=new Z(this.switcherTriggerAndTabs,e=>e.querySelector("button"),{listEl:this.dropdownList,dropdownTriggerEl:this.dropdownTrigger}),this.switcherTriggerAndTabs.addEventListener("open",()=>this._openSwitcher()),this.switcherTriggerAndTabs.addEventListener("close",()=>this._closeSwitcher()),this._updatePlaceholderText()}_openSwitcher(){this.dropdownList.addEventListener("click",this._handleSwitcherClick),this.switcherTabs.classList.remove("hide-on-desktop"),this.switcherTabs.classList.add("show-on-desktop")}_closeSwitcher(){this.dropdownList.removeEventListener("click",this._handleSwitcherClick),this.switcherTabs.classList.remove("show-on-desktop"),this.switcherTabs.classList.add("hide-on-desktop")}_handleSwitcherClick(e){if(!e.target.classList.contains("switcher-tabs__button"))return;const t=e.target.getAttribute("data-switcher-type"),i=e.target.parentNode;t&&i&&this.currentType!==t?(this.collapsibleSwitcher.collapsible.currentListItem=P(e.target,"li"),this._switchTo(t,i)):this.collapsibleSwitcher.collapsible.close()}_switchTo(e,t){this._updateActiveTab(t),this._updatePlaceholderText(),this.el.setAttribute("data-current-search-type",e),this.collapsibleSwitcher.collapsible.close(),this.baseSearchBarsMap[this.currentType].isExpanded?this.baseSearchBarsMap[e].showExpandedSearch():this.baseSearchBarsMap[e].hideExpandedSearch(),this.currentType=e}_updateActiveTab(e){const t=this.el.querySelector(".".concat(Qe));t&&t.classList.remove(Qe),e.classList.contains("switcher-tabs__tab")&&e.classList.add(Qe)}_updatePlaceholderText(){let e=this.el.querySelector(".".concat(Qe));if(e){let t=e.querySelector(".".concat("switcher-tabs__button"));this.dropdownPlaceholderText.textContent=t.textContent}}}class tt{constructor(e,{typeaheadApiBaseUrl:t,clearRecentSearchApiBaseUrl:i,shouldSearchOnSelect:n=!0,onCloseExpandedSearch:s}={}){if(this.el=e,!this.el)throw new Error("No element passed into SearchBar");this.typeaheadApiBaseUrl=t;const o=this.el.querySelector(".".concat("search-bar__live-text"));if(this.shouldSearchOnSelect=n,this.placeholderEl=this.el.querySelector(".".concat("search-bar__placeholder")),this.baseSearchBarsMap=D(this.el.querySelectorAll(".".concat("base-search-bar"))).reduce((e,t)=>{const i=new Ke(t,this.el,this.placeholderEl,{onCloseExpandedSearch:s});return e[i.type]=i,e},{}),t){this.baseSearchBarFormEl=this.baseSearchBarsMap.JOBS.el.querySelector(".base-search-bar__form"),this.geoIdInputEl=this.el.querySelector('input[name="geoId"]');const e=this.el.querySelector(".keywords-typeahead-input");new Ve(e,{generateApiUrl:this._generateKeywordsTypeaheadApiUrl.bind(this),liveTextEl:o,onSelect:this._onKeywordsTypeaheadSelect.bind(this)});e.querySelector(".".concat(Ye.dropdown))&&new Xe(e,{clearRecentSearchApiBaseUrl:i,liveTextEl:o}),new Ve(this.el.querySelector(".location-typeahead-input"),{generateApiUrl:this._generateLocationTypeaheadApiUrl.bind(this),liveTextEl:o,onSelect:this._onLocationTypeaheadSelect.bind(this),onInput:this._onLocationTypeaheadInput.bind(this)}),Array.from(this.el.querySelectorAll(".".concat(Ne,".search-input"))).forEach(e=>{new qe(e);e.querySelector(".".concat(Ye.dropdown))&&new Xe(e,{clearRecentSearchApiBaseUrl:i,liveTextEl:o})})}else Array.from(this.el.querySelectorAll(".".concat(Ne))).forEach(e=>new qe(e));this.switcher=new et(e,this.baseSearchBarsMap,this.placeholderEl),this.setupSearchInputFocusTracking()}_generateKeywordsTypeaheadApiUrl(e){return"".concat(this.typeaheadApiBaseUrl,"?query=").concat(window.encodeURIComponent(e))}_generateLocationTypeaheadApiUrl(e){return"".concat(this.typeaheadApiBaseUrl,"?query=").concat(window.encodeURIComponent(e),"&typeaheadType=GEO&geoTypes=POPULATED_PLACE,ADMIN_DIVISION_2,MARKET_AREA,COUNTRY_REGION")}_onKeywordsTypeaheadSelect(){this.shouldSearchOnSelect&&this._submitForm()}_onLocationTypeaheadSelect(e){this.geoIdInputEl&&(this.geoIdInputEl.value=e.dataset.id),this.shouldSearchOnSelect&&this._submitForm()}_onLocationTypeaheadInput(){this.geoIdInputEl&&(this.geoIdInputEl.value="")}_submitForm(){this.baseSearchBarFormEl&&this.baseSearchBarFormEl.submit()}setupSearchInputFocusTracking(){this.el.addEventListener("dismissableInputFocused",e=>{const t=e.target.getAttribute("data-tracking-control-name");t&&window.tracking&&window.tracking.then(e=>{e.fireTrackingEvent("SearchInputFocusEvent",{header:{},controlUrn:"urn:li:control:".concat(I(document),"-").concat(t)})})})}}class it{constructor(e,t,{isShown:i=!0}={}){if(!e)throw Error("An element must be provided to the dismissable element");if(!t)throw Error("A dismiss button must be provided to the dismissable element");this.el=e,this.dismissBtn=t,this._dismissEvent=e=>this.dismiss(e),i&&this.show()}show(){this.el.classList.add("show"),this.el.classList.remove("dismiss"),this.dismissBtn.addEventListener("click",this._dismissEvent),j(this.el,"show")}dismiss(e){this.el.classList.remove("show"),this.el.classList.add("dismiss"),j(this.el,"dismiss",e),this.dismissBtn.removeEventListener("click",this._dismissEvent)}}function nt(){const e=(e="")=>!e||0===e.trim().length;return e.errorMessageSuffix="error_empty",e}function st(e){const t=(t="")=>t.length<e;return t.errorMessageSuffix="error_too_short",t}function ot(e){const t=(t="")=>t.length>e;return t.errorMessageSuffix="error_too_long",t}const rt={session_key:[nt(),st(3),ot(128)],session_password:[nt(),st(6),ot(400)]};function at(e,t){const i=rt[e];if(!i)throw new Error("No validation rules for element named ".concat(e));for(let e=0;e<i.length;e++)if(i[e](t))return i[e].errorMessageSuffix}var lt=window||e;const ct=/^((?!\.(stg|corp)).)*\.linkedin\.(com|cn)$/;function dt(){const e=lt.location?lt.location.hostname:"";return ct.test(e)}function ht(){return dt()?"platform.linkedin.com":"platform.linkedin-ei.com"}function ut(){const e=lt.location?lt.location.hostname:"";return/\.cn$/.test(e)}function pt(e,t,i,n=!0){if("function"!=typeof t||"function"!=typeof i)throw new TypeError("One of the specified callbacks is not a function.");const s=new lt.XMLHttpRequest;s.withCredentials=n,s.open("GET",e,!0),s.onreadystatechange=function(){this.readyState===this.DONE&&(200===this.status&&"function"==typeof t?t(this.responseText):i(this))},s.send()}function gt(e){return function(){let e=T();return!e||e.consent.optedInConsentMap.ADVERTISING}()&&function(e){return e["compliance.isGDPROptIn"]}(e)}function mt(e){return function(){let e=T();return!e||e.consent.optedInConsentMap.ANALYTICS_AND_RESEARCH}()}function ft(e){return function(){let e=T();return!e||e.consent.optedInConsentMap.FUNCTIONAL}()}function _t(e){for(let t=1;t<arguments.length;t++){const i=arguments[t];if(i){const t=Object.keys(i);for(let n=0;n<t.length;n++){const s=t[n];e[s]=i[s]}}}return e}let vt;const bt={},Et={};lt.utag_data||(lt.utag_data={});function wt(){return"https://".concat(dt()?ut()?"www.linkedin.cn":"www.linkedin.com":ut()?"www.linkedin-ei.cn":"www.linkedin-ei.com").concat("/litms/api/metadata/user")}function yt(){return function(e){let t=_t({},e);return t["compliance.isAdvertisingOptIn"]=gt(t),t["compliance.isAnalyticsAndResearchOptIn"]=mt(),t["compliance.isFunctionalOptIn"]=ft(),t}(bt)}function Tt(e){if(!Et[e]){const t=function(e){return"https://".concat(ht(),"/litms/whitelist/").concat(encodeURIComponent(e))}(e),i=new Promise((e,i)=>{pt(t,t=>{e(JSON.parse(t))},e=>{i(e)},!1)});Et[e]=i}return Et[e]}const It="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;let St;function kt(e="main",t){return function(){if(void 0===St&&It){const e=lt.document.cookie.match(/litms_utag_override=([^;]+)/);St=e?e[1]:""}return St}().length>0?St:function(e,t=5){let i=null;"string"==typeof e&&(i="https://".concat(ht(),"/litms/utag/").concat(e,"/utag.js?cb=").concat(function(e){const t=new lt.Date;t.setSeconds(0),t.setMilliseconds(0);const i=Math.floor(t.getMinutes()/e)*e;return t.setMinutes(i),t.getTime()}(t)));return i}(e,t)}function Lt(e,t,i){e.onLoadRulesRunOnce(i),e.view(_t({},t,yt()))}function Ot(e,t,i){e.onLoadRulesRunOnce(i),e.link(_t({},t,yt()))}function At(e,t){if(function(e){lt.utag=e}(e),t instanceof Array&&t.length>0){const i=t.length;for(let n=0;n<i;n++){const i=t.shift();i.isControlInteraction?Ot(e,i.data,i.callback):Lt(e,i.data,i.callback)}}}function Ct(e,t){!function(e){return"object"==typeof e&&"function"==typeof e.fireTrackingEvent}(e)?console.error("Unable to fire tracking event"):e.fireTrackingEvent(t.info.name,t.body)}function xt(e,t){return"urn:li:externalMarketingTag:(".concat(function(e){const t=e.data["ut.profile"],i=e.cfg.v;return"urn:li:tagManagementSystemProfile:(".concat("tealium",",").concat(t,",").concat(i,")")}(e),",").concat(parseInt(t),")")}function Rt(e){const t=function(e){return Object.keys(e.loader.cfg).filter(t=>1===e.loader.cfg[t].send&&0!==e.loader.cfg[t].load)}(e).map(t=>function(e,t){return{tagUrn:xt(e,t)}}(e,t));if(0!==t.length)return{info:{name:"ExternalMarketingTagFireEvent"},body:{header:{},requestHeader:{},tags:t}}}lt.utag_cfg_ovrd=lt.utag_cfg_ovrd||{},lt.utag_cfg_ovrd.noview=!0,lt.utag_cfg_ovrd.nocookie=!0;const Pt=It&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(lt.navigator.userAgent),Nt={};class Dt{constructor({profileName:e,tracking2Instance:t,enableWhitelisting:i=!1,cacheBusterInterval:n}={}){this.isInitialized=!1,this.isWhitelistingEnabled=!1,this._whitelistReadyPromise=Promise.resolve({}),this.isContainerTagLoaded=!1,this._queue=[],this.whitelist={pageKey:{},controlUrn:{}},this.tracking2Instance=t,this.profileName=e,this.enableWhitelisting=i,this.cacheBusterInterval=n}initialize(){return this._shouldInitialize()?this.isInitialized?(console.warn("Initialize should not be called more that once"),this.initializePromise.then()):(this.isInitialized=!0,this.initializePromise=new Promise((e,t)=>{this.enableWhitelisting?(this.isWhitelistingEnabled=!0,this._onInitializeSuccessCallback=e,this._onInitializeFailureCallback=t,this._whitelistReadyPromise=Tt(this.profileName).then(e=>this._processWhitelistResult(e)).catch(e=>console.error("Unable to retrieve whitelists for profile : ".concat(this.profileName),e))):this._loadContainerTag(e,t)}),this.profileName&&(Nt[this.profileName]=this),this.initializePromise):Promise.resolve()}_processWhitelistResult(e){Object.keys(e).forEach(t=>this.addValuesToWhitelist(t,e[t]))}_loadContainerTag(e,t){void 0!==lt.utag&&(lt.utag=void 0),void 0!==lt.utag_data&&(lt.utag_data=void 0);const i=function(){if(!vt){const e=wt();vt=new Promise((t,i)=>{pt(e,e=>{try{t(JSON.parse(e))}catch(e){console.error("Invalid JSON format of userSettings"),i(e)}},e=>{i(e)})})}return vt}().then(e=>{Object.keys(e).forEach(t=>{!function(e,t){const i="string"!=typeof t?"":"".concat(t,".");"object"==typeof e&&Object.keys(e).forEach(t=>{bt[i+t]=e[t]})}(e[t],t)})}).catch(e=>{console.error("Unable to get user settings while calling loading container tag",e)}),n=(s=kt(this.profileName,this.cacheBusterInterval),new Promise(e=>{const t=lt.document.createElement("script");t.type="text/javascript",t.src=s,t.async=!0,t.onload=e,lt.document.getElementsByTagName("head")[0].appendChild(t)}));var s;Promise.all([i,n]).then(()=>{this.isContainerTagLoaded=!0,this._uTag=lt.utag,function(e){const t=[];e.onLoadRulesRunOnce=function(e){t.push(e)};const i=e.loader.initcfg;e.loader.initcfg=function(){if(i.call(this,arguments),t.length>0){t.shift()()}}}(this._uTag),this._processQueuedEvents();const t={info:{name:"TagManagementSystemLoadEvent"},body:{header:{},requestHeader:{}}};"object"==typeof this.tracking2Instance&&Ct(this.tracking2Instance,t),e(t)}).catch(e=>{console.error("Unable to complete loading container tag",e),t()})}_shouldInitialize(){return!Pt}_shouldProcessEvent(e){return Pt?Promise.resolve(!1):this.isWhitelistingEnabled?new Promise(t=>{this._whitelistReadyPromise.then(()=>{t(this._isEventWhitelisted(e))})}):Promise.resolve(!0)}_isEventWhitelisted(e){return void 0!==e.controlUrn?this._isEventWhitelistedByControlUrn(e):this._isEventWhitelistedByPageKey(e)}_isEventWhitelistedByPageKey(e){return void 0!==this.whitelist.pageKey[e.pageKey]}_isEventWhitelistedByControlUrn(e){return void 0!==this.whitelist.controlUrn[e.controlUrn]}addValuesToWhitelist(e,t){"string"==typeof e&&Array.isArray(t)&&void 0!==this.whitelist[e]&&t.forEach(t=>{this.whitelist[e][t]=!0})}_processQueuedEvents(){this.isContainerTagLoaded?At(this._uTag,this._queue):this.isInitialized&&this.isWhitelistingEnabled&&this._loadContainerTag(this._onInitializeSuccessCallback,this._onInitializeFailureCallback)}_fireAuditEvent(){const e=Rt(this._uTag);return void 0!==this.tracking2Instance&&void 0!==e&&Ct(this.tracking2Instance,e),e}_createCallbackForAuditEvent(e){const t=this;return function(){const i=t._fireAuditEvent();"function"==typeof e&&e(i)}}trackPageView(e,t){return this._shouldProcessEvent(e).then(i=>{i&&(this._queue.push({isControlInteraction:!1,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}trackControlInteraction(e,t){return this._shouldProcessEvent(e).then(i=>{i&&(this._queue.push({isControlInteraction:!0,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}}function Ut({event:e,litmsInstance:t,pageKey:i}){const n=e.target.getAttribute("data-tracking-control-name"),s=e.target.hasAttribute("data-tracking-litms");n&&s&&t.trackControlInteraction({controlUrn:"urn:li:control:".concat(i,"-").concat(n)})}class Bt{constructor(e){if(this.trackingInstance=e,this.pageKey=I(document),this.litmsProfileName=function(e){const t=e.querySelector('meta[name="litmsProfileName"]');return t?t.content:""}(document),!this.litmsProfileName)throw Error('Page missing "litmsProfileName" meta tag.');this.litmsInstance=new Dt({tracking2Instance:this.trackingInstance,profileName:this.litmsProfileName}),this.litmsInstance.initialize(),this.clickEventListener=e=>Ut({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey}),this.keydownEventListener=e=>{"Enter"!==e.key&&" "!==e.key&&"Spacebar"!==e.key||Ut({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey})},document.body.addEventListener("click",this.clickEventListener,!0),document.body.addEventListener("keydown",this.keydownEventListener,!0)}trackPageView({pageKey:e=""}={}){if(!("string"==typeof e||e instanceof String))throw new Error("The pageKey is not a string!");this.litmsInstance&&this.litmsInstance.trackPageView({pageKey:e||this.pageKey})}}let Mt;function qt(e){if(!Mt){if(!e)throw new Error("No trackingInstance passed in!");Mt=new Bt(e)}return Mt}class Ht{constructor(e,{customValidate:t,fireTrackingOnInit:i=!0}={}){if(!e)throw Error("An element must be provided to sign in form");this.el=e,this._customValidate=t,this._fireTrackingOnInit=i,this.showText=ve("i18n_sign_in_form_show_text"),this.showLabelText=ve("i18n_sign_in_form_show_label"),this.hideText=ve("i18n_sign_in_form_hide_text"),this.hideLabelText=ve("i18n_sign_in_form_hide_label"),this.usernameEl=this.el.querySelector("input[name=".concat("session_key","]")),this.passwordEl=this.el.querySelector("input[name=".concat("session_password","]")),this.usernameElId=this.usernameEl.id,this.passwordElId=this.passwordEl.id,this.usernameMsgEl=this.el.querySelector(".".concat("guest-input__message","[for=").concat(this.usernameElId,"]")),this.passwordMsgEl=this.el.querySelector(".".concat("guest-input__message","[for=").concat(this.passwordElId,"]")),this.sessionRedirectEl=this.el.querySelector("input[name=".concat("session_redirect","]")),this.passwordVisibilityToggle=this.el.querySelector(".".concat("sign-in-form__password-visibility-toggle")),this.anonymousLoginToggleInput=this.el.querySelector(".anonymous-login-toggle input"),this.passwordVisibilityToggle.addEventListener("click",this._togglePasswordVisibility.bind(this)),this.el.addEventListener("submit",e=>{if(e.preventDefault(),!this._validate()){if(this._customValidate)return this._customValidate(this.el);if(this.anonymousLoginToggleInput&&this.anonymousLoginToggleInput.checked){const e=this.sessionRedirectEl.value;this.sessionRedirectEl.value=q("/public-profile/settings/anonymousLogin","originalSessionRedirect",e),localStorage.setItem("anonymous-login",Date.now())}this.el.submit()}}),window.tracking&&window.tracking.then(e=>{const t=I(document).replace("_jsbeacon",""),i=t+"_login-form",n=this.el.querySelector(".sign-in-form__submit-btn"),s="".concat(t,"-").concat(n.dataset.trackingControlName),o=e.state&&e.state.currentPageInstance||{},r="".concat(o.pageUrn,";").concat(o.trackingId),a=this._createHiddenInputElement("pageInstance",r),l=this._createHiddenInputElement("controlId",s);this.el.appendChild(l),this.el.appendChild(a),this._fireTrackingOnInit&&this.fireTracking(e,i)})}fireTracking(e,t){le(e,"ajax",t),qt(e).trackPageView({pageKey:t})}setUsernameInputValue(e){this.usernameEl.value=e}resetFormState(){this.usernameEl.value="",this.passwordEl.value="","text"===this.passwordEl.getAttribute("type")&&this._togglePasswordVisibility()}_createHiddenInputElement(e,t){const i=document.createElement("input");return i.setAttribute("type","hidden"),i.setAttribute("name",e),i.setAttribute("value",t),i}_togglePasswordVisibility(){"password"===this.passwordEl.getAttribute("type")?(this.passwordEl.setAttribute("type","text"),this.passwordVisibilityToggle.innerText=this.hideText,this.passwordVisibilityToggle.setAttribute("aria-label",this.hideLabelText)):(this.passwordEl.setAttribute("type","password"),this.passwordVisibilityToggle.innerText=this.showText,this.passwordVisibilityToggle.setAttribute("aria-label",this.showLabelText))}_validate(){const e=at(this.usernameEl.name,this.usernameEl.value);if(e){this.usernameEl.parentNode.classList.add("guest-input__input-container--error"),this.usernameMsgEl.classList.remove("hidden");const t="".concat("i18n_username","_").concat(e);return this.usernameMsgEl.innerText=ve(t),this.usernameEl.focus(),!0}this.usernameEl.parentNode.classList.remove("guest-input__input-container--error"),this.usernameMsgEl.classList.add("hidden");const t=at(this.passwordEl.name,this.passwordEl.value);if(t){this.passwordEl.parentNode.classList.add("guest-input__input-container--error"),this.passwordMsgEl.classList.remove("hidden");const e="".concat("i18n_password","_").concat(t);return this.passwordMsgEl.innerText=ve(e),this.passwordEl.focus(),!0}this.passwordEl.parentNode.classList.remove("guest-input__input-container--error"),this.passwordMsgEl.classList.add("hidden")}}!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var i=this.listeners[e],n=0,s=i.length;n<s;n++)if(i[n]===t)return void i.splice(n,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),i=0,n=t.length;i<n;i++)t[i].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const Ft="990339570472-k6nqn1tpmitg8pui82bfaun3jrpmiuhs.apps.googleusercontent.com",jt={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},zt={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},{GOOGLE_ERROR:Wt,GOOGLE_USER_FETCHED:Gt,INITIALIZED:Kt}=jt,{INITIALIZATION:Vt,AUTHENTICATION:Yt}=zt;class Jt extends EventTarget{constructor({libSrcPath:e,el:t,clientId:i=Ft}){if(super(),!t)throw TypeError("DOM element for Sign In button is required");if(this.libSrcPath=e,this.el=t,this.clientId=i,window.gapi)this._initializeGoogleAuth();else{if(!e)throw TypeError("Google Sign In lib not already loaded on the page. libSrcPath is required to load the lib.");n=()=>{!function(e,t){const i=document.createElement("script");i.src=e,t&&(i.onload=t),document.head.appendChild(i)}(e,this._initializeGoogleAuth.bind(this))},"complete"===document.readyState?n():window.addEventListener("load",()=>{n()})}var n}_initializeGoogleAuth(){return gapi.auth2.init({client_id:this.clientId}).then(e=>{this.auth2=e,this._attachSignIn();const t=new CustomEvent(Kt);this.dispatchEvent(t)}).catch(e=>{const t={type:Vt,message:e.error},i=new CustomEvent(Wt,{detail:t});this.dispatchEvent(i)})}_attachSignIn(){this.auth2.attachClickHandler(this.el,{},e=>{const t=new CustomEvent(Gt,{detail:this._getGoogleUserInformation(e)});this.dispatchEvent(t)},e=>{const t={type:Yt,message:e.error},i=new CustomEvent(Wt,{detail:t});this.dispatchEvent(i)})}_getGoogleUserInformation(e){const t=e.getBasicProfile(),i=e.getAuthResponse().id_token;return{email:t.getEmail(),familyName:t.getFamilyName(),givenName:t.getGivenName(),id:t.getId(),idToken:i,imageUrl:t.getImageUrl()}}}const $t=jt,Zt=zt,{GOOGLE_USER_FETCHED:Xt,GOOGLE_ERROR:Qt,INITIALIZED:ei}=$t,{INITIALIZATION:ti}=Zt;class ii{constructor(e,{initSuccess:t,initFailure:i}={}){if(!e)throw Error("Google sign in cta container/wrapper element must be provided");this.el=e,this.btnEl=this.el.querySelector(".google-sign-in-cta-widget__btn"),this.initSuccess=t,this.initFailure=i,this.loaderEl=this.el.querySelector(".loader"),this.loader=this.loaderEl&&new Pe(this.loaderEl),window.tracking&&window.tracking.then(e=>{const t=I(document).replace("_jsbeacon",""),i="".concat(t,"-").concat(this.btnEl.dataset.trackingControlName),n=e.state&&e.state.currentPageInstance||{},s="".concat(n.pageUrn,";").concat(n.trackingId),o=this._createHiddenInputElement("pageInstance",s),r=this._createHiddenInputElement("controlId",i);this.el.appendChild(r),this.el.appendChild(o)}),this.googleSignInPromise=this._createGoogleSignIn()}_createGoogleSignIn(){return window.lazyloader.then(e=>e.getLazyLoadedJavascriptModule("google-sign-in-lib")).then(()=>(this.googleSignInInstance=new Jt({el:this.btnEl}),this.initSuccess&&"function"==typeof this.initSuccess&&this.googleSignInInstance.addEventListener(ei,this.initSuccess),this.googleSignInInstance.addEventListener(Xt,e=>{const{idToken:t}=e.detail;this._submitWithGoogle(t)}),this.googleSignInInstance.addEventListener(Qt,e=>{const{type:t,message:i}=e.detail,n="google-sign-in-error--".concat(t,"-").concat(i);this._fireControlInteractionEvent(n),this.initFailure&&"function"==typeof this.initFailure&&t===ti&&this.initFailure()}),this.googleSignInInstance))}_fireControlInteractionEvent(e){window.tracking.then(t=>{t.fireControlInteractionEvent(e)})}_submitWithGoogle(e){this.googleIdTokenInput&&this.el.removeChild(this.googleIdTokenInput),this.googleIdTokenInput=this._createHiddenInputElement("googleIdToken",e),this.loader&&this.loader.show(),this.el.submit()}_createHiddenInputElement(e,t){const i=document.createElement("input");return i.setAttribute("type","hidden"),i.setAttribute("name",e),i.setAttribute("value",t),this.el.appendChild(i),i}}class ni{constructor(e,{daysCoolOff:t=30,dismissOnOutsideClick:i=!0,dismissOnScroll:n=!1,dismissBtnEl:s}={}){if(!e)throw Error("An element must be provided to sign in card");this.el=e,this.coolOffPeriod=24*t*60*60*1e3,this.dismissBtn=s||this.el.querySelector(".".concat("sign-in-card__dismiss-btn")),this._dismissEvent=e=>this._dismiss(e),this._interactionEvent=e=>this._interactionListener(e);if(window.innerWidth<769||(this.dismissOnOutsideClick=i,this.dismissOnScroll=n),!this._hideCard()){this.dismissable=new it(this.el,this.dismissBtn,{isShown:!1});const e=this.el.querySelector(".sign-in-form");e&&new Ht(e);const t=this.el.querySelector(".google-sign-in-cta-widget");t?new ii(t,{initSuccess:this.dismissable.show.bind(this.dismissable),initFailure:this._onGoogleSignInInitFailure.bind(this)}):this.dismissable.show(),this._addEventListeners()}}_onGoogleSignInInitFailure(){const e=this.el.querySelector(".google-sign-in-cta-widget"),t=this.el.querySelector(".cta-modal__google-sign-in-container");t?this.el.removeChild(t):this.el.removeChild(e);this.el.querySelectorAll("[class*=".concat("--full-width","]")).forEach(e=>{e.className=e.className.replace("--full-width","")}),this.dismissable.show()}_addEventListeners(){this.el.addEventListener("dismiss",this._dismissEvent),this.dismissOnOutsideClick&&document.body.addEventListener("click",this._interactionEvent),this.dismissOnScroll&&window.addEventListener("scroll",this._interactionEvent)}_dismiss(e){this._hardDismissal(e)&&this._setCoolOff(e),this._removeEventListeners()}_removeEventListeners(){this.el.removeEventListener("dismiss",this._dismissEvent),this.dismissOnOutsideClick&&document.body.removeEventListener("click",this._interactionEvent),this.dismissOnScroll&&window.removeEventListener("scroll",this._interactionEvent)}_interactionListener(e){this.el.contains(e.target)||this.dismissable.dismiss()}_setCoolOff(){try{localStorage.setItem("sign-in-hidden",Date.now())}catch(e){return""}}_hideCard(){try{const e=localStorage.getItem("sign-in-hidden");if(e){return Date.now()-e<this.coolOffPeriod||(localStorage.removeItem("sign-in-hidden"),!1)}}catch(e){return!1}}_hardDismissal(e){return e.detail&&this.dismissBtn.contains(e.detail.target)}}const si={observeComponents:()=>{},unobserveComponents:()=>{},handleDynamicElements:()=>{}};class oi{constructor(e,t,{threshold:i=.9,root:n=null,rootMargin:s="0px",componentList:o=[],onImpression:r=(()=>{}),onObservation:a=(()=>{}),onUnobservation:l=(()=>{})}={}){if(!("IntersectionObserver"in window))return si;this.root=n,this.threshold=i,this.rootMargin=s,this.trackingInstance=t,this._onImpression=r,this._onObservation=a,this._onUnobservation=l;const c={root:this.root,rootMargin:this.rootMargin,threshold:this.threshold};this.intersectionObserverInstance=new e(this._handleObservedNodes.bind(this),c),this.observeComponents(o)}observeComponents(e=[]){this.intersectionObserverInstance&&e.forEach(e=>{this.intersectionObserverInstance.observe(e),this._onObservation(e)})}unobserveComponents(e=[]){e.forEach(e=>{this.intersectionObserverInstance.unobserve(e),this._onUnobservation(e)})}_isNodeVisible(e){return e.intersectionRatio>=this.threshold}_handleObservedNodes(e){if(this.intersectionObserverInstance){const t=e.filter(e=>this._isNodeVisible(e)).map(({target:e})=>e);t.length>0&&(this._onImpression({trackingInstance:this.trackingInstance,visibleElements:t}),this.unobserveComponents(t))}}handleDynamicElements(e=[]){this.intersectionObserverInstance&&e.length>0&&this.observeComponents(e)}}class ri{constructor(e,t,i={}){this._impressionTracking=new oi(e,t,ue({componentList:this._componentList,onImpression:this._onImpression.bind(this)},i))}get _componentList(){return[...document.querySelectorAll(".main-job-card, .aside-job-card, .job-result-card")]}_onImpression({trackingInstance:e,visibleElements:t}){const i=t.filter(e=>{const{entityUrn:t,referenceId:i,trackingId:n}=e.dataset;return Boolean(t&&i&&n)}).map(e=>{const{entityUrn:t,referenceId:i,trackingId:n}=e.dataset;return{jobPostingUrn:t,referenceId:i,trackingId:n}});i.length>0&&function(e,t=[]){if(0===t.length)return;const i=I(document),{header:n,requestHeader:s}=ce(i),{referenceId:o}=t[0],r={header:n,requestHeader:s,referenceId:o,jobPostingUrns:t.map(({jobPostingUrn:e}={})=>e),impressedJobPostings:t.map(({jobPostingUrn:e,trackingId:t}={})=>({objectUrn:e,trackingId:t}))};e.fireTrackingEvent("JobViewportImpressionEvent",r)}(e,i)}handleDynamicElements(e=[]){this._impressionTracking.handleDynamicElements(e)}}const ai=".".concat("show-more-less","__list"),li=".".concat("show-more-less","__more-button"),ci=".".concat("show-more-less","__less-button"),di="".concat("show-more-less","__list--hide-after"),hi="".concat("show-more-less","__button--hide");class ui{constructor(e,t=(e=>e.querySelector(K))){if(!e)throw Error("An element must be provided to ShowMoreLess");this.el=e,this.listEl=this.el.querySelector(ai),this._getFocusItemFromListItem=t,this.maxNumToShow=parseInt(this.listEl.getAttribute("data-max-num-to-show")),this.hideClass="".concat(di,"-").concat(this.maxNumToShow),this.showMoreButton=this.el.querySelector(li),this.showLessButton=this.el.querySelector(ci),this._attachEventListeners(),this.firstHiddenListItem=this.listEl.children[this.maxNumToShow],this.isExpanded=!this.listEl.classList.contains(this.hideClass),new G(e,this.listEl,{mainButton:this.showMoreButton,closeButton:this.showLessButton},{currentListItem:this.firstHiddenListItem,isOpen:this.isExpanded})}_attachEventListeners(){this.el.addEventListener("open",()=>this._showElements()),this.el.addEventListener("close",()=>this._hideElements()),this.listEl.addEventListener("focus",e=>this._focusItem(e))}_focusItem(e){let t=e.target;if(t){let e=this._getFocusItemFromListItem(t);e&&e.focus()}}_showElements(){this.listEl.classList.remove(this.hideClass),this._toggleButtons(!1)}_hideElements(){this.listEl.classList.add(this.hideClass),this._toggleButtons(!0)}_toggleButtons(e){e?(this.showLessButton.classList.add(hi),this.showMoreButton.classList.remove(hi)):(this.showLessButton.classList.remove(hi),this.showMoreButton.classList.add(hi))}}class pi{constructor(e){if(!e)throw new Error("EllipsisMenu el required");this._el=e;const t=this._el.querySelector(".collapsible-dropdown");if(!t)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.getFocusItemFromListItem=e=>e.querySelector("[href], button"),this.collapsibleDropdown=new Z(t,this.getFocusItemFromListItem)}}var gi;!function(e){e.ProductName="productName",e.UntrackedResponseCodes="untrackedResponseCodes",e.TrackedResponseCodes="trackedResponseCodes"}(gi||(gi={}));new Set(Object.values(gi));Error;"".concat("filter-dropdown","--open");const mi={getTrackingInstance:function({appId:e="seo",trackingCode:t}={}){const i=I(document),n=M(window.location.href,"originalReferer"),s={appId:e,disableInitialAnchorPageViewEvent:!0,requestBatchingMaxWaitSeconds:.05,userRequestHeaderProperties:{}};return t&&(s.userRequestHeaderProperties.trackingCode=t),n&&(s.userRequestHeaderProperties.referer=n),ae||(ae=re.AppTrackingInstance.createFromPageKey(s,i)),ae.generateTrackingId=re.generateTrackingId,ae},firePageViewEvent:le,fireViewModuleImpressionEvent:function(e,t){const i=k(document),n={};i&&(n.interfaceLocale=i);const s={header:{},requestHeader:n,moduleNames:t};e.fireTrackingEvent("ViewModuleImpressionEvent",s)}}}).call(this,i(1))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";var n=i(0);const s="data-url",o="click",r="close",a="open",l="report-option",c={REPORT_BODY:".semaphore-modal__body",REPORT_BUTTON:".semaphore-modal__submit",REPORT_OPTIONS:".".concat(l)};class d extends n.g{constructor(e){if(!e)throw new Error("Semaphore modal container cannot be null");super(e),this._el.addEventListener(a,this._bindEvents.bind(this)),this.reportOptionsEl=n.o.makeArray(this._el.querySelectorAll(c.REPORT_OPTIONS)),this.submitButton=this._el.querySelector(c.REPORT_BUTTON)}_bindEvents(){this._el.querySelector(c.REPORT_BODY).addEventListener(o,this._handleOptionClick.bind(this)),this.submitButton.addEventListener(o,this._handleReportClick.bind(this)),this._el.addEventListener(r,this._tearDown.bind(this))}_handleOptionClick(e){e.target&&e.target.classList.contains(l)&&this.submitButton&&this.submitButton.disabled&&(this.submitButton.disabled=!1,this._lastTabableEl=this.submitButton)}_handleReportClick(e){let t;if(this._mapOnOptions(e=>{e&&e.checked&&(t=e)}),t){let e;if(t.hasAttribute(s)&&(e=t.getAttribute(s)),e)return window.location=e,void this._tearDown()}}_tearDown(){this._mapOnOptions(e=>{e&&e.checked&&(e.checked=!1)}),this.submitButton&&(this.submitButton.disabled=!0,this._lastTabableEl=this._tabableElements[this._tabableElements.length-1])}_mapOnOptions(e){this.reportOptionsEl.forEach(t=>e(t))}}function h(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{e()})}function u(e,t){const i=document.createElement("script");i.src=e,t&&(i.onload=t),document.head.appendChild(i)}!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var i=this.listeners[e],n=0,s=i.length;n<s;n++)if(i[n]===t)return void i.splice(n,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),i=0,n=t.length;i<n;i++)t[i].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const p="990339570472-k6nqn1tpmitg8pui82bfaun3jrpmiuhs.apps.googleusercontent.com",g={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},m={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},f={SIGN_IN:"signin",SIGN_UP:"signup",USE:"use"},_={DISPLAY:"display",SKIPPED:"skipped",DISMISSED:"dismissed"},v={NOT_DISPLAYED:{BROWSER_NOT_SUPPORTED:"browser_not_supported",INVALID_CLIENT:"invalid_client",MISSING_CLIENT_ID:"missing_client_id",OPT_OUT_OR_NO_SESSION:"opt_out_or_no_session",SECURE_HTTP_REQUIRED:"secure_http_required",SUPPRESSED_BY_USER:"suppressed_by_user",UNREGISTERED_ORIGIN:"unregistered_origin",UNKNOWN_REASON:"unknown_reason"},SKIPPED:{AUTO_CANCEL:"auto_cancel",USER_CANCEL:"user_cancel",TAP_OUTSIDE:"tap_outside",ISSUING_FAILED:"issuing_failed"},DISMISSED:{CREDENTIAL_RETURNED:"credential_returned",CANCEL_CALLED:"cancel_called",FLOW_RESTARTED:"flow_restarted"}};EventTarget;const b=g.GOOGLE_USER_FETCHED,E=g.PROMPT_MOMENT;class w extends EventTarget{constructor(e){let t=e.libSrcPath,i=e.containerId,n=e.context;var s=e.clientId;let o=void 0===s?p:s;var r=e.cancelOnTapOutside;let a=void 0===r||r;if(super(),!n)throw TypeError("context param is required to determine the message to show in Google One Tap");if(this.libSrcPath=t,this.containerId=i,this.cancelOnTapOutside=a,this.clientId=o,this.context=n,window.google&&window.google.accounts&&window.google.accounts.id)this._onGoogleApiLoad();else{if(!t)throw TypeError("Google One Tap lib is not already loaded on the page. libSrcPath is required to load the library");h(()=>{u(t,this._onGoogleApiLoad.bind(this))})}}_onGoogleApiLoad(){google.accounts.id.initialize({client_id:this.clientId,prompt_parent_id:this.containerId,callback:this._handleCredentialResponse.bind(this),cancel_on_tap_outside:this.cancelOnTapOutside,context:this.context}),Promise.resolve().then(()=>this.promptOneTap())}_handleCredentialResponse(e){const t=e.credential;let i=this.context===f.SIGN_UP?this._getBasicProfile(t):{idToken:t};if(i){const e=new CustomEvent(b,{detail:i});this.dispatchEvent(e)}}_getBasicProfile(e){try{const t=new gapi.auth2.BasicProfile({id_token:e});return{email:t.getEmail(),familyName:t.getFamilyName(),givenName:t.getGivenName(),id:t.getId(),idToken:e,imageUrl:t.getImageUrl()}}catch(e){return this._dispatchSkippedEvent(e.message),null}}_dispatchSkippedEvent(e){const t={message:e,reason:v.SKIPPED.ISSUING_FAILED,type:_.SKIPPED},i=new CustomEvent(E,{detail:t});this.dispatchEvent(i)}promptOneTap(){google.accounts.id.prompt(e=>{const t={type:e.getMomentType(),reason:e.getNotDisplayedReason()||e.getSkippedReason()||e.getDismissedReason()},i=new CustomEvent(E,{detail:t});this.dispatchEvent(i)})}hideOneTap(){google.accounts.id.cancel()}}const y=g,T=m,I=f,S=v,k=_;function L(e,t){const i=document.createElement("input");return i.setAttribute("type","hidden"),i.setAttribute("name",e),i.setAttribute("value",t),i}const O=n.p.getPageKey(document).replace("_jsbeacon","");function A(e,t,i){window.tracking&&window.tracking.then(s=>{if(t&&e.appendChild(function(e){return L("controlId",`${O}-${e.dataset.trackingControlName}`)}(t)),e.appendChild(function(e){const t=e.state&&e.state.currentPageInstance||{};return L("pageInstance",`${t.pageUrn};${t.trackingId}`)}(s)),i){const e=`${O}_${i}`;n.r.firePageViewEvent(s,"ajax",e),Object(n.n)(s).trackPageView({pageKey:e})}})}function C(e){window.tracking&&window.tracking.then(t=>{t.fireControlInteractionEvent(e)})}const x=y,R=I,P=S,N=k,D=x.GOOGLE_USER_FETCHED,U=x.PROMPT_MOMENT,B=R.SIGN_IN,M=[P.NOT_DISPLAYED.BROWSER_NOT_SUPPORTED,P.NOT_DISPLAYED.OPT_OUT_OR_NO_SESSION,P.NOT_DISPLAYED.SUPPRESSED_BY_USER],q=[P.SKIPPED.AUTO_CANCEL,P.SKIPPED.TAP_OUTSIDE,P.SKIPPED.USER_CANCEL];class H{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};let i=t.onNotDisplayed,s=t.onSkipped;if(!e)throw Error("Google one tap form element must be provided");this.el=e,this.onNotDisplayed="function"==typeof i&&i,this.onSkipped="function"==typeof s&&s,this.containerEl=this.el.querySelector(".google-one-tap__container"),this.loaderEl=this.el.querySelector(".loader"),this.loader=this.loaderEl&&new n.f(this.loaderEl),A(this.el,this.containerEl),this.googleOneTapPromise=this._createGoogleOneTap()}_createGoogleOneTap(){return window.lazyloader.then(e=>e.getLazyLoadedJavascriptModule("google-one-tap-lib")).then(()=>(this.googleOneTapInstance=new w({cancelOnTapOutside:!1,context:B}),this.googleOneTapInstance.addEventListener(D,e=>{let t=e.detail;this._submitWithGoogle(t.idToken)}),this.googleOneTapInstance.addEventListener(U,e=>{let t=e.detail;const i=t.reason,n=t.type;let s="google-one-tap-moment--"+n;if(s=i?`${s}-${i}`:s,C(s),i)if(n===N.SKIPPED){if(this.onSkipped)this.onSkipped(t);else if(-1===q.indexOf(i))throw Error(`GoogleOneTapError ${n}: ${i}`)}else if(n===N.DISPLAY)if(this.onNotDisplayed)this.onNotDisplayed(t);else if(-1===M.indexOf(i))throw Error(`GoogleOneTapError ${n}: ${i}`)}),this.googleOneTapInstance))}_submitWithGoogle(e){this.googleIdTokenInput&&this.el.removeChild(this.googleIdTokenInput),this.googleIdTokenInput=L("googleIdToken",e),this.el.appendChild(this.googleIdTokenInput),this.loader&&this.loader.show(),this.el.submit()}}var F=y;F.GOOGLE_USER_FETCHED,F.GOOGLE_ERROR,F.INITIALIZED,T.INITIALIZATION;var j="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",z=function(){if("undefined"==typeof document)return!0;return"textContent"in document.createElement("div")}()?"textContent":"innerText",W=["b","del","em","i","s","strong","sub","sup"],G=W.concat(["a","abbr","address","area","article","aside","audio","bdi","bdo","big","blockquote","br","button","center","cite","code","datalist","dd","details","dfn","div","dl","dt","fieldset","figcaption","figure","font","footer","h1","h2","h3","h4","h5","h6","header","hgroup","hr","img","ins","kbd","label","legend","li","map","mark","marquee","nav","nobr","ol","p","pre","q","rp","rt","ruby","samp","section","small","source","span","strike","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","video","wbr"]),K=[j,"alt|checked|colgroup|cols|colspan|disabled|height|hidden|maxlength|method|multiple|name|placeholder|readonly|rel|required|rows|rowspan|spellcheck|target|title|width","border|caption|color|controls|coords|hreflang|label|lang|loop|marginheight|marginwidth|preload|reversed|type|usemap|clear|headers|ismap|start|datetime|accept|max|min|size|step|style|cellspacing|cellpadding"].join("|");function V(){}function Y(e,t){if(t=t||"log",window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}var J,$;$=/[&<>"'\u0000\\=]/g,J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(){var e,t,i=/&(?:([a-z0-9]+)|#x([\da-f]{1,6})|#(\d{1,8}));/gi;if("undefined"==typeof document)return function(){throw new Error("document is undefined (i.e. you are probably in Node.js)")};e=document.createElement("div");var n={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};t="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"}}();var Z=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};var X,Q=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var i=0,n=e.length;i<n;i++)t(e[i],i)};function ee(e){e=Z(e)?e:[e];var t,i,n,s=0,o="<(?!/?";return o+="(?:",Q(e,(function(e,r){t=e.tags||G,i=e.attrs||K,n=e.checkUrlAttrs||!1,0!==r&&(o+="|"),o+="(?:"+t.join("|")+")",o+="(?:",o+="[ \t\r\n]*",o+="|[ \t\r\n]+",o+="(?:(?:",o+="(?:"+i+")(?:=([\"'])[^'\"<>]*\\"+ ++s+")?",n&&(o+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++s),o+=")[ \t\r\n]*)+",o+=")"})),o+=")",o+="/?>)",new RegExp(o,"i")}function te(e){return ee({tags:e=e||G,checkUrlAttrs:!0})}function ie(e,t){var i=(t=t||{}).allowTags,n=!1!==t.hasCustomElementMarkup;return i?!te(i).test(e):n?!ie.R_UNSAFE_CUSTOM_ELEMENT.test(e):!ie.R_UNSAFE_HTML.test(e)}function ne(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}ie.R_UNSAFE_HTML=te(),ie.R_UNSAFE_CUSTOM_ELEMENT=ee([{tags:G,checkUrlAttrs:!0},{tags:[(X={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[j,X.attrs].join("|"),checkUrlAttrs:!1}]);var se={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};se.optgroup=se.option,se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td;function oe(e,t){if(!(this instanceof oe))return new oe(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce((function(e,t){return e.concat(t)}),[]):null,this._string=e,this._options=t}oe.prototype=function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}(new V,{toString:function(){var e=this._string,t=this._stringVal,i=e;return void 0!==t?t:(ie(e,this._options)||(i=e,e=ne(e),Y("UnsafeString contains non-whitelisted tags or attributes.\nString: "+i,"error")),this._stringVal=e,e)}});new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");const re=/\!|\@|\#|\$|\%|\^|\&|\*|\+|\=|\||<|\>|\?|\:|\;/,ae=/(.)\1{3}/,le=/linkedin/i,ce=/\d\d/,de=new RegExp("([a-zA-Z0-9]+://)?([a-zA-Z0-9_]+:[a-zA-Z0-9_]+@)?([a-zA-Z0-9.-]+\\.[A-Za-z]{2,4})(:[0-9]+)?(/.*)?"),he=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,ue=/^[\u4E00-\u9FFF|\u3400-\u4DBF|\uF900-\uFAFF]*$/,pe=/^[ぁ-ゔゞ゛゜ー]*$/,ge=/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,me=e=>{const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length<=e};return t.errorMessagePrefix="i18n_tooLong_",t},fe=e=>{const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length>=e};return t.errorMessagePrefix="i18n_tooShort_",t},_e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!ce.test(e)};_e.errorMessagePrefix="i18n_noConsecutiveDigits_";const ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!re.test(e)};ve.errorMessagePrefix="i18n_noForbiddenCharacters_";const be=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!ae.test(e)};be.errorMessagePrefix="i18n_noFourConsecutiveDuplicates_";const Ee=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!le.test(e)};Ee.errorMessagePrefix="i18n_noLinkedIn_";const we=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!de.test(e)};we.errorMessagePrefix="i18n_noUrl_";const ye=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue.test(e)};ye.errorMessagePrefix="i18n_onlyChinese_";const Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return pe.test(e)};Te.errorMessagePrefix="i18n_onlyPhonetic_";const Ie=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e.trim()};Ie.errorMessagePrefix="i18n_required_";const Se=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return he.test(e)};Se.errorMessagePrefix="i18n_invalidFormat_";const ke=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ge.test(e)};ke.errorMessagePrefix="i18n_invalidFormat_";const Le=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return he.test(e)||ge.test(e)};Le.errorMessagePrefix="i18n_invalidFormat_";const Oe=[me(50),ve,_e,be,Ee,we],Ae=[Ie].concat(Oe),Ce=[Te,me(50),be];me(4),fe(2),me(128),me(128),me(128),(e=>{const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===t||e(t)};t.errorMessagePrefix=e.errorMessagePrefix})(Se),fe(6),me(200);var xe=y;xe.GOOGLE_ERROR,xe.GOOGLE_USER_FETCHED,xe.INITIALIZED;new Set(["百里","淳于","第五","東方 ","东方","東閣 ","东阁","東郭 ","东郭","東門 ","东门","端木","獨孤 ","独孤","公孫 ","公孙","公羊","公冶","公西","毌丘","穀梁 ","谷梁","賀蘭 ","贺兰","赫連 ","赫连","賀若 ","贺若","皇甫","黄斯","呼延","兰向","令狐","甪里","閭丘 ","闾丘","万俟","慕容","納蘭 ","纳兰","南宮 ","南宫","歐陽 ","欧阳","沙吒","上官","申屠","司馬 ","司马","司徒","司空","司寇","太史","澹臺 ","澹台","拓跋","完顏 ","完颜","聞人 ","闻人","巫馬 ","巫马","夏侯","鮮于 ","鲜于","西門 ","西门","軒轅 ","轩辕","楊子 ","杨子","耶律","樂正 ","乐正","尉遲 ","尉迟","宇文","長孫 ","长孙","鍾離 ","钟离","諸葛 ","诸葛","祝融","子車 ","子车","左人"]);Object.assign;const Re=y;Re.GOOGLE_USER_FETCHED,Re.PROMPT_MOMENT;new n.e(document.querySelector(".language-selector")),new n.i(document.querySelector(".search-bar"),{typeaheadApiBaseUrl:"/organization-guest/api/typeaheadHits"});var Pe=document.querySelector(".cover-img");Pe&&new n.b(Pe);var Ne=document.querySelector(".cta-modal"),De=()=>{if(Ne){var e=Ne.querySelector(".cta-modal__dismiss-btn");new n.k(Ne,{dismissBtnEl:e})}},Ue=()=>{var e=document.querySelector(".google-one-tap");e?new H(e,{onNotDisplayed:De}):De()},Be=e=>e.querySelector("a");Array.from(document.querySelectorAll(".show-more-less")).forEach(e=>new n.j(e,Be)),Array.from(document.querySelectorAll(".ellipsis-menu")).forEach(e=>new n.c(e)),Array.from(document.querySelectorAll(".semaphore-modal")).forEach(e=>new d(e)),Array.from(document.querySelectorAll(".modal:not(.semaphore-modal)")).forEach(e=>new n.g(e));var Me=document.querySelector(".apptivation-promo");Me?new n.a(Me).isVisible().then(e=>{e||Ue()}):Ue()},function(e,t,i){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var o;i.d(t,"a",(function(){return Te})),i.d(t,"b",(function(){return $})),i.d(t,"c",(function(){return ie})),i.d(t,"d",(function(){return x}));var r,a,l,c={ADVERTISING:"ADVERTISING",ANALYTICS_AND_RESEARCH:"ANALYTICS_AND_RESEARCH",FUNCTIONAL:"FUNCTIONAL"},d="GUEST",h="MEMBER",u=0,p=1,g=2,m=(s(o={},d,"li_gc"),s(o,h,"li_mc"),function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;for(var r in n(this,e),t=t||{},this.consentAvailable=!1,this.issuedAt=i,this.userMode=s,this.optedInConsentMap={},c)t[r]=t[r]||u,t[r]!==u&&(this.consentAvailable=!0),this.optedInConsentMap[r]=t[r]===p||t[r]===u&&o===p});r=[c.ADVERTISING,c.ANALYTICS_AND_RESEARCH,c.FUNCTIONAL],a=[u,p,g,u],l=new RegExp(["^(\\d+)","(\\d+)","(\\d+)","((?:.|\\s)+)"].join(";")),new RegExp(["^(\\d+)","((?:.|\\s)+)"].join(";"));window.encodeURIComponent;function f(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function _(e){return e&&'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}const v={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ESCAPE:"Escape",ENTER:"Enter",SPACEBAR:" ",TAB:"Tab"},b={Down:v.ARROW_DOWN,Right:v.ARROW_RIGHT,Left:v.ARROW_LEFT,Up:v.ARROW_UP,Esc:v.ESCAPE,Spacebar:v.SPACEBAR,Tab:v.TAB};function E(e){return b[e]||e}function w(e,t){if(!e)return null;let i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!i.call(e,t);)e=e.parentElement;return e}function y({scrollTop:e=scrollY,clientHeight:t=window.innerHeight,scrollHeight:i=document.body.scrollHeight}={},n=0){return e>=i-(t+t*n)}function T(e,t,i){if("function"!=typeof e)throw new TypeError("Expected a function.");let n;return(...s)=>{const o=i&&!n;clearTimeout(n),n=setTimeout(()=>{n=null,i||e.apply(this,s)},t),o&&e.apply(this,s)}}function I(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function S(e,t,i={}){const n=document.createEvent("CustomEvent");n.initCustomEvent(t,!0,!0,i),e.dispatchEvent(n)}class k{constructor(e,t,{mainButton:i,closeButton:n},s={}){if(!e)throw Error("An element must be provided to Collapsible");if(!t)throw Error("An list element must be provided to Collapsible");if(!i)throw Error("A main button element must be provided to Collapsible");this.el=e,this.listEl=t;let{currentListItem:o=t.children[0],isOpen:r=!1}=s;this.currentListItem=o,this.isOpen=r,this.mainButton=i,this.closeButton=n,this.buttons=[i],this.el.addEventListener("keyup",e=>this._onKeyUp(e)),this.mainButton.addEventListener("click",()=>this.closeButton?this._open():this._toggle()),this.mainButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.closeButton&&(this.closeButton.addEventListener("click",()=>this.close()),this.closeButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton)),this.currentListItem&&this.currentListItem.setAttribute("aria-selected",!0),this.listEl.addEventListener("keydown",e=>this._onListKeyDown(e))}_toggle(){this.isOpen?this.close():this._open()}_onButtonKeyDown(e){const t=E(e.key);switch(t){case v.ENTER:case v.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open(t);break;case v.ARROW_UP:this.isOpen||this._open();break;case v.ARROW_DOWN:this.isOpen&&this.close()}}_onKeyUp(e){E(e.key)===v.SPACEBAR&&e.preventDefault()}_onListKeyDown(e){let t;switch(E(e.key)){case v.SPACEBAR:S(e.target,"click");break;case v.ESCAPE:this.isOpen&&this.close();break;case v.ARROW_LEFT:case v.ARROW_UP:t=w(e.target,"li");let i=t.previousElementSibling;i&&S(i,"focus");break;case v.ARROW_RIGHT:case v.ARROW_DOWN:t=w(e.target,"li");let n=t.nextElementSibling;n&&S(n,"focus")}}_open(){this.isOpen||(this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),S(this.el,"open"),S(this.currentListItem,"focus"))}close({shouldReturnFocusToTrigger:e=!0}={}){this.isOpen&&(this.isOpen=!1,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),S(this.el,"close"),e&&this.mainButton.focus())}}const L=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([disabled]):not([tabindex^="-"]):not([type="hidden"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','[tabindex]:not([tabindex^="-"]):not([disabled])'].join(",");const O=".".concat("collapsible-dropdown","__list"),A=".".concat("collapsible-dropdown","__button");class C{constructor(e,t=(e=>e.querySelector(L)),{currentListItem:i,dropdownTriggerEl:n,listEl:s}={}){if(!e)throw Error("An element must be provided to CollapsibleDropdown");this.el=e,this.listEl=s||this.el.querySelector(O),this.dropdownTriggerEl=n||this.el.querySelector(A),this._getFocusItemFromListItem=t,this.hideClass="hidden",this.collapsible=new k(e,this.listEl,{mainButton:this.dropdownTriggerEl},{currentListItem:i}),this._handleBodyClick=this._handleBodyClick.bind(this),this._focusOutsideDropdown=this._focusOutsideDropdown.bind(this),this._leaveWindow=this._leaveWindow.bind(this),this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("open",()=>this._showDropdownList()),this.el.addEventListener("close",()=>this._hideDropdownList()),this.listEl.addEventListener("focus",e=>this._focusItem(e))}_focusItem(e){const t=e.target;if(t){const e=this._getFocusItemFromListItem(t);e&&e.focus()}}_handleBodyClick(e){this.el.contains(e.target)||this.collapsible.close({shouldReturnFocusToTrigger:!1})}_showDropdownList(){document.addEventListener("mousedown",this._handleBodyClick),this.el.addEventListener("focusout",this._focusOutsideDropdown),window.addEventListener("blur",this._leaveWindow),this.listEl.classList.remove(this.hideClass)}_hideDropdownList(){document.removeEventListener("mousedown",this._handleBodyClick),this.el.removeEventListener("focusout",this._focusOutsideDropdown),window.removeEventListener("blur",this._leaveWindow),this.listEl.classList.add(this.hideClass)}_focusOutsideDropdown(e){e.relatedTarget&&!this.el.contains(e.relatedTarget)&&this.collapsible.isOpen&&this.collapsible.close()}_leaveWindow(){this.collapsible.isOpen&&this.collapsible.close()}}function x(e,{method:t="GET",headers:i={},sendCookies:n=!0,skipCsrfToken:s=!1,postData:o}={}){return new Promise((r,a)=>{const l=new XMLHttpRequest;if(l.addEventListener("load",(function(){if(l.status>=200&&l.status<300||304===l.status)r({status:l.status,responseText:l.responseText});else{const i=new Error("".concat(t," request for ").concat(e," has failed with status code ").concat(l.status));i.response={status:l.status,responseText:l.responseText},a(i)}})),l.addEventListener("error",(function(e){a(e)})),l.open(t,e,!0),l.withCredentials=n,Object.keys(i).forEach(e=>{l.setRequestHeader(e,i[e])}),!s){const e=I("JSESSIONID");e&&l.setRequestHeader("Csrf-Token",_(e))}l.send(o)})}const R=".".concat("language-selector__link");"".concat(R,"--selected");var P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var N=/^\s+|\s+$/g,D=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,B=/^0o[0-7]+$/i,M=parseInt,q="object"==typeof P&&P&&P.Object===Object&&P,H="object"==typeof self&&self&&self.Object===Object&&self,F=q||H||Function("return this")(),j=Object.prototype.toString,z=Math.max,W=Math.min,G=function(){return F.Date.now()};function K(e,t,i){var n,s,o,r,a,l,c=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=n,o=s;return n=s=void 0,c=t,r=e.apply(o,i)}function g(e){return c=e,a=setTimeout(f,t),d?p(e):r}function m(e){var i=e-l;return void 0===l||i>=t||i<0||h&&e-c>=o}function f(){var e=G();if(m(e))return _(e);a=setTimeout(f,function(e){var i=t-(e-l);return h?W(i,o-(e-c)):i}(e))}function _(e){return a=void 0,u&&n?p(e):(n=s=void 0,r)}function v(){var e=G(),i=m(e);if(n=arguments,s=this,l=e,i){if(void 0===a)return g(l);if(h)return a=setTimeout(f,t),p(l)}return void 0===a&&(a=setTimeout(f,t)),r}return t=Y(t)||0,V(i)&&(d=!!i.leading,o=(h="maxWait"in i)?z(Y(i.maxWait)||0,t):o,u="trailing"in i?!!i.trailing:u),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=s=a=void 0},v.flush=function(){return void 0===a?r:_(G())},v}function V(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==j.call(e)}(e))return NaN;if(V(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=V(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(N,"");var i=U.test(e);return i||B.test(e)?M(e.slice(2),i?2:8):D.test(e)?NaN:+e}var J=function(e,t,i){var n=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return V(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),K(e,t,{leading:n,maxWait:t,trailing:s})};class ${constructor(e=window,{threshold:t=0,scrollLoadLimit:i=10,useDebounce:n=!1,wait:s=1e3,loadResults:o,onLoading:r=this._defaultOnLoading,onDoneLoading:a=this._defaultOnDoneLoading,loaderEl:l=document.querySelector(".loader"),showMoreButtonEl:c=document.querySelector(".infinite-scroller__show-more-button")}={}){if(!o)throw new Error("loadResults should be passed to the component");if(i<=0)throw new Error("scrollLoadLimit should be greater than 0, if you only need the button and not the scroller do not use this module");this.el=e,this.threshold=t,this.scrollLoadLimit=i,this.useDebounce=n,this.wait=s,this.loaderEl=l,this.onLoading=r,this.onDoneLoading=a,this.loadResults=o,this.showMoreButtonEl=c,this.isLoading=!1,this.loadNumber=0,this.hasExceededInfiniteScrollLimit=!1,this._onScroll=this._onScroll.bind(this),this._onClick=this._onClick.bind(this),this._scrollListener=this.useDebounce?T(this._onScroll,this.wait):J(this._onScroll,this.wait),this._attachScrollEventListener()}_defaultOnLoading(){this.hasExceededInfiniteScrollLimit?this.showMoreButtonEl.disabled=!0:this.loaderEl&&this.loaderEl.classList.add("loader--show")}_defaultOnDoneLoading(){this.hasExceededInfiniteScrollLimit?this.showMoreButtonEl.disabled=!1:this.loaderEl&&this.loaderEl.classList.remove("loader--show")}_onScroll(){!this.isLoading&&y(this.el,this.threshold)&&(this.isLoading=!0,this.onLoading(),this.loadResults().finally(()=>{this.onDoneLoading(),this.isLoading=!1,++this.loadNumber>=this.scrollLoadLimit&&this._switchToShowMoreButton()}))}_onClick(){this.onLoading(),this.loadResults().finally(()=>{this.onDoneLoading()})}_switchToShowMoreButton(){this.removeInfiniteScroller(),this.showMoreButtonEl.classList.add("infinite-scroller__show-more-button--visible"),this.showMoreButtonEl.addEventListener("click",this._onClick),this.hasExceededInfiniteScrollLimit=!0}removeInfiniteScroller(){this.hasExceededInfiniteScrollLimit?(this.showMoreButtonEl.removeEventListener("click",this._onClick),this.showMoreButtonEl.classList.remove("infinite-scroller__show-more-button--visible")):this.el.removeEventListener("scroll",this._scrollListener)}_attachScrollEventListener(){this.el.addEventListener("scroll",this._scrollListener)}}"".concat(".member-nav-menu","__item-link"),"".concat(".member-nav-menu","__button");new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function Z(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function X(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function Q(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?X(Object(i),!0).forEach((function(t){Z(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):X(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}"".concat("tab-toggle","--active");const ee={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"};Object.keys(ee).map(e=>ee[e]);const te=["binlar","ask\\ jeeves","mozilla\\/4\\.0\\ \\(compatible\\;\\ msie\\ 6\\.0\\;\\ windows\\ nt\\ 5\\.1\\;1813\\)","companydatatree","genieo","microsoft\\+scheduled\\+cache\\+content\\+download\\+service","liferea","superfeedr","ez\\ publish\\ link\\ validator","htmlparser","argclrint","linkwalker","webtool","ask\\+jeeves","stackrambler","paros","^fdm\\+3\\.x","ms\\ search","indy\\+library","seznam","sitevigil","intergator","freedom(?!from)","google\\+page\\+speed\\+insights","znajdzfoto\\/image","riddler\\.io","^java\\/","twiceler","httpunit","ktxn","webcopier","mna\\+digital\\+circonus\\+check","stuff(?!nz)","updatepatrol","feedburner","hp\\+sitescope","crawler","gigablastopensource\\/","rpt\\-http","^fdm\\ 3\\.x","libwww\\-perl","((?=pital)|ca(?=pital))pita","bingpreview","oia\\.owa","^ahc\\/","thunderstone","microsoft\\ bits","alertsite","^python\\-requests\\/","dts\\ agent","tangjiutao","^inmon","linkscan","alexa\\ site\\ audit","webtrends(?!clientlibrary)","chkd","joedog","daumoa","typhoeus","loadimpactpageanalyzer","google\\ news","coldfusion","mna\\ digital\\ circonus\\ check","alexa\\+site\\+audit","getright","appengine","(?=crawler)crawl","ibot(?!ta)","jobo","python\\-httplib","powermarks","site24x7","proximic","yahoo\\+pipes","((?=aporter)|oper(?=aportable))aport","web\\+downloader","check\\_http","grabber","topsy\\.com\\/butterfly\\/","harvest","^inagist\\+url\\+resolver","fast","crescent(?!\\ build|\\+build)","sohu(?!ennews|video|news)","favorg","bloglines","fetch(?!tv)","wapt","microsoft\\+url\\+control","urchin","ning\\/1\\.0","pluck","google\\+news","spider","\\(compatible\\;\\+optimizer\\)","moreover\\/5\\.1","js\\-kit","server\\ density\\ external\\ llama","facebookexternalhit","ultraseek","catchpoint","yandex(?!\\ browser|\\+browser|mail)","echo(?!arena|fon|star)","^worldwatch\\/","combine(?!d)","winhttprequest","ez\\+publish\\+link\\+validator","jakarta","^webnotifier\\/","webmetrics","teoma","nerdbynature","ms\\+frontpage","nielsen","sucker","engagebdr","yahoofeedseeker","dts\\+agent","googleapps","holmes","plumtree","www\\-mechanize","google\\-hoteladsverifier","pingdom","drupal","sina\\_weibo","google\\ page\\ speed\\ insights","lisa","w3c\\_validator","^scan","yeti","snoopy","khte","trovit","atomz","httpcomponents","ms\\+search","google\\-http\\-java\\-client","spi\\_der","bubing","websitepulse","microsoft\\+bits","http\\_request2","ieautodiscovery","siteimprove","curl(?!ings)","go\\+1\\.1\\+package\\+http","^crowsnest\\/","email\\ exractor","utorrent","yahoocachesystem","shopwiki","justview","googlesecurityscanner","msnptc","rkg\\+url\\+verifier","monitor","bitvouseragent","((?=wormgame))worm","talktalk","help\\.coccoc\\.com","yahoo\\ pipes","heritrix","nutch","argus","kulturarw3","checkurl","universalsearch","amazon\\ route\\ 53\\ health\\ check\\ service","slurp","mozilla\\/5\\.0\\ \\(compatible\\;\\ msie\\ 5\\.0\\)","ezooms","kimengi\\/nineconnections\\.com","applesyndication","python\\-urllib","internal\\+zero\\-knowledge\\+agent","system\\+center\\+operations\\+manager","riverglassscanner","imgsizer","changedetection","nutscrape","feedzilla","contype","^lwp","\\(compatible\\;\\ optimizer\\)","infolink","outbrain","^prerender","admantx","^inagist\\ url\\ resolver","amazon\\+route\\+53\\+health\\+check\\+service","neustar","a6\\-indexer","comodo\\+ssl\\+checker","linkchecker","viglink","patric","newsnow","wasalive","scrapy","(?=gruber)grub","ruxitsynthetic","rkg\\ url\\ verifier","ocelli","webcapture","^kraken\\/","t\\-h\\-u\\-n\\-d\\-e\\-r\\-s\\-t\\-o\\-n\\-e","spider(?!solitaire)","isearch","hp\\ sitescope","maxamine","\\(simulated\\_by\\_webserver\\_stress\\_tool\\)","((?=obotics)|ther(?=obotfree))obot","yacy","twibble\\.io","google\\+wireless\\+transcoder","wget","internal\\ zero\\-knowledge\\ agent","google\\ wireless\\ transcoder","xenu","yahooseeker","advanced\\ email\\ extractor","feed43","ptst","reconnoiter","go\\ 1\\.1\\ package\\ http","advanced\\+email\\+extractor","linkdex","panscient\\.com","webcheck","linktiger","scooter","flipboard\\.com\\/browserproxy","evidon","twisted\\ pagegetter","cosmos","adbeat","sherlock","web\\ downloader","cookiereports","siteexplorer","miva","twisted\\+pagegetter","mfc\\_tear\\_sample","indy\\ library","b2w(?!tenisnew)","orangebot(?!swana)","lockss\\+cache","mozilla\\/4\\.0\\+\\(compatible\\;\\+msie\\+6\\.0\\;\\+windows\\+nt\\+5\\.1\\;1813\\)","yahooexternalcache","apache\\-httpclient\\/4\\.","archive\\.org","wesee\\:search","hiscan","ms\\ frontpage","tagscanner","google\\ web\\ preview","special\\_archiver","d24y\\-aegis","scoutjet","larbin","adsense\\-snapshot\\-google","keynote","skypeuripreview","clickajob","download\\+ninja","internet\\ ninja","^ltx71","ukonline","eventmachine\\ httpclient","nomad","mediapartners","twikle","microsoft\\ scheduled\\ cache\\ content\\ download\\ service","internet\\+ninja","scanalert","metauri","agentname","adr\\)","squider","isilo","teleport","automationtest","bordermanager","linklint","bot","templeton","rssreader","ichiro","(?=dialer\\-mobileapp)dialer","atomic\\_email\\_hunter","google\\+web\\+preview","longurl\\+api","longurl\\ api","internetseer","server\\+density\\+external\\+llama","topix","iopus","download\\ ninja","mozilla\\/5\\.0\\+\\(compatible\\;\\+msie\\+5\\.0\\)","europarchive","avantgo","flamingo\\_searchengine","lockss\\ cache","jobrapido","wesee\\:ads\\/","frontier","newspaper\\/0\\.0\\.","apachebench","flamingosearch","lydia","microsoft\\ url\\ control","phantomjs","system\\ center\\ operations\\ manager","^econtext\\/","akamai","cfschedule","searchme\\.com\\/support\\/","fortimail","comodo\\ ssl\\ checker","gomezagent","sitecon","webauto","golem","swcd","spundge\\/0\\.1","findlinks","^sjn","yandex","ia\\_archive","vagabondo","watchmouse","simplepie","1job","goldfire"].join("|");new RegExp(te,"i");class ie{constructor(e,t={},i=window.tracking,n=window.lazyloader){const{sources:s,posterUrl:o,mediaUrn:r,trackingId:a,captionsUrl:l}=e.dataset,c=JSON.parse(s);if(!c.length)throw new Error("Please pass video sources in correct Array string format inside data-sources attribute");e.hasAttribute("autoplay")&&(t.autoplay=!0),this._mediaPlayerInstancePromise=this._createPlayer(e,a,r,t,n).then(e=>(o&&e.poster(o),e.src(c),l&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:l}),this._bindTracking(e,i),e))}_createPlayer(e,t,i,n,s){return s.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(s=>{const{createPlayer:o}=s,r=n.plugins&&n.plugins.rum&&n.plugins.rum.mediaHeader&&n.plugins.rum.mediaHeader.mediaSource||"ugc",a=Q({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},n);return a.plugins.tracking={mediaUrn:i,trackingId:t},a.plugins.rum={mediaUrn:i,trackingId:t,mediaHeader:{mediaSource:r}},o(e,a)})}_bindTracking(e,t){t.then(t=>{const i=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",i),e.rum().on("track",i)})}_getMediaPlayerTrackingEventHandler(e){return function(t,{eventName:i,eventData:n}){let s=Q({header:{},requestHeader:{}},n);delete s.name,delete s.plugin,delete s.instance,s.requestHeader.pageKey||(s.requestHeader.pageKey=f(document)),e.fireTrackingEvent(i,s)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}const{ENTER:ne,ESCAPE:se}=v;!function(e){const t=new RegExp("<(?!/?(?:"+e.allowedTags+")(?:[ \t\r\n]*/?>|[ \t\r\n]+(?:(?:(?:"+e.allowedAttributes+")(?:=([\"'])[^'\"<>]*\\1)?|(?:"+e.allowedURLAttributes+")=([\"'])(?:(?:"+e.allowedURLSchemes+")(?::|&#(?:58|x3a);)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\2)[ \t\r\n]*)+/?>))","i")}({allowedTags:"a|abbr|address|area|article|aside|audio|b|bdi|bdo|big|blockquote|br|button|center|cite|code|datalist|dd|del|details|dfn|div|dl|dt|em|fieldset|figcaption|figure|font|footer|h[1-6]|header|hgroup|hr|i|img|ins|kbd|label|legend|li|map|mark|marquee|nav|nobr|ol|p|pre|q|rp|rt|ruby|s|samp|section|small|source|span|strike|strong|sub|sup|table|tbody|td|tfoot|th|thead|time|tr|u|ul|var|video|wbr",allowedAttributes:"alt|aria-[a-z0-9_\\-]+|border|caption|checked|class|colgroup|color|cols|colspan|controls|coords|data-[a-z0-9_\\-]+|dir|disabled|height|hidden|hreflang|id|label|loop|marginheight|marginwidth|maxlength|method|multiple|name|preload|readonly|rel|required|reversed|role|rows|rowspan|spellcheck|tabindex|target|title|type|usemap|width|clear|headers|ismap|lang|start|datetime|accept|max|min|placeholder|size|step",allowedURLAttributes:"href|src",allowedURLSchemes:"https?|ftp|mailto"});function oe(){const e=(e="")=>!e||0===e.trim().length;return e.errorMessageSuffix="error_empty",e}function re(e){const t=(t="")=>t.length<e;return t.errorMessageSuffix="error_too_short",t}function ae(e){const t=(t="")=>t.length>e;return t.errorMessageSuffix="error_too_long",t}oe(),re(3),ae(128),oe(),re(6),ae(400);var le=window||e;le.utag_data||(le.utag_data={});const ce="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;le.utag_cfg_ovrd=le.utag_cfg_ovrd||{},le.utag_cfg_ovrd.noview=!0,le.utag_cfg_ovrd.nocookie=!0;ce&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(le.navigator.userAgent);!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var i=this.listeners[e],n=0,s=i.length;n<s;n++)if(i[n]===t)return void i.splice(n,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),i=0,n=t.length;i<n;i++)t[i].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const de={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},he={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},{GOOGLE_ERROR:ue,GOOGLE_USER_FETCHED:pe,INITIALIZED:ge}=de,{INITIALIZATION:me,AUTHENTICATION:fe}=he;EventTarget;const _e=de,ve=he,{GOOGLE_USER_FETCHED:be,GOOGLE_ERROR:Ee,INITIALIZED:we}=_e,{INITIALIZATION:ye}=ve;".".concat("show-more-less","__list"),".".concat("show-more-less","__more-button"),".".concat("show-more-less","__less-button"),"".concat("show-more-less","__list--hide-after"),"".concat("show-more-less","__button--hide");class Te{constructor(e){if(!e)throw new Error("EllipsisMenu el required");this._el=e;const t=this._el.querySelector(".collapsible-dropdown");if(!t)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.getFocusItemFromListItem=e=>e.querySelector("[href], button"),this.collapsibleDropdown=new C(t,this.getFocusItemFromListItem)}}var Ie;!function(e){e.ProductName="productName",e.UntrackedResponseCodes="untrackedResponseCodes",e.TrackedResponseCodes="trackedResponseCodes"}(Ie||(Ie={}));new Set(Object.values(Ie));Error;"".concat("filter-dropdown","--open")}).call(this,i(1))},function(e,t,i){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,i=Object.isFrozen,n=Object.keys,s=Object.freeze,o=Object.seal,r="undefined"!=typeof Reflect&&Reflect,a=r.apply,l=r.construct;a||(a=function(e,t,i){return e.apply(t,i)}),s||(s=function(e){return e}),o||(o=function(e){return e}),l||(l=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}(t))))});var c=T(Array.prototype.forEach),d=T(Array.prototype.indexOf),h=T(Array.prototype.join),u=T(Array.prototype.pop),p=T(Array.prototype.push),g=T(Array.prototype.slice),m=T(String.prototype.toLowerCase),f=T(String.prototype.match),_=T(String.prototype.replace),v=T(String.prototype.indexOf),b=T(String.prototype.trim),E=T(RegExp.prototype.test),w=I(RegExp),y=I(TypeError);function T(e){return function(t){for(var i=arguments.length,n=Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return a(e,t,n)}}function I(e){return function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return l(e,i)}}function S(e,n){t&&t(e,null);for(var s=n.length;s--;){var o=n[s];if("string"==typeof o){var r=m(o);r!==o&&(i(n)||(n[s]=r),o=r)}e[o]=!0}return e}function k(t){var i={},n=void 0;for(n in t)a(e,t,[n])&&(i[n]=t[n]);return i}var L=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),A=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),C=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),x=s(["#text"]),R=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),P=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),N=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),B=o(/<%[\s\S]*|[\s\S]*%>/gm),M=o(/^data-[\-\w.\u00B7-\uFFFF]/),q=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F=o(/^(?:\w+script|data):/i),j=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),z="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};function W(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var G=function(){return"undefined"==typeof window?null:window},K=function(e,t){if("object"!==(void 0===e?"undefined":z(e))||"function"!=typeof e.createPolicy)return null;var i=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(i=t.currentScript.getAttribute("data-tt-policy-suffix"));var n="dompurify"+(i?"#"+i:"");try{return e.createPolicy(n,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G(),i=function(t){return e(t)};if(i.version="2.0.12",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var o=t.document,r=!1,a=t.document,l=t.DocumentFragment,T=t.HTMLTemplateElement,I=t.Node,V=t.NodeFilter,Y=t.NamedNodeMap,J=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,$=t.Text,Z=t.Comment,X=t.DOMParser,Q=t.trustedTypes;if("function"==typeof T){var ee=a.createElement("template");ee.content&&ee.content.ownerDocument&&(a=ee.content.ownerDocument)}var te=K(Q,o),ie=te&&Ne?te.createHTML(""):"",ne=a,se=ne.implementation,oe=ne.createNodeIterator,re=ne.getElementsByTagName,ae=ne.createDocumentFragment,le=o.importNode,ce={};i.isSupported=se&&void 0!==se.createHTMLDocument&&9!==a.documentMode;var de=U,he=B,ue=M,pe=q,ge=F,me=j,fe=H,_e=null,ve=S({},[].concat(W(L),W(O),W(A),W(C),W(x))),be=null,Ee=S({},[].concat(W(R),W(P),W(N),W(D))),we=null,ye=null,Te=!0,Ie=!0,Se=!1,ke=!1,Le=!1,Oe=!1,Ae=!1,Ce=!1,xe=!1,Re=!1,Pe=!1,Ne=!1,De=!0,Ue=!0,Be=!1,Me={},qe=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,Fe=S({},["audio","video","img","source","image","track"]),je=null,ze=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ge=a.createElement("form"),Ke=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":z(e))||(e={}),_e="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):ve,be="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):Ee,je="ADD_URI_SAFE_ATTR"in e?S(k(ze),e.ADD_URI_SAFE_ATTR):ze,He="ADD_DATA_URI_TAGS"in e?S(k(Fe),e.ADD_DATA_URI_TAGS):Fe,we="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},ye="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Me="USE_PROFILES"in e&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Ie=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=e.SAFE_FOR_JQUERY||!1,Le=e.SAFE_FOR_TEMPLATES||!1,Oe=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,Re=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,Ne=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,Be=e.IN_PLACE||!1,fe=e.ALLOWED_URI_REGEXP||fe,Le&&(Ie=!1),Re&&(xe=!0),Me&&(_e=S({},[].concat(W(x))),be=[],!0===Me.html&&(S(_e,L),S(be,R)),!0===Me.svg&&(S(_e,O),S(be,P),S(be,D)),!0===Me.svgFilters&&(S(_e,A),S(be,P),S(be,D)),!0===Me.mathMl&&(S(_e,C),S(be,N),S(be,D))),e.ADD_TAGS&&(_e===ve&&(_e=k(_e)),S(_e,e.ADD_TAGS)),e.ADD_ATTR&&(be===Ee&&(be=k(be)),S(be,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(je,e.ADD_URI_SAFE_ATTR),Ue&&(_e["#text"]=!0),Oe&&S(_e,["html","head","body"]),_e.table&&(S(_e,["tbody"]),delete we.tbody),s&&s(e),We=e)},Ve=function(e){p(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ie}},Ye=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,i=void 0;if(Ce)e="<remove></remove>"+e;else{var n=f(e,/^[\r\n\t ]+/);i=n&&n[0]}var s=te?te.createHTML(e):e;try{t=(new X).parseFromString(s,"text/html")}catch(e){}if(r&&S(we,["title"]),!t||!t.documentElement){var o=(t=se.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=s}return e&&i&&t.body.insertBefore(a.createTextNode(i),t.body.childNodes[0]||null),re.call(t,Oe?"html":"body")[0]};i.isSupported&&function(){try{var e=Je("<x/><title>&lt;/title&gt;&lt;img&gt;");E(/<\/title/,e.querySelector("title").innerHTML)&&(r=!0)}catch(e){}}();var $e=function(e){return oe.call(e.ownerDocument||e,e,V.SHOW_ELEMENT|V.SHOW_COMMENT|V.SHOW_TEXT,(function(){return V.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof $||e instanceof Z||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof J&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},Xe=function(e){return"object"===(void 0===I?"undefined":z(I))?e instanceof I:e&&"object"===(void 0===e?"undefined":z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Qe=function(e,t,n){ce[e]&&c(ce[e],(function(e){e.call(i,t,n,We)}))},et=function(e){var t=void 0;if(Qe("beforeSanitizeElements",e,null),Ze(e))return Ve(e),!0;var n=m(e.nodeName);if(Qe("uponSanitizeElement",e,{tagName:n,allowedTags:_e}),("svg"===n||"math"===n)&&0!==e.querySelectorAll("p, br").length)return Ve(e),!0;if(!_e[n]||we[n]){if(Ue&&!qe[n]&&"function"==typeof e.insertAdjacentHTML)try{var s=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(s):s)}catch(e){}return Ve(e),!0}return"noscript"===n&&E(/<\/noscript/i,e.innerHTML)||"noembed"===n&&E(/<\/noembed/i,e.innerHTML)?(Ve(e),!0):(!ke||e.firstElementChild||e.content&&e.content.firstElementChild||!E(/</g,e.textContent)||(p(i.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=_(e.innerHTML,/</g,"&lt;"):e.innerHTML=_(e.textContent,/</g,"&lt;")),Le&&3===e.nodeType&&(t=e.textContent,t=_(t,de," "),t=_(t,he," "),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),Qe("afterSanitizeElements",e,null),!1)},tt=function(e,t,i){if(De&&("id"===t||"name"===t)&&(i in a||i in Ge))return!1;if(Ie&&E(ue,t));else if(Te&&E(pe,t));else{if(!be[t]||ye[t])return!1;if(je[t]);else if(E(fe,_(i,me,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(i,"data:")||!He[e])if(Se&&!E(ge,_(i,me,"")));else if(i)return!1}return!0},it=function(e){var t=void 0,s=void 0,o=void 0,r=void 0,a=void 0;Qe("beforeSanitizeAttributes",e,null);var l=e.attributes;if(l){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};for(a=l.length;a--;){var p=t=l[a],f=p.name,v=p.namespaceURI;if(s=b(t.value),o=m(f),c.attrName=o,c.attrValue=s,c.keepAttr=!0,c.forceKeepAttr=void 0,Qe("uponSanitizeAttribute",e,c),s=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&l.id)r=l.id,l=g(l,[]),Ye("id",e),Ye(f,e),d(l,r)>a&&e.setAttribute("id",r.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===s&&c.keepAttr&&(be[o]||!ye[o]))continue;"id"===f&&e.setAttribute(f,""),Ye(f,e)}if(c.keepAttr)if(ke&&E(/\/>/i,s))Ye(f,e);else if(E(/svg|math/i,e.namespaceURI)&&E(w("</("+h(n(qe),"|")+")","i"),s))Ye(f,e);else{Le&&(s=_(s,de," "),s=_(s,he," "));var y=e.nodeName.toLowerCase();if(tt(y,o,s))try{v?e.setAttributeNS(v,f,s):e.setAttribute(f,s),u(i.removed)}catch(e){}}}}Qe("afterSanitizeAttributes",e,null)}},nt=function e(t){var i=void 0,n=$e(t);for(Qe("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)Qe("uponSanitizeShadowNode",i,null),et(i)||(i.content instanceof l&&e(i.content),it(i));Qe("afterSanitizeShadowDOM",t,null)};return i.sanitize=function(e,n){var s=void 0,r=void 0,a=void 0,c=void 0,d=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(e)){if("function"!=typeof e.toString)throw y("toString is not a function");if("string"!=typeof(e=e.toString()))throw y("dirty is not a string, aborting")}if(!i.isSupported){if("object"===z(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Xe(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ae||Ke(n),i.removed=[],"string"==typeof e&&(Be=!1),Be);else if(e instanceof I)1===(r=(s=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?s=r:s.appendChild(r);else{if(!xe&&!Le&&!Oe&&-1===e.indexOf("<"))return te&&Ne?te.createHTML(e):e;if(!(s=Je(e)))return xe?null:ie}s&&Ce&&Ve(s.firstChild);for(var h=$e(Be?e:s);a=h.nextNode();)3===a.nodeType&&a===c||et(a)||(a.content instanceof l&&nt(a.content),it(a),c=a);if(c=null,Be)return e;if(xe){if(Re)for(d=ae.call(s.ownerDocument);s.firstChild;)d.appendChild(s.firstChild);else d=s;return Pe&&(d=le.call(o,d,!0)),d}var u=Oe?s.outerHTML:s.innerHTML;return Le&&(u=_(u,de," "),u=_(u,he," ")),te&&Ne?te.createHTML(u):u},i.setConfig=function(e){Ke(e),Ae=!0},i.clearConfig=function(){We=null,Ae=!1},i.isValidAttribute=function(e,t,i){We||Ke({});var n=m(e),s=m(t);return tt(n,s,i)},i.addHook=function(e,t){"function"==typeof t&&(ce[e]=ce[e]||[],p(ce[e],t))},i.removeHook=function(e){ce[e]&&u(ce[e])},i.removeHooks=function(e){ce[e]&&(ce[e]=[])},i.removeAllHooks=function(){ce={}},i}()}()},,,function(e,t,i){"use strict";i.r(t);i(2);var n=i(0),s=i(3),o=i(4),r=i.n(o),a={ADD_TAGS:["#comment","li-icon","icon","iframe"],ADD_ATTR:["target"]};class l{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.globalWindow,n=void 0===i?window:i,o=t.paginationToken,r=t.requestUrl,a=t.feedLoadLimit,l=void 0===a?6:a,c=t.threshold,d=void 0===c?2:c,h=t.updateUnionEnabled,u=void 0!==h&&h,p=t.videoReshareEnabled,g=void 0!==p&&p;if(!e)throw new Error("No element passed in");if(!o)throw new Error("No paginationToken passed in");if(!r)throw new Error("No requestUrl passed in");this.el=e,this.loaderEl=document.querySelector(".updates-loader"),this.conversionPromptEl=document.querySelector(".conversion-prompt"),this.window=n,this.threshold=d,this.feedLoadLimit=l,this.requestUrl=r,this.paginationToken=o,this.paginationStart=10,this.areAllFeedUpdatesLoaded=!1,this.updateUnionEnabled=u,this.videoReshareEnabled=g,this.loadResults=()=>{if(!this.areAllFeedUpdatesLoaded)return this.requestUrl.searchParams.set("paginationStart",this.paginationStart),this.requestUrl.searchParams.set("paginationToken",this.paginationToken),this.requestUrl.searchParams.set("isUpdateUnionEnabled",this.updateUnionEnabled),this.requestUrl.searchParams.set("isVideoReshareEnabled",this.videoReshareEnabled),Object(s.d)(this.requestUrl,{sendCookies:!1}).then(e=>{var t=e.status,i=e.responseText;200===t?this.onSuccess(i):this.onFail()}).catch(()=>{this.onFail()}).finally(()=>{this.paginationStart+=10,this.paginationStart>10*this.feedLoadLimit&&this._stopFeedUpdatesLoader()})},this.infiniteScroller=new s.b(this.window,{loaderEl:this.loaderEl,threshold:this.threshold,loadResults:this.loadResults,scrollLoadLimit:9999,useDebounce:!0})}onSuccess(e){var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.a.sanitize(e,Object.assign({},a,t))}(e);t?(this.el.insertAdjacentHTML("beforeend",t),Array.from(this.el.querySelectorAll(".share-native-video__node")).forEach(e=>new s.c(e)),Array.from(this.el.querySelectorAll(".ellipsis-menu")).forEach(e=>new s.a(e)),this.window.lazyloader.then(e=>e.refreshLoader())):this._stopFeedUpdatesLoader()}onFail(){this._stopFeedUpdatesLoader()}_stopFeedUpdatesLoader(){this.conversionPromptEl.classList.remove("conversion-prompt--hide"),this.infiniteScroller.removeInfiniteScroller(),this.areAllFeedUpdatesLoaded=!0}}if(Array.from(document.querySelectorAll(".share-native-video__node")).forEach(e=>new n.h(e)),document.querySelector(".updates-loader")){var c=document.querySelector(".updates__list"),d=Object(n.m)("organizationId"),h=Object(n.m)("isMobile"),u=Object(n.m)("updateUnionEnabled"),p=Object(n.m)("videoReshareEnabled");new l(c,{paginationToken:Object(n.m)("paginationToken"),requestUrl:new URL("".concat(window.location.origin,"/organization-guest/api/feedUpdates/").concat(d)),feedLoadLimit:h?3:6,threshold:h?4:2,updateUnionEnabled:u,videoReshareEnabled:p})}}]);