{{terminalErrorHeading}}

An error has occurred

{{terminalError}}

Jesteś zalogowany jako
Jesteś zalogowany jako
Zostało jeszcze {{custom.textlength}}% artykułu

Chcesz przeczytać więcej? Zaloguj się do
swojego konta Forbes lub Mediaklub

{{custom.customTemplateHeader?custom.customTemplateHeader: "Nie masz jeszcze subskrypcji cyfrowej? Kup dostęp, aby w nieograniczony sposób korzystać ze wszystkich możliwości serwisu." }}

* Interesuje Cię pakiet wielu subskrypcji? Napisz do nas subskrypcjedlafirm@ringieraxelspringer.pl

var mutationObserver = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if(jQuery('#offerdata').attr('data-offerid')){ var now = new Date(); var file = 'GTccriLYpeo.json'; var bucket = 'https://paidnewsletters.ocdn.eu/'; jQuery.get(bucket + file + '?_c=' + Math.round(now/100000)).done(function(data){ if(data){ if(data.terms){ var terms = data.terms; jQuery('[data-termid]').each(function() { if(terms[jQuery(this).attr('data-termid')]){ var termid = jQuery(this).attr('data-termid'); jQuery(this).find('[data-object]').each(function() { var object = jQuery(this).attr('data-object'); if(terms[termid][object]){ jQuery(this).html(terms[termid][object]); jQuery(this).show(); } }); } }); } if(data.offers){ var offers = data.offers; jQuery('[data-offerid]').each(function() { if(jQuery(this).attr('data-custom')){ jQuery(this).html(jQuery(this).attr('data-custom')); jQuery(this).show(); } else if (offers[jQuery(this).attr('data-offerid')]){ var offerid = jQuery(this).attr('data-offerid'); var object = jQuery(this).attr('data-object'); if(offers[offerid][object]){ jQuery(this).html(offers[offerid][object]); jQuery(this).show(); } } }); } } }).fail(function() { jQuery('[data-offerid]').each(function() { if(jQuery(this).attr('data-custom')){ jQuery(this).html(jQuery(this).attr('data-custom')); jQuery(this).show(); } }); }); var periods = {"miesiąc" : 1, "6 miesięcy": 6, "rok": 12}; var first = {"1 miesiąc" : "pierwszy miesiąc", "6 miesięcy": "pierwsze 6 miesięcy", "1 rok": "pierwszy rok"}; var periodsFixedTime = {1:"za miesiąc", 3:"za kwartał", 6:"za pół roku", 12:"za rok"}; var periodsSubscription = {1:"miesięcznie", 3:"kwartalnie", 6:"półrocznie", 12:"rocznie"}; jQuery(".price").each(function(){ var isSubscription = jQuery( this ).attr("data-isSubscription"); var per = jQuery( this ).attr("data-period"); var price = jQuery( this ).attr("data-price"); var trial = jQuery( this ).attr("data-trial"); var normal = jQuery( this ).attr("data-normal"); //gdybyśmy chcieli cenę na miesiąc //jQuery( this ).text((price/periods[per]).toFixed(2) + " zł").toString().replace(".", ",").replace(",00", ""); //ale nie chcemy, więc: if(first[trial]){ jQuery( this ).find('.first').text(first[trial]); } else { jQuery( this ).find('.first').text("pierwsze "+trial); } if(jQuery.trim(jQuery( this ).find('.price-line').text() ).length){ jQuery( this ).find('.price-line').text((Number(normal).toFixed(2) + " zł").toString().replace(".", ",").replace(",00", "")); } if(jQuery.trim(jQuery( this ).find('.price-normal').text() ).length){ jQuery( this ).find('.price-normal').text((Number(normal).toFixed(2) + " zł").toString().replace(".", ",").replace(",00", "")); } jQuery( this ).find('.priceDisplayValue').text((Number(price).toFixed(2) + " zł").toString().replace(".", ",").replace(",00", "")); if(isSubscription == "true"){ jQuery( this ).parent().children('.period').text(periodsSubscription[periods[per]]); }else{ jQuery( this ).parent().children('.period').text(periodsFixedTime[periods[per]]); } }); mutationObserver.disconnect(); } }); }); mutationObserver.observe(document.querySelector('#offerdata'), { attributes: true, attributeFilter: ['data-offerid'] }); setTimeout(function(){ const passSource = ([1e7]+-1e3).replace(/[018]/g, c =>(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)); jQuery('.passSource').attr('data-pass',passSource); jQuery('.passSource').attr("href", jQuery('.passSource').attr("href")+"&utm_term="+passSource); jQuery(document).on('click', '.passSource', function(){ var msg = { type: 'passSource', message: passSource }; parent.postMessage(msg,"*"); }); }, 200);
if (TPParam && TPParam.GEO_COUNTRY_CODE) { parent.postMessage({ countryCode: TPParam.GEO_COUNTRY_CODE }, '*'); }