diy-template-components 2.0.51 → 2.0.52

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.js CHANGED
@@ -678,14 +678,6 @@ var calendar$1 = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%
678
678
 
679
679
  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";
680
680
 
681
- 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";
682
-
683
- 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";
684
-
685
- 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";
686
-
687
- 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";
688
-
689
681
  /** @returns {import('./types').IconData} */
690
682
  const getConfiguredIcon1 = url => ({
691
683
  url,
@@ -786,11 +778,7 @@ const icons = {
786
778
  'Book Saved': getConfiguredIcon2(bookSaved, false, true),
787
779
  Certificate: getConfiguredIcon2(certificate, false, true),
788
780
  Calendar: getConfiguredIcon2(calendar$1, false, true),
789
- Video: getConfiguredIcon2(video, false, true),
790
- BookSaved: getConfiguredIcon2(bookSavedIcon, false, true),
791
- Teacher: getConfiguredIcon2(teacherIcon, false, true),
792
- Medal: getConfiguredIcon2(medalIcon, false, true),
793
- GroupProfile: getConfiguredIcon2(groupProfile, false, true)
781
+ Video: getConfiguredIcon2(video, false, true)
794
782
  };
795
783
 
796
784
  const someMethod1 = ( /** @type {import('./types').IconData["svgChildrenConfigs"]} */svgChildrenConfigs, color, hoverColor) => {
@@ -1089,23 +1077,12 @@ function OptionList({
1089
1077
  isPreview,
1090
1078
  countryCode
1091
1079
  } = React.useContext(PageContext);
1092
- function checkIsActiveTab(slug = "") {
1093
- if (typeof window !== "undefined") {
1094
- const pathname = window.location.pathname;
1095
- const slugFromPathname = pathname?.split('/')[1];
1096
- if (slug && slugFromPathname.includes(slug)) {
1097
- return true;
1098
- } else {
1099
- return false;
1100
- }
1101
- }
1102
- }
1103
1080
  const tabsDataModifier = () => {
1104
1081
  return optionsData?.map(dt => {
1105
1082
  return {
1106
1083
  value: dt.title,
1107
1084
  link: dt.slug,
1108
- active: checkIsActiveTab(dt.slug),
1085
+ active: dt.active,
1109
1086
  isLink: true,
1110
1087
  isExternal: 0
1111
1088
  };
@@ -1586,13 +1563,13 @@ function Header({
1586
1563
  header: data,
1587
1564
  isTutorWebsite: isTutorWebsite,
1588
1565
  isLandingPage: isLandingPage,
1589
- onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1566
+ onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1590
1567
  }) : /*#__PURE__*/React__default["default"].createElement(DesktopHeader, {
1591
1568
  navData: filterHiddenNavs(),
1592
1569
  header: data,
1593
1570
  isTutorWebsite: isTutorWebsite,
1594
1571
  isLandingPage: isLandingPage,
1595
- onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
1572
+ onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
1596
1573
  });
1597
1574
  }
1598
1575
 
@@ -2184,29 +2161,28 @@ function NanumSquare() {
2184
2161
  }
2185
2162
 
2186
2163
  const TYPE_TO_COMPONENT_MAP$1 = {
2187
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$m; })),
2188
- GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
2189
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
2190
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
2191
- FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
2192
- TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
2193
- VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
2194
- VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
2195
- INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
2196
- TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
2197
- IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
2198
- FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
2199
- COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
2200
- TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
2201
- TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
2202
- CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
2203
- FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
2204
- WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
2205
- COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
2206
- FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
2207
- TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
2208
- EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
2209
- ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
2164
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
2165
+ GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
2166
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
2167
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
2168
+ FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
2169
+ TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
2170
+ VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
2171
+ VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
2172
+ INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
2173
+ TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
2174
+ IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
2175
+ FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
2176
+ COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
2177
+ TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
2178
+ TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
2179
+ CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
2180
+ FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
2181
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
2182
+ COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
2183
+ FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
2184
+ TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
2185
+ EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
2210
2186
  };
2211
2187
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
2212
2188
  const MemoisedSection$1 = /*#__PURE__*/React.memo(({
@@ -2957,7 +2933,7 @@ function BannerCarouselRight({
2957
2933
  })))));
2958
2934
  }
2959
2935
 
2960
- var index$m = /*#__PURE__*/Object.freeze({
2936
+ var index$l = /*#__PURE__*/Object.freeze({
2961
2937
  __proto__: null,
2962
2938
  'default': BannerCarouselRight
2963
2939
  });
@@ -3183,7 +3159,7 @@ function List({
3183
3159
  }))));
3184
3160
  }
3185
3161
 
