1import{O as F,aa as B,W as N,g as $,a9 as C,a8 as z}from"./1ipIcF-u.js";import{r as k,b as s,d as r,e as d,s as D,u as p,v,g as u,F as _,h,t as b,p as m,f as E,j as I}from"./B8wixzg5.js";const A={__name:"NewsSearch",setup(e){const t=k(F()?.params?.q||"");function f(){if(t.value){const n=`/news/suche/${t.value}`;$().push(n)}}return(n,l)=>{const o=B,i=N;return s(),r("form",{class:"flex space-x-2",onSubmit:v(f,["prevent"])},[d(o,{modelValue:p(t),"onUpdate:modelValue":l[0]||(l[0]=g=>D(t)?t.value=g:null),required:"",label:n.$t("Suche"),"no-margin":"",placeholder:n.$t("News durchsuchenâ¦"),"only-placeholder":""},null,8,["modelValue","label","placeholder"]),d(i,{heroicon:"heroicons:magnifying-glass-solid","no-margin":"",type:"submit"})],32)}}};function V(){return{Finanzen:{gold:"Gold",silber:"Silber",aktien:"Aktien",immobilien:"Immobilien",krypto:"Krypto",sparen:"Sparen",banken:"Banken",ezb:"EZB",fed:"FED"},Wirtschaft:{insolvenzen:"Insolvenzen",ifo:"IFO",bip:"BIP",steuern:"Steuern",enteignung:"Enteignung",blackout:"Blackout",energie:"Energie","übernahmen-fusion":"Ãbernahmen-Fussion"},Politik:{spd:"SPD",grüne:"Grüne",fdp:"FDP","cdu-csu":"CDU-CSU",afd:"AFD",werteunion:"WerteUnion","freie-wähler":"Freie Wähler",linke:"Linke",bsw:"BSW",wahlen:"Wahlen",umfragen:"Umfragen"}}}const W={class:"mb-4 flex flex-col overflow-hidden rounded-lg bg-white pb-2 shadow-lg"},y=["onClick"],U={class:"font-semibold text-gray-700"},O={__name:"NewsCategories",props:{active:{type:String,default:""},activeSub:{type:String,default:""}},setup(e){const t=e,f=V(),n=k("Finanzen");t.active&&(n.value=t.active);function l(o){n.value===o?n.value="":n.value=o}return(o,i)=>{const g=C,x=z;return s(),r("ul",W,[i[0]||(i[0]=u("li",{class:"mb-2 border-b border-gray-100 bg-gold-dark py-2 text-center text-lg text-white"}," Kettner Edelmetalle News ",-1)),(s(!0),r(_,null,h(p(f),(S,a)=>(s(),r("li",{key:`t-${a}`,class:"py-1"},[u("div",{class:"flex cursor-pointer items-center justify-between px-4 pb-0.5",onClick:v(c=>l(a),["prevent"])},[u("strong",U,b(a),1),d(g,{name:"heroicons:chevron-down-solid",class:m(["size-6 text-gray-600",{"rotate-180":p(n)===a}])},null,8,["class"])],8,y),u("ul",{class:m(["flex flex-col",{hidden:p(n)!==a}])},[(s(!0),r(_,null,h(S,(c,w)=>(s(),r("li",{key:`c-${w}`},[d(x,{to:`/news/c/${w.toLowerCase()}`,class:m(["block px-5 py-0.5 hover:text-gold",{"text-gold":e.activeSub===c,"text-gray-600":e.activeSub!==c}])},{default:E(()=>[I(b(c),1)]),_:2},1032,["to","class"])]))),128))],2)]))),128))])}}};function R(e){return e=e.replace(/ href="https:\/\/www.kettner-edelmetalle.de"/g,' href="/"'),e=e.replace(/ href="https:\/\/www.kettner-edelmetalle.de\//g,' href="/'),e=e.replace(/ href="https:\/\/ps.kettner-edelmetalle.de\//g,' href="/'),e=e.replace(/ href="https:\/\/www.kettnerbullion.com"/g,' href="/"'),e=e.replace(/ href="https:\/\/www.kettnerbullion.com\//g,' href="/'),e=e.replace(/https:\/\/www.kettner-edelmetalle.de\/wissen\/wp-content/g,"https://content.kettner-edelmetalle.de/wp-content"),e=e.replace(/(<a[^>]*href="\/[^"]*?)\/"/g,t=>`${t.slice(0,-2)}"`),e}export{A as _,R as a,O as b,V as g};
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.