diy-template-components 2.0.52 → 2.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -662,6 +662,14 @@ var calendar$1 = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%
662
662
 
663
663
  var video = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2219%22%20viewBox%3D%220%200%2018%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.8625%205.1275C15.555%204.9625%2014.91%204.79%2014.0325%205.405L12.93%206.185C12.8475%203.8525%2011.835%202.9375%209.375%202.9375H4.875C2.31%202.9375%201.3125%203.935%201.3125%206.5V12.5C1.3125%2014.225%202.25%2016.0625%204.875%2016.0625H9.375C11.835%2016.0625%2012.8475%2015.1475%2012.93%2012.815L14.0325%2013.595C14.4975%2013.925%2014.9025%2014.03%2015.225%2014.03C15.5025%2014.03%2015.72%2013.9475%2015.8625%2013.8725C16.17%2013.715%2016.6875%2013.2875%2016.6875%2012.215V6.785C16.6875%205.7125%2016.17%205.285%2015.8625%205.1275ZM8.25%209.035C7.4775%209.035%206.84%208.405%206.84%207.625C6.84%206.845%207.4775%206.215%208.25%206.215C9.0225%206.215%209.66%206.845%209.66%207.625C9.66%208.405%209.0225%209.035%208.25%209.035Z%22%20fill%3D%22%23589DF5%22%2F%3E%3C%2Fsvg%3E";
664
664
 
665
+ var bookSavedIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fbook-saved%22%3E%3Cg%20id%3D%22book-saved%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M9.9998%2018.4C9.7498%2018.4%209.49982%2018.3417%209.29148%2018.225C7.73315%2017.375%204.9998%2016.475%203.28313%2016.25L3.04148%2016.2167C1.94982%2016.0834%201.0498%2015.0583%201.0498%2013.95V3.88333C1.0498%203.225%201.30814%202.62503%201.78314%202.19169C2.25814%201.75836%202.87478%201.55002%203.52478%201.60835C5.34978%201.75835%208.11646%202.67503%209.68313%203.65003L9.88312%203.76671C9.94145%203.79171%2010.0665%203.80004%2010.1165%203.76671L10.2498%203.68334C10.8081%203.33334%2011.5081%202.99166%2012.2748%202.68333C12.4664%202.60833%2012.6831%202.63335%2012.8581%202.75001C13.0331%202.86668%2013.1331%203.05834%2013.1331%203.26667V5.5L13.8248%205.04168C14.0332%204.90001%2014.3081%204.90001%2014.5164%205.04168L15.2081%205.5V2.31671C15.2081%202.01671%2015.4248%201.75834%2015.7165%201.7C15.9581%201.65834%2016.1998%201.62502%2016.4165%201.60835C16.4331%201.60835%2016.4998%201.60835%2016.5165%201.60835C17.1248%201.55835%2017.7498%201.7667%2018.2165%202.20003C18.6915%202.63337%2018.9498%203.23334%2018.9498%203.89167V13.95C18.9498%2015.0667%2018.0498%2016.0834%2016.9498%2016.2167L16.6748%2016.25C14.9581%2016.475%2012.2081%2017.3834%2010.6831%2018.225C10.4998%2018.3417%2010.2498%2018.4%209.9998%2018.4ZM3.31645%202.84167C3.04978%202.84167%202.80814%202.93334%202.61648%203.10834C2.40814%203.30001%202.29146%203.575%202.29146%203.88333V13.95C2.29146%2014.4417%202.71648%2014.9167%203.19148%2014.9833L3.44147%2015.0167C5.31647%2015.2667%208.19148%2016.2083%209.85814%2017.125C9.93314%2017.1583%2010.0414%2017.1667%2010.0831%2017.15C11.7581%2016.225%2014.6415%2015.275%2016.5248%2015.025L16.8081%2014.9917C17.2831%2014.9333%2017.7081%2014.45%2017.7081%2013.9584V3.90002C17.7081%203.59168%2017.5915%203.32502%2017.3831%203.12502C17.1748%202.93336%2016.8832%202.84168%2016.5832%202.85835C16.5582%202.85835%2016.4831%202.85835%2016.4665%202.85835V6.66669C16.4665%206.90002%2016.3415%207.10833%2016.1331%207.21667C15.9248%207.325%2015.6832%207.31669%2015.4915%207.18335L14.1748%206.30836L12.8581%207.18335C12.6665%207.30835%2012.4248%207.325%2012.2164%207.21667C12.0164%207.10833%2011.8831%206.90002%2011.8831%206.66669V4.22503C11.5248%204.40003%2011.1998%204.57502%2010.9164%204.74169L10.7831%204.825C10.3248%205.10834%209.67481%205.10835%209.23314%204.83335L9.03315%204.70838C7.62482%203.82504%205.05812%202.975%203.42478%202.84167C3.38312%202.84167%203.34978%202.84167%203.31645%202.84167Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M10%2017.7002C9.65833%2017.7002%209.375%2017.4169%209.375%2017.0752V4.5752C9.375%204.23353%209.65833%203.9502%2010%203.9502C10.3417%203.9502%2010.625%204.23353%2010.625%204.5752V17.0752C10.625%2017.4252%2010.3417%2017.7002%2010%2017.7002Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M15.8333%207.29166C15.7083%207.29166%2015.5917%207.25832%2015.4833%207.18332L14.1667%206.30833L12.85%207.18332C12.6583%207.30832%2012.4167%207.32497%2012.2084%207.21664C12.0084%207.1083%2011.875%206.89999%2011.875%206.66666V3.26664C11.875%203.00831%2012.0333%202.7833%2012.2666%202.6833C13.4166%202.22497%2014.675%201.86664%2015.7333%201.69997C15.9167%201.66664%2016.1%201.72501%2016.2417%201.84168C16.3833%201.95834%2016.4583%202.13335%2016.4583%202.31668V6.66666C16.4583%206.89999%2016.3333%207.1083%2016.125%207.21664C16.0333%207.26663%2015.9333%207.29166%2015.8333%207.29166ZM14.1667%204.93331C14.2833%204.93331%2014.4083%204.96665%2014.5167%205.04165L15.2083%205.49997V3.07499C14.5417%203.22499%2013.8167%203.44166%2013.125%203.69999V5.49997L13.8167%205.04165C13.925%204.96665%2014.05%204.93331%2014.1667%204.93331Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
666
+
667
+ var teacherIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fteacher%22%3E%3Cg%20id%3D%22teacher%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0083%2014.1669C9.29994%2014.1669%208.58327%2013.9836%208.02494%2013.6252L3.00827%2010.3502C2.07493%209.74191%201.5166%208.71691%201.5166%207.60024C1.5166%206.48358%202.07493%205.45858%203.00827%204.85024L8.03327%201.58358C9.14994%200.858576%2010.8916%200.858576%2011.9999%201.59191L16.9916%204.86691C17.9166%205.47524%2018.4749%206.50024%2018.4749%207.60858C18.4749%208.71691%2017.9166%209.74191%2016.9916%2010.3502L11.9999%2013.6252C11.4416%2013.9919%2010.7249%2014.1669%2010.0083%2014.1669ZM10.0083%202.29191C9.53327%202.29191%209.05827%202.40024%208.7166%202.63358L3.69993%205.90024C3.1166%206.28358%202.77493%206.90024%202.77493%207.60024C2.77493%208.30024%203.10827%208.91691%203.69993%209.30024L8.7166%2012.5752C9.40827%2013.0252%2010.6249%2013.0252%2011.3166%2012.5752L16.3083%209.30024C16.8916%208.91691%2017.2249%208.30024%2017.2249%207.60024C17.2249%206.90024%2016.8916%206.28358%2016.3083%205.90024L11.3166%202.62524C10.9666%202.40858%2010.4916%202.29191%2010.0083%202.29191Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M10.0003%2018.9584C9.63365%2018.9584%209.25865%2018.9084%208.95865%2018.8084L6.30031%2017.925C5.04198%2017.5084%204.05031%2016.1334%204.05865%2014.8084L4.06698%2010.9C4.06698%2010.5584%204.35031%2010.275%204.69198%2010.275C5.03365%2010.275%205.31698%2010.5584%205.31698%2010.9L5.30865%2014.8084C5.30865%2015.5917%205.95865%2016.4917%206.70031%2016.7417L9.35865%2017.625C9.69198%2017.7334%2010.3086%2017.7334%2010.642%2017.625L13.3003%2016.7417C14.042%2016.4917%2014.692%2015.5917%2014.692%2014.8167V10.95C14.692%2010.6084%2014.9753%2010.325%2015.317%2010.325C15.6586%2010.325%2015.942%2010.6084%2015.942%2010.95V14.8167C15.942%2016.1417%2014.9586%2017.5084%2013.7003%2017.9334L11.042%2018.8167C10.742%2018.9084%2010.367%2018.9584%2010.0003%2018.9584Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M17.834%2013.125C17.4923%2013.125%2017.209%2012.8417%2017.209%2012.5V7.5C17.209%207.15833%2017.4923%206.875%2017.834%206.875C18.1757%206.875%2018.459%207.15833%2018.459%207.5V12.5C18.459%2012.8417%2018.1757%2013.125%2017.834%2013.125Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
668
+
669
+ var medalIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fmedal-star%22%3E%3Cg%20id%3D%22medal-star%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0003%2013.9583C9.66699%2013.9583%209.33366%2013.9333%209.01699%2013.875C7.25033%2013.6167%205.64199%2012.6%204.62533%2011.0917C3.91699%2010.025%203.54199%208.78332%203.54199%207.49999C3.54199%203.94166%206.44199%201.04166%2010.0003%201.04166C13.5587%201.04166%2016.4587%203.94166%2016.4587%207.49999C16.4587%208.78332%2016.0837%2010.025%2015.3753%2011.0917C14.3503%2012.6083%2012.742%2013.6167%2010.9587%2013.8833C10.667%2013.9333%2010.3337%2013.9583%2010.0003%2013.9583ZM10.0003%202.29166C7.12533%202.29166%204.79199%204.62499%204.79199%207.49999C4.79199%208.54166%205.09199%209.54166%205.65866%2010.3917C6.48366%2011.6083%207.77533%2012.425%209.20866%2012.6333C9.74199%2012.725%2010.267%2012.725%2010.7587%2012.6333C12.217%2012.425%2013.5087%2011.6%2014.3337%2010.3833C14.9003%209.53332%2015.2003%208.53332%2015.2003%207.49165C15.2087%204.62498%2012.8753%202.29166%2010.0003%202.29166Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M5.39111%2018.825C5.27444%2018.825%205.16611%2018.8083%205.04944%2018.7833C4.50777%2018.6583%204.09111%2018.2416%203.96611%2017.7L3.67444%2016.475C3.65777%2016.4%203.59944%2016.3416%203.51611%2016.3166L2.14111%2015.9917C1.62444%2015.8667%201.21611%2015.4833%201.07444%2014.975C0.932774%2014.4667%201.07444%2013.9167%201.44944%2013.5417L4.69944%2010.2917C4.83277%2010.1583%205.01611%2010.0917%205.19944%2010.1083C5.38277%2010.125%205.54944%2010.225%205.65777%2010.3833C6.48277%2011.6%207.77444%2012.425%209.21611%2012.6333C9.74944%2012.725%2010.2744%2012.725%2010.7661%2012.6333C12.2244%2012.425%2013.5161%2011.6%2014.3411%2010.3833C14.4411%2010.225%2014.6161%2010.125%2014.7994%2010.1083C14.9828%2010.0917%2015.1661%2010.1583%2015.2994%2010.2917L18.5494%2013.5417C18.9244%2013.9167%2019.0661%2014.4667%2018.9244%2014.975C18.7828%2015.4833%2018.3661%2015.875%2017.8578%2015.9917L16.4828%2016.3166C16.4078%2016.3333%2016.3494%2016.3916%2016.3244%2016.475L16.0328%2017.7C15.9078%2018.2416%2015.4911%2018.6583%2014.9494%2018.7833C14.4078%2018.9167%2013.8494%2018.725%2013.4994%2018.3L9.99944%2014.275L6.49944%2018.3083C6.21611%2018.6417%205.81611%2018.825%205.39111%2018.825ZM5.07444%2011.6916L2.33277%2014.4333C2.25777%2014.5083%202.26611%2014.5917%202.28277%2014.6417C2.29111%2014.6833%202.33277%2014.7666%202.43277%2014.7833L3.80777%2015.1083C4.34944%2015.2333%204.76611%2015.65%204.89111%2016.1916L5.18277%2017.4166C5.20777%2017.525%205.29111%2017.5583%205.34111%2017.575C5.39111%2017.5833%205.47444%2017.5917%205.54944%2017.5083L8.74111%2013.8333C7.32444%2013.5583%206.02444%2012.8%205.07444%2011.6916ZM11.2578%2013.825L14.4494%2017.4916C14.5244%2017.5833%2014.6161%2017.5833%2014.6661%2017.5666C14.7161%2017.5583%2014.7911%2017.5167%2014.8244%2017.4083L15.1161%2016.1833C15.2411%2015.6417%2015.6578%2015.225%2016.1994%2015.1L17.5744%2014.775C17.6744%2014.75%2017.7161%2014.675%2017.7244%2014.6333C17.7411%2014.5916%2017.7494%2014.5%2017.6744%2014.425L14.9328%2011.6833C13.9744%2012.7916%2012.6828%2013.55%2011.2578%2013.825Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M11.5753%2010.7419C11.3586%2010.7419%2011.1003%2010.6835%2010.7919%2010.5002L10.0003%2010.0252L9.20861%2010.4919C8.48361%2010.9252%208.00861%2010.6752%207.83361%2010.5502C7.65861%2010.4252%207.28361%2010.0502%207.47528%209.22521L7.67528%208.36688L7.00861%207.75019C6.64195%207.38353%206.50861%206.94188%206.63361%206.54188C6.75861%206.14188%207.12528%205.85853%207.64195%205.7752L8.53361%205.6252L8.95861%204.69187C9.20028%204.21687%209.57528%203.9502%2010.0003%203.9502C10.4253%203.9502%2010.8086%204.22522%2011.0419%204.70022L11.5336%205.68354L12.3586%205.78354C12.8669%205.86687%2013.2336%206.15019%2013.3669%206.55019C13.4919%206.95019%2013.3586%207.39187%2012.9919%207.75853L12.3003%208.45022L12.5169%209.22521C12.7086%2010.0502%2012.3336%2010.4252%2012.1586%2010.5502C12.0669%2010.6252%2011.8669%2010.7419%2011.5753%2010.7419ZM8.00861%206.99188L8.58361%207.56686C8.85028%207.83353%208.98361%208.28354%208.90028%208.65021L8.74195%209.31686L9.40861%208.9252C9.76695%208.71686%2010.2503%208.71686%2010.6003%208.9252L11.2669%209.31686L11.1169%208.65021C11.0336%208.27521%2011.1586%207.83353%2011.4253%207.56686L12.0003%206.99188L11.2753%206.86686C10.9253%206.80853%2010.5753%206.55021%2010.4169%206.23355L10.0003%205.41687L9.58361%206.2502C9.43361%206.55854%209.08361%206.82521%208.73361%206.88355L8.00861%206.99188Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
670
+
671
+ var groupProfile = "data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22vuesax%2Foutline%2Fprofile-2user%22%3E%3Cg%20id%3D%22profile-2user%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M12.2124%2015.4933C12.1724%2015.4933%2012.1458%2015.4933%2012.1058%2015.4933C12.0391%2015.48%2011.9458%2015.48%2011.8658%2015.4933C7.9991%2015.3733%205.0791%2012.3333%205.0791%208.58666C5.0791%204.77332%208.18577%201.66666%2011.9991%201.66666C15.8124%201.66666%2018.9191%204.77332%2018.9191%208.58666C18.9058%2012.3333%2015.9724%2015.3733%2012.2524%2015.4933C12.2391%2015.4933%2012.2258%2015.4933%2012.2124%2015.4933ZM11.9991%203.66666C9.29244%203.66666%207.0791%205.87999%207.0791%208.58666C7.0791%2011.2533%209.1591%2013.4%2011.8124%2013.4933C11.8924%2013.48%2012.0658%2013.48%2012.2391%2013.4933C14.8524%2013.3733%2016.9058%2011.2267%2016.9191%208.58666C16.9191%205.87999%2014.7058%203.66666%2011.9991%203.66666Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M22.0522%2015.6667C22.0122%2015.6667%2021.9722%2015.6667%2021.9322%2015.6533C21.3855%2015.7067%2020.8255%2015.32%2020.7722%2014.7733C20.7188%2014.2267%2021.0522%2013.7333%2021.5988%2013.6667C21.7588%2013.6533%2021.9322%2013.6533%2022.0788%2013.6533C24.0255%2013.5467%2025.5455%2011.9467%2025.5455%209.98668C25.5455%207.96001%2023.9055%206.32001%2021.8788%206.32001C21.3322%206.33334%2020.8788%205.88001%2020.8788%205.33334C20.8788%204.78668%2021.3322%204.33334%2021.8788%204.33334C24.9988%204.33334%2027.5455%206.88001%2027.5455%2010C27.5455%2013.0667%2025.1455%2015.5467%2022.0922%2015.6667C22.0788%2015.6667%2022.0655%2015.6667%2022.0522%2015.6667Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_3%22%20d%3D%22M12.2261%2030.0666C9.61281%2030.0666%206.98615%2029.4%204.99948%2028.0666C3.14615%2026.84%202.13281%2025.16%202.13281%2023.3333C2.13281%2021.5066%203.14615%2019.8133%204.99948%2018.5733C8.99948%2015.92%2015.4795%2015.92%2019.4528%2018.5733C21.2928%2019.8%2022.3195%2021.48%2022.3195%2023.3066C22.3195%2025.1333%2021.3061%2026.8266%2019.4528%2028.0666C17.4528%2029.4%2014.8395%2030.0666%2012.2261%2030.0666ZM6.10615%2020.2533C4.82615%2021.1066%204.13281%2022.2%204.13281%2023.3466C4.13281%2024.48%204.83948%2025.5733%206.10615%2026.4133C9.42615%2028.64%2015.0261%2028.64%2018.3461%2026.4133C19.6261%2025.56%2020.3195%2024.4666%2020.3195%2023.32C20.3195%2022.1866%2019.6128%2021.0933%2018.3461%2020.2533C15.0261%2018.04%209.42615%2018.04%206.10615%2020.2533Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20id%3D%22Vector_4%22%20d%3D%22M24.4526%2027.6667C23.9859%2027.6667%2023.5726%2027.3467%2023.4792%2026.8667C23.3726%2026.32%2023.7192%2025.8%2024.2526%2025.68C25.0926%2025.5067%2025.8659%2025.1734%2026.4659%2024.7067C27.2259%2024.1334%2027.6392%2023.4134%2027.6392%2022.6534C27.6392%2021.8934%2027.2259%2021.1734%2026.4792%2020.6134C25.8926%2020.16%2025.1592%2019.84%2024.2926%2019.64C23.7592%2019.52%2023.4126%2018.9867%2023.5326%2018.44C23.6526%2017.9067%2024.1859%2017.56%2024.7326%2017.68C25.8792%2017.9334%2026.8792%2018.3867%2027.6926%2019.0134C28.9326%2019.9467%2029.6392%2021.2667%2029.6392%2022.6534C29.6392%2024.04%2028.9192%2025.36%2027.6792%2026.3067C26.8526%2026.9467%2025.8126%2027.4134%2024.6659%2027.64C24.5859%2027.6667%2024.5192%2027.6667%2024.4526%2027.6667Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";
672
+
665
673
  /** @returns {import('./types').IconData} */
666
674
  const getConfiguredIcon1 = url => ({
667
675
  url,
@@ -762,7 +770,11 @@ const icons = {
762
770
  'Book Saved': getConfiguredIcon2(bookSaved, false, true),
763
771
  Certificate: getConfiguredIcon2(certificate, false, true),
764
772
  Calendar: getConfiguredIcon2(calendar$1, false, true),
765
- Video: getConfiguredIcon2(video, false, true)
773
+ Video: getConfiguredIcon2(video, false, true),
774
+ BookSaved: getConfiguredIcon2(bookSavedIcon, false, true),
775
+ Teacher: getConfiguredIcon2(teacherIcon, false, true),
776
+ Medal: getConfiguredIcon2(medalIcon, false, true),
777
+ GroupProfile: getConfiguredIcon2(groupProfile, false, true)
766
778
  };
767
779
 
768
780
  const someMethod1 = ( /** @type {import('./types').IconData["svgChildrenConfigs"]} */svgChildrenConfigs, color, hoverColor) => {
@@ -1061,12 +1073,23 @@ function OptionList({
1061
1073
  isPreview,
1062
1074
  countryCode
1063
1075
  } = useContext(PageContext);
1076
+ function checkIsActiveTab(slug = '') {
1077
+ if (typeof window !== 'undefined') {
1078
+ const pathname = window.location.pathname;
1079
+ const slugFromPathname = pathname?.split('/')[1];
1080
+ if (slug && slugFromPathname.includes(slug)) {
1081
+ return true;
1082
+ } else {
1083
+ return false;
1084
+ }
1085
+ }
1086
+ }
1064
1087
  const tabsDataModifier = () => {
1065
1088
  return optionsData?.map(dt => {
1066
1089
  return {
1067
1090
  value: dt.title,
1068
1091
  link: dt.slug,
1069
- active: dt.active,
1092
+ active: checkIsActiveTab(dt.slug),
1070
1093
  isLink: true,
1071
1094
  isExternal: 0
1072
1095
  };
@@ -1547,13 +1570,13 @@ function Header({
1547
1570
  header: data,
1548
1571
  isTutorWebsite: isTutorWebsite,
1549
1572
  isLandingPage: isLandingPage,
1550
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1573
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1551
1574
  }) : /*#__PURE__*/React.createElement(DesktopHeader, {
1552
1575
  navData: filterHiddenNavs(),
1553
1576
  header: data,
1554
1577
  isTutorWebsite: isTutorWebsite,
1555
1578
  isLandingPage: isLandingPage,
1556
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1579
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1557
1580
  });
1558
1581
  }
1559
1582
 
@@ -2145,28 +2168,29 @@ function NanumSquare() {
2145
2168
  }
2146
2169
 
2147
2170
  const TYPE_TO_COMPONENT_MAP$1 = {
2148
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2149
- GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2150
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2151
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2152
- FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2153
- TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2154
- VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2155
- VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2156
- INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2157
- TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2158
- IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2159
- FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2160
- COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2161
- TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2162
- TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2163
- CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2164
- FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2165
- WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2166
- COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2167
- FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2168
- TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2169
- EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2171
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
2172
+ GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2173
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2174
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2175
+ FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2176
+ TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2177
+ VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2178
+ VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2179
+ INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2180
+ TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2181
+ IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2182
+ FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2183
+ COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2184
+ TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2185
+ TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2186
+ CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2187
+ FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2188
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2189
+ COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2190
+ FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2191
+ TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2192
+ EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2193
+ ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2170
2194
  };
2171
2195
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
2172
2196
  const MemoisedSection$1 = /*#__PURE__*/memo(({
@@ -2284,7 +2308,8 @@ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2284
2308
  gradient = themeColor[1];
2285
2309
  darkMode = themeColor[2];
2286
2310
  }
2287
- console.log('color', allColors, gradient, darkMode);
2311
+
2312
+ // console.log('color', allColors, gradient, darkMode);
2288
2313
 
2289
2314
  // switch (color) {
2290
2315
  // case solidColors:
@@ -2917,7 +2942,7 @@ function BannerCarouselRight({
2917
2942
  })))));
2918
2943
  }
2919
2944
 
2920
- var index$l = /*#__PURE__*/Object.freeze({
2945
+ var index$m = /*#__PURE__*/Object.freeze({
2921
2946
  __proto__: null,
2922
2947
  'default': BannerCarouselRight
2923
2948
  });
@@ -3143,7 +3168,7 @@ function List({
3143
3168
  }))));
3144
3169
  }
3145
3170
 
3146
- var index$k = /*#__PURE__*/Object.freeze({
3171
+ var index$l = /*#__PURE__*/Object.freeze({
3147
3172
  __proto__: null,
3148
3173
  'default': List
3149
3174
  });
@@ -3328,8 +3353,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3328
3353
  paddingBottom: '0'
3329
3354
  },
3330
3355
  centerBgImageContainerWithMobile: {
3331
- height: '40rem',
3332
- width: '100%'
3356
+ // height: '40rem',
3357
+ width: '100%',
3358
+ aspectRatio: '1/2'
3333
3359
  },
3334
3360
  sectionContainer: {
3335
3361
  position: 'unset'
@@ -3437,7 +3463,7 @@ function BannerCarouselCenter({
3437
3463
  }))));
3438
3464
  }
3439
3465
 
3440
- var index$j = /*#__PURE__*/Object.freeze({
3466
+ var index$k = /*#__PURE__*/Object.freeze({
3441
3467
  __proto__: null,
3442
3468
  'default': BannerCarouselCenter
3443
3469
  });
@@ -3669,7 +3695,7 @@ function BannerCarouselLeft({
3669
3695
  })))));
3670
3696
  }
3671
3697
 
3672
- var index$i = /*#__PURE__*/Object.freeze({
3698
+ var index$j = /*#__PURE__*/Object.freeze({
3673
3699
  __proto__: null,
3674
3700
  'default': BannerCarouselLeft
3675
3701
  });
@@ -4065,7 +4091,7 @@ function SubscribeToNewsletter({
4065
4091
  })))))));
4066
4092
  }
4067
4093
 
4068
- var index$h = /*#__PURE__*/Object.freeze({
4094
+ var index$i = /*#__PURE__*/Object.freeze({
4069
4095
  __proto__: null,
4070
4096
  'default': SubscribeToNewsletter
4071
4097
  });
@@ -4353,7 +4379,7 @@ function Testimonials({
4353
4379
  }));
4354
4380
  }
4355
4381
 
4356
- var index$g = /*#__PURE__*/Object.freeze({
4382
+ var index$h = /*#__PURE__*/Object.freeze({
4357
4383
  __proto__: null,
4358
4384
  'default': Testimonials
4359
4385
  });
@@ -4759,7 +4785,7 @@ function VideoTestimonial({
4759
4785
  }))))));
4760
4786
  }
4761
4787
 
4762
- var index$f = /*#__PURE__*/Object.freeze({
4788
+ var index$g = /*#__PURE__*/Object.freeze({
4763
4789
  __proto__: null,
4764
4790
  'default': VideoTestimonial
4765
4791
  });
@@ -4995,7 +5021,7 @@ function Video({
4995
5021
  }, carouselContent))));
4996
5022
  }
4997
5023
 
4998
- var index$e = /*#__PURE__*/Object.freeze({
5024
+ var index$f = /*#__PURE__*/Object.freeze({
4999
5025
  __proto__: null,
5000
5026
  'default': Video
5001
5027
  });
@@ -5232,7 +5258,7 @@ function Info({
5232
5258
  }, carouselContent))));
5233
5259
  }
5234
5260
 
5235
- var index$d = /*#__PURE__*/Object.freeze({
5261
+ var index$e = /*#__PURE__*/Object.freeze({
5236
5262
  __proto__: null,
5237
5263
  'default': Info
5238
5264
  });
@@ -5351,7 +5377,7 @@ const TextSection = ({
5351
5377
  })))));
5352
5378
  };
5353
5379
 
5354
- var index$c = /*#__PURE__*/Object.freeze({
5380
+ var index$d = /*#__PURE__*/Object.freeze({
5355
5381
  __proto__: null,
5356
5382
  'default': TextSection
5357
5383
  });
@@ -5576,7 +5602,7 @@ function PhotoGallery({
5576
5602
  }, carouselContent))));
5577
5603
  }
5578
5604
 
5579
- var index$b = /*#__PURE__*/Object.freeze({
5605
+ var index$c = /*#__PURE__*/Object.freeze({
5580
5606
  __proto__: null,
5581
5607
  'default': PhotoGallery
5582
5608
  });
@@ -5759,7 +5785,7 @@ const Accordion = ({
5759
5785
  })));
5760
5786
  };
5761
5787
 
5762
- var index$a = /*#__PURE__*/Object.freeze({
5788
+ var index$b = /*#__PURE__*/Object.freeze({
5763
5789
  __proto__: null,
5764
5790
  'default': FAQListing
5765
5791
  });
@@ -5930,7 +5956,7 @@ const TextGrid = ({
5930
5956
  }, carouselContent))));
5931
5957
  };
5932
5958
 
5933
- var index$9 = /*#__PURE__*/Object.freeze({
5959
+ var index$a = /*#__PURE__*/Object.freeze({
5934
5960
  __proto__: null,
5935
5961
  'default': TextGrid
5936
5962
  });
@@ -6462,7 +6488,7 @@ function SimpleCardsContainer({
6462
6488
  }, children);
6463
6489
  }
6464
6490
 
6465
- var index$8 = /*#__PURE__*/Object.freeze({
6491
+ var index$9 = /*#__PURE__*/Object.freeze({
6466
6492
  __proto__: null,
6467
6493
  'default': courses
6468
6494
  });
@@ -6496,7 +6522,8 @@ const useTeamStyles = createUseStyles(theme => {
6496
6522
  marginBottom: '8px',
6497
6523
  color: theme?.colors?.font2,
6498
6524
  // wordBreak: 'break-word',
6499
- position: 'relative'
6525
+ position: 'relative',
6526
+ textAlign: 'center'
6500
6527
  },
6501
6528
  teamTitle: {
6502
6529
  fontSize: theme.typography.fontSize.h2,
@@ -6505,47 +6532,44 @@ const useTeamStyles = createUseStyles(theme => {
6505
6532
  letterSpacing: '-3px',
6506
6533
  wordBreak: 'break-word',
6507
6534
  color: theme?.colors?.font2,
6508
- position: 'relative'
6535
+ position: 'relative',
6536
+ textAlign: 'center',
6537
+ marginBottom: '10px !important'
6509
6538
  },
6510
6539
  sliderContainer: {
6511
6540
  margin: '0 -20px'
6512
6541
  },
6513
6542
  contentRow: {
6514
- display: 'grid',
6515
- gridTemplateColumns: ({
6516
- slidesToShow
6517
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6543
+ display: 'flex',
6544
+ justifyContent: 'center',
6545
+ gap: '20px'
6546
+ // gridTemplateColumns: ({ slidesToShow } = {}) =>
6547
+ // `repeat(${slidesToShow},minmax(0, 1fr))`
6518
6548
  },
6549
+
6519
6550
  singleSlideContainer: {
6520
6551
  backgroundColor: theme?.palette?.background?.default,
6521
- margin: '20px',
6522
- width: 'calc(100% - 24px)',
6523
- // height: 'calc(100% - 40px)',
6524
- border: '3px solid #D8E0F0',
6525
- borderRadius: theme?.shape?.borderRadius?.regular,
6526
- padding: theme.spacing.padding.tiny,
6552
+ margin: '20px 0',
6553
+ borderRadius: theme?.shape?.borderRadius?.large,
6527
6554
  boxShadow: theme?.shadows?.primary,
6528
- minHeight: '320px'
6555
+ minHeight: '385px'
6529
6556
  },
6530
6557
  imageContainer: {
6531
6558
  minWidth: '100%',
6532
- borderRadius: theme?.shape?.borderRadius?.regular,
6533
- paddingBottom: '100%',
6534
- position: 'relative'
6559
+ position: 'relative',
6560
+ height: '208px'
6535
6561
  },
6536
6562
  image: {
6537
6563
  width: '100%',
6538
- height: '100%',
6539
- position: 'absolute',
6540
- borderRadius: '50%',
6564
+ height: '208px',
6541
6565
  top: '0',
6542
6566
  left: '0',
6543
- borderRadius: '50%',
6567
+ borderRadius: '12px 12px 0px 0px',
6544
6568
  objectFit: 'cover'
6545
6569
  },
6546
6570
  teamDetailsContainer: {
6547
- textAlign: 'center',
6548
- margin: '20px 0 0'
6571
+ textAlign: 'left',
6572
+ padding: '24px'
6549
6573
  // overflowWrap: 'break-word'
6550
6574
  },
6551
6575
 
@@ -6554,13 +6578,45 @@ const useTeamStyles = createUseStyles(theme => {
6554
6578
  fontWeight: theme.typography.fontWeight.bold,
6555
6579
  lineHeight: '24px',
6556
6580
  margin: '0',
6557
- color: theme?.palette?.font?.default
6581
+ color: theme?.palette?.font?.default,
6582
+ textOverflow: 'ellipsis',
6583
+ overflow: 'hidden',
6584
+ display: '-webkit-box',
6585
+ WebkitLineClamp: 2,
6586
+ WebkitBoxOrient: 'vertical',
6587
+ minHeight: '2.1em'
6558
6588
  },
6559
6589
  teamDetailsSubHeading: {
6560
- fontSize: theme.typography.fontSize.body,
6561
- lineHeight: '24px',
6562
- margin: '6px 0 0',
6563
- color: theme?.palette?.font?.primary
6590
+ fontSize: '14px',
6591
+ lineHeight: '18px',
6592
+ color: theme?.palette?.font?.primary,
6593
+ fontWeight: '400',
6594
+ textOverflow: 'ellipsis',
6595
+ overflow: 'hidden',
6596
+ display: '-webkit-box',
6597
+ WebkitLineClamp: 1,
6598
+ WebkitBoxOrient: 'vertical'
6599
+ },
6600
+ subHeadingWrapper: {
6601
+ display: 'flex',
6602
+ alignItems: 'center',
6603
+ margin: '10px 0px 0px',
6604
+ gap: '6px'
6605
+ },
6606
+ starTag: {
6607
+ display: 'flex',
6608
+ alignItems: 'center',
6609
+ gap: '6px',
6610
+ position: 'absolute',
6611
+ marginTop: '16px',
6612
+ background: 'rgba(22, 118, 243, 1)',
6613
+ borderRadius: '0px 6px 6px 0px',
6614
+ padding: '2px 16px'
6615
+ },
6616
+ starTagText: {
6617
+ color: 'white',
6618
+ fontSize: '12px',
6619
+ lineHeight: '20px'
6564
6620
  },
6565
6621
  '@media (max-width: 767px)': {
6566
6622
  // teamSuperContainer: {
@@ -6583,16 +6639,15 @@ const useTeamStyles = createUseStyles(theme => {
6583
6639
  },
6584
6640
  singleSlideContainer: {
6585
6641
  padding: '24px',
6586
- width: 'calc(100% - 16px)',
6642
+ // width: 'calc(100% - 16px)',
6587
6643
  margin: '12px 4px',
6588
6644
  minHeight: '260px'
6589
6645
  },
6590
6646
  teamDetailsContainer: {
6591
- textAlign: 'center'
6647
+ // textAlign: 'center'
6592
6648
  // margin: '15px 0 0',
6593
6649
  // paddingBottom: '0'
6594
6650
  },
6595
-
6596
6651
  teamDetailsHeading: {
6597
6652
  fontSize: '16px',
6598
6653
  lineHeight: '24px',
@@ -6605,16 +6660,39 @@ const useTeamStyles = createUseStyles(theme => {
6605
6660
  };
6606
6661
  });
6607
6662
 
6663
+ var RankIcon = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00033%209.77085C6.76699%209.77085%206.53366%209.75335%206.31199%209.71252C5.07533%209.53168%203.94949%208.82002%203.23783%207.76419C2.74199%207.01752%202.47949%206.14835%202.47949%205.25002C2.47949%202.75919%204.50949%200.729187%207.00033%200.729187C9.49116%200.729187%2011.5212%202.75919%2011.5212%205.25002C11.5212%206.14835%2011.2587%207.01752%2010.7628%207.76419C10.0453%208.82585%208.91949%209.53169%207.67116%209.71836C7.46699%209.75336%207.23366%209.77085%207.00033%209.77085ZM7.00033%201.60419C4.98783%201.60419%203.35449%203.23752%203.35449%205.25002C3.35449%205.97919%203.56449%206.67919%203.96116%207.27419C4.53866%208.12585%205.44283%208.69752%206.44616%208.84336C6.81949%208.90752%207.18699%208.90752%207.53116%208.84336C8.55199%208.69752%209.45616%208.12002%2010.0337%207.26835C10.4303%206.67335%2010.6403%205.97335%2010.6403%205.24418C10.6462%203.23751%209.01283%201.60419%207.00033%201.60419Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M3.77426%2013.1775C3.6926%2013.1775%203.61676%2013.1658%203.5351%2013.1483C3.15593%2013.0608%202.86426%2012.7691%202.77676%2012.39L2.5726%2011.5325C2.56093%2011.48%202.5201%2011.4391%202.46176%2011.4216L1.49926%2011.1941C1.1376%2011.1066%200.851764%2010.8383%200.752597%2010.4825C0.65343%2010.1266%200.752597%209.74163%201.0151%209.47913L3.2901%207.20413C3.38343%207.1108%203.51176%207.06413%203.6401%207.0758C3.76843%207.08746%203.8851%207.15746%203.96093%207.26829C4.53843%208.11996%205.4426%208.69746%206.45176%208.8433C6.8251%208.90746%207.1926%208.90746%207.53676%208.8433C8.5576%208.69746%209.46176%208.11996%2010.0393%207.26829C10.1093%207.15746%2010.2318%207.08746%2010.3601%207.0758C10.4884%207.06413%2010.6168%207.1108%2010.7101%207.20413L12.9851%209.47913C13.2476%209.74163%2013.3468%2010.1266%2013.2476%2010.4825C13.1484%2010.8383%2012.8568%2011.1125%2012.5009%2011.1941L11.5384%2011.4216C11.4859%2011.4333%2011.4451%2011.4741%2011.4276%2011.5325L11.2234%2012.39C11.1359%2012.7691%2010.8443%2013.0608%2010.4651%2013.1483C10.0859%2013.2416%209.6951%2013.1075%209.4501%2012.81L7.0001%209.99246L4.5501%2012.8158C4.35176%2013.0491%204.07176%2013.1775%203.77426%2013.1775ZM3.5526%208.18413L1.63343%2010.1033C1.58093%2010.1558%201.58676%2010.2141%201.59843%2010.2491C1.60426%2010.2783%201.63343%2010.3366%201.70343%2010.3483L2.66593%2010.5758C3.0451%2010.6633%203.33676%2010.955%203.42426%2011.3341L3.62843%2012.1916C3.64593%2012.2675%203.70426%2012.2908%203.73926%2012.3025C3.77426%2012.3083%203.8326%2012.3141%203.8851%2012.2558L6.11926%209.6833C5.1276%209.4908%204.2176%208.95996%203.5526%208.18413ZM7.88093%209.67746L10.1151%2012.2441C10.1676%2012.3083%2010.2318%2012.3083%2010.2668%2012.2966C10.3018%2012.2908%2010.3543%2012.2616%2010.3776%2012.1858L10.5818%2011.3283C10.6693%2010.9491%2010.9609%2010.6575%2011.3401%2010.57L12.3026%2010.3425C12.3726%2010.325%2012.4018%2010.2725%2012.4076%2010.2433C12.4193%2010.2141%2012.4251%2010.15%2012.3726%2010.0975L10.4534%208.17829C9.7826%208.95412%208.87843%209.48496%207.88093%209.67746Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M8.1025%207.51932C7.95083%207.51932%207.77%207.47848%207.55417%207.35015L7%207.01764L6.44583%207.34431C5.93833%207.64764%205.60583%207.47264%205.48333%207.38514C5.36083%207.29764%205.09833%207.03515%205.2325%206.45765L5.3725%205.85681L4.90583%205.42514C4.64917%205.16847%204.55583%204.85931%204.64333%204.57931C4.73083%204.29931%204.9875%204.10097%205.34917%204.04264L5.97333%203.93764L6.27083%203.28431C6.44%202.95181%206.7025%202.76514%207%202.76514C7.2975%202.76514%207.56583%202.95765%207.72917%203.29015L8.07333%203.97848L8.65083%204.04848C9.00667%204.10681%209.26334%204.30513%209.35667%204.58513C9.44417%204.86513%209.35083%205.17431%209.09417%205.43097L8.61%205.91515L8.76167%206.45765C8.89584%207.03515%208.63333%207.29764%208.51083%207.38514C8.44667%207.43764%208.30667%207.51932%208.1025%207.51932ZM5.60583%204.89432L6.00833%205.2968C6.195%205.48347%206.28833%205.79848%206.23%206.05515L6.11917%206.52181L6.58583%206.24764C6.83667%206.1018%207.175%206.1018%207.42%206.24764L7.88667%206.52181L7.78167%206.05515C7.72333%205.79265%207.81083%205.48347%207.9975%205.2968L8.4%204.89432L7.8925%204.8068C7.6475%204.76597%207.4025%204.58515%207.29167%204.36348L7%203.79181L6.70833%204.37514C6.60333%204.59098%206.35833%204.77765%206.11333%204.81848L5.60583%204.89432Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6664
+
6665
+ var Book = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2215%22%20viewBox%3D%220%200%2014%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00035%2013.38C6.82535%2013.38%206.65036%2013.3392%206.50453%2013.2575C5.41369%2012.6625%203.50035%2012.0325%202.29868%2011.875L2.12953%2011.8517C1.36536%2011.7583%200.735352%2011.0408%200.735352%2010.265V3.21831C0.735352%202.75747%200.916188%202.33749%201.24869%202.03416C1.58119%201.73082%202.01283%201.58498%202.46783%201.62582C3.74533%201.73082%205.68201%202.37249%206.77868%203.05499L6.91867%203.13667C6.9595%203.15417%207.04702%203.16%207.08202%203.13667L7.17534%203.07831C7.56617%202.83331%208.05617%202.59414%208.59284%202.3783C8.727%202.3258%208.87868%202.34331%209.00118%202.42498C9.12368%202.50665%209.19369%202.64081%209.19369%202.78664V4.34997L9.67786%204.02915C9.8237%203.92998%2010.0162%203.92998%2010.162%204.02915L10.6462%204.34997V2.12167C10.6462%201.91167%2010.7978%201.73081%2011.002%201.68998C11.1712%201.66081%2011.3404%201.63748%2011.492%201.62582C11.5037%201.62582%2011.5504%201.62582%2011.562%201.62582C11.9879%201.59082%2012.4253%201.73666%2012.752%202.04C13.0845%202.34333%2013.2653%202.76331%2013.2653%203.22414V10.265C13.2653%2011.0466%2012.6354%2011.7583%2011.8654%2011.8517L11.6729%2011.875C10.4712%2012.0325%208.54618%2012.6683%207.47868%2013.2575C7.35035%2013.3392%207.17535%2013.38%207.00035%2013.38ZM2.322%202.48914C2.13533%202.48914%201.96619%202.55331%201.83202%202.67581C1.68619%202.80998%201.60451%203.00247%201.60451%203.21831V10.265C1.60451%2010.6091%201.90202%2010.9416%202.23452%2010.9883L2.40952%2011.0117C3.72202%2011.1867%205.73452%2011.8458%206.90119%2012.4875C6.95369%2012.5108%207.0295%2012.5167%207.05867%2012.505C8.23117%2011.8575%2010.2495%2011.1925%2011.5679%2011.0175L11.7662%2010.9942C12.0987%2010.9533%2012.3962%2010.615%2012.3962%2010.2708V3.22998C12.3962%203.01415%2012.3145%202.82749%2012.1687%202.68749C12.0228%202.55332%2011.8187%202.48915%2011.6087%202.50082C11.5912%202.50082%2011.5387%202.50082%2011.527%202.50082V5.16666C11.527%205.32999%2011.4395%205.47581%2011.2937%205.55164C11.1478%205.62747%2010.9787%205.62165%2010.8445%205.52832L9.92285%204.91583L9.00118%205.52832C8.86701%205.61582%208.69783%205.62747%208.552%205.55164C8.412%205.47581%208.31869%205.32999%208.31869%205.16666V3.45749C8.06785%203.57999%207.84033%203.70249%207.642%203.81916L7.54868%203.87748C7.22785%204.07581%206.77286%204.07581%206.46369%203.88331L6.3237%203.79584C5.33786%203.1775%203.54117%202.58247%202.39784%202.48914C2.36867%202.48914%202.34533%202.48914%202.322%202.48914Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M7%2012.8901C6.76083%2012.8901%206.5625%2012.6918%206.5625%2012.4526V3.70264C6.5625%203.46347%206.76083%203.26514%207%203.26514C7.23917%203.26514%207.4375%203.46347%207.4375%203.70264V12.4526C7.4375%2012.6976%207.23917%2012.8901%207%2012.8901Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M11.0833%205.60416C10.9958%205.60416%2010.9142%205.58082%2010.8383%205.52832L9.91667%204.91583L8.99499%205.52832C8.86082%205.61582%208.69168%205.62748%208.54585%205.55164C8.40585%205.47581%208.3125%205.32999%208.3125%205.16666V2.78665C8.3125%202.60582%208.42332%202.44831%208.58665%202.37831C9.39165%202.05748%2010.2725%201.80665%2011.0133%201.68998C11.1417%201.66665%2011.27%201.70751%2011.3692%201.78917C11.4683%201.87084%2011.5208%201.99334%2011.5208%202.12168V5.16666C11.5208%205.32999%2011.4333%205.47581%2011.2875%205.55164C11.2233%205.58664%2011.1533%205.60416%2011.0833%205.60416ZM9.91667%203.95332C9.99833%203.95332%2010.0858%203.97665%2010.1617%204.02915L10.6458%204.34998V2.65249C10.1792%202.75749%209.67167%202.90916%209.1875%203.08999V4.34998L9.67168%204.02915C9.74751%203.97665%209.835%203.95332%209.91667%203.95332Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6666
+
6667
+ var Teacher = "data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.00569%209.91681C6.50986%209.91681%206.00819%209.78848%205.61736%209.53764L2.10569%207.24514C1.45236%206.81931%201.06152%206.10181%201.06152%205.32014C1.06152%204.53848%201.45236%203.82098%202.10569%203.39514L5.62319%201.10848C6.40486%200.600976%207.62402%200.600976%208.39986%201.11431L11.894%203.40681C12.5415%203.83264%2012.9324%204.55014%2012.9324%205.32598C12.9324%206.10181%2012.5415%206.81931%2011.894%207.24514L8.39986%209.53764C8.00902%209.79431%207.50736%209.91681%207.00569%209.91681ZM7.00569%201.60431C6.67319%201.60431%206.34069%201.68014%206.10152%201.84348L2.58986%204.13014C2.18152%204.39848%201.94236%204.83014%201.94236%205.32014C1.94236%205.81014%202.17569%206.24181%202.58986%206.51014L6.10152%208.80264C6.58569%209.11764%207.43736%209.11764%207.92152%208.80264L11.4157%206.51014C11.824%206.24181%2012.0574%205.81014%2012.0574%205.32014C12.0574%204.83014%2011.824%204.39848%2011.4157%204.13014L7.92152%201.83764C7.67652%201.68598%207.34402%201.60431%207.00569%201.60431Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M7.00002%2013.2708C6.74336%2013.2708%206.48086%2013.2358%206.27086%2013.1658L4.41002%2012.5475C3.52919%2012.2558%202.83502%2011.2933%202.84086%2010.3658L2.84669%207.63C2.84669%207.39084%203.04502%207.1925%203.28419%207.1925C3.52336%207.1925%203.72169%207.39084%203.72169%207.63L3.71586%2010.3658C3.71586%2010.9142%204.17086%2011.5442%204.69002%2011.7192L6.55086%2012.3375C6.78419%2012.4133%207.21586%2012.4133%207.44919%2012.3375L9.31002%2011.7192C9.82919%2011.5442%2010.2842%2010.9142%2010.2842%2010.3717V7.66501C10.2842%207.42584%2010.4825%207.22751%2010.7217%207.22751C10.9609%207.22751%2011.1592%207.42584%2011.1592%207.66501V10.3717C11.1592%2011.2992%2010.4709%2012.2558%209.59002%2012.5533L7.72919%2013.1717C7.51919%2013.2358%207.25669%2013.2708%207.00002%2013.2708Z%22%20fill%3D%22%230A1629%22%2F%3E%3Cpath%20d%3D%22M12.4834%209.1875C12.2442%209.1875%2012.0459%208.98917%2012.0459%208.75V5.25C12.0459%205.01083%2012.2442%204.8125%2012.4834%204.8125C12.7226%204.8125%2012.9209%205.01083%2012.9209%205.25V8.75C12.9209%208.98917%2012.7226%209.1875%2012.4834%209.1875Z%22%20fill%3D%22%230A1629%22%2F%3E%3C%2Fsvg%3E";
6668
+
6669
+ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.33006%2011.8352C9.06506%2011.8352%208.72506%2011.7502%208.30006%2011.5002L6.80506%2010.6152C6.65006%2010.5252%206.35006%2010.5252%206.20006%2010.6152L4.70006%2011.5002C3.81506%2012.0252%203.29506%2011.8152%203.06006%2011.6452C2.83006%2011.4752%202.47006%2011.0402%202.70506%2010.0402L3.06006%208.50516C3.10006%208.34516%203.02006%208.07016%202.90006%207.95016L1.66006%206.71016C1.04006%206.09016%201.09006%205.56016%201.17506%205.30016C1.26006%205.04016%201.53006%204.58016%202.39006%204.43516L3.98506%204.17016C4.13506%204.14516%204.35006%203.98516%204.41506%203.85016L5.30006%202.08516C5.70006%201.28016%206.22506%201.16016%206.50006%201.16016C6.77506%201.16016%207.30006%201.28016%207.70006%202.08516L8.58006%203.84516C8.65006%203.98016%208.86506%204.14016%209.01506%204.16516L10.6101%204.43016C11.4751%204.57516%2011.7451%205.03516%2011.8251%205.29516C11.9051%205.55516%2011.9551%206.08516%2011.3401%206.70516L10.1001%207.95016C9.98006%208.07016%209.90506%208.34016%209.94006%208.50516L10.2951%2010.0402C10.5251%2011.0402%2010.1701%2011.4752%209.94006%2011.6452C9.81506%2011.7352%209.61506%2011.8352%209.33006%2011.8352ZM6.50006%209.79516C6.74506%209.79516%206.99006%209.85516%207.18506%209.97016L8.68006%2010.8552C9.11506%2011.1152%209.39006%2011.1152%209.49506%2011.0402C9.60006%2010.9652%209.67506%2010.7002%209.56506%2010.2102L9.21006%208.67516C9.11506%208.26016%209.27006%207.72516%209.57006%207.42016L10.8101%206.18016C11.0551%205.93516%2011.1651%205.69516%2011.1151%205.53016C11.0601%205.36516%2010.8301%205.23016%2010.4901%205.17516L8.89506%204.91016C8.51006%204.84516%208.09006%204.53516%207.91506%204.18516L7.03506%202.42516C6.87506%202.10516%206.67506%201.91516%206.50006%201.91516C6.32506%201.91516%206.12506%202.10516%205.97006%202.42516L5.08506%204.18516C4.91006%204.53516%204.49006%204.84516%204.10506%204.91016L2.51506%205.17516C2.17506%205.23016%201.94506%205.36516%201.89006%205.53016C1.83506%205.69516%201.95006%205.94016%202.19506%206.18016L3.43506%207.42016C3.73506%207.72016%203.89006%208.26016%203.79506%208.67516L3.44006%2010.2102C3.32506%2010.7052%203.40506%2010.9652%203.51006%2011.0402C3.61506%2011.1152%203.88506%2011.1102%204.32506%2010.8552L5.82006%209.97016C6.01006%209.85516%206.25506%209.79516%206.50006%209.79516Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";
6670
+
6608
6671
  const SingleSlide = ({
6609
6672
  data,
6610
- sectionIndex
6673
+ sectionIndex,
6674
+ fullWidth,
6675
+ isMobile
6611
6676
  }) => {
6612
6677
  const classes = useTeamStyles();
6613
6678
  return /*#__PURE__*/React.createElement("div", {
6614
- className: classes.singleSlideContainer
6679
+ className: classes.singleSlideContainer,
6680
+ style: isMobile ? {
6681
+ width: 'calc(100% - 16px)'
6682
+ } : fullWidth ? {
6683
+ width: 'calc(100% - 24px)'
6684
+ } : {
6685
+ width: 'calc(25% - 24px)'
6686
+ }
6615
6687
  }, /*#__PURE__*/React.createElement("div", {
6616
6688
  className: classes.imageContainer
6617
- }, /*#__PURE__*/React.createElement(NextImageRenderer, {
6689
+ }, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React.createElement("span", {
6690
+ className: classes.starTag
6691
+ }, /*#__PURE__*/React.createElement("img", {
6692
+ src: StarIcon
6693
+ }), /*#__PURE__*/React.createElement("span", {
6694
+ className: classes.starTagText
6695
+ }, "Star Tutor")) : null, /*#__PURE__*/React.createElement(NextImageRenderer, {
6618
6696
  ref: data?.image?.refSetter,
6619
6697
  className: classes.image,
6620
6698
  alt: "Hero Image",
@@ -6628,13 +6706,43 @@ const SingleSlide = ({
6628
6706
  dangerouslySetInnerHTML: {
6629
6707
  __html: data.teamSlideTitle.metadata.value
6630
6708
  }
6631
- }), /*#__PURE__*/React.createElement("div", {
6709
+ }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6632
6710
  ref: data?.teamSlideSubTitle?.refSetter,
6633
6711
  className: classes.teamDetailsSubHeading,
6634
6712
  dangerouslySetInnerHTML: {
6635
6713
  __html: data.teamSlideSubTitle.metadata.value
6636
6714
  }
6637
- })));
6715
+ }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6716
+ className: classes.subHeadingWrapper
6717
+ }, /*#__PURE__*/React.createElement("img", {
6718
+ src: RankIcon
6719
+ }), /*#__PURE__*/React.createElement("div", {
6720
+ ref: data?.teamSlideYearOfExperience?.refSetter,
6721
+ className: classes.teamDetailsSubHeading,
6722
+ dangerouslySetInnerHTML: {
6723
+ __html: data.teamSlideYearOfExperience.metadata.value
6724
+ }
6725
+ })) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6726
+ className: classes.subHeadingWrapper
6727
+ }, /*#__PURE__*/React.createElement("img", {
6728
+ src: Book
6729
+ }), /*#__PURE__*/React.createElement("div", {
6730
+ ref: data?.teamSlideSpecialisation?.refSetter,
6731
+ className: classes.teamDetailsSubHeading,
6732
+ dangerouslySetInnerHTML: {
6733
+ __html: data.teamSlideSpecialisation.metadata.value
6734
+ }
6735
+ })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6736
+ className: classes.subHeadingWrapper
6737
+ }, /*#__PURE__*/React.createElement("img", {
6738
+ src: Teacher
6739
+ }), /*#__PURE__*/React.createElement("div", {
6740
+ ref: data?.teamSlideQualification?.refSetter,
6741
+ className: classes.teamDetailsSubHeading,
6742
+ dangerouslySetInnerHTML: {
6743
+ __html: data.teamSlideQualification.metadata.value
6744
+ }
6745
+ })) : null));
6638
6746
  };
6639
6747
 
6640
6748
  function TeamCard({
@@ -6664,11 +6772,13 @@ function TeamCard({
6664
6772
  centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
6665
6773
  centerMode: true
6666
6774
  };
6667
- const carouselContent = teamData.teamCarousel.components.map((data, idx) => {
6775
+ const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
6668
6776
  return /*#__PURE__*/React.createElement(SingleSlide, {
6669
6777
  key: idx,
6670
6778
  data: data,
6671
- sectionIndex: sectionIndex
6779
+ sectionIndex: sectionIndex,
6780
+ fullWidth: fullWidth,
6781
+ isMobile: isMobile
6672
6782
  });
6673
6783
  });
6674
6784
  return /*#__PURE__*/React.createElement("section", {
@@ -6692,12 +6802,12 @@ function TeamCard({
6692
6802
  })), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
6693
6803
  hideArrow: isMobile,
6694
6804
  settings: settings
6695
- }, carouselContent) : /*#__PURE__*/React.createElement("div", {
6805
+ }, getCarouselContent(true)) : /*#__PURE__*/React.createElement("div", {
6696
6806
  className: classes.contentRow
6697
- }, " ", carouselContent)));
6807
+ }, " ", getCarouselContent())));
6698
6808
  }
6699
6809
 
6700
- var index$7 = /*#__PURE__*/Object.freeze({
6810
+ var index$8 = /*#__PURE__*/Object.freeze({
6701
6811
  __proto__: null,
6702
6812
  'default': TeamCard
6703
6813
  });
@@ -7122,7 +7232,7 @@ function FormEnquiry({
7122
7232
  })))))));
7123
7233
  }
7124
7234
 
7125
- var index$6 = /*#__PURE__*/Object.freeze({
7235
+ var index$7 = /*#__PURE__*/Object.freeze({
7126
7236
  __proto__: null,
7127
7237
  'default': FormEnquiry
7128
7238
  });
@@ -7546,7 +7656,7 @@ function Contact({
7546
7656
  })))))));
7547
7657
  }
7548
7658
 
7549
- var index$5 = /*#__PURE__*/Object.freeze({
7659
+ var index$6 = /*#__PURE__*/Object.freeze({
7550
7660
  __proto__: null,
7551
7661
  'default': Contact
7552
7662
  });
@@ -8025,13 +8135,13 @@ function CoursePromotionPage$1({
8025
8135
  }))));
8026
8136
  }
8027
8137
 
8028
- var index$4 = /*#__PURE__*/Object.freeze({
8138
+ var index$5 = /*#__PURE__*/Object.freeze({
8029
8139
  __proto__: null,
8030
8140
  'default': CoursePromotionPage$1
8031
8141
  });
8032
8142
 
8033
8143
  const useCoursePromotionPage = createUseStyles(theme => {
8034
- console.log(theme, 'themere');
8144
+ // console.log(theme, 'themere');
8035
8145
  return {
8036
8146
  courseSuperContainer: {
8037
8147
  display: 'flex',
@@ -8340,17 +8450,21 @@ const SingleVideoSlide = props => {
8340
8450
  isEdit
8341
8451
  } = useContext(PageContext);
8342
8452
  const renderer = ({
8453
+ days,
8343
8454
  hours,
8344
8455
  minutes,
8345
8456
  seconds,
8346
8457
  completed
8347
8458
  }) => {
8348
- console.log("siddharth", hours, minutes);
8349
- {
8459
+ if (days === 0 && hours < 24) {
8350
8460
  if (countryCode === 'KR') {
8351
8461
  return /*#__PURE__*/React.createElement("span", null, hours, " \uC2DC\uAC04 ", minutes, " \uBD84 ", seconds, "\uCD08");
8352
8462
  }
8353
8463
  return /*#__PURE__*/React.createElement("span", null, hours, "h ", minutes, "m ", seconds, "s");
8464
+ } else {
8465
+ let given = moment(props.data.endDate);
8466
+ let current = moment().startOf('day');
8467
+ return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()), ' ', countryCode === 'KR' ? '일' : 'day(s)');
8354
8468
  }
8355
8469
  };
8356
8470
  const {
@@ -8613,7 +8727,7 @@ function CoursePromotionPage({
8613
8727
  }))));
8614
8728
  }
8615
8729
 
8616
- var index$3 = /*#__PURE__*/Object.freeze({
8730
+ var index$4 = /*#__PURE__*/Object.freeze({
8617
8731
  __proto__: null,
8618
8732
  'default': CoursePromotionPage
8619
8733
  });
@@ -8978,7 +9092,7 @@ const FormPage = ({
8978
9092
  })))));