3186
- var index$l = /*#__PURE__*/Object.freeze({
3162
+ var index$k = /*#__PURE__*/Object.freeze({
3187
3163
  __proto__: null,
3188
3164
  'default': List
3189
3165
  });
@@ -3368,9 +3344,8 @@ const useSectionStyles$6 = createUseStyles(theme => {
3368
3344
  paddingBottom: '0'
3369
3345
  },
3370
3346
  centerBgImageContainerWithMobile: {
3371
- // height: '40rem',
3372
- width: '100%',
3373
- aspectRatio: '1/2'
3347
+ height: '40rem',
3348
+ width: '100%'
3374
3349
  },
3375
3350
  sectionContainer: {
3376
3351
  position: 'unset'
@@ -3478,7 +3453,7 @@ function BannerCarouselCenter({
3478
3453
  }))));
3479
3454
  }
3480
3455
 
3481
- var index$k = /*#__PURE__*/Object.freeze({
3456
+ var index$j = /*#__PURE__*/Object.freeze({
3482
3457
  __proto__: null,
3483
3458
  'default': BannerCarouselCenter
3484
3459
  });
@@ -3710,7 +3685,7 @@ function BannerCarouselLeft({
3710
3685
  })))));
3711
3686
  }
3712
3687
 
3713
- var index$j = /*#__PURE__*/Object.freeze({
3688
+ var index$i = /*#__PURE__*/Object.freeze({
3714
3689
  __proto__: null,
3715
3690
  'default': BannerCarouselLeft
3716
3691
  });
@@ -4106,7 +4081,7 @@ function SubscribeToNewsletter({
4106
4081
  })))))));
4107
4082
  }
4108
4083
 
4109
- var index$i = /*#__PURE__*/Object.freeze({
4084
+ var index$h = /*#__PURE__*/Object.freeze({
4110
4085
  __proto__: null,
4111
4086
  'default': SubscribeToNewsletter
4112
4087
  });
@@ -4394,7 +4369,7 @@ function Testimonials({
4394
4369
  }));
4395
4370
  }
4396
4371
 
4397
- var index$h = /*#__PURE__*/Object.freeze({
4372
+ var index$g = /*#__PURE__*/Object.freeze({
4398
4373
  __proto__: null,
4399
4374
  'default': Testimonials
4400
4375
  });
@@ -4800,7 +4775,7 @@ function VideoTestimonial({
4800
4775
  }))))));
4801
4776
  }
4802
4777
 
4803
- var index$g = /*#__PURE__*/Object.freeze({
4778
+ var index$f = /*#__PURE__*/Object.freeze({
4804
4779
  __proto__: null,
4805
4780
  'default': VideoTestimonial
4806
4781
  });
@@ -5036,7 +5011,7 @@ function Video({
5036
5011
  }, carouselContent))));
5037
5012
  }
5038
5013
 
5039
- var index$f = /*#__PURE__*/Object.freeze({
5014
+ var index$e = /*#__PURE__*/Object.freeze({
5040
5015
  __proto__: null,
5041
5016
  'default': Video
5042
5017
  });
@@ -5273,7 +5248,7 @@ function Info({
5273
5248
  }, carouselContent))));
5274
5249
  }
5275
5250
 
5276
- var index$e = /*#__PURE__*/Object.freeze({
5251
+ var index$d = /*#__PURE__*/Object.freeze({
5277
5252
  __proto__: null,
5278
5253
  'default': Info
5279
5254
  });
@@ -5392,7 +5367,7 @@ const TextSection = ({
5392
5367
  })))));
5393
5368
  };
5394
5369
 
5395
- var index$d = /*#__PURE__*/Object.freeze({
5370
+ var index$c = /*#__PURE__*/Object.freeze({
5396
5371
  __proto__: null,
5397
5372
  'default': TextSection
5398
5373
  });
@@ -5617,7 +5592,7 @@ function PhotoGallery({
5617
5592
  }, carouselContent))));
5618
5593
  }
5619
5594
 
5620
- var index$c = /*#__PURE__*/Object.freeze({
5595
+ var index$b = /*#__PURE__*/Object.freeze({
5621
5596
  __proto__: null,
5622
5597
  'default': PhotoGallery
5623
5598
  });
@@ -5800,7 +5775,7 @@ const Accordion = ({
5800
5775
  })));
5801
5776
  };
5802
5777
 
5803
- var index$b = /*#__PURE__*/Object.freeze({
5778
+ var index$a = /*#__PURE__*/Object.freeze({
5804
5779
  __proto__: null,
5805
5780
  'default': FAQListing
5806
5781
  });
@@ -5971,7 +5946,7 @@ const TextGrid = ({
5971
5946
  }, carouselContent))));
5972
5947
  };
5973
5948
 
