e563e3104a54f19f6a97257440c13628a985a03dffb25c58bfd3bac1cabbd4c3

Source Code:

var lkqdFormatCache,VPAIDjs,VPAIDjsFrame,lkqdContainer,lkqdContainerTop,lkqdPlaceholder,lkqdSettings,lkqdContainerTopTextWidth,version=193,instance_id=(new Date).getTime().toString()+Math.round(1e9*Math.random()).toString();lkqdFormatCache=lkqdFormatCache||[];var xhrTrackingWindow=document.createElement("iframe");xhrTrackingWindow.style.display="none",document.documentElement.appendChild(xhrTrackingWindow);var cookieSync=document.createElement("iframe");cookieSync.style.display="none",cookieSync.setAttribute("src","https://ad.lkqd.net/cookie-sync/usync.html"),document.documentElement.appendChild(cookieSync);var adserverJson,pixelBaseUrl,pid,sid,playerContainer,player,playerWidth,playerHeight,dynamicSize,playInit,pubSupport,support,frequencyCapTimeout,frequencyCapBlocked,pubPageUrl,pageurl,appName,appVersion,bundleId,appStoreUrl,aid,idfa,geoLatitude,geoLongitude,geoLocation,dnt,didOverride,trackImp,trackClick,mlwScan,adId,adParameters,adVpaidUrl,winningAd,winningAdTagId,winningAdCpm,lkqdPassback,lkqdPassbackType,passbackContainer,passbackFirstStartTime,videoContent,videoContentURL,videoContentLP,videoContentInitiation,videoContentPosterURL,lkqdSkipDelay,closeTimeRemainingInterval,pubBlockedTags,limitMaxOpps,limitMaxImps,oppInterval,pubVPAIDSubs={},pubVPAIDCalls={},pubVPAIDEvents=[],startad=!1,lkqdInitAttempts=0,adimpression=!1,stopped=!1,formatloadfired=!1,execution="",executions=["instream","outstream","inbanner","any","interstitial"],executionValid=!0,placement="",playInitiation="auto",userInitiated=!1,pubMacros="",controls=!1,volume=1,volumeOn=!1,volumeOff=!1,gdpr="",gdprcs="",lkqdPassbackLoaded=!1,passbackFirst=!1,passbackFirstDisplayTime=2500,videoContentPlaySetting="post",videoContentVolume=0,videoContentLoop=!0,videoContentControls=!1,viewabilityTriggered=!1,clickTriggered=!1,lkqdSkip=!1,lkqdCloseButton=!0,lkqdCloseDelay=0,lkqdCloseTimeRemaing=0,dfp=!1,testPage=!1,totalOpps=0,totalImps=0,invalidDevice=!1,approvalMode=!1,brandingMessage="",LkqdEvent1=!1,informDebug=!1,sidBlocks=[787351,787355,761473,716187,761470,761469,782789,787557,787557,787558,764421,764420,764417,727909,777261,601234,667786,771822,703929,777253,771826,703941,730673,667798,667762,771819,755485,761680,774215,774210,774219,774222,608988,516335,476847,476842,723673,459056,608992,631515,647243,608993,608991,476846,608994,516333,476849,631535,608995,631524,768614,774473,768617,774471,773612,774351,683891,774339,687171,755484,755465,775134,755463,775133,775129,780131,740432,740420,740433,740435,750217,790213,790223,576255,723915,726709,768631,780158,714736,785587,788896,773796,773807,773812,632477,788898,788903,780105,780107,780109,735383,760049,784440,728797,760049,784440,728797,105351,105352,105350,448607,105362,684774,792830,792832,792909,792817,792827,792910,792815,792835,792763,792764,664548,643472,498284,761471,462875,424252,457543,424234,643460,643449,424248,462838,462871,643487,457850,498280,498300,498322,396135,457533,498322,498295],pubDirectBlocks=["bestproducts.com","cosmopolitan.com","crfashionbook.com","countryliving.com","delish.com","drozthegoodlife.com","elle.com","elledecor.com","esquire.com","goodhousekeeping.com","harpersbazaar.com","housebeautiful.com","lennyletter.com","marieclaire.com","popularmechanics.com","redbookmag.com","roadandtrack.com","seventeen.com","wearesweet.co","townandcountrymag.com","veranda.com","womansday.com","ar-revista.com","caranddriver.es","crecerfeliz.es","cosmopolitan.es","diezminutos.es","elle.es","emprendedores.es","fotogramas.es","micasarevista.com","quo.es","cosmopolitan.in","cosmopolitan.it","elle.it",".turn.","elledecor.it","gioia.it","lafigurina.com","letteradonna.it","marieclaire.it","shoppingdonna.it","posumead","25ans.jp","openx.net","cosmopolitan-jp.com","elle.jp","adform.ne","ellegirl.jp","harpersbazaar.jp","kyoto.jp","mensclub.jp","womenshealth-jp.com","cosmopolitan.comng","cosmopolitan.nl","elle.nl","elleeten.nl","esquire.nl","adnxs.","fiscalert.nl","harpersbazaar.nl","quotenet.nl","red.nl","womenshealthmag.nl","cosmopolitan.com.tw","harpersbazaar.com.tw","cosmopolitan.comuk","rubiconpro","countryliving.co.uk","digitalspy.com","elleuk.com","elledecoration.co.uk","esquire.co.uk","goodhousekeeping.co.uk","harpersbazaar.co.uk","housebeautiful.co.uk","jamieoliver.com","menshealth.co.uk","netdoctor.co.uk","prima.co.uk","redonline.co.uk","runnersworld.co.uk","townandcountrymag.co.uk","womenshealthmag.co.uk","tmz.com"],ibvSidWhiteList=[864668,492639,416691,416683,509864,685521,979017,979019,105352],ibvAppOnlyWhiteList=[181,396],userAgent=window.navigator.userAgent.toLowerCase(),document_context=document,window_context=window;try{document_context=window.parent.document,window_context=window.parent}catch(e){}var wlp="http:";try{(window.location.protocol&&"https:"==window.location.protocol||window.parent&&window.parent.location.protocol&&"https:"==window.parent.location.protocol||window.parent.parent&&window.parent.parent.location.protocol&&"https:"==window.parent.parent.location.protocol||window.parent.parent.parent&&window.parent.parent.parent.location.protocol&&"https:"==window.parent.parent.parent.location.protocol)&&(wlp="https:")}catch(e){}var randomPassbackEndpoint,sliderInterval,lkqdCdn="https://ad.lkqd.net/vpaid/",malwareScan=!1,toSlider=!1,hasSliderClass=!1,getVPAIDAd=function(){return{subscribe:function(e,t,n){t&&(pubVPAIDSubs[t]||(pubVPAIDSubs[t]=[]),pubVPAIDSubs[t].push({callback:e,context:n}))},unsubscribe:function(e,t){if(pubVPAIDSubs[t])for(var n=0;n<pubVPAIDSubs[t].length;n++)try{if(pubVPAIDSubs[t][n].callback&&pubVPAIDSubs[t][n].callback.toString()==e.toString()){pubVPAIDSubs[t].splice(n,1);break}}catch(e){}},handshakeVersion:function(e){return e},initAd:function(e,t,n,i,a,o){lkqdinitAd(e,t,n,i,a,o)},resizeAd:function(e,t,n){lkqdresizeAd(e,t,n)},startAd:function(){startad=!0,lkqdstartAd()},stopAd:function(){lkqdstopAd(!0)},pauseAd:function(){lkqdpauseAd()},resumeAd:function(){lkqdresumeAd()},expandAd:function(){},collapseAd:function(){},skipAd:function(){lkqdskipAd()},resetAd:function(){window!=top&&window.location.reload()},pauseContentVideo:function(){pauseContentVideo()},resumeContentVideo:function(){resumeContentVideo()},stopContentVideo:function(){stopContentVideo()},adLinear:function(){return!0},getAdLinear:function(){return!0},adWidth:function(){return playerWidth},getAdWidth:function(){return playerWidth},adHeight:function(){return playerHeight},getAdHeight:function(){return playerHeight},adExpanded:function(){return!1},getAdExpanded:function(){return!1},adSkippableState:function(){return!1},getAdSkippableState:function(){return!1},adRemainingTime:function(){return lkqdadRemainingTime()},getAdRemainingTime:function(){return lkqdadRemainingTime()},adDuration:function(){return lkqdadDuration()},getAdDuration:function(){return lkqdadDuration()},adCompanions:function(){return""},getAdCompanions:function(){return""},adIcons:function(){return!1},getAdIcons:function(){return!1},getLKQDWinningAdTagId:function(){return winningAdTagId},getLKQDWinningAdCPM:function(){return winningAdCpm},getAdVolume:function(){return volume},adVolume:function(e){if(null==e)return volume;0<=e&&e<=1?(volume=e,lkqdadVolume()):1<e&&e<=100&&(volume=e/100,lkqdadVolume())},setAdVolume:function(e){try{0<=e&&e<=1?(volume=e,lkqdadVolume()):1<e&&e<=100&&(volume=e/100,lkqdadVolume())}catch(e){}}}};function lkqdinitAd(e,t,n,i,a,o){++lkqdInitAttempts;var r=!1,s=!1;try{if(o&&o.lkqdSettings&&o.lkqdSettings.execution&&"outstream"==o.lkqdSettings.execution&&("incontent"==o.lkqdSettings.placement||"vertical"==o.lkqdSettings.placement)){var l=top_access_check();if(o.slot)r=!0;else if(o.lkqdSettings.playerContainerId&&l){if(document.getElementById(o.lkqdSettings.playerContainerId))o.slot=document.getElementById(o.lkqdSettings.playerContainerId),r=!0;else if(window.parent&&window.parent.document.getElementById(o.lkqdSettings.playerContainerId))o.slot=window.parent.document.getElementById(o.lkqdSettings.playerContainerId),r=!0;else if(window.parent.parent&&window.parent.parent.document.getElementById(o.lkqdSettings.playerContainerId))o.slot=window.parent.parent.document.getElementById(o.lkqdSettings.playerContainerId),r=!0;else if(window.parent&&o.lkqdSettings.pid&&9==o.lkqdSettings.pid){var d;try{d=window.top.document.getElementsByTagName("iframe")}catch(e){d=""}if(d){for(var c=0;c<d.length;c++)try{d[c].contentWindow&&d[c].contentWindow.document.getElementById(o.lkqdSettings.playerContainerId)&&(o.slot=d[c].contentWindow.document.getElementById(o.lkqdSettings.playerContainerId),s=r=!0)}catch(e){}d=""}}}else l||(r=!0)}else r=!0;r||(lkqdInitAttempts<20?setTimeout(function(){lkqdinitAd(e,t,n,i,a,o)},500):create_and_fire_pixels(235))}catch(e){r=!0}if(!pubVPAIDCalls.initAd&&r){if(pubVPAIDCalls.initAd=(new Date).getTime(),++totalOpps,o&&null!=o.lkqdSettings&&null!=o.lkqdSettings.pid&&null!=o.lkqdSettings.execution){if(lkqdSettings=o.lkqdSettings,pid=lkqdSettings.pid)try{pid=parseInt(pid)}catch(e){}if(lkqdSettings.sid?sid=lkqdSettings.sid:1==mobile_check()&&lkqdSettings.sidMobileWeb?sid=lkqdSettings.sidMobileWeb:lkqdSettings.sidDesktop&&(sid=lkqdSettings.sidDesktop),sid)try{sid=parseInt(sid)}catch(e){}null!=lkqdSettings.execution&&lkqdSettings.execution&&(execution=lkqdSettings.execution),null!=lkqdSettings.placement&&lkqdSettings.placement&&(placement=lkqdSettings.placement),null!=lkqdSettings.support&&(pubSupport=lkqdSettings.support),null!=lkqdSettings.frequencyCap&&(frequencyCapTimeout=lkqdSettings.frequencyCap);try{if(window.localStorage&&frequencyCapTimeout){var p,u=(new Date).getTime(),m=parseInt(window.localStorage.getItem("lkqdFrequencyCapTimestamp"));m&&(p=(u-m)/1e3),p&&p<frequencyCapTimeout&&(frequencyCapBlocked=!0)}}catch(e){}if(null!=lkqdSettings.controls&&1==lkqdSettings.controls&&(controls=!0),null!=lkqdSettings.playInitiation&&lkqdSettings.playInitiation&&(playInitiation=lkqdSettings.playInitiation),null!=lkqdSettings.volume?1<(volume=lkqdSettings.volume)&&volume<=100&&(volume/=100):volume=0,null!=lkqdSettings.pageUrl&&(pubPageUrl=lkqdSettings.pageUrl),null!=lkqdSettings.appName&&(appName=lkqdSettings.appName),null!=lkqdSettings.appVersion&&(appVersion=lkqdSettings.appVersion),null!=lkqdSettings.bundleId&&(bundleId=lkqdSettings.bundleId),null!=lkqdSettings.appStoreUrl&&(appStoreUrl=lkqdSettings.appStoreUrl),null!=lkqdSettings.aid&&(aid=lkqdSettings.aid),null!=lkqdSettings.idfa&&(idfa=lkqdSettings.idfa),null!=lkqdSettings.geoLatitude&&(geoLatitude=lkqdSettings.geoLatitude),null!=lkqdSettings.geoLongitude&&(geoLongitude=lkqdSettings.geoLongitude),null!=lkqdSettings.geoLocation&&(geoLocation=lkqdSettings.geoLocation),null!=lkqdSettings.dnt&&(dnt=lkqdSettings.dnt),null!=lkqdSettings.gdpr&&(gdpr=lkqdSettings.gdpr),null!=lkqdSettings.gdprcs&&(gdprcs=lkqdSettings.gdprcs),null!=lkqdSettings.did&&(didOverride=lkqdSettings.did),null!=lkqdSettings.mlwScan&&(mlwScan=lkqdSettings.mlwScan),null!=lkqdSettings.adId&&(adId=lkqdSettings.adId),null!=lkqdSettings.trackImp&&(trackImp=lkqdSettings.trackImp),null!=lkqdSettings.trackClick&&(trackClick=lkqdSettings.trackClick),null!=lkqdSettings.pubMacros&&lkqdSettings.pubMacros&&(pubMacros=lkqdSettings.pubMacros),null!=lkqdSettings.skip&&1==lkqdSettings.skip&&(lkqdSkip=!0,null!=lkqdSettings.skipTime))try{(lkqdSkipDelay=lkqdSettings.skipTime)<200&&(lkqdSkipDelay*=1e3)}catch(e){}if(null!=lkqdSettings.close&&0==lkqdSettings.close&&(lkqdCloseButton=!1),null!=lkqdSettings.closeDelay)try{lkqdCloseDelay=1e3*lkqdSettings.closeDelay}catch(e){}if(null!=lkqdSettings.blockTags&&0<lkqdSettings.blockTags.length&&(pubBlockedTags=encodeURIComponent(lkqdSettings.blockTags.toString())),null!=lkqdSettings.dfp&&(dfp=lkqdSettings.dfp),null!=lkqdSettings.supplyContentVideo&&null!=lkqdSettings.supplyContentVideo.url&&lkqdSettings.supplyContentVideo.url&&0==lkqdSettings.supplyContentVideo.url.toLowerCase().indexOf("http")&&(videoContentURL=lkqdSettings.supplyContentVideo.url,"https:"==wlp&&0==videoContentURL.toLowerCase().indexOf("http://")&&(videoContentURL="https://"+videoContentURL.substring(7)),null!=lkqdSettings.supplyContentVideo.clickurl&&(videoContentLP=lkqdSettings.supplyContentVideo.clickurl),null!=lkqdSettings.supplyContentVideo.play&&"pre"==lkqdSettings.supplyContentVideo.play&&(videoContentPlaySetting="pre"),null!=lkqdSettings.supplyContentVideo.volume&&0<lkqdSettings.supplyContentVideo.volume&&(videoContentVolume=lkqdSettings.supplyContentVideo.volume),null!=lkqdSettings.supplyContentVideo.loop&&0==lkqdSettings.supplyContentVideo.loop&&(videoContentLoop=!1),null!=lkqdSettings.supplyContentVideo.videoContentInitiation&&"user"==lkqdSettings.supplyContentVideo.videoContentInitiation&&(videoContentInitiation="user"),null!=lkqdSettings.supplyContentVideo.videoContentPosterURL&&(videoContentPosterURL=lkqdSettings.supplyContentVideo.videoContentPosterURL),lkqdSettings.supplyContentVideo.controls&&(videoContentControls=lkqdSettings.supplyContentVideo.controls)),1==lkqdSettings.testPage&&(testPage=!0),1==lkqdSettings.toSlider&&(toSlider=!0),1==lkqdSettings.passbackFirst&&(passbackFirst=!0),1==(malwareScan=null!=lkqdSettings.malwareScan&&lkqdSettings.malwareScan)){null!=o.lkqdSettings.randomPassbackEndpoint&&(randomPassbackEndpoint=o.lkqdSettings.randomPassbackEndpoint);var g=new XMLHttpRequest;g.onreadystatechange=function(){if(4!=this.readyState||200!=this.status)return-1;var e=JSON.parse(this.responseText);lkqdPassback=e.passback_tag,lkqdPassbackType="html",playerWidth=300,playerHeight=250,passback_load()},g.open("GET",randomPassbackEndpoint,!0),g.setRequestHeader("Content-type","application/json"),g.send()}}else if(target_script){if(pid=getParameterByName("pid",target_script.src))try{pid=parseInt(pid)}catch(e){}if(sid=getParameterByName("sid",target_script.src))try{sid=parseInt(sid)}catch(e){}if(!(execution=getParameterByName("execution",target_script.src))&&getParameterByName("format",target_script.src)&&1==getParameterByName("format",target_script.src)&&(execution="inbanner"),placement=getParameterByName("placement",target_script.src),getParameterByName("support",target_script.src)&&(pubSupport=getParameterByName("support",target_script.src)),getParameterByName("controls",target_script.src)&&"true"==getParameterByName("controls",target_script.src)&&(controls=!0),getParameterByName("apt",target_script.src)&&"slot"==getParameterByName("apt",target_script.src)?playInit="user":getParameterByName("apt",target_script.src)&&(playInitiation=getParameterByName("apt",target_script.src)),1<(volume=!(volume=getParameterByName("volume",target_script.src))&&getParameterByName("ear",target_script.src)?getParameterByName("ear",target_script.src):volume||0)&&volume<=100&&(volume/=100),getParameterByName("pageurl",target_script.src)&&(pubPageUrl=getParameterByName("pageurl",target_script.src)),appName=getParameterByName("appname",target_script.src),appVersion=getParameterByName("appversion",target_script.src),bundleId=getParameterByName("bundleid",target_script.src),appStoreUrl=getParameterByName("appstoreurl",target_script.src),aid=getParameterByName("aid",target_script.src),idfa=getParameterByName("idfa",target_script.src),geoLatitude=getParameterByName("loclat",target_script.src),geoLongitude=getParameterByName("loclong",target_script.src),geoLocation=getParameterByName("loc",target_script.src),getParameterByName("dnt",target_script.src)&&(dnt=getParameterByName("dnt",target_script.src)),getParameterByName("gdpr",target_script.src)&&(gdpr=getParameterByName("gdpr",target_script.src)),getParameterByName("gdprcs",target_script.src)&&(gdprcs=getParameterByName("gdprcs",target_script.src)),getParameterByName("did",target_script.src)&&(didOverride=getParameterByName("did",target_script.src)),getParameterByName("mlwscan",target_script.src)&&(mlwScan=getParameterByName("mlwscan",target_script.src)),getParameterByName("adid",target_script.src)&&(adId=getParameterByName("adid",target_script.src)),getParameterByName("tracki",target_script.src)&&(trackImp=getParameterByName("tracki",target_script.src)),getParameterByName("trackc",target_script.src)&&(trackClick=getParameterByName("trackc",target_script.src)),getParameterByName("m",target_script.src)&&(pubMacros=getParameterByName("m",target_script.src)),getParameterByName("skip",target_script.src)&&"true"==getParameterByName("skip",target_script.src)&&(lkqdSkip=!0,getParameterByName("skiptime",target_script.src)))try{(lkqdSkipDelay=getParameterByName("skiptime",target_script.src))<200&&(lkqdSkipDelay*=1e3)}catch(e){}if(getParameterByName("close",target_script.src)&&"false"==getParameterByName("close",target_script.src)&&(lkqdCloseButton=!1),getParameterByName("closedelay",target_script.src))try{lkqdCloseDelay=1e3*getParameterByName("closedelay",target_script.src)}catch(e){}pubBlockedTags=getParameterByName("blocktags",target_script.getAttribute("src")),getParameterByName("dfp",target_script.src)&&"true"==getParameterByName("dfp",target_script.src)&&(dfp=!0),getParameterByName("videourl",target_script.src)&&0==getParameterByName("videourl",target_script.src).toLowerCase().indexOf("http")&&(videoContentURL=getParameterByName("videourl",target_script.src),"https:"==wlp&&0==videoContentURL.toLowerCase().indexOf("http://")&&(videoContentURL="https://"+videoContentURL.substring(7)),getParameterByName("videolp",target_script.src)&&(videoContentLP=getParameterByName("videolp",target_script.src)),getParameterByName("videoplay",target_script.src)&&"pre"==getParameterByName("videoplay",target_script.src)&&(videoContentPlaySetting="pre"))}if(execution=execution||"inbanner",executions.indexOf(execution.toLowerCase())<0&&(executionValid=!1),executionValid&&sid&&sidBlocks.indexOf(sid)<0&&!frequencyCapBlocked){try{if(e&&"string"==typeof e&&t&&"string"==typeof t&&("100%"!=e||"100%"!=t)){var h=parseInt(e),f=parseInt(t);h&&f&&!isNaN(h)&&!isNaN(f)&&0<h&&0<f&&(t=100==h&&100==f?e="100%":(e=h,f))}}catch(e){}var y;if(playerHeight=t,(playerWidth=e)&&"number"==typeof playerWidth&&playerHeight&&"number"==typeof playerHeight?(playerWidth=Math.round(e),playerHeight=Math.round(t)):playerWidth&&"string"==typeof playerWidth&&playerHeight&&"string"==typeof playerHeight&&"100%"==playerWidth&&"100%"==playerHeight&&(dynamicSize=!0,lkqdSettings.resizeTarget?(playerWidth=element_dimensions(lkqdSettings.resizeTarget)[0],playerHeight=element_dimensions(lkqdSettings.resizeTarget)[1]):window.parent&&(playerWidth=window_dimensions(window.parent)[0],playerHeight=window_dimensions(window.parent)[1])),playerContainer=o.slot,lkqdContainer&&player&&"user"==playInitiation&&1==userInitiated&&1==mobile_check())for(var k=0;k<lkqdContainer.childNodes.length;k++)try{lkqdContainer.childNodes[k]&&lkqdContainer.childNodes[k]!=player&&(lkqdContainer.childNodes[k].innerHTML="",lkqdContainer.childNodes[k].parentNode.removeChild(lkqdContainer.childNodes[k]),--k)}catch(e){}else if(player=o.videoSlot,lkqdContainer)try{lkqdContainer.innerHTML=""}catch(e){}support="html5",1==mobile_check()?(pageurl=getPageInfo().page_url)&&null!=pageurl||(pageurl=pubPageUrl):pageurl=(pageurl=pubPageUrl)||getPageInfo().page_url;var A=800;try{A=window_dimensions(window.top)[0]}catch(e){}var v=800;try{v=window_dimensions(window.top)[1]}catch(e){}if(!playerContainer&&"inbanner"==execution){var C=document.createElement("div");y="ad"+Math.round(1e9*Math.random()).toString(),C.id=y;for(var b=document_context.getElementsByTagName("script").length-1;0<=b;b--){var w=document_context.getElementsByTagName("script")[b].innerHTML;if(w&&0<(w=w.toString()).indexOf("pid")&&0<w.indexOf("sid")&&0<w.indexOf("formats")&&(0<w.indexOf(pid)&&0<w.indexOf(sid)&&0<w.indexOf("lkqd")||0<w.indexOf("formats_unminified.js?"))){if("head"==document_context.getElementsByTagName("script")[b].parentNode.tagName.toLowerCase()){document_context.body?document_context.body.appendChild(C):document_context.documentElement&&document_context.documentElement.appendChild(C);break}document_context.getElementsByTagName("script")[b].parentNode.insertBefore(C,document_context.getElementsByTagName("script")[b]);break}}!(playerContainer=document_context.getElementById(y))&&window.parent&&window.parent!=top&&window_dimensions(window.parent)[0]<620&&window_dimensions(window.parent)[1]<420&&(document_context.body.appendChild(C),playerContainer=document_context.getElementById(y))}if(lkqdContainer&&lkqdSettings&&lkqdSettings.reinitializeOpps&&(dynamicSize?(lkqdContainer.style.width="100%",lkqdContainer.style.height="100%"):(lkqdContainer.style.width=playerWidth+"px",lkqdContainer.style.height=playerHeight+"px")),!lkqdContainer){if("outstream"==execution&&!playerContainer&&o.lkqdSettings&&o.lkqdSettings.playerContainerId)try{window.parent&&window.parent.parent&&window.parent.parent.document.getElementById(o.lkqdSettings.playerContainerId)&&(playerContainer=window.parent.parent.document.getElementById(o.lkqdSettings.playerContainerId))}catch(e){}if("outstream"==execution&&"slider"==placement){if(top_access_check())if(playerWidth&&100<playerWidth&&playerWidth<1200||(playerWidth=600,mobile_check()&&(playerWidth=500)),lkqdSettings&&lkqdSettings.overrideSize||(playerWidth>Math.ceil(.6*A)&&(playerWidth=Math.min(600,Math.ceil(.6*A))),mobile_check()&&v<A&&(playerWidth=Math.min(600,Math.ceil(.4*A))),lkqdSettings&&null!=lkqdSettings.useAspectRatio&&0==lkqdSettings.useAspectRatio||(playerHeight=Math.ceil(playerWidth/(16/9)))),10<playerWidth&&10<playerHeight)(C=document.createElement("div")).style.width=playerWidth+"px",C.style.height=playerHeight+"px",C.style.zIndex="2147483647",C.style.position="fixed",lkqdSettings&&lkqdSettings.bottomPadding?C.style.bottom=lkqdSettings.bottomPadding+"px":C.style.bottom="10px",C.style.borderTopLeftRadius="5px",C.style.borderBottomLeftRadius="5px",C.style.borderBottomRightRadius="5px",C.style.border="1px solid #CCCCCC",C.style.boxSizing="content-box",C.style.padding="4px",C.style.overflow="visible",C.style.backgroundColor="#EEEEEE",lkqdSettings&&lkqdSettings.slidePosition&&"left"==lkqdSettings.slidePosition?(C.style.left=-1*(playerWidth+50)+"px",C.style.setProperty("-webkit-transition","left .5s"),C.style.setProperty("-moz-transition","left .5s"),C.style.setProperty("-o-transition","left .5s"),C.style.setProperty("transition","left .5s")):(C.style.right=-1*(playerWidth+50)+"px",C.style.setProperty("-webkit-transition","right .5s"),C.style.setProperty("-moz-transition","right .5s"),C.style.setProperty("-o-transition","right .5s"),C.style.setProperty("transition","right .5s")),window.top.document.body.appendChild(C),lkqdContainer=C,player=""}else if("outstream"==execution&&"bottom"==placement){if(top_access_check())if((!playerWidth||playerWidth<200)&&(playerWidth=700),playerWidth>Math.ceil(.8*A)&&(playerWidth=Math.min(700,Math.ceil(.8*A))),mobile_check()&&v<A&&(playerWidth=Math.min(700,Math.ceil(.4*A))),playerHeight=Math.ceil(playerWidth/(16/9)),10<playerWidth&&10<playerHeight)(C=document.createElement("div")).style.width=playerWidth+"px",C.style.height=playerHeight+"px",C.style.zIndex="2147483647",C.style.position="fixed",C.style.backgroundColor="#000000",C.style.overflow="visible",C.style.left=(A-playerWidth)/2+"px",C.style.bottom="-"+(playerHeight+100)+"px",window.top.document.body.appendChild(C),lkqdContainer=C,player=""}else if("outstream"!=execution||"top"!=placement&&"bottom2"!=placement){if("interstitial"==execution&&top_access_check()){if(playerHeight=v,(playerWidth=A)<=10||playerHeight<=10)try{e&&t&&10<e&&10<t&&(playerWidth=e,playerHeight=t)}catch(e){}if(10<playerWidth&&10<playerHeight)(C=document.createElement("div")).style.width=playerWidth+"px",C.style.height=playerHeight+"px",placement&&"overlay"==placement?(C.style.backgroundColor="rgba(0, 0, 0, 0.35)",C.style.visibility="hidden",C.style.width="1px",C.style.height="1px",C.style.overflow="hidden"):C.style.backgroundColor="#000000",C.style.position="fixed",C.style.zIndex="2147483647",C.style.left="0px",C.style.top="0px",C.style.margin="0 auto",C.style.padding="0",C.style.textAlign="center",C.style.verticalAlign="middle",C.style.display="table-cell",window.top.document.body.appendChild(C),lkqdContainer=C}}else{if(top_access_check())if(playerWidth=A,.38<(playerHeight=Math.ceil(playerWidth/(16/9)))/v&&(playerHeight=Math.ceil(.38*v),playerWidth=Math.ceil(playerHeight*(16/9))),lkqdContainerTopTextWidth=110,playerWidth<500&&(lkqdContainerTopTextWidth=65),playerHeight=Math.ceil((playerWidth-lkqdContainerTopTextWidth)/(16/9)),100<playerWidth&&100<playerHeight)(C=document.createElement("div")).style.width=playerWidth+"px",C.style.height=playerHeight+"px",C.style.zIndex="2147483647",C.style.position="fixed",C.style.backgroundColor="#000000",C.style.overflow="visible",C.style.left=(A-playerWidth)/2+"px","top"==placement?C.style.top="-"+(playerHeight+100)+"px":"bottom2"==placement&&(C.style.bottom="-"+(playerHeight+100)+"px"),window.top.document.body.appendChild(C),player="",lkqdContainerTop=C,playerWidth-=lkqdContainerTopTextWidth,(lkqdContainer=document.createElement("div")).setAttribute("style","float:right; width:"+playerWidth+"px; height:100%; overflow:hidden;"),lkqdContainerTop.appendChild(lkqdContainer)}}if(playerContainer&&!lkqdContainer&&(lkqdContainer=document.createElement("div"),playerContainer.childNodes&&0<playerContainer.childNodes.length?playerContainer.insertBefore(lkqdContainer,playerContainer.childNodes[0]):playerContainer.appendChild(lkqdContainer),lkqdContainer)){if("outstream"==execution&&"incontent"==placement){if(lkqdContainer.style.visibility="hidden",lkqdContainer.style.width="1px",lkqdContainer.style.height="1px",lkqdContainer.style.overflow="hidden",toSlider&&((lkqdPlaceholder=document.createElement("div")).id="lkqdPlaceholder",lkqdPlaceholder.style.display="none",lkqdPlaceholder.style.width=playerWidth,lkqdPlaceholder.style.height=playerHeight,playerContainer.insertBefore(lkqdPlaceholder,playerContainer.childNodes[0])),!playerWidth)if(x=element_style(playerContainer,"width"))try{(playerWidth=x.replace("px",""))&&200<playerWidth||(playerWidth=element_position(playerContainer)[2]&&200<element_position(playerContainer)[2]?element_position(playerContainer)[2]:600)}catch(e){playerWidth=600}else playerWidth=element_position(playerContainer)[2]&&200<element_position(playerContainer)[2]?element_position(playerContainer)[2]:600;if(!playerHeight)if(q=element_style(playerContainer,"height"))try{(playerHeight=q.replace("px",""))&&150<playerHeight||(playerHeight=element_position(playerContainer)[3]&&150<element_position(playerContainer)[3]?element_position(playerContainer)[3]:400)}catch(e){playerHeight=400}else playerHeight=element_position(playerContainer)[3]&&150<element_position(playerContainer)[3]?element_position(playerContainer)[3]:400}else if("instream"==execution)placement&&"inform-ui"==placement?lkqdSettings.controlOptions={pauseResume:!0,fullscreen:!0,muteUnmute:!0,volumeSlider:!0,countDown:!0}:placement&&"inform-inview"==placement&&(lkqdSettings.controlOptions={pauseResume:!0,fullscreen:!0,muteUnmute:!0,volumeSlider:!1,countDown:!0},lkqdContainer.addEventListener("mouseover",lkqdMouseOverVolume,!1),lkqdContainer.addEventListener("mouseout",lkqdMouseOutVolume,!1));else{if("inbanner"==execution&&playerContainer&&(!playerWidth||!playerHeight)){var x,q;if(!playerWidth)if(x=element_style(playerContainer,"width"))try{(playerWidth=x.replace("px",""))&&180<playerWidth||(playerWidth=element_position(playerContainer)[2]&&180<element_position(playerContainer)[2]?element_position(playerContainer)[2]:300)}catch(e){playerWidth=300}else playerWidth=element_position(playerContainer)[2]&&180<element_position(playerContainer)[2]?element_position(playerContainer)[2]:300;if(!playerHeight)if(q=element_style(playerContainer,"height"))try{(playerHeight=q.replace("px",""))&&150<playerHeight||(playerHeight=element_position(playerContainer)[3]&&150<element_position(playerContainer)[3]?element_position(playerContainer)[3]:250)}catch(e){playerHeight=250}else playerHeight=element_position(playerContainer)[3]&&150<element_position(playerContainer)[3]?element_position(playerContainer)[3]:250}dynamicSize?(lkqdContainer.style.width="100%",lkqdContainer.style.height="100%"):(lkqdContainer.style.width=playerWidth+"px",lkqdContainer.style.height=playerHeight+"px")}lkqdContainer.style.margin="0 auto",lkqdContainer.style.padding=0,"inbanner"==execution?(lkqdContainer.style.overflow="hidden",lkqdContainer.style.position="relative"):"interstitial"==execution?(lkqdContainer.style.backgroundImage='url("'+loading_icon+'")',lkqdContainer.style.backgroundSize="40px auto",lkqdContainer.style.backgroundPosition="center",lkqdContainer.style.backgroundRepeat="no-repeat",lkqdContainer.style.backgroundColor="#000000"):"instream"==execution&&testPage&&(lkqdContainer.style.position="absolute")}if("inbanner"==execution&&playerContainer&&!videoContent&&videoContentURL&&"pre"==videoContentPlaySetting&&(playerContainer.style.width=playerWidth+"px",playerContainer.style.height=playerHeight+"px",playerContainer.style.overflow="hidden",videoContentLoad(playerContainer),videoContent.style.top="-"+playerHeight+"px",setTimeout(videoContentRemove,18e4)),"user"==playInitiation&&0==userInitiated){if(lkqdSettings&&lkqdSettings.backgroundImage&&(lkqdContainer.style.backgroundImage='url("'+lkqdSettings.backgroundImage+'")'),lkqdContainer.style.backgroundSize="100%",lkqdContainer.style.backgroundPosition="center",lkqdContainer.style.backgroundColor="#000000",lkqdContainer.style.backgroundRepeat="no-repeat",lkqdSettings&&lkqdSettings.userInitiationElement)try{lkqdSettings.userInitiationElement.tagName||"string"!=typeof lkqdSettings.userInitiationElement||(document.getElementById(lkqdSettings.userInitiationElement)?lkqdSettings.userInitiationElement=document.getElementById(lkqdSettings.userInitiationElement):window.parent&&window.parent.document.getElementById(lkqdSettings.userInitiationElement)&&(lkqdSettings.userInitiationElement=window.parent.document.getElementById(lkqdSettings.userInitiationElement))),lkqdSettings.userInitiationElement.addEventListener("click",userInitiation,!1)}catch(e){}else(C=document.createElement("div")).style.backgroundImage='url("'+lkqdCdn+'play.png")',C.style.backgroundSize="60px auto",C.style.backgroundPosition="center",C.style.backgroundRepeat="no-repeat",C.style.width="100%",C.style.height="100%",C.addEventListener("click",function(){userInitiation(C)}),lkqdContainer.appendChild(C);1==mobile_check()&&((player=document.createElement("video")).setAttribute("webkit-playsinline","webkit-playsinline"),player.setAttribute("playsinline","playsinline"),0==volume?(player.volume=0,player.muted=!0):0<volume&&(player.volume=volume,player.muted=!1),player.setAttribute("style","position:relative; top:0px; left:0px; display:block; line-height:0px; margin:0; padding:0;"),player.setAttribute("poster","data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs="),dynamicSize||(player.setAttribute("width",playerWidth),player.setAttribute("height",playerHeight)),lkqdContainer.appendChild(player))}try{playerWidth=playerWidth&&Math.round(playerWidth)}catch(e){}try{playerHeight=playerHeight&&Math.round(playerHeight)}catch(e){}if(!malwareScan||null==malwareScan){var I=playInitiation;playInit&&(I=playInit);var S=wlp+"//v.lkqd.net/ad?pid="+pid+"&sid="+sid+"&formats=true&output=vastvpaid&support="+support+"&execution="+execution+"&placement="+placement+"&playinit="+I+"&volume="+Math.floor(100*volume)+"&width="+playerWidth+"&height="+playerHeight+"&gdpr="+gdpr+"&gdprcs="+gdprcs;pageurl&&(S+="&pageurl="+encodeURIComponent(pageurl)),(appName||bundleId||appStoreUrl||aid||idfa)&&(S+="&appname="+encodeURIComponent(appName),S+="&appversion="+encodeURIComponent(appVersion),S+="&bundleid="+encodeURIComponent(bundleId),S+="&appstoreurl="+encodeURIComponent(appStoreUrl),0==dntSetting()&&(S+="&aid="+encodeURIComponent(aid),S+="&idfa="+encodeURIComponent(idfa),S+="&loclat="+encodeURIComponent(geoLatitude),S+="&loclong="+encodeURIComponent(geoLongitude),S+="&loc="+encodeURIComponent(geoLocation)));try{S+=!dnt||1!=dnt&&1!=dnt?"&dnt="+dntSetting():"&dnt="+dnt}catch(e){S+="&dnt="+dntSetting()}if(didOverride&&(S+="&did="+didOverride),mlwScan&&(S+="&mlwscan="+mlwScan),1==lkqdSkip&&(S+="&skip=true",lkqdSkipDelay&&(S+="&skiptime="+lkqdSkipDelay),lkqdSettings&&lkqdSettings.skipCountDown&&(S+="&skipcountdown=true")),"interstitial"==execution&&(S+="&close=true"),adId)S+="&adid="+adId;else try{if(getPageInfo().page_url&&getParameterByName("key",getPageInfo().page_url)){var _=getParameterByName("key",getPageInfo().page_url);0==_.indexOf("!")&&_.indexOf("!",1)==_.length-1&&("lkqd"==(_=_.substring(1,_.indexOf("!",1)))&&(_="jmemhl0"),S+="&adid="+_)}}catch(e){}for(k=1;k<=40;k++)if(null==lkqdSettings||null==lkqdSettings["custom"+k]||!lkqdSettings["custom"+k]&&0!=lkqdSettings["custom"+k])target_script&&getParameterByName("c"+k,target_script.src)&&(S+="&c"+k+"="+encodeURIComponent(getParameterByName("c"+k,target_script.src)));else{var E="";try{if(Array.isArray(lkqdSettings["custom"+k]))for(var P=0;P<lkqdSettings["custom"+k].length;P++)E&&(E+=","),E+='"'+lkqdSettings["custom"+k][P]+'"'}catch(e){}S+=E?"&c"+k+"="+encodeURIComponent("["+E+"]"):"&c"+k+"="+encodeURIComponent(lkqdSettings["custom"+k])}476==pid&&(S+="&c4="+totalOpps),S+="&rnd="+Math.floor(1e8*Math.random()),S+="&m="+encodeURIComponent(pubMacros);var B=getPageInfo().top_hostname,T=!1;try{window.parent&&window.parent==window.top&&window_dimensions(window.top)[0]<400&&window_dimensions(window.top)[1]<400&&(T=!0)}catch(e){T=!1}if("inbanner"==execution&&0<=B.toLowerCase().indexOf("google")&&(B.length<=18||0==mobile_check()||0==T)&&98!=pid)lkqdPassback='<a href="http://www.handsonlycpr.org" target="_blank"><img src="https://creative.lkqd.net/psa/adc_cpr_save_300x250.jpg" style="width:300px; height:250px; border:0px"></a>',lkqdPassbackType="html",create_and_fire_pixels(234),lkqdstopAd(!1);else if("interstitial"==execution&&"vertical"==placement&&(0==mobile_check()||v<A))lkqdstopAd(!1);else try{var D=new XMLHttpRequest;"withCredentials"in D?D.open("GET",S,!0):"undefined"!=typeof XDomainRequest&&(D=new XDomainRequest).open("GET",S),0==mobile_check()&&(D.withCredentials=!0),D.onload=function(e){if(!D.readyState||4==D.readyState)if(D.responseText&&300<D.responseText.length){var t=xml_vast_parse(D.responseText);if(t.ads[0]&&t.ads[0].adParameters.content){var n=inflate(adParameters=t.ads[0].adParameters.content);if(n&&(adserverJson=JSON.parse(n))){if(top_access_check()&&393!=pid&&413!=pid&&362!=pid&&252!=pid&&180<playerWidth&&100<playerHeight&&adserverJson.site&&adserverJson.site.envid&&2!=adserverJson.site.envid&&0,!pixelBaseUrl)try{pixelBaseUrl=adserverJson.site.pixelbase}catch(e){}if("any"!=execution||adserverJson?"any"==execution&&adserverJson&&2==adserverJson.site.envid&&(execution="inbanner"):(execution="inbanner",lkqdPassback="<div></div>",lkqdPassbackType="html"),!limitMaxOpps){try{limitMaxOpps=adserverJson.site.smo,limitMaxImps=adserverJson.site.smimp,oppInterval=adserverJson.site.smi}catch(e){}null==limitMaxImps?limitMaxImps=limitMaxOpps:limitMaxOpps<limitMaxImps&&0==limitMaxOpps&&(limitMaxOpps=limitMaxImps);var i=!1;354!=pid&&437!=pid&&430!=pid&&333!=pid&&476!=pid&&282!=pid||(i=!0),i&&lkqdSettings&&lkqdSettings.maxOpps&&0<lkqdSettings.maxOpps&&50<(limitMaxOpps=lkqdSettings.maxOpps)&&(limitMaxOpps=50),i&&lkqdSettings&&lkqdSettings.maxImps&&0<lkqdSettings.maxImps&&50<(limitMaxImps=lkqdSettings.maxImps)&&(limitMaxImps=50),(0<limitMaxOpps||0<limitMaxImps)&&!i&&(limitMaxImps=limitMaxOpps=1),null!=limitMaxOpps&&0!=limitMaxOpps||(limitMaxOpps=1)}}}if(oppInterval=oppInterval||0,t&&t.ads[0]&&t.ads[0].mediaFiles)for(var a=0;a<t.ads[0].mediaFiles.length;a++)if("vpaid"==t.ads[0].mediaFiles[a].apiFramework.toLowerCase()){adVpaidUrl=t.ads[0].mediaFiles[a].url;break}if(t&&t.extensions&&t.extensions.lkqd.passback.tag&&(lkqdPassback=t.extensions.lkqd.passback.tag,lkqdPassbackType=t.extensions.lkqd.passback.tagtype),!execution||"inbanner"!=execution||lkqdPassback||testPage||98==pid||333==pid||267==pid||(lkqdPassback='<a href="http://www.handsonlycpr.org" target="_blank"><img src="https://creative.lkqd.net/psa/adc_cpr_save_300x250.jpg" style="width:300px; height:250px; border:0px"></a>',lkqdPassbackType="html"),333!=pid&&267!=pid&&8!=pid&&pubDirectBlocks&&1<=pubDirectBlocks.length)for(var o=0;o<pubDirectBlocks.length;o++)if(0<=getHostnameFromUrl(pageurl).toLowerCase().indexOf(pubDirectBlocks[o])){lkqdstopAd(!1);break}if(320==playerWidth&&50==playerHeight||730==playerWidth&&90==playerHeight||728==playerWidth&&90==playerHeight)lkqdstopAd(!1);else if(333!=pid&&267!=pid&&"inbanner"==execution&&adserverJson&&adserverJson.ipua&&adserverJson.ipua.isp&&null!=adserverJson.ipua.isp&&0<=adserverJson.ipua.isp.toLowerCase().indexOf("google")&&adserverJson.ipua.isp.toLowerCase().indexOf("fiber")<0)lkqdPassback="<div></div>",lkqdstopAd(!(lkqdPassbackType="html"));else if(adserverJson&&"inbanner"==execution&&!adserverJson.site.inBannerEnabled&&ibvSidWhiteList.indexOf(sid)<0)lkqdPassback="<div></div>",lkqdPassbackType="html",create_and_fire_pixels(234,"&fvrs="+version+"&exe="+execution),lkqdstopAd(!1);else if(adserverJson&&"any"==execution&&2!=adserverJson.site.envid)lkqdPassback="<div></div>",lkqdstopAd(!(lkqdPassbackType="html"));else if(execution&&"inbanner"==execution&&adserverJson&&adserverJson.site&&adserverJson.site.envid&&adserverJson.site.envid<=2&&0==mobile_check()&&!testPage&&98!=pid&&287!=pid&&8!=pid&&333!=pid&&267!=pid)lkqdstopAd(!1);else if("user"==playInitiation&&adParameters&&adVpaidUrl&&lkqdContainer&&0==userInitiated)1==totalOpps&&0==formatloadfired&&(lkqdContainer&&(dynamicSize?(lkqdContainer.style.width="100%",lkqdContainer.style.height="100%"):(lkqdContainer.style.width=playerWidth+"px",lkqdContainer.style.height=playerHeight+"px")),formatloadfired=!0,create_and_fire_pixels(183,"&fvrs="+version+"&exe="+execution));else if(adParameters&&adVpaidUrl)if(1==totalOpps&&0==formatloadfired&&(formatloadfired=!0,create_and_fire_pixels(183,"&fvrs="+version+"&exe="+execution)),lkqdContainer){if(execution&&"inbanner"==execution&&passbackFirst&&lkqdPassback&&(passbackFirstStartTime=Date.now(),passback_load(),passbackContainer.style.position="relative",passbackContainer.style.zIndex=99,passbackContainer.style.left="0px",passbackContainer.style.setProperty("-webkit-transition","left 1s"),passbackContainer.style.setProperty("-moz-transition","left 1s"),passbackContainer.style.setProperty("-o-transition","left 1s"),passbackContainer.style.setProperty("transition","left 1s"),lkqdContainer.style.top="-"+playerHeight+"px",playerContainer.style.overflow="hidden",playerContainer.style.width=playerWidth+"px",playerContainer.style.height=playerHeight+"px"),load_player(),"inbanner"==execution&&"user"!=playInitiation&&(lkqdContainer.style.backgroundImage='url("'+loading_icon+'")',lkqdContainer.style.backgroundSize="40px auto",lkqdContainer.style.backgroundPosition="center",lkqdContainer.style.backgroundRepeat="no-repeat",lkqdContainer.style.backgroundColor="#000000"),"outstream"==execution&&("incontent"==placement||"vertical"==placement)){viewability_threshold=3,476==pid&&(viewability_threshold=10);var r=!1;try{var l=playerContainer.ownerDocument;if(l){var d=l.defaultView||l.parentWindow;d&&d==window.top&&(r=!0)}}catch(e){}if(1==r)setTimeout(function(){viewability_check(playerContainer,playerWidth,playerHeight,window.top,!1)},0),viewability_interval=setInterval(function(){viewability_check(playerContainer,playerWidth,playerHeight,window.top,!1)},200);else if(9==pid&&1==s){viewabilityTriggered=!0;try{VPAIDjs.startAd()}catch(e){}}else create_and_fire_pixels(42),lkqdstopAd(!1)}}else create_and_fire_pixels(42),lkqdstopAd(!1);else D.responseText&&0<D.responseText.indexOf("The ad request came from an invalid device")?(invalidDevice=!0,create_and_fire_pixels(14),lkqdstopAd(!1)):(t&&t.ads&&0<t.ads.length&&t.ads[0].mediaFiles&&0==t.ads[0].mediaFiles.length?(approvalMode=!0,create_and_fire_pixels(236)):create_and_fire_pixels(32),adStopped())}else D.responseText&&0<D.responseText.indexOf("The ad request came from an invalid device")?(lkqdPassback||!execution||"inbanner"!=execution||testPage||98==pid||333==pid||267==pid||(lkqdPassback='<a href="http://www.handsonlycpr.org" target="_blank"><img src="https://creative.lkqd.net/psa/adc_cpr_save_300x250.jpg" style="width:300px; height:250px; border:0px"></a>',lkqdPassbackType="html"),invalidDevice=!0,create_and_fire_pixels(14),lkqdstopAd(!1)):(create_and_fire_pixels(32),adStopped())},D.timeout=3500,D.onerror=function(e){create_and_fire_pixels(194,"&errorcode=1&sspurl="+encodeURIComponent(S)),adStopped()},D.ontimeout=function(e){create_and_fire_pixels(194,"&errorcode=2&sspurl="+encodeURIComponent(S)),adStopped()},D.onabort=function(e){create_and_fire_pixels(194,"&errorcode=3&sspurl="+encodeURIComponent(S)),adStopped()},D.send(null)}catch(e){}}}}}function lkqdstartAd(){if(!pubVPAIDCalls.startAd&&(debug("FORMATS.JS","received::startAd"),pubVPAIDCalls.startAd=(new Date).getTime(),VPAIDjs))if("outstream"!=execution||"incontent"!=placement&&"vertical"!=placement)try{VPAIDjs.startAd()}catch(e){}else if(1==viewabilityTriggered)try{VPAIDjs.startAd()}catch(e){}}function load_player(){(VPAIDjsFrame=document.createElement("iframe")).style.display="none",VPAIDjsFrame.id=instance_id;function e(){try{var e=VPAIDjsFrame.contentWindow.document.createElement("script");e.src="https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0",e.onload=function(){try{VPAIDjsFrame.contentWindow.instance_id=instance_id,(VPAIDjs=VPAIDjsFrame.contentWindow.getVPAIDAd()).handshakeVersion("2.0"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdOpportunity")},"AdOpportunity"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdLoaded")},"AdLoaded"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdStarted")},"AdStarted"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVideoStart")},"AdVideoStart"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdImpression")},"AdImpression"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVideoFirstQuartile")},"AdVideoFirstQuartile"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVideoMidpoint")},"AdVideoMidpoint"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVideoThirdQuartile")},"AdVideoThirdQuartile"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVideoComplete")},"AdVideoComplete"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdStopped")},"AdStopped"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdError")},"AdError"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdSkipped")},"AdSkipped"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdSkippableStateChange")},"AdSkippableStateChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdSizeChange")},"AdSizeChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdLinearChange")},"AdLinearChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdDurationChange")},"AdDurationChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdExpandedChange")},"AdExpandedChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdRemainingTimeChange")},"AdRemainingTimeChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdVolumeChange")},"AdVolumeChange"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdClickThru")},"AdClickThru"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdPaused")},"AdPaused"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdPlaying")},"AdPlaying"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdViewable")},"AdViewable"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdNotViewable")},"AdNotViewable"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdAvailableHeaderBidding")},"AdAvailableHeaderBidding"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdUnavailableHeaderBidding")},"AdUnavailableHeaderBidding"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdLoadFailure")},"AdLoadFailure"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdNonOpportunity")},"AdNonOpportunity"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdAvailable")},"AdAvailable"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdUnavailableTimeout")},"AdUnavailableTimeout"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdUnavailableNonSuccess")},"AdUnavailableNonSuccess"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdUnavailableAborted")},"AdUnavailableAborted"),VPAIDjs.subscribe(function(){VPAIDjsEvent(instance_id,"AdSizeRequestFullScreen")},"AdSizeRequestFullScreen"),VPAIDjs.subscribe(function(){LkqdEvent1=!0},"LkqdEvent1"),VPAIDjs.subscribe(function(){volumeOff=!(volumeOn=!0)},"AdVolumeOn"),VPAIDjs.subscribe(function(){volumeOn=!(volumeOff=!0)},"AdVolumeOff");var e={AdParameters:adParameters},t={slot:lkqdContainer,videoSlot:player,videoSlotCanAutoPlay:!0,lkqdSettings:lkqdSettings,lkqdExecution:execution,lkqdPlacement:placement,branding:brandingMessage,maxOpps:limitMaxOpps,controls:controls,pubSupport:pubSupport,dfp:dfp,blockedTags:pubBlockedTags,formatVersion:version};dynamicSize?VPAIDjs.initAd("100%","100%","normal",600,e,t):VPAIDjs.initAd(playerWidth,playerHeight,"normal",600,e,t)}catch(e){lkqdstopAd(!1)}},VPAIDjsFrame.contentWindow.document.body.appendChild(e)}catch(e){lkqdstopAd(!1)}}VPAIDjsFrame.onload=e,VPAIDjsFrame.onerror=e,parent.window.document.body.appendChild(VPAIDjsFrame)}function VPAIDjsEvent(e,t){if(debug("FORMATS.JS","VPAIDjsEvent:: event:"+t+" instance:"+e),t){if("AdImpression"==t)try{if((winningAd=VPAIDjs.getLKQDAd())&&winningAd.topAdTagId&&(winningAdTagId=winningAd.topAdTagId,winningAdCpm=cpm_decode(winningAd.pidSidTagIds[0][5])),window.localStorage){var n=(new Date).getTime();window.localStorage.setItem("lkqdFrequencyCapTimestamp",n)}winningAd.companion_ad_html&&(lkqdPassback=winningAd.companion_ad_html,lkqdPassbackType="html")}catch(e){}if("AdVolumeChange"==t)try{volume=VPAIDjs.getAdVolume()}catch(e){}if("AdLoaded"==t){if(publisher_event_notify("AdLoaded"),1==startad&&VPAIDjs)if("outstream"!=execution||"incontent"!=placement&&"vertical"!=placement)try{VPAIDjs.startAd()}catch(e){}else if(1==viewabilityTriggered)try{VPAIDjs.startAd()}catch(e){}}else"AdStopped"==t?adStopped():"AdError"==t?1<limitMaxOpps||1==adimpression&&publisher_event_notify(t):publisher_event_notify(t);if("AdImpression"==t){if(++totalImps,adimpression=!0,videoContent&&"pre"==videoContentPlaySetting)try{videoContent.style.top="100px",videoContent.pause()}catch(e){}if("user"==playInitiation&&player&&(player.style.visibility="visible"),passbackFirst){var i=0;Date.now()-passbackFirstStartTime<passbackFirstDisplayTime&&(i=passbackFirstDisplayTime-(Date.now()-passbackFirstStartTime),lkqdpauseAd()),setTimeout(function(){0<i&&lkqdresumeAd(),showVideo()},i)}if(winningAd&&winningAd.topAdTagId&&lkqdSettings&&null!=lkqdSettings.demandContentVideo&&1<=lkqdSettings.demandContentVideo.length)for(var a=0;a<lkqdSettings.demandContentVideo.length;a++)lkqdSettings.demandContentVideo[a].url&&lkqdSettings.demandContentVideo[a].adId&&lkqdSettings.demandContentVideo[a].adId==winningAd.topAdTagId&&(videoContentURL=lkqdSettings.demandContentVideo[a].url,videoContentLP=lkqdSettings.demandContentVideo[a].clickurl?lkqdSettings.demandContentVideo[a].clickurl:"",null!=lkqdSettings.demandContentVideo[a].volume&&0<lkqdSettings.demandContentVideo[a].volume&&(videoContentVolume=lkqdSettings.demandContentVideo[a].volume),videoContentLoop=!1);if(trackImp){try{if(0<trackImp.indexOf("${ADID}")&&winningAd&&winningAd.topAdTagId)try{trackImp=trackImp.replace("${ADID}",winningAd.topAdTagId)}catch(e){}else if(0<trackImp.indexOf("%24%7BADID%7D")&&winningAd&&winningAd.topAdTagId)try{trackImp=trackImp.replace("%24%7BADID%7D",winningAd.topAdTagId)}catch(e){}else if(0<trackImp.indexOf("$%7BADID%7D")&&winningAd&&winningAd.topAdTagId)try{trackImp=trackImp.replace("$%7BADID%7D",winningAd.topAdTagId)}catch(e){}}catch(e){}try{0<trackImp.indexOf("${CPM}")&&winningAd&&winningAd.pidSidTagIds&&winningAd.pidSidTagIds[0][0]==pid&&6<=winningAd.pidSidTagIds[0].length?trackImp=trackImp.replace("${CPM}",cpm_decode(winningAd.pidSidTagIds[0][5])):0<trackImp.indexOf("%24%7BCPM%7D")&&winningAd&&winningAd.pidSidTagIds&&winningAd.pidSidTagIds[0][0]==pid&&6<=winningAd.pidSidTagIds[0].length?trackImp=trackImp.replace("%24%7BCPM%7D",cpm_decode(winningAd.pidSidTagIds[0][5])):0<trackImp.indexOf("$%7BCPM%7D")&&winningAd&&winningAd.pidSidTagIds&&winningAd.pidSidTagIds[0][0]==pid&&6<=winningAd.pidSidTagIds[0].length&&(trackImp=trackImp.replace("$%7BCPM%7D",cpm_decode(winningAd.pidSidTagIds[0][5])))}catch(e){}pixel_fire(trackImp=trackImp.replace("$$cachebuster$$",Math.round(1e9*Math.random())))}if("outstream"!=execution||"incontent"!=placement&&"vertical"!=placement)if("outstream"==execution&&"slider"==placement){if(0!=lkqdCloseButton){if((o=document.createElement("div")).setAttribute("style","border-top-left-radius:5px; border-top-right-radius:5px; border-top:1px solid #CCCCCC; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; position:absolute; top:-23px; right:-1px; height: 22px; background-color:#EEEEEE; z-index:2147483647;"),lkqdContainer.appendChild(o),(r=document.createElement("span")).setAttribute("style","cursor: default; float:left; color: #777777; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 12px !important; font-weight: 600 !important; padding-top:4px; padding-left:6px; padding-right:6px;"),o.appendChild(r),(l=document.createElement("span")).setAttribute("style","cursor: pointer; float:right; color: #222222; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 12px !important; font-weight: 600 !important; padding-top:4px; margin-left:-6px; padding-right:5px;"),l.innerHTML="CLOSE AD",l.addEventListener("click",function(e){lkqdCloseAd()}),lkqdCloseDelay&&0<lkqdCloseDelay){l.style.display="none",closeTimeUpdate(lkqdCloseTimeRemaing=Math.round(lkqdCloseDelay/1e3),r,"You can close this ad in"),--lkqdCloseTimeRemaing,closeTimeRemainingInterval=setInterval(function(){closeTimeUpdate(lkqdCloseTimeRemaing,r,"You can close this ad in"),--lkqdCloseTimeRemaing},1e3);try{setTimeout(function(){l.style.display=""},lkqdCloseDelay)}catch(e){}}o.appendChild(l)}if(lkqdSettings&&lkqdSettings.slidePosition&&"left"==lkqdSettings.slidePosition?lkqdSettings.horizontalPadding?lkqdContainer.style.left=lkqdSettings.horizontalPadding:lkqdContainer.style.left="25px":lkqdSettings.horizontalPadding?lkqdContainer.style.right=lkqdSettings.horizontalPadding:lkqdContainer.style.right="25px",mobile_check())try{window.top.addEventListener("orientationchange",resize_event),window.top.addEventListener("resize",resize_event),window.top.addEventListener("gesturestart",touch_move_event)}catch(e){}}else if("outstream"==execution&&"bottom"==placement){var o,r;if((o=document.createElement("div")).setAttribute("style","border-top-left-radius:2px; border-top-right-radius:2px; border-left:0px solid #CCCCCC; border-right:0px solid #CCCCCC; position:absolute; top:-22px; left:0px; width:100%; height: 22px; background-color:#EEEEEE; z-index:2147483647;"),lkqdContainer.appendChild(o),(r=document.createElement("span")).setAttribute("style","cursor: default; float:left; color: #777777; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 12px !important; font-weight: 600 !important; padding-top:5px; padding-left:5px;"),r.innerHTML="ADVERTISEMENT ",o.appendChild(r),0!=lkqdCloseButton){var l;if((l=document.createElement("span")).setAttribute("style","cursor: pointer; float:right; color: #222222; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 12px !important; font-weight: 600 !important; padding-top:5px; padding-right:5px;"),l.innerHTML="CLOSE AD",l.addEventListener("click",function(e){try{VPAIDjs.skipAd()}catch(e){}}),lkqdCloseDelay&&0<lkqdCloseDelay){l.style.display="none",closeTimeUpdate(lkqdCloseTimeRemaing=Math.round(lkqdCloseDelay/1e3),r,"You can close this ad in"),--lkqdCloseTimeRemaing,closeTimeRemainingInterval=setInterval(function(){closeTimeUpdate(lkqdCloseTimeRemaing,r,"You can close this ad in"),--lkqdCloseTimeRemaing},1e3);try{setTimeout(function(){l.style.display=""},lkqdCloseDelay)}catch(e){}}o.appendChild(l)}if(lkqdContainer.style.bottom="0px",mobile_check())try{window.top.addEventListener("orientationchange",resize_event),window.top.addEventListener("resize",resize_event),window.top.addEventListener("gesturestart",touch_move_event)}catch(e){}}else if("outstream"!=execution||"top"!=placement&&"bottom2"!=placement){if("interstitial"==execution){if(mobile_check())try{window.top.addEventListener("orientationchange",resize_event),window.top.addEventListener("resize",resize_event),window.top.addEventListener("gesturestart",touch_move_event),window.top.addEventListener("touchmove",touch_move_event)}catch(e){}else try{window.top.addEventListener("resize",resize_event)}catch(e){}placement&&"overlay"==placement&&(lkqdContainer.style.visibility="visible",lkqdContainer.style.width=window_dimensions(window.top)[0]+"px",lkqdContainer.style.height=window_dimensions(window.top)[1]+"px",lkqdContainer.style.overflow="visible")}}else{if(0!=lkqdCloseButton){lkqdCloseDelay=lkqdCloseDelay||1e4;var d=document.createElement("div");d.setAttribute("style","float:left; width:"+lkqdContainerTopTextWidth+"px; height:100%; background-color:#000000; overflow:hidden; pointer-events: none;"),lkqdContainerTop.appendChild(d);var s=document.createElement("div");lkqdContainerTopTextWidth<100?s.setAttribute("style","position:absolute; z-index:2147483647; line-height:22px; left:0px; height:85%; bottom:0px; width:"+(lkqdContainerTopTextWidth-6)+"px; text-align:center; opacity: 1; padding-left: 3px; padding-right:3px; color: #FFFFFF; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 13px !important; font-weight: 400 !important; overflow:hidden; pointer-events: none;"):s.setAttribute("style","position:absolute; z-index:2147483647; line-height:22px; left:0px; height:85%; bottom:0px; width:"+(lkqdContainerTopTextWidth-6)+"px; text-align:center; opacity: 1; padding-left: 3px; padding-right:3px; color: #FFFFFF; font-family: 'Trebuchet MS', Helvetica, Verdana, Arial; font-size: 19px !important; font-weight: 400 !important; overflow:hidden; pointer-events: none;"),d.appendChild(s),closeTimeUpdate2(lkqdCloseTimeRemaing=Math.round(lkqdCloseDelay/1e3),s,"You can close this ad in"),--lkqdCloseTimeRemaing,closeTimeRemainingInterval=setInterval(function(){closeTimeUpdate2(lkqdCloseTimeRemaing,s,"You can close this ad in"),--lkqdCloseTimeRemaing},1e3)}if("top"==placement?lkqdContainerTop.style.top="0px":"bottom2"==placement&&(lkqdContainerTop.style.bottom="0px"),mobile_check())try{window.top.addEventListener("gesturestart",touch_move_event)}catch(e){}}else lkqdContainer.style.setProperty("-webkit-transition","height 0.7s"),lkqdContainer.style.setProperty("-moz-transition","height 0.7s"),lkqdContainer.style.setProperty("-o-transition","height 0.7s"),lkqdContainer.style.setProperty("transition","height 0.7s"),lkqdContainer.style.width=playerWidth+"px",setTimeout(function(){lkqdContainer.style.height=playerHeight+"px"},0),setTimeout(function(){lkqdContainer.style.visibility="visible"},375),toSlider&&(createSliderCSSClass(lkqdContainer),sliderInterval=setInterval(updateSliderPosition,450))}else if("AdClickThru"==t)trackClick&&pixel_fire(trackClick);else if("AdVideoComplete"==t){if(videoContent&&"pre"==videoContentPlaySetting)try{setTimeout(function(){videoContent.play()},500),videoContent.style.top="-"+playerHeight+"px"}catch(e){}passbackFirst&&removeVideo()}}}function closeTimeUpdate(e,t,n){if(t)if(0==e){t.innerHTML="";try{clearInterval(closeTimeRemainingInterval)}catch(e){}closeTimeRemainingInterval=""}else t.innerHTML=n+" "+e+"s"}function closeTimeUpdate2(e,t,n){if(t)if(0==e){t.innerHTML='<img style="border:0; padding-top:30px; height:55px; pointer-events: all;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAABU1JREFUeAHtmz1vFEcch3MYKZIBQwFNUAqivKAkBQIJqEhMi3A+AsUJpQploOQTIPgQSWMJGhCESOHFVOmQAIEjQWHxIpHCUWhSRJfnOeaOw7673buZHS9sRnq8692d3/9l32Zn5lofZCqdTmcGU5/A57ALtsFWsLyCv+ElLMPjVqv1L8vKS6sqCwS8He1v4WhY7mX5FB7An2DABm4xESZkJ3wJu+Eh3ITfXJKQv1jWuxD0ZliARViFX+A07IcPy3rvsaGOddVQS021N5fVyXYcTs3CKViB23ASepd3tB9qBU21taGt2WjhWAGc2ATfw3O4CPtiNYvqayPY0qa2NxXVqWQ/hg/D73AHvG+zFm0G2/pwKLfxNkY9AyeyGh5iTB/gBbSH7E67CSMzcB4ewcdp1adX05fgk775uk1fEJ6D63ANfMXVquhT8E0fdyR1Loiz6PwM1WQ4gcf6BufgD0hzkhDaActwOoGPWSTw9UewzEUZRMCMekmdixLagMr47NWq79NfsVT2oeI9P73IBgSvSX0Ovp+fygUqt8GnfZp7aSov4irpe4ihPZESlQ6B79bavOomCmDgYGMIsZRrLHGwzVtbVxveyBmII2rVWEJMxc1mDrR9fSfKYg0rG5OxjXWNA2bBSz97236sYwl2GhPYfB/9FcnOH+BSAnu1lCA2v1hPDXWOHXZmrED0Jy0ao7M81HrxxhSaxgbGuL5ThY3HYanYlfFHoHEW7oH9fkmKWkHzbKwgOnaqLKzTYaNdTifX7ZhgA/W3gMFbkiQBnV7wPc2oqwsRe6sW3wqLDTYYViG6GwuNtQ5PfSWk1OoFbIxgrG8aePyzANd7B8Uu0YpOQgqNUXGgbUfrd/39/GOb/0x/Q4IV9KZOQkzdMq6jb2/zhf6x/HMXDvQ3JFpBc+IkTFNnUnexYTf93W49Vvxq+gdK99tPYhDd0kmY5NhJfFh7rLGCMc/42fgpPFl7UMr/0S9MQpljEvv0GJufmYBjcCWl+DCtcQGO2zdMK8U2bF6GY34d+ZpyULLSwtieNubhPnwFN0Lg2r8RtrlvPhzLaqXF8cldNgkdlHSgsvJiYARtEnoB3w5GHTjNGbxmjXlb1gRodSAJBm/gFkeCc535rkH+ODK91VugA5UNk6Nd62ICupnI5aX3Pba8BTz7nnlxvftMYJmr2Ox/ZQK690IOqwPB+xD0nj8ScL3/YGQ9R3n97MOpRr8G/28IcQU0uynszUYSmvsxFBLQ+M/hxneINLtLLNwGizwLmtkpGhLQ+G7xug+MbPFExRSu8H0wfGBEYXY2d2gsJKDZg6MhCQ6PL8F79YlMPMXD4yEBzZ4gEZLwvk2RcV7AYWMrXajQhmZOkupliQRcgKvQvGlyJsHA4Vf4qZeUd2WJz06ZjZsoGZIwh5DlXZoq6+DnMqSZNI2QH0sKmtXa3g76Bk6RtbwZ/x9z2dopWljoy/cXWwfha3BIqZR4oXDCA4JPV5D0l2fbg88JLSCFETPsg9G3Q21mkepL8MmOneqvUIz4inQ+4QnY0BZj8CHPT2YGrycM21hySu0SZJ9YqU2weasP5eYBDwaQYh3DNpv9dvAMXILoOYZFfmkj2NKmtks9x4p0o/bjhF+RfkqvgFdEVT+cVFsb2oqaLhcV8KjKOGWnij1Ldq+tgg2RM3AASk/B8dhQx7pqqKWm2utneY5yqMT2yh5gOOqr8hs4CvPgAOgz8MfTL8ExSQdmHZ12nE4cOPV58hE4aOogqj+evlXJaw3hyhKA9luFhPh62gNfgIEasCO0+mAyxMQ8gicEnOXn8/8B3nJleGwOJSAAAAAASUVORK5CYII="></img>',t.getElementsByTagName("img")[0].addEventListener("click",function(e){lkqdCloseAd()});try{clearInterval(closeTimeRemainingInterval)}catch(e){}closeTimeRemainingInterval=""}else t.innerHTML=n+'<br><br><span style="font-size: 29px;">'+e+"</span>"}function lkqdpauseAd(){if(debug("FORMATS.JS","received::pauseAd"),VPAIDjs)try{VPAIDjs.pauseAd()}catch(e){}}function lkqdresumeAd(){if(debug("FORMATS.JS","received::resumeAd"),VPAIDjs)try{VPAIDjs.resumeAd()}catch(e){}}function lkqdskipAd(){if(debug("FORMATS.JS","received::skipAd"),VPAIDjs)try{VPAIDjs.skipAd()}catch(e){}lkqdstopAd(!0)}function lkqdCloseAd(){if(debug("FORMATS.JS","received::closeAd"),VPAIDjs)try{VPAIDjs.skipAd()}catch(e){}lkqdstopAd(!1)}function lkqdadDuration(){var e=-2;if(VPAIDjs)try{e=VPAIDjs.adDuration()}catch(e){}return e}function lkqdadRemainingTime(){var e=-2;if(VPAIDjs)try{e=VPAIDjs.adRemainingTime()}catch(e){}return e}function lkqdresizeAd(e,t,n){debug("FORMATS.JS","received::resizeAd: width:"+e+" height:"+t+" viewMode:"+n),playerWidth=e,playerHeight=t,lkqdContainer&&(dynamicSize?(lkqdContainer.style.width="100%",lkqdContainer.style.height="100%"):(lkqdContainer.style.width=playerWidth+"px",lkqdContainer.style.height=playerHeight+"px"));try{VPAIDjs.resizeAd(playerWidth,playerHeight,n)}catch(e){}}function lkqdadVolume(){if(debug("FORMATS.JS","received::adVolume: volume:"+volume),VPAIDjs)try{VPAIDjs.setAdVolume(volume)}catch(e){}}function lkqdMouseOverVolume(){0==volumeOn&&0==volumeOff&&(volume=75,lkqdadVolume())}function lkqdMouseOutVolume(){0==volumeOn&&0==volumeOff&&(volume=0,lkqdadVolume())}function lkqdstopAd(e){var t=!0;try{clearInterval(viewability_interval)}catch(e){}viewability_interval="";try{clearInterval(closeTimeRemainingInterval)}catch(e){}closeTimeRemainingInterval="";try{clearInterval(sliderInterval)}catch(e){}if(sliderInterval="",lkqdContainer)try{lkqdContainer.removeEventListener("mouseover",lkqdMouseOverVolume,!1),lkqdContainer.removeEventListener("mouseout",lkqdMouseOutVolume,!1)}catch(e){}if(0==e&&(videoContentURL=""),videoContent&&"pre"==videoContentPlaySetting&&(videoContent.style.top="0px"),videoContentURL&&"post"==videoContentPlaySetting&&("inbanner"==execution||"instream"==execution)&&playerContainer&&1==e?videoContentLoad(playerContainer):videoContentURL&&"post"==videoContentPlaySetting&&"outstream"==execution&&lkqdContainer&&0<totalImps&&1==e?(videoContentLoad(lkqdContainer),t=!1,videoContent&&videoContent.addEventListener("ended",function(){if(lkqdContainer)try{lkqdContainer.parentNode.removeChild(lkqdContainer)}catch(e){}},!1)):(playerContainer&&lkqdPassback&&lkqdPassbackType&&!lkqdPassbackLoaded&&"inbanner"==execution||playerContainer&&lkqdPassback&&lkqdPassbackType&&!lkqdPassbackLoaded&&"outstream"==execution&&("incontent"==placement||"vertical"==placement)&&lkqdSettings&&lkqdSettings.leaveBehind)&&passback_load(),lkqdPlaceholder)try{lkqdPlaceholder.parentNode.removeChild(lkqdPlaceholder)}catch(e){}if(lkqdContainer&&1==t){try{lkqdContainer.parentNode.removeChild(lkqdContainer)}catch(e){}if(lkqdContainerTop)try{lkqdContainerTop.parentNode.removeChild(lkqdContainerTop)}catch(e){}}try{VPAIDjsFrame.parentNode.removeChild(VPAIDjsFrame)}catch(e){}0==totalImps&&pubVPAIDEvents.indexOf("AdUnavailable")<0&&publisher_event_notify("AdUnavailable"),0==totalImps&&pubVPAIDEvents.indexOf("AdError")<0&&publisher_event_notify("AdError"),setTimeout(function(){try{xhrTrackingWindow.parentNode.removeChild(xhrTrackingWindow)}catch(e){}},500),instance_id=(new Date).getTime().toString()+Math.round(1e9*Math.random()).toString(),VPAIDjs=null,adimpression=startad=!(pubVPAIDCalls={}),publisher_event_notify("AdStopped")}function adStopped(){if(stopped=!0,winningAdCpm=winningAdTagId=winningAd=null,videoContent&&"pre"==videoContentPlaySetting)try{videoContent.play(),videoContent.style.top="-"+playerHeight+"px"}catch(e){}if(passbackFirst&&removeVideo(),!lkqdContainer||limitMaxOpps||adParameters||adVpaidUrl||invalidDevice||approvalMode||0!=LkqdEvent1||!(totalOpps<2))if(execution&&("instream"==execution||"inbanner"==execution||"outstream"==execution&&"slider"==placement||"outstream"==execution&&430==pid||"outstream"==execution&&476==pid)&&0<limitMaxOpps)if(limitMaxOpps<=totalOpps||limitMaxImps<=totalImps||1==LkqdEvent1)lkqdstopAd(!0);else{"outstream"==execution&&"slider"==placement?lkqdSettings&&lkqdSettings.slidePosition&&"left"==lkqdSettings.slidePosition?lkqdContainer.style.left=-1*(playerWidth+50)+"px":lkqdContainer.style.right=-1*(playerWidth+50)+"px":"outstream"!=execution||"incontent"!=placement&&"vertical"!=placement?"outstream"==execution&&"bottom"==placement?lkqdContainer.style.bottom="-"+(playerHeight+100)+"px":"outstream"==execution&&"bottom2"==placement?lkqdContainerTop.style.bottom="-"+(playerHeight+100)+"px":"outstream"==execution&&"top"==placement&&(lkqdContainerTop.style.top="-"+(playerHeight+100)+"px"):(viewabilityTriggered=!1,lkqdContainer.style.visibility="hidden",lkqdContainer.style.width="1px",lkqdContainer.style.height="1px",lkqdContainer.style.overflow="hidden");try{VPAIDjsFrame.parentNode.removeChild(VPAIDjsFrame)}catch(e){}instance_id=(new Date).getTime().toString()+Math.round(1e9*Math.random()).toString(),VPAIDjs=null,adimpression=startad=!(pubVPAIDCalls={}),lkqdSettings&&lkqdSettings.reinitializeOpps?publisher_event_notify("AdInstanceComplete"):setTimeout(function(){lkqdinitAd(playerWidth,playerHeight,"normal",600,"",{slot:playerContainer,videoSlot:player,videoSlotCanAutoPlay:!0,lkqdSettings:lkqdSettings})},oppInterval)}else{if(execution&&("outstream"==execution||"interstitial"==execution))if(mobile_check())try{window.top.removeEventListener("orientationchange",resize_event),window.top.removeEventListener("resize",resize_event),window.top.removeEventListener("gesturestart",touch_move_event),window.top.removeEventListener("touchmove",touch_move_event)}catch(e){}else try{window.top.removeEventListener("resize",resize_event)}catch(e){}lkqdstopAd(!0)}else{lkqdContainer.innerHTML="",lkqdContainerTop&&(lkqdContainerTop.innerHTML="");try{VPAIDjsFrame.parentNode.removeChild(VPAIDjsFrame)}catch(e){}instance_id=(new Date).getTime().toString()+Math.round(1e9*Math.random()).toString(),VPAIDjs=null,lkqdinitAd(playerWidth,playerHeight,"normal",600,"",{slot:playerContainer,videoSlot:player,videoSlotCanAutoPlay:!(adimpression=startad=!(pubVPAIDCalls={})),lkqdSettings:lkqdSettings})}}function passback_load(){if(!videoContentURL&&0==lkqdPassbackLoaded&&(lkqdPassbackLoaded=!0,lkqdPassbackType&&"html"==lkqdPassbackType.toLowerCase()&&lkqdPassback.toLowerCase().indexOf(".divogla".split("").reverse().join(""))<0&&lkqdPassback.toLowerCase().indexOf(".liarmaerts".split("").reverse().join(""))<0)){create_and_fire_pixels(73);try{var e=playerWidth,t=playerHeight;e&&t||(e=300,t=250),(passbackContainer=document.createElement("iframe")).width=e,passbackContainer.height=t,passbackContainer.id="passback",passbackContainer.setAttribute("scrolling","no"),passbackContainer.setAttribute("frameborder",0),passbackContainer.style.margin="0 auto",passbackContainer.style.display="table-cell",playerContainer.childNodes&&0<playerContainer.childNodes.length?playerContainer.insertBefore(passbackContainer,playerContainer.childNodes[0]):playerContainer.appendChild(passbackContainer),0<lkqdPassback.indexOf("${TRACKC}")&&(lkqdPassback=lkqdPassback.replace("${TRACKC}",trackClick)),passbackContainer.contentWindow.document.open(),passbackContainer.contentWindow.document.write('<html><body style="margin:0; text-align:center;">'+lkqdPassback+"</body></html>"),passbackContainer.contentWindow.document.close()}catch(e){}}}function showVideo(){passbackContainer&&(passbackContainer.style.left="-"+(playerWidth+20)+"px")}function removeVideo(){passbackContainer&&(passbackContainer.style.left="0px")}function string_replace(e,t,n){if(t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),e&&t){var i=new RegExp(t,"ig");e=e.replace(i,n)}return e}var makeCRCTable=function(){try{for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}catch(e){return null}},crc32=function(e){try{for(var t=window.crcTable||(window.crcTable=makeCRCTable()),n=-1,i=0;i<e.length;i++)n=n>>>8^t[255&(n^e.charCodeAt(i))];return(-1^n)>>>0}catch(e){return 0}},cpm_decode=function(e){if(e){for(var t=e.match(/\d+/)+"",n=t.length,i=parseInt(t),a=[],o=0;o<e.length-n;o++)a.push(String.fromCharCode(e.charCodeAt(o)-52));var r=a.join("");return 0<i?parseFloat(r.substring(0,r.length-i)+"."+r.substring(r.length-i,r.length)):parseFloat(r)}return 0};function shuffleArray(e){var t=e.concat(),n=[];if(t&&"object"==typeof t&&0<t.length)for(;0<t.length;){var i=Math.floor(Math.random()*t.length);n.push(t.splice(i,1)[0])}else n=t;return n}function getHostnameFromUrl(e){var t="";if(e)try{var n=document.createElement("a");0==e.toLowerCase().indexOf("http")||0==e.toLowerCase().indexOf("//")?n.href=e:n.href="https://"+e,t=n.hostname.toLowerCase()}catch(e){t=""}return t}function getParameterByName(e,t){try{e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null==n?"":decodeURIComponent(n[1].replace(/\+/g," "))}catch(e){return""}}function dntSetting(){var e=0;try{window.navigator.doNotTrack&&"undefined"!=window.navigator.doNotTrack&&"null"!=window.navigator.doNotTrack&&"unspecified"!=window.navigator.doNotTrack?e=window.navigator.doNotTrack:window.doNotTrack&&"undefined"!=window.doNotTrack&&"null"!=window.doNotTrack&&"unspecified"!=window.doNotTrack&&(e=window.doNotTrack),e&&"yes"==e?e=1:e&&"no"==e&&(e=0)}catch(e){}return e=e||0}function mobile_check(){var e=!1;try{void 0!==window.orientation&&"ontouchstart"in window&&(!navigator.platform||0!=navigator.platform.indexOf("iP")&&0!=navigator.platform.indexOf("Android")&&0!=navigator.platform.indexOf("Linux")||(e=!0))}catch(e){}return e}function isNumber(e){return!isNaN(parseFloat(e))&&isFinite(e)}function isNode(e){return"object"==typeof Node?e instanceof Node:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}function isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function deepCopy(e){if(!isNode(e)&&!isElement(e)){if("[object Array]"===Object.prototype.toString.call(e)){for(var t=[],n=0,i=e.length;n<i;n++)t[n]=arguments.callee(e[n]);return t}if("object"==typeof e){if(e){t={};for(n in e)t[n]=arguments.callee(e[n]);return t}return null}}return e}function fif_check(){var e=!1;try{var t;if(window.parent&&window.parent.document)try{(t=document.createElement("div")).style.display="none",t.id="lkqd-fif-check",window.parent.document.body.appendChild(t),window.parent.document.getElementById("lkqd-fif-check")?(e=!0,window.parent.document.getElementById("lkqd-fif-check").parentNode.removeChild(window.parent.document.getElementById("lkqd-fif-check"))):t.parentNode&&t.parentNode.removeChild(t),t=null}catch(e){t=null}}catch(e){}return e}function top_access_check(){var e=!1;try{if(window.top&&window.top.document)try{var t=document.createElement("div");t.style.display="none",t.id="lkqd_wt_check",window.top.document.body.appendChild(t),window.top.document.getElementById("lkqd_wt_check")&&(e=!0,window.top.document.getElementById("lkqd_wt_check").parentNode.removeChild(window.top.document.getElementById("lkqd_wt_check")))}catch(e){}}catch(e){}return e}function element_position(e){var t=-1,n=-1,i=-1,a=-1;try{if(e&&e.getBoundingClientRect){var o=e.getBoundingClientRect();o&&(t=o.left,n=o.top,t=Math.floor(t),n=Math.floor(n),pxr=o.right,pyb=o.bottom,pxr=Math.floor(pxr),pyb=Math.floor(pyb),i=pxr-t,a=pyb-n,5e3<i&&(i=-1),5e3<a&&(a=-1))}}catch(e){a=i=n=t=-1}return[t,n,i,a]}function element_dimensions(e){var t;if(e)try{var n,i;if(e.style&&(e.style.width&&(n=(n=e.style.width).replace("px","")),e.style.height&&(i=(i=e.style.height).replace("px",""))),(!n||!i||0<n.indexOf("%")||0<i.indexOf("%")||0<n.indexOf("em")||0<i.indexOf("em"))&&e.getBoundingClientRect){var a=e.getBoundingClientRect();a&&(px=a.left,py=a.top,px=Math.floor(px),py=Math.floor(py),pxr=a.right,pyb=a.bottom,pxr=Math.floor(pxr),pyb=Math.floor(pyb),n=pxr-px,i=pyb-py,5e3<n&&(n=0),5e3<i&&(i=0))}if(10<n&&10<i){try{n=parseInt(n),i=parseInt(i)}catch(e){}t=[n,i]}}catch(e){}return t}function element_style(e,t){var n;try{window.getComputedStyle?n=window.getComputedStyle(e,null)[t]:document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,"")[t]:e.currentStyle?(n=e.currentStyle[t])&&"auto"!=n&&"undefined"!=n&&"NaN"!=n||("height"==t?n=e.clientHeight:"width"==t&&(n=e.clientWidth)):n=e.style[t]}catch(e){}return n}function window_dimensions(e){var t,n,i=[0,0];try{if(e.innerWidth&&"number"==typeof e.innerWidth)t=Math.floor(e.innerWidth);else{t=e.document.documentElement.clientWidth||e.document.body.clientWidth;try{t=Number(t.replace("px",""))}catch(e){}}e.innerHeight&&"number"==typeof e.innerHeight&&(n=Math.floor(e.innerHeight))}catch(e){}return t&&n&&(i=[t,n]),i}function xml_node_value(e,t){var n="";if(e&&e.nodeValue)try{0==(n=e.nodeValue.trim()).toLowerCase().indexOf("<![cdata[")&&(n=(n=n.substring(9,n.length-3)).trim())}catch(e){}if(!n&&e&&(!e.nodeValue||""==e.nodeValue.trim())&&e.parentNode&&e.parentNode.childNodes[1]&&e.parentNode.childNodes[1].nodeValue)try{0==(n=e.parentNode.childNodes[1].nodeValue.trim()).toLowerCase().indexOf("<![cdata[")&&(n=(n=n.substring(9,n.length-3)).trim())}catch(e){}try{if(n&&e&&e.parentNode&&e.parentNode.childNodes[1]&&e.parentNode.childNodes[1].nodeValue&&0==e.parentNode.childNodes[1].nodeValue.indexOf("-"))for(var i=0;i<e.parentNode.childNodes.length;i++)e.parentNode.childNodes[i].nodeValue&&(e.parentNode.childNodes[i].nodeValue==n||(n+=e.parentNode.childNodes[i].nodeValue))}catch(e){}return 1==t&&(n&&0==n.toLowerCase().indexOf("http")||(n=n&&0==n.indexOf("//")?wlp+n:"")),n}function Timer(e,t){var n,i,a=t;this.pause=function(){window.clearTimeout(n),a-=new Date-i},this.resume=function(){i=new Date,window.clearTimeout(n),n=window.setTimeout(e,a)},this.resume()}var target_script,loading_icon="data:image/png;base64,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";function videoContentLoad(e){if(videoContent=document.createElement("video"),videoContentControls&&videoContent.setAttribute("controls","controls"),videoContent.addEventListener("playing",function(){publisher_event_notify("ContentVideoPlaying")},!1),videoContent.addEventListener("pause",function(){publisher_event_notify("ContentVideoPaused")},!1),videoContent.addEventListener("ended",function(){publisher_event_notify("ContentVideoStopped")},!1),0<videoContentVolume){var t=videoContentVolume;1<t&&t<=100&&(t/=100),videoContent.volume=t}else videoContent.muted=!0,videoContent.volume=0;if(0==videoContentLoop?videoContent.addEventListener("ended",function(){publisher_event_notify("ContentVideoComplete")},!1):videoContent.setAttribute("loop","loop"),videoContent.addEventListener("playing",function(){publisher_event_notify("ContentVideoStart")},!1),videoContent.setAttribute("webkit-playsinline","webkit-playsinline"),videoContent.setAttribute("playsinline","playsinline"),videoContent.setAttribute("width",playerWidth),videoContent.setAttribute("height",playerHeight),videoContent.setAttribute("style","background-color:#000000"),videoContent.setAttribute("src",videoContentURL),videoContentLP&&(videoContent.onclick=function(e){try{window.open(videoContentLP,"_blank").focus()}catch(e){}try{e.stopPropagation()}catch(e){}}),videoContent.style.margin="0 auto",videoContent.style.padding=0,videoContent.style.backgroundColor="#000000",videoContent.style.position="relative",videoContent.style.zIndex="100",videoContent.style.top="0px",null!=videoContentInitiation&&"user"==videoContentInitiation){var n=document.createElement("div");n.style.backgroundColor="#000000",n.style.width="100%",n.style.height="100%",n.style.position="relative",n.style.zIndex="101",n.style.top="-"+playerHeight+"px",n.addEventListener("click",function(){videoContent.style.display="",videoContent.play(),n.parentElement.removeChild(n)}),null!=videoContentPosterURL&&(n.style.backgroundImage='url("'+videoContentPosterURL+'")',n.style.backgroundSize="100%",n.style.backgroundPosition="center",n.style.backgroundRepeat="no-repeat"),n.innerHTML='<img style="height: 50px; margin:0 auto; position:relative; display:block; top:45%" src="'+lkqdCdn+'play.png">',e.appendChild(n),videoContent.style.display="none"}else if(videoContent.addEventListener("loadedmetadata",playerLoadedMetadata,!1),null!=videoContentPosterURL)try{videoContent.setAttribute("poster",videoContentPosterURL)}catch(e){}e.appendChild(videoContent)}function playerLoadedMetadata(e){var t=e.target;if(t)if(window.Promise){var n=t.play();void 0!==n&&n.then(function(){}).catch(function(e){t.muted=!0,t.volume=0,t.play()})}else t.play()}function videoContentRemove(){if(videoContent){try{videoContent.parentElement.removeChild(videoContent)}catch(e){}videoContentURL="",1==stopped&&passback_load()}}function pauseContentVideo(){if(videoContent)try{videoContent.pause()}catch(e){}}function resumeContentVideo(){if(videoContent)try{videoContent.play()}catch(e){}}function stopContentVideo(){if(videoContent){try{videoContent.pause()}catch(e){}try{videoContent.parentElement.removeChild(videoContent)}catch(e){}publisher_event_notify("ContentVideoStopped")}}function publisher_event_notify(e){if(pubVPAIDEvents.push(e),pubVPAIDSubs&&pubVPAIDSubs[e])try{for(var t=0;t<pubVPAIDSubs[e].length;t++){var n=null;void 0!==pubVPAIDSubs[e][t].context&&(n=pubVPAIDSubs[e][t].context);try{pubVPAIDSubs[e][t].callback.apply(n,[])}catch(e){}}}catch(e){}}function pixel_fire(t){if(t){try{"https:"==wlp&&0==t.toLowerCase().indexOf("http://")&&(t="https://"+t.substring(7))}catch(e){}try{var e;if(0<t.indexOf("t.lkqd.net")&&t.indexOf("t.lkqd.net")<=10)if("withCredentials"in new XMLHttpRequest&&(e={queryStrings:[t.substring(t.indexOf("?")+1)]}),e&&e.queryStrings&&0<e.queryStrings.length){var n;try{n=new xhrTrackingWindow.contentWindow.XMLHttpRequest}catch(e){(new Image).src=t}if(n)try{n.open("POST","https://t.lkqd.net/t",!0),n.withCredentials=!0,n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify(e))}catch(e){}}else{(new Image).src=t}else(new Image).src=t}catch(e){}}}function create_and_fire_pixels(e,t){var n;if(pixelBaseUrl&&adserverJson&&adserverJson.pixels)try{for(var i=0;i<adserverJson.pixels.length;i++)if(adserverJson.pixels[i].eventId==e){adserverJson.pixels[i].pixelUrls&&(n=adserverJson.pixels[i].pixelUrls[0]);break}}catch(e){}if(pixelBaseUrl&&n){a=(a=(a=n.replace("${BASE_URL}",pixelBaseUrl)).replace("${EVENT_ID}",e)).replace("${PAGE_DOMAIN}",encodeURIComponent(getHostnameFromUrl(pageurl)))}else{var a=wlp+"//t.lkqd.net/t?ev="+e+"&pid="+(pid||0)+"&sid="+(sid||0);a+="&pubtagtype=lkqd-formats&lkqdtagtype=lkqd-formats",a+="&tlr=1",a+="&host="+encodeURIComponent(getHostnameFromUrl(pageurl)),a+="&cb="+Math.round((new Date).getTime()/2).toString()}t&&(a+=t),pixelBaseUrl&&(a+="&cs="+crc32(a)),pixel_fire(a)}function debug(e,t){e&&t&&window.console}function touch_move_event(e){try{e.preventDefault()}catch(e){}}function resize_event(e,t){var n=window_dimensions(window.top)[0],i=window_dimensions(window.top)[1];execution&&"interstitial"==execution?lkqdresizeAd(n,i,"normal"):execution&&"outstream"==execution&&placement&&"slider"==placement?(playerWidth&&100<playerWidth&&playerWidth<600||(playerWidth=600,mobile_check()&&(playerWidth=500)),playerWidth>Math.ceil(.6*n)&&(playerWidth=Math.min(600,Math.ceil(.6*n))),mobile_check()&&i<n&&(playerWidth=Math.min(600,Math.ceil(.4*n))),playerHeight=Math.ceil(playerWidth/(16/9)),lkqdContainer.style.right="25px",lkqdSettings&&lkqdSettings.bottomPadding?lkqdContainer.style.bottom=lkqdSettings.bottomPadding+"px":lkqdContainer.style.bottom="10px",lkqdresizeAd(playerWidth,playerHeight,"normal")):execution&&"outstream"==execution&&placement&&"bottom"==placement&&((playerWidth=700)>Math.ceil(.9*n)&&(playerWidth=Math.min(700,Math.ceil(.9*n))),mobile_check()&&i<n&&(playerWidth=Math.min(700,Math.ceil(.4*n))),playerHeight=Math.ceil(playerWidth/(16/9)),lkqdContainer.style.left=(n-playerWidth)/2+"px",lkqdContainer.style.bottom="0px",lkqdresizeAd(playerWidth,playerHeight,"normal")),t||setTimeout(function(){resize_event(e,!0)},300)}function clickAdIframe(e,t){var n=lkqdCdn+"close-button.png";try{window_dimensions(t)[0];var i=window_dimensions(t)[1],a=Math.ceil(.06*i);i<1100&&(a=Math.ceil(.12*i));var o=document.createElement("div");o.id="clickIframeClose",o.setAttribute("style","position:fixed; top:0px; left:0px; background-color: #999999; text-align:left; z-index:2147483647; width:100%; height:"+a+"px;"),o.innerHTML="<img onclick=\"(function(){ try { document.getElementById('clickIframe').parentNode.removeChild(document.getElementById('clickIframe')); document.getElementById('clickIframeClose').parentNode.removeChild(document.getElementById('clickIframeClose')); } catch (e) {} })()\" src=\""+n+'" style="position:relative; height:'+(a-8)+'px; left:6px; top:5px;">',t.document.body.appendChild(o);var r=document.createElement("div");r.id="clickIframe",r.setAttribute("style","position:fixed; top:"+a+"px; left:0px; background-color: #999999; text-align:left; z-index:2147483647; width:100%; height:100%; overflow-x:hidden; -webkit-overflow-scrolling: touch; overflow-y: scroll;"),r.innerHTML='<iframe style="width:100%; height:100%;" src="'+e+'"></iframe>',t.document.body.appendChild(r)}catch(e){}}function userInitiation(e){if(e)try{lkqdContainer.removeChild(e)}catch(e){}lkqdSettings.userInitiationElement&&lkqdSettings.userInitiationElement.removeEventListener("click",userInitiation,!1),player&&(lkqdSettings.setClickDelay?playCallback(0):player.play()),lkqdContainer.style.backgroundImage='url("'+loading_icon+'")',lkqdContainer.style.backgroundSize="40px auto",load_player(!(userInitiated=!0))}function playCallback(e){player.getAttribute("src")&&""!=player.getAttribute("src")?player.play():e<50&&setTimeout(function(){playCallback(e+1)},100)}for(var scripts=document.getElementsByTagName("script"),i=scripts.length-1;0<=i;i--){var src=scripts[i].getAttribute("src");if(src&&(0<=src.indexOf("ad.lkqd.net/serve/formats.js?")||0<=src.indexOf("ad-dev.lkqd.net/serve/formats.js?")||0<=src.indexOf("ad.lkqd.net/vpaid/formats.js?")||0<=src.indexOf("formats_merged.js?"))){if(!(lkqdFormatCache&&0<lkqdFormatCache.length)){lkqdFormatCache.push(scripts[i]),target_script=scripts[i];break}for(var script_done=!1,z=0;z<lkqdFormatCache.length;z++)if(lkqdFormatCache[z]==scripts[i]){script_done=!0;break}if(0==script_done){lkqdFormatCache.push(scripts[i]),target_script=scripts[i];break}}}function formatsLoaded(){try{window.dispatchEvent(createNewEvent("lkqdFormatsLoad"))}catch(e){}}function createNewEvent(e){var t;try{"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0)}catch(e){}return t}formatsLoaded();var viewability_interval,viewability_tab_hidden,viewability_tab_change,viewability_tracking=!1,viewability_viewable_50p2s=!1,viewability_consecutive=0,viewability_consecutive_max=0,viewability_active_tab_last_state=0,viewability_last_state=0,viewability_threshold=2;if(!viewability_tab_hidden)try{void 0!==document.hidden?(viewability_tab_hidden="hidden",viewability_tab_change="visibilitychange"):void 0!==document.mozHidden?(viewability_tab_hidden="mozHidden",viewability_tab_change="mozvisibilitychange"):void 0!==document.msHidden?(viewability_tab_hidden="msHidden",viewability_tab_change="msvisibilitychange"):void 0!==document.webkitHidden&&(viewability_tab_hidden="webkitHidden",viewability_tab_change="webkitvisibilitychange")}catch(e){}function viewability_check(e,t,n,i,a){var o=!1,r=0;try{void 0!==document.addEventListener&&void 0!==viewability_tab_hidden&&(r=document[viewability_tab_hidden]?2:1)}catch(e){r=0}if(viewability_active_tab_last_state=r,e){try{var l=element_position(e),d=l[0],s=l[1],c=Math.ceil(Number(i.innerWidth)),p=Math.ceil(Number(i.innerHeight)),u=Math.ceil(t/viewability_threshold),m=Math.ceil(n/viewability_threshold),g=Math.ceil(c-u),h=Math.ceil(p-m);if(-1!=d&&-1!=s&&-1!=c&&-1!=p&&1==r){c<u||p<m?o=!1:-1*u<=d&&-1*m<=s&&d<g&&s<h&&(o=!0)}if(1==o&&0==d&&0==s&&0==l[2]&&0==l[3]&&(o=!1),o&&0==viewabilityTriggered&&"outstream"==execution&&("incontent"==placement||"vertical"==placement)&&(viewabilityTriggered=!0,1==startad&&VPAIDjs))if("outstream"==execution&&"incontent"==placement)try{VPAIDjs.startAd()}catch(e){}else try{VPAIDjs.startAd()}catch(e){}}catch(e){}1==adimpression&&(viewability_last_state=o?1:(viewability_consecutive=0,2))}return o}function getPageInfo(){var e,t,n="",i=top_access_check(),a="",o="",r=0,l=0;try{window.location.ancestorOrigins&&void 0!==window.location.ancestorOrigins&&(r=1)}catch(e){}if(window_context!=top){if(l=1,window_context.parent.window!=top){if(l=2,1==r)try{l=window.location.ancestorOrigins.length}catch(e){}if(i)try{t=window.top.document}catch(e){t=null}}else try{t=window_context.parent.window.document}catch(e){t=null}t&&t.location&&t.location.href&&0==t.location.href.indexOf("http")?n=getHostnameFromUrl(t.location.href):document_context&&document_context.referrer&&0==document_context.referrer.indexOf("http")&&(n=getHostnameFromUrl(document_context.referrer))}else n=getHostnameFromUrl(document_context.location.href);if(1==r)try{if(window.location.ancestorOrigins&&1<=window.location.ancestorOrigins.length){var d=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1];d&&"null"!=d&&(n=getHostnameFromUrl(d))}}catch(e){}return e=n,a=document_context.location.href,document_context.referrer&&(o=document_context.referrer),window_context!=top&&(window_context.parent.window!=top?e&&(a="http://"+e+"/"):o&&0<=o.indexOf(e)&&o.indexOf(e)<50&&0==o.indexOf("http")?(a=o,o=""):1==r&&e&&(a="http://"+e+"/")),{hostname:e,top_hostname:n,top_domain:"",page_url:a,page_referrer:o,ancestor_origin_support:r,iframe_cnt:l}}function updateSliderPosition(){var e=viewability_check(playerContainer,playerWidth,playerHeight,window.top,!1);e||hasSliderClass?e&&hasSliderClass&&(lkqdContainer.className="",hasSliderClass=!1,lkqdPlaceholder&&(lkqdPlaceholder.style.display="none")):(lkqdContainer.className="lkqdSlider",hasSliderClass=!0,lkqdPlaceholder&&(lkqdPlaceholder.style.display="inherit"))}function createSliderCSSClass(){var e=".lkqdSlider {width:"+playerWidth+"px;";e+=" height:"+playerHeight+"px;",e+=" z-index: 2147483647;",e+=" position: fixed;",e+=" right:40px;",e+=" bottom: 10px;",e+=" border: 1px solid #CCCCCC;",e+=" box-sizing: content-box;",e+=" padding: 4px;",e+=" overflow: visible;",e+=" backgroundColor: #EEEEEE;";var t=document_context.head||document_context.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}function xml_vast_parse(e){var t,n={ads:[],extensions:{lkqd:{passback:{tag:"",tagtype:""}}}};if(e&&window.DOMParser)try{t=(new DOMParser).parseFromString(e.trim(),"application/xml")}catch(e){t=""}if(t)try{var i=t.getElementsByTagName("Extensions")[0];if(i&&i.childNodes&&1<=i.childNodes.length)for(var a=0;a<i.childNodes.length;a++)try{if(i.childNodes[a]&&i.childNodes[a].getAttribute("type")&&"LKQD"==i.childNodes[a].getAttribute("type")&&i.childNodes[a].childNodes&&1<=i.childNodes[a].childNodes.length){var o=i.childNodes[a].getElementsByTagName("Passback")[0];if(o){var r=o.getElementsByTagName("Tag")[0];r&&(n.extensions.lkqd.passback.tag=xml_node_value(r.childNodes[0],!1))}var l=o.getElementsByTagName("TagType")[0];l&&(n.extensions.lkqd.passback.tagtype=xml_node_value(l.childNodes[0],!1));break}}catch(e){}}catch(e){}if(t&&t.getElementsByTagName("Ad"))for(var d=0;d<t.getElementsByTagName("Ad").length;d++){var s={pixels:[{eventId:2,pixelUrls:[]},{eventId:3,pixelUrls:[]},{eventId:4,pixelUrls:[]},{eventId:5,pixelUrls:[]},{eventId:6,pixelUrls:[]},{eventId:7,pixelUrls:[]},{eventId:8,pixelUrls:[]},{eventId:9,pixelUrls:[]}],wrappers:[],mediaFiles:[],durationMs:"",clickThroughUrl:"",adParameters:{content:""},companion:{height:"",width:"",resourceType:"",mimeType:"",companionAsset:"",clickThroughUrl:""}},c=t.getElementsByTagName("Ad")[d],p=c.getElementsByTagName("VASTAdTagURI");if(p&&0<p.length)try{var u=xml_node_value(p[0].childNodes[0],!0);u&&s.wrappers.push(u)}catch(e){}var m=c.getElementsByTagName("Impression");if(m&&0<m.length)for(a=0;a<m.length;a++){var g=xml_node_value(m[a].childNodes[0],!0);if(g)for(var h=0;h<s.pixels.length;h++)if(3==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(g);break}}var f=c.getElementsByTagName("Error");if(f&&0<f.length)for(a=0;a<f.length;a++){var y=xml_node_value(f[a].childNodes[0],!0);if(y)for(h=0;h<s.pixels.length;h++)if(9==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(y);break}}var k=c.getElementsByTagName("Creatives");if(k&&0<k.length){var A=k[0].getElementsByTagName("Creative");if(A&&0<A.length){var v=A[0];if(v){var C=c.getElementsByTagName("AdParameters")[0];if(C&&C.childNodes)for(a=0;a<C.childNodes.length;a++)s.adParameters.content?s.adParameters.content+=xml_node_value(C.childNodes[a],!1):s.adParameters.content=xml_node_value(C.childNodes[a],!1);var b=c.getElementsByTagName("MediaFiles")[0];if(b){var w=b.getElementsByTagName("MediaFile");if(w&&0<w.length)for(a=0;a<w.length;a++)s.mediaFiles.push({url:xml_node_value(w[a].childNodes[0],!0),height:w[a].getAttribute("height"),width:w[a].getAttribute("width"),mimeType:w[a].getAttribute("type"),apiFramework:w[a].getAttribute("apiFramework"),bitrate:w[a].getAttribute("bitrate"),delivery:w[a].getAttribute("delivery")})}var x=c.getElementsByTagName("Duration")[0];if(x){var q=xml_node_value(x.childNodes[0],!1);if(q)try{if(0<q.indexOf(":")){var I=q.split(":").reverse(),S=0;for(a=0;a<I.length;a++)S+=parseInt(I[a])*Math.pow(60,a);q=S}q=Number(q)}catch(e){q=15}q&&0!=q||(q=15),s.durationMs=1e3*q}var _=c.getElementsByTagName("VideoClicks")[0];if(_){var E=_.getElementsByTagName("ClickThrough")[0];if(E){var P=xml_node_value(E.childNodes[0],!0);P&&(s.clickThroughUrl=P)}var B=_.getElementsByTagName("ClickTracking");if(B)for(a=0;a<B.length;a++){var T=xml_node_value(B[a].childNodes[0],!0);if(T)for(h=0;h<s.pixels.length;h++)if(8==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(T);break}}}var D=v.getElementsByTagName("TrackingEvents")[0];if(D){var V=D.getElementsByTagName("Tracking");if(V)for(a=0;a<V.length;a++)try{var N=V[a].getAttribute("event");if(N){N=N.toLowerCase();var M=xml_node_value(V[a].childNodes[0],!0);if("start"==N){for(h=0;h<s.pixels.length;h++)if(2==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(M);break}}else if("firstquartile"==N){for(h=0;h<s.pixels.length;h++)if(4==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(M);break}}else if("midpoint"==N){for(h=0;h<s.pixels.length;h++)if(5==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(M);break}}else if("thirdquartile"==N){for(h=0;h<s.pixels.length;h++)if(6==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(M);break}}else if("complete"==N)for(h=0;h<s.pixels.length;h++)if(7==s.pixels[h].eventId){s.pixels[h].pixelUrls.push(M);break}}}catch(e){}}}}}n.ads.push(s)}return n}function inflate(e){var t;if(t=window.atob?atob(e):base64.decode(e)){var n=t.split("").map(function(e){return e.charCodeAt(0)}),i=new Uint8Array(n);t=_arrayBufferToBase64(pako.inflate(i))}return t}function _arrayBufferToBase64(e){for(var t="",n=new Uint8Array(e),i=n.byteLength,a=0;a<i;a++)t+=String.fromCharCode(n[a]);return t}!function(){try{new Uint8Array(1);return}catch(e){}function i(e,t){return this.slice(e,t)}function a(e,t){arguments.length<2&&(t=0);for(var n=0,i=e.length;n<i;++n,++t)this[t]=255&e[n]}function e(e){var t;if("number"==typeof e){t=new Array(e);for(var n=0;n<e;++n)t[n]=0}else t=e.slice(0);return t.subarray=i,(t.buffer=t).byteLength=t.length,t.set=a,"object"==typeof e&&e.buffer&&(t.buffer=e.buffer),t}window.Uint8Array=e,window.Uint32Array=e,window.Int32Array=e}();var base64={PADCHAR:"=",ALPHA:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",makeDOMException:function(){try{return new DOMException(DOMException.INVALID_CHARACTER_ERR)}catch(e){var t=new Error("DOM Exception 5");return t.code=t.number=5,t.name=t.description="INVALID_CHARACTER_ERR",t.toString=function(){return"Error: "+t.name+": "+t.message},t}},getbyte64:function(e,t){var n=base64.ALPHA.indexOf(e.charAt(t));if(-1===n)throw base64.makeDOMException();return n},decode:function(e){e=""+e;var t,n,i,a=base64.getbyte64,o=e.length;if(0===o)return e;if(o%4!=0)throw base64.makeDOMException();t=0,e.charAt(o-1)===base64.PADCHAR&&(t=1,e.charAt(o-2)===base64.PADCHAR&&(t=2),o-=4);var r=[];for(n=0;n<o;n+=4)i=a(e,n)<<18|a(e,n+1)<<12|a(e,n+2)<<6|a(e,n+3),r.push(String.fromCharCode(i>>16,i>>8&255,255&i));switch(t){case 1:i=a(e,n)<<18|a(e,n+1)<<12|a(e,n+2)<<6,r.push(String.fromCharCode(i>>16,i>>8&255));break;case 2:i=a(e,n)<<18|a(e,n+1)<<12,r.push(String.fromCharCode(i>>16))}return r.join("")},getbyte:function(e,t){var n=e.charCodeAt(t);if(255<n)throw base64.makeDOMException();return n},encode:function(e){if(1!==arguments.length)throw new SyntaxError("Not enough arguments");var t,n,i=base64.PADCHAR,a=base64.ALPHA,o=base64.getbyte,r=[],l=(e=""+e).length-e.length%3;if(0===e.length)return e;for(t=0;t<l;t+=3)n=o(e,t)<<16|o(e,t+1)<<8|o(e,t+2),r.push(a.charAt(n>>18)),r.push(a.charAt(n>>12&63)),r.push(a.charAt(n>>6&63)),r.push(a.charAt(63&n));switch(e.length-l){case 1:n=o(e,t)<<16,r.push(a.charAt(n>>18)+a.charAt(n>>12&63)+i+i);break;case 2:n=o(e,t)<<16|o(e,t+1)<<8,r.push(a.charAt(n>>18)+a.charAt(n>>12&63)+a.charAt(n>>6&63)+i)}return r.join("")}};!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pako=e()}}(function(){return function o(r,l,d){function s(n,e){if(!l[n]){if(!r[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(c)return c(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var a=l[n]={exports:{}};r[n][0].call(a.exports,function(e){var t=r[n][1][e];return s(t||e)},a,a.exports,o,r,l,d)}return l[n].exports}for(var c="function"==typeof require&&require,e=0;e<d.length;e++)s(d[e]);return s}({1:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,n,i,a){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),a);else for(var o=0;o<i;o++)e[a+o]=t[n+o]},flattenChunks:function(e){var t,n,i,a,o,r;for(t=i=0,n=e.length;t<n;t++)i+=e[t].length;for(r=new Uint8Array(i),t=a=0,n=e.length;t<n;t++)o=e[t],r.set(o,a),a+=o.length;return r}},o={arraySet:function(e,t,n,i,a){for(var o=0;o<i;o++)e[a+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,a)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],2:[function(e,t,n){"use strict";function d(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&a))return String.fromCharCode.apply(null,s.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}var s=e("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var c=new s.Buf8(256),i=0;i<256;i++)c[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;c[254]=c[254]=1,n.string2buf=function(e){var t,n,i,a,o,r=e.length,l=0;for(a=0;a<r;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<r&&(56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new s.Buf8(l),a=o=0;o<l;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<r&&(56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++)),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return d(e,e.length)},n.binstring2buf=function(e){for(var t=new s.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,a,o,r=t||e.length,l=new Array(2*r);for(n=i=0;n<r;)if((a=e[n++])<128)l[i++]=a;else if(4<(o=c[a]))l[i++]=65533,n+=o-1;else{for(a&=2===o?31:3===o?15:7;1<o&&n<r;)a=a<<6|63&e[n++],o--;1<o?l[i++]=65533:a<65536?l[i++]=a:(a-=65536,l[i++]=55296|a>>10&1023,l[i++]=56320|1023&a)}return d(l,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+c[e[n]]>t?n:t}},{"./common":1}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n,i){for(var a=65535&e|0,o=e>>>16&65535|0,r=0;0!==n;){for(n-=r=2e3<n?2e3:n;o=o+(a=a+t[i++]|0)|0,--r;);a%=65521,o%=65521}return a|o<<16|0}},{}],4:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(e,t,n){"use strict";var l=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=l,o=i+n;e^=-1;for(var r=i;r<o;r++)e=e>>>8^a[255&(e^t[r])];return-1^e}},{}],6:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(e,t,n){"use strict";t.exports=function(e,t){var n,i,a,o,r,l,d,s,c,p,u,m,g,h,f,y,k,A,v,C,b,w,x,q,I;n=e.state,i=e.next_in,q=e.input,a=i+(e.avail_in-5),o=e.next_out,I=e.output,r=o-(t-e.avail_out),l=o+(e.avail_out-257),d=n.dmax,s=n.wsize,c=n.whave,p=n.wnext,u=n.window,m=n.hold,g=n.bits,h=n.lencode,f=n.distcode,y=(1<<n.lenbits)-1,k=(1<<n.distbits)-1;e:do{g<15&&(m+=q[i++]<<g,g+=8,m+=q[i++]<<g,g+=8),A=h[m&y];t:for(;;){if(m>>>=v=A>>>24,g-=v,0===(v=A>>>16&255))I[o++]=65535&A;else{if(!(16&v)){if(0==(64&v)){A=h[(65535&A)+(m&(1<<v)-1)];continue t}if(32&v){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}C=65535&A,(v&=15)&&(g<v&&(m+=q[i++]<<g,g+=8),C+=m&(1<<v)-1,m>>>=v,g-=v),g<15&&(m+=q[i++]<<g,g+=8,m+=q[i++]<<g,g+=8),A=f[m&k];n:for(;;){if(m>>>=v=A>>>24,g-=v,!(16&(v=A>>>16&255))){if(0==(64&v)){A=f[(65535&A)+(m&(1<<v)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(b=65535&A,g<(v&=15)&&(m+=q[i++]<<g,(g+=8)<v&&(m+=q[i++]<<g,g+=8)),d<(b+=m&(1<<v)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(m>>>=v,g-=v,(v=o-r)<b){if(c<(v=b-v)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=u,(w=0)===p){if(w+=s-v,v<C){for(C-=v;I[o++]=u[w++],--v;);w=o-b,x=I}}else if(p<v){if(w+=s+p-v,(v-=p)<C){for(C-=v;I[o++]=u[w++],--v;);if(w=0,p<C){for(C-=v=p;I[o++]=u[w++],--v;);w=o-b,x=I}}}else if(w+=p-v,v<C){for(C-=v;I[o++]=u[w++],--v;);w=o-b,x=I}for(;2<C;)I[o++]=x[w++],I[o++]=x[w++],I[o++]=x[w++],C-=3;C&&(I[o++]=x[w++],1<C&&(I[o++]=x[w++]))}else{for(w=o-b;I[o++]=I[w++],I[o++]=I[w++],I[o++]=I[w++],2<(C-=3););C&&(I[o++]=I[w++],1<C&&(I[o++]=I[w++]))}break}}break}}while(i<a&&o<l);i-=C=g>>3,m&=(1<<(g-=C<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i<a?a-i+5:5-(i-a),e.avail_out=o<l?l-o+257:257-(o-l),n.hold=m,n.bits=g}},{}],8:[function(e,t,n){"use strict";function E(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function a(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=R,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new T.Buf32(c),t.distcode=t.distdyn=new T.Buf32(p),t.sane=1,t.back=-1,O):U}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,i(e)):U}function r(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?U:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,o(e))):U}function l(e,t){var n,i;return e?(i=new a,(e.state=i).window=null,(n=r(e,t))!==O&&(e.state=null),n):U}function P(e){if(u){var t;for(d=new T.Buf32(512),s=new T.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(M(L,e.lens,0,288,d,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;M(H,e.lens,0,32,s,0,e.work,{bits:5}),u=!1}e.lencode=d,e.lenbits=9,e.distcode=s,e.distbits=5}function B(e,t,n,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new T.Buf8(o.wsize)),i>=o.wsize?(T.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),T.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(T.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}var d,s,T=e("../utils/common"),D=e("./adler32"),V=e("./crc32"),N=e("./inffast"),M=e("./inftrees"),L=1,H=2,O=0,U=-2,R=1,c=852,p=592,u=!0;n.inflateReset=o,n.inflateReset2=r,n.inflateResetKeep=i,n.inflateInit=function(e){return l(e,15)},n.inflateInit2=l,n.inflate=function(e,t){var n,i,a,o,r,l,d,s,c,p,u,m,g,h,f,y,k,A,v,C,b,w,x,q,I=0,S=new T.Buf8(4),_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return U;12===(n=e.state).mode&&(n.mode=13),r=e.next_out,a=e.output,d=e.avail_out,o=e.next_in,i=e.input,l=e.avail_in,s=n.hold,c=n.bits,p=l,u=d,w=O;e:for(;;)switch(n.mode){case R:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(2&n.wrap&&35615===s){S[n.check=0]=255&s,S[1]=s>>>8&255,n.check=V(n.check,S,2,0),c=s=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&s)<<8)+(s>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&s)){e.msg="unknown compression method",n.mode=30;break}if(c-=4,b=8+(15&(s>>>=4)),0===n.wbits)n.wbits=b;else if(b>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<b,e.adler=n.check=1,n.mode=512&s?10:12,c=s=0;break;case 2:for(;c<16;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(n.flags=s,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=s>>8&1),512&n.flags&&(S[0]=255&s,S[1]=s>>>8&255,n.check=V(n.check,S,2,0)),c=s=0,n.mode=3;case 3:for(;c<32;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.head&&(n.head.time=s),512&n.flags&&(S[0]=255&s,S[1]=s>>>8&255,S[2]=s>>>16&255,S[3]=s>>>24&255,n.check=V(n.check,S,4,0)),c=s=0,n.mode=4;case 4:for(;c<16;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.head&&(n.head.xflags=255&s,n.head.os=s>>8),512&n.flags&&(S[0]=255&s,S[1]=s>>>8&255,n.check=V(n.check,S,2,0)),c=s=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.length=s,n.head&&(n.head.extra_len=s),512&n.flags&&(S[0]=255&s,S[1]=s>>>8&255,n.check=V(n.check,S,2,0)),c=s=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(l<(m=n.length)&&(m=l),m&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),T.arraySet(n.head.extra,i,o,m,b)),512&n.flags&&(n.check=V(n.check,i,m,o)),l-=m,o+=m,n.length-=m),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===l)break e;for(m=0;b=i[o+m++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b)),b&&m<l;);if(512&n.flags&&(n.check=V(n.check,i,m,o)),l-=m,o+=m,b)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===l)break e;for(m=0;b=i[o+m++],n.head&&b&&n.length<65536&&(n.head.comment+=String.fromCharCode(b)),b&&m<l;);if(512&n.flags&&(n.check=V(n.check,i,m,o)),l-=m,o+=m,b)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(s!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}c=s=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}e.adler=n.check=E(s),c=s=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,n.hold=s,n.bits=c,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){s>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}switch(n.last=1&s,--c,3&(s>>>=1)){case 0:n.mode=14;break;case 1:if(P(n),n.mode=20,6!==t)break;s>>>=2,c-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}s>>>=2,c-=2;break;case 14:for(s>>>=7&c,c-=7&c;c<32;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if((65535&s)!=(s>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&s,c=s=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(m=n.length){if(l<m&&(m=l),d<m&&(m=d),0===m)break e;T.arraySet(a,i,o,m,r),l-=m,o+=m,d-=m,r+=m,n.length-=m;break}n.mode=12;break;case 17:for(;c<14;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(n.nlen=257+(31&s),s>>>=5,c-=5,n.ndist=1+(31&s),s>>>=5,c-=5,n.ncode=4+(15&s),s>>>=4,c-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.lens[_[n.have++]]=7&s,s>>>=3,c-=3}for(;n.have<19;)n.lens[_[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,x={bits:n.lenbits},w=M(0,n.lens,0,19,n.lencode,0,n.work,x),n.lenbits=x.bits,w){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;y=(I=n.lencode[s&(1<<n.lenbits)-1])>>>16&255,k=65535&I,!((f=I>>>24)<=c);){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(k<16)s>>>=f,c-=f,n.lens[n.have++]=k;else{if(16===k){for(q=f+2;c<q;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(s>>>=f,c-=f,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}b=n.lens[n.have-1],m=3+(3&s),s>>>=2,c-=2}else if(17===k){for(q=f+3;c<q;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}c-=f,b=0,m=3+(7&(s>>>=f)),s>>>=3,c-=3}else{for(q=f+7;c<q;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}c-=f,b=0,m=11+(127&(s>>>=f)),s>>>=7,c-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;m--;)n.lens[n.have++]=b}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,x={bits:n.lenbits},w=M(L,n.lens,0,n.nlen,n.lencode,0,n.work,x),n.lenbits=x.bits,w){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,x={bits:n.distbits},w=M(H,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,x),n.distbits=x.bits,w){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=l&&258<=d){e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,n.hold=s,n.bits=c,N(e,u),r=e.next_out,a=e.output,d=e.avail_out,o=e.next_in,i=e.input,l=e.avail_in,s=n.hold,c=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;y=(I=n.lencode[s&(1<<n.lenbits)-1])>>>16&255,k=65535&I,!((f=I>>>24)<=c);){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(y&&0==(240&y)){for(A=f,v=y,C=k;y=(I=n.lencode[C+((s&(1<<A+v)-1)>>A)])>>>16&255,k=65535&I,!(A+(f=I>>>24)<=c);){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}s>>>=A,c-=A,n.back+=A}if(s>>>=f,c-=f,n.back+=f,n.length=k,0===y){n.mode=26;break}if(32&y){n.back=-1,n.mode=12;break}if(64&y){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&y,n.mode=22;case 22:if(n.extra){for(q=n.extra;c<q;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.length+=s&(1<<n.extra)-1,s>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;y=(I=n.distcode[s&(1<<n.distbits)-1])>>>16&255,k=65535&I,!((f=I>>>24)<=c);){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(0==(240&y)){for(A=f,v=y,C=k;y=(I=n.distcode[C+((s&(1<<A+v)-1)>>A)])>>>16&255,k=65535&I,!(A+(f=I>>>24)<=c);){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}s>>>=A,c-=A,n.back+=A}if(s>>>=f,c-=f,n.back+=f,64&y){e.msg="invalid distance code",n.mode=30;break}n.offset=k,n.extra=15&y,n.mode=24;case 24:if(n.extra){for(q=n.extra;c<q;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}n.offset+=s&(1<<n.extra)-1,s>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===d)break e;if(m=u-d,n.offset>m){if((m=n.offset-m)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}g=m>n.wnext?(m-=n.wnext,n.wsize-m):n.wnext-m,m>n.length&&(m=n.length),h=n.window}else h=a,g=r-n.offset,m=n.length;for(d<m&&(m=d),d-=m,n.length-=m;a[r++]=h[g++],--m;);0===n.length&&(n.mode=21);break;case 26:if(0===d)break e;a[r++]=n.length,d--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===l)break e;l--,s|=i[o++]<<c,c+=8}if(u-=d,e.total_out+=u,n.total+=u,u&&(e.adler=n.check=(n.flags?V:D)(n.check,a,u,r-u)),u=d,(n.flags?s:E(s))!==n.check){e.msg="incorrect data check",n.mode=30;break}c=s=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===l)break e;l--,s+=i[o++]<<c,c+=8}if(s!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}c=s=0}n.mode=29;case 29:w=1;break e;case 30:w=-3;break e;case 31:return-4;case 32:default:return U}return e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,n.hold=s,n.bits=c,(n.wsize||u!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&B(e,e.output,e.next_out,u-e.avail_out)?(n.mode=31,-4):(p-=e.avail_in,u-=e.avail_out,e.total_in+=p,e.total_out+=u,n.total+=u,n.wrap&&u&&(e.adler=n.check=(n.flags?V:D)(n.check,a,u,e.next_out-u)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===p&&0===u||4===t)&&w===O&&(w=-5),w)},n.inflateEnd=function(e){if(!e||!e.state)return U;var t=e.state;return t.window&&(t.window=null),e.state=null,O},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?U:((n.head=t).done=!1,O):U},n.inflateSetDictionary=function(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?U:11===n.mode&&D(1,t,i,0)!==n.check?-3:B(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,O):U},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(e,t,n){"use strict";var V=e("../utils/common"),N=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],M=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],L=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],H=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,i,a,o,r,l){var d,s,c,p,u,m,g,h,f,y=l.bits,k=0,A=0,v=0,C=0,b=0,w=0,x=0,q=0,I=0,S=0,_=null,E=0,P=new V.Buf16(16),B=new V.Buf16(16),T=null,D=0;for(k=0;k<=15;k++)P[k]=0;for(A=0;A<i;A++)P[t[n+A]]++;for(b=y,C=15;1<=C&&0===P[C];C--);if(C<b&&(b=C),0===C)return a[o++]=20971520,a[o++]=20971520,l.bits=1,0;for(v=1;v<C&&0===P[v];v++);for(b<v&&(b=v),k=q=1;k<=15;k++)if(q<<=1,(q-=P[k])<0)return-1;if(0<q&&(0===e||1!==C))return-1;for(B[1]=0,k=1;k<15;k++)B[k+1]=B[k]+P[k];for(A=0;A<i;A++)0!==t[n+A]&&(r[B[t[n+A]]++]=A);if(m=0===e?(_=T=r,19):1===e?(_=N,E-=257,T=M,D-=257,256):(_=L,T=H,-1),k=v,u=o,c=-1,p=(I=1<<(w=b))-1,1===e&&852<I||2===e&&592<I)return 1;for(x=A=S=0;;){for(g=k-x,f=r[A]<m?(h=0,r[A]):r[A]>m?(h=T[D+r[A]],_[E+r[A]]):(h=96,0),d=1<<k-x,v=s=1<<w;a[u+(S>>x)+(s-=d)]=g<<24|h<<16|f|0,0!==s;);for(d=1<<k-1;S&d;)d>>=1;if(0!==d?(S&=d-1,S+=d):S=0,A++,0==--P[k]){if(k===C)break;k=t[n+r[A]]}if(b<k&&(S&p)!==c){for(0===x&&(x=b),u+=v,q=1<<(w=k-x);w+x<C&&!((q-=P[w+x])<=0);)w++,q<<=1;if(I+=1<<w,1===e&&852<I||2===e&&592<I)return 1;a[c=S&p]=b<<24|w<<16|u-o|0}}return 0!==S&&(a[u+S]=k-x<<24|64<<16|0),l.bits=b,0}},{"../utils/common":1}],10:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(e,t,n){"use strict";function i(e){if(!(this instanceof i))return new i(e);this.options=m.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var n=u.inflateInit2(this.strm,t.windowBits);if(n!==h.Z_OK)throw new Error(o[n]);this.header=new l,u.inflateGetHeader(this.strm,this.header)}function a(e,t){var n=new i(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}var u=e("./zlib/inflate"),m=e("./utils/common"),g=e("./utils/strings"),h=e("./zlib/constants"),o=e("./zlib/messages"),r=e("./zlib/zstream"),l=e("./zlib/gzheader"),f=Object.prototype.toString;i.prototype.push=function(e,t){var n,i,a,o,r,l,d=this.strm,s=this.options.chunkSize,c=this.options.dictionary,p=!1;if(this.ended)return!1;i=t===~~t?t:!0===t?h.Z_FINISH:h.Z_NO_FLUSH,"string"==typeof e?d.input=g.binstring2buf(e):"[object ArrayBuffer]"===f.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new m.Buf8(s),d.next_out=0,d.avail_out=s),(n=u.inflate(d,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&c&&(l="string"==typeof c?g.string2buf(c):"[object ArrayBuffer]"===f.call(c)?new Uint8Array(c):c,n=u.inflateSetDictionary(this.strm,l)),n===h.Z_BUF_ERROR&&!0===p&&(n=h.Z_OK,p=!1),n!==h.Z_STREAM_END&&n!==h.Z_OK)return this.onEnd(n),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&n!==h.Z_STREAM_END&&(0!==d.avail_in||i!==h.Z_FINISH&&i!==h.Z_SYNC_FLUSH)||("string"===this.options.to?(a=g.utf8border(d.output,d.next_out),o=d.next_out-a,r=g.buf2string(d.output,a),d.next_out=o,d.avail_out=s-o,o&&m.arraySet(d.output,d.output,a,o,0),this.onData(r)):this.onData(m.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(p=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==h.Z_STREAM_END);return n===h.Z_STREAM_END&&(i=h.Z_FINISH),i===h.Z_FINISH?(n=u.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===h.Z_OK):(i===h.Z_SYNC_FLUSH&&(this.onEnd(h.Z_OK),d.avail_out=0),!0)},i.prototype.onData=function(e){this.chunks.push(e)},i.prototype.onEnd=function(e){e===h.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=m.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=i,n.inflate=a,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,a(e,t)},n.ungzip=a},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")});