Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd
/
wp-content
/
themes
/
modarch
/
assets
/
js
/
File Content:
app.min.js
!function(e){"use strict";var t={global:{},utils:{},component:{},core:{}};window.LaStudio=t,void 0===window.LA_No_LoadLazyScripts&&(window.LA_No_LoadLazyScripts=!1),e.exists=function(e){return e.length>0},e.getCachedScript=function(t){var a={dataType:"script",cache:!0,url:t};return e.ajax(a)},t.global.log=function(...e){},t.utils.ajax_xhr=null,t.utils.localCache={timeout:void 0!==la_theme_config.cache_ttl&&parseInt(la_theme_config.cache_ttl)>0?parseInt(la_theme_config.cache_ttl):300,timeout2:600,data:{},remove:function(e){delete t.utils.localCache.data[e]},exist:function(e,a){return a?!!t.utils.localCache.data[e]:!!t.utils.localCache.data[e]&&(Date.now()-t.utils.localCache.data[e]._)/1e3<t.utils.localCache.timeout2},get:function(e){return t.global.log("Get cache for "+e),t.utils.localCache.data[e].data},set:function(e,a,i){t.utils.localCache.remove(e),t.utils.localCache.data[e]={_:Date.now(),data:a},"function"==typeof i&&"number"!=typeof i.nodeType&&i(a)},addedStyles:{},addedScripts:{},addedAssetsPromises:[],ajaxPromises:{}},t.utils.hashCode=function(e){var t=0;if(0===e.length)return t;for(var a=0;a<e.length;a++){t=(t<<5)-t+e.charCodeAt(a),t&=t}return Math.abs(t)},t.utils.debounce=function(e,t){let a;return function(...i){a&&clearTimeout(a),a=setTimeout((()=>{e(...i),a=null}),t)}},t.global.isPageSpeed=function(){return"undefined"!=typeof navigator&&/(lighthouse|gtmetrix)/i.test(navigator.userAgent.toLocaleLowerCase())||navigator?.userAgentData?.brands?.filter((e=>"lighthouse"===e?.brand?.toLocaleLowerCase()))?.length>0||window.innerWidth>1340&&window.innerWidth<1360&&window.devicePixelRatio<=1||window.innerWidth<413&&window.innerWidth>410&&"undefined"!=typeof navigator&&/moto/i.test(navigator.userAgent)},t.global.calculateAspectRatioFit=function(e,t,a,i){var o=Math.min(a/Math.max(e,a),i/Math.max(t,i));return{width:e*o,height:t*o}},t.global.hasClass=function(e,t){return(" "+e.className+" ").indexOf(" "+t+" ")>-1},t.global.isRTL=function(){return document.body.classList?document.body.classList.contains("rtl"):/\brtl\b/g.test(document.body.className)},t.global.sanitizeSlug=function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},t.global.isCookieEnable=function(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var e=-1!=document.cookie.indexOf("cookietest=");return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e},t.global.parseVideo=function(e){var a=t.global.getUrlParameter("playlist",e);if(e.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),RegExp.$3.indexOf("youtu")>-1)return a?"https://www.youtube.com/embed/"+RegExp.$6+"?autoplay=1&playlist="+a+"&loop=1&rel=0&iv_load_policy3":"https://www.youtube.com/embed/"+RegExp.$6+"?autoplay=1&loop=1&rel=0&iv_load_policy3";if(RegExp.$3.indexOf("vimeo")>-1){var i="";RegExp.$2.indexOf("player")>-1?i="https://player.vimeo.com/video/"+RegExp.$6+"?autoplay=1&loop=1&title=0&byline=0&portrait=0":(e.match(/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/)|(showcase\/[0-9]+\/video\/))?([0-9]+)(\/[A-z0-9]+)?/),i="https://player.vimeo.com/video/"+RegExp.$6+"?autoplay=1&loop=1&title=0&byline=0&portrait=0",RegExp.$7&&(i=t.global.addQueryArg(i,"h",RegExp.$7.replace("/",""))));var o=t.global.getUrlParameter("h",i);o&&(i=t.global.addQueryArg(i,"h",o)),window.innerWidth<1200&&(i=t.global.addQueryArg(i,"muted","1")),e=i}return e},t.global.getBrowseInformation=function(){var e,t,a,i,o,n=navigator.userAgent.toLowerCase(),l=navigator?.platform?.toLowerCase()??"",s=n.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown","0"];return o=-1,"Microsoft Internet Explorer"===navigator?.appName?(i=navigator.userAgent,null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1))):"Netscape"===navigator?.appName&&(i=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1))),-1!==(a=o)?(e="ie",t=a):(e="version"===s[1]?s[3]:s[1],t=s[2].split(".")[0]),{name:e,version:t,platform:n.match(/ip(?:ad|od|hone)/)?"ios":(n.match(/(?:webos|android)/)||l.match(/mac|win|linux/)||["other"])[0]}},t.global.setBrowserInformation=function(){const a=t.global.getBrowseInformation(),i=document.documentElement;function o(){let e=window.innerWidth-i.clientWidth;i.style.setProperty("--scrollbar-width-o",e+"px"),0===e&&("mac"===a.platform?e=15:"ios"===a.platform&&(e=10)),i.style.setProperty("--scrollbar-width",e+"px")}"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?i.classList.add("touchevents"):i.classList.add("no-touchevents"),i.classList.add(a.name),i.classList.add(a.name+a.version),i.classList.add("platform-"+a.platform),o(),e(window).on("resize",o)},t.global.isIELower16=function(){var e=t.global.getBrowseInformation();return"ie"===e.name&&parseInt(e.version)<16},t.global.getRandomID=function(){var e,t="",a="abcdefghijklmnopqrstuvwxyz",i="0123456789";for(e=0;e<5;e++)t+=a.charAt(Math.floor(26*Math.random()));for(e=0;e<5;e++)t+=i.charAt(Math.floor(10*Math.random()));return t},t.global.getAdminBarHeight=function(){return document.getElementById("wpadminbar")&&window.innerWidth>600?32:0},t.global.addQueryArg=function(e,t,a){var i=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,"$1"+t+"="+a+"$2"):e+o+t+"="+a},t.global.getUrlParameter=function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null},t.global.removeURLParameter=function(e,t){var a=e.split("?");if(a.length>=2){for(var i=encodeURIComponent(t)+"=",o=a[1].split(/[&;]/g),n=o.length;n-- >0;)-1!==o[n].lastIndexOf(i,0)&&o.splice(n,1);return e=a[0]+(o.length>0?"?"+o.join("&"):"")}return e},t.global.parseQueryString=function(e){var t=e.split("?"),a={};if(t.length>=2)for(var i=t[1].split("&"),o=0;o<i.length;o++){var n=i[o].split("="),l=decodeURIComponent(n[0]),s=decodeURIComponent(n[1]);if(void 0===a[l])a[l]=decodeURIComponent(s);else if("string"==typeof a[l]){var r=[a[l],decodeURIComponent(s)];a[l]=r}else a[l].push(decodeURIComponent(s))}return a},t.global.AjaxHandler=function(t){let a=this,i={handlerId:"",action:"",cache:!1,processData:!0,url:"",async:!1,beforeSendCallback:function(){},errorCallback:function(){},successCallback:function(){},completeCallback:function(){},handlerSettings:{}};t&&e.extend(i,t),a.handlerSettings=i.handlerSettings,a.ajaxRequest=null,a.ajaxProcessing=!1,a.data={action:i.action||"lastudio_theme_ajax",_nonce:a.handlerSettings.nonce,actions:{}},""===i.url&&(i.url=a.handlerSettings.ajax_url),a.send=function(){a.ajaxProcessing=!0,a.ajaxRequest=e.ajax({type:a.handlerSettings.type,url:i.url,data:a.data,cache:i.cache,dataType:a.handlerSettings.data_type,processData:i.processData,beforeSend:function(e,t){null===a.ajaxRequest||i.async||a.ajaxRequest.abort(),i.beforeSendCallback&&"function"==typeof i.beforeSendCallback&&i.beforeSendCallback(e,t)}}).done((function(t,o,n){a.ajaxProcessing=!1,e(document).trigger({type:"LaStudioTheme:AjaxHandler:success",response:t,jqXHR:n,textStatus:o}),i.successCallback&&"function"==typeof i.successCallback&&i.successCallback(t,o,n)})).fail((function(t,a,o){e(document).trigger({type:"LaStudioTheme:AjaxHandler:error",jqXHR:t,textStatus:a,errorThrown:o}),i.errorCallback&&"function"==typeof i.errorCallback&&i.errorCallback(t,a,o)})).always((function(t,a,o){e(document).trigger({type:"LaStudioTheme:AjaxHandler:complete",jqXHR:t,textStatus:a,errorThrown:o}),i.completeCallback&&"function"==typeof i.completeCallback&&i.completeCallback(t,a,o)}))},a.sendData=function(e){const t=i.handlerId;a.data.actions=JSON.stringify({[t]:{action:i.handlerId,data:e||{}}}),a.send()}}}(jQuery),function(e){"use strict";var t=[],a={};e("body").on("lastudio-prepare-object-fit",(function(t,a){LaStudio.global.log("run fix object-fit"),e(".figure__object_fit:not(.custom-object-fit) img",a).each((function(){var t=e(this).closest(".figure__object_fit"),a=e(this).prop("src");a&&t.css("backgroundImage","url("+a+")").addClass("custom-object-fit")}))})),LaStudio.global.isIELower16()&&(e('<div class="unsupported-browser"><div><h3>'+la_theme_config.i18n.unsupported_browser.title+"</h3><p>"+la_theme_config.i18n.unsupported_browser.desc+"</p></div></div>").prependTo(e("body")),e("body").on("lastudio-object-fit",(function(t){LaStudio.global.log("run fix object-fit"),e(".figure__object_fit:not(.custom-object-fit) img").each((function(){var t=e(this).closest(".figure__object_fit"),a=e(this).prop("src");a&&t.css("backgroundImage","url("+a+")").addClass("custom-object-fit")}))}))),LaStudio.core.initAll=function(t){t.find(".variations_form").length&&e(document).trigger("reinit_la_swatches");var a=t.find(".js-el[data-la_component]");if(0!==a.length){var i=function(t,a){var i=e(a);i.data("init-"+t)||("function"!=typeof LaStudio.component[t]?LaStudio.global.log("[LaStudio Component "+t+"] ---- init error"):(new LaStudio.component[t](a).init(),i.data("init-"+t,!0),LaStudio.global.log("[LaStudio Component "+t+"] ---- init success",i),LaStudio.global.eventManager.publish("LaStudio:component_inited",[t,a])))};a.each((function(){const t=this,a=e(this).data("la_component");"string"==typeof a?i(a,t):a.forEach((function(e){i(e,t)}))})),e("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit")}},LaStudio.global.loadScriptAsync=function(e,t,a,i){return LaStudio.utils.localCache.addedScripts.hasOwnProperty(e)?e:(LaStudio.utils.localCache.addedScripts[e]=t,new Promise((function(o,n){var l=document.createElement("script");l.src=t,l.async=i,l.onload=function(){o(e),"function"==typeof a&&"number"!=typeof a.nodeType&&a()},l.onerror=function(){n(`Can not load javascript file "${t}"`),"function"==typeof a&&"number"!=typeof a.nodeType&&a()},document.head.appendChild(l)})))},LaStudio.global.loadScriptAsyncSequence=function(e,t){e.forEach((function(a,i){LaStudio.global.loadScriptAsync(a[0],a[1],i+1===e.length?t:"",a[2])}))},LaStudio.global.loadDependencies=function(i,o){var n=o||function(){};if(i){var l=i.map((function(e){return-1===t.indexOf(e)&&(void 0===a[e]?e:(a[e].push(n),!0))}));if(!0!==l[0])if(!1!==l[0]){var s=l.map((function(t){return a[t]=[n],e.getCachedScript(t)}));e.when.apply(null,s).done((function(){var e=0;l.map((function(i){e++,a[i].forEach((function(t){e===l.length&&(LaStudio.global.log("loaded js: "+i),t())})),delete a[i],t.push(i)}))}))}else n()}else n()},LaStudio.global.loadJsFile=function(e){return la_theme_config.js_path+e+(la_theme_config.js_min?".min.js":".js")},LaStudio.global.ShowMessageBox=function(t,a,i,o){void 0===LaStudio.utils.timeOutMessageBox&&(LaStudio.utils.timeOutMessageBox=null);var n=e('<div class="la-global-message"></div>').html(t),l=function(){void 0!==e.featherlight.close()&&e.featherlight.close(),e.featherlight(n,{persist:"shared",type:"jquery",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" class="lakit-font-icon-svg"><use xlink:href="#inlinesvg__close"></use></svg></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeOpen:function(t){e("body").addClass(a),i&&clearTimeout(LaStudio.utils.timeOutMessageBox)},afterOpen:function(t){i&&(LaStudio.utils.timeOutMessageBox=setTimeout((function(){e.featherlight.close()}),2e4)),"function"==typeof o&&o()},afterClose:function(t){e("body").removeClass(a),i&&clearTimeout(LaStudio.utils.timeOutMessageBox)}})};e.isFunction(e.fn.featherlight)?l():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("featherlight")],l)}}(jQuery),function(e){"use strict";LaStudio.global.eventManager={},LaStudio.global.eventManager.subscribe=function(t,a){e(this).on(t,a)},LaStudio.global.eventManager.unsubscribe=function(t,a){e(this).off(t,a)},LaStudio.global.eventManager.publish=function(t,a){e(this).trigger(t,a)}}(jQuery),function(e){"use strict";var t={rootMargin:"50px",threshold:0,load:function(t){var a=t.getAttribute("data-src")||t.getAttribute("data-lazy")||t.getAttribute("data-lazy-src")||t.getAttribute("data-lazy-original"),i=t.getAttribute("data-src")||t.getAttribute("data-lazy-srcset"),o=t.getAttribute("data-sizes")||t.getAttribute("data-lazy-sizes");a&&(t.src=a),i&&(t.srcset=i),o&&(t.sizes=o),t.getAttribute("data-background-image")&&(t.style.backgroundImage='url("'+t.getAttribute("data-background-image")+'")'),t.setAttribute("data-element-loaded",!0),e(t).hasClass("jetpack-lazy-image")&&e(t).addClass("jetpack-lazy-image--handled")},complete:function(e){}};function a(e){e.setAttribute("data-element-loaded",!0)}var i=function(e){return"true"===e.getAttribute("data-element-loaded")};LaStudio.global.LazyLoad=function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.extend({},t,n),s=l.rootMargin,r=l.threshold,d=l.load,c=l.complete,u=void 0;return"IntersectionObserver"in window&&(u=new IntersectionObserver(function(e){return function(t,o){t.forEach((function(t){t.intersectionRatio>0&&(o.unobserve(t.target),i(t.target)||(e(t.target),a(t.target)))}))}}(d),{rootMargin:s,threshold:r})),{observe:function(){if(e.exists(o)){for(let e=0;e<o.length;e++)i(o[e])||(u?u.observe(o[e]):(d(o[e]),a(o[e])));c(o)}}}},LaStudio.global.makeImageAsLoaded=function(o){i(o)||(t.load(o),a(o),e(o).removeClass("lazyload"))},e("body").on("lastudio-lazy-images-load",(function(){var t,a=e('.la-lazyload-image:not([data-element-loaded="true"]), img[data-lazy-src]:not([data-element-loaded="true"]), img[data-lazy-original]:not([data-element-loaded="true"])');LaStudio.global.LazyLoad(a,{rootMargin:"50px"}).observe();try{t=new Event("jetpack-lazy-images-load",{bubbles:!0,cancelable:!0})}catch(e){(t=document.createEvent("Event")).initEvent("jetpack-lazy-images-load",!0,!0)}e("body").get(0).dispatchEvent(t)}))}(jQuery),function(e){"use strict";var t=e(window),a=e(document),i=e("html,body"),o=e("body");LaStudio.core.InstanceSearch=function(t){if(!t.hasClass("has-init")){t.addClass("has-init");var a,i,o=function(){return'<div class="search-results"><div class="lakit-css-loader"></div><div class="results-container"></div><div class="view-more-results text-center"><a href="#" class="button search-results-button">'+la_theme_config.i18n.global.search_view_more+"</a></div></div>"},n=null,l="",s={},r=t.find("form.lakit-search__form"),d=r.find("input.lakit-search__field"),c=r.find("input[name=post_type]").val(),u="minimal";e('<button type="reset" class="lakit-search__submit search-reset"><span class="lakit-search__submit-icon lakit-blocks-icon"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" class="lakit-font-icon-svg"><use xlink:href="#inlinesvg__close"></use></svg></span></button>').insertAfter(r.find(".lakit-search__submit")),t.find(".lakit-search__popup--full-screen").length?(u="normal",t.find(".lakit-search__popup--full-screen").append(o())):t.find(".lakit-search__popup-content").length?t.find(".lakit-search__popup-content").append(o()):t.find(".lakit-search").append(o()),i=t.find(".search-results"),a=t.find(".search-results-button");var h,g=(h=0,function(e,t){clearTimeout(h),h=setTimeout(e,t)});t.on("keyup",".lakit-search__field",(function(e){var t=!1;void 0===e.which?t=!0:"number"==typeof e.which&&e.which>0&&(t=!e.ctrlKey&&!e.metaKey&&!e.altKey),t&&(n&&n.abort(),g((function(){m(!0)}),400))})).on("change",".product-cats input",(function(){n&&n.abort(),m(!1)})).on("change","select",(function(){n&&n.abort(),m(!1)})).on("click",".search-reset",(function(){n&&n.abort(),l="",t.addClass("reset"),i.find(".results-container, .view-more-results").slideUp((function(){t.removeClass("searching searched found-products found-no-product invalid-length reset")}))})).on("focusout",".lakit-search__field",(function(){e(this).val().length<2&&i.find(".results-container, .view-more-results").slideUp((function(){t.removeClass("searching searched found-products found-no-product invalid-length")}))})).on("focus",".lakit-search__field",(function(){t.hasClass("found-products")&&i.find(".results-container,.view-more-results").slideDown(200)}))}function f(t,a){var i="";return t.each((function(){var t={image:"",desc:"",title:"",price:""};if("product"===a)if(t.price=e(this).find(".price").html()||"",t.desc=e(this).find(".item--excerpt").html()||"",e(this).find(".product_item--title").length)t.image=e(this).find(".product_item--thumbnail-holder").html()||"",t.title=e(this).find(".product_item--title").html()||"";else{var o=e(this).find(".woocommerce-loop-product__link").attr("href");t.image='<a href="'+o+'">'+e(this).find("figure").html()+"</a>",t.title='<a href="'+o+'">'+e(this).find(".woocommerce-loop-product__title").html()+"</a>"}else t.image=e(this).find(".post-thumbnail, .post_item-thumbnail").html()||"",t.title=e(this).find(".lakit-posts__title,.entry-title").html()||"",t.desc=e(this).find(".item--excerpt,.entry-excerpt").html()||"";i+=function(e){var t=""!=e.price?`<div class="search_result__item-price">${e.price}</div>`:"",a=""!=e.desc?`<div class="search_result__item-desc">${e.desc}</div>`:"";return`<div class="search_result__item">${""!=e.image?`<div class="search_result__item-image">${e.image}</div>`:""}<div class="search_result__item-content"><div class="search_result__item-title">${e.title}</div>${t}${a}</div></div>`}(t)})),i}function m(o){var u=d.val(),h=r.find(".product-cats input:checked"),g=u+"["+(h.length?h.val():r.find("select").length?r.find("select").val():"")+"]";if(l!==u||!o)if(l=u,u.length<2)t.removeClass("searching found-products found-no-product").addClass("invalid-length");else{var m=r.attr("action")+"?"+r.serialize()+"&la_doing_ajax=true";a.removeClass("fadeInUp"),e(".view-more-results",i).slideUp(10),t.removeClass("found-products found-no-product").addClass("searching"),g in s?p(s[g]):n=e.get(m,(function(a){var i,o=e(".site-main .site-content--default, .elementor.elementor-location-archive",a);if("product"===c)if((i=e(".lakit-products[data-widget_current_query] ul.products",o)).length){var l=i;l.length?s[g]={found:!0,items:f(l.children("li"),"product"),url:LaStudio.global.removeURLParameter(m,"la_doing_ajax")}:s[g]={found:!1,text:e(".woocommerce-info",o).length?e(".woocommerce-info",o).text():la_theme_config.i18n.global.search_not_found}}else s[g]={found:!1,text:la_theme_config.i18n.global.search_not_found};else if((i=e('div[data-widget_current_query="yes"]',o)).length){var r=e(i.find(i.data("item_selector")));r.length?s[g]={found:!0,items:f(r,"post"),url:LaStudio.global.removeURLParameter(m,"la_doing_ajax")}:s[g]={found:!1,text:la_theme_config.i18n.global.search_not_found}}else s[g]={found:!1,text:la_theme_config.i18n.global.search_not_found};p(s[g]),t.addClass("searched"),n=null}),"html")}}function p(o){var n="product"===c?"woocommerce":"la-post-grid";if(t.removeClass("searching"),o.found){t.addClass("found-products");var l=e('<div class="search_result_grid"></div>');"minimal"===u&&(i.addClass("is-minimal-result"),l.addClass("is-minimal-result")),l.append(o.items),i.find(".results-container").addClass(n).html(l.get(0).outerHTML),e("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"),LaStudio.core.initAll(i),e(".search_result__item",i).each((function(t){e(this).css("animation-delay",100*t+"ms"),e(this).addClass("fadeInUp animated")})),a.attr("href",o.url).css("animation-delay",100*e(".search_result__item",i).length+"ms").addClass("fadeInUp animated"),i.find(".results-container, .view-more-results").slideDown(300,(function(){t.removeClass("invalid-length")}))}else t.addClass("found-no-product"),i.find(".results-container").removeClass(n).html(e('<div class="not-found text-center" />').text(o.text)),a.attr("href","#"),i.find(".view-more-results").slideUp(300),i.find(".results-container").slideDown(300,(function(){t.removeClass("invalid-length")}));t.addClass("searched")}},LaStudio.core.ElementClickEvent=function(){a.on("click",(function(t){e(t.target).closest(".lakit-ajax-searchform").length||(e(".lakit-ajax-searchform .results-container").hide(),e(".lakit-ajax-searchform .view-more-results").hide())})).on("LaStudio:Component:Popup:Close",(function(t){t.preventDefault();try{e.featherlight.close()}catch(t){}})).on("click",".la-popup:not(.elementor-widget):not([data-gallery-id]), .la-popup.elementor-widget a, a[lapopup], div[lapopup] a, a[data-lapopup], div[data-lapopup] a",(function(t){t.preventDefault();var i=e(this),n=LaStudio.global.parseVideo(i.attr("href")),l=/\.(png|jp?g|gif|tiff?|bmp|svg|webp)(\?\S*)?$/i,s=/^[#.]\w/,r=/^\s*<[\w!][^<]*>/,d=/\.(png|jpe?g|gif|svg|webp)(\?\S*)?$/i,c="iframe";c=n.match(l)?"image":n.match(s)?"jquery":n.match(r)?"html":"iframe";var u=i.data("component_name")||"";if(u+=" featherlight--inline",!n.match(d)||"undefined"==typeof elementorFrontend||!elementorFrontend.getKitSettings("global_image_lightbox")){var h=function(){i.data("isOpen")?e.featherlight.close():(e.featherlight.close(),e.featherlight(n,{type:c,persist:"shared",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" class="lakit-font-icon-svg"><use xlink:href="#inlinesvg__close"></use></svg></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeClose:function(t){if(i.data("isOpen",!1),a.trigger("LaStudio:Component:Popup:beforeClose",[this,i]),o.removeClass(u),"jquery"==c&&e(n).length>0){var l=n.replace("#","#__tmp__");e(n).insertBefore(e(l)),e(l).remove()}},beforeOpen:function(t){if(i.data("isOpen",!0),a.trigger("LaStudio:Component:Popup:beforeOpen",[this,i]),o.addClass(u),"jquery"==c&&e(n).length>0){const t=n.replace("#","__tmp__");e('<div id="'+t+'" class="featherlight__placeholder"></div>').insertBefore(e(n));const a=e(n).closest(".elementor[data-elementor-id]");a.length&&(e(this.target).removeClass("elementor-element"),this.$instance.addClass(a.get(0).className))}},afterOpen:function(){if(a.trigger("LaStudio:Component:Popup:afterOpen",[this,i]),"jquery"==c&&e(n).length>0){e(n.replace("#","#__tmp__")).closest(".elementor[data-elementor-id]").length&&e(this.target).addClass("elementor-element")}},iframeAllow:"autoplay",iframeAllowfullscreen:"1"}))};e.isFunction(e.fn.featherlight)?h():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("featherlight")],h)}})).on("click",".la-inline-popup",(function(t){t.preventDefault();var a=e(this),i=e(a.data("href")||a.attr("href")),n=a.data("component_name")||"";n+=" featherlight--inline";var l=function(){e.featherlight.close(),e.featherlight(i,{background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" class="lakit-font-icon-svg"><use xlink:href="#inlinesvg__close"></use></svg></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeOpen:function(e){o.addClass(n)},afterClose:function(e){o.removeClass(n)}})};e.isFunction(e.fn.featherlight)?l():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("featherlight")],l)})).on("click",".custom-lighcase-btn-close, .popup-button-continue, .custom-lightcase-overlay, .custom-featherlight-close, .btn-close-newsletter-popup, .lakit-popup--close",(function(e){e.preventDefault(),a.trigger("LaStudio:Component:Popup:Close")})).on("click",".elementor-lakit-portfolio.enable-pf-lightbox .lakit-posts__inner-box",(function(t){var a=e(this),i="",o={};if(!(e(t.target).closest(".elementor-button").length>0||e(t.target).hasClass("elementor-button"))&&e(".post-thumbnail",a).length>0){t.preventDefault(),i+='<div class="lakit-ppc--img">'+e(".post-thumbnail",a).html()+"</div>",i+='<div class="lakit-ppc--content">'+e(".lakit-posts__inner-content-inner",a).html()+"</div>",o=LaStudio.global.calculateAspectRatioFit(e(".post-thumbnail img",a).attr("width"),e(".post-thumbnail img",a).attr("height"),.8*window.innerWidth,.8*window.innerHeight);var n=e('<div class="lakit-ppc"></div>').html(i),l=function(){void 0!==e.featherlight.close()&&e.featherlight.close(),e.featherlight(n,{persist:"shared",type:"jquery",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" class="lakit-font-icon-svg"><use xlink:href="#inlinesvg__close"></use></svg></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeOpen:function(t){e("body").addClass("body-pf-gallery")},afterOpen:function(t){e(".lakit-ppc").css({width:o.width,"--imageRatio":o.width/o.height})},afterClose:function(t){e("body").removeClass("body-pf-gallery")}})};e.isFunction(e.fn.featherlight)?l():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("featherlight")],l)}}))},LaStudio.core.Blog=function(t){(t=t||e(".widget-area")).hasClass("--inited")||(t.hasClass("elementor-widget")&&t.addClass("--lakit-wp--widget"),t.addClass("--inited"),e(".widget_block > .widget-title:only-child",t).each((function(){var t=e(this),a=t.closest(".widget_block"),i=a.next(".widget_block");i.length&&0==i.find(".widget-title").length&&t.prependTo(i),a.remove()})),e(".menu li a:empty",t).each((function(){e(this).closest("li").remove()})),e(".widget_pages > ul, .widget_archive > ul, .widget_categories > ul, .widget_product_categories > ul, .widget_meta > ul",t).addClass("menu").closest(".widget").addClass("accordion-menu"),e(".wc-block-product-categories.is-list > ul",t).addClass("menu").closest(".widget").addClass("accordion-menu"),e(".widget_nav_menu",t).closest(".widget").addClass("accordion-menu"),e(".widget_categories > ul li.cat-parent,.widget_product_categories li.cat-parent",t).addClass("mm-item-has-sub"),e(".menu li > ul",t).each((function(){0===e(this).siblings(".narrow").length&&e(this).before('<span class="narrow"><i></i></span>')})),e(".accordion-menu li.menu-item-has-children > a,.menu li.mm-item-has-sub > a,.menu li > .narrow",t).off("click"),e(".accordion-menu li.menu-item-has-children > a,.menu li.mm-item-has-sub > a,.menu li > .narrow",t).on("click",(function(t){t.preventDefault();var a=e(this).parent();a.hasClass("open")?(a.removeClass("open"),a.find(">ul").stop().slideUp()):(a.addClass("open"),a.find(">ul").stop().slideDown(),a.siblings().removeClass("open").find(">ul").stop().slideUp())})),e("li.current-cat, li.current-cat-parent, li.current-cat-ancestor",t).each((function(){e(this).addClass("open"),e(">ul",e(this)).css("display","block")})))},LaStudio.core.SitePreload=function(){var n=document.getElementById("wpadminbar");n&&n.classList.add("wpbar"),t.on("load scroll",(function(){t.scrollTop()>t.height()+100?(e(".backtotop-container").addClass("show"),e("[data-backtotop]").addClass("show")):(e(".backtotop-container").removeClass("show"),e("[data-backtotop]").removeClass("show"))})),t.on("load resize",(function(){t.height()<650?e(".lakit-cart .lakit-cart__list .product_list_widget").first().find("li").length>3&&o.addClass("l650"):o.removeClass("l650")})),a.on("click",".btn-backtotop, [data-backtotop] .elementor-button",(function(e){e.preventDefault(),i.animate({scrollTop:0},800)})),o.on("lastudio-fix-ios-limit-image-resource",(function(){"matchMedia"in window&&window.matchMedia("(max-width: 1024px)").matches&&e("li.product_item.thumb-has-effect").each((function(){e(this).removeClass("thumb-has-effect"),e(this).find(".p_img-second").remove()}))})).trigger("lastudio-fix-ios-limit-image-resource"),o.removeClass("site-loading"),t.on("beforeunload",(function(e){"safari"!==LaStudio.global.getBrowseInformation().name&&window.self===window.top&&(void 0===window.hack_beforeunload_time||void 0!==window.hack_beforeunload_time&&e.timeStamp-window.hack_beforeunload_time>1e3)&&o.addClass("site-loading")})),a.on("click",'a[href^="tel:"], a[href^="mailto:"], a[href^="callto"], a[href^="skype"], a[href^="whatsapp"], a.mail-link, a.noloading',(function(e){window.hack_beforeunload_time=parseInt(e.timeStamp)})),t.on("pageshow",(function(e){e.originalEvent.persisted&&o.removeClass("site-loading body-loading")})),LaStudio.global.eventManager.subscribe("LaStudio:Component:LazyLoadImage",(function(e,t){t.find('.la-lazyload-image:not([data-element-loaded="true"]), img[data-lazy-src]:not([data-element-loaded="true"]), img[data-lazy-original]:not([data-element-loaded="true"])').each((function(e,t){LaStudio.global.makeImageAsLoaded(t)}))})),e("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit")},LaStudio.core.OnLoadEvent=function(){o.removeClass("site-loading body-loading").addClass("body-loaded");try{Pace.stop()}catch(e){}e(".force-active-object-fit").each((function(){o.trigger("lastudio-prepare-object-fit",[e(this)])}))},LaStudio.core.CustomFunction=function(){e(document).on("click","button.site-nav-toggleicon",(function(t){t.preventDefault(),e("html").toggleClass("open-site-nav-default")})),e('.div.gallery[class*="galleryid-"], .wp-block-gallery').each((function(){var t=LaStudio.global.getRandomID();e(this).find("a").addClass("la-popup").attr("data-elementor-lightbox-slideshow",t)})),e(document).on("reinit_la_swatches",(function(){if(e(".product_item .product_item--info").each((function(){e(this).closest(".product_item").css("--item_info",e(this).innerHeight()+"px")})),!o.hasClass("elementor-editor-active")&&e(".variations_form").length&&"1"==la_theme_config.has_wc){var t=e(".variations_form"),a=function(){t.each((function(){e(this).wc_variation_form(),e(this).closest(".product_item")&&e(this).closest(".product_item").css("--variations_form",e(this).innerHeight()+"px")})),e(".variations_form").trigger("wc_variation_form")};e.fn.wc_variation_form?a():("undefined"==typeof _wpUtilSettings&&(window._wpUtilSettings={ajax:{url:la_theme_config.ajax_url}}),"undefined"==typeof wc_add_to_cart_variation_params&&(window.wc_add_to_cart_variation_params=la_theme_config.i18n.variation),LaStudio.global.loadScriptAsyncSequence([["underscore-js",la_theme_config.wc_variation.underscore,!0],["wp-util-js",la_theme_config.wc_variation.wp_util,!1],["wc-add-to-cart-variation-js",la_theme_config.wc_variation.base,!1]],a))}}));const t={wishlist:0,compare:0};try{if("undefined"!==Cookies.get("modarch_wishlist")){const e=JSON.parse(Cookies.get("modarch_wishlist"));t.wishlist=e[0].posts.length}if("undefined"!==Cookies.get("modarch_compare")){const e=JSON.parse(Cookies.get("modarch_compare"));t.compare=e[0].posts.length}}catch(e){}e('.elementor-element.lakit-wishlist-trigger .elementor-icon, a[data-action="lakit_wishlist"]').each((function(){e(this).addClass("main-color"),0==e(this).find(".la-wishlist-count").length?e(this).append('<span class="la-wishlist-count">'+t.wishlist+"</span>"):e(this).find(".la-wishlist-count").html(t.wishlist)})),e('.elementor-element.lakit-compare-trigger .elementor-icon, a[data-action="lakit_compare"]').each((function(){e(this).addClass("main-color"),0==e(this).find(".la-compare-count").length?e(this).append('<span class="la-compare-count">'+t.compare+"</span>"):e(this).find(".la-compare-count").html(t.compare)})),e(document).on("click",".lakit-cart-trigger a.menu-item-link",(function(t){t.preventDefault(),e(".lakit-cart").addClass("lakit-cart-open")}))},LaStudio.core.elementorFrontendInit=function(t,a){a&&e(window).trigger("elementor/frontend/init"),t.removeClass("need-reinit-js"),t.find("[data-element_type]").each((function(){var t=e(this),a=t.data("element_type");if(a)try{"widget"===a&&(a=t.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",t,e)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",t,e),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+a,t,e)}catch(e){return t.remove(),!1}}))},LaStudio.core.DomLoadEvent=function(){t.on("elementor/frontend/init",(function(){"undefined"!=typeof elementorFrontend&&void 0!==elementorFrontend.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/toggle.default",(function(e){e.hasClass("toggle__active-first")&&e.find(".elementor-toggle-item:first-child .elementor-tab-title").trigger("click")}),20),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(t){t.is('[class*="elementor-widget-wp-widget"]')&&(e("body").hasClass("elementor-editor-active")&&t.removeClass("--lakit-wp--widget --inited"),LaStudio.core.Blog(t))})))})),document.addEventListener("DOMContentLoaded",(function(){!function(){e("body").addClass("dom-completely-loaded"),la_theme_config.has_wc&&"undefined"==typeof LaStudioWooCommerce&&LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("woocommerce")],(function(){LaStudioWooCommerce.AutoInit()}));const t=[];la_theme_config?.cssFiles?.forEach((e=>{t.push(new Promise((function(t,a){let i=document.createElement("link");i.rel="stylesheet",i.href=`${e}?ver=${la_theme_config?.themeVersion}`,i.type="text/css",i.onload=function(){t(e)},i.onerror=function(){a(`Can not load css file "${e}"`)},document.head.appendChild(i)})))})),t.length>0&&Promise.all(t).then((()=>{}),(()=>{}))}(),la_theme_config.has_wc&&"undefined"!=typeof LaStudioWooCommerce&&LaStudioWooCommerce.AutoInit()}))}}(jQuery),function(e){"use strict";LaStudio.global.setBrowserInformation(),e((function(){e(document).trigger("LaStudio:Document:BeforeRunScript"),LaStudio.core.SitePreload(),e(".lakit-ajax-searchform").each((function(){LaStudio.core.InstanceSearch(e(this))})),LaStudio.core.initAll(e(document)),LaStudio.core.ElementClickEvent(),LaStudio.core.CustomFunction(),e(document).trigger("LaStudio:Document:AfterRunScript"),e(document).on("lastudio-kit/carousel/init_success",(function(e,t){LaStudio.core.initAll(t.swiperContainer)}))})),document.addEventListener("DOMContentLoaded",(function(){LaStudio.core.Blog(),e(".site-header--default").length>0&&LaStudio.core.Blog(e(".site-header--default"))})),window.addEventListener("load",LaStudio.core.OnLoadEvent),LaStudio.core.DomLoadEvent(),e(document).trigger("LaStudio:Document:AfterInitAllScript")}(jQuery),function(e){"use strict";e((function(){e(document).on("LaStudio:Component:Popup:beforeOpen",(function(t,a){if("iframe"===a.type){const t=/\.(mp4|m4p|m4v|mov|webm|ogg)(\?\S*)?$/i;if(a.target.match(t)){const t=e("<video></video>");t.attr("src",a.target);const i=t[0];i.addEventListener("loadedmetadata",(function(e){const t=LaStudio.global.calculateAspectRatioFit(i.videoWidth,i.videoHeight,.9*window.innerWidth,.9*window.innerHeight);a.$instance.addClass("featherlight--cvideo").css({"--video-ratio":i.videoHeight/i.videoWidth,"--video-naturalWidth":t.width+"px","--video-naturalHeight":t.height+"px"})}))}}})),e(document).on("LaStudio:Component:Popup:afterOpen",(function(e,t){if("iframe"===t.type){const e=/\.(mp4|m4p|m4v|mov|webm|ogg)(\?\S*)?$/i;if(t.target.match(e))try{(t.$content.get(0).contentDocument||t.$content.get(0).contentWindow.document).querySelector("video").setAttribute("style","width: 100%"),t.$instance.addClass("featherlight--cvideo-internal")}catch(e){t.$instance.addClass("featherlight--cvideo-external")}}}))}))}(jQuery),function(e){"use strict";e((function(){e(document).on("click",".elementor-widget[data-send2frm] .elementor-widget-container",(function(t){t.preventDefault();var a=e(this).closest(".elementor-widget"),i=a.attr("data-field"),o=a.attr("data-value");e('.elementor-widget[data-field="'+i+'"]').removeClass("selected"),a.addClass("selected"),e('[name="'+i+'"]').val(o)})),e(document).on("lastudio-kit/carousel/init_success",(function(e,t){LaStudio.core.initAll(t.swiperContainer)})),e(document).on("click",".custom-featherlight-overlay",(function(t){try{e.featherlight.close()}catch(t){}}));try{"dark"===Cookies.get("modarch_color_mode")?e("body").addClass("body-dark").removeClass("body-light"):e("body").removeClass("body-dark").addClass("body-light"),e(document).on("click","[data-color-mode]",(function(t){t.preventDefault();"dark"===e(this).data("color-mode")?(e("body").addClass("body-dark").removeClass("body-light"),Cookies.set("modarch_color_mode","dark",{expires:1})):(e("body").removeClass("body-dark").addClass("body-light"),Cookies.set("modarch_color_mode","light",{expires:1}))}))}catch(e){}e(document).on("click",".e-con.footer-collapse > .elementor-widget-heading",(function(t){e(this).closest(".e-con").toggleClass("e--collapsed")}))}))}(jQuery);
Submit
FILE
FOLDER
Name
Size
Permission
Action
lib
---
0755
app.js
75168 bytes
0644
app.min.js
38527 bytes
0644
customizer.js
2067 bytes
0644
customizer.min.js
740 bytes
0644
N4ST4R_ID | Naxtarrr