(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3352c2ae"],{7564:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"permission",rawName:"v-permission",value:e.PERMISSIONS.VIEW_PORTFOLIO,expression:"PERMISSIONS.VIEW_PORTFOLIO"}],staticClass:"animated fadeIn"},[a("b-tabs",{staticClass:"body-bg-color",staticStyle:{"border-left":"0","border-right":"0","border-top":"0"}},[a("b-tab",{staticClass:"body-bg-color overview-chart",staticStyle:{"border-left":"0","border-right":"0","border-top":"0"},attrs:{active:""},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("message.overview")))]},proxy:!0}])},[a("table",[a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.license_name"))+":")]),a("td",[e._v(e._s(e.license.name))])]),a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.spdx_license_id"))+":")]),a("td",[e._v(e._s(e.license.licenseId))])]),a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.osi_approved"))+":")]),a("td",[e.license.isOsiApproved?a("span",[a("i",{staticClass:"fa fa-check-square-o"})]):a("span",[a("i",{staticClass:"fa fa-square-o"})])])]),a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.fsf_libre"))+":")]),a("td",[e.license.isFsfLibre?a("span",[a("i",{staticClass:"fa fa-check-square-o"})]):a("span",[a("i",{staticClass:"fa fa-square-o"})])])]),a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.deprecated"))+":")]),a("td",[e.license.isDeprecatedLicenseId?a("span",[a("i",{staticClass:"fa fa-check-square-o"})]):a("span",[a("i",{staticClass:"fa fa-square-o"})])])]),a("tr",[a("td",{staticClass:"heading"},[e._v(e._s(e.$t("message.comments"))+":")]),a("td",[e._v(e._s(e.license.licenseComments))])]),a("tr",[a("td"),a("td",[e.license.isOsiApproved?a("img",{attrs:{src:s("a70a"),alt:"OSI logo",width:"80"}}):e._e()])])])]),a("b-tab",{scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("message.license_text")))]},proxy:!0}])},[a("div",{staticClass:"licenseText formattedLicenseContent"},[e._v(e._s(e.license.licenseText))])]),a("b-tab",{scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("message.template")))]},proxy:!0}])},[a("div",{staticClass:"templateText formattedLicenseContent"},[e._v(e._s(e.license.standardLicenseTemplate))])]),a("b-tab",{scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("message.source_header")))]},proxy:!0}])},[a("div",{staticClass:"headerText formattedLicenseContent"},[e._v(e._s(e.license.standardLicenseHeader))])])],1)],1)},i=[],n=(s("7f7f"),s("900c"),s("36e4")),c=s("f547"),r=s("7c15"),o={mixins:[r["a"]],components:{},computed:{licenseLabel:function(){return this.license.name?this.license.name:this.license.licenseId}},data:function(){return{licenseId:null,license:{}}},methods:{getStyle:function(e){return Object(n["getStyle"])(e)}},beforeMount:function(){this.licenseId=this.$route.params.licenseId},mounted:function(){var e=this,t="".concat(this.$api.BASE_URL,"/").concat(this.$api.URL_LICENSE,"/").concat(this.licenseId);this.axios.get(t).then((function(t){e.license=t.data,c["a"].$emit("addCrumb",e.licenseLabel)}))},destroyed:function(){c["a"].$emit("crumble")}},d=o,l=(s("d11e"),s("2877")),u=Object(l["a"])(d,a,i,!1,null,"a064987c",null);t["default"]=u.exports},"7c15":function(e,t,s){"use strict";var a=s("a4c1");t["a"]={data:function(){return{PERMISSIONS:{BOM_UPLOAD:a["b"],VIEW_PORTFOLIO:a["e"],PORTFOLIO_MANAGEMENT:a["c"],ACCESS_MANAGEMENT:a["a"],VULNERABILITY_ANALYSIS:a["f"],SYSTEM_CONFIGURATION:a["d"]}}},computed:{decodedToken:function(){return a["g"](a["h"]())}},methods:{isPermitted:function(e){return a["i"](e,this.decodedToken)},isNotPermitted:function(e){return!a["i"](e,this.decodedToken)}}}},"7f7f":function(e,t,s){var a=s("86cc").f,i=Function.prototype,n=/^\s*function ([^ (]*)/,c="name";c in i||s("9e1e")&&a(i,c,{configurable:!0,get:function(){try{return(""+this).match(n)[1]}catch(e){return""}}})},a70a:function(e,t,s){e.exports=s.p+"img/osi-logo.f62887f1.svg"},bf26:function(e,t,s){},d11e:function(e,t,s){"use strict";var a=s("bf26"),i=s.n(a);i.a},f547:function(e,t,s){"use strict";var a=s("a026"),i=new a["default"];t["a"]=i}}]);
//# sourceMappingURL=chunk-3352c2ae.7af0ed39.js.map