5974
- var index$a = /*#__PURE__*/Object.freeze({
5949
+ var index$9 = /*#__PURE__*/Object.freeze({
5975
5950
  __proto__: null,
5976
5951
  'default': TextGrid
5977
5952
  });
@@ -6503,7 +6478,7 @@ function SimpleCardsContainer({
6503
6478
  }, children);
6504
6479
  }
6505
6480
 
6506
- var index$9 = /*#__PURE__*/Object.freeze({
6481
+ var index$8 = /*#__PURE__*/Object.freeze({
6507
6482
  __proto__: null,
6508
6483
  'default': courses
6509
6484
  });
@@ -6537,8 +6512,7 @@ const useTeamStyles = createUseStyles(theme => {
6537
6512
  marginBottom: '8px',
6538
6513
  color: theme?.colors?.font2,
6539
6514
  // wordBreak: 'break-word',
6540
- position: 'relative',
6541
- textAlign: 'center'
6515
+ position: 'relative'
6542
6516
  },
6543
6517
  teamTitle: {
6544
6518
  fontSize: theme.typography.fontSize.h2,
@@ -6547,44 +6521,47 @@ const useTeamStyles = createUseStyles(theme => {
6547
6521
  letterSpacing: '-3px',
6548
6522
  wordBreak: 'break-word',
6549
6523
  color: theme?.colors?.font2,
6550
- position: 'relative',
6551
- textAlign: 'center',
6552
- marginBottom: '10px !important'
6524
+ position: 'relative'
6553
6525
  },
6554
6526
  sliderContainer: {
6555
6527
  margin: '0 -20px'
6556
6528
  },
6557
6529
  contentRow: {
6558
- display: 'flex',
6559
- justifyContent: 'center',
6560
- gap: '20px'
6561
- // gridTemplateColumns: ({ slidesToShow } = {}) =>
6562
- // `repeat(${slidesToShow},minmax(0, 1fr))`
6530
+ display: 'grid',
6531
+ gridTemplateColumns: ({
6532
+ slidesToShow
6533
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6563
6534
  },
6564
-
6565
6535
  singleSlideContainer: {
6566
6536
  backgroundColor: theme?.palette?.background?.default,
6567
- margin: '20px 0',
6568
- borderRadius: theme?.shape?.borderRadius?.large,
6537
+ margin: '20px',
6538
+ width: 'calc(100% - 24px)',
6539
+ // height: 'calc(100% - 40px)',
6540
+ border: '3px solid #D8E0F0',
6541
+ borderRadius: theme?.shape?.borderRadius?.regular,
6542
+ padding: theme.spacing.padding.tiny,
6569
6543
  boxShadow: theme?.shadows?.primary,
6570
- minHeight: '385px'
6544
+ minHeight: '320px'
6571
6545
  },
6572
6546
  imageContainer: {
6573
6547
  minWidth: '100%',
6574
- position: 'relative',
6575
- height: '208px'
6548
+ borderRadius: theme?.shape?.borderRadius?.regular,
6549
+ paddingBottom: '100%',
6550
+ position: 'relative'
6576
6551
  },
6577
6552
  image: {
6578
6553
  width: '100%',
6579
- height: '208px',
6554
+ height: '100%',
6555
+ position: 'absolute',
6556
+ borderRadius: '50%',
6580
6557
  top: '0',
6581
6558
  left: '0',
6582
- borderRadius: '12px 12px 0px 0px',
6559
+ borderRadius: '50%',
6583
6560
  objectFit: 'cover'
6584
6561
  },
6585
6562
  teamDetailsContainer: {
6586
- textAlign: 'left',
6587
- padding: '24px'
6563
+ textAlign: 'center',
6564
+ margin: '20px 0 0'
6588
6565
  // overflowWrap: 'break-word'
6589
6566
  },
6590
6567
 
@@ -6593,45 +6570,13 @@ const useTeamStyles = createUseStyles(theme => {
6593
6570
  fontWeight: theme.typography.fontWeight.bold,
6594
6571
  lineHeight: '24px',
6595
6572
  margin: '0',
6596
- color: theme?.palette?.font?.default,
6597
- textOverflow: 'ellipsis',
6598
- overflow: 'hidden',
6599
- display: '-webkit-box',
6600
- WebkitLineClamp: 2,
6601
- WebkitBoxOrient: 'vertical',
6602
- minHeight: '2.1em'
6573
+ color: theme?.palette?.font?.default
6603
6574
  },
6604
6575
  teamDetailsSubHeading: {
6605
- fontSize: '14px',
6606
- lineHeight: '18px',
6607
- color: theme?.palette?.font?.primary,
6608
- fontWeight: '400',
6609
- textOverflow: 'ellipsis',
6610
- overflow: 'hidden',
6611
- display: '-webkit-box',
6612
- WebkitLineClamp: 1,
6613
- WebkitBoxOrient: 'vertical'
6614
- },
6615
- subHeadingWrapper: {
6616
- display: 'flex',
6617
- alignItems: 'center',
6618
- margin: '10px 0px 0px',
6619
- gap: '6px'
6620
- },
6621
- starTag: {
6622
- display: 'flex',
6623
- alignItems: 'center',
6624
- gap: '6px',
6625
- position: 'absolute',
6626
- marginTop: '16px',
6627
- background: 'rgba(22, 118, 243, 1)',
6628
- borderRadius: '0px 6px 6px 0px',
6629
- padding: '2px 16px'
6630
- },
6631
- starTagText: {
6632
- color: 'white',
6633
- fontSize: '12px',
6634
- lineHeight: '20px'
6576
+ fontSize: theme.typography.fontSize.body,
6577
+ lineHeight: '24px',
6578
+ margin: '6px 0 0',
6579
+ color: theme?.palette?.font?.primary
6635
6580
  },
6636
6581
  '@media (max-width: 767px)': {
6637
6582
  // teamSuperContainer: {
@@ -6654,15 +6599,16 @@ const useTeamStyles = createUseStyles(theme => {
6654
6599
  },
6655
6600
  singleSlideContainer: {
6656
6601
  padding: '24px',
6657
- // width: 'calc(100% - 16px)',
6602
+ width: 'calc(100% - 16px)',
6658
6603
  margin: '12px 4px',
6659
6604
  minHeight: '260px'
6660
6605
  },
6661
6606
  teamDetailsContainer: {
6662
- // textAlign: 'center'
6607
+ textAlign: 'center'
6663
6608
  // margin: '15px 0 0',
6664
6609
  // paddingBottom: '0'
6665
6610
  },
6611
+
6666
6612
  teamDetailsHeading: {
6667
6613
  fontSize: '16px',
6668
6614
  lineHeight: '24px',
@@ -6675,39 +6621,16 @@ const useTeamStyles = createUseStyles(theme => {
6675
6621
  };
6676
6622
  });
6677
6623
 
6678
- 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";
6679
-
6680
- 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";
6681
-
6682
- 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";
6683
-
6684
- 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";
6685
-
6686
6624
  const SingleSlide = ({
6687
6625
  data,
6688
- sectionIndex,
6689
- fullWidth,
6690
- isMobile
6626
+ sectionIndex
6691
6627
  }) => {
6692
6628
  const classes = useTeamStyles();
6693
6629
  return /*#__PURE__*/React__default["default"].createElement("div", {
6694
- className: classes.singleSlideContainer,
6695
- style: isMobile ? {
6696
- width: 'calc(100% - 16px)'
6697
- } : fullWidth ? {
6698
- width: 'calc(100% - 24px)'
6699
- } : {
6700
- width: 'calc(25% - 24px)'
6701
- }
6630
+ className: classes.singleSlideContainer
6702
6631
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6703
6632
  className: classes.imageContainer
6704
- }, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("span", {
6705
- className: classes.starTag
6706
- }, /*#__PURE__*/React__default["default"].createElement("img", {
6707
- src: StarIcon
6708
- }), /*#__PURE__*/React__default["default"].createElement("span", {
6709
- className: classes.starTagText
6710
- }, "Star Tutor")) : null, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
6633
+ }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
6711
6634
  ref: data?.image?.refSetter,
6712
6635
  className: classes.image,
6713
6636
  alt: "Hero Image",
@@ -6721,43 +6644,13 @@ const SingleSlide = ({
6721
6644
  dangerouslySetInnerHTML: {
6722
6645
  __html: data.teamSlideTitle.metadata.value
6723
6646
  }
6724
- }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6647
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6725
6648
  ref: data?.teamSlideSubTitle?.refSetter,
6726
6649
  className: classes.teamDetailsSubHeading,
6727
6650
  dangerouslySetInnerHTML: {
6728
6651
  __html: data.teamSlideSubTitle.metadata.value
6729
6652
  }
6730
- }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6731
- className: classes.subHeadingWrapper
6732
- }, /*#__PURE__*/React__default["default"].createElement("img", {
6733
- src: RankIcon
6734
- }), /*#__PURE__*/React__default["default"].createElement("div", {
6735
- ref: data?.teamSlideYearOfExperience?.refSetter,
6736
- className: classes.teamDetailsSubHeading,
6737
- dangerouslySetInnerHTML: {
6738
- __html: data.teamSlideYearOfExperience.metadata.value
6739
- }
6740
- })) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6741
- className: classes.subHeadingWrapper
6742
- }, /*#__PURE__*/React__default["default"].createElement("img", {
6743
- src: Book
6744
- }), /*#__PURE__*/React__default["default"].createElement("div", {
6745
- ref: data?.teamSlideSpecialisation?.refSetter,
6746
- className: classes.teamDetailsSubHeading,
6747
- dangerouslySetInnerHTML: {
6748
- __html: data.teamSlideSpecialisation.metadata.value
6749
- }
6750
- })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
6751
- className: classes.subHeadingWrapper
6752
- }, /*#__PURE__*/React__default["default"].createElement("img", {
6753
- src: Teacher
6754
- }), /*#__PURE__*/React__default["default"].createElement("div", {
6755
- ref: data?.teamSlideQualification?.refSetter,
6756
- className: classes.teamDetailsSubHeading,
6757
- dangerouslySetInnerHTML: {
6758
- __html: data.teamSlideQualification.metadata.value
6759
- }
6760
- })) : null));
6653
+ })));
6761
6654
  };
