PageSourceSearch

https://www.doris-semmelmann.de/wp-content/themes/cmms-theme-dorissemmelmann/assets/dist/1.10/app.js

js doris-semmelmann.de collected 2026-10-03 01:45:13 UTC 204,523 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["Author.js","swiper.js","Crawl.js","CtaButton.js","Form.js","Link.js","Html.js","Line.js","Media.js","CroppedText.js","Gallery.js","MediaLink.js","Breakpoints.js","Parallax.js","PostShortcutList.js","PostShortcut.js","LoadMoreButton.js","PostThumbs.js","RelatedContents.js","Spacer.js","TermList.js","Share.js","BackgroundMedia.js"])))=>i.map(i=>d[i]);
2var go=e=>{throw TypeError(e)};var Qn=(e,t,n)=>t.has(e)||go("Cannot "+n);var w=(e,t,n)=>(Qn(e,t,"read from private field"),n?n.call(e):t.get(e)),j=(e,t,n)=>t.has(e)?go("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),oe=(e,t,n,i)=>(Qn(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),ae=(e,t,n)=>(Qn(e,t,"access private method"),n);var wo=(e,t,n,i)=>({set _(o){oe(e,t,o,n)},get _(){return w(e,t,i)}});import{d as Ha,S as ja}from"./swiper.js";function fv(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const Ga="modulepreload",Ka=function(e){return"/wp-content/themes/cmms-theme-dorissemmelmann/assets/dist/1.10/"+e},_o={},ee=function(t,n,i){let o=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=l(n.map(c=>{if(c=Ka(c),c in _o)return;_o[c]=!0;const d=c.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(c,'"]').concat(u)))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":Ga,d||(h.as="script"),h.crossOrigin="",h.href=c,a&&h.setAttribute("nonce",a),document.head.appendChild(h),d)return new Promise((f,A)=>{h.addEventListener("load",f),h.addEventListener("error",()=>A(new Error("Unable to preload CSS for ".concat(c))))})}))}function r(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})};var nn;class Wa{constructor(){j(this,nn,null)}set(t){oe(this,nn,t)}get(){return w(this,nn)}}nn=new WeakMap;const ks=new Wa,vo={path:"/"};class On{static get(t){const n=document.cookie.split(";");for(const i in n){const o=n[i].split("=");if(o.length>1&&String(o[0]).trim()===String(t))return decodeURIComponent(String(o[1]).trim())}return null}static set(t,n,i=vo){let o="";for(const r in i)o+=" ".concat(r,"=").concat(i[r],";");document.cookie="".concat(t,"=").concat(encodeURIComponent(n),";").concat(o)}static delete(t,n={}){On.set(t,"",Object.assign({},vo,n,{"max-age":0}))}}function Ya(){return!!(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))}function qa(){return!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i))}const bo={NAV:"BASE_VIEW_NAV",HANDLE_RESPONSE:"BASE_VIEW_HANDLE_RESPONSE"},_t={ELEMENT_PROVIDER_READY:"ELEMENT_PROVIDER_READY",AFTER_CONSENT:"SOYLENT_AFTER_CONSENT",APP_MOUNT_READY:"APP_MOUNT_READY"};var Ce;class Qa{constructor(){j(this,Ce,{})}on(t,n){w(this,Ce)[t]||(w(this,Ce)[t]=[]),w(this,Ce)[t].push(n)}off(t,n){if(!w(this,Ce)[t])return;const i=w(this,Ce)[t].indexOf(n);i>=0&&w(this,Ce)[t].splice(i,1)}dispatch(t,...n){w(this,Ce)[t]&&w(this,Ce)[t].forEach(i=>i(...n))}}Ce=new WeakMap;const kt=new Qa,P=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},yo="soylent_smartbanner",Za={name:"SmartBanner",data(){return{smartBannerSettings:null,closed:!1,consentReady:!1}},computed:{isActive(){let e=this.getSettings();if(!e||this.consentReady===!1)return null;if(e.active)return!!e.active}},methods:{consentReadyAction(){this.consentReady=!0},getSettings(){return"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?!!e.show_on_startup:!1},getUrl(){return this.smartBannerSettings?qa()?"https://apps.apple.com/de/app/".concat(this.smartBannerSettings.id_ios):"https://play.google.com/store/apps/details?id=".concat(this.smartBannerSettings.id_android):""},close(){this.setDeactivateCookie(),this.closed=!0},setDeactivateCookie(){let e=new Date;e.setTime(e.getTime()+720*60*60*1e3),On.set(yo,!0,{path:"/",expires:e.toGMTString()})}},beforeMount(){this.smartBannerSettings=this.getSettings(),this.closed=!!On.get(yo),this.showOnStartup()?this.consentReadyAction():kt.on(_t.AFTER_CONSENT,this.consentReadyAction)}},at=window.Vue.createElementVNode,Zn=window.Vue.openBlock,Eo=window.Vue.createElementBlock,So=window.Vue.createCommentVNode,Ao=window.Vue.toDisplayString,Ja=window.Vue.Transition,Xa=window.Vue.withCtx,el=window.Vue.createVNode,tl=window.Vue.Teleport,nl=window.Vue.createBlock,il={key:0,id:"soylent_smartbanner",class:"smartbanner"},ol=["href"],rl=["src"],sl={class:"smartbanner__text"},al={class:"smartbanner__title"},ll={class:"smartbanner__description"};function cl(e,t,n,i,o,r){return Zn(),nl(tl,{to:"body"},[el(Ja,{name:"slide-down"},{default:Xa(()=>[r.isActive&&!o.closed?(Zn(),Eo("div",il,[at("div",{onClick:t[0]||(t[0]=(...s)=>r.close&&r.close(...s)),class:"iconSet smartbanner__close"},"close"),at("a",{href:r.getUrl(),onClick:t[1]||(t[1]=(...s)=>r.close&&r.close(...s)),target:"_blank",rel:"nofollow",class:"smartbanner__cta"},[o.smartBannerSettings.logo?(Zn(),Eo("img",{key:0,src:o.smartBannerSettings.logo,class:"smartbanner__thumb"},null,8,rl)):So("",!0),at("div",sl,[at("span",al,Ao(o.smartBannerSettings.label),1),at("span",ll,Ao(o.smartBannerSettings.description),1)]),t[2]||(t[2]=at("div",{class:"smartbanner__button"},"Öffnen",-1))],8,ol)])):So("",!0)]),_:1})])}
2const ul=P(Za,[["render",cl]]),$t="soylent_settings"in window&&window.soylent_settings.app_mode||!1;var Xe;class dl{constructor(){j(this,Xe,[])}add(t){if(typeof t!="string"){console.error("[soylent:featureProvider] Cannot add feature, the passed flag is not a string",t);return}w(this,Xe).push(t)}has(t){return w(this,Xe).includes(t)}remove(t){const n=w(this,Xe).indexOf(t);w(this,Xe).splice(n,1)}}Xe=new WeakMap;function it(){return"__soylent"in window||(window.__soylent={}),"featureProvider"in window.__soylent||(window.__soylent.featureProvider=new dl),window.__soylent.featureProvider}const hl="CurrentData",Qt="Sso",fl={name:"PageNotificationItem",data(){return{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 n="".concat(t.pathname).concat(t.search).concat(t.hash);this.$router.push(n)}else window.open(t.href,"_blank","noopener,noreferrer");this.closed=!0}catch(t){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()},this.notification.lifetime_in_seconds*1e3))},unmounted(){this.timeoutId&&clearTimeout(this.timeoutId)}},ko=window.Vue.toDisplayString,Jn=window.Vue.createElementVNode,pn=window.Vue.openBlock,Co=window.Vue.createElementBlock,Vo=window.Vue.createCommentVNode,ml=window.Vue.resolveDynamicComponent,To=window.Vue.withCtx,Do=window.Vue.createBlock,pl=window.Vue.withKeys,gl=window.Vue.resolveDirective,wl=window.Vue.withDirectives,_l=window.Vue.Transition,vl={class:"page-notification__title"},bl={class:"page-notification__description"},yl={key:0,class:"page-notification__button"};function El(e,t,n,i,o,r){const s=gl("focustrap");return pn(),Do(_l,{name:"slide-up"},{default:To(()=>[n.notification&&!o.closed?wl((pn(),Co("div",{key:0,onKeydown:t[2]||(t[2]=pl((...a)=>r.close&&r.close(...a),["esc"])),class:"page-notification"},[(pn(),Do(ml(n.notification.url?"button":"div"),{onClick:t[0]||(t[0]=a=>n.notification.url?r.openUrl():null),class:"page-notification__body"},{default:To(()=>[Jn("span",vl,ko(n.notification.title),1),Jn("span",bl,ko(n.notification.text),1),n.notification.url?(pn(),Co("span",yl,"Öffnen")):Vo("",!0)]),_:1})),Jn("button",{onClick:t[1]||(t[1]=(...a)=>r.close&&r.close(...a)),class:"iconSet page-notification__close"},"close")],32)),[[s]]):Vo("",!0)]),_:1})}const Sl=P(fl,[["render",El]]),Al={name:"PageNotifications",components:{PageNotificationItem:Sl},data(){return{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},deep:!0,immediate:!0}}},kl=window.Vue.renderList,Cl=window.Vue.Fragment,Xn=window.Vue.openBlock,$o=window.Vue.createElementBlock,Vl=window.Vue.resolveComponent,Tl=window.Vue.createBlock,Dl=window.Vue.createCommentVNode,$l={key:0,class:"page-notification__wrapper"};function Nl(e,t,n,i,o,r){const s=Vl("PageNotificationItem");return r.notifications?(Xn(),$o("div",$l,[(Xn(!0),$o(Cl,null,kl(r.notifications,(a,l)=>(Xn(),Tl(s,{notification:a,key:"notification_".concat(a.id)},null,8,["notification"]))),128))])):Dl("",!0)}const Bl=P(Al,[["render",Nl]]);var he;class Rl{constructor(){j(this,he,{})}on(t,n,i={}){const{priority:o=10}=i;w(this,he)[t]||(w(this,he)[t]=[]),w(this,he)[t]["p".concat(o)]||(w(this,he)[t]["p".concat(o)]=[]),w(this,he)[t]["p".concat(o)].push(n)}off(t,n,i={}){const{priority:o=10}=i;if(console.debug("[SoylentFilterProvider] Unsubscribing "+t),!w(this,he)[t]||!w(this,he)[t]["p".concat(o)])return;const r=w(this,he)[t]["p".concat(o)].indexOf(n);r>=0?(w(this,he)[t]["p".concat(o)].splice(r,1),console.debug("[SoylentFilterProvider] Callback removed ")):(console.debug("[SoylentFilterProvider] Callback not found "),console.debug(n))}filter(t,n,i={},...o){const{once:r=!1}=i;let s=0;if(!w(this,he)[t])return n;const a=w(this,he)[t];return Object.keys(a).sort((l,c)=>
2parseInt(l.substring(1),10)-parseInt(c.substring(1),10)).forEach(l=>{a[l].forEach(c=>{(r&&s<1||!r)&&(n=c(n,...o)),s++})}),n}}he=new WeakMap;const Kn=new Rl,Ol="player_filter__source_url";var et,vt;class Ml{constructor(){j(this,et);j(this,vt);oe(this,et,null),oe(this,vt,window.soylent_settings.tcf_query_key),this.getTcfString(),Kn.on(Ol,this.filter.bind(this))}filter(t){if(w(this,et)){const n=t.includes("?")?"&":"?";t="".concat(t).concat(n).concat(w(this,vt),"=").concat(w(this,et)),console.debug("[PlayerSourceFilter] - added TCF-String")}return t}getTcfString(){"__tcfapi"in window&&w(this,vt)&&__tcfapi("getTCData",2,(t,n)=>{n&&"tcString"in t&&oe(this,et,t.tcString)})}}et=new WeakMap,vt=new WeakMap;const Il=100,Pl={data:function(){return{resizeTimer:null}},components:{PageNotifications:Bl,SmartBanner:ul},computed:{layoutComponent:function(){return ks.get()},classNames:function(){return{"--loading":this.$store.getters.isLoading,"--header_open":this.$store.getters.scrollOffset.y===0,"--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(){return!$t&&Ya()},hasLoginActive(){return it().has(Qt)?this.isAuth:!1},isAuth(){return this.$store.state.sso.auth}},methods:{onWindowChange:function(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.setScrollOffset.bind(this),Il)},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()},60*1e3))},consentReadyEvent(){new Ml,window.UC_UI.isConsentRequired()?window.addEventListener("UC_UI_VIEW_CHANGED",function(e){e.detail.view==="NONE"&&kt.dispatch(_t.AFTER_CONSENT)}):kt.dispatch(_t.AFTER_CONSENT)},afterConsent(){const e=new Event(_t.AFTER_CONSENT);window.dispatchEvent(e)}},mounted(){it().has(hl)&&this.fetchCurrentData()},watch:{categoryModalOpen:function(e){e===!0?document.body.style.overflow="hidden":document.body.style.overflow=""},menuOpen:function(e){e===!0?document.body.style.overflow="hidden":document.body.style.overflow=""},hasLoginActive:function(e){e===!0&&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()?window.addEventListener("UC_UI_INITIALIZED",this.consentReadyEvent):this.consentReadyEvent()})},beforeUnmount(){window.removeEventListener("scroll",this.onWindowChange),window.removeEventListener("resize",this.onWindowChange)}},No=window.Vue.resolveComponent,ei=window.Vue.openBlock,Bo=window.Vue.createBlock,Ll=window.Vue.createCommentVNode,xl=window.Vue.createVNode,Fl=window.Vue.resolveDynamicComponent,Ul=window.Vue.normalizeClass,zl=window.Vue.createElementVNode,Hl=window.Vue.Fragment,jl=window.Vue.createElementBlock;function Gl(e,t,n,i,o,r){const s=No("SmartBanner"),a=No("PageNotifications");return ei(),jl(Hl,null,[r.hasSmartBanner?(ei(),Bo(s,{key:0})):Ll("",!0),xl(a),zl("div",{id:"app",class:Ul(r.classNames)},[(ei(),Bo(Fl(r.layoutComponent)))],2)],64)}const Kl=P(Pl,[["render",Gl]]);function Wl(){return Cs().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Cs(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Yl=typeof Proxy=="function",ql="devtools-plugin:setup",Ql="plugin:settings:set";let lt,zi;function Zl(){var e;return lt!==void 0||(typeof window<"u"&&window.performance?(lt=!0,zi=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(lt=!0,zi=globalThis.perf_hooks.performance):lt=!1),lt}function Jl(){return Zl()?zi.now():Date.now()}class Xl{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const i={};if(t.settings)for(const s in t.settings){const a=t.settings[s];i[s]=a.defaultValue}const o="__vue-devtools-plugin-settings__".concat(t.id);let r=Object.assign({},i);try{const s=localStorage.getItem(o),a=JSON.parse(s);Object.assign(r,a)}catch(s){}this.fallbacks={getSettings(){return r},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch(a){}r=s},now(){return Jl()}},n&&n.on(Ql,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function ec(e,t){const n=e,i=Cs(),o=Wl(),r=Yl&&n.enableEarlyProxy;if(o&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(ql,e,t);else{const s=r?new Xl(n,o):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}window.Vue.getCurrentInstance;window.Vue.inject;window.Vue.onActivated;window.Vue.onDeactivated;window.Vue.onUnmounted;window.Vue.watch;const wt=typeof document<"u";function Vs(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 25,151 bytes, line 2
2function tc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Vs(e.default)}const G=Object.assign;function ti(e,t){const n={};for(const i in t){const o=t[i];n[i]=Te(o)?o.map(e):e(o)}return n}const Zt=()=>{},Te=Array.isArray;function Ro(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}const Ts=/#/g,nc=/&/g,ic=/\//g,oc=/=/g,rc=/\?/g,Ds=/\+/g,sc=/%5B/g,ac=/%5D/g,$s=/%5E/g,lc=/%60/g,Ns=/%7B/g,cc=/%7C/g,Bs=/%7D/g,uc=/%20/g;function ro(e){return e==null?"":encodeURI(""+e).replace(cc,"|").replace(sc,"[").replace(ac,"]")}function dc(e){return ro(e).replace(Ns,"{").replace(Bs,"}").replace($s,"^")}function Hi(e){return ro(e).replace(Ds,"%2B").replace(uc,"+").replace(Ts,"%23").replace(nc,"%26").replace(lc,"`").replace(Ns,"{").replace(Bs,"}").replace($s,"^")}function hc(e){return Hi(e).replace(oc,"%3D")}function fc(e){return ro(e).replace(Ts,"%23").replace(rc,"%3F")}function mc(e){return fc(e).replace(ic,"%2F")}function en(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const pc=/\/$/,gc=e=>e.replace(pc,"");function ni(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(i=t.slice(0,l),r=t.slice(l,a>0?a:t.length),o=e(r.slice(1))),a>=0&&(i=i||t.slice(0,a),s=t.slice(a,t.length)),i=bc(i!=null?i:t,n),{fullPath:i+r+s,path:i,query:o,hash:en(s)}}function wc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Oo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _c(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&Ct(t.matched[i],n.matched[o])&&Rs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ct(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!vc(e[n],t[n]))return!1;return!0}function vc(e,t){return Te(e)?Mo(e,t):Te(t)?Mo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Mo(e,t){return Te(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function bc(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 r=n.length-1,s,a;for(s=0;s<i.length;s++)if(a=i[s],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+i.slice(s).join("/")}const ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ji=(function(e){return e.pop="pop",e.push="push",e})({}),ii=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function yc(e){if(!e)if(wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),gc(e)}const Ec=/^[^#]+#/;function Sc(e,t){return e.replace(Ec,"#")+t}function Ac(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)}}const Wn=()=>({left:window.scrollX,top:window.scrollY});function kc(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ac(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Io(e,t){return(history.state?history.state.position-t:-1)+e}const Gi=new Map;function Cc(e,t){Gi.set(e,t)}function Vc(e){const t=Gi.get(e);return Gi.delete(e),t}function Tc(e){return typeof e=="string"||e&&typeof e=="object"}function Os(e){return typeof e=="string"||typeof e=="symbol"}let X=(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 Ms=Symbol("");X.MATCHER_NOT_FOUND+"",X.NAVIGATION_GUARD_REDIRECT+"",X.NAVIGATION_ABORTED+"",X.NAVIGATION_CANCELLED+"",X.NAVIGATION_DUPLICATED+"";function Vt(e,t){return G(new Error,{type:e,[Ms]:!0},t)}function Pe(e,t){return e instanceof Error&&Ms in e&&(t==null||!!(e.type&t))}const Dc=["params","query","hash"];function $c(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Dc)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Nc(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 o=n[i].replace(Ds," "),r=o.indexOf("="),s=en(r<0?o:o.slice(0,r)),a=r<0?null:en(o.slice(r+1));if(s in t){let l=t[s];Te(l)||(l=t[s]=[l]),l.push(a)}else t[s]=a}return t}function Po(e){let t="";for(let n in e){const i=e[n];if(n=hc(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(Te(i)?i.map(o=>o&&Hi(o)):[i&&Hi(i)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Bc(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Te(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}const Rc=Symbol(""),Lo=Symbol(""),so=Symbol(""),ao=Symbol(""),Ki=Symbol("");function Bt(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ge(e,t,n,i,o,r=s=>s()){const s=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Vt(X.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?l(h):Tc(h)?l(Vt(X.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(s&&i.enterCallbacks[o]===s&&typeof h=="function"&&s.push(h),a())},d=r(()=>e.call(i&&i.instances[o],t,n,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(h=>l(h))})}function oi(e,t,n,i,o=r=>r()){const r=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Vs(l)){const c=(l.__vccOpts||l)[t];c&&r.push(Ge(c,n,i,s,a,o))}else{let c=l();r.push(()=>c.then(d=>{if(!d)throw new Error("Couldn't resolve component \"".concat(a,'" at "').concat(s.path,'"'));const u=tc(d)?d.default:d;s.mods[a]=d,s.components[a]=u;const h=(u.__vccOpts||u)[t];return h&&Ge(h,n,i,s,a,o)()}))}}return r}function Oc(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s<r;s++){const a=t.matched[s];a&&(e.matched.find(c=>Ct(c,a))?i.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>Ct(c,l))||o.push(l))}return[n,i,o]}const Me=window.Vue.computed,Is=window.Vue.defineComponent;window.Vue.getCurrentInstance;const Ps=window.Vue.h,Tt=window.Vue.inject,Mc=window.Vue.nextTick,ri=window.Vue.provide,Ic=window.Vue.reactive,Pc=window.Vue.ref,Lc=window.Vue.shallowReactive,xc=window.Vue.shallowRef,Jt=window.Vue.unref,Fc=window.Vue.watch;window.Vue.watchEffect;let Uc=()=>location.protocol+"//"+location.host;function Ls(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let s=o.includes(e.slice(r))?e.slice(r).length:1,a=o.slice(s);return a[0]!=="/"&&(a="/"+a),Oo(a,"")}return Oo(n,e)+i+o}function zc(e,t,n,i){let o=[],r=[],s=null;const a=({state:h})=>{const f=Ls(e,location),A=n.value,M=t.value;let z=0;if(h){if(n.value=f,t.value=h,s&&s===A){s=null;return}z=M?h.position-M.position:0}else i(f);o.forEach(L=>{L(n.value,A,{delta:z,type:ji.pop,direction:z?z>0?ii.forward:ii.back:ii.unknown})})};function l(){s=n.value}function c(h){o.push(h);const f=()=>{const A=o.indexOf(h);A>-1&&o.splice(A,1)};return r.push(f),f}function d(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(G({},h.state,{scroll:Wn()}),"")}}function u(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:l,listen:c,destroy:u}}function xo(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?Wn():null}}function Hc(e){const{history:t,location:n}=window,i={value:Ls(e,n)},o={value:t.state};o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,d){const u=e.indexOf("#"),h=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:Uc()+e+l;try{t[d?"replaceState":"pushState"](c,"",h),o.value=c}catch(f){console.error(f),n[d?"replace":"assign"](h)}}function s(l,c){r(l,G({},t.state,xo(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),i.value=l}function a(l,c){const d=G({},o.value,t.state,{forward:l,scroll:Wn()});r(d.current,d,!0),r(l,G({},xo(i.value,l,null),{position:d.position+1},c),!1),i.value=l}return{location:i,state:o,push:a,replace:s}}function jc(e){e=yc(e);const t=Hc(e),n=zc(e,t.state,t.location,t.replace);function i(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=G({location:"",base:e,go:i,createHref:Sc.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Je=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ne=(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})(ne||{});const Gc={type:Je.Static,value:""},Kc=/[a-zA-Z0-9_]/;function Wc(e){if(!e)return[[]];if(e==="/")return[[Gc]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(f){throw new Error("ERR (".concat(n,')/"').concat(c,'": ').concat(f))}let n=ne.Static,i=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let a=0,l,c="",d="";function u(){c&&(n===ne.Static?r.push({type:Je.Static,value:c}):n===ne.Param||n===ne.ParamRegExp||n===ne.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),r.push({type:Je.Param,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==ne.ParamRegExp){i=n,n=ne.EscapeNext;continue}switch(n){case ne.Static:l==="/"?(c&&u(),s()):l===":"?(u(),n=ne.Param):h();break;case ne.EscapeNext:h(),n=i;break;case ne.Param:l==="("?n=ne.ParamRegExp:Kc.test(l)?h():(u(),n=ne.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ne.ParamRegExp:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=ne.ParamRegExpEnd:d+=l;break;case ne.ParamRegExpEnd:u(),n=ne.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===ne.ParamRegExp&&t('Unfinished custom RegExp for param "'.concat(c,'"')),u(),s(),o}const Fo="[^/]+?",Yc={sensitive:!1,strict:!1,start:!0,end:!0};var ce=(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})(ce||{});const qc=/[.+*?^${}()[\]/\\]/g;function Qc(e,t){const n=G({},Yc,t),i=[];let o=n.start?"^":"";const r=[];for(const c of e){const d=c.length?[]:[ce.Root];n.strict&&!c.length&&(o+="/");for(let u=0;u<c.length;u++){const h=c[u];let f=ce.Segment+(n.sensitive?ce.BonusCaseSensitive:0);if(h.type===Je.Static)u||(o+="/"),o+=h.value.replace(qc,"\\$&"),f+=ce.Static;else if(h.type===Je.Param){const{value:A,repeatable:M,optional:z,regexp:L}=h;r.push({name:A,repeatable:M,optional:z});const T=L||Fo;if(T!==Fo){f+=ce.BonusCustomRegExp;try{"".concat(T)}catch(q){throw new Error('Invalid custom RegExp for param "'.concat(A,'" (').concat(T,"): ")+q.message)}}let x=M?"((?:".concat(T,")(?:/(?:").concat(T,"))*)"):"(".concat(T,")");u||(x=z&&c.length<2?"(?:/".concat(x,")"):"/"+x),z&&(x+="?"),o+=x,f+=ce.Dynamic,z&&(f+=ce.BonusOptional),M&&(f+=ce.BonusRepeatable),T===".*"&&(f+=ce.BonusWildcard)}d.push(f)}i.push(d)}if(n.strict&&n.end){const c=i.length-1;i[c][i[c].length-1]+=ce.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(c){const d=c.match(s),u={};if(!d)return null;for(let h=1;h<d.length;h++){const f=d[h]||"",A=r[h-1];u[A.name]=f&&A.repeatable?f.split("/"):f}return u}function l(c){let d="",u=!1;for(const h of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const f of h)if(f.type===Je.Static)d+=f.value;else if(f.type===Je.Param){const{value:A,repeatable:M,optional:z}=f,L=A in c?c[A]:"";if(Te(L)&&!M)throw new Error('Provided param "'.concat(A,'" is an array but it is not repeatable (* or + modifiers)'));const T=Te(L)?L.join("/"):L;if(!T)if(z)h.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error('Missing required param "'.concat(A,'"'));d+=T}}return d||"/"}return{re:s,score:i,keys:r,parse:a,stringify:l}}function Zc(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?e.length===1&&e[0]===ce.Static+ce.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ce.Static+ce.Segment?1:-1:0}function xs(e,t){let n=0;const i=e.score,o=t.score;for(;n<i.length&&n<o.length;){const r=Zc(i[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-i.length)===1){if(Uo(i))return 1;if(Uo(o))return-1}return o.length-i.length}function Uo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Jc={strict:!1,end:!0,sensitive:!1};function Xc(e,t,n){const i=Qc(Wc(e.path),n),o=G(i,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function eu(e,t){const n=[],i=new Map;t=Ro(Jc,t);function o(u){return i.get(u)}function r(u,h,f){const A=!f,M=Ho(u);M.aliasOf=f&&f.record;const z=Ro(t,u),L=[M];if("alias"in u){const q=typeof u.alias=="string"?[u.alias]:u.alias;for(const te of q)L.push(Ho(G({},M,{components:f?f.record.components:M.components,path:te,aliasOf:f?f.record:M})))}let T,x;for(const q of L){const{path:te}=q;if(h&&te[0]!=="/"){const Z=h.record.path,Q=Z[Z.length-1]==="/"?"":"/";q.path=h.record.path+(te&&Q+te)}if(T=Xc(q,h,z),f?f.alias.push(T):(x=x||T,x!==T&&x.alias.push(T),A&&u.name&&!jo(T)&&s(u.name)),Fs(T)&&l(T),M.children){const Z=M.children;for(let Q=0;Q<Z.length;Q++)r(Z[Q],T,f&&f.children[Q])}f=f||T}return x?()=>{s(x)}:Zt}function s(u){if(Os(u)){const h=i.get(u);h&&(i.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&i.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){const h=iu(u,n);n.splice(h,0,u),u.record.name&&!jo(u)&&i.set(u.record.name,u)}function c(u,h){let f,A={},M,z;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw Vt(X.MATCHER_NOT_FOUND,{location:u});z=f.record.name,A=G(zo(h.params,f.keys.filter(x=>!x.optional).concat(f.parent?f.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),u.params&&zo(u.params,f.keys.map(x=>x.name))),M=f.stringify(A)}else if(u.path!=null)M=u.path,f=n.find(x=>x.re.test(M)),f&&(A=f.parse(M),z=f.record.name);else{if(f=h.name?i.get(h.name):n.find(x=>x.re.test(h.path)),!f)throw Vt(X.MATCHER_NOT_FOUND,{location:u,currentLocation:h});z=f.record.name,A=G({},h.params,u.params),M=f.stringify(A)}const L=[];let T=f;for(;T;)L.unshift(T.record),T=T.parent;return{name:z,path:M,params:A,matched:L,meta:nu(L)}}e.forEach(u=>r(u));function d(){n.length=0,i.clear()}return{addRoute:r,resolve:c,removeRoute:s,clearRoutes:d,getRoutes:a,getRecordMatcher:o}}function zo(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Ho(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tu(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 tu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function jo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nu(e){return e.reduce((t,n)=>G(t,n.meta),{})}function iu(e,t){let n=0,i=t.length;for(;n!==i;){const r=n+i>>1;xs(e,t[r])<0?i=r:n=r+1}const o=ou(e);return o&&(i=t.lastIndexOf(o,i-1)),i}function ou(e){let t=e;for(;t=t.parent;)if(Fs(t)&&xs(e,t)===0)return t}function Fs({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Go(e){const t=Tt(so),n=Tt(ao),i=Me(()=>{const l=Jt(e.to);return t.resolve(l)}),o=Me(()=>{const{matched:l}=i.value,{length:c}=l,d=l[c-1],u=n.matched;if(!d||!u.length)return-1;const h=u.findIndex(Ct.bind(null,d));if(h>-1)return h;const f=Ko(l[c-2]);return c>1&&Ko(d)===f&&u[u.length-1].path!==f?u.findIndex(Ct.bind(null,l[c-2])):h}),r=Me(()=>o.value>-1&&cu(n.params,i.value.params)),s=Me(()=>o.value>-1&&o.value===n.matched.length-1&&Rs(n.params,i.value.params));function a(l={}){if(lu(l)){const c=t[Jt(e.replace)?"replace":"push"](Jt(e.to)).catch(Zt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Me(()=>i.value.href),isActive:r,isExactActive:s,navigate:a}}function ru(e){return e.length===1?e[0]:e}const su=Is({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:Go,setup(e,{slots:t}){const n=Ic(Go(e)),{options:i}=Tt(so),o=Me(()=>({[Wo(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Wo(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&ru(t.default(n));return e.custom?r:Ps("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),au=su;function lu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){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}}function cu(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!Te(o)||o.length!==i.length||i.some((r,s)=>r.valueOf()!==o[s].valueOf()))return!1}return!0}function Ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wo=(e,t,n)=>e!=null?e:t!=null?t:n,uu=Is({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Tt(Ki),o=Me(()=>e.route||i.value),r=Tt(Lo,0),s=Me(()=>{let c=Jt(r);const{matched:d}=o.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=Me(()=>o.value.matched[s.value]);ri(Lo,Me(()=>s.value+1)),ri(Rc,a),ri(Ki,o);const l=Pc();return Fc(()=>[l.value,a.value,e.name],([c,d,u],[h,f,A])=>{d&&(d.instances[u]=c,f&&f!==d&&c&&c===h&&(d.leaveGuards.size||(d.leaveGuards=f.leaveGuards),d.updateGuards.size||(d.updateGuards=f.updateGuards))),c&&d&&(!f||!Ct(d,f)||!h)&&(d.enterCallbacks[u]||[]).forEach(M=>M(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,u=a.value,h=u&&u.components[d];if(!h)return Yo(n.default,{Component:h,route:c});const f=u.props[d],A=f?f===!0?c.params:typeof f=="function"?f(c):f:null,z=Ps(h,G({},A,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return Yo(n.default,{Component:z,route:c})||z}}});function Yo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const du=uu;function hu(e){const t=eu(e.routes,e),n=e.parseQuery||Nc,i=e.stringifyQuery||Po,o=e.history,r=Bt(),s=Bt(),a=Bt(),l=xc(ze);let c=ze;wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ti.bind(null,m=>""+m),u=ti.bind(null,mc),h=ti.bind(null,en);function f(m,y){let v,V;return Os(m)?(v=t.getRecordMatcher(m),V=y):V=m,t.addRoute(V,v)}function A(m){const y=t.getRecordMatcher(m);y&&t.removeRoute(y)}function M(){return t.getRoutes().map(m=>m.record)}function z(m){return!!t.getRecordMatcher(m)}function L(m,y){if(y=G({},y||l.value),typeof m=="string"){const k=ni(n,m,y.path),H=t.resolve({path:k.path},y),le=o.createHref(k.fullPath);return G(k,H,{params:h(H.params),hash:en(k.hash),redirectedFrom:void 0,href:le})}let v;if(m.path!=null)v=G({},m,{path:ni(n,m.path,y.path).path});else{const k=G({},m.params);for(const H in k)k[H]==null&&delete k[H];v=G({},m,{params:u(k)}),y.params=u(y.params)}const V=t.resolve(v,y),U=m.hash||"";V.params=d(h(V.params));const O=wc(i,G({},m,{hash:dc(U),path:V.path})),D=o.createHref(O);return G({fullPath:O,hash:U,query:i===Po?Bc(m.query):m.query||{}},V,{redirectedFrom:void 0,href:D})}function T(m){return typeof m=="string"?ni(n,m,l.value.path):G({},m)}function x(m,y){if(c!==m)return Vt(X.NAVIGATION_CANCELLED,{from:y,to:m})}function q(m){return Q(m)}function te(m){return q(G(T(m),{replace:!0}))}function Z(m,y){const v=m.matched[m.matched.length-1];if(v&&v.redirect){const{redirect:V}=v;let U=typeof V=="function"?V(m,y):V;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=T(U):{path:U},U.params={}),G({query:m.query,hash:m.hash,params:U.path!=null?{}:m.params},U)}}function Q(m,y){const v=c=L(m),V=l.value,U=m.state,O=m.force,D=m.replace===!0,k=Z(v,V);if(k)return Q(G(T(k),{state:typeof k=="object"?G({},U,k.state):U,force:O,replace:D}),y||v);const H=v;H.redirectedFrom=y;let le;return!O&&_c(i,V,v)&&(le=Vt(X.NAVIGATION_DUPLICATED,{to:H,from:V}),C(V,V,!0,!1)),(le?Promise.resolve(le):st(H,V)).catch(ie=>Pe(ie)?Pe(ie,X.NAVIGATION_GUARD_REDIRECT)?ie:_(ie):N(ie,H,V)).then(ie=>{if(ie){if(Pe(ie,X.NAVIGATION_GUARD_REDIRECT))return Q(G({replace:D},T(ie.to),{state:typeof ie.to=="object"?G({},U,ie.to.state):U,force:O}),y||H)}else ie=$e(H,V,!0,D,U);return Ue(H,V,ie),ie})}function B(m,y){const v=x(m,y);return v?Promise.reject(v):Promise.resolve()}function se(m){const y=$.values().next().value;return y&&typeof y.runWithContext=="function"?y.runWithContext(m):m()}function st(m,y){let v;const[V,U,O]=Oc(m,y);v=oi(V.reverse(),"beforeRouteLeave",m,y);for(const k of V)k.leaveGuards.forEach(H=>{v.push(Ge(H,m,y))});const D=B.bind(null,m,y);return v.push(D),Y(v).then(()=>{v=[];for(const k of r.list())v.push(Ge(k,m,y));return v.push(D),Y(v)}).then(()=>{v=oi(U,"beforeRouteUpdate",m,y);for(const k of U)k.updateGuards.forEach(H=>{v.push(Ge(H,m,y))});return v.push(D),Y(v)}).then(()=>{v=[];for(const k of O)if(k.beforeEnter)if(Te(k.beforeEnter))for(const H of k.beforeEnter)v.push(Ge(H,m,y));else v.push(Ge(k.beforeEnter,m,y));return v.push(D),Y(v)}).then(()=>(m.matched.forEach(k=>k.enterCallbacks={}),v=oi(O,"beforeRouteEnter",m,y,se),v.push(D),Y(v))).then(()=>{v=[];for(const k of s.list())v.push(Ge(k,m,y));return v.push(D),Y(v)}).catch(k=>Pe(k,X.NAVIGATION_CANCELLED)?k:Promise.reject(k))}function Ue(m,y,v){a.list().forEach(V=>se(()=>V(m,y,v)))}function $e(m,y,v,V,U){const O=x(m,y);if(O)return O;const D=y===ze,k=wt?history.state:{};v&&(V||D?o.replace(m.fullPath,G({scroll:D&&k&&k.scroll},U)):o.push(m.fullPath,U)),l.value=m,C(m,y,v,D),_()}let F;function p(){F||(F=o.listen((m,y,v)=>{if(!K.listening)return;const V=L(m),U=Z(V,K.currentRoute.value);if(U){Q(G(U,{replace:!0,force:!0}),V).catch(Zt);return}c=V;const O=l.value;wt&&Cc(Io(O.fullPath,v.delta),Wn()),st(V,O).catch(D=>Pe(D,X.NAVIGATION_ABORTED|X.NAVIGATION_CANCELLED)?D:Pe(D,X.NAVIGATION_GUARD_REDIRECT)?(Q(G(T(D.to),{force:!0}),V).then(k=>{Pe(k,X.NAVIGATION_ABORTED|X.NAVIGATION_DUPLICATED)&&!v.delta&&v.type===ji.pop&&o.go(-1,!1)}).catch(Zt),Promise.reject()):(v.delta&&o.go(-v.delta,!1),N(D,V,O))).then(D=>{D=D||$e(V,O,!1),D&&(v.delta&&!Pe(D,X.NAVIGATION_CANCELLED)?o.go(-v.delta,!1):v.type===ji.pop&&Pe(D,X.NAVIGATION_ABORTED|X.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),Ue(V,O,D)}).catch(Zt)}))}let g=Bt(),E=Bt(),R;function N(m,y,v){_(m);const V=E.list();return V.length?V.forEach(U=>U(m,y,v)):console.error(m),Promise.reject(m)}function b(){return R&&l.value!==ze?Promise.resolve():new Promise((m,y)=>{g.add([m,y])})}function _(m){return R||(R=!m,p(),g.list().forEach(([y,v])=>m?v(m):y()),g.reset()),m}function C(m,y,v,V){const{scrollBehavior:U}=e;if(!wt||!U)return Promise.resolve();const O=!v&&Vc(Io(m.fullPath,0))||(V||!v)&&history.state&&history.state.scroll||null;return Mc().then(()=>U(m,y,O)).then(D=>D&&kc(D)).catch(D=>N(D,m,y))}const S=m=>o.go(m);let I;const $=new Set,K={currentRoute:l,listening:!0,addRoute:f,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:z,getRoutes:M,resolve:L,options:e,pu
2sh:q,replace:te,go:S,back:()=>S(-1),forward:()=>S(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:E.add,isReady:b,install(m){m.component("RouterLink",au),m.component("RouterView",du),m.config.globalProperties.$router=K,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>Jt(l)}),wt&&!I&&l.value===ze&&(I=!0,q(o.location).catch(V=>{}));const y={};for(const V in ze)Object.defineProperty(y,V,{get:()=>l.value[V],enumerable:!0});m.provide(so,K),m.provide(ao,Lc(y)),m.provide(Ki,l);const v=m.unmount;$.add(m),m.unmount=function(){$.delete(m),$.size<1&&(c=ze,F&&F(),F=null,l.value=ze,I=!1,R=!1),v()}}};function Y(m){return m.reduce((y,v)=>y.then(()=>se(v)),Promise.resolve())}return K}function fu(e){return Tt(ao)}const mu=window.Vue.inject,pu=window.Vue.effectScope,gu=window.Vue.reactive,Us=window.Vue.watch,wu=window.Vue.computed;var zs="store";function Hs(e){return e===void 0&&(e=null),mu(e!==null?e:zs)}function Nt(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function js(e){return e!==null&&typeof e=="object"}function _u(e){return e&&typeof e.then=="function"}function vu(e,t){return function(){return e(t)}}function Gs(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}function Ks(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;Yn(e,n,[],e._modules.root,!0),lo(e,n,t)}function lo(e,t,n){var i=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,s={},a={},l=pu(!0);l.run(function(){Nt(r,function(c,d){s[d]=vu(c,e),a[d]=wu(function(){return s[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=gu({data:t}),e._scope=l,e.strict&&Au(e),i&&n&&e._withCommit(function(){i.data=null}),o&&o.stop()}function Yn(e,t,n,i,o){var r=!n.length,s=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=i),!r&&!o){var a=co(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=i.state})}var c=i.context=bu(e,s,n);i.forEachMutation(function(d,u){var h=s+u;yu(e,h,d,c)}
2),i.forEachAction(function(d,u){var h=d.root?u:s+u,f=d.handler||d;Eu(e,h,f,c)}),i.forEachGetter(function(d,u){var h=s+u;Su(e,h,d,c)}),i.forEachChild(function(d,u){Yn(e,t,n.concat(u),d,o)})}function bu(e,t,n){var i=t==="",o={dispatch:i?e.dispatch:function(r,s,a){var l=Mn(r,s,a),c=l.payload,d=l.options,u=l.type;return(!d||!d.root)&&(u=t+u),e.dispatch(u,c)},commit:i?e.commit:function(r,s,a){var l=Mn(r,s,a),c=l.payload,d=l.options,u=l.type;(!d||!d.root)&&(u=t+u),e.commit(u,c,d)}};return Object.defineProperties(o,{getters:{get:i?function(){return e.getters}:function(){return Ws(e,t)}},state:{get:function(){return co(e.state,n)}}}),o}function Ws(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 r=o.slice(i);Object.defineProperty(n,r,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function yu(e,t,n,i){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(s){n.call(e,i.state,s)})}function Eu(e,t,n,i){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(s){var a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},s);return _u(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Su(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(r){return n(i.state,i.getters,r.state,r.getters)})}function Au(e){Us(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function co(e,t){return t.reduce(function(n,i){return n[i]},e)}function Mn(e,t,n){return js(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var ku="vuex bindings",qo="vuex:mutations",si="vuex:actions",ct="vuex",Cu=0;function Vu(e,t){ec({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:[ku]},function(n){n.addTimelineLayer({id:qo,label:"Vuex Mutations",color:Qo}),n.addTimelineLayer({id:si,label:"Vuex Actions",color:Qo}),n.addInspector({id:ct,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(i){if(i.app===e&&i.inspectorId===ct)if(i.filter){var o=[];Zs(o,t._modules.root,i.filter,""),i.rootNodes=o}else i.rootNodes=[Qs(t._modules.root,"")]}),n.on.getInspectorState(function(i){if(i.app===e&&i.inspectorId===ct){var o=i.nodeId;Ws(t,o),i.state=$u(Bu(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(i){if(i.app===e&&i.inspectorId===ct){var o=i.nodeId,r=i.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit(function(){i.set(t._state.data,r,i.state.value)})}}),t.subscribe(function(i,o){var r={};i.payload&&(r.payload=i.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(ct),n.sendInspectorState(ct),n.addTimelineEvent({layerId:qo,event:{time:Date.now(),title:i.type,data:r}})}),t.subscribeAction({before:function(i,o){var r={};i.payload&&(r.payload=i.payload),i._id=Cu++,i._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:si,event:{time:i._time,title:i.type,groupId:i._id,subtitle:"start",data:r}})},after:function(i,o){var r={},s=Date.now()-i._time;r.duration={_custom:{type:"duration",display:s+"ms",tooltip:"Action duration",value:s}},i.payload&&(r.payload=i.payload),r.state=o,n.addTimelineEvent({layerId:si,event:{time:Date.now(),title:i.type,groupId:i._id,subtitle:"end",data:r}})}})})}var Qo=8702998,Tu=6710886,Du=16777215,Ys={label:"namespaced",textColor:Du,backgroundColor:Tu};function qs(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Qs(e,t){return{id:t||"root",label:qs(t),tags:e.namespaced?[Ys]:[],children:Object.keys(e._children).map(function(n){return Qs(e._children[n],t+n+"/")})}}function Zs(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?[Ys]:[]}),Object.keys(t._children).forEach(function(o){Zs(e,t._children[o],n,i+o+"/")})}function $u(e,t,n){t=n==="root"?t:t[n];var i=Object.keys(t),o={state:Object.keys(e.state).map(function(s){return{key:s,editable:!0,value:e.state[s]}})};if(i.length){var r=Nu(t);o.getters=Object.keys(r).map(function(s){return{key:s.endsWith("/")?qs(s):s,editable:!1,value:Wi(function(){return r[s]})}})}return o}function Nu(e){var t={};return Object.keys(e).forEach(function(n){var i=n.split("/");if(i.length>1){var o=t,r=i.pop();
2i.forEach(function(s){o[s]||(o[s]={_custom:{value:{},display:s,tooltip:"Module",abstract:!0}}),o=o[s]._custom.value}),o[r]=Wi(function(){return e[n]})}else t[n]=Wi(function(){return e[n]})}),t}function Bu(e,t){var n=t.split("/").filter(function(i){return i});return n.reduce(function(i,o,r){var s=i[o];if(!s)throw new Error('Missing module "'+o+'" for path "'+t+'".');return r===n.length-1?s:s._children},t==="root"?e:e.root._children)}function Wi(e){try{return e()}catch(t){return t}}var De=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=(typeof i=="function"?i():i)||{}},Js={namespaced:{configurable:!0}};Js.namespaced.get=function(){return!!this._rawModule.namespaced};De.prototype.addChild=function(t,n){this._children[t]=n};De.prototype.removeChild=function(t){delete this._children[t]};De.prototype.getChild=function(t){return this._children[t]};De.prototype.hasChild=function(t){return t in this._children};De.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};De.prototype.forEachChild=function(t){Nt(this._children,t)};De.prototype.forEachGetter=function(t){this._rawModule.getters&&Nt(this._rawModule.getters,t)};De.prototype.forEachAction=function(t){this._rawModule.actions&&Nt(this._rawModule.actions,t)};De.prototype.forEachMutation=function(t){this._rawModule.mutations&&Nt(this._rawModule.mutations,t)};Object.defineProperties(De.prototype,Js);var rt=function(t){this.register([],t,!1)};rt.prototype.get=function(t){return t.reduce(function(n,i){return n.getChild(i)},this.root)};rt.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(i,o){return n=n.getChild(o),i+(n.namespaced?o+"/":"")},"")};rt.prototype.update=function(t){Xs([],this.root,t)};rt.prototype.register=function(t,n,i){var o=this;i===void 0&&(i=!0);var r=new De(n,i);if(t.length===0)this.root=r;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],r)}n.modules&&Nt(n.modules,function(a,l){o.register(t.concat(l),a,i)})};rt.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),i=t[t.length-1],o=n.getChild(i);o&&o.runtime&&n.removeChild(i)};rt.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),i=t[t.length-1];return n?n.hasChild(i):!1};function Xs(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return;Xs(e.concat(i),t.getChild(i),n.modules[i])}}function Ru(e){return new fe(e)}var fe=function(t){var n=this;t===void 0&&(t={});var i=t.plugins;i===void 0&&(i=[]);var o=t.strict;o===void 0&&(o=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new rt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var s=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(h,f){return l.call(s,h,f)},this.commit=function(h,f,A){return c.call(s,h,f,A)},this.strict=o;var d=this._modules.root.state;Yn(this,d,[],this._modules.root),lo(this,d),i.forEach(function(u){return u(n)})},uo={state:{configurable:!0}};fe.prototype.install=function(t,n){t.provide(n||zs,this),t.config.globalProperties.$store=this;var i=this._devtools!==void 0?this._devtools:!1;i&&Vu(t,this)};uo.state.get=function(){return this._state.data};uo.state.set=function(e){};fe.prototype.commit=function(t,n,i){var o=this,r=Mn(t,n,i),s=r.type,a=r.payload,l={type:s,payload:a},c=this._mutations[s];c&&(this._withCommit(function(){c.forEach(function(u){u(a)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};fe.prototype.dispatch=function(t,n){var i=this,o=Mn(t,n),r=o.type,s=o.payload,a={type:r,payload:s},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,i.state)})}catch(d){}var c=l.length>1?Promise.all(l.map(function(d){return d(s)})):l[0](s);return new Promise(function(d,u){c.then(function(h){try{i._actionSubscribers.filter(function(f){return f.after}
2).forEach(function(f){return f.after(a,i.state)})}catch(f){}d(h)},function(h){try{i._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(a,i.state,h)})}catch(f){}u(h)})})}};fe.prototype.subscribe=function(t,n){return Gs(t,this._subscribers,n)};fe.prototype.subscribeAction=function(t,n){var i=typeof t=="function"?{before:t}:t;return Gs(i,this._actionSubscribers,n)};fe.prototype.watch=function(t,n,i){var o=this;return Us(function(){return t(o.state,o.getters)},n,Object.assign({},i))};fe.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};fe.prototype.registerModule=function(t,n,i){i===void 0&&(i={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Yn(this,this.state,t,this._modules.get(t),i.preserveState),lo(this,this.state)};fe.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var i=co(n.state,t.slice(0,-1));delete i[t[t.length-1]]}),Ks(this)};fe.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};fe.prototype.hotUpdate=function(t){this._modules.update(t),Ks(this,!0)};fe.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(fe.prototype,uo);var ea=ia(function(e,t){var n={};return na(t).forEach(function(i){var o=i.key,r=i.val;r=e+r,n[o]=function(){if(!(e&&!oa(this.$store,"mapGetters",e)))return this.$store.getters[r]},n[o].vuex=!0}),n}),ta=ia(function(e,t){var n={};return na(t).forEach(function(i){var o=i.key,r=i.val;n[o]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.dispatch;if(e){var d=oa(this.$store,"mapActions",e);if(!d)return;c=d.context.dispatch}return typeof r=="function"?r.apply(this,[c].concat(a)):c.apply(this.$store,[r].concat(a))}}),n});function na(e){return Ou(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Ou(e){return Array.isArray(e)||js(e)}function ia(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function oa(e,t,n){var i=e._modulesNamespaceMap[n];return i}const tn=(function e(t){function n(o,r,s){var a,l={};if(Array.isArray(o))return o.concat(r);for(a in o)l[s?a.toLowerCase():a]=o[a];for(a in r){var c=s?a.toLowerCase():a,d=r[a];l[c]=c in l&&typeof d=="object"?n(l[c],d,c=="headers"):d}return l}function i(o,r,s,a,l){var c=typeof o!="string"?(r=o).url:o,d={config:r},u=n(t,r),h={};a=a||u.data,(u.transformRequest||[]).map(function(f){a=f(a,u.headers)||a}),u.auth&&(h.authorization=u.auth),a&&typeof a=="object"&&typeof a.append!="function"&&typeof a.text!="function"&&(a=JSON.stringify(a),h["content-type"]="application/json");try{h[u.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+u.xsrfCookieName+"=([^;]*)"))[2])}catch(f){}return u.baseURL&&(c=c.replace(/^(?!.*\/\/)\/?/,u.baseURL+"/")),u.params&&(c+=(~c.indexOf("?")?"&":"?")+(u.paramsSerializer?u.paramsSerializer(u.params):new URLSearchParams(u.params))),(u.fetch||fetch)(c,{method:(s||u.method||"get").toUpperCase(),body:a,headers:n(u.headers,h,!0),credentials:u.withCredentials?"include":l}).then(function(f){for(var A in f)typeof f[A]!="function"&&(d[A]=f[A]);return u.responseType=="stream"?(d.data=f.body,d):f[u.responseType||"text"]().then(function(M){d.data=M,d.data=JSON.parse(M)}).catch(Object).then(function(){return(u.validateStatus?u.validateStatus(f.status):f.ok)?d:Promise.reject(d)})})}return t=t||{},i.request=i,i.get=function(o,r){return i(o,r,"get")},i.delete=function(o,r){return i(o,r,"delete")},i.head=function(o,r){return i(o,r,"head")},i.options=function(o,r){return i(o,r,"options")},i.post=function(o,r,s){return i(o,s,"post",r)},i.put=function(o,r,s){return i(o,s,"put",r)},i.patch=function(o,r,s){return i(o,s,"patch",r)},i.all=Promise.all.bind(Promise),i.spread=function(o){return o.apply.bind(o,o)},i.CancelToken=typeof AbortController=="function"?AbortController:Object,i.defaults=t,i.create=e,i})(),Yi="soylent_component_data_",Mu={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&&t.persistent===!0&&window.localStorage.setItem(Yi+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){return e.hasFavorites},currentData(e){return e.currentData},headerHeight(e){return e.headerHeight},isLoading(e){return e.loading},isCategoryModalOpen(e){return e.categoryModalOpen},isMenuOpen(e){return e.menuOpen},isSubMenuOpen(e){return e.subMenuOpen},isSearchOpen(e){return e.searchOpen},pageData(e){return e.pageData},pageDebugData(e){return e.pageDebugData},pageTemplate(e){return e.pageTemplate},scrollOffset(e){return e.scrollOffset},isScriptLoaded:e=>t=>e.loadedScripts.includes(t),componentData(e){return e.componentData},renderedFullPage(e){return e.renderedFullPage},renderedImages(e){return 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)}
2,setLoading(e,t){e.commit("SET_LOADING",!!t)},getCurrentData(e){tn.get("/cache/soylent/current_data.json").then(t=>{const n=t.data;e.commit("SET_CURRENT_DATA",n)}).catch(t=>{if(!t.response){console.debug(t);return}console.debug(t.response)})},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")}}};let Iu=!1,Pu=null;const Lu={state:{modalVisible:Iu,modalType:Pu},mutations:{SET_MODAL_VISIBLE(e,t){e.modalVisible=t},SET_MODAL_TYPE(e,t){e.modalType=t}},getters:{modalVisible(e){return e.modalVisible},modalType(e){return e.modalType}},actions:{setModalVisible(e,t){e.commit("SET_MODAL_VISIBLE",t)},setModalType(e,t){e.commit("SET_MODAL_TYPE",t)}}},ra="SHOW_READER",sa="HIDE_READER",aa="SHOW_READER_AUTOPLAY",la="SET_READER_AUTOPLAY",xu={[ra](e){return e.show=!0,!0},[aa](e){return e.show=!0,e.autoplay=!0,!0},[la](e,t){return e.autoplay=t,!0},[sa](e,t){return e.show=!1,e.autoplay=!1,!0}},Fu={show:e=>e.show,autoplay:e=>e.autoplay},Uu={showReader:function({commit:e},t){return e(ra,t)},showReaderAutoplay:function({commit:e},t){return e(aa,t)},setReaderAutoplay:function({commit:e},t){return e(la,t)},hideReader:function({commit:e},t){return e(sa,t)}},zu={state:{show:!1,autoplay:!1},namespaced:!0,mutations:xu,getters:Fu,actions:Uu},Hu={app:Mu,modal:Lu,reader:zu},Ve=Ru({modules:Hu});window.soylentRegisterStoreModule=function(e,t){if(Ve.hasModule(e)){console.debug("[soylent] Cannot register store module [".concat(e,"] as it already exists"));return}Ve.registerModule(e,t)};Object.keys(window.localStorage).forEach(e=>{const t=new RegExp("^".concat(Yi.replace(/\./g,"."),"(.+)$"),"i"),n=e.match(t);n&&Ve.dispatch("setComponentData",{key:n[1],value:JSON.parse(window.localStorage.getItem("".concat(Yi).concat(n[1]))),persistant:!1})});const ju={RESPONSE_DATA:"BASE_VIEW__RESPONSE_DATA"},ca={SHOW_RESTRICTED:"BLOCK__SHOW_RESTRICTED"};function Gu(e,t=document.body){if(e.substr(0,1)==="<")return document.createElement(e.replace(/[</>]/g,""));const n=Ku(e,t);return n.length>=1?n[0]:null}function Ku(e,t=[document.body]){let n=[];return t=t&&t.constructor===Array?t:[t],t.forEach(function(i){n=n.concat([].slice.call((i||document).querySelectorAll(e)))}),n}function ua(e){let t=(e||"").split("-");return t=t.map(n=>n.substr(0,1).toUpperCase()+n.substr(1)),t.join("")}const Wu={name:"ElementHeader",props:["headline","settings"]},Yu=window.Vue.toDisplayString,qu=window.Vue.openBlock,Qu=window.Vue.createElementBlock,Zu={class:"headline element-header"};function Ju(e,t,n,i,o,r){return qu(),Qu("h2",Zu,Yu(n.headline),1)}const Xu=P(Wu,[["render",Ju]]);var tt;class ho{constructor(){j(this,tt,{})}set(t){if(typeof t!="object"){console.error("[soylent:componentProvider] set failed, you did not pass a collection",t);return}Object.assign(w(this,tt),t)}has(t){return Object.keys(w(this,tt)).indexOf(t)>=0}get(){return w(this,tt)}getByName(t,n=null){return this.has(t)?w(this,tt)[t]:n}}tt=new WeakMap;const _e=new ho;class ut{static isAvailable(){return typeof window<"u"&&!!window.UC_UI}static isInitialized(){return!this.isAvailable()||typeof window.UC_UI.isInitialized!="function"?!1:window.UC_UI.isInitialized()}static getServicesBaseInfo(){if(!this.isInitialized()||typeof window.UC_UI.getServicesBaseInfo!="function")return[];const t=window.UC_UI.getServicesBaseInfo();return Array.isArray(t)?t:[]}static hasConsent(t=[]){if(!Array.isArray(t)||t.length===0)return!0;const n=this.isAvailable(),i=this.isInitialized();if(!n||!i)return!1;const o=t.map(a=>
2String(a).trim().toLowerCase()).filter(Boolean);return o.length===0?!0:this.getServicesBaseInfo().some(a=>{const l=a==null?void 0:a.consent;if(!((l==null?void 0:l.status)===!0||l===!0))return!1;const d=[a==null?void 0:a.name,a==null?void 0:a.serviceName,a==null?void 0:a.dataProcessor,a==null?void 0:a.categoryName].map(u=>String(u!=null?u:"").trim().toLowerCase()).filter(Boolean);return o.some(u=>d.includes(u))})}static hasService(t=[]){if(!Array.isArray(t)||t.length===0)return!0;const n=this.isAvailable(),i=this.isInitialized();if(!n||!i)return null;const o=t.map(a=>String(a).trim().toLowerCase()).filter(Boolean);return o.length===0?!0:this.getServicesBaseInfo().some(a=>{const l=[a==null?void 0:a.name,a==null?void 0:a.serviceName,a==null?void 0:a.dataProcessor,a==null?void 0:a.categoryName].map(c=>String(c!=null?c:"").trim().toLowerCase()).filter(Boolean);return o.some(c=>l.includes(c))})}static getServiceState(t=[]){const n=this.hasService(t);return n===!0?"matched":n===!1?"missing":"unknown"}static onConsentChanged(t){typeof t=="function"&&(window.addEventListener("UC_UI_INITIALIZED",t),window.addEventListener("UC_UI_VIEW_CHANGED",t))}static offConsentChanged(t){typeof t=="function"&&(window.removeEventListener("UC_UI_INITIALIZED",t),window.removeEventListener("UC_UI_VIEW_CHANGED",t))}static openPrivacySettings(){return this.isAvailable()&&typeof window.UC_UI.showSecondLayer=="function"?(window.UC_UI.showSecondLayer(),!0):!1}static findServiceIds(t=[]){if(!Array.isArray(t)||t.length===0)return[];const n=t.map(o=>String(o).trim().toLowerCase()).filter(Boolean);return n.length===0?[]:this.getServicesBaseInfo().filter(o=>{const r=[o==null?void 0:o.name,o==null?void 0:o.serviceName,o==null?void 0:o.dataProcessor,o==null?void 0:o.categoryName].map(s=>String(s!=null?s:"").trim().toLowerCase()).filter(Boolean);return n.some(s=>r.includes(s))}).map(o=>o==null?void 0:o.id).filter(Boolean)}static acceptServices(t=[]){if(!this.isAvailable()||typeof window.UC_UI.acceptService!="function")return Promise.resolve(!1);const n=this.findServiceIds(t);return n.length===0?Promise.resolve(!1):Promise.all(n.map(i=>window.UC_UI.acceptService(i))).then(()=>(window.dispatchEvent(new CustomEvent("consent-changed",{detail:{source:"usercentrics",ids:n}})),!0)).catch(()=>!1)}}const qt="none",qi="manual",In="usercentrics",ed="Content freischalten",td="Dieser Inhalt benötigt eine manuelle Freischaltung",nd="Content freischalten",id="Dieser Inhalt benötigt eine manuelle Freischaltung";function od(e){return parseInt(e,10)===1}function da(e=[]){return Array.isArray(e)?e.map(t=>String(t).trim()).filter(Boolean):[]}function rd({consentNeeded:e,usercentricsAvailable:t,usercentricsServices:n}){return od(e)?t&&da(n).length>0?In:qi:qt}function Zo(e){return e?window.localStorage.getItem(e)==="1":!1}function Jo(e){e&&(window.localStorage.setItem(e,"1"),window.dispatchEvent(new CustomEvent("consent-changed",{detail:{identifier:e}})))}function Xo(e){return e===In?{buttonLabel:ed,text:td}:{buttonLabel:nd,text:id}}const sd={name:"CustomHtmlBlock",props:["element"],data(){return{agreed:!1,forceManualFallback:!1}},computed:{usercentricsDps(){var e;return String((e=this.element.data.usercentrics_dps)!=null?e:"").trim()},usercentricsServices(){return da([this.usercentricsDps])},usercentricsAvailable(){var e,t;return(t=(e=this.element.data)==null?void 0:e.usercentrics_available)!=null?t:!1},consentKey(){return this.element.data.uid},configuredConsentMode(){return rd({consentNeeded:this.element.data.consent_needed,usercentricsAvailable:this.usercentricsAvailable,usercentricsServices:this.usercentricsServices})},activeConsentMode(){return this.configuredConsentMode===qt?qt:this.forceManualFallback?qi:this.configuredConsentMode},canLoad:function(){return this.activeConsentMode===qt||this.agreed},consentButtonLabel:function(){return this.element.data.blocker_button_label?this.element.data.blocker_button_label:Xo(this.activeConsentMode).buttonLabel},consentText:function(){return this.element.data.blocker_text?this.element.data.blocker_text:Xo(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===In){const e=ut.getServiceState(this.usercentricsServices);if(e==="missing")this.forceManualFallback=!0;else if(e==="matched"){ut.acceptServices(this.usercentricsServices).then(t=>{if(t){this.refreshConsentState(),this.canLoad&&this.initScripts();return}this.forceManualFallback=!0,this.agreed=!0,Jo(this.consentKey),this.initScripts()});return}else return}this.agreed=!0,Jo(this.consentKey),this.initScripts()},onConsentChanged(e){var t;if(this.activeConsentMode!==In){const n=(t=e==null?void 0:e.detail)==null?void 0:t.identifier;if(n&&n!==this.consentKey)return}this.refreshConsentState(),this.canLoad&&this.initScripts()},refreshConsentState(){if(this.activeConsentMode===qt){this.agreed=!0;return}if(this.activeConsentMode===qi){this.agreed=Zo(this.consentKey);return}const e=ut.getServiceState(this.usercentricsServices);if(e==="missing"){this.forceManualFallback=!0,this.agreed=Zo(this.consentKey);return}if(e==="unknown"){this.agreed=!1;return}this.agreed=ut.hasConsent(this.usercentricsServices)}
2,loadScript(e,t=!0){if(t===!0&&this.$store.getters.isScriptLoaded(e.identifier))return;const n=document.createElement(e.type);if(e.attr)for(const i in e.attr)i==="innerText"?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(){ut.onConsentChanged(this.onConsentChanged),window.addEventListener("consent-changed",this.onConsentChanged),this.refreshConsentState(),this.canLoad&&this.initScripts()},beforeUnmount(){ut.offConsentChanged(this.onConsentChanged),window.removeEventListener("consent-changed",this.onConsentChanged)}},ai=window.Vue.openBlock,li=window.Vue.createElementBlock;window.Vue.createCommentVNode;const er=window.Vue.toDisplayString,tr=window.Vue.createElementVNode,ad=window.Vue.normalizeClass,ld=["innerHTML"],cd={key:1,class:"consent-wrapper"},ud={class:"consent-text"};function dd(e,t,n,i,o,r){return ai(),li("div",{class:ad(["element",r.elementClasses])},[r.canLoad?(ai(),li("div",{key:0,innerHTML:n.element.data.html_data,ref:"html_data"},null,8,ld)):(ai(),li("div",cd,[tr("p",ud,er(r.consentText),1),tr("a",{class:"consent-button",onClick:t[0]||(t[0]=(...s)=>r.agree&&r.agree(...s))},er(r.consentButtonLabel),1)]))],2)}const hd=P(sd,[["render",dd]]),fd={name:"EditorElement",props:{element:{type:Object,default:function(){return{type:null,subtype:null,data:{}}}}}},md={name:"Placeholder",extends:fd},nr=window.Vue.toDisplayString,pd=window.Vue.createElementVNode,gd=window.Vue.createTextVNode,wd=window.Vue.openBlock,_d=window.Vue.createElementBlock,vd=window.Vue.createCommentVNode,bd={key:0,class:"element default"};function yd(e,t,n,i,o,r){return this.$production_mode?vd("",!0):(wd(),_d("div",bd,[t[0]||(t[0]=gd(" I am a placeholder, you need to implement me: ",-1)),pd("code",null,".element."+nr(e.element.type||"")+"."+nr(e.element.subtype||""),1)]))}const Ed=P(md,[["render",yd]]);function Sd(){return window.soylentEditorElementProvider||(window.soylentEditorElementProvider=new ho,window.soylentEditorElementProvider.set({CustomHtmlBlock:hd,Placeholder:Ed})),window.soylentEditorElementProvider}const $n=Sd(),Ad=new Event(_t.ELEMENT_PROVIDER_READY);window.dispatchEvent(Ad);const kd={name:"IdvlEditorSlot",components:$n.get(),props:["element"],data(){return{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,$n.get()),this.getElementComponentName(this.defaultElement))},elementKey:function(){return this.elementComponent==="SoylentPostShortcutListDefault"||this.elementComponent==="SoylentPostShortcutList"?this.element.data.archive_url:this.elementComponent==="SoylentOpenerMedia"?this.element.data.media_id:Date.now()+" _ "+Math.random()},slotHeadline:function(){return this.element.slot_settings.soylent_headline||""},elementHeader:function(){return _e.getByName("elementHeader",Xu)},slotClasses:function(){return this.element.slot_settings.css||""}},methods:{hasElement(e){return $n.has(e)},getElementComponentName(e){return ua(e||"")}}},ir=window.Vue.resolveDynamicComponent,ci=window.Vue.openBlock,or=window.Vue.createBlock,rr=window.Vue.createCommentVNode,Cd=window.Vue.normalizeClass,Vd=window.Vue.createElementBlock;function Td(e,t,n,i,o,r){return ci(),Vd("div",{class:Cd(["slot",r.slotClasses])},[r.slotHeadline?(ci(),or(ir(r.elementHeader),{key:0,headline:r.slotHeadline,settings:n.element.slot_settings},null,8,["headline","settings"])):rr("",!0),n.element.type?(ci(),or(ir(r.elementComponent),{element:n.element,key:r.elementKey},null,8,["element"])):rr("",!0)],2)}const sr=P(kd,[["render",Td]]),ha=()=>{let e=new Date().getTime(),t=performance&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{let i=Math.random()*16;return e>0?(i=(e+i)%16|0,e=Math.floor(e/16)):(i=(t+i)%16|0,t=Math.floor(t/16)),(n=="x"?i:i&7|8).toString(16)})},Dd="get",$d="post",fa={get:(e,t)=>new ui({...t,url:e}),post:(e,t,n={})=>new ui({...n,data:t,method:$d,url:e}),request:e=>new ui(e)},ar=Object.freeze({data:null,headers:{},method:Dd,onUploadProgress:null,signal:null,url:""});var J,Gn,ma;class ui{constructor(t=ar){j(this,Gn);j(this,J);return t=Object.assign({},ar,t),oe(this,J,new XMLHttpRequest),w(this,J).open(t.method,t.url),Object.keys(t.headers).forEac
2h(n=>w(this,J).setRequestHeader(n,t.headers[n])),typeof t.onUploadStart=="function"&&(w(this,J).upload.onloadstart=t.onUploadStart()),typeof t.onUploadProgress=="function"&&(w(this,J).upload.onprogress=n=>{n.lengthComputable&&t.onUploadProgress(n.loaded,n.total)}),t.signal&&t.signal.addEventListener&&t.signal.addEventListener("abort",()=>{w(this,J).abort()}),new Promise((n,i)=>{w(this,J).onload=()=>{if(w(this,J).status>=200&&w(this,J).status<300){if(w(this,J).getResponseHeader("Content-Type")==="application/json")try{n(JSON.parse(w(this,J).response))}catch(r){}n(w(this,J).response)}else i({status:w(this,J).status,statusText:w(this,J).statusText})},w(this,J).onerror=()=>{i({status:w(this,J).status,statusText:w(this,J).statusText})},t.data?(t.data.constructor!==FormData&&typeof t.data=="object"&&(t.data=ae(this,Gn,ma).call(this,t.data)),w(this,J).send(t.data)):w(this,J).send()})}}J=new WeakMap,Gn=new WeakSet,ma=function(t){const n=new FormData;for(const i in t)n.append(i,t[i]);return n};class Nd{constructor(){this.items={},this.observer=new IntersectionObserver(this.observerCallback.bind(this),{threshold:.3})}add(t,n,i){this.items[t]={el:n,cb:i},n.setAttribute("data-uid",t),this.observer.observe(n)}observerCallback(t,n){t.forEach(i=>{if(i.intersectionRatio>0){let o=i.target.getAttribute("data-uid");o in this.items&&(this.items[o].cb(),n.unobserve(i.target),this.remove(o))}})}remove(t){this.items[t]&&delete this.items[t]}}let Nn;window.cmmsScrollWatcher?Nn=window.cmmsScrollWatcher:(Nn=new Nd,window.cmmsScrollWatcher=Nn);const lr=Nn;class Bd{constructor(t,n){this.selectors=t,this.params=n,this.options=this.getOptions(),this.items=this.getItems(),this.lightBox=null,t.forEach((i,o)=>{let r;n.type==="gallery"?(r=i,r=i):r=i.$el,r.setAttribute("data-pswp-uid",o),r.setAttribute("tabindex","0"),r.addEventListener("keydown",s=>{(s.keyCode===13||s.key==="Enter"||s.keyCode===32||s.key===" ")&&(s.preventDefault(),this.options.galleryUID=o,this.open(this.options.galleryUID))}),r.addEventListener("click",()=>{this.options.galleryUID=o,this.open(this.options.galleryUID)})})}getItems(){const t=[];switch(this.params.type){case"picture":t.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":t.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(n){t.push({src:n.src,width:n.size.width,height:n.size.height,alt:n.desc})});break}return t}getOptions(){return{}}async open(t){const{default:n}=await ee(async()=>{const{default:r}=await import("./photoswipe-lightbox.esm.js");return{default:r}},[]),i={dataSource:this.items,showHideAnimationType:"zoom",pswpModule:()=>ee(()=>import("./photoswipe.esm.js"),[])},o=new n(i);o.on("uiRegister",()=>{o.pswp.ui.registerElement({name:"caption",order:9,isButton:!1,appendTo:"root",html:"",onInit:(r,s)=>{o.pswp.on("change",()=>{let l='<div class="pswp__caption__content">'+o.pswp.currSlide.data.alt+"</div>";r.innerHTML=l||""})}}),(!("disableDownload"in this.params)||!this.params.disableDownload)&&o.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(r,s,a)=>{const l=a.currSlide.data.src,d=await(await fetch(l)).blob(),u=URL.createObjectURL(d),h=document.createElement("a");h.href=u,h.download=l.split("/").pop(),h.click(),URL.revokeObjectURL(u)}})}),o.init(),o.loadAndOpen(parseInt(t,10))}}const Be=[1920,1328,1024,768,425,320],cr=[480],Rd={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(){return{imageIndex:0,loadingMode:"eager",loadingPriority:"auto",uid:null,visible:!1,
2containerWidth:0,containerHeight:0,containerRatio:0,width:0,height:0,ratio:1,maxWidth:Be[Be.length-1],responsiveStep:-1,domRendered:!1}},computed:{...ea(["renderedImages"]),style:function(){const e='background-image: url("'.concat(this.src,'");'),t=0<this.maxHeight?"max-height: ".concat(this.maxHeight,"px;"):"";return e+t},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 i=Be.length-1,o=Be[i],r=Be[i]/this.ratio;for(;(o<=this.containerWidth||r<=this.containerHeight)&&o<=this.image.width&&r<=this.image.height&&i>=0;)i--,o=Be[i],r=Be[i]/this.ratio;return this.width=o,this.height=r,this.responsiveStep=i,this.buildSrc(this.width,this.height)}const e=20;let t=this.fill?e:Math.round(this.image.height/(this.image.width/e));return'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+t+'">\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:!1}},methods:{...ta(["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=Be.length-1;for(;n>=0&&this.containerWidth>Be[n];)n--;this.maxWidth=Be[n],this.responsiveStep=n},buildSrc(e,t){let n;if(this.blur===!0)n="200xeb_20x10/";else if(this.imageSizeReference==="height"){this.height=cr[cr.length-1],this.width=Math.round(this.image.width/(this.image.height/this.height));let i=Math.round(this.height*this.dpr);n="x".concat(i,"/")}else{this.width=e,this.height=Math.round(this.image.height/(this.image.width/this.width));let i=Math.round(Number(e)*this.dpr);n="".concat(i,"x/")}return"".concat(window.cmms_thumbs_base).concat(n).concat(this.image.media_id,".webp")},setVisible:function(){this.visible=!0},buildLightBox(){new Bd([this],{type:"picture",src:"".concat(window.cmms_thumbs_base,"f:webp/").concat(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=ha(),lr.add(this.uid,this.$el,this.setVisible)):this.setVisible(),this.zoom&&this.buildLightBox()},watch:{updateVisibility:function(e){e===!0&&this.setVisible()}},beforeUnmount(){window.removeEventListener("resize",this.update),lr.remove(this.uid)}},Od=window.Vue.normalizeStyle,Md=window.Vue.createElementVNode,di=window.Vue.openBlock,hi=window.Vue.createElementBlock,ur=window.Vue.createCommentVNode,dr=window.Vue.normalizeClass,Id=["innerHTML"],Pd=["width","height","loading","src","alt","fetchPriority"];function Ld(e,t,n,i,o,r){return n.fill&&!n.zoom?(di(),hi("span",{key:0,class:dr(["responsive-image",n.fill?"-fill":"",n.contain?"-contain":"",o.visible?"--visible":"","_align-img-".concat(n.vAlign,"-").concat(n.hAlign)])},[Md("span",{style:Od(r.style)},null,4),r.copyright?(di(),hi("span",{key:0,class:"responsive-image-copyright",innerHTML:r.copyright},null,8,Id)):ur("",!0)],2)):n.fill?ur("",!0):(di(),hi("img",{key:1,width:o.width,height:o.height,loading:o.loadingMode,src:r.src,alt:r.alt,class:dr("_align-img-".concat(n.vAlign,"-").concat(n.hAlign)),fetchPriority:o.loadingPriority},null,10,Pd))}
2const fn=P(Rd,[["render",Ld]]),xd={name:"IdvlEditorBlock",components:{CmmsResponsiveImage:fn,IdvlEditorSlot:sr},props:["block"],data:function(){return{uuid:ha()}},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="".concat(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===""?!0:Kn.filter(ca.SHOW_RESTRICTED,this.block.settings.soylent_access_restriction==="no_auth",{},this.block.settings.soylent_access_restriction,this.block):!0},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(){return _e.getByName("editorSlot",sr)}},methods:{elementKey:function(e){return"el-".concat(this.uuid,"-").concat(e)},retrieveElements:function(){this.block.retrieve_restricted_url&&fa.get(this.block.retrieve_restricted_url).then(e=>{this.block.elements=e})}},mounted(){this.showBlock&&this.retrieveElements()},watch:{showBlock:function(e){e===!0&&this.retrieveElements()}}},dt=window.Vue.openBlock,gn=window.Vue.createElementBlock,wn=window.Vue.createCommentVNode,Fd=window.Vue.resolveComponent,hr=window.Vue.createBlock,Ud=window.Vue.renderList,zd=window.Vue.Fragment,Hd=window.Vue.resolveDynamicComponent,fr=window.Vue.normalizeClass,jd=window.Vue.createElementVNode,Gd=["id"],Kd={key:1,class:"block__background"};function Wd(e,t,n,i,o,r){const s=Fd("CmmsResponsiveImage");return r.showBlock?(dt(),gn("div",{key:0,class:fr(["block-wrapper",r.padding,r.blockWrapperClass])},[r.anchor?(dt(),gn("div",{key:0,class:"block-anchor",id:r.anchor},null,8,Gd)):wn("",!0),r.image?(dt(),gn("div",Kd,[r.image?(dt(),hr(s,{key:0,image:r.image,fill:!0,blur:r.imageBlur},null,8,["image","blur"])):wn("",!0)])):wn("",!0),jd("div",{class:fr(["block",n.block.block_type])},[(dt(!0),gn(zd,null,Ud(n.block.elements,(a,l)=>(dt(),hr(Hd(r.editorSlotComponent),{key:r.elementKey(l),element:a},null,8,["element"]))),128))],2)],2)):wn("",!0)}const mr=P(xd,[["render",Wd]]),Yd={name:"IdvlEditor",components:{IdvlEditorBlock:mr},props:["blocks"],data:function(){return{editorDataVersion:"",maxItems:0}},computed:{elementIdvlEditorBlock:function(){return _e.getByName("idvlEditorBlock",mr)},getBlocks(){let e=this.$store.getters.renderedFullPage?this.blocks.length:20,t=this.blocks.filter(n=>n!==null);return t=t.slice(0,e),t}},watch:{blocks(){this.bumpEditorDataVersion()}},methods:{blockKey(e,t){return e!==null?"block_id_"+e.id:"block_index"+t},bumpEditorDataVersion:function(){this.editorDataVersion="".concat(Date.now(),"_").concat(Math.random())}},updated(){this.$nextTick(function(){window.dispatchEvent(new Event("repainted"))})}},qd=window.Vue.renderList,Qd=window.Vue.Fragment,fi=window.Vue.openBlock,pr=window.Vue.createElementBlock,Zd=window.Vue.resolveDynamicComponent,Jd=window.Vue.createBlock;function Xd(e,t,n,i,o,r){return fi(),pr("div",{class:"idvl-editor",key:e.editorDataVersion},[(fi(!0),pr(Qd,null,qd(r.getBlocks,(s,a)=>(fi(),Jd(Zd(r.elementIdvlEditorBlock),{key:r.blockKey(s,a),block:s},null,8,["block"]))),128))])}const pa=P(Yd,[["render",Xd]]),eh={name:"IdvlEditorTemplate",components:{IdvlEditor:pa},props:["data"]}
2,th=window.Vue.resolveComponent,nh=window.Vue.openBlock,ih=window.Vue.createBlock;function oh(e,t,n,i,o,r){const s=th("idvl-editor");return nh(),ih(s,{blocks:n.data.blocks},null,8,["blocks"])}const rh=P(eh,[["render",oh]]),Qi=new ho;Qi.set({IdvlEditorTemplateDefault:rh});function ga(e,t=500){e&&setTimeout(()=>{let n=document.querySelector(e);n&&n.scrollIntoView({behavior:"instant",block:"start",inline:"nearest"})},t)}class sh{static track(t){if("IOMm"in window&&t.ivw)try{IOMm("pageview",{cp:t.ivw})}catch(n){console.debug("[InfOnline] pv exception:",n.getMessage())}else t.ivw&&console.debug("[InfOnline] not loaded")}}var ge,bt,Ye,wa,_a,va;class ah{constructor(){j(this,Ye);j(this,ge);j(this,bt)}updateMarkup(t){oe(this,ge,t),ae(this,Ye,wa).call(this),ae(this,Ye,_a).call(this),ae(this,Ye,va).call(this)}}ge=new WeakMap,bt=new WeakMap,Ye=new WeakSet,wa=function(){const t=document.querySelector('link[rel="canonical"]');if(w(this,ge).canonical)if(t)t.setAttribute("href",w(this,ge).canonical);else{const n=document.createElement("link");n.rel="canonical",n.href=w(this,ge).canonical,document.getElementsByTagName("head")[0].appendChild(n)}else t&&t.remove()},_a=function(){if(!("meta"in w(this,ge)))return;const t=Object.keys(w(this,ge).meta);t.forEach(n=>{const i=n.indexOf(":")===-1?"name":"property",o=document.querySelectorAll("meta["+i+'="'+n+'"]')[0],r=w(this,ge).meta[n];if(o)r&&r!=="false"?o.setAttribute("content",r):o.remove();else{const s=document.createElement("meta");s.setAttribute(i,n),s.content=w(this,ge).meta[n],document.getElementsByTagName("head")[0].appendChild(s)}}),document.querySelectorAll('meta[property^="og:"]').forEach(n=>{t.includes(n.getAttribute("property"))||n.remove()})},va=function(){if("json_ld"in w(this,ge)){if(!w(this,bt)){let t=document.querySelector('script[type="application/ld+json"]');t||(t=document.createElement("script"),t.type="application/ld+json",document.getElementsByTagName("head")[0].appendChild(t)),oe(this,bt,t)}w(this,bt).innerHTML=JSON.stringify(w(this,ge).json_ld)}};const lh=new ah;class ch{constructor(){this.instance=("0000"+Math.round(Math.random()*1e3)).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(t,n=!1){if(!this.enabled){this.payloadQueue.push(t),console.debug("[bridge] Queued payload",t);return}if(this.payloadQueue.length&&!n&&(this.payloadQueue.forEach(i=>this.sendPayload(i,!0)),this.payloadQueue=[]),t!==null){console.debug("[bridge] Send payload",t);try{t=JSON.stringify(t),window.ReactNativeWebView.postMessage(t)}catch(i){console.debug("[bridge] Could not send payload",i,t)}}}dispatchPayload(t){return console.debug("[bridge] Got payload",t),this.callbacks.forEach(n=>{const{cb:i,type:o}=n;if(!o.length||o===String(t.type))try{i(Object.assign({instance:this.instance},t))}catch(r){console.debug("[bridge] Could not fire callback",i,this.callbacks)}}),!0}onPayload(t,n=""){typeof t=="function"&&this.callbacks.push({cb:t,type:String(n)})}}const we=new ch,uh={name:"BaseView",components:Qi.get(),data(){var e;return{lastUri:null,uri:(e=document.location.pathname)!=null?e: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:{...ta(["resetRenderedImages"]),nav(e,t="",n=!1){if(this.resetRenderedImages(),this.hash=t,!n&&e===this.uri){this.scrollToAnchor();return}
2n||(this.lastUri=this.uri,this.uri=e),this.$store.dispatch("setLoading",!0),kt.dispatch(bo.NAV),tn.get(e,{headers:{"X-Headless":1}}).then(i=>this.handleResponse(i)).catch(i=>{if(!i.response){console.debug(i);return}this.handleResponse(i.response)}).finally(()=>{this.$store.dispatch("setLoading",!1),document.title=this.title,this.$nextTick(()=>{if(this.dispatchPageLoadEvent(e,this.title,this.lastUri),window._paq)try{this.lastUri!==null&&window._paq.push(["setReferrerUrl",this.lastUri]),window._paq.push(["setCustomUrl",e]),window._paq.push(["setDocumentTitle",this.title]),window._paq.push(["trackPageView"])}catch(i){}if(window.qy)try{window.qy.tracking.track("fix:view",{identifier:e,type:"web",occurredon:new Date().toISOString()})}catch(i){}})})},reload(){this.nav(this.uri,this.hash,!0)},handleResponse(e){const t=Kn.filter(ju.RESPONSE_DATA,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&&lh.updateMarkup(t.data.seo),!this.classes.includes("suppress-cmp"))try{window.cmmsCmpSpawnIfNecessary()}catch(n){}this.template!==null&&this.classes.push(this.template),this.$store.dispatch("setPageData",this.data),this.$store.dispatch("setPageDebugData",this.debug),kt.dispatch(bo.HANDLE_RESPONSE)},handleScripts(){},hasTemplate(e){return Qi.has(e)},getTemplateComponentName(e,t=""){return ua((e||"")+"-template"+t)},scrollToAnchor(){this.hash&&this.hash.length&&Gu(this.hash)&&ga(this.hash,300)},executeTracking(e){sh.track(e)},maybeAddAppNativeClass(){$t&&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),we.onPayload(e=>{const{eventType:t}=e;t==="reload"&&this.reload()},"event")}},dh=window.Vue.resolveDynamicComponent,gr=window.Vue.openBlock,hh=window.Vue.createBlock,fh=window.Vue.createElementBlock,mh={class:"content"};function ph(e,t,n,i,o,r){return gr(),fh("main",mh,[(gr(),hh(dh(r.templateComponent),{data:o.data},null,8,["data"]))])}const gh=P(uh,[["render",ph]]),We=hu({history:jc(),linkExactActiveClass:"-active --active",linkActiveClass:"-active --active",routes:[{path:"/:pathMatch(.*)*",component:gh}],scrollBehavior:function(e,t,n){try{clearTimeout(We.timeout)}catch(o){}n?Ve.dispatch("setScrollOffset",n):Ve.dispatch("setScrollOffset",{x:0,y:0});let i=300;return e.hash?(t.href||(Zi=e.hash),!1):e.href===t.href?!1:new Promise((o,r)=>{We.timeout=setTimeout(()=>{o({left:0,top:n?n.top:0})},i)})}});We.beforeEach((e,t,n)=>{e.hash!==""&&Ve.dispatch("setRenderedFullPage",!0),n()});We.afterEach(e=>{e.hash!==""&&document.getElementById(e.hash.slice(1)).focus()});We.timeout=null;let Zi=null;window.onload=function(){Zi!==null&&ga(Zi)};function wr(e,t=2,n="0"){return e.toString().padStart(t,n)}const wh={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 wr(e,t,n)},date:{dayMonth:function(e){return wr(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),n=t.getDate().toString().padStart(2,"0"),i=(t.getMonth()+1).toString().padStart(2,"0");return n+"."+i+"."+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){const t=new Date(e);return"".concat(t.toLocaleDateString("de-DE",{day:"numeric",month:"short",year:"numeric"}))}};function _h(){ue.config.globalProperties.$filters=wh}function Ji(e){if(typeof e>"u"||!e)return"";const t=ue.config.globalProperties.$baseUrl.replace(":8080","");
2return e.indexOf(t)===0?e.substr(t.length):e}const ba="SET_AUTH_DATA",ya="SET_REDIRECT_PATH",vh={[ba](e,t){return e.auth=t.auth,e.loginUrl=t.login_url,e.registerUrl=t.register_url,e.logoutUrl=t.logout_url,e.userData=t.data},[ya](e,t){return e.redirectPath=t}},bh={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=>e.userData!==null&&"username"in e.userData?e.userData.username:"",userMail:e=>e.userData!==null&&"email"in e.userData?e.userData.email:"",userNameReadable:e=>e.userData!==null&&"name"in e.userData?e.userData.name:""},yh={setAuthData:function({commit:e},t){return e(ba,t)},setRedirectPath:function({commit:e},t){return e(ya,t)}},Eh={state:{auth:!1,loginUrl:"",registerUrl:"",logoutUrl:"",redirectPath:"",userData:null},namespaced:!0,mutations:vh,getters:bh,actions:yh};var nt;class Sh{constructor(){j(this,nt,{})}set(t){if(typeof t!="object"){console.error("[soylent:serviceProvider] set failed, you did not pass a collection",t);return}Object.assign(w(this,nt),t)}has(t){return Object.keys(w(this,nt)).indexOf(t)>=0}get(){return w(this,nt)}getByName(t){return this.has(t)?w(this,nt)[t]:null}}nt=new WeakMap;function mi(){return"__soylent"in window||(window.__soylent={}),"serviceProvider"in window.__soylent||(window.__soylent.serviceProvider=new Sh),window.__soylent.serviceProvider}var xe;class Ah{constructor(){j(this,xe)}init(t){oe(this,xe,t),w(this,xe).registerModule("sso",Eh),Kn.on(ca.SHOW_RESTRICTED,(n,i)=>i==="auth"?w(this,xe).state.sso.auth:i==="no_auth"?!w(this,xe).state.sso.auth:n,{priority:1}),this.getAuthData()}getAuthData(){fa.get("/cmms-api/v3/sso/profile/status").then(t=>{w(this,xe).dispatch("sso/setAuthData",t)}).catch(t=>{console.error("[auth]",t)})}getLoginUrl(t){const n=fu();return t||(t=w(this,xe).getters["sso/loginUrl"]),typeof t<"u"&&t!==null?n&&"path"in n?t="".concat(t,"?redirect=").concat(encodeURI(n.path)):t="".concat(t,"?redirect=").concat(encodeURI(window.location.pathname)):console.error("[auth] Login url undefined"),t}}xe=new WeakMap;function kh(){return mi().has("SSOService")||mi().set({SSOService:new Ah}),mi().getByName("SSOService")}var Ea=["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] *)"],Pn=Ea.join(","),Sa=typeof Element>"u",ot=Sa?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ln=!Sa&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},xn=function(t,n){var i;n===void 0&&(n=!0);var o=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),r=o===""||o==="true",s=r||n&&t&&(typeof t.closest=="function"?t.closest("[inert]"):xn(t.parentNode));return s},Ch=function(t){var n,i=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return i===""||i==="true"},Aa=function(t,n,i){if(xn(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Pn));return n&&ot.call(t,Pn)&&o.unshift(t),o=o.filter(i),o},Fn=function(t,n,i){for(var o=[],r=Array.from(t);r.length;){var s=r.shift();if(!xn(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=Fn(l,!0,i);i.flatten?o.push.apply(o,c):o.push({scopeParent:s,candidates:c})}else{var d=ot.call(s,Pn);d&&i.filter(s)&&(n||!t.includes(s))&&o.push(s);var u=s.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(s),h=!xn(u,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(s));if(u&&h){var f=Fn(u===!0?s.children:u.children,!0,i);i.flatten?o.push.apply(o,f):o.push({scopeParent:s,candidates:f})}else r.unshift.apply(r,s.children)}}return o},ka=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Ze=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Ch(t))&&!ka(t)?0:t.tabIndex},Vh=function(t,n){var i=Ze(t);return i<0&&n&&!ka(t)?0:i},Th=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Ca=function(t){return t.tagName==="INPUT"},Dh=function(t){return Ca(t)&&t.type==="hidden"},$h=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return n},Nh=function(t,n){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===n)return t[i]},Bh=function(t){if(!t.name)return!0;var n=t.form||Ln(t),i=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=i(window.CSS.escape(t.name));else try{o=i(t.name)}catch(s){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",s.message),!1}var r=Nh(o,t.form);return!r||r===t},Rh=function(t){return Ca(t)&&t.type==="radio"},Oh=function(t){return Rh(t)&&!Bh(t)},Mh=function(t){var n,i=t&&Ln(t),o=(n=i)===null||n===void 0?void 0:n.host,r=!1;if(i&&i!==t){var s,a,l;for(r=!!((s=o)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!r&&o;){var c,d,u;i=Ln(o),o=(c=i)===null||c===void 0?void 0:c.host,r=!!((d=o)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(o))}}return r},_r=function(t){var n=t.getBoundingClientRect(),i=n.width,o=n.height;return i===0&&o===0}
vendor: 7,212 bytes, line 2
2,Ih=function(t,n){var i=n.displayCheck,o=n.getShadowRoot;if(i==="full-native"&&"checkVisibility"in t){var r=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!r}var s=getComputedStyle(t),a=s.visibility;if(a==="hidden"||a==="collapse")return!0;var l=ot.call(t,"details>summary:first-of-type"),c=l?t.parentElement:t;if(ot.call(c,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="full-native"||i==="legacy-full"){if(typeof o=="function"){for(var d=t;t;){var u=t.parentElement,h=Ln(t);if(u&&!u.shadowRoot&&o(u)===!0)return _r(t);t.assignedSlot?t=t.assignedSlot:!u&&h!==t.ownerDocument?t=h.host:t=u}t=d}if(Mh(t))return!t.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return _r(t);return!1},Ph=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var i=0;i<n.children.length;i++){var o=n.children.item(i);if(o.tagName==="LEGEND")return ot.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Un=function(t,n){return!(n.disabled||Dh(n)||Ih(n,t)||$h(n)||Ph(n))},Xi=function(t,n){return!(Oh(n)||Ze(n)<0||!Un(t,n))},Lh=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Va=function(t){var n=[],i=[];return t.forEach(function(o,r){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=Vh(a,s),c=s?Va(o.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):i.push({documentOrder:r,tabIndex:l,item:o,isScope:s,content:c})}),i.sort(Th).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(n)},xh=function(t,n){n=n||{};var i;return n.getShadowRoot?i=Fn([t],n.includeContainer,{filter:Xi.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Lh}):i=Aa(t,n.includeContainer,Xi.bind(null,n)),Va(i)},Fh=function(t,n){n=n||{};var i;return n.getShadowRoot?i=Fn([t],n.includeContainer,{filter:Un.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):i=Aa(t,n.includeContainer,Un.bind(null,n)),i},ht=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ot.call(t,Pn)===!1?!1:Xi(n,t)},Uh=Ea.concat("iframe:not([inert]):not([inert] *)").join(","),pi=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ot.call(t,Uh)===!1?!1:Un(n,t)};function eo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function zh(e){if(Array.isArray(e))return eo(e)}function vr(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ta(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(l){throw l},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 r,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return s=l.done,l},e:function(l){a=!0,r=l},f:function(){try{s||n.return==null||n.return()}finally{if(a)throw r}}}}function Hh(e,t,n){return(t=Yh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jh(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gh(){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 br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?br(Object(n),!0).forEach(function(i){Hh(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Kh(e){return zh(e)||jh(e)||Ta(e)||Gh()}function Wh(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yh(e){var t=Wh(e,"string");return typeof t=="symbol"?t:t+""}function Ta(e,t){if(e){if(typeof e=="string")return eo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eo(e,t):void 0}}var Fe={getActiveTrap:function(t){return(t==null?void 0:t.length)>0?t[t.length-1]:null},activateTrap:function(t,n){var i=Fe.getActiveTrap(t);n!==i&&Fe.pauseTrap(t);var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var i=t.indexOf(n);i!==-1&&t.splice(i,1),Fe.unpauseTrap(t)},pauseTrap:function(t){var n=Fe.getActiveTrap(t);n==null||n._setPausedState(!0)},unpauseTrap:function(t){var n=Fe.getActiveTrap(t);n&&!n._isManuallyPaused()&&n._setPausedState(!1)}},qh=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Qh=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Xt=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Zh=function(t){return Xt(t)&&!t.shiftKey},Jh=function(t){return Xt(t)&&t.shiftKey},Er=function(t){return setTimeout(t,0)},Rt=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,i):t},_n=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Xh=[],ef=function(t,n){var i=(n==null?void 0:n.document)||document,o=(n==null?void 0:n.trapStack)||Xh,r=yr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Zh,isKeyBackward:Jh},n),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},a,l=function(p,g,E){return p&&p[g]!==void 0?p[g]:r[E||g]},c=function(p,g){var E=typeof(g==null?void 0:g.composedPath)=="function"?g.composedPath():void 0;return s.containerGroups.findIndex(function(R){var N=R.container,b=R.tabbableNodes;return N.contains(p)||(E==null?void 0:E.includes(N))||b.find(function(_){return _===p})})},d=function(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=g.hasFallback,R=E===void 0?!1:E,N=g.params,b=N===void 0?[]:N,_=r[p];if(typeof _=="function"&&(_=_.apply(void 0,Kh(b))),_===!0&&(_=void 0),!_){if(_===void 0||_===!1)return _;throw new Error("`".concat(p,"` was specified but was not a node, or did not return a node"))}var C=_;if(typeof _=="string"){try{C=i.querySelector(_)}catch(S){throw new Error("`".concat(p,'` appears to be an invali
2d selector; error="').concat(S.message,'"'))}if(!C&&!R)throw new Error("`".concat(p,"` as selector refers to no known node"))}return C},u=function(p){var g=p.activeElement;return g?g.shadowRoot&&g.shadowRoot.activeElement!==null?u(g.shadowRoot):g:null},h=function(){var p=d("initialFocus",{hasFallback:!0});if(p===!1)return!1;if(p===void 0||p&&!pi(p,r.tabbableOptions)){var g=u(i);if(c(g)>=0)p=g;else{var E=s.tabbableGroups[0],R=E&&E.firstTabbableNode;p=R||d("fallbackFocus")}}else p===null&&(p=d("fallbackFocus"));if(!p)throw new Error("Your focus-trap needs to have at least one focusable element");return p},f=function(){if(s.containerGroups=s.containers.map(function(p){var g=xh(p,r.tabbableOptions),E=Fh(p,r.tabbableOptions),R=g.length>0?g[0]:void 0,N=g.length>0?g[g.length-1]:void 0,b=E.find(function(S){return ht(S)}),_=E.slice().reverse().find(function(S){return ht(S)}),C=!!g.find(function(S){return Ze(S)>0});return{container:p,tabbableNodes:g,focusableNodes:E,posTabIndexesFound:C,firstTabbableNode:R,lastTabbableNode:N,firstDomTabbableNode:b,lastDomTabbableNode:_,nextTabbableNode:function(I){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=g.indexOf(I);return K<0?$?E.slice(E.indexOf(I)+1).find(function(Y){return ht(Y)}):E.slice(0,E.indexOf(I)).reverse().find(function(Y){return ht(Y)}):g[K+($?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(p){return p.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!d("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(p){return p.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.")},A=function(p){if(p!==!1&&p!==u(document)){if(!p||!p.focus){A(h());return}p.focus({preventScroll:!!r.preventScroll}),s.mostRecentlyFocusedNode=p,qh(p)&&p.select()}},M=function(p){var g=d("setReturnFocus",{params:[p]});return g||(g===!1?!1:p)},z=function(p){var g=p.target,E=p.event,R=p.isBackward,N=R===void 0?!1:R;g=g||_n(E),f();var b=null;if(s.tabbableGroups.length>0){var _=c(g,E),C=_>=0?s.containerGroups[_]:void 0;if(_<0)N?b=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:b=s.tabbableGroups[0].firstTabbableNode;else if(N){var S=s.tabbableGroups.findIndex(function(y){var v=y.firstTabbableNode;return g===v});if(S<0&&(C.container===g||pi(g,r.tabbableOptions)&&!ht(g,r.tabbableOptions)&&!C.nextTabbableNode(g,!1))&&(S=_),S>=0){var I=S===0?s.tabbableGroups.length-1:S-1,$=s.tabbableGroups[I];b=Ze(g)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else Xt(E)||(b=C.nextTabbableNode(g,!1))}else{var K=s.tabbableGroups.findIndex(function(y){var v=y.lastTabbableNode;return g===v});if(K<0&&(C.container===g||pi(g,r.tabbableOptions)&&!ht(g,r.tabbableOptions)&&!C.nextTabbableNode(g))&&(K=_),K>=0){var Y=K===s.tabbableGroups.length-1?0:K+1,m=s.tabbableGroups[Y];b=Ze(g)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else Xt(E)||(b=C.nextTabbableNode(g))}}else b=d("fallbackFocus");return b},L=function(p){var g=_n(p);if(!(c(g,p)>=0)){if(Rt(r.clickOutsideDeactivates,p)){a.deactivate({returnFocus:r.returnFocusOnDeactivate});return}Rt(r.allowOutsideClick,p)||p.preventDefault()}},T=function(p){var g=_n(p),E=c(g,p)>=0;if(E||g instanceof Document)E&&(s.mostRecentlyFocusedNode=g);else{p.stopImmediatePropagation();var R,N=!0;if(s.mostRecentlyFocusedNode)if(Ze(s.mostRecentlyFocusedNode)>0){var b=c(s.mostRecentlyFocusedNode),_=s.containerGroups[b].tabbableNodes;if(_.length>0){var C=_.findIndex(function(S){return S===s.mostRecentlyFocusedNode});C>=0&&(r.isKeyForward(s.recentNavEvent)?C+1<_.length&&(R=_[C+1],N=!1):C-1>=0&&(R=_[C-1],N=!1))}}else s.containerGroups.some(function(S){return S.tabbableNodes.some(function(I){return Ze(I)>0})})||(N=!1);else N=!1;N&&(R=z({target:s.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(s.recentNavEvent)})),A(R||s.mostRecentlyFocusedNode||h())}s.recentNavEvent=void 0},x=function(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=p;var E=z({event:p,isBackward:g});E&&(Xt(p)&&p.preventDefault(),A(E))},q=function(p){(r.isKeyForward(p)||r.isKeyBackward(p))&&x(p,r.isKeyBackward(p))},te=function(p){Qh(p)&&Rt(r.escapeDeactivates,p)!==!1&&(p.preventDefault(),a.deactivate())},Z=function(p){var g=_n(p);c(g,p)>=0||Rt(r.clickOutsideDeactivates,p)||Rt(r.allowOutsideClick,p)||(p.preventDefault(),p.stopImmediatePropagation())},Q=function(){if(s.active){Fe.activateTrap(o,a);var p;return r.delayInitialFocus?p=new Promise(function(g){s.delayInitialFocusTimer=Er(function(){A(h()),g()})}):A(h()),i.addEventListener("focusin",T,!0),i.addEventListener("mousedown",L,{capture:!0,passive:!1}),i.addEventListener("touchstart",L,{capture:!0,passive:!1}),i.addEventListener("click",Z,{capture:!0,passive:!1}
vendor: 4,577 bytes, line 2
2),i.addEventListener("keydown",q,{capture:!0,passive:!1}),i.addEventListener("keydown",te),p}},B=function(p){s.active&&!s.paused&&a._setSubtreeIsolation(!1),s.adjacentElements.clear(),s.alreadySilent.clear();var g=new Set,E=new Set,R=vr(p),N;try{for(R.s();!(N=R.n()).done;){var b=N.value;g.add(b);for(var _=typeof ShadowRoot<"u"&&b.getRootNode()instanceof ShadowRoot,C=b;C;){g.add(C);var S=C.parentElement,I=[];S?I=S.children:!S&&_&&(I=C.getRootNode().children,S=C.getRootNode().host,_=typeof ShadowRoot<"u"&&S.getRootNode()instanceof ShadowRoot);var $=vr(I),K;try{for($.s();!(K=$.n()).done;){var Y=K.value;E.add(Y)}}catch(m){$.e(m)}finally{$.f()}C=S}}}catch(m){R.e(m)}finally{R.f()}g.forEach(function(m){E.delete(m)}),s.adjacentElements=E},se=function(){if(s.active)return i.removeEventListener("focusin",T,!0),i.removeEventListener("mousedown",L,!0),i.removeEventListener("touchstart",L,!0),i.removeEventListener("click",Z,!0),i.removeEventListener("keydown",q,!0),i.removeEventListener("keydown",te),a},st=function(p){var g=s.mostRecentlyFocusedNode;if(g){var E=p.some(function(N){var b=Array.from(N.removedNodes);return b.some(function(_){return _===g||typeof _.contains=="function"&&_.contains(g)})});if(E&&s.containers.some(function(N){return N==null?void 0:N.isConnected})){f();var R=h();A(R)}}},Ue=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(st):void 0,$e=function(){Ue&&(Ue.disconnect(),s.active&&!s.paused&&s.containers.map(function(p){Ue.observe(p,{subtree:!0,childList:!0})}))};return a={get active(){return s.active},get paused(){return s.paused},activate:function(p){if(s.active)return this;var g=l(p,"onActivate"),E=l(p,"onPostActivate"),R=l(p,"checkCanFocusTrap"),N=Fe.getActiveTrap(o),b=!1;if(N&&!N.paused){var _;(_=N._setSubtreeIsolation)===null||_===void 0||_.call(N,!1),b=!0}try{R||f(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=u(i),g==null||g({trap:a});var C=function(){R&&f();var $=function(){a._setSubtreeIsolation(!0),$e(),E==null||E({trap:a})},K=Q();K?K.then($):$()};if(R)return R(s.containers.concat()).then(C,C),this;C()}catch(I){if(N===Fe.getActiveTrap(o)&&b){var S;(S=N._setSubtreeIsolation)===null||S===void 0||S.call(N,!0)}throw I}return this},deactivate:function(p){if(!s.active)return this;var g=yr({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},p);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,s.paused||a._setSubtreeIsolation(!1),s.alreadySilent.clear(),se(),s.active=!1,s.paused=!1,$e(),Fe.deactivateTrap(o,a);var E=l(g,"onDeactivate"),R=l(g,"onPostDeactivate"),N=l(g,"checkCanReturnFocus"),b=l(g,"delayReturnFocus"),_=l(g,"returnFocus","returnFocusOnDeactivate");E==null||E({trap:a});var C=function(){_&&A(M(s.nodeFocusedBeforeActivation)),R==null||R({trap:a})},S=function(){b&&_?Er(C):C()};return _&&N?(N(M(s.nodeFocusedBeforeActivation)).then(S,S),this):(S(),this)},pause:function(p){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,p)):this},unpause:function(p){return s.active?(s.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,p)):this},updateContainerElements:function(p){var g=[].concat(p).filter(Boolean);return s.containers=g.map(function(E){return typeof E=="string"?i.querySelector(E):E}),r.isolateSubtrees&&B(s.containers),s.active&&(f(),s.paused||a._setSubtreeIsolation(!0)),$e(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(p,g){if(s.paused===p)return this;if(s.paused=p,p){var E=l(g,"onPause"),R=l(g,"onPostPause");E==null||E({trap:a}),se(),a._setSubtreeIsolation(!1),$e(),R==null||R({trap:a})}else{var N=l(g,"onUnpause"),b=l(g,"onPostUnpause");N==null||N({trap:a});var _=function(){f();var S=function(){a._setSubtreeIsolation(!0),$e(),b==null||b({trap:a})},I=Q();I?I.then(S):S()};_()}return this}},_setSubtreeIsolation:{value:function(p){r.isolateSubtrees&&s.adjacentElements.forEach(function(g){var E;p?r.isolateSubtrees==="aria-hidden"?((g.ariaHidden==="true"||((E=g.getAttribute("aria-hidden"))===null||E===void 0?void 0:E.toLowerCase())==="true")&&s.alreadySilent.add(g),g.setAttribute("aria-hidden","true")):((g.inert||g.hasAttribute("inert"))&&s.alreadySilent.add(g),g.setAttribute("inert",!0)):s.alreadySilent.has(g)||(r.isolateSubtrees==="aria-hidden"?g.removeAttribute("aria-hidden"):g.removeAttribute("inert"))})}}}),a.updateContainerElements(t),a};let Ke;const tf=e=>{Ke=ef(e,{escapeDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,fallbackFocus:document.body})},Sr=(e,t)=>
2{if(t.value||t.value===void 0){const n=t.arg?[e,...t.arg]:e;tf(n),setTimeout(()=>{Ke.activate()},100),console.debug("[focus-trap] activated")}else Ke&&Ke.active&&(Ke.deactivate(),console.debug("[focus-trap] deactivated"))},nf={mounted(e,t){Sr(e,t)},updated(e,t){Sr(e,t)},unmounted(e,t){Ke&&Ke.active&&(Ke.deactivate(),console.debug("[focus-trap] deactivated"))}},qn=["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 zn(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Hn(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(i=>n.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=t[i]:zn(t[i])&&zn(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:Hn(e[i],t[i]):e[i]=t[i]})}function of(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function rf(e={}){return e.pagination&&typeof e.pagination.el>"u"}function sf(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function pv(e=""){const t=e.split(" ").map(i=>i.trim()).filter(i=>!!i),n=[];return t.forEach(i=>{n.indexOf(i)<0&&n.push(i)}),n.join(" ")}function Bn(e=""){return e.replace(/-[a-z]/g,t=>t.toUpperCase().replace("-",""))}const Ar=e=>{if(parseFloat(e)===Number(e))return Number(e);if(e==="true"||e==="")return!0;if(e==="false")return!1;if(e==="null")return null;if(e!=="undefined")return e},kr=["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 Cr(e,t,n){const i={},o={};Hn(i,Ha);const r=[...qn,"on"],s=r.map(l=>l.replace(/_/,""));r.forEach(l=>{l=l.replace("_",""),typeof e[l]<"u"&&(o[l]=e[l])});const a=[...e.attributes];return typeof t=="string"&&typeof n<"u"&&a.push({name:t,value:n}),a.forEach(l=>{const c=kr.filter(d=>l.name.indexOf("".concat(d,"-"))===0)[0];if(c){const d=Bn(c),u=Bn(l.name.split("".concat(c,"-"))[1]);typeof o[d]>"u"&&(o[d]={}),o[d]===!0&&(o[d]={enabled:!0}),o[d][u]=Ar(l.value)}else{const d=Bn(l.name);if(!s.includes(d))return;const u=Ar(l.value);o[d]&&kr.includes(l.name)?(o[d].constructor!==Object&&(o[d]={}),o[d].enabled=u):o[d]=u}}),Hn(i,o),i.navigation?i.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...i.navigation!==!0?i.navigation:{}}:i.navigation===!1&&delete i.navigation,i.scrollbar?i.scrollbar={el:".swiper-scrollbar",...i.scrollbar!==!0?i.scrollbar:{}}
vendor: 4,719 bytes, line 2
2:i.scrollbar===!1&&delete i.scrollbar,i.pagination?i.pagination={el:".swiper-pagination",...i.pagination!==!0?i.pagination:{}}:i.pagination===!1&&delete i.pagination,{params:i,passedParams:o}}function af({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:o,prevEl:r,scrollbarEl:s,paginationEl:a}){const l=i.filter(B=>B!=="children"&&B!=="direction"&&B!=="wrapperClass"),{params:c,pagination:d,navigation:u,scrollbar:h,virtual:f,thumbs:A}=e;let M,z,L,T,x,q,te,Z;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(M=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(z=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(L=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&h&&!h.el&&(T=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(x=!0);const Q=B=>{e[B]&&(e[B].destroy(),B==="navigation"?(e.isElement&&(e[B].prevEl.remove(),e[B].nextEl.remove()),c[B].prevEl=void 0,c[B].nextEl=void 0,e[B].prevEl=void 0,e[B].nextEl=void 0):(e.isElement&&e[B].el.remove(),c[B].el=void 0,e[B].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!n.loop?q=!0:!c.loop&&n.loop?te=!0:Z=!0),l.forEach(B=>{if(zn(c[B])&&zn(n[B]))Hn(c[B],n[B]),(B==="navigation"||B==="pagination"||B==="scrollbar")&&"enabled"in n[B]&&!n[B].enabled&&Q(B);else{const se=n[B];(se===!0||se===!1)&&(B==="navigation"||B==="pagination"||B==="scrollbar")?se===!1&&Q(B):c[B]=n[B]}}),l.includes("controller")&&!z&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&t&&f&&c.virtual.enabled&&(f.slides=t,f.update(!0)),i.includes("children")&&t&&c.loop&&(Z=!0),M&&A.init()&&A.update(!0),z&&(e.controller.control=c.controller.control),L&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),e.el.shadowEl.appendChild(a)),a&&(c.pagination.el=a),d.init(),d.render(),d.update()),T&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(s)),s&&(c.scrollbar.el=s),h.init(),h.updateSize(),h.setTranslate()),x&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),e.el.shadowEl.appendChild(o)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(r))),o&&(c.navigation.nextEl=o),r&&(c.navigation.prevEl=r),u.init(),u.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(q||Z)&&e.loopDestroy(),(te||Z)&&e.loopCreate(),e.update()}const lf="@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+UMk
2pFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}",cf=":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;
2left: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)}}";let jn=!0;const to=(e,t)=>{let n=document.querySelector("style#swiper-element-styles");const i=n&&n.preInit&&!e;!e&&t&&t.cssLinks().forEach(o=>{const r=document.createElement("link");r.rel="stylesheet",r.href=o,document.head.prepend(r)}),(!n||i)&&(n=n||document.createElement("style"),n.textContent=[lf,t?t.cssStyles():""].join("\n"),n.id="swiper-element-styles",n.preInit=e,document.head.prepend(n))};class uf{}const Da=typeof window>"u"||typeof HTMLElement>"u"?uf:HTMLElement;class $a extends Da{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[jn?cf:"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}render(){if(this.rendered)return;jn&&to(!1,this);const t=this.cssStyles();t.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=t,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach(n=>{if(this.shadowEl.querySelector('link[href="'.concat(n,'"]')))return;const o=document.createElement("link");o.rel="stylesheet",o.href=n,this.shadowEl.appendChild(o)}),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      '.concat(of(this.passedParams)?'\n        <div part="button-prev" class="swiper-button-prev"></div>\n        <div part="button-next" class="swiper-button-next"></div>\n      ':"","\n      ").concat(rf(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':"","\n      ").concat(sf(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':"","\n    "),[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:t,passedParams:n}=Cr(this);this.swiperParams=t,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new ja(this,{...t,touchEventsTarget:"container",...t.virtual?{}:{observer:!0},onAny:(i,...o)=>{const r=t.eventsPrefix?"".concat(t.eventsPrefix).concat(i.toLowerCase()):i.toLowerCase(),s=new CustomEvent(r,{detail:o,bubbles:!0,cancelable:!0});this.dispatchEvent(s)}})}connectedCallback(){if(!(this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM)){if(this.init===!1||this.getAttribute("init")==="false"){to(!0,this);return}this.initialize()}}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(t,n){const{params:i,passedParams:o}=Cr(this,t,n);this.passedParams=o,this.swiperParams=i,af({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Bn(t)],...t==="navigation"&&o[t]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...t==="pagination"&&o[t]?{paginationEl:".swiper-pagination"}:{},...t==="scrollbar"&&o[t]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(t,n,i){this.initialized&&(n==="true"&&i===null&&(i=!1),this.updateSwiperOnPropChange(t,i))}static get observedAttributes(){return qn.filter(n=>n.includes("_")).map(n=>n.replace(/[A-Z]/g,i=>"-".concat(i)).replace("_","").toLowerCase())}}
2qn.forEach(e=>{e!=="init"&&(e=e.replace("_",""),Object.defineProperty($a.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.initialized&&this.updateSwiperOnPropChange(e)}}))});class df extends Da{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const t=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(this.tempDiv.innerHTML="<slot />",[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),t){const n=document.createElement("div");n.classList.add("swiper-lazy-preloader"),this.appendChild(n)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const hf=(e=!0)=>{typeof window>"u"||(e||(jn=!1),jn&&to(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",$a),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",df))};typeof window<"u"&&(window.SwiperElementRegisterParams=e=>{qn.push(...e)});const ff=window.Vue.createApp;window.Vue.inject;window.Vue.provide;hf();tn.defaults.headers={"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"};const ue=ff(Kl);ue.config.performance=!0;ue.config.globalProperties.$baseUrl=window.cmms_base||"/";document.location.href.indexOf(":8080")>=0&&(ue.config.globalProperties.$baseUrl=ue.config.globalProperties.$baseUrl.replace(/^(https?:\/\/)([^/]*)\/?(.*)\/?$/,"$1$2:8080/$3"));ue.config.globalProperties.$production_mode=!0;ue.config.globalProperties.$appMode="soylent_settings"in window&&window.soylent_settings.app_mode||!1;ue.config.globalProperties.$routerLink=Ji;ue.config.globalProperties.$translate=(...e)=>window.__(...e);ue.config.globalProperties.$translateN=(...e)=>window._n(...e);$t&&document.body.classList.add("app-native");_h();ue.use(Ve);ue.use(We);ue.directive("focustrap",nf);const mf="soylent_features"in window?window.soylent_features:{};Object.entries(mf).forEach(e=>{e[1]===!0&&it().add(e[0])});function pf(){it().has(Qt)&&window.isDynamicRenderer!==!0&&kh().init(Ve),ue.mount("#app-container"),kt.dispatch(_t.APP_MOUNT_READY)}window.isDynamicRenderer=navigator.userAgent.includes("WeLocalDynamicRenderer");const gf={name:"AppDebug",computed:{debug:function(){return this.$store.getters.pageDebugData}}},Vr=window.Vue.renderList,Tr=window.Vue.Fragment,Ot=window.Vue.openBlock,Mt=window.Vue.createElementBlock,Dr=window.Vue.createElementVNode,wf=window.Vue.createCommentVNode,_f={key:0,class:"soylent-debug-wrapper"},vf=["innerHTML"],bf=["innerHTML"];function yf(e,t,n,i,o,r){return r.debug?(Ot(),Mt("div",_f,[(Ot(!0),Mt(Tr,null,Vr(r.debug,s=>(Ot(),Mt("div",{key:s.id,class:"soylent-debug-item-wrapper"},[(Ot(!0),Mt(Tr,null,Vr(s,(a,l)=>(Ot(),Mt("div",{key:l.id,class:"soylent-debug-item"},[Dr("code",{innerHTML:l.replace(".../cmms-theme-imsueden",""),class:"soylent-debug-key"},null,8,vf),Dr("code",{innerHTML:a,class:"soylent-debug-value"},null,8,bf)]))),128))]))),128))])):wf("",!0)}const Ef=P(gf,[["render",yf]]),Sf=window.Vue.defineAsyncComponent,Af={name:"MainMenuSub",components:{SubMenuItem:Sf(()=>ee(()=>Promise.resolve().then(()=>qf),void 0))},props:["items"]},kf=window.Vue.renderList,Cf=window.Vue.Fragment,gi=window.Vue.openBlock,$r=window.Vue.createElementBlock,Vf=window.Vue.resolveComponent,Tf=window.Vue.createBlock,Df={class:"sub-menu"};function $f(e,t,n,i,o,r){const s=Vf("sub-menu-item");return gi(),$r("ul",Df,[(gi(!0),$r(Cf,null,kf(n.items,a=>(gi(),Tf(s,{key:"sub_".concat(a.id),item:a},null,8,["item"]))),128))])}const fo=P(Af,[["render",$f]]),Nf={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!(this.callback!==!1||this.isExternalLink||this.blank===!0||this.isAnchor)},target:function(){if(this.blank!==!1&&!this.isAnchor||this.blank===null&&this.isExternalLink&&!this.isAnchor)return"_blank"},isExternalLink:function(){return this.useRouter===!1||this.$routerLink(this.url).match(/^(https?:\/\/|mailto:|tel:\/\/)/)||this.url.match(/\.pdf$/i)}}}
2,wi=window.Vue.renderSlot,Bf=window.Vue.resolveComponent,Rf=window.Vue.withCtx,_i=window.Vue.openBlock,Of=window.Vue.createBlock;window.Vue.createCommentVNode;const Mf=window.Vue.withModifiers,Nr=window.Vue.createElementBlock,If=["href","target"];function Pf(e,t,n,i,o,r){const s=Bf("router-link");return r.useRouterLink?(_i(),Of(s,{key:0,to:e.$routerLink(n.url)},{default:Rf(()=>[wi(e.$slots,"default")]),_:3},8,["to"])):n.callback!==!1?(_i(),Nr("a",{key:1,href:"#",onClick:t[0]||(t[0]=Mf((...a)=>n.callback&&n.callback(...a),["prevent","stop"]))},[wi(e.$slots,"default")])):(_i(),Nr("a",{key:2,href:n.url,target:r.target},[wi(e.$slots,"default")],8,If))}const mn=P(Nf,[["render",Pf]]),Lf={name:"MenuItem",components:{SoylentLink:mn,MainMenuSub:fo},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):!1}},methods:{closeMenu(){this.$store.dispatch("closeMenu")},usercentrics(){window.UC_UI&&window.UC_UI.showSecondLayer()},cookiebot(){window.Cookiebot&&window.Cookiebot.renew()},shouldOpenInNewTab(e){return"target"in e&&e.target==="_blank"}}},xf=window.Vue.toDisplayString,Ff=window.Vue.createElementVNode,Br=window.Vue.resolveComponent,Uf=window.Vue.withCtx,zf=window.Vue.createVNode,Rr=window.Vue.openBlock,Hf=window.Vue.createBlock,jf=window.Vue.createCommentVNode,Gf=window.Vue.normalizeClass,Kf=window.Vue.createElementBlock,Wf={class:"nav-label"};function Yf(e,t,n,i,o,r){const s=Br("soylent-link"),a=Br("MainMenuSub");return Rr(),Kf("li",{class:Gf(["item",r.itemClasses])},[zf(s,{onClick:r.closeMenu,url:n.item.url,callback:r.callback,blank:r.shouldOpenInNewTab(n.item),class:"link"},{default:Uf(()=>[Ff("span",Wf,xf(n.item.label),1)]),_:1},8,["onClick","url","callback","blank"]),n.item.items?(Rr(),Hf(a,{key:0,items:n.item.items},null,8,["items"])):jf("",!0)],2)}const Na=P(Lf,[["render",Yf]]),qf=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"})),Qf={name:"FooterMenu",components:{FooterMenuItem:Na},data:function(){return{items:[]}},beforeMount(){this.items=window.soylent_menus?window.soylent_menus.footer||[]:""}},Zf=window.Vue.renderList,Jf=window.Vue.Fragment,vi=window.Vue.openBlock,Or=window.Vue.createElementBlock,Xf=window.Vue.resolveComponent,em=window.Vue.createBlock,Mr=window.Vue.createElementVNode,tm={class:"footer-nav"},nm={class:"menu-footer-container"},im={id:"menu-footer",class:"footer-menu"};function om(e,t,n,i,o,r){const s=Xf("footer-menu-item");return vi(),Or("div",tm,[Mr("div",nm,[Mr("ul",im,[(vi(!0),Or(Jf,null,Zf(e.items,a=>(vi(),em(s,{class:"--text-size-xl",key:a.id,item:a},null,8,["item"]))),128))])])])}const rm=P(Qf,[["render",om]]),sm={name:"SocialShortcuts",data:function(){return{initialItems:[]}},computed:{items(){return this.initialItems}},methods:{getClassNames:function(e){return"ss-"+e.join(" ")}},mounted(){this.initialItems=window.soylent_menus?window.soylent_menus.social||[]:""}},am=window.Vue.renderList,lm=window.Vue.Fragment,bi=window.Vue.openBlock,yi=window.Vue.createElementBlock,cm=window.Vue.toDisplayString,um=window.Vue.createElementVNode,dm=window.Vue.normalizeClass,hm={class:"social-shortcuts"},fm=["href","target","title","aria-label"];function mm(e,t,n,i,o,r){return bi(),yi("div",hm,[(bi(!0),yi(lm,null,am(r.items,s=>(bi(),yi("a",{key:s.id,href:s.url,rel:"nofollow",class:dm(r.getClassNames(s.classes)),target:s.target,title:s.label,"aria-label":s.label},[um("span",null,cm(s.label),1)],10,fm))),128))])}const mo=P(sm,[["render",mm]]),pm={name:"AppFooter",components:{IdvlEditor:pa,SocialShortcuts:mo,FooterMenu:rm},data:function(){var e;return{editorContent:(e=window.soylent_footer)!=null?e:[]}}},Ei=window.Vue.resolveComponent,Ir=window.Vue.openBlock,gm=window.Vue.createBlock,wm=window.Vue.createCommentVNode,Pr=window.Vue.createVNode,Si=window.Vue.createElementVNode,_m=window.Vue.createElementBlock,vm={id:"colophon",class:"site-footer",role:"contentinfo"},bm={class:"footer-wrapper"},ym={class:"footer-navigation-wrapper"},Em={class:"toolbar"};function Sm(e,t,n,i,o,r){const s=Ei("idvl-editor"),a=Ei("SocialShortcuts"),l=Ei("FooterMenu");return Ir(),_m("footer",vm,[e.editorContent?(Ir(),gm(s,{key:0,blocks:e.editorContent},null,8,["blocks"])):wm("",!0),Si("div",bm,[Si("div",ym,[Si("div",Em,[Pr(a)]),Pr(l)])])])}const Lr=P(pm,[["render",Sm]]),Am={name:"MenuSwitch",methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu");try{this.$store.dispatch("player/setPlayerDrawerOpen",!1)}catch(e){}}}},xr=window.Vue.createElementVNode,km=window.Vue.openBlock,Cm=window.Vue.createElementBlock;function Vm(e,t,n,i,o,r){return km(),Cm("button",{"aria-label":"Menu anzeigen",class:"--mobile-only menu-switch",onClick:t[0]||(t[0]=(...s)=>r.toggleMenu&&r.toggleMenu(...s))},[...t[1]||(t[1]=[xr("span",{class:"iconSet"},"menu",-1),xr("span",{class:"iconSet"},"close",-1)])])}const Ba=P(Am,[["render",Vm]]),Tm={name:"MainMenu",components:{SoylentLink:mn},data:function(){return{selectedMain:null,items:[],menuContent:[],clickListener:null,selectedMainId:null}},computed:{menuClass:function(){return this.selectedMain===null?"":"--submenu_open"},isMenuOpen:function(){return this.$store.getters.isMenuOpen}},methods:{selectMain:function(e){if(this.selectedMainId===e.id){this.closeMenuAction();return}
2if(e.url!==""&&e.url!=="#"){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeMenu"),this.$router.push(e.url),this.$store.dispatch("closeSubMenu");return}e.items&&e.items.length>0&&(this.selectedMain=e,this.selectedMainId=e.id,this.$store.dispatch("setSubMenuOpen"),this.addClickListener())},closeMenu:function(){this.closeMenuAction()},closeMenuAction(){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeMenu"),this.$store.dispatch("closeSubMenu")},closeSubMenu:function(){this.selectedMain=null,this.selectedMainId=null,this.$store.dispatch("closeSubMenu")},addClickListener(){this.clickListener=e=>{!e.target.closest(".menu__wrapper__inner")&&!e.target.closest(".menu__primary")&&this.closeSubMenu()},document.addEventListener("click",this.clickListener,!0)},removeClickListener(){document.removeEventListener("click",this.clickListener,!0),this.clickListener=null}},mounted(){this.items=window.soylent_menus?window.soylent_menus.primary||[]:""},beforeUnmount(){this.removeClickListener()},watch:{$route(e,t){this.closeMenu()}}},Ai=window.Vue.renderList,vn=window.Vue.Fragment,me=window.Vue.openBlock,Se=window.Vue.createElementBlock,ft=window.Vue.toDisplayString,Fr=window.Vue.createCommentVNode,ki=window.Vue.createTextVNode,Dm=window.Vue.resolveComponent,Ci=window.Vue.withCtx,Ur=window.Vue.createBlock,no=window.Vue.normalizeClass,bn=window.Vue.createElementVNode,$m=window.Vue.createVNode,Nm=window.Vue.withKeys,Bm=window.Vue.resolveDirective,Rm=window.Vue.withDirectives,Om={class:"menu__primary"},Mm=["onClick","data-label","aria-label"],Im={class:"menu__secondary"},Pm={class:"menu__secondary__item --header --text-size-s --text-weight-medium"},Lm={key:1,href:"#",class:no("--text-weight-medium")},xm={key:2,class:"menu__secondary__sub-menu"};function Fm(e,t,n,i,o,r){const s=Dm("soylent-link"),a=Bm("focustrap");return me(),Se(vn,null,[bn("ul",Om,[(me(!0),Se(vn,null,Ai(e.items,l=>(me(),Se("li",{key:l.id,class:no(["--text-size-m","menu__primary__item",l.items?"--has-children":"",e.selectedMain!==null&&l.id===e.selectedMain.id?"--active":"",l.classes])},[l.items?(me(),Se("button",{key:0,onClick:c=>r.selectMain(l),class:"menu__primary__item__label","data-label":l.label,"aria-label":"Untermenu von "+l.label+" öffnen"},ft(l.label),9,Mm)):(me(),Ur(s,{key:1,url:l.url,"data-label":l.label,class:"menu__primary__item__label"},{default:Ci(()=>[ki(ft(l.label),1)]),_:2},1032,["url","data-label"]))],2))),128))]),e.selectedMain?Rm((me(),Se("div",{key:0,class:"menu__wrapper__inner",onKeydown:t[1]||(t[1]=Nm((...l)=>r.closeSubMenu&&r.closeSubMenu(...l),["esc"])),role:"dialog"},[bn("ul",Im,[bn("li",Pm,[bn("button",{onClick:t[0]||(t[0]=(...l)=>r.closeSubMenu&&r.closeSubMenu(...l))},ft(e.selectedMain.label),1)]),(me(!0),Se(vn,null,Ai(e.selectedMain.items,l=>(me(),Se("li",{key:"submenu_second_level"+l.id,class:no(["menu__secondary__item",l.items?"--has-children":""])},[!l.url!=="#"?(me(),Ur(s,{key:0,url:l.url,"data-label":l.label},{default:Ci(()=>[ki(ft(l.label),1)]),_:2},1032,["url","data-label"])):(me(),Se("a",Lm,ft(l.label),1)),l.items?(me(),Se("ul",xm,[(me(!0),Se(vn,null,Ai(l.items,c=>(me(),Se("li",{class:"menu__secondary__item",key:c.url},[$m(s,{url:c.url,"data-label":c.label,class:""},{default:Ci(()=>[ki(ft(c.label),1)]),_:2},1032,["url","data-label"])]))),128))])):Fr("",!0)],2))),128))])],32)),[[a]]):Fr("",!0)],64)}const zr=P(Tm,[["render",Fm]]),Um={name:"HeaderTools",components:{SoylentLink:mn},computed:{}},zm=window.Vue.openBlock,Hm=window.Vue.createElementBlock,jm={class:"header-tools"};function Gm(e,t,n,i,o,r){return zm(),Hm("div",jm)}const Hr=P(Um,[["render",Gm]]),Km={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)}}},jr=window.Vue.createElementVNode,Wm=window.Vue.resolveComponent,Ym=window.Vue.withCtx,qm=window.Vue.openBlock,Qm=window.Vue.createBlock,Zm=["src","alt"];function Jm(e,t,n,i,o,r){const s=Wm("router-link");return qm(),Qm(s,{onClick:r.scrollToTop,class:"logo",href:e.homeUrl,to:e.$routerLink(e.homeUrl),title:e.title,"aria-label":e.title+": Zur Startseite"},{default:Ym(()=>[jr("picture",null,[jr("img",{src:e.headerLogo,alt:e.title},null,8,Zm)])]),_:1},8,["onClick","href","to","title","aria-label"])}const po=P(Km,[["render",Jm]]),Ra="AppHeaderIdentifier",Xm="AppFooterIdentifier",Oa="AppHeaderLogo",Ma={computed:{headerLogoComponent:function(){return _e.getByName(Oa,po)}}},ep={name:"AppHeader",components:{AppHeaderLogo:po,HeaderTools:Hr,MainMenuSub:fo,MainMenu:zr,SocialShortcuts:mo,MenuSwitch:Ba},mixins:[Ma],data:function(){return{width:null}},computed:{isDesktop(){return this.width>1024},isMenuOpen:function(){return this.$store.getters.isMenuOpen},headerToolsComponent:function(){return _e.getByName("headerTools",Hr)},mainMenuComponent:function(){return _e.getByName("mainMenu",zr)}},methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu")},closeMenu(){this.$store.dispatch("closeMenu")},toggleSearch:function(){document.querySelector("body").style.overflow="hidden",this.$store.dispatch("toggleSearch")},onResize(e){this.width=window.innerWidth}},mounted(){const e=document.getElementById("masthead");e&&this.$store.dispatch("setHeaderHeight",e.getBoundingClientRect().height),window.addEventListener("resize",this.onResize),this.onResize()},updated(){},destroyed(){window.removeEventListener("resize",this.onResize)}}
2,Gr=window.Vue.resolveComponent,ve=window.Vue.openBlock,He=window.Vue.createBlock,Vi=window.Vue.createCommentVNode,It=window.Vue.resolveDynamicComponent,mt=window.Vue.createElementVNode,yn=window.Vue.createElementBlock,Kr=window.Vue.withKeys,tp=window.Vue.createVNode,np=window.Vue.vShow,ip=window.Vue.resolveDirective,op=window.Vue.withDirectives,rp=window.Vue.Transition,sp=window.Vue.withCtx,ap=window.Vue.Fragment,lp={class:"header-banner"},cp={class:"header-banner__logo-container"},up={key:1,class:"header-tools-wrapper"},dp={key:0,class:"menu__wrapper"},hp={class:"header-tools-wrapper"};function fp(e,t,n,i,o,r){const s=Gr("SocialShortcuts"),a=Gr("MenuSwitch"),l=ip("focustrap");return ve(),yn(ap,null,[mt("header",{id:"masthead",class:"site-header",role:"banner",onKeydown:t[1]||(t[1]=Kr((...c)=>r.closeMenu&&r.closeMenu(...c),["esc"]))},[mt("div",lp,[r.isDesktop?(ve(),He(s,{key:0})):Vi("",!0),mt("div",cp,[(ve(),He(It(e.headerLogoComponent)))]),r.isDesktop?(ve(),yn("div",up,[(ve(),He(It(r.headerToolsComponent))),mt("button",{class:"search-button iconSet",onClick:t[0]||(t[0]=(...c)=>r.toggleSearch&&r.toggleSearch(...c)),title:"Suche","aria-label":"Suche anzeigen"}," search ")])):Vi("",!0),r.isDesktop?Vi("",!0):(ve(),He(a,{key:2}))])],32),r.isDesktop?(ve(),yn("div",dp,[(ve(),He(It(r.mainMenuComponent)))])):(ve(),He(rp,{key:1,name:"menu-slide"},{default:sp(()=>[op((ve(),yn("div",{class:"menu__wrapper",onKeydown:t[3]||(t[3]=Kr((...c)=>r.closeMenu&&r.closeMenu(...c),["esc"]))},[tp(s),mt("div",hp,[(ve(),He(It(r.headerToolsComponent))),mt("button",{class:"search-button iconSet","aria-label":"Suche anzeigen",onClick:t[2]||(t[2]=(...c)=>r.toggleSearch&&r.toggleSearch(...c))},"search")]),(ve(),He(It(r.mainMenuComponent)))],32)),[[np,r.isMenuOpen],[l,r.isMenuOpen]])]),_:1}))],64)}const Wr=P(ep,[["render",fp]]),mp={cmms:{backend:{Montag:"Montag",Die
2nstag:"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
2onfiguration_missing:"Die Explorer-Konfiguration fehlt, es können keine Beiträge angezeigt werden"}}},Ia={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 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:"Chars",Wörter:"Words","In die Zwischenablage kopieren":"Copy to clipboard"}}},pp={...Ia},Ti={de_DE:mp,en_GB:pp,en_US:Ia};var yt,on,oo,rn;const de=class de{static __(t="",n="cmms",...i){var s;const r=de.getObjectByNamespace(n)[t]||t;return w(s=de,rn).call(s,r,...i)}static _n(t,n=null,i=0,o="cmms",...r){var l;let s=de.getObjectByNamespace(o),a=i===1?t:n;return w(l=de,rn).call(l,(s[a]||"").replace(/%d/g,i)||a.replace(/%d/g,i),...r)}static _j(t){var i;let n=ae(i=de,on,oo).call(i);return typeof t!="object"?t:t[n]?t[n]:t[w(de,yt)]?t[w(de,yt)]:t[Object.keys(t)[0]]}static getObjectByNamespace(t=""){var o;const n=ae(o=de,on,oo).call(o);if(!Ti[n])return{};t=t.split(".");let i=Ti[n];for(;t.length>0;){let r=t.shift();if(!r.length||!Ti[n][r])return{...i};i=i[r]}return{...i}}};yt=new WeakMap,on=new WeakSet,oo=function(){var t;return(t=window.cmmsLocale)!=null?t:w(de,yt)},rn=new WeakMap,j(de,on),j(de,yt,"de_DE"),j(de,rn,(t="",...n)=>(n.length&&t.match(/(%[\d]+)/g).forEach(i=>{t=t.replace(new RegExp(i),n[parseInt(i.substr(1),10)-1]||"")}),t));let io=de;const gp={name:"AppSearch",data:function(){var t,n,i;return{searchInput:"",selectedGroup:(i=((n=(t=window.soylent_settings)==null?void 0:t.search)!=null?n:{}).default_group)!=null?i:""}},computed:{isVisible(){return this.$store.getters.isSearchOpen},filterOptions(){var e,t,n;return(n=(t=(e=window.soylent_settings)==null?void 0:e.search)==null?void 0:t.filter_options)!=null?n:[]}},methods:{t:function(e){return io.__(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/".concat(encodeURIComponent(e),"/");this.selectedGroup&&(t+="gruppe/".concat(encodeURIComponent(this.selectedGroup),"/")),window.pll_current_language&&(t="/".concat(window.pll_current_language).concat(t)),this.$router.push(t),this.searchInput=""},closeMenu:function(){this.$store.dispatch("closeMenu")}}},wp=window.Vue.vModelText,Yr=window.Vue.withKeys,Re=window.Vue.createElementVNode,Di=window.Vue.withDirectives,qr=window.Vue.toDisplayString,_p=window.Vue.renderList,vp=window.Vue.Fragment,Pt=window.Vue.openBlock,En=window.Vue.createElementBlock,bp=window.Vue.vModelRadio,yp=window.Vue.normalizeClass,Qr=window.Vue.createCommentVNode,Zr=window.Vue.withModifiers,Ep=window.Vue.resolveDirective,Sp=window.Vue.Transition,Ap=window.Vue.withCtx,kp=window.Vue.createBlock,Cp={class:"search-box-wrapper"},Vp={class:"search-box",ref:"search"},Tp={class:"input-wrapper"},Dp=["placeholder"],$p={key:0,class:"search-box__filter"},Np={class:"search-box__filter__header"},Bp={class:"search-box__filter__group"},Rp=["value"],Op={class:"search-box__filter__group__item__text"};function Mp(e,t,n,i,o,r){const s=Ep("focustrap");return Pt(),kp(Sp,{name:"fade_fast"},{default:Ap(()=>[r.isVisible?Di((Pt(),En("div",{key:0,class:"main-search-form",role:"dialog",onClick:t[5]||(t[5]=Zr((...a)=>r.toggleSearch&&r.toggleSearch(...a),["self"])),onKeydown:t[6]||(t[6]=Yr(Zr((...a)=>r.toggleSearch&&r.toggleSearch(...a),["stop"]),["esc"]))},[Re("div",Cp,[Re("div",Vp,[Re("div",Tp,[Di(Re("input",{ref:"searchInput",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.searchInput=a),onKeydown:t[1]||(t[1]=Yr((...a)=>r.submit&&r.submit(...a),["enter"])),class:"search-field theme__input",name:"s",autocomplete:"off",placeholder:r.t("Suchen")},null,40,Dp),[[wp,e.searchInput]]),Re("button",{class:"search-submit iconSet",onClick:t[2]||(t[2]=(...a)=>r.submit&&r.submit(...a))},"search")]),r.filterOptions.length?(Pt(),En("div",$p,[Re("span",Np,qr(r.t("Suchen in"))+":",1),Re("div",Bp,[(Pt(!0),En(vp,null,_p(r.filterOptions,a=>(Pt(),En("label",{key:a.group,class:yp(["search-box__filter__group__item","--"+(a.group||"all")])},[Di(Re("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>e.selectedGroup=l),class:"search-box__filter__group__item__input",type:"radio",name:"group",value:a.group},null,8,Rp),[[bp,e.selectedGroup]]),Re("span",Op,qr(a.label),1)],2))),128))])])):Qr("",!0),Re("button",{class:"close iconSet",onClick:t[4]||(t[4]=(...a)=>r.toggleSearch&&r.toggleSearch(...a))},"close")],512)])],32)),[[s]]):Qr("",!0)]),_:1})}const Ip=P(gp,[["render",Mp]]),Pp=window.Vue.createElementVNode,Lp=window.Vue.withModifiers,xp=window.Vue.normalizeClass,Fp=window.Vue.openBlock,Up=window.Vue.createElementBlock,zp=window.Vue.onBeforeUnmount,Hp=window.Vue.onMounted,jp=window.Vue.ref,Gp={__name:"ScrollToTop",setup(e){const t=jp(!1),n=()=>{window.scrollTo(0,0)},i=()=>{t.value=window.scrollY>0};return Hp(()=>{window.addEventListener("scroll",i,{passive:!0})}),zp(()=>{window.removeEventListener("scroll",i,{passive:!0})}),(o,r)=>(Fp(),Up("div",{class:xp(["to-top",{"--active":t.value}]),onClick:Lp(n,["stop","prevent"])},[...r[0]||(r[0]=[Pp("span",{class:"icon iconSet"},"expand_less",-1)])],2))}};var sn,an,Ie,Pa,La,xa,Fa;class Kp{constructor(){j(this,Ie);
2j(this,sn,!1);j(this,an,0)}init(){w(this,sn)||(oe(this,sn,!0),we.onPayload(ae(this,Ie,Pa).bind(this),"event"),we.sendPayload({type:"setupMessaging"}))}}sn=new WeakMap,an=new WeakMap,Ie=new WeakSet,Pa=function(t){const{eventType:n,data:i}=t;switch(n){case"messagingReady":ae(this,Ie,La).call(this,i);break;case"messagingNotification":ae(this,Ie,Fa).call(this,i);break}},La=function(t){if(!t.length)if(w(this,an)<10){setTimeout(ae(this,Ie,xa).bind(this),3e3);return}else return;Ve.dispatch("arabella/setPushToken",t),tn({url:"/cmms-api-v2/push/register/",params:{token:t}})},xa=function(){wo(this,an)._++,we.sendPayload({type:"registerMessaging"})},Fa=function(t){const n=t||null;if(console.log("[notify]",n),n!==null){if(n.data&&n.data.mid&&tn({url:"/cmms-api-v2/push/read/",params:{token:Ve.getters["arabella/getPushToken"],mid:n.data.mid}}),(n.type==="open"||n.type==="background")&&n.data.url){We.push(Ji(n.data.url));return}if(n.data.message){let i=null;n.data.url&&(i={label:"Ansehen",callback:()=>{We.push(Ji(n.data.url))}}),Ve.dispatch("notifications/enqueue",{type:"push",payload:{message:n.data.message||"",cta:i}})}}};const Wp=new Kp;var Et,St,Rn;class Yp{constructor(t=""){j(this,St);j(this,Et,"");t.length?oe(this,Et,t+"."):console.info("[Soylent:PersistentStorage] %cWarning: Using without a key prefix","color: darkorange")}getAll(){let t={};return Object.keys(window.localStorage).forEach(n=>{const i=new RegExp("^".concat(w(this,Et).replace(/\./g,"."),"(.+)$"),"i"),o=n.match(i);o&&(t[o[1]]=this.get(o[1]))}),t}get(t,n){const i=window.localStorage.getItem(ae(this,St,Rn).call(this,t));if(i===null)return n;try{return JSON.parse(i)}catch(o){return i}}set(t,n){window.localStorage.setItem(ae(this,St,Rn).call(this,t),JSON.stringify(n))}delete(t){window.localStorage.removeItem(ae(this,St,Rn).call(this,t))}}Et=new WeakMap,St=new WeakSet,Rn=function(t){return"".concat(w(this,Et)).concat(t)};var ln,Oe,cn,un;class qp{constructor(){j(this,ln,!1);j(this,Oe,null);j(this,cn,5);j(this,un,744*60*60*1e3)}init(){if(w(this,ln))return;if(console.log("[SoylentStoreReview] Initialized"),oe(this,ln,!0),("soylent_settings"in window&&window.soylent_settings.app_review_prompt||!1)!==!0){console.log("[SoylentStoreReview] Not enabled");return}oe(this,Oe,new Yp("soylent.app.storeReview")),w(this,Oe).set("appStarts",w(this,Oe).get("appStarts",0)+1),this.checkReviewRequest()}checkReviewRequest(){if(parseInt(w(this,Oe).get("appStarts",0),10)<w(this,cn)){console.log("[SoylentStoreReview] Do not ask, current start count is less then "+w(this,cn));return}const t=Date.now()-parseInt(w(this,Oe).get("reviewRequestedTimestamp",0),10);if(t<w(this,un)){console.log("[SoylentStoreReview] Do not ask, current timestamp difference is "+t+" needs to exceed "+w(this,un));return}w(this,Oe).set("appStarts",0),w(this,Oe).set("reviewRequestedTimestamp",Date.now()),we.sendPayload({type:"requestStoreReview"}),console.log("[SoylentStoreReview] Review Request sent to bridge")}}ln=new WeakMap,Oe=new WeakMap,cn=new WeakMap,un=new WeakMap;const Qp=new qp;var dn,At,hn,Dt,Ua,za;class Zp{constructor(){j(this,Dt);j(this,dn,!1);j(this,At,!1);j(this,hn,null)}init(){$t&&(document.getElementsByTagName("html")[0].classList.add("--native"),we.onPayload(ae(this,Dt,Ua).bind(this),"@register"),we.onPayload(t=>{const{eventType:n}=t;if(w(this,dn))switch(n){case"back":we.sendPayload({type:"goBack"});break;case"cannotGoBack":clearTimeout(w(this,hn)),w(this,At)?we.sendPayload({type:"exitApp"}):(oe(this,At,!0),oe(this,hn,setTimeout(()=>{oe(this,At,!1)},3e3)),we.sendPayload({type:"showToast",label:"Erneut drücken, um die App zu schließen"}));break}},"event"),we.init(),Qp.init(),ae(this,Dt,za).call(this))}}dn=new WeakMap,At=new WeakMap,hn=new WeakMap,Dt=new WeakSet,Ua=function(){oe(this,dn,!0),Wp.init()},za=function(){window.addEventListener("UC_UI_VIEW_CHANGED",function(t){console.log("Current view is: "+t.detail.view),(t.detail.view==="NONE"||t.detail.view==="PRIVACY_BUTTON")&&(window.UC_UI.getServicesBaseInfo().filter(n=>n.consent.status===!0&&n.categorySlug!=="essential").length>0||window.UC_UI.getTCFVendors().filter(n=>n.consent===!0).length>0)&&(console.log("requestTrackingPermission"),we.sendPayload({type:"requestTrackingPermission"}))}),window.addEventListener("CookiebotOnConsentReady",function(t){we.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)};const Jp=new Zp,Xp=window.Vue.resolveDynamicComponent,eg=window.Vue.normalizeClass,tg=window.Vue.openBlock,ng=window.Vue.createBlock,Jr=window.Vue.computed;window.Vue.onMounted;const ig=window.Vue.ref,Lt={__name:"HtmlBlock",props:{htmlContent:String,active:Boolean},setup(e){const t=e,n=ig(null),i=Jr(()=>s(t.htmlContent)),o=Jr(()=>r(t.htmlContent)),r=a=>{a=a.trim();const l=a.match(/^<\s*([a-zA-Z0-9-]+)/);return l?l[1].toLowerCase():"span"};function s(a){a=a.trim();const l=a.match(/^<([a-zA-Z0-9-]+)(\s[^>]*)?>/);if(!l)return a;const c=l[1].toLowerCase();if(new Set(["a","strong","em","span","b","i","u","small","sub","sup","code","img"]).has(c))return a;const u=a.match(new RegExp("^<".concat(c,"[^>]*>([\\s\\S]*?)<\\/").concat(c,">$"),"i"));return u?u[1]:a}return(a,l)=>(tg(),ng(Xp(o.value),{ref_key:"container",ref:n,innerHTML:i.value+" ",class:eg(e.active?"--highlight":"")},null,8,["innerHTML","class"]))}},og=window.Vue.createVNode,Xr=window.Vue.createElementVNode,$i=window.Vue.toDisplayString,xt=window.Vue.openBlock,Ft=window.Vue.createElementBlock,Sn=window.Vue.createCommentVNode,rg=window.Vue.normalizeClass,sg={key:0,class:"media-content"},ag={style:{}},lg={class:""},cg={key:0},ug={key:1,class:"reader__content__media__headline"},dg={key:2,class:"reader__content__media__subline"},hg=window.Vue.computed,fg={__name:"MediaBlock",props:{media:Object,active:Boolean},setup(e){const t=e,n=hg(()=>{var o,r,s;return((o=t.media)==null?void 0:o.data.media_data.type)==="image"?(r=t.media)==null?void 0:r.data.media_data.model:(s=t.media)==null?void 0:s.data.media_data.model.image});return(i,o)=>{var r;return xt(),Ft("div",{class:rg(["reader__content__media",e.active?"--highlight":""])},[n.value?(xt(),Ft("div",sg,[Xr("figure",ag,[Xr("picture",lg,[og(fn,{image:n.value},null,8,["image"])]),(r=n.value)!=null&&r.copyright&&n.value.copyright!==""?(xt(),Ft("figcaption",cg,$i(n.value.copyright),1)):Sn("",!0)])])):Sn("",!0),e.media.data.headline?(xt(),Ft("span",ug,$i(e.media.data.headline),1)):Sn("",!0),e.media.data.subline?(xt(),Ft("span",dg,$i(e.media.data.subline),1)):Sn("",!0)],2)}}},W=window.Vue.createElementVNode,Ni=window.Vue.normalizeClass,be=window.Vue.openBlock,Ae=window.Vue.createElementBlock,Ut=window.Vue.createCommentVNode,mg=window.Vue.vModelSelect,An=window.Vue.withDirectives,es=window.Vue.toDisplayString,pt=window.Vue.createTextVNode,ts=window.Vue.vModelText,Bi=window.Vue.unref,zt=window.Vue.Fragment,pg=window.Vue.renderList,gg=window.Vue.resolveDynamicComponent,wg=window.Vue.mergeProps,_g=window.Vue.createBlock,vg=window.Vue.withKeys,bg=window.Vue.normalizeStyle,yg=window.Vue.resolveDirective,Eg=window.Vue.createStaticVNode,Sg=["data-theme"],Ag={class:"reader__tools"},kg={class:"reader__tools__button-wrapper"},Cg={key:0,class:"reader__tools__button-tooltip"},Vg={key:1,role:"dialog",class:"reader__tools__dialog"},Tg={class:"reader__tools__dialog__label"},Dg={class:"reader__tools__dialog__label"},$g={class:"reader__tools__dialog__label__title"},Ng={class:"reader__tools__dialog__label"},Bg={class:"reader__tools__dialog__label__title"},Rg={key:3,class:"reader__tools__button-wrapper"},Og={class:"reader__tools__button-wrapper"},Mg={class:"reader__content"},Ig=window.Vue.onMounted,Pg=window.Vue.onUnmounted,ye=window.Vue.ref,Ht=window.Vue.watch,Lg={__name:"Reader",setup(e){const t=Hs(),n=ye(null),i=ye(""),o=ye(!1),r=ye([]),s=ye(-1),a=window.speechSynthesis;let l=null,c=!1,d=ye(!1);const u=()=>{t.dispatch("reader/hideReader")},h=()=>{var C,S;if(i.value=[],Z.value&&r.value){r.value.forEach((I,$)=>{if(I.startsWith("**")&&I.endsWith("**")){let K=I.slice(2,-2);const Y=$===0?"h1":"h2";i.value.push({type:"html",component:Lt,content:"<"+Y+">"+K+"</"+Y+">",plainText:K})}else i.value.push({type:"html",content:"<p>".concat(I,"</p>"),component:Lt,plainText:E(I)})});return}const _="pageDataModal"in t.getters?(C=t.getters.pageDataModal)==null?void 0:C.blocks:(S=t.getters.pageData)==null?void 0:S.blocks;i.value=[],_.forEach(I=>
2{I.elements.forEach($=>{switch($.subtype){case"postTeaser":i.value.push({type:"html",component:Lt,content:$.data.text,plainText:$.data.text});break;case"html":let Y=[];try{Y=g($.data.text)}catch(v){console.error("Fehler beim Ausführen: Die Funktion benötigt eine DOM-Umgebung (Browser oder JSDOM).",v)}Y.length>0?Y.forEach((v,V)=>{i.value.push({type:"html",content:v,component:Lt,plainText:E(v)})}):i.value.push({type:"html",content:$.data.text});break;case"headline":const m=$.data.tag?$.data.tag:"h1";i.value.push({type:"html",component:Lt,content:"<"+m+">"+$.data.text+"</"+m+">",plainText:$.data.text});break;case"media":let y="Medium:";$.data.headline?(y+=" "+$.data.headline,$.data.subline&&(y+=" "+$.data.subline)):$.data.media_data.model.alt&&$.data.media_data.model.alt!=""?y+=" "+$.data.media_data.model.alt:y+=" ohne Beschreibung",i.value.push({type:"component",component:fg,props:{media:$},plainText:y});break}})})},f=()=>{if(!o.value){A();return}d.value?speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?A():(d.value=!1,a.resume()):speechSynthesis.pause&&navigator.userAgent.includes("Firefox")?M():(d.value=!0,a.pause())},A=()=>{if(!a){console.error("TTS nicht verfügbar oder keine Segmente gefunden.");return}M(),o.value=!0,s.value=0,c=!1,d.value=!1,z(s.value)},M=()=>{a.cancel(),o.value=!1,s.value=-1,l=null},z=b=>{if(c)return;if(b>=i.value.length){M();return}s.value=b;const _=i.value[b].plainText;l=new SpeechSynthesisUtterance(_),l.lang="de",l.onend=()=>{o.value&&z(b+1)},l.onerror=C=>{console.error("TTS Error bei Segment ".concat(b,":"),C.error),z(b+1)},a.speak(l),a.resume(),R("text-segment-"+b)},L=ye(!1),T={isDarkMode:"settings.isDarkMode",isSimpleMode:"settings.isSimpleMode",fontFamily:"settings.fontFamily",fontSize:"settings.fontSize",lineHeight:"settings.lineHeight"},x=(b,_)=>{const C=localStorage.getItem(b);try{return C!==null?JSON.parse(C):_}catch(S){return _}},q=(b,_)=>{localStorage.setItem(b,JSON.stringify(_))},te=ye(x(T.isDarkMode,!1)),Z=ye(x(T.isSimpleMode,!1)),Q=ye(x(T.fontFamily,"sans-serif")),B=ye(x(T.fontSize,20)),se=ye(x(T.lineHeight,.75));Ht(te,b=>q(T.isDarkMode,b)),Ht(Z,b=>q(T.isSimpleMode,b)),Ht(Q,b=>q(T.fontFamily,b)),Ht(B,b=>q(T.fontSize,b)),Ht(se,b=>q(T.lineHeight,b));const st=()=>{L.value?L.value=!1:u()},Ue=()=>{te.value=!te.value},$e=()=>{Z.value=!Z.value,h()},F=()=>{L.value=!L.value};function p(b){const C=new DOMParser().parseFromString(b,"text/html");return Array.from(C.querySelectorAll("section, article")).reverse().forEach($=>{const K=$.parentNode;for(;$.firstChild;)K.insertBefore($.firstChild,$);$.remove()}),C.body.innerHTML}function g(b,_={}){b=b.trim(),b=p(b);const{listMode:C="container"}=_,S=document.createElement("div");S.innerHTML=b.trim();const I=[],$=["P","DIV","H1","H2","H3","H4","H5","H6"],K=["BLOCKQUOTE","TABLE","DETAILS","HR","SECTION","ARTICLE","ASIDE","HEADER","FOOTER","NAV","ADDRESS"],Y=new RegExp("(?<!\\b(?:Dr|Prof|Dipl\\.?-?Ing|BSc|MSc|Ing|Mag|Sr|Jr))(?<!\\b\\d)([.?!])\\s*(?=\\s*[A-ZÄÖÜ(»])","gi");function m(O){return Array.from(O.attributes).map(D=>" ".concat(D.name,'="').concat(D.value,'"')).join("")}function y(O){if(O.nodeType===Node.TEXT_NODE)return O.textContent;if(O.nodeType!==Node.ELEMENT_NODE)return"";const D=O.tagName.toLowerCase(),k=m(O);let H="<".concat(D).concat(k,">");return O.childNodes.forEach(le=>{H+=y(le)}),H+="</".concat(D,">"),H}function v(O){const D=document.createElement("div");D.innerHTML=O;const k=[];let H="";function le(){if(H.trim()){const Ee=H.replace(Y,"$1###SPLIT###").split("###SPLIT###").map(Ne=>Ne.trim()).filter(Boolean);k.push(...Ee)}H=""}function ie(Ee){if(Ee.nodeType===Node.TEXT_NODE){H+=Ee.textContent;return}if(Ee.nodeType===Node.ELEMENT_NODE){const Ne=window.getComputedStyle(Ee).display;if(Ne!=="block"&&Ne!=="table"){le(),k.push(y(Ee));return}le(),k.push(Ee.outerHTML)}}return D.childNodes.forEach(ie),le(),k}function V(O){const D=O.innerHTML,k=v(D),H="<".concat(O.tagName).concat(m(O),">"),le="</".concat(O.tagName,">");k.forEach((ie,Ee)=>{let Ne=ie.trim();Ee===0&&(Ne=H+Ne),Ee===k.length-1&&(Ne=Ne+le),I.push(Ne)})}function U(O){if(O.nodeType===Node.TEXT_NODE){const k=O.textContent.trim();if(!k)return;const H=k.replace(Y,"$1###SPLIT###").split("###SPLIT###").map(le=>
2le.trim()).filter(Boolean);I.push(...H);return}if(O.nodeType!==Node.ELEMENT_NODE)return;const D=O.tagName;if(K.includes(D)){I.push(O.outerHTML.trim());return}if($.includes(D)){V(O);return}O.childNodes.forEach(U)}return S.childNodes.forEach(U),I}function E(b){const _=document.createElement("div");return _.innerHTML=b,_.textContent||_.innerText||""}const R=b=>{const _=document.getElementById(b);_&&_.scrollIntoView({behavior:"smooth"})},N=()=>{t.getters["reader/autoplay"]&&(t.dispatch("reader/setReaderAutoplay",!1),A())};return Ig(()=>{var b,_;c=!1,d.value=!1,r.value=(_=(b=t.getters.pageData)==null?void 0:b.accessibility)==null?void 0:_.simple_language,h(),N()}),Pg(()=>{M(),c=!0,d.value=!0,setTimeout(()=>{a.cancel(),a.pause()},100)}),(b,_)=>{const C=yg("focustrap");return An((be(),Ae("div",{onKeydown:vg(st,["esc"]),"data-theme":te.value?"dark":"light",role:"dialog","aria-modal":"true",class:"reader",style:bg("--font-family:"+Q.value+";--font-size:"+B.value+"px;--font-line-height-ratio:"+se.value+";")},[W("div",Ag,[W("div",{class:"reader__tools__button-wrapper"},[W("button",{onClick:u,class:"reader__tools__button iconSet","aria-label":"Leseansicht schließen"}," close "),_[3]||(_[3]=W("span",{class:"reader__tools__button-tooltip"},"Leseansicht schließen",-1))]),W("div",kg,[W("button",{onClick:F,class:Ni(["reader__tools__button iconSet",[L.value?"--active":""]]),"aria-label":"Schrifteinstellungen"},"text_fields ",2),L.value?Ut("",!0):(be(),Ae("span",Cg,"Schrifteinstellungen"))]),L.value?(be(),Ae("div",{key:0,onClick:F,class:"reader__tools__dialog-backdrop"})):Ut("",!0),L.value?(be(),Ae("div",Vg,[W("label",Tg,[_[5]||(_[5]=W("span",{class:"reader__tools__dialog__label__title"},"Schriftart",-1)),An(W("select",{"onUpdate:modelValue":_[0]||(_[0]=S=>Q.value=S)},[..._[4]||(_[4]=[Eg('<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>',5)])],512),[[mg,Q.value]])]),W("label",Dg,[W("span",$g,[_[6]||(_[6]=pt("Schriftgrad ",-1)),W("span",null,es(B.value)+"px",1)]),An(W("input",{type:"range",min:"12",max:"64",step:"4","onUpdate:modelValue":_[1]||(_[1]=S=>B.value=S)},null,512),[[ts,B.value,void 0,{number:!0}]])]),W("label",Ng,[W("span",Bg,[_[7]||(_[7]=pt("Zeilenhöhe ",-1)),W("span",null,es(se.value+1),1)]),An(W("input",{type:"range",min:"0",max:"2",step:"0.25","onUpdate:modelValue":_[2]||(_[2]=S=>se.value=S)},null,512),[[ts,se.value,void 0,{number:!0}]])])])):Ut("",!0),Bi($t)?Ut("",!0):(be(),Ae("div",{key:2,class:"reader__tools__button-wrapper",onClick:f},[W("button",{class:Ni(["reader__tools__button iconSet",[o.value&&!Bi(d)?"--active":""]]),"aria-label":"Artikel anhören"},[o.value&&!Bi(d)?(be(),Ae(zt,{key:0},[pt("pause")],64)):(be(),Ae(zt,{key:1},[pt("headphones")],64))],2),_[8]||(_[8]=W("span",{class:"reader__tools__button-tooltip"},"Artikel anhören",-1))])),r.value?(be(),Ae("div",Rg,[W("button",{onClick:$e,class:Ni(["reader__tools__button iconSet",[Z.value?"--active":""]]),"aria-label":"Einfache Sprache umschalten"}," local_library ",2),_[9]||(_[9]=W("span",{class:"reader__tools__button-tooltip"},"Einfache Sprache",-1))])):Ut("",!0),W("div",Og,[W("button",{onClick:Ue,class:"reader__tools__button iconSet","aria-label":"Farbschema umschalten"},[te.value?(be(),Ae(zt,{key:0},[pt("light_mode")],64)):(be(),Ae(zt,{key:1},[pt("dark_mode")],64))]),_[10]||(_[10]=W("span",{class:"reader__tools__button-tooltip"},"Farbschema",-1))])]),W("div",Mg,[W("div",{class:"reader__content__text",ref_key:"contentRef",ref:n},[(be(!0),Ae(zt,null,pg(i.value,(S,I)=>(be(),_g(gg(S.component),wg({key:"text-segment-".concat(I)},{ref_for:!0},S.props,{"html-content":S.content+" ",active:I===s.value,id:"text-segment-".concat(I)}),null,16,["html-content","active","id"]))),128))],512)])],44,Sg)),[[C]])}}},xg={name:"Layout",components:{Reader:Lg,AppDebug:Ef,AppFooter:Lr,AppHeader:Wr,AppScrollToTop:Gp,AppSearch:Ip},computed:{appHeader(){return _e.getByName(Ra,Wr)},appFooter(){return _e.getByName(Xm,Lr)},reader(){return this.$store.getters["reader/show"]}},mounted(){Jp.init()}},ns=window.Vue.resolveDynamicComponent,kn=window.Vue.openBlock,Ri=window.Vue.createBlock,jt=window.Vue.resolve
2Component,Gt=window.Vue.createVNode,is=window.Vue.createElementVNode,Fg=window.Vue.createCommentVNode,Ug=window.Vue.Transition,zg=window.Vue.withCtx,Hg=window.Vue.Fragment,jg=window.Vue.createElementBlock,Gg={id:"page",class:"hfeed site"},Kg={id:"main",class:"site-main"};function Wg(e,t,n,i,o,r){const s=jt("router-view"),a=jt("app-scroll-to-top"),l=jt("app-debug"),c=jt("Reader"),d=jt("app-search");return kn(),jg(Hg,null,[(kn(),Ri(ns(r.appHeader))),is("div",Gg,[is("div",Kg,[Gt(s),Gt(a)]),Gt(l),(kn(),Ri(ns(r.appFooter)))]),Gt(Ug,{name:"fade_fast"},{default:zg(()=>[r.reader?(kn(),Ri(c,{key:0})):Fg("",!0)]),_:1}),Gt(d)],64)}const Yg=P(xg,[["render",Wg]]),qg={name:"MainMenu",components:{SoylentLink:mn,CmmsResponsiveImage:fn},data(){return{selectedMain:null,items:[],menuContent:[],clickListener:null,isFocused:!1}},mounted(){this.items=window.soylent_menus?window.soylent_menus.primary||[]:""},computed:{isMenuOpen(){return this.$store.getters.isMenuOpen}},methods:{selectMain(e){e.items&&e.items.length>0&&(this.selectedMain===e?this.selectedMain=null:this.selectedMain=e)},isUrl(e){return e!==""&&e!=="#"},isActive(e){return this.selectedMain!==null&&e.id===this.selectedMain.id},closeMenu(){this.closeMenuAction()},closeMenuAction(){this.selectedMain=null,this.$store.dispatch("closeMenu")},getClassNames(e){return e.join(" ")},handleFocusIn(){this.isFocused=!0},handleFocusOut(e){this.$el.contains(e.relatedTarget)||(this.isFocused=!1,this.selectedMain=null)}},watch:{$route(e,t){this.closeMenu()}}},Oi=window.Vue.renderList,Mi=window.Vue.Fragment,pe=window.Vue.openBlock,ke=window.Vue.createElementBlock,Kt=window.Vue.toDisplayString,Cn=window.Vue.createTextVNode,Qg=window.Vue.resolveComponent,Vn=window.Vue.withCtx,os=window.Vue.createBlock,rs=window.Vue.createCommentVNode,Wt=window.Vue.normalizeClass,Zg=window.Vue.createElementVNode,ss=window.Vue.createVNode,Jg=window.Vue.withKeys,Xg={key:0,class:"menu-main__item__submenu-label"},ew=["data-label","onClick"],tw=["onClick","aria-label"],nw={key:0,class:"menu-main__item__submenu__sub"};function iw(e,t,n,i,o,r){const s=Qg("soylent-link");return pe(),ke("ul",{id:"menu-main",class:"menu-main",onKeydown:t[0]||(t[0]=Jg((...a)=>r.closeMenu&&r.closeMenu(...a),["esc"])),onFocusin:t[1]||(t[1]=(...a)=>r.handleFocusIn&&r.handleFocusIn(...a)),onFocusout:t[2]||(t[2]=(...a)=>r.handleFocusOut&&r.handleFocusOut(...a))},[(pe(!0),ke(Mi,null,Oi(o.items,a=>(pe(),ke("li",{key:a.id,class:Wt(["menu-main__item",r.getClassNames(a.classes),a.items?"--has-children":"",r.isActive(a)?"--active":""])},[a.items?(pe(),ke("span",Xg,[r.isUrl(a.url)?(pe(),os(s,{key:0,url:a.url,"data-label":a.label,class:"menu-main__item__label"},{default:Vn(()=>[Cn(Kt(a.label),1)]),_:2},1032,["url","data-label"])):(pe(),ke("span",{key:1,"data-label":a.label,class:"menu-main__item__label",onClick:l=>r.selectMain(a)},Kt(a.label),9,ew)),Zg("button",{onClick:l=>r.selectMain(a),class:Wt(["menu-main__item__submenu-label__toggle","iconSet",r.isActive(a)?"--active":""]),"aria-label":"Untermenu von "+a.label+" öffnen"},"expand_more ",10,tw)])):(pe(),os(s,{key:1,url:a.url,"data-label":a.label,class:"menu-main__item__label"},{default:Vn(()=>[Cn(Kt(a.label),1)]),_:2},1032,["url","data-label"])),a.items?(pe(),ke("ul",{key:2,class:Wt(["menu-main__item__submenu",r.isActive(a)?"--active":""])},[(pe(!0),ke(Mi,null,Oi(a.items,l=>(pe(),ke("li",{key:l.id,class:Wt(["menu-main__item",r.getClassNames(l.classes),l.items?"--has-children":""])},[ss(s,{url:l.url,"data-label":l.label,class:"menu-main__item__label"},{default:Vn(()=>[Cn(Kt(l.label),1)]),_:2},1032,["url","data-label"]),l.items?(pe(),ke("ul",nw,[(pe(!0),ke(Mi,null,Oi(l.items,c=>(pe(),ke("li",{class:Wt(["menu-main__item",r.getClassNames(l.classes)]),key:c.id},[ss(s,{url:c.url,"data-label":c.label,class:"menu-main__item__label"},{default:Vn(()=>[Cn(Kt(c.label),1)]),_:2},1032,["url","data-label"])],2))),128))])):rs("",!0)],2))),128))],2)):rs("",!0)],2))),128))],32)}const as=P(qg,[["render",iw]]),ow={name:"HeaderTools",components:{SoylentLink:mn},computed:{currentLanguage(){if(this.$store.getters.pageData&&this.$store.getters.pageData.meta&&this.$store.getters.pageData.meta.languages)return this.$store.getters.pageData.meta.languages.current},languageMenuData(){return this.$store.getters.pageData&&this.$store.getters.pageData.meta&&this.$store.getters.pageData.meta.languages?this.$store.getters.pageData.meta.languages.menu:[]},profileUrl:function(){return"profile_page"in window.soylent_settings?window.soylent_settings.profile_page:null}}}
2,rw=window.Vue.createElementVNode,sw=window.Vue.resolveComponent,aw=window.Vue.withCtx,gt=window.Vue.openBlock,lw=window.Vue.createBlock,Ii=window.Vue.createCommentVNode,ls=window.Vue.toDisplayString,Yt=window.Vue.createElementBlock,cw=window.Vue.renderList,uw=window.Vue.Fragment,dw={class:"header-tools"},hw={key:1,class:"header-tools__language"},fw={key:0,class:"header-tools__language__switch --active"},mw=["href"];function pw(e,t,n,i,o,r){const s=sw("SoylentLink");return gt(),Yt("div",dw,[r.profileUrl?(gt(),lw(s,{key:0,class:"header-tools__profile",url:r.profileUrl},{default:aw(()=>[...t[0]||(t[0]=[rw("span",{class:"header-tools__profile__icon iconSet"},"account_circle",-1)])]),_:1},8,["url"])):Ii("",!0),r.languageMenuData.length?(gt(),Yt("div",hw,[r.currentLanguage?(gt(),Yt("button",fw,ls(r.currentLanguage),1)):Ii("",!0),(gt(!0),Yt(uw,null,cw(r.languageMenuData,a=>(gt(),Yt("a",{href:a.url,key:a.url,class:"header-tools__language__switch"},ls(a.label),9,mw))),128))])):Ii("",!0)])}const cs=P(ow,[["render",pw]]),gw={name:"AppHeader",components:{AppHeaderLogo:po,HeaderTools:cs,MainMenuSub:fo,MainMenu:as,SocialShortcuts:mo,MenuSwitch:Ba},mixins:[Ma],data:function(){return{homeUrl:window.soylent_settings.home_url,title:window.soylent_settings.title,headerLogo:window.soylent_settings.header_logo,width:null}},computed:{isDesktop(){return this.width>1024},isMenuOpen(){return this.$store.getters.isMenuOpen},headerToolsComponent(){return _e.getByName("headerTools",cs)},mainMenuComponent(){return _e.getByName("mainMenu",as)},showSearchIcon(){return window.soylent_settings.soylent_corporate&&window.soylent_settings.soylent_corporate.header&&Object.keys(window.soylent_settings.soylent_corporate.header).includes("search")?window.soylent_settings.soylent_corporate.header.search:!0}},methods:{toggleMenu:function(){this.$store.dispatch("toggleMenu")},toggleSearch:function(){document.querySelector("body").style.overflow="hidden",this.$store.dispatch("toggleSearch")},closeMenu:function(){this.$store.dispatch("closeMenu")},onResize(e){this.width=window.innerWidth}},mounted(){const e=document.getElementById("masthead");e&&this.$store.dispatch("setHeaderHeight",e.getBoundingClientRect().height),window.addEventListener("resize",this.onResize),this.onResize()},updated(){},destroyed(){window.removeEventListener("resize",this.onResize)}},Pi=window.Vue.resolveDynamicComponent,qe=window.Vue.openBlock,Tn=window.Vue.createBlock,us=window.Vue.resolveComponent,ds=window.Vue.createVNode,Li=window.Vue.createElementBlock,xi=window.Vue.createCommentVNode,hs=window.Vue.createElementVNode,ww=window.Vue.resolveDirective,_w=window.Vue.withDirectives,vw=window.Vue.Transition,bw=window.Vue.withCtx,yw=window.Vue.withKeys,Ew={class:"header-banner"},Sw={key:0,role:"navigation",class:"menu__wrapper"},Aw={class:"header-tools-wrapper"};function kw(e,t,n,i,o,r){const s=us("SocialShortcuts"),a=us("MenuSwitch"),l=ww("focustrap");return qe(),Li("header",{id:"masthead",class:"site-header",role:"banner",onKeydown:t[1]||(t[1]=yw((...c)=>r.closeMenu&&r.closeMenu(...c),["esc"]))},[hs("div",Ew,[(qe(),Tn(Pi(e.headerLogoComponent))),ds(vw,{name:r.isDesktop?"fade_fast":"slide-up_fast"},{default:bw(()=>[r.isDesktop||!r.isDesktop&&r.isMenuOpen?_w((qe(),Li("div",Sw,[(qe(),Tn(Pi(r.mainMenuComponent))),hs("div",Aw,[ds(s),(qe(),Tn(Pi(r.headerToolsComponent))),r.showSearchIcon?(qe(),Li("button",{key:0,class:"search-button iconSet","aria-label":"Suche anzeigen",onClick:t[0]||(t[0]=(...c)=>r.toggleSearch&&r.toggleSearch(...c))},"search")):xi("",!0)])])),[[l,r.isMenuOpen]]):xi("",!0)]),_:1},8,["name"]),r.isDesktop?xi("",!0):(qe(),Tn(a,{key:0}))])],32)}const Cw=P(gw,[["render",kw]]),Vw={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)}}},fs=window.Vue.createElementVNode,Tw=window.Vue.resolveComponent,Dw=window.Vue.withCtx,$w=window.Vue.openBlock,Nw=window.Vue.createBlock;function Bw(e,t,n,i,o,r){const s=Tw("router-link");return $w(),Nw(s,{onClick:r.scrollToTop,tag:"a",class:"logo",href:e.homeUrl,to:e.$routerLink(e.homeUrl),title:e.title},{default:Dw(()=>[...t[0]||(t[0]=[fs("svg",{width:"230",height:"140",viewBox:"0 0 230 140",xmlns:"http://www.w3.org/2000/svg"},[fs("path",{fill:"currentColor",d:"M 106.729 139.573 C 99.999 132.703 93.998 124.853 85.325 120.302 C 74.044 117.784 81.188 106.298 76.469 99.194 C 72.522 95.217 65.01 100.814 60.494 102.907 C 53.088 108.214 49.469 117.322 49.341 126.163 C 46.413 116.34 49.391 104.411 58.817 99.312 C 69.717 91.899 85.319 91.055 92.844 79.134 C 97.84 73.026 95.9 58.916 96.223 55.915 C 100.618 62.108 99.919 73.28 101.793 77.609 C 111.737 74.661 117.147 85.502 125.817 87.763 C 130.72 89.162 148.316 95.755 142.262 86.42 C 140.341 82.952 138.217 68.035 142.593 79.316 C 148.161 89.483 156.351 99.519 168.355 101.811 C 175.036 104.812 186.392 102.543 188.752 111.287 C 190.939 120.684 188.241 131.195 182.656 138.914 C 181.115 135.27 186.503 126.435 185.671 120.744 C 186.589 114.116 182.792 107.162 175.657 106.942 C 165.822 104.98 155.492 102.615 147.894 95.732 C 135.624 99.961 121.743 94.978 113.646 85.17 C 107.492 79.009 97.963 77.579 94.728 86.939 C 92.48 92.912 79.46 92.577 81.268 98.57 C 82.997 105.663 79.254 115.181 89.446 117.36 C 98.241 122.299 105.465 130.402 108.651 139.95 C 108.005 140.023 107.233 140.095 106.729 139.573 L 106.729 139.573 Z M 44.891 138.72 C 39.346 130.942 36.946 121.104 35.93 111.693 C 34.916 99.276 46.762 91.357 54.376 83.417 C 62.33 78.52 55.911 71.905 53.138 66.356 C 50.527 62.495 54.52 47.888 55.581 58.504 C 56.479 65.526 62.234 70.703 63.786 77.124 C 60.196 85.915 50.313 90.326 45.263 98.378 C 37.798 10
27.469 42.447 119.82 44.677 129.99 C 44.453 131.499 48.791 140.871 44.891 138.72 Z M 215.704 135.728 C 211.392 126.087 210.097 114.951 204.107 106.07 C 196.29 98.004 181.774 100.945 176.062 90.169 C 178.409 89.58 188.056 95.647 193.758 96.234 C 201.1 97.882 209.035 101.606 210.818 109.639 C 213.649 118.16 216.68 127.134 216.137 136.111 L 215.704 135.728 Z M 107.372 124.983 C 102.704 116.583 92.247 110.013 95.606 99.15 C 96.08 94.23 98.003 81.944 97.698 93.416 C 96.478 103.542 101.984 111.819 106.145 120.444 C 105.89 120.324 109.144 127.409 107.372 124.983 Z M 170.177 90.31 C 176.255 82.282 182.328 73.077 181.082 62.482 C 178.833 54.661 180.625 46.961 188.223 42.823 C 192.778 38.531 199.918 36.923 205.302 40.67 C 211.141 43.124 215.109 48.595 220.55 51.535 C 227.578 51.945 224.498 41.738 222.308 37.721 C 219.312 31.734 216.191 25.692 213.611 19.562 C 218.813 26.816 224.857 33.67 228.854 41.64 C 233.339 50.159 223.729 64.116 216.056 52.894 C 210.505 48.423 204.214 41.183 196.322 43.538 C 191.05 46.113 182.969 50.503 184.951 57.51 C 186.937 66.417 188.8 78.668 179.717 84.45 C 176.672 86.576 173.638 88.94 170.177 90.311 L 170.177 90.31 Z M 16.168 75.577 C 11.108 75.919 -1.212 67.368 0.786 67.387 C 7.785 70.63 18.932 72.244 23.781 64.891 C 26.613 57.85 27.883 48.628 35.9 45.385 C 42.973 40.814 53.81 43.371 56.98 51.465 C 48.902 43.583 32.587 48.758 31.813 60.306 C 32.27 68.256 26.65 76.56 17.934 75.676 L 16.168 75.577 Z M 14.847 54.32 C 9.914 55.228 -1.859 48.353 0.25 46.087 C 7.017 48.021 15.94 51.347 21.984 46.486 C 26.284 40.596 30.637 32.782 38.982 32.745 C 47.089 31.147 56.045 36.758 56.455 45.343 C 50.419 34.508 33.609 35.914 27.199 45.688 C 23.874 49.458 20.889 55.55 14.847 54.32 Z M 57.963 41.207 C 64.346 27.902 80.307 22.894 94.133 24.701 C 109.274 26.004 122.078 36.105 137.358 36.502 C 152.63 36.049 164.555 25.365 175.424 15.829 C 181.079 11.086 190.182 9.21 196.553 13.532 C 189.022 14.018 180.97 14.634 175.558 20.689 C 164.238 31.657 149.813 42.491 133.031 39.992 C 116.519 37.227 100.756 28.634 83.546 31.225 C 74.385 32.08 64.588 35.049 57.963 41.207 Z M 140.421 28.876 C 142.394 26.457 150.545 23.149 152.733 18.322 C 156.359 12.872 158.156 5.827 164.702 2.927 C 173.885 -2.182 185.627 -0.133 194.068 5.466 C 184.836 3.094 173.913 6.095 168.431 14.332 C 160.841 21.332 151.372 29.281 140.421 28.875 L 140.421 28.876 Z M 197.953 15.782 C 200.586 9.487 207.264 5.353 214.034 8.064 C 220.925 9.588 208.517 9.204 206.225 11.32 C 203.367 12.389 200.493 14.803 197.953 15.782 Z"})],-1)])]),_:1},8,["onClick","href","to","title"])}const Rw=P(Vw,[["render",Bw]]),Ow={name:"SoylentHeadline",props:["element"],computed:{headlineInner:function(){let e="";return this.element.data.icon&&(e+='<span class="iconSet">'.concat(this.element.data.icon,"</span> ")),e+=this.element.data.text,e},headlineTag(){return this.element&&this.element.data.tag?this.element.data.tag:"h2"}}},Mw=window.Vue.resolveDynamicComponent,ms=window.Vue.openBlock,Iw=window.Vue.createBlock,Pw=window.Vue.normalizeClass,Lw=window.Vue.createElementBlock;function xw(e,t,n,i,o,r){return ms(),Lw("div",{class:Pw(["element",n.element.type,n.element.subtype])},[(ms(),Iw(Mw(r.headlineTag),{innerHTML:r.headlineInner},null,8,["innerHTML"]))],2)}const Fw=P(Ow,[["render",xw]]),Uw={name:"SoylentOpenerImage",components:{CmmsResponsiveImage:fn},props:["element"]},zw=window.Vue.resolveComponent,Hw=window.Vue.createVNode,jw=window.Vue.normalizeClass,Gw=window.Vue.openBlock,Kw=window.Vue.createElementBlock;function Ww(e,t,n,i,o,r){const s=zw("CmmsResponsiveImage");return Gw(),Kw("div",{class:jw(["element",n.element.type,n.element.subtype])},[Hw(s,{fill:!0,image:n.element.data.model},null,8,["image"])],2)}const Yw=P(Uw,[["render",Ww]]);function qw(e,t,n="",i="",o=""){return"".concat(window.cmms_thumbs_base).concat(t,"x").concat(n).concat(i).concat(o,"/").concat(e,".jpg")}const Qw={name:"CmmsThumbnail",components:{CmmsResponsiveImage:fn},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: ".concat(this.maxHeight,"px;"):""}}}
2,Zw=window.Vue.resolveComponent,Jw=window.Vue.createVNode,Xw=window.Vue.normalizeClass,e_=window.Vue.createElementVNode,ps=window.Vue.openBlock,gs=window.Vue.createElementBlock,t_=window.Vue.createCommentVNode,n_=window.Vue.normalizeStyle,i_=["innerHTML"];function o_(e,t,n,i,o,r){const s=Zw("CmmsResponsiveImage");return ps(),gs("figure",{style:n_(r.figureStyle)},[e_("picture",{class:Xw([n.zoom?"-zoom":""])},[Jw(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?(ps(),gs("figcaption",{key:0,innerHTML:n.image.copyright},null,8,i_)):t_("",!0)],4)}const r_=P(Qw,[["render",o_]]),s_={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){}}},a_=window.Vue.normalizeClass,l_=window.Vue.normalizeStyle,c_=window.Vue.openBlock,u_=window.Vue.createElementBlock,d_=window.Vue.createCommentVNode,h_=["innerHTML"];function f_(e,t,n,i,o,r){return r.playerHtml?(c_(),u_("div",{key:0,class:a_(r.containerClass),ref:"playerContainer",style:l_(e.wrapperStyle),innerHTML:r.playerHtml,onEnded:t[0]||(t[0]=(...s)=>r.videoEnded&&r.videoEnded(...s))},null,46,h_)):d_("",!0)}const ws=P(s_,[["render",f_]]),m_={name:"SoylentMediaElements",components:{CmmsPlayer:ws,CmmsThumbnail:r_},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?this.element.data.media_data.type==="image":!1},maxHeight:function(){return parseInt(this.element.data.height||0)},playerComponent:function(){return _e.getByName("cmmsPlayer",ws)}}},p_=window.Vue.resolveComponent,Fi=window.Vue.openBlock,_s=window.Vue.createBlock,g_=window.Vue.createCommentVNode,w_=window.Vue.resolveDynamicComponent,__=window.Vue.createElementBlock,v_={class:"media-content"};function b_(e,t,n,i,o,r){const s=p_("CmmsThumbnail");return Fi(),__("div",v_,[r.isImage?(Fi(),_s(s,{key:0,image:n.element.data.media_data.model,"max-height":r.maxHeight,fill:n.fill,zoom:n.zoom},null,8,["image","max-height","fill","zoom"])):r.usePlayer?(Fi(),_s(w_(r.playerComponent),{key:1,element:n.element},null,8,["element"])):g_("",!0)])}const y_=P(m_,[["render",b_]]),E_={name:"SoylentOpenerMedia",components:{SoylentMediaElements:y_},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(t){return this.element.data.media_id}}},overlayStyle:function(){return{"background-image":"url(".concat(qw(this.mediaThumbnailId,128,"","eb_40x20","/f:jpg"),")")}},usePlayer:function(){if(this.element)return["video","videolivestream","audio","audiolivestream","playlist"].includes(this.element.data.media_data.type)}}},S_=window.Vue.normalizeStyle,A_=window.Vue.createElementVNode,k_=window.Vue.resolveComponent,C_=window.Vue.createVNode,V_=window.Vue.normalizeClass,T_=window.Vue.openBlock,D_=window.Vue.createElementBlock;function $_(e,t,n,i,o,r){const s=k_("SoylentMediaElements");return T_(),D_("div",{class:V_(["element",n.element.type,n.element.subtype,r.usePlayer?"--player":""])},[A_("div",{class:"overlay",style:S_(r.overlayStyle)},null,4),C_(s,{element:n.element},null,8,["element"])],2)}const N_=P(E_,[["render",$_]]),B_={name:"SoylentPostKicker",props:["element"]},R_=window.Vue.toDisplayString,O_=window.Vue.normalizeClass,M_=window.Vue.openBlock,I_=window.Vue.createElementBlock;function P_(e,t,n,i,o,r){return M_(),I_("h2",{class:O_(["element",n.element.type,n.element.subtype,"--text-size-s --text-weight-medium"])},R_(n.element.data.text),3)}const L_=P(B_,[["render",P_]]),x_={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 it().has(Qt)?this.$store.getters["sso/auth"]:!0},profilePageUrl(){return"profile_page"in window.soylent_settings?window.soylent_settings.profile_page:null},bookmarked(){return it().has(Qt)?this.$store.getters["BookmarksOnlineStore/isBookmarked"](this.bookmarkObject):this.$store.getters["bookmarks/isBookmarked"](this.bookmarkObject)}},methods:{bookmarkClick(e){it().has(Qt)?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)}}},vs=window.Vue.createElementVNode,F_=window.Vue.withModifiers,U_=window.Vue.normalizeClass,z_=window.Vue.openBlock,H_=window.Vue.createElementBlock,j_=["title","aria-label"];function G_(e,t,n,i,o,r){return z_(),H_("button",{onClick:t[0]||(t[0]=F_(s=>r.bookmarkClick(n.bookmarkObject),["stop","prevent"])),class:U_(["bookmark__button",r.bookmarked?"--active":""]),title:r.bookmarked?"Lesezeichen entfernen":"Lesezeichen hinzufügen","aria-label":r.bookmarked?"Lesezeichen entfernen":"Lesezeichen hinzufügen"},[...t[1]||(t[1]=[vs("span",{class:"iconSet"},"bookmark_border",-1),vs("span",{class:"iconSet"},"bookmark",-1)])],10,j_)}const bs=P(x_,[["render",G_]]),K_=window.Vue.unref,ys=window.Vue.openBlock,Es=window.Vue.createElementBlock,Ss=window.Vue.createCommentVNode,W_=window.Vue.createElementVNode,Y_={key:0,class:"reader-trigger"},q_=window.Vue.computed;window.Vue.onMounted;const Q_={__name:"ReaderTrigger",setup(e){const t=Hs(),n=()=>{t.dispatch("reader/showReader")},i=()=>{t.dispatch("reader/showReaderAutoplay")},o=q_(()=>"soylent_settings"in window&&window.soylent_settings.reader_mode||!1);return(r,s)=>o.value?(ys(),Es("div",Y_,[K_($t)?Ss("",!0):(ys(),Es("button",{key:0,onClick:i,class:"reader-trigger__button iconSet",title:"Anhören","aria-label":"Artikel anhören"}," headphones ")),W_("button",{onClick:n,class:"reader-trigger__button iconSet",title:"Leseansicht","aria-label":"Leseansicht anzeigen"}," chrome_reader_mode ")])):Ss("",!0)}},Z_={name:"SoylentPostMeta",components:{ReaderTrigger:Q_,BookmarkButton:bs}
2,props:["element"],computed:{...ea(["pageData"]),bookmarkObject(){return"bookmark_object"in this.pageData.meta?this.pageData.meta.bookmark_object:null},bookmarkButton(){return _e.getByName("bookmarkButton",bs)},showReader(){return!("hide_reader"in this.element.data&&this.element.data.hide_reader)}}},Le=window.Vue.openBlock,Qe=window.Vue.createElementBlock,je=window.Vue.createCommentVNode,Dn=window.Vue.toDisplayString,J_=window.Vue.createTextVNode,Ui=window.Vue.createElementVNode,X_=window.Vue.resolveComponent,As=window.Vue.createBlock,ev=window.Vue.resolveDynamicComponent,tv=window.Vue.normalizeClass,nv={key:0,class:"zone-label --ad-label"},iv={key:1,class:"zone-label --ai-label"},ov={key:2,class:"date"},rv={key:0},sv={key:3,class:"spacer"},av={key:4,class:"duration"},lv={class:"label"},cv={class:"tools"};function uv(e,t,n,i,o,r){const s=X_("ReaderTrigger");return Le(),Qe("div",{class:tv(["element",n.element.type,n.element.subtype])},[n.element.data.show_ad_label?(Le(),Qe("span",nv,"Anzeige")):je("",!0),n.element.data.ai_label?(Le(),Qe("span",iv,Dn(n.element.data.ai_label),1)):je("",!0),n.element.data.date?(Le(),Qe("span",ov,[J_(Dn(n.element.data.date)+" ",1),n.element.data.time?(Le(),Qe("span",rv,", "+Dn(n.element.data.time)+" Uhr",1)):je("",!0)])):je("",!0),n.element.data.duration?(Le(),Qe("span",sv,"/")):je("",!0),n.element.data.duration?(Le(),Qe("span",av,[t[0]||(t[0]=Ui("span",{class:"iconSet"},"play_circle_outline",-1)),Ui("span",lv,Dn(n.element.data.duration),1)])):je("",!0),Ui("div",cv,[r.showReader?(Le(),As(s,{key:0})):je("",!0),r.bookmarkObject?(Le(),As(ev(r.bookmarkButton),{key:1,"bookmark-object":r.bookmarkObject},null,8,["bookmark-object"])):je("",!0)])],2)}const dv=P(Z_,[["render",uv]]),re=window.Vue.defineAsyncComponent;ks.set(Yg);console.debug("[soylent:puppet] layout set");_e.set({[Ra]:Cw,[Oa]:Rw});$n.set({SoylentHeadline:Fw,SoylentOpenerImage:Yw,SoylentOpenerMedia:N_,SoylentPostKicker:L_,SoylentPostMeta:dv,SoylentAuthor:re(()=>ee(()=>import("./Author.js"),__vite__mapDeps([0,1]))),SoylentCrawl:re(()=>ee(()=>import("./Crawl.js"),__vite__mapDeps([2,1]))),SoylentCtaButton:re(()=>ee(()=>import("./CtaButton.js"),__vite__mapDeps([3,1]))),SoylentForm:re(()=>ee(()=>import("./Form.js"),__vite__mapDeps([4,5,1]))),SoylentHtml:re(()=>ee(()=>import("./Html.js"),__vite__mapDeps([6,5,1]))),SoylentLine:re(()=>ee(()=>import("./Line.js"),__vite__mapDeps([7,1]))),SoylentMedia:re(()=>ee(()=>import("./Media.js"),__vite__mapDeps([8,9,1]))),SoylentGallery:re(()=>ee(()=>import("./Gallery.js"),__vite__mapDeps([10,9,1]))),SoylentMediaLink:re(()=>ee(()=>import("./MediaLink.js"),__vite__mapDeps([11,9,12,1]))),SoylentParallax:re(()=>ee(()=>import("./Parallax.js"),__vite__mapDeps([13,12,1]))),SoylentPostShortcutList:re(()=>ee(()=>import("./PostShortcutList.js"),__vite__mapDeps([14,15,9,16,1]))),SoylentPostThumbs:re(()=>ee(()=>import("./PostThumbs.js"),__vite__mapDeps([17,15,9,16,1]))),SoylentRelatedContents:re(()=>ee(()=>import("./RelatedContents.js"),__vite__mapDeps([18,15,9,1]))),SoylentSpacer:re(()=>ee(()=>import("./Spacer.js"),__vite__mapDeps([19,1]))),SoylentTermList:re(()=>ee(()=>import("./TermList.js"),__vite__mapDeps([20,1]))),SoylentShare:re(()=>ee(()=>import("./Share.js"),__vite__mapDeps([21,1]))),SoylentCorporateBackgroundMedia:re(()=>ee(()=>import("./BackgroundMedia.js"),__vite__mapDeps([22,12,1])))});pf();export{Ku as $,$t as A,bs as B,fn as C,Xu as E,Bd as L,mn as S,P as _,fv as __vite_legacy_guard,tn as a,ea as b,fd as c,y_ as d,ho as e,r_ as f,hd as g,we as h,ta as m,_e as s,pv as u};

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.