PageSourceSearch

https://www.medisana.de/theme/29dd88a3115312fa1caaeeabf063cd13/js/…/storefront.clear-input.plugin.11c435.js

js medisana.de collected 2026-09-24 09:37:47 UTC 808 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[85524],{5524(t,e,n){n.r(e),n.d(e,{default:()=>i});var s=n(4335);class i extends s.A{static #t=this.options={clearButtonSelector:""};init(){this.clearButtons=document.querySelectorAll(this.options.clearButtonSelector),this.onInputChange(),this._registerEventListener()}_registerEventListener(){this.clearButtons.forEach(t=>{t.addEventListener("click",this.clearInput.bind(this))}),this.el.addEventListener("input",this.onInputChange.bind(this))}clearInput(){this.el.value="";let t=document.createEvent("HTMLEvents");t.initEvent("change",!0,!1),this.el.dispatchEvent(t),this.onInputChange()}onInputChange(){this.clearButtons.forEach(t=>{if(this.el.value.length<=0){t.setAttribute("disabled","disabled");return}t.removeAttribute("disabled")})}}}}]);

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.