@webiny/handler 5.30.0 → 5.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Context.d.ts +13 -0
- package/Context.js +29 -0
- package/Context.js.map +1 -0
- package/README.md +8 -2
- package/fastify.d.ts +8 -0
- package/fastify.js +312 -0
- package/fastify.js.map +1 -0
- package/index.d.ts +6 -5
- package/index.js +43 -36
- package/index.js.map +1 -1
- package/middleware.d.ts +1 -2
- package/middleware.js +3 -3
- package/middleware.js.map +1 -1
- package/package.json +18 -11
- package/plugins/BeforeHandlerPlugin.d.ts +1 -0
- package/plugins/BeforeHandlerPlugin.js +8 -2
- package/plugins/BeforeHandlerPlugin.js.map +1 -1
- package/plugins/EventPlugin.d.ts +25 -0
- package/plugins/EventPlugin.js +38 -0
- package/plugins/EventPlugin.js.map +1 -0
- package/plugins/HandlerErrorPlugin.d.ts +1 -0
- package/plugins/HandlerErrorPlugin.js +8 -2
- package/plugins/HandlerErrorPlugin.js.map +1 -1
- package/plugins/HandlerResultPlugin.d.ts +1 -0
- package/plugins/HandlerResultPlugin.js +8 -2
- package/plugins/HandlerResultPlugin.js.map +1 -1
- package/plugins/RoutePlugin.d.ts +23 -0
- package/plugins/RoutePlugin.js +30 -0
- package/plugins/RoutePlugin.js.map +1 -0
- package/types.d.ts +38 -71
- package/types.js +15 -1
- package/types.js.map +1 -1
- package/createHandler.d.ts +0 -3
- package/createHandler.js +0 -105
- package/createHandler.js.map +0 -1
- package/plugins/Context.d.ts +0 -20
- package/plugins/Context.js +0 -151
- package/plugins/Context.js.map +0 -1
- package/plugins/ContextPlugin.d.ts +0 -11
- package/plugins/ContextPlugin.js +0 -32
- package/plugins/ContextPlugin.js.map +0 -1
- package/plugins/HandlerPlugin.d.ts +0 -11
- package/plugins/HandlerPlugin.js +0 -28
- package/plugins/HandlerPlugin.js.map +0 -1
package/plugins/Context.js
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.Context = void 0;
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _plugins = require("@webiny/plugins");
|
|
13
|
-
|
|
14
|
-
class Context {
|
|
15
|
-
constructor(params) {
|
|
16
|
-
(0, _defineProperty2.default)(this, "_result", void 0);
|
|
17
|
-
(0, _defineProperty2.default)(this, "plugins", void 0);
|
|
18
|
-
(0, _defineProperty2.default)(this, "args", void 0);
|
|
19
|
-
(0, _defineProperty2.default)(this, "WEBINY_VERSION", void 0);
|
|
20
|
-
(0, _defineProperty2.default)(this, "waiters", []);
|
|
21
|
-
const {
|
|
22
|
-
plugins,
|
|
23
|
-
args,
|
|
24
|
-
WEBINY_VERSION
|
|
25
|
-
} = params;
|
|
26
|
-
this.plugins = new _plugins.PluginsContainer(plugins || []);
|
|
27
|
-
this.args = args || [];
|
|
28
|
-
this.WEBINY_VERSION = WEBINY_VERSION;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
getResult() {
|
|
32
|
-
return this._result;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
hasResult() {
|
|
36
|
-
return !!this._result;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
setResult(value) {
|
|
40
|
-
this._result = value;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
waitFor(obj, cb) {
|
|
44
|
-
const initialTargets = Array.isArray(obj) ? obj : [obj];
|
|
45
|
-
const targets = [];
|
|
46
|
-
/**
|
|
47
|
-
* We go only through the first level properties
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
|
-
for (const key in initialTargets) {
|
|
51
|
-
const target = initialTargets[key];
|
|
52
|
-
/**
|
|
53
|
-
* If property already exists, there is no need to wait for it, so we just continue the loop.
|
|
54
|
-
* Also, if target is not a string, skip this property as it will fail to convert properly during the runtime.
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
if (this[target]) {
|
|
58
|
-
continue;
|
|
59
|
-
} else if (typeof target !== "string") {
|
|
60
|
-
continue;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Since there is no property, we must define it with its setter and getter.
|
|
64
|
-
* We could not know when it got defined otherwise.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Object.defineProperty(this, target, {
|
|
69
|
-
/**
|
|
70
|
-
* Setter sets the given value to this object.
|
|
71
|
-
* We cannot set it on exact property name it is defined because it would go into loop of setting itself.
|
|
72
|
-
* And that is why we add __ around the property name.
|
|
73
|
-
*/
|
|
74
|
-
set: value => {
|
|
75
|
-
const newTargetKey = `__${target}__`;
|
|
76
|
-
this[newTargetKey] = value;
|
|
77
|
-
/**
|
|
78
|
-
* WWhen the property is set, we will go through all the waiters and, if any of them include currently set property, act on it.
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
for (const waiter of this.waiters) {
|
|
82
|
-
if (waiter.targets.includes(target) === false) {
|
|
83
|
-
continue;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Remove currently set property so we know if there are any more to be waited for.
|
|
87
|
-
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
waiter.targets = waiter.targets.filter(t => t !== target);
|
|
91
|
-
/**
|
|
92
|
-
* If there are more to be waited, eg. user added [cms, pageBuilder] as waited properties, we just continue the loop.
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
if (waiter.targets.length > 0) {
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* And if there is nothing more to be waited for, we execute the callable.
|
|
100
|
-
* Note that this callable is not async.
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
waiter.cb(this);
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* As we have set property with __ around it, we must get it as well.
|
|
110
|
-
*/
|
|
111
|
-
get: () => {
|
|
112
|
-
const newTargetKey = `__${target}__`;
|
|
113
|
-
return this[newTargetKey];
|
|
114
|
-
},
|
|
115
|
-
configurable: false
|
|
116
|
-
});
|
|
117
|
-
/**
|
|
118
|
-
* We add the target to be awaited.
|
|
119
|
-
*/
|
|
120
|
-
|
|
121
|
-
targets.push(target);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* If there are no targets to be awaited, just fire the callable.
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
if (targets.length === 0) {
|
|
129
|
-
cb(this);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Otherwise add the waiter for the target properties.
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
this.waiters.push({
|
|
138
|
-
targets,
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* TODO @ts-refactor
|
|
142
|
-
* Problem with possible subtype initialization
|
|
143
|
-
*/
|
|
144
|
-
// @ts-ignore
|
|
145
|
-
cb
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
exports.Context = Context;
|
package/plugins/Context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Context","constructor","params","plugins","args","WEBINY_VERSION","PluginsContainer","getResult","_result","hasResult","setResult","value","waitFor","obj","cb","initialTargets","Array","isArray","targets","key","target","Object","defineProperty","set","newTargetKey","waiter","waiters","includes","filter","t","length","get","configurable","push"],"sources":["Context.ts"],"sourcesContent":["import { Context as ContextInterface, HandlerArgs } from \"~/types\";\nimport { PluginsContainer } from \"@webiny/plugins\";\nimport { PluginCollection } from \"@webiny/plugins/types\";\n\ninterface Waiter {\n targets: string[];\n cb: (context: ContextInterface) => void;\n}\n\nexport interface ContextParams {\n args?: HandlerArgs;\n plugins?: PluginCollection;\n WEBINY_VERSION: string;\n}\nexport class Context implements ContextInterface {\n public _result: any;\n public readonly plugins: PluginsContainer;\n public readonly args: HandlerArgs;\n public readonly WEBINY_VERSION: string;\n\n private readonly waiters: Waiter[] = [];\n\n public constructor(params: ContextParams) {\n const { plugins, args, WEBINY_VERSION } = params;\n this.plugins = new PluginsContainer(plugins || []);\n this.args = args || [];\n this.WEBINY_VERSION = WEBINY_VERSION;\n }\n\n public getResult(): any {\n return this._result;\n }\n\n public hasResult(): boolean {\n return !!this._result;\n }\n\n public setResult(value: any): void {\n this._result = value;\n }\n\n public waitFor<T extends ContextInterface = ContextInterface>(\n obj: string | string[],\n cb: (context: T) => void\n ): void {\n const initialTargets = Array.isArray(obj) ? obj : [obj];\n const targets: string[] = [];\n /**\n * We go only through the first level properties\n */\n for (const key in initialTargets) {\n const target = initialTargets[key] as keyof this;\n /**\n * If property already exists, there is no need to wait for it, so we just continue the loop.\n * Also, if target is not a string, skip this property as it will fail to convert properly during the runtime.\n */\n if (this[target]) {\n continue;\n } else if (typeof target !== \"string\") {\n continue;\n }\n /**\n * Since there is no property, we must define it with its setter and getter.\n * We could not know when it got defined otherwise.\n */\n Object.defineProperty(this, target, {\n /**\n * Setter sets the given value to this object.\n * We cannot set it on exact property name it is defined because it would go into loop of setting itself.\n * And that is why we add __ around the property name.\n */\n set: (value: any) => {\n const newTargetKey = `__${target}__` as keyof this;\n this[newTargetKey] = value;\n /**\n * WWhen the property is set, we will go through all the waiters and, if any of them include currently set property, act on it.\n */\n for (const waiter of this.waiters) {\n if (waiter.targets.includes(target) === false) {\n continue;\n }\n /**\n * Remove currently set property so we know if there are any more to be waited for.\n */\n waiter.targets = waiter.targets.filter(t => t !== target);\n /**\n * If there are more to be waited, eg. user added [cms, pageBuilder] as waited properties, we just continue the loop.\n */\n if (waiter.targets.length > 0) {\n continue;\n }\n /**\n * And if there is nothing more to be waited for, we execute the callable.\n * Note that this callable is not async.\n */\n waiter.cb(this);\n }\n },\n /**\n * As we have set property with __ around it, we must get it as well.\n */\n get: (): any => {\n const newTargetKey = `__${target}__` as keyof this;\n return this[newTargetKey];\n },\n configurable: false\n });\n /**\n * We add the target to be awaited.\n */\n targets.push(target as string);\n }\n /**\n * If there are no targets to be awaited, just fire the callable.\n */\n if (targets.length === 0) {\n cb(this as any);\n return;\n }\n /**\n * Otherwise add the waiter for the target properties.\n */\n this.waiters.push({\n targets,\n /**\n * TODO @ts-refactor\n * Problem with possible subtype initialization\n */\n // @ts-ignore\n cb\n });\n }\n}\n"],"mappings":";;;;;;;;;;;AACA;;AAaO,MAAMA,OAAN,CAA0C;EAQtCC,WAAW,CAACC,MAAD,EAAwB;IAAA;IAAA;IAAA;IAAA;IAAA,+CAFL,EAEK;IACtC,MAAM;MAAEC,OAAF;MAAWC,IAAX;MAAiBC;IAAjB,IAAoCH,MAA1C;IACA,KAAKC,OAAL,GAAe,IAAIG,yBAAJ,CAAqBH,OAAO,IAAI,EAAhC,CAAf;IACA,KAAKC,IAAL,GAAYA,IAAI,IAAI,EAApB;IACA,KAAKC,cAAL,GAAsBA,cAAtB;EACH;;EAEME,SAAS,GAAQ;IACpB,OAAO,KAAKC,OAAZ;EACH;;EAEMC,SAAS,GAAY;IACxB,OAAO,CAAC,CAAC,KAAKD,OAAd;EACH;;EAEME,SAAS,CAACC,KAAD,EAAmB;IAC/B,KAAKH,OAAL,GAAeG,KAAf;EACH;;EAEMC,OAAO,CACVC,GADU,EAEVC,EAFU,EAGN;IACJ,MAAMC,cAAc,GAAGC,KAAK,CAACC,OAAN,CAAcJ,GAAd,IAAqBA,GAArB,GAA2B,CAACA,GAAD,CAAlD;IACA,MAAMK,OAAiB,GAAG,EAA1B;IACA;AACR;AACA;;IACQ,KAAK,MAAMC,GAAX,IAAkBJ,cAAlB,EAAkC;MAC9B,MAAMK,MAAM,GAAGL,cAAc,CAACI,GAAD,CAA7B;MACA;AACZ;AACA;AACA;;MACY,IAAI,KAAKC,MAAL,CAAJ,EAAkB;QACd;MACH,CAFD,MAEO,IAAI,OAAOA,MAAP,KAAkB,QAAtB,EAAgC;QACnC;MACH;MACD;AACZ;AACA;AACA;;;MACYC,MAAM,CAACC,cAAP,CAAsB,IAAtB,EAA4BF,MAA5B,EAAoC;QAChC;AAChB;AACA;AACA;AACA;QACgBG,GAAG,EAAGZ,KAAD,IAAgB;UACjB,MAAMa,YAAY,GAAI,KAAIJ,MAAO,IAAjC;UACA,KAAKI,YAAL,IAAqBb,KAArB;UACA;AACpB;AACA;;UACoB,KAAK,MAAMc,MAAX,IAAqB,KAAKC,OAA1B,EAAmC;YAC/B,IAAID,MAAM,CAACP,OAAP,CAAeS,QAAf,CAAwBP,MAAxB,MAAoC,KAAxC,EAA+C;cAC3C;YACH;YACD;AACxB;AACA;;;YACwBK,MAAM,CAACP,OAAP,GAAiBO,MAAM,CAACP,OAAP,CAAeU,MAAf,CAAsBC,CAAC,IAAIA,CAAC,KAAKT,MAAjC,CAAjB;YACA;AACxB;AACA;;YACwB,IAAIK,MAAM,CAACP,OAAP,CAAeY,MAAf,GAAwB,CAA5B,EAA+B;cAC3B;YACH;YACD;AACxB;AACA;AACA;;;YACwBL,MAAM,CAACX,EAAP,CAAU,IAAV;UACH;QACJ,CAhC+B;;QAiChC;AAChB;AACA;QACgBiB,GAAG,EAAE,MAAW;UACZ,MAAMP,YAAY,GAAI,KAAIJ,MAAO,IAAjC;UACA,OAAO,KAAKI,YAAL,CAAP;QACH,CAvC+B;QAwChCQ,YAAY,EAAE;MAxCkB,CAApC;MA0CA;AACZ;AACA;;MACYd,OAAO,CAACe,IAAR,CAAab,MAAb;IACH;IACD;AACR;AACA;;;IACQ,IAAIF,OAAO,CAACY,MAAR,KAAmB,CAAvB,EAA0B;MACtBhB,EAAE,CAAC,IAAD,CAAF;MACA;IACH;IACD;AACR;AACA;;;IACQ,KAAKY,OAAL,CAAaO,IAAb,CAAkB;MACdf,OADc;;MAEd;AACZ;AACA;AACA;MACY;MACAJ;IAPc,CAAlB;EASH;;AArH4C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "@webiny/plugins";
|
|
2
|
-
import { Context } from "../types";
|
|
3
|
-
export interface ContextPluginCallable<T extends Context = Context> {
|
|
4
|
-
(context: T): void | Promise<void>;
|
|
5
|
-
}
|
|
6
|
-
export declare class ContextPlugin<T extends Context = Context> extends Plugin {
|
|
7
|
-
static readonly type: string;
|
|
8
|
-
private readonly _callable;
|
|
9
|
-
constructor(callable: ContextPluginCallable<T>);
|
|
10
|
-
apply(context: T): Promise<void>;
|
|
11
|
-
}
|
package/plugins/ContextPlugin.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.ContextPlugin = void 0;
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _plugins = require("@webiny/plugins");
|
|
13
|
-
|
|
14
|
-
class ContextPlugin extends _plugins.Plugin {
|
|
15
|
-
constructor(callable) {
|
|
16
|
-
super();
|
|
17
|
-
(0, _defineProperty2.default)(this, "_callable", void 0);
|
|
18
|
-
this._callable = callable;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
async apply(context) {
|
|
22
|
-
if (typeof this._callable !== "function") {
|
|
23
|
-
throw Error(`Missing callable in ContextPlugin! Either pass a callable to plugin constructor or extend the plugin and override the "apply" method.`);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return this._callable(context);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.ContextPlugin = ContextPlugin;
|
|
32
|
-
(0, _defineProperty2.default)(ContextPlugin, "type", "context");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ContextPlugin","Plugin","constructor","callable","_callable","apply","context","Error"],"sources":["ContextPlugin.ts"],"sourcesContent":["import { Plugin } from \"@webiny/plugins\";\nimport { Context } from \"~/types\";\n\nexport interface ContextPluginCallable<T extends Context = Context> {\n (context: T): void | Promise<void>;\n}\n\nexport class ContextPlugin<T extends Context = Context> extends Plugin {\n public static override readonly type: string = \"context\";\n private readonly _callable: ContextPluginCallable<T>;\n\n constructor(callable: ContextPluginCallable<T>) {\n super();\n this._callable = callable;\n }\n\n public async apply(context: T): Promise<void> {\n if (typeof this._callable !== \"function\") {\n throw Error(\n `Missing callable in ContextPlugin! Either pass a callable to plugin constructor or extend the plugin and override the \"apply\" method.`\n );\n }\n\n return this._callable(context);\n }\n}\n"],"mappings":";;;;;;;;;;;AAAA;;AAOO,MAAMA,aAAN,SAAyDC,eAAzD,CAAgE;EAInEC,WAAW,CAACC,QAAD,EAAqC;IAC5C;IAD4C;IAE5C,KAAKC,SAAL,GAAiBD,QAAjB;EACH;;EAEiB,MAALE,KAAK,CAACC,OAAD,EAA4B;IAC1C,IAAI,OAAO,KAAKF,SAAZ,KAA0B,UAA9B,EAA0C;MACtC,MAAMG,KAAK,CACN,uIADM,CAAX;IAGH;;IAED,OAAO,KAAKH,SAAL,CAAeE,OAAf,CAAP;EACH;;AAjBkE;;;8BAA1DN,a,UACsC,S"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "@webiny/plugins";
|
|
2
|
-
import { Context } from "../types";
|
|
3
|
-
export interface HandlerCallable<T extends Context = Context> {
|
|
4
|
-
(context: T, next: Function): Promise<any>;
|
|
5
|
-
}
|
|
6
|
-
export declare class HandlerPlugin<T extends Context = Context> extends Plugin {
|
|
7
|
-
static readonly type: string;
|
|
8
|
-
private readonly _callable;
|
|
9
|
-
constructor(callable: HandlerCallable<T>);
|
|
10
|
-
handle(context: T, next: Function): Promise<any>;
|
|
11
|
-
}
|
package/plugins/HandlerPlugin.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.HandlerPlugin = void 0;
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _plugins = require("@webiny/plugins");
|
|
13
|
-
|
|
14
|
-
class HandlerPlugin extends _plugins.Plugin {
|
|
15
|
-
constructor(callable) {
|
|
16
|
-
super();
|
|
17
|
-
(0, _defineProperty2.default)(this, "_callable", void 0);
|
|
18
|
-
this._callable = callable;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
async handle(context, next) {
|
|
22
|
-
return this._callable(context, next);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
exports.HandlerPlugin = HandlerPlugin;
|
|
28
|
-
(0, _defineProperty2.default)(HandlerPlugin, "type", "handler");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["HandlerPlugin","Plugin","constructor","callable","_callable","handle","context","next"],"sources":["HandlerPlugin.ts"],"sourcesContent":["import { Plugin } from \"@webiny/plugins\";\nimport { Context } from \"~/types\";\n\nexport interface HandlerCallable<T extends Context = Context> {\n (context: T, next: Function): Promise<any>;\n}\n\nexport class HandlerPlugin<T extends Context = Context> extends Plugin {\n public static override readonly type: string = \"handler\";\n\n private readonly _callable: HandlerCallable<T>;\n\n public constructor(callable: HandlerCallable<T>) {\n super();\n this._callable = callable;\n }\n\n public async handle(context: T, next: Function): Promise<any> {\n return this._callable(context, next);\n }\n}\n"],"mappings":";;;;;;;;;;;AAAA;;AAOO,MAAMA,aAAN,SAAyDC,eAAzD,CAAgE;EAK5DC,WAAW,CAACC,QAAD,EAA+B;IAC7C;IAD6C;IAE7C,KAAKC,SAAL,GAAiBD,QAAjB;EACH;;EAEkB,MAANE,MAAM,CAACC,OAAD,EAAaC,IAAb,EAA2C;IAC1D,OAAO,KAAKH,SAAL,CAAeE,OAAf,EAAwBC,IAAxB,CAAP;EACH;;AAZkE;;;8BAA1DP,a,UACsC,S"}
|