(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[75],{"3dzH":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.specificFieldGroups.length>0?n("tb-section",{scopedSlots:e._u([{key:"content",fn:function(){return e._l(e.specificFieldGroups,(function(t){return n("tb-feature-specific",{key:t.id,attrs:{icon:t.icon},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n                "+e._s(t.name)+"\n            ")]},proxy:!0}],null,!0)},[e._v(" "),e._l(t.fieldSets,(function(t){return n("tb-dynamic-field-set-preview",{key:t.id,attrs:{"field-set":t,"field-values":e.fieldValues}})}))],2)}))},proxy:!0}],null,!1,1923946948)}):e._e()};i._withStripped=!0;var r=n("YFxB"),o={name:"TbDetailSpecificFieldGroups",props:{category:{type:Object,required:!0},fieldGroups:{type:Array,required:!0},fieldValues:{type:Object,required:!0}},computed:{specificFieldGroups(){return this.category.fieldGroupTypesWithParents?Object(r.d)(this.category.fieldGroupTypesWithParents.specific,this.fieldGroups,this.fieldValues):[]}}},s=n("KHd+"),d=Object(s.a)(o,i,[],!1,null,"622488fb",null);d.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-detail-specific-field-groups.vue";t.default=d.exports},"KHd+":function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,d){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):r&&(u=d?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},YFxB:function(e,t,n){"use strict";function i(e){return(e=parseInt(e,10))<1e3?e+" m":e<1e4?Math.round(e/100)/10+" km":Math.round(e/1e3)+" km"}function r(e,t,n){return 0===(e=e||[]).length?[]:t.filter(t=>{if(!1===e.includes(t.id))return!1;for(const e of t.fieldSets)for(const t of e.fields){const e=n[t.id];if(e&&e[0]){if(["check","radio","select"].includes(t.type)&&e[0].humanReadableValue.selected.length>0)return!0;if(["input","textarea"].includes(t.type)&&""!==e[0].humanReadableValue.text)return!0}}return!1})}function o(e,t,n){let i={};return e.forEach(e=>{e.fieldSets.forEach(r=>{r.fields.forEach(o=>{o.type===n&&t[o.id]&&(i[e.id]=i[e.id]||{title:e.name,fieldSets:{}},i[e.id].fieldSets[r.id]=i[e.id].fieldSets[r.id]||{title:r.name,fields:{}},i[e.id].fieldSets[r.id].fields[o.id]={blueprint:o,fieldValues:t[o.id]})})})}),i}function s(e,t="",n){const r=/(%s)+/;return t.match(r)?""===e?"":("m"===n?e=i(e):n&&(e=`${e} ${n}`),t.replace(r,e)):t}function d(e,t="",n){if(""===e)return"";"m"===n?e=i(e):n&&(e=`${e} ${n}`);const r=/(%s)+/;return t.match(r)?t.replace(r,e):e}n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}))}}]);