@abraca/junis 2.92.0 → 2.95.0
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/module.json +1 -1
- package/dist/module.mjs +27 -5
- package/dist/runtime/assets/css/jun.css +1 -1
- package/dist/runtime/components/JunDocSurface.vue +1 -1
- package/dist/runtime/components/JunHead.vue +35 -4
- package/dist/runtime/components/JunHorizontalTimeline.vue +1 -1
- package/dist/runtime/components/JunImagePopup.client.vue +7 -2
- package/dist/runtime/components/JunNavMenu.client.vue +3 -3
- package/dist/runtime/components/JunNavPreview.d.vue.ts +2 -1
- package/dist/runtime/components/JunNavPreview.vue +61 -1
- package/dist/runtime/components/JunNavPreview.vue.d.ts +2 -1
- package/dist/runtime/components/JunNavigation.vue +110 -4
- package/dist/runtime/components/JunNotFound.vue +1 -1
- package/dist/runtime/components/JunReaders.vue +1 -1
- package/dist/runtime/components/JunShell.vue +20 -3
- package/dist/runtime/components/JunStudioBar.client.vue +1 -1
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +179 -0
- package/dist/runtime/components/renderers/JunGardenRenderer.vue +45 -8
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +2 -2
- package/dist/runtime/composables/useJunMobile.d.ts +5 -0
- package/dist/runtime/composables/useJunMobile.js +56 -0
- package/dist/runtime/composables/useJunNavItems.js +22 -1
- package/dist/runtime/composables/useJunNavSettings.d.ts +8 -1
- package/dist/runtime/composables/useJunNavSettings.js +21 -1
- package/dist/runtime/composables/useJunOptions.d.ts +2 -2
- package/dist/runtime/composables/useJunSettings.d.ts +1 -1
- package/dist/runtime/composables/useJunSettings.js +4 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +63 -2
- package/dist/runtime/composables/useJunTheme.js +3 -7
- package/dist/runtime/error.vue +2 -2
- package/dist/runtime/layouts/jun.vue +3 -1
- package/dist/runtime/pages/doc.vue +1 -1
- package/dist/runtime/pages/index.vue +1 -1
- package/dist/runtime/server/janitor/junJanitorActor.d.ts +40 -0
- package/dist/runtime/server/janitor/junJanitorActor.js +118 -3
- package/dist/runtime/server/janitor/junJanitorMachine.js +25 -2
- package/dist/runtime/server/janitor/junJanitorStore.d.ts +30 -6
- package/dist/runtime/server/janitor/junJanitorStore.js +32 -15
- package/dist/runtime/server/plugins/jun-doc-cache.js +6 -8
- package/dist/runtime/server/plugins/jun-janitor.js +7 -0
- package/dist/runtime/server/routes/manifest.webmanifest.get.js +18 -0
- package/dist/runtime/types.d.ts +56 -2
- package/dist/runtime/utils/junIdentity.d.ts +13 -0
- package/dist/runtime/utils/junIdentity.js +7 -3
- package/dist/runtime/utils/junMark.d.ts +35 -0
- package/dist/runtime/utils/junMark.js +11 -0
- package/dist/runtime/utils/junNavValue.js +8 -1
- package/package.json +2 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import { existsSync, readFileSync } from 'node:fs';
|
|
|
2
2
|
import { defineNuxtModule, createResolver, hasNuxtModule, installModule, addImportsDir, addComponentsDir, addPluginTemplate, addPlugin, addLayout, extendPages, addServerImportsDir, addServerHandler, addServerPlugin } from '@nuxt/kit';
|
|
3
3
|
import { defu } from 'defu';
|
|
4
4
|
import { JUN_RUNTIME_BACKDROPS } from '../dist/runtime/types.js';
|
|
5
|
+
import { JUN_NEUTRALS } from '../dist/runtime/utils/junMark.js';
|
|
5
6
|
|
|
6
7
|
const PAGE_TYPES = {
|
|
7
8
|
journal: {
|
|
@@ -603,6 +604,11 @@ const DEFAULT_NAVIGATION = {
|
|
|
603
604
|
// nothing until an owner picks one.
|
|
604
605
|
mobileMode: "track",
|
|
605
606
|
mobilePlacement: "inherit",
|
|
607
|
+
// The phone BAR, separately from the phone MENU. `bar` is what every site
|
|
608
|
+
// has always rendered, so an upgrade moves nothing; `float` and `none` are
|
|
609
|
+
// the two shapes there was previously no way to ask for.
|
|
610
|
+
mobileBar: "bar",
|
|
611
|
+
mobileTitle: "off",
|
|
606
612
|
breakpoint: "sm",
|
|
607
613
|
menuIcon: "menu",
|
|
608
614
|
menuSide: "right",
|
|
@@ -731,7 +737,12 @@ const module$1 = defineNuxtModule({
|
|
|
731
737
|
// and `<JunLogo>` gives it its own span so a lockup can weight it.
|
|
732
738
|
name: "Jun!s",
|
|
733
739
|
tagline: "A website that is a document tree",
|
|
734
|
-
themeColor
|
|
740
|
+
// NO `themeColor` default, deliberately. It used to be the literal
|
|
741
|
+
// `#0e0f11`, and a literal here is a FIFTH grey: the page is painted from
|
|
742
|
+
// the neutral ramp (`--jun-canvas`), so a stone site's dark canvas is
|
|
743
|
+
// `#0c0a09` and the app's status bar was two steps off it. Left unset,
|
|
744
|
+
// `junIdentity` derives it from the site's own neutral; a site that
|
|
745
|
+
// states one still wins, which is what the option is for.
|
|
735
746
|
schemaType: "Person"
|
|
736
747
|
},
|
|
737
748
|
pageTypes: {},
|
|
@@ -932,11 +943,16 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
932
943
|
// rather than ignoring it. The Site Config document overrides both.
|
|
933
944
|
logoMark: options.brand?.logoMark ?? "sun",
|
|
934
945
|
logoVariant: options.brand?.logoVariant ?? "mark",
|
|
935
|
-
|
|
946
|
+
// Both may be UNDEFINED, and that is the useful state: it means "no
|
|
947
|
+
// site has spoken", which is what lets `junIdentity` answer with the
|
|
948
|
+
// canvas derived from the chosen neutral. A literal here would make
|
|
949
|
+
// "the default" and "the owner chose the default" indistinguishable —
|
|
950
|
+
// the same rule every Site Config key follows.
|
|
951
|
+
themeColor: options.brand?.themeColor,
|
|
936
952
|
// The app-icon tile. Defaults to the theme colour so a site gets one
|
|
937
953
|
// consistent chrome colour across its status bar, its splash and its
|
|
938
954
|
// home-screen square without configuring three things.
|
|
939
|
-
iconBackground: options.brand?.iconBackground ?? options.brand?.themeColor
|
|
955
|
+
iconBackground: options.brand?.iconBackground ?? options.brand?.themeColor,
|
|
940
956
|
schemaType: options.brand?.schemaType ?? "Person"
|
|
941
957
|
},
|
|
942
958
|
features: {
|
|
@@ -1310,8 +1326,14 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1310
1326
|
start_url: "/",
|
|
1311
1327
|
scope: "/",
|
|
1312
1328
|
display: "standalone",
|
|
1313
|
-
|
|
1314
|
-
|
|
1329
|
+
// This branch only runs when the SITE installed `@vite-pwa/nuxt`, so
|
|
1330
|
+
// the module's own manifest route — the one that can read the Site
|
|
1331
|
+
// Config and derive the canvas from the chosen neutral — is not
|
|
1332
|
+
// serving. A build-time manifest cannot know the neutral, so it takes
|
|
1333
|
+
// the default ramp's dark canvas, which is what an unconfigured site
|
|
1334
|
+
// paints anyway.
|
|
1335
|
+
background_color: runtime.brand.themeColor ?? JUN_NEUTRALS.stone[10],
|
|
1336
|
+
theme_color: runtime.brand.themeColor ?? JUN_NEUTRALS.stone[10],
|
|
1315
1337
|
// The module's own icon routes, unless the site named its own files.
|
|
1316
1338
|
// These used to be omitted entirely ("pointing the manifest at files
|
|
1317
1339
|
// a site does not have produces a broken install prompt rather than
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
dark:from-neutral-900/65 dark:to-neutral-900/45
|
|
11
11
|
border border-white/10 dark:border-white/5
|
|
12
12
|
ring-1 ring-black/5 dark:ring-white/10
|
|
13
|
-
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-bottom:env(safe-area-inset-bottom,0);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + env(safe-area-inset-bottom, 0px))}html[data-jun-dock=on] .jun-flow-page{padding-bottom:max(calc(var(--jun-nav-dock-h, 0px) + 1.5rem),var(--jun-safe-b,env(safe-area-inset-bottom,0px)))}body,html,html[data-jun-nav-menu=open]{overscroll-behavior:none}body,html{color-scheme:light dark;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}@media (display-mode:standalone){.jun-bar,.jun-nav,.jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root:not(.dark) body:before{background:var(--color-neutral-900);content:"";height:env(safe-area-inset-top,0);inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100dvh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-track{overscroll-behavior-x:contain;touch-action:pan-x pan-y}.jun-nav-track[data-jun-axis=vertical]{overscroll-behavior-y:contain;touch-action:pan-y}.jun-nav-armed,.jun-nav-panel{-webkit-touch-callout:none}.jun-nav-armed{box-shadow:0 10px 24px -8px rgba(0,0,0,.35);scale:1.12;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-track[data-jun-sep=on] [data-nav-id]{position:relative}.jun-nav-track[data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{background:currentColor;bottom:25%;content:"";left:calc(var(--jun-nav-gap, 1.5rem)/-2);opacity:.18;position:absolute;top:25%;width:1px}.jun-nav-track[data-jun-axis=vertical][data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{bottom:auto;height:1px;left:25%;right:25%;top:calc(var(--jun-nav-gap, .25rem)/-2);width:auto}.jun-nav-track[data-jun-fade=both]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-fade=start]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem);mask-image:linear-gradient(90deg,transparent,#000 2rem)}.jun-nav-track[data-jun-fade=end]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=both]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=start]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem);mask-image:linear-gradient(180deg,transparent,#000 1.5rem)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=end]{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent)}.jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-presence-dot{animation:jun-nav-dot-breathe 5s ease-in-out infinite}@keyframes jun-nav-dot-breathe{0%,to{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.jun-nav-presence-dot{animation:none}}.jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-menu-grab{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-dock{padding-bottom:var(--jun-safe-b,env(safe-area-inset-bottom,0));-webkit-touch-callout:none;background-color:color-mix(in srgb,var(--color-neutral-100) 88%,transparent)}:root.dark .jun-nav-dock{background-color:color-mix(in srgb,var(--color-neutral-900) 88%,transparent)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}:root{--jun-density:1}.jun-collection-intro .ProseMirror,.jun-entry-body .ProseMirror,.jun-item-body .ProseMirror,.jun-project-body .ProseMirror,.jun-thread-body .ProseMirror,.prose{line-height:calc(var(--jun-density)*1.65)}.jun-collection-intro .ProseMirror>*+*,.jun-entry-body .ProseMirror>*+*,.jun-item-body .ProseMirror>*+*,.jun-project-body .ProseMirror>*+*,.prose>*+*{margin-top:calc(.9em*var(--jun-density))}:root[data-jun-motion=reduced] *,:root[data-jun-motion=reduced] :after,:root[data-jun-motion=reduced] :before{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transform:none!important;transition-duration:.12s!important}:root[data-jun-motion=none] *,:root[data-jun-motion=none] :after,:root[data-jun-motion=none] :before{animation:none!important;scroll-behavior:auto!important;transform:none!important;transition:none!important}html[data-jun-chrome~=no-backdrop] .jun-blob-backdrop,html[data-jun-chrome~=no-backdrop] .jun-fallback-bg,html[data-jun-chrome~=no-backdrop] .jun-pattern-backdrop,html[data-jun-chrome~=no-backdrop] .jun-shader-backdrop,html[data-jun-chrome~=no-footer] .jun-footer,html[data-jun-chrome~=no-nav] .jun-nav-root{display:none}html[data-jun-hero=minimal] .jun-page-hero{align-items:baseline;margin-bottom:1.5rem}html[data-jun-hero=minimal] .jun-hero-title{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.3}html[data-jun-hero=minimal] .jun-hero-subtitle{font-size:.875rem;letter-spacing:.02em;margin-top:.25rem}html[data-jun-hero=banner] .jun-page-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-primary) 14%,transparent),color-mix(in srgb,var(--ui-primary) 4%,transparent) 60%,transparent);border-radius:1rem;margin-inline:-1rem;padding:1.75rem 1rem 1.5rem;position:relative}@media (min-width:640px){html[data-jun-hero=banner] .jun-page-hero{margin-inline:-1.5rem;padding:2.25rem 1.5rem 2rem}}html[data-jun-hero=banner] .jun-hero-subtitle{opacity:.85}@media (min-width:1024px){html[data-jun-hero=split] .jun-hero-lines{align-items:end;display:grid;gap:2rem;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}html[data-jun-hero=split] .jun-hero-subtitle{margin-top:0;padding-bottom:.35rem;text-align:right}}.jun-skip-link{background:var(--jun-canvas,#fff);border-radius:.6rem;box-shadow:0 2px 18px -4px rgba(0,0,0,.35);color:var(--ui-text-highlighted,inherit);font-size:.875rem;font-weight:500;left:-9999px;outline:2px solid currentColor;padding:.6rem 1rem;position:absolute;top:0;z-index:100}.jun-skip-link:focus{left:.75rem;top:calc(.75rem + env(safe-area-inset-top, 0px))}#jun-main:focus{outline:none}
|
|
13
|
+
shadow-lg shadow-black/10}}@layer base{.jun-app-floor{min-height:calc(100dvh - var(--jun-safe-t))}.jun-flow-page{padding-bottom:var(--jun-safe-b);padding-left:var(--jun-safe-l);padding-right:var(--jun-safe-r);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:calc(var(--jun-nav-rail-w, 0px) + var(--jun-safe-l))}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:calc(var(--jun-nav-rail-w, 0px) + var(--jun-safe-r))}html[data-jun-bar=float][data-jun-nav=bottom]:not([data-jun-dock=on]) .jun-flow-page{padding-bottom:calc(4.5rem + var(--jun-safe-b))}html[data-jun-bar=none][data-jun-nav=bottom]:not([data-jun-dock=on]) .jun-flow-page{padding-bottom:var(--jun-safe-b)}html[data-jun-bar=float]:not([data-jun-nav=bottom]) .jun-flow-page{padding-top:4.5rem}html[data-jun-bar=none]:not([data-jun-nav=bottom]) .jun-flow-page{padding-top:2rem}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + var(--jun-safe-b))}html[data-jun-dock=on] .jun-flow-page{padding-bottom:max(calc(var(--jun-nav-dock-h, 0px) + 1.5rem),var(--jun-safe-b))}html[data-jun-nav-menu=open]{overscroll-behavior:none}body,html{color-scheme:light dark;scroll-behavior:smooth}html[data-jun-pull=off],html[data-jun-pull=off] body{overscroll-behavior:none}html[data-jun-pull=on],html[data-jun-pull=on] body{overscroll-behavior-x:none;overscroll-behavior-y:auto}body{-webkit-tap-highlight-color:transparent;padding-top:var(--jun-safe-t);touch-action:manipulation}html[data-jun-zoom=app][data-jun-standalone],html[data-jun-zoom=app][data-jun-standalone] body,html[data-jun-zoom=locked],html[data-jun-zoom=locked] body{touch-action:pan-x pan-y!important}html[data-jun-zoom=app][data-jun-standalone] input,html[data-jun-zoom=app][data-jun-standalone] select,html[data-jun-zoom=app][data-jun-standalone] textarea,html[data-jun-zoom=locked] input,html[data-jun-zoom=locked] select,html[data-jun-zoom=locked] textarea{font-size:max(16px,1em)}html[data-jun-select=off] .jun-bar,html[data-jun-select=off] .jun-nav-dock,html[data-jun-select=off] .jun-nav-menu,html[data-jun-select=off] .jun-nav-root,html[data-jun-select=off] .jun-studio-bar,html[data-jun-standalone]:not([data-jun-select=on]) .jun-bar,html[data-jun-standalone]:not([data-jun-select=on]) .jun-nav-dock,html[data-jun-standalone]:not([data-jun-select=on]) .jun-nav-menu,html[data-jun-standalone]:not([data-jun-select=on]) .jun-nav-root,html[data-jun-standalone]:not([data-jun-select=on]) .jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}html[data-jun-standalone][data-jun-statusbar=auto]:not(.dark) body:before,html[data-jun-standalone][data-jun-statusbar=contrast] body:before{content:"";inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}html[data-jun-standalone][data-jun-statusbar=auto]:not(.dark) body:before{background:linear-gradient(180deg,rgba(0,0,0,.58) 0,rgba(0,0,0,.5) 45%,rgba(0,0,0,.14) 76%,transparent);height:calc(var(--jun-safe-t)*1.55)}html[data-jun-standalone][data-jun-statusbar=contrast] body:before{background:linear-gradient(to bottom,var(--color-neutral-900) 0,var(--color-neutral-900) calc(100% - 6px),transparent 100%);height:calc(var(--jun-safe-t) + 6px)}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound{height:100dvh;overflow:hidden}html.jun-viewport-bound body{height:calc(100dvh - var(--jun-safe-t));overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + var(--jun-safe-b))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + var(--jun-safe-b));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + var(--jun-safe-t))}.jun-player-sheet{bottom:calc(1.5rem + var(--jun-safe-b) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + var(--jun-safe-t) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-safe-t:env(safe-area-inset-top,0px);--jun-safe-r:env(safe-area-inset-right,0px);--jun-safe-b:env(safe-area-inset-bottom,0px);--jun-safe-l:env(safe-area-inset-left,0px);--a-safe-t:var(--jun-safe-t);--a-safe-r:var(--jun-safe-r);--a-safe-b:var(--jun-safe-b);--a-safe-l:var(--jun-safe-l);--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + var(--jun-safe-t));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-track{overscroll-behavior-x:contain;touch-action:pan-x pan-y}.jun-nav-track[data-jun-axis=vertical]{overscroll-behavior-y:contain;touch-action:pan-y}.jun-nav-armed,.jun-nav-panel{-webkit-touch-callout:none}.jun-nav-armed{box-shadow:0 10px 24px -8px rgba(0,0,0,.35);scale:1.12;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-track[data-jun-sep=on] [data-nav-id]{position:relative}.jun-nav-track[data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{background:currentColor;bottom:25%;content:"";left:calc(var(--jun-nav-gap, 1.5rem)/-2);opacity:.18;position:absolute;top:25%;width:1px}.jun-nav-track[data-jun-axis=vertical][data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{bottom:auto;height:1px;left:25%;right:25%;top:calc(var(--jun-nav-gap, .25rem)/-2);width:auto}.jun-nav-track[data-jun-fade=both]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-fade=start]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem);mask-image:linear-gradient(90deg,transparent,#000 2rem)}.jun-nav-track[data-jun-fade=end]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=both]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=start]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem);mask-image:linear-gradient(180deg,transparent,#000 1.5rem)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=end]{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent)}.jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-presence-dot{animation:jun-nav-dot-breathe 5s ease-in-out infinite}@keyframes jun-nav-dot-breathe{0%,to{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.jun-nav-presence-dot{animation:none}}.jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-menu-grab{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-dock{padding-bottom:var(--jun-safe-b);-webkit-touch-callout:none;background-color:color-mix(in srgb,var(--color-neutral-100) 88%,transparent)}:root.dark .jun-nav-dock{background-color:color-mix(in srgb,var(--color-neutral-900) 88%,transparent)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-left:var(--jun-safe-l);padding-right:var(--jun-safe-r);padding-top:var(--jun-safe-t)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + var(--jun-safe-b))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60dvh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100dvh - 4rem - var(--jun-safe-t) - var(--jun-safe-b)));left:calc(var(--jun-safe-l) + (100vw - var(--jun-safe-l) - var(--jun-safe-r))/2);max-height:none;max-width:none;overflow:hidden;position:fixed;top:calc(var(--jun-safe-t) + (100dvh - var(--jun-safe-t) - var(--jun-safe-b))/2);transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem - var(--jun-safe-l) - var(--jun-safe-r)))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem - var(--jun-safe-t) - var(--jun-safe-b));width:calc(100vw - 1rem - var(--jun-safe-l) - var(--jun-safe-r))}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + var(--jun-safe-l))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + var(--jun-safe-l))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + var(--jun-safe-r))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + var(--jun-safe-r))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + var(--jun-safe-b))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + var(--jun-safe-t))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}:root{--jun-density:1}.jun-collection-intro .ProseMirror,.jun-entry-body .ProseMirror,.jun-item-body .ProseMirror,.jun-project-body .ProseMirror,.jun-thread-body .ProseMirror,.prose{line-height:calc(var(--jun-density)*1.65)}.jun-collection-intro .ProseMirror>*+*,.jun-entry-body .ProseMirror>*+*,.jun-item-body .ProseMirror>*+*,.jun-project-body .ProseMirror>*+*,.prose>*+*{margin-top:calc(.9em*var(--jun-density))}:root[data-jun-motion=reduced] *,:root[data-jun-motion=reduced] :after,:root[data-jun-motion=reduced] :before{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transform:none!important;transition-duration:.12s!important}:root[data-jun-motion=none] *,:root[data-jun-motion=none] :after,:root[data-jun-motion=none] :before{animation:none!important;scroll-behavior:auto!important;transform:none!important;transition:none!important}html[data-jun-chrome~=no-nav] .jun-nav-root{display:none}@media (max-width:639.98px){.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{max-width:calc(100% - 1rem);width:-moz-max-content;width:max-content}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar])[data-jun-menu-side=left] .jun-nav-panel{margin-left:0;margin-right:auto}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]):not([data-jun-menu-side=left]) .jun-nav-panel{margin-left:auto;margin-right:0}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge]{left:0;padding:0!important;right:0}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge] .jun-nav-panel{padding-left:var(--jun-safe-l);padding-right:var(--jun-safe-r)}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]){top:0}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge][data-jun-nav-placement=bottom]{bottom:0}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge] .jun-nav-panel{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;max-width:none;width:100%}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) .jun-nav-panel{padding-top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] .jun-nav-panel{padding-bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) [data-jun-nav-slot=logo]{top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] [data-jun-nav-slot=logo]{bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{backdrop-filter:none;background:none;border-color:transparent;box-shadow:none;--tw-ring-shadow:0 0 transparent}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{backdrop-filter:blur(4px);background:linear-gradient(to bottom,var(--color-neutral-50),color-mix(in srgb,var(--color-neutral-50) 40%,transparent));border-radius:9999px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);pointer-events:auto}:root.dark .jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=logo],:root.dark .jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{background:linear-gradient(to bottom,var(--color-neutral-900),color-mix(in srgb,var(--color-neutral-900) 70%,transparent))}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=logo]{flex:none;inset:auto;position:relative}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=inset] [data-jun-nav-slot=track],.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=track]{margin-left:0}.jun-nav-root[data-jun-bp=sm][data-jun-bar-shape=split] [data-jun-nav-slot=title]{display:none}}@media (max-width:767.98px){.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{max-width:calc(100% - 1rem);width:-moz-max-content;width:max-content}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar])[data-jun-menu-side=left] .jun-nav-panel{margin-left:0;margin-right:auto}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]):not([data-jun-menu-side=left]) .jun-nav-panel{margin-left:auto;margin-right:0}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge]{left:0;padding:0!important;right:0}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge] .jun-nav-panel{padding-left:var(--jun-safe-l);padding-right:var(--jun-safe-r)}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]){top:0}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge][data-jun-nav-placement=bottom]{bottom:0}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge] .jun-nav-panel{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;max-width:none;width:100%}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) .jun-nav-panel{padding-top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] .jun-nav-panel{padding-bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) [data-jun-nav-slot=logo]{top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] [data-jun-nav-slot=logo]{bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{backdrop-filter:none;background:none;border-color:transparent;box-shadow:none;--tw-ring-shadow:0 0 transparent}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{backdrop-filter:blur(4px);background:linear-gradient(to bottom,var(--color-neutral-50),color-mix(in srgb,var(--color-neutral-50) 40%,transparent));border-radius:9999px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);pointer-events:auto}:root.dark .jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=logo],:root.dark .jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{background:linear-gradient(to bottom,var(--color-neutral-900),color-mix(in srgb,var(--color-neutral-900) 70%,transparent))}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=logo]{flex:none;inset:auto;position:relative}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=inset] [data-jun-nav-slot=track],.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=track]{margin-left:0}.jun-nav-root[data-jun-bp=md][data-jun-bar-shape=split] [data-jun-nav-slot=title]{display:none}}@media (max-width:1023.98px){.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{max-width:calc(100% - 1rem);width:-moz-max-content;width:max-content}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar])[data-jun-menu-side=left] .jun-nav-panel{margin-left:0;margin-right:auto}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset]:not([data-jun-nav-placement=top-bar]):not([data-jun-menu-side=left]) .jun-nav-panel{margin-left:auto;margin-right:0}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge]{left:0;padding:0!important;right:0}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge] .jun-nav-panel{padding-left:var(--jun-safe-l);padding-right:var(--jun-safe-r)}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]){top:0}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge][data-jun-nav-placement=bottom]{bottom:0}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge] .jun-nav-panel{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;max-width:none;width:100%}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) .jun-nav-panel{padding-top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] .jun-nav-panel{padding-bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge]:not([data-jun-nav-placement=bottom]) [data-jun-nav-slot=logo]{top:var(--jun-safe-t)}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=edge][data-jun-nav-placement=bottom] [data-jun-nav-slot=logo]{bottom:var(--jun-safe-b)}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split]:not([data-jun-nav-placement=top-bar]) .jun-nav-panel{backdrop-filter:none;background:none;border-color:transparent;box-shadow:none;--tw-ring-shadow:0 0 transparent}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{backdrop-filter:blur(4px);background:linear-gradient(to bottom,var(--color-neutral-50),color-mix(in srgb,var(--color-neutral-50) 40%,transparent));border-radius:9999px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);pointer-events:auto}:root.dark .jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=logo],:root.dark .jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=trigger]{background:linear-gradient(to bottom,var(--color-neutral-900),color-mix(in srgb,var(--color-neutral-900) 70%,transparent))}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset] [data-jun-nav-slot=logo],.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=logo]{flex:none;inset:auto;position:relative}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=inset] [data-jun-nav-slot=track],.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=title],.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=track]{margin-left:0}.jun-nav-root[data-jun-bp=lg][data-jun-bar-shape=split] [data-jun-nav-slot=title]{display:none}}.jun-nav-root[data-jun-nav-placement=bottom],.jun-nav-root[data-jun-nav-placement=top]{left:var(--jun-safe-l);right:var(--jun-safe-r);width:auto}.jun-safe-box{inset:var(--jun-safe-t) var(--jun-safe-r) var(--jun-safe-b) var(--jun-safe-l)}@media (pointer:coarse){.jun-tap{position:relative}.jun-tap:after{content:"";height:100%;left:50%;min-height:44px;min-width:44px;position:absolute;top:50%;translate:-50% -50%;width:100%}}html[data-jun-chrome~=no-backdrop] .jun-blob-backdrop,html[data-jun-chrome~=no-backdrop] .jun-fallback-bg,html[data-jun-chrome~=no-backdrop] .jun-pattern-backdrop,html[data-jun-chrome~=no-backdrop] .jun-shader-backdrop,html[data-jun-chrome~=no-footer] .jun-footer{display:none}html[data-jun-hero=minimal] .jun-page-hero{align-items:baseline;margin-bottom:1.5rem}html[data-jun-hero=minimal] .jun-hero-title{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.3}html[data-jun-hero=minimal] .jun-hero-subtitle{font-size:.875rem;letter-spacing:.02em;margin-top:.25rem}html[data-jun-hero=banner] .jun-page-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-primary) 14%,transparent),color-mix(in srgb,var(--ui-primary) 4%,transparent) 60%,transparent);border-radius:1rem;margin-inline:-1rem;padding:1.75rem 1rem 1.5rem;position:relative}@media (min-width:640px){html[data-jun-hero=banner] .jun-page-hero{margin-inline:-1.5rem;padding:2.25rem 1.5rem 2rem}}html[data-jun-hero=banner] .jun-hero-subtitle{opacity:.85}@media (min-width:1024px){html[data-jun-hero=split] .jun-hero-lines{align-items:end;display:grid;gap:2rem;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}html[data-jun-hero=split] .jun-hero-subtitle{margin-top:0;padding-bottom:.35rem;text-align:right}}.jun-skip-link{background:var(--jun-canvas,#fff);border-radius:.6rem;box-shadow:0 2px 18px -4px rgba(0,0,0,.35);color:var(--ui-text-highlighted,inherit);font-size:.875rem;font-weight:500;left:-9999px;outline:2px solid currentColor;padding:.6rem 1rem;position:absolute;top:0;z-index:100}.jun-skip-link:focus{left:.75rem;top:calc(.75rem + var(--jun-safe-t))}#jun-main:focus{outline:none}
|
|
@@ -100,7 +100,7 @@ const swipeStyle = computed(() => swipeOffset.value.x === 0 && !isSwiping.value
|
|
|
100
100
|
<div
|
|
101
101
|
v-else
|
|
102
102
|
ref="flowEl"
|
|
103
|
-
class="jun-flow-page
|
|
103
|
+
class="jun-flow-page jun-app-floor flex flex-col"
|
|
104
104
|
:style="swipeStyle"
|
|
105
105
|
>
|
|
106
106
|
<JunBreadcrumbs
|
|
@@ -15,6 +15,12 @@ const author = computed(() => str("authorName") ?? brand.name);
|
|
|
15
15
|
const ogImage = computed(() => str("seoOgImage"));
|
|
16
16
|
const lang = computed(() => str("seoLang") ?? brand.lang ?? "en");
|
|
17
17
|
const feedsEnabled = computed(() => features.feeds && junConfigOn(site.value.feedsEnabled));
|
|
18
|
+
const zoomLocked = computed(() => {
|
|
19
|
+
const stored = site.value.mobileZoom;
|
|
20
|
+
if (stored === "off") return true;
|
|
21
|
+
if (stored === "on" || stored === "app") return false;
|
|
22
|
+
return features.lockZoom === true;
|
|
23
|
+
});
|
|
18
24
|
const titleTemplate = computed(() => {
|
|
19
25
|
const tpl = str("seoTitleTemplate");
|
|
20
26
|
return (pageTitle) => {
|
|
@@ -47,11 +53,29 @@ useHead(() => ({
|
|
|
47
53
|
* Android and desktop readers who wanted bigger text while the benefit was
|
|
48
54
|
* collected on the one platform that was not listening.
|
|
49
55
|
*
|
|
50
|
-
* `
|
|
56
|
+
* `mobileZoom` is the owner's answer and `features.lockZoom` the build's
|
|
57
|
+
* default for it. Three values, because the honest answer to "should this
|
|
58
|
+
* site zoom" is different for a page in a tab and an app on a home screen:
|
|
59
|
+
*
|
|
60
|
+
* on — the default. Zoom everywhere. A website.
|
|
61
|
+
* app — a page in a browser zooms; the installed app does not.
|
|
62
|
+
* off — locked everywhere.
|
|
63
|
+
*
|
|
64
|
+
* This tag can only ever express the last one, and only for the browsers
|
|
65
|
+
* that honour it. `app` is enforced where it can be enforced — the
|
|
66
|
+
* `touch-action` rules and the `gesture*` listener in `useJunMobile` —
|
|
67
|
+
* because THIS tag is read once, at load, and cannot know at SSR time
|
|
68
|
+
* whether the request came from an install. `off` is stated here as well
|
|
69
|
+
* so a browser that does honour the flag never scales at all.
|
|
70
|
+
*
|
|
71
|
+
* `interactive-widget=resizes-content` is the on-screen keyboard: without
|
|
72
|
+
* it the keyboard OVERLAYS the layout viewport, so every `dvh`-sized
|
|
73
|
+
* surface and every bottom-anchored bar sits underneath it while somebody
|
|
74
|
+
* is typing into them — the guestbook's own composer among them.
|
|
51
75
|
*/
|
|
52
76
|
{
|
|
53
77
|
name: "viewport",
|
|
54
|
-
content:
|
|
78
|
+
content: zoomLocked.value ? "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, interactive-widget=resizes-content" : "width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"
|
|
55
79
|
},
|
|
56
80
|
{ name: "description", content: description.value },
|
|
57
81
|
{ name: "author", content: author.value },
|
|
@@ -59,8 +83,15 @@ useHead(() => ({
|
|
|
59
83
|
// than a reactive one. A light page under a dark status bar reads as a
|
|
60
84
|
// rendering bug on mobile, and the JS form gets it wrong for the first
|
|
61
85
|
// paint — before hydration there is no colour mode to read.
|
|
62
|
-
|
|
63
|
-
|
|
86
|
+
//
|
|
87
|
+
// The VALUES are `--jun-canvas`, per scheme, and they were not: a hard
|
|
88
|
+
// `#ffffff` on light against a page painted `#f5f5f4`, and the brand's
|
|
89
|
+
// `#0e0f11` on dark against `#0c0a09`. A phone browser tints its toolbar
|
|
90
|
+
// with this, so both were a seam across the top of every page — the same
|
|
91
|
+
// fault `--jun-canvas` was introduced to close on `<html>`, `<body>` and
|
|
92
|
+
// the backdrops, on the one surface CSS cannot reach. See `junCanvasColors`.
|
|
93
|
+
{ key: "theme-color-light", name: "theme-color", media: "(prefers-color-scheme: light)", content: identity.value.canvasLight },
|
|
94
|
+
{ key: "theme-color-dark", name: "theme-color", media: "(prefers-color-scheme: dark)", content: identity.value.canvasDark },
|
|
64
95
|
// PWA app chrome.
|
|
65
96
|
//
|
|
66
97
|
// Both capability metas, and BOTH are needed: `mobile-web-app-capable` is
|
|
@@ -396,5 +396,5 @@ function fmt(s) {
|
|
|
396
396
|
</template>
|
|
397
397
|
|
|
398
398
|
<style scoped>
|
|
399
|
-
.jun-timeline{height:54px;margin-bottom:
|
|
399
|
+
.jun-timeline{height:54px;margin-bottom:var(--jun-safe-b);transition:height .3s ease,background-color .3s ease,border-color .3s ease,color .3s ease}.jun-timeline:has(.jun-waypoint:focus),.jun-timeline:hover{height:min(var(--jun-tl-expanded,120px),45vh)}.jun-timeline:has(.jun-waypoint:focus) .jun-timeline-scroll,.jun-timeline:hover .jun-timeline-scroll{overflow-y:auto}.jun-tl-fade-enter-active{transition:opacity .5s ease}.jun-tl-fade-enter-from{opacity:0}.jun-tl-ctrl{align-items:center;backdrop-filter:blur(6px);border-radius:9999px;display:flex;height:2rem;justify-content:center;opacity:0;position:absolute;top:14px;transition:opacity .3s ease,background-color .2s ease,color .2s ease;width:2rem;z-index:5}.group\/tl:hover .jun-tl-ctrl{opacity:1}.jun-shimmer{animation:jun-shimmer 3s linear infinite;background:linear-gradient(90deg,transparent 0,color-mix(in srgb,var(--shimmer,#fff) 75%,#fff) 50%,transparent 100%);inset:0;position:absolute;transform:translateX(-100%)}.jun-connector:hover .jun-shimmer{animation-duration:1.5s}@keyframes jun-shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.jun-connector.is-pulsing{animation:jun-conn-pulse .6s ease}@keyframes jun-conn-pulse{0%{transform:scaleY(1)}50%{filter:brightness(1.4);transform:scaleY(2.2)}to{transform:scaleY(1)}}.jun-orb-ring{background:radial-gradient(circle at center,color-mix(in srgb,var(--c,#e4e4e7) 60%,transparent) 0,transparent 65%);transition:filter .3s ease}.jun-orb-core{background:color-mix(in srgb,var(--c,#e4e4e7) 55%,#fff)}.jun-waypoint.is-selected .jun-orb-core,.jun-waypoint:hover .jun-orb-core{background:var(--c,#fff)}.jun-waypoint.is-selected .jun-orb-ring,.jun-waypoint:hover .jun-orb-ring{filter:brightness(1.4)}.jun-waypoint{transition:opacity .3s ease,filter .3s ease}.jun-waypoint.is-future,.jun-waypoint.is-past{filter:saturate(.7);opacity:.5}.jun-waypoint.is-future:hover,.jun-waypoint.is-past:hover{filter:none;opacity:.9}.jun-waypoint.is-selected{opacity:1}.jun-timeline-scroll::-webkit-scrollbar{display:none}.jun-timeline-scroll{scrollbar-width:none}@media (prefers-reduced-motion:reduce){.jun-connector.is-pulsing,.jun-shimmer{animation:none}}
|
|
400
400
|
</style>
|
|
@@ -357,7 +357,7 @@ useEventListener("touchend", () => {
|
|
|
357
357
|
controls
|
|
358
358
|
playsinline
|
|
359
359
|
preload="metadata"
|
|
360
|
-
class="max-h-[
|
|
360
|
+
class="max-h-[86dvh] max-w-[92vw] cursor-auto rounded-xl shadow-2xl shadow-black/25"
|
|
361
361
|
@click.stop
|
|
362
362
|
/>
|
|
363
363
|
</div>
|
|
@@ -366,9 +366,14 @@ useEventListener("touchend", () => {
|
|
|
366
366
|
<!-- Chrome on its OWN fixed layer above the stage. The stage is z-[81]
|
|
367
367
|
and outside the overlay's stacking context, so chrome placed inside
|
|
368
368
|
the z-[80] overlay sat underneath it and was unclickable. -->
|
|
369
|
+
<!-- `jun-safe-box` insets this layer by the four safe-area values, so the
|
|
370
|
+
arrows and the counter stay off the notch and the home indicator. The
|
|
371
|
+
DARKENING layer above deliberately keeps `inset-0` — a lightbox that
|
|
372
|
+
left four pale strips around the screen would be the opposite of
|
|
373
|
+
immersive. Only the layer holding controls is inset. -->
|
|
369
374
|
<div
|
|
370
375
|
v-if="showChrome && count > 1"
|
|
371
|
-
class="pointer-events-none fixed inset-0 z-[82]"
|
|
376
|
+
class="jun-safe-box pointer-events-none fixed inset-0 z-[82]"
|
|
372
377
|
>
|
|
373
378
|
<button
|
|
374
379
|
type="button"
|
|
@@ -189,7 +189,7 @@ const panelClass = computed(() => {
|
|
|
189
189
|
case "grid":
|
|
190
190
|
return "inset-0";
|
|
191
191
|
default:
|
|
192
|
-
return "inset-x-0 bottom-0 max-h-[
|
|
192
|
+
return "inset-x-0 bottom-0 max-h-[85dvh] rounded-t-2xl";
|
|
193
193
|
}
|
|
194
194
|
});
|
|
195
195
|
const transitionName = computed(() => {
|
|
@@ -279,7 +279,7 @@ const offlineOffered = computed(() => pwa && offline.enabled && effectiveConfig.
|
|
|
279
279
|
|
|
280
280
|
<nav
|
|
281
281
|
class="min-h-0 flex-1 overflow-y-auto overscroll-contain px-3 pb-3"
|
|
282
|
-
:style="{ paddingBottom: 'calc(0.75rem +
|
|
282
|
+
:style="{ paddingBottom: 'calc(0.75rem + var(--jun-safe-b))' }"
|
|
283
283
|
>
|
|
284
284
|
<!-- GRID is a launcher, so it stays ONE SCREEN deep and drills
|
|
285
285
|
rather than nesting: the tile opens the page, the chevron opens
|
|
@@ -430,7 +430,7 @@ const offlineOffered = computed(() => pwa && offline.enabled && effectiveConfig.
|
|
|
430
430
|
<footer
|
|
431
431
|
v-if="hasExtras"
|
|
432
432
|
class="flex flex-none items-center gap-2 border-t border-black/5 px-4 py-3 dark:border-white/10"
|
|
433
|
-
:style="{ paddingBottom: 'calc(0.75rem +
|
|
433
|
+
:style="{ paddingBottom: 'calc(0.75rem + var(--jun-safe-b))' }"
|
|
434
434
|
>
|
|
435
435
|
<button
|
|
436
436
|
v-if="features.search"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { JunNavMobileMode, JunNavOverflow, JunNavPlacement } from '../types.js';
|
|
1
|
+
import type { JunNavMobileBar, JunNavMobileMode, JunNavOverflow, JunNavPlacement } from '../types.js';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/** What to draw. Exactly one of these is honoured, in this order. */
|
|
4
|
+
bar?: JunNavMobileBar;
|
|
4
5
|
mobile?: JunNavMobileMode;
|
|
5
6
|
overflow?: JunNavOverflow;
|
|
6
7
|
placement?: JunNavPlacement;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
const props = defineProps({
|
|
4
|
+
bar: { type: String, required: false },
|
|
4
5
|
mobile: { type: String, required: false },
|
|
5
6
|
overflow: { type: String, required: false },
|
|
6
7
|
placement: { type: String, required: false },
|
|
@@ -9,6 +10,7 @@ const props = defineProps({
|
|
|
9
10
|
});
|
|
10
11
|
const ITEMS = [0, 1, 2, 3, 4];
|
|
11
12
|
const kind = computed(() => {
|
|
13
|
+
if (props.bar) return `bar:${props.bar}`;
|
|
12
14
|
if (props.mobile) return `mobile:${props.mobile}`;
|
|
13
15
|
if (props.overflow) return `overflow:${props.overflow}`;
|
|
14
16
|
if (props.placement) return `placement:${props.placement}`;
|
|
@@ -46,10 +48,35 @@ const shape = computed(() => {
|
|
|
46
48
|
return "items-wrapped";
|
|
47
49
|
case "overflow:shrink":
|
|
48
50
|
return "dots";
|
|
51
|
+
// The six phone-bar shapes. Each one is drawn as what it actually is, so
|
|
52
|
+
// the six thumbnails read as six different phones rather than six labels.
|
|
53
|
+
case "bar:bar":
|
|
54
|
+
return "bar-mark-trigger";
|
|
55
|
+
case "bar:inset":
|
|
56
|
+
return "bar-mark-trigger";
|
|
57
|
+
case "bar:edge":
|
|
58
|
+
return "bar-mark-trigger";
|
|
59
|
+
case "bar:split":
|
|
60
|
+
return "bar-split";
|
|
61
|
+
case "bar:float":
|
|
62
|
+
return "bar-float";
|
|
63
|
+
case "bar:none":
|
|
64
|
+
return "bar-none";
|
|
49
65
|
default:
|
|
50
66
|
return "items";
|
|
51
67
|
}
|
|
52
68
|
});
|
|
69
|
+
const barShape = computed(() => props.bar ? props.bar : null);
|
|
70
|
+
const barBoxClass = computed(() => {
|
|
71
|
+
switch (barShape.value) {
|
|
72
|
+
case "inset":
|
|
73
|
+
return "right-1 top-1 h-2.5 w-1/2 rounded-sm";
|
|
74
|
+
case "edge":
|
|
75
|
+
return "inset-x-0 top-0 h-3 rounded-none";
|
|
76
|
+
default:
|
|
77
|
+
return "inset-x-1 top-1 h-2.5 rounded-sm";
|
|
78
|
+
}
|
|
79
|
+
});
|
|
53
80
|
const overlay = computed(() => {
|
|
54
81
|
switch (kind.value) {
|
|
55
82
|
case "mobile:sheet":
|
|
@@ -106,8 +133,15 @@ const overlay = computed(() => {
|
|
|
106
133
|
/>
|
|
107
134
|
</div>
|
|
108
135
|
|
|
109
|
-
<!-- The bar itself.
|
|
136
|
+
<!-- The bar itself. A phone-bar SHAPE draws its own box (or none at all);
|
|
137
|
+
everything else keeps the shared geometry. -->
|
|
138
|
+
<div
|
|
139
|
+
v-if="barShape && barShape !== 'split' && barShape !== 'float' && barShape !== 'none'"
|
|
140
|
+
class="absolute bg-current opacity-30"
|
|
141
|
+
:class="barBoxClass"
|
|
142
|
+
/>
|
|
110
143
|
<div
|
|
144
|
+
v-else-if="!barShape"
|
|
111
145
|
class="absolute flex items-center gap-0.5 rounded-sm bg-current opacity-30"
|
|
112
146
|
:class="[
|
|
113
147
|
isRail ? 'inset-y-1 w-2.5 flex-col justify-center py-1' : 'inset-x-1 h-2.5 justify-center px-1',
|
|
@@ -118,9 +152,35 @@ const overlay = computed(() => {
|
|
|
118
152
|
]"
|
|
119
153
|
/>
|
|
120
154
|
|
|
155
|
+
<!-- The bar shapes' CONTENTS, in their own boxes. Drawn here rather than in
|
|
156
|
+
the shared contents layer below because two of them are not in a bar. -->
|
|
157
|
+
<template v-if="barShape">
|
|
158
|
+
<!-- A mark and a trigger, inside whichever box was drawn above. -->
|
|
159
|
+
<div
|
|
160
|
+
v-if="shape === 'bar-mark-trigger'"
|
|
161
|
+
class="absolute flex items-center justify-between"
|
|
162
|
+
:class="barShape === 'inset' ? 'right-1 top-1 h-2.5 w-1/2 px-1' : barShape === 'edge' ? 'inset-x-0 top-0 h-3 px-1' : 'inset-x-1 top-1 h-2.5 px-1'"
|
|
163
|
+
>
|
|
164
|
+
<span class="size-[3px] rounded-full bg-current opacity-90" />
|
|
165
|
+
<span class="h-[3px] w-[3px] rounded-[1px] bg-current opacity-80" />
|
|
166
|
+
</div>
|
|
167
|
+
<!-- Two discs, and the page running between them. -->
|
|
168
|
+
<template v-else-if="shape === 'bar-split'">
|
|
169
|
+
<span class="absolute left-1 top-1 size-2 rounded-full bg-current opacity-40" />
|
|
170
|
+
<span class="absolute right-1 top-1 size-2 rounded-full bg-current opacity-40" />
|
|
171
|
+
</template>
|
|
172
|
+
<!-- One disc, in the corner the trigger lives in. -->
|
|
173
|
+
<span
|
|
174
|
+
v-else-if="shape === 'bar-float'"
|
|
175
|
+
class="absolute bottom-1 right-1 size-2.5 rounded-full bg-current opacity-40"
|
|
176
|
+
/>
|
|
177
|
+
<!-- `none` draws nothing at all, which is the point. -->
|
|
178
|
+
</template>
|
|
179
|
+
|
|
121
180
|
<!-- …and what is IN it, drawn over the bar in the page's own ink so the
|
|
122
181
|
two read as bar and contents rather than one block. -->
|
|
123
182
|
<div
|
|
183
|
+
v-if="!barShape"
|
|
124
184
|
class="absolute flex items-center gap-[2px]"
|
|
125
185
|
:class="[
|
|
126
186
|
isRail ? 'inset-y-1 w-2.5 flex-col justify-center' : 'inset-x-1 h-2.5 justify-center px-1.5',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { JunNavMobileMode, JunNavOverflow, JunNavPlacement } from '../types.js';
|
|
1
|
+
import type { JunNavMobileBar, JunNavMobileMode, JunNavOverflow, JunNavPlacement } from '../types.js';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/** What to draw. Exactly one of these is honoured, in this order. */
|
|
4
|
+
bar?: JunNavMobileBar;
|
|
4
5
|
mobile?: JunNavMobileMode;
|
|
5
6
|
overflow?: JunNavOverflow;
|
|
6
7
|
placement?: JunNavPlacement;
|