diy-template-components 2.0.48 → 2.0.50

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,22 @@ 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
+ if (slug && pathname.includes(slug)) {
1080
+ return true;
1081
+ } else {
1082
+ return false;
1083
+ }
1084
+ }
1085
+ }
1064
1086
  const tabsDataModifier = () => {
1065
1087
  return optionsData?.map(dt => {
1066
1088
  return {
1067
1089
  value: dt.title,
1068
1090
  link: dt.slug,
1069
- active: dt.active,
1091
+ active: checkIsActiveTab(dt.slug),
1070
1092
  isLink: true,
1071
1093
  isExternal: 0
1072
1094
  };
@@ -1083,12 +1105,11 @@ function OptionList({
1083
1105
  const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
1084
1106
  const renderDownloadAppButton = () => {
1085
1107
  return /*#__PURE__*/React.createElement(React.Fragment, null, apkURL && /*#__PURE__*/React.createElement("a", {
1086
- download: true,
1087
1108
  href: headerData?.apkURL,
1088
1109
  target: "_blank",
1089
1110
  className: classes.socialBtnItems,
1090
1111
  onClick: () => {
1091
- if (typeof onDownloadAppTriggered == "function") {
1112
+ if (typeof onDownloadAppTriggered == 'function') {
1092
1113
  onDownloadAppTriggered(isAndroidDelisted, headerData?.apkURL);
1093
1114
  }
1094
1115
  }
@@ -1417,7 +1438,7 @@ function MobileHeader({
1417
1438
  onClick: () => {
1418
1439
  let url = getAppDownloadLink(apkURL, iosDownloadLink);
1419
1440
  window.open(url, '_blank');
1420
- if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
1441
+ if (url === apkURL && typeof onDownloadAppTriggered == 'function') {
1421
1442
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1422
1443
  }
1423
1444
  }
@@ -1452,7 +1473,7 @@ function MobileHeader({
1452
1473
  onClick: () => {
1453
1474
  let url = getAppDownloadLink(apkURL, iosDownloadLink);
1454
1475
  window.open(url, '_blank');
1455
- if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
1476
+ if (url === apkURL && typeof onDownloadAppTriggered == 'function') {
1456
1477
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1457
1478
  }
1458
1479
  }
@@ -1548,13 +1569,13 @@ function Header({
1548
1569
  header: data,
1549
1570
  isTutorWebsite: isTutorWebsite,
1550
1571
  isLandingPage: isLandingPage,
1551
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1572
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1552
1573
  }) : /*#__PURE__*/React.createElement(DesktopHeader, {
1553
1574
  navData: filterHiddenNavs(),
1554
1575
  header: data,
1555
1576
  isTutorWebsite: isTutorWebsite,
1556
1577
  isLandingPage: isLandingPage,
1557
- onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1578
+ onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1558
1579
  });
1559
1580
  }
1560
1581
 
@@ -2146,28 +2167,29 @@ function NanumSquare() {
2146
2167
  }
2147
2168
 
2148
2169
  const TYPE_TO_COMPONENT_MAP$1 = {
2149
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2150
- GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2151
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2152
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2153
- FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2154
- TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2155
- VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2156
- VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2157
- INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2158
- TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2159
- IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2160
- FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2161
- COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2162
- TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2163
- TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2164
- CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2165
- FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2166
- WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2167
- COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2168
- FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2169
- TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2170
- EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2170
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
2171
+ GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2172
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2173
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2174
+ FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2175
+ TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2176
+ VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2177
+ VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2178
+ INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2179
+ TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2180
+ IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2181
+ FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2182
+ COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2183
+ TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2184
+ TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2185
+ CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2186
+ FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2187
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2188
+ COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2189
+ FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2190
+ TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2191
+ EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2192
+ ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2171
2193
  };
2172
2194
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
2173
2195
  const MemoisedSection$1 = /*#__PURE__*/memo(({
@@ -2918,7 +2940,7 @@ function BannerCarouselRight({
2918
2940
  })))));
2919
2941
  }
2920
2942
 
2921
- var index$l = /*#__PURE__*/Object.freeze({
2943
+ var index$m = /*#__PURE__*/Object.freeze({
2922
2944
  __proto__: null,
2923
2945
  'default': BannerCarouselRight
2924
2946
  });
@@ -3144,7 +3166,7 @@ function List({
3144
3166
  }))));
3145
3167
  }
3146
3168
 
3147
- var index$k = /*#__PURE__*/Object.freeze({
3169
+ var index$l = /*#__PURE__*/Object.freeze({
3148
3170
  __proto__: null,
3149
3171
  'default': List
3150
3172
  });
@@ -3329,8 +3351,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3329
3351
  paddingBottom: '0'
3330
3352
  },
3331
3353
  centerBgImageContainerWithMobile: {
3332
- height: '40rem',
3333
- width: '100%'
3354
+ // height: '40rem',
3355
+ width: '100%',
3356
+ aspectRatio: '1/2'
3334
3357
  },
3335
3358
  sectionContainer: {
3336
3359
  position: 'unset'
@@ -3438,7 +3461,7 @@ function BannerCarouselCenter({
3438
3461
  }))));
3439
3462
  }
3440
3463
 
3441
- var index$j = /*#__PURE__*/Object.freeze({
3464
+ var index$k = /*#__PURE__*/Object.freeze({
3442
3465
  __proto__: null,
3443
3466
  'default': BannerCarouselCenter
3444
3467
  });
@@ -3670,7 +3693,7 @@ function BannerCarouselLeft({
3670
3693
  })))));
3671
3694
  }
3672
3695
 
3673
- var index$i = /*#__PURE__*/Object.freeze({
3696
+ var index$j = /*#__PURE__*/Object.freeze({
3674
3697
  __proto__: null,
3675
3698
  'default': BannerCarouselLeft
3676
3699
  });
@@ -4066,7 +4089,7 @@ function SubscribeToNewsletter({
4066
4089
  })))))));
