PageSourceSearch

https://typebuddy.ai/_next/static/chunks/app/%5Blocale%5D/(landing)/docs/route-1d012c9ccd81e627.js

js typebuddy.ai collected 2026-09-25 22:30:35 UTC 4,650 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1966,5629,9939],{13229:(e,t,r)=>{"use strict";r.d(t,{DT:()=>c,FP:()=>o,TK:()=>u,Zn:()=>i,aM:()=>a,x3:()=>l});var n=r(45764);function u(e){return"string"==typeof e?{pathname:e}:e}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function o({pathname:e,locale:t,params:r,pathnames:u,query:o}){function a(e){let a,c=u[e];return c?(a=(0,n.Wl)(c,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=(a=a.replace(/\[\[\.\.\..+\]\]/g,"")).split("/").map(e=>encodeURIComponent(e)).join("/")):a=e,a=(0,n.po)(a),o&&(a+=i(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}function a(e,t,r){let u=(0,n.FD)(Object.keys(r)),i=decodeURI(t);for(let t of u){let u=r[t];if("string"==typeof u){if((0,n.ql)(u,i))return t}else if((0,n.ql)((0,n.Wl)(u,e,t),i))return t}return t}function c(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function l(e,t,r,u){let i,{mode:o}=r.localePrefix;return void 0!==u?i=u:(0,n._x)(e)&&("always"===o?i=!0:"as-needed"===o&&(i=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),i?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},35307:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var n=r(68327),u=r(45942);function i(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return(0,u.jsx)(n.Dk,{locale:t,...r})}},45764:(e,t,r)=>{"use strict";r.d(t,{FD:()=>P,MY:()=>i,PJ:()=>o,Wl:()=>c,XP:()=>s,_x:()=>u,bL:()=>p,po:()=>l,ql:()=>f,wO:()=>a,yL:()=>y});var n=r(28868);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function i(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function a(e,t){return t===e||t.startsWith(`${e}/`)}function c(e,t,r){return"string"==typeof e?e:e[t]||r}function l(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...u]=e.split("#"),i=u.join("#"),o=r;if("/"!==o){let e=o.endsWith("/");t&&!e?o+="/":!t&&e&&(o=o.slice(0,-1))}return i&&(o+="#"+i),o}function f(e,t){let r=l(e),n=l(t);return(function(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(r).test(n)}function s(e,t){return"never"!==t.mode&&t.prefixes?.[e]||p(e)}function p(e){return"/"+e}function d(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let r=e.split("/"),n=t.split("/"),u=Math.max(r.length,n.length);for(let e=0;e<u;e++){let t=r[e],u=n[e];if(!t&&u)return -1;if(t&&!u)return 1;if(t||u){if(!m(t)&&m(u))return -1;if(m(t)&&!m(u))return 1;if(!h(t)&&h(u))return -1;if(h(t)&&!h(u))return 1;if(!d(t)&&d(u))return -1;if(d(t)&&!d(u))return 1}}return 0}function P(e){return e.sort(g)}function y(e){return"function"==typeof e.then}},66984:(e,t,r)=>{"use strict";var n=r(1688);r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},68233:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var n=r(80535),u=r(66984),i=r(94166),o=r(68327),a=r(88807),c=r(45942),l=(0,i.forwardRef)(function(e,t){let{href:r,locale:i,localeCookie:l,onClick:f,prefetch:s,...p}=e,d=(0,o.Ym)(),h=null!=i&&i!==d,m=(0,u.usePathname)();return h&&(s=!1),(0,c.jsx)(n,{ref:t,href:r,hrefLang:h?i:void 0,onClick:function(e){(0,a.A)(l,m,d,i),f&&f(e)},prefetch:s,...p})})},88807:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(13229);function u(e,t,r,u){if(!e||u===r||null==u||!t)return;let i=(0,n.DT)(t),{name:o,...a}=e;a.path||(a.path=""!==i?i:"/");let c=`${o}=${u};`;for(let[e,t]of Object.entries(a))c+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(c+="="+t),c+=";";document.cookie=c}},91294:(e,t,r)=>{Promise.resolve().then(r.bind(r,68233)),Promise.resolve().then(r.bind(r,35307))}},e=>{var t=t=>e(e.s=t);e.O(0,[8327,535,3449,2681,7358],()=>t(91294)),_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.