(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1776],{31828:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ranking/[franchiseSlug]/[year]/search",function(){return n(13938)}])},13938:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c}});var a=n(85893),r=n(98756),i=n(11163),u=n(67294);let s=e=>{let{franchiseList:t,years:n,initialYear:s}=e,c=(0,i.useRouter)(),[f,l]=(0,u.useState)(""),[_,h]=(0,u.useState)({});return(0,u.useEffect)(()=>{let e=new URLSearchParams(c.asPath.split("?")[1]||"");l(e.get("Name")||""),e.delete("Name");let t={};e.forEach((e,n)=>{"true"===e||"false"===e?t[n]="true"===e:t[n]=e}),h(t)},[t]),(0,a.jsx)(r.Z,{franchiseList:t,years:n,initialFilters:_,initialYear:s,initialSearch:f})};var c=!0;t.default=s}},function(e){e.O(0,[9521,8756,9774,2888,179],function(){return e(e.s=31828)}),_N_E=e.O()}]);
//# sourceMappingURL=search-58e6234516179ac4.js.map