\n ${t.name} (${t.count||0})\n `,e.appendChild(n)})),e.dataset.loaded="true"}catch(e){console.error("Błąd podczas pobierania krajów dla mobilnego menu:",e)}}function filterCountries(e){const t=document.querySelectorAll("#countryMenu a, #countryListContainer a");e=e.toLowerCase(),t.forEach((t=>{t.textContent.toLowerCase().includes(e)?t.style.display="":t.style.display="none"}))}function toggleCountryMenu(){const e=document.getElementById("countryMenu"),t=document.getElementById("languageOptions");t&&!t.classList.contains("hidden")&&t.classList.add("hidden"),"true"!==e.dataset.loaded&&loadCountries(),e.classList.toggle("hidden")}async function loadCountries(){const e=document.getElementById("countryMenu"),t=document.getElementById("countryLoader"),n=document.getElementById("countryListContainer");try{const o="ja",i=await fetch(`/api/countries?lang=${o}`),s=await i.json();if(t&&t.remove(),0===s.length)return n.innerHTML='\n
総合医薬品メーカーの大正製薬 1912年創業、OTC医薬品業界においてのリーディングカンパニーである当社は、セルフメディケーション事業において幅広い製品の開発や新規事業に積極的に取り組んでいます。医薬事業では、国際的に通用するオリジナリティの高い新薬の開発をめざして研究開発に邁進しております。現在では、海外子会社を通して世界80ヶ国以上に事業を展開しています。これまで以上に、多くの人の“健康と美”に貢献できる企業をめざしています。その実現のために、一緒に盛り上げてくれる仲間を募集中です。