1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4376],{17057(e,t,a){a.r(t);var s=a(31838),r=(a(76281),a(62688)),i=a.n(r),o=a(63696),l=a(31847),n=a(55552),c=a(41267),p=a(9403),d=a(30124),m=a(25681),g=a(37787),h=a(47090),u=a(23860),y=a(47899),f=a(89487),E=a(46253),C=a(67300),D=a(51372),F=a(52682),L=a(78438),w=a(39423),$=a(65849),A=a(97018),S=a(24509),b=a(68405),P=a(46945),T=a(86280),N=a(15511),x=a(108),v=a(24643),k=a(80315),O=a(50456),_=a(29222),U=a(12097),j=a(12827);let B=0,M="",I={},H=0;const q=new l.A;class R extends o.Component{constructor(e){super(e),(0,s.A)(this,"examCategoryArray",[{name:"Banking"},{name:"SSC"},{name:"Railways"},{name:"Teaching"},{name:"Defence"},{name:"Engineering"},{name:"Civil-engineering"},{name:"Civil-Engineering"},{name:"civil-engineering"}]),(0,s.A)(this,"getFacetsList",e=>{let t=(0,b.g)(e,this.props.globalExamList);(0,k.A)(`${p.tF}/packages/secondaryFacets?coursesFacets=${e.toUpperCase()}${t}${M?`&categoryFacets=${d.P[M]}`:""}`).then(e=>{this.setState({facetsList:e.data})})}),(0,s.A)(this,"createTagsFromUrl",()=>{const e=this.props.location.search.substring(1);let t=[],a={};if(e.length){let s=e.split("&");s=s.filter(e=>!(e.indexOf("utm")>-1||e.indexOf("gclid")>-1)),s.map(e=>{let s=e.split("="),r=(s?.[1]||"").split(",");r.map(e=>{t.includes(decodeURI(e))||t.push(decodeURI(e))}),a[s[0]]=r})}return{tagArr:t.filter(e=>e),facetObj:a}}),(0,s.A)(this,"handleFilterButton",()=>{this.setState({showFilterModal:!0,showSortModal:!1}),(0,L.aJ)("filter_button_clicked",{},"filter")}),(0,s.A)(this,"handleSortButton",()=>{this.setState({showSortModal:!this.state.showSortModal})}),(0,s.A)(this,"hideFilterOnMobile",()=>{this.setState({showFilterModal:!1,currentActiveFilter:""})}),(0,s.A)(this,"setExamAsCurrentCategoryAndOpenFilter",()=>{this.setState({showFilterModal:!0,showSortModal:!1,currentActiveFilter:"examTypes"})}),(0,s.A)(this,"handleFilterApply",e=>{this.setState({dataLoader:!0,showFilterModal:!1,showFilterAppliedDot:Object.keys(e)?.length>1||e[Object.keys(e)?.[0]]?.[0].length,selectedFilterCategory:Object.keys(e)?.length>1||e[Object.keys(e)?.[0]]?.[0].length?"Filter Applied":"No Filter"});let t="&";const a=Object.keys(e),s="/ssc/live-classes-study-kit".split("/")[1],r=a.length;for(let o=0;o<r;o++){let s=e[a[o]].join(",");t=`${t}${a[o]}=${s}&`}const i=encodeURI(t.slice(0,-1));(0,L.aJ)("filter_applied",(0,L.A2)(e),"filter"),this.props.history.push((0,w.s3)("/ssc/live-classes-study-kit",`?${i.substring(1)}`)),this.setState({queryParam:i,showFilterModal:!1,currentActiveFilter:""},()=>this.getPaginatedDataForDetailedPage(0,s,!0,this.state.sortBy))}),(0,s.A)(this,"resetFilter",()=>{I={},this.clearAllFilters(),this.setState({showFilterModal:!1,currentActiveFilter:"",showFilterAppliedDot:!1,selectedFilterCategory:"No Filter"})}),(0,s.A)(this,"handleRadio",e=>{const t="/ssc/live-classes-study-kit".split("/")[2];this.props.history.push((0,w.s3)(`/${e.toLowerCase()}/${t}`)),this.getPaginatedDataForDetailedPage(0,e.toLowerCase(),!0,this.state.sortBy)}),(0,s.A)(this,"getPaginatedDataForDetailedPage",(e=0,t,a,s,r)=>{if(this.createTagsFromUrl(),(0,w.Im)(this.props.courseDetailListing)||(0,w.Im)(this.props.courseDetailListing?.data?.packageEsEntity)||a||r){let a=(0,b.g)(t,this.props.globalExamList);const r={pageNo:e,courseName:t,type:"init",categoryFacet:d.P[M],queryParam:this.state.queryParam||`&${this.props.location.search.substring(1)}`,sortBy:s,sponsoredCategory:1,tagParams:a};this.props.getPaginatedDataForCourseDetail(r).then(()=>{this.setState({loading:!1,showFilterModal:!1,showProductLoader:!1,dataLoader:!1,tagArr:this.createTagsFromUrl().tagArr})}),B=0}}),(0,s.A)(this,"getPaginatedDataOnScroll",e=>{if((this.props.courseDetailListing.data.count||0)<=(B+1)*p.z9)return;this.setState({listingLoader:!0}),B++;let t=(0,b.g)(e,this.props.globalExamList);const a=(0,w.LM)(e).toUpperCase(),s={pageNo:B,courseName:a,type:"scroll",categoryFacet:d.P[M],queryParam:this.state.queryParam||`&${this.props.location.search.substring(1)}`,sortBy:this.state.sortBy,sponsoredCategory:1,tagParams:t};this.props.getPaginatedDataForCourseDetail(s).then(()=>{this.setState({listingLoader:!1})})}),(0,s.A)(this,"handleDetailCardClick",e=>{const t=d.GK[e?.suggestionCat?.split(",")?.[0]]||"",a=e.id||"",s=e.title||"",r=e.slugURL||"",i=this.props.utmParam
1s,o=(0,$.E4)({category:e?.packagePrimaryCategory,packageId:a,title:s,slugurl:r});"undefined"!=typeof Moengage&&(0,U.Uj)(Moengage,"product_click",(0,L.tM)({source:"web",id:a,name:s,category:t,list:t,brand:p.$p[1],variant:"-",price:e.price,quantity:"1",packageUrl:o,packageActualPrice:e.maxPrice,packageDiscountedPrice:e.price,getUtmFromStore:i,source_screen:" CourseDetail listing",productType:t}))}),(0,s.A)(this,"getNewParamsForAllCategory",(e,t)=>{const{facetObj:a,tagArr:s}=this.state;if(this.setState({dataLoader:!0}),"allExamtype"===e){const e=t.toLowerCase();this.setState({tagArr:[],facetObj:{}}),this.props.history.push((0,w.s3)(`/${e}`)),this.props.getSearchData(e).then(()=>{this.setState({dataLoader:!1})})}else{let r=Object.assign({},a),i=s;const o="ssc",l="live-classes";(0,w.vM)(r[e])||(r[e]=[]),r[e].includes(t)?(r[e]=r[e].filter(e=>e.toLowerCase()!==t.toLowerCase()),i=i.filter(e=>e.toLowerCase()!==t.toLowerCase())):(r[e].push(t),i.push(t));let n,c="";for(n in r)r[n].length&&Array.isArray(r[n])&&(c=`${c}${n}=${r[n].join()}&`);c=c.substring(-1),this.setState({queryParam:c,tagArr:i,facetObj:r},()=>{this.getPaginatedDataForDetailedPage(0,(0,w.LM)(o).toUpperCase(),!0,this.state.sortBy)}),this.props.history.push((0,w.s3)(`/${o}/${l}-study-kit`,`?${c.slice(0,-1)}`))}}),(0,s.A)(this,"datalayerHanler",e=>{const t="/ssc/live-classes-study-kit",a=t.split("/")[1];let s=t.split("/")[2].split("-").slice(0,-2).join("-"),r=d.Ej[s],i=q.get("cp_user_id"),o=q.get("cp_user_name"),l=q.get("
1cp_user_email");const n=q.get("cp_token");if(e&&"undefined"!=typeof window&&1===H){let t=e.data&&e.data.packageEsEntity&&e.data.packageEsEntity[0]&&e.data.packageEsEntity[0].courses;(0,j.Fj)("view_item_list",{ecommerce:{item_list_name:`${a||"all"} - Listing`,items:(0,j.mm)((0,j.D6)(e),{listName:`${a||"all"} - Listing`})}}),n?(0,L.i3)({name:o||"guest",email:l||"",isMobile:"m"===(0,A.ZI)(),loginType:"email",isLoggedIn:!0,examName:a,pageName:"Listing",examCategoryName:t,category:r}):n||i||(0,L.i3)({name:"guest",email:"",isMobile:"m"===(0,A.ZI)(),loginType:"",isLoggedIn:!1,examName:a,pageName:"Listing",examCategoryName:t,category:r});let s={};s.user_email=q.get("cp_user_email")||"",s.user_name=q.get("cp_user_name")||"",s.source_screen="",s.examCategory=t,s.getUtmFromStore=this.props.utmParams,(0,L.RO)("list_page_view",s)}}),(0,s.A)(this,"handleSortBy",e=>{this.setState({sortBy:e,showProductLoader:!0},()=>{this.getPaginatedDataForDetailedPage(0,(0,w.LM)("ssc").toUpperCase(),!0,e)})}),(0,s.A)(this,"setSelectedSortCategoryChange",e=>{this.setState({selectedSortCategory:e})}),(0,s.A)(this,"removeTag",e=>{const{tagArr:t,facetObj:a}=this.state,{location:s}=this.props,r="/ssc/live-classes-study-kit",i=r.split("/")[1];let o=r.split("/")[2].split("-");o.pop(),o.pop();const l=o.join("-");let n={};const c=[];t?.forEach(e=>{c.push(e)}),this.setState({dataLoader:!0}),c.indexOf(e)>-1&&(c.splice(c.indexOf(e),1),Object.keys(a).map(t=>{n[t]=a[t].filter(t=>t.toLowerCase()!==e.toLowerCase())}));let p=[],d="";s.search.substring(1).split("&").map(t=>{let a=t.split("=");const s=a.shift();let r=(a[0]||"").split(",");r=r.filter(t=>decodeURI(t).toLowerCase()!==e.toLowerCase());const i=r.join(",");i.length&&p.push(`${s}=${i}`)}),p.length>1?d=p.join("&"):(0,w.vM)(p[0])&&(d=p[0]),this.setState({queryParam:d,tagArr:c,facetObj:n,showFilterAppliedDot:c.length&&!0,selectedFilterCategory:c.length?"Filter Applied":"No Filter"},()=>{this.getPaginatedDataForDetailedPage(0,i,!0,this.state.sortBy)}),this.props.history.push((0,w.s3)(`/${i}/${l}-study-kit`,`?${d}`))}),(0,s.A)(this,"clearAllFilters",()=>{const{history:e}=this.props,t="/ssc/live-classes-study-kit",a=t.substring(1).split("/")[1],s=t.substring(1).split("/")[0];e.push((0,w.s3)(`/${s}/${a}`)),this.setState({dataLoader:!0,queryParam:"",tagArr:[],facetObj:{},showFilterAppliedDot:!1,selectedFilterCategory:"No Filter"},()=>{this.getPaginatedDataForDetailedPage(0,s,!0,this.state.sortBy)}),(0,L.aJ)("filter_reset",{},"filter")});const t=this.createTagsFromUrl();this.state={loading:!0,listingLoader:!1,showFilterModal:!1,showSortModal:!1,selectedSortCategory:"Relevance",selectedFilterCategory:"No Filter",showFilterAppliedDot:!1,showSortByAppliedDot:!0,queryParam:e.location.search.substring(1)||"",tagArr:t.tagArr,sortBy:"RELEVANCE",dataLoader:!1,facetObj:t.facetObj,examPages:"",facetsList:null}}componentWillUnmount(){this.props.courseDetailListing&&!(0,w.Im)(this.props.courseDetailListing)&&("undefined"!=typeof window&&this.props.clearCourseDetailData(),this.clearBeforeUnload());const e=window.googletag;e&&e.destroySlots(),H=0}componentDidMount(){const{location:e}=this.props,t="/ssc/live-classes-study-kit".split("/")[1];if(this.getFacetsList((0,w.LM)(t).toUpperCase()),e.search.length){const t=e.search.substring(1).split("&");for(let e=0;e<t.length;e++){const a=t[e].split("=");decodeURI(a[1]).length&&(I[decodeURI(a[0])]=[decodeURI(a[1])])}}"undefined"!=typeof window&&window.scrollTo(0,0),this.validateCondition(M,t)&&this.getPaginatedDataForDetailedPage(0,(0,w.LM)(t).toUpperCase(),!1,this.state.sortBy);let a=(0,S._b)(this.props.examList,"ssc");this.setState({examPages:a}),"undefined"!=typeof window&&window.scrollTo(0,0)}clearBeforeUnload(){this.setState({tagArr:[],facetObj:{}})}validateCondition(e,t){return t=t.split(" ").join(""),!(!(0,$.zt)(e)||!(0,$.tE)(t))}render(){const{courseDetailListing:e}=this.props,{listingLoader:t,showFilterModal:a,showSortModal:s,selectedFilterCategory:r,selectedSortCategory:i,showFilterAppliedDot:l,showSortByAppliedDot:n,dataLoader:F,tagArr:L,facetObj:$}=this.state,A="ssc",S="/ssc-test-page",b="ssc";M="live-classes",e&&e.data&&this.state.facetsList&&(H++,this.datalayerHanler(e));let k=d.Ej[M],U="",j=`${(0,w.kR)((0,w.TH)(A))} ${(0,w.kR)((0,w.TH)("live-classes"))} at ${p.$p[1]}`;return"Videos"===k?U=`Preparing for ${(0,w.Ss)(A)} exam online? Study online for ${(0,w.Ss)(A)} exam with video courses from ${p.$p[1]} with subject experts. Get live sessions with toppers.`:"Online Live Classes"===k?U=`Are you a ${(0,w.Ss)(A)} exam aspirant? Get ${(0,w.Ss)(A)} exam Online coaching from subject experts. Join live interactive classes from faculties to ace selection.`:"Mock Tests"===k?U=`Practice for ${(0,w.Ss)(A)} exam online with online ${(0,w.Ss)(A)} test series by ${p.$p[1]}. Get daily mocks, assessment, solved question papers to assess your preparation`:"E-Books"===k&&(U=`Get Best e-books & study material for ${(0,w.Ss)(A)} exam online at ${p.$p[1]}. Read & practice with latest editions of most important books to crack ${(0,w.Ss)(A)}exam.`),o.createElement("div",{className:"inline-block productListingWrap"},o.createElement(f.default,{title:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].metaTitle?this.props.seoData[S].metaTitle:j,description:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].metaDescription?this.props.seoData[S].metaDescription:U,url:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].canonical||this.props.req_url,keywords:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].keywords,noFollow:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].noFollow,noIndex:this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].noIndex}),this.validateCondition(M,b)?o.createElement("div",null,o.createElement(y.default,{items:[{title:"Home",url:"/"},{title:(0,w.Ss)(e.title||A),url:`/${A}-study-materials`},{title:d.Ej[M]}]}),"live-classes"===M||"videos"===M?o.createElement(O.default,{data:e?.data?.packageEsEntity,isOnlyLiveClasses:!0,origin:this?.props?.origin,schemaType:"Carousel"}):"",o.createElement("div",{className:"breadcrumb-container"},o.createElement(T.default,{routeData:[{name:"Home",target:"/"},{name:(0,w.Ss)(e.title||A),target:`/${A}-study-materials`},{name:this.props.seoData[S]?.extra1||d.Ej[M],target:""}]})),o.createElement("div",{className:"header-container"},o.createElement("h1",{className:"listing-header"},this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].pageHeading?.split(":").join(" : ")?.split(",").join(", ")||`${e.title||A} ${d.Ej[M]} ${(new Date).getFullYear()}`),this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].pageHeadingDescription&&o.createElement("div",{className:"headingdescription seoHeadingDescription"},this.props.seoData[S].pageHeadingDescription)),e&&e.data&&e.data.packageEsEntity?o.createElement("div",{className:"listing-data-container"},o.createElement("div",{className:"filter-parent-container col m3 fcwidth"},o.createElement(u.default,{SuffixValue:`${(0,w.TH)("live-classes")}`,courseType:"ssc",productType:"live-classes",examPages:this.state.examPages,facetsList:this.state.facetsList,showSearch:!1,filterHeading:(0,w.Ss)(b),currentItem:b,getNewParamsforAllCategory:this.getNewParamsForAllCategory,type:"courseDetail",selectedTags:L,getUtmFromStore:this.props.utmParam
1s})),o.createElement("div",{className:"col m9 fccontwidth"},F?o.createElement(o.Fragment,null,o.createElement(P.default,null)):o.createElement(o.Fragment,null,L.length>0&&o.createElement("div",{className:"tag-container"},o.createElement(m.default,{tagArr:L,removeTag:this.removeTag}),o.createElement("div",{className:"clear-all",onClick:this.clearAllFilters},"Clear All")),e.data.packageEsEntity.length?o.createElement(o.Fragment,null,o.createElement(c.default,{offset:600,onBottom:()=>this.getPaginatedDataOnScroll(b)},o.createElement(g.default,{openDetailFilters:this.setExamAsCurrentCategoryAndOpenFilter,facetsList:this.state.facetsList,tagArr:L,handleApply:this.handleFilterApply,showShortFiltersForDetail:!0,allCategoryData:e.data,packageCount:e.data.count,handleDetailCardClick:this.handleDetailCardClick,heading:`${(0,w.Ss)(A)} ${d.Ej[M]}`,sortBy:!0,handleSortBy:this.handleSortBy,sortByValue:this.state.sortBy,showLoader:this.state.showProductLoader,getUtmFromStore:this.props.utmParams,title:e.title,useTitle:`${e.data.count} ${d.Ej[M]} for ${(0,w.Ss)(e.title||A)}`,hideSortByFilter:!0}),t&&o.createElement("div",{style:{margin:"20px"}},o.createElement(E.default,{buttonSpinner:!0})))):o.createElement(C.default,{handleOnClick:this.clearAllFilters,allCategoryData:this.props.allTrendingData?.data?.hotSellingPackages,handleDetailCardClick:this.handleDetailCardClick}),e?.data?.packageEsEntity?.length?o.createElement("div",{className:"filter-sort-wrapper"},o.createElement("div",{className:"only-mobile sort-btn",onClick:this.handleSortButton},o.createElement("div",{className:"sort-btn-wrapper"},o.createElement("span",{className:"filter-sort-btn-icon"},o.createElement("img",{src:"/images/sort-bottom-icon.svg",alt:"sort",title:"sort"})," ",o.createElement("span",{className:"filter-name"},"Sort By")),o.createElement("span",{className:"filter-sort-btn-label"},o.createElement("span",{className:"filter-selected-category-wrapper"},n?o.createElement("span",{className:"filter-applied-dot"}):"",o.createElement("span",{className:"selected-filter-category"},i))))),o.createElement("div",{className:"only-mobile filter-btn",onClick:this.handleFilterButton},o.createElement("div",{className:"filter-btn-wrapper"},o.createElement("span",{className:"filter-sort-btn-icon"},o.createElement("img",{src:"/images/filter-bottom-icon-new.svg",alt:"filter",title:"filter",width:"17",height:"18"})," ",o.createElement("span",{className:"filter-name"},"Filters")),o.createElement("span",{className:"filter-sort-btn-label"},o.createElement("span",{className:"filter-selected-category-wrapper"},l?o.createElement("span",{className:"filter-applied-dot"}):"",o.createElement("span",{className:"selected-filter-category"},r)))))):"",a&&o.createElement(h.default,{visible:a,onCancel:this.hideFilterOnMobile,onOk:this.onOk,facetsList:this.state.facetsList,handleApply:this.handleFilterApply,facetsObject:I,resetFilter:this.resetFilter,type:2,handleRadio:this.handleRadio,selectedTags:L,facetObj:$,courseCategory:b,variant:"courseDetail",currentActiveFilter:this.state.currentActiveFilter}),s&&o.createElement(v.default,{handleSortBy:this.handleSortBy,handleSortButton:this.handleSortButton,setSelectedSortCategory:this.setSelectedSortCategoryChange,selectedSortCategory:this.state.selectedSortCategory})))):o.createElement(E.default,null)):o.createElement("div",{style:{marginTop:"80px",height:"90vh"}},o.createElement(D.default,null)),this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].bottomContent&&o.createElement("div",{className:"bottomContentContainer"},o.createElement("div",{className:"bottomContent",dangerouslySetInnerHTML:{__html:this.props.seoData[S].bottomContent}})),this.props.seoData&&this.props.seoData[S]&&this.props.seoData[S].faqs&&this.props.seoData[S].faqs.length>=1&&(0,_.A)(this.props.seoData[S].faqs[0])&&o.createElement("div",{className:"faqcontainersearch"}," ",o.createElement(N.default,{faqJson:this.props.seoData[S].faqs})),this.state.examPages&&this.state.examPages.length>=1&&o.createElement("div",{className:"related-category-mobile"},o.createElement("div",{className:"title-seo"},"Exam Pages"),o.createElement(x.p,{data:this.state.examPages,examCat:"",subCategory:!0,courseDetailPage:!0,isExamtypes:!0,isRelatedCategory:!1,SuffixValue:"Online Coaching"})),this.examCategoryArray&&o.createElement("div",{className:"related-category-mobile"},o.createElement("div",{className:"title-seo"},"Related Category"),o.createElement(x.p,{data:this.examCategoryArray,courseType:"ssc",productType:"live-classes",examCat:"",courseDetailPage:!0,isRelatedCategory:!1,SuffixValue:`${(0,w.TH)("live-classes")}`})))}}
1(0,s.A)(R,"propTypes",{getPaginatedDataForCourseDetail:i().func,courseDetailListing:i().object,clearCourseDetailData:i().func,utmParams:i().object}),R.fetching=({dispatch:e,location:t})=>[e((0,F.R)({pageNo:0,courseName:(0,w.LM)("ssc")?.toUpperCase(),type:"init",categoryFacet:d.P["live-classes"],queryParam:`&${t.substring(t.indexOf("?")+1)}`,sortBy:"RELEVANCE",sponsoredCategory:1}))];const Y=(0,n.Ng)(e=>{const{courseDetailListing:t}=e;let a=e.referrer||{},s=e.req_url,r=e.seoData,i=e.isPaytmMini;const o=e.header.examList;let l=e.header.allTrendingData;const n=e?.header?.origin||"",c=e?.header?.globalExamList;return{courseDetailListing:t,examList:o,utmParams:a,req_url:s,seoData:r,isPaytmMini:i,allTrendingData:l,origin:n,globalExamList:c}},e=>({getPaginatedDataForCourseDetail:t=>e((0,F.R)(t)),clearCourseDetailData:()=>e((0,F.u)())}))(R);a.d(t,["default",0,Y])},27256(e,t,a){a.r(t),a.d(t,{default:()=>X});var s=a(31838),r=(a(76281),a(62688)),i=a.n(r),o=a(63696),l=a(31847),n=a(55552),c=a(51851),p=a(9403),d=a(30124),m=a(51372),g=a(25681),h=a(47090),u=a(24643),y=a(37787),f=a(23860),E=a(41267),C=a(86280),D=a(47899),F=a(50456),L=a(89487),w=a(46253),$=a(46945),A=a(67300),S=a(108),b=a(29222),P=a(42544);const T=({pageNo:e,examName:t,type:a,categoryFacet:s,queryParam:r,sortBy:i,sponsoredCategory:o=1,tagParams:l=""})=>{let n="";-1!==r.indexOf("coursesFacets")&&(n="");let c="";if("undefined"!=typeof window){const e=new URLSearchParams(r);e?.has("coursesFacets")&&e?.delete("coursesFacets"),c=e?.toString(),n=sessionStorage.getItem("ExamCategoryMappingId")?sessionStorage.getItem("ExamCategoryMappingId")?.toUpperCase():""}return{CALL_API:[{type:"init"===a?P.A.GET_EXAM_DETAIL_LISTING:P.A.GET_EXAM_DETAIL_LISTING_ON_SCROLL,meta:{path:`${p.PL}?examTypesFacets=${t}&categoryFacets=${s}&pageNo=${e}&pageSize=${p.z9}&sponsoredCategory=${o}&primaryFilter=true&includeUnpublished=true&${c.length?`${c}`:""}${"RELEVANCE"!==i.toUpperCase()?`&sortOrder=${i}`:""}${n?`&coursesFacets=${n}${l}`:""}`,method:"GET"}}]}};var N=a(80315),x=a(78438),v=a(39423),k=a(97018),O=a(24509),_=a(68405),U=a(65849),j=a(1
15511),B=a(28524),M=a(12097),I=a(12827);function H(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?H(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):H(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}(0,c.Ay)({resolved:{},chunkName:()=>"data-ducks-examDetailListing-reducers",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!a.m[t]},importAsync:()=>a.e(2491).then(()=>a(11172)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return a(t)},resolve:()=>11172}).preload();let R=0,Y={};const G=new l.A;let V=0;class J extends o.Component{constructor(e){super(e),(0,s.A)(this,"createTagsFromUrl",()=>{const e=this?.props?.location?.search?.substring(1);let t=[],a={};if(e?.length){const s=e?.split("&");s?.map(e=>{let s=e?.split("=");if(B.Mn?.includes(s?.[0])){let e=(s[1]||"")?.split(",");e?.map(e=>{t?.includes(decodeURI(e))||t?.push(decodeURI(e))}),a[s[0]]=e}})}return{tagArr:t?.filter(e=>e),facetObj:a}}),(0,s.A)(this,"getPaginatedDataForDetailedPage",(e=0,t,a,s,r)=>{if("undefined"!=typeof window&&window.scrollTo(0,0),this.createTagsFromUrl(),(0,v.Im)(this.props.examDetailListing)||(0,v.Im)(this.props.examDetailListing?.data?.packageEsEntity)||a||r){let a=this.state.queryParam||`&${this.props.location.search.substring(1)}`,r=a?.split("=")?.[1],i=(0,_.g)(r,this.props.globalExamList);const o={pageNo:e,examName:t,type:"init",categoryFacet:(0,v.LM)(d.P[this.state?.requiredProductName]),queryParam:a,sortBy:s,sponsoredCategory:3,tagParams:i};this.props.getPaginatedDataForExamDetail(o).then(()=>{this.setState({loading:!1,showFilterModal:!1,showProductLoader:!1,dataLoader:!1,tagArr:this.createTagsFromUrl().tagArr})}),R=0}}),(0,s.A)(this,"getPaginatedDataOnScroll",e=>{if((this.props.examDetailListing.data.count||0)<=(R+1)*p.z9)return;this.setState({listingLoader:!0}),R++;let t=(0,_.g)(e,this.props.globalExamList);const a={pageNo:R,examName:e,type:"scroll",categoryFacet:(0,v.LM)(d.P[this.state?.requiredProductName]),queryParam:this.state.queryParam||`&${this.props.location.search.substring(1)}`,sortBy:this.state.sortBy,sponsoredCategory:3,tagParams:t};this.props.getPaginatedDataForExamDetail(a).then(()=>{this.setState({listingLoader:!1,dataLoader:!1})})}),(0,s.A)(this,"handleDetailCardClick",e=>{const t=d.GK[e?.suggestionCat?.split(",")?.[0]]||"",a=e.id||"",s=e.title||"",r=e.slugURL||"",i=this.props.utmParams,o=(0,U.E4)({category:e?.packagePrimaryCategory,packageId:a,title:s,slugurl:r});"undefined"!=typeof Moengage&&(0,M.Uj)(Moengage,"product_click",(0,x.tM)({source:"web",id:a,name:s,category:t,list:t,brand:p.$p[1],variant:"-",price:e.price,quantity:"1",packageUrl:o,packageActualPrice:e.maxPrice,packageDiscountedPrice:e.price,getUtmFromStore:i,source_screen:" Exam Detail listing"}))}),(0,s.A)(this,"handleFilterButton",()=>{this.setState({showFilterModal:!0,showSortModal:!1});let e={};e.Exam_Category=sessionStorage.getItem("ExamCategoryMappingId"),(0,x.aJ)("filter_button_clicked",e,"filter")}),(0,s.A)(this,"handleSortButton",()=>{this.setState({showSortModal:!this.state.showSortModal})}),(0,s.A)(this,"hideFilterOnMobile",()=>{this.setState({showFilterModal:!1})}),(0,s.A)(this,"handleFilterApply",e=>{this.setState({dataLoader:!0,showFilterModal:!1});let t="&";const a=Object.keys(e),s=this.props.location.pathname.split("/")[1],r=a.length;for(let l=0;l<r;l++){let s=e[a[l]];t=`${t}${a[l]}=${s}&`}const i=encodeURI(t.slice(0,-1));this.setState({queryParam:i,showFilterModal:!1,showFilterAppliedDot:Object.keys(e)?.length>1||e[Object.keys(e)?.[0]]?.[0].length,selectedFilterCategory:Object.keys(e)?.length>1||e[Object.keys(e)?.[0]]?.[0].length?"Filter Applied":"No Filter"},()=>this.getPaginatedDataForDetailedPage(0,s,!0,this.state.sortBy));let o={};o.Exam_Category=sessionStorage.getItem("ExamCategoryMappingId"),o=q(q({},o),(0,x.A2)(e)),(0,x.aJ)("filter_applied",o,"filter"),this.props.history.push((0,v.s3)(`${this.props.location.pathname}`,`?${i.substring(1)}`))}),(0,s.A)(this,"resetFilter",()=>{Y={},this.clearAllFilters(),this.setState({showFilterModal:!1,currentActiveFilter:"",showFilterAppliedDot:!1,selectedFilterCategory:"No Filter"})}),(0,s.A)(this,"getNewParamsForAllCategory",(e,t)=>{this.setState({dataLoader:!0});const{facetObj:a,tagArr:s}=this.state;this.setState({dataLoader:!0});const{location:r}=this.props,{pathname:i}=r,o=i.split("/")[1];if("allExamtype"===e){const e=t.toLowerCase();this.setState({tagArr:[],facetObj:{}}),this.props.history.push((0,v.s3)(`/${e}`)),this.props.getSearchData(e).then(()=>{this.setState({dataLoader:!1})})}else{let r=Object.assign({},a),i=s;const l=this.props.match.params.productType;(0,v.vM)(r[e])||(r[e]=[]),r[e].includes(t)?(r[e]=r[e].filter(e=>e.toLowerCase()!==t.toLowerCase()),i=i.filter(e=>e.toLowerCase()!==t.toLowerCase())):(r[e].push(t),i.push(t));let n,c="";for(n in r)r[n].length&&Array.isArray(r[n])&&(c=`${c}${n}=${r[n].join()}&`);c=c.substring(-1),this.setState({queryParam:c,tagArr:i,facetObj:r},()=>{this.getPaginatedDataForDetailedPage(0,o,!0,this.state.sortBy)}),this.props.history.push((0,v.s3)(`/${o}/${l}-kit`,`?${c.slice(0,-1)}`))}}),(0,s.A)(this,"datalayerHanler",e=>{const{location:t}=this.props,{pathname:a}=t,s=a.split("/")[1];let r=a.split("/")[2].split("-").slice(0,-1).join("-"),i=d.Ej[r],o=G.get("cp_user_id"),l=G.get("cp_user_name"),n=G.get("cp_user_email");const c=G.get("cp_token");if(e&&"undefined"!=typeof window&&1===V){let t=e.data&&e.data.packageEsEntity&&e.data.packageEsEntity[0]&&e.data.packageEsEntity[0].courses;(0,I.Fj)("view_item_list",{ecommerce:{item_list_name:`${s||"all"} - Listing`,items:(0,I.mm)((0,I.D6)(e),{listName:`${s||"all"} - Listing`})}}),c?(0,x.i3)({name:l||"guest",email:n||"",isMobile:"m"===(0,k.ZI)(),loginType:"email",isLoggedIn:!0,examName:s,pageName:"Listing",examCategoryName:t,category:i}):c||o||(0,x.i3)({name:"guest",email:"",isMobile:"m"===(0,k.ZI)(),loginType:"",isLoggedIn:!1,examName:s,pageName:"Listing",examCategoryName:t,category:i});let a={};a.user_email=G.get("cp_user_email")||"",a.user_name=G.get("cp_user_name")||"",a.source_screen="",a.examCategory=t,a.getUtmFromStore=this.props.utmParam
1s,(0,x.RO)("list_page_view",a)}}),(0,s.A)(this,"handleSortBy",e=>{const{location:t}=this.props,{pathname:a}=t,s=a.split("/")[1];this.setState({sortBy:e,showProductLoader:!0},()=>{this.getPaginatedDataForDetailedPage(0,s,!0,e)})}),(0,s.A)(this,"setSelectedSortCategoryChange",e=>{this.setState({selectedSortCategory:e})}),(0,s.A)(this,"removeTag",e=>{this.setState({dataLoader:!0});const{location:t}=this.props,{pathname:a}=t,s=a.split("/")[1],r=a.split("/")[2],{tagArr:i,facetObj:o}=this.state;let l={};const n=[...i];this.setState({dataLoader:!0}),n.indexOf(e)>-1&&(n.splice(n.indexOf(e),1),Object.keys(o).map(t=>{l[t]=o[t].filter(t=>t.toLowerCase()!==e.toLowerCase())}));let c=[],p="";t.search.substring(1).split("&").map(t=>{let a=t.split("=");const s=a.shift();let r=(a[0]||"").split(",");r=r.filter(t=>decodeURI(t).toLowerCase()!==e.toLowerCase());const i=r.join(",");i.length&&c.push(`${s}=${i}`)}),c.length>1?p=c.join("&"):(0,v.vM)(c[0])&&(p=c[0]),this.setState({queryParam:p,tagArr:n,facetObj:l,showFilterAppliedDot:n.length&&!0,selectedFilterCategory:n.length?"Filter Applied":"No Filter"},()=>{this.getPaginatedDataForDetailedPage(0,s,!0,this.state.sortBy)}),this.props.history.push((0,v.s3)(`/${s}/${r}`,`?${p}`))}),(0,s.A)(this,"clearAllFilters",()=>{const{history:e,location:t}=this.props,{pathname:a}=t,s=a.split("/")[1],r=a.split("/")[2],i=this.props.match?.params?.productType,o=r||(i?`${i}-kit`:"");e.push((0,v.s3)(`/${s}/${o}`)),this.setState({dataLoader:!0,queryParam:"",tagArr:[],facetObj:{},showFilterAppliedDot:!1,selectedFilterCategory:"No Filter"},()=>{this.getPaginatedDataForDetailedPage(0,s,!0,this.state.sortBy)});let l={};l.Exam_Category=sessionStorage.getItem("ExamCategoryMappingId"),(0,x.aJ)("filter_reset",l,"filter")}),(0,s.A)(this,"getSecondaryFacetsList",()=>{const{location:e}=this.props,{pathname:t}=e,a=t?.split("/")[1];try{(0,N.A)(`${p.tF}/packages/secondaryFacets?${this.state?.requiredProductName?`&categoryFacets=${d.P[this.state?.requiredProductName]}`:""}${a?`&examTypesFacets=${a}`:""}`).then(e=>{this.setState({secondaryFacetsList:e.data})}).catch(e=>{})}catch(s){}});const t=this.createTagsFromUrl();this.state={loading:!0,listingLoader:!1,showFilterModal:!1,queryParam:e.location.search.substring(1)||"",requiredProductName:e?.match?.params?.productType||"",tagArr:t.tagArr,sortBy:"RELEVANCE",dataLoader:!1,facetObj:t.facetObj,similarProduct:"",showSortModal:!1,selectedSortCategory:"Relevance",selectedFilterCategory:"No Filter",showFilterAppliedDot:!1,showSortByAppliedDot:!0,secondaryFacetsList:[]},this.currentUrl=(0,v.BS)(e.location.pathname)}componentWillUnmount(){this.props.examDetailListing&&!(0,v.Im)(this.props.examDetailListing)&&(this.props.clearExamDetailData(),this.clearBeforeUnload()),V=0;const e=window.googletag;e&&e.destroySlots()}componentDidMount(){const{location:e}=this.props;if(e.search.length){const t=e.search.substring(1).split("&");for(let e=0;e<t.length;e++){const a=t[e].split("=");
1decodeURI(a[1]).length&&(Y[decodeURI(a[0])]=[decodeURI(a[1])])}}const{pathname:t}=e,a=t.split("/")[1];if(this.props.examList){let e=JSON.parse(localStorage.getItem("examMenuData"))||this.props.examList,t=e[(0,O.LT)(e,a)];t&&t?.map((e,s)=>{(0,v.R1)(e?.name?.toLowerCase())===a?.toLowerCase()&&t.splice(s,1)}),this.setState({similarProduct:t})}JSON.parse(localStorage.getItem("examMenuData"))||localStorage.setItem("examMenuData",JSON.stringify(this.props.examList)),this.validateProduct(this.state?.requiredProductName)&&this.getPaginatedDataForDetailedPage(0,a,!1,this.state.sortBy),"undefined"!=typeof window&&window.scrollTo(0,0),this.state?.requiredProductName&&this.getSecondaryFacetsList("")}componentDidUpdate(e){if(e.match.params.productType!==this.props.match.params.productType||e.match.params.examName!==this.props.match.params.examName){const{location:e}=this.props,t={pageNo:0,examName:this.props.match.params.examName||"",type:"init",categoryFacet:(0,v.LM)(d.P[this.props.match.params.productType]),queryParam:e?.split("?")[1]?`&${e?.split("?")[1]}`:"",sortBy:"RELEVANCE",sponsoredCategory:3};this.props.getPaginatedDataForExamDetail(t),"undefined"!=typeof window&&window.scrollTo(0,0)}}clearBeforeUnload(){this.setState({tagArr:[],facetObj:{}})}validateProduct(e){return(0,U.zt)(e)}render(){const{location:e,examDetailListing:t}=this.props;t&&t.data&&t.data.facetsList&&(V++,this.datalayerHanler(t,V));const{listingLoader:a,showFilterModal:s,facetObj:r,dataLoader:i,tagArr:l,showSortModal:n,selectedFilterCategory:c,selectedSortCategory:p,showFilterAppliedDot:P,showSortByAppliedDot:T,requiredProductName:N}=this.state,{pathname:k}=e,O=k.split("/")[1],_=k.split("/")[2];let B=d.Ej[N].toLowerCase(),M="",I="",H="",q="";return"e-books"===B?M=`Buy Latest Online ${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()}.Download pdf of ${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()} for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}.Read ${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()} subject-wise.`:"mock tests"===B?M=`Prepare and Practice ${(0,v.TH)(O.toUpperCase())} Mock test ${(new Date).getFullYear()} based on the latest pattern. ${(0,v.TH)(O.toUpperCase())} Test Series online free for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}.`:"books"===B?M=`Purchase ${(0,v.TH)(O.toUpperCase())} Books ${(new Date).getFullYear()} from our latest ${(0,v.TH)(O.toUpperCase())} Booklist ${(new Date).getFullYear()} to upscale your ${(0,v.TH)(O.toUpperCase())} exam preparation to a next level.`:"videos"===B?M=`Take our ${(0,v.TH)(O.toUpperCase())} Video Course to increase your score. ${(0,v.TH)(O.toUpperCase())} Pre Recorded video lectures and video courses for you all.`:"online live classes"===B&&(M=`Join ${(0,v.TH)(O.toUpperCase())} Online Coaching ${(new Date).getFullYear()} and ${(0,v.TH)(O.toUpperCase())} Live Classes ${(new Date).getFullYear()} at an affordable price.Best online coaching for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}.`),"e-books"===B?I=`${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()}`:"mock tests"===B?I=`${(0,v.TH)(O.toUpperCase())} Mock Test ${(new Date).getFullYear()}`:"books"===B?I=`${(0,v.TH)(O.toUpperCase())} Books ${(new Date).getFullYear()}`:"videos"===B?I=`${(0,v.TH)(O.toUpperCase())} Video Courses ${(new Date).getFullYear()}`:"online live classes"===B&&(I=`${(0,v.TH)(O.toUpperCase())} ONLINE COACHING ${(new Date).getFullYear()}, LIVE CLASSES`),"e-books"===B?H=`${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()}.Get Latest ${(0,v.TH)(O.toUpperCase())} Online eBooks for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}`:"mock tests"===B?H=`${(0,v.TH)(O.toUpperCase())} Mock Test ${(new Date).getFullYear()}.Get ${(0,v.TH)(O.toUpperCase())} Test Series Online Free.`:"books"===B?H=`${(0,v.TH)(O.toUpperCase())} Books ${(new Date).getFullYear()}.Check Best ${(0,v.TH)(O.toUpperCase())} Booklist ${(new Date).getFullYear()}.`:"videos"===B?H=`${(0,v.TH)(O.toUpperCase())} Video Courses ${(new Date).getFullYear()}, ${(0,v.TH)(O.toUpperCase())} Video Lectures, video classes for ${(0,v.TH)(O.toUpperCase())} Exam.`:"online live classes"===B&&(H=`Enroll for ${(0,v.TH)(O.toUpperCase())} Online Coaching ${(new Date).getFullYear()}.${(0,v.TH)(O.toUpperCase())} Live Classes ${(new Date).getFullYear()}.`),"e-books"===B?q=`${(0,v.TH)(O.toUpperCase())} eBooks ${(new Date).getFullYear()}.Try out Latest ${(0,v.TH)(O.toUpperCase())} Online eBooks ${(new Date).getFullYear()}.Prepare from the ${(0,v.TH)(O.toUpperCase())} eBooks for the upcoming ${(0,v.TH)(O.toUpperCase())} exam ${(new Date).getFullYear()}.`:"mock tests"===B?q=`${(0,v.TH)(O.toUpperCase())} Mock Test ${(new Date).getFullYear()}.Practice ${(0,v.TH)(O.toUpperCase())} Mock Test Online.Free ${(0,v.TH)(O.toUpperCase())} Mock Test Series are also available.${(0,v.TH)(O.toUpperCase())} Mock Test ${(new Date).getFullYear()} are the best mock tests for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}.`:"books"===B?q=`Buy Best ${(0,v.TH)(O.toUpperCase())} Books ${(new Date).getFullYear()}. Get ${(0,v.TH)(O.toUpperCase())} Booklist ${(new Date).getFullYear()} for ${(0,v.TH)(O.toUpperCase())} Exam. ${(0,v.TH)(O.toUpperCase())} Subject wise books in Hindi & English.`:"videos"===B?q=`${(0,v.TH)(O.toUpperCase())} Video Courses ${(new Date).getFullYear()},Watch a free Online ${(0,v.TH)(O.toUpperCase())} Video Course Class & Take ${(0,v.TH)(O.toUpperCase())} Video course for to Boost your Preparation`:"online live classes"===B&&(q=`${(0,v.TH)(O.toUpperCase())} Online Coaching ${(new Date).getFullYear()}.Attend a free ${(0,v.TH)(O.toUpperCase())} Online Live Classes.${(0,v.TH)(O.toUpperCase())} Online Coaching ${(new Date).getFullYear()} & Online Live Classes for ${(0,v.TH)(O.toUpperCase())} Exam ${(new Date).getFullYear()}.`),o.createElement(o.Fragment,null,(0,U.zt)(N)?o.createElement("div",{className:"inline-block productListingWrap"},o.createElement(L.default,{title:this.props?.seoData?.[k]?.metaTitle||H,description:this.props?.seoData?.[k]?.metaDescription||q,url:this.props?.seoData?.[k]?.canonical||this.props?.req_url,keywords:this.props?.seoData?.[k]?.keywords,noFollow:this.props?.seoData?.[k]?.noFollow,noIndex:this.props?.seoData?.[k]?.noIndex}),o.createElement(D.default,{items:[{title:"HOME",url:"/"},{title:(0,v.TH)(O),url:`/${O}-exam-kit`},{title:d.Ej[N]}]}),"live-classes"===N||"videos"===N?o.createElement(F.default,{data:t?.data?.packageEsEntity,origin:this?.props?.origin,isOnlyLiveClasses:!0,schemaType:"Carousel"}):"",o.createElement("div",{className:"breadcrumb-container"},o.createElement(C.default,{routeData:[{name:"Home",target:"/"},{name:`${(0,v.TH)(O.toUpperCase())} Exam Kit`,target:`/${O}-exam-kit`},{name:this.props.seoData[k]?.extra1||d.Ej[N],target:""}]})),o.createElement("div",{className:"header-container"},o.createElement("h1",{className:"listing-header",style:{"text-transform":"capitalize"}},this.props?.seoData?.[k]?.pageHeading?.split(":").join(" : ")?.split(",").join(", ")||I),this.props?.seoData?.[k]?.pageHeadingDescription?o.createElement("p",{className:"headingdescription seoHeadingDescription"},this.props?.seoData?.[k]?.pageHeadingDescription):o.createElement("p",{className:"headingdescription seoHeadingDescription"},M)),this.props.examDetailListing?.data?.packageEsEntity?o.createElement("div",{className:"listing-data-container"},o.createElement("div",{className:"filter-parent-container col m3 fcwidth"},o.createElement(f.default,{similarProduct:this?.state?.similarProduct,examCategoryArray:t?.data?.productCategoryExamData,facetsList:t?.data?.facetsList,showSearch:!1,filterHeading:(0,v.Ss)(O),currentItem:O,currentexamName:O,SuffixValue:d.Ej[N],courseType:O,productName:_,examCat:d.Ej[N],type:"examDetail",heading:"Related Products",getNewParamsforAllCategory:this.getNewParamsForAllCategory,selectedTags:l,getUtmFromStore:this.props.utmParam
1s})),o.createElement("div",{className:"col m9 fccontwidth"},i?o.createElement(o.Fragment,null,o.createElement($.default,null)):o.createElement(o.Fragment,null,l.length>0&&o.createElement("div",{className:"tag-container"},o.createElement(g.default,{tagArr:l,removeTag:this.removeTag}),o.createElement("div",{className:"clear-all",onClick:this.clearAllFilters},"Clear All")),t.data.packageEsEntity.length?o.createElement(o.Fragment,null,o.createElement(E.default,{offset:600,onBottom:()=>this.getPaginatedDataOnScroll(O)},o.createElement(y.default,{allCategoryData:t.data,packageCount:t.data.count,handleDetailCardClick:this.handleDetailCardClick,heading:d.Ej[N],sortBy:!0,handleSortBy:this.handleSortBy,sortByValue:this.state.sortBy,showLoader:this.state.showProductLoader,getUtmFromStore:this.props.utmParams,useTitle:`${t.data.count} ${d.Ej[N]} for ${(0,v.TH)(O.toUpperCase())}`,hideSortByFilter:!0,testPassQP:O?`?tpExam=${O}`:""})),a&&o.createElement("div",{style:{margin:"20px"}},o.createElement(w.default,{buttonSpinner:!0}))):o.createElement(A.default,{handleOnClick:this.clearAllFilters,allCategoryData:this.props.allTrendingData?.data?.hotSellingPackages,handleDetailCardClick:this.handleDetailCardClick}),t?.data?.packageEsEntity?.length?o.createElement("div",{className:"filter-sort-wrapper"},o.createElement("div",{className:"only-mobile sort-btn",onClick:this.handleSortButton},o.createElement("div",{className:"sort-btn-wrapper"},o.createElement("span",{className:"filter-sort-btn-icon"},o.createElement("img",{src:"/images/sort-bottom-icon.svg",alt:"sort",title:"sort"}),o.createElement("span",{className:"filter-name"},"Sort By")),o.createElement("span",{className:"filter-sort-btn-label"},o.createElement("span",{className:"filter-selected-category-wrapper"},T?o.createElement("span",{className:"filter-applied-dot"}):"",o.createElement("span",{className:"selected-filter-category"},p))))),(0,x.Qj)(this.props.examDetailListing?.data?.facetsList||this.state?.secondaryFacetsList,["languages","subjects","tags"])&&o.createElement("div",{className:"only-mobile filter-btn",onClick:this.handleFilterButton},o.createElement("div",{className:"filter-btn-wrapper"},o.createElement("span",{className:"filter-sort-btn-icon"},o.createElement("img",{src:"/images/filter-bottom-icon-new.svg",alt:"filter",title:"filter",width:"17",height:"18"}),o.createElement("span",{className:"filter-name"},"Filters")),o.createElement("span",{className:"filter-sort-btn-label"},o.createElement("span",{className:"filter-selected-category-wrapper"},P?o.createElement("span",{className:"filter-applied-dot"}):"",o.createElement("span",{className:"selected-filter-category"},c)))))):"",s&&o.createElement(h.default,{visible:s,onCancel:this.hideFilterOnMobile,onOk:this.onOk,facetsList:t?.data?.facetsList||this.state?.secondaryFacetsList,handleApply:this.handleFilterApply,facetsObject:Y,resetFilter:this.resetFilter,type:1,selectedTags:l,facetObj:r,variant:"examDetail"}),n&&o.createElement(u.default,{handleSortBy:this.handleSortBy,handleSortButton:this.handleSortButton,setSelectedSortCategory:this.setSelectedSortCategoryChange,selectedSortCategory:this.state.selectedSortCategory})))):o.createElement("div",{className:"listing-spinner-wrapper"},o.createElement(w.default,null))):o.createElement("div",{style:{marginTop:"80px",height:"9vh"}},o.createElement(m.default,null)),this.props?.seoData?.[k]?.bottomContent&&o.createElement("div",{className:"bottomContentContainer"},o.createElement("div",{className:"bottomContent",dangerouslySetInnerHTML:{__html:this.props?.seoData?.[k]?.bottomContent}})),this.props?.seoData?.[k]?.faqs?.length>=1&&(0,b.A)(this.props.seoData[k].faqs[0])&&o.createElement("div",{className:"faqcontainersearch"}," ",o.createElement(j.default,{faqJson:this.props.seoData[k].faqs})),t?.data?.productCategoryExamData?.length>1&&o.createElement("div",{className:"related-category-mobile"},o.createElement("div",{className:"title-seo"},"Related Products"),o.createElement(S.p,{data:t?.data?.productCategoryExamData,currentexamName:O,examCat:d.Ej[N]})),this.state?.similarProduct?.length>=1&&o.createElement("div",{className:"related-category-mobile"},o.createElement("div",{className:"title-seo"},"Important Exams Study Kits"),o.createElement(S.p,{data:this.state?.similarProduct?.slice(0,5),examCat:"",courseType:O,productName:_,isRelatedCategory:!0,SuffixValue:d.Ej[N]})))}}
1(0,s.A)(J,"propTypes",{getPaginatedDataForExamDetail:i().func,examDetailListing:i().object,clearExamDetailData:i().func,utmParams:i().object}),J.fetching=({dispatch:e,match:t,location:a})=>{if(a){const s={pageNo:0,examName:t?.params?.examName||"",type:"init",categoryFacet:(0,v.LM)(d.P[t?.params?.productType]),queryParam:a?.split("?")[1]?`&${a?.split("?")[1]}`:"",sortBy:"RELEVANCE",sponsoredCategory:3};return[e(T(s))]}};const X=(0,n.Ng)(e=>{const{examDetailListing:t}=e;let a=e.referrer||{},s=e.header.jwtToken,r=e.header.userInfo,i=e.req_url,o=e.seoData,l=e.isPaytmMini;const n=e.header.examList,c=e.header.allTrendingData,p=e?.header?.origin||"",d=e?.header?.globalExamList;return{examDetailListing:t,utmParams:a,userInfo:r,isLoggedIn:s,req_url:i,seoData:o,isPaytmMini:l,examList:n,allTrendingData:c,origin:p,globalExamList:d}},e=>({getPaginatedDataForExamDetail:t=>e(T(t)),clearExamDetailData:()=>e({type:P.A.CLEAR_EXAM_DETAIL_LISTING_DATA,meta:{response:!0,method:"LOCAL"}})}))(J)},42544(e,t,a){a.d(t,["A",0,{GET_EXAM_DETAIL_LISTING:"GET_EXAM_DETAIL_LISTING",GET_EXAM_DETAIL_LISTING_ON_SCROLL:"GET_EXAM_DETAIL_LISTING_ON_SCROLL",CLEAR_EXAM_DETAIL_LISTING_DATA:"CLEAR_EXAM_DETAIL_LISTING_DATA"}])}}]);
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.