gemi 0.4.69 → 0.4.71
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/dist/{chunk-f5a531a49e7591bd.js → chunk-2895a97b65e7107b.js} +1 -1
- package/dist/{chunk-8884e59809021f5f.js → chunk-2dd61d279d9f0b13.js} +1 -1
- package/dist/{chunk-100b76ab0ca3e14d.js → chunk-448c9eceacddef90.js} +1 -1
- package/dist/{chunk-a4b231bf6d911e01.js → chunk-466213c5585251ad.js} +1 -1
- package/dist/{chunk-edfc3362e0d21dab.js → chunk-4b8da0fabb3539db.js} +5 -5
- package/dist/{chunk-1bd88dc9c4475e1d.js → chunk-4bc3b71775040cb9.js} +1 -1
- package/dist/{chunk-00935722c776a294.js → chunk-af7d1951242b1c6e.js} +1 -1
- package/dist/{chunk-1d2c062034e3ed2d.js → chunk-b6a64bf9af2e91be.js} +2 -2
- package/dist/{chunk-a35eb04f0c7c9944.js → chunk-b8176bf532f59485.js} +1 -1
- package/dist/{chunk-545989119755857f.js → chunk-cca33e85bf87b3b3.js} +1 -1
- package/dist/{chunk-a1efc60864e65ef2.js → chunk-de75d134f236f4bb.js} +1 -1
- package/dist/{chunk-107dbe753ed86605.js → chunk-e344c95f8ae7a124.js} +2 -2
- package/dist/{chunk-f5200f44395bf49d.js → chunk-e565da7343a33b65.js} +2 -2
- package/dist/{chunk-3330ff12936f5a2e.js → chunk-e912bf7c7a0e988a.js} +1 -1
- package/dist/{chunk-210fc3731e7d2299.js → chunk-f22ac1ec6c3f782b.js} +1 -1
- package/dist/{chunk-1b3b7c2c9ae041ca.js → chunk-fe65548818651cb5.js} +1 -1
- package/dist/client/ClientRouterContext.d.ts.map +1 -1
- package/dist/client/HttpReload.d.ts.map +1 -1
- package/dist/client/index.js +19 -5
- package/dist/server/index.js +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/vite/{index-D9QWnghl.mjs → index-BbySvAwL.mjs} +3 -3
- package/dist/vite/index.mjs +1 -1
- package/dist/vite/{typescript-DADBvwYC.mjs → typescript-CeZcXBr-.mjs} +1 -1
- package/package.json +1 -1
- package/dist/app/App.test.d.ts +0 -20
- package/dist/app/App.test.d.ts.map +0 -1
- package/dist/app/createComponentTree.test.d.ts +0 -2
- package/dist/app/createComponentTree.test.d.ts.map +0 -1
- package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
- package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
- package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
- package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
- package/dist/app/createRouteManifest.test.d.ts +0 -2
- package/dist/app/createRouteManifest.test.d.ts.map +0 -1
- package/dist/chunk-00234eac874c2722.js +0 -2
- package/dist/chunk-00cb9f80352454dd.js +0 -1
- package/dist/chunk-00e9dad0734d9761.js +0 -2
- package/dist/chunk-00ecc27f03e2e84a.js +0 -2
- package/dist/chunk-00f16704831dd8b0.js +0 -2
- package/dist/chunk-01052ff9d1c07ef8.js +0 -2
- package/dist/chunk-0113570164c56f57.js +0 -2
- package/dist/chunk-0130e95410edb036.js +0 -18
- package/dist/chunk-01e07763e3e32710.js +0 -2
- package/dist/chunk-01e1579811beb424.js +0 -2
- package/dist/chunk-01ffccc19e8ef862.js +0 -3
- package/dist/chunk-02118fc60206588d.js +0 -2
- package/dist/chunk-0306d8fccec5104e.js +0 -2
- package/dist/chunk-030b4fb955329860.js +0 -16
- package/dist/chunk-03227f4a68e038f4.js +0 -2
- package/dist/chunk-03a72299591d45a7.js +0 -18
- package/dist/chunk-03c8e645c994d40a.js +0 -2
- package/dist/chunk-04aa62521338e3ab.js +0 -18
- package/dist/chunk-04d6b88ed6d3f076.js +0 -6
- package/dist/chunk-0557700bf68e85d4.js +0 -18
- package/dist/chunk-05fa767ab29abb0f.js +0 -2
- package/dist/chunk-061d95b15c00e38b.js +0 -9
- package/dist/chunk-069fcad61c8841dc.js +0 -1
- package/dist/chunk-06b83143607ebdc8.js +0 -6
- package/dist/chunk-06eebef7eb056baa.js +0 -2
- package/dist/chunk-073f5b81e98d91fe.js +0 -3
- package/dist/chunk-08539d08fa7362f7.js +0 -2
- package/dist/chunk-088b47e135832170.js +0 -1
- package/dist/chunk-088ed28ebed2b009.js +0 -5
- package/dist/chunk-08e9ab1091d7383e.js +0 -3
- package/dist/chunk-0909c7f6b64b8806.js +0 -2
- package/dist/chunk-095848ccb81718bf.js +0 -2
- package/dist/chunk-09dd89e1046786a5.js +0 -2
- package/dist/chunk-0a6614fbd65524af.js +0 -2
- package/dist/chunk-0a9ae42aae6f406e.js +0 -2
- package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
- package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
- package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
- package/dist/chunk-0b7a7410fce0b12e.js +0 -9
- package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
- package/dist/chunk-0b99ba34351bde91.js +0 -3
- package/dist/chunk-0d0f764773c0f6b8.js +0 -2
- package/dist/chunk-0d8ab901365b9696.js +0 -2
- package/dist/chunk-0db33ac43bd1d504.js +0 -2
- package/dist/chunk-0de36a7e51fbd11b.js +0 -9
- package/dist/chunk-0e125593337a68aa.js +0 -18
- package/dist/chunk-0e3473f7e43f4876.js +0 -2
- package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
- package/dist/chunk-0f8e80862546cbc5.js +0 -18
- package/dist/chunk-0ffc38ed09847e35.js +0 -2
- package/dist/chunk-1062b3156a49fabc.js +0 -2
- package/dist/chunk-1084614a350762fb.js +0 -2
- package/dist/chunk-10a623a23a65bb20.js +0 -18
- package/dist/chunk-1109657ed53fbdc9.js +0 -2
- package/dist/chunk-11323d7a5d9219ce.js +0 -2
- package/dist/chunk-1171d9afbbfe827b.js +0 -2
- package/dist/chunk-119ffcaf1c463b8d.js +0 -6
- package/dist/chunk-11a75566ff74db17.js +0 -6
- package/dist/chunk-11d1336f6de61f45.js +0 -16
- package/dist/chunk-11fb7f7f30378785.js +0 -2
- package/dist/chunk-12b4f44a2beae19b.js +0 -2
- package/dist/chunk-12ca7224eb6ccf72.js +0 -9
- package/dist/chunk-132c71db605759c9.js +0 -2
- package/dist/chunk-1334ee957ff9058c.js +0 -2
- package/dist/chunk-136896e8038083a1.js +0 -2
- package/dist/chunk-13801a8f811f0461.js +0 -2
- package/dist/chunk-13e45ce3460f6375.js +0 -2
- package/dist/chunk-14d5491e97673c7d.js +0 -2
- package/dist/chunk-14e60554a2e78f4a.js +0 -2
- package/dist/chunk-159f5b922269aef1.js +0 -2
- package/dist/chunk-15e9771e524c5726.js +0 -2
- package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
- package/dist/chunk-16dbe3a15379140b.js +0 -2
- package/dist/chunk-176e5ded5ed33d4d.js +0 -2
- package/dist/chunk-1838696dc4e7a115.js +0 -2
- package/dist/chunk-1874b66d572fb0db.js +0 -6
- package/dist/chunk-1875b98b6a064557.js +0 -2
- package/dist/chunk-187a09f46e2b36e5.js +0 -2
- package/dist/chunk-18c32b54097c580e.js +0 -2
- package/dist/chunk-18d87123ae525263.js +0 -2
- package/dist/chunk-1900e90c372bb1d6.js +0 -2
- package/dist/chunk-1976eef63d2e56d5.js +0 -18
- package/dist/chunk-197fca66ec324ed9.js +0 -2
- package/dist/chunk-1ad1795e55abfdb5.js +0 -2
- package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
- package/dist/chunk-1b71d04a15bfa432.js +0 -2
- package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
- package/dist/chunk-1c439804a4c5f8e7.js +0 -18
- package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
- package/dist/chunk-1d6e287ca9c14fef.js +0 -9
- package/dist/chunk-1efe790f8b4ad86d.js +0 -2
- package/dist/chunk-1fab30ab853c48cc.js +0 -2
- package/dist/chunk-2081b862587086df.js +0 -2
- package/dist/chunk-216cc6dcf17534ba.js +0 -2
- package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
- package/dist/chunk-21e105fb2b3d36d7.js +0 -799
- package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
- package/dist/chunk-223b0aac9e62386a.js +0 -2
- package/dist/chunk-226243dd851d2050.js +0 -2
- package/dist/chunk-22773aec8cc230c6.js +0 -6
- package/dist/chunk-2279c382943fca51.js +0 -2
- package/dist/chunk-22ec1973752a5488.js +0 -2
- package/dist/chunk-2335866508ec8b1b.js +0 -2
- package/dist/chunk-23c287376e277e1d.js +0 -6
- package/dist/chunk-241584e48397dda8.js +0 -2
- package/dist/chunk-24e01cba9fc81ed1.js +0 -2
- package/dist/chunk-25dd80c6d9144f89.js +0 -2
- package/dist/chunk-2665dffd37ead1d9.js +0 -2
- package/dist/chunk-2672477bf396bad8.js +0 -2
- package/dist/chunk-269dd2cd89aa1c32.js +0 -2
- package/dist/chunk-26a5c9db5d17f5e7.js +0 -3
- package/dist/chunk-26d58ddc3a89234f.js +0 -2
- package/dist/chunk-27484e5ca3244aea.js +0 -6
- package/dist/chunk-281226b6c79ebf8b.js +0 -2
- package/dist/chunk-285299d784985340.js +0 -3
- package/dist/chunk-28bb1e70f39736ee.js +0 -2
- package/dist/chunk-28e02c9b9c46a167.js +0 -2
- package/dist/chunk-293d8be91a9ad4f9.js +0 -2
- package/dist/chunk-29a0dbe3c8eb87d4.js +0 -6
- package/dist/chunk-29bc27c5e126c304.js +0 -18
- package/dist/chunk-29c46abebbc0f09b.js +0 -2
- package/dist/chunk-2a0d1475ac05027d.js +0 -2
- package/dist/chunk-2a0e8565f874d787.js +0 -18
- package/dist/chunk-2a101fb25d52469b.js +0 -2
- package/dist/chunk-2a328e3beda74e4f.js +0 -2
- package/dist/chunk-2a48e0098ccd4249.js +0 -2
- package/dist/chunk-2a5b4dfab2e26e21.js +0 -1
- package/dist/chunk-2b2764983015552e.js +0 -2
- package/dist/chunk-2b3eabd01b2ae3f8.js +0 -2
- package/dist/chunk-2bfbc777c6995d9a.js +0 -18
- package/dist/chunk-2cf271e24c26b0ee.js +0 -2
- package/dist/chunk-2db6c9bb69bb27aa.js +0 -1
- package/dist/chunk-2e34b856e195c353.js +0 -2
- package/dist/chunk-2e447b50094b2862.js +0 -2
- package/dist/chunk-2ec287222364c6b6.js +0 -2
- package/dist/chunk-2ecc077efab285b4.js +0 -2
- package/dist/chunk-2f6867d08b95f2d2.js +0 -2
- package/dist/chunk-2f7091b9e4f728c7.js +0 -2
- package/dist/chunk-2f7aac67f16768a5.js +0 -1
- package/dist/chunk-3042abeb18cf180e.js +0 -2
- package/dist/chunk-30622b4547786346.js +0 -2
- package/dist/chunk-30f854fb2ba73268.js +0 -2
- package/dist/chunk-322e991c2b56a79d.js +0 -2
- package/dist/chunk-3258ba57992f25bb.js +0 -6
- package/dist/chunk-328c98321c6ba3d6.js +0 -2
- package/dist/chunk-32af3a3a1c95157f.js +0 -2
- package/dist/chunk-32f06f9ad00aaabd.js +0 -2
- package/dist/chunk-32f3d5e11b4bc87d.js +0 -2
- package/dist/chunk-339dd63e93f196b7.js +0 -16
- package/dist/chunk-345f66382cf35683.js +0 -2
- package/dist/chunk-34786cd9bc9be20b.js +0 -18
- package/dist/chunk-3567e8e424a60c99.js +0 -18
- package/dist/chunk-35ab4be8ca6c67ee.js +0 -2
- package/dist/chunk-361f806684fe532e.js +0 -6
- package/dist/chunk-36ab979dae2a2094.js +0 -2
- package/dist/chunk-36b8e37ca93fcc67.js +0 -2
- package/dist/chunk-370389a68668658a.js +0 -2
- package/dist/chunk-3728fa21e6931333.js +0 -2
- package/dist/chunk-378a050132886d17.js +0 -2
- package/dist/chunk-38237d1b01b0db25.js +0 -3
- package/dist/chunk-382a513747a9aa52.js +0 -6
- package/dist/chunk-38fc9d258dbe62fd.js +0 -18
- package/dist/chunk-3a3092db69408490.js +0 -2
- package/dist/chunk-3a9fcddbd219223b.js +0 -3
- package/dist/chunk-3ab807ceccde81f3.js +0 -3
- package/dist/chunk-3abb49bba3da7231.js +0 -1
- package/dist/chunk-3aecba8553e036bf.js +0 -6
- package/dist/chunk-3afa6cad1106f55a.js +0 -2
- package/dist/chunk-3b235fc8816ff5e6.js +0 -2
- package/dist/chunk-3b6df70b3d01d442.js +0 -3
- package/dist/chunk-3bd48fb5397a155b.js +0 -5
- package/dist/chunk-3bedef94ef8dba4a.js +0 -2
- package/dist/chunk-3bf6f8c8e8589e3d.js +0 -2
- package/dist/chunk-3c83d6762f7e56b3.js +0 -2
- package/dist/chunk-3cbc1c9cdc091b43.js +0 -2
- package/dist/chunk-3d7556bb2f665f61.js +0 -2
- package/dist/chunk-3dbf073642b377eb.js +0 -1
- package/dist/chunk-3e3078cae755e834.js +0 -2
- package/dist/chunk-3f1eaa4b49aa9a15.js +0 -3
- package/dist/chunk-40111275eef9f7b3.js +0 -6
- package/dist/chunk-408fb31b8b0f97ee.js +0 -2
- package/dist/chunk-40942fb138dcd780.js +0 -9
- package/dist/chunk-40c21fe243675250.js +0 -2
- package/dist/chunk-40f4bfe67d75f2ec.js +0 -6
- package/dist/chunk-412ad792487747bc.js +0 -2
- package/dist/chunk-415d564ff61a8fe6.js +0 -2
- package/dist/chunk-42097f79deccd5b7.js +0 -2
- package/dist/chunk-4272071146eb5eb2.js +0 -1
- package/dist/chunk-42aa6e3d42149620.js +0 -2
- package/dist/chunk-432bbd1d38ff3b52.js +0 -2
- package/dist/chunk-437335670ad9059d.js +0 -2
- package/dist/chunk-442a5b1ec74c72f8.js +0 -2
- package/dist/chunk-4432f8d8567e682b.js +0 -9
- package/dist/chunk-4548da0edd8c39ed.js +0 -2
- package/dist/chunk-45badde289996d82.js +0 -9
- package/dist/chunk-464cce477d8a56e0.js +0 -2
- package/dist/chunk-46528bdbb2218772.js +0 -2
- package/dist/chunk-477a4d3115b9703e.js +0 -2
- package/dist/chunk-47c4cec992af0689.js +0 -2
- package/dist/chunk-487b7c0cb388d533.js +0 -6
- package/dist/chunk-488b4db0c522d44a.js +0 -1
- package/dist/chunk-489125d86cd75e69.js +0 -9
- package/dist/chunk-4960e27e19bbe42a.js +0 -2
- package/dist/chunk-4b201cccdf6d290f.js +0 -2
- package/dist/chunk-4b4ea80149bba4e6.js +0 -2
- package/dist/chunk-4bbeb47cc6137c49.js +0 -2
- package/dist/chunk-4cb19a9e82653084.js +0 -2
- package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
- package/dist/chunk-4cc2463d985f6882.js +0 -9
- package/dist/chunk-4d19e16340534ed0.js +0 -2
- package/dist/chunk-4d46e390f99b97e0.js +0 -2
- package/dist/chunk-4d80485e7efb826f.js +0 -2
- package/dist/chunk-4e023976eb557258.js +0 -2
- package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
- package/dist/chunk-4e9167391dd0d15f.js +0 -2
- package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
- package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
- package/dist/chunk-4f01c5a98726e704.js +0 -2
- package/dist/chunk-4f1b43f5232b3e65.js +0 -6
- package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
- package/dist/chunk-4ffecff075e73d43.js +0 -2
- package/dist/chunk-50b440397d41ab5a.js +0 -2
- package/dist/chunk-50ea27a13eb62b5e.js +0 -2
- package/dist/chunk-5128de1a65ba6ce1.js +0 -2
- package/dist/chunk-514f8554fb446139.js +0 -9
- package/dist/chunk-515c26d532207095.js +0 -2
- package/dist/chunk-516c6b67d6e3d041.js +0 -18
- package/dist/chunk-5190b38f06507ee1.js +0 -18
- package/dist/chunk-51bad63147c3be4e.js +0 -6
- package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
- package/dist/chunk-51e930ef29de215b.js +0 -1
- package/dist/chunk-51ee928673a12486.js +0 -2
- package/dist/chunk-521750cca5e03c65.js +0 -2
- package/dist/chunk-5290ecaf429d5a61.js +0 -2
- package/dist/chunk-52e76204b898931e.js +0 -18
- package/dist/chunk-53b7d6267c9172bc.js +0 -2
- package/dist/chunk-53c39aca36ece018.js +0 -2
- package/dist/chunk-543013123141745c.js +0 -2
- package/dist/chunk-54c03438ff1f41e5.js +0 -2
- package/dist/chunk-552bdaee8c03e091.js +0 -9
- package/dist/chunk-55f76d4f6116f296.js +0 -9
- package/dist/chunk-5656abf3151c8fa2.js +0 -2
- package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
- package/dist/chunk-57a61e580c4adf80.js +0 -2
- package/dist/chunk-581e0d46235dbf7c.js +0 -2
- package/dist/chunk-584e33c96b1a78e4.js +0 -2
- package/dist/chunk-5852c4da08af607f.js +0 -2
- package/dist/chunk-589f4b330dd6d32e.js +0 -2
- package/dist/chunk-590bd43a75f48606.js +0 -18
- package/dist/chunk-590cd512f9e72880.js +0 -18
- package/dist/chunk-596024c880387c2f.js +0 -2
- package/dist/chunk-597d5c6772b14a85.js +0 -9
- package/dist/chunk-59980167a4c574b3.js +0 -2
- package/dist/chunk-59da8b8ab8add738.js +0 -16
- package/dist/chunk-59e951812cb019e6.js +0 -2
- package/dist/chunk-59fe590e19085858.js +0 -18
- package/dist/chunk-5a2d89fce13094a9.js +0 -2
- package/dist/chunk-5a66922d5981afc8.js +0 -18
- package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
- package/dist/chunk-5a9fa677066f72ac.js +0 -2
- package/dist/chunk-5b54843712abde58.js +0 -2
- package/dist/chunk-5b836c769c5dad2a.js +0 -2
- package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
- package/dist/chunk-5c3681fb029d7588.js +0 -1
- package/dist/chunk-5cd0a98345a5d57a.js +0 -2
- package/dist/chunk-5d3431e9686096af.js +0 -18
- package/dist/chunk-5d51afe60efaf99e.js +0 -2
- package/dist/chunk-5d86d49d66db1c22.js +0 -2
- package/dist/chunk-5defd55c3c97bdb2.js +0 -2
- package/dist/chunk-5e13846c554dc272.js +0 -2
- package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
- package/dist/chunk-5fbde192153a2a50.js +0 -2
- package/dist/chunk-5fd67245740e3908.js +0 -9
- package/dist/chunk-6003411eae26f246.js +0 -3
- package/dist/chunk-60d70dcbf4e79276.js +0 -2
- package/dist/chunk-60f3b8242209ac3e.js +0 -18
- package/dist/chunk-61973614facb50a8.js +0 -2
- package/dist/chunk-61abf77c3eee8698.js +0 -2
- package/dist/chunk-61fc22887a7be6f9.js +0 -3
- package/dist/chunk-62144f9c5008bd47.js +0 -1
- package/dist/chunk-625025af819f55f5.js +0 -2
- package/dist/chunk-6259cd13f53334df.js +0 -2
- package/dist/chunk-62b2777c629d5157.js +0 -2
- package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
- package/dist/chunk-634c80cac76d9080.js +0 -18
- package/dist/chunk-63ad0436d3d896b5.js +0 -3
- package/dist/chunk-63c5605bcce508ea.js +0 -1
- package/dist/chunk-640e4bdae1671873.js +0 -1
- package/dist/chunk-648dff766091372e.js +0 -2
- package/dist/chunk-64a5b833cef67725.js +0 -2
- package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
- package/dist/chunk-65626c3d72d4e071.js +0 -2
- package/dist/chunk-65c413665a7cf876.js +0 -2
- package/dist/chunk-6605e290c4de1f0e.js +0 -6
- package/dist/chunk-66ab377654806d08.js +0 -2
- package/dist/chunk-670d2c924e80cb33.js +0 -3
- package/dist/chunk-67351e678a7ccc10.js +0 -2
- package/dist/chunk-6766e66417809e1a.js +0 -2
- package/dist/chunk-6821bb0ff6ed2452.js +0 -18
- package/dist/chunk-682b01231754a121.js +0 -2
- package/dist/chunk-68af0a6f6be163ce.js +0 -2
- package/dist/chunk-6921ba2fa2e1adea.js +0 -2
- package/dist/chunk-6943b50bd0a3ac84.js +0 -1
- package/dist/chunk-699957e6eb705a81.js +0 -2
- package/dist/chunk-69ff5047661fe699.js +0 -2
- package/dist/chunk-6a28d299b5726bba.js +0 -2
- package/dist/chunk-6ac91c66919b5ddd.js +0 -2
- package/dist/chunk-6afe097e13ebdf55.js +0 -2
- package/dist/chunk-6c345dba15e1c3f2.js +0 -2
- package/dist/chunk-6c461d293fa213f1.js +0 -2
- package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
- package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
- package/dist/chunk-6e06660ab4e9d4da.js +0 -6
- package/dist/chunk-6e415d0e12fc9539.js +0 -1
- package/dist/chunk-6f78f2a54491595d.js +0 -2
- package/dist/chunk-700835a3a709b370.js +0 -2
- package/dist/chunk-70bb003c03f21dad.js +0 -2
- package/dist/chunk-711f86b9d50d45fe.js +0 -18
- package/dist/chunk-71820a3186a38543.js +0 -6
- package/dist/chunk-7195a8718fcd8215.js +0 -1
- package/dist/chunk-722f2aeae58daaa3.js +0 -18
- package/dist/chunk-72821f055108528e.js +0 -2
- package/dist/chunk-72add10919c9d7ae.js +0 -2
- package/dist/chunk-731f30522682483a.js +0 -2
- package/dist/chunk-733513f9c9e8b50f.js +0 -2
- package/dist/chunk-733688c7851fffd1.js +0 -2
- package/dist/chunk-7336bd3f3b799e3e.js +0 -1
- package/dist/chunk-7399f06d840a1449.js +0 -2
- package/dist/chunk-73c97da8ac4f1d30.js +0 -1
- package/dist/chunk-73c9d39f58a30fe2.js +0 -6
- package/dist/chunk-73eed146ee78f681.js +0 -1
- package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
- package/dist/chunk-7431d60af8814bc8.js +0 -2
- package/dist/chunk-74802f454b9972eb.js +0 -2
- package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
- package/dist/chunk-74db07ba7b97d1c1.js +0 -2
- package/dist/chunk-76a525af0575486d.js +0 -5
- package/dist/chunk-76db0552d2492ee7.js +0 -3
- package/dist/chunk-774337ca540a856d.js +0 -2
- package/dist/chunk-77c89e3c8a03f91e.js +0 -2
- package/dist/chunk-77d1b26236f5feec.js +0 -2
- package/dist/chunk-77d5bbc7a9117c21.js +0 -2
- package/dist/chunk-782dde0748025b5a.js +0 -2
- package/dist/chunk-78534576cf359780.js +0 -2
- package/dist/chunk-7898dd7609f163e8.js +0 -2
- package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
- package/dist/chunk-78d6df0054754d5d.js +0 -2
- package/dist/chunk-795a1bd1d89efce1.js +0 -2
- package/dist/chunk-797430f55303e6b5.js +0 -2
- package/dist/chunk-7975e27df461cbfb.js +0 -6
- package/dist/chunk-798f550643937b6d.js +0 -2
- package/dist/chunk-79b438007611560a.js +0 -2
- package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
- package/dist/chunk-7a318e738fec6c2b.js +0 -3
- package/dist/chunk-7aa7f7e219919c4d.js +0 -2
- package/dist/chunk-7abc696047809312.js +0 -6
- package/dist/chunk-7afdc0ba5afe109a.js +0 -21
- package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
- package/dist/chunk-7b8e777f7353b492.js +0 -2
- package/dist/chunk-7c0fd956d14fc327.js +0 -2
- package/dist/chunk-7c62e9d6edc4b418.js +0 -2
- package/dist/chunk-7c670baec90faacb.js +0 -2
- package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
- package/dist/chunk-7de7f34d46c76019.js +0 -18
- package/dist/chunk-7dfb17814922ade0.js +0 -2
- package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
- package/dist/chunk-7ea1baca4032004f.js +0 -2
- package/dist/chunk-7eb54149dff25532.js +0 -2
- package/dist/chunk-7ec30fbbbdf89272.js +0 -2
- package/dist/chunk-7fadaab2fa180ca9.js +0 -6
- package/dist/chunk-7fef11f59982b1f6.js +0 -2
- package/dist/chunk-7ffe2ce59a054e35.js +0 -2
- package/dist/chunk-80b17f9853d76e98.js +0 -2
- package/dist/chunk-8133ed564834cff3.js +0 -2
- package/dist/chunk-8163d4f4c2c91caf.js +0 -2
- package/dist/chunk-817aad76d1e8eecc.js +0 -6
- package/dist/chunk-81938d68b172446d.js +0 -2
- package/dist/chunk-81a00ae1b3ea4824.js +0 -2
- package/dist/chunk-81ce9b491b290639.js +0 -1
- package/dist/chunk-81f5123a24c19089.js +0 -2
- package/dist/chunk-827d2c67c03d1a52.js +0 -2
- package/dist/chunk-8295e42bcfc910ff.js +0 -16
- package/dist/chunk-82f72dfc6e27be04.js +0 -1
- package/dist/chunk-8401f0f53dc26633.js +0 -1
- package/dist/chunk-8450a38607a86896.js +0 -2
- package/dist/chunk-847629c9a7550cc3.js +0 -2
- package/dist/chunk-84b129a5185ac24d.js +0 -2
- package/dist/chunk-84c7f86a97d17f53.js +0 -2
- package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
- package/dist/chunk-8581aa9e876d46fb.js +0 -2
- package/dist/chunk-85a1f8fb96fd9473.js +0 -2
- package/dist/chunk-85d5e5d7ff832255.js +0 -2
- package/dist/chunk-860f5fcef7074193.js +0 -9
- package/dist/chunk-869d80d2e475b938.js +0 -3
- package/dist/chunk-880273a32da461fd.js +0 -9
- package/dist/chunk-88103b9d011960db.js +0 -5
- package/dist/chunk-89187bbdf6945131.js +0 -2
- package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
- package/dist/chunk-895d9b1ef7a65211.js +0 -2
- package/dist/chunk-897773d66a89947a.js +0 -2
- package/dist/chunk-89c6080d4a693ddf.js +0 -2
- package/dist/chunk-8a993922ea970923.js +0 -2
- package/dist/chunk-8aa3e0e20e411d11.js +0 -2
- package/dist/chunk-8af626a703659719.js +0 -18
- package/dist/chunk-8b3d411f441a43ce.js +0 -2
- package/dist/chunk-8b40d6a498f8bf81.js +0 -2
- package/dist/chunk-8b944ecefa1b832c.js +0 -18
- package/dist/chunk-8bb91c504b9ca45e.js +0 -2
- package/dist/chunk-8bf925705fdcef0c.js +0 -2
- package/dist/chunk-8c2b349a7198788f.js +0 -6
- package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
- package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
- package/dist/chunk-8caa0abe673f5d41.js +0 -2
- package/dist/chunk-8d8666b73758171e.js +0 -2
- package/dist/chunk-8e72aa06d4e47eca.js +0 -2
- package/dist/chunk-8ef8222b34d8f63f.js +0 -2
- package/dist/chunk-8f24cd33e07d02f3.js +0 -2
- package/dist/chunk-8f547b919361fdf4.js +0 -2
- package/dist/chunk-8f986f307ff91bd3.js +0 -2
- package/dist/chunk-901e700a2c2d43f3.js +0 -18
- package/dist/chunk-90c5196ff1f827a8.js +0 -2
- package/dist/chunk-9113f22a5215c639.js +0 -3
- package/dist/chunk-915c050c94553981.js +0 -2
- package/dist/chunk-9238196d4889d660.js +0 -1
- package/dist/chunk-92a55add20b5d7ac.js +0 -9
- package/dist/chunk-92f6095a3be7f459.js +0 -1
- package/dist/chunk-9326224d1e4c1a64.js +0 -2
- package/dist/chunk-933845e73519b4c5.js +0 -2
- package/dist/chunk-934ebff128f86ef1.js +0 -1
- package/dist/chunk-9350baa090b5a424.js +0 -2
- package/dist/chunk-938fed005335132e.js +0 -9
- package/dist/chunk-93b6f53456c1251b.js +0 -2
- package/dist/chunk-94578320d28e33ad.js +0 -2
- package/dist/chunk-9501e589e3e86a96.js +0 -2
- package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
- package/dist/chunk-96b635a3bdba7415.js +0 -2
- package/dist/chunk-970e033f764e29fc.js +0 -19
- package/dist/chunk-98126e4b5bd19831.js +0 -2
- package/dist/chunk-9938e9a4fe25dda5.js +0 -2
- package/dist/chunk-99ba9dfd7c11383b.js +0 -18
- package/dist/chunk-9a622a10e7764b23.js +0 -2
- package/dist/chunk-9b5649697d59dfb4.js +0 -2
- package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
- package/dist/chunk-9bd90ecd4ddde546.js +0 -18
- package/dist/chunk-9c3b4dd1591053c5.js +0 -18
- package/dist/chunk-9c4a4b4bd266869d.js +0 -2
- package/dist/chunk-9d069ba29a122630.js +0 -1
- package/dist/chunk-9d1337fc9976354d.js +0 -2
- package/dist/chunk-9d2777df26b445e4.js +0 -2
- package/dist/chunk-9d2af1a704b857ee.js +0 -2
- package/dist/chunk-9d6cc631cdabbe35.js +0 -9
- package/dist/chunk-9d714f87e4e3e250.js +0 -18
- package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
- package/dist/chunk-9f6199bc705fc395.js +0 -18
- package/dist/chunk-a0003b7feea6fae6.js +0 -2
- package/dist/chunk-a004fce37a0f5a65.js +0 -2
- package/dist/chunk-a02b2d564bdb603d.js +0 -6
- package/dist/chunk-a095821ffc039b99.js +0 -18
- package/dist/chunk-a10ae1a06a28aaab.js +0 -2
- package/dist/chunk-a13ab30c392c3563.js +0 -9
- package/dist/chunk-a14516ac5e6f78aa.js +0 -1
- package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
- package/dist/chunk-a210ec2b987fa5f7.js +0 -2
- package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
- package/dist/chunk-a3526e321ac9d173.js +0 -1
- package/dist/chunk-a3f85d0d3261ae44.js +0 -9
- package/dist/chunk-a4862acc0c3fed7d.js +0 -6
- package/dist/chunk-a50b9cd348c3e882.js +0 -9
- package/dist/chunk-a57ecc74c0fb9045.js +0 -2
- package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
- package/dist/chunk-a63e13c410e92923.js +0 -2
- package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
- package/dist/chunk-a719a1f305964521.js +0 -2
- package/dist/chunk-a7a144f5e4772c35.js +0 -2
- package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
- package/dist/chunk-a816613f5321b9db.js +0 -1
- package/dist/chunk-a8310ad9bad32329.js +0 -2
- package/dist/chunk-a885dc5561caa8e0.js +0 -3
- package/dist/chunk-a88c3919c74b7877.js +0 -18
- package/dist/chunk-a9625dd807cb668e.js +0 -2
- package/dist/chunk-a991fdce275f1256.js +0 -2
- package/dist/chunk-aa1b1fb08828cb24.js +0 -2
- package/dist/chunk-aad7af5112f0f4f2.js +0 -2
- package/dist/chunk-aaf5855c5199efe9.js +0 -2
- package/dist/chunk-aaf70ff16705d558.js +0 -2
- package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
- package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
- package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
- package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
- package/dist/chunk-abb2f588bd34adff.js +0 -2
- package/dist/chunk-abd0b68c299eebfc.js +0 -2
- package/dist/chunk-ac32b3d9dda47756.js +0 -9
- package/dist/chunk-acd4530b2ff92aff.js +0 -18
- package/dist/chunk-ad656a60ce7912bb.js +0 -2
- package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
- package/dist/chunk-adb4e1e222eb1d20.js +0 -2
- package/dist/chunk-ae373c8ae2d526ae.js +0 -18
- package/dist/chunk-ae50ef54d7de9179.js +0 -2
- package/dist/chunk-ae7b1bdf00266d88.js +0 -2
- package/dist/chunk-aef3f1c1429e6058.js +0 -2
- package/dist/chunk-af6b79a6ce7388ee.js +0 -18
- package/dist/chunk-afbf69daa7589a52.js +0 -2
- package/dist/chunk-b009482e01114059.js +0 -3
- package/dist/chunk-b031077f0a783b82.js +0 -2
- package/dist/chunk-b05cb7ef4546980d.js +0 -2
- package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
- package/dist/chunk-b06168e5d3080486.js +0 -1
- package/dist/chunk-b07249c949a284d2.js +0 -16
- package/dist/chunk-b0cc82fa84d5362d.js +0 -2
- package/dist/chunk-b0f453845cad4e6e.js +0 -2
- package/dist/chunk-b13cfa16a8a18324.js +0 -3
- package/dist/chunk-b1918e88103a8501.js +0 -2
- package/dist/chunk-b2bc43f60314d1a9.js +0 -2
- package/dist/chunk-b2d07c19a78dc397.js +0 -2
- package/dist/chunk-b3bfe533d66f6a17.js +0 -2
- package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
- package/dist/chunk-b558c43783464f1b.js +0 -2
- package/dist/chunk-b5d6eb761760b2a7.js +0 -6
- package/dist/chunk-b66a9e50afbac035.js +0 -9
- package/dist/chunk-b7b365f7e6038104.js +0 -2
- package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
- package/dist/chunk-b7da6c96acf0478f.js +0 -18
- package/dist/chunk-b7f9e29074a9f36a.js +0 -2
- package/dist/chunk-b80a86610158cbfd.js +0 -1
- package/dist/chunk-b855e71b162ce5a2.js +0 -2
- package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
- package/dist/chunk-b97189ea9588db36.js +0 -9
- package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
- package/dist/chunk-b9e4546aaa58319c.js +0 -2
- package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
- package/dist/chunk-ba051a98cd651063.js +0 -1
- package/dist/chunk-bb72c8820407f3a6.js +0 -2
- package/dist/chunk-bbd36ce62b950ee5.js +0 -2
- package/dist/chunk-bbdd098f2a2cd820.js +0 -18
- package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
- package/dist/chunk-bd2888a454e50cfd.js +0 -1
- package/dist/chunk-bd52b3f25b928eb1.js +0 -2
- package/dist/chunk-bdc34785363e3f34.js +0 -2
- package/dist/chunk-bdf4f2b1862899bb.js +0 -2
- package/dist/chunk-be095501304df604.js +0 -9
- package/dist/chunk-beca91bf7cc216cd.js +0 -2
- package/dist/chunk-bee6075c5738d87a.js +0 -2
- package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
- package/dist/chunk-bf4fa1d9864332a8.js +0 -2
- package/dist/chunk-bf92f3127474b56a.js +0 -3
- package/dist/chunk-bfccfb070c1630e9.js +0 -2
- package/dist/chunk-bffb8d677e1424a9.js +0 -6
- package/dist/chunk-c041f058dc3d571b.js +0 -1
- package/dist/chunk-c0bd8e19395d722b.js +0 -2
- package/dist/chunk-c124bf801cec12d9.js +0 -2
- package/dist/chunk-c153b192112b0d44.js +0 -2
- package/dist/chunk-c1813278ccdc04b8.js +0 -2
- package/dist/chunk-c210f6ae6276ebe8.js +0 -1
- package/dist/chunk-c29701ffef4ca07a.js +0 -2
- package/dist/chunk-c2d1f66cf8468e71.js +0 -1
- package/dist/chunk-c2fe378a1764eb92.js +0 -2
- package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
- package/dist/chunk-c3eaa877d3aab9db.js +0 -18
- package/dist/chunk-c45e1427f48008f0.js +0 -2
- package/dist/chunk-c4f342e09d9b2f23.js +0 -2
- package/dist/chunk-c50ff3cf3c78af79.js +0 -2
- package/dist/chunk-c609d06153ed09ce.js +0 -2
- package/dist/chunk-c62b5c4cec67029c.js +0 -1
- package/dist/chunk-c675395110f371b1.js +0 -6
- package/dist/chunk-c675f193d459818e.js +0 -2
- package/dist/chunk-c6846df9c8456b20.js +0 -3
- package/dist/chunk-c6d988f5928a4df1.js +0 -2
- package/dist/chunk-c72bfaa252a03f6f.js +0 -2
- package/dist/chunk-c7b024c7bd4cffc9.js +0 -3
- package/dist/chunk-c7e2acfd5087fb30.js +0 -2
- package/dist/chunk-c83b39b7178003da.js +0 -2
- package/dist/chunk-c85fc7168a708cb6.js +0 -3
- package/dist/chunk-c8631aa6bbb62e13.js +0 -2
- package/dist/chunk-c864ab57913d658f.js +0 -1
- package/dist/chunk-c882d0c175c22c17.js +0 -2
- package/dist/chunk-c8b00b645df96ed5.js +0 -2
- package/dist/chunk-c8f1115d77efc1c0.js +0 -2
- package/dist/chunk-c9707ae8f1d346ff.js +0 -3
- package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
- package/dist/chunk-cb65fe402653c65e.js +0 -2
- package/dist/chunk-cb69e9621a60d310.js +0 -1
- package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
- package/dist/chunk-ccb551ce4fd177fe.js +0 -2
- package/dist/chunk-cce7de7e81895807.js +0 -2
- package/dist/chunk-ccfd101ce72e80bf.js +0 -1
- package/dist/chunk-cd1636884486d7b3.js +0 -1
- package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
- package/dist/chunk-ceb94e70091088e5.js +0 -2
- package/dist/chunk-cf3d1744ea801f48.js +0 -6
- package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
- package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
- package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
- package/dist/chunk-d0757747d9cc2e47.js +0 -2
- package/dist/chunk-d0806df6defd9dce.js +0 -2
- package/dist/chunk-d12b578765686adb.js +0 -6
- package/dist/chunk-d16ef78d852a6856.js +0 -1
- package/dist/chunk-d22136d39cf8465f.js +0 -2
- package/dist/chunk-d26ffb7722e6df54.js +0 -1
- package/dist/chunk-d27588325ae2c0f3.js +0 -2
- package/dist/chunk-d2e057b6f3f9d500.js +0 -2
- package/dist/chunk-d3033805e98482dc.js +0 -6
- package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
- package/dist/chunk-d3765f96a689a0c1.js +0 -2
- package/dist/chunk-d37757ffee07b05f.js +0 -6
- package/dist/chunk-d3b4a3c778c23705.js +0 -2
- package/dist/chunk-d3e039d010842a3f.js +0 -2
- package/dist/chunk-d43b3f444e738dd1.js +0 -1
- package/dist/chunk-d445af84de70bf7e.js +0 -2
- package/dist/chunk-d535b1e3078465f8.js +0 -2
- package/dist/chunk-d54843c1d8516c75.js +0 -2
- package/dist/chunk-d5709251a0493152.js +0 -6
- package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
- package/dist/chunk-d665d3ee2a62d48b.js +0 -2
- package/dist/chunk-d7457cb6aae3b29b.js +0 -2
- package/dist/chunk-d850d83873a89e2b.js +0 -18
- package/dist/chunk-d93a6531661d56b5.js +0 -9
- package/dist/chunk-d93cbffc712a052f.js +0 -2
- package/dist/chunk-d950bbcb684a11ef.js +0 -2
- package/dist/chunk-d9577d79d4b718a6.js +0 -2
- package/dist/chunk-d9762bab5df03532.js +0 -2
- package/dist/chunk-d9968563c6c84405.js +0 -3
- package/dist/chunk-d9a84b9122601b72.js +0 -2
- package/dist/chunk-da1c673d9685624e.js +0 -2
- package/dist/chunk-dab2dde8cc9da99b.js +0 -9
- package/dist/chunk-dac0e2ef13060d02.js +0 -1
- package/dist/chunk-dac9276e506d125d.js +0 -2
- package/dist/chunk-dad55fcc32d05b69.js +0 -2
- package/dist/chunk-db2270bbca7854fe.js +0 -2
- package/dist/chunk-db65c75cda396f98.js +0 -2
- package/dist/chunk-dba84b47adec2108.js +0 -2
- package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
- package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
- package/dist/chunk-dcc432bd72fb7e46.js +0 -3
- package/dist/chunk-dd211856e049a67f.js +0 -9
- package/dist/chunk-dd21f367f8029793.js +0 -2
- package/dist/chunk-dd8b042837b4d5f1.js +0 -2
- package/dist/chunk-ddef8961cbf08a05.js +0 -6
- package/dist/chunk-de0784c3310db458.js +0 -5
- package/dist/chunk-de39fc86bbd37240.js +0 -1
- package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
- package/dist/chunk-def30dbcb4c6aceb.js +0 -2
- package/dist/chunk-df55f07f8adf212f.js +0 -2
- package/dist/chunk-df926b342440f55f.js +0 -5
- package/dist/chunk-dfadfa4e09b4db22.js +0 -2
- package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
- package/dist/chunk-e05db2eae976681b.js +0 -3
- package/dist/chunk-e06fbc8e70a88f07.js +0 -2
- package/dist/chunk-e0a028ef931a3eb1.js +0 -18
- package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
- package/dist/chunk-e0ffb920c65ebf44.js +0 -2
- package/dist/chunk-e11c7f3abcf2269f.js +0 -2
- package/dist/chunk-e16b252158474b8c.js +0 -1
- package/dist/chunk-e19064e9f1d5faed.js +0 -2
- package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
- package/dist/chunk-e1e84c38542d78ec.js +0 -2
- package/dist/chunk-e33c33445a92adf1.js +0 -1
- package/dist/chunk-e3acd3561fe1342c.js +0 -18
- package/dist/chunk-e3e996b3821027e1.js +0 -2
- package/dist/chunk-e3ef81776c8f2d28.js +0 -2
- package/dist/chunk-e4869466459233fa.js +0 -16
- package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
- package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
- package/dist/chunk-e5a95230e0858544.js +0 -3
- package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
- package/dist/chunk-e755f2c1c7ad3912.js +0 -2
- package/dist/chunk-e8159722d49ad044.js +0 -2
- package/dist/chunk-e86269d01f94404c.js +0 -2
- package/dist/chunk-e9275fb341d2cdd9.js +0 -2
- package/dist/chunk-e9c96f9b825f8de7.js +0 -2
- package/dist/chunk-ea9b86cf2edd807b.js +0 -18
- package/dist/chunk-ec24a0767aa58f1f.js +0 -18
- package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
- package/dist/chunk-ed589d4e4c575de7.js +0 -2
- package/dist/chunk-edba144b170cd87e.js +0 -6
- package/dist/chunk-edeefd833c30a5ed.js +0 -2
- package/dist/chunk-ee35048642cfe9d8.js +0 -2
- package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
- package/dist/chunk-ee604d0215ea07e6.js +0 -1
- package/dist/chunk-ee92e80230ce02ec.js +0 -2
- package/dist/chunk-eea1d6f60a6875d5.js +0 -2
- package/dist/chunk-eeb3b193701aec43.js +0 -1
- package/dist/chunk-ef1ebd10affe5726.js +0 -2
- package/dist/chunk-ef30aafcfd40dc07.js +0 -2
- package/dist/chunk-f077321ef55ea627.js +0 -1
- package/dist/chunk-f08ca4bd263b132b.js +0 -2
- package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
- package/dist/chunk-f117757df00aa18d.js +0 -2
- package/dist/chunk-f13fd46441a58606.js +0 -2
- package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
- package/dist/chunk-f1dfc76a05462dde.js +0 -2
- package/dist/chunk-f1e28c4c1a227c27.js +0 -2
- package/dist/chunk-f2428c56f532e719.js +0 -3
- package/dist/chunk-f256432c3e5819d0.js +0 -2
- package/dist/chunk-f2dca6305fcba70b.js +0 -2
- package/dist/chunk-f316793e4ec0f386.js +0 -2
- package/dist/chunk-f32726d374c6bee5.js +0 -1
- package/dist/chunk-f34a78d9e3a62c43.js +0 -3
- package/dist/chunk-f404a785b581d029.js +0 -2
- package/dist/chunk-f5910f2c8a3f6974.js +0 -2
- package/dist/chunk-f5a4295176f9b1c1.js +0 -2
- package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
- package/dist/chunk-f5e313cc7d724fbe.js +0 -2
- package/dist/chunk-f67aa3e46d73674e.js +0 -2
- package/dist/chunk-f69bcbd7998553cb.js +0 -2
- package/dist/chunk-f74928c3f9ae5359.js +0 -2
- package/dist/chunk-f7796c3724a35057.js +0 -2
- package/dist/chunk-f84049d82d29bd9e.js +0 -2
- package/dist/chunk-f868cdf653dbe87e.js +0 -2
- package/dist/chunk-f8823a1ede83155e.js +0 -2
- package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
- package/dist/chunk-f900b5868b14827e.js +0 -2
- package/dist/chunk-f9084650419a23c4.js +0 -2
- package/dist/chunk-f95f5e3439539ca5.js +0 -2
- package/dist/chunk-f99bdfc336b2ac57.js +0 -9
- package/dist/chunk-f9a17b871b527bff.js +0 -2
- package/dist/chunk-f9e6a0a946ebb032.js +0 -2
- package/dist/chunk-fa40971555060604.js +0 -81
- package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
- package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
- package/dist/chunk-fb25896f1638ca8e.js +0 -3
- package/dist/chunk-fc165cee61f6efe8.js +0 -6
- package/dist/chunk-fd5ffee329d6f29b.js +0 -2
- package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
- package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
- package/dist/chunk-ff086fe014985526.js +0 -1
- package/dist/chunk-ff1bbce70d726bc6.js +0 -9
- package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
- package/dist/chunk-ffe161a589b4c44b.js +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{x as D,y as M} from"./chunk-a5c18c07abe8fd9c.js";import{B as x,C as Hw,D as k8,E as IY,H as dw,I as S6,L as b6,P as qG,S as ZW} from"./chunk-3ab807ceccde81f3.js";import{fb as Q0} from"./chunk-bbd36ce62b950ee5.js";import{gb as hf,hb as F0} from"./chunk-9d069ba29a122630.js";import{ib as z$} from"./chunk-0ffc38ed09847e35.js";import{ob as Rw} from"./chunk-a816613f5321b9db.js";var l=M((Y9,rw)=>{var{defineProperty:$1,getOwnPropertyDescriptor:m6,getOwnPropertyNames:i6}=Object,r6=Object.prototype.hasOwnProperty,mw=($,w)=>$1($,"name",{value:w,configurable:!0}),o6=($,w)=>{for(var f in w)$1($,f,{get:w[f],enumerable:!0})},t6=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of i6(w))if(!r6.call($,U)&&U!==f)$1($,U,{get:()=>w[U],enumerable:!(G=m6(w,U))||G.enumerable})}return $},a6=($)=>t6($1({},"__esModule",{value:!0}),$),iw={};o6(iw,{getSmithyContext:()=>e6,normalizeProvider:()=>$X});rw.exports=a6(iw);var lw=Q0(),e6=mw(($)=>$[lw.SMITHY_CONTEXT_KEY]||($[lw.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),$X=mw(($)=>{if(typeof $==="function")return $;const w=Promise.resolve($);return()=>w},"normalizeProvider")});var M0=M((ow)=>{Object.defineProperty(ow,"__esModule",{value:!0});ow.getHomeDir=void 0;var wX=import.meta.require("os"),fX=import.meta.require("path"),W$={},UX=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},GX=()=>{const{HOME:$,USERPROFILE:w,HOMEPATH:f,HOMEDRIVE:G=`C:${fX.sep}`}=process.env;if($)return $;if(w)return w;if(f)return`${G}${f}`;const U=UX();if(!W$[U])W$[U]=wX.homedir();return W$[U]};ow.getHomeDir=GX});var L$=M((aw)=>{Object.defineProperty(aw,"__esModule",{value:!0});aw.getSSOTokenFilepath=void 0;var WX=import.meta.require("crypto"),LX=import.meta.require("path"),XX=M0(),ZX=($)=>{const f=WX.createHash("sha1").update($).digest("hex");return LX.join(XX.getHomeDir(),".aws","sso","cache",`${f}.json`)};aw.getSSOTokenFilepath=ZX});var ff=M(($f)=>{Object.defineProperty($f,"__esModule",{value:!0});$f.getSSOTokenFromFile=void 0;var EX=import.meta.require("fs"),FX=L$(),{readFile:YX}=EX.promises,IX=async($)=>{const w=FX.getSSOTokenFilepath($),f=await YX(w,"utf8");return JSON.parse(f)};$f.getSSOTokenFromFile=IX});var Z$=M((Uf)=>{Object.defineProperty(Uf,"__esModule",{value:!0});Uf.slurpFile=void 0;var zX=import.meta.require("fs"),{readFile:RX}=zX.promises,X$={},QX=($,w)=>{if(!X$[$]||(w===null||w===void 0?void 0:w.ignoreCache))X$[$]=RX($,"utf8");return X$[$]};Uf.slurpFile=QX});var I$=M((M9,b0)=>{var{defineProperty:U1,getOwnPropertyDescriptor:MX,getOwnPropertyNames:JX}=Object,KX=Object.prototype.hasOwnProperty,u=($,w)=>U1($,"name",{value:w,configurable:!0}),AX=($,w)=>{for(var f in w)U1($,f,{get:w[f],enumerable:!0})},E$=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of JX(w))if(!KX.call($,U)&&U!==f)U1($,U,{get:()=>w[U],enumerable:!(G=MX(w,U))||G.enumerable})}return $},Y$=($,w,f)=>(E$($,w,"default"),f&&E$(f,w,"default")),OX=($)=>E$(U1({},"__esModule",{value:!0}),$),S0={};AX(S0,{CONFIG_PREFIX_SEPARATOR:()=>L0,DEFAULT_PROFILE:()=>Zf,ENV_PROFILE:()=>Xf,getProfileName:()=>BX,loadSharedConfigFiles:()=>Ff,loadSsoSessionData:()=>DX,parseKnownFiles:()=>vX});b0.exports=OX(S0);Y$(S0,M0(),b0.exports);var Xf="AWS_PROFILE",Zf="default",BX=u(($)=>$.profile||process.env[Xf]||Zf,"getProfileName");Y$(S0,L$(),b0.exports);Y$(S0,ff(),b0.exports);var w1=Q0(),TX=u(($)=>Object.entries($).filter(([w])=>{const f=w.indexOf(L0);if(f===-1)return!1;return Object.values(w1.IniSectionType).includes(w.substring(0,f))}).reduce((w,[f,G])=>{const U=f.indexOf(L0),W=f.substring(0,U)===w1.IniSectionType.PROFILE?f.substring(U+1):f;return w[W]=G,w},{...$.default&&{default:$.default}}),"getConfigData"),f1=import.meta.require("path"),VX=M0(),HX="AWS_CONFIG_FILE",Ef=u(()=>process.env[HX]||f1.join(VX.getHomeDir(),".aws","config"),"getConfigFilepath"),CX=M0(),NX="AWS_SHARED_CREDENTIALS_FILE",qX=u(()=>process.env[NX]||f1.join(CX.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),PX=M0(),jX=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,SX=["__proto__","profile __proto__"],F$=u(($)=>{const w={};let f,G;for(let U of $.split(/\r?\n/)){const W=U.split(/(^|\s)[;#]/)[0].trim();if(W[0]==="["&&W[W.length-1]==="]"){f=void 0,G=void 0;const X=W.substring(1,W.length-1),Z=jX.exec(X);if(Z){const[,E,,F]=Z;if(Object.values(w1.IniSectionType).includes(E))f=[E,F].join(L0)}else f=X;if(SX.includes(X))throw new Error(`Found invalid profile name "${X}"`)}else if(f){const X=W.indexOf("=");if(![0,-1].includes(X)){const[Z,E]=[W.substring(0,X).trim(),W.substring(X+1).trim()];if(E==="")G=Z;else{if(G&&U.trimStart()===U)G=void 0;w[f]=w[f]||{};const F=G?[G,Z].join(L0):Z;w[f][F]=E}}}}return w},"parseIni"),Wf=Z$(),Lf=u(()=>({}),"swallowError"),L0=".",Ff=u(async($={})=>{const{filepath:w=qX(),configFilepath:f=Ef()}=$,G=PX.getHomeDir();let W=w;if(w.startsWith("~/"))W=f1.join(G,w.slice(2));let L=f;if(f.startsWith("~/"))L=f1.join(G,f.slice(2));const X=await Promise.all([Wf.slurpFile(L,{ignoreCache:$.ignoreCache}).then(F$).then(TX).catch(Lf),Wf.slurpFile(W,{ignoreCache:$.ignoreCache}).then(F$).catch(Lf)]);return{configFile:X[0],credentialsFile:X[1]}},"loadSharedConfigFiles"),bX=u(($)=>Object.entries($).filter(([w])=>w.startsWith(w1.IniSectionType.SSO_SESSION+L0)).reduce((w,[f,G])=>({...w,[f.substring(f.indexOf(L0)+1)]:G}),{}),"getSsoSessionData"),hX=Z$(),kX=u(()=>({}),"swallowError"),DX=u(async($={})=>hX.slurpFile($.configFilepath??Ef()).then(F$).then(bX).catch(kX),"loadSsoSessionData"),cX=u((...$)=>{const w={};for(let f of $)for(let[G,U]of Object.entries(f))if(w[G]!==void 0)Object.assign(w[G],U);else w[G]=U;return w},"mergeConfigFiles"),vX=u(async($)=>{const w=await Ff($);return cX(w.configFile,w.credentialsFile)},"parseKnownFiles")});var Rf=M((J9,zf)=>{var R$=function($){try{const w=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return w.delete("CONFIG"),w.delete("CONFIG_PREFIX_SEPARATOR"),w.delete("ENV"),[...w].join(", ")}catch(w){return $}},G1=Object.defineProperty,yX=Object.getOwnPropertyDescriptor,xX=Object.getOwnPropertyNames,uX=Object.prototype.hasOwnProperty,J0=($,w)=>G1($,"name",{value:w,configurable:!0}),_X=($,w)=>{for(var f in w)G1($,f,{get:w[f],enumerable:!0})},dX=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of xX(w))if(!uX.call($,U)&&U!==f)G1($,U,{get:()=>w[U],enumerable:!(G=yX(w,U))||G.enumerable})}return $},pX=($)=>dX(G1({},"__esModule",{value:!0}),$),If={};_X(If,{loadConfig:()=>mX});zf.exports=pX(If);var h0=z$();J0(R$,"getSelectorName");var gX=J0(($,w)=>async()=>{try{const f=$(process.env);if(f===void 0)throw new Error;return f}catch(f){throw new h0.CredentialsProviderError(f.message||`Not found in ENV: ${R$($.toString())}`,{logger:w})}},"fromEnv"),Yf=I$(),sX=J0(($,{preferredFile:w="config",...f}={})=>async()=>{const G=Yf.getProfileName(f),{configFile:U,credentialsFile:W}=await Yf.loadSharedConfigFiles(f),L=W[G]||{},X=U[G]||{},Z=w==="config"?{...L,...X}:{...X,...L};try{const F=$(Z,w==="config"?U:W);if(F===void 0)throw new Error;return F}catch(E){throw new h0.CredentialsProviderError(E.message||`Not found in config files w/ profile [${G}]: ${R$($.toString())}`,{logger:f.logger})}},"fromSharedConfigFiles"),nX=J0(($)=>typeof $==="function","isFunction"),lX=J0(($)=>nX($)?async()=>await $():h0.fromStatic($),"fromStatic"),mX=J0(({environmentVariableSelector:$,configFileSelector:w,default:f},G={})=>h0.memoize(h0.chain(gX($),sX(w,G),lX(f))),"loadConfig")});var Of=M((Kf)=>{Object.defineProperty(Kf,"__esModule",{value:!0});Kf.getEndpointUrlConfig=void 0;var Qf=I$(),Mf="AWS_ENDPOINT_URL",Jf="endpoint_url",iX=($)=>({environmentVariableSelector:(w)=>{const f=$.split(" ").map((W)=>W.toUpperCase()),G=w[[Mf,...f].join("_")];if(G)return G;const U=w[Mf];if(U)return U;return},configFileSelector:(w,f)=>{if(f&&w.services){const U=f[["services",w.services].join(Qf.CONFIG_PREFIX_SEPARATOR)];if(U){const W=$.split(" ").map((X)=>X.toLowerCase()),L=U[[W.join("_"),Jf].join(Qf.CONFIG_PREFIX_SEPARATOR)];if(L)return L}}const G=w[Jf];if(G)return G;return},default:void 0});Kf.getEndpointUrlConfig=iX});var Vf=M((Bf)=>{Object.defineProperty(Bf,"__esModule",{value:!0});Bf.getEndpointFromConfig=void 0;var rX=Rf(),oX=Of(),tX=async($)=>rX.loadConfig(oX.getEndpointUrlConfig($))();Bf.getEndpointFromConfig=tX});var M$=M((O9,Sf)=>{var jf=function($,w,f){return{applyToStack:(G)=>{G.add(Cf($,f),qf),G.add(Nf($,w),Pf)}}},W1=Object.defineProperty,aX=Object.getOwnPropertyDescriptor,eX=Object.getOwnPropertyNames,$Z=Object.prototype.hasOwnProperty,Q$=($,w)=>W1($,"name",{value:w,configurable:!0}),wZ=($,w)=>{for(var f in w)W1($,f,{get:w[f],enumerable:!0})},fZ=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of eX(w))if(!$Z.call($,U)&&U!==f)W1($,U,{get:()=>w[U],enumerable:!(G=aX(w,U))||G.enumerable})}return $},UZ=($)=>fZ(W1({},"__esModule",{value:!0}),$),Hf={};wZ(Hf,{deserializerMiddleware:()=>Cf,deserializerMiddlewareOption:()=>qf,getSerdePlugin:()=>jf,serializerMiddleware:()=>Nf,serializerMiddlewareOption:()=>Pf});Sf.exports=UZ(Hf);var Cf=Q$(($,w)=>(f)=>async(G)=>{const{response:U}=await f(G);try{const W=await w(U,$);return{response:U,output:W}}catch(W){if(Object.defineProperty(W,"$response",{value:U}),!("$metadata"in W)){if(W.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof W.$responseBodyText!=="undefined"){if(W.$response)W.$response.body=W.$responseBodyText}}throw W}},"deserializerMiddleware"),Nf=Q$(($,w)=>(f,G)=>async(U)=>{var W;const L=((W=G.endpointV2)==null?void 0:W.url)&&$.urlParser?async()=>$.urlParser(G.endpointV2.url):$.endpoint;if(!L)throw new Error("No valid endpoint provider available.");const X=await w(U.input,{...$,endpoint:L});return f({...U,request:X})},"serializerMiddleware"),qf={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Pf={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};Q$(jf,"getSerdePlugin")});var uf=M((B9,xf)=>{var{defineProperty:X1,getOwnPropertyDescriptor:GZ,getOwnPropertyNames:WZ}=Object,LZ=Object.prototype.hasOwnProperty,p=($,w)=>X1($,"name",{value:w,configurable:!0}),XZ=($,w)=>{for(var f in w)X1($,f,{get:w[f],enumerable:!0})},ZZ=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of WZ(w))if(!LZ.call($,U)&&U!==f)X1($,U,{get:()=>w[U],enumerable:!(G=GZ(w,U))||G.enumerable})}return $},EZ=($)=>ZZ(X1({},"__esModule",{value:!0}),$),kf={};XZ(kf,{endpointMiddleware:()=>vf,endpointMiddlewareOptions:()=>yf,getEndpointFromInstructions:()=>Df,getEndpointPlugin:()=>AZ,resolveEndpointConfig:()=>OZ,resolveParams:()=>cf,toEndpointV1:()=>J$});xf.exports=EZ(kf);var FZ=p(async($)=>{const w=($==null?void 0:$.Bucket)||"";if(typeof $.Bucket==="string")$.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(QZ(w)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!RZ(w)||w.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},"resolveParamsForS3"),YZ=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,IZ=/(\d+\.){3}\d+/,zZ=/\.\./,RZ=p(($)=>YZ.test($)&&!IZ.test($)&&!zZ.test($),"isDnsCompatibleBucketName"),QZ=p(($)=>{const[w,f,G,,,U]=$.split(":"),W=w==="arn"&&$.split(":").length>=6,L=Boolean(W&&f&&G&&U);if(W&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L},"isArnBucketName"),MZ=p(($,w,f)=>{const G=p(async()=>{const U=f[$]??f[w];if(typeof U==="function")return U();return U},"configProvider");if($==="credentialScope"||w==="CredentialScope")return async()=>{const U=typeof f.credentials==="function"?await f.credentials():f.credentials;return(U==null?void 0:U.credentialScope)??(U==null?void 0:U.CredentialScope)};if($==="accountId"||w==="AccountId")return async()=>{const U=typeof f.credentials==="function"?await f.credentials():f.credentials;return(U==null?void 0:U.accountId)??(U==null?void 0:U.AccountId)};if($==="endpoint"||w==="endpoint")return async()=>{const U=await G();if(U&&typeof U==="object"){if("url"in U)return U.url.href;if("hostname"in U){const{protocol:W,hostname:L,port:X,path:Z}=U;return`${W}//${L}${X?":"+X:""}${Z}`}}return U};return G},"createConfigValueProvider"),JZ=Vf(),bf=hf(),J$=p(($)=>{if(typeof $==="object"){if("url"in $)return bf.parseUrl($.url);return $}return bf.parseUrl($)},"toEndpointV1"),Df=p(async($,w,f,G)=>{if(!f.endpoint){const L=await JZ.getEndpointFromConfig(f.serviceId||"");if(L)f.endpoint=()=>Promise.resolve(J$(L))}const U=await cf($,w,f);if(typeof f.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return f.endpointProvider(U,G)},"getEndpointFromInstructions"),cf=p(async($,w,f)=>{var G;const U={},W=((G=w==null?void 0:w.getEndpointParameterInstructions)==null?void 0:G.call(w))||{};for(let[L,X]of Object.entries(W))switch(X.type){case"staticContextParams":U[L]=X.value;break;case"contextParams":U[L]=$[X.name];break;case"clientContextParams":case"builtInParams":U[L]=await MZ(X.name,L,f)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(X))}if(Object.keys(W).length===0)Object.assign(U,f);if(String(f.serviceId).toLowerCase()==="s3")await FZ(U);return U},"resolveParams"),L1=l(),vf=p(({config:$,instructions:w})=>{return(f,G)=>async(U)=>{var W,L,X;const Z=await Df(U.input,{getEndpointParameterInstructions(){return w}},{...$},G);G.endpointV2=Z,G.authSchemes=(W=Z.properties)==null?void 0:W.authSchemes;const E=(L=G.authSchemes)==null?void 0:L[0];if(E){G.signing_region=E.signingRegion,G.signing_service=E.signingName;const F=L1.getSmithyContext(G),Y=(X=F==null?void 0:F.selectedHttpAuthScheme)==null?void 0:X.httpAuthOption;if(Y)Y.signingProperties=Object.assign(Y.signingProperties||{},{signing_region:E.signingRegion,signingRegion:E.signingRegion,signing_service:E.signingName,signingName:E.signingName,signingRegionSet:E.signingRegionSet},E.properties)}return f({...U})}},"endpointMiddleware"),KZ=M$(),yf={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:KZ.serializerMiddlewareOption.name},AZ=p(($,w)=>({applyToStack:(f)=>{f.addRelativeTo(vf({config:$,instructions:w}),yf)}}),"getEndpointPlugin"),OZ=p(($)=>{const w=$.tls??!0,{endpoint:f}=$,G=f!=null?async()=>J$(await L1.normalizeProvider(f)()):void 0;return{...$,endpoint:G,tls:w,isCustomEndpoint:!!f,useDualstackEndpoint:L1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:L1.normalizeProvider($.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var r=M((T9,rf)=>{var nf=function($){return Object.keys($).reduce((w,f)=>{const G=$[f];return{...w,[f]:Array.isArray(G)?[...G]:G}},{})},mf=function($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)},Z1=Object.defineProperty,BZ=Object.getOwnPropertyDescriptor,TZ=Object.getOwnPropertyNames,VZ=Object.prototype.hasOwnProperty,e=($,w)=>Z1($,"name",{value:w,configurable:!0}),HZ=($,w)=>{for(var f in w)Z1($,f,{get:w[f],enumerable:!0})},CZ=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of TZ(w))if(!VZ.call($,U)&&U!==f)Z1($,U,{get:()=>w[U],enumerable:!(G=BZ(w,U))||G.enumerable})}return $},NZ=($)=>CZ(Z1({},"__esModule",{value:!0}),$),_f={};HZ(_f,{Field:()=>jZ,Fields:()=>SZ,HttpRequest:()=>bZ,HttpResponse:()=>hZ,IHttpRequest:()=>df.HttpRequest,getHttpHandlerExtensionConfiguration:()=>qZ,isValidHostname:()=>mf,resolveHttpHandlerRuntimeConfig:()=>PZ});rf.exports=NZ(_f);var qZ=e(($)=>{let w=$.httpHandler;return{setHttpHandler(f){w=f},httpHandler(){return w},updateHttpClientConfig(f,G){w.updateHttpClientConfig(f,G)},httpHandlerConfigs(){return w.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),PZ=e(($)=>{return{httpHandler:$.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),df=Q0(),pf=class ${constructor({name:w,kind:f=df.FieldPosition.HEADER,values:G=[]}){this.name=w,this.kind=f,this.values=G}add(w){this.values.push(w)}set(w){this.values=w}remove(w){this.values=this.values.filter((f)=>f!==w)}toString(){return this.values.map((w)=>w.includes(",")||w.includes(" ")?`"${w}"`:w).join(", ")}get(){return this.values}};e(pf,"Field");var jZ=pf,gf=class ${constructor({fields:w=[],encoding:f="utf-8"}){this.entries={},w.forEach(this.setField.bind(this)),this.encoding=f}setField(w){this.entries[w.name.toLowerCase()]=w}getField(w){return this.entries[w.toLowerCase()]}removeField(w){delete this.entries[w.toLowerCase()]}getByType(w){return Object.values(this.entries).filter((f)=>f.kind===w)}};e(gf,"Fields");var SZ=gf,sf=class ${constructor(w){this.method=w.method||"GET",this.hostname=w.hostname||"localhost",this.port=w.port,this.query=w.query||{},this.headers=w.headers||{},this.body=w.body,this.protocol=w.protocol?w.protocol.slice(-1)!==":"?`${w.protocol}:`:w.protocol:"https:",this.path=w.path?w.path.charAt(0)!=="/"?`/${w.path}`:w.path:"/",this.username=w.username,this.password=w.password,this.fragment=w.fragment}static clone(w){const f=new $({...w,headers:{...w.headers}});if(f.query)f.query=nf(f.query);return f}static isInstance(w){if(!w)return!1;const f=w;return"method"in f&&"protocol"in f&&"hostname"in f&&"path"in f&&typeof f.query==="object"&&typeof f.headers==="object"}clone(){return $.clone(this)}};e(sf,"HttpRequest");var bZ=sf;e(nf,"cloneQuery");var lf=class ${constructor(w){this.statusCode=w.statusCode,this.reason=w.reason,this.headers=w.headers||{},this.body=w.body}static isInstance(w){if(!w)return!1;const f=w;return typeof f.statusCode==="number"&&typeof f.headers==="object"}};e(lf,"HttpResponse");var hZ=lf;e(mf,"isValidHostname")});var K$=M((of)=>{var DZ=function($){return $&&$.__esModule?$:{default:$}},cZ=function(){if(E1>F1.length-16)kZ.default.randomFillSync(F1),E1=0;return F1.slice(E1,E1+=16)};Object.defineProperty(of,"__esModule",{value:!0});of.default=cZ;var kZ=DZ(import.meta.require("crypto")),F1=new Uint8Array(256),E1=F1.length});var ef=M((tf)=>{Object.defineProperty(tf,"__esModule",{value:!0});tf.default=void 0;var yZ=/^(?:[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;tf.default=yZ});var k0=M(($U)=>{var uZ=function($){return $&&$.__esModule?$:{default:$}},_Z=function($){return typeof $==="string"&&xZ.default.test($)};Object.defineProperty($U,"__esModule",{value:!0});$U.default=void 0;var xZ=uZ(ef()),dZ=_Z;$U.default=dZ});var D0=M((UU)=>{var gZ=function($){return $&&$.__esModule?$:{default:$}},fU=function($,w=0){return h[$[w+0]]+h[$[w+1]]+h[$[w+2]]+h[$[w+3]]+"-"+h[$[w+4]]+h[$[w+5]]+"-"+h[$[w+6]]+h[$[w+7]]+"-"+h[$[w+8]]+h[$[w+9]]+"-"+h[$[w+10]]+h[$[w+11]]+h[$[w+12]]+h[$[w+13]]+h[$[w+14]]+h[$[w+15]]},sZ=function($,w=0){const f=fU($,w);if(!pZ.default(f))throw TypeError("Stringified UUID is invalid");return f};Object.defineProperty(UU,"__esModule",{value:!0});UU.default=void 0;UU.unsafeStringify=fU;var pZ=gZ(k0()),h=[];for(let $=0;$<256;++$)h.push(($+256).toString(16).slice(1));var nZ=sZ;UU.default=nZ});var ZU=M((LU)=>{var rZ=function($){return $&&$.__esModule?$:{default:$}},oZ=function($,w,f){let G=w&&f||0;const U=w||new Array(16);$=$||{};let W=$.node||WU,L=$.clockseq!==void 0?$.clockseq:A$;if(W==null||L==null){const z=$.random||($.rng||mZ.default)();if(W==null)W=WU=[z[0]|1,z[1],z[2],z[3],z[4],z[5]];if(L==null)L=A$=(z[6]<<8|z[7])&16383}let X=$.msecs!==void 0?$.msecs:Date.now(),Z=$.nsecs!==void 0?$.nsecs:B$+1;const E=X-O$+(Z-B$)/1e4;if(E<0&&$.clockseq===void 0)L=L+1&16383;if((E<0||X>O$)&&$.nsecs===void 0)Z=0;if(Z>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");O$=X,B$=Z,A$=L,X+=12219292800000;const F=((X&268435455)*1e4+Z)%4294967296;U[G++]=F>>>24&255,U[G++]=F>>>16&255,U[G++]=F>>>8&255,U[G++]=F&255;const Y=X/4294967296*1e4&268435455;U[G++]=Y>>>8&255,U[G++]=Y&255,U[G++]=Y>>>24&15|16,U[G++]=Y>>>16&255,U[G++]=L>>>8|128,U[G++]=L&255;for(let z=0;z<6;++z)U[G+z]=W[z];return w||iZ.unsafeStringify(U)};Object.defineProperty(LU,"__esModule",{value:!0});LU.default=void 0;var mZ=rZ(K$()),iZ=D0(),WU,A$,O$=0,B$=0,tZ=oZ;LU.default=tZ});var T$=M((EU)=>{var eZ=function($){return $&&$.__esModule?$:{default:$}},$2=function($){if(!aZ.default($))throw TypeError("Invalid UUID");let w;const f=new Uint8Array(16);return f[0]=(w=parseInt($.slice(0,8),16))>>>24,f[1]=w>>>16&255,f[2]=w>>>8&255,f[3]=w&255,f[4]=(w=parseInt($.slice(9,13),16))>>>8,f[5]=w&255,f[6]=(w=parseInt($.slice(14,18),16))>>>8,f[7]=w&255,f[8]=(w=parseInt($.slice(19,23),16))>>>8,f[9]=w&255,f[10]=(w=parseInt($.slice(24,36),16))/1099511627776&255,f[11]=w/4294967296&255,f[12]=w>>>24&255,f[13]=w>>>16&255,f[14]=w>>>8&255,f[15]=w&255,f};Object.defineProperty(EU,"__esModule",{value:!0});EU.default=void 0;var aZ=eZ(k0()),w2=$2;EU.default=w2});var V$=M((zU)=>{var G2=function($){return $&&$.__esModule?$:{default:$}},W2=function($){$=unescape(encodeURIComponent($));const w=[];for(let f=0;f<$.length;++f)w.push($.charCodeAt(f));return w},L2=function($,w,f){function G(U,W,L,X){var Z;if(typeof U==="string")U=W2(U);if(typeof W==="string")W=U2.default(W);if(((Z=W)===null||Z===void 0?void 0:Z.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let E=new Uint8Array(16+U.length);if(E.set(W),E.set(U,W.length),E=f(E),E[6]=E[6]&15|w,E[8]=E[8]&63|128,L){X=X||0;for(let F=0;F<16;++F)L[X+F]=E[F];return L}return f2.unsafeStringify(E)}try{G.name=$}catch(U){}return G.DNS=YU,G.URL=IU,G};Object.defineProperty(zU,"__esModule",{value:!0});zU.URL=zU.DNS=void 0;zU.default=L2;var f2=D0(),U2=G2(T$()),YU="6ba7b810-9dad-11d1-80b4-00c04fd430c8";zU.DNS=YU;var IU="6ba7b811-9dad-11d1-80b4-00c04fd430c8";zU.URL=IU});var JU=M((QU)=>{var F2=function($){return $&&$.__esModule?$:{default:$}},Y2=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return E2.default.createHash("md5").update($).digest()};Object.defineProperty(QU,"__esModule",{value:!0});QU.default=void 0;var E2=F2(import.meta.require("crypto")),I2=Y2;QU.default=I2});var BU=M((AU)=>{var KU=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(AU,"__esModule",{value:!0});AU.default=void 0;var z2=KU(V$()),R2=KU(JU()),Q2=z2.default("v3",48,R2.default),M2=Q2;AU.default=M2});var HU=M((TU)=>{var K2=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(TU,"__esModule",{value:!0});TU.default=void 0;var J2=K2(import.meta.require("crypto")),A2={randomUUID:J2.default.randomUUID};TU.default=A2});var jU=M((qU)=>{var NU=function($){return $&&$.__esModule?$:{default:$}},T2=function($,w,f){if(CU.default.randomUUID&&!w&&!$)return CU.default.randomUUID();$=$||{};const G=$.random||($.rng||O2.default)();if(G[6]=G[6]&15|64,G[8]=G[8]&63|128,w){f=f||0;for(let U=0;U<16;++U)w[f+U]=G[U];return w}return B2.unsafeStringify(G)};Object.defineProperty(qU,"__esModule",{value:!0});qU.default=void 0;var CU=NU(HU()),O2=NU(K$()),B2=D0(),V2=T2;qU.default=V2});var hU=M((SU)=>{var C2=function($){return $&&$.__esModule?$:{default:$}},N2=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return H2.default.createHash("sha1").update($).digest()};Object.defineProperty(SU,"__esModule",{value:!0});SU.default=void 0;var H2=C2(import.meta.require("crypto")),q2=N2;SU.default=q2});var vU=M((DU)=>{var kU=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(DU,"__esModule",{value:!0});DU.default=void 0;var P2=kU(V$()),j2=kU(hU()),S2=P2.default("v5",80,j2.default),b2=S2;DU.default=b2});var uU=M((yU)=>{Object.defineProperty(yU,"__esModule",{value:!0});yU.default=void 0;var h2="00000000-0000-0000-0000-000000000000";yU.default=h2});var pU=M((_U)=>{var D2=function($){return $&&$.__esModule?$:{default:$}},c2=function($){if(!k2.default($))throw TypeError("Invalid UUID");return parseInt($.slice(14,15),16)};Object.defineProperty(_U,"__esModule",{value:!0});_U.default=void 0;var k2=D2(k0()),v2=c2;_U.default=v2});var H$=M((g)=>{var o=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g,"__esModule",{value:!0});Object.defineProperty(g,"NIL",{enumerable:!0,get:function(){return d2.default}});Object.defineProperty(g,"parse",{enumerable:!0,get:function(){return n2.default}});Object.defineProperty(g,"stringify",{enumerable:!0,get:function(){return s2.default}});Object.defineProperty(g,"v1",{enumerable:!0,get:function(){return y2.default}});Object.defineProperty(g,"v3",{enumerable:!0,get:function(){return x2.default}});Object.defineProperty(g,"v4",{enumerable:!0,get:function(){return u2.default}});Object.defineProperty(g,"v5",{enumerable:!0,get:function(){return _2.default}});Object.defineProperty(g,"validate",{enumerable:!0,get:function(){return g2.default}});Object.defineProperty(g,"version",{enumerable:!0,get:function(){return p2.default}});var y2=o(ZU()),x2=o(BU()),u2=o(jU()),_2=o(vU()),d2=o(uU()),p2=o(pU()),g2=o(k0()),s2=o(D0()),n2=o(T$())});var X0=M((u9,lU)=>{var{defineProperty:Y1,getOwnPropertyDescriptor:l2,getOwnPropertyNames:m2}=Object,i2=Object.prototype.hasOwnProperty,K0=($,w)=>Y1($,"name",{value:w,configurable:!0}),r2=($,w)=>{for(var f in w)Y1($,f,{get:w[f],enumerable:!0})},o2=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of m2(w))if(!i2.call($,U)&&U!==f)Y1($,U,{get:()=>w[U],enumerable:!(G=l2(w,U))||G.enumerable})}return $},t2=($)=>o2(Y1({},"__esModule",{value:!0}),$),gU={};r2(gU,{isClockSkewCorrectedError:()=>sU,isClockSkewError:()=>GE,isRetryableByTrait:()=>UE,isServerError:()=>LE,isThrottlingError:()=>WE,isTransientError:()=>nU});lU.exports=t2(gU);var a2=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],e2=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],$E=["TimeoutError","RequestTimeout","RequestTimeoutException"],wE=[500,502,503,504],fE=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],UE=K0(($)=>$.$retryable!==void 0,"isRetryableByTrait"),GE=K0(($)=>a2.includes($.name),"isClockSkewError"),sU=K0(($)=>{var w;return(w=$.$metadata)==null?void 0:w.clockSkewCorrected},"isClockSkewCorrectedError"),WE=K0(($)=>{var w,f;return((w=$.$metadata)==null?void 0:w.httpStatusCode)===429||e2.includes($.name)||((f=$.$retryable)==null?void 0:f.throttling)==!0},"isThrottlingError"),nU=K0(($)=>{var w;return sU($)||$E.includes($.name)||fE.includes(($==null?void 0:$.code)||"")||wE.includes(((w=$.$metadata)==null?void 0:w.httpStatusCode)||0)},"isTransientError"),LE=K0(($)=>{var w;if(((w=$.$metadata)==null?void 0:w.httpStatusCode)!==void 0){const f=$.$metadata.httpStatusCode;if(500<=f&&f<=599&&!nU($))return!0;return!1}return!1},"isServerError")});var LG=M((_9,WG)=>{var{defineProperty:I1,getOwnPropertyDescriptor:XE,getOwnPropertyNames:ZE}=Object,EE=Object.prototype.hasOwnProperty,s=($,w)=>I1($,"name",{value:w,configurable:!0}),FE=($,w)=>{for(var f in w)I1($,f,{get:w[f],enumerable:!0})},YE=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of ZE(w))if(!EE.call($,U)&&U!==f)I1($,U,{get:()=>w[U],enumerable:!(G=XE(w,U))||G.enumerable})}return $},IE=($)=>YE(I1({},"__esModule",{value:!0}),$),iU={};FE(iU,{AdaptiveRetryStrategy:()=>KE,ConfiguredRetryStrategy:()=>AE,DEFAULT_MAX_ATTEMPTS:()=>C$,DEFAULT_RETRY_DELAY_BASE:()=>c0,DEFAULT_RETRY_MODE:()=>zE,DefaultRateLimiter:()=>tU,INITIAL_RETRY_TOKENS:()=>N$,INVOCATION_ID_HEADER:()=>QE,MAXIMUM_RETRY_DELAY:()=>q$,NO_RETRY_INCREMENT:()=>wG,REQUEST_HEADER:()=>ME,RETRY_COST:()=>eU,RETRY_MODES:()=>rU,StandardRetryStrategy:()=>P$,THROTTLING_RETRY_DELAY_BASE:()=>aU,TIMEOUT_RETRY_COST:()=>$G});WG.exports=IE(iU);var rU=(($)=>{return $.STANDARD="standard",$.ADAPTIVE="adaptive",$})(rU||{}),C$=3,zE="standard",RE=X0(),oU=class ${constructor(w){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(w==null?void 0:w.beta)??0.7,this.minCapacity=(w==null?void 0:w.minCapacity)??1,this.minFillRate=(w==null?void 0:w.minFillRate)??0.5,this.scaleConstant=(w==null?void 0:w.scaleConstant)??0.4,this.smooth=(w==null?void 0:w.smooth)??0.8;const f=this.getCurrentTimeInSeconds();this.lastThrottleTime=f,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(w){if(!this.enabled)return;if(this.refillTokenBucket(),w>this.currentCapacity){const f=(w-this.currentCapacity)/this.fillRate*1000;await new Promise((G)=>setTimeout(G,f))}this.currentCapacity=this.currentCapacity-w}refillTokenBucket(){const w=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=w;return}const f=(w-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+f),this.lastTimestamp=w}updateClientSendingRate(w){let f;if(this.updateMeasuredRate(),RE.isThrottlingError(w)){const U=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=U,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),f=this.cubicThrottle(U),this.enableTokenBucket()}else this.calculateTimeWindow(),f=this.cubicSuccess(this.getCurrentTimeInSeconds());const G=Math.min(f,2*this.measuredTxRate);this.updateTokenBucketRate(G)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(w){return this.getPrecise(w*this.beta)}cubicSuccess(w){return this.getPrecise(this.scaleConstant*Math.pow(w-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(w){this.refillTokenBucket(),this.fillRate=Math.max(w,this.minFillRate),this.maxCapacity=Math.max(w,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const w=this.getCurrentTimeInSeconds(),f=Math.floor(w*2)/2;if(this.requestCount++,f>this.lastTxRateBucket){const G=this.requestCount/(f-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=f}}getPrecise(w){return parseFloat(w.toFixed(8))}};s(oU,"DefaultRateLimiter");var tU=oU,c0=100,q$=20000,aU=500,N$=500,eU=5,$G=10,wG=1,QE="amz-sdk-invocation-id",ME="amz-sdk-request",JE=s(()=>{let $=c0;return{computeNextBackoffDelay:s((G)=>{return Math.floor(Math.min(q$,Math.random()*2**G*$))},"computeNextBackoffDelay"),setDelayBase:s((G)=>{$=G},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),mU=s(({retryDelay:$,retryCount:w,retryCost:f})=>{return{getRetryCount:s(()=>w,"getRetryCount"),getRetryDelay:s(()=>Math.min(q$,$),"getRetryDelay"),getRetryCost:s(()=>f,"getRetryCost")}},"createDefaultRetryToken"),fG=class ${constructor(w){this.maxAttempts=w,this.mode="standard",this.capacity=N$,this.retryBackoffStrategy=JE(),this.maxAttemptsProvider=typeof w==="function"?w:async()=>w}async acquireInitialRetryToken(w){return mU({retryDelay:c0,retryCount:0})}async refreshRetryTokenForRetry(w,f){const G=await this.getMaxAttempts();if(this.shouldRetry(w,f,G)){const U=f.errorType;this.retryBackoffStrategy.setDelayBase(U==="THROTTLING"?aU:c0);const W=this.retryBackoffStrategy.computeNextBackoffDelay(w.getRetryCount()),L=f.retryAfterHint?Math.max(f.retryAfterHint.getTime()-Date.now()||0,W):W,X=this.getCapacityCost(U);return this.capacity-=X,mU({retryDelay:L,retryCount:w.getRetryCount()+1,retryCost:X})}throw new Error("No retry token available")}recordSuccess(w){this.capacity=Math.max(N$,this.capacity+(w.getRetryCost()??wG))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(w){return console.warn(`Max attempts provider could not resolve. Using default of ${C$}`),C$}}shouldRetry(w,f,G){return w.getRetryCount()+1<G&&this.capacity>=this.getCapacityCost(f.errorType)&&this.isRetryableError(f.errorType)}getCapacityCost(w){return w==="TRANSIENT"?$G:eU}isRetryableError(w){return w==="THROTTLING"||w==="TRANSIENT"}};s(fG,"StandardRetryStrategy");var P$=fG,UG=class ${constructor(w,f){this.maxAttemptsProvider=w,this.mode="adaptive";const{rateLimiter:G}=f??{};this.rateLimiter=G??new tU,this.standardRetryStrategy=new P$(w)}async acquireInitialRetryToken(w){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(w)}async refreshRetryTokenForRetry(w,f){return this.rateLimiter.updateClientSendingRate(f),this.standardRetryStrategy.refreshRetryTokenForRetry(w,f)}recordSuccess(w){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(w)}};s(UG,"AdaptiveRetryStrategy");var KE=UG,GG=class $ extends P${constructor(w,f=c0){super(typeof w==="function"?w:async()=>w);if(typeof f==="number")this.computeNextBackoffDelay=()=>f;else this.computeNextBackoffDelay=f}async refreshRetryTokenForRetry(w,f){const G=await super.refreshRetryTokenForRetry(w,f);return G.getRetryDelay=()=>this.computeNextBackoffDelay(G.getRetryCount()),G}};s(GG,"ConfiguredRetryStrategy");var AE=GG});var j$=M((d9,ZG)=>{var{defineProperty:z1,getOwnPropertyDescriptor:OE,getOwnPropertyNames:BE}=Object,TE=Object.prototype.hasOwnProperty,VE=($,w)=>z1($,"name",{value:w,configurable:!0}),HE=($,w)=>{for(var f in w)z1($,f,{get:w[f],enumerable:!0})},CE=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of BE(w))if(!TE.call($,U)&&U!==f)z1($,U,{get:()=>w[U],enumerable:!(G=OE(w,U))||G.enumerable})}return $},NE=($)=>CE(z1({},"__esModule",{value:!0}),$),XG={};HE(XG,{isArrayBuffer:()=>qE});ZG.exports=NE(XG);var qE=VE(($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]","isArrayBuffer")});var v0=M((p9,YG)=>{var{defineProperty:R1,getOwnPropertyDescriptor:PE,getOwnPropertyNames:jE}=Object,SE=Object.prototype.hasOwnProperty,EG=($,w)=>R1($,"name",{value:w,configurable:!0}),bE=($,w)=>{for(var f in w)R1($,f,{get:w[f],enumerable:!0})},hE=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of jE(w))if(!SE.call($,U)&&U!==f)R1($,U,{get:()=>w[U],enumerable:!(G=PE(w,U))||G.enumerable})}return $},kE=($)=>hE(R1({},"__esModule",{value:!0}),$),FG={};bE(FG,{fromArrayBuffer:()=>cE,fromString:()=>vE});YG.exports=kE(FG);var DE=j$(),S$=import.meta.require("buffer"),cE=EG(($,w=0,f=$.byteLength-w)=>{if(!DE.isArrayBuffer($))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return S$.Buffer.from($,w,f)},"fromArrayBuffer"),vE=EG(($,w)=>{if(typeof $!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return w?S$.Buffer.from($,w):S$.Buffer.from($)},"fromString")});var RG=M((IG)=>{Object.defineProperty(IG,"__esModule",{value:!0});IG.fromBase64=void 0;var yE=v0(),xE=/^[A-Za-z0-9+/]*={0,2}$/,uE=($)=>{if($.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!xE.exec($))throw new TypeError("Invalid base64 string.");const w=yE.fromString($,"base64");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength)};IG.fromBase64=uE});var $0=M((s9,KG)=>{var{defineProperty:Q1,getOwnPropertyDescriptor:_E,getOwnPropertyNames:dE}=Object,pE=Object.prototype.hasOwnProperty,b$=($,w)=>Q1($,"name",{value:w,configurable:!0}),gE=($,w)=>{for(var f in w)Q1($,f,{get:w[f],enumerable:!0})},sE=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of dE(w))if(!pE.call($,U)&&U!==f)Q1($,U,{get:()=>w[U],enumerable:!(G=_E(w,U))||G.enumerable})}return $},nE=($)=>sE(Q1({},"__esModule",{value:!0}),$),QG={};gE(QG,{fromUtf8:()=>JG,toUint8Array:()=>lE,toUtf8:()=>mE});KG.exports=nE(QG);var MG=v0(),JG=b$(($)=>{const w=MG.fromString($,"utf8");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),lE=b$(($)=>{if(typeof $==="string")return JG($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},"toUint8Array"),mE=b$(($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return MG.fromArrayBuffer($.buffer,$.byteOffset,$.byteLength).toString("utf8")},"toUtf8")});var BG=M((AG)=>{Object.defineProperty(AG,"__esModule",{value:!0});AG.toBase64=void 0;var iE=v0(),rE=$0(),oE=($)=>{let w;if(typeof $==="string")w=rE.fromUtf8($);else w=$;if(typeof w!=="object"||typeof w.byteOffset!=="number"||typeof w.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return iE.fromArrayBuffer(w.buffer,w.byteOffset,w.byteLength).toString("base64")};AG.toBase64=oE});var J1=M((l9,M1)=>{var{defineProperty:TG,getOwnPropertyDescriptor:tE,getOwnPropertyNames:aE}=Object,eE=Object.prototype.hasOwnProperty,h$=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of aE(w))if(!eE.call($,U)&&U!==f)TG($,U,{get:()=>w[U],enumerable:!(G=tE(w,U))||G.enumerable})}return $},VG=($,w,f)=>(h$($,w,"default"),f&&h$(f,w,"default")),$F=($)=>h$(TG({},"__esModule",{value:!0}),$),k$={};M1.exports=$F(k$);VG(k$,RG(),M1.exports);VG(k$,BG(),M1.exports)});var NG=M((HG)=>{Object.defineProperty(HG,"__esModule",{value:!0});HG.getAwsChunkedEncodingStream=void 0;var wF=import.meta.require("stream"),fF=($,w)=>{const{base64Encoder:f,bodyLengthChecker:G,checksumAlgorithmFn:U,checksumLocationName:W,streamHasher:L}=w,X=f!==void 0&&U!==void 0&&W!==void 0&&L!==void 0,Z=X?L(U,$):void 0,E=new wF.Readable({read:()=>{}});return $.on("data",(F)=>{const Y=G(F)||0;E.push(`${Y.toString(16)}\r\n`),E.push(F),E.push("\r\n")}),$.on("end",async()=>{if(E.push("0\r\n"),X){const F=f(await Z);E.push(`${W}:${F}\r\n`),E.push("\r\n")}E.push(null)}),E};HG.getAwsChunkedEncodingStream=fF});var c$=M((i9,SG)=>{var jG=function($){const w=[];for(let f of Object.keys($).sort()){const G=$[f];if(f=D$.escapeUri(f),Array.isArray(G))for(let U=0,W=G.length;U<W;U++)w.push(`${f}=${D$.escapeUri(G[U])}`);else{let U=f;if(G||typeof G==="string")U+=`=${D$.escapeUri(G)}`;w.push(U)}}return w.join("&")},K1=Object.defineProperty,UF=Object.getOwnPropertyDescriptor,GF=Object.getOwnPropertyNames,WF=Object.prototype.hasOwnProperty,LF=($,w)=>K1($,"name",{value:w,configurable:!0}),XF=($,w)=>{for(var f in w)K1($,f,{get:w[f],enumerable:!0})},ZF=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of GF(w))if(!WF.call($,U)&&U!==f)K1($,U,{get:()=>w[U],enumerable:!(G=UF(w,U))||G.enumerable})}return $},EF=($)=>ZF(K1({},"__esModule",{value:!0}),$),PG={};XF(PG,{buildQueryString:()=>jG});SG.exports=EF(PG);var D$=qG();LF(jG,"buildQueryString")});var mG=M((r9,lG)=>{async function x$($,w,f=bG){const G=w.headers??{},U=G.Expect||G.expect;let W=-1,L=!1;if(U==="100-continue")await Promise.race([new Promise((X)=>{W=Number(setTimeout(X,Math.max(bG,f)))}),new Promise((X)=>{$.on("continue",()=>{clearTimeout(W),X()}),$.on("error",()=>{L=!0,clearTimeout(W),X()})})]);if(!L)uG($,w.body)}var uG=function($,w){if(w instanceof xG.Readable){w.pipe($);return}if(w){if(Buffer.isBuffer(w)||typeof w==="string"){$.end(w);return}const f=w;if(typeof f==="object"&&f.buffer&&typeof f.byteOffset==="number"&&typeof f.byteLength==="number"){$.end(Buffer.from(f.buffer,f.byteOffset,f.byteLength));return}$.end(Buffer.from(w));return}$.end()};async function nG($){const w=[],f=$.getReader();let G=!1,U=0;while(!G){const{done:X,value:Z}=await f.read();if(Z)w.push(Z),U+=Z.length;G=X}const W=new Uint8Array(U);let L=0;for(let X of w)W.set(X,L),L+=X.length;return W}var{create:FF,defineProperty:y0,getOwnPropertyDescriptor:YF,getOwnPropertyNames:IF,getPrototypeOf:zF}=Object,RF=Object.prototype.hasOwnProperty,q=($,w)=>y0($,"name",{value:w,configurable:!0}),QF=($,w)=>{for(var f in w)y0($,f,{get:w[f],enumerable:!0})},kG=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of IF(w))if(!RF.call($,U)&&U!==f)y0($,U,{get:()=>w[U],enumerable:!(G=YF(w,U))||G.enumerable})}return $},MF=($,w,f)=>(f=$!=null?FF(zF($)):{},kG(w||!$||!$.__esModule?y0(f,"default",{value:$,enumerable:!0}):f,$)),JF=($)=>kG(y0({},"__esModule",{value:!0}),$),DG={};QF(DG,{DEFAULT_REQUEST_TIMEOUT:()=>TF,NodeHttp2Handler:()=>qF,NodeHttpHandler:()=>VF,streamCollector:()=>jF});lG.exports=JF(DG);var cG=r(),vG=c$(),v$=import.meta.require("http"),y$=import.meta.require("https"),KF=["ECONNRESET","EPIPE","ETIMEDOUT"],yG=q(($)=>{const w={};for(let f of Object.keys($)){const G=$[f];w[f]=Array.isArray(G)?G.join(","):G}return w},"getTransformedHeaders"),AF=q(($,w,f=0)=>{if(!f)return;const G=setTimeout(()=>{$.destroy(),w(Object.assign(new Error(`Socket timed out without establishing a connection within ${f} ms`),{name:"TimeoutError"}))},f);$.on("socket",(U)=>{if(U.connecting)U.on("connect",()=>{clearTimeout(G)});else clearTimeout(G)})},"setConnectionTimeout"),OF=q(($,{keepAlive:w,keepAliveMsecs:f})=>{if(w!==!0)return;$.on("socket",(G)=>{G.setKeepAlive(w,f||0)})},"setSocketKeepAlive"),BF=q(($,w,f=0)=>{$.setTimeout(f,()=>{$.destroy(),w(Object.assign(new Error(`Connection timed out after ${f} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),xG=import.meta.require("stream"),bG=1000;q(x$,"writeRequestBody");q(uG,"writeBody");var TF=0,_G=class ${constructor(w){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((f,G)=>{if(typeof w==="function")w().then((U)=>{f(this.resolveDefaultConfig(U))}).catch(G);else f(this.resolveDefaultConfig(w))})}static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}static checkSocketUsage(w,f,G=console){var U,W,L;const{sockets:X,requests:Z,maxSockets:E}=w;if(typeof E!=="number"||E===Infinity)return f;const F=15000;if(Date.now()-F<f)return f;if(X&&Z)for(let Y in X){const z=((U=X[Y])==null?void 0:U.length)??0,I=((W=Z[Y])==null?void 0:W.length)??0;if(z>=E&&I>=2*E)return(L=G==null?void 0:G.warn)==null||L.call(G,`@smithy/node-http-handler:WARN - socket usage at capacity=${z} and ${I} additional requests are enqueued.
|
|
2
|
-
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
-
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return f}resolveDefaultConfig(w){const{requestTimeout:f,connectionTimeout:G,socketTimeout:U,httpAgent:W,httpsAgent:L}=w||{};return{connectionTimeout:G,requestTimeout:f??U,httpAgent:(()=>{if(W instanceof v$.Agent||typeof(W==null?void 0:W.destroy)==="function")return W;return new v$.Agent({keepAlive:!0,maxSockets:50,...W})})(),httpsAgent:(()=>{if(L instanceof y$.Agent||typeof(L==null?void 0:L.destroy)==="function")return L;return new y$.Agent({keepAlive:!0,maxSockets:50,...L})})(),logger:console}}destroy(){var w,f,G,U;(f=(w=this.config)==null?void 0:w.httpAgent)==null||f.destroy(),(U=(G=this.config)==null?void 0:G.httpsAgent)==null||U.destroy()}async handle(w,{abortSignal:f}={}){if(!this.config)this.config=await this.configProvider;let G;return new Promise((U,W)=>{let L=void 0;const X=q(async(A)=>{await L,clearTimeout(G),U(A)},"resolve"),Z=q(async(A)=>{await L,clearTimeout(G),W(A)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(f==null?void 0:f.aborted){const A=new Error("Request aborted");A.name="AbortError",Z(A);return}const E=w.protocol==="https:",F=E?this.config.httpsAgent:this.config.httpAgent;G=setTimeout(()=>{this.socketWarningTimestamp=$.checkSocketUsage(F,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const Y=vG.buildQueryString(w.query||{});let z=void 0;if(w.username!=null||w.password!=null){const A=w.username??"",B=w.password??"";z=`${A}:${B}`}let I=w.path;if(Y)I+=`?${Y}`;if(w.fragment)I+=`#${w.fragment}`;const R={headers:w.headers,host:w.hostname,method:w.method,path:I,port:w.port,agent:F,auth:z},O=(E?y$.request:v$.request)(R,(A)=>{const B=new cG.HttpResponse({statusCode:A.statusCode||-1,reason:A.statusMessage,headers:yG(A.headers),body:A});X({response:B})});if(O.on("error",(A)=>{if(KF.includes(A.code))Z(Object.assign(A,{name:"TimeoutError"}));else Z(A)}),AF(O,Z,this.config.connectionTimeout),BF(O,Z,this.config.requestTimeout),f){const A=q(()=>{O.destroy();const B=new Error("Request aborted");B.name="AbortError",Z(B)},"onAbort");if(typeof f.addEventListener==="function"){const B=f;B.addEventListener("abort",A,{once:!0}),O.once("close",()=>B.removeEventListener("abort",A))}else f.onabort=A}const K=R.agent;if(typeof K==="object"&&"keepAlive"in K)OF(O,{keepAlive:K.keepAlive,keepAliveMsecs:K.keepAliveMsecs});L=x$(O,w,this.config.requestTimeout).catch((A)=>{return clearTimeout(G),W(A)})})}updateHttpClientConfig(w,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return{...G,[w]:f}})}httpHandlerConfigs(){return this.config??{}}};q(_G,"NodeHttpHandler");var VF=_G,hG=import.meta.require("http2"),HF=MF(import.meta.require("http2")),dG=class ${constructor(w){this.sessions=[],this.sessions=w??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(w){this.sessions.push(w)}contains(w){return this.sessions.includes(w)}remove(w){this.sessions=this.sessions.filter((f)=>f!==w)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(w){for(let f of this.sessions)if(f===w){if(!f.destroyed)f.destroy()}}};q(dG,"NodeHttp2ConnectionPool");var CF=dG,pG=class ${constructor(w){if(this.sessionCache=new Map,this.config=w,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(w,f){const G=this.getUrlString(w),U=this.sessionCache.get(G);if(U){const Z=U.poll();if(Z&&!this.config.disableConcurrency)return Z}const W=HF.default.connect(G);if(this.config.maxConcurrency)W.settings({maxConcurrentStreams:this.config.maxConcurrency},(Z)=>{if(Z)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+w.destination.toString())});W.unref();const L=q(()=>{W.destroy(),this.deleteSession(G,W)},"destroySessionCb");if(W.on("goaway",L),W.on("error",L),W.on("frameError",L),W.on("close",()=>this.deleteSession(G,W)),f.requestTimeout)W.setTimeout(f.requestTimeout,L);const X=this.sessionCache.get(G)||new CF;return X.offerLast(W),this.sessionCache.set(G,X),W}deleteSession(w,f){const G=this.sessionCache.get(w);if(!G)return;if(!G.contains(f))return;G.remove(f),this.sessionCache.set(w,G)}release(w,f){var G;const U=this.getUrlString(w);(G=this.sessionCache.get(U))==null||G.offerLast(f)}destroy(){for(let[w,f]of this.sessionCache){for(let G of f){if(!G.destroyed)G.destroy();f.remove(G)}this.sessionCache.delete(w)}}setMaxConcurrentStreams(w){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=w}setDisableConcurrentStreams(w){this.config.disableConcurrency=w}getUrlString(w){return w.destination.toString()}};q(pG,"NodeHttp2ConnectionManager");var NF=pG,gG=class ${constructor(w){this.metadata={handlerProtocol:"h2"},this.connectionManager=new NF({}),this.configProvider=new Promise((f,G)=>{if(typeof w==="function")w().then((U)=>{f(U||{})}).catch(G);else f(w||{})})}static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}destroy(){this.connectionManager.destroy()}async handle(w,{abortSignal:f}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}const{requestTimeout:G,disableConcurrentStreams:U}=this.config;return new Promise((W,L)=>{var X;let Z=!1,E=void 0;const F=q(async(N)=>{await E,W(N)},"resolve"),Y=q(async(N)=>{await E,L(N)},"reject");if(f==null?void 0:f.aborted){Z=!0;const N=new Error("Request aborted");N.name="AbortError",Y(N);return}const{hostname:z,method:I,port:R,protocol:J,query:O}=w;let K="";if(w.username!=null||w.password!=null){const N=w.username??"",d=w.password??"";K=`${N}:${d}@`}const A=`${J}//${K}${z}${R?`:${R}`:""}`,B={destination:new URL(A)},V=this.connectionManager.lease(B,{requestTimeout:(X=this.config)==null?void 0:X.sessionTimeout,disableConcurrentStreams:U||!1}),S=q((N)=>{if(U)this.destroySession(V);Z=!0,Y(N)},"rejectWithDestroy"),sw=vG.buildQueryString(O||{});let G$=w.path;if(sw)G$+=`?${sw}`;if(w.fragment)G$+=`#${w.fragment}`;const y=V.request({...w.headers,[hG.constants.HTTP2_HEADER_PATH]:G$,[hG.constants.HTTP2_HEADER_METHOD]:I});if(V.ref(),y.on("response",(N)=>{const d=new cG.HttpResponse({statusCode:N[":status"]||-1,headers:yG(N),body:y});if(Z=!0,F({response:d}),U)V.close(),this.connectionManager.deleteSession(A,V)}),G)y.setTimeout(G,()=>{y.close();const N=new Error(`Stream timed out because of no activity for ${G} ms`);N.name="TimeoutError",S(N)});if(f){const N=q(()=>{y.close();const d=new Error("Request aborted");d.name="AbortError",S(d)},"onAbort");if(typeof f.addEventListener==="function"){const d=f;d.addEventListener("abort",N,{once:!0}),y.once("close",()=>d.removeEventListener("abort",N))}else f.onabort=N}y.on("frameError",(N,d,x6)=>{S(new Error(`Frame type id ${N} in stream id ${x6} has failed with code ${d}.`))}),y.on("error",S),y.on("aborted",()=>{S(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${y.rstCode}.`))}),y.on("close",()=>{if(V.unref(),U)V.destroy();if(!Z)S(new Error("Unexpected error: http2 request did not get a response"))}),E=x$(y,w,G)})}updateHttpClientConfig(w,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return{...G,[w]:f}})}httpHandlerConfigs(){return this.config??{}}destroySession(w){if(!w.destroyed)w.destroy()}};q(gG,"NodeHttp2Handler");var qF=gG,sG=class $ extends xG.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(w,f,G){this.bufferedBytes.push(w),G()}};q(sG,"Collector");var PF=sG,jF=q(($)=>{if(SF($))return nG($);return new Promise((w,f)=>{const G=new PF;$.pipe(G),$.on("error",(U)=>{G.end(),f(U)}),G.on("error",f),G.on("finish",function(){const U=new Uint8Array(Buffer.concat(this.bufferedBytes));w(U)})})},"streamCollector"),SF=q(($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream,"isReadableStreamInstance");q(nG,"collectReadableStream")});var fW=M((o9,wW)=>{var oG=function($=0){return new Promise((w,f)=>{if($)setTimeout(()=>{const G=new Error(`Request did not complete within ${$} ms`);G.name="TimeoutError",f(G)},$)})};async function aG($){const w=await $W($),f=uF.fromBase64(w);return new Uint8Array(f)}async function eG($){const w=[],f=$.getReader();let G=!1,U=0;while(!G){const{done:X,value:Z}=await f.read();if(Z)w.push(Z),U+=Z.length;G=X}const W=new Uint8Array(U);let L=0;for(let X of w)W.set(X,L),L+=X.length;return W}var $W=function($){return new Promise((w,f)=>{const G=new FileReader;G.onloadend=()=>{if(G.readyState!==2)return f(new Error("Reader aborted too early"));const U=G.result??"",W=U.indexOf(","),L=W>-1?W+1:U.length;w(U.substring(L))},G.onabort=()=>f(new Error("Read aborted")),G.onerror=()=>f(G.error),G.readAsDataURL($)})},O1=Object.defineProperty,bF=Object.getOwnPropertyDescriptor,hF=Object.getOwnPropertyNames,kF=Object.prototype.hasOwnProperty,t=($,w)=>O1($,"name",{value:w,configurable:!0}),DF=($,w)=>{for(var f in w)O1($,f,{get:w[f],enumerable:!0})},cF=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of hF(w))if(!kF.call($,U)&&U!==f)O1($,U,{get:()=>w[U],enumerable:!(G=bF(w,U))||G.enumerable})}return $},vF=($)=>cF(O1({},"__esModule",{value:!0}),$),rG={};DF(rG,{FetchHttpHandler:()=>xF,keepAliveSupport:()=>A1,streamCollector:()=>_F});wW.exports=vF(rG);var iG=r(),yF=c$();t(oG,"requestTimeout");var A1={supported:void 0},tG=class ${static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}constructor(w){if(typeof w==="function")this.configProvider=w().then((f)=>f||{});else this.config=w??{},this.configProvider=Promise.resolve(this.config);if(A1.supported===void 0)A1.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(w,{abortSignal:f}={}){if(!this.config)this.config=await this.configProvider;const G=this.config.requestTimeout,U=this.config.keepAlive===!0,W=this.config.credentials;if(f==null?void 0:f.aborted){const K=new Error("Request aborted");return K.name="AbortError",Promise.reject(K)}let L=w.path;const X=yF.buildQueryString(w.query||{});if(X)L+=`?${X}`;if(w.fragment)L+=`#${w.fragment}`;let Z="";if(w.username!=null||w.password!=null){const K=w.username??"",A=w.password??"";Z=`${K}:${A}@`}const{port:E,method:F}=w,Y=`${w.protocol}//${Z}${w.hostname}${E?`:${E}`:""}${L}`,z=F==="GET"||F==="HEAD"?void 0:w.body,I={body:z,headers:new Headers(w.headers),method:F,credentials:W};if(z)I.duplex="half";if(typeof AbortController!=="undefined")I.signal=f;if(A1.supported)I.keepalive=U;let R=t(()=>{},"removeSignalEventListener");const J=new Request(Y,I),O=[fetch(J).then((K)=>{const A=K.headers,B={};for(let S of A.entries())B[S[0]]=S[1];if(K.body==null)return K.blob().then((S)=>({response:new iG.HttpResponse({headers:B,reason:K.statusText,statusCode:K.status,body:S})}));return{response:new iG.HttpResponse({headers:B,reason:K.statusText,statusCode:K.status,body:K.body})}}),oG(G)];if(f)O.push(new Promise((K,A)=>{const B=t(()=>{const V=new Error("Request aborted");V.name="AbortError",A(V)},"onAbort");if(typeof f.addEventListener==="function"){const V=f;V.addEventListener("abort",B,{once:!0}),R=t(()=>V.removeEventListener("abort",B),"removeSignalEventListener")}else f.onabort=B}));return Promise.race(O).finally(R)}updateHttpClientConfig(w,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return G[w]=f,G})}httpHandlerConfigs(){return this.config??{}}};t(tG,"FetchHttpHandler");var xF=tG,uF=J1(),_F=t(($)=>{if(typeof Blob==="function"&&$ instanceof Blob)return aG($);return eG($)},"streamCollector");t(aG,"collectBlob");t(eG,"collectStream");t($W,"readToBase64")});var x0=M((UW)=>{Object.defineProperty(UW,"__esModule",{value:!0});UW.isReadableStream=void 0;var dF=($)=>{var w;return typeof ReadableStream==="function"&&(((w=$===null||$===void 0?void 0:$.constructor)===null||w===void 0?void 0:w.name)===ReadableStream.name||$ instanceof ReadableStream)};UW.isReadableStream=dF});var YW=M((EW)=>{Object.defineProperty(EW,"__esModule",{value:!0});EW.sdkStreamMixin=void 0;var pF=fW(),gF=J1(),sF=ZW(),nF=$0(),WW=x0(),LW="The stream has already been transformed.",lF=($)=>{var w,f;if(!XW($)&&!WW.isReadableStream($)){const L=((f=(w=$===null||$===void 0?void 0:$.__proto__)===null||w===void 0?void 0:w.constructor)===null||f===void 0?void 0:f.name)||$;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${L}`)}let G=!1;const U=async()=>{if(G)throw new Error(LW);return G=!0,await pF.streamCollector($)},W=(L)=>{if(typeof L.stream!=="function")throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return L.stream()};return Object.assign($,{transformToByteArray:U,transformToString:async(L)=>{const X=await U();if(L==="base64")return gF.toBase64(X);else if(L==="hex")return sF.toHex(X);else if(L===void 0||L==="utf8"||L==="utf-8")return nF.toUtf8(X);else if(typeof TextDecoder==="function")return new TextDecoder(L).decode(X);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(G)throw new Error(LW);if(G=!0,XW($))return W($);else if(WW.isReadableStream($))return $;else throw new Error(`Cannot transform payload to web stream, got ${$}`)}})};EW.sdkStreamMixin=lF;var XW=($)=>typeof Blob==="function"&&$ instanceof Blob});var QW=M((zW)=>{Object.defineProperty(zW,"__esModule",{value:!0});zW.sdkStreamMixin=void 0;var mF=mG(),iF=v0(),u$=import.meta.require("stream"),rF=import.meta.require("util"),oF=YW(),IW="The stream has already been transformed.",tF=($)=>{var w,f;if(!($ instanceof u$.Readable))try{return oF.sdkStreamMixin($)}catch(W){const L=((f=(w=$===null||$===void 0?void 0:$.__proto__)===null||w===void 0?void 0:w.constructor)===null||f===void 0?void 0:f.name)||$;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${L}`)}let G=!1;const U=async()=>{if(G)throw new Error(IW);return G=!0,await mF.streamCollector($)};return Object.assign($,{transformToByteArray:U,transformToString:async(W)=>{const L=await U();if(W===void 0||Buffer.isEncoding(W))return iF.fromArrayBuffer(L.buffer,L.byteOffset,L.byteLength).toString(W);else return new rF.TextDecoder(W).decode(L)},transformToWebStream:()=>{if(G)throw new Error(IW);if($.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof u$.Readable.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return G=!0,u$.Readable.toWeb($)}})};zW.sdkStreamMixin=tF});var KW=M((MW)=>{async function aF($){if(typeof $.stream==="function")$=$.stream();return $.tee()}Object.defineProperty(MW,"__esModule",{value:!0});MW.splitStream=void 0;MW.splitStream=aF});var TW=M((OW)=>{async function wY($){if($Y.isReadableStream($))return eF.splitStream($);const w=new AW.PassThrough,f=new AW.PassThrough;return $.pipe(w),$.pipe(f),[w,f]}Object.defineProperty(OW,"__esModule",{value:!0});OW.splitStream=void 0;var AW=import.meta.require("stream"),eF=KW(),$Y=x0();OW.splitStream=wY});var CW=M((VW)=>{async function fY($,w){var f;let G=0;const U=[],W=$.getReader();let L=!1;while(!L){const{done:E,value:F}=await W.read();if(F)U.push(F),G+=(f=F===null||F===void 0?void 0:F.byteLength)!==null&&f!==void 0?f:0;if(G>=w)break;L=E}W.releaseLock();const X=new Uint8Array(Math.min(w,G));let Z=0;for(let E of U){if(E.byteLength>X.byteLength-Z){X.set(E.subarray(0,X.byteLength-Z),Z);break}else X.set(E,Z);Z+=E.length}return X}Object.defineProperty(VW,"__esModule",{value:!0});VW.headStream=void 0;VW.headStream=fY});var jW=M((qW)=>{Object.defineProperty(qW,"__esModule",{value:!0});qW.headStream=void 0;var UY=import.meta.require("stream"),GY=CW(),WY=x0(),LY=($,w)=>{if(WY.isReadableStream($))return GY.headStream($,w);return new Promise((f,G)=>{const U=new NW;U.limit=w,$.pipe(U),$.on("error",(W)=>{U.end(),G(W)}),U.on("error",G),U.on("finish",function(){const W=new Uint8Array(Buffer.concat(this.buffers));f(W)})})};qW.headStream=LY;class NW extends UY.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write($,w,f){var G;if(this.buffers.push($),this.bytesBuffered+=(G=$.byteLength)!==null&&G!==void 0?G:0,this.bytesBuffered>=this.limit){const U=this.bytesBuffered-this.limit,W=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=W.subarray(0,W.byteLength-U),this.emit("finish")}f()}}});var cW=M((G7,E0)=>{var hW=function($,w="utf-8"){if(w==="base64")return SW.toBase64($);return bW.toUtf8($)},kW=function($,w){if(w==="base64")return d$.mutate(SW.fromBase64($));return d$.mutate(bW.fromUtf8($))},B1=Object.defineProperty,XY=Object.getOwnPropertyDescriptor,ZY=Object.getOwnPropertyNames,EY=Object.prototype.hasOwnProperty,p$=($,w)=>B1($,"name",{value:w,configurable:!0}),FY=($,w)=>{for(var f in w)B1($,f,{get:w[f],enumerable:!0})},_$=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of ZY(w))if(!EY.call($,U)&&U!==f)B1($,U,{get:()=>w[U],enumerable:!(G=XY(w,U))||G.enumerable})}return $},u0=($,w,f)=>(_$($,w,"default"),f&&_$(f,w,"default")),YY=($)=>_$(B1({},"__esModule",{value:!0}),$),Z0={};FY(Z0,{Uint8ArrayBlobAdapter:()=>d$});E0.exports=YY(Z0);var SW=J1(),bW=$0();p$(hW,"transformToString");p$(kW,"transformFromString");var DW=class $ extends Uint8Array{static fromString(w,f="utf-8"){switch(typeof w){case"string":return kW(w,f);default:throw new Error(`Unsupported conversion from ${typeof w} to Uint8ArrayBlobAdapter.`)}}static mutate(w){return Object.setPrototypeOf(w,$.prototype),w}transformToString(w="utf-8"){return hW(this,w)}};p$(DW,"Uint8ArrayBlobAdapter");var d$=DW;u0(Z0,NG(),E0.exports);u0(Z0,QW(),E0.exports);u0(Z0,TW(),E0.exports);u0(Z0,jW(),E0.exports);u0(Z0,x0(),E0.exports)});var T0=M((W7,GL)=>{var rW=function($){const w=$.getUTCFullYear(),f=$.getUTCMonth(),G=$.getUTCDay(),U=$.getUTCDate(),W=$.getUTCHours(),L=$.getUTCMinutes(),X=$.getUTCSeconds(),Z=U<10?`0${U}`:`${U}`,E=W<10?`0${W}`:`${W}`,F=L<10?`0${L}`:`${L}`,Y=X<10?`0${X}`:`${X}`;return`${_Y[G]}, ${Z} ${e$[f]} ${w} ${E}:${F}:${Y} GMT`},H1=function($){return encodeURIComponent($).replace(/[!'()*]/g,function(w){return"%"+w.charCodeAt(0).toString(16).toUpperCase()})},$w=function($,w,f){let G,U,W;if(typeof w==="undefined"&&typeof f==="undefined")G={},W=$;else if(G=$,typeof w==="function")return U=w,W=f,AI(G,U,W);else W=w;for(let L of Object.keys(W)){if(!Array.isArray(W[L])){G[L]=W[L];continue}fL(G,null,W,L)}return G},UL=function($,w,f){if(f<=0||!Number.isInteger(f))throw new Error("Invalid number of delimiters ("+f+") for splitEvery.");const G=$.split(w);if(f===1)return G;const U=[];let W="";for(let L=0;L<G.length;L++){if(W==="")W=G[L];else W+=w+G[L];if((L+1)%f===0)U.push(W),W=""}if(W!=="")U.push(W);return U},C1=Object.defineProperty,zY=Object.getOwnPropertyDescriptor,RY=Object.getOwnPropertyNames,QY=Object.prototype.hasOwnProperty,Q=($,w)=>C1($,"name",{value:w,configurable:!0}),MY=($,w)=>{for(var f in w)C1($,f,{get:w[f],enumerable:!0})},JY=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of RY(w))if(!QY.call($,U)&&U!==f)C1($,U,{get:()=>w[U],enumerable:!(G=zY(w,U))||G.enumerable})}return $},KY=($)=>JY(C1({},"__esModule",{value:!0}),$),yW={};MY(yW,{Client:()=>OY,Command:()=>pW,LazyJsonString:()=>MI,NoOpLogger:()=>AY,SENSITIVE_STRING:()=>VY,ServiceException:()=>GI,StringWrapper:()=>s0,_json:()=>r$,collectBody:()=>BY,convertMap:()=>JI,createAggregatedClient:()=>HY,dateToUtcString:()=>rW,decorateServiceException:()=>tW,emitWarningIfUnsupportedVersion:()=>ZI,expectBoolean:()=>NY,expectByte:()=>i$,expectFloat32:()=>T1,expectInt:()=>PY,expectInt32:()=>l$,expectLong:()=>p0,expectNonNull:()=>SY,expectNumber:()=>d0,expectObject:()=>sW,expectShort:()=>m$,expectString:()=>bY,expectUnion:()=>hY,extendedEncodeURIComponent:()=>H1,getArrayIfSingleItem:()=>QI,getDefaultClientConfiguration:()=>zI,getDefaultExtensionConfiguration:()=>eW,getValueFromTextNode:()=>$L,handleFloat:()=>cY,limitedParseDouble:()=>a$,limitedParseFloat:()=>vY,limitedParseFloat32:()=>yY,loadConfigsForDefaultMode:()=>XI,logger:()=>g0,map:()=>$w,parseBoolean:()=>CY,parseEpochTimestamp:()=>rY,parseRfc3339DateTime:()=>pY,parseRfc3339DateTimeWithOffset:()=>sY,parseRfc7231DateTime:()=>iY,resolveDefaultRuntimeConfig:()=>RI,resolvedPath:()=>TI,serializeDateTime:()=>HI,serializeFloat:()=>VI,splitEvery:()=>UL,strictParseByte:()=>iW,strictParseDouble:()=>t$,strictParseFloat:()=>kY,strictParseFloat32:()=>nW,strictParseInt:()=>xY,strictParseInt32:()=>uY,strictParseLong:()=>mW,strictParseShort:()=>A0,take:()=>KI,throwDefaultError:()=>aW,withBaseException:()=>WI});GL.exports=KY(yW);var xW=class ${trace(){}debug(){}info(){}warn(){}error(){}};Q(xW,"NoOpLogger");var AY=xW,uW=IY(),_W=class ${constructor(w){this.middlewareStack=uW.constructStack(),this.config=w}send(w,f,G){const U=typeof f!=="function"?f:void 0,W=typeof f==="function"?f:G,L=w.resolveMiddleware(this.middlewareStack,this.config,U);if(W)L(w).then((X)=>W(null,X.output),(X)=>W(X)).catch(()=>{});else return L(w).then((X)=>X.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};Q(_W,"Client");var OY=_W,g$=cW(),BY=Q(async($=new Uint8Array,w)=>{if($ instanceof Uint8Array)return g$.Uint8ArrayBlobAdapter.mutate($);if(!$)return g$.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const f=w.streamCollector($);return g$.Uint8ArrayBlobAdapter.mutate(await f)},"collectBody"),n$=Q0(),dW=class ${constructor(){this.middlewareStack=uW.constructStack()}static classBuilder(){return new TY}resolveMiddlewareWithContext(w,f,G,{middlewareFn:U,clientName:W,commandName:L,inputFilterSensitiveLog:X,outputFilterSensitiveLog:Z,smithyContext:E,additionalContext:F,CommandCtor:Y}){for(let O of U.bind(this)(Y,w,f,G))this.middlewareStack.use(O);const z=w.concat(this.middlewareStack),{logger:I}=f,R={logger:I,clientName:W,commandName:L,inputFilterSensitiveLog:X,outputFilterSensitiveLog:Z,[n$.SMITHY_CONTEXT_KEY]:{commandInstance:this,...E},...F},{requestHandler:J}=f;return z.resolve((O)=>J.handle(O.request,G||{}),R)}};Q(dW,"Command");var pW=dW,gW=class ${constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(w)=>w,this._outputFilterSensitiveLog=(w)=>w,this._serializer=null,this._deserializer=null}init(w){this._init=w}ep(w){return this._ep=w,this}m(w){return this._middlewareFn=w,this}s(w,f,G={}){return this._smithyContext={service:w,operation:f,...G},this}c(w={}){return this._additionalContext=w,this}n(w,f){return this._clientName=w,this._commandName=f,this}f(w=(G)=>G,f=(G)=>G){return this._inputFilterSensitiveLog=w,this._outputFilterSensitiveLog=f,this}ser(w){return this._serializer=w,this}de(w){return this._deserializer=w,this}build(){var w;const f=this;let G;return G=(w=class extends pW{constructor(...[U]){super();this.serialize=f._serializer,this.deserialize=f._deserializer,this.input=U??{},f._init(this)}static getEndpointParameterInstructions(){return f._ep}resolveMiddleware(U,W,L){return this.resolveMiddlewareWithContext(U,W,L,{CommandCtor:G,middlewareFn:f._middlewareFn,clientName:f._clientName,commandName:f._commandName,inputFilterSensitiveLog:f._inputFilterSensitiveLog,outputFilterSensitiveLog:f._outputFilterSensitiveLog,smithyContext:f._smithyContext,additionalContext:f._additionalContext})}},Q(w,"CommandRef"),w)}};Q(gW,"ClassBuilder");var TY=gW,VY="***SensitiveInformation***",HY=Q(($,w)=>{for(let f of Object.keys($)){const G=$[f],U=Q(async function(L,X,Z){const E=new G(L);if(typeof X==="function")this.send(E,X);else if(typeof Z==="function"){if(typeof X!=="object")throw new Error(`Expected http options but got ${typeof X}`);this.send(E,X||{},Z)}else return this.send(E,X)},"methodImpl"),W=(f[0].toLowerCase()+f.slice(1)).replace(/Command$/,"");w.prototype[W]=U}},"createAggregatedClient"),CY=Q(($)=>{switch($){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${$}"`)}},"parseBoolean"),NY=Q(($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)g0.warn(V1(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){const w=$.toLowerCase();if(w==="false"||w==="true")g0.warn(V1(`Expected boolean, got ${typeof $}: ${$}`));if(w==="false")return!1;if(w==="true")return!0}if(typeof $==="boolean")return $;throw new TypeError(`Expected boolean, got ${typeof $}: ${$}`)},"expectBoolean"),d0=Q(($)=>{if($===null||$===void 0)return;if(typeof $==="string"){const w=parseFloat($);if(!Number.isNaN(w)){if(String(w)!==String($))g0.warn(V1(`Expected number but observed string: ${$}`));return w}}if(typeof $==="number")return $;throw new TypeError(`Expected number, got ${typeof $}: ${$}`)},"expectNumber"),qY=Math.ceil(340282346638528860000000000000000000000),T1=Q(($)=>{const w=d0($);if(w!==void 0&&!Number.isNaN(w)&&w!==Infinity&&w!==(-Infinity)){if(Math.abs(w)>qY)throw new TypeError(`Expected 32-bit float, got ${$}`)}return w},"expectFloat32"),p0=Q(($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw new TypeError(`Expected integer, got ${typeof $}: ${$}`)},"expectLong"),PY=p0,l$=Q(($)=>o$($,32),"expectInt32"),m$=Q(($)=>o$($,16),"expectShort"),i$=Q(($)=>o$($,8),"expectByte"),o$=Q(($,w)=>{const f=p0($);if(f!==void 0&&jY(f,w)!==f)throw new TypeError(`Expected ${w}-bit integer, got ${$}`);return f},"expectSizedInt"),jY=Q(($,w)=>{switch(w){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},"castInt"),SY=Q(($,w)=>{if($===null||$===void 0){if(w)throw new TypeError(`Expected a non-null value for ${w}`);throw new TypeError("Expected a non-null value")}return $},"expectNonNull"),sW=Q(($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;const w=Array.isArray($)?"array":typeof $;throw new TypeError(`Expected object, got ${w}: ${$}`)},"expectObject"),bY=Q(($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return g0.warn(V1(`Expected string, got ${typeof $}: ${$}`)),String($);throw new TypeError(`Expected string, got ${typeof $}: ${$}`)},"expectString"),hY=Q(($)=>{if($===null||$===void 0)return;const w=sW($),f=Object.entries(w).filter(([,G])=>G!=null).map(([G])=>G);if(f.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(f.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${f} were not null.`);return w},"expectUnion"),t$=Q(($)=>{if(typeof $=="string")return d0(B0($));return d0($)},"strictParseDouble"),kY=t$,nW=Q(($)=>{if(typeof $=="string")return T1(B0($));return T1($)},"strictParseFloat32"),DY=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,B0=Q(($)=>{const w=$.match(DY);if(w===null||w[0].length!==$.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat($)},"parseNumber"),a$=Q(($)=>{if(typeof $=="string")return lW($);return d0($)},"limitedParseDouble"),cY=a$,vY=a$,yY=Q(($)=>{if(typeof $=="string")return lW($);return T1($)},"limitedParseFloat32"),lW=Q(($)=>{switch($){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${$}`)}},"parseFloatString"),mW=Q(($)=>{if(typeof $==="string")return p0(B0($));return p0($)},"strictParseLong"),xY=mW,uY=Q(($)=>{if(typeof $==="string")return l$(B0($));return l$($)},"strictParseInt32"),A0=Q(($)=>{if(typeof $==="string")return m$(B0($));return m$($)},"strictParseShort"),iW=Q(($)=>{if(typeof $==="string")return i$(B0($));return i$($)},"strictParseByte"),V1=Q(($)=>{return String(new TypeError($).stack||$).split("\n").slice(0,5).filter((w)=>!w.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),g0={warn:console.warn},_Y=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e$=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Q(rW,"dateToUtcString");var dY=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),pY=Q(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=dY.exec($);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[f,G,U,W,L,X,Z,E]=w,F=A0(O0(G)),Y=m(U,"month",1,12),z=m(W,"day",1,31);return _0(F,Y,z,{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:E})},"parseRfc3339DateTime"),gY=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),sY=Q(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=gY.exec($);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[f,G,U,W,L,X,Z,E,F]=w,Y=A0(O0(G)),z=m(U,"month",1,12),I=m(W,"day",1,31),R=_0(Y,z,I,{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:E});if(F.toUpperCase()!="Z")R.setTime(R.getTime()-UI(F));return R},"parseRfc3339DateTimeWithOffset"),nY=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),lY=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),mY=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),iY=Q(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let w=nY.exec($);if(w){const[f,G,U,W,L,X,Z,E]=w;return _0(A0(O0(W)),s$(U),m(G,"day",1,31),{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:E})}if(w=lY.exec($),w){const[f,G,U,W,L,X,Z,E]=w;return aY(_0(oY(W),s$(U),m(G,"day",1,31),{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:E}))}if(w=mY.exec($),w){const[f,G,U,W,L,X,Z,E]=w;return _0(A0(O0(E)),s$(G),m(U.trimLeft(),"day",1,31),{hours:W,minutes:L,seconds:X,fractionalMilliseconds:Z})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),rY=Q(($)=>{if($===null||$===void 0)return;let w;if(typeof $==="number")w=$;else if(typeof $==="string")w=t$($);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(w)||w===Infinity||w===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(w*1000))},"parseEpochTimestamp"),_0=Q(($,w,f,G)=>{const U=w-1;return $I($,U,f),new Date(Date.UTC($,U,f,m(G.hours,"hour",0,23),m(G.minutes,"minute",0,59),m(G.seconds,"seconds",0,60),fI(G.fractionalMilliseconds)))},"buildDate"),oY=Q(($)=>{const w=(new Date()).getUTCFullYear(),f=Math.floor(w/100)*100+A0(O0($));if(f<w)return f+100;return f},"parseTwoDigitYear"),tY=1576800000000,aY=Q(($)=>{if($.getTime()-(new Date()).getTime()>tY)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},"adjustRfc850Year"),s$=Q(($)=>{const w=e$.indexOf($);if(w<0)throw new TypeError(`Invalid month: ${$}`);return w+1},"parseMonthByShortName"),eY=[31,28,31,30,31,30,31,31,30,31,30,31],$I=Q(($,w,f)=>{let G=eY[w];if(w===1&&wI($))G=29;if(f>G)throw new TypeError(`Invalid day for ${e$[w]} in ${$}: ${f}`)},"validateDayOfMonth"),wI=Q(($)=>{return $%4===0&&($%100!==0||$%400===0)},"isLeapYear"),m=Q(($,w,f,G)=>{const U=iW(O0($));if(U<f||U>G)throw new TypeError(`${w} must be between ${f} and ${G}, inclusive`);return U},"parseDateValue"),fI=Q(($)=>{if($===null||$===void 0)return 0;return nW("0."+$)*1000},"parseMilliseconds"),UI=Q(($)=>{const w=$[0];let f=1;if(w=="+")f=1;else if(w=="-")f=-1;else throw new TypeError(`Offset direction, ${w}, must be "+" or "-"`);const G=Number($.substring(1,3)),U=Number($.substring(4,6));return f*(G*60+U)*60*1000},"parseOffsetToMilliseconds"),O0=Q(($)=>{let w=0;while(w<$.length-1&&$.charAt(w)==="0")w++;if(w===0)return $;return $.slice(w)},"stripLeadingZeroes"),oW=class $ extends Error{constructor(w){super(w.message);Object.setPrototypeOf(this,$.prototype),this.name=w.name,this.$fault=w.$fault,this.$metadata=w.$metadata}};Q(oW,"ServiceException");var GI=oW,tW=Q(($,w={})=>{Object.entries(w).filter(([,G])=>G!==void 0).forEach(([G,U])=>{if($[G]==null||$[G]==="")$[G]=U});const f=$.message||$.Message||"UnknownError";return $.message=f,delete $.Message,$},"decorateServiceException"),aW=Q(({output:$,parsedBody:w,exceptionCtor:f,errorCode:G})=>{const U=LI($),W=U.httpStatusCode?U.httpStatusCode+"":void 0,L=new f({name:(w==null?void 0:w.code)||(w==null?void 0:w.Code)||G||W||"UnknownError",$fault:"client",$metadata:U});throw tW(L,w)},"throwDefaultError"),WI=Q(($)=>{return({output:w,parsedBody:f,errorCode:G})=>{aW({output:w,parsedBody:f,exceptionCtor:$,errorCode:G})}},"withBaseException"),LI=Q(($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),"deserializeMetadata"),XI=Q(($)=>{switch($){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},"loadConfigsForDefaultMode"),vW=!1,ZI=Q(($)=>{if($&&!vW&&parseInt($.substring(1,$.indexOf(".")))<16)vW=!0},"emitWarningIfUnsupportedVersion"),EI=Q(($)=>{const w=[];for(let f in n$.AlgorithmId){const G=n$.AlgorithmId[f];if($[G]===void 0)continue;w.push({algorithmId:()=>G,checksumConstructor:()=>$[G]})}return{_checksumAlgorithms:w,addChecksumAlgorithm(f){this._checksumAlgorithms.push(f)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),FI=Q(($)=>{const w={};return $.checksumAlgorithms().forEach((f)=>{w[f.algorithmId()]=f.checksumConstructor()}),w},"resolveChecksumRuntimeConfig"),YI=Q(($)=>{let w=$.retryStrategy;return{setRetryStrategy(f){w=f},retryStrategy(){return w}}},"getRetryConfiguration"),II=Q(($)=>{const w={};return w.retryStrategy=$.retryStrategy(),w},"resolveRetryRuntimeConfig"),eW=Q(($)=>{return{...EI($),...YI($)}},"getDefaultExtensionConfiguration"),zI=eW,RI=Q(($)=>{return{...FI($),...II($)}},"resolveDefaultRuntimeConfig");Q(H1,"extendedEncodeURIComponent");var QI=Q(($)=>Array.isArray($)?$:[$],"getArrayIfSingleItem"),$L=Q(($)=>{for(let f in $)if($.hasOwnProperty(f)&&$[f]["#text"]!==void 0)$[f]=$[f]["#text"];else if(typeof $[f]==="object"&&$[f]!==null)$[f]=$L($[f]);return $},"getValueFromTextNode"),s0=Q(function(){const $=Object.getPrototypeOf(this).constructor,f=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(f,$.prototype),f},"StringWrapper");s0.prototype=Object.create(String.prototype,{constructor:{value:s0,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(s0,String);var wL=class $ extends s0{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(w){if(w instanceof $)return w;else if(w instanceof String||typeof w==="string")return new $(w);return new $(JSON.stringify(w))}};Q(wL,"LazyJsonString");var MI=wL;Q($w,"map");var JI=Q(($)=>{const w={};for(let[f,G]of Object.entries($||{}))w[f]=[,G];return w},"convertMap"),KI=Q(($,w)=>{const f={};for(let G in w)fL(f,$,w,G);return f},"take"),AI=Q(($,w,f)=>{return $w($,Object.entries(f).reduce((G,[U,W])=>{if(Array.isArray(W))G[U]=W;else if(typeof W==="function")G[U]=[w,W()];else G[U]=[w,W];return G},{}))},"mapWithFilter"),fL=Q(($,w,f,G)=>{if(w!==null){let L=f[G];if(typeof L==="function")L=[,L];const[X=OI,Z=BI,E=G]=L;if(typeof X==="function"&&X(w[E])||typeof X!=="function"&&!!X)$[G]=Z(w[E]);return}let[U,W]=f[G];if(typeof W==="function"){let L;const X=U===void 0&&(L=W())!=null,Z=typeof U==="function"&&!!U(void 0)||typeof U!=="function"&&!!U;if(X)$[G]=L;else if(Z)$[G]=W()}else{const L=U===void 0&&W!=null,X=typeof U==="function"&&!!U(W)||typeof U!=="function"&&!!U;if(L||X)$[G]=W}},"applyInstruction"),OI=Q(($)=>$!=null,"nonNullish"),BI=Q(($)=>$,"pass"),TI=Q(($,w,f,G,U,W)=>{if(w!=null&&w[f]!==void 0){const L=G();if(L.length<=0)throw new Error("Empty value provided for input HTTP label: "+f+".");$=$.replace(U,W?L.split("/").map((X)=>H1(X)).join("/"):H1(L))}else throw new Error("No value provided for input HTTP label: "+f+".");return $},"resolvedPath"),VI=Q(($)=>{if($!==$)return"NaN";switch($){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return $}},"serializeFloat"),HI=Q(($)=>$.toISOString().replace(".000Z","Z"),"serializeDateTime"),r$=Q(($)=>{if($==null)return{};if(Array.isArray($))return $.filter((w)=>w!=null).map(r$);if(typeof $==="object"){const w={};for(let f of Object.keys($)){if($[f]==null)continue;w[f]=r$($[f])}return w}return $},"_json");Q(UL,"splitEvery")});var XL=M((WL)=>{Object.defineProperty(WL,"__esModule",{value:!0});WL.isStreamingPayload=void 0;var CI=import.meta.require("stream"),NI=($)=>($===null||$===void 0?void 0:$.body)instanceof CI.Readable||typeof ReadableStream!=="undefined"&&($===null||$===void 0?void 0:$.body)instanceof ReadableStream;WL.isStreamingPayload=NI});var CL=M((Z7,HL)=>{var{defineProperty:N1,getOwnPropertyDescriptor:qI,getOwnPropertyNames:PI}=Object,jI=Object.prototype.hasOwnProperty,j=($,w)=>N1($,"name",{value:w,configurable:!0}),SI=($,w)=>{for(var f in w)N1($,f,{get:w[f],enumerable:!0})},bI=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of PI(w))if(!jI.call($,U)&&U!==f)N1($,U,{get:()=>w[U],enumerable:!(G=qI(w,U))||G.enumerable})}return $},hI=($)=>bI(N1({},"__esModule",{value:!0}),$),EL={};SI(EL,{AdaptiveRetryStrategy:()=>cI,CONFIG_MAX_ATTEMPTS:()=>fw,CONFIG_RETRY_MODE:()=>KL,ENV_MAX_ATTEMPTS:()=>ww,ENV_RETRY_MODE:()=>JL,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>vI,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>xI,StandardRetryStrategy:()=>QL,defaultDelayDecider:()=>YL,defaultRetryDecider:()=>IL,getOmitRetryHeadersPlugin:()=>uI,getRetryAfterHint:()=>VL,getRetryPlugin:()=>nI,omitRetryHeadersMiddleware:()=>AL,omitRetryHeadersMiddlewareOptions:()=>OL,resolveRetryConfig:()=>yI,retryMiddleware:()=>BL,retryMiddlewareOptions:()=>TL});HL.exports=hI(EL);var V0=r(),FL=H$(),C=LG(),kI=j(($,w)=>{const f=$,G=(w==null?void 0:w.noRetryIncrement)??C.NO_RETRY_INCREMENT,U=(w==null?void 0:w.retryCost)??C.RETRY_COST,W=(w==null?void 0:w.timeoutRetryCost)??C.TIMEOUT_RETRY_COST;let L=$;const X=j((Y)=>Y.name==="TimeoutError"?W:U,"getCapacityAmount"),Z=j((Y)=>X(Y)<=L,"hasRetryTokens");return Object.freeze({hasRetryTokens:Z,retrieveRetryTokens:j((Y)=>{if(!Z(Y))throw new Error("No retry token available");const z=X(Y);return L-=z,z},"retrieveRetryTokens"),releaseRetryTokens:j((Y)=>{L+=Y??G,L=Math.min(L,f)},"releaseRetryTokens")})},"getDefaultRetryQuota"),YL=j(($,w)=>Math.floor(Math.min(C.MAXIMUM_RETRY_DELAY,Math.random()*2**w*$)),"defaultDelayDecider"),w0=X0(),IL=j(($)=>{if(!$)return!1;return w0.isRetryableByTrait($)||w0.isClockSkewError($)||w0.isThrottlingError($)||w0.isTransientError($)},"defaultRetryDecider"),zL=j(($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)},"asSdkError"),RL=class ${constructor(w,f){this.maxAttemptsProvider=w,this.mode=C.RETRY_MODES.STANDARD,this.retryDecider=(f==null?void 0:f.retryDecider)??IL,this.delayDecider=(f==null?void 0:f.delayDecider)??YL,this.retryQuota=(f==null?void 0:f.retryQuota)??kI(C.INITIAL_RETRY_TOKENS)}shouldRetry(w,f,G){return f<G&&this.retryDecider(w)&&this.retryQuota.hasRetryTokens(w)}async getMaxAttempts(){let w;try{w=await this.maxAttemptsProvider()}catch(f){w=C.DEFAULT_MAX_ATTEMPTS}return w}async retry(w,f,G){let U,W=0,L=0;const X=await this.getMaxAttempts(),{request:Z}=f;if(V0.HttpRequest.isInstance(Z))Z.headers[C.INVOCATION_ID_HEADER]=FL.v4();while(!0)try{if(V0.HttpRequest.isInstance(Z))Z.headers[C.REQUEST_HEADER]=`attempt=${W+1}; max=${X}`;if(G==null?void 0:G.beforeRequest)await G.beforeRequest();const{response:E,output:F}=await w(f);if(G==null?void 0:G.afterRequest)G.afterRequest(E);return this.retryQuota.releaseRetryTokens(U),F.$metadata.attempts=W+1,F.$metadata.totalRetryDelay=L,{response:E,output:F}}catch(E){const F=zL(E);if(W++,this.shouldRetry(F,W,X)){U=this.retryQuota.retrieveRetryTokens(F);const Y=this.delayDecider(w0.isThrottlingError(F)?C.THROTTLING_RETRY_DELAY_BASE:C.DEFAULT_RETRY_DELAY_BASE,W),z=DI(F.$response),I=Math.max(z||0,Y);L+=I,await new Promise((R)=>setTimeout(R,I));continue}if(!F.$metadata)F.$metadata={};throw F.$metadata.attempts=W,F.$metadata.totalRetryDelay=L,F}}};j(RL,"StandardRetryStrategy");var QL=RL,DI=j(($)=>{if(!V0.HttpResponse.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const f=$.headers[w],G=Number(f);if(!Number.isNaN(G))return G*1000;return new Date(f).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),ML=class $ extends QL{constructor(w,f){const{rateLimiter:G,...U}=f??{};super(w,U);this.rateLimiter=G??new C.DefaultRateLimiter,this.mode=C.RETRY_MODES.ADAPTIVE}async retry(w,f){return super.retry(w,f,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(G)=>{this.rateLimiter.updateClientSendingRate(G)}})}};j(ML,"AdaptiveRetryStrategy");var cI=ML,ZL=l(),ww="AWS_MAX_ATTEMPTS",fw="max_attempts",vI={environmentVariableSelector:($)=>{const w=$[ww];if(!w)return;const f=parseInt(w);if(Number.isNaN(f))throw new Error(`Environment variable ${ww} mast be a number, got "${w}"`);return f},configFileSelector:($)=>{const w=$[fw];if(!w)return;const f=parseInt(w);if(Number.isNaN(f))throw new Error(`Shared config file entry ${fw} mast be a number, got "${w}"`);return f},default:C.DEFAULT_MAX_ATTEMPTS},yI=j(($)=>{const{retryStrategy:w}=$,f=ZL.normalizeProvider($.maxAttempts??C.DEFAULT_MAX_ATTEMPTS);return{...$,maxAttempts:f,retryStrategy:async()=>{if(w)return w;if(await ZL.normalizeProvider($.retryMode)()===C.RETRY_MODES.ADAPTIVE)return new C.AdaptiveRetryStrategy(f);return new C.StandardRetryStrategy(f)}}},"resolveRetryConfig"),JL="AWS_RETRY_MODE",KL="retry_mode",xI={environmentVariableSelector:($)=>$[JL],configFileSelector:($)=>$[KL],default:C.DEFAULT_RETRY_MODE},AL=j(()=>($)=>async(w)=>{const{request:f}=w;if(V0.HttpRequest.isInstance(f))delete f.headers[C.INVOCATION_ID_HEADER],delete f.headers[C.REQUEST_HEADER];return $(w)},"omitRetryHeadersMiddleware"),OL={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},uI=j(($)=>({applyToStack:(w)=>{w.addRelativeTo(AL(),OL)}}),"getOmitRetryHeadersPlugin"),_I=T0(),dI=XL(),BL=j(($)=>(w,f)=>async(G)=>{var U;let W=await $.retryStrategy();const L=await $.maxAttempts();if(pI(W)){W=W;let X=await W.acquireInitialRetryToken(f.partition_id),Z=new Error,E=0,F=0;const{request:Y}=G,z=V0.HttpRequest.isInstance(Y);if(z)Y.headers[C.INVOCATION_ID_HEADER]=FL.v4();while(!0)try{if(z)Y.headers[C.REQUEST_HEADER]=`attempt=${E+1}; max=${L}`;const{response:I,output:R}=await w(G);return W.recordSuccess(X),R.$metadata.attempts=E+1,R.$metadata.totalRetryDelay=F,{response:I,output:R}}catch(I){const R=gI(I);if(Z=zL(I),z&&dI.isStreamingPayload(Y))throw(U=f.logger instanceof _I.NoOpLogger?console:f.logger)==null||U.warn("An error was encountered in a non-retryable streaming request."),Z;try{X=await W.refreshRetryTokenForRetry(X,R)}catch(O){if(!Z.$metadata)Z.$metadata={};throw Z.$metadata.attempts=E+1,Z.$metadata.totalRetryDelay=F,Z}E=X.getRetryCount();const J=X.getRetryDelay();F+=J,await new Promise((O)=>setTimeout(O,J))}}else{if(W=W,W==null?void 0:W.mode)f.userAgent=[...f.userAgent||[],["cfg/retry-mode",W.mode]];return W.retry(w,G)}},"retryMiddleware"),pI=j(($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined","isRetryStrategyV2"),gI=j(($)=>{const w={error:$,errorType:sI($)},f=VL($.$response);if(f)w.retryAfterHint=f;return w},"getRetryErrorInfo"),sI=j(($)=>{if(w0.isThrottlingError($))return"THROTTLING";if(w0.isTransientError($))return"TRANSIENT";if(w0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),TL={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},nI=j(($)=>({applyToStack:(w)=>{w.add(BL($),TL)}}),"getRetryPlugin"),VL=j(($)=>{if(!V0.HttpResponse.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const f=$.headers[w],G=Number(f);if(!Number.isNaN(G))return new Date(G*1000);return new Date(f)},"getRetryAfterHint")});var Gw=M((E7,sL)=>{var PL=function($){const w=new Map;for(let f of $)w.set(f.schemeId,f);return w},_L=function($,w){return new pL($,w)},gL=function($,w,f,G,U){return H(async function*W(L,X,...Z){let E=L.startingToken||void 0,F=!0,Y;while(F){if(X[f]=E,U)X[U]=X[U]??L.pageSize;if(L.client instanceof $)Y=await Qz(w,L.client,X,...Z);else throw new Error(`Invalid client, expected instance of ${$.name}`);yield Y;const z=E;E=Mz(Y,G),F=!!(E&&(!L.stopOnSameToken||E!==z))}return},"paginateOperation")},P1=Object.defineProperty,lI=Object.getOwnPropertyDescriptor,mI=Object.getOwnPropertyNames,iI=Object.prototype.hasOwnProperty,H=($,w)=>P1($,"name",{value:w,configurable:!0}),rI=($,w)=>{for(var f in w)P1($,f,{get:w[f],enumerable:!0})},oI=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of mI(w))if(!iI.call($,U)&&U!==f)P1($,U,{get:()=>w[U],enumerable:!(G=lI(w,U))||G.enumerable})}return $},tI=($)=>oI(P1({},"__esModule",{value:!0}),$),NL={};rI(NL,{DefaultIdentityProviderConfig:()=>Lz,EXPIRATION_MS:()=>xL,HttpApiKeyAuthSigner:()=>Xz,HttpBearerAuthSigner:()=>Zz,NoAuthSigner:()=>Ez,RequestBuilder:()=>pL,createIsIdentityExpiredFunction:()=>yL,createPaginator:()=>gL,doesIdentityRequireRefresh:()=>uL,getHttpAuthSchemeEndpointRuleSetPlugin:()=>eI,getHttpAuthSchemePlugin:()=>wz,getHttpSigningPlugin:()=>Wz,getSmithyContext:()=>Iz,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>jL,httpAuthSchemeMiddleware:()=>Uw,httpAuthSchemeMiddlewareOptions:()=>SL,httpSigningMiddleware:()=>bL,httpSigningMiddlewareOptions:()=>hL,isIdentityExpired:()=>Fz,memoizeIdentityProvider:()=>Yz,normalizeProvider:()=>zz,requestBuilder:()=>_L});sL.exports=tI(NL);var qL=l();H(PL,"convertHttpAuthSchemesToMap");var Uw=H(($,w)=>(f,G)=>async(U)=>{var W;const L=$.httpAuthSchemeProvider(await w.httpAuthSchemeParametersProvider($,G,U.input)),X=PL($.httpAuthSchemes),Z=qL.getSmithyContext(G),E=[];for(let F of L){const Y=X.get(F.schemeId);if(!Y){E.push(`HttpAuthScheme \`${F.schemeId}\` was not enabled for this service.`);continue}const z=Y.identityProvider(await w.identityProviderConfigProvider($));if(!z){E.push(`HttpAuthScheme \`${F.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:I={},signingProperties:R={}}=((W=F.propertiesExtractor)==null?void 0:W.call(F,$,G))||{};F.identityProperties=Object.assign(F.identityProperties||{},I),F.signingProperties=Object.assign(F.signingProperties||{},R),Z.selectedHttpAuthScheme={httpAuthOption:F,identity:await z(F.identityProperties),signer:Y.signer};break}if(!Z.selectedHttpAuthScheme)throw new Error(E.join("\n"));return f(U)},"httpAuthSchemeMiddleware"),aI=uf(),jL={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:aI.endpointMiddlewareOptions.name},eI=H(($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:f})=>({applyToStack:(G)=>{G.addRelativeTo(Uw($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:f}),jL)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),$z=M$(),SL={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:$z.serializerMiddlewareOption.name},wz=H(($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:f})=>({applyToStack:(G)=>{G.addRelativeTo(Uw($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:f}),SL)}}),"getHttpAuthSchemePlugin"),j1=r(),fz=H(($)=>(w)=>{throw w},"defaultErrorHandler"),Uz=H(($,w)=>{},"defaultSuccessHandler"),bL=H(($)=>(w,f)=>async(G)=>{if(!j1.HttpRequest.isInstance(G.request))return w(G);const W=qL.getSmithyContext(f).selectedHttpAuthScheme;if(!W)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:L={}},identity:X,signer:Z}=W,E=await w({...G,request:await Z.sign(G.request,X,L)}).catch((Z.errorHandler||fz)(L));return(Z.successHandler||Uz)(E.response,L),E},"httpSigningMiddleware"),Gz=CL(),hL={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:Gz.retryMiddlewareOptions.name},Wz=H(($)=>({applyToStack:(w)=>{w.addRelativeTo(bL($),hL)}}),"getHttpSigningPlugin"),kL=class ${constructor(w){this.authSchemes=new Map;for(let[f,G]of Object.entries(w))if(G!==void 0)this.authSchemes.set(f,G)}getIdentityProvider(w){return this.authSchemes.get(w)}};H(kL,"DefaultIdentityProviderConfig");var Lz=kL,q1=Q0(),DL=class ${async sign(w,f,G){if(!G)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!f.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const U=j1.HttpRequest.clone(w);if(G.in===q1.HttpApiKeyAuthLocation.QUERY)U.query[G.name]=f.apiKey;else if(G.in===q1.HttpApiKeyAuthLocation.HEADER)U.headers[G.name]=G.scheme?`${G.scheme} ${f.apiKey}`:f.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return U}};H(DL,"HttpApiKeyAuthSigner");var Xz=DL,cL=class ${async sign(w,f,G){const U=j1.HttpRequest.clone(w);if(!f.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return U.headers.Authorization=`Bearer ${f.token}`,U}};H(cL,"HttpBearerAuthSigner");var Zz=cL,vL=class ${async sign(w,f,G){return w}};H(vL,"NoAuthSigner");var Ez=vL,yL=H(($)=>(w)=>uL(w)&&w.expiration.getTime()-Date.now()<$,"createIsIdentityExpiredFunction"),xL=300000,Fz=yL(xL),uL=H(($)=>$.expiration!==void 0,"doesIdentityRequireRefresh"),Yz=H(($,w,f)=>{if($===void 0)return;const G=typeof $!=="function"?async()=>Promise.resolve($):$;let U,W,L,X=!1;const Z=H(async(E)=>{if(!W)W=G(E);try{U=await W,L=!0,X=!1}finally{W=void 0}return U},"coalesceProvider");if(w===void 0)return async(E)=>{if(!L||(E==null?void 0:E.forceRefresh))U=await Z(E);return U};return async(E)=>{if(!L||(E==null?void 0:E.forceRefresh))U=await Z(E);if(X)return U;if(!f(U))return X=!0,U;if(w(U))return await Z(E),U;return U}},"memoizeIdentityProvider"),Iz=H(($)=>$[q1.SMITHY_CONTEXT_KEY]||($[q1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),zz=H(($)=>{if(typeof $==="function")return $;const w=Promise.resolve($);return()=>w},"normalizeProvider"),Rz=T0();H(_L,"requestBuilder");var dL=class ${constructor(w,f){this.input=w,this.context=f,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:w,protocol:f="https",port:G,path:U}=await this.context.endpoint();this.path=U;for(let W of this.resolvePathStack)W(this.path);return new j1.HttpRequest({protocol:f,hostname:this.hostname||w,port:G,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(w){return this.hostname=w,this}bp(w){return this.resolvePathStack.push((f)=>{this.path=`${(f==null?void 0:f.endsWith("/"))?f.slice(0,-1):f||""}`+w}),this}p(w,f,G,U){return this.resolvePathStack.push((W)=>{this.path=Rz.resolvedPath(W,this.input,w,f,G,U)}),this}h(w){return this.headers=w,this}q(w){return this.query=w,this}b(w){return this.body=w,this}m(w){return this.method=w,this}};H(dL,"RequestBuilder");var pL=dL,Qz=H(async($,w,f,...G)=>{return await w.send(new $(f),...G)},"makePagedClientRequest");H(gL,"createPaginator");var Mz=H(($,w)=>{let f=$;const G=w.split(".");for(let U of G){if(!f||typeof f!=="object")return;f=f[U]}return f},"get")});var X4=M((MO,i1)=>{var D8,c8,v8,y8,x8,u8,_8,d8,p8,g8,s8,n8,l8,l1,Cw,m8,i8,r8,P0,o8,t8,a8,e8,$4,w4,f4,U4,G4,m1,W4,L4;(function($){var w=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(G){$(f(w,f(G)))});else if(typeof i1==="object"&&typeof MO==="object")$(f(w,f(MO)));else $(f(w));function f(G,U){if(G!==w)if(typeof Object.create==="function")Object.defineProperty(G,"__esModule",{value:!0});else G.__esModule=!0;return function(W,L){return G[W]=U?U(W,L):L}}})(function($){var w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,W){U.__proto__=W}||function(U,W){for(var L in W)if(Object.prototype.hasOwnProperty.call(W,L))U[L]=W[L]};D8=function(U,W){if(typeof W!=="function"&&W!==null)throw new TypeError("Class extends value "+String(W)+" is not a constructor or null");w(U,W);function L(){this.constructor=U}U.prototype=W===null?Object.create(W):(L.prototype=W.prototype,new L)},c8=Object.assign||function(U){for(var W,L=1,X=arguments.length;L<X;L++){W=arguments[L];for(var Z in W)if(Object.prototype.hasOwnProperty.call(W,Z))U[Z]=W[Z]}return U},v8=function(U,W){var L={};for(var X in U)if(Object.prototype.hasOwnProperty.call(U,X)&&W.indexOf(X)<0)L[X]=U[X];if(U!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Z=0,X=Object.getOwnPropertySymbols(U);Z<X.length;Z++)if(W.indexOf(X[Z])<0&&Object.prototype.propertyIsEnumerable.call(U,X[Z]))L[X[Z]]=U[X[Z]]}return L},y8=function(U,W,L,X){var Z=arguments.length,E=Z<3?W:X===null?X=Object.getOwnPropertyDescriptor(W,L):X,F;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")E=Reflect.decorate(U,W,L,X);else for(var Y=U.length-1;Y>=0;Y--)if(F=U[Y])E=(Z<3?F(E):Z>3?F(W,L,E):F(W,L))||E;return Z>3&&E&&Object.defineProperty(W,L,E),E},x8=function(U,W){return function(L,X){W(L,X,U)}},u8=function(U,W,L,X,Z,E){function F(S){if(S!==void 0&&typeof S!=="function")throw new TypeError("Function expected");return S}var Y=X.kind,z=Y==="getter"?"get":Y==="setter"?"set":"value",I=!W&&U?X.static?U:U.prototype:null,R=W||(I?Object.getOwnPropertyDescriptor(I,X.name):{}),J,O=!1;for(var K=L.length-1;K>=0;K--){var A={};for(var B in X)A[B]=B==="access"?{}:X[B];for(var B in X.access)A.access[B]=X.access[B];A.addInitializer=function(S){if(O)throw new TypeError("Cannot add initializers after decoration has completed");E.push(F(S||null))};var V=L[K](Y==="accessor"?{get:R.get,set:R.set}:R[z],A);if(Y==="accessor"){if(V===void 0)continue;if(V===null||typeof V!=="object")throw new TypeError("Object expected");if(J=F(V.get))R.get=J;if(J=F(V.set))R.set=J;if(J=F(V.init))Z.unshift(J)}else if(J=F(V))if(Y==="field")Z.unshift(J);else R[z]=J}if(I)Object.defineProperty(I,X.name,R);O=!0},_8=function(U,W,L){var X=arguments.length>2;for(var Z=0;Z<W.length;Z++)L=X?W[Z].call(U,L):W[Z].call(U);return X?L:void 0},d8=function(U){return typeof U==="symbol"?U:"".concat(U)},p8=function(U,W,L){if(typeof W==="symbol")W=W.description?"[".concat(W.description,"]"):"";return Object.defineProperty(U,"name",{configurable:!0,value:L?"".concat(L," ",W):W})},g8=function(U,W){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(U,W)},s8=function(U,W,L,X){function Z(E){return E instanceof L?E:new L(function(F){F(E)})}return new(L||(L=Promise))(function(E,F){function Y(R){try{I(X.next(R))}catch(J){F(J)}}function z(R){try{I(X.throw(R))}catch(J){F(J)}}function I(R){R.done?E(R.value):Z(R.value).then(Y,z)}I((X=X.apply(U,W||[])).next())})},n8=function(U,W){var L={label:0,sent:function(){if(E[0]&1)throw E[1];return E[1]},trys:[],ops:[]},X,Z,E,F;return F={next:Y(0),throw:Y(1),return:Y(2)},typeof Symbol==="function"&&(F[Symbol.iterator]=function(){return this}),F;function Y(I){return function(R){return z([I,R])}}function z(I){if(X)throw new TypeError("Generator is already executing.");while(F&&(F=0,I[0]&&(L=0)),L)try{if(X=1,Z&&(E=I[0]&2?Z.return:I[0]?Z.throw||((E=Z.return)&&E.call(Z),0):Z.next)&&!(E=E.call(Z,I[1])).done)return E;if(Z=0,E)I=[I[0]&2,E.value];switch(I[0]){case 0:case 1:E=I;break;case 4:return L.label++,{value:I[1],done:!1};case 5:L.label++,Z=I[1],I=[0];continue;case 7:I=L.ops.pop(),L.trys.pop();continue;default:if((E=L.trys,!(E=E.length>0&&E[E.length-1]))&&(I[0]===6||I[0]===2)){L=0;continue}if(I[0]===3&&(!E||I[1]>E[0]&&I[1]<E[3])){L.label=I[1];break}if(I[0]===6&&L.label<E[1]){L.label=E[1],E=I;break}if(E&&L.label<E[2]){L.label=E[2],L.ops.push(I);break}if(E[2])L.ops.pop();L.trys.pop();continue}I=W.call(U,L)}catch(R){I=[6,R],Z=0}finally{X=E=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}},l8=function(U,W){for(var L in U)if(L!=="default"&&!Object.prototype.hasOwnProperty.call(W,L))m1(W,U,L)},m1=Object.create?function(U,W,L,X){if(X===void 0)X=L;var Z=Object.getOwnPropertyDescriptor(W,L);if(!Z||("get"in Z?!W.__esModule:Z.writable||Z.configurable))Z={enumerable:!0,get:function(){return W[L]}};Object.defineProperty(U,X,Z)}:function(U,W,L,X){if(X===void 0)X=L;U[X]=W[L]},l1=function(U){var W=typeof Symbol==="function"&&Symbol.iterator,L=W&&U[W],X=0;if(L)return L.call(U);if(U&&typeof U.length==="number")return{next:function(){if(U&&X>=U.length)U=void 0;return{value:U&&U[X++],done:!U}}};throw new TypeError(W?"Object is not iterable.":"Symbol.iterator is not defined.")},Cw=function(U,W){var L=typeof Symbol==="function"&&U[Symbol.iterator];if(!L)return U;var X=L.call(U),Z,E=[],F;try{while((W===void 0||W-- >0)&&!(Z=X.next()).done)E.push(Z.value)}catch(Y){F={error:Y}}finally{try{if(Z&&!Z.done&&(L=X.return))L.call(X)}finally{if(F)throw F.error}}return E},m8=function(){for(var U=[],W=0;W<arguments.length;W++)U=U.concat(Cw(arguments[W]));return U},i8=function(){for(var U=0,W=0,L=arguments.length;W<L;W++)U+=arguments[W].length;for(var X=Array(U),Z=0,W=0;W<L;W++)for(var E=arguments[W],F=0,Y=E.length;F<Y;F++,Z++)X[Z]=E[F];return X},r8=function(U,W,L){if(L||arguments.length===2){for(var X=0,Z=W.length,E;X<Z;X++)if(E||!(X in W)){if(!E)E=Array.prototype.slice.call(W,0,X);E[X]=W[X]}}return U.concat(E||Array.prototype.slice.call(W))},P0=function(U){return this instanceof P0?(this.v=U,this):new P0(U)},o8=function(U,W,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var X=L.apply(U,W||[]),Z,E=[];return Z={},Y("next"),Y("throw"),Y("return",F),Z[Symbol.asyncIterator]=function(){return this},Z;function F(K){return function(A){return Promise.resolve(A).then(K,J)}}function Y(K,A){if(X[K]){if(Z[K]=function(B){return new Promise(function(V,S){E.push([K,B,V,S])>1||z(K,B)})},A)Z[K]=A(Z[K])}}function z(K,A){try{I(X[K](A))}catch(B){O(E[0][3],B)}}function I(K){K.value instanceof P0?Promise.resolve(K.value.v).then(R,J):O(E[0][2],K)}function R(K){z("next",K)}function J(K){z("throw",K)}function O(K,A){if(K(A),E.shift(),E.length)z(E[0][0],E[0][1])}},t8=function(U){var W,L;return W={},X("next"),X("throw",function(Z){throw Z}),X("return"),W[Symbol.iterator]=function(){return this},W;function X(Z,E){W[Z]=U[Z]?function(F){return(L=!L)?{value:P0(U[Z](F)),done:!1}:E?E(F):F}:E}},a8=function(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=U[Symbol.asyncIterator],L;return W?W.call(U):(U=typeof l1==="function"?l1(U):U[Symbol.iterator](),L={},X("next"),X("throw"),X("return"),L[Symbol.asyncIterator]=function(){return this},L);function X(E){L[E]=U[E]&&function(F){return new Promise(function(Y,z){F=U[E](F),Z(Y,z,F.done,F.value)})}}function Z(E,F,Y,z){Promise.resolve(z).then(function(I){E({value:I,done:Y})},F)}},e8=function(U,W){if(Object.defineProperty)Object.defineProperty(U,"raw",{value:W});else U.raw=W;return U};var f=Object.create?function(U,W){Object.defineProperty(U,"default",{enumerable:!0,value:W})}:function(U,W){U.default=W};$4=function(U){if(U&&U.__esModule)return U;var W={};if(U!=null){for(var L in U)if(L!=="default"&&Object.prototype.hasOwnProperty.call(U,L))m1(W,U,L)}return f(W,U),W},w4=function(U){return U&&U.__esModule?U:{default:U}},f4=function(U,W,L,X){if(L==="a"&&!X)throw new TypeError("Private accessor was defined without a getter");if(typeof W==="function"?U!==W||!X:!W.has(U))throw new TypeError("Cannot read private member from an object whose class did not declare it");return L==="m"?X:L==="a"?X.call(U):X?X.value:W.get(U)},U4=function(U,W,L,X,Z){if(X==="m")throw new TypeError("Private method is not writable");if(X==="a"&&!Z)throw new TypeError("Private accessor was defined without a setter");if(typeof W==="function"?U!==W||!Z:!W.has(U))throw new TypeError("Cannot write private member to an object whose class did not declare it");return X==="a"?Z.call(U,L):Z?Z.value=L:W.set(U,L),L},G4=function(U,W){if(W===null||typeof W!=="object"&&typeof W!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof U==="function"?W===U:U.has(W)},W4=function(U,W,L){if(W!==null&&W!==void 0){if(typeof W!=="object"&&typeof W!=="function")throw new TypeError("Object expected.");var X,Z;if(L){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");X=W[Symbol.asyncDispose]}if(X===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(X=W[Symbol.dispose],L)Z=X}if(typeof X!=="function")throw new TypeError("Object not disposable.");if(Z)X=function(){try{Z.call(this)}catch(E){return Promise.reject(E)}};U.stack.push({value:W,dispose:X,async:L})}else if(L)U.stack.push({async:!0});return W};var G=typeof SuppressedError==="function"?SuppressedError:function(U,W,L){var X=new Error(L);return X.name="SuppressedError",X.error=U,X.suppressed=W,X};L4=function(U){function W(X){U.error=U.hasError?new G(X,U.error,"An error was suppressed during disposal."):X,U.hasError=!0}function L(){while(U.stack.length){var X=U.stack.pop();try{var Z=X.dispose&&X.dispose.call(X.value);if(X.async)return Promise.resolve(Z).then(L,function(E){return W(E),L()})}catch(E){W(E)}}if(U.hasError)throw U.error}return L()},$("__extends",D8),$("__assign",c8),$("__rest",v8),$("__decorate",y8),$("__param",x8),$("__esDecorate",u8),$("__runInitializers",_8),$("__propKey",d8),$("__setFunctionName",p8),$("__metadata",g8),$("__awaiter",s8),$("__generator",n8),$("__exportStar",l8),$("__createBinding",m1),$("__values",l1),$("__read",Cw),$("__spread",m8),$("__spreadArrays",i8),$("__spreadArray",r8),$("__await",P0),$("__asyncGenerator",o8),$("__asyncDelegator",t8),$("__asyncValues",a8),$("__makeTemplateObject",e8),$("__importStar",$4),$("__importDefault",w4),$("__classPrivateFieldGet",f4),$("__classPrivateFieldSet",U4),$("__classPrivateFieldIn",G4),$("__addDisposableResource",W4),$("__disposeResources",L4)})});var Y4=M((JO,F4)=>{var{defineProperty:r1,getOwnPropertyDescriptor:az,getOwnPropertyNames:ez}=Object,$5=Object.prototype.hasOwnProperty,w5=($,w)=>r1($,"name",{value:w,configurable:!0}),f5=($,w)=>{for(var f in w)r1($,f,{get:w[f],enumerable:!0})},U5=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of ez(w))if(!$5.call($,U)&&U!==f)r1($,U,{get:()=>w[U],enumerable:!(G=az(w,U))||G.enumerable})}return $},G5=($)=>U5(r1({},"__esModule",{value:!0}),$),E4={};f5(E4,{emitWarningIfUnsupportedVersion:()=>W5});F4.exports=G5(E4);var Z4=!1,W5=w5(($)=>{if($&&!Z4&&parseInt($.substring(1,$.indexOf(".")))<18)Z4=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
4
|
-
no longer support Node.js 16.x on January 6, 2025.
|
|
5
|
-
|
|
6
|
-
To continue receiving updates to AWS services, bug fixes, and security
|
|
7
|
-
updates please upgrade to a supported Node.js LTS version.
|
|
8
|
-
|
|
9
|
-
More information can be found at: https://a.co/74kJMmI`)},"emitWarningIfUnsupportedVersion")});var b4=M((KO,S4)=>{var Sw=function($){for(let w=0;w<8;w++)$[w]^=255;for(let w=7;w>-1;w--)if($[w]++,$[w]!==0)break},$$=Object.defineProperty,L5=Object.getOwnPropertyDescriptor,X5=Object.getOwnPropertyNames,Z5=Object.prototype.hasOwnProperty,b=($,w)=>$$($,"name",{value:w,configurable:!0}),E5=($,w)=>{for(var f in w)$$($,f,{get:w[f],enumerable:!0})},F5=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of X5(w))if(!Z5.call($,U)&&U!==f)$$($,U,{get:()=>w[U],enumerable:!(G=L5(w,U))||G.enumerable})}return $},Y5=($)=>F5($$({},"__esModule",{value:!0}),$),M4={};E5(M4,{SignatureV4:()=>y5,clearCredentialCache:()=>P5,createScope:()=>a1,getCanonicalHeaders:()=>jw,getCanonicalQuery:()=>H4,getPayloadHash:()=>e1,getSigningKey:()=>V4,moveHeadersToQuery:()=>P4,prepareRequest:()=>bw});S4.exports=Y5(M4);var I4=l(),Nw=$0(),I5="X-Amz-Algorithm",z5="X-Amz-Credential",J4="X-Amz-Date",R5="X-Amz-SignedHeaders",Q5="X-Amz-Expires",K4="X-Amz-Signature",A4="X-Amz-Security-Token",O4="authorization",B4=J4.toLowerCase(),M5="date",J5=[O4,B4,M5],K5=K4.toLowerCase(),Pw="x-amz-content-sha256",A5=A4.toLowerCase(),O5={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},B5=/^proxy-/,T5=/^sec-/,qw="AWS4-HMAC-SHA256",V5="AWS4-HMAC-SHA256-PAYLOAD",H5="UNSIGNED-PAYLOAD",C5=50,T4="aws4_request",N5=604800,G0=ZW(),q5=$0(),j0={},t1=[],a1=b(($,w,f)=>`${$}/${w}/${f}/${T4}`,"createScope"),V4=b(async($,w,f,G,U)=>{const W=await z4($,w.secretAccessKey,w.accessKeyId),L=`${f}:${G}:${U}:${G0.toHex(W)}:${w.sessionToken}`;if(L in j0)return j0[L];t1.push(L);while(t1.length>C5)delete j0[t1.shift()];let X=`AWS4${w.secretAccessKey}`;for(let Z of[f,G,U,T4])X=await z4($,X,Z);return j0[L]=X},"getSigningKey"),P5=b(()=>{t1.length=0,Object.keys(j0).forEach(($)=>{delete j0[$]})},"clearCredentialCache"),z4=b(($,w,f)=>{const G=new $(w);return G.update(q5.toUint8Array(f)),G.digest()},"hmac"),jw=b(({headers:$},w,f)=>{const G={};for(let U of Object.keys($).sort()){if($[U]==null)continue;const W=U.toLowerCase();if(W in O5||(w==null?void 0:w.has(W))||B5.test(W)||T5.test(W)){if(!f||f&&!f.has(W))continue}G[W]=$[U].trim().replace(/\s+/g," ")}return G},"getCanonicalHeaders"),r0=qG(),H4=b(({query:$={}})=>{const w=[],f={};for(let G of Object.keys($).sort()){if(G.toLowerCase()===K5)continue;w.push(G);const U=$[G];if(typeof U==="string")f[G]=`${r0.escapeUri(G)}=${r0.escapeUri(U)}`;else if(Array.isArray(U))f[G]=U.slice(0).reduce((W,L)=>W.concat([`${r0.escapeUri(G)}=${r0.escapeUri(L)}`]),[]).sort().join("&")}return w.map((G)=>f[G]).filter((G)=>G).join("&")},"getCanonicalQuery"),j5=j$(),S5=$0(),e1=b(async({headers:$,body:w},f)=>{for(let G of Object.keys($))if(G.toLowerCase()===Pw)return $[G];if(w==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof w==="string"||ArrayBuffer.isView(w)||j5.isArrayBuffer(w)){const G=new f;return G.update(S5.toUint8Array(w)),G0.toHex(await G.digest())}return H5},"getPayloadHash"),R4=$0(),C4=class ${format(w){const f=[];for(let W of Object.keys(w)){const L=R4.fromUtf8(W);f.push(Uint8Array.from([L.byteLength]),L,this.formatHeaderValue(w[W]))}const G=new Uint8Array(f.reduce((W,L)=>W+L.byteLength,0));let U=0;for(let W of f)G.set(W,U),U+=W.byteLength;return G}formatHeaderValue(w){switch(w.type){case"boolean":return Uint8Array.from([w.value?0:1]);case"byte":return Uint8Array.from([2,w.value]);case"short":const f=new DataView(new ArrayBuffer(3));return f.setUint8(0,3),f.setInt16(1,w.value,!1),new Uint8Array(f.buffer);case"integer":const G=new DataView(new ArrayBuffer(5));return G.setUint8(0,4),G.setInt32(1,w.value,!1),new Uint8Array(G.buffer);case"long":const U=new Uint8Array(9);return U[0]=5,U.set(w.value.bytes,1),U;case"binary":const W=new DataView(new ArrayBuffer(3+w.value.byteLength));W.setUint8(0,6),W.setUint16(1,w.value.byteLength,!1);const L=new Uint8Array(W.buffer);return L.set(w.value,3),L;case"string":const X=R4.fromUtf8(w.value),Z=new DataView(new ArrayBuffer(3+X.byteLength));Z.setUint8(0,7),Z.setUint16(1,X.byteLength,!1);const E=new Uint8Array(Z.buffer);return E.set(X,3),E;case"timestamp":const F=new Uint8Array(9);return F[0]=8,F.set(k5.fromNumber(w.value.valueOf()).bytes,1),F;case"uuid":if(!h5.test(w.value))throw new Error(`Invalid UUID received: ${w.value}`);const Y=new Uint8Array(17);return Y[0]=9,Y.set(G0.fromHex(w.value.replace(/\-/g,"")),1),Y}}};b(C4,"HeaderFormatter");var b5=C4,h5=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,N4=class ${constructor(w){if(this.bytes=w,w.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(w){if(w>9223372036854776000||w<-9223372036854776000)throw new Error(`${w} is too large (or, if negative, too small) to represent as an Int64`);const f=new Uint8Array(8);for(let G=7,U=Math.abs(Math.round(w));G>-1&&U>0;G--,U/=256)f[G]=U;if(w<0)Sw(f);return new $(f)}valueOf(){const w=this.bytes.slice(0),f=w[0]&128;if(f)Sw(w);return parseInt(G0.toHex(w),16)*(f?-1:1)}toString(){return String(this.valueOf())}};b(N4,"Int64");var k5=N4;b(Sw,"negate");var D5=b(($,w)=>{$=$.toLowerCase();for(let f of Object.keys(w))if($===f.toLowerCase())return!0;return!1},"hasHeader"),q4=r(),P4=b(($,w={})=>{var f;const{headers:G,query:U={}}=q4.HttpRequest.clone($);for(let W of Object.keys(G)){const L=W.toLowerCase();if(L.slice(0,6)==="x-amz-"&&!((f=w.unhoistableHeaders)==null?void 0:f.has(L)))U[W]=G[W],delete G[W]}return{...$,headers:G,query:U}},"moveHeadersToQuery"),bw=b(($)=>{$=q4.HttpRequest.clone($);for(let w of Object.keys($.headers))if(J5.indexOf(w.toLowerCase())>-1)delete $.headers[w];return $},"prepareRequest"),c5=b(($)=>v5($).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),v5=b(($)=>{if(typeof $==="number")return new Date($*1000);if(typeof $==="string"){if(Number($))return new Date(Number($)*1000);return new Date($)}return $},"toDate"),j4=class ${constructor({applyChecksum:w,credentials:f,region:G,service:U,sha256:W,uriEscapePath:L=!0}){this.headerFormatter=new b5,this.service=U,this.sha256=W,this.uriEscapePath=L,this.applyChecksum=typeof w==="boolean"?w:!0,this.regionProvider=I4.normalizeProvider(G),this.credentialProvider=I4.normalizeProvider(f)}async presign(w,f={}){const{signingDate:G=new Date,expiresIn:U=3600,unsignableHeaders:W,unhoistableHeaders:L,signableHeaders:X,signingRegion:Z,signingService:E}=f,F=await this.credentialProvider();this.validateResolvedCredentials(F);const Y=Z??await this.regionProvider(),{longDate:z,shortDate:I}=o1(G);if(U>N5)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const R=a1(I,Y,E??this.service),J=P4(bw(w),{unhoistableHeaders:L});if(F.sessionToken)J.query[A4]=F.sessionToken;J.query[I5]=qw,J.query[z5]=`${F.accessKeyId}/${R}`,J.query[J4]=z,J.query[Q5]=U.toString(10);const O=jw(J,W,X);return J.query[R5]=Q4(O),J.query[K4]=await this.getSignature(z,R,this.getSigningKey(F,Y,I,E),this.createCanonicalRequest(J,O,await e1(w,this.sha256))),J}async sign(w,f){if(typeof w==="string")return this.signString(w,f);else if(w.headers&&w.payload)return this.signEvent(w,f);else if(w.message)return this.signMessage(w,f);else return this.signRequest(w,f)}async signEvent({headers:w,payload:f},{signingDate:G=new Date,priorSignature:U,signingRegion:W,signingService:L}){const X=W??await this.regionProvider(),{shortDate:Z,longDate:E}=o1(G),F=a1(Z,X,L??this.service),Y=await e1({headers:{},body:f},this.sha256),z=new this.sha256;z.update(w);const I=G0.toHex(await z.digest()),R=[V5,E,F,U,I,Y].join("\n");return this.signString(R,{signingDate:G,signingRegion:X,signingService:L})}async signMessage(w,{signingDate:f=new Date,signingRegion:G,signingService:U}){return this.signEvent({headers:this.headerFormatter.format(w.message.headers),payload:w.message.body},{signingDate:f,signingRegion:G,signingService:U,priorSignature:w.priorSignature}).then((L)=>{return{message:w.message,signature:L}})}async signString(w,{signingDate:f=new Date,signingRegion:G,signingService:U}={}){const W=await this.credentialProvider();this.validateResolvedCredentials(W);const L=G??await this.regionProvider(),{shortDate:X}=o1(f),Z=new this.sha256(await this.getSigningKey(W,L,X,U));return Z.update(Nw.toUint8Array(w)),G0.toHex(await Z.digest())}async signRequest(w,{signingDate:f=new Date,signableHeaders:G,unsignableHeaders:U,signingRegion:W,signingService:L}={}){const X=await this.credentialProvider();this.validateResolvedCredentials(X);const Z=W??await this.regionProvider(),E=bw(w),{longDate:F,shortDate:Y}=o1(f),z=a1(Y,Z,L??this.service);if(E.headers[B4]=F,X.sessionToken)E.headers[A5]=X.sessionToken;const I=await e1(E,this.sha256);if(!D5(Pw,E.headers)&&this.applyChecksum)E.headers[Pw]=I;const R=jw(E,U,G),J=await this.getSignature(F,z,this.getSigningKey(X,Z,Y,L),this.createCanonicalRequest(E,R,I));return E.headers[O4]=`${qw} Credential=${X.accessKeyId}/${z}, SignedHeaders=${Q4(R)}, Signature=${J}`,E}createCanonicalRequest(w,f,G){const U=Object.keys(f).sort();return`${w.method}
|
|
10
|
-
${this.getCanonicalPath(w)}
|
|
11
|
-
${H4(w)}
|
|
12
|
-
${U.map((W)=>`${W}:${f[W]}`).join("\n")}
|
|
13
|
-
|
|
14
|
-
${U.join(";")}
|
|
15
|
-
${G}`}async createStringToSign(w,f,G){const U=new this.sha256;U.update(Nw.toUint8Array(G));const W=await U.digest();return`${qw}
|
|
16
|
-
${w}
|
|
17
|
-
${f}
|
|
18
|
-
${G0.toHex(W)}`}getCanonicalPath({path:w}){if(this.uriEscapePath){const f=[];for(let W of w.split("/")){if((W==null?void 0:W.length)===0)continue;if(W===".")continue;if(W==="..")f.pop();else f.push(W)}const G=`${(w==null?void 0:w.startsWith("/"))?"/":""}${f.join("/")}${f.length>0&&(w==null?void 0:w.endsWith("/"))?"/":""}`;return r0.escapeUri(G).replace(/%2F/g,"/")}return w}async getSignature(w,f,G,U){const W=await this.createStringToSign(w,f,U),L=new this.sha256(await G);return L.update(Nw.toUint8Array(W)),G0.toHex(await L.digest())}getSigningKey(w,f,G,U){return V4(this.sha256,w,G,f,U||this.service)}validateResolvedCredentials(w){if(typeof w!=="object"||typeof w.accessKeyId!=="string"||typeof w.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};b(j4,"SignatureV4");var y5=j4,o1=b(($)=>{const w=c5($).replace(/[\-:]/g,"");return{longDate:w,shortDate:w.slice(0,8)}},"formatDate"),Q4=b(($)=>Object.keys($).sort().join(";"),"getCanonicalHeaderList")});var d4=M((AO,_4)=>{var{defineProperty:w$,getOwnPropertyDescriptor:x5,getOwnPropertyNames:u5}=Object,_5=Object.prototype.hasOwnProperty,c=($,w)=>w$($,"name",{value:w,configurable:!0}),d5=($,w)=>{for(var f in w)w$($,f,{get:w[f],enumerable:!0})},p5=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of u5(w))if(!_5.call($,U)&&U!==f)w$($,U,{get:()=>w[U],enumerable:!(G=x5(w,U))||G.enumerable})}return $},g5=($)=>p5(w$({},"__esModule",{value:!0}),$),v4={};d5(v4,{AWSSDKSigV4Signer:()=>m5,AwsSdkSigV4ASigner:()=>r5,AwsSdkSigV4Signer:()=>Dw,NODE_SIGV4A_CONFIG_OPTIONS:()=>a5,resolveAWSSDKSigV4Config:()=>e5,resolveAwsSdkSigV4AConfig:()=>t5,resolveAwsSdkSigV4Config:()=>u4,validateSigningProperties:()=>kw});_4.exports=g5(v4);var s5=r(),n5=r(),h4=c(($)=>{var w,f;return n5.HttpResponse.isInstance($)?((w=$.headers)==null?void 0:w.date)??((f=$.headers)==null?void 0:f.Date):void 0},"getDateHeader"),hw=c(($)=>new Date(Date.now()+$),"getSkewCorrectedDate"),l5=c(($,w)=>Math.abs(hw(w).getTime()-$)>=300000,"isClockSkewed"),k4=c(($,w)=>{const f=Date.parse($);if(l5(f,w))return f-Date.now();return w},"getUpdatedSystemClockOffset"),o0=c(($,w)=>{if(!w)throw new Error(`Property \`${$}\` is not resolved for AWS SDK SigV4Auth`);return w},"throwSigningPropertyError"),kw=c(async($)=>{var w,f,G;const U=o0("context",$.context),W=o0("config",$.config),L=(G=(f=(w=U.endpointV2)==null?void 0:w.properties)==null?void 0:f.authSchemes)==null?void 0:G[0],Z=await o0("signer",W.signer)(L),E=$==null?void 0:$.signingRegion,F=$==null?void 0:$.signingRegionSet,Y=$==null?void 0:$.signingName;return{config:W,signer:Z,signingRegion:E,signingRegionSet:F,signingName:Y}},"validateSigningProperties"),y4=class ${async sign(w,f,G){var U;if(!s5.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const W=await kw(G),{config:L,signer:X}=W;let{signingRegion:Z,signingName:E}=W;const F=G.context;if(((U=F==null?void 0:F.authSchemes)==null?void 0:U.length)??0>1){const[z,I]=F.authSchemes;if((z==null?void 0:z.name)==="sigv4a"&&(I==null?void 0:I.name)==="sigv4")Z=(I==null?void 0:I.signingRegion)??Z,E=(I==null?void 0:I.signingName)??E}return await X.sign(w,{signingDate:hw(L.systemClockOffset),signingRegion:Z,signingService:E})}errorHandler(w){return(f)=>{const G=f.ServerTime??h4(f.$response);if(G){const U=o0("config",w.config),W=U.systemClockOffset;if(U.systemClockOffset=k4(G,U.systemClockOffset),U.systemClockOffset!==W&&f.$metadata)f.$metadata.clockSkewCorrected=!0}throw f}}successHandler(w,f){const G=h4(w);if(G){const U=o0("config",f.config);U.systemClockOffset=k4(G,U.systemClockOffset)}}};c(y4,"AwsSdkSigV4Signer");var Dw=y4,m5=Dw,i5=r(),x4=class $ extends Dw{async sign(w,f,G){var U;if(!i5.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:W,signer:L,signingRegion:X,signingRegionSet:Z,signingName:E}=await kw(G),Y=(await((U=W.sigv4aSigningRegionSet)==null?void 0:U.call(W))??Z??[X]).join(",");return await L.sign(w,{signingDate:hw(W.systemClockOffset),signingRegion:Y,signingService:E})}};c(x4,"AwsSdkSigV4ASigner");var r5=x4,o5=Gw(),D4=z$(),t5=c(($)=>{return $.sigv4aSigningRegionSet=o5.normalizeProvider($.sigv4aSigningRegionSet),$},"resolveAwsSdkSigV4AConfig"),a5={environmentVariableSelector($){if($.AWS_SIGV4A_SIGNING_REGION_SET)return $.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((w)=>w.trim());throw new D4.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector($){if($.sigv4a_signing_region_set)return($.sigv4a_signing_region_set??"").split(",").map((w)=>w.trim());throw new D4.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},z0=Gw(),c4=b4(),u4=c(($)=>{let w;if($.credentials)w=z0.memoizeIdentityProvider($.credentials,z0.isIdentityExpired,z0.doesIdentityRequireRefresh);if(!w)if($.credentialDefaultProvider)w=z0.normalizeProvider($.credentialDefaultProvider(Object.assign({},$,{parentClientConfig:$})));else w=c(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:f=!0,systemClockOffset:G=$.systemClockOffset||0,sha256:U}=$;let W;if($.signer)W=z0.normalizeProvider($.signer);else if($.regionInfoProvider)W=c(()=>z0.normalizeProvider($.region)().then(async(L)=>[await $.regionInfoProvider(L,{useFipsEndpoint:await $.useFipsEndpoint(),useDualstackEndpoint:await $.useDualstackEndpoint()})||{},L]).then(([L,X])=>{const{signingRegion:Z,signingService:E}=L;$.signingRegion=$.signingRegion||Z||X,$.signingName=$.signingName||E||$.serviceId;const F={...$,credentials:w,region:$.signingRegion,service:$.signingName,sha256:U,uriEscapePath:f};return new($.signerConstructor||c4.SignatureV4)(F)}),"signer");else W=c(async(L)=>{L=Object.assign({},{name:"sigv4",signingName:$.signingName||$.defaultSigningName,signingRegion:await z0.normalizeProvider($.region)(),properties:{}},L);const{signingRegion:X,signingName:Z}=L;$.signingRegion=$.signingRegion||X,$.signingName=$.signingName||Z||$.serviceId;const E={...$,credentials:w,region:$.signingRegion,service:$.signingName,sha256:U,uriEscapePath:f};return new($.signerConstructor||c4.SignatureV4)(E)},"signer");return{...$,systemClockOffset:G,signingEscapePath:f,credentials:w,signer:W}},"resolveAwsSdkSigV4Config"),e5=u4});var f$=M((GR)=>{var $R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",p4="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]["+$R+"]*",wR=new RegExp("^"+p4+"$"),fR=function($,w){const f=[];let G=w.exec($);while(G){const U=[];U.startIndex=w.lastIndex-G[0].length;const W=G.length;for(let L=0;L<W;L++)U.push(G[L]);f.push(U),G=w.exec($)}return f},UR=function($){const w=wR.exec($);return!(w===null||typeof w==="undefined")};GR.isExist=function($){return typeof $!=="undefined"};GR.isEmptyObject=function($){return Object.keys($).length===0};GR.merge=function($,w,f){if(w){const G=Object.keys(w),U=G.length;for(let W=0;W<U;W++)if(f==="strict")$[G[W]]=[w[G[W]]];else $[G[W]]=w[G[W]]}};GR.getValue=function($){if(GR.isExist($))return $;else return""};GR.isName=UR;GR.getAllMatches=fR;GR.nameRegexp=p4});var vw=M((OR)=>{var s4=function($){return $===" "||$==="\t"||$==="\n"||$==="\r"},n4=function($,w){const f=w;for(;w<$.length;w++)if($[w]=="?"||$[w]==" "){const G=$.substr(f,w-f);if(w>5&&G==="xml")return P("InvalidXml","XML declaration allowed only at the start of the document.",k($,w));else if($[w]=="?"&&$[w+1]==">"){w++;break}else continue}return w},l4=function($,w){if($.length>w+5&&$[w+1]==="-"&&$[w+2]==="-"){for(w+=3;w<$.length;w++)if($[w]==="-"&&$[w+1]==="-"&&$[w+2]===">"){w+=2;break}}else if($.length>w+8&&$[w+1]==="D"&&$[w+2]==="O"&&$[w+3]==="C"&&$[w+4]==="T"&&$[w+5]==="Y"&&$[w+6]==="P"&&$[w+7]==="E"){let f=1;for(w+=8;w<$.length;w++)if($[w]==="<")f++;else if($[w]===">"){if(f--,f===0)break}}else if($.length>w+9&&$[w+1]==="["&&$[w+2]==="C"&&$[w+3]==="D"&&$[w+4]==="A"&&$[w+5]==="T"&&$[w+6]==="A"&&$[w+7]==="["){for(w+=8;w<$.length;w++)if($[w]==="]"&&$[w+1]==="]"&&$[w+2]===">"){w+=2;break}}return w},RR=function($,w){let f="",G="",U=!1;for(;w<$.length;w++){if($[w]===IR||$[w]===zR)if(G==="")G=$[w];else if(G!==$[w]);else G="";else if($[w]===">"){if(G===""){U=!0;break}}f+=$[w]}if(G!=="")return!1;return{value:f,index:w,tagClosed:U}},m4=function($,w){const f=cw.getAllMatches($,QR),G={};for(let U=0;U<f.length;U++){if(f[U][1].length===0)return P("InvalidAttr","Attribute '"+f[U][2]+"' has no space in starting.",t0(f[U]));else if(f[U][3]!==void 0&&f[U][4]===void 0)return P("InvalidAttr","Attribute '"+f[U][2]+"' is without value.",t0(f[U]));else if(f[U][3]===void 0&&!w.allowBooleanAttributes)return P("InvalidAttr","boolean attribute '"+f[U][2]+"' is not allowed.",t0(f[U]));const W=f[U][2];if(!KR(W))return P("InvalidAttr","Attribute '"+W+"' is an invalid name.",t0(f[U]));if(!G.hasOwnProperty(W))G[W]=1;else return P("InvalidAttr","Attribute '"+W+"' is repeated.",t0(f[U]))}return!0},MR=function($,w){let f=/\d/;if($[w]==="x")w++,f=/[\da-fA-F]/;for(;w<$.length;w++){if($[w]===";")return w;if(!$[w].match(f))break}return-1},JR=function($,w){if(w++,$[w]===";")return-1;if($[w]==="#")return w++,MR($,w);let f=0;for(;w<$.length;w++,f++){if($[w].match(/\w/)&&f<20)continue;if($[w]===";")break;return-1}return w},P=function($,w,f){return{err:{code:$,msg:w,line:f.line||f,col:f.col}}},KR=function($){return cw.isName($)},AR=function($){return cw.isName($)},k=function($,w){const f=$.substring(0,w).split(/\r?\n/);return{line:f.length,col:f[f.length-1].length+1}},t0=function($){return $.startIndex+$[1].length},cw=f$(),YR={allowBooleanAttributes:!1,unpairedTags:[]};OR.validate=function($,w){w=Object.assign({},YR,w);const f=[];let G=!1,U=!1;if($[0]==="\uFEFF")$=$.substr(1);for(let W=0;W<$.length;W++)if($[W]==="<"&&$[W+1]==="?"){if(W+=2,W=n4($,W),W.err)return W}else if($[W]==="<"){let L=W;if(W++,$[W]==="!"){W=l4($,W);continue}else{let X=!1;if($[W]==="/")X=!0,W++;let Z="";for(;W<$.length&&$[W]!==">"&&$[W]!==" "&&$[W]!=="\t"&&$[W]!=="\n"&&$[W]!=="\r";W++)Z+=$[W];if(Z=Z.trim(),Z[Z.length-1]==="/")Z=Z.substring(0,Z.length-1),W--;if(!AR(Z)){let Y;if(Z.trim().length===0)Y="Invalid space after '<'.";else Y="Tag '"+Z+"' is an invalid name.";return P("InvalidTag",Y,k($,W))}const E=RR($,W);if(E===!1)return P("InvalidAttr","Attributes for '"+Z+"' have open quote.",k($,W));let F=E.value;if(W=E.index,F[F.length-1]==="/"){const Y=W-F.length;F=F.substring(0,F.length-1);const z=m4(F,w);if(z===!0)G=!0;else return P(z.err.code,z.err.msg,k($,Y+z.err.line))}else if(X)if(!E.tagClosed)return P("InvalidTag","Closing tag '"+Z+"' doesn't have proper closing.",k($,W));else if(F.trim().length>0)return P("InvalidTag","Closing tag '"+Z+"' can't have attributes or invalid starting.",k($,L));else if(f.length===0)return P("InvalidTag","Closing tag '"+Z+"' has not been opened.",k($,L));else{const Y=f.pop();if(Z!==Y.tagName){let z=k($,Y.tagStartPos);return P("InvalidTag","Expected closing tag '"+Y.tagName+"' (opened in line "+z.line+", col "+z.col+") instead of closing tag '"+Z+"'.",k($,L))}if(f.length==0)U=!0}else{const Y=m4(F,w);if(Y!==!0)return P(Y.err.code,Y.err.msg,k($,W-F.length+Y.err.line));if(U===!0)return P("InvalidXml","Multiple possible root nodes found.",k($,W));else if(w.unpairedTags.indexOf(Z)!==-1);else f.push({tagName:Z,tagStartPos:L});G=!0}for(W++;W<$.length;W++)if($[W]==="<")if($[W+1]==="!"){W++,W=l4($,W);continue}else if($[W+1]==="?"){if(W=n4($,++W),W.err)return W}else break;else if($[W]==="&"){const Y=JR($,W);if(Y==-1)return P("InvalidChar","char '&' is not expected.",k($,W));W=Y}else if(U===!0&&!s4($[W]))return P("InvalidXml","Extra text at the end",k($,W));if($[W]==="<")W--}}else{if(s4($[W]))continue;return P("InvalidChar","char '"+$[W]+"' is not expected.",k($,W))}if(!G)return P("InvalidXml","Start tag expected.",1);else if(f.length==1)return P("InvalidTag","Unclosed tag '"+f[0].tagName+"'.",k($,f[0].tagStartPos));else if(f.length>0)return P("InvalidXml","Invalid '"+JSON.stringify(f.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var IR='"',zR="'",QR=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var r4=M((VR)=>{var i4={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function($,w){return w},attributeValueProcessor:function($,w){return w},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function($,w,f){return $}},TR=function($){return Object.assign({},i4,$)};VR.buildOptions=TR;VR.defaultOptions=i4});var a4=M((VO,t4)=>{class o4{constructor($){this.tagname=$,this.child=[],this[":@"]={}}add($,w){if($==="__proto__")$="#__proto__";this.child.push({[$]:w})}addChild($){if($.tagname==="__proto__")$.tagname="#__proto__";if($[":@"]&&Object.keys($[":@"]).length>0)this.child.push({[$.tagname]:$.child,[":@"]:$[":@"]});else this.child.push({[$.tagname]:$.child})}}t4.exports=o4});var $6=M((HO,e4)=>{var qR=function($,w){const f={};if($[w+3]==="O"&&$[w+4]==="C"&&$[w+5]==="T"&&$[w+6]==="Y"&&$[w+7]==="P"&&$[w+8]==="E"){w=w+9;let G=1,U=!1,W=!1,L="";for(;w<$.length;w++)if($[w]==="<"&&!W){if(U&&SR($,w)){if(w+=7,[entityName,val,w]=PR($,w+1),val.indexOf("&")===-1)f[DR(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(U&&bR($,w))w+=8;else if(U&&hR($,w))w+=8;else if(U&&kR($,w))w+=9;else if(jR)W=!0;else throw new Error("Invalid DOCTYPE");G++,L=""}else if($[w]===">"){if(W){if($[w-1]==="-"&&$[w-2]==="-")W=!1,G--}else G--;if(G===0)break}else if($[w]==="[")U=!0;else L+=$[w];if(G!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:f,i:w}},PR=function($,w){let f="";for(;w<$.length&&($[w]!=="'"&&$[w]!=='"');w++)f+=$[w];if(f=f.trim(),f.indexOf(" ")!==-1)throw new Error("External entites are not supported");const G=$[w++];let U="";for(;w<$.length&&$[w]!==G;w++)U+=$[w];return[f,U,w]},jR=function($,w){if($[w+1]==="!"&&$[w+2]==="-"&&$[w+3]==="-")return!0;return!1},SR=function($,w){if($[w+1]==="!"&&$[w+2]==="E"&&$[w+3]==="N"&&$[w+4]==="T"&&$[w+5]==="I"&&$[w+6]==="T"&&$[w+7]==="Y")return!0;return!1},bR=function($,w){if($[w+1]==="!"&&$[w+2]==="E"&&$[w+3]==="L"&&$[w+4]==="E"&&$[w+5]==="M"&&$[w+6]==="E"&&$[w+7]==="N"&&$[w+8]==="T")return!0;return!1},hR=function($,w){if($[w+1]==="!"&&$[w+2]==="A"&&$[w+3]==="T"&&$[w+4]==="T"&&$[w+5]==="L"&&$[w+6]==="I"&&$[w+7]==="S"&&$[w+8]==="T")return!0;return!1},kR=function($,w){if($[w+1]==="!"&&$[w+2]==="N"&&$[w+3]==="O"&&$[w+4]==="T"&&$[w+5]==="A"&&$[w+6]==="T"&&$[w+7]==="I"&&$[w+8]==="O"&&$[w+9]==="N")return!0;return!1},DR=function($){if(NR.isName($))return $;else throw new Error(`Invalid entity name ${$}`)},NR=f$();e4.exports=qR});var f6=M((CO,w6)=>{var xR=function($,w={}){if(w=Object.assign({},yR,w),!$||typeof $!=="string")return $;let f=$.trim();if(w.skipLike!==void 0&&w.skipLike.test(f))return $;else if(w.hex&&cR.test(f))return Number.parseInt(f,16);else{const G=vR.exec(f);if(G){const U=G[1],W=G[2];let L=uR(G[3]);const X=G[4]||G[6];if(!w.leadingZeros&&W.length>0&&U&&f[2]!==".")return $;else if(!w.leadingZeros&&W.length>0&&!U&&f[1]!==".")return $;else{const Z=Number(f),E=""+Z;if(E.search(/[eE]/)!==-1)if(w.eNotation)return Z;else return $;else if(X)if(w.eNotation)return Z;else return $;else if(f.indexOf(".")!==-1)if(E==="0"&&L==="")return Z;else if(E===L)return Z;else if(U&&E==="-"+L)return Z;else return $;if(W)if(L===E)return Z;else if(U+L===E)return Z;else return $;if(f===E)return Z;else if(f===U+E)return Z;return $}}else return $}},uR=function($){if($&&$.indexOf(".")!==-1){if($=$.replace(/0+$/,""),$===".")$="0";else if($[0]===".")$="0"+$;else if($[$.length-1]===".")$=$.substr(0,$.length-1);return $}return $},cR=/^[-+]?0x[a-fA-F0-9]+$/,vR=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;if(!Number.parseInt&&window.parseInt)Number.parseInt=window.parseInt;if(!Number.parseFloat&&window.parseFloat)Number.parseFloat=window.parseFloat;var yR={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};w6.exports=xR});var L6=M((NO,W6)=>{var pR=function($){const w=Object.keys($);for(let f=0;f<w.length;f++){const G=w[f];this.lastEntities[G]={regex:new RegExp("&"+G+";","g"),val:$[G]}}},gR=function($,w,f,G,U,W,L){if($!==void 0){if(this.options.trimValues&&!G)$=$.trim();if($.length>0){if(!L)$=this.replaceEntitiesValue($);const X=this.options.tagValueProcessor(w,$,f,U,W);if(X===null||X===void 0)return $;else if(typeof X!==typeof $||X!==$)return X;else if(this.options.trimValues)return xw($,this.options.parseTagValue,this.options.numberParseOptions);else if($.trim()===$)return xw($,this.options.parseTagValue,this.options.numberParseOptions);else return $}}},sR=function($){if(this.options.removeNSPrefix){const w=$.split(":"),f=$.charAt(0)==="/"?"/":"";if(w[0]==="xmlns")return"";if(w.length===2)$=f+w[1]}return $},lR=function($,w,f){if(!this.options.ignoreAttributes&&typeof $==="string"){const G=U6.getAllMatches($,nR),U=G.length,W={};for(let L=0;L<U;L++){const X=this.resolveNameSpace(G[L][1]);let Z=G[L][4],E=this.options.attributeNamePrefix+X;if(X.length){if(this.options.transformAttributeName)E=this.options.transformAttributeName(E);if(E==="__proto__")E="#__proto__";if(Z!==void 0){if(this.options.trimValues)Z=Z.trim();Z=this.replaceEntitiesValue(Z);const F=this.options.attributeValueProcessor(X,Z,w);if(F===null||F===void 0)W[E]=Z;else if(typeof F!==typeof Z||F!==Z)W[E]=F;else W[E]=xw(Z,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)W[E]=!0}}if(!Object.keys(W).length)return;if(this.options.attributesGroupName){const L={};return L[this.options.attributesGroupName]=W,L}return W}},iR=function($,w,f){const G=this.options.updateTag(w.tagname,f,w[":@"]);if(G===!1);else if(typeof G==="string")w.tagname=G,$.addChild(w);else $.addChild(w)},oR=function($,w,f,G){if($){if(G===void 0)G=Object.keys(w.child).length===0;if($=this.parseTextData($,w.tagname,f,!1,w[":@"]?Object.keys(w[":@"]).length!==0:!1,G),$!==void 0&&$!=="")w.add(this.options.textNodeName,$);$=""}return $},tR=function($,w,f){const G="*."+f;for(let U in $){const W=$[U];if(G===W||w===W)return!0}return!1},aR=function($,w,f=">"){let G,U="";for(let W=w;W<$.length;W++){let L=$[W];if(G){if(L===G)G=""}else if(L==='"'||L==="'")G=L;else if(L===f[0])if(f[1]){if($[W+1]===f[1])return{data:U,index:W}}else return{data:U,index:W};else if(L==="\t")L=" ";U+=L}},R0=function($,w,f,G){const U=$.indexOf(w,f);if(U===-1)throw new Error(G);else return U+w.length-1},yw=function($,w,f,G=">"){const U=aR($,w+1,G);if(!U)return;let W=U.data;const L=U.index,X=W.search(/\s/);let Z=W,E=!0;if(X!==-1)Z=W.substring(0,X),W=W.substring(X+1).trimStart();const F=Z;if(f){const Y=Z.indexOf(":");if(Y!==-1)Z=Z.substr(Y+1),E=Z!==U.data.substr(Y+1)}return{tagName:Z,tagExp:W,closeIndex:L,attrExpPresent:E,rawTagName:F}},eR=function($,w,f){const G=f;let U=1;for(;f<$.length;f++)if($[f]==="<")if($[f+1]==="/"){const W=R0($,">",f,`${w} is not closed`);if($.substring(f+2,W).trim()===w){if(U--,U===0)return{tagContent:$.substring(G,f),i:W}}f=W}else if($[f+1]==="?")f=R0($,"?>",f+1,"StopNode is not closed.");else if($.substr(f+1,3)==="!--")f=R0($,"-->",f+3,"StopNode is not closed.");else if($.substr(f+1,2)==="![")f=R0($,"]]>",f,"StopNode is not closed.")-2;else{const W=yw($,f,">");if(W){if((W&&W.tagName)===w&&W.tagExp[W.tagExp.length-1]!=="/")U++;f=W.closeIndex}}},xw=function($,w,f){if(w&&typeof $==="string"){const G=$.trim();if(G==="true")return!0;else if(G==="false")return!1;else return dR($,f)}else if(U6.isExist($))return $;else return""},U6=f$(),a0=a4(),_R=$6(),dR=f6();class G6{constructor($){this.options=$,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:"\""}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(w,f)=>String.fromCharCode(Number.parseInt(f,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(w,f)=>String.fromCharCode(Number.parseInt(f,16))}},this.addExternalEntities=pR,this.parseXml=mR,this.parseTextData=gR,this.resolveNameSpace=sR,this.buildAttributesMap=lR,this.isItStopNode=tR,this.replaceEntitiesValue=rR,this.readStopNodeData=eR,this.saveTextToParentTag=oR,this.addChild=iR}}var nR=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),mR=function($){$=$.replace(/\r\n?/g,"\n");const w=new a0("!xml");let f=w,G="",U="";for(let W=0;W<$.length;W++)if($[W]==="<")if($[W+1]==="/"){const X=R0($,">",W,"Closing Tag is not closed.");let Z=$.substring(W+2,X).trim();if(this.options.removeNSPrefix){const Y=Z.indexOf(":");if(Y!==-1)Z=Z.substr(Y+1)}if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(f)G=this.saveTextToParentTag(G,f,U);const E=U.substring(U.lastIndexOf(".")+1);if(Z&&this.options.unpairedTags.indexOf(Z)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${Z}>`);let F=0;if(E&&this.options.unpairedTags.indexOf(E)!==-1)F=U.lastIndexOf(".",U.lastIndexOf(".")-1),this.tagsNodeStack.pop();else F=U.lastIndexOf(".");U=U.substring(0,F),f=this.tagsNodeStack.pop(),G="",W=X}else if($[W+1]==="?"){let X=yw($,W,!1,"?>");if(!X)throw new Error("Pi Tag is not closed.");if(G=this.saveTextToParentTag(G,f,U),this.options.ignoreDeclaration&&X.tagName==="?xml"||this.options.ignorePiTags);else{const Z=new a0(X.tagName);if(Z.add(this.options.textNodeName,""),X.tagName!==X.tagExp&&X.attrExpPresent)Z[":@"]=this.buildAttributesMap(X.tagExp,U,X.tagName);this.addChild(f,Z,U)}W=X.closeIndex+1}else if($.substr(W+1,3)==="!--"){const X=R0($,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){const Z=$.substring(W+4,X-2);G=this.saveTextToParentTag(G,f,U),f.add(this.options.commentPropName,[{[this.options.textNodeName]:Z}])}W=X}else if($.substr(W+1,2)==="!D"){const X=_R($,W);this.docTypeEntities=X.entities,W=X.i}else if($.substr(W+1,2)==="!["){const X=R0($,"]]>",W,"CDATA is not closed.")-2,Z=$.substring(W+9,X);G=this.saveTextToParentTag(G,f,U);let E=this.parseTextData(Z,f.tagname,U,!0,!1,!0,!0);if(E==null)E="";if(this.options.cdataPropName)f.add(this.options.cdataPropName,[{[this.options.textNodeName]:Z}]);else f.add(this.options.textNodeName,E);W=X+2}else{let X=yw($,W,this.options.removeNSPrefix),Z=X.tagName;const E=X.rawTagName;let{tagExp:F,attrExpPresent:Y,closeIndex:z}=X;if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(f&&G){if(f.tagname!=="!xml")G=this.saveTextToParentTag(G,f,U,!1)}const I=f;if(I&&this.options.unpairedTags.indexOf(I.tagname)!==-1)f=this.tagsNodeStack.pop(),U=U.substring(0,U.lastIndexOf("."));if(Z!==w.tagname)U+=U?"."+Z:Z;if(this.isItStopNode(this.options.stopNodes,U,Z)){let R="";if(F.length>0&&F.lastIndexOf("/")===F.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),U=U.substr(0,U.length-1),F=Z;else F=F.substr(0,F.length-1);W=X.closeIndex}else if(this.options.unpairedTags.indexOf(Z)!==-1)W=X.closeIndex;else{const O=this.readStopNodeData($,E,z+1);if(!O)throw new Error(`Unexpected end of ${E}`);W=O.i,R=O.tagContent}const J=new a0(Z);if(Z!==F&&Y)J[":@"]=this.buildAttributesMap(F,U,Z);if(R)R=this.parseTextData(R,Z,U,!0,Y,!0,!0);U=U.substr(0,U.lastIndexOf(".")),J.add(this.options.textNodeName,R),this.addChild(f,J,U)}else{if(F.length>0&&F.lastIndexOf("/")===F.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),U=U.substr(0,U.length-1),F=Z;else F=F.substr(0,F.length-1);if(this.options.transformTagName)Z=this.options.transformTagName(Z);const R=new a0(Z);if(Z!==F&&Y)R[":@"]=this.buildAttributesMap(F,U,Z);this.addChild(f,R,U),U=U.substr(0,U.lastIndexOf("."))}else{const R=new a0(Z);if(this.tagsNodeStack.push(f),Z!==F&&Y)R[":@"]=this.buildAttributesMap(F,U,Z);this.addChild(f,R,U),f=R}G="",W=z}}else G+=$[W];return w.child},rR=function($){if(this.options.processEntities){for(let w in this.docTypeEntities){const f=this.docTypeEntities[w];$=$.replace(f.regx,f.val)}for(let w in this.lastEntities){const f=this.lastEntities[w];$=$.replace(f.regex,f.val)}if(this.options.htmlEntities)for(let w in this.htmlEntities){const f=this.htmlEntities[w];$=$.replace(f.regex,f.val)}$=$.replace(this.ampEntity.regex,this.ampEntity.val)}return $};W6.exports=G6});var Z6=M((GQ)=>{var $Q=function($,w){return X6($,w)},X6=function($,w,f){let G;const U={};for(let W=0;W<$.length;W++){const L=$[W],X=wQ(L);let Z="";if(f===void 0)Z=X;else Z=f+"."+X;if(X===w.textNodeName)if(G===void 0)G=L[X];else G+=""+L[X];else if(X===void 0)continue;else if(L[X]){let E=X6(L[X],w,Z);const F=UQ(E,w);if(L[":@"])fQ(E,L[":@"],Z,w);else if(Object.keys(E).length===1&&E[w.textNodeName]!==void 0&&!w.alwaysCreateTextNode)E=E[w.textNodeName];else if(Object.keys(E).length===0)if(w.alwaysCreateTextNode)E[w.textNodeName]="";else E="";if(U[X]!==void 0&&U.hasOwnProperty(X)){if(!Array.isArray(U[X]))U[X]=[U[X]];U[X].push(E)}else if(w.isArray(X,Z,F))U[X]=[E];else U[X]=E}}if(typeof G==="string"){if(G.length>0)U[w.textNodeName]=G}else if(G!==void 0)U[w.textNodeName]=G;return U},wQ=function($){const w=Object.keys($);for(let f=0;f<w.length;f++){const G=w[f];if(G!==":@")return G}},fQ=function($,w,f,G){if(w){const U=Object.keys(w),W=U.length;for(let L=0;L<W;L++){const X=U[L];if(G.isArray(X,f+"."+X,!0,!0))$[X]=[w[X]];else $[X]=w[X]}}},UQ=function($,w){const{textNodeName:f}=w,G=Object.keys($).length;if(G===0)return!0;if(G===1&&($[f]||typeof $[f]==="boolean"||$[f]===0))return!0;return!1};GQ.prettify=$Q});var Y6=M((PO,F6)=>{var{buildOptions:LQ}=r4(),XQ=L6(),{prettify:ZQ}=Z6(),EQ=vw();class E6{constructor($){this.externalEntities={},this.options=LQ($)}parse($,w){if(typeof $==="string");else if($.toString)$=$.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(w){if(w===!0)w={};const U=EQ.validate($,w);if(U!==!0)throw Error(`${U.err.msg}:${U.err.line}:${U.err.col}`)}const f=new XQ(this.options);f.addExternalEntities(this.externalEntities);const G=f.parseXml($);if(this.options.preserveOrder||G===void 0)return G;else return ZQ(G,this.options)}addEntity($,w){if(w.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if($.indexOf("&")!==-1||$.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");else if(w==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[$]=w}}F6.exports=E6});var M6=M((jO,Q6)=>{var FQ=function($,w){let f="";if(w.format&&w.indentBy.length>0)f="\n";return z6($,w,"",f)},z6=function($,w,f,G){let U="",W=!1;for(let L=0;L<$.length;L++){const X=$[L],Z=YQ(X);if(Z===void 0)continue;let E="";if(f.length===0)E=Z;else E=`${f}.${Z}`;if(Z===w.textNodeName){let R=X[Z];if(!IQ(E,w))R=w.tagValueProcessor(Z,R),R=R6(R,w);if(W)U+=G;U+=R,W=!1;continue}else if(Z===w.cdataPropName){if(W)U+=G;U+=`<![CDATA[${X[Z][0][w.textNodeName]}]]>`,W=!1;continue}else if(Z===w.commentPropName){U+=G+`<!--${X[Z][0][w.textNodeName]}-->`,W=!0;continue}else if(Z[0]==="?"){const R=I6(X[":@"],w),J=Z==="?xml"?"":G;let O=X[Z][0][w.textNodeName];O=O.length!==0?" "+O:"",U+=J+`<${Z}${O}${R}?>`,W=!0;continue}let F=G;if(F!=="")F+=w.indentBy;const Y=I6(X[":@"],w),z=G+`<${Z}${Y}`,I=z6(X[Z],w,E,F);if(w.unpairedTags.indexOf(Z)!==-1)if(w.suppressUnpairedNode)U+=z+">";else U+=z+"/>";else if((!I||I.length===0)&&w.suppressEmptyNode)U+=z+"/>";else if(I&&I.endsWith(">"))U+=z+`>${I}${G}</${Z}>`;else{if(U+=z+">",I&&G!==""&&(I.includes("/>")||I.includes("</")))U+=G+w.indentBy+I+G;else U+=I;U+=`</${Z}>`}W=!0}return U},YQ=function($){const w=Object.keys($);for(let f=0;f<w.length;f++){const G=w[f];if(!$.hasOwnProperty(G))continue;if(G!==":@")return G}},I6=function($,w){let f="";if($&&!w.ignoreAttributes)for(let G in $){if(!$.hasOwnProperty(G))continue;let U=w.attributeValueProcessor(G,$[G]);if(U=R6(U,w),U===!0&&w.suppressBooleanAttributes)f+=` ${G.substr(w.attributeNamePrefix.length)}`;else f+=` ${G.substr(w.attributeNamePrefix.length)}="${U}"`}return f},IQ=function($,w){$=$.substr(0,$.length-w.textNodeName.length-1);let f=$.substr($.lastIndexOf(".")+1);for(let G in w.stopNodes)if(w.stopNodes[G]===$||w.stopNodes[G]==="*."+f)return!0;return!1},R6=function($,w){if($&&$.length>0&&w.processEntities)for(let f=0;f<w.entities.length;f++){const G=w.entities[f];$=$.replace(G.regex,G.val)}return $};Q6.exports=FQ});var K6=M((SO,J6)=>{var W0=function($){if(this.options=Object.assign({},RQ,$),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=JQ;if(this.processTextOrObjNode=QQ,this.options.format)this.indentate=MQ,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},QQ=function($,w,f){const G=this.j2x($,f+1);if($[this.options.textNodeName]!==void 0&&Object.keys($).length===1)return this.buildTextValNode($[this.options.textNodeName],w,G.attrStr,f);else return this.buildObjectNode(G.val,w,G.attrStr,f)},MQ=function($){return this.options.indentBy.repeat($)},JQ=function($){if($.startsWith(this.options.attributeNamePrefix)&&$!==this.options.textNodeName)return $.substr(this.attrPrefixLen);else return!1},zQ=M6(),RQ={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function($,w){return w},attributeValueProcessor:function($,w){return w},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("\'","g"),val:"'"},{regex:new RegExp("\"","g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};W0.prototype.build=function($){if(this.options.preserveOrder)return zQ($,this.options);else{if(Array.isArray($)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)$={[this.options.arrayNodeName]:$};return this.j2x($,0).val}};W0.prototype.j2x=function($,w){let f="",G="";for(let U in $){if(!Object.prototype.hasOwnProperty.call($,U))continue;if(typeof $[U]==="undefined"){if(this.isAttribute(U))G+=""}else if($[U]===null)if(this.isAttribute(U))G+="";else if(U[0]==="?")G+=this.indentate(w)+"<"+U+"?"+this.tagEndChar;else G+=this.indentate(w)+"<"+U+"/"+this.tagEndChar;else if($[U]instanceof Date)G+=this.buildTextValNode($[U],U,"",w);else if(typeof $[U]!=="object"){const W=this.isAttribute(U);if(W)f+=this.buildAttrPairStr(W,""+$[U]);else if(U===this.options.textNodeName){let L=this.options.tagValueProcessor(U,""+$[U]);G+=this.replaceEntitiesValue(L)}else G+=this.buildTextValNode($[U],U,"",w)}else if(Array.isArray($[U])){const W=$[U].length;let L="",X="";for(let Z=0;Z<W;Z++){const E=$[U][Z];if(typeof E==="undefined");else if(E===null)if(U[0]==="?")G+=this.indentate(w)+"<"+U+"?"+this.tagEndChar;else G+=this.indentate(w)+"<"+U+"/"+this.tagEndChar;else if(typeof E==="object")if(this.options.oneListGroup){const F=this.j2x(E,w+1);if(L+=F.val,this.options.attributesGroupName&&E.hasOwnProperty(this.options.attributesGroupName))X+=F.attrStr}else L+=this.processTextOrObjNode(E,U,w);else if(this.options.oneListGroup){let F=this.options.tagValueProcessor(U,E);F=this.replaceEntitiesValue(F),L+=F}else L+=this.buildTextValNode(E,U,"",w)}if(this.options.oneListGroup)L=this.buildObjectNode(L,U,X,w);G+=L}else if(this.options.attributesGroupName&&U===this.options.attributesGroupName){const W=Object.keys($[U]),L=W.length;for(let X=0;X<L;X++)f+=this.buildAttrPairStr(W[X],""+$[U][W[X]])}else G+=this.processTextOrObjNode($[U],U,w)}return{attrStr:f,val:G}};W0.prototype.buildAttrPairStr=function($,w){if(w=this.options.attributeValueProcessor($,""+w),w=this.replaceEntitiesValue(w),this.options.suppressBooleanAttributes&&w==="true")return" "+$;else return" "+$+'="'+w+'"'};W0.prototype.buildObjectNode=function($,w,f,G){if($==="")if(w[0]==="?")return this.indentate(G)+"<"+w+f+"?"+this.tagEndChar;else return this.indentate(G)+"<"+w+f+this.closeTag(w)+this.tagEndChar;else{let U="</"+w+this.tagEndChar,W="";if(w[0]==="?")W="?",U="";if((f||f==="")&&$.indexOf("<")===-1)return this.indentate(G)+"<"+w+f+W+">"+$+U;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName&&W.length===0)return this.indentate(G)+`<!--${$}-->`+this.newLine;else return this.indentate(G)+"<"+w+f+W+this.tagEndChar+$+this.indentate(G)+U}};W0.prototype.closeTag=function($){let w="";if(this.options.unpairedTags.indexOf($)!==-1){if(!this.options.suppressUnpairedNode)w="/"}else if(this.options.suppressEmptyNode)w="/";else w=`></${$}`;return w};W0.prototype.buildTextValNode=function($,w,f,G){if(this.options.cdataPropName!==!1&&w===this.options.cdataPropName)return this.indentate(G)+`<![CDATA[${$}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName)return this.indentate(G)+`<!--${$}-->`+this.newLine;else if(w[0]==="?")return this.indentate(G)+"<"+w+f+"?"+this.tagEndChar;else{let U=this.options.tagValueProcessor(w,$);if(U=this.replaceEntitiesValue(U),U==="")return this.indentate(G)+"<"+w+f+this.closeTag(w)+this.tagEndChar;else return this.indentate(G)+"<"+w+f+">"+U+"</"+w+this.tagEndChar}};W0.prototype.replaceEntitiesValue=function($){if($&&$.length>0&&this.options.processEntities)for(let w=0;w<this.options.entities.length;w++){const f=this.options.entities[w];$=$.replace(f.regex,f.val)}return $};J6.exports=W0});var O6=M((bO,A6)=>{var KQ=vw(),AQ=Y6(),OQ=K6();A6.exports={XMLParser:AQ,XMLValidator:KQ,XMLBuilder:OQ}});var N6=M((hO,C6)=>{var{defineProperty:U$,getOwnPropertyDescriptor:BQ,getOwnPropertyNames:TQ}=Object,VQ=Object.prototype.hasOwnProperty,v=($,w)=>U$($,"name",{value:w,configurable:!0}),HQ=($,w)=>{for(var f in w)U$($,f,{get:w[f],enumerable:!0})},CQ=($,w,f,G)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let U of TQ(w))if(!VQ.call($,U)&&U!==f)U$($,U,{get:()=>w[U],enumerable:!(G=BQ(w,U))||G.enumerable})}return $},NQ=($)=>CQ(U$({},"__esModule",{value:!0}),$),B6={};HQ(B6,{_toBool:()=>PQ,_toNum:()=>jQ,_toStr:()=>qQ,awsExpectUnion:()=>bQ,loadRestJsonErrorCode:()=>DQ,loadRestXmlErrorCode:()=>xQ,parseJsonBody:()=>V6,parseJsonErrorBody:()=>kQ,parseXmlBody:()=>H6,parseXmlErrorBody:()=>yQ});C6.exports=NQ(B6);var qQ=v(($)=>{if($==null)return $;if(typeof $==="number"||typeof $==="bigint"){const w=new Error(`Received number ${$} where a string was expected.`);return w.name="Warning",console.warn(w),String($)}if(typeof $==="boolean"){const w=new Error(`Received boolean ${$} where a string was expected.`);return w.name="Warning",console.warn(w),String($)}return $},"_toStr"),PQ=v(($)=>{if($==null)return $;if(typeof $==="string"){const w=$.toLowerCase();if($!==""&&w!=="false"&&w!=="true"){const f=new Error(`Received string "${$}" where a boolean was expected.`);f.name="Warning",console.warn(f)}return $!==""&&w!=="false"}return $},"_toBool"),jQ=v(($)=>{if($==null)return $;if(typeof $==="string"){const w=Number($);if(w.toString()!==$){const f=new Error(`Received string "${$}" where a number was expected.`);return f.name="Warning",console.warn(f),$}return w}return $},"_toNum"),SQ=T0(),bQ=v(($)=>{if($==null)return;if(typeof $==="object"&&"__type"in $)delete $.__type;return SQ.expectUnion($)},"awsExpectUnion"),hQ=T0(),T6=v(($,w)=>hQ.collectBody($,w).then((f)=>w.utf8Encoder(f)),"collectBodyString"),V6=v(($,w)=>T6($,w).then((f)=>{if(f.length)try{return JSON.parse(f)}catch(G){if((G==null?void 0:G.name)==="SyntaxError")Object.defineProperty(G,"$responseBodyText",{value:f});throw G}return{}}),"parseJsonBody"),kQ=v(async($,w)=>{const f=await V6($,w);return f.message=f.message??f.Message,f},"parseJsonErrorBody"),DQ=v(($,w)=>{const f=v((W,L)=>Object.keys(W).find((X)=>X.toLowerCase()===L.toLowerCase()),"findKey"),G=v((W)=>{let L=W;if(typeof L==="number")L=L.toString();if(L.indexOf(",")>=0)L=L.split(",")[0];if(L.indexOf(":")>=0)L=L.split(":")[0];if(L.indexOf("#")>=0)L=L.split("#")[1];return L},"sanitizeErrorCode"),U=f($.headers,"x-amzn-errortype");if(U!==void 0)return G($.headers[U]);if(w.code!==void 0)return G(w.code);if(w.__type!==void 0)return G(w.__type)},"loadRestJsonErrorCode"),cQ=T0(),vQ=O6(),H6=v(($,w)=>T6($,w).then((f)=>{if(f.length){const G=new vQ.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(Z,E)=>E.trim()===""&&E.includes("\n")?"":void 0});G.addEntity("#xD","\r"),G.addEntity("#10","\n");let U;try{U=G.parse(f,!0)}catch(Z){if(Z&&typeof Z==="object")Object.defineProperty(Z,"$responseBodyText",{value:f});throw Z}const W="#text",L=Object.keys(U)[0],X=U[L];if(X[W])X[L]=X[W],delete X[W];return cQ.getValueFromTextNode(X)}return{}}),"parseXmlBody"),yQ=v(async($,w)=>{const f=await H6($,w);if(f.Error)f.Error.message=f.Error.message??f.Error.Message;return f},"parseXmlErrorBody"),xQ=v(($,w)=>{var f;if(((f=w==null?void 0:w.Error)==null?void 0:f.Code)!==void 0)return w.Error.Code;if((w==null?void 0:w.Code)!==void 0)return w.Code;if($.statusCode==404)return"NotFound"},"loadRestXmlErrorCode")});var uQ=M((e0)=>{Object.defineProperty(e0,"__esModule",{value:!0});var uw=X4();uw.__exportStar(Y4(),e0);uw.__exportStar(d4(),e0);uw.__exportStar(N6(),e0)});function w9($){return $}var u6=($)=>(w)=>async(f)=>{if(!x.isInstance(f.request))return w(f);const{request:G}=f,{handlerProtocol:U=""}=$.requestHandler.metadata||{};if(U.indexOf("h2")>=0&&!G.headers[":authority"])delete G.headers.host,G.headers[":authority"]=G.hostname+(G.port?":"+G.port:"");else if(!G.headers.host){let W=G.hostname;if(G.port!=null)W+=`:${G.port}`;G.headers.host=W}return w(f)},_6={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},f9=($)=>({applyToStack:(w)=>{w.add(u6($),_6)}});var d6=()=>($,w)=>async(f)=>{try{const G=await $(f),{clientName:U,commandName:W,logger:L,dynamoDbDocumentClientOptions:X={}}=w,{overrideInputFilterSensitiveLog:Z,overrideOutputFilterSensitiveLog:E}=X,F=Z??w.inputFilterSensitiveLog,Y=E??w.outputFilterSensitiveLog,{$metadata:z,...I}=G.output;return L?.info?.({clientName:U,commandName:W,input:F(f.input),output:Y(I),metadata:z}),G}catch(G){const{clientName:U,commandName:W,logger:L,dynamoDbDocumentClientOptions:X={}}=w,{overrideInputFilterSensitiveLog:Z}=X,E=Z??w.inputFilterSensitiveLog;throw L?.error?.({clientName:U,commandName:W,input:E(f.input),error:G,metadata:G.$metadata}),G}},p6={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},G9=($)=>({applyToStack:(w)=>{w.add(d6(),p6)}});var nw="X-Amzn-Trace-Id",g6="AWS_LAMBDA_FUNCTION_NAME",s6="_X_AMZN_TRACE_ID",n6=($)=>(w)=>async(f)=>{const{request:G}=f;if(!x.isInstance(G)||$.runtime!=="node"||G.headers.hasOwnProperty(nw))return w(f);const U=process.env[g6],W=process.env[s6],L=(X)=>typeof X==="string"&&X.length>0;if(L(U)&&L(W))G.headers[nw]=W;return w({...f,request:G})},l6={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},E9=($)=>({applyToStack:(w)=>{w.add(n6($),l6)}});function F7($){return{...$,customUserAgent:typeof $.customUserAgent==="string"?[[$.customUserAgent]]:$.customUserAgent}}var Jz=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),n0=($)=>Jz.test($)||$.startsWith("[")&&$.endsWith("]");var Kz=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),l0=($,w=!1)=>{if(!w)return Kz.test($);const f=$.split(".");for(let G of f)if(!l0(G))return!1;return!0};var m0={};var a="endpoints";function _($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`\$${_($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(_).join(", ")})`;return JSON.stringify($,null,2)}class T extends Error{constructor($){super($);this.name="EndpointError"}}var nL=($,w)=>$===w;var lL=($)=>{const w=$.split("."),f=[];for(let G of w){const U=G.indexOf("[");if(U!==-1){if(G.indexOf("]")!==G.length-1)throw new T(`Path: '${$}' does not end with ']'`);const W=G.slice(U+1,-1);if(Number.isNaN(parseInt(W)))throw new T(`Invalid array index: '${W}' in path: '${$}'`);if(U!==0)f.push(G.slice(0,U));f.push(W)}else f.push(G)}return f};var S1=($,w)=>lL(w).reduce((f,G)=>{if(typeof f!=="object")throw new T(`Index '${G}' in '${w}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(f))return f[parseInt(G)];return f[G]},$);var mL=($)=>$!=null;var iL=($)=>!$;var b1=D(Q0(),1);var Ww={[b1.EndpointURLScheme.HTTP]:80,[b1.EndpointURLScheme.HTTPS]:443},rL=($)=>{const w=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){const{hostname:z,port:I,protocol:R="",path:J="",query:O={}}=$,K=new URL(`${R}//${z}${I?`:${I}`:""}${J}`);return K.search=Object.entries(O).map(([A,B])=>`${A}=${B}`).join("&"),K}return new URL($)}catch(z){return null}})();if(!w)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;const f=w.href,{host:G,hostname:U,pathname:W,protocol:L,search:X}=w;if(X)return null;const Z=L.slice(0,-1);if(!Object.values(b1.EndpointURLScheme).includes(Z))return null;const E=n0(U),F=f.includes(`${G}:${Ww[Z]}`)||typeof $==="string"&&$.includes(`${G}:${Ww[Z]}`),Y=`${G}${F?`:${Ww[Z]}`:""}`;return{scheme:Z,authority:Y,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:E}};var oL=($,w)=>$===w;var tL=($,w,f,G)=>{if(w>=f||$.length<f)return null;if(!G)return $.substring(w,f);return $.substring($.length-f,$.length-w)};var aL=($)=>encodeURIComponent($).replace(/[!*'()]/g,(w)=>`%${w.charCodeAt(0).toString(16).toUpperCase()}`);var eL={booleanEquals:nL,getAttr:S1,isSet:mL,isValidHostLabel:l0,not:iL,parseURL:rL,stringEquals:oL,substring:tL,uriEncode:aL};var h1=($,w)=>{const f=[],G={...w.endpointParams,...w.referenceRecord};let U=0;while(U<$.length){const W=$.indexOf("{",U);if(W===-1){f.push($.slice(U));break}f.push($.slice(U,W));const L=$.indexOf("}",W);if(L===-1){f.push($.slice(W));break}if($[W+1]==="{"&&$[L+1]==="}")f.push($.slice(W+1,L)),U=L+2;const X=$.substring(W+1,L);if(X.includes("#")){const[Z,E]=X.split("#");f.push(S1(G[Z],E))}else f.push(G[X]);U=L+1}return f.join("")};var $8=({ref:$},w)=>{return{...w.endpointParams,...w.referenceRecord}[$]};var f0=($,w,f)=>{if(typeof $==="string")return h1($,f);else if($.fn)return k1($,f);else if($.ref)return $8($,f);throw new T(`'${w}': ${String($)} is not a string, function or reference.`)};var k1=({fn:$,argv:w},f)=>{const G=w.map((W)=>["boolean","number"].includes(typeof W)?W:f0(W,"arg",f)),U=$.split(".");if(U[0]in m0&&U[1]!=null)return m0[U[0]][U[1]](...G);return eL[$](...G)};var w8=({assign:$,...w},f)=>{if($&&$ in f.referenceRecord)throw new T(`'${$}' is already defined in Reference Record.`);const G=k1(w,f);return f.logger?.debug?.(`${a} evaluateCondition: ${_(w)} = ${_(G)}`),{result:G===""?!0:!!G,...$!=null&&{toAssign:{name:$,value:G}}}};var H0=($=[],w)=>{const f={};for(let G of $){const{result:U,toAssign:W}=w8(G,{...w,referenceRecord:{...w.referenceRecord,...f}});if(!U)return{result:U};if(W)f[W.name]=W.value,w.logger?.debug?.(`${a} assign: ${W.name} := ${_(W.value)}`)}return{result:!0,referenceRecord:f}};var f8=($,w)=>Object.entries($).reduce((f,[G,U])=>({...f,[G]:U.map((W)=>{const L=f0(W,"Header value entry",w);if(typeof L!=="string")throw new T(`Header '${G}' value '${L}' is not a string`);return L})}),{});var Lw=($,w)=>{if(Array.isArray($))return $.map((f)=>Lw(f,w));switch(typeof $){case"string":return h1($,w);case"object":if($===null)throw new T(`Unexpected endpoint property: ${$}`);return D1($,w);case"boolean":return $;default:throw new T(`Unexpected endpoint property type: ${typeof $}`)}};var D1=($,w)=>Object.entries($).reduce((f,[G,U])=>({...f,[G]:Lw(U,w)}),{});var U8=($,w)=>{const f=f0($,"Endpoint URL",w);if(typeof f==="string")try{return new URL(f)}catch(G){throw console.error(`Failed to construct URL with ${f}`,G),G}throw new T(`Endpoint URL must be a string, got ${typeof f}`)};var G8=($,w)=>{const{conditions:f,endpoint:G}=$,{result:U,referenceRecord:W}=H0(f,w);if(!U)return;const L={...w,referenceRecord:{...w.referenceRecord,...W}},{url:X,properties:Z,headers:E}=G;return w.logger?.debug?.(`${a} Resolving endpoint from template: ${_(G)}`),{...E!=null&&{headers:f8(E,L)},...Z!=null&&{properties:D1(Z,L)},url:U8(X,L)}};var W8=($,w)=>{const{conditions:f,error:G}=$,{result:U,referenceRecord:W}=H0(f,w);if(!U)return;throw new T(f0(G,"Error",{...w,referenceRecord:{...w.referenceRecord,...W}}))};var L8=($,w)=>{const{conditions:f,rules:G}=$,{result:U,referenceRecord:W}=H0(f,w);if(!U)return;return c1(G,{...w,referenceRecord:{...w.referenceRecord,...W}})};var c1=($,w)=>{for(let f of $)if(f.type==="endpoint"){const G=G8(f,w);if(G)return G}else if(f.type==="error")W8(f,w);else if(f.type==="tree"){const G=L8(f,w);if(G)return G}else throw new T(`Unknown endpoint rule: ${f}`);throw new T("Rules evaluation failed")};var Az=($,w)=>{const{endpointParams:f,logger:G}=w,{parameters:U,rules:W}=$;w.logger?.debug?.(`${a} Initial EndpointParams: ${_(f)}`);const L=Object.entries(U).filter(([,E])=>E.default!=null).map(([E,F])=>[E,F.default]);if(L.length>0)for(let[E,F]of L)f[E]=f[E]??F;const X=Object.entries(U).filter(([,E])=>E.required).map(([E])=>E);for(let E of X)if(f[E]==null)throw new T(`Missing required parameter: '${E}'`);const Z=c1(W,{endpointParams:f,logger:G,referenceRecord:{}});if(w.endpointParams?.Endpoint)try{const E=new URL(w.endpointParams.Endpoint),{protocol:F,port:Y}=E;Z.url.protocol=F,Z.url.port=Y}catch(E){}return w.logger?.debug?.(`${a} Resolved endpoint: ${_(Z)}`),Z};var Xw=($,w=!1)=>{if(w){for(let f of $.split("."))if(!Xw(f))return!1;return!0}if(!l0($))return!1;if($.length<3||$.length>63)return!1;if($!==$.toLowerCase())return!1;if(n0($))return!1;return!0};var X8=($)=>{const w=$.split(":");if(w.length<6)return null;const[f,G,U,W,L,...X]=w;if(f!=="arn"||G===""||U===""||X[0]==="")return null;return{partition:G,service:U,region:W,accountId:L,resourceId:X[0].includes("/")?X[0].split("/"):X}};var Z8={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"};var Bz=Z8,Tz="",E8=($)=>{const{partitions:w}=Bz;for(let G of w){const{regions:U,outputs:W}=G;for(let[L,X]of Object.entries(U))if(L===$)return{...W,...X}}for(let G of w){const{regionRegex:U,outputs:W}=G;if(new RegExp(U).test($))return{...W}}const f=w.find((G)=>G.id==="aws");if(!f)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...f.outputs}};var F8=()=>Tz;var Vz={isVirtualHostableS3Bucket:Xw,parseArn:X8,partition:E8};m0.aws=Vz;var Zw="user-agent",v1="x-amz-user-agent",Ew=" ",y1="/",Y8=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,I8=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Fw="-";var Hz=($)=>(w,f)=>async(G)=>{const{request:U}=G;if(!x.isInstance(U))return w(G);const{headers:W}=U,L=f?.userAgent?.map(Yw)||[],X=(await $.defaultUserAgentProvider()).map(Yw),Z=$?.customUserAgent?.map(Yw)||[],E=F8(),F=(E?[E]:[]).concat([...X,...L,...Z]).join(Ew),Y=[...X.filter((z)=>z.startsWith("aws-sdk-")),...Z].join(Ew);if($.runtime!=="browser"){if(Y)W[v1]=W[v1]?`${W[Zw]} ${Y}`:Y;W[Zw]=F}else W[v1]=F;return w({...G,request:U})},Yw=($)=>{const w=$[0].split(y1).map((L)=>L.replace(Y8,Fw)).join(y1),f=$[1]?.replace(I8,Fw),G=w.indexOf(y1),U=w.substring(0,G);let W=w.substring(G+1);if(U==="api")W=W.toLowerCase();return[U,W,f].filter((L)=>L&&L.length>0).reduce((L,X,Z)=>{switch(Z){case 0:return X;case 1:return`${L}/${X}`;default:return`${L}#${X}`}},"")},Cz={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},gJ=($)=>({applyToStack:(w)=>{w.add(Hz($),Cz)}});var x1=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips"));var Iw=($)=>x1($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$;var eJ=($)=>{const{region:w,useFipsEndpoint:f}=$;if(!w)throw new Error("Region is missing");return{...$,region:async()=>{if(typeof w==="string")return Iw(w);const G=await w();return Iw(G)},useFipsEndpoint:async()=>{const G=typeof w==="string"?w:await w();if(x1(G))return!0;return typeof f!=="function"?Promise.resolve(!!f):f()}}};var C0=($,w,f)=>{if(!(w in $))return;if($[w]==="true")return!0;if($[w]==="false")return!1;throw new Error(`Cannot load ${f} "${w}". Expected "true" or "false", got ${$[w]}.`)};var U0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(U0||(U0={}));var Nz="AWS_USE_DUALSTACK_ENDPOINT",qz="use_dualstack_endpoint";var E3={environmentVariableSelector:($)=>C0($,Nz,U0.ENV),configFileSelector:($)=>C0($,qz,U0.CONFIG),default:!1};var Pz="AWS_USE_FIPS_ENDPOINT",jz="use_fips_endpoint";var I3={environmentVariableSelector:($)=>C0($,Pz,U0.ENV),configFileSelector:($)=>C0($,jz,U0.CONFIG),default:!1};var Sz=D(l(),1);var bz=D(l(),1);var z8={environmentVariableSelector:($)=>$["AWS_REGION"],configFileSelector:($)=>$["region"],default:()=>{throw new Error("Region is missing")}},H3={preferredFile:"credentials"};function hz($){return(w)=>async(f)=>{const G=f.request;if(x.isInstance(G)){const{body:U,headers:W}=G;if(U&&Object.keys(W).map((L)=>L.toLowerCase()).indexOf(R8)===-1)try{const L=$(U);G.headers={...G.headers,[R8]:String(L)}}catch(L){}}return w({...f,request:G})}}var R8="content-length",kz={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},t3=($)=>({applyToStack:(w)=>{w.add(hz($.bodyLengthChecker),kz)}});var Q8=($,w)=>(f)=>async(G)=>{const{response:U}=await f(G);try{const W=await w(U,$);return{response:U,output:W}}catch(W){if(Object.defineProperty(W,"$response",{value:U}),!("$metadata"in W)){if(W.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof W.$responseBodyText!=="undefined"){if(W.$response)W.$response.body=W.$responseBodyText}}throw W}};var M8=($,w)=>(f,G)=>async(U)=>{const W=G.endpointV2?.url&&$.urlParser?async()=>$.urlParser(G.endpointV2.url):$.endpoint;if(!W)throw new Error("No valid endpoint provider available.");const L=await w(U.input,{...$,endpoint:W});return f({...U,request:L})};function UK($,w,f){return{applyToStack:(G)=>{G.add(Q8($,f),Dz),G.add(M8($,w),zw)}}}var Dz={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},zw={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};var H8=D(l(),1);var J8=async($)=>{const w=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(uz(w)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!xz(w)||w.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},cz=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,vz=/(\d+\.){3}\d+/,yz=/\.\./;var xz=($)=>cz.test($)&&!vz.test($)&&!yz.test($),uz=($)=>{const[w,f,G,,,U]=$.split(":"),W=w==="arn"&&$.split(":").length>=6,L=Boolean(W&&f&&G&&U);if(W&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L};var K8=($,w,f)=>{const G=async()=>{const U=f[$]??f[w];if(typeof U==="function")return U();return U};if($==="credentialScope"||w==="CredentialScope")return async()=>{const U=typeof f.credentials==="function"?await f.credentials():f.credentials;return U?.credentialScope??U?.CredentialScope};if($==="accountId"||w==="AccountId")return async()=>{const U=typeof f.credentials==="function"?await f.credentials():f.credentials;return U?.accountId??U?.AccountId};if($==="endpoint"||w==="endpoint")return async()=>{const U=await G();if(U&&typeof U==="object"){if("url"in U)return U.url.href;if("hostname"in U){const{protocol:W,hostname:L,port:X,path:Z}=U;return`${W}//${L}${X?":"+X:""}${Z}`}}return U};return G};var A8="AWS_ENDPOINT_URL",O8="endpoint_url",B8=($)=>({environmentVariableSelector:(w)=>{const f=$.split(" ").map((W)=>W.toUpperCase()),G=w[[A8,...f].join("_")];if(G)return G;const U=w[A8];if(U)return U;return},configFileSelector:(w,f)=>{if(f&&w.services){const U=f[["services",w.services].join(Rw)];if(U){const W=$.split(" ").map((X)=>X.toLowerCase()),L=U[[W.join("_"),O8].join(Rw)];if(L)return L}}const G=w[O8];if(G)return G;return},default:void 0});var T8=async($)=>F0(B8($))();var Qw=D(hf(),1),u1=($)=>{if(typeof $==="object"){if("url"in $)return Qw.parseUrl($.url);return $}return Qw.parseUrl($)};var V8=async($,w,f,G)=>{if(!f.endpoint){const L=await T8(f.serviceId||"");if(L)f.endpoint=()=>Promise.resolve(u1(L))}const U=await _z($,w,f);if(typeof f.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return f.endpointProvider(U,G)},_z=async($,w,f)=>{const G={},U=w?.getEndpointParameterInstructions?.()||{};for(let[W,L]of Object.entries(U))switch(L.type){case"staticContextParams":G[W]=L.value;break;case"contextParams":G[W]=$[L.name];break;case"clientContextParams":case"builtInParams":G[W]=await K8(L.name,W,f)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(L))}if(Object.keys(U).length===0)Object.assign(G,f);if(String(f.serviceId).toLowerCase()==="s3")await J8(G);return G};var C8=({config:$,instructions:w})=>{return(f,G)=>async(U)=>{const W=await V8(U.input,{getEndpointParameterInstructions(){return w}},{...$},G);G.endpointV2=W,G.authSchemes=W.properties?.authSchemes;const L=G.authSchemes?.[0];if(L){G.signing_region=L.signingRegion,G.signing_service=L.signingName;const Z=H8.getSmithyContext(G)?.selectedHttpAuthScheme?.httpAuthOption;if(Z)Z.signingProperties=Object.assign(Z.signingProperties||{},{signing_region:L.signingRegion,signingRegion:L.signingRegion,signing_service:L.signingName,signingName:L.signingName,signingRegionSet:L.signingRegionSet},L.properties)}return f({...U})}};var dz={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:zw.name},PK=($,w)=>({applyToStack:(f)=>{f.addRelativeTo(C8({config:$,instructions:w}),dz)}});var _1=D(l(),1);var bK=($)=>{const w=$.tls??!0,{endpoint:f}=$,G=f!=null?async()=>u1(await _1.normalizeProvider(f)()):void 0;return{...$,endpoint:G,tls:w,isCustomEndpoint:!!f,useDualstackEndpoint:_1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:_1.normalizeProvider($.useFipsEndpoint??!1)}};var i=D(H$(),1),pK=i.default.v1,gK=i.default.v3,N8=i.default.v4,sK=i.default.v5,nK=i.default.NIL,lK=i.default.version,mK=i.default.validate,iK=i.default.stringify,rK=i.default.parse;var Tw=D(l(),1);var n;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(n||(n={}));var Y0=3,q8=n.STANDARD;var P8=D(X0(),1);class d1{constructor($){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=$?.beta??0.7,this.minCapacity=$?.minCapacity??1,this.minFillRate=$?.minFillRate??0.5,this.scaleConstant=$?.scaleConstant??0.4,this.smooth=$?.smooth??0.8;const w=this.getCurrentTimeInSeconds();this.lastThrottleTime=w,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.currentCapacity){const w=($-this.currentCapacity)/this.fillRate*1000;await new Promise((f)=>setTimeout(f,w))}this.currentCapacity=this.currentCapacity-$}refillTokenBucket(){const $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}const w=($-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+w),this.lastTimestamp=$}updateClientSendingRate($){let w;if(this.updateMeasuredRate(),P8.isThrottlingError($)){const G=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=G,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),w=this.cubicThrottle(G),this.enableTokenBucket()}else this.calculateTimeWindow(),w=this.cubicSuccess(this.getCurrentTimeInSeconds());const f=Math.min(w,2*this.measuredTxRate);this.updateTokenBucketRate(f)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle($){return this.getPrecise($*this.beta)}cubicSuccess($){return this.getPrecise(this.scaleConstant*Math.pow($-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate($){this.refillTokenBucket(),this.fillRate=Math.max($,this.minFillRate),this.maxCapacity=Math.max($,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const $=this.getCurrentTimeInSeconds(),w=Math.floor($*2)/2;if(this.requestCount++,w>this.lastTxRateBucket){const f=this.requestCount/(w-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(f*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=w}}getPrecise($){return parseFloat($.toFixed(8))}}var I0=100,i0=20000,Mw=500,p1=500,Jw=5,Kw=10,Aw=1,g1="amz-sdk-invocation-id",s1="amz-sdk-request";var j8=()=>{let $=I0;return{computeNextBackoffDelay:(G)=>{return Math.floor(Math.min(i0,Math.random()*2**G*$))},setDelayBase:(G)=>{$=G}}};var Ow=({retryDelay:$,retryCount:w,retryCost:f})=>{return{getRetryCount:()=>w,getRetryDelay:()=>Math.min(i0,$),getRetryCost:()=>f}};class N0{constructor($){this.maxAttempts=$,this.mode=n.STANDARD,this.capacity=p1,this.retryBackoffStrategy=j8(),this.maxAttemptsProvider=typeof $==="function"?$:async()=>$}async acquireInitialRetryToken($){return Ow({retryDelay:I0,retryCount:0})}async refreshRetryTokenForRetry($,w){const f=await this.getMaxAttempts();if(this.shouldRetry($,w,f)){const G=w.errorType;this.retryBackoffStrategy.setDelayBase(G==="THROTTLING"?Mw:I0);const U=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),W=w.retryAfterHint?Math.max(w.retryAfterHint.getTime()-Date.now()||0,U):U,L=this.getCapacityCost(G);return this.capacity-=L,Ow({retryDelay:W,retryCount:$.getRetryCount()+1,retryCost:L})}throw new Error("No retry token available")}recordSuccess($){this.capacity=Math.max(p1,this.capacity+($.getRetryCost()??Aw))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${Y0}`),Y0}}shouldRetry($,w,f){return $.getRetryCount()+1<f&&this.capacity>=this.getCapacityCost(w.errorType)&&this.isRetryableError(w.errorType)}getCapacityCost($){return $==="TRANSIENT"?Kw:Jw}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class Bw{constructor($,w){this.maxAttemptsProvider=$,this.mode=n.ADAPTIVE;const{rateLimiter:f}=w??{};this.rateLimiter=f??new d1,this.standardRetryStrategy=new N0($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,w){return this.rateLimiter.updateClientSendingRate(w),this.standardRetryStrategy.refreshRetryTokenForRetry($,w)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}}var S8="AWS_MAX_ATTEMPTS",b8="max_attempts",CA={environmentVariableSelector:($)=>{const w=$[S8];if(!w)return;const f=parseInt(w);if(Number.isNaN(f))throw new Error(`Environment variable ${S8} mast be a number, got "${w}"`);return f},configFileSelector:($)=>{const w=$[b8];if(!w)return;const f=parseInt(w);if(Number.isNaN(f))throw new Error(`Shared config file entry ${b8} mast be a number, got "${w}"`);return f},default:Y0},NA=($)=>{const{retryStrategy:w}=$,f=Tw.normalizeProvider($.maxAttempts??Y0);return{...$,maxAttempts:f,retryStrategy:async()=>{if(w)return w;if(await Tw.normalizeProvider($.retryMode)()===n.ADAPTIVE)return new Bw(f);return new N0(f)}}},pz="AWS_RETRY_MODE",gz="retry_mode",qA={environmentVariableSelector:($)=>$[pz],configFileSelector:($)=>$[gz],default:q8};var q0=D(X0(),1);import{Readable as sz} from"stream";var h8=($)=>$?.body instanceof sz||typeof ReadableStream!=="undefined"&&$?.body instanceof ReadableStream;var Vw=($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)};var nz=($)=>(w,f)=>async(G)=>{let U=await $.retryStrategy();const W=await $.maxAttempts();if(lz(U)){U=U;let L=await U.acquireInitialRetryToken(f.partition_id),X=new Error,Z=0,E=0;const{request:F}=G,Y=x.isInstance(F);if(Y)F.headers[g1]=N8();while(!0)try{if(Y)F.headers[s1]=`attempt=${Z+1}; max=${W}`;const{response:z,output:I}=await w(G);return U.recordSuccess(L),I.$metadata.attempts=Z+1,I.$metadata.totalRetryDelay=E,{response:z,output:I}}catch(z){const I=mz(z);if(X=Vw(z),Y&&h8(F))throw(f.logger instanceof k8?console:f.logger)?.warn("An error was encountered in a non-retryable streaming request."),X;try{L=await U.refreshRetryTokenForRetry(L,I)}catch(J){if(!X.$metadata)X.$metadata={};throw X.$metadata.attempts=Z+1,X.$metadata.totalRetryDelay=E,X}Z=L.getRetryCount();const R=L.getRetryDelay();E+=R,await new Promise((J)=>setTimeout(J,R))}}else{if(U=U,U?.mode)f.userAgent=[...f.userAgent||[],["cfg/retry-mode",U.mode]];return U.retry(w,G)}},lz=($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined",mz=($)=>{const w={error:$,errorType:iz($)},f=oz($.$response);if(f)w.retryAfterHint=f;return w},iz=($)=>{if(q0.isThrottlingError($))return"THROTTLING";if(q0.isTransientError($))return"TRANSIENT";if(q0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},rz={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},xA=($)=>({applyToStack:(w)=>{w.add(nz($),rz)}}),oz=($)=>{if(!Hw.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const f=$.headers[w],G=Number(f);if(!Number.isNaN(G))return new Date(G*1000);return new Date(f)};var tz=D(X0(),1);var n1=D(X0(),1);import{platform as _Q,release as dQ} from"os";import{env as P6,versions as pQ} from"process";var _w={isCrtAvailable:!1};var q6=()=>{if(_w.isCrtAvailable)return["md/crt-avail"];return null};var gQ="AWS_SDK_UA_APP_ID",sQ="sdk-ua-app-id",dO=({serviceId:$,clientVersion:w})=>{const f=[["aws-sdk-js",w],["ua","2.0"],[`os/${_Q()}`,dQ()],["lang/js"],["md/nodejs",`${pQ.node}`]],G=q6();if(G)f.push(G);if($)f.push([`api/${$}`,w]);if(P6.AWS_EXECUTION_ENV)f.push([`exec-env/${P6.AWS_EXECUTION_ENV}`]);const U=F0({environmentVariableSelector:(L)=>L[gQ],configFileSelector:(L)=>L[sQ],default:void 0})();let W=void 0;return async()=>{if(!W){const L=await U;W=L?[...f,[`app/${L}`]]:[...f]}return W}};import{Buffer as nQ} from"buffer";import{createHash as lQ,createHmac as mQ} from"crypto";var j6=function($,w){if(nQ.isBuffer($))return $;if(typeof $==="string")return S6($,w);if(ArrayBuffer.isView($))return dw($.buffer,$.byteOffset,$.byteLength);return dw($)};class iQ{constructor($,w){this.algorithmIdentifier=$,this.secret=w,this.reset()}update($,w){this.hash.update(b6(j6($,w)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?mQ(this.algorithmIdentifier,j6(this.secret)):lQ(this.algorithmIdentifier)}}import{fstatSync as rQ,lstatSync as oQ} from"fs";var oO=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if(typeof $.path==="string"||Buffer.isBuffer($.path))return oQ($.path).size;else if(typeof $.fd==="number")return rQ($.fd).size;throw new Error(`Body Length computation failed for ${$}`)};var y6=D(z$(),1);var h6="AWS_EXECUTION_ENV",pw="AWS_REGION",gw="AWS_DEFAULT_REGION",k6="AWS_EC2_METADATA_DISABLED",D6=["in-region","cross-region","mobile","standard","legacy"],c6="/latest/meta-data/placement/region";var v6={environmentVariableSelector:($)=>{return $["AWS_DEFAULTS_MODE"]},configFileSelector:($)=>{return $["defaults_mode"]},default:"legacy"};var LB=({region:$=F0(z8),defaultsMode:w=F0(v6)}={})=>y6.memoize(async()=>{const f=typeof w==="function"?await w():w;switch(f?.toLowerCase()){case"auto":return tQ($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(f?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${D6.join(", ")}, got ${f}`)}}),tQ=async($)=>{if($){const w=typeof $==="function"?await $():$,f=await aQ();if(!f)return"standard";if(w===f)return"in-region";else return"cross-region"}return"standard"},aQ=async()=>{if(process.env[h6]&&(process.env[pw]||process.env[gw]))return process.env[pw]??process.env[gw];if(!process.env[k6])try{const{getInstanceMetadataEndpoint:$,httpRequest:w}=await import("./chunk-32f06f9ad00aaabd.js"),f=await $();return(await w({...f,path:c6})).toString()}catch($){}};var FB=($)=>{let w=async()=>{if($.region===void 0)throw new Error("Region is missing from runtimeConfig");const f=$.region;if(typeof f==="string")return f;return f()};return{setRegion(f){w=f},region(){return w}}},YB=($)=>{return{region:$.region()}};export{w9 as wa,f9 as xa,G9 as ya,E9 as za,l as Aa,C0 as Ba,U0 as Ca,Gw as Da,F7 as Ea,m0 as Fa,Az as Ga,Vz as Ha,gJ as Ia,E3 as Ja,I3 as Ka,z8 as La,H3 as Ma,eJ as Na,t3 as Oa,_z as Pa,UK as Qa,PK as Ra,bK as Sa,q8 as Ta,N8 as Ua,CA as Va,NA as Wa,qA as Xa,xA as Ya,X4 as Za,uQ as _a,dO as $a,iQ as ab,oO as bb,LB as cb,FB as db,YB as eb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"./chunk-7ce930fe69575c87.js";import"./chunk-40c21fe243675250.js";import{lb as l,rb as S} from"./chunk-6e415d0e12fc9539.js";import{tb as c,vb as m} from"./chunk-dfc390f0bbdf5a81.js";var w=(e,s,r)=>{const i={EcsContainer:async(t)=>{const{fromHttp:n}=await import("./chunk-29a0dbe3c8eb87d4.js"),{fromContainerMetadata:d}=await import("./chunk-a2fcc46e344ae7ae.js");return r?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),m(n(t??{}),d(t))},Ec2InstanceMetadata:async(t)=>{r?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");const{fromInstanceMetadata:n}=await import("./chunk-a2fcc46e344ae7ae.js");return n(t)},Environment:async(t)=>{r?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");const{fromEnv:n}=await import("./chunk-d2e057b6f3f9d500.js");return n(t)}};if(e in i)return i[e];else throw new c(`Unsupported credential source in profile ${s}. Got ${e}, `+"expected EcsContainer or Ec2InstanceMetadata or Environment.",{logger:r})};var y=(e,{profile:s="default",logger:r}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(h(e,{profile:s,logger:r})||D(e,{profile:s,logger:r}))},h=(e,{profile:s,logger:r})=>{const i=typeof e.source_profile==="string"&&typeof e.credential_source==="undefined";if(i)r?.debug?.(` ${s} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return i},D=(e,{profile:s,logger:r})=>{const i=typeof e.credential_source==="string"&&typeof e.source_profile==="undefined";if(i)r?.debug?.(` ${s} isCredentialSourceProfile credential_source=${e.credential_source}`);return i},C=async(e,s,r,i={})=>{r.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");const t=s[e];if(!r.roleAssumer){const{getDefaultRoleAssumer:R}=await import("./chunk-477a4d3115b9703e.js");r.roleAssumer=R({...r.clientConfig,credentialProviderLogger:r.logger,parentClientConfig:r?.parentClientConfig},r.clientPlugins)}const{source_profile:n}=t;if(n&&n in i)throw new c("Detected a cycle attempting to resolve credentials for profile"+` ${l(r)}. Profiles visited: `+Object.keys(i).join(", "),{logger:r.logger});r.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${n?`source_profile=[${n}]`:`profile=[${e}]`}`);const d=n?o(n,{...s,[n]:{...s[n],role_arn:t.role_arn??s[n].role_arn}},r,{...i,[n]:!0}):(await w(t.credential_source,e,r.logger)(r))(),u={RoleArn:t.role_arn,RoleSessionName:t.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:t.external_id,DurationSeconds:parseInt(t.duration_seconds||"3600",10)},{mfa_serial:f}=t;if(f){if(!r.mfaCodeProvider)throw new c(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:r.logger,tryNextLink:!1});u.SerialNumber=f,u.TokenCode=await r.mfaCodeProvider(f)}const $=await d;return r.roleAssumer($,u)};var P=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",v=async(e,s)=>import("./chunk-798f550643937b6d.js").then(({fromProcess:r})=>r({...e,profile:s})());var x=async(e,s={})=>{const{fromSSO:r}=await import("./chunk-b7b365f7e6038104.js");return r({profile:e,logger:s.logger})()},b=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var _=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,a=(e,s)=>{return s?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"),Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}})};var A=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,k=async(e,s)=>import("./chunk-2b3eabd01b2ae3f8.js").then(({fromTokenFile:r})=>r({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:s.roleAssumerWithWebIdentity,logger:s.logger,parentClientConfig:s.parentClientConfig})());var o=async(e,s,r,i={})=>{const t=s[e];if(Object.keys(i).length>0&&_(t))return a(t,r);if(y(t,{profile:e,logger:r.logger}))return C(e,s,r,i);if(_(t))return a(t,r);if(A(t))return k(t,r);if(P(t))return v(r,e);if(b(t))return await x(e,r);throw new c(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:r.logger})};var H=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");const s=await S(e);return o(l(e),s,e)};export{H as fromIni};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{s as _} from"./chunk-c675f193d459818e.js";import"./chunk-72821f055108528e.js";import{jb as y} from"./chunk-c29701ffef4ca07a.js";import{mb as K,sb as S} from"./chunk-ee604d0215ea07e6.js";var o=_(y(),1);import{exec as A} from"child_process";import{promisify as T} from"util";var i=(c,n,s)=>{if(n.Version!==1)throw Error(`Profile ${c} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${c} credential_process returned invalid credentials.`);if(n.Expiration){const t=new Date;if(new Date(n.Expiration)<t)throw Error(`Profile ${c} credential_process returned expired credentials.`)}let e=n.AccountId;if(!e&&s?.[c]?.aws_account_id)e=s[c].aws_account_id;return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,...n.SessionToken&&{sessionToken:n.SessionToken},...n.Expiration&&{expiration:new Date(n.Expiration)},...n.CredentialScope&&{credentialScope:n.CredentialScope},...e&&{accountId:e}}};var x=async(c,n,s)=>{const e=n[c];if(n[c]){const t=e.credential_process;if(t!==void 0){const u=T(A);try{const{stdout:r}=await u(t);let w;try{w=JSON.parse(r.trim())}catch{throw Error(`Profile ${c} credential_process returned invalid JSON.`)}return i(c,w,n)}catch(r){throw new o.CredentialsProviderError(r.message,{logger:s})}}else throw new o.CredentialsProviderError(`Profile ${c} did not contain credential_process.`,{logger:s})}else throw new o.CredentialsProviderError(`Profile ${c} could not be found in shared credentials file.`,{logger:s})};var b=(c={})=>async()=>{c.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");const n=await S(c);return x(K(c),n,c.logger)};export{b as fromProcess};
|