';
parentElement.appendChild(skeletonCard);
var lastChild = document.querySelector('.royal-skeleton-wrapper .royal-skeleton-card:last-child');
if (lastChild) {
lastChild.style.marginLeft = '-45px';
}
}
if (count < 12) {
parentElement.style.justifyContent = 'initial';
var skeletonCards = document.querySelectorAll('.royal-skeleton-card');
skeletonCards.forEach(function (card) {
card.style.marginLeft = '24px';
});
}
}