6762
6655
 
6763
6656
  function TeamCard({
@@ -6787,13 +6680,11 @@ function TeamCard({
6787
6680
  centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
6788
6681
  centerMode: true
6789
6682
  };
6790
- const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
6683
+ const carouselContent = teamData.teamCarousel.components.map((data, idx) => {
6791
6684
  return /*#__PURE__*/React__default["default"].createElement(SingleSlide, {
6792
6685
  key: idx,
6793
6686
  data: data,
6794
- sectionIndex: sectionIndex,
6795
- fullWidth: fullWidth,
6796
- isMobile: isMobile
6687
+ sectionIndex: sectionIndex
6797
6688
  });
6798
6689
  });
6799
6690
  return /*#__PURE__*/React__default["default"].createElement("section", {
@@ -6817,12 +6708,12 @@ function TeamCard({
6817
6708
  })), cardsCount > slidesToShow ? /*#__PURE__*/React__default["default"].createElement(Carousel, {
6818
6709
  hideArrow: isMobile,
6819
6710
  settings: settings
6820
- }, getCarouselContent(true)) : /*#__PURE__*/React__default["default"].createElement("div", {
6711
+ }, carouselContent) : /*#__PURE__*/React__default["default"].createElement("div", {
6821
6712
  className: classes.contentRow
6822
- }, " ", getCarouselContent())));
6713
+ }, " ", carouselContent)));
6823
6714
  }
