1(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{243:function(t,e,n){var r=n(255),i=n(97),a=n(66),s=n(134),o=n(48),c=n(137),u=Object.getOwnPropertyDescriptor;e.f=n(21)?u:function(t,e){if(t=a(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(o(t,e))return i(!r.f.call(t,e),t[e])}},250:function(t,e,n){var r=n(13),i=n(44),a=n(61),s=n(251),o="["+s+"]",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(t,e,n){var i={},o=a(function(){return!!s[t]()||"âÂ
"!="âÂ
"[t]()}),c=i[t]=o?e(f):s[t];n&&(i[n]=c),r(r.P+r.F*o,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},251:function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},253:function(t,e,n){var r=n(16),i=n(254).set;t.exports=function(t,e,n){var a,s=e.constructor;return s!==n&&"function"==typeof s&&(a=s.prototype)!==n.prototype&&r(a)&&i&&i(t,a),t}},254:function(t,e,n){var r=n(16),i=n(15),a=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(29)(Function.call,n(243).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},255:function(t,e){e.f={}.propertyIsEnumerable},256:function(t,e,n){var r=n(138),i=n(98).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},302:function(t,e,n){"use strict";var r=n(13),i=n(135)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(136)("includes")},303:function(t,e,n){"use strict";var r=n(13),i=n(140);r(r.P+r.F*n(142)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},304:function(t,e,n){var r=n(13);r(r.S,"Array",{isArray:n(139)})},305:function(t,e,n){"use strict";var r=n(13),i=n(30),a=n(62),s=n(61),o=[].sort,c=[1,2,3];r(r.P+r.F*(s(function(){c.sort(void 0)})||!s(function(){c.sort(null)})||!n(47)(o)),"Array",{sort:function(t){return void 0===t?o.call(a(this)):o.call(a(this),i(t))}})},307:function(t,e,n){},382:function(t,e,n){"use strict";var r=n(6),i=n(48),a=n(22),s=n(253),o=n(134),c=n(61),u=n(256).f,l=n(243).f,f=n(28).f,g=n(250).trim,p=r.Number,h=p,d=p.prototype,v="Number"==a(n(143)(d)),P="trim"in String.prototype,_=function(t){var e=o(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,a=(e=P?e.trim():g(e,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if((s=c.charCodeAt(u))<48||s>i)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?c(function(){d.valueOf.call(n)}):"Number"!=a(n))?s(new h(_(e)),n,p):_(e)};for(var m,b=n(21)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),y=0;b.length>y;y++)i(h,m=b[y])&&!i(p,m)&&f(p,m,l(h,m));p.prototype=d,d.constructor=p,n(45)(r,"Number",p)}},383:function(t,e,n){"use strict";var r=n(307);n.n(r).a},414:function(t,e,n){"use strict";n.r(e);n(302),n(303),n(304),n(96),n(305),n(382);var r={name:"BlogPostList",props:{pages:{type:Array,default:[]},pageSize:{type:Number,default:5},startPage:{type:Number,default:0},newestFirst:{type:Boolean,default:!0}},data:function(){return{currentPage:Math.ceil(this.startPage/this.pageSize),selectedTags:[]}},computed:{filteredList:function(){var t=this;if(this.pages)return this.pages.filter(function(e){var n=!!e.frontmatter.blog,r=new Date(e.frontmatter.date)<=new Date,i=!!e.frontmatter.tags&&t.selectedTags.every(function(t){return e.frontmatter.tags.includes(t)});return!(!n||!r||t.selectedTags.length>0&&!i)}).sort(function(t,e){return new Date(e.frontmatter.date)-new Date(t.frontmatter.date)})},totalPages:function(){return Math.ceil(this.filteredList.length/this.pageSize)}},mounted:function(){this.currentPage=Math.min(Math.max(this.currentPage,0),this.totalPages-1)},methods:{nextPage:function(){this.currentPage=this.currentPage>=this.totalPages-1?this.totalPages-1:this.currentPage+1},previousPage:function(){this.currentPage=this.currentPage<0?0:this.currentPage-1},addTag:function(t){t in this.selectedTags||(this.selectedTags=this.selectedTags.concat(t))},removeTag:function(t){this.selectedTags.filter(function(e){return e!=t})},resetTags:function(){this.selectedTags=[]}}},i=(n(383),n(43)),a=Object(i.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.selectedTags.length>0?n("div",{staticClass:"filtered-heading"},[n("h2",[t._v("\n Filtered by "+t._s(t.selectedTags.join(","))+"\n ")]),t._v(" "),n("button",{staticClass:"btn clear-filter-btn",attrs:{type:"button"},on:{click:t.resetTags}},[t._v("\n Clear filter\n ")])]):t._e(),t._v(" "),n("ul",{staticClass:"blog-list"},t._l(t.filteredList,function(e,r){return n("li",{staticClass:"blog-list__item"},[n("BlogPostPreview",{directives:[{name:"show",rawName:"v-show",value:r>=t.currentPage*t.pageSize&&r<(t.currentPage+1)*t.pageSize,expression:"index >= currentPage * pageSize && index < (currentPage + 1) * pageSize"}],attrs:{item:e}})],1)}),0),t._v(" "),n("div",{staticClass:"pagination"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.currentPage>0,expression:"currentPage > 0"}],staticClass:"button--pagination",attrs:{type:"button"},on:{click:t.previousPage}},[t._v("\n Previous\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.currentPage<t.totalPages-1,expression:"currentPage < totalPages - 1"}],staticClass:"button--pagination",attrs:{type:"button"},on:{click:t.nextPage}},[t._v("\n Next\n ")])])])},[],!1,null,"2d1bf1d6",null);a.options.__file="BlogPostList.vue";e.default=a.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.