// source --> https://www.indiafashionforum.in/wp-content/plugins/miniorange-otp-verification/addons/resendcontrol/includes/js/moOtpTimerScript.min.js?ver=5.3.4 
"undefined"==typeof $mo&&($mo=jQuery),activeTimers=[];let flag=1,isAjaxButtonInitialized=!1;var isformFound=!1,isPopUpLoaded=!1;const buttonSelectors=['input[id*="mo_wc_send_otp"]','input[id*="miniorange_otp_token_submit"]','input[id*="mo_send_otp_"]','input[id*="mo_otp_token_submit"]','input[id*="mo_tutor_lms_login_send_otp"]','input[id*="mo_um_send_otp_pass"]','input[id*="mo_um_accup_button"]','input[id*="mo_tutor_lms_send_otp"]','input[id*="mo_tutor_lms_student_send_otp"]','input[id*="mo_um_getotp_button"]','input[id*="send_otp"]','input[id*="mo_login_register_with_phone"]','a[id*="miniorange_otp_token_submit"]','button[id*="miniorange_otp_token_submit"]','button[id*="mo_send_otp_"]','input[id*="mo_um_accup_button"]'];function waitForAnyElement(t,e){const o=setInterval((()=>{const i=t.find((t=>$mo(t).length>0));i&&(clearInterval(o),e(i))}),100);setTimeout((()=>{clearInterval(o)}),3e3)}function checkUserBlocked(){return new Promise(((t,e)=>{$mo.ajax({url:moOtpTimerScript.siteURL,type:"POST",data:{action:"check_blocked"},success:function(e){e.blocked?t({isBlocked:!0,remaining_time:e.remaining_time}):t({isBlocked:!1,remaining_time:null})},error:function(){e({isBlocked:!1,remaining_time:null})}})}))}function ajaxButtonClicked(){const t='div[id*="mo_message"]',e=moOtpTimerScript.limit_otp_sent_message;buttonSelectors.forEach((function(o){$mo(o).each((function(){const i=$mo(this);$mo(o).length>0&&flag&&(flag=0,i.on("click",(function(){$mo(o).hide();const n=setInterval((function(){if(0===$mo.active){clearInterval(n);const c=$mo(t),m=c.attr("style"),a=c.attr("class");var r=m.includes("red")||m.includes("#ffefef")||m.includes("background-color: rgb(255, 239, 239)")||m.includes("background-color: rgb(237, 165, 142)");if(void 0!==a)r=a.includes("woocommerce-error");if(r)$mo(o).show(),clearAllIntervals();else{let o="<div class='moloader'></div>";c.empty().append(o),checkUserBlocked().then((function(o){const n=o.isBlocked?o.remaining_time:moOtpTimerScript.otpControlTimerTime,r=moOtpTimerScript.user_blocked_message;var c=o.isBlocked?r:e;clearAllIntervals(),buttonTimer(n,i,document.querySelector(t),c,o.isBlocked)})).catch((function(t){}))}}}),10)})))}))}))}function unblockUser(){return $mo.ajax({url:moOtpTimerScript.siteURL,type:"POST",data:{action:"unblock_user"}})}function buttonTimer(t,e,o,i,n){o&&$mo(o).show(),startTimer(t,o,e,i,n)}function startTimer(t,e,o,i,n){let r=t;window.sentTimerFunction=setInterval((()=>{const t=String(Math.floor(r/60)).padStart(2,"0"),c=String(r%60).padStart(2,"0"),m=i.replace("{minutes}",t).replace("{seconds}",c);if(window.verifyOTPmessage&&e){var a=moOtpTimerScript.error_otp_verify_message.replace("{minutes}",t).replace("{seconds}",c);e.innerHTML=window.verifyOTPmessage+"<br>"+a}else e&&(e.textContent=m);r<=1&&unblockUser().fail((t=>{})),r<=0&&(clearInterval(sentTimerFunction),window.verifyOTPmessage&&delete window.verifyOTPmessage,$mo(e).hide(),$mo(o).is("#mo_tutor_lms_login_send_otp")||(n?$mo(o).show():$mo(o).is("#mo_login_register_with_phone")||$mo(o).show()),$mo(o).attr("data-timer-active","false")),r--}),1e3),activeTimers.push(sentTimerFunction)}function clearAllIntervals(){activeTimers.forEach((function(t){clearInterval(t)})),activeTimers=[]}function mo_pop_up_limit_otp(){isPopUpLoaded=!0;const t=$mo("a[id*='mo_otp_verification_resend']"),e="a[id*='mo_otp_verification_resend']";$mo("<p id='otpTimer' hidden style='float:right;margin-top:5px'></p>").insertAfter(t),['a[id*="mo_otp_verification_resend"]','button[id*="miniorange_wc_popup_send_otp_token"]','a[id*="miniorange_wc_popup_send_otp_token"]','input[id*="miniorange_wc_popup_send_otp_token"]'].forEach((function(o){'input[id*="miniorange_wc_popup_send_otp_token"]'===o||'a[id*="miniorange_wc_popup_send_otp_token"]'===o?$mo(document).on("click",o,(function(){$mo(document).off("ajaxComplete").on("ajaxComplete",(function(o,i,n){if(n.url.includes("?option=miniorange-woocommerce-checkout"))try{let o=JSON.parse(i.responseText);200===i.status&&"success"===o.result&&($mo(e).hide(),popupButtonClick(e,t))}catch(t){console.error("Error parsing AJAX response:",t)}}))})):$mo(document).on("click",o,(function(){$mo(e).hide(),waitForOTPCall((()=>{popupButtonClick(e,t)}))}))}))}function popupButtonClick(t,e){checkUserBlocked().then((function(o){const i=o.isBlocked?o.remaining_time:moOtpTimerScript.otpControlTimerTime;e.length>0?PopUpbuttonTimer(t,i):$mo(t).show()}))}function PopUpbuttonTimer(t,e){display=document.querySelector("#otpTimer"),$mo(display).show(),PopUpstartTimer(e,display,t)}function PopUpstartTimer(t,e,o){var i,n,r=t,c=setInterval((function(){i=parseInt(r/60,10),n=parseInt(r%60,10),i=i<10?"0"+i:i,n=n<10?"0"+n:n,e.textContent=i+":"+n+" minutes.",r<1&&($mo(e).hide(),$mo(o).show(),unblockUser().fail((t=>{})),clearInterval(c)),--r<0&&(r=t)}),1e3);activeTimers.push(c)}function waitForOTPCall(t){const e=setInterval((()=>{void 0!==window.mo_wc_otp_initialized&&(window.mo_wc_otp_initialized&&t(),delete window.mo_wc_otp_initialized,clearInterval(e))}),100);setTimeout((()=>{clearInterval(e)}),2e4)}$mo(document).ready((function(){setTimeout((function(){if(!$mo("#mo-time-remain").length>0&&!$mo("#mo_site_otp_form").length>0){const t={".ninja-forms-field":"undefined"!=typeof mo_ninja_field?mo_ninja_field:null,".woocommerce-EditAccountForm":"phone"===("undefined"!=typeof mowc_otp_type?mowc_otp_type:null)?'input[id="billing_phone"]':'input[id="account_email"]',".um-account-tab":'input[id="user_email"]',".um-profile-body":'input[id*="mobile_number"]'};let e=!1,o=!1;Object.entries(t).forEach((([t,e])=>{$mo(t).length>0&&!isAjaxButtonInitialized&&(o=!0,$mo(e).on("keyup input",(function(t){isAjaxButtonInitialized||(isAjaxButtonInitialized=!0,waitForAnyElement(buttonSelectors,(()=>{ajaxButtonClicked()})))})))})),o||(e?ajaxButtonClicked():(waitForAnyElement(buttonSelectors,(()=>{ajaxButtonClicked()})),e=!0))}else clearAllIntervals();setTimeout((()=>{$mo("#mo_site_otp_form").length>0&&!isPopUpLoaded&&($mo("#send_otp").length>0?($mo("#validate_otp").on("click",(function(){clearAllIntervals()})),ajaxButtonClicked()):mo_pop_up_limit_otp())}),2e3)}),100)}));
// source --> https://www.indiafashionforum.in/wp-content/plugins/elementor/assets/lib/font-awesome/js/v4-shims.min.js?ver=3.24.7 
/*!
 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
(function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();})();
// source --> https://www.indiafashionforum.in/wp-content/plugins/teampress/js/teampress.js?ver=1.0 
;(function($){
	function extp_masonry(){
		if (typeof imagesLoaded === "function"){
			var $container = $('.extp-masonry:not(.column-1) .ctgrid');
			$container.imagesLoaded( function() {
				$container.masonry({
					itemSelector: '.item-grid',
					horizontalOrder: true
				});
			});
		}
	}
    $(window).load(function() {
		extp_masonry();
	});
	$(document).ready(function() {
    	function extp_lightbox(){
			$('.exlightbox').each(function(){
			var $class = $(this).data('class');
			var lightbox = GLightbox();
			/*var isMobile = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i);*/
			var lightboxDescription = GLightbox({
			  selector: $class,
			  moreLength:0,
			  touchNavigation: true,
			  lightboxHtml : '<div id="glightbox-body" class="exteam-lb glightbox-container">\
			      <div class="gloader visible"></div>\
			      <div class="goverlay"></div>\
			      <div class="gcontainer">\
			         <div id="glightbox-slider" class="gslider"></div>\
			         <a class="gnext"></a>\
			         <a class="gprev"></a>\
			         <a class="gclose"></a>\
			      </div>\
			  </div>',
			  onOpen: function(slide, data) {
			    $('.exteam-lb .ginner-container .gslide-description').each(function(){
					var $this = $(this);
					/*if(isMobile){
						$this.css('overflow','scroll');
					}else{*/
						$this.closest(".gslide ").addClass('ehd-scroll');
						$this.niceScroll({cursorcolor:"rgb(66, 66, 66)",horizrailenabled:false});
						setTimeout(function(){
							$this.getNiceScroll().resize();
						$this.closest(".gslide ").removeClass('ehd-scroll');
						}, 800);
					/*}*/
			    });
			  },
			});
			});
		};
		extp_lightbox();
		// End lightbox js

		//Start ex-hidden(modal)
		$('.fct-modal .ctgrid, .fct-modal .ctlist').on("click",".item-grid", function(event){
				$id_act = $(this).data('id');
				$id_parent = $(this).closest(".ex-tplist ").attr('id');
				event.preventDefault();
				$('.item-modl').removeClass('md-active').hide();
				$('#'+$id_act).addClass('md-active').show();
				$('.exp-modal-info').getNiceScroll().resize();
				$("#"+$id_parent+" .ex-hidden").addClass('ex-hidden-active');
				$("#"+$id_parent+" .ex-overlay").addClass('ex-overlay-active');
				setTimeout(function(){
					$('html').addClass('extp-hidden-scroll');
				}, 400);
			});
		function extp_modal_info(){
			$('.exp-modal-info').each(function(){
				var $this = $(this);
				$this.niceScroll({
					cursorcolor:"rgba(66, 66, 66, .8)",
					autohidemode:'false', 
					background:"rgba(0, 0, 0,.15)",
					cursorwidth: "6px",
					});
				setTimeout(function(){
				  $this.getNiceScroll().resize();
				}, 800);
			});
		};
		$('.fct-modal .extp-mdbutton').on("click",".extp-mdleft", function(event){
				var $crr = $('.item-modl.md-active');
				var $prev = $('.item-modl.md-active').prev();
				if(!$prev.length){ return;}
				$crr.fadeOut(300);
				$prev.addClass('md-active').fadeIn(300);
				setTimeout(function(){
					$('.exp-modal-info').getNiceScroll().resize();
				}, 400);
				$crr.removeClass('md-active');
			});
		$('.fct-modal .extp-mdbutton').on("click",".extp-mdright", function(event){
				var $crr = $('.item-modl.md-active');
				var $nex = $('.item-modl.md-active').next();
				if(!$nex.length){ return;}
				$crr.fadeOut(300);
				$nex.addClass('md-active').fadeIn(300)
				setTimeout(function(){
					$('.exp-modal-info').getNiceScroll().resize();
				}, 400);
				$crr.removeClass('md-active');
			});
		$('.fct-modal .extp-mdbutton ').on("click",".extp-mdclose", function(event){
				$id_parent = $(this).closest(".ex-tplist ").attr('id');
				$("#"+$id_parent+" .ex-overlay").removeClass('ex-overlay-active');
				$("#"+$id_parent+" .ex-hidden").removeClass('ex-hidden-active');
				setTimeout(function(){
					$('html').removeClass('extp-hidden-scroll');
				}, 400);
			});
		function extp_modal_overlay(){
			$('.fct-modal .ex-overlay').on("click", function(event){
				$(this).removeClass('ex-overlay-active');
				$id_parent = $(this).closest(".ex-tplist ").attr('id');
				$("#"+$id_parent+" .ex-hidden").removeClass('ex-hidden-active');
				setTimeout(function(){
					$('html').removeClass('extp-hidden-scroll');
				}, 400);
			});
		};
		extp_modal_info();
		extp_modal_overlay();
		//End ex-hidden(modal)

		//Start collaps(expand)
		$('.ex-tplist.fct-collapse .ctgrid').on("click",".exp-arrow", function(event){
			event.preventDefault();
			$parent = $(this).closest(".item-grid");
			if ($parent.hasClass('active-collaps')) {
				$parent.removeClass('active-collaps');
			}else{
				$('.fct-collapse .item-grid').removeClass('active-collaps');
				$parent.addClass('active-collaps');
			}
			$('html').addClass('ehd-scroll');
			$('.fct-collapse .item-grid .exp-expand-des').niceScroll({
				cursorcolor:"rgba(66, 66, 66, .8)",
				//background: "rgba(0, 0, 0,.15)",
				cursorwidth: "6px",
				horizrailenabled:false,
				autohidemode:false,
				//railpadding: {top: '25px', right: 0, left: 0, bottom: '25px'}
			});
			setTimeout(function(){
				$('.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				$('html').removeClass('ehd-scroll');
			}, 500);
		});
		$('.ex-tplist.fct-collapse .ctgrid').on("click",".exp-expand-close",function(event){
			event.preventDefault();
			$parent = $(this).closest(".active-collaps");
			$parent.removeClass('active-collaps');
			setTimeout(function(){
				$('.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				$('html').removeClass('ehd-scroll');
			}, 300);
		});
		$('.ex-tplist.fct-collapse .ctgrid').on("click",".exp-expand-next", function(event){
			event.preventDefault();
			$parent = $(this).closest(".active-collaps");
			$parent.removeClass('active-collaps');
			if ($parent.next().length > 0) {
				$next = $parent.next().addClass('active-collaps');
			}
			setTimeout(function(){
				$('.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				$('html').removeClass('ehd-scroll');
			}, 300);
			
		});
		$('.ex-tplist.fct-collapse .ctgrid').on("click",".exp-expand-pre", function(event){
			event.preventDefault();
			$parent = $(this).closest(".active-collaps");
			$parent.removeClass('active-collaps');
			if ($parent.prev().length > 0) {
				$prev = $parent.prev().addClass('active-collaps');
			}
			setTimeout(function(){
				$('.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				$('html').removeClass('ehd-scroll');
			}, 300);
		});
		//End collaps


		// Carousel
		function extp_carousel(id_clas,infinite,start_on,rtl_mode,slidesshow,auto_play,auto_speed,$slidestoscroll){
		  jQuery(id_clas).EX_ex_s_lick({
			infinite: infinite,
			initialSlide:start_on,
			rtl: rtl_mode =='yes' ? true : false,
			prevArrow:'<button type="button" class="ex_s_lick-prev"><i class="fa fa-angle-left"></i></button>',
			nextArrow:'<button type="button" class="ex_s_lick-next"><i class="fa fa-angle-right"></i></button>',	
			slidesToShow: slidesshow,
			slidesToScroll: $slidestoscroll!='' ? $slidestoscroll : slidesshow,
			dots: false,
			autoplay: auto_play==1 ? true : false,
			autoplaySpeed: auto_speed!='' ? auto_speed : 3000,
			arrows: true,
			centerMode:  false,
			focusOnSelect: true,
			adaptiveHeight: true,
			responsive: [
			  {
				breakpoint: 1024,
				settings: {
				  slidesToShow: slidesshow,
				  slidesToScroll: $slidestoscroll!='' ? $slidestoscroll : slidesshow,
				}
			  },
			  {
				breakpoint: 768,
				settings: {
				  slidesToShow: 2,
				  slidesToScroll: 1
				}
			  },
			  {
				breakpoint: 480,
				settings: {
				  slidesToShow: 1,
				  slidesToScroll: 1
				}
			  }
			]
			  
		  });
		}
		jQuery('.ex-tpcarousel').each(function(){
			var $this = jQuery(this);
			var id =  $this.attr('id');
			var slidesshow =  $this.data('slidesshow');
			if(slidesshow==''){ slidesshow = 3;}
			var startit =  $this.data('startit') > 0 ? $this.data('startit') : 1;
			var auto_play = $this.data('autoplay');
			var auto_speed = $this.data('speed');
			var slidestoscroll = $this.data('slidestoscroll');
			var rtl_mode = $this.data('rtl');
			var start_on =  $this.data('start_on') > 0 ? $this.data('start_on') : 0;
			if($this.data('infinite')=='0'){
			  var infinite = 0;
			}else{
			  var infinite =  $this.data('infinite') == 'yes' || $this.data('infinite') == '1' ? true : false;
			}
			extp_carousel('#'+id+' .ctgrid',infinite,start_on,rtl_mode,slidesshow,auto_play,auto_speed,slidestoscroll);
		});
		// End Carousel

		//DataTable
		
		function extp_table_modal(){
			$('.fct-modal tbody').on("click", ".exp-td-first", function(event){
				event.preventDefault();
				var $next = $(this).next();
				$next.find(".item-grid").trigger('click');
			});
		};
		function extp_table_lightbox(){
			$('.fct-lightbox tbody').on("click",".exp-td-first", function(event){
				event.preventDefault();
				var $next = $(this).next();
				$next.find(".exlightbox").trigger('click');
			});
		};
		extp_table_modal();
		extp_table_lightbox();
		//End datatable
		// ajax loadmore
		function extp_ajax_load_page($style,$this_click,id_crsc,$page_link){
			if($style !='loadmore'){
				$('#'+id_crsc+' .page-numbers').removeClass('disable-click');
			}
			if($('#'+id_crsc).hasClass('fct-collapse')){
				$('#'+id_crsc+'.fct-collapse .item-grid').removeClass('active-collaps');
				setTimeout(function(){
					$('#'+id_crsc+'.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				}, 300);
			}
			$this_click.addClass('disable-click');
			var n_page = $('#'+id_crsc+' input[name=num_page_uu]').val();
			if($style=='loadmore'){
				$('#'+id_crsc+' .loadmore-exbt').addClass("loading");
			}else{
				$('#'+id_crsc).addClass("loading");
			}
			var layout = $('#'+id_crsc).hasClass('table-layout') ? 'table' : '';
			if($('#'+id_crsc).hasClass('list-layout')){ layout = 'list';}
			var param_query  		= $('#'+id_crsc+' input[name=param_query]').val();
			var param_ids  		= $('#'+id_crsc+' input[name=param_ids]').val();
			var page  		= $('#'+id_crsc+' input[name=current_page]').val();
			var num_page  		= $('#'+id_crsc+' input[name=num_page]').val();
			var ajax_url  		= $('#'+id_crsc+' input[name=ajax_url]').val();
			var param_shortcode  		= $('#'+id_crsc+' input[name=param_shortcode]').val();
			var char_ft = $('#'+id_crsc+' .etp-alphab a').length ? $('#'+id_crsc+' .etp-alphab a.current').data('value') : '';
				var param = {
					action: 'extp_loadmore',
					param_query: param_query,
					param_ids: param_ids,
					id_crsc: id_crsc,
					page: $page_link!='' ? $page_link : page*1+1,
					param_shortcode: param_shortcode,
					layout: layout,
					char: char_ft,
				};
				$.ajax({
					type: "post",
					url: ajax_url,
					dataType: 'json',
					data: (param),
					success: function(data){
						if(data != '0')
						{
							if($style=='loadmore'){
								n_page = n_page*1+1;
								$('#'+id_crsc+' input[name=num_page_uu]').val(n_page)
								if(data.html_content == ''){ 
									$('#'+id_crsc+' .loadmore-exbt').remove();
								}else{
									$('#'+id_crsc+' input[name=current_page]').val(page*1+1);
									if(layout=='table'){
										var $g_container = $('#'+id_crsc+' table tbody');
										$g_container.append(data.html_content);
									}else if(layout=='list'){
										var $g_container = $('#'+id_crsc+' .ctlist');
										$g_container.append(data.html_content);
									}else{
										var $g_container = $('#'+id_crsc+' .ctgrid');
										$g_container.append(data.html_content);
										setTimeout(function(){ 
											$('#'+id_crsc+' .item-grid').addClass("active");
										}, 200);
									}
									$('#'+id_crsc+' .loadmore-exbt').removeClass("loading");
									$this_click.removeClass('disable-click');
								}
								if(n_page == num_page){
									$('#'+id_crsc+' .loadmore-exbt').remove();
								}
							}else{
								if(layout=='table'){
									$showin = $('#'+id_crsc+' table tbody');
								}else if(layout=='list'){
									$showin = $('#'+id_crsc+' .ctlist');
								}else{
									$showin = $('#'+id_crsc+' .ctgrid');
								}
								$($showin).fadeOut({
									duration:0,
									complete:function(){
										$( this ).empty();
									}
								});
								$('#'+id_crsc).removeClass("loading");
								$showin.append(data.html_content).fadeIn();

							}
							if(data.html_modal!=''){
								// $('#'+id_crsc+' .ex-hidden .exp-mdcontaner').fadeOut({
								// 	duration:0,
								// 	complete:function(){
								// 		$( this ).empty();
								// 	}
								// });
								$('#'+id_crsc+' .ex-hidden .exp-mdcontaner').append(data.html_modal).fadeIn();
							}
							extp_lightbox();
							extp_modal_info();
							extp_table_modal();
							extp_table_lightbox();
							
							if($('#'+id_crsc).hasClass('extp-masonry') && !$('#'+id_crsc).hasClass('column-1')){
								if (typeof imagesLoaded === "function"){
									$('#'+id_crsc+'.extp-masonry .ctgrid').imagesLoaded( function() {
										$('#'+id_crsc+'.extp-masonry .ctgrid').masonry('reloadItems');
										$('#'+id_crsc+'.extp-masonry .ctgrid').masonry({
											isInitLayout : false,
											horizontalOrder: true,
											itemSelector: '.item-grid'
										});
									});
								}
							}
						}else{$('#'+id_crsc+' .loadmore-exbt').html('error');}
					}
				});
			return false;	
		}
		function extp_loadmore(){
			$('.loadmore-exbt').on('click',function() {
				if($(this).hasClass('disable-click')){
					return;
				}
				var $this_click = $(this);
				var id_crsc  = $this_click.closest(".ex-tplist").attr('id');
				extp_ajax_load_page($style ='loadmore' ,$this_click,id_crsc,'');
			});
		}
		extp_loadmore();
		// End load more

		//Start paging
		$('.ex-tplist .extp-pagination-parent').on('click','.page-numbers',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc  		= $this_click.closest(".ex-tplist").attr('id');
			$('#'+id_crsc+' .page-numbers').removeClass('current');
			$($this_click).addClass('current');
			$page_link = $this_click.text();
			if($page_link*1 > 1){
				$('#'+id_crsc+' .prev-ajax').removeClass('disable-click');
			}
			$('#'+id_crsc+' .next-ajax').removeClass('disable-click');
			extp_ajax_load_page($style ='page_link',$this_click,id_crsc,$page_link);
		});
		$('.ex-tplist .extp-pagination-parent').on('click','.next-ajax',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var $current =  $('#'+id_crsc+' .current');
			var current_page =  $current.text();
			$('#'+id_crsc+' .prev-ajax').removeClass('disable-click');

			$current.removeClass('current');
			$current.next().addClass('current');
			$page_link = current_page*1+1;
			extp_ajax_load_page($style ='page_link',$this_click,id_crsc,$page_link);
			$this_click.removeClass('disable-click');
		});
		$('.ex-tplist .extp-pagination-parent').on('click','.prev-ajax',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var $current =  $('#'+id_crsc+' .page-navi .current');
			var current_page =  parseInt($current.text());
			$('#'+id_crsc+' .next-ajax').removeClass('disable-click');
			if (current_page == 1) {
				$('#'+id_crsc+' .prev-ajax').addClass('disable-click');
				return false;
			}
			$current.removeClass('current');
			$current.prev().addClass('current');
			$page_link = current_page-1;
			extp_ajax_load_page($style ='page_link',$this_click,id_crsc,$page_link);
			if($page_link*1 > 1){
				$('#'+id_crsc+' .prev-ajax').removeClass('disable-click');
			}
		});
		$('.etp-alphab ul li a').on('click',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var char_ft = $(this).data('value');
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var cat = $('#'+id_crsc+' select[name=extp_cat]').val();
			var key_word = $('#'+id_crsc+' input[name=s]').val();
			var mode = 'alphab';
			extp_ajax_search($this_click,char_ft,key_word,cat,mode);
			return false;
		});
		function extp_ajax_search($this_click,$char_ft, $key_word,$cat,mode){
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			if($('#'+id_crsc).hasClass('fct-collapse')){
				$('#'+id_crsc+'.fct-collapse .item-grid').removeClass('active-collaps');
				setTimeout(function(){
					$('#'+id_crsc+'.fct-collapse .item-grid .exp-expand-des').getNiceScroll().resize();
				}, 300);
			}
			$('#'+id_crsc+' .etp-alphab a').removeClass('current');
			if(mode=='alphab'){
				$($this_click).addClass('current');
			}else{
				$('#'+id_crsc+' .etp-alphab li:first-child a').addClass('current');
			}
			var layout = $('#'+id_crsc).hasClass('table-layout') ? 'table' : '';
			$('#'+id_crsc).addClass("loading");
			if($('#'+id_crsc).hasClass('list-layout')){ layout = 'list';}
			var param_query  		= $('#'+id_crsc+' input[name=param_query]').val();
			var ajax_url  		= $('#'+id_crsc+' input[name=ajax_url]').val();
			var param_shortcode  		= $('#'+id_crsc+' input[name=param_shortcode]').val();
			var param = {
				action: 'extp_filter_alphab',
				param_query: param_query,
				id_crsc: id_crsc,
				param_shortcode: param_shortcode,
				layout: layout,
				char: $char_ft,
				key_word: $key_word,
				cat: $cat,
			};
			$.ajax({
				type: "post",
				url: ajax_url,
				dataType: 'json',
				data: (param),
				success: function(data){
					if(data != '0')
					{
						if($('#'+id_crsc+' .ex-loadmore').length){
							var $loadmore=1;
							if(data.page_navi =='off'){
								$('#'+id_crsc+' .ex-loadmore .loadmore-exbt').remove();
							}else{
								$('#'+id_crsc+' .ex-loadmore').remove();	
							}
							
						};
						$('#'+id_crsc+' input[name=num_page_uu]').val('1');
						$('#'+id_crsc+' input[name=current_page]').val('1');
						if(layout=='table'){
							$showin = $('#'+id_crsc+' table tbody');
						}else if(layout=='list'){
							$showin = $('#'+id_crsc+' .ctlist');
						}else{
							$showin = $('#'+id_crsc+' .ctgrid');
						}
						$($showin).fadeOut({
							duration:0,
							complete:function(){
								$( this ).empty();
							}
						});
						if(data.page_navi !='' && data.page_navi !='off'){
							if ($loadmore ==1) {
								$('#'+id_crsc).append(data.page_navi);
							}
							else{
								$('#'+id_crsc+' .extp-pagination').fadeOut({
									duration:0,
									complete:function(){
										$( this ).remove();
									}
								});
								$('#'+id_crsc+' .extp-pagination-parent').append(data.page_navi);
							}
						}else if(data.page_navi=='off'){
								$('#'+id_crsc+' .extp-pagination .page-navi').fadeOut({
									duration:0,
									complete:function(){
										$( this ).remove();
									}
								});
						}
						$('#'+id_crsc).removeClass("loading");
						$showin.append(data.html_content).fadeIn();
						if(data.html_modal!=''){
							$('#'+id_crsc+' .ex-hidden .exp-mdcontaner').fadeOut({
								duration:0,
								complete:function(){
									$( this ).empty();
								}
							});
							$('#'+id_crsc+' .ex-hidden .exp-mdcontaner').append(data.html_modal).fadeIn();
						}
						extp_lightbox();
						extp_modal_info();
						extp_table_modal();
						extp_table_lightbox();
						extp_loadmore();
						if($('#'+id_crsc).hasClass('extp-masonry') && !$('#'+id_crsc).hasClass('column-1')){
							if (typeof imagesLoaded === "function"){
								$('#'+id_crsc+'.extp-masonry .ctgrid').imagesLoaded( function() {
									$('#'+id_crsc+'.extp-masonry .ctgrid').masonry('reloadItems');
									$('#'+id_crsc+'.extp-masonry .ctgrid').masonry({
										isInitLayout : false,
										horizontalOrder: true,
										itemSelector: '.item-grid'
									});
								});
							}
						}
					}else{$('#'+id_crsc+' .loadmore-exbt').html('error');}
				}
			});
			
		};
		//search 
		$('.ex-tplist .tp-search-submit').on('click',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var cat = $('#'+id_crsc+' select[name=extp_cat]').val();
			var key_word = $('#'+id_crsc+' input[name=s]').val();
			var mode = 'search';
			extp_ajax_search($this_click,'',key_word,cat,mode);
			return false;
		});
		$('.ex-tplist select[name=extp_cat]').on('change',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var cat = $('#'+id_crsc+' select[name=extp_cat]').val();
			var key_word = $('#'+id_crsc+' input[name=s]').val();
			var mode = 'search';
			extp_ajax_search($this_click,'',key_word,cat,mode);
			return false;
		});
		// child cat click
		$('.ex-tplist .extp-child_cat .extp-child-click').on('click',function(event) {
			event.preventDefault();
			var $this_click = $(this);
			var id_crsc = $this_click.closest(".ex-tplist").attr('id');
			var $parent = $this_click.closest(".extp-child_cat");
			$parent.find('.extp-child-click').removeClass('extp-child-active');
			$this_click.addClass('extp-child-active');
			$this_click.parents('li.extp-child-click').addClass('extp-child-active');
			var val = $(this).data('value');
			jQuery('#'+id_crsc+' .extp-search-group > select option').each(function(){
				if($(this).val() == val){
					$('#'+id_crsc+' .extp-search-group > select').val(val).trigger('change');
				}
			});
			return false;
		});

    });    
}(jQuery));