!function(){const t=document.querySelector(".header-usp-bar .icon-list");if(!t)return;const e="icon-list__item",n=e+"--hidden",i=Array.from(document.querySelectorAll(".header-usp-bar ."+e));if(1===i.length)return;const r=function(t){return t.filter((t=>!t.classList.contains(n))).reduce(((t,e)=>t+s(e)),0)},s=function(t){return t?parseFloat(getComputedStyle(t).marginLeft)+parseFloat(getComputedStyle(t).marginRight)+t.offsetWidth:0},o=function(t){for(let e=t.length-1;e>=1;e--)if(!t[e].classList.contains(n))return void t[e].classList.add(n)},l=function(){return t.querySelectorAll("."+e+":not(."+n+")").length};let c=r(i),d=window.innerWidth;for(;c>t.offsetWidth&&l()>1;)o(i),c=r(i);window.addEventListener("resize",(()=>{const e=document.querySelectorAll("."+n),o=r(i.filter((t=>!t.classList.contains(n))));if(window.innerWidth>d&&e.length>0&&o+s(e[0])<=t.offsetWidth)e[0].classList.remove(n);else if(c>t.offsetWidth&&l()>1)for(let t=i.length-1;t>=0;t--)if(!i[t].classList.contains(n)){i[t].classList.add(n);break}c=r(i),d=window.innerWidth}))}();