PageSourceSearch

https://www.nivea.com.ng/dist/NiveaX/modules/RoutineBuilderSelection-RoutineBuilderPreSelection.43220765.js

js nivea.com.ng collected 2026-10-04 14:37:45 UTC 1,221 bytes, 2 lines download raw bytes

1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[9631],{50947:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});class s{constructor(e,t={}){this.element=e,this.options=t,this.init()}init(){return this.setPreselectedValues(this.element),this}valueFromHiddenInput(){return document.querySelector(".nx-routine-builder-bottom-content .alpaca-form .nx-hidden input").value}valueFromInputToJson(){if(!this.valueFromHiddenInput().length)return;return this.valueFromHiddenInput().split("*").filter(e=>e).map(function(e){let t=e.split("|");return{stepID:t[0],ProductID:t[1],Options:t.length>2?t[2].split(/\s*,\s*/):[],Valid:!0}})}setPreselectedValues(e){this.valueFromHiddenInput().length&&this.valueFromInputToJson().forEach(t=>{let n=e.querySelector(`[data-routine-step="${t.stepID}"]`),s=null==n?void 0:n.querySelector(`[data-product-id="${t.ProductID}"]`);if(s?s.classList.add("nx-selected-product"):console.warn("product id not found",s,t.ProductID),t.Options.length>0){let e=null==n?void 0:n.querySelector(".nx-weekday-picker-select-result");e&&(e.innerHTML=t.Options.join(", "))}})}}}}]);
2//# sourceMappingURL=/dist/NiveaX/./modules/RoutineBuilderSelection-RoutineBuilderPreSelection.43220765.js.ed5ce8a3.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.