PageSourceSearch

https://www.hotcoursesabroad.com/_next/static/chunks/pages/p/faq/[faqTitle]/[faqId]-3734e0f39e77bd3f.js

js hotcoursesabroad.com collected 2026-10-02 06:09:04 UTC 15,395 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[786],{9779:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/p/faq/[faqTitle]/[faqId]",function(){return i(3342)}])},6637:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(5893),l=i(7311),a=i(9008),o=i.n(a),r=i(7294);function s(e){let{title:t,metaTitle:i,metaDescription:a,metaKeywords:s,robots:d,canonicalLink:u,hreflangTags:v,schema:c,dynamicHrefLang:m,hrefPlaceHolder:p,affiliateId:g}=e,[f,h]=(0,r.useState)("");(0,r.useEffect)(()=>{h(window.location.href)},[]);let x=((e,t,i)=>{let n;let l=[],a=/hreflang="([^"]+)" href="([^"]+)"/gi;for(;null!==(n=a.exec(e));){let e=n[2];e=null==e?void 0:e.replace(t,i),l.push({hreflang:n[1],href:e})}return l})(v,p,m);return(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:t},"title"),"290408"===g&&(0,n.jsx)("script",{type:"text/javascript",src:"//cdn-4.convertexperiments.com/v1/js/10047580-100417932.js?environment=production"}),(0,n.jsx)("meta",{name:"title",content:i}),(0,n.jsx)("meta",{name:"description",content:a}),(0,n.jsx)("meta",{name:"keywords",content:s}),(0,n.jsx)("meta",{name:"robots",content:null!=d?d:"noindex, nofollow"}),(0,n.jsx)("link",{rel:"canonical",href:null!=u?u:f}),x.map(e=>(0,n.jsx)("link",{rel:"alternate",hrefLang:null==e?void 0:e.hreflang,href:null==e?void 0:e.href})),(0,n.jsx)("meta",{property:"og:image",content:"/images/og_image.png"}),(0,n.jsx)("meta",{property:"og:title",content:i}),(0,n.jsx)("meta",{property:"og:url",content:null!=u?u:f}),(0,n.jsx)("meta",{property:"og:description",content:a}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{property:"twitter:title",content:i}),(0,n.jsx)("meta",{property:"twitter:description",content:a}),(0,n.jsx)("meta",{property:"twitter:image",content:"/images/og_image.png"}),c&&(0,l.ZP)(c)]})}},3342:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return x},default:function(){return y}});var n=i(5893),l=i(1163),a=i(7294),o=i(4188),r=i(9384),s=i(5458),d=i(9682),u=i(5324),v=i(6637),c=i(1185),m=i(6498),p=i(2296),g=i(6347),f=i(8125),h=i(6402),x=!0;function y(e){var t,i,x,y,_,b,w,N,j,I,S,q,P,T,k,C,A,z,E,D,L,U,F,H,O,R,M,Z,Q,J,$;let{categoryData:B,referer:X,faqDetailResponse:G,siteName:K,faqDetailSeoResponse:V,locale:W,clientIP:Y,refererUrl:ee,customDomain:et,serverSideCanonicalUrl:ei,extractedPath:en,affiliateId:el,faqDetailApiResponse:ea}=e,eo=(0,l.useRouter)(),er=null==V?void 0:null===(i=V.hciDynamicPageCollection)||void 0===i?void 0:null===(t=i.items)||void 0===t?void 0:t[0],[es,ed]=(0,a.useState)(!1),[eu,ev]=(0,a.useState)(!1),ec=(0,f.o)(e=>e.subTopicName);(0,f.o)(e=>e.setSubTopicName);let[em,ep]=(0,a.useState)(!1),[eg,ef]=(0,a.useState)("");(0,a.useEffect)(()=>{ef((0,h.$R)(K,!!(0,p.ej)("user_uuid")))},[K]);let eh=null==ea?void 0:ea.find(e=>"promotional_banner"===e.contentTypeId),ex=ec?ec.trim().replace(/\s+/g,"-").toLowerCase()+".webp":"".concat(null==G?void 0:null===(b=G.sub_topic)||void 0===b?void 0:null===(_=b[0])||void 0===_?void 0:null===(y=_.subtopicTitle)||void 0===y?void 0:null===(x=y.trim())||void 0===x?void 0:x.replace(/\s+/g,"-").toLowerCase(),".webp"),ey="ga4_events";null==eo||null===(w=eo.asPath)||void 0===w||w.includes("/p/faq/");let e_="hc_india"===K?"/india/pt":"/pt",eb="hc_india"===K?"/india/p/community/":"/p/community/",ew="".concat(e_,"/").concat(encodeURIComponent(null===(j=ec||(null==G?void 0:null===(S=G.sub_topic)||void 0===S?void 0:null===(I=S[0])||void 0===I?void 0:I.subtopicTitle))||void 0===j?void 0:null===(N=j.trim())||void 0===N?void 0:N.replace(/\s+/g,"-")).toLowerCase(),"/"),eN=[{label:"Home",href:"".concat("hc_india"===K?"/india/":"/"),datatestId:"homepage"},{label:"Student Q&A",href:eb,datatestId:"p2pHomepage"},{label:ec||(null==G?void 0:null===(P=G.sub_topic)||void 0===P?void 0:null===(q=P[0])||void 0===q?void 0:q.subtopicTitle),href:ew,datatestId:"subtopic"},{label:null==G?void 0:G.question,datatestId:"faqQuestion"}];(0,a.useEffect)(()=>{if(!eu){var e,t,i,n,a,o,r,s,d,u,v,m,p;
1(0,c.O)({pageName:"Tap P2P Community FAQ detailed Page",sectionName:"Page Head",functionalityName:"Tap P2P Community ",actionType:"Engagement",eventType:"FAQViewed",siteName:(0,h.T5)(K),siteLanguage:h.co[W],userAgent:null===(e=navigator)||void 0===e?void 0:e.userAgent,screenResolution:null===(t=window)||void 0===t?void 0:t.innerWidth,userIPAddress:Y,refererURL:ee,requestURL:window.location.href,idpcInstitutionId:null==G?void 0:null===(i=G.university)||void 0===i?void 0:i.idpcInstitutionId,idpInstitutionId:null==G?void 0:null===(n=G.university)||void 0===n?void 0:n.idpInstitutionId,institutionName:null==G?void 0:null===(a=G.university)||void 0===a?void 0:a.displayName,institutionCountryName:null==G?void 0:null===(o=G.university)||void 0===o?void 0:o.countryName,faqQuestionId:null==G?void 0:G.questionId},l.Router,et),ev(!0),r={},(0,g.e)({event:"page_view",page_name:"tap_faq_question_detail",website_name:K,college_id:null!==(v=null==G?void 0:null===(s=G.university)||void 0===s?void 0:s.idpcInstitutionId)&&void 0!==v?v:"na",college_name:null!==(m=null==G?void 0:null===(d=G.university)||void 0===d?void 0:d.displayName)&&void 0!==m?m:"na",country:null!==(p=null==G?void 0:null===(u=G.university)||void 0===u?void 0:u.countryName)&&void 0!==p?p:"na",provider_type:"advertiser",...r})}},[]);let ej=(e,t,i)=>{var n,l,a,o,r,s;(0,g.e)({event:ey,event_name:"tap_faq_question_detail",page_name:"tap_faq_question_detail",data_label:e,data_label2:t,college_id:null!==(o=null==G?void 0:null===(n=G.university)||void 0===n?void 0:n.idpcInstitutionId)&&void 0!==o?o:"na",college_name:null!==(r=null==G?void 0:null===(l=G.university)||void 0===l?void 0:l.displayName)&&void 0!==r?r:"na",country:null!==(s=null==G?void 0:null===(a=G.university)||void 0===a?void 0:a.countryName)&&void 0!==s?s:"na",provider_type:"advertiser",website_name:K,...i})},eI=(e,t)=>{let i=new Date(e||t);return Math.floor(Math.floor(Math.floor(Math.floor((new Date().getTime()-i.getTime())/1e3)/60)/60)/24)},eS=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:String,t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;(0,g.e)({event:ey,event_name:"tap_faq_question_detail",page_name:"tap_faq_question_detail",data_label:"faq_click-visit_cta",data_label2:"na",college_id:e,college_name:t,country:i,provider_type:"advertiser",website_name:K,...""})};return(0,n.jsxs)("div",{className:"max-w-container mx-auto flex justify-between lg:mt-[24px] mb-[32px]",children:[(0,n.jsxs)("div",{className:"w-full lg:max-w-[804px] relative px-[20px] xl:px-[10px] xl2:px-0 max-sm:pt-[24px]",children:[(0,n.jsxs)("div",{className:"flex max-sm:flex-wrap justify-between pb-[24px] items-center",children:[(0,n.jsxs)("div",{className:"flex gap-[8px] items-center","data-testid":"p2p_faqdetail_back",children:[(0,n.jsx)(v.Z,{title:null==er?void 0:null===(k=er.defaultSeoFields)||void 0===k?void 0:null===(T=k.metaTitle)||void 0===T?void 0:T.replace("[faqtitle]",null!==(Q=null==G?void 0:G.question)&&void 0!==Q?Q:""),metaTitle:null==er?void 0:null===(A=er.defaultSeoFields)||void 0===A?void 0:null===(C=A.metaTitle)||void 0===C?void 0:C.replace("[faqtitle]",null!==(J=null==G?void 0:G.question)&&void 0!==J?J:""),metaDescription:null==er?void 0:null===(D=er.defaultSeoFields)||void 0===D?void 0:null===(E=D.metaDescription)||void 0===E?void 0:E.replace("[faqdescription]",null!==($=null==G?void 0:null===(z=G.answer)||void 0===z?void 0:z.slice(0,200))&&void 0!==$?$:""),metaKeywords:"",robots:null==er?void 0:null===(L=er.robots)||void 0===L?void 0:L.title,canonicalLink:ei,hreflangTags:null==er?void 0:null===(U=er.hrefLang)||void 0===U?void 0:U.tags,schema:(null==er?void 0:null===(F=er.customSchemaMarkupScript)||void 0===F?void 0:F.customSchemaMarkup)||"",dynamicHrefLang:en,hrefPlaceHolder:"[faqdetail]",affiliateId:el}),(0,n.jsx)(o.Z,{crumbs:eN,textColor:"text-primary400",lastBreadCrumbs:!0})]}),(0,n.jsx)("div",{className:"ml-auto mt-[12px] ar_mr_auto",children:(0,n.jsxs)("button",{className:"btn btn--transparent lg:hidden cursor-pointer font-[400]",onClick:()=>{ej("right_nav_categories_click-expand","",""),ed(!es)},children:["Categories",(0,n.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M5 7L10 12L15 7",stroke:"#4664DC","stroke-width":"1.67","stroke-linecap":"round","stroke-linejoin":"round"})})]})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-[8px] pb-[24px]",children:[(0,n.jsx)(u.Z,{width:64,height:64,objectFit:"contain",alt:"destination_logo",src:h.M4.includes(ex)?"/images/".concat(ex):"/images/topic_fallback.webp",className:"w-[40px] h-[40p
1x]"}),(0,n.jsx)("span",{className:"text-grey600 font-normal text-small",children:ec||(null==G?void 0:null===(O=G.sub_topic)||void 0===O?void 0:null===(H=O[0])||void 0===H?void 0:H.subtopicTitle)})]}),(0,n.jsx)("h1",{className:"h5 text-grey600 pb-[24px] font-[700] dir_ltr text_ar_right",children:null==G?void 0:G.question}),(0,n.jsx)("p",{className:"text-grey600 font-semibold text-para-lg pb-[16px]",children:((null==G?void 0:null===(R=G.ambassador)||void 0===R?void 0:R.length)||0)+" "+((null==G?void 0:null===(M=G.ambassador)||void 0===M?void 0:M.length)===1?"Answer":"Answers")}),Array.isArray(null==G?void 0:G.ambassador)&&(null==G?void 0:G.ambassador.map(function(e,t){var i,l,a,o;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Z,{AmbassadorName:(null==e?void 0:e.firstName)?"".concat(null==e?void 0:e.firstName," ").concat((null==e?void 0:e.lastName)&&(null==e?void 0:e.lastName)!=="null"?null==e?void 0:e.lastName:"").trim():"",AmbassadorImage:null==e?void 0:e.image.media.url,UniversityName:null==e?void 0:e.institution,TimePosted:(null==e?void 0:e.updatedAt)&&eI(null==e?void 0:e.updatedAt,null==e?void 0:e.updatedAt)+" days ago",FaqDetailContent:e,variation1:!0,postType:"",clickstreamData:void 0,profileUrl:(0,m.yf)((null==e?void 0:null===(i=e.university)||void 0===i?void 0:i.countryName)||"",K||"",(null==e?void 0:null===(l=e.university)||void 0===l?void 0:l.institutionName)||"",(null==e?void 0:null===(a=e.university)||void 0===a?void 0:a.idpcInstitutionId)||""),fromPage:"tap_faq_question_detail",siteName:K,handleGaonClick:eS,UniversityLogo:null==e?void 0:null===(o=e.university)||void 0===o?void 0:o.institutionLogo,variationFaq:!1}),0==t&&eh&&(0,n.jsx)("div",{"data-testid":"p2p-community-banner",className:"max-sm:w-full max-sm:flex mb-[20px] mt-[20px] sm:mt-[16px]",children:(0,n.jsx)(r.Z,{item:eh,affiliateId:el,siteName:K,locale:W,clientIP:Y,customDomain:et,refererUrl:ee,promotionalUrl:eg})})]})})),!(null==G?void 0:null===(Z=G.ambassador)||void 0===Z?void 0:Z.length)&&eh&&(0,n.jsx)("div",{"data-testid":"p2p-community-banner",className:"max-sm:w-full max-sm:flex mb-[20px] mt-[20px] sm:mt-[16px]",children:(0,n.jsx)(r.Z,{item:eh,affiliateId:el,siteName:K,locale:W,clientIP:Y,customDomain:et,refererUrl:ee,promotionalUrl:eg})})]}),B&&(0,n.jsx)("div",{className:"fixed lg:static z-[99] lg:z-[unset] lg:translate-none lg:bottom-auto bottom-0 w-full  lg:max-w-[289px] lg:ps-[10px] bg-white  transition-transform duration-500 ease-in-out max-lg:h-[100dvh]     \n                ".concat(es?"translate-y-0 ":"translate-y-full "," lg:translate-y-0 pt-[16px] pb-[32px] lg:pt-0 lg:pb-0"),children:(0,n.jsx)(s.R,{showMobileCategories:es,setshowMobileCategories:ed,categoryData:null==B?void 0:B.topics_subtopics,fromPage:"tap_faq_question_detail",siteName:K,locale:W,refererUrl:ee,customDomain:et,clientIP:Y,clickStreamPageName:"Tap P2P Community FAQ detailed Page"})})]})}},782:function(e,t,i){"use strict";i.d(t,{tJ:function(){return o}});let n=e=>t=>{try{let i=e(t);if(i instanceof Promise)return i;return{then:e=>n(e)(i),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},l=(e,t)=>(i,l,a)=>{let o,r,s={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},d=!1,u=new Set,v=new Set;try{o=s.getStorage()}catch(e){}if(!o)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),i(...e)},l,a);let c=n(s.serialize),m=()=>{let e;let t=c({state:s.partialize({...l()}),version:s.version}).then(e=>o.setItem(s.name,e)).catch(t=>{e=t});if(e)throw e;return t},p=a.setState;a.setState=(e,t)=>{p(e,t),m()};let g=e((...e)=>{i(...e),m()},l,a),f=()=>{var e;if(!o)return;d=!1,u.forEach(e=>e(l()));let t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,l()))||void 0;return n(o.getItem.bind(o))(s.name).then(e=>{if(e)return s.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===s.version)return e.state;if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return i(r=s.merge(e,null!=(t=l())?t:g),!0),m()}).then(()=>
1{null==t||t(r,void 0),d=!0,v.forEach(e=>e(r))}).catch(e=>{null==t||t(void 0,e)})};return a.persist={setOptions:e=>{s={...s,...e},e.getStorage&&(o=e.getStorage())},clearStorage:()=>{null==o||o.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>f(),hasHydrated:()=>d,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(v.add(e),()=>{v.delete(e)})},f(),r||g},a=(e,t)=>(i,l,a)=>{let o,r={storage:function(e,t){let i;try{i=e()}catch(e){return}return{getItem:e=>{var t;let n=e=>null===e?null:JSON.parse(e,void 0),l=null!=(t=i.getItem(e))?t:null;return l instanceof Promise?l.then(n):n(l)},setItem:(e,t)=>i.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>i.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,d=new Set,u=new Set,v=r.storage;if(!v)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${r.name}', the given storage is currently unavailable.`),i(...e)},l,a);let c=()=>{let e=r.partialize({...l()});return v.setItem(r.name,{state:e,version:r.version})},m=a.setState;a.setState=(e,t)=>{m(e,t),c()};let p=e((...e)=>{i(...e),c()},l,a);a.getInitialState=()=>p;let g=()=>{var e,t;if(!v)return;s=!1,d.forEach(e=>{var t;return e(null!=(t=l())?t:p)});let a=(null==(t=r.onRehydrateStorage)?void 0:t.call(r,null!=(e=l())?e:p))||void 0;return n(v.getItem.bind(v))(r.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===r.version)return[!1,e.state];if(r.migrate)return[!0,r.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[n,a]=e;if(i(o=r.merge(a,null!=(t=l())?t:p),!0),n)return c()}).then(()=>{null==a||a(o,void 0),o=l(),s=!0,u.forEach(e=>e(o))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{r={...r,...e},e.storage&&(v=e.storage)},clearStorage:()=>{null==v||v.removeItem(r.name)},getOptions:()=>r,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},r.skipHydration||g(),o||p},o=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),l(e,t)):a(e,t)}},function(e){e.O(0,[388,384,532,888,774,179],function(){return e(e.s=9779)}),_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.