PageSourceSearch

https://www.mantoshop.eu/expressCheckout/smileCheckout.php?v=3

js mantoshop.eu collected 2026-09-27 01:41:11 UTC 3,232 bytes, 74 lines download raw bytes

1(async () => {
2  let isDownloading = false;
3  const webComponentButtonModule = 'https://checkout.smile.pl/new_status/checkout_web_component_button.js.gz?v=3';
4  let checkoutCache = null;
5
6  const checkoutSettings = {
7    basketUrl          : 'https://www.mantoshop.eu/basketedit.php',
8    buttonSystemStyles : `:host {
9            --checkout-button-border-radius: 0px;
10            --checkout-button-background-color: #333;
11            --checkout-button-border-color: #333;
12            --checkout-button-background-color-hover: #333;
13            --checkout-button-border-color-hover: #333;
14            --checkout-button-text-color: #fff;
15            --checkout-button-text-color-hover: #fff;
16          }`,
17    cancelOrderUrl     : '/eng-returns-and_replacements.html',
18    checkoutModuleURL  : 'https://checkout.smile.pl/new_status/checkout_module.js.gz?v=3',
19    clientBalance      : '',
20    graphql            : '/graphql/v1/',
21    IAIAccountsUrl     : 'https://www.mantoshop.eu/',
22    isLogged           : false,
23    language           : 'eng',
24    lastLoginOption    : '',
25    login              : '',
26    loginType          : 'pin',
27    newDesign          : window?.__smileCheckoutNewDesignEnabled ?? false,
28    paymentMethods     : [{"id":212,"methodAsGroup":true,"groupId":"212","name":"Apple Pay","icon":"\/data\/lang\/eng\/payforms\/gfx\/212.png"},{"id":44,"methodAsGroup":false,"groupId":"card","name":"Visa","icon":"\/data\/lang\/eng\/payforms\/gfx\/44.png"},{"id":45,"methodAsGroup":false,"groupId":"card","name":"MasterCard","icon":"\/data\/lang\/eng\/payforms\/gfx\/45.png"},{"id":236,"methodAsGroup":false,"groupId":"paypal","name":"PayPal","icon":"\/data\/lang\/eng\/payforms\/gfx\/236.png"},{"id":110,"methodAsGroup":false,"groupId":"simple_transfer","name":"Bank transfer","icon":"\/data\/lang\/eng\/payforms\/gfx\/110.png"}],
29    returnUrl          : 'https://www.mantoshop.eu/return.php',
30    shopLogo           : 'https://www.mantoshop.eu/data/gfx/mask/eng/logo_5_big.gif',
31    features: {
32        paymentStatus  : true
33    }
34  };
35
36  async function loadCheckoutModule() {
37    if (!webComponentButtonModule) {
38      console.warn('checkoutInit.loadCheckoutModule: nie znaleziono linku do modułu checkoutu!');
39      return false;
40    }
41
42    const checkoutButtonElement = document.querySelector('express-checkout');
43    if (!checkoutButtonElement) return false;
44    if (isDownloading) return false;
45
46    try {
47      isDownloading = true;
48      const loadedModule = checkoutCache || (await import(webComponentButtonModule));
49      if (!('initCheckoutButton' in loadedModule)) {
50        console.warn('checkoutInit.loadCheckoutModule: nie znaleziono funkcji inicjalizującej w pobranym module');
51        return false;
52      }
53      if (!checkoutCache) {
54        checkoutCache = loadedModule;
55      }
56
57      await loadedModule.initCheckoutButton(checkoutSettings);
58      return true;
59    }
60    catch (err) {
61      console.warn('checkoutInit.loadCheckoutModule: błąd pobierania modułu checkoutu', err);
62      return false;
63    }
64    finally {
65      isDownloading = false;
66    }
67  }
68
69  window.addEventListener('DOMContentLoaded', async () => {
70    await loadCheckoutModule();
71  });
72
73  await loadCheckoutModule();
74})();

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.