PageSourceSearch

https://www.porsche-press.be/_next/static/chunks/2311.bc19cd6da0722989.js

js porsche-press.be collected 2026-10-06 09:02:01 UTC 12,350 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eb6d2e2b-19c4-4eba-a016-ac60773e18ba",e._sentryDebugIdIdentifier="sentry-dbid-eb6d2e2b-19c4-4eba-a016-ac60773e18ba")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2311],{10963:(e,t,n)=>{n.d(t,{A:()=>v});var r=n(76563),o=n(52217),a=n(38957);let l=(0,r.A)({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,n){var r=(0,o.h1)(n,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!r)return{hits:[]};var l=(0,a.Zp)(r.hits,r.hitsPerPage,r.page);return{hits:(0,a.PD)(l,r.queryID)}},getSearchParameters:function(e){return e}});var i=n(77417),u=n.n(i),c=n(28019),s=n.n(c),d=n(8159),f=(0,n(17045).p)("Hits"),p=function(e){return d.createElement("div",{style:{borderBottom:"1px solid #bbb",paddingBottom:"5px",marginBottom:"5px",wordBreak:"break-all"}},JSON.stringify(e).slice(0,100),"...")},m=function(e){var t=e.hits,n=e.className,r=e.hitComponent,o=void 0===r?p:r;return d.createElement("div",{className:u()(f(""),void 0===n?"":n)},d.createElement("ul",{className:f("list")},t.map(function(e){return d.createElement("li",{className:f("item"),key:e.objectID},d.createElement(o,{hit:e}))})))},g=s().shape({objectID:s().oneOfType([s().string,s().number]).isRequired});m.propTypes={hits:s().arrayOf(g.isRequired).isRequired,className:s().string,hitComponent:s().any};let v=l(m,{$$widgetType:"ais.hits"})},80913:(e,t,n)=>{n.d(t,{lG:()=>et,Xi:()=>ee});var r=n(8159),o=n(12687),a=n(62185),l=n(21960),i=n(45626),u=n(27418),c=n(99190),s=n(11503),d=n(28420),f=n(65873),p=n(61669),m=n(25794),g=n(70722),v=n(79374),b=n(9554),h=n(60375),E=n(71712),w=n(18192),y=n(42248),F=n(8710),D=n(80908),C=n(16547),k=n(67865),T=n(72965),P=n(38983),_=n(23082),I=n(52357);function L(e,t){let n=(0,r.useRef)([]),o=(0,i._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,a]of t.entries())if(n.current[r]!==a){let r=o(t,e);return n.current=t,r}},[o,...t])}var O=n(38445),R=n(93045),S=n(76191);let B=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!R.Lk(e.target)||e.target===document.body||B[0]===e.target)return;let t=e.target;t=t.closest(S.Uo),B.unshift(null!=t?t:e.target),(B=B.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var x=n(67505),N=n(4006);function A(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)R.vq(n.current)&&t.add(n.current);return t}var U=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(U||{});let M=Object.assign((0,C.FX)(function(e,t){let n=(0,r.useRef)(null),o=(0,b.P)(n,t),{initialFocus:u,initialFocusFallback:c,containers:s,features:d=15,...p}=e;(0,g.g)()||(d=0);let m=(0,f.g)(n.current);!function(e,t){let{ownerDocument:n}=t,o=!!(8&e),a=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(B.slice());return L((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,x._)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=B.slice())},[e,B,t]),(0,i._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(o);L(()=>{o||(0,N.X7)(null==n?void 0:n.body)&&(0,S.pW)(a())},[o]),(0,_.X)(()=>{o&&(0,S.pW)(a())})}(d,{ownerDocument:m});let v=function(e,t){let{ownerDocument:n,container:o,initialFocus:a,initialFocusFallback:i}
1=t,u=(0,r.useRef)(null),c=(0,l.S)(!!(1&e),"focus-trap#initial-focus"),s=(0,P.a)();return L(()=>{if(0===e)return;if(!c){null!=i&&i.current&&(0,S.pW)(i.current);return}let t=o.current;t&&(0,x._)(()=>{if(!s.current)return;let r=null==n?void 0:n.activeElement;if(null!=a&&a.current){if((null==a?void 0:a.current)===r){u.current=r;return}}else if(t.contains(r)){u.current=r;return}if(null!=a&&a.current)(0,S.pW)(a.current);else{if(16&e){if((0,S.CU)(t,S.BD.First|S.BD.AutoFocus)!==S.Me.Error)return}else if((0,S.CU)(t,S.BD.First)!==S.Me.Error)return;if(null!=i&&i.current&&((0,S.pW)(i.current),(null==n?void 0:n.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=null==n?void 0:n.activeElement})},[i,c,e]),u}(d,{ownerDocument:m,container:n,initialFocus:u,initialFocusFallback:c});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=t,i=(0,P.a)(),u=!!(4&e);(0,a.M)(null==n?void 0:n.defaultView,"focus",e=>{if(!u||!i.current)return;let t=A(o);R.sb(r.current)&&t.add(r.current);let n=l.current;if(!n)return;let a=e.target;R.sb(a)?W(t,a)?(l.current=a,(0,S.pW)(a)):(e.preventDefault(),e.stopPropagation(),(0,S.pW)(n)):(0,S.pW)(l.current)},!0)}(d,{ownerDocument:m,container:n,containers:s,previousActiveElement:v});let h=(0,I.u)(),E=(0,i._)(e=>{if(!R.sb(n.current))return;let t=n.current;(0,D.Y)(h.current,{[I.O.Forwards]:()=>{(0,S.CU)(t,S.BD.First,{skipElements:[e.relatedTarget,c]})},[I.O.Backwards]:()=>{(0,S.CU)(t,S.BD.Last,{skipElements:[e.relatedTarget,c]})}})}),w=(0,l.S)(!!(2&d),"focus-trap#tab-lock"),y=(0,T.L)(),F=(0,r.useRef)(!1),k=(0,C.Ci)();return r.createElement(r.Fragment,null,w&&r.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:E,features:O.u.Focusable}),k({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(F.current=!0,y.requestAnimationFrame(()=>{F.current=!1}))},onBlur(e){if(!(4&d))return;let t=A(s);R.sb(n.current)&&t.add(n.current);let r=e.relatedTarget;R.Lk(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(W(t,r)||(F.current?(0,S.CU)(n.current,(0,D.Y)(h.current,{[I.O.Forwards]:()=>S.BD.Next,[I.O.Backwards]:()=>S.BD.Previous})|S.BD.WrapAround,{relativeTo:e.target}):R.Lk(e.target)&&(0,S.pW)(e.target)))}},theirProps:p,defaultTag:"div",name:"FocusTrap"}),w&&r.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:E,features:O.u.Focusable}))}),{features:U});function W(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var X=n(33123),Y=n(20109),j=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(j||{}),q=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(q||{});let V={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},$=(0,r.createContext)(null);function H(e){let t=(0,r.useContext)($);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}function G(e,t){return(0,D.Y)(t.type,V,e,t)}$.displayName="DialogContext";let K=(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:D="headlessui-dialog-".concat(n),open:T,onClose:P,initialFocus:_,role:I="dialog",autoFocus:L=!0,__demoMode:O=!1,unmount:R=!1,...S}=e,B=(0,r.useRef)(!1);I="dialog"===I||"alertdialog"===I?I:(B.current||(B.current=!0,console.warn("Invalid role [".concat(I,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let x=(0,E.O_)();void 0===T&&null!==x&&(T=(x&E.Uw.Open)===E.Uw.Open);let N=(0,r.useRef)(null),A=(0,b.P)(N,t),W=(0,f.g)(N.current),Y=+!T,[j,q]=(0,r.useReducer)(G,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),V=(0,i._)(()=>P(!1)),H=(0,i._)(e=>q({type:0,id:e})),K=!!(0,g.g)()&&0===Y,[z,Q]=(0,X.k2)(),ee=(0,p.xA)(),{resolveContainers:et}=(0,p.iq)({mainTreeNode:ee,portals:z,defaultContainers:[{get current(){var en;return null!=(en=j.panelRef.current)?en:N.current}}]}),er=null!==x&&(x&E.Uw.Closing)===E.Uw.Closing;(0,u.v)(!O&&!er&&K,{allowed:(0,i._)(()=>{var e,t;return[null!=(t=null==(e=N.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,i._)(()=>{var e;return[null!=(e=null==ee?void 0:ee.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let eo=y.D.get(null);(0,c.s)(()=>
1{if(K)return eo.actions.push(D),()=>eo.actions.pop(D)},[eo,D,K]);let ea=(0,F.y)(eo,(0,r.useCallback)(e=>eo.selectors.isTop(e,D),[eo,D]));(0,d.j)(ea,et,e=>{e.preventDefault(),V()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,l.S)(e,"escape");(0,a.M)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(ea,null==W?void 0:W.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),V()}),(0,m.K)(!O&&!er&&K,W,et),(0,s.O)(K,N,V);let[el,ei]=(0,k.rU)(),eu=(0,r.useMemo)(()=>[{dialogState:Y,close:V,setTitleId:H,unmount:R},j],[Y,V,H,R,j]),ec=(0,v._)({open:0===Y}),es={ref:A,id:D,role:I,tabIndex:-1,"aria-modal":O?void 0:0===Y||void 0,"aria-labelledby":j.titleId,"aria-describedby":el,unmount:R},ed=!function(){var e;let[t]=(0,r.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,c.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}},[t]),n}(),ef=U.None;K&&!O&&(ef|=U.RestoreFocus,ef|=U.TabLock,L&&(ef|=U.AutoFocus),ed&&(ef|=U.InitialFocus));let ep=(0,C.Ci)();return r.createElement(E.$x,null,r.createElement(w.a,{force:!0},r.createElement(X.ZL,null,r.createElement($.Provider,{value:eu},r.createElement(X.Ee,{target:N},r.createElement(w.a,{force:!1},r.createElement(ei,{slot:ec},r.createElement(Q,null,r.createElement(M,{initialFocus:_,initialFocusFallback:N,containers:et,features:ef},r.createElement(h.e,{value:V},ep({ourProps:es,theirProps:S,slot:ec,defaultTag:Z,features:J,visible:0===Y,name:"Dialog"})))))))))))}),Z="div",J=C.Ac.RenderStrategy|C.Ac.Static,z=(0,C.FX)(function(e,t){let{transition:n=!1,open:o,...a}=e,l=(0,E.O_)(),i=e.hasOwnProperty("open")||null!==l,u=e.hasOwnProperty("onClose");if(!i&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!i)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==o||n)&&!a.static?r.createElement(p.H5,null,r.createElement(Y.e,{show:o,transition:n,unmount:a.unmount},r.createElement(K,{ref:t,...a}))):r.createElement(p.H5,null,r.createElement(K,{ref:t,open:o,...a}))}),Q=(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-panel-".concat(n),transition:a=!1,...l}=e,[{dialogState:u,unmount:c},s]=H("Dialog.Panel"),d=(0,b.P)(t,s.panelRef),f=(0,v._)({open:0===u}),p=(0,i._)(e=>{e.stopPropagation()}),m=a?Y._:r.Fragment,g=(0,C.Ci)();return r.createElement(m,{...a?{unmount:c}:{}},g({ourProps:{ref:d,id:o,onClick:p},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),ee=(0,C.FX)(function(e,t){let{transition:n=!1,...o}=e,[{dialogState:a,unmount:l}]=H("Dialog.Backdrop"),i=(0,v._)({open:0===a}),u=n?Y._:r.Fragment,c=(0,C.Ci)();return r.createElement(u,{...n?{unmount:l}:{}},c({ourProps:{ref:t,"aria-hidden":!0},theirProps:o,slot:i,defaultTag:"div",name:"Dialog.Backdrop"}))}),et=Object.assign(z,{Panel:Q,Title:(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-title-".concat(n),...a}=e,[{dialogState:l,setTitleId:i}]=H("Dialog.Title"),u=(0,b.P)(t);(0,r.useEffect)(()=>(i(o),()=>i(null)),[o,i]);let c=(0,v._)({open:0===l});return(0,C.Ci)()({ourProps:{ref:u,id:o},theirProps:a,slot:c,defaultTag:"h2",name:"Dialog.Title"})}),Description:k.VY})}}]);

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.