501if (mediaQuery.isContinue) continue;502503// prettier-ignore504styleStr += mediaQuery.text +505'#allrecords .t396 .t-animate_started[data-animate-style-res-' + mediaQuery.minRes + '="zoomin"] {' +506'opacity: 1;' +507'-webkit-transform: scale(1);' +508'transform: scale(1);' +509'}' +510'}';511}512
// prettier-ignore styleStr += '.t396 .t-animate[data-animate-style="zoomout"] {' + '-webkit-transform: scale(1.2);' + 'transform: scale(1.2);' + '}'; for (var index = 0; index < breakpoints.length; index++) { var mediaQuery = t_animate__getMediaQuery(breakpoints, index); if (mediaQuery.isContinue) continue; // prettier-ignore styleStr += mediaQuery.text + '#allrecords .t396 .t-animate[data-animate-style-res-' + mediaQuery.minRes + '="zoomout"] {' + '-webkit-transform: scale(1.2);' + 'transform: scale(1.2);' + '}' + '}'; } // prettier-ignore styleStr += '.t396 .t-animate_started[data-animate-style="zoomout"] {' + 'opacity: 1;' + '-webkit-transform: scale(1);' + 'transform: scale(1);' + '}'; for (var index = 0; index < breakpoints.length; index++) { var mediaQuery = t_animate__getMediaQuery(breakpoints, index); if (mediaQuery.isContinue) continue; // prettier-ignore styleStr += mediaQuery.text + '#allrecords .t396 .t-animate_started[data-animate-style-res-' + mediaQuery.minRes + '="zoomout"] {' + 'opacity: 1;' + '-webkit-transform: scale(1);' + 'transform: scale(1);' + '}' + '}'; } // prettier-ignore styleStr += '.t396 .t-animate_started[data-animate-distance],' + '.t396 .t-animate_started[data-animate-scale]{' + '-webkit-transform: none !important;' + 'transform: none !important;' + '}'; for (var index = 0; index < breakpoints.length; index++) { var mediaQuery = t_animate__getMediaQuery(breakpoints, index); if (mediaQuery.isContinue) continue; // prettier-ignore styleStr += mediaQuery.text + '#allrecords .t396 .t-animate_started[data-animate-distance-res-' + mediaQuery.minRes + '],' + '#allrecords .t396 .t-animate_started[data-animate-style-res-' + mediaQuery.minRes + '="zoomout"] {' + '-webkit-transform: none !important;' + 'transform: none !important;' + '}' + '}'; } var style = document.createElement('style'); var head = document.head || document.querySelector('head'); style.textContent = styleStr; head.appendChild(style);}/** * find all the unique breakpoints on the page * * @returns {Array} unique breakpoints */function t_animate__getBreakpointsArr() { var breakpoints = []; var artBoards = Array.prototype.slice.call( document.querySelectorAll( '.r[data-record-type="396"]:not(.t397__off, .t395__off, .t400__off) .t396__artboard, .r[data-parenttplid="396"]:not(.t397__off, .t395__off, .t400__off) .t396__artboard' ) ); Array.prototype.forEach.call(artBoards, function (artBoard) { if (!artBoard.classList.contains('t396__artboard')) return;