(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[268],{"+syh":function(e,r,t){"use strict";t.d(r,"a",(function(){return n})),t.d(r,"b",(function(){return a})),t.d(r,"c",(function(){return d}));const n=Object.freeze({DETAIL_INFO_URL:"034f495f-58ce-4386-a1cd-10bc70abc358"}),a=Object.freeze({ACCESSIBILITY_TESTED:"b1f7e686-ed62-467e-ad47-4f81f0404017",INFORMATION_ABOUT_ACCESSIBILITY:"5bf74a8f-7aa0-45c7-9bca-9a813b5d61c3"}),d=Object.freeze({ALLERGY_TEXT:"6bceef5f-f3d0-4e56-9cc8-786992156726",ALLERGY_TEST_REPORT:"a00f208d-bc48-4eb9-b9e3-3104543eae05",DETAIL_INFO_URL:"399414dc-4bd5-44e8-ba52-e4dda8e18257",WALKING_DESCRIPTION:"96f01d0e-ba0b-448d-96e2-6b67d9da9350",WHEELCHAIR_TESTREPORT_URL:"7ee3102d-4c9d-4b8a-8ec9-49eeb6a1ee55",WALKING_TESTREPORT_URL:"7b8a461e-caed-4534-b6d2-4d94c5c33f60",SIGHT_DESCRIPTION:"300a51a0-b6d6-4c66-9829-ffe40c9d4bee",SIGHT_TESTREPORT_URL:"a476fdf2-c9c8-42b6-a0ad-82bfd01158fa",HEARING_DESCRIPTION:"99eb009b-7dbf-4748-82c8-d941a93e8897",HEARING_TESTREPORT_URL:"81c9bdfe-7156-4c08-89bd-a8bf21c92a85",COGNITIVE_DESCRIPTION:"b85dba83-7ab3-4688-b9d0-aa2158ad15e6",COGNITIVE_TESTREPORT_URL:"0893de75-5afb-4dfc-9dbe-7ba80d620c3e"})},GRXX:function(e,r,t){"use strict";t.r(r);var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"tb-w-barrierfree"},[e.proInfirmisAwards.length?t("tb-w-barrierfree-award-item",{attrs:{article:e.article,awards:e.proInfirmisAwards,type:"proInfirmis"}}):e._e(),e._v(" "),e.reisenFuerAlleAwards.length?t("tb-w-barrierfree-award-item",{attrs:{article:e.article,awards:e.reisenFuerAlleAwards,type:"reisenFuerAlle"}}):e._e()],1)};n._withStripped=!0;var a=t("V3Bo"),d=t("Juj6"),i={props:{article:{type:Object,required:!0},awards:{type:Array,required:!0}},computed:{proInfirmisAwards(){return this.awards.filter(e=>{var r;return(null===(r=e.awardSet)||void 0===r?void 0:r.id)===a.b.PRO_INFIRMIS})},reisenFuerAlleAwards(){let e=structuredClone(this.awards).filter(e=>{var r;return(null===(r=e.awardSet)||void 0===r?void 0:r.id)===a.b.REISEN_FUER_ALLE});return e.some(e=>d.f.includes(e.blueprint))?e:[]}}},c=t("KHd+"),f=Object(c.a)(i,n,[],!1,null,null,null);r.default=f.exports},Juj6:function(e,r,t){"use strict";t.d(r,"b",(function(){return d})),t.d(r,"e",(function(){return i})),t.d(r,"f",(function(){return c})),t.d(r,"a",(function(){return f})),t.d(r,"d",(function(){return s})),t.d(r,"c",(function(){return o}));var n=t("V3Bo"),a=t("+syh");const d=Object.freeze([n.b.PRO_INFIRMIS,n.b.REISEN_FUER_ALLE]),i=Object.freeze(["9ef8ab5f-3f32-44c0-99fa-f16f5bb2b04a","9ef8ab6f-d475-4e04-855d-9fa49adb1260","9ef8ab3c-c037-4d80-8607-8d275f553712","9ef8ab81-ff56-4f68-a8cc-e15d4790e354"]),c=[a.b.ACCESSIBILITY_TESTED,a.b.INFORMATION_ABOUT_ACCESSIBILITY],f=function(e){return!!e&&(!!(null===e.validUntil||e.useAwardYear&&e.validFrom)||new Date(e.validUntil+"T23:59:59Z")>=new Date)},s=function(e,r){var t,n;let a=[];return null!=e&&e.length?(a=e.filter(e=>{var r,t;return!d.includes(null===(r=e.awardSet)||void 0===r?void 0:r.id)&&f(e)&&(null===(t=e.image)||void 0===t?void 0:t.url)}),null!==(t=r.awardIds)&&void 0!==t&&t.length&&(a=a.filter(e=>r.awardIds.includes(e.blueprint)).sort((e,t)=>r.awardIds.indexOf(e.blueprint)-r.awardIds.indexOf(t.blueprint))),null===(n=a)||void 0===n?void 0:n.slice(0,4)):null},o=function(e,r){let t=null==e?void 0:e.awards,n={};if(!Object.keys(t||{}).length)return{};for(const e of Object.values(t))Object.values(e.awardBlueprints||{}).some(e=>Object.values(e.awardProperties||{}).length)&&(n={...n,...e.awardBlueprints});if(((null==r?void 0:r.awards)||[]).length){const e=Object.entries(n).filter(([e])=>r.awards.includes(e));n=Object.fromEntries(e)}return n}},"KHd+":function(e,r,t){"use strict";function n(e,r,t,n,a,d,i,c){var f,s="function"==typeof e?e.options:e;if(r&&(s.render=r,s.staticRenderFns=t,s._compiled=!0),n&&(s.functional=!0),d&&(s._scopeId="data-v-"+d),i?(f=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},s._ssrRegister=f):a&&(f=c?function(){a.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:a),f)if(s.functional){s._injectStyles=f;var o=s.render;s.render=function(e,r){return f.call(r),o(e,r)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,f):[f]}return{exports:e,options:s}}t.d(r,"a",(function(){return n}))},V3Bo:function(e,r,t){"use strict";t.d(r,"b",(function(){return n})),t.d(r,"a",(function(){return a})),t.d(r,"c",(function(){return d}));const n=Object.freeze({PRO_INFIRMIS:"706e7ce7-cc0f-4f36-ae5b-62d37b039a05",REISEN_FUER_ALLE:"280248cf-9ccb-410e-8910-8a0c8ef6ac21"}),a=Object.freeze({AWARD:"award",PRIZE:"prize",CARD:"card",MEMBERSHIP:"membership",PRINCIPLE:"principle"}),d=Object.freeze({AWARDSANDPRIZES:"awardsAndPrizes"})}}]);