6824
6715
 
6825
- var index$8 = /*#__PURE__*/Object.freeze({
6716
+ var index$7 = /*#__PURE__*/Object.freeze({
6826
6717
  __proto__: null,
6827
6718
  'default': TeamCard
6828
6719
  });
@@ -7247,7 +7138,7 @@ function FormEnquiry({
7247
7138
  })))))));
7248
7139
  }
7249
7140
 
7250
- var index$7 = /*#__PURE__*/Object.freeze({
7141
+ var index$6 = /*#__PURE__*/Object.freeze({
7251
7142
  __proto__: null,
7252
7143
  'default': FormEnquiry
7253
7144
  });
@@ -7671,7 +7562,7 @@ function Contact({
7671
7562
  })))))));
7672
7563
  }
7673
7564
 
7674
- var index$6 = /*#__PURE__*/Object.freeze({
7565
+ var index$5 = /*#__PURE__*/Object.freeze({
7675
7566
  __proto__: null,
7676
7567
  'default': Contact
7677
7568
  });
@@ -8150,7 +8041,7 @@ function CoursePromotionPage$1({
8150
8041
  }))));
8151
8042
  }
8152
8043
 
8153
- var index$5 = /*#__PURE__*/Object.freeze({
8044
+ var index$4 = /*#__PURE__*/Object.freeze({
8154
8045
  __proto__: null,
8155
8046
  'default': CoursePromotionPage$1
8156
8047
  });
@@ -8465,21 +8356,17 @@ const SingleVideoSlide = props => {
8465
8356
  isEdit
8466
8357
  } = React.useContext(PageContext);
8467
8358
  const renderer = ({
8468
- days,
8469
8359
  hours,
8470
8360
  minutes,
8471
8361
  seconds,
8472
8362
  completed
8473
8363
  }) => {
8474
- if (days === 0 && hours < 24) {
8364
+ console.log("siddharth", hours, minutes);
8365
+ {
8475
8366
  if (countryCode === 'KR') {
8476
8367
  return /*#__PURE__*/React__default["default"].createElement("span", null, hours, " \uC2DC\uAC04 ", minutes, " \uBD84 ", seconds, "\uCD08");
8477
8368
  }
8478
8369
  return /*#__PURE__*/React__default["default"].createElement("span", null, hours, "h ", minutes, "m ", seconds, "s");
8479
- } else {
8480
- let given = moment__default["default"](props.data.endDate);
8481
- let current = moment__default["default"]().startOf('day');
8482
- return /*#__PURE__*/React__default["default"].createElement("span", null, Math.floor(moment__default["default"].duration(given.diff(current)).asDays()), ' ', countryCode === 'KR' ? '일' : 'day(s)');
8483
8370
  }
8484
8371
  };
8485
8372
  const {
@@ -8742,7 +8629,7 @@ function CoursePromotionPage({
8742
8629
  }))));
8743
8630
  }
8744
8631
 
8745
- var index$4 = /*#__PURE__*/Object.freeze({
8632
+ var index$3 = /*#__PURE__*/Object.freeze({
8746
8633
  __proto__: null,
8747
8634
  'default': CoursePromotionPage
8748
8635
  });
@@ -9107,7 +8994,7 @@ const FormPage = ({
9107
8994
  })))));
9108
8995
  };
9109
8996
 
