PageSourceSearch

https://www.rusi.org/component---src-templates-external-publicatio…nal-publication-tsx-378916c729fd255dcca2.js

js rusi.org collected 2026-09-24 06:42:48 UTC 9,769 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_rusi_rusi_gatsby_publisher=self.webpackChunk_rusi_rusi_gatsby_publisher||[]).push([[577],{38:function(e,l,t){t.d(l,{Y:function(){return c}});var n=t(4506),a=t(6942),r=t.n(a),i=t(1979),o=t(6540);const u=e=>"rusi"===e.toLowerCase()?"RUSI":e[0].toUpperCase()+e.substr(1),c=({crumbs:e,className:l,...t})=>{const a=(0,o.useMemo)(()=>(e=>{const l=(0,n.A)(e);return l.pop(),l.shift(),l})(e),[e]),c=(0,o.useMemo)(()=>(e=>e.map(e=>{return{...e,crumbLabel:(l=e.crumbLabel,l.split("-").map(u).join(" "))};var l}))(a),[a]);return o.createElement("div",{className:"BreadCrumb-module--component--b0e43","aria-hidden":!0},o.createElement("ul",Object.assign({className:r()("BreadCrumb-module--breadcrumb--d9b04",l)},t),c.map(({crumbLabel:e,pathname:l},t)=>o.createElement("li",{key:`crumb${t}`},o.createElement(i.N,{to:l},e)))))}},545:function(e,l,t){t.d(l,{A:function(){return i}});var n=t(5588),a=t(6540),r=t(1208);const i=({name:e,image:l,date:t,url:i,machineDate:o,linkTitle:u="View the full article online"})=>a.createElement("div",{className:"ExternalPublisher-module--component--1834c"},a.createElement("figure",null,l&&a.createElement("div",{className:"ExternalPublisher-module--image--e6def"},a.createElement(n.G,{image:l,alt:e})),a.createElement("figcaption",null,e)),a.createElement("p",null,a.createElement("time",{dateTime:o},t)),a.createElement("a",{href:i},u,a.createElement(r.Z,{name:"chevron-right"})))},5055:function(e,l,t){const n={field_topics:"Topics",field_region:"Regions and Country Groups",field_research_groups:"Research Groups",field_related_project:"Projects",field_networks:"Networks"},a=["field_topics","field_region","field_research_groups","field_related_project","field_networks"];t.d(l,["t",0,e=>e?a.map(l=>{var t;return null!==(t=e[l])&&void 0!==t&&t.length?{name:n[l],items:e[l].map(e=>{var l,t;return{label:e.name,id:e.id,url:null!==(l=null===(t=e.path)||void 0===t?void 0:t.alias)&&void 0!==l?l:""}})}:null}):[]])},14:function(e,l,t){t.d(l,{f:function(){return o}});var n=t(6942),a=t.n(n),r=t(6540),i=t(8947);const o=({tagCategories:e,className:l,...t})=>e.find(e=>{var l;return(null==e?void 0:e.items)&&(null===(l=e.items)||void 0===l?void 0:l.length)})?r.createElement("section",Object.assign({className:a()("KeywordTags-module--component--b3f64",l,"hideOnPrint")},t),r.createElement("label",{className:"KeywordTags-module--label--f2982"},"keywords"),e.map((e,l)=>{var t;return null!=e&&null!==(t=e.items)&&void 0!==t&&t.length?r.createElement("div",{className:"KeywordTags-module--tagsCategoryRow--cab5b",key:`tagCategory-${l}`},r.createElement("label",null,e.name),r.createElement(i.A,{tags:e.items})):null})):null},4266:function(e,l,t){t.d(l,{J:function(){return o}});var n=t(6942),a=t.n(n),r=t(6540),i=t(5e3);const o=({className:e,children:l})=>l?r.createElement("p",{className:a()("LeadParagraph-module--component--43212",e)},(0,i.Q)(l)):null},5117:function(e,l,t){t.d(l,{U:function(){return r}});var n=t(6540),a=t(1208);const r=({text:e,hideQuoteMarks:l=!1})=>n.createElement("div",{className:"NewsQuote-module--component--59e4c"},!l&&n.createElement(a.Z,{name:"quote",className:"NewsQuote-module--icon--81890"}),n.createElement("p",{className:"NewsQuote-module--quote--49059"},e))},9349:function(e,l,t){t.d(l,{A:function(){return A}});var n={};t.r(n),t.d(n,{component:function(){return p},contentCatagory:function(){return f},contentType:function(){return E},contentTypeWrapper:function(){return b},eventSeriesLink:function(){return v},fadePop:function(){return g},flex:function(){return h},growHeightIn:function(){return _},image:function(){return T},issueVol:function(){return N},region:function(){return k},restrictedTo:function(){return y},subText:function(){return x},summary:function(){return P},topLabels:function(){return w},topic:function(){return B},underline:function(){return C}});var a=t(6942),r=t.n(a),i=t(5588),o=t(6540),u=t(6278),c=t(38),m=t(4266),s=t(8035),d=t(265),p="TitleBlock-module--component--670cf",f="TitleBlock-module--contentCatagory--0c776",E="TitleBlock-module--contentType--33d80",b="TitleBlock-module--contentTypeWrapper--93715",v="TitleBlock-module--eventSeriesLink--a332c",g="TitleBlock-module--fade-pop--fab53",h="TitleBlock-module--flex--175c7",_="TitleBlock-module--grow-height-in--8d320",T="TitleBlock-module--image--17bcb",N="TitleBlock-module--issueVol--6deae",k="TitleBlock-module--region--bbe56",y="TitleBlock-module--restrictedTo--bfe5d",x="TitleBlock-module--subText--a8321",P="TitleBlock-module--summary--6f427",w="TitleBlock-module--topLabels--8d0ab",B="TitleBlock-module--topic--d0d5c",C="TitleBlock-module--underline--1f8b3";const A=({variant:e="article",summary:l,htmlSummary:t=!1,breadcrumb:a,className:f,authorText:v,authors:g,date:_,title:k,readTime:w,contentType:B,contentTypeUrl:A,volume:L,issue:j,subText:U,restrictedTo:O,closedProject:Q,url:$="",image:I})=>{const K=!!l&&["landing","topic","region","secondary-landing","publication","basic-page"].includes(e);
1return o.createElement("header",{className:r()(p,n[e],f)},a&&o.createElement(c.Y,{crumbs:a}),"landing"!==e&&o.createElement("hr",{className:r()(C,"hideOnPrint")}),o.createElement("div",{className:h},o.createElement("div",null,(B||L||j)&&o.createElement("div",{className:b},B&&o.createElement(s.U,{className:E,url:A},B),Q&&o.createElement("label",null,"Closed"),o.createElement("span",{className:N},L&&o.createElement("span",null,L),j&&o.createElement("span",null,j)),O&&o.createElement("span",{className:y},O)),"publication"===e&&O&&o.createElement("span",{className:y},O),o.createElement("h1",null,k),K&&!t?o.createElement("p",{className:P},l):K&&!!l&&o.createElement("div",{dangerouslySetInnerHTML:{__html:l}}),"series"===e&&l&&o.createElement(m.J,null,l),o.createElement(u.g5,{authors:g,authorText:v,readTime:w,date:_}),U&&o.createElement("p",{className:x},U)),o.createElement("div",null,I&&o.createElement(i.G,{image:I,className:r()(T,"hideOnPrint")}),$&&o.createElement(d.A,{title:k,variant:"normal",url:$}))))}},2114:function(e,l,t){t.r(l),t.d(l,{ExternalPublicationTemplate:function(){return b},default:function(){return v}});var n=t(6942),a=t.n(n),r=t(6540),i=t(545),o=t(14),u=t(5055),c=t(9643),m=t(5117),s=t(3014),d=t(2796),p=t(7746),f=t(265),E=t(9349);const b=({data:e,pageContext:l,location:{href:t}})=>{var n,b,v,g,h,_,T,N,k;const{node:y}=e,{field_primary_tag:x,field_focus:P,field_organisation:w,field_authored_date:B,machineDate:C,field_external_pub_descriptor:A,relationships:L}=null!=y?y:{},{field_content_type:j,field_external_publication:U}=L||{},O=null!==(n=null==U?void 0:U.name)&&void 0!==n?n:"",Q=null!==(b=null==w?void 0:w.uri)&&void 0!==b?b:"",$=null!==(v=null==w?void 0:w.title)&&void 0!==v?v:"",I=null==U||null===(g=U.relationships)||void 0===g||null===(h=g.field_external_publication_logo)||void 0===h||null===(_=h.relationships)||void 0===_||null===(T=_.field_media_image)||void 0===T||null===(N=T.childImageKitAsset)||void 0===N?void 0:N.fluid,K=(null==y?void 0:y.title)||"",M=l.breadcrumb.crumbs,S=(null==j?void 0:j.name)||"",G=(null==j||null===(k=j.path)||void 0===k?void 0:k.alias)||"",R=null==L?void 0:L.field_author,D=null==L?void 0:L.field_sections,F=(0,u.t)(L);return r.createElement(c.P,null,r.createElement(p.k,{title:K,description:P}),r.createElement("article",{className:"ExternalPublication-module--component--8d4f8"},r.createElement(E.A,{breadcrumb:M,contentType:S,contentTypeUrl:G,title:K,url:t,subText:`${null!=A?A:""} ${O}`,date:B}),r.createElement("hr",{className:"ExternalPublication-module--horizontalrule--599d2"}),r.createElement("div",{className:"ExternalPublication-module--layout--cf7c6"},r.createElement("div",{className:"ExternalPublication-module--body--86cc1"},x&&r.createElement("p",{className:"ExternalPublication-module--primaryTag--9380c"},x),P&&r.createElement(m.U,{text:P,hideQuoteMarks:!0}),D&&r.createElement(s.c,{className:"ExternalPublication-module--sections--24a42",data:D}),(!(null==F||!F.length)||!(null==R||!R.length))&&r.createElement("hr",{className:"ExternalPublication-module--shortHr--8bc1e"}),!(null==F||!F.length)&&r.createElement(r.Fragment,null,r.createElement(o.f,{className:"ExternalPublication-module--keywordTags--ec8e5",tagCategories:F})),!(null==R||!R.length)&&r.createElement("div",{className:"ExternalPublication-module--experts--8e855"},r.createElement("label",{className:"ExternalPublication-module--featuredExpertsTitle--a1267"},1===R.length?"Featured Expert":"Featured Experts"),R.map(e=>{var l,t,n,a,i,o,u,c,m,s,p;return r.createElement(d.w,{key:null==e?void 0:e.id,variant:"keyContact",url:null==e||null===(l=e.path)||void 0===l?void 0:l.alias,name:`${null!==(t=null==e?void 0:e.field_first_names)&&void 0!==t?t:""} ${null!==(n=null==e?void 0:e.title)&&void 0!==n?n:""}`,department:null!==(a=null==e||null===(i=e.relationships)||void 0===i||null===(o=i.field_department)||void 0===o||null===(u=o[0])||void 0===u?void 0:u.name)&&void 0!==a?a:"",title:null!==(c=null==e?void 0:e.field_position)&&void 0!==c?c:"",image:null==e||null===(m=e.relationships)||void 0===m||null===(s=m.field_user_picture)||void 0===s||null===(p=s.childImageKitAsset)||void 0===p?void 0:p.fluid})}))),r.createElement("div",{className:"ExternalPublication-module--padding--b7d15"}),r.createElement("div",{className:"ExternalPublication-module--sidebar--d55a4"},r.createElement("aside",null,A&&r.createElement("label",null,A),r.createElement(i.A,{name:O,url:Q,image:I,linkTitle:$,date:null!=B?B:"",machineDate:null!=C?C:""})))),r.createElement(f.A,{className:a()("ExternalPublication-module--desktopOnly--84aeb","ExternalPublication-module--social--166de"),variant:"block",url:t,title:K})))};var v=b}}]);
2//# sourceMappingURL=component---src-templates-external-publication-external-publication-tsx-378916c729fd255dcca2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.