{ "version": 3, "sources": ["invitation_form_controller-f335584b.js"], "sourcesContent": ["import { Controller } from \"@hotwired/stimulus\"\n\nexport default class extends Controller { \n static values = {\n confirmMessage: { type: String, default: \"Are you sure you want to send an invitation to ${email}?\" }\n }\n \n updateConfirmMessage(updateEvent) {\n const updatedEmailValue = updateEvent.target.value\n const newConfirmMessage = this.getConfirmMessageWithEmail(updatedEmailValue)\n this.element.dataset.turboConfirm = newConfirmMessage\n }\n \n getConfirmMessageWithEmail(email) {\n return this.confirmMessageValue.replace(\"${email}\", email)\n }\n}"], "mappings": "wKAAA,gDAEA,qBAAO,SAAsB,EAAW,CAKtC,qBAAqB,EAAa,CAChC,KAAM,GAAoB,EAAY,OAAO,MACvC,EAAoB,KAAK,2BAA2B,CAAiB,EAC3E,KAAK,QAAQ,QAAQ,aAAe,CACtC,CAEA,2BAA2B,EAAO,CAChC,MAAO,MAAK,oBAAoB,QAAQ,WAAY,CAAK,CAC3D,CACF,CAbS,EADT,EACS,SAAS,CACd,eAAgB,CAAE,KAAM,OAAQ,QAAS,0DAA2D,CACtG", "names": [] }