diy-template-components 2.0.46 → 2.0.47
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 +468 -67
- package/build/index.es.js.map +1 -1
- package/build/index.js +468 -67
- package/build/index.js.map +1 -1
- package/package.json +1 -1
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) => {
|
|
@@ -2143,28 +2155,29 @@ function NanumSquare() {
|
|
|
2143
2155
|
}
|
|
2144
2156
|
|
|
2145
2157
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
2146
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2147
|
-
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2148
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2149
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2150
|
-
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2151
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2152
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2153
|
-
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2154
|
-
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2155
|
-
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2156
|
-
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2157
|
-
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2158
|
-
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2159
|
-
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2160
|
-
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2161
|
-
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2162
|
-
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2163
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2164
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2165
|
-
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2166
|
-
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2167
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2158
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
|
|
2159
|
+
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
|
|
2160
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
2161
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
2162
|
+
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
2163
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
2164
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
2165
|
+
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
2166
|
+
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
2167
|
+
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
2168
|
+
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
2169
|
+
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
2170
|
+
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
2171
|
+
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
2172
|
+
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
2173
|
+
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
2174
|
+
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
2175
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
2176
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
2177
|
+
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
2178
|
+
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
2179
|
+
EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
2180
|
+
ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2168
2181
|
};
|
|
2169
2182
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
2170
2183
|
const MemoisedSection$1 = /*#__PURE__*/memo(({
|
|
@@ -2914,7 +2927,7 @@ function BannerCarouselRight({
|
|
|
2914
2927
|
})))));
|
|
2915
2928
|
}
|
|
2916
2929
|
|
|
2917
|
-
var index$
|
|
2930
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
2918
2931
|
__proto__: null,
|
|
2919
2932
|
'default': BannerCarouselRight
|
|
2920
2933
|
});
|
|
@@ -3138,7 +3151,7 @@ function List({
|
|
|
3138
3151
|
}))));
|
|
3139
3152
|
}
|
|
3140
3153
|
|
|
3141
|
-
var index$
|
|
3154
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
3142
3155
|
__proto__: null,
|
|
3143
3156
|
'default': List
|
|
3144
3157
|
});
|
|
@@ -3432,7 +3445,7 @@ function BannerCarouselCenter({
|
|
|
3432
3445
|
}))));
|
|
3433
3446
|
}
|
|
3434
3447
|
|
|
3435
|
-
var index$
|
|
3448
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
3436
3449
|
__proto__: null,
|
|
3437
3450
|
'default': BannerCarouselCenter
|
|
3438
3451
|
});
|
|
@@ -3661,7 +3674,7 @@ function BannerCarouselLeft({
|
|
|
3661
3674
|
})))));
|
|
3662
3675
|
}
|
|
3663
3676
|
|
|
3664
|
-
var index$
|
|
3677
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
3665
3678
|
__proto__: null,
|
|
3666
3679
|
'default': BannerCarouselLeft
|
|
3667
3680
|
});
|
|
@@ -4057,7 +4070,7 @@ function SubscribeToNewsletter({
|
|
|
4057
4070
|
})))))));
|
|
4058
4071
|
}
|
|
4059
4072
|
|
|
4060
|
-
var index$
|
|
4073
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
4061
4074
|
__proto__: null,
|
|
4062
4075
|
'default': SubscribeToNewsletter
|
|
4063
4076
|
});
|
|
@@ -4345,7 +4358,7 @@ function Testimonials({
|
|
|
4345
4358
|
}));
|
|
4346
4359
|
}
|
|
4347
4360
|
|
|
4348
|
-
var index$
|
|
4361
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
4349
4362
|
__proto__: null,
|
|
4350
4363
|
'default': Testimonials
|
|
4351
4364
|
});
|
|
@@ -4749,7 +4762,7 @@ function VideoTestimonial({
|
|
|
4749
4762
|
}))))));
|
|
4750
4763
|
}
|
|
4751
4764
|
|
|
4752
|
-
var index$
|
|
4765
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
4753
4766
|
__proto__: null,
|
|
4754
4767
|
'default': VideoTestimonial
|
|
4755
4768
|
});
|
|
@@ -4985,7 +4998,7 @@ function Video({
|
|
|
4985
4998
|
}, carouselContent))));
|
|
4986
4999
|
}
|
|
4987
5000
|
|
|
4988
|
-
var index$
|
|
5001
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
4989
5002
|
__proto__: null,
|
|
4990
5003
|
'default': Video
|
|
4991
5004
|
});
|
|
@@ -5221,7 +5234,7 @@ function Info({
|
|
|
5221
5234
|
}, carouselContent))));
|
|
5222
5235
|
}
|
|
5223
5236
|
|
|
5224
|
-
var index$
|
|
5237
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
5225
5238
|
__proto__: null,
|
|
5226
5239
|
'default': Info
|
|
5227
5240
|
});
|
|
@@ -5340,7 +5353,7 @@ const TextSection = ({
|
|
|
5340
5353
|
})))));
|
|
5341
5354
|
};
|
|
5342
5355
|
|
|
5343
|
-
var index$
|
|
5356
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
5344
5357
|
__proto__: null,
|
|
5345
5358
|
'default': TextSection
|
|
5346
5359
|
});
|
|
@@ -5563,7 +5576,7 @@ function PhotoGallery({
|
|
|
5563
5576
|
}, carouselContent))));
|
|
5564
5577
|
}
|
|
5565
5578
|
|
|
5566
|
-
var index$
|
|
5579
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
5567
5580
|
__proto__: null,
|
|
5568
5581
|
'default': PhotoGallery
|
|
5569
5582
|
});
|
|
@@ -5746,7 +5759,7 @@ const Accordion = ({
|
|
|
5746
5759
|
})));
|
|
5747
5760
|
};
|
|
5748
5761
|
|
|
5749
|
-
var index$
|
|
5762
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
5750
5763
|
__proto__: null,
|
|
5751
5764
|
'default': FAQListing
|
|
5752
5765
|
});
|
|
@@ -5917,7 +5930,7 @@ const TextGrid = ({
|
|
|
5917
5930
|
}, carouselContent))));
|
|
5918
5931
|
};
|
|
5919
5932
|
|
|
5920
|
-
var index$
|
|
5933
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
5921
5934
|
__proto__: null,
|
|
5922
5935
|
'default': TextGrid
|
|
5923
5936
|
});
|
|
@@ -6444,7 +6457,7 @@ function SimpleCardsContainer({
|
|
|
6444
6457
|
}, children);
|
|
6445
6458
|
}
|
|
6446
6459
|
|
|
6447
|
-
var index$
|
|
6460
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
6448
6461
|
__proto__: null,
|
|
6449
6462
|
'default': courses
|
|
6450
6463
|
});
|
|
@@ -6496,22 +6509,23 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6496
6509
|
margin: '0 -20px'
|
|
6497
6510
|
},
|
|
6498
6511
|
contentRow: {
|
|
6499
|
-
display: '
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
} = {}) =>
|
|
6512
|
+
display: 'flex',
|
|
6513
|
+
justifyContent: 'center',
|
|
6514
|
+
gap: '20px'
|
|
6515
|
+
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6516
|
+
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6503
6517
|
},
|
|
6504
6518
|
singleSlideContainer: {
|
|
6505
6519
|
backgroundColor: theme?.palette?.background?.default,
|
|
6506
|
-
margin: '20px',
|
|
6507
|
-
width: 'calc(100% - 24px)',
|
|
6520
|
+
margin: '20px 0',
|
|
6508
6521
|
borderRadius: theme?.shape?.borderRadius?.large,
|
|
6509
6522
|
boxShadow: theme?.shadows?.primary,
|
|
6510
6523
|
minHeight: '385px'
|
|
6511
6524
|
},
|
|
6512
6525
|
imageContainer: {
|
|
6513
6526
|
minWidth: '100%',
|
|
6514
|
-
position: 'relative'
|
|
6527
|
+
position: 'relative',
|
|
6528
|
+
height: '208px'
|
|
6515
6529
|
},
|
|
6516
6530
|
image: {
|
|
6517
6531
|
width: '100%',
|
|
@@ -6543,7 +6557,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6543
6557
|
fontSize: '14px',
|
|
6544
6558
|
lineHeight: '18px',
|
|
6545
6559
|
color: theme?.palette?.font?.primary,
|
|
6546
|
-
fontWeight: '
|
|
6560
|
+
fontWeight: '400',
|
|
6547
6561
|
textOverflow: 'ellipsis',
|
|
6548
6562
|
overflow: 'hidden',
|
|
6549
6563
|
display: '-webkit-box',
|
|
@@ -6564,7 +6578,8 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6564
6578
|
marginTop: '16px',
|
|
6565
6579
|
background: 'rgba(22, 118, 243, 1)',
|
|
6566
6580
|
borderRadius: '0px 6px 6px 0px',
|
|
6567
|
-
padding: '2px 16px'
|
|
6581
|
+
padding: '2px 16px',
|
|
6582
|
+
zIndex: '1'
|
|
6568
6583
|
},
|
|
6569
6584
|
starTagText: {
|
|
6570
6585
|
color: 'white',
|
|
@@ -6592,7 +6607,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6592
6607
|
},
|
|
6593
6608
|
singleSlideContainer: {
|
|
6594
6609
|
padding: '24px',
|
|
6595
|
-
width: 'calc(100% - 16px)',
|
|
6610
|
+
// width: 'calc(100% - 16px)',
|
|
6596
6611
|
margin: '12px 4px',
|
|
6597
6612
|
minHeight: '260px'
|
|
6598
6613
|
},
|
|
@@ -6623,14 +6638,23 @@ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22
|
|
|
6623
6638
|
|
|
6624
6639
|
const SingleSlide = ({
|
|
6625
6640
|
data,
|
|
6626
|
-
sectionIndex
|
|
6641
|
+
sectionIndex,
|
|
6642
|
+
fullWidth,
|
|
6643
|
+
isMobile
|
|
6627
6644
|
}) => {
|
|
6628
6645
|
const classes = useTeamStyles();
|
|
6629
6646
|
return /*#__PURE__*/React.createElement("div", {
|
|
6630
|
-
className: classes.singleSlideContainer
|
|
6647
|
+
className: classes.singleSlideContainer,
|
|
6648
|
+
style: isMobile ? {
|
|
6649
|
+
width: 'calc(100% - 16px)'
|
|
6650
|
+
} : fullWidth ? {
|
|
6651
|
+
width: 'calc(100% - 24px)'
|
|
6652
|
+
} : {
|
|
6653
|
+
width: 'calc(25% - 24px)'
|
|
6654
|
+
}
|
|
6631
6655
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6632
6656
|
className: classes.imageContainer
|
|
6633
|
-
}, data?.teamSlideStarTutor?.metadata?.value
|
|
6657
|
+
}, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React.createElement("span", {
|
|
6634
6658
|
className: classes.starTag
|
|
6635
6659
|
}, /*#__PURE__*/React.createElement("img", {
|
|
6636
6660
|
src: StarIcon
|
|
@@ -6650,7 +6674,13 @@ const SingleSlide = ({
|
|
|
6650
6674
|
dangerouslySetInnerHTML: {
|
|
6651
6675
|
__html: data.teamSlideTitle.metadata.value
|
|
6652
6676
|
}
|
|
6653
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
6677
|
+
}), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
6678
|
+
ref: data?.teamSlideSubTitle?.refSetter,
|
|
6679
|
+
className: classes.teamDetailsSubHeading,
|
|
6680
|
+
dangerouslySetInnerHTML: {
|
|
6681
|
+
__html: data.teamSlideSubTitle.metadata.value
|
|
6682
|
+
}
|
|
6683
|
+
}) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
6654
6684
|
className: classes.subHeadingWrapper
|
|
6655
6685
|
}, /*#__PURE__*/React.createElement("img", {
|
|
6656
6686
|
src: RankIcon
|
|
@@ -6660,7 +6690,7 @@ const SingleSlide = ({
|
|
|
6660
6690
|
dangerouslySetInnerHTML: {
|
|
6661
6691
|
__html: data.teamSlideYearOfExperience.metadata.value
|
|
6662
6692
|
}
|
|
6663
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
6693
|
+
})) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
6664
6694
|
className: classes.subHeadingWrapper
|
|
6665
6695
|
}, /*#__PURE__*/React.createElement("img", {
|
|
6666
6696
|
src: Book
|
|
@@ -6670,7 +6700,7 @@ const SingleSlide = ({
|
|
|
6670
6700
|
dangerouslySetInnerHTML: {
|
|
6671
6701
|
__html: data.teamSlideSpecialisation.metadata.value
|
|
6672
6702
|
}
|
|
6673
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
6703
|
+
})) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
6674
6704
|
className: classes.subHeadingWrapper
|
|
6675
6705
|
}, /*#__PURE__*/React.createElement("img", {
|
|
6676
6706
|
src: Teacher
|
|
@@ -6680,7 +6710,7 @@ const SingleSlide = ({
|
|
|
6680
6710
|
dangerouslySetInnerHTML: {
|
|
6681
6711
|
__html: data.teamSlideQualification.metadata.value
|
|
6682
6712
|
}
|
|
6683
|
-
}))));
|
|
6713
|
+
})) : null));
|
|
6684
6714
|
};
|
|
6685
6715
|
|
|
6686
6716
|
function TeamCard({
|
|
@@ -6710,11 +6740,13 @@ function TeamCard({
|
|
|
6710
6740
|
centerPadding: isMobile ? '40px 0 0' : '8px 0 0 ',
|
|
6711
6741
|
centerMode: true
|
|
6712
6742
|
};
|
|
6713
|
-
const
|
|
6743
|
+
const getCarouselContent = (fullWidth = false) => teamData.teamCarousel.components.map((data, idx) => {
|
|
6714
6744
|
return /*#__PURE__*/React.createElement(SingleSlide, {
|
|
6715
6745
|
key: idx,
|
|
6716
6746
|
data: data,
|
|
6717
|
-
sectionIndex: sectionIndex
|
|
6747
|
+
sectionIndex: sectionIndex,
|
|
6748
|
+
fullWidth: fullWidth,
|
|
6749
|
+
isMobile: isMobile
|
|
6718
6750
|
});
|
|
6719
6751
|
});
|
|
6720
6752
|
return /*#__PURE__*/React.createElement("section", {
|
|
@@ -6738,12 +6770,12 @@ function TeamCard({
|
|
|
6738
6770
|
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
6739
6771
|
hideArrow: isMobile,
|
|
6740
6772
|
settings: settings
|
|
6741
|
-
},
|
|
6773
|
+
}, getCarouselContent(true)) : /*#__PURE__*/React.createElement("div", {
|
|
6742
6774
|
className: classes.contentRow
|
|
6743
|
-
}, " ",
|
|
6775
|
+
}, " ", getCarouselContent())));
|
|
6744
6776
|
}
|
|
6745
6777
|
|
|
6746
|
-
var index$
|
|
6778
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
6747
6779
|
__proto__: null,
|
|
6748
6780
|
'default': TeamCard
|
|
6749
6781
|
});
|
|
@@ -7164,7 +7196,7 @@ function FormEnquiry({
|
|
|
7164
7196
|
})))))));
|
|
7165
7197
|
}
|
|
7166
7198
|
|
|
7167
|
-
var index$
|
|
7199
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
7168
7200
|
__proto__: null,
|
|
7169
7201
|
'default': FormEnquiry
|
|
7170
7202
|
});
|
|
@@ -7586,7 +7618,7 @@ function Contact({
|
|
|
7586
7618
|
})))))));
|
|
7587
7619
|
}
|
|
7588
7620
|
|
|
7589
|
-
var index$
|
|
7621
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
7590
7622
|
__proto__: null,
|
|
7591
7623
|
'default': Contact
|
|
7592
7624
|
});
|
|
@@ -8063,7 +8095,7 @@ function CoursePromotionPage$1({
|
|
|
8063
8095
|
}))));
|
|
8064
8096
|
}
|
|
8065
8097
|
|
|
8066
|
-
var index$
|
|
8098
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
8067
8099
|
__proto__: null,
|
|
8068
8100
|
'default': CoursePromotionPage$1
|
|
8069
8101
|
});
|
|
@@ -8650,7 +8682,7 @@ function CoursePromotionPage({
|
|
|
8650
8682
|
}))));
|
|
8651
8683
|
}
|
|
8652
8684
|
|
|
8653
|
-
var index$
|
|
8685
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
8654
8686
|
__proto__: null,
|
|
8655
8687
|
'default': CoursePromotionPage
|
|
8656
8688
|
});
|
|
@@ -9013,7 +9045,7 @@ const FormPage = ({
|
|
|
9013
9045
|
})))));
|
|
9014
9046
|
};
|
|
9015
9047
|
|
|
9016
|
-
var index$
|
|
9048
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
9017
9049
|
__proto__: null,
|
|
9018
9050
|
'default': FormPage
|
|
9019
9051
|
});
|
|
@@ -9161,7 +9193,7 @@ function Tiles({
|
|
|
9161
9193
|
}, TileDiv)));
|
|
9162
9194
|
}
|
|
9163
9195
|
|
|
9164
|
-
var index$
|
|
9196
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
9165
9197
|
__proto__: null,
|
|
9166
9198
|
'default': Tiles
|
|
9167
9199
|
});
|
|
@@ -9634,11 +9666,379 @@ function EmailDripMarket({
|
|
|
9634
9666
|
})));
|
|
9635
9667
|
}
|
|
9636
9668
|
|
|
9637
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
9669
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
9638
9670
|
__proto__: null,
|
|
9639
9671
|
'default': EmailDripMarket
|
|
9640
9672
|
});
|
|
9641
9673
|
|
|
9674
|
+
const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
9675
|
+
aboutInstText: {
|
|
9676
|
+
alignSelf: 'center',
|
|
9677
|
+
color: 'var(--Black, #0A1629)',
|
|
9678
|
+
fontSize: '24px',
|
|
9679
|
+
fontWeight: '400',
|
|
9680
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9681
|
+
},
|
|
9682
|
+
metaChild: {
|
|
9683
|
+
fontSize: '16px',
|
|
9684
|
+
fontStyle: 'normal',
|
|
9685
|
+
fontWeight: '400',
|
|
9686
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9687
|
+
},
|
|
9688
|
+
aboutInstWrapper: {
|
|
9689
|
+
padding: '64px 128px',
|
|
9690
|
+
display: 'flex',
|
|
9691
|
+
justifyContent: 'center',
|
|
9692
|
+
flexDirection: 'column',
|
|
9693
|
+
background: '#FFF',
|
|
9694
|
+
fontFamily: theme?.typography?.fontFamily
|
|
9695
|
+
},
|
|
9696
|
+
abtoutInstText: {
|
|
9697
|
+
color: theme?.palette?.font?.secondary,
|
|
9698
|
+
fontWeight: '400',
|
|
9699
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
9700
|
+
lineHeight: '20px',
|
|
9701
|
+
textAlign: 'center',
|
|
9702
|
+
textTransform: 'uppercase',
|
|
9703
|
+
wordBreak: 'break-word'
|
|
9704
|
+
},
|
|
9705
|
+
aboutInstHeader: {
|
|
9706
|
+
fontSize: theme.typography.fontSize.h2,
|
|
9707
|
+
color: theme?.palette?.font?.default,
|
|
9708
|
+
margin: '0px',
|
|
9709
|
+
marginBottom: '56px',
|
|
9710
|
+
textAlign: 'center'
|
|
9711
|
+
},
|
|
9712
|
+
imageContainer: {
|
|
9713
|
+
width: '240px',
|
|
9714
|
+
height: '240px',
|
|
9715
|
+
position: 'relative'
|
|
9716
|
+
// borderRadius: '16px',
|
|
9717
|
+
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
9718
|
+
},
|
|
9719
|
+
image: {
|
|
9720
|
+
width: '100%',
|
|
9721
|
+
height: '100%',
|
|
9722
|
+
borderRadius: '16px',
|
|
9723
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9724
|
+
},
|
|
9725
|
+
infoContainer: {
|
|
9726
|
+
padding: '24px',
|
|
9727
|
+
gap: '16px',
|
|
9728
|
+
display: 'flex',
|
|
9729
|
+
flexDirection: 'column',
|
|
9730
|
+
borderRadius: '16px',
|
|
9731
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
9732
|
+
flex: 1
|
|
9733
|
+
},
|
|
9734
|
+
metaInfo: {
|
|
9735
|
+
display: 'flex',
|
|
9736
|
+
gap: '24px',
|
|
9737
|
+
flexWrap: 'wrap'
|
|
9738
|
+
},
|
|
9739
|
+
metaInfoChild: {
|
|
9740
|
+
display: 'flex',
|
|
9741
|
+
justifyContent: 'center',
|
|
9742
|
+
alignItems: 'center',
|
|
9743
|
+
gap: '6px'
|
|
9744
|
+
},
|
|
9745
|
+
contentWrapper: {
|
|
9746
|
+
display: 'flex',
|
|
9747
|
+
gap: '24px',
|
|
9748
|
+
marginBottom: '24px'
|
|
9749
|
+
},
|
|
9750
|
+
cardWrapper: {
|
|
9751
|
+
// display: 'flex',
|
|
9752
|
+
// width: '100%',
|
|
9753
|
+
// gap: '24px'
|
|
9754
|
+
display: 'flex',
|
|
9755
|
+
gap: '24px',
|
|
9756
|
+
flex: 1,
|
|
9757
|
+
lineHeight: 'normal'
|
|
9758
|
+
},
|
|
9759
|
+
card: {
|
|
9760
|
+
padding: '24px',
|
|
9761
|
+
display: 'flex',
|
|
9762
|
+
justifyContent: 'space-between',
|
|
9763
|
+
alignItems: 'center',
|
|
9764
|
+
borderRadius: '16px',
|
|
9765
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
9766
|
+
flexGrow: 1
|
|
9767
|
+
},
|
|
9768
|
+
cardDesc: {
|
|
9769
|
+
display: 'flex',
|
|
9770
|
+
flexDirection: 'column'
|
|
9771
|
+
},
|
|
9772
|
+
infoDetails: {
|
|
9773
|
+
display: 'flex',
|
|
9774
|
+
flexDirection: 'Column',
|
|
9775
|
+
gap: '10px',
|
|
9776
|
+
lineHeight: 'normal'
|
|
9777
|
+
},
|
|
9778
|
+
infoContent: {
|
|
9779
|
+
display: 'flex',
|
|
9780
|
+
flexDirection: 'Column',
|
|
9781
|
+
gap: '8px'
|
|
9782
|
+
},
|
|
9783
|
+
instHeading: {
|
|
9784
|
+
color: 'var(--Black, #0A1629)',
|
|
9785
|
+
fontSize: '32px',
|
|
9786
|
+
fontStyle: 'normal',
|
|
9787
|
+
fontWeight: '600'
|
|
9788
|
+
},
|
|
9789
|
+
aboutText: {
|
|
9790
|
+
fontSize: '24px',
|
|
9791
|
+
fontStyle: 'normal',
|
|
9792
|
+
fontWeight: '600'
|
|
9793
|
+
},
|
|
9794
|
+
instAbout: {
|
|
9795
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
9796
|
+
lineHeight: '22px',
|
|
9797
|
+
fontSize: '14px',
|
|
9798
|
+
fontStyle: 'normal',
|
|
9799
|
+
fontWeight: '400',
|
|
9800
|
+
wordBreak: 'break-word'
|
|
9801
|
+
},
|
|
9802
|
+
highlightText: {
|
|
9803
|
+
color: 'var(--Black, #0A1629)',
|
|
9804
|
+
fontSize: '24px',
|
|
9805
|
+
fontStyle: 'normal',
|
|
9806
|
+
fontWeight: '600',
|
|
9807
|
+
wordBreak: 'break-word'
|
|
9808
|
+
},
|
|
9809
|
+
highlightHeading: {
|
|
9810
|
+
fontSize: '16px',
|
|
9811
|
+
fontStyle: 'normal',
|
|
9812
|
+
fontWeight: '400'
|
|
9813
|
+
},
|
|
9814
|
+
// SMALL SCREEN
|
|
9815
|
+
'@media screen and (max-width: 767px)': {
|
|
9816
|
+
aboutInstText: {
|
|
9817
|
+
fontSize: '16px'
|
|
9818
|
+
},
|
|
9819
|
+
imageContainer: {
|
|
9820
|
+
height: '150px',
|
|
9821
|
+
width: '150px'
|
|
9822
|
+
},
|
|
9823
|
+
image: {
|
|
9824
|
+
borderRadius: '10px',
|
|
9825
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9826
|
+
},
|
|
9827
|
+
infoContainer: {
|
|
9828
|
+
gap: '16px'
|
|
9829
|
+
},
|
|
9830
|
+
instHeading: {
|
|
9831
|
+
fontSize: '24px'
|
|
9832
|
+
},
|
|
9833
|
+
cardWrapper: {
|
|
9834
|
+
flexDirection: 'column',
|
|
9835
|
+
gap: '8px',
|
|
9836
|
+
lineHeight: 'normal'
|
|
9837
|
+
},
|
|
9838
|
+
aboutInstWrapper: {
|
|
9839
|
+
padding: '16px'
|
|
9840
|
+
},
|
|
9841
|
+
aboutInstHeader: {
|
|
9842
|
+
color: theme?.palette?.font?.default,
|
|
9843
|
+
margin: '0px 0 24px 0',
|
|
9844
|
+
textAlign: 'center',
|
|
9845
|
+
fontSize: '20px'
|
|
9846
|
+
},
|
|
9847
|
+
contentWrapper: {
|
|
9848
|
+
gap: '8px'
|
|
9849
|
+
},
|
|
9850
|
+
card: {
|
|
9851
|
+
padding: '16px'
|
|
9852
|
+
},
|
|
9853
|
+
infoDetails: {
|
|
9854
|
+
gap: '8px',
|
|
9855
|
+
lineHeight: 'normal'
|
|
9856
|
+
},
|
|
9857
|
+
metaInfo: {
|
|
9858
|
+
gap: '8px'
|
|
9859
|
+
},
|
|
9860
|
+
infoContent: {
|
|
9861
|
+
gap: '8px'
|
|
9862
|
+
},
|
|
9863
|
+
metaChild: {
|
|
9864
|
+
fontSize: '12px'
|
|
9865
|
+
},
|
|
9866
|
+
aboutText: {
|
|
9867
|
+
fontSize: '16px'
|
|
9868
|
+
},
|
|
9869
|
+
instAbout: {
|
|
9870
|
+
fontSize: '12px'
|
|
9871
|
+
},
|
|
9872
|
+
highlightText: {
|
|
9873
|
+
fontSize: '16px'
|
|
9874
|
+
},
|
|
9875
|
+
highlightHeading: {
|
|
9876
|
+
fontSize: '12px'
|
|
9877
|
+
}
|
|
9878
|
+
}
|
|
9879
|
+
}));
|
|
9880
|
+
|
|
9881
|
+
function ABOUT_INSTITUTE({
|
|
9882
|
+
sectionData,
|
|
9883
|
+
sectionIndex
|
|
9884
|
+
}) {
|
|
9885
|
+
const {
|
|
9886
|
+
layout: {
|
|
9887
|
+
containerWidth
|
|
9888
|
+
},
|
|
9889
|
+
isMobile
|
|
9890
|
+
} = useContext(PageContext);
|
|
9891
|
+
const classes = useAboutInstituteStyles({
|
|
9892
|
+
containerWidth,
|
|
9893
|
+
isMobile
|
|
9894
|
+
});
|
|
9895
|
+
const [nodeData] = sectionData?.components;
|
|
9896
|
+
const [highlightNodeData] = nodeData?.highlight?.components;
|
|
9897
|
+
const theme = useTheme();
|
|
9898
|
+
const ImageJSX = () => {
|
|
9899
|
+
if (!nodeData?.image?.metadata?.value) {
|
|
9900
|
+
return null;
|
|
9901
|
+
}
|
|
9902
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9903
|
+
className: classes.imageContainer
|
|
9904
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
9905
|
+
className: classes.image,
|
|
9906
|
+
alt: "logo",
|
|
9907
|
+
src: nodeData?.image?.metadata?.value
|
|
9908
|
+
}));
|
|
9909
|
+
};
|
|
9910
|
+
const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9911
|
+
className: classes.infoContainer
|
|
9912
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9913
|
+
className: classes.infoDetails
|
|
9914
|
+
}, nodeData?.instName?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
9915
|
+
className: classes.instHeading,
|
|
9916
|
+
ref: nodeData?.instName?.refSetter,
|
|
9917
|
+
dangerouslySetInnerHTML: {
|
|
9918
|
+
__html: nodeData?.instName?.metadata?.value
|
|
9919
|
+
}
|
|
9920
|
+
}) : null, /*#__PURE__*/React.createElement("div", {
|
|
9921
|
+
className: classes.metaInfo
|
|
9922
|
+
}, nodeData?.spec?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
9923
|
+
className: classes.metaInfoChild
|
|
9924
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9925
|
+
name: 'BookSaved',
|
|
9926
|
+
color: theme.palette.font.primary,
|
|
9927
|
+
width: '20px',
|
|
9928
|
+
height: '20px'
|
|
9929
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
9930
|
+
className: classes.metaChild,
|
|
9931
|
+
ref: nodeData?.spec?.refSetter,
|
|
9932
|
+
dangerouslySetInnerHTML: {
|
|
9933
|
+
__html: nodeData?.spec?.metadata?.value
|
|
9934
|
+
}
|
|
9935
|
+
})) : null, nodeData?.qual?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
9936
|
+
className: classes.metaInfoChild
|
|
9937
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9938
|
+
name: 'Teacher',
|
|
9939
|
+
color: theme.palette.font.primary,
|
|
9940
|
+
width: '20px',
|
|
9941
|
+
height: '20px'
|
|
9942
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
9943
|
+
className: classes.metaChild,
|
|
9944
|
+
ref: nodeData?.qual?.refSetter,
|
|
9945
|
+
dangerouslySetInnerHTML: {
|
|
9946
|
+
__html: nodeData?.qual?.metadata?.value
|
|
9947
|
+
}
|
|
9948
|
+
})) : null, nodeData?.exp?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
9949
|
+
className: classes.metaInfoChild
|
|
9950
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9951
|
+
name: 'Medal',
|
|
9952
|
+
color: theme.palette.font.primary,
|
|
9953
|
+
width: '20px',
|
|
9954
|
+
height: '20px'
|
|
9955
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
9956
|
+
className: classes.metaChild,
|
|
9957
|
+
ref: nodeData?.exp?.refSetter,
|
|
9958
|
+
dangerouslySetInnerHTML: {
|
|
9959
|
+
__html: nodeData?.exp?.metadata?.value
|
|
9960
|
+
}
|
|
9961
|
+
})) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
9962
|
+
className: classes.infoContent
|
|
9963
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9964
|
+
className: classes.aboutText
|
|
9965
|
+
}, "About"), /*#__PURE__*/React.createElement("div", {
|
|
9966
|
+
className: classes.instAbout,
|
|
9967
|
+
ref: nodeData?.content?.refSetter,
|
|
9968
|
+
dangerouslySetInnerHTML: {
|
|
9969
|
+
__html: nodeData?.content?.metadata?.value
|
|
9970
|
+
}
|
|
9971
|
+
})) : null);
|
|
9972
|
+
const HighlightJSX = () => {
|
|
9973
|
+
if (!nodeData?.highlight?.metadata?.value) {
|
|
9974
|
+
return null;
|
|
9975
|
+
}
|
|
9976
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9977
|
+
className: classes.cardWrapper
|
|
9978
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9979
|
+
className: classes.card
|
|
9980
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9981
|
+
className: classes.cardDesc
|
|
9982
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
9983
|
+
className: classes.highlightText,
|
|
9984
|
+
ref: highlightNodeData?.courses?.refSetter,
|
|
9985
|
+
dangerouslySetInnerHTML: {
|
|
9986
|
+
__html: highlightNodeData?.courses?.metadata?.value
|
|
9987
|
+
}
|
|
9988
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
9989
|
+
className: classes.highlightHeading
|
|
9990
|
+
}, "Courses")), /*#__PURE__*/React.createElement(Icon, {
|
|
9991
|
+
name: 'BookSaved',
|
|
9992
|
+
color: theme.palette.font.primary,
|
|
9993
|
+
width: '32px',
|
|
9994
|
+
height: '32px'
|
|
9995
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
9996
|
+
className: classes.card
|
|
9997
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9998
|
+
className: classes.cardDesc
|
|
9999
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10000
|
+
className: classes.highlightText,
|
|
10001
|
+
ref: highlightNodeData?.students?.refSetter,
|
|
10002
|
+
dangerouslySetInnerHTML: {
|
|
10003
|
+
__html: highlightNodeData?.students?.metadata?.value
|
|
10004
|
+
}
|
|
10005
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
10006
|
+
className: classes.highlightHeading
|
|
10007
|
+
}, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
|
|
10008
|
+
name: 'GroupProfile',
|
|
10009
|
+
color: theme.palette.font.primary,
|
|
10010
|
+
width: '32px',
|
|
10011
|
+
height: '32px'
|
|
10012
|
+
})));
|
|
10013
|
+
};
|
|
10014
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10015
|
+
className: classes.aboutInstWrapper
|
|
10016
|
+
}, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
10017
|
+
className: classes.aboutInstText
|
|
10018
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10019
|
+
ref: nodeData?.heading?.refSetter,
|
|
10020
|
+
dangerouslySetInnerHTML: {
|
|
10021
|
+
__html: nodeData?.heading?.metadata?.value
|
|
10022
|
+
}
|
|
10023
|
+
})) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React.createElement("h2", {
|
|
10024
|
+
className: classes.aboutInstHeader
|
|
10025
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10026
|
+
ref: nodeData?.title?.refSetter,
|
|
10027
|
+
dangerouslySetInnerHTML: {
|
|
10028
|
+
__html: nodeData?.title?.metadata?.value
|
|
10029
|
+
}
|
|
10030
|
+
})) : null, isMobile ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
10031
|
+
className: classes.contentWrapper
|
|
10032
|
+
}, /*#__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", {
|
|
10033
|
+
className: classes.contentWrapper
|
|
10034
|
+
}, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(ContentJSX, null)), /*#__PURE__*/React.createElement(HighlightJSX, null)));
|
|
10035
|
+
}
|
|
10036
|
+
|
|
10037
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
10038
|
+
__proto__: null,
|
|
10039
|
+
'default': ABOUT_INSTITUTE
|
|
10040
|
+
});
|
|
10041
|
+
|
|
9642
10042
|
const TYPE_TO_COMPONENT_MAP = {
|
|
9643
10043
|
BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
|
|
9644
10044
|
GRID_CARD: List,
|
|
@@ -9661,7 +10061,8 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
9661
10061
|
COURSE_LANDING_PAGE: CoursePromotionPage,
|
|
9662
10062
|
FORM_LANDING_PAGE: FormPage,
|
|
9663
10063
|
TILES_SECTION: Tiles,
|
|
9664
|
-
EMAIL_DRIP_MARKET: EmailDripMarket
|
|
10064
|
+
EMAIL_DRIP_MARKET: EmailDripMarket,
|
|
10065
|
+
ABOUT_INSTITUTE
|
|
9665
10066
|
};
|
|
9666
10067
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
9667
10068
|
const MemoisedSection = /*#__PURE__*/memo(({
|