PageSourceSearch

https://www.nivea.com.tr/dist/NiveaX/modules/LayerAdvance.6a6c80d5.js

js nivea.com.tr collected 2026-09-26 14:25:34 UTC 2,112 bytes, 2 lines download raw bytes

1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[9384],{37564:(e,s,a)=>{a.r(s),a.d(s,{default:()=>l});var n=a(84444),t=a(21464),o=a(98684);const i=["nx-u-spinner","nx-u-spinner--medium"];class l extends n.default{constructor(e,s={}){super(e,s),this.options=(0,t.$E)(this.element,this.options),this.init()}getDefaultOptions(){const e=super.getDefaultOptions();return Object.assign(Object.assign({},e),{layerModifierClasses:`${e.layerMainClass}--page`,layerCloseBtnModifierClass:`${e.layerMainClass}__close-btn--page`,layerCloseIconClass:`${e.layerCloseIconClass} nx-close-icon--thin`,beforeOpen:async()=>{await window.NiveaX.initModules()},afterOpen:async()=>{},beforeClose:async()=>{},afterClose:async()=>{}})}get isOpen(){return document.body.contains(this.layer)}showSpinner(){return(0,o.gR)(this.layer.querySelector(".nx-layer__wrapper"),...i),this.isOpen||t.LW.prevent(!0),super.open(),this}async open(e=()=>{}){const{layerMainClass:s,beforeOpen:a,afterOpen:n}=this.options;await a(),this.backButton(),this.isOpen||t.LW.prevent(!0),(0,o.jo)(this.layer.querySelector(".nx-layer__wrapper"),...i),super.open(),(0,t.mS)(()=>this.layer.classList.add(`${s}--open`)),window.NiveaX.loadShopPrices(),await n(),e()}async close(e=()=>{}){const{layerMainClass:s,beforeClose:a,afterClose:n}=this.options;await a(),sessionStorage.removeItem("layers"),(0,o.iQ)(this.layer,`${s}--closing`),(0,t.Ys)(()=>{(0,o.jo)(this.layer,`${s}--open`,`${s}--closing`),super.close()},400),(document.body.classList.contains("nx-u-lock-screen")||document.body.classList.contains("nx-u-prevent-scroll"))&&t.LW.allow(),await n(),e()}backButton(){let e,s,a=sessionStorage.getItem("layers");if(a)if(e=JSON.parse(a),e.includes(location.hash)){let a=e.findIndex(e=>e==location.hash)+1;e=e.slice(0,a),s=[...e]}else s=[...e,location.hash];else s=[location.hash];sessionStorage.setItem("layers",`${JSON.stringify(s)}`),s.length>1?this.layer.classList.add("nx-layer--show-back-tbn"):this.layer.classList.remove("nx-layer--show-back-tbn")}}}}]);
2//# sourceMappingURL=/dist/NiveaX/./modules/LayerAdvance.6a6c80d5.js.91cffe89.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.