var impressionTagOptions = {"creatives":{"350320":{"size":{"width":300,"height":250},"channels":{"feature":{"dynodeBaseUrl":{"no_ssl":"http://dynode.spongecell.com","ssl":"https://dynode.spongecell.com"},"studioAssetBaseUrl":{"no_ssl":"http://live.cdn.spongecell.com","ssl":"https://live-ssl.cdn.spongecell.com"},"ipLocateUrl":{"no_ssl":"http://dynamic.spongecell.com/location.js","ssl":"https://dynamic.spongecell.com/location.js"},"locationsUrl":{"no_ssl":"http://locations.cdn.spongecell.com/api/locations.js","ssl":"https://locations-ssl.cdn.spongecell.com/api/locations.js"},"features":[{"id":29082,"featureType":"mediaCarousel","name":"photoCarousel","feedId":null,"importId":null,"processorId":null,"masterAssetId":null,"type":"mediaCarousel"},{"id":29083,"featureType":"video","name":"video","feedId":null,"importId":null,"processorId":null,"masterAssetId":394082,"type":"video"}]},"mraid":{"mraid":true},"setup":{"features":[{"id":29082,"featureType":"mediaCarousel","name":"photoCarousel","label":"Media Carousel","masterAssetId":null,"dynamicContent":false,"layouts":[{"iid":"si9e9l61","name":"slide1","300x250":{"elements":[{"iid":"sslx14oz","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":300,"height":250},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394093}}],"thumbnail":{"iid":"2g0jn55b","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false,"thumbnail":{}}},"160x600":{"thumbnail":{"iid":"d3cdfa09","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"fyff7084","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":160,"height":600},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394101}}]},"728x90":{"thumbnail":{"iid":"4srey0oy","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"y3z9tjk4","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":728,"height":90},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394111}}]}},{"iid":"gd4rotal","name":"slide2","300x250":{"elements":[{"iid":"28mye0b6","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":300,"height":250},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394092}}],"thumbnail":{"iid":"jx0lhl4h","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false,"thumbnail":{}}},"160x600":{"thumbnail":{"iid":"yel8qpl6","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"ri19x717","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":160,"height":600},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394100}}]},"728x90":{"thumbnail":{"iid":"mcyk908p","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"p1sk4o2h","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":728,"height":90},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394108}}]}},{"iid":"08fq0f5a","name":"slide3","300x250":{"elements":[{"iid":"ubzxrucl","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":300,"height":250},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394096}}],"thumbnail":{"iid":"7bt25z1r","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false,"thumbnail":{}}},"160x600":{"thumbnail":{"iid":"28shge2h","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"d498lbrl","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":160,"height":600},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394103}}]},"728x90":{"thumbnail":{"iid":"sq6monq9","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"z6sityw8","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":728,"height":90},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394109}}]}},{"iid":"o4vv14zn","name":"slide4","300x250":{"elements":[{"iid":"7l8r5dmv","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":300,"height":250},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394094}}],"thumbnail":{"iid":"mgtcioi0","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false,"thumbnail":{}}},"160x600":{"thumbnail":{"iid":"x0pbenic","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"8zakaalh","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":160,"height":600},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394102}}]},"728x90":{"thumbnail":{"iid":"zb41wqod","name":"Thumbnail","position":{"top":0,"left":0},"type":"thumbnail","pickable":false,"positionable":false},"elements":[{"iid":"lm8x2nbb","name":"Image","position":{"left":0,"top":0},"type":"image","action":{"landingPageKey":28657,"landingPageIndex":0,"interaction":"click"},"size":{"width":728,"height":90},"icon":["glyphpro","glyphpro-picture"],"label":"Image","image":{"masterAssetId":394295},"processing":0}]}}],"settings":{"autoLaunch":"beforeEngagement","autoPlayLoops":1,"autoPlaySlideDuration":2,"autoPlayTransitionDuration":0.5,"navigation":{"type":"dots","dots":{"foreground":{"hover":"rgb(241, 89, 42)","active":"rgb(241, 89, 42)","color":"rgb(255, 255, 255)","size":14},"background":{"color":"rgba(255, 255, 255, 0.1)","padding":3}}}}},{"id":29083,"featureType":"video","name":"video","label":"Video","masterAssetId":394082,"dynamicContent":false,"settings":{"autoLaunch":"afterEngagement"},"swfUrl":"/flash/video-js.swf"}],"landingPages":{"28658":"https://www.facebook.com/FloridasHollywood?_rdr=p","29610":"https://www.instagram.com/FloridasHollywood/","28659":"https://mobile.twitter.com/HollywoodFLCRA","":"http://www.visithollywoodfl.org"},"api":{"landingPages":{"Creative Landing Page":{"id":0,"url":"http://www.visithollywoodfl.org"},"Facebook":{"id":28658,"url":"https://www.facebook.com/FloridasHollywood?_rdr=p"},"Instagram":{"id":29610,"url":"https://www.instagram.com/FloridasHollywood/"},"Twitter":{"id":28659,"url":"https://mobile.twitter.com/HollywoodFLCRA"}}},"studioAssetBaseUrl":{"no_ssl":"http://live.cdn.spongecell.com","ssl":"https://live-ssl.cdn.spongecell.com"},"assets":{"394082":{"label":"video.mp4","path":"/studio/assets/700085/original/video.mp4","width":null,"height":null,"contentType":"video/mp4","children":[{"path":"/studio/assets/700085/original/assets/video.mp4","width":null,"height":null,"contentType":"video/mp4"},{"path":"/studio/assets/700085/original/assets/video.webm","width":null,"height":null,"contentType":"video/webm"}]},"394083":{"label":"facebook.png","path":"/studio/assets/700090/full/facebook.png","width":10,"height":21,"contentType":"image/png"},"394084":{"label":"twitterOver.png","path":"/studio/assets/700088/full/twitterOver.png","width":22,"height":17,"contentType":"image/png"},"394085":{"label":"facebookOver.png","path":"/studio/assets/700091/full/facebookOver.png","width":10,"height":21,"contentType":"image/png"},"394086":{"label":"twitter.png","path":"/studio/assets/700089/full/twitter.png","width":22,"height":17,"contentType":"image/png"},"394087":{"label":"photos-300x250.png","path":"/studio/assets/700094/full/photos-300x250.png","width":98,"height":25,"contentType":"image/png"},"394088":{"label":"closeBtn.png","path":"/studio/assets/700095/full/closeBtn.png","width":15,"height":16,"contentType":"image/png"},"394089":{"label":"logo-300x250.png","path":"/studio/assets/700092/full/logo-300x250.png","width":192,"height":88,"contentType":"image/png"},"394090":{"label":"base-300x250.png","path":"/studio/assets/700186/full/base-300x250.png","width":300,"height":35,"contentType":"image/png"},"394091":{"label":"photosOver-300.png","path":"/studio/assets/700093/full/photosOver-300.png","width":98,"height":25,"contentType":"image/png"},"394092":{"label":"slide2-300x250.jpg","path":"/studio/assets/700097/full/slide2-300x250.jpg","width":300,"height":250,"contentType":"image/jpeg"},"394093":{"label":"slide1-300.jpg","path":"/studio/assets/700121/full/slide1-300.jpg","width":300,"height":250,"contentType":"image/jpeg"},"394094":{"label":"slide4-300.jpg","path":"/studio/assets/700120/full/slide4-300.jpg","width":300,"height":250,"contentType":"image/jpeg"},"394095":{"label":"video-300x250.png","path":"/studio/assets/700101/full/video-300x250.png","width":98,"height":25,"contentType":"image/png"},"394096":{"label":"slide3-300x250.jpg","path":"/studio/assets/700099/full/slide3-300x250.jpg","width":300,"height":250,"contentType":"image/jpeg"},"394097":{"label":"videoOver-300.png","path":"/studio/assets/700102/full/videoOver-300.png","width":98,"height":25,"contentType":"image/png"},"394098":{"label":"photos-160.png","path":"/studio/assets/700103/full/photos-160.png","width":160,"height":37,"contentType":"image/png"},"394099":{"label":"photosOver-160.png","path":"/studio/assets/700106/full/photosOver-160.png","width":160,"height":37,"contentType":"image/png"},"394100":{"label":"slide2-160.jpg","path":"/studio/assets/700105/full/slide2-160.jpg","width":160,"height":600,"contentType":"image/jpeg"},"394101":{"label":"slide1-160.jpg","path":"/studio/assets/700107/full/slide1-160.jpg","width":160,"height":600,"contentType":"image/jpeg"},"394102":{"label":"slide4-160.jpg","path":"/studio/assets/700104/full/slide4-160.jpg","width":160,"height":600,"contentType":"image/jpeg"},"394103":{"label":"slide3-160.jpg","path":"/studio/assets/700111/full/slide3-160.jpg","width":160,"height":600,"contentType":"image/jpeg"},"394104":{"label":"video-160.png","path":"/studio/assets/700108/full/video-160.png","width":160,"height":37,"contentType":"image/png"},"394105":{"label":"videoOver-160.png","path":"/studio/assets/700110/full/videoOver-160.png","width":160,"height":37,"contentType":"image/png"},"394106":{"label":"photos-728.png","path":"/studio/assets/700113/full/photos-728.png","width":75,"height":24,"contentType":"image/png"},"394107":{"label":"photosOver-728.png","path":"/studio/assets/700112/full/photosOver-728.png","width":75,"height":24,"contentType":"image/png"},"394108":{"label":"slide2-728.jpg","path":"/studio/assets/703502/full/slide2-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394109":{"label":"slide3-728.jpg","path":"/studio/assets/703501/full/slide3-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394110":{"label":"slide4-728.jpg","path":"/studio/assets/700486/full/slide4-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394111":{"label":"slide1-728.jpg","path":"/studio/assets/703503/full/slide1-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394112":{"label":"videoOver-728.png","path":"/studio/assets/700118/full/videoOver-728.png","width":75,"height":24,"contentType":"image/png"},"394113":{"label":"video-728x90.png","path":"/studio/assets/700119/full/video-728x90.png","width":75,"height":24,"contentType":"image/png"},"394165":{"label":"base-160.png","path":"/studio/assets/700209/full/base-160.png","width":160,"height":82,"contentType":"image/png"},"394166":{"label":"base-728.png","path":"/studio/assets/703487/full/base-728.png","width":391,"height":90,"contentType":"image/png"},"394293":{"label":"slide4-728.jpg","path":"/studio/assets/700487/full/slide4-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394295":{"label":"slide4-728.jpg","path":"/studio/assets/703494/full/slide4-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394302":{"label":"backup-160x600.jpg","path":"/studio/assets/701009/full/backup-160x600.jpg","width":160,"height":600,"contentType":"image/jpeg"},"394303":{"label":"backup-728.jpg","path":"/studio/assets/701008/full/backup-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"394304":{"label":"backup-300.jpg","path":"/studio/assets/701010/full/backup-300.jpg","width":300,"height":250,"contentType":"image/jpeg"},"398294":{"label":"videoBackground.jpg","path":"/studio/assets/703484/full/videoBackground.jpg","width":160,"height":600,"contentType":"image/jpeg"},"398297":{"label":"videoBackground-728.jpg","path":"/studio/assets/703504/full/videoBackground-728.jpg","width":728,"height":90,"contentType":"image/jpeg"},"412603":{"label":"instagram.png","path":"/studio/assets/705687/full/instagram.png","width":22,"height":20,"contentType":"image/png"},"412604":{"label":"instagramOver.png","path":"/studio/assets/705686/full/instagramOver.png","width":22,"height":20,"contentType":"image/png"},"1":{"label":"SC_LeftArrow_up.png","path":"/studio/assets/102777/full/SC_LeftArrow_up.png","width":40,"height":40,"contentType":"image/png"},"2":{"label":"SC_LeftArrow_over.png","path":"/studio/assets/102778/full/SC_LeftArrow_over.png","width":40,"height":40,"contentType":"image/png"},"3":{"label":"SC_RightArrow_up.png","path":"/studio/assets/102779/full/SC_RightArrow_up.png","width":40,"height":40,"contentType":"image/png"},"4":{"label":"SC_RightArrow_over.png","path":"/studio/assets/102780/full/SC_RightArrow_over.png","width":40,"height":40,"contentType":"image/png"},"5":{"label":"SC_CloseBtn_up.png","path":"/studio/assets/102781/full/SC_CloseBtn_up.png","width":26,"height":26,"contentType":"image/png"},"6":{"label":"SC_CloseBtn_over.png","path":"/studio/assets/102782/full/SC_CloseBtn_over.png","width":26,"height":26,"contentType":"image/png"},"7":{"label":"SC_CloseBtn_down.png","path":"/studio/assets/102783/full/SC_CloseBtn_down.png","width":26,"height":26,"contentType":"image/png"},"8":{"label":"SC_MapMarker_active.png","path":"/studio/assets/102784/full/SC_MapMarker_active.png","width":18,"height":30,"contentType":"image/png"},"9":{"label":"SC_MapMarker_inactive.png","path":"/studio/assets/102785/full/SC_MapMarker_inactive.png","width":18,"height":30,"contentType":"image/png"},"108769":{"label":"SC_Loader.gif","path":"/studio/assets/118113/full/SC_Loader.gif","width":50,"height":50,"contentType":"image/gif"},"167446":{"label":"SC_Expanding_Animation.gif","path":"/studio/assets/213521/full/SC_Expanding_Animation.gif","width":100,"height":100,"contentType":"image/gif"}},"loading":{"strategy":"home"}},"tracking":{"heatMapBaseUrl":{"no_ssl":"http://fire.spongecell.com","ssl":"https://fire.spongecell.com"},"trackingBaseUrl":{"no_ssl":"http://analytics.spongecell.com/ad_tags","ssl":"https://analytics.spongecell.com/ad_tags"},"heatMapEnabled":true,"trackingEnabled":true,"macros":{"placementId":["SPONGECELL_PLACEMENT_ID"],"siteId":["SPONGECELL_SITE_ID"],"activityPixel":["SPONGECELL_ACTIVITY_PIXEL"]},"pixels":{"impression":null,"impressions":[],"dynamic":null,"dynamics":[],"core":null,"cores":[],"engagement":null,"engagements":[],"completion":null,"completions":[],"expansion":null,"expansions":[],"clickThrough":null,"clickThroughs":[],"start":null,"starts":[],"firstQuartile":null,"firstQuartiles":[],"midpoint":null,"midpoints":[],"thirdQuartile":null,"thirdQuartiles":[],"complete":null,"completes":[]},"adTag":{"id":51347167,"name":"MNI_Interactive Banner_Custom Audience_300x250"},"container":{"id":8755},"campaign":{"id":11874},"creative":{"id":350320,"name":"Awareness","width":300,"height":250},"concept":{"id":22087},"weight":{"value":1.0},"rotationGroup":{"id":28717},"flight":{"id":31609,"name":"MNI Ad Network"},"placement":{"id":"CityofHollywood_300x2_1","name":"MNI_Interactive Banner_Custom Audience_300x250"},"site":{"id":""}},"loading":{"animation":{"type":"circle","bgColor":"rgb(255, 255, 255)","fgColor":"rgb(0, 0, 0)"}}},"tags":{"backup":{"imageUrl":"https://live-ssl.cdn.spongecell.com/studio/assets/701010/full/backup-300.jpg","linkUrl":"http://www.visithollywoodfl.org","html5":true,"size":{"width":300,"height":250}},"studioIframe":{"loading":"initial","size":{"width":300,"height":250},"baseSize":{"width":300,"height":250},"border":{"thickness":1,"color":"rgb(0, 0, 0)"},"iframeUrl":{"no_ssl":"http://royale.cdn.spongecell.com/studio/ads/22524/274609","ssl":"https://royale-ssl.cdn.spongecell.com/studio/ads/22524/274609"},"iframeBaseUrl":{"no_ssl":"http://royale.cdn.spongecell.com","ssl":"https://royale-ssl.cdn.spongecell.com"}}},"weight":1.0}},"channels":{"feature":true,"mraid":true,"setup":true,"tracking":true,"loading":true},"tags":{"backup":true,"studioIframe":true}}; (function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Cookie=function(){function e(){}return e.createCookie=function(e,t,n){var i,r;return null==n&&(n=24),navigator.cookieEnabled?(i=new Date,i.setTime(i.getTime()+60*parseInt(n)*60*1e3),r="; expires="+i.toGMTString(),document.cookie=e+"="+t+r+"; path=/"):null},e.readCookie=function(e){var t,n,i,r,a,o;if(!navigator.cookieEnabled)return null;for(o=e+"=",n=document.cookie.split(";"),i=0,r=0,a=n.length;a>r;r++)if(t=n[r]," "===t[0]&&(t=t.substring(1,t.length)),0===t.indexOf(o))return t.substring(o.length,t.length);return null},e}()}).call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Browser=function(){function e(){}var t,n;return t=/Android ([2].?[3-9].?[0-9]?|[4-5].?[0-9].?[0-9]?)/i,e.detect=function(e){var n,i,r,a,o,s,l,u,c;return null==e&&(e=navigator.userAgent),o=null!=(s=e.match(/(ipod|iphone|ipad)/i))&&null!=(l=s[1])?l.toLowerCase():void 0,n=/android/i.test(e),a=function(t){var n;return n=e.match(t),parseFloat(null!=n?n[1]:void 0)||""},c=a(/version\/(\d+(\.\d+)?)/i),i=/chrome.+? edge/i.test(e)?{msedge:!0,version:a(/edge\/(\d+(\.\d+)?)/i)}:/chrome|crmo|spotify|crios/i.test(e)?{chrome:!0,version:a(/(?:chrome|crmo|spotify)\/(\d+(\.\d+)?)/i)}:/firefox/i.test(e)?{firefox:!0,version:a(/(?:firefox)[ \/](\d+(\.\d+)?)/i)}:/msie|trident/i.test(e)?(u=a(/(?:msie |rv:)(\d+(\.\d+)?)/i),r={msie:!0,version:u},10>u?r.unsupported=!0:void 0,r):/safari/i.test(e)&&!/android/i.test(e)?{safari:!0,version:c,unsupported:5.2>c}:void 0,o?(null==i&&(i={}),i.ios=!0,i.iosVersion=c,i.mobile=!0):n&&(null==i&&(i={}),i.android=!0,i.androidVersion=a(/android (\d+(\.\d+)?)/i),i.mobile=!0,t.test(e)||(i.unsupported=!0)),null==i&&(i={unsupported:!0}),i},n=e.detect(),e.supported=function(){return!n.unsupported},e.isAndroidSupported=function(){return n.android&&t.test(navigator.userAgent)},e.isAndroidGingerbread=function(){return n.android&&n.androidVersion>=2.3&&n.androidVersion<3},e.isAndroidIceCreamSandwich=function(){return n.android&&n.androidVersion>=4&&n.androidVersion<4.1},e.isAndroidJellyBean=function(){return n.android&&n.androidVersion>=4.1&&n.androidVersion<4.4},e.isAndroidLollipop=function(){return n.android&&n.androidVersion>=5&&n.androidVersion<6},e.isAndroid=function(){return n.android},e.isiOS=function(){return n.ios},e.isIE8=function(){return n.msie&&8===+n.version},e.isIE9=function(){return n.msie&&9===+n.version},e.isIE10=function(){return n.msie&&10===+n.version},e.isIE11=function(){return n.msie&&11===+n.version},e.isIE9Below=function(){return n.msie&&+n.version<=9},e.isIE10Below=function(){return n.msie&&+n.version<=10},e.isIE=function(){return n.msie},e.isiOS5=function(){return n.ios&&5===+n.iosVersion},e.isMobile=function(){return n.android||n.ios||/tablet|[^-]mobi/i.test(navigator.userAgent)},e.isChrome=function(){return n.chrome},e.isFirefox=function(){return n.firefox},e.isSafari=function(){return n.safari},e.isWindowsSafari=function(){return/Windows.*AppleWebKit.*Safari/.test(navigator.userAgent)&&!/Chrome|Spotify/.test(navigator.userAgent)},e.supportsFullscreen=function(){return!this.isIE()&&!this.isWindowsSafari()},e.supportsSrcdoc=function(){return!this.isSafari()&&!this.isChrome()},e.supportsLinkOnload=function(){return!(n.android&&!n.chrome||n.safari&&n.version<6)},e.detectsSrcdoc=function(){return"about:srcdoc"===window.location.href},e}()}.call(this),function(){var e,t,n=[].slice;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Console=function(){function e(){}return e.ENABLED=function(){var e;return!!(null!=(e=t.Cookie)?e.readCookie("_console_logging"):void 0)}(),e.log=function(){var e,t,i;return t=arguments[0],e=2<=arguments.length?n.call(arguments,1):[],this.ENABLED&&window.console?null!=window.console.log.apply?(i=window.console).log.apply(i,[t].concat(n.call(e))):window.console.log(t):void 0},e.debug=function(){var e,i,r,a,o;return i=arguments[0],e=2<=arguments.length?n.call(arguments,1):[],this.ENABLED&&window.console?null!=(null!=(r=window.console.debug)?r.apply:void 0)?(a=window.console).debug.apply(a,[i].concat(n.call(e))):(o=t.Console).log.apply(o,[i].concat(n.call(e))):void 0},e.pad=function(e,t){var n;for(n=e||"";n.length\n'},e.removeWrappers=function(e){var t,n,i,r,a,o;for(null==e&&(e=null),e?n=[document.getElementById(e)]:null==n&&(n=document.querySelectorAll(".outer-wrapper")),o=[],i=0,r=n.length;r>i;i++)t=n[i],o.push(null!=t&&null!=(a=t.parentNode)?a.removeChild(t):void 0);return o},e.onHover=function(e,t){var n,i,r,a,o,s,l,u,c,d,p,h,f;return u=null!=t?t:{},o=u.node,c=u.repeatInterval,o||(this.topOnHoverCallback=e,null==o&&(o=document.querySelectorAll(".wrapper")[0])),a=200,p=32,n=null,i=null,f=function(e){return n=e.pageX,i=e.pageY},h=null,s=null,l=null,d=function(e){return s=n,l=i,h=setTimeout(function(){return r(e)},a)},r=function(t){return function(a){var u,g,m;return g=r.prev,null==n||null==i||null==s||null==l?d(a):(u=Math.abs(n-s)+Math.abs(i-l),m=null==g&&0===u,p>u&&!m?(null!=t.topOnHoverCallback&&(t.topOnHoverCallback(),t.topOnHoverCallback=null),o.removeEventListener("mousemove",f),e!==t.topOnHoverCallback&&(e(),r.prev=null),null!=c?h=setTimeout(function(){return r(a)},c):void 0):(r.prev=m?null:u,d(a)))}}(this),o.addEventListener("mouseenter",function(){return function(e){return s=e.pageX,l=e.pageY,o.addEventListener("mousemove",f),h=setTimeout(function(){return r(e)},a)}}(this)),o.addEventListener("mouseleave",function(){return function(){return o.removeEventListener("mousemove",f),n=i=null,clearTimeout(h)}}(this))},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Event=function(){function e(){}return e.onLoad=function(e){return document&&"complete"===document.readyState?void setTimeout(function(){return e()},0):"undefined"!=typeof document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):"undefined"!=typeof window.addEventListener?window.addEventListener("DOMContentLoaded",e,!1):"undefined"!=typeof window.attachEvent?window.attachEvent("onload",e):void 0},e.on=function(e,t,n){return"undefined"!=typeof document.addEventListener?e.addEventListener(t,n,!1):"undefined"!=typeof document.attachEvent?e.attachEvent("on"+t,n):void 0},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Expansion=function(){function n(){}return n.getWindow=function(){return this.allowedAccessToTop()?null!=e?e.top:window:null!=e?e:window},n.getDocument=function(t){return null==t&&(t="expandable"),this.inIframe()&&"overlay"!==t?e.document:this.getWindow().document},n.documentDimensions=function(){var e,t;return e=this.getDocument(),t=this.getWindow(),{height:t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight,width:t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth}},n.pageDimensions=function(){var e,t;return e=this.getDocument(),t=this.getWindow(),{width:t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth,height:t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight}},n.inIframe=function(){var t;try{return e!==top}catch(n){return t=n,!0}},n.inFriendlyIframe=function(){var t;try{return void 0===e.parent.location.host?!1:!0}catch(n){return t=n,!1}},n.allowedAccessToTop=function(){return!this.inIframe()||this.inFriendlyIframe()?(t.Console.log("allowed access to parent window"),!0):!1},n.fixedPositionSupported=function(){var e,t,n,i;return t=this.getDocument(),n=1,i=!1,e=t.createElement("div"),e.style.position="fixed",e.style.top="0px",e.style.right="0px",t.body.appendChild(e),"number"==typeof e.offsetTop&&null!==e.offsetTop&&"undefined"!==e.offsetTop&&(n=parseInt(e.offsetTop)),0===n&&(i=!0),e.parentNode.removeChild(e),i},n.panelLargerThanWindow=function(e){var t,n,i;return i=this.getWindow(),t=i.innerHeight?i.document.documentElement.clientHeight:i.document.body.scrollHeight,n=i.innerWidth?i.document.documentElement.clientWidth:i.document.body.scrollWidth,to?0:o,a=(i-s)/2-1,u=0>a?0:a,["fixed",Math.round(u),Math.round(c)]},n.calcAbsolutePositions=function(e,t){var n,i,r,a,o,s,l,u,c,d,p,h,f;return null==t&&(t={}),n=this.getDocument(),p=this.getWindow(),a=e.height,d=e.width,t.x=t.x?parseInt(t.x):0,t.y=t.y?parseInt(t.y):0,i=this.documentDimensions().height,r=this.documentDimensions().width,u=this.scrollPositions(),l=u[0],c=u[1],s=c+(i-a)/2-1,f=this.panelLargerThanWindow(e)||0>s?0:s,o=l+(r-d)/2-1,h=0>o?0:o,["absolute",Math.round(h+t.x),Math.round(f+t.y)]},n.scrollPositions=function(){var e,t,n;return t=this.getDocument(),n=this.getWindow(),e=t.body,"number"==typeof n.pageYOffset?[n.pageXOffset,n.pageYOffset]:e&&(e.scrollLeft||e.scrollTop)?[e.scrollLeft,e.scrollTop]:t.documentElement&&(t.documentElement.scrollLeft||t.documentElement.scrollTop)?[t.documentElement.scrollLeft,t.documentElement.scrollTop]:[0,0]},n}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Flash=function(){function e(){}return e.isIE=-1!==navigator.appVersion.indexOf("MSIE")?!0:!1,e.isWin=-1!==navigator.appVersion.toLowerCase().indexOf("win")?!0:!1,e.isOpera=-1!==navigator.userAgent.indexOf("Opera")?!0:!1,e.controlVersion=function(){var e,t,n;n=void 0,e=void 0,t=void 0;try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),n="WIN 6,0,21,0",e.AllowScriptAccess="always",n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),n="WIN 3,0,18,0"}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),n="WIN 2,0,0,11"}catch(i){t=i,n=-1}return n},e.getSwfVer=function(){var e,t,n,i,r,a,o,s;return n=-1,null!=navigator.plugins&&navigator.plugins.length>0?(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"])&&(i=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"",t=navigator.plugins["Shockwave Flash"+i].description,e=t.split(" "),r=e[2].split("."),a=r[0],o=r[1],s=e[3],""===s&&(s=e[4]),"d"===s[0]?s=s.substring(1):"r"===s[0]&&(s=s.substring(1),s.indexOf("d")>0&&(s=s.substring(0,s.indexOf("d")))),n=a+"."+o+"."+s):-1!==navigator.userAgent.toLowerCase().indexOf("webtv/2.6")?n=4:-1!==navigator.userAgent.toLowerCase().indexOf("webtv/2.5")?n=3:-1!==navigator.userAgent.toLowerCase().indexOf("webtv")?n=2:this.isIE&&this.isWin&&!this.isOpera&&(n=this.controlVersion()),n},e.detectFlashVer=function(e,t,n){var i,r,a,o,s,l,u;if(u=this.getSwfVer(),a=null,-1===u)return!1;if(0!==u){if(this.isIE&&this.isWin&&!this.isOpera?(i=u.split(" "),r=i[1],a=r.split(",")):a=u.split("."),o=a[0],s=a[1],l=a[2],o>parseFloat(e))return!0;if(o===parseFloat(e)){if(s>parseFloat(t))return!0;if(s===parseFloat(t)&&l>=parseFloat(n))return!0}return!1}},e.html=function(e,n,i,r,a){return null==a&&(a=""),t.Browser.isIE11()?'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n':'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'},e}()}.call(this),function(){var e,t=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=["extended","included"],spongecell.Module=function(){function n(){}return n.extend=function(n){var i,r,a;for(i in n)a=n[i],t.call(e,i)<0&&(this[i]=a);return null!=(r=n.extended)&&r.apply(this),this},n.include=function(n){var i,r,a;for(i in n)a=n[i],t.call(e,i)<0&&(this.prototype[i]=a);return null!=(r=n.included)&&r.apply(this),this},n}()}.call(this),!function(e){function t(e,t){return function(){e.apply(t,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(e,t(r,this),t(a,this))}function i(e){var t=this;return null===this._state?void this._deferreds.push(e):void u(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var i;try{i=n(t._value)}catch(r){return void e.reject(r)}e.resolve(i)})}function r(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void l(t(n,e),t(r,this),t(a,this))}this._state=!0,this._value=e,o.call(this)}catch(i){a.call(this,i)}}function a(e){this._state=!1,this._value=e,o.call(this)}function o(){for(var e=0,t=this._deferreds.length;t>e;e++)i.call(this,this._deferreds[e]);this._deferreds=null}function s(e,t,n,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=i}function l(e,t,n){var i=!1;try{e(function(e){i||(i=!0,t(e))},function(e){i||(i=!0,n(e))})}catch(r){if(i)return;i=!0,n(r)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype["catch"]=function(e){return this.then(null,e)},n.prototype.then=function(e,t){var r=this;return new n(function(n,a){i.call(r,new s(e,t,n,a))})},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new n(function(t,n){function i(a,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(e){i(a,e)},n)}e[a]=o,0===--r&&t(e)}catch(l){n(l)}}if(0===e.length)return t([]);for(var r=e.length,a=0;ai;i++)e[i].then(t,n)})},"undefined"!=typeof module&&module.exports?module.exports=n:e.Promise||(e.Promise=n)}(this),function(){"use strict";var e,t;t=null!=window.spongecell?window.spongecell:window.spongecell={},e=null!=t.requestMap?t.requestMap:t.requestMap={},t.Net=function(){function n(){}return n.isSSL=function(){var e;return"https:"===document.location.protocol||(null!=(e=document.baseURI)?e.indexOf("https"):void 0)>-1},n.isHttp=function(e){return!!/^https?\:\/\//i.test(e)},n.isHttpEncoded=function(e){return/^https?\%3a\%2f\%2f/i.test(e)},n.encode=function(e){return e?encodeURIComponent(e):null},n.writePixel=function(e,n){var i,r;return t.Net.isHttp(e)?(i=document.createElement("div"),i.setAttribute("style","position:absolute;left:0px;top:0px;visibility:hidden;"),r=document.createElement("img"),r.setAttribute("width",0),r.setAttribute("height",0),r.setAttribute("style","width:0px;height:0px;"),r.setAttribute("src",e),i.appendChild(r),(null!=n?n:document.body).appendChild(i)):void 0},n.writeRequest=function(e){var n;return n=this,new Promise(function(i,r){return t.Browser.isIE9Below()?n.writeScript(e,i,r):n.ajax(e,i,r)})},n.writeScript=function(n,i,r,a,o){var s,l,u;if(null==o&&(o=null),o=null!=o?o:document,this.isSSL()&&(n=n.replace(/^http:\/\//,"https://")),null!=i){if(n+=n.indexOf("?")>0?"&":"?",e[n])return this.nestCallbackFn(e[n],i);n+="callback="+(e[n]=t.Broker.registerCallbackFn(i))}return u=o.createElement("script"),u.defer=u.async=!0,u.src=n,null!=r&&(u.onload=r),u.onerror=null!=a?a:null!=r?r:void 0,(null!=(l=t.Browser)?l.isIE8():void 0)&&(u.onreadystatechange=function(){return"loaded"===this.readyState?r():void 0}),s=o.getElementsByTagName("head")[0],s.appendChild(u)},n.ajax=function(e,t,n,i,r,a){var o,s,l,u;if(null==i&&(i=!1),null==r&&(r={}),null==a&&(a="function"==typeof(o="undefined"!=typeof XMLHttpRequest&&null!==XMLHttpRequest?XMLHttpRequest:ActiveXObject)?new o("MSXML2.XMLHTTP.3.0"):void 0),!a)return this.writeScript.apply(this,arguments);if(l=setTimeout(function(){return a.abort(),n({error:"AJAX request timed out"})},2e3),a.withCredentials=!0,a.onreadystatechange=function(){var e,i,r;if(!(a.readyState<4)){clearTimeout(l);try{e=JSON.parse(a.responseText)}catch(o){return i=o,n({error:i})}switch(r=a.status){case 200:return t(e,a);default:return n({error:"AJAX request responded with a "+r})}}},a.open("GET",e,!0),a.setRequestHeader){for(s in r)u=r[s],a.setRequestHeader(s,u);i&&a.setRequestHeader("X-Requested-With","XMLHttpRequest")}return a.send(""),a},n.getParam=function(e,t,n){var i;return null==n&&(n="&"),null!=(i=this.getParams(t,n)[e])?i:""},n.getParams=function(e,t){var n,i,r,a,o,s;for(o={},s=e.split(t),n=0,r=s.length;r>n;n++)a=s[n],i=a.split("="),2===i.length&&(o[i[0]]=i[1]);return o},n.nestCallbackFn=function(e,n){var i,r;return i=e.split(".").pop(),r=t.callbacks[i],t.callbacks[i]=function(){var e,i,a;e=[];for(i in arguments)a=arguments[i],e[i]="object"==typeof a?t.Utils.extend({},a):a;return r.apply(null,arguments),void n.apply(null,e)}},n.scrubTargeting=function(e,t){var n;return"ysa"===e&&(n=decodeURIComponent(t).match(/yud=(.*)/))?n[1]:t},n}()}.call(this),function(){"use strict";var e,t,n=[].slice;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Utils=function(){function e(){}var i;return i=new RegExp('^(http|https)://[^ "]+$'),e.extend=function(e){var t,n,i,r,a,o;if(arguments.length>1)for(t=Array.prototype.slice.call(arguments,1,arguments.length),i=0,r=t.length;r>i;i++)if(a=t[i],"object"==typeof a)for(n in a)o=a[n],e[n]=o;return e},e.generateIID=function(){return"xxxx-xxxx-Axxx-xxxx".replace(/x/g,function(){return new Number(36*Math.random()|0).toString(36)})},e.flashSupported=function(){return t.Flash.detectFlashVer(9,0,0)},e.getUrl=function(e){return t.Utils.isString(e)?e:t.Utils.isObject(e)?t.Net.isSSL()?null!=e?e.ssl:void 0:null!=e?e.no_ssl:void 0:void 0},e.convertUrls=function(e,n){var i,r,a,o,s,l,u;if(n){for(o=[],r=0,a=n.length;a>r;r++)i=n[r],l=e[i],o.push(null!=l?e[i]=t.Utils.getUrl(l):void 0);return o}s=[];for(i in e)u=e[i],s.push(null!=u?e[i]=t.Utils.getUrl(u):void 0);return s},e.toQueryString=function(e){var t,n,i;if(n=[],null!=e)for(t in e)i=e[t],n.push(t+"="+i);return n.join("&")},e.toCamelCase=function(e){return e.toLowerCase().replace(/_(.)/g,function(e,t){return t.toUpperCase()})},e.isFunction=function(e){return"function"==typeof e},e.isObject=function(e){return"object"==typeof e},e.isString=function(e){return"string"==typeof e},e.compact=function(e){var t,n,i,r;for(null==e&&(e=[]),t=[],n=0,i=e.length;i>n;n++)r=e[n],r&&t.push(r);return t},e.shuffle=function(e){var t,n,i;for(t=e.length;--t>0;)n=~~(Math.random()*(t+1)),i=e[n],e[n]=e[t],e[t]=i;return e},e.random=function(e){return null==e&&(e=1e9),Math.floor(Math.random()*e)},e.keys=function(e){var t,n,i;n=[];for(t in e)i=e[t],e.hasOwnProperty(t)&&n.push(t);return n},e.include=function(e,t){return-1!==e.join("|").indexOf(t)?!0:!1},e.isUrl=function(e){return i.test(e)},e.debounce=function(e,t,i){var r;return r=null,function(){var a,o,s;return a=1<=arguments.length?n.call(arguments,0):[],s=this,o=function(){return i||e.apply(s,a),r=null},r?clearTimeout(r):i&&e.apply(s,a),r=setTimeout(o,t||100)}},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Iframe=function(){function e(){}var n,i,r;return n="&",e.parse=function(e,r){var a,o,s,l,u,c,d,p,h,f,g,m,v,w,y,k,b,E,T,C;if(null==e&&(e=""),null==r&&(r={}),e.indexOf(";$;")>=0&&(n=";$;"),-1!==e.indexOf("?")){e=e.replace(/.+?\?/,""),i(e,r),d=t.Net.getParams(e,n),h=null!=(f=d.placementId)?f:"",h&&h.length>0&&(r.placementId=h),b=null!=(g=d.siteId)?g:"",b&&b.length>0&&(r.siteId=b),E=null!=(m=d.targeting)?m:"",E&&E.length>0&&(r.targeting=E),k=null!=(v=d.signalData)?v:"",k&&k.length>0&&(r.targeting={ysa:k}),o=null!=(w=d.adTagId)?w:"",o&&o.length>0&&(r.adTagId=o),a=null!=(y=d.activeCreativeId)?y:"",a&&a.length>0&&(r.activeCreativeId=a),c=d.heatMapStartDate,u=d.heatMapStartDate,((null!=c?c.length:void 0)||(null!=u?u.length:void 0))&&(null==r.channels&&(r.channels={}),null==(s=r.channels).remote&&(s.remote={}),r.channels.remote.heatMapStartDate=c,r.channels.remote.heatMapEndDate=u),T=d.trackingEnabled,(null!=T?T.length:void 0)&&(null==r.channels&&(r.channels={}),null==(l=r.channels).tracking&&(l.tracking={}),r.channels.tracking.trackingEnabled="true"===T);for(p in d)C=d[p],r[p]=C}return r},i=function(e,t){var i,r,a,o,s,l,u;if(l="clickTag.?.?.?.?.?=([^("+n+")#]*)",s=new RegExp(l,"g"),o=e.match(s),null!=o){for(i=0,u=[];i0&&(t[a.slice(0,r)]=a.slice(r+1)),u.push(++i);return u}},e.addMessageListener=function(e){return null!=window.addEventListener?window.addEventListener("message",r(e),!1):null!=window.attachEvent?window.attachEvent("onmessage",r(e)):void 0},r=function(e){return function(n){var i,r;if("mocha-zero-timeout"!==n.data)try{i=JSON.parse(n.data)}catch(a){return r=a,void t.Console.debug("Iframe parse error: %o",r)}return e(i,n)}},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Macros=function(){function e(){this.dynodeObjects={},this.dynamicValues={},this.values={},this.thirdPartyMacroValues={},this.defaultDynamicValues={},this.defaultDynamicValues[r("signal.id")]="",this.defaultDynamicValues[r("signal.name")]="",this.defaultDynamicValues[r("sv.id")]="fallback",this.defaultDynamicValues[r("sv.name")]="fallback",this.defaultDynamicValues[r("item.id")]="",this.defaultDynamicValues[r("item.name")]=""}var n,i,r,a;return e.THIRD_PARTY_PIXEL_NAMES=["impression","dynode","engagement","completion","expansion","clickThrough","landingPages","start","firstQuartile","midpoint","thirdQuartile","complete"],i=null,e.get=function(){return i||(i=new t.Macros),i},e.prototype.dynodeResponse=function(e){var t,n,i,a,o,s,l,u,c,d,p,h,f,g,m,v,w,y,k,b,E;if(t={},v=[],w=[],k=[],b=[],e.signals){for(h=e.signals,n=0,c=h.length;c>n;n++)if(m=h[n],v.push(m.id),w.push(m.name),m.signalValues){for(f=m.signalValues,s=0,d=f.length;d>s;s++)y=f[s],k.push(y.id);for(g=m.signalValues,l=0,p=g.length;p>l;l++)y=g[l],b.push(y.value)}v.length>0&&(t[r("signal.id")]=v),w.length>0&&(t[r("signal.name")]=w),k.length>0&&(t[r("sv.id")]=k),b.length>0&&(t[r("sv.name")]=b)}if(a=[],o=[],e.items&&e.items.length>0){i=e.items[0],a.push(i.id);for(u in i)if(E=i[u],null!=E?E.text:void 0){o.push(E.text);break}t[r("item.id")]=a,t[r("item.name")]=o}return this.addDynodeObject(e.id,t)},e.prototype.addDynodeObject=function(e,t){var n,i,r;this.dynodeObjects[e]=t,i=[];for(n in t)r=t[n],i.push(r instanceof Array?this.dynamicValues[n]?this.dynamicValues[n]=this.dynamicValues[n].concat(r):this.dynamicValues[n]=r:void 0);return i},e.prototype.init=function(e,i){var r,o,s,l,u,c,d,p,h,f,g,m,v,w,y,k,b,E;n(this.values,"flight.id",null!=(l=e.flight)?l.id:void 0),n(this.values,"flight.name",null!=(u=e.flight)?u.name:void 0),n(this.values,"creative.id",null!=(h=e.creative)?h.id:void 0),n(this.values,"creative.name",null!=(f=e.creative)?f.name:void 0),n(this.values,"creative.width",null!=(g=e.creative)?g.width:void 0),n(this.values,"creative.height",null!=(m=e.creative)?m.height:void 0),n(this.values,"tag.id",null!=(v=e.adTag)?v.id:void 0),n(this.values,"tag.name",null!=(w=e.adTag)?w.name:void 0),n(this.values,"placement.id",null!=(y=e.placement)?y.id:void 0),n(this.values,"placement.name",null!=(k=e.placement)?k.name:void 0),n(this.values,"weight",null!=(c=e.weight)?c.value:void 0),n(this.values,"concept.id",null!=(d=e.concept)?d.id:void 0),n(this.values,"site.name",null!=(p=e.site)?p.id:void 0),s=new RegExp("^([A-Za-z]+)[0-9]+$"),b=[];for(r in i)E=i[r],o=r.match(s),b.push(o&&t.Macros.THIRD_PARTY_PIXEL_NAMES.indexOf(o[1])>-1?this.thirdPartyMacroValues[a(r)]=E:void 0);return b},e.prototype.replace=function(e,t){return e=this.replaceValues(e,this.values),e=this.replaceValues(e,this.thirdPartyMacroValues),e=(null!=t?t.sp_id:void 0)?this.replaceValues(e,this.dynodeObjects[t.sp_id]):this.replaceValues(e,this.dynamicValues),e=this.replaceValues(e,this.defaultDynamicValues),e=e.replace(/\[clickTag.*?\]/g,""),e=e.replace(/\[rand\]/g,Math.floor(1e10*Math.random())),e=e.replace(/\[timestamp\]/g,(new Date).getTime().toString())},e.prototype.replaceValues=function(e,t){var n,i;for(n in t)i=t[n],e=e.replace(RegExp(n,"g"),this.macroToValue(i));return e},e.prototype.macroToValue=function(e){var t;return t=e instanceof Array?encodeURIComponent(e.join(",")):e},n=function(e,t,n){return e[r(t)]=encodeURIComponent(n)},r=function(e){return"\\$\\{"+e+"\\}"},a=function(e){return"%"+e+"%"},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Tracker=function(){function e(e){var t,n;for(t in e)n=e[t],this[t]=n;this.adVersion=this.AD_VERSION_PLATFORM,null==this.iid&&(this.iid="xxxx-xxxx-Axxx-xxxx".replace(/x/g,function(){return new Number(36*Math.random()|0).toString(36)})),this.trackOnce={ENGAGEMENT:!1,MOUSEOVER:!1},this.featureEvents={},this.defaultOptions={}}return e.prototype.METRIC={IMPRESSION:"IMPRESSION",ENGAGEMENT:"ENGAGEMENT",MOUSEOVER:"MOUSEOVER",START:"START",COMPLETION:"COMPLETION",CLICK_THROUGH:"CLICK_THROUGH",DYNODE:"DYNODE",CORE:"CORE",INTERACTION:"INTERACTION",TIME:"TIME",EXPANSION:"EXPANSION"},e.prototype.AD_VERSION_PLATFORM="PLATFORM",e.prototype.trackEvent=function(e){switch(e.action){case"clickThrough":return this.trackClickThrough(e);case"mouseOver":return this.track("MOUSEOVER",e.feature,{description:"Mouse over "+e.feature});case"clickEvent":return this.trackHeatMap(e);case"play":return this.trackPlay(e.feature,e.baseFeature);case"pause":return this.trackPause(e.feature,e.baseFeature);case"unpause":return this.trackUnpause(e.feature,e.baseFeature);case"replay":return this.trackReplay(e.feature,e.baseFeature);case"played":return this.trackPlayed(e.feature,e.percentage,e.baseFeature);case"seek":return this.track("INTERACTION",{feature:e.feature,description:"Seek Video",data:e.data,baseFeature:e.baseFeature});case"mute":return this.track("INTERACTION",{feature:e.feature,description:"Muted Video",data:e.data,baseFeature:e.baseFeature});case"unmute":return this.track("INTERACTION",{feature:e.feature,description:"Unmuted Video",data:e.data,baseFeature:e.baseFeature});case"enterFullscreen":return this.track("INTERACTION",{feature:e.feature,description:"Entered Full Screen",data:e.data});case"exitFullscreen":return this.track("INTERACTION",{feature:e.feature,description:"Exited Full Screen",data:e.data});case"timeStart":return this.timerStart();case"timeStop":return this.timerStop();case"engagement":return this.track("ENGAGEMENT",e);case"start":return this.trackStart(e.feature,e);case"completion":return this.trackCompletion(e.feature,e);case"mobileMapSwipe":return this.track("INTERACTION",{feature:e.feature,description:"Map Swipe",data:e.data});case"mobileMapClickThrough":return this.track("CLICK_THROUGH",{feature:e.feature,description:e.description,data:e.data}),this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data}),this.trackCompletion(e.feature,e);case"mapGeocoded":return this.track("INTERACTION",{feature:e.feature,description:"IP Geocoded",data:e.data,baseFeature:e.baseFeature});case"slideView":return this.track("ENGAGEMENT",e),this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data,i:e.i,baseFeature:e.baseFeature}),this.trackStart(e.feature,e);case"mapInteraction":return this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data,baseFeature:e.baseFeature}),this.trackCompletion(e.feature,e);default:return this.track(e.action,e)}},e.prototype.trackClickThrough=function(e){return this.track("ENGAGEMENT",e),this.track("INTERACTION",e),this.track("CLICK_THROUGH",e),this.trackHeatMap(e)},e.prototype.trackHeatMap=function(e){var n,i,r,a,o;return null==e&&(e={}),a=e.x,o=e.y,n=null!=(i=e.partition)?i:"Creative",null!=a&&null!=o?(t.Console.log("HEATMAP POINT ("+n+"): "+a+", "+o),r=this.heatmapBaseURL+"/create_point?x="+a+"&y="+o+"&partition="+n+"&event=click&heatmap="+this.creative.id,null!=e.elapsed&&(r+="&elapsed="+e.elapsed),this.writePixel(r)):void 0},e.prototype.trackPlay=function(e,t){return this.track("ENGAGEMENT",{feature:e,baseFeature:t}),this.trackStart(e,{baseFeature:t}),this.track("INTERACTION",{feature:e,description:"Started Video",baseFeature:t})},e.prototype.trackReplay=function(e,t){return this.track("INTERACTION",{feature:e,description:"Replayed "+e,baseFeature:t})},e.prototype.trackPause=function(e,t){return this.track("INTERACTION",{feature:e,description:"Paused "+e,baseFeature:t})},e.prototype.trackUnpause=function(e,t){return this.track("INTERACTION",{feature:e,description:"Unpaused "+e,baseFeature:t})},e.prototype.trackPlayed=function(e,t,n){return this.trackOncePerFeature("INTERACTION",e,{description:"Viewed "+t+"%",baseFeature:n,eventName:"INTERACTION"+t}),100===t?this.trackCompletion(e,{description:"Viewed 100%",baseFeature:n}):void 0},e.prototype.trackOncePerFeature=function(e,t,n){var i,r,a,o,s,l;return null==n&&(n={}),i=null!=(s=n.baseFeature)?s:"unknown",null==n.feature&&(n.feature=t),null==(r=this.featureEvents)[i]&&(r[i]={}),null==(a=this.featureEvents[i])[t]&&(a[t]={START:!1,COMPLETION:!1}),o=null!=(l=n.eventName)?l:e,delete n.eventName,this.featureEvents[i][t][o]!==!0&&this.track(e,n),this.featureEvents[i][t][o]=!0 },e.prototype.trackStart=function(e,t){return null==t&&(t={}),this.trackOncePerFeature("START",e,t)},e.prototype.trackCompletion=function(e,t){return null==t&&(t={}),this.trackStart(e,t),this.trackOncePerFeature("COMPLETION",e,t)},e.prototype.trackDynamic=function(e,t){return null==e&&(e={}),null==t&&(t=this.METRIC.DYNODE),this.track(t,e)},e.prototype.timerStart=function(){return this.timer=setInterval(function(e){return function(){return e.trackTime()}}(this),500)},e.prototype.timerStop=function(){return clearInterval(this.timer)},e.prototype.trackTime=function(){return null==this.timeSpent&&(this.timeSpent=0),this.timeSpent+=.5,this.timeSpent%5===0&&this.timeSpent<=90?this.track("TIME",{duration:this.timeSpent}):void 0},e.prototype.trackOpen=function(){return this.track("EXPANSION"),this.timerStart()},e.prototype.trackClose=function(e){return this.track("INTERACTION",{description:e}),this.timerStop()},e.prototype.track=function(e,n){var i,r,a,o,s,l,u,c,d;if(null==n&&(n={}),e=e.toUpperCase(),this.trackOnce[e]===!1)this.trackOnce[e]=!0;else if(this.trackOnce[e]===!0)return;if(a=t.Console.pad("Tracking "+e+":",24),u=n.feature||"",n.feature&&n.baseFeature&&(u+=" ("+n.baseFeature+")"),a+=t.Console.pad(u,24),n.description&&(a+=t.Console.pad(n.description,32)),n.data&&(a+=t.Console.pad("("+n.data+")",32)),null!=n.i&&(a+=t.Console.pad("("+n.i+")",32)),n.pixel&&(a+=n.pixel),t.Console.group(a),c=this.reportBaseURL+"/"+this.adTag.id+"?",o=[],i=function(){return function(e,n,i){return null==i&&(i=!1),o.push([e,encodeURIComponent(n)].join("=")),t.Console.groupCollapsedSupported()?t.Console.log(e+": "+n):void 0}}(this),i("type",e),n.creativeOptions){s=n.creativeOptions;for(r in s)d=s[r],i(r,d)}l=this.defaultOptions;for(r in l)d=l[r],null==n[r]&&i(r,d);return n.feature&&i("screen",n.feature),n.baseFeature&&i("base_screen",n.baseFeature),n.description&&i("description",n.description),n.duration&&i("duration",n.duration),n.item_id&&i("item_id",n.item_id),n.item_uuid&&i("item_uuid",n.item_uuid),n.sp_id&&i("sp_id",n.sp_id),n.srcdoc&&i("srcdoc",n.srcdoc),n.sv_id&&i("sv_id",n.sv_id),n.data&&i("data",n.data),null!=n.i&&i("i",n.i),i("flight_id",this.flight.id),i("creative_id",this.creative.id),i("iid",this.iid),this.container&&i("container_id",this.container.id),this.concept&&i("concept_id",this.concept.id),this.rotationGroup&&i("rg_id",this.rotationGroup.id),this.weight&&i("weight",this.weight.value),i("ad_version",n.adVersion?n.adVersion:this.adVersion),this.placement.id&&i("external_placement_id",this.placement.id),this.site.id&&i("external_site_id",this.site.id),this.ysa&&i("ysa",this.ysa),i("anticache",(new Date).getTime()),i("e","mc2"),c+=o.join("&"),t.Console.groupCollapsedSupported()&&t.Console.log("Analytics URL: "+c),this.writePixel(c),"IMPRESSION"===e&&n.item_id||this.trackExternalPixels(e,n),t.Console.groupEnd()},e.prototype.trackExternalPixels=function(e,n){var i,r,a,o,s,l;if(e=t.Utils.toCamelCase(e),null!=(null!=(s=this.pixels[n.feature])?s[e]:void 0))return this.trackPixel(this.pixels[n.feature][e],e,n);if(o=this.pixels[e+"s"]){for(l=[],i=0,r=o.length;r>i;i++)a=o[i],l.push(this.trackPixel(a,e,n));return l}return this.trackPixel(this.pixels[e],e,n)},e.prototype.trackPixel=function(e,n,i){return e&&(e=t.Macros.get().replace(e,i),t.Console.log("PIXEL: "+e),this.writePixel(e)),this.trackActivityPixel(n,i)},e.prototype.trackActivityPixel=function(e,n){var i;return i=this.pixels.activity,i?(i=t.Macros.get().replace(i,n),i=i.replace("[activity]",e),i=i.replace("[feature]",n.feature||""),i=i.replace("[base_feature]",n.baseFeature||n.feature||""),this.writePixel(i),t.Console.log("Activity pixel: "+i)):void 0},e.prototype.writePixel=function(e){return this.trackingDisabled?void 0:t.Net.writePixel(e,document.getElementById("spongecell-ad-"+this.iid))},e.prototype.trackImpression=function(e){return this.track(this.METRIC.IMPRESSION,e)},e.prototype.inspect=function(){return"Campaign: "+this.campaign.id+" Flight: "+(this.flight.id||"")+" Ad Tag: "+(this.adTag.id||"")+" Creative: "+this.creative.id+" Placement: "+(this.placement.id||"")+" Site: "+this.site.id+" IID: "+this.iid},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.BaseChannel=function(){function e(e,t,n){this.iid=e,this.options=t,this.impTag=n,this._init()}return e.prototype._init=function(){},e.prototype.start=function(){},e.prototype.send=function(e){return t.Console.log("BaseChannel received %o",e)},e}()}.call(this),function(){"use strict";var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Broker=function(){function e(){}var n,i,r,a,o,s,l;return n=null!=t.brokerChannels?t.brokerChannels:t.brokerChannels={},i=null!=t.brokerClients?t.brokerClients:t.brokerClients={},s=null!=t.brokerChannels?t.brokerChannels:t.brokerChannels={},a=function(){return t.Utils.random(1e5)+"_"+ +new Date},o=function(e){return s[e]},l=function(e,t){return s[e]=t},r=function(e){var n;return n="call"+e,null==t.callbacks&&(t.callbacks={}),t.callbacks[n]=function(t){return s[e](t)},"spongecell.callbacks."+n},e.registerCallbackFn=function(e){var n;return n=a(),l(n,function(){var i,r,a,o;e.apply(null,arguments),r=t.requestMap,a=[];for(i in r)o=r[i],a.push(o.indexOf(n)>-1?delete r[i]:void 0);return a}),r(n)},e.registerChannels=function(e,i,r){var a,o,s,l,u;t.Console.group("Registering Channels for %s, %o",e,i),o={};for(u in i)l=i[u],a=function(){switch(u){case"feature":return t.FeatureChannel;case"hooks":return t.HooksChannel;case"loading":return t.LoadingChannel;case"mraid":return t.MRAIDChannel;case"nav":return t.NavChannel;case"panel":return t.PanelChannel;case"remote":return t.RemoteChannel;case"setup":return t.SetupChannel;case"tracking":return t.TrackingChannel}}(),null!=a&&(t.Console.debug("Initializing Channel: %s with %o",u,l),o[u]=new a(e,l,r));n[e]=o;for(u in o)s=o[u],t.Console.debug("Starting Channel: %s",u),s.start();return t.Console.groupEnd(),o},e.registerClient=function(e,t){return null==i[e]&&(i[e]=[]),i[e].push(t)},e.clientRegistered=function(e){var t;return(null!=(t=i[e])?t.length:void 0)>0},e.sendOnChannel=function(e,t){var r,a,o,s,l,u;if(e.iid&&(r=n[e.iid]),null!=r&&(o=r[e.topic],null!=o&&o.send(e,t)),null!=(a=i[e.topic])){for(u=[],s=0,l=a.length;l>s;s++)t=a[s],u.push(t(e));return u}},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.CreativeTag=function(){function e(e,n){this.iid=e,t.Utils.extend(this,n),this._init()}return e.prototype._init=function(){},e.prototype.html=function(){},e}()}.call(this),function(){var e,t,n=function(e,t){return function(){return e.apply(t,arguments)}};e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.ImpressionTag=function(){function e(e,i){var r,a,o,s,l,u,c,d,p,h;this.params=i,this._trackEngagement=n(this._trackEngagement,this),this.params.iframeSrc&&t.Iframe.parse(this.params.iframeSrc,this.params),this.creativeSettings=a=this.rotate(e.creatives),this.creativeImpressionTrackingOptions={},this.iid=t.Utils.generateIID(),this.size=a.size,t.Console.debug("Impression Tag %s initializing with %o rotated to %o",this.iid,e,a),s=e.channels;for(h in s)o=s[h],"object"==typeof o&&(null==(r=a.channels)[h]&&(r[h]={}),t.Utils.extend(a.channels[h],o));l=a.channels;for(h in l)e=l[h],null!=(null!=(u=this.params)&&null!=(c=u.channels)?c[h]:void 0)&&t.Utils.extend(e,this.params.channels[h]);t.Broker.registerChannels(this.iid,a.channels,this),t.Browser.isMobile()&&this.sendChannelMessage("mraid",{fn:"loadMraid"}),this.sendDebugMessage({description:"tag_init",type:"start"}),this._initTags(a.tags),t.Console.group(null!=(d=this.tracker)?d.inspect():void 0),t.Console.log("Ad Tag: %O",this),t.Console.log("Ad Server Parameters: %O",this.params),t.Console.groupEnd(),(null!=(p=this.params.targeting)?p.ysa:void 0)&&(this.creativeImpressionTrackingOptions.ysa=this.params.targeting.ysa),this.sendChannelMessage("hooks",{description:"before_ad_load_hook",type:"beforeAdLoad"})}return e.prototype._initTags=function(e){var n,i,r,a,o,s;r=[];for(o in e)switch(a=e[o],t.Console.debug("Initializing Tag: %s tag with %o",o,a),o){case"backup":a.clickTags=this.clickTags,a.tracker=this.tracker,a.macros={},i=this.params;for(n in i)s=i[n],a.macros[n]=s;r.push(this.backupTag=new t.BackupTag(this.iid,a));break;case"flash":r.push(this.flashTag=new t.FlashTag(this.iid,a));break;case"studioIframe":r.push(this.studioTag=new t.StudioIframeTag(this.iid,a,this.params));break;case"studioScript":r.push(this.studioTag=new t.StudioScriptTag(this.iid,a,this.params));break;case"panel":this.panelTag=new t.PanelTag(t.Utils.generateIID(),a,this),r.push(this.sendChannelMessage("panel",{description:"setup_panel_or_site_window",action:"setup"}));break;default:r.push(void 0)}return r},e.prototype.render=function(){var e,n,i,r,a,o,s;return e=null!=document.body?this._html():""+this._html()+"",(null!=(n=this.studioTag)?n.iframeBusted:0)?void 0:(null!=this.params.currentScript?(t.Console.debug("Rendering self after %o: %o",this.params.currentScript),this.params.currentScript.insertAdjacentHTML("afterEnd",e)):document.write(e),this._addLoadListeners(),this.hasBackup||null!=(i=this.studioTag)&&i.delegateEvents(),document.close(),this.studioTag&&!this.hasBackup&&this.sendChannelMessage("loading",{action:"renderPreloader"}),null!=(r=this.tracker)&&r.trackImpression(this.creativeImpressionTrackingOptions),this._setupEngagementTracking(),this.sendChannelMessage("panel",{description:"setup_initial_expansion",action:"initialExpansion"}),this.sendDebugMessage({description:null!=(a=null!=(o=this.creativeImpressionTrackingOptions.creativeOptions)?o.screen:void 0)?a:null!=(s=this.creativeImpressionTrackingOptions.creativeOptions)?s.feature:void 0,type:"IMPRESSION"}),this.sendDebugMessage({description:"tag_init",type:"stop"}))},e.prototype._setupEngagementTracking=function(){var e;return e=document.querySelectorAll(".outer-wrapper")[0],null==e&&(e=document.getElementById("spongecell-ad-"+this.iid)),t.Engagement.onHover(this._trackEngagement,{node:e})},e.prototype._trackEngagement=function(){var e;return null!=(e=this.tracker)?e.trackEvent({action:"engagement"}):void 0},e.prototype._html=function(){var e,t,n,i,r,a,o,s;if(null==(e=this.creativeImpressionTrackingOptions).creativeOptions&&(e.creativeOptions={}),!(null!=(a=this.panelTag)?a.director:void 0)||this.panelTag.director.allowedAccessToTop()){for(o=[this.flashTag,this.studioTag,this.backupTag],i=0,r=o.length;r>i;i++)if(s=o[i],null!=s?s.checkEnvironment(this.creativeImpressionTrackingOptions.creativeOptions):void 0){t=s;break}}else t=this.backupTag;return t===this.backupTag&&(this.hasBackup=!0),n='
\n '+(null!=t?t.html():void 0)+"\n
"},e.prototype.random=function(){return Math.floor(1e9*Math.random())},e.prototype.rotate=function(e){var n,i,r,a,o,s,l,u;if(l={},null!=this.params.activeCreativeId)return e[this.params.activeCreativeId];s=function(){var t;t=[];for(a in e)u=e[a],t.push(a);return t}().length>1,r=0,o=Math.random(),s&&t.Console.group("Rotating");for(i in e){if(n=e[i],r+=n.weight,r>o){l=n;break}s&&t.Console.log(i+": "+100*n.weight+"%")}return s&&t.Console.groupEnd(),l},e.prototype._addLoadListeners=function(){var e;return t.Event.onLoad(function(e){return function(){return e.panelTag&&e.sendChannelMessage("panel",{description:"start_auto_expand_timer",action:"autoExpand"}),e.sendChannelMessage("hooks",{description:"after_page_load_hook",type:"afterPageLoad"})}}(this)),null!=(e=this.backupTag)?e.addClickthroughListener():void 0},e.prototype.sendDebugMessage=function(e){return this.sendChannelMessage("debug",e)},e.prototype.sendChannelMessage=function(e,n){return null!=t.Broker?(null==n.iid&&(n.iid=this.iid),null==n.topic&&(n.topic=e),t.Broker.sendOnChannel(n)):void 0},e}()}.call(this); (function(){var e,t,n,i=function(e,t){function n(){this.constructor=e}for(var i in t)o.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,n=null!=t.spongecell?t.spongecell:t.spongecell={},e=1e3,n.FeatureChannel=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return i(o,t),o.prototype._init=function(){var e,t,i,o,r,s,l,u,a,d,p,c;if(this.featureTracked={},this.dynodeRequests={},n.Utils.convertUrls(this.options,["ipLocateUrl","locationsUrl"]),null!=this.options.features){for(a=this.options.features,p=[],t=0,r=a.length;r>t;t++)e=a[t],n.Utils.convertUrls(e,["url"]),p.push(n.Net.isSSL()&&null!=(null!=(d=e.fallback)?d.items:void 0)?function(){var t,n,r,a;for(r=e.fallback.items,a=[],t=0,n=r.length;n>t;t++)i=r[t],a.push(function(){var e;e=[];for(s in i){u=i[s],l=[];for(o in u)c=u[o],l.push(o);e.push(l.indexOf("src")>=0&&l.indexOf("src.https")>=0?u.src=u["src.https"]:void 0)}return e}());return a}():void 0);return p}},o.prototype.start=function(){var e,t,n,i,o;if(this.options.features){for(i=this.options.features,o=[],t=0,n=i.length;n>t;t++)e=i[t],o.push(this.writeDynode(e));return o}},o.prototype.send=function(t,i){var o,r,s;return r=n.Utils.isObject(t.feature)?t.feature:{id:t.featureId,name:t.featureName,type:t.featureType},o=this._findFeature(r),null==o&&(n.Console.debug("No Feature matching %o found in settings",r),o=r),s=function(e){return function(n){return e._doFeature(o,t,i,n)}}(this),null==o.processorId?o.url&&"feed"===o.type?(n.callbacks["fed"+o.feedId]=s,n.Net.writeScript(o.url)):s():(this.dynodeRequests[o.id].handleResponse=s,this.checkDynode(o)?void 0:this.dynodeRequests[o.id].dynodeTimer=window.setTimeout(function(e){return function(){return e.checkDynode(o,!0)}}(this),e))},o.prototype.writeDynode=function(e){var t,i,o,r,s,l,u,a,d,p,c,f,h,g,y,m,v;if(e.processorId&&e.id){if(i=this.dynodeRequests[e.id]={response:e.fallback,processorId:e.processorId},i.response.dynamic=!0,null!=e.url){y=e.url+"&iid="+this.iid+"&tzo="+(new Date).getTimezoneOffset(),c=null!=(d=null!=(p=this.impTag.params)?p.flashData:void 0)?d:{};for(r in c)v=c[r],r.match(/^signals\[\d+\]$/)&&(y+="&"+r+"="+v);for(h=null!=(f=e.signalValues)?f:[],o=0,s=h.length;s>o;o++)if(m=h[o],-1===y.indexOf("signals["+m.signalId+"]")){if(l=m.value,null!=this.impTag.params){g=this.impTag.params;for(r in g){v=g[r],a=new RegExp("%"+r+"%","g");try{l=l.replace(a,decodeURIComponent(v))}catch(_){n.Console.log("Ignoring unsubstituted macro passed through spongecellParams: "+v)}}}e.url=y+="&signals["+m.signalId+"]="+encodeURIComponent(l)}return this.impTag.sendChannelMessage("debug",{description:"tag_dynode",type:"start"}),t=function(t){return function(n){return i.responded?void 0:(i.responded=!0,i.response=n,t._trackDynode("complete",i,e.url),t.checkDynode(e))}}(this),u=function(t){return function(){return i.responded?void 0:(i.responded=!0,t._trackDynode("fail",i,e.url),t.checkDynode(e))}}(this),n.Net.writeScript(y,t,u)}return n.Console.log("Dynode: no dynamic url specified; using static fallback")}},o.prototype.checkDynode=function(e,t){var n;return null==t&&(t=!1),n=this.dynodeRequests[e.id],t&&!n.responded&&this._trackDynode("timeout",n,e.url),((null!=n?n.responded:void 0)||t)&&null!=(null!=n?n.handleResponse:void 0)&&(n.handleResponse(n.response),window.clearTimeout(this.dynodeRequests[e.id].dynodeTimer)),null!=n?n.responded:void 0},o.prototype._trackDynode=function(e,t,i){var o,r,s,l,u,a,d,p,c,f,h,g,y,m,v;if(e&&!this.featureTracked.hasOwnProperty(i)){if(this.featureTracked[i]=e,r=null!=(a=t.response)&&null!=(d=a.items)&&null!=(p=d[0])?p.id:void 0,t.response)try{n.Macros.get().dynodeResponse(t.response,this.impTag)}catch(_){}if(m=[],null!=(c=t.response)?c.signals:void 0)for(f=t.response.signals,o=0,l=f.length;l>o;o++)if(g=f[o],g.signalValues)for(h=g.signalValues,s=0,u=h.length;u>s;s++)y=h[s],m.push(y.id);if(m.length>0&&(v=m.join(",")),this.impTag.tracker.trackDynamic({description:e,sp_id:t.processorId,item_id:r,sv_id:v}),this.impTag.sendChannelMessage("debug",{description:"tag_dynode",type:e}),null!=r&&(this.impTag.tracker.defaultOptions.item_id=r),null!=v)return this.impTag.tracker.defaultOptions.sv_id=this.impTag.tracker.defaultOptions.sv_id?this.impTag.tracker.defaultOptions.sv_id+","+v:v}},o.prototype._doFeature=function(e,t,i,o){var r,s,l,u,a,d,p,c,f,h;return null==o&&(o=null),r=o,null!=o&&(f=function(e){var t,i,o;if("object"==typeof e){i=[];for(t in e)o=e[t],i.push("href"===t&&"string"==typeof o?e[t]=n.Macros.get().replace(o):"object"==typeof o?f(o):void 0);return i}}),"map"===e.type?("function"==typeof f&&f(r),s=null!=(l=t.params)?l:{},s.upload_id=null!=(u=null!=(a=e.importId)?a:null!=(d=e["import"])?d.id:void 0)?u:null!=(p=e.settings)&&null!=(c=p["import"])?c.id:void 0,null!=s.origin?n.Net.writeScript(this.options.locationsUrl+"?"+n.Utils.toQueryString(s),function(){return null!=i?i.apply(this,arguments):void 0}):n.Net.writeScript(""+this.options.ipLocateUrl,function(e){return function(t){return s.origin=t.city+", "+t.region+", "+t.country,s.lat=t.latitude,s.lng=t.longitude,n.Net.writeScript(e.options.locationsUrl+"?"+n.Utils.toQueryString(s),function(){return null!=i?i.apply(this,arguments):void 0})}}(this))):null!=o&&t.studio?(h=this._studioTransform(e,o),"function"==typeof f&&f(r),"function"==typeof i?i(h):void 0):("function"==typeof f&&f(r),"function"==typeof i?i(null!=o?o:e):void 0)},o.prototype._findFeature=function(e){var t,n,i,o,r,s,l;if(this.options.features&&(e.id||e.name||e.type))for(r=this.options.features,i=0,o=r.length;o>i;i++)if(t=r[i],n=e.id?e.id===t.id:e.name?e.name.toLowerCase()===(null!=(s=t.name)?s.toLowerCase():void 0):e.type?e.type.toLowerCase()===(null!=(l=t.type)?l.toLowerCase():void 0):void 0)return t;return null},o.prototype._studioTransform=function(e,t){var i,o,r,s,l,u,a,d,p,c,f;return o=null!=(d=e.dynamicAssets)?d:{},l=null!=(p=e.dynamicLandingPages)?p:{},t.items=function(){var e,d,p,h,g,y,m,v;for(g=t.items,v=[],e=0,p=g.length;p>e;e++){for(s=g[e],c={assets:{},landingPages:{},properties:{}},m=null!=(y=t.properties)?y:{},d=0,h=m.length;h>d;d++)a=m[d],f=s[a.name],null!=a.variant&&(f=f[a.variant]),null!=o[a.id]?(i={},n.Utils.extend(i,o[a.id]),n.Utils.extend(i,f),i.url=f.src,i.name=a.name,delete f.src,c.assets[i.id]=i):null!=(u=l[a.id])?(f.href&&(r=f.href.replace(/\[clickTag.*?\]/g,this.impTag.clickTags.clickTag)),c.landingPages[u.key]=r):(f.name=a.name,c.properties[a.id]=f,"layout"===a.name&&f&&(c.layout=f.text));v.push(c)}return v}.call(this)},o}(n.BaseChannel)}).call(this); (function(){var e,r,n=function(e,r){function n(){this.constructor=e}for(var t in r)i.call(r,t)&&(e[t]=r[t]);return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},i={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,r=null!=e.spongecell?e.spongecell:e.spongecell={},r.MRAIDChannel=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return n(i,e),i.prototype.init=function(){return this.resizeListener=!1},i.prototype.send=function(e,n){var i,t,o,a,s,d,l;switch(e.fn){case"resize":if(this.closeCallback=null!=(s=e.params)?s.closeCallback:void 0,"undefined"!=typeof mraid&&null!==mraid&&mraid.resize(),!this.resizeListener)return this.resizeListener=!0,mraid.addEventListener("stateChange",function(e){return function(r){return"default"===r?e.closeCallback():void 0}}(this));break;case"openLink":return"undefined"!=typeof mraid&&null!==mraid?mraid.open(e.params):void 0;case"checkVideoSupport":return i="undefined"!=typeof mraid&&null!==mraid?mraid.supports("inlineVideo"):void 0,n(i);case"playVideo":return"undefined"!=typeof mraid&&null!==mraid?mraid.playVideo(e.params):void 0;case"setResizeProperties":return a="undefined"!=typeof mraid&&null!==mraid?mraid.getCurrentPosition():void 0,t="undefined"!=typeof mraid&&null!==mraid?mraid.getMaxSize():void 0,e.params.offsetY||(e.params.offsetY=(null!=a?a.y:void 0)>e.params.height-e.params.baseHeight?e.params.height-e.params.baseHeight:0),delete e.params.baseHeight,delete e.params.baseWidth,"undefined"!=typeof mraid&&null!==mraid?mraid.setResizeProperties(e.params):void 0;case"close":return"undefined"!=typeof mraid&&null!==mraid?mraid.close():void 0;case"useCustomClose":return"undefined"!=typeof mraid&&null!==mraid?mraid.useCustomClose(null!=(d=e.params)?d:!0):void 0;case"loadMraid":return o=document.createElement("script"),o.setAttribute("type","text/javascript"),o.setAttribute("src","mraid.js"),o.onerror=function(){return console.error("MRAID not found, serving Mobile Web")},o.onload=function(){return console.log("MRAID found, serving Mobile In-App")},document.head.appendChild(o);default:return null!=(l=r.Console)?l.log("mraid request: Unknown Function: "+e.fn):void 0}},i}(r.BaseChannel)}).call(this); (function(){var t,e,n=function(t,e){function n(){this.constructor=t}for(var s in e)i.call(e,s)&&(t[s]=e[s]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.SetupChannel=function(i){function s(){return s.__super__.constructor.apply(this,arguments)}return n(s,i),s.prototype._init=function(){return this.checkFullScreenAccess(),this.options.mraid="undefined"!=typeof mraid&&null!==mraid,e.Utils.convertUrls(this.options,["creativeSwfUrl","sharedBaseUrl","studioAssetBaseUrl"]),e.Utils.convertUrls(this.options.urls),null!=this.options.assets?this.baseAssets():void 0},s.prototype.start=function(){var t,n,i,s;return t=this.findClickTags(this.impTag.params),this.options.flashData=null!=(n=null!=(i=this.impTag.params)?i.flashData:void 0)?n:{},this.options.mergedLandingPages=this.mergeClickTagsAndLandingPages(t,this.options.landingPages),this.options.clickTagsAndLandingPages=this.flashifyLandingPages(t,this.options.mergedLandingPages),e.Console.log("ClickTags + Landing Pages: %o",this.options.clickTagsAndLandingPages),e.Utils.extend(this.options,this.options.clickTagsAndLandingPages),0===(null!=(s=this.options.features)?s.length:void 0)&&(this.options.features=null),this.impTag.clickTags=t},s.prototype.send=function(t,n){var i,s,o,a;return t.action?"polite"===t.action?(this.impTag.sendDebugMessage({description:"tag_polite",type:"start"}),a=!!document&&"complete"===document.readyState,o=function(t){return function(){return n(),t.impTag.sendDebugMessage({description:"tag_polite",type:"stop"})}}(this),a?o():e.Event.onLoad(o)):"landingPages"===t.action?(i=this.findClickTags(this.impTag.params),s=t.data,e.Utils.extend(this.options.landingPages,s),this.options.mergedLandingPages=this.mergeClickTagsAndLandingPages(i,this.options.landingPages),n(this.options.mergedLandingPages)):void 0:(e.Engagement.removeWrappers(),n(this.options))},s.prototype.baseAssets=function(){var t,e,n,i,s;i=this.options.assets,s=[];for(n in i)t=i[n],t.url=""+this.options.studioAssetBaseUrl+t.path,s.push(function(){var n,i,s,o,a;for(o=null!=(s=t.children)?s:[],a=[],n=0,i=o.length;i>n;n++)e=o[n],a.push(e.url=""+this.options.studioAssetBaseUrl+e.path);return a}.call(this));return s},s.prototype.mergeClickTagsAndLandingPages=function(t,n){var i,s,o,a,r,l,p,c,g,u,d;l={},i=t.clickTag;for(a in n){d=n[a],s=null!=(c=t["clickTag"+a])?c:i,p=s?s+d:d,p=e.Macros.get().replace(p),g=this.impTag.params;for(o in g)u=g[o],p=p.replace("%"+o+"%",u);l[a]=p}for(a in t)d=t[a],r=a.replace("clickTag",""),null==l[r]&&(l[r]=d);return l},s.prototype.flashifyLandingPages=function(t,e){var n,i,s,o,a,r;s={};for(i in e)r=e[i],i="clickTag"+i,s[i]=r;for(i=n=1;20>=n;i=++n)null==s[o="clickTag"+i]&&(s[o]=null!=(a=t.clickTag)?a:"");return s},s.prototype.findClickTags=function(t){var n,i,s;n={};for(i in t)s=t[i],0===i.indexOf("clickTag")&&(e.Net.isHttp(s)||e.Net.isHttpEncoded(s)?e.Net.isHttpEncoded(s)&&(s=decodeURIComponent(s)):s="",n[i]=s);return n},s.prototype.checkFullScreenAccess=function(){var n,i,s,o;if(t!==top)try{if(i=null!=t?t.frameElement:void 0,s=t,!i)return void(this.options.disableFullScreen=!0);for(o=[];i&&s&&s!==top;)i.setAttribute("allowfullscreen","true"),i.setAttribute("webkitallowfullscreen","true"),i.setAttribute("mozallowfullscreen","true"),s=s.parent,o.push(i=s.frameElement);return o}catch(a){return n=a,e.Console.log("Iframe not configured for full-screen video"),this.options.disableFullScreen=!0}},s}(e.BaseChannel)}).call(this); (function(){var t,i,n=function(t,i){function n(){this.constructor=t}for(var s in i)o.call(i,s)&&(t[s]=i[s]);return n.prototype=i.prototype,t.prototype=new n,t.__super__=i.prototype,t},o={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,i=null!=t.spongecell?t.spongecell:t.spongecell={},i.TrackingChannel=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return n(o,t),o.prototype._init=function(){var t;t=this.impTag.params,this._checkParam(t,"activityPixel")&&(this.options.pixels.activity=t.activityPixel),this._checkParam(t,"placementId")&&(this.options.placement.id=t.placementId),this._checkParam(t,"siteId")&&(this.options.site.id=t.siteId);try{i.Macros.get().init(this.options,this.impTag.params)}catch(n){}return i.Utils.convertUrls(this.options,["heatMapBaseUrl","trackingBaseUrl"]),this.options.heatMapTrackingEnabled=this.options.heatMapEnabled,this.options.heatmapBaseURL=this.options.heatMapBaseUrl,this.options.reportBaseURL=this.options.trackingBaseUrl,this.options.trackingDisabled=!this.options.trackingEnabled,this.options.iid=this.iid,this.impTag.tracker=this.tracker=new i.Tracker(this.options),this.impTag.creativeImpressionTrackingOptions={}},o.prototype.send=function(t){return this.tracker.trackEvent(t)},o.prototype._checkParam=function(t,i){return t[i]&&!this._isMacro(i,t.activityPixel)},o.prototype._assignThirdPartyPixel=function(t){var i,n;return i=t+"s",(null!=(n=this.options.pixels[i])?n.length:void 0)>0?this.options.pixels[t]=this.options.pixels[i][0]:void 0},o.prototype._isMacro=function(t,i){var n,o,s;s=this.options.macros[t]||[];for(n in s)if(o=s[n],i===o)return!0;return!1},o}(i.BaseChannel)}).call(this); (function(){var n,e,t=function(n,e){function t(){this.constructor=n}for(var i in e)r.call(e,i)&&(n[i]=e[i]);return t.prototype=e.prototype,n.prototype=new t,n.__super__=e.prototype,n},r={}.hasOwnProperty;n="undefined"!=typeof window&&null!==window?window:global,e=null!=n.spongecell?n.spongecell:n.spongecell={},e.LoadingChannel=function(n){function e(){return e.__super__.constructor.apply(this,arguments)}return t(e,n),e.prototype._init=function(){},e.prototype.start=function(){},e.prototype.send=function(n){return this[n.action]()},e.prototype.styleTag=function(n){var e,t,r,i,s,a,o;return s=n.preloaderType,o=n.width,i=n.height,e=n.bgColor,r=n.fgColor,a=document.createElement("style"),t="#preloader-container {\n background: "+e+";\n margin: auto;\n width: "+o+"px;\n height: "+i+"px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.centered-container {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}",t+=function(){switch(s){case"circle":return this.circleCss(r);case"bars":return this.barsCss(r);case"dots":return this.dotsCss(r)}}.call(this),a.innerHTML=t,a},e.prototype.preloaderContainer=function(n){var e,t;return t=document.createElement("div"),t.id="preloader-container",e=document.createElement("div"),e.className="centered-container",e.innerHTML=function(){switch(n){case"circle":return this.circleHtml();case"bars":return this.barsHtml();case"dots":return this.dotsHtml()}}.call(this),t.appendChild(e),t},e.prototype.removeLoader=function(){var n;return n=document.getElementById("preloader-container"),null!=n?n.parentNode.removeChild(n):void 0},e.prototype.renderPreloader=function(){var n,e,t;if("none"!==this.options.animation.type&&document.body&&window!==top)return e=this.options.animation.fgColor,n=this.options.animation.bgColor,t=this.options.animation.type,document.head.appendChild(this.styleTag({preloaderType:t,width:this.impTag.size.width,height:this.impTag.size.height,bgColor:n,fgColor:e})),document.body.appendChild(this.preloaderContainer(t))},e.prototype.circleHtml=function(){return'
'},e.prototype.barsHtml=function(){return'
\n
\n
\n
\n
\n
\n
'},e.prototype.dotsHtml=function(){return'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'},e.prototype.dotsCss=function(n){return".sk-circle {\n margin: 100px auto;\n width: 40px;\n height: 40px;\n position: relative;\n}\n.sk-circle .sk-child {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.sk-circle .sk-child:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 15%;\n height: 15%;\n background-color: "+n+";\n border-radius: 100%;\n -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;\n animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;\n}\n.sk-circle .sk-circle2 {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n.sk-circle .sk-circle3 {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n.sk-circle .sk-circle4 {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n.sk-circle .sk-circle5 {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n.sk-circle .sk-circle6 {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n.sk-circle .sk-circle7 {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n.sk-circle .sk-circle8 {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n.sk-circle .sk-circle9 {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n.sk-circle .sk-circle10 {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n.sk-circle .sk-circle11 {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n.sk-circle .sk-circle12 {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n.sk-circle .sk-circle2:before {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n.sk-circle .sk-circle3:before {\n -webkit-animation-delay: -1s;\n animation-delay: -1s; }\n.sk-circle .sk-circle4:before {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n.sk-circle .sk-circle5:before {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n.sk-circle .sk-circle6:before {\n -webkit-animation-delay: -0.7s;\n animation-delay: -0.7s; }\n.sk-circle .sk-circle7:before {\n -webkit-animation-delay: -0.6s;\n animation-delay: -0.6s; }\n.sk-circle .sk-circle8:before {\n -webkit-animation-delay: -0.5s;\n animation-delay: -0.5s; }\n.sk-circle .sk-circle9:before {\n -webkit-animation-delay: -0.4s;\n animation-delay: -0.4s; }\n.sk-circle .sk-circle10:before {\n -webkit-animation-delay: -0.3s;\n animation-delay: -0.3s; }\n.sk-circle .sk-circle11:before {\n -webkit-animation-delay: -0.2s;\n animation-delay: -0.2s; }\n.sk-circle .sk-circle12:before {\n -webkit-animation-delay: -0.1s;\n animation-delay: -0.1s; }\n\n@-webkit-keyframes sk-circleBounceDelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n } 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n\n@keyframes sk-circleBounceDelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n } 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}"},e.prototype.barsCss=function(n){return".spinner {\n margin: 100px auto;\n width: 50px;\n height: 70px;\n text-align: center;\n font-size: 10px;\n}\n\n.spinner > div {\n background-color: "+n+";\n height: 100%;\n width: 6px;\n display: inline-block;\n \n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out;\n}\n\n.spinner .rect2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s;\n}\n\n.spinner .rect3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n}\n\n.spinner .rect4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s;\n}\n\n.spinner .rect5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s;\n}\n\n@-webkit-keyframes sk-stretchdelay {\n 0%, 40%, 100% { -webkit-transform: scaleY(0.4) } \n 20% { -webkit-transform: scaleY(1.0) }\n}\n\n@keyframes sk-stretchdelay {\n 0%, 40%, 100% { \n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4);\n } 20% { \n transform: scaleY(1.0);\n -webkit-transform: scaleY(1.0);\n }\n}"},e.prototype.circleCss=function(n){return".sp {\n width: 32px;\n height: 32px;\n clear: both;\n margin: 25% auto;\n}\n\n/* Spinner Circle Rotation */\n.sp-circle {\n border: 5px rgba(0, 0, 0, 0.25) solid;\n border-top: 5px "+n+" solid;\n border-radius: 50%;\n -webkit-animation: spCircRot .6s infinite linear;\n animation: spCircRot .6s infinite linear;\n}\n\n@-webkit-keyframes spCircRot {\n from {\n -webkit-transform: rotate(0deg);\n }\n to {\n -webkit-transform: rotate(359deg);\n }\n}\n@keyframes spCircRot {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n}"},e}(e.BaseChannel)}).call(this); (function(){var t,e,i=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.BackupTag=function(t){function r(){return r.__super__.constructor.apply(this,arguments)}return i(r,t),r.prototype._init=function(){return e.Utils.convertUrls(this,["imageUrl"])},r.prototype.checkEnvironment=function(t){return t.screen="DEFAULT",!0},r.prototype.html=function(){var t,i,r,n,c;if(t='',null!=this.linkUrl){n=this.linkUrl,n=n.replace(/\*\*click_tag\*\*/g,encodeURIComponent(this.clickTags.clickTag)),n=n.replace(/\*\*iid\*\*/g,this.tracker.iid),n=n.replace(/\*\*random\*\*/g,e.Utils.random()),n=n.replace(/\*\*placement_id\*\*/g,this.tracker.placement.id?e.Net.encode(this.tracker.placement.id):""),n=n.replace(/\*\*site_id\*\*/g,this.tracker.site.id?e.Net.encode(this.tracker.site.id):""),this.html5&&e.Utils.isUrl(this.clickTags.clickTag)&&(n=this.clickTags.clickTag+n),r=this.macros;for(i in r)c=r[i],n=n.replace("%"+i+"%",c);return''+t+""}return t},r.prototype.addClickthroughListener=function(){var t,i;return i=function(t){return function(){return t.clicked?(event.preventDefault(),event.stopPropagation()):t.tracker.trackExternalPixels("click_through",{}),t.clicked=!0,setTimeout(function(){return t.clicked=!1},400)}}(this),t=document.getElementById("backup_link"),t?e.Event.on(t,"click",function(){return function(){return i()}}(this)):void 0},r}(e.CreativeTag)}).call(this); (function(){var e,i,n=function(e,i){function n(){this.constructor=e}for(var o in i)t.call(i,o)&&(e[o]=i[o]);return n.prototype=i.prototype,e.prototype=new n,e.__super__=i.prototype,e},t={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,i=null!=e.spongecell?e.spongecell:e.spongecell={},i.StudioTag=function(e){function t(e,i,n){this.iid=e,this.params=n,t.__super__.constructor.apply(this,arguments)}return n(t,e),t.prototype.checkEnvironment=function(e){return this.checkBrowser()?!0:(e.nohtml5=!0,!1)},t.prototype.checkBrowser=function(){return this.platform=i.Browser.isMobile()?"mobile":"desktop",i.Browser.supported()},t}(i.CreativeTag)}).call(this),function(){var e,i,n=function(e,i){function n(){this.constructor=e}for(var o in i)t.call(i,o)&&(e[o]=i[o]);return n.prototype=i.prototype,e.prototype=new n,e.__super__=i.prototype,e},t={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,i=null!=e.spongecell?e.spongecell:e.spongecell={},i.StudioIframeTag=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return n(t,e),t.prototype._init=function(){var e,n;return i.Utils.convertUrls(this,["backgroundImageUrl","iframeUrl","iframeBaseUrl"]),i.Browser.isMobile()?(n=("undefined"!=typeof window&&null!==window?window.innerWidth:void 0)&&screen.width>("undefined"!=typeof window&&null!==window?window.innerWidth:void 0)?window.innerWidth:screen.width,e=("undefined"!=typeof window&&null!==window?window.innerHeight:void 0)&&screen.height>("undefined"!=typeof window&&null!==window?window.innerHeight:void 0)?window.innerHeight:screen.height,null!=this.size?this.size:this.size={width:n,height:e}):null!=this.size?this.size:this.size={width:window.innerWidth,height:window.innerHeight}},t.prototype.html=function(){var e,n,t,o,r,s,d,l,u,a,h,p,c;return i.Iframe.addMessageListener(function(e){return function(i,n){return e._receiveMessage(i,n)}}(this)),t="",s=this.size.width,o=this.size.height,r="width: "+s+"px; height: "+o+"px; position: absolute; top: -1px; left: -1px;",this.backgroundImageUrl&&(t+='
\n \n
'),c=this.getIframeId()+"-wrapper",t+=i.Engagement.wrapperHtml({id:c})+'\n',n=null!=(u=null!=(a=this.border)?a.thickness:void 0)?u:1,e=null!=(h=null!=(p=this.border)?p.color:void 0)?h:"transparent",l=this.size.width,d=this.size.height,'
\n '+t+"\n
"},t.prototype.delegateEvents=function(){return"polite"===this.loading?i.Event.onLoad(function(e){return function(){return e._loadIframe()}}(this)):this._loadIframe()},t.prototype.getIframe=function(){return document.getElementById(this.getIframeId())},t.prototype.getIframeId=function(){return"spongecell-studio-"+this.iid},t.prototype._loadIframe=function(){var e;return null!=this.iframeUrl&&null!=(e=this.getIframe())?e.src=this.iframeUrl+"/"+this.platform+"?sponge="+this.iid:void 0},t.prototype._receiveMessage=function(e,n){var t;return t=function(e){return function(i){return function(n){return e._sendMessage({topic:i.topic,callback:i.callback,response:n})}}}(this),this.iid===e.iid&&(e.iid=this.iid,i.Console.debug("Received postMessage from Studio Ad %s: %o",this.iid,e),n.origin===this.iframeBaseUrl||0===n.origin.indexOf("http://localhost")||n.origin.match(/(\.|\/)spongecell\.com/))?i.Broker.sendOnChannel(e,t(e)):void 0},t.prototype._sendMessage=function(e){var n;return i.Console.debug("Sending message back to Studio Ad %s: %o",this.iid,e),n=JSON.stringify(e),this.getIframe().contentWindow.postMessage(n,this.iframeBaseUrl||"*")},t}(i.StudioTag)}.call(this); var impressionTag = new spongecell.ImpressionTag(impressionTagOptions, spongecellParams); impressionTag.render();