4067
4090
  }
4068
4091
 
4069
- var index$h = /*#__PURE__*/Object.freeze({
4092
+ var index$i = /*#__PURE__*/Object.freeze({
4070
4093
  __proto__: null,
4071
4094
  'default': SubscribeToNewsletter
4072
4095
  });
@@ -4354,7 +4377,7 @@ function Testimonials({
4354
4377
  }));
4355
4378
  }
4356
4379
 
4357
- var index$g = /*#__PURE__*/Object.freeze({
4380
+ var index$h = /*#__PURE__*/Object.freeze({
4358
4381
  __proto__: null,
4359
4382
  'default': Testimonials
4360
4383
  });
@@ -4760,7 +4783,7 @@ function VideoTestimonial({
4760
4783
  }))))));
4761
4784
  }
4762
4785
 
4763
- var index$f = /*#__PURE__*/Object.freeze({
4786
+ var index$g = /*#__PURE__*/Object.freeze({
4764
4787
  __proto__: null,
4765
4788
  'default': VideoTestimonial
4766
4789
  });
@@ -4996,7 +5019,7 @@ function Video({
4996
5019
  }, carouselContent))));
4997
5020
  }
4998
5021
 
4999
- var index$e = /*#__PURE__*/Object.freeze({
5022
+ var index$f = /*#__PURE__*/Object.freeze({
5000
5023
  __proto__: null,
5001
5024
  'default': Video
5002
5025
  });
@@ -5233,7 +5256,7 @@ function Info({
5233
5256
  }, carouselContent))));
5234
5257
  }
5235
5258
 
5236
- var index$d = /*#__PURE__*/Object.freeze({
5259
+ var index$e = /*#__PURE__*/Object.freeze({
5237
5260
  __proto__: null,
5238
5261
  'default': Info
5239
5262
  });
@@ -5352,7 +5375,7 @@ const TextSection = ({
5352
5375
  })))));
5353
5376
  };
5354
5377
 
5355
- var index$c = /*#__PURE__*/Object.freeze({
5378
+ var index$d = /*#__PURE__*/Object.freeze({
5356
5379
  __proto__: null,
5357
5380
  'default': TextSection
5358
5381
  });
@@ -5577,7 +5600,7 @@ function PhotoGallery({
5577
5600
  }, carouselContent))));
5578
5601
  }
5579
5602
 
5580
- var index$b = /*#__PURE__*/Object.freeze({
5603
+ var index$c = /*#__PURE__*/Object.freeze({
5581
5604
  __proto__: null,
5582
5605
  'default': PhotoGallery
5583
5606
  });
@@ -5760,7 +5783,7 @@ const Accordion = ({
5760
5783
  })));
5761
5784
  };
5762
5785
 
5763
- var index$a = /*#__PURE__*/Object.freeze({
5786
+ var index$b = /*#__PURE__*/Object.freeze({
5764
5787
  __proto__: null,
5765
5788
  'default': FAQListing
5766
5789
  });
@@ -5931,7 +5954,7 @@ const TextGrid = ({
5931
5954
  }, carouselContent))));
5932
5955
  };
5933
5956
 
