1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2657],{286:(e,t,r)=>{"use strict";r.d(t,{TableOfContents:()=>c});var s=r(5155),a=r(2115),l=r(2619),n=r.n(l),i=r(63),o=r(2821),d=r(4586);function c({tableOfContents:e}){let t=(0,i.usePathname)(),r=(0,d.JK)(t),[l,c]=(0,a.useState)(e[0]?.id),h=(0,a.useCallback)(e=>e.flatMap(e=>[e.id,...e.children.map(e=>e.id)]).map(e=>{let t=document.getElementById(e);if(!t)return null;let r=parseFloat(window.getComputedStyle(t).scrollMarginTop);return{id:e,top:window.scrollY+t.getBoundingClientRect().top-r}}).filter(e=>null!==e),[]);function x(e){return e.id===l||!!e.children&&e.children.findIndex(x)>-1}return(0,a.useEffect)(()=>{if(0===e.length)return;let t=h(e);function r(){let e=window.scrollY,r=t[0].id;for(let s of t)if(e>=s.top-10)r=s.id;else break;c(r)}return window.addEventListener("scroll",r,{passive:!0}),r(),()=>{window.removeEventListener("scroll",r)}},[h,e]),(0,s.jsx)("div",{className:"hidden xl:sticky xl:top-19 xl:-mr-6 xl:block xl:h-[calc(100vh-4.75rem)] xl:flex-none xl:overflow-y-auto xl:py-16 xl:pr-6",children:(0,s.jsx)("nav",{"aria-labelledby":"on-this-page-title",className:"w-56",children:e.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{id:"on-this-page-title",className:"font-display text-sm font-medium text-slate-900 dark:text-white",children:"de"===r?"Auf dieser Seite":"pt-BR"===r?"Nesta p\xe1gina":"On this page"}),(0,s.jsx)("ol",{role:"list",className:"mt-4 space-y-3 text-sm",children:e.map(e=>(0,s.jsxs)("li",{children:[(0,s.jsx)("h3",{children:(0,s.jsx)(n(),{href:`#${e.id}`,className:(0,o.A)(x(e)?"text-sky-500":"font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300"),children:e.title})}),e.children.length>0&&(0,s.jsx)("ol",{role:"list",className:"mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400",children:e.children.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(n(),{href:`#${e.id}`,className:x(e)?"text-sky-500":"hover:text-slate-600 dark:hover:text-slate-300",children:e.title})},e.id))})]},e.id))})]})})})}},1105:(e,t,r)=>{"use strict";r.d(t,{Tab:()=>i,Tabs:()=>n});var s=r(5155),a=r(2115),l=r(2821);function n({children:e}){let t=[];a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&e.props.label&&t.push({label:e.props.label,content:e.props.children})});let[r,n]=(0,a.useState)(0);return(0,s.jsxs)("div",{className:"rounded-lg border border-slate-200 bg-slate-50 dark:border-slate-700 dark:bg-slate-800/50",children:[(0,s.jsx)("div",{className:"flex gap-2 border-b border-slate-200 dark:border-slate-700",children:t.map((e,t)=>(0,s.jsx)("button",{onClick:()=>n(t),className:(0,l.A)("px-4 py-2 text-sm font-medium transition-colors",t===r?"border-b-2 border-sky-500 text-sky-600 dark:text-sky-400":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300"),children:e.label},t))}),(0,s.jsx)("div",{className:"p-4",children:t[r]?.content})]})}function i({children:e}){return(0,s.jsx)(s.Fragment,{children:e})}},2048:(e,t,r)=>{"use strict";r.d(t,{Fence:()=>d});var s=r(5155),a=r(2115),l=r(4212),n=r(5183),i=r(6428);function o({code:e}){let[t,r]=(0,a.useState)(!1);return(0,s.jsx)("button",{onClick:function(){navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),2e3)},className:"absolute right-2 top-2 z-10 rounded-md border border-white/10 bg-slate-800 px-2 py-1 text-xs text-slate-400 opacity-0 transition-opacity hover:bg-slate-700 hover:text-slate-300 group-hover:opacity-100",children:t?"Kopiert!":"Kopieren"})}function d({children:e,language:t}){let r=(0,n.CZ)(),{theme:d}=(0,i.e)(),c=e.trimEnd(),h=(0,i.W)((0,n.HG)(c,r),d);return(0,s.jsx)(l.f4,{code:h,language:t,theme:{plain:{},styles:[]},children:({className:e,style:t,tokens:r,getTokenProps:l})=>(0,s.jsxs)("div",{className:"group relative",children:[(0,s.jsx)(o,{code:h}),(0,s.jsx)("pre",{className:e,style:t,children:(0,s.jsx)("code",{children:r.map((e,t)=>(0,s.jsxs)(a.Fragment,{children:[e.filter(e=>!e.empty).map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t)),"\n"]},t))})})]})})}},2657:(e,t,r)=>{Promise.resolve().then(r.bind(r,7429)),Promise.resolve().then(r.bind(r,8746)),Promise.resolve().then(r.bind(r,771
17)),Promise.resolve().then(r.bind(r,3451)),Promise.resolve().then(r.bind(r,2048)),Promise.resolve().then(r.bind(r,6673)),Promise.resolve().then(r.bind(r,3092)),Promise.resolve().then(r.bind(r,5490)),Promise.resolve().then(r.bind(r,5183)),Promise.resolve().then(r.bind(r,286)),Promise.resolve().then(r.bind(r,1105)),Promise.resolve().then(r.bind(r,6428))},3092:(e,t,r)=>{"use strict";r.d(t,{PrevNextLinks:()=>m});var s=r(5155),a=r(2619),l=r.n(a),n=r(63),i=r(2821),o=r(4586),d=r(562);let c={de:{next:"Weiter",previous:"Zur\xfcck"},en:{next:"Next",previous:"Previous"},"pt-BR":{next:"Pr\xf3ximo",previous:"Anterior"}};function h(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",...e,children:(0,s.jsx)("path",{d:"m9.182 13.423-1.17-1.16 3.505-3.505H3V7.065h8.517l-3.506-3.5L9.181 2.4l5.512 5.511-5.511 5.512Z"})})}function x({title:e,href:t,dir:r="next",locale:a="en",...n}){let o=c[a];return(0,s.jsxs)("div",{...n,children:[(0,s.jsx)("dt",{className:"font-display text-sm font-medium text-slate-900 dark:text-white",children:"next"===r?o.next:o.previous}),(0,s.jsx)("dd",{className:"mt-1",children:(0,s.jsxs)(l(),{href:t,className:(0,i.A)("flex items-center gap-x-1 text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300","previous"===r&&"flex-row-reverse"),children:[e,(0,s.jsx)(h,{className:(0,i.A)("h-4 w-4 flex-none fill-current","previous"===r&&"-scale-x-100")})]})})]})}function m(){let e=(0,n.usePathname)(),t=(0,o.JK)(e),r=(0,d.b)(t).flatMap(e=>e.links),a=r.findIndex(t=>t.href===e),l=a>-1?r[a-1]:null,i=a>-1?r[a+1]:null;return i||l?(0,s.jsxs)("dl",{className:"mt-12 flex border-t border-slate-200 pt-6 dark:border-slate-800",children:[l&&(0,s.jsx)(x,{dir:"previous",locale:t,...l}),i&&(0,s.jsx)(x,{className:"ml-auto text-right",locale:t,...i})]}):null}},3451:(e,t,r)=>{"use strict";r.d(t,{DocsHeader:()=>i});var s=r(5155),a=r(63),l=r(4586),n=r(562);function i({title:e}){let t=(0,a.usePathname)(),r=(0,l.JK)(t),i=(0,n.b)(r).find(e=>e.links.find(e=>e.href===t));return e||i?(0,s.jsxs)("header",{className:"mb-9 space-y-1",children:[i&&(0,s.jsx)("p",{className:"font-display text-sm font-medium text-sky-500",children:i.title}),e&&(0,s.jsx)("h1",{className:"font-display text-4xl tracking-tight text-slate-900 dark:text-white",children:e})]}):null}},5490:(e,t,r)=>{"use strict";r.d(t,{Step:()=>n,Steps:()=>l});var s=r(5155),a=r(2115);function l({children:e}){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&e.props.title&&t.push({title:e.props.title,content:e.props.children})}),(0,s.jsx)("div",{className:"not-prose my-8",children:t.map((e,r)=>(0,s.jsxs)("div",{className:"relative flex gap-4",children:[r<t.length-1&&(0,s.jsx)("div",{className:"absolute left-[15px] top-[40px] bottom-0 w-px bg-slate-200 dark:bg-slate-700"}),(0,s.jsx)("div",{className:"relative z-10 flex h-8 w-8 flex-none items-center justify-center rounded-full bg-sky-100 text-sm font-semibold text-sky-600 dark:bg-sky-900/50 dark:text-sky-400",children:r+1}),(0,s.jsxs)("div",{className:r<t.length-1?"pb-8":"",children:[(0,s.jsx)("p",{className:"font-display text-base font-semibold text-slate-900 dark:text-white",children:e.title}),(0,s.jsx)("div",{className:"prose mt-2 text-sm text-slate-600 dark:text-slate-400 prose-a:text-sky-600 dark:prose-a:text-sky-400 prose-strong:text-slate-700 dark:prose-strong:text-slate-300",children:e.content})]})]},r))})}function n({children:e}){return(0,s.jsx)(s.Fragment,{children:e})}},6428:(e,t,r)=>{"use strict";r.d(t,{W:()=>x,WidgetPreview:()=>m,e:()=>h});var s=r(5155),a=r(2821),l=r(63),n=r(2115),i=r(5959),o=r(4586),d=r(5183);let c={de:{title:"Live-Vorschau",hint:"Gib oben deine Subdomain ein, um die Vorschau zu laden.",dark:"Dunkel",white:"Hell"},en:{title:"Live preview",hint:"Enter your subdomain above to load the preview.",dark:"Dark",white:"White"},"pt-BR":{title:"Pr\xe9-visualiza\xe7\xe3o ao vivo",hint:"Digite seu subdom\xednio acima para carregar a pr\xe9-visualiza\xe7\xe3o.",dark:"Escuro",white:"Claro"}},h=(0,i.v)()(e=>({theme:"white",setTheme:t=>e({theme:t})}));function x(e,t){return"dark"===t?e.replaceAll('data-theme="white"','data-theme="dark"').replaceAll("data-theme="white"","data-theme="dark"").replace(/data-omoplata="trial"(?![^>]*data-theme)/g,'data-omoplata="trial" data-theme="dark"'):e.replaceAll(' data-theme="dark"',"").replaceAll(' data-theme="white"',"").replaceAll(" data-theme="dark"","").replaceAll(" data-theme="white"","")}function m({showTitle:e=0}){let t,{subdomain:r,valid:i}=(0,d.zu)(),{theme:x,setTheme:m}=h(),u=(0,l.usePathname)(),p=c[(0,o.JK)(u)],f=(0,n.useRef)(null),[k,b]=(0,n.use
1State)(500),v=r&&i;if(v){let s=r.replace(/[^a-z0-9-]/g,""),a=`template=${x}`+(e?"&show_title=1":"");t=`https://${s}.omoplata.de/widgets/trial?${a}`}return(0,n.useEffect)(()=>{if(!v)return;let e=`https://${r}.omoplata.de`;function t(t){if(t.origin!==e)return;let r=t.data;Array.isArray(r)&&"setHeight"===r[0]&&"number"==typeof r[1]&&b(Math.max(200,r[1]))}return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},[v,r]),(0,s.jsxs)("div",{className:"not-prose my-6",children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-zinc-900 dark:text-white",children:p.title}),(0,s.jsx)("div",{className:"flex gap-1 rounded-lg border border-zinc-200 bg-zinc-100 p-0.5 dark:border-zinc-700 dark:bg-zinc-800",children:["white","dark"].map(e=>(0,s.jsx)("button",{onClick:()=>m(e),className:(0,a.A)("rounded-md px-3 py-1 text-xs font-medium transition-colors",x===e?"bg-white text-zinc-900 shadow-sm dark:bg-zinc-700 dark:text-white":"text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-300"),children:p[e]},e))})]}),(0,s.jsx)("div",{className:"overflow-hidden rounded-xl border border-zinc-200 p-8 dark:border-zinc-700/50",style:{backgroundColor:"dark"===x?"#1f2937":"#ffffff"},children:v?(0,s.jsx)("iframe",{ref:f,src:t,allow:"",referrerPolicy:"no-referrer",sandbox:"allow-scripts allow-same-origin allow-forms",className:"w-full border-0",style:{height:k,minHeight:200},title:"Omoplata widget preview"}):(0,s.jsx)("div",{className:"flex items-center justify-center px-4 py-16 text-sm text-zinc-400 dark:text-zinc-500",children:p.hint})})]})}},6673:(e,t,r)=>{"use strict";r.d(t,{PageFeedback:()=>d});var s=r(5155),a=r(2115),l=r(63),n=r(2821),i=r(4586);let o={de:{thanks:"Danke f\xfcr dein Feedback!",question:"War diese Seite hilfreich?",yes:"Ja",no:"Nein"},en:{thanks:"Thanks for your feedback!",question:"Was this page helpful?",yes:"Yes",no:"No"},"pt-BR":{thanks:"Obrigado pelo seu feedback!",question:"Esta p\xe1gina foi \xfatil?",yes:"Sim",no:"N\xe3o"}};function d(){let e=(0,l.usePathname)(),t=o[(0,i.JK)(e)],[r,d]=(0,a.useState)(null);function c(t){let r=t?"yes":"no";d(r),window.fathom?.trackEvent(`page_feedback:${r}:${e}`)}return(0,s.jsx)("div",{className:"mt-12 flex items-center gap-3 border-t border-slate-200 pt-6 text-sm text-slate-600 dark:border-slate-700 dark:text-slate-400",children:r?(0,s.jsx)("p",{children:t.thanks}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:t.question}),(0,s.jsx)("button",{onClick:()=>c(!0),className:(0,n.A)("rounded-full border px-3 py-1 transition-colors","border-slate-200 hover:border-sky-300 hover:bg-sky-50 hover:text-sky-700","dark:border-slate-700 dark:hover:border-sky-600 dark:hover:bg-sky-900/30 dark:hover:text-sky-400"),children:t.yes}),(0,s.jsx)("button",{onClick:()=>c(!1),className:(0,n.A)("rounded-full border px-3 py-1 transition-colors","border-slate-200 hover:border-slate-400 hover:bg-slate-100 hover:text-slate-700","dark:border-slate-700 dark:hover:border-slate-500 dark:hover:bg-slate-800 dark:hover:text-slate-300"),children:t.no})]})})}},7429:(e,t,r)=>{"use strict";r.d(t,{Accordion:()=>n,AccordionItem:()=>o});var s=r(5155),a=r(2115),l=r(2821);function n({children:e}){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&e.props.title&&t.push({title:e.props.title,content:e.props.children})}),(0,s.jsx)("div",{className:"not-prose my-8 divide-y divide-slate-200 rounded-xl border border-slate-200 dark:divide-slate-700 dark:border-slate-700",children:t.map((e,t)=>(0,s.jsx)(i,{title:e.title,children:e.content},t))})}function i({title:e,children:t}){let[r,n]=(0,a.useState)(!1);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("button",{onClick:()=>n(!r),className:"flex w-full items-center justify-between px-5 py-4 text-left text-sm font-semibold text-slate-900 hover:bg-slate-50 dark:text-white dark:hover:bg-slate-800/50",children:[e,(0,s.jsx)("svg",{className:(0,l.A)("h-4 w-4 flex-none text-slate-400 transition-transform duration-200",r&&"rotate-180"),fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]}),(0,s.jsx)("div",{className:(0,l.A)("grid transition-[grid-template-rows] duration-200",r?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:"prose px-5 pb-4 text-sm text-slate-600 dar
1k:text-slate-400 prose-a:text-sky-600 dark:prose-a:text-sky-400 prose-strong:text-slate-700 dark:prose-strong:text-slate-300",children:t})})})]})}function o({children:e}){return(0,s.jsx)(s.Fragment,{children:e})}},7717:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DocLink:()=>o});var s=r(5155),a=r(2619),l=r.n(a),n=r(63),i=r(4586);function o({href:e="",children:t,...r}){let a=(0,n.usePathname)();if(!e.startsWith("/"))return(0,s.jsx)("a",{href:e,...r,children:t});let o=(0,i.JK)(a),d=(0,i.lF)((0,i.Yd)(e),o);return(0,s.jsx)(l(),{href:d,...r,children:t})}},8746:(e,t,r)=>{"use strict";r.d(t,{AppLink:()=>l});var s=r(5155),a=r(5183);function l({path:e,label:t}){let{subdomain:r,valid:l}=(0,a.zu)();if(r&&l){let a=`https://${r}.omoplata.de${e}`;return(0,s.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"font-bold text-sky-500 no-underline hover:text-sky-400 dark:text-sky-400 dark:hover:text-sky-300",children:[t,(0,s.jsx)("svg",{className:"ml-0.5 -mt-0.5 inline h-3 w-3",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,s.jsx)("path",{d:"M3.5 3.5h5v5M8.5 3.5L3 9",strokeLinecap:"round",strokeLinejoin:"round"})})]})}return(0,s.jsx)("strong",{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.