PageSourceSearch

https://stjeanio.ca/8221.90830d5d22c9f6d5.js

js stjeanio.ca collected 2026-10-02 22:42:40 UTC 1,244 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpc=self.webpackChunkpc||[]).push([[8221],{48221:(i,o,s)=>{s.r(o),s.d(o,{BadgeWeb:()=>c});var n=s(10467),u=s(15083);let c=(()=>{class r extends u.E_{constructor(){super(),this.restore()}checkPermissions(){return(0,n.A)(function*(){return{display:"granted"}})()}requestPermissions(){return(0,n.A)(function*(){return{display:"granted"}})()}get(){return(0,n.A)(function*(){const t=localStorage.getItem(r.STORAGE_KEY);return{count:t?parseInt(t,10):0}})()}set(t){return(0,n.A)(function*(){const e=t.count;0===e?yield navigator.clearAppBadge():yield navigator.setAppBadge(e);const a=e.toString();localStorage.setItem(r.STORAGE_KEY,a)})()}increase(){var t=this;return(0,n.A)(function*(){const{count:e}=yield t.get();yield t.set({count:e+1})})()}decrease(){var t=this;return(0,n.A)(function*(){const{count:e}=yield t.get();e<1||(yield t.set({count:e-1}))})()}clear(){var t=this;return(0,n.A)(function*(){yield t.set({count:0})})()}isSupported(){return(0,n.A)(function*(){return{isSupported:"setAppBadge"in navigator}})()}restore(){return(0,n.A)(function*(){const t=localStorage.getItem(r.STORAGE_KEY);if(!t)return;const e=parseInt(t,10);yield navigator.setAppBadge(e)})()}}return r.STORAGE_KEY="capacitor.badge",r})()}}]);

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.