PageSourceSearch

https://www.sheikhashamma.ae/application/themes/sheikha_shamma/dist/js/pages-Search-11.0.0.min.js

js sheikhashamma.ae collected 2026-10-02 14:15:21 UTC 8,852 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktheme=self.webpackChunktheme||[]).push([[168,294,243],{7592:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(6358),o=r(9985),i=r(9755);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}var f=c((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"setDomMap",(function(){t.cursor=i(".cursor"),t.cursorArea=i(".show-cursor")})),u(this,"bindEvents",(function(){n.ZP.set(t.cursor,{scale:0});var e=i("body.page-arabic").length?"سحب":"DRAG";t.cursorArea.each((function(o,a){var s=i(a);t.cursor.show(),s.on("mouseenter",(function(o){s.hasClass("next-prev")?(t.cursor.find("i").hide(),t.cursor.find(".cursor-text").show(),t.cursor.find(".cursor-text").html("EXPLORE")):s.hasClass("gallery")?(t.cursor.find("i").hide(),t.cursor.find(".cursor-text").hide(),s.hasClass("gallery-left")?i("body.page-arabic").length?(t.cursor.find(".arrow-left").hide(),t.cursor.find(".arrow-right").show()):(t.cursor.find(".arrow-left").show(),t.cursor.find(".arrow-right").hide()):i("body.page-arabic").length?(t.cursor.find(".arrow-left").show(),t.cursor.find(".arrow-right").hide()):(t.cursor.find(".arrow-left").hide(),t.cursor.find(".arrow-right").show())):(t.cursor.find("i").show(),t.cursor.find(".cursor-text").show(),t.cursor.find(".cursor-text").html(e)),s.addClass("hovering"),s.hasClass("hovering")&&(r(o),n.ZP.to(".cursor",.2,{scale:1}))})).on("mouseleave",(function(e){s.removeClass("hovering"),r(e),n.ZP.to(".cursor",.2,{scale:0})})),s.on("pointermove",(function(e){r(e)}))}));var r=function(e){var t=e.clientX,r=e.clientY,o=i(".cursor").innerWidth();n.ZP.to(".cursor",.2,{x:t-o/2,y:r-o/2})}})),this.setDomMap(),o.sl.matches&&this.bindEvents(),this.cursorArea=""}))},3817:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}r.r(t),r.d(t,{default:()=>c});var c=i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"init",(function(){t.setDomMap(),t.bindEvents()})),a(this,"setDomMap",(function(){t.blurredImageDiv=document.querySelectorAll(".blurred-img")})),a(this,"bindEvents",(function(){t.blurredImageDiv.forEach((function(e){var r=e.querySelector("img.lazy");r.complete?t.loaded(r):r.addEventListener("load",(function(){t.loaded(r)}))}
1))})),a(this,"loaded",(function(e){e.parentElement.classList.add("loaded")})),this.init()}))},1539:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(6995),o=r(3817),i=r(7592),a=r(9755);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function u(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}var f=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"bindEvents",(function(){t.keywords.keyup(t.delayFilter),t.searchTypes.on("click",(function(e){e.preventDefault();var r=a(e.currentTarget);r.hasClass("active")||(t.searchTypes.removeClass("active"),r.addClass("active"),t.applyFilter())})),t.loadMore.on("click",t.nextPage)})),u(this,"delayFilter",(function(){clearInterval(t.timer),t.timer=setTimeout((function(){t.applyFilter()}),500)})),u(this,"nextPage",(function(e){e.preventDefault(),t.addPage(),t.showLoader(),t.requestData()})),u(this,"addPage",(function(){t.page++})),u(this,"resetPage",(function(){t.page=1})),u(this,"requestData",(function(){a.ajax({dataType:"json",type:"GET",cache:!1,data:t.formParams(),url:t.getPath(),success:t.bindData,error:t.handleError})})),u(this,"formParams",(function(){var e={};return e.keywords=encodeURIComponent(t.keywords.val()),e.searchType=t.getSearchTypeValue(),e.page=t.page,e.ccm_token=t.ccmToken.val(),e})),u(this,"getPath",(function(){return window.location.pathname})),u(this,"applyFilter",(function(){t.resetPage(),t.toggleLoadMore(!1),t.hideSearchTypesContainers(),t.clearContainer(),t.showLoader(),t.setHistory(),t.requestData()})),u(this,"clearContainer",(function(){t.searchTypesContainers.find(".list-container").empty()})),u(this,"showLoader",(function(){t.loader.show()})),u(this,"hideLoader",(function(){t.loader.hide()})),u(this,"bindData",(function(e){e.data.forEach((function(e){var r=t.mainListContainer.find(".search-type-container[data-search-type='".concat(e.handle,"'"));r.length&&(r.find(".list-container").append(e.html),t.toggleCursor(r,e.count>0),r.show())})),t.hideLoader(),t.toggleLoadMore(e.hasNextPage),t.toggleNoResultsView(e.hasResults),t.callbackFn()})),u(this,"setHistory",(function(){if(window.history.pushState){var e="?",r="",n=t.formParams();for(var o in n)"page"!==o&&"ccm_token"!==o&&(r.length&&(r+="&"),r+="".concat(o,"=").concat(n[o]));e+=r,window.history.pushState("","",e)}})),u(this,"handleError",(function(e){window.location.reload()})),u(this,"toggleLoadMore",(function(e){e?t.loadMore.show():t.loadMore.hide()})),u(this,"hideSearchTypesContainers",(function(){t.searchTypesContainers.hide()})),u(this,"toggleNoResultsView",(function(e){e?(t.searchTypeFilter.show(),t.mainListContainer.show(),t.noResultsContainer.hide()):(t.searchTypeFilter.hide(),t.mainListContainer.hide(),t.noResultsContainer.show())})),u(this,"toggleCursor",(function(e,t){e=e.find(".swiper-container"),t?e.addClass("show-cursor"):e.removeClass("show-cursor")})),u(this,"callbackFn",(function(){t.animation=new n.default,t.animation.fadeUpAnimation(),(new o.default).init(),setTimeout((function(){new i.default}),500)})),this.parent=a(".search-listing"),this.mainListContainer=this.parent.find(".main-list-container"),this.searchTypesContainers=this.mainListContainer.find(".search-type-container"),this.searchTypeFilter=this.parent.find(".search-type-filter"),this.searchTypes=this.searchTypeFilter.find(".search-type"),this.keywords=this.parent.find("#keywords"),this.ccmToken=this.parent.find('[name="ccm_token"]'),this.loadMore=this.parent.find(".load-more"),this.loader=this.parent.find(".loader"),this.noResultsContainer=this.parent.find(".no-results-container"),this.slider=this.parent.find(".media-slider"),this.page=1,this.bindEvents()}var t,r,s;return t=e,(r=[{key:"getSearchTypeValue",value:function(){var e=this.parent.find(".search-type.active");return e.length?encodeURIComponent(e.attr("data-value")):""}}
1])&&c(t.prototype,r),s&&c(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}]);

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.