PageSourceSearch

https://www.spafinder.com/js/filter-services.ea2ae559.js

js spafinder.com collected 2026-09-24 09:32:02 UTC 4,931 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkfind_v2_spafinder"]=self["webpackChunkfind_v2_spafinder"]||[]).push([[5286],{68535:function(t,e,i){i.r(e),i.d(e,{default:function(){return A}});var s=i(96016),l=i(62023),r=i(48265),o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",[e("div",{staticClass:"mb-2"},[e("Services",{attrs:{limit:4}})],1),e(s.A,{attrs:{text:"",small:""},on:{click:function(e){t.dialog=!t.dialog}}},[t._v("Show all")]),t.dialog?e(l.A,{staticClass:"primary",attrs:{app:"",light:"","max-width":"500px",transition:"dialog-transition"},model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[e("article",{staticClass:"white"},[e("Services",{attrs:{"is-dialog":t.dialog,dialog:t.dialog}}),e("div",{staticClass:"text-right pa-2"},[e(s.A,{staticClass:"text-right",attrs:{outline:"",text:""},on:{click:function(e){t.dialog=!t.dialog}}},[t._v(" Close "),e(r.A,[t._v("mdi-close")])],1)],1)],1)]):t._e()],1)},a=[],c=i(42473),n=i(31635),d=i(11406),u=i(95353);const h=()=>i.e(5286).then(i.bind(i,97236));let v=class extends d.lD{constructor(...t){super(...t),(0,c.A)(this,"getFilterState",void 0),(0,c.A)(this,"getLocationTotalHits",void 0),(0,c.A)(this,"fetchFilterServices",void 0),(0,c.A)(this,"SET_LOADING",void 0),(0,c.A)(this,"SET_FILTER_SERVICES",void 0),(0,c.A)(this,"dialog",!1),(0,c.A)(this,"location",""),(0,c.A)(this,"isFirstInit",!0)}checkLocation(){this.SET_LOADING(!0)}async filterChanged(t){const{location:e}=this.getFilterState;if(t&&this.location!==e||t&&this.isFirstInit)return this.location=e,this.isFirstInit=!1,this.SET_LOADING(!0),await this.fetchFilterServices();t||(this.SET_LOADING(!1),this.SET_FILTER_SERVICES([]))}};(0,n.Cg)([(0,d.ox)("getFilterState.location")],v.prototype,"checkLocation",null),(0,n.Cg)([(0,d.ox)("getLocationTotalHits",{immediate:!0})],v.prototype,"filterChanged",null),v=(0,n.Cg)([(0,d.uA)({name:"FilterServices",components:{Services:h},computed:{...(0,u.L8)("SearchModule",["getLocationTotalHits"]),...(0,u.L8)("FilterModule",["getFilterState"])},methods:{...(0,u.i0)("ServicesModule",["fetchFilterServices"]),...(0,u.PY)("ServicesModule",["SET_LOADING","SET_FILTER_SERVICES"])}})],v);var g=v,p=g,S=i(81656),f=(0,S.A)(p,o,a,!1,null,null,null),A=f.exports},97236:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var s=i(86200),l=i(16292),r=i(50487),o=(i(18111),i(22489),function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"white py-2",class:{"pa-4":t.isDialog}},[t.isMobile?t._e():e("div",{staticClass:"title"},[t._v("Services")]),t.isDialog&&!t.isMobile?e(l.A,{staticClass:"my-2"}):t._e(),e("div",{class:{"d-flex flex-wrap":t.isDialog}},t._l(t.listOfServices,function(i,l){return e(s.A,{key:l,staticClass:"mt-1",class:{"pr-4":t.isDialog},attrs:{value:i,"hide-details":""},on:{change:function(e){return t.filterSearch(e)}},scopedSlots:t._u([{key:"label",fn:function(){return[e("div",{staticStyle:{"font-size":"95%"}},[t._v(" "+t._s(i)+" "),e("sup",{staticClass:"primary--text"},[t.getLoading?e(r.A,{attrs:{size:8,width:1,indeterminate:""}}):e("span",[t._v(t._s(t.getFiltersServices[i]))])],1)])]},proxy:!0}],null,!0),model:{value:t.filter["services.category"],callback:function(e){t.$set(t.filter,"services.category",e)},expression:"filter['services.category']"}})}),1)],1)}),a=[],c=i(42473),n=i(31635),d=i(11406),u=i(95353);class h{constructor(t){(0,c.A)(this,"key",""),(0,c.A)(this,"value",""),(0,c.A)(this,"router",{}),(0,c.A)(this,"isDecodedFilters",!1),t&&(this.key=t.key,this.value=t.value,this.router=t.router,this.isDecodedFilters=t.isDecodedFilters)}}var v=i(48657);let g=class extends d.lD{constructor(...t){super(...t),(0,c.A)(this,"limit",void 0),(0,c.A)(this,"isDialog",void 0),(0,c.A)(this,"syncDialog",void 0),(0,c.A)(this,"getLoading",void 0),(0,c.A)(this,"getFilterState",void 0),(0,c.A)(this,"geteServicesList",void 0),(0,c.A)(this,"getFiltersServices",void 0),(0,c.A)(this,"checkFilterType",void 0)}async filterSearch(t){this.syncDialog=!1;const e=new h;e.key="services.category",e.value=t,e.router=this.$router,e.isDecodedFilters=!0,await this.checkFilterType(e)}get filter(){return new v.SI(this.getFilterState.filters)}get listOfServices(){return this.limit?[...this.geteServicesList].splice(0,this.limit):this.geteServicesList}get isMobile(){return this.$vuetify.breakpoint.smAndDown}};(0,n.Cg)([(0,d.kv)({type:Number,default:0,required:!1})],g.prototype,"limit",void 0),(0,n.Cg)([(0,d.kv)({type:Boolean,default:!1,required:!1})],g.prototype,"isDialog",void 0),(0,n.Cg)([(0,d.pF)("dialog",{type:Boolean,required:!1})],g.prototype,"syncDialog",void 0),g=(0,n.Cg)([(0,d.uA)({name:"Services",computed:{...(0,u.L8)("ServicesModule",["getFiltersServices","geteServicesList","getLoading"]),...(0,u.L8)("FilterModule",["getFilterState"])},methods:{...(0,u.i0)("FilterModule",["checkFilterType"])}})],g);var p=g,S=p,f=i(81656),A=(0,f.A)(S,o,a,!1,null,null,null),_=A.exports}}]);

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.