Ağrı’da karla mücadele için 102 iş makinesi sahada
Ağrı İl Özel İdaresi, kışa hazır olduğunu duyurdu; karla mücadelede 102 iş makinesi, 137 personel ve 8 mobil ekibiyle 7/24 sahada olduğunu ifade etti.
‘;
printHtml += cleanHeaderHtml;
}
if (media) {
printHtml += media.outerHTML;
}
if (articleBody) {
const articleClone = articleBody.cloneNode(true);
articleClone.querySelectorAll(‘.post-flash’).forEach(function (el) {
el.parentNode.removeChild(el);
});
printHtml += articleClone.outerHTML;
}
const iframe = document.createElement(‘iframe’);
iframe.style.position = ‘fixed’;
iframe.style.right = ‘0’;
iframe.style.bottom = ‘0’;
iframe.style.width = ‘0’;
iframe.style.height = ‘0’;
iframe.style.border = ‘0’;
document.body.appendChild(iframe);
const frameWindow = iframe.contentWindow || iframe;
const title = document.title || ‘Yazdır’;
// Yazdırma belgesi DOM API ile kurulur. Eskiden doc.write ile tam bir HTML
// belgesi metni yazılıyordu; o metin sayfa kaynağında fazladan head/body
// etiketleri gibi görünüp SEO denetim araçlarını yanıltıyordu.
// Yalnız doctype yazılır: standart modda (quirks değil) boş html/head/body oluşur.
const doc = frameWindow.document;
doc.open();
doc.write(”);
doc.close();
doc.documentElement.lang = ‘tr’;
const charset = doc.createElement(‘meta’);
charset.setAttribute(‘charset’, ‘utf-8’);
doc.head.appendChild(charset);
doc.title = title;
// Sayfanın stilleri kopyalanır; ‘ler yüklenince yazdırılır (aksi halde çıktı stilsiz kalır)
const styleLoads = [];
document.querySelectorAll(‘link[rel=”stylesheet”], style’).forEach(function (el) {
const clone = doc.importNode(el, true);
if (clone.tagName === ‘LINK’) {
styleLoads.push(new Promise(function (resolve) {
clone.onload = clone.onerror = resolve;
}));
}
doc.head.appendChild(clone);
});
const printStyle = doc.createElement(‘style’);
printStyle.textContent =
‘html, body { margin: 0; padding: 0; background: #ffffff; }’ +
‘.printed-article { margin: 0; padding: 20px; box-shadow: none; background: #ffffff; }’;
doc.head.appendChild(printStyle);
const wrapper = doc.createElement(‘div’);
wrapper.className = ‘printed-article’;
wrapper.innerHTML = printHtml;
doc.body.appendChild(wrapper);
// Stil dosyası takılırsa yazdırma sonsuza dek beklemesin
const stylesReady = Promise.race([
Promise.all(styleLoads),
new Promise(function (resolve) { setTimeout(resolve, 3000); })
]);
stylesReady.then(function () {
try {
frameWindow.focus();
frameWindow.print();
} finally {
setTimeout(function () {
document.body.removeChild(iframe);
}, 1000);
}
});
}
var dropdownButton = document.querySelector(‘.dropdownButton’);
if (dropdownButton) {
var icon = dropdownButton.querySelector(‘#icon’);
var parentDropdown = dropdownButton.closest(‘.dropdown’);
if (parentDropdown && icon) {
parentDropdown.addEventListener(‘show.bs.dropdown’, function () {
icon.classList.remove(‘fa-plus’);
icon.classList.add(‘fa-minus’);
});
parentDropdown.addEventListener(‘hide.bs.dropdown’, function () {
icon.classList.remove(‘fa-minus’);
icon.classList.add(‘fa-plus’);
});
}
}
Ağrı İl Özel İdaresi, kış hazırlıklarının tamamlandığını açıkladı. Kurum, sosyal medya hesabından yaptığı paylaşımda Ağrı’nın dört bir yanında kar yağışına karşı hazırlıkların tamamlandığını duyurdu.
Gözden kaçırmayın
102 iş makinesi ve 137 personel görev başında
Vatandaşların mağduriyet yaşamaması ve yolların açık tutulması amacıyla 102 iş makinesi, 137 personel ve 8 mobil ekibin 7 gün 24 saat sahada olduğu belirtildi.
Ağrı İl Özel İdaresi, paylaşımını “İçiniz rahat, yolunuz açık olsun Ağrı.” mesajıyla tamamladı.
Kaynak: dogubayazitgazetesi.com

