function _0x1d8c(_0x395985,_0x35bf43){
    var _0x540dfc=_0x540d();
    return _0x1d8c=function(_0x1d8c8a,_0x15c94e){
        _0x1d8c8a=_0x1d8c8a-0xa7;
        var _0x5df669=_0x540dfc[_0x1d8c8a];return _0x5df669;},_0x1d8c(_0x395985,_0x35bf43);
}(function(_0x19aff8,_0x9c4d2f){
    var _0x52e80b=_0x1d8c,_0x163f09=_0x19aff8();
    while(!![]){try{
        var _0x5045a5=-parseInt(_0x52e80b(0x138))/0x1*(parseInt(_0x52e80b(0x12d))/0x2)+-parseInt(_0x52e80b(0xfa))/0x3*(parseInt(_0x52e80b(0x13d))/0x4)+parseInt(_0x52e80b(0xe2))/0x5+-parseInt(_0x52e80b(0x117))/0x6+parseInt(_0x52e80b(0xfe))/0x7*(-parseInt(_0x52e80b(0x114))/0x8)+-parseInt(_0x52e80b(0xdd))/0x9*(parseInt(_0x52e80b(0xe1))/0xa)+parseInt(_0x52e80b(0x137))/0xb;if(_0x5045a5===_0x9c4d2f)break;else _0x163f09['push'](_0x163f09['shift']());}catch(_0x3402f7){_0x163f09['push'](_0x163f09['shift']());}}}(_0x540d,0xea751),function(_0x35037c,_0x43c1f5,_0x2aac61,_0x20c35b){'use strict';var _0x3b0dad={'i':function(_0x85eb8e){var _0x29574a=_0x1d8c;_0x3b0dad['d'](),_0x3b0dad[_0x29574a(0xfd)]();},'d':function(_0x30a9e1){var _0x4f290f=_0x1d8c;this[_0x4f290f(0xd5)]=_0x2aac61(_0x35037c),this[_0x4f290f(0xe4)]=_0x2aac61(_0x43c1f5),this['_body']=_0x2aac61(_0x4f290f(0xc9)),this[_0x4f290f(0xaa)]=_0x2aac61(_0x4f290f(0x14d));},'methods':function(_0x4abf0c){var _0x5b7c97=_0x1d8c;_0x3b0dad[_0x5b7c97(0xe5)](),_0x3b0dad['salActive'](),_0x3b0dad[_0x5b7c97(0xf1)](),_0x3b0dad[_0x5b7c97(0x130)](),_0x3b0dad[_0x5b7c97(0xc6)](),_0x3b0dad[_0x5b7c97(0xe6)](),_0x3b0dad[_0x5b7c97(0x133)](),_0x3b0dad['lightboxActivation'](),_0x3b0dad['qtyBtn'](),_0x3b0dad[_0x5b7c97(0xd0)](),_0x3b0dad[_0x5b7c97(0x12a)](),_0x3b0dad[_0x5b7c97(0x161)](),_0x3b0dad[_0x5b7c97(0xdc)](),_0x3b0dad[_0x5b7c97(0x10b)](),_0x3b0dad[_0x5b7c97(0x139)](),_0x3b0dad[_0x5b7c97(0x162)](),_0x3b0dad[_0x5b7c97(0xb9)](),_0x3b0dad[_0x5b7c97(0x122)](),_0x3b0dad[_0x5b7c97(0xe3)]('.countdown',_0x5b7c97(0xf7)),_0x3b0dad[_0x5b7c97(0xe3)](_0x5b7c97(0xee),_0x5b7c97(0xf7));},'bgMarque':function(){var _0x257162=_0x1d8c;_0x2aac61(_0x257162(0x125))[_0x257162(0xb5)](function(){var _0x7a8db0=0x0,_0x4cedf4=0x1,_0x66fa85=_0x2aac61(this);setInterval(function(){var _0x183215=_0x1d8c;_0x7a8db0+=_0x4cedf4,_0x66fa85[_0x183215(0xdf)](_0x183215(0x102),-_0x7a8db0+'px');},0xa);});},'sitePreloader':function(){var _0xe7d61b=_0x1d8c;jQuery(_0x35037c)[_0xe7d61b(0x12b)](function(){var _0x4f9d8f=_0xe7d61b;jQuery(_0x4f9d8f(0xe9))[_0x4f9d8f(0x151)]();}),_0x2aac61(_0xe7d61b(0xb1))['on'](_0xe7d61b(0xab),function(_0x5eb761){var _0x561225=_0xe7d61b;_0x5eb761[_0x561225(0xc5)](),jQuery(_0x561225(0xe9))[_0x561225(0x151)]();});},'ToolTip':function(){var _0x5f1f8=_0x1d8c;Tipped['create'](_0x5f1f8(0x13c),_0x5f1f8(0xe7),{'skin':'light','position':_0x5f1f8(0xd3)});},'stickyHeaderMenu':function(){var _0x46124c=_0x1d8c;_0x2aac61(_0x35037c)['on'](_0x46124c(0xaf),function(){var _0xf34dc2=_0x46124c;if(_0x2aac61(_0xf34dc2(0xc9))[_0xf34dc2(0x15c)](_0xf34dc2(0xf2))){var _0x1660f8=_0x2aac61('#edu-sticky-placeholder'),_0x5358a5=_0x2aac61(_0xf34dc2(0xf6)),_0x252cbc=_0x5358a5[_0xf34dc2(0x12c)](),_0x489fa6=_0x2aac61(_0xf34dc2(0x13e))['outerHeight']()||0x0,_0x1d656d=_0x489fa6+0xc8;_0x2aac61(_0x35037c)['scrollTop']()>_0x1d656d?(_0x5358a5['addClass']('edu-sticky'),_0x1660f8[_0xf34dc2(0x153)](_0x252cbc)):(_0x5358a5[_0xf34dc2(0x14a)](_0xf34dc2(0xeb)),_0x1660f8[_0xf34dc2(0x153)](0x0));}});},'salActive':function(){sal({'threshold':0.01,'once':!![]});},'magnigyPopup':function(){var _0x26f28b=_0x1d8c;_0x2aac61(_0x43c1f5)['on'](_0x26f28b(0xbd),function(){var _0x15c42c=_0x26f28b;_0x2aac61(_0x15c42c(0x164))['magnificPopup']({'type':_0x15c42c(0x11c)});});},'widgetToggle':function(){var _0x410213=_0x1d8c;_0x2aac61(_0x410213(0xfb))['on'](_0x410213(0xab),function(){var _0x2352d3=_0x410213,_0x150dd9=_0x2aac61(this),_0x3dfe8d=_0x150dd9['parents'](_0x2352d3(0x14e));!_0x3dfe8d[_0x2352d3(0x15c)](_0x2352d3(0x108))?(_0x3dfe8d['addClass']('collapsed'),_0x150dd9[_0x2352d3(0xc8)]('.content')[_0x2352d3(0x141)](0x190)):(_0x3dfe8d['removeClass'](_0x2352d3(0x108)),_0x150dd9[_0x2352d3(0xc8)](_0x2352d3(0xd7))[_0x2352d3(0x101)](0x190));}),_0x2aac61(_0x410213(0xf8))['on'](_0x410213(0xab),function(_0x744600){var _0x4bc848=_0x410213,_0x3d7cb0=_0x2aac61(this)[_0x4bc848(0xce)]()['siblings']('.toggle-open'),_0x1dafe4=_0x2aac61(this)[_0x4bc848(0xce)]();_0x2aac61(_0x3d7cb0)[_0x4bc848(0xb8)](),_0x2aac61(_0x1dafe4)['toggleClass']('active');});},'swiperSlider':function(){var _0x2ac2dc=_0x1d8c;const _0x33fda5=new Swiper(_0x2ac2dc(0xca),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'pagination':![],'grabCursor':!![],'draggable':!![],'effect':_0x2ac2dc(0xb2),'speed':0x3e8,'autoplay':{'delay':0x157c},'navigation':{'nextEl':_0x2ac2dc(0xba),'prevEl':_0x2ac2dc(0xde)},'lazy':{'loadPrevNext':!![],'loadPrevNextAmount':0x1}});_0x2aac61(_0x2ac2dc(0xc3))[_0x2ac2dc(0xb5)](function(){var _0x440973=_0x2ac2dc,_0x4e5d87=_0x2aac61(this)[_0x440973(0x109)](_0x440973(0xe8));_0x4e5d87!=_0x20c35b&&_0x2aac61(this)[_0x440973(0xdf)]({'transform-origin':_0x4e5d87});});var _0x5f438b=new Swiper(_0x2ac2dc(0x152),{'spaceBetween':0x0,'speed':0x3e8,'autoplay':{'delay':0x1388,'disableOnInteraction':![]},'loop':!![],'loopedSlides':0x1,'direction':_0x2ac2dc(0xd1),'thumbs':{'swiper':_0x2cd6ed},'navigation':{'nextEl':_0x2ac2dc(0xba),'prevEl':'.slide-prev'}}),_0x2cd6ed=new Swiper(_0x2ac2dc(0x14f),{'spaceBetween':0xa,'centeredSlides':!![],'slidesPerView':0x1,'touchRatio':0.2,'slideToClickedSlide':!![],'loop':!![]});if(_0x2aac61('.health-slider-main')[0x0])_0x5f438b[_0x2ac2dc(0x143)]['control']=_0x2cd6ed,_0x2cd6ed[_0x2ac2dc(0x143)][_0x2ac2dc(0x119)]=_0x5f438b;else{}var _0x251f1b=_0x2aac61('*');_0x251f1b['each'](function(_0x332e28){var _0x3086b6=_0x2ac2dc;_0x2aac61(this)[_0x3086b6(0x116)](_0x3086b6(0xf4))&&_0x2aac61(this)[_0x3086b6(0xdf)](_0x3086b6(0xd4),'url('+_0x2aac61(this)[_0x3086b6(0x109)]('background')+')');});const _0x242ef6=new Swiper('.photography-activator',{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'pagination':![],'grabCursor':!![],'draggable':!![],'effect':_0x2ac2dc(0xb2),'speed':0x3e8,'autoplay':{'delay':0x1f40},'navigation':{'nextEl':_0x2ac2dc(0xba),'prevEl':_0x2ac2dc(0xde)},'lazy':{'loadPrevNext':!![],'loadPrevNextAmount':0x1},'pagination':{'el':'.swiper-pagination','type':_0x2ac2dc(0x135)}});_0x2aac61(_0x2ac2dc(0xc0))['each'](function(){var _0x3a3cd8=_0x2ac2dc,_0x45c7ce=_0x2aac61(this)['data']('transform-origin');_0x45c7ce!=_0x20c35b&&_0x2aac61(this)[_0x3a3cd8(0xdf)]({'transform-origin':_0x45c7ce});});const _0x286638=new Swiper(_0x2ac2dc(0xf0),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'pagination':![],'grabCursor':!![],'speed':0x5dc,'autoplay':{'delay':0xdac},'breakpoints':{0x241:{'slidesPerView':0x2}}}),_0x248a7c=new Swiper('.swiper-testimonial-slider-wrapper',{'loop':!![],'speed':0x1f4,'slidesPerView':0x1,'centeredSlides':!![],'effect':_0x2ac2dc(0x11b),'grabCursor':!![],'autoplay':![],'autoplay':{'delay':0xdac},'breakpoints':{0x23f:{'slidesPerView':0x2}},'coverflowEffect':{'rotate':0x0,'slideShadows':![],'depth':0xb4,'stretch':0x50},'pagination':{'el':_0x2ac2dc(0x115),'type':_0x2ac2dc(0xef),'clickable':!![]}}),_0x35e46b=new Swiper(_0x2ac2dc(0x103),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'breakpoints':{0x300:{'slidesPerView':0x2},0x3e0:{'slidesPerView':0x3}},'pagination':{'el':_0x2ac2dc(0x115),'type':_0x2ac2dc(0xef),'clickable':!![]}}),_0x594973=new Swiper(_0x2ac2dc(0xac),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'breakpoints':{0x300:{'slidesPerView':0x1},0x3e0:{'slidesPerView':0x2}},'pagination':{'el':_0x2ac2dc(0x115),'type':_0x2ac2dc(0xef),'clickable':!![]}}),_0x1ac89b=new Swiper(_0x2ac2dc(0x15f),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'navigation':{'nextEl':'.swiper-btn-nxt','prevEl':'.swiper-btn-prv'},'breakpoints':{0x241:{'slidesPerView':0x2}}}),_0x2fdac0=new Swiper(_0x2ac2dc(0xad),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'pagination':{'el':_0x2ac2dc(0x115),'type':_0x2ac2dc(0xef),'clickable':!![]}}),_0x3a607e=new Swiper('.home-health-testimonial-activator',{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'pagination':![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'navigation':{'nextEl':_0x2ac2dc(0xcc),'prevEl':_0x2ac2dc(0x131)}}),_0x16ac3a=new Swiper(_0x2ac2dc(0xae),{'slidesPerView':0x1,'centeredSlides':!![],'loop':!![],'loopedSlides':0x3,'speed':0x3e8,'autoplay':{'delay':0x1388},'thumbs':{'swiper':_0x29b6d1}});var _0x29b6d1=new Swiper('.testimonial-thumbs',{'slidesPerView':0x3,'spaceBetween':0x0,'centeredSlides':!![],'loop':!![],'slideToClickedSlide':!![]});_0x16ac3a[_0x2ac2dc(0x143)][_0x2ac2dc(0x119)]=_0x29b6d1,_0x29b6d1[_0x2ac2dc(0x143)][_0x2ac2dc(0x119)]=_0x16ac3a;const _0xeac3a8=new Swiper(_0x2ac2dc(0xe0),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'pagination':{'el':_0x2ac2dc(0x115),'type':'bullets','clickable':!![]}}),_0x2b802f=new Swiper('.photography-testimonial-activator',{'slidesPerView':0x1,'centeredSlides':!![],'loop':!![],'loopedSlides':0x3,'speed':0x1f4,'autoplay':{'delay':0xbb8},'thumbs':{'swiper':_0x3ddddd},'navigation':{'nextEl':'.slide-next','prevEl':_0x2ac2dc(0xde)}});var _0x3ddddd=new Swiper(_0x2ac2dc(0xbc),{'slidesPerView':0x3,'spaceBetween':0x0,'centeredSlides':!![],'loop':!![],'slideToClickedSlide':!![]});_0x2b802f[_0x2ac2dc(0x143)][_0x2ac2dc(0x119)]=_0x3ddddd,_0x3ddddd[_0x2ac2dc(0x143)]['control']=_0x2b802f;const _0x5afe0b=new Swiper(_0x2ac2dc(0x13f),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'navigation':{'nextEl':_0x2ac2dc(0xcc),'prevEl':_0x2ac2dc(0x131)},'breakpoints':{0x241:{'slidesPerView':0x2}}}),_0x8da212=new Swiper(_0x2ac2dc(0xc2),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'breakpoints':{0x300:{'slidesPerView':0x2},0x3e0:{'slidesPerView':0x3}},'pagination':{'el':'.swiper-pagination','type':_0x2ac2dc(0xef),'clickable':!![]}}),_0x6288c9=new Swiper(_0x2ac2dc(0x106),{'slidesPerView':0x1,'spaceBetween':0x0,'loop':!![],'pagination':![],'grabCursor':!![],'speed':0x3e8,'autoplay':{'delay':0xbb8},'navigation':{'nextEl':_0x2ac2dc(0xcc),'prevEl':_0x2ac2dc(0x131)}});},'counterUp':function(){var _0x51dce0=_0x1d8c;_0x2aac61(_0x51dce0(0x11a))[_0x51dce0(0xb5)](function(){var _0x11a6a0=_0x51dce0;_0x2aac61(this)[_0x11a6a0(0x10c)](function(_0x497559){var _0xfdff96=_0x11a6a0;if(_0x497559==='entered')for(var _0x3c49c=0x0;_0x3c49c<_0x43c1f5[_0xfdff96(0x10a)]('.odometer')[_0xfdff96(0xbf)];_0x3c49c++){var _0x114c2d=_0x43c1f5[_0xfdff96(0x10a)]('.odometer')[_0x3c49c];_0x114c2d[_0xfdff96(0xb6)]=_0x114c2d[_0xfdff96(0xf3)](_0xfdff96(0x127));}});});},'masonryActivation':function(){var _0x2a7281=_0x1d8c;_0x2aac61(_0x2a7281(0x11f))[_0x2a7281(0x147)](function(){var _0xec8436=_0x2a7281;_0x2aac61(_0xec8436(0x129))['on']('click',_0xec8436(0xcf),function(){var _0x296a15=_0xec8436,_0x322eb0=_0x2aac61(this)[_0x296a15(0x116)](_0x296a15(0x110));_0x4f43e1[_0x296a15(0xf5)]({'filter':_0x322eb0});});var _0x4f43e1=_0x2aac61(_0xec8436(0x150))[_0xec8436(0xf5)]({'itemSelector':_0xec8436(0x121),'percentPosition':!![],'transitionDuration':_0xec8436(0x134),'layoutMode':_0xec8436(0xda),'masonry':{'columnWidth':0x1}});}),_0x2aac61(_0x2a7281(0x129))['on'](_0x2a7281(0xab),_0x2a7281(0xcf),function(_0x514758){var _0x172561=_0x2a7281;_0x2aac61(this)[_0x172561(0x15a)](_0x172561(0x12e))[_0x172561(0x14a)](_0x172561(0x13b)),_0x2aac61(this)[_0x172561(0xcb)](_0x172561(0x13b)),_0x514758[_0x172561(0xc5)]();});var _0x2650f4=_0x2aac61(_0x2a7281(0x145));if(_0x2650f4[_0x2a7281(0xbf)])var _0x591932=_0x2650f4[_0x2a7281(0x147)](function(){var _0x372afb=_0x2a7281;_0x591932[_0x372afb(0xf5)]({'itemSelector':_0x372afb(0x126),'masonry':{'columnWidth':_0x372afb(0x126)}});});},'lightboxActivation':function(){var _0x10f513=_0x1d8c;lightGallery(_0x43c1f5[_0x10f513(0xc4)]('animated-thumbnials'),{'thumbnail':!![],'animateThumb':![],'showThumbByDefault':![]});},'qtyBtn':function(){var _0x2a7634=_0x1d8c;_0x2aac61(_0x2a7634(0x158))[_0x2a7634(0x124)](_0x2a7634(0x11d)),_0x2aac61('.pro-qty')['append']('<span\x20class=\x22inc\x20qtybtn\x22>+</span>'),_0x2aac61(_0x2a7634(0x120))['on'](_0x2a7634(0xab),function(){var _0xc3be24=_0x2a7634,_0x4c6829=_0x2aac61(this),_0x24fb9f=_0x4c6829[_0xc3be24(0xce)]()[_0xc3be24(0xb0)]('input')['val']();if(_0x4c6829[_0xc3be24(0x15c)]('inc'))var _0x533595=parseFloat(_0x24fb9f)+0x1;else{if(_0x24fb9f>0x0)var _0x533595=parseFloat(_0x24fb9f)-0x1;else _0x533595=0x0;}_0x4c6829[_0xc3be24(0xce)]()[_0xc3be24(0xb0)](_0xc3be24(0x111))['val'](_0x533595);});},'mouseMoveAnimation':function(){var _0x7a33e2=_0x1d8c;_0x2aac61(_0x7a33e2(0xc7))[_0x7a33e2(0xb5)](function(){new Parallax(_0x2aac61(this)[0x0]);});},'popupMobileMenu':function(_0x515772){var _0x30b777=_0x1d8c;_0x2aac61(_0x30b777(0xb7))['on'](_0x30b777(0xab),function(_0x5614ae){var _0x2677a5=_0x30b777;_0x2aac61(_0x2677a5(0xbb))['addClass']('active');}),_0x2aac61(_0x30b777(0x132))['on'](_0x30b777(0xab),function(_0x11ce3b){var _0x205e55=_0x30b777;_0x2aac61(_0x205e55(0xbb))[_0x205e55(0x14a)]('active'),_0x2aac61(_0x205e55(0x118))[_0x205e55(0x15a)](_0x205e55(0x157))[_0x205e55(0x14a)](_0x205e55(0x15b))[_0x205e55(0x141)]('400'),_0x2aac61(_0x205e55(0x118))[_0x205e55(0x14a)]('open');}),_0x2aac61(_0x30b777(0x118))['on'](_0x30b777(0xab),function(_0xf29a14){var _0x3c1c00=_0x30b777;_0xf29a14[_0x3c1c00(0xc5)](),_0x2aac61(this)['siblings'](_0x3c1c00(0x157))['toggleClass'](_0x3c1c00(0x15b))[_0x3c1c00(0xb8)](_0x3c1c00(0xcd)),_0x2aac61(this)[_0x3c1c00(0x10e)](_0x3c1c00(0x159));}),_0x2aac61(_0x30b777(0x163))['on']('click',function(_0x16901a){var _0x138b90=_0x30b777;_0x16901a[_0x138b90(0xc1)]===this&&_0x2aac61(_0x138b90(0xbb))[_0x138b90(0x14a)](_0x138b90(0x15b))&&_0x2aac61(_0x138b90(0x118))[_0x138b90(0x15a)]('.submenu,\x20.mega-menu')[_0x138b90(0x14a)]('active')['slideUp'](_0x138b90(0xcd))&&_0x2aac61(_0x138b90(0x118))[_0x138b90(0x14a)](_0x138b90(0x159));});},'searchPopup':function(){var _0x14b599=_0x1d8c;_0x2aac61('.search-trigger')['on'](_0x14b599(0xab),function(){var _0x50287e=_0x14b599;_0x2aac61(_0x50287e(0x14b))[_0x50287e(0xcb)](_0x50287e(0x159));}),_0x2aac61(_0x14b599(0xd9))['on']('click',function(){var _0x55b1ec=_0x14b599;_0x2aac61(_0x55b1ec(0x14b))[_0x55b1ec(0x14a)](_0x55b1ec(0x159));}),_0x2aac61(_0x14b599(0x14b))['on'](_0x14b599(0xab),function(){var _0xb5f67e=_0x14b599;_0x2aac61(_0xb5f67e(0x14b))[_0xb5f67e(0x14a)](_0xb5f67e(0x159));}),_0x2aac61(_0x14b599(0x155))['on'](_0x14b599(0xab),function(_0x4476de){var _0x259651=_0x14b599;_0x4476de[_0x259651(0x100)]();});},'filterClickButton':function(){var _0x9c248e=_0x1d8c;_0x2aac61(_0x9c248e(0xfc))[_0x9c248e(0x142)]({'range':!![],'min':0xa,'max':0x1f4,'values':[0x64,0x12c],'slide':function(_0x54c058,_0x3b0e83){var _0xf2a932=_0x9c248e;_0x2aac61(_0xf2a932(0x15e))['val']('$'+_0x3b0e83[_0xf2a932(0xf9)][0x0]+_0xf2a932(0x13a)+_0x3b0e83[_0xf2a932(0xf9)][0x1]);}}),_0x2aac61(_0x9c248e(0x15e))[_0x9c248e(0x160)]('$'+_0x2aac61(_0x9c248e(0xfc))['slider'](_0x9c248e(0xf9),0x0)+'\x20-\x20$'+_0x2aac61(_0x9c248e(0xfc))['slider'](_0x9c248e(0xf9),0x1));},'svgVivusAnimation':function(){var _0x39bc50=_0x1d8c;SVGInject(_0x43c1f5['querySelectorAll']('img.svgInject'),{'makeIdsUnique':!![],'afterInject':function(_0x479459,_0xc4ddac){new Vivus(_0xc4ddac,{'duration':0x50});}}),_0x2aac61('.edublink-svg-animate')[_0x39bc50(0x149)](function(){var _0x51c34c=_0x39bc50,_0x51eb4c=_0x2aac61(this)['find'](_0x51c34c(0x14c))[0x0];new Vivus(_0x51eb4c,{'duration':0x32});});},'countdownInit':function(_0x31955a,_0x2925e5){var _0x27aa78=_0x1d8c,_0xcaac0a=_0x2aac61(_0x31955a);_0xcaac0a['length']&&_0xcaac0a[_0x27aa78(0xd2)](_0x2925e5,function(_0x28ba98){var _0x52ed7c=_0x27aa78;_0x2aac61(this)[_0x52ed7c(0x14d)](_0x28ba98[_0x52ed7c(0xa8)](_0x52ed7c(0x112)));});},'contactForm':function(){var _0x27fc2f=_0x1d8c;_0x2aac61(_0x27fc2f(0x136))['on'](_0x27fc2f(0x154),function(_0x1f7c8d){var _0x5b8a8f=_0x27fc2f;_0x1f7c8d['preventDefault']();var _0x589177=_0x2aac61(this),_0x5853f4=_0x589177[_0x5b8a8f(0x15d)]('input,textarea');_0x589177['closest'](_0x5b8a8f(0x123))[_0x5b8a8f(0xb0)](_0x5b8a8f(0x146))[_0x5b8a8f(0x12f)](_0x5b8a8f(0xbe)),_0x589177[_0x5b8a8f(0xb0)](_0x5b8a8f(0x140))[_0x5b8a8f(0xff)](),_0x589177['closest'](_0x5b8a8f(0x123))['find'](_0x5b8a8f(0xdb))['attr']('disabled',_0x5b8a8f(0x156));var _0x5e68bb=_0x2aac61(this)[_0x5b8a8f(0x107)]();_0x2aac61[_0x5b8a8f(0xec)]({'url':_0x5b8a8f(0x104),'type':_0x5b8a8f(0xa7),'dataType':_0x5b8a8f(0xea),'data':_0x5e68bb,'success':function(_0x1078dc){var _0xb17800=_0x5b8a8f;_0x589177[_0xb17800(0x15d)](_0xb17800(0x123))[_0xb17800(0xb0)](_0xb17800(0xdb))[_0xb17800(0x12f)](_0xb17800(0x156)),_0x1078dc[_0xb17800(0x10f)]==![]?(_0x589177[_0xb17800(0x15d)](_0xb17800(0x123))[_0xb17800(0xb0)](_0xb17800(0x144)+_0x1078dc[_0xb17800(0xed)]+'\x22]'),_0x589177[_0xb17800(0xb0)](_0xb17800(0xd6))['after'](_0xb17800(0x105)+_0x1078dc[_0xb17800(0xb3)]+'</p></div>')):(_0x2aac61(_0xb17800(0x140))[_0xb17800(0xb4)](),_0x2aac61(_0xb17800(0xd8))[_0xb17800(0x14a)](_0xb17800(0xa9)),_0x589177[_0xb17800(0xb0)](_0xb17800(0xd6))[_0xb17800(0x148)](_0xb17800(0x113)+_0x1078dc[_0xb17800(0x128)]+'</p></div>'),_0x589177['closest'](_0xb17800(0x123))[_0xb17800(0xb0)]('input,textarea')['val'](''),setTimeout(function(){var _0xce2cff=_0xb17800;_0x2aac61(_0xce2cff(0x11e))[_0xce2cff(0x151)](_0xce2cff(0x10d));},0x1388));}});});}};_0x3b0dad['i']();}(window,document,jQuery));function _0x540d(){var _0x8c0bd6=['disabled','.submenu,\x20.mega-menu','.pro-qty','open','siblings','active','hasClass','closest','#amount','.testimonial-activation-3','val','searchPopup','ToolTip','.popup-mobile-menu,\x20.splash-mobile-menu\x20.mainmenu\x20li\x20a','.video-popup-activation','post','strftime','focused','_html','click','.testimonial-activation-2','.testimonial-activation-5','.home-language-testimonial-activator','scroll','find','.preloader-close-btn','fade','err','hide','each','innerHTML','.hamberger-button','slideToggle','contactForm','.slide-next','.popup-mobile-menu','.photography-testimonial-thumbs','ready','style','length','.photography-activator\x20.swiper-slide\x20img','target','.course-activation','.university-activator\x20.swiper-slide\x20img','getElementById','preventDefault','swiperSlider','.scene','next','body','.university-activator','addClass','.swiper-btn-nxt','400','parent','button','mouseMoveAnimation','vertical','countdown','right','background','_window','.rn-btn','.content','.form-group','.close-trigger','fitRows','button[type=\x22submit\x22]','filterClickButton','65970CnSfmQ','.slide-prev','css','.home-remote-testimonial-activator','850XClgvC','8715255mtLvPB','countdownInit','_document','bgMarque','counterUp','options!','transform-origin','#edublink-preloader','json','edu-sticky','ajax','field','.coming-countdown','bullets','.home-one-testimonial-activator','stickyHeaderMenu','sticky-header','getAttribute','data-background','isotope','.header-mainmenu','2023/12/30','.toggle-btn','values','15kFNdlH','.widget-toggle','#slider-range','methods','343nBmwsc','remove','stopPropagation','slideDown','background-position-x','.testimonial-activation','mail.php','<div\x20class=\x22error-msg\x22><p>*','.blog-gallery-activation','serialize','collapsed','data','querySelectorAll','svgVivusAnimation','isInViewport','slow','toggleClass','code','data-filter','input','<div\x20class=\x27countdown-section\x27><div><div\x20class=\x27countdown-number\x20day\x27>%D</div>\x20<div\x20class=\x27countdown-unit\x27>Day%!D</div>\x20</div></div><div\x20class=\x27countdown-section\x27><div><div\x20class=\x27countdown-number\x20hour\x27>%H</div>\x20<div\x20class=\x27countdown-unit\x27>Hrs%!H</div>\x20</div></div><div\x20class=\x27countdown-section\x27><div><div\x20class=\x27countdown-number\x20minute\x27>%M</div>\x20<div\x20class=\x27countdown-unit\x27>Mints</div>\x20</div></div><div\x20class=\x27countdown-section\x27><div><div\x20class=\x27countdown-number\x20second\x27>%S</div>\x20<div\x20class=\x27countdown-unit\x27>Sec</div>\x20</div></div>','<div\x20class=\x22success-msg\x22><p>','309064HlNVOP','.swiper-pagination','attr','9449184birGfY','.popup-mobile-menu\x20.mainmenu\x20.has-droupdown\x20>\x20a','control','.counter-item','coverflow','iframe','<span\x20class=\x22dec\x20qtybtn\x22>-</span>','.success-msg','.isotope-wrapper','.qtybtn','.isotope-item','sitePreloader','div','prepend','.background-marque','.masonry-item','data-odometer-final','success','.isotop-filter','popupMobileMenu','load','outerHeight','14JzStdy','.is-checked','removeAttr','magnigyPopup','.swiper-btn-prv','.close-menu','masonryActivation','0.7s','fraction','.rwt-dynamic-form','54792419KMqXSW','57611RuvqWc','widgetToggle','\x20-\x20$','is-checked','.inline','1015708bJtHwu','.header-top-bar','.business-testimonial-activation','.error-msg','slideUp','slider','controller','[name=\x22','#masonry-gallery','input,textarea','imagesLoaded','after','hover','removeClass','.edu-search-popup','svg','html','.edu-course-widget','.health-slider-content','.isotope-list','fadeOut','.health-slider-main','height','submit','.edu-search-popup\x20.edublink-search-popup-field'];
            _0x540d=function(){return _0x8c0bd6;};return _0x540d();
        } 

