PageSourceSearch

https://apptiva.ch/_next/static/chunks/1lzghn7lor1lo.js

js apptiva.ch collected 2026-10-07 19:11:10 UTC 45,172 bytes, 18 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,722990,e=>{"use strict";var t=e.i(968765);function n(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function r(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function i(e){return r(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function l(e){return"@list"===e._type}function o(e){return"@span"===e._type}function s(e){return"@text"===e._type}let a=["strong","em","code","underline","strike-through"];function u(e,t,r){if(!n(e)||!e.marks||!e.marks.length)return[];let i=e.marks.slice(),l={};return i.forEach(e=>{l[e]=1;for(let i=t+1;i<r.length;i++){let t=r[i];if(t&&n(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))l[e]++;else break}}),i.sort((e,t)=>(function(e,t,n){let r=e[t],i=e[n];if(r!==i)return i-r;let l=a.indexOf(t),o=a.indexOf(n);return l!==o?l-o:t.localeCompare(n)})(l,e,t))}function c(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function f(e,t){let r=t.level||1,i=t.listItem||"normal",o="string"==typeof t.listItem;if(l(e)&&(e.level||1)===r&&o&&(e.listItem||"normal")===i)return e;if(!("children"in e))return;let s=e.children[e.children.length-1];return s&&!n(s)?f(s,t):void 0}var d=e.i(775364);let p={textDecoration:"underline"},h=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,m=e=>h(`block type "${e}"`,"types");function g(e){console.warn(e)}let y={display:"none"},x={types:{},block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,t.jsx)("h1",{children:e}),h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),h5:({children:e})=>(0,t.jsx)("h5",{children:e}),h6:({children:e})=>(0,t.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,t.jsx)("em",{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),underline:({children:e})=>(0,t.jsx)("span",{style:p,children:e}),"strike-through":({children:e})=>(0,t.jsx)("del",{children:e}),link:({children:e,value:n})=>(0,t.jsx)("a",{href:null==n?void 0:n.href,children:e})},list:{number:({children:e})=>(0,t.jsx)("ol",{children:e}),bullet:({children:e})=>(0,t.jsx)("ul",{children:e})},listItem:({children:e})=>(0,t.jsx)("li",{children:e}),hardBreak:()=>(0,t.jsx)("br",{}),unknownType:({value:e,isInline:n})=>{let r=m(e._type);return n?(0,t.jsx)("span",{style:y,children:r}):(0,t.jsx)("div",{style:y,children:r})},unknownMark:({markType:e,children:n})=>(0,t.jsx)("span",{className:`unknown__pt__mark__${e}`,children:n}),unknownList:({children:e})=>(0,t.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,t.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,t.jsx)("p",{children:e})};function v(e,t,n){let r=t[n],i=e[n];return"function"==typeof r||r&&"function"==typeof i?r:r?{...i,...r}:i}function b(e){let{node:t,index:r,isInline:i,renderNode:l}=e,o=(function(e){var t;let{children:r}=e,i=e.markDefs??[];if(!r||!r.length)return[];let l=r.map(u),o={_type:"@span",children:[],markType:"<unknown>"},s=[o];for(let e=0;e<r.length;e++){let o=r[e];if(!o)continue;let a=l[e]||[],u=1;if(s.length>1)for(;u<s.length;u++){let e=(null==(t=s[u])?void 0:t.markKey)||"",n=a.indexOf(e);if(-1===n)break;a.splice(n,1)}let c=(s=s.slice(0,u))[s.length-1];if(c){for(let e of a){let t=null==i?void 0:i.find(t=>t._key===e),n=t?t._type:e,r={_type:"@span",_key:o._key,children:[],markDef:t,markType:n,markKey:e};c.children.push(r),s.push(r),c=r}if(n(o)){let e=o.text.split(`
2`);for(let t=e.length;t-- >1;)e.splice(t,0,`
3`);c.children=c.children.concat(e.map(e=>
3({_type:"@text",text:e})))}else c.children=c.children.concat(o)}}return o.children})(t).map((e,t)=>l({node:e,isInline:!0,index:t,renderNode:l}));return{_key:t._key||`block-${r}`,children:o,index:r,isInline:i,node:t}}function w(){}e.s(["PortableText",0,function({value:e,components:n,listNestingMode:a,onMissingComponent:u=g}){let p=u||w,y=function(e,t){let n,r=[];for(let s=0;s<e.length;s++){let a=e[s];if(a){var l,o;if(!i(a)){r.push(a),n=void 0;continue}if(!n){n=c(a,s,t),r.push(n);continue}if(l=a,o=n,(l.level||1)===o.level&&l.listItem===o.listItem){n.children.push(a);continue}if((a.level||1)>n.level){let e=c(a,s,t);if("html"===t){let t=n.children[n.children.length-1],r={...t,children:[...t.children,e]};n.children[n.children.length-1]=r}else n.children.push(e);n=e;continue}if((a.level||1)<n.level){let e=r[r.length-1],i=e&&f(e,a);if(i){(n=i).children.push(a);continue}n=c(a,s,t),r.push(n);continue}if(a.listItem!==n.listItem){let e=r[r.length-1],i=e&&f(e,{level:a.level||1});if(i&&i.listItem===a.listItem){(n=i).children.push(a);continue}n=c(a,s,t),r.push(n);continue}console.warn("Unknown state encountered for block",a),r.push(a)}}return r}(Array.isArray(e)?e:[e],a||"html"),k=(0,d.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:i,marks:l,types:o,...s}=t;return{...e,block:v(e,t,"block"),list:v(e,t,"list"),listItem:v(e,t,"listItem"),marks:v(e,t,"marks"),types:v(e,t,"types"),...s}}(x,n):x,[n]),j=(0,d.useMemo)(()=>{var e,n;return e=k,n=p,function a(u){var c,f,d,p,g,y,x,v;let w,k,{node:j,index:I,isInline:_}=u,S=j._key||`node-${I}`;return l(j)?function(r,i,l){let o=r.children.map((e,t)=>a({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1})),s=e.list,u=("function"==typeof s?s:s[r.listItem])||e.unknownList;if(u===e.unknownList){let e=r.listItem||"bullet";n(h(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(u,{value:r,index:i,isInline:!1,renderNode:a,children:o},l)}(j,I,S):i(j)?function(r,i,l){let o=b({node:r,index:i,isInline:!1,renderNode:a}),s=e.listItem,u=("function"==typeof s?s:s[r.listItem])||e.unknownListItem;if(u===e.unknownListItem){let e=r.listItem||"bullet";n(h(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let c=o.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;c=a({node:t,index:i,isInline:!1})}return(0,t.jsx)(u,{value:r,index:i,isInline:!1,renderNode:a,children:c},l)}(j,I,S):o(j)?function(r,i){let{markDef:l,markType:u,markKey:c}=r,f=e.marks[u]||e.unknownMark,d=r.children.map((e,t)=>a({node:e,index:t,isInline:!0}));return f===e.unknownMark&&n(h(`mark type "${u}"`,"marks"),{nodeType:"mark",type:u}),(0,t.jsx)(f,{text:function e(t){let n="";return t.children.forEach(t=>{s(t)?n+=t.text:o(t)&&(n+=e(t))}),n}(r),value:l,markType:u,markKey:c,renderNode:a,children:d},i)}(j,S):j._type in e.types?(c=j,f=I,d=S,p=_,(w=e.types[c._type])?(0,t.jsx)(w,{value:c,isInline:p,index:f,renderNode:a},d):null):r(j)?function(r,i,l,o){let{_key:s,...u}=b({node:r,index:i,isInline:o,renderNode:a}),c=u.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[c])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&n(h(`block style "${c}"`,"block"),{nodeType:"blockStyle",type:c}),(0,t.jsx)(f,{...u,value:u.node,renderNode:a},l)}(j,I,S,_):s(j)?function(n,r){if(n.text===`
4`){let n=e.hardBreak;return n?(0,t.jsx)(n,{},r):`
5`}return n.text}(j,S):(g=j,y=I,x=S,v=_,n(m(g._type),{nodeType:"block",type:g._type}),k=e.unknownType,(0,t.jsx)(k,{value:g,isInline:v,index:y,renderNode:a},x))}},[k,p]),I=y.map((e,t)=>j({node:e,index:t,isInline:!1,renderNode:j}));return(0,t.jsx)(t.Fragment,{children:I})}],722990)},292098,660830,e=>{"use strict";let t=Symbol("clean"),n=[],r=0,i=0;e.s(["n",0,t,"t",0,e=>{let t=[],l={get:()=>(l.lc||l.listen(()=>{})(),l.value),lc:0,listen:e=>(l.lc=t.push(e),()=>{for(let t=r+4;t<n.length;)n[t]===e?n.splice(t,4):t+=4;let i=t.indexOf(e);~i&&(t.splice(i,1),--l.lc||l.off())}),notify(e,o){i++;let s=!n.length;for(let r of t)n.push(r,l.value,e,o);if(s){for(r=0;r<n.length;r+=4)n[r](n[r+1],n[r+2],n[r+3]);n.length=0}},off(){},set(e){let t=l.value;t!==e&&(l.value=e,l.notify(t))},subscribe(e){let t=l.listen(e);return e(l.value),t},value:e};return l}],292098);let l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,s=/^\d*:\d*$/;function a(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function u(e){return"string"==typeof e?o.test(e.trim()):"object"==typeof e&&"_key"in e}function c(e){if("string"==typeof e&&s.test(e))return!0;
5if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}function f(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(l);if(!t)throw Error("Invalid path string");return t.map(d)}function d(e){return a(e)?Number(e.replace(/[^\d]/g,"")):u(e)?{_key:e.match(o)[1]}:c(e)?function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e):e}var p=Object.freeze({__proto__:null,fromString:f,get:function(e,t,n){let r="string"==typeof t?f(t):t;if(!Array.isArray(r))throw Error("Path must be an array or a string");let i=e;for(let e=0;e<r.length;e++){let t=r[e];if(a(t)){if(!Array.isArray(i))return n;i=i[t]}if(u(t)){if(!Array.isArray(i))return n;i=i.find(e=>e._key===t._key)}if("string"==typeof t&&(i="object"==typeof i&&null!==i?i[t]:void 0),typeof i>"u")return n}return i},isIndexSegment:a,isIndexTuple:c,isKeySegment:u,reKeySegment:o,toString:function(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,n)=>{let r=typeof t;if("number"===r)return`${e}[${t}]`;if("string"===r)return`${e}${0===n?"":"."}${t}`;if(u(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[n,r]=t;return`${e}[${n}:${r}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}});let h="drafts.",m="versions.";function g(e){return e.startsWith(h)}function y(e){return e.startsWith(m)}function x(e){return y(e)?e.split(".").slice(2).join("."):g(e)?e.slice(h.length):e}let v={"\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","'":"\\'","\\":"\\\\"},b={"\\f":"\f","\\n":`
6`,"\\r":"\r","\\t":"	","\\'":"'","\\\\":"\\"};function w(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}e.s(["getDraftId",0,function(e){return y(e)?h+x(e):g(e)?e:h+e},"getPublishedId",0,x,"getVersionFromId",0,function(e){if(!y(e))return;let[t,n]=e.split(".");return n},"getVersionId",0,function(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${m}${t}.${x(e)}`},"isDraftId",0,g,"isVersionId",0,y,"jsonPathToStudioPath",0,function(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(""!==e._key)return{_key:e._key};if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})},"resolveEditInfo",0,function(e){let{resultSourceMap:t,resultPath:n}=e,{mapping:r,pathSuffix:i}=function(e,t){var n;if(!t?.mappings)return;let r=(n=w(e),`$${n.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>v[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>v[e])}')]`:`[${e._index}]`).join("")}`);if(void 0!==t.mappings[r])return{mapping:t.mappings[r],matchedPath:r,pathSuffix:""};let i=w(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>v[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>v[e])}')]`:`[${e._index}]`);for(let e=i.length-1;e>=0;e--){let n=`$${i.slice(0,e).join("")}`,l=t.mappings[n];if(l){let e=r.substring(n.length);return{mapping:l,matchedPath:n,pathSuffix:e}}}}(n,t)||{};if(!r||"literal"===r.source.type||"unknown"===r.source.type)return;let l=t.documents[r.source.document],o=t.paths[r.source.path];if(l&&o){var s;let t,{baseUrl:n,workspace:r,tool:a}=("/"!==(t="string"==typeof(s="function"==typeof e.studioUrl?e.studioUrl(l):e.studioUrl)?s:s.baseUrl)&&(t=t.replace(/\/$/,"")),"string"==typeof s?{baseUrl:t}:{...s,baseUrl:t});if(!n)return;let{_id:u,_type:c,_projectId:f,_dataset:d}=l;return{baseUrl:n,workspace:r,tool:a,id:u,type:c,path:function(e){let t,n=[],r=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=r.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>b[e]);n.push(e);continue}if(void 0!==t[2]){n.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>b[e]);n.push({_key:e,_index:-1});continue}}return n}(o+i),projectId:f,dataset:d}}},"studioPath",0,p,"studioPathToJsonPath",0,function(e){return("string"==typeof e?f(e):e).map(e=>{var t;if("string"==typeof e||"number"==typeof e)return e;if(Array.isArray(e))throw Error(`IndexTuple segments aren't supported:${JSON.stringify(e)}`);
6if("object"==typeof(t=e)&&"_key"in t&&"_index"in t)return e;if(e._key)return{_key:e._key,_index:-1};throw Error(`invalid segment:${JSON.stringify(e)}`)})}],660830)},224468,e=>{"use strict";var t=e.i(775364);function n(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function r(e,t){let i=Object.keys(e),l=Object.keys(t);return i.length===l.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&i.every(i=>{let l=e[i],o=t[i];return"function"==typeof l?`${l}`==`${o}`:n(l)&&n(o)?r(l,o):l===o})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function o(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return Math.abs(e)}function c(e){return Math.sign(e)}function f(e){return m(e).map(Number)}function d(e){return e[p(e)]}function p(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function m(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function y(){let e=[],t={add:function(n,r,i,l={passive:!0}){let o;return"addEventListener"in n?(n.addEventListener(r,i,l),o=()=>n.removeEventListener(r,i,l)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=u(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function v(e){let t=e;function n(e){return l(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function b(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,l=!1;return{clear:function(){!l&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(l)return;let o=Math.round(100*e.direction(t))/100;o!==i&&(r.transform=n(o),i=o)},toggleActive:function(e){l=!e}}}let w={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function k(e,t,n){let r,i,j,I,_,S,N,A,$=e.ownerDocument,E=$.defaultView,P=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(m(n).forEach(r=>{let i=t[r],l=n[r],o=a(i)&&a(l);t[r]=o?e(i,l):l}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=m(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>m(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(E),T=(A=[],{init:function(e,t){return(A=t.filter(({options:e})=>!1!==P.optionsAtMedia(e).active)).forEach(t=>t.init(e,P)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){A=A.filter(e=>e.destroy())}}),L=y(),O=(i={},j={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),j},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),j},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),j},clear:function(){i={}}}),{mergeOptions:C,optionsAtMedia:D,optionsMediaQueries:M}=P,{on:z,off:B,emit:F}=O,U=!1,V=C(w,k.globalOptions),R=C(V),H=[];function q(t,n){U||(R=D(V=C(V,t)),H=n||H,function(){let{container:t,slides:n}=R;S=(o(t)?e.querySelector(t):t)||e.children[0];let r=o(n)?S.querySelectorAll(n):n;N=[].slice.call(r||S.children)}(),I=function t(n){let r=function(e,t,n,r,i,a,w){var k,j;let I,_,S,N,A,$,E,P,T,L,O,C,D,M,{align:z,axis:B,direction:F,startIndex:U,loop:V,duration:R,dragFree:H,dragThreshold:q,inViewThreshold:W,slidesToScroll:J,skipSnaps:K,containScroll:X,watchResize:Y,watchSlides:G,watchDrag:Q,watchFocus:Z}=a,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(_="rtl"===F,N=(S="y"===B)||!_?1:-1,A=S?"top":_?"right":"left",$=S?"bottom":_?"left"
6:"right",{scroll:S?"y":"x",cross:S?"x":"y",startEdge:A,endEdge:$,measureSize:function(e){let{height:t,width:n}=e;return S?t:n},direction:function(e){return e*N}}),ei=er.measureSize(et),el={measure:function(e){return e/100*ei}},eo=(k=z,j=ei,I={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return o(k)?I[k](e):k(j,e,t)}}),es=!V&&!!X,{slideSizes:ea,slideSizesWithGaps:eu,startGap:ec,endGap:ef}=function(e,t,n,r,i,l){let{measureSize:o,startEdge:s,endEdge:a}=e,c=n[0]&&i,f=function(){if(!c)return 0;let e=n[0];return u(t[s]-e[s])}(),h=c?parseFloat(l.getComputedStyle(d(r)).getPropertyValue(`margin-${a}`)):0,m=n.map(o),g=n.map((e,t,n)=>{let r=t===p(n);return t?r?m[t]+h:n[t+1][s]-e[s]:m[t]+f}).map(u);return{slideSizes:m,slideSizesWithGaps:g,startGap:f,endGap:h}}(er,et,en,n,V||!!X,i),ed=function(e,t,n,r,i,o,s,a){let{startEdge:c,endEdge:h,direction:m}=e,g=l(n);return{groupSlides:function(e){return g?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,l,f)=>{let g=d(n)||0,y=l===p(e),x=i[c]-o[g][c],v=i[c]-o[l][h],b=r||0!==g?0:m(s),w=u(v-(!r&&y?m(a):0)-(x+b));return f&&w>t+2&&n.push(l),y&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,J,V,et,en,ec,ef),{snaps:ep,snapsAligned:eh}=function(e,t,n,r,i){let{startEdge:l,endEdge:o}=e,{groupSlides:s}=i,a=s(r).map(e=>d(e)[o]-e[0][l]).map(u).map(t.measure),c=r.map(e=>n[l]-e[l]).map(e=>-u(e)),f=s(c).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:c,snapsAligned:f}}(er,eo,et,en,ed),em=-d(ep)+d(eu),{snapsContained:eg,scrollContainLimit:ey}=function(e,t,n,r){let i,l,o=x(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=o,l=o.constrain(e),s=t===p(n);return t?s||function(e,t){return 1>=u(e-t)}(r,l)?r:function(e,t){return 1>=u(e-t)}(i,l)?i:l:i}).map(e=>parseFloat(e.toFixed(3))),a=(i=s[0],l=d(s),x(s.lastIndexOf(i),s.indexOf(l)+1));return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return s;let{min:n,max:i}=a;return s.slice(n,i)}(),scrollContainLimit:a}}(ei,em,eh,X),ex=es?eg:eh,{limit:ev}=(E=ex[0],{limit:x(V?E-em:d(ex),E)}),eb=function e(t,n,r){let{constrain:i}=x(0,t),l=t+1,o=s(n);function s(e){return r?u((l+e)%l):i(e)}function a(){return e(t,o,r)}let c={get:function(){return o},set:function(e){return o=s(e),c},add:function(e){return a().set(o+e)},clone:a};return c}(p(ex),U,V),ew=eb.clone(),ek=f(n),ej=function(e,t,n,r){let i=y(),l=1e3/60,o=null,s=0,a=0;function u(e){if(!a)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=l;)n(),s-=l;r(s/l),a&&(a=t.requestAnimationFrame(u))}function c(){t.cancelAnimationFrame(a),o=null,s=0,a=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(o=null,s=0)})},destroy:function(){c(),i.clear()},start:function(){a||(a=t.requestAnimationFrame(u))},stop:c,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eM),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:l,slideLooper:o,dragHandler:s,animation:a,eventHandler:u,scrollBounds:c,options:{loop:f}},d)=>{let p=e.settled(),h=!c.shouldConstrain(),m=f?p:p&&h,g=m&&!s.pointerDown();g&&a.stop();let y=n.get()*d+i.get()*(1-d);r.set(y),f&&(l.loop(e.direction()),o.loop()),t.to(r.get()),g&&u.emit("settle"),m||u.emit("scroll")})(eM,e)),eI=ex[eb.get()],e_=v(eI),eS=v(eI),eN=v(eI),eA=v(eI),e$=function(e,t,n,r,i){let l=0,o=0,s=i,a=.68,f=e.get(),d=0;function p(e){return s=e,m}function h(e){return a=e,m}let m={direction:function(){return o},duration:function(){return s},velocity:function(){return l},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),l+=t/s,l*=a,f+=l,e.add(l),i=f-d):(l=0,n.set(r),e.set(r),i=t),o=c(i),d=f,m},settled:function(){return .001>u(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return p(i)},useFriction:h,useDuration:p};return m}(e_,eN,eS,eA,R),eE=function(e,t,n,r,i){let{reachedAny:l,removeOffset:o,constrain:s}=r;function a(e){return e.concat().sort((e,t)=>u(e)-u(t))[0]}function f(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return a(i);let l=i.filter(e=>c(e)===r);return l.length?a(l):d(i)-n}return{byDistance:function(n,r){let a=i.get()+n,{index:c,distance:d}=function(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:f(e-r,0),index:t})).sort((e,t)=>
6u(e.diff)-u(t.diff))[0];return{index:i,distance:r}}(a),p=!e&&l(a);if(!r||p)return{index:c,distance:n};let h=n+f(t[c]-d,0);return{index:c,distance:h}},byIndex:function(e,n){let r=f(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:f}}(V,ex,em,ev,eA),eP=function(e,t,n,r,i,l,o){function s(i){let s=i.distance,a=i.index!==t.get();l.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(i.index),o.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ej,eb,ew,e$,eE,eA,w),eT=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ev),eL=y(),eO=(T={},L=null,O=null,C=!1,{init:function(){P=new IntersectionObserver(e=>{C||(e.forEach(e=>{T[n.indexOf(e.target)]=e}),L=null,O=null,w.emit("slidesInView"))},{root:t.parentElement,threshold:W}),n.forEach(e=>P.observe(e))},destroy:function(){P&&P.disconnect(),C=!0},get:function(e=!0){if(e&&L)return L;if(!e&&O)return O;let t=m(T).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=T[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(L=t),e||(O=t),t}}),{slideRegistry:eC}=function(e,t,n,r,i,l){let o,{groupSlides:s}=i,{min:a,max:u}=r;return{slideRegistry:(o=s(l),1===n.length?[l]:e&&"keepSnaps"!==t?o.slice(a,u).map((e,t,n)=>{let r=t===p(n);return t?r?h(p(l)-d(n)[0]+1,d(n)[0]):e:h(d(n[0])+1)}):o)}}(es,X,ex,ey,ed,ek),eD=function(e,t,n,r,i,o,a,u){let c={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(p){u&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(s(u)||u(p,t))&&function(t){if(new Date().getTime()-f>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(d)},c)}))}}}(e,n,eC,eP,e$,eL,w,Z),eM={ownerDocument:r,ownerWindow:i,eventHandler:w,containerRect:et,slideRects:en,animation:ej,axis:er,dragHandler:function(e,t,n,r,i,l,o,a,f,d,p,h,m,v,b,w,k,j){let{cross:I,direction:_}=e,S=["INPUT","SELECT","TEXTAREA"],N={passive:!1},A=y(),$=y(),E=x(50,225).constrain(v.measure(20)),P={mouse:300,touch:400},T={mouse:500,touch:600},L=b?43:25,O=!1,C=0,D=0,M=!1,z=!1,B=!1,F=!1;function U(e){if(!g(e,r)&&e.touches.length>=2)return V(e);let t=l.readPoint(e),n=l.readPoint(e,I),o=u(t-C),s=u(n-D);if(!z&&!F&&(!e.cancelable||!(z=o>s)))return V(e);let c=l.pointerMove(e);o>w&&(B=!0),d.useFriction(.3).useDuration(.75),a.start(),i.add(_(c)),e.preventDefault()}function V(e){var t;let n,r,i=p.byDistance(0,!1).index!==h.get(),o=l.pointerUp(e)*(b?T:P)[F?"mouse":"touch"],s=(t=_(o),n=h.add(-1*c(t)),r=p.byDistance(t,!b).distance,b||u(t)<E?r:k&&i?.5*r:p.byIndex(n.get(),0).distance),a=function(e,t){var n,r;if(0===e||0===t||u(e)<=u(t))return 0;let i=(n=u(e),r=u(t),u(n-r));return u(i/e)}(o,s);z=!1,M=!1,$.clear(),d.useDuration(L-10*a).useFriction(.68+a/50),f.distance(s,!b),F=!1,m.emit("pointerUp")}function R(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){j&&A.add(t,"dragstart",e=>e.preventDefault(),N).add(t,"touchmove",()=>void 0,N).add(t,"touchend",()=>void 0).add(t,"touchstart",a).add(t,"mousedown",a).add(t,"touchcancel",V).add(t,"contextmenu",V).add(t,"click",R,!0);function a(a){(s(j)||j(e,a))&&function(e){let s,a=g(e,r);if((F=a,B=b&&a&&!e.buttons&&O,O=u(i.get()-o.get())>=2,!a||0===e.button)&&(s=e.target.nodeName||"",!S.includes(s))){let r;M=!0,l.pointerDown(e),d.useFriction(0).useDuration(0),i.set(o),r=F?n:t,$.add(r,"touchmove",U,N).add(r,"touchend",V).add(r,"mousemove",U,N).add(r,"mouseup",V),C=l.readPoint(e),D=l.readPoint(e,I),m.emit("pointerDown")}}(a)}},destroy:function(){A.clear(),$.clear()},pointerDown:function(){return M}}}(er,e,r,i,eA,function(e,t){let n,r;function i(e){return e.timeStamp}function l(n,r){let i=r||e.scroll,l=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[l]}return{pointerDown:function(e){return n=e,r=e,l(e)},pointerMove:function(e){let t=l(e)-l(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=l(r)-l(n),o=i(e)-i(n),s=i(e)-i(r)>170,a=t/o;return o&&!s&&u(a)>.1?a:0},readPoint:l}}(er,i),e_,ej,eP,e$,eE,eb,w,el,H,q,K,Q),eventStore:eL,percentOfView:el,index:eb,indexPrevious:ew,limit:ev,location:e_,offsetLocation:eN,previousLocation:eS,options:a,resizeHandler:function(e,t,n,r,i,l,o){let a,c,f=[e].concat(r),d=[],p=!1;function h(e){return i.measureSize(o.measure(e))}return{init:function(i){l&&(c=h(e),d=r.map(h),a=new ResizeObserver(n=>{(s(l)||l(i,n))&&function(n){for(let l of n){if(p)return;let n=l.target===e,o=r.indexOf(l.target),s=n?c:d[o];if(u(h(n?e:r[o])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
6{f.forEach(e=>a.observe(e))}))},destroy:function(){p=!0,a&&a.disconnect()}}}(t,w,i,n,er,Y,ee),scrollBody:e$,scrollBounds:function(e,t,n,r,i){let l=i.measure(10),o=i.measure(50),s=x(.1,.99),a=!1;function c(){return!a&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let a=e.reachedMin(t.get())?"min":"max",f=u(e[a]-t.get()),d=n.get()-t.get(),p=s.constrain(f/o);n.subtract(d*p),!i&&u(d)<l&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(ev,eN,eA,e$,el),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:l}=x(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?l(n.get()):-1===t&&i(n.get())))return;let o=-1*t*e;r.forEach(e=>e.add(o))}}}(em,ev,eN,[e_,eN,eS,eA]),scrollProgress:eT,scrollSnapList:ex.map(eT.get),scrollSnaps:ex,scrollTarget:eE,scrollTo:eP,slideLooper:function(e,t,n,r,i,l,o,s,a){let u=f(i),c=f(i).reverse(),d=m(h(c,o[0]),n,!1).concat(m(h(u,t-o[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function h(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function m(i,o,u){let c=l.map((e,n)=>({start:e-r[n]+.5+o,end:e+t-.5+o}));return i.map(t=>{let r=u?0:-n,i=u?n:0,l=c[t][u?"end":"start"];return{index:t,loopPoint:l,slideLocation:v(-1),translate:b(e,a[t]),target:()=>s.get()>l?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(u.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(er,ei,em,ea,eu,ep,ex,eN,n),slideFocus:eD,slidesHandler:(M=!1,{init:function(e){G&&(D=new MutationObserver(t=>{!M&&(s(G)||G(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),w.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){D&&D.disconnect(),M=!0}}),slidesInView:eO,slideIndexes:ek,slideRegistry:eC,slidesToScroll:ed,target:eA,translate:b(er,t)};return eM}(e,S,N,$,E,n,O);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(R),M([V,...H.map(({options:e})=>e)]).forEach(e=>L.add(e,"change",W)),R.active&&(I.translate.to(I.location.get()),I.animation.init(),I.slidesInView.init(),I.slideFocus.init(Y),I.eventHandler.init(Y),I.resizeHandler.init(Y),I.slidesHandler.init(Y),I.options.loop&&I.slideLooper.loop(),S.offsetParent&&N.length&&I.dragHandler.init(Y),_=T.init(Y,H)))}function W(e,t){let n=X();J(),q(C({startIndex:n},e),t),O.emit("reInit")}function J(){I.dragHandler.destroy(),I.eventStore.clear(),I.translate.clear(),I.slideLooper.clear(),I.resizeHandler.destroy(),I.slidesHandler.destroy(),I.slidesInView.destroy(),I.animation.destroy(),T.destroy(),L.clear()}function K(e,t,n){R.active&&!U&&(I.scrollBody.useBaseFriction().useDuration(!0===t?0:R.duration),I.scrollTo.index(e,n||0))}function X(){return I.index.get()}let Y={canScrollNext:function(){return I.index.add(1).get()!==X()},canScrollPrev:function(){return I.index.add(-1).get()!==X()},containerNode:function(){return S},internalEngine:function(){return I},destroy:function(){U||(U=!0,L.clear(),J(),O.emit("destroy"),O.clear())},off:B,on:z,emit:F,plugins:function(){return _},previousScrollSnap:function(){return I.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){K(I.index.add(1).get(),e,-1)},scrollPrev:function(e){K(I.index.add(-1).get(),e,1)},scrollProgress:function(){return I.scrollProgress.get(I.offsetLocation.get())},scrollSnapList:function(){return I.scrollSnapList},scrollTo:K,selectedScrollSnap:X,slideNodes:function(){return N},slidesInView:function(){return I.slidesInView.get()},slidesNotInView:function(){return I.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>O.emit("init"),0),Y}function j(e={},n=[]){let l=(0,t.useRef)(e),o=(0,t.useRef)(n),[s,a]=(0,t.useState)(),[u,c]=(0,t.useState)(),f=(0,t.useCallback)(()=>{s&&s.reInit(l.current,o.current)},[s]);return(0,t.useEffect)(()=>{r(l.current,e)||(l.current=e,f())},[e,f]),(0,t.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),l=i(t);return n.every((e,t)=>r(e,l[t]))}(o.current,n)&&(o.current=n,f())},[n,f]),(0,t.useEffect)(()=>
6{if("u">typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=j.globalOptions;let e=k(u,l.current,o.current);return a(e),()=>e.destroy()}a(void 0)},[u,a]),[c,s]}k.globalOptions=void 0,j.globalOptions=void 0,e.s(["default",0,j],224468)},676782,e=>{"use strict";var t=e.i(754702),n=e.i(968765);let r=({src:e,width:t,quality:n})=>{let r=new URL(e);if(r.searchParams.set("auto","format"),r.searchParams.has("fit")||r.searchParams.set("fit",r.searchParams.has("h")?"min":"max"),r.searchParams.has("h")&&r.searchParams.has("w")){let e=parseInt(r.searchParams.get("h"),10),n=parseInt(r.searchParams.get("w"),10);r.searchParams.set("h",Math.round(e/n*t).toString())}return r.searchParams.set("w",t.toString()),n&&r.searchParams.set("q",n.toString()),r.href};e.s(["Image",0,function(e){let i,{loader:l,src:o,...s}=e;if(l)throw TypeError("The `loader` prop is not supported on `Image` components. Use `next/image` directly to use a custom loader.");try{i=new URL(o),e.height&&i.searchParams.set("h",`${e.height}`),e.width&&i.searchParams.set("w",`${e.width}`)}catch(e){throw TypeError("The `src` prop must be a valid URL to an image on the Sanity Image CDN.",{cause:e})}return(0,n.jsx)(t.default,{...s,src:i.toString(),loader:r})},"imageLoader",0,r])},244731,e=>{"use strict";var t=e.i(968765),n=e.i(23219),r=e.i(775364),i=e.i(551360),l=e.i(792266);let o=()=>(0,t.jsx)("svg",{width:"12",height:"11",viewBox:"6 5 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("g",{opacity:"0.4",children:(0,t.jsx)("path",{d:"M10 16L14 12L10 8",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})});e.s(["default",0,function(e){let s=[{name:"Home",href:"/"},...e.links];return(0,t.jsx)("nav",{className:(0,i.cn)("flex",e.className),"aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex flex-wrap items-baseline gap-x-2",children:s.map((e,a)=>(0,t.jsxs)(r.default.Fragment,{children:[a>0&&(0,t.jsx)("li",{children:(0,t.jsx)(o,{})}),(0,t.jsx)("li",{children:e.href&&a+1!==s.length?(0,t.jsx)(n.default,{href:e.href,className:"opacity-40",children:(0,t.jsx)(l.default,{children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.name}})})}):(0,t.jsx)("p",{className:(0,i.cn)(a+1!==s.length&&"opacity-40"),dangerouslySetInnerHTML:{__html:e.name}})})]},a))})})}])},725503,e=>{"use strict";var t=e.i(968765),n=e.i(22289),r=e.i(163391);e.s(["default",0,({faqs:e})=>{if(!e||0===e.length)return null;let i={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question||"",acceptedAnswer:{"@type":"Answer",text:e.answerStyled?(0,n.default)(e.answerStyled):""}}))};return(0,t.jsx)(r.Schema,{data:i})}])},419264,e=>{"use strict";var t=e.i(968765),n=e.i(510712),r=e.i(53097),i=e.i(273443);e.s(["default",0,e=>{let{faqs:l}=e,o={block:{h3:({children:e})=>(0,t.jsx)(n.default,{level:3,size:5,className:"pt-6",children:e})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"col-right mt-4",children:(0,t.jsx)("div",{className:"w-full max-w-lg",children:(0,t.jsx)(i.Accordion,{className:"w-full divide-y",transition:!0,transitionTimeout:200,children:l?.map(e=>(0,t.jsx)(i.AccordionItem,{header:e.question??"no-question",children:e.answerStyled&&(0,t.jsx)(i.AccordionContent,{className:"*:mt-0",children:(0,t.jsx)(r.default,{content:e.answerStyled,individualComponents:o})})},e._id))})})})})}])},965967,e=>{"use strict";e.s(["PageHeader",()=>f,"leadStyle",()=>c]);var t=e.i(968765),n=e.i(754702),r=e.i(775364),i=e.i(468912),l=e.i(169724),o=e.i(244731),s=e.i(510712),a=e.i(941410),u=e.i(53097);let c="max-w-xl pt-4 text-xl md:pt-8 pb-8";function f(e){let r=d(e.title)?e.title:(0,t.jsx)(u.default,{content:e.title}),f=d(e.lead)?e.lead:(0,t.jsx)(u.default,{spreadParagraphs:!1,content:e.lead}),p=e.links?.some(e=>"Chatbots"===e.name);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("header",{className:"full mt-[-8rem] min-h-fit animate-gradient items-center bg-gradient-to-br from-primary-light to-primary-dark bg-300% pb-20 pt-32 text-base-white md:pb-24 md:pt-44",children:[(0,t.jsxs)("div",{className:"content",children:[e.links&&(0,t.jsx)(o.default,{className:"pb-2 md:pb-6",links:e.links}
6),(0,t.jsxs)("div",{className:"grid-cols-5 gap-4 lg:grid",children:[e.title&&(0,t.jsx)(s.default,{className:p?"col-span-4":"col-span-5",level:1,children:r}),(0,t.jsx)("div",{className:c+" col-span-4 row-start-2",children:f}),p&&(0,t.jsx)(n.default,{className:"row-span-2 mx-auto w-52 place-self-end pb-24 max-lg:hidden lg:rotate-12",src:a.default,alt:"10 Jahre Apptiva Chatbots"}),e.callToAction?(0,t.jsxs)("div",{className:"col-span-5 flex flex-col gap-4",children:[(0,t.jsx)(i.default,{mode:"inline-input",origin:"page-header",variant:"white"}),e.callToAction]}):(0,t.jsx)(i.default,{mode:"inline-input",origin:"page-header",variant:"white",className:"col-span-5"})]}),e.image&&"object"==typeof e.image&&(0,t.jsx)("div",{className:"flex justify-center pb-4 pt-16",children:(0,t.jsx)(l.default,{image:e.image})})]}),e.children]})})}function d(e){return(0,r.isValidElement)(e)||"string"==typeof e||"boolean"==typeof e||"number"==typeof e}},169724,904234,e=>{"use strict";var t=e.i(968765),n=e.i(998701),r=e.i(676782),i=e.i(258719);let l=(0,e.i(778415).createImageUrlBuilder)({projectId:i.projectId||"",dataset:i.dataset||""});function o(e){return l.image(e)}e.s(["urlForImage",0,o],904234);e.s(["default",0,function({image:e,className:l,size:s,sizes:a}){var u;if(!("object"==typeof(u=e)&&null!==u&&"asset"in u&&u.asset))return null;let{width:c,height:f}=(0,n.getImageDimensions)(e);return(0,t.jsx)(r.Image,{className:l,src:o(e).url(),alt:e.alt??"",width:c,height:f,placeholder:function(e,t,r){if(!(t<40)&&!(r<40)){let l,o,s;return(0,n.getImageAsset)(e,{projectId:i.projectId,dataset:i.dataset}).metadata.lqip??`data:image/svg+xml;base64,${l=t,o=r,s=`
7<svg width="${l}" height="${o}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
8  <defs>
9    <linearGradient id="g">
10      <stop stop-color="#eee" offset="20%" />
11      <stop stop-color="#ddd" offset="50%" />
12      <stop stop-color="#eee" offset="70%" />
13    </linearGradient>
14  </defs>
15  <rect width="${l}" height="${o}" fill="#eee" />
16  <rect id="r" width="${l}" height="${o}" fill="url(#g)" />
17  <animate xlink:href="#r" attributeName="x" from="-${l}" to="${l}" dur="1s" repeatCount="indefinite"  />
18</svg>`,window.btoa(s)}`}}(e,c,f),sizes:function(e,t){if(e)return e;switch(t){case"content":case"popout":return"(min-width: 1200px) 1200px, 100vw";case"full":return"(min-width: 1200px) 100vw, 100vw";default:return"(min-width: 1200px) 600px, (min-width: 768px) 300px, 100vw"}}(a,s)})}],169724)},941410,e=>{"use strict";let t={src:e.i(752691).default,width:218,height:218,blurWidth:0,blurHeight:0};e.s(["default",0,t])},53097,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(968765),n=e.i(722990),r=e.i(23219),i=e.i(551360),l=e.i(510712),o=e.i(965967),s=e.i(169724),a=e.i(519455),u=e.i(884412),c=e.i(792266);let f=({content:e,individualComponents:f,spreadParagraphs:d=!1,isHero:p=!1,className:h=""})=>{if(!e)return null;let m={types:{imageWithAlt:e=>(0,t.jsx)(s.default,{image:e.value,size:"content"}),cta:e=>(0,t.jsx)("div",{className:"py-4 md:py-8",children:(0,t.jsx)(r.default,{href:e.value?.href,children:(0,t.jsx)(a.default,{intent:"secondary",children:e.value?.name})})})},marks:{underline:({children:e})=>(0,t.jsx)(u.default,{className:h,children:e}),link:({value:e,children:n})=>{let i=e?.href;if(!i)return n;let l=i.startsWith("http")?"_blank":void 0;return l?(0,t.jsx)("a",{href:i,target:l,rel:"noindex nofollow",children:(0,t.jsx)(c.default,{children:n})}):(0,t.jsx)(r.default,{href:i,children:(0,t.jsx)(c.default,{children:n})})}},list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:(0,i.cn)("mt-xl space-y-5 pl-4",h),children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:(0,i.cn)("list-arrow pl-8 marker:text-xl",h),children:e})},block:{h1:({children:e})=>(0,t.jsx)(l.default,{level:1,children:e}),h2:({children:e})=>(0,t.jsx)(l.default,{level:2,children:e}),h3:({children:e})=>(0,t.jsx)(l.default,{level:3,children:e}),h4:({children:e})=>(0,t.jsx)(l.default,{level:4,children:e}),normal:({children:e})=>(0,t.jsx)("div",{className:(0,i.cn)("whitespace-break-spaces py-1",h,d?"py-4":"",p?o.leadStyle:""),children:e})},hardBreak:()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"block h-1"})]}),...f};return(0,t.jsx)(n.PortableText,{value:e,components:m})}},323211,e=>{"use strict";var t=e.i(968765),n=e.i(224468),r=e.i(754702),i=e.i(775364),l=e.i(551360);let o={src:e.i(623496).default,width:99,height:99,blurWidth:0,blurHeight:0},s={src:e.i(674210).default,width:99,height:99,blurWidth:0,blurHeight:0};var a=e.i(519455);let u=i.createContext(null);function c(){let e=i.useContext(u);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let f=(e,t,n)=>Math.min(Math.max(e,t),n),d=i.forwardRef(({opts:e,setApi:r,plugins:o,className:s,children:a,layout:c="autoWidth",darkTheme:d=!1,numberOfSlides:p,loop:h=!1,align:m="center",...g},y)=>{let[x,v]=(0,n.default)({loop:h,align:m,containScroll:"keepSnaps",...e},o),b=i.useCallback(e=>{if(!e)return},[]),w=i.useCallback(()=>{v?.scrollPrev()},[v]),k=i.useCallback(()=>{v?.scrollNext()},[v]),j=i.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),w()):"ArrowRight"===e.key&&(e.preventDefault(),k())},[w,k]);i.useEffect(()=>{v&&r&&r(v)},[v,r]),i.useEffect(()=>{if(v)return b(v),v.on("reInit",b),v.on("select",b),()=>{v?.off("select",b)}},[v,b]);let[I,_]=i.useState([]),[S,N]=i.useState([]),[A,$]=i.useState(0),E=i.useCallback(e=>{$(100*Math.max(0,Math.min(1,e.scrollProgress())));let t=e.internalEngine(),n=e.scrollProgress(),r=e.scrollSnapList().map((e,r)=>{let i=e-n;
18t.options.loop&&t.slideLooper.loopPoints.forEach(t=>{let l=t.target();if(r===t.index&&0!==l){let t=Math.sign(l);-1===t&&(i=e-(1+n)),1===t&&(i=e+(1-n))}});let l=1-Math.abs(1.5*i),o=(1-Math.abs(+i))*600;return{tweenValue:f(l,0,1),sizeValue:f(o,200,600)}});_(r.map(e=>e.tweenValue)),N(r.map(e=>e.sizeValue))},[]);i.useEffect(()=>{v&&(E(v),v.on("reInit",E),v.on("scroll",E))},[v,E]);let P=100/p;return(0,t.jsx)(u.Provider,{value:{carouselRef:x,api:v,opts:e,layout:c,darkTheme:d,scrollPrev:w,scrollNext:k,transitionValues:I,sizeValue:S,progressBarSize:P,scrollProgress:A,newTotalWidth:100-P,progressBarLine:d?"bg-base-white":"bg-primary"},children:(0,t.jsx)("div",{ref:y,onKeyDownCapture:j,className:(0,l.cn)("relative pb-16 pt-8",s),role:"region","aria-roledescription":"carousel",...g,children:a})})});d.displayName="Carousel";let p=i.forwardRef(({className:e,...n},r)=>{let{carouselRef:i}=c();return(0,t.jsxs)("div",{className:"group relative",children:[(0,t.jsx)("div",{ref:i,className:"content overflow-clip",children:(0,t.jsx)("div",{ref:r,className:(0,l.cn)("flex gap-4",e),...n})}),(0,t.jsx)(x,{}),(0,t.jsx)(y,{})]})});p.displayName="CarouselContent";let h=i.forwardRef(({className:e,index:n,...r},i)=>{let{layout:l}=c();return"fadeOut"===l?(0,t.jsx)(g,{index:n,ref:i,className:e,...r}):(0,t.jsx)(m,{ref:i,className:e,...r})});h.displayName="CarouselItem";let m=i.forwardRef(({className:e,...n},r)=>(0,t.jsx)("div",{ref:r,role:"group","aria-roledescription":"slide",className:(0,l.cn)("min-w-0 shrink-0 grow-0 basis-auto max-lg:max-w-[78vw]",e),...n}));m.displayName="SlideCarouselItem";let g=i.forwardRef(({className:e,index:n,...r},i)=>{let{transitionValues:o,sizeValue:s}=c();return(0,t.jsx)("div",{ref:i,role:"group","aria-roledescription":"slide",className:(0,l.cn)("relative flex h-[--min-size-mobile] min-w-0 shrink-0 grow-0 basis-full md:h-[--min-size-tablet] md:pl-[1rem] lg:h-[--min-size]",e),style:{...o.length&&{opacity:o[n]},"--min-size":"600px","--min-size-tablet":"400px","--min-size-mobile":"300px"},children:(0,t.jsx)("div",{style:{...o.length&&{"--project-overview-height":`${s[n]}px`,"--project-overview-height-tablet":`${s[n]/1.5}px`,"--project-overview-height-mobile":`${s[n]/2}px`}},className:"absolute top-1/2 h-[--project-overview-height-mobile] -translate-y-1/2 rounded-lg border border-base-grey p-5 md:h-[--project-overview-height-tablet] lg:h-[--project-overview-height]",...r})},n)});function y(){let{scrollPrev:e,scrollNext:n}=c();return(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 hidden h-full overflow-clip lg:block",children:(0,t.jsxs)("div",{className:"content h-full items-center justify-items-center *:pointer-events-auto *:size-24 *:overflow-clip *:rounded-full *:p-0",children:[(0,t.jsxs)(a.default,{onClick:e,className:"col-[full-start] bg-transparent opacity-0 transition-opacity hover:bg-transparent hover:!opacity-95 group-hover:opacity-60",children:[(0,t.jsx)(r.default,{src:o,alt:"Links"})," "]}),(0,t.jsx)(a.default,{onClick:n,className:"col-[feature-end] bg-transparent opacity-0 transition-opacity hover:bg-transparent hover:!opacity-95 group-hover:opacity-60",children:(0,t.jsx)(r.default,{src:s,alt:"Rechts"})})]})})}function x(){let{progressBarSize:e,scrollProgress:n,newTotalWidth:r,progressBarLine:i}=c();return(0,t.jsxs)("div",{className:"content mt-8 h-2 items-center overflow-hidden rounded bg-transparent",children:[(0,t.jsx)("div",{className:`col-[content] row-[1/1] h-[1px] w-full overflow-hidden rounded ${i}`}),(0,t.jsx)("div",{className:"relative col-[content] row-[1/1] h-1",children:(0,t.jsx)("div",{className:"absolute left-[--leftScrollOffset] h-full w-[--progressBarSize] rounded bg-secondary",style:{"--progressBarSize":`${e}%`,"--leftScrollOffset":`${n/100*r}%`}})})]})}g.displayName="SlidesFadeOutCarouselItem",e.s(["Carousel",0,d,"CarouselContent",0,p,"CarouselItem",0,h],323211)},258719,e=>{"use strict";var t=e.i(194347);let n=t.default.env.NEXT_PUBLIC_SANITY_API_VERSION||"2024-01-08";t.default.env.NEXT_PUBLIC_SANITY_STEGA;let r=l("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),i=l("g5oll5fh","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function l(e,t){if(void 0===e)throw Error(t);return e}l("skabb7LvrpTWimCqPQFOKItDeeYYrsqpNcfY9CBTb34GfE8X02umWHcd53D1K8nasXJIE9Rxo
18oOudY5AetyQeES8zxEk4JzBKbAtB5rHnorYUEnRA3aSzLOW3U6UpvlMGIxq6pKvTvSSxnHHwVXIcdUzXBLK5AGbobLKeLSizJWN8TPu2Puy","Missing environment variable: NEXT_PUBLIC_SANITY_API_READ_TOKEN"),e.s(["apiVersion",0,n,"dataset",0,r,"projectId",0,i])},22289,e=>{"use strict";e.s(["default",0,function(e){return e.flatMap(e=>e.children.map(e=>e.text)).join("")}])}]);

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.