PageSourceSearch

https://www.werla-apotheke.de/modern-build/532.d3899b4b.js

js werla-apotheke.de collected 2026-10-07 05:21:57 UTC 2,258 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d18ab9b-5497-4ea9-8821-8ff550e34ede",e._sentryDebugIdIdentifier="sentry-dbid-9d18ab9b-5497-4ea9-8821-8ff550e34ede")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"v276.0-0-gf58f8bf"};(globalThis.webpackChunk||=[]).push([[532],{7532(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2891),_hotwired_turbo__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(89);const __WEBPACK_DEFAULT_EXPORT__=class extends _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__.xI{static values={url:String,total:Number,page:{type:Number,default:2},limit:{type:Number,default:10}};static targets=["lastPage","fetchMore"];connect(){this.onScroll=()=>this.checkFetchMore(),window.addEventListener("scroll",this.onScroll,{passive:!0})}disconnect(){window.removeEventListener("scroll",this.onScroll)}checkFetchMore(){!this.sleep&&this.isLastPage(this.pageValue-1)||!this.sleep&&this.scrollReachedEnd()&&this.fetchNewPage()}async fetchNewPage(event){if(void 0!==event&&event.preventDefault(),this.sleep)return;this.sleep=!0;const url=new URL(this.urlValue);url.searchParams.set("page",this.pageValue,"limit",this.limitValue),await fetch(url.toString(),{headers:{Accept:"text/vnd.turbo-stream.html"}}).then(r=>r.text()).then(html=>_hotwired_turbo__WEBPACK_IMPORTED_MODULE_1__.aM(html)),this.isLastPage(this.pageValue)||(this.pageValue+=1,this.sleep=!1)}scrollReachedEnd(){const{scrollHeight,scrollTop,clientHeight}=document.documentElement;return scrollHeight-scrollTop-clientHeight<200}isLastPage(pageNumber){return pageNumber*this.limitValue>this.totalValue&&(this.fetchMoreTargets.forEach(e=>e.classList.add("d-none")),this.lastPageTargets.forEach(e=>e.classList.remove("d-none")),this.sleep=!0,!0)}};__webpack_require__.d(__webpack_exports__,["default",0,__WEBPACK_DEFAULT_EXPORT__])}}]);
2//# sourceMappingURL=532.d3899b4b.js.map

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.