1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{5438:function(e,t,n){Promise.resolve().then(n.t.bind(n,2972,23)),Promise.resolve().then(n.t.bind(n,9974,23)),Promise.resolve().then(n.t.bind(n,2778,23)),Promise.resolve().then(n.t.bind(n,1852,23)),Promise.resolve().then(n.bind(n,3039)),Promise.resolve().then(n.bind(n,3596)),Promise.resolve().then(n.bind(n,2321))},8667:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(8003),o=n.n(r)},8221:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return r},default:function(){return a},isEqualNode:function(){return i}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){let{type:t,props:n}=e,o=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let i=r[e]||e.toLowerCase();"script"===t&&("async"===i||"defer"===i||"noModule"===i)?o[i]=!!n[e]:o.setAttribute(i,n[e])}let{children:i,dangerouslySetInnerHTML:a}=n;return a?o.innerHTML=a.__html||"":i&&(o.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):""),o}function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function a(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let n=t[e.type]||[];n.push(e),t[e.type]=n});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{n(e,t[e]||[])})}}}n=(e,t)=>{let n=document.getElementsByTagName("head")[0],r=n.querySelector("meta[name=next-head-count]"),a=Number(r.content),s=[];for(let t=0,n=r.previousElementSibling;t<a;t++,n=(null==n?void 0:n.previousElementSibling)||null){var l;(null==n?void 0:null==(l=n.tagName)?void 0:l.toLowerCase())===e&&s.push(n)}let c=t.map(o).filter(e=>{for(let t=0,n=s.length;t<n;t++)if(i(s[t],e))return s.splice(t,1),!1;return!0});s.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),c.forEach(e=>n.insertBefore(e,r)),r.content=(a-s.length+c.length).toString()},("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)},8003:function(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 b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}});let r=n(7043),o=n(3099),i=n(7437),a=r._(n(4887)),s=o._(n(2265)),l=n(8701),c=n(8221),d=n(3515),u=new Map,f=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{if(a.default.preinit){e.forEach(e=>{a.default.preinit(e,{as:"style"})});return}if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},m=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:a="",strategy:s="afterInteractive",onError:l,stylesheets:d}=e,m=n||t;if(m&&f.has(m))return;if(u.has(t)){f.add(m),u.get(t).then(r,l);return}let g=()=>{o&&o(),f.add(m)},y=document.createElement("script"),x=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),r&&r.call(this,t),g()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[n,r]of(i?(y.innerHTML=i.__html||"",g()):a?(y.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",g()):t&&(y.src=t,u.set(t,x)),Object.entries(e))){if(void 0===r||h.includes(n))continue;let e=c.DOMAttributeNames[n]||n.toLowerCase();y.setAttribute(e,r)}"worker"===s&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",s),d&&p(d),document.body.appendChild(y)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}):m(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function x(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:u,stylesheets:h,...p}=e,{updateScripts:g,scripts:y,getIsSsr:x,appDir:b,nonce:v}=(0,s.useContext)(l.HeadManagerContext),j=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;j.current||(o&&e&&f.has(e)&&o(),j.current=!0)},[o,t,n]);let w=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!w.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))})),w.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(y[c]=(y[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:o,onError:u,...p}]),g(y)):x&&x()?f.add(t||n):x&&!x()&&m(e)),b){if(h&&h.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)return n?(a.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin}),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...p,id:t}])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p,id:t}])+")"}}));"afterInteractive"===c&&n&&a.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let b=x;("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)},3039:function(e,t,n){"use strict";n.d(t,{default:function(){return a}});var r=n(7437),o=n(8667),i=n(8705);function a(){return i.hx?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(i.hx),strategy:"afterInteractive"}),(0,r.jsx)(o.default,{id:"google-analytics",strategy:"afterInteractive",children:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(i.hx,"');\n ")})]}):null}},3596:function(e,t,n){"use strict";n.d(t,{default:function(){return a}});var r=n(7437),o=n(8667),i=n(8705);function a(){return i.nJ?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{id:"gtm-script",strategy:"afterInteractive",children:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(i.nJ,"');\n ")}),(0,r.jsx)("noscript",{children:(0,r.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=".concat(i.nJ),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]}):null}},2321:function(e,t,n){"use strict";n.d(t,{default:function(){return l}});var r=n(7437),o=n(2972),i=n.n(o),a=n(2265);function s(e){let{categories:t}=e;return t&&0!==t.length?(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsxs)("button",{className:"text-gray-600 hover:text-blue-600 px-3 py-2 text-sm font-medium transition-colors flex items-center",children:["Compare",(0,r.jsx)("svg",{className:"ml-1 w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),(0,r.jsx)("div",{className:"absolute left-0 mt-2 w-48 bg-white border border-gray-200 rounded shadow-lg opacity-0 group-hover:opacity-100 group-hover:visible invisible transition-all z-50",children:t.map(e=>(0,r.jsx)(i(),{href:"/compare/".concat(e.toLowerCase().replace(/\s+/g,"-"),"-cost-comparison"),className:"block px-4 py-2 text-gray-700 hover:bg-blue-50 hover:text-blue-600 text-sm",children:e},e))})]}):null}function l(){let[e,t]=(0,a.useState)([]),[n,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{fetch("/api/categories").then(e=>e.json()).then(e=>t(e.categories||[]))},[]),(0,r.jsx)("nav",{className:"bg-white border-b border-gray-200 fixed w-full top-0 z-50",children:(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,r.jsxs)("div",{className:"flex justify-between h-16 items-center",children:[(0,r.jsx)("div",{className:"flex",children:(0,r.jsx)(i(),{href:"/",className:"flex items-center",children:(0,r.jsx)("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"comparecosts.fyi"})})}),(0,r.jsxs)("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:[(0,r.jsx)(i(),{href:"/",className:"text-gray-600 hover:text-blue-600 px-3 py-2 text-sm font-medium transition-colors",children:"Home"}),e.length>0&&(0,r.jsx)(s,{categories:e})]}),(0,r.jsx)("button",{className:"sm:hidden flex items-center px-3 py-2 border rounded text-gray-600 border-gray-400 hover:text-blue-600 hover:border-blue-600",onClick:()=>o(!n),"aria-label":"Toggle navigation",children:(0,r.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})})]}),n&&(0,r.jsxs)("div",{className:"sm:hidden flex flex-col space-y-1 mt-2 pb-2 bg-white rounded shadow border border-gray-200",children:[(0,r.jsx)(i(),{href:"/",className:"block px-4 py-2 text-gray-700 hover:bg-blue-50 hover:text-blue-600 text-sm",onClick:()=>o(!1),children:"Home"}),e.length>0&&e.map(e=>(0,r.jsx)(i(),{href:"/compare/".concat(e.toLowerCase().replace(/\s+/g,"-"),"-cost-comparison"),className:"block px-4 py-2 text-gray-700 hover:bg-blue-50 hover:text-blue-600 text-sm",onClick:()=>o(!1),children:e},e))]})]})})}},8705:function(e,t,n){"use strict";n.d(t,{hx:function(){return r},nJ:function(){return o}});let r="G-8Y1PN6B1JB",o="G-8Y1PN6B1JB"},1852:function(){},2778:function(){},9974:function(e){e.exports={style:{fontFamily:"'__Inter_d65c78', '__Inter_Fallback_d65c78'",fontStyle:"normal"},className:"__className_d65c78"}}},function(e){e.O(0,[734,972,971,117,744],function(){return e(e.s=5438)}),_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.