5934
- var index$9 = /*#__PURE__*/Object.freeze({
5957
+ var index$a = /*#__PURE__*/Object.freeze({
5935
5958
  __proto__: null,
5936
5959
  'default': TextGrid
5937
5960
  });
@@ -6463,7 +6486,7 @@ function SimpleCardsContainer({
6463
6486
  }, children);
6464
6487
  }
6465
6488
 
6466
- var index$8 = /*#__PURE__*/Object.freeze({
6489
+ var index$9 = /*#__PURE__*/Object.freeze({
6467
6490
  __proto__: null,
6468
6491
  'default': courses
6469
6492
  });
@@ -6497,7 +6520,8 @@ const useTeamStyles = createUseStyles(theme => {
6497
6520
  marginBottom: '8px',
6498
6521
  color: theme?.colors?.font2,
6499
6522
  // wordBreak: 'break-word',
6500
- position: 'relative'
6523
+ position: 'relative',
6524
+ textAlign: 'center'
6501
6525
  },
6502
6526
  teamTitle: {
6503
6527
  fontSize: theme.typography.fontSize.h2,
@@ -6506,47 +6530,44 @@ const useTeamStyles = createUseStyles(theme => {
6506
6530
  letterSpacing: '-3px',
6507
6531
  wordBreak: 'break-word',
6508
6532
  color: theme?.colors?.font2,
6509
- position: 'relative'
6533
+ position: 'relative',
6534
+ textAlign: 'center',
6535
+ marginBottom: '10px !important'
6510
6536
  },
6511
6537
  sliderContainer: {
6512
6538
  margin: '0 -20px'
6513
6539
  },
6514
6540
  contentRow: {
6515
- display: 'grid',
6516
- gridTemplateColumns: ({
6517
- slidesToShow
6518
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6541
+ display: 'flex',
6542
+ justifyContent: 'center',
6543
+ gap: '20px'
6544
+ // gridTemplateColumns: ({ slidesToShow } = {}) =>
6545
+ // `repeat(${slidesToShow},minmax(0, 1fr))`
6519
6546
  },
6547
+
6520
6548
  singleSlideContainer: {
6521
6549
  backgroundColor: theme?.palette?.background?.default,
6522
- margin: '20px',
6523
- width: 'calc(100% - 24px)',
6524
- // height: 'calc(100% - 40px)',
6525
- border: '3px solid #D8E0F0',
6526
- borderRadius: theme?.shape?.borderRadius?.regular,
6527
- padding: theme.spacing.padding.tiny,
6550
+ margin: '20px 0',
6551
+ borderRadius: theme?.shape?.borderRadius?.large,
6528
6552
  boxShadow: theme?.shadows?.primary,
6529
- minHeight: '320px'
6553
+ minHeight: '385px'
6530
6554
  },
6531
6555
  imageContainer: {
6532
6556
  minWidth: '100%',
6533
- borderRadius: theme?.shape?.borderRadius?.regular,
6534
- paddingBottom: '100%',
6535
- position: 'relative'
6557
+ position: 'relative',
6558
+ height: '208px'
6536
6559
  },
6537
6560
  image: {
6538
6561
  width: '100%',
6539
- height: '100%',
6540
- position: 'absolute',
6541
- borderRadius: '50%',
6562
+ height: '208px',
6542
6563
  top: '0',
6543
6564
  left: '0',
6544
- borderRadius: '50%',
6565
+ borderRadius: '12px 12px 0px 0px',
6545
6566
  objectFit: 'cover'
6546
6567
  },
6547
6568
  teamDetailsContainer: {
6548
- textAlign: 'center',
6549
- margin: '20px 0 0'
6569
+ textAlign: 'left',
6570
+ padding: '24px'
6550
6571
  // overflowWrap: 'break-word'
6551
6572
  },
6552
6573
 
@@ -6555,13 +6576,45 @@ const useTeamStyles = createUseStyles(theme => {
6555
6576
  fontWeight: theme.typography.fontWeight.bold,
6556
6577
  lineHeight: '24px',
6557
6578
  margin: '0',
6558
- color: theme?.palette?.font?.default
6579
+ color: theme?.palette?.font?.default,
6580
+ textOverflow: 'ellipsis',
6581
+ overflow: 'hidden',
6582
+ display: '-webkit-box',
6583
+ WebkitLineClamp: 2,
6584
+ WebkitBoxOrient: 'vertical',
6585
+ minHeight: '2.1em'
6559
6586
  },
6560
6587
  teamDetailsSubHeading: {
6561
- fontSize: theme.typography.fontSize.body,
6562
- lineHeight: '24px',
6563
- margin: '6px 0 0',
6564
- color: theme?.palette?.font?.primary
6588
+ fontSize: '14px',
6589
+ lineHeight: '18px',
6590
+ color: theme?.palette?.font?.primary,
6591
+ fontWeight: '400',
6592
+ textOverflow: 'ellipsis',
6593
+ overflow: 'hidden',
6594
+ display: '-webkit-box',
6595
+ WebkitLineClamp: 1,
6596
+ WebkitBoxOrient: 'vertical'
6597
+ },
6598
+ subHeadingWrapper: {
6599
+ display: 'flex',
6600
+ alignItems: 'center',
6601
+ margin: '10px 0px 0px',
6602
+ gap: '6px'
6603
+ },
6604
+ starTag: {
6605
+ display: 'flex',
6606
+ alignItems: 'center',
6607
+ gap: '6px',
6608
+ position: 'absolute',
6609
+ marginTop: '16px',
6610
+ background: 'rgba(22, 118, 243, 1)',
6611
+ borderRadius: '0px 6px 6px 0px',
6612
+ padding: '2px 16px'
6613
+ },
6614
+ starTagText: {
6615
+ color: 'white',
6616
+ fontSize: '12px',
6617
+ lineHeight: '20px'
6565
6618
  },
6566
6619
  '@media (max-width: 767px)': {
6567
6620
  // teamSuperContainer: {
@@ -6584,16 +6637,15 @@ const useTeamStyles = createUseStyles(theme => {
6584
6637
  },
6585
6638
  singleSlideContainer: {
6586
6639
  padding: '24px',
6587
- width: 'calc(100% - 16px)',
6640
+ // width: 'calc(100% - 16px)',
6588
6641
  margin: '12px 4px',
6589
6642
  minHeight: '260px'
6590
6643
  },
6591
6644
  teamDetailsContainer: {
6592
- textAlign: 'center'
6645
+ // textAlign: 'center'
6593
6646
  // margin: '15px 0 0',
6594
6647
  // paddingBottom: '0'
6595
6648
  },
6596
-
6597
6649
  teamDetailsHeading: {
6598
6650
  fontSize: '16px',
6599
6651
  lineHeight: '24px',
@@ -6606,16 +6658,39 @@ const useTeamStyles = createUseStyles(theme => {
6606
6658
  };
6607
6659
  });
6608
6660
 
6661
+ 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";
6662
+
6663
+ 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";
6664
+
6665
+ 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";
6666
+
6667
+ 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";
6668
+
6609
6669
  const SingleSlide = ({
6610
6670
  data,
6611
- sectionIndex
6671
+ sectionIndex,
6672
+ fullWidth,
6673
+ isMobile
6612
6674
  }) => {
6613
6675
  const classes = useTeamStyles();
6614
6676
  return /*#__PURE__*/React.createElement("div", {
6615
- className: classes.singleSlideContainer
6677
+ className: classes.singleSlideContainer,
6678
+ style: isMobile ? {
6679
+ width: 'calc(100% - 16px)'
6680
+ } : fullWidth ? {
6681
+ width: 'calc(100% - 24px)'
6682
+ } : {
6683
+ width: 'calc(25% - 24px)'
6684
+ }
6616
6685
  }, /*#__PURE__*/React.createElement("div", {
6617
6686
  className: classes.imageContainer
6618
- }, /*#__PURE__*/React.createElement(NextImageRenderer, {
6687
+ }, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React.createElement("span", {
6688
+ className: classes.starTag
6689
+ }, /*#__PURE__*/React.createElement("img", {
6690
+ src: StarIcon
6691
+ }), /*#__PURE__*/React.createElement("span", {
6692
+ className: classes.starTagText
6693
+ }, "Star Tutor")) : null, /*#__PURE__*/React.createElement(NextImageRenderer, {
6619
6694
  ref: data?.image?.refSetter,
6620
6695
  className: classes.image,
6621
6696
  alt: "Hero Image",
@@ -6629,13 +6704,43 @@ const SingleSlide = ({
6629
6704
  dangerouslySetInnerHTML: {
6630
6705
  __html: data.teamSlideTitle.metadata.value
6631
6706
  }
6632
- }), /*#__PURE__*/React.createElement("div", {
6707
+ }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6633
6708
  ref: data?.teamSlideSubTitle?.refSetter,
6634
6709
  className: classes.teamDetailsSubHeading,
6635
6710
  dangerouslySetInnerHTML: {
6636
6711
  __html: data.teamSlideSubTitle.metadata.value
6637
6712
  }
6638
- })));
6713
+ }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6714
+ className: classes.subHeadingWrapper
6715
+ }, /*#__PURE__*/React.createElement("img", {
6716
+ src: RankIcon
6717
+ }), /*#__PURE__*/React.createElement("div", {
6718
+ ref: data?.teamSlideYearOfExperience?.refSetter,
6719
+ className: classes.teamDetailsSubHeading,
6720
+ dangerouslySetInnerHTML: {
6721
+ __html: data.teamSlideYearOfExperience.metadata.value
6722
+ }
6723
+ })) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6724
+ className: classes.subHeadingWrapper
6725
+ }, /*#__PURE__*/React.createElement("img", {
6726
+ src: Book
6727
+ }), /*#__PURE__*/React.createElement("div", {
6728
+ ref: data?.teamSlideSpecialisation?.refSetter,
6729
+ className: classes.teamDetailsSubHeading,
6730
+ dangerouslySetInnerHTML: {
6731
+ __html: data.teamSlideSpecialisation.metadata.value
6732
+ }
6733
+ })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6734
+ className: classes.subHeadingWrapper
6735
+ }, /*#__PURE__*/React.createElement("img", {
6736
+ src: Teacher
6737
+ }), /*#__PURE__*/React.createElement("div", {
6738
+ ref: data?.teamSlideQualification?.refSetter,
6739
+ className: classes.teamDetailsSubHeading,
6740
+ dangerouslySetInnerHTML: {
6741
+ __html: data.teamSlideQualification.metadata.value
6742
+ }
6743
+ })) : null));
6639
6744
  };
6640
6745
 
6641
6746
  function TeamCard({
@@ -6665,11 +6770,13 @@ function TeamCard({
6665
6770
  centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
6666
6771
  centerMode: true
6667
6772
  };
6668
- const carouselContent = teamData.teamCarousel.components.map((data, idx) => {
6773
+ const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
6669
6774
  return /*#__PURE__*/React.createElement(SingleSlide, {
6670
6775
  key: idx,
6671
6776
  data: data,
6672
- sectionIndex: sectionIndex
6777
+ sectionIndex: sectionIndex,
6778
+ fullWidth: fullWidth,
6779
+ isMobile: isMobile
6673
6780
  });
6674
6781
  });
6675
6782
  return /*#__PURE__*/React.createElement("section", {
@@ -6693,12 +6800,12 @@ function TeamCard({
6693
6800
  })), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
6694
6801
  hideArrow: isMobile,
6695
6802
  settings: settings
6696
- }, carouselContent) : /*#__PURE__*/React.createElement("div", {
6803
+ }, getCarouselContent(true)) : /*#__PURE__*/React.createElement("div", {
6697
6804
  className: classes.contentRow
6698
- }, " ", carouselContent)));
6805
+ }, " ", getCarouselContent())));
6699
6806
  }
