'use strict';
var JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7 = (function(){
let
cf,
initRun = false;
const
cfg = '{"hash":"b65fdbb6b7d9ee52dfce9a85f084c4b7","athash":"ff3f895b63fcf44d2d8b28dede737ea8","atschash":"3013223a2e6e53d811361793cd46a4c2","myurl":"\/teaser\/1.js","lmhash":"3840a8034ffeda63f2c9673d545f13f4","lmathash":"b3eb80de0882b47448ca8ad8379d16e7","lmatschash":"38131e90cb5656c29c61de2eda4b18a5","lmurl":"\/teaser\/1_lm.js","lmisl":"","lmisls":1,"bp":"https:\/\/jobs.tageblatt.de\/","prwp":"https:\/\/jobs.tageblatt.de\/resource\/","grwp":"https:\/\/jobs.tageblatt.de\/api\/","frags":"basecss,title,hili,link","display":1,"width":0,"opad":"0px 0px 0px 0px","omar":"0px 0px 0px 0px","ci1sicin":0,"ci1sicse":21,"ci1sicsa":11,"ci1sichu":223,"ci1sicbr":89,"ci1sicco":102,"ci1bgc":"#ffffff","ci1bgfc":"#000000","ci1bgf2c":"#e5e5e5","ci2bgc":"#000000","ci2bgfc":"#ffffff","ci2bgf2c":"#ffffff","ci2tbgs":0,"ci2hjts":0,"ci3bgc":"#000000","ci3bgfc":"#ffffff","ci3bgf2c":"#333333","css":"","title":"Jobs","hiliads":[{"url":"https:\/\/jobs.tageblatt.de\/job\/serviceassistenz-m-w-d.1155462385.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/serviceassistenz-m-w-d.1155462385.html","title":"Serviceassistenz (m\/w\/d)","company":"STADAC GmbH","location":"Stade","date":"11.04.2023","marker":",2,"},{"url":"https:\/\/jobs.tageblatt.de\/job\/disponent-in-m-w-d-im-fahrzeugwesen.1155462375.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/disponent-in-m-w-d-im-fahrzeugwesen.1155462375.html","title":"Disponent\/-in (m\/w\/d) im Fahrzeugwesen","company":"STADAC GmbH","location":"Stade","date":"11.04.2023","marker":",2,"},{"url":"https:\/\/jobs.tageblatt.de\/job\/kfz-mechatroniker-in-m-w-d.1155462365.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/kfz-mechatroniker-in-m-w-d.1155462365.html","title":"Kfz-Mechatroniker\/-in (m\/w\/d)","company":"STADAC GmbH","location":"Stade","date":"11.04.2023","marker":",2,"},{"url":"https:\/\/jobs.tageblatt.de\/job\/mitarbeiter-m-w-d-kunden-service-center.1149270385.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/mitarbeiter-m-w-d-kunden-service-center.1149270385.html","title":"Mitarbeiter (m\/w\/d) Kunden-Service-Center","company":"TAGEBLATT Media GmbH","location":"Stade","date":"04.04.2023","marker":",2,"},{"url":"https:\/\/jobs.tageblatt.de\/job\/ausbildung-kaufmann-frau-fuer-bueromanagement-m-w-d.1149267665.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/ausbildung-kaufmann-frau-fuer-bueromanagement-m-w-d.1149267665.html","title":"Ausbildung - Kaufmann\/-frau für Büromanagement (m\/w\/d)","company":"Pressehaus Stade Werbe- und Logistik GmbH & Co. KG","location":"Stade","date":"04.04.2023","marker":",2,"},{"url":"https:\/\/jobs.tageblatt.de\/job\/bautechniker-in-architekt-in-bauingenieur-in.1142471235.html","turl":"https:\/\/jobs.tageblatt.de\/job\/detail\/bautechniker-in-architekt-in-bauingenieur-in.1142471235.html","title":"Bautechniker*in \/ Architekt*in \/ Bauingenieur*in","company":"m. jahn","location":"Buxtehude","date":"27.03.2023","marker":",2,"}],"hilijcs":"tsnr-1","hiliami":2,"hiliamn":"TopJob","hiliqvs":1,"hiliqlm":1,"linkun":"Weitere Angebote finden","linku":"https:\/\/jobs.tageblatt.de\/","linksu":"","linkut":"_blank"}',
app = {
'html': '
#{content}
',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 style {display: none;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-sysscrollable {overflow: auto;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7{background-color: var(--ci1bgc); color: var(--ci1bgfc); $pad $mar} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7>*{display: block; margin: 0 0 20px} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7>:last-child {margin-bottom: 0} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 img {max-width: 150px} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-gctitle {font-size: 1.2em; font-weight: bold; padding:0 10px;} '},
mods = {
'header': { 'html':'', 'css': '' },
'footer': { 'html':'', 'css': '' },
'lili': {
'html':'#{content}

',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lili{display: flex; gap: 5px; flex-wrap: wrap; position: relative;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-liliitem {background-color: var(--ci2bgc); color: var(--ci2bgfc); text-decoration: none; padding: 7px 10px; text-align: center;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-liliitem.jwtpl-tsnr-liliitemactive1 {background-color: var(--ci3bgc); color: var(--ci3bgfc);} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lilitoggle {display: none; position: absolute; right: 0; top: 5px; width: 30px; filter: invert(0%) sepia(21%) saturate(11%) hue-rotate(223deg) brightness(89%) contrast(102%);} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lilicom .jwtpl-tsnr-lilitoggle {display: block;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lilitogglecnt {position: absolute; right: 0; top: 40px; z-index:2; background-color: #fff; box-shadow: 0 0 2px 1px rgb(0 0 0 / 15%); padding: 5px; display: none;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lilitogglecnt > a {background-color: #fff; color: #000; text-align: left; display: block;} @media screen and (max-width: 768px) { .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-lilitoggle {display: inline-block; cursor: pointer; }}'
},
'title': {
'html' : '#{content}
',
'css' : '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-title{border-bottom: 1px solid var(--ci1bgf2c); padding:10px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-titlebg{background-color: var(--ci2bgc); color: var(--ci2bgfc);}'
},
'subtitle1': {
'html' : '#{content}
',
'css' : ''
},
'subtitle2': {
'html' : '#{content}
',
'css' : ''
},
'subtitle3': {
'html' : '#{content}
',
'css' : ''
},
'text': {
'html':'',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-text{border: 1px solid var(--ci1bgf2c); padding: 10px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-text p {margin: 0;}'
},
'hili': {
'html': `<#{tag} href="#{url}?jw_chl_seg=#{hilijcs}" data-jwtpl-tnsr-hiliitemturl="#{turl}" class="jwtpl-tsnr-hiliitem" target="_blank">
#{magniicon}
#{label}#{title}
#{date}
#{company}
#{location}
#{tag}>`,
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem {margin-bottom: 10px; padding: 0 10px 10px 10px;border-bottom: 1px solid var(--ci1bgf2c); position: relative; cursor: pointer;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitemqv { padding-right: 35px; } .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem:last-of-type {border-bottom: 0; margin-bottom: 0;padding-bottom: 0;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem:first-of-type {padding: 0 10px 10px 10px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem{display: block;text-decoration: none;color: var(--ci1bgfc)} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem >span {display: block;margin: 0 25px 5px 0px; word-break: break-word;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem >span:last-of-type{margin: 0}.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hilititle {font-weight: bold} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hilititlefc {color: var(--ci3bgc);} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliccompany {font-style: italic} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliaddonlabel {color: var(--ci3bgfc); background-color: var(--ci3bgc); display: inline-block; padding: 2px 5px; margin-right: 5px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-sysscrollable .jwtpl-tsnr-hiliitem .jwtpl-tsnr-hiliitemagni {right: 9px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliitem .jwtpl-tsnr-hiliitemagni {cursor: pointer; position: absolute; top: 0px; right: 10px; width: 17px; padding: 5px; filter: invert(0%) sepia(21%) saturate(11%) hue-rotate(223deg) brightness(89%) contrast(102%);box-sizing:content-box;} .jwtpl-tsnr-ifrpane{position: fixed; background-color: rgba(0,0,0,.7); top:0; right: 0; bottom: 0; left: 0;z-index:3;} .jwtpl-tsnr-ifrclose {position: absolute; top: 40px; right: 16vw; font-size: 30px; color: #fff; cursor: pointer; height: 30px; filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(300deg) brightness(112%) contrast(101%);} .jwtpl-tsnr-ifrnext{position: absolute; top: 40px; left: 19vw; font-size: 30px; color: #fff; cursor: pointer; height: 30px; filter: invert(100%) sepia(90%) saturate(0%) hue-rotate(85deg) brightness(108%) contrast(100%);} .jwtpl-tsnr-ifrprev{display: block; position: absolute; top: 40px; left: 16vw; font-size: 30px; color: #fff; cursor: pointer; height: 30px; filter: invert(100%) sepia(90%) saturate(0%) hue-rotate(85deg) brightness(108%) contrast(100%);} .jwtpl-tsnr-ifrprev.jwtpl-tsnr-ifrmaginitial {pointer-events: none;cursor: default;opacity: 0.5;} .jwtpl-tsnr-ifrnext.jwtpl-tsnr-ifrmaginitial {pointer-events: none;cursor: default;opacity: 0.5;} .jwtpl-tsnr-ifrmag {width: 70%; margin: 80px auto; height: 650px; display: block} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliblock::-webkit-scrollbar{width:5px} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliblock::-webkit-scrollbar-track{background-color: var(--ci3bgc);} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hiliblock::-webkit-scrollbar-thumb{background-color: var(--ci2bgc);} @media screen and (max-width: 768px) { .jwtpl-tsnr-ifrmag {width: 95%; margin: 70px auto 0 auto; height: 80vh; border: 2px solid #fff;} .jwtpl-tsnr-ifrclose {top: 30px; right: 6vw;} .jwtpl-tsnr-ifrnext{top: 30px; left: 19vw;} .jwtpl-tsnr-ifrprev{top: 30px; left: 4vw;}} @media screen and (max-width: 1024px) { .jwtpl-tsnr-ifrnext{left: 24vw;}} ',
},
'hililml': {
'html':'#{content}
',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-hililoadmorelink{text-align: center;} .jwtpl-tsnr-hililoadmorelink > span {background-color: var(--ci2bgc); color: var(--ci2bgfc); text-decoration: none; padding: 7px 10px; display: block; cursor: pointer;}'
},
'tacl': {
'html':'',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-tacltitle{ margin-bottom: 10px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-taclitemlist {display: grid; grid-template-columns: 1fr 1fr 1fr; grid-column-gap: 5px; grid-row-gap: 5px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-taclitemlist > a {text-decoration: none; color: var(--ci3bgfc); background-color: var(--ci3bgc); text-align: center; padding: 7px;} @media screen and (max-width: 768px) { .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-taclitemlist {grid-template-columns: 1fr 1fr;}} @media screen and (max-width: 576px) {.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-taclitemlist {grid-template-columns: 1fr;}}'
},
'sebo': {
'html':`
`,
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform input {height: 100%; padding: 0 0 0 10px; box-sizing:border-box;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform button {font-size: inherit; border: 0; height: 100%;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform {display: grid; grid-template-columns: 2fr 2fr 1fr; grid-column-gap: 10px; height:39px} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform button {background-color: var(--ci2bgc); color: var(--ci2bgfc);} @media screen and (max-width: 768px) {.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform{grid-template-columns: 1fr; grid-row-gap: 10px; height:unset;}.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform input {height: 35px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-seboform button {height: 39px;}}'
},
'link': {
'html':'',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-jobmarketlink{text-align: center;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-jobmarketlink > a {background-color: var(--ci2bgc); color: var(--ci2bgfc); text-decoration: none; padding: 7px 10px; display: block;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-jobmarketlink.jwtpl-tsnr-jobmarketlinklm > a{background-color: var(--ci2bgc); color: var(--ci2bgfc);}'
},
'plogo': {
'html': '#{aTag}

#{/aTag}
',
'css': ''
},
'jwlogo':{
'html': '
',
'css': ''
},
'joma':{
'html': '',
'css': '.jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-joma {border: 1px solid var(--ci1bgf2c); padding: 10px;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-joma p{margin: 0 0 10px 0;} .jwtpl-tsnr-blockhashb65fdbb6b7d9ee52dfce9a85f084c4b7 .jwtpl-tsnr-joma a{color: var(--ci1bgfc)}'
}
},
img = {
'close':'img/svg/cancel-circle.svg',
'next':'img/svg/circle-right.svg',
'prev':'img/svg/circle-left.svg',
'menu':'img/svg/menu.svg',
'magni':'img/svg/magnifier.svg',
'link':'img/svg/link.svg'
};
function pinit() {
try { } catch(e) {return false;}
}
function initLiliMenu() {
let
triggered = false,
ct,
script;
const
liliToggle = document.querySelector('.jwtpl-tsnr-lilitoggle'),
liliItems = document.querySelectorAll('.jwtpl-tsnr-liliitem');
if(liliItems.length > 0) {
for(let i=0; i{
if(e.target.target === '_self') {
e.preventDefault();
}
ct = document.querySelector('#'+ cf['athash']);
if(ct && ct.getAttribute('data-jwtpl-tsnr-lilile') === 'false') {
if(e.target && e.target.hasAttribute('href') === true) {
ct.setAttribute('data-jwtpl-tsnr-lilile', 'true');
ct.setAttribute('data-jwtpl-tsnr-hash2', 'b65fdbb6b7d9ee52dfce9a85f084c4b7');
ct.setAttribute('data-jwtpl-tsnr-hash2sc', cf['atschash']);
let script = document.createElement('script');
script.src = cf['bp'] + (e.target.getAttribute('href').slice(1));
ct.insertAdjacentElement('afterend', script);
}
}
});
}
}
liliToggle.addEventListener('click', (e) => {
let togglecnt = e.target.nextElementSibling;
if(togglecnt) {
if(window.getComputedStyle(togglecnt, null).display === 'none') {
togglecnt.style.display = 'block';
} else {
togglecnt.style.display = 'none';
}
}
});
if (JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.width() < 769 && triggered === false) {
triggered = true;
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.minLili();
}
window.addEventListener('resize', function(e) {
if (JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.width() < 769 && triggered === false) {
triggered = true;
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.minLili();
} else if (JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.width() > 769 && triggered === true) {
triggered = false;
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.maxLili();
}
});
}
function forward(x,frame,prevPane,nextPane,limit) {
if (x === limit) {
prevPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
nextPane.classList.add("jwtpl-tsnr-ifrmaginitial");
} else {
frame.src= cf['hiliads'][x/2 +1].turl;
prevPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
nextPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
}
}
function backward(x,frame,prevPane,nextPane) {
if (x === 0) {
prevPane.classList.add("jwtpl-tsnr-ifrmaginitial");
nextPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
} else {
frame.src= cf['hiliads'][x/2 -1].turl;
prevPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
nextPane.classList.remove("jwtpl-tsnr-ifrmaginitial");
}
}
function initAdView () {
let ads = document.querySelectorAll('.jwtpl-tsnr-hiliitem, .jwtpl-tsnr-hiliitemagni');
if(ads.length > 0 && typeof cf['hiliqvs'] !== 'undefined' && cf['hiliqvs'] == 1) {
let frame, pane, closeIcon, nextIcon, prevIcon, closePane, nextPane, prevPane;
for(let i=0; i {
let currentIndex = i;
e.preventDefault();
if(ads[i].classList.contains('jwtpl-tsnr-hiliitem') === true) {
if(e.target.parentElement && e.target.parentElement.hasAttribute('data-jwtpl-tnsr-hiliitemturl')) {
let app = document.getElementById(cf['hash']);
pane = document.createElement('div');
closeIcon = document.createElement('img');
closeIcon.setAttribute('class', 'jwtpl-tsnr-ifrclose');
closeIcon.setAttribute('src',cf['grwp'] + img['close']);
nextIcon = document.createElement('img');
nextIcon.setAttribute('class', 'jwtpl-tsnr-ifrnext');
nextIcon.setAttribute('src',cf['grwp'] + img['next']);
prevIcon = document.createElement('img');
prevIcon.setAttribute('class', 'jwtpl-tsnr-ifrprev');
prevIcon.setAttribute('src',cf['grwp'] + img['prev']);
pane.setAttribute('class', 'jwtpl-tsnr-ifrpane');
pane.setAttribute('data-jwtpl-tsnr-ifrcnt', i);
frame = document.createElement('iframe');
frame.setAttribute('src', e.target.parentElement.getAttribute('data-jwtpl-tnsr-hiliitemturl'));
frame.setAttribute('class', 'jwtpl-tsnr-ifrmag');
frame.setAttribute('frameborder', '0');
pane.append(closeIcon);
pane.append(nextIcon);
pane.append(prevIcon);
pane.append(frame);
document.body.append(pane);
if(app) {
app.style.position = 'initial';
}
closePane = document.querySelector('.jwtpl-tsnr-ifrclose');
if(closePane) {
closePane.addEventListener('click', (e)=> {
pane.remove();
if(app){
app.style.position = 'initial';
}
});
};
prevPane = document.querySelector('.jwtpl-tsnr-ifrprev');
nextPane = document.querySelector('.jwtpl-tsnr-ifrnext');
if(prevPane){
prevPane.addEventListener('click', (e)=> {
backward(currentIndex,frame,prevPane,nextPane);
currentIndex = currentIndex-2;
if(currentIndex===0){
prevPane.classList.add("jwtpl-tsnr-ifrmaginitial");
}
});
};
if(nextPane){
nextPane.addEventListener('click', (e)=> {
forward(currentIndex,frame,prevPane,nextPane,ads.length-2);
currentIndex = currentIndex+2;
if(currentIndex === ads.length-2){
nextPane.classList.add("jwtpl-tsnr-ifrmaginitial");
}
});
};
if(i===0){
prevPane.classList.add("jwtpl-tsnr-ifrmaginitial");
}
if(i===ads.length-2){
nextPane.classList.add("jwtpl-tsnr-ifrmaginitial");
}
}
} else if(ads[i].classList.contains('jwtpl-tsnr-hiliitemagni') === true) {
e.stopPropagation();
if(e.target.parentElement && e.target.parentElement.hasAttribute('data-jwtpl-tnsr-hiliitemurl')) {
window.open(e.target.parentElement.getAttribute('data-jwtpl-tnsr-hiliitemurl'), '_blank');
}
}
});
}
}
}
function doLoadMore() {
if(!cf['hilich']) {
let hili = document.querySelector('.jwtpl-tsnr-hiliblock');
if(hili) {
cf['hilich'] = hili.offsetHeight;
}
}
if(typeof cf['lmisls'] !== 'undefined' && cf['lmisls'] == 1) {
let ct = document.getElementById(cf['lmathash']);
if(ct.getAttribute('data-jwtpl-tsnr-lmle') === 'false') {
let
i = 0,
inv,
scriptExists = document.getElementById(cf['lmatschash']),
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag = document.getElementById(cf['atschash']);
ct.setAttribute('data-jwtpl-tsnr-lmle', 'true');
if(scriptExists) {
scriptExists.remove();
}
let script = document.createElement('script');
script.setAttribute('src',cf['bp'] + cf['lmurl'].slice(1));
script.setAttribute('id', cf['lmatschash']);
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag.insertAdjacentElement('beforebegin', script);
inv = setInterval(()=>{
i++;
if(i >= 40 || window['JwTplJsLibAppTeaserNoResLoadMore_' + cf['lmhash']]) {
let
lmObj,
scriptExists = document.getElementById(cf['lmatschash']),
lmStr = window['JwTplJsLibAppTeaserNoResLoadMore_' + cf['lmhash']].getCfg();
try {
lmObj = JSON.parse(lmStr);
} catch(e) {}
if(typeof lmObj['hiliadslm'] !== 'undefined' && typeof lmObj['hiliadslmhash'] !== 'undefined') {
if(cf['lmisl'].includes(lmObj['hiliadslmhash']) === false) {
cf['lmisl'].push(lmObj['hiliadslmhash']);
cf['hiliads'].push(...lmObj['hiliadslm']);
cf['lmisls'] = lmObj['lmisls'];
repaintLm();
}
}
if(scriptExists) {
scriptExists.remove();
}
ct.setAttribute('data-jwtpl-tsnr-lmle', 'false');
clearInterval(inv);
}
}, 50);
}
}
}
function repaintLm() {
let
div = document.getElementById(cf['hash']);
if(div) {
let hili = div.querySelector('.jwtpl-tsnr-hiliblock');
if(hili) {
let tpl, hit, data = {};
hili.innerHTML = '';
tpl = mods['hili']['html'];
data['htmlData'] = '';
if(cf['hiliads'].length > 0) {
for(const item in cf['hiliads']) {
hit = cf['hiliads'][item];
if(typeof cf['hiliamn'] !== 'undefined' && cf['hiliamn'].length > 0 && hit['marker'].includes(',' + cf['hiliami'] + ',') === true) {
tpl = tpl.replace('#{label}', '' + cf['hiliamn'] + '');
} else {
tpl = tpl.replace('#{label}', '');
}
if(typeof cf['hiliqvs'] !== 'undefined' && cf['hiliqvs'] == 1) {
tpl = tpl.replace('#{magniicon}', '
').replace('jwtpl-tsnr-hiliitem', 'jwtpl-tsnr-hiliitem jwtpl-tsnr-hiliitemqv');
tpl = tpl.replaceAll('#{tag}', 'span');
tpl = tpl.replace('href', 'data-jwtpl-tnsr-hiliitemurl');
tpl = tpl.replace('target', 'data-jwtpl-tnsr-hiliitemtarget');
} else {
tpl = tpl.replace('#{magniicon}', '');
tpl = tpl.replaceAll('#{tag}', 'a');
}
tpl = tpl.replace('#{magniicon}', cf['grwp'] + img['magni']);
data['htmlData'] += tpl.replace('#{url}', hit['url']).replace('#{hilijcs}', cf['hilijcs']).replace('#{turl}',hit['turl']).replace('#{title}', hit['title']).replace('#{date}', hit['date']).replace('#{company}', hit['company']).replace('#{location}', hit['location']);
}
hili.innerHTML = data['htmlData'];
initAdView ();
hili.style.height = cf['hilich'] + 'px';
hili.classList.add('jwtpl-tsnr-sysscrollable');
}
}
if(cf['lmisls'] == 0){
let lmBtn = document.querySelector('.jwtpl-tsnr-hililoadmorelink');
if(lmBtn) {
lmBtn.style.display = 'none';
}
}
}
}
return {
width () {
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
},
maxLili: function() {
const
lili = document.querySelector('.jwtpl-tsnr-lili'),
liliItems = lili.querySelectorAll('.jwtpl-tsnr-liliitem.jwtpl-tsnr-liliitemactive0')
if(lili && liliItems.length > 0) {
lili.classList.remove('jwtpl-tsnr-lilicom');
for(let i=0; i 0) {
lili.classList.add('jwtpl-tsnr-lilicom');
for(let i=0; i 0){
data['cssData'].set('app', app['css']);
cf.hasOwnProperty('omar') && cf['omar'].length > 0 ? app['css'] = app['css'].replace('$mar','margin: ' + cf['omar'] + ';') : app['css'] = app['css'].replace('$mar','');
cf.hasOwnProperty('opad') && cf['opad'].length > 0 ? app['css'] = app['css'].replace('$pad','padding: ' + cf['opad'] + ';') : app['css'] = app['css'].replace('$pad','');
data['cssData'].set('app', app['css']);
}
for(const frag in data['frags']){
term = data['frags'][frag].trim();
if(term === 'css' && typeof cf[term] !== 'undefined') {
data['cssData'].set('partner', cf[term]);
} else if(term === 'header' && cf['header'].length > 0) {
data['htmlData'] += cf['header'];
} else if(term === 'footer' && cf['footer'].length > 0) {
data['htmlData'] += cf['footer'];
} else if(term === 'lili') {
if(cf['lililnks'].length > 0) {
tpl = mods['lili']['html'];
tpl = tpl.replace('#{menuicon}', cf['grwp'] + img['menu'])
for(const i in cf['lililnks']) {
data['tmp'] += '#{name}'.replace('#{isme}', cf['lililnks'][i]['isme']).replace('#{url}', cf['lililnks'][i]['url']).replace('#{name}', cf['lililnks'][i]['name']);
if(typeof cf['lililnks'][i]['target'] !== 'undefined' && cf['lililnks'][i]['target'] !== '') {
data['tmp'] = data['tmp'].replace('#{target}', cf['lililnks'][i]['target']);
} else {
data['tmp'] = data['tmp'].replace('#{target}', '_self');
}
}
data['htmlData'] += tpl.replace('#{content}', data['tmp']);
data['tmp'] = '';
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['lili']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
}
} else if(term === 'hililml' && cf['lmisls'] == 1) {
tpl = mods['hililml']['html'];
data['htmlData'] += tpl.replace('#{content}', cf['hililmln']);
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['hililml']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
} else if(term === 'title') {
tpl = mods['title']['html'];
if(cf['ci2tbgs'] == 1){
tpl = tpl.replace('jwtpl-tsnr-title', 'jwtpl-tsnr-title jwtpl-tsnr-titlebg');
}
data['htmlData'] += tpl.replace('#{content}', cf['title']);
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['title']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
} else if(term === 'subtitle1') {
tpl = mods['subtitle1']['html'];
data['htmlData'] += tpl.replace('#{content}', cf['stitle1']);
} else if(term === 'subtitle2') {
tpl = mods['subtitle2']['html'];
data['htmlData'] += tpl.replace('#{content}', cf['stitle2']);
} else if(term === 'subtitle3') {
tpl = mods['subtitle3']['html'];
data['htmlData'] += tpl.replace('#{content}', cf['stitle3']);
} else if(term === 'text') {
if(cf['text'].length > 0) {
tpl = mods['text']['html'];
data['htmlData'] += tpl.replace('#{content}', cf['text']);
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['text']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
}
} else if(term === 'hili') {
if(cf['hiliads'].length > 0) {
tpl = mods['hili']['html'];
if(cf['ci2hjts'] == 1){
tpl = tpl.replace('jwtpl-tsnr-hilititle', 'jwtpl-tsnr-hilititle jwtpl-tsnr-hilititlefc');
}
for(const item in cf['hiliads']) {
hit = cf['hiliads'][item];
if(typeof cf['hiliamn'] !== 'undefined' && cf['hiliamn'].length > 0 && hit['marker'].includes(',' + cf['hiliami'] + ',') === true) {
tpl = tpl.replace('#{label}', '' + cf['hiliamn'] + '');
} else {
tpl = tpl.replace('#{label}', '');
}
if(typeof cf['hiliqvs'] !== 'undefined' && cf['hiliqvs'] == 1) {
tpl = tpl.replace('#{magniicon}', '
').replace('jwtpl-tsnr-hiliitem', 'jwtpl-tsnr-hiliitem jwtpl-tsnr-hiliitemqv');
tpl = tpl.replaceAll('#{tag}', 'span');
tpl = tpl.replace('href', 'data-jwtpl-tnsr-hiliitemurl');
tpl = tpl.replace('target', 'data-jwtpl-tnsr-hiliitemtarget');
} else {
tpl = tpl.replace('#{magniicon}', '');
tpl = tpl.replaceAll('#{tag}', 'a');
}
tpl = tpl.replace('#{magniicon}', cf['grwp'] + img['magni']);
data['tmp'] += tpl.replace('#{url}', hit['url']).replace('#{hilijcs}', cf['hilijcs']).replace('#{turl}',hit['turl']).replace('#{title}', hit['title']).replace('#{date}', hit['date']).replace('#{company}', hit['company']).replace('#{location}', hit['location']);
}
data['htmlData'] += hits.replace('#{content}', data['tmp']);
data['tmp'] = '';
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['hili']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
}
}
else if(term === 'tacl') {
if(cf['tacllnks'].length > 0) {
tpl = mods['tacl']['html'];
for(const i in cf['tacllnks']) {
data['tmp'] += '#{name}'.replace('#{url}', cf['tacllnks'][i]['url']).replace('#{name}', cf['tacllnks'][i]['name']);
}
data['htmlData'] += tpl.replace('#{content}', data['tmp']);
data['tmp'] = '';
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['tacl']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
}
} else if(term === 'sebo') {
tpl = mods['sebo']['html'];
if(typeof cf['seboau'] !== 'undefined') {
tpl = tpl.replace('#{action}', cf['seboau']);
}
if(typeof cf['seboat'] !== 'undefined') {
tpl = tpl.replace('#{target}', cf['seboat']);
}
if(typeof cf['sebobtn'] !== 'undefined') {
tpl = tpl.replace('#{content}', cf['sebobtn']);
}
data['htmlData'] += tpl;
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['sebo']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
} else if(term === 'link') {
tpl = mods['link']['html'];
if((typeof cf['linku'] !== 'undefined') && ((typeof cf['linksu'] !== 'undefined') && (cf['linksu'] !== ''))) {
tpl = tpl.replace('#{url}', cf['linku'] + cf['linksu'].slice(1));
}
if((typeof cf['linku'] !== 'undefined') && ((typeof cf['linksu'] !== 'undefined') && (cf['linksu'] === ''))) {
tpl = tpl.replace('#{url}', cf['linku']);
}
if(typeof cf['linkut'] !== 'undefined') {
tpl = tpl.replace('#{target}', cf['linkut']);
} else {
tpl = tpl.replace('#{target}', '_blank');
}
if(typeof cf['linkun'] !== 'undefined') {
tpl = tpl.replace('#{content}', cf['linkun']);
}
if(typeof cf['hiliqlm'] !== 'undefined' && cf['hiliqlm'] == 1) {
tpl = tpl.replace('jwtpl-tsnr-jobmarketlink', 'jwtpl-tsnr-jobmarketlink jwtpl-tsnr-jobmarketlinklm');
}
data['htmlData'] += tpl;
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['link']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
} else if(term === 'plogo' && cf['plogoiu'].length > 0) {
tpl = mods['plogo']['html'];
tpl = tpl.replace('#{src}', cf['prwp'] + 'img/' + cf['plogoiu']);
if(cf['plogou'].length > 0) {
tpl = tpl.replace('#{aTag}', '').replace('#{/aTag}', '');
tpl = tpl.replace('#{url}', cf['plogou']).replace('#{target}', cf['plogout']);
} else {
tpl = tpl.replace('#{aTag}', '').replace('#{/aTag}', '');
}
data['htmlData'] += tpl;
} else if(term === 'jwlogo') {
tpl = mods['jwlogo']['html'];
data['htmlData'] += tpl.replace('#{src}', cf['grwp'] + 'img/jobware-logo.svg');
} else if(term === 'joma') {
tpl = mods['joma']['html'];
data['htmlData'] += tpl.replace('#{text}', cf['jomat']).replace('#{url}', cf['jomau']).replace('#{target}', cf['jomaut']).replace('#{content}', cf['jomaun']);
data['tmp'] = data['cssData'].get('mod');
data['tmp'] += mods['joma']['css'];
data['cssData'].set('mod', data['tmp']);
data['tmp'] = '';
}
}
for (const [key, value] of data['cssData'].entries()) {
data['tmp'] +=value;
}
data['tmp'] += ':root { --ci1bgc: ' + cf['ci1bgc'] + '; --ci1bgfc: ' + cf['ci1bgfc'] + '; --ci1bgf2c: ' + cf['ci1bgf2c'] + '; --ci2bgc: ' + cf['ci2bgc'] + '; --ci2bgfc: ' + cf['ci2bgfc'] + ';--ci2bgf2c: ' + cf['ci2bgf2c'] + '; --ci3bgc: ' + cf['ci3bgc'] + '; --ci3bgfc: ' + cf['ci3bgfc'] + ';--ci3bgf2c: ' + cf['ci3bgf2c'] + '; }';
data['tmp'] = '';
data['app'] = data['app'].replace('#{content}', data['tmp'] + data['htmlData']);
data['tmp'] = '';
let appHtml = document.createElement('div'), JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag = document.currentScript;
document.currentScript.setAttribute('id', cf['atschash']);
appHtml.setAttribute('id', cf['hash']);
appHtml.setAttribute('data-jwtpl-tsnr-mylnk', '/teaser/1.js');
appHtml.innerHTML = data['app'];
if(cf['width'] > 0) {
appHtml.setAttribute('style', 'max-width:' + cf['width'] + 'px');
}
if(data['frags'].includes('lili') === true) {
if(!document.querySelector('#'+ cf['athash'])){
let ct = document.createElement('div');
ct.setAttribute('id', cf['athash']);
ct.setAttribute('data-jwtpl-tsnr-lilile', 'false');
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag.insertAdjacentElement('beforebegin', ct);
}
}
if(typeof cf['hiliqlm'] !== 'undefined' && cf['hiliqlm'] == 1) {
if(!document.querySelector('#'+ cf['lmathash'])) {
let clm = document.createElement('div');
clm.setAttribute('id', cf['lmathash']);
clm.setAttribute('data-jwtpl-tsnr-lmle', 'false');
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag.insertAdjacentElement('beforebegin', clm);
}
}
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7_AppScriptTag.insertAdjacentElement('beforebegin', appHtml);
pinit();
initAdView();
if(data['frags'].includes('lili') === true) {
let ct = document.querySelector('#'+ cf['athash']);
if(ct) {
ct.setAttribute('data-jwtpl-tsnr-lilile', 'false');
ct.setAttribute('data-jwtpl-tsnr-hash', 'b65fdbb6b7d9ee52dfce9a85f084c4b7');
if(ct.hasAttribute('data-jwtpl-tsnr-hash2') === false || ct.hasAttribute('data-jwtpl-tsnr-hash2sc') === false) {
if(ct.hasAttribute('data-jwtpl-tsnr-hash2') === false) {
ct.setAttribute('data-jwtpl-tsnr-hash2', '');
}
if(ct.hasAttribute('data-jwtpl-tsnr-hash2sc') === false) {
ct.setAttribute('data-jwtpl-tsnr-hash2sc', '');
}
} else if(ct.getAttribute('data-jwtpl-tsnr-hash2').length > 0 && ct.getAttribute('data-jwtpl-tsnr-hash2sc').length > 0) {
let
rmDiv = document.getElementById(ct.getAttribute('data-jwtpl-tsnr-hash2')),
rmScr = document.getElementById(ct.getAttribute('data-jwtpl-tsnr-hash2sc'));
if(rmDiv && rmScr) {
rmDiv.remove();
rmScr.remove();
ct.setAttribute('data-jwtpl-tsnr-hash2', '');
ct.setAttribute('data-jwtpl-tsnr-hash2sc', '');
}
}
}
initLiliMenu();
}
if(typeof cf['hiliqlm'] !== 'undefined' && cf['hiliqlm'] == 1) {
let
clm = document.querySelector('#'+ cf['lmathash']),
lmBtn = document.querySelector('.jwtpl-tsnr-hililoadmorelink');
if(lmBtn) {
lmBtn.addEventListener('click', (e) => {
doLoadMore();
});
}
}
return true;
}
return false;
}
}
})();
JwTplJsLibAppTeaserNoRes_b65fdbb6b7d9ee52dfce9a85f084c4b7.init();