(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[136],{"7BfZ":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("VjoN");function i(t,e,r,i,o){let s={};return i&&(s.categories=[String(i)]),o&&(s.dynamicFields=o),{name:t+".list",query:{params:Object(n.b)({predefinedParams:{filter:{element:e,area:r}},filter:s})}}}},VjoN:function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=r("7yoQ");function i(t){return encodeURIComponent(Object(n.b)(JSON.stringify(t)))}const o={created(){for(const t of this.$options.urlState)this.restoreStateFromUrl(t),this.$watch(t,e=>this.saveStateToUrl(t,e),{deep:!0})},methods:{saveStateToUrl(t,e=this[t]){const r=Object.assign({},this.$route.query);r[t]=i(e),this.$router.push({name:this.$route.name,query:r}).catch(t=>{if(!(""+t.message).includes("redundant navigation"))throw t})},restoreStateFromUrl(t){if(!this.$route.query[t])return null;try{const e=function(t){return JSON.parse(Object(n.a)(decodeURIComponent(t)))}(this.$route.query[t]);return this.$set(this,t,e),e}catch(e){return console.warn(`Could not restore state ${t} from URL parameter ${t}`,e),null}}}}},hkNU:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this.$createElement;return(this._self._c||t)("tb-w-button",{staticClass:"tb-w-corona-category-filter-link mt-4",attrs:{href:this.buildListUrl(),variant:"secondary",target:"_blank"}},[this._v("\n    "+this._s(this.category.label)+"\n")])};n._withStripped=!0;var i=r("7BfZ"),o={props:{element:{type:String,required:!0},category:{type:Object,default:null},id:{type:String,required:!0}},methods:{buildListUrl(){return this.buildUrl(Object(i.a)(this.category.type,this.element,this.id,this.category.id))}}},s=r("KHd+"),a=Object(s.a)(o,n,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/corona-information/tb-w-corona-category-filter-link.vue";e.default=a.exports}}]);