{
  "version": 3,
  "sources": ["team-sheet.js"],
  "sourcesContent": ["// Small Alpine widgets for the team sheet pages. Local state only: the server\n// renders every value these show, so each page works before this loads and\n// without it. Registered on alpine:init, so this loads before Alpine itself.\n(() => {\n  // The nearest ancestor that scrolls, for a drag's edge-scroll, else the page.\n  const scrollerOf = (el) => {\n    for (let node = el.parentElement; node && node !== document.body; node = node.parentElement) {\n      const { overflowY } = getComputedStyle(node);\n      if (/(auto|scroll)/.test(overflowY) && node.scrollHeight > node.clientHeight) return node;\n    }\n    return document.scrollingElement;\n  };\n\n  document.addEventListener(\"alpine:init\", () => {\n    // The team picker's board (teamsheet/teams.html). Each player is a radio\n    // group inside their team's card; the radios are what the form sends, so a\n    // move is \"check the new radio, then put the player in that card\". Moving is\n    // tap a name, then \"Move here\" on the new team: one pointer, a keyboard or a\n    // screen reader all work (WCAG 2.5.7). Dragging is the same move for anyone\n    // who reaches for it: at once with a mouse, after touch-and-hold on a phone,\n    // as both iOS and Android lift an item, so a swipe still scrolls the page.\n    // 400ms is Android's long-press time; iOS lifts at about the same moment.\n    const HOLD_MS = 400;\n    const haptic = () => window.BibsOnNative?.hapticImpact?.(\"LIGHT\");\n    const SLOP_PX = 8;\n    // Near the top or bottom of the screen the page scrolls under a drag, so a\n    // team below the fold can still be reached.\n    const EDGE_PX = 72;\n    const EDGE_STEP_PX = 14;\n    // A dropped name's flight to its chip: --ease-out-soft, a touch slower than a state change.\n    const LAND_MS = 160;\n\n    window.Alpine.data(\"teamBoard\", () => ({\n      counts: {},\n      selected: null,\n      selectedName: \"\",\n      selectedTeam: \"\",\n      announce: \"\",\n      dragging: false,\n\n      init() {\n        this.recount();\n        // Registered for the life of the page, and not passive, so a drag can stop\n        // the page scrolling under the finger. A listener added mid-touch is too late.\n        this.$root.addEventListener(\n          \"touchmove\",\n          (event) => {\n            if (this.dragging) event.preventDefault();\n          },\n          { passive: false },\n        );\n      },\n\n      teamOf(player) {\n        const picked = player.querySelector(\"input:checked\");\n        return picked ? picked.value : \"\";\n      },\n\n      recount() {\n        const counts = {};\n        this.$root.querySelectorAll(\"[data-player]\").forEach((player) => {\n          const team = this.teamOf(player);\n          counts[team] = (counts[team] || 0) + 1;\n        });\n        this.counts = counts;\n      },\n\n      select(player) {\n        if (this.selected === player) {\n          this.clear();\n          return;\n        }\n        this.selected = player;\n        this.selectedName = player.dataset.name;\n        this.selectedTeam = this.teamOf(player);\n      },\n\n      clear() {\n        this.selected = null;\n        this.selectedName = \"\";\n        this.selectedTeam = \"\";\n      },\n\n      moveTo(team, player = this.selected) {\n        const card = this.$root.querySelector(`[data-team=\"${CSS.escape(team)}\"]`);\n        const radio = player && player.querySelector(`input[value=\"${CSS.escape(team)}\"]`);\n        if (!card || !radio) return;\n        radio.checked = true;\n        card.querySelector(\"[data-drop]\").prepend(player);\n        this.recount();\n        this.announce = this.$root.dataset.moved\n          .replace(\"{name}\", player.dataset.name)\n          .replace(\"{team}\", card.querySelector(\"h2\").textContent.trim());\n        this.clear();\n        player.querySelector(\"button\").focus();\n      },\n\n      dragStart(event) {\n        if (event.button !== 0) return;\n        const player = event.currentTarget.parentElement;\n        const touch = event.pointerType !== \"mouse\";\n        const start = { x: event.clientX, y: event.clientY };\n        // Whatever scrolls: `.app-content` normally, the whole frame at a very large text\n        // size (#922), where `.app-content` no longer does.\n        const scroller = scrollerOf(this.$root);\n        const at = { ...start };\n        let ghost = null;\n        let over = null;\n        let frame = 0;\n\n        const edgeScroll = () => {\n          const { top, bottom } = scroller.getBoundingClientRect();\n          const view = { top: Math.max(top, 0), bottom: Math.min(bottom, window.innerHeight) };\n          if (at.y < view.top + EDGE_PX) scroller.scrollBy(0, -EDGE_STEP_PX);\n          else if (at.y > view.bottom - EDGE_PX) scroller.scrollBy(0, EDGE_STEP_PX);\n          place(at.x, at.y);\n          frame = requestAnimationFrame(edgeScroll);\n        };\n        const place = (x, y) => {\n          at.x = x;\n          at.y = y;\n          ghost.style.translate = `${x}px ${y}px`;\n          const card = document.elementFromPoint(x, y)?.closest(\"[data-team]\");\n          const target = card && card.dataset.team && card.dataset.team !== this.teamOf(player) ? card : null;\n          if (target !== over) {\n            over?.classList.remove(\"is-over\");\n            target?.classList.add(\"is-over\");\n            over = target;\n          }\n        };\n        const begin = (x, y) => {\n          this.dragging = true;\n          this.clear();\n          ghost = document.createElement(\"span\");\n          ghost.className = \"team-player__ghost\";\n          ghost.setAttribute(\"aria-hidden\", \"true\");\n          ghost.textContent = player.dataset.name;\n          document.body.append(ghost);\n          player.classList.add(\"is-lifted\");\n          haptic();\n          place(x, y);\n          frame = requestAnimationFrame(edgeScroll);\n        };\n        // The name lands where it now lives: its new team after a drop, its old place\n        // after a cancel. 160ms, centre to centre, and the chip stays faint until it\n        // arrives. Under reduced motion it fades where it was let go and the chip fades\n        // back in: the opacity stays, the travel goes.\n        const land = () => {\n          const lifted = ghost;\n          ghost = null;\n          const done = () => {\n            lifted?.remove();\n            player.classList.remove(\"is-lifted\");\n          };\n          if (!lifted || !lifted.animate) return done();\n          const settle = { duration: LAND_MS, easing: \"cubic-bezier(0.22, 1, 0.36, 1)\", fill: \"forwards\" };\n          if (window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) {\n            player.classList.remove(\"is-lifted\");\n            lifted.animate([{ opacity: 1 }, { opacity: 0 }], settle).finished.then(done, done);\n            return;\n          }\n          const from = lifted.getBoundingClientRect();\n          const to = player.querySelector(\".team-player__chip\").getBoundingClientRect();\n          const dx = to.left + to.width / 2 - (from.left + from.width / 2);\n          const dy = to.top + to.height / 2 - (from.top + from.height / 2);\n          lifted\n            .animate(\n              [\n                { translate: `${at.x}px ${at.y}px`, transform: \"translate(-50%, -120%) scale(1.06)\" },\n                { translate: `${at.x + dx}px ${at.y + dy}px`, transform: \"translate(-50%, -120%) scale(1)\" },\n              ],\n              settle,\n            )\n            .finished.then(done, done);\n        };\n        const stop = () => {\n          clearTimeout(hold);\n          cancelAnimationFrame(frame);\n          window.removeEventListener(\"pointermove\", move);\n          window.removeEventListener(\"pointerup\", drop);\n          window.removeEventListener(\"pointercancel\", stop);\n          over?.classList.remove(\"is-over\");\n          land();\n          // After the click the drag would otherwise also fire, not before it.\n          setTimeout(() => {\n            this.dragging = false;\n          });\n        };\n        const move = (e) => {\n          if (this.dragging) {\n            place(e.clientX, e.clientY);\n          } else if (Math.hypot(e.clientX - start.x, e.clientY - start.y) > SLOP_PX) {\n            // A finger that moves before the hold is a scroll; a mouse that moves is a drag.\n            if (touch) stop();\n            else begin(e.clientX, e.clientY);\n          }\n        };\n        // Move first, so the landing can measure the chip in its new place.\n        const drop = () => {\n          const team = over?.dataset.team;\n          if (team) {\n            this.moveTo(team, player);\n            haptic();\n          }\n          stop();\n        };\n        const hold = touch ? setTimeout(() => begin(start.x, start.y), HOLD_MS) : null;\n        window.addEventListener(\"pointermove\", move);\n        window.addEventListener(\"pointerup\", drop);\n        window.addEventListener(\"pointercancel\", stop);\n      },\n    }));\n\n    // How many are ticked on \"Who's coming?\", and tick or untick everyone. A count that\n    // changed is announced as `coming-recount`, which asks for the line saying what it\n    // means; the format and the match length ask for it themselves (sheet.html).\n    window.Alpine.data(\"comingCount\", (count) => ({\n      count,\n      boxes() {\n        return this.$root.querySelectorAll(\".coming-list input\");\n      },\n      recount() {\n        const ticked = [...this.boxes()].filter((box) => box.checked).length;\n        if (ticked === this.count) return;\n        this.count = ticked;\n        this.$dispatch(\"coming-recount\");\n      },\n      setAll(on) {\n        this.boxes().forEach((box) => {\n          box.checked = on;\n        });\n        this.recount();\n      },\n    }));\n\n    // New team (teamsheet/squads/_new_form.html): tapping an age picks the FA's format\n    // for it, unless the coach has already picked one, which is never overwritten. Every\n    // format stays a chip, for a team that plays a year up. The line saying it was\n    // picked shows only while the ticked format is the age's FA one. `formats` is\n    // NewSquadForm.age_formats; the server draws the same line on a reload.\n    window.Alpine.data(\"ageFormat\", (formats) => ({\n      hint: \"\",\n      chosen: false,\n\n      init() {\n        const format = this.ticked(\"formatField\");\n        // Coming back with a format that is not the age's own (a refused save) means\n        // the coach chose it.\n        this.chosen = Boolean(format) && format !== formats[this.ticked(\"ageField\")]?.format;\n        this.refresh();\n        this.$root.addEventListener(\"change\", (event) => this.changed(event.target));\n      },\n\n      ticked(field) {\n        return this.$root.querySelector(`input[name=\"${this.$root.dataset[field]}\"]:checked`)?.value || \"\";\n      },\n\n      changed(input) {\n        if (input.name === this.$root.dataset.formatField) {\n          this.chosen = true;\n        } else if (input.name === this.$root.dataset.ageField) {\n          const picked = formats[input.value];\n          if (picked && !this.chosen) {\n            const chip = this.$root.querySelector(\n              `input[name=\"${this.$root.dataset.formatField}\"][value=\"${picked.format}\"]`,\n            );\n            if (chip) chip.checked = true;\n          }\n        } else {\n          return;\n        }\n        this.refresh();\n      },\n\n      refresh() {\n        const picked = formats[this.ticked(\"ageField\")];\n        this.hint = picked && picked.format === this.ticked(\"formatField\") ? picked.hint : \"\";\n      },\n    }));\n\n    // The free builder's players, one first name at a time (teamsheet/build.html, Josh,\n    // 13 Nov 2026), the way a saved team's are (`_quick_add.html`), but kept in the page:\n    // nothing here is saved, so the names live in the form's own box (`names`), newest\n    // last, which is what Build posts. Paste a list instead shows that box. Return adds;\n    // the box clears and keeps focus; a light haptic on each add. A removed name comes\n    // back with Undo for a few seconds. `words` comes from the view (`quick_words`).\n    window.Alpine.data(\"quickNames\", (words) => ({\n      words,\n      name: \"\",\n      names: [],\n      pasting: false,\n      renaming: null,\n      draft: \"\",\n      removed: null,\n      seq: 0,\n      undoTimer: null,\n\n      init() {\n        this.read();\n      },\n\n      destroy() {\n        window.clearTimeout(this.undoTimer);\n      },\n\n      field() {\n        return this.$root.querySelector(\"textarea[data-names]\");\n      },\n\n      // From the box: a filled example, a list sent back with an error, or a paste.\n      read() {\n        const lines = (this.field()?.value || \"\").split(/[\\n,]/).map((line) => line.trim()).filter(Boolean);\n        this.names = lines.reverse().map((line) => ({ id: ++this.seq, name: line, fresh: false }));\n      },\n\n      write() {\n        const box = this.field();\n        if (box) box.value = [...this.names].reverse().map((player) => player.name).join(\"\\n\");\n      },\n\n      add() {\n        const typed = this.name.trim().replace(/\\s+/g, \" \");\n        if (!typed) return;\n        this.names.unshift({ id: ++this.seq, name: typed, fresh: true });\n        this.name = \"\";\n        this.write();\n        window.BibsOnNative?.hapticImpact?.(\"LIGHT\");\n        this.$refs.box?.focus({ preventScroll: true });\n      },\n\n      remove(index) {\n        const [player] = this.names.splice(index, 1);\n        this.removed = { player, index };\n        this.write();\n        window.clearTimeout(this.undoTimer);\n        this.undoTimer = window.setTimeout(() => (this.removed = null), 8000);\n      },\n\n      undo() {\n        if (!this.removed) return;\n        this.names.splice(this.removed.index, 0, this.removed.player);\n        this.removed = null;\n        this.write();\n      },\n\n      // The box focuses itself as the x-if adds it (build.html), still inside the tap, so\n      // iOS raises the keyboard. Not here in $nextTick: that runs on a timer after the tap,\n      // and by then the tapped name, which $root is found from, has gone.\n      rename(player) {\n        this.renaming = player.id;\n        this.draft = player.name;\n      },\n\n      saveRename(player) {\n        const typed = this.draft.trim().replace(/\\s+/g, \" \");\n        if (typed) player.name = typed;\n        this.renaming = null;\n        this.write();\n      },\n\n      countLine() {\n        const count = this.names.length;\n        if (!count) return words.none;\n        return count === 1 ? words.one : words.many.replace(\"%(count)s\", count);\n      },\n\n      // \"Two Sams. Tap one to add an initial\u2026\", under the newest of a shared name.\n      twinLine(player) {\n        const key = player.name.toLocaleLowerCase();\n        const same = this.names.filter((other) => other.name.toLocaleLowerCase() === key);\n        if (same.length < 2 || same[0] !== player) return \"\";\n        const number = words.numbers[same.length - 2] || String(same.length);\n        const plural = /(s|x|z|ch|sh)$/i.test(player.name) ? `${player.name}es` : `${player.name}s`;\n        return words.twins.replace(\"%(count)s\", number).replace(\"%(names)s\", plural);\n      },\n\n      say(template, name) {\n        return template.replace(\"%(name)s\", name);\n      },\n    }));\n  });\n})();\n"],
  "mappings": "CAGC,IAAM,CAEL,MAAMA,EAAcC,GAAO,CACzB,QAASC,EAAOD,EAAG,cAAeC,GAAQA,IAAS,SAAS,KAAM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M,EAC5D,KAAK,QAAU,KACf,KAAK,MAAM,EACb,EAKA,OAAOhD,EAAQ,CACb,KAAK,SAAWA,EAAO,GACvB,KAAK,MAAQA,EAAO,IACtB,EAEA,WAAWA,EAAQ,CACjB,MAAM+C,EAAQ,KAAK,MAAM,KAAK,EAAE,QAAQ,OAAQ,GAAG,EAC/CA,IAAO/C,EAAO,KAAO+C,GACzB,KAAK,SAAW,KAChB,KAAK,MAAM,CACb,EAEA,WAAY,CACV,MAAMZ,EAAQ,KAAK,MAAM,OACzB,OAAKA,EACEA,IAAU,EAAIS,EAAM,IAAMA,EAAM,KAAK,QAAQ,YAAaT,CAAK,EADnDS,EAAM,IAE3B,EAGA,SAAS5C,EAAQ,CACf,MAAMiD,EAAMjD,EAAO,KAAK,kBAAkB,EACpCkD,EAAO,KAAK,MAAM,OAAQC,GAAUA,EAAM,KAAK,kBAAkB,IAAMF,CAAG,EAChF,GAAIC,EAAK,OAAS,GAAKA,EAAK,CAAC,IAAMlD,EAAQ,MAAO,GAClD,MAAMoD,EAASR,EAAM,QAAQM,EAAK,OAAS,CAAC,GAAK,OAAOA,EAAK,MAAM,EAC7DG,EAAS,kBAAkB,KAAKrD,EAAO,IAAI,EAAI,GAAGA,EAAO,IAAI,KAAO,GAAGA,EAAO,IAAI,IACxF,OAAO4C,EAAM,MAAM,QAAQ,YAAaQ,CAAM,EAAE,QAAQ,YAAaC,CAAM,CAC7E,EAEA,IAAIC,EAAUC,EAAM,CAClB,OAAOD,EAAS,QAAQ,WAAYC,CAAI,CAC1C,CACF,EAAE,CACJ,CAAC,CACH,GAAG",
  "names": ["scrollerOf", "el", "node", "overflowY", "haptic", "event", "player", "picked", "counts", "team", "card", "radio", "touch", "start", "scroller", "at", "ghost", "over", "frame", "edgeScroll", "top", "bottom", "view", "place", "x", "y", "target", "begin", "land", "lifted", "done", "settle", "from", "to", "dx", "dy", "stop", "hold", "move", "drop", "e", "count", "ticked", "box", "on", "formats", "format", "field", "input", "chip", "words", "lines", "line", "typed", "index", "key", "same", "other", "number", "plural", "template", "name"]
}
