(window.webpackJsonp=window.webpackJsonp||[]).push([[103],{1433:function(t,n,o){var content=o(1693);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(94).default)("12553afc",content,!0,{sourceMap:!1})},1692:function(t,n,o){"use strict";o(1433)},1693:function(t,n,o){var e=o(93)(!1);e.push([t.i,"/* stylelint-enable property-no-unknown */\n/* prettier-ignore */\n.component-article-citations {\n margin: 15px 0 40px;\n}\n.component-article-citations .citations-heading {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-bottom: 0;\n}\n.component-article-citations .citations-heading:hover {\n cursor: pointer;\n}\n.component-article-citations .citations-heading.has-dropdown {\n padding-bottom: 15px;\n}\n.component-article-citations .citations-heading .citations-title {\n font-family: 'ProximaNovaBold', Arial, sans-serif;\n text-transform: capitalize;\n}\n.component-article-citations .citations-heading .citations-dropdown {\n padding: 9px 0 0 9px;\n}\n.component-article-citations .citations-heading .citations-dropdown .arrow-down-small {\n transition: all 0.4s;\n height: 8px;\n width: 13px;\n}\n.component-article-citations .citations-heading .citations-dropdown .arrow-down-small.is-rotated {\n transform: rotate(180deg);\n}\n.component-article-citations .citations-list-wrapper .citations-list {\n display: block;\n margin: 0 20px;\n}\n.component-article-citations .citations-list-wrapper .citations-list.is-hidden {\n display: none;\n}\n.component-article-citations .citations-list-wrapper .citations-list .citations-item {\n font-size: 18px;\n line-height: 30px;\n margin-bottom: 20px;\n}\n.component-article-citations .citations-list-wrapper .citations-list .citations-item:last-child {\n margin-bottom: 0;\n}\n",""]),t.exports=e},2036:function(t,n,o){"use strict";o.r(n);o(21),o(5),o(32),o(44),o(16);var e=o(0),c={name:"ArticleCitations",props:{citationTitle:{type:String,default:""},citations:{type:Array,default:function(){return[]}}},data:function(){return{config:Object(e.a)(this,"$config"),hideCitations:!0}},computed:{filterCitations:function(){return this.citations.filter((function(t){return Object(e.a)(t,"url","")}))},title:function(){return Object(e.a)(this,"citationTitle","")},hasCitations:function(){return Array.isArray(this.citations)&&this.filterCitations.length>0},hasDropdown:function(){return!this.hideCitations},isRotated:function(){return!this.hideCitations}},methods:{getLink:function(t){return Object(e.a)(t,"url","")},getTitle:function(t){return Object(e.a)(t,"title","")},toggleCitationList:function(){this.hideCitations=!this.hideCitations},isInternalLink:function(t){var n=Object(e.a)(this,"config.site.domain","");return this.getLink(t).includes(n)},setTarget:function(t){return this.isInternalLink(t)?"_self":"_blank"},setFollow:function(t){return Object(e.a)(this,"$config.globalNoFollowExceptionsRegex",/.^/).test(this.getLink(t))?"":this.isInternalLink(t)?"follow":"nofollow"}}},r=(o(1692),o(43)),component=Object(r.a)(c,(function(){var t=this,n=t.$createElement,o=t._self._c||n;return t.hasCitations?o("div",{staticClass:"component-article-citations"},[o("div",{staticClass:"citations-heading",class:{"has-dropdown":t.hasDropdown},on:{click:t.toggleCitationList}},[o("div",{staticClass:"citations-title ui-heading-2"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),o("div",{staticClass:"citations-dropdown"},[o("div",{staticClass:"svg arrow-down-small svg--arrow-down-small",class:{"is-rotated":t.isRotated}})])]),t._v(" "),o("div",{staticClass:"citations-list-wrapper"},[o("ul",{staticClass:"citations-list",class:{"is-hidden":t.hideCitations}},t._l(t.filterCitations,(function(n){return o("li",{key:t.getLink(n),staticClass:"citations-item ui-body"},[o("a",{staticClass:"citations-link",attrs:{href:t.getLink(n),target:t.setTarget(n),rel:t.setFollow(n)}},[t._v("\n "+t._s(t.getTitle(n))+"\n ")])])})),0)])]):t._e()}),[],!1,null,null,null);n.default=component.exports}}]);