PageSourceSearch

https://essence-in.com/wp-content/themes/Essence-i-Avada-Child-Theme/assets/js/fl1-avada.min.js?ver=1712308900

js essence-in.com collected 2026-10-07 22:58:24 UTC 11,068 bytes, 1 lines download raw bytes

1!function($,t,e){$.fn.loadDependencies=function(){var t=$(".has-deps");t&&t.each((function(t,e){var o=$(e).data("deps"),n=$(e).data("deps-path"),i=n?window[n]:window.fl1_ajax_object;o&&i instanceof Object&&$.each(o,(function(t,e){$.each(e,(function(e,o){if("js"===t)scripts=$.getScript(i.jsPath+o+".min."+t)}))}))}))},$.fn.closeOnClickOutside=function(t,e){$(document).on("click",(function(o){var n=$(t),i=$(e);n.is(o.target)||0!==n.has(o.target).length||(n.removeClass("active"),i.removeClass("popped"))}))},$.fn.chosenSelect=function(){$(".chosen-select").chosen({placeholder_text_single:"Any",allow_single_deselect:!0,inherit_select_classes:!0})},$.fn.resizeTextArea=function(){$.each($("textarea[data-autoresize]"),(function(){var t=this.offsetHeight-this.clientHeight;$(this).on("keyup input",(function(){var e;$(e=this).css("height","auto").css("height",e.scrollHeight+t)})).removeAttr("data-autoresize")}))},$.fn.bodyScroll=function(t=!1){t?$("body").removeClass("no__scroll"):$("body").addClass("no__scroll")},$.fn.tooltips=function(){$(".tooltip:not(.tooltipstered)").tooltipster({theme:"tooltipster-dark",contentAsHTML:!0,contentCloning:!0,maxWidth:450,arrow:!1,functionPosition:function(t,e,o){},functionInit:function(t,e){var o=$(e.origin).attr("data-tooltipster");o&&(o=JSON.parse(o),$.each(o,(function(e,o){t.option(e,o)})))}})},$.fn.useLocalStorage=function(t,e){return{exists:function(){localStorage.getItem(t)},get:function(){localStorage.getItem(t)},remove:function(){localStorage.removeItem(t)},set:function(){localStorage.setItem(t,e)}}},$.fn.paramsToJSON=function(t){t=t.substring(t.indexOf("?")+1);for(var e,o=/([^&=]+)=?([^&]*)/g,n=/\+/g,i=function(t){return decodeURIComponent(t.replace(n," "))},a={};e=o.exec(t);){var r=i(e[1]),s=i(e[2]);"[]"===r.substring(r.length-2)?(a[r=r.substring(0,r.length-2)]||(a[r]=[])).push(s):a[r]=s}var l=function(t,e,o){for(var n=e.length-1,i=0;i<n;++i){var a=e[i];a in t||(t[a]={}),t=t[a]}t[e[n]]=o};for(var c in a){var f=c.split("[");if(f.length>1){var p=[];f.forEach((function(t,e){var o=t.replace(/[?[\]\\ ]/g,"");p.push(o)})),l(a,p,a[c]),delete a[c]}}return a},$.fn.JSONserialize=function(){var t=this.serializeArray(),e={};return $.map(t,(function(t,o){e[t.name]=t.value})),e},$.fn.JSONparamify=function(t){return new URLSearchParams(t).toString()},$.fn.jsStorage=function(t,e){return{exists:function(){return!!localStorage.getItem(t)},set:function(){localStorage.setItem(t,JSON.stringify(e))},get:function(){return JSON.parse(localStorage.getItem(t))},getProp:function(e){return this.get(t)[e]},remove:function(){localStorage.removeItem(t)}}},$.fn.skeleton=function(t,e){var o="";for(e=e||7,i=1;i<e;i++)o+=t;return o},$.fn.spinner=function(t="10"){return'<svg version="1.1" id="spinner" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="'+t+'px" height="'+t+'px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve"> <path opacity="0.2" fill="#FFFFFF" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"/> <path fill="#FFFFFF" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z"> <animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 20 20" to="360 20 20" dur="0.5s" repeatCount="indefinite"/> </path> </svg>'},$.fn.stickyMenu=function(){var t,e=0,o=$("header.header").outerHeight(),n=o;$(window).scroll((function(e){t=!0})),setInterval((function(){t&&(!function(){var t=$(this).scrollTop();if(Math.abs(e-t)<=n)return;t>e&&t>o?$("header.header").removeClass("sticky reset").addClass("not-sticky"):t>=0&&t<=150?$("header.header").addClass("reset").removeClass("not-sticky sticky"):t+$(window).height()<$(document).height()&&$("header.header").removeClass("not-sticky reset").addClass("sticky");e=t}(),t=!1)}),250)},$.fn.smoothScroll=function(){$(".scroll").click((function(t){t.preventDefault();
1var e=$(this).attr("href"),o=$(e).offset().top;$("html:not(:animated),body:not(:animated)").animate({scrollTop:o-170},800)}))},$.fn.hashSmoothScroll=function(t){var e=$(t);e.length&&$("html:not(:animated),body:not(:animated)").animate({scrollTop:e.offset().top-100},800)},$.fn.lazyLoad=function(){new Blazy({selector:".blazy"})},$.fn.mobileMenu=function(t="nav#nav_mobile",e="left"){$(t).mmenu({extensions:["effect-menu-fade"],offCanvas:{position:e},navbar:{title:""}})},$.fn.footerAccordion=function(t=1024){var e;$("footer article.footer__menu").find("h5").click((function(){e&&($(this).toggleClass("active"),$(this).children().toggleClass("ion-ios-plus-empty ion-ios-minus-empty"),$(this).parent().find("ul").stop().slideToggle(100))})),$(window).on("load resize",(function(){e=window.innerWidth<=t,$("footer article.footer__menu ul").toggle(!e)}))},$.fn.spotlight=function(){$(document).on("click",".spotlight-open",(function(t){$("body").addClass("no__scroll"),$(".spotlight-search").addClass("open")})),$(document).on("click",".spotlight-close",(function(t){$("body").removeClass("no__scroll"),$(".spotlight-search").removeClass("open")}))}}(jQuery),function($,t,e){$.widget("fl1.filterify",{options:{formEl:"",ajaxObject:"",ajaxAction:"",responseEl:"",formData:{},paginationSelector:"",loadMoreSelector:"",postNotIn:"",wpQueryArgs:{paged:1},skeleton:{},additionalFilters:[],trigger:"auto"},_create:function(){if(""!=this.options.responseEl){var t=this,e=null;this.option("formEl",this.element);var o=this._maybeGetUrlParams();o?this.option("formData",$().paramsToJSON(o)):this.option("formData",this._getFormData()),this._flatpickr({altInput:!0,mode:"range",altFormat:"j M Y",dateFormat:"Y-m-d",minDate:"today",wrap:!0,locale:{firstDayOfWeek:1}}),this.fetch(),"auto"==this.option("trigger")?this._on(this.element,{change:function(){$.extend(t.option("wpQueryArgs"),{paged:1}),t.option("formData",t._getFormData()),t.fetch()},keyup:function(){clearTimeout(e),e=setTimeout((function(){$.extend(t.option("wpQueryArgs"),{paged:1}),t.option("formData",t._getFormData()),t.fetch()}),500)}}):this._on(this.option("trigger"),{click:function(e){e.preventDefault(),$.extend(t.option("wpQueryArgs"),{paged:1}),t.option("formData",t._getFormData()),t.fetch()}}),this.option("additionalFilters")&&$.each(this.option("additionalFilters"),(function(e,o){$(document).on("change",o,(function(){$.extend(t.option("wpQueryArgs"),{paged:1}),t.option("formData",t._getFormData()),t.fetch()}))})),this.option("paginationSelector")&&$(document).on("click",this.option("paginationSelector"),(function(e){e.preventDefault(),$.extend(t.option("wpQueryArgs"),{paged:$(this).data("paged")?$(this).data("paged"):1}),t.fetch()})),this.option("loadMoreSelector")&&($('<div class="do-load-more"><a href="javascript:void(0)" id="'+this.option("loadMoreSelector")+'">View More</a></div>').insertAfter($(this.option("responseEl"))),$(document).on("click","#"+this.option("loadMoreSelector"),(function(e){e.preventDefault(),$.extend(t.option("wpQueryArgs"),{post__not_in:t._postNotInStore()}),t.fetch("loadmore")})))}else console.error('"responseEl" option is required. This is the element where your data will appear after ther AJAX call.')},_ajaxObject:function(){var t=this.option("ajaxObject");return t=t?window[t]:window.fl1_ajax_object},_getFormData:function(){var t="",e=[this.option("formEl")];return this.option("additionalFilters")&&$.each(this.option("additionalFilters"),(function(t,o){e.push($(o))})),$.each(e,(function(e,o){t+="&"+o.serialize()})),$().paramsToJSON(t)},_maybeGetUrlParams:function(){var t=window.location.search;return!!t&&t.substr(1)},_setUrl:function(t){var e=$().JSONparamify(this.option("formData"));history.replaceState({id:this.option("ajaxAction")+"_url"},"","?"+e)},_postNotInStore:function(){var t=$(this.option("responseEl")).find("article"),e=[];return t.length>0&&t.each((function(t,o){var n=$(o).data("post-id");e.push(n)})),e},_highlightEl:function(){var t=this;$.each(this.option("formData"),(function(e,o){var n=t.option("formEl").find('[name="'+e+'"]');if((n=n.length>0?n:t.option("formEl").find('[name="'+e+'[]"]')).length>0){var i=$(n)[0].tagName;n.each((function(t,e){switch(i){case"INPUT":if($(e).is(":radio")&&$(e).val()==o&&$(e).prop("checked",!0),$(e).is(":checkbox"))if(o.indexOf(",")>-1){var n=o.split(",");$.each(n,(function(t,o){o==$(e).val()&&$(e).prop("checked",!0)}))}else $(e).val()==o&&$(e).prop("checked",!0);
1$(e).is(":text")&&$(e).val(o);break;case"SELECT":$(e).val(o),$(e).trigger("chosen:updated")}}))}}))},_flatpickr:function(t){"function"==typeof flatpickr&&$(".pickr-date-range").flatpickr(t)},_skeleton:function(){var t=this.options.skeleton.count?this.options.skeleton.count:4,e=this.options.skeleton.markup,o="";if(e){for(i=1;i<=t;i++)o+=e;return o}return!1},_spinner:function(){return'<svg viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="#fff" style="width:30px; margin: 0 30px;"> <circle cx="15" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="105" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /> </circle> </svg>'},fetch:function(t=null){var e=this;if("loadmore"===t)$("#"+e.option("loadMoreSelector")).html(e._spinner()),$(e.option("responseEl")).append(e._skeleton());else $(e.option("responseEl")).html(e._skeleton());$.ajax({url:e._ajaxObject().ajaxUrl,dataType:"html",type:"POST",data:{action:e.option("ajaxAction"),ajax_security:e._ajaxObject().ajaxNonce,formData:e.option("formData"),wpQueryArgs:e.option("wpQueryArgs")},success:function(o){var n=$("#"+e.option("loadMoreSelector"));"loadmore"===t?""!=o?($(e.option("responseEl")).append(o),n.removeClass("disabled").html("View more"),$("article.preloader").remove()):(n.addClass("disabled").html("End of listings"),$("article.preloader").remove()):($(e.option("responseEl")).html(o),$("html, body").animate({scrollTop:$(e.option("responseEl")).offset().top-180},500)),$("article.preloader").remove(),e._setUrl(),e._highlightEl()},error:function(t){console.error(t)}})}})}(jQuery),jQuery((function($){$().loadDependencies()}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.