Files
rose-ash/shared/static/wasm/sx/orchestration.sxbc
giles e0070041d6 Add .sxbc s-expression bytecode format
Bytecode modules are now serialized as s-expressions (.sxbc) in addition
to JSON (.sxbc.json). The .sxbc format is the canonical representation —
content-addressable, parseable by the SX parser, and suitable for CID
referencing. Annotation layers (source maps, variable names, tests, docs)
can reference the bytecode CID without polluting the bytecode itself.

Format: (sxbc version hash (code :arity N :bytecode (...) :constants (...)))

The browser loader tries .sxbc first (via load-sxbc kernel primitive),
falls back to .sxbc.json. Caddy needs .sxbc MIME type to serve the new
format (currently 404s, JSON fallback works).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 14:16:22 +00:00

1194 lines
49 KiB
Plaintext

(sxbc 1 "1056e285184b2535"
(code
:bytecode (52 1 0 0 128 0 0 5 1 3 0 128 2 0 5 51 5 0 128 4 0 5 51 7 0 128 6 0 5 51 9 0 128 8 0 5 51 11 0 128 10 0 5 51 13 0 128 12 0 5 51 15 0 128 14 0 5 51 17 0 128 16 0 5 51 19 0 128 18 0 5 51 21 0 128 20 0 5 51 23 0 128 22 0 5 51 25 0 128 24 0 5 51 27 0 128 26 0 5 51 29 0 128 28 0 5 51 31 0 128 30 0 5 51 33 0 128 32 0 5 51 35 0 128 34 0 5 51 37 0 128 36 0 5 52 1 0 0 128 38 0 5 1 40 0 128 39 0 5 51 42 0 128 41 0 5 51 44 0 128 43 0 5 51 46 0 128 45 0 5 51 48 0 128 47 0 5 51 50 0 128 49 0 5 51 52 0 128 51 0 5 51 54 0 128 53 0 5 52 1 0 0 128 55 0 5 51 57 0 128 56 0 5 51 59 0 128 58 0 5 51 61 0 128 60 0 5 51 63 0 128 62 0 5 3 128 64 0 5 52 66 0 0 128 65 0 5 51 68 0 128 67 0 5 51 70 0 128 69 0 5 51 72 0 128 71 0 5 51 74 0 128 73 0 5 51 76 0 128 75 0 5 51 78 0 128 77 0 5 51 80 0 128 79 0 5 51 82 0 128 81 0 5 51 84 0 128 83 0 5 51 86 0 128 85 0 5 51 88 0 128 87 0 5 51 90 0 128 89 0 5 51 92 0 128 91 0 5 51 94 0 128 93 0 5 51 96 0 128 95 0 5 51 98 0 128 97 0 5 51 100 0 128 99 0 5 51 102 0 128 101 0 5 1 105 0 52 104 0 1 128 103 0 5 51 107 0 128 106 0 5 51 109 0 128 108 0 5 51 111 0 128 110 0 5 51 113 0 128 112 0 5 51 115 0 128 114 0 50)
:constants (
"_preload-cache"
"dict"
"_css-hash"
""
"dispatch-trigger-events"
(code :arity 2
:bytecode (16 1 33 55 0 20 0 0 16 1 48 1 17 2 16 2 33 20 0 51 2 0 1 0 1 2 16 2 52 3 0 1 52 1 0 2 32 18 0 51 4 0 1 0 16 1 1 6 0 52 5 0 2 52 1 0 2 32 1 0 2 50)
:constants (
"try-parse-json"
"for-each"
(code :arity 1 :upvalue-count 2
:bytecode (20 0 0 18 0 16 0 18 1 16 0 52 1 0 2 49 3 50)
:constants (
"dom-dispatch"
"get"))
"keys"
(code :arity 1 :upvalue-count 1
:bytecode (16 0 52 0 0 1 17 1 16 1 52 2 0 1 52 1 0 1 33 16 0 20 3 0 18 0 16 1 52 4 0 0 49 3 32 1 0 2 50)
:constants (
"trim"
"not"
"empty?"
"dom-dispatch"
"dict"))
"split"
","))
"init-css-tracking"
(code
:bytecode (20 0 0 1 1 0 48 1 17 0 16 0 33 29 0 20 2 0 16 0 1 3 0 48 2 17 1 16 1 33 8 0 16 1 21 4 0 32 1 0 2 32 1 0 2 50)
:constants (
"dom-query"
"meta[name=\"sx-css-classes\"]"
"dom-get-attr"
"content"
"_css-hash"))
"execute-request"
(code :arity 3
:bytecode (20 0 0 16 0 48 1 6 34 3 0 5 16 1 17 3 16 3 52 1 0 1 33 9 0 20 2 0 2 49 1 32 249 0 16 3 1 4 0 52 3 0 2 17 4 16 3 1 5 0 52 3 0 2 17 5 20 6 0 16 0 1 7 0 48 2 17 6 16 6 6 33 12 0 5 20 9 0 16 6 48 1 52 8 0 1 33 9 0 20 2 0 2 49 1 32 185 0 20 6 0 16 0 1 10 0 48 2 17 6 16 6 6 33 12 0 5 20 11 0 16 6 48 1 52 8 0 1 33 9 0 20 2 0 2 49 1 32 143 0 20 6 0 16 0 1 12 0 48 2 17 6 16 6 33 10 0 20 13 0 16 6 48 1 32 1 0 2 17 7 16 6 6 33 7 0 5 16 7 52 1 0 1 33 9 0 20 2 0 2 49 1 32 88 0 16 4 52 1 0 1 6 34 23 0 5 16 5 52 1 0 1 6 34 12 0 5 20 14 0 16 0 48 1 52 8 0 1 33 9 0 20 2 0 2 49 1 32 43 0 20 15 0 16 0 16 4 16 4 16 5 16 7 33 23 0 16 2 6 34 5 0 5 52 17 0 0 1 18 0 16 7 52 16 0 3 32 2 0 16 2 49 5 50)
:constants (
"get-verb-info"
"nil?"
"promise-resolve"
"get"
"method"
"url"
"dom-get-attr"
"sx-media"
"not"
"browser-media-matches?"
"sx-confirm"
"browser-confirm"
"sx-prompt"
"browser-prompt"
"validate-for-request"
"do-fetch"
"assoc"
"dict"
"SX-Prompt"))
"do-fetch"
(code :arity 5
:bytecode (20 0 0 16 0 1 1 0 48 2 17 5 16 5 1 3 0 52 2 0 2 33 10 0 20 4 0 16 0 48 1 32 1 0 2 5 20 5 0 16 0 48 1 17 6 16 6 6 33 13 0 5 16 0 16 6 52 7 0 2 52 6 0 1 33 10 0 20 8 0 16 6 48 1 32 1 0 2 5 20 9 0 48 0 17 6 20 10 0 16 0 16 6 48 2 5 20 5 0 16 0 48 1 17 7 16 7 33 12 0 20 11 0 16 7 16 6 48 2 32 1 0 2 5 20 12 0 16 0 16 2 16 3 48 3 17 7 16 7 1 14 0 52 13 0 2 17 8 16 7 1 15 0 52 13 0 2 17 9 16 7 1 16 0 52 13 0 2 17 10 20 17 0 16 0 20 18 0 48 0 20 19 0 48 3 17 11 20 20 0 48 0 17 12 16 4 33 20 0 51 22 0 1 11 1 4 16 4 52 23 0 1 52 21 0 2 32 1 0 2 5 16 10 33 14 0 16 11 1 25 0 16 10 52 24 0 3 32 1 0 2 5 16 12 33 14 0 16 11 1 26 0 16 12 52 24 0 3 32 1 0 2 5 20 27 0 20 28 0 16 8 48 2 17 13 20 29 0 16 0 48 1 17 14 20 30 0 16 0 48 1 17 15 20 31 0 16 0 48 1 17 16 20 32 0 16 0 1 33 0 48 2 5 20 34 0 16 0 1 35 0 1 36 0 48 3 5 20 37 0 16 0 1 38 0 1 14 0 16 8 1 40 0 16 2 52 39 0 4 48 3 5 20 41 0 1 14 0 16 8 1 40 0 16 2 1 42 0 16 11 1 15 0 16 9 1 43 0 20 44 0 16 6 48 1 1 45 0 20 46 0 16 8 48 1 1 47 0 16 13 52 39 0 14 51 48 0 1 0 1 15 1 16 1 14 1 8 1 1 1 4 1 2 51 49 0 1 0 1 15 1 16 1 14 1 2 1 8 49 3 50)
:constants (
"dom-get-attr"
"sx-sync"
"="
"replace"
"abort-previous"
"resolve-target"
"not"
"identical?"
"abort-previous-target"
"new-abort-controller"
"track-controller"
"track-controller-target"
"build-request-body"
"get"
"url"
"body"
"content-type"
"build-request-headers"
"loaded-component-names"
"_css-hash"
"csrf-token"
"for-each"
(code :arity 1 :upvalue-count 2
:bytecode (18 0 16 0 18 1 16 0 52 1 0 2 52 0 0 3 50)
:constants (
"dict-set!"
"get"))
"keys"
"dict-set!"
"Content-Type"
"X-CSRFToken"
"preload-cache-get"
"_preload-cache"
"apply-optimistic"
"show-indicator"
"disable-elements"
"dom-add-class"
"sx-request"
"dom-set-attr"
"aria-busy"
"true"
"dom-dispatch"
"sx:beforeRequest"
"dict"
"method"
"fetch-request"
"headers"
"signal"
"controller-signal"
"cross-origin"
"cross-origin?"
"preloaded"
(code :arity 4 :upvalue-count 8
:bytecode (20 0 0 18 0 18 1 18 2 48 3 5 20 1 0 18 3 48 1 5 16 0 52 2 0 1 33 86 0 20 3 0 18 0 1 4 0 1 6 0 16 1 1 7 0 16 3 52 5 0 4 48 3 5 16 3 6 33 14 0 5 16 3 52 9 0 1 1 10 0 52 8 0 2 33 20 0 20 11 0 18 0 18 4 18 5 18 6 16 2 16 3 49 6 32 15 0 20 12 0 18 0 18 5 18 7 18 4 18 6 49 5 32 37 0 20 3 0 18 0 1 13 0 1 6 0 16 1 52 5 0 2 48 3 5 20 11 0 18 0 18 4 18 5 18 6 16 2 16 3 49 6 50)
:constants (
"clear-loading-state"
"revert-optimistic"
"not"
"dom-dispatch"
"sx:responseError"
"dict"
"status"
"text"
">"
"len"
0
"handle-fetch-success"
"handle-retry"
"sx:afterRequest"))
(code :arity 1 :upvalue-count 6
:bytecode (20 0 0 18 0 18 1 18 2 48 3 5 20 1 0 18 3 48 1 5 20 3 0 16 0 48 1 52 2 0 1 33 47 0 20 4 0 1 6 0 18 4 1 7 0 18 5 1 8 0 16 0 52 5 0 6 48 1 5 20 9 0 18 0 1 10 0 1 12 0 16 0 52 11 0 2 49 3 32 1 0 2 50)
:constants (
"clear-loading-state"
"revert-optimistic"
"not"
"abort-error?"
"log-warn"
"str"
"sx:fetch error "
" "
" — "
"dom-dispatch"
"sx:requestError"
"dict"
"error"))))
"handle-fetch-success"
(code :arity 6
:bytecode (20 0 0 16 4 48 1 17 6 16 6 1 2 0 52 1 0 2 17 7 16 7 33 8 0 16 7 21 3 0 32 1 0 2 5 20 4 0 16 0 16 6 1 5 0 52 1 0 2 48 2 5 20 6 0 16 0 16 6 16 5 48 3 5 16 6 1 7 0 52 1 0 2 33 17 0 20 8 0 16 6 1 7 0 52 1 0 2 49 1 32 31 1 16 6 1 9 0 52 1 0 2 33 8 0 20 10 0 49 0 32 11 1 16 6 1 11 0 52 1 0 2 33 17 0 20 12 0 16 6 1 11 0 52 1 0 2 49 1 32 238 0 16 6 1 13 0 52 1 0 2 33 17 0 20 14 0 16 6 1 13 0 52 1 0 2 48 1 32 7 0 20 15 0 16 0 48 1 17 7 20 16 0 16 6 1 17 0 52 1 0 2 6 34 11 0 5 20 18 0 16 0 1 19 0 48 2 20 20 0 20 21 0 48 0 1 22 0 48 2 48 2 17 8 16 8 1 23 0 52 1 0 2 17 9 16 8 1 24 0 52 1 0 2 17 10 16 6 1 25 0 52 1 0 2 6 34 4 0 5 1 26 0 17 11 16 11 1 28 0 52 27 0 2 33 18 0 20 29 0 16 0 16 7 16 5 16 9 16 10 48 5 32 15 0 20 30 0 16 0 16 7 16 5 16 9 16 10 48 5 5 20 4 0 16 0 16 6 1 31 0 52 1 0 2 48 2 5 20 32 0 16 0 16 1 16 6 48 3 5 20 33 0 51 34 0 1 6 1 0 1 35 0 48 2 5 20 36 0 16 0 1 37 0 1 39 0 16 7 1 40 0 16 9 52 38 0 4 49 3 50)
:constants (
"process-response-headers"
"get"
"css-hash"
"_css-hash"
"dispatch-trigger-events"
"trigger"
"process-cache-directives"
"redirect"
"browser-navigate"
"refresh"
"browser-reload"
"location"
"fetch-location"
"retarget"
"dom-query"
"resolve-target"
"parse-swap-spec"
"reswap"
"dom-get-attr"
"sx-swap"
"dom-has-class?"
"dom-body"
"sx-transitions"
"style"
"transition"
"content-type"
""
"contains?"
"text/sx"
"handle-sx-response"
"handle-html-response"
"trigger-swap"
"handle-history"
"set-timeout"
(code :upvalue-count 2
:bytecode (18 0 1 1 0 52 0 0 2 33 19 0 20 2 0 18 1 18 0 1 1 0 52 0 0 2 48 2 32 1 0 2 5 20 3 0 18 1 49 1 50)
:constants (
"get"
"trigger-settle"
"dispatch-trigger-events"
"process-settle-hooks"))
20
"dom-dispatch"
"sx:afterSwap"
"dict"
"target"
"swap"))
"handle-sx-response"
(code :arity 5
:bytecode (20 0 0 16 2 48 1 17 5 20 1 0 16 5 48 1 17 6 16 6 52 2 0 1 17 7 16 7 52 4 0 1 52 3 0 1 33 106 0 20 5 0 16 7 48 1 17 8 20 6 0 1 7 0 2 48 2 17 9 20 8 0 16 9 16 8 48 2 5 20 9 0 16 9 51 10 0 48 2 5 20 11 0 16 0 1 12 0 48 2 17 10 16 10 33 12 0 20 13 0 16 9 16 10 48 2 32 7 0 20 14 0 16 9 48 1 17 11 20 15 0 16 1 48 1 5 20 16 0 16 4 51 17 0 1 1 1 11 1 3 49 2 32 1 0 2 50)
:constants (
"strip-component-scripts"
"extract-response-css"
"trim"
"not"
"empty?"
"sx-render"
"dom-create-element"
"div"
"dom-append"
"process-oob-swaps"
(code :arity 3
:bytecode (20 0 0 16 0 48 1 5 20 1 0 16 0 16 1 16 2 48 3 5 20 2 0 16 0 48 1 5 20 3 0 16 0 49 1 50)
:constants (
"dispose-islands-in"
"swap-dom-nodes"
"sx-hydrate"
"process-elements"))
"dom-get-attr"
"sx-select"
"select-from-container"
"children-to-fragment"
"dispose-islands-in"
"with-transition"
(code :upvalue-count 3
:bytecode (20 0 0 18 0 18 1 18 2 48 3 17 0 20 1 0 16 0 6 34 3 0 5 18 0 49 1 50)
:constants (
"swap-dom-nodes"
"post-swap"))))
"handle-html-response"
(code :arity 5
:bytecode (20 0 0 16 2 48 1 17 5 16 5 33 119 0 20 1 0 16 0 1 2 0 48 2 17 6 20 3 0 16 1 48 1 5 16 6 33 30 0 20 4 0 16 5 16 6 48 2 17 7 20 5 0 16 4 51 6 0 1 1 1 7 1 3 49 2 32 61 0 20 7 0 1 8 0 2 48 2 17 7 20 9 0 16 7 20 10 0 16 5 48 1 48 2 5 20 11 0 16 7 51 12 0 48 2 5 20 13 0 16 7 48 1 5 20 5 0 16 4 51 14 0 1 1 1 7 1 3 49 2 32 1 0 2 50)
:constants (
"dom-parse-html-document"
"dom-get-attr"
"sx-select"
"dispose-islands-in"
"select-html-from-doc"
"with-transition"
(code :upvalue-count 3
:bytecode (20 0 0 18 0 18 1 18 2 48 3 5 20 1 0 18 0 49 1 50)
:constants (
"swap-html-string"
"post-swap"))
"dom-create-element"
"div"
"dom-set-inner-html"
"dom-body-inner-html"
"process-oob-swaps"
(code :arity 3
:bytecode (20 0 0 16 0 48 1 5 20 1 0 16 0 16 1 16 2 48 3 5 20 2 0 16 0 49 1 50)
:constants (
"dispose-islands-in"
"swap-dom-nodes"
"post-swap"))
"hoist-head-elements"
(code :upvalue-count 3
:bytecode (20 0 0 18 0 20 1 0 18 1 48 1 18 2 48 3 5 20 2 0 18 0 49 1 50)
:constants (
"swap-dom-nodes"
"children-to-fragment"
"post-swap"))))
"handle-retry"
(code :arity 5
:bytecode (20 0 0 16 0 1 1 0 48 2 17 5 20 2 0 16 5 48 1 17 6 16 6 33 97 0 20 0 0 16 0 1 3 0 48 2 6 34 10 0 5 16 6 1 5 0 52 4 0 2 17 7 16 7 16 6 1 5 0 52 4 0 2 52 6 0 2 17 8 20 7 0 16 0 1 3 0 20 9 0 16 8 16 6 1 10 0 52 4 0 2 48 2 52 8 0 1 48 3 5 20 11 0 51 12 0 1 0 1 1 1 2 1 3 1 4 16 8 49 2 32 1 0 2 50)
:constants (
"dom-get-attr"
"sx-retry"
"parse-retry-spec"
"data-sx-retry-ms"
"get"
"start-ms"
"parse-int"
"dom-set-attr"
"str"
"next-retry-ms"
"cap-ms"
"set-timeout"
(code :upvalue-count 5
:bytecode (20 0 0 18 0 18 1 18 2 18 3 18 4 49 5 50)
:constants (
"do-fetch"))))
"bind-triggers"
(code :arity 2
:bytecode (20 0 0 20 1 0 16 0 1 2 0 48 2 48 1 6 34 13 0 5 20 3 0 20 4 0 16 0 48 1 48 1 17 2 51 6 0 1 0 1 1 16 2 52 5 0 2 50)
:constants (
"parse-trigger-spec"
"dom-get-attr"
"sx-trigger"
"default-trigger"
"dom-tag-name"
"for-each"
(code :arity 1 :upvalue-count 2
:bytecode (20 0 0 16 0 48 1 17 1 16 0 1 2 0 52 1 0 2 17 2 16 1 1 4 0 52 3 0 2 33 22 0 20 5 0 51 6 0 0 0 16 2 1 7 0 52 1 0 2 49 2 32 152 0 16 1 1 8 0 52 3 0 2 33 25 0 20 9 0 18 0 51 6 0 0 0 4 16 2 1 10 0 52 1 0 2 49 4 32 115 0 16 1 1 11 0 52 3 0 2 33 30 0 20 12 0 51 6 0 0 0 16 2 1 10 0 52 1 0 2 6 34 4 0 5 1 13 0 49 2 32 73 0 16 1 1 14 0 52 3 0 2 33 25 0 20 9 0 18 0 51 6 0 0 0 3 16 2 1 10 0 52 1 0 2 49 4 32 36 0 16 1 1 15 0 52 3 0 2 33 23 0 20 16 0 18 0 16 0 1 15 0 52 1 0 2 16 2 18 1 49 4 32 1 0 2 50)
:constants (
"classify-trigger"
"get"
"modifiers"
"="
"poll"
"set-interval"
(code :upvalue-count 1
:bytecode (20 0 0 18 0 2 2 49 3 50)
:constants (
"execute-request"))
"interval"
"intersect"
"observe-intersection"
"delay"
"load"
"set-timeout"
0
"revealed"
"event"
"bind-event"))))
"bind-event"
(code :arity 4
:bytecode (2 17 4 2 17 5 16 2 1 1 0 52 0 0 2 33 17 0 20 2 0 16 2 1 1 0 52 0 0 2 48 1 32 2 0 16 0 17 6 16 6 33 49 0 20 3 0 16 6 16 1 51 4 0 1 2 1 0 1 5 1 1 1 4 16 2 1 5 0 52 0 0 2 33 11 0 1 5 0 3 52 6 0 2 32 1 0 2 49 4 32 1 0 2 50)
:constants (
"get"
"from"
"dom-query"
"dom-add-listener"
(code :arity 1 :upvalue-count 5
:bytecode (3 17 1 18 0 1 1 0 52 0 0 2 33 33 0 20 2 0 18 1 48 1 17 2 16 2 18 2 52 3 0 2 33 6 0 4 17 1 32 4 0 16 2 19 2 32 1 0 2 5 16 1 6 33 26 0 5 18 3 1 5 0 52 3 0 2 6 33 8 0 5 20 6 0 16 0 48 1 52 4 0 1 33 36 1 18 3 1 7 0 52 3 0 2 6 34 25 0 5 18 3 1 5 0 52 3 0 2 6 33 11 0 5 20 8 0 18 1 1 9 0 48 2 33 10 0 20 10 0 16 0 48 1 32 1 0 2 5 20 11 0 18 1 48 1 17 2 18 3 1 5 0 52 3 0 2 6 33 50 0 5 16 2 1 12 0 52 0 0 2 1 13 0 52 3 0 2 6 33 29 0 5 20 8 0 18 1 1 9 0 48 2 6 33 14 0 5 18 0 1 14 0 52 0 0 2 52 4 0 1 17 3 4 17 4 16 3 33 34 0 20 15 0 20 16 0 16 2 1 17 0 52 0 0 2 48 1 20 18 0 18 1 1 19 0 48 2 48 2 17 4 32 1 0 2 5 16 4 33 29 0 20 20 0 16 2 1 17 0 52 0 0 2 48 1 5 20 21 0 1 22 0 1 22 0 49 2 32 84 0 16 3 33 24 0 20 23 0 1 25 0 16 2 1 17 0 52 0 0 2 52 24 0 2 48 1 32 1 0 2 5 18 0 1 14 0 52 0 0 2 33 32 0 20 26 0 18 4 48 1 5 20 27 0 51 28 0 0 1 18 0 1 14 0 52 0 0 2 48 2 19 4 32 9 0 20 29 0 18 1 2 2 49 3 32 1 0 2 50)
:constants (
"get"
"changed"
"dom-value"
"="
"not"
"click"
"event-modifier-key?"
"submit"
"dom-has-attr?"
"href"
"prevent-default"
"get-verb-info"
"method"
"GET"
"delay"
"try-client-route"
"url-pathname"
"url"
"dom-get-attr"
"sx-target"
"browser-push-state"
"browser-scroll-to"
0
"log-info"
"str"
"sx:route server fetch "
"clear-timeout"
"set-timeout"
(code :upvalue-count 1
:bytecode (20 0 0 18 0 2 2 49 3 50)
:constants (
"execute-request"))
"execute-request"))
"once"
"dict"))
"post-swap"
(code :arity 1
:bytecode (20 0 0 1 2 0 16 0 33 10 0 20 3 0 16 0 48 1 32 3 0 1 4 0 52 1 0 2 48 1 5 20 5 0 16 0 48 1 5 20 6 0 16 0 48 1 5 20 7 0 16 0 48 1 5 20 8 0 16 0 48 1 5 20 9 0 48 0 5 20 10 0 16 0 49 1 50)
:constants (
"log-info"
"str"
"post-swap: root="
"dom-tag-name"
"nil"
"activate-scripts"
"sx-process-scripts"
"sx-hydrate"
"sx-hydrate-islands"
"run-post-render-hooks"
"process-elements"))
"process-settle-hooks"
(code :arity 1
:bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 6 33 11 0 5 16 1 52 3 0 1 52 2 0 1 33 21 0 20 4 0 16 1 48 1 17 2 51 6 0 16 2 52 5 0 2 32 1 0 2 50)
:constants (
"dom-get-attr"
"sx-on-settle"
"not"
"empty?"
"sx-parse"
"for-each"
(code :arity 1
:bytecode (20 0 0 16 0 20 1 0 52 2 0 0 48 1 49 2 50)
:constants (
"eval-expr"
"env-extend"
"dict"))))
"activate-scripts"
(code :arity 1
:bytecode (16 0 33 24 0 20 0 0 16 0 1 1 0 48 2 17 1 51 3 0 16 1 52 2 0 2 32 1 0 2 50)
:constants (
"dom-query-all"
"script"
"for-each"
(code :arity 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 6 33 15 0 5 20 1 0 16 0 1 3 0 48 2 52 0 0 1 33 42 0 20 4 0 16 0 48 1 17 1 20 5 0 16 1 1 3 0 1 6 0 48 3 5 20 7 0 20 8 0 16 0 48 1 16 1 16 0 49 3 32 1 0 2 50)
:constants (
"not"
"dom-has-attr?"
"data-components"
"data-sx-activated"
"create-script-clone"
"dom-set-attr"
"true"
"dom-replace-child"
"dom-parent"))))
"process-oob-swaps"
(code :arity 2
:bytecode (20 0 0 16 0 48 1 17 2 51 2 0 1 1 16 2 52 1 0 2 50)
:constants (
"find-oob-swaps"
"for-each"
(code :arity 1 :upvalue-count 1
:bytecode (16 0 1 1 0 52 0 0 2 17 1 20 2 0 16 1 48 1 17 2 16 0 1 3 0 52 0 0 2 17 3 16 0 1 4 0 52 0 0 2 17 4 20 5 0 16 3 48 1 33 17 0 20 6 0 20 5 0 16 3 48 1 16 3 48 2 32 1 0 2 5 16 2 33 13 0 18 0 16 2 16 3 16 4 49 3 32 1 0 2 50)
:constants (
"get"
"target-id"
"dom-query-by-id"
"element"
"swap-type"
"dom-parent"
"dom-remove-child"))))
"hoist-head-elements"
(code :arity 1
:bytecode (51 1 0 20 2 0 16 0 1 3 0 48 2 52 0 0 2 5 51 1 0 20 2 0 16 0 1 4 0 48 2 52 0 0 2 50)
:constants (
"for-each"
(code :arity 1
:bytecode (20 0 0 16 0 48 1 33 17 0 20 1 0 20 0 0 16 0 48 1 16 0 48 2 32 1 0 2 5 20 2 0 16 0 49 1 50)
:constants (
"dom-parent"
"dom-remove-child"
"dom-append-to-head"))
"dom-query-all"
"style[data-sx-css]"
"link[rel=\"stylesheet\"]"))
"process-boosted"
(code :arity 1
:bytecode (51 1 0 20 2 0 16 0 6 34 6 0 5 20 3 0 48 0 1 4 0 48 2 52 0 0 2 50)
:constants (
"for-each"
(code :arity 1
:bytecode (20 0 0 16 0 49 1 50)
:constants (
"boost-descendants"))
"dom-query-all"
"dom-body"
"[sx-boost]"))
"boost-descendants"
(code :arity 1
:bytecode (20 0 0 16 0 1 1 0 48 2 17 1 51 3 0 1 1 20 4 0 16 0 1 5 0 48 2 52 2 0 2 5 51 6 0 1 1 20 4 0 16 0 1 7 0 48 2 52 2 0 2 50)
:constants (
"dom-get-attr"
"sx-boost"
"for-each"
(code :arity 1 :upvalue-count 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 6 33 8 0 5 20 3 0 16 0 48 1 33 160 0 20 4 0 16 0 1 2 0 48 2 5 20 5 0 16 0 1 6 0 48 2 52 0 0 1 6 33 21 0 5 18 0 6 33 14 0 5 18 0 1 8 0 52 7 0 2 52 0 0 1 33 15 0 20 9 0 16 0 1 6 0 18 0 48 3 32 1 0 2 5 20 5 0 16 0 1 10 0 48 2 52 0 0 1 33 16 0 20 9 0 16 0 1 10 0 1 11 0 48 3 32 1 0 2 5 20 5 0 16 0 1 12 0 48 2 52 0 0 1 33 16 0 20 9 0 16 0 1 12 0 1 8 0 48 3 32 1 0 2 5 20 13 0 16 0 20 14 0 16 0 1 15 0 48 2 49 2 32 1 0 2 50)
:constants (
"not"
"is-processed?"
"boost"
"should-boost-link?"
"mark-processed!"
"dom-has-attr?"
"sx-target"
"="
"true"
"dom-set-attr"
"sx-swap"
"innerHTML"
"sx-push-url"
"bind-client-route-link"
"dom-get-attr"
"href"))
"dom-query-all"
"a[href]"
(code :arity 1 :upvalue-count 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 6 33 8 0 5 20 3 0 16 0 48 1 33 165 0 20 4 0 16 0 1 2 0 48 2 5 20 6 0 16 0 1 7 0 48 2 6 34 4 0 5 1 8 0 52 5 0 1 17 1 20 6 0 16 0 1 9 0 48 2 6 34 6 0 5 20 10 0 48 0 17 2 20 11 0 16 0 1 12 0 48 2 52 0 0 1 6 33 21 0 5 18 0 6 33 14 0 5 18 0 1 14 0 52 13 0 2 52 0 0 1 33 15 0 20 15 0 16 0 1 12 0 18 0 48 3 32 1 0 2 5 20 11 0 16 0 1 16 0 48 2 52 0 0 1 33 16 0 20 15 0 16 0 1 16 0 1 17 0 48 3 32 1 0 2 5 20 18 0 16 0 16 1 16 2 49 3 32 1 0 2 50)
:constants (
"not"
"is-processed?"
"boost"
"should-boost-form?"
"mark-processed!"
"upper"
"dom-get-attr"
"method"
"GET"
"action"
"browser-location-href"
"dom-has-attr?"
"sx-target"
"="
"true"
"dom-set-attr"
"sx-swap"
"innerHTML"
"bind-boost-form"))
"form"))
"_page-data-cache"
"_page-data-cache-ttl"
30000
"page-data-cache-key"
(code :arity 2
:bytecode (16 0 17 2 16 1 52 0 0 1 6 34 11 0 5 16 1 52 2 0 1 52 1 0 1 33 5 0 16 2 32 42 0 52 3 0 0 17 3 51 5 0 1 3 1 1 16 1 52 2 0 1 52 4 0 2 5 16 2 1 7 0 1 9 0 16 3 52 8 0 2 52 6 0 3 50)
:constants (
"nil?"
"empty?"
"keys"
"list"
"for-each"
(code :arity 1 :upvalue-count 2
:bytecode (20 0 0 18 0 16 0 1 2 0 18 1 16 0 52 3 0 2 52 1 0 3 49 2 50)
:constants (
"append!"
"str"
"="
"get"))
"str"
":"
"join"
"&"))
"page-data-cache-get"
(code :arity 1
:bytecode (20 1 0 16 0 52 0 0 2 17 1 16 1 52 2 0 1 33 4 0 2 32 52 0 20 5 0 48 0 16 1 1 6 0 52 0 0 2 52 4 0 2 20 7 0 52 3 0 2 33 15 0 20 1 0 16 0 2 52 8 0 3 5 2 32 9 0 16 1 1 9 0 52 0 0 2 50)
:constants (
"get"
"_page-data-cache"
"nil?"
">"
"-"
"now-ms"
"ts"
"_page-data-cache-ttl"
"dict-set!"
"data"))
"page-data-cache-set"
(code :arity 2
:bytecode (20 1 0 16 0 1 2 0 16 1 1 3 0 20 4 0 48 0 65 2 0 52 0 0 3 50)
:constants (
"dict-set!"
"_page-data-cache"
"data"
"ts"
"now-ms"))
"invalidate-page-cache"
(code :arity 1
:bytecode (51 1 0 1 0 20 3 0 52 2 0 1 52 0 0 2 5 20 4 0 1 5 0 1 6 0 1 7 0 16 0 65 2 0 48 1 5 20 8 0 1 10 0 16 0 52 9 0 2 49 1 50)
:constants (
"for-each"
(code :arity 1 :upvalue-count 1
:bytecode (16 0 18 0 52 0 0 2 6 34 16 0 5 16 0 18 0 1 3 0 52 2 0 2 52 1 0 2 33 13 0 20 5 0 16 0 2 52 4 0 3 32 1 0 2 50)
:constants (
"="
"starts-with?"
"str"
":"
"dict-set!"
"_page-data-cache"))
"keys"
"_page-data-cache"
"sw-post-message"
"type"
"invalidate"
"page"
"log-info"
"str"
"sx:cache invalidate "))
"invalidate-all-page-cache"
(code
:bytecode (52 0 0 0 21 1 0 5 20 2 0 1 3 0 1 4 0 1 5 0 1 6 0 65 2 0 48 1 5 20 7 0 1 8 0 49 1 50)
:constants (
"dict"
"_page-data-cache"
"sw-post-message"
"type"
"invalidate"
"page"
"*"
"log-info"
"sx:cache invalidate *"))
"update-page-cache"
(code :arity 2
:bytecode (20 0 0 16 0 52 1 0 0 48 2 17 2 20 2 0 16 2 16 1 48 2 5 20 3 0 1 5 0 16 0 52 4 0 2 49 1 50)
:constants (
"page-data-cache-key"
"dict"
"page-data-cache-set"
"log-info"
"str"
"sx:cache update "))
"process-cache-directives"
(code :arity 3
:bytecode (20 0 0 16 0 1 1 0 48 2 17 3 16 3 33 30 0 16 3 1 3 0 52 2 0 2 33 8 0 20 4 0 48 0 32 7 0 20 5 0 16 3 48 1 32 1 0 2 5 16 1 1 7 0 52 6 0 2 17 3 16 3 33 30 0 16 3 1 3 0 52 2 0 2 33 8 0 20 4 0 48 0 32 7 0 20 5 0 16 3 48 1 32 1 0 2 5 16 1 1 8 0 52 6 0 2 17 3 16 3 33 30 0 20 9 0 16 2 48 1 17 4 16 4 33 12 0 20 10 0 16 3 16 4 49 2 32 1 0 2 32 1 0 2 50)
:constants (
"dom-get-attr"
"sx-cache-invalidate"
"="
"*"
"invalidate-all-page-cache"
"invalidate-page-cache"
"get"
"cache-invalidate"
"cache-update"
"parse-sx-data"
"update-page-cache"))
"_optimistic-snapshots"
"optimistic-cache-update"
(code :arity 2
:bytecode (20 0 0 16 0 48 1 17 2 16 2 33 35 0 16 1 16 2 48 1 17 3 20 2 0 16 0 16 2 52 1 0 3 5 20 3 0 16 0 16 3 48 2 5 16 3 32 1 0 2 50)
:constants (
"page-data-cache-get"
"dict-set!"
"_optimistic-snapshots"
"page-data-cache-set"))
"optimistic-cache-revert"
(code :arity 1
:bytecode (20 1 0 16 0 52 0 0 2 17 1 16 1 33 25 0 20 2 0 16 0 16 1 48 2 5 20 1 0 16 0 52 3 0 2 5 16 1 32 1 0 2 50)
:constants (
"get"
"_optimistic-snapshots"
"page-data-cache-set"
"dict-delete!"))
"optimistic-cache-confirm"
(code :arity 1
:bytecode (20 1 0 16 0 52 0 0 2 50)
:constants (
"dict-delete!"
"_optimistic-snapshots"))
"submit-mutation"
(code :arity 6
:bytecode (20 0 0 16 0 16 1 48 2 17 6 20 1 0 16 6 16 4 48 2 17 7 16 7 33 14 0 20 2 0 16 0 16 1 16 7 48 3 32 1 0 2 5 20 3 0 16 2 16 3 51 4 0 1 6 1 0 1 1 1 5 51 5 0 1 6 1 0 1 1 1 5 49 4 50)
:constants (
"page-data-cache-key"
"optimistic-cache-update"
"try-rerender-page"
"execute-action"
(code :arity 1 :upvalue-count 4
:bytecode (16 0 33 12 0 20 0 0 18 0 16 0 48 2 32 1 0 2 5 20 1 0 18 0 48 1 5 16 0 33 14 0 20 2 0 18 1 18 2 16 0 48 3 32 1 0 2 5 20 3 0 1 5 0 18 1 52 4 0 2 48 1 5 18 3 33 10 0 18 3 1 6 0 49 1 32 1 0 2 50)
:constants (
"page-data-cache-set"
"optimistic-cache-confirm"
"try-rerender-page"
"log-info"
"str"
"sx:optimistic confirmed "
"confirmed"))
(code :arity 1 :upvalue-count 4
:bytecode (20 0 0 18 0 48 1 17 1 16 1 33 14 0 20 1 0 18 1 18 2 16 1 48 3 32 1 0 2 5 20 2 0 1 4 0 18 1 1 5 0 16 0 52 3 0 4 48 1 5 18 3 33 10 0 18 3 1 6 0 49 1 32 1 0 2 50)
:constants (
"optimistic-cache-revert"
"try-rerender-page"
"log-warn"
"str"
"sx:optimistic reverted "
": "
"reverted"))))
"_is-online"
"_offline-queue"
"list"
"offline-is-online?"
(code
:bytecode (20 0 0 50)
:constants (
"_is-online"))
"offline-set-online!"
(code :arity 1
:bytecode (16 0 21 0 0 50)
:constants (
"_is-online"))
"offline-queue-mutation"
(code :arity 5
:bytecode (20 0 0 16 2 16 3 48 2 17 5 1 2 0 16 0 1 3 0 16 1 1 4 0 16 2 1 5 0 16 3 1 6 0 20 7 0 48 0 1 8 0 1 9 0 52 1 0 12 17 6 20 10 0 20 11 0 16 6 48 2 5 20 12 0 16 5 16 4 48 2 17 7 16 7 33 14 0 20 13 0 16 2 16 3 16 7 48 3 32 1 0 2 5 20 14 0 1 16 0 16 0 1 17 0 20 11 0 52 18 0 1 1 19 0 52 15 0 5 48 1 5 16 6 50)
:constants (
"page-data-cache-key"
"dict"
"action"
"payload"
"page"
"params"
"timestamp"
"now-ms"
"status"
"pending"
"append!"
"_offline-queue"
"optimistic-cache-update"
"try-rerender-page"
"log-info"
"str"
"sx:offline queued "
" ("
"len"
" pending)"))
"offline-sync"
(code
:bytecode (51 1 0 20 2 0 52 0 0 2 17 0 16 0 52 4 0 1 52 3 0 1 33 34 0 20 5 0 1 7 0 16 0 52 8 0 1 1 9 0 52 6 0 3 48 1 5 51 11 0 16 0 52 10 0 2 32 1 0 2 50)
:constants (
"filter"
(code :arity 1
:bytecode (16 0 1 2 0 52 1 0 2 1 3 0 52 0 0 2 50)
:constants (
"="
"get"
"status"
"pending"))
"_offline-queue"
"not"
"empty?"
"log-info"
"str"
"sx:offline syncing "
"len"
" mutations"
"for-each"
(code :arity 1
:bytecode (20 0 0 16 0 1 2 0 52 1 0 2 16 0 1 3 0 52 1 0 2 51 4 0 1 0 51 5 0 1 0 49 4 50)
:constants (
"execute-action"
"get"
"action"
"payload"
(code :arity 1 :upvalue-count 1
:bytecode (18 0 1 1 0 1 2 0 52 0 0 3 5 20 3 0 1 5 0 18 0 1 7 0 52 6 0 2 52 4 0 2 49 1 50)
:constants (
"dict-set!"
"status"
"synced"
"log-info"
"str"
"sx:offline synced "
"get"
"action"))
(code :arity 1 :upvalue-count 1
:bytecode (18 0 1 1 0 1 2 0 52 0 0 3 5 20 3 0 1 5 0 18 0 1 7 0 52 6 0 2 1 8 0 16 0 52 4 0 4 49 1 50)
:constants (
"dict-set!"
"status"
"failed"
"log-warn"
"str"
"sx:offline sync failed "
"get"
"action"
": "))))))
"offline-pending-count"
(code
:bytecode (51 2 0 20 3 0 52 1 0 2 52 0 0 1 50)
:constants (
"len"
"filter"
(code :arity 1
:bytecode (16 0 1 2 0 52 1 0 2 1 3 0 52 0 0 2 50)
:constants (
"="
"get"
"status"
"pending"))
"_offline-queue"))
"offline-aware-mutation"
(code :arity 6
:bytecode (20 0 0 33 20 0 20 1 0 16 0 16 1 16 2 16 3 16 4 16 5 49 6 32 32 0 20 2 0 16 2 16 3 16 0 16 1 16 4 48 5 5 16 5 33 10 0 16 5 1 3 0 49 1 32 1 0 2 50)
:constants (
"_is-online"
"submit-mutation"
"offline-queue-mutation"
"queued"))
"current-page-layout"
(code
:bytecode (20 0 0 20 1 0 48 0 48 1 17 0 20 2 0 16 0 20 3 0 48 2 17 1 16 1 52 4 0 1 33 6 0 1 5 0 32 17 0 16 1 1 7 0 52 6 0 2 6 34 4 0 5 1 5 0 50)
:constants (
"url-pathname"
"browser-location-href"
"find-matching-route"
"_page-routes"
"nil?"
""
"get"
"layout"))
"swap-rendered-content"
(code :arity 3
:bytecode (20 0 0 16 0 48 1 5 20 1 0 16 0 1 2 0 48 2 5 20 3 0 16 0 16 1 48 2 5 20 4 0 16 0 48 1 5 20 5 0 16 0 48 1 5 20 6 0 16 0 48 1 5 20 7 0 16 0 48 1 5 20 8 0 48 0 5 20 9 0 16 0 1 10 0 1 12 0 16 2 52 11 0 2 48 3 5 20 13 0 1 15 0 16 2 52 14 0 2 49 1 50)
:constants (
"dispose-islands-in"
"dom-set-text-content"
""
"dom-append"
"hoist-head-elements-full"
"process-elements"
"sx-hydrate-elements"
"sx-hydrate-islands"
"run-post-render-hooks"
"dom-dispatch"
"sx:clientRoute"
"dict"
"pathname"
"log-info"
"str"
"sx:route client "))
"resolve-route-target"
(code :arity 1
:bytecode (16 0 6 33 14 0 5 16 0 1 2 0 52 1 0 2 52 0 0 1 33 10 0 20 3 0 16 0 49 1 32 1 0 2 50)
:constants (
"not"
"="
"true"
"dom-query"))
"deps-satisfied?"
(code :arity 1
:bytecode (16 0 1 1 0 52 0 0 2 17 1 20 2 0 48 0 17 2 16 1 52 3 0 1 6 34 7 0 5 16 1 52 4 0 1 33 4 0 3 32 11 0 51 6 0 1 2 16 1 52 5 0 2 50)
:constants (
"get"
"deps"
"loaded-component-names"
"nil?"
"empty?"
"every?"
(code :arity 1 :upvalue-count 1
:bytecode (18 0 16 0 52 0 0 2 50)
:constants (
"contains?"))))
"try-client-route"
(code :arity 2
:bytecode (20 0 0 16 0 20 1 0 48 2 17 2 16 2 52 2 0 1 33 29 0 20 3 0 1 5 0 20 1 0 52 6 0 1 1 7 0 16 0 52 4 0 4 48 1 5 4 32 233 2 16 2 1 9 0 52 8 0 2 6 34 4 0 5 1 10 0 17 3 20 11 0 48 0 17 4 16 3 16 4 52 13 0 2 52 12 0 1 33 29 0 20 3 0 1 14 0 16 4 1 15 0 16 3 1 16 0 16 0 52 4 0 6 48 1 5 4 32 163 2 16 2 1 17 0 52 8 0 2 17 5 16 2 1 18 0 52 8 0 2 6 34 4 0 5 65 0 0 17 6 16 2 1 19 0 52 8 0 2 17 7 16 2 1 20 0 52 8 0 2 17 8 16 5 52 2 0 1 6 34 7 0 5 16 5 52 21 0 1 33 19 0 20 22 0 1 23 0 16 0 52 4 0 2 48 1 5 4 32 72 2 20 24 0 16 1 48 1 17 9 16 9 52 2 0 1 33 19 0 20 22 0 1 25 0 16 1 52 4 0 2 48 1 5 4 32 35 2 20 26 0 16 2 48 1 52 12 0 1 33 19 0 20 3 0 1 27 0 16 8 52 4 0 2 48 1 5 4 32 2 2 16 2 1 28 0 52 8 0 2 17 10 16 10 6 33 11 0 5 16 10 52 21 0 1 52 12 0 1 17 11 16 2 1 29 0 52 8 0 2 17 12 16 12 33 78 0 16 12 1 30 0 52 8 0 2 6 34 5 0 5 52 31 0 0 17 13 16 12 1 32 0 52 8 0 2 6 34 5 0 5 52 31 0 0 17 14 20 3 0 1 33 0 16 8 1 34 0 16 13 52 6 0 1 1 35 0 16 14 52 6 0 1 1 36 0 52 4 0 7 48 1 32 1 0 2 5 16 11 33 10 0 20 37 0 16 10 48 1 32 1 0 2 5 16 2 1 38 0 52 8 0 2 33 44 0 20 3 0 1 39 0 16 0 52 4 0 2 48 1 5 20 40 0 16 9 16 0 20 41 0 16 9 20 42 0 48 0 20 43 0 48 3 48 3 5 3 32 59 1 16 2 1 44 0 52 8 0 2 33 194 0 20 45 0 16 8 16 7 48 2 17 13 20 46 0 16 13 48 1 17 14 16 14 33 123 0 16 6 16 7 16 14 52 47 0 3 17 15 16 11 33 36 0 20 3 0 1 48 0 16 0 52 4 0 2 48 1 5 20 49 0 16 5 16 15 51 50 0 1 0 1 9 48 3 5 3 32 67 0 20 51 0 16 5 16 15 48 2 17 16 16 16 52 2 0 1 33 19 0 20 22 0 1 52 0 16 0 52 4 0 2 48 1 5 4 32 28 0 20 3 0 1 53 0 16 0 52 4 0 2 48 1 5 20 54 0 16 9 16 16 16 0 48 3 5 3 32 43 0 20 3 0 1 55 0 16 0 52 4 0 2 48 1 5 20 56 0 16 8 16 7 51 57 0 1 13 1 6 1 7 1 11 1 5 1 0 1 9 48 3 5 3 32 109 0 16 11 33 42 0 20 3 0 1 58 0 16 0 52 4 0 2 48 1 5 20 49 0 16 5 16 6 16 7 52 47 0 2 51 59 0 1 0 1 9 48 3 5 3 32 62 0 16 6 16 7 52 47 0 2 17 13 20 51 0 16 5 16 13 48 2 17 14 16 14 52 2 0 1 33 19 0 20 3 0 1 60 0 16 0 52 4 0 2 48 1 5 4 32 13 0 20 54 0 16 9 16 14 16 0 48 3 5 3 50)
:constants (
"find-matching-route"
"_page-routes"
"nil?"
"log-info"
"str"
"sx:route no match ("
"len"
" routes) "
"get"
"layout"
""
"current-page-layout"
"not"
"="
"sx:route server (layout: "
" -> "
") "
"content"
"closure"
"params"
"name"
"empty?"
"log-warn"
"sx:route no content for "
"resolve-route-target"
"sx:route target not found: "
"deps-satisfied?"
"sx:route deps miss for "
"io-deps"
"render-plan"
"server"
"list"
"client"
"sx:route plan "
" — "
" server, "
" client"
"register-io-deps"
"stream"
"sx:route streaming "
"fetch-streaming"
"build-request-headers"
"loaded-component-names"
"_css-hash"
"has-data"
"page-data-cache-key"
"page-data-cache-get"
"merge"
"sx:route client+cache+async "
"try-async-eval-content"
(code :arity 1 :upvalue-count 2
:bytecode (16 0 52 0 0 1 33 48 0 20 1 0 1 3 0 18 0 1 4 0 52 2 0 3 48 1 5 20 5 0 18 1 18 0 20 6 0 18 1 20 7 0 48 0 20 8 0 48 3 1 9 0 49 4 32 11 0 20 10 0 18 1 16 0 18 0 49 3 50)
:constants (
"nil?"
"log-warn"
"str"
"sx:route cache+async eval failed for "
" — server fallback"
"fetch-and-restore"
"build-request-headers"
"loaded-component-names"
"_css-hash"
0
"swap-rendered-content"))
"try-eval-content"
"sx:route cached eval failed for "
"sx:route client+cache "
"swap-rendered-content"
"sx:route client+data "
"resolve-page-data"
(code :arity 1 :upvalue-count 7
:bytecode (20 0 0 18 0 16 0 48 2 5 18 1 18 2 16 0 52 1 0 3 17 1 18 3 33 19 0 20 2 0 18 4 16 1 51 3 0 0 5 0 6 49 3 32 79 0 20 4 0 18 4 16 1 48 2 17 2 16 2 52 5 0 1 33 48 0 20 6 0 1 8 0 18 5 1 9 0 52 7 0 3 48 1 5 20 10 0 18 6 18 5 20 11 0 18 6 20 12 0 48 0 20 13 0 48 3 1 14 0 49 4 32 11 0 20 15 0 18 6 16 2 18 5 49 3 50)
:constants (
"page-data-cache-set"
"merge"
"try-async-eval-content"
(code :arity 1 :upvalue-count 2
:bytecode (16 0 52 0 0 1 33 48 0 20 1 0 1 3 0 18 0 1 4 0 52 2 0 3 48 1 5 20 5 0 18 1 18 0 20 6 0 18 1 20 7 0 48 0 20 8 0 48 3 1 9 0 49 4 32 11 0 20 10 0 18 1 16 0 18 0 49 3 50)
:constants (
"nil?"
"log-warn"
"str"
"sx:route data+async eval failed for "
" — server fallback"
"fetch-and-restore"
"build-request-headers"
"loaded-component-names"
"_css-hash"
0
"swap-rendered-content"))
"try-eval-content"
"nil?"
"log-warn"
"str"
"sx:route data eval failed for "
" — server fallback"
"fetch-and-restore"
"build-request-headers"
"loaded-component-names"
"_css-hash"
0
"swap-rendered-content"))
"sx:route client+async "
(code :arity 1 :upvalue-count 2
:bytecode (16 0 52 0 0 1 33 48 0 20 1 0 1 3 0 18 0 1 4 0 52 2 0 3 48 1 5 20 5 0 18 1 18 0 20 6 0 18 1 20 7 0 48 0 20 8 0 48 3 1 9 0 49 4 32 11 0 20 10 0 18 1 16 0 18 0 49 3 50)
:constants (
"nil?"
"log-warn"
"str"
"sx:route async eval failed for "
" — server fallback"
"fetch-and-restore"
"build-request-headers"
"loaded-component-names"
"_css-hash"
0
"swap-rendered-content"))
"sx:route server (eval failed) "))
"bind-client-route-link"
(code :arity 2
:bytecode (20 0 0 16 0 16 1 51 1 0 1 0 1 1 49 3 50)
:constants (
"bind-client-route-click"
(code :upvalue-count 2
:bytecode (20 0 0 18 0 18 1 49 2 50)
:constants (
"bind-boost-link"))))
"process-sse"
(code :arity 1
:bytecode (51 1 0 20 2 0 16 0 6 34 6 0 5 20 3 0 48 0 1 4 0 48 2 52 0 0 2 50)
:constants (
"for-each"
(code :arity 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 33 21 0 20 3 0 16 0 1 2 0 48 2 5 20 4 0 16 0 49 1 32 1 0 2 50)
:constants (
"not"
"is-processed?"
"sse"
"mark-processed!"
"bind-sse"))
"dom-query-all"
"dom-body"
"[sx-sse]"))
"bind-sse"
(code :arity 1
:bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 33 37 0 20 2 0 16 1 16 0 48 2 17 2 20 3 0 16 0 48 1 17 3 20 4 0 16 2 16 3 51 5 0 1 0 49 3 32 1 0 2 50)
:constants (
"dom-get-attr"
"sx-sse"
"event-source-connect"
"parse-sse-swap"
"event-source-listen"
(code :arity 1 :upvalue-count 1
:bytecode (20 0 0 18 0 16 0 49 2 50)
:constants (
"bind-sse-swap"))))
"bind-sse-swap"
(code :arity 2
:bytecode (20 0 0 16 0 48 1 17 2 20 1 0 20 2 0 16 0 1 3 0 48 2 20 4 0 20 5 0 48 0 1 6 0 48 2 48 2 17 3 16 3 1 8 0 52 7 0 2 17 4 16 3 1 9 0 52 7 0 2 17 5 16 1 52 10 0 1 17 6 16 6 52 12 0 1 52 11 0 1 33 88 0 20 13 0 16 2 48 1 5 16 6 1 15 0 52 14 0 2 33 49 0 20 16 0 16 6 48 1 17 7 20 17 0 1 18 0 2 48 2 17 8 20 19 0 16 8 16 7 48 2 5 20 20 0 16 5 51 21 0 1 2 1 8 1 4 49 2 32 16 0 20 20 0 16 5 51 22 0 1 2 1 6 1 4 49 2 32 1 0 2 50)
:constants (
"resolve-target"
"parse-swap-spec"
"dom-get-attr"
"sx-swap"
"dom-has-class?"
"dom-body"
"sx-transitions"
"get"
"style"
"transition"
"trim"
"not"
"empty?"
"dispose-islands-in"
"starts-with?"
"("
"sx-render"
"dom-create-element"
"div"
"dom-append"
"with-transition"
(code :upvalue-count 3
:bytecode (20 0 0 18 0 20 1 0 18 1 48 1 18 2 48 3 5 20 2 0 18 0 49 1 50)
:constants (
"swap-dom-nodes"
"children-to-fragment"
"post-swap"))
(code :upvalue-count 3
:bytecode (20 0 0 18 0 18 1 18 2 48 3 5 20 1 0 18 0 49 1 50)
:constants (
"swap-html-string"
"post-swap"))))
"bind-inline-handlers"
(code :arity 1
:bytecode (51 1 0 20 2 0 16 0 6 34 6 0 5 20 3 0 48 0 1 4 0 48 2 52 0 0 2 50)
:constants (
"for-each"
(code :arity 1
:bytecode (51 1 0 1 0 20 2 0 16 0 48 1 52 0 0 2 50)
:constants (
"for-each"
(code :arity 1 :upvalue-count 1
:bytecode (16 0 52 0 0 1 17 1 16 0 1 2 0 52 1 0 2 17 2 16 1 1 4 0 52 3 0 2 33 83 0 16 1 1 6 0 52 5 0 2 17 3 20 8 0 18 0 1 10 0 16 3 52 9 0 2 48 2 52 7 0 1 33 45 0 20 11 0 18 0 1 10 0 16 3 52 9 0 2 48 2 5 20 12 0 16 2 48 1 17 4 20 13 0 18 0 16 3 51 14 0 0 0 1 4 49 3 32 1 0 2 32 1 0 2 50)
:constants (
"first"
"nth"
1
"starts-with?"
"sx-on:"
"slice"
6
"not"
"is-processed?"
"str"
"on:"
"mark-processed!"
"sx-parse"
"dom-on"
(code :arity 1 :upvalue-count 2
:bytecode (20 0 0 52 1 0 0 48 1 17 1 20 2 0 16 1 1 3 0 16 0 48 3 5 20 2 0 16 1 1 4 0 18 0 48 3 5 20 2 0 16 1 1 5 0 20 6 0 16 0 48 1 48 3 5 51 8 0 1 1 18 1 52 7 0 2 50)
:constants (
"env-extend"
"dict"
"env-bind!"
"event"
"this"
"detail"
"event-detail"
"for-each"
(code :arity 1 :upvalue-count 1
:bytecode (20 0 0 16 0 18 0 49 2 50)
:constants (
"eval-expr"))))))
"dom-attr-list"))
"dom-query-all"
"dom-body"
"[sx-on\\:]"))
"bind-preload-for"
(code :arity 1
:bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 33 76 0 16 1 1 3 0 52 2 0 2 33 13 0 1 3 0 1 5 0 52 4 0 2 32 7 0 1 6 0 52 4 0 1 17 2 16 1 1 3 0 52 2 0 2 33 6 0 1 7 0 32 3 0 1 8 0 17 3 20 9 0 16 0 16 2 16 3 51 10 0 1 0 49 4 32 1 0 2 50)
:constants (
"dom-get-attr"
"sx-preload"
"="
"mousedown"
"list"
"touchstart"
"mouseover"
0
100
"bind-preload"
(code :upvalue-count 1
:bytecode (20 0 0 18 0 48 1 17 0 16 0 33 32 0 20 1 0 16 0 1 3 0 52 2 0 2 20 4 0 18 0 20 5 0 48 0 20 6 0 48 3 49 2 32 1 0 2 50)
:constants (
"get-verb-info"
"do-preload"
"get"
"url"
"build-request-headers"
"loaded-component-names"
"_css-hash"))))
"do-preload"
(code :arity 2
:bytecode (20 1 0 20 2 0 16 0 48 2 52 0 0 1 33 15 0 20 3 0 16 0 16 1 20 2 0 49 3 32 1 0 2 50)
:constants (
"nil?"
"preload-cache-get"
"_preload-cache"
"fetch-preload"))
"VERB_SELECTOR"
"str"
"[sx-get],[sx-post],[sx-put],[sx-delete],[sx-patch]"
"process-elements"
(code :arity 1
:bytecode (20 0 0 16 0 6 34 6 0 5 20 1 0 48 0 20 2 0 48 2 17 1 51 4 0 16 1 52 3 0 2 5 20 5 0 16 0 48 1 5 20 6 0 16 0 48 1 5 20 7 0 16 0 48 1 5 20 8 0 16 0 49 1 50)
:constants (
"dom-query-all"
"dom-body"
"VERB_SELECTOR"
"for-each"
(code :arity 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 33 21 0 20 3 0 16 0 1 2 0 48 2 5 20 4 0 16 0 49 1 32 1 0 2 50)
:constants (
"not"
"is-processed?"
"verb"
"mark-processed!"
"process-one"))
"process-boosted"
"process-sse"
"bind-inline-handlers"
"process-emit-elements"))
"process-one"
(code :arity 1
:bytecode (20 0 0 16 0 48 1 17 1 16 1 33 41 0 20 2 0 16 0 1 3 0 48 2 52 1 0 1 33 20 0 20 4 0 16 0 16 1 48 2 5 20 5 0 16 0 49 1 32 1 0 2 32 1 0 2 50)
:constants (
"get-verb-info"
"not"
"dom-has-attr?"
"sx-disable"
"bind-triggers"
"bind-preload-for"))
"process-emit-elements"
(code :arity 1
:bytecode (20 0 0 16 0 6 34 6 0 5 20 1 0 48 0 1 2 0 48 2 17 1 51 4 0 16 1 52 3 0 2 50)
:constants (
"dom-query-all"
"dom-body"
"[data-sx-emit]"
"for-each"
(code :arity 1
:bytecode (20 1 0 16 0 1 2 0 48 2 52 0 0 1 33 52 0 20 3 0 16 0 1 2 0 48 2 5 20 4 0 16 0 1 5 0 48 2 17 1 16 1 33 20 0 20 6 0 16 0 1 7 0 51 8 0 1 0 1 1 49 3 32 1 0 2 32 1 0 2 50)
:constants (
"not"
"is-processed?"
"emit"
"mark-processed!"
"dom-get-attr"
"data-sx-emit"
"dom-on"
"click"
(code :arity 1 :upvalue-count 2
:bytecode (20 0 0 18 0 1 1 0 48 2 17 1 16 1 33 10 0 20 2 0 16 1 48 1 32 4 0 52 3 0 0 17 2 20 4 0 18 0 18 1 16 2 49 3 50)
:constants (
"dom-get-attr"
"data-sx-emit-detail"
"json-parse"
"dict"
"dom-dispatch"))))))
"handle-popstate"
(code :arity 1
:bytecode (20 0 0 48 0 17 1 20 1 0 1 2 0 48 1 17 2 16 2 33 44 0 20 3 0 16 2 1 4 0 48 2 17 4 16 4 6 33 14 0 5 16 4 1 7 0 52 6 0 2 52 5 0 1 33 5 0 16 4 32 1 0 2 32 1 0 2 17 3 16 3 6 34 4 0 5 1 8 0 17 3 20 1 0 16 3 48 1 17 4 20 9 0 16 1 48 1 17 5 16 4 33 58 0 20 10 0 16 5 16 3 48 2 33 13 0 20 11 0 1 12 0 16 0 49 2 32 30 0 20 13 0 16 4 20 14 0 48 0 20 15 0 48 3 17 6 20 16 0 16 4 16 1 16 6 16 0 49 4 32 1 0 2 50)
:constants (
"browser-location-href"
"dom-query"
"[sx-boost]"
"dom-get-attr"
"sx-boost"
"not"
"="
"true"
"#main-panel"
"url-pathname"
"try-client-route"
"browser-scroll-to"
0
"build-request-headers"
"loaded-component-names"
"_css-hash"
"fetch-and-restore"))
"engine-init"
(code
:bytecode (20 0 0 48 0 5 20 1 0 2 48 1 5 20 2 0 2 48 1 5 20 3 0 2 49 1 50)
:constants (
"init-css-tracking"
"sx-process-scripts"
"sx-hydrate"
"process-elements")))))