272 lines
12 KiB
HTML
272 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>haiperdohpjematreeah</title> <!-- updated by config.js -->
|
|
<meta charset="utf-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1.0"
|
|
/>
|
|
<link rel="shortcut icon" type="image/x-icon" href="res/favicon.png" />
|
|
|
|
<!-- Android Web App - Add to Home Screen -->
|
|
<link rel="manifest" href="manifest.json" />
|
|
|
|
<script src="config.js?v=12"></script>
|
|
<script src="lib/jquery.min.js?v=2"></script>
|
|
<!-- html2canvas v1.0.0-alpha.12 -->
|
|
|
|
<script src="calc/gematria.js?v=3"></script>
|
|
<script src="calc/calc.js?v=17"></script>
|
|
<script src="calc/init-variables.js?v=9"></script>
|
|
<script src="calc/ciphers.js?v=6"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="calc/styles.css?v=12" />
|
|
<link rel="stylesheet" type="text/css" href="/assets/hs-group3-basalt-chamfer.css?v=2.14.0" onerror="this.onerror=null;this.href='../hyperstitionstudio-core/site/assets/hs-group3-basalt-chamfer.css';" />
|
|
|
|
<script>
|
|
window.onpaint = function () {
|
|
updateInterfaceColor(true); // update interface color (first run)
|
|
};
|
|
$(window).load(function () {
|
|
$("#loader").delay(287).fadeOut("fast");
|
|
});
|
|
</script>
|
|
</head>
|
|
|
|
<body class="hs-calc-group3-body">
|
|
<div id="loader"></div>
|
|
<canvas id="canv"></canvas>
|
|
|
|
<!-- preload font -->
|
|
<span style="font-family: 'Roboto Mono'"></span>
|
|
|
|
<div class="hs-calc-shell">
|
|
<header id="hsCalcHeader" class="hs-plate-g3 plate-lock-emerald">
|
|
<div>
|
|
<div class="title-row hs-calc-title-row">
|
|
<span class="dot hs-calc-dot" aria-hidden="true"></span>
|
|
<h1>HYPERSTITIONSTUD.IO/CALC // HAIPERDOHPJEMATREEAH WORKBENCH</h1>
|
|
</div>
|
|
<p class="subtitle hs-calc-subtitle">82 Ciphers • 231,615 Ingglish-Provisioned db.txt Entries • Progressive Lite → Full Hydration • <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
|
</div>
|
|
<nav class="top-nav hs-global-nav hs-calc-top-nav" aria-label="Primary Ecosystem Navigation">
|
|
<a class="btn hs-nav-btn" id="calcNavHome" href="/">Portal Home (/)</a>
|
|
<a class="btn primary hs-nav-btn" id="calcNavSelf" aria-current="page" href="/calc/index.html">Calculator</a>
|
|
<a class="btn hs-nav-btn" id="calcNavQuant" href="/quant/index.html" style="border-color:#f5c630;color:#f5c630;">Quant</a>
|
|
<a class="btn hs-nav-btn" id="calcNavGraph" href="/graph/index.html" style="border-color:#22d3ee;color:#22d3ee;">Graph</a>
|
|
<a class="btn hs-nav-btn" id="calcNavLearn" href="/learn/index.html" style="border-color:#34d399;color:#34d399;">Learn</a>
|
|
<a class="btn hs-nav-btn" id="calcNavEng" href="/engineering/index.html">Engineering</a>
|
|
<a class="btn hs-nav-btn" id="calcNavMath" href="/math/index.html">Math</a>
|
|
<span class="nav-donate-sep" aria-hidden="true"></span>
|
|
<a class="btn-donate-pill" id="calcNavDonate" href="/donate/index.html?from=calc" title="Signal Patronage & Open-Instrument Notes (/donate/)"><span class="donate-pill-emblem" aria-hidden="true">♥</span><span>DONATE</span></a>
|
|
</nav>
|
|
</header>
|
|
|
|
<div id="calcMain" class="hs-plate-g3">
|
|
<center>
|
|
<div id="calcLogo">
|
|
<div id="logoText"></div>
|
|
<style>
|
|
.logoLetter { transition: font-family 0.1s; display: inline-block; }
|
|
.logoLetter:hover { font-family: matrix-font, monospace; color: #38bdf8; }
|
|
</style>
|
|
</div>
|
|
<script>
|
|
(function() {
|
|
var c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
|
var name = c.siteName || "haiperdohpjematreeah";
|
|
if (/^cypher\s*calculator$/i.test(name)) {
|
|
name = "haiperdohpjematreeah";
|
|
}
|
|
var color = c.logoColor || "#34d399";
|
|
var glow = c.logoGlow || "0 0 10px rgba(52,211,153,0.28)";
|
|
var el = document.getElementById("logoText");
|
|
el.style.cssText = "color:"+color+";text-shadow:"+glow+";font-family:'DejaVu Sans Mono','Roboto Mono','Courier New',monospace;font-weight:bold;font-size:215%;letter-spacing:3px;cursor:default;";
|
|
if (c.logoHoverMatrix !== false) {
|
|
el.innerHTML = name.split("").map(function(ch){ return '<span class="logoLetter">'+ch+'</span>'; }).join("");
|
|
} else {
|
|
el.textContent = name;
|
|
}
|
|
var rawTitle = c.siteTitle || name;
|
|
document.title = rawTitle.replace(/cypher\s*calculator/ig, "haiperdohpjematreeah");
|
|
})();
|
|
</script>
|
|
</center>
|
|
|
|
<center>
|
|
<div id="calcOptionsPanel"></div>
|
|
|
|
<div id="colorControlsMenuArea"></div>
|
|
<div id="editCiphersMenuArea"></div>
|
|
<div id="dateCalcMenuArea"></div>
|
|
|
|
<div id="inputArea" class="hs-plate-g3">
|
|
<span id="dbLoadIndicator" style="display:none;margin-right:6px;">
|
|
<svg width="22" height="22" viewBox="0 0 22 22" style="vertical-align:middle;animation:dbspin 1s linear infinite;">
|
|
<circle cx="11" cy="11" r="9" stroke="var(--font-color,#0ff)" stroke-width="2" fill="none" stroke-dasharray="40 20" stroke-linecap="round"/>
|
|
</svg>
|
|
</span>
|
|
<style>@keyframes dbspin{to{transform:rotate(360deg)}}</style>
|
|
<input
|
|
id="queryDBbtn"
|
|
class="hideValue"
|
|
type="button"
|
|
onclick="queryDatabase()"
|
|
value="Query"
|
|
/>
|
|
<input
|
|
id="phraseBox"
|
|
autofocus
|
|
type="text"
|
|
spellcheck="false"
|
|
autocomplete="off"
|
|
oninput="updateEnabledCipherTable(); updateWordBreakdown(breakCipher,false,false);"
|
|
onkeydown="if(event.key==='Enter'){phraseBoxKeypress(13)}else{phraseBoxKeypress(event.keyCode)}"
|
|
ondrop="dropHandler(event)"
|
|
ondragover="dragOverHandler(event)"
|
|
/>
|
|
<input
|
|
id="enterPhraseBtn"
|
|
type="button"
|
|
title="Add phrase to list"
|
|
onclick="addPhraseOnly()"
|
|
value="↵"
|
|
/><input
|
|
id="autoMatchBtn"
|
|
class="hideValue"
|
|
type="button"
|
|
title="Auto-match ON — click to disable"
|
|
value="⚡"
|
|
onclick="toggleAutoMatch()"
|
|
/>
|
|
<input
|
|
id="highlightBox"
|
|
type="text"
|
|
spellcheck="false"
|
|
autocomplete="off"
|
|
placeholder="highlight #s"
|
|
/><input
|
|
id="hltModeBtn"
|
|
class="hltModeOff"
|
|
type="button"
|
|
title="Highlight: any matches (every cell with the value) — click for same column matches"
|
|
value="▼"
|
|
onclick="toggleHltMode()"
|
|
/><span id="clearFilterButton"></span>
|
|
</div>
|
|
|
|
<div id="enabledCiphTable"></div>
|
|
|
|
<div id="BreakdownDetails">
|
|
<div id="BreakdownSpot"></div>
|
|
<div id="ChartSpotScroll"><div id="ChartSpot"></div></div>
|
|
</div>
|
|
</center>
|
|
|
|
<center>
|
|
<div id="HistoryTableArea"></div>
|
|
</center>
|
|
</div>
|
|
|
|
<footer id="hsGlobalFooter" style="text-align:center;padding:14px 8px;font-family:'DejaVu Sans Mono','Courier New',monospace;font-size:12px;color:#94a3b8;border-top:1px solid #26344d;margin-top:1rem;">
|
|
<span class="hs-lemur-credit">hyperstitionstud.io/calc v2.14.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • hyperstitionstud.io/calc v2.16.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#fb7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
|
</footer>
|
|
</div>
|
|
|
|
<span id="loadPanel"></span>
|
|
|
|
<script src="calc/breakdown.js?v=4"></script>
|
|
|
|
<script src="calc/highlighter.js?v=3"></script>
|
|
<script src="calc/export.js?v=4"></script>
|
|
<script src="calc/export-csv.js?v=3"></script>
|
|
<script src="calc/num-prop.js?v=2"></script>
|
|
<script src="calc/edit-ciphers.js?v=2"></script>
|
|
<script src="calc/date-calc.js?v=3"></script>
|
|
<script src="calc/database.js?v=9"></script>
|
|
<script src="calc/quick-guide.js?v=2"></script>
|
|
|
|
<script src="calc/localstorage.js?v=3"></script>
|
|
<script src="calc/encoding.js?v=3"></script>
|
|
<script src="calc/encoding-ciphers.js?v=2"></script>
|
|
|
|
<script src="calc/coderain.js?v=2"></script>
|
|
<script src="/assets/hs-matrix-coderain.js?v=2.14.0" defer></script>
|
|
<script src="lib/html2canvas.min.js?v=2"></script>
|
|
|
|
<script>
|
|
// Adapt header links when opened directly over file://
|
|
if (window.location.protocol === "file:") {
|
|
var navMap = {
|
|
calcNavHome: "../hyperstitionstudio-core/site/index.html",
|
|
calcNavSelf: "./index.html",
|
|
calcNavQuant: "../hyperstitionstudio-core/site/quant/index.html",
|
|
calcNavGraph: "../encyclopedia-knowledge-graph/index.html",
|
|
calcNavLearn: "../hyperstitionstudio-core/site/learn/index.html",
|
|
calcNavEng: "../hyperstitionstudio-core/site/engineering/index.html",
|
|
calcNavMath: "../hyperstitionstudio-core/site/math/index.html",
|
|
calcNavDonate: "../hyperstitionstudio-core/site/donate/index.html?from=calc"
|
|
};
|
|
Object.keys(navMap).forEach(function (id) {
|
|
var el = document.getElementById(id);
|
|
if (el) el.setAttribute("href", navMap[id]);
|
|
});
|
|
}
|
|
initCalc(true);
|
|
</script>
|
|
|
|
<!-- AUTO LOAD DATABASE (DB) -->
|
|
<!-- Tries pre-computed db.json first (instant matching), falls back to db.txt (live mode) -->
|
|
|
|
<script>
|
|
// Show loading indicator
|
|
document.getElementById("dbLoadIndicator").style.display = "inline";
|
|
|
|
var _c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
|
var _jsonUrl = _c.databaseJsonUrl || "db.json";
|
|
var _txtUrl = _c.databaseTxtUrl || "db.txt";
|
|
var _mode = _c.databaseMode || "auto";
|
|
var _liteUrl = _c.databaseLiteJsonUrl || "db_lite.json";
|
|
var _dbVer = _c.databaseVersion ? ("?v=" + _c.databaseVersion) : "";
|
|
|
|
function _dbLoaded() {
|
|
document.getElementById("dbLoadIndicator").style.display = "none";
|
|
var amb = document.getElementById("autoMatchBtn");
|
|
amb.classList.remove("hideValue");
|
|
if (!autoMatchEnabled) amb.classList.add("matchOff");
|
|
if (typeof syncHltModeBtn === "function") syncHltModeBtn();
|
|
}
|
|
|
|
function _fetchFull() {
|
|
fetch(_jsonUrl + _dbVer)
|
|
.then(function(r) { if (!r.ok) throw new Error("full db.json " + r.status); return r.json(); })
|
|
.then(function(data) { swapToFullDB(data); })
|
|
.catch(function(err) { console.log("Full DB unavailable (keeping lite):", err.message); });
|
|
}
|
|
|
|
if (_mode === "txt") {
|
|
var database = loadFile(_txtUrl);
|
|
importFileAction(database, true);
|
|
_dbLoaded();
|
|
} else {
|
|
fetch(_liteUrl + _dbVer)
|
|
.then(function(r) { if (!r.ok) throw new Error("lite " + r.status); return r.json(); })
|
|
.then(function(data) { loadPrecomputedDB(data); _dbLoaded(); _fetchFull(); })
|
|
.catch(function(liteErr) {
|
|
console.log("Lite DB unavailable, loading full directly:", liteErr.message);
|
|
fetch(_jsonUrl + _dbVer)
|
|
.then(function(r) { if (!r.ok) throw new Error("db.json not found (" + r.status + ")"); return r.json(); })
|
|
.then(function(data) { loadPrecomputedDB(data); _dbLoaded(); })
|
|
.catch(function(err) {
|
|
console.log("Pre-computed DB not available, using live mode:", err.message);
|
|
var database = loadFile(_txtUrl);
|
|
importFileAction(database, true);
|
|
_dbLoaded();
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|