News
Polizei-Einsatz in Niederösterreich: Häuser evakuiert, Straßensperren erichtet
In Ternitz im Bezirk Neunkirchen hat am Mittwochvormittag ein Großeinsatz der Polizei stattgefunden. Mehrere Häuser seien evakuiert und Straßensperren errichtet worden, sagte Chefinspektor Johann Baumschlager.
Spezialeinheiten seien ausgerückt. Die Bevölkerung werde ersucht, die Anweisungen der Polizei zu befolgen. Den Grund des Einsatzes will man erst nach dessen Ende öffentlich bekannt geben, betonte der Sprecher.
Die Evakuierungen sind laut Baumschlager aus Vorsichtsgründen erfolgt. Es seien zumindest drei Gebäude betroffen, sagte Bürgermeister Christian Samwald (SPÖ) zur APA. Die Stadthalle sei geöffnet worden, um die Menschen mit Getränken und Nahrung zu versorgen. Etwa zehn bis 20 Leute haben sich demnach in den Vormittagsstunden dort eingefunden. “Die meisten sind aber zu Verwandten und Bekannten gefahren”, konstatierte Samwald.
Ihr Beitrag hilft, unsere Berichterstattung noch weiter auszubauen und diese weiterhin kostenlos und top-aktuell zu Verfügung zu stellen.
Ich akzeptiere die Datenschutzvereinbarung.*
Bitte halten Sie mich am laufenden. Ich will den Newsletter erhalten.
Jetzt unterstützen!
.mollie-donation-form-holder {
–don-bg-color: #fffbf8;
–don-border-color: #5e2c4f;
–don-color: rgb(26, 25, 25);
border: 2px solid var(–don-border-color);
background: var(–don-bg-color);
color: var(–don-color);
padding: 10px 15px;
margin-bottom: 15px;
position: relative;
}
.mollie-donation-form-holder h3 {
font-size: 18px;
text-align: center;
font-weight: bold;
margin-top: 5px;
margin-bottom: 10px;
}
.mollie-donation-form-holder p {
max-width: 455px;
text-align: center;
margin: 0 auto;
margin-bottom: 10px;
}
form.mollie-donation {
max-width: 100%;
margin: 0 auto;
text-align: center;
}
form.mollie-donation input[type=”checkbox”] {
font-size: 16px;
}
form.mollie-donation input[type=”number”],
form.mollie-donation input[type=”email”],
form.mollie-donation select {
font-family: ‘Blacker Sans’;
width: 190px;
border: none;
outline: none;
padding: 4px 8px;
background: white;
font-size: 18px;
text-align: center;
margin: 0 auto;
display: block;
border-bottom: 2px solid var(–don-border-color);
}
form.mollie-donation .donate-btn-holder {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
padding: var(–gutter-width-bottom);
max-width: 360px;
margin: 0 auto;
}
form.mollie-donation .donate-btn-holder .flex-break {
min-width: 100%;
height: 0px; max-height: 0px; margin: 0; padding: 0;
}
form.mollie-donation .donate-btn-holder button {
font-size: 16px;
border-width: 1px;
margin: calc(var(–gutter-width-bottom) / 4) calc(var(–gutter-width) / 4);
}
form.mollie-donation .donate-btn-holder button.selected {
cursor: pointer;
background: var(–hover-background);
color: var(–hover-color);
}
form.mollie-donation .donate-type-btn-holder {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
padding: var(–gutter-width-bottom);
margin-top: 10px;
gap: 1px;
padding: 1px;
background-color: var(–don-border-color);
}
form.mollie-donation .donate-type-btn-holder button {
font-size: 14px;
margin: 0;
border: none;
background-color: var(–don-bg-color);
}
form.mollie-donation .donate-type-btn-holder button.selected {
cursor: pointer;
background: var(–hover-background);
color: var(–hover-color);
}
form.mollie-donation input[type=”email”] {
width: 100%;
max-width: 320px;
margin-top: 20px;
}
form.mollie-donation select {
margin-top: 10px;
margin-bottom: 10px;
}
form.mollie-donation input[type=”number”] {
width: 100px;
margin-bottom: var(–gutter-width-bottom);
margin-top: calc(var(–gutter-width-bottom) * -1);
}
form.mollie-donation input[type=”number”] ~ small.num-input-error {
display: block;
margin-top: calc(var(–gutter-width-bottom) * -1);
margin-bottom: var(–gutter-width-bottom);
color: red;
}
form.mollie-donation input[type=”number”].hidden {
display: none;
}
form.mollie-donation button, form.mollie-donation a[type=”button”] {
margin: 0 auto;
display: block;
–border-color: var(–don-border-color);
–hover-background: #5e2c4f;
–color: var(–don-color);
–hover-color: #e0d2d8;
transition: background-color 300ms, color 300ms;
border: 1px solid var(–border-color);
background: var(–background);
color: var(–color);
padding: .3em 1em;
padding-bottom: .37em;
font-size: 1em;
font-family: Blacker Sans Text;
font-weight: 900;
text-decoration: none;
margin-bottom: 10px;
}
form.mollie-donation a[type=”button”] {
–border-color: white;
–hover-background: white;
–color: white;
–hover-color: #c03;
background: #c03;
}
form.mollie-donation a[type=”button”] {
display: inline-block;
}
form.mollie-donation button.disabled, form.mollie-donation a[type=”button”].disabled {
opacity: 0.5;
}
form.mollie-donation .checkbox-label:not(.hidden) ~ button,
form.mollie-donation .checkbox-label:not(.hidden) ~ a[type=”button”] {
margin-top: var(–gutter-width-bottom);
}
form.mollie-donation button:disabled {
opacity: 0.5;
}
form.mollie-donation button:hover,
form.mollie-donation a[type=”button”]:not(.disabled):hover {
cursor: pointer;
background: var(–hover-background);
color: var(–hover-color);
}
form.mollie-donation .checkbox-label {
display: block;
margin-bottom: 3px;
text-align: center;
}
form.mollie-donation .checkbox-label a {
color: inherit;
}
form.mollie-donation .checkbox-label.hidden {
display: none;
}
.mollie-donation-modal {
display: block;
}
.mollie-donation-modal[data-modal-opened] {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(255,255,255,0.7);
z-index: 10000;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
-ms-transition: opacity 0.5s ease-in-out;
-o-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}
.mollie-donation-backdrop {
display: block;
}
.mollie-donation-modal[data-modal-opened] .mollie-donation-form-holder {
margin: 10px;
}
.mollie-donation-modal[data-modal-opened] .mollie-donation-backdrop {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.mollie-donation-close-button {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
width: 20px;
height: 20px;
display: flex;
align-self: center;
justify-content: center;
display: none;
}
.mollie-donation-modal[data-modal-opened] .mollie-donation-close-button {
display: flex;
}
.mollie-donation-close-button::after {
content: “”;
display: block;
width: 2px;
height: 20px;
background-color: #333;
transform: rotate(45deg);
position: absolute;
top: 0;
left: 9px;
}
.mollie-donation-close-button::before {
content: “”;
display: block;
width: 2px;
height: 20px;
background-color: #333;
transform: rotate(-45deg);
}
(($) => {
$(() => {
const loadingSpinner = “;
jQuery(‘.mollie-donation-modal:not(:eq(0))’).remove();
$( document ).ready(function() {
var mdf = localStorage.getItem(“mollie-donation-form”);
if(mdf === null) {
setTimeout(function() {
$(“.mollie-donation-modal”).attr(“data-modal-opened”, “”);
localStorage.setItem(“mollie-donation-form”, true);
}, 2000);
}
});
const $form = $(‘form.mollie-donation’);
if ($form.length > 0) {
const $numInput = $form.find(‘input[type=”number”]’)
const default_value = 10;
$form.find(‘.donate-btn-holder button’).removeClass(‘selected’);
$form.find(‘.donate-btn-holder button[value=”‘ + default_value + ‘”]’).addClass(‘selected’);
$numInput.val(default_value);
$form.find(‘input[type=”email”]’).val(”)
$form.find(‘.checkbox-label input’).prop(‘checked’, false);
$form.find(‘input[type=”email”]’).on(‘input’, e => {
if (e.delegateTarget.checkValidity()) {
$form.find(‘.privacy-label’).removeClass(‘hidden’);
}
})
$form.find(‘.privacy-label input’).on(‘change’, e => {
$form.find(‘.newsletter-label’).removeClass(‘hidden’);
})
const removeNumInputError = (msg) => {
$form.find(‘.num-input-error’).remove();
}
const addNumInputError = (msg) => {
removeNumInputError();
$numInput.after(`${msg}`);
}
$numInput.on(‘change’, e => {
removeNumInputError();
const $target = $(e.delegateTarget);
const newValue = $target.val();
if(Number.parseInt(newValue).toString() !== newValue) {
$target.val(Number.parseInt(newValue));
addNumInputError(‘Betrag muss rund und größer 2€ sein’);
} else if (Number.parseInt(newValue) {
$form.find(‘.donate-btn-holder button’).removeClass(‘selected’);
const selected_value = $(e.delegateTarget).attr(‘value’);
$form.find(‘.donate-btn-holder button[value=”‘ + selected_value + ‘”]’).addClass(‘selected’);
if (selected_value === ‘free’) {
// $numInput.removeClass(‘hidden’);
} else {
$numInput.addClass(‘hidden’);
$numInput.val(selected_value);
}
$form.change();
});
$form.find(‘.donate-type-btn-holder button’).on(‘click’, e => {
$form.find(‘.donate-type-btn-holder button’).removeClass(‘selected’);
const selected_value = $(e.delegateTarget).attr(‘value’);
$form.find(‘.donate-type-btn-holder button[value=”‘ + selected_value + ‘”]’).addClass(‘selected’);
if (selected_value === ‘free’) {
// some code
} else {
// $numInput.addClass(‘hidden’);
// $numInput.val(selected_value);
// $form.change()
}
$form.change();
});
const setDonateButtonUrl = () => {
const type = jQuery(‘.donate-type-btn-holder .donate-select-btn.selected’).attr(‘value’);
const amount = jQuery(‘.donate-btn-holder .donate-select-btn.selected’).attr(‘value’);
const rawMail = $form.find(‘input[type=”email”]’).val();
const mail = encodeURIComponent(rawMail);
const newsletter = $form.find(‘.newsletter-label input’).is(‘:checked’) ? ‘1’ : ‘0’;
const page = site.post.id;
const categories = encodeURIComponent(JSON.stringify(site.post.categories));
console.log(‘should be setting to amount’, amount)
const amountUrlMapping = {
onetime: {
‘5’: ‘https://buy.stripe.com/8wMbKR6pi4tm2pa9AA’,
’10’: ‘https://buy.stripe.com/4gw8yFeVOcZS1l69AB’,
’20’: ‘https://buy.stripe.com/7sIcOV6pibVO7Ju8wy’,
‘100’: ‘https://buy.stripe.com/6oEcOV4ha1ha2pa3cf’,
‘free’: ‘https://buy.stripe.com/7sIaGN9BuaRK4xi5ko’,
},
monthly: {
‘5’: ‘https://buy.stripe.com/28o0297tm3pigg0dQW’,
’10’: ‘https://buy.stripe.com/eVaaGN9Bue3W3te7sC’,
’20’: ‘https://buy.stripe.com/aEUbKRdRKgc42pa8wF’,
‘100’: ‘https://buy.stripe.com/4gwg179BubVO4xi7sD’,
‘free’: ‘https://buy.stripe.com/14k5mt9Bu5xq6Fq28g’,
},
yearly: {
‘5’: ‘https://buy.stripe.com/14k16d7tmf809RCfZa’,
’10’: ‘https://buy.stripe.com/8wMbKRcNG7FyfbW4gt’,
’20’: ‘https://buy.stripe.com/00g8yF14Y2leaVGaES ‘,
‘100’: ‘https://buy.stripe.com/dR67uB8xq4tmgg0bIX’,
‘free’: ‘https://buy.stripe.com/dR6dSZcNG4tm0h228o’,
}
}
// for (const amount in amountUrlMapping[type]) {
// amountUrlMapping[type][amount] ? $form.find(`.donate-select-btn[value=”${amount}”]`).show() : $form.find(`.donate-select-btn[value=”${amount}”]`).hide();
// }
$form.find(‘a[type=”button”]’).attr(‘href’, amountUrlMapping[type][amount]);
$(‘a[type=”button”]’).off(‘click’);
if ($form[0].checkValidity() && amountUrlMapping[type][amount]) {
$form.find(‘a[type=”button”]’).removeClass(‘disabled’)
$(‘a[type=”button”]’).on(‘click’, e => {
// In a timeout, so the href keeps being the right one while the a click is handled by the browser
setTimeout(() => {
if(mauticApi && typeof mauticApi.send === ‘function’) {
console.log(‘Sending to mautic ‘, {email: rawMail, is_newsletter: newsletter})
mauticApi.send({email: rawMail, is_newsletter: newsletter, source: “Spende”});
}
if (typeof gtag === ‘function’) {
gtag(‘event’, ‘donation_submitted’, {
event_category: ‘donation’,
event_label: ‘form_submitted’,
value: Number.parseInt(amount),
post: page,
category_slugs: categories,
});
}
$form.find(‘button[value=”‘ + default_value + ‘”]’).click()
$form.find(‘input[type=”email”]’).val(”)
$form.find(‘.checkbox-label’).addClass(‘hidden’);
$form.find(‘.checkbox-label input’).prop(‘checked’, false);
$form.change();
}, 100);
});
} else {
$(‘a[type=”button”]’).on(‘click’, e => {
e.preventDefault();
$form[0].reportValidity();
});
$form.find(‘a[type=”button”]’).addClass(‘disabled’)
}
}
setDonateButtonUrl();
$form.on(‘change’, setDonateButtonUrl);
}
});
})(jQuery);
`)})();
إرسال تعليق