-
Notifications
You must be signed in to change notification settings - Fork 0
/
Day 20- Documentation.postman_collection.json
320 lines (320 loc) · 91.8 KB
/
Day 20- Documentation.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
{
"info": {
"_postman_id": "0ca0d3da-6669-4705-9161-949238c76df7",
"name": "Day 20: Documentation",
"description": "## Instructions for Day 20: Documentation\n\n1. **Get the challenge:** Fork [the parent collection `Day 20: Documentation`](https://www.postman.com/postman/workspace/30-days-of-postman-for-developers/documentation/1559645-0f00502d-d2d8-45fc-bd69-0fbb68eb5733) from the main workspace to your own public workspace.\n2. **Read the documentation:** In your fork, select the first folder. Expand the context bar on the right to follow the instructions in the collection documentation.\n3. **Submit your solution:** Select the second folder `Submit your solution` and follow the instructions in the documentation to validate your solution.\n \n\n## Concepts covered\n\n* [Documenting your API](https://learning.postman.com/docs/publishing-your-api/documenting-your-api/)\n \n\n## Additional resources\n\n* [The Good Documentation checklist](https://blog.postman.com/postman-good-documentation-checklist/)\n* [The Ultimate API Publisher's Guide](https://medium.com/better-practices/the-ultimate-api-publishers-guide-be74a2692326)\n* [Documentation](https://www.tiktok.com/@joycejetson/video/7072797681902521643) tiktok\n \n\n## Next challenge\n\n* [WebSockets](https://www.postman.com/postman/workspace/30-days-of-postman-for-developers/documentation/1559645-8b2c3197-1df3-44ba-9687-eba60470d270)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "34709437",
"_collection_link": "https://www.postman.com/spacecraft-astronomer-43962887/workspace/postman-30-days-challenge/collection/34709437-0ca0d3da-6669-4705-9161-949238c76df7?action=share&source=collection_link&creator=34709437"
},
"item": [
{
"name": "Documentation",
"item": [
{
"name": "postman-api",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com",
"protocol": "https",
"host": [
"postman-echo",
"com"
]
},
"description": "Postman api - please see docs [here](https://postman-echo.com)"
},
"response": [
{
"name": "postman-echo",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com",
"protocol": "https",
"host": [
"postman-echo",
"com"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "html",
"header": [
{
"key": "Date",
"value": "Sun, 23 Jun 2024 22:58:17 GMT"
},
{
"key": "Content-Type",
"value": "text/html"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "vary",
"value": "Accept-Encoding"
},
{
"key": "content-security-policy",
"value": "default-src 'self' *.postman.co *.postman.com *.pstmn.io; base-uri 'self'; font-src 'self' data: *.getpostman.com *.postman.co *.cdn.postman.com fonts.gstatic.com www.postman.com fonts.googleapis.com cdnjs.cloudflare.com; frame-ancestors 'none'; frame-src looker.postman.co dl-preview-container.pstmn.io js.stripe.com hooks.stripe.com chart-embed.service.newrelic.com https://app.datadoghq.com/graph/embed https://app.datadoghq.eu/graph/embed https://youtube.com https://www.youtube.com https://player.vimeo.com https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/ https://accounts.google.com/ https://runtime-assets.pstmn.io/; child-src 'self' *.postman.co *.postman.com blob:; worker-src 'self' *.postman.co *.cdn.postman.com blob:; object-src 'self'; img-src https: data:; media-src 'self' https://flows-assets.pstmn.io/; script-src 'self' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' *.nr-data.net *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io code.jquery.com google-analytics.com www.postman.com postman.com googletagmanager.com ssl.google-analytics.com cdnjs.cloudflare.com https://bi.pst.tech js-agent.newrelic.com js.stripe.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'nonce-w0Nbhqo5PU47fJuZvfuGYA=='; style-src 'self' 'unsafe-inline' *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io www.postman.com fonts.gstatic.com fonts.googleapis.com tagmanager.google.com cdnjs.cloudflare.com postman.com accounts.google.com; connect-src https://api.stripe.com http: ws://localhost:10533 https: wss://*.postman.co wss://*.gw.postman.co wss://*.gw.eu.postman.co wss://*.gw.postman.com wss://*.gw.eu.postman.com; report-uri https://sentry.postmanlabs.com/api/572/security/?sentry_key=9d37d7431bdc4c528702ec4d89fc93f7&sentry_environment=production"
},
{
"key": "x-content-security-policy",
"value": "default-src 'self' *.postman.co *.postman.com *.pstmn.io; base-uri 'self'; font-src 'self' data: *.getpostman.com *.postman.co *.cdn.postman.com fonts.gstatic.com www.postman.com fonts.googleapis.com cdnjs.cloudflare.com; frame-ancestors 'none'; frame-src looker.postman.co dl-preview-container.pstmn.io js.stripe.com hooks.stripe.com chart-embed.service.newrelic.com https://app.datadoghq.com/graph/embed https://app.datadoghq.eu/graph/embed https://youtube.com https://www.youtube.com https://player.vimeo.com https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/ https://accounts.google.com/ https://runtime-assets.pstmn.io/; child-src 'self' *.postman.co *.postman.com blob:; worker-src 'self' *.postman.co *.cdn.postman.com blob:; object-src 'self'; img-src https: data:; media-src 'self' https://flows-assets.pstmn.io/; script-src 'self' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' *.nr-data.net *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io code.jquery.com google-analytics.com www.postman.com postman.com googletagmanager.com ssl.google-analytics.com cdnjs.cloudflare.com https://bi.pst.tech js-agent.newrelic.com js.stripe.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'nonce-w0Nbhqo5PU47fJuZvfuGYA=='; style-src 'self' 'unsafe-inline' *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io www.postman.com fonts.gstatic.com fonts.googleapis.com tagmanager.google.com cdnjs.cloudflare.com postman.com accounts.google.com; connect-src https://api.stripe.com http: ws://localhost:10533 https: wss://*.postman.co wss://*.gw.postman.co wss://*.gw.eu.postman.co wss://*.gw.postman.com wss://*.gw.eu.postman.com; report-uri https://sentry.postmanlabs.com/api/572/security/?sentry_key=9d37d7431bdc4c528702ec4d89fc93f7&sentry_environment=production"
},
{
"key": "x-webkit-csp",
"value": "default-src 'self' *.postman.co *.postman.com *.pstmn.io; base-uri 'self'; font-src 'self' data: *.getpostman.com *.postman.co *.cdn.postman.com fonts.gstatic.com www.postman.com fonts.googleapis.com cdnjs.cloudflare.com; frame-ancestors 'none'; frame-src looker.postman.co dl-preview-container.pstmn.io js.stripe.com hooks.stripe.com chart-embed.service.newrelic.com https://app.datadoghq.com/graph/embed https://app.datadoghq.eu/graph/embed https://youtube.com https://www.youtube.com https://player.vimeo.com https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/ https://accounts.google.com/ https://runtime-assets.pstmn.io/; child-src 'self' *.postman.co *.postman.com blob:; worker-src 'self' *.postman.co *.cdn.postman.com blob:; object-src 'self'; img-src https: data:; media-src 'self' https://flows-assets.pstmn.io/; script-src 'self' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' *.nr-data.net *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io code.jquery.com google-analytics.com www.postman.com postman.com googletagmanager.com ssl.google-analytics.com cdnjs.cloudflare.com https://bi.pst.tech js-agent.newrelic.com js.stripe.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'nonce-w0Nbhqo5PU47fJuZvfuGYA=='; style-src 'self' 'unsafe-inline' *.getpostman.com *.postman.co *.cdn.postman.com *.pstmn.io www.postman.com fonts.gstatic.com fonts.googleapis.com tagmanager.google.com cdnjs.cloudflare.com postman.com accounts.google.com; connect-src https://api.stripe.com http: ws://localhost:10533 https: wss://*.postman.co wss://*.gw.postman.co wss://*.gw.eu.postman.co wss://*.gw.postman.com wss://*.gw.eu.postman.com; report-uri https://sentry.postmanlabs.com/api/572/security/?sentry_key=9d37d7431bdc4c528702ec4d89fc93f7&sentry_environment=production"
},
{
"key": "x-frame-options",
"value": "DENY"
},
{
"key": "strict-transport-security",
"value": "max-age=15552000; includeSubDomains; preload"
},
{
"key": "x-content-type-options",
"value": "nosniff"
},
{
"key": "referrer-policy",
"value": "no-referrer-when-downgrade"
},
{
"key": "x-xss-protection",
"value": "1; mode=block"
},
{
"key": "set-cookie",
"value": "_SERVICE_PUB_ID=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "Cache-Control",
"value": "no-store"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "x-cache",
"value": "Miss from cloudfront"
},
{
"key": "via",
"value": "1.1 56ac4d409ea3c91f84bc0c30648a1434.cloudfront.net (CloudFront)"
},
{
"key": "x-amz-cf-pop",
"value": "LHR50-P8"
},
{
"key": "x-amz-cf-id",
"value": "aw-eJfZ_r7dXvpnjRUEkvUq9AbKtan3EPL1GZp4ElYpb2X6qtH7KpA=="
},
{
"key": "CF-Cache-Status",
"value": "DYNAMIC"
},
{
"key": "Set-Cookie",
"value": "_SERVICE_PUB_ID=; Domain=www.postman.com; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "Set-Cookie",
"value": "postman.sid=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "Set-Cookie",
"value": "postman.sid=; Domain=www.postman.com; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "Set-Cookie",
"value": "__cf_bm=C7jTagFzj3Yv38S.nVkekqBjx43OfgQIWjIdt3B595A-1719183497-1.0.1.1-MuLxpMJTOBxudk2NaWAcZ1B67tVjrAK_f9oOU1C6bOEEtQZZWa_7jKwg66rUidNu1J4XT4G5yVhuRfkKkn.Eag; path=/; expires=Sun, 23-Jun-24 23:28:17 GMT; domain=.postman.com; HttpOnly; Secure; SameSite=None"
},
{
"key": "Set-Cookie",
"value": "_cfuvid=.H0dTvDJ1b_jTmWDwVnQajhuGlXwp88QtQodi49JXto-1719183497392-0.0.1.1-604800000; path=/; domain=.postman.com; HttpOnly; Secure; SameSite=None"
},
{
"key": "Server",
"value": "cloudflare"
},
{
"key": "CF-RAY",
"value": "898814f8fd29946b-LHR"
}
],
"cookie": [],
"body": "<!DOCTYPE html>\n<html lang=\"en-US\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Postman</title>\n <!-- New Relic Integration -->\n <script type=\"text/javascript\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n ;window.NREUM||(NREUM={});NREUM.init={distributed_tracing:{enabled:true,exclude_newrelic_header:true,cors_use_newrelic_header:false,cors_use_tracecontext_headers:true,allowed_origins:['https://bifrost-web-public-https.gw.postman.com']},privacy:{cookies_enabled:false},ajax:{deny_list:[\"bam.nr-data.net\"]}};\n window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if(\"function\"==typeof __nr_require)return __nr_require;for(var o=0;o\n <n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{s.console&&console.log(t)}catch(e){}}var o,i=t(\"ee\"),a=t(31),s={};try{o=localStorage.getItem(\"__nr_flags\").split(\",\"),console&&\"function\"==typeof console.log&&(s.console=!0,o.indexOf(\"dev\")!==-1&&(s.dev=!0),o.indexOf(\"nr_dev\")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on(\"internal-error\",function(t){r(t.stack)}),s.dev&&i.on(\"fn-err\",function(t,e,n){r(n.stack)}),s.dev&&(r(\"NR AGENT IN DEVELOPMENT MODE\"),r(\"flags: \"+a(s,function(t,e){return t}).join(\", \")))},{}],2:[function(t,e,n){function r(t,e,n,r,s){try{l?l-=1:o(s||new UncaughtException(t,e,n),!0)}catch(f){try{i(\"ierr\",[f,c.now(),!0])}catch(d){}}return\"function\"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||\"Uncaught error with no additional information\",this.sourceURL=e,this.line=n}function o(t,e){var n=e?null:c.now();i(\"err\",[t,n])}var i=t(\"handle\"),a=t(32),s=t(\"ee\"),c=t(\"loader\"),f=t(\"gos\"),u=window.onerror,d=!1,p=\"nr@seenError\";if(!c.disabled){var l=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){\"stack\"in h&&(t(14),t(13),\"addEventListener\"in window&&t(7),c.xhrWrappable&&t(15),d=!0)}s.on(\"fn-start\",function(t,e,n){d&&(l+=1)}),s.on(\"fn-err\",function(t,e,n){d&&!n[p]&&(f(n,p,function(){return!0}),this.thrown=!0,o(n))}),s.on(\"fn-end\",function(){d&&!this.thrown&&l>0&&(l-=1)}),s.on(\"internal-error\",function(t){i(\"ierr\",[t,c.now(),!0])})}},{}],3:[function(t,e,n){var r=t(\"loader\");r.disabled||(r.features.ins=!0)},{}],4:[function(t,e,n){function r(){U++,L=g.hash,this[u]=y.now()}function o(){U--,g.hash!==L&&i(0,!0);var t=y.now();this[h]=~~this[h]+t-this[u],this[d]=t}function i(t,e){E.emit(\"newURL\",[\"\"+g,e])}function a(t,e){t.on(e,function(){this[e]=y.now()})}var s=\"-start\",c=\"-end\",f=\"-body\",u=\"fn\"+s,d=\"fn\"+c,p=\"cb\"+s,l=\"cb\"+c,h=\"jsTime\",m=\"fetch\",v=\"addEventListener\",w=window,g=w.location,y=t(\"loader\");if(w[v]&&y.xhrWrappable&&!y.disabled){var x=t(11),b=t(12),E=t(9),R=t(7),O=t(14),T=t(8),S=t(15),P=t(10),M=t(\"ee\"),C=M.get(\"tracer\"),N=t(23);t(17),y.features.spa=!0;var L,U=0;M.on(u,r),b.on(p,r),P.on(p,r),M.on(d,o),b.on(l,o),P.on(l,o),M.buffer([u,d,\"xhr-resolved\"]),R.buffer([u]),O.buffer([\"setTimeout\"+c,\"clearTimeout\"+s,u]),S.buffer([u,\"new-xhr\",\"send-xhr\"+s]),T.buffer([m+s,m+\"-done\",m+f+s,m+f+c]),E.buffer([\"newURL\"]),x.buffer([u]),b.buffer([\"propagate\",p,l,\"executor-err\",\"resolve\"+s]),C.buffer([u,\"no-\"+u]),P.buffer([\"new-jsonp\",\"cb-start\",\"jsonp-error\",\"jsonp-end\"]),a(T,m+s),a(T,m+\"-done\"),a(P,\"new-jsonp\"),a(P,\"jsonp-end\"),a(P,\"cb-start\"),E.on(\"pushState-end\",i),E.on(\"replaceState-end\",i),w[v](\"hashchange\",i,N(!0)),w[v](\"load\",i,N(!0)),w[v](\"popstate\",function(){i(0,U>1)},N(!0))}},{}],5:[function(t,e,n){function r(){var t=new PerformanceObserver(function(t,e){var n=t.getEntries();s(v,[n])});try{t.observe({entryTypes:[\"resource\"]})}catch(e){}}function o(t){if(s(v,[window.performance.getEntriesByType(w)]),window.performance[\"c\"+p])try{window.performance[h](m,o,!1)}catch(t){}else try{window.performance[h](\"webkit\"+m,o,!1)}catch(t){}}function i(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var a=t(\"ee\"),s=t(\"handle\"),c=t(14),f=t(13),u=t(6),d=t(23),p=\"learResourceTimings\",l=\"addEventListener\",h=\"removeEventListener\",m=\"resourcetimingbufferfull\",v=\"bstResource\",w=\"resource\",g=\"-start\",y=\"-end\",x=\"fn\"+g,b=\"fn\"+y,E=\"bstTimer\",R=\"pushState\",O=t(\"loader\");if(!O.disabled){O.features.stn=!0,t(9),\"addEventListener\"in window&&t(7);var T=NREUM.o.EV;a.on(x,function(t,e){var n=t[0];n instanceof T&&(this.bstStart=O.now())}),a.on(b,function(t,e){var n=t[0];n instanceof T&&s(\"bst\",[n,e,this.bstStart,O.now()])}),c.on(x,function(t,e,n){this.bstStart=O.now(),this.bstType=n}),c.on(b,function(t,e){s(E,[e,this.bstStart,O.now(),this.bstType])}),f.on(x,function(){this.bstStart=O.now()}),f.on(b,function(t,e){s(E,[e,this.bstStart,O.now(),\"requestAnimationFrame\"])}),a.on(R+g,function(t){this.time=O.now(),this.startPath=location.pathname+location.hash}),a.on(R+y,function(t){s(\"bstHist\",[location.pathname+location.hash,this.startPath,this.time])}),u()?(s(v,[window.performance.getEntriesByType(\"resource\")]),r()):l in window.performance&&(window.performance[\"c\"+p]?window.performance[l](m,o,d(!1)):window.performance[l](\"webkit\"+m,o,d(!1))),document[l](\"scroll\",i,d(!1)),document[l](\"keypress\",i,d(!1)),document[l](\"click\",i,d(!1))}}},{}],6:[function(t,e,n){e.exports=function(){return\"PerformanceObserver\"in window&&\"function\"==typeof window.PerformanceObserver}},{}],7:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){s.inPlace(t,[u,d],\"-\",i)}function i(t,e){return t[1]}var a=t(\"ee\").get(\"events\"),s=t(\"wrap-function\")(a,!0),c=t(\"gos\"),f=XMLHttpRequest,u=\"addEventListener\",d=\"removeEventListener\";e.exports=a,\"getPrototypeOf\"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+\"-start\",function(t,e){var n=t[1];if(null!==n&&(\"function\"==typeof n||\"object\"==typeof n)){var r=c(n,\"nr@wrapped\",function(){function t(){if(\"function\"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,\"function\":n}[typeof n];return e?s(e,\"fn-\",null,e.name||\"anonymous\"):n});this.wrapped=t[1]=r}}),a.on(d+\"-start\",function(t){t[1]=this.wrapped||t[1]})},{}],8:[function(t,e,n){function r(t,e,n){var r=t[e];\"function\"==typeof r&&(t[e]=function(){var t=i(arguments),e={};o.emit(n+\"before-start\",[t],e);var a;e[m]&&e[m].dt&&(a=e[m].dt);var s=r.apply(this,t);return o.emit(n+\"start\",[t,a],s),s.then(function(t){return o.emit(n+\"end\",[null,t],s),t},function(t){throw o.emit(n+\"end\",[t],s),t})})}var o=t(\"ee\").get(\"fetch\"),i=t(32),a=t(31);e.exports=o;var s=window,c=\"fetch-\",f=c+\"body-\",u=[\"arrayBuffer\",\"blob\",\"json\",\"text\",\"formData\"],d=s.Request,p=s.Response,l=s.fetch,h=\"prototype\",m=\"nr@context\";d&&p&&l&&(a(u,function(t,e){r(d[h],e,f),r(p[h],e,f)}),r(s,\"fetch\",c),o.on(c+\"end\",function(t,e){var n=this;if(e){var r=e.headers.get(\"content-length\");null!==r&&(n.rxSize=r),o.emit(c+\"done\",[null,e],n)}else o.emit(c+\"done\",[t],n)}))},{}],9:[function(t,e,n){var r=t(\"ee\").get(\"history\"),o=t(\"wrap-function\")(r);e.exports=r;var i=window.history&&window.history.constructor&&window.history.constructor.prototype,a=window.history;i&&i.pushState&&i.replaceState&&(a=i),o.inPlace(a,[\"pushState\",\"replaceState\"],\"-\")},{}],10:[function(t,e,n){function r(t){function e(){f.emit(\"jsonp-end\",[],l),t.removeEventListener(\"load\",e,c(!1)),t.removeEventListener(\"error\",n,c(!1))}function n(){f.emit(\"jsonp-error\",[],l),f.emit(\"jsonp-end\",[],l),t.removeEventListener(\"load\",e,c(!1)),t.removeEventListener(\"error\",n,c(!1))}var r=t&&\"string\"==typeof t.nodeName&&\"script\"===t.nodeName.toLowerCase();if(r){var o=\"function\"==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var d=s(a),p=\"function\"==typeof d.parent[d.key];if(p){var l={};u.inPlace(d.parent,[d.key],\"cb-\",l),t.addEventListener(\"load\",e,c(!1)),t.addEventListener(\"error\",n,c(!1)),f.emit(\"new-jsonp\",[t.src],l)}}}}}function o(){return\"addEventListener\"in window}function i(t){var e=t.match(d);return e?e[1]:null}function a(t,e){var n=t.match(l),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}function s(t){var e=t.match(p);return e&&e.length>=3?{key:e[2],parent:a(e[1],window)}:{key:t,parent:window}}var c=t(23),f=t(\"ee\").get(\"jsonp\"),u=t(\"wrap-function\")(f);if(e.exports=f,o()){var d=/[?&](?:callback|cb)=([^&#]+)/,p=/(.*)\\.([^.]+)/,l=/^(\\w+)(\\.|$)(.*)$/,h=[\"appendChild\",\"insertBefore\",\"replaceChild\"];Node&&Node.prototype&&Node.prototype.appendChild?u.inPlace(Node.prototype,h,\"dom-\"):(u.inPlace(HTMLElement.prototype,h,\"dom-\"),u.inPlace(HTMLHeadElement.prototype,h,\"dom-\"),u.inPlace(HTMLBodyElement.prototype,h,\"dom-\")),f.on(\"dom-start\",function(t){r(t[0])})}},{}],11:[function(t,e,n){var r=t(\"ee\").get(\"mutation\"),o=t(\"wrap-function\")(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,\"fn-\")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],12:[function(t,e,n){function r(t){var e=i.context(),n=s(t,\"executor-\",e,null,!1),r=new f(n);return i.context(r).getCtx=function(){return e},r}var o=t(\"wrap-function\"),i=t(\"ee\").get(\"promise\"),a=t(\"ee\").getOrSetContext,s=o(i),c=t(31),f=NREUM.o.PR;e.exports=i,f&&(window.Promise=r,[\"all\",\"race\"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){i.emit(\"propagate\",[null,!o],a,!1,!1),o=o||!t}}var o=!1;c(n,function(e,n){Promise.resolve(n).then(r(\"all\"===t),r(!1))});var a=e.apply(f,arguments),s=f.resolve(a);return s}}),[\"resolve\",\"reject\"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&i.emit(\"propagate\",[t,!0],n,!1,!1),n}}),f.prototype[\"catch\"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),c(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),o.wrapInPlace(f.prototype,\"then\",function(t){return function(){var e=this,n=o.argsToArray.apply(this,arguments),r=a(e);r.promise=e,n[0]=s(n[0],\"cb-\",r,null,!1),n[1]=s(n[1],\"cb-\",r,null,!1);var c=t.apply(this,n);return r.nextPromise=c,i.emit(\"propagate\",[e,!0],c,!1,!1),c}}),i.on(\"executor-start\",function(t){t[0]=s(t[0],\"resolve-\",this,null,!1),t[1]=s(t[1],\"resolve-\",this,null,!1)}),i.on(\"executor-err\",function(t,e,n){t[1](n)}),i.on(\"cb-end\",function(t,e,n){i.emit(\"propagate\",[n,!0],this.nextPromise,!1,!1)}),i.on(\"propagate\",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=i.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return\"\"+f})},{}],13:[function(t,e,n){var r=t(\"ee\").get(\"raf\"),o=t(\"wrap-function\")(r),i=\"equestAnimationFrame\";e.exports=r,o.inPlace(window,[\"r\"+i,\"mozR\"+i,\"webkitR\"+i,\"msR\"+i],\"raf-\"),r.on(\"raf-start\",function(t){t[0]=o(t[0],\"fn-\")})},{}],14:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],\"fn-\",null,n)}function o(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],\"fn-\",this,n)}var i=t(\"ee\").get(\"timer\"),a=t(\"wrap-function\")(i),s=\"setTimeout\",c=\"setInterval\",f=\"clearTimeout\",u=\"-start\",d=\"-\";e.exports=i,a.inPlace(window,[s,\"setImmediate\"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,\"clearImmediate\"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],15:[function(t,e,n){function r(t,e){d.inPlace(e,[\"onreadystatechange\"],\"fn-\",s)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit(\"xhr-resolved\",[],t)),d.inPlace(t,y,\"fn-\",s)}function i(t){x.push(t),m&&(E?E.then(a):w?w(a):(R=-R,O.data=R))}function a(){for(var t=0;t\n <x.length;t++)r([],x[t]);x.length&&(x=[])}function s(t,e){return e}function c(t,e){for(var n in t)e[n]=t[n];return e}t(7);var f=t(\"ee\"),u=f.get(\"xhr\"),d=t(\"wrap-function\")(u),p=t(23),l=NREUM.o,h=l.XHR,m=l.MO,v=l.PR,w=l.SI,g=\"readystatechange\",y=[\"onload\",\"onerror\",\"onabort\",\"onloadstart\",\"onloadend\",\"onprogress\",\"ontimeout\"],x=[];e.exports=u;var b=window.XMLHttpRequest=function(t){var e=new h(t);try{u.emit(\"new-xhr\",[e],e),e.addEventListener(g,o,p(!1))}catch(n){try{u.emit(\"internal-error\",[n])}catch(r){}}return e};if(c(h,b),b.prototype=h.prototype,d.inPlace(b.prototype,[\"open\",\"send\"],\"-xhr-\",s),u.on(\"send-xhr-start\",function(t,e){r(t,e),i(e)}),u.on(\"open-xhr-start\",r),m){var E=v&&v.resolve();if(!w&&!v){var R=1,O=document.createTextNode(R);new m(a).observe(O,{characterData:!0})}}else f.on(\"fn-end\",function(t){t[0]&&t[0].type===g||a()})},{}],16:[function(t,e,n){function r(t){if(!s(t))return null;var e=window.NREUM;if(!e.loader_config)return null;var n=(e.loader_config.accountID||\"\").toString()||null,r=(e.loader_config.agentID||\"\").toString()||null,f=(e.loader_config.trustKey||\"\").toString()||null;if(!n||!r)return null;var h=l.generateSpanId(),m=l.generateTraceId(),v=Date.now(),w={spanId:h,traceId:m,timestamp:v};return(t.sameOrigin||c(t)&&p())&&(w.traceContextParentHeader=o(h,m),w.traceContextStateHeader=i(h,v,n,r,f)),(t.sameOrigin&&!u()||!t.sameOrigin&&c(t)&&d())&&(w.newrelicHeader=a(h,m,v,n,r,f)),w}function o(t,e){return\"00-\"+e+\"-\"+t+\"-01\"}function i(t,e,n,r,o){var i=0,a=\"\",s=1,c=\"\",f=\"\";return o+\"@nr=\"+i+\"-\"+s+\"-\"+n+\"-\"+r+\"-\"+t+\"-\"+a+\"-\"+c+\"-\"+f+\"-\"+e}function a(t,e,n,r,o,i){var a=\"btoa\"in window&&\"function\"==typeof window.btoa;if(!a)return null;var s={v:[0,1],d:{ty:\"Browser\",ac:r,ap:o,id:t,tr:e,ti:n}};return i&&r!==i&&(s.d.tk=i),btoa(JSON.stringify(s))}function s(t){return f()&&c(t)}function c(t){var e=!1,n={};if(\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&(n=NREUM.init.distributed_tracing),t.sameOrigin)e=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r\n <n.allowed_origins.length;r++){var o=h(n.allowed_origins[r]);if(t.hostname===o.hostname&&t.protocol===o.protocol&&t.port===o.port){e=!0;break}}return e}function f(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.enabled}function u(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.exclude_newrelic_header}function d(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&NREUM.init.distributed_tracing.cors_use_newrelic_header!==!1}function p(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.cors_use_tracecontext_headers}var l=t(28),h=t(18);e.exports={generateTracePayload:r,shouldGenerateTrace:s}},{}],17:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r\n <p;r++)t.removeEventListener(d[r],this.listener,!1);return e.protocol&&\"data\"===e.protocol?void g(\"Ajax/DataUrl/Excluded\"):void(e.aborted||(n.duration=a.now()-this.startTime,this.loadCaptureCalled||4!==t.readyState?null==e.status&&(e.status=0):i(this,t),n.cbTime=this.cbTime,s(\"xhr\",[e,n,this.startTime,this.endTime,\"xhr\"],this)))}}function o(t,e){var n=c(e),r=t.params;r.hostname=n.hostname,r.port=n.port,r.protocol=n.protocol,r.host=n.hostname+\":\"+n.port,r.pathname=n.pathname,t.parsedOrigin=n,t.sameOrigin=n.sameOrigin}function i(t,e){t.params.status=e.status;var n=v(e,t.lastSize);if(n&&(t.metrics.rxSize=n),t.sameOrigin){var r=e.getResponseHeader(\"X-NewRelic-App-Data\");r&&(t.params.cat=r.split(\", \").pop())}t.loadCaptureCalled=!0}var a=t(\"loader\");if(a.xhrWrappable&&!a.disabled){var s=t(\"handle\"),c=t(18),f=t(16).generateTracePayload,u=t(\"ee\"),d=[\"load\",\"error\",\"abort\",\"timeout\"],p=d.length,l=t(\"id\"),h=t(24),m=t(22),v=t(19),w=t(23),g=t(25).recordSupportability,y=NREUM.o.REQ,x=window.XMLHttpRequest;a.features.xhr=!0,t(15),t(8),u.on(\"new-xhr\",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,e.loadCaptureCalled=!1,e.params=this.params||{},e.metrics=this.metrics||{},t.addEventListener(\"load\",function(n){i(e,t)},w(!1)),h&&(h>34||h\n <10)||t.addEventListener(\"progress\",function(t){e.lastSize=t.loaded},w(!1))}),u.on(\"open-xhr-start\",function(t){this.params={method:t[0]},o(this,t[1]),this.metrics={}}),u.on(\"open-xhr-end\",function(t,e){\"loader_config\"in NREUM&&\"xpid\"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader(\"X-NewRelic-ID\",NREUM.loader_config.xpid);var n=f(this.parsedOrigin);if(n){var r=!1;n.newrelicHeader&&(e.setRequestHeader(\"newrelic\",n.newrelicHeader),r=!0),n.traceContextParentHeader&&(e.setRequestHeader(\"traceparent\",n.traceContextParentHeader),n.traceContextStateHeader&&e.setRequestHeader(\"tracestate\",n.traceContextStateHeader),r=!0),r&&(this.dt=n)}}),u.on(\"send-xhr-start\",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=m(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{\"abort\"!==t.type||o.loadCaptureCalled||(o.params.aborted=!0),(\"load\"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||\"function\"!=typeof e.onload))&&o.end(e)}catch(n){try{u.emit(\"internal-error\",[n])}catch(r){}}};for(var s=0;s\n <p;s++)e.addEventListener(d[s],this.listener,w(!1))}),u.on(\"xhr-cb-time\",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&\"function\"==typeof n.onload||this.end(n)}),u.on(\"xhr-load-added\",function(t,e){var n=\"\"+l(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),u.on(\"xhr-load-removed\",function(t,e){var n=\"\"+l(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),u.on(\"xhr-resolved\",function(){this.endTime=a.now()}),u.on(\"addEventListener-end\",function(t,e){e instanceof x&&\"load\"===t[0]&&u.emit(\"xhr-load-added\",[t[1],t[2]],e)}),u.on(\"removeEventListener-end\",function(t,e){e instanceof x&&\"load\"===t[0]&&u.emit(\"xhr-load-removed\",[t[1],t[2]],e)}),u.on(\"fn-start\",function(t,e,n){e instanceof x&&(\"onload\"===n&&(this.onload=!0),(\"load\"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),u.on(\"fn-end\",function(t,e){this.xhrCbStart&&u.emit(\"xhr-cb-time\",[a.now()-this.xhrCbStart,this.onload,e],e)}),u.on(\"fetch-before-start\",function(t){function e(t,e){var n=!1;return e.newrelicHeader&&(t.set(\"newrelic\",e.newrelicHeader),n=!0),e.traceContextParentHeader&&(t.set(\"traceparent\",e.traceContextParentHeader),e.traceContextStateHeader&&t.set(\"tracestate\",e.traceContextStateHeader),n=!0),n}var n,r=t[1]||{};\"string\"==typeof t[0]?n=t[0]:t[0]&&t[0].url?n=t[0].url:window.URL&&t[0]&&t[0]instanceof URL&&(n=t[0].href),n&&(this.parsedOrigin=c(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var o=f(this.parsedOrigin);if(o&&(o.newrelicHeader||o.traceContextParentHeader))if(\"string\"==typeof t[0]||window.URL&&t[0]&&t[0]instanceof URL){var i={};for(var a in r)i[a]=r[a];i.headers=new Headers(r.headers||{}),e(i.headers,o)&&(this.dt=o),t.length>1?t[1]=i:t.push(i)}else t[0]&&t[0].headers&&e(t[0].headers,o)&&(this.dt=o)}),u.on(\"fetch-start\",function(t,e){this.params={},this.metrics={},this.startTime=a.now(),this.dt=e,t.length>=1&&(this.target=t[0]),t.length>=2&&(this.opts=t[1]);var n,r=this.opts||{},i=this.target;if(\"string\"==typeof i?n=i:\"object\"==typeof i&&i instanceof y?n=i.url:window.URL&&\"object\"==typeof i&&i instanceof URL&&(n=i.href),o(this,n),\"data\"!==this.params.protocol){var s=(\"\"+(i&&i instanceof y&&i.method||r.method||\"GET\")).toUpperCase();this.params.method=s,this.txSize=m(r.body)||0}}),u.on(\"fetch-done\",function(t,e){if(this.endTime=a.now(),this.params||(this.params={}),\"data\"===this.params.protocol)return void g(\"Ajax/DataUrl/Excluded\");this.params.status=e?e.status:0;var n;\"string\"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var r={txSize:this.txSize,rxSize:n,duration:a.now()-this.startTime};s(\"xhr\",[this.params,r,this.startTime,this.endTime,\"fetch\"],this)})}},{}],18:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];if(0===(t||\"\").indexOf(\"data:\"))return{protocol:\"data\"};var e=document.createElement(\"a\"),n=window.location,o={};e.href=t,o.port=e.port;var i=e.href.split(\"://\");!o.port&&i[1]&&(o.port=i[1].split(\"/\")[0].split(\"@\").pop().split(\":\")[1]),o.port&&\"0\"!==o.port||(o.port=\"https\"===i[0]?\"443\":\"80\"),o.hostname=e.hostname||n.hostname,o.pathname=e.pathname,o.protocol=i[0],\"/\"!==o.pathname.charAt(0)&&(o.pathname=\"/\"+o.pathname);var a=!e.protocol||\":\"===e.protocol||e.protocol===n.protocol,s=e.hostname===document.domain&&e.port===n.port;return o.sameOrigin=a&&(!e.hostname||s),\"/\"===o.pathname&&(r[t]=o),o}},{}],19:[function(t,e,n){function r(t,e){var n=t.responseType;return\"json\"===n&&null!==e?e:\"arraybuffer\"===n||\"blob\"===n||\"json\"===n?o(t.response):\"text\"===n||\"\"===n||void 0===n?o(t.responseText):void 0}var o=t(22);e.exports=r},{}],20:[function(t,e,n){function r(){}function o(t,e,n,r){return function(){return u.recordSupportability(\"API/\"+e+\"/called\"),i(t+e,[f.now()].concat(s(arguments)),n?null:this,r),n?void 0:this}}var i=t(\"handle\"),a=t(31),s=t(32),c=t(\"ee\").get(\"tracer\"),f=t(\"loader\"),u=t(25),d=NREUM;\"undefined\"==typeof window.newrelic&&(newrelic=d);var p=[\"setPageViewName\",\"setCustomAttribute\",\"setErrorHandler\",\"finished\",\"addToTrace\",\"inlineHit\",\"addRelease\"],l=\"api-\",h=l+\"ixn-\";a(p,function(t,e){d[e]=o(l,e,!0,\"api\")}),d.addPageAction=o(l,\"addPageAction\",!0),d.setCurrentRouteName=o(l,\"routeName\",!0),e.exports=newrelic,d.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(t,e){var n={},r=this,o=\"function\"==typeof e;return i(h+\"tracer\",[f.now(),t,n],r),function(){if(c.emit((o?\"\":\"no-\")+\"fn-start\",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}catch(t){throw c.emit(\"fn-err\",[arguments,this,t],n),t}finally{c.emit(\"fn-end\",[f.now()],n)}}}};a(\"actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get\".split(\",\"),function(t,e){m[e]=o(h,e)}),newrelic.noticeError=function(t,e){\"string\"==typeof t&&(t=new Error(t)),u.recordSupportability(\"API/noticeError/called\"),i(\"err\",[t,f.now(),!1,e])}},{}],21:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split(\".\"),r=0;r\n <n.length-1;r++)if(e=e[n[r]],\"object\"!=typeof e)return;return e=e[n[n.length-1]]}}e.exports={getConfiguration:r}},{}],22:[function(t,e,n){e.exports=function(t){if(\"string\"==typeof t&&t.length)return t.length;if(\"object\"==typeof t){if(\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if(\"undefined\"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!(\"undefined\"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],23:[function(t,e,n){var r=!1;try{var o=Object.defineProperty({},\"passive\",{get:function(){r=!0}});window.addEventListener(\"testPassive\",null,o),window.removeEventListener(\"testPassive\",null,o)}catch(i){}e.exports=function(t){return r?{passive:!0,capture:!!t}:!!t}},{}],24:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\\/\\s](\\d+\\.\\d+)/);o&&(r=+o[1]),e.exports=r},{}],25:[function(t,e,n){function r(t,e){var n=[a,t,{name:t},e];return i(\"storeMetric\",n,null,\"api\"),n}function o(t,e){var n=[s,t,{name:t},e];return i(\"storeEventMetrics\",n,null,\"api\"),n}var i=t(\"handle\"),a=\"sm\",s=\"cm\";e.exports={constants:{SUPPORTABILITY_METRIC:a,CUSTOM_METRIC:s},recordSupportability:r,recordCustom:o}},{}],26:[function(t,e,n){function r(){return s.exists&&performance.now?Math.round(performance.now()):(i=Math.max((new Date).getTime(),i))-a}function o(){return i}var i=(new Date).getTime(),a=i,s=t(33);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=o},{}],27:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){\"first-paint\"===t.name?l(\"timing\",[\"fp\",Math.floor(t.startTime)]):\"first-contentful-paint\"===t.name&&l(\"timing\",[\"fcp\",Math.floor(t.startTime)])})}function o(t,e){var n=t.getEntries();if(n.length>0){var r=n[n.length-1];if(f&&f\n <r.startTime)return;var o=[r],i=a({});i&&o.push(i),l(\"lcp\",o)}}function i(t){t.getEntries().forEach(function(t){t.hadRecentInput||l(\"cls\",[t])})}function a(t){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(e)return e.type&&(t[\"net-type\"]=e.type),e.effectiveType&&(t[\"net-etype\"]=e.effectiveType),e.rtt&&(t[\"net-rtt\"]=e.rtt),e.downlink&&(t[\"net-dlink\"]=e.downlink),t}function s(t){if(t instanceof w&&!y){var e=Math.round(t.timeStamp),n={type:t.type};a(n),e<=h.now()?n.fid=h.now()-e:e>h.offset&&e<=Date.now()?(e-=h.offset,n.fid=h.now()-e):e=h.now(),y=!0,l(\"timing\",[\"fi\",e,n])}}function c(t){\"hidden\"===t&&(f=h.now(),l(\"pageHide\",[f]))}if(!(\"init\"in NREUM&&\"page_view_timing\"in NREUM.init&&\"enabled\"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var f,u,d,p,l=t(\"handle\"),h=t(\"loader\"),m=t(30),v=t(23),w=NREUM.o.EV;if(\"PerformanceObserver\"in window&&\"function\"==typeof window.PerformanceObserver){u=new PerformanceObserver(r);try{u.observe({entryTypes:[\"paint\"]})}catch(g){}d=new PerformanceObserver(o);try{d.observe({entryTypes:[\"largest-contentful-paint\"]})}catch(g){}p=new PerformanceObserver(i);try{p.observe({type:\"layout-shift\",buffered:!0})}catch(g){}}if(\"addEventListener\"in document){var y=!1,x=[\"click\",\"keydown\",\"mousedown\",\"pointerdown\",\"touchstart\"];x.forEach(function(t){document.addEventListener(t,s,v(!1))})}m(c)}},{}],28:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var o,i=\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\",a=\"\",s=0;s\n <i.length;s++)o=i[s],\"x\"===o?a+=t().toString(16):\"y\"===o?(o=3&t()|8,a+=o.toString(16)):a+=o;return a}function o(){return a(16)}function i(){return a(32)}function a(t){function e(){return n?15&n[r++]:16*Math.random()|0}var n=null,r=0,o=window.crypto||window.msCrypto;o&&o.getRandomValues&&Uint8Array&&(n=o.getRandomValues(new Uint8Array(t)));for(var i=[],a=0;a\n <t;a++)i.push(e().toString(16));return i.join(\"\")}e.exports={generateUuid:r,generateSpanId:o,generateTraceId:i}},{}],29:[function(t,e,n){function r(t,e){if(!o)return!1;if(t!==o)return!1;if(!e)return!0;if(!i)return!1;for(var n=i.split(\".\"),r=e.split(\".\"),a=0;a\n <r.length;a++)if(r[a]!==n[a])return!1;return!0}var o=null,i=null,a=/Version\\/(\\S+)\\s+Safari/;if(navigator.userAgent){var s=navigator.userAgent,c=s.match(a);c&&s.indexOf(\"Chrome\")===-1&&s.indexOf(\"Chromium\")===-1&&(o=\"Safari\",i=c[1])}e.exports={agent:o,version:i,match:r}},{}],30:[function(t,e,n){function r(t){function e(){t(s&&document[s]?document[s]:document[i]?\"hidden\":\"visible\")}\"addEventListener\"in document&&a&&document.addEventListener(a,e,o(!1))}var o=t(23);e.exports=r;var i,a,s;\"undefined\"!=typeof document.hidden?(i=\"hidden\",a=\"visibilitychange\",s=\"visibilityState\"):\"undefined\"!=typeof document.msHidden?(i=\"msHidden\",a=\"msvisibilitychange\"):\"undefined\"!=typeof document.webkitHidden&&(i=\"webkitHidden\",a=\"webkitvisibilitychange\",s=\"webkitVisibilityState\")},{}],31:[function(t,e,n){function r(t,e){var n=[],r=\"\",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],32:[function(t,e,n){function r(t,e,n){e||(e=0),\"undefined\"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o\n <0?0:o);++r\n <o;)i[r]=t[e+r];return i}e.exports=r},{}],33:[function(t,e,n){e.exports={exists:\"undefined\"!=typeof window.performance&&window.performance.timing&&\"undefined\"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?f(t,c,a):a()}function n(n,r,o,i,a){if(a!==!1&&(a=!0),!l.aborted||i){t&&a&&t(n,r,o);for(var s=e(o),c=m(n),f=c.length,u=0;u\n <f;u++)c[u].apply(s,r);var p=d[y[n]];return p&&p.push([x,n,r,s]),s}}function i(t,e){g[t]=m(t).concat(e)}function h(t,e){var n=g[t];if(n)for(var r=0;r\n <n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return g[t]||[]}function v(t){return p[t]=p[t]||o(n)}function w(t,e){l.aborted||u(t,function(t,n){e=e||\"feature\",y[n]=e,e in d||(d[e]=[])})}var g={},y={},x={on:i,addEventListener:i,removeEventListener:h,emit:n,get:v,listeners:m,context:e,buffer:w,abort:s,aborted:!1};return x}function i(t){return f(t,c,a)}function a(){return new r}function s(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var c=\"nr@context\",f=t(\"gos\"),u=t(31),d={},p={},l=e.exports=o();e.exports.getOrSetContext=i,l.backlog=d},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t(\"ee\").get(\"handle\");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||\"object\"!==e&&\"function\"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i=\"nr@id\",a=t(\"gos\");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!T++){var t=O.info=NREUM.info,e=m.getElementsByTagName(\"script\")[0];if(setTimeout(f.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return f.abort();c(E,function(e,n){t[e]||(t[e]=n)});var n=a();s(\"mark\",[\"onload\",n+O.offset],null,\"api\"),s(\"timing\",[\"load\",n]);var r=m.createElement(\"script\");0===t.agent.indexOf(\"http://\")||0===t.agent.indexOf(\"https://\")?r.src=t.agent:r.src=l+\"://\"+t.agent,e.parentNode.insertBefore(r,e)}}function o(){\"complete\"===m.readyState&&i()}function i(){s(\"mark\",[\"domContent\",a()+O.offset],null,\"api\")}var a=t(26),s=t(\"handle\"),c=t(31),f=t(\"ee\"),u=t(29),d=t(21),p=t(23),l=d.getConfiguration(\"ssl\")===!1?\"http\":\"https\",h=window,m=h.document,v=\"addEventListener\",w=\"attachEvent\",g=h.XMLHttpRequest,y=g&&g.prototype,x=!1;NREUM.o={ST:setTimeout,SI:h.setImmediate,CT:clearTimeout,XHR:g,REQ:h.Request,EV:h.Event,PR:h.Promise,MO:h.MutationObserver};var b=\"\"+location,E={beacon:\"bam.nr-data.net\",errorBeacon:\"bam.nr-data.net\",agent:\"js-agent.newrelic.com/nr-spa-1216.min.js\"},R=g&&y&&y[v]&&!/CriOS/.test(navigator.userAgent),O=e.exports={offset:a.getLastTimestamp(),now:a,origin:b,features:{},xhrWrappable:R,userAgent:u,disabled:x};if(!x){t(20),t(27),m[v]?(m[v](\"DOMContentLoaded\",i,p(!1)),h[v](\"load\",r,p(!1))):(m[w](\"onreadystatechange\",o),h[w](\"onload\",r)),s(\"mark\",[\"firstbyte\",a.getLastTimestamp()],null,\"api\");var T=0}},{}],\"wrap-function\":[function(t,e,n){function r(t,e){function n(e,n,r,c,f){function nrWrapper(){var i,a,u,p;try{a=this,i=d(arguments),u=\"function\"==typeof r?r(i,a):r||{}}catch(l){o([l,\"\",[i,a,c],u],t)}s(n+\"start\",[i,a,c],u,f);try{return p=e.apply(a,i)}catch(h){throw s(n+\"err\",[i,a,h],u,f),h}finally{s(n+\"end\",[i,a,p],u,f)}}return a(e)?e:(n||(n=\"\"),nrWrapper[p]=e,i(e,nrWrapper,t),nrWrapper)}function r(t,e,r,o,i){r||(r=\"\");var s,c,f,u=\"-\"===r.charAt(0);for(f=0;f\n <e.length;f++)c=e[f],s=t[c],a(s)||(t[c]=n(s,u?c+r:r,o,c,i))}function s(n,r,i,a){if(!h||e){var s=h;h=!0;try{t.emit(n,r,i,e,a)}catch(c){o([c,n,r,i],t)}h=s}}return t||(t=u),n.inPlace=r,n.flag=p,n}function o(t,e){e||(e=u);try{e.emit(\"internal-error\",t)}catch(n){}}function i(t,e,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(t);return r.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(i){o([i],n)}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return e}function a(t){return!(t&&t instanceof Function&&t.apply&&!t[p])}function s(t,e){var n=e(t);return n[p]=t,i(t,n,u),n}function c(t,e,n){var r=t[e];t[e]=s(r,n)}function f(){for(var t=arguments.length,e=new Array(t),n=0;n\n <t;++n)e[n]=arguments[n];return e}var u=t(\"ee\"),d=t(32),p=\"nr@original\",l=Object.prototype.hasOwnProperty,h=!1;e.exports=r,e.exports.wrapFunction=s,e.exports.wrapInPlace=c,e.exports.argsToArray=f},{}]},{},[\"loader\",2,17,5,3,4]);\n ;NREUM.loader_config={accountID:\"2665918\",trustKey:\"2665918\",agentID:\"771436762\",licenseKey:\"NRJS-8482e4e3e1750395f5d\",applicationID:\"771436762\"}\n ;NREUM.info={beacon:\"bam.nr-data.net\",errorBeacon:\"bam.nr-data.net\",licenseKey:\"NRJS-8482e4e3e1750395f5d\",applicationID:\"771436762\",sa:1}\n \n </script>\n <script nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n window.SDK_PLATFORM = \"browser\";\n // @TODO [APPSDK-667] Remove this once the desktop platform APIs are exposed\n window.APP_VERSION = \"11.2.12-240619-1520\";\n window.BASE_URL_PREFIX = \"/build\";\n window.WEBSOCKET_URL = \"https://bifrost-web-public-v4.gw.postman.com\";\n window.HTTP_GATEWAY_URL = \"https://bifrost-web-public-https.gw.postman.com\";\n window.IS_PUBLIC_DOMAIN = \"true\" === 'true';\n window.USER_ID = \"0\";\n window.TEAM_ID = \"0\";\n window.USER_LOCALE = \"en-US\" || 'en-US';\n // this evaluates to true if the feature flag is enabled\n window.v2RoutesPublisherEnabled = \"false\" === 'true';\n window.v2RoutesFeatureEnabled = \"true\" === 'true';\n\n /**\n * Creating an IIFE, to create local variables inside defined scope, and\n * not in the global scope\n */\n (() => {\n const isBrowser = window.SDK_PLATFORM === 'browser';\n const userId = new URL(location.href).searchParams.get('userId');\n globalThis.__WP_IS_SIGNED_OUT_DESKTOP__ = !isBrowser && (!userId || userId === '0');\n })();\n </script>\n <script nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n let route = window.location.pathname;\n function injectHomePageChunk() {\n // Route based chunk injection for home page\n // This is a temporary solution\n // There is a more comprehensive solution in the works to make artemis-service route aware\n let assetsUrl = \"/_ar-assets\";\n if ((route === '/home' || route === '/') && window.USER_ID === '0') {\n let homePageChunk = \"\";\n let synchronousScript = document.createElement('script');\n\n // Set and append synchronous script\n synchronousScript.setAttribute('src', `${assetsUrl}/${homePageChunk}.js`);\n document.head.appendChild(synchronousScript);\n }\n }\n </script>\n <!-- preload script -->\n <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, shrink-to-fit=no\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/_ar-assets/images/favicon-1-16.png\" sizes=\"16x16\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/_ar-assets/images/favicon-1-32.png\" sizes=\"32x32\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/_ar-assets/images/favicon-1-48.png\" sizes=\"48x48\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\" />\n <link rel=\"preload\" as=\"font\" href=\"/_ar-assets/fonts/Inter-Regular-8070997696b1c91905fecba458f96640.woff2\" type=\"font/woff2\" crossorigin nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n <link rel=\"preload\" as=\"font\" href=\"/_ar-assets/fonts/Inter-semibold-a553f44ac2c2f8ffdb1290d33b7c2425.woff2\" type=\"font/woff2\" crossorigin nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n <link rel=\"preload\" as=\"fetch\" href=\"/_ar-assets/locale-asset-manifest-11-2-12-240619-1520.json\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\" crossorigin type=\"application/json\"/>\n <link rel=\"preload\" as=\"script\" href=\"/_ar-assets/manifest-65ca70a986247ee6.min.js\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\"/>\n <link rel=\"preload\" as=\"script\" href=\"/_ar-assets/platform-bootstrap-34046d836000ae6d.min.js\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\"/>\n <link rel=\"preconnect\" href=\"https://bifrost-web-public-v4.gw.postman.com\">\n <link rel=\"preconnect\" href=\"https://bifrost-web-public-https.gw.postman.com\">\n <style>\n .pm-loader.is-exiting {\n opacity: 0;\n }\n\n .pm-loader.is-hidden {\n display: none;\n }\n\n body {\n margin: 0;\n width: 100vw;\n height: 100vh;\n overflow: hidden;\n position: absolute;\n }\n\n .pm-loader {\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 300;\n background: var(--background-color-primary, #FFFFFF);\n }\n\n .requester-shell-loading-indicator-wrapper {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 20px;\n }\n\n .aether-spinner {\n display: flex;\n justify-content: space-between;\n width: var(--size-xs, 16px);\n height: var(--size-xs, 16px);\n text-align: center;\n font-size: var(--text-size-xs, 10px);\n }\n\n .aether-spinner > div {\n height: 100%;\n width: 4px;\n background-color: var(--content-color-tertiary, #A6A6A6);\n opacity: 0.2;\n border-radius: var(--border-radius-default, 4px);\n animation: spinner-bounce 0.6s infinite ease-in-out;\n transform-origin: center;\n }\n\n .aether-spinner > .rect-two {\n animation-delay: 0.15s;\n }\n .aether-spinner > .rect-three {\n animation-delay: 0.3s;\n }\n\n .pm-loader-container {\n height: 100%;\n display: flex;\n }\n\n .app-root {\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n left: 0;\n background-color: var(--background-color-primary, #FFFFFF);\n }\n\n .app-root.is-hidden {\n display: none;\n }\n\n .requester-shell-loader {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n }\n\n .requester-shell-loader-main-header {\n height: 50px;\n background-color: var(--background-color-primary, #FFFFFF);;\n box-shadow: inset 0 -1px 0 var(--background-color-tertiary, #ECECEC);\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .requester-shell-loader-main-header__section-left {\n padding: var(--spacing-l, 16px);\n display: flex;\n align-items: center;\n padding-right: var(--spacing-zero, 0px);\n }\n .requester-shell-loader-main-header__section-right {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n min-width: 390px;\n }\n\n .item-tabs {\n height: var(--size-s, 24px);\n width: 50px;\n border-radius: var(--border-radius-default, 4px);\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n margin-right: var(--spacing-xxl, 32px);\n }\n\n .item-tabs-home { width: 40px; }\n .item-tabs-build { width: 103px; }\n .item-tabs-reports { width: 53px; }\n .item-tabs-explore { width: 51px; }\n\n .requester-shell-loader-searchbox {\n height: var(--size-m, 32px);\n /* INACTIVE_SEARCH_BOX_WIDTH from StyledSearchBox */\n width: 182px;\n position: absolute;\n left: 50%;\n top: 8px;\n transform: translateX(-50%);\n border-radius: var(--border-radius-default, 4px);\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n }\n\n .item-circle {\n height: var(--size-s, 24px);\n width: var(--size-s, 24px);\n border-radius: var(--border-radius-max, 100%);\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n margin-right: var(--spacing-m, 12px);\n }\n .item-avatar {\n margin-right: var(--spacing-xs, 4px);\n }\n .item-rectangle {\n height: var(--size-m);\n width: 96px;\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n border-radius: var(--border-radius-default);\n margin: var(--spacing-zero) var(--spacing-s);\n }\n .item-invite {\n height: var(--size-m, 32px);\n width: 62px;\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n border-radius: var(--border-radius-default, 4px);\n margin: var(--spacing-zero, 0px) var(--spacing-s, 8px);\n }\n\n .requester-shell-loader-main-content {\n display: flex;\n flex: 1;\n }\n\n .requester-shell-loader-main-tab {\n height: var(--size-m, 32px);\n background-color: var(--background-color-primary, #FFFFFF);\n }\n\n .requester-shell-loader-tab-content-panes {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n\n .requester-shell-loader-tab-content-pane {\n display: flex;\n flex: 0 0 50%;\n flex-direction: column;\n }\n\n .requester-shell-loader .requester-contents-top {\n padding-right: var(--spacing-l, 16px);\n }\n\n .requester-shell-loader .flexed {\n display: flex;\n }\n\n .requester-shell-loader .request-editor__tabs-wrapper {\n display: flex;\n justify-content: space-between;\n flex: 1;\n margin-bottom: var(--spacing-xs, 4px);\n flex-direction: column;\n }\n .tab-main-content-shell-thumbnail {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 350px;\n }\n .tab-main-content-shell-thumbnail path {\n color: var(--highlight-background-color-primary, #F2F2F2);\n }\n .requester-shell-loader .strip {\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n margin: var(--spacing-xs, 4px) var(--spacing-m, 12px);\n border-radius: var(--border-radius-default, 4px);\n }\n\n .requester-shell-loader .url {\n flex: 1;\n height: var(--size-m, 32px);\n margin: var(--spacing-m, 12px);\n border-radius: var(--border-radius-default, 4px);\n background-color: var(--highlight-background-color-primary, #F2F2F2);\n margin-right: var(--spacing-m, 12px);\n width: 256px;\n }\n\n .strip-longest {\n width: 512px;\n height: var(--size-m, 32px);\n }\n\n .strip-shortest {\n width: 128px;\n height: var(--size-m, 32px);\n }\n\n @keyframes fade {\n 0% { opacity: 0.25; }\n 50% { opacity: 1; }\n 100% { opacity: 0.25; }\n }\n\n @-webkit-keyframes fade {\n 0% { opacity: 0.25; }\n 50% { opacity: 1; }\n 100% { opacity: 0.25; }\n }\n\n @-moz-keyframes fade {\n 0% { opacity: 0.25; }\n 50% { opacity: 1; }\n 100% { opacity: 0.25; }\n }\n\n @-o-keyframes fade {\n 0% { opacity: 0.25; }\n 50% { opacity: 1; }\n 100% { opacity: 0.25; }\n }\n\n @keyframes fade {\n 0% { opacity: 0.25; }\n 50% { opacity: 1; }\n 100% { opacity: 0.25; }\n }\n\n @keyframes spinner-bounce {\n 0%, 100% { transform: scaleY(0.4); opacity: 0.8; }\n 50% { transform: scaleY(1); opacity: 1; }\n }\n\n @media (max-width: 959px) {\n .requester-shell-loader-searchbox {\n display: none;\n }\n\n .requester-shell-loader-main-header__section-right {\n min-width: auto;\n }\n }\n </style>\n <script nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n try {\n const localeAssets = JSON.parse('{\"localeManifest\":[\"locale-asset-manifest-11-2-12-240619-1520.json\"],\"en-US\":{\"preload\":[\"/locales/en-US/global-core-f9742870b5b7a8b1.json\",\"/locales/en-US/app-header-2b2243c7d72d9dc4.json\"],\"prefetch\":[\"/locales/en-US/settings-7c72cf61546340a3.json\"],\"workspacePreload\":[\"/locales/en-US/workbench-core-96dbbf9132beecb2.json\",\"/locales/en-US/workspace-sidebar-core-babc15c5fe9e3403.json\"]},\"ja\":{\"preload\":[\"/locales/ja/global-core-a934eb736cbfa025.json\",\"/locales/ja/app-header-bbbd00a233dbddbb.json\"],\"prefetch\":[\"/locales/ja/settings-f87a7ddad7512198.json\"],\"workspacePreload\":[\"/locales/ja/workbench-core-355f8850e7b2a77d.json\",\"/locales/ja/workspace-sidebar-core-f6086886c505f2ce.json\"]}}');\n const assetsUrl = \"/_ar-assets\";\n const nonce = \"w0Nbhqo5PU47fJuZvfuGYA==\";\n const isWorkspacePage = route.includes('workspace/');\n const languageSpecificAssets = localeAssets[window.USER_LOCALE];\n for (let group in languageSpecificAssets) {\n for (let asset of languageSpecificAssets[group]) {\n let localeManifestLink = document.createElement('link');\n let relAttr;\n switch (group) {\n case 'workspacePreload':\n relAttr = isWorkspacePage ? 'preload' : 'prefetch';\n break;\n default:\n relAttr = group || 'prefetch';\n break;\n }\n localeManifestLink.setAttribute('rel', relAttr);\n localeManifestLink.setAttribute('as', 'fetch');\n localeManifestLink.setAttribute('href', `${assetsUrl}${asset}`);\n localeManifestLink.setAttribute('nonce', nonce);\n localeManifestLink.setAttribute('crossorigin', 'anonymous');\n localeManifestLink.setAttribute('type', 'application/json');\n document.head.appendChild(localeManifestLink);\n }\n }\n } catch (e) {}\n </script>\n <script nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n try {\n const settingsKey = Object.keys(localStorage).filter(item => item.includes('settings'))[0];\n // get system theme\n const systemTheme = window.matchMedia('(prefers-color-scheme: dark)')?.matches ? 'dark': 'light';\n const themeChunks = JSON.parse('[\"THEME_DRACULA-ecd35cc4d88ea3b8.min.js\",\"THEME_MONOKAI-f89aeb7cc96746ac.min.js\",\"THEME_AYU_LIGHT-f55eb3125427188b.min.js\",\"THEME_AYU_DARK-2e745e61dbe5538f.min.js\",\"THEME_HIGH_CONTRAST_LIGHT-2c467a2b2d016037.min.js\",\"THEME_HIGH_CONTRAST_DARK-ca45b303dd2b1048.min.js\",\"THEME_NIGHT_OWL_LIGHT-557045ff6e991d2a.min.js\",\"THEME_NIGHT_OWL_DARK-669da500a689364d.min.js\",\"THEME_SOLARIZED_LIGHT-e240fefdb2b8764c.min.js\",\"THEME_SOLARIZED_DARK-49ba794e7c2b9dcc.min.js\",\"THEME_DRACULA-ecd35cc4d88ea3b8.min.js.map\",\"THEME_MONOKAI-f89aeb7cc96746ac.min.js.map\",\"THEME_AYU_LIGHT-f55eb3125427188b.min.js.map\",\"THEME_AYU_DARK-2e745e61dbe5538f.min.js.map\",\"THEME_HIGH_CONTRAST_LIGHT-2c467a2b2d016037.min.js.map\",\"THEME_HIGH_CONTRAST_DARK-ca45b303dd2b1048.min.js.map\",\"THEME_NIGHT_OWL_LIGHT-557045ff6e991d2a.min.js.map\",\"THEME_NIGHT_OWL_DARK-669da500a689364d.min.js.map\",\"THEME_SOLARIZED_LIGHT-e240fefdb2b8764c.min.js.map\",\"THEME_SOLARIZED_DARK-49ba794e7c2b9dcc.min.js.map\"]');\n const assetsUrl = \"/_ar-assets\";\n const nonce = \"w0Nbhqo5PU47fJuZvfuGYA==\";\n let themeToPaint;\n\n if (settingsKey) {\n // check theme from storage, if it exists\n const currentTheme = JSON.parse(localStorage.getItem(settingsKey))?.postmanTheme;\n // check system theme sync setting\n const isSystemThemeActive = JSON.parse(localStorage.getItem('settings'))?.shouldUseSystemTheme;\n\n if (currentTheme) {\n themeToPaint = isSystemThemeActive ? systemTheme : currentTheme;\n }\n else {\n themeToPaint = systemTheme;\n }\n }\n else {\n themeToPaint = systemTheme;\n }\n\n const asset = themeChunks.find((value) => value.toLowerCase().replaceAll('_', '-').indexOf(themeToPaint) >= 0);\n let headerBgColor = ''; // dark theme: grey-90 | light theme: grey-00\n let headerSkeletonColor = ''; // dark theme: grey-85 | light theme: grey-10\n let headerBorderColor = ''; // dark theme: grey-70 | light theme: grey-20\n let spinnerBgColor = ''; // dark theme: grey-50 | light theme: grey-40\n\n if (!['dark', 'light'].includes(themeToPaint) && asset) {\n const link = document.createElement('link');\n\n link.setAttribute('rel', 'preload');\n link.setAttribute('as', 'script');\n link.setAttribute('href', `${assetsUrl}/${asset}`);\n link.setAttribute('nonce', nonce);\n\n document.head.appendChild(link);\n }\n\n switch (themeToPaint) {\n case 'dark':\n headerBgColor = '#212121';\n headerSkeletonColor = '#333333';\n headerBorderColor = '#404040';\n spinnerBgColor = '#6B6B6B';\n break;\n case 'dracula':\n headerBgColor = '#282A36';\n headerSkeletonColor = '#2E303E';\n headerBorderColor = '#43465B';\n spinnerBgColor = '#7E82A0';\n break;\n case 'monokai':\n headerBgColor = '#282923';\n headerSkeletonColor = '#30322A';\n headerBorderColor = '#484A3F';\n spinnerBgColor = '#8A8E7B';\n break;\n case 'ayu-light':\n headerBgColor = '#F8F9FA';\n headerSkeletonColor = '#E5E9F0';\n headerBorderColor = '#D8DDE8';\n spinnerBgColor = '#8293B5';\n break;\n case 'ayu-dark':\n headerBgColor = '#0D1016';\n headerSkeletonColor = '#151A23';\n headerBorderColor = '#2D384D';\n spinnerBgColor = '#5C729D';\n break;\n case 'high-contrast-light':\n headerBgColor = '#FFFFFF';\n headerSkeletonColor = '#F2F2F2';\n headerBorderColor = '#EDEDED';\n spinnerBgColor = '#A6A6A6';\n break;\n case 'high-contrast-dark':\n headerBgColor = '#0D0D0D';\n headerSkeletonColor = '#161616';\n headerBorderColor = '#454545';\n spinnerBgColor = '#7D7D7D';\n break;\n case 'night-owl-light':\n headerBgColor = '#FBFBFB';\n headerSkeletonColor = '#F0F0F0';\n headerBorderColor = '#DBDBDB';\n spinnerBgColor = '#5D7F9C';\n break;\n case 'night-owl-dark':\n headerBgColor = '#011727';\n headerSkeletonColor = '#092339';\n headerBorderColor = '#134977';\n spinnerBgColor = '#5D7F9C';\n break;\n case 'solarized-light':\n headerBgColor = '#FCF6E5';\n headerSkeletonColor = '#EBE5D1';\n headerBorderColor = '#CFC9B5';\n spinnerBgColor = '#ABA592';\n break;\n case 'solarized-dark':\n headerBgColor = '#002B36';\n headerSkeletonColor = '#073642';\n headerBorderColor = '#274C57';\n spinnerBgColor = '#657B83';\n break;\n default:\n headerBgColor = '#212121';\n headerSkeletonColor = '#333333';\n headerBorderColor = '#404040';\n spinnerBgColor = '#6B6B6B';\n }\n\n if (themeToPaint && themeToPaint !== 'light') {\n const cssRule = `.requester-shell-loader-main-header, .pm-loader { background-color: ${headerBgColor}; } .requester-shell-loader-main-header { box-shadow: inset 0 -1px 0 ${headerBorderColor};} .item-tabs, .requester-shell-loader-searchbox, .item-circle, .item-rectangle { background-color: ${headerSkeletonColor}; } .aether-spinner > div { background-color: ${spinnerBgColor}; };`;\n const styleTag = document.createElement('style');\n document.head.appendChild(styleTag);\n styleTag.type = 'text/css';\n styleTag.appendChild(document.createTextNode(cssRule));\n }\n } catch (e) { }\n </script>\n </head>\n <body>\n <script id=\"__RUNTIME_CONFIG__\" type=\"application/json\">\n {}\n </script>\n <link rel=\"prefetch\" as=\"style\" href=\"/_ar-assets/requester-legacy-a081aec746b9b10e.css\" id=\"requester-styles\">\n <style id='theme'></style>\n <div class='pm-loader'>\n <div class=\"pm-loader-container\">\n <div class='requester-shell-loader'>\n <div class='requester-shell-loader-main-header'>\n <div class=\"requester-shell-loader-main-header__section-left\">\n <div class='item-tabs item-tabs-home'></div>\n <div class='item-tabs item-tabs-build'></div>\n <div class='item-tabs item-tabs-reports'></div>\n <div class='item-tabs item-tabs-explore'></div>\n </div>\n <div class=\"requester-shell-loader-main-header__section-center\">\n <div class=\"requester-shell-loader-searchbox\"></div>\n </div>\n <div class=\"requester-shell-loader-main-header__section-right\">\n <div class=\"item-circle\"></div>\n <div class=\"item-circle\"></div>\n <div class=\"item-circle item-avatar\"></div>\n <div class=\"item-rectangle\"></div>\n </div>\n </div>\n <div class='requester-shell-loader-main-content'>\n <div class=\"requester-shell-loading-indicator-wrapper\">\n <div class='aether-spinner'>\n <div class='rect-one'></div>\n <div class='rect-two'></div>\n <div class='rect-three'></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n id='postman_preload_cache'\n data-preload-cache=\"{"initialWorkspace":{"id":"f21c2968-b83d-485e-9360-21fc4de72be3","name":"Published Postman Templates","description":"This workspace is used to aggregate all collections that are published by the Postman Team. These collections are used in different places, for example:\\n- The [Learning Center](learning.postman.com)\\n- The [Postman Blog](blog.postman.com)\\n\\nThey may also have been used during different events such as Meetups, Webinars, or live streams. \\n\\nBefore using a collection, make sure that you **read the documentation** and check that **the correct environment is selected**. \\n\\n\\nIf you have any questions or suggestions you can comment directly on the collection, or open a new topic on our [Community Forum](community.postman.com).\\n\\nEnjoy!","summary":"Templates published by the Postman team","createdBy":"55577","updatedBy":"17820703","team":"6029","createdAt":"2018-09-30T18:58:52.000Z","updatedAt":"2024-06-11T14:36:54.000Z","visibilityStatus":"public","profileInfo":{"slug":"published-postman-templates","profileType":"team","profileId":"6029","publicHandle":"https://www.postman.com/postman","publicImageURL":"https://res.cloudinary.com/postman/image/upload/t_team_logo/v1629869194/team/2893aede23f01bfcbd2319326bc96a6ed0524eba759745ed6d73405a3a8b67a8","publicName":"Postman","isVerified":true}}}\"\n ></div>\n <script nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n /**\n * activate eager fetched requester-legacy.css on non-optimized pages\n */\n let elem = document.getElementById(\"requester-styles\"),\n isOptimizedPages = ((route === '/home' || route === '/') && (window.USER_ID === '0' || window.USER_ID === '')) || (route === '/explore' || route.startsWith('/explore/')) || (route === '/onboarding/user');\n\n if (!isOptimizedPages) {\n elem.setAttribute(\"rel\", \"stylesheet\");\n elem.setAttribute(\"type\", \"text/css\");\n }\n\n try {\n window.pm = window.pm || {};\n\n let preloadCacheDiv = document.getElementById('postman_preload_cache')\n preloadCache = preloadCacheDiv && preloadCacheDiv.getAttribute('data-preload-cache');\n\n window.pm.preloadCache = preloadCache ? JSON.parse(preloadCache) : {};\n }\n catch (e) {\n console.warn('Error while parsing preload cache', e);\n\n window.pm = window.pm || {};\n window.pm.preloadCache = {};\n }\n </script>\n <div class='app-root' id='app-root'></div>\n <div class=\"aether-portals\">\n <div id=\"aether-toast-notifications__container\"></div>\n <div id=\"aether-popover-portal\"></div>\n <div id=\"aether-tab-portal\"></div>\n <div id=\"aether-breadcrumb-portal\"></div>\n <div id=\"aether-dropdown-portal\"></div>\n </div>\n <script src=\"/_ar-assets/manifest-65ca70a986247ee6.min.js\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\"></script>\n <script src=\"/_ar-assets/platform-bootstrap-34046d836000ae6d.min.js\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\"></script>\n <!-- Initialise PmTech analytics -->\n <script id=\"pmTechSDK\" type=\"text/javascript\" nonce=\"w0Nbhqo5PU47fJuZvfuGYA==\">\n window.pmTechUrl = 'https://bi.pst.tech/events';\n if (window.IS_PUBLIC_DOMAIN || route.match('/onboarding/')) {\n\nwindow.pmt=function(){var t={version:\"v2.0.22\",log:function(e){t.output=t.output||[],t.output.push(e)},set:function(e,o){t[e]=o},getPubId:function(){return(document.cookie.match(\"(^|;) ?_PUB_ID=([^;]*)(;|$)\")||[])[2]},drivePubId:function(e){const o=window.location.href,n=\"pub_id=\";let a,c;if(o.match(n)){if(c=o.split(n).pop().split(\"&\").shift(),a=\"_PUB_ID=\"+c+\"; path=/\",document.cookie=a,e){let t=o.replace(n+c,\"\");t=t.replace(\"?&\",\"?\"),t=t.replace(\"&&\",\"&\");t.split(\"?\").pop()||(t=t.split(\"?\").shift());const e=t.length-1;\"&\"===t.charAt(e)&&(t=t.substring(0,e)),window.location.replace(t)}return a}return t.getPubId()},driveCampaignId:function(t){let e;const o=\"dcid=\",n=t&&t.dcid||window.location.search&&window.location.search.match(o)&&window.location.search.split(o).pop().split(\"&\").shift()||(document.cookie.match(\"(^|;) ?dcid=([^;]*)(;|$)\")||[])[2];let a,c;const i=t&&t.form,r=t&&t.url||window.location.href;return function(t){const e=t;let a;const c=n&&n.replace(o,\"\");t&&(e.tagName?n&&!e.driver_campaign_id&&(a=document.createElement(\"input\"),a.type=\"hidden\",a.name=\"driver_campaign_id\",a.value=c,e.appendChild(a)):n&&(e.driver_campaign_id=c))}(i),r.match(o)?(a=r.split(o).pop().split(\"&\").shift(),c=new Date,c.setDate(c.getDate()+30),e=\"dcid=\"+a+\"; expires=\"+c.toUTCString()+\"; path=/\",document.cookie=e,e):t},enablePostmanAnalytics:function(e,o,n){if(\"function\"!=typeof e||e.postmanAnalyticsEnabled||navigator.doNotTrack&&!o._disableDoNotTrack)return e;function a(t){return t.replace(/\"/gi,'\"')}function c(t){return\"string\"==typeof t&&t.split(window.location.host).pop()}return o||(o={}),e.postmanAnalyticsEnabled=!0,function(i,r,d,s){const l=\"load\"!==r||window.location.href!==t.currentURL;if(!l)return!1;e.apply(this,arguments);const p=\"gtm.uniqueEventId\";let u,m,f,g;const h=r||n;t.initCategory||(t.initCategory=i);const w={category:i,action:h,indexType:\"client-events\",property:o._property||document.location.host,propertyId:document.location.host,traceId:t.traceId||o._traceId||\"anonymous\",timestamp:(new Date).toISOString()},y=c(t.currentURL)||document.referrer||t.externalURL||\"\",b=navigator.language||window.navigator.userLanguage||\"?\";w.meta={url:c(y),language:b},d&&(w.entityId=d),\"load\"===w.action&&w.entityId&&document.body&&document.body.id&&(w.entityId=w.entityId+\"#\"+document.body.id),s&&(u=parseInt(s,10),m=u&&!u.isNaN&&u||null,g=\"string\"==typeof s,f=g&&s.match(\":\")&&s.split(\":\").pop()||g&&s||\"object\"==typeof s&&a(JSON.stringify(s))||\"\",m&&(w.value=m),f&&(d?w.entityId+=\":\"+f:w.entityId=f));const k=Object.keys(o)||[];function I(t){const e=new XMLHttpRequest;e.open(\"POST\",o._url),e.setRequestHeader(\"Accept\",\"application/json\"),e.setRequestHeader(\"Content-type\",\"text/plain\"),e.send(t)}function _(t,e){const o=t&&t.split(\",\")||[],n=o.length;let a,c;for(a=0;a\n <n;a+=1){const t=o[a];if(c=-1!==e.indexOf(t),c)break}return c}k.forEach((function(t){\"_\"!==t.charAt(0)&&(w[t]=o[t])})),r||\"object\"!=typeof i||(w.action=i.action||i.event||i[Object.keys(i)[0]],i[p]&&(w.category=p+\"-\"+i[p])),\"local\"===w.env&&(w.env=\"beta\"),\"object\"==typeof w.category&&w.category&&\"string\"==typeof w.category.category&&(w.category=w.category.category),[\"category\",\"event\",\"label\"].forEach((function(t){\"object\"==typeof w[t]&&(w[t]=w[t]&&a(JSON.stringify(w[t])))})),w.userId=t.getPubId()||(document.cookie.match(\"(^|;) ?_pm=([^;]*)(;|$)\")||[])[2]||w.userId,t.userId=w.userId;const v=t.traceId.split(\"|\").pop();return t.traceId=t.traceId.split(v).shift()+t.userId,-1===window.name.indexOf(\"PM.\")&&(window.name=t.traceId),t.api().store(),setTimeout((function(){t.api()}),1e3),w.category&&w.action&&\"function\"==typeof o.fetch&&o.fetch(o._url,w)||w.entityId&&\"object\"==typeof document&&(()=>{const e=o._allow&&_(o._allow,document.location.pathname)||!o._allow&&!0,n=o._disallow&&_(o._disallow,document.location.pathname),a=btoa(JSON.stringify(w));if(e&&!n){if(fetch){if(\"load\"===w.action){if(w.action&&!l)return t.trackIt(),!1;w.entityId=w.entityId.split(\"#\").shift()}t.traceId&&(w.traceId=t.traceId),fetch(o._url,{method:\"POST\",headers:{Accept:\"text/html\",\"Content-Type\":\"text/html\"},body:a,mode:\"no-cors\",keepalive:!0}).catch((function(e){t.log(e)})),t.event=w}else I(a);t.currentURL=window.location.href,-1===w.meta.url.indexOf(document.location.host)&&(t.externalURL=w.meta.url)}})(),!0}},ga:function(){\"function\"==typeof window.ga&&window.ga.apply(this,arguments)},getEnv:function(t){let e;e=\"production\";const o=t||document.location.hostname;return[\"beta\",\"local\",\"stag\"].forEach((function(t){o.match(t)&&(e=t)})),e},setScalp:function(e){if(\"object\"==typeof window){const o=(document.location.search&&document.location.search.match(\"dcid=([^;]*)(;|$)\")||[])[1],n=o&&o.split(\"&\").shift()||(document.cookie.match(\"(^|;) ?dcid=([^;]*)(;|$)\")||[])[2],a=document.location.search.substr(1).split(\"&\"),c=window.localStorage.getItem(\"utms\"),i=c&&c.split(\",\")||[];a.forEach((t=>{const e=t.match(\"([UTM|utm].*)=([^;]*)(;|$)\");e&&(-1!==e[0].indexOf(\"utm\")||-1!==e[0].indexOf(\"UTM\"))&&i.push(e[0])}));const r=document.location.host.split(\".\"),d=r.pop(),s=r.pop(),l=i.length&&i.join(\".\")||\"\",p=\"PM.\",u=p+btoa((new Date).toISOString()),m=window.name&&window.name.match(\"|PM.\")&&window.name.split(\"|\").pop()||(document.cookie.match(\"(^|;) ?_pm=([^;]*)(;|$)\")||[])[2],f=function(t){const e=new Date;return e.setDate(e.getDate()+1080),\"_pm=\"+t+\"; expires=\"+e.toUTCString()+\"; domain=.\"+s+\".\"+d+\"; path=/\"};(function(t){const e=-1!==document.cookie.indexOf(\"_pm\"),o=-1===t.indexOf(p),n=-1!==document.cookie.indexOf(p);(!e||o||!window.location.hostname.match(/\\.postman.com/)&&n)&&(document.cookie=f(t))})(m||u);const g=\"pm\"+btoa((new Date).getTime());\"string\"==typeof window.name&&\"pm\"===window.name.substring(0,2)||(n&&-1===window.name.indexOf(\"DCID.\")?window.name=g+\"|DCID.\"+n+(l&&\"|\"+l||\"\")+\"|\"+(m||u):window.name=g+(l&&\"|\"+l||\"\")+\"|\"+(m||u));const h=window.parent&&window.parent.name||window.name,w=function(){t.scalpCount||(t.scalpCount=0),t.scalpCount+=1},y=t.getPubId()||m||window.name.split(\"|\").pop(),b={env:\"function\"==typeof t.getEnv&&t.getEnv()||\"production\",type:\"events-website\",userId:y,_allow:!e.disallow&&e.allow,_disableDoNotTrack:void 0===e.disableDoNotTrack||e.disableDoNotTrack,_disallow:!e.allow&&e.disallow,_property:e.property||document.location.host,_traceId:h},k=b.env.match(\"prod\")?\"https://bi.pst.tech/events\":\"https://bi-beta.pst.tech/events\";b._url=e.url||k,document.cookie=\"_pm.traceId=\"+h+\"; domain=.\"+s+\".\"+d+\"; path=/\",t.scalp=t.enablePostmanAnalytics(w,b),t.traceId=h,t.userId=y}},getTraceUrl:function(e){const o=-1!==e.indexOf(\"?\")?\"&\":\"?\";return e+o+\"trace=\"+t.traceId},trace:function(e){document.location.href=t.getTraceUrl(e)},getUtmUrl:function(e){const o=-1!==e.indexOf(\"?\")?\"&\":\"?\",n=t.traceId.split(\".\").pop(),a=t.traceId.split(\".\"+n).shift().substr(1).split(\".\"),c=[];return a.forEach((t=>{const e=t.match(\"([UTM|utm].*)=([^;]*)(;|$)\");e&&(-1!==e[0].indexOf(\"utm\")||-1!==e[0].indexOf(\"UTM\"))&&c.push(e[0])})),e+o+(c.length&&c.join(\"&\")||\"utm=\"+document.location.host)},utm:function(e){let o=t.getUtmUrl(e);o.match(\"trace=\")||(o=o+\"&trace=\"+t.traceId),document.location.href=o},trackClicks:function(e,o){const n=function(n){const a=document.body&&document.body.id&&\"#\"+document.body.id||\"\";if(e){const c=n.target.getAttribute(e);c&&t.scalp(o||t.initCategory,\"click\",\"target\",a+c)}else if(!e&&(\"string\"==typeof n.target.className||\"string\"==typeof n.target.id)){const e=n.target.className||n.target.id||n.target.parentNode.className||-1;if(\"string\"==typeof e){const c=document.location.pathname+a+\":\"+n.target.tagName+\".\"+e.split(\" \").join(\"_\");try{t.scalp(o||t.initCategory,\"click\",c)}catch(e){t.log(e.message)}}}};document.body.getAttribute(\"data-trackClicks\")||document.body.addEventListener(\"mousedown\",n,!0),document.body.setAttribute(\"data-trackClicks\",e||\"default\")},driveTrack:function(e){let o;const n=\"_track=\",a=e&&e._track||window.location.search&&window.location.search.match(n)&&window.location.search.split(n).pop().split(\"&\").shift()||(document.cookie.match(\"(^|;) ?_track=([^;]*)(;|$)\")||[])[2],c=e&&e.url||window.location.href,i=t.getEnv(),r=i.match(\"stag\")?\"stage\":i;return t.tracking=!0,t.trackIt(),c.match(n)?(o=\"postman-\"+r+\".track=\"+a+\"; path=/\",document.cookie=o,o):e},trackIt:function(){const e=(document.cookie.match(\"(^|;) ?postman-[a-z]+.track=([^;]*)(;|$)\")||[])[2];if(e&&t.tracking){let t=document.location.href;const o=-1===t.indexOf(\"?\")?\"?\":\"&\";-1===t.indexOf(\"_track\")&&\"default\"!==e&&(t=`${t}${o}_track=${e}`,document.location.replace(t))}},xhr:function(t,e){const o=new XMLHttpRequest,n=\"t=\"+(new Date).getTime(),a=-1===t.indexOf(\"?\")?\"?\":\"&\",c=t+a+n;o.withCredentials=!0,o.addEventListener(\"readystatechange\",(function(){4===this.readyState&&e(this.responseText)})),o.open(\"GET\",c),o.send()},bff:function(e,o,n){const a=(n?\"/mkapi/\":\"https://www.postman.com/mkapi/\")+e+\".json\";t.xhr(a,o)},store:function(e,o){const n=(document.cookie.match(\"(^|;) ?_pm.store=([^;]*)(;|$)\")||[])[2],a=n&&JSON.parse(n)||{};t.stored={...a},e&&o&&(t.stored[e]=o);const c=document.location.host.split(\".\"),i=c.pop(),r=c.pop(),d=new Date;d.setDate(d.getDate()+1080);let s=\"_pm.store=\"+JSON.stringify(t.stored)+\"; expires=\"+d.toUTCString()+\"; domain=.\"+r+\".\"+i+\"; path=/\";if(!r){const t=s.split(\"domain=\").pop().split(\";\").shift();s=s.replace(t,\"localhost\")}document.cookie=s},api:function(e){\"object\"==typeof e&&Object.keys(e).forEach((function(t){window[t]=e[t]}));const o=window.pm,n=o&&o.billing,a=n&&n.plan,c=a&&a.features;if(c){const e=c&&c.is_paid_plan_growth,o=e&&e.value,n=c&&c.is_enterprise_plan_growth,a=(n&&n.value?\"enterprise\":o&&\"paid\")||\"free\";t.store(\"plan\",a)}return t}};return setTimeout((function(){const t=document.getElementById(\"pmtSDK\"),e=t&&t.getAttribute(\"data-track-category\")||\"pm-analytics\",o=t&&t.getAttribute(\"data-track-property\"),n=t&&t.getAttribute(\"data-track-url\"),a=t&&\"false\"!==t.getAttribute(\"data-track-disable-do-not-track\"),c=t&&\"true\"===t.getAttribute(\"data-drive-track\"),i=t&&\"false\"!==t.getAttribute(\"data-drive-campaign-id\"),r=t&&\"false\"!==t.getAttribute(\"data-drive-pub-id\"),d=t&&\"false\"!==t.getAttribute(\"data-track-load\"),s=t&&\"false\"!==t.getAttribute(\"data-track-clicks\"),l=s&&t.getAttribute(\"data-track-clicks-attribute\")||null;if(o){const t={property:o};n&&(t.url=n),a&&(t.disableDoNotTrack=a),window.pmt(\"setScalp\",[t]),d&&window.pmt(\"scalp\",[e,\"load\",document.location.pathname]),s&&window.pmt(\"trackClicks\",[l,e]),i&&window.pmt(\"driveCampaignId\"),r&&window.pmt(\"drivePubId\",[!0]),c&&window.pmt(\"driveTrack\")}}),1e3),function(e,o){return t[e]?\"function\"==typeof t[e]?t[e].apply(t,o):t[e]:null}}();\n // \n <pmTechConfig>\n window.pmt('setScalp', [{\n property: 'postman-app',\n url: window.pmTechUrl,\n }]);\n window.pmt('scalp', [\n 'pm-analytics',\n 'load',\n document.location.pathname\n ]);\n window.pmt('driveCampaignId');\n window.pmt('trackClicks');\n window.pmt('drivePubId', [true]);\n // </pmTechConfig>\n }\n </script>\n </body>\n </html>"
}
]
}
],
"description": "It's time to work on your next challenge.\n\n1. **Document a request**: Add a single request to the folder `Documentation`. It can be a request from an API we've used previously or any API that you like. \n\n You've been reading the documentation for instructions on each of these challenges thus far. These [descriptions](https://learning.postman.com/docs/publishing-your-api/authoring-your-documentation/#documenting-with-descriptions) provide more information about a collection, folder, request, parameter, or header and are [formatted in Markdown](https://learning.postman.com/docs/publishing-your-api/authoring-your-documentation/#markdown-demo-collection). Include the following to explain how to use the endpoint:\n - Request description formatted in Markdown\n - Include at least one hyperlink to official documentation in the request description\n - Parameter description if you add any parameters\n - Header description if you add any headers\n - Save a successful response from the server as [an example](https://learning.postman.com/docs/sending-requests/examples/#response-from-the-server)\n\n1. **Optional enhancements**: If it will help the user better understand how to use the endpoint, include the following (optional):\n - [Visualize](https://learning.postman.com/docs/sending-requests/visualizer/) the response to help the user interpret the data\n - [Test](https://learning.postman.com/docs/writing-scripts/test-scripts/) to aid users who experience unexpected errors\n - Screenshot to aid users, for example, showing users where to get an API key\n - More examples demonstrating an unsuccessful response and other scenarios\n - **Do not to leak any secrets!** \n\n Send your request to ensure a successful response and save your changes.\n\nOnce you complete these steps, move on to the next folder in this collection to submit your solution. Follow the instructions in the request documentation.",
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Submit your solution",
"item": [
{
"name": "submit",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// counter for passed tests\r",
"let pass = 0\r",
"let totalToPass = 5\r",
"\r",
"let collection = pm.response.json().collection\r",
"\r",
"pm.test(\"If you have any failures, review the failed test results or ask for support in the community forum. Remember to save your changes if you update the collection. When all of your tests pass, you are done with today's challenge.\", () => {\r",
" pm.expect(true);\r",
" pass += 1\r",
"});\r",
"\r",
"pm.test(\"Status code is 200\", () => {\r",
" pm.response.to.have.status(200);\r",
" pass += 1\r",
"});\r",
"\r",
"pm.test(\"Correct collection returned\", () => {\r",
" pm.expect(collection.info.name).equals(\"Day 20: Documentation\")\r",
" pass += 1\r",
"})\r",
"\r",
"pm.test(\"Request added correctly\", () => {\r",
" pm.expect(collection.item[0].item.length, 'check number of requests').is.greaterThan(0)\r",
"\r",
" pass += 1\r",
"})\r",
"\r",
"pm.test(\"Documentation added correctly\", () => {\r",
" let firstRequest = collection.item[0].item[0]\r",
"\r",
" pm.expect(firstRequest.request.description, 'check request description').to.exist\r",
" let firstMarkdownLinkRegex = /\\[(.+)\\]\\((.+)\\)/\r",
" pm.expect(firstRequest.request.description.match(firstMarkdownLinkRegex).length, 'check hyperlink').to.equal(3)\r",
"\r",
" if (firstRequest.request.url.query) {\r",
" firstRequest.request.url.query.forEach( (param) => {\r",
" pm.expect(param.description, 'check param description').to.exist\r",
" })\r",
" pm.expect(firstRequest.request.url.query.forEach( (param) => { param.description}))\r",
" }\r",
"\r",
" if (firstRequest.request.header) {\r",
" firstRequest.request.header.forEach( (header) => {\r",
" pm.expect(header.description, 'check header description').to.exist\r",
" })\r",
" }\r",
"\r",
" pm.expect(firstRequest.response, 'check saved example').to.not.be.empty\r",
"\r",
" pass += 1\r",
"})\r",
"\r",
"// visualization for test results\r",
"let template\r",
"if (pass == totalToPass) {\r",
" template = `🍪 passing!\r",
" <br />\r",
" <img src=\"https://media1.giphy.com/media/c5eqVJN7oNLTq/giphy.gif?cid=ecf05e47ipdv9pm2ugb4rtqppcg4f291wve7s75ha1xocqhl&rid=giphy.gif&ct=g\" />\r",
" `\r",
"} else {\r",
" template = `🙅 please try again\r",
" <br />\r",
" <img src=\"https://media3.giphy.com/media/V6vNqIGP1RiMEwmMGV/giphy.gif?cid=ecf05e47dcpl5voxfkaw0l814ohtu15kcyvfe5x9lvyvc0sq&rid=giphy.gif&ct=g\" />\r",
" `\r",
"}\r",
"pm.visualizer.set(template)"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "x-api-key",
"value": "{{postman_api_key}}",
"type": "text"
}
],
"url": {
"raw": "https://api.getpostman.com/collections/{{collectionUid}}",
"protocol": "https",
"host": [
"api",
"getpostman",
"com"
],
"path": [
"collections",
"{{collectionUid}}"
]
},
"description": "It's time to submit your solution.\n\n1. **Use a Postman environment:** Find the `Postman API env` environment from the previous challenge. Update the `collectionUid` with the current collection's ID.\n1. **Validate your solution**: Save your changes in the collection and environment. Hit **Send** and look under the **Tests** tab of the server response at the bottom to review your test results.\n\nIf you have any failures, review the failed test results or ask for support in the [community forum](https://community.postman.com/). When all of your tests pass, you are done with today's challenge. Remember to save your changes as you'll need to pass all the challenges to claim a **30 days of Postman** badge."
},
"response": []
}
],
"description": "Follow the instructions in the request documentation."
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}