PageSourceSearch

https://www.nivea.co.jp/dist/NiveaX/modules/SmallExpander.61275111.js

js nivea.co.jp collected 2026-10-02 16:30:00 UTC 1,522 bytes, 2 lines download raw bytes

1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[1105,1906],{9118:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});const l=n(68398).default},68398:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var l=n(98684),s=n(21464);const i='[data-module="SmallExpander"]';class a{static setup(e=i){Array.from(document.querySelectorAll(e)).filter(e=>!e.dataset.moduleInitialized).forEach(e=>{new a(e),e.dataset.moduleInitialized="true"})}constructor(e,t){this.element=e,this.options=(0,s.$E)(this.element,Object.assign(this.getDefaultOptions(),t)),this.expanderButton=this.element.querySelector(`.${this.options.SmallExpanderButton}`),this.expanderText=this.element.querySelector(`.${this.options.expanderText}`),this.checkIfReadMoreNeedToShow(),this.addEventHanlder()}checkIfReadMoreNeedToShow(){var e,t;const n=(0,l.Sw)("nx-u-visibility--hidden");n.style.position="absolute",n.innerHTML=null===(e=this.expanderText)||void 0===e?void 0:e.innerHTML,n&&this.element.appendChild(n),(null===(t=this.expanderText)||void 0===t?void 0:t.clientHeight)<(null==n?void 0:n.clientHeight)&&(this.expanderButton.style.display=""),n.remove()}addEventHanlder(){this.expanderButton.addEventListener("click",()=>this.showAll())}showAll(){this.element.classList.add(`${this.options.Selector}--show-all`)}getDefaultOptions(){return{Selector:"nx-small-expander",expanderText:"nx-small-expander__text",SmallExpanderButton:"nx-small-expander__btn"}}}a.setup(i)}}]);
2//# sourceMappingURL=/dist/NiveaX/./modules/SmallExpander.61275111.js.572cc758.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.