6700
6807
 
6701
- var index$7 = /*#__PURE__*/Object.freeze({
6808
+ var index$8 = /*#__PURE__*/Object.freeze({
6702
6809
  __proto__: null,
6703
6810
  'default': TeamCard
6704
6811
  });
@@ -7123,7 +7230,7 @@ function FormEnquiry({
7123
7230
  })))))));
7124
7231
  }
7125
7232
 
7126
- var index$6 = /*#__PURE__*/Object.freeze({
7233
+ var index$7 = /*#__PURE__*/Object.freeze({
7127
7234
  __proto__: null,
7128
7235
  'default': FormEnquiry
7129
7236
  });
@@ -7547,7 +7654,7 @@ function Contact({
7547
7654
  })))))));
7548
7655
  }
7549
7656
 
7550
- var index$5 = /*#__PURE__*/Object.freeze({
7657
+ var index$6 = /*#__PURE__*/Object.freeze({
7551
7658
  __proto__: null,
7552
7659
  'default': Contact
7553
7660
  });
@@ -8026,7 +8133,7 @@ function CoursePromotionPage$1({
8026
8133
  }))));
8027
8134
  }
8028
8135
 
8029
- var index$4 = /*#__PURE__*/Object.freeze({
8136
+ var index$5 = /*#__PURE__*/Object.freeze({
8030
8137
  __proto__: null,
8031
8138
  'default': CoursePromotionPage$1
8032
8139
  });
@@ -8618,7 +8725,7 @@ function CoursePromotionPage({
8618
8725
  }))));
