1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4366],{41863:(e,t,a)=>{a.d(t,{V:()=>o});var n=a(95155),l=a(12115),r=a(17343),i=a(7265);let s={de:{stoppen:(e,t)=>`Stoppen (${e}/${t})`,anhoeren:"Artikel anh\xf6ren (Audio-Zusammenfassung)",lang:"de-CH"},fr:{stoppen:(e,t)=>`Arr\xeater (${e}/${t})`,anhoeren:"\xc9couter l'article (r\xe9sum\xe9 audio)",lang:"fr-CH"},it:{stoppen:(e,t)=>`Ferma (${e}/${t})`,anhoeren:"Ascolta l'articolo (riassunto audio)",lang:"it-CH"},en:{stoppen:(e,t)=>`Stop (${e}/${t})`,anhoeren:"Listen to article (audio summary)",lang:"en-US"},es:{stoppen:(e,t)=>`Detener (${e}/${t})`,anhoeren:"Escuchar el art\xedculo (resumen de audio)",lang:"es-MX"},al:{stoppen:(e,t)=>`Ndalo (${e}/${t})`,anhoeren:"D\xebgjo artikullin (p\xebrmbledhje audio)",lang:"sq-AL"},pt:{stoppen:(e,t)=>`Parar (${e}/${t})`,anhoeren:"Ouvir o artigo (resumo \xe1udio)",lang:"pt-PT"},sr:{stoppen:(e,t)=>`Zaustavi (${e}/${t})`,anhoeren:"SluÅ¡aj Älanak (audio rezime)",lang:"sr-RS"},tr:{stoppen:(e,t)=>`Durdur (${e}/${t})`,anhoeren:"Makaleyi dinle (sesli \xf6zet)",lang:"tr-TR"}};function o({farbe:e="#D52B1E"}){let t=(0,r.Ym)(),a=s[t]??s.de,[c,d]=(0,l.useState)("idle"),[h,u]=(0,l.useState)(!1),[f,p]=(0,l.useState)({current:0,total:0}),[m,g]=(0,l.useState)(!1),x=(0,l.useRef)([]),S=(0,l.useRef)(0);(0,l.useEffect)(()=>{if(!("speechSynthesis"in window))return;let e=()=>{let e=window.speechSynthesis.getVoices();if(0===e.length)return;g(!0);let t=a.lang.split("-")[0];u(e.some(e=>{let n=e.lang.replace("_","-").toLowerCase();return n===a.lang.toLowerCase()||n.startsWith(t)}))};e(),window.speechSynthesis.onvoiceschanged=e},[a.lang]);let k=(0,l.useCallback)(()=>{let e=(0,i.w)();if(!e)return[];let t=[],a=e.cloneNode(!0);a.querySelectorAll("nav, button, form, select, input, .mikropoll, .kommentare, .feedback-box, .share-buttons, .leseliste-button, .pdf-export-btn, .section-nav, .floating-toc, .related-sidebar, [data-noprint], script, style, .inline-quiz, .vergleichs-modus, .mid-article-links").forEach(e=>e.remove());let n="",l=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT);for(;l.nextNode();){let e=l.currentNode,a=e.tagName?.toLowerCase();if("h1"===a||"h2"===a)n.trim().length>30&&t.push(b(n)),n=e.textContent?.trim()+".\n";else if("p"===a||"li"===a||"td"===a){let t=e.textContent?.trim();t&&t.length>10&&!e.closest("h1, h2, h3")&&(n+=t+" ")}}return n.trim().length>30&&t.push(b(n)),t},[]);function b(e){let a={de:"Franken",fr:"francs",it:"franchi",en:"francs",es:"francos",al:"franga",pt:"francos",sr:"franaka",tr:"frank"}[t]??"Franken",n={de:{"bzw.":"beziehungsweise","z.B.":"zum Beispiel","ca.":"circa","inkl.":"inklusive",BFS:"Bundesamt f\xfcr Statistik",LSE:"Lohnstrukturerhebung",ESTV:"Steuerverwaltung"},fr:{"p.ex.":"par exemple","ca.":"environ","env.":"environ",BFS:"Office f\xe9d\xe9ral de la statistique",OFS:"Office f\xe9d\xe9ral de la statistique"},it:{"ad es.":"ad esempio","ca.":"circa",BFS:"Ufficio federale di statistica",UST:"Ufficio federale di statistica"},en:{"e.g.":"for example","ca.":"approximately","approx.":"approximately",BFS:"Federal Statistical Office",FSO:"Federal Statistical Office"},es:{"p.ej.":"por ejemplo","ca.":"aproximadamente",BFS:"Oficina Federal de Estad\xedstica"},al:{"p.sh.":"p\xebr shembull","rreth.":"rreth",BFS:"Zyra Federale e Statistik\xebs"},pt:{"p.ex.":"por exemplo","ca.":"aproximadamente",BFS:"Instituto Federal de Estat\xedstica"},sr:{"npr.":"na primer","ca.":"otprilike",BFS:"Savezni zavod za statistiku"},tr:{"\xf6rn.":"\xf6rneÄin","ca.":"yaklaÅık",BFS:"Federal İstatistik Ofisi"}},l=n[t]??n.de,r=e.replace(/CHF\s*([\d']+)/g,(e,t)=>`${t.replace(/'/g,"")} ${a}`).replace(/(\d+)'(\d+)/g,"$1$2").replace(/CHF/g,a);for(let[e,t]of Object.entries(l))r=r.replace(RegExp(e.replace(/\./g,"\\."),"g"),t);return r.replace(/[âââââºâ¸â¾â
âðð¡ð§ ðð¬ðâï¸ð²â¹ð]/g,"").replace(/\s{2,}/g," ").trim()}return h?(0,n.jsx)("button",{onClick:function(){if("playing"===c){S.current=-1,window.speechSynthesis.cancel(),d("idle");return}let e=k();0!==e.length&&(x.current=e,d("playing"),function e(t){let n=x.current;if(t>=n.length){d("idle"),p({current:0,total:0});return}S.current=t,p({current:t+1,total:n.length});let l=new SpeechSynthesisUtterance(n[t]);l.lang=a.lang;let r=a.lang.split("-")[0];l.rate=["it","fr","pt"].includes(r)?.82:["sq","sr","tr"].includes(r)?.8:.85,l.pitch=1;let i=window.speechSynthesis.getVoices().filter(e=>{let t=e.lang.replace("_","-").toLowerCase();return t===a.lang.toLowerCase()||t.startsWith(r)}),s=/Jorge|Juan|Diego|Carlos|Alex($| )|Fred($| )|Thomas|Ralph|Albert/i,o={de:/Anna|Petra|Helena|Yannick/i,fr:/Audrey|Am[eé]lie|Marie|Virginie/i,it:/Alice|Federica|Elisa|Paola/i,en:/Samantha|Karen|Moira|Fiona|Victoria|Tessa/i,es:/M[oó]nica|Paulina|Marisol|Jimena|Lourdes/i,sq:/Hana|Elira|Google/i,pt:/Joana|Luciana|Catarina|Raquel|Francisca|Google/i,sr:/Milica|Jelena|Ana|Google/i,tr:/Yelda|Filiz|Google/i}[r]??/./,c=i.filter(e=>e.lang.replace("_","-").toLowerCase()===a.lang.toLowerCase()),h=c.find(e=>(e.name.includes("Premium")||e.name.includes("Enhanced"))&&o.test(e.name)),u=i.find(e=>e.name.includes("Enhanced")&&o.test(e.name)),f=i.find(e=>e.name.includes("Enhanced")&&!s.test(e.name)),m=i.find(e=>o.test(e.name)),g=c.find(e=>!s.test(e.name)),k=i.find(e=>!s.test(e.name)),b=i[0],A=h??u??f??m??g??k??b;A&&(l.voice=A),l.onend=()=>{setTimeout(()=>{S.current===t&&e(t+1)},600)},l.onerror=()=>{d("idle")},window.speechSynthesis.speak(l)}(0))},className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-sm transition-all ${"playing"===c?"bg-red-50 text-red-600":"bg-[#1A1A2E]/[0.04] text-[#1A1A2E]/30 hover:bg-[#1A1A2E]/[0.08] hover:text-[#1A1A2E]/50"}`,title:"playing"===c?a.stoppen(f.current,f.total):a.anhoeren,children:"playing"===c?"â¹":"\uD83D\uDD0A"}):null}},87428:(e,t,a)=>{a.d(t,{I:()=>s});var n=a(95155),l=a(12115),r=a(17343);let i={de:{alleOeffnen:"Alle \xf6ffnen",alleSchliessen:"Alle schliessen",hilfreich:"Hilfreich?",nichtHilfreich:"Nicht hilfreich",danke:"Danke!",quelle:"Quelle",mehr:"Mehr dazu"},fr:{alleOeffnen:"Tout ouvrir",alleSchliessen:"Tout fermer",hilfreich:"Utile ?",nichtHilfreich:"Pas utile",danke:"Merci !",quelle:"Source",mehr:"En savoir plus"},it:{alleOeffnen:"Apri tutto",alleSchliessen:"Chiudi tutto",hilfreich:"Utile?",nichtHilfreich:"Non utile",danke:"Grazie!",quelle:"Fonte",mehr:"Per saperne di pi\xf9"},en:{alleOeffnen:"Expand all",alleSchliessen:"Collapse all",hilfreich:"Helpful?",nichtHilfreich:"Not helpful",danke:"Thanks!",quelle:"Source",mehr:"Learn more"},es:{alleOeffnen:"Abrir todo",alleSchliessen:"Cerrar todo",hilfreich:"\xbf\xdatil?",nichtHilfreich:"No \xfatil",danke:"\xa1Gracias!",quelle:"Fuente",mehr:"M\xe1s informaci\xf3n"},al:{alleOeffnen:"Hap t\xeb gjitha",alleSchliessen:"Mbyll t\xeb gjitha",hilfreich:"E dobishme?",nichtHilfreich:"Jo e dobishme",danke:"Faleminderit!",quelle:"Burimi",mehr:"M\xeb shum\xeb"},pt:{alleOeffnen:"Abrir tudo",alleSchliessen:"Fechar tudo",hilfreich:"\xdatil?",nichtHilfreich:"N\xe3o \xfatil",danke:"Obrigado!",quelle:"Fonte",mehr:"Saber mais"},sr:{alleOeffnen:"Otvori sve",alleSchliessen:"Zatvori sve",hilfreich:"Korisno?",nichtHilfreich:"Nije korisno",danke:"Hvala!",quelle:"Izvor",mehr:"Saznaj viÅ¡e"},tr:{alleOeffnen:"T\xfcm\xfcn\xfc a\xe7",alleSchliessen:"T\xfcm\xfcn\xfc kapat",hilfreich:"Faydalı mı?",nichtHilfreich:"Faydalı deÄil",danke:"TeÅekk\xfcrler!",quelle:"Kaynak",mehr:"Daha fazla bilgi"}};function s({titel:e,beschreibung:t,items:a,farbe:o="#D52B1E",artikelUrl:c}){let d=i[(0,r.Ym)()]??i.de,[h,u]=(0,l.useState)(new Set),f=(0,l.useId)(),[p,m]=(0,l.useState)({});(0,l.useEffect)(()=>{let e={};a.forEach((t,a)=>{let n=localStorage.getItem(`faq-${c}-${a}`);("ja"===n||"nein"===n)&&(e[a]=n)}),Object.keys(e).length>0&&m(e)},[a,c]);let g=h.size===a.length;return(0,n.jsxs)("div",{id:"faq",className:"mt-12",style:{scrollMarginTop:120},children:[(0,n.jsxs)("div",{className:"mb-6 flex items-end justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"text-xl font-bold tracking-tight text-[#1A1A2E]",children:e}),t&&(0,n.jsx)("p",{className:"mt-1 text-sm text-[#1A1A2E]/35",children:t})]}),(0,n.jsx)("button",{onClick:()=>{g?u(new Set):u(new Set(a.map((e,t)=>t)))},className:"shrink-0 text-[10px] font-semibold uppercase tracking-wider transition-colors hover:text-[#1A1A2E]",style:{color:o},children:g?d.alleSchliessen:d.alleOeffnen})]}),(0,n.jsx)("div",{className:"flex flex-col gap-3",children:a.map((e,t)=>{let a=h.has(t),l=p[t];return(0,n.jsxs)("div",{className:"rounded-xl border border-[#1A1A2E]/[0.06] bg-white transition-shadow hover:shadow-sm",children:[(0,n.jsxs)("button",{type:"button",onClick:()=>{let e;(e=new Set(h)).has(t)?e.delete(t):e.add(t),u(e)},"aria-expanded":a,"aria-controls":`${f}-faq-${t}`,className:"flex w-full items-center justify-between px-5 py-4 text-left",children:[(0,n.jsx)("span",{className:"pr-4 text-sm font-medium text-[#1A1A2E] transition-colors hover:text-[#1A1A2E]/80",children:e.frage}),(0,n.jsx)("span",{className:`shrink-0 text-lg transition-transform ${a?"rotate-45":""}`,style:{color:a?o:"rgba(26,26,46,0.2)"},children:"+"})]}),(0,n.jsxs)("div",{id:`${f}-faq-${t}`,hidden:!a,className:"border-t border-[#1A1A2E]/[0.04] px-5 py-4",children:[(0,n.jsx)("div",{className:"text-sm leading-relaxed text-[#1A1A2E]/60 [&_strong]:text-[#1A1A2E]/80 [&_a]:font-medium [&_a]:underline [&_a]:decoration-1 [&_a]:underline-offset-2",dangerouslySetInnerHTML:{__html:e.antwort}}),e.link&&(0,n.jsxs)("a",{href:e.link.href,className:"mt-2 inline-flex items-center gap-1 text-xs font-semibold transition-colors hover:opacity-80",style:{color:o},children:["â ",e.link.text]}),e.quelle&&(0,n.jsxs)("span",{className:"mt-2 block text-[10px] text-[#1A1A2E]/20",children:[d.quelle,": ",e.quelle]}),(0,n.jsxs)("div",{className:"mt-3 flex items-center gap-2 border-t border-[#1A1A2E]/[0.03] pt-3",children:[(0,n.jsx)("span",{className:"text-[10px] text-[#1A1A2E]/20",children:d.hilfreich}),l?(0,n.jsx)("span",{className:"text-[10px] text-emerald-600",children:d.danke}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{onClick:e=>{e.stopPropagation(),m({...p,[t]:"ja"}),localStorage.setItem(`faq-${c}-${t}`,"ja"),fetch("/api/reaktion",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({artikelId:c,typ:"ja",scope:"faq",kommentarId:String(t)})}).catch(()=>{})},className:"rounded-md border border-[#1A1A2E]/[0.06] px-2 py-0.5 text-[10px] text-[#1A1A2E]/30 transition-colors hover:border-emerald-300 hover:text-emerald-600",children:"â"}),(0,n.jsx)("button",{onClick:e=>{e.stopPropagation(),m({...p,[t]:"nein"}),localStorage.setItem(`faq-${c}-${t}`,"nein"),fetch("/api/reaktion",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({artikelId:c,typ:"nein",scope:"faq",kommentarId:String(t)})}).catch(()=>{})},className:"rounded-md border border-[#1A1A2E]/[0.06] px-2 py-0.5 text-[10px] text-[#1A1A2E]/30 transition-colors hover:border-red-300 hover:text-red-600",children:"â"})]})]})]})]},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.