1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[2108,5370],{31886:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});var s=o(21464);const i='[data-module="ShopOrderOverview"]';class n{static setup(e=i){Array.from(document.querySelectorAll(e)).filter(e=>!e.dataset.moduleInitialized).forEach(e=>{new n(e),e.dataset.moduleInitialized="true"})}constructor(e,t={}){this.element=e,this.options=t,this.options=(0,s.$E)(this.element,Object.assign(this.getDefaultOptions(),this.options)),this.backButton=this.element.querySelector(`.${this.options.backToPreviousStep}`),this.confirmButton=this.element.querySelector(`.${this.options.confirmOrder}`),this.init()}init(){return this.backButton.addEventListener("click",()=>this.handleBackToPreviousStep(this.backButton.dataset.ajaxUrl)),this.confirmButton.addEventListener("click",()=>this.fetchOrderResponse(this.confirmButton.dataset.ajaxUrl)),this}fetchOrderResponse(e){fetch(e,{method:"POST",credentials:"include"}).then(e=>{if(e.ok)return e.text();throw new Error("Something went wrong with the response")}).then(e=>this.handleOrderResponse(e)).catch(e=>{console.error(e)})}handleBackToPreviousStep(e){window.NiveaX.layer.openAsync(e)}handleOrderResponse(e){window.NiveaX.layer.openAsync(e)}getDefaultOptions(){return{backToPreviousStep:"nx-back-to-checkout",confirmOrder:"nx-confirm-order"}}}n.setup(i)},91165:(e,t,o)=>{o.r(t),o.d(t,{default:()=>s});const s=o(31886).default}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/ShopOrderOverview.dd27d03d.js.f7b2b290.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.