""; const countryTransportPaymentData = { czechia: { countryName: 'Czech Republic', transport: { personalTakover: ['Personal collection', 0, 'czk'], attn: ['Registered Mail', 0, 'czk'], ems: ['EMS', 135, 'czk'] }, payment: ['On Delivery', 'Transfer', 'Cash'] }, slovakia: { countryName: 'Slovakia', transport: { ups: ['UPS', 22, 'eur'], }, payment: ['Transfer'] }, germany: { countryName: 'Germany', transport: { ups: ['UPS', 25, 'eur'], }, payment: ['Transfer'] }, afghanistan: { countryName: 'Afghanistan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, albania: { countryName: 'Albania', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, algeria: { countryName: 'Algeria', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, andorra: { countryName: 'Andorra', transport: { ups: ['UPS', 28, 'eur'], }, payment: ['Transfer'] }, angola: { countryName: 'Angola', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, antigua: { countryName: 'Antigua and Barbuda', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, argentina: { countryName: 'Argentina', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, armenia: { countryName: 'Armenia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, australia: { countryName: 'Australia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, austria: { countryName: 'Austria', transport: { ups: ['UPS', 25, 'eur'], }, payment: ['Transfer'] }, azerbaijan: { countryName: 'Azerbaijan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bahamas: { countryName: 'Bahamas', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bahrain: { countryName: 'Bahrain', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bangladesh: { countryName: 'Bangladesh', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, barbados: { countryName: 'Barbados', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, belarus: { countryName: 'Belarus', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, belgium: { countryName: 'Belgium', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, belize: { countryName: 'Belize', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, benin: { countryName: 'Benin', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bhutan: { countryName: 'Bhutan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bolivia: { countryName: 'Bolivia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bosnia: { countryName: 'Bosnia and Herzegovina', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, botswana: { countryName: 'Botswana', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, brazil: { countryName: 'Brazil', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, brunei: { countryName: 'Brunei', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, bulgaria: { countryName: 'Bulgaria', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, burkina: { countryName: 'Burkina Faso', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, burundi: { countryName: 'Burundi', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, cote: { countryName: 'Cote d-Ivoire', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, cabo: { countryName: 'Cabo Verde', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, cambodia: { countryName: 'Cambodia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, cameroon: { countryName: 'Cameroon', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, canada: { countryName: 'Canada', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, centralafrica: { countryName: 'Central African Republic', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, chad: { countryName: 'Chad', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, chile: { countryName: 'Chile', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, china: { countryName: 'China', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, colombia: { countryName: 'Colombia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, comoros: { countryName: 'Comoros', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, congo: { countryName: 'Congo', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, costarica: { countryName: 'Costa Rica', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, croatia: { countryName: 'Croatia', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, cuba: { countryName: 'Cuba', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, cyprus: { countryName: 'Cyprus', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, democongo: { countryName: 'Democratic Republic of the Congo', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, denmark: { countryName: 'Denmark', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, djibouti: { countryName: 'Djibouti', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, dominica: { countryName: 'Dominica', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, dominican: { countryName: 'Dominican Republic', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, ecuador: { countryName: 'Ecuador', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, egypt: { countryName: 'Egypt', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, elsalvador: { countryName: 'El Salvador', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, equatorialguinea: { countryName: 'Equatorial Guinea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, eritrea: { countryName: 'Eritrea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, estonia: { countryName: 'Estonia', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, eswatini: { countryName: 'Eswatini', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, ethiopia: { countryName: 'Ethiopia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, fiji: { countryName: 'Fiji', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, finland: { countryName: 'Finland', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, france: { countryName: 'France', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, gabon: { countryName: 'Gabon', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, gambia: { countryName: 'Gambia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, georgia: { countryName: 'Georgia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, ghana: { countryName: 'Ghana', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, greece: { countryName: 'Greece', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, grenada: { countryName: 'Grenada', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, guatemala: { countryName: 'Guatemala', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, guinea: { countryName: 'Guinea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, guineabissau: { countryName: 'Guinea-Bissau', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, guyana: { countryName: 'Guyana', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, haiti: { countryName: 'Haiti', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, holysee: { countryName: 'Holy See', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, honduras: { countryName: 'Honduras', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, hungary: { countryName: 'Hungary', transport: { ups: ['UPS', 25, 'eur'], }, payment: ['Transfer'] }, iceland: { countryName: 'Iceland', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, india: { countryName: 'India', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, indonesia: { countryName: 'Indonesia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, iran: { countryName: 'Iran', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, iraq: { countryName: 'Iraq', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, ireland: { countryName: 'Ireland', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, israel: { countryName: 'Israel', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, italy: { countryName: 'Italy', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, jamaica: { countryName: 'Jamaica', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, japan: { countryName: 'Japan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, jordan: { countryName: 'Jordan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, kazakhstan: { countryName: 'Kazakhstan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, kenya: { countryName: 'Kenya', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, kiribati: { countryName: 'Kiribati', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, kuwait: { countryName: 'Kuwait', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, kyrgyzstan: { countryName: 'Kyrgyzstan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, laos: { countryName: 'Laos', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, latvia: { countryName: 'Latvia', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, lebanon: { countryName: 'Lebanon', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, lesotho: { countryName: 'Lesotho', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, liberia: { countryName: 'Liberia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, libya: { countryName: 'Libya', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, lichtenstein: { countryName: 'Lichtenstein', transport: { ups: ['UPS', 28, 'eur'], }, payment: ['Transfer'] }, lithuania: { countryName: 'Lithuania', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, luxembourg: { countryName: 'Luxembourg', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, madagascar: { countryName: 'Madagascar', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, malawi: { countryName: 'Malawi', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, malaysia: { countryName: 'Malaysia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, maldives: { countryName: 'Maldives', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, mali: { countryName: 'Mali', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, malta: { countryName: 'Malta', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, marshallislands: { countryName: 'Marshall Islands', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, mauritania: { countryName: 'Mauritania', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, mauritius: { countryName: 'Mauritius', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, mexico: { countryName: 'Mexico', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, micronesia: { countryName: 'Micronesia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, moldova: { countryName: 'Moldova', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, monaco: { countryName: 'Monaco', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, mongolia: { countryName: 'Mongolia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, montenegro: { countryName: 'Montenegro', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, morocco: { countryName: 'Morocco', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, mozambique: { countryName: 'Mozambique', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, myanmar: { countryName: 'Myanmar', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, namibia: { countryName: 'Namibia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, nauru: { countryName: 'Nauru', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, nepal: { countryName: 'Nepal', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, netherlands: { countryName: 'Netherlands', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, newzealand: { countryName: 'New Zealand', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, nicaragua: { countryName: 'Nicaragua', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, niger: { countryName: 'Niger', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, nigeria: { countryName: 'Nigeria', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, northkorea: { countryName: 'North Korea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, northmacedonia: { countryName: 'North Macedonia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, norway: { countryName: 'Norway', transport: { ups: ['UPS', 28, 'eur'], }, payment: ['Transfer'] }, oman: { countryName: 'Oman', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, pakistan: { countryName: 'Pakistan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, palau: { countryName: 'Palau', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, palestinestate: { countryName: 'Palestine State', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, panama: { countryName: 'Panama', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, papuanewguinea: { countryName: 'Papua New Guinea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, paraguay: { countryName: 'Paraguay', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, peru: { countryName: 'Peru', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, philippines: { countryName: 'Philippines', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, poland: { countryName: 'Poland', transport: { ups: ['UPS', 25, 'eur'], }, payment: ['Transfer'] }, portugal: { countryName: 'Portugal', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, puerto: { countryName: 'Puerto Rico', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, qatar: { countryName: 'Qatar', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, romania: { countryName: 'Romania', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, russia: { countryName: 'Russia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, rwanda: { countryName: 'Rwanda', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, santkitts: { countryName: 'Saint Kitts and Nevis', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, saintlucia: { countryName: 'Saint Lucia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, saintvincent: { countryName: 'Saint Vincent and the Grenadines', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, samoa: { countryName: 'Samoa', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, sanmarino: { countryName: 'San Marino', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, saotome: { countryName: 'Sao Tome and Principe', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, saudiarabia: { countryName: 'Saudi Arabia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, senegal: { countryName: 'Senegal', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, serbia: { countryName: 'Serbia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, seychelles: { countryName: 'Seychelles', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, sierraleone: { countryName: 'Sierra Leone', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, singapore: { countryName: 'Singa Pore', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, slovenia: { countryName: 'Slovenia', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, solomonislands: { countryName: 'Solomon Islands', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, somalia: { countryName: 'Somalia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, southafrica: { countryName: 'South Africa', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, southkorea: { countryName: 'South Korea', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, southsudan: { countryName: 'South Sudan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, spain: { countryName: 'Spain', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, srilanka: { countryName: 'Sri Lanka', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, sudan: { countryName: 'Sudan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, suriname: { countryName: 'Suriname', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, sweden: { countryName: 'Sweden', transport: { ups: ['UPS', 29, 'eur'], }, payment: ['Transfer'] }, switzerland: { countryName: 'Switzerland', transport: { ups: ['UPS', 28, 'eur'], }, payment: ['Transfer'] }, syria: { countryName: 'Syria', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, tajikistan: { countryName: 'Tajikistan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, tanzania: { countryName: 'Tanzania', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, thailand: { countryName: 'Thailand', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, timorleste: { countryName: 'Timor-Leste', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, togo: { countryName: 'Togo', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, tonga: { countryName: 'Tonga', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, trinidadtobago: { countryName: 'Trinidad and Tobago', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, tunisia: { countryName: 'Tunisia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, turkey: { countryName: 'Turkey', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, turkmenistan: { countryName: 'Turkmenistan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, tuvalu: { countryName: 'Tuvalu', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, uganda: { countryName: 'Uganda', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, ukraine: { countryName: 'Ukraine', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, arabemirates: { countryName: 'United Arab Emirates', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, unitedkingdom: { countryName: 'United Kingdom', transport: { ups: ['UPS', 26, 'eur'], }, payment: ['Transfer'] }, usa: { countryName: 'United States of America', transport: { ups: ['UPS', 30, 'eur'], }, payment: ['Transfer'] }, uruguay: { countryName: 'Uruguay', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, uzbekistan: { countryName: 'Uzbekistan', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, vanuatu: { countryName: 'Vanuatu', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, venezuela: { countryName: 'Venezuela', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, vietnam: { countryName: 'Vietnam', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, yemen: { countryName: 'Yemen', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, zambia: { countryName: 'Zambia', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, zimbabwe: { countryName: 'Zimbabwe', transport: { ups: ['UPS', 36, 'eur'], }, payment: ['Transfer'] }, }; function changeTransportPayment() { // Previously selected const transportSelected = document.getElementById('zpusobPreprava').value; let transportSelectedIncluded = false; const delivery = document.getElementById('checkbox-delivery').checked; let countryElement, countryItem; if(delivery) { countryElement = document.getElementById('zakaznikCountryImportantValue'); countryItem = document.getElementById('zakaznikCountryImportant').value; } else { countryElement = document.getElementById('zakaznikCountryValue'); countryItem = document.getElementById('zakaznikCountry').value; } const countryData = countryTransportPaymentData[countryItem]; countryElement.value = countryData.countryName; document.getElementById('zpusobPreprava').onchange = function(event) { changeTransport(event.target.value); }; document.getElementById('zpusobPreprava').innerHTML = ''; for(const transportItem in countryData.transport) { const optionElement = document.createElement('option'); optionElement.value = transportItem; optionElement.innerHTML = countryData.transport[transportItem][0] + ' (+' + convertCurrency(countryData.transport[transportItem][1], true, countryData.transport[transportItem][2], form.option.general.currency) + ')'; document.getElementById('zpusobPreprava').appendChild(optionElement); if(!transportSelectedIncluded && optionElement.value == transportSelected) { transportSelectedIncluded = true; } } if(transportSelectedIncluded) { document.getElementById('zpusobPreprava').value = transportSelected; } document.getElementById('zpusobPlatba').innerHTML = ''; for(const paymentItem in countryData.payment) { const optionElement = document.createElement('option'); optionElement.value = countryData.payment[paymentItem]; optionElement.innerHTML = countryData.payment[paymentItem]; document.getElementById('zpusobPlatba').appendChild(optionElement); } changeTransport(document.getElementById('zpusobPreprava').value); } function changeTransport(transportItem) { const delivery = document.getElementById('checkbox-delivery').checked; const countryItem = (delivery ? document.getElementById('zakaznikCountryImportant').value : document.getElementById('zakaznikCountry').value); const transportData = countryTransportPaymentData[countryItem].transport[transportItem]; document.getElementById('zpusobPrepravaValue').value = transportData[0]; document.getElementById('zpusobPrepravaPriceValue').value = convertCurrency(transportData[1], true, transportData[2], form.option.general.currency); } document.addEventListener('DOMContentLoaded', function(event) { document.getElementById('zakaznikCountryImportant').onchange = document.getElementById('zakaznikCountry').onchange = function(event) { changeTransportPayment(); }; document.getElementById('zakaznikCountryImportant').innerHTML = ''; for(const countryItem in countryTransportPaymentData) { const optionElement = document.createElement('option'); optionElement.value = countryItem; optionElement.innerHTML = countryTransportPaymentData[countryItem].countryName; document.getElementById('zakaznikCountryImportant').appendChild(optionElement); } document.getElementById('zakaznikCountry').innerHTML = ''; for(const countryItem in countryTransportPaymentData) { const optionElement = document.createElement('option'); optionElement.value = countryItem; optionElement.innerHTML = countryTransportPaymentData[countryItem].countryName; document.getElementById('zakaznikCountry').appendChild(optionElement); } changeTransportPayment(); });