(t)
| 201 | return s |
| 202 | } |
| 203 | getval(t) { |
| 204 | switch (this.getEnv()) { |
| 205 | case 'Surge': |
| 206 | case 'Loon': |
| 207 | case 'Stash': |
| 208 | case 'Shadowrocket': |
| 209 | return $persistentStore.read(t) |
| 210 | case 'Quantumult X': |
| 211 | return $prefs.valueForKey(t) |
| 212 | case 'Node.js': |
| 213 | return (this.data = this.loaddata()), this.data[t] |
| 214 | default: |
| 215 | return (this.data && this.data[t]) || null |
| 216 | } |
| 217 | } |
| 218 | setval(t, e) { |
| 219 | switch (this.getEnv()) { |
| 220 | case 'Surge': |