Javascript Online Compiler

Write, Run & Share Javascript code online using OneCompiler's JS online compiler for free. It's one of the robust, feature-rich online compilers for Javascript language. Getting started with the OneCompiler's Javascript editor is easy and fast. The editor shows sample boilerplate code when you choose language as Javascript and start coding.

About Javascript

Javascript(JS) is a object-oriented programming language which adhere to ECMA Script Standards. Javascript is required to design the behaviour of the web pages.

Key Features

  • Open-source
  • Just-in-time compiled language
  • Embedded along with HTML and makes web pages alive
  • Originally named as LiveScript.
  • Executable in both browser and server which has Javascript engines like V8(chrome), SpiderMonkey(Firefox) etc.

Syntax help

STDIN Example

var readline = require('readline');
var rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout,
  terminal: false
});

rl.on('line', function(line){
    console.log("Hello, " + line);
});

variable declaration

KeywordDescriptionScope
varVar is used to declare variables(old way of declaring variables)Function or global scope
letlet is also used to declare variables(new way)Global or block Scope
constconst is used to declare const values. Once the value is assigned, it can not be modifiedGlobal or block Scope

Backtick Strings

Interpolation

let greetings = `Hello ${name}`

Multi line Strings

const msg = `
hello
world!
`

Arrays

