Skip to main content
Chicago Employee homeNews home
Story

Nike to sell to Amazon.com for first time in six years, The Information says

0?r.style.removeProperty("margin-left"):r.style.marginLeft=c+"px":(r.style.removeProperty("margin-left"),r.style.marginLeft=Et+"px"),n.isTablet){var l=r.previousElementSibling;if(St&&St.contains(r));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);r.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){a.destroy()}))}(e,n),Rt(e),e.addElementListener(document,"DOMContentLoaded",(function(){Rt(e)})),Yt(e,n);var a=e.getConfig().bucketConfig,s=void 0===a?{}:a,c=s.enableDynamicNavfocus,l=void 0!==c&&c,u=s.enableFuzzyMatching;if(l&&(Dt=void 0!==u&&u,jt(n)),e.addEventListener("nav:setFocus",(function(e){var t=e.detail,o=void 0===t?{}:t,i=o.hostname,r=void 0===i?window.location.hostname:i,a=o.pathname,s=void 0===a?window.location.pathname:a,c=o.options;jt(n,s,r,void 0===c?{}:c)})),i){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=ze("#ybar-nav-more-menu ul a","click",(function(n){e.triggerEvent("navigation",{event:n})}));e.addEventListener("nav:resize",(function(){Ut(n,d,r)})),Ut(n,d,r);var h=e.getConfig();if("complete"===document.readyState)zt(e,n,d,r);else{var f="load";("news"===h.property&&("zh-Hant-TW"===h.locale||"zh-Hant-HK"===h.locale)||"finance"===h.property&&"zh-Hant-TW"===h.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){zt(e,n,d,r)}))}e.addElementListener(window,"resize",(function(){Ut(n,d,r)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}Wt(e,n)},Gt=function(e,n){var t=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return n.isFuji2&&t},Wt=function(e,n){if(n.isNavHidden){var t=!1;e.addElementListener(document,"DOMContentLoaded",(function(t){n.isNavHidden()&&e.triggerEvent("l2:hide",{event:t})})),e.addElementListener(window,"resize",(function(o){!t&&n.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),t=n.isNavHidden()}))}},Jt="#ybar-nav-more-menu";ge("ybar-mod-navigation",(function(e){var n,t=e.getConfig(),o={dropdownWrapperClass:At,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===t.device||matchMedia("(hover: none)").matches,longListClass:Nt,moreMenuDropdown:document.querySelector("".concat(Jt," ul")),moreMenuNavItem:document.querySelector(Jt),moreMenuNavLinksSelector:"".concat(Jt," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(Jt," > button")),moreMenuNavItemClass:Pt,navigationDropdownItemClass:It,navigationDropdownListClass:Bt,navItems:document.querySelectorAll("ul.".concat(qt," li.").concat(Ot)),topLevelNavLinks:document.querySelectorAll("li.".concat(Ot," > a")),navLinks:document.querySelectorAll(".ybar-mod-navigation a"),navList:document.querySelector(".ybar-mod-navigation ul"),shiftMoreMenuEnabled:document.querySelector(".ybar-shift-more-menu"),ybarNav:document.getElementById("ybar-navigation"),ybarNavigationItemClass:Ot,dropdownOpenClass:Ct,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var n=window.getComputedStyle(e),o=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10);return"sports"===t.property?parseInt(n.marginRight):"finance"===t.property&&"crunch"===t.ytheme?(o-=1.8)>5?o:5:"crunch"===t.ytheme?o:0},navigationPlacement:function(){return n||(n=document.getElementById("ybar-nav-placement")),n},isNavHidden:function(){var e=!1;return"finance"===t.property&&"crunch"===t.ytheme&&document.documentElement.clientWidth=5||t.initialized?clearInterval(r):(void 0!==t.isNotificationsSupported()&&t.init(),i++)}),100)}return e.prototype.show=function(e){var n;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(eo),null===(n=this.a11yMenu)||void 0===n||n.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(no),document.body.classList.remove(eo),null===(e=this.a11yMenu)||void 0===e||e.setAttribute("aria-expanded","false"))},Object.defineProperty(e.prototype,"lastSeen",{get:function(){return this.state.lastSeen},set:function(e){this.state.lastSeen=e,this.setLocalStorage()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manuallyClosed",{get:function(){return this.state.manuallyClosed},set:function(e){this.state.manuallyClosed=!!e,this.setLocalStorage()},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.isNotificationsSupported()&&this.isNotificationPermissionDefault()&&(this.historyEnabled||document.body.classList.add(no),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:Qt)||(document.body.classList.add(no),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(to)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var n=new Date(this.lastSeen),t=new Date;return n.getTime()+e>t.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(Zt,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,n,t=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(Zt);if(null===t)return null;try{return JSON.parse(t)}catch(e){return null===(n=window.localStorage)||void 0===n||n.removeItem(Zt),null}},e}(),ro=-1,ao={0:0,1:1,9:9,99:99,150:150},so=function(e,n){var t,o=n.isUH3,i=n.notifMenu,r=n.notifMenuOpener,a=n.notifDropdown,s=n.notifBadge,c=n.notifContainer,l=n.notifLabel;n.tooltipContainer&&(t=new io(e,n.tooltipContainer));var u=W(),d=function(){i&&(i.checked=!1),null==a||a.classList.remove("ybarMenuOpen")},p=function(){var n;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(Vt))||(u.resetBadge(),s&&(o?null===(n=s.parentElement)||void 0===n||n.classList.remove(Kt):s.style.display="none"))},h=function(e){var n,t;0===ro&&(null===(n=null==e?void 0:e.css)||void 0===n?void 0:n.length)&&e.css.length>0&&(ro++,function(e){for(var n=function(e){var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,document.getElementsByTagName("head")[0].appendChild(n)},t=0;t0&&s)if(o){var r,a=(r=e.newCount)>99;s.textContent=a?"99+":r+"",null===(t=s.parentElement)||void 0===t||t.classList.add(Kt)}else s.style.display="block"},f=function(){u.refreshPanel().then(h).then(ne).catch((function(){}))};if(e.addEventListener("close-all-menus",(function(){xe(c)||d()})),c){f();var m=setInterval((function(){f()}),3e5);e.onDestroy((function(){clearInterval(m)})),o?l&&l.addEventListener("mouseenter",(function(){p(),null==t||t.show()})):c.addEventListener("mouseenter",(function(){p(),null==t||t.show()})),c.addEventListener("mouseleave",(function(){d(),null==t||t.hide()}))}e.addElementListener(i,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),r&&Se(e,r,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(a,"focusin",(function(){i&&(i.checked=!0),null==a||a.classList.add("ybarMenuOpen")})),e.addElementListener(a,"focusout",d),e.addElementListener(n.tooltipContainer,"focusin",(function(){null==t||t.show()})),e.addElementListener(n.tooltipContainer,"focusout",(function(){null==t||t.hide()}));var v=e.getConfig().device,y=document.getElementById("ybar");y&&y.classList.contains("ybar-ytheme-crunch")&&(ro=0);var g=new RegExp("[?&]notifications=1(&|#|$)");"desktop"===v&&i&&g.test(window.location.search)&&(i.checked=!0)};ge("ybar-mod-notification",(function(e){var n={isUH3:"crunch"===e.getConfig().ytheme,notifContainer:document.getElementById("notification-container"),notifBadge:document.getElementById("notif-badge"),notifMenu:document.getElementById("ybarNotificationMenu"),notifMenuOpener:document.querySelector("#ybarNotificationMenu + label"),notifDropdown:document.getElementById("notifDropdownContainer"),tooltipContainer:document.querySelector(".".concat(Xt)),notifLabel:document.querySelector(".".concat($t))};n.notifDropdown&&so(e,n)}))}()}};

TipRanks

Nike to sell to Amazon.com for first time in six years, The Information says

TipRanks

Recommended Stories