1'use strict';function CheckHowManyTariffCardsBestSeller(){const wrapper=document.querySelector(".tariff-structure-v2 .cmp-tariff-structure__wrapper--slim-cards-add");if(wrapper){const bestSellers=document.querySelectorAll(".tariff-card.best-sellers");if(bestSellers.length<=3)document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.add("help-layout-flex")}} 2function CheckHowManyTariffCardsDefauld(){const wrapper=document.querySelector(".tariff-structure-v2 .cmp-tariff-structure__wrapper--slim-cards-add");if(wrapper){const tarrifCardDefaul=document.querySelectorAll(".tariff-card-default");if(tarrifCardDefaul.length<=3)document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.add("help-layout-flex")}} 3function CheckHowManyTariffMultipleVersion(){const wrapper=document.querySelector(".tariff-structure-v2 .cmp-tariff-structure__wrapper--slim-cards-add");if(wrapper){const tarrifCardMultipleVersion=document.querySelectorAll(".tariff-card-multiple-version.js-card-selector");if(tarrifCardMultipleVersion.length<=3){document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.add("help-layout-flex");document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.remove("help-layout-grid")}else{document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.remove("help-layout-flex"); 4document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container").classList.add("help-layout-grid")}}} 5function CheckHowManyTariffMultipleVersionInteractive(){const wrapper=document.querySelector(".tariff-structure-v2 .cmp-tariff-structure__wrapper--slim-cards-add");if(wrapper){const tarrifCardMultipleVersion=document.querySelectorAll(".tariff-card-multiple-version-configurable.js-card-selector");const container=document.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container");if(tarrifCardMultipleVersion.length>0&&container){container.classList.remove("help-layout-flex");container.classList.add("card-interactive-layout")}}} 6function AddHelpLayoutToTabPanels(){document.querySelectorAll(".tabpanel__content").forEach(panel=>{const cards=panel.querySelectorAll(".tariff-card-multiple-version.js-card-selector");const container=panel.querySelector(".cmp-tariff-structure__wrapper--slim-cards-add .cmp-container");if(container)if(cards.length<=2){container.classList.remove("help-layout-grid");container.classList.add("help-layout-flex")}else container.classList.remove("help-layout-flex")})} 7$(function(){if(!$("body").hasClass("aem-edit-mode")&&$(".tariff-structure-v2").length){CheckHowManyTariffCardsBestSeller();CheckHowManyTariffCardsDefauld();CheckHowManyTariffMultipleVersion();CheckHowManyTariffMultipleVersionInteractive();AddHelpLayoutToTabPanels()}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.