(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,559751,e=>{"use strict";let t=(0,e.i(429332).default)(()=>e.A(445626).then(e=>e.NotFoundSuggestions),{loadableGenerated:{modules:[934234]}});e.s(["NotFoundSuggestions",0,t])},167581,697993,e=>{"use strict";var t=e.i(659350),o=e.i(663456),n=e.i(960773),r=e.i(463686),i=e.i(16043),s=e.i(131269);let l={Model:"model",Author:"author",Provider:"provider",App:"app",Collection:"collection",Compare:"compare",Tool:"tool",Other:"other",Unmatched:"unmatched"},u={provider:l.Provider,apps:l.App,collections:l.Collection,compare:l.Compare,tool:l.Tool},a="/apps/url/[url]";function c(e){let t=(0,s.a)(e)??e;return t.startsWith("/apps/url/")?a:t.slice(0,64)}function d(e,t){let o=((0,s.a)(t)??t).split("/").filter(Boolean);switch(e){case"root":case"catch_all":return l.Unmatched;case"maker_entity":return 1===o.length?l.Author:l.Model;case"locale":return u[o[0]??""]??l.Other;default:return e}}e.s(["y",0,a,"V",0,l,"R",0,{Strong:"strong",Family:"family",Weak:"weak",Default:"default"},"S",0,d,"x",0,c],697993);let h=(0,i.createContext)(null);function m(){return(0,i.useContext)(h)}e.s(["NotFoundAnalyticsProvider",0,function(e){let s,l,u,a,m,p,f,g,v,k=(0,o.c)(27),{boundary:y,shouldDeferPageShown:S,children:_}=e,P=void 0!==S&&S,j=(0,n.Q)(),b=(0,r.usePathname)()??"/",w=(0,i.useRef)(null),F=(0,i.useRef)(!1);k[0]!==y||k[1]!==b?(s=d(y,b),k[0]=y,k[1]=b,k[2]=s):s=k[2];let x=s;k[3]!==b?(l=c(b),k[3]=b,k[4]=l):l=k[4];let A=l;k[5]!==A||k[6]!==b||k[7]!==j||k[8]!==x?(u=()=>{w.current!==b&&(w.current=b,j.capture("not_found_page_shown",{route_family:x,path:A,suggestions_shown:!1}))},k[5]=A,k[6]=b,k[7]=j,k[8]=x,k[9]=u):u=k[9],k[10]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{F.current=!0},k[10]=a):a=k[10],k[11]!==A||k[12]!==j||k[13]!==x?(m=e=>{let{rank:t,tier:o}=e;j.capture("not_found_suggestion_clicked",{route_family:x,path:A,suggestions_shown:F.current,rank:t,tier:o})},k[11]=A,k[12]=j,k[13]=x,k[14]=m):m=k[14],k[15]!==A||k[16]!==x||k[17]!==u||k[18]!==m?(p={routeFamily:x,path:A,capturePageShown:u,markSuggestionsShown:a,captureSuggestionClick:m},k[15]=A,k[16]=x,k[17]=u,k[18]=m,k[19]=p):p=k[19];let C=p;return k[20]!==P||k[21]!==C?(f=()=>{P||C.capturePageShown()},g=[P,C],k[20]=P,k[21]=C,k[22]=f,k[23]=g):(f=k[22],g=k[23]),(0,i.useEffect)(f,g),k[24]!==_||k[25]!==C?(v=(0,t.jsx)(h.Provider,{value:C,children:_}),k[24]=_,k[25]=C,k[26]=v):v=k[26],v},"useConfirmNotFoundPageShown",0,function(e){let t,n,r=(0,o.c)(4),s=m();r[0]!==s||r[1]!==e?(t=()=>{e&&s?.capturePageShown()},n=[s,e],r[0]=s,r[1]=e,r[2]=t,r[3]=n):(t=r[2],n=r[3]),(0,i.useEffect)(t,n)},"useNotFoundAnalytics",0,m],167581)},743016,e=>{"use strict";var t=e.i(659350),o=e.i(663456);e.i(707060);var n=e.i(196991),r=e.i(153746),i=e.i(697993),s=e.i(167581);e.s(["NotFoundHeadline",0,function(){let e,l,u=(0,o.c)(5),a=(0,s.useNotFoundAnalytics)()?.path??"/";u[0]!==a?(e=a===i.y?"":a.replace(/^\//,""),u[0]=a,u[1]=e):e=u[1];let c=e;if(0===c.length){let e;return u[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("h1",{children:(0,t.jsx)(n.T,{children:"Page not found"})}),u[2]=e):e=u[2],e}return u[3]!==c?(l=(0,t.jsx)("h1",{className:"ph-no-capture break-words","data-dd-privacy":"hidden",children:(0,t.jsxs)(n.T,{children:["We couldn’t find “",(0,t.jsx)(r.d,{children:c}),"”"]})}),u[3]=c,u[4]=l):l=u[4],l}])},225141,e=>{"use strict";var t=e.i(659350),o=e.i(663456);e.i(406201);var n=e.i(967605),r=e.i(167581);e.s(["NotFoundSuggestionLink",0,function(e){let i,s,l,u,a,c,d=(0,o.c)(13);d[0]!==e?({rank:l,tier:u,onClick:s,...i}=e,d[0]=e,d[1]=i,d[2]=s,d[3]=l,d[4]=u):(i=d[1],s=d[2],l=d[3],u=d[4]);let h=(0,r.useNotFoundAnalytics)();return d[5]!==h||d[6]!==s||d[7]!==l||d[8]!==u?(a=e=>{s?.(e),h?.captureSuggestionClick({rank:l,tier:u})},d[5]=h,d[6]=s,d[7]=l,d[8]=u,d[9]=a):a=d[9],d[10]!==i||d[11]!==a?(c=(0,t.jsx)(n.Link,{...i,onClick:a}),d[10]=i,d[11]=a,d[12]=c):c=d[12],c}])},445626,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zc03f5m4v2hf.js","static/immutable/chunks/0zq5z8fle-6hy.js","static/immutable/chunks/17umx9-5i4awq.js"].map(t=>e.l(t))).then(()=>t(934234)))},827819,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d26_kqsj-o-5.js","static/immutable/chunks/0sxd-roo8f16y.js"].map(t=>e.l(t))).then(()=>t(388291)))},406201,e=>{"use strict";e.i(967605),e.s([])},704871,e=>{"use strict";let t=(0,e.i(429332).default)(()=>e.A(827819).then(e=>e.Footer),{loadableGenerated:{modules:[388291]}});e.s(["NotFoundFooter",0,t])}]); //# sourceMappingURL=0_sqy9e6scvfi.js.map