Rebuild all bundles on the merged source
This commit is contained in:
commit
8a9130294a
12 changed files with 95 additions and 65 deletions
14
internal/element-census/people-groups-grid.json
Normal file
14
internal/element-census/people-groups-grid.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"_": "Element census preset for check:element-census-vs-live — see internal/check-element-census-vs-live.mjs. Every sanctioned entry must carry the Driver's words, the date and the card; an entry without them is refused. This preset deliberately carries NO sanctioned entries yet: the first run's ours-only list went to the shepherd as findings for adjudication, which is the rule, and an allowlist written by the owner to make its own gate green is not evidence.",
|
||||
"_leaf": "THE LEAF IS THE COMPOSITE, NOT THE GRID ALONE, AND THAT IS THE WHOLE POINT OF THE PAIRING. people-groups-grid is a copy of DX-life's UupgsList.vue, which is the BODY of doxa.life/research — but that page is a MAP plus that body. MEASURED 2026-09-25: censusing the grid leaf alone against /research reports 45 omissions, and they are the research map's entire chrome (Clustering, Off/Native/MST/Network, the tab strip, the legend) — nothing to do with the grid, and a list that long trains a reader to ignore it. research-map-plus-grid is map + grid, which is what /research IS, so it is the only pairing where an omission means something. 98 strings against their 95.",
|
||||
"owner": "simpleresearch",
|
||||
"requireH1": false,
|
||||
"pages": [
|
||||
{ "name": "research /research", "leaf": "research-map-plus-grid/research-map-plus-grid/index.html", "live": "https://doxa.life/research" }
|
||||
],
|
||||
"neg": {
|
||||
"leaf": "research-map-plus-grid/research-map-plus-grid/index.html",
|
||||
"text": "someone still needs prayer"
|
||||
},
|
||||
"sanctioned": []
|
||||
}
|
||||
|
|
@ -117,6 +117,26 @@ if (!gl) {
|
|||
}
|
||||
console.log('MAP-PAINT: GL ok —', gl.version, '/', gl.renderer)
|
||||
|
||||
/**
|
||||
* ★ SAY WHICH TREE WAS MEASURED (2026-09-25) — this gate defaults to the DEPLOYED site, and a
|
||||
* failure line that does not say so reads as "your code is broken" when it means "your code is
|
||||
* not deployed yet". MEASURED TWICE IN ONE DAY, both times wrongly: resources-map and
|
||||
* connectivity-map both reported FAIL ("the stylesheet is ABSENT here") against nuxtbase.app
|
||||
* while the fix for exactly that defect was sitting, verified, on disk. Served locally, the
|
||||
* same gate passed all 13 leaves.
|
||||
*
|
||||
* The identity guard cannot close this. requireThisTree fingerprints manifest.json to catch the
|
||||
* WRONG WORKTREE on a localhost port, and it deliberately returns ok for a remote target — a
|
||||
* deployment is not a worktree, and lagging behind HEAD is its normal state, not a fault. So the
|
||||
* guard is right and the OUTPUT was the thing at fault: the one number needed to tell the two
|
||||
* failures apart was never on screen.
|
||||
*/
|
||||
const LOCAL = /^https?:\/\/(localhost|127\.|\[?::1\]?)/i.test(BASE)
|
||||
console.log(
|
||||
`MAP-PAINT: measuring ${LOCAL ? 'THIS TREE' : 'the DEPLOYED site'} — ${BASE}` +
|
||||
(LOCAL ? '' : ' (set BASE=http://127.0.0.1:<port>/doxa-maps to measure local work)'),
|
||||
)
|
||||
|
||||
/**
|
||||
* ★ CLASSIFY CONSOLE ERRORS, DO NOT COUNT THEM (2026-09-21) — the same correction made to
|
||||
* verify-5-capabilities.mjs, for the same measured reason. This gate barred on
|
||||
|
|
@ -307,6 +327,13 @@ for (const url of urls) {
|
|||
await browser.close()
|
||||
if (bad) {
|
||||
console.error('\nMAP-PAINT: FAIL — ' + bad + ' of ' + urls.length + ' leaves did not paint.')
|
||||
if (!LOCAL) {
|
||||
console.error(
|
||||
' Measured ' + BASE + ' — the DEPLOYED site, which lags this checkout. Before treating a\n' +
|
||||
' failure as a code defect, re-run against the local build; a fix that is committed but\n' +
|
||||
' not yet published fails here for a reason that has nothing to do with the code.',
|
||||
)
|
||||
}
|
||||
process.exit(1)
|
||||
}
|
||||
console.log('\nMAP-PAINT: PASS — all ' + urls.length + ' leaves paint.')
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ import FullscreenButton from '@map/components/map-controls/FullscreenButton.vue'
|
|||
import ShareButton from '@map/components/map-controls/ShareButton.vue'
|
||||
import { resolveAssetsBase } from '@map/utils/embedBase.js'
|
||||
import { resolveMapProvider } from '@map/composables/useMapProvider.js'
|
||||
import { ensureEngineScript, engineGlobal, engineStylesheetUrl } from '@map/composables/useMapInstance.js'
|
||||
import { ensureEngineScript, engineGlobal, engineStylesheetUrl, ensureEngineCSS } from '@map/composables/useMapInstance.js'
|
||||
import { resolveNamedStyle } from '@map/styles/registry.js'
|
||||
|
||||
const profileConfig = inject('profileConfig', ref(null))
|
||||
|
|
@ -1040,43 +1040,32 @@ function openPin(i) {
|
|||
* ═══ THE ENGINE'S OWN CSS HAS TO REACH THIS SHADOW ROOT ═════════════════════════════════
|
||||
*
|
||||
* Bundles that go through useMapInstance get this for free — its header says so: "injects
|
||||
* Mapbox GL CSS into the root". This profile calls `new gl.Map` directly, for the reasons
|
||||
* above, and in taking that path it silently opted out of the CSS injection too.
|
||||
* Mapbox GL CSS into the root". This profile calls `new gl.Map` directly, for the provider
|
||||
* switch above, and in taking that path it silently opted out of the CSS injection too.
|
||||
*
|
||||
* MEASURED, against a leaf that does use the composable. Mapbox inserts a hidden
|
||||
* MEASURED against a leaf that does use the composable. Mapbox inserts a hidden
|
||||
* div.mapboxgl-canary and checks its computed style; mapbox-gl.css is the only thing that
|
||||
* paints it salmon. research-dashboard: rgb(250,128,114), no warning. This leaf:
|
||||
* rgba(0,0,0,0) and "missing CSS declarations" in the console. The stylesheet was in the
|
||||
* leaf's DOCUMENT all along, which is why tiles painted and nothing looked obviously wrong —
|
||||
* but document CSS does not cross a shadow boundary, so the controls, the geocoder and any
|
||||
* markers were positioned by no stylesheet at all.
|
||||
* paints it salmon. research-dashboard: rgb(250,128,114), no warning. This leaf, before the
|
||||
* fix: rgba(0,0,0,0) and "missing CSS declarations". The stylesheet was in the leaf's
|
||||
* DOCUMENT all along, which is why tiles painted and nothing looked obviously wrong — but
|
||||
* document CSS does not cross a shadow boundary, so controls, geocoder and markers were
|
||||
* positioned by no stylesheet at all.
|
||||
*
|
||||
* Done here rather than in library/: engineStylesheetUrl is already exported, so this needs
|
||||
* no shared change, and the engine choice stays the registry's rather than a second copy of
|
||||
* the ENGINES table. Idempotent — a second mount finds the link already there.
|
||||
* ONE IMPLEMENTATION, NOT TWO. This was first fixed with a local copy built on the already-
|
||||
* exported engineStylesheetUrl, because nothing shared needed changing for it. exp-shepherd
|
||||
* then exported ensureEngineCSS for the same defect on connectivity-map, so this converges
|
||||
* onto theirs — and theirs is the better one: it also waits on a link that is PRESENT BUT
|
||||
* NOT YET LOADED, a case the local copy would have skipped straight past.
|
||||
*/
|
||||
async function ensureEngineCssInRoot(el) {
|
||||
const href = engineStylesheetUrl(grProvider)
|
||||
if (!el || !href) return
|
||||
const root = el.getRootNode()
|
||||
if (!(root instanceof ShadowRoot)) return // light DOM: the document's own link applies
|
||||
if (root.querySelector(`link[href="${href}"]`)) return
|
||||
const link = document.createElement('link')
|
||||
link.rel = 'stylesheet'
|
||||
link.href = href
|
||||
const ready = new Promise((resolve) => {
|
||||
link.addEventListener('load', resolve, { once: true })
|
||||
link.addEventListener('error', resolve, { once: true })
|
||||
/* Never hang a map on a stylesheet: paint without it rather than not at all. */
|
||||
setTimeout(resolve, 2000)
|
||||
})
|
||||
root.appendChild(link)
|
||||
await ready
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
try { await ensureEngineScript(grProvider) } catch (_) { /* fall through to the notice below */ }
|
||||
try { await ensureEngineCssInRoot(mapEl.value) } catch (_) { /* the map still paints */ }
|
||||
try {
|
||||
const css = engineStylesheetUrl(grProvider)
|
||||
if (css) await ensureEngineCSS(mapEl.value, css)
|
||||
} catch (_) { /* a stylesheet must never stop the map painting */ }
|
||||
/* Re-check after the await: this leaf can be unmounted mid-initialise, which is the race
|
||||
that produced "Cannot read properties of null" across the fleet. */
|
||||
if (!mapEl.value) return
|
||||
const gl = engineGlobal(grProvider) || window.mapboxgl
|
||||
if (!gl || !mapEl.value) { err.value = 'map engine not loaded'; return }
|
||||
try {
|
||||
|
|
|
|||
12
public/doxa-maps/doxa-maps-spa/manifest.json
generated
12
public/doxa-maps/doxa-maps-spa/manifest.json
generated
|
|
@ -579,7 +579,7 @@
|
|||
"bundle": "gospel-resources",
|
||||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"output": "doxa-maps/gospel-resources/gospel-resources.js",
|
||||
"integrity": "sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp",
|
||||
"integrity": "sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9",
|
||||
"elements": [
|
||||
"gospel-resources-map"
|
||||
],
|
||||
|
|
@ -599,7 +599,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -613,7 +613,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -627,7 +627,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/gospel-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"gospel-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"gospel-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -641,7 +641,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -655,7 +655,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <gospel-resources-map> custom element. -->
|
||||
<script src="../gospel-resources.js" integrity="sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp" crossorigin="anonymous"></script>
|
||||
<script src="../gospel-resources.js" integrity="sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <gospel-resources-map> custom element. -->
|
||||
<script src="../gospel-resources.js" integrity="sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp" crossorigin="anonymous"></script>
|
||||
<script src="../gospel-resources.js" integrity="sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <gospel-resources-map> custom element. -->
|
||||
<script src="../gospel-resources.js" integrity="sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp" crossorigin="anonymous"></script>
|
||||
<script src="../gospel-resources.js" integrity="sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <gospel-resources-map> custom element. -->
|
||||
<script src="../gospel-resources.js" integrity="sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp" crossorigin="anonymous"></script>
|
||||
<script src="../gospel-resources.js" integrity="sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <gospel-resources-map> custom element. -->
|
||||
<script src="../gospel-resources.js" integrity="sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp" crossorigin="anonymous"></script>
|
||||
<script src="../gospel-resources.js" integrity="sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
2
public/doxa-maps/index.html
generated
2
public/doxa-maps/index.html
generated
File diff suppressed because one or more lines are too long
12
public/doxa-maps/manifest.json
generated
12
public/doxa-maps/manifest.json
generated
|
|
@ -579,7 +579,7 @@
|
|||
"bundle": "gospel-resources",
|
||||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"output": "doxa-maps/gospel-resources/gospel-resources.js",
|
||||
"integrity": "sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp",
|
||||
"integrity": "sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9",
|
||||
"elements": [
|
||||
"gospel-resources-map"
|
||||
],
|
||||
|
|
@ -599,7 +599,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -613,7 +613,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -627,7 +627,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/gospel-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"gospel-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"gospel-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -641,7 +641,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -655,7 +655,7 @@
|
|||
"scriptUrl": "./gospel-resources/gospel-resources.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-vboRMEGcM42uYBRq/VVgUzIt6PC/cZvtyO26Kyom5vbO5/HEuLDNA6GneZ/Qcsjp\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
"script": "<!-- Mapbox engine, fetched early; remove this line if you set \"provider\":\"maplibre\" -->\n<link rel=\"preload\" as=\"script\" href=\"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js\">\n<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-Ruj6t+I1Z6R43df3ANzv+5ySYOwA+wyaDsqCy2wGKjrOSiU10zJO8QuWJpxfC4K9\" crossorigin=\"anonymous\"></script>\n<gospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></gospel-resources-map>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue