(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{470:function(t,e,r){"use strict";r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return h})),r.d(e,"a",(function(){return w}));r(37),r(26),r(34),r(17),r(43),r(36),r(44);var o=r(9),n=r(0),c=(r(61),r(35),r(305)),l=r(472);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var f=function(data){return d(d({},data),{},{createdAt:Object(c.a)(data.createdAt),editedAt:Object(c.a)(data.editedAt),publishedAt:data.publishedAt?Object(c.a)(data.publishedAt):null,image:data.image?Object(l.a)(data.image):null,previewImage:data.previewImage?Object(l.a)(data.previewImage):null})},h=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e,article){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=f,t.next=3,e.patch("/admin/blog/articles/"+article.id,article);case 3:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),w=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e,r){var o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.get("/admin/blog/articles/".concat(r,"/related"));case 2:return o=t.sent,data=o.data,t.abrupt("return",data.map(f));case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},472:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));r(37),r(26),r(34),r(17),r(43),r(36),r(44);var o=r(0);function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function c(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var l=function(data){return c(c({},data),{},{publicUrl:data.publicUrl||null})}},477:function(t,e,r){"use strict";var o=r(8),n=r(478);o({target:"String",proto:!0,forced:r(479)("link")},{link:function(t){return n(this,"a","href",t)}})},478:function(t,e,r){var o=r(13),n=r(54),c=r(29),l=/"/g,m=o("".replace);t.exports=function(t,e,r,o){var d=c(n(t)),f="<"+e;return""!==r&&(f+=" "+r+'="'+m(c(o),l,""")+'"'),f+">"+d+"</"+e+">"}},479:function(t,e,r){var o=r(12);t.exports=function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},483:function(t,e,r){var content=r(506);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(28).default)("94eb2070",content,!0,{sourceMap:!1})},505:function(t,e,r){"use strict";r(483)},506:function(t,e,r){var o=r(27)((function(i){return i[1]}));o.push([t.i,".Article__img[data-v-7fa3ecea]{background-position:50%;background-size:cover;border-radius:.125rem;height:6rem;width:100%}.Article__img-link[data-v-7fa3ecea]{display:block;width:6rem}.Article__title[data-v-7fa3ecea]{word-wrap:break-word;--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));flex:1 1 0%;font-size:1.125rem;font-weight:700;line-height:1.75rem;line-height:1.25;padding:.25rem 1rem}.Article__link[data-v-7fa3ecea]:hover{--tw-text-opacity:1;color:#ca8a04;color:rgb(202 138 4/var(--tw-text-opacity))}",""]),o.locals={},t.exports=o},507:function(t,e,r){"use strict";var o=r(10),n=Object(o.c)({props:{article:{}}}),c=(r(505),r(14)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"flex"},[r("nuxt-link",{staticClass:"Article__img-link",attrs:{to:"/"+t.article.slug}},[r("div",{staticClass:"Article__img",style:{"background-image":t.article.image?"url("+t.article.image.publicUrl+")":""}})]),t._v(" "),r("h4",{staticClass:"Article__title"},[r("nuxt-link",{staticClass:"Article__link",attrs:{to:"/"+t.article.slug},domProps:{textContent:t._s(t.article.title)}})],1)],1)])}),[],!1,null,"7fa3ecea",null);e.a=component.exports},530:function(t,e,r){var content=r(587);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(28).default)("afbef1d0",content,!0,{sourceMap:!1})},586:function(t,e,r){"use strict";r(530)},587:function(t,e,r){var o=r(27)((function(i){return i[1]}));o.push([t.i,'/*! purgecss start ignore */.ArticleHead{--tw-bg-opacity:1;background-color:#e5e7eb;background-color:rgb(229 231 235/var(--tw-bg-opacity));margin-bottom:2rem;padding:1.5rem 1.25rem}@media (min-width:768px){.ArticleHead{background-color:transparent;border-bottom-width:1px;padding-bottom:2.5rem;padding-top:2.5rem}}.ArticleTitle{--tw-text-opacity:1;color:#111827;color:rgb(17 24 39/var(--tw-text-opacity));font-family:Oswald;font-size:2.25rem;font-weight:600;line-height:2.5rem;line-height:1.25}@media (min-width:768px){.ArticleTitle{font-size:3rem;line-height:1}}.ArticleMetaDesc{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-size:1.125rem;line-height:1.75rem;margin-top:1rem}@media (min-width:768px){.ArticleMetaDesc{font-size:1.25rem;line-height:1.75rem}}.ArticleBody{padding-left:1.25rem;padding-right:1.25rem}/*! purgecss end ignore *//*! purgecss start ignore */.BlogContent p{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-size:1.125rem;line-height:1.75rem}@media (min-width:768px){.BlogContent p{font-size:1.25rem;line-height:1.75rem}}.BlogContent p:not(:last-child){margin-bottom:1rem}@media (min-width:768px){.BlogContent p:not(:last-child){margin-bottom:2rem}}.BlogContent h1{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-family:Oswald;font-size:1.875rem;font-weight:500;line-height:2.25rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h1{font-size:2.25rem;line-height:2.5rem;margin-bottom:1rem}}.BlogContent h2{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-family:Oswald;font-size:1.875rem;line-height:2.25rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h2{font-size:2.25rem;line-height:2.5rem;margin-bottom:1rem}}.BlogContent h3{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-family:Oswald;font-size:1.5rem;line-height:2rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h3{font-size:1.875rem;line-height:2.25rem;margin-bottom:1rem}}.BlogContent h4{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-family:Oswald;font-size:1.25rem;line-height:1.75rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h4{font-size:1.5rem;line-height:2rem;margin-bottom:1rem}}.BlogContent h5{--tw-text-opacity:1;color:#1f2937;color:rgb(31 41 55/var(--tw-text-opacity));font-family:Oswald;font-size:1.125rem;line-height:1.75rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h5{font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}}.BlogContent h6{--tw-text-opacity:1;color:#374151;color:rgb(55 65 81/var(--tw-text-opacity));font-family:Oswald;font-size:1.125rem;line-height:1.75rem;margin-bottom:.5rem}@media (min-width:768px){.BlogContent h6{font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}}.BlogContent blockquote{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:#dbeafe;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-color:#bfdbfe;border-color:rgb(191 219 254/var(--tw-border-opacity));border-left-width:4px;font-family:Georgia,Cambria,"Times New Roman",Times,serif;padding:1.25rem 2rem}.BlogContent blockquote p{--tw-text-opacity:1;color:#1e40af;color:rgb(30 64 175/var(--tw-text-opacity))}.BlogContent ul{line-height:2;list-style-position:inside;list-style-type:disc;padding-left:1.5rem}.BlogContent ul p{display:inline}.BlogContent ol{line-height:2;list-style-position:inside;list-style-type:decimal;padding-left:1.5rem}.BlogContent ol p{display:inline}.BlogContent code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#111827;background-color:rgb(17 24 39/var(--tw-bg-opacity));border-radius:.125rem;color:#d1d5db;color:rgb(209 213 219/var(--tw-text-opacity));display:block;font-family:Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.875rem;letter-spacing:-.025em;line-height:1.25rem;padding:.75rem 1rem;white-space:pre-wrap}.BlogContent code p{margin:0}.BlogContent hr{border-bottom-width:1px}.BlogContent hr:not(:last-child){margin-bottom:1rem}.BlogContent a{--tw-text-opacity:1;color:#ea580c;color:rgb(234 88 12/var(--tw-text-opacity));cursor:pointer;font-weight:600}@media (min-width:1024px){.BlogContent a:hover{--tw-text-opacity:1;color:#c2410c;color:rgb(194 65 12/var(--tw-text-opacity));text-decoration-line:underline}}/*! purgecss end ignore */.RelatedArticles{--tw-bg-opacity:1;background-color:#e5e7eb;background-color:rgb(229 231 235/var(--tw-bg-opacity));padding:1.5rem 1.25rem;position:sticky;top:2rem}.RelatedArticles__article:not(:last-child){border-bottom-width:2px;margin-bottom:1rem;padding-bottom:1rem}',""]),o.locals={},t.exports=o},601:function(t,e,r){"use strict";r.r(e);var o=r(21),n=r(9),c=r(124),l=(r(35),r(26),r(48),r(53),r(477),r(17),r(39),r(40),r(61),r(10)),m=r(507),d=r(470),f=Object(l.c)({components:{ArticlePreviewMinimal:m.a},head:function(){var t=this.$nuxtI18nSeo({addSeoAttributes:!0}),article=this.article,title=article.title+" - Wiresoft",desc=article.seo.description;return{title:title,meta:[].concat(Object(c.a)(t.meta||[]),[{name:"robots",content:"index,follow"},{property:"og:type",content:"article"},{property:"og:title",content:title},{property:"og:description",content:desc},{property:"og:image",content:article.image&&article.image.publicUrl||""},{name:"description",hid:"description",content:article.seo.description}]),link:Object(c.a)(t.link||[])}},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,c,l,article,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$axios,n=t.params,e.next=3,Promise.all([r.$get("/blog/articles/".concat(n.slug)).then(d.b),r.$get("/blog/articles/".concat(n.slug,"/related")).then((function(t){return t.map(d.b)}))]);case 3:return c=e.sent,l=Object(o.a)(c,2),article=l[0],m=l[1],e.abrupt("return",{article:article,related:m});case 8:case"end":return e.stop()}}),e)})))()}}),h=(r(586),r(14)),component=Object(h.a)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"lg:pb-8 lg:px-4"},[r("div",{staticClass:"max-w-6xl mx-auto"},[r("div",{staticClass:"Article"},[r("div",{staticClass:"ArticleHead"},[r("h1",{staticClass:"ArticleTitle",domProps:{textContent:t._s(t.article.title)}}),t._v(" "),t.article.seo.description?r("p",{staticClass:"ArticleMetaDesc",domProps:{textContent:t._s(t.article.seo.description)}}):r("p",{staticClass:"ArticleMetaDesc"},[r("span",{staticClass:"italic text-red-500"},[t._v("Beschreibung fehlt")])])]),t._v(" "),r("div",{staticClass:"lg:flex lg:-mx-4"},[r("div",{staticClass:"lg:w-2/3 lg:mx-4"},[r("main",{staticClass:"ArticleBody mb-8"},[r("div",{staticClass:"BlogContent",domProps:{innerHTML:t._s(t.article.content)}})])]),t._v(" "),r("div",{staticClass:"lg:w-1/3 lg:mx-4"},[t.related.length?r("aside",{staticClass:"RelatedArticles"},[r("h2",{staticClass:"text-xl font-highlight text-gray-800 mb-4"},[t._v("\n Verwandte Artikel\n ")]),t._v(" "),t._l(t.related,(function(t){return r("div",{key:t.id,staticClass:"RelatedArticles__article"},[r("ArticlePreviewMinimal",{attrs:{article:t}})],1)}))],2):t._e()])])])])])}),[],!1,null,null,null);e.default=component.exports}}]);