@qitqode/qitqode-android-arm64 0.1.28 → 0.1.29
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/bundle/{chunk-1rp1cvmc.js → chunk-0626rvy2.js} +1 -1
- package/bundle/chunk-07c1mvy1.js +2 -0
- package/bundle/{chunk-0nj8axbw.js → chunk-09j71kp6.js} +3 -3
- package/bundle/chunk-0p7qcm51.js +2 -0
- package/bundle/chunk-0pmb7zzh.js +2 -0
- package/bundle/{chunk-wz0zcddf.js → chunk-0wdtbn59.js} +2 -2
- package/bundle/{chunk-nt4e3em9.js → chunk-0xm85ayc.js} +1 -1
- package/bundle/{chunk-f2tdfry8.js → chunk-0yqbyres.js} +1 -1
- package/bundle/{chunk-1etdhr36.js → chunk-11d987sj.js} +1 -1
- package/bundle/{chunk-dhjp0zx2.js → chunk-18vygvnc.js} +1 -1
- package/bundle/{chunk-v965rsr8.js → chunk-19sa03c1.js} +2 -2
- package/bundle/{chunk-zyhdxggp.js → chunk-1d9f53sk.js} +2 -2
- package/bundle/{chunk-k7gq9bra.js → chunk-1fz0383p.js} +1 -1
- package/bundle/{chunk-j6emx6jn.js → chunk-1rn0vmvv.js} +2 -2
- package/bundle/chunk-1s9ctg0d.js +2 -0
- package/bundle/{chunk-g7rjtehn.js → chunk-1xw68zak.js} +1 -1
- package/bundle/{chunk-whxjkz9a.js → chunk-20d0cd1j.js} +2 -2
- package/bundle/chunk-2f9fn9xr.js +2 -0
- package/bundle/chunk-2fhcvfyg.js +2 -0
- package/bundle/{chunk-2ahqhh4z.js → chunk-2hw0jzv4.js} +1 -1
- package/bundle/{chunk-2jmxt3fb.js → chunk-2mjc44ev.js} +1 -1
- package/bundle/{chunk-yhk7d1j0.js → chunk-2p2ch1k2.js} +1 -1
- package/bundle/{chunk-jje0srjq.js → chunk-2p9py4rw.js} +1 -1
- package/bundle/{chunk-z37aqajx.js → chunk-2w20mhch.js} +1 -1
- package/bundle/{chunk-cdhmc0t0.js → chunk-2xxefrps.js} +1 -1
- package/bundle/{chunk-cwqd48xt.js → chunk-2ztdqtnk.js} +1 -1
- package/bundle/{chunk-zb0me4kk.js → chunk-31wxbws4.js} +1 -1
- package/bundle/{chunk-ppfjf7qx.js → chunk-3h4y7n1a.js} +1 -1
- package/bundle/chunk-3mfj0x4p.js +2 -0
- package/bundle/{chunk-2tnarng3.js → chunk-3n49y4kh.js} +1 -1
- package/bundle/{chunk-g1dwbvkg.js → chunk-3q6650we.js} +1 -1
- package/bundle/{chunk-1dwcga8g.js → chunk-3rt2k5sc.js} +1 -1
- package/bundle/chunk-3shnje9k.js +2 -0
- package/bundle/chunk-3tz1qhpt.js +2 -0
- package/bundle/{chunk-4sk0rmw3.js → chunk-3vmh2ge6.js} +1 -1
- package/bundle/{chunk-t2tgz0rc.js → chunk-43ae3chd.js} +2 -2
- package/bundle/chunk-44jpsp97.js +2 -0
- package/bundle/{chunk-smt14yjb.js → chunk-45jqjyk9.js} +1 -1
- package/bundle/chunk-4dtbdycg.js +2 -0
- package/bundle/{chunk-kfsb2stm.js → chunk-4fk4se02.js} +1 -1
- package/bundle/{chunk-yp0a8q29.js → chunk-4fspp5fg.js} +3 -3
- package/bundle/{chunk-24xc0dvv.js → chunk-4kpvceap.js} +1 -1
- package/bundle/{chunk-qjjch1zt.js → chunk-4mrz9b6d.js} +2 -2
- package/bundle/chunk-4pz8av2y.js +2 -0
- package/bundle/chunk-4r4xh8a6.js +2 -0
- package/bundle/{chunk-t12xrrfr.js → chunk-4vemws1t.js} +2 -2
- package/bundle/{chunk-m612agnk.js → chunk-4vze3djr.js} +1 -1
- package/bundle/{chunk-w87a3mzm.js → chunk-50w28xj1.js} +1 -1
- package/bundle/chunk-5hpq59t1.js +2 -0
- package/bundle/{chunk-d6r4xwtg.js → chunk-5n4hpc4f.js} +3 -3
- package/bundle/chunk-5s90ehww.js +2 -0
- package/bundle/{chunk-288hw03f.js → chunk-5z7mjwwa.js} +1 -1
- package/bundle/{chunk-ydp0q1hk.js → chunk-61yatzp8.js} +1 -1
- package/bundle/chunk-63kcg127.js +2 -0
- package/bundle/{chunk-b9za12y1.js → chunk-6528bthc.js} +1 -1
- package/bundle/{chunk-mgk9sh16.js → chunk-6bsgrr5h.js} +1 -1
- package/bundle/chunk-6fejrpht.js +2 -0
- package/bundle/{chunk-4qqkqrn9.js → chunk-6hdjkvr1.js} +2 -2
- package/bundle/{chunk-1t9jne14.js → chunk-6hmj972a.js} +1 -1
- package/bundle/{chunk-x1rx6fm7.js → chunk-6jewfaqa.js} +2 -2
- package/bundle/{chunk-y062spw2.js → chunk-6saj1dhz.js} +1 -1
- package/bundle/{chunk-n8h6x2en.js → chunk-6scqd8fh.js} +1 -1
- package/bundle/chunk-6zzdw7q1.js +2 -0
- package/bundle/{chunk-61zpnwv6.js → chunk-71pmrpkc.js} +1 -1
- package/bundle/{chunk-26nfphsg.js → chunk-74zgcxeg.js} +1 -1
- package/bundle/chunk-78m8rayq.js +2 -0
- package/bundle/{chunk-2km50rd3.js → chunk-7926bzm7.js} +1 -1
- package/bundle/chunk-7j6p5j2g.js +2 -0
- package/bundle/{chunk-x7ers083.js → chunk-7m8fdp5p.js} +1 -1
- package/bundle/{chunk-k7g3h9tn.js → chunk-7mc8nxve.js} +1 -1
- package/bundle/chunk-7tjd6ba1.js +2 -0
- package/bundle/{chunk-cmbxrgyx.js → chunk-7wthn44y.js} +2 -2
- package/bundle/{chunk-kqn9h2gk.js → chunk-81h5f8ev.js} +1 -1
- package/bundle/{chunk-drs1gv2b.js → chunk-88dhcv37.js} +1 -1
- package/bundle/{chunk-h0rpmne5.js → chunk-89f8v2y8.js} +1 -1
- package/bundle/{chunk-fnbpap62.js → chunk-8d2ddmf0.js} +1 -1
- package/bundle/chunk-8d8efdry.js +2 -0
- package/bundle/{chunk-a1pw9r6f.js → chunk-8f0g7d7k.js} +1 -1
- package/bundle/{chunk-kb6w3wbd.js → chunk-8jzjvmaz.js} +1 -1
- package/bundle/{chunk-qhc90p4a.js → chunk-8k55xz7z.js} +1 -1
- package/bundle/{chunk-f45tp3e3.js → chunk-8kz3n8ye.js} +1 -1
- package/bundle/chunk-93jxndr8.js +2 -0
- package/bundle/{chunk-ebrt1me3.js → chunk-94qmhz2p.js} +2 -2
- package/bundle/{chunk-a2qz9m10.js → chunk-95qs7wnz.js} +1 -1
- package/bundle/{chunk-scsf8r98.js → chunk-97h0jx8y.js} +1 -1
- package/bundle/{chunk-vj62pc0h.js → chunk-98vfbn0h.js} +1 -1
- package/bundle/chunk-99ve54r6.js +2 -0
- package/bundle/{chunk-3bmzjznz.js → chunk-9atkgkaq.js} +1 -1
- package/bundle/{chunk-qrey2gwb.js → chunk-9epjgend.js} +2 -2
- package/bundle/{chunk-2dzk5txw.js → chunk-9kjj44cr.js} +1 -1
- package/bundle/chunk-9ksaqyb2.js +2 -0
- package/bundle/chunk-9p7t748e.js +2 -0
- package/bundle/{chunk-4yawrap2.js → chunk-a2g69pv6.js} +1 -1
- package/bundle/{chunk-1bhvt33f.js → chunk-a2qerqgd.js} +1 -1
- package/bundle/chunk-a69jgepp.js +2 -0
- package/bundle/{chunk-a1p2f16h.js → chunk-a8p9aggx.js} +2 -2
- package/bundle/{chunk-x9s04nze.js → chunk-a94s0jks.js} +1 -1
- package/bundle/{chunk-d5bxan80.js → chunk-abtn6nec.js} +1 -1
- package/bundle/chunk-ar310tc3.js +2 -0
- package/bundle/{chunk-zcm2jdr5.js → chunk-asmfntjm.js} +1 -1
- package/bundle/chunk-at03h9eq.js +2 -0
- package/bundle/{chunk-b8tw709r.js → chunk-awav98j0.js} +1 -1
- package/bundle/chunk-ay9p70xx.js +2 -0
- package/bundle/{chunk-ab6cabxh.js → chunk-az9hsk6z.js} +1 -1
- package/bundle/{chunk-9j1qqdr2.js → chunk-azx0zxnx.js} +1 -1
- package/bundle/{chunk-ct48575c.js → chunk-b1ntb3dh.js} +1 -1
- package/bundle/{chunk-qjn86fc0.js → chunk-b20xjnpw.js} +1 -1
- package/bundle/{chunk-b0syck9r.js → chunk-b4qd109w.js} +1 -1
- package/bundle/chunk-b6dsv601.js +3 -0
- package/bundle/{chunk-knpt9n8f.js → chunk-b73s2h43.js} +1 -1
- package/bundle/{chunk-04h4afhf.js → chunk-b9hstp7h.js} +1 -1
- package/bundle/{chunk-vg2fmyje.js → chunk-b9nwaaqs.js} +2 -2
- package/bundle/chunk-bajtytm5.js +2 -0
- package/bundle/chunk-bh8v3mfg.js +2 -0
- package/bundle/chunk-bn0h9dny.js +10 -0
- package/bundle/chunk-bp8sxnrm.js +2 -0
- package/bundle/{chunk-4tbwha3m.js → chunk-bsf6n350.js} +2 -2
- package/bundle/{chunk-xpc2zgj7.js → chunk-bv8pf0m1.js} +2 -2
- package/bundle/chunk-bw5e8thn.js +2 -0
- package/bundle/{chunk-c01z3cvg.js → chunk-bx6kyvg7.js} +1 -1
- package/bundle/{chunk-wsy0m70r.js → chunk-byc7ev8p.js} +1 -1
- package/bundle/{chunk-xrxyrr00.js → chunk-bzgj60w4.js} +1 -1
- package/bundle/{chunk-yq3m8190.js → chunk-bzrsnv2k.js} +2 -2
- package/bundle/{chunk-ecn8gbtz.js → chunk-c19t7e8s.js} +1 -1
- package/bundle/chunk-c8ajbhv3.js +2 -0
- package/bundle/{chunk-y88xh6w3.js → chunk-c8n72r2k.js} +3 -3
- package/bundle/chunk-ccddzk10.js +2 -0
- package/bundle/{chunk-j5kb0y1m.js → chunk-cd867geb.js} +1 -1
- package/bundle/chunk-ce5t444d.js +2 -0
- package/bundle/{chunk-3nyqh1d6.js → chunk-cev2qj7w.js} +1 -1
- package/bundle/{chunk-7jbz3dgt.js → chunk-cfxjwfn4.js} +1 -1
- package/bundle/chunk-ch8cx9jn.js +2 -0
- package/bundle/{chunk-7ppd2phw.js → chunk-cjfgs1x8.js} +1 -1
- package/bundle/chunk-cm4jtnkg.js +2 -0
- package/bundle/chunk-cq7j5tv5.js +2 -0
- package/bundle/{chunk-1sgby720.js → chunk-csdm3n24.js} +1 -1
- package/bundle/{chunk-wy46mbwt.js → chunk-csyw14fj.js} +1 -1
- package/bundle/chunk-cttqh20d.js +2 -0
- package/bundle/chunk-cvvfa1jf.js +2 -0
- package/bundle/{chunk-btz9jvec.js → chunk-d0qqgxs4.js} +1 -1
- package/bundle/{chunk-8tc8x27z.js → chunk-d7t0bcvk.js} +6 -6
- package/bundle/{chunk-tj78jsp9.js → chunk-d86ma6zk.js} +1 -1
- package/bundle/{chunk-emtebxvs.js → chunk-dd3m74rc.js} +1 -1
- package/bundle/chunk-dfja6dj6.js +5 -0
- package/bundle/chunk-e3qtndrt.js +2 -0
- package/bundle/chunk-e8cac405.js +2 -0
- package/bundle/{chunk-371r2111.js → chunk-ed723mw1.js} +1 -1
- package/bundle/{chunk-3nwve06r.js → chunk-ef2b07fm.js} +1 -1
- package/bundle/{chunk-j9pcnkkq.js → chunk-ekndhwnn.js} +2 -2
- package/bundle/{chunk-dafbntks.js → chunk-eqcd9k9p.js} +122 -122
- package/bundle/chunk-ez92ah9y.js +2 -0
- package/bundle/{chunk-3j9hedmx.js → chunk-f29n7826.js} +1 -1
- package/bundle/chunk-fazvedgy.js +2 -0
- package/bundle/{chunk-eb9mytjq.js → chunk-fhdpp77n.js} +1 -1
- package/bundle/{chunk-04tw0r4s.js → chunk-fj7kd4gc.js} +1 -1
- package/bundle/{chunk-be216spx.js → chunk-fsy279s5.js} +2 -2
- package/bundle/{chunk-37n34pzd.js → chunk-g06rv5fq.js} +1 -1
- package/bundle/{chunk-pekm54ce.js → chunk-g0mbbysk.js} +1 -1
- package/bundle/{chunk-vn7nkrqb.js → chunk-g3ch14a1.js} +1 -1
- package/bundle/{chunk-ggqst87g.js → chunk-gd45tjbd.js} +1 -1
- package/bundle/chunk-gd5stg49.js +2 -0
- package/bundle/{chunk-ds69qc8b.js → chunk-geccvf9d.js} +1 -1
- package/bundle/{chunk-k2tamnfv.js → chunk-gf5pwww1.js} +1 -1
- package/bundle/{chunk-x067eetw.js → chunk-gjvymdhp.js} +1 -1
- package/bundle/chunk-gtzcm5sb.js +2 -0
- package/bundle/{chunk-ngchsw2g.js → chunk-h8chkene.js} +1 -1
- package/bundle/{chunk-m67tcnk4.js → chunk-hbtd620x.js} +1 -1
- package/bundle/{chunk-qc1w4b12.js → chunk-hd2kb05a.js} +1 -1
- package/bundle/{chunk-b3dqcbsc.js → chunk-hevb7k95.js} +1 -1
- package/bundle/{chunk-v2zp22r3.js → chunk-hgbkg85g.js} +1 -1
- package/bundle/{chunk-5fgx6fa4.js → chunk-hhgjbag9.js} +1 -1
- package/bundle/{chunk-12bssxd4.js → chunk-hn1f6rne.js} +2 -2
- package/bundle/{chunk-hj5y7fvk.js → chunk-hpfqnjfz.js} +1 -1
- package/bundle/{chunk-my7mn79h.js → chunk-j0znryc6.js} +1 -1
- package/bundle/{chunk-09kba1hg.js → chunk-j2zay4da.js} +2 -2
- package/bundle/{chunk-48fvrggx.js → chunk-j5ymkhry.js} +1 -1
- package/bundle/{chunk-tr8sf0dk.js → chunk-jkm54mha.js} +1 -1
- package/bundle/{chunk-v4xcysh0.js → chunk-jntqzhxr.js} +1 -1
- package/bundle/{chunk-p68rwmhc.js → chunk-js9wdh67.js} +1 -1
- package/bundle/{chunk-m02zt1a3.js → chunk-jwtev7b7.js} +2 -2
- package/bundle/chunk-k095hd3c.js +2 -0
- package/bundle/{chunk-q1v2pytx.js → chunk-k16s2dnx.js} +1 -1
- package/bundle/{chunk-sermjas1.js → chunk-k20nrwbg.js} +1 -1
- package/bundle/{chunk-6qy1ghrx.js → chunk-k7dcfqjs.js} +1 -1
- package/bundle/chunk-kfgn4apg.js +2 -0
- package/bundle/{chunk-jm1ptn8n.js → chunk-kkae8ead.js} +1 -1
- package/bundle/{chunk-m1h5a4vg.js → chunk-ktqrbbkh.js} +1 -1
- package/bundle/{chunk-jx27xrk1.js → chunk-kw09hbrb.js} +1 -1
- package/bundle/chunk-kzrw6h8t.js +2 -0
- package/bundle/{chunk-612f97vv.js → chunk-m2ny1en7.js} +4 -4
- package/bundle/{chunk-wnqwb6fd.js → chunk-m6wceqay.js} +1 -1
- package/bundle/{chunk-d7qscj5p.js → chunk-ma0m6kpj.js} +1 -1
- package/bundle/{chunk-g3dhsmbt.js → chunk-mb4wvwfw.js} +3 -3
- package/bundle/chunk-mjrvj2cg.js +2 -0
- package/bundle/chunk-mpebdv59.js +2 -0
- package/bundle/chunk-n20v44zr.js +2 -0
- package/bundle/{chunk-5syxjhg3.js → chunk-n34y5gp6.js} +2 -2
- package/bundle/{chunk-27yxgy03.js → chunk-n3t52cz2.js} +1 -1
- package/bundle/{chunk-szr0f7k2.js → chunk-n4gjpgnk.js} +1 -1
- package/bundle/{chunk-5qam3c8r.js → chunk-n5sh2790.js} +1 -1
- package/bundle/{chunk-5fz8tph5.js → chunk-n86s4fw4.js} +1 -1
- package/bundle/{chunk-6hv59ere.js → chunk-ndmrg80b.js} +1 -1
- package/bundle/{chunk-13hz1kvh.js → chunk-nfzmvy30.js} +1 -1
- package/bundle/chunk-nksathh4.js +2 -0
- package/bundle/{chunk-yjtdgcq5.js → chunk-nv2r4cns.js} +1 -1
- package/bundle/{chunk-xs3xtz6x.js → chunk-nxn4arcf.js} +1 -1
- package/bundle/{chunk-xvfpzmrf.js → chunk-p5360c2q.js} +1 -1
- package/bundle/{chunk-1qshjfzm.js → chunk-p7h2qd7z.js} +1 -1
- package/bundle/{chunk-2rs39vj2.js → chunk-pg8dz1rq.js} +1 -1
- package/bundle/{chunk-3dvd1bb6.js → chunk-pq2prhb2.js} +1 -1
- package/bundle/{chunk-scnz207s.js → chunk-ps6jk326.js} +1 -1
- package/bundle/{chunk-gm85xefs.js → chunk-pycjksh4.js} +1 -1
- package/bundle/{chunk-gf0pdgjs.js → chunk-q0xzbad1.js} +1 -1
- package/bundle/chunk-q14890p6.js +2 -0
- package/bundle/chunk-q4n02cwv.js +2 -0
- package/bundle/{chunk-1t6bvbgy.js → chunk-q5363rr9.js} +2 -2
- package/bundle/chunk-q7s17j1b.js +2 -0
- package/bundle/{chunk-msegx0t7.js → chunk-qje3683x.js} +1 -1
- package/bundle/{chunk-y2v09y71.js → chunk-qk9vccja.js} +1 -1
- package/bundle/chunk-qm07wesh.js +2 -0
- package/bundle/{chunk-chmrvbbj.js → chunk-qredfmch.js} +1 -1
- package/bundle/chunk-qrrg9v3d.js +2 -0
- package/bundle/{chunk-fzna6jdj.js → chunk-qsszerj7.js} +2 -2
- package/bundle/chunk-qtsmgjk7.js +2 -0
- package/bundle/{chunk-dfnv7vkn.js → chunk-qzcfjz9g.js} +1 -1
- package/bundle/{chunk-bss414qz.js → chunk-qzjpea91.js} +1 -1
- package/bundle/{chunk-gj7y56y6.js → chunk-r4mnbhe1.js} +1 -1
- package/bundle/chunk-rdqgss38.js +2 -0
- package/bundle/{chunk-z6dnv8g5.js → chunk-rf524gez.js} +1 -1
- package/bundle/{chunk-2q96x1t5.js → chunk-rptvpa1v.js} +1 -1
- package/bundle/{chunk-z8g819cz.js → chunk-rqgcz2zr.js} +1 -1
- package/bundle/{chunk-1m2e2w1q.js → chunk-rs1698xs.js} +1 -1
- package/bundle/chunk-rzc528ym.js +2 -0
- package/bundle/{chunk-xc5044tm.js → chunk-s1sepxdp.js} +1 -1
- package/bundle/{chunk-hk698g9e.js → chunk-s2za1n7h.js} +2 -2
- package/bundle/{chunk-c5e6sk9c.js → chunk-s6me101a.js} +1 -1
- package/bundle/chunk-sbv96mj0.js +3 -0
- package/bundle/{chunk-pdzpfkt0.js → chunk-sbx9z70j.js} +1 -1
- package/bundle/{chunk-e0152ayv.js → chunk-scqxmv8k.js} +1 -1
- package/bundle/{chunk-dq9kpj4a.js → chunk-sv48x9h8.js} +1 -1
- package/bundle/{chunk-q6ztpfcs.js → chunk-svrxk3vf.js} +2 -2
- package/bundle/{chunk-snm5q21k.js → chunk-t299e2aw.js} +2 -2
- package/bundle/{chunk-nzehfpxp.js → chunk-t35n89t9.js} +1 -1
- package/bundle/{chunk-ebcv65e3.js → chunk-t3q7qakr.js} +1 -1
- package/bundle/{chunk-mk6cddvd.js → chunk-t3tkp1em.js} +1 -1
- package/bundle/chunk-tge53d52.js +3 -0
- package/bundle/chunk-th78zcds.js +2 -0
- package/bundle/{chunk-5a5t01ka.js → chunk-thk93j3e.js} +1 -1
- package/bundle/{chunk-xck0sq3k.js → chunk-tj00kzk4.js} +1 -1
- package/bundle/chunk-tqsx2m1j.js +2 -0
- package/bundle/{chunk-anjg3mwn.js → chunk-tsb9g1nz.js} +1 -1
- package/bundle/chunk-tv26mwx5.js +2 -0
- package/bundle/{chunk-fkgv2hqd.js → chunk-v00cptj6.js} +1 -1
- package/bundle/chunk-v69n6mef.js +2 -0
- package/bundle/{chunk-7yrhe3xq.js → chunk-v7deh7aj.js} +1 -1
- package/bundle/{chunk-pxtqqmkc.js → chunk-v9bmpndq.js} +1 -1
- package/bundle/{chunk-g16zb3y1.js → chunk-v9xnk9pz.js} +1 -1
- package/bundle/chunk-vegwb3t0.js +2 -0
- package/bundle/chunk-w9seyn69.js +2 -0
- package/bundle/chunk-wanf4se3.js +2 -0
- package/bundle/chunk-wdhzmk1b.js +2 -0
- package/bundle/{chunk-3fx5jda0.js → chunk-wnwesaap.js} +1 -1
- package/bundle/chunk-wxqtda70.js +2 -0
- package/bundle/chunk-wzb6s9rk.js +2 -0
- package/bundle/chunk-x0dg9rg6.js +2 -0
- package/bundle/{chunk-mskwkcgj.js → chunk-x6nbck7p.js} +1 -1
- package/bundle/chunk-xd3xc1vv.js +3 -0
- package/bundle/{chunk-89q1y7tc.js → chunk-xhncwg5v.js} +1 -1
- package/bundle/{chunk-5g8108nf.js → chunk-xk1nh1ay.js} +2 -2
- package/bundle/{chunk-qv2s39dv.js → chunk-xk7je9y8.js} +1 -1
- package/bundle/chunk-xmnzrzbs.js +2 -0
- package/bundle/{chunk-1fbeendk.js → chunk-xn5v8wgh.js} +1 -1
- package/bundle/{chunk-s07j8hfy.js → chunk-xn61fgrh.js} +1 -1
- package/bundle/chunk-xzf62kc6.js +2 -0
- package/bundle/{chunk-s3yna2wm.js → chunk-y212x7ws.js} +1 -1
- package/bundle/{chunk-6nbzdb0r.js → chunk-yaj9ywvz.js} +1 -1
- package/bundle/{chunk-n0mygdfp.js → chunk-yj73ehjd.js} +1 -1
- package/bundle/{chunk-aztre27e.js → chunk-yjj4cvqg.js} +1 -1
- package/bundle/{chunk-2abdrqrx.js → chunk-yk8kk25c.js} +1 -1
- package/bundle/{chunk-cafzcmrg.js → chunk-yn05n0az.js} +2 -2
- package/bundle/{chunk-89v6dgpp.js → chunk-yn576pje.js} +2 -2
- package/bundle/chunk-yned6vmd.js +3 -0
- package/bundle/{chunk-cvdxgsq1.js → chunk-yp3dj4wh.js} +1 -1
- package/bundle/{chunk-bvkq0a5q.js → chunk-ypthfv6d.js} +1 -1
- package/bundle/chunk-yra49yga.js +2 -0
- package/bundle/{chunk-srh4xvsj.js → chunk-yt2k9ga8.js} +1 -1
- package/bundle/chunk-ytye0p7f.js +2 -0
- package/bundle/chunk-yv2mxxbq.js +2 -0
- package/bundle/{chunk-phxrg7aw.js → chunk-yvqbewmc.js} +2 -2
- package/bundle/{chunk-h9pvnp5c.js → chunk-yyqrbv2f.js} +1 -1
- package/bundle/{chunk-2vepzgek.js → chunk-z160s5p5.js} +1 -1
- package/bundle/{chunk-df6a167w.js → chunk-z29fwg61.js} +1 -1
- package/bundle/chunk-z2fqqer0.js +2 -0
- package/bundle/chunk-z3qanc8m.js +2 -0
- package/bundle/{chunk-qvxvc2c2.js → chunk-z44m19vm.js} +1 -1
- package/bundle/{chunk-yfkvjphe.js → chunk-z4nay2ef.js} +1 -1
- package/bundle/{chunk-2bn4b42t.js → chunk-z5yrvg40.js} +1 -1
- package/bundle/{chunk-61c62e5s.js → chunk-zasd8cz8.js} +1 -1
- package/bundle/{chunk-ztc3gm8y.js → chunk-zbq60sw6.js} +1 -1
- package/bundle/chunk-zcagdtab.js +2 -0
- package/bundle/chunk-zervk6c5.js +2 -0
- package/bundle/{chunk-va316nee.js → chunk-zfd70p01.js} +1 -1
- package/bundle/{chunk-t22jbw8x.js → chunk-zqjp7jdd.js} +1 -1
- package/bundle/{chunk-6fp8a9ek.js → chunk-zqxmr01r.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-066eeq5q.js +0 -2
- package/bundle/chunk-07ws99b1.js +0 -2
- package/bundle/chunk-09c4ngag.js +0 -2
- package/bundle/chunk-0jgst767.js +0 -2
- package/bundle/chunk-0psrr9vp.js +0 -2
- package/bundle/chunk-1j73cnvz.js +0 -2
- package/bundle/chunk-1yddn03z.js +0 -2
- package/bundle/chunk-37s5hwtc.js +0 -2
- package/bundle/chunk-38g8yzw0.js +0 -2
- package/bundle/chunk-3bkd0ar3.js +0 -2
- package/bundle/chunk-457y2816.js +0 -2
- package/bundle/chunk-4amgp4yd.js +0 -3
- package/bundle/chunk-4sz3jbc5.js +0 -2
- package/bundle/chunk-6d9wsjxm.js +0 -2
- package/bundle/chunk-6q87abbr.js +0 -2
- package/bundle/chunk-730a2d1k.js +0 -2
- package/bundle/chunk-7bd0x9vf.js +0 -2
- package/bundle/chunk-7czkntef.js +0 -2
- package/bundle/chunk-7ex57nyh.js +0 -2
- package/bundle/chunk-7gpczxbh.js +0 -2
- package/bundle/chunk-7j0bgeh2.js +0 -2
- package/bundle/chunk-7py443fe.js +0 -2
- package/bundle/chunk-8815p61h.js +0 -2
- package/bundle/chunk-90q5sae0.js +0 -2
- package/bundle/chunk-92d9469t.js +0 -2
- package/bundle/chunk-9grvepmd.js +0 -2
- package/bundle/chunk-9hrh15p2.js +0 -2
- package/bundle/chunk-a7cxf56j.js +0 -2
- package/bundle/chunk-av6ezvxm.js +0 -2
- package/bundle/chunk-beksar7w.js +0 -2
- package/bundle/chunk-bg66rqrx.js +0 -2
- package/bundle/chunk-bkbngcvc.js +0 -2
- package/bundle/chunk-btneef3z.js +0 -2
- package/bundle/chunk-cy9s1ma5.js +0 -2
- package/bundle/chunk-cydewa1c.js +0 -2
- package/bundle/chunk-dpkynwgm.js +0 -3
- package/bundle/chunk-dvk2wwjj.js +0 -2
- package/bundle/chunk-e0jy9qxd.js +0 -2
- package/bundle/chunk-erg0ske8.js +0 -2
- package/bundle/chunk-f72pppr7.js +0 -2
- package/bundle/chunk-fff3151r.js +0 -2
- package/bundle/chunk-gk34kh8p.js +0 -2
- package/bundle/chunk-gn50xqbd.js +0 -2
- package/bundle/chunk-h602h2gx.js +0 -2
- package/bundle/chunk-h7s2w1e2.js +0 -2
- package/bundle/chunk-hmv2cdnz.js +0 -2
- package/bundle/chunk-hnb8v476.js +0 -2
- package/bundle/chunk-ht81ensf.js +0 -2
- package/bundle/chunk-hxgs0d4t.js +0 -2
- package/bundle/chunk-j59ktwny.js +0 -2
- package/bundle/chunk-jmz2mq3t.js +0 -2
- package/bundle/chunk-jr907144.js +0 -2
- package/bundle/chunk-k309zez0.js +0 -3
- package/bundle/chunk-k3epfxmq.js +0 -2
- package/bundle/chunk-k3fn3yed.js +0 -2
- package/bundle/chunk-k5q52wdq.js +0 -2
- package/bundle/chunk-kfsn9c7m.js +0 -2
- package/bundle/chunk-kpw6nghv.js +0 -2
- package/bundle/chunk-krhkrca9.js +0 -2
- package/bundle/chunk-m5ghbt5y.js +0 -2
- package/bundle/chunk-m8yv4sd2.js +0 -3
- package/bundle/chunk-mn41f9qv.js +0 -2
- package/bundle/chunk-mqjf9sbm.js +0 -2
- package/bundle/chunk-n5gwrrbb.js +0 -2
- package/bundle/chunk-nfjhem1c.js +0 -2
- package/bundle/chunk-nj4d554m.js +0 -11
- package/bundle/chunk-nxyyn2ra.js +0 -2
- package/bundle/chunk-p5tceb4k.js +0 -2
- package/bundle/chunk-qjgm3e2p.js +0 -2
- package/bundle/chunk-rmr38x2f.js +0 -5
- package/bundle/chunk-s1cnzvb2.js +0 -2
- package/bundle/chunk-sbyey0qb.js +0 -2
- package/bundle/chunk-sj5v361q.js +0 -2
- package/bundle/chunk-tpndnprb.js +0 -2
- package/bundle/chunk-vwxfgea7.js +0 -2
- package/bundle/chunk-w0kgcz1t.js +0 -2
- package/bundle/chunk-w9vh7rhg.js +0 -2
- package/bundle/chunk-wksczmes.js +0 -2
- package/bundle/chunk-wrfvqp2w.js +0 -2
- package/bundle/chunk-wsxta33r.js +0 -2
- package/bundle/chunk-xjyhtm8r.js +0 -2
- package/bundle/chunk-xxbqhg9n.js +0 -3
- package/bundle/chunk-yc1jk3rm.js +0 -2
- package/bundle/chunk-ygc5qegv.js +0 -2
- package/bundle/chunk-yjqmzm51.js +0 -2
- package/bundle/chunk-z4z8hk7e.js +0 -2
- package/bundle/chunk-z7y9pdj7.js +0 -2
- package/bundle/chunk-zqv7fx25.js +0 -2
- package/bundle/chunk-zt1nbwmm.js +0 -2
- package/bundle/chunk-zw0yh3dv.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ce as a}from"./chunk-dq9kpj4a.js";import{sf as fK,tf as yK,vf as b_,wf as hG,xf as DG,yf as DW}from"./chunk-cvdxgsq1.js";import{aQ as k,dQ as N}from"./chunk-aztre27e.js";var k_=k((iW)=>{var qW=N("stream"),g=b_(),U=a(),i=DW(),L_=(_)=>_?.body instanceof qW.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,IW=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],TW=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],SW=["TimeoutError","RequestTimeout","RequestTimeoutException"],PW=[500,502,503,504],RW=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],AW=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],n=(_)=>_?.$retryable!==void 0,Q_=(_)=>IW.includes(_.name),j_=(_)=>_.$metadata?.clockSkewCorrected,J_=(_)=>{let W=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return W.has(_.message)},q=(_)=>_.$metadata?.httpStatusCode===429||TW.includes(_.name)||_.$retryable?.throttling==!0,I=(_,W=0)=>n(_)||j_(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||SW.includes(_.name)||RW.includes(_?.code||"")||AW.includes(_?.code||"")||PW.includes(_.$metadata?.httpStatusCode||0)||J_(_)||w_(_)||_.cause!==void 0&&W<=10&&I(_.cause,W+1),O_=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let W=_.$metadata.httpStatusCode;if(500<=W&&W<=599&&!I(_))return!0;return!1}return!1};function w_(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var B_=100,v=20000,H_=500,A=500,z_=5,F_=10,o=1,x="amz-sdk-invocation-id",f="amz-sdk-request";function M_(_,W){if(!U.HttpResponse.isInstance(_))return;for(let K of Object.keys(_.headers)){let G=K.toLowerCase();if(G==="retry-after"){let Y=_.headers[K],X=NaN;if(Y.endsWith("GMT"))try{X=(i.parseRfc7231DateTime(Y).getTime()-Date.now())/1000}catch($){W?.trace?.("Failed to parse retry-after header"),W?.trace?.($)}else if(Y.match(/ GMT, ((\d+)|(\d+\.\d+))$/))X=Number(Y.match(/ GMT, ([\d.]+)$/)?.[1]);else if(Y.match(/^((\d+)|(\d+\.\d+))$/))X=Number(Y);else if(Date.parse(Y)>=Date.now())X=(Date.parse(Y)-Date.now())/1000;if(isNaN(X))return;return new Date(Date.now()+X*1000)}else if(G==="x-amz-retry-after"){let Y=_.headers[K],X=Number(Y);if(isNaN(X)){W?.trace?.(`Failed to parse x-amz-retry-after=${Y}`);return}return new Date(Date.now()+X)}}}function kW(_,W){return M_(_,W)}var V_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function N_(_){return(W)=>(K,G)=>async(Y)=>{let X=await W.retryStrategy(),$=await W.maxAttempts();if(xW(X)){X=X;let Z=await X.acquireInitialRetryToken((G.partition_id??"")+(G.__retryLongPoll?":longpoll":"")),L=Error(),b=0,j=0,{request:Q}=Y,J=U.HttpRequest.isInstance(Q);if(J)Q.headers[x]=i.v4();while(!0)try{if(J)Q.headers[f]=`attempt=${b+1}; max=${$}`;let{response:w,output:F}=await K(Y);return X.recordSuccess(Z),F.$metadata.attempts=b+1,F.$metadata.totalRetryDelay=j,{response:w,output:F}}catch(w){let F=fW(w,W.logger);if(L=V_(w),J&&_(Q))throw(G.logger instanceof g.NoOpLogger?console:G.logger)?.warn("An error was encountered in a non-retryable streaming request."),L;try{Z=await X.refreshRetryTokenForRetry(Z,F)}catch(wX){if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=b+1,L.$metadata.totalRetryDelay=j,L}b=Z.getRetryCount();let h=Z.getRetryDelay();if(j+=(Z?.$retryLog?.acquisitionDelay??0)+h,h>0)await vW(h)}}else{if(X=X,X?.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",X.mode]];return X.retry(K,Y)}}}var vW=(_)=>new Promise((W)=>setTimeout(W,_)),xW=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",fW=(_,W)=>{let K={error:_,errorType:yW(_)},G=M_(_.$response,W);if(G)K.retryAfterHint=G;return K},yW=(_)=>{if(q(_))return"THROTTLING";if(I(_))return"TRANSIENT";if(O_(_))return"SERVER_ERROR";return"CLIENT_ERROR"},U_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function lW(_){let W=N_(_);return(K)=>({applyToStack:(G)=>{G.add(W(K),U_)}})}class T{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let W;this.updateMeasuredRate();let K=_;if(K?.errorType==="THROTTLING"||q(K?.error??_)){let X=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=X,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),W=this.cubicThrottle(X),this.enableTokenBucket()}else this.calculateTimeWindow(),W=this.cubicSuccess(this.getCurrentTimeInSeconds());let Y=Math.min(W,2*this.measuredTxRate);this.updateTokenBucketRate(Y)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let W=(_-this.availableTokens)/this.fillRate*1000;await new Promise((K)=>T.setTimeoutFn(K,W)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let W=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+W),this.lastTimestamp=_}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.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),W=Math.floor(_*2)/2;if(this.requestCount++,W>this.lastTxRateBucket){let K=this.requestCount/(W-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(K*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=W}}getPrecise(_){return parseFloat(_.toFixed(8))}}class O{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return O.v2026?50:100}static throttlingDelay(){return O.v2026?1000:500}static cost(){return O.v2026?14:5}static throttlingCost(){return O.v2026?5:10}static modifiedCostType(){return O.v2026?"THROTTLING":"TRANSIENT"}}class E_{x=O.delay();computeNextBackoffDelay(_){let W=Math.random(),K=2,G=W*Math.min(this.x*2**_,v);return Math.floor(G)}setDelayBase(_){this.x=_}}class u{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(_,W,K,G){this.delay=_,this.count=W,this.cost=K,this.longPoll=G}getRetryCount(){return this.count}getRetryDelay(){return Math.min(v,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}iW.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(iW.RETRY_MODES||(iW.RETRY_MODES={}));var V=3,C_=iW.RETRY_MODES.STANDARD,R={incompatible:1,attempts:2,capacity:3},D=class{mode=iW.RETRY_MODES.STANDARD;retryBackoffStrategy;capacity=A;maxAttemptsProvider;baseDelay;constructor(W){if(typeof W==="number")this.maxAttemptsProvider=async()=>W;else if(typeof W==="function")this.maxAttemptsProvider=W;else if(W&&typeof W==="object")this.maxAttemptsProvider=async()=>W.maxAttempts,this.baseDelay=W.baseDelay,this.retryBackoffStrategy=W.backoff;this.maxAttemptsProvider??=async()=>V,this.baseDelay??=O.delay(),this.retryBackoffStrategy??=new E_}async acquireInitialRetryToken(W){return new u(O.delay(),0,void 0,O.v2026&&W.includes(":longpoll"))}async refreshRetryTokenForRetry(W,K){let G=await this.getMaxAttempts(),Y=this.retryCode(W,K,G),X=Y===0,$=W.isLongPoll?.();if(X||$){let Z=K.errorType;this.retryBackoffStrategy.setDelayBase(Z==="THROTTLING"?O.throttlingDelay():this.baseDelay);let L=this.retryBackoffStrategy.computeNextBackoffDelay(W.getRetryCount()),b=L;if(K.retryAfterHint instanceof Date)b=Math.max(L,Math.min(K.retryAfterHint.getTime()-Date.now(),L+5000));if(!X){let j=O.v2026&&Y===R.capacity&&$?b:0;if(j>0)await new Promise((Q)=>setTimeout(Q,j))}else{let j=this.getCapacityCost(Z);this.capacity-=j;let Q=new u(0,W.getRetryCount()+1,j,W.isLongPoll?.()??!1);return await new Promise((J)=>setTimeout(J,b)),Q.$retryLog.acquisitionDelay=b,Q}}throw Error("No retry token available")}recordSuccess(W){this.capacity=Math.min(A,this.capacity+(W.getRetryCost()??o))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(W){return console.warn(`Max attempts provider could not resolve. Using default of ${V}`),V}}retryCode(W,K,G){let Y=W.getRetryCount()+1,X=this.isRetryableError(K.errorType)?0:R.incompatible,$=Y<G?0:R.attempts,Z=this.capacity>=this.getCapacityCost(K.errorType)?0:R.capacity;return X||$||Z}getCapacityCost(W){return W===O.modifiedCostType()?O.throttlingCost():O.cost()}isRetryableError(W){return W==="THROTTLING"||W==="TRANSIENT"}},h_=class{mode=iW.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(W,K){let{rateLimiter:G}=K??{};this.rateLimiter=G??new T,this.standardRetryStrategy=K?new D({maxAttempts:typeof W==="number"?W:3,...K}):new D(W)}async acquireInitialRetryToken(W){let K=await this.standardRetryStrategy.acquireInitialRetryToken(W);return await this.rateLimiter.getSendToken(),K}async refreshRetryTokenForRetry(W,K){this.rateLimiter.updateClientSendingRate(K);let G=await this.standardRetryStrategy.refreshRetryTokenForRetry(W,K);return await this.rateLimiter.getSendToken(),G}recordSuccess(W){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(W)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class D_ extends D{computeNextBackoffDelay;constructor(_,W=O.delay()){super(typeof _==="function"?_:async()=>_);if(typeof W==="number")this.computeNextBackoffDelay=()=>W;else this.computeNextBackoffDelay=W;this.retryBackoffStrategy.computeNextBackoffDelay=(K)=>{let G=K+1;return this.computeNextBackoffDelay(G)}}}var cW=(_,W)=>{let K=_,G=o,Y=z_,X=F_,$=_,Z=(Q)=>Q.name==="TimeoutError"?X:Y,L=(Q)=>Z(Q)<=$;return Object.freeze({hasRetryTokens:L,retrieveRetryTokens:(Q)=>{if(!L(Q))throw Error("No retry token available");let J=Z(Q);return $-=J,J},releaseRetryTokens:(Q)=>{$+=Q??G,$=Math.min($,K)}})},q_=(_,W)=>Math.floor(Math.min(v,Math.random()*2**W*_)),I_=(_)=>{if(!_)return!1;return n(_)||Q_(_)||q(_)||I(_)};class t{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=iW.RETRY_MODES.STANDARD;constructor(_,W){this.maxAttemptsProvider=_,this.retryDecider=W?.retryDecider??I_,this.delayDecider=W?.delayDecider??q_,this.retryQuota=W?.retryQuota??cW(A)}shouldRetry(_,W,K){return W<K&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(W){_=V}return _}async retry(_,W,K){let G,Y=0,X=0,$=await this.getMaxAttempts(),{request:Z}=W;if(U.HttpRequest.isInstance(Z))Z.headers[x]=i.v4();while(!0)try{if(U.HttpRequest.isInstance(Z))Z.headers[f]=`attempt=${Y+1}; max=${$}`;if(K?.beforeRequest)await K.beforeRequest();let{response:L,output:b}=await _(W);if(K?.afterRequest)K.afterRequest(L);return this.retryQuota.releaseRetryTokens(G),b.$metadata.attempts=Y+1,b.$metadata.totalRetryDelay=X,{response:L,output:b}}catch(L){let b=V_(L);if(Y++,this.shouldRetry(b,Y,$)){G=this.retryQuota.retrieveRetryTokens(b);let j=this.delayDecider(q(b)?H_:B_,Y),Q=dW(b.$response),J=Math.max(Q||0,j);X+=J,await new Promise((w)=>setTimeout(w,J));continue}if(!b.$metadata)b.$metadata={};throw b.$metadata.attempts=Y,b.$metadata.totalRetryDelay=X,b}}}var dW=(_)=>{if(!U.HttpResponse.isInstance(_))return;let W=Object.keys(_.headers).find((X)=>X.toLowerCase()==="retry-after");if(!W)return;let K=_.headers[W],G=Number(K);if(!Number.isNaN(G))return G*1000;return new Date(K).getTime()-Date.now()};class T_ extends t{rateLimiter;constructor(_,W){let{rateLimiter:K,...G}=W??{};super(_,G);this.rateLimiter=K??new T,this.mode=iW.RETRY_MODES.ADAPTIVE}async retry(_,W){return super.retry(_,W,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(K)=>{this.rateLimiter.updateClientSendingRate(K)}})}}var p="AWS_MAX_ATTEMPTS",s="max_attempts",mW={environmentVariableSelector:(_)=>{let W=_[p];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Environment variable ${p} mast be a number, got "${W}"`);return K},configFileSelector:(_)=>{let W=_[s];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Shared config file entry ${s} mast be a number, got "${W}"`);return K},default:V},gW=(_,W)=>{let{retryStrategy:K,retryMode:G}=_,{defaultMaxAttempts:Y=V,defaultBaseDelay:X=O.delay()}=W??{},$=g.normalizeProvider(_.maxAttempts??Y),Z=K?Promise.resolve(K):void 0,L=async()=>{let b=await $();if(await g.normalizeProvider(G)()===iW.RETRY_MODES.ADAPTIVE)return new h_($,{maxAttempts:b,baseDelay:X});return new D({maxAttempts:b,baseDelay:X})};return Object.assign(_,{maxAttempts:$,retryStrategy:()=>Z??=L()})},S_="AWS_RETRY_MODE",P_="retry_mode",uW={environmentVariableSelector:(_)=>_[S_],configFileSelector:(_)=>_[P_],default:C_},R_=()=>(_)=>async(W)=>{let{request:K}=W;if(U.HttpRequest.isInstance(K))delete K.headers[x],delete K.headers[f];return _(W)},A_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},pW=(_)=>({applyToStack:(W)=>{W.addRelativeTo(R_(),A_)}}),sW=N_(L_),aW=lW(L_);iW.AdaptiveRetryStrategy=h_;iW.CONFIG_MAX_ATTEMPTS=s;iW.CONFIG_RETRY_MODE=P_;iW.ConfiguredRetryStrategy=D_;iW.DEFAULT_MAX_ATTEMPTS=V;iW.DEFAULT_RETRY_DELAY_BASE=B_;iW.DEFAULT_RETRY_MODE=C_;iW.DefaultRateLimiter=T;iW.DeprecatedAdaptiveRetryStrategy=T_;iW.DeprecatedStandardRetryStrategy=t;iW.ENV_MAX_ATTEMPTS=p;iW.ENV_RETRY_MODE=S_;iW.INITIAL_RETRY_TOKENS=A;iW.INVOCATION_ID_HEADER=x;iW.MAXIMUM_RETRY_DELAY=v;iW.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=mW;iW.NODE_RETRY_MODE_CONFIG_OPTIONS=uW;iW.NO_RETRY_INCREMENT=o;iW.REQUEST_HEADER=f;iW.RETRY_COST=z_;iW.Retry=O;iW.StandardRetryStrategy=D;iW.THROTTLING_RETRY_DELAY_BASE=H_;iW.TIMEOUT_RETRY_COST=F_;iW.defaultDelayDecider=q_;iW.defaultRetryDecider=I_;iW.getOmitRetryHeadersPlugin=pW;iW.getRetryAfterHint=kW;iW.getRetryPlugin=aW;iW.isBrowserNetworkError=J_;iW.isClockSkewCorrectedError=j_;iW.isClockSkewError=Q_;iW.isNodeJsHttp2TransientError=w_;iW.isRetryableByTrait=n;iW.isServerError=O_;iW.isThrottlingError=q;iW.isTransientError=I;iW.omitRetryHeadersMiddleware=R_;iW.omitRetryHeadersMiddlewareOptions=A_;iW.resolveRetryConfig=gW;iW.retryMiddleware=sW;iW.retryMiddlewareOptions=U_});var i_=k((_G)=>{var lK=yK(),y=a(),v_=fK(),x_=b_(),cK=(_,W)=>{if(!W||W.length===0)return _;let K=[];for(let G of W)for(let Y of _)if(Y.schemeId.split("#")[1]===G)K.push(Y);for(let G of _)if(!K.find(({schemeId:Y})=>Y===G.schemeId))K.push(G);return K};function dK(_){let W=new Map;for(let K of _)W.set(K.schemeId,K);return W}var r=(_,W)=>(K,G)=>async(Y)=>{let X=_.httpAuthSchemeProvider(await W.httpAuthSchemeParametersProvider(_,G,Y.input)),$=_.authSchemePreference?await _.authSchemePreference():[],Z=cK(X,$),L=dK(_.httpAuthSchemes),b=x_.getSmithyContext(G),j=[];for(let Q of Z){let J=L.get(Q.schemeId);if(!J){j.push(`HttpAuthScheme \`${Q.schemeId}\` was not enabled for this service.`);continue}let w=J.identityProvider(await W.identityProviderConfigProvider(_));if(!w){j.push(`HttpAuthScheme \`${Q.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:F={},signingProperties:h={}}=Q.propertiesExtractor?.(_,G)||{};Q.identityProperties=Object.assign(Q.identityProperties||{},F),Q.signingProperties=Object.assign(Q.signingProperties||{},h),b.selectedHttpAuthScheme={httpAuthOption:Q,identity:await w(Q.identityProperties),signer:J.signer};break}if(!b.selectedHttpAuthScheme)throw Error(j.join(`
|
|
2
|
+
import{Ce as a}from"./chunk-sv48x9h8.js";import{sf as fK,tf as yK,vf as b_,wf as hG,xf as DG,yf as DW}from"./chunk-yp3dj4wh.js";import{DO as k,GO as N}from"./chunk-yjj4cvqg.js";var k_=k((iW)=>{var qW=N("stream"),g=b_(),U=a(),i=DW(),L_=(_)=>_?.body instanceof qW.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,IW=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],TW=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],SW=["TimeoutError","RequestTimeout","RequestTimeoutException"],PW=[500,502,503,504],RW=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],AW=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],n=(_)=>_?.$retryable!==void 0,Q_=(_)=>IW.includes(_.name),j_=(_)=>_.$metadata?.clockSkewCorrected,J_=(_)=>{let W=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return W.has(_.message)},q=(_)=>_.$metadata?.httpStatusCode===429||TW.includes(_.name)||_.$retryable?.throttling==!0,I=(_,W=0)=>n(_)||j_(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||SW.includes(_.name)||RW.includes(_?.code||"")||AW.includes(_?.code||"")||PW.includes(_.$metadata?.httpStatusCode||0)||J_(_)||w_(_)||_.cause!==void 0&&W<=10&&I(_.cause,W+1),O_=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let W=_.$metadata.httpStatusCode;if(500<=W&&W<=599&&!I(_))return!0;return!1}return!1};function w_(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var B_=100,v=20000,H_=500,A=500,z_=5,F_=10,o=1,x="amz-sdk-invocation-id",f="amz-sdk-request";function M_(_,W){if(!U.HttpResponse.isInstance(_))return;for(let K of Object.keys(_.headers)){let G=K.toLowerCase();if(G==="retry-after"){let Y=_.headers[K],X=NaN;if(Y.endsWith("GMT"))try{X=(i.parseRfc7231DateTime(Y).getTime()-Date.now())/1000}catch($){W?.trace?.("Failed to parse retry-after header"),W?.trace?.($)}else if(Y.match(/ GMT, ((\d+)|(\d+\.\d+))$/))X=Number(Y.match(/ GMT, ([\d.]+)$/)?.[1]);else if(Y.match(/^((\d+)|(\d+\.\d+))$/))X=Number(Y);else if(Date.parse(Y)>=Date.now())X=(Date.parse(Y)-Date.now())/1000;if(isNaN(X))return;return new Date(Date.now()+X*1000)}else if(G==="x-amz-retry-after"){let Y=_.headers[K],X=Number(Y);if(isNaN(X)){W?.trace?.(`Failed to parse x-amz-retry-after=${Y}`);return}return new Date(Date.now()+X)}}}function kW(_,W){return M_(_,W)}var V_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function N_(_){return(W)=>(K,G)=>async(Y)=>{let X=await W.retryStrategy(),$=await W.maxAttempts();if(xW(X)){X=X;let Z=await X.acquireInitialRetryToken((G.partition_id??"")+(G.__retryLongPoll?":longpoll":"")),L=Error(),b=0,j=0,{request:Q}=Y,J=U.HttpRequest.isInstance(Q);if(J)Q.headers[x]=i.v4();while(!0)try{if(J)Q.headers[f]=`attempt=${b+1}; max=${$}`;let{response:w,output:F}=await K(Y);return X.recordSuccess(Z),F.$metadata.attempts=b+1,F.$metadata.totalRetryDelay=j,{response:w,output:F}}catch(w){let F=fW(w,W.logger);if(L=V_(w),J&&_(Q))throw(G.logger instanceof g.NoOpLogger?console:G.logger)?.warn("An error was encountered in a non-retryable streaming request."),L;try{Z=await X.refreshRetryTokenForRetry(Z,F)}catch(wX){if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=b+1,L.$metadata.totalRetryDelay=j,L}b=Z.getRetryCount();let h=Z.getRetryDelay();if(j+=(Z?.$retryLog?.acquisitionDelay??0)+h,h>0)await vW(h)}}else{if(X=X,X?.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",X.mode]];return X.retry(K,Y)}}}var vW=(_)=>new Promise((W)=>setTimeout(W,_)),xW=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",fW=(_,W)=>{let K={error:_,errorType:yW(_)},G=M_(_.$response,W);if(G)K.retryAfterHint=G;return K},yW=(_)=>{if(q(_))return"THROTTLING";if(I(_))return"TRANSIENT";if(O_(_))return"SERVER_ERROR";return"CLIENT_ERROR"},U_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function lW(_){let W=N_(_);return(K)=>({applyToStack:(G)=>{G.add(W(K),U_)}})}class T{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let W;this.updateMeasuredRate();let K=_;if(K?.errorType==="THROTTLING"||q(K?.error??_)){let X=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=X,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),W=this.cubicThrottle(X),this.enableTokenBucket()}else this.calculateTimeWindow(),W=this.cubicSuccess(this.getCurrentTimeInSeconds());let Y=Math.min(W,2*this.measuredTxRate);this.updateTokenBucketRate(Y)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let W=(_-this.availableTokens)/this.fillRate*1000;await new Promise((K)=>T.setTimeoutFn(K,W)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let W=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+W),this.lastTimestamp=_}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.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),W=Math.floor(_*2)/2;if(this.requestCount++,W>this.lastTxRateBucket){let K=this.requestCount/(W-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(K*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=W}}getPrecise(_){return parseFloat(_.toFixed(8))}}class O{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return O.v2026?50:100}static throttlingDelay(){return O.v2026?1000:500}static cost(){return O.v2026?14:5}static throttlingCost(){return O.v2026?5:10}static modifiedCostType(){return O.v2026?"THROTTLING":"TRANSIENT"}}class E_{x=O.delay();computeNextBackoffDelay(_){let W=Math.random(),K=2,G=W*Math.min(this.x*2**_,v);return Math.floor(G)}setDelayBase(_){this.x=_}}class u{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(_,W,K,G){this.delay=_,this.count=W,this.cost=K,this.longPoll=G}getRetryCount(){return this.count}getRetryDelay(){return Math.min(v,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}iW.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(iW.RETRY_MODES||(iW.RETRY_MODES={}));var V=3,C_=iW.RETRY_MODES.STANDARD,R={incompatible:1,attempts:2,capacity:3},D=class{mode=iW.RETRY_MODES.STANDARD;retryBackoffStrategy;capacity=A;maxAttemptsProvider;baseDelay;constructor(W){if(typeof W==="number")this.maxAttemptsProvider=async()=>W;else if(typeof W==="function")this.maxAttemptsProvider=W;else if(W&&typeof W==="object")this.maxAttemptsProvider=async()=>W.maxAttempts,this.baseDelay=W.baseDelay,this.retryBackoffStrategy=W.backoff;this.maxAttemptsProvider??=async()=>V,this.baseDelay??=O.delay(),this.retryBackoffStrategy??=new E_}async acquireInitialRetryToken(W){return new u(O.delay(),0,void 0,O.v2026&&W.includes(":longpoll"))}async refreshRetryTokenForRetry(W,K){let G=await this.getMaxAttempts(),Y=this.retryCode(W,K,G),X=Y===0,$=W.isLongPoll?.();if(X||$){let Z=K.errorType;this.retryBackoffStrategy.setDelayBase(Z==="THROTTLING"?O.throttlingDelay():this.baseDelay);let L=this.retryBackoffStrategy.computeNextBackoffDelay(W.getRetryCount()),b=L;if(K.retryAfterHint instanceof Date)b=Math.max(L,Math.min(K.retryAfterHint.getTime()-Date.now(),L+5000));if(!X){let j=O.v2026&&Y===R.capacity&&$?b:0;if(j>0)await new Promise((Q)=>setTimeout(Q,j))}else{let j=this.getCapacityCost(Z);this.capacity-=j;let Q=new u(0,W.getRetryCount()+1,j,W.isLongPoll?.()??!1);return await new Promise((J)=>setTimeout(J,b)),Q.$retryLog.acquisitionDelay=b,Q}}throw Error("No retry token available")}recordSuccess(W){this.capacity=Math.min(A,this.capacity+(W.getRetryCost()??o))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(W){return console.warn(`Max attempts provider could not resolve. Using default of ${V}`),V}}retryCode(W,K,G){let Y=W.getRetryCount()+1,X=this.isRetryableError(K.errorType)?0:R.incompatible,$=Y<G?0:R.attempts,Z=this.capacity>=this.getCapacityCost(K.errorType)?0:R.capacity;return X||$||Z}getCapacityCost(W){return W===O.modifiedCostType()?O.throttlingCost():O.cost()}isRetryableError(W){return W==="THROTTLING"||W==="TRANSIENT"}},h_=class{mode=iW.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(W,K){let{rateLimiter:G}=K??{};this.rateLimiter=G??new T,this.standardRetryStrategy=K?new D({maxAttempts:typeof W==="number"?W:3,...K}):new D(W)}async acquireInitialRetryToken(W){let K=await this.standardRetryStrategy.acquireInitialRetryToken(W);return await this.rateLimiter.getSendToken(),K}async refreshRetryTokenForRetry(W,K){this.rateLimiter.updateClientSendingRate(K);let G=await this.standardRetryStrategy.refreshRetryTokenForRetry(W,K);return await this.rateLimiter.getSendToken(),G}recordSuccess(W){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(W)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class D_ extends D{computeNextBackoffDelay;constructor(_,W=O.delay()){super(typeof _==="function"?_:async()=>_);if(typeof W==="number")this.computeNextBackoffDelay=()=>W;else this.computeNextBackoffDelay=W;this.retryBackoffStrategy.computeNextBackoffDelay=(K)=>{let G=K+1;return this.computeNextBackoffDelay(G)}}}var cW=(_,W)=>{let K=_,G=o,Y=z_,X=F_,$=_,Z=(Q)=>Q.name==="TimeoutError"?X:Y,L=(Q)=>Z(Q)<=$;return Object.freeze({hasRetryTokens:L,retrieveRetryTokens:(Q)=>{if(!L(Q))throw Error("No retry token available");let J=Z(Q);return $-=J,J},releaseRetryTokens:(Q)=>{$+=Q??G,$=Math.min($,K)}})},q_=(_,W)=>Math.floor(Math.min(v,Math.random()*2**W*_)),I_=(_)=>{if(!_)return!1;return n(_)||Q_(_)||q(_)||I(_)};class t{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=iW.RETRY_MODES.STANDARD;constructor(_,W){this.maxAttemptsProvider=_,this.retryDecider=W?.retryDecider??I_,this.delayDecider=W?.delayDecider??q_,this.retryQuota=W?.retryQuota??cW(A)}shouldRetry(_,W,K){return W<K&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(W){_=V}return _}async retry(_,W,K){let G,Y=0,X=0,$=await this.getMaxAttempts(),{request:Z}=W;if(U.HttpRequest.isInstance(Z))Z.headers[x]=i.v4();while(!0)try{if(U.HttpRequest.isInstance(Z))Z.headers[f]=`attempt=${Y+1}; max=${$}`;if(K?.beforeRequest)await K.beforeRequest();let{response:L,output:b}=await _(W);if(K?.afterRequest)K.afterRequest(L);return this.retryQuota.releaseRetryTokens(G),b.$metadata.attempts=Y+1,b.$metadata.totalRetryDelay=X,{response:L,output:b}}catch(L){let b=V_(L);if(Y++,this.shouldRetry(b,Y,$)){G=this.retryQuota.retrieveRetryTokens(b);let j=this.delayDecider(q(b)?H_:B_,Y),Q=dW(b.$response),J=Math.max(Q||0,j);X+=J,await new Promise((w)=>setTimeout(w,J));continue}if(!b.$metadata)b.$metadata={};throw b.$metadata.attempts=Y,b.$metadata.totalRetryDelay=X,b}}}var dW=(_)=>{if(!U.HttpResponse.isInstance(_))return;let W=Object.keys(_.headers).find((X)=>X.toLowerCase()==="retry-after");if(!W)return;let K=_.headers[W],G=Number(K);if(!Number.isNaN(G))return G*1000;return new Date(K).getTime()-Date.now()};class T_ extends t{rateLimiter;constructor(_,W){let{rateLimiter:K,...G}=W??{};super(_,G);this.rateLimiter=K??new T,this.mode=iW.RETRY_MODES.ADAPTIVE}async retry(_,W){return super.retry(_,W,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(K)=>{this.rateLimiter.updateClientSendingRate(K)}})}}var p="AWS_MAX_ATTEMPTS",s="max_attempts",mW={environmentVariableSelector:(_)=>{let W=_[p];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Environment variable ${p} mast be a number, got "${W}"`);return K},configFileSelector:(_)=>{let W=_[s];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Shared config file entry ${s} mast be a number, got "${W}"`);return K},default:V},gW=(_,W)=>{let{retryStrategy:K,retryMode:G}=_,{defaultMaxAttempts:Y=V,defaultBaseDelay:X=O.delay()}=W??{},$=g.normalizeProvider(_.maxAttempts??Y),Z=K?Promise.resolve(K):void 0,L=async()=>{let b=await $();if(await g.normalizeProvider(G)()===iW.RETRY_MODES.ADAPTIVE)return new h_($,{maxAttempts:b,baseDelay:X});return new D({maxAttempts:b,baseDelay:X})};return Object.assign(_,{maxAttempts:$,retryStrategy:()=>Z??=L()})},S_="AWS_RETRY_MODE",P_="retry_mode",uW={environmentVariableSelector:(_)=>_[S_],configFileSelector:(_)=>_[P_],default:C_},R_=()=>(_)=>async(W)=>{let{request:K}=W;if(U.HttpRequest.isInstance(K))delete K.headers[x],delete K.headers[f];return _(W)},A_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},pW=(_)=>({applyToStack:(W)=>{W.addRelativeTo(R_(),A_)}}),sW=N_(L_),aW=lW(L_);iW.AdaptiveRetryStrategy=h_;iW.CONFIG_MAX_ATTEMPTS=s;iW.CONFIG_RETRY_MODE=P_;iW.ConfiguredRetryStrategy=D_;iW.DEFAULT_MAX_ATTEMPTS=V;iW.DEFAULT_RETRY_DELAY_BASE=B_;iW.DEFAULT_RETRY_MODE=C_;iW.DefaultRateLimiter=T;iW.DeprecatedAdaptiveRetryStrategy=T_;iW.DeprecatedStandardRetryStrategy=t;iW.ENV_MAX_ATTEMPTS=p;iW.ENV_RETRY_MODE=S_;iW.INITIAL_RETRY_TOKENS=A;iW.INVOCATION_ID_HEADER=x;iW.MAXIMUM_RETRY_DELAY=v;iW.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=mW;iW.NODE_RETRY_MODE_CONFIG_OPTIONS=uW;iW.NO_RETRY_INCREMENT=o;iW.REQUEST_HEADER=f;iW.RETRY_COST=z_;iW.Retry=O;iW.StandardRetryStrategy=D;iW.THROTTLING_RETRY_DELAY_BASE=H_;iW.TIMEOUT_RETRY_COST=F_;iW.defaultDelayDecider=q_;iW.defaultRetryDecider=I_;iW.getOmitRetryHeadersPlugin=pW;iW.getRetryAfterHint=kW;iW.getRetryPlugin=aW;iW.isBrowserNetworkError=J_;iW.isClockSkewCorrectedError=j_;iW.isClockSkewError=Q_;iW.isNodeJsHttp2TransientError=w_;iW.isRetryableByTrait=n;iW.isServerError=O_;iW.isThrottlingError=q;iW.isTransientError=I;iW.omitRetryHeadersMiddleware=R_;iW.omitRetryHeadersMiddlewareOptions=A_;iW.resolveRetryConfig=gW;iW.retryMiddleware=sW;iW.retryMiddlewareOptions=U_});var i_=k((_G)=>{var lK=yK(),y=a(),v_=fK(),x_=b_(),cK=(_,W)=>{if(!W||W.length===0)return _;let K=[];for(let G of W)for(let Y of _)if(Y.schemeId.split("#")[1]===G)K.push(Y);for(let G of _)if(!K.find(({schemeId:Y})=>Y===G.schemeId))K.push(G);return K};function dK(_){let W=new Map;for(let K of _)W.set(K.schemeId,K);return W}var r=(_,W)=>(K,G)=>async(Y)=>{let X=_.httpAuthSchemeProvider(await W.httpAuthSchemeParametersProvider(_,G,Y.input)),$=_.authSchemePreference?await _.authSchemePreference():[],Z=cK(X,$),L=dK(_.httpAuthSchemes),b=x_.getSmithyContext(G),j=[];for(let Q of Z){let J=L.get(Q.schemeId);if(!J){j.push(`HttpAuthScheme \`${Q.schemeId}\` was not enabled for this service.`);continue}let w=J.identityProvider(await W.identityProviderConfigProvider(_));if(!w){j.push(`HttpAuthScheme \`${Q.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:F={},signingProperties:h={}}=Q.propertiesExtractor?.(_,G)||{};Q.identityProperties=Object.assign(Q.identityProperties||{},F),Q.signingProperties=Object.assign(Q.signingProperties||{},h),b.selectedHttpAuthScheme={httpAuthOption:Q,identity:await w(Q.identityProperties),signer:J.signer};break}if(!b.selectedHttpAuthScheme)throw Error(j.join(`
|
|
3
3
|
`));return K(Y)},f_={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},mK=(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K})=>({applyToStack:(G)=>{G.addRelativeTo(r(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K}),f_)}}),y_={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},gK=(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K})=>({applyToStack:(G)=>{G.addRelativeTo(r(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K}),y_)}}),uK=(_)=>(W)=>{throw W},pK=(_,W)=>{},l_=(_)=>(W,K)=>async(G)=>{if(!y.HttpRequest.isInstance(G.request))return W(G);let X=x_.getSmithyContext(K).selectedHttpAuthScheme;if(!X)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:$={}},identity:Z,signer:L}=X,b=await W({...G,request:await L.sign(G.request,Z,$)}).catch((L.errorHandler||uK)($));return(L.successHandler||pK)(b.response,$),b},c_={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},sK=(_)=>({applyToStack:(W)=>{W.addRelativeTo(l_(),c_)}}),aK=(_)=>{if(typeof _==="function")return _;let W=Promise.resolve(_);return()=>W},iK=async(_,W,K,G=(X)=>X,...Y)=>{let X=new _(K);return X=G(X)??X,await W.send(X,...Y)};function nK(_,W,K,G,Y){return async function*($,Z,...L){let b=Z,j=$.startingToken??b[K],Q=!0,J;while(Q){if(b[K]=j,Y)b[Y]=b[Y]??$.pageSize;if($.client instanceof _)J=await iK(W,$.client,Z,$.withCommand,...L);else throw Error(`Invalid client, expected instance of ${_.name}`);yield J;let w=j;j=oK(J,G),Q=!!(j&&(!$.stopOnSameToken||j!==w))}return}}var oK=(_,W)=>{let K=_,G=W.split(".");for(let Y of G){if(!K||typeof K!=="object")return;K=K[Y]}return K};function tK(_,W,K){if(!_.__smithy_context)_.__smithy_context={features:{}};else if(!_.__smithy_context.features)_.__smithy_context.features={};_.__smithy_context.features[W]=K}class d_{authSchemes=new Map;constructor(_){for(let W in _){let K=_[W];if(K!==void 0)this.authSchemes.set(W,K)}}getIdentityProvider(_){return this.authSchemes.get(_)}}class m_{async sign(_,W,K){if(!K)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!K.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!K.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!W.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let G=y.HttpRequest.clone(_);if(K.in===v_.HttpApiKeyAuthLocation.QUERY)G.query[K.name]=W.apiKey;else if(K.in===v_.HttpApiKeyAuthLocation.HEADER)G.headers[K.name]=K.scheme?`${K.scheme} ${W.apiKey}`:W.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+K.in+"`");return G}}class g_{async sign(_,W,K){let G=y.HttpRequest.clone(_);if(!W.token)throw Error("request could not be signed with `token` since the `token` is not defined");return G.headers.Authorization=`Bearer ${W.token}`,G}}class u_{async sign(_,W,K){return _}}var p_=(_)=>function(K){return a_(K)&&K.expiration.getTime()-Date.now()<_},s_=300000,rK=p_(s_),a_=(_)=>_.expiration!==void 0,eK=(_,W,K)=>{if(_===void 0)return;let G=typeof _!=="function"?async()=>Promise.resolve(_):_,Y,X,$,Z=!1,L=async(b)=>{if(!X)X=G(b);try{Y=await X,$=!0,Z=!1}finally{X=void 0}return Y};if(W===void 0)return async(b)=>{if(!$||b?.forceRefresh)Y=await L(b);return Y};return async(b)=>{if(!$||b?.forceRefresh)Y=await L(b);if(Z)return Y;if(!K(Y))return Z=!0,Y;if(W(Y))return await L(b),Y;return Y}};_G.getSmithyContext=lK.getSmithyContext;_G.requestBuilder=y.requestBuilder;_G.DefaultIdentityProviderConfig=d_;_G.EXPIRATION_MS=s_;_G.HttpApiKeyAuthSigner=m_;_G.HttpBearerAuthSigner=g_;_G.NoAuthSigner=u_;_G.createIsIdentityExpiredFunction=p_;_G.createPaginator=nK;_G.doesIdentityRequireRefresh=a_;_G.getHttpAuthSchemeEndpointRuleSetPlugin=mK;_G.getHttpAuthSchemePlugin=gK;_G.getHttpSigningPlugin=sK;_G.httpAuthSchemeEndpointRuleSetMiddlewareOptions=f_;_G.httpAuthSchemeMiddleware=r;_G.httpAuthSchemeMiddlewareOptions=y_;_G.httpSigningMiddleware=l_;_G.httpSigningMiddlewareOptions=c_;_G.isIdentityExpired=rK;_G.memoizeIdentityProvider=eK;_G.normalizeProvider=aK;_G.setFeature=tK});var o_=k((EG)=>{var S={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")},e=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!e)globalThis.awslambda=globalThis.awslambda||{};class l{static PROTECTED_KEYS=S;isProtectedKey(_){return Object.values(S).includes(_)}getRequestId(){return this.get(S.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(S.X_RAY_TRACE_ID)}getTenantId(){return this.get(S.TENANT_ID)}}class n_ extends l{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(_){return this.currentContext?.[_]}set(_,W){if(this.isProtectedKey(_))throw Error(`Cannot modify protected Lambda context field: ${String(_)}`);this.currentContext=this.currentContext||{},this.currentContext[_]=W}run(_,W){return this.currentContext=_,W()}}class W_ extends l{als;static async create(){let _=new W_,W=await import("async_hooks");return _.als=new W.AsyncLocalStorage,_}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(_){return this.als.getStore()?.[_]}set(_,W){if(this.isProtectedKey(_))throw Error(`Cannot modify protected Lambda context field: ${String(_)}`);let K=this.als.getStore();if(!K)throw Error("No context available");K[_]=W}run(_,W){return this.als.run(_,W)}}EG.InvokeStore=void 0;(function(_){let W=null;async function K(G){if(!W)W=(async()=>{let X=G===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await W_.create():new n_;if(!e&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!e&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=X,X;else return X})();return W}_.getInstanceAsync=K,_._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(W=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(EG.InvokeStore||(EG.InvokeStore={}));EG.InvokeStoreBase=l});var OX=k((H1)=>{var __dirname="/home/runner/workspace/qode/node_modules/.bun/@aws-sdk+core@3.974.17/node_modules/@aws-sdk/core/dist-cjs/submodules/client",Y_=k_(),m=a(),qG=o_(),IG=i_(),t_=N("os"),P=N("process"),z=hG(),r_=N("fs/promises"),E=N("path"),C=DG(),d={warningEmitted:!1},TG=(_)=>{if(_&&!d.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){d.warningEmitted=!0;return}let W=parseInt(_.substring(1,_.indexOf("."))),K=22;if(W<K)d.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
4
4
|
versions published after the first week of January 2027
|
|
5
5
|
will require node >=${K}. You are running node ${_}.
|
|
@@ -7,5 +7,5 @@ will require node >=${K}. You are running node ${_}.
|
|
|
7
7
|
To continue receiving updates to AWS services, bug fixes,
|
|
8
8
|
and security updates please upgrade to node >=${K}.
|
|
9
9
|
|
|
10
|
-
More information can be found at: https://a.co/c895JFp`)}},SG=()=>(_,W)=>async(K)=>{return W.__retryLongPoll=!0,_(K)},PG={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},RG=(_)=>({applyToStack:(W)=>{W.add(SG(),PG)}});function AG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}Y_.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function H(_,W,K){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[W]=K}function kG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}function vG(_){return _}var GW=(_)=>(W)=>async(K)=>{if(!m.HttpRequest.isInstance(K.request))return W(K);let{request:G}=K,{handlerProtocol:Y=""}=_.requestHandler.metadata||{};if(Y.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 X=G.hostname;if(G.port!=null)X+=`:${G.port}`;G.headers.host=X}return W(K)},XW={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},xG=(_)=>({applyToStack:(W)=>{W.add(GW(_),XW)}}),YW=()=>(_,W)=>async(K)=>{try{let G=await _(K),{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L,overrideOutputFilterSensitiveLog:b}=Z,j=L??W.inputFilterSensitiveLog,Q=b??W.outputFilterSensitiveLog,{$metadata:J,...w}=G.output;return $?.info?.({clientName:Y,commandName:X,input:j(K.input),output:Q(w),metadata:J}),G}catch(G){let{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L}=Z,b=L??W.inputFilterSensitiveLog;throw $?.error?.({clientName:Y,commandName:X,input:b(K.input),error:G,metadata:G.$metadata}),G}},$W={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},fG=(_)=>({applyToStack:(W)=>{W.add(YW(),$W)}}),ZW={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},K_="X-Amzn-Trace-Id",yG="AWS_LAMBDA_FUNCTION_NAME",lG="_X_AMZN_TRACE_ID",bW=()=>(_)=>async(W)=>{let{request:K}=W;if(!m.HttpRequest.isInstance(K))return _(W);let G=Object.keys(K.headers??{}).find((j)=>j.toLowerCase()===K_.toLowerCase())??K_;if(K.headers.hasOwnProperty(G))return _(W);let Y=process.env[yG],X=process.env[lG],L=(await qG.InvokeStore.getInstanceAsync())?.getXRayTraceId()??X,b=(j)=>typeof j==="string"&&j.length>0;if(b(Y)&&b(L))K.headers[K_]=L;return _({...W,request:K})},cG=(_)=>({applyToStack:(W)=>{W.add(bW(),ZW)}}),$_=void 0;function dG(_){if(_===void 0)return!0;return typeof _==="string"&&_.length<=50}function mG(_){let W=IG.normalizeProvider(_.userAgentAppId??$_),{customUserAgent:K}=_;return Object.assign(_,{customUserAgent:typeof K==="string"?[[K]]:K,userAgentAppId:async()=>{let G=await W();if(!dG(G)){let Y=_.logger?.constructor?.name==="NoOpLogger"||!_.logger?console:_.logger;if(typeof G!=="string")Y?.warn("userAgentAppId must be a string or undefined.");else if(G.length>50)Y?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return G}})}var LW={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|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"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)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws 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)"},"mx-central-1":{description:"Mexico (Central)"},"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-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso 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:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{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-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"},QW=LW,jW="",JW=(_)=>{let{partitions:W}=QW;for(let G of W){let{regions:Y,outputs:X}=G;for(let[$,Z]of Object.entries(Y))if($===_)return{...X,...Z}}for(let G of W){let{regionRegex:Y,outputs:X}=G;if(new RegExp(Y).test(_))return{...X}}let K=W.find((G)=>G.id==="aws");if(!K)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...K.outputs}},OW=(_,W="")=>{QW=_,jW=W},gG=()=>{OW(LW,"")},wW=()=>jW,uG=/\d{12}\.ddb/;async function pG(_,W,K){if(K.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")H(_,"PROTOCOL_RPC_V2_CBOR","M");if(typeof W.retryStrategy==="function"){let X=await W.retryStrategy();if(typeof X.mode==="string")switch(X.mode){case Y_.RETRY_MODES.ADAPTIVE:H(_,"RETRY_MODE_ADAPTIVE","F");break;case Y_.RETRY_MODES.STANDARD:H(_,"RETRY_MODE_STANDARD","E");break}}if(typeof W.accountIdEndpointMode==="function"){let X=_.endpointV2;if(String(X?.url?.hostname).match(uG))H(_,"ACCOUNT_ID_ENDPOINT","O");switch(await W.accountIdEndpointMode?.()){case"disabled":H(_,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":H(_,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":H(_,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let Y=_.__smithy_context?.selectedHttpAuthScheme?.identity;if(Y?.$source){let X=Y;if(X.accountId)H(_,"RESOLVED_ACCOUNT_ID","T");for(let[$,Z]of Object.entries(X.$source??{}))H(_,$,Z)}}var e_="user-agent",G_="x-amz-user-agent",_W=" ",X_="/",sG=/[^!$%&'*+\-.^_`|~\w]/g,aG=/[^!$%&'*+\-.^_`|~\w#]/g,WW="-",iG=1024;function nG(_){let W="";for(let K in _){let G=_[K];if(W.length+G.length+1<=iG){if(W.length)W+=","+G;else W+=G;continue}break}return W}var BW=(_)=>(W,K)=>async(G)=>{let{request:Y}=G;if(!m.HttpRequest.isInstance(Y))return W(G);let{headers:X}=Y,$=K?.userAgent?.map(c)||[],Z=(await _.defaultUserAgentProvider()).map(c);await pG(K,_,G);let L=K;Z.push(`m/${nG(Object.assign({},K.__smithy_context?.features,L.__aws_sdk_context?.features))}`);let b=_?.customUserAgent?.map(c)||[],j=await _.userAgentAppId();if(j)Z.push(c(["app",`${j}`]));let Q=wW(),J=(Q?[Q]:[]).concat([...Z,...$,...b]).join(_W),w=[...Z.filter((F)=>F.startsWith("aws-sdk-")),...b].join(_W);if(_.runtime!=="browser"){if(w)X[G_]=X[G_]?`${X[e_]} ${w}`:w;X[e_]=J}else X[G_]=J;return W({...G,request:Y})},c=(_)=>{let W=_[0].split(X_).map(($)=>$.replace(sG,WW)).join(X_),K=_[1]?.replace(aG,WW),G=W.indexOf(X_),Y=W.substring(0,G),X=W.substring(G+1);if(Y==="api")X=X.toLowerCase();return[Y,X,K].filter(($)=>$&&$.length>0).reduce(($,Z,L)=>{switch(L){case 0:return Z;case 1:return`${$}/${Z}`;default:return`${$}#${Z}`}},"")},HW={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},oG=(_)=>({applyToStack:(W)=>{W.add(BW(_),HW)}}),tG=()=>{let _=["deno","bun","llrt"];for(let W of _)if(P.versions[W])return[`md/${W}`,P.versions[W]];return["md/nodejs",P.versions.node]},rG=(_)=>{let W=process.cwd();if(!_)return[W];let K=E.normalize(_),G=K.split(E.sep),Y=G.indexOf("node_modules"),X=Y!==-1?G.slice(0,Y).join(E.sep):K;if(W===X)return[W];return[X,W]},eG=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/,zW=(_="")=>{let W=_.match(eG);if(!W)return;let[K,G,Y,X]=[W[1],W[2],W[3],W[4]];return X?`${K}.${G}.${Y}-${X}`:`${K}.${G}.${Y}`},_1=["^","~",">=","<=",">","<"],W1=["latest","beta","dev","rc","insiders","next"],K1=(_="")=>{if(W1.includes(_))return _;let W=_1.find((G)=>_.startsWith(G))??"",K=zW(_.slice(W.length));if(!K)return;return`${W}${K}`},B,G1=E.join("node_modules","typescript","package.json"),X1=async()=>{if(B===null)return;else if(typeof B==="string")return["md/tsc",B];let _=!1;try{_=z.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",z.SelectorType.ENV)||!1}catch{}if(_){B=null;return}let K=rG(typeof __dirname<"u"?__dirname:void 0),G;for(let $ of K)try{let Z=E.join($,"package.json"),L=await r_.readFile(Z,"utf-8"),{dependencies:b,devDependencies:j}=JSON.parse(L),Q=j?.typescript??b?.typescript;if(typeof Q!=="string")continue;G=Q;break}catch{}if(!G){B=null;return}let Y;for(let $ of K)try{let Z=E.join($,G1),L=await r_.readFile(Z,"utf-8"),{version:b}=JSON.parse(L),j=zW(b);if(typeof j!=="string")continue;Y=j;break}catch{}if(Y)return B=Y,["md/tsc",B];let X=K1(G);if(typeof X!=="string"){B=null;return}return B=`dev_${X}`,["md/tsc",B]},FW={isCrtAvailable:!1},Y1=()=>{if(FW.isCrtAvailable)return["md/crt-avail"];return null},MW=({serviceId:_,clientVersion:W})=>{let K=tG();return async(G)=>{let Y=[["aws-sdk-js",W],["ua","2.1"],[`os/${t_.platform()}`,t_.release()],["lang/js"],K],X=await X1();if(X)Y.push(X);let $=Y1();if($)Y.push($);if(_)Y.push([`api/${_}`,W]);if(P.env.AWS_EXECUTION_ENV)Y.push([`exec-env/${P.env.AWS_EXECUTION_ENV}`]);let Z=await G?.userAgentAppId?.();return Z?[...Y,[`app/${Z}`]]:[...Y]}},$1=MW,VW="AWS_SDK_UA_APP_ID",NW="sdk_ua_app_id",Z1="sdk-ua-app-id",b1={environmentVariableSelector:(_)=>_[VW],configFileSelector:(_)=>_[NW]??_[Z1],default:$_},L1=({serviceId:_,clientVersion:W})=>async(K)=>{let G=await import("./chunk-nzehfpxp.js"),Y=G.parse??G.default.parse??(()=>""),X=typeof window<"u"&&window?.navigator?.userAgent?Y(window.navigator.userAgent):void 0,$=[["aws-sdk-js",W],["ua","2.1"],[`os/${X?.os?.name||"other"}`,X?.os?.version],["lang/js"],["md/browser",`${X?.browser?.name??"unknown"}_${X?.browser?.version??"unknown"}`]];if(_)$.push([`api/${_}`,W]);let Z=await K?.userAgentAppId?.();if(Z)$.push([`app/${Z}`]);return $},Q1={os(_){if(/iPhone|iPad|iPod/.test(_))return"iOS";if(/Macintosh|Mac OS X/.test(_))return"macOS";if(/Windows NT/.test(_))return"Windows";if(/Android/.test(_))return"Android";if(/Linux/.test(_))return"Linux";return},browser(_){if(/EdgiOS|EdgA|Edg\//.test(_))return"Microsoft Edge";if(/Firefox\//.test(_))return"Firefox";if(/Chrome\//.test(_))return"Chrome";if(/Safari\//.test(_))return"Safari";return}},Z_=(_,W=!1)=>{if(W){for(let K of _.split("."))if(!Z_(K))return!1;return!0}if(!C.isValidHostLabel(_))return!1;if(_.length<3||_.length>63)return!1;if(_!==_.toLowerCase())return!1;if(C.isIpAddress(_))return!1;return!0},KW=":",j1="/",UW=(_)=>{let W=_.split(KW);if(W.length<6)return null;let[K,G,Y,X,$,...Z]=W;if(K!=="arn"||G===""||Y===""||Z.join(KW)==="")return null;let L=Z.map((b)=>b.split(j1)).flat();return{partition:G,service:Y,region:X,accountId:$,resourceId:L}},EW={isVirtualHostableS3Bucket:Z_,parseArn:UW,partition:JW};C.customEndpointFunctions.aws=EW;var J1=(_)=>{if(typeof _.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:W}=_;if(W===void 0)_.endpoint=async()=>{return CW(_.endpointProvider({Region:typeof _.region==="function"?await _.region():_.region,UseDualStack:typeof _.useDualstackEndpoint==="function"?await _.useDualstackEndpoint():_.useDualstackEndpoint,UseFIPS:typeof _.useFipsEndpoint==="function"?await _.useFipsEndpoint():_.useFipsEndpoint,Endpoint:void 0},{logger:_.logger}))};return _},CW=(_)=>m.parseUrl(_.url);function O1(_={}){return z.loadConfig({...z.NODE_REGION_CONFIG_OPTIONS,async default(){if(!hW.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...z.NODE_REGION_CONFIG_FILE_OPTIONS,..._})}var hW={silence:!1},w1=(_)=>{return{setRegion(W){_.region=W},region(){return _.region}}},B1=(_)=>{return{region:_.region()}};H1.NODE_REGION_CONFIG_FILE_OPTIONS=z.NODE_REGION_CONFIG_FILE_OPTIONS;H1.NODE_REGION_CONFIG_OPTIONS=z.NODE_REGION_CONFIG_OPTIONS;H1.REGION_ENV_NAME=z.REGION_ENV_NAME;H1.REGION_INI_NAME=z.REGION_INI_NAME;H1.resolveRegionConfig=z.resolveRegionConfig;H1.EndpointError=C.EndpointError;H1.isIpAddress=C.isIpAddress;H1.resolveEndpoint=C.resolveEndpoint;H1.DEFAULT_UA_APP_ID=$_;H1.NODE_APP_ID_CONFIG_OPTIONS=b1;H1.UA_APP_ID_ENV_NAME=VW;H1.UA_APP_ID_INI_NAME=NW;H1.awsEndpointFunctions=EW;H1.createDefaultUserAgentProvider=MW;H1.createUserAgentStringParsingProvider=L1;H1.crtAvailability=FW;H1.defaultUserAgent=$1;H1.emitWarningIfUnsupportedVersion=TG;H1.fallback=Q1;H1.getAwsRegionExtensionConfiguration=w1;H1.getHostHeaderPlugin=xG;H1.getLoggerPlugin=fG;H1.getLongPollPlugin=RG;H1.getRecursionDetectionPlugin=cG;H1.getUserAgentMiddlewareOptions=HW;H1.getUserAgentPlugin=oG;H1.getUserAgentPrefix=wW;H1.hostHeaderMiddleware=GW;H1.hostHeaderMiddlewareOptions=XW;H1.isVirtualHostableS3Bucket=Z_;H1.loggerMiddleware=YW;H1.loggerMiddlewareOptions=$W;H1.parseArn=UW;H1.partition=JW;H1.recursionDetectionMiddleware=bW;H1.recursionDetectionMiddlewareOptions=ZW;H1.resolveAwsRegionExtensionConfiguration=B1;H1.resolveDefaultAwsRegionalEndpointsConfig=J1;H1.resolveHostHeaderConfig=vG;H1.resolveUserAgentConfig=mG;H1.setCredentialFeature=AG;H1.setFeature=H;H1.setPartitionInfo=OW;H1.setTokenFeature=kG;H1.state=d;H1.stsRegionDefaultResolver=O1;H1.stsRegionWarning=hW;H1.toEndpointV1=CW;H1.useDefaultPartitionInfo=gG;H1.userAgentMiddleware=BW});
|
|
10
|
+
More information can be found at: https://a.co/c895JFp`)}},SG=()=>(_,W)=>async(K)=>{return W.__retryLongPoll=!0,_(K)},PG={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},RG=(_)=>({applyToStack:(W)=>{W.add(SG(),PG)}});function AG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}Y_.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function H(_,W,K){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[W]=K}function kG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}function vG(_){return _}var GW=(_)=>(W)=>async(K)=>{if(!m.HttpRequest.isInstance(K.request))return W(K);let{request:G}=K,{handlerProtocol:Y=""}=_.requestHandler.metadata||{};if(Y.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 X=G.hostname;if(G.port!=null)X+=`:${G.port}`;G.headers.host=X}return W(K)},XW={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},xG=(_)=>({applyToStack:(W)=>{W.add(GW(_),XW)}}),YW=()=>(_,W)=>async(K)=>{try{let G=await _(K),{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L,overrideOutputFilterSensitiveLog:b}=Z,j=L??W.inputFilterSensitiveLog,Q=b??W.outputFilterSensitiveLog,{$metadata:J,...w}=G.output;return $?.info?.({clientName:Y,commandName:X,input:j(K.input),output:Q(w),metadata:J}),G}catch(G){let{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L}=Z,b=L??W.inputFilterSensitiveLog;throw $?.error?.({clientName:Y,commandName:X,input:b(K.input),error:G,metadata:G.$metadata}),G}},$W={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},fG=(_)=>({applyToStack:(W)=>{W.add(YW(),$W)}}),ZW={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},K_="X-Amzn-Trace-Id",yG="AWS_LAMBDA_FUNCTION_NAME",lG="_X_AMZN_TRACE_ID",bW=()=>(_)=>async(W)=>{let{request:K}=W;if(!m.HttpRequest.isInstance(K))return _(W);let G=Object.keys(K.headers??{}).find((j)=>j.toLowerCase()===K_.toLowerCase())??K_;if(K.headers.hasOwnProperty(G))return _(W);let Y=process.env[yG],X=process.env[lG],L=(await qG.InvokeStore.getInstanceAsync())?.getXRayTraceId()??X,b=(j)=>typeof j==="string"&&j.length>0;if(b(Y)&&b(L))K.headers[K_]=L;return _({...W,request:K})},cG=(_)=>({applyToStack:(W)=>{W.add(bW(),ZW)}}),$_=void 0;function dG(_){if(_===void 0)return!0;return typeof _==="string"&&_.length<=50}function mG(_){let W=IG.normalizeProvider(_.userAgentAppId??$_),{customUserAgent:K}=_;return Object.assign(_,{customUserAgent:typeof K==="string"?[[K]]:K,userAgentAppId:async()=>{let G=await W();if(!dG(G)){let Y=_.logger?.constructor?.name==="NoOpLogger"||!_.logger?console:_.logger;if(typeof G!=="string")Y?.warn("userAgentAppId must be a string or undefined.");else if(G.length>50)Y?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return G}})}var LW={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|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"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)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws 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)"},"mx-central-1":{description:"Mexico (Central)"},"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-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso 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:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{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-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"},QW=LW,jW="",JW=(_)=>{let{partitions:W}=QW;for(let G of W){let{regions:Y,outputs:X}=G;for(let[$,Z]of Object.entries(Y))if($===_)return{...X,...Z}}for(let G of W){let{regionRegex:Y,outputs:X}=G;if(new RegExp(Y).test(_))return{...X}}let K=W.find((G)=>G.id==="aws");if(!K)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...K.outputs}},OW=(_,W="")=>{QW=_,jW=W},gG=()=>{OW(LW,"")},wW=()=>jW,uG=/\d{12}\.ddb/;async function pG(_,W,K){if(K.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")H(_,"PROTOCOL_RPC_V2_CBOR","M");if(typeof W.retryStrategy==="function"){let X=await W.retryStrategy();if(typeof X.mode==="string")switch(X.mode){case Y_.RETRY_MODES.ADAPTIVE:H(_,"RETRY_MODE_ADAPTIVE","F");break;case Y_.RETRY_MODES.STANDARD:H(_,"RETRY_MODE_STANDARD","E");break}}if(typeof W.accountIdEndpointMode==="function"){let X=_.endpointV2;if(String(X?.url?.hostname).match(uG))H(_,"ACCOUNT_ID_ENDPOINT","O");switch(await W.accountIdEndpointMode?.()){case"disabled":H(_,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":H(_,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":H(_,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let Y=_.__smithy_context?.selectedHttpAuthScheme?.identity;if(Y?.$source){let X=Y;if(X.accountId)H(_,"RESOLVED_ACCOUNT_ID","T");for(let[$,Z]of Object.entries(X.$source??{}))H(_,$,Z)}}var e_="user-agent",G_="x-amz-user-agent",_W=" ",X_="/",sG=/[^!$%&'*+\-.^_`|~\w]/g,aG=/[^!$%&'*+\-.^_`|~\w#]/g,WW="-",iG=1024;function nG(_){let W="";for(let K in _){let G=_[K];if(W.length+G.length+1<=iG){if(W.length)W+=","+G;else W+=G;continue}break}return W}var BW=(_)=>(W,K)=>async(G)=>{let{request:Y}=G;if(!m.HttpRequest.isInstance(Y))return W(G);let{headers:X}=Y,$=K?.userAgent?.map(c)||[],Z=(await _.defaultUserAgentProvider()).map(c);await pG(K,_,G);let L=K;Z.push(`m/${nG(Object.assign({},K.__smithy_context?.features,L.__aws_sdk_context?.features))}`);let b=_?.customUserAgent?.map(c)||[],j=await _.userAgentAppId();if(j)Z.push(c(["app",`${j}`]));let Q=wW(),J=(Q?[Q]:[]).concat([...Z,...$,...b]).join(_W),w=[...Z.filter((F)=>F.startsWith("aws-sdk-")),...b].join(_W);if(_.runtime!=="browser"){if(w)X[G_]=X[G_]?`${X[e_]} ${w}`:w;X[e_]=J}else X[G_]=J;return W({...G,request:Y})},c=(_)=>{let W=_[0].split(X_).map(($)=>$.replace(sG,WW)).join(X_),K=_[1]?.replace(aG,WW),G=W.indexOf(X_),Y=W.substring(0,G),X=W.substring(G+1);if(Y==="api")X=X.toLowerCase();return[Y,X,K].filter(($)=>$&&$.length>0).reduce(($,Z,L)=>{switch(L){case 0:return Z;case 1:return`${$}/${Z}`;default:return`${$}#${Z}`}},"")},HW={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},oG=(_)=>({applyToStack:(W)=>{W.add(BW(_),HW)}}),tG=()=>{let _=["deno","bun","llrt"];for(let W of _)if(P.versions[W])return[`md/${W}`,P.versions[W]];return["md/nodejs",P.versions.node]},rG=(_)=>{let W=process.cwd();if(!_)return[W];let K=E.normalize(_),G=K.split(E.sep),Y=G.indexOf("node_modules"),X=Y!==-1?G.slice(0,Y).join(E.sep):K;if(W===X)return[W];return[X,W]},eG=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/,zW=(_="")=>{let W=_.match(eG);if(!W)return;let[K,G,Y,X]=[W[1],W[2],W[3],W[4]];return X?`${K}.${G}.${Y}-${X}`:`${K}.${G}.${Y}`},_1=["^","~",">=","<=",">","<"],W1=["latest","beta","dev","rc","insiders","next"],K1=(_="")=>{if(W1.includes(_))return _;let W=_1.find((G)=>_.startsWith(G))??"",K=zW(_.slice(W.length));if(!K)return;return`${W}${K}`},B,G1=E.join("node_modules","typescript","package.json"),X1=async()=>{if(B===null)return;else if(typeof B==="string")return["md/tsc",B];let _=!1;try{_=z.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",z.SelectorType.ENV)||!1}catch{}if(_){B=null;return}let K=rG(typeof __dirname<"u"?__dirname:void 0),G;for(let $ of K)try{let Z=E.join($,"package.json"),L=await r_.readFile(Z,"utf-8"),{dependencies:b,devDependencies:j}=JSON.parse(L),Q=j?.typescript??b?.typescript;if(typeof Q!=="string")continue;G=Q;break}catch{}if(!G){B=null;return}let Y;for(let $ of K)try{let Z=E.join($,G1),L=await r_.readFile(Z,"utf-8"),{version:b}=JSON.parse(L),j=zW(b);if(typeof j!=="string")continue;Y=j;break}catch{}if(Y)return B=Y,["md/tsc",B];let X=K1(G);if(typeof X!=="string"){B=null;return}return B=`dev_${X}`,["md/tsc",B]},FW={isCrtAvailable:!1},Y1=()=>{if(FW.isCrtAvailable)return["md/crt-avail"];return null},MW=({serviceId:_,clientVersion:W})=>{let K=tG();return async(G)=>{let Y=[["aws-sdk-js",W],["ua","2.1"],[`os/${t_.platform()}`,t_.release()],["lang/js"],K],X=await X1();if(X)Y.push(X);let $=Y1();if($)Y.push($);if(_)Y.push([`api/${_}`,W]);if(P.env.AWS_EXECUTION_ENV)Y.push([`exec-env/${P.env.AWS_EXECUTION_ENV}`]);let Z=await G?.userAgentAppId?.();return Z?[...Y,[`app/${Z}`]]:[...Y]}},$1=MW,VW="AWS_SDK_UA_APP_ID",NW="sdk_ua_app_id",Z1="sdk-ua-app-id",b1={environmentVariableSelector:(_)=>_[VW],configFileSelector:(_)=>_[NW]??_[Z1],default:$_},L1=({serviceId:_,clientVersion:W})=>async(K)=>{let G=await import("./chunk-t35n89t9.js"),Y=G.parse??G.default.parse??(()=>""),X=typeof window<"u"&&window?.navigator?.userAgent?Y(window.navigator.userAgent):void 0,$=[["aws-sdk-js",W],["ua","2.1"],[`os/${X?.os?.name||"other"}`,X?.os?.version],["lang/js"],["md/browser",`${X?.browser?.name??"unknown"}_${X?.browser?.version??"unknown"}`]];if(_)$.push([`api/${_}`,W]);let Z=await K?.userAgentAppId?.();if(Z)$.push([`app/${Z}`]);return $},Q1={os(_){if(/iPhone|iPad|iPod/.test(_))return"iOS";if(/Macintosh|Mac OS X/.test(_))return"macOS";if(/Windows NT/.test(_))return"Windows";if(/Android/.test(_))return"Android";if(/Linux/.test(_))return"Linux";return},browser(_){if(/EdgiOS|EdgA|Edg\//.test(_))return"Microsoft Edge";if(/Firefox\//.test(_))return"Firefox";if(/Chrome\//.test(_))return"Chrome";if(/Safari\//.test(_))return"Safari";return}},Z_=(_,W=!1)=>{if(W){for(let K of _.split("."))if(!Z_(K))return!1;return!0}if(!C.isValidHostLabel(_))return!1;if(_.length<3||_.length>63)return!1;if(_!==_.toLowerCase())return!1;if(C.isIpAddress(_))return!1;return!0},KW=":",j1="/",UW=(_)=>{let W=_.split(KW);if(W.length<6)return null;let[K,G,Y,X,$,...Z]=W;if(K!=="arn"||G===""||Y===""||Z.join(KW)==="")return null;let L=Z.map((b)=>b.split(j1)).flat();return{partition:G,service:Y,region:X,accountId:$,resourceId:L}},EW={isVirtualHostableS3Bucket:Z_,parseArn:UW,partition:JW};C.customEndpointFunctions.aws=EW;var J1=(_)=>{if(typeof _.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:W}=_;if(W===void 0)_.endpoint=async()=>{return CW(_.endpointProvider({Region:typeof _.region==="function"?await _.region():_.region,UseDualStack:typeof _.useDualstackEndpoint==="function"?await _.useDualstackEndpoint():_.useDualstackEndpoint,UseFIPS:typeof _.useFipsEndpoint==="function"?await _.useFipsEndpoint():_.useFipsEndpoint,Endpoint:void 0},{logger:_.logger}))};return _},CW=(_)=>m.parseUrl(_.url);function O1(_={}){return z.loadConfig({...z.NODE_REGION_CONFIG_OPTIONS,async default(){if(!hW.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...z.NODE_REGION_CONFIG_FILE_OPTIONS,..._})}var hW={silence:!1},w1=(_)=>{return{setRegion(W){_.region=W},region(){return _.region}}},B1=(_)=>{return{region:_.region()}};H1.NODE_REGION_CONFIG_FILE_OPTIONS=z.NODE_REGION_CONFIG_FILE_OPTIONS;H1.NODE_REGION_CONFIG_OPTIONS=z.NODE_REGION_CONFIG_OPTIONS;H1.REGION_ENV_NAME=z.REGION_ENV_NAME;H1.REGION_INI_NAME=z.REGION_INI_NAME;H1.resolveRegionConfig=z.resolveRegionConfig;H1.EndpointError=C.EndpointError;H1.isIpAddress=C.isIpAddress;H1.resolveEndpoint=C.resolveEndpoint;H1.DEFAULT_UA_APP_ID=$_;H1.NODE_APP_ID_CONFIG_OPTIONS=b1;H1.UA_APP_ID_ENV_NAME=VW;H1.UA_APP_ID_INI_NAME=NW;H1.awsEndpointFunctions=EW;H1.createDefaultUserAgentProvider=MW;H1.createUserAgentStringParsingProvider=L1;H1.crtAvailability=FW;H1.defaultUserAgent=$1;H1.emitWarningIfUnsupportedVersion=TG;H1.fallback=Q1;H1.getAwsRegionExtensionConfiguration=w1;H1.getHostHeaderPlugin=xG;H1.getLoggerPlugin=fG;H1.getLongPollPlugin=RG;H1.getRecursionDetectionPlugin=cG;H1.getUserAgentMiddlewareOptions=HW;H1.getUserAgentPlugin=oG;H1.getUserAgentPrefix=wW;H1.hostHeaderMiddleware=GW;H1.hostHeaderMiddlewareOptions=XW;H1.isVirtualHostableS3Bucket=Z_;H1.loggerMiddleware=YW;H1.loggerMiddlewareOptions=$W;H1.parseArn=UW;H1.partition=JW;H1.recursionDetectionMiddleware=bW;H1.recursionDetectionMiddlewareOptions=ZW;H1.resolveAwsRegionExtensionConfiguration=B1;H1.resolveDefaultAwsRegionalEndpointsConfig=J1;H1.resolveHostHeaderConfig=vG;H1.resolveUserAgentConfig=mG;H1.setCredentialFeature=AG;H1.setFeature=H;H1.setPartitionInfo=OW;H1.setTokenFeature=kG;H1.state=d;H1.stsRegionDefaultResolver=O1;H1.stsRegionWarning=hW;H1.toEndpointV1=CW;H1.useDefaultPartitionInfo=gG;H1.userAgentMiddleware=BW});
|
|
11
11
|
export{k_ as ze,i_ as Ae,OX as Be};
|