PageSourceSearch

https://www.ra-mietrecht-muenchen.de/_nuxt/dpH24dbK.js

js ra-mietrecht-muenchen.de collected 2026-10-07 03:54:13 UTC 13,700 bytes, 3 lines download raw bytes

1import{N as z}from"./yb2tenc9.js";import{d as R,B as ne,az as se,aq as le,a as j,S as X,v as D,c as h,I as q,k as re,a5 as de,aA as ce,a6 as ue,au as V,r as _,o as n,b as v,a1 as T,e as o,n as S,j as r,a8 as O,i as c,w as k,f as g,g as p,h as l,t as F,ac as ge,aB as me,ad as he,a9 as J,ae as ve,aC as pe,_ as P,R as W,L as ye}from"./UB03tw8e.js";import{g as x,i as G}from"./BbRGBc7n.js";import{u as ke}from"./-jEhGsz2.js";import{S as fe,C as be}from"./CkYHFTvu.js";const _e=R({name:"FlipTransition",render(){return ne(se,{name:"flip-transition"},this.$slots.default)}}),Ce={class:"s-item__inner"},$e={class:"s-item__label"},Ve=["aria-label","aria-controls"],Se={class:"s-item__label"},we=["aria-label","aria-controls"],Ne=["href","aria-label"],Le={key:1,class:"s-item__label"},Fe=["id","aria-label","aria-expanded"],Ie=R({__name:"NavigationMenuItem",props:{item:{type:Object,required:!0},highlightColor:{type:String},tabsVariant:{type:String,required:!0},tabsActionVariant:{type:String,required:!0},homeVariant:{type:String,default:"text"},fontStyle:{type:String,requried:!0},level:{type:Number,default:0},isParentActive:{type:Boolean,default:!1}},emits:["linkClicked"],setup(e,{emit:a}){le(d=>({v3a6b2976:o(B)}));const b=a,t=e,I=j(),A=X(),s=D(!1),u=h(()=>q(t.item.url)===q(re().path)),y=h(()=>A.isViewportXLarge);de(()=>{ce(()=>{const i=I.activeNavigationPageUrls.has(t.item.url);s.value=i&&(y.value?t.level>0:!0)});const d=i=>{N.value===i.target||N.value?.contains(i.target)||L(!1)};document.body.addEventListener("click",d),ue(()=>document.body.removeEventListener("click",d))});const C=h(()=>y.value?2:1),B=h(()=>Math.max(t.level-C.value,0)),w=h(()=>x(I.pages,t.item.id)),N=D(),M=D(),m=D(!1),L=async d=>{if(s.value=d,!d)return;const i=window.innerWidth;if(await pe(),!y.value)return;const f=N.value?.getBoundingClientRect()?.left||0,H=M.value?.clientWidth||0;m.value=f+H>i},K=h(()=>({"-clean":t.tabsVariant==="clean","-pipeSeparated":t.tabsVariant==="pipe-separated","-boxed":t.tabsVariant==="boxed","-highlightUnderline":t.tabsActionVariant==="underline","-highlightBackgroun
1dColor":t.tabsActionVariant==="background-color","-highlightColor":t.tabsActionVariant==="color","-fontStyleUppercase":t.fontStyle==="uppercase","-tierOne":t.level===0,"-tierTwo":t.level===1,"-isOpen":s.value,"-active":u.value,"-alignNavigationChildrenRight":m.value})),Q=h(()=>{const d=V(t.highlightColor||"","primary-default");return{"--highlightColor":d.backgroundColor,"--highlightColorOpposite":d.color}}),Y=d=>{d.pointerType!=="mouse"||!y.value||t.level!==0||L(!0)},Z=d=>{d.pointerType!=="mouse"||!y.value||t.level!==0||L(!1)},ee=h(()=>G(t.item)&&t.homeVariant==="home-icon"),U=h(()=>t.item.icon_show&&t.item.icon&&t.item.icon.split("/").length===2),E=(d="")=>{const i=t.item.icon.split("/");if(i.length!==2)return"";switch(d){case"variant":return i[0];case"type":return i[1];default:return""}},te=h(()=>E("type")),ie=h(()=>E("variant"));return(d,i)=>{const f=_("icon"),H=z,ae=_("navigation-menu-item",!0);return n(),v("div",{ref_key:"itemRef",ref:N,class:S(["s-item",o(K)]),style:T(o(Q)),onPointerenter:Y,onPointerleave:Z},[r("div",Ce,[t.item.type==="page"?(n(),v(O,{key:0},[c(H,{to:t.item.url,class:"s-item__link","aria-label":t.item.name,onClick:i[0]||(i[0]=$=>b("linkClicked",e.item))},{default:k(()=>[e.level>=o(C)?(n(),g(f,{key:0,type:"angle-right"})):p("",!0),i[6]||(i[6]=l()),r("div",$e,[o(ee)?(n(),g(f,{key:0,type:"home",variant:"solid"})):(n(),v(O,{key:1},[l(F(t.item.name),1)],64))])]),_:1},8,["to","aria-label"]),i[7]||(i[7]=l()),o(w).length?(n(),v("button",{key:0,class:S(["s-item__childrenToggle",{"-isOpen":o(s)}]),"aria-label":`Untermenü von ${t.item.name} öffnen`,"aria-controls":`navigationItem${t.item.id}__children`,onClick:i[1]||(i[1]=$=>L(!o(s)))},[c(f,{class:"s-item__childrenToggleIcon",type:"angle-down"})],10,Ve)):p("",!0)],64)):t.item.type==="navigation_node"?(n(),v(O,{key:1},[r("div",{class:"s-item__link",onClick:i[2]||(i[2]=$=>L(!o(s)))},[e.level>=o(C)?(n(),g(f,{key:0,type:"angle-right"})):p("",!0),i[8]||(i[8]=l()),r("div",Se,F(t.item.name),1)]),i[9]||(i[9]=l()),o(w).length?(n(),v("button",{key:0,class:S(["s-item__childrenToggle",{"-isOpen":o(s)}]),"aria-label":`Untermenü von ${t.item.name} ${o(s)?"schließen":"öffnen"}`,"aria-controls":`navigationItem${t.item.id}__children`,onClick:i[3]||(i[3]=$=>L(!o(s)))},[c(f,{class:"s-item__childrenToggleIcon",type:"angle-down"})],10,we)):p("",!0)],64)):t.item.type==="external_link"?(n(),v("a",{key:2,href:t.item.url,target:"_blank","aria-label":`Externer Link zu ${t.item.url}`,class:"s-item__link",onClick:i[4]||(i[4]=$=>b("linkClicked",e.item))},[e.level>=o(C)?(n(),g(f,{key:0,type:"angle-right"})):p("",!0),i[10]||(i[10]=l()),t.item.icon_show?p("",!0):(n(),v("div",Le,F(t.item.name),1)),i[11]||(i[11]=l()),t.item.icon_show&&o(U)?(n(),g(f,{key:2,type:o(te),variant:o(ie)},null,8,["type","variant"])):p("",!0),i[12]||(i[12]=l()),!t.item.icon_show||!o(U)?(n(),g(f,{key:3,type:"external-link",class:"t-linkSmall u-ml8 u-colorCurrentColor"})):p("",!0)],8,Ne)):p("",!0)]),i[13]||(i[13]=l()),(n(),g(ge(o(y)&&e.level===0?_e:me),null,{default:k(()=>[o(w).length?he((n(),v("div",{key:0,id:`navigationItem${t.item.id}__children`,ref_key:"childrenContainerRef",ref:M,role:"menu","aria-label":`Untermenü von ${t.item.name}`,"aria-expanded":o(s)?"true":"false",class:"s-item__children"},[(n(!0),v(O,null,J(o(w),$=>(n(),g(ae,{key:$.id,"highlight-color":e.highlightColor,"tabs-variant":e.tabsVariant,"tabs-action-variant":e.tabsActionVariant,"home-variant":e.homeVariant,"font-style":e.fontStyle,item:$,level:e.level+1,"is-parent-active":o(u),onLinkClicked:i[5]||(i[5]=oe=>b("linkClicked",oe))},null,8,["highlight-color","tabs-variant","tabs-action-variant","home-variant","font-style","item","level","is-parent-active"]))),128))],8,Fe)),[[ve,o(s)]]):p("",!0)]),_:1}))],38)}}}),Oe=P(Ie,[["__scopeId","data-v-3aa5c170"]]),Ae={class:"s-navigationMenu"},Be=R({__name:"NavigationMenu",props:{section:{type:Object,required:!0},homeVariant:{type:String,default:"text"}},emits:["linkClicked"],setup(e,{emit:a}){const b=a,t=e,I=j(),A=h(()=>{const s=x(I.pages,0);return t.homeVariant==="hidden"?s.filter(u=>!G(u)):s});return(s,u)=>(n(),v("nav",Ae,[(n(!0),v(O,null,J(o(A),y=>(n(),g(Oe,{key:y.id,item:y,class:"s-navigationMenu__item","home-variant":e.homeVariant,"highlight-color":s.$getFieldValue("navigation_highlight_color",t.section),"tabs-variant":s.$getFieldValue("navigation_tabs_variant",t.section),"tabs-action-variant":s.$getFieldValue("navigation_tabs_action_variant",t.section),"font-style":s.$getFieldValue("navigation_font_style",t.section),onLinkClicked:u[0]||(u[0]=C=>b("linkClicked",C))},null,8,["item","home-variant","highlight-color","tabs-variant","tabs-action-variant","font-style"]))),128))]))}}),Me=P(Be,[["__scopeId","data-v-ae7a5add"]]),De=R({name:"HeaderMultipageV1",components:{CompanyIdentity:be,StickyHeaderContainer:fe,NavigationMenu:Me},props:{section:{type:Object,required:!0}},data(){return{isNavigationOpen:!1}},computed:{...W(X,["stickyHeaderActive","headerHeight","isViewportXLarge"]),...W(ye,["getImage"]),hasContactRow(){return this.$getFieldValue("cta_display_location")==="contact-row"},isDesktopLogoCentered(){return!this.stickyHeaderActive&&this.$isImageVisible("logo")&&this.$getFieldValue("layout_desktop")==="logo-center"},stickyHeaderWithLogo(){return this.$getFieldValue("sticky_header_logo_mobile").length>0},headerClasses(){return{"-sticky":this.stickyHeaderActive,"-hasMobileLogo":this.$isImageVisible("logo")&&this.$getFieldValue("layout_mobile")==="logo-center","-hasDesktopLogo":this.$isImageVisible("logo")&&this.$getFieldValue("layout_desktop")!=="company-name","-isDesktopLogoCentered":this.isDesktopLogoCentered,"-hasBottomBorder":this.$getFieldValue("navigation_bottom_variant")==="border","-hasBottomShadow":this.$getFieldValue("navigation_bottom_variant")==="shadow","-isOpen":this.isNavigationOpen&&!this.isNavigationDesktop}},ctaDisplayLocation(){return this.$getFieldValue("cta_display_location")},headerStyles(){const e=V(this.$getFieldValue("navigation_highlight_color"),"primary-default"),a=V(this.$getFieldValue("bgcolormobile"),"white"),b=V(this.$getFieldValue("bgcolor"),"white"),t=V(this.$getFieldValue("sticky_header_bgcolor"),"white");return{"--highlightColor":e.backgroundColor,"--highlightColorOpposite":e.color,"--headerHeight":`${this.headerHeight}
1px`,"--headerBackgroundColor":a.backgroundColor,"--headerColor":a.color,"--headerBackgroundColorDesktop":b.backgroundColor,"--headerColorDesktop":b.color,"--headerBackgroundColorSticky":t.backgroundColor,"--headerColorSticky":t.color}},backgroundColorField(){return this.stickyHeaderActive?"sticky_header_bgcolor":"bgcolor"},navigationCtaStyles(){const e=this.stickyHeaderActive?"sticky_header_bgcolor":"bgcolor",a=V(this.$getFieldValue(e),"white");return{"--headerBackgroundColor":a.backgroundColor,"--headerColor":a.color}},isNavigationDesktop(){return this.isViewportXLarge}},watch:{isNavigationOpen:{immediate:!0,handler(e){e?document.body.classList.add("-navigationOpen"):document.body.classList.remove("-navigationOpen")}}},methods:{unformatPhoneNumber:ke,getStyleByBackground:V,getMailsAsArray(e){return e.split(",").map(a=>a.trim()).filter(a=>!!a)},isCompanyIdentityVisible(){return this.isNavigationDesktop||this.$getFieldValue("layout_desktop")!=="none"}}}),Re={class:"o-contentContainer s-contactRow"},He={class:"s-contactRow__contact"},Te=["href"],Pe={class:"t-label u-colorCurrentColor o-flex -alignCenter"},Ue={ref:"headerContainerRef",class:"s-header__container"},Ee=["aria-label","aria-expanded"],qe={id:"headerMultipage__navigation",class:"s-header__navigation",role:"navigation","aria-label":"Navigationsmenü"},We={class:"s-header__navigationWrapper"},ze=["href"],je={class:"s-header__navigationCtaButton -mobile t-button c-button -colorSecondary -roundedLayout u-dNone@large"};function Xe(e,a,b,t,I,A){const s=_("wsk-field"),u=_("icon"),y=_("company-identity"),C=z,B=_("wsk-visible"),w=_("navigation-menu"),N=_("sticky-header-container"),M=_("wsk-section");return n(),g(M,{section:e.section,"aria-label":"Seitennavigation","disable-spacing-top":"","disable-spacing-bottom":"","disable-background-color":"","disable-bottom-border":"",class:"s-headerSection"},{default:k(()=>[e.hasContactRow?(n(),g(s,{key:0,field:"contact_row_bgcolor",mode:"backgroundColor","default-background-color":"primary-default"},{default:k(()=>[r("div",Re,[c(s,{field:"cta",class:"t-labelBold"}),a[3]||(a[3]=l()),r("div",He,[c(s,{field:"email",mode:"passthrough"},{default:k(({value:m})=>[r("a",{href:`mailto:${e.getMailsAsArray(m)[0]}`,class:"t-linkSmall u-colorCurrentColor u-textUnderline o-flex -alignCenter"},[c(u,{type:"envelope",variant:"solid",class:"u-mr8"}),l(" "+F(e.getMailsAsArray(m)[0]),1)],8,Te)]),_:1}),a[2]||(a[2]=l()),c(s,{field:"phone",mode:"passthrough"},{default:k(({value:m})=>[r("span",Pe,[c(u,{type:"phone-alt",variant:"solid",class:"u-mr8"}),l(" "+F(m),1)])]),_:1})])])]),_:1})):p("",!0),a[9]||(a[9]=l()),c(N,{"sticky-on-mobile":""},{default:k(()=>[r("div",{class:S(["s-header__wrapper",e.headerClasses]),style:T(e.headerStyles)},[r("div",{ref:"headerRef",class:S(["o-contentContainer",["s-header",{"-hasCenteredNavigation":e.$getFieldValue("layout_desktop")==="none"}]])},[r("div",Ue,[c(B,{condition:()=>e.isCompanyIdentityVisible()},{default:k(()=>[c(C,{to:"/",class:"s-header__companyIdentity","aria-label":"Startseite"},{default:k(()=>[c(y,{"logo-field":e.$getField("logo"),"company-field":e.$getField("company"),"layout-desktop-field":e.$getField("layout_desktop"),"layout-mobile-field":e.$getField("layout_mobile"),"sticky-header-active":e.stickyHeaderActive,"sticky-header-with-logo-mobile":e.stickyHeaderWithLogo},null,8,["logo-field","company-field","layout-desktop-field","layout-mobile-field","sticky-header-active","sticky-header-with-logo-mobile"])]),_:1})]),_:1},8,["condition"]),a[4]||(a[4]=l()),r("button",{class:"s-header__navigationToggle u-colorCurrentColor","aria-label":e.isNavigationOpen?"Navigationsmenü schließen":"Navigationsmenü öffnen","aria-expanded":e.isNavigationOpen,"aria-controls":"headerMultipage__navigation",onClick:a[0]||(a[0]=m=>e.isNavigationOpen=!e.isNavigationOpen)},[e.isNavigationOpen?(n(),g(u,{key:0,type:"times",variant:"solid"})):(n(),g(u,{key:1,type:"bars",variant:"solid"}))],8,Ee)],512),a[8]||(a[8]=l()),r("div",qe,[r("div",We,[c(w,{ref:"headerNavigationRef",class:"s-header__navigationMenu u-mb0@large",section:e.section,"home-variant":e.$getFieldValue("navigation_home_variant"),onLinkClicked:a[1]||(a[1]=m=>e.isNavigationOpen=!1)},null,8,["section","home-variant"]),a[7]||(a[7]=l()),c(B,{condition:()=>e.$hasFieldVisibleContent("phone")},{default:k(()=>[e.ctaDisplayLocation!=="display-none"?(n(),g(s,{key:0,field:"phone",mode:"passthrough",class:S(["u-flexNoShrink u-ml8@large u-mr16@large",{"u-hide@desktopOnly":e.ctaDisplayLocation!=="navigation"}])},{default:k(({value:m})=>[r("a",{href:`tel:${e.unformatPhoneNumber(m)}`,class:"s-header__navigationCta u-mx16 u-mx0@large",style:T(e.navigationCtaStyles)},[r("div",je,[c(u,{type:"phone-alt",variant:"solid",class:"u-mr8"}),a[5]||(a[5]=l(`
2                                                Jetzt anrufen
3                                            `,-1))])],12,ze),a[6]||(a[6]=l()),r("div",{class:S(["s-header__navigationCtaButton t-button c-button -typeOutlined -rou
3ndedLayout u-dNone@largeDown",e.$getFieldValue("navigation_cta_color_desktop")])},[c(u,{type:"phone-alt",variant:"solid",class:"u-mr8"}),l(" "+F(m),1)],2)]),_:1},8,["class"])):p("",!0)]),_:1},8,["condition"])])])],2)],6)]),_:1})]),_:1},8,["section"])}const Ye=P(De,[["render",Xe],["__scopeId","data-v-7e815498"]]);export{Ye as default};

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.