;(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
Logo Pagbenk Seu dinheiro rende mais
Topo

Mercados da China registram pior mês desde maio de 2019 por coronavírus

Mark Schiefelbein/CHN/AP
Imagem: Mark Schiefelbein/CHN/AP

Luoyan Liu e Noah Sin

28/02/2020 07h34Atualizada em 28/02/2020 12h09

Os índices acionários da China recuaram nesta sexta-feira e encerraram o pior mês desde maio do ano ado, uma vez que os temores sobre o surto de coronavírus se tornar uma pandemia pesou sobre os mercados globais.

A queda de 3,2% do índice de Xangai em fevereiro, entretanto, é modesta em comparação com os outros importantes mercados, graças a um rali em meados do mês diante de medidas de apoio do governo.

No dia, o índice CSI300, que reúne as maiores companhias listadas em Xangai e Shenzhen, caiu 3,55%, enquanto o índice de Xangai teve perdas de 3,71%. Ambos marcaram a pior queda diária desde 3 de fevereiro, quando as infecções estavam rapidamente se espalhando na China.

"Podemos ter subestimado o impacto do surto do vírus fora da China", disse Yan Kaiwen, analista do China Fortune Securities. "Embora a China tenha conseguido controlar rapidamente o surto do vírus, não existem garantias de que outros países poderão fazer o mesmo", completou.

No mês, o CSI300 recuou 1,6%, enquanto o SSEC caiu 3,2%, registrando o pior mês desde maio de 2019, e a maior perda semanal desde abril.

Em comparação, o japonês Nikkei despencou 9% este mês, e o S&P 500 tinha queda de quase 8% até o fechamento de 27 de fevereiro.

  • Em TÓQUIO, o índice Nikkei recuou 3,67%, a 21.142 pontos.
  • Em HONG KONG, o índice HANG SENG caiu 2,42%, a 26.129 pontos.
  • Em XANGAI, o índice SSEC perdeu 3,71%, a 2.880 pontos.
  • O índice CSI300, que reúne as maiores companhias listadas em XANGAI e SHENZHEN, retrocedeu 3,55%, a 3.940 pontos.
  • Em SEUL, o índice KOSPI teve desvalorização de 3,30%, a 1.987 pontos.
  • Em TAIWAN, o índice TAIEX registrou baixa de 1,24%, a 11.292 pontos.
  • Em SINGAPURA, o índice STRAITS TIMES desvalorizou-se 3,23%, a 3.011 pontos.
  • Em SYDNEY o índice S&P/ASX 200 recuou 3,25%, a 6.441 pontos.