@digital-realty/ix-tile-picker 2.0.1
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/.editorconfig +29 -0
- package/LICENSE +21 -0
- package/README.md +62 -0
- package/demo/index.html +61 -0
- package/dist/56b173ab.js +76 -0
- package/dist/index.html +1 -0
- package/dist/src/IxTilePicker.d.ts +26 -0
- package/dist/src/IxTilePicker.js +140 -0
- package/dist/src/IxTilePicker.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/ix-tile-picker-styles.d.ts +1 -0
- package/dist/src/ix-tile-picker-styles.js +233 -0
- package/dist/src/ix-tile-picker-styles.js.map +1 -0
- package/dist/src/ix-tile-picker.d.ts +1 -0
- package/dist/src/ix-tile-picker.js +3 -0
- package/dist/src/ix-tile-picker.js.map +1 -0
- package/dist/sw.js +2 -0
- package/dist/sw.js.map +1 -0
- package/dist/test/ix-tile-picker.test.d.ts +1 -0
- package/dist/test/ix-tile-picker.test.js +76 -0
- package/dist/test/ix-tile-picker.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/workbox-1fb78e9e.js +2 -0
- package/dist/workbox-1fb78e9e.js.map +1 -0
- package/package.json +91 -0
- package/src/IxTilePicker.ts +149 -0
- package/src/index.ts +1 -0
- package/src/ix-tile-picker-styles.ts +233 -0
- package/src/ix-tile-picker.ts +3 -0
- package/test/ix-tile-picker.test.ts +94 -0
- package/tsconfig.json +21 -0
- package/web-dev-server.config.mjs +27 -0
- package/web-test-runner.config.mjs +41 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const IxTilePickerStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
align-items: center;
|
|
6
|
+
border: 1px solid lightgrey;
|
|
7
|
+
border-width: 1px 0;
|
|
8
|
+
padding: 1rem 0;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
*,
|
|
13
|
+
:before,
|
|
14
|
+
:after {
|
|
15
|
+
box-sizing: inherit;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.tiles {
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: repeat(
|
|
21
|
+
auto-fill,
|
|
22
|
+
minmax(calc(var(--tile-base-font-size, 1rem) * 14), 1fr)
|
|
23
|
+
);
|
|
24
|
+
grid-gap: 1em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tile {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
padding: var(
|
|
31
|
+
--tile-padding-top,
|
|
32
|
+
var(--tile-padding-vertical, var(--tile-padding, 1em))
|
|
33
|
+
)
|
|
34
|
+
var(
|
|
35
|
+
--tile-padding-right,
|
|
36
|
+
var(--tile-padding-horizontal, var(--tile-padding, 1em))
|
|
37
|
+
)
|
|
38
|
+
var(
|
|
39
|
+
--tile-padding-bottom,
|
|
40
|
+
var(--tile-padding-vertical, var(--tile-padding, 0))
|
|
41
|
+
)
|
|
42
|
+
var(
|
|
43
|
+
--tile-padding-left,
|
|
44
|
+
var(--tile-padding-horizontal, var(--tile-padding, 1em))
|
|
45
|
+
);
|
|
46
|
+
font-size: var(--tile-base-font-size, 1rem);
|
|
47
|
+
color: rgba(51, 51, 51, 1);
|
|
48
|
+
background-color: var(--tile-background-color, #fff);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.tile.-disabled {
|
|
52
|
+
--tile-background-color: #f5f5f5;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.tile.-hidden {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tile__header {
|
|
60
|
+
flex: 0 0 auto;
|
|
61
|
+
position: relative;
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
align-items: flex-start;
|
|
65
|
+
padding-bottom: 0.5em;
|
|
66
|
+
margin-bottom: 0.5em;
|
|
67
|
+
border-bottom: 1px solid lightgrey;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.tile-heading {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column-reverse;
|
|
73
|
+
margin: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tile-heading__label {
|
|
78
|
+
font-size: 0.8125em;
|
|
79
|
+
line-height: 1.5385em;
|
|
80
|
+
color: rgba(51, 51, 51, 0.7);
|
|
81
|
+
font-family: var(
|
|
82
|
+
--tile-heading-label-font-family,
|
|
83
|
+
var(--tile-font-family, 'Helvetica', 'Arial', sans-serif)
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.tile-heading__value {
|
|
88
|
+
margin: 0;
|
|
89
|
+
font-size: 1.125em;
|
|
90
|
+
line-height: 1.3333em;
|
|
91
|
+
font-family: var(
|
|
92
|
+
--tile-heading-value-font-family,
|
|
93
|
+
var(--tile-font-family, 'Museo-300', 'Helvetica', 'Arial', sans-serif)
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.tile__body {
|
|
98
|
+
flex: 1 0 auto;
|
|
99
|
+
padding-bottom: 0.5em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.tile__footer {
|
|
103
|
+
flex: 0 0 auto;
|
|
104
|
+
padding: var(
|
|
105
|
+
--tile-footer-padding-top,
|
|
106
|
+
var(--tile-footer-padding-vertical, var(--tile-footer-padding, 1em))
|
|
107
|
+
)
|
|
108
|
+
var(
|
|
109
|
+
--tile-footer-padding-right,
|
|
110
|
+
var(--tile-footer-padding-horizontal, var(--tile-footer-padding, 0))
|
|
111
|
+
)
|
|
112
|
+
var(
|
|
113
|
+
--tile-footer-padding-bottom,
|
|
114
|
+
var(--tile-footer-padding-vertical, var(--tile-footer-padding, 1em))
|
|
115
|
+
)
|
|
116
|
+
var(
|
|
117
|
+
--tile-footer-padding-left,
|
|
118
|
+
var(--tile-footer-padding-horizontal, var(--tile-footer-padding, 0))
|
|
119
|
+
);
|
|
120
|
+
border-top: 1px solid lightgrey;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.tile__footer.-full-bleed {
|
|
124
|
+
margin-left: calc(
|
|
125
|
+
var(
|
|
126
|
+
--tile-padding-left,
|
|
127
|
+
var(--tile-padding-horizontal, var(--tile-padding, 1em))
|
|
128
|
+
) * -1
|
|
129
|
+
);
|
|
130
|
+
margin-right: calc(
|
|
131
|
+
var(
|
|
132
|
+
--tile-padding-right,
|
|
133
|
+
var(--tile-padding-horizontal, var(--tile-padding, 1em))
|
|
134
|
+
) * -1
|
|
135
|
+
);
|
|
136
|
+
margin-bottom: calc(
|
|
137
|
+
var(
|
|
138
|
+
--tile-padding-bottom,
|
|
139
|
+
var(--tile-padding-vertical, var(--tile-padding, 0))
|
|
140
|
+
) * -1
|
|
141
|
+
);
|
|
142
|
+
margin-top: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.tile-radio-btn {
|
|
146
|
+
position: relative;
|
|
147
|
+
padding: 0;
|
|
148
|
+
border-top: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tile-radio-btn__input {
|
|
152
|
+
position: absolute;
|
|
153
|
+
top: 0;
|
|
154
|
+
left: 0;
|
|
155
|
+
opacity: 0;
|
|
156
|
+
z-index: -1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.tile-radio-btn__input:focus {
|
|
160
|
+
outline: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tile-radio-btn__label {
|
|
164
|
+
display: block;
|
|
165
|
+
padding: 1em;
|
|
166
|
+
text-align: center;
|
|
167
|
+
background-color: rgba(214, 238, 247, 1);
|
|
168
|
+
background-color: var(--tile-radio-btn-bg-color, rgba(214, 238, 247, 1));
|
|
169
|
+
color: inherit;
|
|
170
|
+
color: var(--tile-radio-btn-text-color, inherit);
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.tile-radio-btn__input:focus ~ .tile-radio-btn__label {
|
|
175
|
+
box-shadow: 0 -4px 0 0 #007399 inset;
|
|
176
|
+
box-shadow: 0 -4px 0 0 var(--tile-radio-btn-focus-accent-color, #007399) inset;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@media (hover: hover) {
|
|
180
|
+
.tile-radio-btn__label:hover {
|
|
181
|
+
background-color: #abdcef;
|
|
182
|
+
background-color: var(
|
|
183
|
+
--tile-radio-btn-hover-bg-color,
|
|
184
|
+
var(--tile-radio-btn-bg-color, #abdcef)
|
|
185
|
+
);
|
|
186
|
+
color: inherit;
|
|
187
|
+
color: var(
|
|
188
|
+
--tile-radio-btn-hover-text-color,
|
|
189
|
+
var(--tile-radio-btn-text-color, inherit)
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.tile-radio-btn__label.-checked {
|
|
195
|
+
background-color: #09c;
|
|
196
|
+
background-color: var(--tile-radio-btn-selected-bg-color, #09c);
|
|
197
|
+
color: #fff;
|
|
198
|
+
color: var(
|
|
199
|
+
--tile-radio-btn-selected-text-color,
|
|
200
|
+
var(--tile-radio-btn-text-color, #fff)
|
|
201
|
+
);
|
|
202
|
+
opacity: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.tile-radio-btn__input:checked ~ .tile-radio-btn__label.-checked {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
cursor: default;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.tile-radio-btn__label.-disabled {
|
|
211
|
+
background-image: repeating-linear-gradient(
|
|
212
|
+
-30deg,
|
|
213
|
+
transparent 0,
|
|
214
|
+
transparent 3px,
|
|
215
|
+
rgba(0, 0, 0, 0.1) 3px,
|
|
216
|
+
rgba(0, 0, 0, 0.1) 4px
|
|
217
|
+
);
|
|
218
|
+
background-color: lightgrey;
|
|
219
|
+
background-color: var(--tile-radio-btn-disabled-bg-color, lightgrey);
|
|
220
|
+
color: #888;
|
|
221
|
+
color: var(
|
|
222
|
+
--tile-radio-btn-disabled-text-color,
|
|
223
|
+
var(--tile-radio-btn-text-color, #888)
|
|
224
|
+
);
|
|
225
|
+
cursor: not-allowed;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.surface {
|
|
229
|
+
position: relative;
|
|
230
|
+
--md-elevation-level: 2;
|
|
231
|
+
}
|
|
232
|
+
`;
|
|
233
|
+
//# sourceMappingURL=ix-tile-picker-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-tile-picker-styles.js","sourceRoot":"","sources":["../../src/ix-tile-picker-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsOpC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxTilePickerStyles = css`\n :host {\n justify-content: space-between;\n align-items: center;\n border: 1px solid lightgrey;\n border-width: 1px 0;\n padding: 1rem 0;\n box-sizing: border-box;\n }\n\n *,\n :before,\n :after {\n box-sizing: inherit;\n }\n\n .tiles {\n display: grid;\n grid-template-columns: repeat(\n auto-fill,\n minmax(calc(var(--tile-base-font-size, 1rem) * 14), 1fr)\n );\n grid-gap: 1em;\n }\n\n .tile {\n display: flex;\n flex-direction: column;\n padding: var(\n --tile-padding-top,\n var(--tile-padding-vertical, var(--tile-padding, 1em))\n )\n var(\n --tile-padding-right,\n var(--tile-padding-horizontal, var(--tile-padding, 1em))\n )\n var(\n --tile-padding-bottom,\n var(--tile-padding-vertical, var(--tile-padding, 0))\n )\n var(\n --tile-padding-left,\n var(--tile-padding-horizontal, var(--tile-padding, 1em))\n );\n font-size: var(--tile-base-font-size, 1rem);\n color: rgba(51, 51, 51, 1);\n background-color: var(--tile-background-color, #fff);\n }\n\n .tile.-disabled {\n --tile-background-color: #f5f5f5;\n }\n\n .tile.-hidden {\n display: none;\n }\n\n .tile__header {\n flex: 0 0 auto;\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 0.5em;\n margin-bottom: 0.5em;\n border-bottom: 1px solid lightgrey;\n }\n\n .tile-heading {\n display: flex;\n flex-direction: column-reverse;\n margin: 0;\n padding: 0;\n }\n\n .tile-heading__label {\n font-size: 0.8125em;\n line-height: 1.5385em;\n color: rgba(51, 51, 51, 0.7);\n font-family: var(\n --tile-heading-label-font-family,\n var(--tile-font-family, 'Helvetica', 'Arial', sans-serif)\n );\n }\n\n .tile-heading__value {\n margin: 0;\n font-size: 1.125em;\n line-height: 1.3333em;\n font-family: var(\n --tile-heading-value-font-family,\n var(--tile-font-family, 'Museo-300', 'Helvetica', 'Arial', sans-serif)\n );\n }\n\n .tile__body {\n flex: 1 0 auto;\n padding-bottom: 0.5em;\n }\n\n .tile__footer {\n flex: 0 0 auto;\n padding: var(\n --tile-footer-padding-top,\n var(--tile-footer-padding-vertical, var(--tile-footer-padding, 1em))\n )\n var(\n --tile-footer-padding-right,\n var(--tile-footer-padding-horizontal, var(--tile-footer-padding, 0))\n )\n var(\n --tile-footer-padding-bottom,\n var(--tile-footer-padding-vertical, var(--tile-footer-padding, 1em))\n )\n var(\n --tile-footer-padding-left,\n var(--tile-footer-padding-horizontal, var(--tile-footer-padding, 0))\n );\n border-top: 1px solid lightgrey;\n }\n\n .tile__footer.-full-bleed {\n margin-left: calc(\n var(\n --tile-padding-left,\n var(--tile-padding-horizontal, var(--tile-padding, 1em))\n ) * -1\n );\n margin-right: calc(\n var(\n --tile-padding-right,\n var(--tile-padding-horizontal, var(--tile-padding, 1em))\n ) * -1\n );\n margin-bottom: calc(\n var(\n --tile-padding-bottom,\n var(--tile-padding-vertical, var(--tile-padding, 0))\n ) * -1\n );\n margin-top: 0;\n }\n\n .tile-radio-btn {\n position: relative;\n padding: 0;\n border-top: none;\n }\n\n .tile-radio-btn__input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n z-index: -1;\n }\n\n .tile-radio-btn__input:focus {\n outline: none;\n }\n\n .tile-radio-btn__label {\n display: block;\n padding: 1em;\n text-align: center;\n background-color: rgba(214, 238, 247, 1);\n background-color: var(--tile-radio-btn-bg-color, rgba(214, 238, 247, 1));\n color: inherit;\n color: var(--tile-radio-btn-text-color, inherit);\n cursor: pointer;\n }\n\n .tile-radio-btn__input:focus ~ .tile-radio-btn__label {\n box-shadow: 0 -4px 0 0 #007399 inset;\n box-shadow: 0 -4px 0 0 var(--tile-radio-btn-focus-accent-color, #007399) inset;\n }\n\n @media (hover: hover) {\n .tile-radio-btn__label:hover {\n background-color: #abdcef;\n background-color: var(\n --tile-radio-btn-hover-bg-color,\n var(--tile-radio-btn-bg-color, #abdcef)\n );\n color: inherit;\n color: var(\n --tile-radio-btn-hover-text-color,\n var(--tile-radio-btn-text-color, inherit)\n );\n }\n }\n\n .tile-radio-btn__label.-checked {\n background-color: #09c;\n background-color: var(--tile-radio-btn-selected-bg-color, #09c);\n color: #fff;\n color: var(\n --tile-radio-btn-selected-text-color,\n var(--tile-radio-btn-text-color, #fff)\n );\n opacity: 0;\n }\n\n .tile-radio-btn__input:checked ~ .tile-radio-btn__label.-checked {\n opacity: 1;\n cursor: default;\n }\n\n .tile-radio-btn__label.-disabled {\n background-image: repeating-linear-gradient(\n -30deg,\n transparent 0,\n transparent 3px,\n rgba(0, 0, 0, 0.1) 3px,\n rgba(0, 0, 0, 0.1) 4px\n );\n background-color: lightgrey;\n background-color: var(--tile-radio-btn-disabled-bg-color, lightgrey);\n color: #888;\n color: var(\n --tile-radio-btn-disabled-text-color,\n var(--tile-radio-btn-text-color, #888)\n );\n cursor: not-allowed;\n }\n\n .surface {\n position: relative;\n --md-elevation-level: 2;\n }\n`;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-tile-picker.js","sourceRoot":"","sources":["../../src/ix-tile-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC","sourcesContent":["import { IxTilePicker } from './IxTilePicker.js';\n\nwindow.customElements.define('ix-tile-picker', IxTilePicker);\n"]}
|
package/dist/sw.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let r=Promise.resolve();return s[e]||(r=new Promise(async r=>{if("document"in self){const s=document.createElement("script");s.src=e,document.head.appendChild(s),s.onload=r}else importScripts(e),r()})),r.then(()=>{if(!s[e])throw new Error(`Module ${e} didn’t register its module`);return s[e]})},r=(r,s)=>{Promise.all(r.map(e)).then(e=>s(1===e.length?e[0]:e))},s={require:Promise.resolve(r)};self.define=(r,t,i)=>{s[r]||(s[r]=Promise.resolve().then(()=>{let s={};const n={uri:location.origin+r.slice(1)};return Promise.all(t.map(r=>{switch(r){case"exports":return s;case"module":return n;default:return e(r)}})).then(e=>{const r=i(...e);return s.default||(s.default=r),s})}))}}define("./sw.js",["./workbox-1fb78e9e"],(function(e){"use strict";e.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"56b173ab.js",revision:"bcb9026bb85a7c1a2e5d645d0bfc9979"},{url:"index.html",revision:"ff49e494a1c7e039a7f37192dcfddc2a"}],{}),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/index.html"))),e.registerRoute("polyfills/*.js",new e.CacheFirst,"GET")}));
|
|
2
|
+
//# sourceMappingURL=sw.js.map
|
package/dist/sw.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sw.js","sources":["../../../../../../../../private/var/folders/y0/cfp64h794rdg1p84nvlnntkc0000gn/T/6204f00e0e96ba4d2ee76cec2039a8dc/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-routing/registerRoute.mjs';\nimport {CacheFirst as workbox_strategies_CacheFirst} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-strategies/CacheFirst.mjs';\nimport {skipWaiting as workbox_core_skipWaiting} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-core/skipWaiting.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {NavigationRoute as workbox_routing_NavigationRoute} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-routing/NavigationRoute.mjs';\nimport {createHandlerBoundToURL as workbox_precaching_createHandlerBoundToURL} from '/Users/marc/Documents/Development/Aqovia/inxn-ui-components/node_modules/workbox-precaching/createHandlerBoundToURL.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nworkbox_core_skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"56b173ab.js\",\n \"revision\": \"bcb9026bb85a7c1a2e5d645d0bfc9979\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"ff49e494a1c7e039a7f37192dcfddc2a\"\n }\n], {});\n\nworkbox_routing_registerRoute(new workbox_routing_NavigationRoute(workbox_precaching_createHandlerBoundToURL(\"/index.html\")));\n\n\nworkbox_routing_registerRoute(\"polyfills/*.js\", new workbox_strategies_CacheFirst(), 'GET');\n\n\n\n\n"],"names":["url","revision","workbox_routing_NavigationRoute","workbox_precaching_createHandlerBoundToURL","workbox_strategies_CacheFirst"],"mappings":"k1BAmCoC,CAClC,CACEA,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,qCAEb,oBAE2B,IAAIC,kBAAgCC,0BAA2C,iCAG/E,iBAAkB,IAAIC,aAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/ix-tile-picker.js';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { fixture, expect } from '@open-wc/testing';
|
|
3
|
+
import '../src/ix-tile-picker.js';
|
|
4
|
+
const items = [
|
|
5
|
+
{
|
|
6
|
+
cloudAccessId: 'CANL-1234',
|
|
7
|
+
company: 'Boogle',
|
|
8
|
+
usedBandwidth: 100,
|
|
9
|
+
totalBandwidth: 1000,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
cloudAccessId: 'CANL-2345',
|
|
13
|
+
company: 'Interxion (NL)',
|
|
14
|
+
usedBandwidth: 200,
|
|
15
|
+
totalBandwidth: 1000,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
cloudAccessId: 'CANL-3456',
|
|
19
|
+
company: 'Interxion (DE)',
|
|
20
|
+
usedBandwidth: 0,
|
|
21
|
+
totalBandwidth: 1000,
|
|
22
|
+
disabled: true,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
cloudAccessId: 'CANL-4567',
|
|
26
|
+
company: 'Interxion (UK)',
|
|
27
|
+
usedBandwidth: 1000,
|
|
28
|
+
totalBandwidth: 1000,
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
describe('IxTilePicker', () => {
|
|
32
|
+
it('Should return all tiles', async () => {
|
|
33
|
+
// Arrange
|
|
34
|
+
await fixture(html `<ix-tile-picker .items="${items}"> </ix-tile-picker>`);
|
|
35
|
+
// Act
|
|
36
|
+
const el = document.querySelector('ix-tile-picker');
|
|
37
|
+
const shadowRoot = el === null || el === void 0 ? void 0 : el.shadowRoot;
|
|
38
|
+
expect(shadowRoot).to.exist;
|
|
39
|
+
const tiles = shadowRoot === null || shadowRoot === void 0 ? void 0 : shadowRoot.querySelectorAll('div.tile');
|
|
40
|
+
// Assert
|
|
41
|
+
expect(tiles === null || tiles === void 0 ? void 0 : tiles.length).to.equal(4);
|
|
42
|
+
});
|
|
43
|
+
it('Should filter tiles when searching', async () => {
|
|
44
|
+
// Arrange
|
|
45
|
+
let searchResult = [];
|
|
46
|
+
const searchValue = 'inter';
|
|
47
|
+
const searchField = ['company'];
|
|
48
|
+
const onChange = (results) => {
|
|
49
|
+
searchResult = results;
|
|
50
|
+
};
|
|
51
|
+
await fixture(html `
|
|
52
|
+
<ix-tile-picker
|
|
53
|
+
.items="${items}"
|
|
54
|
+
.searchFields="${searchField}"
|
|
55
|
+
.onResultsFound="${onChange}"
|
|
56
|
+
>
|
|
57
|
+
</ix-tile-picker>
|
|
58
|
+
`);
|
|
59
|
+
// Act
|
|
60
|
+
const el = document.querySelector('ix-tile-picker');
|
|
61
|
+
const tilePicker = el === null || el === void 0 ? void 0 : el.shadowRoot;
|
|
62
|
+
expect(tilePicker).to.exist;
|
|
63
|
+
const searchComponent = tilePicker === null || tilePicker === void 0 ? void 0 : tilePicker.querySelector('ix-search-bar');
|
|
64
|
+
const searchShadowRoot = searchComponent === null || searchComponent === void 0 ? void 0 : searchComponent.shadowRoot;
|
|
65
|
+
const searchInput = searchShadowRoot === null || searchShadowRoot === void 0 ? void 0 : searchShadowRoot.querySelector('[type="search"]');
|
|
66
|
+
const searchInputShadowRoot = searchInput === null || searchInput === void 0 ? void 0 : searchInput.shadowRoot;
|
|
67
|
+
const input = searchInputShadowRoot === null || searchInputShadowRoot === void 0 ? void 0 : searchInputShadowRoot.querySelector('input');
|
|
68
|
+
input.value = searchValue;
|
|
69
|
+
input.dispatchEvent(new Event('change'));
|
|
70
|
+
const visibleTiles = searchResult === null || searchResult === void 0 ? void 0 : searchResult.filter(_ => !_.hidden);
|
|
71
|
+
// Assert
|
|
72
|
+
expect(visibleTiles.length).to.equal(3);
|
|
73
|
+
expect(visibleTiles[0].company).to.equal('Interxion (NL)');
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
//# sourceMappingURL=ix-tile-picker.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-tile-picker.test.js","sourceRoot":"","sources":["../../test/ix-tile-picker.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,0BAA0B,CAAC;AAElC,MAAM,KAAK,GAAG;IACZ;QACE,aAAa,EAAE,WAAW;QAC1B,OAAO,EAAE,QAAQ;QACjB,aAAa,EAAE,GAAG;QAClB,cAAc,EAAE,IAAI;KACrB;IACD;QACE,aAAa,EAAE,WAAW;QAC1B,OAAO,EAAE,gBAAgB;QACzB,aAAa,EAAE,GAAG;QAClB,cAAc,EAAE,IAAI;KACrB;IACD;QACE,aAAa,EAAE,WAAW;QAC1B,OAAO,EAAE,gBAAgB;QACzB,aAAa,EAAE,CAAC;QAChB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD;QACE,aAAa,EAAE,WAAW;QAC1B,OAAO,EAAE,gBAAgB;QACzB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEF,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;QACvC,UAAU;QACV,MAAM,OAAO,CACX,IAAI,CAAA,2BAA2B,KAAK,sBAAsB,CAC3D,CAAC;QAEF,MAAM;QACN,MAAM,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QACpD,MAAM,UAAU,GAAG,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,UAAU,CAAC;QAClC,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;QAE5B,MAAM,KAAK,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAEvD,SAAS;QACT,MAAM,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,KAAK,IAAI,EAAE;QAClD,UAAU;QACV,IAAI,YAAY,GAAgB,EAAE,CAAC;QACnC,MAAM,WAAW,GAAG,OAAO,CAAC;QAC5B,MAAM,WAAW,GAAG,CAAC,SAAS,CAAC,CAAC;QAChC,MAAM,QAAQ,GAAG,CAAC,OAAoB,EAAE,EAAE;YACxC,YAAY,GAAG,OAAO,CAAC;QACzB,CAAC,CAAC;QAEF,MAAM,OAAO,CACX,IAAI,CAAA;;oBAEU,KAAK;2BACE,WAAW;6BACT,QAAQ;;;OAG9B,CACF,CAAC;QAEF,MAAM;QACN,MAAM,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QACpD,MAAM,UAAU,GAAG,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,UAAU,CAAC;QAClC,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;QAE5B,MAAM,eAAe,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,CAAC,eAAe,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU,CAAC;QACrD,MAAM,WAAW,GAAG,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;QACvE,MAAM,qBAAqB,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,CAAC;QACtD,MAAM,KAAK,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,aAAa,CAChD,OAAO,CACY,CAAC;QAEtB,KAAK,CAAC,KAAK,GAAG,WAAW,CAAC;QAC1B,KAAK,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEzC,MAAM,YAAY,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QAE1D,SAAS;QACT,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACxC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { html } from 'lit';\nimport { fixture, expect } from '@open-wc/testing';\nimport { IxTilePicker, Item } from '../src/IxTilePicker.js';\nimport '../src/ix-tile-picker.js';\n\nconst items = [\n {\n cloudAccessId: 'CANL-1234',\n company: 'Boogle',\n usedBandwidth: 100,\n totalBandwidth: 1000,\n },\n {\n cloudAccessId: 'CANL-2345',\n company: 'Interxion (NL)',\n usedBandwidth: 200,\n totalBandwidth: 1000,\n },\n {\n cloudAccessId: 'CANL-3456',\n company: 'Interxion (DE)',\n usedBandwidth: 0,\n totalBandwidth: 1000,\n disabled: true,\n },\n {\n cloudAccessId: 'CANL-4567',\n company: 'Interxion (UK)',\n usedBandwidth: 1000,\n totalBandwidth: 1000,\n },\n];\n\ndescribe('IxTilePicker', () => {\n it('Should return all tiles', async () => {\n // Arrange\n await fixture<IxTilePicker>(\n html`<ix-tile-picker .items=\"${items}\"> </ix-tile-picker>`\n );\n\n // Act\n const el = document.querySelector('ix-tile-picker');\n const shadowRoot = el?.shadowRoot;\n expect(shadowRoot).to.exist;\n\n const tiles = shadowRoot?.querySelectorAll('div.tile');\n\n // Assert\n expect(tiles?.length).to.equal(4);\n });\n\n it('Should filter tiles when searching', async () => {\n // Arrange\n let searchResult: Array<Item> = [];\n const searchValue = 'inter';\n const searchField = ['company'];\n const onChange = (results: Array<Item>) => {\n searchResult = results;\n };\n\n await fixture(\n html`\n <ix-tile-picker\n .items=\"${items}\"\n .searchFields=\"${searchField}\"\n .onResultsFound=\"${onChange}\"\n >\n </ix-tile-picker>\n `\n );\n\n // Act\n const el = document.querySelector('ix-tile-picker');\n const tilePicker = el?.shadowRoot;\n expect(tilePicker).to.exist;\n\n const searchComponent = tilePicker?.querySelector('ix-search-bar');\n const searchShadowRoot = searchComponent?.shadowRoot;\n const searchInput = searchShadowRoot?.querySelector('[type=\"search\"]');\n const searchInputShadowRoot = searchInput?.shadowRoot;\n const input = searchInputShadowRoot?.querySelector(\n 'input'\n ) as HTMLInputElement;\n\n input.value = searchValue;\n input.dispatchEvent(new Event('change'));\n\n const visibleTiles = searchResult?.filter(_ => !_.hidden);\n\n // Assert\n expect(visibleTiles.length).to.equal(3);\n expect(visibleTiles[0].company).to.equal('Interxion (NL)');\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit/node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/lit-html/directives/class-map.d.ts","../../../node_modules/lit/directives/class-map.d.ts","../src/ix-tile-picker-styles.ts","../../../node_modules/@material/web/elevation/internal/elevation.d.ts","../../../node_modules/@material/web/elevation/elevation.d.ts","../src/ixtilepicker.ts","../src/index.ts","../src/ix-tile-picker.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/get-diffable-html.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/chai-dom-diff-plugin.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/chai-dom-diff.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/index.d.ts","../../../node_modules/chai-a11y-axe/chai-a11y-axe-plugin.d.ts","../../../node_modules/chai-a11y-axe/src/accessible.d.ts","../../../node_modules/chai-a11y-axe/index.d.ts","../../../node_modules/@types/chai-dom/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/sinon-chai/index.d.ts","../../../node_modules/@open-wc/testing/register-chai-plugins.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/elementupdated.d.ts","../../../node_modules/lit-html/static.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/renderable.d.ts","../../../node_modules/@open-wc/dedupe-mixin/index.d.ts","../../../node_modules/@open-wc/scoped-elements/types/src/types.d.ts","../../../node_modules/@open-wc/scoped-elements/types/src/scopedelementsmixin.d.ts","../../../node_modules/@open-wc/scoped-elements/types/index.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixture-no-side-effect.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixturewrapper.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/helpers.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/scopedelementswrapper.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/litfixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/stringfixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/index.d.ts","../../../node_modules/@open-wc/testing/index.d.ts","../test/ix-tile-picker.test.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/accepts/index.d.ts","../../../node_modules/@types/babel__code-frame/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/source-map/source-map.d.ts","../../../node_modules/@types/clean-css/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/co-body/index.d.ts","../../../node_modules/@types/command-line-args/index.d.ts","../../../node_modules/@types/content-disposition/index.d.ts","../../../node_modules/@types/convert-source-map/index.d.ts","../../../node_modules/@types/keygrip/index.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/send/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/http-errors/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/cookies/index.d.ts","../../../node_modules/@types/debounce/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/uglify-js/index.d.ts","../../../node_modules/@types/relateurl/index.d.ts","../../../node_modules/@types/html-minifier/index.d.ts","../../../node_modules/@types/http-assert/index.d.ts","../../../node_modules/@types/intl-tel-input/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@types/jquery/jquerystatic.d.ts","../../../node_modules/@types/jquery/jquery.d.ts","../../../node_modules/@types/jquery/misc.d.ts","../../../node_modules/@types/jquery/legacy.d.ts","../../../node_modules/@types/sizzle/index.d.ts","../../../node_modules/@types/jquery/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/koa-compose/index.d.ts","../../../node_modules/@types/koa/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../../../node_modules/@types/parse5/index.d.ts","../../../node_modules/@types/prismjs/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","52dd370c807255c61765347fc90a9bee3c522b8744dc222714e2bf6b5be3a823","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","ccf8ea81b0ac699c220b874b804ad02b8aabc5b494e1c3bda0d255ec8d08694d","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"3c150a2e1758724811db3bdc5c773421819343b1627714e09f29b1f40a5dfb26","affectsGlobalScope":true},"c567d37119d6f56381af48eb7516030ccf35a36f9aca045e238d9c207a7c536c","b448dfbb5a6c4505f6b6beab587cf41f180ad62bcb506b44e3f2c09d20ba63a9","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","5e7e090243bf203382a5cb04eabbdc38d78f6d5922f16f543e4da8fa007d5ff9","cd823094ded7c8ac4f94ab6dc387dab699293eb8323d9f948304efc07e4ae7b2","d45c02bf8b85203f35de2971eafb8f8092090d150c7805a189b3e197f53b12b6","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","097a7e3badfd1c4b35f72aa0f722f5714a4f6a84e53fca5a79dcfebbfc5e718d","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","ea410c8280b0ec480acb195c7dd36c1f054403f5fccee0beca85717777cf8562","628bceb593b3a5b3d73ff44a808a347ec07d6ee397104a1d88b0f9a20d8b4599","57e25505a5de058216a8f4416ca850788bfc3a412c8e90109b2ef91f75fdd615","2ba453918c1fcf1cbb2836f731534f356d5fe65ed9628811f686e8de3920ed0e","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","cc689acd4eff461c808e01225be6a16d1787e44d451310be5dd556dd7ab08457","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","147cb5b590b77c8c58e4ef0af1ff11ee90ee2b34262816df0665b6ff8fd50aad","6e0575b628aedce5db38c17569e5c909beead07f9052fe7944fb8bfccc3db92e",{"version":"cdb541f13c5623b079c4a148ed05453c6f1c214ad903b848387df580e29c492e","signature":"51b66d751a393800e4e63e176d69d176b17dae40529f5cb7979912340ca76bee"},"4af14419afc4a17f1b348db19e4bd2b65bc4a930abd6139ea8f43cd6538d176d",{"version":"e2cd30c507d2cef0fa1675b90a46a726aa56078be47d0ae79cfdefaae5abef43","affectsGlobalScope":true},{"version":"7fd16fa92e5e3ee08ff0a60461d164d61f05b37bda693b05b4ea9dbe22212648","signature":"ffb43c47898f61218f5bc225d70c2e435da6f3bf6c4801fe45c502b4d1642ba6"},"938e940a5ac2ccba603244b75670451add7f7a6a84e8c0887adc215316a373f2",{"version":"b558be45a6174d71159344443a09336856926b82493b835a3371966d89401719","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c3bc5d095c3c22fd20b5a6550b9c9a6d56c3ffbb87ef057ccce7764b6bed4428","affectsGlobalScope":true},"8a659f7d82d932649a78f89643c5b436953424a219d705d49b8b3d9ccd6e35ff",{"version":"2d412861573a672bd90fdcb1e48740593324565f3b3aaf6808c0e3e2f0d54ae8","affectsGlobalScope":true},{"version":"cd711db43a952f15464b571ac11b7a440332cd52342bc92c4bf908c70688f57f","affectsGlobalScope":true},"9d8709c916778cb34830708ed47b78e9a46d1fb2eb73a682b14eee990bed4aa6",{"version":"507e2131e89b515ce40c05c0c2fef6cc575ba8947703f92e8cdf36078747a9ff","affectsGlobalScope":true},"999a90d30a3183dcee987d0a5a7c586aba5bacbf6ce087ba8635124082ccfeea","8a5878edd52f4a720560b4c6e6247e9ddc3df6118ad9cf2f9927903b03d5f440",{"version":"4cdd1b520504f86d680470dc91baa79d625fa20e1f9dc1f99eba242eae9fada4","affectsGlobalScope":true},"f83b320cceccfc48457a818d18fc9a006ab18d0bdd727aa2c2e73dc1b4a45e98","5445b5383991fff958fe3a7b0a9c1b9c672a613bc30fda97aee6eddb4053c0d3",{"version":"4f0ad52a7fbd6bfba88ec22ec719b6956a0fc647030462f9db490e74236d116f","affectsGlobalScope":true},"65b91a3725399231d3469529b5e27b85bf2aa98013e607f308e5fe260b47eeff","a11181f6d68200e83ccb1fb48b262a7132a3257e0a230f41c9dc4c351964297a","359f23bc7fccaec08632ee5c33eb333a5b207fc8ae17c881c7b69919aced4d58","51bce1535d9cb87390d75581866d79de7b2e2cb525a89fba84411c8bb5be52d2","88cda4269c54f0803834fd62b2fac61af8bff7a085693f7ca9df85c1f19dee8a",{"version":"d40075d9f1c08b4a8d8e468076f5258900e99895e7259c40f3923b7044bbed6c","affectsGlobalScope":true},"754006450e5de2b7dac5993194326e3a65c1474673f7304c20810f5eda18ca05","fdf0aa1a72ff0188a9013926201a391116ef6701cd439b89850786abdf755fb8","0b5817d9435c019648f2a2326eaf1086efb72e8e90e28eb53a58b2f31f61e161","abf9ea97b78a7b239186cf5b7ed59c4a593abac3c408c8c95fc5e604cfdfdb43","ae91c9161caf0af81c89e780a045fc5ea8382407e516342e409c5db9161d3b32","d30c69f9eb16583b0a406358224c312b865514a6a7c787a57f16ef08e49b1886","5e02756608c1ac8ddf96878c3af3d4db7ed4e272aef24837e255859ee0a4fb71","4a662115c4c7186cc027ef4a8163e48c7f1c57f05247f08d5acb2344fae2ca53","d598157512ae6e0d3aa6bb0dd261ae34845831dccf7bc7739695ee2589eb76f5","905fbc07f65451b05cb5594d162674eb3ef8f2bf5f13552a1702215664aae3e7","50f63746fc2a779d1f9c5657fd78e292045dc98b540e026799e039ea629f2943",{"version":"0fd74f4e0ba84ed2a399977eb44f7e96d83866828d22ad8fb5daf1da5e181989","signature":"971c27a49d6cad12d5df6ba8f3b0ce7b1401af8a080e04b116ac7dd5b9e2a9ae"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"3dd49afd822c82b63b3905a13e22240f34cf367aea4f4dd0e6564f4bddcb8370","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","93db4c949a785a3dbef7f5e08523be538e468c580dd276178b818e761b3b68cd","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"6e335a70826a634c5a1a1fa36a2dacbf3712ef2be7a517540ae1de8a1e8ea4f6","affectsGlobalScope":true},"8ff1b82376564edb18f2dec6ff7810af65f5108979f8f6deccc7d24f2e2a8dd7","df8529626079d6f9d5d3cd7b6fb7db9cda5a3118d383d8cd46c52aadb59593e7","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","3122a3f1136508a27a229e0e4e2848299028300ffa11d0cdfe99df90c492fe20","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"8c30d54a10914cecc89f0ae444e8a3786a39f1ab33640274f85232127aa3e49e","affectsGlobalScope":true},"fe6dba0e8c69f2b244e3da38e53dd2cc9e51b2543e647e805396af73006613f7","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"5810080a0da989a944d3b691b7b479a4a13c75947fb538abb8070710baa5ccee","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","8bbe7e6c5844e38754c041b52e3d90f7bbd5a0d60739daf30805c92e4f0c65c6","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"99822adc2defda34dc1b28b727577ec7c098d878d713157dbe90d212c6bf5e58","affectsGlobalScope":true},{"version":"8a985c7d30aea82342d5017730b546bb2b734fe37a2684ca55d4734deb019d58","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"4d06f3abc2a6aae86f1be39e397372f74fb6e7964f594d645926b4a3419cc15d","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"4905d61a3e1e9b12e12dbf8660fc8d2f085734da6da8d725f395bf41a04853d6","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","b95f751a58d283cb5e32f2655361f6e2a27f0368f69edc463a3472aae21d1303","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","2d1323c55cb7a4f2cf73f03797b26645a7657dd0217beb41b0079b0490ec3370","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","495da6628b9474e31d0636d66c54448bb8d84dbce902e8f70539ef6a525a2d7b","629766229f541d92210f30a92b6038568ec165fab14b7ee53bdf13667da37ca3","204dbe6c72467fb14bbe8f06510b11fb541b6ce29580c6e10ebd3bdb2eb0c1f9","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","aad5ffa61406b8e19524738fcf0e6fda8b3485bba98626268fdf252d1b2b630a","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",{"version":"352fc8497a30bc806d7defa0043d85802e5f35a7688731ee9a21456f5cb32a94","affectsGlobalScope":true},"f463d61cf39c3a6a5f96cdf7adfdb72a0b1d663f7b5d5b6dd042adba835430c2","f7a9cb83c8fbc081a8b605880d191e0d0527cde2c1b2b2b623beca8f0203a2cd","43cdd474c5aa3340da4816bb8f1ae7f3b1bcf9e70d997afc36a0f2c432378c84","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","68c559681a043ca6d622debcce75c4d82446fec08e06bf1066f71d6c325f224e","bee89e1eb6425eb49894f3f25e4562dc2564e84e5aa7610b7e13d8ecddf8f5db","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab","0def05b4e59413659e7f1cad8b0e32858d7d272a4701457e7fea95618f6ef7db","3f6bff86e78e065dad71ca8e395824703f56977f7309139127e58718d7915410","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51",{"version":"5307adc4b2b1298a0f3b661d93e6fbf558d3a65e62a62c006271f2e87cb2e628","affectsGlobalScope":true},"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",{"version":"f1ccbbd822e6e6b82cd12c8e737b9785b16354b257d011c8bb36b922abd5358f","affectsGlobalScope":true},{"version":"e78254e27cd0f5473fb1a68da88c16de429cbd1ea6e80fef0923073ca9fdf817","affectsGlobalScope":true},{"version":"28c375e6685170af8542ed1523a31fb5972be45854800ddc26efdd1bed4ed1c8","affectsGlobalScope":true},{"version":"6f1f78e8c2a5c7cd2c38aa9cc5da26d9c039f2bbfa753f2a0a54ce41c4dff8d0","affectsGlobalScope":true},"ec89427601297d439c961528832a75017d9356bec2ee42c1d16f2274590d9330","2b1af4170f6dfa90f43d2fe3d6c36f95b7fa121aa434a2acefb763d7be460a53","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","d8ff10c7c1f825a87b2b2a1cef499c7079d2d1b880323ce9edbb81282aceee8d","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","19c816167e076e7c24f074389c6cf3ed87bdbb917d1ea439ca281f9d26db2439","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","30abc554c7ad13063a02ddd06757929b34357aea1f6fcf4ca39114cb0fc19384","5774751340e987a6a9e4a5dcc03ff68a6515adc2b91423e1af2f660fc8f30e81","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},"6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","6484309596f594ae824513336bd2a2e04a1902b06bb149fa904f5cae5fbe5c50","2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[149],[46,149],[54,149],[46,54,149],[46,54,62,149],[44,45,149],[53,68,149],[50,53,149],[91,149],[46,89,90,149],[46,89,149],[73,74,149],[75,149],[74,76,149],[86,87,94,95,96,98,99,149],[88,92,149],[93,149],[89,149],[88,93,97,149],[53,149],[88,149],[73,85,100,149],[77,80,81,84,149],[122,149,156],[122,149,156,159],[73,149],[122,124,149,156,161],[122,149,156,163],[122,149,156,159,168,175],[119,122,149,156,163,170,171],[149,160,163,172,174],[149,179],[149,162,181,182],[149,186],[149,187],[149,189,190,191,192,193],[149,198],[119,122,123,127,133,148,149,156,157,166,168,173,176,184,197],[149,199,201,202,203,204,205,206,207,208,209,210,211],[149,199,200,202,203,204,205,206,207,208,209,210,211],[149,200,201,202,203,204,205,206,207,208,209,210,211],[149,199,200,201,203,204,205,206,207,208,209,210,211],[149,199,200,201,202,204,205,206,207,208,209,210,211],[149,199,200,201,202,203,205,206,207,208,209,210,211],[149,199,200,201,202,203,204,206,207,208,209,210,211],[149,199,200,201,202,203,204,205,207,208,209,210,211],[149,199,200,201,202,203,204,205,206,208,209,210,211],[149,199,200,201,202,203,204,205,206,207,209,210,211],[149,199,200,201,202,203,204,205,206,207,208,210,211],[149,199,200,201,202,203,204,205,206,207,208,209,211],[149,199,200,201,202,203,204,205,206,207,208,209,210],[103,149],[106,149],[107,112,140,149],[108,119,120,127,137,148,149],[108,109,119,127,149],[110,149],[111,112,120,128,149],[112,137,145,149],[113,115,119,127,149],[114,149],[115,116,149],[119,149],[117,119,149],[119,120,121,137,148,149],[119,120,121,134,137,140,149],[149,153],[115,119,122,127,137,148,149],[119,120,122,123,127,137,145,148,149],[122,124,137,145,148,149],[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],[119,125,149],[126,148,149,153],[115,119,127,137,149],[128,149],[129,149],[106,130,149],[131,147,149,153],[132,149],[133,149],[119,134,135,149],[134,136,149,151],[107,119,137,138,139,140,149],[107,137,139,149],[137,138,149],[140,149],[141,149],[106,137,149],[119,143,144,149],[143,144,149],[112,127,137,145,149],[146,149],[127,147,149],[107,122,133,148,149],[112,149],[137,149,150],[149,151],[149,152],[107,112,119,121,130,137,148,149,151,153],[137,149,154],[149,218],[149,219],[149,156],[149,222,261],[149,222,246,261],[149,261],[149,222],[149,222,247,261],[149,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260],[149,247,261],[120,137,149,156,169],[122,149,156,169,173],[73,83,149],[82,149],[47,149],[149,161],[119,122,124,127,137,145,148,149,154,156],[119,137,149,156],[79,149],[78,149],[50,149],[49,50,149],[48,49,149],[55,56,57,58,59,60,61,62,63,149],[65,149],[46,50,51,52,149],[46,50,149],[43,70,149],[43,53,149],[43,53,64,66,67,69,149],[43,53,70,72,101,149],[53],[49,50,53,65,69],[72]],"referencedMap":[[44,1],[54,2],[55,3],[58,4],[56,4],[60,4],[63,5],[62,1],[61,4],[59,4],[57,3],[45,1],[46,6],[69,7],[68,8],[89,1],[92,9],[91,10],[90,11],[75,12],[76,13],[74,1],[77,14],[100,15],[86,1],[93,16],[94,17],[95,1],[96,18],[98,19],[88,20],[97,21],[99,17],[101,22],[85,23],[157,24],[158,1],[160,25],[81,26],[73,1],[162,27],[164,28],[165,1],[159,24],[166,1],[167,1],[176,29],[177,1],[178,1],[172,30],[175,31],[180,32],[183,33],[184,1],[173,1],[185,1],[186,1],[187,34],[188,35],[194,36],[190,1],[189,1],[192,1],[191,1],[195,1],[196,1],[168,1],[197,37],[198,38],[200,39],[201,40],[199,41],[202,42],[203,43],[204,44],[205,45],[206,46],[207,47],[208,48],[209,49],[210,50],[211,51],[212,32],[169,1],[213,1],[214,1],[215,1],[103,52],[104,52],[106,53],[107,54],[108,55],[109,56],[110,57],[111,58],[112,59],[113,60],[114,61],[115,62],[116,62],[118,63],[117,64],[119,63],[120,65],[121,66],[105,67],[155,1],[122,68],[123,69],[124,70],[156,71],[125,72],[126,73],[127,74],[128,75],[129,76],[130,77],[131,78],[132,79],[133,80],[134,81],[135,81],[136,82],[137,83],[139,84],[138,85],[140,86],[141,87],[142,88],[143,89],[144,90],[145,91],[146,92],[147,93],[148,94],[149,95],[150,96],[151,97],[152,98],[153,99],[154,100],[216,1],[217,1],[219,101],[218,102],[220,1],[163,1],[171,1],[182,1],[221,103],[246,104],[247,105],[222,106],[225,106],[244,104],[245,104],[235,104],[234,107],[232,104],[227,104],[240,104],[238,104],[242,104],[226,104],[239,104],[243,104],[228,104],[229,104],[241,104],[223,104],[230,104],[231,104],[233,104],[237,104],[248,108],[236,104],[224,104],[261,109],[260,1],[255,108],[257,110],[256,108],[249,108],[250,108],[252,108],[254,108],[258,110],[259,110],[251,110],[253,110],[170,111],[174,112],[84,113],[83,114],[82,1],[193,1],[48,115],[47,1],[181,116],[179,1],[262,117],[263,118],[78,26],[80,119],[79,120],[49,121],[65,122],[52,1],[50,123],[87,121],[64,124],[66,125],[53,126],[51,127],[161,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[71,128],[67,129],[72,128],[70,130],[102,131]],"exportedModulesMap":[[44,1],[54,2],[55,3],[58,4],[56,4],[60,4],[63,5],[62,1],[61,4],[59,4],[57,3],[45,1],[46,6],[69,7],[68,8],[89,1],[92,9],[91,10],[90,11],[75,12],[76,13],[74,1],[77,14],[100,15],[86,1],[93,16],[94,17],[95,1],[96,18],[98,19],[88,20],[97,21],[99,17],[101,22],[85,23],[157,24],[158,1],[160,25],[81,26],[73,1],[162,27],[164,28],[165,1],[159,24],[166,1],[167,1],[176,29],[177,1],[178,1],[172,30],[175,31],[180,32],[183,33],[184,1],[173,1],[185,1],[186,1],[187,34],[188,35],[194,36],[190,1],[189,1],[192,1],[191,1],[195,1],[196,1],[168,1],[197,37],[198,38],[200,39],[201,40],[199,41],[202,42],[203,43],[204,44],[205,45],[206,46],[207,47],[208,48],[209,49],[210,50],[211,51],[212,32],[169,1],[213,1],[214,1],[215,1],[103,52],[104,52],[106,53],[107,54],[108,55],[109,56],[110,57],[111,58],[112,59],[113,60],[114,61],[115,62],[116,62],[118,63],[117,64],[119,63],[120,65],[121,66],[105,67],[155,1],[122,68],[123,69],[124,70],[156,71],[125,72],[126,73],[127,74],[128,75],[129,76],[130,77],[131,78],[132,79],[133,80],[134,81],[135,81],[136,82],[137,83],[139,84],[138,85],[140,86],[141,87],[142,88],[143,89],[144,90],[145,91],[146,92],[147,93],[148,94],[149,95],[150,96],[151,97],[152,98],[153,99],[154,100],[216,1],[217,1],[219,101],[218,102],[220,1],[163,1],[171,1],[182,1],[221,103],[246,104],[247,105],[222,106],[225,106],[244,104],[245,104],[235,104],[234,107],[232,104],[227,104],[240,104],[238,104],[242,104],[226,104],[239,104],[243,104],[228,104],[229,104],[241,104],[223,104],[230,104],[231,104],[233,104],[237,104],[248,108],[236,104],[224,104],[261,109],[260,1],[255,108],[257,110],[256,108],[249,108],[250,108],[252,108],[254,108],[258,110],[259,110],[251,110],[253,110],[170,111],[174,112],[84,113],[83,114],[82,1],[193,1],[48,115],[47,1],[181,116],[179,1],[262,117],[263,118],[78,26],[80,119],[79,120],[49,121],[65,122],[52,1],[50,123],[87,121],[64,124],[66,125],[53,126],[51,127],[161,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[71,128],[67,132],[70,133],[102,134]],"semanticDiagnosticsPerFile":[44,54,55,58,56,60,63,62,61,59,57,45,46,69,68,89,92,91,90,75,76,74,77,100,86,93,94,95,96,98,88,97,99,101,85,157,158,160,81,73,162,164,165,159,166,167,176,177,178,172,175,180,183,184,173,185,186,187,188,194,190,189,192,191,195,196,168,197,198,200,201,199,202,203,204,205,206,207,208,209,210,211,212,169,213,214,215,103,104,106,107,108,109,110,111,112,113,114,115,116,118,117,119,120,121,105,155,122,123,124,156,125,126,127,128,129,130,131,132,133,134,135,136,137,139,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,216,217,219,218,220,163,171,182,221,246,247,222,225,244,245,235,234,232,227,240,238,242,226,239,243,228,229,241,223,230,231,233,237,248,236,224,261,260,255,257,256,249,250,252,254,258,259,251,253,170,174,84,83,82,193,48,47,181,179,262,263,78,80,79,49,65,52,50,87,64,66,53,51,161,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,71,67,72,70,102]},"version":"4.9.5"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define("./workbox-1fb78e9e.js",["exports"],(function(e){"use strict";try{self["workbox:core:5.1.4"]&&_()}catch(e){}const t=(e,...t)=>{let n=e;return t.length>0&&(n+=" :: "+JSON.stringify(t)),n};class n extends Error{constructor(e,n){super(t(e,n)),this.name=e,this.details=n}}try{self["workbox:routing:5.1.4"]&&_()}catch(e){}const s=e=>e&&"object"==typeof e?e:{handle:e};class r{constructor(e,t,n="GET"){this.handler=s(t),this.match=e,this.method=n}}class i extends r{constructor(e,t,n){super(({url:t})=>{const n=e.exec(t.href);if(n&&(t.origin===location.origin||0===n.index))return n.slice(1)},t,n)}}const o=e=>new URL(String(e),location.href).href.replace(new RegExp("^"+location.origin),"");class c{constructor(){this.t=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(e=>{"string"==typeof e&&(e=[e]);const t=new Request(...e);return this.handleRequest({request:t})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const{params:s,route:r}=this.findMatchingRoute({url:n,request:e,event:t});let i,o=r&&r.handler;if(!o&&this.s&&(o=this.s),o){try{i=o.handle({url:n,request:e,event:t,params:s})}catch(e){i=Promise.reject(e)}return i instanceof Promise&&this.i&&(i=i.catch(s=>this.i.handle({url:n,request:e,event:t}))),i}}findMatchingRoute({url:e,request:t,event:n}){const s=this.t.get(t.method)||[];for(const r of s){let s;const i=r.match({url:e,request:t,event:n});if(i)return s=i,(Array.isArray(i)&&0===i.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(s=void 0),{route:r,params:s}}return{}}setDefaultHandler(e){this.s=s(e)}setCatchHandler(e){this.i=s(e)}registerRoute(e){this.t.has(e.method)||this.t.set(e.method,[]),this.t.get(e.method).push(e)}unregisterRoute(e){if(!this.t.has(e.method))throw new n("unregister-route-but-not-found-with-method",{method:e.method});const t=this.t.get(e.method).indexOf(e);if(!(t>-1))throw new n("unregister-route-route-not-registered");this.t.get(e.method).splice(t,1)}}let a;const u=()=>(a||(a=new c,a.addFetchListener(),a.addCacheListener()),a);const h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=e=>[h.prefix,e,h.suffix].filter(e=>e&&e.length>0).join("-"),f=e=>e||l(h.precache),w=e=>e||l(h.runtime),p=new Set;const d=(e,t)=>e.filter(e=>t in e),y=async({request:e,mode:t,plugins:n=[]})=>{const s=d(n,"cacheKeyWillBeUsed");let r=e;for(const e of s)r=await e.cacheKeyWillBeUsed.call(e,{mode:t,request:r}),"string"==typeof r&&(r=new Request(r));return r},g=async({cacheName:e,request:t,event:n,matchOptions:s,plugins:r=[]})=>{const i=await self.caches.open(e),o=await y({plugins:r,request:t,mode:"read"});let c=await i.match(o,s);for(const t of r)if("cachedResponseWillBeUsed"in t){const r=t.cachedResponseWillBeUsed;c=await r.call(t,{cacheName:e,event:n,matchOptions:s,cachedResponse:c,request:o})}return c},R=async({cacheName:e,request:t,response:s,event:r,plugins:i=[],matchOptions:c})=>{const a=await y({plugins:i,request:t,mode:"write"});if(!s)throw new n("cache-put-with-no-response",{url:o(a.url)});const u=await(async({request:e,response:t,event:n,plugins:s=[]})=>{let r=t,i=!1;for(const t of s)if("cacheWillUpdate"in t){i=!0;const s=t.cacheWillUpdate;if(r=await s.call(t,{request:e,response:r,event:n}),!r)break}return i||(r=r&&200===r.status?r:void 0),r||null})({event:r,plugins:i,response:s,request:a});if(!u)return;const h=await self.caches.open(e),l=d(i,"cacheDidUpdate"),f=l.length>0?await g({cacheName:e,matchOptions:c,request:a}):null;try{await h.put(a,u)}catch(e){throw"QuotaExceededError"===e.name&&await async function(){for(const e of p)await e()}(),e}for(const t of l)await t.cacheDidUpdate.call(t,{cacheName:e,event:r,oldResponse:f,newResponse:u,request:a})},m=g,q=async({request:e,fetchOptions:t,event:s,plugins:r=[]})=>{if("string"==typeof e&&(e=new Request(e)),s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const i=d(r,"fetchDidFail"),o=i.length>0?e.clone():null;try{for(const t of r)if("requestWillFetch"in t){const n=t.requestWillFetch,r=e.clone();e=await n.call(t,{request:r,event:s})}}catch(e){throw new n("plugin-error-request-will-fetch",{thrownError:e})}const c=e.clone();try{let n;n="navigate"===e.mode?await fetch(e):await fetch(e,t);for(const e of r)"fetchDidSucceed"in e&&(n=await e.fetchDidSucceed.call(e,{event:s,request:c,response:n}));return n}catch(e){for(const t of i)await t.fetchDidFail.call(t,{error:e,event:s,originalRequest:o.clone(),request:c.clone()});throw e}};try{self["workbox:strategies:5.1.4"]&&_()}catch(e){}let v;async function U(e,t){const n=e.clone(),s={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},r=t?t(s):s,i=function(){if(void 0===v){const e=new Response("");if("body"in e)try{new Response(e.body),v=!0}catch(e){v=!1}v=!1}return v}()?n.body:await n.blob();return new Response(i,r)}try{self["workbox:precaching:5.1.4"]&&_()}catch(e){}function L(e){if(!e)throw new n("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:t,url:s}=e;if(!s)throw new n("add-to-cache-list-unexpected-type",{entry:e});if(!t){const e=new URL(s,location.href);return{cacheKey:e.href,url:e.href}}const r=new URL(s,location.href),i=new URL(s,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:i.href}}class x{constructor(e){this.o=f(e),this.u=new Map,this.h=new Map,this.l=new Map}addToCacheList(e){const t=[];for(const s of e){"string"==typeof s?t.push(s):s&&void 0===s.revision&&t.push(s.url);const{cacheKey:e,url:r}=L(s),i="string"!=typeof s&&s.revision?"reload":"default";if(this.u.has(r)&&this.u.get(r)!==e)throw new n("add-to-cache-list-conflicting-entries",{firstEntry:this.u.get(r),secondEntry:e});if("string"!=typeof s&&s.integrity){if(this.l.has(e)&&this.l.get(e)!==s.integrity)throw new n("add-to-cache-list-conflicting-integrities",{url:r});this.l.set(e,s.integrity)}if(this.u.set(r,e),this.h.set(r,i),t.length>0){const e=`Workbox is precaching URLs without revision info: ${t.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}async install({event:e,plugins:t}={}){const n=[],s=[],r=await self.caches.open(this.o),i=await r.keys(),o=new Set(i.map(e=>e.url));for(const[e,t]of this.u)o.has(t)?s.push(e):n.push({cacheKey:t,url:e});const c=n.map(({cacheKey:n,url:s})=>{const r=this.l.get(n),i=this.h.get(s);return this.p({cacheKey:n,cacheMode:i,event:e,integrity:r,plugins:t,url:s})});await Promise.all(c);return{updatedURLs:n.map(e=>e.url),notUpdatedURLs:s}}async activate(){const e=await self.caches.open(this.o),t=await e.keys(),n=new Set(this.u.values()),s=[];for(const r of t)n.has(r.url)||(await e.delete(r),s.push(r.url));return{deletedURLs:s}}async p({cacheKey:e,url:t,cacheMode:s,event:r,plugins:i,integrity:o}){const c=new Request(t,{integrity:o,cache:s,credentials:"same-origin"});let a,u=await q({event:r,plugins:i,request:c});for(const e of i||[])"cacheWillUpdate"in e&&(a=e);if(!(a?await a.cacheWillUpdate({event:r,request:c,response:u}):u.status<400))throw new n("bad-precaching-response",{url:t,status:u.status});u.redirected&&(u=await U(u)),await R({event:r,plugins:i,response:u,request:e===t?c:new Request(e),cacheName:this.o,matchOptions:{ignoreSearch:!0}})}getURLsToCacheKeys(){return this.u}getCachedURLs(){return[...this.u.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this.u.get(t.href)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this.o)).match(n)}}createHandler(e=!0){return async({request:t})=>{try{const e=await this.matchPrecache(t);if(e)return e;throw new n("missing-precache-entry",{cacheName:this.o,url:t instanceof Request?t.url:t})}catch(n){if(e)return fetch(t);throw n}}}createHandlerBoundToURL(e,t=!0){if(!this.getCacheKeyForURL(e))throw new n("non-precached-url",{url:e});const s=this.createHandler(t),r=new Request(e);return()=>s({request:r})}}let N;const b=()=>(N||(N=new x),N);const M=(e,t)=>{const n=b().getURLsToCacheKeys();for(const s of function*(e,{ignoreURLParametersMatching:t,directoryIndex:n,cleanURLs:s,urlManipulation:r}={}){const i=new URL(e,location.href);i.hash="",yield i.href;const o=function(e,t=[]){for(const n of[...e.searchParams.keys()])t.some(e=>e.test(n))&&e.searchParams.delete(n);return e}(i,t);if(yield o.href,n&&o.pathname.endsWith("/")){const e=new URL(o.href);e.pathname+=n,yield e.href}if(s){const e=new URL(o.href);e.pathname+=".html",yield e.href}if(r){const e=r({url:i});for(const t of e)yield t.href}}(e,t)){const e=n.get(s);if(e)return e}};let O=!1;function E(e){O||((({ignoreURLParametersMatching:e=[/^utm_/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:s}={})=>{const r=f();self.addEventListener("fetch",i=>{const o=M(i.request.url,{cleanURLs:n,directoryIndex:t,ignoreURLParametersMatching:e,urlManipulation:s});if(!o)return;let c=self.caches.open(r).then(e=>e.match(o)).then(e=>e||fetch(o));i.respondWith(c)})})(e),O=!0)}const K=[],C={get:()=>K,add(e){K.push(...e)}},S=e=>{const t=b(),n=C.get();e.waitUntil(t.install({event:e,plugins:n}).catch(e=>{throw e}))},P=e=>{const t=b();e.waitUntil(t.activate())};e.CacheFirst=class{constructor(e={}){this.o=w(e.cacheName),this.g=e.plugins||[],this.R=e.fetchOptions,this.m=e.matchOptions}async handle({event:e,request:t}){"string"==typeof t&&(t=new Request(t));let s,r=await m({cacheName:this.o,request:t,event:e,matchOptions:this.m,plugins:this.g});if(!r)try{r=await this.q(t,e)}catch(e){s=e}if(!r)throw new n("no-response",{url:t.url,error:s});return r}async q(e,t){const n=await q({request:e,event:t,fetchOptions:this.R,plugins:this.g}),s=n.clone(),r=R({cacheName:this.o,request:e,response:s,event:t,plugins:this.g});if(t)try{t.waitUntil(r)}catch(e){}return n}},e.NavigationRoute=class extends r{constructor(e,{allowlist:t=[/./],denylist:n=[]}={}){super(e=>this.v(e),e),this.U=t,this.L=n}v({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const n=e.pathname+e.search;for(const e of this.L)if(e.test(n))return!1;return!!this.U.some(e=>e.test(n))}},e.clientsClaim=function(){self.addEventListener("activate",()=>self.clients.claim())},e.createHandlerBoundToURL=function(e){return b().createHandlerBoundToURL(e)},e.precacheAndRoute=function(e,t){!function(e){b().addToCacheList(e),e.length>0&&(self.addEventListener("install",S),self.addEventListener("activate",P))}(e),E(t)},e.registerRoute=function(e,t,s){let o;if("string"==typeof e){const n=new URL(e,location.href);o=new r(({url:e})=>e.href===n.href,t,s)}else if(e instanceof RegExp)o=new i(e,t,s);else if("function"==typeof e)o=new r(e,t,s);else{if(!(e instanceof r))throw new n("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return u().registerRoute(o),o},e.skipWaiting=function(){self.addEventListener("install",()=>self.skipWaiting())}}));
|
|
2
|
+
//# sourceMappingURL=workbox-1fb78e9e.js.map
|