summaryrefslogtreecommitdiff
path: root/out
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-02 17:59:13 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-02 17:59:13 +0200
commite6cac81a1be089774161314430fce28c620d7573 (patch)
tree645f3b3918a9b633c0a26e9874358c073a446b56 /out
parent177f4b38d2dcf59861198db1113a2cf7ef59f5d9 (diff)
feature: make 3d persistant
Diffstat (limited to 'out')
-rw-r--r--out/404.html6
-rw-r--r--out/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js1
-rw-r--r--out/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js1
-rw-r--r--out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js12
-rw-r--r--out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js1
-rw-r--r--out/_next/static/chunks/pages/index-958f6f947d7cdc797980.js (renamed from out/_next/static/chunks/pages/index-f890b75b51bc215c1bc3.js)73
-rw-r--r--out/index.html8
7 files changed, 57 insertions, 45 deletions
diff --git a/out/404.html b/out/404.html
index f02f3d6..9a912df 100644
--- a/out/404.html
+++ b/out/404.html
@@ -18,8 +18,8 @@
<script src="/_next/static/chunks/main-1b0f1fd287f08bad6012.js" defer=""></script>
<script src="/_next/static/chunks/pages/_app-6ba3a11e93bdf6a85175.js" defer=""></script>
<script src="/_next/static/chunks/pages/_error-a0e21b9b223f827fe1f2.js" defer=""></script>
- <script src="/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js" defer=""></script>
- <script src="/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js" defer=""></script>
+ <script src="/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js" defer=""></script>
+ <script src="/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js" defer=""></script>
</head>
<body>
<div id="__next">
@@ -753,7 +753,7 @@
"props": { "pageProps": { "statusCode": 404 } },
"page": "/_error",
"query": {},
- "buildId": "NjgmQd_TDFyofQkcfOvWb",
+ "buildId": "cU0Fhf7qkIuEyMiaSc6bW",
"nextExport": true,
"isFallback": false,
"gip": true,
diff --git a/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js b/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js
deleted file mode 100644
index 647fb11..0000000
--- a/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/fb7d5399-0d6001c72a29ebec41eb.js","static/chunks/d25bd147-65fcc4c92edba8b370fb.js","static/chunks/906-7b9696c9b17c64b94384.js","static/chunks/pages/index-f890b75b51bc215c1bc3.js"],"/_error":["static/chunks/pages/_error-a0e21b9b223f827fe1f2.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file
diff --git a/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js b/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js
deleted file mode 100644
index 0511aa8..0000000
--- a/out/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file
diff --git a/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js b/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js
new file mode 100644
index 0000000..43b7e43
--- /dev/null
+++ b/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js
@@ -0,0 +1,12 @@
+;(self.__BUILD_MANIFEST = {
+ __rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
+ '/': [
+ 'static/chunks/fb7d5399-0d6001c72a29ebec41eb.js',
+ 'static/chunks/d25bd147-65fcc4c92edba8b370fb.js',
+ 'static/chunks/906-7b9696c9b17c64b94384.js',
+ 'static/chunks/pages/index-958f6f947d7cdc797980.js',
+ ],
+ '/_error': ['static/chunks/pages/_error-a0e21b9b223f827fe1f2.js'],
+ sortedPages: ['/', '/_app', '/_error'],
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()
diff --git a/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js b/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js
new file mode 100644
index 0000000..82bedd6
--- /dev/null
+++ b/out/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js
@@ -0,0 +1 @@
+;(self.__SSG_MANIFEST = new Set()), self.__SSG_MANIFEST_CB && self.__SSG_MANIFEST_CB()
diff --git a/out/_next/static/chunks/pages/index-f890b75b51bc215c1bc3.js b/out/_next/static/chunks/pages/index-958f6f947d7cdc797980.js
index fa79c8f..8def0bf 100644
--- a/out/_next/static/chunks/pages/index-f890b75b51bc215c1bc3.js
+++ b/out/_next/static/chunks/pages/index-958f6f947d7cdc797980.js
@@ -1843,25 +1843,26 @@
F = (0, u.useRef)({}),
A = (0, u.useRef)({}),
B = (0, u.useContext)(ee.N).setEmacsTheme,
- V = (0, u.useState)(!1),
- M = V[0],
- X = V[1],
- W = (0, u.useState)({ nodeIds: [] }),
- _ = W[0],
- U = W[1],
- Q = (0, u.useRef)({ nodeIds: [] }),
- q = (0, u.useRef)(I)
- q.current = R
- var G = (0, u.useRef)(null),
- K = (0, u.useRef)(null)
- Q.current = _
- var J = function (e, n) {
+ V = d('3d', !1),
+ M = (0, c.Z)(V, 2),
+ X = M[0],
+ W = M[1],
+ _ = (0, u.useState)({ nodeIds: [] }),
+ U = _[0],
+ Q = _[1],
+ q = (0, u.useRef)({ nodeIds: [] }),
+ G = (0, u.useRef)(I)
+ G.current = R
+ var K = (0, u.useRef)(null),
+ J = (0, u.useRef)(null)
+ q.current = U
+ var Y = function (e, n) {
var t,
r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 2e3,
i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 200,
- o = G.current,
- l = Q.current,
- s = q.current,
+ o = K.current,
+ l = q.current,
+ s = G.current,
c = null !== (t = A.current[n]) && void 0 !== t ? t : [],
u = Object.fromEntries(
[n]
@@ -1879,7 +1880,7 @@
return 'zoom' === e
? (console.log(l),
l.nodeIds.length &&
- (console.log('emptying'), console.log('scope ' + l.nodeIds), U({ nodeIds: [] })),
+ (console.log('emptying'), console.log('scope ' + l.nodeIds), Q({ nodeIds: [] })),
void setTimeout(function () {
return o.zoomToFit(r, i, function (e) {
return u[e.id]
@@ -1887,7 +1888,7 @@
}, 50))
: l.nodeIds.length
? 'add' !== s.localSame
- ? (U({ nodeIds: [n] }),
+ ? (Q({ nodeIds: [n] }),
void setTimeout(function () {
o.centerAt(0, 0, r)
}, 50))
@@ -1895,7 +1896,7 @@
l.nodeIds.some(function (e) {
return u[e]
})
- ? (U(function (e) {
+ ? (Q(function (e) {
return de(de({}, e), {}, { nodeIds: [].concat((0, a.Z)(e.nodeIds), [n]) })
}),
void setTimeout(function () {
@@ -1903,24 +1904,24 @@
return u[e.id]
})
}, 50))
- : (U({ nodeIds: [n] }),
+ : (Q({ nodeIds: [n] }),
void setTimeout(function () {
o.centerAt(0, 0, r)
}, 50))
- : (U({ nodeIds: [n] }),
+ : (Q({ nodeIds: [n] }),
void setTimeout(function () {
o.centerAt(0, 0, r)
}, 50))
}
return (
(0, u.useEffect)(function () {
- ;(K.current = new ce.Z('ws://localhost:35903')),
- K.current.addEventListener('open', function (e) {
+ ;(J.current = new ce.Z('ws://localhost:35903')),
+ J.current.addEventListener('open', function (e) {
console.log('Connection with Emacs established')
}),
- K.current.addEventListener('message', function (e) {
- G.current
- var n = q.current,
+ J.current.addEventListener('message', function (e) {
+ K.current
+ var n = G.current,
t = JSON.parse(e.data)
switch (t.type) {
case 'graphdata':
@@ -2001,7 +2002,7 @@
case 'local':
var r = R.zoomSpeed,
i = R.zoomPadding
- J('local', t.data.id, r, i), w(t.data.id)
+ Y('local', t.data.id, r, i), w(t.data.id)
break
case 'zoom':
var o,
@@ -2014,10 +2015,10 @@
(null === t || void 0 === t || null === (l = t.data) || void 0 === l
? void 0
: l.padding) || n.zoomPadding
- J('zoom', t.data.id, c, u), w(t.data.id)
+ Y('zoom', t.data.id, c, u), w(t.data.id)
break
case 'follow':
- J(n.follow, t.data.id, n.zoomSpeed, n.zoomPadding), w(t.data.id)
+ Y(n.follow, t.data.id, n.zoomSpeed, n.zoomPadding), w(t.data.id)
break
default:
return console.error('unknown message type', t.type)
@@ -2039,8 +2040,8 @@
{
physics: t,
setPhysics: r,
- threeDim: M,
- setThreeDim: X,
+ threeDim: X,
+ setThreeDim: W,
filter: h,
setFilter: g,
visuals: p,
@@ -2059,22 +2060,22 @@
je,
de(
{
- ref: G,
+ ref: K,
nodeById: F.current,
linksByNodeId: A.current,
- webSocket: K.current,
+ webSocket: J.current,
},
{
physics: t,
graphData: b,
- threeDim: M,
+ threeDim: X,
emacsNodeId: k,
filter: h,
visuals: p,
behavior: R,
mouse: E,
- scope: _,
- setScope: U,
+ scope: U,
+ setScope: Q,
},
),
),
diff --git a/out/index.html b/out/index.html
index 3e59254..a1f3b5f 100644
--- a/out/index.html
+++ b/out/index.html
@@ -19,9 +19,9 @@
<script src="/_next/static/chunks/fb7d5399-0d6001c72a29ebec41eb.js" defer=""></script>
<script src="/_next/static/chunks/d25bd147-65fcc4c92edba8b370fb.js" defer=""></script>
<script src="/_next/static/chunks/906-7b9696c9b17c64b94384.js" defer=""></script>
- <script src="/_next/static/chunks/pages/index-f890b75b51bc215c1bc3.js" defer=""></script>
- <script src="/_next/static/NjgmQd_TDFyofQkcfOvWb/_buildManifest.js" defer=""></script>
- <script src="/_next/static/NjgmQd_TDFyofQkcfOvWb/_ssgManifest.js" defer=""></script>
+ <script src="/_next/static/chunks/pages/index-958f6f947d7cdc797980.js" defer=""></script>
+ <script src="/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_buildManifest.js" defer=""></script>
+ <script src="/_next/static/cU0Fhf7qkIuEyMiaSc6bW/_ssgManifest.js" defer=""></script>
</head>
<body>
<div id="__next">
@@ -697,7 +697,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "NjgmQd_TDFyofQkcfOvWb",
+ "buildId": "cU0Fhf7qkIuEyMiaSc6bW",
"nextExport": true,
"autoExport": true,
"isFallback": false,