PageSourceSearch

https://condtrol.shop/cdn/shop/t/27/assets/pq-premium.js?v=158942886873384356881790949564

js condtrol.shop collected 2026-10-03 00:13:03 UTC 11,517 bytes, 2 lines download raw bytes

1(function(){var R=document.querySelector(".pq5"),$=(s,c)=>(c||R).querySelector(s),$$=(s,c)=>[...(c||R).querySelectorAll(s)],calm=matchMedia("(prefers-reduced-motion: reduce)").matches,bot=/bot|crawl|spider|lighthouse|google|bing/i.test(navigator.userAgent)||navigator.webdriver,st=$(".stage"),hero=st&&$("img",st),galleryRequest=0,shownThumb=$(".thumbs button.on");function readyImage(next){return new Promise((resolve,reject)=>{var finish=()=>{if(!next.naturalWidth)return reject(new Error("Image unavailable"));next.decode?next.decode().then(resolve,()=>next.naturalWidth?resolve():reject(new Error("Image unavailable"))):resolve()};next.complete?finish():(next.onload=finish,next.onerror=reject)})}$$(".thumbs button").forEach(b=>b.onclick=()=>{if(!(!hero||!b.dataset.src)){var request=++galleryRequest;$$(".thumbs button").forEach(x=>x.classList.toggle("on",x===b)),st.setAttribute("aria-busy","true");var next=hero.cloneNode(!1);next.removeAttribute("src"),next.removeAttribute("srcset"),next.style.opacity="1",next.style.transition="none",next.loading="eager",next.fetchPriority="auto",next.alt=b.dataset.alt||hero.alt,next.srcset=b.dataset.srcset||"",next.src=b.dataset.src,readyImage(next).then(()=>{request===galleryRequest&&(next.width=next.naturalWidth,next.height=next.naturalHeight,hero.replaceWith(next),hero=next,shownThumb=b,st.classList.toggle("photo",b.dataset.photo==="1"),st.removeAttribute("aria-busy"),!calm&&hero.animate&&hero.animate([{opacity:0},{opacity:1}],{duration:160,easing:"ease-out"}))}).catch(()=>{request===galleryRequest&&(st.removeAttribute("aria-busy"),$$(".thumbs button").forEach(x=>x.classList.toggle("on",x===shownThumb)))})}});var hs=$$(".hs"),hi=0,auto=null,paused=!1;function cyc(){hs.forEach((h,j)=>h.classList.toggle("on",j===hi)),hi=(hi+1)%hs.length}if(hs.length&&(setTimeout(()=>{cyc(),auto=setInterval(()=>{paused||cyc()},2800)},900),st.addEventListener("mouseenter",()=>{paused=!0,hs.forEach(h=>h.classList.remove("on"))}),st.addEventListener("mouseleave",()=>paused=!1),hs.forEach(h=>h.addEventListener("click",()=>{paused=!0,hs.forEach(x=>x.classList.toggle("on",x===h))}))),/[?&]points/.test(location.search)&&st){var hint=document.createElement("div");hint.className="edit-hint",hint.textContent="Punkte-Modus: auf das Ger\xE4t klicken, Zeile wird kopiert",R.appendChild(hint),st.style.cursor="crosshair",st.addEventListener("click",e=>{if(!e.target.closest(".hs")){var r=st.getBoundingClientRect(),x=Math.round((e.clientX-r.left)/r.width*100),y=Math.round((e.clientY-r.top)/r.height*100),line=x+" | "+y+" | Titel | Untertitel",d=document.createElement("span");d.className="edit-dot",d.style.left=x+"%",d.style.top=y+"%",st.appendChild(d),(navigator.clipboard?navigator.clipboard.writeText(line):Promise.reject()).then(()=>hint.textContent="Kopiert: "+line,()=>hint.textContent=line)}},!0)}var dl=$("[data-deliv]");if(dl){var hol=["01-01","05-01","10-03","12-25","12-26"],ok=d=>{var w=d.getDay(),k=("0"+(d.getMonth()+1)).slice(-2)+"-"+("0"+d.getDate()).slice(-2);return w&&w!==6&&hol.indexOf(k)<0},add=n2=>{for(var d=new Date;n2>0;)d.setDate(d.getDate()+1),ok(d)&&n2--;return d},f=new Intl.DateTimeFormat("de-DE",{weekday:"short",day:"2-digit",month:"2-digit"});$("span",dl).textContent=f.format(add(+dl.dataset.min))+" \u2013 "+f.format(add(+dl.dataset.max))}var mb=$(".desc .pill"),desc=$(".desc"),body=$(".desc-body");mb&&body&&(body.scrollHeight<=body.clientHeight+10&&(desc.classList.add("open"),mb.hidden=!0),mb.onclick=()=>{var o=desc.classList.toggle("open");body.style.maxHeight=o?body.scrollHeight+"px":"",mb.setAttribute("aria-expanded",o),mb.lastChild.textContent=o?" Weniger":" "+mb.dataset.more});var sv=$(".sv"),sts=$$(".rc"),cur=0,tm=null,D=5e3,bars=sv&&$(".bars",sv),img=sv&&$(".svf>img",sv);if(sv&&sts.length){let show2=function(k){if(k<0&&(k=0),k>=sts.length)return close2();cur=k,clearTimeout(tm);var request=++storyRequest,d=sts[k].dataset,next=img.cloneNode(!1);next.loading="eager",next.src=d.img,next.style.objectPosition=d.pos,next.alt=d.t||"",readyImage(next).then(()=>{if(!(request!==storyRequest||!sv.classList.contains("open"))){next.width=next.naturalWi
1dth,next.height=next.naturalHeight,img.replaceWith(next),img=next,vid&&(vid.pause(),vid.hidden=!0,vid.onloadeddata=null,d.video?(vid.poster=d.img,vid.onloadeddata=()=>{request===storyRequest&&(vid.hidden=!1,vid.play().catch(()=>{}))},vid.src=d.video,vid.load()):(vid.removeAttribute("src"),vid.load())),$(".cap b",sv).textContent=d.t,$(".cap p",sv).textContent=d.s,sts[k].classList.add("seen"),$$("b",bars).forEach((b2,j)=>{b2.style.transition="none",b2.style.width=j<k?"100%":"0"});var b=bars.children[k].firstChild;b.offsetWidth,b.style.transition="width "+D+"ms linear",b.style.width="100%",tm=setTimeout(()=>show2(cur+1),D)}}).catch(()=>{})},open2=function(k){sv.classList.add("open"),requestAnimationFrame(()=>sv.classList.add("vis")),document.documentElement.style.overflow="hidden",show2(k)},close2=function(){++storyRequest,clearTimeout(tm),vid&&vid.pause(),sv.classList.remove("vis","open"),document.documentElement.style.overflow=""};var show=show2,open=open2,close=close2;bars.innerHTML=sts.map(()=>"<i><b></b></i>").join("");var vid=$(".svf>video",sv),storyRequest=0;sts.forEach((s,k)=>s.onclick=()=>open2(k)),$(".tap.n",sv).onclick=()=>show2(cur+1),$(".tap.p",sv).onclick=()=>show2(cur-1),$(".svx",sv).onclick=close2,sv.onclick=e=>{e.target===sv&&close2()},addEventListener("keydown",e=>{sv.classList.contains("open")&&(e.key==="Escape"&&close2(),e.key==="ArrowRight"&&show2(cur+1),e.key==="ArrowLeft"&&show2(cur-1))});var x0=null;sv.addEventListener("touchstart",e=>x0=e.touches[0].clientX,{passive:!0}),sv.addEventListener("touchend",e=>{if(x0!=null){var dx=e.changedTouches[0].clientX-x0;Math.abs(dx)>50&&show2(cur+(dx<0?1:-1)),x0=null}})}var form=$(".buy form"),mini=document.querySelector('a[data-drawer-options*="mini_cart"]');function openMini(){document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0})),mini&&mini.click()}function addMain(btn){if(form){var f2=form.querySelector("[name=id]");if(!f2||!f2.value){form.submit();return}btn&&(btn.disabled=!0),fetch((window.Shopify&&Shopify.routes?Shopify.routes.root:"/")+"cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:+f2.value,quantity:1}]})}).then(r=>{if(!r.ok)throw r;return r.json()}).then(openMini).catch(()=>{form.submit()}).finally(()=>{btn&&(btn.disabled=!1)})}}form&&form.addEventListener("submit",e=>{e.preventDefault(),addMain(form.querySelector(".atc"))}),$$("[data-buy]").forEach(b=>b.onclick=()=>{sv&&close(),addMain(b)});var bar=$(".bar"),atc=$(".buy .atc");bar&&atc&&new IntersectionObserver(es=>es.forEach(e=>bar.classList.toggle("on",!e.isIntersecting&&(e.boundingClientRect.top<0||innerWidth<768)))).observe(atc);function hdrBottom(){var h=0,el=document.querySelector("#shopify-section-header, .t4s-header, header");return el&&[el].concat([].slice.call(el.querySelectorAll("*")).slice(0,40)).forEach(function(c){var cs2=getComputedStyle(c);if(cs2.position==="fixed"||cs2.position==="sticky"){var r=c.getBoundingClientRect();r.top<=1&&r.bottom>0&&r.height<300&&(h=Math.max(h,r.bottom))}}),h}bar&&$$("nav a",bar).forEach(function(a){a.addEventListener("click",function(e){var t=document.querySelector(a.getAttribute("href"));t&&(e.preventDefault(),goTo(t))})});function goTo(t){var off=function(){return hdrBottom()+14};scrollTo({top:Math.max(0,t.getBoundingClientRect().top+scrollY-off()),behavior:calm?"auto":"smooth"}),setTimeout(function(){var d=t.getBoundingClientRect().top-off();Math.abs(d)>8&&scrollTo({top:Math.max(0,scrollY+d),behavior:calm?"auto":"smooth"})},calm?0:700)}if(bar){var ls=$$("nav a",bar),ss=ls.map(a=>document.querySelector(a.getAttribute("href"))),nio=new IntersectionObserver(es=>es.forEach(e=>{if(e.isIntersecting){var i=ss.indexOf(e.target);ls.forEach((a,j)=>a.classList.toggle("act",j===i))}}),{rootMargin:"-45% 0px -50% 0px"});ss.forEach(s=>s&&nio.observe(s))}$$(".add").forEach(b=>b.onclick=e=>{e.preventDefault(),e.stopPropagation(),!(b.classList.contains("done")||b.disabled)&&(b.disabled=!0,fetch((window.Shopify&&Shopify.routes?Shopify.routes.root:"/")+"cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:+b.dataset.variant,quantity:1}]})}).then(r=>{if(!r.ok)throw r;return r.json()}).then(()=>{b.classList.add("done"),b.setAttribute("aria-label","Im Warenkorb"),document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0}))}).catch(()=>{b.title="Nicht verf\xFCgbar"}).finally(()=>{b.disabled=!1}))});var tr=$(".rtrack");if(tr){var cs=$$(".rc",tr),n=cs.length,dots=$(".rdots"),act=0,idle=!0,rt,settleTimer,w0=tr.clientWidth,pending=!1;if(n&&dots){dots.innerHTML=cs.map(()=>"<i></i>").join("");var vids=()=>cs.forEach(x=>{var v=x.querySelector("video");v&&(x.classList.contains("on")?v.play().catch(()=>{}):v.pause())}),pos=k=>{var a=tr.getBoundingClientRect(),r=cs[k].getBoundingClientRect();return Math.max(0,Math.min(tr.scrollWidth-tr.clientWidth,tr.scrollLeft+(r.left+r.
1width/2)-(a.left+tr.clientWidth/2)))},paint=k=>{act=k,cs.forEach((x,j)=>x.classList.toggle("on",j===k)),[...dots.children].forEach((x,j)=>x.classList.toggle("on",j===k)),vids()},near=()=>{var a=tr.getBoundingClientRect(),c=a.left+tr.clientWidth/2,b=0,d=1/0;return cs.forEach((x,k)=>{var r=x.getBoundingClientRect(),m=Math.abs(r.left+r.width/2-c);m<d&&(d=m,b=k)}),b},done=()=>{clearTimeout(settleTimer),pending=!1,paint(near())},go=k=>{k=(k%n+n)%n,pending=!0,paint(k),tr.scrollTo({left:pos(k),behavior:calm?"instant":"smooth"}),clearTimeout(settleTimer),settleTimer=setTimeout(done,650)};tr.addEventListener("scroll",()=>{clearTimeout(settleTimer),settleTimer=setTimeout(done,180)},{passive:!0}),"onscrollend"in tr&&tr.addEventListener("scrollend",done),["touchstart","pointerdown","wheel"].forEach(ev=>tr.addEventListener(ev,()=>{idle=!1,pending&&(pending=!1,tr.scrollTo({left:tr.scrollLeft,behavior:"instant"}),paint(near()))},{passive:!0})),$(".rp").onclick=()=>{idle=!1,go(act-1)},$(".rn").onclick=()=>{idle=!1,go(act+1)},[...dots.children].forEach((d,k)=>d.onclick=()=>{idle=!1,go(k)}),tr.addEventListener("mouseenter",()=>idle=!1),tr.addEventListener("mouseleave",()=>idle=!0),requestAnimationFrame(()=>{tr.scrollTo({left:pos(0),behavior:"instant"}),paint(0)}),addEventListener("resize",()=>{tr.clientWidth!==w0&&(w0=tr.clientWidth,clearTimeout(settleTimer),pending=!1,tr.scrollTo({left:pos(act),behavior:"instant"}))}),!calm&&n>1&&new IntersectionObserver(es=>es.forEach(e=>{clearInterval(rt),e.isIntersecting&&(rt=setInterval(()=>{idle&&!pending&&go(act+1)},4200))})).observe(tr)}}if(calm||bot)return;R.classList.add("anim");var io=new IntersectionObserver(es=>es.forEach(e=>{e.isIntersecting&&(e.target.classList.add("in"),io.unobserve(e.target),e.target.matches(".kpis")&&!bot&&count(e.target))}),{rootMargin:"0px 0px -6% 0px"});$$(".rv").forEach(e=>io.observe(e)),$$("[data-stagger]").forEach(g=>[...g.children].forEach((c,i)=>{c.classList.add("rv"),c.style.setProperty("--d",i*.05+"s"),io.observe(c)}));function count(box){$$("b",box).forEach(b=>{var m=b.textContent.match(/^([±~]?)(\d+)(.*)$/);if(!(!m||+m[2]<3)){var e=+m[2],t0=0,s=t=>{t0=t0||t;var p=Math.min(1,(t-t0)/900);b.textContent=m[1]+Math.round(e*(1-Math.pow(1-p,3)))+m[3],p<1&&requestAnimationFrame(s)};requestAnimationFrame(s)}})}})();
2//# sourceMappingURL=/cdn/shop/t/27/assets/pq-premium.js.map?v=158942886873384356881790949564

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.