Files
pyMC_Repeater/repeater/web/html/assets/preferences-N3Pls1rF.js
T
Lloyd 19e0f5d3dd build: update bundled web UI assets
Rebuilt from pyMC-RepeaterUI dev branch — includes unscoped flood policy
UI changes (rename from global flood, updated API endpoint and labels).
2026-04-09 09:16:43 +01:00

1 line
306 B
JavaScript

var e=`pymc_pref_`;function t(t,n){try{let r=localStorage.getItem(e+t);return r===null?n:JSON.parse(r)}catch(e){return console.warn(`Failed to get preference ${t}:`,e),n}}function n(t,n){try{localStorage.setItem(e+t,JSON.stringify(n))}catch(e){console.warn(`Failed to set preference ${t}:`,e)}}export{n,t};