!function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=5)}([function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return b}),n.d(t,"b",function(){return H}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return D}),n.d(t,"e",function(){return W}),n.d(t,"f",function(){return getEmbeddedContent}),n.d(t,"g",function(){return V}),n.d(t,"h",function(){return U}),n.d(t,"i",function(){return S});window.encodeURIComponent;function getPageKey(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function getDomain(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}const r={ARROW_DOWN:"ArrowDown",ARROW_RIGHT:"ArrowRight",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ESCAPE:"Escape",SPACEBAR:" ",ENTER:"Enter"},i={Down:r.ARROW_DOWN,Right:r.ARROW_RIGHT,Left:r.ARROW_LEFT,Up:r.ARROW_UP,Esc:r.ESCAPE,Spacebar:r.SPACEBAR};function normalizeKeyBoardEventKey(e){return i[e]||e}const o=".show-more-less-state",s="show-more-less-state__label",a=".show-more-less-state__label-more",l=".show-more-less-state__label-less",c=".see-more-less-list__list",u="see-more-less-list__list-item";class d{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=arguments[3];if(!e)throw Error("An element must be provided to SeeMoreLessList");this.el=e,this.listSelector=t,this.stateCheckbox=this.el.querySelector(o),this.listEl=this.el.querySelector(this.listSelector),this.stateLabels={showMore:this.el.querySelector(a),showLess:this.el.querySelector(l)},this.currentItemEl,r&&(this.currentItemEl=this.listEl.querySelector(r)),this.listItemClass=n,this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("keydown",this._handleKeydownNavEvents.bind(this)),this.stateCheckbox.addEventListener("change",this._handleCheckboxStateChange.bind(this))}_handleCheckboxStateChange(){Object.keys(this.stateLabels).forEach(e=>{this.stateLabels[e].setAttribute("aria-expanded",this.stateCheckbox.checked)})}_checkboxStateChange(e){this.stateCheckbox.checked=e,this._handleCheckboxStateChange()}_handleKeydownNavEvents(e){switch(normalizeKeyBoardEventKey(e.key)){case r.ENTER:case r.SPACEBAR:e.target.classList.contains(s)&&(e.preventDefault(),this._checkboxStateChange(!this.stateCheckbox.checked),this.stateCheckbox.checked?this.currentItemEl?this.currentItemEl.focus():this.stateLabels.showLess.focus():this.stateLabels.showMore.focus());break;case r.ARROW_UP:this._checkboxStateChange(!0),this.currentItemEl?this.currentItemEl.focus():this.stateLabels.showLess.focus();break;case r.ARROW_DOWN:case r.ESCAPE:this._checkboxStateChange(!1),this.stateLabels.showMore.focus();break;case r.ARROW_LEFT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.previousSibling;t&&t.firstChild.focus()}break;case r.ARROW_RIGHT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.nextSibling;t&&t.firstChild.focus()}}}}const h=".dropdown__list",p="dropdown__link",m=".dropdown__link";class f extends d{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;if(!e)throw Error("An element must be provided to Dropdown");super(e,h,t,n),this.listFirstChild=this.listEl.firstChild,this.listLastChild=this.listEl.lastChild,this._attachCustomDropdownEventListeners()}_attachCustomDropdownEventListeners(){document.addEventListener("click",this._handleBodyClick.bind(this)),this.el.addEventListener("keydown",e=>{"Tab"===e.key&&this._handleTab(e)})}_handleBodyClick(e){e.target===this.el||this.el.contains(e.target)||this._checkboxStateChange(!1)}_handleTab(e){(this.listLastChild.contains(e.target)&&!e.shiftKey||this.listFirstChild.contains(e.target)&&e.shiftKey)&&(this._checkboxStateChange(!1),this.stateLabels.showMore.focus())}}const v="language-selector__link",g=".language-selector__link--selected",y="data-locale",E=31536e6;class b extends f{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");super(e,v,g),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){const t=e.target.getAttribute(y);if(t){const e=this.getLangCookieString(t);null!==e&&(document.cookie=e),location.reload()}}getLangCookieString(e){let t=null;if(null!==e){const n=e.toLocaleLowerCase().replace("_","-"),r=getDomain(document);let i=new Date;i.setTime(i.getTime()+E),t=`lang="v=2&lang=${n}";path=/;domain=${r};expires=${i.toUTCString()}`}return t}}var w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function closest(e,t){if(!e)return null;let n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!n.call(e,t);)e=e.parentElement;return e}function onload(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}function makeArray(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)}function elementInViewport(e){const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,i=t.top<=n&&t.top+t.height>=0,o=t.left<=r&&t.left+t.width>=0;return i&&o}function getQueryParam(e,t,n){const r=new RegExp(`([\\?&])${n?t:encodeURIComponent(t)}=([^&#]*)`).exec(e);return r&&(n?r[2]:decodeURIComponent(r[2]))}function getCookie(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function dispatchCustomEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=document.createEvent("CustomEvent");r.initCustomEvent(t,!0,!0,n),e.dispatchEvent(r)}function getDeferredPromise(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var S=Object.freeze({closest:closest,onload:onload,makeArray:makeArray,outerWidth:function(e){let t=e.offsetWidth,n=getComputedStyle(e);return t+=(parseInt(n.marginLeft,10)||0)+(parseInt(n.marginRight,10)||0)},elementInViewport:elementInViewport,getQueryParam:getQueryParam,addQueryParam:function(e,t,n,r){if(!e||!t)throw new Error(`Required param of addQueryParam missing: url = ${e},  key = ${t}`);t=encodeURIComponent(t),n=encodeURIComponent(n);const i=getQueryParam(e,t,!0);if(i)return r?e.replace(i,n):e;{const r=e.indexOf("?");var o=e.split("#"),s=_(o,2);let i=s[0],a=s[1],l="&";return r<0?l="?":r===e.length-1&&(l=""),a&&(a=`#${a}`),`${i}${l}${t}=${n}${a||""}`}},debounce:function(e,t,n){var r=this;if("function"!=typeof e)throw new TypeError("Expected a function.");let i;return function(){for(var o=arguments.length,s=Array(o),a=0;a<o;a++)s[a]=arguments[a];const l=n&&!i;clearTimeout(i),i=setTimeout(()=>{i=null,n||e.apply(r,s)},t),l&&e.apply(r,s)}},getCookie:getCookie,dispatchCustomEvent:dispatchCustomEvent,getDeferredPromise:getDeferredPromise});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;const A=".social-share__state",k="data-share-message",C="social-share--embed",L="social-share__embed-overlay-dismiss",T="embed-overlay__copy-text-input",x="social-share__item",O="social-share__dropdown",N="embedOverlayShown",R="embedOverlayHidden",P={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"},M=Object.keys(P).map(e=>P[e]),D={EMBED_SHARE_OVERLAY_HIDE_EVENT:R,EMBED_SHARE_OVERLAY_SHOW_EVENT:N};class I{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.globalNavigator;let r=void 0===n?navigator:n;var i=t.globalWindow;let o=void 0===i?window:i;if(!e)throw new Error("No element passed in");this.navigator=r,this.window=o,this.el=e,this._encodedShareMessage=this.window.encodeURIComponent(this.el.getAttribute(k))||"",this.stateCheckboxEl=this.el.querySelector(A),this.isEmbed=this.el.classList.contains(C),this.closeButton=this.el.querySelector(`.${L}`),this.dropdown=this.el.querySelector(`#${O}`),this.showString=this.stateCheckboxEl.getAttribute("data-show-dialog-string"),this.hideString=this.stateCheckboxEl.getAttribute("data-hide-dialog-string"),this.onBodyClick=this._handleBodyClick.bind(this),this.onFocusOut=this._handleFocusOutDropdown.bind(this),this.onEmbedOverlayCloseClick=(()=>{this.stateCheckboxEl.checked=!1,this.onClose()}),this.init()}init(){this.stateCheckboxEl.addEventListener("click",this.handleStateChange.bind(this)),this.el.querySelector(".social-share__options").addEventListener("click",e=>{let t=e.target;const n=t.classList.contains(x)?t:closest(t,`.${x}`);n&&this.share(n.dataset.shareService)}),this.isEmbed&&!this.navigator.hasOwnProperty("clipboard")&&this.el.querySelector(".embed-overlay__copy-btn").remove()}_handleBodyClick(e){e.target===this.el||this.el.contains(e.target)||(this.stateCheckboxEl.checked=!1,this.onClose())}handleStateChange(e){e.target.checked?this.onOpen():this.onClose()}onOpen(){this.isEmbed?(this.closeButton.addEventListener("click",this.onEmbedOverlayCloseClick),dispatchCustomEvent(this.el,N)):(document.addEventListener("click",this.onBodyClick),document.addEventListener("focusin",this.onFocusOut)),this.stateCheckboxEl.setAttribute("aria-label",this.hideString),this.stateCheckboxEl.setAttribute("aria-expanded","true")}onClose(){this.isEmbed?(this.closeButton.removeEventListener("click",this.onEmbedOverlayCloseClick),dispatchCustomEvent(this.el,R)):(document.removeEventListener("click",this.onBodyClick),document.removeEventListener("focusin",this.onFocusOut)),this.stateCheckboxEl.setAttribute("aria-label",this.showString),this.stateCheckboxEl.setAttribute("aria-expanded","false")}_handleFocusOutDropdown(e){this.dropdown.contains(e.target)||(this.stateCheckboxEl.checked=!1,this.onClose(),this.el.focus())}_copyText(){let e=this.el.querySelector(`.${T}`).value;e&&this.navigator.clipboard.writeText(e)}_getServiceUrl(e,t){const n=this.window.encodeURIComponent(t);return{linkedin:`https://www.linkedin.com/shareArticle?mini=true&url=${n}&title=${this._encodedShareMessage}`,twitter:`https://twitter.com/intent/tweet?url=${n}&text=${this._encodedShareMessage}`,facebook:`https://www.facebook.com/sharer/sharer.php&u=${n}`}[e]||""}share(e){if(e===P.COPY)this._copyText();else if(M.includes(e)){const t=this.window.location.href,n=this._getServiceUrl(e,t);this.window.open(n,e,"height=600,width=1000")}}}const q={};function getEmbeddedContent(e){const t=document.getElementById(e);if(!t&&void 0!==q[e])return q[e];if(!t)return console.warn(`Element with id: ${e} not found`),q[e]=null,q[e];try{q[e]=JSON.parse(t.firstChild.nodeValue)}catch(t){console.warn(`Error fetching embedded content with id: ${e}`),q[e]=null}return t.parentNode.removeChild(t),q[e]}var V=Object.freeze({init:function(e){e.forEach(e=>{e.addEventListener("load",()=>{const t=JSON.parse(e.getAttribute("data-player-document-config")),n=JSON.parse(e.getAttribute("data-a11y")),r=JSON.parse(e.getAttribute("data-i18n"));t.title=e.getAttribute("data-player-title"),t.subtitle=e.getAttribute("data-player-subtitle"),t.isScanAvailable="playerScanAvailable"in e.dataset,t.scanUnavailableOnDownloadTitle=e.getAttribute("data-player-scan-unavailable-on-download-title"),t.scanUnavailableOnAccessibilityModeTitle=e.getAttribute("data-player-scan-unavailable-on-accessibility-mode-title"),t.scanUnavailableRedirectUrl=e.getAttribute("data-player-scan-unavailable-redirect-url"),"playerCompactLayout"in e.dataset&&(t.isNativeDocumentEmbedsAuthorInfosTopbarLixEnabled?t.enableTopbarAuthor=!0:t.enableBottombar=!0),t.authorTitle=e.getAttribute("data-player-author-title"),t.authorSubtitle=e.getAttribute("data-player-author-subtitle"),t.authorTitleUrl=e.getAttribute("data-player-author-title-url"),t.inbugUrl=e.getAttribute("data-player-inbug-url");const i={context:"native-document",action:"init",doc:t,a11y:n,i18n:r};e.contentWindow.postMessage(JSON.stringify(i),"*")})})}});var U=Object.freeze({init:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(e=>{e.addEventListener("load",()=>{const n=JSON.parse(e.getAttribute("data-sources")),r=e.getAttribute("data-poster");let i=!0;"true"===e.getAttribute("data-enable-video-context-menu")&&(i=!1);const o=e.getAttribute("data-captions-url"),s={context:"native-video",disableVideoContextMenu:i,render:!0,playerOptions:t,video:{sources:n,poster:r,caption:o}};e.contentWindow.postMessage(s,"*")})})}});class H{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.tracking,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.lazyloader;var i=e.dataset;const o=i.sources,s=i.posterUrl,a=i.mediaUrn,l=i.trackingId,c=i.captionsUrl,u=JSON.parse(o);if(!u.length)throw new Error("Please pass video sources in correct Array string format inside data-sources attribute");this._mediaPlayerInstancePromise=this._createPlayer(e,l,a,t,r).then(e=>(s&&e.poster(s),e.src(u),c&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:c}),this._bindTracking(e,n),e))}_createPlayer(e,t,n,r,i){return i.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(i=>{const o=i.createPlayer,s=r.plugins&&r.plugins.rum&&r.plugins.rum.mediaHeader&&r.plugins.rum.mediaHeader.mediaSource||"ugc",a=w({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},r);return a.plugins.tracking={mediaUrn:n,trackingId:t},a.plugins.rum={mediaUrn:n,trackingId:t,mediaHeader:{mediaSource:s}},o(e,a)})}_bindTracking(e,t){t.then(t=>{const n=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",n),e.rum().on("track",n)})}_getMediaPlayerTrackingEventHandler(e){return function(t,n){let r=n.eventName,i=n.eventData,o=w({header:{},requestHeader:{}},i);delete o.name,delete o.plugin,delete o.instance,o.requestHeader.pageKey||(o.requestHeader.pageKey=getPageKey(document)),e.fireTrackingEvent(r,o)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex="0"]'].join(",");const j=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");return function(e){return!t.test(e)}}({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"});const B="toast--hidden";class W{constructor(){let e=document.getElementById("toasts");if(!e)throw new Error("No toasts element");this._el=e,this._position=e.getAttribute("type"),this.closeToastString=e.getAttribute("data-close-toast-string")}trigger(e,t){if(!e||"notify"!==e&&"success"!==e&&"error"!==e)throw new Error("Valid type not specified: type must be success, error, or notify");if(!t)throw new Error("No message specified");let n=this._createToastEl(e,t);return this._addToast(n)}clearAllToasts(){let e=this._el.childNodes;Array.from(e).forEach(e=>{this._removeToast(e)})}_createToastEl(e,t){let n,r,i,o,s,a=this;return n=this._createElement({type:"div",classes:"toast toast--"+e+" toast--"+this._position+" "+B,attrs:[["role","alert"],["type",e]]}),r=this._createElement({type:"div",classes:"toast__inner"}),i=this._createElement({type:"li-icon",classes:"toast__icon",attrs:[["aria-hidden","true"],["type",e+"-pebble-icon"]],svg:e}),o=this._createElement({type:"p",classes:"toast__message",innerHTML:t}),(s=this._createElement({type:"button",classes:"toast__dismiss",svg:"dismiss",attrs:[["aria-label",this.closeToastString]]})).addEventListener("click",function(){a._removeToast(n)}),r.appendChild(i),r.appendChild(o),n.appendChild(r),n.appendChild(s),n}_createSvg(e){return"dismiss"===e?this._createDismissSvg():this._createTypeSvg(e)}_createTypeSvg(e){let t,n=document.createElementNS("http://www.w3.org/2000/svg","svg");return n.setAttributeNS(null,"x","0px"),n.setAttributeNS(null,"y","0px"),n.setAttributeNS(null,"viewBox","0 0 24 24"),n.setAttributeNS(null,"style","enable-background:new 0 0 24 24;"),(t=document.createElementNS("http://www.w3.org/2000/svg","g")).setAttributeNS(null,"style","fill: currentColor"),this._addGChildren(t,e),n.appendChild(t),n}_addGChildren(e,t){if("success"===t){let t,n=document.createElementNS("http://www.w3.org/2000/svg","circle");n.setAttributeNS(null,"r","9.1"),n.setAttributeNS(null,"stroke","currentColor"),n.setAttributeNS(null,"stroke-width","1.8"),n.setAttributeNS(null,"cx","12"),n.setAttributeNS(null,"cy","12"),n.setAttributeNS(null,"fill","none"),n.setAttributeNS(null,"transform","rotate(-90 12 12)"),(t=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttributeNS(null,"d","M15.667,8L17,9.042l-5.316,7.36c-0.297,0.395-0.739,0.594-1.184,0.599c-0.455,0.005-0.911-0.195-1.215-0.599l-2.441-3.456l1.416-1.028l2.227,3.167L15.667,8z"),t.setAttributeNS(null,"fill","currentColor"),e.appendChild(n),e.appendChild(t)}if("error"===t){let t,n,r=document.createElementNS("http://www.w3.org/2000/svg","circle");r.setAttributeNS(null,"r","9.1"),r.setAttributeNS(null,"stroke","currentColor"),r.setAttributeNS(null,"stroke-width","1.8"),r.setAttributeNS(null,"cx","12"),r.setAttributeNS(null,"cy","12"),r.setAttributeNS(null,"fill","none"),r.setAttributeNS(null,"transform","rotate(-90 12 12)"),(t=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttributeNS(null,"d","M13.238,12l3.463,3.463L15.463,16.7L12,13.237L8.538,16.7L7.3,15.463L10.763,12L7.3,8.537L8.538,7.3L12,10.763 l3.452-3.452l1.238,1.237L13.238,12z"),(n=document.createElementNS("http://www.w3.org/2000/svg","rect")).setAttributeNS(null,"style","fill:none"),n.setAttributeNS(null,"width","24"),n.setAttributeNS(null,"height","24"),e.appendChild(r),e.appendChild(t),e.appendChild(n)}if("notify"===t){let t,n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttributeNS(null,"d","M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z M12,20.23 c-4.538,0-8.23-3.692-8.23-8.23S7.462,3.77,12,3.77s8.23,3.692,8.23,8.23S16.538,20.23,12,20.23z M11,10h2v8h-2V10z M11,6h2v2h-2 V6z"),(t=document.createElementNS("http://www.w3.org/2000/svg","rect")).setAttributeNS(null,"style","fill:none;"),t.setAttributeNS(null,"width","24"),t.setAttributeNS(null,"height","24"),e.appendChild(n),e.appendChild(t)}}_createDismissSvg(){let e,t,n=document.createElementNS("http://www.w3.org/2000/svg","svg");return n.setAttributeNS(null,"x","0"),n.setAttributeNS(null,"y","0"),n.setAttributeNS(null,"viewBox","0 0 24 24"),n.setAttributeNS(null,"width","24px"),n.setAttributeNS(null,"height","24px"),n.setAttributeNS(null,"class","toast__dismiss-icon"),(e=document.createElementNS("http://www.w3.org/2000/svg","g")).setAttributeNS(null,"style","fill-opacity: 1"),(t=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttributeNS(null,"d","M13,4.32L9.31,8,13,11.69,11.69,13,8,9.31,4.31,13,3,11.69,6.69,8,3,4.31,4.31,3,8,6.69,11.68,3Z"),n.appendChild(e),n.appendChild(t),n}_addToast(e){return this._el.appendChild(e),setTimeout(function(){e.classList.remove(B)},500),e}_removeToast(e){let t=this._el;e.classList.add(B),setTimeout(function(){t.removeChild(e)},500)}_createElement(e){var t=w({},e);let n,r=t.type,i=t.classes,o=t.attrs,s=t.innerHTML,a=t.svg;if(n=document.createElement(r),i&&(n.className=i),a){let e=this._createSvg(a);n.appendChild(e)}var l;if(s&&(n.innerHTML=j(l=s)?l:l.replace(/<[^>]*>|[<>'"&\\]/g,"")),o){var c=!0,u=!1,d=void 0;try{for(var h,p=o[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){let e=h.value;n.setAttribute(e[0],e[1])}}catch(e){u=!0,d=e}finally{try{!c&&p.return&&p.return()}finally{if(u)throw d}}}return n}}function empty(){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!e||0===e.trim().length};return e.errorMessageSuffix="error_empty",e}function tooShort(e){const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length<e};return t.errorMessageSuffix="error_too_short",t}function tooLong(e){const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length>e};return t.errorMessageSuffix="error_too_long",t}empty(),tooShort(3),tooLong(128),empty(),tooShort(6),tooLong(400)}).call(t,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(6);const o=document.referrer.split("/").slice(0,3).join("/"),s=document.querySelector(".social-share");s&&new r.c(s);const a=document.querySelector(".main--embed");a&&-1!==["https://www.linkedin.com","https://pemberly.www.linkedin.com:4443","https://www.linkedin-ei.com","https://pemberly.www.linkedin-ei.com:4443"].indexOf(o)&&window.parent.postMessage({context:"public-post",height:Math.ceil(a.offsetHeight)},o);const l=document.querySelector(".share-native-video__node"),c=r.i.makeArray(document.querySelectorAll(".share-native-video__iframe")),u="control"!==Object(r.f)("mediaPlayerLix");(l||c.length)&&new i.a(u,s),r.g.init(r.i.makeArray(document.querySelectorAll(".share-native-document__iframe")))},function(e,t,n){"use strict";var r=n(0),i=n(7),o=n.n(i);const s=r.d.EMBED_SHARE_OVERLAY_HIDE_EVENT,a=r.d.EMBED_SHARE_OVERLAY_SHOW_EVENT,l="video-entity--loaded",c="video-entity--play",u="video-entity--pause",d="video-entity--ended";t.a=class{constructor(e,t){const n=document.querySelector(".share-native-video__node"),i=document.querySelector(".post-wrapper--compact"),s=r.i.makeArray(document.querySelectorAll(".share-native-video__iframe"));if(this.videoInitialisedPromise=r.i.getDeferredPromise(),e&&n)new r.b(n).getPlayerPromise().then(n=>(i&&this._handleCompactVideoPlayer(n,i,t,e),this.videoInitialisedPromise.resolve()));else if(s.length&&(r.h.init(s),i)){const n=s[0];n&&n.addEventListener("load",()=>{const r=new o.a.Player(n);r.on("ready",()=>{this._handleCompactVideoPlayer(r,i,t,e)})})}}_handleCompactVideoPlayer(e,t,n,r){const i=document.querySelector(".social-share__state"),o=document.querySelector(".social-share__button"),h=document.querySelector(".share-native-video-overlay__topbar-item--like"),p=document.querySelector(".share-native-video-overlay__topbar-title"),m=document.querySelector(".share-native-video"),f=[i,o,h,p],v=document.querySelector(".share-native-video-overlay__preview");v&&(this._hideElementsCoveredByOverlay(e,m,f,r),v.addEventListener("click",()=>{t.classList.add(l),this._restoreElementsCoveredByOverlay(e,m,f,r),e.play()})),e.on("play",function(){t.classList.remove(d),t.classList.remove(u),t.classList.add(c)}),e.on("pause",function(){t.classList.remove(c),t.classList.add(u)}),e.on("ended",function(){t.classList.add(d),t.classList.remove(c)}),n&&(n.addEventListener(a,()=>{this._hideElementsCoveredByOverlay(e,m,f,r)}),n.addEventListener(s,()=>{this._restoreElementsCoveredByOverlay(e,m,f,r)}))}_hideElementsCoveredByOverlay(e,t,n,r){r&&e.controlBar.hide(),t&&t.setAttribute("aria-hidden","true"),n.forEach(e=>{e&&e.classList.add("visibility-hidden")})}_restoreElementsCoveredByOverlay(e,t,n,r){r&&e.controlBar.show(),t&&t.removeAttribute("aria-hidden"),n.forEach(e=>{e&&e.classList.remove("visibility-hidden")})}}},function(e,t,n){!function(t){var n={};function createPrototypeFunction(e){return function(){var t={method:e},r=Array.prototype.slice.call(arguments);/^get/.test(e)?(n.assert(r.length>0,"Get methods require a callback."),r.unshift(t)):(/^set/.test(e)&&(n.assert(0!==r.length,"Set methods require a value."),t.value=r[0]),r=[t]),this.send.apply(this,r)}}n.DEBUG=!1,n.VERSION="0.0.12",n.CONTEXT="player.js",n.POST_MESSAGE=!!t.postMessage,n.origin=function(e){return"//"===e.substr(0,2)&&(e=t.location.protocol+e),e.split("/").slice(0,3).join("/")},n.addEvent=function(e,t,n){e&&(e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on "+t]=n)},n.removeEvent=function(e,t,n){e&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null)},n.log=function(){n.log.history=n.log.history||[],n.log.history.push(arguments),t.console&&n.DEBUG&&t.console.log(Array.prototype.slice.call(arguments))},n.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},n.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},n.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},n.isNone=function(e){return null==e},n.has=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.indexOf=function(e,t){if(null==e)return-1;var n=0,r=e.length;if(Array.prototype.IndexOf&&e.indexOf===Array.prototype.IndexOf)return e.indexOf(t);for(;n<r;n++)if(e[n]===t)return n;return-1},n.assert=function(e,t){if(!e)throw t||"Player.js Assert Failed"},n.Keeper=function(){this.init()},n.Keeper.prototype.init=function(){this.data={}},n.Keeper.prototype.getUUID=function(){return"listener-xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},n.Keeper.prototype.has=function(e,t){if(!this.data.hasOwnProperty(e))return!1;if(n.isNone(t))return!0;for(var r=this.data[e],i=0;i<r.length;i++)if(r[i].id===t)return!0;return!1},n.Keeper.prototype.add=function(e,t,n,r,i){var o={id:e,event:t,cb:n,ctx:r,one:i};this.has(t)?this.data[t].push(o):this.data[t]=[o]},n.Keeper.prototype.execute=function(e,t,r,i){if(!this.has(e,t))return!1;for(var o=[],s=[],a=0;a<this.data[e].length;a++){var l=this.data[e][a];n.isNone(t)||!n.isNone(t)&&l.id===t?(s.push({cb:l.cb,ctx:l.ctx?l.ctx:i,data:r}),!1===l.one&&o.push(l)):o.push(l)}0===o.length?delete this.data[e]:this.data[e]=o;for(var c=0;c<s.length;c++){var u=s[c];u.cb.call(u.ctx,u.data)}},n.Keeper.prototype.on=function(e,t,n,r){this.add(e,t,n,r,!1)},n.Keeper.prototype.one=function(e,t,n,r){this.add(e,t,n,r,!0)},n.Keeper.prototype.off=function(e,t){var r=[];if(!this.data.hasOwnProperty(e))return r;for(var i=[],o=0;o<this.data[e].length;o++){var s=this.data[e][o];n.isNone(t)||s.cb===t?n.isNone(s.id)||r.push(s.id):i.push(s)}return 0===i.length?delete this.data[e]:this.data[e]=i,r},n.Player=function(e,t){if(!(this instanceof n.Player))return new n.Player(e,t);this.init(e,t)},n.EVENTS={READY:"ready",PLAY:"play",PAUSE:"pause",ENDED:"ended",TIMEUPDATE:"timeupdate",PROGRESS:"progress",ERROR:"error"},n.EVENTS.all=function(){var e=[];for(var t in n.EVENTS)n.has(n.EVENTS,t)&&n.isString(n.EVENTS[t])&&e.push(n.EVENTS[t]);return e},n.METHODS={PLAY:"play",PAUSE:"pause",GETPAUSED:"getPaused",MUTE:"mute",UNMUTE:"unmute",GETMUTED:"getMuted",SETVOLUME:"setVolume",GETVOLUME:"getVolume",GETDURATION:"getDuration",SETCURRENTTIME:"setCurrentTime",GETCURRENTTIME:"getCurrentTime",SETLOOP:"setLoop",GETLOOP:"getLoop",REMOVEEVENTLISTENER:"removeEventListener",ADDEVENTLISTENER:"addEventListener"},n.METHODS.all=function(){var e=[];for(var t in n.METHODS)n.has(n.METHODS,t)&&n.isString(n.METHODS[t])&&e.push(n.METHODS[t]);return e},n.READIED=[],n.Player.prototype.init=function(e,r){var i=this;n.isString(e)&&(e=document.getElementById(e)),this.elem=e,this.origin=n.origin(e.src),this.keeper=new n.Keeper,this.isReady=!1,this.queue=[],this.events=n.EVENTS.all(),this.methods=n.METHODS.all(),this._boundReceive=function(e){this.receive(e)}.bind(this),n.POST_MESSAGE?n.addEvent(t,"message",this._boundReceive):n.log("Post Message is not Available."),n.indexOf(n.READIED,e.src)>-1?i.loaded=!0:this.elem.onload=function(){i.loaded=!0}},n.Player.prototype.send=function(e,t,r){if(e.context=n.CONTEXT,e.version=n.VERSION,t){if(!this.keeper)return!1;var i=this.keeper.getUUID();e.listener=i,this.keeper.one(i,e.method,t,r)}return this.isReady||"ready"===e.value?(n.log("Player.send",e,this.origin),!0===this.loaded&&this.elem.contentWindow&&this.elem.contentWindow.postMessage(JSON.stringify(e),this.origin),!0):(n.log("Player.queue",e),this.queue.push(e),!1)},n.Player.prototype.receive=function(e){if(n.log("Player.receive",e),e.origin!==this.origin)return!1;var t;try{t=JSON.parse(e.data)}catch(e){return!1}if(t.context!==n.CONTEXT)return!1;"ready"===t.event&&t.value&&t.value.src===this.elem.src&&this.ready(t),this.keeper&&this.keeper.has(t.event,t.listener)&&this.keeper.execute(t.event,t.listener,t.value,this)},n.Player.prototype.ready=function(e){if(!0===this.isReady)return!1;e.value.events&&(this.events=e.value.events),e.value.methods&&(this.methods=e.value.methods),this.isReady=!0,this.loaded=!0;for(var t=0;t<this.queue.length;t++){var r=this.queue[t];n.log("Player.dequeue",r),"ready"===e.event&&this.keeper.execute(r.event,r.listener,!0,this),this.send(r)}this.queue=[]},n.Player.prototype.on=function(e,t,n){if(!this.keeper)return!1;var r=this.keeper.getUUID();return"ready"===e?this.keeper.one(r,e,t,n):this.keeper.on(r,e,t,n),this.send({method:"addEventListener",value:e,listener:r}),!0},n.Player.prototype.off=function(e,t){if(!this.keeper)return!1;var r=this.keeper.off(e,t);if(n.log("Player.off",r),r.length>0)for(var i in r)return this.send({method:"removeEventListener",value:e,listener:r[i]}),!0;return!1},n.Player.prototype.supports=function(e,t){n.assert(n.indexOf(["method","event"],e)>-1,'evtOrMethod needs to be either "event" or "method" got '+e),t=n.isArray(t)?t:[t];for(var r="event"===e?this.events:this.methods,i=0;i<t.length;i++)if(-1===n.indexOf(r,t[i]))return!1;return!0},n.Player.prototype.destroy=function(){n.removeEvent(t,"message",this._boundReceive);try{delete this.origin,delete this.keeper,delete this.isReady,delete this.queue,delete this.events,delete this.methods}catch(e){n.log("Error deleting Player properties",e)}};for(var r=0,i=n.METHODS.all().length;r<i;r++){var o=n.METHODS.all()[r];n.Player.prototype.hasOwnProperty(o)||(n.Player.prototype[o]=createPrototypeFunction(o))}n.addEvent(t,"message",function(e){var t;try{t=JSON.parse(e.data)}catch(e){return!1}if(t.context!==n.CONTEXT)return!1;"ready"===t.event&&t.value&&t.value.src&&n.READIED.push(t.value.src)}),n.Receiver=function(e,t){this.init(e,t)},n.Receiver.prototype.init=function(e,r){var i=this;this.isReady=!1,this.cachedError=!1,this.origin=n.origin(document.referrer),this.methods={},this.supported={events:e||n.EVENTS.all(),methods:r||n.METHODS.all()},this.eventListeners={},this.reject=!(t.self!==t.top&&n.POST_MESSAGE),this.reject||n.addEvent(t,"message",function(e){i.receive(e)})},n.Receiver.prototype.receive=function(e){if(e.origin!==this.origin)return!1;var r={};if(n.isObject(e.data))r=e.data;else try{r=t.JSON.parse(e.data)}catch(e){n.log("JSON Parse Error",e)}if(n.log("Receiver.receive",e,r),!r.method)return!1;if(r.context!==n.CONTEXT)return!1;if(-1===n.indexOf(n.METHODS.all(),r.method))return this.emit("error",{code:2,msg:'Invalid Method "'+r.method+'"'}),!1;var i=n.isNone(r.listener)?null:r.listener;if("addEventListener"===r.method)this.eventListeners.hasOwnProperty(r.value)?-1===n.indexOf(this.eventListeners[r.value],i)&&this.eventListeners[r.value].push(i):this.eventListeners[r.value]=[i],"ready"===r.value&&this.isReady?this.ready():"error"===r.value&&this.cachedError&&this.error();else if("removeEventListener"===r.method){if(this.eventListeners.hasOwnProperty(r.value)){var o=n.indexOf(this.eventListeners[r.value],i);o>-1&&this.eventListeners[r.value].splice(o,1),0===this.eventListeners[r.value].length&&delete this.eventListeners[r.value]}}else this.get(r.method,r.value,i)},n.Receiver.prototype.get=function(e,t,n){var r=this;if(!this.methods.hasOwnProperty(e))return this.emit("error",{code:3,msg:'Method Not Supported"'+e+'"'}),!1;var i=this.methods[e];if("get"===e.substr(0,3)){i.call(this,function(t){r.send(e,t,n)})}else i.call(this,t)},n.Receiver.prototype.on=function(e,t){this.methods[e]=t},n.Receiver.prototype.send=function(e,r,i){if(n.log("Receiver.send",e,r,i),this.reject)return n.log("Receiver.send.reject",e,r,i),!1;var o={context:n.CONTEXT,version:n.VERSION,event:e};n.isNone(r)||(o.value=r),n.isNone(i)||(o.listener=i);var s=JSON.stringify(o);t.parent.postMessage(s,""===this.origin?"*":this.origin)},n.Receiver.prototype.emit=function(e,t){if(!this.eventListeners.hasOwnProperty(e))return"error"===e&&(this.cachedError=t||!0),!1;n.log("Instance.emit",e,t,this.eventListeners[e]);for(var r=0;r<this.eventListeners[e].length;r++){var i=this.eventListeners[e][r];this.send(e,t,i)}return!0},n.Receiver.prototype.ready=function(){n.log("Receiver.ready"),this.isReady=!0;var e={src:t.location.toString(),events:this.supported.events,methods:this.supported.methods};this.emit("ready",e)||this.send("ready",e)},n.Receiver.prototype.error=function(){n.log("Receiver.error");var e=this.cachedError;this.emit("error",e)||this.send("error",e),this.cachedError=!1},n.HTML5Adapter=function(e){if(!(this instanceof n.HTML5Adapter))return new n.HTML5Adapter(e);this.init(e)},n.HTML5Adapter.prototype.init=function(e){n.assert(e,"playerjs.VideoJSReceiver requires a video element");var t=this.receiver=new n.Receiver;e.addEventListener("playing",function(){t.emit("play")}),e.addEventListener("pause",function(){t.emit("pause")}),e.addEventListener("ended",function(){t.emit("ended")}),e.addEventListener("timeupdate",function(){t.emit("timeupdate",{seconds:e.currentTime,duration:e.duration})}),e.addEventListener("progress",function(){t.emit("buffered",{percent:e.buffered.length})}),t.on("play",function(){e.play()}),t.on("pause",function(){e.pause()}),t.on("getPaused",function(t){t(e.paused)}),t.on("getCurrentTime",function(t){t(e.currentTime)}),t.on("setCurrentTime",function(t){e.currentTime=t}),t.on("getDuration",function(t){t(e.duration)}),t.on("getVolume",function(t){t(100*e.volume)}),t.on("setVolume",function(t){e.volume=t/100}),t.on("mute",function(){e.muted=!0}),t.on("unmute",function(){e.muted=!1}),t.on("getMuted",function(t){t(e.muted)}),t.on("getLoop",function(t){t(e.loop)}),t.on("setLoop",function(t){e.loop=t})},n.HTML5Adapter.prototype.ready=function(){this.receiver.ready()},n.JWPlayerAdapter=function(e){if(!(this instanceof n.JWPlayerAdapter))return new n.JWPlayerAdapter(e);this.init(e)},n.JWPlayerAdapter.prototype.init=function(e){n.assert(e,"playerjs.JWPlayerAdapter requires a player object");var t=this.receiver=new n.Receiver;this.looped=!1,e.onPause(function(){t.emit("pause")}),e.onPlay(function(){t.emit("play")}),e.onTime(function(e){var n=e.position,r=e.duration;if(!n||!r)return!1;var i={seconds:n,duration:r};t.emit("timeupdate",i)});var r=this;e.onComplete(function(){!0===r.looped?e.seek(0):t.emit("ended")}),e.onError(function(){t.emit("error")}),t.on("play",function(){e.play(!0)}),t.on("pause",function(){e.pause(!0)}),t.on("getPaused",function(t){t(e.getState().toLowerCase()!=="PLAYING".toLowerCase())}),t.on("getCurrentTime",function(t){t(e.getPosition())}),t.on("setCurrentTime",function(t){e.seek(t)}),t.on("getDuration",function(t){t(e.getDuration())}),t.on("getVolume",function(t){t(e.getVolume())}),t.on("setVolume",function(t){e.setVolume(t)}),t.on("mute",function(){e.setMute(!0)}),t.on("unmute",function(){e.setMute(!1)}),t.on("getMuted",function(t){t(!0===e.getMute())}),t.on("getLoop",function(e){e(this.looped)},this),t.on("setLoop",function(e){this.looped=e},this)},n.JWPlayerAdapter.prototype.ready=function(){this.receiver.ready()},n.MockAdapter=function(){if(!(this instanceof n.MockAdapter))return new n.MockAdapter;this.init()},n.MockAdapter.prototype.init=function(){var e={duration:20,currentTime:0,interval:null,timeupdate:function(){},volume:100,mute:!1,playing:!1,loop:!1,play:function(){e.interval=setInterval(function(){e.currentTime+=.25,e.timeupdate({seconds:e.currentTime,duration:e.duration})},250),e.playing=!0},pause:function(){clearInterval(e.interval),e.playing=!1}},t=this.receiver=new n.Receiver;t.on("play",function(){var t=this;e.play(),this.emit("play"),e.timeupdate=function(e){t.emit("timeupdate",e)}}),t.on("pause",function(){e.pause(),this.emit("pause")}),t.on("getPaused",function(t){t(!e.playing)}),t.on("getCurrentTime",function(t){t(e.currentTime)}),t.on("setCurrentTime",function(t){e.currentTime=t}),t.on("getDuration",function(t){t(e.duration)}),t.on("getVolume",function(t){t(e.volume)}),t.on("setVolume",function(t){e.volume=t}),t.on("mute",function(){e.mute=!0}),t.on("unmute",function(){e.mute=!1}),t.on("getMuted",function(t){t(e.mute)}),t.on("getLoop",function(t){t(e.loop)}),t.on("setLoop",function(t){e.loop=t})},n.MockAdapter.prototype.ready=function(){this.receiver.ready()},n.VideoJSAdapter=function(e){if(!(this instanceof n.VideoJSAdapter))return new n.VideoJSAdapter(e);this.init(e)},n.VideoJSAdapter.prototype.init=function(e){n.assert(e,"playerjs.VideoJSReceiver requires a player object");var t=this.receiver=new n.Receiver;e.on("pause",function(){t.emit("pause")}),e.on("play",function(){t.emit("play")}),e.on("timeupdate",function(n){var r=e.currentTime(),i=e.duration();if(!r||!i)return!1;var o={seconds:r,duration:i};t.emit("timeupdate",o)}),e.on("ended",function(){t.emit("ended")}),e.on("error",function(){t.emit("error")}),t.on("play",function(){e.play()}),t.on("pause",function(){e.pause()}),t.on("getPaused",function(t){t(e.paused())}),t.on("getCurrentTime",function(t){t(e.currentTime())}),t.on("setCurrentTime",function(t){e.currentTime(t)}),t.on("getDuration",function(t){t(e.duration())}),t.on("getVolume",function(t){t(100*e.volume())}),t.on("setVolume",function(t){e.volume(t/100)}),t.on("mute",function(){e.volume(0)}),t.on("unmute",function(){e.volume(1)}),t.on("getMuted",function(t){t(0===e.volume())}),t.on("getLoop",function(t){t(e.loop())}),t.on("setLoop",function(t){e.loop(t)})},n.VideoJSAdapter.prototype.ready=function(){this.receiver.ready()},e.exports=n}(window)}]);