{"version":3,"file":"special-ticket-B9iZ_WEt.js","sources":["../../../Scripts/tickets/special-ticket.html?vue-htmltemplate","../../../Scripts/tickets/special-ticket.ts"],"sourcesContent":["\n\t\n\t\n\n","import { Vue, Component, Prop, Watch } from \"@wagich/vue-facing-decorator-metadata\";\n\nimport { render } from \"./special-ticket.html\";\n\nimport type { MovieListItem, MovieListShow } from \"../common/models\";\nimport { TicketButton } from \"./ticket-button\";\n\n\n@Component({\n\trender,\n\tcomponents: {\n\t\tTicketButton\n\t}\n})\nexport default class SpecialTicket extends Vue {\n\tmovie: MovieListItem = null!;\n\tshow: MovieListShow = null!;\n\n\t@Prop() movieDataSelector: string;\n\t@Prop() showDataSelector: string;\n\n\tcreated() {\n\t\tlet movieDataElement = document.querySelector(this.movieDataSelector);\n\t\tif (movieDataElement != null) {\n\t\t\tthis.movie = JSON.parse(movieDataElement.textContent ?? \"null\");\n\t\t}\n\n\t\tlet showDataElement = document.querySelector(this.showDataSelector);\n\t\tif (showDataElement != null) {\n\t\t\tthis.show = JSON.parse(showDataElement.textContent ?? \"null\");\n\t\t}\n\t}\n}\n"],"names":["_createElementVNode","_createBlock","show","movie","_withCtx","_createVNode","SpecialTicket","Vue","created","movieDataElement","document","querySelector","movieDataSelector","JSON","parse","textContent","showDataElement","showDataSelector","render","components","TicketButton"],"mappings":";;;;;AAGE,MAAA,UAAA,gBAAAA,eAAA,CAA2D,MAArD,EAAA,EAAA,KAAK,EAAC,wBAAwB,IAAC,iBAAe,EAAA,CAAA,CAAA,EAAA;AAIpD,MAAA,UAAA,gBAAAA,eAAA,CAA2D,MAArD,EAAA,EAAA,KAAK,EAAC,wBAAwB,IAAC,iBAAe,EAAA,CAAA,CAAA,EAAA;;;;;;uBAPtDC,WASgB,CAAA,wBAAA,EAAA;AATA,IAAA,IAAI,EAAEC,IAAI,CAAA,IAAA;AAAG,IAAA,KAAK,EAAEC,IAAK,CAAA,KAAA;AAAG,IAAA,YAAY,EAAE,KAAK;AAAE,IAAA,KAAK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