https://www.tvmainfranken.de/wp-content/themes/cmms-theme-neue_welle/assets/dist/1.106/app-legacy.js
1System.register(["./swiper-legacy.js"],(function(e,t){"use strict";var n,i,o,a,s,r,l,c;return{setters:[e=>{n=e.d,i=e.S,o=e.N,a=e.P,s=e.A,r=e.f,l=e.K,c=e.a}],execute:function(){e({$:Ci,F:Ki,G:Ji,H:qi,I:Wi,g:j,u:Wa,z:Yi});const u=e("e",(function(e,t,n){let i=Promise.resolve();function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return i.then((t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)}))})),d=new class{#e=null;set(e){this.#e=e}get(){return this.#e}},p={path:"/"};class m{static get(e){const t=document.cookie.split(";");for(const n in t){const i=t[n].split("=");if(i.length>1&&String(i[0]).trim()===String(e))return decodeURIComponent(String(i[1]).trim())}return null}static set(e,t,n=p){let i="";for(const o in n)i+=` ${o}=${n[o]};`;document.cookie=`${e}=${encodeURIComponent(t)};${i}`}static delete(e,t={}){m.set(e,"",Object.assign({},p,t,{"max-age":0}))}}const h="BASE_VIEW_NAV",w="BASE_VIEW_HANDLE_RESPONSE",f={ELEMENT_PROVIDER_READY:"ELEMENT_PROVIDER_READY",AFTER_CONSENT:"SOYLENT_AFTER_CONSENT",APP_MOUNT_READY:"APP_MOUNT_READY"},g=new class{#t={};on(e,t){this.#t[e]||(this.#t[e]=[]),this.#t[e].push(t)}off(e,t){if(!this.#t[e])return;const n=this.#t[e].indexOf(t);n>=0&&this.#t[e].splice(n,1)}dispatch(e,...t){this.#t[e]&&this.#t[e].forEach((e=>e(...t)))}},v=e("_",((e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n})),y="soylent_smartbanner",b={name:"SmartBanner",data:()=>({smartBannerSettings:null,closed:!1,consentReady:!1}),computed:{isActive(){let e=this.getSettings();return e&&!1!==this.consentReady?e.active?Boolean(e.active):void 0:null}},methods:{consentReadyAction(){this.consentReady=!0},getSettings:()=>"soylent_settings"in window&&"smart_banner"in window.soylent_settings?window.soylent_settings.smart_banner:null,showOnStartup(){let e=this.getSettings();return!(!e||!("show_on_startup"in e))&&Boolean(e.show_on_startup)},getUrl(){return this.smartBannerSettings?navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)?`https://apps.apple.com/de/app/${this.smartBannerSettings.id_ios}`:`https://play.google.com/store/apps/details?id=${this.smartBannerSettings.id_android}`:""},close(){this.setDeactivateCookie(),this.closed=!0},setDeactivateCookie(){let e=new Date;e.setTime(e.getTime()+2592e6),m.set(y,!0,{path:"/",expires:e.toGMTString()})}},beforeMount(){this.smartBannerSettings=this.getSettings(),this.closed=Boolean(m.get(y)),this.showOnStartup()?this.consentReadyAction():g.on(f.AFTER_CONSENT,this.consentReadyAction)}},_=window.Vue.createElementVNode,k=window.Vue.openBlock,S=window.Vue.createElementBlock,V=window.Vue.createCommentVNode,E=window.Vue.toDisplayString,A=window.Vue.Transition,C=window.Vue.withCtx,B=window.Vue.createVNode,T=window.Vue.Teleport,x=window.Vue.createBlock,I={key:0,id:"soylent_smartbanner",class:"smartbanner"},N=["href"],D=["src"],O={class:"smartbanner__text"},L={class:"smartbanner__title"},P={class:"smartbanner__description"},M=v(b,[["render",function(e,t,n,i,o,a){return k(),x(T,{to:"body"},[B(A,{name:"slide-down"},{default:C((()=>[a.isActive&&!o.closed?(k(),S("div",I,[_("div",{onClick:t[0]||(t[0]=(...e)=>a.close&&a.close(...e)),class:"iconSet smartbanner__close"},"close"),_("a",{href:a.getUrl(),onClick:t[1]||(t[1]=(...e)=>a.close&&a.close(...e)),target:"_blank",rel:"nofollow",class:"smartbanner__cta"},[o.smartBannerSettings.logo?(k(),S("img",{key:0,src:o.smartBannerSettings.logo,class:"smartbanner__thumb"},null,8,D)):V("",!0),_("div",O,[_("span",L,E(o.smartBannerSettings.label),1),_("span",P,E(o.smartBannerSettings.description),1)]),t[2]||(t[2]=_("div",{class:"smartbanner__button"},"Ãffnen",-1))],8,N)])):V("",!0)])),_:1})])}]]),R=e("A","soylent_settings"in window&&window.soylent_settings.app_mode||!1);class z{#n=[];add(e){"string"==typeof e?this.#n.push(e):console.error("[soylent:featureProvider] Cannot add feature, the passed flag is not a string",e)}has(e){return this.#n.includes(e)}remove(e){const t=this.#n.indexOf(e);(e=>0)&&this.#n.splice(t,1)}}function j(){return"__soylent"in window||(window.__soylent={}),"featureProvider"in window.__soylent||(window.__soylent.featureProvider=new z),window.__soylent.featureProvider}const $=e("h","Sso"),U={name:"PageNotificationItem",data:()=>({closed:!1,timeoutId:null}),props:{notification:{type:Object}},methods:{close(){this.closed=!0},openUrl(){const e=this.notification.url;if(e)try{const t=new URL(e,window.location.origin);if(!["http:","https:"].includes(t.protocol))return;if(t.origin===window.location.origin){const e=`${t.pathname}${t.search}${t.hash}`;this.$router.push(e)}else window.open(t.href,"_blank","noopener,noreferrer");this.closed=!0}catch{this.closed=!0}finally{this.closed=!0}}},beforeMount(){""!==this.notification.lifetime_in_seconds&&(this.notification.lifetime_in_seconds<=0?this.close():this.timeoutId=setTimeout((()=>{this.close()}),1e3*this.notification.lifetime_in_seconds))},unmounted(){this.timeoutId&&clearTimeout(this.timeoutId)}},F=window.Vue.toDisplayString,H=window.Vue.createElementVNode,G=window.Vue.openBlock,W=window.Vue.createElementBlock,q=window.Vue.createCommentVNode,Y=window.Vue.resolveDynamicComponent,K=window.Vue.withCtx,J=window.Vue.createBlock,Q=window.Vue.withKeys,Z=window.Vue.resolveDirective,X=window.Vue.withDirectives,ee=window.Vue.Transition,te={class:"page-notification__title"},ne={class:"page-notification__description"},ie={key:0,class:"page-notification__button"},oe={name:"PageNotifications",components:{PageNotificationItem:v(U,[["render",function(e,t,n,i,o,a){const s=Z("focustrap");return G(),J(ee,{name:"slide-up"},{default:K((()=>[n.notification&&!o.closed?X((G(),W("div",{key:0,onKeydown:t[2]||(t[2]=Q(((...e)=>a.close&&a.close(...e)),["esc"])),class:"page-notification"},[(G(),J(Y(n.notification.url?"button":"div"),{onClick:t[0]||(t[0]=e=>n.notification.url?a.openUrl():null),class:"page-notification__body"},{default:K((()=>[H("span",te,F(n.notification.title),1),H("span",ne,F(n.notification.text),1),n.notification.url?(G(),W("span",ie,"Ãffnen")):q("",!0)])),_:1})),H("button",{onClick:t[1]||(t[1]=(...e)=>a.close&&a.close(...e)),class:"iconSet page-notification__close"},"close")],32)),[[s]]):q("",!0)])),_:1})}]])},data:()=>({closed:!0}),computed:{storeCurrentData(){return this.$store.state.app.currentData},notifications(){return this.storeCurrentData.page_notifications&&this.storeCurrentData.page_notifications.length>0?this.storeCurrentData.page_notifications:null},notification(){return this.storeCurrentData.page_notifications&&this.storeCurrentData.page_notifications.length>0?this.storeCurrentData.page_notifications[0]:null}},methods:{close(){this.closed=!0},openUrl(){this.$router.push(this.notification.url),this.closed=!0}},watch:{notification:{handler(e){this.closed=!1}
1,deep:!0,immediate:!0}}},ae=window.Vue.renderList,se=window.Vue.Fragment,re=window.Vue.openBlock,le=window.Vue.createElementBlock,ce=window.Vue.resolveComponent,ue=window.Vue.createBlock,de=window.Vue.createCommentVNode,pe={key:0,class:"page-notification__wrapper"},me=v(oe,[["render",function(e,t,n,i,o,a){const s=ce("PageNotificationItem");return a.notifications?(re(),le("div",pe,[(re(!0),le(se,null,ae(a.notifications,((e,t)=>(re(),ue(s,{notification:e,key:`notification_${e.id}`},null,8,["notification"])))),128))])):de("",!0)}]]),he=new class{#t={};on(e,t,n={}){const{priority:i=10}=n;this.#t[e]||(this.#t[e]=[]),this.#t[e][`p${i}`]||(this.#t[e][`p${i}`]=[]),this.#t[e][`p${i}`].push(t)}off(e,t,n={}){const{priority:i=10}=n;if(console.debug("[SoylentFilterProvider] Unsubscribing "+e),!this.#t[e]||!this.#t[e][`p${i}`])return;const o=this.#t[e][`p${i}`].indexOf(t);o>=0?(this.#t[e][`p${i}`].splice(o,1),console.debug("[SoylentFilterProvider] Callback removed ")):(console.debug("[SoylentFilterProvider] Callback not found "),console.debug(t))}filter(e,t,n={},...i){const{once:o=!1}=n;let a=0;if(!this.#t[e])return t;const s=this.#t[e];return Object.keys(s).sort(((e,t)=>parseInt(e.substring(1),10)-parseInt(t.substring(1),10))).forEach((e=>{s[e].forEach((e=>{(o&&a<1||!o)&&(t=e(t,...i)),a++}))})),t}};class we{#i;#o;constructor(){this.#i=null,this.#o=window.soylent_settings.tcf_query_key,this.getTcfString(),he.on("player_filter__source_url",this.filter.bind(this))}filter(e){if(this.#i){const t=e.includes("?")?"&":"?";e=`${e}${t}${this.#o}=${this.#i}`,console.debug("[PlayerSourceFilter] - added TCF-String")}return e}getTcfString(){"__tcfapi"in window&&this.#o&&__tcfapi("getTCData",2,((e,t)=>{t&&"tcString"in e&&(this.#i=e.tcString)}))}}const fe={data:function(){return{resizeTimer:null}},components:{PageNotifications:me,SmartBanner:M},computed:{layoutComponent:function(){return d.get()},classNames:function(){return{"--loading":this.$store.getters.isLoading,"--header_open":0===this.$store.getters.scrollOffset.y,"--menu_open":this.menuOpen,"--sub-menu__open":this.subMenuOpen,"--with_search":this.$store.getters.isSearchOpen,"--with_category-modal":this.categoryModalOpen}},categoryModalOpen:function(){return this.$store.getters.isCategoryModalOpen},menuOpen:function(){return this.$store.getters.isMenuOpen},subMenuOpen:function(){return this.$store.getters.isSubMenuOpen},hasSmartBanner:()=>!R&&!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)),hasLoginActive(){return!!j().has($)&&this.isAuth},isAuth(){return this.$store.state.sso.auth}},methods:{onWindowChange:function(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.setScrollOffset.bind(this),100)},setScrollOffset:function(){this.$store.dispatch("setScrollOffset",{x:window.pageXOffset,y:window.pageYOffset}),window.pageYOffset>0&&this.$store.dispatch("setRenderedFullPage",!0)},fetchCurrentData:function(){window.isDynamicRenderer||(this.$store.dispatch("getCurrentData"),setTimeout((()=>{this.fetchCurrentData()}),6e4))},consentReadyEvent(){new we,window.UC_UI.isConsentRequired()?window.addEventListener("UC_UI_VIEW_CHANGED",(function(e){"NONE"===e.detail.view&&g.dispatch(f.AFTER_CONSENT)})):g.dispatch(f.AFTER_CONSENT)},afterConsent(){const e=new Event(f.AFTER_CONSENT);window.dispatchEvent(e)}},mounted(){j().has("CurrentData")&&this.fetchCurrentData()},watch:{categoryModalOpen:function(e){document.body.style.overflow=!0===e?"hidden":""},menuOpen:function(e){document.body.style.overflow=!0===e?"hidden":""},hasLoginActive:function(e){!0===e&&this.$store.dispatch("BookmarksOnlineStore/fetchBookmarks")}},created(){window.addEventListener("scroll",this.onWindowChange),window.addEventListener("resize",this.onWindowChange),this.$nextTick((()=>{this.onWindowChange(),window.UC_UI&&UC_UI.isInitialized()?this.consentReadyEvent():window.addEventListener("UC_UI_INITIALIZED",this.consentReadyEvent)}))},beforeUnmount(){window.removeEventListener("scroll",this.onWindowChange),window.removeEventListener("resize",this.onWindowChange)}}
1,ge=window.Vue.resolveComponent,ve=window.Vue.openBlock,ye=window.Vue.createBlock,be=window.Vue.createCommentVNode,_e=window.Vue.createVNode,ke=window.Vue.resolveDynamicComponent,Se=window.Vue.normalizeClass,Ve=window.Vue.createElementVNode,Ee=window.Vue.Fragment,Ae=window.Vue.createElementBlock,Ce=v(fe,[["render",function(e,t,n,i,o,a){const s=ge("SmartBanner"),r=ge("PageNotifications");return ve(),Ae(Ee,null,[a.hasSmartBanner?(ve(),ye(s,{key:0})):be("",!0),_e(r),Ve("div",{id:"app",class:Se(a.classNames)},[(ve(),ye(ke(a.layoutComponent)))],2)],64)}]]);function Be(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const Te="function"==typeof Proxy,xe="devtools-plugin:setup";let Ie,Ne;function De(){return void 0!==Ie||("undefined"!=typeof window&&window.performance?(Ie=!0,Ne=window.performance):"undefined"!=typeof globalThis&&(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(Ie=!0,Ne=globalThis.perf_hooks.performance):Ie=!1),Ie?Ne.now():Date.now();var e}class Oe{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const s in e.settings){const t=e.settings[s];n[s]=t.defaultValue}const i=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},n);try{const e=localStorage.getItem(i),t=JSON.parse(e);Object.assign(o,t)}catch(a){}this.fallbacks={getSettings:()=>o,setSettings(e){try{localStorage.setItem(i,JSON.stringify(e))}catch(a){}o=e},now:()=>De()},t&&t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Le(e,t){const n=e,i=Be(),o=Be().__VUE_DEVTOOLS_GLOBAL_HOOK__,a=Te&&n.enableEarlyProxy;if(!o||!i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&a){const e=a?new Oe(n,o):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else o.emit(xe,e,t)} 2/*! 3 * vue-router v4.6.4 4 * (c) 2025 Eduardo San Martin Morote 5 * @license MIT 6 */window.Vue.getCurrentInstance,window.Vue.inject,window.Vue.onActivated,window.Vue.onDeactivated,window.Vue.onUnmounted,window.Vue.watch;const Pe="undefined"!=typeof document;function Me(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Re=Object.assign;function ze(e,t){const n={};for(const i in t){const o=t[i];n[i]=$e(o)?o.map(e):e(o)}return n}const je=()=>{},$e=Array.isArray;function Ue(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}const Fe=/#/g,He=/&/g,Ge=/\//g,We=/=/g,qe=/\?/g,Ye=/\+/g,Ke=/%5B/g,Je=/%5D/g,Qe=/%5E/g,Ze=/%60/g,Xe=/%7B/g,et=/%7C/g,tt=/%7D/g,nt=/%20/g;function it(e){return null==e?"":encodeURI(""+e).replace(et,"|").replace(Ke,"[").replace(Je,"]")}function ot(e){return it(e).replace(Ye,"%2B").replace(nt,"+").replace(Fe,"%23").replace(He,"%26").replace(Ze,"`").replace(Xe,"{").replace(tt,"}").replace(Qe,"^")}function at(e){return function(e){return it(e).replace(Fe,"%23").replace(qe,"%3F")}(e).replace(Ge,"%2F")}function st(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const rt=/\/$/,lt=e=>e.replace(rt,"");function ct(e,t,n="/"){let i,o={},a="",s="";const r=t.indexOf("#");let l=t.indexOf("?");return l=r>=0&&l>r?-1:l,l>=0&&(i=t.slice(0,l),a=t.slice(l,r>0?r:t.length),o=e(a.slice(1))),r>=0&&(i=i||t.slice(0,r),s=t.slice(r,t.length)),i=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let a,s,r=n.length-1;for(a=0;a<i.length;a++)if(s=i[a],"."!==s){if(".."!==s)break;r>1&&r--}return n.slice(0,r).join("/")+"/"+i.slice(a).join("/")}(null!=i?i:t,n),{fullPath:i+a+s,path:i,query:o,hash:st(s)}}function ut(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function dt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!mt(e[n],t[n]))return!1;return!0}function mt(e,t){return $e(e)?ht(e,t):$e(t)?ht(t,e):e?.valueOf()===t?.valueOf()}function ht(e,t){return $e(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ft=function(e){return e.pop="pop",e.push="push",e}({}
6),gt=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});const vt=/^[^#]+#/;function yt(e,t){return e.replace(vt,"#")+t}const bt=()=>({left:window.scrollX,top:window.scrollY});function _t(e){let t;if("el"in e){const n=e.el,i="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function kt(e,t){return(history.state?history.state.position-t:-1)+e}const St=new Map;function Vt(e){return"string"==typeof e||"symbol"==typeof e}let Et=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const At=Symbol("");function Ct(e,t){return Re(new Error,{type:e,[At]:!0},t)}function Bt(e,t){return e instanceof Error&&At in e&&(null==t||!!(e.type&t))}function Tt(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const e=n[i].replace(Ye," "),o=e.indexOf("="),a=st(o<0?e:e.slice(0,o)),s=o<0?null:st(e.slice(o+1));if(a in t){let e=t[a];$e(e)||(e=t[a]=[e]),e.push(s)}else t[a]=s}return t}function xt(e){let t="";for(let n in e){const i=e[n];n=ot(n).replace(We,"%3D"),null!=i?($e(i)?i.map((e=>e&&ot(e))):[i&&ot(i)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})):void 0!==i&&(t+=(t.length?"&":"")+n)}return t}function It(e){const t={};for(const n in e){const i=e[n];void 0!==i&&(t[n]=$e(i)?i.map((e=>null==e?null:""+e)):null==i?i:""+i)}return t}Et.MATCHER_NOT_FOUND,Et.NAVIGATION_GUARD_REDIRECT,Et.NAVIGATION_ABORTED,Et.NAVIGATION_CANCELLED,Et.NAVIGATION_DUPLICATED;const Nt=Symbol(""),Dt=Symbol(""),Ot=Symbol(""),Lt=Symbol(""),Pt=Symbol("");function Mt(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Rt(e,t,n,i,o,a=(e=>e())){const s=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise(((r,l)=>{const c=e=>{var a;!1===e?l(Ct(Et.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(a=e)||a&&"object"==typeof a?l(Ct(Et.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(s&&i.enterCallbacks[o]===s&&"function"==typeof e&&s.push(e),r())},u=a((()=>e.call(i&&i.instances[o],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function zt(e,t,n,i,o=(e=>e())){const a=[];for(const s of e)for(const e in s.components){let r=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Me(r)){const l=(r.__vccOpts||r)[t];l&&a.push(Rt(l,n,i,s,e,o))}else{let l=r();a.push((()=>l.then((a=>{if(!a)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const r=(l=a).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Me(l.default)?a.default:a;var l;s.mods[e]=a,s.components[e]=r;const c=(r.__vccOpts||r)[t];return c&&Rt(c,n,i,s,e,o)()}))))}}return a} 7/*! 8 * vue-router v4.6.4 9 * (c) 2025 Eduardo San Martin Morote 10 * @license MIT 11 */ 12const jt=window.Vue.computed,$t=window.Vue.defineComponent;window.Vue.getCurrentInstance;const Ut=window.Vue.h,Ft=window.Vue.inject,Ht=window.Vue.nextTick,Gt=window.Vue.provide,Wt=window.Vue.reactive,qt=window.Vue.ref,Yt=window.Vue.shallowReactive,Kt=window.Vue.shallowRef,Jt=window.Vue.unref,Qt=window.Vue.watch;window.Vue.watchEffect;let Zt=()=>location.protocol+"//"+location.host;function Xt(e,t){const{pathname:n,search:i,hash:o}=t,a=e.indexOf("#");if(a>-1){let t=o.includes(e.slice(a))?e.slice(a).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),ut(n,"")}return ut(n,e)+i+o}function en(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?bt():null}}let tn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var nn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(nn||{});const on={type:tn.Static,value:""},an=/[a-zA-Z0-9_]/,sn="[^/]+?",rn={sensitive:!1,strict:!1,start:!0,end:!0};var ln=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(ln||{});const cn=/[.+*?^${}()[\]/\\]/g;function un(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?1===e.length&&e[0]===ln.Static+ln.Segment?-1:1:e.length>t.length?1===t.length&&t[0]===ln.Static+ln.Segment?1:-1:0}function dn(e,t){let n=0;const i=e.score,o=t.score;for(;n<i.length&&n<o.length;){const e=un(i[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-i.length)){if(pn(i))return 1;if(pn(o))return-1}return o.length-i.length}function pn(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const mn={strict:!1,end:!0,sensitive:!1};function hn(e,t,n){const i=function(e,t){const n=Re({},rn,t),i=[];let o=n.start?"^":"";const a=[];for(const r of e){const e=r.length?[]:[ln.Root];
12n.strict&&!r.length&&(o+="/");for(let t=0;t<r.length;t++){const i=r[t];let s=ln.Segment+(n.sensitive?ln.BonusCaseSensitive:0);if(i.type===tn.Static)t||(o+="/"),o+=i.value.replace(cn,"\\$&"),s+=ln.Static;else if(i.type===tn.Param){const{value:e,repeatable:n,optional:l,regexp:c}=i;a.push({name:e,repeatable:n,optional:l});const u=c||sn;u!==sn&&(s+=ln.BonusCustomRegExp);let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;t||(d=l&&r.length<2?`(?:/${d})`:"/"+d),l&&(d+="?"),o+=d,s+=ln.Dynamic,l&&(s+=ln.BonusOptional),n&&(s+=ln.BonusRepeatable),".*"===u&&(s+=ln.BonusWildcard)}e.push(s)}i.push(e)}if(n.strict&&n.end){const e=i.length-1;i[e][i[e].length-1]+=ln.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");return{re:s,score:i,keys:a,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let i=1;i<t.length;i++){const e=t[i]||"",o=a[i-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",i=!1;for(const o of e){i&&n.endsWith("/")||(n+="/"),i=!1;for(const e of o)if(e.type===tn.Static)n+=e.value;else if(e.type===tn.Param){const{value:a,repeatable:s,optional:r}=e,l=a in t?t[a]:"";if($e(l)&&!s)throw new Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);const c=$e(l)?l.join("/"):l;if(!c){if(!r)throw new Error(`Missing required param "${a}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[on]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=nn.Static,i=n;const o=[];let a;function s(){a&&o.push(a),a=[]}let r,l=0,c="",u="";function d(){c&&(n===nn.Static?a.push({type:tn.Static,value:c}):n===nn.Param||n===nn.ParamRegExp||n===nn.ParamRegExpEnd?(a.length>1&&("*"===r||"+"===r)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:tn.Param,value:c,regexp:u,repeatable:"*"===r||"+"===r,optional:"*"===r||"?"===r})):t("Invalid state to consume buffer"),c="")}function p(){c+=r}for(;l<e.length;)if(r=e[l++],"\\"!==r||n===nn.ParamRegExp)switch(n){case nn.Static:"/"===r?(c&&d(),s()):":"===r?(d(),n=nn.Param):p();break;case nn.EscapeNext:p(),n=i;break;case nn.Param:"("===r?n=nn.ParamRegExp:an.test(r)?p():(d(),n=nn.Static,"*"!==r&&"?"!==r&&"+"!==r&&l--);break;case nn.ParamRegExp:")"===r?"\\"==u[u.length-1]?u=u.slice(0,-1)+r:n=nn.ParamRegExpEnd:u+=r;break;case nn.ParamRegExpEnd:d(),n=nn.Static,"*"!==r&&"?"!==r&&"+"!==r&&l--,u="";break;default:t("Unknown state")}else i=n,n=nn.EscapeNext;return n===nn.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),o}(e.path),n),o=Re(i,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function wn(e,t){const n=[],i=new Map;function o(e,n,i){const r=!i,l=gn(e);l.aliasOf=i&&i.record;const c=Ue(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(gn(Re({},l,{components:i?i.record.components:l.components,path:e,aliasOf:i?i.record:l})))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,i="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&i+u)}if(d=hn(t,n,c),i?i.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),r&&e.name&&!yn(d)&&a(e.name)),_n(d)&&s(d),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],d,i&&i.children[t])}i=i||d}return p?()=>{a(p)}:je}function a(e){if(Vt(e)){const t=i.get(e);t&&(i.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&i.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function s(e){const t=function(e,t){let n=0,i=t.length;for(;n!==i;){const o=n+i>>1;dn(e,t[o])<0?i=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(_n(t)&&0===dn(e,t))return t}(e);return o&&(i=t.lastIndexOf(o,i-1)),i}(e,n);n.splice(t,0,e),e.record.name&&!yn(e)&&i.set(e.record.name,e)}return t=Ue(mn,t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,a,s,r={};if("name"in e&&e.name){if(o=i.get(e.name),!o)throw Ct(Et.MATCHER_NOT_FOUND,{location:e});s=o.record.name,r=Re(fn(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&fn(e.params,o.keys.map((e=>e.name)))),a=o.stringify(r)}else if(null!=e.path)a=e.path,o=n.find((e=>e.re.test(a))),o&&(r=o.parse(a),s=o.record.name);else{if(o=t.name?i.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw Ct(Et.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=o.record.name,r=Re({},t.params,e.params),a=o.stringify(r)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:a,params:r,matched:l,meta:bn(l)}},removeRoute:a,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return i.get(e)}}}function fn(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function gn(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]="object"==typeof n?n[i]:n;return t}function yn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bn(e){return e.reduce(((e,t)=>Re(e,t.meta)),{})}function _n({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kn(e){const t=Ft(Ot),n=Ft(Lt),i=jt((()=>{const n=Jt(e.to);return t.resolve(n)})),o=jt((()=>{const{matched:e}=i.value,{length:t}=e,o=e[t-1],a=n.matched;
12if(!o||!a.length)return-1;const s=a.findIndex(dt.bind(null,o));if(s>-1)return s;const r=En(e[t-2]);return t>1&&En(o)===r&&a[a.length-1].path!==r?a.findIndex(dt.bind(null,e[t-2])):s})),a=jt((()=>o.value>-1&&function(e,t){for(const n in t){const i=t[n],o=e[n];if("string"==typeof i){if(i!==o)return!1}else if(!$e(o)||o.length!==i.length||i.some(((e,t)=>e.valueOf()!==o[t].valueOf())))return!1}return!0}(n.params,i.value.params))),s=jt((()=>o.value>-1&&o.value===n.matched.length-1&&pt(n.params,i.value.params)));return{route:i,href:jt((()=>i.value.href)),isActive:a,isExactActive:s,navigate:function(n={}){if(function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(n)){const n=t[Jt(e.replace)?"replace":"push"](Jt(e.to)).catch(je);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}const Sn=$t({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:kn,setup(e,{slots:t}){const n=Wt(kn(e)),{options:i}=Ft(Ot),o=jt((()=>({[An(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[An(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=t.default&&(1===(a=t.default(n)).length?a[0]:a);var a;return e.custom?i:Ut("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Vn=Sn;function En(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const An=(e,t,n)=>null!=e?e:null!=t?t:n;function Cn(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bn=$t({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Ft(Pt),o=jt((()=>e.route||i.value)),a=Ft(Dt,0),s=jt((()=>{let e=Jt(a);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),r=jt((()=>o.value.matched[s.value]));Gt(Dt,jt((()=>s.value+1))),Gt(Nt,r),Gt(Pt,o);const l=qt();return Qt((()=>[l.value,r.value,e.name]),(([e,t,n],[i,o,a])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===i&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&dt(t,o)&&i||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const i=o.value,a=e.name,s=r.value,c=s&&s.components[a];if(!c)return Cn(n.default,{Component:c,route:i});const u=s.props[a],d=u?!0===u?i.params:"function"==typeof u?u(i):u:null,p=Ut(c,Re({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[a]=null)},ref:l}));return Cn(n.default,{Component:p,route:i})||p}}}),Tn=window.Vue.inject,xn=window.Vue.effectScope,In=window.Vue.reactive,Nn=window.Vue.watch,Dn=window.Vue.computed;var On="store";function Ln(e){return void 0===e&&(e=null),Tn(null!==e?e:On)}function Pn(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Mn(e){return null!==e&&"object"==typeof e}function Rn(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function zn(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;$n(e,n,[],e._modules.root,!0),jn(e,n,t)}function jn(e,t,n){var i=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,s={},r={},l=xn(!0);l.run((function(){Pn(a,(function(t,n){s[n]=function(e,t){return function(){return e(t)}}(t,e),r[n]=Dn((function(){return s[n]()})),Object.defineProperty(e.getters,n,{get:function(){return r[n].value},enumerable:!0})}))})),e._state=In({data:t}),e._scope=l,e.strict&&function(e){Nn((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),i&&n&&e._withCommit((function(){i.data=null})),o&&o.stop()}function $n(e,t,n,i,o){var a=!n.length,s=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=i),!a&&!o){var r=Fn(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){r[l]=i.state}))}var c=i.context=function(e,t,n){var i=""===t,o={dispatch:i?e.dispatch:function(n,i,o){var a=Hn(n,i,o),s=a.payload,r=a.options,l=a.type;return r&&r.root||(l=t+l),e.dispatch(l,s)},commit:i?e.commit:function(n,i,o){var a=Hn(n,i,o),s=a.payload,r=a.options,l=a.type;r&&r.root||(l=t+l),e.commit(l,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return e.getters}:function(){return Un(e,t)}},state:{get:function(){return Fn(e.state,n)}}}),o}(e,s,n);
vendor: 10,359 bytes, line 12
12i.forEachMutation((function(t,n){!function(e,t,n,i){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,i.state,t)}))}(e,s+n,t,c)})),i.forEachAction((function(t,n){var i=t.root?n:s+n,o=t.handler||t;!function(e,t,n,i){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o,a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}(e,i,o,c)})),i.forEachGetter((function(t,n){!function(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}(e,s+n,t,c)})),i.forEachChild((function(i,a){$n(e,t,n.concat(a),i,o)}))}function Un(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,i)===t){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Fn(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Hn(e,t,n){return Mn(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Gn="vuex bindings",Wn="vuex:mutations",qn="vuex:actions",Yn="vuex",Kn=0;function Jn(e,t){Le({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Gn]},(function(n){n.addTimelineLayer({id:Wn,label:"Vuex Mutations",color:Qn}),n.addTimelineLayer({id:qn,label:"Vuex Actions",color:Qn}),n.addInspector({id:Yn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===Yn)if(n.filter){var i=[];ti(i,t._modules.root,n.filter,""),n.rootNodes=i}else n.rootNodes=[ei(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===Yn){var i=n.nodeId;Un(t,i),n.state=function(e,t,n){t="root"===n?t:t[n];var i=Object.keys(t),o={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(i.length){var a=function(e){var t={};return Object.keys(e).forEach((function(n){var i=n.split("/");if(i.length>1){var o=t,a=i.pop();i.forEach((function(e){o[e]||(o[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),o=o[e]._custom.value})),o[a]=ni((function(){return e[n]}))}else t[n]=ni((function(){return e[n]}))})),t}(t);o.getters=Object.keys(a).map((function(e){return{key:e.endsWith("/")?Xn(e):e,editable:!1,value:ni((function(){return a[e]}))}}))}return o}((o=t._modules,(s=(a=i).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var i=e[t];if(!i)throw new Error('Missing module "'+t+'" for path "'+a+'".');return n===s.length-1?i:i._children}),"root"===a?o:o.root._children)),"root"===i?t.getters:t._makeLocalGettersCache,i)}var o,a,s})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===Yn){var i=n.nodeId,o=n.path;"root"!==i&&(o=i.split("/").filter(Boolean).concat(o)),t._withCommit((function(){n.set(t._state.data,o,n.state.value)}))}})),t.subscribe((function(e,t){var i={};e.payload&&(i.payload=e.payload),i.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(Yn),n.sendInspectorState(Yn),n.addTimelineEvent({layerId:Wn,event:{time:Date.now(),title:e.type,data:i}})})),t.subscribeAction({before:function(e,t){var i={};e.payload&&(i.payload=e.payload),e._id=Kn++,e._time=Date.now(),i.state=t,n.addTimelineEvent({layerId:qn,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:i}})},after:function(e,t){var i={},o=Date.now()-e._time;i.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},e.payload&&(i.payload=e.payload),i.state=t,n.addTimelineEvent({layerId:qn,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:i}})}})}))}var Qn=8702998,Zn={label:"namespaced",textColor:16777215,backgroundColor:6710886};function Xn(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function ei(e,t){return{id:t||"root",label:Xn(t),tags:e.namespaced?[Zn]:[],children:Object.keys(e._children).map((function(n){return ei(e._children[n],t+n+"/")}))}}function ti(e,t,n,i){i.includes(n)&&e.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:t.namespaced?[Zn]:[]}),Object.keys(t._children).forEach((function(o){ti(e,t._children[o],n,i+o+"/")}))}function ni(e){try{return e()}catch(t){return t}}var ii=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},oi={namespaced:{configurable:!0}};oi.namespaced.get=function(){return!!this._rawModule.namespaced},ii.prototype.addChild=function(e,t){this._children[e]=t},ii.prototype.removeChild=function(e){delete this._children[e]},ii.prototype.getChild=function(e){return this._children[e]},ii.prototype.hasChild=function(e){return e in this._children},ii.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},ii.prototype.forEachChild=function(e){Pn(this._children,e)},ii.prototype.forEachGetter=function(e){this._rawModule.getters&&Pn(this._rawModule.getters,e)},ii.prototype.forEachAction=function(e){this._rawModule.actions&&Pn(this._rawModule.actions,e)},ii.prototype.forEachMutation=function(e){this._rawModule.mutations&&Pn(this._rawModule.mutations,e)},Object.defineProperties(ii.prototype,oi);var ai=function(e){this.register([],e,!1)};function si(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return;si(e.concat(i),t.getChild(i),n.modules[i])}}ai.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},ai.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},ai.prototype.update=function(e){si([],this.root,e)},ai.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var o=new ii(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o),t.modules&&Pn(t.modules,(function(t,o){i.register(e.concat(o),t,n)}))},ai.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},ai.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var ri=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ai(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var a=this,s=this.dispatch,r=this.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return r.call(a,e,t,n)},this.strict=i;var l=this._modules.root.state;$n(this,l,[],this._modules.root),jn(this,l),n.forEach((function(e){return e(t)}))},li={state:{configurable:!0}};ri.prototype.install=function(e,t){e.provide(t||On,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&Jn(e,this)},li.state.get=function(){return this._state.data},li.state.set=function(e){},ri.prototype.commit=function(e,t,n){var i=this,o=Hn(e,t,n),a=o.type,s=o.payload,r={type:a,payload:s},l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(r,i.state)})))},ri.prototype.dispatch=function(e,t){var n=this,i=Hn(e,t),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(c){}var l=r.length>1?Promise.all(r.map((function(e){return e(a)}))):r[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(c){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(c){}t(e)}))}))}},ri.prototype.subscribe=function(e,t){return Rn(e,this._subscribers,t)},ri.prototype.subscribeAction=function(e,t){return Rn("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},ri.prototype.watch=function(e,t,n){var i=this;return Nn((function(){return e(i.state,i.getters)}),t,Object.assign({},n))},ri.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},ri.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),$n(this,this.state,e,this._modules.get(e),n.preserveState),jn(this,this.state)},ri.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete Fn(t.state,e.slice(0,-1))[e[e.length-1]]})),zn(this)},ri.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},ri.prototype.hotUpdate=function(e){this._modules.update(e),zn(this,!0)},ri.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(ri.prototype,li);var ci=e("m",pi((function(e,t){var n={};return di(t).forEach((function(t){var i=t.key,o=t.val;o=e+o,n[i]=function(){if(!e||mi(this.$store,0,e))return this.$store.getters[o]},n[i].vuex=!0})),n}))),ui=e("b",pi((function(e,t){var n={};return di(t).forEach((function(t){var i=t.key,o=t.val;n[i]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=mi(this.$store,0,e);if(!a)return;i=a.context.dispatch}return"function"==typeof o?o.apply(this,[i].concat(t)):i.apply(this.$store,[o].concat(t))}})),n})));function di(e){return function(e){return Array.isArray(e)||Mn(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}
vendor: 1,944 bytes, line 12
12})):[]}function pi(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function mi(e,t,n){return e._modulesNamespaceMap[n]}const hi=e("k",function e(t){function n(e,t,i){var o,a={};if(Array.isArray(e))return e.concat(t);for(o in e)a[i?o.toLowerCase():o]=e[o];for(o in t){var s=i?o.toLowerCase():o,r=t[o];a[s]=s in a&&"object"==typeof r?n(a[s],r,"headers"==s):r}return a}function i(e,i,o,a,s){var r="string"!=typeof e?(i=e).url:e,l={config:i},c=n(t,i),u={};a=a||c.data,(c.transformRequest||[]).map((function(e){a=e(a,c.headers)||a})),c.auth&&(u.authorization=c.auth),a&&"object"==typeof a&&"function"!=typeof a.append&&"function"!=typeof a.text&&(a=JSON.stringify(a),u["content-type"]="application/json");try{u[c.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+c.xsrfCookieName+"=([^;]*)"))[2])}catch(e){}return c.baseURL&&(r=r.replace(/^(?!.*\/\/)\/?/,c.baseURL+"/")),c.params&&(r+=(~r.indexOf("?")?"&":"?")+(c.paramsSerializer?c.paramsSerializer(c.params):new URLSearchParams(c.params))),(c.fetch||fetch)(r,{method:(o||c.method||"get").toUpperCase(),body:a,headers:n(c.headers,u,!0),credentials:c.withCredentials?"include":s}).then((function(e){for(var t in e)"function"!=typeof e[t]&&(l[t]=e[t]);return"stream"==c.responseType?(l.data=e.body,l):e[c.responseType||"text"]().then((function(e){l.data=e,l.data=JSON.parse(e)})).catch(Object).then((function(){return(c.validateStatus?c.validateStatus(e.status):e.ok)?l:Promise.reject(l)}))}))}return t=t||{},i.request=i,i.get=function(e,t){return i(e,t,"get")},i.delete=function(e,t){return i(e,t,"delete")},i.head=function(e,t){return i(e,t,"head")},i.options=function(e,t){return i(e,t,"options")},i.post=function(e,t,n){return i(e,n,"post",t)},i.put=function(e,t,n){return i(e,n,"put",t)},i.patch=function(e,t,n){return i(e,n,"patch",t)},i.all=Promise.all.bind(Promise),i.spread=function(e){return e.apply.bind(e,e)}
12,i.CancelToken="function"==typeof AbortController?AbortController:Object,i.defaults=t,i.create=e,i}()),wi="soylent_component_data_",fi={state:{headerHeight:64,loading:!1,menuOpen:!1,subMenuOpen:!1,pageData:{},pageDebugData:null,pageTemplate:null,scrollOffset:{x:0,y:0},categoryModalOpen:!1,searchOpen:!1,currentData:{},hasFavorites:!1,componentData:{},loadedScripts:[],renderedFullPage:!1,renderedImages:0},mutations:{SET_HAS_FAVORITES(e,t){e.hasFavorites=t},CLOSE_CATEGORY_MODAL(e){e.categoryModalOpen=!1},CLOSE_MENU(e){e.menuOpen=!1},CLOSE_SUB_MENU(e){e.subMenuOpen=!1},CLOSE_SEARCH(e){e.searchOpen=!1},SET_LOADING(e,t){e.loading=t},SET_CURRENT_DATA(e,t){e.currentData=t},SET_PAGE_DATA(e,t){e.pageData=t},SET_PAGE_DEBUG_DATA(e,t){e.pageDebugData=t},SET_PAGE_TEMPLATE(e,t){e.pageTemplate=t},SET_SCROLL_OFFSET(e,t){e.scrollOffset=t},SET_HEADER_HEIGHT(e,t){e.headerHeight=t},SET_SUB_MENU_OPEN(e,t){e.subMenuOpen=t},TOGGLE_CATEGORY_MODAL(e){e.categoryModalOpen=!e.categoryModalOpen},TOGGLE_MENU(e){e.menuOpen=!e.menuOpen},TOGGLE_SEARCH(e){e.searchOpen=!e.searchOpen},SET_SCRIPT_LOADED(e,t){e.loadedScripts.includes(t)||e.loadedScripts.push(t)},UPDATE_COMPONENT_DATA(e,t){!1 in t||("persistent"in t&&!0===t.persistent&&window.localStorage.setItem(wi+t.key,JSON.stringify(t.value)),e.componentData[t.key]=t.value)},SET_RENDERED_FULL_PAGE(e,t){e.renderedFullPage=t},SET_RENDERED_IMAGES(e,t){e.renderedImages=t},INCREASE_RENDERED_IMAGES(e){e.renderedImages++},RESET_RENDERED_IMAGES(e){e.renderedImages=0}},getters:{hasFavorites:e=>e.hasFavorites,currentData:e=>e.currentData,headerHeight:e=>e.headerHeight,isLoading:e=>e.loading,isCategoryModalOpen:e=>e.categoryModalOpen,isMenuOpen:e=>e.menuOpen,isSubMenuOpen:e=>e.subMenuOpen,isSearchOpen:e=>e.searchOpen,pageData:e=>e.pageData,pageDebugData:e=>e.pageDebugData,pageTemplate:e=>e.pageTemplate,scrollOffset:e=>e.scrollOffset,isScriptLoaded:e=>t=>e.loadedScripts.includes(t),componentData:e=>e.componentData,renderedFullPage:e=>e.renderedFullPage,renderedImages:e=>e.renderedImages},actions:{setHasFavorites(e,t){e.commit("SET_HAS_FAVORITES",t)},closeCategoryModal(e){e.commit("CLOSE_CATEGORY_MODAL")},closeMenu(e){e.commit("CLOSE_MENU")},closeSubMenu(e){e.commit("CLOSE_SUB_MENU")},closeSearch(e){e.commit("CLOSE_SEARCH")},setHeaderHeight(e,t){e.commit("SET_HEADER_HEIGHT",t)},setLoading(e,t){e.commit("SET_LOADING",!!t)},getCurrentData(e){hi.get("/cache/soylent/current_data.json").then((t=>{const n=t.data;e.commit("SET_CURRENT_DATA",n)})).catch((e=>{e.response?console.debug(e.response):console.debug(e)}))},setPageData(e,t){e.commit("SET_PAGE_DATA",t)},setPageDebugData(e,t){e.commit("SET_PAGE_DEBUG_DATA",t)},setPageTemplate(e,t){e.commit("SET_PAGE_TEMPLATE",t)},setScrollOffset(e,t){e.commit("SET_SCROLL_OFFSET",t)},setScriptLoaded(e,t){e.commit("SET_SCRIPT_LOADED",t)},setSubMenuOpen(e){e.commit("SET_SUB_MENU_OPEN",!0)},toggleCategoryModal(e){e.commit("TOGGLE_CATEGORY_MODAL")},toggleMenu(e){e.commit("TOGGLE_MENU")},toggleSearch(e){e.commit("TOGGLE_SEARCH")},setComponentData(e,t){e.commit("UPDATE_COMPONENT_DATA",t)},setRenderedFullPage(e,t){e.commit("SET_RENDERED_FULL_PAGE",t)},setRenderedImages(e,t){e.commit("SET_RENDERED_IMAGES",t)},increaseRenderedImages(e){e.commit("INCREASE_RENDERED_IMAGES")},resetRenderedImages(e){e.commit("RESET_RENDERED_IMAGES")}}},gi={state:{modalVisible:!1,modalType:null},mutations:{SET_MODAL_VISIBLE(e,t){e.modalVisible=t},SET_MODAL_TYPE(e,t){e.modalType=t}},getters:{modalVisible:e=>e.modalVisible,modalType:e=>e.modalType},actions:{setModalVisible(e,t){e.commit("SET_MODAL_VISIBLE",t)},setModalType(e,t){e.commit("SET_MODAL_TYPE",t)}}},vi="SHOW_READER",yi="HIDE_READER",bi="SHOW_READER_AUTOPLAY",_i="SET_READER_AUTOPLAY",ki={[vi]:e=>(e.show=!0,!0),[bi]:e=>(e.show=!0,e.autoplay=!0,!0),[_i]:(e,t)=>(e.autoplay=t,!0),[yi]:(e,t)=>(e.show=!1,e.autoplay=!1,!0)},Si={state:{show:!1,autoplay:!1},namespaced:!0,mutations:ki,getters:{show:e=>e.show,autoplay:e=>e.autoplay},actions:{showReader:function({commit:e},t){return e(vi,t)},showReaderAutoplay:function({commit:e},t){return e(bi,t)},setReaderAutoplay:function({commit:e},t){return e(_i,t)},hideReader:function({commit:e},t){return e(yi,t)}}},Vi=new ri({modules:{app:fi,modal:gi,reader:Si}});window.soylentRegisterStoreModule=function(e,t){Vi.hasModule(e)?console.debug(`[soylent] Cannot register store module [${e}
12] as it already exists`):Vi.registerModule(e,t)},Object.keys(window.localStorage).forEach((e=>{const t=new RegExp(`^${wi.replace(/\./g,".")}(.+)$`,"i"),n=e.match(t);n&&Vi.dispatch("setComponentData",{key:n[1],value:JSON.parse(window.localStorage.getItem(`${wi}${n[1]}`)),persistant:!1})}));const Ei="BASE_VIEW__RESPONSE_DATA",Ai="BLOCK__SHOW_RESTRICTED";function Ci(e,t=[document.body]){let n=[];return(t=t&&t.constructor===Array?t:[t]).forEach((function(t){n=n.concat([].slice.call((t||document).querySelectorAll(e)))})),n}function Bi(e){let t=(e||"").split("-");return t=t.map((e=>e.substr(0,1).toUpperCase()+e.substr(1))),t.join("")}function Ti(e,t){return e.length<=t?e:e.substr(0,t)+"â¦"}const xi={name:"ElementHeader",props:["headline","settings"]},Ii=window.Vue.toDisplayString,Ni=window.Vue.openBlock,Di=window.Vue.createElementBlock,Oi={class:"headline element-header"},Li=e("w",v(xi,[["render",function(e,t,n,i,o,a){return Ni(),Di("h2",Oi,Ii(n.headline),1)}]]));class Pi{#a={};set(e){"object"==typeof e?Object.assign(this.#a,e):console.error("[soylent:componentProvider] set failed, you did not pass a collection",e)}has(e){return Object.keys(this.#a).indexOf(e)>=0}get(){return this.#a}getByName(e,t=null){return this.has(e)?this.#a[e]:t}}const Mi=e("s",new Pi);class Ri{static isAvailable(){return"undefined"!=typeof window&&!!window.UC_UI}static isInitialized(){return!(!this.isAvailable()||"function"!=typeof window.UC_UI.isInitialized)&&window.UC_UI.isInitialized()}static getServicesBaseInfo(){if(!this.isInitialized()||"function"!=typeof window.UC_UI.getServicesBaseInfo)return[];const e=window.UC_UI.getServicesBaseInfo();return Array.isArray(e)?e:[]}static hasConsent(e=[]){if(!Array.isArray(e)||0===e.length)return!0;const t=this.isAvailable(),n=this.isInitialized();if(!t||!n)return!1;const i=e.map((e=>String(e).trim().toLowerCase())).filter(Boolean);return 0===i.length||this.getServicesBaseInfo().some((e=>{const t=e?.consent;if(!0!==t?.status&&!0!==t)return!1;const n=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return i.some((e=>n.includes(e)))}))}static hasService(e=[]){if(!Array.isArray(e)||0===e.length)return!0;const t=this.isAvailable(),n=this.isInitialized();if(!t||!n)return null;const i=e.map((e=>String(e).trim().toLowerCase())).filter(Boolean);return 0===i.length||this.getServicesBaseInfo().some((e=>{const t=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return i.some((e=>t.includes(e)))}))}static getServiceState(e=[]){const t=this.hasService(e);return!0===t?"matched":!1===t?"missing":"unknown"}static onConsentChanged(e){"function"==typeof e&&(window.addEventListener("UC_UI_INITIALIZED",e),window.addEventListener("UC_UI_VIEW_CHANGED",e))}static offConsentChanged(e){"function"==typeof e&&(window.removeEventListener("UC_UI_INITIALIZED",e),window.removeEventListener("UC_UI_VIEW_CHANGED",e))}static openPrivacySettings(){return!(!this.isAvailable()||"function"!=typeof window.UC_UI.showSecondLayer||(window.UC_UI.showSecondLayer(),0))}static findServiceIds(e=[]){if(!Array.isArray(e)||0===e.length)return[];const t=e.map((e=>String(e).trim().toLowerCase())).filter(Boolean);return 0===t.length?[]:this.getServicesBaseInfo().filter((e=>{const n=[e?.name,e?.serviceName,e?.dataProcessor,e?.categoryName].map((e=>String(e??"").trim().toLowerCase())).filter(Boolean);return t.some((e=>n.includes(e)))})).map((e=>e?.id)).filter(Boolean)}static acceptServices(e=[]){if(!this.isAvailable()||"function"!=typeof window.UC_UI.acceptService)return Promise.resolve(!1);const t=this.findServiceIds(e);return 0===t.length?Promise.resolve(!1):Promise.all(t.map((e=>window.UC_UI.acceptService(e)))).then((()=>(window.dispatchEvent(new CustomEvent("consent-changed",{detail:{source:"usercentrics",ids:t}})),!0))).catch((()=>!1))}}e("U",Ri);const zi=e("x","none"),ji=e("y","manual"),$i=e("D","usercentrics"),Ui="Content freischalten",Fi="Dieser Inhalt benötigt eine manuelle Freischaltung",Hi="Content freischalten",Gi="Dieser Inhalt benötigt eine manuelle Freischaltung";function Wi(e=[]){return Array.isArray(e)?e.map((e=>
12String(e).trim())).filter(Boolean):[]}function qi({consentNeeded:e,usercentricsAvailable:t,usercentricsServices:n}){return function(e){return 1===parseInt(e,10)}(e)?t&&Wi(n).length>0?$i:ji:zi}function Yi(e){return!!e&&"1"===window.localStorage.getItem(e)}function Ki(e){e&&(window.localStorage.setItem(e,"1"),window.dispatchEvent(new CustomEvent("consent-changed",{detail:{identifier:e}})))}function Ji(e){return e===$i?{buttonLabel:Ui,text:Fi}:{buttonLabel:Hi,text:Gi}}const Qi={name:"CustomHtmlBlock",props:["element"],data:()=>({agreed:!1,forceManualFallback:!1}),computed:{usercentricsDps(){return String(this.element.data.usercentrics_dps??"").trim()},usercentricsServices(){return Wi([this.usercentricsDps])},usercentricsAvailable(){return this.element.data?.usercentrics_available??!1},consentKey(){return this.element.data.uid},configuredConsentMode(){return qi({consentNeeded:this.element.data.consent_needed,usercentricsAvailable:this.usercentricsAvailable,usercentricsServices:this.usercentricsServices})},activeConsentMode(){return this.configuredConsentMode===zi?zi:this.forceManualFallback?ji:this.configuredConsentMode},canLoad:function(){return this.activeConsentMode===zi||this.agreed},consentButtonLabel:function(){return this.element.data.blocker_button_label?this.element.data.blocker_button_label:Ji(this.activeConsentMode).buttonLabel},consentText:function(){return this.element.data.blocker_text?this.element.data.blocker_text:Ji(this.activeConsentMode).text},elementClasses:function(){return this.element.display_type&&this.element.display_subtype?[this.element.display_type,this.element.display_subtype]:[this.element.type,this.element.subtype]}},methods:{agree(){if(this.activeConsentMode===$i){const e=Ri.getServiceState(this.usercentricsServices);if("missing"!==e)return"matched"===e?void Ri.acceptServices(this.usercentricsServices).then((e=>{if(e)return this.refreshConsentState(),void(this.canLoad&&this.initScripts());this.forceManualFallback=!0,this.agreed=!0,Ki(this.consentKey),this.initScripts()})):void 0;this.forceManualFallback=!0}this.agreed=!0,Ki(this.consentKey),this.initScripts()},onConsentChanged(e){if(this.activeConsentMode!==$i){const t=e?.detail?.identifier;if(t&&t!==this.consentKey)return}this.refreshConsentState(),this.canLoad&&this.initScripts()},refreshConsentState(){if(this.activeConsentMode===zi)return void(this.agreed=!0);if(this.activeConsentMode===ji)return void(this.agreed=Yi(this.consentKey));const e=Ri.getServiceState(this.usercentricsServices);if("missing"===e)return this.forceManualFallback=!0,void(this.agreed=Yi(this.consentKey));this.agreed="unknown"!==e&&Ri.hasConsent(this.usercentricsServices)}
12,loadScript(e,t=!0){if(!0===t&&this.$store.getters.isScriptLoaded(e.identifier))return;const n=document.createElement(e.type);if(e.attr)for(const i in e.attr)"innerText"===i?n[i]=e.attr[i]:n.setAttribute(i,e.attr[i]);t?(this.$store.dispatch("setScriptLoaded",e.identifier),document.body.appendChild(n)):this.$refs.html_data.appendChild(n)},initScripts(){this.element.data.scripts_always&&this.element.data.scripts_always.forEach((e=>{this.loadScript(e,!1)})),this.element.data.scripts_once&&this.element.data.scripts_once.forEach((e=>{this.loadScript(e,!0)}))}},watch:{canLoad(e,t){e&&!t&&this.initScripts()}},mounted(){Ri.onConsentChanged(this.onConsentChanged),window.addEventListener("consent-changed",this.onConsentChanged),this.refreshConsentState(),this.canLoad&&this.initScripts()},beforeUnmount(){Ri.offConsentChanged(this.onConsentChanged),window.removeEventListener("consent-changed",this.onConsentChanged)}},Zi=window.Vue.openBlock,Xi=window.Vue.createElementBlock;window.Vue.createCommentVNode;const eo=window.Vue.toDisplayString,to=window.Vue.createElementVNode,no=window.Vue.normalizeClass,io=["innerHTML"],oo={key:1,class:"consent-wrapper"},ao={class:"consent-text"},so=e("c",v(Qi,[["render",function(e,t,n,i,o,a){return Zi(),Xi("div",{class:no(["element",a.elementClasses])},[a.canLoad?(Zi(),Xi("div",{key:0,innerHTML:n.element.data.html_data,ref:"html_data"},null,8,io)):(Zi(),Xi("div",oo,[to("p",ao,eo(a.consentText),1),to("a",{class:"consent-button",onClick:t[0]||(t[0]=(...e)=>a.agree&&a.agree(...e))},eo(a.consentButtonLabel),1)]))],2)}]])),ro={name:"EditorElement",props:{element:{type:Object,default:function(){return{type:null,subtype:null,data:{}}}}}},lo={name:"Placeholder",extends:ro},co=window.Vue.toDisplayString,uo=window.Vue.createElementVNode,po=window.Vue.createTextVNode,mo=window.Vue.openBlock,ho=window.Vue.createElementBlock,wo=window.Vue.createCommentVNode,fo={key:0,class:"element default"},go=v(lo,[["render",function(e,t,n,i,o,a){return this.$production_mode?wo("",!0):(mo(),ho("div",fo,[t[0]||(t[0]=po(" I am a placeholder, you need to implement me: ",-1)),uo("code",null,".element."+co(e.element.type||"")+"."+co(e.element.subtype||""),1)]))}]]),vo=(window.soylentEditorElementProvider||(window.soylentEditorElementProvider=new Pi,window.soylentEditorElementProvider.set({CustomHtmlBlock:so,Placeholder:go})),window.soylentEditorElementProvider),yo=new Event(f.ELEMENT_PROVIDER_READY);window.dispatchEvent(yo);const bo={name:"IdvlEditorSlot",components:vo.get(),props:["element"],data:()=>({defaultElement:"placeholder"}),computed:{elementComponent:function(){const e=this.getElementComponentName([this.element.type||"",this.element.subtype||""].join("-"));return this.hasElement(e)?e:this.hasElement(e+"Default")?e+"Default":(console.debug("%c[idvl-editor-slot] Element not found","color:white;background:darkred;",e,this.element,vo.get()),this.getElementComponentName(this.defaultElement))},elementKey:function(){return"SoylentPostShortcutListDefault"===this.elementComponent||"SoylentPostShortcutList"===this.elementComponent?this.element.data.archive_url:"SoylentOpenerMedia"===this.elementComponent?this.element.data.media_id:Date.now()+" _ "+Math.random()},slotHeadline:function(){return this.element.slot_settings.soylent_headline||""},elementHeader:function(){return Mi.getByName("elementHeader",Li)},slotClasses:function(){return this.element.slot_settings.css||""}},methods:{hasElement:e=>vo.has(e),getElementComponentName:e=>Bi(e||"")}},_o=window.Vue.resolveDynamicComponent,ko=window.Vue.openBlock,So=window.Vue.createBlock,Vo=window.Vue.createCommentVNode,Eo=window.Vue.normalizeClass,Ao=window.Vue.createElementBlock,Co=v(bo,[["render",function(e,t,n,i,o,a){return ko(),Ao("div",{class:Eo(["slot",a.slotClasses])},[a.slotHeadline?(ko(),So(_o(a.elementHeader),{key:0,headline:a.slotHeadline,settings:n.element.slot_settings},null,8,["headline","settings"])):Vo("",!0),n.element.type?(ko(),So(_o(a.elementComponent),{element:n.element,key:a.elementKey},null,8,["element"])):Vo("",!0)],2)}]]),Bo=()=>{let e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(n=>{let i=16*Math.random();return e>0?(i=(e+i)%16|0,e=Math.floor(e/16)):(i=(t+i)%16|0,t=Math.floor(t/16)),("x"==n?i:7&i|8).toString(16)}))},To=e("J",{get:(e,t)=>new Io({...t,url:e}),post:(e,t,n={})=>new Io({...n,data:t,method:"post",url:e}),request:e=>new Io(e)}),xo=Object.freeze({data:null,headers:{},method:"get",onUploadProgress:null,signal:null,url:""});class Io{#s;constructor(e=xo){return e=Object.assign({},xo,e),this.#s=new XMLHttpRequest,this.#s.open(e.method,e.url),Object.keys(e.headers).forEac
12h((t=>this.#s.setRequestHeader(t,e.headers[t]))),"function"==typeof e.onUploadStart&&(this.#s.upload.onloadstart=e.onUploadStart()),"function"==typeof e.onUploadProgress&&(this.#s.upload.onprogress=t=>{t.lengthComputable&&e.onUploadProgress(t.loaded,t.total)}),e.signal&&e.signal.addEventListener&&e.signal.addEventListener("abort",(()=>{this.#s.abort()})),new Promise(((t,n)=>{this.#s.onload=()=>{if(this.#s.status>=200&&this.#s.status<300){if("application/json"===this.#s.getResponseHeader("Content-Type"))try{t(JSON.parse(this.#s.response))}catch(e){}t(this.#s.response)}else n({status:this.#s.status,statusText:this.#s.statusText})},this.#s.onerror=()=>{n({status:this.#s.status,statusText:this.#s.statusText})},e.data?(e.data.constructor!==FormData&&"object"==typeof e.data&&(e.data=this.#r(e.data)),this.#s.send(e.data)):this.#s.send()}))}#r(e){const t=new FormData;for(const n in e)t.append(n,e[n]);return t}}class No{constructor(){this.items={},this.observer=new IntersectionObserver(this.observerCallback.bind(this),{threshold:.3})}add(e,t,n){this.items[e]={el:t,cb:n},t.setAttribute("data-uid",e),this.observer.observe(t)}observerCallback(e,t){e.forEach((e=>{if(e.intersectionRatio>0){let n=e.target.getAttribute("data-uid");n in this.items&&(this.items[n].cb(),t.unobserve(e.target),this.remove(n))}}))}remove(e){this.items[e]&&delete this.items[e]}}let Do;window.cmmsScrollWatcher?Do=window.cmmsScrollWatcher:(Do=new No,window.cmmsScrollWatcher=Do);const Oo=Do;class Lo{constructor(e,t){this.selectors=e,this.params=t,this.options=this.getOptions(),this.items=this.getItems(),this.lightBox=null,e.forEach(((e,n)=>{let i;"gallery"===t.type?(i=e,i=e):i=e.$el,i.setAttribute("data-pswp-uid",n),i.setAttribute("tabindex","0"),i.addEventListener("keydown",(e=>{13!==e.keyCode&&"Enter"!==e.key&&32!==e.keyCode&&" "!==e.key||(e.preventDefault(),this.options.galleryUID=n,this.open(this.options.galleryUID))})),i.addEventListener("click",(()=>{this.options.galleryUID=n,this.open(this.options.galleryUID)}))}))}getItems(){const e=[];switch(this.params.type){case"picture":e.push({src:this.params.src,width:this.params.size.width,height:this.params.size.height,alt:this.params.desc});break;case"video":case"videolivestream":case"audio":case"audiolivestream":e.push({html:'<div class="pswp-iframe-player-wrapper"><div class="pswp-iframe-player">'+this.params.html+"</div></div>"});break;case"gallery":this.params.items.forEach((function(t){e.push({src:t.src,width:t.size.width,height:t.size.height,alt:t.desc})}))}return e}getOptions(){return{}}async open(e){const{default:n}=await u((async()=>{const{default:e}=await t.import("./photoswipe-lightbox.esm-legacy.js");return{default:e}}),void 0),i=new n({dataSource:this.items,showHideAnimationType:"zoom",pswpModule:()=>u((()=>t.import("./photoswipe.esm-legacy.js")),void 0)});i.on("uiRegister",(()=>{i.pswp.ui.registerElement({name:"caption",order:9,isButton:!1,appendTo:"root",html:"",onInit:(e,t)=>{i.pswp.on("change",(()=>{let t='<div class="pswp__caption__content">'+i.pswp.currSlide.data.alt+"</div>";e.innerHTML=t||""}))}}),"disableDownload"in this.params&&this.params.disableDownload||i.pswp.ui.registerElement({name:"download-button",isButton:!0,title:"Download",order:9,html:'<span style="display: block; filter: drop-shadow(0px 0px 2px black)"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#e8eaed"><g><rect fill="none" height="24" width="24"/></g><g><path d="M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M17,11l-1.41-1.41L13,12.17V4h-2v8.17L8.41,9.59L7,11l5,5 L17,11z"/></g></svg></span>',onClick:async(e,t,n)=>{const i=n.currSlide.data.src,o=await fetch(i),a=await o.blob(),s=URL.createObjectURL(a),r=document.createElement("a");r.href=s,r.download=i.split("/").pop(),r.click(),URL.revokeObjectURL(s)}})})),i.init(),i.loadAndOpen(parseInt(e,10))}}e("n",Lo);const Po=[1920,1328,1024,768,425,320],Mo=[480],Ro={name:"CmmsResponsiveImage",props:{image:{type:Object,required:!0},fill:{type:Boolean,default:!1},blur:{type:Boolean,default:!1},contain:{type:Boolean,default:!1},hAlign:{type:String,default:"center"},vAlign:{type:String,default:"center"},maxHeight:{type:Number,default:0},imageSizeReference:{type:String,default:"width"},zoom:{type:Boolean,default:!1},withScrollWatcher:{type:Boolean,default:!0},updateVisibility:{type:Boolean,default:!1},fetchPriority:{type:String,default:"auto"}},data:()=>({imageIndex:0,loadingMode:"eager",loadingPriority:"auto",uid:null,visible:!1,
12containerWidth:0,containerHeight:0,containerRatio:0,width:0,height:0,ratio:1,maxWidth:Po[Po.length-1],responsiveStep:-1,domRendered:!1}),computed:{...ci(["renderedImages"]),style:function(){return`background-image: url("${this.src}");`+(0<this.maxHeight?`max-height: ${this.maxHeight}px;`:"")},src:function(){if(!this.image)return"";if(this.image.src)return this.image.src;if(this.visible&&!this.fill&&this.domRendered)return this.buildSrc(Math.min(this.image.width,this.maxWidth));if(this.visible&&this.fill&&this.domRendered){let e=Po.length-1,t=Po[e],n=Po[e]/this.ratio;for(;(t<=this.containerWidth||n<=this.containerHeight)&&t<=this.image.width&&n<=this.image.height&&e>=0;)e--,t=Po[e],n=Po[e]/this.ratio;return this.width=t,this.height=n,this.responsiveStep=e,this.buildSrc(this.width,this.height)}return'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="'+(this.fill?20:Math.round(this.image.height/(this.image.width/20)))+'">\n</svg>'},dpr:function(){return Math.ceil(window.devicePixelRatio||1)},alt:function(){let e=[this.image.alt||""];return this.image.copyright&&e.push("© "+this.image.copyright),e.join(" â ")},copyright(){return!(!this.image||!this.image.copyright)&&this.image.copyright}},methods:{...ui(["increaseRenderedImages"]),update:function(){const e=this.$el.parentNode;if(!e)return;const t=e.getBoundingClientRect();if(this.containerWidth=t.width,this.containerHeight=t.height,this.containerRatio=this.containerWidth/this.containerHeight,this.image.src)return;let n=Po.length-1;for(;n>=0&&this.containerWidth>Po[n];)n--;this.maxWidth=Po[n],this.responsiveStep=n},buildSrc(e,t){let n;return!0===this.blur?n="200xeb_20x10/":"height"===this.imageSizeReference?(this.height=Mo[Mo.length-1],this.width=Math.round(this.image.width/(this.image.height/this.height)),n=`x${Math.round(this.height*this.dpr)}/`):(this.width=e,this.height=Math.round(this.image.height/(this.image.width/this.width)),n=`${Math.round(Number(e)*this.dpr)}x/`),`${window.cmms_thumbs_base}${n}${this.image.media_id}.webp`},setVisible:function(){this.visible=!0},buildLightBox(){new Lo([this],{type:"picture",src:`${window.cmms_thumbs_base}f:webp/${this.image.media_id}.webp`,desc:this.image.copyright,size:{width:this.image.width,height:this.image.height}})}},beforeMount(){this.imageIndex=this.$store.getters.renderedImages,this.loadingMode=this.withScrollWatcher&&this.imageIndex>0?"lazy":"eager",this.loadingPriority=this.imageIndex>2?this.fetchPriority:"high",this.$store.dispatch("increaseRenderedImages")},mounted(){this.ratio=this.image.width/this.image.height,!this.image.src&&this.$props.fill||(this.width=this.image.width,this.height=this.image.height),window.addEventListener("resize",this.update,{passive:!0}),this.$nextTick((()=>{this.domRendered=!0,this.update()})),this.withScrollWatcher&&this.fill?(this.uid=Bo(),Oo.add(this.uid,this.$el,this.setVisible)):this.setVisible(),this.zoom&&this.buildLightBox()},watch:{updateVisibility:function(e){!0===e&&this.setVisible()}},beforeUnmount(){window.removeEventListener("resize",this.update),Oo.remove(this.uid)}},zo=window.Vue.normalizeStyle,jo=window.Vue.createElementVNode,$o=window.Vue.toDisplayString,Uo=window.Vue.openBlock,Fo=window.Vue.createElementBlock,Ho=window.Vue.createCommentVNode,Go=window.Vue.normalizeClass,Wo={key:0,class:"responsive-image-copyright"},qo=["width","height","loading","src","alt","fetchPriority"],Yo=e("C",v(Ro,[["render",function(e,t,n,i,o,a){return n.fill&&!n.zoom?(Uo(),Fo("span",{key:0,class:Go(["responsive-image",n.fill?"-fill":"",n.contain?"-contain":"",o.visible?"--visible":"",`_align-img-${n.vAlign}-${n.hAlign}`])},[jo("span",{style:zo(a.style)},null,4),a.copyright?(Uo(),Fo("span",Wo,$o(a.copyright),1)):Ho("",!0)],2)):n.fill?Ho("",!0):(Uo(),Fo("img",{key:1,width:o.width,height:o.height,loading:o.loadingMode,src:a.src,alt:a.alt,class:Go(`_align-img-${n.vAlign}-${n.hAlign}`),fetchPriority:o.loadingPriority},null,10,qo))}]])),Ko={name:"IdvlEditorBlock",components:{CmmsResponsiveImage:Yo,IdvlEditorSlot:Co},props:["block"],data:function(){return{uuid:Bo()}},computed:{anchor:function(){let e=null;return this.block.settings&&this.block.settings.soylent_anchor&&this.block.settings.soylent_anchor.length&&(e=this.block.settings.soylent_anchor),e},padding:function(){let e="--padding_default";return this.block.settings&&this.block.settings.soylent_padding&&(e=`${this.block.settings.soylent_padding}`),e},blockWrapperClass:function(){let e="";return this.block.settings&&this.block.settings.soylent_class&&(e=this.block.settings.soylent_class),e},showBlock(){return!this.block.settings||!this.block.settings.soylent_access_restriction||""===this.block.settings.soylent_access_restriction||he.filter(Ai,"no_auth"===this.block.settings.soylent_access_restriction,{},this.block.settings.soylent_access_restriction,this.block)},image(){if(this.block.settings){if(this.block.settings.soylent_corporate_bgr_image)return this.block.settings.soylent_corporate_bgr_image;if(this.block.settings.soylent_radio_bgr_image)return this.block.settings.soylent_radio_bgr_image;if(this.block.settings.soylent_bgr_image)return this.block.settings.soylent_bgr_image}return!1},imageBlur(){if(this.block.settings){if(this.block.settings.soylent_corporate_bgr_image_blur)return this.block.settings.soylent_corporate_bgr_image_blur;if(this.block.settings.soylent_radio_bgr_image_blur)return this.block.settings.soylent_radio_bgr_image_blur;if(this.block.settings.soylent_bgr_image_blur)return this.block.settings.soylent_bgr_image_blur}return!1},editorSlotComponent:()=>Mi.getByName("editorSlot",Co)}
12,methods:{elementKey:function(e){return`el-${this.uuid}-${e}`},retrieveElements:function(){this.block.retrieve_restricted_url&&To.get(this.block.retrieve_restricted_url).then((e=>{this.block.elements=e}))}},mounted(){this.showBlock&&this.retrieveElements()},watch:{showBlock:function(e){!0===e&&this.retrieveElements()}}},Jo=window.Vue.openBlock,Qo=window.Vue.createElementBlock,Zo=window.Vue.createCommentVNode,Xo=window.Vue.resolveComponent,ea=window.Vue.createBlock,ta=window.Vue.renderList,na=window.Vue.Fragment,ia=window.Vue.resolveDynamicComponent,oa=window.Vue.normalizeClass,aa=window.Vue.createElementVNode,sa=["id"],ra={key:1,class:"block__background"},la=v(Ko,[["render",function(e,t,n,i,o,a){const s=Xo("CmmsResponsiveImage");return a.showBlock?(Jo(),Qo("div",{key:0,class:oa(["block-wrapper",a.padding,a.blockWrapperClass])},[a.anchor?(Jo(),Qo("div",{key:0,class:"block-anchor",id:a.anchor},null,8,sa)):Zo("",!0),a.image?(Jo(),Qo("div",ra,[a.image?(Jo(),ea(s,{key:0,image:a.image,fill:!0,blur:a.imageBlur},null,8,["image","blur"])):Zo("",!0)])):Zo("",!0),aa("div",{class:oa(["block",n.block.block_type])},[(Jo(!0),Qo(na,null,ta(n.block.elements,((e,t)=>(Jo(),ea(ia(a.editorSlotComponent),{key:a.elementKey(t),element:e},null,8,["element"])))),128))],2)],2)):Zo("",!0)}]]),ca={name:"IdvlEditor",components:{IdvlEditorBlock:la},props:["blocks"],data:function(){return{editorDataVersion:"",maxItems:0}},computed:{elementIdvlEditorBlock:function(){return Mi.getByName("idvlEditorBlock",la)},getBlocks(){let e=this.$store.getters.renderedFullPage?this.blocks.length:20,t=this.blocks.filter((e=>null!==e));return t=t.slice(0,e),t}},watch:{blocks(){this.bumpEditorDataVersion()}},methods:{blockKey:(e,t)=>null!==e?"block_id_"+e.id:"block_index"+t,bumpEditorDataVersion:function(){this.editorDataVersion=`${Date.now()}_${Math.random()}`}},updated(){this.$nextTick((function(){window.dispatchEvent(new Event("repainted"))}))}},ua=window.Vue.renderList,da=window.Vue.Fragment,pa=window.Vue.openBlock,ma=window.Vue.createElementBlock,ha=window.Vue.resolveDynamicComponent,wa=window.Vue.createBlock,fa=v(ca,[["render",function(e,t,n,i,o,a){return pa(),ma("div",{class:"idvl-editor",key:e.editorDataVersion},[(pa(!0),ma(da,null,ua(a.getBlocks,((e,t)=>(pa(),wa(ha(a.elementIdvlEditorBlock),{key:a.blockKey(e,t),block:e},null,8,["block"])))),128))])}]]),ga={name:"IdvlEditorTemplate",components:{IdvlEditor:fa},props:["data"]},va=window.Vue.resolveComponent,ya=window.Vue.openBlock,ba=window.Vue.createBlock,_a=v(ga,[["render",function(e,t,n,i,o,a){const s=va("idvl-editor");return ya(),ba(s,{blocks:n.data.blocks},null,8,["blocks"])}]]),ka=new Pi;function Sa(e,t=500){e&&setTimeout((()=>{let t=document.querySelector(e);t&&t.scrollIntoView({behavior:"instant",block:"start",inline:"nearest"})}),t)}ka.set({IdvlEditorTemplateDefault:_a});class Va{static track(e){if("IOMm"in window&&e.ivw)try{IOMm("pageview",{cp:e.ivw})}catch(t){console.debug("[InfOnline] pv exception:",t.getMessage())}else e.ivw&&console.debug("[InfOnline] not loaded")}}const Ea=new class{#l;#c;updateMarkup(e){this.#l=e,this.#u(),this.#d(),this.#p()}#u(){const e=document.querySelector('link[rel="canonical"]');if(this.#l.canonical)if(e)e.setAttribute("href",this.#l.canonical);else{const e=document.createElement("link");e.rel="canonical",e.href=this.#l.canonical,document.getElementsByTagName("head")[0].appendChild(e)}else e&&e.remove()}#d(){if(!("meta"in this.#l))return;const e=Object.keys(this.#l.meta);e.forEach((e=>{const t=-1===e.indexOf(":")?"name":"property",n=document.querySelectorAll("meta["+t+'="'+e+'"]')[0],i=this.#l.meta[e];if(n)i&&"false"!==i?n.setAttribute("content",i):n.remove();else{const n=document.createElement("meta");n.setAttribute(t,e),n.content=this.#l.meta[e],document.getElementsByTagName("head")[0].appendChild(n)}})),document.querySelectorAll('meta[property^="og:"]').forEach((t=>{e.includes(t.getAttribute("property"))||t.remove()}))}#p(){if("json_ld"in this.#l){if(!this.#c){let e=document.querySelector('script[type="application/ld+json"]');e||(e=document.createElement("script"),e.type="application/ld+json",document.getElementsByTagName("head")[0].appendChild(e)),this.#c=e}this.#c.innerHTML=JSON.stringify(this.#l.json_ld)}}},Aa=e("d",new class{constructor(){this.instance=("0000"+Math.round(1e3*Math.random())).substring(-4),this.enabled=!1,this.payloadQueue=[],this.callbacks=[],window.ReactNativeWebView&&(window.wlBasePassPayload=this.dispatchPayload.bind(this),this.enabled=!0)}init(){this.sendPayload("launch")}sendPayload(e,t=!1){if(!this.enabled)return this.payloadQueue.push(e),void console.debug("[bridge] Queued payload",e);if(this.payloadQueue.length&&!t&&(this.payloadQueue.forEach((e=>
12this.sendPayload(e,!0))),this.payloadQueue=[]),null!==e){console.debug("[bridge] Send payload",e);try{e=JSON.stringify(e),window.ReactNativeWebView.postMessage(e)}catch(n){console.debug("[bridge] Could not send payload",n,e)}}}dispatchPayload(e){return console.debug("[bridge] Got payload",e),this.callbacks.forEach((t=>{const{cb:n,type:i}=t;if(!i.length||i===String(e.type))try{n(Object.assign({instance:this.instance},e))}catch(o){console.debug("[bridge] Could not fire callback",n,this.callbacks)}})),!0}onPayload(e,t=""){"function"==typeof e&&this.callbacks.push({cb:e,type:String(t)})}}),Ca={name:"BaseView",components:ka.get(),data:()=>({lastUri:null,uri:document.location.pathname??null,hash:null,base:document.body.dataset.base,classes:[],title:"",template:null,data:null,debug:null,defaultTemplate:"idvl-editor",firstCall:!0}),computed:{templateComponent:function(){this.template="idvl-editor";let e=this.getTemplateComponentName(this.template);return this.hasTemplate(e)?(this.$store.dispatch("setPageTemplate",e),e):this.hasTemplate(e+"Default")?(this.$store.dispatch("setPageTemplate",e+"Default"),e+"Default"):(this.$store.dispatch("setPageTemplate",null),console.debug("%c[base-view] Template not found","color:white;background:darkred;",e,this.template),this.getTemplateComponentName(this.defaultTemplate,"default"))}},beforeRouteUpdate(e,t,n){n(),this.nav(e.path,e.hash)},beforeUpdate(){this.classes.length>0&&(document.body.className=this.classes.join(" ")),this.maybeAddAppNativeClass()},updated(){this.handleScripts(),this.scrollToAnchor()},methods:{...ui(["resetRenderedImages"]),nav(e,t="",n=!1){this.resetRenderedImages(),this.hash=t,n||e!==this.uri?(n||(this.lastUri=this.uri,this.uri=e),this.$store.dispatch("setLoading",!0),g.dispatch(h),hi.get(e,{headers:{"X-Headless":1}}).then((e=>this.handleResponse(e))).catch((e=>{e.response?this.handleResponse(e.response):console.debug(e)})).finally((()=>{this.$store.dispatch("setLoading",!1),document.title=this.title,this.$nextTick((()=>{if(this.dispatchPageLoadEvent(e,this.title,this.lastUri),window._paq)try{null!==this.lastUri&&window._paq.push(["setReferrerUrl",this.lastUri]),window._paq.push(["setCustomUrl",e]),window._paq.push(["setDocumentTitle",this.title]),window._paq.push(["trackPageView"])}catch(t){}if(window.qy)try{window.qy.tracking.track("fix:view",{identifier:e,type:"web",occurredon:(new Date).toISOString()})}catch(t){}}))}))):this.scrollToAnchor()},reload(){this.nav(this.uri,this.hash,!0)},handleResponse(e){const t=he.filter(Ei,e.data);if(t.redirect&&t.redirect!==this.uri&&this.$router.replace(t.redirect),this.classes=t.classes||[],this.title=t.title||"",this.template=t.template||null,this.data=t.data||null,this.debug=t.debug||null,this.executeTracking(t.data.tracking),t.data.seo&&Ea.updateMarkup(t.data.seo),!this.classes.includes("suppress-cmp"))try{window.cmmsCmpSpawnIfNecessary()}catch(n){}null!==this.template&&this.classes.push(this.template),this.$store.dispatch("setPageData",this.data),this.$store.dispatch("setPageDebugData",this.debug),g.dispatch(w)},handleScripts(){},hasTemplate:e=>ka.has(e),getTemplateComponentName:(e,t="")=>Bi((e||"")+"-template"+t),scrollToAnchor(){this.hash&&this.hash.length&&function(e,t=document.body){if("<"===e.substr(0,1))return document.createElement(e.replace(/[</>]/g,""));const n=Ci(e,t);return n.length>=1?n[0]:null}(this.hash)&&Sa(this.hash,300)},executeTracking(e){Va.track(e)},maybeAddAppNativeClass(){R&&this.$nextTick((()=>{document.body.classList.add("app-native")}))},dispatchPageLoadEvent(e,t,n=null){document.dispatchEvent(new CustomEvent("Page:Load",{cancelable:!0,bubbles:!0,detail:{uri:e,title:t,referer:n}}))}},created(){this.maybeAddAppNativeClass(),this.template=null,this.data=window.soylent_page_data,this.$store.dispatch("setPageData",this.data),this.dispatchPageLoadEvent(this.uri,document.title),Aa.onPayload((e=>{const{eventType:t}=e;"reload"===t&&this.reload()}),"event")}},Ba=window.Vue.resolveDynamicComponent,Ta=window.Vue.openBlock,xa=window.Vue.createBlock,Ia=window.Vue.createElementBlock,Na={class:"content"},Da=v(Ca,[["render",function(e,t,n,i,o,a){return Ta(),Ia("main",Na,[(Ta(),xa(Ba(a.templateComponent),{data:o.data},null,8,["data"]))])}]]),Oa=e("r",function(e){const t=wn(e.routes,e),n=e.parseQuery||Tt,i=e.stringifyQuery||xt,o=e.history,a=Mt(),s=Mt(),r=Mt(),l=Kt(wt);let c=wt;Pe&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ze.bind(null,(e=>""+e)),d=ze.bind(null,at),p=ze.bind(null,st);function m(e,a){if(a=Re({},a||l.value),"string"==typeof e){const i=ct(n,e,a.path),s=t.resolve({path:i.path},a),r=o.createHref(i.fullPath);return Re(i,s,{params:p(s.params),hash:st(i.hash),redirectedFrom:void 0,href:r})}let s;if(null!=e.path)s=Re({},e,{path:ct(n,e.path,a.path).path});else{const t=Re({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Re({},e,{params:d(t)}),a.params=d(a.params)}const r=t.resolve(s,a),c=e.hash||"";r.params=u(p(r.params));const m=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(i,Re({},e,{hash:(h=c,it(h).replace(Xe,"{").replace(tt,"}").replace(Qe,"^")),path:r.path}));var h;const w=o.createHref(m);return Re({fullPath:m,hash:c,query:i===xt?It(e.query):e.query||{}},r,{redirectedFrom:void 0,href:w})}function h(e){return"string"==typeof e?ct(n,e,l.value.path):Re({},e)}function w(e,t){if(c!==e)return Ct(Et.NAVIGATION_CANCELLED,{from:t,to:e})}function f(e){return v(e)}function g(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:i}=n;let o="function"==typeof i?i(e,t):i;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Re({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function v(e,t){const n=c=m(e),o=l.value,a=e.state,s=e.force,r=!0===e.replace,u=g(n,o);if(u)return v(Re(h(u),{state:"object"==typeof u?Re({},a,u.state):a,force:s,replace:r}),t||n);const d=n;let p;return d.redirectedFrom=t,!s&&function(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&dt(t.matched[i],n.matched[o])&&pt(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(i,o,n)&&(p=Ct(Et.NAVIGATION_DUPLICATED,{to:d,from:o}),I(o,o,!0,!1)),(p?Promise.resolve(p):_(d,o)).catch((e=>Bt(e)?Bt(e,Et.NAVIGATION_GUARD_REDIRECT)?e:x(e):T(e,d,o))).then((e=>{if(e){if(Bt(e,Et.NAVIGATION_GUARD_REDIRECT))return v(Re({replace:r},h(e.to),{state:"object"==typeof e.to?Re({},a,e.to.state):a,force:s}),t||d)}else e=S(d,o,!0,r,a);return k(d,o,e),e}))}function y(e,t){const n=w(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=O.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function _(e,t){let n;const[i,o,r]=function(e,t){const n=[],i=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const a=t.matched[s];a&&(e.matched.find((e=>dt(e,a)))?i.push(a):n.push(a));const r=e.matched[s];r&&(t.matched.find((e=>dt(e,r)))||o.push(r))}return[n,i,o]}(e,t);n=zt(i.reverse(),"beforeRouteLeave",e,t);for(const a of i)a.leaveGuards.forEach((i=>{n.push(Rt(i,e,t))}));const l=y.bind(null,e,t);return n.push(l),P(n).then((()=>{n=[];for(const i of a.list())n.push(Rt(i,e,t));return n.push(l),P(n)})).then((()=>{n=zt(o,"beforeRouteUpdate",e,t);for(const i of o)i.updateGuards.forEach((i=>{n.push(Rt(i,e,t))}));return n.push(l),P(n)})).then((()=>{n=[];for(const i of r)if(i.beforeEnter)if($e(i.beforeEnter))for(const o of i.beforeEnter)n.push(Rt(o,e,t));else n.push(Rt(i.beforeEnter,e,t));return n.push(l),P(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=zt(r,"beforeRouteEnter",e,t,b),n.push(l),P(n)))).then((()=>{n=[];for(const i of s.list())n.push(Rt(i,e,t));return n.push(l),P(n)})).catch((e=>Bt(e,Et.NAVIGATION_CANCELLED)?e:Promise.reject(e)))}
12function k(e,t,n){r.list().forEach((i=>b((()=>i(e,t,n)))))}function S(e,t,n,i,a){const s=w(e,t);if(s)return s;const r=t===wt,c=Pe?history.state:{};n&&(i||r?o.replace(e.fullPath,Re({scroll:r&&c&&c.scroll},a)):o.push(e.fullPath,a)),l.value=e,I(e,t,n,r),x()}let V;function E(){V||(V=o.listen(((e,t,n)=>{if(!L.listening)return;const i=m(e),a=g(i,L.currentRoute.value);if(a)return void v(Re(a,{replace:!0,force:!0}),i).catch(je);c=i;const s=l.value;var r,u;Pe&&(r=kt(s.fullPath,n.delta),u=bt(),St.set(r,u)),_(i,s).catch((e=>Bt(e,Et.NAVIGATION_ABORTED|Et.NAVIGATION_CANCELLED)?e:Bt(e,Et.NAVIGATION_GUARD_REDIRECT)?(v(Re(h(e.to),{force:!0}),i).then((e=>{Bt(e,Et.NAVIGATION_ABORTED|Et.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===ft.pop&&o.go(-1,!1)})).catch(je),Promise.reject()):(n.delta&&o.go(-n.delta,!1),T(e,i,s)))).then((e=>{(e=e||S(i,s,!1))&&(n.delta&&!Bt(e,Et.NAVIGATION_CANCELLED)?o.go(-n.delta,!1):n.type===ft.pop&&Bt(e,Et.NAVIGATION_ABORTED|Et.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),k(i,s,e)})).catch(je)})))}let A,C=Mt(),B=Mt();function T(e,t,n){x(e);const i=B.list();return i.length?i.forEach((i=>i(e,t,n))):console.error(e),Promise.reject(e)}function x(e){return A||(A=!e,E(),C.list().forEach((([t,n])=>e?n(e):t())),C.reset()),e}function I(t,n,i,o){const{scrollBehavior:a}=e;if(!Pe||!a)return Promise.resolve();const s=!i&&function(e){const t=St.get(e);return St.delete(e),t}(kt(t.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return Ht().then((()=>a(t,n,s))).then((e=>e&&_t(e))).catch((e=>T(e,t,n)))}const N=e=>o.go(e);let D;const O=new Set,L={currentRoute:l,listening:!0,addRoute:function(e,n){let i,o;return Vt(e)?(i=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,i)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:m,options:e,push:f,replace:function(e){return f(Re(h(e),{replace:!0}))},go:N,back:()=>N(-1),forward:()=>N(1),beforeEach:a.add,beforeResolve:s.add,afterEach:r.add,onError:B.add,isReady:function(){return A&&l.value!==wt?Promise.resolve():new Promise(((e,t)=>{C.add([e,t])}))},install(e){e.component("RouterLink",Vn),e.component("RouterView",Bn),e.config.globalProperties.$router=L,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Jt(l)}),Pe&&!D&&l.value===wt&&(D=!0,f(o.location).catch((e=>{})));const t={};for(const i in wt)Object.defineProperty(t,i,{get:()=>l.value[i],enumerable:!0});e.provide(Ot,L),e.provide(Lt,Yt(t)),e.provide(Pt,l);const n=e.unmount;O.add(e),e.unmount=function(){O.delete(e),O.size<1&&(c=wt,V&&V(),V=null,l.value=wt,D=!1,A=!1),n()}}};function P(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return L}({history:function(e){const t=function(e){const{history:t,location:n}=window,i={value:Xt(e,n)},o={value:t.state};function a(i,a,s){const r=e.indexOf("#"),l=r>-1?(n.host&&document.querySelector("base")?e:e.slice(r))+i:Zt()+e+i;try{t[s?"replaceState":"pushState"](a,"",l),o.value=a}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return o.value||a(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:function(e,n){const s=Re({},o.value,t.state,{forward:e,scroll:bt()});a(s.current,s,!0),a(e,Re({},en(i.value,e,null),{position:s.position+1},n),!1),i.value=e},replace:function(e,n){a(e,Re({},t.state,en(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=e}}}(e=function(e){if(!e)if(Pe){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),lt(e)}(e)),n=function(e,t,n,i){let o=[],a=[],s=null;const r=({state:a})=>{const r=Xt(e,location),l=n.value,c=t.value;let u=0;if(a){if(n.value=r,t.value=a,s&&s===l)return void(s=null);u=c?a.position-c.position:0}else i(r);o.forEach((e=>{e(n.value,l,{delta:u,type:ft.pop,direction:u?u>0?gt.forward:gt.back:gt.unknown})}))};function l(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(Re({},e.state,{scroll:bt()}),"")}}return window.addEventListener("popstate",r),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",r),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(e,t.state,t.location,t.replace),i=Re({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:yt.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}(),linkExactActiveClass:"-active --active",linkActiveClass:"-active --active",routes:[{path:"/:pathMatch(.*)*",component:Da}],scrollBehavior:function(e,t,n){try{clearTimeout(Oa.timeout)}catch(i){}return n?Vi.dispatch("setScrollOffset",n):Vi.dispatch("setScrollOffset",{x:0,y:0}),e.hash?(t.href||(La=e.hash),!1):e.href!==t.href&&new Promise(((e,t)=>{Oa.timeout=setTimeout((()=>{e({left:0,top:n?n.top:0})}),300)}))}}));Oa.beforeEach(((e,t,n)=>{""!==e.hash&&Vi.dispatch("setRenderedFullPage",!0),n()}
12)),Oa.afterEach((e=>{""!==e.hash&&document.getElementById(e.hash.slice(1)).focus()})),Oa.timeout=null;let La=null;function Pa(e,t=2,n="0"){return e.toString().padStart(t,n)}window.onload=function(){null!==La&&Sa(La)};const Ma={appendDurationPrefix:function(e){return e+" Min."},firstNLetters:function(e,t){return e.substring(0,t)},everythingExceptFirstNLetters:function(e,t){return e.substring(t)},padLeft:function(e,t=2,n="0"){return Pa(e,t,n)},date:{dayMonth:function(e){return Pa(e.d)+". "+e.m_txt}},germanDayMonth:function(e){const t=new Date(e);return t.getDate()+". "+t.toLocaleString("de-DE",{month:"long"})},germanDateFull:function(e){const t=new Date(e);return t.getDate()+". "+t.toLocaleString("de-DE",{month:"short",year:"numeric"})},formatDateShort:function(e){const t=new Date(e);return t.getDate().toString().padStart(2,"0")+"."+(t.getMonth()+1).toString().padStart(2,"0")+"."+t.getFullYear()},hourMinute:function(e){const t=new Date(e);return t.getHours().toString().padStart(2,"0")+":"+t.getMinutes().toString().padStart(2,"0")},cutTimeFromDate:function(e){return`${new Date(e).toLocaleDateString("de-DE",{day:"numeric",month:"short",year:"numeric"})}`}};function Ra(e){if(void 0===e||!e)return"";const t=Ks.config.globalProperties.$baseUrl.replace(":8080","");return 0===e.indexOf(t)?e.substr(t.length):e}const za="SET_AUTH_DATA",ja="SET_REDIRECT_PATH",$a={[za]:(e,t)=>(e.auth=t.auth,e.loginUrl=t.login_url,e.registerUrl=t.register_url,e.logoutUrl=t.logout_url,e.userData=t.data),[j
12a]:(e,t)=>e.redirectPath=t},Ua={state:{auth:!1,loginUrl:"",registerUrl:"",logoutUrl:"",redirectPath:"",userData:null},namespaced:!0,mutations:$a,getters:{auth:e=>e.auth,loginUrl:e=>e.loginUrl,registerUrl:e=>e.registerUrl,logoutUrl:e=>e.logoutUrl,redirectPath:e=>e.redirectPath,userData:e=>e.userData,userName:e=>null!==e.userData&&"username"in e.userData?e.userData.username:"",userMail:e=>null!==e.userData&&"email"in e.userData?e.userData.email:"",userNameReadable:e=>null!==e.userData&&"name"in e.userData?e.userData.name:""},actions:{setAuthData:function({commit:e},t){return e(za,t)},setRedirectPath:function({commit:e},t){return e(ja,t)}}};class Fa{#m={};set(e){"object"==typeof e?Object.assign(this.#m,e):console.error("[soylent:serviceProvider] set failed, you did not pass a collection",e)}has(e){return Object.keys(this.#m).indexOf(e)>=0}get(){return this.#m}getByName(e){return this.has(e)?this.#m[e]:null}}function Ha(){return"__soylent"in window||(window.__soylent={}),"serviceProvider"in window.__soylent||(window.__soylent.serviceProvider=new Fa),window.__soylent.serviceProvider}class Ga{#h;init(e){this.#h=e,this.#h.registerModule("sso",Ua),he.on(Ai,((e,t)=>"auth"===t?this.#h.state.sso.auth:"no_auth"===t?!this.#h.state.sso.auth:e),{priority:1}),this.getAuthData()}getAuthData(){To.get("/cmms-api/v3/sso/profile/status").then((e=>{this.#h.dispatch("sso/setAuthData",e)})).catch((e=>{console.error("[auth]",e)}))}getLoginUrl(e){const t=Ft(Lt);return e||(e=this.#h.getters["sso/loginUrl"]),null!=e?e=t&&"path"in t?`${e}?redirect=${encodeURI(t.path)}`:`${e}?redirect=${encodeURI(window.location.pathname)}`:console.error("[auth] Login url undefined"),e}}function Wa(){return Ha().has("SSOService")||Ha().set({SSOService:new Ga}),Ha().getByName("SSOService")} 13/*! 14 * tabbable 6.5.0 15 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 16 */var qa=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Ya=qa.join(","),Ka="undefined"==typeof Element,Ja=Ka?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qa=!Ka&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Za=function(e,t){var n;void 0===t&&(t=!0);var i=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===i||"true"===i||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):Za(e.parentNode))},Xa=function(e,t,n){if(Za(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(Ya));return t&&Ja.call(e,Ya)&&i.unshift(e),i=i.filter(n)},es=function(e,t,n){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!Za(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),r=s.length?s:a.children,l=es(r,!0,n);n.flatten?i.push.apply(i,l):i.push({scopeParent:a,candidates:l})}else{Ja.call(a,Ya)&&n.filter(a)&&(t||!e.includes(a))&&i.push(a);var c=a.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(a),u=!Za(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&u){var d=es(!0===c?a.children:c.children,!0,n);n.flatten?i.push.apply(i,d):i.push({scopeParent:a,candidates:d})}else o.unshift.apply(o,a.children)}}return i},ts=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ns=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!ts(e)?0:e.tabIndex},is=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},os=function(e){return"INPUT"===e.tagName},as=function(e){return function(e){return os(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Qa(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}
vendor: 4,216 bytes, lines 16-21
16,ss=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},rs=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var o=getComputedStyle(e).visibility;if("hidden"===o||"collapse"===o)return!0;var a=Ja.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Ja.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ss(e)}else{if("function"==typeof i){for(var s=e;e;){var r=e.parentElement,l=Qa(e);if(r&&!r.shadowRoot&&!0===i(r))return ss(e);e=e.assignedSlot?e.assignedSlot:r||l===e.ownerDocument?r:l.host}e=s}if(function(e){var t,n,i,o,a=e&&Qa(e),s=null===(t=a)||void 0===t?void 0:t.host,r=!1;if(a&&a!==e)for(r=!!(null!==(n=s)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(s)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!r&&s;){var l,c,u;r=!(null===(c=s=null===(l=a=Qa(s))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(s))}return r}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},ls=function(e,t){return!(t.disabled||function(e){return os(e)&&"hidden"===e.type}(t)||rs(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!Ja.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},cs=function(e,t){return!(as(t)||ns(t)<0||!ls(e,t))},us=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ds=function(e){var t=[],n=[];return e.forEach((function(e,i){var o=!!e.scopeParent,a=o?e.scopeParent:e,s=function(e,t){var n=ns(e);return n<0&&t&&!ts(e)?0:n}(a,o),r=o?ds(e.candidates):a;0===s?o?t.push.apply(t,r):t.push(a):n.push({documentOrder:i,tabIndex:s,item:e,isScope:o,content:r})})),n.sort(is).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(t)},ps=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Ja.call(e,Ya)&&cs(t,e)},ms=qa.concat("iframe:not([inert]):not([inert] *)").join(","),hs=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Ja.call(e,ms)&&ls(t,e)}; 17/*! 18 * focus-trap 8.2.2 19 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 20 */ 21function ws(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function fs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_s(e))||t){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,r=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){r=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(r)throw a}}}}function gs(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 11,129 bytes, line 21
21t%2?vs(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bs(e){return function(e){if(Array.isArray(e))return ws(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _s(e,t){if(e){if("string"==typeof e)return ws(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ws(e,t):void 0}}var ks={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==ks.getActiveTrap(e)&&ks.pauseTrap(e);var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),ks.unpauseTrap(e)},pauseTrap:function(e){var t=ks.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=ks.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Ss=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Vs=function(e){return Ss(e)&&!e.shiftKey},Es=function(e){return Ss(e)&&e.shiftKey},As=function(e){return setTimeout(e,0)},Cs=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},Bs=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ts=[],xs=function(e,t){var n,i=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||Ts,a=ys({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Vs,isKeyBackward:Es},t),s={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},r=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return s.containerGroups.findIndex((function(t){var i=t.container,o=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||o.find((function(t){return t===e}))}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,o=void 0!==n&&n,s=t.params,r=void 0===s?[]:s,l=a[e];if("function"==typeof l&&(l=l.apply(void 0,bs(r))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"==typeof l){try{c=i.querySelector(l)}catch(u){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))}if(!c&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},u=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?u(t.shadowRoot):t:null},d=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!hs(e,a.tabbableOptions)){var t=u(i);if(l(t)>=0)e=t;else{var n=s.tabbableGroups[0];e=n&&n.firstTabbableNode||c("fallbackFocus")}}else null===e&&(e=c("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},p=function(){if(s.containerGroups=s.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?es([e],t.includeContainer,{filter:cs.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:us}):Xa(e,t.includeContainer,cs.bind(null,t)),ds(n)}(e,a.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?es([e],t.includeContainer,{filter:ls.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Xa(e,t.includeContainer,ls.bind(null,t))}(e,a.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return ps(e)})),r=n.slice().reverse().find((function(e){return ps(e)})),l=!!t.find((function(e){return ns(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:s,lastDomTabbableNode:r,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return ps(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return ps(e)})):t[o+(i?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find((function(e){return e.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function(e){!1!==e&&e!==u(document)&&(e&&e.focus?(e.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):m(d()))},h=function(e){var t=c("setReturnFocus",{params:[e]});return t||!1!==t&&e},w=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||Bs(n),p();var r=null;if(s.tabbableGroups.length>0){var u=l(t,n),d=u>=0?s.containerGroups[u]:void 0;if(u<0)r=o?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(o){var m=s.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode;return t===n}));if(m<0&&(d.container===t||hs(t,a.tabbableOptions)&&!ps(t,a.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(m=u),m>=0){var h=0===m?s.tabbableGroups.length-1:m-1,w=s.tabbableGroups[h];r=ns(t)>=0?w.lastTabbableNode:w.lastDomTabbableNode}else Ss(n)||(r=d.nextTabbableNode(t,!1))}else{var f=s.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode;return t===n}));if(f<0&&(d.container===t||hs(t,a.tabbableOptions)&&!ps(t,a.tabbableOptions)&&!d.nextTabbableNode(t))&&(f=u),f>=0){var g=f===s.tabbableGroups.length-1?0:f+1,v=s.tabbableGroups[g];r=ns(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else Ss(n)||(r=d.nextTabbableNode(t))}}else r=c("fallbackFocus");return r},f=function(e){var t=Bs(e);l(t,e)>=0||(Cs(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate}):Cs(a.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=Bs(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(s.mostRecentlyFocusedNode)if(ns(s.mostRecentlyFocusedNode)>0){var r=l(s.mostRecentlyFocusedNode),c=s.containerGroups[r].tabbableNodes;if(c.length>0){var u=c.findIndex((function(e){return e===s.mostRecentlyFocusedNode}));u>=0&&(a.isKeyForward(s.recentNavEvent)?u+1<c.length&&(i=c[u+1],o=!1):u-1>=0&&(i=c[u-1],o=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return ns(e)>0}))}))||(o=!1);else o=!1;o&&(i=w({target:s.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(s.recentNavEvent)})),m(i||s.mostRecentlyFocusedNode||d())}s.recentNavEvent=void 0},v=function(e){(a.isKeyForward(e)||a.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=e;var n=w({event:e,isBackward:t});n&&(Ss(e)&&e.preventDefault(),m(n))}(e,a.isKeyBackward(e))},y=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Cs(a.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},b=function(e){var t=Bs(e);l(t,e)>=0||Cs(a.clickOutsideDeactivates,e)||Cs(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},_=function(){var e;if(s.active)return ks.activateTrap(o,n),a.delayInitialFocus?e=new Promise((function(e){s.delayInitialFocusTimer=As((function(){m(d()),e()}))})):m(d()),i.addEventListener("focusin",g,!0),i.addEventListener("mousedown",f,{capture:!0,passive:!1}),i.addEventListener("touchstart",f,{capture:!0,passive:!1}),i.addEventListener("click",b,{capture:!0,passive:!1}),i.addEventListener("keydown",v,{capture:!0,passive:!1}),i.addEventListener("keydown",y),e},k=function(){if(s.active)return i.removeEventListener("focusin",g,!0),i.removeEventListener("mousedown",f,!0),i.removeEventListener("touchstart",f,!0),i.removeEventListener("click",b,!0),i.removeEventListener("keydown",v,!0),i.removeEventListener("keydown",y),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=s.mostRecentlyFocusedNode;if(t&&e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===t||"function"==typeof e.contains&&e.contains(t)}))}))&&s.containers.some((function(e){return null==e?void 0:e.isConnected}))){p();var n=d();m(n)}})):void 0,V=function(){S&&(S.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t,a=r(e,"onActivate"),l=r(e,"onPostActivate"),c=r(e,"checkCanFocusTrap"),d=ks.getActiveTrap(o),m=!1;d&&!d.paused&&(null===(t=d._setSubtreeIsolation)||void 0===t||t.call(d,!1),m=!0);try{c||p(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=u(i),null==a||a({trap:n});var h=function(){c&&p();var e=function(){n._setSubtreeIsolation(!0),V(),null==l||l({trap:n})},t=_();t?t.then(e):e()};if(c)return c(s.containers.concat()).then(h,h),this;h()}catch(f){var w;throw d===ks.getActiveTrap(o)&&m&&(null===(w=d._setSubtreeIsolation)||void 0===w||w.call(d,!0)),f}return this},deactivate:function(e){if(!s.active)return this;var t=ys({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,s.paused||n._setSubtreeIsolation(!1),s.alreadySilent.clear(),k(),s.active=!1,s.paused=!1,V(),ks.deactivateTrap(o,n);var i=r(t,"onDeactivate"),l=r(t,"onPostDeactivate"),c=r(t,"checkCanReturnFocus"),u=r(t,"delayReturnFocus"),d=r(t,"returnFocus","returnFocusOnDeactivate");null==i||i({trap:n});var p=function(){d&&m(h(s.nodeFocusedBeforeActivation)),null==l||l({trap:n})},w=function(){u&&d?As(p):p()};return d&&c?(c(h(s.nodeFocusedBeforeActivation)).then(w,w),this):(w(),this)},pause:function(e){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return s.active?(s.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this}
21,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),a.isolateSubtrees&&function(e){s.active&&!s.paused&&n._setSubtreeIsolation(!1),s.adjacentElements.clear(),s.alreadySilent.clear();var t,i=new Set,o=new Set,a=fs(e);try{for(a.s();!(t=a.n()).done;){var r=t.value;i.add(r);for(var l="undefined"!=typeof ShadowRoot&&r.getRootNode()instanceof ShadowRoot,c=r;c;){i.add(c);var u=c.parentElement,d=[];u?d=u.children:!u&&l&&(d=c.getRootNode().children,u=c.getRootNode().host,l="undefined"!=typeof ShadowRoot&&u.getRootNode()instanceof ShadowRoot);var p,m=fs(d);try{for(m.s();!(p=m.n()).done;){var h=p.value;o.add(h)}}catch(w){m.e(w)}finally{m.f()}c=u}}}catch(w){a.e(w)}finally{a.f()}i.forEach((function(e){o.delete(e)})),s.adjacentElements=o}(s.containers),s.active&&(p(),s.paused||n._setSubtreeIsolation(!0)),V(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(e,t){if(s.paused===e)return this;if(s.paused=e,e){var i=r(t,"onPause"),o=r(t,"onPostPause");null==i||i({trap:n}),k(),n._setSubtreeIsolation(!1),V(),null==o||o({trap:n})}else{var a=r(t,"onUnpause"),l=r(t,"onPostUnpause");null==a||a({trap:n}),function(){p();var e=function(){n._setSubtreeIsolation(!0),V(),null==l||l({trap:n})},t=_();t?t.then(e):e()}()}return this}},_setSubtreeIsolation:{value:function(e){a.isolateSubtrees&&s.adjacentElements.forEach((function(t){var n;e?"aria-hidden"===a.isolateSubtrees?("true"!==t.ariaHidden&&"true"!==(null===(n=t.getAttribute("aria-hidden"))||void 0===n?void 0:n.toLowerCase())||s.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&s.alreadySilent.add(t),t.setAttribute("inert",!0)):s.alreadySilent.has(t)||("aria-hidden"===a.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))}))}}}),n.updateContainerElements(e),n};let Is;const Ns=(e,t)=>{t.value||void 0===t.value?((e=>{Is=xs(e,{escapeDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,fallbackFocus:document.body})})(t.arg?[e,...t.arg]:e),setTimeout((()=>{Is.activate()}),100),console.debug("[focus-trap] activated")):Is&&Is.active&&(Is.deactivate(),console.debug("[focus-trap] deactivated"))},Ds={mounted(e,t){Ns(e,t)},updated(e,t){Ns(e,t)},unmounted(e,t){Is&&Is.active&&(Is.deactivate(),console.debug("[focus-trap] deactivated"))}},Os=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ls(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Ps(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>
21n.indexOf(e)<0)).forEach((n=>{void 0===e[n]?e[n]=t[n]:Ls(t[n])&&Ls(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Ps(e[n],t[n]):e[n]=t[n]}))}function Ms(e=""){const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function Rs(e=""){return e.replace(/-[a-z]/g,(e=>e.toUpperCase().replace("-","")))}const zs=e=>parseFloat(e)===Number(e)?Number(e):"true"===e||""===e||"false"!==e&&("null"===e?null:"undefined"!==e?e:void 0),js=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function $s(e,t,i){const o={},a={};Ps(o,n);const s=[...Os,"on"],r=s.map((e=>e.replace(/_/,"")));s.forEach((t=>{t=t.replace("_",""),void 0!==e[t]&&(a[t]=e[t])}));const l=[...e.attributes];return"string"==typeof t&&void 0!==i&&l.push({name:t,value:i}),l.forEach((e=>{const t=js.filter((t=>0===e.name.indexOf(`${t}-`)))[0];if(t){const n=Rs(t),i=Rs(e.name.split(`${t}-`)[1]);void 0===a[n]&&(a[n]={}),!0===a[n]&&(a[n]={enabled:!0}),a[n][i]=zs(e.value)}else{const t=Rs(e.name);if(!r.includes(t))return;const n=zs(e.value);a[t]&&js.includes(e.name)?(a[t].constructor!==Object&&(a[t]={}),a[t].enabled=n):a[t]=n}})),Ps(o,a),o.navigation?o.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==o.navigation?o.navigation:{}}:!1===o.navigation&&delete o.navigation,o.scrollbar?o.scrollbar={el:".swiper-scrollbar",...!0!==o.scrollbar?o.scrollbar:{}}:!1===o.scrollbar&&delete o.scrollbar,o.pagination?o.pagination={el:".swiper-pagination",...!0!==o.pagination?o.pagination:{}}:!1===o.pagination&&delete o.pagination,{params:o,passedParams:a}}const Us="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}";let Fs=!0;const Hs=(e,t)=>{let n=document.querySelector("style#swiper-element-styles");const i=n&&n.preInit&&!e;
21!e&&t&&t.cssLinks().forEach((e=>{const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.prepend(t)})),n&&!i||(n=n||document.createElement("style"),n.textContent=[Us,t?t.cssStyles():""].join("\n"),n.id="swiper-element-styles",n.preInit=e,document.head.prepend(n))},Gs="undefined"==typeof window||"undefined"==typeof HTMLElement?class{}:HTMLElement;class Ws extends Gs{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[Fs?":root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}:host(.swiper-vertical)>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight swiper-slide{height:auto}:host(.swiper-autoheight) .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}:host(.swiper-3d.swiper-css-mode) .swiper-wrapper{perspective:1200px}:host(.swiper-3d) .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d swiper-slide{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}:host(.swiper-css-mode)>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}:host(.swiper-css-mode)>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>swiper-slide{scroll-snap-align:start start}:host(.swiper-horizontal.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:x mandatory}:host(.swiper-vertical.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:y mandatory}:host(.swiper-css-mode.swiper-free-mode)>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>swiper-slide{scroll-snap-align:none}:host(.swiper-centered)>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-horizontal)>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-vertical)>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}":"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}
21render(){if(this.rendered)return;Fs&&Hs(!1,this);const e=this.cssStyles();e.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=e,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach((e=>{if(this.shadowEl.querySelector(`link[href="${e}"]`))return;const t=document.createElement("link");t.rel="stylesheet",t.href=e,this.shadowEl.appendChild(t)})),this.tempDiv.innerHTML=`\n <slot name="container-start"></slot>\n <div class="swiper-wrapper">\n <slot></slot>\n </div>\n <slot name="container-end"></slot>\n ${function(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}(this.passedParams)?'\n <div part="button-prev" class="swiper-button-prev"></div>\n <div part="button-next" class="swiper-button-next"></div>\n ':""}\n ${function(e={}){return e.pagination&&void 0===e.pagination.el}(this.passedParams)?'\n <div part="pagination" class="swiper-pagination"></div>\n ':""}\n ${function(e={}){return e.scrollbar&&void 0===e.scrollbar.el}(this.passedParams)?'\n <div part="scrollbar" class="swiper-scrollbar"></div>\n ':""}\n `,[...this.tempDiv.children].forEach((e=>{this.shadowEl.appendChild(e)})),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:e,passedParams:t}=$s(this);this.swiperParams=e,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new i(this,{...e,touchEventsTarget:"container",...e.virtual?{}:{observer:!0},onAny:(t,...n)=>{const i=e.eventsPrefix?`${e.eventsPrefix}${t.toLowerCase()}`:t.toLowerCase(),o=new CustomEvent(i,{detail:n,bubbles:!0,cancelable:!0});this.dispatchEvent(o)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(!1!==this.init&&"false"!==this.getAttribute("init")?this.initialize():Hs(!0,this))}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(e,t){const{params:n,passedParams:i}=$s(this,e,t);this.passedParams=i,this.swiperParams=n,function({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:r}){const l=i.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:c,pagination:u,navigation:d,scrollbar:p,virtual:m,thumbs:h}=e;let w,f,g,v,y,b,_,k;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(w=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(f=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(c.pagination||!1===c.pagination)&&u&&!u.el&&(g=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||!1===c.scrollbar)&&p&&!p.el&&(v=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(c.navigation||!1===c.navigation)&&d&&!d.prevEl&&!d.nextEl&&(y=!0);const S=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),c[t].prevEl=void 0,c[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),c[t].el=void 0,e[t].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!n.loop?b=!0:!c.loop&&n.loop?_=!0:k=!0),l.forEach((e=>{if(Ls(c[e])&&Ls(n[e]))Ps(c[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||S(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=n[e]:!1===t&&S(e)}})),l.includes("controller")&&!f&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&t&&m&&c.virtual.enabled&&(m.slides=t,m.update(!0)),i.includes("children")&&t&&c.loop&&(k=!0),w&&h.init()&&h.update(!0),f&&(e.controller.control=c.controller.control),g&&(!e.isElement||r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-pagination"),e.el.shadowEl.appendChild(r)),r&&(c.pagination.el=r),u.init(
21),u.render(),u.update()),v&&(!e.isElement||s&&"string"!=typeof s||((s=document.createElement("div")).classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(s)),s&&(c.scrollbar.el=s),p.init(),p.updateSize(),p.setTranslate()),y&&(e.isElement&&(o&&"string"!=typeof o||((o=document.createElement("div")).classList.add("swiper-button-next"),e.el.shadowEl.appendChild(o)),a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(a))),o&&(c.navigation.nextEl=o),a&&(c.navigation.prevEl=a),d.init(),d.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(b||k)&&e.loopDestroy(),(_||k)&&e.loopCreate(),e.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Rs(e)],..."navigation"===e&&i[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===e&&i[e]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===e&&i[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,t,n){this.initialized&&("true"===t&&null===n&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return Os.filter((e=>e.includes("_"))).map((e=>e.replace(/[A-Z]/g,(e=>`-${e}`)).replace("_","").toLowerCase()))}}
21Os.forEach((e=>{"init"!==e&&(e=e.replace("_",""),Object.defineProperty(Ws.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.initialized&&this.updateSwiperOnPropChange(e)}}))}));let qs=class extends Gs{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const e=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(this.tempDiv.innerHTML="<slot />",[...this.tempDiv.children].forEach((e=>{this.shadowEl.appendChild(e)})),e){const e=document.createElement("div");e.classList.add("swiper-lazy-preloader"),this.appendChild(e)}}initialize(){this.render()}connectedCallback(){this.initialize()}};"undefined"!=typeof window&&(window.SwiperElementRegisterParams=e=>{Os.push(...e)});const Ys=window.Vue.createApp;window.Vue.inject,window.Vue.provide,((e=!0)=>{"undefined"!=typeof window&&(e||(Fs=!1),Fs&&Hs(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Ws),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",qs))})(),hi.defaults.headers={"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"};const Ks=Ys(Ce);Ks.config.performance=!0,Ks.config.globalProperties.$baseUrl=window.cmms_base||"/",document.location.href.indexOf(":8080")>=0&&(Ks.config.globalProperties.$baseUrl=Ks.config.globalProperties.$baseUrl.replace(/^(https?:\/\/)([^/]*)\/?(.*)\/?$/,"$1$2:8080/$3")),Ks.config.globalProperties.$production_mode=!0,Ks.config.globalProperties.$appMode="soylent_settings"in window&&window.soylent_settings.app_mode||!1,Ks.config.globalProperties.$routerLink=Ra,Ks.config.globalProperties.$translate=(...e)=>window.__(...e),Ks.config.globalProperties.$translateN=(...e)=>window._n(...e),R&&document.body.classList.add("app-native"),Ks.config.globalProperties.$filters=Ma,Ks.use(Vi),Ks.use(Oa),Ks.directive("focustrap",Ds);const Js="soylent_features"in window?window.soylent_features:{};Object.entries(Js).forEach((e=>{!0===e[1]&&j().add(e[0])})),window.isDynamicRenderer=navigator.userAgent.includes("WeLocalDynamicRenderer");const Qs="SET_API_BASE",Zs="SET_BOOKMARKS",Xs={[Qs](e,t){e.apiBase=t},[Zs](e,t){e.bookmarks=t},ADD_BOOKMARK(e,{id:t,postType:n}){},REMOVE_BOOKMARK(e,{id:t,postType:n}){}},er={isBookmarked:e=>t=>!!(e&&t&&e.bookmarks)&&(!("type"in t)&&"postType"in t&&(t.type=t.postType),!("id"in t)&&"postId"in t&&(t.id=t.postId),t.type in e.bookmarks&&Object.values(e.bookmarks[t.type]).includes(t.id)),bookmarksAmount:e=>{},bookmarksAmountWithoutTerms:e=>{},allBookmarks:e=>e.bookmarks,bookmarkCount:e=>e.bookmarks?Object.values(e.bookmarks).reduce(((e,t)=>e+Object.keys(t).length),0):0,bookmarkedPostsAndMedia:e=>{},bookmarkedPosts:e=>{},bookmarkedTopics:e=>{}},tr={setApiBase:({commit:e,state:t},n)=>e(Qs,n),addBookmark({state:e,dispatch:t},n){n.url=e.apiBase+"profile/bookmarks/add/",t("toggleBookmark",n)},removeBookmark({state:e,dispatch:t},n){n.url=e.apiBase+"profile/bookmarks/delete/",t("toggleBookmark",n)},toggleBookmark({commit:e,state:t,dispatch:n,actions:i},o){!("type"in o)&&"postType"in o&&(o.type=o.postType),!("id"in o)&&"postId"in o&&(o.id=o.postId);const a={id:o.id,post_type:o.postType};return hi.post(o.url,a).then((e=>{"skipFetch"in o&&!0===o.skipFetch||n("fetchBookmarks")}))},async fetchBookmarks({commit:e,state:t,dispatch:n}){const i=t.apiBase+"profile/bookmarks/get/";return hi.get(i).then((e=>{n("setPosts",e.data.bookmarks)}))},setPosts:({commit:e,state:t},n)=>e(Zs,n),async fetchBookmarkedPosts({getters:e,state:t},n=!1){let i=[];for(const[o,a]of Object.entries(e.allBookmarks))for(const[e,t]of Object.entries(a))i.push(t);return new Promise((async(e,t)=>{await hi.post("/cmms-api-v2/soylent/post_data/get/",{post_ids:JSON.stringify(i)}).then((t=>{"posts"in t.data&&e(t.data.posts),e(!1)}))}))},resetBookmarks({commit:e,state:t,dispatch:n}){n("setPosts",null)}};class nr{#w="";constructor(e=""){e.length?this.#w=e+".":console.info("[Soylent:PersistentStorage] %cWarning: Using without a key prefix","color: darkorange")}getAll(){let e={};return Object.keys(window.localStorage).forEach((t=>{const n=new RegExp(`^${this.#w.replace(/\./g,".")}(.+)$`,"i"),i=t.match(n);i&&(e[i[1]]=this.get(i[1]))})),e}get(e,t){const n=window.localStorage.getItem(this.#f(e));if(null===n)return t;try{return JSON.parse(n)}catch(i){return n}}set(e,t){window.localStorage.setItem(this.#f(e),JSON.stringify(t))}delete(e){window.localStorage.removeItem(this.#f(e))}#f(e){return`${this.#w}${e}`}}new nr("soylent.bookmarks");const ir={state:{bookmarks:null,apiBase:""},namespaced:!0,strict:!0,actions:tr,mutations:Xs,getters:er};class or{static activateBookmarks(e=""){const t={BookmarksOnlineStore:ir};Object.keys(t).forEach((e=>{Vi.registerModule(e,t[e])})),Vi.dispatch("BookmarksOnlineStore/setApiBase",e),Vi.dispatch("BookmarksOnlineStore/fetchBookmarks")}}
21const ar={name:"SoylentHeadline",props:["element"],computed:{headlineInner:function(){let e="";return this.element.data.icon&&(e+=`<span class="iconSet">${this.element.data.icon}</span> `),e+=this.element.data.text,e},headlineTag(){return this.element&&this.element.data.tag?this.element.data.tag:"h2"}}},sr=window.Vue.resolveDynamicComponent,rr=window.Vue.openBlock,lr=window.Vue.createBlock,cr=window.Vue.normalizeClass,ur=window.Vue.createElementBlock,dr=v(ar,[["render",function(e,t,n,i,o,a){return rr(),ur("div",{class:cr(["element",n.element.type,n.element.subtype])},[(rr(),lr(sr(a.headlineTag),{innerHTML:a.headlineInner},null,8,["innerHTML"]))],2)}]]);class pr{constructor(e,t,n){const i=e.href||"",o=e.target||"_self";"string"!=typeof i||!i.length||"string"==typeof o&&"_blank"===o||i.indexOf(":")>0&&i.substr(0,t.length)!==t&&["http","https","mailto","tel"].indexOf(i.substr(0,i.indexOf(":")))>=0||e.addEventListener("click",(i=>{i.preventDefault();const o=e.href.substr(t.length);n.push(o).then((()=>{})).catch((()=>{}))}),{passive:!1})}}e("l",pr);const mr={name:"SoylentHtml",extends:ro,mounted(){this.$refs.element.querySelectorAll("video.video-js").forEach((e=>{new CMMSPlayer(e)})),this.$refs.element.querySelectorAll("a").forEach((e=>{new pr(e,this.$baseUrl,this.$router)}))}},hr=window.Vue.normalizeClass,wr=window.Vue.openBlock,fr=window.Vue.createElementBlock,gr=["innerHTML"],vr=v(mr,[["render",function(e,t,n,i,o,a){return wr(),fr("div",{ref:"element",class:hr(["element",e.element.type,e.element.subtype]),innerHTML:e.element.data.text||""},null,10,gr)}]]),yr={name:"CroppedText",props:{tag:{type:String,default:"div"},text:{type:String,default:""},lines:{type:[Number,String],default:-1},ellipsis:{type:String,default:"â¦"},hasMinHeight:{type:Boolean,default:!0}},data:function(){return{blocks:-1,maxHeight:1/0,croppedText:"",fineTuned:!1,timer:null,boundResizeHandler:null}},computed:{textArray:function(){return this.$props.text.trim().split(" ")},maxLines:function(){return parseInt(this.$props.lines,10)||-1}},methods:{updateHeight:function(){let e=1/0;this.getLineHeight()>0&&this.maxLines>0&&(e=this.getLineHeight()*this.maxLines),this.maxHeight=e,this.hasMinHeight&&(this.$refs.el.style.minHeight=this.maxHeight+"px"),this.blocks=0,this.fineTuned=!1,this.style={},this.redrawText()},getHeight:function(){return Math.floor(this.$refs.el.getBoundingClientRect().height)},getLineHeight:function(){let e=0;try{e=parseFloat(document.defaultView.getComputedStyle(this.$refs.el,null).getPropertyValue("line-height"),10)||0}catch(t){console.log("error",t)}return e},isVisible:function(){let e="";try{e=document.defaultView.getComputedStyle(this.$refs.el,null).getPropertyValue("display")}catch(t){}return"none"!==e},redrawText:function(){this.isVisible()&&this.textArray.length&&(this.croppedText=this.textArray.slice(0,this.blocks).join(" ")+" ",this.croppedText.length<this.text.length&&this.croppedText.length>1&&(this.croppedText+=this.$props.ellipsis))},onResize:function(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.updateHeight()}),150)}},updated(){!this.fineTuned&&this.getHeight()<=this.maxHeight&&this.blocks<this.textArray.length?(this.blocks++,this.redrawText()):this.getHeight()>this.maxHeight&&this.blocks>0?(this.fineTuned=!0,this.blocks--,this.redrawText()):this.fineTuned=!0},mounted(){this.boundResizeHandler=this.onResize.bind(this),window.addEventListener("resize",this.boundResizeHandler,{passive:!0}),this.updateHeight()},beforeUnmount(){this.timer&&clearTimeout(this.timer),window.removeEventListener("resize",this.boundResizeHandler)}},br=window.Vue.toDisplayString,_r=window.Vue.createTextVNode,kr=window.Vue.resolveDynamicComponent,Sr=window.Vue.withCtx,Vr=window.Vue.openBlock,Er=window.Vue.createBlock,Ar=e("j",v(yr,[["render",function(e,t,n,i,o,a){return Vr(),Er(kr(e.$props.tag),{ref:"el",style:{overflow:"hidden"}},{default:Sr((()=>[_r(br(e.croppedText),1)])),_:1},512)}]])),Cr={name:"CmmsThumbnail",components:{CmmsResponsiveImage:Yo},props:{image:{type:Object,required:!0},maxHeight:{type:Number,default:0},fill:{type:Boolean,default:!1},zoom:{type:Boolean,default:!1}},computed:{figureStyle:function(){return 0<this.maxHeight?`max-height: ${this.maxHeight}px;`:""}}}
21,Br=window.Vue.resolveComponent,Tr=window.Vue.createVNode,xr=window.Vue.normalizeClass,Ir=window.Vue.createElementVNode,Nr=window.Vue.openBlock,Dr=window.Vue.createElementBlock,Or=window.Vue.createCommentVNode,Lr=window.Vue.normalizeStyle,Pr=["innerHTML"],Mr=e("o",v(Cr,[["render",function(e,t,n,i,o,a){const s=Br("CmmsResponsiveImage");return Nr(),Dr("figure",{style:Lr(a.figureStyle)},[Ir("picture",{class:xr([n.zoom?"-zoom":""])},[Tr(s,{fill:n.fill,image:n.image,"max-height":n.maxHeight,zoom:n.zoom},null,8,["fill","image","max-height","zoom"])],2),n.image.copyright?(Nr(),Dr("figcaption",{key:0,innerHTML:n.image.copyright},null,8,Pr)):Or("",!0)],4)}]])),Rr={name:"CmmsPlayer",data:function(){return{playerReference:null,wrapperStyle:"background:black;"}},props:["element"],computed:{hasMediaData(){return!!this.element.data.media_data},containerClass(){let e="videojs-player-container";return this.player.config&&this.player.config.playlist&&(e+=" -with-playlist"),e},playerHtml(){if(!this.hasMediaData)return!1;let e="";return this.player&&this.player.html&&(e=this.player.html),e},player(){let e=null;return this.element.data.media_data.model.player&&(e=this.element.data.media_data.model.player),e},mediaObject(){return this.element.data.media_data}},methods:{initCMMSPlayer:function(){window.CMMSPlayer&&(this.playerReference=new window.CMMSPlayer(document.getElementById(this.player.id)))},initPlayer:function(){this.$nextTick((()=>{this.playerHtml.length&&this.initCMMSPlayer()}))},videoEnded:function(){this.$emit("ended")}},mounted(){this.initPlayer()},beforeUnmount(){if(this.playerReference)try{this.playerReference.destroy()}catch(e){}}},zr=window.Vue.normalizeClass,jr=window.Vue.normalizeStyle,$r=window.Vue.openBlock,Ur=window.Vue.createElementBlock,Fr=window.Vue.createCommentVNode,Hr=["innerHTML"],Gr=e("p",v(Rr,[["render",function(e,t,n,i,o,a){return a.playerHtml?($r(),Ur("div",{key:0,class:zr(a.containerClass),ref:"playerContainer",style:jr(e.wrapperStyle),innerHTML:a.playerHtml,onEnded:t[0]||(t[0]=(...e)=>a.videoEnded&&a.videoEnded(...e))},null,46,Hr)):Fr("",!0)}]])),Wr={name:"SoylentMediaElements",components:{CmmsPlayer:Gr,CmmsThumbnail:Mr},props:{element:{type:Object,required:!0},fill:{type:Boolean,default:!1},zoom:{type:Boolean,default:!1}},computed:{usePlayer:function(){if(this.element&&this.element.data.media_data)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)},isImage:function(){return!!this.element.data.media_data&&"image"===this.element.data.media_data.type},maxHeight:function(){return parseInt(this.element.data.height||0)},playerComponent:function(){return Mi.getByName("cmmsPlayer",Gr)}}},qr=window.Vue.resolveComponent,Yr=window.Vue.openBlock,Kr=window.Vue.createBlock,Jr=window.Vue.createCommentVNode,Qr=window.Vue.resolveDynamicComponent,Zr=window.Vue.createElementBlock,Xr={class:"media-content"},el=e("f",v(Wr,[["render",function(e,t,n,i,o,a){const s=qr("CmmsThumbnail");return Yr(),Zr("div",Xr,[a.isImage?(Yr(),Kr(s,{key:0,image:n.element.data.media_data.model,"max-height":a.maxHeight,fill:n.fill,zoom:n.zoom},null,8,["image","max-height","fill","zoom"])):a.usePlayer?(Yr(),Kr(Qr(a.playerComponent),{key:1,element:n.element},null,8,["element"])):Jr("",!0)])}]])),tl={name:"SoylentMedia",components:{CroppedText:Ar,SoylentMediaElements:el},extends:ro,computed:{classes:function(){const e=["element",this.element.type,this.element.subtype];return this.element.data.media_data?(e.push("image"===this.element.data.media_data.type?"--picture":"--video"),this.fill&&e.push("--fill"),e):e},fill:function(){return!(!("fill"in this.element.data)||!this.element.data.fill)},zoom:function(){return!(!("zoom"in this.element.data)||!this.element.data.zoom)}}},nl=window.Vue.resolveComponent,il=window.Vue.createVNode,ol=window.Vue.toDisplayString,al=window.Vue.openBlock,sl=window.Vue.createElementBlock,rl=window.Vue.createCommentVNode,ll=window.Vue.normalizeClass,cl={key:0,class:"headline"},ul={key:1,class:"subline"},dl=v(tl,[["render",function(e,t,n,i,o,a){const s=nl("SoylentMediaElements"),r=nl("CroppedText");return al(),sl("div",{class:ll(a.classes)},[il(s,{element:e.element,fill:a.fill,zoom:a.zoom},null,8,["element","fill","zoom"]),e.element.data.headline?(al(),sl("div",cl,ol(e.element.data.headline),1)):rl("",!0),e.element.data.subline?(al(),sl("div",ul,[
21il(r,{text:e.element.data.subline,lines:3},null,8,["text"])])):rl("",!0)],2)}]]),pl=window.Vue.unref,ml=window.Vue.openBlock,hl=window.Vue.createElementBlock,wl=window.Vue.createCommentVNode,fl=window.Vue.createElementVNode,gl={key:0,class:"reader-trigger"},vl=window.Vue.computed;window.Vue.onMounted;const yl={__name:"ReaderTrigger",setup(e){const t=Ln(),n=()=>{t.dispatch("reader/showReader")},i=()=>{t.dispatch("reader/showReaderAutoplay")},o=vl((()=>"soylent_settings"in window&&window.soylent_settings.reader_mode||!1));return(e,t)=>o.value?(ml(),hl("div",gl,[pl(R)?wl("",!0):(ml(),hl("button",{key:0,onClick:i,class:"reader-trigger__button iconSet",title:"Anhören","aria-label":"Artikel anhören"}," headphones ")),fl("button",{onClick:n,class:"reader-trigger__button iconSet",title:"Leseansicht","aria-label":"Leseansicht anzeigen"}," chrome_reader_mode ")])):wl("",!0)}},bl=window.Vue.createVNode,_l=window.Vue.normalizeClass,kl=window.Vue.openBlock,Sl=window.Vue.createElementBlock,Vl={__name:"AccessibilityMeta",props:{element:{type:Object}},setup(e){const t=e;return(e,n)=>(kl(),Sl("div",{class:_l(["element accessibility-meta","--align-"+t?.element?.data?.align])},[bl(yl)],2))}},El={name:"SoylentAnchor",props:["element"]},Al=window.Vue.createElementVNode,Cl=window.Vue.normalizeClass,Bl=window.Vue.openBlock,Tl=window.Vue.createElementBlock,xl=["id"],Il=v(El,[["render",function(e,t,n,i,o,a){return Bl(),Tl("div",{class:Cl(["element",n.element.type,n.element.subtype])},[Al("div",{id:n.element.data.anchor},null,8,xl)],2)}]]),Nl={name:"SoylentSpacer",props:["element"]},Dl=window.Vue.normalizeClass,Ol=window.Vue.openBlock,Ll=window.Vue.createElementBlock,Pl=v(Nl,[["render",function(e,t,n,i,o,a){return Ol(),Ll("div",{class:Dl(["element",n.element.type,n.element.subtype])},null,2)}]]),Ml=new nr("soylent.bookmarks"),Rl=Ml.getAll();function zl(e){const{id:t,type:n}=e;return`${n}.${t}`}const jl="ADD_BOOKMARK",$l="REMOVE_BOOKMARK",Ul={[jl](e,{id:t,type:n}){const i={id:t,type:n},o=zl(i);e[o]=i,Ml.set(o,i)},[$l](e,{id:t,type:n}){const i=zl({id:t,type:n});i in e&&delete e[i],Ml.delete(i)}},Fl={isBookmarked:e=>t=>zl(t)in e,bookmarksAmount:e=>Object.keys(e).length,bookmarksAmountWithoutTerms:e=>Object.values(e).filter((e=>"term"!==e.type)).length,allBookmarks:e=>Object.values(e),bookmarkedPostsAndMedia:e=>Object.values(e).filter((e=>"post"===e.type||"cmms_media"===e.type)),bookmarkedPosts:e=>Object.values(e).filter((e=>"post"===e.type)),bookmarkedTopics:e=>Object.values(e).filter((e=>"term"===e.type))},Hl={toggleBookmark({commit:e,state:t},n){if("object"!=typeof n)return void console.debug("[bookmark] Cannot bookmark invalid object",n);n=Object.assign({id:null,type:null},n);const{id:i,type:o}=n,a=zl(n);null!==o?e(a in t?$l:jl,{id:i,type:o}):console.debug("[bookmark] Cannot bookmark object with null type",n)},async fetchBookmarkedPosts({commit:e,state:t,getters:n},i=!1){let o=[];return o=!0===i?n.bookmarkedPostsAndMedia.map((e=>e.id)):n.bookmarkedPosts.map((e=>e.id)),hi.post("/cmms-api-v2/soylent/post_data/get/",{post_ids:JSON.stringify(o)}).then((e=>{let t=[];return"posts"in e.data&&(t=e.data.posts),t}))}},Gl={state:Rl,namespaced:!0,strict:!0,actions:Hl,mutations:Ul,getters:Fl};class Wl{static activateBookmarks(){const e={bookmarks:Gl};Object.keys(e).forEach((t=>{Vi.registerModule(t,e[t])}))}static async importOldBookmarks(){let e=new nr("soylent.bookmarks");const t=e.getAll();for(const n in t){const i=t[n],o=`${i.type}.${i.id}`,a={id:i.id,postType:i.type,skipFetch:!0};await Vi.dispatch("BookmarksOnlineStore/addBookmark",a),e.delete(o)}return!0}}function ql(e,t,n="",i="",o=""){return`${window.cmms_thumbs_base}${t}x${n}${i}${o}/${e}.jpg`}e("i",Wl);const Yl={name:"SoylentOpenerMedia",components:{SoylentMediaElements:el},props:["element"],computed:{media:function(){try{return this.element.data.media_data.model}catch(e){return null}},mediaThumbnailId:function(){try{return this.element.data.media_data.model.image.media_id}catch(e){try{return this.element.data.media_data.model.media_id}catch(e){return this.element.data.media_id}}},overlayStyle:function(){return{"background-image":`url(${ql(this.mediaThumbnailId,128,"","eb_40x20","/f:jpg")})`}}
21,usePlayer:function(){if(this.element)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)}}},Kl=window.Vue.normalizeStyle,Jl=window.Vue.createElementVNode,Ql=window.Vue.resolveComponent,Zl=window.Vue.createVNode,Xl=window.Vue.normalizeClass,ec=window.Vue.openBlock,tc=window.Vue.createElementBlock,nc=v(Yl,[["render",function(e,t,n,i,o,a){const s=Ql("SoylentMediaElements");return ec(),tc("div",{class:Xl(["element",n.element.type,n.element.subtype,a.usePlayer?"--player":""])},[Jl("div",{class:"overlay",style:Kl(a.overlayStyle)},null,4),Zl(s,{element:n.element},null,8,["element"])],2)}]]),ic={name:"BookmarkButton",props:{bookmarkObject:{type:Object,required:!0,default:function(){return{type:null,id:null}}},tag:{type:String,default:"span"},classes:{type:String,default:""}},computed:{isAuth(){return!j().has($)||this.$store.getters["sso/auth"]},profilePageUrl:()=>"profile_page"in window.soylent_settings?window.soylent_settings.profile_page:null,bookmarked(){return j().has($)?this.$store.getters["BookmarksOnlineStore/isBookmarked"](this.bookmarkObject):this.$store.getters["bookmarks/isBookmarked"](this.bookmarkObject)}},methods:{bookmarkClick(e){j().has($)?this.isAuth?(e.postType=e.type,this.bookmarked?this.$store.dispatch("BookmarksOnlineStore/removeBookmark",e):this.$store.dispatch("BookmarksOnlineStore/addBookmark",e)):window.location.href=this.profilePageUrl:this.$store.dispatch("bookmarks/toggleBookmark",e)}}},oc=window.Vue.createElementVNode,ac=window.Vue.withModifiers,sc=window.Vue.normalizeClass,rc=window.Vue.openBlock,lc=window.Vue.createElementBlock,cc=["title","aria-label"],uc=e("q",v(ic,[["render",function(e,t,n,i,o,a){return rc(),lc("button",{onClick:t[0]||(t[0]=ac((e=>a.bookmarkClick(n.bookmarkObject)),["stop","prevent"])),class:sc(["bookmark__button",a.bookmarked?"--active":""]),title:a.bookmarked?"Lesezeichen entfernen":"Lesezeichen hinzufügen","aria-label":a.bookmarked?"Lesezeichen entfernen":"Lesezeichen hinzufügen"},[...t[1]||(t[1]=[oc("span",{class:"iconSet"},"bookmark_border",-1),oc("span",{class:"iconSet"},"bookmark",-1)])],10,cc)}]])),dc={name:"SoylentPostMeta",components:{ReaderTrigger:yl,BookmarkButton:uc},props:["element"],computed:{...ci(["pageData"]),bookmarkObject(){return"bookmark_object"in this.pageData.meta?this.pageData.meta.bookmark_object:null},bookmarkButton:()=>Mi.getByName("bookmarkButton",uc),showReader(){return!("hide_reader"in this.element.data&&this.element.data.hide_reader)}}},pc=window.Vue.openBlock,mc=window.Vue.createElementBlock,hc=window.Vue.createCommentVNode,wc=window.Vue.toDisplayString,fc=window.Vue.createTextVNode,gc=window.Vue.createElementVNode,vc=window.Vue.resolveComponent,yc=window.Vue.createBlock,bc=window.Vue.resolveDynamicComponent,_c=window.Vue.normalizeClass,kc={key:0,class:"zone-label --ad-label"},Sc={key:1,class:"zone-label --ai-label"},Vc={key:2,class:"date"},Ec={key:0},Ac={key:3,class:"spacer"},Cc={key:4,class:"duration"},Bc={class:"label"},Tc={class:"tools"},xc=v(dc,[["render",function(e,t,n,i,o,a){const s=vc("ReaderTrigger");return pc(),mc("div",{class:_c(["element",n.element.type,n.element.subtype])},[n.element.data.show_ad_label?(pc(),mc("span",kc,"Anzeige")):hc("",!0),n.element.data.ai_label?(pc(),mc("span",Sc,wc(n.element.data.ai_label),1)):hc("",!0),n.element.data.date?(pc(),mc("span",Vc,[fc(wc(n.element.data.date)+" ",1),n.element.data.time?(pc(),mc("span",Ec,", "+wc(n.element.data.time)+" Uhr",1)):hc("",!0)])):hc("",!0),n.element.data.duration?(pc(),mc("span",Ac,"/")):hc("",!0),n.element.data.duration?(pc(),mc("span",Cc,[t[0]||(t[0]=gc("span",{class:"iconSet"},"play_circle_outline",-1)),gc("span",Bc,wc(n.element.data.duration),1)])):hc("",!0),gc("div",Tc,[a.showReader?(pc(),yc(s,{key:0})):hc("",!0),a.bookmarkObject?(pc(),yc(bc(a.bookmarkButton),{key:1,"bookmark-object":a.bookmarkObject},null,8,["bookmark-object"])):hc("",!0)])],2)}]]),Ic={components:{},props:{breakpoints:{type:Object,default:{0:{slidesPerView:1.5},425:{slidesPerView:2.5},768:{slidesPerView:4.5},1024:{slidesPerView:5.5},1200:{slidesPerView:6.5}}},free:{type:Boolean,default:null},fullsize:{type:Boolean,default:null},activeIndex:{type:Number,default:null},centeredSlides:{type:Boolean,default:!1},a11y:{type:Boolean,default:!0},autoplay:{type:Boolean,default:null},autoplayinterval:{type:Number,default:null},autoplayInterval:{type:Number,default:null},spaceBetween:{type:Number,default:null},swiperControlsClassNames:{type:Array,default:[""]},swiperInnerClassNames:{type:Array,default:[""]},defaultHeight:{type:Number,default:500},loop:{type:Boolean,default:!1},showBullets:{type:Boolean,default:!1}},data:function(){return{rendered:!1,modules:[o,a,s,r,l,c],swiperElement:null,nextEnabled:!1,prevEnabled:!1,hideNavigation:!1,defaultAutoplayInterval:3}},computed:{optionBreakpoints(){return!0===this.free?null:!this.fullsize&&this.breakpoints},optionFree(){return!!this.free&&{enabled:!0,sticky:!0}},optionSlidesPerView(){return!0===this.free?"auto":1},optionHeight(){return this.defaultHeight},optionLoop(){return this.loop},optionA11y(){return this.a11y},optionAutoPlayInterval(){return this.autoplayInterval?this.autoplayInterval:this.autoplayinterval?this.autoplayinterval:this.defaultAutoplayInterval},optionAutoplay(){return!!this.autoplay&&{delay:1e3*this.optionAutoPlayInterval,disableOnInteraction:!1}},optionSpaceBetween(){return null===this.spaceBetween?16:this.spaceBetween},getPagination(){if(!0===this.showBullets){let e={el:this.$refs.pagination_container,clickable:!0,type:"bullets"};return"slider_type_radio"===this.sliderType&&(e.bulletClass="swiper__controls__pagination__bullet",e.bulletActiveClass="--active"),e}return!1},currentIndex(){this.swiperElement.realIndex}},methods:{initSwiper(e){this.swiperElement=e.detail[0].el.swiper,this.updateButtons(),this.activeIndex&&(!0===this.loop?this.swiperElement.slideToLoop(this.activeIndex,0):this.swiperElement.slideTo(this.activeIndex,0))},onDefaultEvent(){this.updateButtons()},onOberverUpdate(){this.updateButtons()},onSlideChange(e){if(!this.swiperElement)return;let t=1;this.breakpoints&&(t=this.breakpoints[this.swiperElement.currentBreakpoint]?this.breakpoints[this.swiperElement.currentBreakpoint].slidesPerView:1),this.$emit("slideChange",Math.
21ceil(this.swiperElement.realIndex),t),this.updateButtons()},onAutoplayTimeLeft(e,t,n){if(this.swiperElement){let e=Math.ceil((1e3*this.optionAutoPlayInterval-this.swiperElement.autoplay.timeLeft)/(1e3*this.optionAutoPlayInterval)*100);this.$emit("autoplayTimeUpdate",e)}},prev:function(){null!==this.swiperElement&&this.swiperElement.slidePrev()},next:function(){null!==this.swiperElement&&this.swiperElement.slideNext()},swipeTo(e){this.swiperElement.slideTo(e),!0===this.loop?this.swiperElement.slideToLoop(e):this.swiperElement.slideTo(e)},updateButtons(){if(null==this.swiperElement)return this.prevEnabled=!1,void(this.nextEnabled=!1);this.nextEnabled=!this.swiperElement.isEnd,this.prevEnabled=!this.swiperElement.isBeginning,!0===this.loop&&(this.nextEnabled=!0,this.prevEnabled=!0),this.hideNavigation=this.swiperElement.isEnd&&this.swiperElement.isBeginning},restoreSlideFocus(e){e.slides.forEach((e=>{e.removeAttribute("tabindex"),e.querySelectorAll("a, button, input, textarea, select, [tabindex]").forEach((e=>{"-1"===e.getAttribute("tabindex")&&e.setAttribute("tabindex","0")}))}))},makeSlidesFocusable(e){e.slides.forEach((e=>{e.setAttribute("tabindex","0")}))},handleKeyboardNavigation(e){["Tab"].includes(e.key)&&this.swiperElement.autoplay&&this.swiperElement.autoplay.running&&this.swiperElement.autoplay.stop()}},watch:{activeIndex:function(e){!0===this.loop?this.swiperElement.slideToLoop(this.activeIndex):this.swiperElement.slideTo(this.activeIndex)}},beforeMount(){this.updateButtons()},mounted(){this.rendered=!0,document.addEventListener("keydown",this.handleKeyboardNavigation)},unmounted(){document.removeEventListener("keydown",this.handleKeyboardNavigation)}},Nc={name:"SliderWrapper",mixins:[Ic],props:{useSliderType:{type:String,default:null}},data:()=>({sliderType:"slider_type_tv"}),mounted(){this.useSliderType&&(this.sliderType=this.useSliderType)}},Dc=window.Vue.renderSlot,Oc=window.Vue.normalizeClass,Lc=window.Vue.openBlock,Pc=window.Vue.createElementBlock,Mc=window.Vue.createCommentVNode,Rc=window.Vue.createElementVNode,zc=window.Vue.Fragment,jc=["slides-per-view","breakpoints","loop","free-mode","autoplay","height","centeredSlides","space-between","pagination","a11y","modules"],$c=["disabled"],Uc={class:"swiper__controls__pagination",ref:"pagination_container"},Fc=["disabled"],Hc=e("v",v(Nc,[["render",function(e,t,n,i,o,a){return Lc(),Pc(zc,null,[e.rendered?(Lc(),Pc("swiper-container",{key:0,ref:"swiperEl","slides-per-view":e.optionSlidesPerView,breakpoints:e.optionBreakpoints,loop:e.optionLoop,"free-mode":e.optionFree,autoplay:e.optionAutoplay,height:e.optionHeight,centeredSlides:e.centeredSlides,"space-between":e.optionSpaceBetween,"watch-overflow":!0,observer:!0,pagination:e.getPagination,observeParents:!0,a11y:e.optionA11y,class:Oc(e.swiperInnerClassNames),noSwipingClass:"vjs-control-bar",onAfterinit:t[0]||(t[0]=(...t)=>e.initSwiper&&e.initSwiper(...t)),onSlidechange:t[1]||(t[1]=(...t)=>e.onSlideChange&&e.onSlideChange(...t)),onAutoplaytimeleft:t[2]||(t[2]=(...t)=>e.onAutoplayTimeLeft&&e.onAutoplayTimeLeft(...t)),"on:reachEnd":t[3]||(t[3]=(...t)=>e.updateButtons&&e.updateButtons(...t)),onObserverupdate:t[4]||(t[4]=(...t)=>e.onOberverUpdate&&e.onOberverUpdate(...t)),onResize:t[5]||(t[5]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),"on:reachBeginning":t[6]||(t[6]=(...t)=>e.onDefaultEvent&&e.onDefaultEvent(...t)),modules:e.modules},[Dc(e.$slots,"default")],42,jc)):Mc("",!0),Rc("div",{class:Oc(["swiper__controls",e.swiperControlsClassNames])},[e.hideNavigation?Mc("",!0):(Lc(),Pc("button",{key:0,class:Oc(["--prev","swiper__controls__item",e.prevEnabled?"":"--disabled"]),disabled:!e.prevEnabled,role:"button","aria-label":"Vorheriger Slide",onClick:t[7]||(t[7]=(...t)=>e.prev&&e.prev(...t))},[...t[9]||(t[9]=[Rc("span",{class:"iconSet"},"chevron_left",-1)])],10,$c)),Rc("div",Uc,null,512),e.hideNavigation?Mc("",!0):(Lc(),Pc("button",{key:1,class:Oc(["--next","swiper__controls__item",e.nextEnabled?"":"--disabled"]),disabled:!e.nextEnabled,role:"button","aria-label":"Nächster Slide",onClick:t[8]||(t[8]=(...t)=>e.next&&e.next(...t))},[...t[10]||(t[10]=[Rc("span",{class:"iconSet"},"chevron_right",-1)])],10,Fc))],2)],64)}]]));window.Vue.h,window.Vue.h,window.Vue.ref,window.Vue.onMounted,window.Vue.onUpdated,window.Vue.onBeforeUnmount,window.Vue.watch,window.Vue.nextTick,window.Vue.provide;
21const Gc=window.Vue.h,Wc=window.Vue.ref,qc=window.Vue.onMounted,Yc=window.Vue.onUpdated,Kc=window.Vue.onBeforeUpdate,Jc=window.Vue.computed,Qc=window.Vue.onBeforeUnmount,Zc=window.Vue.provide,Xc=e("t",{name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:n}=t,i=!1;const{swiperRef:o}=e,a=Wc(null),s=Wc("swiper-slide"),r=Wc(!1);function l(e,t,n){t===a.value&&(s.value=n)}qc((()=>{o&&o.value&&(o.value.on("_slideClass",l),i=!0)})),Kc((()=>{!i&&o&&o.value&&(o.value.on("_slideClass",l),i=!0)})),Yc((()=>{a.value&&o&&o.value&&(void 0!==e.swiperSlideIndex&&(a.value.swiperSlideIndex=e.swiperSlideIndex),o.value.destroyed&&"swiper-slide"!==s.value&&(s.value="swiper-slide"))})),Qc((()=>{o&&o.value&&o.value.off("_slideClass",l)}));const c=Jc((()=>({isActive:s.value.indexOf("swiper-slide-active")>=0,isVisible:s.value.indexOf("swiper-slide-visible")>=0,isPrev:s.value.indexOf("swiper-slide-prev")>=0,isNext:s.value.indexOf("swiper-slide-next")>=0})));Zc("swiperSlide",c);const u=()=>{r.value=!0};return()=>Gc(e.tag,{class:Ms(`${s.value}`),ref:a,"data-swiper-slide-index":void 0===e.virtualIndex&&o&&o.value&&o.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:u},e.zoom?Gc("div",{class:"swiper-zoom-container","data-swiper-zoom":"number"==typeof e.zoom?e.zoom:void 0},[n.default&&n.default(c.value),e.lazy&&!r.value&&Gc("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(c.value),e.lazy&&!r.value&&Gc("div",{class:"swiper-lazy-preloader"})])}});window.Vue.inject;const eu={name:"SoylentLink",props:{url:{type:String,default:""},callback:{default:!1},blank:{type:Boolean,default:null},useRouter:{type:Boolean,default:!0}},computed:{isAnchor(){return this.url&&("#"===this.url.charAt(0)||"/#"===this.url.substring(0,2))},useRouterLink:function(){return!1===this.callback&&!this.isExternalLink&&!0!==this.blank&&!this.isAnchor},target:function(){if(!1!==this.blank&&!this.isAnchor||null===this.blank&&this.isExternalLink&&!this.isAnchor)return"_blank"},isExternalLink:function(){return!1===this.useRouter||this.$routerLink(this.url).match(/^(https?:\/\/|mailto:|tel:\/\/)/)||this.url.match(/\.pdf$/i)}}},tu=window.Vue.renderSlot,nu=window.Vue.resolveComponent,iu=window.Vue.withCtx,ou=window.Vue.openBlock,au=window.Vue.createBlock;window.Vue.createCommentVNode;const su=window.Vue.withModifiers,ru=window.Vue.createElementBlock,lu=["href","target"],cu=e("S",v(eu,[["render",function(e,t,n,i,o,a){const s=nu("router-link");return a.useRouterLink?(ou(),au(s,{key:0,to:e.$routerLink(n.url)},{default:iu((()=>[tu(e.$slots,"default")])),_:3},8,["to"])):!1!==n.callback?(ou(),ru("a",{key:1,href:"#",onClick:t[0]||(t[0]=su(((...e)=>n.callback&&n.callback(...e)),["prevent","stop"]))},[tu(e.$slots,"default")])):(ou(),ru("a",{key:2,href:n.url,target:a.target},[tu(e.$slots,"default")],8,lu))}]])),uu=window.Vue.renderList,du=window.Vue.Fragment,pu=window.Vue.openBlock,mu=window.Vue.createElementBlock,hu=window.Vue.createBlock,wu=window.Vue.createCommentVNode,fu=window.Vue.createElementVNode,gu=window.Vue.toDisplayString,vu=window.Vue.withCtx,yu=window.Vue.createVNode,bu=window.Vue.unref,_u=window.Vue.vShow,ku=window.Vue.withDirectives,Su=window.Vue.normalizeStyle,Vu=window.Vue.Transition,Eu=window.Vue.normalizeClass,Au={class:"top-five-slider"},Cu={class:"top-five-slider__post"},Bu={class:"top-five-slider__post__background"},Tu={class:"top-five-slider__post__overlay"},xu={key:0,class:"zone-label"},Iu={key:1,class:"top-five-slider__post__kicker"},Nu={class:"top-five-slider__post__title"},Du={key:2,class:"top-five-slider__post__excerpt"},Ou={class:"top-five-slider__post__meta"},Lu={class:"top-five-slider__post__meta__date"},Pu={class:"top-five__post__meta__duration"},Mu={class:"top-five-slider__post__cta"},Ru={class:"button__label"},zu={class:"button__text"},ju={class:"top-five-slider__navigation"},$u=["onClick"],Uu=["data-src"],Fu={class:"top-five-slider__navigation__post__overlay"},Hu={class:"top-five-slider__navigation__post__title"},Gu={key:0,class:"top-five-slider__navigation__post__progress-wrapper"},Wu=window.Vue.nextTick,qu=window.Vue.onMounted,Yu=window.Vue.reactive,Ku=window.Vue.ref,Ju={__name:"TopFiveSlider",props:{element:{type:Object,required:!0}},setup(e){const t=Ku([]),n=new Set,i=Yu(new Set),o=e,a=Ku(),s=Yu({0:{slidesPerView:1}});let r=Ku(0),l=Ku(0);const c=e=>"manual"===o.element.data.layout&&e.data.subline?e.data.subline:e.post.kicker,u=e=>{p(r.value),r.value=e,d(e)},d=e=>{const o=t.value[e];o&&(n.has(e)||(o.innerHTML=`<source src="${o.getAttribute("data-src")}" type="video/mp4">`,o.load(),n.add(e)),i.add(e),o.play().catch((()=>{})))},p=e=>{const n=t.value[e];n&&(n.pause(),n.currentTime=0,i.delete(e))},m=e=>{l.value=e};return qu((async()=>{await Wu(),d(r.value)})),(e,n)=>
21(pu(),mu("div",Au,[yu(Hc,{ref_key:"swiperBase",ref:a,swiperInnerClassNames:"top-five-slider__slider",loop:!0,autoplay:!0,autoplayInterval:8,breakpoints:s,spaceBetween:0,onSlideChange:u,onAutoplayTimeUpdate:m},{default:vu((()=>[(pu(!0),mu(du,null,uu(o.element.data.items,((e,t)=>(pu(),hu(bu(Xc),{key:e.post.post_id,class:"top-five-slider__slider__item"},{default:vu((()=>[fu("div",Cu,[fu("div",Bu,[e.post.image?(pu(),hu(Yo,{key:0,image:e.post.image,fill:""},null,8,["image"])):wu("",!0)]),fu("div",Tu,[e.post.show_ad_label?(pu(),mu("span",xu,"Anzeige")):wu("",!0),c(e)?(pu(),mu("span",Iu,gu(c(e)),1)):wu("",!0),fu("h2",Nu,gu(e.post.title),1),e.post.excerpt?(pu(),mu("span",Du,gu(e.post.excerpt),1)):wu("",!0),fu("div",Ou,[fu("span",Lu,gu(e.post.date.datetime_txt)+" Uhr",1),e.post.duration?(pu(),mu(du,{key:0},[n[0]||(n[0]=fu("span",{class:"top-five-slider__post__meta__spacer"},null,-1)),fu("span",Pu,gu(e.post.duration)+" Min.",1)],64)):wu("",!0)]),fu("div",Mu,[yu(cu,{class:"button",url:e.post.url},{default:vu((()=>[fu("span",Ru,[n[1]||(n[1]=fu("span",{class:"button__icon iconSet"},"play_arrow",-1)),fu("span",zu,gu("video"===e.post.type?"Abspielen":"Weiterlesen"),1)])])),_:2},1032,["url"]),e.post.bookmark_object?(pu(),hu(uc,{key:0,"bookmark-object":e.post.bookmark_object},null,8,["bookmark-object"])):wu("",!0)])])])])),_:2},1024)))),128))])),_:1},8,["breakpoints"]),fu("div",ju,[(pu(!0),mu(du,null,uu(o.element.data.items,((e,n)=>(pu(),mu("div",{key:e.post.post_id,onClick:e=>(e=>{a.value.swipeTo(e)})(n),class:Eu(["top-five-slider__navigation__post",n===bu(r)?"--active":""])},[e.post.image&&!i.has(n)?(pu(),hu(Yo,{key:0,image:e.post.image,fill:""},null,8,["image"])):wu("",!0),e.preview?ku((pu(),mu("video",{key:1,tabindex:"-1",class:"video",muted:"",playsinline:"",ref_for:!0,ref:e=>{e&&(t.value[n]=e)},"data-src":e.preview},null,8,Uu)),[[_u,i.has(n)]]):wu("",!0),fu("div",Fu,[fu("span",Hu,gu(e.post.title),1),yu(Vu,{name:"fade_slow"},{default:vu((()=>[n===bu(r)?(pu(),mu("div",Gu,[fu("div",{class:"top-five-slider__navigation__post__progress",style:Su(`width: ${bu(l)}%`)},null,4)])):wu("",!0)])),_:2},1024)])],10,$u)))),128))])]))}},Qu=e("B",768),Zu={name:"SoylentTopFive",components:{TopFiveSlider:Ju,CmmsResponsiveImage:Yo,BookmarkButton:uc},data:function(){return{observer:null,itemObserver:null,itemRefs:[],bulletRefs:[],active:{}}},props:["element"],computed:{isMobile:()=>window.innerWidth<Qu,elementView(){return this.element.data.view_type}},methods:{setItemRef(e,t){this.itemRefs.push(e),e&&(this.bulletRefs[t]=e)},getHeadline:function(e){return e.data.headline?e.data.headline:Ti(e.post.title,80)},getSubline:function(e){return"manual"===this.element.data.layout&&e.data.subline?e.data.subline:e.post.kicker},getSublineClasses:e=>"subline",playVideo:function(e){const t=e.querySelector("video");t&&(t.innerHTML=`<source src="${t.getAttribute("data-src")}" type="video/mp4">`,t.play())},stopVideo:function(e){const t=e.querySelector("video");t&&t.pause()},addItemEventListeners:function(){this.itemRefs.length<=0||this.isMobile||this.itemRefs.forEach((e=>{e.addEventListener("touchstart",(()=>{e.classList.contains("--active")||(Ci([".element","."+this.element.type,"."+this.element.subtype,".focus"].join("")).forEach((e=>{e.classList.remove("focus"),e.classList.remove("focus")})),Ci([".element","."+this.element.type,"."+this.element.subtype].join("")+" .item.--active").forEach((e=>{e.classList.remove("--active")})),e.classList.add("--active"),console.log("this.itemRefs",this.itemRefs),this.itemRefs.topFiveElement.classList.add("focus"))})),e.addEventListener("mouseenter",(()=>{e.classList.add("--active")})),e.addEventListener("mouseleave",(()=>{e.classList.remove("--active")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}))},removeItemEventListeners:function(){this.itemRefs.forEach((e=>{e.removeEventListener("touchstart",(()=>{})),e.removeEventListener("mouseenter",(()=>{})),e.removeEventListener("mouseleave",(()=>{}))}))},itemClassChange:function(e,t,n){const i=e.target,o=t.split(" "),a=n.split(" ");o.includes("--active")?this.playVideo(i):a.includes("--active")&&this.stopVideo(i)},updateBullets(e){e.forEach((e=>{const t=e.target.dataset.index;this.active[t]=e.isIntersecting}))},scrollToItem(e){const t=this.itemRefs[e];t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}},beforeUpdate(){this.itemRefs=[]}
21,mounted(){this.$nextTick((()=>{this.observer=new MutationObserver((e=>{for(const t of e){const e=t.target.getAttribute(t.attributeName);this.$nextTick((()=>{this.itemClassChange(t,e,t.oldValue)}))}})),this.itemObserver=new IntersectionObserver(this.updateBullets,{threshold:.2}),this.bulletRefs.forEach((e=>e&&this.itemObserver.observe(e))),this.addItemEventListeners()}))},beforeUnmount(){this.itemRefs=[],this.observer.disconnect(),this.removeItemEventListeners()}},Xu=window.Vue.renderList,ed=window.Vue.Fragment,td=window.Vue.openBlock,nd=window.Vue.createElementBlock,id=window.Vue.resolveComponent,od=window.Vue.createVNode,ad=window.Vue.createCommentVNode,sd=window.Vue.createElementVNode,rd=window.Vue.toDisplayString,ld=window.Vue.normalizeClass,cd=window.Vue.withCtx,ud=window.Vue.createBlock,dd={class:"item-wrapper"},pd=["data-index"],md={class:"thumbnail"},hd=["data-src"],wd={class:"entry"},fd={key:0,class:"zone-label"},gd={class:"headline"},vd={class:"date"},yd={class:"cta"},bd={class:"button__label"},_d={class:"button__icon iconSet"},kd={class:"button__text"},Sd={class:"pagination"},Vd=["onClick"],Ed=v(Zu,[["render",function(e,t,n,i,o,a){const s=id("CmmsResponsiveImage"),r=id("router-link"),l=id("BookmarkButton"),c=id("TopFiveSlider");return a.isMobile||"swiper"!==a.elementView?(td(),nd("div",{key:0,ref:"topFiveElement",class:ld(["element",n.element.type,n.element.subtype,"--"+n.element.data.layout])},[sd("div",dd,[(td(!0),nd(ed,null,Xu(n.element.data.items,((t,n)=>(td(),nd("div",{class:"item",key:t.post.post_id,"data-index":n,ref_for:!0,ref:e=>a.setItemRef(e,n)},[sd("span",md,[od(s,{image:t.post.image,fill:!0},null,8,["image"]),t.preview?(td(),nd("video",{key:0,tabindex:"-1",class:"video",muted:"",playsinline:"","data-src":t.preview},null,8,hd)):ad("",!0)]),sd("div",wd,[t.post.show_ad_label?(td(),nd("span",fd,"Anzeige")):ad("",!0),a.getSubline(t)?(td(),nd("h3",{key:1,class:ld(a.getSublineClasses(t))},rd(a.getSubline(t)),3)):ad("",!0),sd("h2",gd,rd(a.getHeadline(t)),1),sd("span",vd,rd(t.post.date.datetime_txt)+" Uhr",1),sd("div",yd,[od(r,{class:"button",href:t.post.url,to:e.$routerLink(t.post.url)},{default:cd((()=>[sd("span",bd,[sd("span",_d,rd("video"===t.post.type?"play_arrow":"notes"),1),sd("span",kd,rd("video"===t.post.type?"Abspielen":"Weiterlesen"),1)])])),_:2},1032,["href","to"]),t.post.bookmark_object?(td(),ud(l,{key:0,"bookmark-object":t.post.bookmark_object},null,8,["bookmark-object"])):ad("",!0)])])],8,pd)))),128))]),sd("div",Sd,[(td(!0),nd(ed,null,Xu(n.element.data.items,((t,n)=>(td(),nd("span",{key:t.post.post_id,class:ld(["bullet",{"--active":e.active[n]}]),onClick:e=>a.scrollToItem(n)},null,10,Vd)))),128))])],2)):a.isMobile?ad("",!0):(td(),nd("div",{key:1,class:ld(["element",n.element.type,n.element.subtype,"--"+n.element.data.layout])},[od(c,{element:n.element},null,8,["element"])],2))}]]),Ad={name:"SoylentOpenerImage",components:{CmmsResponsiveImage:Yo},props:["element"]},Cd=window.Vue.resolveComponent,Bd=window.Vue.createVNode,Td=window.Vue.normalizeClass,xd=window.Vue.openBlock,Id=window.Vue.createElementBlock,Nd=v(Ad,[["render",function(e,t,n,i,o,a){const s=Cd("CmmsResponsiveImage");return xd(),Id("div",{class:Td(["element",n.element.type,n.element.subtype])},[Bd(s,{fill:!0,image:n.element.data.model},null,8,["image"])],2)}]]),Dd={name:"SoylentPostKicker",props:["element"]},Od=window.Vue.toDisplayString,Ld=window.Vue.normalizeClass,Pd=window.Vue.openBlock,Md=window.Vue.createElementBlock,Rd=v(Dd,[["render",function(e,t,n,i,o,a){return Pd(),Md("h2",{class:Ld(["element",n.element.type,n.element.subtype,"--text-size-s --text-weight-medium"])},Od(n.element.data.text),3)}]]),zd={name:"SoylentPostImage",components:{CmmsThumbnail:Mr},props:["element"],mounted(){}},jd=window.Vue.resolveComponent,$d=window.Vue.createVNode,Ud=window.Vue.normalizeClass,Fd=window.Vue.openBlock,Hd=window.Vue.createElementBlock,Gd=v(zd,[["render",function(e,t,n,i,o,a){const s=jd("CmmsThumbnail");return Fd(),Hd("div",{class:Ud(["element",n.element.type,n.element.subtype])},[$d(s,{image:n.element.data.model},null,8,["image"])],2)}]]),Wd={name:"SoylentPostTeaser",props:["element"]},qd=window.Vue.normalizeClass,Yd=window.Vue.openBlock,Kd=window.Vue.createElementBlock,Jd=["innerHTML"],Qd=v(Wd,[["render",function(e,t,n,i,o,a){return Yd(),Kd("h2",{class:qd(["element",n.element.type,n.element.subtype,"--text-size-l --text-weight-regular"]),innerHTML:n.element.data.text||""},null,10,Jd)}]]),Zd={name:"SoylentInPageNavigation",components:{SoylentLink:cu},props:["element"],data:function(){return{windowWidth:window.innerWidth}},computed:{colStyle:function(){let e=1;return this.windowWidth>=1024?e=this.element.data.amount_cols_1024:this.windowWidth>=Qu?e=this.element.data.amount_cols_768:this.windowWidth>=425&&(e=2),{width:100/e+"%"}}},methods:{onResize:function(){this.windowWidth=window.innerWidth}},mounted(){this.$nextTick((()=>{window.addEventListener("resize",this.onResize)}))},beforeUnmount(){window.removeEventListener("resize",this.onResize)}},Xd=window.Vue.renderList,ep=window.Vue.Fragment,tp=window.Vue.openBlock,np=window.Vue.createElementBlock,ip=window.Vue.toDisplayString,op=window.Vue.createTextVNode,ap=window.Vue.resolve
21Component,sp=window.Vue.withCtx,rp=window.Vue.createVNode,lp=window.Vue.createCommentVNode,cp=window.Vue.createElementVNode,up=window.Vue.normalizeStyle,dp=window.Vue.normalizeClass,pp={class:"navigation"},mp={key:0,class:"sub-menu"},hp=v(Zd,[["render",function(e,t,n,i,o,a){const s=ap("SoylentLink");return tp(),np("div",{class:dp(["element",n.element.type,n.element.subtype])},[cp("div",pp,[(tp(!0),np(ep,null,Xd(this.element.data.items,(e=>(tp(),np("ul",{style:up(a.colStyle),class:"menu-group",key:e.id},[cp("li",null,[rp(s,{class:"--text-size-xl",url:e.url},{default:sp((()=>[op(ip(e.label),1)])),_:2},1032,["url"]),e.items?(tp(),np("ul",mp,[(tp(!0),np(ep,null,Xd(e.items,(e=>(tp(),np("li",{key:e.id},[rp(s,{url:e.url},{default:sp((()=>[op(ip(e.label),1)])),_:2},1032,["url"])])))),128))])):lp("",!0)])],4)))),128))])],2)}]]);function wp(e,t=!0){const n=[].slice.call(e.querySelectorAll("ins"));if(console.debug("[revive] zones",n),!n.length)return;const i=[];n.forEach((e=>{!function(e){e.setAttribute("data-revive-w",window.innerWidth),e.setAttribute("data-revive-h",window.innerHeight)}(e);const t=e.getAttribute("data-revive-id");i.indexOf(t)<0&&i.push(t)})),t&&window.reviveAsync&&i.forEach((e=>{try{window.reviveAsync[e].refresh()}catch(t){}}))}const fp={name:"SoylentThirdPartyDelivery",props:["element"],computed:{html:function(){return this.element.data.zone||""},elementClass(){if(!this.element)return"";const e=["element",this.element.type,this.element.subtype];return this.element.data.class&&e.push(this.element.data.class),e},neutralMarkup(){return"neutral_markup"in this.element.data&&Boolean(this.element.data.neutral_markup)},minHeightDesktop(){return"min_height_desktop"in this.element.data?this.element.data.min_height_desktop:0},minHeightMobile(){return"min_height_mobile"in this.element.data?this.element.data.min_height_mobile:0},isDisabled(){return"disable_zone"in this.element.data&&Boolean(this.element.data.disable_zone)},minHeight(){return this.innerWidth<1025?this.minHeightMobile:this.minHeightDesktop}},mounted(){window.isDynamicRenderer||this.isDisabled||(this.$refs.container.querySelectorAll("script").forEach((e=>{const t=document.createElement("script");e.src&&(t.src=e.src+"?"+Date.now()),e.async&&(t.async=e.async),e.innerText&&(t.innerText=e.innerText),(!window.reviveAsync||this.html.indexOf("asyncjs.php")<0)&&document.body.appendChild(t)})),wp(this.$refs.container))}},gp=window.Vue.normalizeClass,vp=window.Vue.normalizeStyle,yp=window.Vue.openBlock,bp=window.Vue.createElementBlock,_p=window.Vue.createCommentVNode,kp=["innerHTML"],Sp=v(fp,[["render",function(e,t,n,i,o,a){return a.isDisabled?_p("",!0):(yp(),bp("div",{key:0,ref:"container",class:gp(a.elementClass),innerHTML:a.html,style:vp(`min-height:${a.minHeight}px`)},null,14,kp))}]]),Vp={name:"CrawlItem",components:{SoylentLink:cu},props:["tagName","textValue","url"],computed:{getAttributes:function(){return this.url.length>0?{href:this.url,url:this.url}:{}}}},Ep=window.Vue.resolveDynamicComponent,Ap=window.Vue.mergeProps,Cp=window.Vue.openBlock,Bp=window.Vue.createBlock,Tp=window.Vue.createElementVNode,xp=window.Vue.Fragment,Ip=window.Vue.createElementBlock,Np={name:"SoylentCrawl",props:["element"],components:{CrawlItem:v(Vp,[["render",function(e,t,n,i,o,a){return Cp(),Ip(xp,null,[(Cp(),Bp(Ep(n.tagName),Ap(a.getAttributes,{innerHTML:n.textValue}),null,16,["innerHTML"])),t[0]||(t[0]=Tp("span",null,"Â Â Â +++Â Â Â ",-1))],64)}]])},data:()=>({crawlText:"",ready:!1,elementWidth:0,contentWidth:0,textIncreaseCounter:0,crawlElements:[],separator:" +++ "}),computed:{elements:function(){return this.element.data.elements?this.element.data.elements:[]},multiple:function(){return 0<this.element.data.multiple&&this.element.data.multiple}},methods:{getAttributes:function(e){return e.link.length>0?{href:this.href(e),url:this.href(e)}:{}},tagName:function(e){return 0<e.link.length?"SoylentLink":"span"},href:function(e){return!!e.link&&e.link},textValue:function(e){return e.text?e.text:""},updateCrawlText:function(){this.elementWidth=this.getElementWidth(),this.crawlElements=this.crawlElements.concat(this.elements),this.$nextTick((()=>{this.initCrawl()}))}
21,initCrawl(){this.ready=!0,setTimeout((()=>{const e=this.$refs.crawl_item.offsetWidth,t=this.elementWidth/e,n=2*Math.ceil(t)-1;if(this.contentWidth=e*Math.ceil(t),this.contentWidth>0){for(let e=0;e<n;e++)this.crawlElements=this.crawlElements.concat(this.elements);this.$refs.crawl_item.style.width=2*this.contentWidth+5+"px",this.animateText()}}),100)},getElementWidth:function(){return Math.floor(this.$refs.el.getBoundingClientRect().width)},getTextWidth:function(){return Math.floor(this.$refs.el.width)},animateText:function(){this.$refs.el.firstChild.animate([{transform:"translate3d(0, 0, 0)"},{transform:"translate3d(-"+this.contentWidth+"px, 0, 0)"}],{duration:this.contentWidth/30*1e3,easing:"linear",iterations:1/0})}},mounted(){this.updateCrawlText()}},Dp=window.Vue.renderList,Op=window.Vue.Fragment,Lp=window.Vue.openBlock,Pp=window.Vue.createElementBlock,Mp=window.Vue.resolveComponent,Rp=window.Vue.createBlock,zp=window.Vue.createElementVNode,jp=window.Vue.normalizeClass,$p={ref:"crawl_item",style:{display:"inline-block","white-space":"nowrap"}},Up=v(Np,[["render",function(e,t,n,i,o,a){const s=Mp("CrawlItem");
21return Lp(),Pp("div",{class:jp(["element",n.element.type,n.element.subtype]),ref:"el"},[zp("div",$p,[(Lp(!0),Pp(Op,null,Dp(o.crawlElements,((e,t)=>(Lp(),Rp(s,{"tag-name":a.tagName(e),url:a.href(e),"text-value":a.textValue(e),key:`crawl_item_${t}`},null,8,["tag-name","url","text-value"])))),128))],512)],2)}]]),Fp={name:"SoylentCtaButton",components:{SoylentLink:cu},props:["element"],computed:{buttonLabel(){return this.useHistoryBack?this.element.data.history_back_text?this.element.data.history_back_text:"zurück":this.element.data.text?this.element.data.text:"Mehr"},blank(){return!!this.element.data._blank},useHistoryBack(){return!!(this.element&&this.element.data.history_back&&window.history.length>1)},componentCallback(){return!!this.useHistoryBack&&(()=>{this.$router.back()})}}},Hp=window.Vue.toDisplayString,Gp=window.Vue.createElementVNode,Wp=window.Vue.resolveComponent,qp=window.Vue.withCtx,Yp=window.Vue.createVNode,Kp=window.Vue.normalizeClass,Jp=window.Vue.openBlock,Qp=window.Vue.createElementBlock,Zp={class:"button__label"},Xp={class:"button__text"},em=e("a",v(Fp,[["render",function(e,t,n,i,o,a){const s=Wp("soylent-link");return Jp(),Qp("div",{class:Kp(["element",n.element.type,n.element.subtype])},[Yp(s,{class:"button",url:n.element.data.link,callback:a.componentCallback,blank:a.blank},{default:qp((()=>[Gp("span",Zp,[Gp("span",Xp,Hp(a.buttonLabel),1)])])),_:1},8,["url","callback","blank"])],2)}]]));j().has($)?or.activateBookmarks("/cmms-api/v3/soylent/"):Wl.activateBookmarks();const tm=window.Vue.defineAsyncComponent;vo.set({SoylentHeadline:dr,SoylentHtml:vr,SoylentSpacer:Pl,SoylentMedia:dl,SoylentAccessibilityMeta:Vl,SoylentAnchor:Il,SoylentOpenerMediaDefault:nc,SoylentPostMetaDefault:xc,SoylentTopFiveDefault:Ed,SoylentOpenerImageDefault:Nd,SoylentPostKickerDefault:Rd,SoylentPostImageDefault:Gd,SoylentPostTeaserDefault:Qd,SoylentInPageNavigationDefault:hp,SoylentThirdPartyDeliveryDefault:Sp,SoylentCrawlDefault:Up,SoylentCtaButtonDefault:em,SoylentShare:tm((()=>u((()=>t.import("./Share-legacy.js")),void 0))),SoylentArchiveNavigationDefault:tm((()=>u((()=>t.import("./ArchiveNavigation-legacy.js")),void 0))),SoylentAdRollerDefault:tm((()=>u((()=>t.import("./AdRoller-legacy.js")),void 0))),SoylentAuthorDefault:tm((()=>u((()=>t.import("./Author-legacy.js")),void 0))),SoylentBackgroundMediaDefault:tm((()=>u((()=>t.import("./BackgroundMedia-legacy.js")),void 0))),SoylentBookmarks:tm((()=>u((()=>t.import("./Bookmarks-legacy.js")),void 0))),SoylentCategoriesSliderDefault:tm((()=>u((()=>t.import("./CategoriesSlider-legacy.js")),void 0))),SoylentCountdownDefault:tm((()=>u((()=>t.import("./Countdown-legacy.js")),void 0))),SoylentEventMetaDefault:tm((()=>u((()=>t.import("./EventMeta-legacy.js")),void 0))),SoylentEventsDefault:tm((()=>u((()=>t.import("./Events-legacy.js")),void 0))),SoylentFormDefault:tm((()=>u((()=>t.import("./Form-legacy.js")),void 0))),SoylentGalleryDefault:tm((()=>u((()=>t.import("./Gallery-legacy.js")),void 0))),SoylentLastVideoDefault:tm((()=>u((()=>t.import("./LastVideo-legacy.js")),void 0))),SoylentLogoSliderDefault:tm((()=>u((()=>t.import("./LogoSlider-legacy.js")),void 0))),SoylentMapDefault:tm((()=>u((()=>t.import("./Map-legacy.js")),void 0))),SoylentLineDefault:tm((()=>u((()=>t.import("./Line-legacy.js")),void 0))),SoylentMediaLinkDefault:tm((()=>u((()=>t.import("./MediaLink-legacy.js")),void 0))),SoylentMediaSliderDefault:tm((()=>u((()=>t.import("./MediaSlider-legacy.js")),void 0))),SoylentParallaxDefault:tm((()=>u((()=>t.import("./Parallax-legacy.js")),void 0))),SoylentPollDefault:tm((()=>u((()=>t.import("./Poll-legacy.js")),void 0))),SoylentShortsDefault:tm((()=>u((()=>t.import("./Shorts-legacy.js")),void 0))),SoylentPostShortcutListDefault:tm((()=>u((()=>t.import("./PostShortcutList-legacy.js")),void 0))),SoylentPostThumbsDefault:tm((()=>u((()=>t.import("./PostThumbs-legacy.js")),void 0))),SoylentRelatedContentsDefault:tm((()=>u((()=>t.import("./RelatedContents-legacy.js")),void 0))),SoylentScheduleDetailDefault:tm((()=>u((()=>t.import("./ScheduleDetail-legacy.js")),void 0))),SoylentScheduleWidgetDefault:tm((()=>u((()=>t.import("./ScheduleWidget-legacy.js")),void 0))),SoylentShowLatestEpisodesDefault:tm((()=>u((()=>t.import("./ShowLatestEpisodes-legacy.js")),void 0))),SoylentShowNextRunDefault:tm((()=>u((()=>t.import("./ShowNextRun-legacy.js")),void 0))),SoylentShowSlider:tm((()=>u((()=>t.import("./ShowSlider-legacy.js")),void 0))),SoylentShowToolbarDefault:tm((()=>u((()=>t.import("./ShowToolbar-legacy.js")),void 0))),SoylentTeamListDefault:tm((()=>u((()=>t.import("./TeamList-legacy.js")),void 0))),SoylentTeamMemberDefault:tm((()=>u((()=>t.import("./TeamMember-legacy.js")),void 0))),SoylentTermListDefault:tm((()=>u((()=>t.import("./TermList-legacy.js")),void 0))),SoylentTvAppNewsFeed:tm((()=>u((()=>t.import("./TvAppNewsFeed-legacy.js")),void 0))),SoylentSocialEmbed:tm((()=>u((()=>t.import("./SocialEmbed-legacy.js")),void 0))),SoylentStructuredForm:tm((()=>u((()=>t.import("./StructuredForm-legacy.js").then((e=>e.S))),void 0)))});const nm={name:"SocialShortcuts",data:function(){return{initialItems:[]}},computed:{items(){return this.initialItems}}
21,methods:{getClassNames:function(e){return"ss-"+e.join(" ")}},mounted(){this.initialItems=window.soylent_menus?window.soylent_menus.social||[]:""}},im=window.Vue.renderList,om=window.Vue.Fragment,am=window.Vue.openBlock,sm=window.Vue.createElementBlock,rm=window.Vue.toDisplayString,lm=window.Vue.createElementVNode,cm=window.Vue.normalizeClass,um={class:"social-shortcuts"},dm=["href","target","title","aria-label"],pm=v(nm,[["render",function(e,t,n,i,o,a){return am(),sm("div",um,[(am(!0),sm(om,null,im(a.items,(e=>(am(),sm("a",{key:e.id,href:e.url,rel:"nofollow",class:cm(a.getClassNames(e.classes)),target:e.target,title:e.label,"aria-label":e.label},[lm("span",null,rm(e.label),1)],10,dm)))),128))])}]]),mm={name:"ToolbarMenu",components:{SoylentLink:cu,SocialShortcuts:pm},computed:{socialShortcutsComponent:function(){return Mi.getByName("socialShortcuts",pm)},bookmarksUrl:function(){return"favorites_url"in window.soylent_settings?window.soylent_settings.favorites_url:null}},methods:{toggleSearch:function(){document.querySelector("body").style.overflow="hidden",this.$store.dispatch("toggleSearch")}}},hm=window.Vue.createElementVNode,wm=window.Vue.resolveComponent,fm=window.Vue.withCtx,gm=window.Vue.openBlock,vm=window.Vue.createBlock,ym=window.Vue.createCommentVNode,bm=window.Vue.resolveDynamicComponent,_m=window.Vue.createElementBlock,km={class:"toolbar"},Sm={class:"toolbar__buttons"},Vm=v(mm,[["render",function(e,t,n,i,o,a){const s=wm("soylent-link");return gm(),_m("div",km,[hm("div",Sm,[hm("button",{class:"toolbar__button --search","aria-label":"Suche anzeigen",onClick:t[0]||(t[0]=(...e)=>a.toggleSearch&&a.toggleSearch(...e))},[...t[1]||(t[1]=[hm("span",{class:"toolbar__button__label"},"Suche",-1)])]),a.bookmarksUrl?(gm(),vm(s,{key:0,url:a.bookmarksUrl,class:"toolbar__button --bookmark","aria-label":"Lesezeichen anzeigen"},{default:fm((()=>[...t[2]||(t[2]=[hm("span",{class:"toolbar__button__label"},"Lesezeichen",-1)])])),_:1},8,["url"])):ym("",!0)]),(gm(),vm(bm(a.socialShortcutsComponent)))])}]]),Em={name:"MainMenu",components:{MenuItem:(0,window.Vue.defineAsyncComponent)((()=>u((()=>Promise.resolve().then((()=>ow))),void 0)))},data:function(){return{initialItems:[]}},computed:{items(){return this.initialItems}},mounted(){this.initialItems=window.soylent_menus?window.soylent_menus.primary||[]:""}},Am=window.Vue.renderList,Cm=window.Vue.Fragment,Bm=window.Vue.openBlock,Tm=window.Vue.createElementBlock,xm=window.Vue.resolveComponent,Im=window.Vue.createBlock,Nm=window.Vue.createElementVNode,Dm={class:"nav-wrapper"},Om={id:"primary-navigation",class:"site-navigation primary-navigation",role:"navigation"},Lm={class:"menu-main-container"},Pm={id:"menu-main",class:"nav-menu"},Mm=v(Em,[["render",function(e,t,n,i,o,a){const s=xm("menu-item");return Bm(),Tm("div",Dm,[Nm("nav",Om,[Nm("div",Lm,[Nm("ul",Pm,[(Bm(!0),Tm(Cm,null,Am(a.items,(e=>(Bm(),Im(s,{key:e.id,item:e},null,8,["item"])))),128))])])])])}]]),Rm={name:"WeatherButton",data:()=>({url:window.soylent_settings.weather_url}),computed:{currentData(){return this.$store.getters.currentData?this.$store.getters.currentData:{}},currentTemperature(){if(this.currentData.weather&&this.currentData.weather.length>0)return Math.round(this.currentData.weather[0].temperature)},weatherIcon(){if(this.currentData.weather&&this.currentData.weather.length>0)return this.currentData.weather[0].icon},weatherClass(){if(this.currentData.weather&&this.currentData.weather.length>0)return this.currentData.weather[0].class}},methods:{closeMenu:function(){this.$store.dispatch("closeMenu")}}},zm=window.Vue.createElementVNode,jm=window.Vue.normalizeClass,$m=window.Vue.toDisplayString,Um=window.Vue.resolveComponent,Fm=window.Vue.withCtx,Hm=window.Vue.openBlock,Gm=window.Vue.createBlock,Wm={class:"control-panel__bottom-button__item__icon icon"},qm={class:"temperature"},Ym=v(Rm,[["render",function(e,t,n,i,o,a){const s=Um("router-link");return Hm(),Gm(s,{class:jm(["control-panel__bottom-button__item weather-button",a.weatherClass]),onClick:a.closeMenu,href:o.url,to:e.$routerLink(o.url)},{default:Fm((()=>[t[0]||(t[0]=zm("span",{class:"control-panel__bottom-button__item__label label"},"Wetter",-1)),zm("div",Wm,[zm("em",{class:jm(["weather-icon wi",a.weatherIcon])},null,2),zm("em",qm,$m(a.currentTemperature)+"°",1)])])),_:1},8,["onClick","class","href","to"])}]]),Km=window.Vue.createElementVNode,Jm=window.Vue.withCtx,Qm=window.Vue.openBlock,Zm=window.Vue.createBlock,Xm={__name:"ProfileButton",props:{url:String},setup:e=>(t,n)=>(Qm(),Zm(cu,{class:"profile-button control-panel__bottom-button__item",url:e.url},{default:Jm((()=>[...n[0]||(n[0]=[Km("span",{class:"control-panel__bottom-button__item__label"},"Profil",-1),Km("span",{class:"control-panel__bottom-button__item__icon"},[Km("em",{class:"iconSet"},"account_circle")],-1)])])),_:1},8,["url"]))},eh={name:"BottomButton",components:{ProfileButton:Xm,WeatherButton:Ym},computed:{profileButton:()=>Xm,menuClasses:()=>"",weatherButtonComponent:function(){return Mi.getByName("weatherButton",Ym)},profileUrl:function(){return"profile_page"in window.soylent_settings?window.soylent_settings.profile_page:null}}}
21,th=window.Vue.resolveComponent,nh=window.Vue.openBlock,ih=window.Vue.createBlock,oh=window.Vue.createCommentVNode,ah=window.Vue.resolveDynamicComponent,sh=window.Vue.normalizeClass,rh=window.Vue.createElementBlock,lh={class:"control-panel__bottom-button"},ch={name:"AppControlPanel",components:{BottomButton:v(eh,[["render",function(e,t,n,i,o,a){const s=th("ProfileButton");return nh(),rh("div",lh,[a.profileUrl?(nh(),ih(s,{key:0,url:a.profileUrl},null,8,["url"])):oh("",!0),(nh(),ih(ah(a.weatherButtonComponent),{class:sh(a.menuClasses)},null,8,["class"]))])}]]),MainMenu:Mm,ToolbarMenu:Vm},data:function(){return{url:"/",title:"",custom_header:0,header_source:"",width:null}},computed:{mainMenuComponent:function(){return Mi.getByName("mainMenu",Mm)},menuItemsCount:()=>window.soylent_menus&&window.soylent_menus.primary?window.soylent_menus.primary.length:0,isDesktop(){return this.width>1024&&!this.isNativeApp},isMenuOpen:function(){return this.$store.getters.isMenuOpen},isNativeApp:()=>R},methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu")},closeMenu:function(){this.$store.dispatch("closeMenu")},onResize(e){this.width=window.innerWidth}},mounted(){window.addEventListener("resize",this.onResize),this.onResize()},unmounted(){window.removeEventListener("resize",this.onResize)}},uh=window.Vue.resolveDynamicComponent,dh=window.Vue.openBlock,ph=window.Vue.createBlock,mh=window.Vue.resolveComponent,hh=window.Vue.createVNode,wh=window.Vue.createElementVNode,fh=window.Vue.vShow,gh=window.Vue.withKeys,vh=window.Vue.normalizeClass,yh=window.Vue.resolveDirective,bh=window.Vue.createElementBlock,_h=window.Vue.withDirectives,kh=window.Vue.Transition,Sh=window.Vue.withCtx,Vh={class:"control-panel__scroll-container"},Eh=v(ch,[["render",function(e,t,n,i,o,a){const s=mh("ToolbarMenu"),r=mh("BottomButton"),l=yh("focustrap");return dh(),ph(kh,{name:"slide-right_slow"},{default:Sh((()=>[_h((dh(),bh("div",{class:vh(["control-panel",a.menuItemsCount>5?"--compact":""]),onKeydown:t[0]||(t[0]=gh(((...e)=>a.closeMenu&&a.closeMenu(...e)),["esc"]))},[wh("div",Vh,[(dh(),ph(uh(a.mainMenuComponent))),hh(s)]),hh(r)],34)),[[fh,a.isDesktop||!a.isDesktop&&a.isMenuOpen],[l,a.isMenuOpen]])])),_:1})}]]),Ah={name:"AppDebug",computed:{debug:function(){return this.$store.getters.pageDebugData}}},Ch=window.Vue.renderList,Bh=window.Vue.Fragment,Th=window.Vue.openBlock,xh=window.Vue.createElementBlock,Ih=window.Vue.createElementVNode,Nh=window.Vue.createCommentVNode,Dh={key:0,class:"soylent-debug-wrapper"},Oh=["innerHTML"],Lh=["innerHTML"],Ph=v(Ah,[["render",function(e,t,n,i,o,a){return a.debug?(Th(),xh("div",Dh,[(Th(!0),xh(Bh,null,Ch(a.debug,(e=>(Th(),xh("div",{key:e.id,class:"soylent-debug-item-wrapper"},[(Th(!0),xh(Bh,null,Ch(e,((e,t)=>(Th(),xh("div",{key:t.id,class:"soylent-debug-item"},[Ih("code",{innerHTML:t.replace(".../cmms-theme-imsueden",""),class:"soylent-debug-key"},null,8,Oh),Ih("code",{innerHTML:e,class:"soylent-debug-value"},null,8,Lh)])))),128))])))),128))])):Nh("",!0)}]]),Mh={name:"MainMenuSub",components:{SubMenuItem:(0,window.Vue.defineAsyncComponent)((()=>u((()=>Promise.resolve().then((()=>ow))),void 0)))},props:["items"]},Rh=window.Vue.renderList,zh=window.Vue.Fragment,jh=window.Vue.openBlock,$h=window.Vue.createElementBlock,Uh=window.Vue.resolveComponent,Fh=window.Vue.createBlock,Hh={class:"sub-menu"},Gh={name:"MenuItem",components:{SoylentLink:cu,MainMenuSub:v(Mh,[["render",function(e,t,n,i,o,a){const s=Uh("sub-menu-item");return jh(),$h("ul",Hh,[(jh(!0),$h(zh,null,Rh(n.items,(e=>(jh(),Fh(s,{key:`sub_${e.id}`,item:e},null,8,["item"])))),128))])}]])},props:["item"],computed:{itemClasses(){let e=this.item.classes;return this.item.items&&(e+=" menu-item-has-children"),e},callback(){return this.item.classes.indexOf("cmms-show-usercentrics-layer")>=0?this.usercentrics.bind(this):this.item.classes.indexOf("cmms-show-cookiebot-layer")>=0&&this.cookiebot.bind(this)}},methods:{closeMenu(){this.$store.dispatch("closeMenu")},usercentrics(){window.UC_UI&&window.UC_UI.showSecondLayer()},cookiebot(){window.Cookiebot&&window.Cookiebot.renew()},shouldOpenInNewTab:e=>"target"in e&&"_blank"===e.target}},Wh=window.Vue.toDisplayString,qh=window.Vue.createElementVNode,Yh=window.Vue.resolve
21Component,Kh=window.Vue.withCtx,Jh=window.Vue.createVNode,Qh=window.Vue.openBlock,Zh=window.Vue.createBlock,Xh=window.Vue.createCommentVNode,ew=window.Vue.normalizeClass,tw=window.Vue.createElementBlock,nw={class:"nav-label"},iw=v(Gh,[["render",function(e,t,n,i,o,a){const s=Yh("soylent-link"),r=Yh("MainMenuSub");return Qh(),tw("li",{class:ew(["item",a.itemClasses])},[Jh(s,{onClick:a.closeMenu,url:n.item.url,callback:a.callback,blank:a.shouldOpenInNewTab(n.item),class:"link"},{default:Kh((()=>[qh("span",nw,Wh(n.item.label),1)])),_:1},8,["onClick","url","callback","blank"]),n.item.items?(Qh(),Zh(r,{key:0,items:n.item.items},null,8,["items"])):Xh("",!0)],2)}]]),ow=Object.freeze(Object.defineProperty({__proto__:null,default:iw},Symbol.toStringTag,{value:"Module"})),aw={name:"FooterMenu",components:{FooterMenuItem:iw},data:function(){return{items:[]}},beforeMount(){this.items=window.soylent_menus?window.soylent_menus.footer||[]:""}},sw=window.Vue.renderList,rw=window.Vue.Fragment,lw=window.Vue.openBlock,cw=window.Vue.createElementBlock,uw=window.Vue.resolveComponent,dw=window.Vue.createBlock,pw=window.Vue.createElementVNode,mw={class:"footer-nav"},hw={class:"menu-footer-container"},ww={id:"menu-footer",class:"footer-menu"},fw=v(aw,[["render",function(e,t,n,i,o,a){const s=uw("footer-menu-item");return lw(),cw("div",mw,[pw("div",hw,[pw("ul",ww,[(lw(!0),cw(rw,null,sw(e.items,(e=>(lw(),dw(s,{class:"--text-size-xl",key:e.id,item:e},null,8,["item"])))),128))])])])}]]),gw={name:"AppFooter",components:{IdvlEditor:fa,SocialShortcuts:pm,FooterMenu:fw},data:function(){return{editorContent:window.soylent_footer??[]}}},vw=window.Vue.resolveComponent,yw=window.Vue.openBlock,bw=window.Vue.createBlock,_w=window.Vue.createCommentVNode,kw=window.Vue.createVNode,Sw=window.Vue.createElementVNode,Vw=window.Vue.createElementBlock,Ew={id:"colophon",class:"site-footer",role:"contentinfo"},Aw={class:"footer-wrapper"},Cw={class:"footer-navigation-wrapper"},Bw={class:"toolbar"},Tw=v(gw,[["render",function(e,t,n,i,o,a){const s=vw("idvl-editor"),r=vw("SocialShortcuts"),l=vw("FooterMenu");return yw(),Vw("footer",Ew,[e.editorContent?(yw(),bw(s,{key:0,blocks:e.editorContent},null,8,["blocks"])):_w("",!0),Sw("div",Aw,[Sw("div",Cw,[Sw("div",Bw,[kw(r)]),kw(l)])])])}]]),xw={name:"MenuSwitch",methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu");try{this.$store.dispatch("player/setPlayerDrawerOpen",!1)}catch(e){}}}},Iw=window.Vue.createElementVNode,Nw=window.Vue.openBlock,Dw=window.Vue.createElementBlock,Ow=v(xw,[["render",function(e,t,n,i,o,a){return Nw(),Dw("button",{"aria-label":"Menu anzeigen",class:"--mobile-only menu-switch",onClick:t[0]||(t[0]=(...e)=>a.toggleMenu&&a.toggleMenu(...e))},[...t[1]||(t[1]=[Iw("span",{class:"iconSet"},"menu",-1),Iw("span",{class:"iconSet"},"close",-1)])])}]]),Lw={name:"AppHeaderLogo",data:function(){return{homeUrl:window.soylent_settings.home_url,title:window.soylent_settings.title,headerLogo:window.soylent_settings.header_logo}},props:{forceImage:{type:Boolean,default:!0}},methods:{scrollToTop(){window.scrollTo(0,0)}}},Pw=window.Vue.createElementVNode,Mw=window.Vue.resolveComponent,Rw=window.Vue.withCtx,zw=window.Vue.openBlock,jw=window.Vue.createBlock,$w=["src","alt"],Uw=v(Lw,[["render",function(e,t,n,i,o,a){const s=Mw("router-link");return zw(),jw(s,{onClick:a.scrollToTop,class:"logo",href:e.homeUrl,to:e.$routerLink(e.homeUrl),title:e.title,"aria-label":e.title+": Zur Startseite"},{default:Rw((()=>[Pw("picture",null,[Pw("img",{src:e.headerLogo,alt:e.title},null,8,$w)])])),_:1},8,["onClick","href","to","title","aria-label"])}]]),Fw={name:"AppHeader",components:{AppHeaderLogo:Uw,MenuSwitch:Ow},mixins:[{computed:{headerLogoComponent:function(){return Mi.getByName("AppHeaderLogo",Uw)}}}],methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu")}},mounted(){this.$store.dispatch("setHeaderHeight",document.getElementById("masthead").getBoundingClientRect().height)},updated(){}},Hw=window.Vue.resolveDynamicComponent,Gw=window.Vue.openBlock,Ww=window.Vue.createBlock,qw=window.Vue.resolveComponent,Yw=window.Vue.createVNode,Kw=window.Vue.createElementVNode,Jw=window.Vue.createElementBlock,Qw={id:"masthead",class:"site-header",role:"banner"},Zw={class:"header-wrapper"},Xw={class:"header-banner"},ef=v(Fw,[["render",function(e,t,n,i,o,a){const s=qw("MenuSwitch");return Gw(),Jw("header",Qw,[Kw("div",Zw,[Kw("div",Xw,[(Gw(),Ww(Hw(e.headerLogoComponent))),Yw(s)])])])}]]),tf={cmms:{backend:{Montag:"Monday",Dienstag:"Tuesday",Mittwoch:"Wednesday",Donnerstag:"Thursday",Freitag:"Friday",Samstag:"Saturday",Sonntag:"Sunday",Januar:"Januar",Februar:"Februar","März":"März",April:"April",Mai:"Mai",Juni:"Juni",Juli:"Juli",August:"August",September:"September",Oktober:"Oktober",November:"November",Dezember:"Dezember","Bannercode hier einfügen":"Bannercode hier einfügen","Bitte bestätigen":"Bitte bestätigen","Soll dieser Banner wirklich gelöscht werden?":"Soll dieser Banner wirklich gelöscht werden?","Ja, löschen":"Ja, löschen","Nein, abbrechen":"Nein, abbrechen","Der Link wird gerade generiert, bitte warten ...":"Der Link wird gerade generiert, bitte warten ...","Dieser Link kann jetzt veröffentlicht werden und ist":"Dieser Link kann jetzt veröffentlicht werden und ist","Tage gültig.":"Tage gültig.","Ein Fehler ist aufgetreten, bitte versuche es erneut.":"Ein Fehler ist aufgetreten, bitte versuche es erneut.","speichern ...":"speichern ...",Abbrechen:"Abbrechen","SchlieÃen":"SchlieÃen","Tag eingeben und [Enter] drücken ...":"Tag eingeben und [Enter] drücken ...","Meistverwendete Tags":"Meistverwendete Tags","Passend zu deiner Eingabe":"Passend zu deiner Eingabe","Media Datei":"Media Datei","Update erzwingen":"Update erzwingen","Im neuen Tab öffnen":"Im neuen Tab öffnen","Die gewünschten Ãnderungen werden vorgenommen ...":"Die gewünschten Ãnderungen werden vorgenommen ...","Alle Ãnderungen wurden durchgeführt":"Alle Ãnderungen wurden durchgeführt","es sind dabei Fehler aufgetreten.":"es sind dabei Fehler aufgetreten.","Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.":"Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.","Die Details konnten nicht geladen werden, bitte versuche es erneut.":"Die Details konnten nicht geladen werden, bitte versuche es erneut.","Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?":"Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?",Breite:"Breite","Bearbeiten & einfügen":"Bearbeiten & einfügen",Von:"Von","Ãberschrift":"Ãberschrift","Bild wählen":"Bild wählen",Entfernen:"Entfernen",Deaktivieren:"Deaktivieren",Bis:"Bis","Die Daten sind n
21och nicht erfolgreich übermittelt worden. Soll die Ãbertragung wirklich abgebrochen werden?":"Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Ãbertragung wirklich abgebrochen werden?","Einfügen":"Einfügen","Format auswählen":"Format auswählen","Medium einfügen":"Medium einfügen",Zeichen:"Chars","Wörter":"Words","In die Zwischenablage kopieren":"Copy to clipboard"}}},nf={de_DE:{cmms:{backend:{Montag:"Montag",Dienstag:"Dienstag",Mittwoch:"Mittwoch",Donnerstag:"Donnerstag",Freitag:"Freitag",Samstag:"Samstag",Sonntag:"Sonntag",Januar:"Januar",Februar:"Februar","März":"März",April:"April",Mai:"Mai",Juni:"Juni",Juli:"Juli",August:"August",September:"September",Oktober:"Oktober",November:"November",Dezember:"Dezember","Bannercode hier einfügen":"Bannercode hier einfügen","Bitte bestätigen":"Bitte bestätigen","Soll dieser Banner wirklich gelöscht werden?":"Soll dieser Banner wirklich gelöscht werden?","Ja, löschen":"Ja, löschen","Nein, abbrechen":"Nein, abbrechen","Der Link wird gerade generiert, bitte warten ...":"Der Link wird gerade generiert, bitte warten ...","Dieser Link kann jetzt veröffentlicht werden und ist":"Dieser Link kann jetzt veröffentlicht werden und ist","Tage gültig.":"Tage gültig.","Ein Fehler ist aufgetreten, bitte versuche es erneut.":"Ein Fehler ist aufgetreten, bitte versuche es erneut.","speichern ...":"speichern ...",Abbrechen:"Abbrechen","SchlieÃen":"SchlieÃen","Tag eingeben und [Enter] drücken ...":"Tag eingeben und [Enter] drücken ...","Meistverwendete Tags":"Meistverwendete Tags","Passend zu deiner Eingabe":"Passend zu deiner Eingabe","Media Datei":"Media Datei","Update erzwingen":"Update erzwingen","Im neuen Tab öffnen":"Im neuen Tab öffnen","Die gewünschten Ãnderungen werden vorgenommen ...":"Die gewünschten Ãnderungen werden vorgenommen ...","Alle Ãnderungen wurden durchgeführt":"Alle Ãnderungen wurden durchgeführt","es sind dabei Fehler aufgetreten.":"es sind dabei Fehler aufgetreten.","Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.":"Die Mediathek konnte leider nicht geladen werden, versuche es bitte erneut.","Die Details konnten nicht geladen werden, bitte versuche es erneut.":"Die Details konnten nicht geladen werden, bitte versuche es erneut.","Möchtest du dieses Medium direkt einfügen, oder es zuerst bearbeiten?":"Möchtest du dieses Bild direkt einfügen, oder es zuerst bearbeiten?",Breite:"Breite","Bearbeiten & einfügen":"Bearbeiten & einfügen",Von:"Von","Ãberschrift":"Ãberschrift","Bild wählen":"Bild wählen",Entfernen:"Entfernen",Deaktivieren:"Deaktivieren",Bis:"Bis","Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Ãbertragung wirklich abgebrochen werden?":"Die Daten sind noch nicht erfolgreich übermittelt worden. Soll die Ãbertragung wirklich abgebrochen werden?","Einfügen":"Einfügen","Format auswählen":"Format auswählen","Medium einfügen":"Medium einfügen",Zeichen:"Zeichen","Wörter":"Wörter","In die Zwischenablage kopieren":"In die Zwischenablage kopieren",pool__explorer__c
21onfiguration_missing:"Die Explorer-Konfiguration fehlt, es können keine Beiträge angezeigt werden"}}},en_GB:{...tf},en_US:tf};class of{static#g="de_DE";static __(e="",t="cmms",...n){const i=of.getObjectByNamespace(t)[e]||e;return of.#v(i,...n)}static _n(e,t=null,n=0,i="cmms",...o){let a=of.getObjectByNamespace(i),s=1===n?e:t;return of.#v((a[s]||"").replace(/%d/g,n)||s.replace(/%d/g,n),...o)}static _j(e){let t=of.#y();return"object"!=typeof e?e:e[t]?e[t]:e[of.#g]?e[of.#g]:e[Object.keys(e)[0]]}static getObjectByNamespace(e=""){const t=of.#y();if(!nf[t])return{};e=e.split(".");let n=nf[t];for(;e.length>0;){let i=e.shift();if(!i.length||!nf[t][i])return{...n};n=n[i]}return{...n}}static#y(){return window.cmmsLocale??of.#g}static#v=(e="",...t)=>t.length?(e.match(/(%[\d]+)/g).forEach((n=>{e=e.replace(new RegExp(n),t[parseInt(n.substr(1),10)-1]||"")})),e):e}const af={name:"AppSearch",data:function(){return{searchInput:"",selectedGroup:(window.soylent_settings?.search??{}).default_group??""}},computed:{isVisible(){return this.$store.getters.isSearchOpen},filterOptions:()=>window.soylent_settings?.search?.filter_options??[]},methods:{t:function(e){return of.__(e,"cmms")},toggleSearch:function(){document.querySelector("body").style.removeProperty("overflow"),this.$store.dispatch("toggleSearch")},submit:function(){const e=this.searchInput.trim();if(!e)return;this.closeMenu(),this.toggleSearch();let t=`/suche/${encodeURIComponent(e)}/`;this.selectedGroup&&(t+=`gruppe/${encodeURIComponent(this.selectedGroup)}/`),window.pll_current_language&&(t=`/${window.pll_current_language}${t}`),this.$router.push(t),this.searchInput=""},closeMenu:function(){this.$store.dispatch("closeMenu")}}},sf=window.Vue.vModelText,rf=window.Vue.withKeys,lf=window.Vue.createElementVNode,cf=window.Vue.withDirectives,uf=window.Vue.toDisplayString,df=window.Vue.renderList,pf=window.Vue.Fragment,mf=window.Vue.openBlock,hf=window.Vue.createElementBlock,wf=window.Vue.vModelRadio,ff=window.Vue.normalizeClass,gf=window.Vue.createCommentVNode,vf=window.Vue.withModifiers,yf=window.Vue.resolveDirective,bf=window.Vue.Transition,_f=window.Vue.withCtx,kf=window.Vue.createBlock,Sf={class:"search-box-wrapper"},Vf={class:"search-box",ref:"search"},Ef={class:"input-wrapper"},Af=["placeholder"],Cf={key:0,class:"search-box__filter"},Bf={class:"search-box__filter__header"},Tf={class:"search-box__filter__group"},xf=["value"],If={class:"search-box__filter__group__item__text"},Nf=v(af,[["render",function(e,t,n,i,o,a){const s=yf("focustrap");return mf(),kf(bf,{name:"fade_fast"},{default:_f((()=>[a.isVisible?cf((mf(),hf("div",{key:0,class:"main-search-form",role:"dialog",onClick:t[5]||(t[5]=vf(((...e)=>a.toggleSearch&&a.toggleSearch(...e)),["self"])),onKeydown:t[6]||(t[6]=rf(vf(((...e)=>a.toggleSearch&&a.toggleSearch(...e)),["stop"]),["esc"]))},[lf("div",Sf,[lf("div",Vf,[lf("div",Ef,[cf(lf("input",{ref:"searchInput",type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.searchInput=t),onKeydown:t[1]||(t[1]=rf(((...e)=>a.submit&&a.submit(...e)),["enter"])),class:"search-field theme__input",name:"s",autocomplete:"off",placeholder:a.t("Suchen")},null,40,Af),[[sf,e.searchInput]]),lf("button",{class:"search-submit iconSet",onClick:t[2]||(t[2]=(...e)=>a.submit&&a.submit(...e))},"search")]),a.filterOptions.length?(mf(),hf("div",Cf,[lf("span",Bf,uf(a.t("Suchen in"))+":",1),lf("div",Tf,[(mf(!0),hf(pf,null,df(a.filterOptions,(n=>(mf(),hf("label",{key:n.group,class:ff(["search-box__filter__group__item","--"+(n.group||"all")])},[cf(lf("input",{"onUpdate:modelValue":t[3]||(t[3]=t=>e.selectedGroup=t),class:"search-box__filter__group__item__input",type:"radio",name:"group",value:n.group},null,8,xf),[[wf,e.selectedGroup]]),lf("span",If,uf(n.label),1)],2)))),128))])])):gf("",!0),lf("button",{class:"close iconSet",onClick:t[4]||(t[4]=(...e)=>a.toggleSearch&&a.toggleSearch(...e))},"close")],512)])],32)),[[s]]):gf("",!0)])),_:1})}]]),Df=window.Vue.createElementVNode,Of=window.Vue.withModifiers,Lf=window.Vue.normalizeClass,Pf=window.Vue.openBlock,Mf=window.Vue.createElementBlock,Rf=window.Vue.onBeforeUnmount,zf=window.Vue.onMounted,jf=window.Vue.ref,$f={__name:"ScrollToTop",setup(e){const t=jf(!1),n=()=>{window.scrollTo(0,0)},i=()=>{t.value=window.scrollY>0};return zf((()=>{window.addEventListener("scroll",i,{passive:!0})}
21)),Rf((()=>{window.removeEventListener("scroll",i,{passive:!0})})),(e,i)=>(Pf(),Mf("div",{class:Lf(["to-top",{"--active":t.value}]),onClick:Of(n,["stop","prevent"])},[...i[0]||(i[0]=[Df("span",{class:"icon iconSet"},"expand_less",-1)])],2))}},Uf=(0,window.Vue.defineComponent)({name:"AppBottomBar",components:{SoylentLink:cu},computed:{homeUrl:function(){return"app_home"in window.soylent_settings?window.soylent_settings.app_home:null},videosUrl:function(){return"app_videos"in window.soylent_settings?window.soylent_settings.app_videos:null},postsUrl:function(){return"app_posts"in window.soylent_settings?window.soylent_settings.app_posts:null},liveUrl:function(){return"app_live"in window.soylent_settings?window.soylent_settings.app_live:null},myTVUrl:function(){return"app_my_tv"in window.soylent_settings?window.soylent_settings.app_my_tv:null},isAppHome(){return"/__/soylent/app/home/"===this.$route.path}},mounted(){}}),Ff=window.Vue.createElementVNode,Hf=window.Vue.resolveComponent,Gf=window.Vue.normalizeClass,Wf=window.Vue.withCtx,qf=window.Vue.openBlock,Yf=window.Vue.createBlock,Kf=window.Vue.createCommentVNode,Jf=window.Vue.createElementBlock,Qf={class:"app-bottom-bar"},Zf={class:"app-bottom-bar__navigation"},Xf=v(Uf,[["render",function(e,t,n,i,o,a){const s=Hf("soylent-link");return qf(),Jf("div",Qf,[Ff("div",Zf,[e.homeUrl&&""!==e.homeUrl?(qf(),Yf(s,{key:0,class:Gf(["app-bottom-bar__navigation__item",e.isAppHome?"--active":""]),url:e.homeUrl},{default:Wf((()=>[...t[0]||(t[0]=[Ff("span",{class:"app-bottom-bar__navigation__item__icon iconSet"},"home",-1),Ff("span",{class:"app-bottom-bar__navigation__item__label"},"Home",-1)])])),_:1},8,["class","url"])):Kf("",!0),e.videosUrl&&""!==e.videosUrl?(qf(),Yf(s,{key:1,class:"app-bottom-bar__navigation__item",url:e.videosUrl},{default:Wf((()=>[...t[1]||(t[1]=[Ff("span",{class:"app-bottom-bar__navigation__item__icon iconSet"},"apps",-1),Ff("span",{class:"app-bottom-bar__navigation__item__label"},"Videos",-1)])])),_:1},8,["url"])):Kf("",!0),e.postsUrl&&""!==e.postsUrl?(qf(),Yf(s,{key:2,class:"app-bottom-bar__navigation__item",url:e.postsUrl},{default:Wf((()=>[...t[2]||(t[2]=[Ff("span",{class:"app-bottom-bar__navigation__item__icon iconSet"},"library_books",-1),Ff("span",{class:"app-bottom-bar__navigation__item__label"},"Beiträge",-1)])])),_:1},8,["url"])):Kf("",!0),e.liveUrl&&""!==e.liveUrl?(qf(),Yf(s,{key:3,class:"app-bottom-bar__navigation__item",url:e.liveUrl},{default:Wf((()=>[...t[3]||(t[3]=[Ff("span",{class:"app-bottom-bar__navigation__item__icon iconSet"},"dvr",-1),Ff("span",{class:"app-bottom-bar__navigation__item__label"},"Live",-1)])])),_:1},8,["url"])):Kf("",!0),e.myTVUrl&&""!==e.myTVUrl?(qf(),Yf(s,{key:4,class:"app-bottom-bar__navigation__item",url:e.myTVUrl},{default:Wf((()=>[...t[4]||(t[4]=[Ff("span",{class:"app-bottom-bar__navigation__item__icon iconSet"},"bookmark",-1),Ff("span",{class:"app-bottom-bar__navigation__item__label"},"Mein TV",-1)])])),_:1},8,["url"])):Kf("",!0)])])}]]),eg={name:"AdHeaderBanner",data:function(){return{refreshTimer:null}},computed:{headerBanner:function(){return this.loading?"":window.soylent_settings.header_banner||""},loading:function(){return this.$store.getters.isLoading}},methods:{enqueueScript:function(){window.reviveAsync?this.refreshBanner():(wp(this.$refs.container,!1),this.$refs.container.querySelectorAll("script").forEach((e=>{const t=document.createElement("script");t.src=e.src,t.async=e.async,document.body.appendChild(t)})))},refreshBanner:function(){clearTimeout(this.refreshTimer),window.reviveAsync?wp(this.$refs.container):this.refreshTimer=setTimeout((()=>{this.refreshBanner()}),1e3)}},mounted(){this.enqueueScript()},updated(){this.refreshBanner()}},tg=window.Vue.openBlock,ng=window.Vue.createElementBlock,ig=["innerHTML"],og=v(eg,[["render",function(e,t,n,i,o,a){return tg(),ng("div",{class:"thirdPartyDelivery --zone-header",ref:"container",innerHTML:a.headerBanner},null,8,ig)}]]),ag={name:"OtvAppFooter",components:{IdvlEditor:fa,SocialShortcuts:pm,FooterMenu:fw},data:function(){return{editorContent:window.soylent_footer??[]}},computed:{showFooterContent:function(){return!this.$store.getters.pageData.meta||!0!==this.$store.getters.pageData.meta.hide_footer_content}}}
21,sg=window.Vue.resolveComponent,rg=window.Vue.openBlock,lg=window.Vue.createBlock,cg=window.Vue.createCommentVNode,ug=window.Vue.createVNode,dg=window.Vue.createElementVNode,pg=window.Vue.createElementBlock,mg={id:"colophon",class:"site-footer",role:"contentinfo"},hg={class:"footer-wrapper"},wg={class:"footer-navigation-wrapper"},fg={class:"toolbar"},gg=v(ag,[["render",function(e,t,n,i,o,a){const s=sg("idvl-editor"),r=sg("SocialShortcuts"),l=sg("FooterMenu");return rg(),pg("footer",mg,[e.editorContent&&a.showFooterContent?(rg(),lg(s,{key:0,blocks:e.editorContent},null,8,["blocks"])):cg("",!0),dg("div",hg,[dg("div",wg,[dg("div",fg,[ug(r)]),ug(l)])])])}]]),vg=window.Vue.resolveDynamicComponent,yg=window.Vue.normalizeClass,bg=window.Vue.openBlock,_g=window.Vue.createBlock,kg=window.Vue.computed;window.Vue.onMounted;const Sg=window.Vue.ref,Vg={__name:"HtmlBlock",props:{htmlContent:String,active:Boolean},setup(e){const t=e,n=Sg(null),i=kg((()=>function(e){const t=(e=e.trim()).match(/^<([a-zA-Z0-9-]+)(\s[^>]*)?>/);if(!t)return e;const n=t[1].toLowerCase();if(new Set(["a","strong","em","span","b","i","u","small","sub","sup","code","img"]).has(n))return e;const i=e.match(new RegExp(`^<${n}[^>]*>([\\s\\S]*?)<\\/${n}>$`,"i"));return i?i[1]:e}(t.htmlContent))),o=kg((()=>a(t.htmlContent))),a=e=>{const t=(e=e.trim()).match(/^<\s*([a-zA-Z0-9-]+)/);return t?t[1].toLowerCase():"span"};return(t,a)=>(bg(),_g(vg(o.value),{ref_key:"container",ref:n,innerHTML:i.value+" ",class:yg(e.active?"--highlight":"")},null,8,["innerHTML","class"]))}},Eg=window.Vue.createVNode,Ag=window.Vue.createElementVNode,Cg=window.Vue.toDisplayString,Bg=window.Vue.openBlock,Tg=window.Vue.createElementBlock,xg=window.Vue.createCommentVNode,Ig=window.Vue.normalizeClass,Ng={key:0,class:"media-content"},Dg={style:{}},Og={class:""},Lg={key:0},Pg={key:1,class:"reader__content__media__headline"},Mg={key:2,class:"reader__content__media__subline"},Rg=window.Vue.computed,zg={__name:"MediaBlock",props:{media:Object,active:Boolean},setup(e){const t=e,n=Rg((()=>"image"===t.media?.data.media_data.type?t.media?.data.media_data.model:t.media?.data.media_data.model.image));return(t,i)=>(Bg(),Tg("div",{class:Ig(["reader__content__media",e.active?"--highlight":""])},[n.value?(Bg(),Tg("div",Ng,[Ag("figure",Dg,[Ag("picture",Og,[Eg(Yo,{image:n.value},null,8,["image"])]),n.value?.copyright&&""!==n.value.copyright?(Bg(),Tg("figcaption",Lg,Cg(n.value.copyright),1)):xg("",!0)])])):xg("",!0),e.media.data.headline?(Bg(),Tg("span",Pg,Cg(e.media.data.headline),1)):xg("",!0),e.media.data.subline?(Bg(),Tg("span",Mg,Cg(e.media.data.subline),1)):xg("",!0)],2))}},jg=window.Vue.createElementVNode,$g=window.Vue.normalizeClass,Ug=window.Vue.openBlock,Fg=window.Vue.createElementBlock,Hg=window.Vue.createCommentVNode,Gg=window.Vue.vModelSelect,Wg=window.Vue.withDirectives,qg=window.Vue.toDisplayString,Yg=window.Vue.createTextVNode,Kg=window.Vue.vModelText,Jg=window.Vue.unref,Qg=window.Vue.Fragment,Zg=window.Vue.renderList,Xg=window.Vue.resolveDynamicComponent,ev=window.Vue.mergeProps,tv=window.Vue.createBlock,nv=window.Vue.withKeys,iv=window.Vue.normalizeStyle,ov=window.Vue.resolveDirective,av=window.Vue.createStaticVNode,sv=["data-theme"],rv={class:"reader__tools"},lv={class:"reader__tools__button-wrapper"},cv={key:0,class:"reader__tools__button-tooltip"},uv={key:1,role:"dialog",class:"reader__tools__dialog"},dv={class:"reader__tools__dialog__label"},pv={class:"reader__tools__dialog__label"},mv={class:"reader__tools__dialog__label__title"},hv={class:"reader__tools__dialog__label"},wv={class:"reader__tools__dialog__label__title"},fv={key:3,class:"reader__tools__button-wrapper"},gv={class:"reader__tools__button-wrapper"},vv={class:"reader__content"},yv=window.Vue.onMounted,bv=window.Vue.onUnmounted,_v=window.Vue.ref,kv=window.Vue.watch,Sv={__name:"Reader",setup(e){const t=Ln(),n=_v(null),i=_v(""),o=_v(!1),a=_v([]),s=_v(-1),r=window.speechSynthesis;let l=null,c=!1,u=_v(!1);const d=()=>{t.dispatch("reader/hideReader")},p=()=>{if(i.value=[],A.value&&a.value)return void a.value.forEach(((e,t)=>{if(e.startsWith("**")&&e.endsWith("**")){let n=e.slice(2,-2);const o=0===t?"h1":"h2";i.value.push({type:"html",component:Vg,content:"<"+o+">"+n+"</"+o+">",plainText:n})}else i.value.push({type:"html",content:`<p>${e}</p>`,component:Vg,plainText:O(e)})}));const e="pageDataModal"in t.getters?t.getters.pageDataModal?.blocks:t.getters.pageData?.blocks;i.value=[],e.forEach((e=>
21{e.elements.forEach((e=>{switch(e.subtype){case"postTeaser":i.value.push({type:"html",component:Vg,content:e.data.text,plainText:e.data.text});break;case"html":let n=[];try{n=function(e,t={}){e=function(e){const t=(new DOMParser).parseFromString(e,"text/html"),n="section, article";return Array.from(t.querySelectorAll(n)).reverse().forEach((e=>{const t=e.parentNode;for(;e.firstChild;)t.insertBefore(e.firstChild,e);e.remove()})),t.body.innerHTML}(e=e.trim());const{listMode:n="container"}=t,i=document.createElement("div");i.innerHTML=e.trim();const o=[],a=["P","DIV","H1","H2","H3","H4","H5","H6"],s=["BLOCKQUOTE","TABLE","DETAILS","HR","SECTION","ARTICLE","ASIDE","HEADER","FOOTER","NAV","ADDRESS"],r=/(?<!\b(?:Dr|Prof|Dipl\.?-?Ing|BSc|MSc|Ing|Mag|Sr|Jr))(?<!\b\d)([.?!])\s*(?=\s*[A-ZÃÃÃ(»])/gi;function l(e){return Array.from(e.attributes).map((e=>` ${e.name}="${e.value}"`)).join("")}function c(e){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return"";const t=e.tagName.toLowerCase();let n=`<${t}${l(e)}>`;return e.childNodes.forEach((e=>{n+=c(e)})),n+=`</${t}>`,n}function u(e){const t=document.createElement("div");t.innerHTML=e;const n=[];let i="";function o(){if(i.trim()){const e=i.replace(r,"$1###SPLIT###").split("###SPLIT###").map((e=>e.trim())).filter(Boolean);n.push(...e)}i=""}function a(e){if(e.nodeType!==Node.TEXT_NODE){if(e.nodeType===Node.ELEMENT_NODE){const t=window.getComputedStyle(e).display;if("block"!==t&&"table"!==t)return o(),void n.push(c(e));o(),n.push(e.outerHTML)}}else i+=e.textContent}return t.childNodes.forEach(a),o(),n}function d(e){const t=u(e.innerHTML),n=`<${e.tagName}${l(e)}>`,i=`</${e.tagName}>`;t.forEach(((e,a)=>{let s=e.trim();0===a&&(s=n+s),a===t.length-1&&(s+=i),o.push(s)}))}function p(e){if(e.nodeType===Node.TEXT_NODE){const t=e.textContent.trim();if(!t)return;const n=t.replace(r,"$1###SPLIT###").split("###SPLIT###").map((e=>e.trim())).filter(Boolean);return void o.push(...n)}if(e.nodeType!==Node.ELEMENT_NODE)return;const t=e.tagName;s.includes(t)?o.push(e.outerHTML.trim()):a.includes(t)?d(e):e.childNodes.forEach(p)}return i.childNodes.forEach(p),o}(e.data.text)}catch(t){console.error("Fehler beim Ausführen: Die Funktion benötigt eine DOM-Umgebung (Browser oder JSDOM).",t)}n.length>0?n.forEach(((e,t)=>{i.value.push({type:"html",content:e,component:Vg,plainText:O(e)})})):i.value.push({type:"html",content:e.data.text});break;case"headline":const o=e.data.tag?e.data.tag:"h1";i.value.push({type:"html",component:Vg,content:"<"+o+">"+e.data.text+"</"+o+">",plainText:e.data.text});break;case"media":let a="Medium:";e.data.headline?(a+=" "+e.data.headline,e.data.subline&&(a+=" "+e.data.subline)):e.data.media_data.model.alt&&""!=e.data.media_data.model.alt?a+=" "+e.data.media_data.model.alt:a+=" ohne Beschreibung",i.value.push({type:"component",component:zg,props:{media:e},plainText:a})}}))}))},m=()=>{o.value?u.value?speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?h():(u.value=!1,r.resume()):speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?w():(u.value=!0,r.pause()):h()},h=()=>{r?(w(),o.value=!0,s.value=0,c=!1,u.value=!1,f(s.value)):console.error("TTS nicht verfügbar oder keine Segmente gefunden.")},w=()=>{r.cancel(),o.value=!1,s.value=-1,l=null},f=e=>{if(c)return;if(e>=i.value.length)return void w();s.value=e;const t=i.value[e].plainText;l=new SpeechSynthesisUtterance(t),l.lang="de",l.onend=()=>{o.value&&f(e+1)},l.onerror=t=>{console.error(`TTS Error bei Segment ${e}:`,t.error),f(e+1)},r.speak(l),r.resume(),L("text-segment-"+e)},g=_v(!1),v="settings.isDarkMode",y="settings.isSimpleMode",b="settings.fontFamily",_="settings.fontSize",k="settings.lineHeight",S=(e,t)=>{const n=localStorage.getItem(e);try{return null!==n?JSON.parse(n):t}catch{return t}},V=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},E=_v(S(v,!1)),A=_v(S(y,!1)),C=_v(S(b,"sans-serif")),B=_v(S(_,20)),T=_v(S(k,.75));kv(E,(e=>V(v,e))),kv(A,(e=>V(y,e))),kv(C,(e=>V(b,e))),kv(B,(e=>V(_,e))),kv(T,(e=>V(k,e)));const x=()=>{g.value?g.value=!1:d()},I=()=>{E.value=!E.value},N=()=>{A.value=!A.value,p()},D=()=>{g.value=!g.value};function O(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}const L=e=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})};return yv((()=>{c=!1,u.value=!1,a.value=t.getters.pageData?.accessibility?.simple_language,p(),t.getters["reader/autoplay"]&&(t.dispatch("reader/setReaderAutoplay",!1),h())})),bv((()=>{w(),c=!0,u.value=!0,setTimeout((()=>{r.cancel(),r.pause()}),100)})),(e,t)=>{const r=ov("focustrap");return Wg((Ug(),Fg("div",{onKeydown:nv(x,["esc"]),"data-theme":E.value?"dark":"light",role:"dialog","aria-modal":"true",class:"reader",style:iv("--font-family:"+C.value+";--font-size:"+B.value+"px;--font-line-height-ratio:"+T.value+";")},[jg("div",rv,[jg("div",{class:"reader__tools__button-wrapper"},[jg("button",{onClick:d,class:"reader__tools__button iconSet","aria-label":"Leseansicht schlieÃen"}," close "),t[3]||(t[3]=jg("span",{class:"reader__tools__button-tooltip"},"Leseansicht schlieÃen",-1))]),jg("div",lv,[jg("button",{onClick:D,class:$g(["reader__tools__button iconSet",[g.value?"--active":""]]),"aria-label":"Schrifteinstellungen"},"text_fields ",2),g.value?Hg("",!0):(Ug(),Fg("span",cv,"Schrifteinstellungen"))]),g.value?(Ug(),Fg("div",{key:0,onClick:D,class:"reader__tools__dialog-backdrop"})):Hg("",!0),g.value?(Ug(),Fg("div",uv,[jg("label",dv,[t[5]||(t[5]=jg("span",{class:"reader__tools__dialog__label__title"},"Schriftart",-1)),Wg(jg("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>C.value=e)},[...t[4]||(t[4]=[av('<option value="sans-serif">Sans Serif</option><option value="serif">Serif</option><option value="monospace">Monospace</option><option value="system-ui">System</option><option value="cursive">Schreibschrift</option>
21',5)])],512),[[Gg,C.value]])]),jg("label",pv,[jg("span",mv,[t[6]||(t[6]=Yg("Schriftgrad ",-1)),jg("span",null,qg(B.value)+"px",1)]),Wg(jg("input",{type:"range",min:"12",max:"64",step:"4","onUpdate:modelValue":t[1]||(t[1]=e=>B.value=e)},null,512),[[Kg,B.value,void 0,{number:!0}]])]),jg("label",hv,[jg("span",wv,[t[7]||(t[7]=Yg("Zeilenhöhe ",-1)),jg("span",null,qg(T.value+1),1)]),Wg(jg("input",{type:"range",min:"0",max:"2",step:"0.25","onUpdate:modelValue":t[2]||(t[2]=e=>T.value=e)},null,512),[[Kg,T.value,void 0,{number:!0}]])])])):Hg("",!0),Jg(R)?Hg("",!0):(Ug(),Fg("div",{key:2,class:"reader__tools__button-wrapper",onClick:m},[jg("button",{class:$g(["reader__tools__button iconSet",[o.value&&!Jg(u)?"--active":""]]),"aria-label":"Artikel anhören"},[o.value&&!Jg(u)?(Ug(),Fg(Qg,{key:0},[Yg("pause")],64)):(Ug(),Fg(Qg,{key:1},[Yg("headphones")],64))],2),t[8]||(t[8]=jg("span",{class:"reader__tools__button-tooltip"},"Artikel anhören",-1))])),a.value?(Ug(),Fg("div",fv,[jg("button",{onClick:N,class:$g(["reader__tools__button iconSet",[A.value?"--active":""]]),"aria-label":"Einfache Sprache umschalten"}," local_library ",2),t[9]||(t[9]=jg("span",{class:"reader__tools__button-tooltip"},"Einfache Sprache",-1))])):Hg("",!0),jg("div",gv,[jg("button",{onClick:I,class:"reader__tools__button iconSet","aria-label":"Farbschema umschalten"},[E.value?(Ug(),Fg(Qg,{key:0},[Yg("light_mode")],64)):(Ug(),Fg(Qg,{key:1},[Yg("dark_mode")],64))]),t[10]||(t[10]=jg("span",{class:"reader__tools__button-tooltip"},"Farbschema",-1))])]),jg("div",vv,[jg("div",{class:"reader__content__text",ref_key:"contentRef",ref:n},[(Ug(!0),Fg(Qg,null,Zg(i.value,((e,t)=>(Ug(),tv(Xg(e.component),ev({key:`text-segment-${t}`},{ref_for:!0},e.props,{"html-content":e.content+" ",active:t===s.value,id:`text-segment-${t}`}),null,16,["html-content","active","id"])))),128))],512)])],44,sv)),[[r]])}}},Vv=new class{#b=!1;#_=0;init(){this.#b||(this.#b=!0,Aa.onPayload(this.#k.bind(this),"event"),Aa.sendPayload({type:"setupMessaging"}))}#k(e){const{eventType:t,data:n}=e;switch(t){case"messagingReady":this.#S(n);break;case"messagingNotification":this.#V(n)}}#S(e){if(!e.length)return this.#_<10?void setTimeout(this.#E.bind(this),3e3):void 0;Vi.dispatch("arabella/setPushToken",e),hi({url:"/cmms-api-v2/push/register/",params:{token:e}})}#E(){this.#_++,Aa.sendPayload({type:"registerMessaging"})}#V(e){const t=e||null;if(console.log("[notify]",t),null!==t)if(t.data&&t.data.mid&&hi({url:"/cmms-api-v2/push/read/",params:{token:Vi.getters["arabella/getPushToken"],mid:t.data.mid}}),"open"!==t.type&&"background"!==t.type||!t.data.url){if(t.data.message){let e=null;t.data.url&&(e={label:"Ansehen",callback:()=>{Oa.push(Ra(t.data.url))}}),Vi.dispatch("notifications/enqueue",{type:"push",payload:{message:t.data.message||"",cta:e}})}}else Oa.push(Ra(t.data.url))}},Ev=new class{#b=!1;#A=null;#C=5;#B=26784e5;init(){this.#b||(console.log("[SoylentStoreReview] Initialized"),this.#b=!0,!0===("soylent_settings"in window&&window.soylent_settings.app_review_prompt||!1)?(this.#A=new nr("soylent.app.storeReview"),this.#A.set("appStarts",this.#A.get("appStarts",0)+1),this.checkReviewRequest()):console.log("[SoylentStoreReview] Not enabled"))}checkReviewRequest(){if(parseInt(this.#A.get("appStarts",0),10)<this.#C)return void console.log("[SoylentStoreReview] Do not ask, current start count is less then "+this.#C);const e=Date.now()-parseInt(this.#A.get("reviewRequestedTimestamp",0),10);e<this.#B?console.log("[SoylentStoreReview] Do not ask, current timestamp difference is "+e+" needs to exceed "+this.#B):(this.#A.set("appStarts",0),this.#A.set("reviewRequestedTimestamp",Date.now()),Aa.sendPayload({type:"requestStoreReview"}),console.log("[SoylentStoreReview] Review Request sent to bridge"))}},Av=new class{#T=!1;#x=!1;#I=null;init(){R&&(document.getElementsByTagName("html")[0].classList.add("--native"),Aa.onPayload(this.#N.bind(this),"@register"),Aa.onPayload((e=>{const{eventType:t}=e;if(this.#T)switch(t){case"back":Aa.sendPayload({type:"goBack"});break;case"cannotGoBack":clearTimeout(this.#I),this.#x?Aa.sendPayload({type:"exitApp"}):(this.#x=!0,this.#I=setTimeout((()=>{this.#x=!1}),3e3),Aa.sendPayload({type:"showToast",label:"Erneut drücken, um die App zu schlieÃen"}))}}),"event"),Aa.init(),Ev.init(),this.#D())}#N(){this.#T=!0,Vv.init()}#D(){window.addEventListener("UC_UI_VIEW_CHANGED",(function(e){console.log("Current view is: "+e.detail.view),"NONE"!==e.detail.view&&"PRIVACY_BUTTON"!==e.detail.view||(window.UC_UI.getServicesBaseInfo().filter((e=>!0===e.consent.status&&"essential"!==e.categorySlug)).length>0||window.UC_UI.getTCFVendors().filter((e=>!0===e.consent)).length>0)&&(console.log("requestTrackingPermission"),Aa.sendPayload({type:"requestTrackingPermission"}))})),window.addEventListener("CookiebotOnConsentReady",(function(e){Aa.sendPayload({type:"requestTrackingPermission"})}),{once:!0}),"cmmsCmpLoader"in window?(console.log("[App] Spawn CMP"),window.cmmsCmpLoader()):(console.log("[App] Store spawn CMP request"),window.cmmsSpawnCmp=!0)}},Cv=window.Vue.createVNode,Bv=window.Vue.openBlock,Tv=window.Vue.createBlock,xv=window.Vue.createCommentVNode,Iv=window.Vue.resolve
21Component,Nv=window.Vue.createElementVNode,Dv=window.Vue.resolveDynamicComponent,Ov=window.Vue.unref,Lv=window.Vue.Transition,Pv=window.Vue.withCtx,Mv=window.Vue.Fragment,Rv=window.Vue.createElementBlock,zv={id:"page",class:"hfeed site"},jv={id:"main",class:"site-main"},$v={name:"Layout",components:{AdHeaderBanner:og,AppBottomBar:Xf,AppControlPanel:Eh,AppDebug:Ph,AppFooter:Tw,AppHeader:ef,AppScrollToTop:$f,AppSearch:Nf,OtvAppFooter:gg,Reader:Sv},computed:{showHeaderBanner:function(){return["tvo","otv"].includes(window.soylent_settings.layout)},footerComponent:function(){return"otv"===window.soylent_settings.layout?"OtvAppFooter":"AppFooter"},reader(){return this.$store.getters["reader/show"]}},mounted(){Av.init()}},Uv=Object.assign($v,{setup:e=>(e,t)=>{const n=Iv("router-view");return Bv(),Rv(Mv,null,[Cv(ef),Cv(Eh),Nv("div",zv,[e.showHeaderBanner?(Bv(),Tv(og,{key:0})):xv("",!0),Nv("div",jv,[Cv(n),Cv($f)]),Cv(Ph),(Bv(),Tv(Dv(e.footerComponent)))]),Ov(R)?(Bv(),Tv(Xf,{key:0})):xv("",!0),Cv(Lv,{name:"fade_fast"},{default:Pv((()=>[e.reader?(Bv(),Tv(Sv,{key:0})):xv("",!0)])),_:1}),Cv(Nf)],64)}}),Fv={name:"ThumbNavigationLink",components:{CmmsResponsiveImage:Yo,SoylentLink:cu},props:["url","image","color","label"],computed:{elementStyle:function(){const e={};return this.image?e["background-color"]="transparent":this.color&&(e["background-color"]=this.color),e}}},Hv=window.Vue.createElementVNode,Gv=window.Vue.resolveComponent,Wv=window.Vue.openBlock,qv=window.Vue.createBlock,Yv=window.Vue.createCommentVNode,Kv=window.Vue.toDisplayString,Jv=window.Vue.normalizeStyle,Qv=window.Vue.withCtx,Zv={class:"thumbnail"},Xv={class:"title"},ey=v(Fv,[["render",function(e,t,n,i,o,a){const s=Gv("CmmsResponsiveImage"),r=Gv("SoylentLink");return Wv(),qv(r,{url:n.url,style:Jv(a.elementStyle),class:"nav-item"},{default:Qv((()=>[t[0]||(t[0]=Hv("span",{class:"shortcut-highlight"},null,-1)),Hv("span",Zv,[n.image?(Wv(),qv(s,{key:0,fill:!0,image:n.image},null,8,["image"])):Yv("",!0)]),Hv("span",Xv,Kv(n.label),1)])),_:1},8,["url","style"])}]]),ty={name:"PostShortcutToolbar",components:{BookmarkButton:uc},props:{metaDate:{type:String,default:null},metaTime:{type:String,default:null},metaDuration:{type:String,default:null},bookmarkObject:{type:Object,required:!0,default:null}},computed:{bookmarkButton:()=>Mi.getByName("bookmarkButton",uc)}},ny=window.Vue.toDisplayString,iy=window.Vue.openBlock,oy=window.Vue.createElementBlock,ay=window.Vue.createCommentVNode,sy=window.Vue.createElementVNode,ry=window.Vue.resolveDynamicComponent,ly=window.Vue.createBlock,cy={class:"post-shortcut__toolbar"},uy={class:"post-shortcut__toolbar__meta"},dy={class:"date"},py={key:0,class:"date__day"},my={key:1,class:"date__time"},hy={key:0,class:"duration"},wy=e("P",v(ty,[["render",function(e,t,n,i,o,a){return iy(),oy("span",cy,[sy("span",uy,[sy("span",dy,[n.metaDate?(iy(),oy("span",py,ny(n.metaDate),1)):ay("",!0),n.metaTime?(iy(),oy("span",my,ny(n.metaTime),1)):ay("",!0)]),n.metaDuration?(iy(),oy("span",hy,ny(n.metaDuration),1)):ay("",!0)]),n.bookmarkObject?(iy(),ly(ry(a.bookmarkButton),{key:0,"bookmark-object":n.bookmarkObject},null,8,["bookmark-object"])):ay("",!0)])}]])),fy={name:"NeuewellePostShortcut",props:["post"],components:{CroppedText:Ar,CmmsResponsiveImage:Yo,PostShortcutToolbar:wy,BookmarkButton:uc,SoylentLink:cu},computed:{excerpt:function(){return this.post.teaser&&this.post.teaser.length>0?this.post.teaser:this.post.excerpt},postTypeClass:function(){return"type-"+this.post.post_type},postThumbnail:function(){return!!this.post.image&&this.post.image},postDate(){return`${this.post.date.d}. ${this.post.date.m_short_txt} ${this.post.date.y} `},postDuration(){return this.post.duration?this.$filters.appendDurationPrefix(this.post.duration):null},day:function(){return this.post.date.d},monthYear:function(){return`${this.post.date.m_short_txt} ${this.post.date.y}`},hasBookmarks(){return"bookmark_object"in this.post}}},gy=window.Vue.createElementVNode,vy=window.Vue.resolveComponent,yy=window.Vue.openBlock,by=window.Vue.createBlock,_y=window.Vue.createCommentVNode,ky=window.Vue.toDisplayString,Sy=window.Vue.createElementBlock,Vy=window.Vue.normalizeClass,Ey=window.Vue.withCtx,Ay={class:"media-wrapper"},Cy={class:"thumbnail"},By={class:"shortcut-label"},Ty={class:"label-day"},xy={class:"label-month-year"},Iy={class:"label-media"},Ny={key:0,class:"label-text"},Dy={class:"entry-wrapper"},Oy={class:"headline-wrapper"},Ly={class:"meta"},Py={class:"date"},My={class:"date__day"}
21,Ry={key:0,class:"duration"},zy={key:1,class:"zone-label"},jy={key:2,class:"title"},$y=v(fy,[["render",function(e,t,n,i,o,a){const s=vy("CmmsResponsiveImage"),r=vy("BookmarkButton"),l=vy("CroppedText"),c=vy("PostShortcutToolbar"),u=vy("SoylentLink");return yy(),by(u,{url:n.post.url,class:Vy(["post-shortcut",a.postTypeClass])},{default:Ey((()=>[t[1]||(t[1]=gy("span",{class:"shortcut-highlight"},null,-1)),gy("span",Ay,[gy("span",Cy,[a.postThumbnail?(yy(),by(s,{key:0,fill:!0,image:a.postThumbnail},null,8,["image"])):_y("",!0)]),gy("span",By,[gy("span",Ty,ky(a.day),1),gy("span",xy,ky(a.monthYear),1),gy("span",Iy,[n.post.duration?(yy(),Sy("span",Ny,ky(n.post.duration),1)):_y("",!0),t[0]||(t[0]=gy("span",{class:"iconSet"},null,-1))])])]),gy("span",Dy,[gy("span",Oy,[a.hasBookmarks?(yy(),by(r,{key:0,"bookmark-object":n.post.bookmark_object},null,8,["bookmark-object"])):_y("",!0),gy("span",Ly,[gy("span",Py,[gy("span",My,ky(a.day)+". "+ky(a.monthYear),1)]),n.post.duration?(yy(),Sy("span",Ry,ky(n.post.duration)+" Min.",1)):_y("",!0)]),n.post.show_ad_label?(yy(),Sy("span",zy,"Anzeige")):_y("",!0),n.post.title?(yy(),Sy("span",jy,ky(n.post.title),1)):_y("",!0)]),a.excerpt?(yy(),by(l,{key:0,class:"excerpt",tag:"span",text:a.excerpt,lines:3},null,8,["text"])):_y("",!0)]),a.hasBookmarks?(yy(),by(c,{key:0,"bookmark-object":n.post.bookmark_object,"meta-time":n.post.date.time_txt,"meta-date":a.postDate,"meta-duration":a.postDuration},null,8,["bookmark-object","meta-time","meta-date","meta-duration"])):_y("",!0)])),_:1},8,["url","class"])}]]),Uy={name:"SoylentMediaLink",components:{CmmsResponsiveImage:Yo,SoylentLink:cu},props:["element"],computed:{noMeta:function(){return this.element.data.noTitle&&this.element.data.noDateDate},showTitle:function(){return(this.element.data.headline||this.element.data.subline)&&0===this.element.data.noTitle},image:function(){if(this.element.data)return this.element.data.model.image},height:function(){return this.element.data.height},style:function(){return this.image?1!==this.element.data.autoheight?""===this.height?"padding-top: 56.25%;":`padding-top: ${this.height}px;`:`padding-top: ${this.image.height/this.image.width*100}%;`:""},timestamp:function(){return this.element.data.model.timestamp?1e3*this.element.data.model.timestamp:0}}},Fy=window.Vue.createElementVNode,Hy=window.Vue.resolveComponent,Gy=window.Vue.createVNode,Wy=window.Vue.normalizeStyle,qy=window.Vue.toDisplayString,Yy=window.Vue.openBlock,Ky=window.Vue.createElementBlock,Jy=window.Vue.createCommentVNode,Qy=window.Vue.createTextVNode,Zy=window.Vue.withCtx,Xy=window.Vue.normalizeClass,eb={key:0,class:"entry-wrapper"},tb={key:0,class:"title"},nb={key:1,class:"description"},ib={key:2,class:"meta"},ob={class:"date"},ab={class:"time"},sb={key:0,class:"duration"},rb=v(Uy,[["render",function(e,t,n,i,o,a){const s=Hy("CmmsResponsiveImage"),r=Hy("SoylentLink");return Yy(),Ky("div",{class:Xy(["element",n.element.type,n.element.subtype,0!==n.element.data.noZoom?"no-zoom":""])},[Gy(r,{url:n.element.data.link,blank:!!n.element.data._blank,class:"item-link"},{default:Zy((()=>[t[1]||(t[1]=Fy("span",{class:"shortcut-highlight"},null,-1)),Fy("span",{class:"thumbnail",style:Wy(a.style)},[Gy(s,{fill:!0,image:a.image},null,8,["image"])],4),a.noMeta?Jy("",!0):(Yy(),Ky("span",eb,[a.showTitle?(Yy(),Ky("span",tb,qy(n.element.data.headline),1)):Jy("",!0),a.showTitle&&n.element.data.subline?(Yy(),Ky("span",nb,qy(n.element.data.subline),1)):Jy("",!0),0===n.element.data.noDate?(Yy(),Ky("span",ib,[Fy("span",ob,qy(e.$filters.germanDayMonth(a.timestamp)),1),t[0]||(t[0]=Qy()),Fy("span",ab,qy(e.$filters.hourMinute(a.timestamp)),1),n.element.data.model.duration?(Yy(),Ky("span",sb,qy(n.element.data.model.duration),1)):Jy("",!0)])):Jy("",!0)]))])),_:1},8,["url","blank"])],2)}]]),lb={name:"LoadMoreButton",components:{SoylentLink:cu},props:{url:{type:String,default:""},loading:{type:Boolean,default:!1}},computed:{label(){return this.loading?"Wird geladen ...":"Mehr anzeigen"}}},cb=window.Vue.toDisplayString,ub=window.Vue.createElementVNode,db=window.Vue.resolveComponent,pb=window.Vue.normalizeClass,mb=window.Vue.withCtx,hb=window.Vue.createVNode,wb=window.Vue.openBlock,fb=window.Vue.createElementBlock,gb={class:"button-container --load-more"},vb={class:"button__label"},yb={class:"button__text"},bb={name:"ShowLatestEpisodes",components:{LoadMoreButton:e("L",v(lb,[["render",function(e,t,n,i,o,a){const s=db("soylent-link");
21return wb(),fb("div",gb,[hb(s,{url:n.url,class:pb(["button",n.loading?"--disabled":null])},{default:mb((()=>[ub("span",vb,[ub("span",yb,cb(a.label),1)])])),_:1},8,["url","class"])])}]])),CmmsResponsiveImage:Yo,PostShortcut:$y,CroppedText:Ar,SoylentLink:cu},props:["element"],computed:{episodeDate:function(){const e=this.element.data.first_episode.date;return`${e.d}. ${e.m_txt} ${e.y} `},hasEpisode:function(){return void 0!==this.element.data.first_episode&&0<Object.keys(this.element.data.first_episode).length},hasRelated:function(){return void 0!==this.element.data.other_episodes&&0<this.element.data.other_episodes.length},postShortcut:function(){return $y}}},_b=window.Vue.createElementVNode,kb=window.Vue.resolveComponent,Sb=window.Vue.openBlock,Vb=window.Vue.createBlock,Eb=window.Vue.createCommentVNode,Ab=window.Vue.toDisplayString,Cb=window.Vue.createVNode,Bb=window.Vue.withCtx,Tb=window.Vue.createElementBlock,xb=window.Vue.renderList,Ib=window.Vue.Fragment,Nb=window.Vue.resolveDynamicComponent,Db=window.Vue.normalizeClass,Ob={key:0,class:"current-episode-wrapper"},Lb={class:"episode-image"},Pb={class:"thumbnail"},Mb={class:"episode-entry"},Rb={class:"meta"},zb={class:"date"},jb={class:"duration"},$b={class:"title"},Ub={key:1,class:"element-header"},Fb={key:2,class:"post-shortcuts -col-4"},Hb=v(bb,[["render",function(e,t,n,i,o,a){const s=kb("CmmsResponsiveImage"),r=kb("CroppedText"),l=kb("SoylentLink"),c=kb("LoadMoreButton");return Sb(),Tb("div",{class:Db(["element",n.element.type,n.element.subtype])},[a.hasEpisode?(Sb(),Tb("div",Ob,[t[2]||(t[2]=_b("h3",{class:"element-header"},"Aktuelle Sendung",-1)),Cb(l,{class:"current-episode",url:n.element.data.first_episode.url},{default:Bb((()=>[t[1]||(t[1]=_b("span",{class:"shortcut-highlight"},null,-1)),_b("span",Lb,[_b("span",Pb,[n.element.data.first_episode.image?(Sb(),Vb(s,{key:0,fill:!0,image:n.element.data.first_episode.image},null,8,["image"])):Eb("",!0)])]),_b("span",Mb,[_b("span",Rb,[_b("span",zb,Ab(a.episodeDate),1),_b("span",jb,Ab(n.element.data.first_episode.duration),1)]),_b("span",$b,Ab(n.element.data.first_episode.title),1),Cb(r,{class:"description",tag:"span",text:n.element.data.first_episode.excerpt,lines:3},null,8,["text"]),t[0]||(t[0]=_b("span",{class:"button"},[_b("span",{class:"button__label"},[_b("span",{class:"button__icon iconSet"},"chevron_right")])],-1))])])),_:1},8,["url"])])):Eb("",!0),a.hasRelated?(Sb(),Tb("h3",Ub,"Weitere Folgen")):Eb("",!0),a.hasRelated?(Sb(),Tb("div",Fb,[(Sb(!0),Tb(Ib,null,xb(n.element.data.other_episodes,(e=>(Sb(),Vb(Nb(a.postShortcut),{post:e,key:e.post_id},null,8,["post"])))),128))])):Eb("",!0),a.hasRelated?(Sb(),Vb(c,{key:3,url:n.element.data.more_url},null,8,["url"])):Eb("",!0)],2)}]]),Gb={name:"SwiperItemAd",components:{SoylentLink:cu},props:["swiperItem"]},Wb=window.Vue.createElementVNode,qb=window.Vue.resolveComponent,Yb=window.Vue.withCtx,Kb=window.Vue.openBlock,Jb=window.Vue.createBlock,Qb=["src"],Zb=v(Gb,[["render",function(e,t,n,i,o,a){const s=qb("SoylentLink");return Kb(),Jb(s,{url:n.swiperItem.link,blank:!0,class:"item-link"},{default:Yb((()=>[Wb("img",{width:"250",src:n.swiperItem.src},null,8,Qb)])),_:1},8,["url"])}]]),Xb={name:"SwiperItemCard",components:{CmmsResponsiveImage:Yo},props:["swiperItem"]},e_=window.Vue.resolveComponent,t_=window.Vue.openBlock,n_=window.Vue.createBlock,i_=window.Vue.createCommentVNode,o_=window.Vue.createElementVNode,a_=window.Vue.toDisplayString,s_=window.Vue.createElementBlock,r_=window.Vue.withCtx,l_=window.Vue.createVNode,c_={class:"swiper-card -card"},u_={class:"thumbnail"},d_={key:0,class:"entry"},p_={class:"title"},m_=v(Xb,[["render",function(e,t,n,i,o,a){const s=e_("CmmsResponsiveImage"),r=e_("router-link");return t_(),s_("div",c_,[l_(r,{href:n.swiperItem.url,to:e.$routerLink(n.swiperItem.url),target:n.swiperItem._blank?"_blank":"_self",tabindex:n.swiperItem.url?"0":"-1",class:"item-link"},{default:r_((()=>[o_("span",u_,[n.swiperItem.image?(t_(),n_(s,{key:0,fill:!0,image:n.swiperItem.image},null,8,["image"])):i_("",!0)]),n.swiperItem.label?(t_(),s_("span",d_,[o_("span",p_,a_(n.swiperItem.label),1)])):i_("",!0)])),_:1},8,["href","to","target","tabindex"])])}
21]]),h_={name:"SwiperItemCard",components:{CmmsResponsiveImage:Yo},props:["swiperItem"]},w_=window.Vue.resolveComponent,f_=window.Vue.openBlock,g_=window.Vue.createBlock,v_=window.Vue.createCommentVNode,y_=window.Vue.withCtx,b_=window.Vue.createElementBlock,__={class:"swiper-card -image"},k_=v(h_,[["render",function(e,t,n,i,o,a){const s=w_("CmmsResponsiveImage"),r=w_("router-link");return f_(),b_("div",__,[n.swiperItem.url?(f_(),g_(r,{key:0,href:n.swiperItem.url,to:e.$routerLink(n.swiperItem.url),target:n.swiperItem._blank?"_blank":"_self",class:"item-link"},{default:y_((()=>[n.swiperItem.image?(f_(),g_(s,{key:0,fill:!0,image:n.swiperItem.image,class:"pswp-gallery-item"},null,8,["image"])):v_("",!0)])),_:1},8,["href","to","target"])):n.swiperItem.image?(f_(),g_(s,{key:1,fill:!0,image:n.swiperItem.image},null,8,["image"])):v_("",!0)])}]]),S_={name:"SwiperItemPerson",components:{CmmsResponsiveImage:Yo},props:["swiperItem"]},V_=window.Vue.resolveComponent,E_=window.Vue.openBlock,A_=window.Vue.createBlock,C_=window.Vue.createCommentVNode,B_=window.Vue.createElementVNode,T_=window.Vue.toDisplayString,x_=window.Vue.withCtx,I_=window.Vue.createVNode,N_=window.Vue.createElementBlock,D_={class:"swiper-card -person"},O_={class:"thumb"},L_={class:"meta"},P_={class:"function",itemprop:"jobTitle"},M_={class:"name",itemprop:"name"},R_=v(S_,[["render",function(e,t,n,i,o,a){const s=V_("CmmsResponsiveImage"),r=V_("router-link");return E_(),N_("div",D_,[I_(r,{class:"person",itemscope:"",itemtype:"http://schema.org/Person",href:n.swiperItem.url,to:e.$routerLink(n.swiperItem.url)},{default:x_((()=>[B_("div",O_,[n.swiperItem.image?(E_(),A_(s,{key:0,fill:!0,image:n.swiperItem.image},null,8,["image"])):C_("",!0)]),B_("div",L_,[B_("div",P_,T_(n.swiperItem.function),1),B_("div",M_,T_(n.swiperItem.name),1)])])),_:1},8,["href","to"])])}]]),z_={name:"SwiperItemShortcut",components:{CroppedText:Ar,CmmsResponsiveImage:Yo},props:["swiperItem","imageSizeReference"],computed:{imageSizeReferenceSafe:function(){return void 0===this.imageSizeReference?"width":this.imageSizeReference},description(){return"description"in this.swiperItem&&""!==this.swiperItem.description?this.swiperItem.description:null}}},j_=window.Vue.resolveComponent,$_=window.Vue.openBlock,U_=window.Vue.createBlock,F_=window.Vue.createCommentVNode,H_=window.Vue.createElementVNode,G_=window.Vue.toDisplayString,W_=window.Vue.withCtx,q_=window.Vue.createVNode,Y_=window.Vue.createElementBlock,K_={class:"swiper-card -shortcut"},J_={class:"thumbnail"},Q_={class:"entry"},Z_={class:"amount"},X_={class:"name"},ek=v(z_,[["render",function(e,t,n,i,o,a){const s=j_("CmmsResponsiveImage"),r=j_("CroppedText"),l=j_("router-link");return $_(),Y_("div",K_,[q_(l,{href:n.swiperItem.url,to:e.$routerLink(n.swiperItem.url),target:n.swiperItem._blank?"_blank":"_self",tabindex:n.swiperItem.url?"":"-1",class:"item-link"},{default:W_((()=>[H_("span",J_,[n.swiperItem.image?($_(),U_(s,{key:0,fill:!0,image:n.swiperItem.image,"image-size-reference":a.imageSizeReferenceSafe},null,8,["image","image-size-reference"])):F_("",!0)]),H_("span",Q_,[H_("span",Z_,G_(`${n.swiperItem.count} ${n.swiperItem.content_type}`),1),H_("span",X_,G_(n.swiperItem.label),1),a.description?($_(),U_(r,{key:0,class:"description",tag:"span",text:a.description,lines:2},null,8,["text"])):F_("",!0),t[0]||(t[0]=H_("span",{class:"separator"},null,-1))])])),_:1},8,["href","to","target","tabindex"])])}]]),tk={name:"SwiperItemCard",components:{CmmsResponsiveImage:Yo},props:["swiperItem"],data:()=>({showThumb:!0}),methods:{playVideo:function(){this.$refs.preview.innerHTML=`<source src="${this.$refs.preview.getAttribute("data-src")}" type="video/mp4">`,this.$refs.preview.play()},stopVideo:function(){this.$refs.preview.pause()},hoverItem:function(){this.swiperItem.preview&&(this.showThumb=!1,this.playVideo())},blurItem:function(){this.swiperItem.preview&&(this.showThumb=!0,this.stopVideo())}}},nk=window.Vue.resolveComponent,ik=window.Vue.openBlock,ok=window.Vue.createBlock,ak=window.Vue.createCommentVNode,sk=window.Vue.normalizeClass,rk=window.Vue.createElementBlock,lk=window.Vue.createElementVNode,ck=window.Vue.toDisplayString,uk=window.Vue.withCtx,dk=window.Vue.createVNode,pk={class:"swiper-card -card"},mk={class:"thumbnail"},hk=["data-src"],wk={class:"title"},fk=v(tk,[["render",function(e,t,n,i,o,a){const s=nk("CmmsResponsiveImage"),r=nk("router-link");return ik(),rk("div",pk,[dk(r,{href:n.swiperItem.url,to:e.$routerLink(n.swiperItem.url),target:n.swiperItem._blank?"_blank":"_self",class:"item-link",onMouseover:a.hoverItem,onMouseleave:a.blurItem},{default:uk((()=>[lk("span",mk,[n.swiperItem.image?(ik(),ok(s,{key:0,fill:!0,image:n.swiperItem.image},null,8,["image"])):ak("",!0),n.swiperItem.preview?(ik(),rk("video",{key:1,ref:"preview",class:sk(["video",o.showThumb?"":"-show"]),muted:"",playsinline:"",loop:"","data-src":n.swiperItem.preview},null,10,hk)):ak("",!0)]),lk("span",wk,ck(n.swiperItem.label),1)])),_:1},8,["href","to","target","onMouseover","onMouseleave"])])}]]),gk=new Pi;gk.set({SwiperItemAd:Zb,SwiperItemCard:m_,SwiperItemImage:k_,SwiperItemPerson:R_,SwiperItemShortcut:ek,SwiperItemShow:fk});const vk={name:"EditorSwiper",components:{SliderWrapper:Hc,SwiperSlide:Xc},props:["className","itemType","items","breakpoints","fullsize","spaceBetween","imageSizeReference","free","autoplay","autoplayinterval","swiperId"],computed:{classNameComputed:function(){return this.$props.className.slice()},swiperOuterClassNames:function(){return["swiper-wrapper-outer","swiper__container-outer",this.autoplay?"-autoplay":""]},swiperInnerClassNames:function(){return["swiper-wrapper-inner swiper__container-inner","swiper-wrapper"]}
21,imageSizeReferenceSafe:function(){return void 0===this.imageSizeReference?"width":this.imageSizeReference},itemComponent:function(){return gk.getByName(this.itemType)}}},yk=window.Vue.renderList,bk=window.Vue.Fragment,_k=window.Vue.openBlock,kk=window.Vue.createElementBlock,Sk=window.Vue.resolveDynamicComponent,Vk=window.Vue.createBlock,Ek=window.Vue.resolveComponent,Ak=window.Vue.withCtx,Ck=window.Vue.createVNode,Bk=window.Vue.normalizeClass,Tk=window.Vue.createElementVNode,xk=["id"],Ik=e("E",v(vk,[["render",function(e,t,n,i,o,a){const s=Ek("SwiperSlide"),r=Ek("SliderWrapper");return _k(),kk("div",{class:Bk(a.classNameComputed),id:n.swiperId},[Tk("div",{class:Bk(a.swiperOuterClassNames)},[Ck(r,{free:n.free,loop:n.free,swiperInnerClassNames:a.swiperInnerClassNames,fullsize:n.fullsize,spaceBetween:n.spaceBetween,breakpoints:n.breakpoints,autoplay:n.autoplay,"autoplay-interval":parseInt(n.autoplayinterval)},{default:Ak((()=>[(_k(!0),kk(bk,null,yk(n.items,(e=>(_k(),Vk(s,{key:e.term_id},{default:Ak((()=>[(_k(),Vk(Sk(a.itemComponent),{"swiper-item":e,"image-size-reference":a.imageSizeReferenceSafe},null,8,["swiper-item","image-size-reference"]))])),_:2},1024)))),128))])),_:1},8,["free","loop","swiperInnerClassNames","fullsize","spaceBetween","breakpoints","autoplay","autoplay-interval"])],2)],10,xk)}]])),Nk={name:"SoylentShowSlider",components:{EditorSwiper:Ik},props:["element"],computed:{items:function(){return this.element.data.items}}},Dk=window.Vue.resolveComponent,Ok=window.Vue.openBlock,Lk=window.Vue.createBlock,Pk=v(Nk,[["render",function(e,t,n,i,o,a){const s=Dk("EditorSwiper");return Ok(),Lk(s,{className:["element","swiper",n.element.type,n.element.subtype],items:a.items,"item-type":"NeuewelleShowSwiperCard"},null,8,["className","items"])}]]),Mk={name:"SoylentTeamList",components:{EditorSwiper:Ik,CmmsResponsiveImage:Yo,ElementHeader:Li,SoylentLink:cu},props:["element"],computed:{elementHeader:function(){return Li}}},Rk=window.Vue.resolveDynamicComponent,zk=window.Vue.openBlock,jk=window.Vue.createBlock,$k=window.Vue.createCommentVNode,Uk=window.Vue.renderList,Fk=window.Vue.Fragment,Hk=window.Vue.createElementBlock,Gk=window.Vue.createElementVNode,Wk=window.Vue.resolveComponent,qk=window.Vue.toDisplayString,Yk=window.Vue.withCtx,Kk=window.Vue.normalizeClass,Jk={key:1,class:"persons-container"},Qk={class:"persons-wrapper"},Zk={class:"thumb"},Xk={class:"meta"},eS={class:"function",itemprop:"jobTitle"},tS={class:"name",itemprop:"name"},nS=v(Mk,[["render",function(e,t,n,i,o,a){const s=Wk("CmmsResponsiveImage"),r=Wk("SoylentLink"),l=Wk("EditorSwiper");return n.element.data.items.length>0?(zk(),Hk("div",{key:0,class:Kk(["element",n.element.type,n.element.subtype])},[n.element.data.headline?(zk(),jk(Rk(a.elementHeader),{key:0,headline:n.element.data.headline},null,8,["headline"])):$k("",!0),1!==n.element.data.slider?(zk(),Hk("div",Jk,[Gk("div",Qk,[(zk(!0),Hk(Fk,null,Uk(n.element.data.items,(e=>(zk(),jk(r,{key:e.post_id,class:"person",itemscope:"",itemtype:"http://schema.org/Person",url:e.url},{default:Yk((()=>[t[0]||(t[0]=Gk("span",{class:"shortcut-highlight"},null,-1)),Gk("div",Zk,[e.image?(zk(),jk(s,{key:0,fill:!0,image:e.image},null,8,["image"])):$k("",!0)]),Gk("div",Xk,[Gk("div",eS,qk(e.function),1),Gk("div",tS,qk(e.name),1)])])),_:2},1032,["url"])))),128))])])):(zk(),jk(l,{key:2,className:["swiper"],items:n.element.data.items,"item-type":"NeuewelleSwiperItemPerson"},null,8,["items"]))],2)):$k("",!0)}]]),iS={name:"NeuewelleOpenerPosts",props:["element"],components:{CroppedText:Ar,CmmsResponsiveImage:Yo,SoylentLink:cu},data:()=>({animating:!1,currentItem:{},seenItems:[],defaultAutoplayInterval:6,autoplayBarStyle:!1}),computed:{currentPost:function(){return this.currentItem.post?this.currentItem.post:{}},currentPostExcerpt:function(){return this.currentPost.excerpt&&this.currentPost.excerpt.length>0?this.currentPost.excerpt:this.currentPost.teaser&&this.currentPost.teaser.length>0?this.currentPost.teaser:""},currentPostImage:function(){return this.currentPost.image?this.currentPost.image:{}},teasedPosts:function(){const e=[];for(let t=0;t<this.teasedAmount;++t)e.push(this.items[t]);return e},items:function(){return this.element.data.items},loop:function(){return 1===this.element.data.loop},autoplay:function(){return 1===this.element.data.autoplay},autoplayInterval:function(){return""===this.element.data.autoplay_interval?this.defaultAutoplayInterval:this.element.data.autoplay_interval},teasedAmount:function(){return Math.min(this.items.length,3)},hasNext:function(){return 0<this.items.length},hasPrev:function(){return this.loop&&0<this.items.length||0<this.seenItems.length}},methods:{loadNext(){if(!this.loop&&0===this.items.length)return;const e=this.items.shift();this.currentItem.hasOwnProperty("post")&&(this.loop?this.items.push(this.currentItem):this.seenItems.unshift(this.currentItem)),this.currentItem=e},manualNext(){this.animating=!1,this.loadNext()},loadPrev(){this.animating=!1,(this.loop||0!==this.seenItems.length)&&(this.loop?(this.items.unshift(this.currentItem),this.currentItem=this.items.pop()):(this.items.unshift(this.currentItem),this.currentItem=this.seenItems.shift()))},autoplayCallback(){this.animating&&(this.loadNext(),setTimeout(this.autoplayCallback,1e3*this.autoplayInterval))}},mounted(){this.loadNext(),this.autoplay&&(this.autoplayBarStyle=`animation-duration: ${this.autoplayInterval}s;animation-iteration-count: ${this.loop?"infinite":this.items.length}`,this.animating=!0,setTimeout(this.autoplayCallback,1e3*this.autoplayInterval))}}
21,oS=window.Vue.resolveComponent,aS=window.Vue.openBlock,sS=window.Vue.createBlock,rS=window.Vue.createElementVNode,lS=window.Vue.vShow,cS=window.Vue.normalizeClass,uS=window.Vue.normalizeStyle,dS=window.Vue.withDirectives,pS=window.Vue.createElementBlock,mS=window.Vue.createCommentVNode,hS=window.Vue.withCtx,wS=window.Vue.createVNode,fS=window.Vue.renderList,gS=window.Vue.Fragment,vS={class:"wrapper-outer"},yS={class:"media-wrapper"},bS={class:"posts-wrapper"},_S={class:"featured-wrapper"},kS={class:"subsequent-wrapper"},SS={class:"post-navigation"},VS=["disabled"],ES=["disabled"],AS=v(iS,[["render",function(e,t,n,i,o,a){const s=oS("CmmsResponsiveImage"),r=oS("CroppedText"),l=oS("SoylentLink");return aS(),pS("div",{class:cS(["element",n.element.type,n.element.subtype])},[rS("div",vS,[rS("span",yS,[(aS(),sS(s,{fill:!0,image:a.currentPostImage,key:a.currentPostImage.media_id},null,8,["image"]))]),rS("div",bS,[rS("div",_S,[n.element.data.autoplay?dS((aS(),pS("div",{key:0,class:cS(["autoplay-bar",o.animating?"-animating":""]),style:uS(o.autoplayBarStyle)},null,6)),[[lS,o.animating]]):mS("",!0),(aS(),sS(r,{class:"category",tag:"span",lines:1,text:o.currentItem.categories,key:`openerCats-${a.currentPost.post_id}`},null,8,["text"])),(aS(),sS(r,{class:"title",tag:"span",lines:4,text:a.currentPost.title,key:`${a.currentPost.title}-${a.currentPost.post_id}`},null,8,["text"])),(aS(),sS(r,{class:"excerpt",tag:"span",lines:4,text:a.currentPostExcerpt,key:`openerExcerpt-${a.currentPost.post_id}`},null,8,["text"])),wS(l,{url:a.currentPost.url,class:"button"},{default:hS((()=>[...t[2]||(t[2]=[rS("span",{class:"button__label"},[rS("span",{class:"button__icon iconSet"},"notes"),rS("span",{class:"button__text"},"Weiterlesen")],-1)])])),_:1},8,["url"])]),rS("div",kS,[(aS(!0),pS(gS,null,fS(a.teasedPosts,(e=>(aS(),sS(l,{class:"item",url:e.post.url},{default:hS((()=>[(aS(),sS(r,{class:"category",tag:"span",lines:1,text:e.categories,key:`teaserCat-${e.post.post_id}`},null,8,["text"])),(aS(),sS(r,{class:"title",tag:"span",lines:2,text:e.post.title,key:`${e.post.title}-${e.post.post_id}`},null,8,["text"]))])),_:2},1032,["url"])))),256))]),rS("div",SS,[rS("button",{class:"button -prev",disabled:!a.hasPrev,onClick:t[0]||(t[0]=(...e)=>a.loadPrev&&a.loadPrev(...e))},[...t[3]||(t[3]=[rS("span",{class:"button__label"},[rS("span",{class:"button__icon iconSet"},"chevron_left")],-1)])],8,VS),rS("button",{class:"button -next",disabled:!a.hasNext,onClick:t[1]||(t[1]=(...e)=>a.manualNext&&a.manualNext(...e))},[...t[4]||(t[4]=[rS("span",{class:"button__label"},[rS("span",{class:"button__icon iconSet"},"chevron_right")],-1)])],8,ES)])])])],2)}]]),CS={name:"NeuewelleOpenerVideos",components:{CmmsResponsiveImage:Yo,SoylentLink:cu},props:["element"],computed:{firstItem:function(){return this.element.data.items&&0<this.element.data.items.length?this.element.data.items[0]:{}},firstItemSubline:function(){return Object.keys(this.firstItem).length?this.firstItem.data.subline&&this.firstItem.data.subline.length?this.firstItem.data.subline:this.firstItem.post.kicker:""},firstItemHeadline:function(){return Object.keys(this.firstItem).length?this.firstItem.data.subline&&this.firstItem.data.headline.length?this.firstItem.data.headline:this.firstItem.post.title:""},teaserItems:function(){if(this.element.data.items&&0<this.element.data.items.length){const e=[...this.element.data.items];return e.shift(),e}return{}}},methods:{getItemHeadline:e=>e.data.headline&&e.data.headline.length?e.data.headline:e.post.title.length?e.post.title:""}},BS=window.Vue.createElementVNode,TS=window.Vue.openBlock,xS=window.Vue.createElementBlock,IS=window.Vue.createCommentVNode,NS=window.Vue.resolveComponent,DS=window.Vue.createBlock,OS=window.Vue.toDisplayString,LS=window.Vue.withCtx,PS=window.Vue.createVNode,MS=window.Vue.renderList,RS=window.Vue.Fragment,zS={class:"element neuewelle openerVideo"},jS={class:"wrapper-outer"},$S={class:"featured-wrapper"},US={class:"media-wrapper"},FS={key:0,autoplay:"",muted:"",loop:"",playsinline:""},HS=["src"],GS={class:"overlay"},WS={key:0,class:"subline"},qS={key:1,class:"headline"},YS={class:"teaser-wrapper"},KS={class:"thumbnail"},JS={class:"entry-wrapper"},QS={key:0,class:"title"},ZS={key:1,class:"category"},XS=v(CS,[["render",function(e,t,n,i,o,a){const s=NS("CmmsResponsiveImage"),r=NS("SoylentLink");return TS(),xS("div",zS,[BS("div",jS,[BS("div",$S,[BS("span",US,[1===n.element.data.video?(TS(),xS("video",FS,[BS("source",{src:a.firstItem.preview,type:"video/mp4"},null,8,HS)])):(TS(),DS(s,{key:1,fill:!0,image:a.firstItem.post.image},null,8,["image"]))]),BS("div",GS,[a.firstItemSubline.length?(TS(),xS("div",WS,OS(a.firstItemSubline),1)):IS("",!0),a.firstItemHeadline.length?(TS(),xS("div",qS,OS(a.firstItemHeadline),1)):IS("",!0),PS(r,{url:a.firstItem.post.url,class:"button"},{default:LS((()=>[...t[0]||(t[0]=[BS("span",{class:"button__label"},[BS("span",{class:"button__icon iconSet"},"play_arrow"),BS("span",{class:"button__text"},"Abspielen")],-1)])])),_:1},8,["url"])])]),BS("div",YS,[(TS(!0),xS(RS,null,MS(a.teaserItems,(e=>(TS(),DS(r,{url:e.post.url,class:"item post-shortcut"},{default:LS((()=>[t[1]||(t[1]=BS("span",{class:"shortcut-highlight"},null,-1)),BS("span",KS,[PS(s,{fill:!0,image:e.post.image},null,8,["image"])]),BS("span",JS,[a.getItemHeadline(e).length?(TS(),xS("span",QS,OS(a.getItemHeadline(e)),1)):IS("",!0),e.categories?(TS(),xS("span",ZS,OS(e.categories),1)):IS("",!0)])])),_:2},1032,["url"])))),256))])])])}
21]]),eV={name:"NeuewelleLastVideo",props:["element"],components:{CroppedText:Ar,CmmsPlayer:Gr,SoylentLink:cu},computed:{title:function(){return this.element.data.media_data.model.title},date:function(){return this.element.data.media_data.model.date.date_txt},timestamp:function(){return 1e3*this.element.data.media_data.model.timestamp},duration:function(){return this.element.data.media_data.model.duration},description:function(){return this.element.data.media_data.model.excerpt},url:function(){return this.element.data.media_data.model.url},show_ad_label:function(){return this.element.data.media_data.model.show_ad_label},categoryLabel:function(){return this.element.data.categories},backgroundId:function(){return this.element.data.media_id>0?this.element.data.media_id:this.element.data.media_data.model.image.media_id},overlayStyle:function(){return this.element.data.media_color?"background: var(--key-background-color-1)":this.element.data.media_blur?{"background-image":`url(${ql(this.backgroundId,128,"","eb_40x20","/f:jpg")})`}:{"background-image":`url(${ql(this.backgroundId,1200,"","","/f:jpg")})`}}}},tV=window.Vue.normalizeStyle,nV=window.Vue.openBlock,iV=window.Vue.createElementBlock,oV=window.Vue.createCommentVNode,aV=window.Vue.resolveComponent,sV=window.Vue.createVNode,rV=window.Vue.toDisplayString,lV=window.Vue.createElementVNode,cV=window.Vue.createBlock,uV=window.Vue.withCtx,dV=window.Vue.normalizeClass,pV={class:"lastVideoInner"},mV={class:"entry"},hV={key:0,class:"zone-label"},wV={class:"meta"},fV={class:"date"},gV={class:"duration"},vV={class:"title"},yV=v(eV,[["render",function(e,t,n,i,o,a){const s=aV("CmmsPlayer"),r=aV("CroppedText"),l=aV("SoylentLink");return nV(),iV("div",{class:dV(["element",n.element.type,n.element.subtype,1===n.element.data.player_only?"-video-only":""])},[1!==n.element.data.player_only?(nV(),iV("div",{key:0,class:"overlay",style:tV(a.overlayStyle)},null,4)):oV("",!0),lV("div",pV,[sV(s,{element:n.element},null,8,["element"]),lV("div",mV,[a.show_ad_label?(nV(),iV("span",hV,"Anzeige")):oV("",!0),lV("div",wV,[lV("span",fV,rV(a.date),1),lV("span",gV,rV(a.duration),1)]),lV("div",vV,rV(a.title),1),0===n.element.data.hide_meta?(nV(),cV(r,{key:1,class:"description",tag:"span",text:a.description,lines:3},null,8,["text"])):oV("",!0),sV(l,{url:a.url,class:"button"},{default:uV((()=>[...t[0]||(t[0]=[lV("span",{class:"button__label"},[lV("span",{class:"button__icon iconSet"},"chevron_right")],-1)])])),_:1},8,["url"])])])],2)}]]),bV={name:"NeuewelleTopFive",components:{CmmsResponsiveImage:Yo},data:function(){return{observer:null,itemRefs:[]}},props:["element"],methods:{setItemRef(e){this.itemRefs.push(e)},getHeadline:function(e){return e.data?.headline?e.data.headline:Ti(e.post.title,80)},getSubline:function(e){return e?.post?.kicker},getSublineClasses:e=>"subline",playVideo:function(e){const t=e.querySelector("video");t&&(t.innerHTML=`<source src="${t.getAttribute("data-src")}" type="video/mp4">`,t.play())},stopVideo:function(e){const t=e.querySelector("video");t&&t.pause()},addItemEventListeners:function(){this.itemRefs.length<=0||this.itemRefs.forEach((e=>{e.addEventListener("touchstart",(()=>{e.classList.contains("--active")||(Ci([".element","."+this.element.type,"."+this.element.subtype,".focus"].join("")).forEach((e=>{e.classList.remove("focus"),e.classList.remove("focus")})),Ci([".element","."+this.element.type,"."+this.element.subtype].join("")+" .item.--active").forEach((e=>{e.classList.remove("--active")})),e.classList.add("--active"),this.itemRefs.topFiveElement.classList.add("focus"))})),e.addEventListener("mouseenter",(()=>{e.classList.add("--active")})),e.addEventListener("mouseleave",(()=>{e.classList.remove("--active")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}))},removeItemEventListeners:function(){this.itemRefs.forEach((e=>{e.removeEventListener("touchstart",(()=>{})),e.removeEventListener("mouseenter",(()=>{})),e.removeEventListener("mouseleave",(()=>{}))}))},itemClassChange:function(e,t,n){const i=e.target,o=t.split(" "),a=n.split(" ");o.includes("--active")?this.playVideo(i):a.includes("--active")&&this.stopVideo(i)}},beforeUpdate(){this.itemRefs=[]}
21,mounted(){this.$nextTick((()=>{this.observer=new MutationObserver((e=>{for(const t of e){const e=t.target.getAttribute(t.attributeName);this.$nextTick((()=>{this.itemClassChange(t,e,t.oldValue)}))}})),this.addItemEventListeners()}))},beforeUnmount(){this.itemRefs=[],this.observer.disconnect(),this.removeItemEventListeners()}},_V=window.Vue.renderList,kV=window.Vue.Fragment,SV=window.Vue.openBlock,VV=window.Vue.createElementBlock,EV=window.Vue.resolveComponent,AV=window.Vue.createVNode,CV=window.Vue.createCommentVNode,BV=window.Vue.createElementVNode,TV=window.Vue.toDisplayString,xV=window.Vue.normalizeClass,IV=window.Vue.withCtx,NV={class:"item-wrapper"},DV={class:"thumbnail"},OV=["data-src"],LV={key:0,class:"rank"},PV={class:"entry"},MV={key:0,class:"zone-label"},RV={class:"headline"},zV={class:"date"},jV={class:"cta"},$V={class:"button__label"},UV={class:"button__icon iconSet"},FV={class:"button__text"},HV=v(bV,[["render",function(e,t,n,i,o,a){const s=EV("CmmsResponsiveImage"),r=EV("router-link");return SV(),VV("div",{ref:"topFiveElement",class:xV(["element","soylent",n.element.subtype,"--"+n.element.data.layout])},[BV("div",NV,[(SV(!0),VV(kV,null,_V(n.element.data.items,((t,i)=>(SV(),VV("div",{ref_for:!0,ref:a.setItemRef,class:"item",key:t.post.post_id},[BV("span",DV,[AV(s,{image:t.post.image,fill:!0},null,8,["image"]),t.preview?(SV(),VV("video",{key:0,class:"video",muted:"",playsinline:"","data-src":t.preview},null,8,OV)):CV("",!0)]),"most_viewed"===n.element.data.layout?(SV(),VV("span",LV,TV(i+1),1)):CV("",!0),BV("div",PV,[t.post.show_ad_label?(SV(),VV("span",MV,"Anzeige")):CV("",!0),a.getSubline(t)?(SV(),VV("h3",{key:1,class:xV(a.getSublineClasses(t))},TV(a.getSubline(t)),3)):CV("",!0),BV("h2",RV,TV(a.getHeadline(t)),1),BV("span",zV,TV(t.post.date.datetime_txt)+" Uhr",1),BV("div",jV,[AV(r,{class:"button",href:t.post.url,to:e.$routerLink(t.post.url)},{default:IV((()=>[BV("span",$V,[BV("span",UV,TV("video"===t.post.type?"play_arrow":"notes"),1),BV("span",FV,TV("video"===t.post.type?"Abspielen":"Weiterlesen"),1)])])),_:2},1032,["href","to"])])])])))),128))])],2)}]]),GV={name:"NeuewelleShowSwiperCard",components:{CmmsResponsiveImage:Yo,SoylentLink:cu},props:["swiperItem"],data:()=>({showThumb:!0}),methods:{playVideo:function(){this.$refs.preview.innerHTML=`<source src="${this.$refs.preview.getAttribute("data-src")}" type="video/mp4">`,this.$refs.preview.play()},stopVideo:function(){this.$refs.preview.pause()},hoverItem:function(){this.swiperItem.preview&&(this.showThumb=!1,this.playVideo())},blurItem:function(){this.swiperItem.preview&&(this.showThumb=!0,this.stopVideo())}}},WV=window.Vue.createElementVNode,qV=window.Vue.resolveComponent,YV=window.Vue.openBlock,KV=window.Vue.createBlock,JV=window.Vue.createCommentVNode,QV=window.Vue.normalizeClass,ZV=window.Vue.createElementBlock,XV=window.Vue.toDisplayString,eE=window.Vue.withCtx,tE=window.Vue.createVNode,nE={class:"swiper-card -neuewelle-show-card"},iE={class:"thumbnail"},oE=["data-src"],aE={class:"title"},sE=v(GV,[["render",function(e,t,n,i,o,a){const s=qV("CmmsResponsiveImage"),r=qV("SoylentLink");return YV(),ZV("div",nE,[tE(r,{url:n.swiperItem.url,blank:!!n.swiperItem._blank,"aria-label":n.swiperItem.label,class:"item-link",onMouseover:a.hoverItem,onMouseleave:a.blurItem},{default:eE((()=>[t[0]||(t[0]=WV("span",{class:"shortcut-highlight"},null,-1)),WV("span",iE,[n.swiperItem.image?(YV(),KV(s,{key:0,fill:!0,image:n.swiperItem.image},null,8,["image"])):JV("",!0),n.swiperItem.preview?(YV(),ZV("video",{key:1,ref:"preview",class:QV(["video",o.showThumb?"":"-show"]),muted:"",loop:"",playsinline:"","data-src":n.swiperItem.preview},null,10,oE)):JV("",!0)]),WV("span",aE,XV(n.swiperItem.label),1)])),_:1},8,["url","blank","aria-label","onMouseover","onMouseleave"])])}]]),rE={name:"NeuewelleSwiperItemPerson",components:{CmmsResponsiveImage:Yo,SoylentLink:cu},props:["swiperItem"]},lE=window.Vue.createElementVNode,cE=window.Vue.resolveComponent,uE=window.Vue.openBlock,dE=window.Vue.createBlock,pE=window.Vue.createCommentVNode,mE=window.Vue.toDisplayString,hE=window.Vue.withCtx,wE=window.Vue.createVNode,fE=window.Vue.createElementBlock,gE={class:"swiper-card -person"},vE={class:"thumb"},yE={class:"meta"},bE={class:"function",itemprop:"jobTitle"},_E={class:"name",itemprop:"name"},kE=v(rE,[["render",function(e,t,n,i,o,a){const s=cE("CmmsResponsiveImage"),r=cE("SoylentLink");return uE(),fE("div",gE,[wE(r,{class:"person",itemscope:"",itemtype:"http://schema.org/Person",url:n.swiperItem.url},{default:hE((()=>[t[0]||(t[0]=lE("span",{class:"shortcut-highlight"},null,-1)),lE("div",vE,[n.swiperItem.image?(uE(),dE(s,{key:0,fill:!0,image:n.swiperItem.image},null,8,["image"])):pE("",!0)]),lE("div",yE,[lE("div",bE,mE(n.swiperItem.function),1),lE("div",_E,mE(n.swiperItem.name),1)])])),_:1},8,["url"])])}]]);d.set(Uv),Mi.set({thumbNavigationLink:ey,postShortcut:$y});const SE=window.Vue.defineAsyncComponent;vo.set({SoylentAccordion:SE((()=>u((()=>t.import("./Accordion-legacy.js")),void 0))),SoylentActionCalendar:SE((()=>u((()=>t.import("./ActionCalendar-legacy.js")),void 0))),SoylentFeatureCta:SE((()=>u((()=>t.import("./FeatureCta-legacy.js")),void 0))),SoylentProfile:SE((()=>u((()=>t.import("./Profile-legacy.js")),void 0))),NeuewelleOpenerPosts:AS,NeuewelleOpenerVideos:XS,NeuewelleLastVideo:yV,NeuewelleTopFive:HV,SoylentMediaLink:rb,SoylentShowLatestEpisodes:Hb,SoylentShowSlider:Pk,SoylentTeamList:nS}),gk.set({NeuewelleShowSwiperCard:sE,NeuewelleSwiperItemPerson:kE}),j().has($)&&!0!==window.isDynamicRenderer&&Wa().init(Vi),Ks.mount("#app-container"),g.dispatch(f.APP_MOUNT_READY)}}}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.