1{{/*2 overview — the corner locator: whether it is put away, and the surface the3 seam draws the world and the camera rectangle onto.45 The canvas is the seam's, so the shelf carries hx-morph-skip-children: a6 swap may move the shelf's own attributes -- docked or not -- and never7 reaches inside to the surface, because a re-render that dropped the canvas8 would cost a redraw of the whole world to say one boolean.9*/}}10{{define "overview"}}<div id="atlas-overview" class="overview-shelf{{if .Overview.Docked}} is-docked{{end}}"{{if not .Volume}} hidden{{end}}>11 <button type="button" class="overview-dock" id="overview-dock"12 aria-expanded="{{if .Overview.Docked}}false{{else}}true{{end}}"13 aria-label="{{.Overview.Label}}" title="{{.Overview.Label}}"14 hx-post="/session/overview"15 hx-vals:append='{"docked":"{{if .Overview.Docked}}0{{else}}1{{end}}"}'>16 <svg viewBox="0 0 16 16" aria-hidden="true"><path d="m6 3 5 5-5 5"/></svg>17 </button>18 <div class="overview" id="overview" aria-label="Map overview" hx-morph-skip-children>19 <canvas id="overview-canvas"></canvas>20 <div class="overview-viewport" id="overview-viewport"></div>21 </div>22</div>23{{end}}