Acervo
PUBLICIDADE

PESQUISAR NO ACERVO O GLOBO

Destaques no Blog do Acervo O Globo

Mais vistas no Acervo

Relembramos episódio que vitimou autor dos maiores hits da banda O Rappa e resgatamos entrevistas que mostram como ele lidou com a vida na cadeira de rodas

O assalto com 'bonde' armado na Tijuca que deixou Marcelo Yuka paraplégico, há 25 anos

Príncipe William posou no mesmo local de foto famosa de sua mãe, no Cristo; Lady Di também foi a hospital da UFRJ e assistiu ao Grupo Corpo no Theatro Municipal

Como foi a visita da princesa Diana no Rio, em 1991

Máxima da política de confronto na segurança pública ficou famosa como slogan de político que integrava grupo de extermínio

Qual a origem da frase 'bandido bom é bandido morto'?

Jornalista foi torturado e assassinado por Elias Maluco, então chefe do tráfico local, em 2002

Como a morte de Tim Lopes mostrou poder do Comando Vermelho nos complexos da Penha e do Alemão

Sete registros que viraram símbolos de episódios violentos em mais de 30 anos

De Vigário Geral à Vila Cruzeiro: Imagens que marcam história de violência no Rio

Alteração na Lei de Segurança Nacional (LSN) realizada pelo governo militar promoveu a mistura de presos políticos e bandidos comuns no presídio da Ilha Grande

Comando Vermelho: Como um decreto da ditadura levou à formação da facção

Há exatos 60 anos, governo militar publicava o Ato Institucional 2, extinguindo as eleições diretas para presidente e ampliando o número de ministros do STF

O decreto que tirou do povo brasileiro o direito de escolher seu presidente

Na data que celebra voo de Santos Dumont com o 14-Bis, em 1906, relembramos a história de Ozires Silva, um dos pais da fabricação de aviões no Brasil

Dia do Aviador: O criador da Embraer que foi testemunha da 'Noite dos OVNIs'

Quadro foi arrancado da parede num domingo enquanto milhares de visitantes estavam nas galerias, em 1998; as portas foram fechadas, e polícia revistou todos os presentes

Mistério no Louvre: A obra roubada do museu em Paris e jamais recuperada

Imagem do corpo do jornalista pendurado pelo pescoço tem evidências de que cena foi forjada por militares após assassinato, ocorrido há 50 anos

A foto que expôs a farsa do 'suicídio' de Vladimir Herzog durante a ditadura

Veja a capa no dia em que você nasceu

