PageSourceSearch

https://lukemorton.tech/_next/static/prD9qSV4L2vMxD3c7whZ8/pages/_app.js

js lukemorton.tech collected 2026-10-09 21:44:11 UTC 12,026 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{1:function(t,n,e){e("GcxT"),t.exports=e("nOHt")},"1OyB":function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}e.d(n,"a",(function(){return r}))},"9qh+":function(t,n,e){"use strict";e.d(n,"a",(function(){return s})),e.d(n,"b",(function(){return f}));var r=e("1OyB"),o=e("md7G"),c=e("foSv"),u=e("Ji7U"),i=e("kHIg");var a=function(t){Object(u.a)(e,t);var n=function(t){function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var e,r=Object(c.a)(t);if(n()){var u=Object(c.a)(this).constructor;e=Reflect.construct(r,arguments,u)}else e=r.apply(this,arguments);return Object(o.a)(this,e)}}(e);function e(t){var o;return Object(r.a)(this,e),(o=n.call(this)).name="NoTopicFoundBySlugError",o.message="Could not find topic by slug ".concat(t),o}return e}(Object(i.a)(Error));function s(t){return(0,t.allTopics)()}function f(t){var n=t.topicBySlug,e=t.slug,r=n(e);if(!r)throw new a(e);return r}},GcxT:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return e("IlR1")}])},HNtP:function(t,n,e){var r={"./dist/src/content/articles/archive.json":["4BGA",19],"./dist/src/content/articles/index.json":["oJpo",20],"./dist/src/content/articles/recent.json":["IMju",21],"./dist/src/content/articles/topics/clean-architecture.json":["cH/I",22],"./dist/src/content/articles/topics/covid-19.json":["kiEt",23],"./dist/src/content/articles/topics/rails.json":["6prp",24],"./dist/src/content/articles/topics/software-development-teams.json":["KCyC",25],"./dist/src/content/articles/topics/software-development-ways-of-working.json":["Azjn",26],"./dist/src/content/articles/topics/software-development.json":["c+l4",27],"./dist/src/content/articles/topics/trunk-based-development.json":["CTGS",28],"./manifest.json":["TZne",29]};function o(t){if(!e.o(r,t))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[t],o=n[0];return e.e(n[1]).then((function(){return e.t(o,3)}))}o.keys=function(){return Object.keys(r)},o.id="HNtP",t.exports=o},IlR1:function(t,n,e){"use strict";e.r(n);var r=e("q1tI"),o=e.n(r),c=e("wx14"),u={indexUrl:"/",aboutUrl:"/about",archiveUrl:"/articles",twitterUrl:"https://twitter.com/lukemorton",githubUrl:"https://github.com/lukemorton",avatarSrc:"https://s.gravatar.com/avatar/e7f62d126dec76b03e6d2393e44247ad?s=180",twitterHandle:"@LukeMorton"},i=e("1OyB");function a(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=e("o5TY"),f=e("9qh+"),l=e("o0o1"),p=e.n(l);function d(t){return p.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.a.awrap(e("HNtP")("./".concat(t,".json")));case 2:return n.abrupt("return",n.sent.default);case 3:case"end":return n.stop()}}),null,null,null,Promise)}function b(){return p.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",d("dist/src/content/articles/archive"));case 1:case"end":return t.stop()}}),null,null,null,Promise)}var y=e("Try8");function h(){return Object(s.a)({allThoughts:b})}function v(){return Object(f.a)({allTopics:y.a})}var g=function(){function t(){Object(i.a)(this,t)}var n,e,r;return n=t,(e=[{key:"getFetchAllThoughts",value:function(){return h}},{key:"getFetchAllTopics",value:function(){return v}}])&&a(n.prototype,e),r&&a(n,r),t}(),m=o.a.createElement,w=o.a.createElement;n.default=function(t){var n=t.Component,e=t.pageProps,r=function(t){var n=new g;return function(e){return m(t,Object(c.a)({},u,{container:n},e))}}(n);return w(r,e)}},Ji7U:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e("s4An");function o(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}
1),n&&Object(r.a)(t,n)}},Try8:function(t,n,e){"use strict";function r(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.description,o=e.guide;return{get name(){return t},get description(){return r||null},get guide(){return o||null},get slug(){return n},get path(){return"/dist/src/content/articles/topics/".concat(n,".json")}}}e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"d",(function(){return a}));var o=[r("Clean Architecture","clean-architecture",{guide:"software-development"}),r("Ruby on Rails","rails"),r("Trunk-based development","trunk-based-development"),r("COVID19","covid-19"),r("Software development","software-development",{guide:"software-development"}),r("Software development teams","software-development-teams",{guide:"software-development"}),r("Software development ways of working","software-development-ways-of-working",{guide:"software-development"})];function c(){return o}function u(t){return o.find((function(n){return n.name===t}))}function i(t){return o.find((function(n){return n.slug===t}))}function a(t){return!!i(t)}},foSv:function(t,n,e){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"a",(function(){return r}))},kHIg:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e("foSv"),o=e("s4An");function c(t,n,e){return(c=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var c=new(Function.bind.apply(t,r));return e&&Object(o.a)(c,e.prototype),c}).apply(null,arguments)}function u(t){var n="function"===typeof Map?new Map:void 0;return(u=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(t))return n.get(t);n.set(t,u)}function u(){return c(t,arguments,Object(r.a)(this).constructor)}return u.prototype=Object.create(t.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Object(o.a)(u,t)})(t)}},md7G:function(t,n,e){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function c(t,n){return!n||"object"!==o(n)&&"function"!==typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}e.d(n,"a",(function(){return c}))},o5TY:function(t,n,e){"use strict";e.d(n,"b",(function(){return O})),e.d(n,"c",(function(){return j})),e.d(n,"a",(function(){return x})),e.d(n,"d",(function(){return P})),e.d(n,"e",(function(){return S}));var r=e("o0o1"),o=e.n(r),c=e("rePB"),u=e("1OyB"),i=e("md7G"),a=e("foSv"),s=e("Ji7U"),f=e("kHIg");function l(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function p(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?l(Object(e),!0).forEach((function(n){Object(c.a)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function d(t){function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var e,r=Object(a.a)(t);if(n()){var o=Object(a.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(i.a)(this,e)}}var b=function(t){Object(s.a)(e,t);var n=d(e);function e(t){var r;return Object(u.a)(this,e),(r=n.call(this)).name="NoThoughtFoundBySlugError",r.message="Could not find thought by slug ".concat(t),r}return e}(Object(f.a)(Error)),y=function(t){Object(s.a)(e,t);var n=d(e);function e(t){var r;return Object(u.a)(this,e),(r=n.call(this)).name="NoThoughtsFoundByTopicNameError",r.message="Could not find thought by topic name ".concat(t),r}return e}(Object(f.a)(Error)),h=function(t){Object(s.a)(e,t);var n=d(e);function e(t){var r;return Object(u.a)(this,e),(r=n.call(this)).name="NoThoughtsFoundByTopicSlugError",r.message="Could not find thought by topic slug ".concat(t),r}return e}(Object(f.a)(Error)),v=function(t){return t.slice("0000-00-00-".length)},g=function(t){return p({},t,{slug:v(t.slug)})},m=function(t){return t.map(g)},w=function(t){return Object.keys(t).reduce(function(t){return function(n,e){return p({},n,Object(c.a)({},v(e),g(t[e])))}}(t),{})};function O(t){var n,e,r;return o.a.async((function(c){for(;;)switch(c.prev=c.next){case 0:return n=t.thoughtsIndex,e=t.slug,c.t0=w,c.next=4,o.a.awrap(n());case 4:if(c.t1=c.sent,(r=(0,c.t0)(c.t1))[e]){c.next=8;break}throw new b(e);case 8:return c.abrupt("return",r[e]);case 9:case"end":return c.stop()}}),null,null,null,Promise)}function j(t){var n;return o.a.async((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.recentThoughts,e.t0=m,e.next=4,o.a.awrap(n());case 4:if(e.t1=e.sent,e.t1){e.next=7;break}e.t1=[];case 7:return e.t2=e.t1,e.abrupt("return",(0,e.t0)(e.t2));case 9:case"end":return e.stop()}}),null,null,null,Promise)}function x(t){var n;return o.a.async((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.allThoughts,e.t0=m,e.next=4,o.a.awrap(n());case 4:if(e.t1=e.sent,e.t1){e.next=7;break}e.t1=[];case 7:return e.t2=e.t1,e.abrupt("return",(0,e.t0)(e.t2));case 9:case"end":return e.stop()}}),null,null,null,Promise)}function P(t){var n,e,r,c;return o.a.async((function(u){for(;;)switch(u.prev=u.next){case 0:if(n=t.thoughtsByTopicSlug,e=t.findTopicByName,r=t.name,c=e(r)){u.next=4;break}throw new y(r);case 4:return u.t0=m,u.next=7,o.a.awrap(n(c.slug));case 7:if(u.t1=u.sent,u.t1){u.next=10;break}u.t1=[];case 10:return u.t2=u.t1,u.abrupt("return",(0,u.t0)(u.t2));case 12:case"end":return u.stop()}}),null,null,null,Promise)}function S(t){var n,e,r;return o.a.async((function(c){for(;;)switch(c.prev=c.next){case 0:if(n=t.thoughtsByTopicSlug,e=t.topicSlugExists,r=t.slug,e(r)){c.next=3;break}throw new h(r);case 3:return c.t0=m,c.next=6,o.a.awrap(n(r));case 6:if(c.t1=c.sent,c.t1){c.next=9;break}c.t1=[];case 9:return c.t2=c.t1,c.abrupt("return",(0,c.t0)(c.t2));case 11:case"end":return c.stop()}}),null,null,null,Promise)}},rePB:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))},s4An:function(t,n,e){"use strict";function r(t,n){return(r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}e.d(n,"a",(function(){return r}))},wx14:function(t,n,e){"use strict";function r(){return(r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}e.d(n,"a",(function(){return r}))}},[[1,0,2,1]]]);

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.