PageSourceSearch

https://famicordcryobank.ch/wp-content/themes/starter-empressia/dist/js/392.3d9363bba7eb4c20299a.js

js famicordcryobank.ch collected 2026-10-09 17:51:07 UTC 1,840 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwordpress_theme_starter=self.webpackChunkwordpress_theme_starter||[]).push([[392],{6392:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});class n{constructor(e){var t,s,n;this.container=e,this.container=e,this.parent=null==(t=this.container)?void 0:t.closest(".post-content-wrapper"),this.selectedHeadings=null==(s=this.parent)?void 0:s.querySelectorAll(".text-content h2"),this.tableOfContentsList=null==(n=this.container)?void 0:n.querySelector(".toc__list"),this.setHeadingsIds(),this.buildTableOfContents(),this.selectedHeadings&&this.handleActiveTocElements()}handleActiveTocElements(){window.addEventListener("scroll",(()=>{var e;for(let t=0;t<this.selectedHeadings.length;t++){let s=this.selectedHeadings[t],n=null==(e=this.tableOfContentsList.querySelector(`[href="#${s.id}"]`))?void 0:e.closest("li");n&&(s.getBoundingClientRect().top<=300&&s.getBoundingClientRect().top>-100?n.classList.add("is-active"):n.classList.remove("is-active"))}}))}buildTableOfContents(){var e;(null==(e=this.selectedHeadings)?void 0:e.length)&&(this.selectedHeadings.forEac
1h((e=>{var t;const s=document.createElement("li"),n=document.createElement("a");s.classList.add("toc__link"),n.setAttribute("href",`#${e.getAttribute("id")}`);let i=e.textContent;i&&(":"===i[i.length-1]&&(i=i.slice(0,-1)),n.textContent=i,s.appendChild(n),null==(t=this.tableOfContentsList)||t.appendChild(s))})),this.container.classList.remove("opacity-0"))}setHeadingsIds(){var e;(null==(e=this.selectedHeadings)?void 0:e.length)&&this.selectedHeadings.forEach((e=>{e.setAttribute("id",this.normalizeText(e.textContent||""))}))}normalizeText(e){let t=e.toLowerCase();const s={ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z"};return t=t.replace(/[ąćęłńóśźż]/g,(e=>s[e])),t=t.replace(/\s/g,"-"),t=t.replace(/[^a-zA-Z0-9-]/g,""),t}}}}]);

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.