genesys-cloud-client-auth 0.0.2-develop.2 → 1.0.0-develop.4
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/CHANGELOG.md +5 -0
- package/README.md +4 -2
- package/dist/asset-manifest.json +192 -163
- package/dist/deploy-info.json +5 -5
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/i18n/ar.json +2 -0
- package/dist/i18n/he.json +2 -0
- package/dist/i18n/pt-pt.json +2 -0
- package/dist/index.html +1 -1
- package/dist/lib/cjs/version.js +1 -1
- package/dist/lib/es/version.js +1 -1
- package/dist/manifest.json +20 -0
- package/dist/static/css/main.045d96b0.css +2 -0
- package/dist/static/css/main.045d96b0.css.map +1 -0
- package/dist/static/js/1089.fb722233.chunk.js +2 -0
- package/dist/static/js/1089.fb722233.chunk.js.map +1 -0
- package/dist/static/js/1158.76a41325.chunk.js +2 -0
- package/dist/static/js/1158.76a41325.chunk.js.map +1 -0
- package/dist/static/js/1166.1486fbcd.chunk.js +2 -0
- package/dist/static/js/1166.1486fbcd.chunk.js.map +1 -0
- package/dist/static/js/131.3f61f67c.chunk.js +2 -0
- package/dist/static/js/131.3f61f67c.chunk.js.map +1 -0
- package/dist/static/js/1344.19a70535.chunk.js +2 -0
- package/dist/static/js/1344.19a70535.chunk.js.map +1 -0
- package/dist/static/js/1433.d57f6003.chunk.js +2 -0
- package/dist/static/js/1433.d57f6003.chunk.js.map +1 -0
- package/dist/static/js/1498.98292821.chunk.js +2 -0
- package/dist/static/js/1498.98292821.chunk.js.map +1 -0
- package/dist/static/js/1507.84125ab7.chunk.js +2 -0
- package/dist/static/js/1507.84125ab7.chunk.js.map +1 -0
- package/dist/static/js/1544.fcbc0609.chunk.js +2 -0
- package/dist/static/js/1544.fcbc0609.chunk.js.map +1 -0
- package/dist/static/js/1642.13e001a0.chunk.js +2 -0
- package/dist/static/js/1642.13e001a0.chunk.js.map +1 -0
- package/dist/static/js/1697.c1eba654.chunk.js +2 -0
- package/dist/static/js/1697.c1eba654.chunk.js.map +1 -0
- package/dist/static/js/1718.d222d0d2.chunk.js +2 -0
- package/dist/static/js/1718.d222d0d2.chunk.js.map +1 -0
- package/dist/static/js/1978.b9b0b630.chunk.js +2 -0
- package/dist/static/js/1978.b9b0b630.chunk.js.map +1 -0
- package/dist/static/js/2131.e90e6224.chunk.js +2 -0
- package/dist/static/js/2131.e90e6224.chunk.js.map +1 -0
- package/dist/static/js/2291.98b84fa5.chunk.js +2 -0
- package/dist/static/js/2291.98b84fa5.chunk.js.map +1 -0
- package/dist/static/js/2361.28c72454.chunk.js +2 -0
- package/dist/static/js/2361.28c72454.chunk.js.map +1 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js +2 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js.map +1 -0
- package/dist/static/js/2618.08776cf8.chunk.js +2 -0
- package/dist/static/js/2618.08776cf8.chunk.js.map +1 -0
- package/dist/static/js/2657.08f5fe94.chunk.js +2 -0
- package/dist/static/js/2657.08f5fe94.chunk.js.map +1 -0
- package/dist/static/js/2939.a53af515.chunk.js +2 -0
- package/dist/static/js/2939.a53af515.chunk.js.map +1 -0
- package/dist/static/js/2959.b68475ee.chunk.js +2 -0
- package/dist/static/js/2959.b68475ee.chunk.js.map +1 -0
- package/dist/static/js/3183.0483907e.chunk.js +2 -0
- package/dist/static/js/3183.0483907e.chunk.js.map +1 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js +2 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js.map +1 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js +2 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js.map +1 -0
- package/dist/static/js/3431.330e6907.chunk.js +2 -0
- package/dist/static/js/3431.330e6907.chunk.js.map +1 -0
- package/dist/static/js/3466.d53f9938.chunk.js +2 -0
- package/dist/static/js/3466.d53f9938.chunk.js.map +1 -0
- package/dist/static/js/3534.ee2022f0.chunk.js +2 -0
- package/dist/static/js/3534.ee2022f0.chunk.js.map +1 -0
- package/dist/static/js/3649.47036a0d.chunk.js +2 -0
- package/dist/static/js/3649.47036a0d.chunk.js.map +1 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js +2 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js.map +1 -0
- package/dist/static/js/3982.1668cd90.chunk.js +2 -0
- package/dist/static/js/3982.1668cd90.chunk.js.map +1 -0
- package/dist/static/js/4173.64f75901.chunk.js +2 -0
- package/dist/static/js/4173.64f75901.chunk.js.map +1 -0
- package/dist/static/js/4192.35098ff0.chunk.js +2 -0
- package/dist/static/js/4192.35098ff0.chunk.js.map +1 -0
- package/dist/static/js/4202.6a101f57.chunk.js +2 -0
- package/dist/static/js/4202.6a101f57.chunk.js.map +1 -0
- package/dist/static/js/4242.625e5aa9.chunk.js +2 -0
- package/dist/static/js/4242.625e5aa9.chunk.js.map +1 -0
- package/dist/static/js/4248.d69f59fd.chunk.js +2 -0
- package/dist/static/js/4248.d69f59fd.chunk.js.map +1 -0
- package/dist/static/js/4618.2b652181.chunk.js +2 -0
- package/dist/static/js/4618.2b652181.chunk.js.map +1 -0
- package/dist/static/js/4774.03877b96.chunk.js +2 -0
- package/dist/static/js/4774.03877b96.chunk.js.map +1 -0
- package/dist/static/js/4777.07210d5d.chunk.js +2 -0
- package/dist/static/js/4777.07210d5d.chunk.js.map +1 -0
- package/dist/static/js/4826.f3719274.chunk.js +2 -0
- package/dist/static/js/4826.f3719274.chunk.js.map +1 -0
- package/dist/static/js/501.3f46836b.chunk.js +2 -0
- package/dist/static/js/501.3f46836b.chunk.js.map +1 -0
- package/dist/static/js/5122.046ab4b7.chunk.js +2 -0
- package/dist/static/js/5122.046ab4b7.chunk.js.map +1 -0
- package/dist/static/js/5160.465b3a5d.chunk.js +2 -0
- package/dist/static/js/5160.465b3a5d.chunk.js.map +1 -0
- package/dist/static/js/546.40835589.chunk.js +2 -0
- package/dist/static/js/546.40835589.chunk.js.map +1 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js +2 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js.map +1 -0
- package/dist/static/js/5572.565c5d80.chunk.js +2 -0
- package/dist/static/js/5572.565c5d80.chunk.js.map +1 -0
- package/dist/static/js/599.a5cb72b5.chunk.js +2 -0
- package/dist/static/js/599.a5cb72b5.chunk.js.map +1 -0
- package/dist/static/js/6033.174d7635.chunk.js +2 -0
- package/dist/static/js/6033.174d7635.chunk.js.map +1 -0
- package/dist/static/js/6069.5c81dae7.chunk.js +2 -0
- package/dist/static/js/6069.5c81dae7.chunk.js.map +1 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js +2 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js.map +1 -0
- package/dist/static/js/6237.a9b576a4.chunk.js +2 -0
- package/dist/static/js/6237.a9b576a4.chunk.js.map +1 -0
- package/dist/static/js/6326.156b4248.chunk.js +2 -0
- package/dist/static/js/6326.156b4248.chunk.js.map +1 -0
- package/dist/static/js/6474.03947fd7.chunk.js +2 -0
- package/dist/static/js/6474.03947fd7.chunk.js.map +1 -0
- package/dist/static/js/6571.301eecac.chunk.js +2 -0
- package/dist/static/js/6571.301eecac.chunk.js.map +1 -0
- package/dist/static/js/6632.0676b230.chunk.js +2 -0
- package/dist/static/js/6632.0676b230.chunk.js.map +1 -0
- package/dist/static/js/6769.fcdb896c.chunk.js +2 -0
- package/dist/static/js/6769.fcdb896c.chunk.js.map +1 -0
- package/dist/static/js/6982.60585ab3.chunk.js +2 -0
- package/dist/static/js/6982.60585ab3.chunk.js.map +1 -0
- package/dist/static/js/7076.37939eb2.chunk.js +2 -0
- package/dist/static/js/7076.37939eb2.chunk.js.map +1 -0
- package/dist/static/js/7120.0b0ef311.chunk.js +3 -0
- package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 7120.0b0ef311.chunk.js.LICENSE.txt} +1 -1
- package/dist/static/js/7120.0b0ef311.chunk.js.map +1 -0
- package/dist/static/js/7150.840301cb.chunk.js +2 -0
- package/dist/static/js/7150.840301cb.chunk.js.map +1 -0
- package/dist/static/js/7153.250bf93b.chunk.js +2 -0
- package/dist/static/js/7153.250bf93b.chunk.js.map +1 -0
- package/dist/static/js/7307.8656856b.chunk.js +2 -0
- package/dist/static/js/7307.8656856b.chunk.js.map +1 -0
- package/dist/static/js/742.64af67d8.chunk.js +2 -0
- package/dist/static/js/742.64af67d8.chunk.js.map +1 -0
- package/dist/static/js/754.b1c84197.chunk.js +2 -0
- package/dist/static/js/754.b1c84197.chunk.js.map +1 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js +2 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js.map +1 -0
- package/dist/static/js/765.2a78cffe.chunk.js +2 -0
- package/dist/static/js/765.2a78cffe.chunk.js.map +1 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js +2 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js.map +1 -0
- package/dist/static/js/7895.629e8650.chunk.js +2 -0
- package/dist/static/js/7895.629e8650.chunk.js.map +1 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js +2 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js.map +1 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js +2 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js.map +1 -0
- package/dist/static/js/8105.46b996bf.chunk.js +2 -0
- package/dist/static/js/8105.46b996bf.chunk.js.map +1 -0
- package/dist/static/js/819.a55f578b.chunk.js +2 -0
- package/dist/static/js/819.a55f578b.chunk.js.map +1 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js +2 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js.map +1 -0
- package/dist/static/js/8324.b769efff.chunk.js +2 -0
- package/dist/static/js/8324.b769efff.chunk.js.map +1 -0
- package/dist/static/js/8366.b2c2daee.chunk.js +2 -0
- package/dist/static/js/8366.b2c2daee.chunk.js.map +1 -0
- package/dist/static/js/8524.95396ee8.chunk.js +2 -0
- package/dist/static/js/8524.95396ee8.chunk.js.map +1 -0
- package/dist/static/js/8644.c87452a5.chunk.js +2 -0
- package/dist/static/js/8644.c87452a5.chunk.js.map +1 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js +2 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js.map +1 -0
- package/dist/static/js/8717.76b643a4.chunk.js +2 -0
- package/dist/static/js/8717.76b643a4.chunk.js.map +1 -0
- package/dist/static/js/872.5c96c93a.chunk.js +2 -0
- package/dist/static/js/872.5c96c93a.chunk.js.map +1 -0
- package/dist/static/js/8762.d3fad692.chunk.js +2 -0
- package/dist/static/js/8762.d3fad692.chunk.js.map +1 -0
- package/dist/static/js/8782.af6b6665.chunk.js +3 -0
- package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 8782.af6b6665.chunk.js.LICENSE.txt} +0 -0
- package/dist/static/js/8782.af6b6665.chunk.js.map +1 -0
- package/dist/static/js/894.a8fe019e.chunk.js +2 -0
- package/dist/static/js/894.a8fe019e.chunk.js.map +1 -0
- package/dist/static/js/9057.702da8f9.chunk.js +2 -0
- package/dist/static/js/9057.702da8f9.chunk.js.map +1 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js +2 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js.map +1 -0
- package/dist/static/js/9117.200d2100.chunk.js +2 -0
- package/dist/static/js/9117.200d2100.chunk.js.map +1 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js +2 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js.map +1 -0
- package/dist/static/js/9296.e374c7dc.chunk.js +2 -0
- package/dist/static/js/9296.e374c7dc.chunk.js.map +1 -0
- package/dist/static/js/932.4f62c387.chunk.js +2 -0
- package/dist/static/js/932.4f62c387.chunk.js.map +1 -0
- package/dist/static/js/9584.967e5482.chunk.js +2 -0
- package/dist/static/js/9584.967e5482.chunk.js.map +1 -0
- package/dist/static/js/9679.87a204b1.chunk.js +2 -0
- package/dist/static/js/9679.87a204b1.chunk.js.map +1 -0
- package/dist/static/js/9745.63a6678a.chunk.js +2 -0
- package/dist/static/js/9745.63a6678a.chunk.js.map +1 -0
- package/dist/static/js/9750.1310ef55.chunk.js +2 -0
- package/dist/static/js/9750.1310ef55.chunk.js.map +1 -0
- package/dist/static/js/main.550a9305.js +3 -0
- package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.550a9305.js.LICENSE.txt} +2 -0
- package/dist/static/js/main.550a9305.js.map +1 -0
- package/dist/static/media/{getFetch.582d29c4.cjs → getFetch.c780682470504fffbd04.cjs} +0 -0
- package/dist/v1/genesys-cloud-client-auth.browser.min.js +2 -0
- package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +2 -0
- package/package.json +2 -2
- package/dist/static/css/main.3508dc5f.chunk.css +0 -2
- package/dist/static/css/main.3508dc5f.chunk.css.map +0 -1
- package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
- package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
- package/dist/static/js/1.8399f811.chunk.js +0 -2
- package/dist/static/js/1.8399f811.chunk.js.map +0 -1
- package/dist/static/js/10.8fb6019a.chunk.js +0 -2
- package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
- package/dist/static/js/11.aa22b687.chunk.js +0 -2
- package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
- package/dist/static/js/12.586642ff.chunk.js +0 -2
- package/dist/static/js/12.586642ff.chunk.js.map +0 -1
- package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
- package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
- package/dist/static/js/14.c3e0d008.chunk.js +0 -2
- package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
- package/dist/static/js/15.20587752.chunk.js +0 -2
- package/dist/static/js/15.20587752.chunk.js.map +0 -1
- package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
- package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
- package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
- package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
- package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
- package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
- package/dist/static/js/19.2d45340c.chunk.js +0 -2
- package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
- package/dist/static/js/20.2be3997f.chunk.js +0 -3
- package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
- package/dist/static/js/21.90337a55.chunk.js +0 -2
- package/dist/static/js/21.90337a55.chunk.js.map +0 -1
- package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
- package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
- package/dist/static/js/23.96d71d61.chunk.js +0 -3
- package/dist/static/js/23.96d71d61.chunk.js.LICENSE.txt +0 -17
- package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
- package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
- package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
- package/dist/static/js/25.1549af44.chunk.js +0 -2
- package/dist/static/js/25.1549af44.chunk.js.map +0 -1
- package/dist/static/js/26.f5920959.chunk.js +0 -2
- package/dist/static/js/26.f5920959.chunk.js.map +0 -1
- package/dist/static/js/27.4c4b5337.chunk.js +0 -2
- package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
- package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
- package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
- package/dist/static/js/29.c8bcd088.chunk.js +0 -2
- package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
- package/dist/static/js/30.3f776fe2.chunk.js +0 -2
- package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
- package/dist/static/js/31.295a0045.chunk.js +0 -2
- package/dist/static/js/31.295a0045.chunk.js.map +0 -1
- package/dist/static/js/32.c6495395.chunk.js +0 -2
- package/dist/static/js/32.c6495395.chunk.js.map +0 -1
- package/dist/static/js/33.bc3f2778.chunk.js +0 -2
- package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
- package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
- package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
- package/dist/static/js/35.080ac296.chunk.js +0 -2
- package/dist/static/js/35.080ac296.chunk.js.map +0 -1
- package/dist/static/js/36.30926ca6.chunk.js +0 -2
- package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
- package/dist/static/js/37.535e0baf.chunk.js +0 -2
- package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
- package/dist/static/js/38.c6142d9d.chunk.js +0 -2
- package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
- package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
- package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
- package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
- package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
- package/dist/static/js/41.8dc69989.chunk.js +0 -2
- package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
- package/dist/static/js/42.a8312848.chunk.js +0 -2
- package/dist/static/js/42.a8312848.chunk.js.map +0 -1
- package/dist/static/js/43.ce512d00.chunk.js +0 -2
- package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
- package/dist/static/js/44.197bff30.chunk.js +0 -2
- package/dist/static/js/44.197bff30.chunk.js.map +0 -1
- package/dist/static/js/45.9c281539.chunk.js +0 -2
- package/dist/static/js/45.9c281539.chunk.js.map +0 -1
- package/dist/static/js/46.8625525a.chunk.js +0 -2
- package/dist/static/js/46.8625525a.chunk.js.map +0 -1
- package/dist/static/js/47.89e00f8b.chunk.js +0 -2
- package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
- package/dist/static/js/48.1150630c.chunk.js +0 -2
- package/dist/static/js/48.1150630c.chunk.js.map +0 -1
- package/dist/static/js/49.d628f230.chunk.js +0 -2
- package/dist/static/js/49.d628f230.chunk.js.map +0 -1
- package/dist/static/js/5.8b318946.chunk.js +0 -3
- package/dist/static/js/5.8b318946.chunk.js.map +0 -1
- package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
- package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
- package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
- package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
- package/dist/static/js/52.d9cdf428.chunk.js +0 -2
- package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
- package/dist/static/js/53.eb9374c8.chunk.js +0 -2
- package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
- package/dist/static/js/54.0246cd90.chunk.js +0 -2
- package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
- package/dist/static/js/55.f6407d07.chunk.js +0 -2
- package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
- package/dist/static/js/56.030f4c2c.chunk.js +0 -2
- package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
- package/dist/static/js/57.106fdb37.chunk.js +0 -2
- package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
- package/dist/static/js/58.9efa9671.chunk.js +0 -2
- package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
- package/dist/static/js/59.3b47d57a.chunk.js +0 -2
- package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
- package/dist/static/js/6.8ac679aa.chunk.js +0 -2
- package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
- package/dist/static/js/60.0335fabd.chunk.js +0 -2
- package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
- package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
- package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
- package/dist/static/js/62.bb858ee5.chunk.js +0 -2
- package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
- package/dist/static/js/63.107ffad7.chunk.js +0 -2
- package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
- package/dist/static/js/64.a485a8c8.chunk.js +0 -2
- package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
- package/dist/static/js/65.3593d4bb.chunk.js +0 -2
- package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
- package/dist/static/js/66.9202016a.chunk.js +0 -2
- package/dist/static/js/66.9202016a.chunk.js.map +0 -1
- package/dist/static/js/67.45ef3717.chunk.js +0 -2
- package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
- package/dist/static/js/68.e638cd4b.chunk.js +0 -2
- package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
- package/dist/static/js/69.b404f87e.chunk.js +0 -2
- package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
- package/dist/static/js/7.a488d90e.chunk.js +0 -2
- package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
- package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
- package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
- package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
- package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
- package/dist/static/js/72.6f860cde.chunk.js +0 -2
- package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
- package/dist/static/js/73.8839e5fd.chunk.js +0 -3
- package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
- package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
- package/dist/static/js/74.da2b0a38.chunk.js +0 -2
- package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
- package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
- package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
- package/dist/static/js/9.12e26806.chunk.js +0 -2
- package/dist/static/js/9.12e26806.chunk.js.map +0 -1
- package/dist/static/js/main.5f1ec66e.chunk.js +0 -2
- package/dist/static/js/main.5f1ec66e.chunk.js.map +0 -1
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.bb79d895.js +0 -2
- package/dist/static/js/runtime-main.bb79d895.js.map +0 -1
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
window.GenesysCloudClientAuth=function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=24)}([function(t,e,r){"use strict";var o=SyntaxError,n=Function,i=TypeError,a=function(t){try{return n('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var u=function(){throw new i},c=s?function(){try{return u}catch(t){try{return s(arguments,"callee").get}catch(t){return u}}}():u,p=r(11)(),l=Object.getPrototypeOf||function(t){return t.__proto__},f={},y="undefined"==typeof Uint8Array?void 0:l(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":p?l([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?l((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?l((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?l(""[Symbol.iterator]()):void 0,"%Symbol%":p?Symbol:void 0,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},d={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=r(1),g=r(14),b=m.call(Function.call,Array.prototype.concat),v=m.call(Function.apply,Array.prototype.splice),w=m.call(Function.call,String.prototype.replace),S=m.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,j=function(t){var e=S(t,0,1),r=S(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return w(t,_,(function(t,e,r,o){n[n.length]=r?w(o,O,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(g(d,n)&&(n="%"+(r=d[n])[0]+"%"),g(h,n)){var s=h[n];if(s===f&&(s=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&(r=l(n.prototype))}return h[e]=r,r}(n)),void 0===s&&!e)throw new i("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:s}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=j(t),n=r.length>0?r[0]:"",a=A("%"+n+"%",e),u=a.name,c=a.value,p=!1,l=a.alias;l&&(n=l[0],v(r,b([0,1],l)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],m=S(d,0,1),w=S(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===w||"'"===w||"`"===w)&&m!==w)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(p=!0),g(h,u="%"+(n+="."+d)+"%"))c=h[u];else if(null!=c){if(!(d in c)){if(!e)throw new i("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&f+1>=r.length){var _=s(c,d);c=(y=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:c[d]}else y=g(c,d),c=c[d];y&&!p&&(h[u]=c)}}return c}},function(t,e,r){"use strict";var o=r(13);t.exports=Function.prototype.bind||o},function(t,e,r){"use strict";var o=String.prototype.replace,n=/%20/g,i="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(t){return o.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:i,RFC3986:a}},function(t,e,r){"use strict";var o=r(2),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],a=n.obj[n.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],p=a[c];"object"==typeof p&&null!==p&&-1===r.indexOf(p)&&(e.push({obj:a,prop:c}),r.push(p))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(t){return o}},encode:function(t,e,r,n,i){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var p=s.charCodeAt(c);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===o.RFC1738&&(40===p||41===p)?u+=s.charAt(c):p<128?u+=a[p]:p<2048?u+=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?u+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(c+=1,p=65536+((1023&p)<<10|1023&s.charCodeAt(c)),u+=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return i(e)&&!i(r)&&(a=s(e,o)),i(e)&&i(r)?(r.forEach((function(r,i){if(n.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,o):e.push(r)}else e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e}),a)}}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return null!==t&&"object"===o(t)}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;"undefined"!=typeof window?n=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),n=void 0):n=self;var i=r(6),a=r(7),s=r(8),u=r(20),c=r(4),p=r(21),l=r(23);function f(){}t.exports=function(t,r){return"function"==typeof r?new e.Request("GET",t).end(r):1===arguments.length?new e.Request("GET",t):new e.Request(t,r)};var y=e=t.exports;e.Request=w,y.getXHR=function(){if(n.XMLHttpRequest&&(!n.location||"file:"!==n.location.protocol||!n.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function d(t){if(!c(t))return t;var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&m(e,r,t[r]);return e.join("&")}function m(t,e,r){if(void 0!==r)if(null!==r)if(Array.isArray(r))r.forEach((function(r){m(t,e,r)}));else if(c(r))for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&m(t,"".concat(e,"[").concat(o,"]"),r[o]);else t.push(encodeURI(e)+"="+encodeURIComponent(r));else t.push(encodeURI(e))}function g(t){for(var e,r,o={},n=t.split("&"),i=0,a=n.length;i<a;++i)-1===(r=(e=n[i]).indexOf("="))?o[decodeURIComponent(e)]="":o[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return o}function b(t){return/[/+]json($|[^-\w])/i.test(t)}function v(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=function(t){for(var e,r,o,n,i=t.split(/\r?\n/),a={},s=0,u=i.length;s<u;++s)-1!==(e=(r=i[s]).indexOf(":"))&&(o=r.slice(0,e).toLowerCase(),n=h(r.slice(e+1)),a[o]=n);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",(function(){var t,e=null,o=null;try{o=new v(r)}catch(t){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",o);try{r._isResponseOK(o)||(t=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=o,t.status=o.status,r.callback(t,o)):r.callback(null,o)}))}function S(t,e,r){var o=y("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}y.serializeObject=d,y.parseString=g,y.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},y.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":a},y.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},p(v.prototype),v.prototype._parseBody=function(t){var e=y.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&b(this.type)&&(e=y.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},v.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,o="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),n=new Error(o);return n.status=this.status,n.method=e,n.url=r,n},y.Response=v,i(w.prototype),u(w.prototype),w.prototype.type=function(t){return this.set("Content-Type",y.types[t]||t),this},w.prototype.accept=function(t){return this.set("Accept",y.types[t]||t),this},w.prototype.auth=function(t,e,r){1===arguments.length&&(e=""),"object"===o(e)&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});var n=function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(t,e,r,n)},w.prototype.query=function(t){return"string"!=typeof t&&(t=d(t)),t&&this._query.push(t),this},w.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new n.FormData),this._formData},w.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},w.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(t){return t&&"object"===o(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},w.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||f,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=y.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var o;try{o=e.status}catch(t){o=0}if(!o){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",o.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",o.bind(null,"upload"))}catch(t){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var n=this._header["content-type"],i=this._serializer||y.serialize[n?n.split(";")[0]:""];!i&&b(n)&&(i=y.serialize["application/json"]),i&&(r=i(r))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&e.setRequestHeader(a,this.header[a]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},y.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(t){l.prototype[t.toLowerCase()]=function(e,r){var o=new y.Request(t,e);return this._setDefaults(o),r&&o.end(r),o}})),l.prototype.del=l.prototype.delete,y.get=function(t,e,r){var o=y("GET",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},y.head=function(t,e,r){var o=y("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},y.options=function(t,e,r){var o=y("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.del=S,y.delete=S,y.patch=function(t,e,r){var o=y("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.post=function(t,e,r){var o=y("POST",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.put=function(t,e,r){var o=y("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}},function(t,e,r){function o(t){if(t)return function(t){for(var e in o.prototype)t[e]=o.prototype[e];return t}(t)}t.exports=o,o.prototype.on=o.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},o.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,o=this._callbacks["$"+t];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<o.length;n++)if((r=o[n])===e||r.fn===e){o.splice(n,1);break}return 0===o.length&&delete this._callbacks["$"+t],this},o.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],o=1;o<arguments.length;o++)e[o-1]=arguments[o];if(r){o=0;for(var n=(r=r.slice(0)).length;o<n;++o)r[o].apply(this,e)}return this},o.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},o.prototype.hasListeners=function(t){return!!this.listeners(t).length}},function(t,e){t.exports=n,n.default=n,n.stable=a,n.stableStringify=a;var r=[],o=[];function n(t,e,n){var i;for(!function t(e,n,i,a){var s;if("object"==typeof e&&null!==e){for(s=0;s<i.length;s++)if(i[s]===e){var u=Object.getOwnPropertyDescriptor(a,n);return void(void 0!==u.get?u.configurable?(Object.defineProperty(a,n,{value:"[Circular]"}),r.push([a,n,e,u])):o.push([e,n]):(a[n]="[Circular]",r.push([a,n,e])))}if(i.push(e),Array.isArray(e))for(s=0;s<e.length;s++)t(e[s],s,i,e);else{var c=Object.keys(e);for(s=0;s<c.length;s++){var p=c[s];t(e[p],p,i,e)}}i.pop()}}(t,"",[],void 0),i=0===o.length?JSON.stringify(t,e,n):JSON.stringify(t,s(e),n);0!==r.length;){var a=r.pop();4===a.length?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}return i}function i(t,e){return t<e?-1:t>e?1:0}function a(t,e,n){var a,u=function t(e,n,a,s){var u;if("object"==typeof e&&null!==e){for(u=0;u<a.length;u++)if(a[u]===e){var c=Object.getOwnPropertyDescriptor(s,n);return void(void 0!==c.get?c.configurable?(Object.defineProperty(s,n,{value:"[Circular]"}),r.push([s,n,e,c])):o.push([e,n]):(s[n]="[Circular]",r.push([s,n,e])))}if("function"==typeof e.toJSON)return;if(a.push(e),Array.isArray(e))for(u=0;u<e.length;u++)t(e[u],u,a,e);else{var p={},l=Object.keys(e).sort(i);for(u=0;u<l.length;u++){var f=l[u];t(e[f],f,a,e),p[f]=e[f]}if(void 0===s)return p;r.push([s,n,e]),s[n]=p}a.pop()}}(t,"",[],void 0)||t;for(a=0===o.length?JSON.stringify(u,e,n):JSON.stringify(u,s(e),n);0!==r.length;){var c=r.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}return a}function s(t){return t=void 0!==t?t:function(t,e){return e},function(e,r){if(o.length>0)for(var n=0;n<o.length;n++){var i=o[n];if(i[1]===e&&i[0]===r){r="[Circular]",o.splice(n,1);break}}return t.call(this,e,r)}}},function(t,e,r){"use strict";var o=r(9),n=r(19),i=r(2);t.exports={formats:i,parse:n,stringify:o}},function(t,e,r){"use strict";var o=r(10),n=r(3),i=r(2),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=Array.prototype.push,p=function(t,e){c.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,f=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},h=function t(e,r,i,a,s,c,l,f,h,d,m,g,b,v,w){var S,_=e;if(w.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?_=l(r,_):_ instanceof Date?_=d(_):"comma"===i&&u(_)&&(_=n.maybeMap(_,(function(t){return t instanceof Date?d(t):t}))),null===_){if(a)return c&&!b?c(r,y.encoder,v,"key",m):r;_=""}if("string"==typeof(S=_)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||n.isBuffer(_))return c?[g(b?r:c(r,y.encoder,v,"key",m))+"="+g(c(_,y.encoder,v,"value",m))]:[g(r)+"="+g(String(_))];var O,j=[];if(void 0===_)return j;if("comma"===i&&u(_))O=[{value:_.length>0?_.join(",")||null:void 0}];else if(u(l))O=l;else{var A=Object.keys(_);O=f?A.sort(f):A}for(var E=0;E<O.length;++E){var T=O[E],x="object"==typeof T&&void 0!==T.value?T.value:_[T];if(!s||null!==x){var P=u(_)?"function"==typeof i?i(r,T):r:r+(h?"."+T:"["+T+"]");w.set(e,!0);var k=o();p(j,t(x,P,i,a,s,c,l,f,h,d,m,g,b,v,k))}}return j};t.exports=function(t,e){var r,n=t,c=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var o=i.formatters[r],n=y.filter;return("function"==typeof t.filter||u(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof c.filter?n=(0,c.filter)("",n):u(c.filter)&&(r=c.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=s[l];r||(r=Object.keys(n)),c.sort&&r.sort(c.sort);for(var m=o(),g=0;g<r.length;++g){var b=r[g];c.skipNulls&&null===n[b]||p(f,h(n[b],b,d,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,m))}var v=f.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),v.length>0?w+v:""}},function(t,e,r){"use strict";var o=r(0),n=r(15),i=r(17),a=o("%TypeError%"),s=o("%WeakMap%",!0),u=o("%Map%",!0),c=n("WeakMap.prototype.get",!0),p=n("WeakMap.prototype.set",!0),l=n("WeakMap.prototype.has",!0),f=n("Map.prototype.get",!0),y=n("Map.prototype.set",!0),h=n("Map.prototype.has",!0),d=function(t,e){for(var r,o=t;null!==(r=o.next);o=r)if(r.key===e)return o.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new a("Side channel does not contain "+i(t))},get:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(t)return c(t,o)}else if(u){if(e)return f(e,o)}else if(r)return function(t,e){var r=d(t,e);return r&&r.value}(r,o)},has:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){return!!d(t,e)}(r,o);return!1},set:function(o,n){s&&o&&("object"==typeof o||"function"==typeof o)?(t||(t=new s),p(t,o,n)):u?(e||(e=new u),y(e,o,n)):(r||(r={key:{},next:null}),function(t,e,r){var o=d(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}}(r,o,n))}};return o}},function(t,e,r){"use strict";var o="undefined"!=typeof Symbol&&Symbol,n=r(12);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"==typeof o("foo")&&("symbol"==typeof Symbol("bar")&&n())))}},function(t,e,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},function(t,e,r){"use strict";var o="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==i.call(e))throw new TypeError(o+e);for(var r,a=n.call(arguments,1),s=function(){if(this instanceof r){var o=e.apply(this,a.concat(n.call(arguments)));return Object(o)===o?o:this}return e.apply(t,a.concat(n.call(arguments)))},u=Math.max(0,e.length-a.length),c=[],p=0;p<u;p++)c.push("$"+p);if(r=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),e.prototype){var l=function(){};l.prototype=e.prototype,r.prototype=new l,l.prototype=null}return r}},function(t,e,r){"use strict";var o=r(1);t.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,r){"use strict";var o=r(0),n=r(16),i=n(o("String.prototype.indexOf"));t.exports=function(t,e){var r=o(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?n(r):r}},function(t,e,r){"use strict";var o=r(1),n=r(0),i=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||o.call(a,i),u=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(o,a,arguments);if(u&&c){var r=u(e,"length");r.configurable&&c(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(o,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l},function(t,e,r){var o="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&n&&"function"==typeof n.get?n.get:null,a=o&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,p=s&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,d=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,b="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,S="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),j=r(18).custom,A=j&&k(j)?j:null,E="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function T(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function x(t){return String(t).replace(/"/g,""")}function P(t){return!("[object Array]"!==C(t)||E&&"object"==typeof t&&E in t)}function k(t){if(S)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!w)return!1;try{return w.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,n){var s=r||{};if(I(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!I(s,"customInspect")||s.customInspect;if("boolean"!=typeof u)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(I(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength,n="... "+o+" more character"+(o>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+n}return T(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",r)}(e,s);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var d=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=d&&d>0&&"object"==typeof e)return P(e)?"[Array]":"[Object]";var v=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(s,o);if(void 0===n)n=[];else if(D(n,e)>=0)return"[Circular]";function _(e,r,i){if(r&&(n=n.slice()).push(r),i){var a={depth:s.depth};return I(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,o+1,n)}return t(e,s,o+1,n)}if("function"==typeof e){var j=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,_);return"[Function"+(j?": "+j:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(k(e)){var H=S?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(e);return"object"!=typeof e||S?H:U(H)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var W="<"+String(e.nodeName).toLowerCase(),$=e.attributes||[],B=0;B<$.length;B++)W+=" "+$[B].name+"="+T(x($[B].value),"double",s);return W+=">",e.childNodes&&e.childNodes.length&&(W+="..."),W+="</"+String(e.nodeName).toLowerCase()+">"}if(P(e)){if(0===e.length)return"[]";var z=q(e,_);return v&&!function(t){for(var e=0;e<t.length;e++)if(D(t[e],"\n")>=0)return!1;return!0}(z)?"["+L(z,v)+"]":"[ "+z.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)){var G=q(e,_);return 0===G.length?"["+String(e)+"]":"{ ["+String(e)+"] "+G.join(", ")+" }"}if("object"==typeof e&&u){if(A&&"function"==typeof e[A])return e[A]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var V=[];return a.call(e,(function(t,r){V.push(_(r,e,!0)+" => "+_(t,e))})),M("Map",i.call(e),V,v)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var J=[];return p.call(e,(function(t){J.push(_(t,e))})),M("Set",c.call(e),J,v)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(_(Number(e)));if(function(t){if(!t||"object"!=typeof t||!b)return!1;try{return b.call(t),!0}catch(t){}return!1}(e))return U(_(b.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(h.call(e));if(function(t){return!("[object String]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(_(String(e)));if(!function(t){return!("[object Date]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)){var Q=q(e,_),X=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",Y=!X&&E&&Object(e)===e&&E in e?C(e).slice(8,-1):K?"Object":"",Z=(X||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Y||K?"["+[].concat(Y||[],K||[]).join(": ")+"] ":"");return 0===Q.length?Z+"{}":v?Z+"{"+L(Q,v)+"}":Z+"{ "+Q.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function I(t,e){return R.call(t,e)}function C(t){return d.call(t)}function D(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function N(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function U(t){return"Object("+t+")"}function F(t){return t+" { ? }"}function M(t,e,r,o){return t+" ("+e+") {"+(o?L(r,o):r.join(", "))+"}"}function L(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function q(t,e){var r=P(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=I(t,n)?e(t[n],t):""}var i,a="function"==typeof v?v(t):[];if(S){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)I(t,u)&&(r&&String(Number(u))===u&&u<t.length||S&&i["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?o.push(e(u,t)+": "+e(t[u],t)):o.push(u+": "+e(t[u],t))));if("function"==typeof v)for(var c=0;c<a.length;c++)_.call(t,a[c])&&o.push("["+e(a[c])+"]: "+e(t[a[c]],t));return o}},function(t,e){},function(t,e,r){"use strict";var o=r(3),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,p=[];if(c){if(!r.plainObjects&&n.call(Object.prototype,c)&&!r.allowPrototypes)return;p.push(c)}for(var l=0;r.depth>0&&null!==(s=a.exec(i))&&l<r.depth;){if(l+=1,!r.plainObjects&&n.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;p.push(s[1])}return s&&p.push("["+i.slice(s.index)+"]"),function(t,e,r,o){for(var n=o?e:u(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(n);else{a=r.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(c,10);r.parseArrays||""!==c?!isNaN(p)&&s!==c&&String(p)===c&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(a=[])[p]=n:a[c]=n:a={0:n}}n=a}return n}(p,e,r,o)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||o.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,c={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),y=-1,h=e.charset;if(e.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?h="utf-8":"utf8=%26%2310003%3B"===f[r]&&(h="iso-8859-1"),y=r,r=f.length);for(r=0;r<f.length;++r)if(r!==y){var d,m,g=f[r],b=g.indexOf("]="),v=-1===b?g.indexOf("="):b+1;-1===v?(d=e.decoder(g,a.decoder,h,"key"),m=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,v),a.decoder,h,"key"),m=o.maybeMap(u(g.slice(v+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),n.call(c,d)?c[d]=o.combine(c[d],m):c[d]=m}return c}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),y=0;y<f.length;++y){var h=f[y],d=c(h,p[h],r,"string"==typeof t);l=o.merge(l,d,r)}return!0===r.allowSparse?l:o.compact(l)}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=r(4);function i(t){if(t)return function(t){for(var e in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,e)&&(t[e]=i.prototype[e]);return t}(t)}t.exports=i,i.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},i.prototype.parse=function(t){return this._parser=t,this},i.prototype.responseType=function(t){return this._responseType=t,this},i.prototype.serialize=function(t){return this._serializer=t,this},i.prototype.timeout=function(t){if(!t||"object"!==o(t))return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",e)}return this},i.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);i.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}if(e&&e.status&&s.has(e.status))return!0;if(t){if(t.code&&a.has(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},i.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},i.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var o=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(t,e){o.on("abort",(function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}})),o.end((function(r,o){r?e(r):t(o)}))}))}return this._fullfilledPromise.then(t,e)},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.use=function(t){return t(this),this},i.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},i.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},i.prototype.get=function(t){return this._header[t.toLowerCase()]},i.prototype.getHeader=i.prototype.get,i.prototype.set=function(t,e){if(n(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.set(r,t[r]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},i.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},i.prototype.field=function(t,e){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(n(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(r,t[r]);return this}if(Array.isArray(e)){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&this.field(t,e[o]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=String(e)),this._getFormData().append(t,e),this},i.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},i.prototype._auth=function(t,e,r,o){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(o("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},i.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},i.prototype.redirects=function(t){return this._maxRedirects=t,this},i.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw new TypeError("Invalid argument");return this._maxResponseSize=t,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(t){var e=n(t),r=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(e&&n(this._data))for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(this._data[o]=t[o]);else"string"==typeof t?(r||this.type("form"),(r=this._header["content-type"])&&(r=r.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===r?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)||r||this.type("json"),this},i.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},i.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},i.prototype._appendQueryString=function(){console.warn("Unsupported")},i.prototype._timeoutError=function(t,e,r){if(!this._aborted){var o=new Error("".concat(t+e,"ms exceeded"));o.timeout=e,o.code="ECONNABORTED",o.errno=r,this.timedout=!0,this.timedoutError=o,this.abort(),this.callback(o)}},i.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(t,e,r){"use strict";var o=r(22);function n(t){if(t)return function(t){for(var e in n.prototype)Object.prototype.hasOwnProperty.call(n.prototype,e)&&(t[e]=n.prototype[e]);return t}(t)}t.exports=n,n.prototype.get=function(t){return this.header[t.toLowerCase()]},n.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=o.type(e);var r=o.params(e);for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(this[n]=r[n]);this.links={};try{t.link&&(this.links=o.parseLinks(t.link))}catch(t){}},n.prototype._setStatusProperties=function(t){var e=t/100|0;this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t}},function(t,e,r){"use strict";function o(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}e.type=function(t){return t.split(/ *; */).shift()},e.params=function(t){var e,r={},n=o(t.split(/ *; */));try{for(n.s();!(e=n.n()).done;){var i=e.value.split(/ *= */),a=i.shift(),s=i.shift();a&&s&&(r[a]=s)}}catch(t){n.e(t)}finally{n.f()}return r},e.parseLinks=function(t){var e,r={},n=o(t.split(/ *, */));try{for(n.s();!(e=n.n()).done;){var i=e.value.split(/ *; */),a=i[0].slice(1,-1);r[i[1].split(/ *= */)[1].slice(1,-1)]=a}}catch(t){n.e(t)}finally{n.f()}return r},e.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t}},function(t,e,r){"use strict";function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function i(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(t){i.prototype[t]=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return this._defaults.push({fn:t,args:r}),this}})),i.prototype._setDefaults=function(t){this._defaults.forEach((function(e){t[e.fn].apply(t,o(e.args))}))},t.exports=i},function(t,e,r){"use strict";r.r(e),r.d(e,"GenesysCloudClientAuthenticator",(function(){return O})),r.d(e,"authenticatorFactory",(function(){return E})),r.d(e,"handleRedirectFromLogin",(function(){return j})),r.d(e,"isIssuedTimeWithinTimeframe",(function(){return w})),r.d(e,"isIssuedTimeWithinWindow",(function(){return S})),r.d(e,"tokenWasIssuedAt",(function(){return _})),r.d(e,"parseOauthParams",(function(){return b})),r.d(e,"TimeoutError",(function(){return m})),r.d(e,"VERSION",(function(){return d}));function o(t,e,r,o){return new(r||(r=Promise))((function(n,i){function a(t){try{u(o.next(t))}catch(t){i(t)}}function s(t){try{u(o.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((o=o.apply(t,e||[])).next())}))}Object.create;Object.create;var n,i=r(5),a=r.n(i),s=new Uint8Array(16);function u(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var p=function(t){return"string"==typeof t&&c.test(t)},l=[],f=0;f<256;++f)l.push((f+256).toString(16).substr(1));var y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!p(r))throw TypeError("Stringified UUID is invalid");return r};var h=function(t,e,r){var o=(t=t||{}).random||(t.rng||u)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){r=r||0;for(var n=0;n<16;++n)e[r+n]=o[n];return e}return y(o)};var d="1.0.0";class m extends Error{constructor(){super(...arguments),this.name="TIMEOUT_ERROR"}}class g extends Error{constructor(t,e){const r=e&&e instanceof Error;super(r?e.message:e),r&&(this.name=e.name),this.translationKey=t}}const b=(t=window.location.hash)=>{const e={},r={},o=new RegExp("^#*(.+?)=(.+?)$","i");if(t.split("&").forEach(t=>{const r=o.exec(t);r&&(e[r[1]]=decodeURIComponent(decodeURIComponent(r[2].replace(/\+/g,"%20"))))}),e.error)return e;if(e.access_token){if(e.state&&(r.state=e.state),e.expires_in){const t=1e3*parseInt(e.expires_in.replace(/\+/g,"%20"));r.tokenExpiryTime=Date.now()+t,r.tokenExpiryTimeString=new Date(r.tokenExpiryTime).toISOString()}r.accessToken=e.access_token.replace(/\+/g,"%20")}return r},v=(t,e)=>{e?(console.log(`%c [DEBUG:gc-client-auth:${d}] ${t}`,"color: #f29f2c",e),"object"==typeof e&&console.log(`%c [DEBUG:gc-client-auth:${d}] ^ stringified: ${JSON.stringify(e)}`,"color: #f29f2c")):console.log(`%c [DEBUG:gc-client-auth:${d}] ${t}`,"color: #f29f2c")},w=(t,e=691199e3,r=168e4,o=Date.now())=>o-_(t,e)<r,S=(t,e,r)=>w(t,e,r),_=(t,e)=>t-e;class O{constructor(t,e={}){this.VERSION=d,this.clientId=t,e.storageKey||(e.storageKey="gc_client_auth_data"),"boolean"!=typeof e.persist&&(e.persist=!1),this.config=Object.assign({},e),this.setEnvironment(e.environment),this.timeout=16e3,this.authData={},this.authentications={"PureCloud OAuth":{type:"oauth2"}};try{localStorage.setItem("genesys_cloud_local_storage_test","genesys_cloud_local_storage_test"),localStorage.removeItem("genesys_cloud_local_storage_test"),this.hasLocalStorage=!0}catch(t){this.hasLocalStorage=!1}this._loadSettings()}loginImplicitGrant(t={},e){const r=e||b();return new Promise((e,o)=>{t.org&&!t.provider?o(new Error("opts.provider must be set if opts.org is set")):t.provider&&!t.org?o(new Error("opts.org must be set if opts.provider is set")):t.redirectUri||t.usePopupAuth||o(new Error("redirectUri must be provided for implicit grant and not utilizing client-auth app for popup auth")),r&&r.error&&(r.accessToken=void 0,this._saveSettings(r),o(new Error(`[${r.error}] ${r.error_description}`))),r.accessToken&&this._saveSettings(r),this._testTokenAccess().then(()=>(!this.authData.state&&t.state&&(this.authData.state=t.state),e(this.authData))).catch(r=>{this._debug("Error encountered during login. This is normal if the application has not yet been authorized.",r);const n={client_id:encodeURIComponent(this.clientId),response_type:"token"};if(t.redirectUri&&(n.redirect_uri=encodeURIComponent(t.redirectUri)),t.state&&(n.state=encodeURIComponent(t.state)),t.org&&(n.org=encodeURIComponent(t.org)),t.provider&&(n.provider=encodeURIComponent(t.provider)),t.usePopupAuth){if(!this.hasLocalStorage)return o(new Error("localStorage is unavailable. Cannot authenticate via popup window."));this._debug("using popup auth – adding listener"),this._authenticateViaPopup(n,t.popupTimeout||15e3).then(t=>{this._saveSettings(t),e(t)}).catch(o)}else{const t=this._buildAuthUrl("oauth/authorize",n);this._debug("Implicit grant: redirecting to: "+t),window.location.replace(t),o(new Error(`Routing to login: "${t}"`))}})})}setEnvironment(t){t||(t="mypurecloud.com"),(t=t.replace(/\/+$/,"")).startsWith("https://")&&(t=t.substring(8)),t.startsWith("http://")&&(t=t.substring(7)),t.startsWith("api.")&&(t=t.substring(4)),this.environment=t,this.basePath="https://api."+t,this.authUrl="https://login."+t}clearAuthData(){this._saveSettings({accessToken:void 0,state:void 0,tokenExpiryTime:void 0,tokenExpiryTimeString:void 0})}logout(t){this.clearAuthData();const e={client_id:encodeURIComponent(this.clientId)};t&&(e.redirect_uri=encodeURIComponent(t));const r=this._buildAuthUrl("logout",e);window.location.replace(r)}setAccessToken(t){this._saveSettings({accessToken:t})}testAccessToken(t){return this.callApi("/api/v2/tokens/me","get",t)}parseDate(t){return new Date(t.replace(/T/i," "))}paramToString(t){return t?t instanceof Date?t.toJSON():t.toString():""}buildUrl(t,e={}){t.match(/^\//)||(t="/"+t);return(this.basePath+t).replace(/\{([\w-]+)\}/g,(t,r)=>{let o;return o=Object.getOwnPropertyDescriptor(e,r)?this.paramToString(e[r]):t,encodeURIComponent(o)})}callApi(t,e,r){var o;const n=this.buildUrl(t);return a.a[e](n).type("application/json").timeout(this.timeout).set("Authorization","Bearer "+(r||(null===(o=this.authData)||void 0===o?void 0:o.accessToken))).send()}_debug(t,e){this.config.debugMode&&v(t,e)}_saveSettings(t){try{if(this.authData.accessToken=t.accessToken,this.authentications["PureCloud OAuth"].accessToken=t.accessToken,t.state&&(this.authData.state=t.state),this.authData.error=t.error,this.authData.error_description=t.error_description,t.tokenExpiryTime&&(this.authData.tokenExpiryTime=t.tokenExpiryTime,this.authData.tokenExpiryTimeString=t.tokenExpiryTimeString),!this.config.persist)return void this._debug("persist is not true. Settings will not be saved.");if(!this.hasLocalStorage)return void this._debug("Warning: Cannot access local storage. Settings will not be saved.");const e=JSON.parse(JSON.stringify(this.authData));delete e.state,localStorage.setItem(this.config.storageKey,JSON.stringify(e)),this._debug("Auth data saved to local storage",e)}catch(t){console.error(t)}}_getId(t){return"gc-ca_"+(t=t||h())}_authenticateViaPopup(t,e){const r=this._getId(),o=Object.assign(Object.assign({},t),{storageKey:this.config.storageKey});this.config.debugMode&&(o.debug=!0),localStorage.setItem(r,JSON.stringify(o)),t.state=r,t.redirect_uri||(t.redirect_uri=encodeURIComponent(`https://apps.${this.environment}/client-auth`));const n=this._buildAuthUrl("oauth/authorize",t);return new Promise((o,i)=>{this._debug("Implicit grant: opening new window: "+n),window.open(n,"_blank","width=500px,height=500px,noreferrer,noopener,resizable,scrollbars,status");const a=setTimeout(()=>{this._debug("timeout for loginImplicitGrant using popup",t);const e=new m("Popup authentation timeout. It is possible that the popup was blocked or the login page encountered an error");i(e)},e),s=t=>{if(this._debug("value was just written to storage by another app",{key:t.key,newValue:t.newValue,oldValue:t.oldValue}),t.key===this.config.storageKey){this._debug("keys matched. resolving value",{key:t.key,value:t.newValue}),window.removeEventListener("storage",s),clearTimeout(a);const e=JSON.parse(t.newValue);localStorage.removeItem(r),o(e)}};window.addEventListener("storage",s)})}_testTokenAccess(){return o(this,void 0,void 0,(function*(){if(this._loadSettings(),!this.authentications["PureCloud OAuth"].accessToken)throw new g("errorTokenNotSet","No access token provided.");try{yield this.callApi("/api/v2/tokens/me","get")}catch(t){throw this._saveSettings({accessToken:void 0}),t}}))}_loadSettings(){if(!this.config.persist)return;if(!this.hasLocalStorage)return void this._debug("Warning: Cannot access local storage. Settings will not be loaded.");const t=this.authData.state,e=localStorage.getItem(this.config.storageKey);this.authData=e?JSON.parse(e):{},this.authData.accessToken&&this.setAccessToken(this.authData.accessToken),this.authData.state=t}_buildAuthUrl(t,e={}){return Object.keys(e).reduce((t,r)=>e[r]?`${t}&${r}=${e[r]}`:t,`${this.authUrl}/${t}?`)}}const j=()=>{const t=b();if(t.error)throw new Error(`[${t.error}]: ${t.error_description}`);if(!t.accessToken)throw new g("errorToken","No access token provided.");const e=t.state;if(!e)throw new g("errorStateParam","No state param on redirect. Unable to determine location to save auth data.");const r=JSON.parse(localStorage.getItem(e)||"false");if(!r||!r.storageKey)throw new g("errorParse","Unable to parse information from localStorage.");r.state?t.state=r.state:delete t.state,v("setting auth data to key: "+r.storageKey,t),localStorage.setItem(r.storageKey,JSON.stringify(t)),r.debug?v("In debug mode. Not closing window or removing storageId",{storageId:e,authData:t,href:window.location.href}):(v("removing temp storage key: "+e),localStorage.removeItem(e),v("closing window"),window.close())},A=new Map,E=(t,e)=>{let r=A.get(t);return r||(r=new O(t,e),A.set(t,r)),r};e.default=E}]);
|
|
2
|
+
//# sourceMappingURL=genesys-cloud-client-auth.browser.min.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
window.GenesysCloudClientAuth=function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=24)}([function(t,e,r){"use strict";var o=SyntaxError,n=Function,i=TypeError,a=function(t){try{return n('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var u=function(){throw new i},c=s?function(){try{return u}catch(t){try{return s(arguments,"callee").get}catch(t){return u}}}():u,p=r(11)(),l=Object.getPrototypeOf||function(t){return t.__proto__},f={},y="undefined"==typeof Uint8Array?void 0:l(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":p?l([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?l((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?l((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?l(""[Symbol.iterator]()):void 0,"%Symbol%":p?Symbol:void 0,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},d={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=r(1),g=r(14),b=m.call(Function.call,Array.prototype.concat),v=m.call(Function.apply,Array.prototype.splice),w=m.call(Function.call,String.prototype.replace),S=m.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,j=function(t){var e=S(t,0,1),r=S(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return w(t,_,(function(t,e,r,o){n[n.length]=r?w(o,O,"$1"):e||t})),n},A=function(t,e){var r,n=t;if(g(d,n)&&(n="%"+(r=d[n])[0]+"%"),g(h,n)){var s=h[n];if(s===f&&(s=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&(r=l(n.prototype))}return h[e]=r,r}(n)),void 0===s&&!e)throw new i("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:s}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new i('"allowMissing" argument must be a boolean');var r=j(t),n=r.length>0?r[0]:"",a=A("%"+n+"%",e),u=a.name,c=a.value,p=!1,l=a.alias;l&&(n=l[0],v(r,b([0,1],l)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],m=S(d,0,1),w=S(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===w||"'"===w||"`"===w)&&m!==w)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(p=!0),g(h,u="%"+(n+="."+d)+"%"))c=h[u];else if(null!=c){if(!(d in c)){if(!e)throw new i("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&f+1>=r.length){var _=s(c,d);c=(y=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:c[d]}else y=g(c,d),c=c[d];y&&!p&&(h[u]=c)}}return c}},function(t,e,r){"use strict";var o=r(13);t.exports=Function.prototype.bind||o},function(t,e,r){"use strict";var o=String.prototype.replace,n=/%20/g,i="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(t){return o.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:i,RFC3986:a}},function(t,e,r){"use strict";var o=r(2),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],a=n.obj[n.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],p=a[c];"object"==typeof p&&null!==p&&-1===r.indexOf(p)&&(e.push({obj:a,prop:c}),r.push(p))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(t){return o}},encode:function(t,e,r,n,i){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var p=s.charCodeAt(c);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===o.RFC1738&&(40===p||41===p)?u+=s.charAt(c):p<128?u+=a[p]:p<2048?u+=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?u+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(c+=1,p=65536+((1023&p)<<10|1023&s.charCodeAt(c)),u+=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return i(e)&&!i(r)&&(a=s(e,o)),i(e)&&i(r)?(r.forEach((function(r,i){if(n.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,o):e.push(r)}else e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e}),a)}}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return null!==t&&"object"===o(t)}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;"undefined"!=typeof window?n=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),n=void 0):n=self;var i=r(6),a=r(7),s=r(8),u=r(20),c=r(4),p=r(21),l=r(23);function f(){}t.exports=function(t,r){return"function"==typeof r?new e.Request("GET",t).end(r):1===arguments.length?new e.Request("GET",t):new e.Request(t,r)};var y=e=t.exports;e.Request=w,y.getXHR=function(){if(n.XMLHttpRequest&&(!n.location||"file:"!==n.location.protocol||!n.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function d(t){if(!c(t))return t;var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&m(e,r,t[r]);return e.join("&")}function m(t,e,r){if(void 0!==r)if(null!==r)if(Array.isArray(r))r.forEach((function(r){m(t,e,r)}));else if(c(r))for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&m(t,"".concat(e,"[").concat(o,"]"),r[o]);else t.push(encodeURI(e)+"="+encodeURIComponent(r));else t.push(encodeURI(e))}function g(t){for(var e,r,o={},n=t.split("&"),i=0,a=n.length;i<a;++i)-1===(r=(e=n[i]).indexOf("="))?o[decodeURIComponent(e)]="":o[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return o}function b(t){return/[/+]json($|[^-\w])/i.test(t)}function v(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=function(t){for(var e,r,o,n,i=t.split(/\r?\n/),a={},s=0,u=i.length;s<u;++s)-1!==(e=(r=i[s]).indexOf(":"))&&(o=r.slice(0,e).toLowerCase(),n=h(r.slice(e+1)),a[o]=n);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",(function(){var t,e=null,o=null;try{o=new v(r)}catch(t){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",o);try{r._isResponseOK(o)||(t=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=o,t.status=o.status,r.callback(t,o)):r.callback(null,o)}))}function S(t,e,r){var o=y("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}y.serializeObject=d,y.parseString=g,y.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},y.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":a},y.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},p(v.prototype),v.prototype._parseBody=function(t){var e=y.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&b(this.type)&&(e=y.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},v.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,o="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),n=new Error(o);return n.status=this.status,n.method=e,n.url=r,n},y.Response=v,i(w.prototype),u(w.prototype),w.prototype.type=function(t){return this.set("Content-Type",y.types[t]||t),this},w.prototype.accept=function(t){return this.set("Accept",y.types[t]||t),this},w.prototype.auth=function(t,e,r){1===arguments.length&&(e=""),"object"===o(e)&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});var n=function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(t,e,r,n)},w.prototype.query=function(t){return"string"!=typeof t&&(t=d(t)),t&&this._query.push(t),this},w.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new n.FormData),this._formData},w.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},w.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(t){return t&&"object"===o(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},w.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||f,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=y.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var o;try{o=e.status}catch(t){o=0}if(!o){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",o.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",o.bind(null,"upload"))}catch(t){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var n=this._header["content-type"],i=this._serializer||y.serialize[n?n.split(";")[0]:""];!i&&b(n)&&(i=y.serialize["application/json"]),i&&(r=i(r))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&e.setRequestHeader(a,this.header[a]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},y.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(t){l.prototype[t.toLowerCase()]=function(e,r){var o=new y.Request(t,e);return this._setDefaults(o),r&&o.end(r),o}})),l.prototype.del=l.prototype.delete,y.get=function(t,e,r){var o=y("GET",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},y.head=function(t,e,r){var o=y("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},y.options=function(t,e,r){var o=y("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.del=S,y.delete=S,y.patch=function(t,e,r){var o=y("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.post=function(t,e,r){var o=y("POST",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},y.put=function(t,e,r){var o=y("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}},function(t,e,r){function o(t){if(t)return function(t){for(var e in o.prototype)t[e]=o.prototype[e];return t}(t)}t.exports=o,o.prototype.on=o.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},o.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,o=this._callbacks["$"+t];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<o.length;n++)if((r=o[n])===e||r.fn===e){o.splice(n,1);break}return 0===o.length&&delete this._callbacks["$"+t],this},o.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],o=1;o<arguments.length;o++)e[o-1]=arguments[o];if(r){o=0;for(var n=(r=r.slice(0)).length;o<n;++o)r[o].apply(this,e)}return this},o.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},o.prototype.hasListeners=function(t){return!!this.listeners(t).length}},function(t,e){t.exports=n,n.default=n,n.stable=a,n.stableStringify=a;var r=[],o=[];function n(t,e,n){var i;for(!function t(e,n,i,a){var s;if("object"==typeof e&&null!==e){for(s=0;s<i.length;s++)if(i[s]===e){var u=Object.getOwnPropertyDescriptor(a,n);return void(void 0!==u.get?u.configurable?(Object.defineProperty(a,n,{value:"[Circular]"}),r.push([a,n,e,u])):o.push([e,n]):(a[n]="[Circular]",r.push([a,n,e])))}if(i.push(e),Array.isArray(e))for(s=0;s<e.length;s++)t(e[s],s,i,e);else{var c=Object.keys(e);for(s=0;s<c.length;s++){var p=c[s];t(e[p],p,i,e)}}i.pop()}}(t,"",[],void 0),i=0===o.length?JSON.stringify(t,e,n):JSON.stringify(t,s(e),n);0!==r.length;){var a=r.pop();4===a.length?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}return i}function i(t,e){return t<e?-1:t>e?1:0}function a(t,e,n){var a,u=function t(e,n,a,s){var u;if("object"==typeof e&&null!==e){for(u=0;u<a.length;u++)if(a[u]===e){var c=Object.getOwnPropertyDescriptor(s,n);return void(void 0!==c.get?c.configurable?(Object.defineProperty(s,n,{value:"[Circular]"}),r.push([s,n,e,c])):o.push([e,n]):(s[n]="[Circular]",r.push([s,n,e])))}if("function"==typeof e.toJSON)return;if(a.push(e),Array.isArray(e))for(u=0;u<e.length;u++)t(e[u],u,a,e);else{var p={},l=Object.keys(e).sort(i);for(u=0;u<l.length;u++){var f=l[u];t(e[f],f,a,e),p[f]=e[f]}if(void 0===s)return p;r.push([s,n,e]),s[n]=p}a.pop()}}(t,"",[],void 0)||t;for(a=0===o.length?JSON.stringify(u,e,n):JSON.stringify(u,s(e),n);0!==r.length;){var c=r.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}return a}function s(t){return t=void 0!==t?t:function(t,e){return e},function(e,r){if(o.length>0)for(var n=0;n<o.length;n++){var i=o[n];if(i[1]===e&&i[0]===r){r="[Circular]",o.splice(n,1);break}}return t.call(this,e,r)}}},function(t,e,r){"use strict";var o=r(9),n=r(19),i=r(2);t.exports={formats:i,parse:n,stringify:o}},function(t,e,r){"use strict";var o=r(10),n=r(3),i=r(2),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=Array.prototype.push,p=function(t,e){c.apply(t,u(e)?e:[e])},l=Date.prototype.toISOString,f=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},h=function t(e,r,i,a,s,c,l,f,h,d,m,g,b,v,w){var S,_=e;if(w.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?_=l(r,_):_ instanceof Date?_=d(_):"comma"===i&&u(_)&&(_=n.maybeMap(_,(function(t){return t instanceof Date?d(t):t}))),null===_){if(a)return c&&!b?c(r,y.encoder,v,"key",m):r;_=""}if("string"==typeof(S=_)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||n.isBuffer(_))return c?[g(b?r:c(r,y.encoder,v,"key",m))+"="+g(c(_,y.encoder,v,"value",m))]:[g(r)+"="+g(String(_))];var O,j=[];if(void 0===_)return j;if("comma"===i&&u(_))O=[{value:_.length>0?_.join(",")||null:void 0}];else if(u(l))O=l;else{var A=Object.keys(_);O=f?A.sort(f):A}for(var E=0;E<O.length;++E){var T=O[E],x="object"==typeof T&&void 0!==T.value?T.value:_[T];if(!s||null!==x){var P=u(_)?"function"==typeof i?i(r,T):r:r+(h?"."+T:"["+T+"]");w.set(e,!0);var k=o();p(j,t(x,P,i,a,s,c,l,f,h,d,m,g,b,v,k))}}return j};t.exports=function(t,e){var r,n=t,c=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var o=i.formatters[r],n=y.filter;return("function"==typeof t.filter||u(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof c.filter?n=(0,c.filter)("",n):u(c.filter)&&(r=c.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=s[l];r||(r=Object.keys(n)),c.sort&&r.sort(c.sort);for(var m=o(),g=0;g<r.length;++g){var b=r[g];c.skipNulls&&null===n[b]||p(f,h(n[b],b,d,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,m))}var v=f.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),v.length>0?w+v:""}},function(t,e,r){"use strict";var o=r(0),n=r(15),i=r(17),a=o("%TypeError%"),s=o("%WeakMap%",!0),u=o("%Map%",!0),c=n("WeakMap.prototype.get",!0),p=n("WeakMap.prototype.set",!0),l=n("WeakMap.prototype.has",!0),f=n("Map.prototype.get",!0),y=n("Map.prototype.set",!0),h=n("Map.prototype.has",!0),d=function(t,e){for(var r,o=t;null!==(r=o.next);o=r)if(r.key===e)return o.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new a("Side channel does not contain "+i(t))},get:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(t)return c(t,o)}else if(u){if(e)return f(e,o)}else if(r)return function(t,e){var r=d(t,e);return r&&r.value}(r,o)},has:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(t)return l(t,o)}else if(u){if(e)return h(e,o)}else if(r)return function(t,e){return!!d(t,e)}(r,o);return!1},set:function(o,n){s&&o&&("object"==typeof o||"function"==typeof o)?(t||(t=new s),p(t,o,n)):u?(e||(e=new u),y(e,o,n)):(r||(r={key:{},next:null}),function(t,e,r){var o=d(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}}(r,o,n))}};return o}},function(t,e,r){"use strict";var o="undefined"!=typeof Symbol&&Symbol,n=r(12);t.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"==typeof o("foo")&&("symbol"==typeof Symbol("bar")&&n())))}},function(t,e,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},function(t,e,r){"use strict";var o="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==i.call(e))throw new TypeError(o+e);for(var r,a=n.call(arguments,1),s=function(){if(this instanceof r){var o=e.apply(this,a.concat(n.call(arguments)));return Object(o)===o?o:this}return e.apply(t,a.concat(n.call(arguments)))},u=Math.max(0,e.length-a.length),c=[],p=0;p<u;p++)c.push("$"+p);if(r=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),e.prototype){var l=function(){};l.prototype=e.prototype,r.prototype=new l,l.prototype=null}return r}},function(t,e,r){"use strict";var o=r(1);t.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,r){"use strict";var o=r(0),n=r(16),i=n(o("String.prototype.indexOf"));t.exports=function(t,e){var r=o(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?n(r):r}},function(t,e,r){"use strict";var o=r(1),n=r(0),i=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||o.call(a,i),u=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(o,a,arguments);if(u&&c){var r=u(e,"length");r.configurable&&c(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(o,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l},function(t,e,r){var o="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&n&&"function"==typeof n.get?n.get:null,a=o&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,p=s&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,d=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,b="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,S="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),j=r(18).custom,A=j&&k(j)?j:null,E="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function T(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function x(t){return String(t).replace(/"/g,""")}function P(t){return!("[object Array]"!==C(t)||E&&"object"==typeof t&&E in t)}function k(t){if(S)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!w)return!1;try{return w.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,n){var s=r||{};if(I(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!I(s,"customInspect")||s.customInspect;if("boolean"!=typeof u)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(I(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength,n="... "+o+" more character"+(o>1?"s":"");return t(e.slice(0,r.maxStringLength),r)+n}return T(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",r)}(e,s);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var d=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=d&&d>0&&"object"==typeof e)return P(e)?"[Array]":"[Object]";var v=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(s,o);if(void 0===n)n=[];else if(D(n,e)>=0)return"[Circular]";function _(e,r,i){if(r&&(n=n.slice()).push(r),i){var a={depth:s.depth};return I(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,o+1,n)}return t(e,s,o+1,n)}if("function"==typeof e){var j=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),R=q(e,_);return"[Function"+(j?": "+j:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(k(e)){var H=S?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(e);return"object"!=typeof e||S?H:U(H)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var W="<"+String(e.nodeName).toLowerCase(),$=e.attributes||[],B=0;B<$.length;B++)W+=" "+$[B].name+"="+T(x($[B].value),"double",s);return W+=">",e.childNodes&&e.childNodes.length&&(W+="..."),W+="</"+String(e.nodeName).toLowerCase()+">"}if(P(e)){if(0===e.length)return"[]";var z=q(e,_);return v&&!function(t){for(var e=0;e<t.length;e++)if(D(t[e],"\n")>=0)return!1;return!0}(z)?"["+L(z,v)+"]":"[ "+z.join(", ")+" ]"}if(function(t){return!("[object Error]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)){var G=q(e,_);return 0===G.length?"["+String(e)+"]":"{ ["+String(e)+"] "+G.join(", ")+" }"}if("object"==typeof e&&u){if(A&&"function"==typeof e[A])return e[A]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var V=[];return a.call(e,(function(t,r){V.push(_(r,e,!0)+" => "+_(t,e))})),M("Map",i.call(e),V,v)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var J=[];return p.call(e,(function(t){J.push(_(t,e))})),M("Set",c.call(e),J,v)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return F("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return F("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return F("WeakRef");if(function(t){return!("[object Number]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(_(Number(e)));if(function(t){if(!t||"object"!=typeof t||!b)return!1;try{return b.call(t),!0}catch(t){}return!1}(e))return U(_(b.call(e)));if(function(t){return!("[object Boolean]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(h.call(e));if(function(t){return!("[object String]"!==C(t)||E&&"object"==typeof t&&E in t)}(e))return U(_(String(e)));if(!function(t){return!("[object Date]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)&&!function(t){return!("[object RegExp]"!==C(t)||E&&"object"==typeof t&&E in t)}(e)){var Q=q(e,_),X=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",Y=!X&&E&&Object(e)===e&&E in e?C(e).slice(8,-1):K?"Object":"",Z=(X||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(Y||K?"["+[].concat(Y||[],K||[]).join(": ")+"] ":"");return 0===Q.length?Z+"{}":v?Z+"{"+L(Q,v)+"}":Z+"{ "+Q.join(", ")+" }"}return String(e)};var R=Object.prototype.hasOwnProperty||function(t){return t in this};function I(t,e){return R.call(t,e)}function C(t){return d.call(t)}function D(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function N(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function U(t){return"Object("+t+")"}function F(t){return t+" { ? }"}function M(t,e,r,o){return t+" ("+e+") {"+(o?L(r,o):r.join(", "))+"}"}function L(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function q(t,e){var r=P(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=I(t,n)?e(t[n],t):""}var i,a="function"==typeof v?v(t):[];if(S){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)I(t,u)&&(r&&String(Number(u))===u&&u<t.length||S&&i["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?o.push(e(u,t)+": "+e(t[u],t)):o.push(u+": "+e(t[u],t))));if("function"==typeof v)for(var c=0;c<a.length;c++)_.call(t,a[c])&&o.push("["+e(a[c])+"]: "+e(t[a[c]],t));return o}},function(t,e){},function(t,e,r){"use strict";var o=r(3),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,p=[];if(c){if(!r.plainObjects&&n.call(Object.prototype,c)&&!r.allowPrototypes)return;p.push(c)}for(var l=0;r.depth>0&&null!==(s=a.exec(i))&&l<r.depth;){if(l+=1,!r.plainObjects&&n.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;p.push(s[1])}return s&&p.push("["+i.slice(s.index)+"]"),function(t,e,r,o){for(var n=o?e:u(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(n);else{a=r.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(c,10);r.parseArrays||""!==c?!isNaN(p)&&s!==c&&String(p)===c&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(a=[])[p]=n:a[c]=n:a={0:n}}n=a}return n}(p,e,r,o)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||o.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var r,c={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),y=-1,h=e.charset;if(e.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?h="utf-8":"utf8=%26%2310003%3B"===f[r]&&(h="iso-8859-1"),y=r,r=f.length);for(r=0;r<f.length;++r)if(r!==y){var d,m,g=f[r],b=g.indexOf("]="),v=-1===b?g.indexOf("="):b+1;-1===v?(d=e.decoder(g,a.decoder,h,"key"),m=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,v),a.decoder,h,"key"),m=o.maybeMap(u(g.slice(v+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),n.call(c,d)?c[d]=o.combine(c[d],m):c[d]=m}return c}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(p),y=0;y<f.length;++y){var h=f[y],d=c(h,p[h],r,"string"==typeof t);l=o.merge(l,d,r)}return!0===r.allowSparse?l:o.compact(l)}},function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=r(4);function i(t){if(t)return function(t){for(var e in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,e)&&(t[e]=i.prototype[e]);return t}(t)}t.exports=i,i.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},i.prototype.parse=function(t){return this._parser=t,this},i.prototype.responseType=function(t){return this._responseType=t,this},i.prototype.serialize=function(t){return this._serializer=t,this},i.prototype.timeout=function(t){if(!t||"object"!==o(t))return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",e)}return this},i.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);i.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}if(e&&e.status&&s.has(e.status))return!0;if(t){if(t.code&&a.has(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},i.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},i.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var o=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(t,e){o.on("abort",(function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}})),o.end((function(r,o){r?e(r):t(o)}))}))}return this._fullfilledPromise.then(t,e)},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.use=function(t){return t(this),this},i.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},i.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},i.prototype.get=function(t){return this._header[t.toLowerCase()]},i.prototype.getHeader=i.prototype.get,i.prototype.set=function(t,e){if(n(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.set(r,t[r]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},i.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},i.prototype.field=function(t,e){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(n(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(r,t[r]);return this}if(Array.isArray(e)){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&this.field(t,e[o]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=String(e)),this._getFormData().append(t,e),this},i.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},i.prototype._auth=function(t,e,r,o){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(o("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},i.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},i.prototype.redirects=function(t){return this._maxRedirects=t,this},i.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw new TypeError("Invalid argument");return this._maxResponseSize=t,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(t){var e=n(t),r=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(e&&n(this._data))for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(this._data[o]=t[o]);else"string"==typeof t?(r||this.type("form"),(r=this._header["content-type"])&&(r=r.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===r?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)||r||this.type("json"),this},i.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},i.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},i.prototype._appendQueryString=function(){console.warn("Unsupported")},i.prototype._timeoutError=function(t,e,r){if(!this._aborted){var o=new Error("".concat(t+e,"ms exceeded"));o.timeout=e,o.code="ECONNABORTED",o.errno=r,this.timedout=!0,this.timedoutError=o,this.abort(),this.callback(o)}},i.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(t,e,r){"use strict";var o=r(22);function n(t){if(t)return function(t){for(var e in n.prototype)Object.prototype.hasOwnProperty.call(n.prototype,e)&&(t[e]=n.prototype[e]);return t}(t)}t.exports=n,n.prototype.get=function(t){return this.header[t.toLowerCase()]},n.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=o.type(e);var r=o.params(e);for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(this[n]=r[n]);this.links={};try{t.link&&(this.links=o.parseLinks(t.link))}catch(t){}},n.prototype._setStatusProperties=function(t){var e=t/100|0;this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t}},function(t,e,r){"use strict";function o(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}e.type=function(t){return t.split(/ *; */).shift()},e.params=function(t){var e,r={},n=o(t.split(/ *; */));try{for(n.s();!(e=n.n()).done;){var i=e.value.split(/ *= */),a=i.shift(),s=i.shift();a&&s&&(r[a]=s)}}catch(t){n.e(t)}finally{n.f()}return r},e.parseLinks=function(t){var e,r={},n=o(t.split(/ *, */));try{for(n.s();!(e=n.n()).done;){var i=e.value.split(/ *; */),a=i[0].slice(1,-1);r[i[1].split(/ *= */)[1].slice(1,-1)]=a}}catch(t){n.e(t)}finally{n.f()}return r},e.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t}},function(t,e,r){"use strict";function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function i(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(t){i.prototype[t]=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return this._defaults.push({fn:t,args:r}),this}})),i.prototype._setDefaults=function(t){this._defaults.forEach((function(e){t[e.fn].apply(t,o(e.args))}))},t.exports=i},function(t,e,r){"use strict";r.r(e),r.d(e,"GenesysCloudClientAuthenticator",(function(){return O})),r.d(e,"authenticatorFactory",(function(){return E})),r.d(e,"handleRedirectFromLogin",(function(){return j})),r.d(e,"isIssuedTimeWithinTimeframe",(function(){return w})),r.d(e,"isIssuedTimeWithinWindow",(function(){return S})),r.d(e,"tokenWasIssuedAt",(function(){return _})),r.d(e,"parseOauthParams",(function(){return b})),r.d(e,"TimeoutError",(function(){return m})),r.d(e,"VERSION",(function(){return d}));function o(t,e,r,o){return new(r||(r=Promise))((function(n,i){function a(t){try{u(o.next(t))}catch(t){i(t)}}function s(t){try{u(o.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((o=o.apply(t,e||[])).next())}))}Object.create;Object.create;var n,i=r(5),a=r.n(i),s=new Uint8Array(16);function u(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var p=function(t){return"string"==typeof t&&c.test(t)},l=[],f=0;f<256;++f)l.push((f+256).toString(16).substr(1));var y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!p(r))throw TypeError("Stringified UUID is invalid");return r};var h=function(t,e,r){var o=(t=t||{}).random||(t.rng||u)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){r=r||0;for(var n=0;n<16;++n)e[r+n]=o[n];return e}return y(o)};var d="1.0.0";class m extends Error{constructor(){super(...arguments),this.name="TIMEOUT_ERROR"}}class g extends Error{constructor(t,e){const r=e&&e instanceof Error;super(r?e.message:e),r&&(this.name=e.name),this.translationKey=t}}const b=(t=window.location.hash)=>{const e={},r={},o=new RegExp("^#*(.+?)=(.+?)$","i");if(t.split("&").forEach(t=>{const r=o.exec(t);r&&(e[r[1]]=decodeURIComponent(decodeURIComponent(r[2].replace(/\+/g,"%20"))))}),e.error)return e;if(e.access_token){if(e.state&&(r.state=e.state),e.expires_in){const t=1e3*parseInt(e.expires_in.replace(/\+/g,"%20"));r.tokenExpiryTime=Date.now()+t,r.tokenExpiryTimeString=new Date(r.tokenExpiryTime).toISOString()}r.accessToken=e.access_token.replace(/\+/g,"%20")}return r},v=(t,e)=>{e?(console.log(`%c [DEBUG:gc-client-auth:${d}] ${t}`,"color: #f29f2c",e),"object"==typeof e&&console.log(`%c [DEBUG:gc-client-auth:${d}] ^ stringified: ${JSON.stringify(e)}`,"color: #f29f2c")):console.log(`%c [DEBUG:gc-client-auth:${d}] ${t}`,"color: #f29f2c")},w=(t,e=691199e3,r=168e4,o=Date.now())=>o-_(t,e)<r,S=(t,e,r)=>w(t,e,r),_=(t,e)=>t-e;class O{constructor(t,e={}){this.VERSION=d,this.clientId=t,e.storageKey||(e.storageKey="gc_client_auth_data"),"boolean"!=typeof e.persist&&(e.persist=!1),this.config=Object.assign({},e),this.setEnvironment(e.environment),this.timeout=16e3,this.authData={},this.authentications={"PureCloud OAuth":{type:"oauth2"}};try{localStorage.setItem("genesys_cloud_local_storage_test","genesys_cloud_local_storage_test"),localStorage.removeItem("genesys_cloud_local_storage_test"),this.hasLocalStorage=!0}catch(t){this.hasLocalStorage=!1}this._loadSettings()}loginImplicitGrant(t={},e){const r=e||b();return new Promise((e,o)=>{t.org&&!t.provider?o(new Error("opts.provider must be set if opts.org is set")):t.provider&&!t.org?o(new Error("opts.org must be set if opts.provider is set")):t.redirectUri||t.usePopupAuth||o(new Error("redirectUri must be provided for implicit grant and not utilizing client-auth app for popup auth")),r&&r.error&&(r.accessToken=void 0,this._saveSettings(r),o(new Error(`[${r.error}] ${r.error_description}`))),r.accessToken&&this._saveSettings(r),this._testTokenAccess().then(()=>(!this.authData.state&&t.state&&(this.authData.state=t.state),e(this.authData))).catch(r=>{this._debug("Error encountered during login. This is normal if the application has not yet been authorized.",r);const n={client_id:encodeURIComponent(this.clientId),response_type:"token"};if(t.redirectUri&&(n.redirect_uri=encodeURIComponent(t.redirectUri)),t.state&&(n.state=encodeURIComponent(t.state)),t.org&&(n.org=encodeURIComponent(t.org)),t.provider&&(n.provider=encodeURIComponent(t.provider)),t.usePopupAuth){if(!this.hasLocalStorage)return o(new Error("localStorage is unavailable. Cannot authenticate via popup window."));this._debug("using popup auth – adding listener"),this._authenticateViaPopup(n,t.popupTimeout||15e3).then(t=>{this._saveSettings(t),e(t)}).catch(o)}else{const t=this._buildAuthUrl("oauth/authorize",n);this._debug("Implicit grant: redirecting to: "+t),window.location.replace(t),o(new Error(`Routing to login: "${t}"`))}})})}setEnvironment(t){t||(t="mypurecloud.com"),(t=t.replace(/\/+$/,"")).startsWith("https://")&&(t=t.substring(8)),t.startsWith("http://")&&(t=t.substring(7)),t.startsWith("api.")&&(t=t.substring(4)),this.environment=t,this.basePath="https://api."+t,this.authUrl="https://login."+t}clearAuthData(){this._saveSettings({accessToken:void 0,state:void 0,tokenExpiryTime:void 0,tokenExpiryTimeString:void 0})}logout(t){this.clearAuthData();const e={client_id:encodeURIComponent(this.clientId)};t&&(e.redirect_uri=encodeURIComponent(t));const r=this._buildAuthUrl("logout",e);window.location.replace(r)}setAccessToken(t){this._saveSettings({accessToken:t})}testAccessToken(t){return this.callApi("/api/v2/tokens/me","get",t)}parseDate(t){return new Date(t.replace(/T/i," "))}paramToString(t){return t?t instanceof Date?t.toJSON():t.toString():""}buildUrl(t,e={}){t.match(/^\//)||(t="/"+t);return(this.basePath+t).replace(/\{([\w-]+)\}/g,(t,r)=>{let o;return o=Object.getOwnPropertyDescriptor(e,r)?this.paramToString(e[r]):t,encodeURIComponent(o)})}callApi(t,e,r){var o;const n=this.buildUrl(t);return a.a[e](n).type("application/json").timeout(this.timeout).set("Authorization","Bearer "+(r||(null===(o=this.authData)||void 0===o?void 0:o.accessToken))).send()}_debug(t,e){this.config.debugMode&&v(t,e)}_saveSettings(t){try{if(this.authData.accessToken=t.accessToken,this.authentications["PureCloud OAuth"].accessToken=t.accessToken,t.state&&(this.authData.state=t.state),this.authData.error=t.error,this.authData.error_description=t.error_description,t.tokenExpiryTime&&(this.authData.tokenExpiryTime=t.tokenExpiryTime,this.authData.tokenExpiryTimeString=t.tokenExpiryTimeString),!this.config.persist)return void this._debug("persist is not true. Settings will not be saved.");if(!this.hasLocalStorage)return void this._debug("Warning: Cannot access local storage. Settings will not be saved.");const e=JSON.parse(JSON.stringify(this.authData));delete e.state,localStorage.setItem(this.config.storageKey,JSON.stringify(e)),this._debug("Auth data saved to local storage",e)}catch(t){console.error(t)}}_getId(t){return"gc-ca_"+(t=t||h())}_authenticateViaPopup(t,e){const r=this._getId(),o=Object.assign(Object.assign({},t),{storageKey:this.config.storageKey});this.config.debugMode&&(o.debug=!0),localStorage.setItem(r,JSON.stringify(o)),t.state=r,t.redirect_uri||(t.redirect_uri=encodeURIComponent(`https://apps.${this.environment}/client-auth`));const n=this._buildAuthUrl("oauth/authorize",t);return new Promise((o,i)=>{this._debug("Implicit grant: opening new window: "+n),window.open(n,"_blank","width=500px,height=500px,noreferrer,noopener,resizable,scrollbars,status");const a=setTimeout(()=>{this._debug("timeout for loginImplicitGrant using popup",t);const e=new m("Popup authentation timeout. It is possible that the popup was blocked or the login page encountered an error");i(e)},e),s=t=>{if(this._debug("value was just written to storage by another app",{key:t.key,newValue:t.newValue,oldValue:t.oldValue}),t.key===this.config.storageKey){this._debug("keys matched. resolving value",{key:t.key,value:t.newValue}),window.removeEventListener("storage",s),clearTimeout(a);const e=JSON.parse(t.newValue);localStorage.removeItem(r),o(e)}};window.addEventListener("storage",s)})}_testTokenAccess(){return o(this,void 0,void 0,(function*(){if(this._loadSettings(),!this.authentications["PureCloud OAuth"].accessToken)throw new g("errorTokenNotSet","No access token provided.");try{yield this.callApi("/api/v2/tokens/me","get")}catch(t){throw this._saveSettings({accessToken:void 0}),t}}))}_loadSettings(){if(!this.config.persist)return;if(!this.hasLocalStorage)return void this._debug("Warning: Cannot access local storage. Settings will not be loaded.");const t=this.authData.state,e=localStorage.getItem(this.config.storageKey);this.authData=e?JSON.parse(e):{},this.authData.accessToken&&this.setAccessToken(this.authData.accessToken),this.authData.state=t}_buildAuthUrl(t,e={}){return Object.keys(e).reduce((t,r)=>e[r]?`${t}&${r}=${e[r]}`:t,`${this.authUrl}/${t}?`)}}const j=()=>{const t=b();if(t.error)throw new Error(`[${t.error}]: ${t.error_description}`);if(!t.accessToken)throw new g("errorToken","No access token provided.");const e=t.state;if(!e)throw new g("errorStateParam","No state param on redirect. Unable to determine location to save auth data.");const r=JSON.parse(localStorage.getItem(e)||"false");if(!r||!r.storageKey)throw new g("errorParse","Unable to parse information from localStorage.");r.state?t.state=r.state:delete t.state,v("setting auth data to key: "+r.storageKey,t),localStorage.setItem(r.storageKey,JSON.stringify(t)),r.debug?v("In debug mode. Not closing window or removing storageId",{storageId:e,authData:t,href:window.location.href}):(v("removing temp storage key: "+e),localStorage.removeItem(e),v("closing window"),window.close())},A=new Map,E=(t,e)=>{let r=A.get(t);return r||(r=new O(t,e),A.set(t,r)),r};e.default=E}]);
|
|
2
|
+
//# sourceMappingURL=genesys-cloud-client-auth.browser.min.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesys-cloud-client-auth",
|
|
3
3
|
"description": "Small, lightweight library and app to handle authentication for client applications. Big advantage is utilization of popup windows to authenticate apps within iframes.",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "1.0.0-develop.4",
|
|
5
5
|
"main": "dist/lib/cjs/index.js",
|
|
6
6
|
"module": "dist/lib/es/index.js",
|
|
7
7
|
"browser": "dist/lib/es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"start:lib": "webpack -c webpack.config.dev.js",
|
|
17
17
|
"start:react": "cd src/react-app && yarn start",
|
|
18
18
|
"prebuild": "rimraf dist",
|
|
19
|
-
"build": "npm run build:react && npm run build:lib && node scripts/
|
|
19
|
+
"build": "npm run build:react && npm run build:lib && node scripts/version-manifest.js",
|
|
20
20
|
"build:react": "cd src/react-app && yarn build",
|
|
21
21
|
"build:lib": "npm run compile:cjs && npm run compile:module && npm run compile:webpack",
|
|
22
22
|
"compile:cjs": "tsc -p ./tsconfig.json --outDir ./dist/lib/cjs --target es2018 --module commonjs",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.App{text-align:center}.content{background-color:#222529;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;font-size:20px;color:#fff}gux-icon{width:100%;font-size:5em;margin:50px 0}
|
|
2
|
-
/*# sourceMappingURL=main.3508dc5f.chunk.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://src/index.css","webpack://src/App.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCZA,KACE,iBAEF,CAEA,SACE,wBAAyB,CACzB,gBAAiB,CACjB,YAAa,CACb,qBAAsB,CACtB,kBAAmB,CACnB,0BAA2B,CAC3B,cAAe,CACf,UACF,CAGA,SACE,UAAW,CACX,aAAc,CACd,aACF","file":"main.3508dc5f.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".App {\n text-align: center;\n\n}\n\n.content {\n background-color: #222529;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n font-size: 20px;\n color: white;\n}\n\n\ngux-icon {\n width: 100%;\n font-size: 5em;\n margin: 50px 0 50px 0;\n}\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 0.71c0b4a8.chunk.js.LICENSE.txt */
|
|
2
|
-
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[0],{107:function(e,t,r){"use strict";r.d(t,"a",(function(){return ve})),r.d(t,"b",(function(){return ge})),r.d(t,"c",(function(){return me}));var n=r(0),a=function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{c(n.next(e))}catch(t){i(t)}}function u(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,u)}c((n=n.apply(e,t||[])).next())}))},i=function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,n=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(u){i=[6,u],n=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),a=0;for(t=0;t<r;t++)for(var i=arguments[t],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n}var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};var f,p,h=function(){return(h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function g(e){return e.type===f.literal}function d(e){return e.type===f.argument}function m(e){return e.type===f.number}function v(e){return e.type===f.date}function y(e){return e.type===f.time}function b(e){return e.type===f.select}function A(e){return e.type===f.plural}function w(e){return e.type===f.pound}function x(e){return e.type===f.tag}function C(e){return!(!e||"object"!==typeof e||0!==e.type)}function D(e){return!(!e||"object"!==typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(f||(f={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var E=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function k(e){var t={};return e.replace(E,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var O=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,F=/^(@+)?(\+|#+)?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,I=/^(0+)$/;function _(e){var t={};return e.replace(F,(function(e,r,n){return"string"!==typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"===typeof n?n.length:0)),""})),t}function j(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!I.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function N(e){var t=j(e);return t||{}}function z(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=h(h(h({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return h(h({},e),N(t))}),{}));continue;case"engineering":t=h(h(h({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return h(h({},e),N(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(S,(function(e,r,n,a,i,o){if(r)t.minimumIntegerDigits=n.length;else{if(a&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(I.test(a.stem))t.minimumIntegerDigits=a.stem.length;else if(O.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(O,(function(e,r,n,a,i,o){return"*"===n?t.minimumFractionDigits=r.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:i&&o?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),a.options.length&&(t=h(h({},t),_(a.options[0])))}else if(F.test(a.stem))t=h(h({},t),_(a.stem));else{var i=j(a.stem);i&&(t=h(h({},t),i));var o=T(a.stem);o&&(t=h(h({},t),o))}}return t}var L=function(e){function t(r,n,a,i){var o=e.call(this)||this;return o.message=r,o.expected=n,o.found=a,o.location=i,o.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(i);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+(((o=t)?'"'+n(o)+'"':"end of input")+" found.");var o},t}(Error);var R=function(e,t){t=void 0!==t?t:{};var r,n={},a={start:He},i=He,o="<",u=Ve("<",!1),c=function(e){return e.join("")},s=Ve("#",!1),l=Be("tagElement"),p=Ve("/>",!1),g=Ve(">",!1),d=Ve("</",!1),m=Be("argumentElement"),v="{",y=Ve("{",!1),b="}",A=Ve("}",!1),w=Be("numberSkeletonId"),x=/^['\/{}]/,C=Ze(["'","/","{","}"],!1,!1),D={type:"any"},E=Be("numberSkeletonTokenOption"),O=Ve("/",!1),F=Be("numberSkeletonToken"),S="::",I=Ve("::",!1),_=function(e){return yt.pop(),e.replace(/\s*$/,"")},j=",",T=Ve(",",!1),N="number",R=Ve("number",!1),P=function(e,t,r){return h({type:"number"===t?f.number:"date"===t?f.date:f.time,style:r&&r[2],value:e},At())},M="'",V=Ve("'",!1),Z=/^[^']/,B=Ze(["'"],!0,!1),U=/^[^a-zA-Z'{}]/,G=Ze([["a","z"],["A","Z"],"'","{","}"],!0,!1),$=/^[a-zA-Z]/,H=Ze([["a","z"],["A","Z"]],!1,!1),K="date",J=Ve("date",!1),W="time",q=Ve("time",!1),Q="plural",X=Ve("plural",!1),Y="selectordinal",ee=Ve("selectordinal",!1),te="offset:",re=Ve("offset:",!1),ne="select",ae=Ve("select",!1),ie=Ve("=",!1),oe=Be("whitespace"),ue=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ce=Ze([["\t","\r"]," ","\x85","\xa0","\u1680",["\u2000","\u200a"],"\u2028","\u2029","\u202f","\u205f","\u3000"],!1,!1),se=Be("syntax pattern"),le=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,fe=Ze([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xa1","\xa7"],"\xa9","\xab","\xac","\xae","\xb0","\xb1","\xb6","\xbb","\xbf","\xd7","\xf7",["\u2010","\u2027"],["\u2030","\u203e"],["\u2041","\u2053"],["\u2055","\u205e"],["\u2190","\u245f"],["\u2500","\u2775"],["\u2794","\u2bff"],["\u2e00","\u2e7f"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\ufd3e","\ufd3f","\ufe45","\ufe46"],!1,!1),pe=Be("optional whitespace"),he=Be("number"),ge="-",de=Ve("-",!1),me=Be("double apostrophes"),ve="''",ye=Ve("''",!1),be=function(e){return"<"!==e&&"{"!==e&&!(bt()&&"#"===e)&&!(yt.length>1&&"}"===e)},Ae=Ve("\n",!1),we=Be("argNameOrNumber"),xe=Be("validTag"),Ce=Be("argNumber"),De=Ve("0",!1),Ee=/^[1-9]/,ke=Ze([["1","9"]],!1,!1),Oe=/^[0-9]/,Fe=Ze([["0","9"]],!1,!1),Se=Be("argName"),Ie=Be("tagName"),_e=0,je=0,Te=[{line:1,column:1}],Ne=0,ze=[],Le=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function Re(){return e.substring(je,_e)}function Pe(){return Ge(je,_e)}function Me(e,t){throw function(e,t){return new L(e,[],"",t)}(e,t=void 0!==t?t:Ge(je,_e))}function Ve(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ze(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Be(e){return{type:"other",description:e}}function Ue(t){var r,n=Te[t];if(n)return n;for(r=t-1;!Te[r];)r--;for(n={line:(n=Te[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Te[t]=n,n}function Ge(e,t){var r=Ue(e),n=Ue(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function $e(e){_e<Ne||(_e>Ne&&(Ne=_e,ze=[]),ze.push(e))}function He(){return Ke()}function Ke(){var e,t;for(e=[],t=Je();t!==n;)e.push(t),t=Je();return e}function Je(){var t,r;return t=_e,je=_e,(!Dt?void 0:n)!==n&&(r=function(){var e,t,r,a;Le++,(e=Qe())===n&&(e=_e,(t=Xe())!==n&&(r=Ke())!==n&&(a=Ye())!==n?(je=e,o=r,(i=t)!==(u=a)&&Me('Mismatch tag "'+i+'" !== "'+u+'"',Pe()),e=t=h({type:f.tag,value:i,children:o},At())):(_e=e,e=n));var i,o,u;Le--,e===n&&(t=n,0===Le&&$e(l));return e}())!==n?(je=t,t=r):(_e=t,t=n),t===n&&(t=function(){var e,t;e=_e,(t=We())!==n&&(je=e,r=t,t=h({type:f.literal,value:r},At()));var r;return e=t}())===n&&(t=function(){var t,r,a,i;Le++,t=_e,123===e.charCodeAt(_e)?(r=v,_e++):(r=n,0===Le&&$e(y));r!==n&&st()!==n&&(a=gt())!==n&&st()!==n?(125===e.charCodeAt(_e)?(i=b,_e++):(i=n,0===Le&&$e(A)),i!==n?(je=t,o=a,t=r=h({type:f.argument,value:o},At())):(_e=t,t=n)):(_e=t,t=n);var o;Le--,t===n&&(r=n,0===Le&&$e(m));return t}())===n&&(t=function(){var t;(t=function(){var t,r,a,i,o,u,c,s,l;t=_e,123===e.charCodeAt(_e)?(r=v,_e++):(r=n,0===Le&&$e(y));r!==n&&st()!==n&&(a=gt())!==n&&st()!==n?(44===e.charCodeAt(_e)?(i=j,_e++):(i=n,0===Le&&$e(T)),i!==n&&st()!==n?(e.substr(_e,6)===N?(o=N,_e+=6):(o=n,0===Le&&$e(R)),o!==n&&st()!==n?(u=_e,44===e.charCodeAt(_e)?(c=j,_e++):(c=n,0===Le&&$e(T)),c!==n&&(s=st())!==n&&(l=function(){var t,r,a;t=_e,e.substr(_e,2)===S?(r=S,_e+=2):(r=n,0===Le&&$e(I));r!==n&&(a=function(){var e,t,r;if(e=_e,t=[],(r=rt())!==n)for(;r!==n;)t.push(r),r=rt();else t=n;t!==n&&(je=e,t=h({type:0,tokens:a=t,parsedOptions:Et?z(a):{}},At()));var a;return e=t}())!==n?(je=t,t=r=a):(_e=t,t=n);t===n&&(t=_e,je=_e,yt.push("numberArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=We())!==n?(je=t,t=r=_(a)):(_e=t,t=n));return t}())!==n?u=c=[c,s,l]:(_e=u,u=n),u===n&&(u=null),u!==n&&(c=st())!==n?(125===e.charCodeAt(_e)?(s=b,_e++):(s=n,0===Le&&$e(A)),s!==n?(je=t,t=r=P(a,o,u)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n);return t}())===n&&(t=function(){var t,r,a,i,o,u,c,s,l;t=_e,123===e.charCodeAt(_e)?(r=v,_e++):(r=n,0===Le&&$e(y));r!==n&&st()!==n&&(a=gt())!==n&&st()!==n?(44===e.charCodeAt(_e)?(i=j,_e++):(i=n,0===Le&&$e(T)),i!==n&&st()!==n?(e.substr(_e,4)===K?(o=K,_e+=4):(o=n,0===Le&&$e(J)),o===n&&(e.substr(_e,4)===W?(o=W,_e+=4):(o=n,0===Le&&$e(q))),o!==n&&st()!==n?(u=_e,44===e.charCodeAt(_e)?(c=j,_e++):(c=n,0===Le&&$e(T)),c!==n&&(s=st())!==n&&(l=function(){var t,r,a;t=_e,e.substr(_e,2)===S?(r=S,_e+=2):(r=n,0===Le&&$e(I));r!==n&&(a=function(){var t,r,a,i;t=_e,r=_e,a=[],(i=nt())===n&&(i=at());if(i!==n)for(;i!==n;)a.push(i),(i=nt())===n&&(i=at());else a=n;r=a!==n?e.substring(r,_e):a;r!==n&&(je=t,r=h({type:1,pattern:o=r,parsedOptions:Et?k(o):{}},At()));var o;return t=r}())!==n?(je=t,t=r=a):(_e=t,t=n);t===n&&(t=_e,je=_e,yt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=We())!==n?(je=t,t=r=_(a)):(_e=t,t=n));return t}())!==n?u=c=[c,s,l]:(_e=u,u=n),u===n&&(u=null),u!==n&&(c=st())!==n?(125===e.charCodeAt(_e)?(s=b,_e++):(s=n,0===Le&&$e(A)),s!==n?(je=t,t=r=P(a,o,u)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n);return t}());return t}())===n&&(t=function(){var t,r,a,i,o,u,c,s,l,p,g;t=_e,123===e.charCodeAt(_e)?(r=v,_e++):(r=n,0===Le&&$e(y));if(r!==n)if(st()!==n)if((a=gt())!==n)if(st()!==n)if(44===e.charCodeAt(_e)?(i=j,_e++):(i=n,0===Le&&$e(T)),i!==n)if(st()!==n)if(e.substr(_e,6)===Q?(o=Q,_e+=6):(o=n,0===Le&&$e(X)),o===n&&(e.substr(_e,13)===Y?(o=Y,_e+=13):(o=n,0===Le&&$e(ee))),o!==n)if(st()!==n)if(44===e.charCodeAt(_e)?(u=j,_e++):(u=n,0===Le&&$e(T)),u!==n)if(st()!==n)if(c=_e,e.substr(_e,7)===te?(s=te,_e+=7):(s=n,0===Le&&$e(re)),s!==n&&(l=st())!==n&&(p=lt())!==n?c=s=[s,l,p]:(_e=c,c=n),c===n&&(c=null),c!==n)if((s=st())!==n){if(l=[],(p=ot())!==n)for(;p!==n;)l.push(p),p=ot();else l=n;l!==n&&(p=st())!==n?(125===e.charCodeAt(_e)?(g=b,_e++):(g=n,0===Le&&$e(A)),g!==n?(je=t,t=r=function(e,t,r,n){return h({type:f.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:n.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Me('Duplicate option "'+r+'" in plural element: "'+Re()+'"',Pe()),e[r]={value:n,location:a},e}),{})},At())}(a,o,c,l)):(_e=t,t=n)):(_e=t,t=n)}else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;return t}())===n&&(t=function(){var t,r,a,i,o,u,c,s,l;t=_e,123===e.charCodeAt(_e)?(r=v,_e++):(r=n,0===Le&&$e(y));if(r!==n)if(st()!==n)if((a=gt())!==n)if(st()!==n)if(44===e.charCodeAt(_e)?(i=j,_e++):(i=n,0===Le&&$e(T)),i!==n)if(st()!==n)if(e.substr(_e,6)===ne?(o=ne,_e+=6):(o=n,0===Le&&$e(ae)),o!==n)if(st()!==n)if(44===e.charCodeAt(_e)?(u=j,_e++):(u=n,0===Le&&$e(T)),u!==n)if(st()!==n){if(c=[],(s=it())!==n)for(;s!==n;)c.push(s),s=it();else c=n;c!==n&&(s=st())!==n?(125===e.charCodeAt(_e)?(l=b,_e++):(l=n,0===Le&&$e(A)),l!==n?(je=t,t=r=function(e,t){return h({type:f.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Me('Duplicate option "'+r+'" in select element: "'+Re()+'"',Pe()),e[r]={value:n,location:a},e}),{})},At())}(a,c)):(_e=t,t=n)):(_e=t,t=n)}else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;else _e=t,t=n;return t}())===n&&(t=function(){var t,r;t=_e,35===e.charCodeAt(_e)?(r="#",_e++):(r=n,0===Le&&$e(s));r!==n&&(je=t,r=h({type:f.pound},At()));return t=r}()),t}function We(){var t,r,a,i;if(t=_e,je=_e,(r=(r=Dt)?void 0:n)!==n){if(a=[],(i=ft())===n&&(i=pt())===n&&(i=ht())===n&&(60===e.charCodeAt(_e)?(i=o,_e++):(i=n,0===Le&&$e(u))),i!==n)for(;i!==n;)a.push(i),(i=ft())===n&&(i=pt())===n&&(i=ht())===n&&(60===e.charCodeAt(_e)?(i=o,_e++):(i=n,0===Le&&$e(u)));else a=n;a!==n?(je=t,t=r=c(a)):(_e=t,t=n)}else _e=t,t=n;if(t===n){if(t=_e,r=[],(a=ft())===n&&(a=pt())===n&&(a=ht())===n&&(a=qe()),a!==n)for(;a!==n;)r.push(a),(a=ft())===n&&(a=pt())===n&&(a=ht())===n&&(a=qe());else r=n;r!==n&&(je=t,r=c(r)),t=r}return t}function qe(){var t,r,a;return t=_e,r=_e,Le++,(a=Xe())===n&&(a=Ye())===n&&(a=Qe()),Le--,a===n?r=void 0:(_e=r,r=n),r!==n?(60===e.charCodeAt(_e)?(a=o,_e++):(a=n,0===Le&&$e(u)),a!==n?(je=t,t=r="<"):(_e=t,t=n)):(_e=t,t=n),t}function Qe(){var t,r,a,i,c,s,l;return t=_e,r=_e,60===e.charCodeAt(_e)?(a=o,_e++):(a=n,0===Le&&$e(u)),a!==n&&(i=dt())!==n&&(c=st())!==n?("/>"===e.substr(_e,2)?(s="/>",_e+=2):(s=n,0===Le&&$e(p)),s!==n?r=a=[a,i,c,s]:(_e=r,r=n)):(_e=r,r=n),r!==n&&(je=t,l=r,r=h({type:f.literal,value:l.join("")},At())),t=r}function Xe(){var t,r,a,i;return t=_e,60===e.charCodeAt(_e)?(r=o,_e++):(r=n,0===Le&&$e(u)),r!==n&&(a=dt())!==n?(62===e.charCodeAt(_e)?(i=">",_e++):(i=n,0===Le&&$e(g)),i!==n?(je=t,t=r=a):(_e=t,t=n)):(_e=t,t=n),t}function Ye(){var t,r,a,i;return t=_e,"</"===e.substr(_e,2)?(r="</",_e+=2):(r=n,0===Le&&$e(d)),r!==n&&(a=dt())!==n?(62===e.charCodeAt(_e)?(i=">",_e++):(i=n,0===Le&&$e(g)),i!==n?(je=t,t=r=a):(_e=t,t=n)):(_e=t,t=n),t}function et(){var t,r,a,i,o;if(Le++,t=_e,r=[],a=_e,i=_e,Le++,(o=ut())===n&&(x.test(e.charAt(_e))?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(C))),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n),a!==n)for(;a!==n;)r.push(a),a=_e,i=_e,Le++,(o=ut())===n&&(x.test(e.charAt(_e))?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(C))),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n);else r=n;return t=r!==n?e.substring(t,_e):r,Le--,t===n&&(r=n,0===Le&&$e(w)),t}function tt(){var t,r,a;return Le++,t=_e,47===e.charCodeAt(_e)?(r="/",_e++):(r=n,0===Le&&$e(O)),r!==n&&(a=et())!==n?(je=t,t=r=a):(_e=t,t=n),Le--,t===n&&(r=n,0===Le&&$e(E)),t}function rt(){var e,t,r,a;if(Le++,e=_e,st()!==n)if((t=et())!==n){for(r=[],a=tt();a!==n;)r.push(a),a=tt();r!==n?(je=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(_e=e,e=n)}else _e=e,e=n;else _e=e,e=n;return Le--,e===n&&(n,0===Le&&$e(F)),e}function nt(){var t,r,a,i;if(t=_e,39===e.charCodeAt(_e)?(r=M,_e++):(r=n,0===Le&&$e(V)),r!==n){if(a=[],(i=ft())===n&&(Z.test(e.charAt(_e))?(i=e.charAt(_e),_e++):(i=n,0===Le&&$e(B))),i!==n)for(;i!==n;)a.push(i),(i=ft())===n&&(Z.test(e.charAt(_e))?(i=e.charAt(_e),_e++):(i=n,0===Le&&$e(B)));else a=n;a!==n?(39===e.charCodeAt(_e)?(i=M,_e++):(i=n,0===Le&&$e(V)),i!==n?t=r=[r,a,i]:(_e=t,t=n)):(_e=t,t=n)}else _e=t,t=n;if(t===n)if(t=[],(r=ft())===n&&(U.test(e.charAt(_e))?(r=e.charAt(_e),_e++):(r=n,0===Le&&$e(G))),r!==n)for(;r!==n;)t.push(r),(r=ft())===n&&(U.test(e.charAt(_e))?(r=e.charAt(_e),_e++):(r=n,0===Le&&$e(G)));else t=n;return t}function at(){var t,r;if(t=[],$.test(e.charAt(_e))?(r=e.charAt(_e),_e++):(r=n,0===Le&&$e(H)),r!==n)for(;r!==n;)t.push(r),$.test(e.charAt(_e))?(r=e.charAt(_e),_e++):(r=n,0===Le&&$e(H));else t=n;return t}function it(){var t,r,a,i,o,u,c;return t=_e,st()!==n&&(r=vt())!==n&&st()!==n?(123===e.charCodeAt(_e)?(a=v,_e++):(a=n,0===Le&&$e(y)),a!==n?(je=_e,yt.push("select"),(!0?void 0:n)!==n&&(i=Ke())!==n?(125===e.charCodeAt(_e)?(o=b,_e++):(o=n,0===Le&&$e(A)),o!==n?(je=t,u=r,c=i,yt.pop(),t=h({id:u,value:c},At())):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n),t}function ot(){var t,r,a,i,o,u,c;return t=_e,st()!==n&&(r=function(){var t,r,a,i;return t=_e,r=_e,61===e.charCodeAt(_e)?(a="=",_e++):(a=n,0===Le&&$e(ie)),a!==n&&(i=lt())!==n?r=a=[a,i]:(_e=r,r=n),(t=r!==n?e.substring(t,_e):r)===n&&(t=vt()),t}())!==n&&st()!==n?(123===e.charCodeAt(_e)?(a=v,_e++):(a=n,0===Le&&$e(y)),a!==n?(je=_e,yt.push("plural"),(!0?void 0:n)!==n&&(i=Ke())!==n?(125===e.charCodeAt(_e)?(o=b,_e++):(o=n,0===Le&&$e(A)),o!==n?(je=t,u=r,c=i,yt.pop(),t=h({id:u,value:c},At())):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n)):(_e=t,t=n),t}function ut(){var t;return Le++,ue.test(e.charAt(_e))?(t=e.charAt(_e),_e++):(t=n,0===Le&&$e(ce)),Le--,t===n&&0===Le&&$e(oe),t}function ct(){var t;return Le++,le.test(e.charAt(_e))?(t=e.charAt(_e),_e++):(t=n,0===Le&&$e(fe)),Le--,t===n&&0===Le&&$e(se),t}function st(){var t,r,a;for(Le++,t=_e,r=[],a=ut();a!==n;)r.push(a),a=ut();return t=r!==n?e.substring(t,_e):r,Le--,t===n&&(r=n,0===Le&&$e(pe)),t}function lt(){var t,r,a,i,o;return Le++,t=_e,45===e.charCodeAt(_e)?(r="-",_e++):(r=n,0===Le&&$e(de)),r===n&&(r=null),r!==n&&(a=mt())!==n?(je=t,i=r,t=r=(o=a)?i?-o:o:0):(_e=t,t=n),Le--,t===n&&(r=n,0===Le&&$e(he)),t}function ft(){var t,r;return Le++,t=_e,e.substr(_e,2)===ve?(r=ve,_e+=2):(r=n,0===Le&&$e(ye)),r!==n&&(je=t,r="'"),Le--,(t=r)===n&&(r=n,0===Le&&$e(me)),t}function pt(){var t,r,a,i,o,u;if(t=_e,39===e.charCodeAt(_e)?(r=M,_e++):(r=n,0===Le&&$e(V)),r!==n)if((a=function(){var t,r,a,i;t=_e,r=_e,e.length>_e?(a=e.charAt(_e),_e++):(a=n,0===Le&&$e(D));a!==n?(je=_e,(i=(i="<"===(o=a)||">"===o||"{"===o||"}"===o||bt()&&"#"===o)?void 0:n)!==n?r=a=[a,i]:(_e=r,r=n)):(_e=r,r=n);var o;t=r!==n?e.substring(t,_e):r;return t}())!==n){for(i=_e,o=[],e.substr(_e,2)===ve?(u=ve,_e+=2):(u=n,0===Le&&$e(ye)),u===n&&(Z.test(e.charAt(_e))?(u=e.charAt(_e),_e++):(u=n,0===Le&&$e(B)));u!==n;)o.push(u),e.substr(_e,2)===ve?(u=ve,_e+=2):(u=n,0===Le&&$e(ye)),u===n&&(Z.test(e.charAt(_e))?(u=e.charAt(_e),_e++):(u=n,0===Le&&$e(B)));(i=o!==n?e.substring(i,_e):o)!==n?(39===e.charCodeAt(_e)?(o=M,_e++):(o=n,0===Le&&$e(V)),o===n&&(o=null),o!==n?(je=t,t=r=a+i.replace("''","'")):(_e=t,t=n)):(_e=t,t=n)}else _e=t,t=n;else _e=t,t=n;return t}function ht(){var t,r,a,i;return t=_e,r=_e,e.length>_e?(a=e.charAt(_e),_e++):(a=n,0===Le&&$e(D)),a!==n?(je=_e,(i=(i=be(a))?void 0:n)!==n?r=a=[a,i]:(_e=r,r=n)):(_e=r,r=n),r===n&&(10===e.charCodeAt(_e)?(r="\n",_e++):(r=n,0===Le&&$e(Ae))),t=r!==n?e.substring(t,_e):r}function gt(){var t,r;return Le++,t=_e,(r=mt())===n&&(r=vt()),t=r!==n?e.substring(t,_e):r,Le--,t===n&&(r=n,0===Le&&$e(we)),t}function dt(){var t,r;return Le++,t=_e,(r=mt())===n&&(r=function(){var t,r,a,i,o;Le++,t=_e,r=[],45===e.charCodeAt(_e)?(a=ge,_e++):(a=n,0===Le&&$e(de));a===n&&(a=_e,i=_e,Le++,(o=ut())===n&&(o=ct()),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n));if(a!==n)for(;a!==n;)r.push(a),45===e.charCodeAt(_e)?(a=ge,_e++):(a=n,0===Le&&$e(de)),a===n&&(a=_e,i=_e,Le++,(o=ut())===n&&(o=ct()),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n));else r=n;t=r!==n?e.substring(t,_e):r;Le--,t===n&&(r=n,0===Le&&$e(Ie));return t}()),t=r!==n?e.substring(t,_e):r,Le--,t===n&&(r=n,0===Le&&$e(xe)),t}function mt(){var t,r,a,i,o;if(Le++,t=_e,48===e.charCodeAt(_e)?(r="0",_e++):(r=n,0===Le&&$e(De)),r!==n&&(je=t,r=0),(t=r)===n){if(t=_e,r=_e,Ee.test(e.charAt(_e))?(a=e.charAt(_e),_e++):(a=n,0===Le&&$e(ke)),a!==n){for(i=[],Oe.test(e.charAt(_e))?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(Fe));o!==n;)i.push(o),Oe.test(e.charAt(_e))?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(Fe));i!==n?r=a=[a,i]:(_e=r,r=n)}else _e=r,r=n;r!==n&&(je=t,r=parseInt(r.join(""),10)),t=r}return Le--,t===n&&(r=n,0===Le&&$e(Ce)),t}function vt(){var t,r,a,i,o;if(Le++,t=_e,r=[],a=_e,i=_e,Le++,(o=ut())===n&&(o=ct()),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n),a!==n)for(;a!==n;)r.push(a),a=_e,i=_e,Le++,(o=ut())===n&&(o=ct()),Le--,o===n?i=void 0:(_e=i,i=n),i!==n?(e.length>_e?(o=e.charAt(_e),_e++):(o=n,0===Le&&$e(D)),o!==n?a=i=[i,o]:(_e=a,a=n)):(_e=a,a=n);else r=n;return t=r!==n?e.substring(t,_e):r,Le--,t===n&&(r=n,0===Le&&$e(Se)),t}var yt=["root"];function bt(){return"plural"===yt[yt.length-1]}function At(){return t&&t.captureLocation?{location:Pe()}:{}}var wt,xt,Ct,Dt=t&&t.ignoreTag,Et=t&&t.shouldParseSkeleton;if((r=i())!==n&&_e===e.length)return r;throw r!==n&&_e<e.length&&$e({type:"end"}),wt=ze,xt=Ne<e.length?e.charAt(Ne):null,Ct=Ne<e.length?Ge(Ne,Ne+1):Ge(Ne,Ne),new L(L.buildMessage(wt,xt),wt,xt,Ct)},P=/(^|[^\\])#/g;function M(e){e.forEach((function(e){(A(e)||b(e))&&Object.keys(e.options).forEach((function(t){for(var r,n=e.options[t],a=-1,i=void 0,o=0;o<n.value.length;o++){var u=n.value[o];if(g(u)&&P.test(u.value)){a=o,i=u;break}}if(i){var c=i.value.replace(P,"$1{"+e.value+", number}"),s=R(c);(r=n.value).splice.apply(r,function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),a=0;for(t=0;t<r;t++)for(var i=arguments[t],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n}([a,1],s))}M(n.value)}))}))}function V(e,t){t=h({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var r=R(e,t);return t.normalizeHashtagInPlural&&M(r),r}function Z(e,t,r,n){var a,i=null==(a=n)||"number"===typeof a||"boolean"===typeof a?n:r(n),o=t.get(i);return"undefined"===typeof o&&(o=e.call(this,n),t.set(i,o)),o}function B(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return"undefined"===typeof i&&(i=e.apply(this,n),t.set(a,i)),i}function U(e,t,r,n,a){return r.bind(t,e,n,a)}function G(e,t){return U(e,this,1===e.length?Z:B,t.cache.create(),t.serializer)}function $(){return JSON.stringify(arguments)}function H(){this.cache=Object.create(null)}H.prototype.has=function(e){return e in this.cache},H.prototype.get=function(e){return this.cache[e]},H.prototype.set=function(e,t){this.cache[e]=t};var K={create:function(){return new H}},J=function(e,t){var r=t&&t.cache?t.cache:K,n=t&&t.serializer?t.serializer:$;return(t&&t.strategy?t.strategy:G)(e,{cache:r,serializer:n})},W={variadic:function(e,t){return U(e,this,B,t.cache.create(),t.serializer)},monadic:function(e,t){return U(e,this,Z,t.cache.create(),t.serializer)}};J.strategies=W;var q,Q=Object.freeze(Object.assign(Object.create(null),J,{default:J,__moduleExports:J,strategies:W}));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(q||(q={}));var X,Y=function(e){function t(t,r,n){var a=e.call(this,t)||this;return a.code=r,a.originalMessage=n,a}return u(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),ee=function(e){function t(t,r,n,a){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",a)||this}return u(t,e),t}(Y),te=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return u(t,e),t}(Y),re=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return u(t,e),t}(Y);function ne(e){return"function"===typeof e}function ae(e,t,r,n,a,i,o){if(1===e.length&&g(e[0]))return[{type:0,value:e[0].value}];for(var u=[],c=0,s=e;c<s.length;c++){var l=s[c];if(g(l))u.push({type:0,value:l.value});else if(w(l))"number"===typeof i&&u.push({type:0,value:r.getNumberFormat(t).format(i)});else{var f=l.value;if(!a||!(f in a))throw new re(f,o);var p=a[f];if(d(l))p&&"string"!==typeof p&&"number"!==typeof p||(p="string"===typeof p||"number"===typeof p?String(p):""),u.push({type:"string"===typeof p?0:1,value:p});else if(v(l)){var h="string"===typeof l.style?n.date[l.style]:D(l.style)?l.style.parsedOptions:void 0;u.push({type:0,value:r.getDateTimeFormat(t,h).format(p)})}else if(y(l)){h="string"===typeof l.style?n.time[l.style]:D(l.style)?l.style.parsedOptions:void 0;u.push({type:0,value:r.getDateTimeFormat(t,h).format(p)})}else if(m(l)){(h="string"===typeof l.style?n.number[l.style]:C(l.style)?l.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),u.push({type:0,value:r.getNumberFormat(t,h).format(p)})}else{if(x(l)){var E=l.children,k=l.value,O=a[k];if(!ne(O))throw new te(k,"function",o);var F=O(ae(E,t,r,n,a,i).map((function(e){return e.value})));Array.isArray(F)||(F=[F]),u.push.apply(u,F.map((function(e){return{type:"string"===typeof e?0:1,value:e}})))}if(b(l)){if(!(S=l.options[p]||l.options.other))throw new ee(l.value,p,Object.keys(l.options),o);u.push.apply(u,ae(S.value,t,r,n,a))}else if(A(l)){var S;if(!(S=l.options["="+p])){if(!Intl.PluralRules)throw new Y('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",o);var I=r.getPluralRules(t,{type:l.pluralType}).select(p-(l.offset||0));S=l.options[I]||l.options.other}if(!S)throw new ee(l.value,p,Object.keys(l.options),o);u.push.apply(u,ae(S.value,t,r,n,a,p-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(u)}function ie(e,t){return t?Object.keys(e).reduce((function(r,n){var a,i;return r[n]=(a=e[n],(i=t[n])?c(c(c({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=c(c({},a[t]),i[t]||{}),e}),{})):a),r}),c({},e)):e}function oe(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(X||(X={}));var ue=J||Q;var ce=function(){function e(t,r,n,a){var i,o=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"===typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return ae(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"===typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null===a||void 0===a?void 0:a.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ie(e.formats,n),this.locales=r,this.formatters=a&&a.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ue((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t)))}),{cache:oe(i.number),strategy:ue.strategies.variadic}),getDateTimeFormat:ue((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t)))}),{cache:oe(i.dateTime),strategy:ue.strategies.variadic}),getPluralRules:ue((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t)))}),{cache:oe(i.pluralRules),strategy:ue.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=V,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),se={},le=function(e,t){return a(void 0,void 0,void 0,(function(){var r,a;return i(this,(function(i){switch(i.label){case 0:return se[t]?[3,3]:(r=function(e){return void 0===e&&(e="en"),Object(n.h)("i18n/genesys-webcomponents.i18n."+e+".json")}(t),[4,fetch(r)]);case 1:return[4,i.sent().json()];case 2:a=i.sent(),se[t]=a,i.label=3;case 3:return[2,se[t][e]]}}))}))},fe=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","it","ja","ko","nl","no","pl","pt-br","ru","sv","th","tr","zh-cn","zh-tw"],pe={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,ru:1,sv:1,th:0,tr:1,"zh-cn":1,"zh-tw":0},he="en";function ge(e,t){return a(this,void 0,void 0,(function(){var r,n,a;return i(this,(function(i){switch(i.label){case 0:return r=t,n="en",void 0===e?[3,2]:(n=me(e),[4,de(e,t,n)]);case 1:r=i.sent(),i.label=2;case 2:return a=Object.entries(r).reduce((function(e,t){var r=t[0],a=t[1];return e.set(r,new ce(a,n)),e}),new Map),[2,function(e,t){return a.get(e).format(t)}]}}))}))}function de(e,t,r){return a(this,void 0,void 0,(function(){var n,a;return i(this,(function(i){switch(i.label){case 0:return n=e.tagName.toLocaleLowerCase().replace(/-beta$/,""),e["i18n-resources"]?(a=e["i18n-resources"],[3,5]):[3,1];case 1:if(r===he)return[3,5];i.label=2;case 2:return i.trys.push([2,4,,5]),[4,le(n,r)];case 3:return a=i.sent(),[3,5];case 4:return i.sent(),a=null,[3,5];case 5:return a||(a=t),[2,a]}}))}))}function me(e){var t=function(e){var t=e.closest("[lang]");return t&&t.lang?t.lang.toLowerCase():(console.error("gux: No language specified on page, defaulting to 'en"),he)}(e),r=t.split(/[_-]/)[0];return fe.indexOf(t)>=0?t:t.indexOf(r)>=0?r:(console.error("gux: No translation locale found for "+t+", defaulting to '"+"en'"),he)}function ve(e){return void 0===e&&(e=he),pe[e]?pe[e]:pe.en}}}]);
|
|
3
|
-
//# sourceMappingURL=0.71c0b4a8.chunk.js.map
|