International voice artists
{{ lngStore._LNG_CONTACT }}
To present our website in the best way possible, Brilliant Voice® uses cookies. By further using our website, you agree to the use of cookies. For more detailed information, please see our Data Protection Declaration.`,
beforeMounted() {
this.isDark = document.documentElement.getAttribute('data-bs-theme') === 'dark';
},
mounted() {
//this.envStore.eventBus.on('all-widgets-mounted', () => {
setTimeout(() => { this.loadLegacyScripts(); }, 1000);
//});
this.scrollPos = window.pageYOffset;
this.width = window.innerWidth;
this.handleScroll();
},
async created() {
if (this.my.id > 0 && !this.usersStore.users[this.my.id]) {
await this.usersStore.fetchProfile(this.my.id);
}
if (!this.bookmarksStore.listsData) {
await this.bookmarksStore.fetchBookmarkLists();
}
},
async serverPrefetch() {
if (this.my.id > 0 && !this.usersStore.users[this.my.id]) {
console.debug('prefetch menu')
await this.usersStore.fetchProfile(this.my.id);
}
if (!this.bookmarksStore.listsData) {
console.debug('prefetch bookmark lists')
await this.bookmarksStore.fetchBookmarkLists();
}
},
computed: {
...mapStores(vueStores.useUsersStore, vueStores.useBookmarksStore),
domain() {
return this.envStore.window.config.properties[this.envStore.window.config.propertyId].domain;
},
lang() {
return this.envStore.window.config.languages[this.envStore.window.config.currentLanguagteId].lang;
},
templatePath() {
return this.envStore.window.config.template.path;
},
},
methods: {
loadLegacyScripts() {
if (!this.legacyScriptsExecuted) {
this.legacyScriptsExecuted = true;
console.log('Execute legacy scripts...');
setUploadToolbarPosition(); $('.playerItemElement').novoPlayer(); $( ".accordion" ).accordion({ active: true, autoHeight: false, clearStyle: true, heightStyle: "content", navigation: true, collapsible: true }); var allAdaptiveBG = $('.adaptiveBG'); allAdaptiveBG.each(function(){ responsiveBackgroundImageResolution( $(this) ); }); var allAdaptiveSRC = $('.adaptiveSRC'); allAdaptiveSRC.each(function(){ responsiveImageResolution( $(this) ); }); $(".datepickerUI").datepicker({ firstDay: 1, dateFormat: "dd.mm.yy" }); $(".datepickerUI_autoTrigger").datepicker({ dateFormat: "dd.mm.yy", onSelect: function (dateText, inst) { var e = jQuery.Event("keyup"); e.which = 13; e.keyCode = 13; $(this).trigger(e); } }); $(".datepickerUI_HM").datetimepicker({ firstDay: 1, dateFormat: "dd.mm.yy", timeFormat: "hh:mm" }); $(".datepickerUI_HMS").datetimepicker({ firstDay: 1, dateFormat: "dd.mm.yy", timeFormat: "hh:mm:ss" }); $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs({ beforeActivate: function (event, ui) { window.location.hash = ui.newPanel.selector; } }); $(window).on('hashchange', function () { if (!location.hash) { $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs('option', 'active', 0); return; } $('.ui-tabs > ul > li > a').not('.ui-tabs .ui-tabs > ul > li > a').each(function (index, a) { if( $(a).attr('href') == location.hash ){ $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs('option', 'active', index); } }); });
}
},
handleScroll() {
window.onscroll = () => {
this.updateScroll();
};
window.onresize = () => {
this.updateScroll();
};
},
updateScroll() {
clearTimeout(this.updating);
this.updating = setTimeout(() => {
this.scrollPos = window.pageYOffset;
this.width = window.innerWidth;
}, 100);
},
},
} , true);
rootApp.mount('#vueApp');
});