PageSourceSearch

https://www.timetravel-vienna.at/wp-content/themes/build/masonry.async.1b1fd9aff7047ff22196.min.js

js timetravel-vienna.at collected 2026-10-02 11:19:13 UTC 2,522 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk_spinnwerk_spinnthemefse=globalThis.webpackChunk_spinnwerk_spinnthemefse||[]).push([[1441,9818],{1344:(e,t,o)=>{o.r(t),o.d(t,{initMasonry:()=>c});var n=o(6994),r=o(1560);function a(e){e.querySelector(".wp-block--gap")||e.insertAdjacentHTML("afterbegin",'<li class="wp-block--gap"></li>')}function c(e){for(const t of e){if(t._masonryInit)continue;t._masonryInit=!0,a(t);let e=!1;const o=new n(t,{itemSelector:".wp-block-post, .wp-block-image",gutter:".wp-block--gap",percentPosition:!0,horizontalOrder:!0}),c=(n=!1)=>{e||(e=!0,requestAnimationFrame(()=>{e=!1,a(t),n&&o.reloadItems(),o.layout()}))};(0,r.Y)(t,()=>c(!0)),window.addEventListener("resize",()=>c(!0)),c(!0)}}let s,i=!0;document.addEventListener("facetwp-loaded",()=>{i?i=!1:(clearTimeout(s),s=setTimeout(()=>{const e=document.querySelectorAll(".is-style-masonry");for(const t of e){const e=n.data(t);e&&e.destroy(),t._masonryInit=!1}c(e)},50))})},1560:(e,t,o)=>{function n(e,t,o){let n=!1,r=!1;const a=new WeakSet,c=new Set,s=e=>{try{e&&"object"==typeof e&&t(e)}catch(e){}},i=()=>{0!==c.size||!n&&r||((()=>{if("function"==typeof o)try{o()}catch(e){}})(),r=!0,n=!1)},l=async t=>{if(!t||a.has(t))return;a.add(t),c.add(t),n=!0;const o=async()=>{if(c.delete(t),"function"==typeof t.decode)try{await t.decode()}catch(e){}const o=e.querySelectorAll("img").length,n=Math.max(0,o-c.size);s({loadedCount:n,totalCount:o,img:t}),i()};t.complete?await o():(t.addEventListener("load",o,{once:!0}),t.addEventListener("error",()=>{c.delete(t);const o=e.querySelectorAll("img").length,n=Math.max(0,o-c.size);s({loadedCount:n,totalCount:o,img:t}),i()},{once:!0}))},d=()=>{const t=Array.from(e.querySelectorAll("img"));for(const e of Array.from(c))t.includes(e)||c.delete(e);t.forEach(l),i()},u=new MutationObserver(e=>{for(const t of e)if("childList"===t.type)t.addedNodes&&t.addedNodes.length&&t.addedNodes.forEach(e=>{1===e.nodeType&&("IMG"===e.tagName?l(e):e.querySelectorAll&&e.querySelectorAll("img").forEach(l))}),t.removedNodes&&t.removedNodes.length&&(t.removedNodes.forEach(e=>{1===e.nodeType&&("IMG"===e.tagName?c.delete(e):e.querySelectorAll&&e.querySelectorAll("img").forEach(e=>c.delete(e)))}),i());else if("attributes"===t.type){const e=t.target;if(e&&"IMG"===e.tagName){try{a.delete(e)}catch(e){}try{c.delete(e)}catch(e){}l(e)}}});return u.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["src","srcset","sizes","data-src","data-srcset"]}),d(),{disconnect:()=>{u.disconnect()},rescan:d}}o.d(t,{Y:()=>n})}}]);

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.