PageSourceSearch

https://www.mindsnap.dev/_next/static/chunks/9191-55f32eaebb3f7b7b.js

js mindsnap.dev collected 2026-10-02 01:01:08 UTC 14,781 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9191],{161:(e,t,r)=>{r.r(t),r.d(t,{Root:()=>l,Slot:()=>l,Slottable:()=>c,createSlot:()=>i,createSlottable:()=>f});var n=r(8337),o=r(9135),u=r(1509);function i(e){let t=function(e){let t=n.forwardRef((e,t)=>{var r,u,i;let l,a,{children:f,...c}=e,s=n.isValidElement(f)?(a=(l=null==(u=Object.getOwnPropertyDescriptor((r=f).props,"ref"))?void 0:u.get)&&"isReactWarning"in l&&l.isReactWarning)?r.ref:(a=(l=null==(i=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:i.get)&&"isReactWarning"in l&&l.isReactWarning)?r.props.ref:r.props.ref||r.ref:void 0,p=(0,o.s)(s,t);if(n.isValidElement(f)){let e=function(e,t){let r={...t};for(let n in t){let o=e[n],u=t[n];/^on[A-Z]/.test(n)?o&&u?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=u(...t);return o(...t),n}:o&&(r[n]=o):"style"===n?r[n]={...o,...u}:"className"===n&&(r[n]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}(c,f.props);return f.type!==n.Fragment&&(e.ref=p),n.cloneElement(f,e)}return n.Children.count(f)>1?n.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),r=n.forwardRef((e,r)=>{let{children:o,...i}=e,l=n.Children.toArray(o),a=l.find(s);if(a){let e=a.props.children,o=l.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,u.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,u.jsx)(t,{...i,ref:r,children:o})});return r.displayName="".concat(e,".Slot"),r}var l=i("Slot"),a=Symbol("radix.slottable");function f(e){let t=e=>{let{children:t}=e;return(0,u.jsx)(u.Fragment,{children:t})};return t.displayName="".concat(e,".Slottable"),t.__radixId=a,t}var c=f("Slottable");function s(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},299:(e,t,r)=>{r.d(t,{DT:()=>a,FP:()=>i,TK:()=>o,Zn:()=>u,aM:()=>l,x3:()=>f});var n=r(8550);function o(e){return"string"==typeof e?{pathname:e}:e}function u(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 i({pathname:e,locale:t,params:r,pathnames:o,query:i}){function l(e){let t=o[e];return t||(t=e),t}function a(e,o){let l=(0,n.Wl)(e,t,o);return 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)),l=l.replace(RegExp(r,"g"),n)}),l=l.replace(/\[\[\.\.\..+\]\]/g,""),l=(0,n.po)(l),i&&(l+=u(i)),l}if("string"==typeof e)return a(l(e),e);{let{pathname:t,...r}=e;return{...r,pathname:a(l(t),t)}}}function l(e,t,r){let o=(0,n.FD)(Object.keys(r)),u=decodeURI(t);for(let t of o){let o=r[t];if("string"==typeof o){if((0,n.ql)(o,u))return t}else if((0,n.ql)((0,n.Wl)(o,e,t),u))return t}return t}function a(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function f(e,t,r,o){let u,{mode:i}=r.localePrefix;return void 0!==o?u=o:(0,n._x)(e)&&("always"===i?u=!0:"as-needed"===i&&(u=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),u?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return g},NormalizeError:function(){return y},PageNotFoundError:function(){return m},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return a},getLocationOrigin:function(){return i},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>o.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=i();return e.substring(t.length)}function a(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error('"'+a(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class y extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},548:(e,t,r)=>{r.d(t,{default:()=>f});var n=r(9173),o=r(6870),u=r(8337),i=r(1093),l=r(5361),a=r(1509),f=(0,u.forwardRef)(function(e,t){let{href:r,locale:u,localeCookie:f,onClick:c,prefetch:s,...p}=e,d=(0,i.Ym)(),h=null!=u&&u!==d,y=(0,o.usePathname)();return h&&(s=!1),(0,a.jsx)(n,{ref:t,href:r,hrefLang:h?u:void 0,onClick:function(e){(0,l.A)(f,y,d,u),c&&c(e)},prefetch:s,...p})})},596:(e,t)=>{function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return u},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},5361:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(299);function o(e,t,r,o){if(!e||o===r||null==o||!t)return;let u=(0,n.DT)(t),{name:i,...l}=e;l.path||(l.path=""!==u?u:"/");let a=`${i}=${o};`;for(let[e,t]of Object.entries(l))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}},5612:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return i}});let n=r(745)._(r(596)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",i=e.pathname||"",l=e.hash||"",a=e.query||"",f=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?f=t+e.host:r&&(f=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(f+=":"+e.port)),a&&"object"==typeof a&&(a=String(n.urlQueryToSearchParams(a)));let c=e.search||a&&"?"+a||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==f?(f="//"+(f||""),i&&"/"!==i[0]&&(i="/"+i)):f||(f=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+u+f+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},6389:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(485),o=r(2539);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},6683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},6870:(e,t,r)=>{var n=r(3370);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}})},8550:(e,t,r)=>{r.d(t,{FD:()=>g,MY:()=>u,PJ:()=>i,Wl:()=>a,XP:()=>s,_x:()=>o,bL:()=>p,po:()=>f,ql:()=>c,wO:()=>l,yL:()=>b});var n=r(4746);function o(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 u(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function i(e,t){let r=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith(`${e}/`)}function a(e,t,r){return"string"==typeof e?e:e[t]||r}function f(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}();if("/"!==e){let r=e.endsWith("/");t&&!r?e+="/":!t&&r&&(e=e.slice(0,-1))}return e}function c(e,t){let r=f(e),n=f(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 y(e){return e.includes("[")}function m(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!y(t)&&y(o))return -1;if(y(t)&&!y(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!d(t)&&d(o))return -1;if(d(t)&&!d(o))return 1}}return 0}function g(e){return e.sort(m)}function b(e){return"function"==typeof e.then}},9135:(e,t,r)=>{r.d(t,{s:()=>i,t:()=>u});var n=r(8337);function o(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=o(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():o(e[t],null)}}}}function i(...e){return n.useCallback(u(...e),e)}},9173:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},useLinkStatus:function(){return b}});let n=r(745),o=r(1509),u=n._(r(8337)),i=r(5612),l=r(9754),a=r(9409),f=r(485),c=r(1616);r(4275);let s=r(7901),p=r(6389),d=r(5913);r(6683);let h=r(5458);function y(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function m(e){var t;let r,n,i,[m,b]=(0,u.useOptimistic)(s.IDLE_LINK_STATUS),P=(0,u.useRef)(null),{href:v,as:_,children:E,prefetch:S=null,passHref:j,replace:x,shallow:O,scroll:R,onClick:C,onMouseEnter:A,onTouchStart:N,legacyBehavior:T=!1,onNavigate:w,ref:L,unstable_dynamicOnHover:k,...M}=e;r=E,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=u.default.useContext(l.AppRouterContext),U=!1!==S,F=!1!==S?null===(t=S)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:W}=u.default.useMemo(()=>{let e=y(v);return{href:e,as:_?y(_):e}},[v,_]);T&&(n=u.default.Children.only(r));let $=T?n&&"object"==typeof n&&n.ref:L,K=u.default.useCallback(e=>(null!==I&&(P.current=(0,s.mountLinkInstance)(e,D,I,F,U,b)),()=>{P.current&&((0,s.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,s.unmountPrefetchableInstance)(e)}),[U,D,I,F,b]),B={ref:(0,a.useMergedRef)(K,$),onClick(e){T||"function"!=typeof C||C(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),I&&(e.defaultPrevented||function(e,t,r,n,o,i,l){let{nodeName:a}=e.currentTarget;if(!("A"===a.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,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,d.dispatchNavigateAction)(r||t,o?"replace":"push",null==i||i,n.current)})}}(e,D,W,P,x,R,w))},onMouseEnter(e){T||"function"!=typeof A||A(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&U&&(0,s.onNavigationIntent)(e.currentTarget,!0===k)},onTouchStart:function(e){T||"function"!=typeof N||N(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&U&&(0,s.onNavigationIntent)(e.currentTarget,!0===k)}};return(0,f.isAbsoluteUrl)(W)?B.href=W:T&&!j&&("a"!==n.type||"href"in n.props)||(B.href=(0,c.addBasePath)(W)),i=T?u.default.cloneElement(n,B):(0,o.jsx)("a",{...M,...B,children:r}),(0,o.jsx)(g.Provider,{value:m,children:i})}let g=(0,u.createContext)(s.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9409:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(8337);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)}}]);

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.