="gwd-image-ru5d gwd-image-1g3e" alignment="bottom left" style="top: unset; bottom: 10px;"></gwd-image>
<div class="gwd-div-1urb" id="m_waves" style="top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="gwd-div-h2b8" id="m_wave_1" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111);"></div>
<div class="gwd-div-136w" id="m_wave_2" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111);"></div>
<div class="gwd-div-rkr4" id="m_wave_3" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111);"></div>
</div>
<div class="gwd-div-r00v" id="m_circle_1" style="border-radius: 50%; top: 12%; left: 70%; width: 40vw; height: 40vw; max-width: 250px; max-height: 250px;">
<div class="gwd-div-1zjn gwd-div-gf7e" id="m_circle_2" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);"></div>
<div class="gwd-div-kipd" id="m_circle_3" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);"></div>
<div class="gwd-div-1gli" id="m_circle_4" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(142deg, rgb(229, 92, 32) 0%, rgb(246, 150, 32) 100%);"></div>
<div class="gwd-div-71f7" id="m_circle_5" style="width: 0px; height: 0px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;"></div>
<div class="gwd-div-1txv" id="m_circle_6" style="width: 0px; height: 0px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;"></div>
</div>
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/86f4c610e8042b92751879f2a0d773bb__.png" scaling="contain" id="m_card" class="gwd-image-1st9 gwd-image-1smp" alignment="top" style="left: 74%; top: 2%; width: 26%; height: 160%; transform-origin: 0% 0%;"></gwd-image>
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/e45a697c182db1fabb65d95609cd522f__.png" scaling="contain" id="m_copy_sta" class="gwd-image-nazg gwd-image-93nz" alignment="left"></gwd-image>
<gwd-image id="m_copy_exp" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/4c74d5c4abc2116630f2bb777b2108a9__.png" scaling="contain" class="gwd-image-ueof" alignment="top left"></gwd-image>
<div class="gwd-div-99m1" id="cash_copy">
<gwd-image id="m_copy_cash_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/0e16d43b16be56c38408557fcfc03836__.png" scaling="contain" class="gwd-image-1uef" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
<gwd-image id="m_copy_cash_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/6a72dd0a011607385d6c1e30c719e178__.png" scaling="contain" class="gwd-image-blho" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
</div>
<div class="gwd-div-ceki" id="m_copy">
<gwd-image id="m_copy_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/74c56fe3166bf1516da2573f033ab267__.png" scaling="contain" class="gwd-image-13g9" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
<gwd-image id="m_copy_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/24063828e1df1228fa31d7020cdeda49__.png" scaling="contain" class="gwd-image-19om" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
<gwd-image id="m_copy_3" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/33b605b74cf50920ac71affa86c6f68c__.png" scaling="contain" class="gwd-image-alrt" alignment="top left" style="opacity: 0; left: 20%; transform-origin: 10% 55%;"></gwd-image>
<gwd-image id="m_copy_4" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/9937025e7b52baa4abcd0a96e2d83642__.png" scaling="contain" class="gwd-image-16zo" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
<gwd-image id="m_copy_5" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/1195b85fe06e1885014acc92e7c2a189__.png" scaling="contain" class="gwd-image-1ubs" alignment="top left" style="opacity: 0; left: 20%;"></gwd-image>
</div>
<div class="gwd-div-1ni0" id="pulse_3">
<gwd-image id="cta_3" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/67c2128e0b7f4d473f2072de59e65cb5__.png" scaling="contain" class="gwd-image-1toy gwd-gen-1w66gwdanimation" alignment="left"></gwd-image>
</div>
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/13ee4b55acc29418d2429dde3f2503bf__.png" scaling="contain" id="m_product_1" class="gwd-image-58va gwd-image-1bxw" alignment="top" style="opacity: 0;"></gwd-image>
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/368ffa65ab01a96425001b4083e3c936__.png" scaling="contain" id="m_product_2" class="gwd-image-12ip gwd-image-1v3a" style="opacity: 0;" alignment="top"></gwd-image>
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/77ed56811fe2733a95096c9448d85d42__.png" scaling="contain" id="m_product_3" class="gwd-image-1uw2 gwd-image-1g00" style="opacity: 0;"></gwd-image>
</div>
</div>
</div>
<div class="gwd-div-29i8" id="desktop" style="top: unset; bottom: 0px;">
<div class="gwd-div-17me" id="max_width" style="left: 50%; max-width: 1025px; transform: translateX(-50%);">
<div class="gwd-div-5i7p" style="bottom: 0px; top: unset;" id="d_collapse">
<gwd-image id="d_legal_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/36df045f07e863eb4f80ff67c770d405__.png" scaling="contain" class="gwd-image-lr5v" alignment="bottom"></gwd-image>
<div class="gwd-div-1vvm" id="dc_1" style="border-radius: 50%; width: 20vw; height: 20vw; max-width: 170px; max-height: 170px; top: 20%; left: 57%;">
<div class="gwd-div-1zjn" id="dc_2" style="border-radius: 50%;"></div>
<div class="gwd-div-kipd gwd-div-mar3" id="dc_3" style="border-radius: 50%;"></div>
</div>
<gwd-image id="card_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/86f4c610e8042b92751879f2a0d773bb__.png" scaling="contain" class="gwd-image-ngmq" alignment="top left"></gwd-image>
<div class="gwd-div-155d" id="d_cc">
<gwd-image id="dcc_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/9dbd14a46027a65ff77dd5e6cfd2e6f6__.png" scaling="contain" class="gwd-image-xmoy" alignment="left"></gwd-image>
<gwd-image id="dcc_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/baa6a11daeb2ed2c8d1950d69654e2be__.png" scaling="contain" class="gwd-image-m4g0" alignment="left" style="animation: 3s ease 1s infinite normal none running pulse;"></gwd-image>
<gwd-image id="dcc_3" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/25d96c8c50cd9fd28d8d31171cdac0cf__.png" scaling="contain" class="gwd-image-11j3" alignment="left"></gwd-image>
</div>
<div class="gwd-div-1m40" id="pulse_2">
<gwd-image id="cta_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/67c2128e0b7f4d473f2072de59e65cb5__.png" scaling="contain" class="gwd-image-1toy gwd-gen-1n6ngwdanimation"></gwd-image>
</div>
</div>
<div class="gwd-div-1oo5" style="top: unset; bottom: 0px;" id="d_expanded">
<gwd-image id="d_legal_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/36df045f07e863eb4f80ff67c770d405__.png" scaling="contain" class="gwd-image-o546" alignment="bottom" style="left: 81%;"></gwd-image>
<div class="gwd-div-dmy0" id="d_waves" style="top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="gwd-div-h2b8" id="wave_1" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111); max-width: 200px; max-height: 200px;"></div>
<div class="gwd-div-136w" id="wave_2" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111); max-width: 200px; max-height: 200px;"></div>
<div class="gwd-div-rkr4" id="wave_3" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid rgb(216, 23, 111); max-width: 200px; max-height: 200px;"></div>
</div>
<div class="gwd-div-1j00" id="circle_1" style="border-radius: 50%; max-width: 170px; max-height: 170px; left: 57%; top: 20%; width: 40vw; height: 40vw;">
<div class="gwd-div-1zjn gwd-div-gf7e" id="circle_2" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);"></div>
<div class="gwd-div-kipd" id="circle_3" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);"></div>
<div class="gwd-div-1gli" id="circle_4" style="border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(142deg, rgb(229, 92, 32) 0%, rgb(246, 150, 32) 100%);"></div>
<div class="gwd-div-71f7" id="circle_5" style="width: 0px; height: 0px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;"></div>
<div class="gwd-div-1txv" id="circle_6" style="width: 0px; height: 0px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;"></div>
</div>
<gwd-image id="d_card" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/86f4c610e8042b92751879f2a0d773bb__.png" scaling="contain" class="gwd-image-1sm2" style="top: 6%; width: 12%; height: 184%; left: 59%; transform-origin: 0% 0%;" alignment="top left"></gwd-image>
<gwd-image id="d_copy_static" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/e45a697c182db1fabb65d95609cd522f__.png" scaling="contain" class="gwd-image-1qbx" alignment="left" style="left: 10%; top: 15%; width: 36%; height: 70%;"></gwd-image>
<gwd-image id="d_copy_cash" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/1c4b5697afb5b61f0ea6bc7872aaaa33__.png" scaling="contain" class="gwd-image-1308" alignment="left"></gwd-image>
<gwd-image id="product_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/13ee4b55acc29418d2429dde3f2503bf__.png" scaling="contain" class="gwd-image-iqe3"></gwd-image>
<gwd-image id="product_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/368ffa65ab01a96425001b4083e3c936__.png" scaling="contain" class="gwd-image-35bd"></gwd-image>
<gwd-image id="product_3" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/77ed56811fe2733a95096c9448d85d42__.png" scaling="contain" class="gwd-image-v0n1"></gwd-image>
<div class="gwd-div-wg4i" id="pulse_1">
<gwd-image id="cta_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/67c2128e0b7f4d473f2072de59e65cb5__.png" scaling="contain" class="gwd-image-1toy gwd-gen-uu4dgwdanimation"></gwd-image>
</div>
<div class="gwd-div-125n" id="d_copy">
<gwd-image id="d_copy_1" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/9dbd14a46027a65ff77dd5e6cfd2e6f6__.png" scaling="contain" class="gwd-image-xmoy gwd-image-nmc6" alignment="left"></gwd-image>
<gwd-image id="d_copy_2" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/baa6a11daeb2ed2c8d1950d69654e2be__.png" scaling="contain" class="gwd-image-m4g0 gwd-image-1eay" alignment="left"></gwd-image>
<gwd-image id="d_copy_3" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/25d96c8c50cd9fd28d8d31171cdac0cf__.png" scaling="contain" class="gwd-image-11j3 gwd-image-1etd" alignment="left"></gwd-image>
</div>
</div>
</div>
</div>
<div class="gwd-div-1g1w" id="line"></div>
</div>
<gwd-taparea class="gwd-taparea-17h8" id="adhesion_hotspot"></gwd-taparea>
<div class="gwd-div-110f" id="close_btn_container" style="left: unset; right: 0px;">
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/ac7f35fe1df8583bb63bb960a8d8a4d6__.png" scaling="contain" class="gwd-image-uasl" id="close-icon"></gwd-image>
<gwd-taparea class="gwd-taparea-hbqa gwd-taparea-nlcy" id="close-tap-area"></gwd-taparea>
</div>
<div class="gwd-div-110f" id="collapse_btn_container" style="left: unset; right: 0px;">
<gwd-image source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/34923bfe2a586aca86eebc795b31bf04__.png" scaling="contain" class="gwd-image-uasl" id="collapse-icon_1"></gwd-image>
<gwd-taparea class="gwd-taparea-hbqa gwd-taparea-nlcy" id="collapse-tap-area_1"></gwd-taparea>
</div>
</div>
</div>
</gwd-page>
<gwd-page id="fallback_mobile_page" class="gwd-page-wrapper gwd-page-size gwd-lightbox gwd-page-1v0o" data-gwd-width="100%" data-gwd-height="100%" data-gwd-name="fallback mobile">
<div class="gwd-page-content gwd-page-size gwd-div-1035">
<gwd-image id="backup-image-320x50" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/ed6fa5d1f3ee75c2f02a4e9bef0f40eb__.jpg" scaling="contain" class="gwd-image-1k6d"></gwd-image>
<gwd-taparea id="fallback_hotspot_mobile" class="gwd-taparea-et6g"></gwd-taparea>
</div>
</gwd-page>
<gwd-page id="fallback_desktop_page" class="gwd-page-wrapper gwd-lightbox gwd-page-zv3e" data-gwd-width="100%" data-gwd-height="100%" data-gwd-name="fallback desktop">
<div class="gwd-page-content gwd-div-1pvc">
<gwd-image id="backup-image-728x90" source="https://cdn.airtory.com/abedf633482508f8c3fa5aa1d9d0cd2a_superscapedebitcard/c7656d01af2d3a40163666895eac0a8b__.jpg" scaling="contain" class="gwd-image-1k6d"></gwd-image>
<gwd-taparea id="fallback_hotspot_desktop" class="gwd-taparea-et6g"></gwd-taparea>
</div>
</gwd-page>
</gwd-pagedeck>
</gwd-genericad>
<script id="gwd-init-code">
(function() {
var gwdAd = document.getElementById('gwd-ad');
/**
Superscape V1.1.1
* Handles the DOMContentLoaded event. The DOMContentLoaded event is
* fired when the document has been completely loaded and parsed.
*/
function handleDomContentLoaded(event) {
// enable Simpli Analytics
__simpli.creative().setStateMain();
// track custom interactions
window.trackInteraction = function(_label, _asset, _userInitiated) {
airtory.track(_label);
__simpli.analytics().trackCustomEvent(_label, _asset,
_userInitiated);
}
// track click interactions
window.trackClickInteraction = function(_label, _asset, _url) {
airtory.track(_label);
__simpli.analytics().trackClickEvent(_label, _asset, _url);
}
window.SuperscapeAnimation = function() {
if (window.innerWidth <= 728) {
window.trackInteraction('Auto_shown_mobile', 'unit_view', false);
} else {
window.trackInteraction('Auto_shown_desktop', 'unit_view', false);
}
// How fast we want our animation to happen when the user scrolls
let speed = 1.5;
// Disable frame animation if it has been auto initialized
let disableFrameAnimation = false;
// In case the page doesn't have more space for scrolling, start frame the animation automacally
window.pageScrollComplete && tlFrame.play() && (
disableFrameAnimation = true);
// FRAME ANIMATION ----------------------------------
if (!window.pageScrollComplete && !frameAnimationCompleted &&
!disableFrameAnimation) {
tlFrame.play();
}
// Sync animation with the user scrolls
creativeWin.addEventListener('scroll', function(e) {
// ADHESION ANIMATION REACTIVE ----------------------------------
if (adhesionProgress >= 100 && loopAdhesion) {
adhesionProgress = 0;
}
if (adhesionProgress <= 99) {
adhesionProgress += speed;
tlAdhesion.progress(adhesionProgress / 100);
// Track Adhesion Quatiles
trackAdhesionQuatiles.dispatchQuartileEvents(
adhesionProgress, 'adhesion');
}
}); // Scroll Listener Ends
// Frame Animation - if user doesn't make scroll in 10s and if page scroll isn't complete play automatic animation
if (frameProgress === 0 && !window.pageScrollComplete) {
setTimeout(() => {
!frameAnimationCompleted && tlFrame.play() && (
disableFrameAnimation = true);
}, 10000);
}
} // ******* END SUPERSCAPE ANIMATION *******
// ******* RESPONSIVE BREAKPOINTS *******
/*
Inside each condition add the style that applies to your assets conditions
Each number can be modify to the size that meet the requirements of the design
*/
window.addEventListener('resize', () => {
// window.isCollapsed return true or false
if (window.innerWidth < 500) {
// small size
} else if (window.innerWidth >= 500 && window.innerWidth < 800) {
// medium size
} else if (window.innerWidth >= 800 && window.innerWidth < 1200) {
// large size
} else {
// infinite size
}
});
// *******RESPONSIVE BREAKPOINTS *******
} // Handles the DOMContentLoaded Ends
/**
* Handles the WebComponentsReady event. This event is fired when all
* custom elements have been registered and upgraded.
*/
function handleWebComponentsReady(event) {
// Start the Ad lifecycle.
requestAnimationFrame(function() {
setTimeout(function() {
gwdAd.initAd();
}, 1);
});
}
/**
* Handles the event that is dispatched after the Ad has been
* initialized and before the default page of the Ad is shown.
*/
function handleAdInitialized(event) {
if (!__simpli.runtime().environment.isFriendlyIframe) {
// go to fallback page
if (window.innerWidth < 728) {
// show mobile fallback
document.querySelector('gwd-pagedeck').goToPage(
'fallback_mobile_page');
} else {
// show desktop fallback for crosscreen creatives
document.querySelector('gwd-pagedeck').goToPage(
'fallback_desktop_page');
}
} else {
airtory.track('PSunitview');
// custom initial animation goes here
window.superscapeStarted = true;
}
}
window.addEventListener('DOMContentLoaded',
handleDomContentLoaded, false);
window.addEventListener('WebComponentsReady',
handleWebComponentsReady, false);
window.addEventListener('adinitialized',
handleAdInitialized, false);
})();
</script>
<script>
"airtory" in window || (window.airtory = {
track: function() {
window.airtory.track.q.push(arguments)
}
}, window.airtory.track.q = []);
</script>
<script src="https://cdn.airtory.com/js/gwd/standard.js"></script>
<script src="https://ads.simpli.padsquad.com/adapter/airtory.js"></script>
<script src="https://asset.padsquad.com/creativeTags/generic/psAdhesion.js"></script>
<script>
// Adhesion Wrapper
const wrapper = window.frameElement;
window.isCollapsed = true;
// Place adhesion above or behind the overlay animation
let overlayBehind = true;
if (overlayBehind) {
document.querySelector('#adhesion-page').style.zIndex = '100';
}
// Check if the creative is being displayed in the Airtory preview
const isItDemo = () => {
try {
return window.top.location.hostname.includes('adtag.org') ||
(window.top.location.href.includes('studio.simpli.padsquad.com/c') && __simpli.runtime().environment.isDesktop)
} catch (error) {
return false;
}
}
// Depending on the environment, change the window which the scroll event listener will be added to
let creativeWin = !isItDemo() ? window.top : window.parent;
// In case the page doesn't have more space for scrolling, resume the animation automacally
window.pageScrollComplete = false;
if (creativeWin.document.documentElement.scrollTop >= creativeWin.document.documentElement.scrollHeight - creativeWin.innerHeight) {
window.pageScrollComplete = true;
}
// WRAPPER MANIPULATION
// SHOW FRAME ----------------------------
window.showFrame = function() {
window.adhesionWrapper.style.width = '100%';
window.adhesionWrapper.style.height = '100%';
window.adhesionWrapper.style.position = 'fixed';
window.adhesionWrapper.style.top = '0';
window.adhesionWrapper.style.bottom = 'auto';
}
// HIDE FRAME ----------------------------
window.hideFrame = function() {
window.adhesionWrapper.style.position = 'fixed';
window.adhesionWrapper.style.width = '100%';
window.adhesionWrapper.style.height = '100px';
window.adhesionWrapper.style.top = 'auto';
window.adhesionWrapper.style.bottom = '0';
}
// TRACK IF ANIMATION IS COMPLETED
window.animationDone = false;
// EXPAND ADHESION ----------------------------
window.expandAdhesion = function() {
window.isCollapsed = false;
// Increase wrapper height
wrapper.style.height = '250px';
wrapper.style.position = 'absolute';
wrapper.style.bottom = 0;
wrapper.style.top = 'auto';
document.querySelector('#adhesion_container').style.top = 'auto';
document.querySelector('#adhesion_container').style.marginTop = 'initial';
document.querySelector('#adhesion_container').style.bottom = '0';
// Animate Expanded Adhesion Page
TweenMax.to('#adhesion_container', 0.6, {
height: '250px',
ease: Power1.easeOut,
onComplete: function() {
document.querySelector('#collapse_btn_container').style.visibility = 'visible';
}
});
// ========================
// EXPAND FRAME
// ========================
TweenMax.to('#circle_1', 0.5, {
maxWidth: 320,
maxHeight: 320,
left: '72%'
});
TweenMax.to('#m_circle_1', 0.5, {
width: '65vw',
height: '65vw',
maxWidth: 250,
maxHeight: 250,
left: '45%',
top: '55%'
});
TweenMax.to('#d_card', 0.5, {
width: '26%',
height: '180%',
top: 0,
left: '73%'
});
TweenMax.to('#m_card', 0.5, {
width: '55%',
height: '120%',
top: '42%',
left: '45%'
});
TweenMax.to('#d_copy_static', 0.5, {
width: '60%',
height: '46%',
top: '15%',
left: '10%'
});
TweenMax.to('#d_legal_1', 0.5, {
left: '10%'
});
TweenMax.to('#m_copy_sta', 0.2, {
alpha: 0
});
TweenMax.to('#m_copy_exp', 0.5, {
alpha: 1
});
// ========================
// CENTER FRAME
// ========================
let delay = 1.5
TweenMax.to('#d_copy_static, #m_copy_exp', 0.5, {
alpha: 0,
delay: delay
});
TweenMax.to('#circle_1', 0.5, {
maxWidth: 100,
maxHeight: 100,
left: '50%',
top: '50%',
xPercent: -50,
yPercent: -50,
delay: delay
});
TweenMax.to('#m_circle_1', 0.5, {
maxWidth: '100px',
maxHeight: '100px',
left: '50%',
top: '50%',
xPercent: -50,
yPercent: -50,
delay: delay
});
TweenMax.to('#circle_2, #m_circle_2', 0.5, {
width: '100%',
height: '100%',
background: '#e45b20',
delay: delay
});
TweenMax.to('#circle_3, #m_circle_3', 0.5, {
width: '0%',
height: '0%',
delay: delay
});
TweenMax.to('#d_card', 0.5, {
top: '30%',
left: '48%',
delay: delay
});
TweenMax.to('#m_card', 0.5, {
top: '30%',
left: '45%',
width: '80%',
height: '160%',
delay: delay
});
TweenMax.to('#m_card img', 0, {
backgroundPosition: 'center top',
delay: delay - 0.5
});
TweenMax.to('#m_card img', 0.5, {
backgroundPosition: 'left top',
delay: delay
});
TweenMax.to('#circle_4, #m_circle_4', 0.5, {
alpha: 1,
delay: delay
});
// ========================
// CLICK FRAME
// ========================
let delay2 = delay + 0.5
TweenMax.to('#d_card, #m_card', 0.3, {
scale: 0.85,
rotate: -4,
delay: delay2
});
TweenMax.to('#d_card, #m_card', 0.3, {
scale: 1,
rotate: 0,
delay: delay2 + 0.3
});
TweenMax.to('#circle_1, #m_circle_1', 0.2, {
scale: 0.95,
delay: delay2 + 0.3
});
TweenMax.to('#circle_1, #m_circle_1', 0.2, {
scale: 1,
delay: delay2 + 0.5
});
TweenMax.to('#d_waves, #m_waves', 0, {
alpha: 1,
delay: delay2
});
TweenMax.set('#wave_1, #wave_2, #wave_3, #wave_4', {
width: 95,
height: 95
});
TweenMax.set('#m_wave_1, #m_wave_2, #m_wave_3, #m_wave_4', {
width: 100,
height: 100
});
TweenMax.to('#wave_1', 6, {
width: '40vw',
height: '40vw',
delay: delay2 + 0.3
});
TweenMax.to('#wave_2', 6, {
width: '40vw',
height: '40vw',
delay: delay2 + 0.5
});
TweenMax.to('#wave_3', 6, {
width: '40vw',
height: '40vw',
delay: delay2 + 0.7
});
TweenMax.to('#m_wave_1', 6, {
width: '100vw',
height: '100vw',
delay: delay2 + 0.3
});
TweenMax.to('#m_wave_2', 6, {
width: '100vw',
height: '100vw',
delay: delay2 + 0.5
});
TweenMax.to('#m_wave_3', 6, {
width: '100vw',
height: '100vw',
delay: delay2 + 0.7
});
TweenMax.to('#wave_1, #m_wave_1', 0.3, {
alpha: 0,
delay: delay2 + 0.7
});
TweenMax.to('#wave_2, #m_wave_2', 0.3, {
alpha: 0,
delay: delay2 + 0.9
});
TweenMax.to('#wave_3, #m_wave_3', 0.3, {
alpha: 0,
delay: delay2 + 1.1
});
TweenMax.to('#d_card', 0.5, {
scale: 1,
rotate: 0,
delay: 3.25
});
// ========================
// BACK TO RIGHT FRAME
// ========================
let delay3 = delay2 + 1.4
TweenMax.to('#circle_1', 0.7, {
maxWidth: 320,
maxHeight: 320,
top: '15%',
left: '72%',
xPercent: 0,
yPercent: 0,
delay: delay3
});
TweenMax.to('#m_circle_1', 0.5, {
maxWidth: 250,
maxHeight: 250,
left: '30%',
top: '42%',
width: '72vw',
height: '72vw',
xPercent: 0,
yPercent: 0,
delay: delay3
});
TweenMax.to('#d_card, #m_card', 0.3, {
top: '100%',
left: '60%',
delay: delay3
});
TweenMax.to('#circle_2, #circle_4, #m_circle_2, #m_circle_4', 0.5, {
width: '95%',
height: '95%',
delay: delay3
});
TweenMax.to('#circle_4, #m_circle_4', 0.2, {
alpha: 0,
delay: delay3
});
TweenMax.set('#circle_5, #circle_6, #m_circle_5, #m_circle_6', {
width: '0%',
height: '0%'
});
TweenMax.to('#circle_5, #m_circle_5', 0.7, {
width: '88%',
height: '88%',
delay: delay3
});
TweenMax.to('#d_copy_cash', 0.5, {
left: '10%',
alpha: 1,
delay: delay3 + 0.3
});
TweenMax.to('#m_copy_cash_1', 0.5, {
left: '0%',
alpha: 1,
delay: delay3 + 0.3
});
TweenMax.to('#m_copy_cash_2', 0.5, {
left: '0%',
alpha: 1,
delay: delay3 + 0.55
});
TweenMax.to('#product_1, #m_product_1', 0.5, {
alpha: 1,
scale: 1,
delay: delay3 + 0.7
});
TweenMax.to('#product_1, #m_product_1', 0.2, {
alpha: 0,
delay: delay3 + 1.7
});
TweenMax.to('#product_2, #m_product_2', 0.5, {
alpha: 1,
scale: 1,
delay: delay3 + 1.7
});
TweenMax.to('#product_2, #m_product_2', 0.2, {
alpha: 0,
delay: delay3 + 2.7
});
TweenMax.to('#product_3, #m_product_3', 0.5, {
alpha: 1,
scale: 1,
delay: delay3 + 2.7
});
TweenMax.to('#product_3, #m_product_3', 0.2, {
alpha: 0,
delay: delay3 + 3.7
});
TweenMax.to('#d_copy_cash, #cash_copy', 0.2, {
alpha: 0,
delay: delay3 + 3.7
});
// ========================
// FINAL FRAME
// ========================
TweenMax.to('#d_copy_1', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 3.9
});
TweenMax.to('#d_copy_2', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.4
});
TweenMax.to('#d_copy_3', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.9,
onComplete: () => {
document.getElementById('d_copy_2').classList.add('pulse');
}
});
TweenMax.to('#m_copy_1', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 3.9
});
TweenMax.to('#m_copy_2', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.15
});
TweenMax.to('#m_copy_3', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.3
});
TweenMax.to('#m_copy_4', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.55
});
TweenMax.to('#m_copy_5', 0.5, {
alpha: 1,
left: 0,
delay: delay3 + 4.8,
onComplete: () => {
document.getElementById('m_copy_3').classList.add('pulse');
}
});
TweenMax.to('#circle_1', 0.5, {
top: '20%',
delay: delay3 + 3.7
});
TweenMax.to('#m_circle_1', 0.5, {
maxWidth: 250,
maxHeight: 250,
left: '40%',
top: '55%',
width: '72vw',
height: '72vw',
xPercent: 0,
yPercent: 0,
delay: delay3 + 3.7
});
TweenMax.to('#pulse_1, #pulse_3', 0.5, {
alpha: 1,
delay: delay3 + 5.4
});
TweenMax.to('#circle_6, #m_circle_6', 0.3, {
width: '88%',
height: '88%',
delay: delay3 + 3.7
});
TweenMax.to('#d_card', 0, {
top: '100%',
left: '100%',
width: '28%',
height: '180%',
scale: 1.2,
delay: delay3 + 3.2
});
TweenMax.to('#m_card', 0, {
top: '100%',
left: '100%',
scale: 1.2,
delay: delay3 + 3.2
});
TweenMax.to('#d_card', 0.4, {
top: '0%',
left: '65%',
rotate: -10,
delay: delay3 + 3.7
});
TweenMax.to('#d_card', 0.2, {
top: '8%',
left: '73%',
rotate: 0,
scale: 1,
delay: delay3 + 4.1,
onComplete: () => {
window.animationDone = true;
}
});
TweenMax.to('#m_card', 0.5, {
width: '54%',
height: '120%',
top: '42%',
left: '45%',
rotate: -10,
delay: delay3 + 3.7
});
TweenMax.to('#m_card', 0.2, {
width: '55%',
height: '120%',
top: '50%',
left: '45%',
rotate: 0,
scale: 1,
delay: delay3 + 4.1,
});
TweenMax.set('#d_copy', {
left: '10%',
top: '20%',
width: '60%',
height: '39%',
});
}
// COLLAPSE ADHESION ----------------------------
window.collapseAdhesion = function() {
window.isCollapsed = true;
// Animate Expanded Adhesion Page
TweenMax.to('#adhesion_container', 0.6, {
height: '100px',
ease: Power1.easeOut,
onComplete: function() {
document.querySelector('#collapse_btn_container').style.visibility = 'hidden';
document.querySelector('#close_btn_container').style.visibility = 'visible';
// Decrease wrapper height
wrapper.style.height = '100px';
wrapper.style.position = 'relative';
wrapper.style.bottom = 'initial';
wrapper.style.top = 'initial';
}
});
if (window.animationDone) {
TweenMax.to('#pulse_1', 0.5, {
left: '80%',
top: '25%',
width: '14%',
height: '37%',
alpha: 1
});
TweenMax.to('#d_copy', 0.5, {
left: '8%',
top: '20%',
width: '46%',
height: '60%',
alpha: 1
});
TweenMax.to('#d_card', 0.5, {
top: '6%',
left: '59%',
width: '12%',
height: '184%'
});
TweenMax.to('#circle_1', 0.5, {
maxWidth: 170,
maxHeight: 170,
top: '20%',
left: '57%',
});
TweenMax.to('#d_legal_1', 0.5, {
left: '81%'
});
TweenMax.to('#m_copy', 0.5, {
top: '15%',
left: '4%',
width: '54%',
height: '70%'
});
TweenMax.to('#pulse_3', 0.5, {
top: '38%',
left: '63%',
width: '31%',
height: '37%'
});
TweenMax.to('#m_legal', 0.5, {
left: '67%'
});
TweenMax.to('#m_card, #m_circle_1', 0.5, {
alpha: 0
});
} else {
TweenMax.to('#d_expanded, #m_expanded', 0.5, {
alpha: 0,
delay: 0
});
TweenMax.to('#d_collapse, #m_collapse', 0.5, {
alpha: 1,
delay: 0.5
});
}
}
// DISMISS ADHESION ----------------------------
window.dismissAdhesion = function() {
wrapper.parentElement.style.display = "none";
event.stopPropagation();
__simpli.creative().dismiss();
}
// QUARTILE TRACKERS ----------------------------
function TrackQuartiles() {
this.startedTracked = false;
this.firstQuartileTracked = false;
this.secondQuartileTracked = false;
this.thirdQuartileTracked = false;
this.completedTracked = false;
this.dispatchQuartileEvents = (currentPercentages, who) => {
this.item = currentPercentages;
this.naming = who;
if (this.item >= 1 && !this.startedTracked) {
this.startedTracked = true;
window.trackInteraction(`auto_reactive_animation_${this.naming}_started`, 'creative', false);
}
if (this.item >= 25 && !this.firstQuartileTracked) {
this.firstQuartileTracked = true;
window.trackInteraction(`auto_reactive_animation_${this.naming}_firstquartile`, 'creative', false);
} else if (this.item >= 50 && !this.secondQuartileTracked) {
this.secondQuartileTracked = true;
window.trackInteraction(`auto_reactive_animation_${this.naming}_secondquartile`, 'creative', false);
} else if (this.item >= 75 && !this.thirdQuartileTracked) {
this.thirdQuartileTracked = true;
window.trackInteraction(`auto_reactive_animation_${this.naming}_thirdquartile`, 'creative', false);
} else if (this.item >= 90 && !this.completedTracked) {
this.completedTracked = true;
window.trackInteraction(`auto_reactive_animation_${this.naming}_complete`, 'creative', false);
}
}
}
</script>
<script>
// ADHESION TIMELINE GSAP ----------------------------------
let _delayAdhesion = 0;
let adhesionProgress = 0;
let loopAdhesion = true;
let trackAdhesionQuatiles = new TrackQuartiles();
let tlAdhesion = gsap.timeline({
paused: true,
ease: "linear",
defaults: {
duration: 0,
delay: 1
}
});
/*
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-01", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-02", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-03", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-04", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-05", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-06", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-07", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-08", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-09", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-10", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-11", {
alpha: 1,
delay: _delayAdhesion
} );
tlAdhesion.to( ".reactive-image", {
alpha: 0
} );
tlAdhesion.to( "#sequence-12", {
alpha: 1,
delay: _delayAdhesion
} ); // END ADHESION REACTIVE
*/
</script>
<script>
// FRAME TIMELINE GSAP ----------------------------------
let _delayFrame = -0.4;
let frameProgress = 0;
let frameAnimationCompleted = false;
let trackFrameQuatiles = new TrackQuartiles();
document.querySelector('#frame_container').style.pointerEvents = 'none';
let tlFrame = gsap.timeline({
paused: true,
ease: "linear",
defaults: {
duration: 0.8,
delay: _delayFrame
}
});
tlFrame.to("#left_bar", {
x: 0,
}, 0.5);
tlFrame.to("#top_bar", {
y: 0,
}, 0.5);
tlFrame.to("#right_bar", {
x: -30,
onComplete: function() {
// Animate back to their original position
TweenMax.to("#left_bar", 0.6, {
x: -30,
delay: 1.5
});
TweenMax.to("#top_bar", 0.6, {
y: -30,
delay: 1.5
});
TweenMax.to("#right_bar", 0.6, {
x: 0,
delay: 1.5,
onComplete: function() {
if (!frameAnimationCompleted) {
// Hide frame page
window.hideFrame();
window.trackInteraction(
'auto_frame_animation_complete',
'creative',
false);
// Auto Expand Adhesion
window.expandAnimation();
window.expandAdhesion();
frameAnimationCompleted = true;
}
}
});
}
}, 0.5); // END FRAME REACTIVE
</script>
<script>
// EXPANSION ITEMS TIMELINE GSAP ----------------------------------
let canAnimate = true;
const toggleAnimate = () => canAnimate = true;
let tlExpansionItems = new TimelineMax({
paused: true,
onComplete: toggleAnimate,
onReverseComplete: toggleAnimate
})
// END EXPANSION ITEMS
// ANIMATION HANDLER ----------------------------------
window.expandAnimation = () => {
if (!canAnimate) return;
const progress = tlExpansionItems.progress();
if (progress == 1) {
tlExpansionItems.reverse();
} else {
tlExpansionItems.play();
}
canAnimate = false;
}
</script>
<img src="https://cdn.airtory.com/assets/300x100.png" style="position: absolute; top:0; left:0; z-index: -1; width:300px; height:50px;"></body>
</html>
5
4
56KB
110KB
150.0ms
102.0ms
150.0ms