1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,515288,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(975157);let a=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("rounded-2xl border border-border bg-card text-foreground shadow-sm transition-all duration-300 hover:shadow-md",e),...r}));a.displayName="Card";let n=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("flex flex-col space-y-2 p-8",e),...r}));n.displayName="CardHeader";let s=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("h3",{ref:a,className:(0,i.cn)("text-xl font-semibold leading-tight tracking-tight",e),...r}));s.displayName="CardTitle",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("p",{ref:a,className:(0,i.cn)("text-muted-foreground leading-relaxed",e),...r})).displayName="CardDescription";let l=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("p-8 pt-0",e),...r}));l.displayName="CardContent",e.s(["Card",0,a,"CardContent",0,l,"CardHeader",0,n,"CardTitle",0,s])},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),i=e.i(975157);let a=(0,r.cva)("inline-flex items-center rounded-full border px-3 py-1 text-xs font-medium transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-secondary",secondary:"border-transparent bg-secondary text-white",outline:"border-primary text-primary",muted:"border-transparent bg-muted text-muted-foreground"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r,...n}){return(0,t.jsx)("div",{className:(0,i.cn)(a({variant:r}),e),...n})}])},635970,(e,t,r)=>{t.exports={name:"DIE LIBERTÃREN",tagline:"FREIHEITLICH â AUS PRINZIP",description:"DIE LIBERTÃREN â Deutschlands konsequente libertäre Partei für Freiheit, Eigentum, Minimalstaat und freien Markt. Freiheitlich aus Prinzip.",url:"https://www.die-libertaeren.de",email:"[email protected]",phone:"+49 159 06320502",address:"Postfach 75 02 07, 81332 München",social:{telegram:"https://t.me/DIE_LIBERTAEREN_INFO",twitter:"https://twitter.com/Die_Libertaeren",x_hummel:"https://twitter.com/hummel_mathias",facebook:"https://www.facebook.com/ParteiDieLibertaeren",instagram:"https://www.instagram.com/die_libertaeren/",youtube:"https://www.youtube.com/channel/UCQKceupSNziCYDB5hqN4vHQ",tiktok:"https://www.tiktok.com/@die_libertaeren"},newsletter:"https://seu2.cleverreach.com/f/403678-396692/",shop:"https://ankap.store/die-libertaeren/",stammtische:"https://freiheitliche-stammtische.de/index.html"}},980458,e=>{"use strict";var t=e.i(843476),r=e.i(657688);let i=new Set(["event-default.jpg","stammtisch-ansbach.jpeg","stammtisch-balingen.jpg","stammtisch-bernburg.jpg","stammtisch-frankfurt.jpg","stammtisch-goeppingen.jpg","stammtisch-grevenbroich.jpg","stammtisch-halle.jpg","stammtisch-hamburg.jpg","stammtisch-landsberg.jpg","stammtisch-magdeburg.jpg","treffen-dortmund.jpg"]),a="/images/events";function n(e){let t=e.split("/").filter(Boolean).pop()??e;if(i.has(t))return`${a}/${t}`}e.i(247167);var s=e.i(635970);function l(){return("https://www.die-libertaeren.de".trim()||s.default.url).replace(/\/$/,"")}let o="/api/media/file/";function d(e){return/\.blob\.vercel-storage\.com/i.test(e)}function c(e){return e.startsWith("/images/")}function u(e){return e.includes(o)}function f(e){return/^https?:\/\//i.test(e)}function m(e){let t=e.split("?")[0]??e,r=t.indexOf(o);return -1===r?null:t.slice(r)}function p(e){if(!e)return;let t=e.split("?")[0]??e;if(c(t))return t.split("/").pop();let r=m(t);if(r)return r.slice(o.length).split("/").filter(Boolean).map(e=>{try{return decodeURIComponent(e)}catch{return e}}).join("/");if(d(t)||f(t))try{return new URL(t).pathname.split("/").pop()||void 0}catch{return t.split("/").pop()}return t.startsWith("/")?t.split("/").pop():t}function h(e,t){if(!t){if(f(e))try{let t=new URL(e);return`${t.pathname}${t.search}`}catch{}return e}if(f(e)||d(e)){try{let t=new URL(e.split("?")[0]??e),r=l();if(!d(e)&&(t.pathname.startsWith("/images/")||t.pathname.includes(o)))return`${r}${t.pathname}${t.search}`}catch{}return e.split("?")[0]??e}return e.startsWith("/")?`${l()}${e}`:e}function x(e,t={}){let r=t.absolute??!1,i=e.url?.trim()||void 0,s=e.filename?.trim()||p(i);if(i&&d(i)||i&&c(i))return h(i.split("?")[0]??i,r);let l=function(e,t){if(e&&!(t&&d(t)))return n(e)}(s,i);if(l)return h(l,r);if(i){let e=m(i);if(e)return h(e,r);if(f(i))try{let e=new URL(i),t=m(e.pathname);if(t)return h(t,r);if(d(e.href))return h(e.href,r);if(e.pathname.startsWith(a))return h(e.pathname,r)}catch{}if(i.startsWith("/"))return h(i.split("?")[0]??i,r)}if(s){var u;let e=n(s);return e&&!(i&&d(i))?h(e,r):h((u=s,`${o}
1${u.split("/").filter(Boolean).map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")}`),r)}}e.s(["CmsImage",0,function({src:e,variant:i="default",unoptimized:a,priority:n,alt:s,...l}){let o=function(e,t={}){if(!e)return e;let r=p(e);if(r){let e=x({filename:r},{absolute:!1});if(e)return e}return function(e,t={}){let r=x({url:e},{absolute:d(e)});return r?function(e,t={}){let r=t.width??800,i=t.format??"webp";if(d(e)||c(e)||!u(e))return e;let a=x({url:e.split("?")[0]??e},{absolute:t.absolute});if(!a||!u(a))return e;let n=new URLSearchParams;return n.set("width",String(r)),"auto"!==i&&n.set("format",i),`${a}?${n.toString()}`}(r,{...t,absolute:!1}):e}(e,t)}(e),f="event"===i,m=a??(f||!!o&&!!(d(o)||c(o)||u(o))),h=n??f;return(0,t.jsx)(r.default,{src:o,alt:s,unoptimized:m,priority:h,...l})}],980458)},566595,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],566595)},677572,273443,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(981140),a=e.i(30030),n=e.i(820783),s=e.i(991918);function l(e){let i=e+"CollectionProvider",[l,o]=(0,a.createContextScope)(i),[d,c]=l(i,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:i,children:a}=e,n=r.useRef(null),s=r.useRef(new Map).current;return(0,t.jsx)(d,{scope:i,itemMap:s,collectionRef:n,children:a})};u.displayName=i;let f=e+"CollectionSlot",m=(0,s.createSlot)(f),p=r.forwardRef((e,r)=>{let{scope:i,children:a}=e,s=c(f,i),l=(0,n.useComposedRefs)(r,s.collectionRef);return(0,t.jsx)(m,{ref:l,children:a})});p.displayName=f;let h=e+"CollectionItemSlot",x="data-radix-collection-item",b=(0,s.createSlot)(h),g=r.forwardRef((e,i)=>{let{scope:a,children:s,...l}=e,o=r.useRef(null),d=(0,n.useComposedRefs)(i,o),u=c(h,a);return r.useEffect(()=>(u.itemMap.set(o,{ref:o,...l}),()=>void u.itemMap.delete(o))),(0,t.jsx)(b,{...{[x]:""},ref:d,children:s})});return g.displayName=h,[{Provider:u,Slot:p,ItemSlot:g},function(t){let i=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(i.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[i.collectionRef,i.itemMap])},o]}var o=new WeakMap;function d(e,t){var r,i;let a,n,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,i=t,a=r.length,(s=(n=c(i))>=0?n:a+n)<0||s>=a?-1:s);return -1===l?void 0:e[l]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],o.set(this,!0)}set(e,t){return o.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let i,a=this.has(t),n=this.#e.length,s=c(e),l=s>=0?s:n+s,o=l<0||l>=n?-1:l;if(o===this.size||a&&o===this.size-1||-1===o)return this.set(t,r),this;let d=this.size+ +!a;s<0&&l++;let u=[...this.#e],f=!1;for(let e=l;e<d;e++)if(l===e){let n=u[e];u[e]===t&&(n=u[e+1]),a&&this.delete(t),i=this.get(n),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],a=i;i=this.get(r),this.delete(r),this.set(r,a)}return this}with(t,r,i){let a=new e(this);return a.insert(t,r,i),a}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],a=0;for(let e of this)Reflect.apply(t,r,[e,a,this])&&i.push(e),a++;return new e(i)}map(t,r){let i=[],a=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,a,this])]),a++;return new e(i)}reduce(...e){let[t,r]=e,i=0,a=r??this.at(0);for(let r of this)a=0===i&&1===e.length?r:Reflect.apply(t,this,[a,r,i,this]),i++;return a}reduceRight(...e){let[t,r]=e,i=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let a=this.at(r);i=r===this.size-1&&1===e.length?a:Reflect.apply(t,this,[i,a,r,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let i=new e,a=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(a=r-1);for(let e=t;e<=a;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}});var u=e.i(610772),f=e.i(248425),m=e.i(30207),p=e.i(369340),h=r.createContext(void 0);function x(e){let t=r.useContext(h);return e||t||"ltr"}var b="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[y,w,j]=l(v),[C,N]=(0,a.createContextScope)(v,[j]),[R,k]=C(v),A=r.forwardRef((e,r)=>(0,t.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(I,{...e,ref:r})})}));A.displayName=v;var I=r.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:s,orientation:l,loop:o=!1,dir:d,currentTabStopId:c,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:h,onEntryFocus:y,preventScrollOnEntryFocus:j=!1,...C}=e,N=r.useRef(null),k=(0,n.useComposedRefs)(a,N),A=x(d),[I,T]=(0,p.useControllableState)({prop:c,defaultProp:u??null,onChange:h,caller:v}),[E,S]=r.useState(!1),P=(0,m.useCallbackRef)(y),F=w(s),L=r.useRef(!1),[M,H]=r.useState(0);return r.useEffect(()=>{let e=N.current;if(e)return e.addEventListener(b,P),()=>e.removeEventListener(b,P)},[P]),(0,t.jsx)(R,{scope:s,orientation:l,dir:A,loop:o,currentTabStopId:I,onItemFocus:r.useCallback(e=>T(e),[T]),onItemShiftTab:r.useCallback(()=>S(!0),[]),onFocusableItemAdd:r.useCallback(()=>H(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>H(e=>e-1),[]),children:(0,t.jsx)(f.Primitive.div,{tabIndex:E||0===M?-1:0,"data-orientation":l,...C,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,i.composeEventHandlers)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(b,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>
1e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),j)}}L.current=!1}),onBlur:(0,i.composeEventHandlers)(e.onBlur,()=>S(!1))})})}),T="RovingFocusGroupItem",E=r.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:n,focusable:s=!0,active:l=!1,tabStopId:o,children:d,...c}=e,m=(0,u.useId)(),p=o||m,h=k(T,n),x=h.currentTabStopId===p,b=w(n),{onFocusableItemAdd:g,onFocusableItemRemove:v,currentTabStopId:j}=h;return r.useEffect(()=>{if(s)return g(),()=>v()},[s,g,v]),(0,t.jsx)(y.ItemSlot,{scope:n,id:p,focusable:s,active:l,children:(0,t.jsx)(f.Primitive.span,{tabIndex:x?0:-1,"data-orientation":h.orientation,...c,ref:a,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{s?h.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>h.onItemFocus(p)),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var i;let a=(i=e.key,"rtl"!==r?i:"ArrowLeft"===i?"ArrowRight":"ArrowRight"===i?"ArrowLeft":i);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)))return S[a]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,i;"prev"===t&&a.reverse();let n=a.indexOf(e.currentTarget);a=h.loop?(r=a,i=n+1,r.map((e,t)=>r[(i+t)%r.length])):a.slice(n+1)}setTimeout(()=>D(a))}}),children:"function"==typeof d?d({isCurrentTabStop:x,hasTabStop:null!=j}):d})})});E.displayName=T;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let r=document.activeElement;for(let i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}var P=e.i(296626),F="Tabs",[L,M]=(0,a.createContextScope)(F,[N]),H=N(),[z,O]=L(F),_=r.forwardRef((e,r)=>{let{__scopeTabs:i,value:a,onValueChange:n,defaultValue:s,orientation:l="horizontal",dir:o,activationMode:d="automatic",...c}=e,m=x(o),[h,b]=(0,p.useControllableState)({prop:a,onChange:n,defaultProp:s??"",caller:F});return(0,t.jsx)(z,{scope:i,baseId:(0,u.useId)(),value:h,onValueChange:b,orientation:l,dir:m,activationMode:d,children:(0,t.jsx)(f.Primitive.div,{dir:m,"data-orientation":l,...c,ref:r})})});_.displayName=F;var $="TabsList",U=r.forwardRef((e,r)=>{let{__scopeTabs:i,loop:a=!0,...n}=e,s=O($,i),l=H(i);return(0,t.jsx)(A,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:a,children:(0,t.jsx)(f.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...n,ref:r})})});U.displayName=$;var B="TabsTrigger",K=r.forwardRef((e,r)=>{let{__scopeTabs:a,value:n,disabled:s=!1,...l}=e,o=O(B,a),d=H(a),c=W(o.baseId,n),u=q(o.baseId,n),m=n===o.value;return(0,t.jsx)(E,{asChild:!0,...d,focusable:!s,active:m,children:(0,t.jsx)(f.Primitive.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":u,"data-state":m?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...l,ref:r,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():o.onValueChange(n)}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&o.onValueChange(n)}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==o.activationMode;m||s||!e||o.onValueChange(n)})})})});K.displayName=B;var V="TabsContent",G=r.forwardRef((e,i)=>{let{__scopeTabs:a,value:n,forceMount:s,children:l,...o}=e,d=O(V,a),c=W(d.baseId,n),u=q(d.baseId,n),m=n===d.value,p=r.useRef(m);return r.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(P.Presence,{present:s||m,children:({present:r})=>(0,t.jsx)(f.Primitive.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":c,hidden:!r,id:u,tabIndex:0,...o,ref:i,style:{...e.style,animationDuration:p.current?"0s":void 0},children:r&&l})})});function W(e,t){return`${e}-trigger-${t}`}function q(e,t){return`${e}-content-${t}`}G.displayName=V;var Q=e.i(975157);let Y=r.forwardRef(({className:e,...r},i)=>(0,t.jsx)(U,{ref:i,className:(0,Q.cn)("inline-flex h-auto flex-wrap items-center justify-start gap-2 rounded-2xl bg-muted p-2",e),...r}));Y.displayName=U.displayName;let Z=r.forwardRef(({className:e,...r},i)=>(0,t.jsx)(K,{ref:i,className:(0,Q.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-full px-6 py-3 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-secondary data-[state=active]:shadow-sm",e),...r}));Z.displayName=K.displayName;let J=r.forwardRef(({className:e,...r},i)=>(0,t.jsx)(G,{ref:i,className:(0,Q.cn)("mt-8 focus-visible:outline-none",e),...r}));J.displayName=G.displayName,e.s(["Tabs",0,_,"TabsContent",0,J,"TabsList",0,Y,"TabsTrigger",0,Z],677572);var X=e.i(934620),ee="Collapsible",[et,er]=(0,a.createContextScope)(ee),[ei,ea]=et(ee),en=r.forwardRef((e,i)=>{let{__scopeCollapsible:a,open:n,defaultOpen:s,disabled:l,onOpenChange:o,...d}=e,[c,m]=(0,p.useControllableState)({prop:n,defaultProp:s??!1,onChange:o,caller:ee});return(0,t.jsx)(ei,{scope:a,disabled:l,contentId:(0,u.useId)(),open:c,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),children:(0,t.jsx)(f.Primitive.div,{"data-state":eu(c),"data-disabled":l?"":void 0,...d,ref:i}
1)})});en.displayName=ee;var es="CollapsibleTrigger",el=r.forwardRef((e,r)=>{let{__scopeCollapsible:a,...n}=e,s=ea(es,a);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":eu(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:r,onClick:(0,i.composeEventHandlers)(e.onClick,s.onOpenToggle)})});el.displayName=es;var eo="CollapsibleContent",ed=r.forwardRef((e,r)=>{let{forceMount:i,...a}=e,n=ea(eo,e.__scopeCollapsible);return(0,t.jsx)(P.Presence,{present:i||n.open,children:({present:e})=>(0,t.jsx)(ec,{...a,ref:r,present:e})})});ed.displayName=eo;var ec=r.forwardRef((e,i)=>{let{__scopeCollapsible:a,present:s,children:l,...o}=e,d=ea(eo,a),[c,u]=r.useState(s),m=r.useRef(null),p=(0,n.useComposedRefs)(i,m),h=r.useRef(0),x=h.current,b=r.useRef(0),g=b.current,v=d.open||c,y=r.useRef(v),w=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,X.useLayoutEffect)(()=>{let e=m.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,b.current=t.width,y.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),u(s)}},[d.open,s]),(0,t.jsx)(f.Primitive.div,{"data-state":eu(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!v,...o,ref:p,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:v&&l})});function eu(e){return e?"open":"closed"}var ef="Accordion",em=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ep,eh,ex]=l(ef),[eb,eg]=(0,a.createContextScope)(ef,[ex,er]),ev=er(),ey=r.forwardRef((e,r)=>{let{type:i,...a}=e;return(0,t.jsx)(ep.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(ek,{...a,ref:r}):(0,t.jsx)(eR,{...a,ref:r})})});ey.displayName=ef;var[ew,ej]=eb(ef),[eC,eN]=eb(ef,{collapsible:!1}),eR=r.forwardRef((e,i)=>{let{value:a,defaultValue:n,onValueChange:s=()=>{},collapsible:l=!1,...o}=e,[d,c]=(0,p.useControllableState)({prop:a,defaultProp:n??"",onChange:s,caller:ef});return(0,t.jsx)(ew,{scope:e.__scopeAccordion,value:r.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:r.useCallback(()=>l&&c(""),[l,c]),children:(0,t.jsx)(eC,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(eT,{...o,ref:i})})})}),ek=r.forwardRef((e,i)=>{let{value:a,defaultValue:n,onValueChange:s=()=>{},...l}=e,[o,d]=(0,p.useControllableState)({prop:a,defaultProp:n??[],onChange:s,caller:ef}),c=r.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(ew,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:(0,t.jsx)(eC,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(eT,{...l,ref:i})})})}),[eA,eI]=eb(ef),eT=r.forwardRef((e,a)=>{let{__scopeAccordion:s,disabled:l,dir:o,orientation:d="vertical",...c}=e,u=r.useRef(null),m=(0,n.useComposedRefs)(u,a),p=eh(s),h="ltr"===x(o),b=(0,i.composeEventHandlers)(e.onKeyDown,e=>{if(!em.includes(e.key))return;let t=e.target,r=p().filter(e=>!e.ref.current?.disabled),i=r.findIndex(e=>e.ref.current===t),a=r.length;if(-1===i)return;e.preventDefault();let n=i,s=a-1,l=()=>{(n=i+1)>s&&(n=0)},o=()=>{(n=i-1)<0&&(n=s)};switch(e.key){case"Home":n=0;break;case"End":n=s;break;case"ArrowRight":"horizontal"===d&&(h?l():o());break;case"ArrowDown":"vertical"===d&&l();break;case"ArrowLeft":"horizontal"===d&&(h?o():l());break;case"ArrowUp":"vertical"===d&&o()}let c=n%a;r[c].ref.current?.focus()});return(0,t.jsx)(eA,{scope:s,disabled:l,direction:o,orientation:d,children:(0,t.jsx)(ep.Slot,{scope:s,children:(0,t.jsx)(f.Primitive.div,{...c,"data-orientation":d,ref:m,onKeyDown:l?void 0:b})})})}),eE="AccordionItem",[eS,eD]=eb(eE),eP=r.forwardRef((e,r)=>{let{__scopeAccordion:i,value:a,...n}=e,s=eI(eE,i),l=ej(eE,i),o=ev(i),d=(0,u.useId)(),c=a&&l.value.includes(a)||!1,f=s.disabled||e.disabled;return(0,t.jsx)(eS,{scope:i,open:c,disabled:f,triggerId:d,children:(0,t.jsx)(en,{"data-orientation":s.orientation,"data-state":e_(c),...o,...n,ref:r,disabled:f,open:c,onOpenChange:e=>{e?l.onItemOpen(a):l.onItemClose(a)}})})});eP.displayName=eE;var eF="AccordionHeader",eL=r.forwardRef((e,r)=>{let{__scopeAccordion:i,...a}=e,n=eI(ef,i),s=eD(eF,i);return(0,t.jsx)(f.Primitive.h3,{"data-orientation":n.orientation,"data-state":e_(s.open),"data-disabled":s.disabled?"":void 0,...a,ref:r})});eL.displayName=eF;var eM="AccordionTrigger",eH=r.forwardRef((e,r)=>{let{__scopeAccordion:i,...a}=e,n=eI(ef,i),s=eD(eM,i),l=eN(eM,i),o=ev(i);return(0,t.jsx)(ep.ItemSlot,{scope:i,children:(0,t.jsx)(el,{"aria-disabled":s.open&&!l.collapsible||void 0,"data-orientation":n.orientation,id:s.triggerId,...o,...a,ref:r})})});eH.displayName=eM;var ez="AccordionContent",eO=r.forwardRef((e,r)=>{let{__scopeAccordion:i,...a}=e,n=eI(ef,i),s=eD(ez,i),l=ev(i);return(0,t.jsx)(ed,{role:"region","aria-labelledby":s.triggerId,"data-orientation":n.orientation,...l,...a,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function e_(e){return e?"open":"closed"}eO.displayName=ez;let e$=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),eU=r.forwardRef(({className:e,...r},i)=>(0,t.jsx)(eP,{ref:i,className:(0,Q.cn)("border-b border-border",e),...r}));eU.displayName="AccordionItem";let eB=r.forwardRef(({className:e,children:r,...i},a)=>(0,t.jsx)(eL,{className:"flex",children:(0,t.jsxs)(eH,{ref:a,className:(0,Q.cn)("flex flex-1 items-center justify-between py-6 text-left text-lg font-medium transition-all hover:text-primary [&[data-state=open]>svg]:rotate-180",e),...i,children:[r,(0,t.jsx)(e$,{className:"h-5 w-5 shrink-0 text-primary transition-transform duration-300"})]})}));eB.displayName=eH.displayName;let eK=r.forwardRef(({className:e,children:r,...i},a)=>(0,t.jsx)(eO,{ref:a,className:"overflow-hidden text-base data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,t.jsx)("div",{className:(0,Q.cn)("pb-6 pt-0 text-muted-foreground leading-relaxed",e),children:r})}));eK.displayName=eO.displayName,e.s(["Accordion",0,ey,"AccordionContent",0,eK,"AccordionItem",0,eU,"AccordionTrigger",0,eB],273443)},272691,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let i=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);var a=e.i(566595),n=e.i(980458),s=e.i(677572),l=e.i(273443),o=e.i(515288),d=e.i(487486),c=e.i(519455);e.s(["ThesenViewer",0,function({program:e}){let[u,f]=(0,r.useState)(""),[m,p]=(0,r.useState)("all"),h=(0,r.useMemo)(()=>e.topics.filter(e=>"all"===m||e.pillar===m).map(e=>({...e,items:e.items.filter(t=>!u||t.topic.toLowerCase().includes(u.toLowerCase())||t.massnahme.toLowerCase().includes(u.toLowerCase())||e.category.toLowerCase().includes(u.toLowerCase()))})).filter(e=>e.items.length>0),[u,m,e.topics]),x=[e.leitbild.vision,e.leitbild.mission,e.leitbild.values];return(0,t.jsxs)("div",{className:"space-y-16",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{className:"relative max-w-md flex-1",children:[(0,t.jsx)(a.Search,{className:"absolute left-4 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)("input",{type:"search",placeholder:"Themen und MaÃnahmen durchsuchen...",value:u,onChange:e=>f(e.target.value),className:"w-full rounded-full border border-border bg-white py-3 pl-11 pr-4 text-sm focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20"})]}),(0,t.jsx)(c.Button,{size:"lg",asChild:!0,children:(0,t.jsxs)("a",{href:e.pdfUrl,download:"Thesenpapier.pdf",children:[(0,t.jsx)(i,{className:"mr-2 h-4 w-4"}),"Thesenpapier als PDF"]})})]}),(0,t.jsxs)(s.Tabs,{defaultValue:"leitbild",children:[(0,t.jsxs)(s.TabsList,{className:"mb-8",children:[(0,t.jsx)(s.TabsTrigger,{value:"leitbild",children:"Leitbild"}),(0,t.jsx)(s.TabsTrigger,{value:"grundthese",children:"Grundthese"}),(0,t.jsx)(s.TabsTrigger,{value:"massnahmen",children:"Erste MaÃnahmen"}),(0,t.jsx)(s.TabsTrigger,{value:"themen",children:"Alle Themen"})]}),(0,t.jsx)(s.TabsContent,{value:"leitbild",children:(0,t.jsx)("div",{className:"grid gap-8 md:grid-cols-3",children:x.map(e=>(0,t.jsxs)(o.Card,{className:"border-none bg-muted/50",children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsx)(d.Badge,{className:"w-fit",children:e.title}),(0,t.jsx)(o.CardTitle,{className:"text-xl leading-snug",children:e.headline})]}),(0,t.jsx)(o.CardContent,{children:(0,t.jsx)("p",{className:"leading-relaxed text-muted-foreground",children:e.text})})]},e.title))})}),(0,t.jsx)(s.TabsContent,{value:"grundthese",children:(0,t.jsxs)(o.Card,{children:[(0,t.jsx)(o.CardHeader,{children:(0,t.jsx)(o.CardTitle,{className:"text-2xl",children:e.grundthese.title})}),(0,t.jsxs)(o.CardContent,{className:"space-y-8",children:[(0,t.jsx)("p",{className:"text-lg leading-relaxed",children:e.grundthese.text}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-3",children:e.grundthese.pillars.map(e=>(0,t.jsxs)("div",{className:"rounded-2xl border border-border bg-muted/30 p-6",children:[(0,t.jsx)("h3",{className:"font-display text-lg font-bold text-primary",children:e.title}),(0,t.jsx)("p",{className:"mt-2 text-sm font-medium",children:e.subt
1itle}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:e.description})]},e.id))})]})]})}),(0,t.jsx)(s.TabsContent,{value:"massnahmen",children:(0,t.jsxs)(o.Card,{children:[(0,t.jsx)(o.CardHeader,{children:(0,t.jsx)(o.CardTitle,{children:"Erste MaÃnahmen"})}),(0,t.jsx)(o.CardContent,{children:(0,t.jsx)("ol",{className:"space-y-4",children:e.ersteMassnahmen.map((e,r)=>(0,t.jsxs)("li",{className:"flex gap-4",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-sm font-bold text-secondary",children:r+1}),(0,t.jsx)("p",{className:"pt-1 leading-relaxed",children:e})]},r))})})]})}),(0,t.jsxs)(s.TabsContent,{value:"themen",children:[(0,t.jsx)("div",{className:"mb-6 flex flex-wrap gap-2",children:[{id:"all",label:"Alle"},{id:"individuell",label:"Individuelle Freiheit"},{id:"vertraglich",label:"Vertragliche Freiheit"},{id:"gesellschaftlich",label:"Gesellschaftliche Freiheit"}].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>p(e.id),className:`rounded-full px-4 py-2 text-sm font-medium transition-all ${m===e.id?"bg-primary text-secondary":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:e.label},e.id))}),(0,t.jsx)(l.Accordion,{type:"multiple",className:"space-y-4",children:h.map(e=>(0,t.jsxs)(l.AccordionItem,{value:e.category,className:"rounded-2xl border border-border bg-white px-6",children:[(0,t.jsxs)(l.AccordionTrigger,{className:"text-xl font-semibold",children:[e.category,(0,t.jsxs)(d.Badge,{variant:"muted",className:"ml-3",children:[e.items.length," MaÃnahmen"]})]}),(0,t.jsx)(l.AccordionContent,{children:(0,t.jsxs)("div",{className:"space-y-4",children:[e.imageUrl&&(0,t.jsx)("div",{className:"relative aspect-[16/9] w-full overflow-hidden rounded-xl bg-muted",children:(0,t.jsx)(n.CmsImage,{src:e.imageUrl,alt:e.imageAlt??e.category,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, 700px",loading:"lazy"})}),e.items.map(e=>(0,t.jsxs)("div",{className:"rounded-xl bg-muted/30 p-5",children:[(0,t.jsx)("h4",{className:"font-semibold text-foreground",children:e.topic}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:e.massnahme})]},e.topic))]})})]},e.id))})]})]})]})}],272691)}]);
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.