@rizom/site-rizom-ai 0.2.0-alpha.267 → 0.2.0-alpha.268

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 CHANGED
@@ -38319,6 +38319,11 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
38319
38319
  min-height: calc(100svh - var(--bar-height, 4.6rem));
38320
38320
  max-width: var(--words);
38321
38321
  }
38322
+ /* The opening (and the Ask room's first chapter, which follows its drawing in
38323
+ the column) is the words' width, so the drawing has its room beside it. */
38324
+ .chapter--opening {
38325
+ max-width: var(--words);
38326
+ }
38322
38327
  /* A chapter's eyebrow is the site's label: mono, small, tracked, in the room's accent. */
38323
38328
  .chapter .eyebrow {
38324
38329
  margin: 0 0 1.4rem;
@@ -39089,6 +39094,79 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
39089
39094
  translate: 0 -50%;
39090
39095
  }
39091
39096
  }
39097
+ /* The opening's organism art: one brain, a team and a network in the rooms'
39098
+ lights, joined by one thread (see ./story/organism-art). A wide picture, it
39099
+ runs the full width of the opening under the words and the door, and
39100
+ leaves with the opening. */
39101
+ .opening__art {
39102
+ width: calc(min(100cqi, 80rem) - 2 * clamp(1rem, 5vw, 5rem));
39103
+ max-width: none;
39104
+ margin-top: 3rem;
39105
+ }
39106
+ .opening__art .organism-defs {
39107
+ position: absolute;
39108
+ width: 0;
39109
+ height: 0;
39110
+ overflow: hidden;
39111
+ }
39112
+ .opening__art > .organism-map {
39113
+ display: block;
39114
+ width: 100%;
39115
+ height: auto;
39116
+ overflow: visible;
39117
+ }
39118
+ .opening__art .organism-ray {
39119
+ fill: none;
39120
+ stroke: url(#org-thread);
39121
+ stroke-width: 1.5;
39122
+ stroke-linecap: round;
39123
+ }
39124
+ .opening__art .organism-ray-soft {
39125
+ fill: none;
39126
+ stroke: url(#org-thread);
39127
+ stroke-width: 6;
39128
+ opacity: 0.16;
39129
+ filter: url(#org-blur);
39130
+ }
39131
+ .opening__art .organism-ray-fine {
39132
+ stroke-width: 0.8;
39133
+ opacity: 0.45;
39134
+ }
39135
+ .opening__art .organism-wire {
39136
+ fill: none;
39137
+ stroke: currentColor;
39138
+ stroke-width: 1.45;
39139
+ stroke-linecap: round;
39140
+ stroke-linejoin: round;
39141
+ opacity: 0.7;
39142
+ }
39143
+ .opening__art .organism-wire-faint {
39144
+ stroke-width: 0.8;
39145
+ opacity: 0.28;
39146
+ }
39147
+ .opening__art .organism-peer {
39148
+ fill: var(--color-bg);
39149
+ stroke: currentColor;
39150
+ stroke-width: 1.4;
39151
+ }
39152
+ .opening__art .organism-hot {
39153
+ fill: var(--color-text);
39154
+ }
39155
+ .opening__art .organism-halo {
39156
+ fill: none;
39157
+ stroke: currentColor;
39158
+ stroke-width: 0.7;
39159
+ opacity: 0.38;
39160
+ }
39161
+ .opening__art .organism-brain {
39162
+ color: var(--palette-brass);
39163
+ }
39164
+ .opening__art .organism-team {
39165
+ color: var(--palette-ruby-soft);
39166
+ }
39167
+ .opening__art .organism-network {
39168
+ color: var(--palette-moss);
39169
+ }
39092
39170
  .net-svg {
39093
39171
  overflow: visible;
39094
39172
  }
@@ -39563,6 +39641,14 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
39563
39641
  --words: 34rem;
39564
39642
  --strip-h: 34svh;
39565
39643
  }
39644
+ /* The room page has no figure to hold the strip's height in the flow. */
39645
+ .story--room .chapters {
39646
+ padding-top: var(--strip-h);
39647
+ }
39648
+ .opening__art {
39649
+ width: 100%;
39650
+ margin-top: 2rem;
39651
+ }
39566
39652
  .chapter.chapter--opening {
39567
39653
  min-height: auto;
39568
39654
  justify-content: flex-start;
@@ -55527,7 +55613,7 @@ var growthSchema = exports_external.object({
55527
55613
  var ROOMS = {
55528
55614
  You: "/brain",
55529
55615
  Team: "/work",
55530
- Network: "#hero"
55616
+ Network: "/ask"
55531
55617
  };
55532
55618
  function GrowthSection({
55533
55619
  cap,
@@ -56482,42 +56568,441 @@ var BuildResultSchema = exports_external.object({
56482
56568
  errors: exports_external.array(exports_external.string()).optional(),
56483
56569
  warnings: exports_external.array(exports_external.string()).optional()
56484
56570
  });
56485
- // src/story/network.ts
56486
- var DISC = { x: 50, y: 50, radius: 44 };
56487
- var CHARACTER = 1.45;
56488
- var GAP = 3;
56489
- var r12 = (v2) => Math.round(v2 * 10) / 10;
56490
- function placeNetwork(map6) {
56491
- const shown = map6.nodes.filter((node2) => node2.status !== "archived");
56492
- const max = proximityMaxDistance({ ...map6, nodes: shown });
56493
- const placed2 = shown.map((node2) => {
56494
- const point3 = proximityPoint(node2.distance, node2.bearing, max, DISC);
56495
- return {
56496
- id: node2.id,
56497
- name: node2.name,
56498
- x: r12(point3.x),
56499
- y: r12(point3.y),
56500
- reach: proximityReach(node2.distance, max)
56501
- };
56571
+ // src/story/organism-art.tsx
56572
+ import { jsx as jsx56, jsxs as jsxs39, Fragment as Fragment21 } from "react/jsx-runtime";
56573
+ function OrganismDefs() {
56574
+ return /* @__PURE__ */ jsx56("svg", {
56575
+ className: "organism-defs",
56576
+ "aria-hidden": "true",
56577
+ xmlns: "http://www.w3.org/2000/svg",
56578
+ children: /* @__PURE__ */ jsxs39("defs", {
56579
+ children: [
56580
+ /* @__PURE__ */ jsx56("filter", {
56581
+ id: "org-blur",
56582
+ x: "-50%",
56583
+ y: "-50%",
56584
+ width: "200%",
56585
+ height: "200%",
56586
+ children: /* @__PURE__ */ jsx56("feGaussianBlur", {
56587
+ stdDeviation: "3"
56588
+ })
56589
+ }),
56590
+ /* @__PURE__ */ jsxs39("radialGradient", {
56591
+ id: "org-brain-light",
56592
+ children: [
56593
+ /* @__PURE__ */ jsx56("stop", {
56594
+ stopColor: "var(--palette-brass)",
56595
+ stopOpacity: ".36"
56596
+ }),
56597
+ /* @__PURE__ */ jsx56("stop", {
56598
+ offset: ".3",
56599
+ stopColor: "var(--palette-brass)",
56600
+ stopOpacity: ".13"
56601
+ }),
56602
+ /* @__PURE__ */ jsx56("stop", {
56603
+ offset: "1",
56604
+ stopColor: "var(--palette-brass)",
56605
+ stopOpacity: "0"
56606
+ })
56607
+ ]
56608
+ }),
56609
+ /* @__PURE__ */ jsxs39("radialGradient", {
56610
+ id: "org-team-light",
56611
+ children: [
56612
+ /* @__PURE__ */ jsx56("stop", {
56613
+ stopColor: "var(--palette-ruby-soft)",
56614
+ stopOpacity: ".38"
56615
+ }),
56616
+ /* @__PURE__ */ jsx56("stop", {
56617
+ offset: ".3",
56618
+ stopColor: "var(--palette-ruby-soft)",
56619
+ stopOpacity: ".12"
56620
+ }),
56621
+ /* @__PURE__ */ jsx56("stop", {
56622
+ offset: "1",
56623
+ stopColor: "var(--palette-ruby-soft)",
56624
+ stopOpacity: "0"
56625
+ })
56626
+ ]
56627
+ }),
56628
+ /* @__PURE__ */ jsxs39("radialGradient", {
56629
+ id: "org-net-light",
56630
+ children: [
56631
+ /* @__PURE__ */ jsx56("stop", {
56632
+ stopColor: "var(--palette-moss)",
56633
+ stopOpacity: ".4"
56634
+ }),
56635
+ /* @__PURE__ */ jsx56("stop", {
56636
+ offset: ".3",
56637
+ stopColor: "var(--palette-moss)",
56638
+ stopOpacity: ".13"
56639
+ }),
56640
+ /* @__PURE__ */ jsx56("stop", {
56641
+ offset: "1",
56642
+ stopColor: "var(--palette-moss)",
56643
+ stopOpacity: "0"
56644
+ })
56645
+ ]
56646
+ }),
56647
+ /* @__PURE__ */ jsxs39("linearGradient", {
56648
+ id: "org-thread",
56649
+ gradientUnits: "userSpaceOnUse",
56650
+ x1: "180",
56651
+ y1: "0",
56652
+ x2: "940",
56653
+ y2: "0",
56654
+ children: [
56655
+ /* @__PURE__ */ jsx56("stop", {
56656
+ stopColor: "var(--palette-brass)",
56657
+ stopOpacity: ".85"
56658
+ }),
56659
+ /* @__PURE__ */ jsx56("stop", {
56660
+ offset: ".5",
56661
+ stopColor: "var(--palette-ruby-soft)",
56662
+ stopOpacity: ".6"
56663
+ }),
56664
+ /* @__PURE__ */ jsx56("stop", {
56665
+ offset: "1",
56666
+ stopColor: "var(--palette-moss)",
56667
+ stopOpacity: ".65"
56668
+ })
56669
+ ]
56670
+ }),
56671
+ /* @__PURE__ */ jsxs39("symbol", {
56672
+ id: "org-brain",
56673
+ viewBox: "-90 -90 180 180",
56674
+ overflow: "visible",
56675
+ children: [
56676
+ /* @__PURE__ */ jsx56("circle", {
56677
+ r: "85",
56678
+ fill: "url(#org-brain-light)"
56679
+ }),
56680
+ /* @__PURE__ */ jsx56("circle", {
56681
+ r: "38",
56682
+ fill: "url(#org-brain-light)"
56683
+ }),
56684
+ /* @__PURE__ */ jsx56("circle", {
56685
+ r: "23",
56686
+ className: "organism-halo"
56687
+ }),
56688
+ /* @__PURE__ */ jsx56("circle", {
56689
+ r: "10",
56690
+ fill: "currentColor",
56691
+ opacity: ".18"
56692
+ }),
56693
+ /* @__PURE__ */ jsx56("circle", {
56694
+ r: "6.5",
56695
+ fill: "currentColor"
56696
+ }),
56697
+ /* @__PURE__ */ jsx56("circle", {
56698
+ r: "3.6",
56699
+ className: "organism-hot"
56700
+ })
56701
+ ]
56702
+ }),
56703
+ /* @__PURE__ */ jsxs39("symbol", {
56704
+ id: "org-team",
56705
+ viewBox: "-90 -90 180 180",
56706
+ overflow: "visible",
56707
+ children: [
56708
+ /* @__PURE__ */ jsx56("circle", {
56709
+ cx: "0",
56710
+ cy: "-52",
56711
+ r: "73",
56712
+ fill: "url(#org-team-light)"
56713
+ }),
56714
+ /* @__PURE__ */ jsx56("path", {
56715
+ d: "M0 -52 L48 30 L-48 30 Z",
56716
+ fill: "color-mix(in srgb, var(--palette-ruby-soft) 3%, transparent)"
56717
+ }),
56718
+ /* @__PURE__ */ jsx56("path", {
56719
+ className: "organism-wire",
56720
+ d: "M-48 30 L0 -52 L48 30 Z"
56721
+ }),
56722
+ /* @__PURE__ */ jsx56("path", {
56723
+ className: "organism-wire",
56724
+ d: "M-48 30 L0 -52 L48 30",
56725
+ filter: "url(#org-blur)",
56726
+ opacity: ".4"
56727
+ }),
56728
+ /* @__PURE__ */ jsx56("circle", {
56729
+ cx: "-48",
56730
+ cy: "30",
56731
+ r: "20",
56732
+ fill: "url(#org-team-light)"
56733
+ }),
56734
+ /* @__PURE__ */ jsx56("circle", {
56735
+ cx: "48",
56736
+ cy: "30",
56737
+ r: "20",
56738
+ fill: "url(#org-team-light)"
56739
+ }),
56740
+ /* @__PURE__ */ jsx56("circle", {
56741
+ cx: "-48",
56742
+ cy: "30",
56743
+ r: "3.7",
56744
+ className: "organism-peer"
56745
+ }),
56746
+ /* @__PURE__ */ jsx56("circle", {
56747
+ cx: "48",
56748
+ cy: "30",
56749
+ r: "3.7",
56750
+ className: "organism-peer"
56751
+ }),
56752
+ /* @__PURE__ */ jsx56("circle", {
56753
+ cx: "0",
56754
+ cy: "-52",
56755
+ r: "16",
56756
+ className: "organism-halo"
56757
+ }),
56758
+ /* @__PURE__ */ jsx56("circle", {
56759
+ cx: "0",
56760
+ cy: "-52",
56761
+ r: "23",
56762
+ fill: "url(#org-team-light)"
56763
+ }),
56764
+ /* @__PURE__ */ jsx56("circle", {
56765
+ cx: "0",
56766
+ cy: "-52",
56767
+ r: "4.5",
56768
+ fill: "currentColor"
56769
+ }),
56770
+ /* @__PURE__ */ jsx56("circle", {
56771
+ cx: "0",
56772
+ cy: "-52",
56773
+ r: "2.4",
56774
+ className: "organism-hot"
56775
+ })
56776
+ ]
56777
+ }),
56778
+ /* @__PURE__ */ jsxs39("symbol", {
56779
+ id: "org-network",
56780
+ viewBox: "-90 -90 180 180",
56781
+ overflow: "visible",
56782
+ children: [
56783
+ /* @__PURE__ */ jsx56("circle", {
56784
+ r: "89",
56785
+ fill: "url(#org-net-light)",
56786
+ opacity: ".35"
56787
+ }),
56788
+ /* @__PURE__ */ jsx56("path", {
56789
+ className: "organism-wire organism-wire-faint",
56790
+ d: "M-33 12 Q-2 -14 22 -8 M-33 12 Q-13 42 9 36 M22 -8 Q51 3 65 24 M-45 -30 Q-9 -63 32 -58 M-70 -8 L-70 64 M67 -24 L78 3 M-45 -30 L-60 -68"
56791
+ }),
56792
+ /* @__PURE__ */ jsx56("path", {
56793
+ className: "organism-wire",
56794
+ d: "M-45 -30 L-70 -8 L-33 12 Z M32 -58 L67 -24 L22 -8 Z M9 36 L48 68 L65 24 Z"
56795
+ }),
56796
+ /* @__PURE__ */ jsx56("path", {
56797
+ className: "organism-wire",
56798
+ d: "M-33 12 Q-2 -14 22 -8 M22 -8 Q51 3 65 24",
56799
+ filter: "url(#org-blur)"
56800
+ }),
56801
+ /* @__PURE__ */ jsx56("circle", {
56802
+ cx: "-45",
56803
+ cy: "-30",
56804
+ r: "32",
56805
+ fill: "url(#org-net-light)"
56806
+ }),
56807
+ /* @__PURE__ */ jsx56("circle", {
56808
+ cx: "32",
56809
+ cy: "-58",
56810
+ r: "27",
56811
+ fill: "url(#org-net-light)"
56812
+ }),
56813
+ /* @__PURE__ */ jsx56("circle", {
56814
+ cx: "9",
56815
+ cy: "36",
56816
+ r: "29",
56817
+ fill: "url(#org-net-light)"
56818
+ }),
56819
+ /* @__PURE__ */ jsx56("circle", {
56820
+ cx: "-45",
56821
+ cy: "-30",
56822
+ r: "4",
56823
+ fill: "currentColor"
56824
+ }),
56825
+ /* @__PURE__ */ jsx56("circle", {
56826
+ cx: "-45",
56827
+ cy: "-30",
56828
+ r: "2",
56829
+ className: "organism-hot"
56830
+ }),
56831
+ /* @__PURE__ */ jsx56("circle", {
56832
+ cx: "32",
56833
+ cy: "-58",
56834
+ r: "3.8",
56835
+ fill: "currentColor"
56836
+ }),
56837
+ /* @__PURE__ */ jsx56("circle", {
56838
+ cx: "32",
56839
+ cy: "-58",
56840
+ r: "1.8",
56841
+ className: "organism-hot"
56842
+ }),
56843
+ /* @__PURE__ */ jsx56("circle", {
56844
+ cx: "9",
56845
+ cy: "36",
56846
+ r: "3.8",
56847
+ fill: "currentColor"
56848
+ }),
56849
+ /* @__PURE__ */ jsx56("circle", {
56850
+ cx: "9",
56851
+ cy: "36",
56852
+ r: "1.8",
56853
+ className: "organism-hot"
56854
+ }),
56855
+ /* @__PURE__ */ jsx56("circle", {
56856
+ cx: "-70",
56857
+ cy: "-8",
56858
+ r: "2.8",
56859
+ className: "organism-peer"
56860
+ }),
56861
+ /* @__PURE__ */ jsx56("circle", {
56862
+ cx: "-33",
56863
+ cy: "12",
56864
+ r: "3",
56865
+ className: "organism-peer"
56866
+ }),
56867
+ /* @__PURE__ */ jsx56("circle", {
56868
+ cx: "67",
56869
+ cy: "-24",
56870
+ r: "3",
56871
+ className: "organism-peer"
56872
+ }),
56873
+ /* @__PURE__ */ jsx56("circle", {
56874
+ cx: "22",
56875
+ cy: "-8",
56876
+ r: "2.8",
56877
+ className: "organism-peer"
56878
+ }),
56879
+ /* @__PURE__ */ jsx56("circle", {
56880
+ cx: "48",
56881
+ cy: "68",
56882
+ r: "3",
56883
+ className: "organism-peer"
56884
+ }),
56885
+ /* @__PURE__ */ jsx56("circle", {
56886
+ cx: "65",
56887
+ cy: "24",
56888
+ r: "2.8",
56889
+ className: "organism-peer"
56890
+ }),
56891
+ /* @__PURE__ */ jsxs39("g", {
56892
+ opacity: ".4",
56893
+ children: [
56894
+ /* @__PURE__ */ jsx56("circle", {
56895
+ cx: "-70",
56896
+ cy: "64",
56897
+ r: "2.6",
56898
+ className: "organism-peer"
56899
+ }),
56900
+ /* @__PURE__ */ jsx56("circle", {
56901
+ cx: "78",
56902
+ cy: "3",
56903
+ r: "2.6",
56904
+ className: "organism-peer"
56905
+ }),
56906
+ /* @__PURE__ */ jsx56("circle", {
56907
+ cx: "-60",
56908
+ cy: "-68",
56909
+ r: "2.6",
56910
+ className: "organism-peer"
56911
+ })
56912
+ ]
56913
+ })
56914
+ ]
56915
+ })
56916
+ ]
56917
+ })
56502
56918
  });
56503
- const span = (name) => name.length * CHARACTER + GAP;
56504
- const room2 = (brain, dir) => (dir < 0 ? brain.x - GAP : 100 - brain.x - GAP) >= span(brain.name);
56505
- const blocked = (brain, dir) => placed2.some((other) => other !== brain && Math.abs(other.y - brain.y) < 4 && (dir < 0 ? other.x < brain.x && brain.x - other.x < span(brain.name) : other.x > brain.x && other.x - brain.x < span(brain.name)));
56506
- const brains = placed2.map((brain) => {
56507
- const sides = brain.x < DISC.x ? [-1, 1] : [1, -1];
56508
- const dir = sides.find((candidate) => room2(brain, candidate) && !blocked(brain, candidate));
56509
- return {
56510
- ...brain,
56511
- side: dir === undefined ? "above" : dir < 0 ? "left" : "right"
56512
- };
56919
+ }
56920
+ function OrganismMap() {
56921
+ return /* @__PURE__ */ jsxs39("svg", {
56922
+ className: "organism-map",
56923
+ viewBox: "0 0 1080 280",
56924
+ role: "img",
56925
+ "aria-labelledby": "organism-map-title organism-map-desc",
56926
+ children: [
56927
+ /* @__PURE__ */ jsx56("title", {
56928
+ id: "organism-map-title",
56929
+ children: "One brain becomes a team, then a network"
56930
+ }),
56931
+ /* @__PURE__ */ jsx56("desc", {
56932
+ id: "organism-map-desc",
56933
+ children: "A brass light branches into a ruby triangle of people, then into three connected moss-green clusters. The same triangular form grows from the team's memory into a wider network."
56934
+ }),
56935
+ /* @__PURE__ */ jsx56("path", {
56936
+ className: "organism-ray-soft",
56937
+ d: "M180 142 C302 81 403 54 540 90 M588 172 C702 165 754 88 855 112"
56938
+ }),
56939
+ /* @__PURE__ */ jsx56("path", {
56940
+ className: "organism-ray",
56941
+ d: "M180 142 C302 81 403 54 540 90 M588 172 C702 165 754 88 855 112"
56942
+ }),
56943
+ /* @__PURE__ */ jsx56("path", {
56944
+ className: "organism-ray organism-ray-fine",
56945
+ d: "M180 142 C284 177 391 208 492 172 M540 90 C665 32 793 29 932 84 M492 172 C621 240 791 239 909 178"
56946
+ }),
56947
+ /* @__PURE__ */ jsx56("circle", {
56948
+ cx: "180",
56949
+ cy: "142",
56950
+ r: "126",
56951
+ fill: "url(#org-brain-light)",
56952
+ opacity: ".35"
56953
+ }),
56954
+ /* @__PURE__ */ jsx56("circle", {
56955
+ cx: "540",
56956
+ cy: "142",
56957
+ r: "112",
56958
+ fill: "url(#org-team-light)",
56959
+ opacity: ".24"
56960
+ }),
56961
+ /* @__PURE__ */ jsx56("circle", {
56962
+ cx: "900",
56963
+ cy: "142",
56964
+ r: "126",
56965
+ fill: "url(#org-net-light)",
56966
+ opacity: ".25"
56967
+ }),
56968
+ /* @__PURE__ */ jsx56("use", {
56969
+ href: "#org-brain",
56970
+ className: "organism-brain",
56971
+ x: "90",
56972
+ y: "52",
56973
+ width: "180",
56974
+ height: "180"
56975
+ }),
56976
+ /* @__PURE__ */ jsx56("use", {
56977
+ href: "#org-team",
56978
+ className: "organism-team",
56979
+ x: "450",
56980
+ y: "52",
56981
+ width: "180",
56982
+ height: "180"
56983
+ }),
56984
+ /* @__PURE__ */ jsx56("use", {
56985
+ href: "#org-network",
56986
+ className: "organism-network",
56987
+ x: "810",
56988
+ y: "52",
56989
+ width: "180",
56990
+ height: "180"
56991
+ })
56992
+ ]
56993
+ });
56994
+ }
56995
+ function OrganismArt() {
56996
+ return /* @__PURE__ */ jsxs39(Fragment21, {
56997
+ children: [
56998
+ /* @__PURE__ */ jsx56(OrganismDefs, {}),
56999
+ /* @__PURE__ */ jsx56(OrganismMap, {})
57000
+ ]
56513
57001
  });
56514
- const ids3 = new Set(brains.map((brain) => brain.id));
56515
- const kin = map6.clusters.flatMap((cluster) => cluster.links.filter((link2) => ids3.has(link2.sourceId) && ids3.has(link2.targetId)).map((link2) => ({ from: link2.sourceId, to: link2.targetId })));
56516
- return { brains, kin };
56517
57002
  }
56518
57003
 
56519
57004
  // src/opening.tsx
56520
- import { jsx as jsx56, jsxs as jsxs39, Fragment as Fragment21 } from "react/jsx-runtime";
57005
+ import { jsx as jsx57, jsxs as jsxs40, Fragment as Fragment23 } from "react/jsx-runtime";
56521
57006
  var openingSchema = proximityMapDataSchema.extend({
56522
57007
  topics: exports_external.array(exports_external.string()).default([]),
56523
57008
  askBox: exports_external.boolean().default(false),
@@ -56537,16 +57022,16 @@ function NetworkLayer({
56537
57022
  if (brains.length === 0)
56538
57023
  return null;
56539
57024
  const byId = new Map(brains.map((brain) => [brain.id, brain]));
56540
- return /* @__PURE__ */ jsxs39("div", {
57025
+ return /* @__PURE__ */ jsxs40("div", {
56541
57026
  className: "net-layer",
56542
57027
  "aria-hidden": "true",
56543
57028
  ...lendable ? { [ASK_DRAWING_ATTRIBUTE]: "" } : {},
56544
57029
  children: [
56545
- /* @__PURE__ */ jsxs39("svg", {
57030
+ /* @__PURE__ */ jsxs40("svg", {
56546
57031
  className: "net-svg",
56547
57032
  viewBox: "0 0 100 100",
56548
57033
  children: [
56549
- [14.7, 29.3, 44].map((r) => /* @__PURE__ */ jsx56("circle", {
57034
+ [14.7, 29.3, 44].map((r) => /* @__PURE__ */ jsx57("circle", {
56550
57035
  className: "net-ring",
56551
57036
  cx: "50",
56552
57037
  cy: "50",
@@ -56555,7 +57040,7 @@ function NetworkLayer({
56555
57040
  kin.map((link2) => {
56556
57041
  const from = byId.get(link2.from);
56557
57042
  const to = byId.get(link2.to);
56558
- return from && to ? /* @__PURE__ */ jsx56("line", {
57043
+ return from && to ? /* @__PURE__ */ jsx57("line", {
56559
57044
  className: "net-kin",
56560
57045
  x1: from.x,
56561
57046
  y1: from.y,
@@ -56563,7 +57048,7 @@ function NetworkLayer({
56563
57048
  y2: to.y
56564
57049
  }, `${link2.from}-${link2.to}`) : null;
56565
57050
  }),
56566
- brains.map((brain) => /* @__PURE__ */ jsx56("line", {
57051
+ brains.map((brain) => /* @__PURE__ */ jsx57("line", {
56567
57052
  className: "net-thread",
56568
57053
  "data-brain": brain.id,
56569
57054
  x1: "50",
@@ -56571,17 +57056,17 @@ function NetworkLayer({
56571
57056
  x2: brain.x,
56572
57057
  y2: brain.y
56573
57058
  }, `thread-${brain.id}`)),
56574
- /* @__PURE__ */ jsx56("circle", {
57059
+ /* @__PURE__ */ jsx57("circle", {
56575
57060
  className: "net-pulse",
56576
57061
  cx: "50",
56577
57062
  cy: "50",
56578
57063
  r: "46"
56579
57064
  }),
56580
- brains.map((brain) => /* @__PURE__ */ jsxs39("g", {
57065
+ brains.map((brain) => /* @__PURE__ */ jsxs40("g", {
56581
57066
  className: "net-reply",
56582
57067
  "data-brain": brain.id,
56583
57068
  children: [
56584
- /* @__PURE__ */ jsx56("circle", {
57069
+ /* @__PURE__ */ jsx57("circle", {
56585
57070
  className: "net-echo",
56586
57071
  cx: brain.x,
56587
57072
  cy: brain.y,
@@ -56591,7 +57076,7 @@ function NetworkLayer({
56591
57076
  animationDelay: replyDelay(brain.reach)
56592
57077
  }
56593
57078
  }),
56594
- /* @__PURE__ */ jsx56("line", {
57079
+ /* @__PURE__ */ jsx57("line", {
56595
57080
  className: "net-spark",
56596
57081
  pathLength: 1,
56597
57082
  x1: "50",
@@ -56602,19 +57087,19 @@ function NetworkLayer({
56602
57087
  })
56603
57088
  ]
56604
57089
  }, `reply-${brain.id}`)),
56605
- /* @__PURE__ */ jsx56("circle", {
57090
+ /* @__PURE__ */ jsx57("circle", {
56606
57091
  className: "net-corona",
56607
57092
  cx: "50",
56608
57093
  cy: "50",
56609
57094
  r: "5.5"
56610
57095
  }),
56611
- /* @__PURE__ */ jsx56("circle", {
57096
+ /* @__PURE__ */ jsx57("circle", {
56612
57097
  className: "net-corona net-corona--outer",
56613
57098
  cx: "50",
56614
57099
  cy: "50",
56615
57100
  r: "8.5"
56616
57101
  }),
56617
- /* @__PURE__ */ jsx56("circle", {
57102
+ /* @__PURE__ */ jsx57("circle", {
56618
57103
  className: "net-lantern",
56619
57104
  cx: "50",
56620
57105
  cy: "50",
@@ -56622,25 +57107,25 @@ function NetworkLayer({
56622
57107
  })
56623
57108
  ]
56624
57109
  }),
56625
- /* @__PURE__ */ jsx56("ul", {
57110
+ /* @__PURE__ */ jsx57("ul", {
56626
57111
  className: "net-marks",
56627
- children: brains.map((brain) => /* @__PURE__ */ jsx56("li", {
57112
+ children: brains.map((brain) => /* @__PURE__ */ jsx57("li", {
56628
57113
  className: "net-mark",
56629
57114
  "data-brain": brain.id,
56630
57115
  ...{ [ASK_MARK_ATTRIBUTE]: brain.id },
56631
57116
  style: { left: `${brain.x}%`, top: `${brain.y}%` },
56632
- children: /* @__PURE__ */ jsx56("a", {
57117
+ children: /* @__PURE__ */ jsx57("a", {
56633
57118
  href: `/agents/${brain.id}`,
56634
57119
  "aria-label": brain.name,
56635
- children: /* @__PURE__ */ jsx56("i", {
57120
+ children: /* @__PURE__ */ jsx57("i", {
56636
57121
  style: { animationDelay: replyDelay(brain.reach) }
56637
57122
  })
56638
57123
  })
56639
57124
  }, brain.id))
56640
57125
  }),
56641
- /* @__PURE__ */ jsx56("ol", {
57126
+ /* @__PURE__ */ jsx57("ol", {
56642
57127
  className: "net-names",
56643
- children: brains.map((brain) => /* @__PURE__ */ jsx56("li", {
57128
+ children: brains.map((brain) => /* @__PURE__ */ jsx57("li", {
56644
57129
  className: `net-name net-name--${brain.side}`,
56645
57130
  "data-brain": brain.id,
56646
57131
  style: { left: `${brain.x}%`, top: `${brain.y}%` },
@@ -56653,39 +57138,41 @@ function NetworkLayer({
56653
57138
  function Opening(data) {
56654
57139
  const headingLead = data.headingLead ?? DEFAULT_COPY.headingLead;
56655
57140
  const lede = data.lede ?? DEFAULT_COPY.lede;
56656
- return /* @__PURE__ */ jsxs39("section", {
57141
+ return /* @__PURE__ */ jsxs40("section", {
56657
57142
  id: "hero",
56658
57143
  className: "chapter chapter--opening",
56659
57144
  "data-title": "Top",
56660
57145
  children: [
56661
- data.kicker && /* @__PURE__ */ jsx56("p", {
57146
+ data.kicker && /* @__PURE__ */ jsx57("p", {
56662
57147
  className: "eyebrow",
56663
57148
  children: data.kicker
56664
57149
  }),
56665
- /* @__PURE__ */ jsxs39("h1", {
57150
+ /* @__PURE__ */ jsxs40("h1", {
56666
57151
  children: [
56667
57152
  headingLead,
56668
- data.headingAccent && /* @__PURE__ */ jsxs39(Fragment21, {
57153
+ data.headingAccent && /* @__PURE__ */ jsxs40(Fragment23, {
56669
57154
  children: [
56670
57155
  " ",
56671
- /* @__PURE__ */ jsx56("em", {
57156
+ /* @__PURE__ */ jsx57("em", {
56672
57157
  children: data.headingAccent
56673
57158
  })
56674
57159
  ]
56675
57160
  })
56676
57161
  ]
56677
57162
  }),
56678
- /* @__PURE__ */ jsx56("p", {
57163
+ /* @__PURE__ */ jsx57("p", {
56679
57164
  className: "lede",
56680
57165
  children: lede
56681
57166
  }),
56682
- data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx56("a", {
57167
+ data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx57("a", {
56683
57168
  className: "opening__door",
56684
57169
  href: data.ctaHref,
56685
57170
  children: data.ctaLabel
56686
57171
  }),
56687
- /* @__PURE__ */ jsx56(NetworkLayer, {
56688
- ...placeNetwork(data)
57172
+ /* @__PURE__ */ jsx57("div", {
57173
+ className: "opening__art",
57174
+ "aria-hidden": "true",
57175
+ children: /* @__PURE__ */ jsx57(OrganismArt, {})
56689
57176
  })
56690
57177
  ]
56691
57178
  });
@@ -56756,7 +57243,7 @@ function openingDataSource(shell) {
56756
57243
  }
56757
57244
 
56758
57245
  // src/asked.tsx
56759
- import { jsx as jsx57, jsxs as jsxs40, Fragment as Fragment23 } from "react/jsx-runtime";
57246
+ import { jsx as jsx58, jsxs as jsxs41, Fragment as Fragment25 } from "react/jsx-runtime";
56760
57247
  var askedSourceSchema = exports_external.object({
56761
57248
  id: exports_external.string(),
56762
57249
  title: exports_external.string(),
@@ -56802,40 +57289,40 @@ function Sources({ sources }) {
56802
57289
  if (sources.length === 0)
56803
57290
  return null;
56804
57291
  const brains = sources.flatMap((source) => source.brain ? [source.brain.name] : []);
56805
- return /* @__PURE__ */ jsxs40(Fragment23, {
57292
+ return /* @__PURE__ */ jsxs41(Fragment25, {
56806
57293
  children: [
56807
- brains.length > 0 && /* @__PURE__ */ jsx57("p", {
57294
+ brains.length > 0 && /* @__PURE__ */ jsx58("p", {
56808
57295
  className: "asked__by",
56809
57296
  children: answeredBy(OWNER, brains)
56810
57297
  }),
56811
- /* @__PURE__ */ jsx57("ul", {
57298
+ /* @__PURE__ */ jsx58("ul", {
56812
57299
  className: "asked__sources",
56813
57300
  "aria-label": "Sources",
56814
- children: sources.map((source) => /* @__PURE__ */ jsxs40("li", {
57301
+ children: sources.map((source) => /* @__PURE__ */ jsxs41("li", {
56815
57302
  "data-ask-source": source.id,
56816
57303
  ...source.brain ? { "data-ask-brain": source.brain.name } : {},
56817
57304
  children: [
56818
- /* @__PURE__ */ jsx57("span", {
57305
+ /* @__PURE__ */ jsx58("span", {
56819
57306
  className: "asked__mark",
56820
57307
  "aria-hidden": "true"
56821
57308
  }),
56822
- /* @__PURE__ */ jsxs40("span", {
57309
+ /* @__PURE__ */ jsxs41("span", {
56823
57310
  className: "asked__piece",
56824
57311
  children: [
56825
- source.brain && /* @__PURE__ */ jsx57("b", {
57312
+ source.brain && /* @__PURE__ */ jsx58("b", {
56826
57313
  children: source.brain.name
56827
57314
  }),
56828
- source.url ? /* @__PURE__ */ jsx57("a", {
57315
+ source.url ? /* @__PURE__ */ jsx58("a", {
56829
57316
  href: source.url,
56830
57317
  target: "_blank",
56831
57318
  rel: "noopener noreferrer",
56832
57319
  children: source.title
56833
- }) : /* @__PURE__ */ jsx57("span", {
57320
+ }) : /* @__PURE__ */ jsx58("span", {
56834
57321
  children: source.title
56835
57322
  })
56836
57323
  ]
56837
57324
  }),
56838
- source.excerpt && /* @__PURE__ */ jsx57("q", {
57325
+ source.excerpt && /* @__PURE__ */ jsx58("q", {
56839
57326
  children: source.excerpt
56840
57327
  })
56841
57328
  ]
@@ -56847,39 +57334,39 @@ function Sources({ sources }) {
56847
57334
  function Asked(data) {
56848
57335
  const { faqs } = data;
56849
57336
  if (faqs.length === 0)
56850
- return /* @__PURE__ */ jsx57(Fragment23, {});
56851
- return /* @__PURE__ */ jsxs40("section", {
57337
+ return /* @__PURE__ */ jsx58(Fragment25, {});
57338
+ return /* @__PURE__ */ jsxs41("section", {
56852
57339
  id: "asked",
56853
57340
  className: "chapter asked",
56854
57341
  "data-title": "Asked before",
56855
57342
  "data-lights-network": "",
56856
57343
  children: [
56857
- /* @__PURE__ */ jsx57("p", {
57344
+ /* @__PURE__ */ jsx58("p", {
56858
57345
  className: "eyebrow",
56859
57346
  children: data.cap ?? DEFAULT_COPY2.cap
56860
57347
  }),
56861
- /* @__PURE__ */ jsx57("h2", {
57348
+ /* @__PURE__ */ jsx58("h2", {
56862
57349
  children: data.claim ?? DEFAULT_COPY2.claim
56863
57350
  }),
56864
- /* @__PURE__ */ jsx57("p", {
57351
+ /* @__PURE__ */ jsx58("p", {
56865
57352
  children: data.body ?? DEFAULT_COPY2.body
56866
57353
  }),
56867
- /* @__PURE__ */ jsx57("div", {
57354
+ /* @__PURE__ */ jsx58("div", {
56868
57355
  className: "asked__list",
56869
- children: faqs.map((faq) => /* @__PURE__ */ jsxs40("details", {
57356
+ children: faqs.map((faq) => /* @__PURE__ */ jsxs41("details", {
56870
57357
  name: "asked",
56871
57358
  "data-ask-answer": forDrawing(faq.sources),
56872
57359
  children: [
56873
- /* @__PURE__ */ jsx57("summary", {
57360
+ /* @__PURE__ */ jsx58("summary", {
56874
57361
  children: faq.question
56875
57362
  }),
56876
- /* @__PURE__ */ jsxs40("div", {
57363
+ /* @__PURE__ */ jsxs41("div", {
56877
57364
  className: "asked__answer",
56878
57365
  children: [
56879
- /* @__PURE__ */ jsx57(MarkdownContent, {
57366
+ /* @__PURE__ */ jsx58(MarkdownContent, {
56880
57367
  markdown: faq.answer
56881
57368
  }),
56882
- /* @__PURE__ */ jsx57(Sources, {
57369
+ /* @__PURE__ */ jsx58(Sources, {
56883
57370
  sources: faq.sources
56884
57371
  })
56885
57372
  ]
@@ -56908,8 +57395,42 @@ var askedTemplate = createTemplate({
56908
57395
  layout: { component: Asked }
56909
57396
  });
56910
57397
 
57398
+ // src/story/network.ts
57399
+ var DISC = { x: 50, y: 50, radius: 44 };
57400
+ var CHARACTER = 1.45;
57401
+ var GAP = 3;
57402
+ var r12 = (v2) => Math.round(v2 * 10) / 10;
57403
+ function placeNetwork(map6) {
57404
+ const shown = map6.nodes.filter((node2) => node2.status !== "archived");
57405
+ const max = proximityMaxDistance({ ...map6, nodes: shown });
57406
+ const placed2 = shown.map((node2) => {
57407
+ const point3 = proximityPoint(node2.distance, node2.bearing, max, DISC);
57408
+ return {
57409
+ id: node2.id,
57410
+ name: node2.name,
57411
+ x: r12(point3.x),
57412
+ y: r12(point3.y),
57413
+ reach: proximityReach(node2.distance, max)
57414
+ };
57415
+ });
57416
+ const span = (name) => name.length * CHARACTER + GAP;
57417
+ const room2 = (brain, dir) => (dir < 0 ? brain.x - GAP : 100 - brain.x - GAP) >= span(brain.name);
57418
+ const blocked = (brain, dir) => placed2.some((other) => other !== brain && Math.abs(other.y - brain.y) < 4 && (dir < 0 ? other.x < brain.x && brain.x - other.x < span(brain.name) : other.x > brain.x && other.x - brain.x < span(brain.name)));
57419
+ const brains = placed2.map((brain) => {
57420
+ const sides = brain.x < DISC.x ? [-1, 1] : [1, -1];
57421
+ const dir = sides.find((candidate) => room2(brain, candidate) && !blocked(brain, candidate));
57422
+ return {
57423
+ ...brain,
57424
+ side: dir === undefined ? "above" : dir < 0 ? "left" : "right"
57425
+ };
57426
+ });
57427
+ const ids3 = new Set(brains.map((brain) => brain.id));
57428
+ const kin = map6.clusters.flatMap((cluster) => cluster.links.filter((link2) => ids3.has(link2.sourceId) && ids3.has(link2.targetId)).map((link2) => ({ from: link2.sourceId, to: link2.targetId })));
57429
+ return { brains, kin };
57430
+ }
57431
+
56911
57432
  // src/ask-room.tsx
56912
- import { jsx as jsx58, jsxs as jsxs41, Fragment as Fragment25 } from "react/jsx-runtime";
57433
+ import { jsx as jsx59, jsxs as jsxs43, Fragment as Fragment26 } from "react/jsx-runtime";
56913
57434
  var askRoomCopySchema = exports_external.object({
56914
57435
  cap: exports_external.string().nullable().default(null),
56915
57436
  claim: exports_external.string().nullable().default(null),
@@ -56927,55 +57448,55 @@ var askRoomSchema = proximityMapDataSchema.extend({
56927
57448
  askBox: exports_external.boolean().default(false)
56928
57449
  });
56929
57450
  function AskRoom(data) {
56930
- return /* @__PURE__ */ jsxs41(Fragment25, {
57451
+ return /* @__PURE__ */ jsxs43(Fragment26, {
56931
57452
  children: [
56932
- /* @__PURE__ */ jsx58(NetworkLayer, {
57453
+ /* @__PURE__ */ jsx59(NetworkLayer, {
56933
57454
  ...placeNetwork(data),
56934
57455
  lendable: true
56935
57456
  }),
56936
- /* @__PURE__ */ jsx58("svg", {
57457
+ /* @__PURE__ */ jsx59("svg", {
56937
57458
  className: "net-leads",
56938
57459
  ...{ [ASK_LEADS_ATTRIBUTE]: "" },
56939
57460
  "aria-hidden": "true"
56940
57461
  }),
56941
- /* @__PURE__ */ jsx58("section", {
57462
+ /* @__PURE__ */ jsx59("section", {
56942
57463
  id: "ask",
56943
57464
  className: "chapter chapter--opening",
56944
57465
  "data-title": "Ask",
56945
- children: /* @__PURE__ */ jsxs41("div", {
57466
+ children: /* @__PURE__ */ jsxs43("div", {
56946
57467
  className: "opening__words",
56947
57468
  ...{ [ASK_COLUMN_ATTRIBUTE]: "" },
56948
57469
  children: [
56949
- /* @__PURE__ */ jsx58("p", {
57470
+ /* @__PURE__ */ jsx59("p", {
56950
57471
  className: "eyebrow",
56951
57472
  children: data.cap ?? DEFAULT_COPY3.cap
56952
57473
  }),
56953
- /* @__PURE__ */ jsx58("h1", {
57474
+ /* @__PURE__ */ jsx59("h1", {
56954
57475
  children: data.claim ?? DEFAULT_COPY3.claim
56955
57476
  }),
56956
- /* @__PURE__ */ jsx58("p", {
57477
+ /* @__PURE__ */ jsx59("p", {
56957
57478
  className: "lede",
56958
57479
  children: data.body ?? DEFAULT_COPY3.body
56959
57480
  }),
56960
- /* @__PURE__ */ jsxs41("div", {
57481
+ /* @__PURE__ */ jsxs43("div", {
56961
57482
  className: "ask",
56962
57483
  children: [
56963
- /* @__PURE__ */ jsx58(AskBoxHost, {
57484
+ /* @__PURE__ */ jsx59(AskBoxHost, {
56964
57485
  prefix: "opening",
56965
57486
  placeholder: data.prompt ?? undefined
56966
57487
  }),
56967
- data.topics.length > 0 && /* @__PURE__ */ jsx58("ul", {
57488
+ data.topics.length > 0 && /* @__PURE__ */ jsx59("ul", {
56968
57489
  className: "ask__topics",
56969
57490
  "aria-label": "Suggested questions",
56970
- children: data.topics.map((topic) => /* @__PURE__ */ jsx58("li", {
56971
- children: /* @__PURE__ */ jsx58("button", {
57491
+ children: data.topics.map((topic) => /* @__PURE__ */ jsx59("li", {
57492
+ children: /* @__PURE__ */ jsx59("button", {
56972
57493
  type: "button",
56973
57494
  "data-atlas-fill": topic,
56974
57495
  children: topic
56975
57496
  })
56976
57497
  }, topic))
56977
57498
  }),
56978
- /* @__PURE__ */ jsx58("script", {
57499
+ /* @__PURE__ */ jsx59("script", {
56979
57500
  src: ASK_BOX_SCRIPT_PATH,
56980
57501
  defer: true
56981
57502
  })
@@ -57045,7 +57566,7 @@ function askedDataSource(shell) {
57045
57566
  }
57046
57567
 
57047
57568
  // src/writing.tsx
57048
- import { jsx as jsx59, jsxs as jsxs43, Fragment as Fragment26 } from "react/jsx-runtime";
57569
+ import { jsx as jsx60, jsxs as jsxs45, Fragment as Fragment27 } from "react/jsx-runtime";
57049
57570
  var linked = {
57050
57571
  id: exports_external.string(),
57051
57572
  entityType: exports_external.string(),
@@ -57108,19 +57629,19 @@ function pieces({ posts, decks }) {
57108
57629
  ].sort((a, b2) => b2.date.localeCompare(a.date));
57109
57630
  }
57110
57631
  function PieceBody({ piece }) {
57111
- return /* @__PURE__ */ jsxs43(Fragment26, {
57632
+ return /* @__PURE__ */ jsxs45(Fragment27, {
57112
57633
  children: [
57113
- /* @__PURE__ */ jsxs43("small", {
57634
+ /* @__PURE__ */ jsxs45("small", {
57114
57635
  children: [
57115
57636
  LABEL[piece.kind],
57116
57637
  " \xB7 ",
57117
57638
  day.format(new Date(piece.date))
57118
57639
  ]
57119
57640
  }),
57120
- /* @__PURE__ */ jsx59("b", {
57641
+ /* @__PURE__ */ jsx60("b", {
57121
57642
  children: piece.title
57122
57643
  }),
57123
- piece.text && /* @__PURE__ */ jsx59("span", {
57644
+ piece.text && /* @__PURE__ */ jsx60("span", {
57124
57645
  children: piece.text
57125
57646
  })
57126
57647
  ]
@@ -57128,38 +57649,38 @@ function PieceBody({ piece }) {
57128
57649
  }
57129
57650
  function WritingArchive(data) {
57130
57651
  const thread = pieces(data);
57131
- return /* @__PURE__ */ jsxs43("section", {
57652
+ return /* @__PURE__ */ jsxs45("section", {
57132
57653
  id: "writing",
57133
57654
  className: "archive",
57134
57655
  children: [
57135
- /* @__PURE__ */ jsx59("link", {
57656
+ /* @__PURE__ */ jsx60("link", {
57136
57657
  rel: "stylesheet",
57137
57658
  href: "/styles/writing.css",
57138
57659
  precedence: "page"
57139
57660
  }),
57140
- /* @__PURE__ */ jsxs43("header", {
57661
+ /* @__PURE__ */ jsxs45("header", {
57141
57662
  className: "archive__head",
57142
57663
  children: [
57143
- /* @__PURE__ */ jsx59("p", {
57664
+ /* @__PURE__ */ jsx60("p", {
57144
57665
  className: "eyebrow",
57145
57666
  children: "Writing"
57146
57667
  }),
57147
- /* @__PURE__ */ jsx59("h1", {
57668
+ /* @__PURE__ */ jsx60("h1", {
57148
57669
  children: "Essays and presentations."
57149
57670
  }),
57150
- /* @__PURE__ */ jsx59("p", {
57671
+ /* @__PURE__ */ jsx60("p", {
57151
57672
  className: "lede",
57152
57673
  children: "A working bibliography; new entries land roughly monthly."
57153
57674
  }),
57154
- /* @__PURE__ */ jsxs43("fieldset", {
57675
+ /* @__PURE__ */ jsxs45("fieldset", {
57155
57676
  className: "archive__filter",
57156
57677
  children: [
57157
- /* @__PURE__ */ jsx59("legend", {
57678
+ /* @__PURE__ */ jsx60("legend", {
57158
57679
  children: "Show"
57159
57680
  }),
57160
- FILTERS.map((filter) => /* @__PURE__ */ jsxs43("label", {
57681
+ FILTERS.map((filter) => /* @__PURE__ */ jsxs45("label", {
57161
57682
  children: [
57162
- /* @__PURE__ */ jsx59("input", {
57683
+ /* @__PURE__ */ jsx60("input", {
57163
57684
  type: "radio",
57164
57685
  name: "show",
57165
57686
  value: filter.value,
@@ -57172,28 +57693,28 @@ function WritingArchive(data) {
57172
57693
  })
57173
57694
  ]
57174
57695
  }),
57175
- thread.length === 0 ? /* @__PURE__ */ jsx59("p", {
57696
+ thread.length === 0 ? /* @__PURE__ */ jsx60("p", {
57176
57697
  className: "archive__empty",
57177
57698
  children: "Nothing published yet."
57178
- }) : /* @__PURE__ */ jsx59("ol", {
57699
+ }) : /* @__PURE__ */ jsx60("ol", {
57179
57700
  className: "thread-list",
57180
- children: thread.map((piece, i) => /* @__PURE__ */ jsxs43("li", {
57701
+ children: thread.map((piece, i) => /* @__PURE__ */ jsxs45("li", {
57181
57702
  className: `piece piece--${piece.kind}`,
57182
57703
  style: {
57183
57704
  animationDelay: `${Math.round((0.4 + Math.min(i, 8) * 0.15) * 100) / 100}s`
57184
57705
  },
57185
57706
  children: [
57186
- /* @__PURE__ */ jsx59("span", {
57707
+ /* @__PURE__ */ jsx60("span", {
57187
57708
  className: "piece__mark",
57188
57709
  "aria-hidden": "true"
57189
57710
  }),
57190
- piece.url ? /* @__PURE__ */ jsx59("a", {
57711
+ piece.url ? /* @__PURE__ */ jsx60("a", {
57191
57712
  href: piece.url,
57192
- children: /* @__PURE__ */ jsx59(PieceBody, {
57713
+ children: /* @__PURE__ */ jsx60(PieceBody, {
57193
57714
  piece
57194
57715
  })
57195
- }) : /* @__PURE__ */ jsx59("div", {
57196
- children: /* @__PURE__ */ jsx59(PieceBody, {
57716
+ }) : /* @__PURE__ */ jsx60("div", {
57717
+ children: /* @__PURE__ */ jsx60(PieceBody, {
57197
57718
  piece
57198
57719
  })
57199
57720
  })
@@ -57244,7 +57765,7 @@ function writingDataSource(shell) {
57244
57765
  }
57245
57766
 
57246
57767
  // src/work.tsx
57247
- import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
57768
+ import { jsx as jsx61, jsxs as jsxs46 } from "react/jsx-runtime";
57248
57769
  var heroSchema2 = exports_external.object({
57249
57770
  eyebrow: exports_external.string(),
57250
57771
  headline: exports_external.string(),
@@ -57259,29 +57780,29 @@ function WorkHeroSection({
57259
57780
  primaryCta,
57260
57781
  secondaryCta
57261
57782
  }) {
57262
- return /* @__PURE__ */ jsxs45("section", {
57783
+ return /* @__PURE__ */ jsxs46("section", {
57263
57784
  id: "work-hero",
57264
57785
  className: "chapter",
57265
57786
  children: [
57266
- /* @__PURE__ */ jsx60("p", {
57787
+ /* @__PURE__ */ jsx61("p", {
57267
57788
  className: "eyebrow",
57268
57789
  children: eyebrow
57269
57790
  }),
57270
- /* @__PURE__ */ jsx60("h1", {
57791
+ /* @__PURE__ */ jsx61("h1", {
57271
57792
  children: emphasize(headline)
57272
57793
  }),
57273
- /* @__PURE__ */ jsx60("p", {
57794
+ /* @__PURE__ */ jsx61("p", {
57274
57795
  className: "lede",
57275
57796
  children: standfirst
57276
57797
  }),
57277
- /* @__PURE__ */ jsxs45("p", {
57798
+ /* @__PURE__ */ jsxs46("p", {
57278
57799
  className: "doors-in",
57279
57800
  children: [
57280
- /* @__PURE__ */ jsx60("a", {
57801
+ /* @__PURE__ */ jsx61("a", {
57281
57802
  href: primaryCta.href,
57282
57803
  children: primaryCta.label
57283
57804
  }),
57284
- /* @__PURE__ */ jsx60("a", {
57805
+ /* @__PURE__ */ jsx61("a", {
57285
57806
  href: secondaryCta.href,
57286
57807
  children: secondaryCta.label
57287
57808
  })
@@ -57300,18 +57821,18 @@ function WorkProblemSection({
57300
57821
  headline,
57301
57822
  intro
57302
57823
  }) {
57303
- return /* @__PURE__ */ jsxs45("section", {
57824
+ return /* @__PURE__ */ jsxs46("section", {
57304
57825
  id: "work-problem",
57305
57826
  className: "chapter",
57306
57827
  children: [
57307
- /* @__PURE__ */ jsx60("p", {
57828
+ /* @__PURE__ */ jsx61("p", {
57308
57829
  className: "eyebrow",
57309
57830
  children: cap
57310
57831
  }),
57311
- /* @__PURE__ */ jsx60("h2", {
57832
+ /* @__PURE__ */ jsx61("h2", {
57312
57833
  children: emphasize(headline)
57313
57834
  }),
57314
- /* @__PURE__ */ jsx60("p", {
57835
+ /* @__PURE__ */ jsx61("p", {
57315
57836
  children: intro
57316
57837
  })
57317
57838
  ]
@@ -57329,35 +57850,35 @@ function WorkAuditSection({
57329
57850
  steps,
57330
57851
  ctas
57331
57852
  }) {
57332
- return /* @__PURE__ */ jsxs45("section", {
57853
+ return /* @__PURE__ */ jsxs46("section", {
57333
57854
  id: "audit",
57334
57855
  className: "chapter",
57335
57856
  "data-title": "The Knowledge Audit",
57336
57857
  children: [
57337
- /* @__PURE__ */ jsx60("p", {
57858
+ /* @__PURE__ */ jsx61("p", {
57338
57859
  className: "eyebrow",
57339
57860
  children: cap
57340
57861
  }),
57341
- /* @__PURE__ */ jsx60("h2", {
57862
+ /* @__PURE__ */ jsx61("h2", {
57342
57863
  children: emphasize(headline)
57343
57864
  }),
57344
- /* @__PURE__ */ jsx60("p", {
57865
+ /* @__PURE__ */ jsx61("p", {
57345
57866
  children: intro
57346
57867
  }),
57347
- /* @__PURE__ */ jsx60("ol", {
57868
+ /* @__PURE__ */ jsx61("ol", {
57348
57869
  className: "steps",
57349
- children: steps.map((step) => /* @__PURE__ */ jsxs45("li", {
57870
+ children: steps.map((step) => /* @__PURE__ */ jsxs46("li", {
57350
57871
  children: [
57351
- /* @__PURE__ */ jsx60("b", {
57872
+ /* @__PURE__ */ jsx61("b", {
57352
57873
  children: step.lead
57353
57874
  }),
57354
- /* @__PURE__ */ jsx60("span", {
57875
+ /* @__PURE__ */ jsx61("span", {
57355
57876
  children: step.text
57356
57877
  })
57357
57878
  ]
57358
57879
  }, step.lead))
57359
57880
  }),
57360
- ctas.map((cta) => /* @__PURE__ */ jsx60("a", {
57881
+ ctas.map((cta) => /* @__PURE__ */ jsx61("a", {
57361
57882
  className: "cta",
57362
57883
  href: cta.href,
57363
57884
  children: cta.label
@@ -57373,24 +57894,24 @@ function WorkPersonasSection({
57373
57894
  cap,
57374
57895
  personas
57375
57896
  }) {
57376
- return /* @__PURE__ */ jsxs45("section", {
57897
+ return /* @__PURE__ */ jsxs46("section", {
57377
57898
  id: "personas",
57378
57899
  className: "chapter",
57379
57900
  "data-title": cap,
57380
57901
  children: [
57381
- /* @__PURE__ */ jsx60("p", {
57902
+ /* @__PURE__ */ jsx61("p", {
57382
57903
  className: "eyebrow",
57383
57904
  children: cap
57384
57905
  }),
57385
- /* @__PURE__ */ jsx60("div", {
57906
+ /* @__PURE__ */ jsx61("div", {
57386
57907
  className: "voices",
57387
- children: personas.map((persona) => /* @__PURE__ */ jsxs45("blockquote", {
57908
+ children: personas.map((persona) => /* @__PURE__ */ jsxs46("blockquote", {
57388
57909
  children: [
57389
- /* @__PURE__ */ jsx60("small", {
57910
+ /* @__PURE__ */ jsx61("small", {
57390
57911
  children: persona.role
57391
57912
  }),
57392
57913
  persona.quote,
57393
- /* @__PURE__ */ jsx60("p", {
57914
+ /* @__PURE__ */ jsx61("p", {
57394
57915
  children: persona.text
57395
57916
  })
57396
57917
  ]
@@ -57407,21 +57928,21 @@ function WorkQuotesSection({
57407
57928
  cap,
57408
57929
  quotes
57409
57930
  }) {
57410
- return /* @__PURE__ */ jsxs45("section", {
57931
+ return /* @__PURE__ */ jsxs46("section", {
57411
57932
  id: "proof",
57412
57933
  className: "chapter",
57413
57934
  "data-title": cap,
57414
57935
  children: [
57415
- /* @__PURE__ */ jsx60("p", {
57936
+ /* @__PURE__ */ jsx61("p", {
57416
57937
  className: "eyebrow",
57417
57938
  children: cap
57418
57939
  }),
57419
- /* @__PURE__ */ jsx60("div", {
57940
+ /* @__PURE__ */ jsx61("div", {
57420
57941
  className: "voices",
57421
- children: quotes.map((quote) => /* @__PURE__ */ jsxs45("blockquote", {
57942
+ children: quotes.map((quote) => /* @__PURE__ */ jsxs46("blockquote", {
57422
57943
  children: [
57423
57944
  quote.text,
57424
- /* @__PURE__ */ jsx60("cite", {
57945
+ /* @__PURE__ */ jsx61("cite", {
57425
57946
  children: quote.by
57426
57947
  })
57427
57948
  ]
@@ -57438,30 +57959,30 @@ function WorkRosterSection({
57438
57959
  cap,
57439
57960
  people
57440
57961
  }) {
57441
- return /* @__PURE__ */ jsxs45("section", {
57962
+ return /* @__PURE__ */ jsxs46("section", {
57442
57963
  id: "people",
57443
57964
  className: "chapter",
57444
57965
  children: [
57445
- /* @__PURE__ */ jsx60("p", {
57966
+ /* @__PURE__ */ jsx61("p", {
57446
57967
  className: "eyebrow",
57447
57968
  children: cap
57448
57969
  }),
57449
- /* @__PURE__ */ jsx60("ul", {
57970
+ /* @__PURE__ */ jsx61("ul", {
57450
57971
  className: "people",
57451
- children: people.map((person) => /* @__PURE__ */ jsxs45("li", {
57972
+ children: people.map((person) => /* @__PURE__ */ jsxs46("li", {
57452
57973
  children: [
57453
- /* @__PURE__ */ jsx60("b", {
57974
+ /* @__PURE__ */ jsx61("b", {
57454
57975
  children: person.name
57455
57976
  }),
57456
- /* @__PURE__ */ jsx60("span", {
57977
+ /* @__PURE__ */ jsx61("span", {
57457
57978
  children: person.role
57458
57979
  })
57459
57980
  ]
57460
57981
  }, person.name))
57461
57982
  }),
57462
- /* @__PURE__ */ jsx60("p", {
57983
+ /* @__PURE__ */ jsx61("p", {
57463
57984
  className: "onward",
57464
- children: /* @__PURE__ */ jsx60("a", {
57985
+ children: /* @__PURE__ */ jsx61("a", {
57465
57986
  href: "/foundation",
57466
57987
  children: "The research arm, at the Foundation"
57467
57988
  })
@@ -57479,22 +58000,22 @@ function WorkCloserSection({
57479
58000
  primaryCta,
57480
58001
  secondaryCta
57481
58002
  }) {
57482
- return /* @__PURE__ */ jsxs45("section", {
58003
+ return /* @__PURE__ */ jsxs46("section", {
57483
58004
  id: "closer",
57484
58005
  className: "chapter",
57485
58006
  "data-title": "Your team type",
57486
58007
  children: [
57487
- /* @__PURE__ */ jsx60("h2", {
58008
+ /* @__PURE__ */ jsx61("h2", {
57488
58009
  children: emphasize(quote)
57489
58010
  }),
57490
- /* @__PURE__ */ jsxs45("p", {
58011
+ /* @__PURE__ */ jsxs46("p", {
57491
58012
  className: "doors-in",
57492
58013
  children: [
57493
- /* @__PURE__ */ jsx60("a", {
58014
+ /* @__PURE__ */ jsx61("a", {
57494
58015
  href: primaryCta.href,
57495
58016
  children: primaryCta.label
57496
58017
  }),
57497
- /* @__PURE__ */ jsx60("a", {
58018
+ /* @__PURE__ */ jsx61("a", {
57498
58019
  href: secondaryCta.href,
57499
58020
  children: secondaryCta.label
57500
58021
  })
@@ -57535,7 +58056,7 @@ var workSections = sectionGroup("work", {
57535
58056
  });
57536
58057
 
57537
58058
  // src/foundation.tsx
57538
- import { jsx as jsx61, jsxs as jsxs46, Fragment as Fragment27 } from "react/jsx-runtime";
58059
+ import { jsx as jsx63, jsxs as jsxs47, Fragment as Fragment28 } from "react/jsx-runtime";
57539
58060
  var EMPHASIS_CLS = "italic font-[400] text-accent";
57540
58061
  var heroSchema3 = exports_external.object({
57541
58062
  volume: exports_external.string(),
@@ -57551,29 +58072,29 @@ function FoundationHeroSection({
57551
58072
  primaryCta,
57552
58073
  secondaryCta
57553
58074
  }) {
57554
- return /* @__PURE__ */ jsxs46("section", {
58075
+ return /* @__PURE__ */ jsxs47("section", {
57555
58076
  id: "foundation-hero",
57556
58077
  className: "chapter",
57557
58078
  children: [
57558
- /* @__PURE__ */ jsx61("p", {
58079
+ /* @__PURE__ */ jsx63("p", {
57559
58080
  className: "eyebrow",
57560
58081
  children: "Foundation"
57561
58082
  }),
57562
- /* @__PURE__ */ jsx61("h1", {
58083
+ /* @__PURE__ */ jsx63("h1", {
57563
58084
  children: renderHighlightedText(headline, EMPHASIS_CLS)
57564
58085
  }),
57565
- /* @__PURE__ */ jsx61("p", {
58086
+ /* @__PURE__ */ jsx63("p", {
57566
58087
  className: "lede",
57567
58088
  children: standfirst
57568
58089
  }),
57569
- /* @__PURE__ */ jsxs46("p", {
58090
+ /* @__PURE__ */ jsxs47("p", {
57570
58091
  className: "doors-in",
57571
58092
  children: [
57572
- /* @__PURE__ */ jsx61("a", {
58093
+ /* @__PURE__ */ jsx63("a", {
57573
58094
  href: primaryCta.href,
57574
58095
  children: primaryCta.label
57575
58096
  }),
57576
- /* @__PURE__ */ jsx61("a", {
58097
+ /* @__PURE__ */ jsx63("a", {
57577
58098
  href: secondaryCta.href,
57578
58099
  children: secondaryCta.label
57579
58100
  })
@@ -57597,24 +58118,24 @@ var indexSchema = exports_external.object({
57597
58118
  items: exports_external.array(indexRowSchema)
57598
58119
  });
57599
58120
  function Entry({ row }) {
57600
- const body = /* @__PURE__ */ jsxs46(Fragment27, {
58121
+ const body = /* @__PURE__ */ jsxs47(Fragment28, {
57601
58122
  children: [
57602
- /* @__PURE__ */ jsx61("small", {
58123
+ /* @__PURE__ */ jsx63("small", {
57603
58124
  children: row.kicker
57604
58125
  }),
57605
- /* @__PURE__ */ jsx61("b", {
58126
+ /* @__PURE__ */ jsx63("b", {
57606
58127
  children: row.title
57607
58128
  }),
57608
- /* @__PURE__ */ jsx61("span", {
58129
+ /* @__PURE__ */ jsx63("span", {
57609
58130
  children: [row.text, row.metaSub].filter(Boolean).join(" ")
57610
58131
  })
57611
58132
  ]
57612
58133
  });
57613
- return /* @__PURE__ */ jsx61("li", {
57614
- children: row.href ? /* @__PURE__ */ jsx61("a", {
58134
+ return /* @__PURE__ */ jsx63("li", {
58135
+ children: row.href ? /* @__PURE__ */ jsx63("a", {
57615
58136
  href: row.href,
57616
58137
  children: body
57617
- }) : /* @__PURE__ */ jsx61("div", {
58138
+ }) : /* @__PURE__ */ jsx63("div", {
57618
58139
  children: body
57619
58140
  })
57620
58141
  });
@@ -57625,20 +58146,20 @@ function EntriesChapter({
57625
58146
  title,
57626
58147
  items
57627
58148
  }) {
57628
- return /* @__PURE__ */ jsxs46("section", {
58149
+ return /* @__PURE__ */ jsxs47("section", {
57629
58150
  id,
57630
58151
  className: "chapter",
57631
58152
  children: [
57632
- /* @__PURE__ */ jsx61("p", {
58153
+ /* @__PURE__ */ jsx63("p", {
57633
58154
  className: "eyebrow",
57634
58155
  children: cap
57635
58156
  }),
57636
- /* @__PURE__ */ jsx61("h2", {
58157
+ /* @__PURE__ */ jsx63("h2", {
57637
58158
  children: title
57638
58159
  }),
57639
- /* @__PURE__ */ jsx61("ul", {
58160
+ /* @__PURE__ */ jsx63("ul", {
57640
58161
  className: "entries",
57641
- children: items.map((row) => /* @__PURE__ */ jsx61(Entry, {
58162
+ children: items.map((row) => /* @__PURE__ */ jsx63(Entry, {
57642
58163
  row
57643
58164
  }, row.title))
57644
58165
  })
@@ -57649,7 +58170,7 @@ function FoundationResearchSection({
57649
58170
  cap,
57650
58171
  items
57651
58172
  }) {
57652
- return /* @__PURE__ */ jsx61(EntriesChapter, {
58173
+ return /* @__PURE__ */ jsx63(EntriesChapter, {
57653
58174
  id: "research",
57654
58175
  cap,
57655
58176
  title: "A working bibliography.",
@@ -57660,7 +58181,7 @@ function FoundationChaptersSection({
57660
58181
  cap,
57661
58182
  items
57662
58183
  }) {
57663
- return /* @__PURE__ */ jsx61(EntriesChapter, {
58184
+ return /* @__PURE__ */ jsx63(EntriesChapter, {
57664
58185
  id: "events",
57665
58186
  cap,
57666
58187
  title: "Twenty to forty people, city by city.",
@@ -57675,16 +58196,16 @@ function FoundationPullquoteSection({
57675
58196
  quote,
57676
58197
  attribution
57677
58198
  }) {
57678
- return /* @__PURE__ */ jsxs46("section", {
58199
+ return /* @__PURE__ */ jsxs47("section", {
57679
58200
  id: "pullquote",
57680
58201
  className: "chapter",
57681
58202
  "data-title": "The pattern",
57682
58203
  children: [
57683
- /* @__PURE__ */ jsx61("p", {
58204
+ /* @__PURE__ */ jsx63("p", {
57684
58205
  className: "pull",
57685
58206
  children: renderHighlightedText(quote, EMPHASIS_CLS)
57686
58207
  }),
57687
- /* @__PURE__ */ jsx61("p", {
58208
+ /* @__PURE__ */ jsx63("p", {
57688
58209
  children: attribution
57689
58210
  })
57690
58211
  ]
@@ -57703,32 +58224,32 @@ function FoundationSupportSection({
57703
58224
  cap,
57704
58225
  options: options3
57705
58226
  }) {
57706
- return /* @__PURE__ */ jsxs46("section", {
58227
+ return /* @__PURE__ */ jsxs47("section", {
57707
58228
  id: "support",
57708
58229
  className: "chapter",
57709
58230
  children: [
57710
- /* @__PURE__ */ jsx61("p", {
58231
+ /* @__PURE__ */ jsx63("p", {
57711
58232
  className: "eyebrow",
57712
58233
  children: cap
57713
58234
  }),
57714
- /* @__PURE__ */ jsx61("h2", {
58235
+ /* @__PURE__ */ jsx63("h2", {
57715
58236
  children: "Two ways the work gets funded."
57716
58237
  }),
57717
- /* @__PURE__ */ jsx61("dl", {
58238
+ /* @__PURE__ */ jsx63("dl", {
57718
58239
  className: "parts",
57719
- children: options3.map((option) => /* @__PURE__ */ jsxs46("div", {
58240
+ children: options3.map((option) => /* @__PURE__ */ jsxs47("div", {
57720
58241
  children: [
57721
- /* @__PURE__ */ jsxs46("dt", {
58242
+ /* @__PURE__ */ jsxs47("dt", {
57722
58243
  children: [
57723
58244
  option.kicker,
57724
58245
  " ",
57725
- /* @__PURE__ */ jsx61("span", {
58246
+ /* @__PURE__ */ jsx63("span", {
57726
58247
  className: "status",
57727
58248
  children: option.amount
57728
58249
  })
57729
58250
  ]
57730
58251
  }),
57731
- /* @__PURE__ */ jsx61("dd", {
58252
+ /* @__PURE__ */ jsx63("dd", {
57732
58253
  children: option.text
57733
58254
  })
57734
58255
  ]
@@ -57745,18 +58266,18 @@ function FoundationFollowSection({
57745
58266
  claim,
57746
58267
  links
57747
58268
  }) {
57748
- return /* @__PURE__ */ jsxs46("section", {
58269
+ return /* @__PURE__ */ jsxs47("section", {
57749
58270
  id: "follow",
57750
58271
  className: "chapter",
57751
58272
  "data-title": "Follow the research",
57752
58273
  children: [
57753
- /* @__PURE__ */ jsx61("p", {
58274
+ /* @__PURE__ */ jsx63("p", {
57754
58275
  className: "pull",
57755
58276
  children: renderHighlightedText(claim, "not-italic font-medium text-theme")
57756
58277
  }),
57757
- /* @__PURE__ */ jsx61("p", {
58278
+ /* @__PURE__ */ jsx63("p", {
57758
58279
  className: "follow",
57759
- children: links.map((link2) => /* @__PURE__ */ jsx61("a", {
58280
+ children: links.map((link2) => /* @__PURE__ */ jsx63("a", {
57760
58281
  href: link2.href,
57761
58282
  children: link2.label
57762
58283
  }, link2.href + link2.label))
@@ -57943,4 +58464,4 @@ export {
57943
58464
  workSections
57944
58465
  };
57945
58466
 
57946
- //# debugId=E05C3A61E545CF7C64756E2164756E21
58467
+ //# debugId=E7C051CF4A01231464756E2164756E21