https://www.tradeindia.com/_next/static/chunks/pages/[selocation1]/[selocation2]-9ce9da0e4ef5d53c.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4856],{45957:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>T});var r=a(37876),i=a(89099),s=a(14232),l=a(18847),o=a.n(l),n=a(48011),c=a(20621),p=a(30235),d=a(39536),_=a(14050),u=a(67055);let h=o()(()=>Promise.all([a.e(8230),a.e(1626),a.e(8827),a.e(7680),a.e(6575),a.e(7925),a.e(4141),a.e(9430),a.e(4311),a.e(3224),a.e(7806)]).then(a.bind(a,88175)),{loadableGenerated:{webpack:()=>[88175]}}),b=o()(()=>Promise.all([a.e(8230),a.e(1626),a.e(8827),a.e(4141),a.e(9167)]).then(a.bind(a,91224)),{loadableGenerated:{webpack:()=>[91224]}}),y=o()(()=>Promise.all([a.e(1626),a.e(3335)]).then(a.bind(a,93969)),{loadableGenerated:{webpack:()=>[93969]}}),m=o()(()=>Promise.all([a.e(2001),a.e(8230),a.e(1626),a.e(8827),a.e(7932),a.e(9091),a.e(8108),a.e(7189),a.e(3993),a.e(1294),a.e(6604),a.e(6575),a.e(7925),a.e(9809),a.e(4824),a.e(7391),a.e(5300),a.e(1984),a.e(7067),a.e(2068),a.e(6693),a.e(3398),a.e(9778),a.e(4050)]).then(a.bind(a,20780)),{loadableGenerated:{webpack:()=>[20780]}}),E=o()(()=>Promise.all([a.e(2001),a.e(8230),a.e(1626),a.e(8827),a.e(7932),a.e(9091),a.e(8108),a.e(7189),a.e(3993),a.e(9357),a.e(1294),a.e(4451),a.e(6575),a.e(7925),a.e(9809),a.e(4824),a.e(7391),a.e(5300),a.e(1984),a.e(7067),a.e(2068),a.e(6693),a.e(7413),a.e(4840),a.e(95)]).then(a.bind(a,52603)),{loadableGenerated:{webpack:()=>[52603]}}),w=o()(()=>Promise.all([a.e(2001),a.e(8230),a.e(1626),a.e(8827),a.e(7932),a.e(7189),a.e(9357),a.e(6604),a.e(7925),a.e(7067),a.e(3398),a.e(1055),a.e(9778),a.e(5829)]).then(a.bind(a,16411)),{loadableGenerated:{webpack:()=>[16411]}}),f=o()(()=>a.e(3231).then(a.bind(a,50286)),{loadableGenerated:{webpack:()=>[50286]}}),g=e=>{let t=(0,i.useRouter)(),a=(0,n.wA)(),l=(t.query.selocation1+"").split("-").slice(-1),o=".html"===(t.query.selocation2+"").split("").slice(-5).join(""),{loading:c,error:p,city_list_res:d}=(0,n.d4)(e=>e.cityListData.city_list),{is_mobile:_}=(0,n.d4)(e=>e.common),{hyperlocalLoading:u,hyperlocalError:g,hyperlocalRes:T}=(0,n.d4)(e=>e.hyperLocal.hyperlocalPageData),x=(0,n.d4)(e=>e.cityListData.cityListbanner);if((0,s.useEffect)(()=>()=>{a({type:"@RESET_FILTERS_SUCCESS",payload:{shop_online:!1,manufacturer:!1,supplier:!1,exporter:!1,traders:!1,wholesaler_or_distributor:!1,trust_stamp:!1,buyer_feedback:!1,with_price:!1}})},[]),!isNaN(parseInt(l[0]))&&o){let{loading:e,error:t,seller_more_product_res:a}=(0,n.d4)(e=>e.sellerMoreProducts.seller_more_product);return(0,r.jsx)(h,{hideLocation:!0,children:e?(0,r.jsx)(y,{}):410===t?(0,r.jsx)("h2",{children:"Error 410 - Page deleted or gone"}):t?(0,r.jsx)(b,{}):a?(0,r.jsx)(E,{productPageData:a}):void 0})}if(e.citypage_url?.match(/\/[a-zA-Z-0-9]+\/[a-zA-Z-0-9]+-city-[0-9]+\.html(\?page=[0-9]+)?$/))if(e.hindi)return(0,r.jsx)(h,{children:c?(0,r.jsx)(y,{}):p?(0,r.jsx)(b,{}):d?(0,r.jsx)(w,{cityListData:d,cityListbannerRes:x}):void 0});else return c?(0,r.jsx)(y,{}):p?(0,r.jsx)(b,{}):d?(0,r.jsx)(f,{isMobile:_,cityListData:d,cityListbannerRes:x}):void 0;if(t.asPath.match(/[a-z-]+\/[a-z0-9-]+-in-[a-z0-9-]+.html/))return(0,r.jsx)(h,{children:u?(0,r.jsx)(y,{}):g?(0,r.jsx)(b,{}):T?(0,r.jsx)(m,{cityListData:void 0,hyperlocalRes:T}):void 0})};g.getInitialProps=c.i.getInitialPageProps(e=>async t=>{let a=t.query.selocation1.split("-").slice(-1),r=".html"===t.query.selocation2.split("").slice(-5).join(""),i=`/${t.query.selocation1}/${t.query.selocation2}`;if(!isNaN(parseInt(a))&&r)e.dispatch({type:u.c.GET_SELLER_MORE_PRODUCT_REQUEST,ctx:t,url:i}),await p.A.sagaTaskEnd(t.req,e);else if(i.match(/\/[a-zA-Z-0-9]+\/[a-zA-Z-0-9]+-city-[0-9]+\.html(\?page=[0-9]+)?$/)){let{is_mobile:a}=e.getState().common;if(null===a){let a=p.A.getDevice(t.req?.headers);e.dispatch({type:"@SET_IS_MOBILE",payload:a})}let r=e.getState().cityListData.filters,s=i.split(".html")[0],l="en"!==t.locale,o=t.req?.url||t.asPath;return e.dispatch({type:d.r.GET_CITY_LIST_DATA_REQUEST,ctx:t,pageUrl:s+".html",shop_online:r.shop_online||!1,manufacturer:r.manufacturer||!1,supplier:r.supplier||!1,exporter:r.exporter||!1,traders:r.traders||!1,wholesaler_or_distributor:r.wholesaler_or_distributor||!1,trust_stamp:r.trust_stamp||!1,buyer_feedback:r.buyer_feedback||!1,with_price:r.with_price||!1,page:t.query.page||1,perpage:27,hindi:l}),e.dispatch({type:d.r.GET_CITY_LISTING_BANNER_REQUEST,query:s+".html"}),await p.A.sagaTaskEnd(t.req,e),{hindi:l,citypage_url:o}}else{if(!i.match(/[a-z-]+\/[a-z0-9-]+-in-[a-z0-9-]+.html/))return t.res.statusCode=404,{};let a=e.getState().cityListData.filters;e.dispatch({type:_.l.GET_HYPERLOCAL_PAGE_REQUEST,url:`/${t.query.selocation1}/${t.query.selocation2}`||t.asPath,shop_online:a.shop_online||!1,manufacturer:a.manufacturer||!1,supplier:a.supplier||!1,exporter:a.exporter||!1,traders:a.traders||!1,wholesaler_or_distributor:a.wholesaler_or_distributor||!1,trust_stamp:a.trust_stamp||!1,buyer_feedback:a.buyer_feedback||!1,with_price:a.with_price||!1,page_no:t.query.page||1,per_page:18}),await p.A.sagaTaskEnd(t.req,e)}});let T=g},98289:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[selocation1]/[selocation2]",function(){return a(45957)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=98289)),_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.