Skip to content

Commit

Permalink
Deployed using Blazing fast GitHub Pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Mar 10, 2024
1 parent 5ffdd84 commit f5c4164
Show file tree
Hide file tree
Showing 15 changed files with 461 additions and 350 deletions.
194 changes: 101 additions & 93 deletions node.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.d.ts.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

128 changes: 80 additions & 48 deletions node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

128 changes: 80 additions & 48 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3776,54 +3776,6 @@ var $;
$.$mol_state_local = $mol_state_local;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
function parse(theme) {
if (theme === 'true')
return true;
if (theme === 'false')
return false;
return null;
}
function $mol_lights(next) {
const arg = parse(this.$mol_state_arg.value('mol_lights'));
const base = false;
if (next === undefined) {
return arg ?? this.$mol_state_local.value('$mol_lights') ?? base;
}
else {
if (arg === null) {
this.$mol_state_local.value('$mol_lights', next === base ? null : next);
}
else {
this.$mol_state_arg.value('mol_lights', String(next));
}
return next;
}
}
$.$mol_lights = $mol_lights;
})($ || ($ = {}));

;
"use strict";

;
"use strict";
var $;
(function ($) {
var $$;
(function ($$) {
class $mol_theme_auto extends $.$mol_theme_auto {
theme() {
return this.$.$mol_lights() ? '$mol_theme_light' : '$mol_theme_dark';
}
}
$$.$mol_theme_auto = $mol_theme_auto;
})($$ = $.$$ || ($.$$ = {}));
})($ || ($ = {}));

;
"use strict";

Expand Down Expand Up @@ -3966,6 +3918,9 @@ var $;
open(...modes) {
return 0;
}
toJSON() {
return this.path();
}
}
__decorate([
$mol_mem
Expand Down Expand Up @@ -4204,6 +4159,83 @@ var $;
$.$mol_file = $mol_file_node;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
class $mol_state_local_node extends $mol_state_local {
static dir() {
const base = process.env.XDG_DATA_HOME || ($node.os.homedir() + '/.local/share');
return $mol_file.absolute(base).resolve('./hyoo_state_local');
}
static value(key, next) {
const file = this.dir().resolve(encodeURIComponent(key) + '.json');
if (next === null) {
file.exists(false);
return null;
}
const arg = next === undefined ? undefined : JSON.stringify(next);
return JSON.parse(file.text(arg) || 'null');
}
}
__decorate([
$mol_mem
], $mol_state_local_node, "dir", null);
__decorate([
$mol_mem_key
], $mol_state_local_node, "value", null);
$.$mol_state_local_node = $mol_state_local_node;
$.$mol_state_local = $mol_state_local_node;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
function parse(theme) {
if (theme === 'true')
return true;
if (theme === 'false')
return false;
return null;
}
function $mol_lights(next) {
const arg = parse(this.$mol_state_arg.value('mol_lights'));
const base = false;
if (next === undefined) {
return arg ?? this.$mol_state_local.value('$mol_lights') ?? base;
}
else {
if (arg === null) {
this.$mol_state_local.value('$mol_lights', next === base ? null : next);
}
else {
this.$mol_state_arg.value('mol_lights', String(next));
}
return next;
}
}
$.$mol_lights = $mol_lights;
})($ || ($ = {}));

;
"use strict";

;
"use strict";
var $;
(function ($) {
var $$;
(function ($$) {
class $mol_theme_auto extends $.$mol_theme_auto {
theme() {
return this.$.$mol_lights() ? '$mol_theme_light' : '$mol_theme_dark';
}
}
$$.$mol_theme_auto = $mol_theme_auto;
})($$ = $.$$ || ($.$$ = {}));
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down
Loading

0 comments on commit f5c4164

Please sign in to comment.