PageSourceSearch

https://bmgev.de/_next/static/chunks/2916-5c6b5984dfd4ec85.js

js bmgev.de collected 2026-10-02 09:58:01 UTC 23,254 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="534db634-a6b4-40b8-87fd-e0963cadbfad",t._sentryDebugIdIdentifier="sentry-dbid-534db634-a6b4-40b8-87fd-e0963cadbfad")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2916],{12507:(t,e,r)=>{r.d(e,{Rg:()=>o,bo:()=>a,vT:()=>i});let o="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-[var(--focus-ring)]",a="focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-0 focus-visible:ring-[var(--focus-ring)]",i="aria-[invalid=true]:focus-visible:ring-destructive"},35157:(t,e,r)=>{r.d(e,{C1:()=>n,Cd:()=>l,JU:()=>o.JU,Lz:()=>d,Po:()=>c,Yr:()=>s,_r:()=>i});var o=r(82783),a=r(50955);let i=t=>{let e=t||o.ji,r=Object.keys(e).map(t=>({label:(0,o.Yb)(t),value:t,color:e[t]}));return r.push({label:"Andere",value:"custom",color:"#FFFFFF"}),r},n=(t,e)=>e[t]||e.default,d=(t,e,r=o.ji,a="default")=>"custom"===t&&e?e:t&&Object.keys(r).includes(t)?r[t]:r[a],c=t=>{if(!(0,a.qt)(t))return null;let e=(0,a.MV)(t),r=(0,a.QO)(t),o=(0,a.g8)(t);return{primary:t,foreground:r,palette:e,hsl:o,css:{primary:`hsl(${o.h} ${o.s}% ${o.l}%)`,foreground:(()=>{let t=(0,a.g8)(r);return`hsl(${t.h} ${t.s}% ${t.l}%)`})(),...Object.fromEntries(Object.entries(e).map(([t,e])=>{let r=(0,a.g8)(e);return[`palette${t}`,`hsl(${r.h} ${r.s}% ${r.l}%)`]}))}}},l=(t,e=o.ji,r="default",a)=>{if(!t?.enabled){if("default"!==r)return e[r];if(a)return n((0,o.JU)(a),e);return e[r]}return"custom"===t.sectionColor&&t.customColor?t.customColor:t.sectionColor&&"custom"!==t.sectionColor&&e[t.sectionColor]||e[r]},s=t=>{let e=c(t);if(!e)return{};let{hsl:r,css:o}=e,a=o.palette500??`hsl(${r.h} ${r.s}% ${r.l}%)`;return{"--theme":o.primary,"--theme-foreground":o.foreground,"--ring":`${r.h} ${r.s}% ${r.l}%`,"--focus-ring":a,...Object.fromEntries(Object.entries(o).filter(([t])=>t.startsWith("palette")).map(([t,e])=>[`--${t}`,e]))}}},50955:(t,e,r)=>{r.d(e,{E2:()=>d,ID:()=>l,MV:()=>i,QO:()=>n,Sf:()=>a,ep:()=>p,g8:()=>o,oe:()=>u,qt:()=>s,xl:()=>b,yC:()=>m});let o=t=>{let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)throw Error("Invalid hex color");let r=parseInt(e[1],16)/255,o=parseInt(e[2],16)/255,a=parseInt(e[3],16)/255,i=Math.max(r,o,a),n=Math.min(r,o,a),d=i-n,c=0,l=0,s=(i+n)/2;if(0!==d){switch(l=s>.5?d/(2-i-n):d/(i+n),i){case r:c=(o-a)/d+6*(o<a);break;case o:c=(a-r)/d+2;break;case a:c=(r-o)/d+4}c/=6}return{h:Math.round(360*c),s:Math.round(100*l),l:Math.round(100*s)}},a=(t,e,r)=>{let o=r/100,a=e/100*(1-Math.abs(2*o-1)),i=a*(1-Math.abs(t/60%2-1)),n=o-a/2,d=0,c=0,l=0;return 0<=t&&t<60?(d=a,c=i,l=0):60<=t&&t<120?(d=i,c=a,l=0):120<=t&&t<180?(d=0,c=a,l=i):180<=t&&t<240?(d=0,c=i,l=a):240<=t&&t<300?(d=i,c=0,l=a):300<=t&&t<360&&(d=a,c=0,l=i),d=Math.round((d+n)*255),c=Math.round((c+n)*255),l=Math.round((l+n)*255),`#${d.toString(16).padStart(2,"0")}${c.toString(16).padStart(2,"0")}${l.toString(16).padStart(2,"0")}`},i=t=>{let e=o(t),r={0:100,50:95,100:90,200:80,300:70,400:60,500:e.l,550:Math.max(e.l-5,25),600:Math.max(e.l-10,30),700:Math.max(e.l-20,20),800:Math.max(e.l-30,15),900:Math.max(e.l-40,10)},i={};return Object.entries(r).forEach(([t,r])=>{let o=r>50?Math.max(e.s-10,10):Math.min(e.s+10,100);i[Number(t)]=a(e.h,o,r)}),i},n=t=>{let e=o(t);return e.l>70?a(e.h,Math.min(e.s+20,100),10):a(e.h,Math.min(e.s+20,100),95)},d=t=>{let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)throw Error("Invalid hex color");return{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}},c=t=>{let{r:e,g:r,b:o}=d(t),a=e/255,i=r/255,n=o/255;return .2126*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},l=(t,e)=>{let r=c(t),o=c(e);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)},s=t=>/^#([0-9A-F]{3}){1,2}$/i.test(t),u=(t,e,r=4.5)=>{if(l(t,e)>=r)return e;let i=o(t),n=o(e),d=n.l,c=i.l>50?-5:5;for(;d>0&&d<100;){d+=c;let e=a(n.h,n.s,d);if(l(t,e)>=r)return e}return i.l>50?"#000000":"#FFFFFF"},b=t=>t>=7?"AAA":t>=4.5?"AA":t>=3?"AA-Large":"Fail",v={beratung:"#4EA400",mietrecht:"#5C70D1",mieterecho:"#FF0029",politik:"#EA580C",verein:"#16A34A",artikel:"#7C3AED",default:"#ca1280"},h=t=>"custom"===t.sectionColor&&t.customColor?t.customColor:"custom"===t.sectionColor?v.default:v[t.sectionColor]||v.default,p=t=>{if(t?.color){if("string"==typeof t.color)return t.color;if("object"==typeof t.color)return h(t.color)}return v.default},m=t=>{if(t?.color){if("string"==typeof t.color)return t.color;if("object"==typeof t.color)return h(t.color)}return v.default}},82532:(t,e,r)=>{r.d(e,{CU:()=>s,EM:()=>i,Hu:()=>b,PM:()=>n});var o=r(12507);let a={md:"rounded-md",lg:"rounded-lg",full:"rounded-full"},i={card:a.lg,button:a.md,input:a.md,avatar:a.full,container:a.lg,modal:a.lg,badge:a.full,dropdown:a.md},n={default:"border-border",muted:"border-muted",primary:"border-primary",destructive:"border-destructive",success:"border-green-500",warning:"border-yellow-500",info:"border-blue-500"},d={card:"bg-card"},c={default:"border-card-border"},l={thin:"border"},s={none:"",resting:"shadow-sm",hover:"shadow-md",active:"shadow-lg",modal:"shadow-xl",dropdown:"shadow-lg"},u={focus:o.Rg,hover:"hover:shadow-md transition-all duration-200",active:"active:shadow-lg",disabled:"opacity-50 cursor-not-allowed"};function b(t){let{interactive:e=!0,elevated:r=!1,variant:o="default"}=t||{},a=[i.card];switch(o){case"bordered":a.push(l.thin,c.default);break;case"ghost":a.push("bg-transparent");break;default:a.push(l.thin,c.default,d.card)}return r?a.push(s.hover):a.push(s.resting),e&&a.push(u.hover),a.join(" ")}i.card,l.thin,n.default,s.resting,u.hover,i.button,l.thin,n.default,u.focus,i.button,u.focus,i.button,u.focus,i.button,u.focus,i.input,l.thin,n.default,u.focus,i.modal,s.modal,i.dropdown,l.thin,n.default,s.dropdown},82783:(t,e,r)=>{r.d(e,{JU:()=>a,Yb:()=>i,ji:()=>o});let o={beratung:"#4EA400",mietrecht:"#5C70D1",mieterecho:"#FF0029",politik:"#EA580C",verein:"#16A34A",artikel:"#7C3AED",default:"#ca1280"},a=t=>({beratung:"beratung",mietrecht:"mietrecht",mieterecho:"mieterecho",politik:"politik",verein:"verein",artikel:"artikel",posts:"artikel",blog:"artikel"})[t.replace(/^\/+|\/+$/g,"").split("/")[0]||""]||"default",i=t=>({beratung:"Beratung",mietrecht:"Mietrecht",mieterecho:"MieterEcho",politik:"Politik",verein:"Verein",artikel:"Artikel",default:"Standard"})[t]},82916:(t,e,r)=>{r.r(e),r.d(e,{Button:()=>w,buttonVariants:()=>x});var o=r(59173),a=r(24609),i=r(7002),n=r(82532),d=r(12507),c=r(35157),l=r(85645),s=r(50955);let u=(0,l.cn)("inline-flex items-center justify-center rounded-none whitespace-nowrap",n.EM.button,"text-base font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 group",d.Rg),b={xs:"h-8 px-3 text-sm",sm:"h-9 px-3 text-sm",md:"h-9 px-4 py-2",lg:"h-9 px-8",icon:"h-9 w-10 [&>svg]:h-4 [&>svg]:w-4"},v={"theme-solid":"bg-[var(--button-theme)] text-[var(--button-theme-foreground)] font-medium transition-colors duration-300 hover:bg-[var(--button-theme-hover)] active:bg-[var(--button-theme-active)]","theme-outline":`border ${n.PM.default} bg-transparent transition-colors`,"theme-ghost":"bg-transparent transition-colors","theme-link":"items-start justify-start underline-offset-4 hover:underline transition-colors","theme-plain":"bg-transparent","theme-cta":"bg-[var(--button-theme)] text-white font-bold font-sans transition-shadow hover:shadow-md justify-start text-left !h-auto !px-3 !py-1 sm:!px-[15px] sm:!py-[5px] rounded-none","primary-solid":"bg-primary text-primary-foreground hover:bg-primary/90","primary-outline":"border border-primary text-primary hover:bg-primary/10 hover:text-primary focus-visible:border-[var(--focus-ring)]","primary-ghost":"text-primary hover:bg-primary/10","primary-link":"text-primary underline-offset-4 hover:underline","primary-plain":"text-primary","neutral-solid":"bg-secondary text-secondary-foreground hover:bg-secondary/80","neutral-
1outline":`border ${n.PM.default} hover:bg-card hover:text-accent-foreground focus-visible:border-[var(--focus-ring)]`,"neutral-ghost":"hover:bg-card hover:text-accent-foreground","neutral-link":"text-primary underline-offset-4 hover:underline","neutral-plain":"","danger-solid":"bg-destructive text-destructive-foreground hover:bg-destructive/90","danger-outline":"border border-destructive text-destructive hover:bg-destructive/10 focus-visible:border-destructive","danger-ghost":"text-destructive hover:bg-destructive/10","danger-link":"text-destructive underline-offset-4 hover:underline","danger-plain":"text-destructive",unstyled:""},h="active:shadow-[inset_0_0_0_1px_var(--button-border-color),inset_0_2px_4px_rgba(0,0,0,0.06)]",p={solid:{default:"bg-[var(--button-theme)] text-[var(--button-theme-foreground)] font-medium transition-colors duration-300 hover:bg-[var(--button-theme-hover)] active:bg-[var(--button-theme-active)] active:shadow-inner",muted:"bg-[var(--button-theme-muted)] text-[var(--button-theme-foreground)] font-medium transition-colors duration-300 hover:bg-[var(--button-theme-muted-hover)] active:bg-[var(--button-theme-muted-active)] active:shadow-inner"},tint:{default:`[--button-border-color:var(--palette300)] bg-[var(--palette50)] text-[var(--button-theme)] border border-[var(--button-border-color)] transition-colors hover:bg-[var(--palette100)] active:bg-[var(--palette200)] active:[--button-border-color:var(--palette400)] active:border-[var(--palette400)] ${h}`,muted:`[--button-border-color:var(--palette200)] bg-[var(--palette50)] text-[var(--button-theme)] border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-[var(--palette100)] active:[--button-border-color:var(--palette300)] active:border-[var(--palette300)] ${h}`},clear:{default:"bg-transparent text-[var(--button-theme)] transition-colors hover:text-[var(--palette700)] hover:bg-[var(--palette50)] active:text-[var(--palette800)] active:bg-[var(--palette100)] active:shadow-inner",muted:"bg-transparent text-[var(--button-theme)] opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-[var(--palette50)] active:shadow-inner"},outline:{default:`[--button-border-color:var(--palette300)] bg-transparent text-[var(--button-theme)] border border-[var(--button-border-color)] transition-colors hover:bg-[var(--palette50)] active:bg-[var(--palette100)] active:[--button-border-color:var(--palette400)] active:border-[var(--palette400)] ${h}`,muted:`[--button-border-color:var(--palette300)] bg-transparent text-[var(--button-theme)] border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:bg-[var(--palette50)] active:opacity-100 active:bg-[var(--palette100)] active:[--button-border-color:var(--palette400)] active:border-[var(--palette400)] ${h}`},underline:{default:"bg-transparent text-[var(--button-theme)] underline-offset-4 transition-colors hover:underline active:underline active:text-[var(--palette700)]",muted:"bg-transparent text-[var(--button-theme)] underline-offset-4 opacity-80 transition-opacity duration-150 hover:underline active:underline active:opacity-100 active:text-[var(--palette600)]"}},m={theme:p,primary:{solid:{default:"bg-primary text-primary-foreground transition-colors hover:bg-primary/90 active:bg-primary/80 active:shadow-inner",muted:"bg-primary text-primary-foreground opacity-90 transition-colors hover:opacity-95 active:bg-primary/85 active:opacity-95 active:shadow-inner"},tint:{default:`[--button-border-color:hsl(var(--primary)_/_0.5)] bg-primary/10 text-primary border border-[var(--button-border-color)] transition-colors hover:bg-primary/15 active:bg-primary/20 active:[--button-border-color:hsl(var(--primary)_/_0.6)] active:border-primary/60 ${h}`,muted:`[--button-border-color:hsl(var(--primary)_/_0.4)] bg-primary/10 text-primary border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-primary/15 active:[--button-border-color:hsl(var(--primary)_/_0.5)] active:border-primary/50 ${h}`},clear:{default:"bg-transparent text-primary transition-colors hover:bg-primary/10 active:bg-primary/15 active:text-primary/90 active:shadow-inner",muted:"bg-transparent text-primary opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-primary/10 active:shadow-inner"},outline:{default:`[--button-border-color:hsl(var(--primary)_/_0.5)] bg-transparent text-primary border border-[var(--button-border-color)] transition-colors hover:bg-primary/10 active:bg-primary/15 active:[--button-border-color:hsl(var(--primary))] active:border-primary ${h}`,muted:`[--button-border-color:hsl(var(--primary)_/_0.5)] bg-transparent text-primary border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:bg-primary/10 active:opacity-100 active:bg-primary/15 active:[--button-border-color:hsl(var(--primary)_/_0.8)] active:border-primary/80 ${h}`},underline:{default:"bg-transparent text-primary underline-offset-4 transition-colors hover:underline active:underline active:text-primary/90",muted:"bg-transparent text-primary underline-offset-4 opacity-80 transition-opacity duration-150 hover:underline active:underline active:opacity-100 active:text-primary/80"}},neutral:{solid:{default:"bg-secondary text-secondary-foreground transition-colors hover:bg-secondary/80 active:bg-secondary/70 active:shadow-inner",muted:"bg-secondary text-secondary-foreground opacity-90 transition-colors hover:bg-secondary/75 active:bg-secondary/60 active:opacity-95 active:shadow-inner"},tint:{default:`[--button-border-color:hsl(var(--border))] bg-secondary/20 text-secondary-foreground border border-[var(--button-border-color)] transition-colors hover:bg-secondary/30 active:bg-secondary/40 active:[--button-border-color:hsl(var(--border)_/_0.8)] active:border-border/80 ${h}`,muted:`[--button-border-color:hsl(var(--border))] bg-secondary/20 text-secondary-foreground border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-secondary/40 active:[--button-border-color:hsl(var(--border)_/_0.8)] active:border-border/80 ${h}`},clear:{default:"bg-transparent text-secondary-foreground transition-colors hover:bg-secondary/20 active:bg-secondary/30 active:text-secondary-foreground
1/90 active:shadow-inner",muted:"bg-transparent text-secondary-foreground opacity-75 transition-opacity duration-150 hover:opacity-90 active:opacity-100 active:bg-secondary/20 active:shadow-inner"},outline:{default:`[--button-border-color:hsl(var(--border))] bg-transparent text-secondary-foreground border border-[var(--button-border-color)] transition-colors hover:bg-secondary/10 active:bg-secondary/20 active:[--button-border-color:hsl(var(--primary))] active:border-primary ${h}`,muted:`[--button-border-color:hsl(var(--border))] bg-transparent text-secondary-foreground border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:bg-secondary/10 active:opacity-100 active:bg-secondary/20 active:[--button-border-color:hsl(var(--primary))] active:border-primary ${h}`},underline:{default:"bg-transparent text-secondary-foreground underline-offset-4 transition-colors hover:underline hover:text-foreground active:underline active:text-secondary-foreground",muted:"bg-transparent text-secondary-foreground underline-offset-4 opacity-75 transition-opacity duration-150 hover:underline active:underline active:opacity-100 active:text-secondary-foreground/90"}},danger:{solid:{default:"bg-destructive text-destructive-foreground transition-colors hover:bg-destructive/90 active:bg-destructive/80 active:shadow-inner",muted:"bg-destructive text-destructive-foreground opacity-90 transition-colors hover:bg-destructive/85 active:bg-destructive/80 active:opacity-95 active:shadow-inner"},tint:{default:`[--button-border-color:hsl(var(--destructive)_/_0.5)] bg-destructive/10 text-destructive border border-[var(--button-border-color)] transition-colors hover:bg-destructive/15 active:bg-destructive/20 active:[--button-border-color:hsl(var(--destructive)_/_0.6)] active:border-destructive/60 ${h}`,muted:`[--button-border-color:hsl(var(--destructive)_/_0.4)] bg-destructive/10 text-destructive border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-destructive/15 active:[--button-border-color:hsl(var(--destructive)_/_0.5)] active:border-destructive/50 ${h}`},clear:{default:"bg-transparent text-destructive transition-colors hover:bg-destructive/10 active:bg-destructive/15 active:text-destructive/90 active:shadow-inner",muted:"bg-transparent text-destructive opacity-80 transition-opacity duration-150 hover:opacity-95 active:opacity-100 active:bg-destructive/10 active:shadow-inner"},outline:{default:`[--button-border-color:hsl(var(--destructive)_/_0.5)] bg-transparent text-destructive border border-[var(--button-border-color)] transition-colors hover:bg-destructive/10 active:bg-destructive/15 active:[--button-border-color:hsl(var(--destructive))] active:border-destructive ${h}`,muted:`[--button-border-color:hsl(var(--destructive)_/_0.5)] bg-transparent text-destructive border border-[var(--button-border-color)] opacity-80 transition-opacity duration-150 hover:bg-destructive/10 active:opacity-100 active:bg-destructive/15 active:[--button-border-color:hsl(var(--destructive)_/_0.7)] active:border-destructive/70 ${h}`},underline:{default:"bg-transparent text-destructive underline-offset-4 transition-colors hover:underline active:underline active:text-destructive/90",muted:"bg-transparent text-destructive underline-offset-4 opacity-80 transition-opacity duration-150 hover:underline active:underline active:opacity-100 active:text-destructive/80"}}},g={default:"md",sm:"sm",lg:"lg",icon:"icon",clear:"md"},f=t=>"string"==typeof t&&b[t]?t:t&&g[t]?g[t]:"md",y=({intent:t,variantKey:e,unstyled:r})=>{if(r)return"unstyled";if(e)return e;let o=`${t??"theme"}-solid`;return o in v?o:"theme-solid"},x=({accent:t,className:e,fullWidth:r,intent:o,size:a,surface:i,unstyled:n,variantKey:d}={})=>{let c=f(a);if(!n&&(void 0!==i||void 0!==t)){let a=m[o??"theme"],n=a?.[i??"solid"],d=n?.[t??"default"]??n?.default??p.solid.default;return(0,l.cn)(u,b[c],d,r?"w-full":"",e)}let s=y({intent:o,variantKey:d,unstyled:n});return(0,l.cn)(u,b[c],v[s],r?"w-full":"",e)},w=i.forwardRef(({accent:t,asChild:e=!1,className:r,colorToken:n,contentTone:d,fullWidth:u,iconAlignment:b="compact",iconGap:v="gap-2",iconOnlyLabel:h,intent:p,loading:m=!1,loadingText:g="L\xe4dt...",leadingIcon:w,size:_,surface:$,variantKey:j,style:k,type:M,unstyled:C,withCaret:A=!1,caretDirection:F="forward",caretContent:E,children:N,disabled:I,trailingIcon:O,"aria-label":D,...V},S)=>{let P=e?a.DX:"button",B=p??"theme",U=f(_),J=!!w,Q=!!O,R=x({accent:t,className:r,fullWidth:u,intent:p,size:_,surface:$,variantKey:j,unstyled:C}),z=!C&&(void 0!==$||void 0!==t),L=z?void 0:y({intent:p,variantKey:j,unstyled:C}),T=k?{...k}:void 0,W=k?.["--button-theme"],Y=n??W??k?.["--theme"]??"var(--theme)",q=n?(0,s.QO)(n):"#FFFFFF";if("theme"!==B||C)(n??W)&&(T={...T??{},"--button-theme":Y,"--button-theme-foreground":q,"--button-theme-hover":"color-mix(in srgb, var(--button-theme) 90%, white)","--button-theme-active":"color-mix(in srgb, var(--button-theme) 80%, white)","--button-theme-muted":"color-mix(in srgb, var(--button-theme) 75%, white)","--button-theme-muted-hover":"color-mix(in srgb, var(--button-theme) 65%, white)","--button-theme-muted-active":"color-mix(in srgb, var(--button-theme) 55%, white)"});else{let t=n?(0,c.Po)(n):null,e=t?.css?Object.fromEntries(Object.entries(t.css).filter(([t])=>t.startsWith("palette")).map(([t,e])=>[`--${t}`,e])):void 0;if(T={...T??{},...e??{},"--button-theme":Y,"--button-theme-foreground":q,"--button-theme-hover":"color-mix(in srgb, var(--button-theme) 90%, white)","--button-theme-active":"color-mix(in srgb, var(--button-theme) 80%, white)","--button-theme-muted":"color-mix(in srgb, var(--button-theme) 75%, white)","--button-theme-muted-hover":"color-mix(in srgb, var(--button-theme) 65%, white)","--button-theme-muted-active":"color-mix(in srgb, var(--button-theme) 55%, white)"},!z&&L){let t={};"theme-outline"===L?(t.color="var(--button-theme)",t.borderColor="var(--button-theme)"):"theme-ghost"===L?t.color="var(--button-theme)":("theme-link"===L||"theme-plain"===L)&&(t.color="var(--button-theme)"),Object.keys(t).length>0&&(T={...T,...t})}}d&&(T={...T??{},color:"light"===d?"white":"hsl(var(--foreground))"});let H=t=>"string"==typeof t?t.trim().length>0:"number"==typeof t||(Array.isArray(t)?t.some(t=>H(t)):!!i.isValidElement(t)&&!t.props["aria-hidden"]&&H(t.props.children)),X=e&&i.isValidElement(N)?N.props.children:N,G=i.Children.toArray(X).filter(t=>null!=t&&"boolean"!=typeof t),K=H(X),Z=G.length>0&&G.every(t=>
1i.isValidElement(t)),tt=!K&&("icon"===U||!!h)&&(J||Q||0===G.length||Z),te=!!(I||m),tr=e?{}:{disabled:te},to=A&&!C&&"icon"!==U&&!J;A&&J&&(to=!1);let ta=E??("back"===F?"<<":">>"),ti="back"===F?"group-hover:-translate-x-1":"group-hover:translate-x-1",tn=t=>{let e=(t=>{if(!J&&!Q)return t;let e=[];return(J&&e.push((0,o.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center",children:w},"leading-icon")),null!=t&&""!==t&&"boolean"!=typeof t&&e.push((0,o.jsx)("span",{children:t},"content")),Q&&e.push((0,o.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center",children:O},"trailing-icon")),0===e.length)?null:(0,o.jsx)("span",{className:(0,l.cn)("inline-flex items-center",v,"spread"===b&&"w-full justify-between"),children:e})})(t);return!m&&to?(t=>null==t||Array.isArray(t)&&0===t.length?t:(0,o.jsxs)("span",{className:(0,l.cn)("inline-flex items-center gap-2 transition-transform duration-300",`${ti}`),children:[(0,o.jsx)("span",{"aria-hidden":"true",className:"flex items-center",children:ta}),(0,o.jsx)("span",{children:t})]}))(e):e},td=N;return td=e&&i.isValidElement(N)?i.cloneElement(N,{children:tn(N.props.children)}):tn(N),(0,o.jsx)(P,{className:R,ref:S,style:T,type:e?void 0:M??(e?void 0:"button"),"aria-busy":m,"aria-disabled":te,"aria-label":D??(tt?h??"Button":void 0),...tr,...V,children:m?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:"sr-only",children:g}),(0,o.jsxs)("span",{"aria-hidden":"true",className:"flex items-center gap-2",children:[(0,o.jsxs)("svg",{className:"h-4 w-4 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,o.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,o.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),g]})]}):td})});w.displayName="Button"},85645:(t,e,r)=>{r.d(e,{cn:()=>i});var o=r(46065),a=r(33828);function i(...t){return(0,a.QP)((0,o.$)(t))}}}]);

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.