8619
8726
  }
8620
8727
 
8621
- var index$3 = /*#__PURE__*/Object.freeze({
8728
+ var index$4 = /*#__PURE__*/Object.freeze({
8622
8729
  __proto__: null,
8623
8730
  'default': CoursePromotionPage
8624
8731
  });
@@ -8983,7 +9090,7 @@ const FormPage = ({
8983
9090
  })))));
8984
9091
  };
8985
9092
 
8986
- var index$2 = /*#__PURE__*/Object.freeze({
9093
+ var index$3 = /*#__PURE__*/Object.freeze({
8987
9094
  __proto__: null,
8988
9095
  'default': FormPage
8989
9096
  });
@@ -9131,7 +9238,7 @@ function Tiles({
9131
9238
  }, TileDiv)));
9132
9239
  }
9133
9240
 
9134
- var index$1 = /*#__PURE__*/Object.freeze({
9241
+ var index$2 = /*#__PURE__*/Object.freeze({
9135
9242
  __proto__: null,
9136
9243
  'default': Tiles
9137
9244
  });
@@ -9606,11 +9713,380 @@ function EmailDripMarket({
9606
9713
  })));
9607
9714
  }
9608
9715
 
9609
- var index = /*#__PURE__*/Object.freeze({
9716
+ var index$1 = /*#__PURE__*/Object.freeze({
9610
9717
  __proto__: null,
9611
9718
  'default': EmailDripMarket
9612
9719
  });
9613
9720
 
9721
+ const useAboutInstituteStyles = createUseStyles(theme => ({
9722
+ aboutInstText: {
9723
+ alignSelf: 'center',
9724
+ color: 'var(--Black, #0A1629)',
9725
+ fontSize: '24px',
9726
+ fontWeight: '400',
9727
+ fontFamily: theme?.typography?.fontFamily
9728
+ },
9729
+ metaChild: {
9730
+ fontSize: '16px',
9731
+ fontStyle: 'normal',
9732
+ fontWeight: '400',
9733
+ fontFamily: theme?.typography?.fontFamily
9734
+ },
9735
+ aboutInstWrapper: {
9736
+ padding: '64px 128px',
9737
+ display: 'flex',
9738
+ justifyContent: 'center',
9739
+ flexDirection: 'column',
9740
+ background: '#FFF',
9741
+ fontFamily: theme?.typography?.fontFamily
9742
+ },
9743
+ abtoutInstText: {
9744
+ color: theme?.palette?.font?.secondary,
9745
+ fontWeight: '400',
9746
+ fontSize: theme.typography.fontSize.subHead,
9747
+ lineHeight: '20px',
9748
+ textAlign: 'center',
9749
+ textTransform: 'uppercase',
9750
+ wordBreak: 'break-word'
9751
+ },
9752
+ aboutInstHeader: {
9753
+ fontSize: theme.typography.fontSize.h2,
9754
+ color: theme?.palette?.font?.default,
9755
+ margin: '0px',
9756
+ marginBottom: '56px',
9757
+ textAlign: 'center'
9758
+ },
9759
+ imageContainer: {
9760
+ width: '240px',
9761
+ height: '240px',
9762
+ position: 'relative'
9763
+ // borderRadius: '16px',
9764
+ // border: '1px solid var(--stroke, #D8E0F0)',
9765
+ },
9766
+
9767
+ image: {
9768
+ width: '100%',
9769
+ height: '100%',
9770
+ borderRadius: '16px',
9771
+ border: '1px solid var(--stroke, #D8E0F0)'
9772
+ },
9773
+ infoContainer: {
9774
+ padding: '24px',
9775
+ gap: '16px',
9776
+ display: 'flex',
9777
+ flexDirection: 'column',
9778
+ borderRadius: '16px',
9779
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9780
+ flex: 1
9781
+ },
9782
+ metaInfo: {
9783
+ display: 'flex',
9784
+ gap: '24px',
9785
+ flexWrap: 'wrap'
9786
+ },
9787
+ metaInfoChild: {
9788
+ display: 'flex',
9789
+ justifyContent: 'center',
9790
+ alignItems: 'center',
9791
+ gap: '6px'
9792
+ },
9793
+ contentWrapper: {
9794
+ display: 'flex',
9795
+ gap: '24px',
9796
+ marginBottom: '24px'
9797
+ },
9798
+ cardWrapper: {
9799
+ // display: 'flex',
9800
+ // width: '100%',
9801
+ // gap: '24px'
9802
+ display: 'flex',
9803
+ gap: '24px',
9804
+ flex: 1,
9805
+ lineHeight: 'normal'
9806
+ },
9807
+ card: {
9808
+ padding: '24px',
9809
+ display: 'flex',
9810
+ justifyContent: 'space-between',
9811
+ alignItems: 'center',
9812
+ borderRadius: '16px',
9813
+ background: 'var(--Blue-Tertiary, #F4F9FF)',
9814
+ flexGrow: 1
9815
+ },
9816
+ cardDesc: {
9817
+ display: 'flex',
9818
+ flexDirection: 'column'
9819
+ },
9820
+ infoDetails: {
9821
+ display: 'flex',
9822
+ flexDirection: 'Column',
9823
+ gap: '10px',
9824
+ lineHeight: 'normal'
9825
+ },
9826
+ infoContent: {
9827
+ display: 'flex',
9828
+ flexDirection: 'Column',
9829
+ gap: '8px'
9830
+ },
9831
+ instHeading: {
9832
+ color: 'var(--Black, #0A1629)',
9833
+ fontSize: '32px',
9834
+ fontStyle: 'normal',
9835
+ fontWeight: '600'
9836
+ },
9837
+ aboutText: {
9838
+ fontSize: '24px',
9839
+ fontStyle: 'normal',
9840
+ fontWeight: '600'
9841
+ },
9842
+ instAbout: {
9843
+ fontFamily: theme?.typography?.fontFamily,
9844
+ lineHeight: '22px',
9845
+ fontSize: '14px',
9846
+ fontStyle: 'normal',
9847
+ fontWeight: '400',
9848
+ wordBreak: 'break-word'
9849
+ },
9850
+ highlightText: {
9851
+ color: 'var(--Black, #0A1629)',
9852
+ fontSize: '24px',
9853
+ fontStyle: 'normal',
9854
+ fontWeight: '600',
9855
+ wordBreak: 'break-word'
9856
+ },
9857
+ highlightHeading: {
9858
+ fontSize: '16px',
9859
+ fontStyle: 'normal',
9860
+ fontWeight: '400'
9861
+ },
9862
+ // SMALL SCREEN
9863
+ '@media screen and (max-width: 767px)': {
9864
+ aboutInstText: {
9865
+ fontSize: '16px'
9866
+ },
9867
+ imageContainer: {
9868
+ height: '150px',
9869
+ width: '150px'
9870
+ },
9871
+ image: {
9872
+ borderRadius: '10px',
9873
+ border: '1px solid var(--stroke, #D8E0F0)'
9874
+ },
9875
+ infoContainer: {
9876
+ gap: '16px'
9877
+ },
9878
+ instHeading: {
9879
+ fontSize: '24px'
9880
+ },
9881
+ cardWrapper: {
9882
+ flexDirection: 'column',
9883
+ gap: '8px',
9884
+ lineHeight: 'normal'
9885
+ },
9886
+ aboutInstWrapper: {
9887
+ padding: '16px'
9888
+ },
9889
+ aboutInstHeader: {
9890
+ color: theme?.palette?.font?.default,
9891
+ margin: '0px 0 24px 0',
9892
+ textAlign: 'center',
9893
+ fontSize: '20px'
9894
+ },
9895
+ contentWrapper: {
9896
+ gap: '8px'
9897
+ },
9898
+ card: {
9899
+ padding: '16px'
9900
+ },
9901
+ infoDetails: {
9902
+ gap: '8px',
9903
+ lineHeight: 'normal'
9904
+ },
9905
+ metaInfo: {
9906
+ gap: '8px'
9907
+ },
9908
+ infoContent: {
9909
+ gap: '8px'
9910
+ },
9911
+ metaChild: {
9912
+ fontSize: '12px'
9913
+ },
9914
+ aboutText: {
9915
+ fontSize: '16px'
9916
+ },
9917
+ instAbout: {
9918
+ fontSize: '12px'
9919
+ },
9920
+ highlightText: {
9921
+ fontSize: '16px'
9922
+ },
9923
+ highlightHeading: {
9924
+ fontSize: '12px'
9925
+ }
9926
+ }
9927
+ }));
9928
+
9929
+ function ABOUT_INSTITUTE({
9930
+ sectionData,
9931
+ sectionIndex
9932
+ }) {
9933
+ const {
9934
+ layout: {
9935
+ containerWidth
9936
+ },
9937
+ isMobile
9938
+ } = useContext(PageContext);
9939
+ const classes = useAboutInstituteStyles({
9940
+ containerWidth,
9941
+ isMobile
9942
+ });
9943
+ const [nodeData] = sectionData?.components;
9944
+ const [highlightNodeData] = nodeData?.highlight?.components;
9945
+ const theme = useTheme();
9946
+ const ImageJSX = () => {
9947
+ if (!nodeData?.image?.metadata?.value) {
9948
+ return null;
9949
+ }
9950
+ return /*#__PURE__*/React.createElement("div", {
9951
+ className: classes.imageContainer
9952
+ }, /*#__PURE__*/React.createElement(NextImageRenderer, {
9953
+ className: classes.image,
9954
+ alt: "logo",
9955
+ src: nodeData?.image?.metadata?.value
9956
+ }));
9957
+ };
9958
+ const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
9959
+ className: classes.infoContainer
9960
+ }, /*#__PURE__*/React.createElement("div", {
9961
+ className: classes.infoDetails
9962
+ }, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9963
+ className: classes.instHeading,
9964
+ ref: nodeData?.instName?.refSetter,
9965
+ dangerouslySetInnerHTML: {
9966
+ __html: nodeData?.instName?.metadata?.value
9967
+ }
9968
+ }) : null, /*#__PURE__*/React.createElement("div", {
9969
+ className: classes.metaInfo
9970
+ }, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9971
+ className: classes.metaInfoChild
9972
+ }, /*#__PURE__*/React.createElement(Icon, {
9973
+ name: 'BookSaved',
9974
+ color: theme.palette.font.primary,
9975
+ width: '20px',
9976
+ height: '20px'
9977
+ }), /*#__PURE__*/React.createElement("div", {
9978
+ className: classes.metaChild,
9979
+ ref: nodeData?.spec?.refSetter,
9980
+ dangerouslySetInnerHTML: {
9981
+ __html: nodeData?.spec?.metadata?.value
9982
+ }
9983
+ })) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9984
+ className: classes.metaInfoChild
9985
+ }, /*#__PURE__*/React.createElement(Icon, {
9986
+ name: 'Teacher',
9987
+ color: theme.palette.font.primary,
9988
+ width: '20px',
9989
+ height: '20px'
9990
+ }), /*#__PURE__*/React.createElement("div", {
9991
+ className: classes.metaChild,
9992
+ ref: nodeData?.qual?.refSetter,
9993
+ dangerouslySetInnerHTML: {
9994
+ __html: nodeData?.qual?.metadata?.value
9995
+ }
9996
+ })) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9997
+ className: classes.metaInfoChild
9998
+ }, /*#__PURE__*/React.createElement(Icon, {
9999
+ name: 'Medal',
10000
+ color: theme.palette.font.primary,
10001
+ width: '20px',
10002
+ height: '20px'
10003
+ }), /*#__PURE__*/React.createElement("div", {
10004
+ className: classes.metaChild,
10005
+ ref: nodeData?.exp?.refSetter,
10006
+ dangerouslySetInnerHTML: {
10007
+ __html: nodeData?.exp?.metadata?.value
10008
+ }
10009
+ })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
10010
+ className: classes.infoContent
10011
+ }, /*#__PURE__*/React.createElement("div", {
10012
+ className: classes.aboutText
10013
+ }, "About"), /*#__PURE__*/React.createElement("div", {
10014
+ className: classes.instAbout,
10015
+ ref: nodeData?.content?.refSetter,
10016
+ dangerouslySetInnerHTML: {
10017
+ __html: nodeData?.content?.metadata?.value
10018
+ }
10019
+ })) : null);
10020
+ const HighlightJSX = () => {
10021
+ if (!nodeData?.highlight?.metadata?.value) {
10022
+ return null;
10023
+ }
10024
+ return /*#__PURE__*/React.createElement("div", {
10025
+ className: classes.cardWrapper
10026
+ }, /*#__PURE__*/React.createElement("div", {
10027
+ className: classes.card
10028
+ }, /*#__PURE__*/React.createElement("div", {
10029
+ className: classes.cardDesc
10030
+ }, /*#__PURE__*/React.createElement("span", {
10031
+ className: classes.highlightText,
10032
+ ref: highlightNodeData?.courses?.refSetter,
10033
+ dangerouslySetInnerHTML: {
10034
+ __html: highlightNodeData?.courses?.metadata?.value
10035
+ }
10036
+ }), /*#__PURE__*/React.createElement("span", {
10037
+ className: classes.highlightHeading
10038
+ }, "Courses")), /*#__PURE__*/React.createElement(Icon, {
10039
+ name: 'BookSaved',
10040
+ color: theme.palette.font.primary,
10041
+ width: '32px',
10042
+ height: '32px'
10043
+ })), /*#__PURE__*/React.createElement("div", {
10044
+ className: classes.card
10045
+ }, /*#__PURE__*/React.createElement("div", {
10046
+ className: classes.cardDesc
10047
+ }, /*#__PURE__*/React.createElement("span", {
10048
+ className: classes.highlightText,
10049
+ ref: highlightNodeData?.students?.refSetter,
10050
+ dangerouslySetInnerHTML: {
10051
+ __html: highlightNodeData?.students?.metadata?.value
10052
+ }
10053
+ }), /*#__PURE__*/React.createElement("span", {
10054
+ className: classes.highlightHeading
10055
+ }, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
10056
+ name: 'GroupProfile',
10057
+ color: theme.palette.font.primary,
10058
+ width: '32px',
10059
+ height: '32px'
10060
+ })));
10061
+ };
10062
+ return /*#__PURE__*/React.createElement("div", {
10063
+ className: classes.aboutInstWrapper
10064
+ }, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
10065
+ className: classes.aboutInstText
10066
+ }, /*#__PURE__*/React.createElement("span", {
10067
+ ref: nodeData?.heading?.refSetter,
10068
+ dangerouslySetInnerHTML: {
10069
+ __html: nodeData?.heading?.metadata?.value
10070
+ }
10071
+ })) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React.createElement("h2", {
10072
+ className: classes.aboutInstHeader
10073
+ }, /*#__PURE__*/React.createElement("span", {
10074
+ ref: nodeData?.title?.refSetter,
10075
+ dangerouslySetInnerHTML: {
10076
+ __html: nodeData?.title?.metadata?.value
10077
+ }
10078
+ })) : null, isMobile ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
10079
+ className: classes.contentWrapper
10080
+ }, /*#__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", {
10081
+ className: classes.contentWrapper
10082
+ }, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(ContentJSX, null)), /*#__PURE__*/React.createElement(HighlightJSX, null)));
10083
+ }
10084
+
10085
+ var index = /*#__PURE__*/Object.freeze({
10086
+ __proto__: null,
10087
+ 'default': ABOUT_INSTITUTE
10088
+ });
10089
+
9614
10090
  const TYPE_TO_COMPONENT_MAP = {
9615
10091
  BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
9616
10092
  GRID_CARD: List,
@@ -9633,7 +10109,8 @@ const TYPE_TO_COMPONENT_MAP = {
9633
10109
  COURSE_LANDING_PAGE: CoursePromotionPage,
9634
10110
  FORM_LANDING_PAGE: FormPage,
9635
10111
  TILES_SECTION: Tiles,
9636
- EMAIL_DRIP_MARKET: EmailDripMarket
10112
+ EMAIL_DRIP_MARKET: EmailDripMarket,
10113
+ ABOUT_INSTITUTE
9637
10114
  };
9638
10115
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
9639
10116
  const MemoisedSection = /*#__PURE__*/memo(({