Clicando em ACEITO, você declara expressamente que é maior de idade, tem plena capacidade para acessar produtos relacionados a sexo e a conteúdos violentos, deseja ver conteúdos de caráter sexual e/ou violentos destinados exclusivamente a adultos, não considera ofensivos materiais relativos a nus ou outras atividades sexuais ou atividades violentas e abandonará, imediatamente, os conteúdos caso os considere ofensivos. Declara, por fim, conhecer e aceitar o Aviso Legal de Uso do Portal Terra.
Os conteúdos que você se dispõe a ver podem incluir textos, imagens ou outros materiais para adultos. Esses conteúdos são dirigidos especificamente para pessoas maiores de idade e que, segundo a legislação aplicável, tenham plena capacidade para acessar produtos relacionados a sexo ou a algum conteúdo violento. Fica, terminantemente, proibido o acesso a esses materiais por aqueles que não cumpram tais requisitos. Caso você não atenda a algum dos requisitos anteriormente expostos fica obrigado a clicar em NÃO ACEITO.
',error:'
OPS!
{{ error }}
{% if (showTryAgainButton) %}{% endif %}
',shareMenu:'
{% if duration != -1 %}
{{ duration }}
{% endif %}
',optionsMenu:'',fullscreen:''},expects:{properties:{videoId:{type:["number","string"],required:!0},container:{type:"dom",required:!0},height:{type:"number"},fitIn:{type:"boolean",default:!1},onReady:{type:"function"},onError:{type:"function"},autoPlay:{type:"boolean",default:!1},autoLoad:{type:"boolean",default:!0},startMuted:{type:"boolean",default:!1},isEmbedded:{type:"boolean",default:!0},useLowestBitrate:{type:"boolean",default:!1},clicked:{type:"boolean",default:!1},context:{type:"string",default:null},metricScenario:{type:"string",default:"autoplay"},debug:{type:"boolean",default:!1},overrideClass:{type:"string",default:null},overrideVideoUrl:{type:"string",default:null},isLive:{type:"boolean",default:!0},poster:{type:"string",default:null},prePoster:{type:"string",default:null},shareURL:{type:"string",default:null},controls:{type:"boolean",default:!0},loop:{type:"boolean",default:!1},kw:{type:"string",default:null},aspectRatio:{type:"string",default:"16:9"},advertise:{type:"object",properties:{tag:{type:"string"},tgmKey:{type:"string"},enabled:{type:"boolean",default:!0},overrideUrl:{type:"string"}},default:{enabled:!0}},onlyAdvertise:{type:"boolean",default:!1},startsAt:{type:"number"}}},setup:function(__STATIC_PUBLIC,PUBLIC,__shared){(STATIC_PUBLIC=__STATIC_PUBLIC).CONTINUOUS_PLAY=0,STATIC_PUBLIC.RELATED_LIST=1,STATIC_PUBLIC.states={},__shared.states={},STATIC_PUBLIC.instances=[],STATIC_PUBLIC.getInstances=function(){return STATIC_PUBLIC.instances},pkg.utils.make.observable(STATIC_PUBLIC.states),pkg.utils.make.observable(__shared.states),__shared.states.on("ended",function(a){STATIC_PUBLIC.states.set("ended",a)}),__shared.states.on("nextVideo",function(a){STATIC_PUBLIC.states.set("nextVideo",a)}),__shared.dependencies.mod.videojs.use("*",function(player){return{callPlay:function(){return console.info("Player --\x3e callPlay"),player._data.advertise.enabled&&player._PRIVATE.firstPlay?(console.info("Player --\x3e callPlay - loadAdvertise"),player._PRIVATE.firstPlay=!1,player._PRIVATE.loadAdvertise(),player._PRIVATE.middlewareAdMode=!0,__shared.dependencies.mod.videojs.middleware.TERMINATOR):player._PRIVATE.middlewareAdMode?(player._PRIVATE.adsManager&&(player._PRIVATE.isPaused?(player._PRIVATE.adsManager.resume(),player._PRIVATE.isPaused=!1,player._PRIVATE.videojsPlayer.trigger("play")):(player._PRIVATE.adsManager.pause(),player._PRIVATE.isPaused=!0,player._PRIVATE.videojsPlayer.trigger("pause"))),__shared.dependencies.mod.videojs.middleware.TERMINATOR):void(player._PRIVATE.removeTransition&&player._PRIVATE.removeTransition())}}})},init:function(dataParam,__shared){var data={},dataIndex;for(dataIndex in dataParam)dataParam.hasOwnProperty(dataIndex)&&(data[dataIndex]=dataParam[dataIndex]);data.height=data.height||STATIC_PRIVATE_defaultHeight;var PUBLIC=this,PRIVATE={els:{},translations:this.l10n,state:{},firstPlay:!0,firstPlayVideo:!0,isEmbedded:data.isEmbedded,isLive:data.isLive,isHls:!1,isRerun:!1,isCasting:!1,deviceType:pkg.context.platform.type,middlewareAdMode:!1,autoPip:data.autoPip,isRelatedVideo:data.isRelatedVideo,continuePip:data.continuePip};PUBLIC.api={},PRIVATE.canonizeFeed=function(feedData){function generateFallbackPosterURL(){return STATIC.posterUrl.replace("#VIDEO_ID#",videoId).replace(imgFilter,"").replace("#HEIGHT#",data.height).replace(thumbToken,feedData.playlist.content[updateImages])}function fixOldCropper(url){var result,oldUrlRegex,newResolution,result,parametersRegex;return result=/sdp\.terra\.com\.br\/thumbox\/free\/cnt[\d]*_w[\d]*_h[\d]*_[\d]*\.jpg/.test(url)?url.replace(/_w[\d]*_h[\d]*_/,newResolution="_w0_h0_"):(parametersRegex=/&w=[\d]*&h=[\d]*/,url.replace("p1.trrsf.com/image/get?src=","").replace(parametersRegex,""))}var pl=feedData.playlist,videoId=pl.content.id.toString();pl.content.parts&&(videoId=pl.content.parts[0].id.toString());var updateImages="last_update_images",allowEmbed="allow_embed",availableWidth="is_white_label",channelPath="white_label_name",videoData={id:pl.content.id,videoId:videoId,link:data.shareURL||pl.content.url||STATIC.videoLink.replace("#VIDEO_ID#",pl.content.id.toString()),embed:STATIC.embedString.replace("#VIDEO_ID#",pl.content.id.toString()),category:feedData.category,isStreaming:pl.content.isstreaming,streamingUrl:pl.content.urlsource,lastUpdateImages:pl.content[updateImages],title:pl.content.title,duration:pl.content.totalduration,type:pl.content.type,provider:{allowEmbed:pl.content.provider.allow_embed,id:pl.content.provider.id,title:pl.content.provider.title,audience:pl.content.provider.audience},vendor:pl.content.vendor,channel:{id:pl.content.channel.id,isWhiteLabel:pl.content.channel[availableWidth],whiteLabel:pl.content.channel[channelPath],title:pl.content.channel.title,class:data.overrideClass||pl.content.channel.class,hidden:pl.content.channel.hidden,path:pl.content.channel.path},bitrates:[],isLive:"LIVE"===pl.content.type,metrics:pl.content.metrics,adTag:pl.advertisement.tag,adFrequency:pl.advertisement.frequency,referer:feedData.referrer,canShare:!1,timestamps:pl.content.timestamps,author:Array.isArray(pl.content.authors)&&0playlist.attributes.BANDWIDTH&&(lowestBitrate=playlist.attributes.BANDWIDTH,lowestBitratePlaylistIndex=i),playlist.attributes.RESOLUTION&&playlist.attributes.RESOLUTION.height===lowestBitrateBySize){lowestBitratePlaylistIndex=i;break}}PRIVATE.setBitrateQuality(lowestBitratePlaylistIndex)}},PRIVATE.onClickBitrate=function(targetDom){var targetDom=targetDom.target[targetDom.target.selectedIndex];PRIVATE.setBitratePlaylist(targetDom),PRIVATE.state.set("userInteraction",!0)},PRIVATE.isFullscreenHelper=function(){return PRIVATE.videojsPlayer.isFullscreen()||PRIVATE.fullscreenAd},PRIVATE.shareClipboard=function(link,target){var originalText=target.innerHTML;target.innerHTML="Copiando...",navigator.clipboard.writeText(link).then(function(){target.innerHTML="Copiado!"},function(){target.innerHTML="Erro ao copiar!"}).finally(function(){setTimeout(function(){target.innerHTML=originalText},3e3)})},PRIVATE.setBitrateQuality=function(playlistIndex){var elem,elem;-1=referenceRects.right-referenceRects.left?finalPosition=referenceRects.right-referenceRects.left-subjectWidth/2:x-subjectWidth/2<=referenceRects.left&&(finalPosition=subjectWidth/2),elemMouseDisplay.style.left=(finalPosition||x)+"px"},toggleActiveMarker=function(current){PRIVATE.pqs(".vjs-chapter-marker.active-touch")&&PRIVATE.pqs(".vjs-chapter-marker.active-touch").classList.remove("active-touch"),current.classList.add("active-touch")},updateMouseDisplayTitle=function(refMarker){var currentTime=PRIVATE.videojsPlayer.currentTime(),refMarkerStartTime=parseFloat(refMarker.dataset.start),refMarkerEndTime=parseFloat(refMarker.dataset.end);if(refMarkerStartTime<=currentTime&¤tTime<=refMarkerEndTime)return toggleActiveMarker(refMarker),void(elemMouseDisplayTime.dataset.content=refMarker.dataset.chapterTitle);PRIVATE.chapterMarkers.forEach(function(marker){var markerStartTime=parseFloat(marker.dataset.start),markerEndTime=parseFloat(marker.dataset.end);markerStartTime<=currentTime&¤tTime<=markerEndTime&&(toggleActiveMarker(marker),elemMouseDisplayTime.dataset.content=marker.dataset.chapterTitle)})},chapterMarkerTouchHandler=function(xOffset){PRIVATE.chapterMarkers||(PRIVATE.chapterMarkers=PRIVATE.pqs(".vjs-chapter-marker",!0)),elemMouseDisplay.style.opacity=1,PRIVATE.progressBarTouchOffset=xOffset-PRIVATE.progressBarRects.left,elemMouseDisplayTime.innerText=PRIVATE.formatSecondsToReadableTime(PRIVATE.videojsPlayer.currentTime()),updateMouseDisplayPosition()},endTouch=function(){PRIVATE.els.progressBar.parentElement.classList.remove("active-touch"),PRIVATE.pqs(".vjs-chapter-marker.active-touch").classList.remove("active-touch"),elemMouseDisplay.style.opacity=0}),videoTimestamps.forEach(function(t,nextTimestampValue,self){var timeInSeconds=PRIVATE.getTimeStringInSeconds(t.value),elemChapterMarker=document.createElement("div"),leftOffsetPosCalc=timeInSeconds/PRIVATE.videoData.duration*100,widthCalc,nextTimestampValue,widthCalc;elemChapterMarker.className="vjs-chapter-marker",elemChapterMarker.style.left=leftOffsetPosCalc.toFixed(2)+"%",elemChapterMarker.setAttribute("data-start",timeInSeconds),elemChapterMarker.setAttribute("data-chapter-title",t.title),void 0!==self[nextTimestampValue+1]?(widthCalc=((nextTimestampValue=PRIVATE.getTimeStringInSeconds(self[nextTimestampValue+1].value))-timeInSeconds)/PRIVATE.videoData.duration*100,elemChapterMarker.style.width="calc("+widthCalc.toFixed(2)+"% - 1px)",elemChapterMarker.setAttribute("data-end",nextTimestampValue-1)):(widthCalc=(PRIVATE.videoData.duration-timeInSeconds)/PRIVATE.videoData.duration*100,elemChapterMarker.style.width=widthCalc.toFixed(2)+"%",elemChapterMarker.setAttribute("data-end",PRIVATE.videoData.duration)),"mob"===PRIVATE.deviceType?(elemChapterMarker.addEventListener("touchstart",function(evt){PRIVATE.progressBarRects=PRIVATE.els.progressBar.getClientRects()[0],PRIVATE.els.progressBar.parentElement.classList.add("active-touch"),toggleActiveMarker(this),elemMouseDisplayTime.dataset.content=this.dataset.chapterTitle,chapterMarkerTouchHandler(evt.touches[0].clientX)}),elemChapterMarker.addEventListener("touchmove",function(evt){chapterMarkerTouchHandler(evt.touches[0].clientX),0<=PRIVATE.progressBarTouchOffset&&PRIVATE.progressBarTouchOffset<=PRIVATE.progressBarRects.width&&updateMouseDisplayTitle(this)}),elemChapterMarker.addEventListener("touchend",endTouch),elemChapterMarker.addEventListener("touchcancel",endTouch)):elemChapterMarker.addEventListener("mouseover",function(evt){PRIVATE.els.mouseDisplayTime.setAttribute("data-content",this.dataset.chapterTitle)}),elemChapterMarkerWrapper.appendChild(elemChapterMarker)}),PRIVATE.videojsPlayer.el().classList.add("vjs-chapters-loaded"))},PRIVATE.bindAutoplayOnView=function(){var isFirstTime=!0,thresholdRatio=.25,rootMargin,handler=function(entry){!0!==PRIVATE.state.get("userInteraction")&&(entry.isIntersecting?PRIVATE.middlewareAdMode&&PRIVATE.adsManager?PRIVATE.adsManager.resume():!PUBLIC.api.isPip()&&isFirstTime?(isFirstTime=!1,PUBLIC.play(),pkg.context.page.trigger("video-autoplay-started",{videoId:PRIVATE.videoId})):0PRIVATE.videoData.duration?PRIVATE.els.shareMenuInput.value=PRIVATE.formatSecondsToReadableTime(PRIVATE.videoData.duration):PRIVATE.els.shareMenuInput.value=sanitized,PRIVATE.addQueryStringParamToVideoUrl("t",sanitizedInSeconds)})},PUBLIC.buildUp=function(){return PRIVATE.cleanUp(),PRIVATE.state.set("userInteraction",!1),new Promise(function buildUp(resolve,reject){PRIVATE.restoreVolumeValues(),PRIVATE.playerContainer.className.indexOf("zaz--standalone")<0&&(PRIVATE.playerContainer.className+=" zaz--standalone"),PRIVATE.playerContainer.appendChild(PUBLIC.templates.render("theBasics",PRIVATE)),PRIVATE.els.player=PRIVATE.playerContainer.firstChild,PUBLIC.player=PRIVATE.els.player,resolve()})},PRIVATE.loadDependencies=function(){return Promise.all([new Promise(function(resolve,reject){!1===data.advertise.enabled?resolve():pkg.require(["mod.dfp"],function(){console.info("Loaded Google IMA SDK"),resolve()},function(error){console.error("Error loading Google IMA SDK",error),resolve()})}),new Promise(function(resolve,reject){!1===data.advertise.enabled?resolve():pkg.require(["mod.prebid"],function(){console.info("Loaded Prebid"),resolve()},function(error){console.error("Error loading Prebid",error),resolve()})})])},PRIVATE.getVideoData=function(videoId){return new Promise(function getVideoDataPromise(resolve,reject){var videoUrl=STATIC.backendVideoUrl.replace("#VIDEO_ID#",videoId.toString());console.log("Loading video: "+videoUrl),fetch(videoUrl).then(function(response){if(response.ok)return response.json();throw new Error("Error fetching video data")}).then(function(canonizedData){var isHLS=!1,canonizedData=PRIVATE.canonizeFeed(canonizedData),videoResult,isHLS;data.overrideVideoUrl&&(videoResult={url:data.overrideVideoUrl,type:"application/x-mpegURL"},isHLS=!0,0<=data.overrideVideoUrl.indexOf(".mp4")&&(isHLS=!(videoResult.type="video/mp4")),resolve([videoResult,canonizedData,isHLS]));var videoResult={url:null,type:null},results;1