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.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/common.ts","webpack:///nextcloud/apps/settings/src/composables/useGetLocalizedValue.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=0&id=bbc71512&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue?vue&type=style&index=0&id=24eed252&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=1&id=bbc71512&prod&lang=css","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?3213","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?3162","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?982a","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?1d19","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?bdb8"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @author Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n/**\n * Currently known types of app discover section elements\n */\nexport const APP_DISCOVER_KNOWN_TYPES = ['post', 'showcase', 'carousel'];\n","import { APP_DISCOVER_KNOWN_TYPES } from '../../constants/AppDiscoverTypes.ts';\n/**\n * Common Props for all app discover types\n */\nexport const commonAppDiscoverProps = {\n type: {\n type: String,\n required: true,\n validator: (v) => typeof v === 'string' && APP_DISCOVER_KNOWN_TYPES.includes(v),\n },\n id: {\n type: String,\n required: true,\n },\n date: {\n type: Number,\n required: false,\n default: undefined,\n },\n expiryDate: {\n type: Number,\n required: false,\n default: undefined,\n },\n headline: {\n type: Object,\n required: false,\n default: () => null,\n },\n link: {\n type: String,\n required: false,\n default: () => null,\n },\n};\n","/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @author Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { getLanguage } from '@nextcloud/l10n';\nimport { computed } from 'vue';\n/**\n * Helper to get the localized value for the current users language\n * @param dict The dictionary to get the value from\n * @param language The language to use\n */\nconst getLocalizedValue = (dict, language) => dict[language] ?? dict[language.split('_')[0]] ?? dict.en ?? null;\n/**\n * Get the localized value of the dictionary provided\n * @param dict Dictionary\n * @return String or null if invalid dictionary\n */\nexport const useLocalizedValue = (dict) => {\n /**\n * Language of the current user\n */\n const language = getLanguage();\n return computed(() => !dict?.value ? null : getLocalizedValue(dict.value, language));\n};\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `h3[data-v-bbc71512]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-carousel__wrapper[data-v-bbc71512]{display:flex}.app-discover-carousel__button[data-v-bbc71512]{color:var(--color-text-maxcontrast);position:absolute;top:calc(50% - 22px)}.app-discover-carousel__button-wrapper[data-v-bbc71512]{position:relative}.app-discover-carousel__button--next[data-v-bbc71512]{right:-54px}.app-discover-carousel__button--previous[data-v-bbc71512]{left:-54px}.app-discover-carousel__tabs[data-v-bbc71512]{display:flex;flex-direction:row;justify-content:center}.app-discover-carousel__tabs>*[data-v-bbc71512]{color:var(--color-text-maxcontrast)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/CarouselType.vue\"],\"names\":[],\"mappings\":\"AACA,oBACC,cAAA,CACA,eAAA,CACA,kBAAA,CAIA,iDACC,YAAA,CAGD,gDACC,mCAAA,CACA,iBAAA,CACA,oBAAA,CAEA,wDACC,iBAAA,CAID,sDACC,WAAA,CAED,0DACC,UAAA,CAIF,8CACC,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,gDACC,mCAAA\",\"sourcesContent\":[\"\\nh3 {\\n\\tfont-size: 24px;\\n\\tfont-weight: 600;\\n\\tmargin-block: 0 1em;\\n}\\n\\n.app-discover-carousel {\\n\\t&__wrapper {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t&__button {\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\tposition: absolute;\\n\\t\\ttop: calc(50% - 22px); // 50% minus half of button height\\n\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t}\\n\\n\\t\\t// See padding of discover section\\n\\t\\t&--next {\\n\\t\\t\\tright: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tleft: -54px;\\n\\t\\t}\\n\\t}\\n\\n\\t&__tabs {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tjustify-content: center;\\n\\n\\t\\t> * {\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.app-discover-post[data-v-24eed252]{width:100%;background-color:var(--color-primary-element-light);border-radius:var(--border-radius-rounded);display:flex;flex-direction:row}.app-discover-post--reverse[data-v-24eed252]{flex-direction:row-reverse}.app-discover-post h3[data-v-24eed252],.app-discover-post h4[data-v-24eed252]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-post__text[data-v-24eed252]{display:block;padding:var(--border-radius-rounded);width:100%}.app-discover-post__media[data-v-24eed252]{display:block;overflow:hidden;max-height:300px;max-width:450px;border-radius:var(--border-radius-rounded)}.app-discover-post__media--fullwidth[data-v-24eed252]{max-width:unset;max-height:unset}.app-discover-post__media--end[data-v-24eed252]{border-end-start-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-24eed252]{border-end-end-radius:0;border-start-end-radius:0}.app-discover-post__media img[data-v-24eed252],.app-discover-post__media-element[data-v-24eed252]{height:100%;width:100%;object-fit:cover;object-position:center}.app-discover-post__play-icon[data-v-24eed252]{position:absolute;top:-46px;right:-46px}.app-discover-post__play-icon-wrapper[data-v-24eed252]{position:relative;top:-50%;left:-50%}@media only screen and (max-width: 699px){.app-discover-post[data-v-24eed252]{flex-direction:column}.app-discover-post--reverse[data-v-24eed252]{flex-direction:column-reverse}.app-discover-post__media[data-v-24eed252]{min-width:100%}.app-discover-post__media--end[data-v-24eed252]{border-radius:var(--border-radius-rounded);border-start-end-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-24eed252]{border-radius:var(--border-radius-rounded);border-end-end-radius:0;border-end-start-radius:0}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/PostType.vue\"],\"names\":[],\"mappings\":\"AACA,oCACC,UAAA,CACA,mDAAA,CACA,0CAAA,CAEA,YAAA,CACA,kBAAA,CACA,6CACC,0BAAA,CAGD,8EACC,cAAA,CACA,eAAA,CACA,kBAAA,CAGD,0CACC,aAAA,CACA,oCAAA,CACA,UAAA,CAGD,2CACC,aAAA,CACA,eAAA,CAEA,gBAAA,CACA,eAAA,CACA,0CAAA,CAEA,sDACC,eAAA,CACA,gBAAA,CAGD,gDACC,yBAAA,CACA,2BAAA,CAGD,kDACC,uBAAA,CACA,yBAAA,CAGD,kGACC,WAAA,CACA,UAAA,CACA,gBAAA,CACA,sBAAA,CAIF,+CAOC,iBAAA,CACA,SAAA,CACA,WAAA,CARA,uDACC,iBAAA,CACA,QAAA,CACA,SAAA,CAUH,0CACC,oCACC,qBAAA,CAEA,6CACC,6BAAA,CAGD,2CACC,cAAA,CAEA,gDACC,0CAAA,CACA,yBAAA,CACA,2BAAA,CAGD,kDACC,0CAAA,CACA,uBAAA,CACA,yBAAA,CAAA\",\"sourcesContent\":[\"\\n.app-discover-post {\\n\\twidth: 100%;\\n\\tbackground-color: var(--color-primary-element-light);\\n\\tborder-radius: var(--border-radius-rounded);\\n\\n\\tdisplay: flex;\\n\\tflex-direction: row;\\n\\t&--reverse {\\n\\t\\tflex-direction: row-reverse;\\n\\t}\\n\\n\\th3, h4 {\\n\\t\\tfont-size: 24px;\\n\\t\\tfont-weight: 600;\\n\\t\\tmargin-block: 0 1em;\\n\\t}\\n\\n\\t&__text {\\n\\t\\tdisplay: block;\\n\\t\\tpadding: var(--border-radius-rounded);\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\t&__media {\\n\\t\\tdisplay: block;\\n\\t\\toverflow: hidden;\\n\\n\\t\\tmax-height: 300px;\\n\\t\\tmax-width: 450px;\\n\\t\\tborder-radius: var(--border-radius-rounded);\\n\\n\\t\\t&--fullwidth {\\n\\t\\t\\tmax-width: unset;\\n\\t\\t\\tmax-height: unset;\\n\\t\\t}\\n\\n\\t\\t&--end {\\n\\t\\t\\tborder-end-start-radius: 0;\\n\\t\\t\\tborder-start-start-radius: 0;\\n\\t\\t}\\n\\n\\t\\t&--start {\\n\\t\\t\\tborder-end-end-radius: 0;\\n\\t\\t\\tborder-start-end-radius: 0;\\n\\t\\t}\\n\\n\\t\\timg, &-element {\\n\\t\\t\\theight: 100%;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tobject-fit: cover;\\n\\t\\t\\tobject-position: center;\\n\\t\\t}\\n\\t}\\n\\n\\t&__play-icon {\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t\\ttop: -50%;\\n\\t\\t\\tleft: -50%;\\n\\t\\t}\\n\\n\\t\\tposition: absolute;\\n\\t\\ttop: -46px; // half of the icon height\\n\\t\\tright: -46px; // half of the icon width\\n\\t}\\n}\\n\\n// Ensure section works on mobile devices\\n@media only screen and (max-width: 699px) {\\n\\t.app-discover-post {\\n\\t\\tflex-direction: column;\\n\\n\\t\\t&--reverse {\\n\\t\\t\\tflex-direction: column-reverse;\\n\\t\\t}\\n\\n\\t\\t&__media {\\n\\t\\t\\tmin-width: 100%;\\n\\n\\t\\t\\t&--end {\\n\\t\\t\\t\\tborder-radius: var(--border-radius-rounded);\\n\\t\\t\\t\\tborder-start-end-radius: 0;\\n\\t\\t\\t\\tborder-start-start-radius: 0;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&--start {\\n\\t\\t\\t\\tborder-radius: var(--border-radius-rounded);\\n\\t\\t\\t\\tborder-end-end-radius: 0;\\n\\t\\t\\t\\tborder-end-start-radius: 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `\n.slide-in-enter-active,\n.slide-in-leave-active,\n.slide-out-enter-active,\n.slide-out-leave-active {\n transition: all .4s ease-out;\n}\n.slide-in-leave-to,\n.slide-out-enter {\n opacity: 0;\n transform: translateX(50%);\n}\n.slide-in-enter,\n.slide-out-leave-to {\n opacity: 0;\n transform: translateX(-50%);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/CarouselType.vue\"],\"names\":[],\"mappings\":\";AAuLA;;;;EAIA,4BAAA;AACA;AAEA;;EAEA,UAAA;EACA,0BAAA;AACA;AAEA;;EAEA,UAAA;EACA,2BAAA;AACA\",\"sourcesContent\":[\"<template>\\n\\t<section :aria-roledescription=\\\"t('settings', 'Carousel')\\\" :aria-labelledby=\\\"headingId ? `${headingId}` : undefined\\\">\\n\\t\\t<h3 v-if=\\\"headline\\\" :id=\\\"headingId\\\">\\n\\t\\t\\t{{ translatedHeadline }}\\n\\t\\t</h3>\\n\\t\\t<div class=\\\"app-discover-carousel__wrapper\\\">\\n\\t\\t\\t<div class=\\\"app-discover-carousel__button-wrapper\\\">\\n\\t\\t\\t\\t<NcButton class=\\\"app-discover-carousel__button app-discover-carousel__button--previous\\\"\\n\\t\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t\\t:aria-label=\\\"t('settings', 'Previous slide')\\\"\\n\\t\\t\\t\\t\\t:disabled=\\\"!hasPrevious\\\"\\n\\t\\t\\t\\t\\t@click=\\\"currentIndex -= 1\\\">\\n\\t\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"mdiChevronLeft\\\" />\\n\\t\\t\\t\\t\\t</template>\\n\\t\\t\\t\\t</NcButton>\\n\\t\\t\\t</div>\\n\\n\\t\\t\\t<Transition :name=\\\"transitionName\\\" mode=\\\"out-in\\\">\\n\\t\\t\\t\\t<PostType v-bind=\\\"shownElement\\\"\\n\\t\\t\\t\\t\\t:key=\\\"shownElement.id ?? currentIndex\\\"\\n\\t\\t\\t\\t\\t:aria-labelledby=\\\"`${internalId}-tab-${currentIndex}`\\\"\\n\\t\\t\\t\\t\\t:dom-id=\\\"`${internalId}-tabpanel-${currentIndex}`\\\"\\n\\t\\t\\t\\t\\tinline\\n\\t\\t\\t\\t\\trole=\\\"tabpanel\\\" />\\n\\t\\t\\t</Transition>\\n\\n\\t\\t\\t<div class=\\\"app-discover-carousel__button-wrapper\\\">\\n\\t\\t\\t\\t<NcButton class=\\\"app-discover-carousel__button app-discover-carousel__button--next\\\"\\n\\t\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t\\t:aria-label=\\\"t('settings', 'Next slide')\\\"\\n\\t\\t\\t\\t\\t:disabled=\\\"!hasNext\\\"\\n\\t\\t\\t\\t\\t@click=\\\"currentIndex += 1\\\">\\n\\t\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"mdiChevronRight\\\" />\\n\\t\\t\\t\\t\\t</template>\\n\\t\\t\\t\\t</NcButton>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"app-discover-carousel__tabs\\\" role=\\\"tablist\\\" :aria-label=\\\"t('settings', 'Choose slide to display')\\\">\\n\\t\\t\\t<NcButton v-for=\\\"index of content.length\\\"\\n\\t\\t\\t\\t:id=\\\"`${internalId}-tab-${index}`\\\"\\n\\t\\t\\t\\t:key=\\\"index\\\"\\n\\t\\t\\t\\t:aria-label=\\\"t('settings', '{index} of {total}', { index, total: content.length })\\\"\\n\\t\\t\\t\\t:aria-controls=\\\"`${internalId}-tabpanel-${index}`\\\"\\n\\t\\t\\t\\t:aria-selected=\\\"`${currentIndex === (index - 1)}`\\\"\\n\\t\\t\\t\\trole=\\\"tab\\\"\\n\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t@click=\\\"currentIndex = index - 1\\\">\\n\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"currentIndex === (index - 1) ? mdiCircleSlice8 : mdiCircleOutline\\\" />\\n\\t\\t\\t\\t</template>\\n\\t\\t\\t</NcButton>\\n\\t\\t</div>\\n\\t</section>\\n</template>\\n\\n<script lang=\\\"ts\\\">\\nimport type { PropType } from 'vue'\\nimport type { IAppDiscoverCarousel } from '../../constants/AppDiscoverTypes.ts'\\n\\nimport { mdiChevronLeft, mdiChevronRight, mdiCircleOutline, mdiCircleSlice8 } from '@mdi/js'\\nimport { translate as t } from '@nextcloud/l10n'\\nimport { computed, defineComponent, nextTick, ref, watch } from 'vue'\\nimport { commonAppDiscoverProps } from './common.ts'\\nimport { useLocalizedValue } from '../../composables/useGetLocalizedValue.ts'\\n\\nimport NcButton from '@nextcloud/vue/dist/Components/NcButton.js'\\nimport NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'\\nimport PostType from './PostType.vue'\\n\\nexport default defineComponent({\\n\\tname: 'CarouselType',\\n\\n\\tcomponents: {\\n\\t\\tNcButton,\\n\\t\\tNcIconSvgWrapper,\\n\\t\\tPostType,\\n\\t},\\n\\n\\tprops: {\\n\\t\\t...commonAppDiscoverProps,\\n\\n\\t\\t/**\\n\\t\\t * The content of the carousel\\n\\t\\t */\\n\\t\\tcontent: {\\n\\t\\t\\ttype: Array as PropType<IAppDiscoverCarousel['content']>,\\n\\t\\t\\trequired: true,\\n\\t\\t},\\n\\t},\\n\\n\\tsetup(props) {\\n\\t\\tconst translatedHeadline = useLocalizedValue(computed(() => props.headline))\\n\\n\\t\\tconst currentIndex = ref(Math.min(1, props.content.length - 1))\\n\\t\\tconst shownElement = ref(props.content[currentIndex.value])\\n\\t\\tconst hasNext = computed(() => currentIndex.value < (props.content.length - 1))\\n\\t\\tconst hasPrevious = computed(() => currentIndex.value > 0)\\n\\n\\t\\tconst internalId = computed(() => props.id ?? (Math.random() + 1).toString(36).substring(7))\\n\\t\\tconst headingId = computed(() => `${internalId.value}-h`)\\n\\n\\t\\tconst transitionName = ref('slide-out')\\n\\t\\twatch(() => currentIndex.value, (o, n) => {\\n\\t\\t\\tif (o < n) {\\n\\t\\t\\t\\ttransitionName.value = 'slide-out'\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttransitionName.value = 'slide-in'\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Wait next tick\\n\\t\\t\\tnextTick(() => {\\n\\t\\t\\t\\tshownElement.value = props.content[currentIndex.value]\\n\\t\\t\\t})\\n\\t\\t})\\n\\n\\t\\treturn {\\n\\t\\t\\tt,\\n\\t\\t\\tinternalId,\\n\\t\\t\\theadingId,\\n\\n\\t\\t\\thasNext,\\n\\t\\t\\thasPrevious,\\n\\t\\t\\tcurrentIndex,\\n\\t\\t\\tshownElement,\\n\\n\\t\\t\\ttransitionName,\\n\\n\\t\\t\\ttranslatedHeadline,\\n\\n\\t\\t\\tmdiChevronLeft,\\n\\t\\t\\tmdiChevronRight,\\n\\t\\t\\tmdiCircleOutline,\\n\\t\\t\\tmdiCircleSlice8,\\n\\t\\t}\\n\\t},\\n})\\n</script>\\n\\n<style scoped lang=\\\"scss\\\">\\nh3 {\\n\\tfont-size: 24px;\\n\\tfont-weight: 600;\\n\\tmargin-block: 0 1em;\\n}\\n\\n.app-discover-carousel {\\n\\t&__wrapper {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t&__button {\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\tposition: absolute;\\n\\t\\ttop: calc(50% - 22px); // 50% minus half of button height\\n\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t}\\n\\n\\t\\t// See padding of discover section\\n\\t\\t&--next {\\n\\t\\t\\tright: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tleft: -54px;\\n\\t\\t}\\n\\t}\\n\\n\\t&__tabs {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tjustify-content: center;\\n\\n\\t\\t> * {\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n}\\n</style>\\n\\n<style>\\n.slide-in-enter-active,\\n.slide-in-leave-active,\\n.slide-out-enter-active,\\n.slide-out-leave-active {\\n transition: all .4s ease-out;\\n}\\n\\n.slide-in-leave-to,\\n.slide-out-enter {\\n opacity: 0;\\n transform: translateX(50%);\\n}\\n\\n.slide-in-enter,\\n.slide-out-leave-to {\\n opacity: 0;\\n transform: translateX(-50%);\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',{attrs:{\"aria-roledescription\":_vm.t('settings', 'Carousel'),\"aria-labelledby\":_vm.headingId ? `${_vm.headingId}` : undefined}},[(_vm.headline)?_c('h3',{attrs:{\"id\":_vm.headingId}},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.translatedHeadline)+\"\\n\\t\")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__wrapper\"},[_c('div',{staticClass:\"app-discover-carousel__button-wrapper\"},[_c('NcButton',{staticClass:\"app-discover-carousel__button app-discover-carousel__button--previous\",attrs:{\"type\":\"tertiary-no-background\",\"aria-label\":_vm.t('settings', 'Previous slide'),\"disabled\":!_vm.hasPrevious},on:{\"click\":function($event){_vm.currentIndex -= 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiChevronLeft}})]},proxy:true}])})],1),_vm._v(\" \"),_c('Transition',{attrs:{\"name\":_vm.transitionName,\"mode\":\"out-in\"}},[_c('PostType',_vm._b({key:_vm.shownElement.id ?? _vm.currentIndex,attrs:{\"aria-labelledby\":`${_vm.internalId}-tab-${_vm.currentIndex}`,\"dom-id\":`${_vm.internalId}-tabpanel-${_vm.currentIndex}`,\"inline\":\"\",\"role\":\"tabpanel\"}},'PostType',_vm.shownElement,false))],1),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__button-wrapper\"},[_c('NcButton',{staticClass:\"app-discover-carousel__button app-discover-carousel__button--next\",attrs:{\"type\":\"tertiary-no-background\",\"aria-label\":_vm.t('settings', 'Next slide'),\"disabled\":!_vm.hasNext},on:{\"click\":function($event){_vm.currentIndex += 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiChevronRight}})]},proxy:true}])})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__tabs\",attrs:{\"role\":\"tablist\",\"aria-label\":_vm.t('settings', 'Choose slide to display')}},_vm._l((_vm.content.length),function(index){return _c('NcButton',{key:index,attrs:{\"id\":`${_vm.internalId}-tab-${index}`,\"aria-label\":_vm.t('settings', '{index} of {total}', { index, total: _vm.content.length }),\"aria-controls\":`${_vm.internalId}-tabpanel-${index}`,\"aria-selected\":`${_vm.currentIndex === (index - 1)}`,\"role\":\"tab\",\"type\":\"tertiary-no-background\"},on:{\"click\":function($event){_vm.currentIndex = index - 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.currentIndex === (index - 1) ? _vm.mdiCircleSlice8 : _vm.mdiCircleOutline}})]},proxy:true}],null,true)})}),1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=0&id=bbc71512&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=0&id=bbc71512&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=1&id=bbc71512&prod&lang=css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=1&id=bbc71512&prod&lang=css\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./CarouselType.vue?vue&type=template&id=bbc71512&scoped=true\"\nimport script from \"./CarouselType.vue?vue&type=script&lang=ts\"\nexport * from \"./CarouselType.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CarouselType.vue?vue&type=style&index=0&id=bbc71512&prod&scoped=true&lang=scss\"\nimport style1 from \"./CarouselType.vue?vue&type=style&index=1&id=bbc71512&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bbc71512\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('article',{staticClass:\"app-discover-post\",class:{ 'app-discover-post--reverse': _vm.media && _vm.media.alignment === 'start' },attrs:{\"id\":_vm.domId}},[(_vm.headline || _vm.text)?_c(_vm.link ? 'a' : 'div',{tag:\"component\",staticClass:\"app-discover-post__text\",attrs:{\"href\":_vm.link,\"target\":_vm.link ? '_blank' : undefined}},[_c(_vm.inline ? 'h4' : 'h3',{tag:\"component\"},[_vm._v(_vm._s(_vm.translatedHeadline))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.translatedText))])],1):_vm._e(),_vm._v(\" \"),(_vm.mediaSources)?_c(_vm.mediaLink ? 'a' : 'div',{tag:\"component\",staticClass:\"app-discover-post__media\",class:{\n\t\t\t'app-discover-post__media--fullwidth': _vm.isFullWidth,\n\t\t\t'app-discover-post__media--start': _vm.media?.alignment === 'start',\n\t\t\t'app-discover-post__media--end': _vm.media?.alignment === 'end',\n\t\t},attrs:{\"href\":_vm.mediaLink,\"target\":_vm.mediaLink ? '_blank' : undefined}},[_c(_vm.isImage ? 'picture' : 'video',{ref:\"mediaElement\",tag:\"component\",staticClass:\"app-discover-post__media-element\",attrs:{\"muted\":!_vm.isImage,\"playsinline\":!_vm.isImage,\"preload\":!_vm.isImage && 'auto'},on:{\"ended\":function($event){_vm.hasPlaybackEnded = true}}},[_vm._l((_vm.mediaSources),function(source){return _c('source',{key:source.src,attrs:{\"src\":_vm.isImage ? undefined : _vm.generatePrivacyUrl(source.src),\"srcset\":_vm.isImage ? _vm.generatePrivacyUrl(source.src) : undefined,\"type\":source.mime}})}),_vm._v(\" \"),(_vm.isImage)?_c('img',{attrs:{\"src\":_vm.generatePrivacyUrl(_vm.mediaSources[0].src),\"alt\":_vm.mediaAlt}}):_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-post__play-icon-wrapper\"},[(!_vm.isImage && _vm.showPlayVideo)?_c('NcIconSvgWrapper',{staticClass:\"app-discover-post__play-icon\",attrs:{\"path\":_vm.mdiPlayCircleOutline,\"size\":92}}):_vm._e()],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=style&index=0&id=24eed252&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=style&index=0&id=24eed252&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./PostType.vue?vue&type=template&id=24eed252&scoped=true\"\nimport script from \"./PostType.vue?vue&type=script&lang=ts\"\nexport * from \"./PostType.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PostType.vue?vue&type=style&index=0&id=24eed252&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24eed252\",\n null\n \n)\n\nexport default component.exports"],"names":["APP_DISCOVER_KNOWN_TYPES","commonAppDiscoverProps","type","String","required","validator","v","includes","id","date","Number","default","undefined","expiryDate","headline","Object","link","useLocalizedValue","dict","language","getLanguage","computed","value","getLocalizedValue","_ref","_ref2","_dict$language","split","en","___CSS_LOADER_EXPORT___","push","module","defineComponent","name","components","NcButton","NcIconSvgWrapper","PostType","props","content","Array","setup","translatedHeadline","currentIndex","ref","Math","min","length","shownElement","hasNext","hasPrevious","internalId","_props$id","random","toString","substring","headingId","concat","transitionName","watch","o","n","nextTick","t","mdiChevronLeft","mdiChevronRight","mdiCircleOutline","mdiCircleSlice8","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_vm$shownElement$id","_vm","this","_c","_self","_setupProxy","attrs","_v","_s","_e","staticClass","on","$event","scopedSlots","_u","key","fn","proxy","_b","_l","index","total","text","media","inline","Boolean","domId","translatedText","localizedMedia","_props$media","mediaSources","src","flat","mediaAlt","_localizedMedia$value","_localizedMedia$value2","alt","isImage","_mediaSources$value","mime","startsWith","isFullWidth","mediaLink","_localizedMedia$value3","_localizedMedia$value4","hasPlaybackEnded","showPlayVideo","_localizedMedia$value5","mediaElement","mediaIsVisible","useElementVisibility","threshold","watchEffect","video","muted","play","pause","ended","currentTime","mdiPlayCircleOutline","generatePrivacyUrl","url","generateUrl","fileName","_vm$media","_vm$media2","class","alignment","tag","source"],"sourceRoot":""}
|