⋯ 43 hidden lines@@ -44,89 +44,135 @@ func Home(l Layout, p HomePage) templ.Component { 44 }() 44 }() 45 } 45 } 46 ctx = templ.InitializeContext(ctx) 46 ctx = templ.InitializeContext(ctx) 47 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<h1 class=\"sr\">Repositories</h1><div class=\"home\" data-layout=\"cards\"><section class=\"home-repos\" aria-label=\"Repositories\"><div class=\"home-bar\"><div class=\"filter\"><label for=\"home-filter\" class=\"sr\">filter</label> <input id=\"home-filter\" type=\"search\" data-filter=\"#repo-rows > li\" placeholder=\"Filter repositories…\" autocomplete=\"off\" hx-on:input=\"ermite.filter(this)\"></div><nav class=\"sort\" aria-label=\"Sort repositories\"><span class=\"mute\">sort</span> " ) 47 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<h1 class=\"sr\">Repositories</h1><div class=\"home\" data-layout=\"cards\"><section class=\"home-repos\" aria-label=\"Repositories\"><div class=\"home-bar\">" ) 48 if templ_7745c5c3_Err != nil { 48 if templ_7745c5c3_Err != nil { 49 return templ_7745c5c3_Err 49 return templ_7745c5c3_Err 50 } 50 } 51 - for _, s := range p.Sorts { 51 + if p.Inbox != nil { 52 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<a href=\"" ) 52 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<a class=\"btn inbox-btn\" href=\"" ) 53 if templ_7745c5c3_Err != nil { 53 if templ_7745c5c3_Err != nil { 54 return templ_7745c5c3_Err 54 return templ_7745c5c3_Err 55 } 55 } 56 var templ_7745c5c3_Var3 templ.SafeURL 56 var templ_7745c5c3_Var3 templ.SafeURL 57 - templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href)) 57 + templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Inbox.Href)) 58 if templ_7745c5c3_Err != nil { 58 if templ_7745c5c3_Err != nil { 59 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 27, Col: 36} 59 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 13, Col: 65} 60 } 60 } 61 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) 61 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) 62 if templ_7745c5c3_Err != nil { 62 if templ_7745c5c3_Err != nil { 63 return templ_7745c5c3_Err 63 return templ_7745c5c3_Err 64 } 64 } 65 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\"" ) 65 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" title=\"inbox\">Inbox " ) 66 + if templ_7745c5c3_Err != nil { 67 + return templ_7745c5c3_Err 68 + } 69 + if p.Inbox.Count >= 0 { 70 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "<span class=\"count\">" ) 71 + if templ_7745c5c3_Err != nil { 72 + return templ_7745c5c3_Err 73 + } 74 + var templ_7745c5c3_Var4 string 75 + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Inbox.Count)) 76 + if templ_7745c5c3_Err != nil { 77 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 16, Col: 49} 78 + } 79 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) 80 + if templ_7745c5c3_Err != nil { 81 + return templ_7745c5c3_Err 82 + } 83 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "</span>" ) 84 + if templ_7745c5c3_Err != nil { 85 + return templ_7745c5c3_Err 86 + } 87 + } 88 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "</a>" ) 89 + if templ_7745c5c3_Err != nil { 90 + return templ_7745c5c3_Err 91 + } 92 + } 93 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "<div class=\"filter\"><label for=\"home-filter\" class=\"sr\">filter</label> <input id=\"home-filter\" type=\"search\" data-filter=\"#repo-rows > li\" placeholder=\"Filter repositories…\" autocomplete=\"off\" hx-on:input=\"ermite.filter(this)\"></div><nav class=\"sort\" aria-label=\"Sort repositories\"><span class=\"mute\">sort</span> " ) 94 + if templ_7745c5c3_Err != nil { 95 + return templ_7745c5c3_Err 96 + } 97 + for _, s := range p.Sorts { 98 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<a href=\"" ) 99 + if templ_7745c5c3_Err != nil { 100 + return templ_7745c5c3_Err 101 + } 102 + var templ_7745c5c3_Var5 templ.SafeURL 103 + templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href)) 104 + if templ_7745c5c3_Err != nil { 105 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 35, Col: 36} 106 + } 107 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) 108 + if templ_7745c5c3_Err != nil { 109 + return templ_7745c5c3_Err 110 + } 111 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\"" ) 66 if templ_7745c5c3_Err != nil { 112 if templ_7745c5c3_Err != nil { 67 return templ_7745c5c3_Err 113 return templ_7745c5c3_Err 68 } 114 } 69 if s.Mark != "" { 115 if s.Mark != "" { 70 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " aria-current=\"true\"" ) 116 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " aria-current=\"true\"" ) 71 if templ_7745c5c3_Err != nil { 117 if templ_7745c5c3_Err != nil { 72 return templ_7745c5c3_Err 118 return templ_7745c5c3_Err 73 } 119 } 74 } 120 } 75 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, ">" ) 121 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, ">" ) 76 if templ_7745c5c3_Err != nil { 122 if templ_7745c5c3_Err != nil { 77 return templ_7745c5c3_Err 123 return templ_7745c5c3_Err 78 } 124 } 79 - var templ_7745c5c3_Var4 string 125 + var templ_7745c5c3_Var6 string 80 - templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label) 126 + templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label) 81 if templ_7745c5c3_Err != nil { 127 if templ_7745c5c3_Err != nil { 82 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 32, Col: 17} 128 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 40, Col: 17} 83 } 129 } 84 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) 130 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) 85 if templ_7745c5c3_Err != nil { 131 if templ_7745c5c3_Err != nil { 86 return templ_7745c5c3_Err 132 return templ_7745c5c3_Err 87 } 133 } 88 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, " " ) 134 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " " ) 89 if templ_7745c5c3_Err != nil { 135 if templ_7745c5c3_Err != nil { 90 return templ_7745c5c3_Err 136 return templ_7745c5c3_Err 91 } 137 } 92 if s.Mark != "" { 138 if s.Mark != "" { 93 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "<span aria-hidden=\"true\">" ) 139 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "<span aria-hidden=\"true\">" ) 94 if templ_7745c5c3_Err != nil { 140 if templ_7745c5c3_Err != nil { 95 return templ_7745c5c3_Err 141 return templ_7745c5c3_Err 96 } 142 } 97 - var templ_7745c5c3_Var5 string 143 + var templ_7745c5c3_Var7 string 98 - templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(s.Mark) 144 + templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(s.Mark) 99 if templ_7745c5c3_Err != nil { 145 if templ_7745c5c3_Err != nil { 100 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 34, Col: 42} 146 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 42, Col: 42} 101 } 147 } 102 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) 148 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) 103 if templ_7745c5c3_Err != nil { 149 if templ_7745c5c3_Err != nil { 104 return templ_7745c5c3_Err 150 return templ_7745c5c3_Err 105 } 151 } 106 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "</span> <span class=\"sr\">" ) 152 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "</span> <span class=\"sr\">" ) 107 if templ_7745c5c3_Err != nil { 153 if templ_7745c5c3_Err != nil { 108 return templ_7745c5c3_Err 154 return templ_7745c5c3_Err 109 } 155 } 110 - var templ_7745c5c3_Var6 string 156 + var templ_7745c5c3_Var8 string 111 - templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(", " + s.State) 157 + templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(", " + s.State) 112 if templ_7745c5c3_Err != nil { 158 if templ_7745c5c3_Err != nil { 113 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 35, Col: 42} 159 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 43, Col: 42} 114 } 160 } 115 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) 161 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) 116 if templ_7745c5c3_Err != nil { 162 if templ_7745c5c3_Err != nil { 117 return templ_7745c5c3_Err 163 return templ_7745c5c3_Err 118 } 164 } 119 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "</span>" ) 165 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "</span>" ) 120 if templ_7745c5c3_Err != nil { 166 if templ_7745c5c3_Err != nil { 121 return templ_7745c5c3_Err 167 return templ_7745c5c3_Err 122 } 168 } 123 } 169 } 124 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "</a>" ) 170 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "</a>" ) 125 if templ_7745c5c3_Err != nil { 171 if templ_7745c5c3_Err != nil { 126 return templ_7745c5c3_Err 172 return templ_7745c5c3_Err 127 } 173 } 128 } 174 } 129 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "</nav><div class=\"layout-switch\" role=\"group\" aria-label=\"Layout\" data-js><button type=\"button\" class=\"btn icon\" data-set-layout=\"cards\" aria-pressed=\"true\" title=\"Cards\" aria-label=\"Cards\"><span class=\"ico i-cards\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"split\" aria-pressed=\"false\" title=\"Two columns\" aria-label=\"Two columns\"><span class=\"ico i-split\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"compact\" aria-pressed=\"false\" title=\"Compact list\" aria-label=\"Compact list\"><span class=\"ico i-compact\" aria-hidden=\"true\"></span></button></div></div><ul class=\"repos\" id=\"repo-rows\" data-rows>" ) 175 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "</nav><div class=\"layout-switch\" role=\"group\" aria-label=\"Layout\" data-js><button type=\"button\" class=\"btn icon\" data-set-layout=\"cards\" aria-pressed=\"true\" title=\"Cards\" aria-label=\"Cards\"><span class=\"ico i-cards\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"split\" aria-pressed=\"false\" title=\"Two columns\" aria-label=\"Two columns\"><span class=\"ico i-split\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"compact\" aria-pressed=\"false\" title=\"Compact list\" aria-label=\"Compact list\"><span class=\"ico i-compact\" aria-hidden=\"true\"></span></button></div></div><ul class=\"repos\" id=\"repo-rows\" data-rows>" ) 130 if templ_7745c5c3_Err != nil { 176 if templ_7745c5c3_Err != nil { 131 return templ_7745c5c3_Err 177 return templ_7745c5c3_Err 132 } 178 } ⋯ 20 hidden lines@@ -230,158 +276,158 @@ func latestTagFact(t LatestTag) templ.Component { 230 }() 276 }() 231 } 277 } 232 ctx = templ.InitializeContext(ctx) 278 ctx = templ.InitializeContext(ctx) 233 - templ_7745c5c3_Var9 := templ.GetChildren(ctx) 279 + templ_7745c5c3_Var11 := templ.GetChildren(ctx) 234 - if templ_7745c5c3_Var9 == nil { 280 + if templ_7745c5c3_Var11 == nil { 235 - templ_7745c5c3_Var9 = templ.NopComponent 281 + templ_7745c5c3_Var11 = templ.NopComponent 236 } 282 } 237 ctx = templ.ClearChildren(ctx) 283 ctx = templ.ClearChildren(ctx) 238 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "<dt>latest tag</dt><dd class=\"latest-tag\">" ) 284 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "<dt>latest tag</dt><dd class=\"latest-tag\">" ) 239 if templ_7745c5c3_Err != nil { 285 if templ_7745c5c3_Err != nil { 240 return templ_7745c5c3_Err 286 return templ_7745c5c3_Err 241 } 287 } 242 if t.Name != "" { 288 if t.Name != "" { 243 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "<a class=\"tag-name\" href=\"" ) 289 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<a class=\"tag-name\" href=\"" ) 244 if templ_7745c5c3_Err != nil { 290 if templ_7745c5c3_Err != nil { 245 return templ_7745c5c3_Err 291 return templ_7745c5c3_Err 246 } 292 } 247 - var templ_7745c5c3_Var10 templ.SafeURL 293 + var templ_7745c5c3_Var12 templ.SafeURL 248 - templ_7745c5c3_Var10, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.Href)) 294 + templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.Href)) 249 if templ_7745c5c3_Err != nil { 295 if templ_7745c5c3_Err != nil { 250 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 82, Col: 51} 296 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 51} 251 } 297 } 252 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var10)) 298 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) 253 if templ_7745c5c3_Err != nil { 299 if templ_7745c5c3_Err != nil { 254 return templ_7745c5c3_Err 300 return templ_7745c5c3_Err 255 } 301 } 256 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\" title=\"" ) 302 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "\" title=\"" ) 257 if templ_7745c5c3_Err != nil { 303 if templ_7745c5c3_Err != nil { 258 return templ_7745c5c3_Err 304 return templ_7745c5c3_Err 259 } 305 } 260 - var templ_7745c5c3_Var11 string 306 + var templ_7745c5c3_Var13 string 261 - templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.Subject) 307 + templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.Subject) 262 if templ_7745c5c3_Err != nil { 308 if templ_7745c5c3_Err != nil { 263 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 82, Col: 71} 309 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 71} 264 } 310 } 265 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var11) 311 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var13) 266 if templ_7745c5c3_Err != nil { 312 if templ_7745c5c3_Err != nil { 267 return templ_7745c5c3_Err 313 return templ_7745c5c3_Err 268 } 314 } 269 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\">" ) 315 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\">" ) 270 if templ_7745c5c3_Err != nil { 316 if templ_7745c5c3_Err != nil { 271 return templ_7745c5c3_Err 317 return templ_7745c5c3_Err 272 } 318 } 273 - var templ_7745c5c3_Var12 string 319 + var templ_7745c5c3_Var14 string 274 - templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(t.Name) 320 + templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(t.Name) 275 if templ_7745c5c3_Err != nil { 321 if templ_7745c5c3_Err != nil { 276 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 82, Col: 82} 322 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 82} 277 } 323 } 278 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) 324 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) 279 if templ_7745c5c3_Err != nil { 325 if templ_7745c5c3_Err != nil { 280 return templ_7745c5c3_Err 326 return templ_7745c5c3_Err 281 } 327 } 282 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "</a> " ) 328 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "</a> " ) 283 if templ_7745c5c3_Err != nil { 329 if templ_7745c5c3_Err != nil { 284 return templ_7745c5c3_Err 330 return templ_7745c5c3_Err 285 } 331 } 286 if t.WhenAt != "" { 332 if t.WhenAt != "" { 287 - var templ_7745c5c3_Var13 string 333 + var templ_7745c5c3_Var15 string 288 - templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 334 + templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 289 if templ_7745c5c3_Err != nil { 335 if templ_7745c5c3_Err != nil { 290 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 12} 336 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 12} 291 } 337 } 292 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) 338 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) 293 if templ_7745c5c3_Err != nil { 339 if templ_7745c5c3_Err != nil { 294 return templ_7745c5c3_Err 340 return templ_7745c5c3_Err 295 } 341 } 296 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "<time datetime=\"" ) 342 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "<time datetime=\"" ) 297 if templ_7745c5c3_Err != nil { 343 if templ_7745c5c3_Err != nil { 298 return templ_7745c5c3_Err 344 return templ_7745c5c3_Err 299 } 345 } 300 - var templ_7745c5c3_Var14 string 346 + var templ_7745c5c3_Var16 string 301 - templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 347 + templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 302 if templ_7745c5c3_Err != nil { 348 if templ_7745c5c3_Err != nil { 303 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 39} 349 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 39} 304 } 350 } 305 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var14) 351 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var16) 306 if templ_7745c5c3_Err != nil { 352 if templ_7745c5c3_Err != nil { 307 return templ_7745c5c3_Err 353 return templ_7745c5c3_Err 308 } 354 } 309 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "\" title=\"" ) 355 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" title=\"" ) 310 if templ_7745c5c3_Err != nil { 356 if templ_7745c5c3_Err != nil { 311 return templ_7745c5c3_Err 357 return templ_7745c5c3_Err 312 } 358 } 313 - var templ_7745c5c3_Var15 string 359 + var templ_7745c5c3_Var17 string 314 - templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 360 + templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 315 if templ_7745c5c3_Err != nil { 361 if templ_7745c5c3_Err != nil { 316 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 58} 362 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 58} 317 } 363 } 318 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var15) 364 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var17) 319 if templ_7745c5c3_Err != nil { 365 if templ_7745c5c3_Err != nil { 320 return templ_7745c5c3_Err 366 return templ_7745c5c3_Err 321 } 367 } 322 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "\">" ) 368 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\">" ) 323 if templ_7745c5c3_Err != nil { 369 if templ_7745c5c3_Err != nil { 324 return templ_7745c5c3_Err 370 return templ_7745c5c3_Err 325 } 371 } 326 - var templ_7745c5c3_Var16 string 372 + var templ_7745c5c3_Var18 string 327 - templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.JoinStringErrs(t.When) 373 + templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(t.When) 328 if templ_7745c5c3_Err != nil { 374 if templ_7745c5c3_Err != nil { 329 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 69} 375 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 69} 330 } 376 } 331 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var16)) 377 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) 332 if templ_7745c5c3_Err != nil { 378 if templ_7745c5c3_Err != nil { 333 return templ_7745c5c3_Err 379 return templ_7745c5c3_Err 334 } 380 } 335 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "</time>" ) 381 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "</time>" ) 336 if templ_7745c5c3_Err != nil { 382 if templ_7745c5c3_Err != nil { 337 return templ_7745c5c3_Err 383 return templ_7745c5c3_Err 338 } 384 } 339 } 385 } 340 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, " " ) 386 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, " " ) 341 if templ_7745c5c3_Err != nil { 387 if templ_7745c5c3_Err != nil { 342 return templ_7745c5c3_Err 388 return templ_7745c5c3_Err 343 } 389 } 344 - var templ_7745c5c3_Var17 string 390 + var templ_7745c5c3_Var19 string 345 - templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 391 + templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 346 if templ_7745c5c3_Err != nil { 392 if templ_7745c5c3_Err != nil { 347 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 86, Col: 11} 393 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 94, Col: 11} 348 } 394 } 349 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var17)) 395 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) 350 if templ_7745c5c3_Err != nil { 396 if templ_7745c5c3_Err != nil { 351 return templ_7745c5c3_Err 397 return templ_7745c5c3_Err 352 } 398 } 353 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, " " ) 399 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, " " ) 354 if templ_7745c5c3_Err != nil { 400 if templ_7745c5c3_Err != nil { 355 return templ_7745c5c3_Err 401 return templ_7745c5c3_Err 356 } 402 } 357 } 403 } 358 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "<a class=\"all-tags\" href=\"" ) 404 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "<a class=\"all-tags\" href=\"" ) 359 if templ_7745c5c3_Err != nil { 405 if templ_7745c5c3_Err != nil { 360 return templ_7745c5c3_Err 406 return templ_7745c5c3_Err 361 } 407 } 362 - var templ_7745c5c3_Var18 templ.SafeURL 408 + var templ_7745c5c3_Var20 templ.SafeURL 363 - templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.RefsHref)) 409 + templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.RefsHref)) 364 if templ_7745c5c3_Err != nil { 410 if templ_7745c5c3_Err != nil { 365 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 88, Col: 54} 411 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 96, Col: 54} 366 } 412 } 367 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) 413 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) 368 if templ_7745c5c3_Err != nil { 414 if templ_7745c5c3_Err != nil { 369 return templ_7745c5c3_Err 415 return templ_7745c5c3_Err 370 } 416 } 371 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\">" ) 417 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\">" ) 372 if templ_7745c5c3_Err != nil { 418 if templ_7745c5c3_Err != nil { 373 return templ_7745c5c3_Err 419 return templ_7745c5c3_Err 374 } 420 } 375 - var templ_7745c5c3_Var19 string 421 + var templ_7745c5c3_Var21 string 376 - templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(plural(t.Count, "tag" , "tags" )) 422 + templ_7745c5c3_Var21, templ_7745c5c3_Err = templ.JoinStringErrs(plural(t.Count, "tag" , "tags" )) 377 if templ_7745c5c3_Err != nil { 423 if templ_7745c5c3_Err != nil { 378 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 88, Col: 89} 424 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 96, Col: 89} 379 } 425 } 380 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) 426 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var21)) 381 if templ_7745c5c3_Err != nil { 427 if templ_7745c5c3_Err != nil { 382 return templ_7745c5c3_Err 428 return templ_7745c5c3_Err 383 } 429 } 384 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "</a></dd>" ) 430 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</a></dd>" ) 385 if templ_7745c5c3_Err != nil { 431 if templ_7745c5c3_Err != nil { 386 return templ_7745c5c3_Err 432 return templ_7745c5c3_Err 387 } 433 } ⋯ 17 hidden lines@@ -597,112 +643,112 @@ func refRow(kind string, r RefRow) templ.Component { 597 }() 643 }() 598 } 644 } 599 ctx = templ.InitializeContext(ctx) 645 ctx = templ.InitializeContext(ctx) 600 - templ_7745c5c3_Var26 := templ.GetChildren(ctx) 646 + templ_7745c5c3_Var28 := templ.GetChildren(ctx) 601 - if templ_7745c5c3_Var26 == nil { 647 + if templ_7745c5c3_Var28 == nil { 602 - templ_7745c5c3_Var26 = templ.NopComponent 648 + templ_7745c5c3_Var28 = templ.NopComponent 603 } 649 } 604 ctx = templ.ClearChildren(ctx) 650 ctx = templ.ClearChildren(ctx) 605 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<tr" ) 651 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "<tr" ) 606 if templ_7745c5c3_Err != nil { 652 if templ_7745c5c3_Err != nil { 607 return templ_7745c5c3_Err 653 return templ_7745c5c3_Err 608 } 654 } 609 if r.Cursor { 655 if r.Cursor { 610 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, " data-cursor" ) 656 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, " data-cursor" ) 611 if templ_7745c5c3_Err != nil { 657 if templ_7745c5c3_Err != nil { 612 return templ_7745c5c3_Err 658 return templ_7745c5c3_Err 613 } 659 } 614 } 660 } 615 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "><td class=\"c-kind mute\">" ) 661 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "><td class=\"c-kind mute\">" ) 616 if templ_7745c5c3_Err != nil { 662 if templ_7745c5c3_Err != nil { 617 return templ_7745c5c3_Err 663 return templ_7745c5c3_Err 618 } 664 } 619 - var templ_7745c5c3_Var27 string 665 + var templ_7745c5c3_Var29 string 620 - templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(kind) 666 + templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(kind) 621 if templ_7745c5c3_Err != nil { 667 if templ_7745c5c3_Err != nil { 622 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 148, Col: 32} 668 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 156, Col: 32} 623 } 669 } 624 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27)) 670 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) 625 if templ_7745c5c3_Err != nil { 671 if templ_7745c5c3_Err != nil { 626 return templ_7745c5c3_Err 672 return templ_7745c5c3_Err 627 } 673 } 628 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "</td><td class=\"c-name\"><a href=\"" ) 674 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "</td><td class=\"c-name\"><a href=\"" ) 629 if templ_7745c5c3_Err != nil { 675 if templ_7745c5c3_Err != nil { 630 return templ_7745c5c3_Err 676 return templ_7745c5c3_Err 631 } 677 } 632 - var templ_7745c5c3_Var28 templ.SafeURL 678 + var templ_7745c5c3_Var30 templ.SafeURL 633 - templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) 679 + templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) 634 if templ_7745c5c3_Err != nil { 680 if templ_7745c5c3_Err != nil { 635 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 150, Col: 34} 681 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 158, Col: 34} 636 } 682 } 637 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28)) 683 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 638 if templ_7745c5c3_Err != nil { 684 if templ_7745c5c3_Err != nil { 639 return templ_7745c5c3_Err 685 return templ_7745c5c3_Err 640 } 686 } 641 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "\">" ) 687 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\">" ) 642 if templ_7745c5c3_Err != nil { 688 if templ_7745c5c3_Err != nil { 643 return templ_7745c5c3_Err 689 return templ_7745c5c3_Err 644 } 690 } 645 - var templ_7745c5c3_Var29 string 691 + var templ_7745c5c3_Var31 string 646 - templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 692 + templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 647 if templ_7745c5c3_Err != nil { 693 if templ_7745c5c3_Err != nil { 648 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 150, Col: 45} 694 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 158, Col: 45} 649 } 695 } 650 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) 696 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) 651 if templ_7745c5c3_Err != nil { 697 if templ_7745c5c3_Err != nil { 652 return templ_7745c5c3_Err 698 return templ_7745c5c3_Err 653 } 699 } 654 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</a> " ) 700 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</a> " ) 655 if templ_7745c5c3_Err != nil { 701 if templ_7745c5c3_Err != nil { 656 return templ_7745c5c3_Err 702 return templ_7745c5c3_Err 657 } 703 } 658 if r.Default { 704 if r.Default { 659 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "<span class=\"pill\">default</span>" ) 705 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<span class=\"pill\">default</span>" ) 660 if templ_7745c5c3_Err != nil { 706 if templ_7745c5c3_Err != nil { 661 return templ_7745c5c3_Err 707 return templ_7745c5c3_Err 662 } 708 } 663 } 709 } 664 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</td><td class=\"c-sha\">" ) 710 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</td><td class=\"c-sha\">" ) 665 if templ_7745c5c3_Err != nil { 711 if templ_7745c5c3_Err != nil { 666 return templ_7745c5c3_Err 712 return templ_7745c5c3_Err 667 } 713 } 668 if r.CHref != "" { 714 if r.CHref != "" { 669 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "<a href=\"" ) 715 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<a href=\"" ) 670 if templ_7745c5c3_Err != nil { 716 if templ_7745c5c3_Err != nil { 671 return templ_7745c5c3_Err 717 return templ_7745c5c3_Err 672 } 718 } 673 - var templ_7745c5c3_Var30 templ.SafeURL 719 + var templ_7745c5c3_Var32 templ.SafeURL 674 - templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.CHref)) 720 + templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.CHref)) 675 if templ_7745c5c3_Err != nil { 721 if templ_7745c5c3_Err != nil { 676 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 157, Col: 36} 722 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 165, Col: 36} 677 } 723 } 678 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 724 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) 679 if templ_7745c5c3_Err != nil { 725 if templ_7745c5c3_Err != nil { 680 return templ_7745c5c3_Err 726 return templ_7745c5c3_Err 681 } 727 } 682 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\">" ) 728 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\">" ) 683 if templ_7745c5c3_Err != nil { 729 if templ_7745c5c3_Err != nil { 684 return templ_7745c5c3_Err 730 return templ_7745c5c3_Err 685 } 731 } 686 - var templ_7745c5c3_Var31 string 732 + var templ_7745c5c3_Var33 string 687 - templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 733 + templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 688 if templ_7745c5c3_Err != nil { 734 if templ_7745c5c3_Err != nil { 689 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 157, Col: 48} 735 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 165, Col: 48} 690 } 736 } 691 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) 737 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) 692 if templ_7745c5c3_Err != nil { 738 if templ_7745c5c3_Err != nil { 693 return templ_7745c5c3_Err 739 return templ_7745c5c3_Err 694 } 740 } 695 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</a>" ) 741 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</a>" ) 696 if templ_7745c5c3_Err != nil { 742 if templ_7745c5c3_Err != nil { 697 return templ_7745c5c3_Err 743 return templ_7745c5c3_Err 698 } 744 } 699 } else { 745 } else { 700 - var templ_7745c5c3_Var32 string 746 + var templ_7745c5c3_Var34 string 701 - templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 747 + templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 702 if templ_7745c5c3_Err != nil { 748 if templ_7745c5c3_Err != nil { 703 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 159, Col: 13} 749 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 167, Col: 13} 704 } 750 } 705 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) 751 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34)) 706 if templ_7745c5c3_Err != nil { 752 if templ_7745c5c3_Err != nil { 707 return templ_7745c5c3_Err 753 return templ_7745c5c3_Err 708 } 754 } ⋯ 2 hidden lines@@ -711,69 +757,69 @@ func refRow(kind string, r RefRow) templ.Component { 711 if templ_7745c5c3_Err != nil { 757 if templ_7745c5c3_Err != nil { 712 return templ_7745c5c3_Err 758 return templ_7745c5c3_Err 713 } 759 } 714 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</td><td class=\"c-sub\">" ) 760 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "</td><td class=\"c-sub\">" ) 715 if templ_7745c5c3_Err != nil { 761 if templ_7745c5c3_Err != nil { 716 return templ_7745c5c3_Err 762 return templ_7745c5c3_Err 717 } 763 } 718 - var templ_7745c5c3_Var33 string 764 + var templ_7745c5c3_Var35 string 719 - templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(r.Subject) 765 + templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(r.Subject) 720 if templ_7745c5c3_Err != nil { 766 if templ_7745c5c3_Err != nil { 721 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 163, Col: 31} 767 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 171, Col: 31} 722 } 768 } 723 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) 769 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) 724 if templ_7745c5c3_Err != nil { 770 if templ_7745c5c3_Err != nil { 725 return templ_7745c5c3_Err 771 return templ_7745c5c3_Err 726 } 772 } 727 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</td><td class=\"c-when dim\">" ) 773 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "</td><td class=\"c-when dim\">" ) 728 if templ_7745c5c3_Err != nil { 774 if templ_7745c5c3_Err != nil { 729 return templ_7745c5c3_Err 775 return templ_7745c5c3_Err 730 } 776 } 731 if r.WhenAt != "" { 777 if r.WhenAt != "" { 732 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "<time datetime=\"" ) 778 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "<time datetime=\"" ) 733 if templ_7745c5c3_Err != nil { 779 if templ_7745c5c3_Err != nil { 734 return templ_7745c5c3_Err 780 return templ_7745c5c3_Err 735 } 781 } 736 - var templ_7745c5c3_Var34 string 782 + var templ_7745c5c3_Var36 string 737 - templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 783 + templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 738 if templ_7745c5c3_Err != nil { 784 if templ_7745c5c3_Err != nil { 739 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 166, Col: 29} 785 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 29} 740 } 786 } 741 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var34) 787 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36) 742 if templ_7745c5c3_Err != nil { 788 if templ_7745c5c3_Err != nil { 743 return templ_7745c5c3_Err 789 return templ_7745c5c3_Err 744 } 790 } 745 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "\" title=\"" ) 791 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" title=\"" ) 746 if templ_7745c5c3_Err != nil { 792 if templ_7745c5c3_Err != nil { 747 return templ_7745c5c3_Err 793 return templ_7745c5c3_Err 748 } 794 } 749 - var templ_7745c5c3_Var35 string 795 + var templ_7745c5c3_Var37 string 750 - templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 796 + templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 751 if templ_7745c5c3_Err != nil { 797 if templ_7745c5c3_Err != nil { 752 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 166, Col: 48} 798 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 48} 753 } 799 } 754 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var35) 800 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var37) 755 if templ_7745c5c3_Err != nil { 801 if templ_7745c5c3_Err != nil { 756 return templ_7745c5c3_Err 802 return templ_7745c5c3_Err 757 } 803 } 758 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\">" ) 804 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "\">" ) 759 if templ_7745c5c3_Err != nil { 805 if templ_7745c5c3_Err != nil { 760 return templ_7745c5c3_Err 806 return templ_7745c5c3_Err 761 } 807 } 762 - var templ_7745c5c3_Var36 string 808 + var templ_7745c5c3_Var38 string 763 - templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.JoinStringErrs(r.When) 809 + templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(r.When) 764 if templ_7745c5c3_Err != nil { 810 if templ_7745c5c3_Err != nil { 765 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 166, Col: 59} 811 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 59} 766 } 812 } 767 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var36)) 813 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) 768 if templ_7745c5c3_Err != nil { 814 if templ_7745c5c3_Err != nil { 769 return templ_7745c5c3_Err 815 return templ_7745c5c3_Err 770 } 816 } 771 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</time>" ) 817 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "</time>" ) 772 if templ_7745c5c3_Err != nil { 818 if templ_7745c5c3_Err != nil { 773 return templ_7745c5c3_Err 819 return templ_7745c5c3_Err 774 } 820 } 775 } 821 } 776 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "</td></tr>" ) 822 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "</td></tr>" ) 777 if templ_7745c5c3_Err != nil { 823 if templ_7745c5c3_Err != nil { 778 return templ_7745c5c3_Err 824 return templ_7745c5c3_Err 779 } 825 } ⋯ 5 hidden lines@@ -852,51 +898,51 @@ func State(l Layout, p StatePage) templ.Component { 852 }() 898 }() 853 } 899 } 854 ctx = templ.InitializeContext(ctx) 900 ctx = templ.InitializeContext(ctx) 855 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "<section class=\"state\" aria-labelledby=\"state-title\"><p class=\"eyebrow\">" ) 901 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<section class=\"state\" aria-labelledby=\"state-title\"><p class=\"eyebrow\">" ) 856 if templ_7745c5c3_Err != nil { 902 if templ_7745c5c3_Err != nil { 857 return templ_7745c5c3_Err 903 return templ_7745c5c3_Err 858 } 904 } 859 - var templ_7745c5c3_Var40 string 905 + var templ_7745c5c3_Var42 string 860 - templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.JoinStringErrs(p.Code) 906 + templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(p.Code) 861 if templ_7745c5c3_Err != nil { 907 if templ_7745c5c3_Err != nil { 862 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 183, Col: 30} 908 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 191, Col: 30} 863 } 909 } 864 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var40)) 910 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) 865 if templ_7745c5c3_Err != nil { 911 if templ_7745c5c3_Err != nil { 866 return templ_7745c5c3_Err 912 return templ_7745c5c3_Err 867 } 913 } 868 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "</p><h1 id=\"state-title\">" ) 914 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "</p><h1 id=\"state-title\">" ) 869 if templ_7745c5c3_Err != nil { 915 if templ_7745c5c3_Err != nil { 870 return templ_7745c5c3_Err 916 return templ_7745c5c3_Err 871 } 917 } 872 - var templ_7745c5c3_Var41 string 918 + var templ_7745c5c3_Var43 string 873 - templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 919 + templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 874 if templ_7745c5c3_Err != nil { 920 if templ_7745c5c3_Err != nil { 875 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 184, Col: 33} 921 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 192, Col: 33} 876 } 922 } 877 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41)) 923 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) 878 if templ_7745c5c3_Err != nil { 924 if templ_7745c5c3_Err != nil { 879 return templ_7745c5c3_Err 925 return templ_7745c5c3_Err 880 } 926 } 881 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "</h1>" ) 927 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "</h1>" ) 882 if templ_7745c5c3_Err != nil { 928 if templ_7745c5c3_Err != nil { 883 return templ_7745c5c3_Err 929 return templ_7745c5c3_Err 884 } 930 } 885 for _, line := range p.Lines { 931 for _, line := range p.Lines { 886 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "<p class=\"dim\">" ) 932 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "<p class=\"dim\">" ) 887 if templ_7745c5c3_Err != nil { 933 if templ_7745c5c3_Err != nil { 888 return templ_7745c5c3_Err 934 return templ_7745c5c3_Err 889 } 935 } 890 - var templ_7745c5c3_Var42 string 936 + var templ_7745c5c3_Var44 string 891 - templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(line) 937 + templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinStringErrs(line) 892 if templ_7745c5c3_Err != nil { 938 if templ_7745c5c3_Err != nil { 893 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 186, Col: 25} 939 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 194, Col: 25} 894 } 940 } 895 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) 941 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44)) 896 if templ_7745c5c3_Err != nil { 942 if templ_7745c5c3_Err != nil { 897 return templ_7745c5c3_Err 943 return templ_7745c5c3_Err 898 } 944 } 899 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</p>" ) 945 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</p>" ) 900 if templ_7745c5c3_Err != nil { 946 if templ_7745c5c3_Err != nil { 901 return templ_7745c5c3_Err 947 return templ_7745c5c3_Err 902 } 948 } ⋯ 4 hidden lines@@ -907,49 +953,49 @@ func State(l Layout, p StatePage) templ.Component { 907 return templ_7745c5c3_Err 953 return templ_7745c5c3_Err 908 } 954 } 909 } 955 } 910 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<p class=\"state-back\">" ) 956 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "<p class=\"state-back\">" ) 911 if templ_7745c5c3_Err != nil { 957 if templ_7745c5c3_Err != nil { 912 return templ_7745c5c3_Err 958 return templ_7745c5c3_Err 913 } 959 } 914 for _, b := range p.Back { 960 for _, b := range p.Back { 915 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<a href=\"" ) 961 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "<a href=\"" ) 916 if templ_7745c5c3_Err != nil { 962 if templ_7745c5c3_Err != nil { 917 return templ_7745c5c3_Err 963 return templ_7745c5c3_Err 918 } 964 } 919 - var templ_7745c5c3_Var43 templ.SafeURL 965 + var templ_7745c5c3_Var45 templ.SafeURL 920 - templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(b.Href)) 966 + templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(b.Href)) 921 if templ_7745c5c3_Err != nil { 967 if templ_7745c5c3_Err != nil { 922 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 193, Col: 36} 968 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 201, Col: 36} 923 } 969 } 924 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) 970 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var45)) 925 if templ_7745c5c3_Err != nil { 971 if templ_7745c5c3_Err != nil { 926 return templ_7745c5c3_Err 972 return templ_7745c5c3_Err 927 } 973 } 928 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "\">" ) 974 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "\">" ) 929 if templ_7745c5c3_Err != nil { 975 if templ_7745c5c3_Err != nil { 930 return templ_7745c5c3_Err 976 return templ_7745c5c3_Err 931 } 977 } 932 - var templ_7745c5c3_Var44 string 978 + var templ_7745c5c3_Var46 string 933 - templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinStringErrs(b.Label) 979 + templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(b.Label) 934 if templ_7745c5c3_Err != nil { 980 if templ_7745c5c3_Err != nil { 935 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 193, Col: 48} 981 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 201, Col: 48} 936 } 982 } 937 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44)) 983 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) 938 if templ_7745c5c3_Err != nil { 984 if templ_7745c5c3_Err != nil { 939 return templ_7745c5c3_Err 985 return templ_7745c5c3_Err 940 } 986 } 941 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "</a>" ) 987 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "</a>" ) 942 if templ_7745c5c3_Err != nil { 988 if templ_7745c5c3_Err != nil { 943 return templ_7745c5c3_Err 989 return templ_7745c5c3_Err 944 } 990 } 945 } 991 } 946 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "</p></section>" ) 992 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "</p></section>" ) 947 if templ_7745c5c3_Err != nil { 993 if templ_7745c5c3_Err != nil { 948 return templ_7745c5c3_Err 994 return templ_7745c5c3_Err 949 } 995 } 950 return nil 996 return nil 951 }) 997 }) 952 - templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var39), templ_7745c5c3_Buffer) 998 + templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var41), templ_7745c5c3_Buffer) 953 if templ_7745c5c3_Err != nil { 999 if templ_7745c5c3_Err != nil { 954 return templ_7745c5c3_Err 1000 return templ_7745c5c3_Err 955 } 1001 } ⋯ 5 hidden lines@@ -995,75 +1041,75 @@ func Login(l Layout, p LoginPage) templ.Component { 995 }() 1041 }() 996 } 1042 } 997 ctx = templ.InitializeContext(ctx) 1043 ctx = templ.InitializeContext(ctx) 998 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1044 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 999 if templ_7745c5c3_Err != nil { 1045 if templ_7745c5c3_Err != nil { 1000 return templ_7745c5c3_Err 1046 return templ_7745c5c3_Err 1001 } 1047 } 1002 - var templ_7745c5c3_Var47 string 1048 + var templ_7745c5c3_Var49 string 1003 - templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1049 + templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1004 if templ_7745c5c3_Err != nil { 1050 if templ_7745c5c3_Err != nil { 1005 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 208, Col: 33} 1051 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 216, Col: 33} 1006 } 1052 } 1007 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var47)) 1053 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) 1008 if templ_7745c5c3_Err != nil { 1054 if templ_7745c5c3_Err != nil { 1009 return templ_7745c5c3_Err 1055 return templ_7745c5c3_Err 1010 } 1056 } 1011 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "</h1>" ) 1057 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</h1>" ) 1012 if templ_7745c5c3_Err != nil { 1058 if templ_7745c5c3_Err != nil { 1013 return templ_7745c5c3_Err 1059 return templ_7745c5c3_Err 1014 } 1060 } 1015 for _, line := range p.Lines { 1061 for _, line := range p.Lines { 1016 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "<p class=\"dim\">" ) 1062 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "<p class=\"dim\">" ) 1017 if templ_7745c5c3_Err != nil { 1063 if templ_7745c5c3_Err != nil { 1018 return templ_7745c5c3_Err 1064 return templ_7745c5c3_Err 1019 } 1065 } 1020 - var templ_7745c5c3_Var48 string 1066 + var templ_7745c5c3_Var50 string 1021 - templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1067 + templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1022 if templ_7745c5c3_Err != nil { 1068 if templ_7745c5c3_Err != nil { 1023 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 210, Col: 25} 1069 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 218, Col: 25} 1024 } 1070 } 1025 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) 1071 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) 1026 if templ_7745c5c3_Err != nil { 1072 if templ_7745c5c3_Err != nil { 1027 return templ_7745c5c3_Err 1073 return templ_7745c5c3_Err 1028 } 1074 } 1029 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "</p>" ) 1075 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</p>" ) 1030 if templ_7745c5c3_Err != nil { 1076 if templ_7745c5c3_Err != nil { 1031 return templ_7745c5c3_Err 1077 return templ_7745c5c3_Err 1032 } 1078 } 1033 } 1079 } 1034 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "<form class=\"state-act\" method=\"post\" action=\"" ) 1080 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "<form class=\"state-act\" method=\"post\" action=\"" ) 1035 if templ_7745c5c3_Err != nil { 1081 if templ_7745c5c3_Err != nil { 1036 return templ_7745c5c3_Err 1082 return templ_7745c5c3_Err 1037 } 1083 } 1038 - var templ_7745c5c3_Var49 templ.SafeURL 1084 + var templ_7745c5c3_Var51 templ.SafeURL 1039 - templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Action)) 1085 + templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Action)) 1040 if templ_7745c5c3_Err != nil { 1086 if templ_7745c5c3_Err != nil { 1041 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 212, Col: 73} 1087 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 220, Col: 73} 1042 } 1088 } 1043 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) 1089 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) 1044 if templ_7745c5c3_Err != nil { 1090 if templ_7745c5c3_Err != nil { 1045 return templ_7745c5c3_Err 1091 return templ_7745c5c3_Err 1046 } 1092 } 1047 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "\" data-autosubmit><button type=\"submit\" class=\"btn primary\">" ) 1093 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\" data-autosubmit><button type=\"submit\" class=\"btn primary\">" ) 1048 if templ_7745c5c3_Err != nil { 1094 if templ_7745c5c3_Err != nil { 1049 return templ_7745c5c3_Err 1095 return templ_7745c5c3_Err 1050 } 1096 } 1051 - var templ_7745c5c3_Var50 string 1097 + var templ_7745c5c3_Var52 string 1052 - templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1098 + templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1053 if templ_7745c5c3_Err != nil { 1099 if templ_7745c5c3_Err != nil { 1054 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 213, Col: 56} 1100 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 221, Col: 56} 1055 } 1101 } 1056 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) 1102 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) 1057 if templ_7745c5c3_Err != nil { 1103 if templ_7745c5c3_Err != nil { 1058 return templ_7745c5c3_Err 1104 return templ_7745c5c3_Err 1059 } 1105 } 1060 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "</button></form><p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1106 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "</button></form><p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1061 if templ_7745c5c3_Err != nil { 1107 if templ_7745c5c3_Err != nil { 1062 return templ_7745c5c3_Err 1108 return templ_7745c5c3_Err 1063 } 1109 } 1064 return nil 1110 return nil 1065 }) 1111 }) 1066 - templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var46), templ_7745c5c3_Buffer) 1112 + templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var48), templ_7745c5c3_Buffer) 1067 if templ_7745c5c3_Err != nil { 1113 if templ_7745c5c3_Err != nil { 1068 return templ_7745c5c3_Err 1114 return templ_7745c5c3_Err 1069 } 1115 } ⋯ 5 hidden lines@@ -1106,88 +1152,88 @@ func PasskeyLogin(l Layout, p PasskeyLoginPage) templ.Component { 1106 }() 1152 }() 1107 } 1153 } 1108 ctx = templ.InitializeContext(ctx) 1154 ctx = templ.InitializeContext(ctx) 1109 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1155 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1110 if templ_7745c5c3_Err != nil { 1156 if templ_7745c5c3_Err != nil { 1111 return templ_7745c5c3_Err 1157 return templ_7745c5c3_Err 1112 } 1158 } 1113 - var templ_7745c5c3_Var53 string 1159 + var templ_7745c5c3_Var55 string 1114 - templ_7745c5c3_Var53, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1160 + templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1115 if templ_7745c5c3_Err != nil { 1161 if templ_7745c5c3_Err != nil { 1116 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 225, Col: 33} 1162 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 233, Col: 33} 1117 } 1163 } 1118 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var53)) 1164 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) 1119 if templ_7745c5c3_Err != nil { 1165 if templ_7745c5c3_Err != nil { 1120 return templ_7745c5c3_Err 1166 return templ_7745c5c3_Err 1121 } 1167 } 1122 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</h1><form class=\"state-act\" data-js data-passkey-form><button type=\"submit\" class=\"btn primary\" data-passkey=\"login\" data-begin=\"" ) 1168 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</h1><form class=\"state-act\" data-js data-passkey-form><button type=\"submit\" class=\"btn primary\" data-passkey=\"login\" data-begin=\"" ) 1123 if templ_7745c5c3_Err != nil { 1169 if templ_7745c5c3_Err != nil { 1124 return templ_7745c5c3_Err 1170 return templ_7745c5c3_Err 1125 } 1171 } 1126 - var templ_7745c5c3_Var54 string 1172 + var templ_7745c5c3_Var56 string 1127 - templ_7745c5c3_Var54, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1173 + templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1128 if templ_7745c5c3_Err != nil { 1174 if templ_7745c5c3_Err != nil { 1129 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 227, Col: 87} 1175 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 87} 1130 } 1176 } 1131 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var54) 1177 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var56) 1132 if templ_7745c5c3_Err != nil { 1178 if templ_7745c5c3_Err != nil { 1133 return templ_7745c5c3_Err 1179 return templ_7745c5c3_Err 1134 } 1180 } 1135 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "\" data-finish=\"" ) 1181 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "\" data-finish=\"" ) 1136 if templ_7745c5c3_Err != nil { 1182 if templ_7745c5c3_Err != nil { 1137 return templ_7745c5c3_Err 1183 return templ_7745c5c3_Err 1138 } 1184 } 1139 - var templ_7745c5c3_Var55 string 1185 + var templ_7745c5c3_Var57 string 1140 - templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1186 + templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1141 if templ_7745c5c3_Err != nil { 1187 if templ_7745c5c3_Err != nil { 1142 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 227, Col: 112} 1188 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 112} 1143 } 1189 } 1144 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var55) 1190 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var57) 1145 if templ_7745c5c3_Err != nil { 1191 if templ_7745c5c3_Err != nil { 1146 return templ_7745c5c3_Err 1192 return templ_7745c5c3_Err 1147 } 1193 } 1148 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "\">" ) 1194 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "\">" ) 1149 if templ_7745c5c3_Err != nil { 1195 if templ_7745c5c3_Err != nil { 1150 return templ_7745c5c3_Err 1196 return templ_7745c5c3_Err 1151 } 1197 } 1152 - var templ_7745c5c3_Var56 string 1198 + var templ_7745c5c3_Var58 string 1153 - templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1199 + templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1154 if templ_7745c5c3_Err != nil { 1200 if templ_7745c5c3_Err != nil { 1155 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 227, Col: 125} 1201 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 125} 1156 } 1202 } 1157 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var56)) 1203 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) 1158 if templ_7745c5c3_Err != nil { 1204 if templ_7745c5c3_Err != nil { 1159 return templ_7745c5c3_Err 1205 return templ_7745c5c3_Err 1160 } 1206 } 1161 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</button></form><p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1207 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "</button></form><p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1162 if templ_7745c5c3_Err != nil { 1208 if templ_7745c5c3_Err != nil { 1163 return templ_7745c5c3_Err 1209 return templ_7745c5c3_Err 1164 } 1210 } 1165 for _, line := range p.Lines { 1211 for _, line := range p.Lines { 1166 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "<p class=\"dim\">" ) 1212 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<p class=\"dim\">" ) 1167 if templ_7745c5c3_Err != nil { 1213 if templ_7745c5c3_Err != nil { 1168 return templ_7745c5c3_Err 1214 return templ_7745c5c3_Err 1169 } 1215 } 1170 - var templ_7745c5c3_Var57 string 1216 + var templ_7745c5c3_Var59 string 1171 - templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1217 + templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1172 if templ_7745c5c3_Err != nil { 1218 if templ_7745c5c3_Err != nil { 1173 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 231, Col: 25} 1219 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 239, Col: 25} 1174 } 1220 } 1175 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) 1221 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) 1176 if templ_7745c5c3_Err != nil { 1222 if templ_7745c5c3_Err != nil { 1177 return templ_7745c5c3_Err 1223 return templ_7745c5c3_Err 1178 } 1224 } 1179 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "</p>" ) 1225 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</p>" ) 1180 if templ_7745c5c3_Err != nil { 1226 if templ_7745c5c3_Err != nil { 1181 return templ_7745c5c3_Err 1227 return templ_7745c5c3_Err 1182 } 1228 } 1183 } 1229 } 1184 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1230 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "<p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1185 if templ_7745c5c3_Err != nil { 1231 if templ_7745c5c3_Err != nil { 1186 return templ_7745c5c3_Err 1232 return templ_7745c5c3_Err 1187 } 1233 } 1188 return nil 1234 return nil 1189 }) 1235 }) 1190 - templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var52), templ_7745c5c3_Buffer) 1236 + templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var54), templ_7745c5c3_Buffer) 1191 if templ_7745c5c3_Err != nil { 1237 if templ_7745c5c3_Err != nil { 1192 return templ_7745c5c3_Err 1238 return templ_7745c5c3_Err 1193 } 1239 } ⋯ 5 hidden lines@@ -1229,231 +1275,231 @@ func Passkeys(l Layout, p PasskeysPage) templ.Component { 1229 }() 1275 }() 1230 } 1276 } 1231 ctx = templ.InitializeContext(ctx) 1277 ctx = templ.InitializeContext(ctx) 1232 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "<h2 class=\"rule-h\"><span>Passkeys</span><span class=\"count\">" ) 1278 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "<h2 class=\"rule-h\"><span>Passkeys</span><span class=\"count\">" ) 1233 if templ_7745c5c3_Err != nil { 1279 if templ_7745c5c3_Err != nil { 1234 return templ_7745c5c3_Err 1280 return templ_7745c5c3_Err 1235 } 1281 } 1236 - var templ_7745c5c3_Var60 string 1282 + var templ_7745c5c3_Var62 string 1237 - templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Rows))) 1283 + templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Rows))) 1238 if templ_7745c5c3_Err != nil { 1284 if templ_7745c5c3_Err != nil { 1239 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 241, Col: 81} 1285 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 249, Col: 81} 1240 } 1286 } 1241 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60)) 1287 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) 1242 if templ_7745c5c3_Err != nil { 1288 if templ_7745c5c3_Err != nil { 1243 return templ_7745c5c3_Err 1289 return templ_7745c5c3_Err 1244 } 1290 } 1245 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "</span></h2><p class=\"dim\">A passkey signs you in from this device or your phone, without a terminal. Removing one signs every browser out.</p>" ) 1291 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</span></h2><p class=\"dim\">A passkey signs you in from this device or your phone, without a terminal. Removing one signs every browser out.</p>" ) 1246 if templ_7745c5c3_Err != nil { 1292 if templ_7745c5c3_Err != nil { 1247 return templ_7745c5c3_Err 1293 return templ_7745c5c3_Err 1248 } 1294 } 1249 if len(p.Rows) > 0 { 1295 if len(p.Rows) > 0 { 1250 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "<table class=\"list passkeys\" aria-label=\"Passkeys\"><thead><tr><th class=\"c-name\">Name</th><th class=\"c-when\">Created</th><th class=\"c-when\">Last used</th><th class=\"c-sync\">Synced</th><th class=\"c-act\"><span class=\"sr\">Remove</span></th></tr></thead> <tbody>" ) 1296 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "<table class=\"list passkeys\" aria-label=\"Passkeys\"><thead><tr><th class=\"c-name\">Name</th><th class=\"c-when\">Created</th><th class=\"c-when\">Last used</th><th class=\"c-sync\">Synced</th><th class=\"c-act\"><span class=\"sr\">Remove</span></th></tr></thead> <tbody>" ) 1251 if templ_7745c5c3_Err != nil { 1297 if templ_7745c5c3_Err != nil { 1252 return templ_7745c5c3_Err 1298 return templ_7745c5c3_Err 1253 } 1299 } 1254 for _, r := range p.Rows { 1300 for _, r := range p.Rows { 1255 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<tr><td class=\"c-name\">" ) 1301 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<tr><td class=\"c-name\">" ) 1256 if templ_7745c5c3_Err != nil { 1302 if templ_7745c5c3_Err != nil { 1257 return templ_7745c5c3_Err 1303 return templ_7745c5c3_Err 1258 } 1304 } 1259 - var templ_7745c5c3_Var61 string 1305 + var templ_7745c5c3_Var63 string 1260 - templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 1306 + templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 1261 if templ_7745c5c3_Err != nil { 1307 if templ_7745c5c3_Err != nil { 1262 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 257, Col: 34} 1308 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 265, Col: 34} 1263 } 1309 } 1264 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) 1310 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1265 if templ_7745c5c3_Err != nil { 1311 if templ_7745c5c3_Err != nil { 1266 return templ_7745c5c3_Err 1312 return templ_7745c5c3_Err 1267 } 1313 } 1268 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</td><td class=\"c-when nowrap\"><time" ) 1314 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</td><td class=\"c-when nowrap\"><time" ) 1269 if templ_7745c5c3_Err != nil { 1315 if templ_7745c5c3_Err != nil { 1270 return templ_7745c5c3_Err 1316 return templ_7745c5c3_Err 1271 } 1317 } 1272 if r.CreatedAt != "" { 1318 if r.CreatedAt != "" { 1273 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, " datetime=\"" ) 1319 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, " datetime=\"" ) 1274 if templ_7745c5c3_Err != nil { 1320 if templ_7745c5c3_Err != nil { 1275 return templ_7745c5c3_Err 1321 return templ_7745c5c3_Err 1276 } 1322 } 1277 - var templ_7745c5c3_Var62 string 1323 + var templ_7745c5c3_Var64 string 1278 - templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.CreatedAt) 1324 + templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.CreatedAt) 1279 if templ_7745c5c3_Err != nil { 1325 if templ_7745c5c3_Err != nil { 1280 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 261, Col: 32} 1326 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 269, Col: 32} 1281 } 1327 } 1282 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var62) 1328 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var64) 1283 if templ_7745c5c3_Err != nil { 1329 if templ_7745c5c3_Err != nil { 1284 return templ_7745c5c3_Err 1330 return templ_7745c5c3_Err 1285 } 1331 } 1286 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "\"" ) 1332 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "\"" ) 1287 if templ_7745c5c3_Err != nil { 1333 if templ_7745c5c3_Err != nil { 1288 return templ_7745c5c3_Err 1334 return templ_7745c5c3_Err 1289 } 1335 } 1290 } 1336 } 1291 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, ">" ) 1337 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, ">" ) 1292 if templ_7745c5c3_Err != nil { 1338 if templ_7745c5c3_Err != nil { 1293 return templ_7745c5c3_Err 1339 return templ_7745c5c3_Err 1294 } 1340 } 1295 - var templ_7745c5c3_Var63 string 1341 + var templ_7745c5c3_Var65 string 1296 - templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(r.Created) 1342 + templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(r.Created) 1297 if templ_7745c5c3_Err != nil { 1343 if templ_7745c5c3_Err != nil { 1298 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 263, Col: 20} 1344 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 271, Col: 20} 1299 } 1345 } 1300 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1346 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1301 if templ_7745c5c3_Err != nil { 1347 if templ_7745c5c3_Err != nil { 1302 return templ_7745c5c3_Err 1348 return templ_7745c5c3_Err 1303 } 1349 } 1304 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</time></td><td class=\"c-when nowrap\"><time" ) 1350 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</time></td><td class=\"c-when nowrap\"><time" ) 1305 if templ_7745c5c3_Err != nil { 1351 if templ_7745c5c3_Err != nil { 1306 return templ_7745c5c3_Err 1352 return templ_7745c5c3_Err 1307 } 1353 } 1308 if r.LastUsedAt != "" { 1354 if r.LastUsedAt != "" { 1309 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, " datetime=\"" ) 1355 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, " datetime=\"" ) 1310 if templ_7745c5c3_Err != nil { 1356 if templ_7745c5c3_Err != nil { 1311 return templ_7745c5c3_Err 1357 return templ_7745c5c3_Err 1312 } 1358 } 1313 - var templ_7745c5c3_Var64 string 1359 + var templ_7745c5c3_Var66 string 1314 - templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.LastUsedAt) 1360 + templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.LastUsedAt) 1315 if templ_7745c5c3_Err != nil { 1361 if templ_7745c5c3_Err != nil { 1316 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 268, Col: 33} 1362 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 276, Col: 33} 1317 } 1363 } 1318 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var64) 1364 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var66) 1319 if templ_7745c5c3_Err != nil { 1365 if templ_7745c5c3_Err != nil { 1320 return templ_7745c5c3_Err 1366 return templ_7745c5c3_Err 1321 } 1367 } 1322 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "\"" ) 1368 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\"" ) 1323 if templ_7745c5c3_Err != nil { 1369 if templ_7745c5c3_Err != nil { 1324 return templ_7745c5c3_Err 1370 return templ_7745c5c3_Err 1325 } 1371 } 1326 } 1372 } 1327 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, ">" ) 1373 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, ">" ) 1328 if templ_7745c5c3_Err != nil { 1374 if templ_7745c5c3_Err != nil { 1329 return templ_7745c5c3_Err 1375 return templ_7745c5c3_Err 1330 } 1376 } 1331 - var templ_7745c5c3_Var65 string 1377 + var templ_7745c5c3_Var67 string 1332 - templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(r.LastUsed) 1378 + templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(r.LastUsed) 1333 if templ_7745c5c3_Err != nil { 1379 if templ_7745c5c3_Err != nil { 1334 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 270, Col: 21} 1380 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 278, Col: 21} 1335 } 1381 } 1336 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1382 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) 1337 if templ_7745c5c3_Err != nil { 1383 if templ_7745c5c3_Err != nil { 1338 return templ_7745c5c3_Err 1384 return templ_7745c5c3_Err 1339 } 1385 } 1340 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "</time></td><td class=\"c-sync\">" ) 1386 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "</time></td><td class=\"c-sync\">" ) 1341 if templ_7745c5c3_Err != nil { 1387 if templ_7745c5c3_Err != nil { 1342 return templ_7745c5c3_Err 1388 return templ_7745c5c3_Err 1343 } 1389 } 1344 if r.Synced { 1390 if r.Synced { 1345 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "yes" ) 1391 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "yes" ) 1346 if templ_7745c5c3_Err != nil { 1392 if templ_7745c5c3_Err != nil { 1347 return templ_7745c5c3_Err 1393 return templ_7745c5c3_Err 1348 } 1394 } 1349 } else { 1395 } else { 1350 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "no" ) 1396 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "no" ) 1351 if templ_7745c5c3_Err != nil { 1397 if templ_7745c5c3_Err != nil { 1352 return templ_7745c5c3_Err 1398 return templ_7745c5c3_Err 1353 } 1399 } 1354 } 1400 } 1355 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "</td><td class=\"c-act\"><form method=\"post\" action=\"" ) 1401 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "</td><td class=\"c-act\"><form method=\"post\" action=\"" ) 1356 if templ_7745c5c3_Err != nil { 1402 if templ_7745c5c3_Err != nil { 1357 return templ_7745c5c3_Err 1403 return templ_7745c5c3_Err 1358 } 1404 } 1359 - var templ_7745c5c3_Var66 templ.SafeURL 1405 + var templ_7745c5c3_Var68 templ.SafeURL 1360 - templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Remove)) 1406 + templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Remove)) 1361 if templ_7745c5c3_Err != nil { 1407 if templ_7745c5c3_Err != nil { 1362 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 280, Col: 60} 1408 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 288, Col: 60} 1363 } 1409 } 1364 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) 1410 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) 1365 if templ_7745c5c3_Err != nil { 1411 if templ_7745c5c3_Err != nil { 1366 return templ_7745c5c3_Err 1412 return templ_7745c5c3_Err 1367 } 1413 } 1368 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\"><button type=\"submit\" class=\"btn danger\" aria-label=\"" ) 1414 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "\"><button type=\"submit\" class=\"btn danger\" aria-label=\"" ) 1369 if templ_7745c5c3_Err != nil { 1415 if templ_7745c5c3_Err != nil { 1370 return templ_7745c5c3_Err 1416 return templ_7745c5c3_Err 1371 } 1417 } 1372 - var templ_7745c5c3_Var67 string 1418 + var templ_7745c5c3_Var69 string 1373 - templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.ResolveAttributeValue("Remove passkey " + r.Name) 1419 + templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.ResolveAttributeValue("Remove passkey " + r.Name) 1374 if templ_7745c5c3_Err != nil { 1420 if templ_7745c5c3_Err != nil { 1375 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 281, Col: 89} 1421 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 289, Col: 89} 1376 } 1422 } 1377 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var67) 1423 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var69) 1378 if templ_7745c5c3_Err != nil { 1424 if templ_7745c5c3_Err != nil { 1379 return templ_7745c5c3_Err 1425 return templ_7745c5c3_Err 1380 } 1426 } 1381 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\">Remove</button></form></td></tr>" ) 1427 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "\">Remove</button></form></td></tr>" ) 1382 if templ_7745c5c3_Err != nil { 1428 if templ_7745c5c3_Err != nil { 1383 return templ_7745c5c3_Err 1429 return templ_7745c5c3_Err 1384 } 1430 } 1385 } 1431 } 1386 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "</tbody></table>" ) 1432 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "</tbody></table>" ) 1387 if templ_7745c5c3_Err != nil { 1433 if templ_7745c5c3_Err != nil { 1388 return templ_7745c5c3_Err 1434 return templ_7745c5c3_Err 1389 } 1435 } 1390 } else { 1436 } else { 1391 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "<p class=\"lede dim\">no passkeys yet.</p>" ) 1437 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "<p class=\"lede dim\">no passkeys yet.</p>" ) 1392 if templ_7745c5c3_Err != nil { 1438 if templ_7745c5c3_Err != nil { 1393 return templ_7745c5c3_Err 1439 return templ_7745c5c3_Err 1394 } 1440 } 1395 } 1441 } 1396 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, " " ) 1442 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, " " ) 1397 if templ_7745c5c3_Err != nil { 1443 if templ_7745c5c3_Err != nil { 1398 return templ_7745c5c3_Err 1444 return templ_7745c5c3_Err 1399 } 1445 } 1400 if p.Full { 1446 if p.Full { 1401 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "<p class=\"dim\">" ) 1447 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "<p class=\"dim\">" ) 1402 if templ_7745c5c3_Err != nil { 1448 if templ_7745c5c3_Err != nil { 1403 return templ_7745c5c3_Err 1449 return templ_7745c5c3_Err 1404 } 1450 } 1405 - var templ_7745c5c3_Var68 string 1451 + var templ_7745c5c3_Var70 string 1406 - templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Max)) 1452 + templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Max)) 1407 if templ_7745c5c3_Err != nil { 1453 if templ_7745c5c3_Err != nil { 1408 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 292, Col: 31} 1454 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 300, Col: 31} 1409 } 1455 } 1410 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) 1456 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1411 if templ_7745c5c3_Err != nil { 1457 if templ_7745c5c3_Err != nil { 1412 return templ_7745c5c3_Err 1458 return templ_7745c5c3_Err 1413 } 1459 } 1414 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, " passkeys are registered, the most there can be. Remove one to add another.</p>" ) 1460 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, " passkeys are registered, the most there can be. Remove one to add another.</p>" ) 1415 if templ_7745c5c3_Err != nil { 1461 if templ_7745c5c3_Err != nil { 1416 return templ_7745c5c3_Err 1462 return templ_7745c5c3_Err 1417 } 1463 } 1418 } else { 1464 } else { 1419 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "<form class=\"passkey-add\" data-js data-passkey-form><label for=\"passkey-name\" class=\"sr\">Name of the new passkey</label> <input id=\"passkey-name\" type=\"text\" placeholder=\"Name, for example Pixel 9\" autocomplete=\"off\" data-passkey-name> <button type=\"submit\" class=\"btn primary\" data-passkey=\"register\" data-begin=\"" ) 1465 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "<form class=\"passkey-add\" data-js data-passkey-form><label for=\"passkey-name\" class=\"sr\">Name of the new passkey</label> <input id=\"passkey-name\" type=\"text\" placeholder=\"Name, for example Pixel 9\" autocomplete=\"off\" data-passkey-name> <button type=\"submit\" class=\"btn primary\" data-passkey=\"register\" data-begin=\"" ) 1420 if templ_7745c5c3_Err != nil { 1466 if templ_7745c5c3_Err != nil { 1421 return templ_7745c5c3_Err 1467 return templ_7745c5c3_Err 1422 } 1468 } 1423 - var templ_7745c5c3_Var69 string 1469 + var templ_7745c5c3_Var71 string 1424 - templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1470 + templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1425 if templ_7745c5c3_Err != nil { 1471 if templ_7745c5c3_Err != nil { 1426 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 297, Col: 90} 1472 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 305, Col: 90} 1427 } 1473 } 1428 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var69) 1474 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var71) 1429 if templ_7745c5c3_Err != nil { 1475 if templ_7745c5c3_Err != nil { 1430 return templ_7745c5c3_Err 1476 return templ_7745c5c3_Err 1431 } 1477 } 1432 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "\" data-finish=\"" ) 1478 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, "\" data-finish=\"" ) 1433 if templ_7745c5c3_Err != nil { 1479 if templ_7745c5c3_Err != nil { 1434 return templ_7745c5c3_Err 1480 return templ_7745c5c3_Err 1435 } 1481 } 1436 - var templ_7745c5c3_Var70 string 1482 + var templ_7745c5c3_Var72 string 1437 - templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1483 + templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1438 if templ_7745c5c3_Err != nil { 1484 if templ_7745c5c3_Err != nil { 1439 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 297, Col: 115} 1485 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 305, Col: 115} 1440 } 1486 } 1441 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var70) 1487 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1442 if templ_7745c5c3_Err != nil { 1488 if templ_7745c5c3_Err != nil { 1443 return templ_7745c5c3_Err 1489 return templ_7745c5c3_Err 1444 } 1490 } 1445 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "\">Add a passkey</button></form>" ) 1491 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "\">Add a passkey</button></form>" ) 1446 if templ_7745c5c3_Err != nil { 1492 if templ_7745c5c3_Err != nil { 1447 return templ_7745c5c3_Err 1493 return templ_7745c5c3_Err 1448 } 1494 } 1449 } 1495 } 1450 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, " <p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1496 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, " <p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1451 if templ_7745c5c3_Err != nil { 1497 if templ_7745c5c3_Err != nil { 1452 return templ_7745c5c3_Err 1498 return templ_7745c5c3_Err 1453 } 1499 } 1454 return nil 1500 return nil 1455 }) 1501 }) 1456 - templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var59), templ_7745c5c3_Buffer) 1502 + templ_7745c5c3_Err = Shell(l, nil ).Render(templ.WithChildren(ctx, templ_7745c5c3_Var61), templ_7745c5c3_Buffer) 1457 if templ_7745c5c3_Err != nil { 1503 if templ_7745c5c3_Err != nil { 1458 return templ_7745c5c3_Err 1504 return templ_7745c5c3_Err 1459 } 1505 }