9110
- var index$3 = /*#__PURE__*/Object.freeze({
8997
+ var index$2 = /*#__PURE__*/Object.freeze({
9111
8998
  __proto__: null,
9112
8999
  'default': FormPage
9113
9000
  });
@@ -9255,7 +9142,7 @@ function Tiles({
9255
9142
  }, TileDiv)));
9256
9143
  }
9257
9144
 
9258
- var index$2 = /*#__PURE__*/Object.freeze({
9145
+ var index$1 = /*#__PURE__*/Object.freeze({
9259
9146
  __proto__: null,
9260
9147
  'default': Tiles
9261
9148
  });
@@ -9730,378 +9617,9 @@ function EmailDripMarket({
9730
9617
  })));
9731
9618
  }
9732
9619
 
9733
- var index$1 = /*#__PURE__*/Object.freeze({
9734
- __proto__: null,
9735
- 'default': EmailDripMarket
9736
- });
9737
-
9738
- const useAboutInstituteStyles = createUseStyles(theme => ({
9739
- aboutInstText: {
9740
- alignSelf: 'center',
9741
- color: 'var(--Black, #0A1629)',
9742
- fontSize: '24px',
9743
- fontWeight: '400',
9744
- fontFamily: theme?.typography?.fontFamily
9745
- },
9746
- metaChild: {
9747
- fontSize: '16px',
9748
- fontStyle: 'normal',
9749
- fontWeight: '400',
9750
- fontFamily: theme?.typography?.fontFamily
9751
- },
9752
- aboutInstWrapper: {
9753
- padding: '64px 128px',
9754
- display: 'flex',
9755
- justifyContent: 'center',
9756
- flexDirection: 'column',
9757
- background: '#FFF',
9758
- fontFamily: theme?.typography?.fontFamily
9759
- },
9760
- abtoutInstText: {
9761
- color: theme?.palette?.font?.secondary,
9762
- fontWeight: '400',
9763
- fontSize: theme.typography.fontSize.subHead,
9764
- lineHeight: '20px',
9765
- textAlign: 'center',
9766
- textTransform: 'uppercase',
9767
- wordBreak: 'break-word'
9768
- },
9769
- aboutInstHeader: {
9770
- fontSize: theme.typography.fontSize.h2,
9771
- color: theme?.palette?.font?.default,
9772
- margin: '0px',
9773
- marginBottom: '56px',
9774
- textAlign: 'center'
9775
- },
9776
- imageContainer: {
9777
- width: '240px',
9778
- height: '240px',
9779
- position: 'relative'
9780
- // borderRadius: '16px',
9781
- // border: '1px solid var(--stroke, #D8E0F0)',
9782
- },
9783
-
9784
- image: {
9785
- width: '100%',
9786
- height: '100%',
9787
- borderRadius: '16px',
9788
- border: '1px solid var(--stroke, #D8E0F0)'
9789
- },
9790
- infoContainer: {
9791
- padding: '24px',
9792
- gap: '16px',
9793
- display: 'flex',
9794
- flexDirection: 'column',
9795
- borderRadius: '16px',
9796
- background: 'var(--Blue-Tertiary, #F4F9FF)',
9797
- flex: 1
9798
- },
9799
- metaInfo: {
9800
- display: 'flex',
9801
- gap: '24px',
9802
- flexWrap: 'wrap'
9803
- },
9804
- metaInfoChild: {
9805
- display: 'flex',
9806
- justifyContent: 'center',
9807
- alignItems: 'center',
9808
- gap: '6px'
9809
- },
9810
- contentWrapper: {
9811
- display: 'flex',
9812
- gap: '24px',
9813
- marginBottom: '24px'
9814
- },
9815
- cardWrapper: {
9816
- // display: 'flex',
9817
- // width: '100%',
9818
- // gap: '24px'
9819
- display: 'flex',
9820
- gap: '24px',
9821
- flex: 1,
9822
- lineHeight: 'normal'
9823
- },
9824
- card: {
9825
- padding: '24px',
9826
- display: 'flex',
9827
- justifyContent: 'space-between',
9828
- alignItems: 'center',
9829
- borderRadius: '16px',
9830
- background: 'var(--Blue-Tertiary, #F4F9FF)',
9831
- flexGrow: 1
9832
- },
9833
- cardDesc: {
9834
- display: 'flex',
9835
- flexDirection: 'column'
9836
- },
9837
- infoDetails: {
9838
- display: 'flex',
9839
- flexDirection: 'Column',
9840
- gap: '10px',
9841
- lineHeight: 'normal'
9842
- },
9843
- infoContent: {
9844
- display: 'flex',
9845
- flexDirection: 'Column',
9846
- gap: '8px'
9847
- },
9848
- instHeading: {
9849
- color: 'var(--Black, #0A1629)',
9850
- fontSize: '32px',
9851
- fontStyle: 'normal',
9852
- fontWeight: '600'
9853
- },
9854
- aboutText: {
9855
- fontSize: '24px',
9856
- fontStyle: 'normal',
9857
- fontWeight: '600'
9858
- },
9859
- instAbout: {
9860
- fontFamily: theme?.typography?.fontFamily,
9861
- lineHeight: '22px',
9862
- fontSize: '14px',
9863
- fontStyle: 'normal',
9864
- fontWeight: '400',
9865
- wordBreak: 'break-word'
9866
- },
9867
- highlightText: {
9868
- color: 'var(--Black, #0A1629)',
9869
- fontSize: '24px',
9870
- fontStyle: 'normal',
9871
- fontWeight: '600',
9872
- wordBreak: 'break-word'
9873
- },
9874
- highlightHeading: {
9875
- fontSize: '16px',
9876
- fontStyle: 'normal',
9877
- fontWeight: '400'
9878
- },
9879
- // SMALL SCREEN
9880
- '@media screen and (max-width: 767px)': {
9881
- aboutInstText: {
9882
- fontSize: '16px'
9883
- },
9884
- imageContainer: {
9885
- height: '150px',
9886
- width: '150px'
9887
- },
9888
- image: {
9889
- borderRadius: '10px',
9890
- border: '1px solid var(--stroke, #D8E0F0)'
9891
- },
9892
- infoContainer: {
9893
- gap: '16px'
9894
- },
9895
- instHeading: {
9896
- fontSize: '24px'
9897
- },
9898
- cardWrapper: {
9899
- flexDirection: 'column',
9900
- gap: '8px',
9901
- lineHeight: 'normal'
9902
- },
9903
- aboutInstWrapper: {
9904
- padding: '16px'
9905
- },
9906
- aboutInstHeader: {
9907
- color: theme?.palette?.font?.default,
9908
- margin: '0px 0 24px 0',
9909
- textAlign: 'center',
9910
- fontSize: '20px'
9911
- },
9912
- contentWrapper: {
9913
- gap: '8px'
9914
- },
9915
- card: {
9916
- padding: '16px'
9917
- },
9918
- infoDetails: {
9919
- gap: '8px',
9920
- lineHeight: 'normal'
9921
- },
9922
- metaInfo: {
9923
- gap: '8px'
9924
- },
9925
- infoContent: {
9926
- gap: '8px'
9927
- },
9928
- metaChild: {
9929
- fontSize: '12px'
9930
- },
9931
- aboutText: {
9932
- fontSize: '16px'
9933
- },
9934
- instAbout: {
9935
- fontSize: '12px'
9936
- },
9937
- highlightText: {
9938
- fontSize: '16px'
9939
- },
9940
- highlightHeading: {
9941
- fontSize: '12px'
9942
- }
9943
- }
9944
- }));
9945
-
9946
- function ABOUT_INSTITUTE({
9947
- sectionData,
9948
- sectionIndex
9949
- }) {
9950
- const {
9951
- layout: {
9952
- containerWidth
9953
- },
9954
- isMobile
9955
- } = React.useContext(PageContext);
9956
- const classes = useAboutInstituteStyles({
9957
- containerWidth,
9958
- isMobile
9959
- });
9960
- const [nodeData] = sectionData?.components;
9961
- const [highlightNodeData] = nodeData?.highlight?.components;
9962
- const theme = useTheme();
9963
- const ImageJSX = () => {
9964
- if (!nodeData?.image?.metadata?.value) {
9965
- return null;
9966
- }
9967
- return /*#__PURE__*/React__default["default"].createElement("div", {
9968
- className: classes.imageContainer
9969
- }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
9970
- className: classes.image,
9971
- alt: "logo",
9972
- src: nodeData?.image?.metadata?.value
9973
- }));
9974
- };
9975
- const ContentJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
9976
- className: classes.infoContainer
9977
- }, /*#__PURE__*/React__default["default"].createElement("div", {
9978
- className: classes.infoDetails
9979
- }, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9980
- className: classes.instHeading,
9981
- ref: nodeData?.instName?.refSetter,
9982
- dangerouslySetInnerHTML: {
9983
- __html: nodeData?.instName?.metadata?.value
9984
- }
9985
- }) : null, /*#__PURE__*/React__default["default"].createElement("div", {
9986
- className: classes.metaInfo
9987
- }, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9988
- className: classes.metaInfoChild
9989
- }, /*#__PURE__*/React__default["default"].createElement(Icon, {
9990
- name: 'BookSaved',
9991
- color: theme.palette.font.primary,
9992
- width: '20px',
9993
- height: '20px'
9994
- }), /*#__PURE__*/React__default["default"].createElement("div", {
9995
- className: classes.metaChild,
9996
- ref: nodeData?.spec?.refSetter,
9997
- dangerouslySetInnerHTML: {
9998
- __html: nodeData?.spec?.metadata?.value
9999
- }
10000
- })) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10001
- className: classes.metaInfoChild
10002
- }, /*#__PURE__*/React__default["default"].createElement(Icon, {
10003
- name: 'Teacher',
10004
- color: theme.palette.font.primary,
10005
- width: '20px',
10006
- height: '20px'
10007
- }), /*#__PURE__*/React__default["default"].createElement("div", {
10008
- className: classes.metaChild,
10009
- ref: nodeData?.qual?.refSetter,
10010
- dangerouslySetInnerHTML: {
10011
- __html: nodeData?.qual?.metadata?.value
10012
- }
10013
- })) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10014
- className: classes.metaInfoChild
10015
- }, /*#__PURE__*/React__default["default"].createElement(Icon, {
10016
- name: 'Medal',
10017
- color: theme.palette.font.primary,
10018
- width: '20px',
10019
- height: '20px'
10020
- }), /*#__PURE__*/React__default["default"].createElement("div", {
10021
- className: classes.metaChild,
10022
- ref: nodeData?.exp?.refSetter,
10023
- dangerouslySetInnerHTML: {
10024
- __html: nodeData?.exp?.metadata?.value
10025
- }
10026
- })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10027
- className: classes.infoContent
10028
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10029
- className: classes.aboutText
10030
- }, "About"), /*#__PURE__*/React__default["default"].createElement("div", {
10031
- className: classes.instAbout,
10032
- ref: nodeData?.content?.refSetter,
10033
- dangerouslySetInnerHTML: {
10034
- __html: nodeData?.content?.metadata?.value
10035
- }
10036
- })) : null);
10037
- const HighlightJSX = () => {
10038
- if (!nodeData?.highlight?.metadata?.value) {
10039
- return null;
10040
- }
10041
- return /*#__PURE__*/React__default["default"].createElement("div", {
10042
- className: classes.cardWrapper
10043
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10044
- className: classes.card
10045
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10046
- className: classes.cardDesc
10047
- }, /*#__PURE__*/React__default["default"].createElement("span", {
10048
- className: classes.highlightText,
10049
- ref: highlightNodeData?.courses?.refSetter,
10050
- dangerouslySetInnerHTML: {
10051
- __html: highlightNodeData?.courses?.metadata?.value
10052
- }
10053
- }), /*#__PURE__*/React__default["default"].createElement("span", {
10054
- className: classes.highlightHeading
10055
- }, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10056
- name: 'BookSaved',
10057
- color: theme.palette.font.primary,
10058
- width: '32px',
10059
- height: '32px'
10060
- })), /*#__PURE__*/React__default["default"].createElement("div", {
10061
- className: classes.card
10062
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10063
- className: classes.cardDesc
10064
- }, /*#__PURE__*/React__default["default"].createElement("span", {
10065
- className: classes.highlightText,
10066
- ref: highlightNodeData?.students?.refSetter,
10067
- dangerouslySetInnerHTML: {
10068
- __html: highlightNodeData?.students?.metadata?.value
10069
- }
10070
- }), /*#__PURE__*/React__default["default"].createElement("span", {
10071
- className: classes.highlightHeading
10072
- }, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10073
- name: 'GroupProfile',
10074
- color: theme.palette.font.primary,
10075
- width: '32px',
10076
- height: '32px'
10077
- })));
10078
- };
10079
- return /*#__PURE__*/React__default["default"].createElement("div", {
10080
- className: classes.aboutInstWrapper
10081
- }, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
10082
- className: classes.aboutInstText
10083
- }, /*#__PURE__*/React__default["default"].createElement("span", {
10084
- ref: nodeData?.heading?.refSetter,
10085
- dangerouslySetInnerHTML: {
10086
- __html: nodeData?.heading?.metadata?.value
10087
- }
10088
- })) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("h2", {
10089
- className: classes.aboutInstHeader
10090
- }, /*#__PURE__*/React__default["default"].createElement("span", {
10091
- ref: nodeData?.title?.refSetter,
10092
- dangerouslySetInnerHTML: {
10093
- __html: nodeData?.title?.metadata?.value
10094
- }
10095
- })) : null, isMobile ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
10096
- className: classes.contentWrapper
10097
- }, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
10098
- className: classes.contentWrapper
10099
- }, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)));
10100
- }
10101
-
10102
9620
  var index = /*#__PURE__*/Object.freeze({
10103
9621
  __proto__: null,
10104
- 'default': ABOUT_INSTITUTE
9622
+ 'default': EmailDripMarket
10105
9623
  });
10106
9624
 
10107
9625
  const TYPE_TO_COMPONENT_MAP = {
@@ -10126,8 +9644,7 @@ const TYPE_TO_COMPONENT_MAP = {
10126
9644
  COURSE_LANDING_PAGE: CoursePromotionPage,
10127
9645
  FORM_LANDING_PAGE: FormPage,
10128
9646
  TILES_SECTION: Tiles,
10129
- EMAIL_DRIP_MARKET: EmailDripMarket,
10130
- ABOUT_INSTITUTE
9647
+ EMAIL_DRIP_MARKET: EmailDripMarket
10131
9648
  };
10132
9649
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
10133
9650
  const MemoisedSection = /*#__PURE__*/React.memo(({