;(function() { window.createMeasureObserver = (measureName) => { var markPrefix = `_uol-measure-${measureName}-${new Date().getTime()}`; performance.mark(`${markPrefix}-start`); return { end: function() { performance.mark(`${markPrefix}-end`); performance.measure(`uol-measure-${measureName}`, `${markPrefix}-start`, `${markPrefix}-end`); performance.clearMarks(`${markPrefix}-start`); performance.clearMarks(`${markPrefix}-end`); } } }; /** * Gerenciador de eventos */ window.gevent = { stack: [], RUN_ONCE: true, on: function(name, callback, once) { this.stack.push([name, callback, !!once]); }, emit: function(name, args) { for (var i = this.stack.length, item; i--;) { item = this.stack[i]; if (item[0] === name) { item[1](args); if (item[2]) { this.stack.splice(i, 1); } } } } }; var runningSearch = false; var hadAnEvent = true; var elementsToWatch = window.elementsToWatch = new Map(); var innerHeight = window.innerHeight; // timestamp da última rodada do requestAnimationFrame // É usado para limitar a procura por elementos visíveis. var lastAnimationTS = 0; // verifica se elemento está no viewport do usuário var isElementInViewport = function(el) { var rect = el.getBoundingClientRect(); var clientHeight = window.innerHeight || document.documentElement.clientHeight; // renderizando antes, evitando troca de conteúdo visível no chartbeat-related-content if(el.className.includes('related-content-front')) return true; // garante que usa ao mínimo 280px de margem para fazer o lazyload var margin = clientHeight + Math.max(280, clientHeight * 0.2); // se a base do componente está acima da altura da tela do usuário, está oculto if(rect.bottom < 0 && rect.bottom > margin * -1) { return false; } // se o topo do elemento está abaixo da altura da tela do usuário, está oculto if(rect.top > margin) { return false; } // se a posição do topo é negativa, verifica se a altura dele ainda // compensa o que já foi scrollado if(rect.top < 0 && rect.height + rect.top < 0) { return false; } return true; }; var asynxNextFreeTime = () => { return new Promise((resolve) => { if(window.requestIdleCallback) { window.requestIdleCallback(resolve, { timeout: 5000, }); } else { window.requestAnimationFrame(resolve); } }); }; var asyncValidateIfElIsInViewPort = function(promise, el) { return promise.then(() => { if(el) { if(isElementInViewport(el) == true) { const cb = elementsToWatch.get(el); // remove da lista para não ser disparado novamente elementsToWatch.delete(el); cb(); } } }).then(asynxNextFreeTime); }; // inicia o fluxo de procura de elementos procurados var look = function() { if(window.requestIdleCallback) { window.requestIdleCallback(findByVisibleElements, { timeout: 5000, }); } else { window.requestAnimationFrame(findByVisibleElements); } }; var findByVisibleElements = function(ts) { var elapsedSinceLast = ts - lastAnimationTS; // se não teve nenhum evento que possa alterar a página if(hadAnEvent == false) { return look(); } if(elementsToWatch.size == 0) { return look(); } if(runningSearch == true) { return look(); } // procura por elementos visíveis apenas 5x/seg if(elapsedSinceLast < 1000/5) { return look(); } // atualiza o último ts lastAnimationTS = ts; // reseta status de scroll para não entrar novamente aqui hadAnEvent = false; // indica que está rodando a procura por elementos no viewport runningSearch = true; const done = Array.from(elementsToWatch.keys()).reduce(asyncValidateIfElIsInViewPort, Promise.resolve()); // obtém todos os elementos que podem ter view contabilizados //elementsToWatch.forEach(function(cb, el) { // if(isElementInViewport(el) == true) { // // remove da lista para não ser disparado novamente // elementsToWatch.delete(el); // cb(el); // } //}); done.then(function() { runningSearch = false; }); // reinicia o fluxo de procura look(); }; /** * Quando o elemento `el` entrar no viewport (-20%), cb será disparado. */ window.lazyload = function(el, cb) { if(el.nodeType != Node.ELEMENT_NODE) { throw new Error("element parameter should be a Element Node"); } if(typeof cb !== 'function') { throw new Error("callback parameter should be a Function"); } elementsToWatch.set(el, cb); } var setEvent = function() { hadAnEvent = true; }; window.addEventListener('scroll', setEvent, { capture: true, ive: true }); window.addEventListener('click', setEvent, { ive: true }); window.addEventListener('resize', setEvent, { ive: true }); window.addEventListener('load', setEvent, { once: true, ive: true }); window.addEventListener('DOMContentLoaded', setEvent, { once: true, ive: true }); window.gevent.on('allJSLoadedAndCreated', setEvent, window.gevent.RUN_ONCE); // inicia a validação look(); })();
  • AssineUOL
Topo

City celebra recorde e 'janeiro perfeito' após vencer nove jogos seguidos

Raheem Sterling, Mahrez e Rodri comemoram gol do Manchester City na goleada sobre o West Brom - Getty Images
Raheem Sterling, Mahrez e Rodri comemoram gol do Manchester City na goleada sobre o West Brom Imagem: Getty Images

Do UOL, em São Paulo

01/02/2021 09h03

Nove vitórias nos nove jogos do ano até aqui. É com essa marca que o Manchester City celebrou o chamado "janeiro perfeito" do time comandado por Pep Guardiola.

Neste período, o clube saiu da 8ª posição para a liderança do Campeonato Inglês e conseguiu uma vaga na final da Copa da Liga Inglesa.

De quebra, a equipe bateu um novo recorde no futebol britânico. "Vencemos todos os nove jogos competitivos em janeiro, o máximo por um time nas quatro primeiras divisões do futebol inglês em um único mês desde a formação da Liga de Futebol, em 1888", afirmou o City em seu site oficial.

Na sequência de jogos, a equipe marcou 24 gols e sofreu apenas dois - um do Chelsea e um do Cheltenham Town.

"Sem viagens e com todos em casa confinados, não podemos comemorar e ir a restaurantes. Conseguir o que eles conquistaram é notável, mais do que qualquer outro período de nossas vidas. Eu não esperava. Na reunião, dei o parabéns aos atletas, é notável o que fizeram. Mas agora vamos continuar. É ir para casa, descansar e focar no Burnley", disse Guardiola, em alusão ao próximo jogo do time.

Veja a lista de jogos do Manchester City no período:

Domingo, 3 de janeiro: Chelsea 1-3 City - Campeonato Inglês

Quarta-feira, 6 de janeiro: Manchester United 0-2 City - semifinal da Copa da Liga Inglesa

Domingo, 10 de janeiro: City 3-0 Birmingham - Terceira fase da Copa da Inglaterra

Quarta-feira, 13 de janeiro: City 1-0 Brighton - Campeonato Inglês

Domingo, 17 de janeiro: City 4-0 Crystal Palace - Campeonato Inglês

Quarta-feira, 20 de janeiro: City 2-0 Aston Villa - Campeonato Inglês

Sábado, 23 de janeiro: Cheltenham 1-3 City - Quarta fase da Copa da Inglaterra

Terça-feira, 26 de janeiro: West Brom 0-5 City - Campeonato Inglês

Sábado, 30 de janeiro: City 1-0 Sheffield United - Campeonato Inglês