An array is a collection of items or values.

Syntax:

let arrayName = [value1, value2,..etc];
// or
let arrayName = new Array("value1","value2",..etc);

Example:

let mobiles = ["iPhone", "Samsung", "Pixel"];

// accessing an array
console.log(mobiles[0]);

// changing an array element
mobiles[3] = "Nokia";

Arrow functions

Arrow Functions helps developers to write code in concise way, it’s introduced in ES6.
Arrow functions can be written in multiple ways. Below are couple of ways to use arrow function but it can be written in many other ways as well.

Syntax:

() => expression

Example:

const numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
const squaresOfEvenNumbers = numbers.filter(ele => ele % 2 == 0)
                                    .map(ele => ele ** 2);
console.log(squaresOfEvenNumbers);

De-structuring

Arrays

let [firstName, lastName] = ['Foo', 'Bar']

Objects

let {firstName, lastName} = {
  firstName: 'Foo',
  lastName: 'Bar'
}

rest(...) operator

 const {
    title,
    firstName,
    lastName,
    ...rest
  } = record;

Spread(...) operator

//Object spread
const post = {
  ...options,
  type: "new"
}
//array spread
const users = [
  ...adminUsers,
  ...normalUsers
]

Functions

function greetings({ name = 'Foo' } = {}) { //Defaulting name to Foo
  console.log(`Hello ${name}!`);
}
 
