1"use strict";var storefront;(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([[804],{4471:(e,r,t)=>{t.d(r,{default:()=>a});var o=t(3829);const a=new(function(){function e(){this.userKeyLocalStorageHandler="user_key",this.refererLocalStorageHandler="referer",this.globalVariables={},null===localStorage.getItem(this.userKeyLocalStorageHandler)&&this.setUserKey((0,o.A)()),this.assignGlobalVariables(),this.setReferer()}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.setUserKey=function(e){return localStorage.setItem(this.userKeyLocalStorageHandler,e),e},e.prototype.assignGlobalVariables=function(){var e=document.body.dataset;return this.globalVariables=e.globals?JSON.parse(e.globals):null,this.globalVariables},e.prototype.disableBodyScrollbar=function(){document.body.style.overflow="hidden"},e.prototype.enableBodyScrollbar=function(){document.body.style.overflow=""},e.prototype.isValidReferer=function(e){if(null===e||""===e)return!1;var r=new URL(e).hostname;return!(r===document.location.hostname||["ostest.net","sumupstore.com","sumupstorecom.icu"].some((function(e){return r.endsWith(e)})))},e.prototype.setReferer=function(){var e=this.globalVariables.initialReferer?this.globalVariables.initialReferer:document.referrer,r=localStorage.getItem(this.refererLocalStorageHandler),t=this.isValidReferer(e);null===r&&null!==e&&t&&localStorage.setItem(this.refererLocalStorageHandler,e)},e.prototype.removeRefererStorage=function(){localStorage.removeItem(this.refererLocalStorageHandler)},e.prototype.goToCheckout=function(){var e=localStorage.getItem(this.refererLocalStorageHandler);window.location.href="".concat(this.globalVariables.shopInfo.checkoutUrl,"/").concat(this.globalVariables.shopInfo.uuid,"/").concat(this.userKey).concat(e?"?referer=".concat(e):""),this.removeRefererStorage()},Object.defineProperty(e.prototype,"globals",{get:function(){return null!==this.globalVariables?this.globalVariables:this.assignGlobalVariables()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userKey",{get:function(){var e=localStorage.getItem(this.userKeyLocalStorageHandler);return null!==e?e:this.setUserKey((0,o.A)())},enumerable:!1,configurable:!0}),e}())}},e=>{e.O(0,[502],(()=>{return r=4471,e(e.s=r);var r}));var r=e.O();(storefront=void 0===storefront?{}:storefront).shared=r.default}]);
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.