PageSourceSearch

https://www.ameisapotheke.at/js/8424.d9fafe17.js

js ameisapotheke.at collected 2026-10-07 03:44:57 UTC 2,102 bytes, 1 lines download raw bytes

1"use strict";(globalThis["webpackChunkapopoint_pwa"]||=[]).push([[8424],{64275(t,n,a){a.r(n),a.d(n,{Jz:()=>r,On:()=>l,iB:()=>o,lo:()=>s,mi:()=>y,sM:()=>i});var e=a(85211);async function o({commit:t}){try{const n=await this.api.get("user.php?loyaltyPoints=1");if(n.data.error)throw n.data.error;return t("loyaltyCard/setLoyaltyPoints",{loyaltyPoints:n.data.loyaltyPoints,loyaltyPointsPending:n.data.pendingLoyaltyPoints},{root:!0}),n.data}catch(t){throw e.A.create({message:t?.message??"Fehler beim Laden der Treuepunkte!",type:"negative"}),t}}async function l(t,n){let a="user.php?pendingBons=1";return this.api.get(a)}async function i(t,n){let a=`receipt.php?order=${n.orderId}`;return this.api.get(a,{skipGlobalErrorHandler:!0})}async function r(t,n){let a="receipts.php";return this.api.get(a)}async function s(t,n){let a=`validate-qr-code.php?uuid=${n.uuid}`;return this.api.get(a,{skipGlobalErrorHandler:!0})}async function y(t,n){let a="apple"===n.type?"apple-wallet-pass.php":"google-wallet-pass/add-to-wallet/";return this.api.get(a,{skipGlobalErrorHandler:!0})}},64272(t,n,a){function e(t,n,a,e){const o=e["auth/getUser"]?.loyaltyCard||null,l=e["apopointPWA/getConfig"]?.loyaltyCard||null;return o&&l}function o(t,n,a,e){return t.loyaltyPoints}function l(t,n,a,e){return t.loyaltyPointsPending}a.r(n),a.d(n,{KU:()=>o,Vx:()=>l,vB:()=>e})},78424(t,n,a){var e=a(64275),o=a(64272),l=a(65032),i=a(39049),r={};a.r(r),a.d(r,{ADD_TO_WALLET:()=>e.mi,USER_GET_LOYALTY_POINTS:()=>e.iB,USER_GET_PENDING_BONS:()=>e.On,USER_GET_RECEIPT:()=>e.sM,USER_GET_RECEIPTS:()=>e.Jz,VALIDATE_QR_CODE:()=>e.lo});var s={};a.r(s),a.d(s,{getLoyaltyPoints:()=>o.KU,getLoyaltyPointsPending:()=>o.Vx,isLoyaltyCardActive:()=>o.vB});var y={};a.r(y),a.d(y,{setLoyaltyPoints:()=>l.S});const d={namespaced:!0,state:i.A,getters:s,mutations:y,actions:r};a.d(n,["default",0,d])},65032(t,n,a){function e(t,n){t.loyaltyPoints=n?.loyaltyPoints||null,t.loyaltyPointsPending=n?.loyaltyPointsPending||null}a.r(n),a.d(n,{S:()=>e})},39049(t,n,a){function e(){return{loyaltyPoints:null,loyaltyPointsPending:null}}a.d(n,{A:()=>e}),a.dn(e)}}]);

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.