1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[250,851,1327,1474,2155,2214,2631,3232,3379,3708,3855,4682,5012,5760,6089,6236,6565,6976,7393,7517,7869,8470,8946,9093,9774,9833,9898],{58857:(e,t,r)=>{r.d(t,{$:()=>d,W:()=>a});var l=r(95155),n=r(12115),i=r(17343),s=r(67609);function a(e){return"fr"===e||"it"===e||"en"===e?e:"de"}function d({ader:e,texte:t,farbe:r="#0ea5e9"}){let o=a((0,i.Ym)()),c=(0,s.Vc)(e).includes(o)?o:"de",[x,p]=(0,n.useState)(0),[m,u]=(0,n.useState)({}),[f,b]=(0,n.useState)(!1),h=e.vorlagen[x],A=(0,n.useMemo)(()=>(0,s.IR)(h,e.felder,c,m),[h,e.felder,c,m]),g=(0,s.lP)(h.dateiname,c),v=(0,s.vM)(h),y=`/${e.ordner??"dokumente"}/${g}`,E=[v.includes("xlsx")?t.xlsxHinweis:void 0,v.includes("docx")?t.docxHinweis:void 0,v.includes("pdf")?t.pdfHinweis:void 0].filter(Boolean),j=t=>t.replace(/\{n\}/g,String(e.vorlagen.length));return(0,l.jsxs)("div",{className:"my-12 overflow-hidden rounded-xl border border-[#1A1A2E]/[0.04] bg-white",style:{scrollMarginTop:120},children:[(0,l.jsxs)("div",{className:"border-b border-[#1A1A2E]/[0.04] px-6 py-5 md:px-8",children:[(0,l.jsx)("h3",{className:"mb-1 text-lg font-bold text-[#1A1A2E]",children:j(t.titel)}),(0,l.jsx)("p",{className:"text-sm text-[#1A1A2E]/50",children:j(t.beschreibung)})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-2 border-b border-[#1A1A2E]/[0.04] px-6 py-4 md:px-8",children:e.vorlagen.map((e,t)=>(0,l.jsx)("button",{onClick:()=>p(t),className:`rounded-lg px-3 py-1.5 text-xs font-semibold transition-colors ${t===x?"text-white":"bg-[#1A1A2E]/[0.03] text-[#1A1A2E]/60 hover:bg-[#1A1A2E]/[0.06]"}`,style:t===x?{backgroundColor:r}:void 0,children:(0,s.lP)(e.titel,c)},e.key))}),(0,l.jsxs)("div",{className:"px-6 py-6 md:px-8",children:[(0,l.jsx)("p",{className:"mb-5 text-sm leading-relaxed text-[#1A1A2E]/60",children:(0,s.lP)(h.zweck,c)}),(0,l.jsx)("div",{className:"mb-2 text-[10px] font-semibold uppercase tracking-[2px] text-[#1A1A2E]/30",children:t.formularTitel}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:e.felder.map(e=>(0,l.jsxs)("div",{className:e.breit?"md:col-span-2":void 0,children:[(0,l.jsx)("label",{className:"mb-1 block text-xs font-medium text-[#1A1A2E]/50",htmlFor:`df-${e.key}`,children:(0,s.lP)(e.label,c)}),(0,l.jsx)("input",{id:`df-${e.key}`,className:"w-full rounded-lg border border-[#1A1A2E]/10 bg-white px-3 py-2 text-sm",value:m[e.key]||"",placeholder:(0,s.lP)(e.platzhalter,c),onChange:t=>u(r=>({...r,[e.key]:t.target.value}))})]},e.key))}),(0,l.jsx)("div",{className:"mb-2 mt-7 text-[10px] font-semibold uppercase tracking-[2px] text-[#1A1A2E]/30",children:t.vorschauTitel}),(0,l.jsxs)("div",{className:"overflow-hidden rounded-xl border border-[#1A1A2E]/10 bg-white",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between border-b-2 px-5 py-2.5",style:{borderColor:r},children:[(0,l.jsx)("span",{className:"font-sans text-[9px] uppercase tracking-[2px] text-[#1A1A2E]/30",children:(0,s.lP)(h.titel,c)}),(0,l.jsx)("span",{className:"font-sans text-[10px] font-bold",style:{color:r},children:"ConvivaPlus.ch"})]}),(0,l.jsx)("pre",{className:"whitespace-pre-wrap p-5 font-serif text-[13px] leading-relaxed text-[#1A1A2E]/80",children:A.replace(/\*\*/g,"")}),(0,l.jsx)("div",{className:"border-t border-[#1A1A2E]/[0.06] px-5 py-2 text-center font-sans text-[8px] text-[#1A1A2E]/25",children:(0,s.lP)(e.rechtsHinweis,c)})]}),(0,l.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[(0,l.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(A.replace(/\*\*/g,"")),b(!0),setTimeout(()=>b(!1),2e3)},className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-semibold text-white transition-opacity hover:opacity-90",style:{backgroundColor:r},children:f?t.kopiertLabel:t.kopierenLabel}),v.includes("xlsx")&&(0,l.jsxs)("a",{href:`${y}.xlsx`,download:!0,className:"inline-flex items-center gap-2 rounded-lg border border-[#1A1A2E]/10 px-4 py-2 text-sm font-semibold text-[#1A1A2E]/70 hover:bg-[#1A1A2E]/[0.02]",children:["\uD83D\uDCCA ",t.xlsxLabel??"Excel (.xlsx)"]}),v.includes("docx")&&(0,l.jsxs)("a",{href:`${y}.docx`,download:!0,className:"inline-flex items-center gap-2 rounded-lg border border-[#1A1A2E]/10 px-4 py-2 text-sm font-semibold text-[#1A1A2E]/70 hover:bg-[#1A1A2E]/[0.02]",children:["\uD83D\uDCDD ",t.docxLabel]}),v.includes("pdf")&&(0,l.jsxs)("a",{href:`${y}.pdf`,download:!0,className:"inline-flex items-center gap-2 rounded-lg border border-[#1A1A2E]/10 px-4 py-2 text-sm font-semibold text-[#1A1A2E]/70 hover:bg-[#1A1A2E]/[0.02]",children:["\uD83D\uDCC4 ",t.pdfLabel]})]}),(0,l.jsx)("p",{className:"mt-2.5 text-[11px] leading-relaxed text-[#1A1A2E]/35",children:E.join(" \xb7 ")}),(0,l.jsxs)("p",{className:"mt-3 rounded-lg bg-[#1A1A2E]/[0.02] px-4 py-2.5 text-[10px] leading-relaxed text-[#1A1A2E]/35",children:["âï¸ ",t.disclaimer]})]})]})}},67609:(e,t,r)=>{r.d(t,{IR:()=>a,Vc:()=>o,lP:()=>n,vM:()=>d});let l=["de","fr","it","en"];function n(e,t){return e[t]??e.de}let i=["docx","pdf"];function s(e,t,r,l={}
1){return e.replace(/\[([a-zA-Z0-9_]+)\]/g,(e,i)=>{let s=(l[i]||"").trim();if(s)return s;let a=t.find(e=>e.key===i);return a?n(a.platzhalter,r):e})}function a(e,t,r,l={}){return(e.zeilen[r]??e.zeilen.de).map(e=>"string"!=typeof e&&"tabelle"in e?e.tabelle.map(e=>e.map(e=>{var n;return(n=s(e,t,r,l)).startsWith("=")?"":n}).join(" \xb7 ")).join("\n"):"string"!=typeof e&&"blatt"in e?e.blatt:s(e,t,r,l)).join("\n")}function d(e){return e.formate??i}function o(e){return e.sprachen??l}},87762:(e,t,r)=>{r.d(t,{L:()=>l});function l(e){return e.map(e=>({"@type":"Legislation",name:e.name,legislationIdentifier:e.legislationIdentifier,legislationJurisdiction:{"@type":"AdministrativeArea",name:"Schweiz"},url:e.url}))}},96236:(e,t,r)=>{r.d(t,{Q:()=>l});function l(e){return{__html:JSON.stringify({"@context":"https://schema.org","@type":"DefinedTermSet",name:e.name,...e.description?{description:e.description}:{},creator:{"@type":"Organization",name:"ConvivaPlus",url:"https://www.conviva-plus.ch"},hasDefinedTerm:e.terms.map(t=>({"@type":"DefinedTerm",name:t.term,description:t.definition,inDefinedTermSet:e.name,...t.url?{url:t.url}:{}}))})}}}}]);
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.