greet() // Hello Foo
greet({ name: 'Bar' }) // Hi Bar

Loops

1. If:

IF is used to execute a block of code based on a condition.

Syntax

if(condition){
    // code
}

2. If-Else:

Else part is used to execute the block of code when the condition fails.

Syntax

if(condition){
    // code
} else {
    // code
}

3. Switch:

Switch is used to replace nested If-Else statements.

Syntax

switch(condition){
    case 'value1' :
        //code
        [break;]
    case 'value2' :
        //code
        [break;]
    .......
    default :
        //code
        [break;]
}

4. For

For loop is used to iterate a set of statements based on a condition.

for(Initialization; Condition; Increment/decrement){  
//code  
} 

5. While

While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.

while (condition) {  
  // code 
}  

6. Do-While

Do-while is also used to iterate a set of statements based on a condition. It is mostly used when you need to execute the statements atleast once.

do {  
  // code 
} while (condition); 

Classes

ES6 introduced classes along with OOPS concepts in JS. Class is similar to a function which you can think like kind of template which will get called when ever you initialize class.

Syntax:

class className {
  constructor() { ... } //Mandatory Class method
  method1() { ... }
  method2() { ... }
  ...
}

Example:

class Mobile {
  constructor(model) {
    this.name = model;
  }
}

mbl = new Mobile("iPhone");