PageSourceSearch

https://buddiz.app/assets/web-vog8CmIM.js

js buddiz.app collected 2026-09-24 14:08:57 UTC 923 bytes, 1 lines download raw bytes

1import{mN as n}from"./index-Do2d937u.js";import"./mapbox-Dsi-_OTH.js";class a extends n{constructor(){super(),this.restore()}async checkPermissions(){return{display:"granted"}}async requestPermissions(){return{display:"granted"}}async get(){const t=localStorage.getItem(a.STORAGE_KEY);return{count:t?parseInt(t,10):0}}async set(t){const e=t.count;e===0?await navigator.clearAppBadge():await navigator.setAppBadge(e);const s=e.toString();localStorage.setItem(a.STORAGE_KEY,s)}async increase(){const{count:t}=await this.get();await this.set({count:t+1})}async decrease(){const{count:t}=await this.get();t<1||await this.set({count:t-1})}async clear(){await this.set({count:0})}async isSupported(){return{isSupported:"setAppBadge"in navigator}}async restore(){const t=localStorage.getItem(a.STORAGE_KEY);if(!t)return;const e=parseInt(t,10);await navigator.setAppBadge(e)}}a.STORAGE_KEY="capacitor.badge";export{a as BadgeWeb};

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.