@rizom/site-rizom-ai 0.2.0-alpha.266 → 0.2.0-alpha.267
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +264 -336
- package/dist/index.js.map +12 -12
- package/package.json +1 -1
- package/src/ask-room.tsx +121 -0
- package/src/asked.tsx +5 -9
- package/src/layout.tsx +6 -3
- package/src/opening.tsx +24 -71
- package/src/routes.ts +6 -6
- package/src/site.ts +2 -2
- package/src/story/living-organism.tsx +1 -14
- package/src/story/runtime.ts +0 -46
- package/src/story/story-page.tsx +16 -10
- package/src/story.css +16 -77
- package/src/public-ask.tsx +0 -38
package/dist/index.js
CHANGED
|
@@ -39058,23 +39058,20 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39058
39058
|
width: min(100%, calc(100svh - var(--bar-height, 4.6rem) - 2rem));
|
|
39059
39059
|
aspect-ratio: 1;
|
|
39060
39060
|
}
|
|
39061
|
-
/*
|
|
39062
|
-
before the
|
|
39063
|
-
line down the
|
|
39064
|
-
can be fixed to the screen)
|
|
39065
|
-
|
|
39066
|
-
|
|
39067
|
-
screen): as the science comes up the network draws into its centre point,
|
|
39068
|
-
and past the reading line the figure's first drawing opens out of that same
|
|
39069
|
-
point; scrolling back runs it backwards. */
|
|
39061
|
+
/* The Ask room page (/ask, told as a story without a figure) brings its own
|
|
39062
|
+
drawing: it stands before the words in the chapters column and sticks at
|
|
39063
|
+
the figure's centre line down the page (the story is a size container, so
|
|
39064
|
+
nothing in it can be fixed to the screen), while the words scroll within
|
|
39065
|
+
the screen beside it. The homepage's opening keeps its drawing in the
|
|
39066
|
+
opening (the rule above), which leaves with it. */
|
|
39070
39067
|
@media not all and (max-width: 60rem) {
|
|
39071
39068
|
/* The words are the room's column (the kit scrolls it within the screen);
|
|
39072
|
-
the bar and the
|
|
39069
|
+
the bar and the chapter's 4rem of padding above and below stay clear, so
|
|
39073
39070
|
the composer is on the first screen. */
|
|
39074
39071
|
.chapter--opening .opening__words {
|
|
39075
39072
|
--ask-column-clear: calc(8rem + var(--bar-height, 4.6rem));
|
|
39076
39073
|
}
|
|
39077
|
-
:where(.chapters) > .net-layer {
|
|
39074
|
+
.story--room :where(.chapters) > .net-layer {
|
|
39078
39075
|
position: sticky;
|
|
39079
39076
|
top: calc(
|
|
39080
39077
|
var(--bar-height, 4.6rem) + (100svh - var(--bar-height, 4.6rem)) / 2
|
|
@@ -39088,52 +39085,8 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39088
39085
|
var(--words) - var(--words-gap) - clamp(1rem, 6vw, 7rem)
|
|
39089
39086
|
);
|
|
39090
39087
|
}
|
|
39091
|
-
:where(.chapters) > .net-layer > * {
|
|
39088
|
+
.story--room :where(.chapters) > .net-layer > * {
|
|
39092
39089
|
translate: 0 -50%;
|
|
39093
|
-
scale: calc(1 - clamp(0, var(--handover, 0), 1));
|
|
39094
|
-
}
|
|
39095
|
-
.net-leads {
|
|
39096
|
-
opacity: calc(1 - clamp(0, var(--handover, 0) * 2, 1));
|
|
39097
|
-
}
|
|
39098
|
-
/* The figure's first drawing opens out of the point the network drew into;
|
|
39099
|
-
the figure draws back into the point as the Asked-before chapter arrives
|
|
39100
|
-
with its own drawing, and opens again as the chapter after it does. */
|
|
39101
|
-
.living-org .o-box {
|
|
39102
|
-
scale: min(
|
|
39103
|
-
clamp(0, var(--handover, 0) - 1, 1),
|
|
39104
|
-
max(
|
|
39105
|
-
1 - clamp(0, var(--asked, 0), 1),
|
|
39106
|
-
clamp(0, (var(--leaving, 0) - 1) * 2, 1)
|
|
39107
|
-
)
|
|
39108
|
-
);
|
|
39109
|
-
}
|
|
39110
|
-
/* The Asked-before chapter's drawing holds the figure's centre line while
|
|
39111
|
-
the chapter is read: first in the chapter's flow, so it is at the line
|
|
39112
|
-
from the moment the chapter reaches it. It opens out of the point as the
|
|
39113
|
-
chapter arrives, in half the line's distance so a short chapter still
|
|
39114
|
-
shows it whole, and draws back in as the next chapter does. */
|
|
39115
|
-
.asked > .net-layer {
|
|
39116
|
-
position: sticky;
|
|
39117
|
-
order: -1;
|
|
39118
|
-
top: calc(
|
|
39119
|
-
var(--bar-height, 4.6rem) + (100svh - var(--bar-height, 4.6rem)) / 2
|
|
39120
|
-
);
|
|
39121
|
-
left: auto;
|
|
39122
|
-
right: auto;
|
|
39123
|
-
height: 0;
|
|
39124
|
-
margin-left: calc(100% + var(--words-gap));
|
|
39125
|
-
width: calc(
|
|
39126
|
-
100cqi - max(0px, (100cqi - 80rem) / 2) - clamp(1rem, 5vw, 5rem) -
|
|
39127
|
-
var(--words) - var(--words-gap) - clamp(1rem, 6vw, 7rem)
|
|
39128
|
-
);
|
|
39129
|
-
translate: none;
|
|
39130
|
-
}
|
|
39131
|
-
.asked > .net-layer > * {
|
|
39132
|
-
translate: 0 -50%;
|
|
39133
|
-
scale: calc(
|
|
39134
|
-
clamp(0, (var(--asked, 0) - 1) * 2, 1) *
|
|
39135
|
-
(1 - clamp(0, var(--leaving, 0), 1))
|
|
39136
|
-
);
|
|
39137
39090
|
}
|
|
39138
39091
|
}
|
|
39139
39092
|
.net-svg {
|
|
@@ -39752,8 +39705,6 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39752
39705
|
color: var(--color-text-muted);
|
|
39753
39706
|
quotes: "\u201C" "\u201D";
|
|
39754
39707
|
}
|
|
39755
|
-
/* The chapter's drawing stands where the organism stood, beside the words
|
|
39756
|
-
(placed in the wide-screen block above; on a phone it takes the strip). */
|
|
39757
39708
|
/* The Ask room's lead layer (the room script draws into it; the kit styles
|
|
39758
39709
|
the leads): leads join words to the drawing across the page, so the
|
|
39759
39710
|
viewport is their frame. On a phone the opening's drawing joins the open
|
|
@@ -39784,29 +39735,17 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39784
39735
|
border-bottom: 1px solid var(--color-border);
|
|
39785
39736
|
}
|
|
39786
39737
|
}
|
|
39787
|
-
/*
|
|
39788
|
-
brain blinks on its own; only
|
|
39789
|
-
.
|
|
39790
|
-
.
|
|
39791
|
-
.asked .net-reply:not(.is-lit) .net-
|
|
39738
|
+
/* While the Asked-before questions are read, the page's drawing is the
|
|
39739
|
+
network at rest: no pulse travels it and no brain blinks on its own; only
|
|
39740
|
+
the open question's brains answer. */
|
|
39741
|
+
.story.is-asked .net-pulse,
|
|
39742
|
+
.story.is-asked .net-reply:not(.is-lit) .net-echo,
|
|
39743
|
+
.story.is-asked .net-reply:not(.is-lit) .net-spark {
|
|
39792
39744
|
display: none;
|
|
39793
39745
|
}
|
|
39794
|
-
.asked .net-mark i {
|
|
39746
|
+
.story.is-asked .net-mark i {
|
|
39795
39747
|
animation: none;
|
|
39796
39748
|
}
|
|
39797
|
-
@media (max-width: 60rem) {
|
|
39798
|
-
/* On a phone the chapter's drawing takes the strip while the chapter is read. */
|
|
39799
|
-
.asked .net-layer {
|
|
39800
|
-
top: var(--bar-height, 4.6rem);
|
|
39801
|
-
translate: none;
|
|
39802
|
-
left: 0;
|
|
39803
|
-
right: 0;
|
|
39804
|
-
width: auto;
|
|
39805
|
-
}
|
|
39806
|
-
.story.is-asked .asked .net-layer {
|
|
39807
|
-
opacity: 1;
|
|
39808
|
-
z-index: 3;
|
|
39809
|
-
}
|
|
39810
39749
|
}
|
|
39811
39750
|
|
|
39812
39751
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -40521,10 +40460,6 @@ var livingOrganism = organism({
|
|
|
40521
40460
|
...Object.fromEntries(Object.entries(one).map(([k, v2]) => [k, shrink(v2)])),
|
|
40522
40461
|
...Object.fromEntries(economy.map((p, i) => [`E${i + 1}`, at(p, i % 3 === 0 ? 6 : 4)]))
|
|
40523
40462
|
},
|
|
40524
|
-
{
|
|
40525
|
-
...Object.fromEntries(Object.entries(one).map(([k, v2]) => [k, shrink(v2)])),
|
|
40526
|
-
...Object.fromEntries(economy.map((p, i) => [`E${i + 1}`, at(p, i % 3 === 0 ? 6 : 4)]))
|
|
40527
|
-
},
|
|
40528
40463
|
{ L: [C3, C3, 13, 1] }
|
|
40529
40464
|
],
|
|
40530
40465
|
links: [
|
|
@@ -40583,8 +40518,7 @@ var livingOrganism = organism({
|
|
|
40583
40518
|
"core-e2",
|
|
40584
40519
|
"core-e3",
|
|
40585
40520
|
...uniqueEconomyLinks.map((l3) => l3[0])
|
|
40586
|
-
]
|
|
40587
|
-
[]
|
|
40521
|
+
]
|
|
40588
40522
|
],
|
|
40589
40523
|
flowing: [
|
|
40590
40524
|
[],
|
|
@@ -40598,8 +40532,7 @@ var livingOrganism = organism({
|
|
|
40598
40532
|
"core-e2",
|
|
40599
40533
|
"core-e3",
|
|
40600
40534
|
...uniqueEconomyLinks.filter((_2, i) => i % 2 === 0).map((l3) => l3[0])
|
|
40601
|
-
]
|
|
40602
|
-
[]
|
|
40535
|
+
]
|
|
40603
40536
|
],
|
|
40604
40537
|
labels: [
|
|
40605
40538
|
[],
|
|
@@ -41885,32 +41818,15 @@ function readingLine(viewportHeight, stripBottom) {
|
|
|
41885
41818
|
const beside = 0.45;
|
|
41886
41819
|
return stripBottom === null ? viewportHeight * beside : stripBottom + 1;
|
|
41887
41820
|
}
|
|
41888
|
-
function handoverProgress(nextTop, scrolled, viewportHeight, line) {
|
|
41889
|
-
if (nextTop > line) {
|
|
41890
|
-
return scrolled <= 0 ? 0 : scrolled / (scrolled + nextTop - line);
|
|
41891
|
-
}
|
|
41892
|
-
const span = viewportHeight - line;
|
|
41893
|
-
return span <= 0 ? 2 : 1 + Math.min(1, (line - nextTop) / span);
|
|
41894
|
-
}
|
|
41895
|
-
function arrivalProgress(top, viewportHeight, line) {
|
|
41896
|
-
const span = viewportHeight - line;
|
|
41897
|
-
if (span <= 0)
|
|
41898
|
-
return top <= line ? 2 : 0;
|
|
41899
|
-
return Math.min(2, Math.max(0, (viewportHeight - top) / span));
|
|
41900
|
-
}
|
|
41901
41821
|
var storyRuntimeScript = ASK_ROOM_SCRIPT + `(function () {
|
|
41902
41822
|
${currentChapter.toString()}
|
|
41903
41823
|
${readingLine.toString()}
|
|
41904
|
-
${handoverProgress.toString()}
|
|
41905
|
-
${arrivalProgress.toString()}
|
|
41906
41824
|
function init() {
|
|
41907
41825
|
var story = document.querySelector(".story");
|
|
41908
41826
|
if (!story) return;
|
|
41909
41827
|
var chapters = Array.prototype.slice.call(story.querySelectorAll(".chapter"));
|
|
41910
41828
|
if (!chapters.length) return;
|
|
41911
41829
|
var figure = story.querySelector(".figure");
|
|
41912
|
-
// The chapter that takes the figure's place with its own drawing, and the one after it.
|
|
41913
|
-
var lights = chapters.findIndex(function (chapter) { return chapter.hasAttribute("data-lights-network"); });
|
|
41914
41830
|
var stageCount = figure ? Number(figure.dataset.stages || chapters.length) : chapters.length;
|
|
41915
41831
|
var rail = document.querySelector(".rail");
|
|
41916
41832
|
var railNodes = [];
|
|
@@ -41957,11 +41873,6 @@ var storyRuntimeScript = ASK_ROOM_SCRIPT + `(function () {
|
|
|
41957
41873
|
var current = currentChapter(tops, line);
|
|
41958
41874
|
var stage = currentChapter(tops, line, stageCount);
|
|
41959
41875
|
if (figure) figure.dataset.stage = String(stage);
|
|
41960
|
-
if (tops.length > 1) story.style.setProperty("--handover", handoverProgress(tops[1], scrollY, innerHeight, line).toFixed(4));
|
|
41961
|
-
if (lights >= 0) {
|
|
41962
|
-
story.style.setProperty("--asked", arrivalProgress(tops[lights], innerHeight, line).toFixed(4));
|
|
41963
|
-
story.style.setProperty("--leaving", (lights + 1 < tops.length ? arrivalProgress(tops[lights + 1], innerHeight, line) : 0).toFixed(4));
|
|
41964
|
-
}
|
|
41965
41876
|
chapters.forEach(function (chapter, i) { chapter.classList.toggle("is-current", i === current); });
|
|
41966
41877
|
// A chapter that lights the network keeps the live drawing in view while it is read.
|
|
41967
41878
|
story.classList.toggle("is-asked", !!(chapters[current] && chapters[current].hasAttribute("data-lights-network")));
|
|
@@ -55279,14 +55190,14 @@ function StoryPage({
|
|
|
55279
55190
|
}),
|
|
55280
55191
|
/* @__PURE__ */ jsx49(ReadingThread, {}),
|
|
55281
55192
|
/* @__PURE__ */ jsxs35("div", {
|
|
55282
|
-
className: "story",
|
|
55193
|
+
className: figure ? "story" : "story story--room",
|
|
55283
55194
|
...{ [ASK_ROOM_ATTRIBUTE]: "" },
|
|
55284
55195
|
children: [
|
|
55285
55196
|
/* @__PURE__ */ jsx49("div", {
|
|
55286
55197
|
className: "chapters",
|
|
55287
55198
|
children
|
|
55288
55199
|
}),
|
|
55289
|
-
/* @__PURE__ */ jsx49("figure", {
|
|
55200
|
+
figure && /* @__PURE__ */ jsx49("figure", {
|
|
55290
55201
|
className: `figure ${figure.className}`,
|
|
55291
55202
|
"data-stage": "0",
|
|
55292
55203
|
"data-stages": figure.organism.stageCount,
|
|
@@ -55305,7 +55216,8 @@ var BAR_LINKS = [
|
|
|
55305
55216
|
{ label: "Brain", href: "/brain", room: "brain" },
|
|
55306
55217
|
{ label: "Work", href: "/work", room: "work" },
|
|
55307
55218
|
{ label: "Foundation", href: "/foundation", room: "foundation" },
|
|
55308
|
-
{ label: "Writing", href: "/writing" }
|
|
55219
|
+
{ label: "Writing", href: "/writing" },
|
|
55220
|
+
{ label: "Ask", href: "/ask" }
|
|
55309
55221
|
];
|
|
55310
55222
|
var AUDIT = { label: "Book an audit", href: "/work#audit" };
|
|
55311
55223
|
function activeRoom(path) {
|
|
@@ -55457,7 +55369,8 @@ var STORY_FIGURES = {
|
|
|
55457
55369
|
"/": { className: "living-org", organism: livingOrganism },
|
|
55458
55370
|
"/brain": { className: "brain-org", organism: brainOrganism },
|
|
55459
55371
|
"/work": { className: "work-org", organism: workOrganism },
|
|
55460
|
-
"/foundation": { className: "foundation-org", organism: foundationOrganism }
|
|
55372
|
+
"/foundation": { className: "foundation-org", organism: foundationOrganism },
|
|
55373
|
+
"/ask": null
|
|
55461
55374
|
};
|
|
55462
55375
|
function RizomAiChrome({
|
|
55463
55376
|
path,
|
|
@@ -55475,7 +55388,7 @@ function RizomAiChrome({
|
|
|
55475
55388
|
path
|
|
55476
55389
|
}),
|
|
55477
55390
|
/* @__PURE__ */ jsx50("main", {
|
|
55478
|
-
children: figure ? /* @__PURE__ */ jsx50(StoryPage, {
|
|
55391
|
+
children: figure !== undefined ? /* @__PURE__ */ jsx50(StoryPage, {
|
|
55479
55392
|
figure,
|
|
55480
55393
|
children
|
|
55481
55394
|
}) : children
|
|
@@ -56740,76 +56653,39 @@ function NetworkLayer({
|
|
|
56740
56653
|
function Opening(data) {
|
|
56741
56654
|
const headingLead = data.headingLead ?? DEFAULT_COPY.headingLead;
|
|
56742
56655
|
const lede = data.lede ?? DEFAULT_COPY.lede;
|
|
56743
|
-
return /* @__PURE__ */ jsxs39(
|
|
56656
|
+
return /* @__PURE__ */ jsxs39("section", {
|
|
56657
|
+
id: "hero",
|
|
56658
|
+
className: "chapter chapter--opening",
|
|
56659
|
+
"data-title": "Top",
|
|
56744
56660
|
children: [
|
|
56745
|
-
/* @__PURE__ */ jsx56(
|
|
56746
|
-
|
|
56747
|
-
|
|
56661
|
+
data.kicker && /* @__PURE__ */ jsx56("p", {
|
|
56662
|
+
className: "eyebrow",
|
|
56663
|
+
children: data.kicker
|
|
56748
56664
|
}),
|
|
56749
|
-
|
|
56750
|
-
|
|
56751
|
-
|
|
56752
|
-
|
|
56665
|
+
/* @__PURE__ */ jsxs39("h1", {
|
|
56666
|
+
children: [
|
|
56667
|
+
headingLead,
|
|
56668
|
+
data.headingAccent && /* @__PURE__ */ jsxs39(Fragment21, {
|
|
56669
|
+
children: [
|
|
56670
|
+
" ",
|
|
56671
|
+
/* @__PURE__ */ jsx56("em", {
|
|
56672
|
+
children: data.headingAccent
|
|
56673
|
+
})
|
|
56674
|
+
]
|
|
56675
|
+
})
|
|
56676
|
+
]
|
|
56753
56677
|
}),
|
|
56754
|
-
/* @__PURE__ */ jsx56("
|
|
56755
|
-
|
|
56756
|
-
|
|
56757
|
-
|
|
56758
|
-
|
|
56759
|
-
|
|
56760
|
-
|
|
56761
|
-
|
|
56762
|
-
|
|
56763
|
-
|
|
56764
|
-
|
|
56765
|
-
}),
|
|
56766
|
-
/* @__PURE__ */ jsxs39("h1", {
|
|
56767
|
-
children: [
|
|
56768
|
-
headingLead,
|
|
56769
|
-
data.headingAccent && /* @__PURE__ */ jsxs39(Fragment21, {
|
|
56770
|
-
children: [
|
|
56771
|
-
" ",
|
|
56772
|
-
/* @__PURE__ */ jsx56("em", {
|
|
56773
|
-
children: data.headingAccent
|
|
56774
|
-
})
|
|
56775
|
-
]
|
|
56776
|
-
})
|
|
56777
|
-
]
|
|
56778
|
-
}),
|
|
56779
|
-
/* @__PURE__ */ jsx56("p", {
|
|
56780
|
-
className: "lede",
|
|
56781
|
-
children: lede
|
|
56782
|
-
}),
|
|
56783
|
-
data.askBox ? /* @__PURE__ */ jsxs39("div", {
|
|
56784
|
-
className: "ask",
|
|
56785
|
-
children: [
|
|
56786
|
-
/* @__PURE__ */ jsx56(AskBoxHost, {
|
|
56787
|
-
prefix: "opening",
|
|
56788
|
-
placeholder: data.prompt ?? undefined
|
|
56789
|
-
}),
|
|
56790
|
-
data.topics.length > 0 && /* @__PURE__ */ jsx56("ul", {
|
|
56791
|
-
className: "ask__topics",
|
|
56792
|
-
"aria-label": "Suggested questions",
|
|
56793
|
-
children: data.topics.map((topic) => /* @__PURE__ */ jsx56("li", {
|
|
56794
|
-
children: /* @__PURE__ */ jsx56("button", {
|
|
56795
|
-
type: "button",
|
|
56796
|
-
"data-atlas-fill": topic,
|
|
56797
|
-
children: topic
|
|
56798
|
-
})
|
|
56799
|
-
}, topic))
|
|
56800
|
-
}),
|
|
56801
|
-
/* @__PURE__ */ jsx56("script", {
|
|
56802
|
-
src: ASK_BOX_SCRIPT_PATH,
|
|
56803
|
-
defer: true
|
|
56804
|
-
})
|
|
56805
|
-
]
|
|
56806
|
-
}) : data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx56("a", {
|
|
56807
|
-
className: "opening__door",
|
|
56808
|
-
href: data.ctaHref,
|
|
56809
|
-
children: data.ctaLabel
|
|
56810
|
-
})
|
|
56811
|
-
]
|
|
56812
|
-
})
|
|
56678
|
+
/* @__PURE__ */ jsx56("p", {
|
|
56679
|
+
className: "lede",
|
|
56680
|
+
children: lede
|
|
56681
|
+
}),
|
|
56682
|
+
data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx56("a", {
|
|
56683
|
+
className: "opening__door",
|
|
56684
|
+
href: data.ctaHref,
|
|
56685
|
+
children: data.ctaLabel
|
|
56686
|
+
}),
|
|
56687
|
+
/* @__PURE__ */ jsx56(NetworkLayer, {
|
|
56688
|
+
...placeNetwork(data)
|
|
56813
56689
|
})
|
|
56814
56690
|
]
|
|
56815
56691
|
});
|
|
@@ -56828,7 +56704,7 @@ var openingCopyFormatter = new StructuredContentFormatter(proximityMapCopySchema
|
|
|
56828
56704
|
});
|
|
56829
56705
|
var openingTemplate = createTemplate({
|
|
56830
56706
|
name: "opening",
|
|
56831
|
-
description: "The homepage opening: the authored words over the live network, with the
|
|
56707
|
+
description: "The homepage opening: the authored words over the live network, with the door",
|
|
56832
56708
|
schema: openingSchema,
|
|
56833
56709
|
dataSourceId: "rizom:opening",
|
|
56834
56710
|
overlayFormatter: openingCopyFormatter,
|
|
@@ -56988,9 +56864,6 @@ function Asked(data) {
|
|
|
56988
56864
|
/* @__PURE__ */ jsx57("p", {
|
|
56989
56865
|
children: data.body ?? DEFAULT_COPY2.body
|
|
56990
56866
|
}),
|
|
56991
|
-
/* @__PURE__ */ jsx57(NetworkLayer, {
|
|
56992
|
-
...placeNetwork(data)
|
|
56993
|
-
}),
|
|
56994
56867
|
/* @__PURE__ */ jsx57("div", {
|
|
56995
56868
|
className: "asked__list",
|
|
56996
56869
|
children: faqs.map((faq) => /* @__PURE__ */ jsxs40("details", {
|
|
@@ -57035,6 +56908,103 @@ var askedTemplate = createTemplate({
|
|
|
57035
56908
|
layout: { component: Asked }
|
|
57036
56909
|
});
|
|
57037
56910
|
|
|
56911
|
+
// src/ask-room.tsx
|
|
56912
|
+
import { jsx as jsx58, jsxs as jsxs41, Fragment as Fragment25 } from "react/jsx-runtime";
|
|
56913
|
+
var askRoomCopySchema = exports_external.object({
|
|
56914
|
+
cap: exports_external.string().nullable().default(null),
|
|
56915
|
+
claim: exports_external.string().nullable().default(null),
|
|
56916
|
+
body: exports_external.string().nullable().default(null)
|
|
56917
|
+
});
|
|
56918
|
+
var DEFAULT_COPY3 = {
|
|
56919
|
+
cap: "Ask",
|
|
56920
|
+
claim: "Ask the network",
|
|
56921
|
+
body: "Put a question to Rizom. It answers from what the connected brains have published, and the brains it drew on light up."
|
|
56922
|
+
};
|
|
56923
|
+
var askRoomSchema = proximityMapDataSchema.extend({
|
|
56924
|
+
...askRoomCopySchema.shape,
|
|
56925
|
+
topics: exports_external.array(exports_external.string()).default([]),
|
|
56926
|
+
prompt: exports_external.string().nullable().default(null),
|
|
56927
|
+
askBox: exports_external.boolean().default(false)
|
|
56928
|
+
});
|
|
56929
|
+
function AskRoom(data) {
|
|
56930
|
+
return /* @__PURE__ */ jsxs41(Fragment25, {
|
|
56931
|
+
children: [
|
|
56932
|
+
/* @__PURE__ */ jsx58(NetworkLayer, {
|
|
56933
|
+
...placeNetwork(data),
|
|
56934
|
+
lendable: true
|
|
56935
|
+
}),
|
|
56936
|
+
/* @__PURE__ */ jsx58("svg", {
|
|
56937
|
+
className: "net-leads",
|
|
56938
|
+
...{ [ASK_LEADS_ATTRIBUTE]: "" },
|
|
56939
|
+
"aria-hidden": "true"
|
|
56940
|
+
}),
|
|
56941
|
+
/* @__PURE__ */ jsx58("section", {
|
|
56942
|
+
id: "ask",
|
|
56943
|
+
className: "chapter chapter--opening",
|
|
56944
|
+
"data-title": "Ask",
|
|
56945
|
+
children: /* @__PURE__ */ jsxs41("div", {
|
|
56946
|
+
className: "opening__words",
|
|
56947
|
+
...{ [ASK_COLUMN_ATTRIBUTE]: "" },
|
|
56948
|
+
children: [
|
|
56949
|
+
/* @__PURE__ */ jsx58("p", {
|
|
56950
|
+
className: "eyebrow",
|
|
56951
|
+
children: data.cap ?? DEFAULT_COPY3.cap
|
|
56952
|
+
}),
|
|
56953
|
+
/* @__PURE__ */ jsx58("h1", {
|
|
56954
|
+
children: data.claim ?? DEFAULT_COPY3.claim
|
|
56955
|
+
}),
|
|
56956
|
+
/* @__PURE__ */ jsx58("p", {
|
|
56957
|
+
className: "lede",
|
|
56958
|
+
children: data.body ?? DEFAULT_COPY3.body
|
|
56959
|
+
}),
|
|
56960
|
+
/* @__PURE__ */ jsxs41("div", {
|
|
56961
|
+
className: "ask",
|
|
56962
|
+
children: [
|
|
56963
|
+
/* @__PURE__ */ jsx58(AskBoxHost, {
|
|
56964
|
+
prefix: "opening",
|
|
56965
|
+
placeholder: data.prompt ?? undefined
|
|
56966
|
+
}),
|
|
56967
|
+
data.topics.length > 0 && /* @__PURE__ */ jsx58("ul", {
|
|
56968
|
+
className: "ask__topics",
|
|
56969
|
+
"aria-label": "Suggested questions",
|
|
56970
|
+
children: data.topics.map((topic) => /* @__PURE__ */ jsx58("li", {
|
|
56971
|
+
children: /* @__PURE__ */ jsx58("button", {
|
|
56972
|
+
type: "button",
|
|
56973
|
+
"data-atlas-fill": topic,
|
|
56974
|
+
children: topic
|
|
56975
|
+
})
|
|
56976
|
+
}, topic))
|
|
56977
|
+
}),
|
|
56978
|
+
/* @__PURE__ */ jsx58("script", {
|
|
56979
|
+
src: ASK_BOX_SCRIPT_PATH,
|
|
56980
|
+
defer: true
|
|
56981
|
+
})
|
|
56982
|
+
]
|
|
56983
|
+
})
|
|
56984
|
+
]
|
|
56985
|
+
})
|
|
56986
|
+
})
|
|
56987
|
+
]
|
|
56988
|
+
});
|
|
56989
|
+
}
|
|
56990
|
+
var askRoomCopyFormatter = new StructuredContentFormatter(askRoomCopySchema, {
|
|
56991
|
+
title: "Ask",
|
|
56992
|
+
mappings: [
|
|
56993
|
+
{ key: "cap", label: "Cap", type: "string" },
|
|
56994
|
+
{ key: "claim", label: "Claim", type: "string" },
|
|
56995
|
+
{ key: "body", label: "Body", type: "string" }
|
|
56996
|
+
]
|
|
56997
|
+
});
|
|
56998
|
+
var askRoomTemplate = createTemplate({
|
|
56999
|
+
name: "ask-room",
|
|
57000
|
+
description: "The Ask room: the guest box beside the live network, which an answer lights",
|
|
57001
|
+
schema: askRoomSchema,
|
|
57002
|
+
dataSourceId: "rizom:opening",
|
|
57003
|
+
overlayFormatter: askRoomCopyFormatter,
|
|
57004
|
+
requiredPermission: "public",
|
|
57005
|
+
layout: { component: AskRoom }
|
|
57006
|
+
});
|
|
57007
|
+
|
|
57038
57008
|
// src/asked-datasource.ts
|
|
57039
57009
|
var LIMIT = 12;
|
|
57040
57010
|
var MAP_SOURCE_ID2 = "agent-discovery:proximity-map";
|
|
@@ -57075,7 +57045,7 @@ function askedDataSource(shell) {
|
|
|
57075
57045
|
}
|
|
57076
57046
|
|
|
57077
57047
|
// src/writing.tsx
|
|
57078
|
-
import { jsx as
|
|
57048
|
+
import { jsx as jsx59, jsxs as jsxs43, Fragment as Fragment26 } from "react/jsx-runtime";
|
|
57079
57049
|
var linked = {
|
|
57080
57050
|
id: exports_external.string(),
|
|
57081
57051
|
entityType: exports_external.string(),
|
|
@@ -57138,19 +57108,19 @@ function pieces({ posts, decks }) {
|
|
|
57138
57108
|
].sort((a, b2) => b2.date.localeCompare(a.date));
|
|
57139
57109
|
}
|
|
57140
57110
|
function PieceBody({ piece }) {
|
|
57141
|
-
return /* @__PURE__ */
|
|
57111
|
+
return /* @__PURE__ */ jsxs43(Fragment26, {
|
|
57142
57112
|
children: [
|
|
57143
|
-
/* @__PURE__ */
|
|
57113
|
+
/* @__PURE__ */ jsxs43("small", {
|
|
57144
57114
|
children: [
|
|
57145
57115
|
LABEL[piece.kind],
|
|
57146
57116
|
" \xB7 ",
|
|
57147
57117
|
day.format(new Date(piece.date))
|
|
57148
57118
|
]
|
|
57149
57119
|
}),
|
|
57150
|
-
/* @__PURE__ */
|
|
57120
|
+
/* @__PURE__ */ jsx59("b", {
|
|
57151
57121
|
children: piece.title
|
|
57152
57122
|
}),
|
|
57153
|
-
piece.text && /* @__PURE__ */
|
|
57123
|
+
piece.text && /* @__PURE__ */ jsx59("span", {
|
|
57154
57124
|
children: piece.text
|
|
57155
57125
|
})
|
|
57156
57126
|
]
|
|
@@ -57158,38 +57128,38 @@ function PieceBody({ piece }) {
|
|
|
57158
57128
|
}
|
|
57159
57129
|
function WritingArchive(data) {
|
|
57160
57130
|
const thread = pieces(data);
|
|
57161
|
-
return /* @__PURE__ */
|
|
57131
|
+
return /* @__PURE__ */ jsxs43("section", {
|
|
57162
57132
|
id: "writing",
|
|
57163
57133
|
className: "archive",
|
|
57164
57134
|
children: [
|
|
57165
|
-
/* @__PURE__ */
|
|
57135
|
+
/* @__PURE__ */ jsx59("link", {
|
|
57166
57136
|
rel: "stylesheet",
|
|
57167
57137
|
href: "/styles/writing.css",
|
|
57168
57138
|
precedence: "page"
|
|
57169
57139
|
}),
|
|
57170
|
-
/* @__PURE__ */
|
|
57140
|
+
/* @__PURE__ */ jsxs43("header", {
|
|
57171
57141
|
className: "archive__head",
|
|
57172
57142
|
children: [
|
|
57173
|
-
/* @__PURE__ */
|
|
57143
|
+
/* @__PURE__ */ jsx59("p", {
|
|
57174
57144
|
className: "eyebrow",
|
|
57175
57145
|
children: "Writing"
|
|
57176
57146
|
}),
|
|
57177
|
-
/* @__PURE__ */
|
|
57147
|
+
/* @__PURE__ */ jsx59("h1", {
|
|
57178
57148
|
children: "Essays and presentations."
|
|
57179
57149
|
}),
|
|
57180
|
-
/* @__PURE__ */
|
|
57150
|
+
/* @__PURE__ */ jsx59("p", {
|
|
57181
57151
|
className: "lede",
|
|
57182
57152
|
children: "A working bibliography; new entries land roughly monthly."
|
|
57183
57153
|
}),
|
|
57184
|
-
/* @__PURE__ */
|
|
57154
|
+
/* @__PURE__ */ jsxs43("fieldset", {
|
|
57185
57155
|
className: "archive__filter",
|
|
57186
57156
|
children: [
|
|
57187
|
-
/* @__PURE__ */
|
|
57157
|
+
/* @__PURE__ */ jsx59("legend", {
|
|
57188
57158
|
children: "Show"
|
|
57189
57159
|
}),
|
|
57190
|
-
FILTERS.map((filter) => /* @__PURE__ */
|
|
57160
|
+
FILTERS.map((filter) => /* @__PURE__ */ jsxs43("label", {
|
|
57191
57161
|
children: [
|
|
57192
|
-
/* @__PURE__ */
|
|
57162
|
+
/* @__PURE__ */ jsx59("input", {
|
|
57193
57163
|
type: "radio",
|
|
57194
57164
|
name: "show",
|
|
57195
57165
|
value: filter.value,
|
|
@@ -57202,28 +57172,28 @@ function WritingArchive(data) {
|
|
|
57202
57172
|
})
|
|
57203
57173
|
]
|
|
57204
57174
|
}),
|
|
57205
|
-
thread.length === 0 ? /* @__PURE__ */
|
|
57175
|
+
thread.length === 0 ? /* @__PURE__ */ jsx59("p", {
|
|
57206
57176
|
className: "archive__empty",
|
|
57207
57177
|
children: "Nothing published yet."
|
|
57208
|
-
}) : /* @__PURE__ */
|
|
57178
|
+
}) : /* @__PURE__ */ jsx59("ol", {
|
|
57209
57179
|
className: "thread-list",
|
|
57210
|
-
children: thread.map((piece, i) => /* @__PURE__ */
|
|
57180
|
+
children: thread.map((piece, i) => /* @__PURE__ */ jsxs43("li", {
|
|
57211
57181
|
className: `piece piece--${piece.kind}`,
|
|
57212
57182
|
style: {
|
|
57213
57183
|
animationDelay: `${Math.round((0.4 + Math.min(i, 8) * 0.15) * 100) / 100}s`
|
|
57214
57184
|
},
|
|
57215
57185
|
children: [
|
|
57216
|
-
/* @__PURE__ */
|
|
57186
|
+
/* @__PURE__ */ jsx59("span", {
|
|
57217
57187
|
className: "piece__mark",
|
|
57218
57188
|
"aria-hidden": "true"
|
|
57219
57189
|
}),
|
|
57220
|
-
piece.url ? /* @__PURE__ */
|
|
57190
|
+
piece.url ? /* @__PURE__ */ jsx59("a", {
|
|
57221
57191
|
href: piece.url,
|
|
57222
|
-
children: /* @__PURE__ */
|
|
57192
|
+
children: /* @__PURE__ */ jsx59(PieceBody, {
|
|
57223
57193
|
piece
|
|
57224
57194
|
})
|
|
57225
|
-
}) : /* @__PURE__ */
|
|
57226
|
-
children: /* @__PURE__ */
|
|
57195
|
+
}) : /* @__PURE__ */ jsx59("div", {
|
|
57196
|
+
children: /* @__PURE__ */ jsx59(PieceBody, {
|
|
57227
57197
|
piece
|
|
57228
57198
|
})
|
|
57229
57199
|
})
|
|
@@ -57274,7 +57244,7 @@ function writingDataSource(shell) {
|
|
|
57274
57244
|
}
|
|
57275
57245
|
|
|
57276
57246
|
// src/work.tsx
|
|
57277
|
-
import { jsx as
|
|
57247
|
+
import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
57278
57248
|
var heroSchema2 = exports_external.object({
|
|
57279
57249
|
eyebrow: exports_external.string(),
|
|
57280
57250
|
headline: exports_external.string(),
|
|
@@ -57289,29 +57259,29 @@ function WorkHeroSection({
|
|
|
57289
57259
|
primaryCta,
|
|
57290
57260
|
secondaryCta
|
|
57291
57261
|
}) {
|
|
57292
|
-
return /* @__PURE__ */
|
|
57262
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57293
57263
|
id: "work-hero",
|
|
57294
57264
|
className: "chapter",
|
|
57295
57265
|
children: [
|
|
57296
|
-
/* @__PURE__ */
|
|
57266
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57297
57267
|
className: "eyebrow",
|
|
57298
57268
|
children: eyebrow
|
|
57299
57269
|
}),
|
|
57300
|
-
/* @__PURE__ */
|
|
57270
|
+
/* @__PURE__ */ jsx60("h1", {
|
|
57301
57271
|
children: emphasize(headline)
|
|
57302
57272
|
}),
|
|
57303
|
-
/* @__PURE__ */
|
|
57273
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57304
57274
|
className: "lede",
|
|
57305
57275
|
children: standfirst
|
|
57306
57276
|
}),
|
|
57307
|
-
/* @__PURE__ */
|
|
57277
|
+
/* @__PURE__ */ jsxs45("p", {
|
|
57308
57278
|
className: "doors-in",
|
|
57309
57279
|
children: [
|
|
57310
|
-
/* @__PURE__ */
|
|
57280
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57311
57281
|
href: primaryCta.href,
|
|
57312
57282
|
children: primaryCta.label
|
|
57313
57283
|
}),
|
|
57314
|
-
/* @__PURE__ */
|
|
57284
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57315
57285
|
href: secondaryCta.href,
|
|
57316
57286
|
children: secondaryCta.label
|
|
57317
57287
|
})
|
|
@@ -57330,18 +57300,18 @@ function WorkProblemSection({
|
|
|
57330
57300
|
headline,
|
|
57331
57301
|
intro
|
|
57332
57302
|
}) {
|
|
57333
|
-
return /* @__PURE__ */
|
|
57303
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57334
57304
|
id: "work-problem",
|
|
57335
57305
|
className: "chapter",
|
|
57336
57306
|
children: [
|
|
57337
|
-
/* @__PURE__ */
|
|
57307
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57338
57308
|
className: "eyebrow",
|
|
57339
57309
|
children: cap
|
|
57340
57310
|
}),
|
|
57341
|
-
/* @__PURE__ */
|
|
57311
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57342
57312
|
children: emphasize(headline)
|
|
57343
57313
|
}),
|
|
57344
|
-
/* @__PURE__ */
|
|
57314
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57345
57315
|
children: intro
|
|
57346
57316
|
})
|
|
57347
57317
|
]
|
|
@@ -57359,35 +57329,35 @@ function WorkAuditSection({
|
|
|
57359
57329
|
steps,
|
|
57360
57330
|
ctas
|
|
57361
57331
|
}) {
|
|
57362
|
-
return /* @__PURE__ */
|
|
57332
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57363
57333
|
id: "audit",
|
|
57364
57334
|
className: "chapter",
|
|
57365
57335
|
"data-title": "The Knowledge Audit",
|
|
57366
57336
|
children: [
|
|
57367
|
-
/* @__PURE__ */
|
|
57337
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57368
57338
|
className: "eyebrow",
|
|
57369
57339
|
children: cap
|
|
57370
57340
|
}),
|
|
57371
|
-
/* @__PURE__ */
|
|
57341
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57372
57342
|
children: emphasize(headline)
|
|
57373
57343
|
}),
|
|
57374
|
-
/* @__PURE__ */
|
|
57344
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57375
57345
|
children: intro
|
|
57376
57346
|
}),
|
|
57377
|
-
/* @__PURE__ */
|
|
57347
|
+
/* @__PURE__ */ jsx60("ol", {
|
|
57378
57348
|
className: "steps",
|
|
57379
|
-
children: steps.map((step) => /* @__PURE__ */
|
|
57349
|
+
children: steps.map((step) => /* @__PURE__ */ jsxs45("li", {
|
|
57380
57350
|
children: [
|
|
57381
|
-
/* @__PURE__ */
|
|
57351
|
+
/* @__PURE__ */ jsx60("b", {
|
|
57382
57352
|
children: step.lead
|
|
57383
57353
|
}),
|
|
57384
|
-
/* @__PURE__ */
|
|
57354
|
+
/* @__PURE__ */ jsx60("span", {
|
|
57385
57355
|
children: step.text
|
|
57386
57356
|
})
|
|
57387
57357
|
]
|
|
57388
57358
|
}, step.lead))
|
|
57389
57359
|
}),
|
|
57390
|
-
ctas.map((cta) => /* @__PURE__ */
|
|
57360
|
+
ctas.map((cta) => /* @__PURE__ */ jsx60("a", {
|
|
57391
57361
|
className: "cta",
|
|
57392
57362
|
href: cta.href,
|
|
57393
57363
|
children: cta.label
|
|
@@ -57403,24 +57373,24 @@ function WorkPersonasSection({
|
|
|
57403
57373
|
cap,
|
|
57404
57374
|
personas
|
|
57405
57375
|
}) {
|
|
57406
|
-
return /* @__PURE__ */
|
|
57376
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57407
57377
|
id: "personas",
|
|
57408
57378
|
className: "chapter",
|
|
57409
57379
|
"data-title": cap,
|
|
57410
57380
|
children: [
|
|
57411
|
-
/* @__PURE__ */
|
|
57381
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57412
57382
|
className: "eyebrow",
|
|
57413
57383
|
children: cap
|
|
57414
57384
|
}),
|
|
57415
|
-
/* @__PURE__ */
|
|
57385
|
+
/* @__PURE__ */ jsx60("div", {
|
|
57416
57386
|
className: "voices",
|
|
57417
|
-
children: personas.map((persona) => /* @__PURE__ */
|
|
57387
|
+
children: personas.map((persona) => /* @__PURE__ */ jsxs45("blockquote", {
|
|
57418
57388
|
children: [
|
|
57419
|
-
/* @__PURE__ */
|
|
57389
|
+
/* @__PURE__ */ jsx60("small", {
|
|
57420
57390
|
children: persona.role
|
|
57421
57391
|
}),
|
|
57422
57392
|
persona.quote,
|
|
57423
|
-
/* @__PURE__ */
|
|
57393
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57424
57394
|
children: persona.text
|
|
57425
57395
|
})
|
|
57426
57396
|
]
|
|
@@ -57437,21 +57407,21 @@ function WorkQuotesSection({
|
|
|
57437
57407
|
cap,
|
|
57438
57408
|
quotes
|
|
57439
57409
|
}) {
|
|
57440
|
-
return /* @__PURE__ */
|
|
57410
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57441
57411
|
id: "proof",
|
|
57442
57412
|
className: "chapter",
|
|
57443
57413
|
"data-title": cap,
|
|
57444
57414
|
children: [
|
|
57445
|
-
/* @__PURE__ */
|
|
57415
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57446
57416
|
className: "eyebrow",
|
|
57447
57417
|
children: cap
|
|
57448
57418
|
}),
|
|
57449
|
-
/* @__PURE__ */
|
|
57419
|
+
/* @__PURE__ */ jsx60("div", {
|
|
57450
57420
|
className: "voices",
|
|
57451
|
-
children: quotes.map((quote) => /* @__PURE__ */
|
|
57421
|
+
children: quotes.map((quote) => /* @__PURE__ */ jsxs45("blockquote", {
|
|
57452
57422
|
children: [
|
|
57453
57423
|
quote.text,
|
|
57454
|
-
/* @__PURE__ */
|
|
57424
|
+
/* @__PURE__ */ jsx60("cite", {
|
|
57455
57425
|
children: quote.by
|
|
57456
57426
|
})
|
|
57457
57427
|
]
|
|
@@ -57468,30 +57438,30 @@ function WorkRosterSection({
|
|
|
57468
57438
|
cap,
|
|
57469
57439
|
people
|
|
57470
57440
|
}) {
|
|
57471
|
-
return /* @__PURE__ */
|
|
57441
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57472
57442
|
id: "people",
|
|
57473
57443
|
className: "chapter",
|
|
57474
57444
|
children: [
|
|
57475
|
-
/* @__PURE__ */
|
|
57445
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57476
57446
|
className: "eyebrow",
|
|
57477
57447
|
children: cap
|
|
57478
57448
|
}),
|
|
57479
|
-
/* @__PURE__ */
|
|
57449
|
+
/* @__PURE__ */ jsx60("ul", {
|
|
57480
57450
|
className: "people",
|
|
57481
|
-
children: people.map((person) => /* @__PURE__ */
|
|
57451
|
+
children: people.map((person) => /* @__PURE__ */ jsxs45("li", {
|
|
57482
57452
|
children: [
|
|
57483
|
-
/* @__PURE__ */
|
|
57453
|
+
/* @__PURE__ */ jsx60("b", {
|
|
57484
57454
|
children: person.name
|
|
57485
57455
|
}),
|
|
57486
|
-
/* @__PURE__ */
|
|
57456
|
+
/* @__PURE__ */ jsx60("span", {
|
|
57487
57457
|
children: person.role
|
|
57488
57458
|
})
|
|
57489
57459
|
]
|
|
57490
57460
|
}, person.name))
|
|
57491
57461
|
}),
|
|
57492
|
-
/* @__PURE__ */
|
|
57462
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57493
57463
|
className: "onward",
|
|
57494
|
-
children: /* @__PURE__ */
|
|
57464
|
+
children: /* @__PURE__ */ jsx60("a", {
|
|
57495
57465
|
href: "/foundation",
|
|
57496
57466
|
children: "The research arm, at the Foundation"
|
|
57497
57467
|
})
|
|
@@ -57509,22 +57479,22 @@ function WorkCloserSection({
|
|
|
57509
57479
|
primaryCta,
|
|
57510
57480
|
secondaryCta
|
|
57511
57481
|
}) {
|
|
57512
|
-
return /* @__PURE__ */
|
|
57482
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57513
57483
|
id: "closer",
|
|
57514
57484
|
className: "chapter",
|
|
57515
57485
|
"data-title": "Your team type",
|
|
57516
57486
|
children: [
|
|
57517
|
-
/* @__PURE__ */
|
|
57487
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57518
57488
|
children: emphasize(quote)
|
|
57519
57489
|
}),
|
|
57520
|
-
/* @__PURE__ */
|
|
57490
|
+
/* @__PURE__ */ jsxs45("p", {
|
|
57521
57491
|
className: "doors-in",
|
|
57522
57492
|
children: [
|
|
57523
|
-
/* @__PURE__ */
|
|
57493
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57524
57494
|
href: primaryCta.href,
|
|
57525
57495
|
children: primaryCta.label
|
|
57526
57496
|
}),
|
|
57527
|
-
/* @__PURE__ */
|
|
57497
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57528
57498
|
href: secondaryCta.href,
|
|
57529
57499
|
children: secondaryCta.label
|
|
57530
57500
|
})
|
|
@@ -57565,7 +57535,7 @@ var workSections = sectionGroup("work", {
|
|
|
57565
57535
|
});
|
|
57566
57536
|
|
|
57567
57537
|
// src/foundation.tsx
|
|
57568
|
-
import { jsx as
|
|
57538
|
+
import { jsx as jsx61, jsxs as jsxs46, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
57569
57539
|
var EMPHASIS_CLS = "italic font-[400] text-accent";
|
|
57570
57540
|
var heroSchema3 = exports_external.object({
|
|
57571
57541
|
volume: exports_external.string(),
|
|
@@ -57581,29 +57551,29 @@ function FoundationHeroSection({
|
|
|
57581
57551
|
primaryCta,
|
|
57582
57552
|
secondaryCta
|
|
57583
57553
|
}) {
|
|
57584
|
-
return /* @__PURE__ */
|
|
57554
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57585
57555
|
id: "foundation-hero",
|
|
57586
57556
|
className: "chapter",
|
|
57587
57557
|
children: [
|
|
57588
|
-
/* @__PURE__ */
|
|
57558
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57589
57559
|
className: "eyebrow",
|
|
57590
57560
|
children: "Foundation"
|
|
57591
57561
|
}),
|
|
57592
|
-
/* @__PURE__ */
|
|
57562
|
+
/* @__PURE__ */ jsx61("h1", {
|
|
57593
57563
|
children: renderHighlightedText(headline, EMPHASIS_CLS)
|
|
57594
57564
|
}),
|
|
57595
|
-
/* @__PURE__ */
|
|
57565
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57596
57566
|
className: "lede",
|
|
57597
57567
|
children: standfirst
|
|
57598
57568
|
}),
|
|
57599
|
-
/* @__PURE__ */
|
|
57569
|
+
/* @__PURE__ */ jsxs46("p", {
|
|
57600
57570
|
className: "doors-in",
|
|
57601
57571
|
children: [
|
|
57602
|
-
/* @__PURE__ */
|
|
57572
|
+
/* @__PURE__ */ jsx61("a", {
|
|
57603
57573
|
href: primaryCta.href,
|
|
57604
57574
|
children: primaryCta.label
|
|
57605
57575
|
}),
|
|
57606
|
-
/* @__PURE__ */
|
|
57576
|
+
/* @__PURE__ */ jsx61("a", {
|
|
57607
57577
|
href: secondaryCta.href,
|
|
57608
57578
|
children: secondaryCta.label
|
|
57609
57579
|
})
|
|
@@ -57627,24 +57597,24 @@ var indexSchema = exports_external.object({
|
|
|
57627
57597
|
items: exports_external.array(indexRowSchema)
|
|
57628
57598
|
});
|
|
57629
57599
|
function Entry({ row }) {
|
|
57630
|
-
const body = /* @__PURE__ */
|
|
57600
|
+
const body = /* @__PURE__ */ jsxs46(Fragment27, {
|
|
57631
57601
|
children: [
|
|
57632
|
-
/* @__PURE__ */
|
|
57602
|
+
/* @__PURE__ */ jsx61("small", {
|
|
57633
57603
|
children: row.kicker
|
|
57634
57604
|
}),
|
|
57635
|
-
/* @__PURE__ */
|
|
57605
|
+
/* @__PURE__ */ jsx61("b", {
|
|
57636
57606
|
children: row.title
|
|
57637
57607
|
}),
|
|
57638
|
-
/* @__PURE__ */
|
|
57608
|
+
/* @__PURE__ */ jsx61("span", {
|
|
57639
57609
|
children: [row.text, row.metaSub].filter(Boolean).join(" ")
|
|
57640
57610
|
})
|
|
57641
57611
|
]
|
|
57642
57612
|
});
|
|
57643
|
-
return /* @__PURE__ */
|
|
57644
|
-
children: row.href ? /* @__PURE__ */
|
|
57613
|
+
return /* @__PURE__ */ jsx61("li", {
|
|
57614
|
+
children: row.href ? /* @__PURE__ */ jsx61("a", {
|
|
57645
57615
|
href: row.href,
|
|
57646
57616
|
children: body
|
|
57647
|
-
}) : /* @__PURE__ */
|
|
57617
|
+
}) : /* @__PURE__ */ jsx61("div", {
|
|
57648
57618
|
children: body
|
|
57649
57619
|
})
|
|
57650
57620
|
});
|
|
@@ -57655,20 +57625,20 @@ function EntriesChapter({
|
|
|
57655
57625
|
title,
|
|
57656
57626
|
items
|
|
57657
57627
|
}) {
|
|
57658
|
-
return /* @__PURE__ */
|
|
57628
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57659
57629
|
id,
|
|
57660
57630
|
className: "chapter",
|
|
57661
57631
|
children: [
|
|
57662
|
-
/* @__PURE__ */
|
|
57632
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57663
57633
|
className: "eyebrow",
|
|
57664
57634
|
children: cap
|
|
57665
57635
|
}),
|
|
57666
|
-
/* @__PURE__ */
|
|
57636
|
+
/* @__PURE__ */ jsx61("h2", {
|
|
57667
57637
|
children: title
|
|
57668
57638
|
}),
|
|
57669
|
-
/* @__PURE__ */
|
|
57639
|
+
/* @__PURE__ */ jsx61("ul", {
|
|
57670
57640
|
className: "entries",
|
|
57671
|
-
children: items.map((row) => /* @__PURE__ */
|
|
57641
|
+
children: items.map((row) => /* @__PURE__ */ jsx61(Entry, {
|
|
57672
57642
|
row
|
|
57673
57643
|
}, row.title))
|
|
57674
57644
|
})
|
|
@@ -57679,7 +57649,7 @@ function FoundationResearchSection({
|
|
|
57679
57649
|
cap,
|
|
57680
57650
|
items
|
|
57681
57651
|
}) {
|
|
57682
|
-
return /* @__PURE__ */
|
|
57652
|
+
return /* @__PURE__ */ jsx61(EntriesChapter, {
|
|
57683
57653
|
id: "research",
|
|
57684
57654
|
cap,
|
|
57685
57655
|
title: "A working bibliography.",
|
|
@@ -57690,7 +57660,7 @@ function FoundationChaptersSection({
|
|
|
57690
57660
|
cap,
|
|
57691
57661
|
items
|
|
57692
57662
|
}) {
|
|
57693
|
-
return /* @__PURE__ */
|
|
57663
|
+
return /* @__PURE__ */ jsx61(EntriesChapter, {
|
|
57694
57664
|
id: "events",
|
|
57695
57665
|
cap,
|
|
57696
57666
|
title: "Twenty to forty people, city by city.",
|
|
@@ -57705,16 +57675,16 @@ function FoundationPullquoteSection({
|
|
|
57705
57675
|
quote,
|
|
57706
57676
|
attribution
|
|
57707
57677
|
}) {
|
|
57708
|
-
return /* @__PURE__ */
|
|
57678
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57709
57679
|
id: "pullquote",
|
|
57710
57680
|
className: "chapter",
|
|
57711
57681
|
"data-title": "The pattern",
|
|
57712
57682
|
children: [
|
|
57713
|
-
/* @__PURE__ */
|
|
57683
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57714
57684
|
className: "pull",
|
|
57715
57685
|
children: renderHighlightedText(quote, EMPHASIS_CLS)
|
|
57716
57686
|
}),
|
|
57717
|
-
/* @__PURE__ */
|
|
57687
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57718
57688
|
children: attribution
|
|
57719
57689
|
})
|
|
57720
57690
|
]
|
|
@@ -57733,32 +57703,32 @@ function FoundationSupportSection({
|
|
|
57733
57703
|
cap,
|
|
57734
57704
|
options: options3
|
|
57735
57705
|
}) {
|
|
57736
|
-
return /* @__PURE__ */
|
|
57706
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57737
57707
|
id: "support",
|
|
57738
57708
|
className: "chapter",
|
|
57739
57709
|
children: [
|
|
57740
|
-
/* @__PURE__ */
|
|
57710
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57741
57711
|
className: "eyebrow",
|
|
57742
57712
|
children: cap
|
|
57743
57713
|
}),
|
|
57744
|
-
/* @__PURE__ */
|
|
57714
|
+
/* @__PURE__ */ jsx61("h2", {
|
|
57745
57715
|
children: "Two ways the work gets funded."
|
|
57746
57716
|
}),
|
|
57747
|
-
/* @__PURE__ */
|
|
57717
|
+
/* @__PURE__ */ jsx61("dl", {
|
|
57748
57718
|
className: "parts",
|
|
57749
|
-
children: options3.map((option) => /* @__PURE__ */
|
|
57719
|
+
children: options3.map((option) => /* @__PURE__ */ jsxs46("div", {
|
|
57750
57720
|
children: [
|
|
57751
|
-
/* @__PURE__ */
|
|
57721
|
+
/* @__PURE__ */ jsxs46("dt", {
|
|
57752
57722
|
children: [
|
|
57753
57723
|
option.kicker,
|
|
57754
57724
|
" ",
|
|
57755
|
-
/* @__PURE__ */
|
|
57725
|
+
/* @__PURE__ */ jsx61("span", {
|
|
57756
57726
|
className: "status",
|
|
57757
57727
|
children: option.amount
|
|
57758
57728
|
})
|
|
57759
57729
|
]
|
|
57760
57730
|
}),
|
|
57761
|
-
/* @__PURE__ */
|
|
57731
|
+
/* @__PURE__ */ jsx61("dd", {
|
|
57762
57732
|
children: option.text
|
|
57763
57733
|
})
|
|
57764
57734
|
]
|
|
@@ -57775,18 +57745,18 @@ function FoundationFollowSection({
|
|
|
57775
57745
|
claim,
|
|
57776
57746
|
links
|
|
57777
57747
|
}) {
|
|
57778
|
-
return /* @__PURE__ */
|
|
57748
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57779
57749
|
id: "follow",
|
|
57780
57750
|
className: "chapter",
|
|
57781
57751
|
"data-title": "Follow the research",
|
|
57782
57752
|
children: [
|
|
57783
|
-
/* @__PURE__ */
|
|
57753
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57784
57754
|
className: "pull",
|
|
57785
57755
|
children: renderHighlightedText(claim, "not-italic font-medium text-theme")
|
|
57786
57756
|
}),
|
|
57787
|
-
/* @__PURE__ */
|
|
57757
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57788
57758
|
className: "follow",
|
|
57789
|
-
children: links.map((link2) => /* @__PURE__ */
|
|
57759
|
+
children: links.map((link2) => /* @__PURE__ */ jsx61("a", {
|
|
57790
57760
|
href: link2.href,
|
|
57791
57761
|
children: link2.label
|
|
57792
57762
|
}, link2.href + link2.label))
|
|
@@ -57836,7 +57806,6 @@ var aiRoutes = [
|
|
|
57836
57806
|
{ id: "turn", template: "living-memory:turn" },
|
|
57837
57807
|
{ id: "growth", template: "living-memory:growth" },
|
|
57838
57808
|
{ id: "arc", template: "living-memory:arc" },
|
|
57839
|
-
{ id: "asked", template: "rizom:asked", dataQuery: {} },
|
|
57840
57809
|
{ id: "doors", template: "living-memory:doors" }
|
|
57841
57810
|
]
|
|
57842
57811
|
},
|
|
@@ -57860,12 +57829,13 @@ var aiRoutes = [
|
|
|
57860
57829
|
{
|
|
57861
57830
|
id: "public-ask",
|
|
57862
57831
|
path: "/ask",
|
|
57863
|
-
title: "Ask
|
|
57832
|
+
title: "Ask the network",
|
|
57864
57833
|
description: "Ask a question of Rizom's public Brain knowledge",
|
|
57865
57834
|
layout: "default",
|
|
57866
57835
|
navigation: { show: false },
|
|
57867
57836
|
sections: [
|
|
57868
|
-
{ id: "
|
|
57837
|
+
{ id: "ask", template: "rizom:ask-room", dataQuery: {} },
|
|
57838
|
+
{ id: "asked", template: "rizom:asked", dataQuery: {} }
|
|
57869
57839
|
]
|
|
57870
57840
|
},
|
|
57871
57841
|
{
|
|
@@ -57912,48 +57882,6 @@ var aiRoutes = [
|
|
|
57912
57882
|
}
|
|
57913
57883
|
];
|
|
57914
57884
|
|
|
57915
|
-
// src/public-ask.tsx
|
|
57916
|
-
import { jsx as jsx61, jsxs as jsxs46, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
57917
|
-
function PublicAsk() {
|
|
57918
|
-
return /* @__PURE__ */ jsxs46(Fragment27, {
|
|
57919
|
-
children: [
|
|
57920
|
-
/* @__PURE__ */ jsx61("link", {
|
|
57921
|
-
rel: "stylesheet",
|
|
57922
|
-
href: "/ask/assets/ask.css"
|
|
57923
|
-
}),
|
|
57924
|
-
/* @__PURE__ */ jsx61("link", {
|
|
57925
|
-
rel: "stylesheet",
|
|
57926
|
-
href: "/ask/assets/page.css"
|
|
57927
|
-
}),
|
|
57928
|
-
/* @__PURE__ */ jsxs46("div", {
|
|
57929
|
-
"data-web-chat-root": "",
|
|
57930
|
-
"data-guest-chat": "",
|
|
57931
|
-
"data-guest-name": "Rizom AI",
|
|
57932
|
-
"data-guest-label": "Rizom AI",
|
|
57933
|
-
"data-chat-api-path": "/api/chat/guest",
|
|
57934
|
-
children: [
|
|
57935
|
-
/* @__PURE__ */ jsx61("p", {
|
|
57936
|
-
children: "Connecting to public Ask\u2026"
|
|
57937
|
-
}),
|
|
57938
|
-
/* @__PURE__ */ jsx61("noscript", {
|
|
57939
|
-
children: "JavaScript is needed to ask a question. No question has been sent."
|
|
57940
|
-
})
|
|
57941
|
-
]
|
|
57942
|
-
}),
|
|
57943
|
-
/* @__PURE__ */ jsx61("script", {
|
|
57944
|
-
type: "module",
|
|
57945
|
-
src: "/ask/assets/ask.js"
|
|
57946
|
-
})
|
|
57947
|
-
]
|
|
57948
|
-
});
|
|
57949
|
-
}
|
|
57950
|
-
var publicAskSections = sectionGroup("public-ask", {
|
|
57951
|
-
conversation: defineSection(exports_external.object({}), PublicAsk, {
|
|
57952
|
-
title: "Public Ask",
|
|
57953
|
-
description: "The shared guest conversation inside the site's own layout"
|
|
57954
|
-
})
|
|
57955
|
-
});
|
|
57956
|
-
|
|
57957
57885
|
// src/site.ts
|
|
57958
57886
|
var rizomAiSite = createRizomSite({
|
|
57959
57887
|
packageName: "@rizom/site-rizom-ai",
|
|
@@ -57964,7 +57892,8 @@ var rizomAiSite = createRizomSite({
|
|
|
57964
57892
|
templates: {
|
|
57965
57893
|
opening: openingTemplate,
|
|
57966
57894
|
writing: writingTemplate,
|
|
57967
|
-
asked: askedTemplate
|
|
57895
|
+
asked: askedTemplate,
|
|
57896
|
+
"ask-room": askRoomTemplate
|
|
57968
57897
|
},
|
|
57969
57898
|
dataSourceFactories: [
|
|
57970
57899
|
openingDataSource,
|
|
@@ -57975,7 +57904,6 @@ var rizomAiSite = createRizomSite({
|
|
|
57975
57904
|
sections: [
|
|
57976
57905
|
livingMemorySections,
|
|
57977
57906
|
brainSections,
|
|
57978
|
-
publicAskSections,
|
|
57979
57907
|
workSections,
|
|
57980
57908
|
foundationSections
|
|
57981
57909
|
],
|
|
@@ -58015,4 +57943,4 @@ export {
|
|
|
58015
57943
|
workSections
|
|
58016
57944
|
};
|
|
58017
57945
|
|
|
58018
|
-
//# debugId=
|
|
57946
|
+
//# debugId=E05C3A61E545CF7C64756E2164756E21
|