8979
9093
  };
8980
9094
 
8981
- var index$2 = /*#__PURE__*/Object.freeze({
9095
+ var index$3 = /*#__PURE__*/Object.freeze({
8982
9096
  __proto__: null,
8983
9097
  'default': FormPage
8984
9098
  });
@@ -9126,7 +9240,7 @@ function Tiles({
9126
9240
  }, TileDiv)));
9127
9241
  }
9128
9242
 
9129
- var index$1 = /*#__PURE__*/Object.freeze({
9243
+ var index$2 = /*#__PURE__*/Object.freeze({
9130
9244
  __proto__: null,
9131
9245
  'default': Tiles
9132
9246
  });
@@ -9601,11 +9715,380 @@ function EmailDripMarket({
9601
9715
  })));
9602
9716
  }
9603
9717
 
9604
- var index = /*#__PURE__*/Object.freeze({
9718
+ var index$1 = /*#__PURE__*/Object.freeze({
9605
9719
  __proto__: null,
9606
9720
  'default': EmailDripMarket
9607
9721
  });
9608
9722
 
9723
+ const useAboutInstituteStyles = createUseStyles(theme => ({
9724
+ aboutInstText: {
9725
+ alignSelf: 'center',
9726
+ color: 'var(--Black, #0A1629)',
9727
+ fontSize: '24px',
9728
+ fontWeight: '400',
9729
+ fontFamily: theme?.typography?.fontFamily
9730
+ },
9731
+ metaChild: {
9732
+ fontSize: '16px',
9733
+ fontStyle: 'normal',
9734
+ fontWeight: '400',
9735
+ fontFamily: theme?.typography?.fontFamily
9736
+ },
9737
+ aboutInstWrapper: {
9738
+ padding: '64px 128px',
9739
+ display: 'flex',
9740
+ justifyContent: 'center',
9741
+ flexDirection: 'column',
9742
+ background: '#FFF',
9743
+ fontFamily: theme?.typography?.fontFamily
9744
+ },
9745
+ abtoutInstText: {
9746
+ color: theme?.palette?.font?.secondary,
9747
+ fontWeight: '400',
9748
+ fontSize: theme.typography.fontSize.subHead,
9749
+ lineHeight: '20px',
9750
+ textAlign: 'center',
9751
+ textTransform: 'uppercase',
9752
+ wordBreak: 'break-word'
9753
+ },
9754
+ aboutInstHeader: {
9755
+ fontSize: theme.typography.fontSize.h2,
9756
+ color: theme?.palette?.font?.default,
9757
+ margin: '0px',
9758
+ marginBottom: '56px',
9759
+ textAlign: 'center'
9760
+ },
9761
+ imageContainer: {
9762
+ width: '240px',
9763
+ height: '240px',
9764
+ position: 'relative'
9765
+ // borderRadius: '16px',
9766
+ // border: '1px solid var(--stroke, #D8E0F0)',
9767
+ },
9768
+
9769
+ image: {
9770
+ width: '100%',
9771
+ height: '100%',
9772
+ borderRadius: '16px',
9773
+ border: '1px solid var(--stroke, #D8E0F0)'
9774
+ },
9775
+ infoContainer: {
9776
+ padding: '24px',
9777
+ gap: '16px',
9778
+ display: 'flex',
9779
+ flexDirection: 'column',
9780
+ borderRadius: '16px',
9781
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9782
+ flex: 1
9783
+ },
9784
+ metaInfo: {
9785
+ display: 'flex',
9786
+ gap: '24px',
9787
+ flexWrap: 'wrap'
9788
+ },
9789
+ metaInfoChild: {
9790
+ display: 'flex',
9791
+ justifyContent: 'center',
9792
+ alignItems: 'center',
9793
+ gap: '6px'
9794
+ },
9795
+ contentWrapper: {
9796
+ display: 'flex',
9797
+ gap: '24px',
9798
+ marginBottom: '24px'
9799
+ },
9800
+ cardWrapper: {
9801
+ // display: 'flex',
9802
+ // width: '100%',
9803
+ // gap: '24px'
9804
+ display: 'flex',
9805
+ gap: '24px',
9806
+ flex: 1,
9807
+ lineHeight: 'normal'
9808
+ },
9809
+ card: {
9810
+ padding: '24px',
9811
+ display: 'flex',
9812
+ justifyContent: 'space-between',
9813
+ alignItems: 'center',
9814
+ borderRadius: '16px',
9815
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9816
+ flexGrow: 1
9817
+ },
9818
+ cardDesc: {
9819
+ display: 'flex',
9820
+ flexDirection: 'column'
9821
+ },
9822
+ infoDetails: {
9823
+ display: 'flex',
9824
+ flexDirection: 'Column',
9825
+ gap: '10px',
9826
+ lineHeight: 'normal'
9827
+ },
9828
+ infoContent: {
9829
+ display: 'flex',
9830
+ flexDirection: 'Column',
9831
+ gap: '8px'
9832
+ },
9833
+ instHeading: {
9834
+ color: 'var(--Black, #0A1629)',
9835
+ fontSize: '32px',
9836
+ fontStyle: 'normal',
9837
+ fontWeight: '600'
9838
+ },
9839
+ aboutText: {
9840
+ fontSize: '24px',
9841
+ fontStyle: 'normal',
9842
+ fontWeight: '600'
9843
+ },
9844
+ instAbout: {
9845
+ fontFamily: theme?.typography?.fontFamily,
9846
+ lineHeight: '22px',
9847
+ fontSize: '14px',
9848
+ fontStyle: 'normal',
9849
+ fontWeight: '400',
9850
+ wordBreak: 'break-word'
9851
+ },
9852
+ highlightText: {
9853
+ color: 'var(--Black, #0A1629)',
9854
+ fontSize: '24px',
9855
+ fontStyle: 'normal',
9856
+ fontWeight: '600',
9857
+ wordBreak: 'break-word'
9858
+ },
9859
+ highlightHeading: {
9860
+ fontSize: '16px',
9861
+ fontStyle: 'normal',
9862
+ fontWeight: '400'
9863
+ },
9864
+ // SMALL SCREEN
9865
+ '@media screen and (max-width: 767px)': {
9866
+ aboutInstText: {
9867
+ fontSize: '16px'
9868
+ },
9869
+ imageContainer: {
9870
+ height: '150px',
9871
+ width: '150px'
9872
+ },
9873
+ image: {
9874
+ borderRadius: '10px',
9875
+ border: '1px solid var(--stroke, #D8E0F0)'
9876
+ },
9877
+ infoContainer: {
9878
+ gap: '16px'
9879
+ },
9880
+ instHeading: {
9881
+ fontSize: '24px'
9882
+ },
9883
+ cardWrapper: {
9884
+ flexDirection: 'column',
9885
+ gap: '8px',
9886
+ lineHeight: 'normal'
9887
+ },
9888
+ aboutInstWrapper: {
9889
+ padding: '16px'
9890
+ },
9891
+ aboutInstHeader: {
9892
+ color: theme?.palette?.font?.default,
9893
+ margin: '0px 0 24px 0',
9894
+ textAlign: 'center',
9895
+ fontSize: '20px'
9896
+ },
9897
+ contentWrapper: {
9898
+ gap: '8px'
9899
+ },
9900
+ card: {
9901
+ padding: '16px'
9902
+ },
9903
+ infoDetails: {
9904
+ gap: '8px',
9905
+ lineHeight: 'normal'
9906
+ },
9907
+ metaInfo: {
9908
+ gap: '8px'
9909
+ },
9910
+ infoContent: {
9911
+ gap: '8px'
9912
+ },
9913
+ metaChild: {
9914
+ fontSize: '12px'
9915
+ },
9916
+ aboutText: {
9917
+ fontSize: '16px'
9918
+ },
9919
+ instAbout: {
9920
+ fontSize: '12px'
9921
+ },
9922
+ highlightText: {
9923
+ fontSize: '16px'
9924
+ },
9925
+ highlightHeading: {
9926
+ fontSize: '12px'
9927
+ }
9928
+ }
9929
+ }));
9930
+
9931
+ function ABOUT_INSTITUTE({
9932
+ sectionData,
9933
+ sectionIndex
9934
+ }) {
9935
+ const {
9936
+ layout: {
9937
+ containerWidth
9938
+ },
9939
+ isMobile
9940
+ } = useContext(PageContext);
9941
+ const classes = useAboutInstituteStyles({
9942
+ containerWidth,
9943
+ isMobile
9944
+ });
9945
+ const [nodeData] = sectionData?.components;
9946
+ const [highlightNodeData] = nodeData?.highlight?.components;
9947
+ const theme = useTheme();
9948
+ const ImageJSX = () => {
9949
+ if (!nodeData?.image?.metadata?.value) {
9950
+ return null;
9951
+ }
9952
+ return /*#__PURE__*/React.createElement("div", {
9953
+ className: classes.imageContainer
9954
+ }, /*#__PURE__*/React.createElement(NextImageRenderer, {
9955
+ className: classes.image,
9956
+ alt: "logo",
9957
+ src: nodeData?.image?.metadata?.value
9958
+ }));
9959
+ };
9960
+ const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
9961
+ className: classes.infoContainer
9962
+ }, /*#__PURE__*/React.createElement("div", {
9963
+ className: classes.infoDetails
9964
+ }, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9965
+ className: classes.instHeading,
9966
+ ref: nodeData?.instName?.refSetter,
9967
+ dangerouslySetInnerHTML: {
9968
+ __html: nodeData?.instName?.metadata?.value
9969
+ }
9970
+ }) : null, /*#__PURE__*/React.createElement("div", {
9971
+ className: classes.metaInfo
9972
+ }, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9973
+ className: classes.metaInfoChild
9974
+ }, /*#__PURE__*/React.createElement(Icon, {
9975
+ name: 'BookSaved',
9976
+ color: theme.palette.font.primary,
9977
+ width: '20px',
9978
+ height: '20px'
9979
+ }), /*#__PURE__*/React.createElement("div", {
9980
+ className: classes.metaChild,
9981
+ ref: nodeData?.spec?.refSetter,
9982
+ dangerouslySetInnerHTML: {
9983
+ __html: nodeData?.spec?.metadata?.value
9984
+ }
9985
+ })) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9986
+ className: classes.metaInfoChild
9987
+ }, /*#__PURE__*/React.createElement(Icon, {
9988
+ name: 'Teacher',
9989
+ color: theme.palette.font.primary,
9990
+ width: '20px',
9991
+ height: '20px'
9992
+ }), /*#__PURE__*/React.createElement("div", {
9993
+ className: classes.metaChild,
9994
+ ref: nodeData?.qual?.refSetter,
9995
+ dangerouslySetInnerHTML: {
9996
+ __html: nodeData?.qual?.metadata?.value
9997
+ }
9998
+ })) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9999
+ className: classes.metaInfoChild
10000
+ }, /*#__PURE__*/React.createElement(Icon, {
10001
+ name: 'Medal',
10002
+ color: theme.palette.font.primary,
10003
+ width: '20px',
10004
+ height: '20px'
10005
+ }), /*#__PURE__*/React.createElement("div", {
10006
+ className: classes.metaChild,
10007
+ ref: nodeData?.exp?.refSetter,
10008
+ dangerouslySetInnerHTML: {
10009
+ __html: nodeData?.exp?.metadata?.value
10010
+ }
10011
+ })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
10012
+ className: classes.infoContent
10013
+ }, /*#__PURE__*/React.createElement("div", {
10014
+ className: classes.aboutText
10015
+ }, "About"), /*#__PURE__*/React.createElement("div", {
10016
+ className: classes.instAbout,
10017
+ ref: nodeData?.content?.refSetter,
10018
+ dangerouslySetInnerHTML: {
10019
+ __html: nodeData?.content?.metadata?.value
10020
+ }
10021
+ })) : null);
10022
+ const HighlightJSX = () => {
10023
+ if (!nodeData?.highlight?.metadata?.value) {
10024
+ return null;
10025
+ }
10026
+ return /*#__PURE__*/React.createElement("div", {
10027
+ className: classes.cardWrapper
10028
+ }, /*#__PURE__*/React.createElement("div", {
10029
+ className: classes.card
10030
+ }, /*#__PURE__*/React.createElement("div", {
10031
+ className: classes.cardDesc
10032
+ }, /*#__PURE__*/React.createElement("span", {
10033
+ className: classes.highlightText,
10034
+ ref: highlightNodeData?.courses?.refSetter,
10035
+ dangerouslySetInnerHTML: {
10036
+ __html: highlightNodeData?.courses?.metadata?.value
10037
+ }
10038
+ }), /*#__PURE__*/React.createElement("span", {
10039
+ className: classes.highlightHeading
10040
+ }, "Courses")), /*#__PURE__*/React.createElement(Icon, {
10041
+ name: 'BookSaved',
10042
+ color: theme.palette.font.primary,
10043
+ width: '32px',
10044
+ height: '32px'
10045
+ })), /*#__PURE__*/React.createElement("div", {
10046
+ className: classes.card
10047
+ }, /*#__PURE__*/React.createElement("div", {
10048
+ className: classes.cardDesc
10049
+ }, /*#__PURE__*/React.createElement("span", {
10050
+ className: classes.highlightText,
10051
+ ref: highlightNodeData?.students?.refSetter,
10052
+ dangerouslySetInnerHTML: {
10053
+ __html: highlightNodeData?.students?.metadata?.value
10054
+ }
10055
+ }), /*#__PURE__*/React.createElement("span", {
10056
+ className: classes.highlightHeading
10057
+ }, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
10058
+ name: 'GroupProfile',
10059
+ color: theme.palette.font.primary,
10060
+ width: '32px',
10061
+ height: '32px'
10062
+ })));
10063
+ };
10064
+ return /*#__PURE__*/React.createElement("div", {
10065
+ className: classes.aboutInstWrapper
10066
+ }, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
10067
+ className: classes.aboutInstText
10068
+ }, /*#__PURE__*/React.createElement("span", {
10069
+ ref: nodeData?.heading?.refSetter,
10070
+ dangerouslySetInnerHTML: {
10071
+ __html: nodeData?.heading?.metadata?.value
10072
+ }
10073
+ })) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React.createElement("h2", {
10074
+ className: classes.aboutInstHeader
10075
+ }, /*#__PURE__*/React.createElement("span", {
10076
+ ref: nodeData?.title?.refSetter,
10077
+ dangerouslySetInnerHTML: {
10078
+ __html: nodeData?.title?.metadata?.value
10079
+ }
10080
+ })) : null, isMobile ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
10081
+ className: classes.contentWrapper
10082
+ }, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(HighlightJSX, null)), /*#__PURE__*/React.createElement(ContentJSX, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
10083
+ className: classes.contentWrapper
10084
+ }, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(ContentJSX, null)), /*#__PURE__*/React.createElement(HighlightJSX, null)));
10085
+ }
10086
+
10087
+ var index = /*#__PURE__*/Object.freeze({
10088
+ __proto__: null,
10089
+ 'default': ABOUT_INSTITUTE
10090
+ });
10091
+
9609
10092
  const TYPE_TO_COMPONENT_MAP = {
9610
10093
  BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
9611
10094
  GRID_CARD: List,
@@ -9628,7 +10111,8 @@ const TYPE_TO_COMPONENT_MAP = {
9628
10111
  COURSE_LANDING_PAGE: CoursePromotionPage,
9629
10112
  FORM_LANDING_PAGE: FormPage,
9630
10113
  TILES_SECTION: Tiles,
9631
- EMAIL_DRIP_MARKET: EmailDripMarket
10114
+ EMAIL_DRIP_MARKET: EmailDripMarket,
10115
+ ABOUT_INSTITUTE
9632
10116
  };
9633
10117
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
9634
10118
  const MemoisedSection = /*#__PURE__*/memo(({