PageSourceSearch

https://www.brueggemann-immobilien.com/assets/spoiler-BmI2no0G.js

js brueggemann-immobilien.com collected 2026-10-07 05:22:49 UTC 2,979 bytes, 1 lines download raw bytes

1import{r as x,j as l}from"./index-BIfNIV7b.js";import{f as E,a as P,c as B,B as M,t as N,d as O,u as q,T as D}from"./index-DggbyS6I.js";import{u as U,b as G,A as J}from"./campaign-attribution-Zmb6A6Hz.js";const K={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Q(o){const e=x.useRef(0),[r,n]=x.useState(K),s=x.useRef(null);return[x.useCallback(i=>{s.current&&(s.current.disconnect(),s.current=null),e.current&&cancelAnimationFrame(e.current),i&&(s.current=new ResizeObserver(d=>{const t=d[0];t&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame(()=>{const a=t.borderBoxSize?.[0]||t.contentBoxSize?.[0];if(a){const u=a.inlineSize,c=a.blockSize;n({width:u,height:c,x:t.contentRect.x,y:t.contentRect.y,top:t.contentRect.top,left:t.contentRect.left,bottom:t.contentRect.bottom,right:t.contentRect.right})}else n(t.contentRect)}))}),s.current.observe(i,o))},[o]),r]}function W(o){const[e,{width:r,height:n}]=Q(o);return{ref:e,width:r,height:n}}var H={root:"m_559cce2d",content:"m_b912df4e",control:"m_b9131032"};const X={maxHeight:100,defaultExpanded:!1},$=O((o,{transitionDuration:e})=>({root:{"--spoiler-transition-duration":e!==void 0?`${e}ms`:void 0}})),S=E(o=>{const e=P("Spoiler",X,o),{classNames:r,className:n,style:s,styles:i,unstyled:d,vars:t,defaultExpanded:a,maxHeight:u,hideLabel:c,showLabel:y,children:g,controlRef:v,transitionDuration:R,id:m,expanded:w,onExpandedChange:f,showAriaLabel:b,hideAriaLabel:h,attributes:k,...F}=e,_=B({name:"Spoiler",classes:H,props:e,className:n,style:s,classNames:r,styles:i,unstyled:d,attributes:k,vars:t,varsResolver:$}),C=U(m),j=`${C}-region`,[p,I]=G({value:w,defaultValue:a,finalValue:!1,onChange:f}),{ref:T,height:L}=W(),z=p?c:y,A=z!==null&&u<L,V=p?h:b;return l.jsxs(M,{..._("root"),id:C,"data-has-spoiler":A||void 0,...F,children:[A&&l.jsx(J,{component:"button",type:"button",ref:v,onClick:()=>I(!p),"aria-expanded":p,"aria-controls":j,"aria-label":V,..._("control"),children:z}),l.jsx("div",{..._("content",{style:{maxHeight:p?L?N(L):void 0:N(u)}}),"data-reduce-motion":!0,role:"region",id:j,children:l.jsx("div",{ref:T,children:g})})]})});S.classes=H;S.varsResolver=$;S.displayName="@mantine/core/Spoiler";const Y="_root_9s8e1_1",Z="_content_9s8e1_4",ee={root:Y,content:Z},te={maxHeight:100,textProps:{}},re=E(o=>{const e=P("CoreSpoiler",te,o),{ref:r,className:n,style:s,classNames:i,styles:d,unstyled:t,vars:a,mod:u,children:c,textProps:y,showLabel:g,hideLabel:v,"aria-label":R,attributes:m,...w}=e,f=B({name:"CoreSpoiler",props:e,classes:ee,className:n,style:s,classNames:i,styles:d,unstyled:t,vars:a}),{t:b}=q("core"),h={...m?.content};return R?h["aria-label"]=R:h.role="none",l.jsx(S,{ref:r,showLabel:g??b("spoiler.showMore"),hideLabel:v??b("spoiler.showLess"),classNames:{root:f("root").className,content:f("content").className},attributes:{...m,content:h},...w,children:typeof c=="string"?l.jsx(D,{style:{whiteSpace:"pre-line",hyphens:"auto"},...y,children:c.trim()}):c})});export{re as C,S};

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.