{"version":3,"file":"SimpleLayout-BonSxfOG.mjs","names":[],"sources":["../src/layouts/SimpleLayout.vue","../src/layouts/SimpleLayout.vue"],"sourcesContent":["<!-- A basic layout showing only the content -->\n<template>\n    <slot />\n    <div class=\"flex-grow-1\" />\n    <PlayerComponent />\n</template>\n\n<script setup lang=\"ts\">\nimport { usePlayerStore } from '../stores/PlayerStore';\nimport { onBeforeMount, onBeforeUnmount } from 'vue';\nimport PlayerComponent from '../components/misc/player/PlayerComponent.vue';\n\nconst playerStore = usePlayerStore();\n\nonBeforeMount(() => {\n    // Stop playing to avoid issues when switching to no layout\n    playerStore.stop();\n});\n\n\nonBeforeUnmount(() => {\n    // Stop playing to avoid issues when switching from no layout\n    playerStore.stop();\n});\n</script>\n","<!-- A basic layout showing only the content -->\n<template>\n    <slot />\n    <div class=\"flex-grow-1\" />\n    <PlayerComponent />\n</template>\n\n<script setup lang=\"ts\">\nimport { usePlayerStore } from '../stores/PlayerStore';\nimport { onBeforeMount, onBeforeUnmount } from 'vue';\nimport PlayerComponent from '../components/misc/player/PlayerComponent.vue';\n\nconst playerStore = usePlayerStore();\n\nonBeforeMount(() => {\n    // Stop playing to avoid issues when switching to no layout\n    playerStore.stop();\n});\n\n\nonBeforeUnmount(() => {\n    // Stop playing to avoid issues when switching from no layout\n    playerStore.stop();\n});\n</script>\n"],"mappings":";;;;;;;;;EAYA,MAAM,cAAc,eAAe;EAEnC,oBAAoB;GAEhB,YAAY,KAAK;EACrB,CAAC;EAGD,sBAAsB;GAElB,YAAY,KAAK;EACrB,CAAC;;;;;;;;;;;;;;;;ECrBG,WAAQ,KAAA,QAAA,SAAA;4BACR,mBAA2B,OAAA,EAAtB,OAAM,cAAa,GAAA,MAAA,EAAA;EACxB,YAAmB,OAAA,kBAAA"}