{"version":3,"file":"LuxDemoSpatialAnalysis.Cd2GhcTS.mjs","names":["useRef","useEffect","_jsx","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","ce","init_jsx_runtime","c","de","window","init_framer_ChujFWHC","RenderTarget","installLuxSymbols","map","orig","on","chip","id","layer","before","spec","LUX_LAYERS","n","LUX_CELL","luxChipImage","p","r0","luxHalo","f","k","v","o","mountLuxDemo","host","cfg","run","root","OUTSIDE","pass","t","head","s","body","doc","x","y","type","fn","sym","luxSymbolCss","urls","name","src","r","code","luxMapLib","loadScript","w","own","URLS","url","resolve","reject","LuxDemoSpatialAnalysis","ref","el","href","FONTS","l","CSS","HTML","started","io","SCRIPTS","INLINE","SLUG","LUX_GLYPH","LUX_SHAPE","luxShapePath","luxChipSvg","LUX_STATES","init_LuxDemoSpatialAnalysis","\"js\"","shape","rot","_","i","a","color","icon","g","d","cv","ml","LuxMap"],"sources":["https:/framerusercontent.com/modules/j4tVPhRjZFfBWm37xrtm/QSjQWEedB4QktycV6Sd6/LuxDemoSpatialAnalysis.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{RenderTarget}from\"framer\";// The live spatial-analysis demo (lux-site/demo/landed/spatial-analysis). Built by make-slug-framer.cjs; edit the demo, not this file.\nconst SLUG=\"spatial-analysis\";const CSS=`:host { all: initial; display: block; position: relative; color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-align: left; }\r\n:host {\r\n    color-scheme: light;\r\n    --paper: #ffffff; --ink: #0c0c0f; --ink-2: rgb(12 12 15 / .78); --muted: #5b5b63; --faint: #8b8b93;\r\n    --line: rgb(12 12 15 / .1); --line-2: rgb(12 12 15 / .06); --film: #111314; --ok: #1f8f52; --warn: #c97412;\r\n    --glass: rgb(248 248 250 / .72); --glass-2: rgb(255 255 255 / .6); --edge: rgb(255 255 255 / .55);\r\n    --sans: \"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n    --serif: \"Merriweather\", Georgia, \"Times New Roman\", serif;\r\n    --mono: \"JetBrains Mono\", ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;\r\n    --out: cubic-bezier(.16, 1, .3, 1);\r\n    --chat-w: clamp(330px, 29vw, 400px);\r\n  }\r\n* { box-sizing: border-box; }\r\n[hidden] { display: none !important; }\r\n.wrap { max-width: 1680px; margin: 0 auto; display: grid; gap: 16px; }\r\n.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\r\n.brand { display: inline-flex; align-items: center; gap: 8px; font: 500 22px/1 var(--serif); color: var(--ink); text-decoration: none; }\r\n.brand img { height: 26px; width: auto; }\r\n.kick { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }\r\n.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 40px; flex-wrap: wrap; }\r\nh1 { margin: 0; font: 300 clamp(28px, 3.4vw, 42px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; max-width: 20ch; }\r\n.lede { margin: 0; font-size: 16px; color: var(--muted); max-width: 36ch; }\r\n.win { position: relative; height: clamp(600px, calc(100vh - 150px), 920px); border-radius: 14px; overflow: hidden; background: #eceee9;\r\n    box-shadow: 0 0 0 .5px rgb(0 0 0 / .28), 0 1px 0 0 rgb(255 255 255 / .5) inset, 0 40px 100px -30px rgb(20 26 40 / .5), 0 14px 34px -14px rgb(20 26 40 / .3); }\r\n#map { position: absolute; inset: 0; }\r\n.maplibregl-map { overflow: hidden; position: relative; -webkit-tap-highlight-color: transparent; }\r\n.maplibregl-canvas { position: absolute; left: 0; top: 0; outline: none; }\r\n.maplibregl-canvas-container.maplibregl-interactive { cursor: grab; }\r\n.maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }\r\n.maplibregl-canvas-container.is-hot { cursor: pointer; }\r\n.maplibregl-marker { position: absolute; top: 0; left: 0; will-change: transform; }\r\n.glass { background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);\r\n    box-shadow: 0 0 0 .5px rgb(0 0 0 / .14), 0 1px 0 0 var(--edge) inset, 0 18px 44px -20px rgb(15 20 30 / .38); }\r\n.bar { position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px;\r\n    background: rgb(246 246 248 / .7); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border-bottom: .5px solid rgb(0 0 0 / .16); }\r\n.lights { display: flex; gap: 8px; flex: none; }\r\n.lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }\r\n.lights i:nth-child(1) { background: #dcdce0; }\r\n.lights i:nth-child(2) { background: #dcdce0; }\r\n.lights i:nth-child(3) { background: #dcdce0; }\r\n.ttl { display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }\r\n.ttl span { font: 400 11px/1 var(--mono); color: var(--muted); padding: 4px 7px; border-radius: 6px; background: rgb(0 0 0 / .045); }\r\n.tools { margin-left: auto; display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }\r\n.tools button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 500 12.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }\r\n.tools button svg { width: 15px; height: 15px; flex: none; }\r\n.tools button:hover:not([disabled]) { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.tools button.on { background: rgb(0 0 0 / .08); color: var(--ink); }\r\n.tools button[disabled] { opacity: .38; cursor: default; }\r\n.cap { position: absolute; left: 12px; top: 64px; z-index: 3; max-width: calc(100% - var(--chat-w) - 48px); padding: 8px 13px; border-radius: 10px; font: 400 12px/1.25 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }\r\n.toasts { position: absolute; right: calc(var(--chat-w) + 22px); top: 64px; z-index: 3; display: grid; gap: 6px; justify-items: end; pointer-events: none; }\r\n.toast { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px; font: 400 12px/1.2 var(--mono); color: var(--ink); animation: tin .5s var(--out) both; }\r\n.toast svg { width: 13px; height: 13px; color: var(--ok); flex: none; }\r\n.toast.out { animation: tout .5s ease forwards; }\r\n@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }\r\n@keyframes tout { to { opacity: 0; transform: translateY(-4px); } }\r\n.legend { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 8px; border-radius: 12px; display: grid; gap: 2px; min-width: 196px; }\r\n.legend button { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 9px; padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; font: 500 12.5px/1 var(--sans); color: var(--ink); cursor: pointer; text-align: left; animation: tin .4s var(--out) both; }\r\n.legend button:hover { background: rgb(0 0 0 / .05); }\r\n.legend button.off { color: var(--faint); }\r\n.legend button.off .sw { opacity: .3; }\r\n.legend .sw { width: 16px; height: 10px; border-radius: 3px; }\r\n.legend .sw.dot { width: 10px; height: 10px; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 1.5px #fff; }\r\n.legend .n { font: 400 11.5px/1 var(--mono); color: var(--muted); }\r\n.ctrls { position: absolute; right: calc(var(--chat-w) + 22px); bottom: 12px; z-index: 3; display: grid; border-radius: 11px; overflow: hidden; }\r\n.ctrls button { width: 36px; height: 34px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; font: 600 11px/1 var(--mono); }\r\n.ctrls button + button { border-top: .5px solid rgb(0 0 0 / .1); }\r\n.ctrls button:hover { background: rgb(0 0 0 / .05); color: var(--ink); }\r\n.ctrls svg { width: 15px; height: 15px; }\r\n.attr { position: absolute; right: calc(var(--chat-w) + 70px); bottom: 14px; z-index: 2; font: 400 10px/1 var(--sans); color: rgb(12 12 15 / .5); }\r\n.tip { position: absolute; z-index: 6; pointer-events: none; padding: 9px 11px; border-radius: 10px; background: rgb(17 19 20 / .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #f5f5f3; font-size: 12.5px; line-height: 1.4; max-width: 260px; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }\r\n.tip b { display: block; font: 500 11.5px/1.3 var(--mono); color: #fff; margin-bottom: 2px; }\r\n.tip span { color: rgb(245 245 243 / .78); }\r\n.insp, .drawer { position: absolute; z-index: 4; left: 12px; top: 64px; border-radius: 14px; animation: pin .45s var(--out) both; }\r\n@keyframes pin { from { opacity: 0; transform: translateY(6px) scale(.985); } }\r\n.insp { width: 300px; max-height: calc(100% - 140px); overflow: auto; padding: 14px 16px 16px; }\r\n.drawer { bottom: 12px; width: min(440px, calc(100% - var(--chat-w) - 48px)); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }\r\n.x { position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }\r\n.x:hover { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.x svg { width: 12px; height: 12px; }\r\n.k { margin: 0 0 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }\r\n.insp h3, .drawer h3 { margin: 0 0 10px; font: 600 15px/1.3 var(--sans); padding-right: 28px; }\r\n.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11.5px/1 var(--sans); background: rgb(0 0 0 / .06); color: var(--ink-2); }\r\n.chip.ok { background: rgb(31 143 82 / .12); color: #17683d; }\r\n.chip.warn { background: rgb(201 116 18 / .14); color: #8a4f0b; }\r\n.chip.grey { background: rgb(0 0 0 / .06); color: var(--muted); }\r\n.rows { display: grid; gap: 7px; margin: 12px 0 0; }\r\n.row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }\r\n.row span:first-child { color: var(--muted); }\r\n.row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }\r\n.meter { margin-top: 10px; display: grid; gap: 4px; font-size: 12.5px; }\r\n.meter .lab { display: flex; justify-content: space-between; color: var(--muted); }\r\n.meter .lab b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }\r\n.meter i { display: block; height: 6px; border-radius: 3px; background: rgb(0 0 0 / .07); overflow: hidden; }\r\n.meter i em { display: block; height: 100%; border-radius: 3px; background: var(--ok); }\r\n.meter i em.hot { background: #c0542c; }\r\n.act { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }\r\n.act button, .drawer .act button { height: 32px; padding: 0 12px; border-radius: 8px; border: .5px solid rgb(0 0 0 / .16); background: rgb(255 255 255 / .8); font: 500 12.5px/1 var(--sans); color: var(--ink); cursor: pointer; }\r\n.act button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }\r\n.note-s { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }\r\n.dh { position: relative; padding: 14px 16px 10px; border-bottom: .5px solid rgb(0 0 0 / .1); }\r\n.db { overflow: auto; padding: 10px 16px 16px; }\r\n.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }\r\n.tbl td, .tbl th { padding: 7px 0; border-bottom: .5px solid rgb(0 0 0 / .08); text-align: left; vertical-align: top; }\r\n.tbl th { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }\r\n.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }\r\n.tbl tr.pick { cursor: pointer; }\r\n.tbl tr.pick:hover td { background: rgb(0 0 0 / .03); }\r\n.tree details { margin-left: 14px; }\r\n.tree > details { margin-left: 0; }\r\n.tree summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; font-size: 12.5px; }\r\n.tree summary::-webkit-details-marker { display: none; }\r\n.tree summary:hover { background: rgb(0 0 0 / .045); }\r\n.tree summary::before { content: \"\"; width: 0; height: 0; border-left: 4.5px solid var(--muted); border-block: 3.5px solid transparent; transition: transform .2s; flex: none; }\r\n.tree details[open] > summary::before { transform: rotate(90deg); }\r\n.tree summary.leaf::before { border-left-color: transparent; }\r\n.tree code, .files code { font: 400 11.5px/1.2 var(--mono); }\r\n.tree small, .files small { margin-left: auto; color: var(--muted); font: 400 11px/1 var(--mono); white-space: nowrap; }\r\n.tree .ico { width: 8px; height: 8px; border-radius: 50%; flex: none; }\r\n.files details { border-bottom: .5px solid rgb(0 0 0 / .08); }\r\n.files summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 2px; font-size: 12.5px; }\r\n.files summary::-webkit-details-marker { display: none; }\r\n.files ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: grid; gap: 3px; }\r\n.files li { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); }\r\n.files li i { width: 6px; height: 6px; border-radius: 50%; background: #0c0c0f; flex: none; }\r\n.sheet-ports { display: grid; gap: 4px; margin-top: 10px; }\r\n.port { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 8px; background: rgb(255 255 255 / .62); box-shadow: 0 0 0 .5px rgb(0 0 0 / .08); font-size: 12.5px; animation: tin .35s var(--out) both; }\r\n.port b { font: 500 11px/1 var(--mono); color: var(--muted); }\r\n.port small { font: 400 11px/1 var(--mono); color: var(--muted); }\r\n.port.spare { color: var(--faint); background: transparent; box-shadow: 0 0 0 .5px rgb(0 0 0 / .06) inset; }\r\n.sheets { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }\r\n.sheets button { height: 26px; padding: 0 9px; border-radius: 7px; border: .5px solid rgb(0 0 0 / .12); background: rgb(255 255 255 / .7); font: 400 11.5px/1 var(--mono); cursor: pointer; color: var(--ink-2); }\r\n.sheets button.on { background: var(--ink); color: #fff; border-color: var(--ink); }\r\n.chat { position: absolute; z-index: 4; right: 10px; top: 62px; bottom: 10px; width: var(--chat-w); border-radius: 14px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }\r\n.chat-top { display: flex; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-bottom: .5px solid rgb(0 0 0 / .1); font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }\r\n.chat-top .chip { font: 400 11px/1 var(--mono); letter-spacing: .02em; text-transform: none; }\r\n.chat-top button { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }\r\n.chat-top button:hover { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.chat-top button svg { width: 14px; height: 14px; }\r\n.log { overflow-y: auto; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }\r\n.empty { margin: auto 0; text-align: center; color: var(--faint); font-size: 13px; }\r\n.you { align-self: flex-end; max-width: 88%; padding: 9px 13px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.45; animation: rise .45s var(--out) both; }\r\n.step { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12.5px; line-height: 1.35; animation: rise .35s var(--out) both; }\r\n.step .ic { width: 15px; height: 15px; flex: none; display: grid; place-items: center; }\r\n.spin { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid rgb(12 12 15 / .18); border-top-color: var(--ink); animation: spin .8s linear infinite; }\r\n.step.done .spin { display: none; }\r\n.step .chk { display: none; width: 14px; height: 14px; color: var(--ok); }\r\n.step.done .chk { display: block; }\r\n.step code { font: 400 11.5px/1 var(--mono); color: var(--ink-2); background: rgb(0 0 0 / .05); padding: 2px 5px; border-radius: 4px; }\r\n.say { color: var(--ink); font-size: 14px; line-height: 1.58; animation: rise .35s var(--out) both; }\r\n.say .w { opacity: 0; transition: opacity .25s ease; }\r\n.say .w.in { opacity: 1; }\r\n@keyframes rise { from { opacity: 0; transform: translateY(4px); } }\r\n@keyframes spin { to { transform: rotate(360deg); } }\r\n.card { border-radius: 12px; background: rgb(255 255 255 / .78); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); padding: 13px 14px; display: grid; gap: 9px; animation: rise .5s var(--out) both; }\r\n.card h4 { margin: 0; font: 600 14px/1.35 var(--sans); }\r\n.card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }\r\n.card .tpl { justify-self: start; font: 400 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: rgb(0 0 0 / .05); color: var(--ink-2); }\r\n.card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }\r\n.card ol b { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }\r\n.card ol span { display: block; font-size: 12.5px; color: var(--muted); }\r\n.card .est { font: 400 11.5px/1.4 var(--mono); color: var(--ink-2); border-top: .5px solid rgb(0 0 0 / .1); padding-top: 9px; }\r\n.card .row { font-size: 12.5px; }\r\n.card button { justify-self: start; height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--ink); color: #fff; font: 500 13px/1 var(--sans); cursor: pointer; }\r\n.card button[disabled] { opacity: .4; cursor: default; }\r\n.tasks { margin: 0 10px 8px; padding: 9px 11px; border-radius: 10px; background: rgb(255 255 255 / .7); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); display: grid; gap: 7px; }\r\n.tasks .segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }\r\n.tasks .segs i { height: 4px; border-radius: 2px; background: rgb(0 0 0 / .08); transition: background .4s; }\r\n.tasks .segs i.ok { background: var(--ok); }\r\n.tasks .segs i.run { background: linear-gradient(90deg, var(--ink) 0 40%, rgb(0 0 0 / .08) 40%); background-size: 250% 100%; animation: load 1.2s linear infinite; }\r\n@keyframes load { from { background-position: 100% 0; } to { background-position: -150% 0; } }\r\n.tasks .lbl { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink); }\r\n.tasks .lbl span:last-child { font: 400 11px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }\r\n.composer { margin: 0 10px 10px; border-radius: 12px; background: rgb(255 255 255 / .86); box-shadow: 0 0 0 .5px rgb(0 0 0 / .14); padding: 9px 9px 9px 13px; display: flex; align-items: flex-end; gap: 10px; transition: box-shadow .3s; }\r\n.composer.ready { box-shadow: 0 0 0 1px rgb(12 12 15 / .4), 0 0 0 5px rgb(12 12 15 / .06); }\r\n.field { flex: 1; min-width: 0; min-height: 38px; font-size: 13.5px; line-height: 1.45; color: var(--ink); align-self: center; }\r\n.field.hint { color: var(--faint); }\r\n.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }\r\n@keyframes blink { 50% { opacity: 0; } }\r\n.send { width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .2s; }\r\n.send[disabled] { opacity: .3; cursor: default; }\r\n.send svg { width: 16px; height: 16px; }\r\n.end { margin: 0 10px 10px; padding: 16px; border-radius: 12px; background: var(--film); color: #f4f4f2; display: grid; gap: 12px; animation: rise .5s var(--out) both; }\r\n.end h3 { margin: 0; font: 300 20px/1.3 var(--serif); }\r\n.end .acts { display: flex; gap: 8px; flex-wrap: wrap; }\r\n.end a { text-decoration: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: #f4f4f2; color: var(--ink); font: 500 13.5px/1 var(--sans); }\r\n.end button { height: 36px; padding: 0 14px; border-radius: 9px; background: transparent; color: #f4f4f2; border: .5px solid rgb(255 255 255 / .3); font: 500 13.5px/1 var(--sans); cursor: pointer; }\r\n.ghost { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; transition: opacity .3s; }\r\n.ghost .rip { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: rip 2.6s var(--out) infinite; }\r\n.ghost svg { position: absolute; left: -2px; top: -2px; width: 22px; height: 26px; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .3)); animation: glide 2.6s var(--out) infinite; }\r\n@keyframes glide { 0% { transform: translate(78px, 64px); opacity: 0; } 12% { opacity: 1; } 48% { transform: translate(0, 0); } 56% { transform: translate(0, 0) scale(.84); } 64% { transform: translate(0, 0) scale(1); } 86% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }\r\n@keyframes rip { 0%, 54% { opacity: 0; transform: scale(.4); } 58% { opacity: .55; } 90%, 100% { opacity: 0; transform: scale(1.5); } }\r\n.foot { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 90ch; }\r\n@media (max-width: 820px) {\r\n:host { --chat-w: 0px; }\r\n.win { height: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 52px 64vh auto; }\r\n#map { position: relative; inset: auto; height: 64vh; min-height: 380px; grid-row: 2; }\r\n.bar { position: relative; grid-row: 1; }\r\n.ttl span, .tools button .l { display: none; }\r\n.tools button { padding: 0 9px; }\r\n.chat { position: relative; grid-row: 3; right: auto; top: auto; bottom: auto; width: auto; min-width: 0; height: 480px; margin: 8px; }\r\n.cap { top: 64px; max-width: calc(100% - 24px); }\r\n.legend { min-width: 0; max-width: calc(100% - 72px); bottom: auto; top: calc(52px + 64vh - 12px); transform: translateY(-100%); display: flex; flex-wrap: wrap; gap: 0; padding: 4px; }\r\n.legend button { grid-template-columns: 10px auto; gap: 6px; padding: 5px 7px; font-size: 11.5px; }\r\n.legend .n { display: none; }\r\n.legend .sw { width: 10px; height: 10px; border-radius: 50%; }\r\n.ctrls { right: 12px; bottom: auto; top: calc(52px + 64vh - 12px); transform: translateY(-100%); }\r\n.attr { display: none; }\r\n.toasts { right: 12px; top: 100px; }\r\n.insp { width: auto; right: 12px; max-height: calc(64vh - 120px); }\r\n.drawer { right: 12px; width: auto; bottom: auto; height: calc(64vh - 24px); }\r\n}\r\n@media (prefers-reduced-motion: reduce) {\r\n.ghost svg, .ghost .rip, .spin, .tasks .segs i.run { animation: none; }\r\n.ghost .rip { opacity: .5; }\r\n}\r\n.insp.glass, .drawer.glass { background: rgb(248 248 250 / .9); }\r\n.legend .sw.grad { background: linear-gradient(90deg, #f4efe4, #f0b85a, #c8452b); }\r\n.legend .sw.pole { width: 10px; height: 10px; border-radius: 50%; justify-self: center; background: #e07b1f; box-shadow: 0 0 0 1.5px #fff; }\r\n.card .crit { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }\r\n.card .crit li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: 13px; }\r\n.card .crit li.miss { color: var(--muted); }\r\n.card .crit .w { font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; min-width: 26px; text-align: right; }\r\n.card .src { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }\r\n.card .src li { display: grid; gap: 2px; font-size: 13px; }\r\n.card .src li code { font: 400 11.5px/1.35 var(--mono); color: var(--muted); word-break: break-all; }\r\n.card .src li.miss b { color: #8a4f0b; font-weight: 600; }\r\n.card .src li b { font-weight: 600; }\r\n.chip.dir { height: 20px; font-size: 11px; }\r\n.chip.cost { background: rgb(201 116 18 / .12); color: #8a4f0b; }\r\n.chip.ben { background: rgb(31 143 82 / .12); color: #17683d; }\r\n.rank { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }\r\n.rank li { display: grid; grid-template-columns: 20px 1fr auto; gap: 2px 9px; align-items: center; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; cursor: pointer; transition: background .2s; }\r\n.rank li:hover, .rank li:focus-visible { background: rgb(0 0 0 / .045); outline: none; }\r\n.rank li > b { font: 500 12px/1 var(--mono); color: var(--muted); }\r\n.rank li .nm { font-size: 13.5px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\r\n.rank li .sc { font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; }\r\n.rank li .cv { grid-column: 2 / 4; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }\r\n.rank li .cv .chip { height: 19px; font-size: 11px; flex: none; }\r\n.rank li.lead .nm { color: var(--ink); }\r\n.card .foot-s { font-size: 12.5px; color: var(--muted); border-top: .5px solid rgb(0 0 0 / .1); padding-top: 8px; display: grid; gap: 3px; }\r\n.wts { display: grid; gap: 10px; }\r\n.wt { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 13px; }\r\n.wt output { font: 500 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; }\r\n.wt input { grid-column: 1 / 3; width: 100%; margin: 0; accent-color: var(--ink); height: 22px; cursor: pointer; }\r\n.wt .chip { margin-left: 6px; height: 19px; font-size: 11px; }\r\n.card .quiet { justify-self: start; height: 28px; padding: 0 10px; border-radius: 8px; border: .5px solid rgb(0 0 0 / .16); background: rgb(255 255 255 / .8); color: var(--ink); font: 500 12px/1 var(--sans); }\r\n.bars { display: grid; gap: 8px; margin-top: 12px; }\r\n.bars .meter { margin-top: 0; }\r\n.bars .meter .lab span { color: var(--ink-2); }\r\n.tip .tr { display: flex; justify-content: space-between; gap: 14px; color: rgb(245 245 243 / .82); }\r\n.tip .tr i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: #fff; }\r\n.rk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/1 var(--mono); box-shadow: 0 0 0 2px #fff, 0 4px 10px -2px rgb(0 0 0 / .4); cursor: pointer; border: 0; padding: 0; animation: pin .45s var(--out) both; }\r\n.rk.co { width: auto; height: auto; border-radius: 7px; padding: 5px 8px; background: rgb(255 255 255 / .9); color: var(--ink); font: 500 11.5px/1 var(--mono); display: flex; gap: 6px; align-items: center; box-shadow: 0 0 0 .5px rgb(0 0 0 / .15), 0 6px 16px -8px rgb(0 0 0 / .4); }\r\n.rk.co i { width: 10px; height: 10px; border-radius: 50%; background: #5b4fd6; box-shadow: 0 0 0 1.5px #fff; }\r\n.desk { display: grid; gap: 14px; }\r\n.desk .sec { font: 600 13px/1.3 var(--sans); margin: 0 0 6px; }\r\n.desk .pol { font: 400 12px/1.5 var(--mono); color: var(--muted); }\r\n.desk .lens { display: flex; gap: 6px; flex-wrap: wrap; }\r\n.desk .lens span { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 13px; font-size: 12px; background: rgb(0 0 0 / .05); color: var(--ink-2); }\r\n.desk .lens span.on { background: var(--ink); color: #fff; }\r\n.desk .tbl td small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }\r\n.desk .tbl td .act { margin-top: 0; justify-content: flex-end; flex-wrap: nowrap; }\r\n.desk .tbl td .act button { height: 28px; padding: 0 10px; font-size: 12px; }\r\n.desk .tbl td .act button.quiet { background: transparent; }\r\n.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }\r\n.facts div { padding: 8px 9px; border-radius: 8px; background: rgb(255 255 255 / .62); box-shadow: 0 0 0 .5px rgb(0 0 0 / .08); }\r\n.facts small { display: block; font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; color: var(--muted); }\r\n.facts b { display: block; margin-top: 4px; font: 500 13px/1.2 var(--sans); font-variant-numeric: tabular-nums; }\r\n.ares { font: 400 12px/1.4 var(--mono); color: var(--ink-2); }\r\n@media (max-width: 820px) {\r\n.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }\r\n.desk .tbl .hide-n { display: none; }\r\n}\r\n.ldh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 40px; margin: 0 0 22px; }\r\n.ldk { grid-column: 1 / -1; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }\r\n.ldt { margin: 0; font: 300 clamp(32px, 4vw, 56px)/1.06 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; max-width: 18ch; }\r\n.ldl { margin: 0; font-size: 16px; color: var(--muted); max-width: 32ch; }\r\n@media (max-width: 820px) { .ldh { grid-template-columns: 1fr; } }\r\n.tasks .segs { display: none !important; } /* the owner cut the progress dashes; the task line stays */\n/* a11y: AA contrast for hint text */\n:host{--faint:#6b6b73 !important;--lux-muted:#63615c !important}`;const HTML=`<div class=\"ldh\"><p class=\"ldk\">Live demo</p><h2 class=\"ldt\">Ask where to build next. Get a scored map.</h2><p class=\"ldl\">Send each message. Hover any block. Move the weights.</p></div><div class=\"wrap\">\r\n  \r\n  \r\n\r\n  <section class=\"win\" id=\"win\" aria-label=\"Lux workspace, Acme Queens demo project\">\r\n    <div id=\"map\"></div>\r\n    <div class=\"bar\">\r\n      <span class=\"lights\" aria-hidden=\"true\"><i></i><i></i><i></i></span>\r\n      <span class=\"ttl\">Acme — Queens<span>Spatial Analysis</span></span>\r\n      <nav class=\"tools\" aria-label=\"Workspace views\">\r\n        <button type=\"button\" data-view=\"analysis\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M5 1.8 8 3.5v3.4L5 8.6 2 6.9V3.5Zm6 0 3 1.7v3.4l-3 1.7-3-1.7M8 6.9v3.4l3 1.7 3-1.7V6.9M2 6.9v3.4l3 1.7 3-1.7M5 8.6V12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.2\" stroke-linejoin=\"round\"/></svg><span class=\"l\">Analysis</span></button>\r\n        <button type=\"button\" data-view=\"expansion\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M2 13.5h12M3.5 13.5V9h2.5v4.5M7 13.5V6h2.5v7.5M10.5 13.5V3h2.5v10.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\" stroke-linejoin=\"round\"/></svg><span class=\"l\">Expansion</span></button>\r\n        <button type=\"button\" data-view=\"datastore\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><ellipse cx=\"8\" cy=\"3.8\" rx=\"5.2\" ry=\"2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\"/><path d=\"M2.8 3.8v8.4c0 1.1 2.3 2 5.2 2s5.2-.9 5.2-2V3.8M2.8 8c0 1.1 2.3 2 5.2 2s5.2-.9 5.2-2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\"/></svg><span class=\"l\">DataStore</span></button>\r\n      </nav>\r\n    </div>\r\n    <div class=\"cap glass\" id=\"cap\">The scanned area</div>\r\n    <div class=\"toasts\" id=\"toasts\"></div>\r\n    <div class=\"legend glass\" id=\"legend\" role=\"group\" aria-label=\"Layers\"></div>\r\n    <div class=\"ctrls glass\">\r\n      <button type=\"button\" id=\"zin\" aria-label=\"Zoom in\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M8 3v10M3 8h10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button>\r\n      <button type=\"button\" id=\"zout\" aria-label=\"Zoom out\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M3 8h10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button>\r\n      <button type=\"button\" id=\"tilt\" aria-label=\"Tilt the map\">3D</button>\r\n      <button type=\"button\" id=\"home\" aria-label=\"Show the whole area\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M2.5 6V2.5H6M10 2.5h3.5V6M13.5 10v3.5H10M6 13.5H2.5V10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\r\n    </div>\r\n    <p class=\"attr\">\\xa9 OpenStreetMap contributors</p>\r\n    <div class=\"tip\" id=\"tip\" hidden></div>\r\n    <aside class=\"insp glass\" id=\"insp\" hidden></aside>\r\n    <aside class=\"drawer glass\" id=\"drawer\" hidden></aside>\r\n    <div class=\"chat glass\">\r\n      <div class=\"chat-top\"><span class=\"chip\">Spatial analysis</span>AI terminal<button type=\"button\" id=\"restart\" aria-label=\"Start again\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M3 8a5 5 0 1 0 1.6-3.7M3 2.5v2.8h2.8\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button></div>\r\n      <div class=\"log\" id=\"log\" aria-live=\"polite\"><p class=\"empty\" id=\"empty\">Send a message to start.</p></div>\r\n      <div class=\"tasks\" id=\"tasks\" hidden></div>\r\n      <form class=\"composer\" id=\"composer\">\r\n        <div class=\"field\" id=\"field\"></div>\r\n        <button type=\"submit\" class=\"send\" id=\"send\" aria-label=\"Send\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M8 13V3M3.5 7.5 8 3l4.5 4.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\r\n      </form>\r\n    </div>\r\n  </section>\r\n\r\n  \r\n</div>\r\n\r\n<div class=\"ghost\" id=\"ghost\" hidden aria-hidden=\"true\"><span class=\"rip\"></span><svg viewBox=\"0 0 22 26\"><path d=\"M2 2 L2 21 L7 16.5 L10.4 24 L13.6 22.6 L10.3 15.3 L17 15.3 Z\" fill=\"#111314\" stroke=\"#fff\" stroke-width=\"1.6\" stroke-linejoin=\"round\"/></svg></div>`;const URLS={\"js\":\"https://framerusercontent.com/assets/QqZdPeXoGUZ1cvZG22fvbW9Yg.txt\",\"data/analysis.json\":\"https://framerusercontent.com/assets/hjahgb450uf8xUUZ9EY9r6GXEc.json\"};const SCRIPTS=[\"https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.js\"];const FONTS=[\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Merriweather:wght@300;400&display=swap\"];// the modules the demo imports when it needs them, as text: the runtime runs one only when the demo asks for it\nconst INLINE={};// The app's map symbols for every demo (map-layers/cell-image-factory drawCell): a dark chip in the role's shape with\n// a soft shadow, an outline in the role's colour (for poles, the loading verdict) and the role's lucide glyph in light.\n// installLuxSymbols(map) turns the demo's closure and pole dots into chips: the dot layer stays (it still answers hover\n// and clicks, and lights as a soft halo when a feature is hovered or selected), a chip layer is drawn on top and follows\n// every filter, visibility and fade the demo applies to the dots. luxSymbolCss styles the cabinet and office markers.\n// The chips are drawn on a canvas, so they are ready the moment a layer is added.\nconst LUX_GLYPH={// lucide 0.424, the icons the FTTH ontology names: git-fork (closure), utility-pole, archive (cabinet), server (office)\n\"git-fork\":[\"M15 18a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M9 6a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M21 6a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9\",\"M12 12v3\"],\"utility-pole\":[\"M12 2v20\",\"M2 5h20\",\"M3 3v2\",\"M7 3v2\",\"M17 3v2\",\"M21 3v2\",\"m19 5-7 7-7-7\"],archive:[\"M3 3h18a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z\",\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8\",\"M10 12h4\"],server:[\"M4 2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z\",\"M4 14h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z\",\"M6 6h.01\",\"M6 18h.01\"]};const LUX_SHAPE={circle:[0,0],square:[4,-Math.PI/4],hexagon:[6,-Math.PI/2]};const LUX_CELL={\"lux-closure\":[\"circle\",\"#22c55e\",\"git-fork\"],\"lux-branch\":[\"circle\",\"#7d8491\",\"git-fork\"],\"lux-pole\":[\"circle\",\"#a16207\",\"utility-pole\"],\"lux-pole-mr\":[\"circle\",\"#f59e0b\",\"utility-pole\"],\"lux-pole-na\":[\"circle\",\"#9b9ba3\",\"utility-pole\"],\"lux-cabinet\":[\"square\",\"#f97316\",\"archive\"],\"lux-co\":[\"hexagon\",\"#8b5cf6\",\"server\"]};const luxShapePath=(shape,c,r)=>{const[n,rot]=LUX_SHAPE[shape];if(!n)return`M${c-r} ${c}a${r} ${r} 0 1 0 ${2*r} 0a${r} ${r} 0 1 0 ${-2*r} 0`;return Array.from({length:n},(_,i)=>{const a=rot+i*2*Math.PI/n;return`${i?\"L\":\"M\"}${(c+r*Math.cos(a)).toFixed(2)} ${(c+r*Math.sin(a)).toFixed(2)}`;}).join(\"\")+\"Z\";};// one chip as an SVG string (40 x 40 box), for markers and legends\nconst luxChipSvg=name=>{const[shape,color,icon]=LUX_CELL[name];const S=22,B=40,c=B/2,r=S*.62,lw=Math.max(2.2,S*.17),g=S*.82,k=g/24,body=luxShapePath(shape,c,r);return`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 ${B} ${B}\" width=\"${B}\" height=\"${B}\"><defs><filter id=\"lxs\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"180%\"><feDropShadow dx=\"0\" dy=\"1.3\" stdDeviation=\"3\" flood-color=\"#000\" flood-opacity=\".5\"/></filter></defs>`+`<path d=\"${body}\" fill=\"rgba(10,10,13,.88)\" filter=\"url(#lxs)\"/><path d=\"${body}\" fill=\"none\" stroke=\"${color}\" stroke-width=\"${lw.toFixed(2)}\" stroke-linejoin=\"round\"/>`+`<g transform=\"translate(${(c-g/2).toFixed(2)} ${(c-g/2).toFixed(2)}) scale(${k.toFixed(4)})\" fill=\"none\" stroke=\"#e8e8ea\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">${LUX_GLYPH[icon].map(d=>`<path d=\"${d}\"/>`).join(\"\")}</g></svg>`;};// the same chip drawn on a canvas at 2x, for MapLibre images\nconst luxChipImage=name=>{const[shape,color,icon]=LUX_CELL[name];const P=80,s=2,S=22*s,c=P/2,r=S*.62,lw=Math.max(2.2*s,S*.17),g=S*.82,k=g/24;const cv=document.createElement(\"canvas\");cv.width=cv.height=P;const x=cv.getContext(\"2d\");const body=new Path2D(luxShapePath(shape,c,r));x.save();x.shadowColor=\"rgba(0,0,0,0.5)\";x.shadowBlur=S*.28;x.shadowOffsetY=S*.06;x.fillStyle=\"rgba(10,10,13,0.88)\";x.fill(body);x.restore();x.lineJoin=\"round\";x.lineWidth=lw;x.strokeStyle=color;x.stroke(body);x.save();x.translate(c-g/2,c-g/2);x.scale(k,k);x.lineWidth=2;x.lineCap=\"round\";x.lineJoin=\"round\";x.strokeStyle=\"#e8e8ea\";for(const d of LUX_GLYPH[icon])x.stroke(new Path2D(d));x.restore();return x.getImageData(0,0,P,P);};const LUX_STATES=[\"hover\",\"sel\",\"selected\",\"hl\",\"lit\",\"focus\",\"active\",\"pick\"];const luxHalo=r=>[\"*\",r,[\"case\",[\"any\",...LUX_STATES.map(n=>[\"boolean\",[\"feature-state\",n],false])],.42,0]];const LUX_LAYERS={closures:{img:[\"case\",[\"to-boolean\",[\"get\",\"br\"]],\"lux-branch\",\"lux-closure\"],size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.22,.3],15,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.32,.42],17,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.55,.7],18.5,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.72,.95]],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,5,15,8,17,13,18.5,18]},poles:{img:[\"match\",[\"get\",\"v\"],\"needs_make_ready\",\"lux-pole-mr\",\"refuses_to_judge\",\"lux-pole-na\",\"lux-pole\"],size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.2,15,.3,17,.5,18.5,.72],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,4,15,6,17,10,18.5,14]},// a map that draws its cabinets and office as dots (most demos use labelled markers for them instead)\ncabinets:{img:\"lux-cabinet\",size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.5,15,.7,17,.95,18.5,1.15],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,8,15,12,17,17,18.5,22]},co:{img:\"lux-co\",size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.6,15,.8,17,1.05,18.5,1.25],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,9,15,13,17,18,18.5,24]}};function installLuxSymbols(map){if(map.__luxSymbols)return map;map.__luxSymbols=true;const orig={addLayer:map.addLayer.bind(map),setFilter:map.setFilter.bind(map),setLayoutProperty:map.setLayoutProperty.bind(map),setPaintProperty:map.setPaintProperty.bind(map),removeLayer:map.removeLayer.bind(map)};const on={};const chip=id=>id+\"__chip\";map.addLayer=(layer,before)=>{const spec=layer&&layer.type===\"circle\"&&LUX_LAYERS[layer.id];if(!spec||on[layer.id])return orig.addLayer(layer,before);for(const n of Object.keys(LUX_CELL))if(!map.hasImage(n))map.addImage(n,luxChipImage(n),{pixelRatio:2});const p=layer.paint||{};const r0=typeof p[\"circle-opacity\"]===\"number\"?p[\"circle-opacity\"]:1;on[layer.id]={r:r0};orig.addLayer({...layer,paint:{...p,\"circle-opacity\":luxHalo(r0),\"circle-radius\":spec.halo,\"circle-stroke-width\":0,\"circle-stroke-opacity\":0}},before);orig.addLayer({id:chip(layer.id),type:\"symbol\",source:layer.source,...layer.filter?{filter:layer.filter}:{},...layer.minzoom!=null?{minzoom:layer.minzoom}:{},layout:{\"icon-image\":spec.img,\"icon-size\":spec.size,\"icon-allow-overlap\":true,\"icon-ignore-placement\":true,visibility:layer.layout&&layer.layout.visibility||\"visible\"},paint:{\"icon-opacity\":r0}},before);return map;};map.setFilter=(id,f,o)=>{orig.setFilter(id,f,o);if(on[id]&&map.getLayer(chip(id)))orig.setFilter(chip(id),f,o);return map;};map.setLayoutProperty=(id,k,v,o)=>{orig.setLayoutProperty(id,k,v,o);if(on[id]&&k===\"visibility\"&&map.getLayer(chip(id)))orig.setLayoutProperty(chip(id),k,v,o);return map;};map.setPaintProperty=(id,k,v,o)=>{if(!on[id])return orig.setPaintProperty(id,k,v,o);// the demo fades its dots in and out: the chips take the fade, the dots stay a halo; size and rim stay the chip's\nif(k===\"circle-opacity\"){if(typeof v===\"number\"){on[id].r=v;orig.setPaintProperty(id,k,luxHalo(v),o);}if(map.getLayer(chip(id)))orig.setPaintProperty(chip(id),\"icon-opacity\",v,o);return map;}if(k===\"circle-radius\"||k.startsWith(\"circle-stroke\"))return map;return orig.setPaintProperty(id,k,v,o);};map.removeLayer=id=>{if(on[id]&&map.getLayer(chip(id)))orig.removeLayer(chip(id));delete on[id];return orig.removeLayer(id);};return map;}// cabinet and office markers (an empty <i> swatch before a label) become the same chips; legend swatches for closures\n// and poles show their chip too\nconst luxSymbolCss=()=>{const url=n=>`url(\"data:image/svg+xml,${encodeURIComponent(luxChipSvg(n))}\")`;return`.mk.cabinet i:empty, .mk.co i:empty { width: 32px !important; height: 32px !important; margin: -7px -4px -7px -7px; border-radius: 0 !important; box-shadow: none !important; background: ${url(\"lux-cabinet\")} center / contain no-repeat !important; }\r\n.mk.co i:empty { background-image: ${url(\"lux-co\")} !important; }\r\n[data-l=\"closures\"] .sw, [data-l=\"poles\"] .sw { width: 20px !important; height: 20px !important; margin: -5px -2px !important; border-radius: 0 !important; box-shadow: none !important; background: ${url(\"lux-closure\")} center / contain no-repeat !important; }\r\n[data-l=\"poles\"] .sw { background-image: ${url(\"lux-pole\")} !important; }`;};// a maplibregl stand-in whose Map installs the symbols on every map a demo creates\nconst luxMapLib=ml=>{if(!ml)return ml;// a demo without a map (no MapLibre on the page) passes nothing through\nif(ml.__luxWrapped)return ml.__luxWrapped;class LuxMap extends ml.Map{constructor(o){super(o);installLuxSymbols(this);}}ml.__luxWrapped=new Proxy(ml,{get:(t,p)=>p===\"Map\"?LuxMap:t[p]});return ml.__luxWrapped;};// Mounts one landed demo inside a shadow root so its styles, ids and keyframes never meet the site's or another\n// demo's. The demo script runs unchanged: it gets a stand-in `document` whose lookups, head and event wiring point\n// at the shadow root. Shared by the Framer components (make-slug-framer.cjs inlines it) and the local test pages.\nfunction mountLuxDemo(host,cfg,run){const root=host.shadowRoot||host.attachShadow({mode:\"open\"});root.innerHTML=\"<style>\"+cfg.css+\"</style>\"+cfg.html;if(!run)return root;const OUTSIDE=new Set([\"visibilitychange\",\"fullscreenchange\",\"pointermove\",\"pointerup\",\"pointercancel\",\"mousemove\",\"mouseup\",\"touchmove\",\"touchend\"]);const pass=(t,p)=>{const v=Reflect.get(t,p);return typeof v===\"function\"?v.bind(t):v;};const head=new Proxy(document.head,{get(t,p){if(p===\"append\"||p===\"prepend\")return(...n)=>root[p](...n);if(p===\"appendChild\")return n=>root.appendChild(n);if(p===\"querySelector\")return s=>root.querySelector(s);return pass(t,p);}});// nodes a demo parks on the body (an off-screen sheet holder) land in the shadow root, where its styles apply\nconst body=new Proxy(document.body,{get(t,p){if(p===\"append\"||p===\"prepend\")return(...n)=>root[p](...n);if(p===\"appendChild\")return n=>root.appendChild(n);return pass(t,p);}});const doc=new Proxy(document,{get(t,p){switch(p){case\"getElementById\":return id=>root.getElementById(id);case\"querySelector\":return s=>root.querySelector(s);case\"querySelectorAll\":return s=>root.querySelectorAll(s);case\"getElementsByClassName\":return c=>root.querySelectorAll(\".\"+c.trim().split(/\\s+/).join(\".\"));case\"elementFromPoint\":return(x,y)=>root.elementFromPoint(x,y);case\"elementsFromPoint\":return(x,y)=>root.elementsFromPoint(x,y);case\"activeElement\":return root.activeElement||document.activeElement;case\"head\":return head;case\"body\":return body;case\"addEventListener\":return(type,fn,o)=>(OUTSIDE.has(type)?document:root).addEventListener(type,fn,o);case\"removeEventListener\":return(type,fn,o)=>(OUTSIDE.has(type)?document:root).removeEventListener(type,fn,o);default:return pass(t,p);}}});// the app's map symbols (lux-symbols.js): every map the demo makes draws chips, and markers and legends match\nconst sym=document.createElement(\"style\");sym.textContent=luxSymbolCss();root.append(sym);// modules the demo imports when it needs them ship inline (cfg.inline: name -> source), never as an upload:\n// reading URLS[name] makes a blob URL of the source then, so nothing is parsed before the demo asks for it\nconst urls={...cfg.urls};for(const[name,src]of Object.entries(cfg.inline||{}))Object.defineProperty(urls,name,{enumerable:true,get:()=>URL.createObjectURL(new Blob([src],{type:\"text/javascript\"}))});return fetch(cfg.urls.js).then(r=>r.text()).then(code=>{new Function(\"URLS\",\"document\",\"maplibregl\",code)(urls,doc,luxMapLib(window.maplibregl));return root;});}// CDN scripts load as they are; the demo's own scripts are Framer assets served as text, so they run from a blob\nfunction loadScript(src){const w=window;w.__luxScripts=w.__luxScripts||{};if(/maplibre/.test(src)&&w.maplibregl)return Promise.resolve();const own=URLS[src];return w.__luxScripts[src]=w.__luxScripts[src]||(own?fetch(own).then(r=>r.text()).then(t=>URL.createObjectURL(new Blob([t],{type:\"text/javascript\"}))):Promise.resolve(src)).then(url=>new Promise((resolve,reject)=>{const s=document.createElement(\"script\");s.src=url;s.onload=()=>resolve();s.onerror=()=>reject(new Error(\"script did not load: \"+src));document.head.appendChild(s);}));}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function LuxDemoSpatialAnalysis(){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;for(const href of FONTS){if(document.querySelector('link[href=\"'+href+'\"]'))continue;const l=document.createElement(\"link\");l.rel=\"stylesheet\";l.href=href;document.head.appendChild(l);}mountLuxDemo(el,{css:CSS,html:HTML,urls:URLS},false);el.style.minHeight=\"\";if(RenderTarget.current()===RenderTarget.canvas)return;let started=false;const io=new IntersectionObserver(([e])=>{if(!e.isIntersecting||started)return;started=true;io.disconnect();(async()=>{for(const s of SCRIPTS)await loadScript(s);await mountLuxDemo(el,{css:CSS,html:HTML,urls:URLS,inline:INLINE},true);})();},{rootMargin:\"700px 0px\"});io.observe(el);return()=>io.disconnect();},[]);return /*#__PURE__*/_jsx(\"section\",{\"aria-label\":\"Live demo\",style:{width:\"100%\",boxSizing:\"border-box\",marginTop:\"clamp(88px, 10vw, 150px)\",paddingInline:\"clamp(18px, 5.56vw, 80px)\"},children:/*#__PURE__*/_jsx(\"div\",{ref:ref,\"data-luxdemo\":SLUG,style:{minHeight:760}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LuxDemoSpatialAnalysis\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LuxDemoSpatialAnalysis.map"],"mappings":"A,yLA+UiU,SAASa,EAAkBC,EAAI,CAAC,GAAGA,EAAI,aAAa,OAAOA,EAAIA,EAAI,aAAa,GAAK,IAAMC,EAAK,CAAC,SAASD,EAAI,SAAS,KAAKA,CAAG,EAAE,UAAUA,EAAI,UAAU,KAAKA,CAAG,EAAE,kBAAkBA,EAAI,kBAAkB,KAAKA,CAAG,EAAE,iBAAiBA,EAAI,iBAAiB,KAAKA,CAAG,EAAE,YAAYA,EAAI,YAAY,KAAKA,CAAG,CAAC,EAAQE,EAAG,CAAC,EAAQC,EAAKC,GAAIA,EAAG,SACpO,MAD6OJ,GAAI,UAAUK,EAAMC,IAAS,CAAC,IAAMC,EAAKF,GAAOA,EAAM,OAAO,UAAUG,EAAWH,EAAM,IAAI,GAAG,CAACE,GAAML,EAAGG,EAAM,IAAI,OAAOJ,EAAK,SAASI,EAAMC,CAAM,EAAE,IAAI,IAAMG,KAAK,OAAO,KAAKC,CAAQ,EAAMV,EAAI,SAASS,CAAC,GAAET,EAAI,SAASS,EAAEE,EAAaF,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAMG,EAAEP,EAAM,OAAO,CAAC,EAAQQ,EAAG,OAAOD,EAAE,mBAAoB,SAASA,EAAE,kBAAkB,EAAshB,MAAphBV,GAAGG,EAAM,IAAI,CAAC,EAAE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