1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9475],{74587:function(e,n,t){var r=t(87508),a=t(29645),i=t(48228);n.Z=e=>{let{resource:n="user_taas",onSuccess:t}=e,{isLoading:s,mutateAsync:o}=(0,i.D)({mutationKey:["user_taas"],mutationFn:async e=>{let t=await r.nhost.graphql.request((0,a.OV)(n),e);return null==t?void 0:t.data},onSuccess:t});return{isLoading:s,mutateAsync:o}}},43776:function(e,n,t){var r=t(87508),a=t(53477),i=t(36492);n.Z=e=>{let{user_id:n,onSuccess:t}=e,{isLoading:s,data:o,refetch:l}=(0,i.a)({queryKey:["questions"],queryFn:async()=>{var e;let t=await r.nhost.graphql.request(a.TC,{user_id:n,where:{}});if(t.error)throw Error(t.error.message);return(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.centa_taas_questions)||[]},onSuccess:t});return{data:o,isLoading:s,refetch:l}}},70397:function(e,n,t){var r=t(87508),a=t(29645),i=t(48228);n.Z=e=>{let{onSuccess:n}=e,{isLoading:t,mutateAsync:s}=(0,i.D)({mutationKey:["update_user_taas"],mutationFn:async e=>{let n=await r.nhost.graphql.request(a.fr,e);if(n.error)throw Error(n.error.message);return n.data},onSuccess:n});return{isLoading:t,mutateAsync:s}}},19475:function(e,n,t){t.d(n,{Dg:function(){return u},EM:function(){return l},MA:function(){return i},Qy:function(){return o},ub:function(){return s},vK:function(){return a}});var r=t(15054);t(27484);let a=["Anantapur","Chittoor","East Godavari","Alluri Sitarama Raju","Anakapalli","Annamaya","Bapatla","Eluru","Guntur","Kadapa","Kakinada","Konaseema","Krishna","Kurnool","Manyam","N T Rama Rao","Nandyal","Nellore","Palnadu","Prakasam","Sri Balaji","Sri Satya Sai","Srikakulam","Visakhapatnam","Vizianagaram","West Godavari"];r.y.profileTeacherUpload,r.y.profilePocSetup,r.y.profileJobPosting,r.y.profilefavourites,r.y.bookmarkjobs,r.y.myjobs,r.y.registrations,r.y.profilemylearning,r.y.mybadges,r.y.purchasehistory;let i=[{name:"John Doe",email:"[email protected]"}],s=[{name:"John Doe",email:"[email protected]",subject_track:"Primary Math"}],o=[{value:"learning_product_tier_1",label:"courses starting at INR 399",new_label:"courses priced at INR 399 (around 4 hours each)"},{value:"learning_product_tier_10",label:"courses starting at INR 39,500",new_label:"courses priced at INR 39,500 (4-6 week long)"},{value:"learning_product_tier_11",label:"courses starting at INR 9,500",new_label:"courses priced at INR 9,500 (around 4-5 sessions)"},{value:"learning_product_tier_12",label:"courses starting at INR 1299",new_label:"courses priced at INR 1299 (around 6 hours each)"},{value:"learning_product_tier_13",label:"courses starting at INR 1499",new_label:"courses priced at INR 1499 (around 8 hours each)"},{value:"learning_product_tier_2",label:"courses starting at INR 499",new_label:"courses priced at INR 499 (around 2-3 hours each)"},{value:"learning_product_tier_3",label:"courses starting at INR 599",new_label:"courses priced at INR 599 (around 5-6 hours each)"},{value:"learning_product_tier_4",label:"courses starting at INR 699",new_label:"courses priced at INR 699 (around 5-6 hours each)"},{value:"learning_product_tier_5",label:"courses starting at INR 899",new_label:"courses priced at INR 899 (around 5-6 hours each)"},{value:"learning_product_tier_6",label:"courses starting at INR 999",new_label:"courses priced at INR 999 (around 5-6 hours each)"},{value:"learning_product_tier_7",label:"courses starting at INR 5,900",new_label:"courses priced at INR 5,900 (around 4-5 sessions)"},{value:"learning_product_tier_8",label:"courses starting at INR 29,500",new_label:"courses priced at INR 29,500 (4-6 week long)"},{value:"learning_product_tier_9",label:"courses starting at INR 8,800",new_label:"courses priced at INR 8,800 (around 4-5 sessions)"}],l=[2,3,4,5,6,7,8,9,10,11,12].map(e=>({label:e,value:e})),u=[2,3,4,5,6,7,8,9,10,11,12].map(e=>({grade:e,subject:e>=2&&e<=8?["English","Hindi","Maths","SS","Science"]:9===e||10===e?["English","Hindi","Maths","Science","SS"]:["English","Hindi","Maths","Physics","Chemistry","Biology","Accountancy","Economics","Busi_Stu","Pol_Sci","Geography","History"]}))},38599:function(e,n,t){var r=t(85893),a=t(67294),i=t(4963),s=t(27378),o=t(96506);n.Z=e=>{let{value:n,onChange:t,label:l,name:u,errors:c,options:_=[],isMulti:d=!1,disabled:p=!1,placeholder:m=""}=e,[b,g]=(0,a.useState)(d?[]:null),[h,f]=(0,a.useState)(""),[w,y]=(0,a.useState)(_),[v,j]=(0,a.useState)(!1);(0,a.useEffect)(()=>{g(d?Array.isArray(n)?n:[]:n||null)},[n,d]);let handleNewOptionChange=e=>{f(e)},handleAddOption=()=>
1{if(h.trim()){let e={label:h,value:h.toLowerCase().replace(/\s+/g,"_")},n=w.findIndex(e=>"Other Languages"===e.value||"Other (Please specify)"===e.value),r=-1!==n?[...w.slice(0,n),e,...w.slice(n)]:[...w,e];y(r);let a=d?[...b,e.value]:e.value;g(a),t(a),f(""),j(!1)}};return(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:u,className:"min-[1366px]:block font-bold text-sm text-[#646769] mb-2",children:l}),(0,r.jsx)(o.Z,{className:"w-full",data:w,value:b,countable:!1,onChange:e=>{let n=d?Array.isArray(e)?e:[]:e||null;d&&n.some(e=>"Other Languages"===e||"Other (Please specify)"===e)?(j(!0),e=n.filter(e=>"Other Languages"!==e&&"Other (Please specify)"!==e)):j(!1),g(e),t(e)},searchable:!1,renderExtraFooter:v?()=>(0,r.jsxs)("div",{className:"flex flex-row p-2 justify-between",children:[(0,r.jsx)(i.Z,{value:h,onChange:handleNewOptionChange,placeholder:"Add new option...",style:{width:"70%"}}),(0,r.jsx)(s.Z,{onClick:handleAddOption,appearance:"primary",children:"Add"})]}):null,disabled:p,placeholder:m,style:{borderColor:c?"red":void 0}}),c&&(0,r.jsx)("p",{className:"text-[#E63B35] text-xs mt-1 flex justify-start",children:null==c?void 0:c.message})]})}},8617:function(e,n,t){var r=t(85893),a=t(67294),i=t(67234);n.Z=e=>{let{value:n,onChange:t,label:s,name:o,errors:l,options:u=[],disabled:c=!1,placeholder:_=""}=e,[d,p]=(0,a.useState)(null);return(0,a.useEffect)(()=>{p(n)},[n]),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:o,className:"min-[1366px]:block font-bold text-sm text-[#646769] mb-2",children:s}),(0,r.jsx)(i.Z,{className:"w-full",data:u,value:d,countable:!1,onChange:e=>{p(e),t(e)},searchable:!1,disabled:c,placeholder:_,style:{borderColor:l?"red":void 0}}),l&&(0,r.jsx)("p",{className:"text-[#E63B35] text-xs mt-1 flex justify-start",children:null==l?void 0:l.message})]})}},22040:function(e,n,t){var r=t(85893);t(67294);var a=t(87536),i=t(11163),s=t(38599),o=t(8617),l=t(74587),u=t(43776),c=t(70397),_=t(91444),d=t(35203),p=t(27378);n.Z=()=>{let{control:e,formState:n,register:t,handleSubmit:m}=(0,a.cI)(),b=(0,i.useRouter)(),g=(0,d.II)(),{data:h}=(0,u.Z)({user_id:g});console.log(h,"q");let{errors:f}=n,{mutateAsync:w,isLoading:y}=(0,l.Z)({resource:"user_taas"}),{mutateAsync:v,isLoading:j}=(0,c.Z)({resource:"user_taas"}),onSubmit=async e=>{try{let n=Object.keys(e).reduce((n,t)=>{var r,a,i;let s=null===(i=h.find(e=>e.id===t))||void 0===i?void 0:null===(a=i.user_answer)||void 0===a?void 0:null===(r=a[0])||void 0===r?void 0:r.selected_value;return e[t]===s||Array.isArray(e[t])&&0===e[t].length||(n[t]=e[t]),n},{});if(0===Object.keys(n).length){_.Am.info("No changes detected",{position:"top-right",autoClose:2e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!1,theme:"light"});return}let t=Object.keys(n).map(e=>{var t,r;let a=null===(r=h.find(n=>n.id===e))||void 0===r?void 0:null===(t=r.user_answer)||void 0===t?void 0:t[0];return a?{id:a.id,object:{user_id:g,question_id:e,selected_value:n[e]}}:{user_id:g,question_id:e,selected_value:n[e]}}),r=t.map(e=>e.id?v(e):w({objects:[e]}));await Promise.all(r),_.Am.success("Details updated successfully!",{position:"top-right",autoClose:2e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!1,theme:"light"}),b.push("/profile")}catch(e){console.error("Error submitting form",e),_.Am.error("Error submitting form",{position:"top-right",autoClose:2e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!1,theme:"light"})}};return(0,r.jsxs)("div",{className:"container mx-auto p-4 min-[640px]:p-6 min-[1366px]:p-8",children:[(0,r.jsx)("h1",{className:"text-xl font-semibold text-[#3db0e4] mb-4 min-[640px]:mb-5",children:"Help us understand you better!"}),(0,r.jsxs)("form",{onSubmit:m(onSubmit),children:[(0,r.jsx)("div",{className:"grid grid-cols-1 gap-6 min-[640px]:grid-cols-2 min-[1366px]:grid-cols-2 px-2",children:h&&h.map(n=>{var i,l,u;let c=null===(l=n.user_answer)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.selected_value;switch(n.question_type){case"multi_select":return(0,r.jsx)(a.Qr,{control:e,name:n.id,defaultValue:c||[],render:e=>{let{field:t}=e;return(0,r.jsx)(s.Z,{name:n.id,label:n.question_title,value:t.value,onChange:t.onChange,errors:null==f?void 0:f[n.id],options:n.options.map(e=>({label:e,value:e})),isMulti:!0,placeholder:"Select "})}},n.id);case"multiple_choice":return(0,r.jsx)(a.Qr,{control:e,name:n.id,defaultValue:c||"",render:e=>{let{field:t}=e;return(0,r.jsx)(o.Z,{name:n.id,label:n.question_title,value:t.value,onChange:t.onChange,errors:null==f?void 0:f[n.id],options:n.options.map(e=>({label:e,value:e})),placeholder:"Select "})}},n.id);case"free_text":return(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:n.id,className:"min-[1366px]:block font-bold text-sm text-[#646769] mb-2",children:n.question_title}),(0,r.jsx)("div",{className:"flex border focus:ring-blue-400 focus:ring-2 roun
1ded-[4px] items-center justify-between ".concat((null==f?void 0:f[n.id])?"border border-red":"border border-[#9A9AB0]"),children:(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("input",{name:n.id,type:"text",id:n.id,className:"w-full rounded-[4px] bg-white placeholder:text-[#7E8CA0] text-sm text-[#242B42] font-medium py-2 px-3 focus:outline-none",placeholder:"Enter ".concat(n.question_title.toLowerCase()),...t(n.id),defaultValue:c||""})})}),(null==f?void 0:f[n.id])&&(0,r.jsx)("p",{className:"text-[#E63B35] text-xs mt-1 flex justify-start",children:null==f?void 0:null===(u=f[n.id])||void 0===u?void 0:u.message})]},n.id);default:return null}})}),(0,r.jsxs)("div",{className:"flex flex-col min-[640px]:flex-row justify-end gap-4 mt-6",children:[(0,r.jsx)(p.Z,{onClick:()=>window.history.back(),appearance:"subtle",className:"w-full min-[640px]:w-auto",children:"Cancel"}),(0,r.jsx)(p.Z,{type:"submit",appearance:"primary",style:{backgroundColor:"#3db0e4"},disabled:y||j,className:"w-full min-[640px]:w-auto",children:"Save"})]})]})]})}},15054:function(e,n,t){t.d(n,{y:function(){return r}}),t(22040);let r={home:"/",login:"/login",phonelogin:"/phonelogin",signup:"/signup",courses:"/learning",recommendation:"/learning/recommendation",quiz:"/quiz",cart:"/cart",jobs:"/jobs",community:"/community?type=explore",mypost:"/community/my-post",savedpost:"/community/saved-post",pinnedpost:"/community/pinned",profileedit:"/profile",profilefavourites:"/profile/favourites",profilemylearning:"/profile/my-learning",dailyLearningSeries:"/profile/daily-learning-series",dailyLearningSeriesLearning:"/profile/daily-learning-series",purchasehistory:"/profile/purchase-history",registrations:"/profile/registration",bookmarkjobs:"/profile/bookmarks",myjobs:"/profile/my-jobs",tporegistrations:"/profile/tpo-registrations",mybadges:"/profile/my-badges",profileTeacherUpload:"/profile/teacher-upload",profilePocSetup:"/profile/poc-setup",profileJobPosting:"/profile/job-posting",profileTQLicense:"/profile/purchase/tq-license",profileSPCVoucher:"/profile/purchase/spc-voucher",profiledashboard:"/profile/dashboard",profileGtmRegisters:"/profile/gtm-registers",ProfileOpportunities:"/taas-collection",questionofday:"/question-of-day",centaplus:"/centa-plus",gtm:"/gtm",rotaryClub:"/rotary-club"}},53477:function(e,n,t){t.d(n,{EV:function(){return o},Ez:function(){return u},Fc:function(){return g},Hl:function(){return _},TC:function(){return m},UG:function(){return c},eT:function(){return p},iY:function(){return s},lX:function(){return l},mU:function(){return b},r6:function(){return i},so:function(){return d}});var r=t(82729),a=t(41791);function _templateObject(){let e=(0,r._)(["\n query getCourse($where: webinars_bool_exp) {\n course: webinars(where: $where) {\n id\n slug\n slugtitle\n seo_title\n seo_description\n course_type\n skill_level\n price_type\n price\n thumbnail\n duration\n image_cover\n is_dls\n start_date\n certificate\n session_start_time\n session_end_time\n old_webinar_id\n temp_instructor_name\n temp_instructor_image\n video_demo\n preview_video_thumbnail\n webinar_translations {\n id\n description\n seo_description\n }\n webinars_course_learns {\n id\n description\n }\n tags {\n title\n }\n support\n faqs {\n id\n faq_translations {\n id\n faq_id\n title\n answer\n }\n }\n tags {\n id\n title\n }\n course_purchases: purchases_aggregate {\n aggregate {\n count\n }\n }\n chapters {\n id\n product_id\n chapter_no\n title\n description\n created_at\n lessons {\n id\n chapter_id\n title\n description\n lesson_url\n active\n lesson_no\n }\n }\n reviews: webinar_reviews {\n id\n description\n rate\n created_at\n creator {\n displayName\n }\n }\n instructor {\n displayName\n avatarUrl\n }\n }\n }\n"]);
1return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n query getAllCourses($limit: Int, $offset: Int, $order_by: [webinars_order_by], $where: webinars_bool_exp) {\n courses: webinars(limit: $limit, offset: $offset, order_by: $order_by, where: $where) {\n id\n active\n thumbnail\n image_cover\n price\n organization_price\n course_type\n webinars_enum_course_type {\n label\n }\n seo_description\n skill_level\n teacher_id\n category_id\n category {\n slug\n }\n path\n upload_type\n slug\n slugtitle\n reviews: webinar_reviews {\n id\n rate\n }\n instructor {\n id\n displayName\n }\n }\n filter_aggre: webinars_aggregate(limit: $limit, offset: $offset, where: $where) {\n aggregate {\n count\n }\n }\n course_aggre: webinars_aggregate {\n aggregate {\n count\n }\n }\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n query searchCourses($limit: Int, $where: webinars_bool_exp) {\n courses: webinars(limit: $limit, where: $where) {\n id\n slug\n slugtitle\n course_type\n active\n }\n }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n query getRelatedCourse($where: webinars_bool_exp) {\n courses: webinars(where: $where) {\n id\n slug\n skill_level\n teacher_id\n price\n category_id\n tags {\n id\n title\n }\n }\n }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n query getUserFavorites($where: favorites_bool_exp) {\n favorites(where: $where) {\n id\n user_id\n webinar_id\n webinar {\n slugtitle\n slug\n price\n thumbnail\n image_cover\n course_type\n webinar_reviews {\n id\n webinar_id\n rate\n }\n temp_instructor_name\n temp_instructor_image\n instructor {\n avatarUrl\n displayName\n }\n }\n }\n }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n query getUserCourses($where: purchases_bool_exp) {\n purchases(where: $where) {\n id\n webinar_id\n course: webinar {\n id\n slug\n thumbnail\n teacher_id\n slugtitle\n }\n }\n }\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n query getUserprofiles($where: profiles_bool_exp) {\n profiles(where: $where) {\n id\n user_id\n full_name\n email\n aadhar_no\n mobile\n dob\n gender\n about\n address\n postcode\n city\n state\n country\n career_data\n education_data\n experience_data\n resume_id\n resume\n job_opportunities\n user: userDetailsById {\n avatarUrl\n }\n }\n }\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n query getOrderConfirmUser($where: payments_bool_exp) {\n payments(where: $where) {\n id\n pg_payment_request_id\n order_id\n order {\n id\n amount\n order_items {\n id\n order_id\n webinar_id\n webinar {\n id\n slug\n price\n thumbnail\n instructor {\n displayName\n }\n }\n }\n }\n created_at\n payment_type\n }\n }\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n query getUpcomingCourse($where: webinars_bool_exp) {\n webinars(where: $where) {\n id\n slug\n thumbnail\n price\n start_date\n course_type\n }\n }\n"]);
1return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,r._)(["\n query getOrders($where: orders_bool_exp) {\n orders(where: $where) {\n id\n uid\n order_items {\n webinar {\n id\n slug\n thumbnail\n instructor_id\n instructor {\n displayName\n }\n reivews: webinar_reviews {\n rate\n }\n }\n }\n webinar {\n id\n slug\n thumbnail\n instructor_id\n instructor {\n displayName\n }\n reivews: webinar_reviews {\n rate\n }\n }\n amount\n tax\n total_amount\n total_discount\n order_status\n created_at\n active\n }\n }\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,r._)(["\n query getRegistrationSlug($where: webinars_bool_exp) {\n webinars(where: $where) {\n id\n active\n slug\n thumbnail\n capacity\n course_type\n description\n seo_description\n skill_level\n price_type\n price\n start_date\n session_link_type\n session_link\n session_start_time\n session_end_time\n register_count: webinar_session_registers_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n"]);return _templateObject10=function(){return e},e}function _templateObject11(){let e=(0,r._)(["\n query getUpcomingRegistration($where: webinar_session_registers_bool_exp) {\n registrations: webinar_session_registers(where: $where) {\n active\n id\n status\n webinar {\n id\n slug\n slugtitle\n thumbnail\n course_type\n price\n teacher_id\n start_date\n session_start_time\n session_end_time\n session_link\n webinars_enum_course_type {\n label\n }\n }\n orders {\n id\n amount\n tax\n total_discount\n total_amount\n created_at\n }\n }\n }\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,r._)(["\n query getPendinRegistration($where: webinar_session_registers_bool_exp) {\n registrations: webinar_session_registers(where: $where) {\n id\n webinar {\n id\n slug\n slugtitle\n webinars_enum_course_type {\n label\n }\n start_date\n price\n thumbnail\n session_start_time\n session_end_time\n }\n reg_user_id\n test_date\n name\n email\n test_date\n test_track\n dob\n }\n }\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,r._)(["\n query getDiscounts($where: discounts_bool_exp) {\n discounts(where: $where) {\n id\n active\n code\n amount\n is_percentage\n percent\n for_first_purchase\n minimum_order\n }\n }\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,r._)(["\n query getUserLearning($where: user_course_learning_bool_exp) {\n learning: user_course_learning(where: $where) {\n id\n active\n webinar_id\n lesson_ids\n webinar {\n slug\n description: webinar_translations {\n description\n }\n course_learns: webinars_course_learns {\n id\n description\n }\n chapters {\n id\n product_id\n chapter_no\n title\n description\n created_at\n lessons {\n id\n chapter_id\n title\n description\n lesson_url\n active\n lesson_type\n content {\n id\n lesson_id\n type\n image_url\n image_type\n video_url\n video_type\n youtube_url\n title\n description\n }\n }\n }\n files_aggregate {\n aggregate {\n count\n }\n }\n reviews: webinar_reviews {\n id\n description\n rate\n created_at\n creator {\n displayName\n }\n }\n }\n }\n }\n"]);
1return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,r._)(["\n query getJobPostingdetails($where: job_postings_bool_exp) {\n job_postings(where: $where) {\n id\n active\n name\n ctc\n created_at\n experience\n job_description\n no_of_openings\n apply_by\n job_type\n enum_job_type {\n label\n }\n job_level\n enum_job_level {\n label\n }\n is_recruiting\n qualification\n organization_unit_id\n organization_id\n organization_unit {\n name\n photo_url\n }\n organization {\n name\n description\n photo_url\n }\n slug\n }\n }\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,r._)(["\n query getAllJobPostings($where: job_postings_bool_exp) {\n job_postings(where: $where) {\n id\n active\n name\n organization_unit {\n name\n }\n organization {\n description\n }\n ctc\n job_type\n job_level\n slug\n }\n }\n"]);return _templateObject16=function(){return e},e}function _templateObject17(){let e=(0,r._)(["\n query getBookmarJobs($where: bookmark_jobs_bool_exp) {\n bookmark_jobs(where: $where) {\n id\n user_id\n job_posting_id\n job_posting {\n name\n ctc\n organization {\n name\n photo_url\n description\n }\n organization_unit {\n name\n }\n slug\n }\n }\n }\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,r._)(["\n query getAppliedJobs($where: my_jobs_bool_exp) {\n my_jobs(where: $where) {\n id\n active\n status\n created_at\n job_posting_id\n job_posting {\n name\n ctc\n experience\n slug\n }\n organization {\n name\n photo_url\n }\n organization {\n name\n }\n }\n }\n"]);return _templateObject18=function(){return e},e}function _templateObject19(){let e=(0,r._)(["\n query getUserRegistrations($where: webinar_session_registers_bool_exp) {\n registers: webinar_session_registers(where: $where) {\n id\n webinar_id\n reg_user_id\n status\n type\n }\n }\n"]);return _templateObject19=function(){return e},e}function _templateObject20(){let e=(0,r._)(["\n query getUserDetails($where: profiles_bool_exp) {\n profiles(where: $where) {\n id\n user_id\n full_name\n mobile\n email\n dob\n gender\n aadhar_no\n resume\n points\n userDetailsById {\n displayName\n avatarUrl\n email\n phoneNumber\n defaultRole\n }\n career_data\n education_data\n }\n }\n"]);return _templateObject20=function(){return e},e}function _templateObject21(){let e=(0,r._)(["\n query getUserLearning($where: user_course_learning_bool_exp, $limit: Int, $offset: Int) {\n learning: user_course_learning(where: $where, order_by: { created_at: desc }, limit: $limit, offset: $offset) {\n id\n active\n webinar_id\n lesson_ids\n user_course_learning_orders {\n active\n order_status\n id\n }\n webinar {\n id\n active\n slug\n slugtitle\n course_type\n video_demo\n description\n thumbnail\n webinar_translations {\n description\n }\n category {\n slug\n }\n tags {\n title\n }\n webinar_reviews_aggregate {\n aggregate {\n count\n avg {\n rate\n }\n }\n }\n webinar_reviews {\n rate\n description\n created_at\n creator {\n avatarUrl\n displayName\n }\n }\n category {\n id\n slug\n }\n course_identifier\n price_type\n price\n start_date\n support\n course_learn: webinars_course_learns {\n active\n description\n }\n faqs {\n id\n faq_translations {\n title\n answer\n }\n }\n chapters {\n id\n product_id\n chapter_no\n title\n description\n created_at\n lessons {\n id\n chapter_id\n title\n lesson_type\n description\n lesson_url\n active\n content {\n id\n lesson_id\n type\n image_url\n image_type\n video_url\n video_type\n youtube_url\n title\n description\n }\n }\n }\n }\n }\n user_course_learning_aggregate(where: $where) {\n aggregate {\n count\n }\n }\n }\n"]);
1return _templateObject21=function(){return e},e}function _templateObject22(){let e=(0,r._)(["\n query getUserCompletedLessons($where: user_completed_lessons_bool_exp) {\n user_completed_lessons(where: $where) {\n id\n lesson_id\n user_learning_id\n }\n }\n"]);return _templateObject22=function(){return e},e}function _templateObject23(){let e=(0,r._)(["\n query getCentaPointsValue($where: enum_centa_points_bool_exp) {\n enum_centa_points(where: $where) {\n comment\n value\n points\n }\n }\n"]);return _templateObject23=function(){return e},e}function _templateObject24(){let e=(0,r._)(["\n query getSurveyQuestion($where: centa_taas_questions_bool_exp, $user_id: uuid) {\n centa_taas_questions(where: $where, order_by: { created_at: asc }) {\n id\n question_title\n options\n question_type\n user_answer: user_taas(where: { user_id: { _eq: $user_id } }) {\n id\n selected_value\n }\n }\n }\n"]);return _templateObject24=function(){return e},e}function _templateObject25(){let e=(0,r._)(["\n query getWebinarCentaStandardTags($where: webinar_centa_standard_tags_bool_exp) {\n webinar_centa_standard_tags(where: $where) {\n id\n centa_standard_tag_id\n }\n }\n"]);return _templateObject25=function(){return e},e}function _templateObject26(){let e=(0,r._)(["\n query getCentaStandardTagsByIds($where: centa_standard_tags_bool_exp) {\n centa_standard_tags(where: $where) {\n id\n tags\n }\n }\n"]);return _templateObject26=function(){return e},e}(0,a.Ps)(_templateObject()),(0,a.Ps)(_templateObject1()),(0,a.Ps)(_templateObject2()),(0,a.Ps)(_templateObject3()),(0,a.Ps)(_templateObject4()),(0,a.Ps)(_templateObject5());let i=(0,a.Ps)(_templateObject6()),s=(0,a.Ps)(_templateObject7());(0,a.Ps)(_templateObject8());let o=(0,a.Ps)(_templateObject9());(0,a.Ps)(_templateObject10()),(0,a.Ps)(_templateObject11()),(0,a.Ps)(_templateObject12()),(0,a.Ps)(_templateObject13());let l='\nquery getUserRoles {\n authRoles(where:{_or:[{role: {_eq: "teacher"}},{role: {_eq: "parent"}},{role: {_eq: "school_org_leader"}},{role: {_eq: "school_org_branch"}},{role: {_eq: "group_org_leader"}}]}) {\n role\n }\n }\n';(0,a.Ps)(_templateObject14()),(0,a.Ps)(_templateObject15()),(0,a.Ps)(_templateObject16());let u=(0,a.Ps)(_templateObject17()),c=(0,a.Ps)(_templateObject18());(0,a.Ps)(_templateObject19());let _=(0,a.Ps)(_templateObject20()),d=(0,a.Ps)(_templateObject21()),p=(0,a.Ps)(_templateObject22());(0,a.Ps)(_templateObject23());let m=(0,a.Ps)(_templateObject24()),b=(0,a.Ps)(_templateObject25()),g=(0,a.Ps)(_templateObject26())}}]);
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.