PageSourceSearch

https://growversand.de/theme/4b162c159be264581d48f4ca510a9e60/js/storefront/clear-input.plugin.370ea8.js

js growversand.de collected 2026-10-07 04:57:50 UTC 826 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["clear-input.plugin"],{6979:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var i=n(9568),s=n(4049);class r extends i.Z{init(){this.clearButtons=s.Z.querySelectorAll(document,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")})}}r.options={clearButtonSelector:""}}}]);

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.