1(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{408:function(t,e,n){"use strict";n(57),n(50),n(7),n(24),n(72),n(31),n(51),n(20),n(38);var i={name:"SectionStructure",components:{HeroStyle1:function(){return n.e(31).then(n.bind(null,527))},CommunityBlock:function(){return n.e(34).then(n.bind(null,528))},FiftyFiftyMedia:function(){return Promise.all([n.e(0),n.e(36)]).then(n.bind(null,529))},FullscreenGame:function(){return n.e(24).then(n.bind(null,516))},GameRow:function(){return n.e(16).then(n.bind(null,530))},NewsBlock:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,531))},TitleSideImage:function(){return n.e(42).then(n.bind(null,532))},TwoImagesCta:function(){return n.e(26).then(n.bind(null,517))},CareerList:function(){return Promise.all([n.e(0),n.e(33)]).then(n.bind(null,533))},PageHeader:function(){return n.e(39).then(n.bind(null,534))},FeaturedPost:function(){return Promise.all([n.e(0),n.e(28)]).then(n.bind(null,535))},NewsGrid:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,513))},MidPageHeader:function(){return n.e(38).then(n.bind(null,460))},EventsBlock:function(){return Promise.all([n.e(1),n.e(29)]).then(n.bind(null,514))},FullSizeMedia:function(){return n.e(19).then(n.bind(null,536))},LinkRow:function(){return n.e(17).then(n.bind(null,537))},HiringLocations:function(){return n.e(37).then(n.bind(null,538))},ImageContentList:function(){return Promise.all([n.e(1),n.e(30)]).then(n.bind(null,539))},GameHero:function(){return n.e(21).then(n.bind(null,540))},DualImageContent:function(){return n.e(35).then(n.bind(null,541))},GameList:function(){return n.e(15).then(n.bind(null,518))},QuoteList:function(){return n.e(25).then(n.bind(null,519))},Gallery:function(){return n.e(20).then(n.bind(null,542))},CardList:function(){return n.e(23).then(n.bind(null,520))},PostContent:function(){return Promise.all([n.e(0),n.e(40)]).then(n.bind(null,543))},PostImage:function(){return Promise.all([n.e(0),n.e(41)]).then(n.bind(null,544))},PostVideo:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,545))},BardsWheel:function(){return n.e(32).then(n.bind(null,546))}},props:{sections:{type:Array,default:function(){return[]}},news:{type:Object,default:function(){return{}}},gameTitle:{type:String,default:""}},data:function(){return{sectionsMounted:0,allowedNumerableSections:["CommunityBlock","FiftyFiftyMedia","FullscreenGame","GameRow","NewsBlock","TitleSideImage","TwoImagesCta","MidPageHeader","QuoteList","Gallery","CardList","MidPageHeader"]}},computed:{},mounted:function(){this.calculateNumber()},methods:{getSection:function(t){return t.substring(t.indexOf(".")+1)},calculateNumber:function(){var t=this,e=0;this.sections.forEach(function(n,i){var a=t.getNumber(n,i);a.decrementAmount>0&&(e+=a.decrementAmount),a=(a=a.number-e)<10?"/0".concat(a):"/".concat(a),n.number=a})},getNumber:function(t,e){var n=this.getSection(t.__component);return n=(n=n.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})).charAt(0).toUpperCase()+n.slice(1),this.allowedNumerableSections.includes(n)?{number:e+1,decrementAmount:0}:{number:e+1,decrementAmount:1}},handleSectionMounted:function(){this.sectionsMounted++,this.sectionsMounted===this.sections.length&&this.$store.dispatch("setSectionsMounted",!0)}}},a=i,r=n(2),o=Object(r.a)(a,function(){var t=this,e=t._self._c;return e("main",{staticClass:"sections",attrs:{id:"maincontent",role:"main"}},t._l(t.sections,function(n,i){return e(t.getSection(n.__component),{key:i,tag:"component",staticClass:"section",attrs:{"unique-key":i,section:n,news:t.news,"game-title":t.gameTitle},on:{mounted:t.handleSectionMounted}})}),1)},[],!1,null,null,null);e.a=o.exports},522:function(t,e,n){"use strict";n.r(e);var i=n(14),a=n(11),r=(n(56),n(22),n(55),n(21),n(23),n(7),n(31),n(38),n(408)),o=n(111),u={name:"NewsPage",components:{Sections:r.a},mixins:[o.a],asyncData:function(t){return Object(a.a)(regeneratorRuntime.mark(function e(){var n,a,r,o,u,s,c,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$api,a=t.error,r=null,o=null,e.prev=1,e.next=2,Promise.all([n.get("/api/pages/news"),n.get("/api/posts?populate=*&sort[0]=customDate:desc&pagination[pageSize]=100")]);case 2:if(u=e.sent,s=Object(i.a)(u,2),c=s[0],l=s[1],0!==c.data.length&&0!==Object.keys(c.data).length){e.next=3;break}return e.abrupt("return",a({statusCode:404,message:"Page not found"}));case 3:if(0!==l.data.length){e.next=4;break}return e.abrupt("return",a({statusCode:404,message:"News not found"}));case 4:c.data&&c.data.attributes&&(r=c.data.attributes,o=l.data),e.next=6;break;case 5:return e.prev=5,e.catch(1),e.abrupt("return",a({statusCode:404,message:"Page not found"}));case 6:return e.abrupt("return",{page:r,news:o});case 7:case"end":return e.stop()}},e,null,[[1,5]])}))()},head:function(){return{title:this.metaTitle,link:this.metaLinks,meta:this.metaData}
1},computed:{metaTitle:function(){return this.page?this.page.meta_data&&this.page.meta_data.title?this.page.meta_data.title:this.page.title:null},metaLinks:function(){return[{href:"".concat(this.$config.SITE_URL).concat(this.$route.path),rel:"canonical"},{href:"".concat(this.$config.SITE_URL).concat(this.$route.path),rel:"alternate",hreflang:"en-gb"}]},metaData:function(){var t=[{hid:"og:url",property:"og:url",content:"".concat(this.$config.SITE_URL).concat(this.$route.path)},{hid:"og:title",property:"og:title",content:this.metaTitle||"inXile entertainment"},{hid:"twitter:title",name:"twitter:title",content:this.metaTitle||"inXile entertainment"}];if(this.page&&this.page.meta_data&&(this.page.meta_data.author&&t.push({hid:"twitter:site",name:"twitter:site",content:this.page.meta_data.author},{hid:"twitter:creator",name:"twitter:creator",content:this.page.meta_data.author}),this.page.meta_data.description&&t.push({hid:"description",name:"description",content:this.page.meta_data.description},{hid:"og:description",property:"og:description",content:this.page.meta_data.description},{hid:"twitter:description",name:"twitter:description",content:this.page.meta_data.description}),this.page.meta_data.image&&this.page.meta_data.image.data)){var e=this.outputImage(this.page.meta_data.image.data[0].attributes,"medium");t.push({hid:"og:image",name:"image",property:"og:image",content:e},{hid:"twitter:image",name:"twitter:image",content:e})}return t}}},s=n(2),c=Object(s.a)(u,function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-default page page-news"},[t.page.sections?e("Sections",{attrs:{sections:t.page.sections,news:t.news}}):t._e()],1)},[],!1,null,null,null);e.default=c.exports}}]);
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.