1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="02c1cde2-1160-371b-bea6-8be4eb386a0c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,198631,e=>{"use strict";var t=e.i(497538);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:o="",children:l,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...s,width:r,height:r,stroke:e,strokeWidth:i?24*Number(a)/Number(r):a,className:n("lucide",o),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]])),i=(e,s)=>{let i=(0,t.forwardRef)(({className:i,...o},l)=>(0,t.createElement)(a,{ref:l,iconNode:s,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...o}));return i.displayName=r(e),i};e.s(["default",()=>i],198631)},622857,(e,t,r)=>{t.exports=e.r(292830)},849116,e=>{"use strict";var t=e.i(705301);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",()=>n])},519455,226099,e=>{"use strict";let t,r,n,s,a;var i=e.i(720910),o=e.i(497538);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let r=!1,n=e.map(e=>{let n=l(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():l(e[t],null)}}}}function c(...e){return o.useCallback(u(...e),e)}e.s(["composeRefs",()=>u,"useComposedRefs",()=>c],226099);var d=Symbol.for("react.lazy"),f=o[" use ".trim().toString()];function h(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===d&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=((a=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(h(r)&&"function"==typeof f&&(r=f(r._payload)),o.isValidElement(r)){var s;let e,a,i=(s=r,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),l=function(e,t){let r={...t};for(let n in t){let s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?r[n]=(...e)=>{let t=a(...e);return s(...e),t}:s&&(r[n]=s):"style"===n?r[n]={...s,...a}:"className"===n&&(r[n]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(l.ref=t?u(t,i):i),o.cloneElement(r,l)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName="Slot.SlotClone",t=a,(r=o.forwardRef((e,r)=>{let{children:n,...s}=e;h(n)&&"function"==typeof f&&(n=f(n._payload));let a=o.Children.toArray(n),l=a.find(g);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...s,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,i.jsx)(t,{...s,ref:r,children:n})})).displayName="Slot.Slot",r),p=Symbol("radix.slottable");function g(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var y=e.i(7284);let b=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,v=y.clsx;var w=e.i(168703);let x=(n="inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",s={variants:{variant:{default:"text-white shadow-sm [background-image:linear-gradient(135deg,#1b74ba,#01012f)] hover:[box-shadow:0_0_25px_rgba(27,116,186,0.5)]",solid:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-muted text-foreground hover:bg-muted/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-11 px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}},e=>{var t;if((null==s?void 0:s.variants)==null)return v(n,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:r,defaultVariants:a}=s,i=Object.keys(r).map(t=>{let n=null==e?void 0:e[t],s=null==a?void 0:a[t];if(null===n)return null;let i=b(n)||b(s);return r[t][i]}),o=e&&Object.entries(e).reduce((e,t)=>
2{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return v(n,i,null==s||null==(t=s.compoundVariants)?void 0:t.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...o}[t]):({...a,...o})[t]===r})?[...e,r,n]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),j=o.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...s},a)=>(0,i.jsx)(n?m:"button",{className:(0,w.cn)(x({variant:t,size:r,className:e})),ref:a,...s}));j.displayName="Button",e.s(["Button",()=>j],519455)},628781,e=>{"use strict";let t=(0,e.i(198631).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],628781)},35907,e=>{"use strict";var t=e.i(211030),r=e.i(720910),n=e.i(497538);class s extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class a extends s{}class i extends s{}async function o(e,t,r,n={}){let s=`${l(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...n?.headers?.cookie?{cookie:n.headers.cookie}:{}}};n?.body&&(e.body=JSON.stringify(n.body),e.method="POST");let t=await fetch(s,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new a(e.message,e)),null}}function l(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function u(){return Math.floor(Date.now()/1e3)}function c(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(e||t),n=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),s=`${r.origin}${n}`;return{origin:r.origin,host:r.host,path:n,base:s,toString:()=>s}}let d={baseUrl:c(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:c(t.default.env.NEXTAUTH_URL).path,baseUrlServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},f=null;function h(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function m(){return null===f&&(f=h()),f}let p={debug:console.debug,error:console.error,warn:console.warn},g=n.createContext?.(void 0);function y(e){if(!g)throw Error("React Context is unavailable in Server Components");let t=n.useContext(g),{required:r,onUnauthenticated:s}=e??{},a=r&&"unauthenticated"===t.status;return(n.useEffect(()=>{if(a){let e=`${d.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;s?s():window.location.href=e}},[a,s]),a)?{data:t.data,update:t.update,status:"loading"}:t}async function b(e){let t=await o("session",d,p,e);return(e?.broadcast??!0)&&h().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function v(){let e=await o("csrf",d,p);return e?.csrfToken??""}async function w(){return o("providers",d,p)}async function x(e,t,r){let{callbackUrl:n,...s}=t??{},{redirect:a=!0,redirectTo:i=n??window.location.href,...o}=s,u=l(d),c=await w();if(!c){let e=`${u}/error`;window.location.href=e;return}if(!e||!c[e]){let e=`${u}/signin?${new URLSearchParams({callbackUrl:i})}`;window.location.href=e;return}let f=c[e].type;if("webauthn"===f)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider. 3Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let h=`${u}/${"credentials"===f?"callback":"signin"}/${e}`,m=await v(),p=await fetch(`${h}?${new URLSearchParams(r)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...o,csrfToken:m,callbackUrl:i})}),g=await p.json();if(a){let e=g.url??i;window.location.href=e,e.includes("#")&&window.location.reload();return}let y=new URL(g.url).searchParams.get("error")??void 0,b=new URL(g.url).searchParams.get("code")??void 0;return p.ok&&await d._getSession({event:"storage"}),{error:y,code:b,status:p.status,ok:p.ok,url:y?null:g.url}}async function j(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},n=l(d),s=await v(),a=await fetch(`${n}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:s,callbackUrl:r})}),i=await a.json();if(m().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=i.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await d._getSession({event:"storage"}),i}function _(e){if(!g)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:s,refetchInterval:a,refetchWhenOffline:l}=e;s&&(d.basePath=s);let c=void 0!==e.session;d._lastSync=c?u():0;let[f,h]=n.useState(()=>
3(c&&(d._session=e.session),e.session)),[y,w]=n.useState(!c);n.useEffect(()=>(d._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===d._session){d._lastSync=u(),d._session=await b({broadcast:!t}),h(d._session);return}if(!e||null===d._session||u()<d._lastSync)return;d._lastSync=u(),d._session=await b(),h(d._session)}catch(e){p.error(new i(e.message,e))}finally{w(!1)}},d._getSession(),()=>{d._lastSync=0,d._session=void 0,d._getSession=()=>{}}),[]),n.useEffect(()=>{let e=()=>d._getSession({event:"storage"});return m().addEventListener("message",e),()=>m().removeEventListener("message",e)},[]),n.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,r=()=>{t&&"visible"===document.visibilityState&&d._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),()=>document.removeEventListener("visibilitychange",r,!1)},[e.refetchOnWindowFocus]);let x=function(){let[e,t]=n.useState("u">typeof navigator&&navigator.onLine),r=()=>t(!0),s=()=>t(!1);return n.useEffect(()=>(window.addEventListener("online",r),window.addEventListener("offline",s),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}),[]),e}(),j=!1!==l||x;n.useEffect(()=>{if(a&&j){let e=setInterval(()=>{d._session&&d._getSession({event:"poll"})},1e3*a);return()=>clearInterval(e)}},[a,j]);let _=n.useMemo(()=>({data:f,status:y?"loading":f?"authenticated":"unauthenticated",async update(e){if(y)return;w(!0);let t=await o("session",d,p,void 0===e?void 0:{body:{csrfToken:await v(),data:e}});return w(!1),t&&(h(t),m().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[f,y]);return(0,r.jsx)(g.Provider,{value:_,children:t})}e.s(["SessionProvider",()=>_,"getSession",()=>b,"signIn",()=>x,"signOut",()=>j,"useSession",()=>y],35907)},155708,e=>{e.v({id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]})},681171,e=>{e.v({id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}})},861002,e=>{e.v({id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]})},6154,(e,t,r)=>{"use strict";function n(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function s(e,t,r,n){let s=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&s.searchParams.set(e,r[e])}),s.toString()}function a(e,t,r,n,a){var i;if(!t)return`<${e}></${e}>`;let o=(null==(i=t.src)?void 0:i.url)?Object.assign(Object.assign({},t),{src:s(t.src.url,t.src.params,n,a)}):t,l=Object.keys(Object.assign(Object.assign({},o),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],s=o[t],a=null!=n?n:s,i=!0===a?t:`${t}="${a}"`;return a?e+` ${i}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(r,"__esModule",{value:!0}),r.formatData=r.createHtml=r.formatUrl=void 0,r.formatUrl=s,r.createHtml=a,r.formatData=function(e,t){var r,i,o,l,u;let c=n(t,null==(r=e.scripts)?void 0:r.reduce((e,t)=>
3[...e,...Array.isArray(t.params)?t.params:[]],[])),d=n(t,null==(o=null==(i=e.html)?void 0:i.attributes.src)?void 0:o.params),f=n(t,[null==(u=null==(l=e.html)?void 0:l.attributes.src)?void 0:u.slugParam]),h=n(t,[...Object.keys(c),...Object.keys(d),...Object.keys(f)],!0);return Object.assign(Object.assign({},e),{html:e.html?a(e.html.element,e.html.attributes,h,d,f):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:s(e.url,e.params,c)})):null})}},880092,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)0>t.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r},s=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=void 0;let a=s(e.r(155708)),i=e.r(6154);r.GoogleAnalytics=e=>{var t=n(e,[]);return(0,i.formatData)(a.default,t)}},490057,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)0>t.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r},s=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleMapsEmbed=void 0;let a=s(e.r(681171)),i=e.r(6154);r.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,i.formatData)(a.default,t)}},761564,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)0>t.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r},s=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=void 0;let a=s(e.r(861002)),i=e.r(6154);r.YouTubeEmbed=e=>{var t=n(e,[]);return(0,i.formatData)(a.default,t)}},508751,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=r.GoogleMapsEmbed=r.GoogleAnalytics=void 0;var n=e.r(880092);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var s=e.r(490057);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return s.GoogleMapsEmbed}});var a=e.r(761564);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return a.YouTubeEmbed}})},956710,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:a,dataNtpc:i=""}){return(0,s.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,n.jsxs)(n.Fragment,{children:[a,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=e.r(720910),s=e.r(497538)},115713,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:o}=(0,a.GoogleMapsEmbed)(n);return(0,s.jsx)(i.default,{height:n.height||null,width:n.width||null,html:o,dataNtpc:"GoogleMapsEmbed"})};let s=e.r(720910),a=e.r(508751),i=n(e.r(956710))},534742,(e,t,r)=>{t.exports=e.r(381767)},999327,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,i.YouTubeEmbed)(e);return(0,s.jsx)(o.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,s.jsx)(a.default,{src:e.url,strategy:l[e.strategy],stylesheets:n},e.url))})};let s=e.r(720910),a=n(e.r(534742)),i=e.r(508751),o=n(e.r(956710)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},1038,(e,t,r)=>{"use strict";
3var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:n="dataLayer",auth:l,preview:u,dataLayer:c,nonce:d}=e;o=n;let f=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==n&&f.searchParams.set("l",n),l&&f.searchParams.set("gtm_auth",l),u&&(f.searchParams.set("gtm_preview",u),f.searchParams.set("gtm_cookies_win","x")),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 4 (function(w,l){ 5 w[l]=w[l]||[]; 6 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 7 ${c?`w[l].push(${JSON.stringify(c)})`:""} 8 })(window,'${n}');`},nonce:d}),(0,s.jsx)(i.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let s=e.r(720910),a=e.r(497538),i=n(e.r(534742)),o="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||o;window[r]=window[r]||[],window[r].push(e)}},722406,(e,t,r)=>{"use strict";let n;var s=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:s="dataLayer",nonce:l}=e;return void 0===n&&(n=s),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 9 window['${s}'] = window['${s}'] || []; 10 function gtag(){window['${s}'].push(arguments);} 11 gtag('js', new Date()); 12 13 gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:l}),(0,a.jsx)(o.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},r.sendGAEvent=function(){void 0===n?console.warn("@next/third-parties: GA has not been initialized"):window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let a=e.r(720910),i=e.r(497538),o=s(e.r(534742))},637528,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGAEvent=r.GoogleAnalytics=r.sendGTMEvent=r.GoogleTagManager=r.YouTubeEmbed=r.GoogleMapsEmbed=void 0;var s=e.r(115713);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(s).default}});var a=e.r(999327);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return n(a).default}});var i=e.r(1038);Object.defineProperty(r,"GoogleTagManager",{enumerable:!0,get:function(){return i.GoogleTagManager}}),Object.defineProperty(r,"sendGTMEvent",{enumerable:!0,get:function(){return i.sendGTMEvent}});var o=e.r(722406);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return o.GoogleAnalytics}}),Object.defineProperty(r,"sendGAEvent",{enumerable:!0,get:function(){return o.sendGAEvent}})},285200,e=>{"use strict";e.i(211030);var t=e.i(720910),r=e.i(497538),n=e.i(551705),s=e.i(71354),a=e.i(27e3),i=e.i(71342),o=e.i(82075),l=r,u=e.i(100939);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,s=this.props.sizeRef.current;s.height=t.offsetHeight||0,s.width=t.offsetWidth||0,s.top=t.offsetTop,s.left=t.offsetLeft,s.right=r-s.width-s.left,s.bottom=n-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:n,anchorX:s,anchorY:a,root:i}){let o=(0,l.useId)(),f=(0,l.useRef)(null),h=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,l.useContext)(u.MotionConfigContext),p=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=c(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(f,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:u,bottom:c}=h.current;if(n||!f.current||!e||!t)return;let d="left"===s?`left: ${l}`:`right: ${u}`,p="bottom"===a?`bottom: ${c}`:`top: ${r}`;f.current.dataset.motionPopId=o;let g=document.createElement("style");m&&(g.nonce=m);let y=i??document.head;return y.appendChild(g),g.sheet&&g.sheet.insertRule(` 14 [data-motion-pop-id="${o}"] { 15 position: absolute !important; 16 width: ${e}px !important; 17 height: ${t}px !important; 18 ${d}px !important; 19 ${p}px !important; 20 } 21 `),()=>{y.contains(g)&&y.removeChild(g)}},[n]),(0,t.jsx)(d,{isPresent:n,childRef:f,sizeRef:h,children:l.cloneElement(e,{ref:p})})}let h=({children:e,initial:n,isPresent:a,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:c,anch
21orX:d,anchorY:h,root:p})=>{let g=(0,s.useConstant)(m),y=(0,r.useId)(),b=!0,v=(0,r.useMemo)(()=>(b=!1,{id:y,initial:n,isPresent:a,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;o&&o()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[a,g,o]);return u&&b&&(v={...v}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[a]),r.useEffect(()=>{a||g.size||!o||o()},[a]),"popLayout"===c&&(e=(0,t.jsx)(f,{isPresent:a,anchorX:d,anchorY:h,root:p,children:e})),(0,t.jsx)(i.PresenceContext.Provider,{value:v,children:e})};function m(){return new Map}var p=e.i(14788);let g=e=>e.key||"";function y(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:i,initial:o=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",anchorY:m="top",root:b})=>{let[v,w]=(0,p.usePresence)(d),x=(0,r.useMemo)(()=>y(e),[e]),j=d&&!v?[]:x.map(g),_=(0,r.useRef)(!0),E=(0,r.useRef)(x),O=(0,s.useConstant)(()=>new Map),k=(0,r.useRef)(new Set),[S,P]=(0,r.useState)(x),[C,M]=(0,r.useState)(x);(0,a.useIsomorphicLayoutEffect)(()=>{_.current=!1,E.current=x;for(let e=0;e<C.length;e++){let t=g(C[e]);j.includes(t)?(O.delete(t),k.current.delete(t)):!0!==O.get(t)&&O.set(t,!1)}},[C,j.length,j.join("-")]);let A=[];if(x!==S){let e=[...x];for(let t=0;t<C.length;t++){let r=C[t],n=g(r);j.includes(n)||(e.splice(t,0,r),A.push(r))}return"wait"===c&&A.length&&(e=A),M(y(e)),P(x),null}let{forceRender:T}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:C.map(e=>{let r=g(e),n=(!d||!!v)&&(x===C||j.includes(r));return(0,t.jsx)(h,{isPresent:n,initial:(!_.current||!!o)&&void 0,custom:i,presenceAffectsLayout:u,mode:c,root:b,onExitComplete:n?void 0:()=>{if(k.current.has(r)||(k.current.add(r),!O.has(r)))return;O.set(r,!0);let e=!0;O.forEach(t=>{t||(e=!1)}),e&&(T?.(),M(E.current),d&&w?.(),l&&l())},anchorX:f,anchorY:m,children:e},r)})})};e.s(["AnimatePresence",()=>b],285200)},91644,e=>{"use strict";let t=(0,e.i(198631).default)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);e.s(["Cookie",()=>t],91644)},883957,92602,e=>{"use strict";e.s([],883957),e.s(["ConsentProvider",()=>m,"useConsent",()=>p],92602);var t=e.i(720910),r=e.i(497538),n=e.i(212348),s=e.i(285200),a=e.i(849116),i=e.i(519455),o=e.i(91644),l=e.i(628781);function u(){let e=(0,a.useTranslations)("cookie"),{acceptAll:u,rejectAll:c,updateConsent:d}=p(),[f,h]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),[y,b]=(0,r.useState)(!1);return(0,t.jsx)(n.motion.div,{className:"fixed bottom-0 left-0 right-0 z-[100] p-3 md:p-6",initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{duration:.4,ease:[.25,.4,.25,1]},children:(0,t.jsxs)("div",{className:"max-w-2xl mx-auto glass-card rounded-2xl border border-border/50 p-4 sm:p-6 shadow-[0_-10px_40px_rgba(0,0,0,0.3)]",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-2 sm:mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-9 w-9 rounded-lg bg-muted flex items-center justify-center shrink-0",children:(0,t.jsx)(o.Cookie,{className:"h-4 w-4 text-muted-foreground"})}),(0,t.jsx)("h3",{className:"font-medium text-sm",children:e("title")})]}),(0,t.jsx)("button",{onClick:c,className:"text-muted-foreground hover:text-foreground transition-colors shrink-0","aria-label":"Close",children:(0,t.jsx)(l.X,{className:"h-4 w-4"})})]}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground font-light mb-4 sm:mb-5 leading-relaxed",children:[(0,t.jsx)("span",{className:"sm:hidden",children:e("descriptionShort")}),(0,t.jsx)("span",{className:"hidden sm:inline",children:e("description")})]}),(0,t.jsx)(s.AnimatePresence,{children:f&&(0,t.jsx)(n.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0}
21,transition:{duration:.3},className:"overflow-hidden",children:(0,t.jsxs)("div",{className:"space-y-3 mb-5 pb-5 border-b border-border/30",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e("essential")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground font-light",children:e("essentialDesc")})]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"w-10 h-5 rounded-full bg-primary/30 cursor-not-allowed",children:(0,t.jsx)("div",{className:"absolute top-0.5 left-[22px] w-4 h-4 rounded-full bg-primary"})})})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e("analytics")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground font-light",children:e("analyticsDesc")})]}),(0,t.jsx)("button",{onClick:()=>g(!m),className:"relative shrink-0",role:"switch","aria-checked":m,children:(0,t.jsx)("div",{className:`w-10 h-5 rounded-full transition-colors ${m?"bg-primary/30":"bg-muted"}`,children:(0,t.jsx)("div",{className:`absolute top-0.5 w-4 h-4 rounded-full transition-all ${m?"left-[22px] bg-primary":"left-0.5 bg-muted-foreground/50"}`})})})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e("marketing")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground font-light",children:e("marketingDesc")})]}),(0,t.jsx)("button",{onClick:()=>b(!y),className:"relative shrink-0",role:"switch","aria-checked":y,children:(0,t.jsx)("div",{className:`w-10 h-5 rounded-full transition-colors ${y?"bg-primary/30":"bg-muted"}`,children:(0,t.jsx)("div",{className:`absolute top-0.5 w-4 h-4 rounded-full transition-all ${y?"left-[22px] bg-primary":"left-0.5 bg-muted-foreground/50"}`})})})]})]})})}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row gap-2",children:f?(0,t.jsx)(i.Button,{onClick:()=>{d("analytics",m),d("marketing",y)},size:"sm",className:"rounded-full btn-gradient flex-1",children:e("savePreferences")}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2 sm:contents",children:[(0,t.jsx)(i.Button,{onClick:u,size:"sm",className:"rounded-full btn-gradient flex-1",children:e("acceptAll")}),(0,t.jsx)(i.Button,{onClick:c,variant:"outline",size:"sm",className:"rounded-full border-border/50 hover:border-primary/30 flex-1",children:e("rejectAll")})]}),(0,t.jsx)(i.Button,{onClick:()=>h(!0),variant:"ghost",size:"sm",className:"rounded-full text-muted-foreground hover:text-foreground flex-1",children:e("manage")})]})})]})})}function c(){let{bannerVisible:e}=p();return(0,t.jsx)(s.AnimatePresence,{children:e&&(0,t.jsx)(u,{})})}let d="pricingos-cookie-consent",f=(0,r.createContext)(null);function h(){try{let e=localStorage.getItem(d);if(!e)return null;let t=JSON.parse(e);return{essential:!0,analytics:t.analytics??!1,marketing:t.marketing??!1,consentedAt:t.consentedAt}}catch{}return null}function m({children:e}){let[n,s]=(0,r.useState)(h),[a,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(n)return;let e=!1;function t(){e||window.scrollY<=300||(e=!0,window.removeEventListener("scroll",t),i(!0))}return window.addEventListener("scroll",t,{passive:!0}),t(),()=>window.removeEventListener("scroll",t)},[n]);let o=(0,r.useCallback)(e=>{localStorage.setItem(d,JSON.stringify(e)),s(e),i(!1)},[]),l=(0,r.useCallback)(e=>!!n&&("analytics"===e?n.analytics:"marketing"===e&&n.marketing),[n]),u=(0,r.useCallback)(()=>{o({essential:!0,analytics:!0,marketing:!0,consentedAt:new Date().toISOString()})},[o]),m=(0,r.useCallback)(()=>{o({essential:!0,analytics:!1,marketing:!1,consentedAt:new Date().toISOString()})},[o]),p=(0,r.useCallback)((e,t)=>{let r=n??{essential:!0,analytics:!1,marketing:!1};"analytics"===e?o({...r,analytics:t,consentedAt:new Date().toISOString()}):"marketing"===e&&o({...r,marketing:t,consentedAt:new Date().toISOString()})},[n,o]),g=(0,r.useCallback)(()=>{i(!0)},[]);return(0,t.jsxs)(f.Provider,{value:{hasConsent:l,acceptAll:u,rejectAll:m,updateConsent:p,openBanner:g,bannerVisible:a,consentState:n},children:[e,(0,t.jsx)(c,{})]})}function p(){let e=(0,r.useContext)(f);if(!e)throw Error("useConsent must be used within a ConsentProvider");return e}},142603,e=>{"use strict";var t=e.i(705301),r=e.i(720910);function n({locale:e,...n}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...n})}e.s(["default",()=>n])},1661,e=>{"use strict";var t=e.i(720910),r=e.i(139576),n=e.i(321860),s=e.i(903739),a=e.i(881613),i=class extends a.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,s){let a=t.queryKey,i=t.queryHash??(0,r.hashQueryKeyByOptions)(a,t),o=this.get(i);return o||(o=new n.Query({client:e,queryKey:a,queryHash:i,options:e.defaultQueryOptions(t),state:s,defaultOptions:e.getQueryDefaults(a)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.notifyManager.batch(()=>
21{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.matchQuery)(e,t)):t}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},o=e.i(415945),l=a,u=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#r=new Map,this.#n=0}#t;#r;#n;build(e,t,r){let n=new o.Mutation({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#t.add(e);let t=c(e);if("string"==typeof t){let r=this.#r.get(t);r?r.push(e):this.#r.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=c(e);if("string"==typeof t){let r=this.#r.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#r.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=c(e);if("string"!=typeof t)return!0;{let r=this.#r.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=c(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#r.get(t)?.find(t=>
21t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){s.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#r.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.matchMutation)(e,t))}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return s.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.noop))))}};function c(e){return e.options.scope?.id}var d=e.i(136356),f=e.i(559787),h=e.i(677080),m=class{#s;#a;#i;#o;#l;#u;#c;#d;constructor(e={}){this.#s=e.queryCache||new i,this.#a=e.mutationCache||new u,this.#i=e.defaultOptions||{},this.#o=new Map,this.#l=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())}),this.#d=f.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#a.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#s.build(this,t),s=n.state.data;return void 0===s?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.resolveStaleTime)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return this.#s.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let s=this.defaultQueryOptions({queryKey:e}),a=this.#s.get(s.queryHash),i=a?.state.data,o=(0,r.functionalUpdate)(t,i);if(void 0!==o)return this.#s.build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,r){return s.notifyManager.batch(()=>this.#s.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){let t=this.#s;s.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#s;return s.notifyManager.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(s.notifyManager.batch(()=>this.#s.findAll(e).map(e=>e.cancel(n)))).then(r.noop).catch(r.noop)}invalidateQueries(e,t={}){return s.notifyManager.batch(()=>(this.#s.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(s.notifyManager.batch(()=>this.#s.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#s.build(this,t);return n.isStaleByTime((0,r.resolveStaleTime)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.noop).catch(r.noop)}fetchInfiniteQuery(e){return e.behavior=(0,h.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.noop).catch(r.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,h.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.onlineManager.isOnline()?this.#a.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#a}getDefaultOptions(){return this.#i}setDefaultOptions(e){this.#i=e}setQueryDefaults(e,t){this.#o.set((0,r.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#o.values()],n={};return t.forEach(t=>{(0,r.partialMatchKey)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#l.set((0,r.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],n={};return t.forEach(t=>{(0,r.partialMatchKey)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#i.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#i.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#a.clear()}},p=e.i(255209);e.i(389277);var g=e.i(590371),y=e.i(497538),b=e.i(697405);class v{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}}class w{constructor(e){this.generateIdentifier=e,this.kv=new v}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}}class x extends w{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}}function j(e,t){Object.entries(e).forEach(([e,r])=>t(r,e))}function _(e,t){return -1!==e.indexOf(t)}function E(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(t(n))return n}}class O{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return function(e,t){let r=function(e){if("values"in Object)return Object.values(e);let t=[];for(let r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}(e);if("find"in r)return r.find(t);for(let e=0;e<r.length;e++){let n=r[e];if(t(n))return n}}(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}}let k=e=>void 0===e,S=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),P=e=>S(e)&&0===Object.keys(e).length,C=e=>Array.isArray(e),M=e=>e instanceof Map,A=e=>e instanceof Set,T=e=>"Symbol"===Object.prototype.toString.call(e).slice(8,-1),N=e=>e instanceof Error,I=e=>"number"==typeof e&&isNaN(e),R=e=>e.replace(/\\/g,"\\\\").replace(/\./g,"\\."),L=e=>e.map(String).map(R).join("."),$=(e,t)=>{let r=[],n="";for(let s=0;s<e.length;s++){let a=e.charAt(s);if(!t&&"\\"===a){let t=e.charAt(s+1);if("\\"===t){n+="\\",s++;continue}if("."!==t)throw Error("invalid path")}if("\\"===a&&"."===e.charAt(s+1)){n+=".",s++;continue}
21if("."===a){r.push(n),n="";continue}n+=a}let s=n;return r.push(s),r};function q(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let D=[q(k,"undefined",()=>null,()=>void 0),q(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>"u">typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),q(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),q(N,"Error",(e,t)=>{let r={name:e.name,message:e.message};return"cause"in e&&(r.cause=e.cause),t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r},(e,t)=>{let r=Error(e.message,{cause:e.cause});return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r}),q(e=>e instanceof RegExp,"regexp",e=>""+e,e=>new RegExp(e.slice(1,e.lastIndexOf("/")),e.slice(e.lastIndexOf("/")+1))),q(A,"set",e=>[...e.values()],e=>new Set(e)),q(M,"map",e=>[...e.entries()],e=>new Map(e)),q(e=>I(e)||e===1/0||e===-1/0,"number",e=>I(e)?"NaN":e>0?"Infinity":"-Infinity",Number),q(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),q(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function U(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let Q=U((e,t)=>!!T(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,r)=>{let n=r.symbolRegistry.getValue(t[1]);if(!n)throw Error("Trying to deserialize unknown symbol");return n}),G=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),z=U(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{let r=G[t[1]];if(!r)throw Error("Trying to deserialize unknown typed array");return new r(e)});function B(e,t){return!!e?.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}let H=U(B,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{let r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return{...e};let n={};return r.forEach(t=>{n[t]=e[t]}),n},(e,t,r)=>{let n=r.classRegistry.getValue(t[1]);if(!n)throw Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(n.prototype),e)}),V=U((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,r)=>{let n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),F=[H,Q,V,z],K=(e,t)=>{let r=E(F,r=>r.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};let n=E(D,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation}},W={};D.forEach(e=>{W[e.annotation]=e});let Y=(e,t)=>{if(t>e.size)throw Error("index out of bounds");let r=e.keys();for(;t>0;)r.next(),t--;return r.next().value};function X(e){if(_(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(_(e,"prototype"))throw Error("prototype is not allowed as a property");if(_(e,"constructor"))throw Error("constructor is not allowed as a property")}let J=(e,t,r)=>{if(X(t),0===t.length)return r(e);let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(C(n))n=n[+r];else if(S(n))n=n[r];else if(A(n))n=Y(n,+r);else if(M(n)){if(e===t.length-2)break;let s=+r,a=0==+t[++e]?"key":"value",i=Y(n,s);switch(a){case"key":n=i;break;case"value":n=n.get(i)}}}let s=t[t.length-1];if(C(n)?n[+s]=r(n[+s]):S(n)&&(n[s]=r(n[s])),A(n)){let e=Y(n,+s),t=r(e);e!==t&&(n.delete(e),n.add(t))}if(M(n)){let e=Y(n,+t[t.length-2]);switch(0==+s?"key":"value"){case"key":{let t=r(e);n.set(t,n.get(e)),t!==e&&n.delete(e);break}case"value":n.set(e,r(n.get(e)))}}return e},Z=(e,t,r,n,s=[],a=[],i=new Map)=>{let o=(e=>"boolean"==typeof e||null===e||k(e)||"number"==typeof e&&!isNaN(e)||"string"==typeof e||T(e))(e);if(!o){let r;(r=t.get(e))?r.push(s):t.set(e,[s]);let a=i.get(e);if(a)return n?{transformedValue:null}:a}if(!(S(e)||C(e)||M(e)||A(e)||N(e)||B(e,r))){let t=K(e,r),n=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return o||i.set(e,n),n}if(_(a,e))return{transformedValue:null};let l=K(e,r),u=l?.value??e,c=C(u)?[]:{},d={};j(u,(o,l)=>{if("__proto__"===l||"constructor"===l||"prototype"===l)throw Error(`Detected property ${l}. This is a prototype pollution risk, please remove it from your object.`);let u=Z(o,t,r,n,[...s,l],[...a,e],i);c[l]=u.transformedValue,C(u.annotations)?d[R(l)]=u.annotations:S(u.annotations)&&j(u.annotations,(e,t)=>{d[R(l)+"."+t]=e})});let f=P(d)?{transformedValue:c,annotations:l?[l.type]:void 0}:{transformedValue:c,annotations:l?[l.type,d]:d};return o||i.set(e,f),f};function ee(e){return Object.prototype.toString.call(e).slice(8,-1)}function et(e){return"Array"===ee(e)}class er{constructor({dedupe:e=!1}={}){this.classRegistry=new x,this.symbolRegistry=new w(e=>e.description??""),this.customTransformerRegistry=new O,this.allowedErrorProps=[],this.dedupe=e}serialize(e){var t;let r,n,s=new Map,a=Z(e,s,this,this.dedupe),i={json:a.transformedValue};a.annotations&&(i.meta={...i.meta,values:a.annotations});let o=(t=this.dedupe,r={}
21,(s.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));let[s,...a]=e;0===s.length?n=a.map(L):r[L(s)]=a.map(L)}),n)?P(r)?[n]:[n,r]:P(r)?void 0:r);return o&&(i.meta={...i.meta,referentialEqualities:o}),i.meta&&(i.meta.v=1),i}deserialize(e,t){var r,n,s,a;let{json:i,meta:o}=e,l=t?.inPlace?i:function e(t,r={}){return et(t)?t.map(t=>e(t,r)):!function(e){if("Object"!==ee(e))return!1;let t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(t)?t:[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((n,s)=>{var a;let i;if("__proto__"===s||et(r.props)&&!r.props.includes(s))return n;let o=e(t[s],r);return a=r.nonenumerable,"enumerable"==(i=({}).propertyIsEnumerable.call(t,s)?"enumerable":"nonenumerable")&&(n[s]=o),a&&"nonenumerable"===i&&Object.defineProperty(n,s,{value:o,enumerable:!1,writable:!0,configurable:!0}),n},{})}(i);return o?.values&&(r=l,n=o.values,s=o.v??0,a=this,function e(t,r,n,s=[]){if(!t)return;let a=n<1;if(!C(t))return void j(t,(t,i)=>e(t,r,n,[...s,...$(i,a)]));let[i,o]=t;o&&j(o,(t,i)=>{e(t,r,n,[...s,...$(i,a)])}),r(i,s)}(n,(e,t)=>{r=J(r,t,t=>((e,t,r)=>{if(C(t))switch(t[0]){case"symbol":return Q.untransform(e,t,r);case"class":return H.untransform(e,t,r);case"custom":return V.untransform(e,t,r);case"typed-array":return z.untransform(e,t,r);default:throw Error("Unknown transformation: "+t)}{let n=W[t];if(!n)throw Error("Unknown transformation: "+t);return n.untransform(e,r)}})(t,e,a))},s),l=r),o?.referentialEqualities&&(l=function(e,t,r){let n=r<1;function s(t,r){let s=((e,t)=>{X(t);for(let r=0;r<t.length;r++){let n=t[r];if(A(e))e=Y(e,+n);else if(M(e)){let s=+n,a=0==+t[++r]?"key":"value",i=Y(e,s);switch(a){case"key":e=i;break;case"value":e=e.get(i)}}else e=e[n]}return e})(e,$(r,n));t.map(e=>$(e,n)).forEach(t=>{e=J(e,t,()=>s)})}if(C(t)){let[r,a]=t;r.forEach(t=>{e=J(e,$(t,n),()=>e)}),a&&j(a,s)}else j(t,s);return e}(l,o.referentialEqualities,o.v??0)),l}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e),{inPlace:!0})}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}}er.defaultInstance=new er,er.serialize=er.defaultInstance.serialize.bind(er.defaultInstance),er.deserialize=er.defaultInstance.deserialize.bind(er.defaultInstance),er.stringify=er.defaultInstance.stringify.bind(er.defaultInstance),er.parse=er.defaultInstance.parse.bind(er.defaultInstance),er.registerClass=er.defaultInstance.registerClass.bind(er.defaultInstance),er.registerSymbol=er.defaultInstance.registerSymbol.bind(er.defaultInstance),er.registerCustom=er.defaultInstance.registerCustom.bind(er.defaultInstance),er.allowErrorProps=er.defaultInstance.allowErrorProps.bind(er.defaultInstance),er.serialize,er.deserialize,er.stringify,er.parse,er.registerClass,er.registerCustom,er.registerSymbol,er.allowErrorProps;var en=e.i(35907);function es({children:e}){let[r]=(0,y.useState)(()=>new m({defaultOptions:{queries:{staleTime:5e3,refetchOnWindowFocus:!1}}})),[n]=(0,y.useState)(()=>b.trpc.createClient({links:[(0,g.httpBatchStreamLink)({url:"/api/trpc",transformer:er,fetch:(e,t)=>fetch(e,{...t,credentials:"include"})})]}));return(0,t.jsx)(en.SessionProvider,{children:(0,t.jsx)(b.trpc.Provider,{client:n,queryClient:r,children:(0,t.jsx)(p.QueryClientProvider,{client:r,children:e})})})}e.s(["Providers",()=>es],1661)},405431,e=>{"use strict";e.i(211030);var t=e.i(720910),r=e.i(497538),n=e.i(622857),s=e.i(637528),a=e.i(534742);e.i(883957);var i=e.i(92602);let o=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","IS","LI","NO","CH","GB"];function l(e){return{analytics_storage:e,ad_storage:e,ad_user_data:e,ad_personalization:e}}let u=/\/(van-westendorp\/[rs]\/|break-even-rechner|break-even-calculator)/,c="G-2EFKETRXVY",d="6660491",f="AW-11335707432",h=f&&/^AW-\d+$/.test(f)?f:void 0;function m(){let e,f,m,{hasConsent:p}=(0,i.useConsent)(),g=(0,n.usePathname)(),[y,b]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),x=u.test(g??"");if((0,r.useEffect)(()=>{b(p("analytics")),w(p("marketing"))},[p]),(0,r.useEffect)(()=>{!function(e,t){let r={analytics_storage:t.analytics?"granted":"denied",ad_storage:t.marketing?"granted":"denied",ad_user_data:t.marketing?"granted":"denied",ad_personalization:t.marketing?"granted":"denied"};
21if("function"==typeof e.gtag)return e.gtag("consent","update",r);e.dataLayer=e.dataLayer??[],e.dataLayer.push(function(){return arguments}("consent","update",r))}(window,{analytics:y,marketing:v})},[y,v]),x)return null;let j=!!(c||h);return(0,t.jsxs)(t.Fragment,{children:[j&&(0,t.jsx)(a.default,{id:"consent-defaults",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:(e=JSON.stringify(l("denied")).slice(1,-1),f=JSON.stringify(l("granted")).slice(1,-1),m=JSON.stringify(o),`window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('consent','default',{${e},"region":${m},"wait_for_update":500});gtag('consent','default',{${f}});`)}}),c&&(0,t.jsx)(s.GoogleAnalytics,{gaId:c}),h&&!c&&(0,t.jsx)(a.default,{id:"gtag-ads-loader",strategy:"afterInteractive",src:`https://www.googletagmanager.com/gtag/js?id=${h}`}),h&&(0,t.jsx)(a.default,{id:"gtag-ads-config",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 22 window.dataLayer=window.dataLayer||[]; 23 function gtag(){dataLayer.push(arguments);} 24 gtag('js', new Date()); 25 gtag('config', '${h}'); 26 `}}),y&&d&&(0,t.jsx)(a.default,{id:"hotjar",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 27 (function(c,s,q,u,a,r,e){ 28 c.hj=c.hj||function(){(c.hj.q=c.hj.q||[]).push(arguments)}; 29 c._hjSettings={hjid:${d}}; 30 r=s.getElementsByTagName('head')[0]; 31 e=s.createElement('script'); 32 e.async=true; 33 e.src=q+c._hjSettings.hjid+u; 34 r.appendChild(e); 35 })(window,document,'https://static.hj.contentsquare.net/c/csq-','.js'); 36 `}})]})}e.s(["AnalyticsProvider",()=>m],405431)},886280,e=>{"use strict";var t=e.i(497538),r=e.i(35907),n=e.i(697405);function s(e){if(!e)return null;let t=e.trim().toLowerCase().replace(/[^a-z0-9._-]+/g,"-").replace(/^-+|-+$/g,"").slice(0,64);return t.length>0?t:null}let a=[[/(^|\.)tiktok\.com$/,"tiktok"],[/(^|\.)youtube\.com$/,"youtube"],[/(^|\.)youtu\.be$/,"youtube"],[/(^|\.)instagram\.com$/,"instagram"],[/(^|\.)facebook\.com$/,"facebook"],[/(^|\.)linkedin\.com$/,"linkedin"],[/(^|\.)google\.[a-z.]+$/,"google"],[/(^|\.)bing\.com$/,"bing"],[/(^|\.)duckduckgo\.com$/,"duckduckgo"]],i="pricingos-first-touch",o=null;function l(){if(o)return o;try{let e=sessionStorage.getItem(i);if(!e)return null;let t=JSON.parse(e);if("string"!=typeof t.source||"string"!=typeof t.medium)return null;return o={source:t.source,medium:t.medium,campaign:t.campaign??null,content:t.content??null,referrerHost:t.referrerHost??null,landingPath:t.landingPath??"/"}}catch{return null}}function u(){let{status:e}=(0,r.useSession)(),u=n.trpc.account.recordAcquisition.useMutation(),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>
36{l()||function(e){if(!l()){o=e;try{sessionStorage.setItem(i,JSON.stringify(e))}catch{}}}(function(e,t,r){let n;try{n=new URL(e)}catch{return{source:"direct",medium:"none",campaign:null,content:null,referrerHost:null,landingPath:"/"}}let i=n.searchParams,o=s(i.get("utm_source")),l=s(i.get("utm_medium")),u=s(i.get("utm_campaign")),c=s(i.get("utm_content")),d=function(e){if(!e)return null;try{let t=new URL(e).hostname.toLowerCase().replace(/^www\./,"");return t.length>0?t.slice(0,64):null}catch{return null}}(t),f=r&&d===r.replace(/^www\./,"")?null:d,h=o,m=l;if(!h){let e=function(e){if(!e)return null;for(let[t,r]of a)if(t.test(e))return r;return null}(f);e?(h=e,m=m??"referral"):f&&(h=s(f),m=m??"referral")}return{source:h??"direct",medium:m??(h?"unknown":"none"),campaign:u,content:c,referrerHost:f,landingPath:n.pathname.slice(0,120)||"/"}}(window.location.href,document.referrer,window.location.hostname))},[]),(0,t.useEffect)(()=>{if(c.current||"authenticated"!==e)return;let t=l();t&&(c.current=!0,u.mutate(t,{onError:()=>{c.current=!1}}))},[e]),null}e.s(["AcquisitionCapture",()=>u],886280)}]); 37 38//# debugId=02c1cde2-1160-371b-bea6-8be4eb386a0c 39//# sourceMappingURL=19402b67fadde89c.js.map
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.