PageSourceSearch

https://www.onetz.de/sites/all/themes/dnt_onet22/dist/js/chunks/sr…_accordion_index_js.5bedf02dae2a8688cd4b.js

js onetz.de collected 2026-10-02 02:47:13 UTC 14,974 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdnt_onet22=self.webpackChunkdnt_onet22||[]).push([["src_js_components_accordion_index_js"],{18:function(e,t,n){n.d(t,{default:function(){return oe}});const r=new Map;var o={set(e,t,n){r.has(e)||r.set(e,new Map);const o=r.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get(e,t){return r.has(e)&&r.get(e).get(t)||null},remove(e,t){if(!r.has(e))return;const n=r.get(e);n.delete(t),0===n.size&&r.delete(e)}};const s="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),l=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),c=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,d=[],f=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,g=/[^.]*(?=\..*)\.|.*/,h=/\..*/,p=/::\d+$/,m={};let b=1;
vendor: 4,306 bytes, line 1
1const _={mouseenter:"mouseover",mouseleave:"mouseout"},y=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function v(e,t){return t&&`${t}::${b++}`||e.uidEvent||b++}function A(e){const t=v(e);return e.uidEvent=t,m[t]=m[t]||{},m[t]}function E(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function w(e,t,n){const r="string"==typeof t,o=r?n:t||n;let s=T(e);return y.has(s)||(s=e),[r,o,s]}function C(e,t,n,r,o){if("string"!=typeof t||!e)return;let[s,i,l]=w(t,n,r);if(t in _){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i=e(i)}const a=A(e),c=a[l]||(a[l]={}),u=E(c,i,s?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=v(i,t.replace(g,"")),f=s?function(e,t,n){return function r(o){const s=e.querySelectorAll(t);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return j(o,{delegateTarget:i}),r.oneOff&&O.off(e,o.type,t,n),n.apply(i,[o])}}(e,n,i):function(e,t){return function n(r){return j(r,{delegateTarget:e}),n.oneOff&&O.off(e,r.type,t),t.apply(e,[r])}}(e,i);f.delegationSelector=s?n:null,f.callable=i,f.oneOff=o,f.uidEvent=d,c[d]=f,e.addEventListener(l,f,s)}function S(e,t,n,r,o){const s=E(t[n],r,o);s&&(e.removeEventListener(n,s,Boolean(o)),delete t[n][s.uidEvent])}function L(e,t,n,r){const o=t[n]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&S(e,t,n,i.callable,i.delegationSelector)}function T(e){return e=e.replace(h,""),_[e]||e}const O={on(e,t,n,r){C(e,t,n,r,!1)},one(e,t,n,r){C(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,s,i]=w(t,n,r),l=i!==t,a=A(e),c=a[i]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(a))L(e,a,n,t.slice(1));for(const[n,r]of Object.entries(c)){const o=n.replace(p,"");l&&!t.includes(o)||S(e,a,i,r.callable,r.delegationSelector)}}else{if(!Object.keys(c).length)return;S(e,a,i,s,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=u();let o=null,s=!0,i=!0,l=!1;t!==T(t)&&r&&(o=r.Event(t,n),r(e).trigger(o),s=!o.isPropagationStopped(),i=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const a=j(new Event(t,{bubbles:s,cancelable:!0}),n);return l&&a.preventDefault(),i&&e.dispatchEvent(a),a.defaultPrevented&&o&&o.preventDefault(),a}};function j(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}var D=O;function $(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function N(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var k={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${N(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${N(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=$(e.dataset[r])}return t},getDataAttribute(e,t){return $(e.getAttribute(`data-bs-${N(t)}`))}},M=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=a(t)?k.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...a(t)?k.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const t=e[
1n],o=a(t)?"element":l(t);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${r}".`)}}},q=class extends M{constructor(e,t){super(),(e=c(e))&&(this._element=e,this._config=this._getConfig(t),o.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.remove(this._element,this.constructor.DATA_KEY),D.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){((e,t,n=!0)=>{if(!n)return void f(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const i=({target:n})=>{n===t&&(o=!0,t.removeEventListener(s,i),f(e))};t.addEventListener(s,i),setTimeout(()=>{o||t.dispatchEvent(new Event(s))},r)})(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return o.get(c(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}};const x=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>i(e)).join(","):null},I={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!(e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))(e)&&(e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t})(e))},getSelectorFromElement(e){const t=x(e);return t&&I.findOne(t)?t:null},getElementFromSelector(e){const t=x(e);return t?I.findOne(t):null},getMultipleElementsFromSelector(e){const t=x(e);return t?I.find(t):[]}};var F=I;const P=".bs.collapse",Y=`show${P}`,K=`shown${P}`,z=`hide${P}`,H=`hidden${P}`,B=`click${P}.data-api`,Q="show",R="collapse",V="collapsing",W=`:scope .${R} .${R}`,U='[data-bs-toggle="collapse"]',J={parent:null,toggle:!0},Z={parent:"(null|element)",toggle:"boolean"};class G extends q{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=F.find(U);for(const e of n){const t=F.getSelectorFromElement(e),n=F.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return J}static get DefaultType(){return Z}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
vendor: 2,657 bytes, line 1
1if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>G.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(D.trigger(this._element,Y).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(R),this._element.classList.add(V),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(V),this._element.classList.add(R,Q),this._element.style[t]="",D.trigger(this._element,K)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(D.trigger(this._element,z).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.offsetHeight,this._element.classList.add(V),this._element.classList.remove(R,Q);for(const e of this._triggerArray){const t=F.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(V),this._element.classList.add(R),D.trigger(this._element,H)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Q)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=c(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(U);for(const t of e){const e=F.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=F.find(W,this._config.parent);return F.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=G.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}var X,ee;D.on(document,B,U,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of F.getMultipleElementsFromSelector(this))G.getOrCreateInstance(e,{toggle:!1}).toggle()}),X=G,ee=()=>{const e=u();if(e){const t=X.NAME,n=e.fn[t];
1e.fn[t]=X.jQueryInterface,e.fn[t].Constructor=X,e.fn[t].noConflict=()=>(e.fn[t]=n,X.jQueryInterface)}},"loading"===document.readyState?(d.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of d)e()}),d.push(ee)):ee();var te=G;function ne(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oe(e,t){var n=document.createElement("div"),r=document.createElement("button"),o=document.createTextNode("Alle ausklappen");r.appendChild(o),n.setAttribute("id",t),n.classList.add("accordion","accordion-flush"),ne(e).map(function(e,r){!function(e,t,n,r){var o=t.querySelector(".mw-qa_question"),s=document.createElement("button"),i=t.querySelector(".mw-qa_answer_wrapper"),l=t.querySelector(".mw-qa_answer");t.classList.add("accordion-item"),s.classList.add("accordion-button","collapsed"),s.setAttribute("type","button"),s.dataset.bsToggle="collapse",s.dataset.bsTarget="#collapse"+n,s.setAttribute("aria-expanded","false"),s.setAttribute("aria-controls","collapse"+n),s.innerHTML=o.innerHTML,o.innerHTML="",o.append(s),o.classList.add("accordion-header"),i.classList.add("accordion-collapse","collapse"),i.setAttribute("id","collapse"+n),i.dataset.bsParent="#"+r,l.classList.add("accordion-body"),0===n&&t.before(e),e.append(t)}(n,e,r,t)}),n.before(r),r.classList.add("accordion-show-all-button"),r.type="button",ne(document.querySelectorAll(".accordion .collapse")).map(function(e){return new te(e,{toggle:!1})});var s=function(e){e.preventDefault();var t=n.querySelectorAll(".collapsed");t.forEach(function(e){e.classList.remove("collapsed"),e.ariaExpanded="true",r.addEventListener("click",i,{once:!0}),r.innerHTML="Alle einklappen"}),(t=n.querySelectorAll(".collapse:not(.show)")).forEach(function(e){e.classList.add("show")})},i=function(e){e.preventDefault();var t=n.querySelectorAll(".accordion-button");t.forEach(function(e){e.classList.add("collapsed"),e.ariaExpanded="false",r.addEventListener("click",s,{once:!0}),r.innerHTML="Alle ausklappen"}),(t=n.querySelectorAll(".collapse.show")).forEach(function(e){e.classList.remove("show")})};r.addEventListener("click",s,{once:!0})}}}]);

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.