1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(3714)}])},1898:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(6392);function i(e,t){return(0,r.w)(t||e,e)}},2354:e=>{e.exports={header:"crHPjnAOa",boxed:"csSvTkFcq",logo:"cHa6O9BZm",logocontainer:"cHvxxwJA3",anwblogocontainer:"cbIWXUUZu",anwblogo:"cutgCPaBE",menu:"ciZCxZsr9",menu__item:"coNRmQmU3",menu_title:"cJU2FxgtN",menu_title__home:"cbDBEkEiE",menu_title__withcounter:"chR904Ecq",menu_image:"cziiS9SuM",menu__item_counter:"cVXsIwLxK",menu__item_cartcounter:"csrbAbY_e",subsubmenu__header:"cIcOIOdRg",foldout:"ctJuqa2kn",foldoutlarge:"cQxqN3cnE",foldoutpagewide:"cYMKxlFsF",visible:"cqBi9y0jL",foldout__item:"ctiVDVmD8",menu_arrow:"cMTKEGwje",mobile_menu_button:"cQtH9B8Dy",subsubmenu:"cNwGht4zC",menu_open:"cqWhwxZWH",foldout__content:"cLaEe38up",foldout__contentopen:"cUYPsLbV3"}},2364:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>r,_P:()=>s,s0:()=>i});let r=6e4,i=36e5,s=Symbol.for("constructDateFrom")},3464:()=>{},3714:(e,t,n)=>{"use strict";let r,i,s,o,a,l,u,c,p,d,h,f,m;n.r(t),n.d(t,{default:()=>rR});var g=n(7876),_=n(4232),y=n(7328),v=n.n(y),E=n(9099);let b="10.75.3",x=globalThis;function k(){return N(x),x}function N(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||b,t[b]=t[b]||{}}function T(e,t,n=x){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[b]=r[b]||{};return i[e]||(i[e]=t())}let S="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,O=["debug","info","warn","error","log","assert","trace"],I={};function w(e){if(!("console"in x))return e();let t=x.console,n={},r=Object.keys(I);r.forEach(e=>{let r=I[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function D(){return A().enabled}function C(e,...t){S&&D()&&w(()=>{x.console[e](`Sentry Logger [${e}]:`,...t)})}function A(){return S?T("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let j={enable:function(){A().enabled=!0},isEnabled:D,log:function(...e){C("log",...e)},warn:function(...e){C("warn",...e)},error:function(...e){C("error",...e)}},L=Object.prototype.toString;function R(e){switch(L.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Y(e,Error)}}function P(e,t){return L.call(e)===`[object ${t}]`}function M(e){return P(e,"ErrorEvent")}function $(e){return P(e,"DOMError")}function F(e){return P(e,"String")}function U(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function B(e){return null===e||U(e)||"object"!=typeof e&&"function"!=typeof e}function q(e){return P(e,"Object")}function V(e){return"object"==typeof e&&null!==e}function G(e){return"undefined"!=typeof Event&&Y(e,Event)}function K(e){return!!(e?.then&&"function"==typeof e.then)}function Y(e,t){try{return e instanceof t}catch{return!1}}function H(e){return"undefined"!=typeof Request&&Y(e,Request)}function z(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&J(i,r);try{e[t]=i}catch{S&&j.log(`Failed to replace method "${t}" in object`,e)}}function W(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{S&&j.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function J(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,W(e,"__sentry_original__",t)}catch{}}function Q(e){return e.__sentry_original__}function X(e){if(R(e))return{message:e.message,name:e.name,stack:e.stack,...Z(e)};if(G(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Z(e)}}return e}function Z(e){return V(e)?Object.fromEntries(Object.entries(e)):{}}function ee(e){if(void 0!==r)return r?r(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in x&&"function"==typeof x[t]?(r=x[t])(e):(r=null,e())}function et(){return ee(()=>Math.random())}function en(){return ee(()=>Date.now())}function er(e=x.crypto||x.msCrypto){try{if(e?.randomUUID)return ee(()=>e.randomUUID()).replace(/-/g,"")}catch{}
1return i||(i="10000000100040008000100000000000"),i.replace(/[018]/g,e=>(e^(15&16*et())>>e/4).toString(16))}function ei(e){return e.exception?.values?.[0]}function es(e){let{message:t,event_id:n}=e;if(t)return t;let r=ei(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function eo(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type=n||"Error")}function ea(e,t){let n=ei(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r?.data,...t.data};n.mechanism.data=e}}function el(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{W(e,"__sentry_captured__",!0)}catch{}return!1}function eu(){return en()/1e3}function ec(){return(s??(s=function(){let{performance:e}=x;if(!e?.now||!e.timeOrigin)return eu;let t=e.timeOrigin;return()=>(t+ee(()=>e.now()))/1e3}()))()}function ep(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ec(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:er()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ed(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=ed(r[e],t[e],n-1));return r}function eh(){return er().substring(16)}function ef(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}let em="_sentrySpan";function eg(e,t){t?W(e,em,function(e){try{let t=x.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(t)):delete e[em]}let e_=Symbol.for("sentry.skipNormalization"),ey=Symbol.for("sentry.overrideNormalizationDepth"),ev=/\(error: (.*)\)/,eE=/captureMessage|captureException/;function eb(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],s=e.split("\n");for(let e=n;e<s.length;e++){let n=s[e];n.length>1024&&(n=n.slice(0,1024));let o=ev.test(n)?n.replace(ev,"$1"):n;if(!o.includes("Error: ")){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=50+r)break}}var o=i.slice(r);if(!o.length)return[];let a=Array.from(o);return/sentryWrapped/.test(ex(a).function||"")&&a.pop(),a.reverse(),eE.test(ex(a).function||"")&&(a.pop(),eE.test(ex(a).function||"")&&a.pop()),a.slice(0,50).map(e=>({...e,filename:e.filename||ex(a).filename,function:e.function||"?"}))}}function ex(e){return e[e.length-1]||{}}let ek="<anonymous>";function eN(e){try{if(!e||"function"!=typeof e)return ek;return e.name||ek}catch{return ek}}function eT(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function eS(e,t=100,n=1/0){try{return function e(t,n,r=1/0,i=1/0,s=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[o,a]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let l=eO(t,n);if(!l.startsWith("[object "))return l;if(n[e_])return n;let u=function(e){let t=e[ey];return"number"==typeof t?t:void 0}(n),c=void 0!==u?u:r;if(0===c)return l.replace("object ","");if(o(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,c-1,i,s)}catch{}let p=Array.isArray(n)?[]:{},d=0,h=X(n);for(let t in h){if(!Object.prototype.hasOwnProperty.call(h,t))continue;if(d>=i){p[t]="[MaxProperties ~]";break}let n=h[t];p[t]=e(t,n,c-1,i,s),d++}return a(n),p}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function eO(e,t){try{if(o){let e=o(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eN(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let e=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(e){return`**non-serializable** (${e})`}}function eI(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function ew(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];B(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(eO(void 0,r))}return n.join(t)}function eD(e,t,n=!1){return!!F(e)&&(P(t,"RegExp")?t.test(e):F(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function eC(e,t=[],n=!1){for(let r of t)if(eD(e,r,n))return!0;return!1}class eA{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:er(),sampleRand:et()}}clone(){let e=new eA;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,eg(e,ef(this[em])),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ep(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,attributes:r,extra:i,user:s,contexts:o,level:a,fingerprint:l=[],propagationContext:u,conversationId:c}=(t instanceof eA?t.getScopeData():q(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...o},s&&Object.keys(s).length&&(this._user=s),a&&(this._level=a),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),c&&(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,eg(this,void 0),this._attachments=[],this.setPropagationContext({traceId:er(),sampleRand:et()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:eu(),...e,message:e.message?eI(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:ef(this[em]),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ed(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||er();if(!this._client)return S&&j.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||er();if(!this._client)return S&&j.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||er();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):S&&j.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h(e=>{e(this)}),this._notifyingListeners=!1)}}let ej=e=>e instanceof Promise&&!e[eL],eL=Symbol("chained PromiseLike");class eR{constructor(e,t){let n,r;n=e||new eA,r=t||new eA,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return K(t)?((e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return ej(r)&&ej(e)?r:((e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];"function"==typeof i?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[eL]:!0}),t})(e,r)})(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eP(){let e=N(k());return e.stack=e.stack||new eR(T("defaultCurrentScope",()=>new eA),T("defaultIsolationScope",()=>new eA))}function eM(e){return eP().withScope(e)}function e$(e,t){let n=eP();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eF(e){return eP().withScope(()=>e(eP().getIsolationScope()))}function eU(e){let t=N(e);return t.acs?t.acs:{withIsolationScope:eF,withScope:eM,withSetScope:e$,withSetIsolationScope:(e,t)=>eF(t),getCurrentScope:()=>eP().getScope(),getIsolationScope:()=>eP().getIsolationScope()}}function eB(){return eU(k()).getCurrentScope()}function eq(){return eU(k()).getIsolationScope()}function eV(){return eB().getClient()}let eG="production";function eK(e){return new eH(t=>{t(e)})}function eY(e){return new eH((t,n)=>{n(e)})}class eH{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new eH((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new eH((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i)return void n(r);t(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(K(t))return void t.then(n,r);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(e){r(e)}}}let ez="sentry.profile_id",eW="sentry.exclusive_time",eJ="sentry-";function eQ(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}let eX=/^o(\d+)\./,eZ=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function e0(e,t=!1){let{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function e1(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function e2(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||eV()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}function e3(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=function(e,t){let{value:n,unit:r}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=function(e){if(Array.isArray(e))return{value:e,type:"array"};let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};if(!t||"skip-undefined"===t&&void 0===n)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...s}}(i,t);e&&(n[r]=e)}return n}function e4(e){return{scope:e._sentryScope,isolationScope:ef(e._sentryIsolationScope)}}let e5=!1;function e6(e){return"number"==typeof e?e9(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?e9(e.getTime()):ec()}function e9(e){return e>0x2540be3ff?e/1e3:e}function e8(e){var t,n;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:r,traceId:i}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:s,name:o,endTime:a,status:l,links:u}=e;return{span_id:r,trace_id:i,data:t,description:o,parent_span_id:"parentSpanId"in(n=e)?n.parentSpanId:"parentSpanContext"in n?n.parentSpanContext?.spanId:void 0,start_timestamp:e6(s),timestamp:e6(a)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}(l),op:t["sentry.op"],origin:t["sentry.origin"],links:u&&u.length>0?u.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i,...r})):void 0}}return{span_id:r,trace_id:i,start_timestamp:0,data:{}}}let e7=function(e){return e._sentryRootSpan||e};function te(){e5||(w(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),e5=!0)}let tt=Symbol.for("sentry.nonRecordingSpan");function tn(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||eG,release:n.release,public_key:r,trace_id:e,org_id:function(e){let t,n=e.getOptions(),{host:r}=e.getDsn()||{};return n.orgId?t=String(n.orgId):r&&(t=function(e){let t=e.match(eX);return t?.[1]}(r)),t}(t)};return t.emit("createDsc",i),i}function tr(e,t){let n=t.getPropagationContext();return n.dsc||tn(n.traceId,e)}function ti(e,t){let{extra:n,tags:r,attributes:i,user:s,contexts:o,level:a,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:c,eventProcessors:p,attachments:d,propagationContext:h,transactionName:f,span:m}=t;ts(e,"extra",n),ts(e,"tags",r),ts(e,"attributes",i),ts(e,"user",s),ts(e,"contexts",o),e.sdkProcessingMetadata=ed(e.sdkProcessingMetadata,l,2),a&&(e.level=a),f&&(e.transactionName=f),m&&(e.span=m),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),p.length&&(e.eventProcessors=[...e.eventProcessors,...p]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function ts(e,t,n){e[t]=ed(e[t],n,1)}function to(e,t){let n=T("globalScope",()=>new eA).getScopeData();return e&&ti(n,e.getScopeData()),t&&ti(n,t.getScopeData()),n}let ta=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function tl(e,t){return eB().captureEvent(e,t)}function tu(e){let t=eq(),{user:n}=to(t,eB()),{userAgent:r}=x.navigator||{},i=function(e){let t=ec(),n={sid:er(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&ep(n,e),n}({user:n,...r&&{userAgent:r},...e}),s=t.getSession();return s?.status==="ok"&&ep(s,{status:"exited"}),tc(),t.setSession(i),i}function tc(){let e,t=eq(),n=eB().getSession()||t.getSession();n&&(e={},"ok"===n.status&&(e={status:"exited"}),ep(n,e)),tp(),t.setSession()}function tp(){let e=eq(),t=eV(),n=e.getSession();n&&t&&t.captureSession(n)}function td(e=!1){if(e)return void tc();tp()}let th=[];function tf(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function tm(e,t,n){if(n[t.name]){S&&j.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,th.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),th.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),S&&j.log(`Integration installed: ${t.name}`)}function tg(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}let t_=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/];function ty(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:t_],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function tv(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return S&&j.error(`Cannot extract url for event ${es(e)}`),null}}let tE=new WeakMap;function tb(e,t){let n=eT(e),r=eT(t);if(!n&&!r)return!0;
1if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function tx(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function tk(e){return e.exception?.values?.[0]}function tN(e,t=[]){return[e,t]}function tT(e,t){let[n,r]=e;return[n,[...r,t]]}function tS(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function tO(e){let t=N(x);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let tI={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function tw(e){return e in tI?tI[e]:e}function tD(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}var tC=n(5364);function tA(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==tC?tC:0))||function(){let e=x.process;return e?.type==="renderer"}())}function tj(e,t){var n;let r=t??(n=e,tL().get(n))??[];if(0===r.length)return;let i=e.getOptions(),s=function(e,t,n,r,i){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=e0(r)),tN(s,[function(e,t){let n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...tA()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}(e,i)])}(r,i._metadata,i.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);tL().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function tL(){return T("clientToLogBufferMap",()=>new WeakMap)}function tR(e,t){var n;let r=t??(n=e,tP().get(n))??[];if(0===r.length)return;let i=e.getOptions(),s=function(e,t,n,r,i){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=e0(r)),tN(s,[function(e,t){let n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...tA()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}(e,i)])}(r,i._metadata,i.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);tP().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function tP(){return T("clientToMetricBufferMap",()=>new WeakMap)}function tM(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let t$=Symbol.for("SentryBufferFullError");function tF(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return eY(t$);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return eK(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>tM(setTimeout(()=>t(!1),e)))]):n}}}function tU(e){j.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function tB(e,t){if(!t?.length)return!1;for(let r of t){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(e.description&&eD(e.description,r))return S&&tU(e),!0;continue}let t=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!t)continue;let i=!r.name||e.description&&eD(e.description,r.name),s=!r.op||e.op&&eD(e.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(([t,n])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?eD(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t})(e.attributes?.[t],n));if(i&&s&&o)return S&&tU(e),!0}return!1}let tq=["forwarded","-ip","remote-","via","-user"],tV=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"],tG={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
1,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},tK="Not capturing exception because it's already been captured.",tY="Discarded session because of missing or non-string release",tH=Symbol.for("SentryInternalError"),tz=Symbol.for("SentryDoNotSendEventError");function tW(e){return{message:e,[tH]:!0}}function tJ(e){return{message:e,[tz]:!0}}function tQ(e){return V(e)&&tH in e}function tX(e){return V(e)&&tz in e}function tZ(e,t,n,r,i){let s,o=0,a=!1;e.on(n,()=>{o=0,clearTimeout(s),a=!1}),e.on(t,t=>{if((o+=r(t))>=8e5)i(e);else if(!a){let t=e.getOptions()._flushInterval??5e3;t>0&&(a=!0,s=tM(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}class t0{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=tF(e.transportOptions?.bufferSize??64),this._dataCollection=function(e){let t=null!=e.dataCollection?tG:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:tq},httpHeaders:{request:{deny:tq},response:{deny:tq}},httpBodies:[],urlQueryParams:{deny:tq},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:function(e,t){return void 0===e?{...t.httpHeaders}:"boolean"==typeof e||"allow"in e||"deny"in e?{request:e,response:e}:{request:e.request??t.httpHeaders.request,response:e.response??t.httpHeaders.response}}(n.httpHeaders,t),httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=function(e){let t="string"==typeof e?function(e){let t=eZ.exec(e);if(!t)return void w(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,r,i="",s="",o="",a=""]=t.slice(1),l="",u=a,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return e1({host:s,pass:i,path:l,projectId:u,port:o,protocol:n,publicKey:r})}(e):e1(e);if(t&&function(e){if(!S)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(j.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(j.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(t&&isNaN(parseInt(t,10)))||(j.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(j.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):S&&j.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,n){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&tZ(this,"afterCaptureLog","flushLogs",t5,tj),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&tZ(this,"afterCaptureMetric","flushMetrics",t4,tR)}captureException(e,t,n){let r=er();if(el(e))return S&&j.log(tK),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){let i={event_id:er(),...n},s=U(e)?e:String(e),o=B(e),a=o?this.eventFromMessage(s,t,i):this.eventFromException(e,i);return this._process(()=>a.then(e=>this._captureEvent(e,i,r)),o?"unknown":"error"),i.event_id}captureEvent(e,t,n){let r=er();if(t?.originalException&&el(t.originalException))return S&&j.log(tK),r;let i={event_id:r,...t},s=e.sdkProcessingMetadata||{},o=s.capturedSpanScope,a=s.capturedSpanIsolationScope,l=t1(e.type);return this._process(()=>this._captureEvent(e,i,o||n,a),l),i.event_id}captureSession(e){this.sendSession(e),ep(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;
1if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),tm(this,e,this._integrations),t||tf(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||"stream"===t.getOptions().traceLifecycle)return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?n.push(function(e){var t;return{...t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links},attributes:e3(t.attributes),links:t.links?.map(e=>({...e,attributes:e3(e.attributes)}))}}(t)):r.push(t);if(0===n.length)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...tA()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}(e,this),r=function(e,t,n,r){let i=tD(n),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);let o=function(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(en()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:e0(r)},...i&&{trace:i}}}(e,i,r,t);return delete e.sdkProcessingMetadata,tN(o,[[{type:s},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=tT(r,function(e){let t="string"==typeof e.data?tO(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));n&&(r=tT(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:n=eG}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){S&&j.warn(tY);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){S&&j.warn(tY);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=function(e,t,n,r){let i=tD(n);return tN({sent_at:new Date(en()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:e0(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;S&&j.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return S&&j.error("Error while sending envelope:",e),{}}return S&&j.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&tm(e,t,n)}),n}(this,e),tf(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i){for(let e of(r=!0,n=!1,i))if(e.mechanism?.handled===!1){n=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&n)&&(ep(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let i=this.getOptions(),s=this.getIntegrationNames();
1return!t.integrations&&s.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(function(e,t,n,r,i,s){var o,a,d,h,f,m;let{normalizeDepth:g=3,normalizeMaxBreadth:_=1e3}=e,y={...t,event_id:t.event_id||n.event_id||er(),timestamp:t.timestamp||eu()},v=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:s}=t;e.environment=e.environment||n||eG,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&s&&(o.url=eI(o.url,s)),s&&e.exception?.values?.forEach(e=>{e.value&&(e.value=eI(e.value,s))})})(y,e),o=y,(a=v).length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...a]),i&&i.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=x._sentryDebugIds,n=x._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(p&&r.length===u&&i.length===c)return p;u=r.length,c=i.length,p={},l||(l={});let s=(t,n)=>{for(let r of t){let t=n[r],i=l?.[r];if(i&&p&&t)p[i[0]]=t,l&&(l[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e],s=i?.filename;if(s&&p&&l){p[s]=t,l[r]=[s,t];break}}}}};return t&&s(r,t),n&&s(i,n),p}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(y,e.stackParser);let E=function(e,t){if(!t)return e;let n=e?e.clone():new eA;return n.update(t),n}(r,n.captureContext);n.mechanism&&ea(y,n.mechanism);let b=i?i.getEventProcessors():[],k=to(s,E),N=[...n.attachments||[],...k.attachments];N.length&&(n.attachments=N);let{fingerprint:T,span:O,breadcrumbs:I,sdkProcessingMetadata:w}=k;(function(e,t){let{extra:n,tags:r,user:i,contexts:s,level:o,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),o&&(e.level=o),a&&"transaction"!==e.type&&(e.transaction=a)})(y,k),O&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:e8(e).parent_span_id,s=e4(e).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||eh():t,trace_id:n}}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:function(e){let t=eV();if(!t)return{};let n=e7(e),r=e8(n),i=r.data,s=n.spanContext().traceState,o=s?.get("sentry.sample_rate")??i["sentry.sample_rate"]??i["sentry.previous_trace_sample_rate"];function a(e){return("number"==typeof o||"string"==typeof o)&&(e.sample_rate=`${o}`),e}let l=n._frozenDsc;if(l)return a(l);let u=!!n&&!0===n[tt],c=u&&"ignored"===n.dropReason;if(u&&(!e2(t.getOptions())||c)){let e=e4(n).scope;if(e){let n={...tr(t,e)};return c&&(n.sampled="false"),a(n)}}let p=s?.get("sentry.dsc"),d=p&&function(e){let t=function(e){if(e&&(F(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(eQ(t)).forEach(([t,n])=>{e[t]=n}),e),{}):eQ(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.startsWith(eJ)&&(e[t.slice(eJ.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}(p);if(d)return a(d);let h=tn(e.spanContext().traceId,t),f=i["sentry.source"]??i["sentry.segment.name.source"],m=r.description;return"url"!==f&&m&&(h.transaction=m),e2()&&(h.sampled=String(function(e){let{traceFlags:t}=e.spanContext();return 1===t}(n)),h.sample_rand=s?.get("sentry.sample_rand")??e4(n).scope?.getPropagationContext().sampleRand.toString()),a(h),t.emit("createDsc",h,n),h}(t),...e.sdkProcessingMetadata};let n=e8(e7(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(y,O),d=y,h=T,d.fingerprint=d.fingerprint?Array.isArray(d.fingerprint)?d.fingerprint:[d.fingerprint]:[],h&&(d.fingerprint=d.fingerprint.concat(h)),d.fingerprint.length||delete d.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(y,I),f=y,m=w,f.sdkProcessingMetadata={...f.sdkProcessingMetadata,...m};let D=[...b,...k.eventProcessors];return(n.data&&!0===n.data.__sentry__?eK(y):function(e,t,n,r=0){try{let i=function e(t,n,r,i){let s=r[i];if(!t||!s)return t;let o=s({...t},n);return(S&&null===o&&j.log(`Event processor "${s.id||"?"}" dropped event`),K(o))?o.then(t=>e(t,n,r,i+1)):e(o,n,r,i+1)}(t,n,e,r);return K(i)?i:eK(i)}catch(e){return eY(e)}}(D,y,n)).then(e=>(e&&function(e){let t={};
1if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof g&&g>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:eS(e.data,t,n)}}))},...e.user&&{user:eS(e.user,t,n)},...e.contexts&&{contexts:eS(e.contexts,t,n)},...e.extra&&{extra:eS(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=eS(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:eS(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=eS(e.contexts.flags,3,n)),r}(e,g,_):e)})(i,e,t,n,this,r).then(e=>
1(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...function(e){let t=a?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),s={trace_id:n,span_id:i||eh()};return r&&(s.parent_span_id=r),s}(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:tr(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=eB(),r=eq()){return S&&t2(e)&&j.log(`Captured error event \`${tg(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{S&&(tX(e)?j.log(e.message):tQ(e)?j.warn(e.message):j.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:s}=i,o=t3(e),a=t2(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===s?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}(s),p=t1(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",p),tJ("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(K(e))return e.then(e=>{if(!q(e)&&null!==e)throw tW(n);return e},e=>{throw tW(`${t} rejected with ${e}`)});if(!q(e)&&null!==e)throw tW(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:s,ignoreSpans:o}=t,a=!((u=t.beforeSendSpan)&&"function"==typeof u&&"_streamed"in u&&u._streamed)&&t.beforeSendSpan,l=n;if(t2(l)&&i)return i(l,r);if(t3(l)){if(a||o){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:s,data:o,op:a}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:o?.[ez],exclusive_time:o?.[eW],measurements:e.measurements,is_segment:!0}}(l);if(o?.length&&tB({description:t.description,op:t.op,attributes:t.data},o))return null;if(a){let e=a(t);e?l=ed(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ez]:e.profile_id},...e.exclusive_time&&{[eW]:e.exclusive_time}}}},measurements:e.measurements}):te()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(o?.length&&tB({description:e.description,op:e.op,attributes:e.data},o)){var u;let t=e.parent_span_id,r=e.span_id;if(t)for(let e of n)e.parent_span_id===r&&(e.parent_span_id=t);continue}if(a){let n=a(e);n?t.push(n):(te(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(s){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(l,r)}}return l}(this,i,e,t),u)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",p),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw tJ(`${u} returned \`null\`, will not send event.`)}let l=n.getSession()||r.getSession();if(a&&l&&this._updateSessionFromEvent(l,i),a&&"number"==typeof c&&et()>c)throw this.recordDroppedEvent("sample_rate","error"),tJ(`Discarding event because it's not included in the random sample (sampling rate = ${s})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let d=i.transaction_info;return o&&d&&i.transaction!==e.transaction&&(i.transaction_info={...d,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(tX(e)||tQ(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),tW(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 2Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===t$&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;S&&j.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){S&&j.log("No outcomes to send");return}if(!this._dsn){S&&j.log("No dsn provided, will not send outcomes");return}S&&j.log("Sending outcomes:",t);let n=tN((e=this._options.tunnel&&e0(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:eu(),discarded_events:t}]]);this.sendEnvelope(n)}}function t1(e){return"replay_event"===e?"replay":e||"error"}function t2(e){return void 0===e.type}function t3(e){return"transaction"===e.type}function t4(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+t6(e.attributes)}function t5(e){let t=0;return e.message&&(t+=2*e.message.length),t+t6(e.attributes)}function t6(e){if(!e)return 0;let t=0;
2return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*t9(e[0]):B(e)?t+=t9(e):t+=100}),t}function t9(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function t8(e,t,n=[t],r="npm"){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:b})),i.version=b)}function t7(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function ne(e){return R(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function nt(e,t){let n=nr(e,t),r={type:function(e){let t=e?.name;return!t&&ns(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return ns(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?ne(t.error):ne(e):"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function nn(e,t){return{exception:{values:[nt(e,t)]}}}function nr(e,t){var n,r;let i=t.stacktrace||t.stack||"",s=(n=t)&&ni.test(n.message)?1:0,o="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,s,o)}catch{}return[]}let ni=/Minified React error #\d+;/i;function ns(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function no(e,t,n,r,i){let s;if(M(t)&&t.error)return nn(e,t.error);if($(t)||P(t,"DOMException")){if("stack"in t){s=nn(e,t);let i=s.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=nr(e,n);t.length&&(i.stacktrace={frames:t},ea(s,{synthetic:!0}))}}else{let i=t.name||($(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;eo(s=na(e,o,n,r),o)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return R(t)?nn(e,t):(q(t)||G(t)?ea(s=function(e,t,n,r){let i=eV(),s=i?.getOptions().normalizeDepth,o=Object.values(t).find(R),a={__serialized__:function e(t,n=3,r=102400){let i=eS(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}(t,s)};if(o)return{exception:{values:[nt(e,o)]},extra:a};let l={exception:{values:[{type:G(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e){let t=Object.keys(X(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),r=t?"promise rejection":"exception";if(M(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(G(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:a};if(n){let t=nr(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i),{synthetic:!0}):(eo(s=na(e,t,n,r),`${t}`,void 0),ea(s,{synthetic:!0})),s)}function na(e,t,n,r){let i={};if(r&&n){let r=nr(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),ea(i,{synthetic:!0})}if(U(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function nl(){try{return x.document.location.href}catch{return""}}let nu=0;function nc(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){let t=e.__sentry_wrapped__;if("function"==typeof t)return t;return e}if(Q(e))return e}catch{return e}let n=function(...n){x._sentryWrappedDepth=(x._sentryWrappedDepth||0)+1;try{let r=n.map(e=>nc(e,t));return e.apply(this,r)}catch(e){throw nu++,setTimeout(()=>{nu--}),!function(...e){let t=eU(k());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}(r=>{r.addEventProcessor(e=>(t.mechanism&&(eo(e,void 0,void 0),ea(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),eB().captureException(e,function(e){if(e){var t;return(t=e)instanceof eA||"function"==typeof t||Object.keys(e).some(e=>ta.includes(e))?{captureContext:e}:e}}(void 0))}),e}finally{x._sentryWrappedDepth=(x._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}J(n,e),W(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function np(){let e=nl(),{referrer:t}=x.document||{},{userAgent:n}=x.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class nd extends t0{constructor(e){var t;let n=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:x.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});t8(n,"browser",["browser"],x.SENTRY_SDK_SOURCE||"npm"),super(n);let{userInfo:r}=this.getDataCollectionOptions();n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:r?"auto":"never",...n._metadata.sdk.settings});let{sendClientReports:i}=this._options;x.document&&x.document.addEventListener("visibilitychange",()=>{"hidden"===x.document.visibilityState&&(i&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),r&&this.on("beforeSendSession",t7)}eventFromException(e,t){return function(e,t,n,r){let i=no(e,t,n?.syntheticException||void 0,r);return ea(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),eK(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let s=na(e,t,r?.syntheticException||void 0,i);return s.level=n,r?.event_id&&(s.event_id=r.event_id),eK(s)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let nh={},nf={};function nm(e,t){return nh[e]=nh[e]||[],nh[e].push(t),()=>{let n=nh[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function ng(e,t){if(!nf[e]){nf[e]=!0;try{t()}catch(t){S&&j.error(`Error while instrumenting ${e}`,t)}}}function n_(e,t){let n=e&&nh[e];if(n)for(let r of n)try{r(t)}catch(t){S&&j.error(`Error while triggering instrumentation handler. 3Type: ${e} 4Name: ${eN(r)} 5Error:`,t)}}let ny=new Set([]),nv=new Set;function nE(){"console"in x&&O.forEach(function(e){!nv.has(e)&&e in x.console&&(nv.add(e),z(x.console,e,function(t){return I[e]=t,function(...t){let n=t[0],r=I[e],i=ny.size&&"string"==typeof n&&eC(n,ny);i||n_("console",{args:t,level:e}),(!i||S&&j.isEnabled())&&r?.apply(x.console,t)}}))})}function nb(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function nx(e,t){return V(e)&&!!e[t]}function nk(e){return"string"==typeof e?e:e?nx(e,"url")?e.url:e.toString?e.toString():"":""}function nN(e,t){let n=eV(),r=eq();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let o={timestamp:eu(),...e},a=i?w(()=>i(o,t)):o;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,s))}function nT(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function nS(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function nO(){if(!x.document)return;let e=n_.bind(null,"dom"),t=nI(e,!0);x.document.addEventListener("click",t,!1),x.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=x[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(z(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){let r=nI(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch{}return t.call(this,n,r,i)}}),z(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function nI(e,t=!1){return n=>{var r;if(!n||n._sentryCaptured)return;let i=function(e){try{return e.target}catch{return null}}(n);if(r=n.type,"keypress"===r&&(!i?.tagName||"INPUT"!==i.tagName&&"TEXTAREA"!==i.tagName&&!i.isContentEditable&&1))return;W(n,"_sentryCaptured",!0),i&&!i._sentryId&&W(i,"_sentryId",er());let s="keypress"===n.type?"input":n.type;!function(e){if(e.type!==h)return!1;try{if(!e.target||e.target._sentryId!==f)return!1}catch{}return!0}(n)&&(e({event:n,name:s,global:t}),h=n.type,f=i?i._sentryId:void 0),clearTimeout(d),d=x.setTimeout(()=>{f=void 0,h=void 0},1e3)}}let nw="__sentry_xhr_v3__";function nD(){if(!x.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*ec(),s=F(n[0])?n[0].toUpperCase():void 0,o=function(e){if(F(e))return e;try{return e.toString()}catch{}}(n[1]);if(!s||!o)return e.apply(t,n);t[nw]={method:s,url:o,request_headers:{}}
5,"POST"===s&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let a=()=>{let e=t[nw];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}n_("xhr",{endTimestamp:1e3*ec(),startTimestamp:i,xhr:t,virtualError:r}),r=void 0,t.removeEventListener("readystatechange",a)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,s=t[nw];return s&&F(r)&&F(i)&&(s.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[nw];return r&&(void 0!==n[0]&&(r.body=n[0]),n_("xhr",{startTimestamp:1e3*ec(),xhr:t})),e.apply(t,n)}})}function nC(e){let t="history";nm(t,e),ng(t,nA)}function nA(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=m,i=function(e){try{return new URL(e,x.location.origin).toString()}catch{return e}}(String(n));if(m=i,r===i)return e.apply(this,t);n_("history",{from:r,to:i})}return e.apply(this,t)}}x.addEventListener("popstate",()=>{let e=x.location.href,t=m;m=e,t!==e&&n_("history",{from:t,to:e})}),"history"in x&&x.history&&(z(x.history,"pushState",e),z(x.history,"replaceState",e))}let nj={};try{"undefined"!=typeof Node&&(nj.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(nj.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,nj.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,nj.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,nj.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(nj.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function nL(e,t,n){let r=nj[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return"function"==typeof i?i.call(e,n):i}function nR(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],s=0,o=0,a=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&s++<5&&(n=function(e,t){let n=[],r=nL(e,"tagName");if(!r)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){let t=nL(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>nL(e,"getAttribute",t)).map(t=>[t,nL(e,"getAttribute",t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=nL(e,"id");t&&n.push(`#${t}`);let r=nL(e,"className");if(r&&F(r))for(let e of r.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=nL(e,"getAttribute",t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,a),"html"!==n&&(!(s>1)||!(o+3*i.length+n.length>=l)));)i.push(n),o+=n.length,r=nL(r,"parentNode");return i.reverse().join(" > ")}catch{return"<unknown>"}}let nP="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nM="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");function n$(e){return function(...t){let n=t[0];return t[0]=nc(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${eN(e)}`}}),e.apply(this,t)}}function nF(e){return function(t){return e.apply(this,[nc(t,{mechanism:{data:{handler:eN(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function nU(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&z(n,e,function(t){let n={mechanism:{data:{handler:eN(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Q(t);return r&&(n.mechanism.data.handler=eN(r)),nc(t,n)})}),e.apply(this,t)}}function nB(e,t,n){x.document&&x.addEventListener(e,t,n)}function nq(e,t,n){x.document&&x.removeEventListener(e,t,n)}function nV(e,t){let n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}function nG(){try{let e=x.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let nK=null;function nY(){nK=x.onerror,x.onerror=function(e,t,n,r,i){return n_("error",{column:r,error:i,line:n,msg:e,url:t}),!!nK&&nK.apply(this,arguments)},x.onerror.__SENTRY_INSTRUMENTED__=!0}let nH=null;function nz(){nH=x.onunhandledrejection,x.onunhandledrejection=function(e){return n_("unhandledrejection",e),!nH||nH.apply(this,arguments)},x.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function nW(e){nP&&j.log(`Global Handler attached: ${e}`)}function nJ(){let e=eV();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function nQ(e){return Array.isArray(e.errors)}function nX(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...nQ(n)&&{is_exception_group:!0}
5,...e.mechanism,exception_id:t}}function nZ(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function n0(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let n1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,n2=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n3=/\((\S*)(?::(\d+))(?::(\d+))\)/,n4=/at (.+?) ?\(data:(.+?),/,n5=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n6=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,n9=eb([30,e=>{let t=e.match(n4);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=n1.exec(e);if(n){let[,e,t,r]=n;return n0(e,"?",+t,+r)}let r=n2.exec(e);if(r){if(r[2]?.indexOf("eval")===0){let e=n3.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=n8(r[1]||"?",r[2]);return n0(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{let t=n5.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=n6.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=n8(n,e),n0(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),n8=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},n7="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,re={};function rt(e,t=function(e){let t=re[e];if(t)return t;let n=x[e];if(nb(n))return re[e]=n.bind(x);let r=x.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){n7&&j.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?re[e]=n.bind(x):n}("fetch")){let n=0,r=0;async function i(i){let s=i.body.length;n+=s,r++;let o={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw re.fetch=void 0,e}finally{n-=s,r--}}return function(e,t,n=tF(e.bufferSize||64)){let r={};return{send:function(i){let s=[];if(tS(i,(t,n)=>{let i=tw(n);!function(e,t,n=en()){return(e[t]||e.all||0)>n}(r,i)?s.push(t):e.recordDroppedEvent("ratelimit_backoff",i)}),0===s.length)return Promise.resolve({});let o=tN(i[0],s),a=t=>{var n;if(n=["client_report"],tS(o,(e,t)=>n.includes(t))){S&&j.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}tS(o,(n,r)=>{e.recordDroppedEvent(t,tw(r))})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[tO(r),e]:r.push("string"==typeof e?tO(e):e)}for(let e of n){let[t,n]=e;if(i(` 6${JSON.stringify(t)} 7`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(eS(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(o)}).then(e=>(413===e.statusCode?(S&&j.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),a("send_error")):(S&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&j.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=en()){let i={...e},s=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,n,,,s]=e.split(":",5),o=parseInt(t,10),a=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!s||s.split(";").includes("custom"))&&(i[e]=r+a):i[e]=r+a;else i.all=r+a}else o?i.all=r+function(e,t=en()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(o,r):429===t&&(i.all=r+6e4);return i}(r,e)),e),e=>{throw a("network_error"),S&&j.error("Encountered error running transport request:",e),e})).then(e=>e,e=>
7{if(e===t$)return S&&j.error("Skipped sending event because buffer is full."),a("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,i,tF(e.bufferSize||40))}let rn=/^HTML(\w*)Element$/;function rr(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(e);if(rn.test(t))return`[HTMLElement: ${nR(e)}]`}}function ri(e){return q(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":rr(e)}n(3464);var rs=n(9241),ro=n(8230),ra=n.n(ro),rl=n(2354),ru=n.n(rl);let rc={src:"/_next/static/media/logo.7f740a53.svg"},rp={src:"/_next/static/media/anwb.6eab2817.svg"},rd=({item:e,...t})=>(0,g.jsx)(ra(),{...t,href:e.link,prefetch:!1,className:ru().foldout__item,children:e.text}),rh=({menu:e})=>{let[t,n]=(0,_.useState)(!1),[r,i]=(0,_.useState)(),[s,o]=(0,_.useState)(),{asPath:a}=(0,E.useRouter)(),l=(0,_.useRef)(a);l.current!==a&&(l.current=a,n(!1),i(void 0),o(void 0));let{destinationsnew:u,links:c}=e||{},p=()=>{n(e=>!e),i(void 0),o(void 0)},d=e=>{let t=e.currentTarget.dataset.menuid;t===s?p():(e.preventDefault(),o(t))};return(0,g.jsx)("header",{className:ru().header,children:(0,g.jsxs)("div",{className:`boxed ${ru().boxed}`,children:[(0,g.jsx)("button",{type:"button",className:ru().mobile_menu_button,onClick:p,children:(0,g.jsxs)("svg",{viewBox:"0 0 100 80",width:"30",height:"30",children:[(0,g.jsx)("title",{children:"Open menu"}),(0,g.jsx)("rect",{width:"100",height:"14",fill:"#fff"}),(0,g.jsx)("rect",{y:"30",width:"100",height:"14",fill:"#fff"}),(0,g.jsx)("rect",{y:"60",width:"100",height:"14",fill:"#fff"})]})}),(0,g.jsxs)("div",{className:ru().logocontainer,children:[(0,g.jsx)("div",{className:ru().logo,children:(0,g.jsx)(ra(),{href:"/",prefetch:!1,children:(0,g.jsx)("img",{src:rc.src,height:41,width:118,alt:"Camper.nl",fetchPriority:"high"})})}),(0,g.jsxs)("div",{className:ru().anwblogocontainer,children:["partner van",(0,g.jsx)("a",{href:"https://www.anwb.nl/",className:ru().anwblogo,rel:"nofollow",children:(0,g.jsx)("img",{src:rp.src,height:30,width:56,alt:"ANWB",fetchPriority:"high"})})]})]}),(0,g.jsxs)("nav",{className:(0,rs.A)(ru().menu,t&&ru().menu_open),"aria-label":"Hoofdmenu",children:[(0,g.jsx)("div",{className:ru().menu__item,children:(0,g.jsx)(ra(),{href:"/",prefetch:!1,className:(0,rs.A)(ru().menu_title,ru().menu_title__home),children:"Zoek een camper"})}),u&&u.length>0&&(0,g.jsxs)("div",{className:ru().menu__item,children:[(0,g.jsxs)("a",{className:ru().menu_title,href:"#",onClick:e=>((e,t)=>{e.preventDefault(),i(t===r?void 0:t)})(e,"destinations"),children:["Bestemmingen",(0,g.jsx)("div",{className:ru().menu_arrow})]}),(0,g.jsx)("nav",{className:(0,rs.A)(ru().foldout,ru().foldoutpagewide,"destinations"===r&&ru().visible),"aria-hidden":"destinations"!==r,"aria-label":"Bestemmingen",children:u.map(e=>(0,g.jsxs)("div",{className:ru().subsubmenu,children:[e.header&&(0,g.jsx)("p",{className:ru().subsubmenu__header,children:(0,g.jsx)(rd,{item:e.header,"data-menuid":e.id,onClick:d})}),(0,g.jsx)("div",{className:(0,rs.A)(ru().foldout__content,(!e.header||e.id===s)&&ru().foldout__contentopen),children:e.links.map(e=>(0,g.jsx)(rd,{item:e,onClick:p},e.id))})]},e.id))})]}),c&&c.length>0&&c.map(e=>(0,g.jsx)("div",{className:ru().menu__item,children:(0,g.jsx)(ra(),{href:e.link,prefetch:!1,className:ru().menu_title,children:e.text})},e.id))]})]})})};var rf=n(4402),rm=n.n(rf);let rg=({header:e,links:t})=>0===t.length?null:(0,g.jsxs)("li",{children:[e&&(0,g.jsx)(ra(),{href:e.link,prefetch:!1,className:rm().header,children:e.text}),(0,g.jsx)("ul",{children:t.map(e=>(0,g.jsx)("li",{children:(0,g.jsx)(ra(),{href:e.link,prefetch:!1,children:e.text})},e.id))})]}),r_=({row:e})=>0===e.length?null:(0,g.jsx)("ul",{className:rm().menu,children:e.map(e=>(0,g.jsx)(rg,{header:e.header,links:e.links}
7,e.id))});var ry=n(9240);let rv=({data:e})=>{if(!e)return null;let t=e.sites;return(0,g.jsxs)("footer",{className:rm().footer,children:[(0,g.jsxs)("div",{className:rm().menucontainer,children:[(0,g.jsx)(r_,{row:e.footerlinkstop}),(0,g.jsx)(r_,{row:e.footerlinksbottom})]}),t.length>0&&(0,g.jsx)("div",{className:rm().sitelinks,children:t.map((e,n)=>(0,g.jsxs)(_.Fragment,{children:[e&&(0,g.jsx)("a",{href:e.link,target:"_blank",children:e.text}),n!==t.length-1&&" | "]},n))}),e.copyright&&(0,g.jsx)("div",{className:rm().copyright,dangerouslySetInnerHTML:{__html:(0,ry.l5)(e.copyright)}})]})},rE=e=>{window.dataLayer.push({event:"pageview",page:e,title:document.title})};var rb=n(8477);function rx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)"__proto__"!==r&&(e[r]=n[r])}return e}var rk=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=rx({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in i)i[o]&&(s+="; "+o,!0!==i[o]&&(s+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+s}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var s=n[i].split("="),o=s.slice(1).join("=");try{var a=decodeURIComponent(s[0]);if(a in r||(r[a]=t.read(o,a)),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",rx({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,rx({},this.attributes,t))},withConverter:function(t){return e(rx({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),rN=n(6392),rT=n(1898);let rS="/over/cookies";var rO=n(4886),rI=n.n(rO);let rw=({onAccept:e,onDeny:t,onFull:n})=>(0,g.jsxs)("div",{className:(0,rs.A)(rI().popup,rI().consentdialog),role:"dialog","aria-labelledby":"simpleconsenttitle","aria-describedby":"simpleconsentdescription",children:[(0,g.jsx)("h1",{id:"simpleconsenttitle",children:"Cookies op Camper.nl"}),(0,g.jsxs)("div",{id:"simpleconsentdescription",children:[(0,g.jsx)("p",{children:"Camper.nl gebruikt cookies om elke bezoeker de beste gebruikservaring te bieden inclusief videoâs en relevante aanbiedingen op websites van ANWB en derden. Daarnaast gebruikt deze website cookies voor analyse van webbezoek en zorgen ze ervoor dat je een goed werkende website ervaart die is aangepast op wat jij zoekt."}),(0,g.jsx)("p",{children:"Bij akkoord geef je Travelhome toestemming voor het gebruik van cookies."}),(0,g.jsx)("p",{children:"Je kunt altijd jouw cookievoorkeur aanpassen door op âCookiesâ te klikken onderin elke pagina."}),(0,g.jsx)("p",{children:(0,g.jsx)("a",{href:rS,children:"Meer informatie over cookies op Camper.nl"})})]}),(0,g.jsxs)("div",{className:rI().consent__buttons,children:[(0,g.jsx)("button",{className:"button_secondary button_secondary--small",type:"button",onClick:t,children:"Weigeren"}),(0,g.jsx)("button",{className:"button_secondary button_secondary--small",type:"button",onClick:n,children:"Meer cookievoorkeuren"}),(0,g.jsx)("button",{className:"button_main button_main--small",type:"button",onClick:e,children:"Ja, ik ga akkoord"})]})]}),rD=({level:e,currentLevel:t,title:n,onPickConsent:r,children:i})=>(0,g.jsxs)("div",{className:(0,rs.A)(rI().consent__level,e===t&&rI()["consent__level--active"]),"data-value":e,onClick:r,children:[(0,g.jsx)("input",{type:"radio",name:"consentlevel",value:e,id:`consentlevel${e}`,checked:e===t,onChange:r}),(0,g.jsx)("label",{htmlFor:`consentlevel${e}`,children:n}),i]}),rC=({initialLevel:e,onPickConsent:t})=>{let[n,r]=(0,_.useState)(e),i=(0,_.useCallback)(e=>{e.preventDefault(),void 0!==n&&t(n)},[n,t]),s=(0,_.useCallback)(({currentTarget:e})=>{r(Number("value"in e?e.value:e.dataset.value))},[]);return(0,g.jsxs)("div",{className:(0,rs.A)(rI().popup,rI().consentdialog),role:"dialog","aria-labelledby":"fullconsenttitle",children:[(0,g.jsx)("h1",{id:"fullconsenttitle",children:"Mijn cookie instellingen"}),(0,g.jsx)("p",{children:(0,g.jsx)("a",{href:rS,children:"Meer informatie over cookies op Camper.nl"})}),(0,g.jsxs)("form",{onSubmit:i,children:[(0,g.jsx)(rD,{level:2,title:"Volledig",currentLevel:n,onPickConsent:s,children:(0,g.jsxs)("p",{children:["Goede werking website en diensten",(0,g.jsx)("br",{}),"Persoonlijker aanbod en informatie op travelhome.nl en sites van derden"]})}),(0,g.jsx)(rD,{level:1,title:"Beperkt",currentLevel:n,onPickConsent:s,children:(0,g.jsxs)("p",{children:["Goede werking website en diensten",(0,g.jsx)("br",{}),"Persoonlijker aanbod en informatie op travelhome.nl"]})}),(0,g.jsx)(rD,{level:0,title:"Functioneel",currentLevel:n,onPickConsent:s,children:(0,g.jsx)("p",{children:"Goede werking website en diensten"})}),(0,g.jsx)("div",{className:rI().consent__buttons,children:(0,g.jsx)("button",{className:"button_main",type:"submit",disabled:void 0===n,children:"Akkoord en opslaan"})})]})]})},rA=()=>{let e=window.location.pathname===rS,t=(()=>{let e=rk.get("thconsent");if(void 0===e)return;let t=Number(e);if(!Number.isNaN(t)&&!(t<0)&&!(t>2))return t})(),[n,r]=(0,_.useState)(void 0),[i,s]=(0,_.useState)(null);void 0!==t||null!==i||e||s("simple"),(0,_.useEffect)(()=>
7{if(null===i)return;let e=document.body;e.classList.add(rI().haspopup);let t=document.createElement("div");return e.appendChild(t),r(t),()=>{document.body.removeChild(t),e.classList.remove(rI().haspopup)}},[i]),(0,_.useEffect)(()=>{let e=document.querySelectorAll(".cookiesettings");if(0===e.length)return;let t=e=>{e.preventDefault(),s("full")};return e.forEach(e=>e.addEventListener("click",t)),()=>e.forEach(e=>e.removeEventListener("click",t))},[]);let o=(0,_.useCallback)(e=>{(e=>{rk.set("thconsent",e.toString(),{expires:function(e,t,n){let{years:r=0,months:i=0,weeks:s=0,days:o=0,hours:a=0,minutes:l=0,seconds:u=0}=t,c=(0,rT.a)(e,void 0),p=i||r?function(e,t,n){let r=(0,rT.a)(e,void 0);if(isNaN(t))return(0,rN.w)(e,NaN);if(!t)return r;let i=r.getDate(),s=(0,rN.w)(n?.in||e,r.getTime());return(s.setMonth(r.getMonth()+t+1,0),i>=s.getDate())?s:(r.setFullYear(s.getFullYear(),s.getMonth(),i),r)}(c,i+12*r):c,d=o||s?function(e,t,n){let r=(0,rT.a)(e,void 0);return isNaN(t)?(0,rN.w)(e,NaN):(t&&r.setDate(r.getDate()+t),r)}(p,o+7*s):p;return(0,rN.w)(e,+d+1e3*(u+60*(l+60*a)))}(new Date,{years:1}),secure:!/localhost/.test(window.location.hostname),sameSite:"lax",path:"/"}),"onConsentLevelUpdate"in window&&"function"==typeof window.onConsentLevelUpdate&&window.onConsentLevelUpdate(e)})(e),s(null)},[]);return n&&i?"simple"===i?(0,rb.createPortal)((0,g.jsx)(rw,{onDeny:()=>o(0),onAccept:()=>o(2),onFull:()=>s("full")}),n):(0,rb.createPortal)((0,g.jsx)(rC,{initialLevel:t,onPickConsent:o}),n):null};var rj=n(5362),rL=n.n(rj);(function(e){var t;let n={...e};t8(n,"react"),t={version:_.version},eq().setContext("react",t),function(e={}){var t,n;let r,i=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===x.window||x.nw)return!1;let e=x.chrome||x.browser;if(!e?.runtime?.id)return!1;let t=nl();return!(x===x.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(nP&&w(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),s=null==e.defaultIntegrations?[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(n){t=ty(e,n.getOptions())},processEvent:(n,r,i)=>(t||(t=ty(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&eC(n,t)}(e,t.ignoreTransactions))return S&&j.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 8Event: ${es(e)}`),!0}else{var n,r,i;if(n=e,r=t.ignoreErrors,r?.length&&tg(n).some(e=>eC(e,r)))return S&&j.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 9Event: ${es(e)}`),!0;if(i=e,i.exception?.values?.length&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return S&&j.warn(`Event dropped due to not having an error message, error type or stacktrace. 10Event: ${es(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=tv(e);return!!n&&eC(n,t)}(e,t.denyUrls))return S&&j.warn(`Event dropped due to being matched by \`denyUrls\` option. 11Event: ${es(e)}. 12Url: ${tv(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=tv(e);return!n||eC(n,t)}(e,t.allowUrls))return S&&j.warn(`Event dropped due to not being matched by \`allowUrls\` option. 13Event: ${es(e)}. 14Url: ${tv(e)}`),!0}return!1}(n,t)?n:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n,r=Q(this);try{tE.has(eV())&&void 0!==r&&(n=r)}catch{}return e.apply(n??this,t)}}catch{}},setup(e){tE.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=eB().getScopeData(),n=eq().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=e8(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!i?.startsWith("ai."))return;e.setAttribute("gen_ai.conversation.id",r)}})}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&z(x,"setTimeout",n$),t.setInterval&&z(x,"setInterval",n$),t.requestAnimationFrame&&z(x,"requestAnimationFrame",nF),t.XMLHttpRequest&&"XMLHttpRequest"in x&&z(XMLHttpRequest.prototype,"send",nU);let e=t.eventTarget;
14e&&(Array.isArray(e)?e:nM).forEach(e=>(function(e,t){let n=x[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(z(n,"addEventListener",function(n){return function(r,i,s){var o,a,l,u;try{o=i,"function"==typeof o.handleEvent&&(i.handleEvent=nc(i.handleEvent,{mechanism:{data:{handler:eN(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&(a=this,l=r,u=i,a&&"object"==typeof a&&"removeEventListener"in a&&"function"==typeof a.removeEventListener&&a.removeEventListener(l,u)),n.apply(this,[r,nc(i,{mechanism:{data:{handler:eN(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),z(n,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))})(e,t))}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,i,s,o,a,l;t.console&&function(e){let t="console";nm(t,e),ng(t,nE)}((n=e,function(e){var t;if(eV()!==n)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:ew(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message=`Assertion failed: ${ew(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1);nN(r,{input:e.args,level:e.level})})),t.dom&&(nm("dom",(r=e,i=t.dom,function(e){let t,n;if(eV()!==r)return;let s="object"==typeof i?i.serializeAttribute:void 0,o="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;o&&o>1024&&(nP&&j.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof s&&(s=[s]);try{var a;let r=e.event,i=(a=r)&&a.target?r.target:r;t=nR(i,{keyAttrs:s,maxStringLength:o}),n=function(e,t=5){if(!x.HTMLElement)return null;let n=e;for(let e=0;e<t&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}(i)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),nN(l,{event:e.event,name:e.name,global:e.global})})),ng("dom",nO)),t.xhr&&(nm("xhr",(s=e,function(e){if(eV()!==s)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[nw];if(!t||!n||!r)return;let{method:i,url:o,status_code:a,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:i,url:o,status_code:a},type:"http",level:nT(a)};s.emit("beforeOutgoingRequestBreadcrumb",c,u),nN(c,u)})),ng("xhr",nD)),t.fetch&&function(e,t){let n="fetch";nm(n,e),ng(n,()=>(function(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in x))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(nb(x.fetch))return!0;let e=!1,t=x.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=nb(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){S&&j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&z(x,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:nk(t),method:nx(n,"method")?String(n.method).toUpperCase():H(t)&&nx(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:nk(t),method:nx(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:i,url:s},startTimestamp:1e3*ec(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(H(t))return new Headers(t.headers)}catch{}}(n)};return e||n_("fetch",{...o}),t.apply(x,n).then(async t=>(e?e(t):n_("fetch",{...o,endTimestamp:1e3*ec(),response:t}),t),e=>{n_("fetch",{...o,endTimestamp:1e3*ec(),error:e}),R(e)&&void 0===e.stack&&(e.stack=r.stack,W(e,"framesToPop",1));let t=eV(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&R(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:W(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})})(void 0,void 0))}((o=e,function(e){if(eV()!==o)return;let{startTimestamp:t,endTimestamp:n}=e;
14if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",i,r),nN(i,r)}else{let r=e.response,i={...e.fetchData,status_code:r?.status},s={input:e.args,response:r,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:i,type:"http",level:nT(i.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",a,s),nN(a,s)}})),t.history&&nC((a=e,function(e){if(eV()!==a)return;let t=e.from,n=e.to,r=nS(x.location.href),i=t?nS(t):void 0,s=nS(n);i?.path||(i=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),nN({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){eV()===l&&nN({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:es(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){let t="error";nm(t,t=>{let{stackParser:n,attachStacktrace:r}=nJ();if(eV()!==e||nu>0)return;let{msg:i,url:s,line:o,column:a,error:l}=t,u=function(e,t,n,r){let i=e.exception=e.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},l=a.frames=a.frames||[];return 0===l.length&&l.push({colno:r,lineno:n,filename:function(e){if(F(e)&&0!==e.length)return e.startsWith("data:")?`<${function(e,t=!0){if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),s=e.indexOf(","),o="";if(t&&-1!==s){let t=e.slice(s+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?",base64":""}${o?`,${o}`:""}`}return e}(e,!1)}>`:e}(t)??nl(),function:"?",in_app:!0}),e}(no(n,l||i,void 0,r,!1),s,o,a);u.level="error",tl(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),ng(t,nY)}(e),nW("onerror")),t.onunhandledrejection&&(function(e){let t="unhandledrejection";nm(t,t=>{var n;let{stackParser:r,attachStacktrace:i}=nJ();if(eV()!==e||nu>0)return;let s=function(e){if(B(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),o=B(s)?(n=s,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}):no(r,s,void 0,i,!0);o.level="error",tl(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),ng(t,nz)}(e),nW("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){!function(e,t,n,r,i,s){if(!i.exception?.values||!s||!R(s.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=function e(t,n,r,i,s,o,a,l){if(o.length>=r+1)return o;let u=[...o];if(R(i[s])){nX(a,l,i);let o=t(n,i[s]),c=u.length;nZ(o,s,c,l),u=e(t,n,r,i[s],s,[o,...u],o,c)}return nQ(i)&&i.errors.forEach((o,c)=>{if(R(o)){nX(a,l,i);let p=t(n,o),d=u.length;nZ(p,`errors[${c}]`,d,l),u=e(t,n,r,o,s,[p,...u],p,d)}}),u}(e,t,r,s.originalException,n,i.exception.values,o,0))}(nt,i.getOptions().stackParser,n,t,e,r)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var t,n;if(t=e,(n=r)&&(function(e,t){let n=e.message,r=t.message;return(!!n||!!r)&&(!n||!!r)&&(!!n||!r)&&n===r&&!!tx(e,t)&&!!tb(e,t)&&!0}(t,n)||function(e,t){let n=tk(t),r=tk(e);return!!n&&!!r&&n.type===r.type&&n.value===r.value&&!!tx(e,t)&&!!tb(e,t)}(t,n)))return S&&j.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return r=e}},{name:"HttpContext",preprocessEvent(e){if(!x.navigator&&!x.location&&!x.document)return;let t=np(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){var t,n;if(!x.navigator&&!x.location&&!x.document)return;let r=np();nV(e,{"user_agent.original":r.headers["User-Agent"],...e.is_segment&&{"url.full":e.attributes?.["sentry.op"]!=="http.client"?void 0===(t=r.url)?void 0:function(e,t){let n=e.indexOf("#"),r=-1===n?e.length:n,i=e.indexOf("?");if(-1===i||i>r)return e;let s=e.slice(0,i),o=e.slice(i+1,r),a=e.slice(r),l=function(e,t){if(e&&!1!==t)return e.split("&").map(e=>{let n=e.indexOf("="),r=-1===n?e:e.slice(0,n),i=new URLSearchParams(`${r}=`).keys().next().value;return void 0!==i&&function(e,t,n){if(!1===t)return!0;let r=e.toLowerCase();if(tV.some(e=>r.includes(e)))return!0;
14if(!0===t)return!1;let i=("deny"in t?t.deny:t.allow).some(e=>r.includes(e.toLowerCase()));return"deny"in t?i:!i}(i,t)?`${r}=[Filtered]`:e}).join("&")}(o,t);return l?`${s}?${l}${a}`:`${s}${a}`}(t,(n=void 0,(n??eV())?.getDataCollectionOptions().urlQueryParams??!0)):void 0,"http.request.header.referer":r.headers.Referer}})}},{name:"CultureContext",preprocessEvent(e){let t=nG();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=nG();t&&nV(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){let e;if(void 0===x.document){nP&&j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}tu({ignoreDuration:!0});let n=!1;var r,i=()=>{n||(td(),n=!0)};let s=x.requestIdleCallback||x.setTimeout;x.document?.visibilityState==="hidden"?i():(nB("visibilitychange",(r=i,e=!1,i=()=>{e||(r(),e=!0)}),{once:!0,capture:!0}),nB("pagehide",i,{once:!0,capture:!0}),s(()=>{i(),nq("visibilitychange",i,{capture:!0}),nq("pagehide",i,{capture:!0})}));let o=eq(),a=o.getUser();o.addScopeListener(e=>{let t=e.getUser();
14(a?.id!==t?.id||a?.ip_address!==t?.ip_address)&&(a=t,n&&td())}),"route"===t&&nC(({from:e,to:t})=>{e!==t&&(tu({ignoreDuration:!0}),td(),n=!0)})}}})()]:e.defaultIntegrations,a={...e,enabled:!i&&e.enabled,stackParser:Array.isArray(t=e.stackParser||n9)?eb(...t):t,integrations:function(e){let t,n=e.defaultIntegrations||[],r=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;let i={};return t.forEach(e=>{let{name:t}=e,n=i[t];n&&!n.isDefaultInstance&&e.isDefaultInstance||(i[t]=e)}),Object.values(i)}({integrations:e.integrations,defaultIntegrations:s}),transport:e.transport||rt};o=rr,!0===a.debug&&(S?j.enable():w(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eB().update(a.initialScope);let l=new nd(a);n=l,eB().setClient(n),l.init()}(n),o=ri})({dsn:"https://[email protected]/5573160",environment:"production",release:"camper2-website@4685e02"}),(()=>{let e={gaaccount:"UA-271044-7",website:"Camper.nl",debug:!1};window.dataLayer?window.dataLayer.push(e):window.dataLayer=[e]})();let rR=({Component:e,pageProps:t})=>{let{pageTitle:n,metaDescription:r,backendError:i,data:s}=t,o=(0,E.useRouter)(),a=(0,_.useRef)({footer:void 0,header:void 0}).current;return s?.header&&(a.header=s.header),s?.footer&&(a.footer=s.footer),(0,_.useEffect)(()=>(o.events.on("routeChangeComplete",rE),()=>{o.events.off("routeChangeComplete",rE)}),[o.events]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(v(),{children:[(0,g.jsx)("title",{children:`${n} - Camper.nl`}),(0,g.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,g.jsx)("link",{rel:"preconnect",href:"https://media.globalcamper.com"}),(0,g.jsx)("link",{rel:"dns-prefetch",href:"https://cms.camper.nl"}),(0,g.jsx)("link",{rel:"dns-prefetch",href:"https://api.globalcamper.com"}),(0,g.jsx)("link",{rel:"dns-prefetch",href:"https://wizard.globalcamper.com"}),(0,g.jsx)("meta",{name:"theme-color",content:"#79a71e"}),r&&(0,g.jsx)("meta",{name:"description",content:r})]}),(0,g.jsx)(rh,{menu:a?.header}),(0,g.jsxs)("main",{className:rL().className,children:[i&&(0,g.jsxs)("p",{style:{textAlign:"center",fontSize:"2em"},children:[(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),"De website kan niet geladen worden, probeer het later opnieuw :("]}),!i&&(0,g.jsx)(e,{...t})]}),a?.footer&&(0,g.jsx)(rv,{data:a.footer}),(0,g.jsx)(rA,{})]})}},3786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(4232),i=n(3273),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!s,[c,p]=(0,r.useState)(!1),d=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(s){if(u||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:s}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},a.push(n),o.set(n,t),t}(n);return s.set(e,t),i.observe(e),function(){if(s.delete(e),i.unobserve(e),0===s.size){i.disconnect(),o.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&p(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>p(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,d.current]),[h,c,(0,r.useCallback)(()=>{p(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return x},useLinkStatus:function(){return b}});let r=n(8365),i=n(7876),s=r._(n(4232)),o=n(4727),a=n(1623),l=n(170),u=n(464),c=n(125),p=n(242),d=n(3786),h=n(4327),f=n(9094),m=n(9203);n(5785);let g=new Set;function _(e,t,n,r){if((0,a.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let v=s.default.forwardRef(function(e,t){let n,r,{href:l,as:g,children:v,prefetch:E=null,passHref:b,replace:x,shallow:k,scroll:N,locale:T,onClick:S,onNavigate:O,onMouseEnter:I,onTouchStart:w,legacyBehavior:D=!1,...C}=e;n=v,D&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let A=s.default.useContext(p.RouterContext),j=!1!==E,{href:L,as:R}=s.default.useMemo(()=>
14{if(!A){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(A,l,!0);return{href:e,as:g?(0,o.resolveHref)(A,g):t||e}},[A,l,g]),P=s.default.useRef(L),M=s.default.useRef(R);D&&(r=s.default.Children.only(n));let $=D?r&&"object"==typeof r&&r.ref:t,[F,U,B]=(0,d.useIntersection)({rootMargin:"200px"}),q=s.default.useCallback(e=>{(M.current!==R||P.current!==L)&&(B(),M.current=R,P.current=L),F(e)},[R,L,B,F]),V=(0,m.useMergedRef)(q,$);s.default.useEffect(()=>{A&&U&&j&&_(A,L,R,{locale:T})},[R,L,U,T,j,null==A?void 0:A.locale,A]);let G={ref:V,onClick(e){D||"function"!=typeof S||S(e),D&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),A&&(e.defaultPrevented||function(e,t,n,r,i,s,o,l,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,a.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==o||o;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:l,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,A,L,R,x,k,N,T,O))},onMouseEnter(e){D||"function"!=typeof I||I(e),D&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),A&&_(A,L,R,{locale:T,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){D||"function"!=typeof w||w(e),D&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),A&&_(A,L,R,{locale:T,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(R))G.href=R;else if(!D||b||"a"===r.type&&!("href"in r.props)){let e=void 0!==T?T:null==A?void 0:A.locale;G.href=(null==A?void 0:A.isLocaleDomain)&&(0,h.getDomainLocale)(R,e,null==A?void 0:A.locales,null==A?void 0:A.domainLocales)||(0,f.addBasePath)((0,c.addLocale)(R,e,null==A?void 0:A.defaultLocale))}return D?s.default.cloneElement(r,G):(0,i.jsx)("a",{...C,...G,children:n})}),E=(0,s.createContext)({pending:!1}),b=()=>(0,s.useContext)(E),x=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let r=n(9783);function i(e,t,i,s){{let o=n(4363).normalizeLocalePath,a=n(8570).detectDomainLocale,l=t||o(e,i).detectedLocale,u=a(s,void 0,l);if(u){let t="http"+(u.http?"":"s")+"://",n=l===u.defaultLocale?"":"/"+l;return""+t+u.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4363:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(8116).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4402:e=>{e.exports={footer:"cFqLCLG0K",menucontainer:"cv1jjSk1R",menu:"cYx17E5Qx",header:"cuP_jbJ4L",sitelinks:"cXDOFJrzZ",copyright:"cbRDqEjfI"}},4886:e=>{e.exports={popup:"csk5gOkxA",cta_button:"cVAwiriQ_",haspopup:"caQ0EOjAy",consentdialog:"cz25MAgo5",consent__buttons:"cI0F2Hu6Z",consent__level:"cUM0gw9lt","consent__level--active":"cDMGakuSE"}},5362:e=>{e.exports={style:{fontFamily:"'Open Sans', 'Open Sans Fallback'",fontStyle:"normal"},className:"__className_2fad4c"}},5785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},6392:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(2364);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}}
14,7328:(e,t,n)=>{e.exports=n(9269)},7584:(e,t,n)=>{"use strict";n.d(t,{L:()=>ew,$:()=>eD});class r extends Error{response;request;constructor(e,t){super(`${r.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,r.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${String(e.status)})`}}n(5364);let i=e=>e.toUpperCase(),s=e=>"function"==typeof e?e():e,o=(e,t)=>e.map((e,n)=>[e,t[n]]),a=e=>{let t={};return e instanceof Headers?t=l(e):Array.isArray(e)?e.forEach(([e,n])=>{e&&void 0!==n&&(t[e]=n)}):e&&(t=e),t},l=e=>{let t={};return e.forEach((e,n)=>{t[n]=e}),t},u=e=>e instanceof Error?e:Error(String(e)),c=e=>{throw Error(`Unhandled case: ${String(e)}`)},p=e=>"object"==typeof e&&null!==e&&!Array.isArray(e);!function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(eE||(eE={}));let d="Accept",h="Content-Type",f="application/json",m="application/graphql-response+json",g=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),_=e=>{try{if(Array.isArray(e))return{_tag:"Batch",executionResults:e.map(y)};if(p(e))return{_tag:"Single",executionResult:y(e)};throw Error(`Invalid execution result: result is not object or array. 15Got: 16${String(e)}`)}catch(e){return e}},y=e=>{let t,n,r;if("object"!=typeof e||null===e)throw Error("Invalid execution result: result is not object");if("errors"in e){if(!p(e.errors)&&!Array.isArray(e.errors))throw Error("Invalid execution result: errors is not plain object OR array");t=e.errors}if("data"in e){if(!p(e.data)&&null!==e.data)throw Error("Invalid execution result: data is not plain object");n=e.data}if("extensions"in e){if(!p(e.extensions))throw Error("Invalid execution result: extensions is not plain object");r=e.extensions}return{data:n,errors:t,extensions:r}},v=e=>Array.isArray(e.errors)?e.errors.length>0:!!e.errors,E=e=>"object"==typeof e&&null!==e&&"kind"in e&&e.kind===eE.OPERATION_DEFINITION,b=/\r\n|[\n\r]/g;function x(e,t){let n=0,r=1;for(let i of e.body.matchAll(b)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function k(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?n:0,l=t.column+a,u=`${e.name}:${o}:${l} 17`,c=r.split(/\r\n|[\n\r]/g),p=c[i];if(p.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return u+N([[`${o} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return u+N([[`${o-1} |`,c[i-1]],[`${o} |`,p],["|","^".padStart(l)],[`${o+1} |`,c[i+1]]])}function N(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}
17class T extends Error{constructor(e,...t){var n,r,i;let{nodes:s,source:o,positions:a,path:l,originalError:u,extensions:c}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=S(Array.isArray(s)?s:s?[s]:void 0);let p=S(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==p||null==(r=p[0])?void 0:r.source,this.positions=null!=a?a:null==p?void 0:p.map(e=>e.start),this.locations=a&&o?a.map(e=>x(o,e)):null==p?void 0:p.map(e=>x(e.source,e.start));let d=!function(e){return"object"==typeof e&&null!==e}(null==u?void 0:u.extensions)||null==u?void 0:u.extensions;this.extensions=null!=(i=null!=c?c:d)?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,T):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let n of this.nodes){var t;n.loc&&(e+="\n\n"+k((t=n.loc).source,x(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+k(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function S(e){return void 0===e||0===e.length?void 0:e}function O(e,t,n){return new T(`Syntax Error: ${n}`,{source:e,positions:[t]})}class I{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class w{constructor(e,t,n,r,i,s){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let D={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},C=new Set(Object.keys(D));function A(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&C.has(t)}function j(e){return 9===e||32===e}function L(e){return e>=48&&e<=57}function R(e){return e>=97&&e<=122||e>=65&&e<=90}function P(e){return R(e)||95===e}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(eb||(eb={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"}(ex||(ex={})),!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
17",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(ek||(ek={}));class M{constructor(e){let t=new w(ek.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==ek.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if($(e))++i;else if(F(n,i))i+=2;else break}return V(e,ek.COMMENT,t,i,n.slice(t+1,i))}(e,i);case 33:return V(e,ek.BANG,i,i+1);case 36:return V(e,ek.DOLLAR,i,i+1);case 38:return V(e,ek.AMP,i,i+1);case 40:return V(e,ek.PAREN_L,i,i+1);case 41:return V(e,ek.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return V(e,ek.SPREAD,i,i+3);break;case 58:return V(e,ek.COLON,i,i+1);case 61:return V(e,ek.EQUALS,i,i+1);case 64:return V(e,ek.AT,i,i+1);case 91:return V(e,ek.BRACKET_L,i,i+1);case 93:return V(e,ek.BRACKET_R,i,i+1);case 123:return V(e,ek.BRACE_L,i,i+1);case 124:return V(e,ek.PIPE,i,i+1);case 125:return V(e,ek.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,o=s,a="",l=[];for(;s<r;){let r=n.charCodeAt(s);if(34===r&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)){a+=n.slice(o,s),l.push(a);let r=V(e,ek.BLOCK_STRING,t,s+3,(function(e){var t,n;let r=Number.MAX_SAFE_INTEGER,i=null,s=-1;for(let t=0;t<e.length;++t){let o=e[t],a=function(e){let t=0;for(;t<e.length&&j(e.charCodeAt(t));)++t;return t}(o);a!==o.length&&(i=null!=(n=i)?n:t,s=t,0!==t&&a<r&&(r=a))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(t=i)?t:0,s+1)})(l).join("\n"));return e.line+=l.length-1,e.lineStart=i,r}if(92===r&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)&&34===n.charCodeAt(s+3)){a+=n.slice(o,s),o=s+1,s+=4;continue}if(10===r||13===r){a+=n.slice(o,s),l.push(a),13===r&&10===n.charCodeAt(s+1)?s+=2:++s,a="",o=s,i=s;continue}if($(r))++s;else if(F(n,s))s+=2;else throw O(e.source,s,`Invalid character within String: ${q(e,s)}.`)}throw O(e.source,s,"Unterminated string.")}(e,i);return function(e,t){let n=e.source.body,r=n.length,i=t+1,s=i,o="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return o+=n.slice(s,i),V(e,ek.STRING,t,i+1,o);if(92===r){o+=n.slice(s,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?function(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!$(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|Y(e))<0)break}throw O(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}(e,i):function(e,t){let n=e.source.body,r=K(n,t+2);if($(r))return{value:String.fromCodePoint(r),size:6};if(U(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=K(n,t+8);if(B(e))return{value:String.fromCodePoint(r,e),size:12}}throw O(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,i):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw O(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,i);o+=t.value,i+=t.size,s=i;continue}if(10===r||13===r)break;if($(r))++i;else if(F(n,i))i+=2;else throw O(e.source,i,`Invalid character within String: ${q(e,i)}.`)}throw O(e.source,i,"Unterminated string.")}(e,i)}if(L(t)||45===t)return function(e,t,n){let r=e.source.body,i=t,s=n,o=!1;if(45===s&&(s=r.charCodeAt(++i)),48===s){if(L(s=r.charCodeAt(++i)))throw O(e.source,i,`Invalid number, unexpected digit after 0: ${q(e,i)}.`)}else i=G(e,i,s),s=r.charCodeAt(i);if(46===s&&(o=!0,s=r.charCodeAt(++i),i=G(e,i,s),s=r.charCodeAt(i)),(69===s||101===s)&&(o=!0,(43===(s=r.charCodeAt(++i))||45===s)&&(s=r.charCodeAt(++i)),i=G(e,i,s),s=r.charCodeAt(i)),46===s||P(s))throw O(e.source,i,`Invalid number, expected digit but got: ${q(e,i)}.`);return V(e,o?ek.FLOAT:ek.INT,t,i,r.slice(t,i))}(e,i,t);if(P(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){var s;if(R(s=n.charCodeAt(i))||L(s)||95===s)++i;else break}return V(e,ek.NAME,t,i,n.slice(t,i))}(e,i);throw O(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":$(t)||F(n,i)?`Unexpected character: ${q(e,i)}.`:`Invalid character: ${q(e,i)}.`)}return V(e,ek.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===ek.COMMENT);return e}}function $(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function F(e,t){return U(e.charCodeAt(t))&&B(e.charCodeAt(t+1))}function U(e){return e>=55296&&e<=56319}function B(e){return e>=56320&&e<=57343}function q(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return ek.EOF;
17if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function V(e,t,n,r,i){let s=e.line,o=1+n-e.lineStart;return new w(t,n,r,s,o,i)}function G(e,t,n){if(!L(n))throw O(e.source,t,`Invalid number, expected digit but got: ${q(e,t)}.`);let r=e.source.body,i=t+1;for(;L(r.charCodeAt(i));)++i;return i}function K(e,t){return Y(e.charCodeAt(t))<<12|Y(e.charCodeAt(t+1))<<8|Y(e.charCodeAt(t+2))<<4|Y(e.charCodeAt(t+3))}function Y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function H(e,t){if(!e)throw Error(t)}function z(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:z(t,n)}else if(Array.isArray(e)){var r=e,i=n;if(0===r.length)return"[]";if(i.length>2)return"[Array]";let t=Math.min(10,r.length),s=r.length-t,o=[];for(let e=0;e<t;++e)o.push(z(r[e],i));return 1===s?o.push("... 1 more item"):s>1&&o.push(`... ${s} more items`),"["+o.join(", ")+"]"}var s=e,o=n;let a=Object.entries(s);return 0===a.length?"{}":o.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(s)+"]":"{ "+a.map(([e,t])=>e+": "+z(t,o)).join(", ")+" }"}(e,t);default:return String(e)}}let W=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=z(e,[]);throw Error(`Cannot use ${r} "${t}" from another module or realm. 18 19Ensure that there is only one instance of "graphql" in the node_modules 20directory. If different versions of "graphql" are the dependencies of other 21relied on modules, use "resolutions" to ensure only one version is installed. 22 23https://yarnpkg.com/en/docs/selective-version-resolutions 24 25Duplicate "graphql" modules cannot be used at the same time since different 26versions may have different capabilities and behavior. The data from one 27version used in the function from another could produce confusing and 28spurious results.`)}}return!1};class J{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||H(!1,`Body must be a string. Received: ${z(e,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||H(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||H(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Q{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=W(e,J)?e:new J(e);this._lexer=new M(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(ek.NAME);return this.node(e,{kind:eE.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:eE.DOCUMENT,definitions:this.many(ek.SOF,this.parseDefinition,ek.EOF)})}parseDefinition(){if(this.peek(ek.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===ek.BRACE_L)throw O(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===ek.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw O(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
28ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(ek.BRACE_L))return this.node(t,{kind:eE.OPERATION_DEFINITION,operation:eb.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),r=this.parseOperationType();return this.peek(ek.NAME)&&(e=this.parseName()),this.node(t,{kind:eE.OPERATION_DEFINITION,operation:r,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(ek.NAME);switch(e.value){case"query":return eb.QUERY;case"mutation":return eb.MUTATION;case"subscription":return eb.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(ek.PAREN_L,this.parseVariableDefinition,ek.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:eE.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(ek.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ek.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(ek.DOLLAR),this.node(e,{kind:eE.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:eE.SELECTION_SET,selections:this.many(ek.BRACE_L,this.parseSelection,ek.BRACE_R)})}parseSelection(){return this.peek(ek.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(ek.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:eE.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ek.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(ek.PAREN_L,t,ek.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(ek.COLON),this.node(t,{kind:eE.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(ek.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(ek.NAME)?this.node(e,{kind:eE.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:eE.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:eE.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:eE.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case ek.BRACKET_L:return this.parseList(e);case ek.BRACE_L:return this.parseObject(e);case ek.INT:return this.advanceLexer(),this.node(t,{kind:eE.INT,value:t.value});case ek.FLOAT:return this.advanceLexer(),this.node(t,{kind:eE.FLOAT,value:t.value});case ek.STRING:case ek.BLOCK_STRING:return this.parseStringLiteral();case ek.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:eE.BOOLEAN,value:!0});case"false":return this.node(t,{kind:eE.BOOLEAN,value:!1});case"null":return this.node(t,{kind:eE.NULL});default:return this.node(t,{kind:eE.ENUM,value:t.value})}case ek.DOLLAR:if(e){if(this.expectToken(ek.DOLLAR),this._lexer.token.kind===ek.NAME){let e=this._lexer.token.value;throw O(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:eE.STRING,value:e.value,block:e.kind===ek.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:eE.LIST,values:this.any(ek.BRACKET_L,t,ek.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:eE.OBJECT,fields:this.any(ek.BRACE_L,t,ek.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(ek.COLON),this.node(t,{kind:eE.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(ek.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(ek.AT),this.node(t,{kind:eE.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(ek.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(ek.BRACKET_R),e=this.node(t,{kind:eE.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(ek.BANG)?this.node(t,{kind:eE.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:eE.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ek.STRING)||this.peek(ek.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(ek.BRACE_L,this.parseOperationTypeDefinition,ek.BRACE_R);return this.node(e,{kind:eE.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(ek.COLON);let n=this.parseNamedType();return this.node(e,{kind:eE.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:eE.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:eE.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ek.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ek.BRACE_L,this.parseFieldDefinition,ek.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(ek.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:eE.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(ek.PAREN_L,this.parseInputValueDef,ek.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(ek.COLON);let i=this.parseTypeReference();this.expectOptionalToken(ek.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:eE.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:eE.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:eE.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(ek.EQUALS)?this.delimitedMany(ek.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:eE.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(ek.BRACE_L,this.parseEnumValueDefinition,ek.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:eE.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw O(this._lexer.source,this._lexer.token.start,`${X(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:eE.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(ek.BRACE_L,this.parseInputValueDef,ek.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===ek.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(ek.BRACE_L,this.parseOperationTypeDefinition,ek.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:eE.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:eE.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:eE.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:eE.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:eE.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:eE.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:eE.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(ek.AT);let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:eE.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ek.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:eE.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:i,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(ek.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(ex,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,r=this.expectOptionalToken(ek.AT),i=this.parseName();return(!r&&this.expectOptionalToken(ek.DOT)&&(e=this.parseName()),(r||e)&&this.expectOptionalToken(ek.PAREN_L)&&(t=this.parseName(),this.expectToken(ek.COLON),this.expectToken(ek.PAREN_R)),r)?t?this.node(n,{kind:eE.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:t}):this.node(n,{kind:eE.DIRECTIVE_COORDINATE,name:i}):e?t?this.node(n,{kind:eE.ARGUMENT_COORDINATE,name:i,fieldName:e,argumentName:t}):this.node(n,{kind:eE.MEMBER_COORDINATE,name:i,memberName:e}):this.node(n,{kind:eE.TYPE_COORDINATE,name:i})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new I(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw O(this._lexer.source,t.start,`Expected ${Z(e)}, found ${X(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===ek.NAME&&t.value===e)this.advanceLexer();else throw O(this._lexer.source,t.start,`Expected "${e}", found ${X(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===ek.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return O(this._lexer.source,t.start,`Unexpected ${X(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==ek.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw O(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function X(e){let t=e.value;return Z(e.kind)+(null!=t?` "${t}"`:"")}function Z(e){return e===ek.BANG||e===ek.DOLLAR||e===ek.AMP||e===ek.PAREN_L||e
28===ek.PAREN_R||e===ek.DOT||e===ek.SPREAD||e===ek.COLON||e===ek.EQUALS||e===ek.AT||e===ek.BRACKET_L||e===ek.BRACKET_R||e===ek.BRACE_L||e===ek.PIPE||e===ek.BRACE_R?`"${e}"`:e}let ee=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function et(e){return en[e.charCodeAt(0)]}let en=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],er=Object.freeze({}),ei={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>es(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=eu(e.variableDefinitions)?ea("(\n",es(e.variableDefinitions,"\n"),"\n)"):ea("(",es(e.variableDefinitions,", "),")"),n=ea("",e.description,"\n")+es([e.operation,es([e.name,t]),es(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>ea("",i,"\n")+e+": "+t+ea(" = ",n)+ea(" ",es(r," "))},SelectionSet:{leave:({selections:e})=>eo(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let s=ea("",e,": ")+t,o=s+ea("(",es(n,", "),")");return o.length>80&&(o=s+ea("(\n",el(es(n,"\n")),"\n)")),es([o,es(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ea(" ",es(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>es(["...",ea("on ",e),es(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:s})=>ea("",s,"\n")+`fragment ${e}${ea("(",es(n,", "),")")} `+`on ${t} ${ea("",es(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e,t){let n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=1===r.length,s=r.length>1&&r.slice(1).every(e=>0===e.length||j(e.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=a||l,c=!i||e.length>70||u||s||o,p="",d=i&&j(e.charCodeAt(0));return(c&&!d||s)&&(p+="\n"),p+=n,(c||u)&&(p+="\n"),'"""'+p+'"""'}(e):`"${e.replace(ee,et)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+es(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+es(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ea("(",es(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>ea("",e,"\n")+es(["schema",es(t," "),eo(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>ea("",e,"\n")+es(["scalar",t,es(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ea("",e,"\n")+es(["type",t,ea("implements ",es(n," & ")),es(r," "),eo(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>ea("",e,"\n")+t+(eu(n)?ea("(\n",el(es(n,"\n")),"\n)"):ea("(",es(n,", "),")"))+": "+r+ea(" ",es(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>ea("",e,"\n")+es([t+": "+n,ea("= ",r),es(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ea("",e,"\n")+es(["interface",t,ea("implements ",es(n," & ")),es(r," "),eo(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>ea("",e,"\n")+es(["union",t,es(n," "),ea("= ",es(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>ea("",e,"\n")+es(["enum",t,es(n," "),eo(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>ea("",e,"\n")+es([t,es(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>ea("",e,"\n")+es(["input",t,es(n," "),eo(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:i,locations:s})=>ea("",e,"\n")+"directive @"+t+(eu(n)?ea("(\n",el(es(n,"\n")),"\n)"):ea("(",es(n,", "),")"))+ea(" ",es(r," "))+(i?" repeatable":"")+" on "+es(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>es(["extend schema",es(e," "),eo(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>es(["extend scalar",e,es(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>es(["extend type",e,ea("implements ",es(t," & ")),es(n," "),eo(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>es(["extend interface",e,ea("implements ",es(t," & ")),es(n," "),eo(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>es(["extend union",e,es(t," "),ea("= ",es(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>es(["extend enum",e,es(t," "),eo(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>es(["extend input",e,es(t," "),eo(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>es(["extend directive @"+e,es(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>es([e,ea(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>es([e,ea(".",t),ea("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>es(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>es(["@",e,ea("(",t,":)")])}};function es(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function eo(e){return ea("{\n",el(es(e,"\n")),"\n}")}function ea(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function el(e){return ea(" ",e.replace(/\n/g,"\n "))}function eu(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}let ec=(e,t)=>{let n,r="string"==typeof e||"kind"in e?e:String(e),i="string"==typeof r?r:function(e,t,n=D){let r,i,s,o=new Map;for(let e of Object.values(eE))o.set(e,function(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let a=Array.isArray(e),l=[e],u=-1,c=[],p=e,d=[],h=[];do{var f,m,g;let e,_=++u===l.length,y=_&&0!==c.length;if(_){if(i=0===h.length?void 0:d[d.length-1],p=s,s=h.pop(),y)if(a){p=p.slice();let e=0;for(let[t,n]of c){let r=t-e;null===n?(p.splice(r,1),e++):p[r]=n}}else for(let[e,t]of(p={...p},c))p[e]=t;u=r.index,l=r.keys,c=r.edits,a=r.inArray,r=r.prev}else if(s){if(null==(p=s[i=a?u:l[u]]))continue;d.push(i)}if(!Array.isArray(p)){A(p)||H(!1,`Invalid AST Node: ${z(p,[])}.`);let n=_?null==(f=o.get(p.kind))?void 0:f.leave:null==(m=o.get(p.kind))?void 0:m.enter;if((e=null==n?void 0:n.call(t,p,i,s,d,h))===er)break;if(!1===e){if(!_){d.pop();continue}}else if(void 0!==e&&(c.push([i,e]),!_))if(A(e))p=e;else{d.pop();continue}}void 0===e&&y&&c.push([i,p]),_?d.pop():(r={inArray:a,index:u,keys:l,edits:c,prev:r},l=(a=Array.isArray(p))?p:null!=(g=n[p.kind])?g:[],u=-1,c=[],s&&h.push(s),s=p)}while(void 0!==r);return 0!==c.length?c[c.length-1][1]:e}(r,ei),s=!1;if(t)return{expression:i,isMutation:s,operationName:n};let o=(e=>{try{let t=e();if((e=>"object"==typeof e&&null!==e&&"then"in e&&"function"==typeof e.then&&"catch"in e&&"function"==typeof e.catch&&"finally"in e&&"function"==typeof e.finally)(t))return t.catch(e=>u(e));return t}catch(e){return u(e)}})(()=>"string"==typeof r?function(e,t){let n=new Q(e,void 0),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(r):r);return o instanceof Error?{expression:i,isMutation:s,operationName:n}:{expression:i,operationName:n=(e=>{let t,n=e.definitions.filter(E);return 1===n.length&&(t=n[0].name?.value),t})(o),isMutation:s=(e=>{let t=!1,n=e.definitions.filter(E);return 1===n.length&&(t="mutation"===n[0].operation),t})(o)}},ep=JSON,ed=async e=>{let t,n={...e,method:"Single"===e.request._tag?e.request.document.isMutation?"POST":i(e.method??"post"):e.request.hasMutations?"POST":i(e.method??"post"),fetchOptions:{...e.fetchOptions,errorPolicy:e.fetchOptions.errorPolicy??"none"}},s=em(n.method),o=await s(n),a=await o.text();try{t=ef(a,o.headers.get(h),e.fetchOptions.jsonSerializer??ep)}catch(e){t=e}let l={status:o.status,headers:o.headers,body:a};if(!o.ok)return t instanceof Error?new r({...l},{query:"Single"===e.request._tag?e.request.document.expression:e.request.query,variables:e.request.variables}):new r("Batch"===t._tag?{...t.executionResults,...l}:{...t.executionResult,...l},{query:"Single"===e.request._tag?e.request.document.expression:e.request.query,variables:e.request.variables});if(t instanceof Error)throw t;if((e=>"Batch"===e._tag?e.executionResults.some(v):v(e.executionResult))(t)&&"none"===n.fetchOptions.errorPolicy)return new r("Batch"===t._tag?{...t.executionResults,...l}:{...t.executionResult,...l},{query:"Single"===e.request._tag?e.request.document.expression:e.request.query,variables:e.request.variables});switch(t._tag){case"Single":return{...l,...eh(n)(t.executionResult)};case"Batch":return{...l,data:t.executionResults.map(eh(n))};default:c(t)}},eh=e=>t=>({extensions:t.extensions,data:t.data,errors:"all"===e.fetchOptions.errorPolicy?t.errors:void 0}),ef=(e,t,n)=>t&&(e=>{let t=e.toLowerCase();return t.includes(m)||t.includes(f)})(t)?_(n.parse(e)):_(e),em=e=>async t=>{let n,r=new Headers(t.headers),i=null;r.has(d)||r.set(d,[m,f].join(", ")),"POST"===e?"string"!=typeof(n=(t.fetchOptions.jsonSerializer??ep).stringify(eg(t)))||r.has(h)||r.set(h,f):i=e_(t);let s={method:e,headers:r,body:n,...t.fetchOptions},o=new URL(t.url),a=s;if(t.middleware){let{url:e,...n}=await Promise.resolve(t.middleware({...s,url:t.url,operationName:"Single"===t.request._tag?t.request.document.operationName:void 0,variables:t.request.variables}));o=new URL(e),a=n}
28i&&i.forEach((e,t)=>{o.searchParams.append(t,e)});let l=t.fetch??fetch;return await l(o,a)},eg=e=>{switch(e.request._tag){case"Single":return{query:e.request.document.expression,variables:e.request.variables,operationName:e.request.document.operationName};case"Batch":return o(e.request.query,e.request.variables??[]).map(([e,t])=>({query:e,variables:t}));default:throw c(e.request)}},e_=e=>{let t=e.fetchOptions.jsonSerializer??ep,n=new URLSearchParams;switch(e.request._tag){case"Single":return n.append("query",g(e.request.document.expression)),e.request.variables&&n.append("variables",t.stringify(e.request.variables)),e.request.document.operationName&&n.append("operationName",e.request.document.operationName),n;case"Batch":{let r=e.request.variables?.map(e=>t.stringify(e))??[],i=o(e.request.query.map(g),r).map(([e,t])=>({query:e,variables:t}));return n.append("query",t.stringify(i)),n}default:throw c(e.request)}};class ey{url;requestConfig;constructor(e,t={}){this.url=e,this.requestConfig=t}rawRequest=async(...e)=>{let[t,n,r]=e,i=((e,t,n)=>e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0})(t,n,r),{headers:o,fetch:l=globalThis.fetch,method:u="POST",requestMiddleware:c,responseMiddleware:p,excludeOperationName:d,...h}=this.requestConfig,{url:f}=this;void 0!==i.signal&&(h.signal=i.signal);let m=ec(i.query,d),g=await ed({url:f,request:{_tag:"Single",document:m,variables:i.variables},headers:{...a(s(o)),...a(i.requestHeaders)},fetch:l,method:u,fetchOptions:h,middleware:c});if(p&&await p(g,{operationName:m.operationName,variables:n,url:this.url}),g instanceof Error)throw g;return g};async request(e,...t){let[n,r]=t,i=ev(e,n,r),{headers:o,fetch:l=globalThis.fetch,method:u="POST",requestMiddleware:c,responseMiddleware:p,excludeOperationName:d,...h}=this.requestConfig,{url:f}=this;void 0!==i.signal&&(h.signal=i.signal);let m=ec(i.document,d),g=await ed({url:f,request:{_tag:"Single",document:m,variables:i.variables},headers:{...a(s(o)),...a(i.requestHeaders)},fetch:l,method:u,fetchOptions:h,middleware:c});if(p&&await p(g,{operationName:m.operationName,variables:i.variables,url:this.url}),g instanceof Error)throw g;return g.data}async batchRequests(e,t){let n=e.documents?e:{documents:e,requestHeaders:t,signal:void 0},{headers:r,excludeOperationName:i,...o}=this.requestConfig;void 0!==n.signal&&(o.signal=n.signal);let l=n.documents.map(({document:e})=>ec(e,i)),u=l.map(({expression:e})=>e),c=l.some(({isMutation:e})=>e),p=n.documents.map(({variables:e})=>e),d=await ed({url:this.url,request:{_tag:"Batch",operationName:void 0,query:u,hasMutations:c,variables:p},headers:{...a(s(r)),...a(n.requestHeaders)},fetch:this.requestConfig.fetch??globalThis.fetch,method:this.requestConfig.method||"POST",fetchOptions:o,middleware:this.requestConfig.requestMiddleware});if(this.requestConfig.responseMiddleware&&await this.requestConfig.responseMiddleware(d,{operationName:void 0,variables:p,url:this.url}),d instanceof Error)throw d;return d.data}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,t){let{headers:n}=this.requestConfig;return n?n[e]=t:this.requestConfig.headers={[e]:t},this}setEndpoint(e){return this.url=e,this}}let ev=(e,t,n)=>e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0};var eE,eb,ex,ek,eN=n(9324);let{publicRuntimeConfig:eT}=n.n(eN)()(),eS=eT.cmsApiUrl,eO=eT.travelhomeApiUrl,eI=(e,t)=>{let n={"Accept-Language":"nl-NL","User-Agent":"camper2/4685e02"};return e===eO&&(n.Authorization="Api 35-f7623bf0"),new ey(e,{fetch,headers:n})};function ew(){let e=eI(eS);return ey.prototype.request.bind(e)}function eD(e){let t=eI(eO,e);return ey.prototype.request.bind(t)}},8230:(e,t,n)=>{e.exports=n(4009)},9099:(e,t,n)=>{e.exports=n(6296)},9203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(4232);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=s(e,r)),t&&(i.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
28dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9240:(e,t,n)=>{"use strict";n.d(t,{_k:()=>a,Md:()=>o,Dz:()=>i,l5:()=>s,w5:()=>l});var r=n(7584);function i(e){return async t=>{let n,i=[];if(t.req){let e=(0,r.L)()("fragment Link on ComponentMenuLinks{id text link}fragment LinksColumns on ComponentMenuLinkColumns{id header{...Link}links{...Link}}query CommonCms{header:headerMenu{destinationsnew{...LinksColumns}links{...Link}}footer{documentId footerlinkstop{...LinksColumns}footerlinksbottom{...LinksColumns}copyright(html:true)sites{...Link}}}",void 0);i.push(e)}e.cmsQuery&&(n=(0,r.L)()(e.cmsQuery,e.cmsVariables?e.cmsVariables(t):void 0),i.push(n)),void 0!==e.dataBuilder&&i.push(e.dataBuilder(t,n));let s=await Promise.all(i),o=Object.assign(Object.create(null),...s),a=e.isNotFound&&e.isNotFound(o,t);return a&&t.res&&(t.res.statusCode=404),{...e.baseProps,pageTitle:e.pageTitleBuilder&&e.pageTitleBuilder(o)||e.baseProps.pageTitle,metaDescription:e.metaDescriptionBuilder?e.metaDescriptionBuilder(o):void 0,backendError:!1,isNotFound:a,data:o}}}let s=e=>{let t=(e||"").trim();return""===t||t.startsWith("<")||(t=`<p>${e}</p>`),t},o=e=>encodeURIComponent(e.replaceAll("/","â").replaceAll("-","â").replaceAll(" ","-").toLowerCase()),a=e=>decodeURIComponent(e).replaceAll("-"," ").replaceAll("â","-").replaceAll("â","/");function l(e){return null==e?e:e.replace("/camper.nl","/campernl")}},9241:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(n=0;n<s;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},9324:(e,t,n)=>{console.warn(' \x1b[33m\x1b[1mâ \x1b[22m\x1b[39m Runtime config is deprecated and will be removed in Next.js 16. Please remove the usage of "next/config" from your project.'),e.exports=n(2607)}},e=>{var t=t=>e(e.s=t);e.O(0,[593,792],()=>(t(92),t(6296))),_N_E=e.O()}]);
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.