-
Notifications
You must be signed in to change notification settings - Fork 0
/
agents.js
196 lines (165 loc) · 43.3 KB
/
agents.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "../../node_modules/@final-hill/decorator-contracts/dist/index.js":
/*!************************************************************************!*\
!*** ../../node_modules/@final-hill/decorator-contracts/dist/index.js ***!
\************************************************************************/
/***/ (function(module) {
eval("/*! For license information please see index.js.LICENSE.txt */\n!function(e,t){if(true)module.exports=t();else { var s, r; }}(this,(()=>(()=>{\"use strict\";var e={731:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:!0});class r extends Error{constructor(e){super(e)}}t.default=r},822:function(e,t,r){var s,n=this&&this.__classPrivateFieldSet||function(e,t,r,s,n){if(\"m\"===s)throw new TypeError(\"Private method is not writable\");if(\"a\"===s&&!n)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"==typeof t?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===s?n.call(e,r):n?n.value=r:t.set(e,r),r},a=this&&this.__classPrivateFieldGet||function(e,t,r,s){if(\"a\"===r&&!s)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"==typeof t?e!==t||!s:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===r?s:\"a\"===r?s.call(e):s?s.value:t.get(e)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.invariant=t.extend=t.checkedMode=t.Contract=void 0;const o=r(915),i=Symbol(\"checkedMode\"),c=Symbol(\"invariant\"),u=Symbol(\"extend\");t.checkedMode=i,t.invariant=c,t.extend=u;class l{constructor(e=Object.create(null)){var t,r;s.set(this,void 0),this.assertions=Object.create(null),this[u]=e[u],this[i]=null===(t=e[i])||void 0===t||t,n(this,s,null!==(r=e[c])&&void 0!==r?r:o.fnTrue,\"f\"),Object.keys(e).forEach((t=>{var r,s;const n=e[t];Object.defineProperty(this.assertions,t,{value:{demands:null!==(r=n.demands)&&void 0!==r?r:o.fnTrue,ensures:null!==(s=n.ensures)&&void 0!==s?s:o.fnTrue,rescue:n.rescue,within:n.within}})})),(0,o.deepFreeze)(this.assertions)}get[(s=new WeakMap,c)](){return a(this,s,\"f\")}}t.Contract=l},879:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:!0}),t.innerContract=t.isContracted=void 0;const s=r(915),n=r(607),a=r(860),o=Symbol(\"isContracted\"),i=Symbol(\"innerContract\");t.isContracted=o,t.innerContract=i,t.default=function(e=new n.Contract){return function(t){var r;if((0,n.assert)(!Object.getOwnPropertySymbols(t).includes(o),a.MSG_SINGLE_CONTRACT),!1===e[n.checkedMode])return t;const c=t[i];(0,n.assert)(!c||c&&e[n.extend]instanceof c.constructor,a.MSG_BAD_SUBCONTRACT);class u extends t{constructor(...e){super(...e);const r=this.constructor,o=s.CLASS_REGISTRY.getOrCreate(r);var c;if((0,n.assert)((c=o,this,!Object.entries(Object.getOwnPropertyDescriptors(this)).some((([e,t])=>new s.Feature(c,e,t).isProperty))),a.MSG_NO_PROPERTIES),!o.contractsChecked){let e=o.ancestry().reverse();[...e,o].forEach((e=>{e.contractsChecked||(e.checkOverrides(),e.contractsChecked=!0)})),e=(0,s.takeWhile)(e.reverse(),(e=>e.Class!==t)),[o,...e,s.CLASS_REGISTRY.get(t)].forEach((e=>{e.bindContract(u[i])}))}return(0,s.assertInvariants)(this,u[i]),this}static get[(r=o,i)](){return e}get[i](){return e}}return u[r]=!0,s.CLASS_REGISTRY.getOrCreate(u).contractsChecked=!1,Object.freeze(t),u}}},860:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:!0}),t.MSG_BAD_SUBCONTRACT=t.MSG_INVALID_CONTEXT=t.MSG_SINGLE_RETRY=t.MSG_SINGLE_CONTRACT=t.MSG_MISSING_FEATURE=t.MSG_NOT_CONTRACTED=t.MSG_NO_PROPERTIES=t.MSG_DUPLICATE_OVERRIDE=t.MSG_NO_MATCHING_FEATURE=t.MSG_NO_STATIC=t.MSG_INVALID_ARG_LENGTH=t.ASSERTION_FAILED=void 0,t.ASSERTION_FAILED=\"Assertion failure\",t.MSG_INVALID_ARG_LENGTH=\"An overridden method must have the same number of parameters as its ancestor method\",t.MSG_NO_STATIC=\"Only instance members can be decorated, not static members\",t.MSG_NO_MATCHING_FEATURE=\"This feature does not override an ancestor feature.\",t.MSG_DUPLICATE_OVERRIDE=\"Only a single @override decorator can be assigned to a class member\",t.MSG_NO_PROPERTIES=\"Public properties are forbidden\",t.MSG_NOT_CONTRACTED=\"The current class or one of its ancestors must declare @Contracted(...)\",t.MSG_MISSING_FEATURE=\"The requested feature is not registered\",t.MSG_SINGLE_CONTRACT=\"Only a single @Contracted decorator is allowed per class\",t.MSG_SINGLE_RETRY=\"retry can only be called once\",t.MSG_INVALID_CONTEXT=\"A contracted feature can not be applied to objects of a different base class\",t.MSG_BAD_SUBCONTRACT=\"A sub contract must extend a base contract\"},797:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const n=s(r(731)),a=r(860);t.default=function(e,t=a.ASSERTION_FAILED,r=n.default){if(0==Boolean(e))throw new r(t)}},606:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){return!e||t}},607:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){void 0===s&&(s=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!(\"get\"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,s,n)}:function(e,t,r,s){void 0===s&&(s=r),e[s]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)\"default\"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&s(t,e,r);return n(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.checkedMode=t.invariant=t.extend=t.Contract=t.assert=t.override=t.innerContract=t.implies=t.Contracted=t.AssertionError=void 0;const i=o(r(731));t.AssertionError=i.default;const c=a(r(879));t.Contracted=c.default,Object.defineProperty(t,\"innerContract\",{enumerable:!0,get:function(){return c.innerContract}});const u=o(r(47));t.override=u.default;const l=o(r(797));t.assert=l.default;const d=o(r(606));t.implies=d.default;var f=r(822);Object.defineProperty(t,\"Contract\",{enumerable:!0,get:function(){return f.Contract}}),Object.defineProperty(t,\"extend\",{enumerable:!0,get:function(){return f.extend}}),Object.defineProperty(t,\"invariant\",{enumerable:!0,get:function(){return f.invariant}}),Object.defineProperty(t,\"checkedMode\",{enumerable:!0,get:function(){return f.checkedMode}})},932:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(915);class n extends WeakMap{getOrCreate(e){return this.has(e)||this.set(e,new s.ClassRegistration(e)),this.get(e)}}const a=new n;t.default=a},359:function(e,t,r){var s,n=this&&this.__classPrivateFieldSet||function(e,t,r,s,n){if(\"m\"===s)throw new TypeError(\"Private method is not writable\");if(\"a\"===s&&!n)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"==typeof t?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===s?n.call(e,r):n?n.value=r:t.set(e,r),r},a=this&&this.__classPrivateFieldGet||function(e,t,r,s){if(\"a\"===r&&!s)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"==typeof t?e!==t||!s:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===r?s:\"a\"===r?s.call(e):s?s.value:t.get(e)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const i=r(860),c=r(607),u=r(915),l=o(r(318));function d(e,t,r){return function s(...n){var a,o;const{Class:d}=r;(0,c.assert)(this instanceof d,i.MSG_INVALID_CONTEXT);const f=Reflect.get(this,c.innerContract),h=d.name;if(!f[c.checkedMode])return t.apply(this,n);let _;(0,u.assertInvariants)(this,f),(0,u.assertDemands)(this,f,h,e,n);try{const s=Object.create(null);(0,u.unChecked)(f,(()=>{r.features.forEach((({name:e,hasGetter:t})=>{t&&Object.defineProperty(s,e,{value:this[e]})}))}));const o=null===(a=Reflect.get(f.assertions,e))||void 0===a?void 0:a.within,i=Date.now();_=t.apply(this,n);const d=Date.now();o&&(0,c.assert)(d-i<o,`Timing constraint violated. Constraint: ${o}ms, actual: ${d-i}ms`),(0,l.default)(this,f,h,e,s,n)}catch(t){const r=null===(o=Reflect.get(f.assertions,e))||void 0===o?void 0:o.rescue;if(null==r)throw(0,u.assertInvariants)(this,f),t;let n=!1;if((0,u.unChecked)(f,(()=>{r.call(this,this,t,[],((...e)=>{(0,c.assert)(!n,i.MSG_SINGLE_RETRY),n=!0,f[c.checkedMode]=!0,_=s.call(this,...e)}))})),!n)throw(0,u.assertInvariants)(this,f),t}return(0,u.assertInvariants)(this,f),_}}s=new WeakMap,t.default=class{constructor(e){this.Class=e,s.set(this,void 0),this.contractsChecked=!1;const t=this.Class.prototype;n(this,s,Reflect.ownKeys(t).filter((e=>\"constructor\"!=e&&e!==c.innerContract)).map((e=>new u.Feature(this,e,Object.getOwnPropertyDescriptor(t,e)))),\"f\")}get features(){return[...a(this,s,\"f\")]}get ParentClass(){var e;return null===(e=Object.getPrototypeOf(this.Class.prototype))||void 0===e?void 0:e.constructor}get parentRegistration(){return null==this.ParentClass?null:u.CLASS_REGISTRY.getOrCreate(this.ParentClass)}ancestry(){if(null==this.ParentClass)return[];{const e=u.CLASS_REGISTRY.getOrCreate(this.ParentClass);return[e,...e.ancestry()]}}ancestryFeatures(){return this.ancestry().flatMap((({features:e})=>e))}bindContract(e){if(this.contract=e,!e[c.checkedMode])return;const t=this.Class.prototype;this.features.forEach((e=>{const{name:r,hasGetter:s,hasSetter:n,isMethod:a}=e;Object.defineProperty(t,r,Object.assign(Object.assign(Object.assign({enumerable:!0},s?{get:d(r,e.getter,this)}:{}),n?{set:d(r,e.setter,this)}:{}),a?{value:d(r,e.value,this)}:{})),e.descriptor=Object.getOwnPropertyDescriptor(t,r)}))}checkOverrides(){const e=new Set(this.ancestryFeatures().map((({name:e})=>e)));this.features.forEach((({name:t,hasOverrides:r})=>{const s=`${this.Class.name}.prototype.${String(t)}`;(0,c.assert)(!r||e.has(t),`Unnecessary @override declaration on ${s}`),(0,c.assert)(r||!e.has(t),`@override decorator missing on ${s}`)}))}findFeature(e){var t,r;return null!==(t=this.features.find((({name:t})=>t===e)))&&void 0!==t?t:null===(r=this.parentRegistration)||void 0===r?void 0:r.findFeature(e)}}},950:function(e,t){var r,s,n=this&&this.__classPrivateFieldSet||function(e,t,r,s,n){if(\"m\"===s)throw new TypeError(\"Private method is not writable\");if(\"a\"===s&&!n)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"==typeof t?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===s?n.call(e,r):n?n.value=r:t.set(e,r),r},a=this&&this.__classPrivateFieldGet||function(e,t,r,s){if(\"a\"===r&&!s)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"==typeof t?e!==t||!s:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===r?s:\"a\"===r?s.call(e):s?s.value:t.get(e)};Object.defineProperty(t,\"__esModule\",{value:!0}),r=new WeakMap,s=new WeakMap,t.default=class{constructor(e,t,a){this.classRegistration=e,this.name=t,r.set(this,void 0),s.set(this,void 0),this.hasOverrides=!1,n(this,r,a,\"f\")}get ancestorFeature(){return this.classRegistration.ancestryFeatures().filter((e=>e.name===this.name))[0]}get getter(){return a(this,r,\"f\").get}get hasGetter(){return this.isAccessor&&null!=a(this,r,\"f\").get}get hasSetter(){return this.isAccessor&&null!=a(this,r,\"f\").set}get isProperty(){return\"function\"!=typeof a(this,r,\"f\").value&&void 0!==a(this,r,\"f\").value}get isMethod(){return\"function\"==typeof a(this,r,\"f\").value}get isAccessor(){return void 0===a(this,r,\"f\").value}get memberType(){return this.isMethod?\"method\":this.isProperty?\"property\":\"accessor\"}get setter(){return a(this,r,\"f\").set}get value(){return a(this,r,\"f\").value}get overriddenOriginalDescriptor(){return a(this,s,\"f\")}set overriddenOriginalDescriptor(e){n(this,s,e,\"f\")}get descriptor(){return a(this,r,\"f\")}set descriptor(e){n(this,r,e,\"f\")}}},357:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const n=r(822),a=r(607),o=s(r(71));t.default=function e(t,r,s,i,c){var u;let l=!0;const d=null===(u=Reflect.get(r.assertions,i))||void 0===u?void 0:u.demands,f=`demands not met on ${s}.prototype.${String(i)}\\r\\n${d}`;r[a.checkedMode]&&d&&(0,o.default)(r,(()=>l=d.call(t,t,...c))),r[n.extend]&&!l?e(t,r[n.extend],s,i,c):(0,a.assert)(l,f)}},318:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const n=r(822),a=r(607),o=s(r(71));t.default=function e(t,r,s,i,c,u){var l;const d=null===(l=Reflect.get(r.assertions,i))||void 0===l?void 0:l.ensures,f=`ensures not met on ${s}.prototype.${String(i)}\\r\\n${d}`;r[a.checkedMode]&&d&&(0,o.default)(r,(()=>(0,a.assert)(d.call(t,t,c,...u),f))),r[n.extend]&&e(t,r[n.extend],s,i,c,u)}},732:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(915),n=r(607);t.default=function e(t,r){r[n.checkedMode]&&(0,s.unChecked)(r,(()=>{const e=r[n.invariant];(0,n.assert)(e.call(t,t),`Invariant violated. ${e.toString()}`)})),r[n.extend]&&e(t,r[n.extend])}},963:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function e(t){for(const[,r]of Object.entries(t))null!=r&&\"object\"==typeof r&&e(r);Object.freeze(t)}},915:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.unChecked=t.takeWhile=t.fnTrue=t.Feature=t.deepFreeze=t.ClassRegistration=t.CLASS_REGISTRY=t.assertInvariants=t.assertEnsures=t.assertDemands=void 0;const n=s(r(357));t.assertDemands=n.default;const a=s(r(318));t.assertEnsures=a.default;const o=s(r(732));t.assertInvariants=o.default;const i=s(r(932));t.CLASS_REGISTRY=i.default;const c=s(r(359));t.ClassRegistration=c.default;const u=s(r(963));t.deepFreeze=u.default;const l=s(r(950));t.Feature=l.default;const d=s(r(638));t.takeWhile=d.default;const f=s(r(71));t.unChecked=f.default,t.fnTrue=()=>!0},638:(e,t)=>{function r(e,t){return e.length&&t(e[0])?[e[0],...r(e.slice(1),t)]:[]}Object.defineProperty(t,\"__esModule\",{value:!0}),t.takeWhile=void 0,t.takeWhile=r,t.default=r},71:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(607);t.default=(e,t)=>{try{e[s.checkedMode]=!1,t()}finally{e[s.checkedMode]=!0}}},47:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(607),n=r(860),a=r(915),o=r(879);t.default=function(e,t,r){const i=e.constructor,c=\"function\"==typeof e;(0,s.assert)(!c,n.MSG_NO_STATIC,TypeError);const u=a.CLASS_REGISTRY.getOrCreate(i),l=u.findFeature(t);(0,s.assert)(null!=l,`${n.MSG_MISSING_FEATURE}: ${u.Class.name}.prototype.${String(t)}`);const d=l.ancestorFeature;if((0,s.assert)(null!=d&&l.memberType===d.memberType,`${n.MSG_NO_MATCHING_FEATURE} '${u.Class.name}.prototype.${String(t)}'`),(0,s.assert)(!l.hasOverrides,n.MSG_DUPLICATE_OVERRIDE),l.hasOverrides=!0,l.isMethod){const e=l.value,t=d.value;(0,s.assert)(e.length==t.length,n.MSG_INVALID_ARG_LENGTH)}return l.overriddenOriginalDescriptor=r,Object.assign(Object.assign(Object.assign(Object.assign({enumerable:!0,configurable:!0},l.isAccessor?{}:{writable:!0}),l.hasGetter?{get(){(0,s.assert)(this.constructor[o.isContracted],n.MSG_NOT_CONTRACTED)}}:{}),l.hasSetter?{set(e){(0,s.assert)(this.constructor[o.isContracted],n.MSG_NOT_CONTRACTED)}}:{}),l.isMethod?{value(){(0,s.assert)(this.constructor[o.isContracted],n.MSG_NOT_CONTRACTED)}}:{})}}},t={};return function r(s){var n=t[s];if(void 0!==n)return n.exports;var a=t[s]={exports:{}};return e[s].call(a.exports,a,a.exports,r),a.exports}(607)})()));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@final-hill/agency/../../node_modules/@final-hill/decorator-contracts/dist/index.js?");
/***/ }),
/***/ "./src/agent/Agent.ts":
/*!****************************!*\
!*** ./src/agent/Agent.ts ***!
\****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Agent\": () => (/* binding */ Agent),\n/* harmony export */ \"agentContract\": () => (/* binding */ agentContract)\n/* harmony export */ });\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @final-hill/decorator-contracts */ \"../../node_modules/@final-hill/decorator-contracts/dist/index.js\");\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__);\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _Agent_model, _Agent_parent, _Agent_view;\n\n// Enable NewtonScript style Comb Inheritance through the parent property\nconst combInheritance = {\n get(target, propertyKey, receiver) {\n if (Reflect.has(target, propertyKey))\n return Reflect.get(target, propertyKey, receiver);\n else if (target.parent && Reflect.has(target.parent, propertyKey))\n return Reflect.get(target.parent, propertyKey, target.parent);\n else\n throw new Error(`No such property: ${String(propertyKey)}`);\n }\n};\nconst agentContract = new _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contract({\n getParent: {\n demands(self) { return self.isAttached(); }\n },\n remove: {\n demands(self) { return self.isAttached() && self.getParent().hasChild(self); },\n ensures(self) { return !self.isAttached(); }\n },\n setParent: {\n demands(self) { return !self.isAttached(); },\n ensures(self) { return self.isAttached() && self.getParent().hasChild(self); }\n }\n});\n/**\n * @see <https://en.wikipedia.org/wiki/Adapter_pattern>\n * @see <https://en.wikipedia.org/wiki/Mediator_pattern>\n */\nlet Agent = class Agent {\n constructor() {\n _Agent_model.set(this, void 0);\n _Agent_parent.set(this, void 0);\n _Agent_view.set(this, void 0);\n return new Proxy(this, combInheritance);\n }\n getParent() {\n return __classPrivateFieldGet(this, _Agent_parent, \"f\");\n }\n setParent(parent) {\n __classPrivateFieldSet(this, _Agent_parent, parent, \"f\");\n }\n hasModel() { return __classPrivateFieldGet(this, _Agent_model, \"f\") !== undefined; }\n hasView() { return __classPrivateFieldGet(this, _Agent_view, \"f\") !== undefined; }\n isAttached() {\n return __classPrivateFieldGet(this, _Agent_parent, \"f\") !== undefined;\n }\n remove() {\n __classPrivateFieldGet(this, _Agent_parent, \"f\").removeChild(this);\n }\n};\n_Agent_model = new WeakMap(), _Agent_parent = new WeakMap(), _Agent_view = new WeakMap();\nAgent = __decorate([\n (0,_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contracted)(agentContract)\n], Agent);\n\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agent/Agent.ts?");
/***/ }),
/***/ "./src/agent/View.ts":
/*!***************************!*\
!*** ./src/agent/View.ts ***!
\***************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"View\": () => (/* binding */ View),\n/* harmony export */ \"viewContract\": () => (/* binding */ viewContract)\n/* harmony export */ });\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @final-hill/decorator-contracts */ \"../../node_modules/@final-hill/decorator-contracts/dist/index.js\");\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__);\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\nconst viewContract = new _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contract({});\nlet View = class View {\n};\nView = __decorate([\n (0,_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contracted)(viewContract)\n], View);\n\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agent/View.ts?");
/***/ }),
/***/ "./src/agents/application/Application.ts":
/*!***********************************************!*\
!*** ./src/agents/application/Application.ts ***!
\***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Application\": () => (/* binding */ Application)\n/* harmony export */ });\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @final-hill/decorator-contracts */ \"../../node_modules/@final-hill/decorator-contracts/dist/index.js\");\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _container_Container__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../container/Container */ \"./src/agents/container/Container.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _Application_title;\n\n\nconst applicationContract = new _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contract({\n [_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.extend]: _container_Container__WEBPACK_IMPORTED_MODULE_1__.containerContract\n});\nlet Application = class Application extends _container_Container__WEBPACK_IMPORTED_MODULE_1__.Container {\n constructor(options) {\n super(options);\n _Application_title.set(this, void 0);\n this.setTitle(options.title ?? '{Untitled}');\n }\n getTitle() {\n return __classPrivateFieldGet(this, _Application_title, \"f\");\n }\n setTitle(value) {\n __classPrivateFieldSet(this, _Application_title, value, \"f\");\n }\n render() {\n document.title = __classPrivateFieldGet(this, _Application_title, \"f\");\n }\n};\n_Application_title = new WeakMap();\nApplication = __decorate([\n (0,_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contracted)(applicationContract)\n], Application);\n\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/application/Application.ts?");
/***/ }),
/***/ "./src/agents/application/ApplicationView.ts":
/*!***************************************************!*\
!*** ./src/agents/application/ApplicationView.ts ***!
\***************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ApplicationView\": () => (/* binding */ ApplicationView)\n/* harmony export */ });\n/* harmony import */ var _container_ContainerView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../container/ContainerView */ \"./src/agents/container/ContainerView.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\n\nclass ApplicationView extends _container_ContainerView__WEBPACK_IMPORTED_MODULE_0__.ContainerView {\n getElRoot() {\n return document.documentElement;\n }\n}\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/application/ApplicationView.ts?");
/***/ }),
/***/ "./src/agents/container/Container.ts":
/*!*******************************************!*\
!*** ./src/agents/container/Container.ts ***!
\*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Container\": () => (/* binding */ Container),\n/* harmony export */ \"containerContract\": () => (/* binding */ containerContract)\n/* harmony export */ });\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @final-hill/decorator-contracts */ \"../../node_modules/@final-hill/decorator-contracts/dist/index.js\");\n/* harmony import */ var _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _agent_Agent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../agent/Agent */ \"./src/agent/Agent.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Container_children;\n\n\nconst containerContract = new _final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contract({\n [_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.extend]: _agent_Agent__WEBPACK_IMPORTED_MODULE_1__.agentContract,\n appendChild: {\n demands(_self, child) {\n return !child.isAttached();\n },\n ensures(self, _old, child) {\n return child.isAttached() && self.hasChild(child);\n }\n },\n removeChild: {\n demands(self, child) {\n return child.isAttached() && self.hasChild(child);\n },\n ensures(self, _old, child) {\n return !child.isAttached() && !self.hasChild(child);\n }\n }\n});\nlet Container = class Container extends _agent_Agent__WEBPACK_IMPORTED_MODULE_1__.Agent {\n constructor(options = {}) {\n super();\n _Container_children.set(this, []);\n if (options.children)\n this.appendChildren(options.children);\n }\n appendChild(child) {\n __classPrivateFieldGet(this, _Container_children, \"f\").push(child);\n if (this.hasView()) {\n // TODO\n // this.view.appendChild(child.getView())\n }\n child.setParent(this);\n }\n appendChildren(children) {\n children.forEach(child => this.appendChild(child));\n }\n getChildren() {\n return [...__classPrivateFieldGet(this, _Container_children, \"f\")];\n }\n hasChild(agent) {\n return __classPrivateFieldGet(this, _Container_children, \"f\").includes(agent);\n }\n removeChild(child) {\n // TODO\n }\n};\n_Container_children = new WeakMap();\nContainer = __decorate([\n (0,_final_hill_decorator_contracts__WEBPACK_IMPORTED_MODULE_0__.Contracted)(containerContract)\n], Container);\n\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/container/Container.ts?");
/***/ }),
/***/ "./src/agents/container/ContainerView.ts":
/*!***********************************************!*\
!*** ./src/agents/container/ContainerView.ts ***!
\***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ContainerView\": () => (/* binding */ ContainerView)\n/* harmony export */ });\n/* harmony import */ var _agent_View__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../agent/View */ \"./src/agent/View.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\n\nclass ContainerView extends _agent_View__WEBPACK_IMPORTED_MODULE_0__.View {\n}\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/container/ContainerView.ts?");
/***/ }),
/***/ "./src/agents/index.ts":
/*!*****************************!*\
!*** ./src/agents/index.ts ***!
\*****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Application\": () => (/* reexport safe */ _application_Application__WEBPACK_IMPORTED_MODULE_1__.Application),\n/* harmony export */ \"ApplicationView\": () => (/* reexport safe */ _application_ApplicationView__WEBPACK_IMPORTED_MODULE_0__.ApplicationView),\n/* harmony export */ \"Container\": () => (/* reexport safe */ _container_Container__WEBPACK_IMPORTED_MODULE_2__.Container),\n/* harmony export */ \"ContainerView\": () => (/* reexport safe */ _container_ContainerView__WEBPACK_IMPORTED_MODULE_3__.ContainerView),\n/* harmony export */ \"Text\": () => (/* reexport safe */ _text_Text__WEBPACK_IMPORTED_MODULE_4__.Text),\n/* harmony export */ \"TextView\": () => (/* reexport safe */ _text_TextView__WEBPACK_IMPORTED_MODULE_5__.TextView)\n/* harmony export */ });\n/* harmony import */ var _application_ApplicationView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./application/ApplicationView */ \"./src/agents/application/ApplicationView.ts\");\n/* harmony import */ var _application_Application__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./application/Application */ \"./src/agents/application/Application.ts\");\n/* harmony import */ var _container_Container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./container/Container */ \"./src/agents/container/Container.ts\");\n/* harmony import */ var _container_ContainerView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./container/ContainerView */ \"./src/agents/container/ContainerView.ts\");\n/* harmony import */ var _text_Text__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./text/Text */ \"./src/agents/text/Text.ts\");\n/* harmony import */ var _text_TextView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./text/TextView */ \"./src/agents/text/TextView.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/index.ts?");
/***/ }),
/***/ "./src/agents/text/Text.ts":
/*!*********************************!*\
!*** ./src/agents/text/Text.ts ***!
\*********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Text\": () => (/* binding */ Text)\n/* harmony export */ });\n/* harmony import */ var _agent_Agent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../agent/Agent */ \"./src/agent/Agent.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _Text_text;\n\nclass Text extends _agent_Agent__WEBPACK_IMPORTED_MODULE_0__.Agent {\n constructor({ text }) {\n super();\n _Text_text.set(this, '');\n this.setText(text);\n }\n getText() {\n return __classPrivateFieldGet(this, _Text_text, \"f\");\n }\n setText(text) {\n __classPrivateFieldSet(this, _Text_text, text, \"f\");\n }\n}\n_Text_text = new WeakMap();\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/text/Text.ts?");
/***/ }),
/***/ "./src/agents/text/TextView.ts":
/*!*************************************!*\
!*** ./src/agents/text/TextView.ts ***!
\*************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"TextView\": () => (/* binding */ TextView)\n/* harmony export */ });\n/* harmony import */ var _agent_View__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../agent/View */ \"./src/agent/View.ts\");\n/*!\n * @license\n * Copyright (C) 2022 Final Hill LLC\n * SPDX-License-Identifier: AGPL-3.0-only\n * @see <https://spdx.org/licenses/AGPL-3.0-only.html>\n */\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _TextView_elRoot;\n\nclass TextView extends _agent_View__WEBPACK_IMPORTED_MODULE_0__.View {\n constructor() {\n super(...arguments);\n _TextView_elRoot.set(this, document.createElement('span'));\n }\n getElRoot() {\n return __classPrivateFieldGet(this, _TextView_elRoot, \"f\");\n }\n}\n_TextView_elRoot = new WeakMap();\n\n\n//# sourceURL=webpack://@final-hill/agency/./src/agents/text/TextView.ts?");
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ () => (module);
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ var __webpack_exports__ = __webpack_require__("./src/agents/index.ts");
/******/
/******/ })()
;