/* served 2025-07-19 12:35:23*/
/* gen time 2025-07-19 12:35:22*/
(()=>{var __webpack_modules__={420:e=>{e.exports=".sublime-ui-adinfo{background-color:#fff;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20style%3D%22enable-background%3Anew%200%200%20100%20100%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20d%3D%22M63.6%2057.9c-.1-.9-.2-1.8-.5-2.7-.4-1.1-.8-2-1.4-2.9-.7-1-1.4-1.9-2.3-2.6-1.2-1-2.7-1.8-4.2-2.2-.9-.2-1.6-.1-2.3.5-.5.4-1%20.7-1.5.8-.5.1-1%20.2-1.5.1-.6-.1-1-.2-1.4-.4-.3-.2-.6-.4-1-.7-.6-.5-1.3-.6-2-.4-.9.2-1.8.6-2.7%201.1-1%20.5-1.9%201.2-2.6%202-.9.9-1.5%201.9-2%202.9-.4.8-.7%201.6-.9%202.4-.1.4-.2.9-.2%201.3%200%20.2%200%20.3-.1.5-.2%201-.1%202.1.1%203.4.2%201.1.6%202.2%201.1%203.2.9%201.7%202.3%202.9%203.9%203.8%201.4.7%202.9%201.1%204.6%201.1h6.7c.9%200%201.7-.1%202.5-.2%202.4-.5%204.2-1.5%205.6-3.3%201.3-1.6%202-3.5%202.2-5.6-.1-.5-.1-1.2-.1-2.1zm-4.3%202.3c-.1.9-.4%201.7-.9%202.4-.9%201.3-2%202-3.4%202.3-.3%200-.6.1-.9.1h-7.5c-1.1%200-2.1-.3-3.1-.9-.9-.5-1.5-1.3-1.9-2.3-.4-1-.6-2-.5-3%20.1-1.3.5-2.6%201.1-3.7.3-.6.7-1.1%201.2-1.5.8-.8%201.5-1.3%202.3-1.5%203%201.8%206.1%201.8%209.2%200%201.2.5%202.2%201.3%202.9%202.3.7.9%201.2%201.9%201.4%202.9.2.9.2%201.9.1%202.9zM50%2046.7c-4.5%200-8.1-3.6-8.1-8.1s3.6-8.1%208.1-8.1%208.1%203.6%208.1%208.1c0%204.4-3.6%208.1-8.1%208.1zM50%2034c-2.5%200-4.6%202.1-4.6%204.6%200%202.5%202.1%204.6%204.6%204.6%202.5%200%204.6-2.1%204.6-4.6%200-2.6-2.1-4.6-4.6-4.6z%22%2F%3E%3Cpath%20d%3D%22M66.4%2046.8c0-6.8%205-12.5%2011.5-13.6V18.1c-4.1%202.5-8.4%203.8-12.6%203.8h-.1c-5%200-10.1-1.8-15.1-5.4-4.8%203.6-9.8%205.4-14.9%205.4h-.1c-4.2%200-8.5-1.3-12.8-3.9v39.4c.9%204.2%204.3%209%209.7%2013.9%205%204.5%2011.3%208.7%2018.1%2011.9%206.7-3.2%2013.1-7.5%2018.1-11.9%204.2-3.8%207.2-7.6%208.7-11.1-6-1.5-10.5-7-10.5-13.4z%22%20style%3D%22fill%3Anone%22%2F%3E%3Cpath%20d%3D%22M82.6%2033.2V13.5c0-.9-.5-1.7-1.3-2.1-.8-.4-1.8-.3-2.5.3-4.5%203.7-9%205.5-13.5%205.5h-.1c-4.4%200-9.1-1.9-13.7-5.5-.9-.7-2.1-.7-3%200-4.4%203.7-8.9%205.5-13.3%205.5h-.1c-4.4%200-9-1.9-13.7-5.5-.7-.6-1.7-.7-2.5-.3-.8.4-1.3%201.2-1.3%202.1v44.6c1.1%205.3%204.9%2011%2011.2%2016.7%205.5%205%2012.7%209.7%2020.2%2013.2.3.1.7.2%201%20.2.3%200%20.7-.1%201-.2%207.5-3.5%2014.7-8.2%2020.2-13.2%205.3-4.8%208.9-9.7%2010.5-14.3%207-.8%2012.3-6.7%2012.3-13.7%200-6.8-4.9-12.5-11.4-13.6zm0%2022.4c-.8.2-1.5.3-2.4.3s-1.6-.1-2.4-.3c-3.9-1-6.7-4.6-6.7-8.8%200-4.2%202.9-7.7%206.7-8.8.8-.2%201.5-.3%202.4-.3s1.6.1%202.4.3c3.9%201%206.7%204.6%206.7%208.8%200%204.2-2.8%207.7-6.7%208.8zM68.2%2071.3c-5%204.5-11.3%208.7-18.1%2011.9-6.7-3.2-13.1-7.4-18-11.9-5.4-4.9-8.7-9.7-9.7-13.9V18c4.3%202.6%208.5%203.9%2012.8%203.9h.1c5%200%2010-1.8%2014.9-5.4%205%203.6%2010.1%205.4%2015.1%205.4h.1c4.2%200%208.5-1.3%2012.6-3.8v15.1c-6.5%201.1-11.5%206.8-11.5%2013.6%200%206.5%204.5%2011.9%2010.5%2013.4-1.6%203.5-4.6%207.3-8.8%2011.1z%22%2F%3E%3Cpath%20d%3D%22M78.5%2051.3c-.5%200-.9-.2-1.2-.5l-2.7-2.7c-.7-.7-.7-1.8%200-2.5s1.8-.7%202.5%200l1.5%201.5%204.2-4.2c.7-.7%201.8-.7%202.5%200s.7%201.8%200%202.5l-5.4%205.4c-.5.3-1%20.5-1.4.5z%22%2F%3E%3C%2Fsvg%3E);background-repeat:no-repeat;background-size:contain;display:block}"},9241:e=>{e.exports="#ayads-html{min-height:650px;max-height:1000px;height:100%!important}"},9400:e=>{e.exports="#ayads-html{z-index:-9999;width:100%;position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}#sublime-iframe-container{width:100%;height:100%;margin:0;position:absolute;left:50%;transform:translate(-50%)}#sublime-iframe{border:none;width:100%;height:100%;margin:0}"},9472:e=>{e.exports=".sublime-ui-adinfo{z-index:4;width:20px;height:20px;top:5px}"},1034:e=>{e.exports="#ayads-video-container{margin-right:0;transition:margin-right .5s ease-out;box-shadow:none!important}#ayads-video-container.sublime-reminder{left:inherit;z-index:100000000!important;margin-top:auto!important;position:fixed!important;bottom:0!important;transform:translate(0%,0)!important}#ayads-video{width:inherit;display:block}#ayads-video.sublime-reminder{height:initial!important;min-height:initial!important;width:100%!important}#sublime-video-close{opacity:0;background-image:url(https://cdn.ayads.co/creatives/commons/close-up.svg);width:20px;height:20px;transition:opacity .2s ease-out,top .3s ease-out;top:10px;right:0}#ayads-video-container.sublime-reminder:hover #sublime-video-close{opacity:1;top:0}#sublime-video-close.show{display:inherit!important}#sublime-video-close.hide{display:none!important}"},8511:e=>{e.exports='img.sublime-ad-item-image{border-radius:8px}.sublime-ad-item a .sublime-ad-item-image-container:before{color:#fff;content:"+";opacity:1;text-align:center;background:linear-gradient(to bottom right,#f40,#fa0);border:1px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:20px;font-weight:700;text-decoration:none;transition:transform .2s;display:flex;position:absolute;bottom:3px;right:3px}.sublime-ad-item a:hover .sublime-ad-item-image-container:before{box-shadow:inset 0 0 10px #d40}#sublime-ad-shop-top,#sublime-ad-shop-left,#sublime-ad-shop-right{box-shadow:0 0 10px #0000004d}.sublime-ad-privacy-link{border-bottom-right-radius:5px}.sublime-ad-item-image-container,.sublime-ad-logo-image-container{display:inline-block;position:relative}#sublime-ad-shop-top{background:#fff;border-bottom-right-radius:14px;border-bottom-left-radius:14px;justify-content:space-evenly;display:flex}#sublime-ad-shop-top .sublime-ad-item-top.sublime-ad-logo-top{display:none}#sublime-ad-shop-top .sublime-ad-item-image-container{width:100%}#sublime-ad-shop-top .sublime-ad-item .sublime-ad-item-image-container:before{width:40px;height:40px;font-size:28px;right:10%}#sublime-ad-shop-top .sublime-ad-item-name{margin:3px 0 0}#sublime-ad-shop-top .sublime-ad-item-price-container{margin:0}#sublime-ad-shop-left{border-top-left-radius:14px;border-bottom-left-radius:14px}#sublime-ad-shop-right{border-top-right-radius:14px;border-bottom-right-radius:14px}'},2110:e=>{e.exports='@import "https://fonts.googleapis.com/css?family=Open+Sans:400,600,700";body{position:static!important}[id*=sublime-ad-],[class*=sublime-ad-]{font-family:Open Sans,Helvetica,sans-serif}#ayads-html{z-index:-9999;position:absolute;top:0;left:50%;transform:translate(-50%)}.sublime-ad-item{color:#000;text-align:center;background:#fff;margin:6px 0;font-size:12px;transition:all .3s linear;position:relative;overflow:hidden}.sublime-ad-item a{box-sizing:border-box;color:#333;width:100%;text-decoration:none;display:block}.sublime-ad-item-name{margin-top:2px;overflow:hidden}img.sublime-ad-item-image{max-width:100%;height:auto;display:inline-block}.sublime-ad-item-name{color:#333;margin:5px 0 0;font-size:12px;font-weight:600}.sublime-ad-item a:hover .sublime-ad-item-name{color:#000}.sublime-ad-item-price-container{font-weight:700}.sublime-ad-item-logo{vertical-align:middle;border:none;height:20px;display:inline-block}.sublime-ad-item-discount_price{color:#999;text-decoration:line-through}.sublime-ad-item-discount{color:#fff;background:#fe0d54;border-radius:20px;width:40px;font-size:15px;line-height:40px;position:absolute;top:10px;left:10px}.sublime-ad-item a:after{color:#000;content:"Learn more";opacity:0;background-color:#fffc;padding:5px;font-size:10px;transition:all .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sublime-ad-item a:hover:after{opacity:1}.sublime-ad-item-price-container{margin:5px 0 0;padding:0 0%;font-size:12px;font-weight:700}#sublime-ad-shop-top{box-sizing:border-box;height:inherit;justify-content:center;margin:0 auto;padding:0 5px;display:flex;position:absolute;overflow:hidden}#sublime-top-logo-container{width:220px}#sublime-ad-shop-top span.sublime-ad-top-text{text-align:center;font-size:20px}#sublime-ad-shop-top>.sublime-ad-item-top{justify-content:center;align-items:center;width:200px;display:flex}.sublime-ad-item-top img{max-height:150px}.sublime-ad-item-top .sublime-ad-item-price-container{top:0}.sublime-ad-item-top:hover .sublime-ad-item-price-container{right:0}.sublime-ad-item-top:hover .sublime-ad-item-name{bottom:0}.sublime-ad-privacy-link{background:#fff;border-bottom-right-radius:5px;align-items:center;width:20px;height:20px;display:flex;position:absolute;right:-20px}#sublime-ad-shop-left,#sublime-ad-shop-right{box-sizing:border-box;z-index:-1;background-color:#fff;padding:0 5px;transition:all .7s linear;position:absolute}#sublime-ad-shop-left{left:0;transform:translate(-100%)}#sublime-ad-shop-right{right:0;transform:translate(100%)}'},4788:e=>{e.exports="body{position:static!important}#ayads-video{height:100%;min-height:80px}#ayads-video-bg{z-index:-2147483648;cursor:pointer;width:100%;position:fixed;top:0;left:0;right:0}#ayads-video-bg.blurred{filter:blur(5px)brightness(75%);transform:scale(1.06)}#ayads-video-layer{z-index:-2147483647;width:100%;margin:auto;left:0;right:0;-webkit-transform:translate(0,0)}#ayads-video-container{cursor:pointer;margin:auto;position:absolute;left:50%;transform:translate(-50%)}#ayads-video-overlay{opacity:.5;background-color:#000;width:100%;height:100%;position:fixed;top:0;left:0}#ayads-video-controls{z-index:1;justify-content:center;align-items:center;width:100%;height:100%;margin:auto;display:flex;position:absolute;top:0;left:0}#ayads-video-controls-sound{opacity:.5;background-image:url(https://cdn.ayads.co/creatives/commons/volume-up.svg);width:25px;height:25px;margin:0;transition:opacity .3s;position:absolute;bottom:10px;right:10px}#ayads-video-controls-sound.mute{opacity:1;background-image:url(https://cdn.ayads.co/creatives/commons/volume-off.svg)}#ayads-video-controls-sound.mute.pulsing-sound-button{cursor:pointer;transition:opacity .2s cubic-bezier(.4,0,1,1);animation-name:pulsing-sound-button;animation-duration:1s;animation-timing-function:cubic-bezier(.4,0,1,1);animation-iteration-count:infinite;animation-direction:alternate-reverse}@keyframes pulsing-sound-button{0%{transform:scale(1)}to{transform:scale(1.4)}}.ayads-video-buttons{z-index:1;background:50%/contain no-repeat;margin:10px 12px;position:absolute;bottom:0}#ayads-video-buttons-play{position:initial;background-image:url(https://cdn.ayads.co/creatives/commons/icon-play.svg);width:37px;height:37px}#play-video-pulsar{z-index:5;transform-origin:50%;background:0 0;border:1px solid #fff;border-radius:50%;width:35px;height:35px;animation-name:play-video-pulsar;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,1,1);animation-iteration-count:infinite;animation-direction:alternate-reverse;position:absolute}@keyframes play-video-pulsar{0%{opacity:.2;transform:scale(1.5)}to{opacity:1;transform:scale(1.2)}}.sublime-loading-bar{background-color:#fff;width:100%;height:5px;position:absolute;bottom:0}.sublime-loading-bar-progress{background-color:#e9531d;width:0%;height:5px;position:relative}"},4784:e=>{e.exports='#sublime-mobile-bottom-container{z-index:4;justify-content:center;transition:height .8s ease-in-out,min-height .8s ease-in-out;display:flex;position:fixed;bottom:0;overflow:hidden}.sublime--invisible #sublime-mobile-bottom-container{visibility:hidden}#sublime-mobile-bottom-container .sublime--icon{filter:drop-shadow(0 0 5px #000);width:5vmin;height:5vmin;pointer-events:auto!important}#sublime-mobile-bottom-container .sublime--hide{display:none}#sublime-ui-close{color:#fff;text-align:center;z-index:2;font:4vmin/1.5 sans-serif;position:absolute;top:5px;right:5px}#sublime-ui-close.sublime--icon-cross{background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M134.79,150.3,96,111.51,57.21,150.3A11,11,0,1,1,41.7,134.79L80.49,96,41.7,57.21A11,11,0,1,1,57.21,41.7L96,80.49,134.79,41.7A11,11,0,1,1,150.3,57.21L111.51,96l38.79,38.79a11,11,0,1,1-15.51,15.51Z\\"/></svg>")}#sublime-mobile-bottom-container .sublime-mobile-bottom-image{object-fit:contain;width:100%;position:absolute}#sublime-mobile-bottom-container .sublime-ui-adinfo{z-index:4;width:20px;height:20px;position:absolute;top:0;left:0}#sublime-iframe-container{width:100%;position:absolute;bottom:0}'},6247:e=>{e.exports='html{cursor:pointer;background-color:#0000!important;background-image:none!important}body.sublime--mobile-pageskin-display{cursor:default;background-position:top!important;background-repeat:no-repeat!important;margin:0!important}#ayads-html{z-index:-9999;width:100%;height:100%;position:absolute;top:0;overflow:hidden}#sublime-iframe-container{width:100%;height:100%;margin:0;position:absolute}#sublime-iframe{border:none;width:100%;height:100%;margin:0;position:absolute}#sublime-close{z-index:1;background-color:#fff;border:1px solid #d8d8d8;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex;position:absolute;top:5px;right:5px}#sublime-close:before{color:#000;content:"×";align-self:center;margin:0 auto;font-size:26px}.sublime-ui-adinfo{z-index:-9998;width:20px;height:20px;position:fixed;top:5px;left:5px}.sublime--invisible #ayads-html,.sublime--invisible #sublime-close{visibility:hidden}'},2466:e=>{e.exports='#sublime-mobile-top{overflow:hidden}#sublime-mobile-top-container{-o-transition:left .5s linear;width:100%;-webkit-transition:left .5s linear;-moz-transition:left .5s linear;-ms-transition:left .5s linear;transition:left .5s linear;position:absolute;top:0;left:0}.sublime-mobile-top-container-v{background:#eee;height:100vh;overflow-y:hidden}#sublime-position-indicator-block{display:none}#sublime-mobile-top-container.sublime-top-fixed{position:fixed!important;top:0!important}#sublime-mobile-top-container .swiper-slide{text-align:center;background:#fff;font-size:18px}#sublime-mobile-top-container .swiper-slide img{width:100%}#sublime-mobile-top-container .swiper-slide{background-color:#0000;background-position:top;background-repeat:no-repeat}#sublime-mobile-top-container .sublime-panel-slide{background-position:50%;background-size:cover;height:100vh!important}#sublime-mobile-top-container .sublime-ui-adinfo,#sublime-mobile-bottom-container .sublime-ui-adinfo{z-index:3;width:20px;height:20px;position:absolute;top:5px;left:5px}#sublime-top-tooltip svg{width:4vw;position:absolute;top:50%;right:6vw;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}#sublime-panel-navbar{vertical-align:middle;text-align:center;-o-transition:opacity .3s linear;opacity:0;background-color:#00000080;width:100%;height:6.4vh;line-height:6.4vh;-webkit-transition:opacity .3s linear;-moz-transition:opacity .3s linear;-ms-transition:opacity .3s linear;transition:opacity .3s linear;position:fixed;top:0;left:0;right:0}#sublime-panel-navbar .sublime-ui-adinfo{width:2.2vh;height:2.2vh;margin:2.1vh 0;position:absolute;left:2.5vw}#sublime-panel-navbar #sublime-mobile-panel-arrow{background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M134.79,150.3,96,111.51,57.21,150.3A11,11,0,1,1,41.7,134.79L80.49,96,41.7,57.21A11,11,0,1,1,57.21,41.7L96,80.49,134.79,41.7A11,11,0,1,1,150.3,57.21L111.51,96l38.79,38.79a11,11,0,1,1-15.51,15.51Z\\"/></svg>");background-repeat:no-repeat;background-size:contain;width:3vh;height:3vh;margin:1.7vh 0;display:block;position:absolute;right:2.5vw}#sublime-panel-navbar .sublime-brand{width:auto;max-width:80%;height:auto;max-height:90%;margin:auto;position:absolute;inset:0}#sublime-mobile-top-container{overflow:hidden}#sublime-mobile-top-close{opacity:0;-o-transition:opacity .3s ease-in;background-image:url(https://cdn.ayads.co/creatives/commons/close-up.svg);background-repeat:no-repeat;background-size:contain;width:25px;height:25px;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;transition:opacity .3s ease-in;position:fixed;top:4px;right:4px}#sublime-mobile-top-timer{text-align:center;opacity:0;-o-transition:opacity .3s ease-in;color:#fff;border:1px solid #fff;border-radius:50%;width:6.4vw;height:6.4vw;line-height:6.4vw;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;transition:opacity .3s ease-in;position:fixed;top:1vh;right:1vh}#sublime-mobile-top-container .sublime-hidden,.sublime-hidden{display:none}#sublime-overlay{opacity:1;-o-transition:opacity .5s linear;background-color:#00000080;width:100%;height:100%;-webkit-transition:opacity .5s linear;-moz-transition:opacity .5s linear;-ms-transition:opacity .5s linear;transition:opacity .5s linear;position:fixed;inset:0}#sublime-mobile-panel-arrow-container{margin-right:-80px;transition:margin .3s ease-in;right:0;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);position:fixed!important}#sublime-mobile-panel-arrow-container svg{width:76px}#mobile-panel-top-arrow-container{z-index:2;height:50px;position:absolute;top:40px;right:0}#mobile-panel-top-arrow-container-img{height:100%;width:inherit!important}.swiper-button-next-v{-webkit-transform:rotate(90deg)translate(-50%);-moz-transform:rotate(90deg)translate(-50%);-ms-transform:rotate(90deg)translate(-50%);-o-transform:rotate(90deg)translate(-50%);transform:rotate(90deg)translate(-50%);inset:auto auto 4vh 30%!important}.swiper-button-prev-v{-webkit-transform:rotate(-90deg)translate(-50%);-moz-transform:rotate(-90deg)translate(-50%);-ms-transform:rotate(-90deg)translate(-50%);-o-transform:rotate(-90deg)translate(-50%);transform:rotate(-90deg)translate(-50%);inset:8vh auto auto 70%!important}#sublime-container-swipe{cursor:pointer;text-align:left;z-index:3;-o-transition:width .15s linear;background:#fff;border:1px solid #d3d3d3;border-radius:15px;width:180px;height:30px;font-family:Arvo,serif;-webkit-transition:width .15s linear;-moz-transition:width .15s linear;-ms-transition:width .15s linear;transition:width .15s linear;position:absolute;bottom:90px;right:1.2vh;overflow:hidden}#sublime-container-swipe #sublime-text-swipe{text-transform:uppercase;-o-transition:opacity .1s linear;margin-left:10px;font-size:12px;line-height:2.5;-webkit-transition:opacity .1s linear;-moz-transition:opacity .1s linear;-ms-transition:opacity .1s linear;transition:opacity .1s linear;position:absolute}#sublime-icon-swipe{position:absolute;top:-5px;right:0;width:40px!important}#sublime-animation-3{z-index:3;opacity:.84;-o-transition:opacity 1s linear;-webkit-transition:opacity 1s linear;-moz-transition:opacity 1s linear;-ms-transition:opacity 1s linear;transition:opacity 1s linear;-webkit-animation:1.6s linear infinite tooltip-animation3;animation:1.6s linear infinite tooltip-animation3;position:absolute;bottom:20px;right:calc(50% - 55px);width:70px!important}@-webkit-keyframes tooltip-animation3{0%{left:calc(50% - 55px)}50%{left:calc(50% - 15px)}to{left:calc(50% - 55px)}}@keyframes tooltip-animation3{0%{left:calc(50% - 55px)}50%{left:calc(50% - 15px)}to{left:calc(50% - 55px)}}#sublime-mobile-bottom-container{-webkit-transition:-webkit-transform .3s;-moz-transition:-moz-transform .3s;-ms-transition:-ms-transform .3s;background-color:#fff;width:100%;transition:transform .3s;position:absolute;left:0;-webkit-transform:translateY(200px);-moz-transform:translateY(200px);-ms-transform:translateY(200px);-o-transform:translateY(200px);transform:translateY(200px)}#sublime-mobile-bottom-container img{width:100%}#sublime-mobile-bottom-container.sublime-fixed-footer{z-index:996;width:100%;left:0;position:fixed!important;bottom:0!important}#sublime-mobile-top.sublime-animation-1 #sublime-top-tooltip{z-index:3;float:right;-o-transition:right .5s linear;background-color:#00000059;width:16vw;height:100%;line-height:100%;-webkit-transition:right .5s linear;-moz-transition:right .5s linear;-ms-transition:right .5s linear;transition:right .5s linear;position:absolute;top:0;right:-16vw}.bounce-out-right{-webkit-animation:2.5s both bounce-out-right;animation:2.5s both bounce-out-right}@-webkit-keyframes bounce-out-right{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(0);transform:translate(0)}15%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}25%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(-14vw);transform:translate(-14vw)}35%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}45%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(-15vw);transform:translate(-15vw)}55%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}85%{-webkit-transform:translate(-16vw);transform:translate(-16vw)}to{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(0);transform:translate(0)}}@keyframes bounce-out-right{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(0);transform:translate(0)}15%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}25%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(-14vw);transform:translate(-14vw)}35%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}45%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(-14vw);transform:translate(-14vw)}55%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:translate(-16vw);transform:translate(-16vw)}85%{-webkit-transform:translate(-16vw);transform:translate(-16vw)}to{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:translate(0);transform:translate(0)}}#animation4-images-container{transform-origin:50%;animation:5s 1s infinite animation4-image}.animation4-image-copy{margin-left:7%;position:absolute;top:0;left:100%}#animation4-gesture{opacity:.7;filter:drop-shadow(0 0 1px #000);height:83px;animation:5s 1s infinite animation4-gesture;position:absolute;bottom:-10px;left:50%;transform:translate(100%,100%);width:60px!important}#animation4-arrow{opacity:.7;filter:drop-shadow(0 0 1px #000);height:26px;animation:5s 1s infinite animation4-arrow;position:absolute;top:calc(50% - 13px);right:-50px;width:50px!important}@keyframes animation4-image{10%{transform:none}20%{transform:scale(.9)}30%{transform:translate(-50px)scale(.9)}43%{transform:translate(-50px)scale(.9)}53%{transform:translate(0,0)scale(.9)}63%{transform:scale(1)}}@keyframes animation4-gesture{10%{transform:translate(0,0)}20%{transform:scale(.8)}30%{transform:translate(-50px)scale(.8)}43%{transform:translate(-50px)scale(.8)}53%{opacity:.7;transform:translate(0,0)scale(.8)}63%{opacity:0}to{opacity:0}}@keyframes animation4-arrow{20%{transform:translate(0,0)}30%{transform:translate(-80px)}43%{transform:translate(-80px)}53%{transform:translate(0,0)}}#panel-double-buffer-image{background-position:50%;background-size:cover;width:100vh;height:100vh;position:fixed;inset:0}'},7762:e=>{e.exports=".swiper-container{z-index:1;margin:0 auto;padding:0;list-style:none;position:relative;overflow:hidden}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{z-index:1;-o-transition-property:transform;-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;-webkit-transition-property:transform,-webkit-transform;transition-property:transform,-webkit-transform;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate(0,0);transform:translate(0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-o-transition-timing-function:ease-out;margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{-o-transition-property:transform;-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0;width:100%;height:100%;-webkit-transition-property:transform,-webkit-transform;transition-property:transform,-webkit-transform;position:relative}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-o-transition-property:transform,height;align-items:flex-start;-webkit-transition-property:transform,height,-webkit-transform;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,100% 0,0 0,from(#00000080),to(#0000));background-image:-webkit-linear-gradient(90deg,#00000080,#0000);background-image:-o-linear-gradient(90deg,#00000080,#0000);background-image:linear-gradient(270deg,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,0 0,100% 0,from(#00000080),to(#0000));background-image:-webkit-linear-gradient(270deg,#00000080,#0000);background-image:-o-linear-gradient(270deg,#00000080,#0000);background-image:linear-gradient(90deg,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,0 100%,0 0,from(#00000080),to(#0000));background-image:-webkit-linear-gradient(#00000080,#0000);background-image:-o-linear-gradient(#00000080,#0000);background-image:linear-gradient(#0000,#00000080)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,0 0,0 100%,from(#00000080),to(#0000));background-image:-webkit-linear-gradient(#0000,#00000080);background-image:-o-linear-gradient(#0000,#00000080);background-image:linear-gradient(#00000080,#0000)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}"},3776:e=>{e.exports='@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700";#sublime-mobile-bottom-container{display:none}.sublime-adchoice{z-index:10000000;background-color:#fff;background-position-y:2px;background-repeat:no-repeat;position:absolute;top:0;left:0;width:20px!important;height:20px!important}#sublime-mobile-top .container-criteo{width:100%;height:100%;position:absolute;top:0}#sublime-mobile-top .container-criteo .product img{width:auto;max-width:100%;max-height:60px;margin:0 auto}#sublime-mobile-top .container-criteo .products-container{width:100%;height:50%;max-height:calc(60% - 10px);position:absolute;top:50px}#sublime-mobile-top .container-criteo .product{box-sizing:border-box;float:left;text-align:center;background-color:#fff;width:25%;height:100%;padding:0;font-size:9px;bottom:0}#sublime-mobile-top .container-criteo .product:not(:first-child){border-left:1px solid #d8d8d8;padding:0}#sublime-mobile-top .container-criteo .product:first-child{background-position:50%;background-repeat:no-repeat;background-size:contain}#sublime-mobile-top .container-criteo .product .description{display:none}#sublime-mobile-top .container-criteo .product .title{text-transform:uppercase;-webkit-line-clamp:2;max-height:2em;margin-top:5px;margin-bottom:5px}#sublime-mobile-top .container-criteo .product .price{-webkit-line-clamp:1;max-height:1em;margin-top:0}#sublime-mobile-top .container-criteo .product .title,.container-criteo .product .price{text-overflow:ellipsis;-webkit-box-orient:vertical;font-size:11px;font-weight:700;display:-webkit-box}#sublime-mobile-top .container-criteo .product h4,.container-criteo .product p{font-family:Source Sans Pro,Helvetica,sans-serif}#sublime-mobile-panel-container{box-shadow:none!important}#sublime-mobile-panel-container .sublime-adchoice{margin-top:6.4vh}#sublime-mobile-panel-container .container-criteo{height:calc(100% - 6.4vh);margin-top:6.4vh}#sublime-mobile-panel-container .container-criteo img{width:100%;display:block}#sublime-mobile-panel-container .container-criteo .products-container{-webkit-overflow-scrolling:touch;height:90%;overflow-y:scroll}#sublime-mobile-panel-container .container-criteo .product{float:left;text-align:center;background-color:#fff;border:1px solid #c7c7c7;width:calc(50% - 2px);height:33%;position:relative;font-family:Source Sans Pro,Helvetica,sans-serif!important}#sublime-mobile-panel-container .container-criteo .product img{width:auto;max-width:100%;max-height:50%;margin:0 auto;padding-top:20px}#sublime-mobile-panel-container .container-criteo .product:first-child img{width:auto;max-width:100%;max-height:100%;margin:0 auto;padding-top:0}#sublime-mobile-panel-container .container-criteo .product:first-child{background-position:50%;background-repeat:no-repeat;background-size:contain}#sublime-mobile-panel-container .container-criteo>.block-top{border-bottom:1px solid #e0e0e0}#sublime-mobile-panel-container .container-criteo .text-bottom{text-align:center;color:#000;text-transform:uppercase;cursor:default;border:2px solid #5b595a;width:30%;height:30px;margin:calc(7.5% - 15px) auto 0;font-size:12px;font-weight:700;line-height:31px;display:block;position:relative}#sublime-mobile-panel-container .container-criteo>div[class^=block]{background-color:#f9f9f9;background-position:top;background-repeat:no-repeat;background-size:auto 100%;width:100%;height:10%}#sublime-mobile-panel-container .container-criteo .block-bottom{z-index:1;position:absolute;bottom:0;box-shadow:0 0 13px 11px #00000080}#sublime-mobile-panel-container .container-criteo .product .product-infos{margin:0 auto;position:absolute;bottom:5%;left:0;right:0}#sublime-mobile-panel-container .container-criteo .product .description{margin:2px 0;font-size:11px;display:none}#sublime-mobile-panel-container .container-criteo .product .title{text-transform:uppercase;margin:5px 0 2px;font-size:11px}#sublime-mobile-panel-container .container-criteo .product .price{margin:2px 0 5px;font-size:12px;font-weight:700}'},624:e=>{e.exports=".mksinz-simple #sublime-mobile-video-container video{width:100%!important}.mksinz-simple .sublime-panel-slide #sublime-mobile-video-container{transform:translateY(-50%);top:50%!important}#sublime-fullscreen-icon{filter:invert();vertical-align:middle;width:auto!important;height:1.2em!important;margin-top:-.2em!important}#sublime-fullscreen{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;padding:8px;position:absolute;top:calc(50vh + 50vw + 20px);left:50%;transform:translate(-50%);font-size:4vw!important}#sublime-fullscreen:active{background:#ffffff4d}#ayads-html.sublime-landscape-display{display:block!important}#sublime-mobile-video-bg{z-index:-1;object-fit:cover;filter:blur(5px);width:100%;height:100%;position:absolute;top:0;left:0}.sublime-video-bottom-hidden{display:none!important}"},670:e=>{e.exports="#sublime-mobile-video-container{line-height:0;position:absolute;top:0;width:100%!important;height:auto!important}.sublime-mobile-video-mute{z-index:4;background-repeat:no-repeat;background-size:contain;width:23px;height:23px;position:absolute;bottom:4px;left:4px}.mute-animation{animation-name:muteScale;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}.sublime-mobile-video-mute.muteOff{background-image:url(https://cdn.ayads.co/creatives/commons/volume-up.svg)}.sublime-mobile-video-mute.muteOn{background-image:url(https://cdn.ayads.co/creatives/commons/volume-down.svg)}@keyframes muteScale{0%{transform:scale(1)}50%{transform:scale(1)}to{transform:scale(1.1)}}@keyframes countdownFixSafari{0%{transform:scale(1)}to{transform:scale(1)}}.sublime-mobile-loading-bar{background-color:#fff;width:100%;height:3px;position:absolute;bottom:0}.sublime-mobile-loading-bar-progress{background-color:#e9531d;width:0%;height:3px;position:relative}.sublime-mobile-video-play-controls{z-index:1;background:50%/contain no-repeat;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;bottom:0}#sublime-mobile-video-buttons-play{background-image:url(https://cdn.ayads.co/creatives/commons/icon-play.svg);width:37px;height:37px}#play-video-pulsar{z-index:5;transform-origin:50%;background:0 0;border:1px solid #fff;border-radius:50%;width:35px;height:35px;animation-name:play-video-pulsar;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,1,1);animation-iteration-count:infinite;animation-direction:alternate-reverse;position:absolute}@keyframes play-video-pulsar{0%{opacity:.2;transform:scale(1.5)}to{opacity:1;transform:scale(1.2)}}#sublime-mobile-video-overlay{position:inherit;opacity:.5;background-color:#000;width:100%;height:100%;top:0;left:0}#sublime-mobile-top-container.sublime-video-panel-open{transform:none!important}#sublime-mobile-top-container.sublime-video-panel-open #sublime-mobile-video-container{top:6.4vh;left:100%!important}#sublime-mobile-top-container.sublime-video-panel-open #sublime-mobile-panel-container{z-index:-1!important}#sublime-mobile-top-container.sublime-video-panel-open #sublime-mobile-top{overflow:visible!important;transform:none!important}#sublime-mobile-top-container.sublime-video-panel-open #sublime-top-tooltip,#sublime-mobile-top-container.sublime-video-panel-open #sublime-mobile-top-image-copy{display:none}"},8115:e=>{e.exports="#sublime-iframe-container{width:100%;height:100%;margin:0;position:absolute;top:0;left:50%;transform:translate(-50%)}#sublime-iframe{border:none;width:100%;height:100%;margin:0;position:absolute}#sublime-ui-overlay{pointer-events:initial}"},7532:e=>{e.exports='#sublime-container{box-sizing:border-box;position:relative}#sublime-slot{pointer-events:none;width:100%;position:fixed;top:0;left:0;overflow:hidden}#sublime-content{pointer-events:none;z-index:2147483645;width:100%;position:fixed;top:0;left:0;overflow:hidden}#sublime-container .sublime--hide{display:none}#sublime-container .sublime--invisible{visibility:hidden}#sublime-video-wrapper{box-sizing:border-box;z-index:2147483646;width:100%;height:100%;position:fixed;top:0;left:0;overflow:hidden}body:not(.sublime-toproll-expand) #sublime-video-wrapper{height:-webkit-fill-available}#sublime-video{width:100%;height:100%}#sublime-video-background{filter:blur(2px);z-index:-1;position:absolute}body.sublime-toproll-loading #sublime-video-overlay:before{content:"";background-color:#00000080;width:100%;height:100%;display:block;position:absolute}.sublime-image-asset{opacity:0;background-position:50%;background-size:cover;width:100%;height:100%;transition:all .2s;position:absolute;top:0}#sublime-viewability-image{visibility:hidden!important;width:100%!important;height:100%!important;position:absolute!important;top:0!important;left:0!important}'},6070:e=>{e.exports='#sublime-ui-overlay{pointer-events:none;z-index:2147483647;width:100%;position:fixed;top:0;left:0;overflow:hidden}.sublime-ui-overlay{box-sizing:border-box;z-index:2;width:100%;height:100%;transition:background-color .8s;position:absolute;top:0;left:0}.sublime-ui-overlay .sublime--icon{filter:drop-shadow(0 0 5px #000);width:5vmin;height:5vmin;pointer-events:auto!important}.sublime-toproll-expand .sublime-ui-overlay .sublime--icon{width:6vmin;height:6vmin}@media (orientation:landscape) and (width>=1200px){.sublime-ui-overlay .sublime--icon{width:2.5vmin;height:2.5vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--icon{width:3vmin;height:3vmin}}.sublime-ui-overlay .sublime--bottom{bottom:2vmin}.sublime-ui-overlay .sublime--left{left:2vmin}.sublime-ui-overlay .sublime--right{right:2vmin}.sublime-ui-overlay .sublime--top{top:2vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--bottom{bottom:2vmax}.sublime-toproll-expand .sublime-ui-overlay .sublime--left{left:2vmax}.sublime-toproll-expand .sublime-ui-overlay .sublime--right{right:2vmax}.sublime-toproll-expand .sublime-ui-overlay .sublime--top{top:2vmax}@media (orientation:landscape) and (width>=1200px){.sublime-ui-overlay .sublime--bottom{bottom:1.5vmin}.sublime-ui-overlay .sublime--left{left:1.5vmin}.sublime-ui-overlay .sublime--right{right:1.5vmin}.sublime-ui-overlay .sublime--top{top:1.5vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--bottom{bottom:1.5vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--left{left:1.5vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--right{right:1.5vmin}.sublime-toproll-expand .sublime-ui-overlay .sublime--top{top:1.5vmin}}.sublime--video-complete .sublime-ui-overlay{background-color:#00000080}#sublime-ui-sound{opacity:.8;background:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M154.9,96a39.26,39.26,0,0,0-21.81-35.16v70.24A39,39,0,0,0,154.9,96ZM37.1,78.59V113.5a8.74,8.74,0,0,0,8.72,8.72H72l28.71,28.71a8.75,8.75,0,0,0,14.92-6.19V47.26a8.75,8.75,0,0,0-14.92-6.19L72,69.86H45.82A8.75,8.75,0,0,0,37.1,78.59Z\\"/></svg>") 0 0/contain;display:none;position:absolute}#sublime-ui-sound.sublime--muted{background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M37.10787,78.59l0,34.91a8.75,8.75 0 0 0 8.73,8.72l26.18,0l28.71,28.71a8.75,8.75 0 0 0 14.92,-6.19l0,-97.48a8.75,8.75 0 0 0 -14.92,-6.19l-28.71,28.79l-26.18,0a8.76,8.76 0 0 0 -8.73,8.73Z\\"/></svg>")}#sublime-ui-close{color:#fff;text-align:center;z-index:2;font:4vmin/1.5 sans-serif;position:absolute}.sublime-toproll-expand #sublime-ui-close{font-size:6vmin}@media (orientation:landscape) and (width>=1200px){#sublime-ui-close{font-size:2.5vmin}.sublime-toproll-expand #sublime-ui-close{font-size:3vmin}}#sublime-ui-close.sublime--icon-cross{background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M134.79,150.3,96,111.51,57.21,150.3A11,11,0,1,1,41.7,134.79L80.49,96,41.7,57.21A11,11,0,1,1,57.21,41.7L96,80.49,134.79,41.7A11,11,0,1,1,150.3,57.21L111.51,96l38.79,38.79a11,11,0,1,1-15.51,15.51Z\\"/></svg>")}#sublime-ui-collapse{background:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M46.71,128.86H63.14v16.43a8.22,8.22,0,0,0,16.43,0V120.64a8.23,8.23,0,0,0-8.21-8.21H46.71a8.22,8.22,0,0,0,0,16.43ZM63.14,63.14H46.71a8.22,8.22,0,0,0,0,16.43H71.36a8.23,8.23,0,0,0,8.21-8.21V46.71a8.22,8.22,0,0,0-16.43,0Zm57.5,90.36a8.24,8.24,0,0,0,8.22-8.21V128.86h16.43a8.22,8.22,0,0,0,0-16.43H120.64a8.23,8.23,0,0,0-8.21,8.21v24.65A8.23,8.23,0,0,0,120.64,153.5Zm8.22-90.36V46.71a8.22,8.22,0,0,0-16.43,0V71.36a8.23,8.23,0,0,0,8.21,8.21h24.65a8.22,8.22,0,0,0,0-16.43Z\\" /></svg>") 0 0/contain;display:none;position:absolute}#sublime-ui-cta{color:#eee;text-transform:uppercase;white-space:nowrap;border:2px solid #fff;border-radius:8em;align-items:center;padding:.1em 1.5em 0 .7em;font:700 12px/2 sans-serif;display:none;position:absolute;bottom:0;left:0;pointer-events:auto!important}#sublime-ui-cta:before{content:"";background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"m134.3,140.7h-76.7a6.4,6.4,0,0,1-6.4-6.4v-76.7a6.4,6.4,0,0,1,6.4-6.4h31.9a6.4,6.4,0,0,0,0-12.8h-38.3a12.8,12.8,0,0,0-12.8,12.8v89.4a12.8,12.8,0,0,0,12.8,12.8h89.4a12.8,12.8,0,0,0,12.8-12.8v-38.3a6.4,6.4,0,1,0-12.8,0v31.9a6.4,6.4,0,0,1-6.4,6.4zm-25.5-95.8a6.4,6.4,0,0,0,6.4,6.4h16.5l-58.3,58.3a6.4,6.4,0,1,0,9,9l58.3-58.3v16.6a6.4,6.4,0,1,0,12.8,0v-31.9a6.4,6.4,0,0,0-6.4-6.4h-31.9a6.4,6.4,0,0,0-6.4,6.4z\\"/></svg>");background-position:50%;background-repeat:no-repeat;background-size:1.9em;border-radius:3em;width:3em;height:3em;margin:0;display:block}@media (orientation:landscape) and (width>=1200px){#sublime-ui-cta{font-size:24px}}#sublime-ui-touchscroll{filter:drop-shadow(0 0 10px #00000073);background-image:url("data:image/svg+xml,    <svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"-96 -288 384 576\\">        <style>        @keyframes arrowDown {            0% { opacity: 0; transform: translateY(-60%) scale(1); }            4.5% { opacity: 1; transform: translateY(0) scale(1); }            10% { opacity: 1; transform: translateY(0) scale(.8); }            12% { opacity: 0; transform: translateY(0) scale(.8); }            15% { opacity: 0; transform: translateY(-60%) scale(1); }            19.5% { opacity: 1; transform: translateY(0) scale(1); }            25% { opacity: 1; transform: translateY(0) scale(.8); }            27% { opacity: 0; transform: translateY(0) scale(.8); }            100% { opacity: 0; transform: translateY(0) scale(.8); }        }        @keyframes clickBump {            0% { opacity: 0; transform: scale(1); }            4.5% { opacity: 0; transform: scale(1); }            6.5% { opacity: 1; transform: scale(1.5);}            9% { opacity: 0; transform: scale(2); }            15% { opacity: 0; transform: scale(1); }            19.5% { opacity: 0; transform: scale(1); }            21.5% { opacity: 1; }            24% { opacity: 0; transform: scale(2); }            100% { opacity: 0; transform: scale(2); }        }        @keyframes expandFade {            0% { opacity: 0; transform: scale(.5); }            5.5% { opacity: 0; transform: scale(.5); }            12% { opacity: 1; transform: scale(1); }            14.9% { opacity: 1; transform: scale(1); }            15% { opacity: 0; transform: scale(.5); }            20.5% { opacity: 0; transform: scale(.5); }            27% { opacity: 1; transform: scale(1); }            90% { opacity: 0; transform: scale(1); }            100% { opacity: 0; transform: scale(1); }        }        .arrow, .bump, .expand {            opacity: 0;            transform-origin: 96px 96px;        }        .arrow { animation: arrowDown 8s linear infinite; }        .bump { animation: clickBump 8s linear infinite; }        .expand { animation: expandFade 8s linear infinite; }        </style>        <g class=\\"arrow\\">            <circle cx=\\"96\\" cy=\\"96\\" r=\\"96\\" fill=\\"white\\"/>            <path transform=\\"rotate(-90,96,96)\\" d=\\"M126.65,40.75a7.65,7.65,0,0,0-10.84,0L64.88,91.68a6.1,6.1,0,0,0,0,8.64l50.93,50.93a7.67,7.67,0,0,0,10.84-10.85L82.28,96l44.43-44.43A7.63,7.63,0,0,0,126.65,40.75Z\\" />        </g>        <g class=\\"bump\\">            <circle cx=\\"96\\" cy=\\"96\\" r=\\"96\\" fill=\\"none\\" stroke=\\"white\\" stroke-width=\\"4\\" />        </g>        <g class=\\"expand\\">            <circle cx=\\"96\\" cy=\\"96\\" r=\\"96\\" fill=\\"white\\"/>            <path d=\\"M46.71,112.43a8.23,8.23,0,0,0-8.21,8.21v24.65a8.24,8.24,0,0,0,8.21,8.21H71.36a8.22,8.22,0,0,0,0-16.43H54.93V120.64A8.24,8.24,0,0,0,46.71,112.43Zm0-32.86a8.24,8.24,0,0,0,8.22-8.21V54.93H71.36a8.22,8.22,0,0,0,0-16.43H46.71a8.24,8.24,0,0,0-8.21,8.21V71.36A8.23,8.23,0,0,0,46.71,79.57Zm90.36,57.5H120.64a8.22,8.22,0,0,0,0,16.43h24.65a8.24,8.24,0,0,0,8.21-8.21V120.64a8.22,8.22,0,0,0-16.43,0ZM112.43,46.71a8.24,8.24,0,0,0,8.21,8.22h16.43V71.36a8.22,8.22,0,0,0,16.43,0V46.71a8.24,8.24,0,0,0-8.21-8.21H120.64A8.23,8.23,0,0,0,112.43,46.71Z\\" />        </g>    </svg>");width:10vmin;height:15vmin;display:none;position:absolute;transform:translate(-2vmin,2vmin);pointer-events:auto!important}@media (orientation:landscape) and (width>=1200px){#sublime-ui-touchscroll{width:5vmin;height:7.5vmin;transform:translate(-1vmin,1vmin)}}#sublime-ui-replay{background-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 192 192\\"><path fill=\\"white\\" d=\\"M50.7,50.38a7.27,7.27,0,0,0-12.38,5.21V81.65c0,3.9,3.26,7.16,7.82,7.16h25.4a7.27,7.27,0,0,0,5.21-12.38L65.68,65.36a43.54,43.54,0,0,1,73,40.39c-3.25,15.63-16.28,28.67-32.57,32.57-21.5,4.56-41-6.51-48.86-24.1a7.16,7.16,0,0,0-6.51-3.91c-5.22,0-8.47,5.86-6.52,10.42,9.12,19.54,29.32,32.58,52.12,32.58,33.87,0,61.23-29.32,57.33-63.85-3.26-26.71-24.76-48.2-51.47-50.81-18.24-2-34.53,4.56-46.9,16.29Z\\" /></svg>");background-size:contain;display:none;position:absolute}body:not(.sublime-toproll-loading):not(.sublime-toproll-expand):not(.sublime--video-complete) #sublime-ui-touchscroll,.sublime-toproll-expand #sublime-ui-collapse,.sublime-toproll-expand:not(.sublime-toproll-loading):not(.sublime--video-complete) #sublime-ui-sound,.sublime--video-complete #sublime-ui-replay{display:block}.sublime-toproll-full.sublime--video-complete #sublime-ui-cta,.sublime-toproll-expand-transition.sublime--video-complete #sublime-ui-cta,.sublime-toproll-expand.sublime--video-complete #sublime-ui-cta{display:flex}#sublime-ui-play{background-image:url("data:image/svg+xml,%3Csvg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" width=\\"37\\" height=\\"37\\" viewBox=\\"0 0 37 37\\"%3E%3Cdefs%3E%3Cpath id=\\"a\\" d=\\"M26.083 17.39L15.23 10.794c-.974-.542-2.201.154-2.201 1.295V24.91c0 1.134 1.22 1.837 2.201 1.295l10.853-6.227c1.011-.56 1.011-2.022 0-2.589zM.562 18.5C.562 8.59 8.589.562 18.5.562c9.91 0 17.938 8.027 17.938 17.938 0 9.91-8.027 17.938-17.938 17.938C8.59 36.438.562 28.411.562 18.5z\\"/%3E%3C/defs%3E%3Cg fill=\\"none\\" fill-rule=\\"evenodd\\"%3E%3Cpath fill=\\"%23FFF\\" fill-rule=\\"nonzero\\" d=\\"M26.083 17.39L15.23 10.794c-.974-.542-2.201.154-2.201 1.295V24.91c0 1.134 1.22 1.837 2.201 1.295l10.853-6.227c1.011-.56 1.011-2.022 0-2.589zM.562 18.5C.562 8.59 8.589.562 18.5.562c9.91 0 17.938 8.027 17.938 17.938 0 9.91-8.027 17.938-17.938 17.938C8.59 36.438.562 28.411.562 18.5z\\"/%3E%3Cg%3E%3Cmask id=\\"b\\" fill=\\"%23fff\\"%3E%3Cuse xlink:href=\\"%23a\\"/%3E%3C/mask%3E%3Cg mask=\\"url(%23b)\\"%3E%3Cpath fill=\\"%23FFF\\" fill-rule=\\"nonzero\\" d=\\"M-4.461-4.461h45.922v45.922H-4.461z\\"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;width:10vmin;height:10vmin;margin:0 auto;display:block;position:absolute}#sublime-ui-play:before{box-sizing:border-box;content:"";border:1px solid #fff;border-radius:50%;width:100%;height:100%;animation-name:sublime-ui-play-pulsar;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,1,1);animation-iteration-count:infinite;animation-direction:alternate-reverse;display:block;position:absolute}@keyframes sublime-ui-play-pulsar{0%{opacity:.2;transform:scale(1.5)}to{opacity:1;transform:scale(1.2)}}.sublime-ui-adinfo{position:absolute}'},8841:e=>{const{browsingContexts:t,highestAccessibleUrl:i,highestAccessibleWindow:n,highestIframeElement:o,isUnderXDomain:r}=function(e){let t,i,n=!1;const o=[];let r,a=e,s=e;do{try{i=a.location.toString(),t=a}catch(e){n=!0}o.push(a),s=a,a=a.parent}while(s!==e.top&&o.length<100);try{e!==e.top&&(r=o[o.length-2].frameElement)}catch(e){}return{browsingContexts:o,highestAccessibleUrl:i,highestAccessibleWindow:t,highestIframeElement:r,isUnderXDomain:n}}(window),a=n.document,s="https:"===n.location.protocol,l=n===window.top,d=window!==window.top,c=/^sublime/.test(window.name)&&d;let p=!1,u="";try{window.top.document&&(p=!0,u=window.top.location.origin)}catch(e){}if(!p&&"ancestorOrigins"in window.location){const e=window.location.ancestorOrigins;e.length&&(u=e[e.length-1])}let m="";try{m=String(new URL(u).hostname)}catch(e){}let b="";try{b=String(new URL(n.origin).hostname)}catch(e){}const f={get width(){return window.document.documentElement.clientWidth},get height(){return window.document.documentElement.clientHeight}};let g=f;p&&(g={get width(){return window.top.document.documentElement.clientWidth},get height(){return window.top.document.documentElement.clientHeight}});const h=document.currentScript;function v(){const e=a.documentElement;if(void 0!==a.height)return a.height;const t=a.body;return t?Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight):0}e.exports={browsingContexts:t,getOrientation:function(e){return e.innerHeight<e.innerWidth?"landscape":"portrait"},getPageHeight:v,hasTopAccess:p,highestAccessibleDocument:a,highestAccessibleHostname:b,highestAccessibleUrl:i,highestAccessibleWindow:n,highestIframeElement:o,isHighestAccessibleProtocolSSL:s,isHighestAccessibleWindowTop:l,isInIframe:d,isInSublimeIframe:c,isOptimalHeight:function(e){const t=v();return!("desktop"===e&&t<2300||"mobile"===e&&t<3600)},isUnderXDomain:r,originScript:h,topHostname:m,topViewportSize:g,viewportSize:f}},369:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o}=i(8841),r=i(7980),a=i(8434);e.exports={cleanUp:function(e=!0){a.call("event.cleanUp"),r.clearAllTimeouts(),r.clearAllIntervals(),[o,window.document].forEach((e=>{e.querySelectorAll('[id^="ayads"],[id^="sublime"],div[class*="celtraCloseButtonBackground"],[class*="celtra-expanded-ad"],[class*="celtra-placement-sticky"]').forEach((e=>e.remove()))})),[o,window.document].forEach((e=>{e.querySelectorAll('[class*="sublime-"]').forEach((e=>{e.classList.forEach(((e,t,i)=>{/^sublime-/.test(e)&&i.remove(e)}))}))})),e&&(n.sublime=void 0,n.ayads=void 0,window.sublime=void 0,window.ayads=void 0)}}},9911:(e,t,i)=>{const n=i(7322),{isUrl:o,parseUrl:r}=i(2526),{isDefined:a,isEmpty:s,isObject:l}=i(7710),d=i(2843),c=i(5974);e.exports={windowHasRedirect:function(e){const t=function(e){let t=e.ayads_ads||null;if(t&&Array.isArray(t)||e.ayads_data&&(t=[{data:e.ayads_data}]),s(t)){const i=e.document.querySelector('iframe[id^="tm_ad_"]');if(i){const e=i.contentWindow;e.ayads_data&&(t=[{data:e.ayads_data}])}}if(s(t))return[];const i=[];return t.forEach((function(e){const t=function(e){const t=/#ayads-video-bg[\r\n\t ]{[\r\n\t ].*?display:\s*none.*?[\r\n\t ]}/;let i=!1;l(e.data)?(e.aid=e.data.aid||0,e.raid=e.data.raid||0,e.cid=e.data.cid||0,e.moat=e.moat||e.data.moat||0,e.rtype=e.data.rtype||null,a(e.data.type)&&(e.type=e.data.type,"mobile"===e.data.type?(e.mobile_setup=e.data.mobile_setup,e.supported_devices=["mobile"]):(e.desktop_setup=e.data.desktop_setup,e.supported_devices=["desktop"]))):e.data={};const s={campaign_id:e.cid,cappings:{clicks:e.data.capping_clicks,impressions:e.data.capping_impressions,duration:e.data.capping_duration},click_area:e.data.click_area||"double",click_macro:e.data.click_macro,color:e.data.color,creative_type:e.data.creative_type,creative_id:e.data.creative_id,dspId:e.data.dsp_id||null,fixed:e.data.fixed,html:e.data.html,html_usage:e.data.html_usage,id:e.aid,image:e.data.image,images:{bg:e.data.image},moat:e.moat,mobile_setup:e.mobile_setup||null,desktop_setup:e.desktop_setup||null,name:e.name,priority:e.priority||1,ssp_id:"",ssp_name:"",supported_devices:e.supported_devices||["desktop"],top:e.data.top,type:e.type||"skinz",url:e.data.url,originalUrl:e.data.original_url||null,videos:{},weight:10};if(e.raid&&(s.raid=e.raid),e.rtype&&(s.rtype=e.rtype),e.data.criteo_id?(s.ssp_name="criteo",s.ssp_id=e.data.criteo_id):e.data.improve_id&&(e.data.improve_id.match(/^rubicon:/)?(s.ssp_name="rubicon",s.ssp_id=e.data.improve_id.split(":")[1]):e.data.improve_id&&e.data.improve_id.match(/^appnexus3:/)?(s.ssp_name="appnexus",s.ssp_id=e.data.improve_id.split(":")[1]):e.data.improve_id.toString().indexOf("://")>-1?s.script_url=e.data.improve_id:(s.ssp_name="improve",s.ssp_id=e.data.improve_id)),e.data.video){let a,l,c=n("delivery_url");const p=String(e.data.video).match(/^video-(\d+)\.mp4/);if(p&&p[1]&&(d.error("Erroneous video format in Redirect: bad format",{from:"fromAyadsAd",redirect:e,tags:{level:"debug"}}),e.data.video=p[1]),o(e.data.video)){const t=r(e.data.video).host.replace("-staging",""),i=n("delivery_host").replace("-staging","");t===i?(c=e.data.video,o(e.data.video_bg)&&r(e.data.video_bg).host.replace("-staging","")===i&&(a=e.data.video_bg)):a=""}else d.error("Erroneous video format in Redirect: noUrl",{from:"fromAyadsAd",redirect:e,tags:{level:"debug"}}),c+="/delivery/video-",a=c+"bg-",l=e.data.video?e.raid||e.aid:e.data.video,c+=l+".mp4",a+=l+".mp4";s.videos.top=c,s.videos.bg=a,i=e.data.html&&e.data.html.match(t),i&&(s.videos.bg=null)}return function e(t){Object.keys(t).forEach((function(i){l(t[i])&&e(t[i]),["top","fixed","footer_fixed","top_sticky","moat","html","full","expand","sticky"].includes(i)||t[i]||delete t[i]}))}(s),s}(e);t.response_format="html",t.raid?t.isRedirect=!0:t.isAdserving=!0,i.push(t)})),c.grabFrom(e),i}(e);return t&&t[0]?t[0]:null}}},518:e=>{e.exports={JS_ERRORS_CODES:{SyntaxError:1,ReferenceError:2,TypeError:3}}},9412:(e,t,i)=>{const{highestAccessibleDocument:n}=i(8841),o=i(7322),r=i(9334),a=i(2843),s=i(8434),l=i(2979),{macrosReplace:d}=i(72),c=function(e,t){return r.getSublimeConsent()?803===e.id?(a.info("cookieSync: disabled (Demo zone)"),!1):!t||(a.info("cookieSync: disabled (Preview enabled)"),!1):(a.info("cookieSync: disabled (No GDPR Consent)"),!1)},p=function(e){a.info("cookieSync: running..."),Object.keys(e).forEach((function(t){let i=e[t].url;if(i=d(i),"img"===e[t].type)(new window.Image).src=i;else{const e=n.createElement("script");e.id="sublime-cm-"+t,e.type="text/javascript",e.async=!0,e.src=i,n.body.appendChild(e)}}))};s.register("step.call",(function(){const e=o("zone");if(c(e,l.enabled)){const e=o("cookieMatchSetup")||{};p(e)}})),e.exports={applyCookieSync:p,canApplyCookieSync:c}},6764:(e,t,i)=>{const{adServerClickurlizeAntenna:n}=i(4875),o=i(9983),r=i(7322),a=i(8983),{hasProperty:s}=i(562),l=i(9259),d=i(2843),c=i(2979),{store:p}=i(5584),u=[20];function m(e){const{id:t,dspId:i}=e;let l=a({placementType:"skinz"},e);"rsa"===r("mode")&&(l.raid=t),c.enabled&&(l=function(e){if(!c.params)return e;const t={};return"toproll"===c.params.format&&(t.creative_type="mobile"===o.type?"mobile-toproll-video":"desktop-toproll-video",t.placementType="toproll"),"mskinz"===c.params.format&&(t.creative_type="mobile-mskin-video-simple"),{...e,...t}}(l),l.vast_url&&delete l.isExternal);const d=Boolean(l.isExternal),p=r("zone").accepted_placement_types,m=s(p,"mobile.toproll")&&Boolean(p.mobile.toproll);return"rsa"!==r("mode")&&"mobile"===o.type&&d&&(m?(l.creative_type="mobile-toproll-video",l.placementType="toproll"):l.creative_type="mobile-mskin-video-simple"),l.encodeLandingPage=!u.includes(i),!e.click_macro&&s(e,"redirectData.clickMacro")&&(l.click_macro=e.redirectData.clickMacro),l.click_url=n(l.click_macro),l}function b(e){return t=>a(t,{creative:{type:e.creative_type||null,placementType:e.placementType||null,legacyType:e.type||null}})}e.exports={creativeSetup:function(e,t=!0){const i=m(e);return p.updateState(b(i)),t?(l.creativeAd=a({},l.ad,l.creativeAd||{},i),l.ad=a({},l.creativeAd),d.info("Setup creative Ad:",l.creativeAd),l.creativeAd):i},disconnectedCreativeSetup:function(e){const t=m(JSON.parse(JSON.stringify(e)));return d.info("Setup creative Ad (disconnected):",t),t},updateCreativeState:b}},9983:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),o=i(7322),{getProperty:r}=i(562),a=/\b(Mac OS X|Windows (?:NT|Phone)|CPU(?: iPhone| iPod| iPad)? OS|Android)[^)]+?([0-9._]+)/i,s=/(?:phone|windows\s+phone|ipod|blackberry|Galaxy Nexus|SM-G892A|(?:android|bbd+|meego|silk|googlebot) .+?mobile|palm|windows\s+ce|opera mini|avantgo|docomo)/i,l=/(?:ipad|playbook|Tablet|(?:android|bb\d+|meego|silk)(?! .+? mobile))/i,d=/MSIE ([0-9._]+)/,c=/Edge?\/([0-9._]+)/,p=/ Chrom(?:e|ium)\/([0-9._]+)/,u=/Version\/([0-9._]+)(?: Mobile.*?)? Safari\//,m=/Gecko\/[0-9._]+ Firefox\/([0-9._]+)/,b=Object.freeze({MOBILE:"mobile",TABLET:"tablet",DESKTOP:"desktop"}),f=Object.freeze({IOS:"iOS",MACOS:"Mac",ANDROID:"android",WINDOWS:"Windows",WINDOWS_PHONE:"windowsPhone"}),g=Object.freeze({CHROME:"Chrome",SAFARI:"Safari",FIREFOX:"Firefox",EDGE:"Edge",IE:"Internet Explorer"}),h=Object.freeze({SMALL:"small",LARGE:"large",MEDIUM:"medium",UNKNOWN:"unknown"}),v={DATA_SAVER:()=>window.navigator.connection&&window.navigator.connection.saveData,TOUCH:()=>window.matchMedia("(pointer: coarse)").matches};let y;const w={get type(){const e=window.navigator.userAgent;return y||s.test(e)&&b.MOBILE||l.test(e)&&b.TABLET||b.DESKTOP},set type(e){Object.values(b).includes(e)&&(y=e)},get os(){const e=window.navigator.userAgent,t=a.exec(e);let i="",n=0;return t&&(i=t[1].toUpperCase().replace("MAC OS X",f.MACOS).replace("WINDOWS PHONE",f.WINDOWS_PHONE).replace("WINDOWS NT",f.WINDOWS).replace(/^CPU.*$/,f.IOS).replace("ANDROID",f.ANDROID),n=parseFloat(t[2].replace(/_/g,"."))),Object.freeze({name:i,version:n})},get browser(){const e=window.navigator.userAgent;function t(e){return parseFloat(e.replace(/_/g,"."))}const i=c.exec(e);if(i)return Object.freeze({name:g.EDGE,version:t(i[1])});const n=u.exec(e);if(n)return Object.freeze({name:g.SAFARI,version:t(n[1])});const o=m.exec(e);if(o)return Object.freeze({name:g.FIREFOX,version:t(o[1])});const r=p.exec(e);if(r)return Object.freeze({name:g.CHROME,version:t(r[1])});const a=d.exec(e);return a?Object.freeze({name:g.IE,version:parseFloat(window.document.documentMode)||t(a[1])||0}):Object.freeze({name:"",version:0})},get screen(){if(!n.innerWidth)return h.UNKNOWN;const e=n.innerWidth/o("zone").scale;return e<=1024&&h.SMALL||e<=1299&&h.MEDIUM||h.LARGE},get orientation(){const e=r(window.screen,"orientation.type");return e?/^landscape/.test(e)?"landscape":"portrait":"number"==typeof window.orientation?90===Math.abs(window.orientation)?"landscape":"portrait":n.innerWidth>n.innerHeight?"landscape":"portrait"},is:(...e)=>Boolean(e.length)&&e.every((e=>w.type===e||w.os.name===e||w.browser.name===e||w.screen===e)),hasFeature:e=>Boolean(v[e]&&v[e]()),...b,...f,...g,SCREEN:h,FEATURE:Object.freeze(Object.keys(v).reduce(((e,t)=>({...e,[t]:t})),{}))};w.is=new Proxy(w.is,{get:(e,t)=>e[t]||w.is(w[t.toUpperCase()])}),"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.device=w.type,window.sublime.detectDevice=Object.assign(window.sublime.detectDevice||{},{detectType:()=>w.type,detectMobileOS:()=>w.is(w.IOS)||w.is(w.ANDROID)||w.is(w.WINDOWS_PHONE)?w.os:{name:!1,version:!1},isDataSaverEnabled:()=>w.hasFeature("DATA_SAVER"),categorizedScreenSize:()=>w.screen}),Object.defineProperties(window.sublime,{IEVersion:{get:()=>w.is(w.IE)&&w.browser.version||0,configurable:!0},isEdge:{get:w.is.bind(null,w.EDGE),configurable:!0},isIe:{get:()=>w.is(w.IE)||w.is(w.EDGE),configurable:!0},isChrome:{get:w.is.bind(null,w.CHROME),configurable:!0},isFirefox:{get:w.is.bind(null,w.FIREFOX),configurable:!0},isSafari:{get:w.is.bind(null,w.SAFARI),configurable:!0},isWindowsSafari:{get:w.is.bind(null,w.SAFARI,w.WINDOWS),configurable:!0},isIphoneSafari:{get:w.is.bind(null,w.SAFARI,w.IOS),configurable:!0},isMac:{get:w.is.bind(null,w.MACOS),configurable:!0},isTablet:{get:()=>!w.is(w.MOBILE)&&w.hasFeature("TOUCH"),configurable:!0}})),e.exports=w},7322:e=>{const t={"app_env":"prod","app_host":"https://sac.ayads.co/","app_debug":false,"sublime_prefix":"ayads","richmedia_prefix":"rimbo","delivery_url":"https://cdn.ayads.co/","delivery_host":"cdn.ayads.co","ads_ayads_url":"https://ads.ayads.co/","sublime_url":"https://sac.ayads.co/sublime/","ayads_host":"ayads.co","ayads_url":"https://ayads.co","antenna_host":"antenna-apse.ayads.co","antenna_url":"https://antenna.ayads.co","cookie_domain":".ayads.co","optchk_url":"https://optchk.ayads.co","xcookie_url":"https://optchk.ayads.co/?xc","geoloc_eeu_host":"geoworker.ayads.co"}||{},i={debug:{"enabled":false,"sentry":{"dsn":"https://8c4fa18033b6401db579ffb19eec1278@sentry.sskzlabs.com/30","version":"3.27.0"}},ads:null,callback:"",cookieMatchSetup:[{"url":"https://www8.smartadserver.com/ac?nwid=1827&siteid=392138&pgid=1345107&fmtid=97506&async=1&visit=m&tmstp=&gdpr_consent=${GDPR_CONSENT_45}","type":"js"}],cpms:{"desktop":3.00,"mobile":3.00},creativeSetup:null,currencies:{"desktop":"EUR","mobile":"EUR"},defaultProtocol:"https",electionOrdering:["appnexus","improve"],featureFlipping:{"cookieConsent":false,"appnexusSendImpressionId":false,"smartSendImpressionId":false,"sendSupplychain":false},forceOriginWindow:false,gdprApplies:false,mode:"pb",prebidBidHost:"pbjs.sskzlabs.com",prebidGlobal:"pgPrebid",sspSetup:{"improve":[],"appnexus":[],"smartadserver":[]},versionId:20250708093001,siteId:23235,DSPValidationPreview:null,sources:{"mobile":{"improve":{"id":"335|23039137","name":"improve","url":"https://ad.360yield.com/pb","aid":315875},"appnexus":{"id":31061344,"name":"appnexus","url":"https://ib.adnxs.com/ut/v3/prebid","aid":315880}},"desktop":{"improve":{"id":"335|23142719","name":"improve","url":"https://ad.360yield.com/pb","aid":321634},"appnexus":{"id":31061344,"name":"appnexus","url":"https://ib.adnxs.com/ut/v3/prebid","aid":321656}}},srcType:"a",zone:{"id":38932,"site_id":23235,"passback":"","mobilepassback":"","scale":1.04,"url":"www.fcinternews.it","mobile_setup":{"footer_fixed":1},"video_autoplay":1,"passback_render":"","cmp_wait_timeout":1000,"cmp_consent_timeout":1000,"site_url":"www.fcinternews.it/#adplay","seller_id":3498,"bid_sizes":{"desktop":{"width":1800,"height":1000},"mobile":{"width":640,"height":300}},"use_cls_desktop":1,"desktop_html_cls":"<style>\n    iframe[id^=\"ayads-pull-creative\"], .ayads-write, #gmp-intropage_passback, #gmp-skin {display: none !important;}\n    #ayads-html {z-index: 3 !important;}\n    #ayads-video-layer {margin-top: 0 !important; z-index: 1 !important;}\n    #sublime-background {z-index: 1 !important;}\n    #sublime-day-overlay {z-index: 2 !important;}\n    #sublime-video-image-container {z-index: 5 !important;}\n    #ayads-video-container {margin-top: 0 !important; z-index: 4 !important;}\n    #ayads-video-container.sublime-reminder {top: unset !important;}\n    /* USE THIS ONLY IF YOU HAVE A BILLBOARD TO HIDE */\n    /* .dfp-leaderboard-container {pointer-events: none; opacity: 0;} */\n    body > * {position: relative; z-index: 5; cursor:default;}\n    body {cursor:pointer;}\n    body.sublime-cls #ayads-html .notranslate {display: block!important;}\n    body.sublime-cls #ayads-html .celtra-ad-inline-host{position: sticky!important;}\n    \n</style>\n\n<script>\n    function init(){\n        /* Init variables */\n        var html = sublime.window.document.querySelector(\'html\'),\n            body = sublime.window.document.body,\n            isSafari = navigator.userAgent.indexOf(\'Safari\') != -1 && navigator.userAgent.indexOf(\'Chrome\') == -1,\n            isChrome = navigator.userAgent.indexOf(\'Chrome\') != -1,\n            isMac = navigator.appVersion.indexOf(\"Mac\") != -1,\n            isVideo = !sublime.isEmpty(sublime.creativeAd.videos),\n            bgfix = sublime.creativeAd.fixed,\n            sublimeAdTop = sublime.creativeAd.top,\n            ayadsVideo,\n            ayadsVideoLayer,\n            firstCall,\n            i = 0,\n            /* Edit variables */\n            maxHeightHeader = 0, /* Set the value of the header height when the scroll is 0 */\n            minHeightHeader = 0; /* Set the value of the header height when the scroll is > 0 */\n            sublime.display.addCss(\' #main-container {top: \'+sublimeAdTop +\'px;}\');\n        /**************** ADAPT MARGIN TO HTML AND LAUNCH FUNCTION FOR OTHERS ELEMENTS ****************/\n        function fixSkin(){\n            if ((bgfix && !isVideo) || (!bgfix && isMac && isSafari)  || (!bgfix && isChrome)) {\n                body.style.cssText = \'background-position: center \'+maxHeightHeader+\'px !important;\';\n            }\n            if (bgfix) {\n                fixSkinOnScrollEvent();\n                if (firstCall) {\n                    (isVideo && ayadsVideo) && (ayadsVideo.style.top = maxHeightHeader + \'px\');\n                    sublime.window.addEventListener(\'scroll\', fixSkinOnScrollEvent);\n                    firstCall = false;\n                }\n            }\n        }\n        /**************** ADAPT MARGIN TO OTHERS ELEMENTS ****************/\n        function fixSkinOnScrollEvent(){\n            var y = sublime.window.pageYOffset,\n                newMarginTop;\n     \n            if (y === 0) {\n                newMarginTop = maxHeightHeader;\n            } else if (y > 0 && y < (maxHeightHeader - minHeightHeader)) {\n                newMarginTop = Math.floor(maxHeightHeader - y);\n            } else {\n                newMarginTop = minHeightHeader;\n            }\n     \n            if (isVideo) {\n                (ayadsVideoLayer) && (ayadsVideoLayer.style.transform = \'translate(0, \' + newMarginTop + \'px)\');\n            } else {\n                body.style.cssText = \'background-position:center \' + newMarginTop + \'px !important;\';\n            }\n        }\n        /**************** CHECK IF ELEMENT IS PRESENT ****************/\n        function checkDivPresence(div, callback){\n            myDiv = sublime.window.document.querySelector(div);\n            if (myDiv) {\n                callback(myDiv);\n            } else {\n                top.sublime.timer.setTimeout(function(){\n                    if (i > 30) {\n                        top.sublime.timer.clearTimeout(function() {\n                            checkDivPresence();\n                        });\n                    } else {\n                        checkDivPresence(div, callback);\n                    }\n\n                    i += 1;\n                }, 100);\n            }\n        }\n        /**************** ADAPT MARGIN TO HEADER WITH A DYNAMIC HEIGHT (OPTION) ****************/\n        function getHeightDynamicHeader(headerDyn){\n            maxHeightHeader = headerDyn.offsetHeight;\n            fixSkin();\n        }\n        /**************** LAUNCH FUNCTION ****************/\n        /* USE THIS ONLY IF YOU HAVE TO FORCE THE BILLBOARD HEIGHT */\n        /* sublime.display.addCss(\'.dfp-leaderboard-container {height: \' + sublimeAdTop + \'px !important;}\'); */\n        if (!isVideo){\n            sublime.hook.register(\"dom.ready\", function(){\n                firstCall = true;\n                fixSkin();\n            });\n        } else {\n            sublime.hook.register(\"step.videoContainerAdded\", function(){\n                ayadsVideo = sublime.document.querySelector(\"#ayads-video-container\");\n                ayadsVideoLayer = sublime.document.querySelector(\"#ayads-video-layer\");\n                firstCall = true;\n                fixSkin();\n            });\n        };\n        sublime.hook.register(\"event.cleanUp\", function(){\n            sublime.window.removeEventListener(\'scroll\', fixSkinOnScrollEvent);\n        });\n\n        /* USE THIS IF THE HEADER HAS NOT THE SAME HEIGHT ON DIFFERENT PAGES */\n        /* checkDivPresence(\'header\', getHeightDynamicHeader); */\n    }\n    /**************** LAUNCH GLOBAL FUNCTION ****************/\n    init();\n</script>","use_cls_mobile":1,"mobile_bottom_js":"/* No JS Needed */","mobile_bottom_css":"#sublime-mobile-bottom-container {z-index: 49999 !important;}","use_desktop_integration":1,"use_cls_tablet":1,"tablet_html_cls":"<style>\n    iframe[id^=\"ayads-pull-creative\"], .ayads-write, #gmp-intropage_passback, #gmp-skin {display: none !important;}\n    #ayads-html {z-index: 3 !important;}\n    #ayads-video-layer {margin-top: 0 !important; z-index: 1 !important;}\n    #sublime-background {z-index: 1 !important;}\n    #sublime-day-overlay {z-index: 2 !important;}\n    #sublime-video-image-container {z-index: 5 !important;}\n    #ayads-video-container {margin-top: 0 !important; z-index: 4 !important;}\n    #ayads-video-container.sublime-reminder {top: unset !important;}\n    /* USE THIS ONLY IF YOU HAVE A BILLBOARD TO HIDE */\n    /* .dfp-leaderboard-container {pointer-events: none; opacity: 0;} */\n    body > * {position: relative; z-index: 5; cursor:default;}\n    body {cursor:pointer;}\n    body.sublime-cls #ayads-html .notranslate {display: block!important;}\n    body.sublime-cls #ayads-html .celtra-ad-inline-host{position: sticky!important;}\n    \n</style>\n\n<script>\n    function init(){\n        /* Init variables */\n        var html = sublime.window.document.querySelector(\'html\'),\n            body = sublime.window.document.body,\n            isSafari = navigator.userAgent.indexOf(\'Safari\') != -1 && navigator.userAgent.indexOf(\'Chrome\') == -1,\n            isChrome = navigator.userAgent.indexOf(\'Chrome\') != -1,\n            isMac = navigator.appVersion.indexOf(\"Mac\") != -1,\n            isVideo = !sublime.isEmpty(sublime.creativeAd.videos),\n            bgfix = sublime.creativeAd.fixed,\n            sublimeAdTop = sublime.creativeAd.top,\n            ayadsVideo,\n            ayadsVideoLayer,\n            firstCall,\n            i = 0,\n            /* Edit variables */\n            maxHeightHeader = 0, /* Set the value of the header height when the scroll is 0 */\n            minHeightHeader = 0; /* Set the value of the header height when the scroll is > 0 */\n            sublime.display.addCss(\' #main-container {top: \'+sublimeAdTop +\'px;}\');\n        /**************** ADAPT MARGIN TO HTML AND LAUNCH FUNCTION FOR OTHERS ELEMENTS ****************/\n        function fixSkin(){\n            if ((bgfix && !isVideo) || (!bgfix && isMac && isSafari)  || (!bgfix && isChrome)) {\n                body.style.cssText = \'background-position: center \'+maxHeightHeader+\'px !important;\';\n            }\n            if (bgfix) {\n                fixSkinOnScrollEvent();\n                if (firstCall) {\n                    (isVideo && ayadsVideo) && (ayadsVideo.style.top = maxHeightHeader + \'px\');\n                    sublime.window.addEventListener(\'scroll\', fixSkinOnScrollEvent);\n                    firstCall = false;\n                }\n            }\n        }\n        /**************** ADAPT MARGIN TO OTHERS ELEMENTS ****************/\n        function fixSkinOnScrollEvent(){\n            var y = sublime.window.pageYOffset,\n                newMarginTop;\n     \n            if (y === 0) {\n                newMarginTop = maxHeightHeader;\n            } else if (y > 0 && y < (maxHeightHeader - minHeightHeader)) {\n                newMarginTop = Math.floor(maxHeightHeader - y);\n            } else {\n                newMarginTop = minHeightHeader;\n            }\n     \n            if (isVideo) {\n                (ayadsVideoLayer) && (ayadsVideoLayer.style.transform = \'translate(0, \' + newMarginTop + \'px)\');\n            } else {\n                body.style.cssText = \'background-position:center \' + newMarginTop + \'px !important;\';\n            }\n        }\n        /**************** CHECK IF ELEMENT IS PRESENT ****************/\n        function checkDivPresence(div, callback){\n            myDiv = sublime.window.document.querySelector(div);\n            if (myDiv) {\n                callback(myDiv);\n            } else {\n                top.sublime.timer.setTimeout(function(){\n                    if (i > 30) {\n                        top.sublime.timer.clearTimeout(function() {\n                            checkDivPresence();\n                        });\n                    } else {\n                        checkDivPresence(div, callback);\n                    }\n\n                    i += 1;\n                }, 100);\n            }\n        }\n        /**************** ADAPT MARGIN TO HEADER WITH A DYNAMIC HEIGHT (OPTION) ****************/\n        function getHeightDynamicHeader(headerDyn){\n            maxHeightHeader = headerDyn.offsetHeight;\n            fixSkin();\n        }\n        /**************** LAUNCH FUNCTION ****************/\n        /* USE THIS ONLY IF YOU HAVE TO FORCE THE BILLBOARD HEIGHT */\n        /* sublime.display.addCss(\'.dfp-leaderboard-container {height: \' + sublimeAdTop + \'px !important;}\'); */\n        if (!isVideo){\n            sublime.hook.register(\"dom.ready\", function(){\n                firstCall = true;\n                fixSkin();\n            });\n        } else {\n            sublime.hook.register(\"step.videoContainerAdded\", function(){\n                ayadsVideo = sublime.document.querySelector(\"#ayads-video-container\");\n                ayadsVideoLayer = sublime.document.querySelector(\"#ayads-video-layer\");\n                firstCall = true;\n                fixSkin();\n            });\n        };\n        sublime.hook.register(\"event.cleanUp\", function(){\n            sublime.window.removeEventListener(\'scroll\', fixSkinOnScrollEvent);\n        });\n\n        /* USE THIS IF THE HEADER HAS NOT THE SAME HEIGHT ON DIFFERENT PAGES */\n        /* checkDivPresence(\'header\', getHeightDynamicHeader); */\n    }\n    /**************** LAUNCH GLOBAL FUNCTION ****************/\n    init();\n</script>","tablet_html":"<style>\niframe[id^=\"ayads-pull-creative\"], #main-container + img, #gmpSkinMobileSpacer, #adk_interstitial0 {display: none !important;} \nbody{overflow-x: hidden;}\n\n    \n@media (max-width: 1023px) {\n     html, html:not([amp4ads]) body, body {margin-top: 0px !important;}\n}\n\n@media (min-width: 1024px) {\n     html.i-amphtml-fie:not(.i-amphtml-inabox) > body, html.i-amphtml-singledoc:not(.i-amphtml-inabox) > body, body {position: static !important;}\n}\n\n</style>","tablet_scale":1.04,"tablet_status":0,"novideo":0,"cappings":{"impressions":0,"impressions_mobile":0,"duration":86400},"accepted_placement_types":{"desktop":{"skinz":1},"mobile":{"mskinz":1,"bottom":1,"toproll":1}},"ignore_client_width":false,"html":"<style>\niframe[id^=\"ayads-pull-creative\"], #main-container + img, #gmpSkinMobileSpacer, #adk_interstitial0 {display: none !important;} \nbody{overflow-x: hidden;}\n\n    \n@media (max-width: 1023px) {\n     html, html:not([amp4ads]) body, body {margin-top: 0px !important;}\n}\n\n@media (min-width: 1024px) {\n     html.i-amphtml-fie:not(.i-amphtml-inabox) > body, html.i-amphtml-singledoc:not(.i-amphtml-inabox) > body, body {position: static !important;}\n}\n\n</style>","should_broadcast":{"desktop":true,"mobile":true},"is_adserving":{"desktop":false,"mobile":false},"prebid_enabled":false,"prebid_config":{"appnexus":{"label":"Appnexus","order":1,"activated":true},"improve":{"label":"Improve","order":3,"activated":true}},"prebidjs_global":"pgPrebid"},zoneParamsByDevice:{"desktop":{"id":38932,"isRedirectPreview":false,"isRedirectStandaloneDefault":false,"siteId":23235,"siteUrl":"www.fcinternews.it/#adplay","cappings":{"impressions":0,"impressions_mobile":0,"duration":86400},"mmd":5,"mmm":3,"video":{"autoplay":true,"allowReminder":true},"acceptedCreativeTypes":["desktop-skin-display","desktop-skin-video","desktop-skin-shop"],"html":"<style>\n    iframe[id^=\"ayads-pull-creative\"], .ayads-write, #gmp-intropage_passback, #gmp-skin {display: none !important;}\n    #ayads-html {z-index: 3 !important;}\n    #ayads-video-layer {margin-top: 0 !important; z-index: 1 !important;}\n    #sublime-background {z-index: 1 !important;}\n    #sublime-day-overlay {z-index: 2 !important;}\n    #sublime-video-image-container {z-index: 5 !important;}\n    #ayads-video-container {margin-top: 0 !important; z-index: 4 !important;}\n    #ayads-video-container.sublime-reminder {top: unset !important;}\n    /* USE THIS ONLY IF YOU HAVE A BILLBOARD TO HIDE */\n    /* .dfp-leaderboard-container {pointer-events: none; opacity: 0;} */\n    body > * {position: relative; z-index: 5; cursor:default;}\n    body {cursor:pointer;}\n    body.sublime-cls #ayads-html .notranslate {display: block!important;}\n    body.sublime-cls #ayads-html .celtra-ad-inline-host{position: sticky!important;}\n    \n</style>\n\n<script>\n    function init(){\n        /* Init variables */\n        var html = sublime.window.document.querySelector(\'html\'),\n            body = sublime.window.document.body,\n            isSafari = navigator.userAgent.indexOf(\'Safari\') != -1 && navigator.userAgent.indexOf(\'Chrome\') == -1,\n            isChrome = navigator.userAgent.indexOf(\'Chrome\') != -1,\n            isMac = navigator.appVersion.indexOf(\"Mac\") != -1,\n            isVideo = !sublime.isEmpty(sublime.creativeAd.videos),\n            bgfix = sublime.creativeAd.fixed,\n            sublimeAdTop = sublime.creativeAd.top,\n            ayadsVideo,\n            ayadsVideoLayer,\n            firstCall,\n            i = 0,\n            /* Edit variables */\n            maxHeightHeader = 0, /* Set the value of the header height when the scroll is 0 */\n            minHeightHeader = 0; /* Set the value of the header height when the scroll is > 0 */\n            sublime.display.addCss(\' #main-container {top: \'+sublimeAdTop +\'px;}\');\n        /**************** ADAPT MARGIN TO HTML AND LAUNCH FUNCTION FOR OTHERS ELEMENTS ****************/\n        function fixSkin(){\n            if ((bgfix && !isVideo) || (!bgfix && isMac && isSafari)  || (!bgfix && isChrome)) {\n                body.style.cssText = \'background-position: center \'+maxHeightHeader+\'px !important;\';\n            }\n            if (bgfix) {\n                fixSkinOnScrollEvent();\n                if (firstCall) {\n                    (isVideo && ayadsVideo) && (ayadsVideo.style.top = maxHeightHeader + \'px\');\n                    sublime.window.addEventListener(\'scroll\', fixSkinOnScrollEvent);\n                    firstCall = false;\n                }\n            }\n        }\n        /**************** ADAPT MARGIN TO OTHERS ELEMENTS ****************/\n        function fixSkinOnScrollEvent(){\n            var y = sublime.window.pageYOffset,\n                newMarginTop;\n     \n            if (y === 0) {\n                newMarginTop = maxHeightHeader;\n            } else if (y > 0 && y < (maxHeightHeader - minHeightHeader)) {\n                newMarginTop = Math.floor(maxHeightHeader - y);\n            } else {\n                newMarginTop = minHeightHeader;\n            }\n     \n            if (isVideo) {\n                (ayadsVideoLayer) && (ayadsVideoLayer.style.transform = \'translate(0, \' + newMarginTop + \'px)\');\n            } else {\n                body.style.cssText = \'background-position:center \' + newMarginTop + \'px !important;\';\n            }\n        }\n        /**************** CHECK IF ELEMENT IS PRESENT ****************/\n        function checkDivPresence(div, callback){\n            myDiv = sublime.window.document.querySelector(div);\n            if (myDiv) {\n                callback(myDiv);\n            } else {\n                top.sublime.timer.setTimeout(function(){\n                    if (i > 30) {\n                        top.sublime.timer.clearTimeout(function() {\n                            checkDivPresence();\n                        });\n                    } else {\n                        checkDivPresence(div, callback);\n                    }\n\n                    i += 1;\n                }, 100);\n            }\n        }\n        /**************** ADAPT MARGIN TO HEADER WITH A DYNAMIC HEIGHT (OPTION) ****************/\n        function getHeightDynamicHeader(headerDyn){\n            maxHeightHeader = headerDyn.offsetHeight;\n            fixSkin();\n        }\n        /**************** LAUNCH FUNCTION ****************/\n        /* USE THIS ONLY IF YOU HAVE TO FORCE THE BILLBOARD HEIGHT */\n        /* sublime.display.addCss(\'.dfp-leaderboard-container {height: \' + sublimeAdTop + \'px !important;}\'); */\n        if (!isVideo){\n            sublime.hook.register(\"dom.ready\", function(){\n                firstCall = true;\n                fixSkin();\n            });\n        } else {\n            sublime.hook.register(\"step.videoContainerAdded\", function(){\n                ayadsVideo = sublime.document.querySelector(\"#ayads-video-container\");\n                ayadsVideoLayer = sublime.document.querySelector(\"#ayads-video-layer\");\n                firstCall = true;\n                fixSkin();\n            });\n        };\n        sublime.hook.register(\"event.cleanUp\", function(){\n            sublime.window.removeEventListener(\'scroll\', fixSkinOnScrollEvent);\n        });\n\n        /* USE THIS IF THE HEADER HAS NOT THE SAME HEIGHT ON DIFFERENT PAGES */\n        /* checkDivPresence(\'header\', getHeightDynamicHeader); */\n    }\n    /**************** LAUNCH GLOBAL FUNCTION ****************/\n    init();\n</script>","mskinzConfig":{"footer_fixed":true},"optimizeCLS":true,"scale":1.04},"tablet":{"id":38932,"isRedirectPreview":false,"isRedirectStandaloneDefault":false,"siteId":23235,"siteUrl":"www.fcinternews.it/#adplay","cappings":{"impressions":0,"impressions_mobile":0,"duration":86400},"mmd":5,"mmm":3,"video":{"autoplay":true,"allowReminder":true},"acceptedCreativeTypes":["desktop-skin-display","desktop-skin-video","desktop-skin-shop"],"html":"<style>\n    iframe[id^=\"ayads-pull-creative\"], .ayads-write, #gmp-intropage_passback, #gmp-skin {display: none !important;}\n    #ayads-html {z-index: 3 !important;}\n    #ayads-video-layer {margin-top: 0 !important; z-index: 1 !important;}\n    #sublime-background {z-index: 1 !important;}\n    #sublime-day-overlay {z-index: 2 !important;}\n    #sublime-video-image-container {z-index: 5 !important;}\n    #ayads-video-container {margin-top: 0 !important; z-index: 4 !important;}\n    #ayads-video-container.sublime-reminder {top: unset !important;}\n    /* USE THIS ONLY IF YOU HAVE A BILLBOARD TO HIDE */\n    /* .dfp-leaderboard-container {pointer-events: none; opacity: 0;} */\n    body > * {position: relative; z-index: 5; cursor:default;}\n    body {cursor:pointer;}\n    body.sublime-cls #ayads-html .notranslate {display: block!important;}\n    body.sublime-cls #ayads-html .celtra-ad-inline-host{position: sticky!important;}\n    \n</style>\n\n<script>\n    function init(){\n        /* Init variables */\n        var html = sublime.window.document.querySelector(\'html\'),\n            body = sublime.window.document.body,\n            isSafari = navigator.userAgent.indexOf(\'Safari\') != -1 && navigator.userAgent.indexOf(\'Chrome\') == -1,\n            isChrome = navigator.userAgent.indexOf(\'Chrome\') != -1,\n            isMac = navigator.appVersion.indexOf(\"Mac\") != -1,\n            isVideo = !sublime.isEmpty(sublime.creativeAd.videos),\n            bgfix = sublime.creativeAd.fixed,\n            sublimeAdTop = sublime.creativeAd.top,\n            ayadsVideo,\n            ayadsVideoLayer,\n            firstCall,\n            i = 0,\n            /* Edit variables */\n            maxHeightHeader = 0, /* Set the value of the header height when the scroll is 0 */\n            minHeightHeader = 0; /* Set the value of the header height when the scroll is > 0 */\n            sublime.display.addCss(\' #main-container {top: \'+sublimeAdTop +\'px;}\');\n        /**************** ADAPT MARGIN TO HTML AND LAUNCH FUNCTION FOR OTHERS ELEMENTS ****************/\n        function fixSkin(){\n            if ((bgfix && !isVideo) || (!bgfix && isMac && isSafari)  || (!bgfix && isChrome)) {\n                body.style.cssText = \'background-position: center \'+maxHeightHeader+\'px !important;\';\n            }\n            if (bgfix) {\n                fixSkinOnScrollEvent();\n                if (firstCall) {\n                    (isVideo && ayadsVideo) && (ayadsVideo.style.top = maxHeightHeader + \'px\');\n                    sublime.window.addEventListener(\'scroll\', fixSkinOnScrollEvent);\n                    firstCall = false;\n                }\n            }\n        }\n        /**************** ADAPT MARGIN TO OTHERS ELEMENTS ****************/\n        function fixSkinOnScrollEvent(){\n            var y = sublime.window.pageYOffset,\n                newMarginTop;\n     \n            if (y === 0) {\n                newMarginTop = maxHeightHeader;\n            } else if (y > 0 && y < (maxHeightHeader - minHeightHeader)) {\n                newMarginTop = Math.floor(maxHeightHeader - y);\n            } else {\n                newMarginTop = minHeightHeader;\n            }\n     \n            if (isVideo) {\n                (ayadsVideoLayer) && (ayadsVideoLayer.style.transform = \'translate(0, \' + newMarginTop + \'px)\');\n            } else {\n                body.style.cssText = \'background-position:center \' + newMarginTop + \'px !important;\';\n            }\n        }\n        /**************** CHECK IF ELEMENT IS PRESENT ****************/\n        function checkDivPresence(div, callback){\n            myDiv = sublime.window.document.querySelector(div);\n            if (myDiv) {\n                callback(myDiv);\n            } else {\n                top.sublime.timer.setTimeout(function(){\n                    if (i > 30) {\n                        top.sublime.timer.clearTimeout(function() {\n                            checkDivPresence();\n                        });\n                    } else {\n                        checkDivPresence(div, callback);\n                    }\n\n                    i += 1;\n                }, 100);\n            }\n        }\n        /**************** ADAPT MARGIN TO HEADER WITH A DYNAMIC HEIGHT (OPTION) ****************/\n        function getHeightDynamicHeader(headerDyn){\n            maxHeightHeader = headerDyn.offsetHeight;\n            fixSkin();\n        }\n        /**************** LAUNCH FUNCTION ****************/\n        /* USE THIS ONLY IF YOU HAVE TO FORCE THE BILLBOARD HEIGHT */\n        /* sublime.display.addCss(\'.dfp-leaderboard-container {height: \' + sublimeAdTop + \'px !important;}\'); */\n        if (!isVideo){\n            sublime.hook.register(\"dom.ready\", function(){\n                firstCall = true;\n                fixSkin();\n            });\n        } else {\n            sublime.hook.register(\"step.videoContainerAdded\", function(){\n                ayadsVideo = sublime.document.querySelector(\"#ayads-video-container\");\n                ayadsVideoLayer = sublime.document.querySelector(\"#ayads-video-layer\");\n                firstCall = true;\n                fixSkin();\n            });\n        };\n        sublime.hook.register(\"event.cleanUp\", function(){\n            sublime.window.removeEventListener(\'scroll\', fixSkinOnScrollEvent);\n        });\n\n        /* USE THIS IF THE HEADER HAS NOT THE SAME HEIGHT ON DIFFERENT PAGES */\n        /* checkDivPresence(\'header\', getHeightDynamicHeader); */\n    }\n    /**************** LAUNCH GLOBAL FUNCTION ****************/\n    init();\n</script>","mskinzConfig":{"footer_fixed":true},"optimizeCLS":true,"scale":1.04},"mobile":{"id":38932,"isRedirectPreview":false,"isRedirectStandaloneDefault":false,"siteId":23235,"siteUrl":"www.fcinternews.it/#adplay","cappings":{"impressions":0,"impressions_mobile":0,"duration":86400},"mmd":5,"mmm":3,"video":{"autoplay":true},"acceptedCreativeTypes":["mobile-mskin-display","mobile-mskin-video","mobile-bottom-display","mobile-toproll-display","mobile-toproll-video","mobile-pageskin-display"],"css":"/* mSkin */\n.sublime-cls.sublime-portrait:has(#gmpSkinMobileSpacer):not(.sublime-toproll) > :not(#ayads-html, #sublime-mobile-bottom-container, #webVitalsHolder){transform: translateY(calc(var(--mskin-height) - 100px));}\n.sublime-cls.sublime-portrait:has(#gmpSkinMobileSpacer):not(.sublime-toproll) #sublime-mobile-bottom-container {  transform: translate3d(0px, calc(var(--mskin-height) - 100px), 0px)!important;}\n\n.sublime-portrait.sublime-cls:not(.sublime-toproll) .adsbygoogle[style*=\"position: fixed\"], [id*=\"outstream-wrapper\"], #dxFlag, #gmp-vip,#gmp-VIP, #adkLabel, .sublime-portrait.sublime-cls:not(.sublime-toproll) > [style*=\"position: fixed\"], #gmp-intropage_passback, .rtbuzz_interstitial_container, #gmp-intext_vip_mobile, #webVitalsHolder, .sublime-cls.sublime-toproll .adsbygoogle[style*=\"position: fixed\"]{transform: none!important;}\n.sublime-portrait.sublime-cls:not(.sublime-toproll) {padding: 0!important; overflow-x: hidden;} \nhtml:has(.sublime-cls) {overflow-x: hidden;}\n.gmp-skinmob-container{opacity:0; pointer-events:none;top: 0 !important; transform: none!important;}\n\n/* TopRoll */\n.sublime-toproll.sublime-cls:has(.gmp-skinmob-spacer, #gmpSkinMobileSpacer) > :not(#ayads-html, #sublime-container, #webVitalsHolder) {transform: translateY(calc(var(--toproll-height) - 100px));}\n.sublime-toproll.sublime-cls {padding: 0!important; overflow-x: hidden;}  ","js":"function initMobile() {\n    var body = top.document.body;\n    var sublimeAdTop, sublimeTopRollWrapper, sublimePageSkin;\n    if (sublime.creativeAd.mobile_setup) {\n      var isVideo = sublime.creativeAd.mobile_setup.top.video;\n    }\n\nfunction init() {\n    sublimeAdTop = top.window.document.querySelector(\'#sublime-mobile-top-container\');\n    sublimeTopRollWrapper = top.document.querySelector(\'#sublime-video-wrapper\');\n    sublimePageSkin = top.document.querySelector(\".sublime--mobile-pageskin-display #ayads-html\");\n    \n    sublime.display.addCss(\".sublime-cls {--toproll-height: \"+top.window.innerHeight+\"px;}\");\n    if ((sublimeAdTop && sublimeAdTop.offsetHeight > 0) || sublimeTopRollWrapper || sublimePageSkin) {\n        /* For Mskin format */\n        //(sublimeAdTop && sublimeAdTop.offsetHeight > 0) && (body.style.paddingTop = (sublimeAdTop.offsetHeight + 75) + \"px\"); /* Edit the number according to the height of the header */\n        //(sublimePageSkin) && (body.style.marginTop = (sublime.creativeAd.top + 75) + \"px\");\n        \n        \n       // sublime.display.addCss(\".sublime-cls.sublime-portrait:has(#gmpSkinMobileSpacer):not(.sublime-toproll) > :not(#ayads-html, #sublime-mobile-bottom-container, #webVitalsHolder){transform: translateY(calc(\"+sublimeAdTop.offsetHeight+\"px - 100px));}\\n//.sublime-cls.sublime-portrait:has(#gmpSkinMobileSpacer):not(.sublime-toproll) #sublime-mobile-bottom-container {  transform: translate3d(0px, calc(\"+sublimeAdTop.offsetHeight+\"px - 100px), 0px)!important;}\");\n\n        sublime.display.addCss(\".sublime-cls {--mskin-height: \"+sublimeAdTop.offsetHeight+\"px;}\");\n        \n        /* USE THIS ONLY IF TOPROLL EXPAND WHEN YOU CLOSE THE MENU/SEARCH PANEL */\n        /*if (sublimeTopRollWrapper) {\n          var sublimeButton = top.window.document.querySelector(\".td-mobile-close a\");\n          var sublimeButton2 = top.window.document.querySelector(\".td-search-close a\");\n          sublimeButton.addEventListener(\"click\", sublimeToprollChange);\n          sublimeButton2.addEventListener(\"click\", sublimeToprollChange);\n        }*/\n\n        /* USE THIS ONLY IF YOU HAVE TO FORCE THE PADDING-TOP OF THE BODY */\n        /*(sublimeAdTop && sublimeAdTop.offsetHeight > 0) && (sublime.display.addCss(\"body {padding-top: \" + (sublimeAdTop.offsetHeight + 75) + \"px !important;}\"));*/\n        /*(sublimePageSkin) && (sublime.display.addCss(\"body {margin-top: \" + (sublime.creativeAd.top + 75) + \"px !important;}\"));*/\n        \n        /* USE THIS ONLY IF YOU HAVE A DIFFERENT HEADER DEPENDING ON THE SCROLL */\n        /*adaptPosition();\n        top.window.addEventListener(\"scroll\", adaptPosition);*/\n    } else {\n        sublime.timer.setTimeout(function() {\n            init();\n        }, 200);\n    }\n}\n\n/* Force the TopRoll state to \"full\" */\nfunction sublimeToprollChange() {\n    sublime.timer.setTimeout(function() {\n        sublime.setTopRollState(\'full\');\n    }, 300);\n}\n\n/* Adapt the ad to the header */\nfunction adaptPosition() {\n    var navTop = parseInt(top.document.querySelector(\'.td-header-wrap\').style.top);\n        /* Edit this variable according to the site */\n    if (sublime.creativeAd.mobile_setup) {\n        var isSticky = sublime.creativeAd.mobile_setup.top_sticky;\n    }\n\n    if (isSticky || isVideo  || sublimePageSkin) {\n        if (navTop < 0) {\n            (sublimeTopRollWrapper) && (sublimeTopRollWrapper.style.top = 0); \n            (sublimeAdTop) && (sublimeAdTop.style.marginTop = 0);\n            (sublimeTopRollWrapper) && (body.style.paddingTop = \"\");\n            (sublimePageSkin ) && (sublimePageSkin.style.top = 0);\n        } else {\n            (sublimeTopRollWrapper) && (sublimeTopRollWrapper.style.top = \"\"); \n            (sublimeAdTop) && (sublimeAdTop.style.marginTop = \"\");\n            (sublimeTopRollWrapper) && (body.style.paddingTop = \"\");\n            (sublimePageSkin) && (sublimePageSkin.style.top = \"\");\n        }\n    }\n}\n\n/* Detect if the element we need is present */\nfunction checkDivPresence(div, callback) {\n    var myDiv = top.document.querySelectorAll(div)[0];\n    if (myDiv) {\n        callback();\n    } else {\n        sublime.timer.setTimeout(function() {\n            checkDivPresence(div, callback);\n        }, 100);\n    }\n}\n\nif (sublime.creativeAd.mobile_setup &&  isVideo) {\n    /* launch the functions if there is a video */\n    sublime.hook.register(\'step.video.quartile0\', function() {\n        checkDivPresence(\'#sublime-mobile-top-container\', init);\n        checkDivPresence(\'#sublime-container\', init);\n    });\n} else {\n    sublime.hook.register(\'step.impression.sec1\', function() {\n        checkDivPresence(\'#sublime-mobile-top-container\', init);\n        checkDivPresence(\'.sublime--mobile-pageskin-display #ayads-html\', init);\n    });\n}\n\n/* Remove all changes if the sublime.cleanUp() is executed */\nsublime.hook.register(\'event.cleanUp\', function() {\n    body.style.paddingTop = \"\";\n    /* UNCOMMENT IF SUBLIMETOPROLLCHANGE IS USED */\n    /*if (sublimeTopRollWrapper) {\n          var sublimeButton = top.window.document.querySelector(\".td-mobile-close a\");\n          var sublimeButton2 = top.window.document.querySelector(\".td-search-close a\");\n          sublimeButton.removeEventListener(\"click\", sublimeToprollChange);\n          sublimeButton2.removeEventListener(\"click\", sublimeToprollChange);\n    }*/\n    /* UNCOMMENT ADAPTPOSITION IF USED */\n    /*top.window.removeEventListener(\"scroll\", adaptPosition);*/\n});\n}\n\nsublime.hook.register(\'step.impression.after\', initMobile);","mskinzConfig":{"footer_fixed":true},"bottom_css":"#sublime-mobile-bottom-container {z-index: 49999 !important;}","bottom_js":"/* No JS Needed */","optimizeCLS":true,"scale":1}},sspRequestBaseKeywords:{"iab":[]},sspRequestExtraKeywords:{"mobile":{"bottom-m":300,"toproll-m":300,"skinz-m":300,"infeed-m":300},"desktop":{"skinz-d":300}},apnReservePriceDesktopUSD:4.38,apnReservePriceMobileUSD:4.38,improveReservePriceMobile:2.999,improveReservePriceDesktop:2.999,improveReserveCurrencyDesktop:"EUR",improveReserveCurrencyMobile:"EUR",xhrWithCredentials:true,browsingTopics:{"delay":{"pb":100,"wf":500}},moatScriptDisplay:"https://z.moatads.com/sublimeskinz337986118618/moatad.js",moatScriptVideo:"https://z.moatads.com/sublimeskinzjsvidint156314443957/moatvideo.js",dar:{"enabled":false},validCmpsIds:[2,3,5,6,7,9,10,14,18,21,23,25,27,28,30,31,35,38,44,45,46,47,50,54,58,59,61,63,65,68,69,72,76,77,79,84,90,92,96,104,105,112,113,123,125,129,134,141,162,165,167,168,170,171,181,183,185,193,198,200,212,213,217,218,221,222,224,225,227,229,231,235,236,237,242,246,247,252,258,259,260,264,273,277,279,280,282,284,287,291,292,294,297,299,300,302,303,304,305,306,307,308,309,310,311,312,316,318,319,321,322,323,327,329,330,332,335,338,339,340,341,343,345,348,350,351,352,353,354,355,358,359,360,361,363,364,367,369,371,372,373,374,376,378,379,380,382,383,384,385,386,387,388,390,391,392,393,396,397,399,401,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,317,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449]};Object.assign(i,{zoneUseCLSDesktop:i.zone.use_cls_desktop,zoneUseCLSMobile:i.zone.use_cls_mobile}),e.exports=function(e){return e in t?t[e]:e in i?i[e]:void console.error("Env "+e+" is not defined")}},5974:(e,t,i)=>{const{isObject:n}=i(7710),{store:o}=i(5584),r=i(8983),{deepCopy:a}=i(562),s=["rmAzerionExternalData","sublimeExternalData"];e.exports={PROPERTY_NAMES:s,grabFrom:function(e){s.some((t=>!!n(e[t])&&(o.updateState((i=>r(i,{creative:{externalData:a(e[t])}}))),!0)))}}},1946:(e,t,i)=>{const n=i(7322),{getProperty:o}=i(562);e.exports=function(e){const t=n("featureFlipping")||{};return o(t,e,!1)}},4408:e=>{e.exports={SOURCE_DEFAULT:0,SOURCE_CMP:1,SOURCE_GEO:2,SOURCE_INJECTED:3,SOURCE_SSP:4}},2771:(e,t,i)=>{const n=i(9259),o=i(8983),r=i(2843),{isDefined:a,isEmpty:s,isFunction:l,pInt:d}=i(7710),c=i(7322),{xhr:p}=i(3203),u=i(6104),m=i(7980),b=i(646),{store:f}=i(5584),{SOURCE_DEFAULT:g,SOURCE_CMP:h,SOURCE_GEO:v,SOURCE_INJECTED:y}=i(4408),{highestAccessibleWindow:w}=i(8841),A=i(2621),{deepCopy:E}=i(562),C={consentsProcessed:!1,injected:{}};n.gdpr&&("injected"in n.gdpr&&(C.injected=E(n.gdpr.injected)),"consentsProcessed"in n.gdpr&&(C.consentsProcessed=Boolean(n.gdpr.consentsProcessed),f.updateState(N,{consentsProcessed:C.consentsProcessed})));const S=["1","2","3","4","7","9","10"];let x=!0,k=null;const _={sublime:{id:114,consent:!1},smartadserver:{id:45,consent:!1},improve:{id:253,consent:!1},appnexus:{id:32,consent:!1},rubicon:{id:52,consent:!1},criteo:{id:91,consent:!1},google:{id:755,consent:!1}};let T=!1,P=!1,I=g;const D=c("zone").cmp_wait_timeout;C.tcfVersion=null;const R=function(e){return T=!!e,f.updateState(N,{cmpExists:T}),r.info("GDPR: isFramework present ?",e),C.framework=e.framework,k?Promise.resolve():C.framework.getConsentData().catch((function(e){return e.tcfVersion&&(C.tcfVersion=e.tcfVersion,f.updateState(N,{tcfVersion:e.tcfVersion})),Promise.reject(e)})).then((function(e){C.tcfVersion=e.tcfVersion,k=e.consentString,consentStringVersion=e.consentStringVersion,x=e.gdprApplies,I=h,P=!0,f.updateState(N,{...e,gdprAppliesSource:h,cmpReady:!0})}))},O=function(e){return r.warn("GDPR: Error in cmp",e),e.message&&r.warn(e.message),e.executeGeoloc?(r.info("GDPR: cmp consent fallback via geoloc",e),(r.info("GDPR: call geoloc endpoint..."),new Promise((function(e){const t=u.get("is_eea");if(null!==t)return x=t,I=v,f.updateState(N,{gdprApplies:t,gdprAppliesSource:v}),r.info("GDPR: geoloc endpoint caching on success, gdpr applies ? "+x),void e();try{p("https://"+c("geoloc_eeu_host"),{timeout:500,async:!0,success:function(t){try{if(""===t)throw new Error("Geoloc response is empty");x=!!d(t),I=v,f.updateState(N,{gdprApplies:x,gdprAppliesSource:I}),u.set("is_eea",x,6048e5),r.info("GDPR: geoloc endpoint on success, gdpr applies ? "+x)}catch(e){r.warn("GDPR: geoloc endpoint response unreadable",{},e)}return e()},error:function(){return r.warn("GDPR: geoloc endpoint on error"),e()},onTimeout:function(){return r.warn("GDPR: geoloc endpoint on timeout"),e()}})}catch(t){r.error("GDPR: geoloc endpoint execution on error",t),A.warn("GDPR: geoloc endpoint execution on error",{},t),e()}}))).then((function(){Object.keys(_).forEach((function(e){_[e].consent=!x})),f.updateState(N,{sspConsents:_})}))):Promise.resolve()},L=function(){const e=[];return r.info("GDPR: processConsents"),Object.keys(_).forEach((function(t){e.push(_[t].id)})),C.framework.getVendorConsents(e).then((function(e){Object.keys(_).forEach((function(t){const i=_[t].id,n=a(e.vendors[i]);let o=e.purposes[1];C.framework===b&&i===_.sublime.id&&(o=S.every((function(t){return e.purposes[t]}))),_[t].consent=!!(k&&n&&o)&&e.vendors[i]})),f.updateState(N,{sspConsents:_}),C.consentsProcessed=!0}))},z=function(){const e={consentString:k,isActive:x};return r.info("GDPR: process end",e),e};function N(e,t){return o(e,{gdpr:t})}C.run=function(){return r.info("GDPR: run"),C.consentsProcessed?(r.info("GDPR: already have consents, no work needed"),Promise.resolve({consentString:k,isActive:x})):(s(C.injected)||(r.info("GDPR: consent injected..."),k=C.injected.consentString,x=C.injected.gdprApplies,I=y,T=!0,P=!0,f.updateState(N,{consentString:k,gdprApplies:x,gdprAppliesSource:I,cmpExists:T,cmpReady:P})),(r.info("GDPR: wait for cmp framework..."),new Promise((function(e,t){let i=Math.ceil(D/20);!function n(){const o=l(w.__tcfapi)?b:null;o?e({framework:o}):0!==i?(i-=1,m.setTimeout(n,20)):t({executeGeoloc:!0})}()}))).then(R).then(L).catch(O).then(z).catch((e=>(r.error("GDPR error: ",e),A.warn("GDPR error: ",{},e),Promise.resolve()))))},C.injected.gdprApplies?(x=C.injected.gdprApplies,I=y):c("gdprApplies")&&null!==u.get("is_eea")&&(x=u.get("is_eea"),I=v),"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.gdpr=C),e.exports=C},9334:(e,t,i)=>{const{store:n}=i(5584),{hasProperty:o}=i(562),{SOURCE_DEFAULT:r}=i(4408),{isDefined:a}=i(7710),s={getTcfVersion:()=>(n.getState().gdpr||{}).tcfVersion||null,cmpExists:()=>(n.getState().gdpr||{}).cmpExists||!1,cmpIsReady:()=>(n.getState().gdpr||{}).cmpReady||!1,cmpHasAnswered(){return this.cmpExists()&&this.cmpIsReady()},getConsentString:()=>(n.getState().gdpr||{}).consentString||null,getConsentStringVersion:()=>(n.getState().gdpr||{}).consentStringVersion||null,getSublimeConsent(){return this.getVendorConsent("sublime")},getVendorConsent(e){const t=n.getState().gdpr||{};return!!o(t,`sspConsents.${e}.consent`)&&t.sspConsents[e].consent},isActive(){const e=n.getState().gdpr||{};return!a(e.gdprApplies)||e.gdprApplies},getAppliesSource:()=>(n.getState().gdpr||{}).gdprAppliesSource||r};e.exports=s},646:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),o=i(7322),r=i(2843),a=i(7980),s={CMP_CONSENT_TIMEOUT:o("zone").cmp_consent_timeout,ALLOWED_EVENT_STATUS:["tcloaded","useractioncomplete"],getConsentData:()=>new Promise(((e,t)=>{let i=null;const l=a.setTimeout((()=>{t({message:"GDPR: cmp consent on timeout",executeGeoloc:!0,tcfVersion:i})}),s.CMP_CONSENT_TIMEOUT);function d(e){e&&r.info("GDPR: Successfully removed eventListener")}n.__tcfapi("addEventListener",2,(function(r,c){if(!c)return void t({message:"Unable to have events from tcf provider",executeGeoloc:!0});let p;i=r.tcfPolicyVersion||2,o("validCmpsIds").includes(r.cmpId)?p={tcfVersion:i,cmpId:r.cmpId,consentString:r.tcString,consentStringVersion:r.cmpVersion,gdprApplies:r.gdprApplies}:e({tcfVersion:i,cmpId:r.cmpId,consentString:null,consentStringVersion:null,gdprApplies:!0}),s.ALLOWED_EVENT_STATUS.includes(r.eventStatus)&&r.tcString&&(n.__tcfapi("removeEventListener",2,d,r.listenerId),a.clearTimeout(l),e(p))}))})),getVendorConsents:e=>new Promise(((t,i)=>{n.__tcfapi("getTCData",2,(function(e,n){r.info("GDPR: getTCData",e),n&&e&&void 0!==e.vendor?t({vendors:e.vendor.consents,purposes:e.purpose.consents}):i({message:"GDPR: getTCData data invalid",TCData:e})}),e)}))};e.exports=s},6947:e=>{const t={};function i(e){return"+"===e?62:"/"===e?63:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(e)}t.decode=function(e){let t,n,o,r,a,s="";for(t=0;t<e.length-3;t+=4)n=i(e.charAt(t+0)),o=i(e.charAt(t+1)),r=i(e.charAt(t+2)),a=i(e.charAt(t+3)),s+=String.fromCharCode(n<<2|o>>>4),"="!==e.charAt(t+2)&&(s+=String.fromCharCode(o<<4&240|r>>>2&15)),"="!==e.charAt(t+3)&&(s+=String.fromCharCode(r<<6&192|a));return s=decodeURIComponent(encodeURIComponent(s)),s},e.exports=t},5080:(e,t,i)=>{const n=i(7322);function o(e,t){const i=n("sublime_prefix")+"-style";let o=t.getElementById(i);o||(o=t.createElement("style"),o.type="text/css",o.id=i,t.head.appendChild(o)),o.styleSheet?o.styleSheet.cssText+=e:o.appendChild(t.createTextNode(e))}"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.helpers=window.sublime.helpers||{},window.sublime.helpers.addCss=o),e.exports=o},1703:(e,t,i)=>{const n=i(7322),o=i(8983),{isFunction:r}=i(7710),a=i(9259);function s(e){return`<!doctype html>\n<html lang="">\n    <head></head>\n    <body>${e}</body>\n</html>`}function l(e,t={}){const i={id:"sublime-"+(new Date).getTime().toString(16),iframeAttributes:{},iframeVars:{}},l=o(i,t),d=a.document;let c=1;for(;;){const e=l.id+"-"+c;if(!d.getElementById(e)){l.id=e;break}c+=1}const p=d.createElement("iframe");if(p.id=l.id,p.name=l.id,p.className=n("sublime_prefix")+"-write",p.scrolling="no",p.frameBorder="0",p.hspace="0",p.vspace="0",p.marginwidth="0",p.marginheight="0",p.allowTransparency="true",p.width="1px",p.height="1px",Object.keys(l.iframeAttributes).forEach((function(e){const t=d.createAttribute(e);t.value=l.iframeAttributes[e],p.setAttributeNode(t)})),l.targetElement){const e=l.targetElement;"BODY"===e.tagName?e.appendChild(p):e.parentNode.insertBefore(p,e.nextSibling)}else d.body.appendChild(p);const u=p.contentWindow,m=p.contentDocument;return m.open(),Object.keys(l.iframeVars).forEach((function(e){const t=l.iframeVars[e];r(t)?u[e]=t.bind(u):u[e]=t})),u.sublime=a,m.write(s(e)),m.close(),p}function d(e,t){const i=t.document,n=i.createElement("script");n.type="text/javascript";const o=e.text||e.textContent||e.innerHTML||"";try{n.appendChild(i.createTextNode(o))}catch(e){n.text=o}const r=i.getElementsByTagName("head")[0]||i.documentElement;r.insertBefore(n,r.firstChild),r.removeChild(n)}"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.write=l),e.exports={iframeContentTemplate:s,domWrite:l,domWriteToIframe:function(e,t){let i=e;"string"==typeof e?i=a.document.getElementById(e):e.frameElement&&(i=e.frameElement);const n=i.contentDocument;n.open(),n.write(t),n.close()},domRemoveElement:function(e){return!(!e||null===e.parentNode||(e.parentNode.removeChild(e),0))},domWriteAndEvalScripts:function(e,t,i){const o=i||n("sublime_prefix")+"-waes",r=e,a=r.document;let s=a.getElementById(o);s||(s=a.createElement("div"),s.id=o,a.body.appendChild(s)),s.innerHTML=t;const l=s.getElementsByTagName("script");for(let e=0;e<l.length;e+=1)d(l[e],r)},escapeHTML:function(e){return new window.Option(e).innerHTML}}},8035:(e,t,i)=>{const n=i(8434),o={add:function(e,t,i,r){return n.register("event.cleanUp",e.removeEventListener.bind(e,t,i,r)),e.addEventListener(t,i,r),o}};e.exports=o},8983:e=>{e.exports=function e(){const t=Array.prototype.slice.call(arguments,0);let i;if(Array.isArray(t[0]))i=[];else{if(!t[0]||"object"!=typeof t[0])return t[0];i={}}return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){!Array.isArray(t[n])&&t[n]&&"object"==typeof t[n]&&i[n]&&"object"==typeof i[n]?i[n]=e(i[n],t[n]):i[n]=t[n]}))})),i}},742:(e,t)=>{function i(e){return new Promise((function(t,i){Promise.resolve(e).then(i,t)}))}t.promiseAny=function(e){return i(Promise.all([].concat(e).map(i)))}},7710:e=>{function t(e,t){return void 0!==t&&Object.prototype.toString.call(t)==="[object "+e+"]"}function i(e){return!isNaN(parseFloat(e))&&isFinite(e)}const n=t.bind(null,"String"),o=t.bind(null,"Function"),r=t.bind(null,"Object");e.exports={isDefined:function(e){return null!=e&&"undefined"!==e},isEmpty:function(e){return null==e||(Array.isArray(e)?0===e.length:r(e)?0===Object.keys(e).length:!e)},isFunction:o,isNum:i,isObject:r,isScalar:function(e){return/boolean|number|string/.test(typeof e)},isString:n,pInt:function(e,t){var n=parseInt(e,t||10);return i(n)?n:null},ucFirst:function(e){return String(e).charAt(0).toUpperCase()+String(e).slice(1)}}},2526:(e,t,i)=>{const n=i(8983),{isEmpty:o,isObject:r,isDefined:a}=i(7710);function s(e){let t="";return e.indexOf("?")>-1?t=e.substring(e.indexOf("?")+1):f(e)||(t=e),t?(t.indexOf("#")>-1&&(t=t.substring(0,t.indexOf("#"))),t.replace(/&amp;/g,"&").split("&").reduce((function(e,t){const i=t.split("="),o=i[0],r=i[1]&&decodeURIComponent(i[1]),a={};if(-1===o.indexOf("["))return a[o]=r,n({},e,a);if(0===o.indexOf("["))return n({},e);const s=o.match(/^([a-z0-9]+)\[([a-z-0-9]*)]$/i),l=s[1],d=s[2];return d?(a[l]=e[l]||{},a[l][d]=r):(a[l]=e[l]||[],a[l].push(r)),n({},e,a)}),{})):{}}function l(e){return e?Object.keys(e).map((function(t){const i=e[t];return a(i)?Array.isArray(i)?i.map((function(e){return t+"[]"+(a(e)?"="+encodeURIComponent(e):"")})).join("&"):r(i)?Object.keys(i).map((function(e){const n=i[e];return t+"["+e+"]"+(a(n)?"="+encodeURIComponent(n):"")})).join("&"):t+"="+encodeURIComponent(i):t})).join("&"):""}function d(){if(0===arguments.length)throw new Error("Merge needs arguments");return Array.prototype.slice.call(arguments).reduce((function(e,t){if("string"==typeof t)return n({},e,s(t));if(!r(t))throw new Error("Can't merge non object");return n({},e,t)}),{})}function c(){return l(d.apply(null,arguments))}function p(e){const t=e.match(/^(?:(https?):)?(?:\/\/)?([0-9a-z-._]+)?(\/[^?#]*)?(?:\?([^#]*))?(?:#(.*))?$/i)||[];return{url:e,scheme:t[1]||"",host:t[2]||"",path:t[3]||"",query:t[4]||"",hash:t[5]||""}}function u(e){return(e.scheme?e.scheme+":":"")+"//"+e.host+e.path+(e.query?"?"+e.query:"")+(e.hash?"#"+e.hash:"")}function m(e,t){const i=p(e);return i.scheme=!0===t?"https":!1===t?"http":"",u(i)}function b(e,t){if(!r(t)||o(t))return e;let i,n;return e.indexOf("?")>-1?(i=e.substring(0,e.indexOf("?")),n=c(e,t)):(i=e,n=c("",t)),i+(n?"?"+n:"")}function f(e){return/^((https?:)?\/\/)/.test(String(e))}"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.url={},window.sublime.url.build=u,window.sublime.url.merge=b,window.sublime.url.parse=p,window.sublime.url.setProtocol=m,window.sublime.qs={},window.sublime.qs.build=l,window.sublime.qs.merge=d,window.sublime.qs.parse=s,window.sublime.qs.mergeAndBuild=c),e.exports={isUrl:f,buildUrl:u,mergeUrl:b,parseUrl:p,setUrlProtocol:m,buildUrlQueryString:l,mergeUrlQueryString:d,parseUrlQueryString:s,mergeAndBuildUrlQueryString:c}},562:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o}=i(8841),{isDefined:r}=i(7710),a=i(2843);e.exports={wait:function(e){return new Promise((t=>{window.setTimeout(t,e)}))},deepCopy:function(e){return JSON.parse(JSON.stringify(e))},getScript:function(e,t){return new Promise((function(i,r){let a=n;if(t&&t.sandbox){const e=o.createElement("iframe");e.className="sublime-iframe",e.name="sublime-iframe",e.style.display="none",o.body.appendChild(e),e.contentDocument.open(),e.contentDocument.write("<html><body></body></html>"),e.contentDocument.close(),a=e.contentWindow}const s=o.createElement("script");s.type="application/javascript",s.async=!1,s.addEventListener("load",(function(){i(a)})),s.addEventListener("error",r),s.src=e,a.document.body.appendChild(s)}))},time2secs:function(e){const t=e.toString().split(":");return 3!==t.length?0:3600*parseInt(t[0],10)+60*parseInt(t[1],10)+parseInt(t[2],10)||0},watchProp:function(e,t,i){let n=e[t];Object.defineProperty(e,t,{get:()=>n,set:t=>{n=t,i.call(e,t)},configurable:!0})},hasProperty:function(e,t){if(!r(e))return!1;if("object"!=typeof e||null===e)return!1;const i=String(t).split(".");let n=e;for(let e=0;e<i.length;e+=1){if(!r(n[i[e]]))return!1;n=n[i[e]]}return!0},getProperty:function(e,t,i=void 0){return t.split(".").reduce(((e,t)=>e&&"object"==typeof e&&t in e?e[t]:i),e)},tryParseXml:function(e){try{const t=(new window.DOMParser).parseFromString(e,"text/xml"),i=t.getElementsByTagName("parsererror");if(i.length)throw new Error(i[0].textContent);return t}catch(e){return a.warn("XML parsing error:",e.message),!1}},tryParseJson:function(e){try{return JSON.parse(e)}catch(e){return!1}},isSublimeElement:function(e){if(!e)return!1;const t=/^(ayads|sublime)/;if(t.test(e.id))return!0;for(let i=0;i<e.classList.length;i+=1)if(t.test(e.classList[i]))return!0;return!1}}},9052:e=>{const t={};function i(){return window.document.createElement("video")}t.SUPPORTED_PLAY_TYPES=["video/webm","video/mp4"],t.SUPPORTED_PLAY_TYPE_3GPP=["video/3gpp"],t.BITRATE_REFERENCE=1e3,t.canAutoplay=function(){return new Promise((function(e){let t=i();t.muted=!0,t.setAttribute("muted","muted"),t.setAttribute("playsinline","playsinline"),t.src="data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAAu1tZGF0AAACrQYF//+p3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE1NSByMjkwMSA3ZDBmZjIyIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxOCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTMgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MzoweDExMyBtZT1oZXggc3VibWU9NyBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0xIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MSA4eDhkY3Q9MSBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0tMiB0aHJlYWRzPTMgbG9va2FoZWFkX3RocmVhZHM9MSBzbGljZWRfdGhyZWFkcz0wIG5yPTAgZGVjaW1hdGU9MSBpbnRlcmxhY2VkPTAgYmx1cmF5X2NvbXBhdD0wIGNvbnN0cmFpbmVkX2ludHJhPTAgYmZyYW1lcz0zIGJfcHlyYW1pZD0yIGJfYWRhcHQ9MSBiX2JpYXM9MCBkaXJlY3Q9MSB3ZWlnaHRiPTEgb3Blbl9nb3A9MCB3ZWlnaHRwPTIga2V5aW50PTI1MCBrZXlpbnRfbWluPTEgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD00MCByYz1jcmYgbWJ0cmVlPTEgY3JmPTI4LjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAAwZYiEAD//8m+P5OXfBeLGOfKE3xkODvFZuBflHv/+VwJIta6cbpIo4ABLoKBaYTkTAAAC7m1vb3YAAABsbXZoZAAAAAAAAAAAAAAAAAAAA+gAAAPoAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIYdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAPoAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAACgAAAAWgAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAD6AAAAAAAAQAAAAABkG1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAQAAAAEAAVcQAAAAAAC1oZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAVmlkZW9IYW5kbGVyAAAAATttaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAD7c3RibAAAAJdzdHNkAAAAAAAAAAEAAACHYXZjMQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAACgAFoASAAAAEgAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABj//wAAADFhdmNDAWQACv/hABhnZAAKrNlCjfkhAAADAAEAAAMAAg8SJZYBAAZo6+JLIsAAAAAYc3R0cwAAAAAAAAABAAAAAQAAQAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAC5QAAAAEAAAAUc3RjbwAAAAAAAAABAAAAMAAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTguMTIuMTAw";const n=t.play();void 0!==n?n.then((function(){e(!0),t=null})).catch((function(){e(!1),t=null})):(t=null,e(!1))}))},t.canPlayType=function(e){switch(i().canPlayType(e)){case"probably":return 2;case"maybe":return 1;default:return 0}},e.exports=t},8434:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o}=i(8841),r=i(8983),{isObject:a}=i(7710),s=i(2843),l=i(7980),d={timings:[]},c={},p={};let u=!1,m=!1,b=!1;d.call=function(e,t){if(d.timings.push({namespace:e,time:Date.now()}),p[e]=t,!Object.prototype.hasOwnProperty.call(c,e)||!c[e].length)return s.info('Not registered namespace "'+e+'"'),!1;s.info('Called namespace "'+e+'"');let i=!1;return c[e].forEach((function(e){"object"!=typeof e||"function"!=typeof e.callback||!e.multiple&&e.called||(e.async?l.setTimeout((function(){d.execute(e,t)}),0):d.execute(e,t),e.override&&(i=!0))})),i},d.execute=function(e,t){try{e.callback(t)}catch(t){s.warn("Hook: error namespace "+e.namespace,t)}return e.called=!0,!0},d.register=function(e,t){let i;i=a(e)?e:{namespace:e,callback:t};const n={namespace:e,callback:()=>{},only:!1,override:!1,async:!1,called:!1,multiple:!1,once:!1};if(i.namespace.match(/^event\./)&&(n.multiple=!0),i.once&&(n.multiple=!1),i=r(n,i),0===i.namespace.indexOf("dom.")){const e="dom.ready"===i.namespace&&u,t="dom.interactive"===i.namespace&&m,n="dom.bodyReady"===i.namespace&&b;if(e||n||t)return void i.callback()}i.only?c[i.namespace]=[i]:(Object.prototype.hasOwnProperty.call(c,i.namespace)||(c[i.namespace]=[]),c[i.namespace][0]&&c[i.namespace][0].only?s.warn("Hook: namespace "+i.namespace+" already has only"):(c[i.namespace].push(i),Object.prototype.hasOwnProperty.call(p,i.namespace)&&function(e,t){c[e].forEach((function(i){i.called||d.call(e,t)}))}(i.namespace,p[i.namespace])))},d.unregister=function(e){return Object.prototype.hasOwnProperty.call(c,e)&&(c[e]=[]),!0},function e(){!b&&o.body&&(b=!0,d.call("dom.bodyReady")),b||l.setTimeout(e,42)}();const f=function e(){m||"complete"!==o.readyState&&"interactive"!==o.readyState||(m=!0,d.call("dom.interactive")),m||l.setTimeout(e,42)};f(),o.addEventListener("DOMContentLoaded",f);const g=function e(){(!u&&"complete"===o.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)&&(u=!0,d.call("dom.ready")),u||l.setTimeout(e,42)};g(),o.addEventListener("DOMContentLoaded",g);const h=function(){d.call("step.beforeunload")};n.addEventListener("beforeunload",h),d.register("event.cleanUp",(function(){o.removeEventListener("DOMContentLoaded",f),o.removeEventListener("DOMContentLoaded",g),n.removeEventListener("beforeunload",h)})),"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.hook=d),e.exports=d},2761:e=>{const t={de:{swipeBack:"Wischen Sie zurück",shopDiscover:"Ich entdecke",shopPresent:"Presenteert",enableFullscreen:"Zum Vollbildmodus wechseln",topRollCTA:"Mehr erfahren"},en:{swipeBack:"Swipe back",shopDiscover:"Discover",shopPresent:"Presents",enableFullscreen:"Switch to fullscreen",topRollCTA:"Visit website"},es:{swipeBack:"Swipe para regresar",shopDiscover:"Yo descubro",shopPresent:"Regalos",enableFullscreen:"Cambiar a pantalla completa",topRollCTA:"Infórmate más"},fr:{swipeBack:"Swipe pour revenir",shopDiscover:"Je découvre",shopPresent:"Vous présente",enableFullscreen:"Passer en plein écran",topRollCTA:"Visitez le site"},it:{swipeBack:"Scorri per tornare indietro",shopDiscover:"Mi decovero",shopPresent:"Presenta",enableFullscreen:"Passa a schermo intero",topRollCTA:"Scopri di più"},ja:{topRollCTA:"もっとみる"},ms:{topRollCTA:"Ketahui Lebih Lanjut"},vi:{topRollCTA:"Tìm hiểu thêm"},th:{topRollCTA:"เข้าชมเว็บไซต์"},zh:{topRollCTA:"了解更多"},pt:{topRollCTA:"Saiba mais"}};e.exports=function(e){let i=window.navigator.language;return i=i.split("-")[0],i&&t[i]&&t[i][e]||(i="en"),t[i][e]}},9259:(e,t,i)=>{const n=i(7322),{highestAccessibleWindow:o,isHighestAccessibleWindowTop:r,highestAccessibleDocument:a,isHighestAccessibleProtocolSSL:s}=i(8841),l=Date.now(),d=window,c=o.sublime||{};c.originWindow=d,c.window=o,c.windowIsTop=r,c.document=a,n("forceOriginWindow")&&(c.window=c.originWindow,c.document=c.originWindow.document),c.isSSL=s,o.performance.timeOrigin?c.timeStart=o.performance.timeOrigin:o.performance.timing&&o.performance.timing.navigationStart?c.timeStart=o.performance.timing.navigationStart:c.timeStart&&Number(c.timeStart)>l-3e4?c.timeStart=Number(c.timeStart):c.timeStart=l,c.ivTime=o.performance.now(),c.loadedCount=c.loadedCount+1||1,c.versionId=n("versionId")||"1337",c.srcType=n("srcType")||"U",o.sublime=c,d.sublime=c,e.exports=c},902:(e,t,i)=>{const n=i(9259),o=i(7322),r=i(8983),{isDefined:a}=i(7710),s=i(2843),l=i(9983),d=i(2979);e.exports=function(e){const t=r({},{device:l.type,userAgent:navigator.userAgent,ignoreClientWidth:o("zone").ignore_client_width,maxDeviceWidth:n.window.innerWidth,hasViewportMeta:Boolean(n.document.querySelector("meta[name=viewport]")),forceDevice:Boolean(d.enabled&&a(d.params)&&d.params.forceDevice),isPortrait:n.window.innerHeight>n.window.innerWidth},e);return t.osData=l.os,"desktop"===t.device?(i=t.ignoreClientWidth,c=t.maxDeviceWidth,!l.is.ie&&!l.is(l.SAFARI,l.WINDOWS)&&(!!i||c>1200)):"mobile"===t.device?function(e,t,i,n,o){const r=/\bCrMo\b|CriOS|Chrome|Firefox|Safari|iPhone/i.test(t);let a=function(e){const t=e.name===l.IOS&&e.version>=9,i=e.name===l.ANDROID&&e.version>=4.4,n=t||i;return n||s.warn("OS is not compatible : "+e),n}(n);return i&&(s.warn("Previewing in forced mode with os : ",n),a=!0),r&&a&&e&&o}(t.hasViewportMeta,t.userAgent,t.forceDevice,t.osData,t.isPortrait):(s.info("device is not placeable, got:",t.device),!1);var i,c}},2843:(e,t,i)=>{const n=i(7322),o=i(6104),{elapsedSinceInvocation:r}=i(8991);let a=o.get("logLevel")||10;const s=Object.freeze({log:"#ABABAB",info:"#91DDFB",warn:"#F9A82B",success:"#6BEC7C",error:"#F7470F"}),l=/Version\/([0-9._]+)(?: Mobile.*?)? Safari\//.test(window.navigator.userAgent);function d(e,...t){const i=e in s?e:"log";if("warn"===i&&a<20||"info"===i&&a<30||"log"===i&&a<40)return;const o=40===a?r()+"ms":"",d=n("mode")||"sskz";let c=[];l?(c=["["+d+" - "+i.charAt(0)+" - "+o+"] "],c=c.concat(t),console.groupCollapsed(c.join(" "),t),console.log(t),console.trace(),console.groupEnd()):(c=["%c"+d+"%c"+i.charAt(0)+"%c"+o,"color: #FFFFFF; padding: 1px 3px; border-radius: 3px 0 0 3px; background: #ED7D04;","color: #3E3E40; padding: 1px 3px; background: "+s[i],"color: #292929; padding: 1px 3px; border-radius: 0 3px 3px 0; background: #DEDEDE;"],c=c.concat(t),console.groupCollapsed.apply(console,c),console.trace(),console.groupEnd())}const c={error:d.bind(null,"error"),success:d.bind(null,"success"),warn:d.bind(null,"warn"),info:d.bind(null,"info"),log:d.bind(null,"log")};Object.defineProperty(c,"level",{enumerable:!0,set:function(e){a=Math.min(Math.max(e,10),40)||10,o.set("logLevel",a,36e5)},get:function(){return a}}),"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.log=c.log,window.sublime.info=c.info,window.sublime.warn=c.warn,window.sublime.error=c.error,window.sublime.success=c.success,window.sublime.setLogLevel=function(e){c.level=e},window.sublime.getLogLevel=function(){return c.level}),e.exports=c},72:(e,t,i)=>{const{highestAccessibleUrl:n,topHostname:o}=i(8841),r=i(8983),a=i(2843),s=i(8466),l=i(9334),{store:d}=i(5584),{getProperty:c,hasProperty:p}=i(562),{isEmpty:u,isObject:m}=i(7710);e.exports={macrosReplace:function(e,t={},i={},b={}){if("string"!=typeof e)return a.error('macrosReplace first argument MUST be of "string" type'),"";const f=r({campaign_id:"",click_macro:"",click_url:"",creative_type:"",deal_id:"",id:"",insertion_id:"",originalUrl:"",raid:"",rcid:"",ssp_name:"",type:""},t),g=r({video:{allowReminder:""},id:"",siteId:"",scale:""},i),h=l.getConsentString()||"";let v={"\\[timezone_offset\\]":(new Date).getTimezoneOffset(),"\\[REFERRER_URL\\]":encodeURIComponent(n),"\\[Ref_Url\\]":encodeURIComponent(n),"\\[Random_Number\\]":Date.now(),"\\[timestamp\\]":Date.now(),"\\${CACHEBUSTER}":Date.now(),"\\$\\[CACHEBUSTER\\]":Date.now(),"\\[CACHEBUSTER\\]":Date.now(),"\\${sub:timestamp}":Date.now(),"\\${sub:puid}":s.get("p"),"\\${sub:zone_id}":g.id,"\\${sub:site_id}":g.siteId,"\\${sub:zone_reminder}":g.video.allowReminder,"\\${sub:zone_scale}":g.scale,"\\${sub:domain}":encodeURIComponent(o),"\\${sub:ad_id}":f.raid||f.id,"\\${sub:campaign_id}":f.rcid||f.campaign_id,"\\${sub:ssp}":f.ssp_name,"\\${sub:creative_type}":f.creative_type,"\\${sub:ad_type}":f.type,"\\${sub:deal_id}":f.deal_id,"\\${sub:insertion_id}":f.insertion_id,"\\${CLICK_URL}":f.click_url,"\\${sub:click_url_encoded}":f.click_url?encodeURIComponent(f.click_url):"","\\${sub:landing_page}":f.originalUrl,"\\${sub:landing_page_encoded}":f.originalUrl?encodeURIComponent(f.originalUrl):"","\\${ext:clickmacro}":f.click_macro,"\\${ext:clickmacro_encoded}":f.click_macro?encodeURIComponent(f.click_macro):""};const y=c(f,"redirectData.isDSPValidationPreview",!1);[803,28808,15939,39899].includes(g.id)||y||(v=r(v,{"\\${GDPR}":Number(l.isActive()),"\\${GDPR_CONSENT_\\d+}":h,"\\${GDPR_PD}":1})),!u(b)&&m(b)&&(v=r(v,b)),p(f,"redirectData.impressionId")&&(v["\\${sub:impression_id}"]=f.redirectData.impressionId),p(f,"redirectData.lineitemId")&&(v["\\${sub:lineitem_id}"]=f.redirectData.lineitemId),p(f,"redirectData.networkId")&&(v["\\${sub:network_id}"]=f.redirectData.networkId),p(f,"redirectData.placementId")&&(v["\\${sub:placement_id}"]=f.redirectData.placementId),p(f,"redirectData.creativeSize.width")&&p(f,"redirectData.creativeSize.height")&&(v["\\${sub:creative_size}"]=f.redirectData.creativeSize.width+"x"+f.redirectData.creativeSize.height);const w=d.getState();p(w,"creative.externalData")&&"object"==typeof w.creative.externalData&&Object.keys(w.creative.externalData).forEach((e=>{const t="\\${ext:"+e+"}";t in v||(v[t]=w.creative.externalData[e])}));let A=e;return Object.keys(v).forEach((e=>{A=A.replace(new RegExp(e,"gi"),v[e])})),A}}},961:(module,__unused_webpack_exports,__webpack_require__)=>{const sublime=__webpack_require__(9259),{domRemoveElement,domWrite}=__webpack_require__(1703),merge=__webpack_require__(8983),{isUrl}=__webpack_require__(2526),{isDefined,isObject,isString}=__webpack_require__(7710),log=__webpack_require__(2843),{windowHasRedirect}=__webpack_require__(9911),env=__webpack_require__(7322),hook=__webpack_require__(8434),timer=__webpack_require__(7980),{xhr}=__webpack_require__(3203),sentry=__webpack_require__(2621),responseCodes={OK:"OK",EMPTY_RESPONSE:"EMPTY_RESPONSE",PARSE_ERROR:"PARSE_ERROR",PARSE_TIMEOUT:"PARSE_TIMEOUT",UNKNOWN_ERROR:"UNKNOWN_ERROR"},defaultOutput={adFound:!1,creativeAd:{},responseFound:!1};function query(e,t){xhr(e,merge({async:!0,timeout:2500,onTimeout:()=>{},success:()=>{},error:()=>{}},t))}function write(e,t){sublime.ad=sublime.ad?sublime.ad:{},sublime.ad.response_format="html";const i=merge({},{responseReader:readResponseFromIframe,errorCallback:()=>{},successCallback:()=>{},tryIntervalMs:25,tryRepeat:80},t&&isObject(t)?t:{});if(isString(e)&&/tags\.adzip\.co/.test(e))return void i.errorCallback({message:"Forbidden partner",parseScript_response:responseCodes.PARSE_ERROR});e='<script src="data:application/javascript;ayads.co;charset=utf-8;base64,Ow=="><\/script>'+e,log.info("parseScript.write()",e);const n=domWrite(e,i);let o,r=0,a=timer.setInterval((function(){let t;log.info("parseScript start read response ("+r+"/"+i.tryRepeat+")");try{t=i.responseReader(n.contentWindow)}catch(t){return o="-- could not retrieve iframe content --",n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.body&&n.contentWindow.document.body.innerHTML&&(o=n.contentWindow.document.body.innerHTML),log.error("ParseScript responseReader error",{html:encodeURIComponent(e),iframeHtml:encodeURIComponent(o),ad:sublime.ad||"-empty ad-"},t),sentry.warn("ParseScript responseReader error",{html:encodeURIComponent(e),iframeHtml:encodeURIComponent(o),ad:sublime.ad||"-empty ad-"},t),log.info("parseScript clear interval"),timer.clearInterval(a),a=null,removeIframe(n),void i.errorCallback({message:"responseReader error",parseScript_response:responseCodes.PARSE_ERROR})}if(r+=1,t.responseFound||r>=i.tryRepeat){if(log.info("parseScript clear interval"),timer.clearInterval(a),a=null,t.adFound)return t.creativeAd.response_format=t.creativeAd.response_format||"redirect",void i.successCallback(t.creativeAd,{type:"script",tries:r,result:t});let s=responseCodes.PARSE_TIMEOUT;return t.responseFound&&(s=responseCodes.EMPTY_RESPONSE),hook.call("event.trafficking.parseScript.noCreativeFound",{tries:r,parseScriptResponse:s,result:t,URIencodedHTML:encodeURI(e)}),!t.responseFound&&sublime.ad&&"smartadserver"===sublime.ad.ssp_name&&(o="-- could not retrieve iframe content --",n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.body&&n.contentWindow.document.body.innerHTML&&(o=n.contentWindow.document.body.innerHTML),log.warn("parseScript.write: parse timeout on smartAdServer",{iframeHtml:o,tags:{ssp:"smartadserver"}})),removeIframe(n),i.errorCallback({type:"script",tries:r,parseScript_response:s}),void(Math.random()<.05&&sentry.warn("parseScript: empty response",{tries:r,parseScriptResponse:s,result:t,URIencodedHTML:encodeURI(e)}))}log.log("parseScript end read response")}),i.tryIntervalMs)}function removeIframe(e){if(!e)return!1;let t="parseScript delete iframe";return e.id&&e.id.length>0&&(t+="#"+e.id,e.name&&e.name.length>0&&(t+="[name="+e.name+"]")),log.info(t),log.level<40?domRemoveElement(e):(log.log("parseScript delete iframe < is fake delete"),!0)}const redirectLightRequests={},redirectLightOutputs={};function readResponseFromIframe(e){const t={...defaultOutput};if(!e||!e.document)return t;if(e.azerionOneSkin||e.sublimeRSA||e.azerionCreative||e.azerionCreativeExtended){const i=e.azerionOneSkin||e.sublimeRSA||e.azerionCreative||e.azerionCreativeExtended;return log.info("Identified Redirect StandAlone",i),t.responseFound=!0,t.adFound=!0,t.creativeAd={isRedirectStandAlone:!0},(e.azerionCreative||e.azerionCreativeExtended)&&(t.creativeAd.fireTrackingPixel=!0),t}const i=windowHasRedirect(e);return i?(i.id&&delete i.id,isDefined(i.raid)&&isDefined(i.rtype)&&"light"===i.rtype?(log.info("Identified Redirect light: "+i.raid),redirectLightRequests[i.raid]||(log.info("Requesting redirect"),xhr(env("sublime_url")+"ad/"+i.raid,{jsonp:!0,callbackName:"sublimeCbRedLightAd",success:function(e){var t=e;t.originalUrl=t.url,t.url=i.click_macro+t.url,t.click_macro=i.click_macro,t.isRedirect=!0,t.raid=i.raid,delete t.aid,delete t.id,redirectLightOutputs[i.raid]={responseFound:!0,adFound:!0,creativeAd:t},log.info("Redirect light response received",i.raid,e,redirectLightOutputs[i.raid])},error:function(){redirectLightOutputs[i.raid]={responseFound:!0,adFound:!1},log.warn("Redirect light error",i.raid,redirectLightOutputs[i.raid])}}),redirectLightRequests[i.raid]=!0),redirectLightOutputs[i.raid]?(log.info("Redirect light usable"),redirectLightOutputs[i.raid]):redirectLightRequests[i.raid]?(log.info("Redirect light request pending"),t):(log.warn("Can't find Redirect light",i.raid),t)):(log.info("Compact redirect in use"),t.responseFound=!0,t.adFound=!0,t.creativeAd=i,t)):searchBanner(e)}function searchBanner(iframeWindow){const output={...defaultOutput},defaultCreativeType="desktop-skin-display",imgWithOnclick=iframeWindow.document.querySelector('img[onclick^="window.open"]');if(imgWithOnclick){const e=String(imgWithOnclick.getAttribute("onclick")||""),t=e.match(/^window\.open\('(http.*?)'/),i=t&&t[1];if(i)return Object.assign(output,{adFound:!0,creativeAd:{creative_type:defaultCreativeType,images:{bg:imgWithOnclick.src},originalUrl:i,response_format:"html",type:"skinz",url:i},responseFound:!0})}const linkElement=iframeWindow.document.querySelector("a");if(!linkElement)return log.warn("No link found in response"),output;const imageElement=linkElement.querySelector("img[src^='http'],img[src^='//']");if(!imageElement)return log.warn("No image found in response"),output;if(!linkElement.href.startsWith("j")&&!isUrl(linkElement.href))return output.responseFound=!0,output;const hrefContainsExcludedKeywords=["info.criteo","unicef"].some((e=>linkElement.href.includes(e))),srcContainsExcludedKeywords=["1x1","adchoices"].some((e=>imageElement.src.includes(e)));if(srcContainsExcludedKeywords||hrefContainsExcludedKeywords)return log.warn("Negative response"),output.responseFound=!0,output;let url=linkElement.href;return linkElement.href.startsWith("j")&&(sentry.warn("ParseScript searchBanner(): link with js",{imageElement,linkElement}),hook.register("event.click",(()=>{eval(linkElement.href.replace("javascript:",""))})),url=linkElement.href.match(/\(.*\)/)[0].replace(/[()']/gi,"")),linkElement.onclick&&hook.register("event.click",linkElement.onclick),Object.assign(output,{adFound:!0,creativeAd:{creative_type:defaultCreativeType,images:{bg:imageElement.src},originalUrl:url,response_format:"html",type:"skinz",url},responseFound:!0})}module.exports={query,readResponseFromIframe,removeIframe,searchBanner,write}},1934:(e,t,i)=>{const n=i(7322),o=i(2843),{isEmpty:r}=i(7710),{store:a}=i(5584),{wait:s}=i(562),l=i(8983),d=i(8434),c=i(9334),p=i(6104),u={TAXONOMIES:new Map([[1,600],[2,601],[3,602],[4,603]]),IMPROVE_BROWSING_TOPICS_SRC:"https://hb.360yield.com/privacy-sandbox/topics.html",IMPROVE_BROWSING_TOPICS_ORIGIN:"https://hb.360yield.com",getSerializedTopics:e=>e.reduce(((e,t)=>{const{ext:{segtax:i,segclass:n},segment:o}=t;return e.push(`${i}|${n}|${o.map((e=>e.id))}`),e}),[]).join(";"),getTopicsFromSegment({topics:e,domain:t}){if(r(e))return[];const i=e.filter((({taxonomyVersion:e})=>!!u.TAXONOMIES.has(Number(e))||(o.warn(`Topics: unrecognized taxonomyVersion "${e}"; topic will be ignored`),!1))),n=[];return i.forEach((({taxonomyVersion:e,modelVersion:i,topic:o})=>{const r=Number(e),a=Number(i);n[r]||(n[r]=[]),n[r][a]||(n[r][a]={ext:{segtax:u.TAXONOMIES.get(r),segclass:i},segment:[],...t&&{name:t}}),n[r][a].segment.push({id:o.toString()})})),n.flat()},insertIframe(){const e=window.document.createElement("iframe");return e.style.display="none",e.src=u.IMPROVE_BROWSING_TOPICS_SRC,window.document.body.appendChild(e),e},updateState:e=>(a.updateState((t=>l(t,{call:{topics:e}}))),e),getTopicsPromise:()=>new Promise(((e,t)=>{let i;window.addEventListener("message",(function n({origin:r,data:a}){if(r===u.IMPROVE_BROWSING_TOPICS_ORIGIN&&a)try{const{segment:t}=JSON.parse(a),i=u.getTopicsFromSegment(t);o.info("Topics:",i),u.updateState(i),c.getSublimeConsent()&&p.set("browsingTopics",i,18e5),e(i)}catch(e){o.warn("Topics:",e),t(e)}finally{window.removeEventListener("message",n),i.remove()}}),!1),i=u.insertIframe()})),getTopics:()=>new Promise((e=>{d.register("dom.bodyReady",e)})).then(u.getTopicsPromise),errorHandler:e=>(o.error("Topics error:",e),Promise.resolve(e)),run(){const e=p.get("browsingTopics");if(e)return o.info("Topics from localStorage:",e),u.updateState(e),Promise.resolve(e);if(!("browsingTopics"in window.document)||!window.document.featurePolicy.allowsFeature("browsing-topics"))return o.warn("Topics: API not available/enabled"),Promise.resolve(new Error("browsingTopics unavailable"));const t=n("browsingTopics").delay[n("mode")];return o.info(`Topics: max delay of ${t}ms`),Promise.race([u.getTopics(),s(t).then((()=>new Error("timeout")))]).then(u.updateState).catch(u.errorHandler)}};e.exports=u},3751:(e,t,i)=>{const n=i(9259),o=i(1946),r=i(9334),a=i(6104),s=i(2843);e.exports={incrementCappings:function(e,t,i){o("cookieConsent")&&!r.getSublimeConsent()||["ad","zone"].forEach((n=>{const o="ad"===n?e:t;if(o.cappings&&o.cappings[i]){const e="capping."+n+o.id,t=a.get(e)||{},r=86400,s=o.cappings.duration||r;t[i]?(t[i]+=1,a.set(e,t)):(t[i]=1,a.set(e,t,1e3*s))}}))},isCapped:function(e,t){let i=!1;if(n.previewing)return s.warn("Preview: sublime.adServer.isCapped disabled"),!1;if(n[e]&&n[e].cappings&&n[e].cappings[t]&&n[e].cappings.duration){const o="capping."+e+n[e].id,r=a.get(o);r&&r[t]&&r[t]>=n[e].cappings[t]&&(i=!0)}return i}}},4523:(e,t,i)=>{const{isEmpty:n,isObject:o,isString:r,isNum:a}=i(7710),{getProperty:s}=i(562),l=i(2843),d=i(2621);function c(e){if(!o(e)||n(e))throw new Error(`wrong DSA data ${JSON.stringify(e)}`);const t=s(e,"dsarequired");if(!["0","1","2","3"].includes(String(t)))throw new Error(`wrong DSA "dsarequired" value ${JSON.stringify(t)}`);const i=s(e,"pubrender");if(!["0","1","2"].includes(String(i)))throw new Error(`wrong DSA "pubrender" value ${JSON.stringify(i)}`);const l=s(e,"datatopub");if(!["0","1","2"].includes(String(l)))throw new Error(`wrong DSA "datatopub" value ${JSON.stringify(l)}`);const d=s(e,"transparency"),c=Array.isArray(d)&&d.every((e=>{if(!o(e))return!1;const t=s(e,"domain"),i=s(e,"dsaparams");return r(t)&&t.length&&Array.isArray(i)&&i.length&&i.every(a)}));if(n(d)||!c)throw new Error(`wrong DSA "transparency" value ${JSON.stringify(d)}`)}e.exports={validate:c,getDsa:function(e){if(n(e))return{};try{return c(e),function(e={}){const t=Object.assign({transparency:[]},e,{pubrender:2});return t.dsarequired=Number(t.dsarequired),t.datatopub=Number(t.datatopub),t}(e)}catch(t){return l.error(t),d.warn(t,{publisherDsa:e}),{}}}}},9637:(e,t,i)=>{const n=i(8434),{sendToAntenna:o}=i(1484);e.exports={bindAntennaTrackingToHooks:function(e){Object.keys(e).forEach((t=>{n.register(t,(i=>{e[t].forEach((e=>{o(e(i))}))}))}))},bindExternalTrackingToHooks:function(e){Object.keys(e).forEach((t=>{let i=t;["step.creative.creativeView","step.creative.impression"].includes(t)&&(i="step.impression.before"),["event.creative.click"].includes(t)&&(i="event.click"),n.register(i,(()=>{e[t].forEach((e=>{new window.Image(1,1).src=e}))}))}))}}},2979:(e,t,i)=>{const{highestAccessibleDocument:n,highestAccessibleWindow:o}=i(8841),r=i(7322),{parseUrl:a,parseUrlQueryString:s}=i(2526),l=i(8983),{isEmpty:d,pInt:c}=i(7710),{isUrl:p}=i(2526),u=i(2843),m=i(6104),{xhr:b}=i(3203),{queryVast:f}=i(7604),{getProperty:g}=i(562),{adjustMetaViewport:h}=i(2311),v={params:{},notPreviewParams:{},enabled:!1,enable(){v.enabled=!0,u.level=40},hasParam:(e,t)=>`${r("richmedia_prefix")}-${t}`in e||`${r("sublime_prefix")}-${t}`in e,getParam:(e,t)=>e[`${r("richmedia_prefix")}-${t}`]||e[`${r("sublime_prefix")}-${t}`],init(){let e=m.get("sublime-preview");if(e||(e=a(window.location.toString()).hash,e||(e=a(o.location.toString()).hash)),e){const t=s(e),i=v.getParam(t,"aid")||v.getParam(t,"id"),n=v.hasParam(t,"test"),o=v.getParam(t,"ssp");i?v.params.adId=c(i):n?v.params.testCard=!0:o&&(v.params.ssp=o);const r=v.getParam(t,"vast");p(r)&&(v.params.vastUrl=r,u.info("Preview/VAST:",r));const a=v.getParam(t,"format");a&&("toproll"!==a&&"mskinz"!==a||(v.params.format=a,u.info("Preview/format:",a)));const l=v.getParam(t,"price");l&&(v.params.price=l,u.info("Preview/Prebid price:",v.params.price));const m=v.getParam(t,"sspkw");if(m)try{v.notPreviewParams.sspKeywords=JSON.parse(m),u.info("Previewing with SSP Keywords",v.notPreviewParams.sspKeywords)}catch(e){u.warn(`Error while parsing ayads-sspkw key: ${m}`,e)}["criteoBanner","criteoCampaign","device","forceDevice"].forEach((e=>{e in t&&(v.params[e]=t[e]||!0)})),d(v.params)||v.enable()}},run(e,t){const i=r("zone");if(v.params=l(v.params,this.params),0!==v.params.adId)if(v.params.adId){const t=`${r("sublime_url")}ad/${v.params.adId}/${i.id}`;b(t,{jsonp:!0,success(t){const i=t.ad;p(i.vast_url)?f(t.ad.vast_url,{successCallback(t){const n={isExternal:t.isExternal,response_format:t.response_format,video_duration:t.video_duration,video_resolution:t.video_resolution,videos:t.videos,vpaid:t.vpaid,desktop_setup:t.desktop_setup||{},...t.url&&{url:t.url},...t.originalUrl&&{originalUrl:t.originalUrl}},o=g(t,"videos.top",""),r=g(t,"mobile_setup.top.video","");p(o)?n.mobile_setup={top:{video:o}}:p(r)?n.mobile_setup={top:{video:r}}:n.mobile_setup={};const a=l(i,n);a.video_autoplay=!0,v.formatResponse(e,{ad:a})},errorCallback(e){u.warn("Preview > Error in XHR call to vast_url",e)}}):v.formatResponse(e,t)}})}else if(v.params.testCard){const t=`${r("sublime_url")}ad/0/${i.id}`;b(t,{jsonp:!0,success:v.formatResponse.bind(null,e)})}else if(v.params.ssp){const t=`${r("sublime_url")}ad/ssp/${v.params.ssp}/${i.id}`;b(t,{jsonp:!0,success:v.formatResponse.bind(null,e)})}else v.params.vastUrl&&f(v.params.vastUrl,{successCallback:function(t){t.vpaid&&(delete t.vpaid,t.response_format="vast",t.html=""),t.video_autoplay=!0,v.formatResponse(e,{ad:t})},errorCallback:function(e){u.warn("Preview > Error in XHR call",e)}});else t()},formatResponse(e,t){let i;i=t.ad?t.ad:{id:14,url:"https://cdn.ayads.co/creatives/redirectUrl/index.html",images:{bg:"https://cdn.ayads.co/creatives/redirectUrl/test.jpg"},supported_devices:["desktop"],top:220,type:"skinz",noCookieMatch:!0},"tablet"===v.params.device&&h(t.zone,n),e(t.zone,i)}};e.exports=v},2343:(e,t,i)=>{const{isEmpty:n}=i(7710),{store:o}=i(5584),{hasProperty:r}=i(562),a=i(7322);function s(){return{asi:"sublime.xyz",sid:a("zone").seller_id.toString(),hp:1}}function l(e={}){const t={};return t.complete=e.complete||0,t.ver=e.ver||"1.0",r(e,"ext")&&(t.ext=e.ext),t.nodes=[],r(e,"nodes")&&Array.isArray(e.nodes)?(e.nodes.forEach((e=>{const i={asi:e.asi||"",sid:e.sid||"",hp:e.hp||1};["rid","name","domain","ext"].forEach((t=>{r(e,t)&&(i[t]=e[t])})),t.nodes.push(i)})),t.nodes.push(s()),t):(t.nodes.push(s()),t)}e.exports={getSupplyChain:function(e={}){return n(e)?l({complete:1,ver:"1.0",nodes:[]}):l(e)},getSerializedSupplyChain:function(e){n(e)&&(e=o.getState().call.supplyChain);const{ver:t,complete:i,nodes:r}=e;return r.reduce(((e,t)=>{const{asi:i,sid:n,hp:o,rid:r,name:a,domain:s,ext:l}=t;return`${e}!${[i,n,o,r,a,s,l].filter((e=>void 0!==e))}`}),`${t},${i}`)}}},3214:(e,t,i)=>{const n=i(7322),o=i(2843),r=i(9334),a=i(9259),s=i(6104),{isEmpty:l}=i(7710),{isUrl:d}=i(2526),{xhr:c}=i(3203);i(9911);const{bindExternalTrackingToHooks:p}=i(9637);e.exports={isUserOptout:function(){const e=s.get("dnt");function t(e,t){return!t&&r.getSublimeConsent()&&s.set("dnt",e,18e5),o.log(e?"isOptout":"isNotOptout"),e}return null===e?(c(n("optchk_url"),{async:!0,jsonp:!0,callbackName:"sublimeOptchk",success:t}),!1):t(e,!0)},registerMacros:function(){const e={"step.impression.before":"pixelImpression","event.click":"pixelClick"},t=Object.keys(e).reduce(((t,i)=>{const n=a[e[i]];return l(n)||!d(n)?t:{...t,[i]:[n]}}),{});p(t)}}},1115:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o}=i(8841),r=i(9983),{scrollTo:a,didMutateDOM:s}=i(690);let l=[];!function(){if(!r.is.mobile)return;let e=[];function t(t){const i=window[t];n[t]=function(){const n={ts:performance.now(),fn:t,args:Array.from(arguments),internal:a.inStack,state:"pending"};e.push(n),i.apply(this,arguments),requestAnimationFrame((function(){n.state="done"}))}}t("scroll"),t("scrollTo"),t("scrollBy");let i=!1,d=!1;n.addEventListener("pageshow",(function(e){e.persisted&&(i=!1,d=!1)}));let c=0;function p(e){c=e.touches.length,m(!0)}o.addEventListener("touchstart",(function(e){d=!0,p(e)})),o.addEventListener("touchmove",p),o.addEventListener("touchend",p),o.addEventListener("touchcancel",p);let u=0;function m(e){u&&clearTimeout(u),(u||e)&&(u=setTimeout((function(){u=0}),120))}let b=0;o.addEventListener("scroll",(function(t){const o=!t.isTrusted||e.length>0,r="manual"!==n.history.scrollRestoration&&!d&&!i&&!o;l=[],r&&l.push("asr"),Boolean(u||c>0)&&l.push("touch"),e.filter((function(e){return!e.internal})).length&&l.push("external_call"),e.filter((function(e){return e.internal})).length&&l.push("internal_call"),s.inProgress&&l.push("internal_dom_mutation"),l.length||l.push("unknown"),i=!0,b&&clearTimeout(b),b=setTimeout((function(){b=0,e=[]}),120),m(!1)}))}(),e.exports={getScrollCauses:function(){return l}}},6104:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),o=i(7322);function r(e){try{return JSON.parse(n.localStorage.getItem(e))}catch(e){return null}}const a={config:Object.freeze({ttl:7776e6,prefix:o("sublime_prefix")+"-"}),get:function(e){const t=r(a.config.prefix+e);return t&&t.expire<Date.now()?(a.unset(e),null):t?t.value:null},set:function(e,t,i){const o=a.config.prefix+e,s=r(o)||{};s.value=t,s.expire&&!i||(s.expire=Date.now()+(i||a.config.ttl));try{return n.localStorage.setItem(o,JSON.stringify(s)),!0}catch(e){return!1}},list:function(e){return Object.keys(n.localStorage||{}).map((function(e){return e.replace(new RegExp("^"+a.config.prefix),"")})).filter((function(t){return!(e instanceof RegExp)||e.test(t)})).reduce((function(e,t){return e[t]=a.get(t),e}),{})},unset:function(e){const t=a.config.prefix+e;try{return n.localStorage.removeItem(t),!0}catch(e){return!1}},extend:function(e,t){const i=a.get(e);return!!i&&a.set(e,i,t)}};e.exports=a},6760:(e,t,i)=>{const{hasProperty:n}=i(562),{createMapUpdater:o}=i(5584);e.exports={getCurrentConnector:function(e){let t={};return n(e,"currentConnectorId")&&n(e,"connectors."+e.currentConnectorId)?t=e.connectors[e.currentConnectorId]:n(e,"creative.connectorId")&&n(e,"connectors."+e.creative.connectorId)&&(t=e.connectors[e.creative.connectorId]),t},createConnectorUpdater:function(e,t){return o("connectors",e,t)}}},5584:e=>{function t(e){let t=e;function i(){return{...t}}return{getState:i,updateState:function(e,n){t=e(i(),n)}}}const i=t({connectors:Object.create(null),creative:null});"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.store=i),e.exports={store:i,createStore:t,createMapUpdater:function(e,t,i){return function(n,o){const r=i(o);if(void 0===r)return console.error("Can't update store, with key: "+r),n;const a=n[e]||Object.create(null);return a[r]=t(a[r],o),n[e]=a,n}}}},9498:(e,t,i)=>{const n=i(9334),{isObject:o}=i(7710),{getProperty:r,hasProperty:a}=i(562),s=i(8983),l=i(7322),{store:d}=i(5584),c=i(9358),{getCurrentConnector:p}=i(6760);let u=0;function m(e){const t={};if(a(e,"id")&&(t.a=e.id),a(e,"sspName")&&(t.sspname="sspv3-"+e.sspName,t.isssp=1),a(e,"legacyType")&&(t.at=e.legacyType),a(e,"placementId")&&(t.sspplid=e.placementId,"improve"===e.sspName)){const{placementId:i,publisherId:n}=c({id:e.placementId});t.sspplid=i,t.ni=n}if(a(e,"response")){const i=e.response;a(i,"errorCode")&&(t.sspr=i.errorCode),a(i,"dealId")&&(t.di=i.dealId),a(i,"insertionId")&&(t.ii=i.insertionId),a(i,"monetizationType")&&(t.mt=i.monetizationType),a(i,"creativeWrapper")&&(t.ssprf=i.creativeWrapper),a(i,"videoDuration")&&(t.avd=i.videoDuration),a(i,"sublimeCreativeId")&&(t.ra=i.sublimeCreativeId),a(i,"creativeWrapper")&&"redirect"===i.creativeWrapper&&(t.rv=0),a(i,"responseTime")&&(t.rt=i.responseTime),a(i,"externalCreativeId")&&(t.creaid=i.externalCreativeId),a(i,"vpaid.provider")&&(t.vtpp=i.vpaid.provider)}return t}e.exports={getAntennaQueryParams:function(e,t){let i=e;i||(i=d.getState()),u+=1;const c=p(i),b=s({sqid:u,ver:l("versionId")},{tse:Date.now(),et:Math.round(window.performance.now())},function(e){const t={};return a(e,"id")&&(t.z=e.id),t}(i.zoneParams),m(c),function(e){const t={};return a(e,"creativeWrapper")&&(t.ssprf=e.creativeWrapper,"redirect-standalone"===e.creativeWrapperVersion?t.rv=1:"redirect"===e.creativeWrapper&&(t.rv=0)),a(e,"id")&&(t.ra=e.id),a(e,"legacyType")&&(t.at=e.legacyType),a(e,"placementType")&&(t.pt=e.placementType),a(e,"campaignId")&&(t.rcid=e.campaignId),a(e,"videoDuration")?t.avd=Math.round(e.videoDuration):a(e,"videoDurationBrowser")&&(t.avd=Math.round(e.videoDurationBrowser)),a(e,"creativeSize")&&(t.csize=`${e.creativeSize.width}x${e.creativeSize.height}`),a(e,"creativeSource")&&(t.cs=e.creativeSource),t}(i.creative),function(e){const t=Object.freeze({NO_CMP:0,CMP_NOT_READY:1,CMP_READY:2}),i={};i.gc=Number(n.getSublimeConsent()),n.cmpHasAnswered()?i.gm=t.CMP_READY:n.cmpExists()?i.gm=t.CMP_NOT_READY:i.gm=t.NO_CMP,i.ga=Number(n.isActive()),i.gs=n.getAppliesSource(),e&&(i.gcp=Number(n.getVendorConsent(e)));const o=n.getTcfVersion();return o&&(i.gv=o),i}(c.sspName),function(e){const t={device:(e.deviceType||"").charAt(0),puid:e.id,src:e.mode,suid:e.suid,t:e.initTs,tfz:Math.round(Date.now()-(e.initTs||0))};if("rsa"===e.mode){t.rv=1,t.hta=Number(e.hasTopAccess||0),t.hahn=null,e.highestAccessibleHostname&&(t.hahn=e.highestAccessibleHostname.substring(0,100)),t.thn=null,e.topHostname&&(t.thn=e.topHostname.substring(0,100)),o(e.placementSize)&&(t.psize=`${e.placementSize.width}x${e.placementSize.height}`),e.lineitemId&&(3===e.deliveryTypeId?t.di=e.lineitemId:t.ii=e.lineitemId),e.placementId&&(t.sspplid=e.placementId);const i=r(e,"runsCount",0);i>1&&(t.te=i,r(e,"legitRefresh",!1)||(t.teh=1))}return e.networkId&&(t.ni=e.networkId),t}(i.call),t);return"rsa"===i.call.mode&&a(i,"creative.id")&&(b.a=i.creative.id),Object.keys(b).filter((e=>void 0!==b[e])).sort().reduce(((e,t)=>(e[t]=b[t],e)),{})},getConnectorQueryParams:m}},2446:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),o=i(7980);e.exports={THROTTLE_MIN_DELAY:10,debounce:function(e,t,i){let n;return function(){const r=this,a=arguments,s=i&&!n;o.clearTimeout(n),n=o.setTimeout((function(){n=null,i||e.apply(r,a)}),t),s&&e.apply(r,a)}},throttle:function(e){let t,i,o=0;function r(){t=!1,e.apply(null,i)}return function(){i=arguments;const e=Date.now();t||e-o<10||(o=e,t=!0,n.requestAnimationFrame(r))}}}},7980:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),o=[],r=[],a={setTimeout:function(){const e=n.setTimeout.apply(null,arguments);return o.push(e),e},clearTimeout:function(){return n.clearTimeout.apply(null,arguments)},clearAllTimeouts:function(){for(let e=o.length-1;e>=0;e-=1)n.clearTimeout(o[e])},setInterval:function(){const e=n.setInterval.apply(null,arguments);return r.push(e),e},clearInterval:function(){return n.clearInterval.apply(null,arguments)},clearAllIntervals:function(){for(let e=r.length-1;e>=0;e-=1)n.clearInterval(r[e])}};"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.timer=a),e.exports=a},8991:(e,t,i)=>{const n=i(9259),o=function(){return window.performance.now()},r={},a=function(){return Math.round(Date.now()-(n.timeStart+n.ivTime))};"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.elapsed=o,window.sublime.elapsedSinceInvocation=a),e.exports={elapsed:o,elapsedSinceLastCall:function(e){if(!(e in r))return r[e]=o(),0;const t=o()-r[e];return r[e]+=t,t},elapsedSinceInvocation:a}},1484:(e,t,i)=>{const n=i(7322),o=i(8983),{getProperty:r}=i(562),{mergeUrl:a}=i(2526),{getAntennaQueryParams:s}=i(9498),l=i(2979),d=i(2843),{store:c}=i(5584);e.exports={sendToAntenna:function(e){const t=o(s(),e);c.updateState((e=>{const i={...e};return i.pixels||(i.pixels={}),i.pixels[t.e]=t,i}));const i=r(t,"puid",!1);if(!r(window.sublime?window.sublime:{},`runs.${i}.sendPixel`,!0))return void d.info("Multiple, no pixel sent",{queryParams:t});const p=a(n("antenna_url"),t);l.enabled?d.info("Preview: pixel send to "+p):new window.Image(1,1).src=p}}},8466:e=>{const t={},i={get(e){if(e&&e in t)return t[e];const i="randomUUID"in window.crypto?window.crypto.randomUUID():([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)));return e&&(t[e]=i),i}};e.exports=i},7604:(e,t,i)=>{const{xhr:n}=i(3203),o=i(2983),r=i(1198),a=i(8983),{isObject:s,isNum:l,isString:d,isEmpty:c}=i(7710),p=i(2843),{tryParseXml:u,hasProperty:m,tryParseJson:b}=i(562),f=i(6947),g=i(7322),h={OK:"OK",EMPTY_RESPONSE:"EMPTY_RESPONSE",PARSE_ERROR:"PARSE_ERROR",PARSE_TIMEOUT:"PARSE_TIMEOUT",REQUEST_ERROR:"REQUEST_ERROR",UNKNOWN_ERROR:"UNKNOWN_ERROR"},v=/<VAST version='2\.0'>[\s\r\n]*<\/VAST>/;function y(e,t,i){const o=a({},{timeout:0,errorCallback:()=>{},successCallback:()=>{}},s(t)?t:{}),r={async:!0,timeout:o.timeout,onTimeout(){o.errorCallback({message:"Timeout SSP",parseVast_response:h.PARSE_TIMEOUT})},success(){p.info("Vast Response received",{response:this.response});let t=this.responseXML;if(t||(t=u(this.responseText)),!t)return p.warn("VAST Parse error : Non XML response SSP",{vastUrl:e,options:o}),void o.errorCallback({message:"Non XML response SSP",parseVast_response:h.PARSE_ERROR});if(this.response.match(v))o.errorCallback({message:"Empty response",parseVast_response:h.EMPTY_RESPONSE});else try{w(t,o,0,i)}catch(e){o.errorCallback({error:e,message:"ParseVast error",parseVast_response:h.PARSE_ERROR})}},error(){o.errorCallback({message:"Can't reach SSP",parseVast_response:h.REQUEST_ERROR})}};n(e,r)}function w(e,t,i,n){p.log("Use new VAST parser decodeVastResponse");const a=n||[],s=o(e,p);if(c(s))return void t.errorCallback({message:"Vast is empty",parseVast_response:h.EMPTY_RESPONSE});const l=function(e){for(let t=0;t<e.ads.length;t+=1){const i=e.ads[t],n=(i.creatives||[]).map((e=>(e.mediaFiles||[]).find((e=>"vpaid"===(e.apiFramework||"").toLowerCase())))).filter((e=>e));if(n.length){const e=A(i,n);if(e)return e}}return null}(s);if(l&&(s.ads[0].vastAdTagURI=l),a.push(s),m(s,"ads.0.vastAdTagURI"))return void y(s.ads[0].vastAdTagURI,t,a);p.log("VAST parser, fullDataSet",a);const{ad:d,data:u}=r(a);t.successCallback(d,u)}function A(e,t){const i=E(e.adAttributes.id,e.creatives[0].adParameters,t.map((e=>e.uri)));return l(i)?g("app_host")+"vast/"+i:null}function E(e,t,i){let n;if(n=(e||"").match(/^(?:Sublime|rimbo)-(\d+)$/),n)return n[1];const o=new RegExp("sac.*?.ayads.co.*?/vast/".replace(/[/]/g,"\\/")+'(\\d+)([^\\]"]*)?',"i"),r=/sac.*?.ayads.co.*?%2fvast%2f(\d+)(%3f[^&$]*)?/i;if(n=(t||"").match(o),n)return n[1];if(n=(t||"").match(r),n)return n[1];if(t&&(n=C(t).match(o),n))return n[1];for(let e=0;e<i.length;e+=1){const t=i[e];if(n=t.match(o)||t.match(r),n)return n[1]}return null}function C(e){try{if(!b(e))throw new Error("Can't parse JSON");const t=JSON.parse(e);if(!m(t,"ads.0.rtb.content_b64"))throw new Error("No `content_b64`");const i=t.ads[0].rtb.content_b64;if(!d(i))throw new Error("`content_b64` is not a string");const n=i.split("-");if(!n||!n.length||""===n[0])throw new Error("Unsplitable `content_b64`");return n.reduce(((e,t)=>e+f.decode((t+"-").replace(/\s|\./,""))),"")}catch(t){return p.warn("Error while parsing VPAID with appnexus wrapper:"+t,{encodedContent:e}),""}}e.exports={decodeVastResponse:w,queryVast:y,decodeAppnexusAdParameters:C,extractSublimeCreativeId:E}},2983:e=>{e.exports=function(e,t){let i=e;const n={},o=t||console;if("string"==typeof i&&(i=(new window.DOMParser).parseFromString(i,"text/xml")),!(i instanceof window.Document))return o.warn("Input is not an Document"),n;const r=i.querySelectorAll("VAST > Ad");if(!r.length)return o.warn("No Ad node in vast document"),n;const a=i.querySelector("VAST > Error");a&&a.textContent&&a.textContent.trim()&&(n.error=a.textContent.trim()),n.ads=[];for(let e=0;e<r.length;e+=1){const t=r[e],i={};t.attributes.length&&(i.adAttributes=Array.from(t.attributes).map((e=>[e.name,e.value])).reduce(((e,t)=>(e[t[0]]=t[1],e)),{}));const o=t.querySelector("Wrapper");o&&o.getAttribute("fallbackOnNoAd")&&(i.fallbackOnNoAd=o.getAttribute("fallbackOnNoAd"));const a=t.querySelector("AdSystem");a&&a.textContent&&a.textContent.trim()&&(i.adSystem=Object.assign(Array.from(a.attributes).map((e=>[e.name,e.value])).reduce(((e,t)=>(e[t[0]]=t[1],e)),{}),{adSystem:a.textContent.trim()}));const s=t.querySelector("Wrapper > VASTAdTagURI");s&&s.textContent&&s.textContent.trim()&&(i.vastAdTagURI=s.textContent.trim());const l=t.querySelectorAll("Impression");l.length&&(i.impressions=[],l.forEach((e=>{const t=e.textContent.trim();t.length&&i.impressions.push(t)})));const d=t.querySelector("Wrapper > Error");d&&d.textContent&&d.textContent.trim()&&(i.error=d.textContent.trim());const c=t.querySelector("AdTitle");c&&c.textContent&&c.textContent.trim()&&(i.adTitle=c.textContent.trim());const p=t.querySelector("Description");p&&p.textContent&&p.textContent.trim()&&(i.description=p.textContent.trim());const u=t.querySelector("Error");u&&u.textContent&&u.textContent.trim()&&(i.error=u.textContent.trim());const m=t.querySelectorAll("Creatives > Creative");if(m.length){i.creatives=[];for(let e=0;e<m.length;e+=1){const t=m[e],n={};t.hasAttribute("id")&&(n.id=t.getAttribute("id")),(t.hasAttribute("adId")||t.hasAttribute("AdID"))&&(n.adId=t.getAttribute("adId")||t.getAttribute("AdID")),t.hasAttribute("sequence")&&(n.sequence=t.getAttribute("sequence"));const o=t.querySelectorAll("Companion");if(o.length){n.companions=[];for(let e=0;e<o.length;e+=1){const t=o[e],i=Array.from(t.attributes).map((e=>[e.name,e.value])).reduce(((e,t)=>(e[t[0]]=t[1],e)),{}),r=t.querySelector("StaticResource");r&&(i.staticResource=Array.from(r.attributes).map((e=>[e.name,e.value])).reduce(((e,t)=>(e[t[0]]=t[1],e)),{uri:r.textContent.trim()}));const a=t.querySelector("AdParameters");a&&a.textContent&&a.textContent.trim()&&(i.adParameters=a.textContent.trim()),n.companions.push(i)}}const r=t.querySelector("Linear > AdParameters");r&&r.textContent&&r.textContent.trim()&&(n.adParameters=r.textContent.trim());const a=t.querySelector("UniversalAdId");a&&(n.universalAdId={},a.hasAttribute("idRegistry")&&(n.universalAdId.idRegistry=a.getAttribute("idRegistry")),a.hasAttribute("idValue")&&(n.universalAdId.idValue=a.getAttribute("idValue"))),t.hasAttribute("skipoffset")&&(n.skipoffset=t.getAttribute("skipoffset"));const s=t.querySelector("Duration");s&&s.textContent&&s.textContent.trim()&&(n.duration=s.textContent.trim());const l=t.querySelectorAll("Tracking");if(l.length){n.tracking=[];for(let e=0;e<l.length;e+=1){const t=l[e],i={};t.hasAttribute("event")&&(i.event=t.getAttribute("event"),"progress"===i.event&&t.hasAttribute("offset")&&(i.offset=t.getAttribute("offset")),t.textContent&&t.textContent.trim()&&(i.uri=t.textContent.trim(),n.tracking.push(i)))}}const d=t.querySelector("VideoClicks");if(d){const e=d.querySelector("ClickThrough");e&&e.textContent&&e.textContent.trim()&&(n.clickThrough=e.textContent.trim());const t=d.querySelectorAll("ClickTracking");t.length&&(n.clickTracking=[],t.forEach((e=>{const t=e.textContent.trim();t.length&&n.clickTracking.push(t)})))}const c=t.querySelectorAll("MediaFiles > MediaFile");if(c.length){n.mediaFiles=[];for(let e=0;e<c.length;e+=1){const t=c[e],i={};if(t.hasAttributes()){const e=t.attributes;for(let t=0;t<e.length;t+=1){const n=e[t];switch(n.name){case"width":case"height":case"bitrate":i[n.name]=+n.value;break;default:i[n.name]=n.value}}}t.textContent&&t.textContent.trim()&&(i.uri=t.textContent.trim()),n.mediaFiles.push(i)}}i.creatives.push(n)}}n.ads.push(i);const b=t.querySelector("Extensions > Extension > SmartMacros");if(b){n.smartMacros={};const e=b.querySelector("insertionID");e&&e.textContent&&e.textContent.trim()&&(n.smartMacros.insertionId=e.textContent.trim())}const f=t.querySelector("Extensions > Extension > RtbMacros");if(f){n.rtbMacros={};const e=f.querySelector("BuyerId");e&&e.textContent&&e.textContent.trim()&&(n.rtbMacros.buyerId=e.textContent.trim());const t=f.querySelector("DealId");t&&t.textContent&&t.textContent.trim()&&(n.rtbMacros.dealId=t.textContent.trim())}}return n}},1198:(e,t,i)=>{const{isEmpty:n}=i(7710),{getProperty:o,hasProperty:r,time2secs:a,tryParseJson:s}=i(562),l=i(8983),d=i(7322),c=i(9983),{parseUrl:p,isUrl:u}=i(2526),m=i(6641),b={ad:{creative_type:"",html:"",html_usage:"",images:{bg:""},isExternal:!0,moat:"",originalUrl:"",raid:null,rcid:null,response_format:"vast",sublimeCreativeDetected:!1,supported_devices:["desktop"],type:"video",url:"",video_autoplay:!0,video_duration:null,video_resolution:null,videos:{bg:"",top:""},vpaid:null},childUri:null,hooks:null,tracking:{}},f={reminder:0};e.exports=function(e){const t=Object.assign({},b);let i;return e.forEach((e=>{if(!e.ads||!e.ads.length)return;const g=e.ads[0],h=function(e){const t=(e.creatives||[]).map((e=>(e.mediaFiles||[]).find((e=>"vpaid"===(e.apiFramework||"").toLowerCase()&&e.type.match(/javascript/))))).filter((e=>e));if(t.length){const i=t[0].uri,n={adParameters:null,adSystem:e.adSystem.adSystem.toLowerCase().replace(/\s+/g,"-"),mediaFile:i};e.creatives[0].adParameters&&(n.adParameters=e.creatives[0].adParameters);const o={adledge:/[^.]*.?adledge.com$/i,doubleverify:/vpaid.doubleverify.com$/i,ias:/[^.]*.?adsafeprotected.com$/i,moat:/svastx.moatads.com$/i,googleima:/imasdk.googleapis.com$/i,appnexus:/acdn.adnxs.com$/i,yahoo:/(yahoo\.com|yahoomedia\.net|yimg\.com)$/i},r=p(i).host;return n.provider=Object.keys(o).find((e=>o[e].test(r))),n.provider||(n.provider=r),n}return null}(g);r(g,"adSystem.adSystem")&&g.adSystem.adSystem.match(/sublime|rimbo/i)&&!h?i=function(e){const t=Object.assign({},b.ad),i=e.adAttributes.id;i&&i.match(/^(?:sublime|rimbo)-.*/i)&&(t.raid=i.replace(/^(?:sublime|rimbo)-(.*)$/i,"$1"),t.sublimeCreativeDetected=!0,t.isExternal=!1);const a=o(e,"creatives.1.companions.0.adParameters",null);if(a){const e=s(a);if(e)return l(t,e)}const p=e.adAttributes.sskzCampaignId;p&&(t.rcid=p),"light"===e.adAttributes.sskzType&&(t.childUri=d("app_host")+"/vast/"+t.raid);const g=e.adAttributes.sskzCreativeType;if(g&&(t.creative_type=g),c.is.mobile){if(t.supported_devices=["mobile"],"mobile"===e.adAttributes.sskzDevice){const i=s(e.adAttributes.sskzMobileSetup);i&&(t.mobile_setup=i),i&&(t.mobile_setup=i),t.type="mobile"}}else{t.desktop_setup=Object.assign({},f);const i=e.adAttributes.sskzDesktopSetup;if(i){const n=s(i);t.desktop_setup=n?Object.assign({},f,n):{reminder:0},c.is.desktop&&!t.sublimeCreativeDetected&&(t.desktop_setup.reminder=1);const o=[].concat(...e.creatives.map((({mediaFiles:e})=>e||[]))),r=m(o);r&&(t.videos.top=r.uri)}}const h=parseInt(e.adAttributes.sskzMoat||0,10);h>=1&&(t.moat=h);const v=e.adAttributes.sskzHtmlUsage;v&&(t.html_usage=v),r(e,"creatives.0.mediaFiles.0.uri")&&(t.videos={top:e.creatives[0].mediaFiles[0].uri});const y=e.creatives.filter((e=>e.companions&&e.companions.length));if(y.length){t.html=y.reduce(((e,t)=>e+t.companions.filter((e=>e.adParameters&&e.adParameters.length)).reduce(((e,t)=>e+t.adParameters),"")),"");const e=y.reduce(((e,t)=>e.concat(t.companions.filter((e=>"sublime_img_bg"===e.id)).map((e=>({fixed:Number(e.expandedHeight),top:Number(e.expandedWidth),uri:e.staticResource.uri}))))),[]),i=e.length?e[0]:null,o=y.reduce(((e,t)=>t.companions.filter((e=>"sublime_video_bg"===e.id)).map((e=>e.staticResource.uri))+e),""),a=r(i,"uri")&&u(i.uri);a&&(t.images={bg:i.uri},t.fixed=i.fixed,t.top=i.top),u(o)?t.videos.bg=o:n(t.raid)||a||!r(t,"videos.top")||(t.videos.bg=t.videos.top)}const w=s(e.adAttributes.sskzCreativeSetup);return w?l(t,w):t}(g):(i=function(e){const t=Object.assign({},b.ad),i=[].concat(...(e.creatives||[]).map((({mediaFiles:e})=>e||[])));if(c.is.mobile){t.type="mobile",t.creative_type="mobile-mskin-video-simple",t.supported_devices=["mobile"];const e="https://cdn.ayads.co/mskinz/transparent.png";t.mobile_setup={top:{key:"top",type:"video",video:"",src:e,supportTopParallax:1,autoHideTopDuration:0},bottom:{},panel:{transitionColors:["black","black"]},footer_fixed:1,top_sticky:1}}else t.creative_type="desktop-skin-video",t.fixed=1,t.desktop_setup=Object.assign({},f,{reminder:1});const n=m(i);return n&&(c.is.mobile?t.mobile_setup.top.video=n.uri:t.videos.top=n.uri),t}(g),h&&(i.vpaid=h,i.response_format="vpaid")),r(g,"creatives.0.clickThrough")&&u(g.creatives[0].clickThrough)&&(i.originalUrl=g.creatives[0].clickThrough,i.url=g.creatives[0].clickThrough),r(g,"creatives.0.duration")&&(i.video_duration=a(g.creatives[0].duration)),r(g,"creatives.0.mediaFiles.0.height")&&r(g,"creatives.0.mediaFiles.0.width")&&(i.video_resolution=g.creatives[0].mediaFiles[0].width+"x"+g.creatives[0].mediaFiles[0].height);const v=function(e){const t={};if(!r(e,"smartMacros"))return t;if(t.monetizationType="direct",r(e,"rtbMacros")){r(e,"rtbMacros.buyerId")&&(t.buyerId=e.rtbMacros.buyerId);let i=null;r(e,"rtbMacros.dealId")&&(i=Number(e.rtbMacros.dealId)),i?(t.dealId=Number(e.rtbMacros.dealId),t.monetizationType="deal"):t.monetizationType="open_auction"}return r(e,"smartMacros.insertionId")&&(t.insertion_id=e.smartMacros.insertionId),t}(e);Object.keys(v).length&&(i=Object.assign(t.ad,v)),"vpaid"===t.ad.response_format&&(i.response_format="vpaid",i.vpaid=t.ad.vpaid),t.ad=l(t.ad,i);const y=function(e){const t={},i={creativeView:"step.creative.creativeView",start:"step.video.quartile0",firstQuartile:"step.video.quartile1",midpoint:"step.video.quartile2",thirdQuartile:"step.video.quartile3",complete:"step.video.quartile4"};return e.ads.forEach((e=>{const n=(e.impressions||[]).filter((e=>!e.match(/\.ayads\.co(?:\.local)?/)));n&&n.length&&(t["step.creative.impression"]||(t["step.creative.impression"]=[]),t["step.creative.impression"]=t["step.creative.impression"].concat(n)),(e.creatives||[]).forEach((e=>{(e.clickTracking||[]).forEach((e=>{t["event.creative.click"]||(t["event.creative.click"]=[]),e.match(/\.ayads\.co(?:\.local)?/)||t["event.creative.click"].push(e)})),(e.tracking||[]).forEach((e=>{let n="event.creative."+e.event;r(i,e.event)&&(n=i[e.event]),t[n]||(t[n]=[]),t[n].push(e.uri)}))}))})),t}(e);y&&Object.keys(y).forEach((e=>{t.tracking[e]||(t.tracking[e]=[]),t.tracking[e]=t.tracking[e].concat(y[e])}))})),{ad:t.ad,data:{type:"vast",tracking:t.tracking}}}},6641:(e,t,i)=>{const n=i(9052),o=i(2843);function r(e,t){let i=t;void 0===i&&(i=n.SUPPORTED_PLAY_TYPES);let o=Array.prototype.slice.call(e).map((e=>({mediaFile:e,bitrate:+e.bitrate,type:e.type,canPlayType:n.canPlayType(e.type),supported:i.indexOf(e.type)}))).filter((e=>e.canPlayType>0&&e.supported>=0));return o=o.sort(((e,t)=>e.supported>t.supported?1:e.supported<t.supported?-1:0)),o}function a(e,t){const i=n.BITRATE_REFERENCE,o=void 0===t?i:t;return e.sort((function(e,t){return Math.abs(e.bitrate-o)<Math.abs(t.bitrate-o)?-1:Math.abs(e.bitrate-o)>Math.abs(t.bitrate-o)?1:0})),e[0]}e.exports=function(e){const t=n.BITRATE_REFERENCE,i=n.SUPPORTED_PLAY_TYPES,s=n.SUPPORTED_PLAY_TYPE_3GPP;if(void 0===e||0===e.length)return void o.warn("pickMediaFile: empty mediaFiles collection");let l,d=r(e,i);if(d.length>0&&(l=a(d,t)),l||(d=r(e,s),d.length>0&&(l=a(d,t))),l)return l.mediaFile;o.warn("pickMediaFile: no playable mediaFile")}},6009:(e,t,i)=>{const n=i(9259),o=i(5080),r=i(9983),a=i(2843),{getScript:s,isSublimeElement:l}=i(562),d=i(8434),{getVideoId:c,getVideoContainerId:p}=i(9775),{isUrl:u}=i(2526),m=i(2621),{HOOK_AD_LOADED:b,HOOK_AD_ERROR:f,HOOK_AD_IMPRESSION:g,HOOK_AD_STOPPED:h,HOOK_AD_PAUSED:v,HOOK_AD_PLAYING:y,HOOK_AD_CLICK_THRU:w,HOOK_PAUSE_AD:A,HOOK_RESUME_AD:E}=i(3337);function C(){this.isDeleted=!1,this.isPaused=!1,this.config={},this.videoSlotSrc="",this.init=function(e){return this.creative=e,this.isVideoFinished=!1,this.version=this.creative.handshakeVersion(),this.setCallbacksForCreative(),this.checkVPAIDInterface(this.creative),this},this.collapseAd=function(){a.info("VPAID > Emit collapseAd"),d.register({namespace:n.vpaid.hookNames.adLoaded,callback:this.creative.collapseAd()})},this.expandAd=function(){a.info("VPAID > Emit expandAd"),d.register({namespace:n.vpaid.hookNames.adLoaded,callback:this.creative.expandAd()})},this.initAd=function(e,t,i,n,o,r){this.creative.initAd(e,t,i,n,o,r)},this.pauseAd=function(){a.info("VPAID > Emit pauseAd"),this.isPaused||d.call(n.vpaid.hookNames.pauseAd)},this.resizeAd=function(e,t,i){a.info("VPAID > Emit resizeAd"),d.register({namespace:n.vpaid.hookNames.adLoaded,callback:function(){a.info("VPAID > Resizing ad w="+e+" h="+t+" v="+i),this.creative.resizeAd(e,t,i)}.bind(this)})},this.resumeAd=function(){a.info("VPAID > Emit resumeAd"),this.isPaused&&d.call(n.vpaid.hookNames.resumeAd)},this.startAd=function(){a.info("VPAID > startAd"),this.creative.startAd()},this.stopAd=function(){this.creative.stopAd()},this.on=function(e,t){a.info("VPAID > New subscribtion on event : ",e,t),this.creative.subscribe(t,e,this)},this.onAdClickThru=function(e,t,i){let o=i;a.info("VPAID > Clickthrough portion of the ad was clicked, url: ",e),n.ad.url=e||n.ad.url,n.creativeAd.url=e||n.creativeAd.url,n.ad.isExternal||(o=i&&["ias","doubleverify","moat"].includes(n.ad.vpaid.provider)),o&&!this.isVideoFinished?d.call(n.vpaid.hookNames.adClickThru):d.call("event.click")},this.onAdDurationChange=function(){},this.onAdError=function(e){a.info("VPAID > onAdError >",e),d.call(n.vpaid.hookNames.adError,e)},this.onAdExpandedChange=function(){a.info("VPAID > Ad Expanded Changed to: "+this.creative.getAdExpanded())},this.onAdImpression=function(){a.info("VPAID > Ad Impression"),d.call(n.vpaid.hookNames.adImpression)},this.onAdInteraction=function(e){a.info("VPAID > A non-clickthrough event has occured")},this.onAdLinearChange=function(){a.info("VPAID > Ad linear has changed: "+this.creative.getAdLinear())},this.onAdLoaded=function(){a.info("VPAID > ad has been loaded"),d.call(n.vpaid.hookNames.adLoaded),window.google&&window.google.ima&&window.google.ima.settings.setVpaidMode(window.google.ima.ImaSdkSettings.VpaidMode.INSECURE)},this.onAdLog=function(e){a.info("VPAID > onAdLog: "+e)},this.onAdPaused=function(){a.info("VPAID > onAdPaused"),d.call(n.vpaid.hookNames.adPaused),this.isPaused=!0},this.onAdPlaying=function(){a.info("VPAID > onAdPlaying"),d.call(n.vpaid.hookNames.adPlaying),this.isPaused=!1},this.onAdRemainingTimeChange=function(){},this.onAdSizeChange=function(){a.info("VPAID > Ad size changed to: w="+this.creative.getAdWidth()+" h ="+this.creative.getAdHeight())},this.onAdSkippableStateChange=function(){a.info("VPAID > Ad Skippable State Changed to: "+this.creative.getAdSkippableState())},this.onAdUserAcceptInvitation=function(){a.info("VPAID > onAdUserAcceptInvitation")},this.onAdUserClose=function(){a.info("VPAID > onAdUserClose"),n.clean()},this.onAdUserMinimize=function(){a.info("VPAID > onAdUserMinimize")},this.onAdVideoStart=function(){a.info("VPAID > Video 0% completed"),d.call("step.video.quartile0",{quartile:0,quartileName:"start"})},this.onAdVideoFirstQuartile=function(){a.info("VPAID > Video 25% completed"),d.call("step.video.quartile1",{quartile:1,quartileName:"firstQuartile"})},this.onAdVideoMidpoint=function(){a.info("VPAID > Video 50% completed"),d.call("step.video.quartile2",{quartile:2,quartileName:"midpoint"})},this.onAdVideoThirdQuartile=function(){a.info("VPAID > Video 75% completed"),d.call("step.video.quartile3",{quartile:3,quartileName:"thirdQuartile"})},this.onAdVideoComplete=function(){a.info("VPAID > Video 100% completed"),d.call("step.video.quartile4",{quartile:4,quartileName:"complete"})},this.onAdVolumeChange=function(){a.info("VPAID > Ad Volume has changed to - "+this.creative.getAdVolume())},this.onStartAd=function(){a.info("VPAID > Ad has started"),this.isPaused=!1,d.register({namespace:n.vpaid.hookNames.pauseAd,callback:this.creative.pauseAd.bind(this.creative)}),d.register({namespace:n.vpaid.hookNames.resumeAd,callback:this.creative.resumeAd.bind(this.creative)})},this.onStopAd=function(){a.info("VPAID > Ad has stopped"),this.isVideoFinished=!0,d.call(n.vpaid.hookNames.adStopped)},this.onSkipAd=function(){a.info("VPAID > Ad was skipped")},this.getAdExpanded=function(){return a.info("VPAID > getAdExpanded"),this.creative.getAdExpanded()},this.getAdLinear=function(){return a.info("VPAID > getAdLinear"),this.creative.getAdLinear()},this.getAdRemainingTime=function(){return a.info("VPAID > getAdRemainingTime"),this.creative.getAdRemainingTime()},this.getAdSkippableState=function(){return a.info("VPAID > getAdSkippableState"),this.creative.getAdSkippableState()},this.getAdVolume=function(){return this.creative.getAdVolume()},this.setAdVolume=function(e){this.creative.setAdVolume(e)},this.setCallbacksForCreative=function(){var e={AdStarted:this.onStartAd,AdStopped:this.onStopAd,AdSkipped:this.onSkipAd,AdLoaded:this.onAdLoaded,AdLinearChange:this.onAdLinearChange,AdSizeChange:this.onAdSizeChange,AdExpandedChange:this.onAdExpandedChange,AdSkippableStateChange:this.onAdSkippableStateChange,AdDurationChange:this.onAdDurationChange,AdRemainingTimeChange:this.onAdRemainingTimeChange,AdVolumeChange:this.onAdVolumeChange,AdImpression:this.onAdImpression,AdClickThru:this.onAdClickThru,AdInteraction:this.onAdInteraction,AdVideoStart:this.onAdVideoStart,AdVideoFirstQuartile:this.onAdVideoFirstQuartile,AdVideoMidpoint:this.onAdVideoMidpoint,AdVideoThirdQuartile:this.onAdVideoThirdQuartile,AdVideoComplete:this.onAdVideoComplete,AdUserAcceptInvitation:this.onAdUserAcceptInvitation,AdUserMinimize:this.onAdUserMinimize,AdUserClose:this.onAdUserClose,AdPaused:this.onAdPaused,AdPlaying:this.onAdPlaying,AdError:this.onAdError,AdLog:this.onAdLog};Object.keys(e).forEach((function(t){a.info("VPAID > Subscribe to ",t),this.creative.subscribe(e[t],t,this)}),this)},this.checkVPAIDInterface=function(e){return e.handshakeVersion&&"function"==typeof e.handshakeVersion&&e.initAd&&"function"==typeof e.initAd&&e.startAd&&"function"==typeof e.startAd&&e.stopAd&&"function"==typeof e.stopAd&&e.skipAd&&"function"==typeof e.skipAd&&e.resizeAd&&"function"==typeof e.resizeAd&&e.pauseAd&&"function"==typeof e.pauseAd&&e.resumeAd&&"function"==typeof e.resumeAd&&e.expandAd&&"function"==typeof e.expandAd&&e.collapseAd&&"function"==typeof e.collapseAd&&e.subscribe&&"function"==typeof e.subscribe&&e.unsubscribe&&"function"==typeof e.unsubscribe?(a.info("VPAID > The creative is conform to the VPAID spec"),!0):(a.error("VPAID > The creative doesn't conform to the VPAID spec",{adUnit:JSON.stringify(this.creative)}),m.warn("VPAID > The creative doesn't conform to the VPAID spec",{adUnit:JSON.stringify(this.creative)}),!1)}}n.vpaid=n.vpaid||{},n.vpaid.hookNames={adLoaded:b,adError:f,adImpression:g,adStopped:h,adPaused:v,adPlaying:y,adClickThru:w,pauseAd:A,resumeAd:E},n.vpaid.defaultInitAdParams={width:0,height:0,viewMode:"normal",bitrate:1e4},n.vpaid.render=function(e,t){const i=s(e.mediaFile,{sandbox:!0}),o=t;return i.then((function(t){return new Promise((function(i,r){const s=t.getVPAIDAd(),l=n.vpaid.create(s);l.config=e,o.video.isVpaid=!0,o.video.vpaid=l,l.initAd(e.config.width,e.config.height,e.config.viewMode,e.config.bitrate,{AdParameters:e.adParameters},{slot:o.container,videoSlot:o.video,videoSlotCanAutoPlay:!0}),d.register({namespace:n.vpaid.hookNames.adLoaded,callback:function(){l.startAd();let e=100;!function i(){e&&(u(o.video.src)?(d.call("step.vpaid.videoSlotSrc",{videoSlotSrc:o.video.src}),l.videoSlotSrc=o.video.src):(e-=1,t.setTimeout(i,100)))}(),i(l)}}),d.register({namespace:n.vpaid.hookNames.adError,callback:function(t){let i=JSON.stringify(e);i.length>3584&&(i=JSON.stringify({provider:e.provider,adSystem:e.adSystem,mediaFile:e.mediaFile})),a.error("AdError from vpaid.",{adUnitMessage:t,adUnit:i}),m.warn("AdError from vpaid.",{adUnitMessage:t,adUnit:i}),r(l)}})}))})).catch((function(t){delete n.creativeAd.vpaid,o.container.remove(),a.error("Could not load VPAID media.",{adUnit:JSON.stringify(e)},t),m.warn("Could not load VPAID media.",{adUnit:JSON.stringify(e)},t)}))},n.vpaid.clean=function(e){const t=e.children,i=[];for(let e=0;e<t.length;e+=1)l(t[e])||i.push(t[e]);for(let t=0;t<i.length;t+=1)e.removeChild(i[t])},n.vpaid.addExtraCss=function(e,t,i){let n="";switch(e){case"ias":n="#"+c(r.type)+" ~ .play-button {background-color: rgba(0, 0, 0, 0.4); background-size: 60px;}#"+c(r.type)+" + div {position: absolute !important;}#"+c(r.type)+" + svg {top: 0;}";break;case"yahoo":if(r.is.desktop){let e=220;t&&t.scale&&(e*=t.scale),n=`#${p("desktop")} {height: ${e}px !important; width: initial !important;}`}}r.is.mobile&&(n="#"+p(r.type)+" > div:first-of-type { position: absolute;transform: translateY(0); z-index: 0 !important; }#"+p(r.type)+' > div:first-of-type > video { position: initial !important; }div[class*=" integral-vid-"] { top: 0 }'),""!==n&&o(n,i)},n.vpaid.create=function(e){return(new C).init(e)},t.vpaid=n.vpaid},3337:e=>{e.exports={HOOK_AD_LOADED:"step.vpaid.adLoaded",HOOK_AD_ERROR:"step.vpaid.adError",HOOK_AD_IMPRESSION:"step.vpaid.adImpression",HOOK_AD_STOPPED:"step.vpaid.adStopped",HOOK_AD_PAUSED:"event.vpaid.adPaused",HOOK_AD_PLAYING:"event.vpaid.adPlaying",HOOK_AD_CLICK_THRU:"event.vpaid.adClickThru",HOOK_PAUSE_AD:"event.vpaid.pauseAd",HOOK_RESUME_AD:"event.vpaid.resumeAd"}},3203:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o,isHighestAccessibleProtocolSSL:r}=i(8841),a=i(8983),{isUrl:s,mergeUrl:l,buildUrlQueryString:d}=i(2526),{isFunction:c,isObject:p,isString:u}=i(7710),m=i(2843),b=i(7980),f=i(8434),g=i(2621);let h=Date.now();const v=XMLHttpRequest;function y(e,t){if(!s(e))return m.warn("Invalid url"),c(t.error)&&t.error(),!1;const i=a({},{jsonp:!1,timeout:!1,async:!1,success:null,error:null,cacheBuster:!1,onTimeout:()=>{},qs:{}},t);if(0!==e.indexOf("http")&&0!==e.indexOf("https")&&0!==e.indexOf("//"))return m.error("Invalid url: non absolute url"),c(i.error)&&i.error(),!1;const n=i.qs||{};i.cacheBuster&&(n._=h,h+=1);const o=l(e,n);return i.jsonp?A(o,i):w(o,i)}const w=function(e,t){const i=a({method:"GET",headers:{}},t);let n=null;"application/x-www-form-urlencoded"===i.headers["Content-Type"]?n=d(i.data):p(i.data)&&(n=JSON.stringify(i.data));const o=new v;let s=!1,l=e;e.match(/^\/\//)&&(l=r?"https:"+e:"http:"+e),m.info("xhr.xmlRequest call",l),o.open(i.method,l,i.async),Object.keys(i.headers).forEach((function(e){o.setRequestHeader(e,i.headers[e])})),i.withCredentials&&(o.withCredentials=!!i.withCredentials),i.async||-1!==navigator.userAgent.indexOf("Gecko")||(o.withCredentials=!0),o.onload=function(){if(c(i.success)){if(s)return;s=!0,i.success.call(this,this.responseText)}},i.async&&i.timeout&&(o.timeout=i.timeout,o.ontimeout=function(){if(c(i.onTimeout)){if(s)return;s=!0,i.onTimeout.call(this)}}),c(i.error)&&(o.onerror=function(){s||(s=!0,i.error(o))}),f.register("event.cleanUp",(function(){if(o.abort(),c(i.onAbort))return i.onAbort(o)}));try{o.send(n)}catch(e){return!!c(i.error)&&!s&&(s=!0,i.error(o,e))}return o.responseText},A=function(e,t){const i=t.callbackName||"sublimeCb"+h++;let r,a=!1,s=e;if(!c(t.success))return m.error("xhr: can't run a jsonp request without success callback"),void g.warn("xhr: can't run a jsonp request without success callback");{const o={};o[u(t.jsonp)&&t.jsonp.length>1?t.jsonp:"callback"]=i,s=l(e,o),n[i]=function(e){if(m.log("jsonp callback execute"),void 0===window.sublime||a)m.info("jsonp callback aborted");else{r&&b.clearTimeout(r);try{t.success(e),m.info("jsonp callback success")}catch(e){if(c(t.error)){if(a)return;t.error(e)}}}},f.register("event.cleanUp",(function(){a=!0}))}const d=o.getElementsByTagName("head")[0],p=o.createElement("script");p.type="text/javascript",p.id=i,p.async=t.async||!1,p.src=s,c(t.error)&&(p.onerror=function(e){a||(r&&b.clearTimeout(r),t.error(e))}),t.timeout&&t.timeout>0&&t.onTimeout&&(r=b.setTimeout(t.onTimeout,t.timeout)),m.info("xhr.jsonpRequest call",s),d.appendChild(p)};"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.xhr=y),e.exports={xhr:y,jsonpRequest:A}},3591:(e,t,i)=>{const n=i(7322);"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.zone=n("zone")||{}),e.exports={createZoneParamsFromEnv:function(e){return n("zoneParamsByDevice")[e]}}},723:(e,t,i)=>{const n=i(9259),{isEmpty:o,isObject:r}=i(7710),{getProperty:a}=i(562),s=i(2843);i(1544);const l=i(4629),d=i(2225),c=i(1584),p=i(4076),u=i(1488),m=i(4124),b=i(2621),f=i(443),g=i(3235),h=i(5253),v=i(1089),y=i(8434),{incrementCappings:w}=i(3751);n.display=n.display||{},e.exports={adIsCompatibleWithDevice:function(e,t){return!(!e||o(e)||!a(e,"supported_devices",[]).includes(t)&&(s.warn("Ad IS NOT compatible with device",e),1))},adIsReady:function(e){if(!e||!r(e))return s.warn("display: Ad is not ready, missing ad"),!1;switch(e.creative_type){case"desktop-skin-display":case"desktop-skin-video":case"desktop-skin-shop":case"desktop-shop-display":case"video video skinz":return l(e);case"video toproll classic":case"desktop-toproll-video":case"mobile toproll classic":case"mobile-toproll-display":case"mobile-toproll-video":return e.placementType="toproll",u(e);case"mobile-pageskin-display":return c(e);case"mobile-mskin-display":case"mobile-mskin-shop":case"mobile-mskin-video":case"mobile-mskin-video-simple":return f(e);case"mobile-bottom-display":return e.placementType="bottom",h(e)}return!1},render:function(e,t,i){switch(y.register("step.impression.before",(()=>{w(e,t,"impressions")})),e.creative_type){case"desktop-skin-display":case"desktop-skin-video":case"desktop-skin-shop":case"desktop-shop-display":case"video video skinz":return d.render(e,t,i),!0;case"video toproll classic":case"desktop-toproll-video":case"mobile toproll classic":case"mobile-toproll-display":case"mobile-toproll-video":return m.render(e,t,i),!0;case"mobile-mskin-display":case"mobile-mskin-shop":case"mobile-mskin-video":case"mobile-mskin-video-simple":return g.render(e,t,i),!0;case"mobile-pageskin-display":return p.render(e,t,i),!0;case"mobile-bottom-display":return v.render(e,t,i),!0}return s.warn("Display Class has no render function"),b.error("Display Class has no render function"),!1}}},4809:(e,t,i)=>{const n=i(2843),{highestAccessibleDocument:o}=i(8841);let r=o.body;e.exports={set(e){if(e instanceof e.ownerDocument.defaultView.HTMLElement)return r="IFRAME"===e.tagName?e.contentWindow.document.body:e,r;n.log("Display root must be a valid DOM node")},get:()=>r,getDocument:()=>r.ownerDocument,getWindow:()=>r.ownerDocument.defaultView}},9775:(e,t,i)=>{const{JS_ERRORS_CODES:n}=i(518),o=i(7322),r=i(5080),{domWrite:a}=i(1703),{getProperty:s}=i(562),l=i(4809),d=i(2843),c=i(8434),p="https://cdn.ayads.co/creatives/watermark803-v3.png";function u(e,t){return m("video",e,t)}function m(e,t,i){const n={display:{byCreativeType:{"mobile-toproll-display":"sublime-content","mobile-toproll-video":"sublime-content","mobile-pageskin-display":"ayads-html","multi-iab-display":"ayads-html"}},video:{byCreativeType:{"mobile-toproll-video":"sublime-video"},byDevice:{desktop:"ayads-video",mobile:"sublime-mobile-video"}},videoContainer:{byDevice:{desktop:"ayads-video-container",mobile:"sublime-mobile-video-container"}}},o=s(n,`${e}.byCreativeType.${i}`,null);if(o)return o;return s(n,`${e}.byDevice.${t}`,null)||null}function b(){const e=o("sublime_prefix")+"-html";return l.getDocument().getElementById(e)}"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.display=window.sublime.display||{},window.sublime.display.getCreativeContainer=b),e.exports={DISPLAY_ELEMENTS:{VIDEO_ID:{desktop:"ayads-video",mobile:"sublime-mobile-video"},VIDEO_CONTAINER_ID:{desktop:"ayads-video-container",mobile:"sublime-mobile-video-container"}},displayGetCreativeContainer:b,displayGetVideoPlayer:function(e,t){const i=u(e,t);return l.getDocument().getElementById(i)},displayWriteToContainer:function(e,t,i,s=null,l=null){const u=s||o("sublime_prefix")+"-html",m=o("sublime_prefix");let b="";e.isRedirectPreview&&(b='<div class="sublime-preview-stamp" style="width: 100%; height: 100%; max-width: 1800px; max-height: 1800px; margin: 0 auto;background:url('+p+') no-repeat top center;z-index:0; pointer-events:none;"></div>',r("#ayads-html #iframe-container, #ayads-html #sublime-iframe-container {z-index:-1;} #ayads-html {height:0;}",i));const f='<script class="dont-pull">window.'+m+" = top."+m+";<\/script>"+t+b;!function(e,t,i,n,a=null){const s=t.contentDocument.body,l=[];let d;for(let e=0;e<s.childNodes.length;e+=1)d=s.childNodes[e],!d||d.className&&d.className.match(/dont-pull/)||(d.classList&&d.classList.add(o("sublime_prefix")+"-pulled"),l.push(d));e.isRedirectPreview&&r("#sublime-day-overlay {content: url("+p+");}",i);for(let e=0;e<l.length;e+=1)d=l[e],a?a.appendChild(d):i.getElementById(n).appendChild(d)}(e,a(f,{id:u+"--pull-creative",iframeVars:{onerror(e,t,i,o,r){let a=0;return Object.keys(n).forEach((t=>{e.includes(t)&&(a=n[t])})),c.call("step.setupZoneAd.error",{errorCode:a}),d.error("domWrite window.onerror",{message:e,source:t,lineno:i,colno:o,errorCode:a,URIencodedHTML:encodeURI(f)},r),!0}}}),i,u,l)},displayGetDisplayElement:function(e,t){const i=m("display",e,t),n=l.getDocument();return i?n.getElementById(i):b()},getVideoId:u,getVideoContainerId:function(e,t){return m("videoContainer",e,t)},setVideoAttributes:function(e,t){t.forEach((([t,i])=>{void 0!==i&&(e.setAttribute(t,!0===i?"":i),e[t]=i)}))}}},1544:(e,t,i)=>{const n=i(7322),o=i(9259),r=i(9983),a=i(8983),{buildUrlQueryString:s}=i(2526),{getProperty:l}=i(562),d=i(2843),c=i(8434),p=i(2979),{store:u}=i(5584),m=i(7980),{displayGetDisplayElement:b,displayGetVideoPlayer:f}=i(9775),g=i(2621);function h(e,t,i){const n={moatClientLevel1:e.rcid||e.campaign_id||"0",moatClientLevel2:e.raid||e.id||"0",moatClientLevel3:e.ssp_name?e.ssp_name+"_"+(e.creative_id||"0"):"",moatClientLevel4:t.id||"0"};return"video"===i&&(n.slicer1=t.siteUrl,n.slicer2=t.siteUrl),d.log("Moat: "+i+" params generated",n),n}function v(e,t,i=null){try{let a;if(a=i||b(r.type,e.creative_type),!a)throw new Error("Can't inject Moat display, creativeContainer is not available");const l=r.is.desktop&&!/^multi-iab/.test(e.creative_type),c=function(e,t){try{t&&(e.skin=1);const i=n("moatScriptDisplay")+"#"+s(e),r=o.document.createElement("script");return r.type="text/javascript",r.src=i,r}catch(t){return d.error("Error on Moat Display initialization",{params:e},t),g.warn("Error on Moat Display initialization",{params:e},t),null}}(h(e,t,"display"),l);if(!c)throw new Error("Moat Display script not available");a.appendChild(c),d.log("Moat: tracking display script injected")}catch(t){d.error("Error on Moat Display script injection",{creativeAd:e},t),g.warn("Error on Moat Display script injection",{creativeAd:e},t)}}function y(e,t){try{let i=f(r.type,e.creative_type);if(p.enabled&&p.params.device&&(i=f(p.params.device)),null==i)return d.log("Moat: video not ready"),void m.setTimeout(y.bind(null,e,t),50);const a=function(e,t,i){try{const r=o.document.createElement("script");let a,s,l=[];t={adData:{ids:t,duration:i,url:e.src},dispatchEvent(e){this.sendEvent?(l&&(l.push(e),e=l,l=!1),this.sendEvent(e)):l.push(e)}},i="_moatApi"+Math.floor(1e8*Math.random());try{a=e.ownerDocument,s=a.defaultView||a.parentWindow}catch(e){a=document,s=window}return s[i]=t,r.type="text/javascript",e&&e.insertBefore(r,e.childNodes[0]||null),r.src=n("moatScriptVideo")+"#"+i,t}catch(e){return d.error("Error on Moat Video initialization",{params:t},e),g.warn("Error on Moat Video initialization",{params:t},e),null}}(i,h(e,t,"video"),"41");if(!a)throw new Error("moatVideoApiService not available");!function(e,t){[["step.video.quartile0","AdVideoStart"],["step.video.quartile1","AdVideoFirstQuartile"],["step.video.quartile2","AdVideoMidpoint"],["step.video.quartile3","AdVideoThirdQuartile"],["step.video.quartile4","AdVideoComplete"]].forEach((([i,n])=>{c.register(i,(()=>{try{t.dispatchEvent({type:n,adVolume:e.volume*Number(!e.muted)})}catch(i){d.error(`Moat event ${n} failed`,{player:e,moatVideoApiService:t},i)}}))}))}(i,a),d.log("Moat: tracking video script injected")}catch(t){d.error("Error on Moat Video script injection",{creativeAd:e},t),g.warn("Error on Moat Video script injection",{creativeAd:e},t)}}const w={run({ad:e,zoneParams:t,displayContainer:i}){if(t.isRedirectPreview)d.log("Moat: disabled on preview zone");else if(e)if(function(){const e=u.getState();return!!l(e,"creative.moatHasRun",!1)||(u.updateState((e=>a(e,{creative:{...e.creative,moatHasRun:!0}}))),!1)}())d.log("Moat (new): has already run");else switch(e.moat){case 1:d.log("Moat: Inject script `Display`"),v(e,t,i);break;case 2:d.log("Moat: Inject script `Video`"),y(e,t);break;case 3:d.log("Moat: Inject scripts `Display` & `Video`"),v(e,t,i),y(e,t);break;default:d.log("Moat: disabled in Ad")}}};c.register("step.creativeContainerAdded",w.run),e.exports=w},1286:(e,t,i)=>{const n=i(9259),o=i(9983),r=i(8983),{isEmpty:a,isObject:s}=i(7710),l=i(2843),{store:d}=i(5584),{tryParseJson:c,tryParseXml:p,deepCopy:u}=i(562),{createZoneParamsFromEnv:m}=i(3591),b=i(961),f=i(723),{sspResponseCodes:g}=i(8547),h=i(8434),v=i(7980),{bindExternalTrackingToHooks:y}=i(9637),w=i(2979),{creativeSetup:A}=i(6764),{decodeVastResponse:E}=i(7604),C=i(4809),S={};function x(e,t){const i={};t.response_format&&(i.creativeWrapper=t.response_format),t.raid&&(i.sublimeCreativeId=t.raid),t.buyerId&&(i.buyerId=t.buyerId),(t.dealId||t.deal_id)&&(i.dealId=t.dealId||t.deal_id),t.insertion_id&&(i.insertionId=t.insertion_id),t.monetizationType&&(i.monetizationType=t.monetizationType),t.vpaid&&(i.vpaid={adSystem:t.vpaid.adSystem,mediaFile:t.vpaid.mediaFile,provider:t.vpaid.provider}),t.video_duration&&(i.videoDuration=t.video_duration),t.creative_id&&(i.externalCreativeId=t.creative_id);const n=r({connectors:{[t.aid]:{response:i}},creative:{id:t.raid||null,connectorId:t.aid,legacyType:t.type||null,campaignId:t.rcid||null,...t.isRedirectStandAlone&&{creativeWrapperVersion:"redirect-standalone"}}});return r(e,n)}S.renderError=function(e){const t="sspv3-"+e.sspName;let i;e.parseScript_response&&e.parseScript_response in g&&(i=g[e.parseScript_response]),e.parseVast_response&&e.parseVast_response in g&&(i=g[e.parseVast_response]),h.call("step.impression.before"),h.call("step.trafficking.renderError",{errorCode:i,sspName:t,sourceType:e.sourceType}),h.call("step.trafficking.renderError.i0",{sourceType:e.sourceType}),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i1",{sourceType:e.sourceType}),1e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i2",{sourceType:e.sourceType}),2e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i3",{sourceType:e.sourceType}),3e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i4",{sourceType:e.sourceType}),4e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i5",{sourceType:e.sourceType}),5e3)},S.readCreative=function(e,t,i,o,m){l.success("Prebider elected");const f=["vast","vast-string","html","creative"].includes(e)?e:"html";h.call("step.trafficking.readCreative",{sourceType:f});const g=r({successCallback:function(e,t){const a=r({...o,sourceType:f},t);e.ssp_name=i.sspName;const s=r(e,{aid:n.ad.id});d.updateState(x,s),S.display(e,a,m)},errorCallback:function(e){const n=r(e,{sourceType:f,sspName:i.sspName});n.ad&&d.updateState(x,u(n.ad)),o&&s(o.tracking)&&Object.keys(o.tracking).length&&y(o.tracking),S.renderError(n),l.warn("Cannot read ad content from "+f,n,t)},iframeVars:{sublimeParentState:d.getState()}},i);if(a(t))return l.error("Can't readCreative, no ad"),h.call("step.trafficking.readCreative.empty"),void g.errorCallback({message:"Can't readCreative, no ad"});if("html"!==f){if("vast-string"===f){const e=p(decodeURIComponent(t));return e||h.call("step.trafficking.readCreative.parseError"),void E(e,g)}if("vast"===f||"creative"===f){const e=c(decodeURIComponent(window.atob(t)));if(!e)return h.call("step.trafficking.readCreative.parseError"),void S.renderError({sourceType:f,sspName:i.sspName});S.display(e,{sourceType:f},m)}}else b.write(decodeURIComponent(t),g)},S.display=function(e,t,i){if(e.isRedirectStandAlone)return n.log("RSA Display in progress"),void d.updateState(x,{isRedirectStandAlone:!0});l.log("Rendering ad"),n.ad=r(n.ad,e);const a=m(o.type),c=w.enabled||f.adIsReady(n.ad,a)&&f.adIsCompatibleWithDevice(n.ad,o.type);if(s(t.tracking)&&Object.keys(t.tracking).length&&y(t.tracking),!c)return l.warn("Ad is not displayable "+n.ad.id,{ad:n.ad,options:t}),h.call("step.impression.before"),h.call("step.trafficking.display.cantDisplay"),h.call("step.trafficking.renderError.i0"),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i1"),1e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i2"),2e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i3"),3e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i4"),4e3),v.setTimeout(h.call.bind(null,"step.trafficking.renderError.i5"),5e3),void(i&&i.frameElement&&(i.frameElement.height=1,i.frameElement.width=1,i.frameElement.style.height="1px",i.frameElement.style.width="1px"));const p=A(n.ad),u=n.document.body;C.set(u),d.updateState((e=>r(e,{creativeAd:p,zoneParams:a}))),f.render(p,a,u)},window&&(window.sublime=window.sublime||{},window.sublime.prebidWinner=S),e.exports={prebidWinner:S,prebidWinnerCreativeUpdater:x}},7162:(e,t,i)=>{const{highestAccessibleWindow:n}=i(8841),{cleanUp:o}=i(369),r=i(9259),a=i(8983),{isDefined:s,isEmpty:l,isFunction:d,isObject:c,ucFirst:p}=i(7710),{watchProp:u,hasProperty:m,deepCopy:b}=i(562),f=i(902),g=i(7322),h=i(2843),{store:v}=i(5584),{createConnectorUpdater:y}=i(6760),{promiseAny:w}=i(742),A=i(9983),E=i(7980),C=i(8434),{xhr:S}=i(3203),x=i(523);i(4273),i(5203),i(9083);const k=i(2979),{isUserOptout:_,registerMacros:T}=i(3214),{sspResponseCodes:P}=i(8547),I=i(2621),D={};r.loadedZones=r.loadedZones||[],r.ad={id:null,supported_devices:["desktop","mobile"],top:220,video_autoplay:!0};const R=Object.freeze({ad:"",cpm:0,currency:"EUR",sspname:""});let O=()=>{};const L=function(e,t){return a(e,{prebider:{adapterVersion:t}})},z=function(e,t){return a(e,{prebider:{notifyId:t}})};function N(e){const t=g("prebidGlobal")||((i=e._pbjsGlobals)&&i.length>0?i[0]:void 0)||"pbjs";var i;return N.lastResolvedName=t,e[t]=e[t]||{},e[t].que=e[t].que||[],e[t]}const V=N(n),M=/sublime/i;function H(){if(g("callback")&&"false"!==g("callback")){let e=n;const t=g("callback").split("."),i=t.pop();for(let i=0;i<t.length;i+=1)e=e[t[i]];return e[i]}return function(e,t){h.log("execute callbackPublisher, response: ",e),D.pbjsFindBids.then((function(i){h.log("Bids found: ",i),i.forEach((function(i){const n=c(i.params)&&s(i.params.zoneId)?Number(i.params.zoneId):null;if(n&&!r.loadedZones.includes(n))return void h.warn("prebid tag zone mismatch: "+n+" ≠ "+r.loadedZones);const o=v.getState(),a=g("zone"),l={a:e.ad?"1":"0",ad:e.ad||"",cpm:e.cpm||0,currency:e.currency||"USD",notify:1,requestId:i.bidId?encodeURIComponent(i.bidId):null,transactionId:i.transactionId||null,zoneId:n||a.id,notifyId:i.notifyId||o.prebider&&o.prebider.notifyId||null,sspname:e.sspName?"sspv3-"+e.sspName:""};m(a,`bid_sizes.${A.type}.width`)&&(l.width=a.bid_sizes[A.type].width),m(a,`bid_sizes.${A.type}.height`)&&(l.height=a.bid_sizes[A.type].height);const d=i.params&&i.params.bidHost?i.params.bidHost:g("prebidBidHost"),p=g("defaultProtocol")+"://"+d+"/notify";h.info("Sending notify request",l),S(p,{async:!0,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:l}),e===R?C.call("event.trafficking.notifyWithoutAd"):C.call("event.trafficking.notifyWithBid",{bid:i,...t&&{connector:t}})}))}))}}function U(e){return(g("sources")||{})[e]}D.run=function(){k.init(),h.info("Prebider run "+g("zone").id),h.info('PBJS Variable set to "'+N.lastResolvedName+'"');const e=U(A.type),t=Boolean(k.enabled&&s(k.params));if(O=H(),!d(O))return C.call("event.trafficking.noPublisherCallback"),h.error("Callback for sublime prebid is not defined:"),void I.error("Callback for sublime prebid is not defined:");if(g("zone")&&g("zone").should_broadcast&&!g("zone").should_broadcast[A.type])return h.warn("Stop broadcast"),void D.notifyEmptyResponse();if(r.loadedZones.includes(g("zone").id))return C.call("event.trafficking.zoneAlreadyLoaded"),h.warn("Zone already loaded"),void D.notifyEmptyResponse();if(r.loadedZones.push(g("zone").id),C.call("step.call"),_())D.notifyEmptyResponse();else if(t||f()){if(l(e)&&!k.enabled)return h.warn("Empty Sources"),void D.notifyEmptyResponse();C.call("step.place"),T(),1===r.loadedZones.length&&(h.log("set PBJS events"),V.que.push((function(){h.log("PBJS queue, add events"),V.onEvent("bidResponse",(function(e){h.info("PBJS bidResponse",e),M.test(e.bidderCode)&&(D.pbav=e.pbav,v.updateState(L,D.pbav),!l(e.ad)&&e.cpm&&(v.updateState(((e,t)=>a(e,{prebider:{requestId:t}})),e.requestId),C.call("step.trafficking.bidFound")))}))}))),C.register("dom.bodyReady",(function(){h.info("body is ready"),k.enabled?(h.info("preview mode enabled, not calling SSPs"),k.run(((e,t)=>{k.zone=e;const i={ad:`<script>top.sublime.prebidWinner.readCreative("creative", "${window.btoa(encodeURIComponent(JSON.stringify(t)))}", ${JSON.stringify({sspName:"preview"})}, ${JSON.stringify({})}, window);<\/script>`,cpm:k.params.price||100,currency:"EUR",sspName:"preview"};try{O.call(this,i,{})}catch(e){h.error("Erreur in callbackPublisher wile rendering preview",e),I.error("Erreur in callbackPublisher wile rendering preview",e)}}))):D.callSspPrebid()}))}else D.notifyEmptyResponse()},D.notifyEmptyResponse=function(e){h.info("Prebider emptyResponse");try{return O.call(this,R,e)}catch(e){return h.error("Error in the publisher callback (emptyResponse):",e),I.error("Error in the publisher callback (emptyResponse):",e),null}},D.callSspPrebid=function(){const e=U(A.type),t=[];return h.info("Prebider calls to "+Object.keys(e).length+" sources"),Object.keys(e).forEach((i=>{const n=e[i];v.updateState(B,n);const o="prebid"+p(i);c(x[o])&&d(x[o].handleQuery)?(C.call("event.trafficking.sspCall",{connector:n}),t.push(x[o].handleQuery(n))):h.warn("No prebid class for "+i)})),w(t).then((t=>{v.updateState(((e,t)=>a(e,{prebider:{winnerConnectorId:t},creative:{connectorId:t},currentConnectorId:t})),e[t.sspName].aid),C.call("event.trafficking.sspOk",{connector:e[t.sspName]});const i=t.sspName;r.ad.id=e[i].aid,h.info("Prebider candidate winner",t),Object.keys(e).forEach((t=>{t!==i&&C.call("event.trafficking.sspKo",{connector:e[t],errorCode:P.RESPONSE_DISCARDED})}));try{O.call(this,t,e[t.sspName])}catch(i){s(window.console)&&(h.error("Error in the publisher callback:",i),I.error("Error in the publisher callback:",i)),C.call("step.trafficking.errorInPublisherCallback",{connector:e[t.sspName]})}})).catch((i=>(h.warn("Error while calling ssp",i),D.notifyEmptyResponse(),Promise.all(t.map((t=>t.then((t=>(C.call("event.trafficking.sspKo",{connector:e[t.sspName]}),t))).catch((t=>(C.call("event.trafficking.sspKo",{connector:e[t.sspName]}),t)))))).then((e=>{h.warn("Error with an (or several) ssp call",e)})))))},D.getPbjsBids=function(e){const t=[];return l(e)||e.forEach((function(e){e.transactionId&&(h.log("Found transactionId",e.transactionId),e.bids.forEach((function(i){if(!M.test(i.bidder))return;const n=b(i);n.transactionId=e.transactionId,t.push(n)})))})),t},D.pbjsFindBids=D.pbjsFindBids||new Promise((function(e){if(r.notifyId)return h.log("Found notifyId on load",r.notifyId),v.updateState(z,r.notifyId),void e([{notifyId:r.notifyId}]);u(r,"notifyId",(function(t){h.log("Found notifyId",t),v.updateState(z,t),e([{notifyId:t}])})),V.que.push((function(){h.log("PBJS queue: searchBids");let t=D.getPbjsBids(V.adUnits);l(t)?(V.onEvent("requestBids",(function(){h.log("PBJS event: requestBids");let i=4;E.setTimeout((function n(){if(t=D.getPbjsBids(V.adUnits),l(t))return i-=1,i?void E.setTimeout(n,25):void 0;e(t)}),10)})),V.onEvent("bidRequested",(function(t){if(t&&M.test(t.bidderCode)){const i=b(t.bids[0]);e([i])}}))):e(t)}))}));const B=y((function(e,t){return a({},e,{id:t.aid,placementId:t.id,sspName:t.name})}),(function(e){return e.aid}));window&&(window.sublime=window.sublime||{},window.sublime.cleanUp=o,window.sublime.prebider=D),e.exports={prebider:D,EMPTY_SOURCE_RESPONSE:R,setCallbackPublisher:H,prebiderSourceUpdater:B,setPrebidAdapterVersion:L,setPrebidNotifyId:z,__getPrebid:N}},2616:(e,t,i)=>{const{topHostname:n}=i(8841),o=i(9259),r=i(7322),a=i(2771),s=i(2843),{prebider:l}=i(7162),d=i(8434),{elapsedSinceLastCall:c}=i(8991);i(369),i(9412);const{store:p}=i(5584),u=i(8983),m=i(8466),b=i(9983),{createZoneParamsFromEnv:f}=i(3591),{bindAntennaTrackingToHooks:g}=i(9637),h=i(2093),{getSupplyChain:v}=i(2343),{getDsa:y}=i(4523),w=i(2621),{hasProperty:A}=i(562),E=i(1934);p.updateState((e=>u(e,{call:{contentLanguage:window.navigator.language,deviceType:b.type,id:m.get("p"),initTs:Date.now(),mode:r("mode"),userAgent:window.navigator.userAgent,zoneId:r("zone").id,publisherSupplyChain:o.supplyChain,supplyChain:v(o.supplyChain),topHostname:n},zoneParams:f(b.type)}))),A(o,"dsa")&&p.updateState((e=>u(e,{call:{publisherDsa:o.dsa,dsa:y(o.dsa)}}))),g(h),d.call("step.run"),c("step.run");const C=Promise.all([a.run(),E.run()]).then((()=>{s.info(`prebider.run starts after ${Math.round(c("step.run"))}ms`),l.run()})).catch((e=>{s.error("Prebid runner on error",e),w.error("Prebid runner on error",{},e)}));e.exports={promise:C}},523:(e,t,i)=>{const n=i(9259),{isEmpty:o,isFunction:r,isObject:a,ucFirst:s}=i(7710),l=i(7322),d=i(2843),c=i(9983);i(1286);const{sspResponseCodes:p}=i(8547),{appnexusRequestCall:u}=i(3697),{improveRequestCall:m}=i(2033),b={startTimes:{},handleQuery:function(e){const t={async:!0,timeout:1e3,acceptVideo:!l("zone").novideo&&!c.hasFeature(c.FEATURE.DATA_SAVER),isMobile:c.is.mobile},i=e.name+"Request";let d;if("appnexus"===e.name)d=u(e,t);else if("improve"===e.name)d=m(e,t);else{if(o(n.sspRequest[i])||!r(n.sspRequest[i].call))return Promise.reject({success:!1,error_code:p.UNKNOWN_REQUEST_CALL,sspName:e.name});d=n.sspRequest[i].call(e,t)}const f="prebid"+s(e.name);return a(b[f])&&r(b[f].fulfillementHandler)&&d.then(b[f].fulfillementHandler),d.then((function(t){if(t.sspName=e.name,t.success){const e=b.formatResponse(t);return Promise.resolve(e)}return Promise.reject(t)}))},computeTimeout:function(e,t,i,n){n=n||"";const o=.8*(t-(Date.now()-e)),r=o<i?o:i;return d.info("Timeout call to "+n+" \nSSP timeout is set to 1s \nBidder timeout is set to "+t/1e3+"s \nComputed remaining timeout : "+o/1e3+"s \nKeeping "+r/1e3+"s as timeout \n"),r},formatResponse:function(e){var t="prebid"+s(e.sspName);const i=c.type;return{ad:`<script>top.sublime.prebidWinner.readCreative("${e.srcType}", "${encodeURIComponent(e.html)}", top.sublime.sspPrebid["${t}"].readCreativeOptions, ${JSON.stringify({pixels:e.pixels,tracking:e.tracking})}, window);<\/script>`,cpm:l("cpms")[i],currency:l("currencies")[i],sspName:e.sspName}}};"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.sspPrebid=b),e.exports=b},4273:(e,t,i)=>{const{isEmpty:n}=i(7710),o=i(523),r={timeout:1e3,iframeId:"sublime-prebid-apn-"+Date.now()};r.readCreativeOptions={id:r.iframeId,iframeAttributes:{"data-ssp-name":"appnexus",width:"1800px",height:"1000px",style:"margin-left: -900px;position: absolute;z-index: 999;top: 0;left: 50%;opacity: 0.001;display: block;transform: scale(0.001);transform-origin: top"},tryIntervalMs:30,tryRepeat:50,sspName:"appnexus"},r.handleQuery=function(e){return o.handleQuery(e)},r.fulfillementHandler=function(e){return"vast"!==e.srcType||n(e.vast)||(e.html=window.btoa(encodeURIComponent(JSON.stringify(e.vast)))),"vast-string"!==e.srcType||n(e.vast)||(e.html=e.vast),e},window&&(window.sublime=window.sublime||{},window.sublime.sspPrebid=o||{},window.sublime.sspPrebid.prebidAppnexus=r),e.exports=r},5203:(e,t,i)=>{const n=i(523),{isEmpty:o}=i(7710),r={timeout:2500,iframeId:"sublime-prebid-improve-"+Date.now()};r.readCreativeOptions={id:r.iframeId,tryIntervalMs:100,tryRepeat:20,sspName:"improve"},r.handleQuery=function(e){return n.handleQuery(e)},r.fulfillementHandler=function(e){return"vast-string"!==e.srcType||o(e.vast)||(e.html=e.vast),e},window&&(window.sublime=window.sublime||{},window.sublime.sspPrebid=n||{},window.sublime.sspPrebid.prebidImprove=r),e.exports=r},9083:(e,t,i)=>{const{isEmpty:n}=i(7710),o=i(523),r={timeout:1e3,iframeId:"sublime-prebid-smartadserver-"+Date.now(),readCreativeOptions:{timeout:2500,tryIntervalMs:30,tryRepeat:50,sspName:"smartadserver"},handleQuery:function(e){return o.handleQuery(e)},fulfillementHandler:function(e){return"vast-string"!==e.srcType||n(e.vast)||(e.html=e.vast),e}};window&&(window.sublime=window.sublime||{},window.sublime.sspPrebid=o||{},window.sublime.sspPrebid.prebidSmartadserver=r),e.exports=r},2093:(e,t,i)=>{const n=i(8983),{hasProperty:o}=i(562),{store:r}=i(5584),{getConnectorQueryParams:a}=i(9498),{topViewportSize:s,getPageHeight:l}=i(8841),d=i(9334),{isEmpty:c}=i(7710),{getSerializedTopics:p}=i(1934);function u(e){const t=r.getState();if(o(t,`connectors.${e}`)){const i=t.connectors[e];return a(i)}return{}}const m=Object.freeze({"step.run":[()=>{const e=r.getState();return{e:"l",bh:s.height,bw:s.width,thn:e.call.topHostname.substring(0,100)}}],"step.place":[()=>{const e={e:"p",bh:s.height,bw:s.width,gd:d.getConsentString(),gdv:d.getConsentStringVersion(),ph:l()},t=r.getState();if(e.schin=0,e.schinc=0,t.call.publisherSupplyChain){e.schin=1;try{e.schinc=1===Number(t.call.publisherSupplyChain.complete)?1:0}catch(e){}}if(o(t.call.publisherDsa,"dsarequired")){const i=String(t.call.publisherDsa.dsarequired);["0","1","2","3"].includes(i)&&(e.dt=i)}if(o(t.call,"topics")){const i=t.call.topics;if(i instanceof Error)e.ctxs=i.message.substring(0,10);else if(c(i))e.ctxs="empty";else try{e.ctxs=p(i)}catch(t){e.ctxs="error"}}return e}],"event.trafficking.sspCall":[({connector:e})=>n(u(e.aid),{e:"sspc"})],"event.trafficking.sspKo":[({connector:e,errorCode:t})=>n(u(e.aid),{e:"sspko",...t&&{sspr:t}})],"event.trafficking.sspOk":[({connector:e})=>n(u(e.aid),{e:"sspok",sspr:0})],"step.beforeunload":[()=>({e:"ul"})],"event.trafficking.zoneAlreadyLoaded":[()=>({e:"zal"})],"event.trafficking.noPublisherCallback":[()=>({e:"dfcpne"})],"event.trafficking.notifyWithBid":[({connector:e})=>{const t=n(u(e.aid),{e:"notify"}),i=r.getState();return o(i,"prebider.notifyId")&&(t.notid=i.prebider.notifyId),t}],"event.trafficking.notifyWithoutAd":[()=>{const e={e:"notifynoad"},t=r.getState();return o(t,"prebider.notifyId")&&(e.notid=t.prebider.notifyId),e}],"step.trafficking.bidFound":[()=>{const e={e:"bid"},t=r.getState();if(o(t,"prebider.winnerConnectorId")){e.a=t.prebider.winnerConnectorId;const i=u(t.prebider.winnerConnectorId);e.sspname=i.sspname,i.di&&(e.di=i.di),i.ii&&(e.ii=i.ii),i.mt&&(e.mt=i.mt)}return o(t,"prebider.notifyId")&&(e.notid=t.prebider.notifyId),o(t,"prebider.adapterVersion")&&(e.pbav=t.prebider.adapterVersion),o(t,"prebider.requestId")&&(e.reqid=t.prebider.requestId),e}],"step.trafficking.display.cantDisplay":[()=>{const e={e:"dfpwd"},t=r.getState();return o(t,"creative.campaignId")&&(e.rcid=t.creative.campaignId),o(t,"prebider.adapterVersion")&&(e.pbav=t.prebider.adapterVersion),o(t,"prebider.notifyId")&&(e.notid=t.prebider.notifyId),e}],"step.trafficking.errorInPublisherCallback":[({connector:e})=>{const t=n(u(e.aid),{e:"dfcbp"}),i=r.getState();return o(i,"prebider.notifyId")&&(t.notid=i.prebider.notifyId),t}],"step.trafficking.readCreative":[({sourceType:e})=>{const t={e:"render",ssprf:e},i=r.getState();if(o(i,"prebider.winnerConnectorId")){t.a=i.prebider.winnerConnectorId;const e=u(i.prebider.winnerConnectorId);t.sspname=e.sspname,e.di&&(t.di=e.di),e.ii&&(t.ii=e.ii),e.mt&&(t.mt=e.mt)}return o(i,"prebider.notifyId")&&(t.notid=i.prebider.notifyId),o(i,"prebider.adapterVersion")&&(t.pbav=i.prebider.adapterVersion),t}],"step.trafficking.readCreative.empty":[()=>({e:"dnarc"})],"step.trafficking.readCreative.parseError":[()=>({e:"dftrc"})],"step.trafficking.renderError":[({errorCode:e,sourceType:t,sspName:i})=>{const n={e:"re",sspname:"sspv3-"+i,sspr:e,ssprf:t},a=r.getState();return o(a,"prebider.winnerConnectorId")&&(n.a=a.prebider.winnerConnectorId),o(a,"prebider.notifyId")&&(n.notid=a.prebider.notifyId),o(a,"prebider.adapterVersion")&&(n.pbav=a.prebider.adapterVersion),n}],"step.trafficking.renderError.i0":[b(0)],"step.trafficking.renderError.i1":[b(1)],"step.trafficking.renderError.i3":[b(3)],"step.trafficking.renderError.i4":[b(4)],"step.trafficking.renderError.i5":[b(5)],"event.trafficking.parseScript.noCreativeFound":[()=>({e:"dpsncf"})]});function b(e){return()=>{const t=r.getState(),i={e:"i"+e,mm:Number(f(t,e)),at:"",pt:"skinz"};if(o(t,"prebider.adapterVersion")&&(i.pbav=t.prebider.adapterVersion),o(t,"creative.legacyType")&&(i.at=t.creative.legacyType),o(t,"prebider.winnerConnectorId")){i.a=t.prebider.winnerConnectorId;const e=u(t.prebider.winnerConnectorId);i.sspname=e.sspname,i.ssprf=e.ssprf}return 0===e&&(i.bw=s.width,i.bh=s.height),i}}function f({deviceType:e,zoneParams:t},i){let n;return n="mobile"===e?t.mmm:t.mmd,n===i}e.exports=m},3721:(e,t,i)=>{const{getProperty:n}=i(562),{isEmpty:o}=i(7710);e.exports={create:function(e,t){const i=n(t,"dsa",{});if(o(i))return null;if(1===Number(n(i,"adrender",0)))return null;const r=navigator.language.split("-")[0],a=encodeURIComponent(n(i,"behalf","")),s=encodeURIComponent(n(i,"paid","")),l=n(i,"transparency",[]).reduce(((e,{dsaparams:t})=>[...new Set(e.concat(...t))]),[]).join("%2C"),d=e.createElement("a");d.classList.add("sublime-ui-adinfo"),d.href=`https://transparency.azerion.com/?language=${r}&advertiser-name=${a}&buyer-name=${s}&dsa-parameters=${l}`,d.target="_blank";const c=e=>e.stopPropagation();return d.addEventListener("click",c),d.addEventListener("touchstart",c),d}}},2981:(module,__unused_webpack_exports,__webpack_require__)=>{const{JS_ERRORS_CODES}=__webpack_require__(518),log=__webpack_require__(2843),{isFunction}=__webpack_require__(7710),hook=__webpack_require__(8434),sentry=__webpack_require__(2621);function applyJs(js){if(!js)return log.error("applyJs(): empty js"),!1;try{return isFunction(js)?js():eval(js),!0}catch(e){const t=e.toString();let i=0;Object.keys(JS_ERRORS_CODES).forEach((e=>{t.includes(e)&&(i=JS_ERRORS_CODES[e])})),hook.call("step.setupZoneAd.error",{errorCode:i}),log.error("applyJs() failed",{js},e),sentry.warn("applyJs() failed",{js},e)}return!1}module.exports=applyJs},4035:(e,t,i)=>{const n=i(7322),o=i(9983);e.exports={create:function(e){const t=e.createElement("div");return t.id=n("sublime_prefix")+"-html",t},adjust:function(e){const t=e.nodes,i=e.root,n=i.ownerDocument,r=i.ownerDocument.documentElement,a=n.defaultView,s=e.data,l=s.zoneParams.optimizeCLS,d=s.isVideo,c=a.getComputedStyle(r),p=o.is.chrome?parseInt(c.paddingTop,10):parseInt(c.marginTop,10);let u;u=d?l?parseInt(i.style.transform.split(" ")[1],10):parseInt(i.style.top,10):parseInt(i.style.backgroundPosition.split(" ")[1],10),t.ayadsHtml.style.transform=l?`translate(-50%, ${u}px)`:`translate(-50%, ${p}px)`;const m=function(e,t,i){const n=function(e,t){return e&&t?e=>parseInt(e.transform.split(" ")[1],10):e?e=>parseInt(e.top,10):e=>parseInt(e.backgroundPosition.split(" ")[1],10)}(e,t);return e=>{e.forEach((e=>{const t=n(e.target.style);Number.isNaN(t)||(i.style.transform=`translate(-50%, ${t}px)`)}))}}(d,l,t.ayadsHtml),b=new MutationObserver(m),f=d?t.backgroundLayer:i;b.observe(f,{attributeFilter:["style"]})}}},3615:(e,t,i)=>{const{getOrientation:n}=i(8841),o=i(9983),r=i(8434);function a(e){const t=e.root,i=e.data.isPreview?n(t.ownerDocument.defaultView):o.orientation;t.classList.remove("sublime-portrait","sublime-landscape"),t.classList.add(`sublime-${i}`)}e.exports={applyRootNodeClasses:a,bindApplyRootNodeClasses:function(e){const t=a.bind(null,e);window.screen.orientation.addEventListener("change",t),r.register("event.cleanUp",(()=>{window.screen.orientation.removeEventListener("change",t)}))}}},2813:e=>{e.exports={countdown:function(e,t){let i,n,o=1e3*e.duration;function r(){const a=performance.now(),s=a-i;o=Math.max(0,o-s),e.onUpdate&&"function"==typeof e.onUpdate&&e.onUpdate(o),o>0?n=t.requestAnimationFrame(r):(t.cancelAnimationFrame(n),e.onEnd&&"function"==typeof e.onEnd&&e.onEnd(0)),i=a}return{start:function(){i=performance.now(),e.onStart&&"function"==typeof e.onStart&&e.onStart(o),r()}}}}},329:e=>{e.exports=function(e){let t=e.querySelector('meta[name="viewport"]');t||(t=e.createElement("meta"),t.id="sublime-viewport",t.name="viewport",e.head.appendChild(t)),t.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"}},4846:e=>{function t(e,i){this.frame=e,this.durationDefault=i.duration||t.COUNTDOWN_DURATION_DEFAULT,this.duration=this.durationDefault,this.callbacks=i.callbacks,this.lastTime=Date.now(),this.timerState=!0}t.COUNTDOWN_DURATION_DEFAULT=3,t.prototype.setTimerState=function(e){this.timerState=e},t.prototype.setDuration=function(e){this.duration=e},t.prototype.resetTimer=function(){this.setDuration(this.durationDefault)},t.prototype.startTimer=function(){const e=Date.now();this.duration===this.durationDefault&&this.callbacks.start&&this.callbacks.start(),e-this.lastTime>=1e3&&this.timerState&&(this.callbacks.update&&this.callbacks.update(this.duration),this.lastTime=e,this.duration-=1),this.duration>=0?this.frame.requestAnimationFrame(this.startTimer.bind(this)):this.callbacks.end&&this.callbacks.end()},e.exports={SublimeCountdown:t}},1842:(e,t,i)=>{const{highestAccessibleWindow:n,originScript:o}=i(8841),{cleanUp:r}=i(369),a=i(7322),s=i(5080),l=i(8983),{adIsClickable:d,adServerClickurlize:c,adServerClickurlizeAntenna:p,displayGetFinalClickUrl:u,displayOpenTargetUrl:m,getEventUrl:b,openClickUrl:f}=i(4875),{isEmpty:g}=i(7710);e.exports={makeCreativeVarsAvailable:function(e){e.frame.sublime.originScript=o,e.frame.sublime.cleanUp=r,e.frame.sublime.env=a,e.frame.sublime.merge=l;const t=e.data.ad,i=e.data.zoneParams;["ad","creativeAd"].forEach((t=>{e.frame.sublime[t]=e.data.ad,e.frame!==n&&(n.sublime[t]=e.data.ad)})),e.frame.sublime.zone={id:i.id,scale:i.scale,site_id:i.siteId,site_url:i.siteUrl,use_cls_desktop:i.optimizeCLS,use_cls_mobile:i.optimizeCLS,use_cls_tablet:i.optimizeCLS},e.frame.sublime.isEmpty=g,e.frame.sublime.display=e.frame.sublime.display||{},e.frame.sublime.display.openTargetUrl=m.bind(null,i),e.frame.sublime.display.openClickUrl=f.bind(null,t,i),e.frame.sublime.display.getFinalClickUrl=u,e.frame.sublime.display.getEventUrl=b,e.frame.sublime.display.addCss=t=>s(t,e.root.ownerDocument),e.frame.sublime.display.adIsClickable=d,e.frame.sublime.adServer=e.frame.sublime.adServer||{},e.frame.sublime.adServer.clickurlizeAntenna=p,e.frame.sublime.adServer.clickurlize=c}}},7836:(e,t,i)=>{const n=i(8035);function o(e){if(e.data.isPreview){const t=e.frame;return t.innerHeight<t.innerWidth?"landscape":"portrait"}return/^landscape/.test(window.screen.orientation.type)?"landscape":"portrait"}e.exports={getOrientation:o,getOrientationChangeHandler:function(e,t){function i(){const i=o(e);t(e,i)}return e.data.isPreview?n.add(e.frame,"resize",i):n.add(window.screen.orientation,"change",i)}}},2311:(e,t,i)=>{const{isDefined:n}=i(7710),o=1280;function r(e,t,i,n){const r=a(e);r.width=Math.max(t,o),r["initial-scale"]=t/Math.max(t,o)/n,delete r["minimum-scale"],delete r["maximum-scale"],delete r.height,delete r["user-scalable"],e.setAttribute("content",s(r))}function a(e){const t=(e.getAttribute("content")||"").split(/\s*[,;]\s*/),i={};return t.forEach((e=>{const[t,n]=e.split(/\s*=\s*/);t&&(i[t]=n||null)})),i}function s(e){return Object.entries(e).map((([e,t])=>n(t)?`${e}=${t}`:e)).join(", ")}e.exports={MIN_CREATIVE_SIZE:o,adjustMetaViewport:function(e,t){const i=t.defaultView.visualViewport.width,n=t.defaultView.visualViewport.height;let o=t.querySelector('meta[name="viewport"]');o||(o=t.createElement("meta"),o.setAttribute("name","viewport"),t.head.appendChild(o)),r(o,i,0,e.scale),window.addEventListener("orientationchange",r.bind(null,o,i,n,e.scale))},generateMetaContent:s,getContentAttribute:a,setMeta:r}},8206:(e,t,i)=>{const n=i(8434),o=i(7980);e.exports=function(){const e={sec1:1e3,sec2:2e3,sec3:3e3,sec4:4e3,sec5:5e3};n.register("step.impression.before",(()=>{Object.entries(e).forEach((([e,t])=>{o.setTimeout(n.call.bind(n,"step.impression."+e),t)}))}))}},5052:(e,t,i)=>{const{hasProperty:n}=i(562),{store:o}=i(5584),{topViewportSize:r,getPageHeight:a}=i(8841);function s(e,{mmm:t,mmd:i},n){let o;return o="mobile"===e?t:i,o===n}e.exports={renderImpressionTracking:function(e){return()=>{const t=o.getState(),i={e:"i"+e,mm:Number(s(t.call.deviceType,t.zoneParams,e))};return n(t,"call.mode")&&"rsa"===t.call.mode&&(i.mm=0),n(t,"prebider.adapterVersion")&&(i.pbav=t.prebider.adapterVersion),0===e&&(i.bh=r.height,i.bw=r.width,i.ph=a(),n(t,"creative.videoDurationBrowser")&&(i.avd=Math.round(t.creative.videoDurationBrowser))),n(t,"creative.creativeWrapperVersion")&&"redirect-standalone"===t.creative.creativeWrapperVersion&&(i.thn=t.call.topHostname.substring(0,100)),i}},isMonetized:s}},6210:(e,t,i)=>{const{hasProperty:n}=i(562),{store:o}=i(5584),{topViewportSize:r,getPageHeight:a}=i(8841),{renderImpressionTracking:s}=i(5052),l=Object.freeze({"step.impression.before":[s(0)],"step.impression.sec1":[s(1)],"step.impression.sec3":[s(3)],"step.impression.sec4":[s(4)],"step.impression.sec5":[s(5)],"step.video.quartile0":[d(0)],"step.video.quartile1":[d(1)],"step.video.quartile2":[d(2)],"step.video.quartile3":[d(3)],"step.video.quartile4":[d(4)],"step.rendering.videoStartedLoading":[()=>({e:"vsl"})],"step.rendering.videoCanplaythrough":[()=>({e:"dicpt"})],"step.rendering.videoLoadeddata":[()=>({e:"dild"})],"step.rendering.videoPlaying":[()=>({e:"dip"})],"step.rendering.videoPause":[()=>({e:"pause"})],"step.rendering.mskinz.close":[()=>({e:"close"})],"step.rendering.mskinz.videoComplete":[()=>({e:"complete"})],"step.rendering.mskinz.creativeView":[()=>({e:"creativeView"})],"step.rendering.mskinz.bottomView":[()=>({e:"mbv"})],"step.rendering.mskinz.panelView":[()=>({e:"mp0"})],"step.rendering.mskinz.panelViewSec1":[()=>({e:"mp1"})],"step.rendering.mskinz.panelViewSec3":[()=>({e:"mp3"})],"step.rendering.mskinz.topView":[()=>({e:"mtv"})],"step.rendering.mskinz.mute":[()=>({e:"mute"})],"step.rendering.mskinz.resume":[()=>({e:"resume"})],"step.rendering.mskinz.rewind":[()=>({e:"rewind"})],"step.rendering.mskinz.unmute":[()=>({e:"unmute"})],"step.rendering.reminder.cantDisplay":[()=>({bh:r.height,bw:r.width,e:"vdrn"})],"step.rendering.reminder.close":[()=>({e:"vdrc"})],"step.setupZoneAd.error":[({errorCode:e})=>({e:"ice",pi:e})]});function d(e){return()=>{const t=o.getState(),i={e:"q"+e};return n(t,"prebider.adapterVersion")&&(i.pbav=t.prebider.adapterVersion),i.bh=r.height,i.bw=r.width,i.ph=a(),0===e&&n(t,"creative.videoDurationBrowser")&&(i.avd=Math.round(t.creative.videoDurationBrowser)),n(t,"creative.creativeWrapperVersion")&&"redirect-standalone"===t.creative.creativeWrapperVersion&&(i.thn=t.call.topHostname.substring(0,100)),i}}e.exports=l},4875:(e,t,i)=>{const n=i(2843),o=i(7322),r=i(8434),{incrementCappings:a}=i(3751),s=i(7980),{mergeUrl:l}=i(2526),{isObject:d,isString:c}=i(7710),{isUrl:p}=i(2526),{macrosReplace:u}=i(72),{store:m}=i(5584),{getAntennaQueryParams:b}=i(9498),f=i(8983),{hasProperty:g}=i(562),h=i(2979);function v(e,t,i){e=e||"";const n=o("antenna_url")+"/redirect.php",r=c(t)&&t.length?t:"c";let a=!1;const s=m.getState();g(s,"creative.creativeWrapperVersion")&&"redirect-standalone"===s.creative.creativeWrapperVersion&&(a=s.call.topHostname.substring(0,100));const d={...b(),...a&&{thn:a},e:r,...i,url3rd:""};return l(n,d)+e}function y(e,t,i,n){let o="",r=t||"";return""===r&&d(e)&&p(e.originalUrl)&&(r=e.originalUrl),r&&(r=u(r,e,m.getState().zoneParams)),d(e)&&e.click_macro&&p(e.click_macro)&&(o=e.click_macro,e.encodeLandingPage&&(r=encodeURIComponent(r))),v(o,i||"c",n)+r}function w(e,t,i,n,o,s){a(i,e,"clicks"),r.call("event.click",{x:t.clientX,y:t.pageY,click_area:i.click_area}),window.open(y(i,n,o,s))}e.exports={adServerClickurlize:function(e,t){return v(null,null,t)+e},adServerClickurlizeAntenna:v,displayGetFinalClickUrl:y,displayOpenTargetUrl:w,openClickUrl:function(e,t,i,n="",o={}){w(t,o,e,i,"c",{etgt:n||""})},displayLoadImage:function(e,t){const i=new Image;let o=!1;i.onload=function(){o=!0,t.apply(this)},i.onerror=function(){n.warn("display: couldn't load image",e)},i.src=e,s.setTimeout((function(){o||(i.onload(),i.onload=()=>{})}),500)},adIsClickable:function(e){return e.disableClick?{clickable:!1,message:"Click disabled"}:e.url&&p(e.url)||e.vpaid&&e.isExternal?{clickable:!0}:{clickable:!1,message:"No url"}},getEventUrl:function(e){const t={e:"e"},i=String(e||"").trim();i&&(t.etgt=i.toLowerCase().replace(/[^\w-_]/g,"").substring(0,30));const r=f(b(),t),a=l(o("antenna_url"),r);return h.enabled?(n.info("Preview: pixel send to "+a),""):a},getSublimeId:function(){return`sublime-${Date.now().toString(16)}`}}},5924:(e,t,i)=>{const n=i(2843);e.exports=function(e){e.removeAttribute=function(t){if("src"===t)return n.info("Bypassing attempt remove the src attribute on video element"),void(e.load=function(){delete e.removeAttribute,delete e.load,n.info("Bypass logic was removed")});window.HTMLVideoElement.prototype.removeAttribute.call(this,t)}}},1532:(e,t,i)=>{const n=i(8434),{trackVideoPlayback:o}=i(4135),r=["start","firstQuartile","midPoint","thirdQuartile","complete"],a=[];e.exports={setUpVideoQuartiles:function(e){a.length>0||r.forEach(((e,t)=>{const i="step.video.quartile"+t;a.push({name:e,namespace:i})})),o(e,a.map((({name:t,namespace:i},o)=>[o/4,()=>{n.call(i,{duration:e.duration,currentTime:e.currentTime,quartile:o,quartileName:t})}])))},VIDEO_QUARTILES_NAMES:r}},4135:(e,t,i)=>{const n=i(8983),{store:o}=i(5584);function r(e,t,i){const n=Number(t)||0,o=Number(i)||0;let r=parseFloat(e);return Number.isNaN(r)&&(r=n),"%"===String(e).slice(-1)&&(r/=100),Math.min(Math.max(r,n),o)}function a(e){return e.map((([e,t])=>({time:r(e,0,1),callback:t}))).filter((e=>"function"==typeof e.callback)).sort(((e,t)=>e.time>=t.time?1:-1))}e.exports={trackVideoPlayback:function(e,t,i){let r=a(t),s=0;function l(e){for(;r[0]&&e>=r[0].time;)r.shift().callback.call(null,e)}e.addEventListener("timeupdate",(function(){const n=function(e){return e.currentTime/e.duration}(e);s>n?(r.length>0&&l(1),i&&(r=a(t))):l(n),s=n})),e.addEventListener("durationchange",(()=>{o.updateState((t=>n(t,{creative:{videoDurationBrowser:e.duration}})))}))}}},7396:(e,t,i)=>{const n=i(2981),o=i(5080),r=i(9983),a=i(8434);e.exports={setSetupZone:function(e,t){a.call("step.setupZoneAd.before"),r.is.mobile&&(e.css&&o(e.css,t),e.js&&n(e.js)),a.call("step.setupZoneAd.after")}}},4629:(e,t,i)=>{const{isEmpty:n}=i(7710),{isUrl:o}=i(2526);e.exports=function(e){const t=o(e.url),i=!n(e.html),r=e.images&&o(e.images.bg),a=(i||r)&&t;if("desktop-skin-video"===e.creative_type){const i=e.videos&&o(e.videos.top),n=e.vpaid&&e.isExternal;return t&&i||n}if("desktop-shop-display"===e.creative_type){const i=!n(e.shopData);return t&&i}return a}},6581:(e,t,i)=>{const{highestAccessibleDocument:n}=i(8841),{create:o}=i(4035),{create:r}=i(3721),a=i(2879),s=i(765),l=i(4728),d=i(2158),{DEFAULT_SKINZ_HEIGHT:c,DEFAULT_SKINZ_WIDTH:p,BASE_SITE_WIDTH:u}=i(8354);e.exports=function(e,t){const i=e.defaultView.getComputedStyle;let m={ayadsHtml:o(e),adInfo:r(e,t),backgroundLayer:null,backgroundVideo:null,controls:null,loadingBar:null,muteBtn:null,slot:null,video:null,iframeContainer:null,celtraIframe:null};if(t.isVideo){const i=s(e,t);if(m=Object.assign(m,i),t.isReminder){const i=d(e,t);m.slot.insertBefore(i.closeReminderBtn,m.slot.firstChild),m=Object.assign(m,i)}}if(t.isShop){const o=l(e,t);m=Object.assign(m,o);const r=t.zoneParams.scale,a=i(n.documentElement),s=parseInt(a.marginTop,10);m.ayadsHtml.style.width=Math.ceil(u*r)+"px",m.ayadsHtml.style.maxWidth=Math.ceil(p*r)+"px",m.ayadsHtml.style.height=Math.ceil(c*r)+"px",m.ayadsHtml.style.top=s+"px",t.fixedBackground&&(m.ayadsHtml.style.position="fixed"),m.ayadsHtml.appendChild(m.topContainer),m.ayadsHtml.appendChild(m.wings.left),m.ayadsHtml.appendChild(m.wings.right),m.ayadsHtml.appendChild(m.privacyLink)}if(t.celtraHtml){const o=a(e,t);m=Object.assign(m,o);const r=t.zoneParams.scale,s=i(n.documentElement),l=parseInt(s.marginTop,10);m.ayadsHtml.style.maxWidth=Math.ceil(p*r)+"px",m.ayadsHtml.style.height=Math.ceil(c*r)+"px",m.ayadsHtml.style.top=l+"px",t.fixedBackground&&(m.ayadsHtml.style.position="fixed"),m.ayadsHtml.appendChild(m.iframeContainer)}if(t.dsa&&m.adInfo){const e=t.zoneParams.scale;m.adInfo.style.position=t.fixedBackground?"fixed":"absolute",m.adInfo.style.left=`max(5px, calc(((100% - ${p*e}px) / 2) + 5px))`,m.ayadsHtml.appendChild(m.adInfo)}return m}},2879:(e,t,i)=>{const{CELTRA_BILLBOARD_WIDTH:n,CELTRA_TEMPLATE_BILLBOARD:o,CELTRA_TEMPLATE_NON_RESPONSIVE:r,CELTRA_TEMPLATE_RESPONSIVE:a,CELTRA_TEMPLATE_RESPONSIVE_WITHOUT_SCALE:s,DEFAULT_SKINZ_HEIGHT:l,DEFAULT_SKINZ_WIDTH:d}=i(8354);e.exports=function(e,t){const i=t.zoneParams.scale,c=e.createElement("div");c.id="sublime-iframe-container",[a,s].includes(t.celtraTemplate)?(c.style.maxWidth=Math.ceil(d*i)+"px",c.style.maxHeight=Math.ceil(l*i)+"px",c.style.minWidth=Math.ceil(1280*i)+"px"):t.celtraTemplate===r?(c.style.width=Math.ceil(d*i)+"px",c.style.height=Math.ceil(l*i)+"px"):t.celtraTemplate===o&&(c.style.width=Math.ceil(n*i)+"px",c.style.height=Math.ceil(t.topHeight*i)+"px",c.style.margin="0 auto");const p=e.createElement("iframe");return p.type="text/javascript",p.id="sublime-iframe",t.celtraTemplate===r?(p.style.width=Math.ceil(d*i)+"px",p.style.height=Math.ceil(l*i)+"px"):t.celtraTemplate===o&&(p.width=Math.ceil(n*i)+"px",p.height=Math.ceil(t.topHeight*i)+"px",p.style.border="none",p.style.margin="0"),c.appendChild(p),{celtraIframe:p,iframeContainer:c}}},4097:(e,t,i)=>{const n=i(5080),{adjust:o}=i(4035),{displayOpenTargetUrl:r}=i(4875),{CELTRA_BILLBOARD_WIDTH:a,CELTRA_TEMPLATE_BILLBOARD:s,CELTRA_TEMPLATE_NON_RESPONSIVE:l,CELTRA_TEMPLATE_RESPONSIVE:d,CELTRA_TEMPLATE_RESPONSIVE_WITHOUT_SCALE:c,DEFAULT_SKINZ_HEIGHT:p}=i(8354),u=i(9400),m=i(9241);e.exports={init:function(e){const t=e.data,i=e.nodes,b=e.root,{iframeStyle:f,iframeBodyStyle:g}=function(e){const t="\n            backface-visibility: hidden;\n            cursor: pointer;\n            margin:0;\n            overflow:hidden;\n            padding:0;\n         ";let i,n;return[d,c].includes(e.celtraTemplate)?(i=`\n                ${t}\n                height:100%;\n                transform-origin: center top;\n                transform: translateZ(0);\n                width:100%;\n            `,n=i):e.celtraTemplate===l?(i=`\n                ${t}\n                height:${p}px !important;\n                transform-origin: left top;\n                transform: translateZ(0);\n                width:1800px !important;\n            `,n=`\n                ${i}\n                transform: translateZ(0) scale(${e.zoneParams.scale});\n            `):e.celtraTemplate===s&&(i=`\n                height:${e.topHeight}px;\n                margin:0;\n                overflow: hidden;\n                padding:0;\n                transform-origin: left top;\n                width:${a}px;\n            `,n=`\n                ${i}\n                transform: scale(${e.zoneParams.scale});\n            `),{iframeStyle:i,iframeBodyStyle:n}}(t);return n(u,b.ownerDocument),t.celtraTemplate===d&&n(m,b.ownerDocument),i.celtraIframe.contentWindow.document.open(),i.celtraIframe.contentWindow.inDapIF=!0,i.celtraIframe.contentWindow.document.write(`\n            <html style="${f}">\n            <body style="${g}">\n            ${t.celtraHtml}\n            </body>\n            </html>\n        `),i.celtraIframe.contentWindow.document.close(),i.celtraIframe.contentWindow.document.body.addEventListener("click",(e=>{r(t.zoneParams,e,t.ad)})),n(`.celtra-ad-inline-host {${g}}`,b.ownerDocument),[d,c].includes(t.celtraTemplate)&&n("\n            #sublime-iframe-container {\n                width: 100%;\n                height: 100%;\n            }",b.ownerDocument),[l,d,c].includes(t.celtraTemplate)&&o(e),e}}},4372:(e,t,i)=>{const{getProperty:n}=i(562),{CELTRA_TEMPLATE_RESPONSIVE:o}=i(8354);e.exports=function(e){const t=n(e,"celtra_redirect",null);let i=null;return t&&(i=n(e,"celtra_template",o)),{celtraHtml:t,celtraTemplate:i}}},8354:(e,t,i)=>{const n=i(7322)("delivery_url")+"creatives/watermark803-v3.png";e.exports={BASE_SITE_WIDTH:1e3,CELTRA_BILLBOARD_WIDTH:1e3,CELTRA_TEMPLATE_BILLBOARD:"billboard",CELTRA_TEMPLATE_NON_RESPONSIVE:"skinz-non-responsive",CELTRA_TEMPLATE_RESPONSIVE:"skinz-responsive",CELTRA_TEMPLATE_RESPONSIVE_WITHOUT_SCALE:"skinz-responsive-without-scale",DEFAULT_SKINZ_HEIGHT:1e3,DEFAULT_SKINZ_WIDTH:1800,DEFAULT_TOP_HEIGHT:220,PREVIEW_STAMP_IMAGE_URL:n,REMINDER_MIN_WING_SIZE:140,REMINDER_TRIGGERING_THRESHOLD:.4,SHOP_WING_SIZE:140}},4592:(e,t,i)=>{const n=i(9983),o=i(5080),{getProperty:r}=i(562),{displayWriteToContainer:a}=i(9775),{displayLoadImage:s}=i(4875),l=i(8434),{init:d}=i(4097),{BASE_SITE_WIDTH:c,DEFAULT_SKINZ_WIDTH:p,PREVIEW_STAMP_IMAGE_URL:u}=i(8354),m=i(420),b=i(9472),{highestAccessibleDocument:f,highestAccessibleWindow:g}=i(8841);function h(e,t="body"){const i=e.data.backgroundColor,r=e.data.fixedBackground,a=e.data.imageUrl,l=e.root.ownerDocument,d=e.data.zoneParams;let c=`background-image: url(${a}) !important;`;d.isRedirectPreview&&(c=`background-image: url(${u}), url(${a}) !important;`),s(a,(function(){const e=Math.round((this.width||p)*d.scale);let a;c+=`\n                background-size: ${e}px auto !important;\n                background-position: center top;\n                background-repeat: no-repeat;`,a="body"===t&&r&&n.is.tablet&&n.is.safari?`body::before  {\n                    content: '';\n                    position: fixed;\n                    width: ${e}px !important;\n                    height: 100%;\n                    left: 50%;\n                    transform: translateX(-50%);\n                    top: var(--sublime-margin-top, 0);\n                    z-index: -10000;\n                    cursor: default;\n                    background-color: ${i};\n                    ${c}\n                }`:`${t}  {\n                    ${c}\n                }`,o(a,l)}))}e.exports={addBgImage:h,init:function(e){const t=e.data,i=e.nodes,n=e.root;return r(e,"data.zoneParams.optimizeCLS",!1)&&e.root.ownerDocument.body.classList.add("sublime-cls"),n.insertBefore(i.ayadsHtml,n.firstChild),l.call("step.creativeContainerAdded",{ad:t.ad,zoneParams:t.zoneParams}),l.call("step.setupZoneAd.before"),t.html&&a(t.zoneParams,t.html,n.ownerDocument),t.celtraHtml&&d(e),l.call("step.setupZoneAd.after"),function(e){const t=e.data.backgroundColor,i=e.data.fixedBackground,n=e.root.ownerDocument,r=e.data.topHeight,a=e.data.zoneParams;let s="center top",l="scroll";i&&(s="50% "+g.getComputedStyle(f.documentElement).marginTop,l="fixed");const d={html:"\n            background-image: none !important;\n            background-color: transparent !important;\n            cursor: pointer;",body:`\n            cursor: default;\n            background-position: ${s} !important;\n            background-repeat: no-repeat !important;\n            background-image: none;\n            background-color: ${t} !important;\n            background-attachment: ${l} !important;`};a.optimizeCLS||(d.body+=`\n            margin-left: auto !important;\n            margin-right: auto !important;\n            margin-top: ${r}px !important;\n            max-width: ${c*a.scale}px;`);const p=Object.keys(d).reduce(((e,t)=>`${e}${t} {${d[t]}}`),m+b);o(p,n)}(e),t.imageUrl&&!t.isVideo&&h(e),e}}},1427:(e,t,i)=>{const{highestAccessibleDocument:n}=i(8841),o=i(7322),{getProperty:r,hasProperty:a}=i(562),s=i(2979),{BASE_SITE_WIDTH:l,DEFAULT_TOP_HEIGHT:d,SHOP_WING_SIZE:c}=i(8354),{makeCreativeVarsAvailable:p}=i(1842);e.exports=function(e){p(e),"rsa"===o("mode")&&(e.frame.sublime.zone=r(e,"frame.sublime.zone",{}),a(e,"frame.sublime.zone.scale")||(e.frame.sublime.zone.scale=e.data.zoneParams.scale)),s.enabled&&s.zone&&(e.frame.sublime.zone=s.zone);const t={"ad-top":e.data.topHeight,"zone-scale":e.data.zoneParams.scale,"shop-wing-width":c,"default-site-width":l,"default-top-height":d};return Object.keys(t).forEach((e=>{n.documentElement.style.setProperty(`--richmedia-${e}`,t[e])})),e}},1715:(e,t,i)=>{const{isUrl:n}=i(2526),o=i(8434);i(6009);const r=i(2843);e.exports=function(e){if(!e.data.vpaid)return Promise.resolve(e);const t=window.sublime.vpaid,{slot:i,video:a}=e.nodes,s=e.data,l=e.root.ownerDocument;s.vpaid.config.width=i.clientWidth,s.vpaid.config.height=i.clientHeight;const d={marginTop:i.style.marginTop,transform:i.style.transform};return s.zoneParams.optimizeCLS||(i.style.transform="translate(-50%, "+i.style.marginTop+")"),t.render(s.vpaid,{container:i,video:a}).then((c=>(s.zoneParams.optimizeCLS||(i.style.marginTop=d.marginTop,i.style.transform=d.transform),o.call("step.impression.before"),e.vpaidWrapper=c,t.addExtraCss(s.vpaid.provider,s.zoneParams,l),c.on("AdStopped",(e=>{c.onStopAd(),r.info("VPAID > Ad has stopped",e),r.info("Reload video."),t.clean(i),(n(s.ad.videos.top)||n(c.videoSlotSrc))&&(a.src=s.ad.videos.top||c.videoSlotSrc,a.loop=!0,a.play())})),e)))}},2225:(e,t,i)=>{const n=i(8434),o=i(9634),r=i(6581),a=i(1427),s=i(7189),l=i(1479),{bindAntennaTrackingToHooks:d}=i(9637),c=i(85),p=i(1715),{setUpVideoQuartiles:u}=i(1532);function m(e,t,i){const n={frame:i.ownerDocument.defaultView,root:i,nodes:e,data:t};return Promise.resolve(n)}e.exports={render:function(e,t,i){d(c);const b=o(e,t),f=r(i.ownerDocument,b);return!b.vpaid&&f.video&&u(f.video),b.vpaid||n.call("step.impression.before"),m(f,b,i).then(a).then(s).then(l).then(p).then((e=>(n.call("step.impression.after"),e)))},prepareContext:m}},1479:(e,t,i)=>{const{init:n}=i(4592),{init:o}=i(8918),{init:r}=i(5215),{init:a}=i(3404),{adjust:s}=i(4035);e.exports=function(e){const t=e.data;return t.isShop&&s(e),n(e),t.isVideo&&(r(e),t.isReminder&&a(e)),t.isShop?o(e):e}},9634:(e,t,i)=>{const n=i(8983),{getProperty:o,hasProperty:r}=i(562),{macrosReplace:a}=i(72),{DEFAULT_TOP_HEIGHT:s}=i(8354),l=i(4372),d=i(193),{store:c}=i(5584),p=i(218);e.exports=function(e,t){const i=c.getState(),u=Math.round(o(e,"top",s)*t.scale),m=o(e,"color","#fff"),b=o(e,"fixed",!1),f=o(e,"images.bg"),{isExternalVideo:g,isReminder:h,isVideo:v,shouldAutoplay:y,videoBackgroundSrc:w,videoSrc:A}=p(e,t);let E=null;e.vpaid&&(E=n({config:{width:u*(16/9),height:u,viewMode:"normal",bitrate:1e5}},e.vpaid));let C=!1,S=null;e.shopData&&({isShop:C,shopData:S}=d(e));let x="",k="";o(e,"celtra_redirect",!1)&&(({celtraHtml:x,celtraTemplate:k}=l(e)),x=a(x,e,t));let _=null;const T=Number(o(i,"creative.dsa.adrender",0));r(i,"creative.dsa")&&0===T&&(_=i.creative.dsa);const P={"\\${sub:creative:backgroundColor}":m,"\\${sub:creative:fixedBackground}":b,"\\${sub:creative:imageUrl}":f,"\\${sub:creative:isReminder}":h,"\\${sub:creative:isShop}":C,"\\${sub:creative:isVideo}":v,"\\${sub:creative:topHeight}":u,"\\${sub:creative:videoBackgroundSrc}":w,"\\${sub:creative:videoSrc}":A,"\\${sub:zone:scale}":t.scale};let I=(t.html||"")+(e.html||"");return I=a(I,e,t,P),{ad:{...e,top:u},backgroundColor:m,celtraHtml:x,celtraTemplate:k,dsa:_,fixedBackground:b,html:I,imageUrl:f,isExternalVideo:g,isReminder:h,isShop:C,isVideo:v,shopData:S,shouldAutoplay:y,topHeight:u,videoBackgroundSrc:w,videoSrc:A,vpaid:E,zoneParams:t}}},2158:e=>{e.exports=function(e){return{closeReminderBtn:function(e){const t=e.createElement("div");return t.id="sublime-video-close",t.className="ayads-video-buttons",t}(e)}}},3404:(e,t,i)=>{const n=i(5080),o=i(1034);e.exports={init:function(e){if(!e.data.isReminder)return e;const t=e.root;return n(o,t.ownerDocument),e}}},784:(e,t,i)=>{const{viewportSize:n}=i(8841),{getProperty:o,hasProperty:r}=i(562),{BASE_SITE_WIDTH:a,REMINDER_MIN_WING_SIZE:s}=i(8354);function l(e,t){const i=r(e,"desktop_setup.reminder")&&Boolean(e.desktop_setup.reminder),n=Boolean(o(t,"video.allowReminder"));return i&&n}e.exports={enabled:l,possible:function(e,t){const i=Math.ceil(t.scale*a),o=n.width-i>2*s;return l(e,t)&&o}}},9420:(e,t,i)=>{const{debounce:n}=i(2446),o=i(8434),{BASE_SITE_WIDTH:r,REMINDER_TRIGGERING_THRESHOLD:a}=i(8354),s=i(784),{toggleMute:l}=i(4237);function d(e){const t=e.data.ad,i=e.data.zoneParams;if(!s.possible(t,i))return o.call("step.rendering.reminder.cantDisplay"),void c(e);const n=e.root,l=e.nodes.video;n.ownerDocument.documentElement.scrollTop>=l.offsetHeight*a&&!e.data.reminder.isManuallyClosed?function(e){const t=e.nodes.slot,i=e.nodes.video,n=e.root.ownerDocument.documentElement,o=e.data.zoneParams,a=e.data.reminder.fullVideoWidth,s=e.data.reminder.originalVideoRatio,l=e.data.reminder.originalVideoWidth,d=Math.ceil(o.scale*r),c=(n.clientWidth-d)/2;t.classList.add("sublime-reminder"),i.classList.add("sublime-reminder");let p=Math.max(l,a);p=Math.min(c,p),p=Math.min(400*o.scale,p);const u=p/s;i.vpaid&&i.vpaid.resizeAd(p,u,"thumbnail"),t.style.right=c+"px",t.style.marginRight=-p+"px",t.style.setProperty("width",p+"px","important"),t.style.setProperty("height",u+"px","important")}(e):c(e)}function c(e){const t=e.nodes.slot,i=e.nodes.video,n=e.data.reminder.originalVideoHeight,o=e.data.reminder.originalVideoWidth,r=e.data.reminder.originalVideoCss,a=e.data.reminder.originalSlotCss;i.vpaid&&i.vpaid.resizeAd(o,n,"normal"),t.style.cssText=a,i.style.cssText=r,t.classList.remove("sublime-reminder"),i.classList.remove("sublime-reminder")}e.exports={setUpEvents:function(e){if(!e.data.isReminder)return e;e.data.reminder=function(e){const t=e.nodes.slot,i=e.nodes.video,n=e.data.zoneParams;return{fullVideoHeight:i.videoHeight*n.scale,fullVideoWidth:i.videoWidth*n.scale,isManuallyClosed:!1,originalSlotCss:t.style.cssText,originalVideoCss:i.style.cssText,originalVideoHeight:i.offsetHeight,originalVideoRatio:i.videoWidth/i.videoHeight,originalVideoWidth:i.offsetWidth}}(e);const t=e.frame;d(e),t.addEventListener("scroll",d.bind(null,e)),t.addEventListener("resize",n(d.bind(null,e),100));const{closeReminderBtn:i}=e.nodes;return i&&i.addEventListener("click",(()=>{e.data.reminder.isManuallyClosed=!0,i.classList.add("hide"),i.classList.remove("show"),c(e),l(e,!0),o.call("step.rendering.reminder.close")})),e}}},7189:(e,t,i)=>{const{topViewportSize:n}=i(8841),{incrementCappings:o}=i(3751),{DEFAULT_SKINZ_HEIGHT:r,DEFAULT_SKINZ_WIDTH:a}=i(8354),s=i(8434),l=i(2843),{setUpEvents:d}=i(9420),{setUpEvents:c}=i(4237),p=i(8206),{adIsClickable:u,displayGetFinalClickUrl:m}=i(4875);e.exports=function(e){const t=e.data,i=e.root,b=e.nodes;p();const f=function(e){const t=e.data.ad,i=e.data.zoneParams,d=e.root,c=e.nodes.video;return function(e){let p=!1;const b=["double","full","strict"],f=function(e,t,i,n,o){const r=e.ownerDocument.defaultView,s=e.ownerDocument.documentElement,l=Math.max(e.parentNode.clientWidth,e.clientWidth),d=Math.max(e.scrollTop,r.pageYOffset),c=Math.round((l-a*n)/2),p=e.parentElement,u=p.currentStyle||r.getComputedStyle(p),m=parseInt(u.marginTop,10),b=t-c;let f=s.documentMode?i:i-m;return o&&(f-=d),{x:Math.round(b/n),y:Math.round(f/n)}}(d,e.clientX,e.pageY,i.scale,t.fixed);let g=t.height||r,h=!1,v=!1;const y=u(t);if(!1===y.clickable)return void l.warn(y.message);const w=d.ownerDocument;if(e.target===w.documentElement?p="html":e.target===w.body?p="body":["ayads-video","ayads-video-bg","ayads-video-layer"].includes(e.target.id)&&(p="video"),!p)return;if(l.info("Sublime click",e.clientX,e.pageY),t.click_area&&b.includes(t.click_area)||(t.click_area=b[0]),"double"===t.click_area&&(g*=2),"strict"!==t.click_area&&"double"!==t.click_area||t.fixed||(v=f.y<0||f.y>g),h=w.documentElement.clientWidth-e.clientX<0,h||v)return;o(t,i,"clicks"),s.call("event.click",{x:e.clientX,y:e.pageY,click_area:t.click_area}),l.info(t.click_area);const A={bw:n.width,bh:n.height,clickx:f.x,clicky:f.y};!t.vpaid||!t.isExternal||t.originalURL||t.url||e.target===c?window.open(m(t,null,null,A)):c.click()}}(e);if(i.ownerDocument.documentElement.addEventListener("click",f,!1),s.register("event.cleanUp",(()=>{i.ownerDocument.documentElement.removeEventListener("click",f,!1)})),t.isVideo&&(c(e),t.isReminder)){const t=d.bind(null,e);b.video.addEventListener("resize",t),s.register("event.cleanUp",(()=>{b.video.removeEventListener("click",t,!1)}))}return e}},4728:(e,t,i)=>{const{displayGetFinalClickUrl:n}=i(4875),o=i(2761),{BASE_SITE_WIDTH:r}=i(8354);function a(e,t,i){const o=t.ad,r=n(o,i.url),a=e.createElement("div");a.classList.add("sublime-ad-item");const s=e.createElement("a");s.href=r,s.title=i.name,s.target="_blank",a.appendChild(s);const l=e.createElement("div");l.classList.add("sublime-ad-item-image-container"),s.appendChild(l);const d=e.createElement("img");d.classList.add("sublime-ad-item-image"),d.src=i.image,l.appendChild(d);const c=e.createElement("div");if(c.classList.add("sublime-ad-item-name"),c.textContent=i.name,s.appendChild(c),i.logo||i.price||i.discount_price||i.discount){const t=e.createElement("div");if(t.classList.add("sublime-ad-item-price-container"),i.logo){const n=e.createElement("img");n.classList.add("sublime-ad-item-logo"),n.src=i.logo,t.appendChild(n)}if(i.price){const n=e.createElement("span");n.classList.add("sublime-ad-item-price"),n.textContent=i.price,t.appendChild(n)}if(i.discount_price){const n=e.createElement("div");n.classList.add("sublime-ad-item-discount_price"),n.textContent=i.discount_price,t.appendChild(n)}if(i.discount){const n=e.createElement("div");n.classList.add("sublime-ad-item-discount"),n.textContent=i.discount,t.appendChild(n)}s.appendChild(t)}return a}e.exports=function(e,t){const i=function(e,t){const i=t.shopData;if(i.privacy&&i.privacy.optout_click_url&&i.privacy.optout_image_url){const t=e.createElement("a");return t.id="sublime-ad-privacy-link",t.href=i.privacy.optout_click_url,t.classList.add("sublime-ad-privacy-link"),t.target="_blank",t.innerHTML='<img alt="" src="'+i.privacy.optout_image_url+'">',t}return null}(e,t),n=function(e,t){const i=t.shopData,n=t.zoneParams,o=Math.ceil(140*n.scale),r={left:e.createElement("div"),right:e.createElement("div")};return Object.keys(r).forEach((n=>{if(r[n].id="sublime-ad-shop-"+n,r[n].style.width=o+"px",i.logo){const t=e.createElement("div");t.classList.add("sublime-ad-item","sublime-ad-logo");const o=e.createElement("a");o.href=i.url,o.target="_blank",t.appendChild(o);const a=e.createElement("div");a.classList.add("sublime-ad-logo-image-container"),o.appendChild(a);const s=e.createElement("img");s.classList.add("sublime-ad-item-image"),s.src=i.logo,a.appendChild(s),r[n].appendChild(t)}const s=i.areas[n];for(let i=0;i<s.length;i+=1){const o=s[i],l=a(e,t,o);r[n].appendChild(l)}})),r}(e,t);return{topContainer:function(e,t){const i=t.shopData,n=t.zoneParams.scale*r,s=t.topHeight,l=e.createElement("div");if(l.id="sublime-ad-shop-top",l.style.width=n+"px",l.style.height=s-20+"px",i.logo){const n=e.createElement("div");n.classList.add("sublime-ad-item","sublime-ad-item-top","sublime-ad-logo-top");const r=e.createElement("a");r.href=t.shopData.url,r.target="_blank",n.appendChild(r);const a=e.createElement("div");a.classList.add("sublime-ad-logo-image-container"),r.appendChild(a);const s=e.createElement("img");s.classList.add("sublime-ad-item-image"),s.src=i.logo,a.appendChild(s);const d=e.createElement("span");d.classList.add("sublime-ad-top-text"),d.textContent=o("shopPresent"),r.appendChild(d),l.appendChild(n)}return i.areas.top.forEach((i=>{const n=a(e,t,i);n.classList.add("sublime-ad-item-top"),l.appendChild(n)})),l}(e,t),privacyLink:i,wings:n}}},8918:(e,t,i)=>{const n=i(5080),{getProperty:o}=i(562),r=i(2110),a=i(8511);e.exports={init:function(e){if(!e.data.isShop)return e;const t=e.root.ownerDocument,i=e.data.topHeight;return n(r+`\n        #sublime-ad-shop-left, #sublime-ad-shop-right {\n            top: ${i}px;\n        }`,t),"custom"===o(e,"data.shopData.rendererVariation")&&n(a,t),e}}},193:(e,t,i)=>{const{getProperty:n}=i(562);e.exports=function(e){const t=n(e,"shopData",null);if(!t)return{isShop:!1,shopData:null};t.areas={top:[],left:[],right:[]};const i=Math.min(t.products.length,5),o=3*i;let r=t.products.slice();for(;r.length<o;)r=r.concat(r);return r=r.slice(0,o),"custom"===n(t,"rendererVariation")?(t.areas.top=r.slice(0,i),r=r.slice(i)):t.areas.top=[r[0]],r.forEach(((e,i)=>{const n=i%2?"right":"left";t.areas[n].push(e)})),{isShop:!0,shopData:t}}},85:(e,t,i)=>{const n=i(6210),o=Object.freeze({...n});e.exports=o},765:(e,t,i)=>{const n=i(9983),{getVideoId:o,getVideoContainerId:r,setVideoAttributes:a}=i(9775);e.exports=function(e,t){const i=function(e,t){const i=e.createElement("video");i.id=o("desktop");let r="metadata";(t.shouldAutoplay||n.is.safari)&&(r="auto");const s=[["autoplay",t.shouldAutoplay],["muted",!0],["preload",r],["volume",0]];return t.vpaid||s.push(["loop",!0]),a(i,s),i}(e,t),s=function(e,t){const i=t.zoneParams,n=t.topHeight;let o;t.vpaid&&(o=t.vpaid.config.width);const a=e.createElement("div");return a.id=r("desktop"),a.style.height=n+"px",i.optimizeCLS||(a.style.marginTop="-"+a.style.height),o&&(a.style.width=o+"px"),a}(e,t),l=function(e){const t=e.createElement("div");t.classList.add("sublime-loading-bar");const i=e.createElement("div");return i.classList.add("sublime-loading-bar-progress"),t.appendChild(i),t}(e),d=function(e){const t=e.createElement("div");return t.id="ayads-video-controls-sound",t.classList.add("ayads-video-buttons","ayads-video-controls-sound","mute","pulsing-sound-button"),t}(e),c=function(e,t,i){const n=t.zoneParams,o=e.createElement("div");return o.id="ayads-video-layer",n.optimizeCLS||(o.style.marginTop=i),o}(e,t,s.style.marginTop);let p,u;return(t.videoBackgroundSrc||t.isExternalVideo)&&(p=function(e,t){const i=e.createElement("video");i.id="ayads-video-bg";let o="metadata";return(t.shouldAutoplay||n.is.safari)&&(o="auto"),a(i,[["loop",!0],["muted",!0],["preload",o],["volume",0]]),i}(e,t)),s.appendChild(l),s.appendChild(d),s.appendChild(i),t.shouldAutoplay||(u=function(e){const t=e.createElement("div");t.id="ayads-video-controls",t.classList.add("ayads-video-buttons");const i=e.createElement("div");i.id="ayads-video-buttons-play",i.classList.add("ayads-video-buttons","play"),t.appendChild(i);const n=e.createElement("div");return n.id="play-video-pulsar",t.appendChild(n),t}(e),s.appendChild(u)),{backgroundLayer:c,backgroundVideo:p,controls:u,loadingBar:l,muteBtn:d,slot:s,video:i}}},5215:(e,t,i)=>{const{adIsClickable:n}=i(4875),o=i(5080),r=i(4788),{addBgImage:a}=i(4592),s=i(8434),{isUrl:l}=i(2526),{promiseAny:d}=i(742),{HOOK_AD_PLAYING:c}=i(3337),{BASE_SITE_WIDTH:p}=i(8354),{hasProperty:u}=i(562);e.exports={init:function(e){if(!e.data.isVideo)return e;const t=e.data,i=e.root,m=e.nodes,b=m.slot;u(t,"imageUrl")&&a(e,"#ayads-video-layer"),function(e){const t=e.data.fixedBackground,i=n(e.data.ad),a=e.root.ownerDocument,s=e.data.topHeight,l=e.data.zoneParams,d=[r,"#ayads-video-layer {","  position:"+(t?"fixed":"absolute")+";","  height:"+p*l.scale+"px;","  cursor: "+(!0===i.clickable?"pointer":"default ")+";","} ","#ayads-video-container {","  height:"+s+"px;","}"].join("");o(d,a)}(e);const f=m.backgroundLayer;if(i.insertBefore(b,i.firstChild),i.insertBefore(f,i.firstChild),m.backgroundVideo&&i.insertBefore(m.backgroundVideo,i.firstChild),t.vpaid||(m.video.src=t.videoSrc),t.videoBackgroundSrc||t.isExternalVideo){const n=m.backgroundVideo;if(t.videoBackgroundSrc)n.src=t.videoBackgroundSrc;else if(t.isExternalVideo){const t=new Promise((e=>{s.register("step.vpaid.videoSlotSrc",(({videoSlotSrc:t})=>{e(t)}))})),i=new Promise((e=>{s.register({namespace:c,callback(){e("https://cdn.ayads.co/17/07/video-bg-170781.mp4")}})}));l(m.video.src)?n.src=m.video.src:d([t,i]).then((t=>{n.src=t,n.play(),e.data.videoBackgroundSrc=t,e.data.videoSrc=t})),n.classList.add("blurred")}i.insertBefore(n,i.firstChild)}return s.call("step.videoContainerAdded",e),e}}},218:(e,t,i)=>{const{getProperty:n,hasProperty:o}=i(562),{isUrl:r}=i(2526),a=i(784);e.exports=function(e,t){let i=null;o(e,"videos.top")&&r(e.videos.top)&&(i=n(e,"videos.top"));let s=null;o(e,"videos.bg")&&r(e.videos.bg)&&(s=n(e,"videos.bg"));const l=n(e,"video_autoplay",!0)&&n(t,"video.autoplay"),d=e.creative_type.match(/video/)&&e.videos,c=n(e,"isExternal",!1),p=d&&Boolean(i||c);return{isExternalVideo:c,isReminder:p&&a.enabled(e,t),isVideo:p,shouldAutoplay:l,videoBackgroundSrc:s,videoSrc:i}}},4237:(e,t,i)=>{const n=i(8983),o=i(8434),{store:r}=i(5584),a=i(7980),{HOOK_AD_CLICK_THRU:s}=i(3337),{displayOpenTargetUrl:l}=i(4875),{setVideoAttributes:d}=i(9775);function c(e){const t=e.nodes.video,i=e.nodes.backgroundVideo;if(!i)return;if(4!==t.readyState||4!==i.readyState)return;const n=t.duration-.01*t.duration,o=t.duration+.01*t.duration;n<=i.duration&&i.duration<=o&&(Math.abs(i.currentTime-t.currentTime)<.1||(i.currentTime=t.currentTime))}function p(e,t){const i=e.nodes.video,n=e.nodes.backgroundVideo;(void 0!==t?t:i.paused)?(i.play(),n&&n.play(),i.isVpaid&&i.vpaid.resumeAd()):(i.pause(),n&&n.pause(),i.isVpaid&&i.vpaid.pauseAd())}function u(e,t){const i=e.nodes.video,n=e.nodes.muteBtn;t?(n.classList.add("mute"),d(i,[["muted",!0],["volume",0]])):(n.classList.remove("mute"),d(i,[["muted",!1],["volume",1]]),i.removeAttribute("muted"))}e.exports={setUpEvents:function(e){if(!e.data.isVideo)return e;const t=e.data.ad,i=e.data.zoneParams,d=e.nodes,m=d.video;m.addEventListener("loadstart",(()=>{o.call("step.rendering.videoStartedLoading",{video:m})})),m.addEventListener("loadeddata",(()=>{o.call("step.rendering.videoLoadeddata",{video:m})})),m.addEventListener("playing",(()=>{o.call("step.rendering.videoPlaying",{video:m})})),m.addEventListener("canplaythrough",(function t(){m.removeEventListener("canplaythrough",t),function(e){const t=e.nodes.video,i=Math.floor(t.duration);r.updateState((e=>n(e,{creative:{videoDuration:i}}))),p(e,e.data.shouldAutoplay),c(e),a.setInterval((()=>{t.paused||c(e)}),500),o.call("step.videoCanplaythrought",{video:t}),o.call("step.rendering.videoCanplaythrough",{video:t})}(e)})),m.addEventListener("play",(()=>{d.backgroundVideo&&d.backgroundVideo.play()})),m.addEventListener("pause",(()=>{o.call("step.rendering.videoPause")})),m.addEventListener("timeupdate",(()=>{const t=Math.abs((m.duration-m.currentTime)/m.duration*100-100);e.nodes.loadingBar.firstChild.style.width=t+"%"})),o.register(s,(()=>{l(i,{},t,t.url)})),d.controls&&d.controls.addEventListener("click",(function t(){p(e,!0),d.controls.removeEventListener("click",t),d.controls.remove()}));const b=d.muteBtn;return b.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault(),b.classList.remove("pulsing-sound-button"),u(e,!b.classList.contains("mute"))})),d.backgroundVideo&&d.backgroundVideo.addEventListener("canplaythrough",(function e(){d.backgroundVideo.removeEventListener("canplaythrough",e),o.call("step.videoBgCanplaythrought",{video:d.backgroundVideo})})),e},toggleMute:u}},5253:(e,t,i)=>{const{isUrl:n}=i(2526);e.exports=function(e){return e.images&&n(e.images.bg)}},8005:(e,t,i)=>{const{create:n}=i(3721),{create:o}=i(4035),r=i(3743);e.exports=function(e,t){let i={adInfo:n(e,t),ayadsHtml:o(e),celtraIframe:null,closeButton:null,displayContainer:null,iframeContainer:null,image:e.createElement("img")};const a=e.createElement("div");a.id="sublime-mobile-bottom-container",i.displayContainer=a,i.image.className="sublime-mobile-bottom-image",a.appendChild(i.image);const s=e.createElement("span");if(s.id="sublime-ui-close",s.className="sublime--icon sublime--top sublime--right",s.setAttribute("role","button"),i.closeButton=s,a.appendChild(i.closeButton),t.celtraHtml){const t=r(e);i=Object.assign(i,t),i.iframeContainer.appendChild(i.celtraIframe)}return t.dsa&&i.adInfo&&a.appendChild(i.adInfo),a.appendChild(i.ayadsHtml),i}},3743:e=>{e.exports=function(e){const t=e.createElement("div");t.id="sublime-iframe-container";const i=e.createElement("iframe");return i.id="sublime-iframe",i.scrolling="no",i.frameBorder="0",i.hspace="0",i.vspace="0",i.marginwidth="0",i.marginheight="0",i.allowTransparency="true",i.width="1px",i.height="1px",t.appendChild(i),{celtraIframe:i,iframeContainer:t}}},8881:e=>{e.exports={init:function(e){const t=e.data,i=e.nodes;return i.celtraIframe.contentWindow.document.open(),i.celtraIframe.contentWindow.inDapIF=!0,i.celtraIframe.contentWindow.document.write(`\n            <html>\n            <body>\n            ${t.celtraHtml}\n            </body>\n            </html>\n        `),i.celtraIframe.contentWindow.document.close(),e}}},7108:(e,t,i)=>{const{getProperty:n}=i(562);e.exports=function(e){return{celtraHtml:n(e,"celtra_redirect",null)}}},9010:e=>{e.exports={bottomHookNames:{close:"event.creative.close"},closeAnimationDuration:800,maxContainerHeight:300}},7091:(e,t,i)=>{const n=i(420),o=i(5080),r=i(4784),{topViewportSize:a}=i(8841),s=i(8434),l=i(2981),{displayWriteToContainer:d}=i(9775),{maxContainerHeight:c}=i(9010);e.exports={init:function(e){const t=e.data,i=e.nodes,p=e.root;return o(`${n}\n${r}`,p.ownerDocument),i.image.src=t.imageUrl,i.image.onload=function(){const t=this.height,n=this.width,o=e.data.ad.poorMedia,r=Math.min(Math.floor(a.height/3),t,c);if(o)i.displayContainer.style.height="100%",i.displayContainer.style.width="100%",i.image.style.width="100%",i.image.style.height="100%",i.image.style.objectFit="contain";else{const e=r*n/t;i.image.style.width=`${e}px`,i.image.style.height=`${r}px`,i.displayContainer.style.minHeight=`${r}px`}},i.displayContainer.style.width=`${t.containerWidth}%`,i.displayContainer.style.backgroundColor=t.backgroundColor,"left"===t.alignContainer?i.displayContainer.style.left=0:"center"===t.alignContainer?i.displayContainer.style.right=(100-t.containerWidth)/2+"%":i.displayContainer.style.right=0,p.appendChild(i.displayContainer),t.setupCss&&(o(t.setupCss,p.ownerDocument),s.call("debug.applyCss")),t.setupJs&&(l(t.setupJs),s.call("debug.applyJs")),t.html&&d(t.zoneParams,t.html,p.ownerDocument),e}}},8552:(e,t,i)=>{const n=i(8035),o=i(8434),{bottomHookNames:r,closeAnimationDuration:a}=i(9010),{countdown:s}=i(2813);e.exports={setUpEvents:function(e){const t=e.nodes.displayContainer,i=e.nodes.closeButton,l={duration:e.data.closeDelay,onStart(){i.classList.remove("sublime--icon-cross")},onUpdate(e){i.innerHTML=Math.ceil(e/1e3)},onEnd(){i.innerHTML=" ",i.classList.add("sublime--icon-cross")}};return s(l,e.frame).start(),n.add(i,"click",(e=>{e.stopPropagation(),e.preventDefault(),o.call(r.close),t.style.height="0px",t.style.minHeight="0px",setTimeout((()=>{t.remove()}),a)})),n.add(t,"click",(t=>{t.stopPropagation();const i=e.frame,n=e.data;o.call("event.click"),i.open(n.targetUrl)})),e}}},2579:(e,t,i)=>{const{makeCreativeVarsAvailable:n}=i(1842);e.exports=function(e){return n(e),e}},1089:(e,t,i)=>{const n=i(8434),{bindAntennaTrackingToHooks:o}=i(9637),r=i(329),a=i(8005),s=i(2579),l=i(7495),d=i(9858),{setUpEvents:c}=i(6661),p=i(8613);function u(e,t,i){const n={frame:i.ownerDocument.defaultView,root:i,nodes:e,data:t};return Promise.resolve(n)}e.exports={render:function(e,t,i){r(i.ownerDocument),o(p);const m=d(e,t),b=a(i.ownerDocument,m);return n.call("step.impression.before"),u(b,m,i).then(s).then(c).then(l).then((e=>(n.call("step.impression.after"),e)))},prepareContext:u}},7495:(e,t,i)=>{const n=i(8434),{init:o}=i(8881),{applyRootNodeClasses:r}=i(3615),{init:a}=i(7091);e.exports=function(e){const t=e.data,i=e.nodes;return r(e),n.call("step.setupZoneAd.before"),a(e),t.celtraHtml&&(i.displayContainer.appendChild(i.iframeContainer),o(e)),n.call("step.creativeContainerAdded",{ad:t.ad,displayContainer:i.displayContainer,zoneParams:t.zoneParams}),n.call("step.setupZoneAd.after"),e}},9858:(e,t,i)=>{const{getProperty:n,hasProperty:o}=i(562),{macrosReplace:r}=i(72),{store:a}=i(5584),{displayGetFinalClickUrl:s}=i(4875),l=i(7108);e.exports=function(e,t){const i=a.getState(),d=s(e,"","mcb"),c=n(e,"mobile_setup.image",null),p=n(e,"mobile_setup.alignContainer","right"),u=n(e,"mobile_setup.backgroundColor","transparent"),m=n(e,"mobile_setup.closeDelay",3);let b=n(e,"mobile_setup.containerWidth",100);b=Math.min(Math.max(b,80),100);const f={"\\${sub:creative:alignContainer}":p,"\\${sub:creative:backgroundColor}":u,"\\${sub:creative:containerWidth}":b,"\\${sub:creative:imageUrl}":c},g=r(e.html||"",e,t,f);let h=n(t,"bottom_css","")+n(e,"mobile_setup.css","");h=r(h,e,t,f);let v=n(t,"bottom_js","")+n(e,"mobile_setup.js","");v=r(v,e,t,f);let y,w="";n(e,"celtra_redirect",!1)&&(({celtraHtml:w}=l(e)),w=r(w,e,t));const A=Number(n(i,"creative.dsa.adrender",0));return o(i,"creative.dsa")&&0===A&&(y=i.creative.dsa),{ad:e,alignContainer:p,backgroundColor:u,celtraHtml:w,closeDelay:m,containerWidth:b,dsa:y,html:g,imageUrl:c,setupCss:h,setupJs:v,targetUrl:d,zoneParams:t}}},6661:(e,t,i)=>{const{getOrientation:n}=i(8841),o=i(9983),r=i(8035),{bindApplyRootNodeClasses:a}=i(3615),s=i(8206),{setUpEvents:l}=i(8552);function d(e){const t=e.root,i=e.data.ad.poorMedia,r=e.data.isPreview?n(t.ownerDocument.defaultView):o.orientation,a=!i&&"landscape"===r;t.classList.toggle("sublime--invisible",a)}e.exports={setUpEvents:function(e){return s(),a(e),r.add(window.screen.orientation,"change",d.bind(null,e)),l(e),e}}},8613:(e,t,i)=>{const n=i(6210),o=Object.freeze({...n,"event.creative.close":[()=>({e:"close"})]});e.exports=o},1584:(e,t,i)=>{const{isEmpty:n,isString:o}=i(7710),{isUrl:r}=i(2526);e.exports=function(e){const t=r(e.url),i=!n(e.html),a=e.images&&r(e.images.bg),s=o(e.celtra_redirect)&&Boolean(e.celtra_redirect.trim().length);return(i||a||s)&&t}},2502:(e,t,i)=>{const n=i(645);e.exports=function(e,t){let i={ayadsHtml:null,iframeContainer:null,celtraIframe:null};const o=n(e,t);return i=Object.assign(i,o),i}},4567:e=>{e.exports={DEFAULT_TOP_HEIGHT:120,DEFAULT_RIGHT_WING_WIDTH:74}},645:(e,t,i)=>{const{create:n}=i(4035),{create:o}=i(3721);e.exports=function(e,t){const i={ayadsHtml:n(e),adInfo:o(e,t),closeBtn:null,iframeContainer:null,celtraIframe:null};return i.closeBtn=e.createElement("button"),i.closeBtn.id="sublime-close",e.body.appendChild(i.closeBtn),t.fixedBackground&&(i.ayadsHtml.style.position="fixed"),t.celtraHtml&&(i.iframeContainer=e.createElement("div"),i.iframeContainer.id="sublime-iframe-container",i.ayadsHtml.appendChild(i.iframeContainer),i.celtraIframe=e.createElement("iframe"),i.celtraIframe.type="text/javascript",i.celtraIframe.id="sublime-iframe",i.iframeContainer.appendChild(i.celtraIframe)),t.dsa&&i.adInfo&&e.body.appendChild(i.adInfo),i}},6727:(e,t,i)=>{const n=i(2981),{highestAccessibleWindow:o,highestAccessibleDocument:r}=i(8841),a=i(5080),s=i(8434),{displayWriteToContainer:l}=i(9775),{displayLoadImage:d}=i(4875),{DEFAULT_RIGHT_WING_WIDTH:c,PREVIEW_STAMP_IMAGE_URL:p}=i(4567),u=i(420),m=i(6247);function b(e){const t=e.data.imageUrl,i=e.root.ownerDocument,n=e.data.zoneParams;let o=`background-image: url(${t}) !important;`;n.isRedirectPreview&&(o=`background-image: url(${p}), url(${t}) !important;`),d(t,(function(){let e="100%";this.width&&(e=Math.round(this.width*n.scale)+"px"),a(`\n            body.sublime-portrait {\n                ${o}\n                background-size: ${e} auto !important;\n            }`,i)}))}e.exports={addBgImage:b,init:function(e){const t=e.data,{ad:i,zoneParams:d}=t,p=e.nodes,f=e.root,g=f.ownerDocument;if(g.body.classList.add(`sublime--${t.ad.creative_type}`),f.insertBefore(p.ayadsHtml,f.firstChild),a(u+m,g),t.celtraHtml){const e="\n            backface-visibility: hidden;\n            cursor: pointer;\n            height: 100%;\n            margin: 0;\n            overflow: hidden;\n            padding: 0;\n            transform-origin: center top;\n            transform: translateZ(0);\n            width: 100%;\n         ";p.celtraIframe.contentWindow.document.open(),p.celtraIframe.contentWindow.inDapIF=!0,p.celtraIframe.contentWindow.document.write(`\n            <html style="${e}">\n            <body style="${e}">\n            ${t.celtraHtml}\n            </body>\n            </html>\n        `),p.celtraIframe.contentWindow.document.close(),a(`.celtra-ad-inline-host {${e}}`,g)}return s.call("step.creativeContainerAdded",{ad:i,zoneParams:d}),s.call("step.setupZoneAd.before"),t.html&&l(d,t.html,g),t.setupCss&&a(t.setupCss,g),t.setupJs&&n(t.setupJs),s.call("step.setupZoneAd.after"),function(e){const t=e.data.backgroundColor,i=e.data.fixedBackground,n=e.root.ownerDocument,s=e.data.topHeight;let l="center top",d="scroll";i&&(l="50% "+o.getComputedStyle(r.documentElement).marginTop,d="fixed");const p={"body.sublime-portrait":`\n            background-attachment: ${d} !important;\n            background-color: ${t} !important;\n            background-position: ${l} !important;\n            margin-right: ${c}px !important;\n            margin-top: ${s}px !important;`},u=Object.keys(p).reduce(((e,t)=>`${e}\n            ${t} {\n                ${p[t]}\n            }`),"");a(u,n)}(e),t.imageUrl&&b(e),e}}},7280:(e,t,i)=>{const{highestAccessibleDocument:n}=i(8841),{makeCreativeVarsAvailable:o}=i(1842);e.exports=function(e){o(e);const t={"ad-top":e.data.topHeight,"zone-scale":e.data.zoneParams.scale};return Object.keys(t).forEach((e=>{n.documentElement.style.setProperty(`--richmedia-${e}`,t[e])})),e}},4076:(e,t,i)=>{const n=i(8434),o=i(9959),r=i(2502),a=i(7280),{setUpEvents:s}=i(6228),l=i(1972),{bindAntennaTrackingToHooks:d}=i(9637),c=i(4008);function p(e,t,i){const n={frame:i.ownerDocument.defaultView,root:i,nodes:e,data:t};return Promise.resolve(n)}e.exports={render:function(e,t,i){d(c);const u=o(e,t),m=r(i.ownerDocument,u);return n.call("step.impression.before"),p(m,u,i).then(a).then(s).then(l).then((e=>(n.call("step.impression.after"),e)))},prepareContext:p}},1972:(e,t,i)=>{const{init:n}=i(6727);e.exports=function(e){return n(e),e}},9959:(e,t,i)=>{const{originScript:n}=i(8841),{getProperty:o,hasProperty:r}=i(562),{macrosReplace:a}=i(72),{DEFAULT_TOP_HEIGHT:s}=i(4567),l=i(2979),{store:d}=i(5584);e.exports=function(e,t){const i=d.getState(),c=Math.round(o(e,"top",s)*t.scale),p=o(e,"color","#fff"),u=o(e,"fixed",!1),m=o(e,"images.bg"),b=a(o(e,"celtra_redirect",""),e,t);let f=null;const g=Number(o(i,"creative.dsa.adrender",0));r(i,"creative.dsa")&&0===g&&(f=i.creative.dsa);const h="richmediaPreview"in n.dataset||l.enabled,v={"\\${sub:creative:backgroundColor}":p,"\\${sub:creative:fixedBackground}":u,"\\${sub:creative:imageUrl}":m,"\\${sub:creative:topHeight}":c,"\\${sub:zone:scale}":t.scale},y=a(e.html||"",e,t,v);let w=o(t,"css","");w=a(w,e,t,v);let A=o(t,"js","");return A=a(A,e,t,v),{ad:e,backgroundColor:p,celtraHtml:b,dsa:f,fixedBackground:u,html:y,imageUrl:m,isPreview:h,setupCss:w,setupJs:A,topHeight:c,zoneParams:t}}},6228:(e,t,i)=>{const{cleanUp:n}=i(369),o=i(9983),{getOrientation:r}=i(8841),a=i(8434),{incrementCappings:s}=i(3751),{displayGetFinalClickUrl:l}=i(4875),d=i(8206);function c(e){const t=e.root,i=e.data.isPreview?r(t.ownerDocument.defaultView):o.orientation;t.classList.remove("sublime-portrait","sublime-landscape"),t.classList.add(`sublime-${i}`),t.classList.toggle("sublime--invisible","landscape"===i)}function p(e){const t=e.data.ad,i=e.data.zoneParams,n=e.root;return function(o){let r=!1;const d=n.ownerDocument;if(o.target===d.documentElement?r="html":o.target===d.body?r="body":o.target===e.nodes.ayadsHtml&&(r="ayads-html"),!r)return;s(t,i,"clicks");const c={x:o.offsetX,y:o.offsetY};a.call("event.click",c);const p={clickx:c.x,clicky:c.y};window.open(l(t,null,null,p))}}e.exports={clickCallbackCreator:p,setUpEvents:function(e){const t=e.data,i=t.ad.poorMedia,o=e.root.ownerDocument;d();const r=c.bind(null,e);i||(c(e),window.screen.orientation.addEventListener("change",r)),e.nodes.closeBtn.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),o.body.classList.remove(`sublime--${t.ad.creative_type}`),n()}));const s=p(e);return o.documentElement.addEventListener("click",s,!1),a.register("event.cleanUp",(()=>{o.documentElement.removeEventListener("click",s,!1),window.screen.orientation.removeEventListener("change",r)})),e}}},4008:(e,t,i)=>{const n=i(6210),o=Object.freeze({...n});e.exports=o},443:(e,t,i)=>{const{isUrl:n}=i(2526),{hasProperty:o}=i(562);e.exports=function(e){const t=n(e.url),i=Boolean(e.mobile_setup.top&&e.mobile_setup.top.key&&n(e.mobile_setup.top.src)&&e.mobile_setup.top.type),r=Boolean(e.mobile_setup.panel&&e.mobile_setup.panel.key&&n(e.mobile_setup.panel.src)&&e.mobile_setup.panel.type),a=o(e,"mobile_setup.top.video")&&n(e.mobile_setup.top.video);if("mobile-mskin-video"===e.creative_type)return t&&r&&a;if("mobile-mskin-video-simple"===e.creative_type){const i=t&&a,n=e.vpaid&&e.isExternal;return i||n}return"mobile-mskin-shop"===e.creative_type?o(e,"shopData")&&o(e,"mobile_setup.top"):t&&i&&r}},2859:(e,t,i)=>{const{create:n}=i(4035),o=i(1401),r=i(1050),a=i(8223),s=i(9481),l=i(1464),d=i(1895),c=i(8308),p=i(7230),u=i(9655),m=i(7060),b=i(3197);e.exports={buildDOMTree:function(e,t){let i={ayadsHtml:n(e),arrow:null,bottomContainer:null,bottomImage:null,celtraIframe:null,indicator:null,overlay:null,panelArrowContainer:null,panelContainer:null,panelDoubleBuffLayer:null,panelNavBar:null,slideWrapper:null,tooltip:null,top:null,topContainer:null,topImage:null,topTimer:null};const f=e.createDocumentFragment(),g=r.buildDOMTree(e);i=Object.assign(i,g),f.appendChild(i.indicator);const h=s.buildDOMTree(e);i=Object.assign(i,h),f.appendChild(i.panelArrowContainer);const v=a.buildDOMTree(e);i=Object.assign(i,v),f.appendChild(i.overlay);const y=d.buildDOMTree(e,t);i=Object.assign(i,y),f.appendChild(i.panelNavBar);const w=l.buildDOMTree(e,t);i=Object.assign(i,w),f.appendChild(i.panelDoubleBuffLayer),i.ayadsHtml.appendChild(f);const A=c.buildDOMTree(e,t);if(i=Object.assign(i,A),t.bottomContainer){const n=o.buildDOMTree(e,t);i=Object.assign(i,n)}if(t.isVideo){const n=u(e,t);if(i=Object.assign(i,n),t.isSimple){const n=m(e,t);i=Object.assign(i,n)}}if(t.isShop){const n=p(e,t);i=Object.assign(i,n)}if(t.celtraHtml){const t=b(e);i=Object.assign(i,t),i.panelContainer.appendChild(i.celtraIframe)}return i}}},3197:e=>{e.exports=function(e){const t=e.createElement("iframe");return t.type="text/javascript",t.id="sublime-iframe",t.height="93.6%",t.style.position="absolute",t.style.top="6.4%",t.style.left="0",t.width="100%",t.style.borderWidth="0",{celtraIframe:t}}},5919:(e,t,i)=>{const n=i(8434),{mskinzHookNames:o}=i(1224);function r(e){const t=e.data,i=e.nodes;i.celtraIframe.contentWindow.document.open(),i.celtraIframe.contentWindow.inDapIF=!0,i.celtraIframe.contentWindow.document.write(`\n            <html>\n            <body style="margin:0">\n            ${t.celtraHtml}\n            </body>\n            </html>\n        `),i.celtraIframe.contentWindow.document.close()}e.exports={init:function(e){return n.register({namespace:o.beforeOpenPanel,callback:r.bind(null,e),multiple:!1}),e}}},9162:(e,t,i)=>{const{getProperty:n}=i(562);e.exports=function(e){return{celtraHtml:n(e,"celtra_redirect",null)}}},1224:e=>{e.exports={DOUBLE_BUFF_IMAGE_ZINDEX:2147483645,NAVBAR_ZINDEX:2147483647,PANEL_ZINDEX:2147483646,TOP_CONTAINER_ZINDEX_DEFAULT:1029,mskinzHookNames:{afterClosePanel:"event.mobile.afterClosePanel",afterOpenPanel:"event.mobile.afterOpenPanel",arrowReady:"step.mobile.arrowReady",beforeClosePanel:"event.mobile.beforeClosePanel",beforeOpenPanel:"event.mobile.beforeOpenPanel",bottomReady:"step.mobile.bottomReady",orientationChange:"event.mobile.orientationChange",swipeToMainPage:"event.mobile.swipeToMainPage",swipeToPanel:"event.mobile.swipeToPanel",swiperCreated:"event.mobile.swiperCreated",swiperTouchCancel:"event.mobile.swiperTouchCancel",swiperTouchStart:"event.mobile.swiperTouchStart",topAutoHide:"event.mobile.topAutoHide",topCloseButtonClicked:"event.mobile.topCloseButtonClicked",topImageLoaded:"event.mobile.topImageLoaded",clickMuteBtn:"event.mobile.clickMuteBtn",click:"event.mobile.click",clickBottom:"event.mobile.clickBottom",clickPanel:"event.mobile.clickPanel",clickTop:"event.mobile.clickTop",closePanel:"event.mobile.closePanel",domInteractive:"dom.interactive",openPanel:"event.mobile.openPanel",panelReady:"step.mobile.panelReady",topReady:"step.mobile.topReady"},COUNT_SLIDES:1}},1401:(e,t,i)=>{const n=i(8434),o=i(7980),{DOUBLE_BUFF_IMAGE_ZINDEX:r}=i(1224),{mskinzHookNames:a}=i(1224),{getProperty:s}=i(562),{displayGetFinalClickUrl:l}=i(4875),{create:d}=i(3721);function c(e){const t=e.root,i=e.frame,n=e.nodes.bottomContainer;return Math.max(t.scrollHeight,t.offsetHeight,t.parentNode.clientHeight)-n.clientHeight<=i.innerHeight+i.scrollY}function p(e){const t=e.data.bottomContainer.isSupportSticky,i=e.data.bottomContainer.originPaddingBottom,n=e.data.zoneParams,o=e.nodes.bottomImage,r=e.nodes.bottomContainer;n.optimizeCLS?r.style.transform=`translateY(${o.clientHeight})`:r.style.transform=t?"translate3d(0, 0, 0)":`translate3d(0, ${i}px,0)`}function u(e){const t=e.nodes.bottomContainer,i=e.data.bottomContainer.originPaddingBottom;t.style.transform=`translate3d(0, ${t.clientHeight+i}px, 0)`}e.exports={buildDOMTree:function(e,t){const i=t.zoneParams,n=t.bottomContainer.imageSrc,o=e.createElement("div");o.id="sublime-mobile-bottom-container",o.classList.add("sublime-mobile-bottom-container"),o.style.zIndex=r-1;const a=e.createElement("img");a.id="sublime-mobile-bottom-image",a.src=n,o.appendChild(a);const s=d(e,t);return t.dsa&&s&&o.appendChild(s),i.optimizeCLS||t.bottomContainer.isSupportSticky||(o.style.transform=`translate3d(0, ${t.bottomContainer.originPaddingBottom}px, 0)`),t.topContainer.isSupportSticky?o.classList.add("sublime-hidden"):o.classList.remove("sublime-hidden"),t.bottomContainer.disable&&o.classList.add("sublime-video-bottom-hidden"),{bottomContainer:o,bottomImage:a}},normalizeData:function(e,t,i){const n={},o=s(e,"mobile_setup.footer_fixed",!1)&&s(t,"mskinzConfig.footer_fixed",!1),r=s(e,"mobile_setup.bottom.showPanelWhenClicked",!0),a=s(e,"mobile_setup.bottom.src");return n.bottomContainer={clickUrl:l(e,"","mcb"),disable:!1,imageSrc:a,isFirstShow:!0,isSupportSticky:o,lastScrollY:0,originPaddingBottom:0,showPanelWhenClicked:r},t.optimizeCLS||(n.bottomContainer.originPaddingBottom=parseFloat(i.ownerDocument.defaultView.getComputedStyle(i).paddingBottom||0)),n},setupEvents:function(e){const t=e.frame,i=e.data.bottomContainer.clickUrl,r=e.data.bottomContainer.showPanelWhenClicked,s=e.nodes.bottomContainer,l=e.data.isMainPage;r?s.addEventListener("touchstart",(()=>{n.call(a.click),n.call(a.clickBottom),l&&n.call(a.swipeToPanel)})):s.addEventListener("click",(()=>{n.call("event.click"),n.call(a.click),n.call(a.clickBottom),window.open(i)})),o.setInterval((()=>{e.data.bottomContainer.lastScrollY=t.scrollY}),100)},hide:function(e){const t=e.root,i=e.nodes.bottomContainer,n=e.data.zoneParams,o=e.data.bottomContainer.originPaddingBottom;i.classList.add("sublime-hidden"),n.optimizeCLS||(t.style.paddingBottom=`${o}px`)},setVisible:function(e,t){const i=e.nodes.bottomContainer;t?i.classList.remove("sublime-hidden"):i.classList.add("sublime-hidden")},slideIn:p,update:function(e){const t=e.data.isMainPage,i=e.data.topContainer.isSupportSticky,o=e.data.topContainer.isInScreen,r=e.data.bottomContainer.isFirstShow,a=e.data.bottomContainer.lastScrollY,s=e.data,l=a-e.frame.scrollY;i||!t||o?u(e):(c(e)?p(e):i&&l>30?function(e){const t=e.root,i=e.data.zoneParams,n=e.data.bottomContainer.originPaddingBottom,o=e.nodes.bottomContainer;p(e),i.optimizeCLS||(t.style.paddingBottom=`${n+o.clientHeight}px`),o.classList.add("sublime-fixed-footer")}(e):l<=-10&&u(e),r&&!s.bottomContainer.disable&&(i&&l>30||c(e))&&(n.call("step.rendering.mskinz.bottomView"),e.data.bottomContainer.isFirstShow=!1))}}},1050:e=>{e.exports={buildDOMTree:function(e){const t=e.createElement("div");return t.id="sublime-position-indicator-block",{indicator:t}}}},8223:(e,t,i)=>{const n=i(7980);function o(e,t){e.nodes.overlay.style.opacity=t}e.exports={buildDOMTree:function(e){const t=e.createElement("div");return t.id="sublime-overlay",t.classList.add("sublime-hidden"),{overlay:t}},fadeOut:function(e){const t=e.nodes.overlay;o(e,0),n.setTimeout((()=>{t.classList.add("sublime-hidden")}),1e3)},setOpacity:o,show:function(e){e.nodes.overlay.classList.remove("sublime-hidden")}}},9481:(e,t,i)=>{const{DOUBLE_BUFF_IMAGE_ZINDEX:n,mskinzHookNames:o}=i(1224),r=i(8434),a=i(7281);e.exports={setupEvents:function(e){r.call(o.arrowReady);const t=e.nodes.panelArrowContainer;let i=e.data.panelArrowContainer.touchStartX,n=e.data.panelArrowContainer.panelOpened;function a(){n||r.call(o.swipeToPanel),t.style.transform="translate3d(0, -50% , 0)",n=!1}t.addEventListener("touchstart",(e=>{e.touches&&e.touches.length>1||(i=e.touches[0].screenX)})),t.addEventListener("touchmove",(e=>{if(e.touches&&e.touches.length>1)return;const a=(e.touches&&e.touches[0]?e.touches[0].screenX:0)-i;a<=-36&&!n?(r.call(o.swipeToPanel),n=!0):t.style.transform=`translate3d(${a}px, -50% , 0)`})),t.addEventListener("touchend",a),t.addEventListener("mousedown",(function(){const t=e.frame;t.addEventListener("mouseup",(function e(){a(),t.removeEventListener("mouseup",e)}))}))},buildDOMTree:function(e){const t=e.createElement("div");t.id="sublime-mobile-panel-arrow-container",t.style.zIndex=n-1;const i="http://www.w3.org/2000/svg",o=e.createElementNS(i,"svg");o.setAttributeNS(null,"viewBox","0 0 126 54");const r=e.createElementNS(i,"path");r.setAttributeNS(null,"d","M27,0a27,27,0,0,0,0,54H126V0Z"),r.setAttributeNS(null,"fill","#1e3c86"),o.appendChild(r);const a=e.createElementNS(i,"path");a.setAttributeNS(null,"d","M19.67,28.21l6.16,6.16A1.71,1.71,0,0,0,28.25,32L25,28.71H33.2a1.71,1.71,0,0,0,0-3.42H25l3.24-3.24a1.71,1.71,0,0,0-2.42-2.42l-6.16,6.16A1.73,1.73,0,0,0,19.67,28.21Z"),a.setAttributeNS(null,"fill","#fff"),o.appendChild(a);const s=e.createElementNS(i,"circle");return s.setAttributeNS(null,"cx","27"),s.setAttributeNS(null,"cy","27"),s.setAttributeNS(null,"r","15.22"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"stroke","#fff"),s.setAttributeNS(null,"stroke-miterlimit","10"),s.setAttributeNS(null,"stroke-width","3"),o.appendChild(s),t.appendChild(o),t.style.bottom="46.6vh",{panelArrowContainer:t}},normalizeData:function(){return{panelArrowContainer:{panelOpened:!1,touchStartX:0}}},update:function(e){const t=e.data.isMainPage,i=e.data.topContainer.isSupportSticky,n=a.isInScreen(e);i||!t||n?function(e){e.nodes.panelArrowContainer.style.marginRight="-80px"}(e):function(e){e.nodes.panelArrowContainer.style.marginRight="-36px"}(e)}}},1510:(e,t,i)=>{const n=i(8434),{isEmpty:o}=i(7710),r=i(7322),{displayWriteToContainer:a}=i(9775),{mskinzHookNames:s}=i(1224),{getProperty:l}=i(562),{displayGetFinalClickUrl:d}=i(4875);function c(e){const t=e.data.ad.id,i=e.data.html,l=e.data.panelContainer.htmlUsage,d=e.nodes.panelContainer,c=e.nodes.panelContainerIframe,u=e.root.ownerDocument,m=e.data.zoneParams;if(!o(i))if(["iframe-lazy","iframe","cross-domain-iframe"].includes(l)){if("cross-domain-iframe"===l)return void(c.src=`${r("sublime_url")}ad/${t}/iframe`);if("iframe"===l)return void p(c,i);"iframe-lazy"===l&&n.register({namespace:s.beforeOpenPanel,callback:p.bind(null,c,i),multiple:!1})}else a(m,i,u,d.id)}function p(e,t){const i=`${t}<script>var inDapIF = true;<\/script>`,n=e.contentDocument;n.open(),n.write(`<!doctype html><html><body style="margin:0">${i}</body></html>`),n.close()}e.exports={setupEvents:function(e){e.nodes.panelContainer.addEventListener("click",(()=>{const t=e.data.panelContainer.clickUrl;n.call("event.click"),n.call(s.click),n.call(s.clickPanel),window.open(t)})),n.register({namespace:s.panelReady,callback:c.bind(null,e),multiple:!1})},buildDOMTree:function(e,t){const i=t.panelContainer.image,n=t.html,r=t.panelContainer.htmlUsage,a=e.createElement("div");a.id="sublime-mobile-panel-container",a.classList.add("swiper-slide"),a.classList.add("sublime-panel-slide"),a.style.backgroundImage=`url(${i})`,a.style.marginTop=`-${l(t,"topContainer.originMarginTop",0)}px`;let s=null;if(!o(n)&&["iframe-lazy","iframe","cross-domain-iframe"].includes(r)){const t=6.4;s=e.createElement("iframe"),s.id="ayads-rich-media",s.name="ayads-rich-media",s.height=100-t+"%",s.style.position="absolute",s.style.top=`${t}%`,s.style.left="0",s.width="100%",s.style.borderWidth="0",a.appendChild(s)}return{panelContainer:a,panelContainerIframe:s}},normalizeData:function(e){return{panelContainer:{htmlUsage:l(e,"html_usage"),image:l(e,"mobile_setup.panel.src",""),clickUrl:d(e,"","mcp")}}}}},1464:(e,t,i)=>{const{DOUBLE_BUFF_IMAGE_ZINDEX:n}=i(1224);e.exports={buildDOMTree:function(e,t){const i=t.colors,o=e.createElement("div");return o.id="panel-double-buffer-image",o.classList.add("sublime-hidden"),o.style.zIndex=n,o.style.backgroundColor=i.secondary,{panelDoubleBuffLayer:o}},hide:function(e){e.nodes.panelDoubleBuffLayer.classList.add("sublime-hidden")},show:function(e){e.nodes.panelDoubleBuffLayer.classList.remove("sublime-hidden")}}},1895:(e,t,i)=>{const n=i(8434),{NAVBAR_ZINDEX:o,mskinzHookNames:r}=i(1224),{getProperty:a}=i(562),{create:s}=i(3721);function l(e){e.stopPropagation(),e.preventDefault(),n.call(r.swipeToMainPage)}function d(e,t){const i=e.nodes.panelNavBar;i.style.opacity=t,0===t&&(i.classList.add("sublime-hidden"),i.style.zIndex="0")}e.exports={setupEvents:function(e){const t=e.data.panelContainer.clickUrl,i=e.nodes.panelNavBarClose,o=e.nodes.panelNavBarBrandImage;i.addEventListener("click",l),o&&o.addEventListener("click",(()=>{n.call("event.click"),window.open(t)}))},buildDOMTree:function(e,t){const i=t.panelNavBar.color,n=t.panelNavBar.arrowColor,o=t.panelNavBar.brand,r=e.createElement("div");r.id="sublime-panel-navbar",r.style.backgroundColor=i;let a=null;o&&(a=e.createElement("img"),a.id="sublime-brand",a.classList.add("sublime-brand"),a.src=o,a.addEventListener("load",(()=>{a.height>0&&a.width/a.height<=9&&r.appendChild(a)})));const l=s(e,t);t.dsa&&l&&r.appendChild(l);const d=e.createElement("span");return d.id="sublime-mobile-panel-arrow",d.style.backgroundImage=`url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20192%20192%22%3E%3Cpath%20fill%3D%22${encodeURIComponent(n)}%22%20d%3D%22M134.79%2C150.3%2C96%2C111.51%2C57.21%2C150.3A11%2C11%2C0%2C1%2C1%2C41.7%2C134.79L80.49%2C96%2C41.7%2C57.21A11%2C11%2C0%2C1%2C1%2C57.21%2C41.7L96%2C80.49%2C134.79%2C41.7A11%2C11%2C0%2C1%2C1%2C150.3%2C57.21L111.51%2C96l38.79%2C38.79a11%2C11%2C0%2C1%2C1-15.51%2C15.51Z%22%2F%3E%3C%2Fsvg%3E')`,r.appendChild(d),{panelNavBarBrandImage:a,panelNavBar:r,panelNavBarClose:d}},normalizeData:function(e){return{panelNavBar:{color:a(e,"mobile_setup.panel.navbarColor","#000000"),arrowColor:a(e,"mobile_setup.panel.navbarArrowColor","#FFFFFF"),brand:a(e,"mobile_setup.panel.navbarBrand","#FFFFFF")}}},hide:function(e){d(e,0)},setOpacity:d,show:function(e){const t=e.nodes.panelNavBar;t.classList.remove("sublime-hidden"),t.style.zIndex=o}}},5723:(e,t,i)=>{const n=i(7281),o=i(1510);e.exports={buildDOMTree:function(e,t){const i=e.createElement("div");i.className="swiper-wrapper";let r={panelContainer:null,slideWrapper:i,topContainer:null};const a=n.buildDOMTree(e,t);r=Object.assign(r,a),i.appendChild(r.topContainer);const s=o.buildDOMTree(e,t);return r=Object.assign(r,s),i.appendChild(r.panelContainer),r}}},8308:(e,t,i)=>{const n=i(8035),o=i(8434),r=i(7980),{elapsedSinceLastCall:a}=i(8991),s=i(8223),l=i(1695),d=i(7281),c=i(6686),p=i(5723),u=i(9481),{mskinzHookNames:m,PANEL_ZINDEX:b,COUNT_SLIDES:f}=i(1224),g=i(1401),h=i(1895),v=i(1464),{getOrientationChangeHandler:y}=i(7836);function w(e){const t=e.data.swiperContainer.stopRenderer,i=e.data.bottomContainer;t||(function(e){const t=e.data.topContainer.isSupportSticky,i=e.data.topContainer.parallaxSpeed,n=e.data.topContainer.isSupportParallax,o=e.nodes.swiperContainer,r=e.frame;if(!t&&n){const e=r.scrollY*i;o.style.transform=`translate3d(0, ${e}px, 0)`}}(e),d.update(e),i&&g.update(e),u.update(e))}function A(e){e.data.isMainPage&&(function(e){const t=e.data.zoneParams.optimizeCLS,i=e.nodes.swiperContainer;t?i.style.transform=`translateX(${i.clientWidth}px)`:i.style.left=`${i.clientWidth}px`}(e),r.setTimeout((()=>{!function(e){const t=e.nodes.bottomContainer,i=e.data.bottomContainer.isSupportSticky;d.disableSupportSticky(e),C(e,!1),function(e){e.nodes.swiperContainer.style.left=0}(e),t&&r.setTimeout((()=>{g.setVisible(e,!0),i||g.slideIn(e)}),500)}(e),w(e)}),500))}function E(e,t){"landscape"===t?(e.data.stopRenderer=!0,function(e){e.nodes.ayadsHtml.classList.add("sublime-hidden"),g&&g.hide(e)}(e)):(e.data.stopRenderer=!1,function(e){const t=e.nodes.ayadsHtml,i=e.nodes.bottomContainer,n=e.data.topContainer.isSupportSticky;t.classList.remove("sublime-hidden"),i&&!n&&(i.classList.remove("sublime-hidden"),g.update(e)),e.data.swiper.update()}(e))}function C(e,t){const i=e.nodes.swiperContainer;t?(i.classList.add("sublime-top-fixed"),i.style.transform="translate3d(0, 0, 0)"):i.classList.remove("sublime-top-fixed")}function S(e){const t=e.data.swiper;h.show(e),t.slideTo(1,300),P(e)}function x(e){const t=e.data.swiper;e.data.isMainPage||(t.slideTo(0,300*(t.realIndex+1)),T(e))}function k(e){const t=e.nodes.swiperContainer;t.style.overflow="visible",t.style.zIndex=b}function _(e){const t=e.nodes.swiperContainer,i=e.data.swiperContainer.originZIndex;t.style.overflow="hidden",t.style.zIndex=i}function T(e){const t=e.frame,i=e.data.topContainer.contentScrollY,n=e.data.topContainer.isSupportSticky,s=e.root;o.call(m.beforeClosePanel),_(e),h.hide(e),i>=0&&t.scrollTo(0,i),s.classList.remove("sublime-panel-opened"),C(e,n),d.resetParallax(e),o.call(m.closePanel),function(e){e.data.swiperContainer.timeElapsedOnPanel+=a("mobilePanel"),e.data.swiperContainer.timeout1s&&r.clearTimeout(e.data.swiperContainer.timeout1s),e.data.swiperContainer.timeout3s&&r.clearTimeout(e.data.swiperContainer.timeout3s)}(e),w(e),o.call(m.afterClosePanel)}function P(e){const t=e.nodes.swiperContainer,i=e.frame,n=e.root;k(e),o.call(m.beforeOpenPanel),function(e){const t=e.frame;e.data.topContainer.contentScrollY=t.scrollY}(e),i.scrollTo(0,0),n.classList.add("sublime-panel-opened"),h.setOpacity(e,1),C(e,!0),d.disableParallax(e),t.style.transform="translate3d(0px, 0px, 0px)",o.call(m.openPanel),function(e){const t=e.data.swiperContainer.timeElapsedOnPanel;a("mobilePanel"),o.call("step.rendering.mskinz.panelView"),t<1e3&&(e.data.swiperContainer.timeout1s=r.setTimeout((()=>{o.call("step.rendering.mskinz.panelViewSec1")}),1e3-t)),t<3e3&&(e.data.swiperContainer.timeout3s=r.setTimeout((()=>{o.call("step.rendering.mskinz.panelViewSec3")}),3e3-t))}(e),w(e),o.call(m.afterOpenPanel)}e.exports={buildDOMTree:function(e,t){const i=t.colors,n=t.topContainer.isSupportSticky,o=t.topContainer.showTimer,r=e.createElement("div");r.id="sublime-mobile-top-container",r.className="swiper-container",r.style.backgroundColor=i.primary,r.style.backgroundImage=`-webkit-gradient(linear, left top, right top, from(${i.primary}), to(${i.secondary})), linear-gradient(90deg, ${i.primary}, ${i.secondary})`;let a={swiperContainer:r,topTimer:null,topCloseButton:null};const s=p.buildDOMTree(e,t);if(a=Object.assign(a,s),r.appendChild(a.slideWrapper),n)if(o){const t=l.buildDOMTree(e);a=Object.assign(a,t),r.appendChild(a.topTimer)}else{const t=c.buildDOMTree(e);a=Object.assign(a,t),r.appendChild(a.topCloseButton)}return a},normalizeData:function(){return{swiperContainer:{ayadsHtmlContainer:!1,contentScrollY:0,originZIndex:1029,startSwiperIndex:0,stopRenderer:!1,timeElapsedOnPanel:0,timeout1s:null,timeout3s:null,touchStartAt:null}}},init:function(e){const t=e.data.topContainer.isSupportSticky,i=e.nodes.swiperContainer,r=e.frame.getComputedStyle(i).zIndex;r>1&&(e.data.swiperContainer.originZIndex=r),i.style.zIndex=e.data.swiperContainer.originZIndex,o.call(m.topReady),function(e){const t=e.nodes.swiperContainer,i=new e.frame.Swiper(`#${t.id}`,{autoHeight:!0,effect:"coverflow",coverflowEffect:{slideShadows:!1},iOSEdgeSwipeDetection:!0,updateOnWindowResize:!0});e.data.swiper=i,i.on("touchStart",(()=>{e.data.swiperContainer.startSwiperIndex=i.realIndex,e.data.swiperContainer.touchStartAt=(new Date).getTime(),k(e),o.call(m.swiperTouchStart)})),i.on("touchEnd",(function(){if(s.fadeOut(e),(new Date).getTime()-e.data.swiperContainer.touchStartAt<this.params.longSwipesMs)"next"===i.swipeDirection&&0===e.data.swiperContainer.startSwiperIndex&&P(e),"prev"===i.swipeDirection&&1===e.data.swiperContainer.startSwiperIndex&&T(e),"prev"===i.swipeDirection&&0===e.data.swiperContainer.startSwiperIndex&&(_(e),o.call(m.swiperTouchCancel));else{if(e.data.swiperContainer.startSwiperIndex===i.realIndex)return void(0===e.data.swiperContainer.startSwiperIndex&&(_(e),o.call(m.swiperTouchCancel)));(function(e){return 1===e.data.swiper.previousIndex})(e)&&T(e),function(e){return 0===e.data.swiper.previousIndex}(e)&&P(e)}})),i.on("sliderMove",(()=>{s.show(e),h.show(e)})),i.on("progress",(()=>{s.setOpacity(e,i.progress),h.setOpacity(e,i.progress),function(e,t){const i=e.nodes.swiperContainer,n=e.nodes.topImage.height,o=e.frame,r=t*f*o.innerHeight;r<n?i.style.height=`${n}px`:t*f<=1&&(i.style.height=`${r}px`)}(e,i.progress),i.progress>=1?v.show(e):v.hide(e)})),i.on("slideChange",(()=>{e.data.isMainPage=0===i.realIndex}))}(e),function(e){const t=e.frame,i=e.data.ad.poorMedia,r=w.bind(null,e);n.add(t,"scroll",r),i||y(e,E),o.register({namespace:m.topCloseButtonClicked,callback:A.bind(null,e)}),o.register({namespace:m.topAutoHide,callback:A.bind(null,e)}),o.register({namespace:m.swipeToPanel,callback:S.bind(null,e)}),o.register({namespace:m.swipeToMainPage,callback:x.bind(null,e)})}(e),C(e,t),w(e),o.call(m.panelReady)},openClosePanel:function(e,t){const i=e.data.isMainPage;t&&i?o.call(m.swipeToPanel):x(e)},update:w}},6686:(e,t,i)=>{const n=i(8434),{mskinzHookNames:o}=i(1224);function r(e){const t=e.nodes.topCloseButton;t.style.opacity="0",t.style.zIndex="0"}function a(e){const t=e.nodes.topCloseButton;t.style.opacity="1",t.style.zIndex="998"}e.exports={setupEvents:function(e){const t=e.nodes.topCloseButton;t&&t.addEventListener("click",(t=>{t.preventDefault(),n.call(o.topCloseButtonClicked),n.call("step.rendering.mskinz.close"),r(e),e.data.topCloseButton.isClicked=!0}))},buildDOMTree:function(e){const t=e.createElement("div");return t.id="sublime-mobile-top-close",t.style.zIndex="996",{topCloseButton:t}},normalizeData:function(){return{topCloseButton:{isClicked:!1}}},fadeIn:a,fadeOut:r,update:function(e){const t=e.frame,i=e.data.topCloseButton.isClicked,n=e.data.isMainPage,o=e.data.topContainer.isSupportSticky,s=e.nodes.topContainer.clientHeight;!i&&n&&o&&t.scrollY>s?a(e):r(e)}}},7281:(e,t,i)=>{const n=i(8434),o=i(5080),{isDefined:r}=i(7710),{getProperty:a,hasProperty:s}=i(562),{displayGetFinalClickUrl:l}=i(4875),{mskinzHookNames:d}=i(1224),c=i(7517),p=i(6686),u=i(1695),{isUrl:m}=i(2526),{create:b}=i(3721);e.exports={setupEvents:function(e){const t=e.nodes,i=e.data,r=i.isMainPage,a=i.topContainer.clickUrl,s=i.topContainer.showPanelWhenClicked,l=t.topContainer,c=t.topImage,p=t.video,u=e.root;l.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault(),p&&p.isVpaid&&!p.vpaid.isDeleted||(s&&r?n.call(d.swipeToPanel):(n.call("event.click"),window.open(a),n.call(d.click),n.call(d.clickTop)))})),c.addEventListener("load",(()=>{const e=u.ownerDocument.documentElement.clientWidth*c.naturalHeight/c.naturalWidth;if(c.height=e,l.style.height=`${e}px`,i.zoneParams.optimizeCLS)o(`.sublime-cls.sublime-portrait > :not(#ayads-html, #sublime-mobile-bottom-container) {\n                transform: translateY(${e}px);\n            }`,u.ownerDocument);else{const t=parseFloat(u.paddingTop||0)+i.topContainer.originMarginTop;o(`.sublime-portrait {\n                padding-top: ${t+e}px !important;\n            }`,u.ownerDocument)}i.swiper.update(),n.call(d.topImageLoaded)}))},buildDOMTree:function(e,t){const i=e.createElement("div");i.id="sublime-mobile-top",i.className="swiper-slide";const n=e.createElement("img");n.id="sublime-mobile-top-image",i.appendChild(n);const o=b(e,t);t.dsa&&o&&i.appendChild(o);let r={topContainer:i,topImage:n,adInfo:o};const a=c.buildDOMTree(e,t);return r=Object.assign(r,a),i.appendChild(r.tooltip),r},normalizeData:function(e,t){const i=a(e,"mobile_setup.top.supportTopClose"),n=a(e,"mobile_setup.top.autoHideTopDuration"),o=n>0||i,d=(!r(t.mskinzConfig.footer_fixed)||Boolean(t.mskinzConfig.footer_fixed))&&o,c=a(e,"mobile_setup.top.showPanelWhenClicked",!0);let p=null;s(e,"mobile_setup.top.src")&&m(e.mobile_setup.top.src)&&(p=a(e,"mobile_setup.top.src"));const u={topContainer:{clickUrl:l(e,"","mct"),isFirstShow:!0,imageSrc:p,isSupportParallax:a(e,"mobile_setup.top.supportTopParallax",!1),isSupportSticky:d,height:0,originMarginTop:0,originPaddingTop:0,parallaxSpeed:.5,showPanelWhenClicked:c,showTimer:!1}};return u.topContainer.showTimer=!i||n>0,u},disableParallax:function(e){e.data.topContainer.isSupportParallax=!1},disableSupportSticky:function(e){e.data.topContainer.isSupportSticky=!1},isInScreen:function(e){const t=e.data.isFirstShow,i=e.data.topContainer.isSupportParallax,o=e.data.topContainer.isSupportSticky,r=e.frame,a=e.nodes.topContainer;let s;return s=!!o||(i?r.scrollY<=a.clientHeight/.5:r.scrollY<=a.clientHeight),t&&s&&(n.call("step.rendering.mskinz.topView"),e.data.isFirstShow=!1),s},resetParallax:function(e){const t=e.data.ad;e.data.topContainer.isSupportParallax=a(t,"mobile_setup.top.supportTopParallax",!1)},update:function(e){const t=e.data.topContainer.isSupportSticky,i=e.data.topContainer.showTimer;t&&(i?u.update(e):p.update(e))}}},1695:(e,t,i)=>{const{getProperty:n}=i(562),o=i(8434),r=i(7980),{mskinzHookNames:a}=i(1224);function s(e){const t=e.nodes.topTimer,i=e.data.topTimer.resetTime;t.innerText=String(Math.floor(i/1e3)+1)}function l(e){!function(e){const t=e.nodes.topTimer;t.style.opacity="0",t.style.zIndex="996"}(e),r.clearInterval(e.data.topTimer.interval),e.data.topTimer.interval=null}e.exports={buildDOMTree:function(e){const t=e.createElement("div");return t.id="sublime-mobile-top-timer",t.style.zIndex="996",{topTimer:t}},normalizeData:function(e){return{topTimer:{autoHideDuration:n(e,"mobile_setup.top.autoHideTopDuration",3),interval:null,resetTime:0,finished:!1}}},update:function(e){const t=e.nodes.topContainer.clientHeight,i=e.data.topTimer.autoHideDuration,n=e.data.topTimer.finished,d=e.data.isMainPage,c=e.data.topContainer.isSupportSticky;n||!d||!c||i<=0||e.frame.scrollY<=t?l(e):e.data.topTimer.interval||(e.data.topTimer.resetTime=1e3*i-1,s(e),function(e){const t=e.nodes.topTimer;t.style.zIndex="998",t.style.opacity="1"}(e),e.data.topTimer.interval=r.setInterval((()=>{e.data.topTimer.resetTime-=500,s(e),e.data.topTimer.resetTime<=0&&(l(e),e.data.topTimer.finished=!0,o.call(a.topAutoHide))}),500))}}},7517:(e,t,i)=>{const{getProperty:n}=i(562),o=i(1420),r=i(280);e.exports={buildDOMTree:function(e,t){return 4===t.tooltip.tooltipType?r.buildDOMTree(e):o.buildDOMTree(e)},init:function(e){return 4===e.data.tooltip.tooltipType?r.init(e):o.init(e)},normalizeData:function(e){return{tooltip:{isClicked:!1,tooltipType:4===parseInt(n(e,"mobile_setup.top.tooltipType",1),10)?4:1}}},setupEvents:function(e){return 4===e.data.tooltip.tooltipType?r.setupEvents(e):o.setupEvents(e)}}},1420:(e,t,i)=>{const n=i(8434),o=i(7980),{mskinzHookNames:r}=i(1224);function a(e){const t=e.nodes.tooltip;t.classList.add("bounce-out-right"),o.setTimeout((()=>{t.classList.remove("bounce-out-right")}),2500)}e.exports={buildDOMTree:function(e){const t=e.createElement("div");t.id="sublime-top-tooltip";const i="http://www.w3.org/2000/svg",n=e.createElementNS(i,"svg");n.setAttributeNS(null,"viewBox","0 0 26.81 56.96");const o=e.createElementNS(i,"path");return o.setAttributeNS(null,"d","M26.06.66,1.34,28.48,26.06,56.29"),o.setAttributeNS(null,"fill","none"),o.setAttributeNS(null,"stroke","#fff"),o.setAttributeNS(null,"stroke-miterlimit","10"),o.setAttributeNS(null,"stroke-width","2"),n.appendChild(o),t.appendChild(n),{tooltip:t}},init:function(e){e.nodes.topContainer.classList.add("sublime-animation-1")},setupEvents:function(e){const t=e.nodes.tooltip,i=e.data.isMainPage;a(e),o.setInterval((()=>{!function(e){e.nodes.tooltip.style.transform="translateX(0)"}(e),a(e)}),3500),t.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),i&&n.call(r.swipeToPanel)}))}}},280:(e,t,i)=>{const n=i(7980);e.exports={buildDOMTree:function(e){const t=e.createElement("div");t.id="sublime-top-tooltip";const i=e.createElement("div");i.id="animation4-images-container",t.appendChild(i);const n="https://cdn.ayads.co/",o=e.createElement("img");o.src=n+"mskinz/animation4_gesture.svg",o.id="animation4-gesture",t.appendChild(o);const r=document.createElement("img");return r.src=n+"mskinz/animation4_arrow.svg",r.id="animation4-arrow",t.appendChild(r),{tooltip:t}},init:function(e){const t=e.nodes.topContainer,i=e.nodes.topImage;t.classList.add("sublime-animation-4"),i.classList.add("sublime-animation-4-image")},setupEvents:function(e){const t=e.nodes.tooltip,i=e.nodes.topImage,o=t.querySelector("#animation4-images-container");n.setTimeout((function(){o.appendChild(i);const e=i.cloneNode();e.id=e.getAttribute("id")+"-copy",e.classList.add("animation4-image-copy"),o.appendChild(e)}),1e3)}}},6054:(e,t,i)=>{const n=i(7322),o=i(8434),r=i(2981),a=i(5080),{getProperty:s}=i(562),l=i(7762),d=i(2466),c=i(8308),p=i(1401),u=i(9481),m=i(1510),b=i(1895),f=i(6686),g=i(7281),h=i(7517),{mskinzHookNames:v}=i(1224),y=i(420);function w(e){const t=e.data,i=e.nodes,n=e.root.ownerDocument;o.call("debug.script.load"),o.call("step.creativeContainerAdded",{ad:t.ad,zoneParams:t.zoneParams}),i.ayadsHtml.appendChild(i.swiperContainer),o.call("step.rendering.mskinz.topView"),i.ayadsHtml.appendChild(i.indicator),i.ayadsHtml.appendChild(i.panelArrowContainer),i.ayadsHtml.appendChild(i.overlay),i.ayadsHtml.appendChild(i.panelNavBar),i.ayadsHtml.appendChild(i.panelDoubleBuffLayer),i.bottomContainer&&!t.ad.poorMedia&&(n.body.appendChild(i.bottomContainer),o.call(v.bottomReady),p.setupEvents(e)),u.setupEvents(e),m.setupEvents(e),b.setupEvents(e),f.setupEvents(e),g.setupEvents(e),h.setupEvents(e),c.init(e),h.init(e),o.call(v.swiperCreated)}e.exports={init:async function(e){return new Promise((t=>{const i=e.data,c=e.nodes,p=e.root,u=p.ownerDocument;s(e,"data.zoneParams.optimizeCLS",!1)&&u.body.classList.add("sublime-cls"),p.insertBefore(c.ayadsHtml,p.firstChild),o.call("step.setupZoneAd.before"),i.setupCss&&(a(i.setupCss,u),o.call("debug.applyCss")),i.setupJs&&(r(i.setupJs),o.call("debug.applyJs")),o.call("step.setupZoneAd.after"),a(y+l+d,u);const m=u.createElement("script");m.src=`${n("delivery_url")}mskinz/swiper.min.js`,u.head.append(m),m.addEventListener("load",(()=>{w(e),t(e)}))}))},initSwiper:w}},9945:(e,t,i)=>{const{openClosePanel:n}=i(8308),{makeCreativeVarsAvailable:o}=i(1842);e.exports=function(e){return o(e),e.frame.sublime.creativeAd.mobile_setup.top_sticky=e.data.topContainer.isSupportSticky,e.frame.sublime.display=e.frame.sublime.display||{},e.frame.sublime.display.mobile=e.frame.sublime.display.mobile||{},e.frame.sublime.display.mobile.panel2=e.frame.sublime.display.mobile.panel2||{},e.frame.sublime.display.mobile.panel2.openClosePanel=n.bind(null,e),e}},5841:(e,t,i)=>{const n=i(8434),{vpaid:o}=i(6009),r=i(2843),{getProperty:a}=i(562),{playVideo:s}=i(9607),{mskinzHookNames:l}=i(1224);e.exports=function(e){const t=e.data;if(!t.vpaid)return Promise.resolve(e);const i=t.isExternalVPAID,{videoContainer:d,video:c}=e.nodes,p=e.root.ownerDocument;return t.videoSize?(t.vpaid.config.height=t.videoSize.top.height,t.vpaid.config.width=t.videoSize.top.width):(t.vpaid.config.height=e.nodes.topContainer.clientHeight,t.vpaid.config.width=e.frame.innerWidth),t.vpaid.config.viewMode="normal",t.vpaid.config.bitrate=1e5,o.render(t.vpaid,{container:d,video:c}).then((u=>(n.call("step.impression.before"),e.vpaidWrapper=u,o.addExtraCss(t.vpaid.provider,t.zoneParams,p),u.on("AdStopped",(l=>{u.onStopAd(),r.info("VPAID > Ad has stopped",l),r.info("Reload video."),o.clean(d),u.isDeleted=!0,i?c.src=u.videoSlotSrc:(c.src=a(t,"ad.mobile_setup.top.video"),c.loop=!0,s(e)),n.call("debug.step.impression.after")})),n.register({namespace:l.clickMuteBtn,callback(e){u.setAdVolume(Number(!e))}}),u.on("AdRemainingTimeChange",(()=>{const t=u.creative.getAdDuration(),i=(t-u.creative.getAdRemainingTime())/t*100;e.nodes.videoProgressBar.style.width=`${i}%`})),e)))}},3235:(e,t,i)=>{const n=i(8434),o=i(8536),{buildDOMTree:r}=i(2859),a=i(9945),{setUpEvents:s}=i(3531),l=i(917),{bindAntennaTrackingToHooks:d}=i(9637),c=i(3883),p=i(5841),{setUpVideoQuartiles:u}=i(1532),m=i(329);function b(e,t,i){const n={frame:i.ownerDocument.defaultView,root:i,nodes:e,data:t};return Promise.resolve(n)}e.exports={render:function(e,t,i){m(i.ownerDocument),d(c);const f=o(e,t,i),g=r(i.ownerDocument,f);return!f.vpaid&&g.video&&u(g.video),f.vpaid||n.call("step.impression.before"),b(g,f,i).then(a).then(s).then(l).then(p).then((e=>(n.call("step.impression.after"),e)))},prepareContext:b}},917:(e,t,i)=>{const{init:n}=i(6054),{init:o}=i(7676),{init:r}=i(9833),{init:a}=i(2426),{init:s}=i(5919),{computeFromOrientation:l}=i(3531),{getOrientation:d}=i(7836);e.exports=async function(e){const t=e.data;await n(e),t.celtraHtml&&s(e),t.isVideo&&(r(e),t.isSimple&&a(e)),t.isShop&&o(e);const i=d(e);return l(e,i),e}},8536:(e,t,i)=>{const{originScript:n}=i(8841),{getProperty:o}=i(562),{adServerClickurlizeAntenna:r}=i(4875),{macrosReplace:a}=i(72),s=i(8983),l=i(1401),d=i(9481),c=i(8308),p=i(6686),u=i(7281),m=i(1695),b=i(7517),f=i(1510),g=i(1895),h=i(9162),v=i(4687),y=i(9628),{isUrl:w}=i(2526),{hasProperty:A}=i(562),{store:E}=i(5584),C=i(2979);e.exports=function(e,t,i){const S=E.getState(),x={...l.normalizeData(e,t,i),...d.normalizeData(),...f.normalizeData(e),...g.normalizeData(e),...g.normalizeData(e),...c.normalizeData(),...p.normalizeData(),...u.normalizeData(e,t),...m.normalizeData(e),...b.normalizeData(e)};x.colors={primary:o(e,"mobile_setup.panel.transitionColors.0","#1f3c86"),secondary:o(e,"mobile_setup.panel.transitionColors.1","#e9531d")};const k=e.vpaid&&e.isExternal,_=(A(e,"mobile_setup.top.video")&&w(e.mobile_setup.top.video)||A(e,"vast_url")&&w(e.vast_url))&&/^mobile-mskin-video/.test(e.creative_type)||k;let T=null,P=null,I=null,D=null,R=null;_&&(({isResume:T,shouldAutoplay:P,videoWidth:I,videoHeight:D,videoSrc:R}=y(e,t)),x.topContainer.isSupportParallax=!0);const O="mobile-mskin-video-simple"===e.creative_type;O&&(x.bottomContainer.disable=!0);let L=null;e.vpaid&&(L=s({config:{width:null,height:null,viewMode:"normal",bitrate:1e5}},e.vpaid));let z=!1,N=null;e.shopData&&({isShop:z,shopData:N}=v(e));const V="richmediaPreview"in n.dataset||C.enabled;let M="";o(e,"celtra_redirect",!1)&&(M=h(e).celtraHtml,M=a(M,e,t));let H=null;const U=Number(o(S,"creative.dsa.adrender",0));A(S,"creative.dsa")&&0===U&&(H=S.creative.dsa);const B={"\\${sub:creative:bottomImageUrl}":x.bottomContainer.imageSrc,"\\${sub:creative:bottomIsSticky}":Boolean(x.bottomContainer.isSupportSticky),"\\${sub:creative:isShop}":z,"\\${sub:creative:isVideo}":_,"\\${sub:creative:panelImageUrl}":x.panelContainer.image,"\\${sub:creative:topImageUrl}":x.topContainer.imageSrc,"\\${sub:creative:topIsSticky}":Boolean(x.topContainer.isSupportSticky),"\\${sub:creative:videoHeight}":D,"\\${sub:creative:videoUrl}":R,"\\${sub:creative:videoWidth}":I};let W="";if(e.html){const i=s(e,{click_url:r(e.click_macro,"mcp")});W=a(e.html,i,t,B)}let F=o(t,"css","")+o(e,"mobile_setup.css","");F=a(F,e,t,B);let j=o(t,"js","")+o(e,"mobile_setup.js","");return j=a(j,e,t,B),{...x,ad:e,celtraHtml:M,dsa:H,html:W,isExternalVPAID:k,isMainPage:!0,isPreview:V,isResume:T,isSimple:O,isShop:z,isVideo:_,setupCss:F,setupJs:j,shopData:N,shouldAutoplay:P,videoHeight:D,videoWidth:I,videoSrc:R,vpaid:L,zoneParams:t}}},3531:(e,t,i)=>{const n=i(8434),{getOrientationChangeHandler:o}=i(7836),{setUpEvents:r}=i(9607),{setUpEvents:a}=i(1274),s=i(8206),{getProperty:l}=i(562),{mskinzHookNames:d}=i(1224);function c(e,t){const i=e.root,o=e.nodes,r=e.data,a=r.isVideo,s=r.ad.poorMedia;i.classList.remove("sublime-portrait","sublime-landscape"),i.classList.add(`sublime-${t}`);const c=l(r,"topContainer.imageSrc"),p=l(r,"videoSrc");"portrait"===t||s?(!o.topImage.src&&c&&(o.topImage.src=c),a&&o.video&&!o.video.src&&p&&(o.video.src=p)):r.swiper.update(),n.call(d.orientationChange)}e.exports={computeFromOrientation:c,setUpEvents:function(e){const t=e.data;return s(),o(e,c),t.isVideo&&(r(e),t.isSimple&&a(e)),e}}},7230:(e,t,i)=>{const n=i(8434),o=i(2761),{adServerClickurlizeAntenna:r}=i(4875);function a(e,t,i){const o=e.createElement("div");o.classList.add("product",`product${t.index}`);const a=`mc${i.substring(0,1)}`;o.addEventListener("click",(e=>{n.call("event.click"),window.open(r(o.url,a)),e.stopPropagation()}));const s=e.createElement("img");s.className="image-product",s.src=t.image,o.appendChild(s);const l=e.createElement("div");l.className="product-infos",o.appendChild(l);const d=e.createElement("h4");d.className="title",d.innerHTML=t.name,l.appendChild(d);const c=e.createElement("p");c.className="description",c.innerHTML=t.description,l.appendChild(c);const p=e.createElement("p");return p.className="price",p.innerHTML=String(t.price),l.appendChild(p),o}e.exports=function(e,t){const{topShopFragment:i,panelShopFragment:s}=function(e,t){const i={top:null,panel:null};return Object.keys(i).forEach((s=>{const l=e.createDocumentFragment(),d=function(e,t){const i=t.shopData,n=i.privacy.optout_image_url,o=i.privacy.optout_click_url,r=e.createElement("img");return r.className="sublime-adchoice",r.style.backgroundImage=`url(${n})`,r.addEventListener("click",(()=>{window.open(o)})),r}(e,t);l.appendChild(d);const c=e.createElement("div");c.className="container-criteo";const p=e.createElement("div");if(p.className="products-container",c.appendChild(p),"panel"===s){const t=e.createElement("div");t.className="block-bottom";const i=e.createElement("p");i.className="text-bottom",i.innerHTML=o("shopDiscover"),t.appendChild(i),c.appendChild(t)}const u=function(e,t,i){const o=t.shopData,a=e.createElement("div"),s=o.url,l=o.logo,d=`mc${i.substring(0,1)}`;return a.className="product",a.style.backgroundImage=`url(${l})`,a.addEventListener("click",(e=>{n.call("event.click"),window.open(r(s,d)),e.stopPropagation()})),a}(e,t,s);p.appendChild(u);const m=function(e,t,i){const n=t.shopData,o=e.createDocumentFragment();for(let t=0;t<n.areas[i].length;t+=1){const r=n.areas[i][t];r.index=t;const s=a(e,r,i);o.appendChild(s)}return o}(e,t,s);p.appendChild(m),l.appendChild(c),i[s]=l})),{topShopFragment:i.top,panelShopFragment:i.panel}}(e,t);return{panelShopFragment:s,topShopFragment:i}}},7676:(e,t,i)=>{const n=i(5080),o=i(3776);e.exports={init:function(e){if(!e.data.isShop)return e;const t=e.root,i=e.nodes;return n(o,t.ownerDocument),i.topContainer.appendChild(i.topShopFragment),i.panelContainer.appendChild(i.panelShopFragment),e}}},4687:(e,t,i)=>{const{getProperty:n}=i(562);e.exports=function(e){const t=n(e,"shopData",null);if(!t)return{isShop:!1,shopData:null};t.areas={top:[],panel:[]};const i=Math.max(t.products.length,8);let o=t.products.slice();for(;o.length<i;)o=o.concat(o);return o=o.slice(0,i),t.areas.top=o.slice(0,3),t.areas.panel=o.slice(3,8),{isShop:!0,shopData:t}}},7060:(e,t,i)=>{const{getProperty:n}=i(562),{setVideoAttributes:o}=i(9775);e.exports=function(e,t){return{videoBackground:function(e,t){const i=e.createElement("video");return i.id="sublime-mobile-video-bg",i.classList.add("sublime-hidden"),i.src=n(t,"ad.mobile_setup.top.video"),o(i,[["autoplay",t.shouldAutoplay],["controls",!1],["loop",!1],["muted",!0],["playsinline",!0]]),i}(e,t)}}},2426:(e,t,i)=>{const n=i(5080),o=i(624);e.exports={init:function(e){if(!e.data.isSimple)return e;const t=e.root,i=e.nodes.swiperContainer;return n(o,t.ownerDocument),i.classList.add("mksinz-simple"),e}}},1274:(e,t,i)=>{const n=i(8434),{mskinzHookNames:o}=i(1224);e.exports={setUpEvents:function(e){if(!e.data.isSimple)return e;const t=e.nodes.panelContainer,i=e.nodes.video,r=e.nodes.videoBackground;return i.addEventListener("loadeddata",(()=>{r.src=i.src,t.appendChild(r),function(e){const t=e.nodes.video,i=e.nodes.videoBackground;setInterval((()=>{Math.abs(i.currentTime-t.currentTime)>=.1&&(i.currentTime=t.currentTime),i.paused!==t.paused&&(i.paused?i.play():i.pause()),i.src!==t.src&&(i.src=t.src)}),500)}(e)})),i.addEventListener("play",(()=>{r&&r.play()})),i.addEventListener("pause",(()=>{r&&(r.pause(),n.call("step.rendering.videoPause"))})),n.register({namespace:o.closePanel,callback:()=>{r.classList.add("sublime-hidden")}}),n.register({namespace:o.swiperTouchCancel,callback:()=>{r.classList.add("sublime-hidden")}}),n.register({namespace:o.openPanel,callback:()=>{r.classList.remove("sublime-hidden")}}),n.register({namespace:o.swiperTouchStart,callback:()=>{r.classList.remove("sublime-hidden")}}),e}}},3883:(e,t,i)=>{const n=i(6210),o=Object.freeze({...n});e.exports=o},9655:(e,t,i)=>{const n=i(9983),{getVideoId:o,setVideoAttributes:r}=i(9775),a=i(8434);function s(e){const t=e.createElement("div");return t.id="sublime-mobile-video-container",t.style.zIndex="2",t}function l(e){const t=e.createElement("div");return t.className="sublime-mobile-loading-bar",t}function d(e){const t=e.createElement("div");return t.className="sublime-mobile-loading-bar-progress",t}function c(e,t){a.call("debug.create.video");let i=e.getElementById(o("mobile"));return i||(i=e.createElement("video"),i.id=o("mobile")),i.style.display="",r(i,[["controls",!1],["muted",!0],["loop",!1],["preload",t.shouldAutoplay||n.is.safari?"auto":"metadata"],["playsinline",!0],["autoplay",t.shouldAutoplay]]),i}function p(e){const t=e.createElement("div");return t.id="sublime-mobile-video-sound-controls",t.className="sublime-mobile-video-mute muteOn mute-animation",t}e.exports=function(e,t){let i={videoContainer:s(e),videoProgress:l(e),videoProgressBar:d(e),muteButton:p(e),video:c(e,t),videoControls:null,videoPlayButton:null,videoPauseButtonPulseCircle:null,videoOverlay:null};const n=function(e,t){const i=e.createElement("div");i.id="sublime-mobile-video-play-controls",i.className="sublime-mobile-video-play-controls",t.shouldAutoplay&&i.classList.add("sublime-hidden");const n=e.createElement("div");n.id="sublime-mobile-video-buttons-play",n.className="play",i.appendChild(n);const o=e.createElement("div");o.id="play-video-pulsar",i.appendChild(o);const r=e.createElement("div");return r.id="sublime-mobile-video-overlay",t.shouldAutoplay&&r.classList.add("sublime-hidden"),{videoControls:i,videoPlayButton:n,videoPauseButtonPulseCircle:o,videoOverlay:r}}(e,t);return i=Object.assign(i,n),i.videoProgress.appendChild(i.videoProgressBar),i.videoContainer.appendChild(i.videoProgress),i.videoContainer.appendChild(i.muteButton),i.videoContainer.appendChild(i.videoOverlay),i.videoContainer.appendChild(i.videoControls),i.videoContainer.insertBefore(i.video,i.videoContainer.firstChild),i}},9833:(e,t,i)=>{const n=i(5080),o=i(8434),{mskinzHookNames:r}=i(1224),a=i(670);e.exports={init:function(e){if(!e.data.isVideo)return e;const t=e.root,i=e.nodes,s=i.topImage,l=i.video,d=e.frame.innerWidth,c=e.data,p=c.videoHeight,u=c.videoWidth;n(a,t.ownerDocument),o.call("debug.append.videoContainer"),i.topContainer.appendChild(i.videoContainer),o.call("step.rendering.mskinz.addVideoContainer",e);const m=u&&p?{width:d,height:d*p/u}:{width:d,height:null};if(c.topContainer.imageSrc)o.register({namespace:r.topImageLoaded,callback(){const t=function(e){const t=e.nodes.topImage,i=e.data,n=i.videoWidth,o=i.videoHeight;return n&&o?{width:n*t.height/o,height:t.height}:{width:null,height:t.height}}(e);c.videoSize={top:t,panel:m},l.height=t.height,t.width&&(l.width=t.width),e.data.swiper.update()},once:!0});else{const o=function(e){const t=e.frame,i=t.innerWidth,n=t.innerHeight,o=e.data.videoWidth,r=e.data.videoHeight,a=Math.min(n,i*r/o);return o&&r?{width:a*o/r,height:a}:{width:i,height:null}}(e);if(c.videoSize={top:o,panel:m},l.width=o.width,s.width=o.width,o.height){l.height=o.height,s.height=o.height,i.topContainer.style.height=`${o.height}px`;const e=parseFloat(t.paddingTop||0)+c.topContainer.originMarginTop;n(`.sublime-portrait {\n                padding-top: ${e+o.height}px !important;\n            }`,t.ownerDocument)}e.data.swiper.update()}return e}}},9628:(e,t,i)=>{const{getProperty:n,hasProperty:o}=i(562),{isUrl:r}=i(2526);e.exports=function(e,t){const i=n(e,"video_autoplay",!0)&&t.video.autoplay;let a=null,s=null;o(e,"video_resolution")&&([s,a]=n(e,"video_resolution").split("x").map((e=>parseInt(e,10))));let l=null;return o(e,"mobile_setup.top.video")&&r(e.mobile_setup.top.video)&&(l=e.mobile_setup.top.video),{isResume:!1,isVideoFinished:!1,shouldAutoplay:i,videoWidth:s,videoHeight:a,videoSrc:l}}},9607:(e,t,i)=>{const n=i(8434),{vpaid:o}=i(6009),{setVideoAttributes:r}=i(9775),{displayOpenTargetUrl:a}=i(4875),{mskinzHookNames:s}=i(1224),{getProperty:l}=i(562);function d(e,t){const i=e.nodes.video,n=e.nodes.muteButton;e.data.isMuted=t,t?r(i,[["muted",!0]]):i.removeAttribute("muted"),i.muted=t,n.className="sublime-mobile-video-mute "+(t?"muteOn":"muteOff")}function c(e){const t=e.nodes.video;!t.isVpaid||t.vpaid.isDeleted?t.play():t.vpaid.resumeAd()}function p(e){const t=e.nodes.video;!t.isVpaid||t.vpaid.isDeleted?t.pause():t.vpaid.pauseAd()}function u(e){const t=e.frame,i=e.nodes.topContainer.clientHeight;return t.scrollY<=.5*i}function m(e){const t=e.frame,i=e.nodes,n=i.video,o=e.data;i.swiperContainer.classList.add("sublime-video-panel-open"),i.videoContainer.style.top="6.4vh",i.videoContainer.style.height="";const a=l(o,"videoSize.panel.width"),s=l(o,"videoSize.panel.height");a&&s?r(n,[["width",a],["height",s]]):(n.removeAttribute("height"),delete n.height,r(n,[["width",t.innerWidth]])),n.isVpaid&&!n.vpaid.isDeleted&&(n.vpaid.resizeAd(n.offsetWidth,n.offsetHeight,"normal"),n.style.width="",n.style.height="")}function b(e){const t=e.nodes,i=t.topImage,n=t.video,o=e.data,a=e.data.topContainer.isSupportSticky,s=e.nodes.topContainer.clientHeight;t.swiperContainer.classList.remove("sublime-video-panel-open"),t.videoContainer.style.top="0",t.videoContainer.style.height=`${s}px`;const d=l(o,"videoSize.top.width"),p=l(o,"videoSize.top.height");d&&p?r(n,[["width",d],["height",p]]):(n.removeAttribute("width"),delete n.width,n.height=s,r(n,[["height",i.height]])),n.isVpaid&&!n.vpaid.isDeleted&&(n.vpaid.resizeAd(n.offsetWidth,n.offsetHeight,"normal"),n.style.width="",n.style.height=""),e.data.isVideoFinished||(a||u(e))&&e.data.shouldAutoplay&&c(e)}e.exports={playVideo:c,setUpEvents:function(e){if(!e.data.isVideo)return e;const t=e.frame,i=e.data,r=i.topContainer.showPanelWhenClicked,l=i.ad,f=i.zoneParams,g=e.nodes,h=g.videoControls,v=g.video,y=g.muteButton,w=g.videoOverlay,A=e.data.isMainPage;h.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault(),i.shouldAutoplay||d(e,!1),c(e)})),y.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault(),n.call(s.clickMuteBtn,!v.muted),y.classList.remove("mute-animation"),v.muted?n.call("step.rendering.mskinz.mute"):n.call("step.rendering.mskinz.unmute")})),v.addEventListener("play",(()=>{i.isResume&&n.call("step.rendering.mskinz.resume"),w.classList.add("sublime-hidden"),h.classList.add("sublime-hidden"),i.isResume=!0})),v.addEventListener("pause",(()=>{n.call("step.rendering.videoPause"),w.classList.remove("sublime-hidden"),h.classList.remove("sublime-hidden")})),n.register({namespace:o.hookNames.adLoaded,once:!0,callback(){n.register(o.hookNames.adPaused,(()=>{w.classList.remove("sublime-hidden"),h.classList.remove("sublime-hidden")})),n.register(o.hookNames.adPlaying,(()=>{w.classList.add("sublime-hidden"),h.classList.add("sublime-hidden")})),n.register(o.hookNames.adClickThru,(()=>{A&&r?n.call(s.openPanel):a(f,{},l,l.url)}))}}),n.register(s.afterOpenPanel,(()=>{n.call("step.rendering.mskinz.creativeView")})),v.addEventListener("loadstart",(()=>{n.call("step.rendering.videoStartedLoading",{video:v})})),v.addEventListener("canplaythrough",(()=>{n.call("step.rendering.videoCanplaythrough",{video:v})})),v.addEventListener("playing",(()=>{n.call("step.rendering.videoPlaying",{video:v})})),v.addEventListener("loadeddata",(()=>{n.call("step.rendering.videoLoadeddata",{video:v})}));let E=0,C=!1;return v.addEventListener("timeupdate",(()=>{if(v.vpaid&&!v.vpaid.isDeleted)return;!C&&E>v.currentTime&&(n.call("step.rendering.mskinz.rewind"),C=!0,setTimeout((()=>{C=!1}),1e3)),E=v.currentTime;const e=Math.abs((v.duration-v.currentTime)/v.duration*100-100);g.videoProgressBar.style.width=`${e}%`})),v.addEventListener("ended",(()=>{e.data.isVideoFinished=!0,n.call("step.rendering.mskinz.videoComplete")})),t.addEventListener("scroll",(()=>{const t=e.data.topContainer.isSupportSticky;u(e)?e.data.isVideoFinished||!i.shouldAutoplay&&!i.isResume||!v.paused&&v.isVpaid&&!v.vpaid.isPaused||c(e):!A||t||v.paused&&(!v.isVpaid||v.vpaid.isPaused)||p(e)})),n.register({namespace:s.topCloseButtonClicked,callback:p.bind(null,e)}),n.register({namespace:s.openPanel,callback:m.bind(null,e)}),n.register({namespace:s.closePanel,callback:b.bind(null,e)}),n.register({namespace:s.clickMuteBtn,callback:d.bind(null,e)}),e}}},1488:(e,t,i)=>{const{isUrl:n}=i(2526),{hasProperty:o}=i(562);e.exports=function(e){let t=!1;const i=["mobile toproll classic","mobile-toproll-display","mobile-toproll-video"].includes(e.creative_type);if(i){const r=o(e,"mobile_setup.top.video")&&n(e.mobile_setup.top.video),a=o(e,"mobile_setup.toproll.images")&&n(e.mobile_setup.toproll.images.expand)&&n(e.mobile_setup.toproll.images.full)&&n(e.mobile_setup.toproll.images.sticky);t=i&&(r||a)}const r=("video toproll classic"===e.creative_type||"desktop-toproll-video"===e.creative_type)&&o(e,"videos.top")&&n(e.videos.top);return n(e.originalUrl)&&(t||r)}},8199:(e,t,i)=>{const{getProperty:n}=i(562),{topRollVideoHeightBoundaries:o,topRollVideoSize:r}=i(3748),a=function(e){const t=e.nodes.content,i=e.nodes.slot,r=e.nodes.video,a=e.nodes.videoWrapper,s=e.nodes.videoBackground,l=e.nodes.ctaButton,d=e.nodes.collapseButton,c=e.nodes.playButton,p=e.nodes.adInfo,u=e.nodes.uiOverlay,m=o(e).min,b=a.classList.contains("sublime--inline"),f=Math.min(e.frame.scrollY,b?a.clientHeight:a.clientHeight-m),g=Math.min(a.clientWidth/parseFloat(r.style.width),(a.clientHeight-f)/r.clientHeight),h=(a.clientWidth-r.clientWidth)/2,v=Math.ceil((f+a.clientHeight-r.clientHeight)/2),y=(2+2*(a.clientWidth/r.clientWidth-1))*Math.max(1,(a.clientHeight-f)/r.clientHeight),w=h+s.width/2,A=v+s.height/2,E=h+(r.clientWidth-l.clientWidth)/2,C=-.15*(a.clientHeight-f);r.style.transform="translate("+h+"px, "+v+"px) scale("+g+")";const S=a.clientHeight-f;i.style.height=`${S}px`,u.style.height=`${S}px`,n(e,"data.celtraHtml",!1)?0===S?(t.style.height="1px",t.style.transform="translateY(-1px)"):(t.style.height=`${S}px`,t.style.transform=""):t.style.height=`${S}px`,i.style.top=e.frame.getComputedStyle(a).top,t.style.top=i.style.top,u.style.top=i.style.top,s.style.transform="translate("+w+"px, "+A+"px) scale("+y+")",a.style.clipPath="inset("+f+"px 0 0 0)",a.style.transform="translateY(-"+f+"px)",d.style.transform="translateY("+f+"px)",p&&(p.style.transform="translateY("+f+"px)"),l.style.transform="translate("+E+"px, "+C+"px)",c.style.transform=`translate(${h+(r.clientWidth-c.clientWidth)/2}px, ${v+(r.clientHeight-c.clientHeight)/2}px)`};e.exports={adjustVideoSize:a,setVideoSize:function(e){const t=r(e),i=e.nodes.video;i.style.width=t.width+"px",i.style.height=t.height+"px",a(e)}}},1318:(e,t,i)=>{const n=i(9983),{setVideoAttributes:o}=i(9775),r=i(2761),{create:a}=i(4035),s=i(5924),{TOPROLL_STATE_VIDEO_EXPAND:l,TOPROLL_STATE_VIDEO_FULL:d,TOPROLL_STATE_VIDEO_BANNER:c}=i(3661),{hasProperty:p,getProperty:u}=i(562),m=i(5106),{create:b}=i(3721);e.exports=function(e,t){const i=t.options.hideVideo,f=p(t,"options.images"),g=e.createElement("div");g.id="sublime-container";const h=e.createElement("div");h.id="sublime-content";const v=e.createElement("div");v.id="sublime-slot";const y=e.createElement("div");y.id="sublime-video-wrapper",i||f||(y.style.backgroundColor="#000");const w=e.createElement("canvas");w.id="sublime-video-background",f&&(w.className="sublime--hide");const A=e.createElement("video");A.id="sublime-video",i&&(A.className="sublime--hide"),t.video&&o(A,[["preload",t.video.autoplay||n.is.safari?"auto":"metadata"],["muted",!0],["playsinline",!0],["autoplay",t.video.autoplay]]),s(A);const E=e.createElement("div");E.id="sublime-ui-overlay",E.className="sublime-ui-overlay";const C=e.createElement("span");C.id="sublime-ui-touchscroll",C.className="sublime--bottom sublime--left";const S=e.createElement("span");S.id="sublime-ui-close",S.className="sublime--icon sublime--top sublime--right sublime--hide",S.setAttribute("role","button");const x=e.createElement("span");x.id="sublime-ui-cta",x.setAttribute("role","button"),x.innerText=r("topRollCTA");const k=e.createElement("span");k.id="sublime-ui-collapse",k.className="sublime--icon sublime--top sublime--right",k.setAttribute("role","button");const _=e.createElement("div");_.id="sublime-video-overlay",_.className="sublime-ui-overlay";const T=e.createElement("span");T.id="sublime-ui-sound",T.className="sublime--icon sublime--bottom sublime--left sublime--muted",T.setAttribute("role","button"),i&&(T.className="sublime--hide");const P=e.createElement("span");P.id="sublime-ui-replay",P.className="sublime--icon sublime--bottom sublime--left",P.setAttribute("role","button"),i&&(P.className="sublime--hide");const I=e.createElement("span");I.id="sublime-ui-play",I.setAttribute("role","button"),(i||u(t,"video.autoplay"))&&(I.className="sublime--hide");const D=e.createElement("img");D.id="sublime-viewability-image",D.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h.appendChild(D);const R={[l]:null,[d]:null,[c]:null};p(t,"options.images")&&Object.keys(t.options.images).forEach((i=>{const n=e.createElement("div");n.id="sublime-image-asset-"+i,n.className="sublime-image-asset",n.style.backgroundImage=`url("${t.options.images[i]}")`,"full"===i&&(n.style.opacity="1"),R[i]=n,h.appendChild(n)}));let O=null,L=null;t.celtraHtml&&(({celtraIframe:O,iframeContainer:L}=m(e)),h.appendChild(L),g.appendChild(k));const z=b(e,t);return t.dsa&&z&&(z.classList.add("sublime--icon","sublime--top","sublime--left"),E.appendChild(z)),g.appendChild(E),E.appendChild(C),E.appendChild(S),E.appendChild(x),E.appendChild(k),g.appendChild(y),t.celtraHtml||y.appendChild(w),y.appendChild(A),y.appendChild(_),_.appendChild(T),_.appendChild(P),_.appendChild(I),g.appendChild(h),g.appendChild(v),{adInfo:z,ayadsHtml:a(e),celtraIframe:O,closeButton:S,collapseButton:k,container:g,content:h,ctaButton:x,iframeContainer:L,images:R,playButton:I,replayButton:P,slot:v,soundButton:T,touchScroll:C,video:A,videoBackground:w,videoOverlay:_,videoWrapper:y,viewabilityImage:D,uiOverlay:E}}},5106:e=>{e.exports=function(e){const t=e.createElement("div");t.id="sublime-iframe-container";const i=e.createElement("iframe");return i.type="text/javascript",i.id="sublime-iframe",t.appendChild(i),{celtraIframe:i,iframeContainer:t}}},2408:(e,t,i)=>{const n=i(5080),o=i(8115);e.exports={init:function(e){const t=e.data,i=e.nodes,r=e.root,{iframeStyle:a,iframeBodyStyle:s}=function(){const e="\n            backface-visibility: hidden;\n            cursor: pointer;\n            height: 100%;\n            margin: 0;\n            overflow: hidden;\n            padding: 0;\n            transform-origin: center top;\n            transform: translateZ(0);\n            width: 100%;\n            z-index: 99;\n         ";return{iframeStyle:e,iframeBodyStyle:`\n            ${e}\n            position: absolute;\n        `}}();return n(o,r.ownerDocument),i.celtraIframe.contentWindow.document.open(),i.celtraIframe.contentWindow.inDapIF=!0,i.celtraIframe.contentWindow.document.write(`\n            <html style="${a}">\n            <body style="${s}">\n            ${t.celtraHtml}\n            </body>\n            </html>\n        `),i.celtraIframe.contentWindow.document.close(),n(`.celtra-ad-inline-host {${s}}`,r.ownerDocument),e}}},7227:(e,t,i)=>{const{getProperty:n}=i(562);e.exports=function(e){return{celtraHtml:n(e,"celtra_redirect",null)}}},2418:(e,t,i)=>{const{isObject:n}=i(7710),{isUrl:o}=i(2526),r=i(8434),{getTopRollState:a,TOPROLL_STATE_VIDEO_EXPAND:s,TOPROLL_STATE_VIDEO_FULL:l,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:d}=i(3661);function c(e,t){t.stopPropagation();const i=e.frame,n=e.data;r.call("event.click"),i.open(n.targetUrl)}e.exports={bindEventCallToAction:c,bindEventCallToActionOverlay:function(e,t){if(t.target&&t.target===e.nodes.touchScroll)return;const i=e.data.options.clickableStates||{},p=a(e),u=i[p];if(o(u)||!1===u)return o(u)&&(r.call("event.click"),e.frame.open(u)),void t.stopPropagation();const m=e.nodes.video,b=e.data;n(b.video)&&!m.ended||p!==s&&p!==l&&p!==d||c(e,t)}}},8857:e=>{e.exports={bindEventCanvas:function e(t){const i=t.nodes,n=i.video,o=i.videoBackground;o.width=n.clientWidth/2,o.height=n.clientHeight/2,o.getContext("2d").drawImage(n,0,0,n.clientWidth/2,n.clientHeight/2),t.frame.requestAnimationFrame(e.bind(null,t))}}},7193:(e,t,i)=>{i(9259);const{hasProperty:n}=i(562),o=i(8434),r=i(8035),{throttle:a}=i(2446),{SublimeCountdown:s}=i(4846),{adjustVideoSize:l}=i(8199),{getTopRollState:d,TOPROLL_STATE_VIDEO_STICKY_CLOSEABLE:c}=i(3661),p=s.COUNTDOWN_DURATION_DEFAULT;function u(e,t){const i=e.data.options.hideVideo,n=e.nodes,o=n.closeButton,r=n.videoWrapper;if(!i&&0===n.video.currentTime)return;const a=d(e)===c;t.topRollCountdown.setTimerState(a),r.classList.contains("sublime--inline")||(o.classList.contains("sublime--hide")&&a&&t.topRollCountdown.startTimer(),n.video.ended&&t.topRollCountdown.setDuration(0),o.classList.toggle("sublime--hide",!a))}e.exports={bindEventCloseButton:function(e){const t=e.frame,i=e.nodes;!function(e){const t=e.nodes,i=t.closeButton,n=t.videoWrapper;i.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();const r=!i.classList.contains("sublime--hide");i.classList.contains("sublime--icon-cross")&&r&&(n.classList.add("sublime--inline"),i.classList.toggle("sublime--hide"),l(e),o.call("event.creative.close"))}))}(e);const m=function(e){const t=e.frame,i=e.nodes.closeButton;let o=p;return n(e,"data.options.closeDelay")&&(o=e.data.options.closeDelay/1e3),new s(t,{duration:o,callbacks:{start:function(){i.classList.remove("sublime--icon-cross")},update:function(e){i.innerHTML=e},end:function(){i.innerHTML="",i.classList.add("sublime--icon-cross")}}})}(e);m.setTimerState(!1),m.startTimer(),r.add(t,"scroll",a(u.bind(null,e,{topRollCountdown:m}))),r.add(t,"resize",u.bind(null,e,{topRollCountdown:m})),i.video.addEventListener("timeupdate",(function(){if(i.video.ended&&(m.duration=0),i.video.currentTime>0){const t=d(e);m.setTimerState(t===c)}}))}}},5039:(e,t,i)=>{const n=i(8434),o=i(8035),{throttle:r}=i(2446);function a(e,t){const i=e.nodes.video;let o;return o=arguments.length>1?t:e.vpaidWrapper?!e.vpaidWrapper.getAdVolume():i.muted,e.vpaidWrapper&&e.vpaidWrapper.setAdVolume(+o),i.muted=!o,n.call(i.muted?"event.creative.mute":"event.creative.unmute"),o}e.exports={topRollToggleSound:a,bindEventForSound:function(e){const t=e.nodes.video,i=e.frame,n=e.nodes.videoWrapper;o.add(i,"scroll",r((function(){t.muted&&0===i.scrollY&&"click"===t.dataset.userAction&&a(e,!0),!t.muted&&i.scrollY>0&&a(e,!1)}))),n.addEventListener("click",(function(n){n.stopPropagation(),t.dataset.userAction="click",0===i.scrollY&&a(e)}))},bindEventForSoundUI:function(e){const t=e.nodes,i=t.video,n=t.soundButton;i.addEventListener("volumechange",(function(){n.classList.toggle("sublime--muted",i.muted)}))}}},4274:(e,t,i)=>{const n=i(8434),o=i(2843),{setVideoSize:r}=i(8199),{topRollVideoHeightBoundaries:a}=i(3748),{scrollTo:s}=i(690),{getTopRollState:l,TOPROLL_STATE_VIDEO_FULL:d,TOPROLL_STATE_VIDEO_EXPAND:c,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:p}=i(3661),{topRollToggleSound:u}=i(5039),{getProperty:m}=i(562);function b(e,t){const i=e.data,n=m(i,"video.autopause"),o=e.nodes,r=o.video,a=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>e.HAVE_CURRENT_DATA}(r),s=function(e){return e.currentTime>0&&e.paused&&!e.ended}(r),d={videoPlaying:a,soundOn:a&&!o.video.muted};if(n)return t&&s?(r.play(),d.videoPlaying=!0):!t&&a&&(r.pause(),d.videoPlaying=!1),d;if("click"!==r.dataset.userAction)return d.videoPlaying=!1,d;const p=l(e)===c;return d.soundOn=u(e,t&&p),d}e.exports={topRollBindPlayVideo:function(e){const t=e.nodes;(t.video.play()||Promise.resolve()).then((()=>{t.playButton.classList.add("sublime--hide")})).catch((e=>{o.log("Play failed",e)}))},topRollBindReplayVideo:function(e){const t=e.nodes.video.play()||Promise.resolve();n.call("event.creative.rewind"),t.catch((function(e){o.log("Replay failed",e)}))},topRollBindLoadedmetadataVideo:function(e){r(e);const t=l(e);if(t===d||t===p){const t=a(e);s(e.frame,0,t.max-t.optimal)}},topRollBindVisibilitychange:function(e){b(e,"visible"===e.frame.document.visibilityState)},topRollBindViewabilityChange:function(e){const t=a(e),i=t.min/t.max/2,n={root:e.frame.document,threshold:i},o=new IntersectionObserver((([t])=>b(e,t.intersectionRatio>i)),n);return o.observe(e.nodes.videoWrapper),o},setVideoState:b}},3748:e=>{const t=9/16,i=.32;e.exports={topRollVideoHeightBoundaries:function(e){const n=e.frame;if(n.innerWidth>n.innerHeight)return{optimal:n.innerHeight/4,min:n.innerHeight/8,max:n.innerHeight};const o=n.document.documentElement,r=Math.max(o.clientWidth,n.innerWidth),a=Math.max(o.clientHeight,n.innerHeight)*i,s=e.nodes.video.videoWidth,l=r*(e.nodes.video.videoHeight/s||t),d=Math.min(l,a);return{optimal:d,min:d/2,max:n.innerHeight}},topRollVideoSize:function(e){const n={width:e.frame.innerWidth,height:e.frame.innerHeight},o=e.nodes.video.videoHeight/e.nodes.video.videoWidth||t,r=n.width*o;return n.height>n.width&&e.nodes.video.videoWidth>e.nodes.video.videoHeight&&r>n.height*i?{width:Math.floor(n.height*i/o),height:Math.floor(n.height*i)}:r>n.height?{width:Math.floor(n.height/o),height:Math.floor(n.height)}:{width:Math.floor(n.width),height:Math.floor(r)}}}},3264:(e,t,i)=>{i(9259);const{getTopRollState:n,setTopRollState:o}=i(3661),{makeCreativeVarsAvailable:r}=i(1842);e.exports=function(e){return r(e),e.frame.sublime.setTopRollState=o.bind(e.frame,e),e.frame.sublime.getTopRollState=n.bind(e.frame,e),e}},3678:(e,t,i)=>{const n=i(8434);i(9259),i(6009);const{adjustVideoSize:o,setVideoSize:r}=i(8199),{isUrl:a}=i(2526);e.exports=function(e){const t=window.sublime.vpaid,{slot:i,video:s}=e.nodes,l=e.data,d=e.root.ownerDocument;return l.vpaid?(l.vpaid.config.width=i.clientWidth,l.vpaid.config.height=i.clientHeight,n.register("step.vpaid.videoSlotSrc",(({videoSlotSrc:e})=>{a(l.video.src)||(l.video.src=e,Object.defineProperty(s,"src",{value:e,writable:!1}))})),n.register("step.vpaid.adStopped",(()=>{r(e)})),t.render(l.vpaid,{container:i,video:s}).then((function(i){return e.vpaidWrapper=i,t.addExtraCss(l.vpaid.provider,l.zoneParams,d),o(e),e}))):Promise.resolve(e)}},4124:(e,t,i)=>{const n=i(7322),o=i(8434),{trackVideoPlayback:r}=i(4135),{setUpVideoQuartiles:a}=i(1532),{setSetupZone:s}=i(7396),l=i(9431),d=i(1318),{interceptScrollTo:c}=i(690),p=i(3264),u=i(3678),{setUpEvents:m}=i(4724),b=i(9540),{bindAntennaTrackingToHooks:f}=i(9637),g=i(2696),{isObject:h}=i(7710),v=i(329);function y(e,t,i){const n={frame:i.ownerDocument.defaultView,root:i,nodes:e,data:t,scrollY:void 0};return Promise.resolve(n)}e.exports={render:function(e,t,i){v(i.ownerDocument),f(g);const w=l(e,t),A=d(i.ownerDocument,w);return"rsa"===n("mode")?w.vpaid||a(A.video):w.vpaid?o.register("step.vpaid.adImpression",(()=>{o.call("step.impression.before"),o.call("step.impression.after")})):(r(A.video,[[0,o.call.bind(null,"step.impression.before")],[0,o.call.bind(null,"step.impression.after")]]),a(A.video)),s(t,i.ownerDocument),w.video&&"number"==typeof w.video.duration&&(e.video_duration=w.video.duration),"rsa"===n("mode")||h(w.video)&&!w.video.autoplay||"mobile-toproll-display"===e.creative_type?o.call("step.impression.before"):o.call("step.creative.impressionOld"),y(A,w,i).then(c).then(p).then(m).then(b).then(u).then((e=>(o.call("step.impression.after"),e)))},prepareContext:y}},9540:(e,t,i)=>{const n=i(5080),{hasProperty:o,getProperty:r}=i(562),{isObject:a,isString:s}=i(7710),l=i(8434),{displayWriteToContainer:d}=i(9775),{setVideoSize:c}=i(8199),{init:p}=i(2408),{didMutateDOM:u}=i(690),{getTopRollState:m,setTopRollState:b,topRollStateListener:f,TOPROLL_STATE_VIDEO_EXPAND:g,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:h,TOPROLL_STATE_VIDEO_FULL:v}=i(3661),{applyRootNodeClasses:y}=i(4724),w=i(420),A=i(7532),E=i(6070);e.exports=function(e){const t=e.data,i=e.nodes,C=e.root,S=e.frame,x=e.nodes.container,k=o(t,"options.hideVideo")&&t.options.hideVideo,_=Boolean(r(t,"celtraHtml",!1));if(y(e),C.classList.add("sublime-toproll"),k||C.classList.add("sublime-toproll-loading"),n(`${w}\n${A}\n${E}`,C.ownerDocument),r(e,"data.zoneParams.optimizeCLS",!1)?(x.style.height=0,n(`\n            .sublime-cls > :not(#sublime-container) {\n                transform: translateY(${S.innerHeight}px);\n            }`,C.ownerDocument),C.ownerDocument.body.classList.add("sublime-cls")):x.style.height=S.innerHeight+"px",C.insertBefore(x,C.firstChild),u(),c(e),f(e),_)if(k){const t=e.frame.getComputedStyle(i.content).zIndex;i.videoWrapper.style.zIndex=t-1}else i.videoWrapper.style.backgroundColor="",i.videoWrapper.style.pointerEvents="none";return function({content:i,uiOverlay:n}){let o=!1;const r=["wheel","mousedown","mousemove","mouseup","touchstart","touchmove","touchend","pointerdown","pointermove","pointerup"];function a(){o=!0,t.celtraHtml&&(i.style.pointerEvents="initial",n.style.pointerEvents="none"),r.forEach((e=>{S.removeEventListener(e,a)}))}r.forEach((e=>{S.addEventListener(e,a)})),function t(){if(o)return;const i=m(e);i!==h&&i!==g||b(e,v),e.frame.requestAnimationFrame(t)}()}(i),t.celtraHtml&&p(e),t.html&&(C.insertBefore(i.ayadsHtml,C.firstChild),d(t.zoneParams,t.html,C.ownerDocument)),!t.vpaid&&a(t.video)&&s(t.video.src)&&i.video.setAttribute("src",t.video.src),l.call("step.creativeContainerAdded",{ad:t.ad,zoneParams:t.zoneParams}),e}},690:(e,t,i)=>{const n=i(8983),o=i(8434),r=i(2843),a=new Map;function s(e){s.inStack=!0;const t=(a.get(e)||e).scrollTo,i=Array.prototype.slice.call(arguments,1);t.apply(e,i),s.inStack=!1}function l(){l.inProgress?r.warn("A previous call to didMutateDOM() is still in progress"):(l.inProgress=!0,window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){l.inProgress=!1}))})))}s.inStack=!1,l.inProgress=!1,e.exports={scrollTo:s,didMutateDOM:l,interceptScrollTo:function(e){"use strict";const t=e.frame;function i(e){if(Number.isFinite(e.top)){const i=n(e);return i.top+=t.innerHeight,i}return e}function r(e){return function(){if(2===arguments.length){const e=i({left:arguments[0],top:arguments[1]});arguments[0]=e.left,arguments[1]=e.top}else arguments[0]=i(arguments[0]);a.get(t)[e].apply(this,arguments)}}return a.set(t,{scroll:t.scroll,scrollTo:t.scrollTo}),t.scroll=r("scroll"),t.scrollTo=r("scrollTo"),o.register("event.cleanUp",(function(){t.scroll=a.get(t).scroll,t.scrollTo=a.get(t).scrollTo,a.delete(t)})),e}}},9431:(e,t,i)=>{i(9259);const{isObject:n,isNum:o}=i(7710),r=i(8983),{hasProperty:a,getProperty:s}=i(562),{isUrl:l}=i(2526),{macrosReplace:d}=i(72);i(6009);const{displayGetFinalClickUrl:c}=i(4875),p=i(7227),{TOPROLL_STATE_VIDEO_EXPAND:u,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:m,TOPROLL_STATE_VIDEO_BANNER:b,TOPROLL_STATE_VIDEO_STICKY:f,TOPROLL_STATE_VIDEO_STICKY_CLOSEABLE:g,TOPROLL_STATE_VIDEO_FULL:h}=i(3661),{store:v}=i(5584);e.exports=function(e,t){const i=v.getState(),y=window.sublime.vpaid;let w,A="mobile";"mobile toproll classic"===e.creative_type||"mobile-toproll-display"===e.creative_type||"mobile-toproll-video"===e.creative_type?A="mobile":"video toproll classic"!==e.creative_type&&"desktop-toproll-video"!==e.creative_type||(A="desktop"),"mobile"===A&&a(e,"mobile_setup.top.video")?w={src:e.mobile_setup.top.video,autopause:0!==e.mobile_setup.auto_pause,autoplay:s(e,"video_autoplay",!0)&&t.video.autoplay}:"desktop"===A&&(w={src:e.videos.top,autopause:!1,autoplay:s(e,"video_autoplay",!0)&&t.video.autoplay}),w&&"number"==typeof e.video_duration&&(w.duration=e.video_duration);let E=null;e.vpaid&&(E=r({config:y.defaultInitAdParams},e.vpaid));const C=e.redirectData,S=c(e),x=function(e,t,i,r){const s={},c="mobile"===i&&e.mobile_setup.toproll?e.mobile_setup.toproll:{};if(s.hideVideo=e&&"mobile-toproll-display"===e.creative_type,a(c,"images.expand")&&a(c,"images.full")&&a(c,"images.sticky")){s.images=Object.keys(c.images).filter((e=>l(c.images[e]))).reduce(((e,t)=>(e[t]=c.images[t],e)),{});const e=["expand","full","sticky"].every((e=>Object.keys(s.images).includes(e)));e||delete s.images}return n(c.clickableStates)&&(s.clickableStates=Object.keys(c.clickableStates).filter((e=>l(c.clickableStates[e])||!0===c.clickableStates[e]||!1===c.clickableStates[e])).reduce(((i,n)=>{let o=c.clickableStates[n];return!0===o?o=r:l(o)&&(o=d(o,e,t)),i[n]=o,n===u?i[m]=o:n===h?i[b]=o:n===f&&(i[g]=o),i}),{})),o(c.closeDelay)&&(s.closeDelay=c.closeDelay),s}(e,t,A,S);let k=null;s(e,"celtra_redirect",!1)&&(k=p(e).celtraHtml,k=d(k,e,t));let _=null;const T=Number(s(i,"creative.dsa.adrender",0));a(i,"creative.dsa")&&0===T&&(_=i.creative.dsa);const P={"\\${sub:creative:videoUrl}":s(w,"src",""),"\\${sub:creative:expandImageUrl}":s(x,"images.expand",""),"\\${sub:creative:fullImageUrl}":s(x,"images.full",""),"\\${sub:creative:stickyImageUrl}":s(x,"images.sticky","")};return{ad:e,celtraHtml:k,dsa:_,html:d(e.html||"",e,t,P),options:x,redirect:C,targetUrl:S,type:A,video:w,vpaid:E,zoneParams:t}}},4724:(e,t,i)=>{i(9259);const n=i(8434),o=i(8035),{throttle:r}=i(2446),{adjustVideoSize:a,setVideoSize:s}=i(8199),{VIDEO_QUARTILES_NAMES:l}=i(1532),{bindEventForSound:d,bindEventForSoundUI:c}=i(5039),{bindEventCloseButton:p}=i(7193),{bindEventCanvas:u}=i(8857),{setTopRollState:m,goToPreviousTopRollState:b,topRollStateListener:f,TOPROLL_STATE_VIDEO_EXPAND:g,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:h,TOPROLL_STATE_VIDEO_BANNER:v,TOPROLL_STATE_VIDEO_STICKY:y,TOPROLL_STATE_VIDEO_STICKY_CLOSEABLE:w,TOPROLL_STATE_VIDEO_FULL:A}=i(3661),{trackVideoPlayback:E}=i(4135),{topRollBindPlayVideo:C,topRollBindReplayVideo:S,topRollBindLoadedmetadataVideo:x,topRollBindVisibilitychange:k,topRollBindViewabilityChange:_}=i(4274),{bindEventCallToAction:T,bindEventCallToActionOverlay:P}=i(2418),{getOrientation:I}=i(8841),D=i(9983),R=i(8206);function O(e,t){l.forEach((function(i,n){e.classList.toggle("sublime--video-"+i,n===t)}))}function L(e){const t=e.root,i=e.data.isPreview?I(t.ownerDocument.defaultView):D.orientation;t.classList.remove("sublime-portrait","sublime-landscape"),t.classList.add(`sublime-${i}`)}e.exports={applyRootNodeClasses:L,setUpEvents:function(e){const t=e.frame,i=t.document.body,l=e.nodes,I=e.data,D=I.redirect;R();const z=L.bind(null,e);o.add(window.screen.orientation,"change",z),o.add(t,"scroll",r(f.bind(null,e))),o.add(t,"scroll",r(a.bind(null,e))),o.add(t,"resize",r(s.bind(null,e))),o.add(t,"orientationchange",s.bind(null,e)),"object"==typeof D&&D.isDSPValidationPreview?l.videoOverlay.addEventListener("click",T.bind(null,e)):(l.playButton.addEventListener("click",C.bind(null,e)),l.ctaButton.addEventListener("click",T.bind(null,e)),l.videoOverlay.addEventListener("click",P.bind(null,e)),l.collapseButton.addEventListener("click",b.bind(null,e)),l.touchScroll.addEventListener("click",m.bind(null,e,g)),l.videoWrapper.addEventListener("click",m.bind(null,e,g))),c(e),d(e),p(e),l.video.addEventListener("loadedmetadata",x.bind(null,e)),l.video.addEventListener("loadedmetadata",u.bind(null,e)),l.video.addEventListener("play",(function(){i.classList.remove("sublime-toproll-loading")})),l.video.addEventListener("play",a.bind(null,e)),l.video.addEventListener("ended",a.bind(null,e)),E(l.video,[["0%",O.bind(null,i,0)],["25%",O.bind(null,i,1)],["50%",O.bind(null,i,2)],["75%",O.bind(null,i,3)],["100%",O.bind(null,i,4)]],!0),l.replayButton.addEventListener("click",S.bind(null,e)),o.add(t,"visibilitychange",k.bind(null,e));const N=_(e);if(n.register("event.cleanUp",(function(){N.unobserve(l.videoWrapper),i.className=i.className.replace(/sublime-\S+/gi,"").trim(),i.removeChild(l.container)})),I.options.images){const e={[g]:l.images.expand,[h]:l.images.expand,[A]:l.images.full,[v]:l.images.full,[y]:l.images.sticky,[w]:l.images.sticky};n.register("event.creative.transition",(({previousState:t,newState:i})=>{t!==i&&(Object.keys(e).forEach((t=>{e[t].style.opacity="0"})),e[i]&&(e[i].style.opacity="1"))}))}return e}}},3661:(e,t,i)=>{const n=i(2843),o=i(8434),{topRollVideoHeightBoundaries:r}=i(3748),{scrollTo:a}=i(690),{getScrollCauses:s}=i(1115),l="expand",d="expand-transition",c="full",p="banner",u="sticky",m="sticky-closeable";let b,f;function g(e){const t=e.frame,i=r(e);let n;return t.scrollY<=0?n=l:t.scrollY<Math.floor(i.max-i.optimal)?n=d:t.scrollY===Math.floor(i.max-i.optimal)?n=c:t.scrollY>Math.floor(i.max-i.optimal)&&t.scrollY<=i.max-i.min?n=p:t.scrollY>=t.innerHeight?n=m:t.scrollY>i.max-i.min&&(n=u),n}function h(e,t,i){if(i&&i.stopPropagation(),t===g(e))return;const o=e.frame,s=r(e);switch(t){case l:e.scrollY=o.scrollY,a(o,0,0);break;case d:case c:a(o,0,Math.floor(s.max-s.optimal));break;case p:a(o,0,s.max-s.min);break;case u:case m:if("number"!=typeof e.scrollY)return;a(o,0,e.scrollY);break;default:n.warn("Unknown state: "+t+"; valid states are: "+[l,c,p,u,m].join(", "))}}e.exports={getTopRollState:g,setTopRollState:h,goToPreviousTopRollState:function(e,t){t&&t.stopPropagation(),f!==b&&h(e,f,t)},topRollStateListener:function(e){const t=g(e);t!==b&&(f=b,b=t,function(e,t,i){if(void 0!==e&&t===l){const e=s();o.call("event.creative.expand",{qs:{pbr:e.join("|"),dlt:i.nodes.video.currentTime}})}o.call("event.creative.transition",{previousState:e,newState:t}),i.frame.document.body.classList.toggle("sublime-toproll-expand",t===l),i.frame.document.body.classList.toggle("sublime-toproll-expand-transition",t===d),i.frame.document.body.classList.toggle("sublime-toproll-full",t===c),i.frame.document.body.classList.toggle("sublime-toproll-banner",t===p),i.frame.document.body.classList.toggle("sublime-toproll-sticky",t===u),i.frame.document.body.classList.toggle("sublime-toproll-sticky-closeable",t===m)}(f,b,e))},TOPROLL_STATE_VIDEO_EXPAND:l,TOPROLL_STATE_VIDEO_EXPAND_TRANSITION:d,TOPROLL_STATE_VIDEO_FULL:c,TOPROLL_STATE_VIDEO_BANNER:p,TOPROLL_STATE_VIDEO_STICKY:u,TOPROLL_STATE_VIDEO_STICKY_CLOSEABLE:m}},2696:(e,t,i)=>{const{store:n}=i(5584),{hasProperty:o}=i(562),r=i(6210),a=Object.freeze({...r,"event.creative.close":[()=>({e:"close"})],"event.creative.complete":[()=>({e:"complete"})],"event.creative.expand":[({qs:e})=>({e:"expand",...e})],"event.creative.mute":[()=>({e:"mute"})],"event.creative.pause":[()=>({e:"pause"})],"event.creative.resume":[()=>({e:"resume"})],"event.creative.rewind":[()=>({e:"rewind"})],"event.creative.unmute":[()=>({e:"unmute"})],"step.creative.impressionOld":[()=>{const e=n.getState(),t={e:"vd"};return o(e,"prebider.adapterVersion")&&(t.pbav=e.prebider.adapterVersion),t}]});e.exports=a},3697:(e,t,i)=>{const{getPageHeight:n,isOptimalHeight:o}=i(8841),r=i(7322),a=i(8983),{isEmpty:s,isString:l,pInt:d,isObject:c}=i(7710),p=i(1946),u=i(2843),{store:m}=i(5584),{createConnectorUpdater:b}=i(6760),f=i(8466),{xhr:g}=i(3203),{hasProperty:h,deepCopy:v}=i(562),y=i(9334),w=i(9983),A=i(2979),{sspResponseCodes:E,sspRequestGetBaseKeywords:C}=i(8547),S="appnexus",x=[3538,3539,3540],k=7e3;function _(e){let t={tag:r("mode"),gc:String(Number(y.getSublimeConsent())),gm:String(Number(y.cmpHasAnswered())),screen:w.screen};const i=C();t=a(t,i);const s=(r("zone").accepted_placement_types||{})[w.type]||{};Object.keys(s).forEach((function(e){t[e]="true"})),n()>=k&&(t.page_height="large"),e.acceptVideo&&o(w.type)&&(t.vskinz="true");const l=function(){const e=r("sspRequestExtraKeywords")||{};let t={};return w.type in e&&(t=v(e[w.type])),t}();l&&(t=a(t,l)),c(A.notPreviewParams.sspKeywords)&&(u.info("appnexusRequest: found preview keywords",A.notPreviewParams.sspKeywords),t=a(t,A.notPreviewParams.sspKeywords));const d=[];return Object.keys(t).forEach((e=>{d.push({key:e,value:Array.isArray(t[e])?t[e].map(String):[String(t[e])]})})),d}function T(e,t){const i=m.getState(),n={member_id:"none",sdk:{source:"ast",version:"0.16.2"},tags:[{ad_types:["banner"],allow_smaller_sizes:!1,id:e.id,keywords:[],prebid:!0,primary_size:{width:1800,height:1e3},sizes:[{width:1800,height:1e3}],use_pmt_rule:!0,uuid:f.get()}],uuid:f.get(),gdpr_consent:{}};return s(y.getConsentString())||(n.gdpr_consent={consent_string:y.getConsentString(),consent_required:y.isActive()}),w.is("desktop")?n.tags[0].reserve=r("apnReservePriceDesktopUSD"):w.is("mobile")&&(n.tags[0].reserve=r("apnReservePriceMobileUSD")),t.isMobile&&(n.tags[0].primary_size={width:640,height:300},n.tags[0].sizes=[{width:640,height:300}]),t.acceptVideo&&o(w.type)&&n.tags[0].ad_types.push("video"),t.acceptVideo&&(n.tags[0].video={context:4,frameworks:[1,2]}),s(y.isActive())||(n.gdpr_consent={consent_string:y.getConsentString()||"",consent_required:y.isActive()}),p("appnexusSendImpressionId")&&(n.tags[0].external_imp_id=f.get("p")),n.tags[0].keywords=_(t),p("sendSupplychain")&&(n.schain=i.call.supplyChain),h(i.call,"dsa")&&c(i.call.dsa)&&!s(i.call.dsa)&&(n.dsa=i.call.dsa),n}function P(e,t,i){try{const n=JSON.parse(e),o=!n.tags[0].nobid,r=h(n,"tags.0.ads.0.deal_id")?n.tags[0].ads[0].deal_id:null,c=h(n,"tags.0.ads.0.buyer_member_id")?d(n.tags[0].ads[0].buyer_member_id,10):null,p=s(r)&&!x.includes(c),b=h(n,"tags.0.ads.0.rtb.video.content");let f;o&&p?f="open_auction":r?f="deal":s(r)&&x.includes(c)&&(f="direct");const g={buyerId:c,dealId:r,monetizationType:f};if(m.updateState(D,a(i,g)),h(n,"tags.0.ads.0.dsa")&&m.updateState((e=>a(e,{creative:{dsa:n.tags[0].ads[0].dsa}}))),w.is.mobile&&p&&!b){u.warn("Open auction from Appnexus blocked : no deal_id in Appnexus response");const e=E.PARAMETERS_ERROR;return m.updateState(D,a(i,{errorCode:e})),t({sspName:S,success:!1,error_code:e})}return b?function(e,t){return e({sspName:S,success:!0,srcType:"vast-string",vast:t.tags[0].ads[0].rtb.video.content})}(t,n):function(e,t,i){let n,o,r,d=[];try{n=t.tags[0].ads[0].content_source,o=t.tags[0].ads[0][n],r=o.banner.content||"",h(o,"trackers.0.impression_urls")&&(d=o.trackers[0].impression_urls)}catch(t){const n=E.EMPTY_RESPONSE;return m.updateState(D,a(i,{errorCode:n})),e({sspName:S,success:!1,error_code:n})}if(!l(r)||s(r.trim())){const t=E.EMPTY_RESPONSE;return m.updateState(D,a(i,{errorCode:t})),e({sspName:S,success:!1,error_code:t})}for(let e=0;e<d.length;e+=1)r+='<img src="'+d[e]+'" />';return e({sspName:S,success:!0,srcType:"html",html:r})}(t,n,i)}catch(e){const n=E.EMPTY_RESPONSE;return m.updateState(D,a(i,{errorCode:n})),t({sspName:S,success:!1,error_code:n})}}function I(e,t){const i=a({async:!0,timeout:1e3},t),n=T(e,i);return new Promise((function(t){const o=performance.now();g(e.url,{async:i.async,timeout:i.timeout,withCredentials:r("xhrWithCredentials"),method:"POST",headers:{"Content-Type":"text/plain"},data:n,success:i=>(m.updateState(D,a(e,{responseTime:Math.floor(performance.now()-o)})),P(i,t,e)),error(){const i=E.REQUEST_ERROR;return m.updateState(D,a(e,{errorCode:i,responseTime:Math.floor(performance.now()-o)})),t({sspName:S,success:!1,error_code:i})},onTimeout(){const i=E.TIMEOUT;return m.updateState(D,a(e,{errorCode:i,responseTime:Math.floor(performance.now()-o)})),t({sspName:S,success:!1,error_code:i})}})}))}const D=b(((e,t)=>{const i={};return t.buyerId&&(i.buyerId=t.buyerId),t.dealId&&(i.dealId=t.dealId),t.monetizationType&&(i.monetizationType=t.monetizationType),t.errorCode&&(i.errorCode=t.errorCode),t.responseTime&&(i.responseTime=t.responseTime),a({},e,{response:i})}),(function(e){return e.aid}));"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.sspRequest=window.sublime.sspRequest||{},window.sublime.sspRequest.appnexusRequest={call:I}),e.exports={appnexusRequestCall:I,appnexusRequestGetKeywords:_,appnexusRequestGetDataParams:T,appnexusRequestSuccessCallback:P,appnexusRequestSourceUpdater:D}},2033:(e,t,i)=>{const n=i(7322),{xhr:o}=i(3203),{isDefined:r}=i(7710),{prepareData:a,prepareUrl:s}=i(8073),{onSuccess:l,onError:d,onTimeout:c}=i(336),{store:p}=i(5584);e.exports={improveRequestCall:function(e,t){let i=s(e);const u=performance.now(),m=p.getState().call.zoneId;let b={};return[39746,39747,39749,39750,39751,39752,39780,39781].includes(m)&&(b={"Content-Type":"text/plain"}),new Promise((s=>{const p=a(e,t);o(i,{async:!r(t.async)||t.async,timeout:r(t.timeout)?t.timeout:1e3,withCredentials:n("xhrWithCredentials"),method:"POST",headers:b,data:p,success:t=>s(l(t,{...e,responseTime:Math.floor(performance.now()-u)})),error:(t,n)=>s(d({...e,responseTime:Math.floor(performance.now()-u),calledUrl:i,calledData:p},t,n)),onTimeout:()=>s(c({...e,responseTime:Math.floor(performance.now()-u)}))})}))}}},6816:(e,t,i)=>{const{getPageHeight:n,isOptimalHeight:o}=i(8841),r=i(9983),a=i(7322),s=i(2843),l=i(8983),d=i(2979),c=i(9334),{isObject:p}=i(7710),{sspRequestGetBaseKeywords:u}=i(8547);e.exports={getKeywords:function(e){let t={tag:a("mode"),gc:String(Number(c.getSublimeConsent())),gm:String(Number(c.cmpHasAnswered())),screen:r.screen};const i=u();t=l(t,i);const m=(a("zone").accepted_placement_types||{})[r.type]||{};Object.keys(m).forEach((e=>{t[e]="true"})),n()>=7e3&&(t.page_height="large"),e.acceptVideo&&o(r.type)&&(t.vskinz=!0),p(d.notPreviewParams.sspKeywords)&&(s.info("improveRequest: found preview keywords",d.notPreviewParams.sspKeywords),t=l(t,d.notPreviewParams.sspKeywords));const b=(a("sspRequestExtraKeywords")||{})[r.type]||{};Object.keys(b).forEach((e=>{t[e]=b[e]}));const f=[];return Object.keys(t).forEach((e=>{let i;i=Array.isArray(t[e])?t[e].map((e=>String(e))):[String(t[e])],f.push({key:e,values:i})})),f}}},9358:e=>{e.exports=function(e){let t=335,i=e.id;if(String(e.id).indexOf("|")>0){const n=String(e.id).split("|");t=n[0],i=Number(n[1])}return{placementId:i,publisherId:t}}},336:(e,t,i)=>{const{sspResponseCodes:n}=i(8547),{isEmpty:o}=i(7710),{store:r}=i(5584),{createConnectorUpdater:a}=i(6760),s=i(8983),{escapeHTML:l}=i(1703),{hasProperty:d}=i(562),{applyCookieSync:c}=i(9412),p=i(2621),u=a((function(e,t){const i={};return"classic"===t.buying_type?(i.monetizationType="direct",t.line_item_id&&(i.insertionId=t.line_item_id),t.crid&&(i.externalCreativeId=t.crid)):"deal_id"===t.buying_type||"always_on_deal"===t.buying_type?(i.monetizationType="deal",t.line_item_id&&(i.dealId=t.line_item_id)):"rtb"===t.buying_type&&(i.monetizationType="open_auction"),t.errorCode&&(i.errorCode=t.errorCode),t.responseTime&&(i.responseTime=t.responseTime),s({},e,{response:i})}),(function(e){return e.aid}));e.exports={onSuccess:function(e,t){let i;try{i=JSON.parse(e)}catch(e){const i=n.PARSE_ERROR;return r.updateState(u,s(t,{errorCode:i})),{sspName:"improve",success:!1,error_code:i}}if(d(i,"ext.improvedigital.sync")){const e=i.ext.improvedigital.sync.map((e=>({url:e,type:"img"})));c(e)}if(!d(i,"seatbid.0.bid.0.adm")||!d(i,"seatbid.0.bid.0.ext.improvedigital")){const e=n.PARSE_ERROR;return r.updateState(u,s(t,{errorCode:e})),{sspName:"improve",success:!1,error_code:e}}const a=i.seatbid[0].bid[0],m={...a.ext.improvedigital};if(o(a.adm.trim())||"{}"===a.adm){const e=n.EMPTY_RESPONSE;return r.updateState(u,s(t,{errorCode:e})),{sspName:"improve",success:!1,error_code:e}}if(o(m.buying_type)){const e=n.PARAMETERS_ERROR;return r.updateState(u,s(t,{errorCode:e})),{sspName:"improve",success:!1,error_code:e}}if(r.updateState(u,s(t,{buying_type:m.buying_type,line_item_id:m.line_item_id,...a.crid&&{crid:a.crid}})),d(a,"ext.dsa")&&r.updateState((e=>s(e,{creative:{dsa:a.ext.dsa}}))),"video"==(/<VAST/i.test(a.adm)?"video":"banner"))return{sspName:"improve",success:!0,srcType:"vast-string",vast:a.adm};let b;return/<html/i.test(a.adm)||/<improvedigital_ad_output_information/i.test(a.adm)||/azerionOneSkin/.test(a.adm)||/azerionCreative/.test(a.adm)||/azerionCreativeExtended/.test(a.adm)?b=a.adm:(b="<script>"+l(a.adm)+"<\/script>",p.warn("sspImprove handleResponse: received non HTML response",{adm:a.adm})),{sspName:"improve",success:!0,srcType:"html",html:b}},onError:function(e,t,i){const o=n.REQUEST_ERROR;r.updateState(u,s(e,{errorCode:o}));const a=r.getState().call.zoneId;return[39746,39747,39749,39750,39751,39752,39780,39781].includes(a)&&p.warn(`Improve errors on ${a}`,{source:e,errorCode:o,xhrRequest:{readyState:t.readyState,responseText:t.responseText,responseType:t.responseType,status:t.status,statusText:t.statusText,timeout:t.timeout,withCredentials:t.withCredentials}},i),{sspName:"improve",success:!1,error_code:o}},onTimeout:function(e){const t=n.TIMEOUT;return r.updateState(u,s(e,{errorCode:t})),{sspName:"improve",success:!1,error_code:t}},sourceUpdater:u}},8073:(e,t,i)=>{const{highestAccessibleUrl:n,isOptimalHeight:o}=i(8841),r=i(9334),a=i(8466),{getKeywords:s}=i(6816),l=i(9983),d=i(7322),{store:c}=i(5584),p=i(1946),u=i(9358),{hasProperty:m}=i(562),{isObject:b,isEmpty:f}=i(7710),{getCurrentConnector:g}=i(6760);function h(){const e={api:[],battr:[1,3,8,9,10,12,14,17],format:[],pos:1,topframe:1};return l.is.mobile?e.format[0]={w:640,h:300}:e.format[0]={w:1800,h:1e3},e}e.exports={prepareData:function(e,t){const i=c.getState(),v="pmp"===g(i).trafficType,{placementId:y}=u(e),w={id:a.get(),imp:[{banner:h(),...!v&&{bidfloor:1},ext:{bidder:{placementId:y}},id:a.get(),secure:1}],ext:{improvedigital:{np:1}},site:{id:"1",page:n},user:{ext:{consent:r.getConsentString()||"",keyvalue:s(t)}},regs:{ext:{gdpr:Number(r.isActive())}}};return p("sendSupplychain")&&(w.source={ext:{schain:i.call.supplyChain}}),m(i.call,"dsa")&&b(i.call.dsa)&&!f(i.call.dsa)&&(w.regs.ext.dsa=i.call.dsa),m(i.call,"topics")&&Array.isArray(i.call.topics)&&!f(i.call.topics)&&(w.user.data=i.call.topics),v||(l.is.desktop?(w.imp[0].bidfloor=d("improveReservePriceDesktop"),w.imp[0].bidfloorcur=d("improveReserveCurrencyDesktop")):l.is.mobile&&(w.imp[0].bidfloor=d("improveReservePriceMobile"),w.imp[0].bidfloorcur=d("improveReserveCurrencyMobile"))),t.acceptVideo&&o(l.type)&&(w.imp[0].video=function(){const e={api:[1,2],battr:[3,8,9,10,12,14,17],h:9,linearity:1,maxduration:90,mimes:["video/mp4","application/javascript"],minduration:5,placement:3,playbackend:1,playbackmethod:[2],protocols:[2,3,5,6,7,8],startdelay:0,skip:1,w:16};return l.is.desktop?(e.w=1800,e.h=1e3):l.is.mobile&&(e.w=640,e.h=300),e}()),w},prepareUrl:function(e){if(String(e.id).indexOf("|")>0){const{publisherId:t}=u(e);return`https://ad.360yield.com/${t}/pb`}return"https://ad.360yield.com/pb"}}},8547:(e,t,i)=>{const{highestAccessibleWindow:n,highestAccessibleDocument:o,getPageHeight:r}=i(8841),a=i(7322);e.exports={sspResponseCodes:{OK:0,EMPTY_RESPONSE:1,TIMEOUT:2,REQUEST_ERROR:3,PARSE_ERROR:4,PARAMETERS_ERROR:5,PARSE_TIMEOUT:6,UNKNOWN_REQUEST_CALL:7,REQUEST_CANCELLED:8,RESPONSE_DISCARDED:9,UNKNOWN_ERROR:99},sspRequestGetBaseKeywords:function(){const e={};e.page_home=String("/"===n.location.pathname);const t=r();e.page_height_num=1e3*Math.round(t/1e3);const i=o.documentElement.outerHTML.length;if(e.page_weight=1e4*Math.round(i/1e4),"connection"in window.navigator&&"downlink"in window.navigator.connection){const t=window.navigator.connection.downlink;e.user_bandwidth=Math.round(10*t)/10;const n=8*i/1e6/t*1e3;e.page_loading_speed=10*Math.round(n/10)}return Object.assign(e,a("sspRequestBaseKeywords")||{})}}},2621:(e,t,i)=>{const n=i(7322),o=i(8983),{domWrite:r,domWriteAndEvalScripts:a}=i(1703),{store:s}=i(5584);let l;function d(){return new Promise((e=>{if(l)return void e(l);const t=n("debug").sentry,i=r(`<script src="https://cdn.ravenjs.com/${t.version}/raven.min.js" crossorigin="anonymous"><\/script>`,{id:"sublime-sentry"});i.contentWindow.userContext={puid:s.getState().call.id,release:n("versionId")||"1337",zoneId:s.getState().call.zoneId},i.addEventListener("load",(()=>{const n=`<script>\nRaven.config('${t.dsn}').install();\nRaven.setUserContext(userContext);\n<\/script>`;a(i.contentWindow,n),l=i,e(i)}))}))}function c(e,t,i={},r=void 0){return n("debug").enabled?d().then((n=>{let a=o(s.getState(),i);r instanceof Error&&(a=o(a,{exceptionStackTrace:r.stack,exceptionStackTraceJson:JSON.stringify(r.stack),exceptionString:r.toString()}));const l={extra:a,level:e};return i.tags&&(l.tags=i.tags,delete a.tags),n.contentWindow.Raven.captureMessage(t,l),n})):Promise.resolve()}const p={error:c.bind(null,"error"),info:c.bind(null,"info"),warn:c.bind(null,"warning"),getIframe:d};"undefined"!=typeof window&&(window.sublime=window.sublime||{},window.sublime.sentry={error:p.error,info:p.info,warn:p.warn}),e.exports=p}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](i,i.exports,__webpack_require__),i.exports}var __webpack_exports__=__webpack_require__(2616)})();