"),n.document.write('\n \n \n '),n.document.write('
'),n.document.write(t),n.document.write(" "),n.document.write("\n \n \n \n \n \n ')),t.print()}),document.getElementById("facebookShare").addEventListener("click",function(){var t="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(window.location.href)+"&app_id=289255557788943";window.open(t,"_blank")}),document.getElementById("whatsappShare").addEventListener("click",function(t){var e=encodeURIComponent(window.location.href),n="https://api.whatsapp.com/send?text="+encodeURIComponent("Confira esta página no Acervo\n")+e;window.open(n,"_blank")}),document.getElementById("twitterShare").addEventListener("click",function(t){var e=encodeURIComponent(window.location.href),n="https://twitter.com/intent/tweet?text="+encodeURIComponent("Confira esta página no Acervo\n")+"&url="+e;window.open(n,"_blank")})});var f=function(){var t=(i-1)/5*100;t>100&&(t=100),a.textContent="".concat(t.toFixed(0),"%")};o.onclick=function(){i<6&&(i++,n.style.transform="scale(".concat(i,")"),f())},r.onclick=function(){i>1&&(i--,n.style.transform="scale(".concat(i,")"),f())}}},function(t,e,n){var o=n(5).default;function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,n){return t[e]=n}}function f(t,e,n,o){var r=e&&e.prototype instanceof h?e:h,a=Object.create(r.prototype),c=new I(o||[]);return i(a,"_invoke",{value:function(t,e,n){var o="suspendedStart";return function(r,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw a;return{value:void 0,done:!0}}for(n.method=r,n.arg=a;;){var i=n.delegate;if(i){var c=L(i,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var u=p(t,e,n);if("normal"===u.type){if(o=n.done?"completed":"suspendedYield",u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o="completed",n.method="throw",n.arg=u.arg)}}}(t,n,c)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var m={};function h(){}function v(){}function y(){}var g={};d(g,u,function(){return this});var w=Object.getPrototypeOf,b=w&&w(w(O([])));b&&b!==n&&a.call(b,u)&&(g=b);var x=y.prototype=h.prototype=Object.create(g);function _(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){var n;i(this,"_invoke",{value:function(r,i){function c(){return new e(function(n,c){!function n(r,i,c,u){var s=p(t[r],t,i);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==o(d)&&a.call(d,"__await")?e.resolve(d.__await).then(function(t){n("next",t,c,u)},function(t){n("throw",t,c,u)}):e.resolve(d).then(function(t){l.value=t,c(l)},function(t){return n("throw",t,c,u)})}u(s.arg)}(r,i,n,c)})}return n=n?n.then(c,c):c()}})}function L(t,e){var n=e.method,o=t.iterator[n];if(void 0===o)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var r=p(o,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,m;var a=r.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t||""===t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--o){var r=this.tryEntries[o],i=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=a.call(r,"catchLoc"),u=a.call(r,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;S(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},e}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(e){"@babel/helpers - typeof";return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";n.r(e);n(7);var o=n(2),r=n(3);Object(o.default)(),Object(r.default)(),document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".dropdown .share"),e=document.querySelector(".dropdown-content");t.addEventListener("click",function(){e.style.display="block"===e.style.display?"none":"block"}),document.addEventListener("click",function(n){t.contains(n.target)||e.contains(n.target)||(e.style.display="none")})})},function(t,e,n){}]); !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(5);function a(e,t){for(var n=0;n4)throw new Error("Date must be valid and have a 4-digit year attribute");return e%4==0}},{key:"getDecadesFromYear",value:function(e){if(Number.isNaN(e)||e.toString().length<4||e.toString().length>4)throw new Error("Date must be valid and have a 4-digit year attribute");var t=Number("".concat(e.toString()[2],"0")),n=e.toString().substring(0,2);return{start:t=0===t?Number("".concat(n,"00")):Number("".concat(n).concat(t)),end:t+10}}},{key:"getYearsFromDecade",value:function(e){if(Number.isNaN(e)||e.toString().length<4||e.toString().length>4)throw new Error("Date must be valid and have a 4-digit year attribute");return{start:e,end:Number(e)+9}}},{key:"getDaysFromMonthAndYear",value:function(e,t){if(Number.isNaN(t)||Number.isNaN(e)||t.toString().length<4||t.toString().length>4)throw new Error("Date must be valid");return{start:1,end:this.isLeapYear(t)&&"fevereiro"===s[e]?u[e]+1:u[e]}}},{key:"getMonths",value:function(){return s}}]),e}(),c=function(){function e(t){a()(this,e),this._initial=new l(window.birthdayInitialDate),console.log(this._initial),this._today=new l,this.baseUrl=window.birthdayUrl,this._busca=t,this._formDate=this._busca.querySelector(".date-fields"),this._submitButton=this._busca.querySelector('.btn-birthday-send[type="submit"]'),this._selectYear=this._formDate.querySelector('.date-fields__year[name="year"]'),this._selectMonth=this._formDate.querySelector('.date-fields__month[name="month"]'),this._selectDay=this._formDate.querySelector('.date-fields__day[name="day"]')}return o()(e,[{key:"init",value:function(){this._handleSelectDate(),this._fillYears(),this._handleSubmitButton(),this._handleSelectFields(),console.log(this._submitButton)}},{key:"_handleSelectDate",value:function(){var e=this;this._formDate.addEventListener("change",function(t){var n=t.target.dataset.type,r=t.target.value;switch(n){case"ano":e._clearSelect(e._selectMonth),e._clearSelect(e._selectDay),e._isNumeric(r)&&e._fillMonths(r);break;case"mes":e._clearSelect(e._selectDay),e._isNumeric(r)&&e._fillDays(r);break;case"dia":break;default:console.log("[Acervo]: Seleção inválida")}},!0)}},{key:"_fillYears",value:function(){var e=Number.parseInt(this._today.year),t=Number.parseInt(this._initial.year),n=[];console.log("Initial year: ",t," Today year: ",e);for(var r=t;r<=e;r++)n.push({value:r,label:r});this._fillOptions(n,this._selectYear)}},{key:"_fillMonths",value:function(e){var t=Number.parseInt(e),n=Number.parseInt(this._initial.numberMonth),r=Number.parseInt(this._initial.year),a=Number.parseInt(this._today.numberMonth),i=Number.parseInt(this._today.year),o=r===t?n:0,s=i===t?a-1:l.getMonths().length-1,u=[];s>=o&&(l.getMonths().map(function(e,t){t>=o&&t<=s&&u.push({value:t+1,label:e})}),this._fillOptions(u,this._selectMonth))}},{key:"_fillDays",value:function(e){var t=Number.parseInt(this._selectYear.value),n=Number.parseInt(e)-1,r=Number.parseInt(this._initial.year),a=Number.parseInt(this._initial.numberMonth),i=Number.parseInt(this._initial.day),o=Number.parseInt(this._today.year),s=Number.parseInt(this._today.numberMonth),u=s-1,c=Number.parseInt(this._today.day),d=l.getDaysFromMonthAndYear(n,t),f=[];r===t&&a===n&&(d.start=i),o===t&&(s===n||u===n)&&d.end>c&&(d.end=c);for(var h=d.start;h<=d.end;h++)f.push({value:h,label:h});this._fillOptions(f,this._selectDay)}},{key:"_fillOptions",value:function(e,t){e.forEach(function(e){var n=document.createElement("OPTION");n.value=e.value,n.innerHTML=e.label,n.classList.add("option"),t.appendChild(n)})}},{key:"_clearSelect",value:function(e){e.innerHTML="",this._fillOptions([{value:"",label:e.dataset.type.toUpperCase()}],e)}},{key:"_isNumeric",value:function(e){return"string"==typeof e&&(!isNaN(e)&&!isNaN(parseFloat(e)))}},{key:"_handleSubmitButton",value:function(){var e=this;this._submitButton.addEventListener("click",function(t){t.preventDefault();var n=e.getFields();e.isValid(n)&&(window.location.href=e.buildURLWithQueryParams(n))})}},{key:"_handleSelectFields",value:function(){var e=this;this._formDate.querySelectorAll("select").forEach(function(t){t.addEventListener("change",function(){var t=e.getFields();e.isValid(t)?e._submitButton.classList.remove("btn-birthday-send__disabled"):(e._submitButton.classList.remove("btn-birthday-send__disabled"),e._submitButton.classList.add("btn-birthday-send__disabled"))})})}},{key:"getFields",value:function(){return{decade:this.getDecade(this._selectYear.value).toString(),year:this._selectYear.value,month:this._selectMonth.value,day:this._selectDay.value}}},{key:"isValid",value:function(e){for(var t in e){if(e.hasOwnProperty(t))if(""===e[t])return console.log(t+" é inválido"),!1}return!0}},{key:"buildURLWithQueryParams",value:function(e){var t=Object.keys(e).map(function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))}).join("&"),n="".concat(this.baseUrl,"?").concat(t);return n.includes("https://")||n.includes("http://")?n:"https://".concat(n)}},{key:"getDecade",value:function(e){return 10*Math.floor(e/10)}}]),e}();window.addEventListener("DOMContentLoaded",function(e){new c(document.querySelector(".busca-aniversario")).init()})}]); !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict"}]); //]]>