PageSourceSearch

https://www.electrolux.com.cn/Static/js/formDynamic.f6db4897f2f185045511.js

js electrolux.com.cn collected 2026-10-04 02:09:11 UTC 1,885 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdigitas_design=self.webpackChunkdigitas_design||[]).push([[4836],{78273:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var a=o(74692);class l{constructor(){this.attachEvents=()=>{this.updateSelectedOptionStyle(),this.handleRelatedDropdownlistAction()},this.handleRelatedDropdownlistAction=()=>{const e=a("input[name=relatedDropdownlistFieldNames]").map(((e,t)=>{if(t.value)return t.value})).get();if(e)for(let t=0;t<e.length;t++){let o=document.querySelector(".js_relatedDropdownlist_"+e[t]),l="#relatedDropdownlist_"+e[t],n=a(l+" input[name=sourceTos]:first-child").val();if(n){let e=JSON.parse(`${n}`);e&&e.forEach((e=>{let t=".js_relatedDropdownlist_"+e.Name,a=document.querySelector(t);this.addEventForRelatedDropdownlist(o,a,e.SourceApi,e.Name)}))}}},this.updateSelectedOptionStyle=()=>{document.addEventListener("change",(e=>{"select"===e.target.tagName.toLowerCase()&&e.target.classList.remove("placeholder-text")}))},this.resetSelectOption=(e,t=null,o="")=>{for(;e.options.length>0;)e.remove(0);if(t){var l=document.createElement("option");l.text=t,l.value="",a(l).attr("disabled","disabled"),a(l).attr("selected","selected"),a(l).attr("id",o),e.append(l)}},this.addEventForRelatedDropdownlist=(e,t,o,l)=>{let n="#related-default-text_"+l,i=a(n).text();const s=(window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""))+o;e.addEventListener("change",(e=>{const o=e.target.value;a.ajax({url:s+o,type:"GET",contentType:"application/json",success:e=>{var o=e;this.resetSelectOption(t),Object.keys(o).length>0?(Object.entries(o).forEach((([e,o])=>t.append(new Option(o,e)))),t.classList.remove("placeholder-text")):t.classList.add("placeholder-text")},error:()=>{this.resetSelectOption(t,i,n),t.classList.add("placeholder-text")}})}))},this.attachEvents()}}}}]);

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.