@costrict/csc 4.0.4 → 4.0.5
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/README.md +398 -398
- package/dist/{chunk-b4ftppkp.js → chunk-03a7ns5s.js} +22 -22
- package/dist/{chunk-pn0k5wak.js → chunk-03qpgz7e.js} +749 -23
- package/dist/{chunk-rar7nmve.js → chunk-06daydfw.js} +57 -57
- package/dist/{chunk-hyc3kbfq.js → chunk-0bf745n6.js} +4 -4
- package/dist/{chunk-bhwnjx3e.js → chunk-0d43nxnk.js} +8 -8
- package/dist/{chunk-2mmx9qqz.js → chunk-0d4p6r24.js} +27 -27
- package/dist/{chunk-tw4tjc73.js → chunk-0jd3p53p.js} +1 -1
- package/dist/{chunk-waar1mpa.js → chunk-0mf8c3kx.js} +2 -3
- package/dist/chunk-0vrstrej.js +40 -0
- package/dist/{chunk-13g6d7wt.js → chunk-1bbvgt3p.js} +10 -10
- package/dist/{chunk-125xg82c.js → chunk-1c3k1g6e.js} +22 -22
- package/dist/{chunk-ga3m4ews.js → chunk-1dbz25dk.js} +56 -56
- package/dist/{chunk-6rrp0t66.js → chunk-1gj2ern2.js} +530 -1321
- package/dist/{chunk-zatd0y92.js → chunk-1nmcmem8.js} +5 -5
- package/dist/{chunk-nvrje5t4.js → chunk-1zh5bbh0.js} +70 -70
- package/dist/{chunk-vxs1rvy8.js → chunk-23mmypzf.js} +6 -6
- package/dist/{chunk-z8zf2bjp.js → chunk-24e25s3h.js} +4 -4
- package/dist/{chunk-m5chmh67.js → chunk-2c0sn45e.js} +2 -2
- package/dist/{chunk-4qcmn89e.js → chunk-2dhbfegz.js} +14 -17
- package/dist/{chunk-e5ewhhx6.js → chunk-2gdcc9xa.js} +56 -56
- package/dist/{chunk-cb0cjgk3.js → chunk-2hdktzjd.js} +56 -56
- package/dist/{chunk-j1psatq5.js → chunk-2j59ksap.js} +3 -3
- package/dist/{chunk-j5bved6z.js → chunk-2jx4kafd.js} +61 -61
- package/dist/{chunk-pv6amr31.js → chunk-2kmmz00g.js} +1 -1
- package/dist/{chunk-ftwqpbvy.js → chunk-2p4eesfa.js} +56 -56
- package/dist/{chunk-wsm0s0c3.js → chunk-2whdc8zz.js} +3 -3
- package/dist/chunk-2xpkjfdd.js +94 -0
- package/dist/{chunk-d9bvzfkg.js → chunk-2xq2cy9m.js} +62 -62
- package/dist/{chunk-knc5za98.js → chunk-2y6bv8mp.js} +57 -57
- package/dist/{chunk-sx291v4f.js → chunk-30kmyxwn.js} +63 -63
- package/dist/{chunk-p6359g16.js → chunk-32rcf02k.js} +26 -26
- package/dist/{chunk-metmg93w.js → chunk-36k4p0e8.js} +2 -2
- package/dist/{chunk-njdz3yry.js → chunk-381axhkg.js} +4 -4
- package/dist/{chunk-vhjhyt2r.js → chunk-3djy352h.js} +26 -26
- package/dist/{chunk-vjv7wvnc.js → chunk-3dt68zn5.js} +4 -4
- package/dist/{chunk-2f3vsxna.js → chunk-3dyj1fqs.js} +5 -5
- package/dist/{chunk-wj8gbr2g.js → chunk-3m5d2kwd.js} +58 -58
- package/dist/{chunk-r089a4na.js → chunk-3p3r8awv.js} +22 -22
- package/dist/{chunk-tz2rkx2s.js → chunk-3qksgf50.js} +3 -3
- package/dist/{chunk-xs12ggs7.js → chunk-3rr330xr.js} +60 -60
- package/dist/{chunk-j2bv645h.js → chunk-3s96vaet.js} +9 -11
- package/dist/{chunk-bbxfenf0.js → chunk-3t41eh7n.js} +57 -57
- package/dist/{chunk-8ew7s39b.js → chunk-3wdbgpa5.js} +1 -1
- package/dist/{chunk-4nvhfqsy.js → chunk-40txw5vw.js} +58 -58
- package/dist/{chunk-w2x18mrn.js → chunk-43pqyz7x.js} +23 -23
- package/dist/{chunk-6zf34pgy.js → chunk-47sy4t29.js} +1 -1
- package/dist/{chunk-ndcrbqq2.js → chunk-4b0pe90d.js} +57 -57
- package/dist/{chunk-7rk9ppx4.js → chunk-4d9bywzd.js} +1 -1
- package/dist/{chunk-zwwgfs0j.js → chunk-4g5nvh92.js} +3 -3
- package/dist/{chunk-rn68wk3p.js → chunk-4grs5afv.js} +22 -22
- package/dist/{chunk-fp2z22f1.js → chunk-4hwyxaeq.js} +59 -59
- package/dist/{chunk-n00sjrne.js → chunk-4m7gyesz.js} +6 -6
- package/dist/{chunk-90tgpdv5.js → chunk-4q954a7f.js} +3 -3
- package/dist/{chunk-7sgatxct.js → chunk-4qqswajh.js} +5 -5
- package/dist/{chunk-rexrttsb.js → chunk-4r7jf6h7.js} +33 -33
- package/dist/{chunk-122wp3n9.js → chunk-4sfd9m3h.js} +2 -2
- package/dist/{chunk-1ymedh1v.js → chunk-4v0pzqmq.js} +23 -23
- package/dist/{chunk-9pp9xrw2.js → chunk-50fv6d8k.js} +14 -17
- package/dist/{chunk-fmq83t7h.js → chunk-50x6aec4.js} +3 -3
- package/dist/{chunk-zw543g0m.js → chunk-52tk9vq4.js} +57 -57
- package/dist/{chunk-9k7n4z3r.js → chunk-54nmt278.js} +5 -5
- package/dist/{chunk-0wrzeej6.js → chunk-55pz9658.js} +1 -1
- package/dist/{chunk-zwv3h48p.js → chunk-5chc8z8n.js} +3 -3
- package/dist/{chunk-f6qh3vrn.js → chunk-5dm6af6g.js} +4 -4
- package/dist/{chunk-d09j71dr.js → chunk-5kgmwm72.js} +6 -6
- package/dist/{chunk-2dtmmwxh.js → chunk-5p9szceb.js} +4 -4
- package/dist/{chunk-wxe04dx4.js → chunk-5pnqgsv4.js} +3 -3
- package/dist/{chunk-eenv3551.js → chunk-5s80z8bj.js} +56 -56
- package/dist/{chunk-1sg2k4mx.js → chunk-5vdpbk46.js} +515 -515
- package/dist/{chunk-ekqvx6ek.js → chunk-60fbc7y7.js} +56 -56
- package/dist/{chunk-h5qx4apy.js → chunk-61v89yt3.js} +1 -1
- package/dist/{chunk-9rtywfhp.js → chunk-64nsm3qd.js} +2 -2
- package/dist/{chunk-7mpdfrdm.js → chunk-656z4m7c.js} +5 -5
- package/dist/{chunk-jvf4wvhn.js → chunk-67ex9rnd.js} +57 -57
- package/dist/{chunk-8jpxzesa.js → chunk-67zpbdn4.js} +1 -1
- package/dist/{chunk-7t38tp7c.js → chunk-6837xx50.js} +24 -24
- package/dist/{chunk-8vawdfrp.js → chunk-6c5zyga7.js} +3 -5
- package/dist/{chunk-8ympg941.js → chunk-6fecngep.js} +1 -1
- package/dist/{chunk-t1mtqz1e.js → chunk-6r247w4d.js} +1 -1
- package/dist/{chunk-63v197w4.js → chunk-6svr4g5y.js} +56 -56
- package/dist/{chunk-j2ba3wye.js → chunk-71ptxz0w.js} +22 -22
- package/dist/{chunk-zf5wkcyy.js → chunk-7bme7hfa.js} +127 -1099
- package/dist/{chunk-qdfzdcz3.js → chunk-7h58vakp.js} +60 -60
- package/dist/{chunk-9pkh2w7v.js → chunk-7kdnj6r5.js} +8 -8
- package/dist/{chunk-9m27g5s1.js → chunk-7njxy9q8.js} +18 -3
- package/dist/{chunk-vdh36rw7.js → chunk-7pdhxye3.js} +3 -3
- package/dist/{chunk-tzaj5mwz.js → chunk-7pfa478f.js} +31 -31
- package/dist/{chunk-5a6vqs49.js → chunk-7rh6ws9p.js} +67 -67
- package/dist/{chunk-skxa5fes.js → chunk-7sk1sscc.js} +14 -16
- package/dist/{chunk-bgptt4dd.js → chunk-7x4tde6q.js} +56 -56
- package/dist/{chunk-b909mp8w.js → chunk-84r7ze95.js} +1 -1
- package/dist/{chunk-4h43b7ww.js → chunk-85jw2w2x.js} +69 -69
- package/dist/{chunk-7srwepm7.js → chunk-872211k4.js} +1 -1
- package/dist/{chunk-00m08jnq.js → chunk-89p21yqs.js} +56 -56
- package/dist/{chunk-vxnvzfnv.js → chunk-8avfrdpz.js} +2 -3
- package/dist/{chunk-h13g15kb.js → chunk-8bcxzxe5.js} +1 -1
- package/dist/{chunk-pb2x8g1w.js → chunk-8db0c0z2.js} +67 -67
- package/dist/{chunk-7e78w86v.js → chunk-8e2v15zy.js} +3 -3
- package/dist/{chunk-vhk0hgnv.js → chunk-8ehhzphf.js} +56 -56
- package/dist/{chunk-mz0qfs55.js → chunk-8fvt9r29.js} +63 -63
- package/dist/{chunk-tq82bwaf.js → chunk-8fxvkn6g.js} +2 -2
- package/dist/{chunk-j64ga6ta.js → chunk-8jyp5q4y.js} +304 -272
- package/dist/{chunk-npvte75f.js → chunk-8kqdnkkh.js} +5 -5
- package/dist/{chunk-wdwa58v1.js → chunk-8nsmkgac.js} +59 -59
- package/dist/{chunk-dc4krjj4.js → chunk-8sba81p1.js} +22 -22
- package/dist/{chunk-t31xvfy2.js → chunk-8vwcxhjg.js} +60 -60
- package/dist/{chunk-zwkqabbj.js → chunk-8wxvkw8d.js} +11 -11
- package/dist/{chunk-9azyfe65.js → chunk-8yhh34se.js} +61 -61
- package/dist/{chunk-vmf74a91.js → chunk-91fnfkf9.js} +57 -57
- package/dist/{chunk-td6j7fcr.js → chunk-91scsdr2.js} +56 -56
- package/dist/{chunk-03mgn26m.js → chunk-91wvyz0j.js} +65 -65
- package/dist/{chunk-3b5a4wa6.js → chunk-94jwb8h8.js} +22 -22
- package/dist/{chunk-02n5zpyc.js → chunk-95gj5fgc.js} +4 -4
- package/dist/{chunk-7vzj8rfd.js → chunk-96ac88tt.js} +4 -4
- package/dist/{chunk-h9ef6kkf.js → chunk-981dc4d2.js} +5 -5
- package/dist/{chunk-b3t64cwd.js → chunk-9962psf2.js} +59 -59
- package/dist/{chunk-ng8q29em.js → chunk-9f1128wv.js} +2 -2
- package/dist/{chunk-sdzpdzj3.js → chunk-9ks4hkyv.js} +58 -58
- package/dist/{chunk-kh9hfyzf.js → chunk-9nvdx365.js} +56 -56
- package/dist/{chunk-q72weaf5.js → chunk-9svnj49d.js} +829 -2177
- package/dist/{chunk-eserktyd.js → chunk-9szwp11z.js} +4 -4
- package/dist/{chunk-7sgn6fv0.js → chunk-9vxn5hr7.js} +6 -6
- package/dist/{chunk-34vn56ag.js → chunk-9zjvwht8.js} +8 -8
- package/dist/{chunk-ppa284pd.js → chunk-9zvsj7b5.js} +56 -56
- package/dist/{chunk-5zpstd3m.js → chunk-a4wba4ee.js} +7 -7
- package/dist/chunk-a5vsq9cy.js +334 -0
- package/dist/{chunk-3c1ddhnk.js → chunk-a8w9fre5.js} +19 -207
- package/dist/{chunk-tzpxsjm3.js → chunk-a8z3cmge.js} +29 -29
- package/dist/{chunk-whs655k7.js → chunk-aa2jk5ec.js} +57 -57
- package/dist/{chunk-1d0d18qj.js → chunk-aahtgv6t.js} +22 -22
- package/dist/{chunk-bneqxcmf.js → chunk-acv242nr.js} +1 -1
- package/dist/{chunk-w12f58yz.js → chunk-amp2gnxw.js} +14 -17
- package/dist/{chunk-xeehxb1q.js → chunk-av497x84.js} +3 -3
- package/dist/{chunk-31959kp1.js → chunk-b183xr8z.js} +5 -5
- package/dist/{chunk-cx8c18e3.js → chunk-b2dttpvp.js} +62 -62
- package/dist/{chunk-4mygvv18.js → chunk-b3x56xw6.js} +57 -57
- package/dist/{chunk-x6ceqp7t.js → chunk-b66fr7fs.js} +23 -23
- package/dist/{chunk-edt6c4pc.js → chunk-b78pzw80.js} +73 -73
- package/dist/{chunk-skrja2sz.js → chunk-b7van57x.js} +2 -2
- package/dist/{chunk-vh70jg33.js → chunk-b9mgqx58.js} +4 -4
- package/dist/{chunk-khdftpea.js → chunk-b9n20qcw.js} +9 -9
- package/dist/{chunk-3jjc204v.js → chunk-bakrp6by.js} +18 -18
- package/dist/{chunk-2ab59kwj.js → chunk-bdr1btg9.js} +3 -3
- package/dist/{chunk-w8ttjf01.js → chunk-bf68vqnt.js} +183 -179
- package/dist/{chunk-xafy9ccy.js → chunk-bnf2s6m6.js} +57 -57
- package/dist/{chunk-j04z48rw.js → chunk-bt64sq5y.js} +3 -3
- package/dist/{chunk-5qxgyby3.js → chunk-btma241g.js} +612 -2
- package/dist/{chunk-4w4wdgeb.js → chunk-bwy9pa2a.js} +23 -23
- package/dist/{chunk-y8ab9dyv.js → chunk-bzm15s0d.js} +1 -1
- package/dist/{chunk-6hk5a6ky.js → chunk-c0cxm1jj.js} +56 -56
- package/dist/{chunk-vgdtw10n.js → chunk-c0jj717y.js} +2 -2
- package/dist/{chunk-d8ztpy7x.js → chunk-c2e4y5dn.js} +7 -7
- package/dist/{chunk-jq9vjfbd.js → chunk-c2wjqfxa.js} +57 -57
- package/dist/{chunk-2c8aqb33.js → chunk-c58vpgh1.js} +56 -56
- package/dist/{chunk-ex2q76wx.js → chunk-c5yryhhe.js} +1 -1
- package/dist/{chunk-dct4myst.js → chunk-c7ncsekp.js} +57 -57
- package/dist/{chunk-8w2a9md8.js → chunk-cdv319m8.js} +3 -3
- package/dist/{chunk-ffy37ks3.js → chunk-cj93y6v4.js} +23 -23
- package/dist/{chunk-7vzwyazf.js → chunk-cnkwshve.js} +4 -4
- package/dist/{chunk-g8w2205d.js → chunk-cpmv1jg1.js} +6 -6
- package/dist/{chunk-mj9rbmy1.js → chunk-cxytr6ke.js} +5 -5
- package/dist/{chunk-tg41r14s.js → chunk-cy9y3g9c.js} +5 -5
- package/dist/{chunk-rgm0v4he.js → chunk-d20gvf1p.js} +24 -24
- package/dist/{chunk-drnr3z7x.js → chunk-d61srzjw.js} +144 -144
- package/dist/{chunk-npywdb7q.js → chunk-das7sqxf.js} +3 -3
- package/dist/{chunk-k95meznc.js → chunk-dcy4yhmx.js} +7 -7
- package/dist/{chunk-p2xfr5am.js → chunk-deeqzmz8.js} +57 -57
- package/dist/{chunk-tp3mqwh3.js → chunk-degs4pmz.js} +7 -7
- package/dist/{chunk-ngrj6x74.js → chunk-df52t7ys.js} +168 -161
- package/dist/{chunk-kxptk43f.js → chunk-dqpsg3x6.js} +57 -57
- package/dist/{chunk-yztxtgd8.js → chunk-dw02dt93.js} +66 -66
- package/dist/{chunk-sqb7kkqx.js → chunk-e0nvbjhe.js} +6 -6
- package/dist/{chunk-xt4v95je.js → chunk-e51ayxz6.js} +3 -3
- package/dist/{chunk-v4zejp1f.js → chunk-e7x5yj2h.js} +57 -57
- package/dist/{chunk-rw44vqpq.js → chunk-e92z3mma.js} +56 -56
- package/dist/{chunk-sd3jwppm.js → chunk-ebbxn1k1.js} +8 -8
- package/dist/{chunk-zvxjnak3.js → chunk-ehvhhmg2.js} +56 -56
- package/dist/{chunk-wkh76b1p.js → chunk-enxnnzk5.js} +7 -7
- package/dist/{chunk-jxe1a8kz.js → chunk-epkh4aat.js} +6 -6
- package/dist/{chunk-t4z17xt4.js → chunk-eqrenafc.js} +10 -10
- package/dist/{chunk-n0pkzaaw.js → chunk-erqq5705.js} +6 -6
- package/dist/{chunk-zwa133ny.js → chunk-es1hw74y.js} +2 -2
- package/dist/{chunk-xq3k2392.js → chunk-f05a5t1g.js} +57 -57
- package/dist/{chunk-dc83q1dm.js → chunk-f4kbe948.js} +2 -2
- package/dist/{chunk-9jt1c7t9.js → chunk-f6begf39.js} +58 -58
- package/dist/{chunk-g0jmqbp4.js → chunk-f6kfvezc.js} +6 -6
- package/dist/{chunk-w8krbzb0.js → chunk-fc1dg6fw.js} +4 -4
- package/dist/chunk-ff3ahqvh.js +85 -0
- package/dist/{chunk-yb6x70md.js → chunk-fg5ke2mj.js} +1786 -141
- package/dist/{chunk-m7r4wqc3.js → chunk-fnc95ck8.js} +1 -1
- package/dist/{chunk-cs9xxrmx.js → chunk-fps1h69y.js} +56 -56
- package/dist/{chunk-gaz7te9m.js → chunk-fqcserhk.js} +6 -6
- package/dist/{chunk-bwqvhzrw.js → chunk-fthbxpt7.js} +76 -69
- package/dist/{chunk-1nz1mgm6.js → chunk-fw8e2t6e.js} +39 -268
- package/dist/{chunk-hfy21maq.js → chunk-fyq9f1r4.js} +6 -6
- package/dist/{chunk-fw64v27c.js → chunk-fz0ch109.js} +3 -3
- package/dist/{chunk-q4tkspkp.js → chunk-g2ddxeq0.js} +4 -4
- package/dist/{chunk-65gzht6d.js → chunk-g3zh09cs.js} +56 -56
- package/dist/{chunk-j2cbcyf7.js → chunk-g649rtg8.js} +4 -6
- package/dist/{chunk-z43cvm9f.js → chunk-g7f6rhkv.js} +75 -75
- package/dist/{chunk-yhc1fee8.js → chunk-gafvwfpg.js} +23 -23
- package/dist/{chunk-js21kfpq.js → chunk-garqv1np.js} +1 -1
- package/dist/{chunk-84cjtasj.js → chunk-gckjpwer.js} +58 -58
- package/dist/{chunk-tsdqd747.js → chunk-gfex5hb6.js} +10 -4
- package/dist/{chunk-jvgc4q2b.js → chunk-gjkekgkm.js} +59 -59
- package/dist/{chunk-kpdp2gz2.js → chunk-gm3xyt0n.js} +13 -13
- package/dist/{chunk-3px6f9s5.js → chunk-gn36711e.js} +2 -2
- package/dist/{chunk-e08marnp.js → chunk-gneehjp8.js} +4 -4
- package/dist/{chunk-dge3af7q.js → chunk-gqqy616g.js} +8 -8
- package/dist/{chunk-5dn1m1r7.js → chunk-gwyn2qmg.js} +2 -2
- package/dist/{chunk-ds6b4567.js → chunk-h0p49ypw.js} +67 -67
- package/dist/{chunk-zpm1rpmw.js → chunk-h50wemgt.js} +16 -16
- package/dist/{chunk-yw0st51b.js → chunk-hdkf83nm.js} +57 -57
- package/dist/{chunk-nn8nkawn.js → chunk-hece55mn.js} +7 -7
- package/dist/{chunk-bg86k3wz.js → chunk-hkbjsxr5.js} +83 -339
- package/dist/{chunk-zr78q4qg.js → chunk-hnfwnrdw.js} +56 -56
- package/dist/{chunk-h0n9zhgw.js → chunk-hsyh3ht5.js} +56 -56
- package/dist/{chunk-1395xfcq.js → chunk-htqgje52.js} +58 -58
- package/dist/{chunk-tyxhcbsd.js → chunk-j3khjf4a.js} +1 -1
- package/dist/{chunk-z5tmqz5e.js → chunk-j3ww1b8w.js} +56 -56
- package/dist/{chunk-ebx4j5r5.js → chunk-j6k3zjb5.js} +5 -7
- package/dist/{chunk-3nmhzccb.js → chunk-j6v1eh21.js} +2 -2
- package/dist/{chunk-m3szhhvz.js → chunk-jcck08pa.js} +58 -58
- package/dist/{chunk-nt36mbmr.js → chunk-jdabxq24.js} +14 -14
- package/dist/{chunk-2xezy8pc.js → chunk-jfr51c5y.js} +7 -7
- package/dist/{chunk-jxyh3xyq.js → chunk-jh3g1h2m.js} +23 -23
- package/dist/{chunk-wn8nakrh.js → chunk-jhaf8e2t.js} +56 -56
- package/dist/{chunk-9kqtdah4.js → chunk-jr21cjeg.js} +1 -1
- package/dist/{chunk-rvp6qq44.js → chunk-jr6arg95.js} +5 -5
- package/dist/{chunk-znehavdm.js → chunk-jvnb1zrw.js} +1 -1
- package/dist/{chunk-me2986xy.js → chunk-jwf80scb.js} +57 -57
- package/dist/{chunk-79ztw13h.js → chunk-jytvzpqv.js} +2 -2
- package/dist/{chunk-tjaexdr7.js → chunk-jzheakwg.js} +56 -56
- package/dist/{chunk-32fv3vze.js → chunk-k0bqymfw.js} +25 -25
- package/dist/{chunk-zwna33ms.js → chunk-k4mg16w6.js} +36 -36
- package/dist/{chunk-k591s450.js → chunk-ke1bzwj0.js} +56 -56
- package/dist/{chunk-8y3eszv7.js → chunk-krbnqs28.js} +2 -2
- package/dist/{chunk-9b48fxkx.js → chunk-kvb1xp5b.js} +56 -56
- package/dist/{chunk-6dhen79h.js → chunk-m4th1xcy.js} +8 -8
- package/dist/{chunk-vf3etxnx.js → chunk-mcs219z2.js} +1 -1
- package/dist/{chunk-jp8tnjzr.js → chunk-mf1zbwh9.js} +59 -59
- package/dist/{chunk-61edjmf6.js → chunk-mg1w5bk3.js} +2 -2
- package/dist/{chunk-m1qqm2nc.js → chunk-mgbjn0ry.js} +3 -3
- package/dist/{chunk-svw35ajj.js → chunk-mkcbbspz.js} +57 -57
- package/dist/{chunk-g24e2jr3.js → chunk-mm6hffs4.js} +56 -56
- package/dist/{chunk-rwzb4fmk.js → chunk-mq26zsme.js} +59 -59
- package/dist/{chunk-z6wpnk5y.js → chunk-msyn852e.js} +1 -1
- package/dist/{chunk-n5pe3jtt.js → chunk-n1bh6pgv.js} +2 -2
- package/dist/{chunk-t0twk3e5.js → chunk-n217n8sr.js} +1 -1
- package/dist/chunk-n35vwqby.js +777 -0
- package/dist/{chunk-4tre5ddg.js → chunk-neak2qc4.js} +1 -1
- package/dist/{chunk-s6a338bt.js → chunk-nnw29ezr.js} +3 -3
- package/dist/{chunk-5p8k3wyp.js → chunk-nre8a00v.js} +59 -59
- package/dist/{chunk-ew68a4sy.js → chunk-nwj1t73f.js} +57 -57
- package/dist/{chunk-vj8q7shk.js → chunk-nxrm815g.js} +2 -2
- package/dist/{chunk-0pkrwxrg.js → chunk-nz4mxnb9.js} +3 -3
- package/dist/{chunk-send164b.js → chunk-p173c51d.js} +23 -23
- package/dist/{chunk-74v2mh4t.js → chunk-p1adg740.js} +1 -1
- package/dist/{chunk-j5keq4ye.js → chunk-p3bcc8q8.js} +60 -60
- package/dist/{chunk-3q10e1r5.js → chunk-pa2aeq9e.js} +64 -64
- package/dist/{chunk-1j8anrn2.js → chunk-pb5csk8f.js} +56 -56
- package/dist/{chunk-6ge6zddg.js → chunk-pfjb68fx.js} +3 -3
- package/dist/{chunk-rvn77re6.js → chunk-pgf6xysn.js} +23 -23
- package/dist/{chunk-67jg7cfy.js → chunk-phce1mav.js} +2 -2
- package/dist/{chunk-hk24qq7n.js → chunk-pj2h71rb.js} +9 -9
- package/dist/{chunk-3xhmzvxm.js → chunk-pjkaqt23.js} +5 -5
- package/dist/{chunk-6eq35v86.js → chunk-pnv69npn.js} +1 -1
- package/dist/{chunk-zbrk28bp.js → chunk-ptw6r102.js} +56 -56
- package/dist/{chunk-0wp0zaz8.js → chunk-pzna8nzx.js} +57 -57
- package/dist/{chunk-0gqymhpf.js → chunk-q17esyxh.js} +4 -4
- package/dist/{chunk-j95j6wz8.js → chunk-q27bsq0y.js} +1 -1
- package/dist/{chunk-7kbezevv.js → chunk-q68qcqnd.js} +5 -5
- package/dist/{chunk-0xfz1hj1.js → chunk-q6kttwf6.js} +6 -6
- package/dist/{chunk-t2ex5gsn.js → chunk-q99z5w71.js} +3 -3
- package/dist/{chunk-wyz7j9j0.js → chunk-qc9dbg7c.js} +23 -23
- package/dist/{chunk-r41sjxcn.js → chunk-qegzj6nm.js} +1 -1
- package/dist/{chunk-kerkk89t.js → chunk-qfdzqed0.js} +4 -4
- package/dist/{chunk-6jdrt36m.js → chunk-qk4akts4.js} +2 -2
- package/dist/{chunk-5ycqyqbj.js → chunk-qnbe7d8a.js} +1 -1
- package/dist/{chunk-e4jqbn4d.js → chunk-qqfbkaad.js} +3 -4
- package/dist/{chunk-zqhxr0h7.js → chunk-qs2xnhte.js} +5 -7
- package/dist/{chunk-nbvc8bh6.js → chunk-qst4b9as.js} +24 -24
- package/dist/chunk-qt0k08nw.js +500 -0
- package/dist/{chunk-vntvaf0c.js → chunk-qt8j21yc.js} +63 -63
- package/dist/{chunk-tbce47cr.js → chunk-qxsrtfzn.js} +4 -4
- package/dist/{chunk-kn9hzg11.js → chunk-r1zjw4gp.js} +3 -3
- package/dist/{chunk-pb2nc7r0.js → chunk-r5c38r2r.js} +149 -61
- package/dist/{chunk-jd2ams26.js → chunk-r6r0heh4.js} +6 -6
- package/dist/{chunk-ns3babbs.js → chunk-r7mjzgyn.js} +2 -4
- package/dist/{chunk-b3behs0y.js → chunk-ra1n1z0c.js} +3 -3
- package/dist/chunk-red9b98p.js +378 -0
- package/dist/{chunk-2kxk7ftp.js → chunk-rf9vga8z.js} +59 -59
- package/dist/{chunk-drnxbc1w.js → chunk-rfp8ja4z.js} +2 -2
- package/dist/{chunk-s38qgqfs.js → chunk-rrtkz2js.js} +4 -4
- package/dist/{chunk-epat31ss.js → chunk-rs3fergy.js} +1 -1
- package/dist/{chunk-3d953efq.js → chunk-ryb0h1z5.js} +5 -5
- package/dist/{chunk-7jm7pa1e.js → chunk-ryd3pd8a.js} +14 -17
- package/dist/{chunk-yhjccrrs.js → chunk-rynkredv.js} +97 -97
- package/dist/{chunk-ekkewv4y.js → chunk-s1gf9fzs.js} +1 -1
- package/dist/{chunk-1k0wbt0f.js → chunk-s23ksgx0.js} +87 -87
- package/dist/{chunk-kk42fg5v.js → chunk-s4ncrmd8.js} +23 -23
- package/dist/{chunk-92skmpg9.js → chunk-s6rchtpq.js} +56 -56
- package/dist/{chunk-rzj6hzme.js → chunk-s7xzavdg.js} +8 -8
- package/dist/{chunk-0ejzh5by.js → chunk-s9nd7cyj.js} +58 -58
- package/dist/{chunk-f62xm8dh.js → chunk-sca0gdmn.js} +3 -3
- package/dist/{chunk-y64tceyw.js → chunk-sdw4pkat.js} +3 -3
- package/dist/{chunk-smzahkka.js → chunk-sekayrhn.js} +4 -4
- package/dist/chunk-shj5md9j.js +1486 -0
- package/dist/{chunk-ntwe4mq2.js → chunk-spb70nw0.js} +11 -11
- package/dist/{chunk-b82adekm.js → chunk-sq3cem22.js} +57 -57
- package/dist/{chunk-f16qs2ag.js → chunk-srtcyav5.js} +56 -56
- package/dist/{chunk-2cpxc5we.js → chunk-ssdgf1bt.js} +56 -56
- package/dist/{chunk-vny8tpke.js → chunk-svyfbay6.js} +24 -24
- package/dist/{chunk-0kh2f6kh.js → chunk-sz53f4b4.js} +3 -3
- package/dist/{chunk-h28xqfk8.js → chunk-t4360128.js} +62 -62
- package/dist/{chunk-hhc28ga0.js → chunk-t6keftkw.js} +26 -26
- package/dist/{chunk-z93cpz34.js → chunk-t7b3r8v9.js} +3 -3
- package/dist/{chunk-mq7m54qk.js → chunk-tbrzz94r.js} +69 -69
- package/dist/{chunk-b43rsa2d.js → chunk-tgmxbtrk.js} +2 -2
- package/dist/{chunk-sjraxh5y.js → chunk-thnkgdqf.js} +57 -57
- package/dist/{chunk-95dy6w67.js → chunk-tq7vtsx4.js} +2 -2
- package/dist/{chunk-99p0sa4h.js → chunk-tvrpmrzn.js} +2 -2
- package/dist/{chunk-neh0bkkf.js → chunk-tx1zp6k9.js} +56 -56
- package/dist/{chunk-vmfckw4g.js → chunk-txq07t1t.js} +56 -56
- package/dist/{chunk-34b0y9w3.js → chunk-v1bc0k7r.js} +57 -57
- package/dist/chunk-v1mewt1d.js +180 -0
- package/dist/{chunk-bnznxckg.js → chunk-v890zxjh.js} +56 -56
- package/dist/{chunk-sm24ay0y.js → chunk-v9mb8wyh.js} +117 -117
- package/dist/{chunk-3gaxrmqq.js → chunk-vd2cdqer.js} +15 -15
- package/dist/{chunk-kh9fj2xh.js → chunk-vdw3tpqy.js} +60 -60
- package/dist/{chunk-k6tzzr9c.js → chunk-vs0hwycc.js} +7 -7
- package/dist/{chunk-fq1j9zm0.js → chunk-vsa6z84y.js} +3 -3
- package/dist/{chunk-mbv3f2vm.js → chunk-vywhk0sd.js} +4 -4
- package/dist/{chunk-atpyr1kg.js → chunk-w3jk4zrh.js} +57 -57
- package/dist/{chunk-ezwhbfk8.js → chunk-wbhz1kax.js} +5 -5
- package/dist/{chunk-4vqz7w3v.js → chunk-wckky1kf.js} +4 -4
- package/dist/{chunk-w8yhf638.js → chunk-we086xcr.js} +1 -1
- package/dist/{chunk-jh0d0pbd.js → chunk-wg0d4shw.js} +4 -4
- package/dist/{chunk-z5w7a1cv.js → chunk-whas4b6c.js} +26 -26
- package/dist/{chunk-s8zha7q1.js → chunk-ws1046mv.js} +9 -11
- package/dist/{chunk-mnrswcqf.js → chunk-x33anyzd.js} +56 -56
- package/dist/{chunk-sf4rsw52.js → chunk-x463hr55.js} +8 -8
- package/dist/{chunk-r6ewgv12.js → chunk-x46veg46.js} +1 -1
- package/dist/{chunk-1zrpqh8h.js → chunk-x7aa6ah7.js} +1 -1
- package/dist/{chunk-2katyzq9.js → chunk-x8zp00qp.js} +3 -3
- package/dist/{chunk-371mcwkv.js → chunk-xcbm675k.js} +7 -7
- package/dist/{chunk-pp347e16.js → chunk-xdhd191v.js} +56 -56
- package/dist/{chunk-d6713rzt.js → chunk-xmj20j9w.js} +30 -10
- package/dist/{chunk-g1jfytsa.js → chunk-xt17cf7n.js} +5 -5
- package/dist/{chunk-nzqmmqwj.js → chunk-xvwnb277.js} +23 -23
- package/dist/{chunk-7f0atzzf.js → chunk-xyh08jpm.js} +57 -57
- package/dist/{chunk-kaqp12mx.js → chunk-xz775vz4.js} +56 -56
- package/dist/{chunk-9b2ts7my.js → chunk-y4b897ek.js} +1 -1
- package/dist/{chunk-avtcf910.js → chunk-y5x8wqe5.js} +1 -1
- package/dist/{chunk-sjmx1scx.js → chunk-y7r4awy2.js} +23 -23
- package/dist/{chunk-m0yqzzgm.js → chunk-yc2ay8fz.js} +2 -2
- package/dist/{chunk-swq8qack.js → chunk-ydgsnc70.js} +24 -24
- package/dist/{chunk-p6ejgd85.js → chunk-yq0e1vbr.js} +60 -60
- package/dist/{chunk-nbath9yz.js → chunk-ys6ctp3c.js} +7 -7
- package/dist/{chunk-6v1p41rg.js → chunk-ysvkq1vy.js} +7 -7
- package/dist/{chunk-7d3ba1n4.js → chunk-yvzh49tc.js} +1 -1
- package/dist/{chunk-5wxavbb8.js → chunk-yw9303pb.js} +23 -23
- package/dist/{chunk-pbn6n0kg.js → chunk-z47zsr3f.js} +56 -56
- package/dist/chunk-z51d7scc.js +244 -0
- package/dist/{chunk-b2pxvgwp.js → chunk-zd7ftnd0.js} +10 -10
- package/dist/{chunk-dxcr07z5.js → chunk-ze6zvkg6.js} +4 -4
- package/dist/{chunk-t1whcbtd.js → chunk-zhmhyt38.js} +73 -73
- package/dist/{chunk-sw51thrz.js → chunk-zn27z1n9.js} +59 -59
- package/dist/{chunk-9snpw77c.js → chunk-zvffthkn.js} +67 -67
- package/dist/{chunk-ztqfa7pd.js → chunk-zwm57zy3.js} +56 -56
- package/dist/{chunk-d6vexw90.js → chunk-zyy7th0a.js} +1 -1
- package/dist/{chunk-a7bs51hq.js → chunk-zzykgkph.js} +28 -28
- package/dist/cli-bun.js +0 -0
- package/dist/cli-node.js +0 -0
- package/dist/cli.js +11 -11
- package/dist/download-ripgrep.js +1 -1
- package/package.json +195 -195
- package/scripts/postinstall.cjs +339 -339
- package/scripts/setup-chrome-mcp.mjs +39 -39
- package/dist/chunk-05rcynmf.js +0 -81
- package/dist/chunk-27xc1csx.js +0 -104
- package/dist/chunk-30rst83v.js +0 -168
- package/dist/chunk-33tdaxv0.js +0 -16
- package/dist/chunk-3enkzjbw.js +0 -3966
- package/dist/chunk-3h8a89gy.js +0 -46
- package/dist/chunk-3qm927vk.js +0 -542
- package/dist/chunk-3z7wsvpa.js +0 -24
- package/dist/chunk-44ct1wzm.js +0 -17
- package/dist/chunk-4s0bw3mn.js +0 -208
- package/dist/chunk-7m3ja921.js +0 -27
- package/dist/chunk-7vs34s16.js +0 -173
- package/dist/chunk-80h2am3g.js +0 -5241
- package/dist/chunk-8f6raa6q.js +0 -615
- package/dist/chunk-a9vdeb6y.js +0 -258
- package/dist/chunk-ahc4y7pa.js +0 -782
- package/dist/chunk-b0bk6bxs.js +0 -742
- package/dist/chunk-b4wg70y1.js +0 -54
- package/dist/chunk-btnvjcc5.js +0 -15
- package/dist/chunk-cs6c9gbk.js +0 -1172
- package/dist/chunk-enhtm7h3.js +0 -1731
- package/dist/chunk-fckn68n0.js +0 -180
- package/dist/chunk-h0qngp9w.js +0 -157
- package/dist/chunk-hasadm64.js +0 -412
- package/dist/chunk-hk9xz7gk.js +0 -118
- package/dist/chunk-j2k4p94p.js +0 -55
- package/dist/chunk-jgcsawpq.js +0 -659
- package/dist/chunk-jzmz18nn.js +0 -65
- package/dist/chunk-kg4qmgbk.js +0 -1095
- package/dist/chunk-n0qaeaa5.js +0 -256
- package/dist/chunk-nbxr4cfd.js +0 -880
- package/dist/chunk-q25bjaev.js +0 -15
- package/dist/chunk-qpydzzk0.js +0 -182
- package/dist/chunk-qqy9drhh.js +0 -864
- package/dist/chunk-qtddenhw.js +0 -607
- package/dist/chunk-r6h4zwjj.js +0 -36
- package/dist/chunk-th1cykx3.js +0 -494
- package/dist/chunk-ttk5dzz8.js +0 -25
- package/dist/chunk-v9yc4wjc.js +0 -220
- package/dist/chunk-vsemkegd.js +0 -718
- package/dist/chunk-wadkbt36.js +0 -40
- package/dist/chunk-xsq9ae7x.js +0 -90
- package/dist/chunk-ze6h1ch1.js +0 -21
- package/dist/chunk-ztpbxsq6.js +0 -910
- package/dist/{chunk-2j1t3hcw.js → chunk-a07s68gh.js} +3 -3
|
@@ -0,0 +1,1486 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_dist_cjs4 as require_dist_cjs2,
|
|
4
|
+
require_tslib
|
|
5
|
+
} from "./chunk-03qpgz7e.js";
|
|
6
|
+
import {
|
|
7
|
+
require_dist_cjs
|
|
8
|
+
} from "./chunk-jcfk76z5.js";
|
|
9
|
+
import {
|
|
10
|
+
__esm,
|
|
11
|
+
__toESM
|
|
12
|
+
} from "./chunk-qp2qdcda.js";
|
|
13
|
+
|
|
14
|
+
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamConfiguration.js
|
|
15
|
+
function resolveEventStreamConfig(input) {
|
|
16
|
+
const eventSigner = input.signer;
|
|
17
|
+
const messageSigner = input.signer;
|
|
18
|
+
const newInput = Object.assign(input, {
|
|
19
|
+
eventSigner,
|
|
20
|
+
messageSigner
|
|
21
|
+
});
|
|
22
|
+
const eventStreamPayloadHandler = newInput.eventStreamPayloadHandlerProvider(newInput);
|
|
23
|
+
return Object.assign(newInput, {
|
|
24
|
+
eventStreamPayloadHandler
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
var init_eventStreamConfiguration = () => {};
|
|
28
|
+
|
|
29
|
+
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
|
|
30
|
+
var import_protocol_http, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
|
|
31
|
+
const { request } = args;
|
|
32
|
+
if (!import_protocol_http.HttpRequest.isInstance(request))
|
|
33
|
+
return next(args);
|
|
34
|
+
return options.eventStreamPayloadHandler.handle(next, args, context);
|
|
35
|
+
}, eventStreamHandlingMiddlewareOptions;
|
|
36
|
+
var init_eventStreamHandlingMiddleware = __esm(() => {
|
|
37
|
+
import_protocol_http = __toESM(require_dist_cjs(), 1);
|
|
38
|
+
eventStreamHandlingMiddlewareOptions = {
|
|
39
|
+
tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
|
|
40
|
+
name: "eventStreamHandlingMiddleware",
|
|
41
|
+
relation: "after",
|
|
42
|
+
toMiddleware: "awsAuthMiddleware",
|
|
43
|
+
override: true
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js
|
|
48
|
+
var import_protocol_http2, eventStreamHeaderMiddleware = (next) => async (args) => {
|
|
49
|
+
const { request } = args;
|
|
50
|
+
if (!import_protocol_http2.HttpRequest.isInstance(request))
|
|
51
|
+
return next(args);
|
|
52
|
+
request.headers = {
|
|
53
|
+
...request.headers,
|
|
54
|
+
"content-type": "application/vnd.amazon.eventstream",
|
|
55
|
+
"x-amz-content-sha256": "STREAMING-AWS4-HMAC-SHA256-EVENTS"
|
|
56
|
+
};
|
|
57
|
+
return next({
|
|
58
|
+
...args,
|
|
59
|
+
request
|
|
60
|
+
});
|
|
61
|
+
}, eventStreamHeaderMiddlewareOptions;
|
|
62
|
+
var init_eventStreamHeaderMiddleware = __esm(() => {
|
|
63
|
+
import_protocol_http2 = __toESM(require_dist_cjs(), 1);
|
|
64
|
+
eventStreamHeaderMiddlewareOptions = {
|
|
65
|
+
step: "build",
|
|
66
|
+
tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
|
|
67
|
+
name: "eventStreamHeaderMiddleware",
|
|
68
|
+
override: true
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/getEventStreamPlugin.js
|
|
73
|
+
var getEventStreamPlugin = (options) => ({
|
|
74
|
+
applyToStack: (clientStack) => {
|
|
75
|
+
clientStack.addRelativeTo(eventStreamHandlingMiddleware(options), eventStreamHandlingMiddlewareOptions);
|
|
76
|
+
clientStack.add(eventStreamHeaderMiddleware, eventStreamHeaderMiddlewareOptions);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
var init_getEventStreamPlugin = __esm(() => {
|
|
80
|
+
init_eventStreamHandlingMiddleware();
|
|
81
|
+
init_eventStreamHeaderMiddleware();
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js
|
|
85
|
+
var init_dist_es = __esm(() => {
|
|
86
|
+
init_eventStreamConfiguration();
|
|
87
|
+
init_eventStreamHandlingMiddleware();
|
|
88
|
+
init_eventStreamHeaderMiddleware();
|
|
89
|
+
init_getEventStreamPlugin();
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
|
|
93
|
+
var import_protocol_http3, websocketEndpointMiddleware = (config, options) => (next) => (args) => {
|
|
94
|
+
const { request } = args;
|
|
95
|
+
if (import_protocol_http3.HttpRequest.isInstance(request) && config.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
|
|
96
|
+
request.protocol = "wss:";
|
|
97
|
+
request.method = "GET";
|
|
98
|
+
request.path = `${request.path}-websocket`;
|
|
99
|
+
const { headers } = request;
|
|
100
|
+
delete headers["content-type"];
|
|
101
|
+
delete headers["x-amz-content-sha256"];
|
|
102
|
+
for (const name of Object.keys(headers)) {
|
|
103
|
+
if (name.indexOf(options.headerPrefix) === 0) {
|
|
104
|
+
const chunkedName = name.replace(options.headerPrefix, "");
|
|
105
|
+
request.query[chunkedName] = headers[name];
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (headers["x-amz-user-agent"]) {
|
|
109
|
+
request.query["user-agent"] = headers["x-amz-user-agent"];
|
|
110
|
+
}
|
|
111
|
+
request.headers = { host: headers.host ?? request.hostname };
|
|
112
|
+
}
|
|
113
|
+
return next(args);
|
|
114
|
+
}, websocketEndpointMiddlewareOptions;
|
|
115
|
+
var init_websocketEndpointMiddleware = __esm(() => {
|
|
116
|
+
import_protocol_http3 = __toESM(require_dist_cjs(), 1);
|
|
117
|
+
websocketEndpointMiddlewareOptions = {
|
|
118
|
+
name: "websocketEndpointMiddleware",
|
|
119
|
+
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
120
|
+
relation: "after",
|
|
121
|
+
toMiddleware: "eventStreamHeaderMiddleware",
|
|
122
|
+
override: true
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
|
|
127
|
+
var injectSessionIdMiddleware = () => (next) => async (args) => {
|
|
128
|
+
const requestParams = {
|
|
129
|
+
...args.input
|
|
130
|
+
};
|
|
131
|
+
const response = await next(args);
|
|
132
|
+
const output = response.output;
|
|
133
|
+
if (requestParams.SessionId && output.SessionId == null) {
|
|
134
|
+
output.SessionId = requestParams.SessionId;
|
|
135
|
+
}
|
|
136
|
+
return response;
|
|
137
|
+
}, injectSessionIdMiddlewareOptions;
|
|
138
|
+
var init_websocketInjectSessionIdMiddleware = __esm(() => {
|
|
139
|
+
injectSessionIdMiddlewareOptions = {
|
|
140
|
+
step: "initialize",
|
|
141
|
+
name: "injectSessionIdMiddleware",
|
|
142
|
+
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
143
|
+
override: true
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
|
|
148
|
+
var getWebSocketPlugin = (config, options) => ({
|
|
149
|
+
applyToStack: (clientStack) => {
|
|
150
|
+
clientStack.addRelativeTo(websocketEndpointMiddleware(config, options), websocketEndpointMiddlewareOptions);
|
|
151
|
+
clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
var init_getWebSocketPlugin = __esm(() => {
|
|
155
|
+
init_websocketEndpointMiddleware();
|
|
156
|
+
init_websocketInjectSessionIdMiddleware();
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
|
|
160
|
+
var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
|
|
161
|
+
var init_utils = () => {};
|
|
162
|
+
|
|
163
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
|
|
164
|
+
class WebsocketSignatureV4 {
|
|
165
|
+
signer;
|
|
166
|
+
constructor(options) {
|
|
167
|
+
this.signer = options.signer;
|
|
168
|
+
}
|
|
169
|
+
presign(originalRequest, options = {}) {
|
|
170
|
+
return this.signer.presign(originalRequest, options);
|
|
171
|
+
}
|
|
172
|
+
async sign(toSign, options) {
|
|
173
|
+
if (import_protocol_http4.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
|
|
174
|
+
const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
|
|
175
|
+
...options,
|
|
176
|
+
expiresIn: 60,
|
|
177
|
+
unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
|
|
178
|
+
});
|
|
179
|
+
return {
|
|
180
|
+
...signedRequest,
|
|
181
|
+
body: toSign.body
|
|
182
|
+
};
|
|
183
|
+
} else {
|
|
184
|
+
return this.signer.sign(toSign, options);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
signMessage(message, args) {
|
|
188
|
+
return this.signer.signMessage(message, args);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
var import_protocol_http4;
|
|
192
|
+
var init_WebsocketSignatureV4 = __esm(() => {
|
|
193
|
+
init_utils();
|
|
194
|
+
import_protocol_http4 = __toESM(require_dist_cjs(), 1);
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
|
|
198
|
+
var resolveWebSocketConfig = (input) => {
|
|
199
|
+
const { signer } = input;
|
|
200
|
+
return Object.assign(input, {
|
|
201
|
+
signer: async (authScheme) => {
|
|
202
|
+
const signerObj = await signer(authScheme);
|
|
203
|
+
if (validateSigner(signerObj)) {
|
|
204
|
+
return new WebsocketSignatureV4({ signer: signerObj });
|
|
205
|
+
}
|
|
206
|
+
throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
}, validateSigner = (signer) => !!signer;
|
|
210
|
+
var init_resolveWebSocketConfig = __esm(() => {
|
|
211
|
+
init_WebsocketSignatureV4();
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
// node_modules/.bun/tslib@2.8.1/node_modules/tslib/modules/index.js
|
|
215
|
+
var import_tslib, __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension;
|
|
216
|
+
var init_modules = __esm(() => {
|
|
217
|
+
import_tslib = __toESM(require_tslib(), 1);
|
|
218
|
+
({
|
|
219
|
+
__extends,
|
|
220
|
+
__assign,
|
|
221
|
+
__rest,
|
|
222
|
+
__decorate,
|
|
223
|
+
__param,
|
|
224
|
+
__esDecorate,
|
|
225
|
+
__runInitializers,
|
|
226
|
+
__propKey,
|
|
227
|
+
__setFunctionName,
|
|
228
|
+
__metadata,
|
|
229
|
+
__awaiter,
|
|
230
|
+
__generator,
|
|
231
|
+
__exportStar,
|
|
232
|
+
__createBinding,
|
|
233
|
+
__values,
|
|
234
|
+
__read,
|
|
235
|
+
__spread,
|
|
236
|
+
__spreadArrays,
|
|
237
|
+
__spreadArray,
|
|
238
|
+
__await,
|
|
239
|
+
__asyncGenerator,
|
|
240
|
+
__asyncDelegator,
|
|
241
|
+
__asyncValues,
|
|
242
|
+
__makeTemplateObject,
|
|
243
|
+
__importStar,
|
|
244
|
+
__importDefault,
|
|
245
|
+
__classPrivateFieldGet,
|
|
246
|
+
__classPrivateFieldSet,
|
|
247
|
+
__classPrivateFieldIn,
|
|
248
|
+
__addDisposableResource,
|
|
249
|
+
__disposeResources,
|
|
250
|
+
__rewriteRelativeImportExtension
|
|
251
|
+
} = import_tslib.default);
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
// node_modules/.bun/@smithy+is-array-buffer@2.2.0/node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
255
|
+
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
256
|
+
var init_dist_es2 = () => {};
|
|
257
|
+
|
|
258
|
+
// node_modules/.bun/@smithy+util-buffer-from@2.2.0/node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
259
|
+
import { Buffer as Buffer2 } from "buffer";
|
|
260
|
+
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
261
|
+
if (!isArrayBuffer(input)) {
|
|
262
|
+
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
263
|
+
}
|
|
264
|
+
return Buffer2.from(input, offset, length);
|
|
265
|
+
}, fromString = (input, encoding) => {
|
|
266
|
+
if (typeof input !== "string") {
|
|
267
|
+
throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
|
|
268
|
+
}
|
|
269
|
+
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
270
|
+
};
|
|
271
|
+
var init_dist_es3 = __esm(() => {
|
|
272
|
+
init_dist_es2();
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
// node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
|
|
276
|
+
var fromUtf8 = (input) => {
|
|
277
|
+
const buf = fromString(input, "utf8");
|
|
278
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
279
|
+
};
|
|
280
|
+
var init_fromUtf8 = __esm(() => {
|
|
281
|
+
init_dist_es3();
|
|
282
|
+
});
|
|
283
|
+
|
|
284
|
+
// node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
285
|
+
var init_toUint8Array = __esm(() => {
|
|
286
|
+
init_fromUtf8();
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
// node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUtf8.js
|
|
290
|
+
var toUtf8 = (input) => {
|
|
291
|
+
if (typeof input === "string") {
|
|
292
|
+
return input;
|
|
293
|
+
}
|
|
294
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
295
|
+
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
296
|
+
}
|
|
297
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
298
|
+
};
|
|
299
|
+
var init_toUtf8 = __esm(() => {
|
|
300
|
+
init_dist_es3();
|
|
301
|
+
});
|
|
302
|
+
|
|
303
|
+
// node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/index.js
|
|
304
|
+
var init_dist_es4 = __esm(() => {
|
|
305
|
+
init_fromUtf8();
|
|
306
|
+
init_toUint8Array();
|
|
307
|
+
init_toUtf8();
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
// node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/convertToBuffer.js
|
|
311
|
+
function convertToBuffer(data) {
|
|
312
|
+
if (data instanceof Uint8Array)
|
|
313
|
+
return data;
|
|
314
|
+
if (typeof data === "string") {
|
|
315
|
+
return fromUtf83(data);
|
|
316
|
+
}
|
|
317
|
+
if (ArrayBuffer.isView(data)) {
|
|
318
|
+
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
319
|
+
}
|
|
320
|
+
return new Uint8Array(data);
|
|
321
|
+
}
|
|
322
|
+
var fromUtf83;
|
|
323
|
+
var init_convertToBuffer = __esm(() => {
|
|
324
|
+
init_dist_es4();
|
|
325
|
+
fromUtf83 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
326
|
+
return Buffer.from(input, "utf8");
|
|
327
|
+
} : fromUtf8;
|
|
328
|
+
});
|
|
329
|
+
|
|
330
|
+
// node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/isEmptyData.js
|
|
331
|
+
function isEmptyData(data) {
|
|
332
|
+
if (typeof data === "string") {
|
|
333
|
+
return data.length === 0;
|
|
334
|
+
}
|
|
335
|
+
return data.byteLength === 0;
|
|
336
|
+
}
|
|
337
|
+
var init_isEmptyData = () => {};
|
|
338
|
+
|
|
339
|
+
// node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/numToUint8.js
|
|
340
|
+
function numToUint8(num) {
|
|
341
|
+
return new Uint8Array([
|
|
342
|
+
(num & 4278190080) >> 24,
|
|
343
|
+
(num & 16711680) >> 16,
|
|
344
|
+
(num & 65280) >> 8,
|
|
345
|
+
num & 255
|
|
346
|
+
]);
|
|
347
|
+
}
|
|
348
|
+
var init_numToUint8 = () => {};
|
|
349
|
+
|
|
350
|
+
// node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js
|
|
351
|
+
function uint32ArrayFrom(a_lookUpTable) {
|
|
352
|
+
if (!Uint32Array.from) {
|
|
353
|
+
var return_array = new Uint32Array(a_lookUpTable.length);
|
|
354
|
+
var a_index = 0;
|
|
355
|
+
while (a_index < a_lookUpTable.length) {
|
|
356
|
+
return_array[a_index] = a_lookUpTable[a_index];
|
|
357
|
+
a_index += 1;
|
|
358
|
+
}
|
|
359
|
+
return return_array;
|
|
360
|
+
}
|
|
361
|
+
return Uint32Array.from(a_lookUpTable);
|
|
362
|
+
}
|
|
363
|
+
var init_uint32ArrayFrom = () => {};
|
|
364
|
+
|
|
365
|
+
// node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/index.js
|
|
366
|
+
var init_module = __esm(() => {
|
|
367
|
+
init_convertToBuffer();
|
|
368
|
+
init_isEmptyData();
|
|
369
|
+
init_numToUint8();
|
|
370
|
+
init_uint32ArrayFrom();
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
// node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js
|
|
374
|
+
var AwsCrc32;
|
|
375
|
+
var init_aws_crc32 = __esm(() => {
|
|
376
|
+
init_modules();
|
|
377
|
+
init_module();
|
|
378
|
+
init_module2();
|
|
379
|
+
AwsCrc32 = function() {
|
|
380
|
+
function AwsCrc322() {
|
|
381
|
+
this.crc32 = new Crc32;
|
|
382
|
+
}
|
|
383
|
+
AwsCrc322.prototype.update = function(toHash) {
|
|
384
|
+
if (isEmptyData(toHash))
|
|
385
|
+
return;
|
|
386
|
+
this.crc32.update(convertToBuffer(toHash));
|
|
387
|
+
};
|
|
388
|
+
AwsCrc322.prototype.digest = function() {
|
|
389
|
+
return __awaiter(this, undefined, undefined, function() {
|
|
390
|
+
return __generator(this, function(_a) {
|
|
391
|
+
return [2, numToUint8(this.crc32.digest())];
|
|
392
|
+
});
|
|
393
|
+
});
|
|
394
|
+
};
|
|
395
|
+
AwsCrc322.prototype.reset = function() {
|
|
396
|
+
this.crc32 = new Crc32;
|
|
397
|
+
};
|
|
398
|
+
return AwsCrc322;
|
|
399
|
+
}();
|
|
400
|
+
});
|
|
401
|
+
|
|
402
|
+
// node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/index.js
|
|
403
|
+
var Crc32, a_lookUpTable, lookupTable;
|
|
404
|
+
var init_module2 = __esm(() => {
|
|
405
|
+
init_modules();
|
|
406
|
+
init_module();
|
|
407
|
+
init_aws_crc32();
|
|
408
|
+
Crc32 = function() {
|
|
409
|
+
function Crc322() {
|
|
410
|
+
this.checksum = 4294967295;
|
|
411
|
+
}
|
|
412
|
+
Crc322.prototype.update = function(data) {
|
|
413
|
+
var e_1, _a;
|
|
414
|
+
try {
|
|
415
|
+
for (var data_1 = __values(data), data_1_1 = data_1.next();!data_1_1.done; data_1_1 = data_1.next()) {
|
|
416
|
+
var byte = data_1_1.value;
|
|
417
|
+
this.checksum = this.checksum >>> 8 ^ lookupTable[(this.checksum ^ byte) & 255];
|
|
418
|
+
}
|
|
419
|
+
} catch (e_1_1) {
|
|
420
|
+
e_1 = { error: e_1_1 };
|
|
421
|
+
} finally {
|
|
422
|
+
try {
|
|
423
|
+
if (data_1_1 && !data_1_1.done && (_a = data_1.return))
|
|
424
|
+
_a.call(data_1);
|
|
425
|
+
} finally {
|
|
426
|
+
if (e_1)
|
|
427
|
+
throw e_1.error;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
return this;
|
|
431
|
+
};
|
|
432
|
+
Crc322.prototype.digest = function() {
|
|
433
|
+
return (this.checksum ^ 4294967295) >>> 0;
|
|
434
|
+
};
|
|
435
|
+
return Crc322;
|
|
436
|
+
}();
|
|
437
|
+
a_lookUpTable = [
|
|
438
|
+
0,
|
|
439
|
+
1996959894,
|
|
440
|
+
3993919788,
|
|
441
|
+
2567524794,
|
|
442
|
+
124634137,
|
|
443
|
+
1886057615,
|
|
444
|
+
3915621685,
|
|
445
|
+
2657392035,
|
|
446
|
+
249268274,
|
|
447
|
+
2044508324,
|
|
448
|
+
3772115230,
|
|
449
|
+
2547177864,
|
|
450
|
+
162941995,
|
|
451
|
+
2125561021,
|
|
452
|
+
3887607047,
|
|
453
|
+
2428444049,
|
|
454
|
+
498536548,
|
|
455
|
+
1789927666,
|
|
456
|
+
4089016648,
|
|
457
|
+
2227061214,
|
|
458
|
+
450548861,
|
|
459
|
+
1843258603,
|
|
460
|
+
4107580753,
|
|
461
|
+
2211677639,
|
|
462
|
+
325883990,
|
|
463
|
+
1684777152,
|
|
464
|
+
4251122042,
|
|
465
|
+
2321926636,
|
|
466
|
+
335633487,
|
|
467
|
+
1661365465,
|
|
468
|
+
4195302755,
|
|
469
|
+
2366115317,
|
|
470
|
+
997073096,
|
|
471
|
+
1281953886,
|
|
472
|
+
3579855332,
|
|
473
|
+
2724688242,
|
|
474
|
+
1006888145,
|
|
475
|
+
1258607687,
|
|
476
|
+
3524101629,
|
|
477
|
+
2768942443,
|
|
478
|
+
901097722,
|
|
479
|
+
1119000684,
|
|
480
|
+
3686517206,
|
|
481
|
+
2898065728,
|
|
482
|
+
853044451,
|
|
483
|
+
1172266101,
|
|
484
|
+
3705015759,
|
|
485
|
+
2882616665,
|
|
486
|
+
651767980,
|
|
487
|
+
1373503546,
|
|
488
|
+
3369554304,
|
|
489
|
+
3218104598,
|
|
490
|
+
565507253,
|
|
491
|
+
1454621731,
|
|
492
|
+
3485111705,
|
|
493
|
+
3099436303,
|
|
494
|
+
671266974,
|
|
495
|
+
1594198024,
|
|
496
|
+
3322730930,
|
|
497
|
+
2970347812,
|
|
498
|
+
795835527,
|
|
499
|
+
1483230225,
|
|
500
|
+
3244367275,
|
|
501
|
+
3060149565,
|
|
502
|
+
1994146192,
|
|
503
|
+
31158534,
|
|
504
|
+
2563907772,
|
|
505
|
+
4023717930,
|
|
506
|
+
1907459465,
|
|
507
|
+
112637215,
|
|
508
|
+
2680153253,
|
|
509
|
+
3904427059,
|
|
510
|
+
2013776290,
|
|
511
|
+
251722036,
|
|
512
|
+
2517215374,
|
|
513
|
+
3775830040,
|
|
514
|
+
2137656763,
|
|
515
|
+
141376813,
|
|
516
|
+
2439277719,
|
|
517
|
+
3865271297,
|
|
518
|
+
1802195444,
|
|
519
|
+
476864866,
|
|
520
|
+
2238001368,
|
|
521
|
+
4066508878,
|
|
522
|
+
1812370925,
|
|
523
|
+
453092731,
|
|
524
|
+
2181625025,
|
|
525
|
+
4111451223,
|
|
526
|
+
1706088902,
|
|
527
|
+
314042704,
|
|
528
|
+
2344532202,
|
|
529
|
+
4240017532,
|
|
530
|
+
1658658271,
|
|
531
|
+
366619977,
|
|
532
|
+
2362670323,
|
|
533
|
+
4224994405,
|
|
534
|
+
1303535960,
|
|
535
|
+
984961486,
|
|
536
|
+
2747007092,
|
|
537
|
+
3569037538,
|
|
538
|
+
1256170817,
|
|
539
|
+
1037604311,
|
|
540
|
+
2765210733,
|
|
541
|
+
3554079995,
|
|
542
|
+
1131014506,
|
|
543
|
+
879679996,
|
|
544
|
+
2909243462,
|
|
545
|
+
3663771856,
|
|
546
|
+
1141124467,
|
|
547
|
+
855842277,
|
|
548
|
+
2852801631,
|
|
549
|
+
3708648649,
|
|
550
|
+
1342533948,
|
|
551
|
+
654459306,
|
|
552
|
+
3188396048,
|
|
553
|
+
3373015174,
|
|
554
|
+
1466479909,
|
|
555
|
+
544179635,
|
|
556
|
+
3110523913,
|
|
557
|
+
3462522015,
|
|
558
|
+
1591671054,
|
|
559
|
+
702138776,
|
|
560
|
+
2966460450,
|
|
561
|
+
3352799412,
|
|
562
|
+
1504918807,
|
|
563
|
+
783551873,
|
|
564
|
+
3082640443,
|
|
565
|
+
3233442989,
|
|
566
|
+
3988292384,
|
|
567
|
+
2596254646,
|
|
568
|
+
62317068,
|
|
569
|
+
1957810842,
|
|
570
|
+
3939845945,
|
|
571
|
+
2647816111,
|
|
572
|
+
81470997,
|
|
573
|
+
1943803523,
|
|
574
|
+
3814918930,
|
|
575
|
+
2489596804,
|
|
576
|
+
225274430,
|
|
577
|
+
2053790376,
|
|
578
|
+
3826175755,
|
|
579
|
+
2466906013,
|
|
580
|
+
167816743,
|
|
581
|
+
2097651377,
|
|
582
|
+
4027552580,
|
|
583
|
+
2265490386,
|
|
584
|
+
503444072,
|
|
585
|
+
1762050814,
|
|
586
|
+
4150417245,
|
|
587
|
+
2154129355,
|
|
588
|
+
426522225,
|
|
589
|
+
1852507879,
|
|
590
|
+
4275313526,
|
|
591
|
+
2312317920,
|
|
592
|
+
282753626,
|
|
593
|
+
1742555852,
|
|
594
|
+
4189708143,
|
|
595
|
+
2394877945,
|
|
596
|
+
397917763,
|
|
597
|
+
1622183637,
|
|
598
|
+
3604390888,
|
|
599
|
+
2714866558,
|
|
600
|
+
953729732,
|
|
601
|
+
1340076626,
|
|
602
|
+
3518719985,
|
|
603
|
+
2797360999,
|
|
604
|
+
1068828381,
|
|
605
|
+
1219638859,
|
|
606
|
+
3624741850,
|
|
607
|
+
2936675148,
|
|
608
|
+
906185462,
|
|
609
|
+
1090812512,
|
|
610
|
+
3747672003,
|
|
611
|
+
2825379669,
|
|
612
|
+
829329135,
|
|
613
|
+
1181335161,
|
|
614
|
+
3412177804,
|
|
615
|
+
3160834842,
|
|
616
|
+
628085408,
|
|
617
|
+
1382605366,
|
|
618
|
+
3423369109,
|
|
619
|
+
3138078467,
|
|
620
|
+
570562233,
|
|
621
|
+
1426400815,
|
|
622
|
+
3317316542,
|
|
623
|
+
2998733608,
|
|
624
|
+
733239954,
|
|
625
|
+
1555261956,
|
|
626
|
+
3268935591,
|
|
627
|
+
3050360625,
|
|
628
|
+
752459403,
|
|
629
|
+
1541320221,
|
|
630
|
+
2607071920,
|
|
631
|
+
3965973030,
|
|
632
|
+
1969922972,
|
|
633
|
+
40735498,
|
|
634
|
+
2617837225,
|
|
635
|
+
3943577151,
|
|
636
|
+
1913087877,
|
|
637
|
+
83908371,
|
|
638
|
+
2512341634,
|
|
639
|
+
3803740692,
|
|
640
|
+
2075208622,
|
|
641
|
+
213261112,
|
|
642
|
+
2463272603,
|
|
643
|
+
3855990285,
|
|
644
|
+
2094854071,
|
|
645
|
+
198958881,
|
|
646
|
+
2262029012,
|
|
647
|
+
4057260610,
|
|
648
|
+
1759359992,
|
|
649
|
+
534414190,
|
|
650
|
+
2176718541,
|
|
651
|
+
4139329115,
|
|
652
|
+
1873836001,
|
|
653
|
+
414664567,
|
|
654
|
+
2282248934,
|
|
655
|
+
4279200368,
|
|
656
|
+
1711684554,
|
|
657
|
+
285281116,
|
|
658
|
+
2405801727,
|
|
659
|
+
4167216745,
|
|
660
|
+
1634467795,
|
|
661
|
+
376229701,
|
|
662
|
+
2685067896,
|
|
663
|
+
3608007406,
|
|
664
|
+
1308918612,
|
|
665
|
+
956543938,
|
|
666
|
+
2808555105,
|
|
667
|
+
3495958263,
|
|
668
|
+
1231636301,
|
|
669
|
+
1047427035,
|
|
670
|
+
2932959818,
|
|
671
|
+
3654703836,
|
|
672
|
+
1088359270,
|
|
673
|
+
936918000,
|
|
674
|
+
2847714899,
|
|
675
|
+
3736837829,
|
|
676
|
+
1202900863,
|
|
677
|
+
817233897,
|
|
678
|
+
3183342108,
|
|
679
|
+
3401237130,
|
|
680
|
+
1404277552,
|
|
681
|
+
615818150,
|
|
682
|
+
3134207493,
|
|
683
|
+
3453421203,
|
|
684
|
+
1423857449,
|
|
685
|
+
601450431,
|
|
686
|
+
3009837614,
|
|
687
|
+
3294710456,
|
|
688
|
+
1567103746,
|
|
689
|
+
711928724,
|
|
690
|
+
3020668471,
|
|
691
|
+
3272380065,
|
|
692
|
+
1510334235,
|
|
693
|
+
755167117
|
|
694
|
+
];
|
|
695
|
+
lookupTable = uint32ArrayFrom(a_lookUpTable);
|
|
696
|
+
});
|
|
697
|
+
|
|
698
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
699
|
+
class Int64 {
|
|
700
|
+
bytes;
|
|
701
|
+
constructor(bytes) {
|
|
702
|
+
this.bytes = bytes;
|
|
703
|
+
if (bytes.byteLength !== 8) {
|
|
704
|
+
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
static fromNumber(number) {
|
|
708
|
+
if (number > 9223372036854776000 || number < -9223372036854776000) {
|
|
709
|
+
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
710
|
+
}
|
|
711
|
+
const bytes = new Uint8Array(8);
|
|
712
|
+
for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
|
|
713
|
+
bytes[i] = remaining;
|
|
714
|
+
}
|
|
715
|
+
if (number < 0) {
|
|
716
|
+
negate(bytes);
|
|
717
|
+
}
|
|
718
|
+
return new Int64(bytes);
|
|
719
|
+
}
|
|
720
|
+
valueOf() {
|
|
721
|
+
const bytes = this.bytes.slice(0);
|
|
722
|
+
const negative = bytes[0] & 128;
|
|
723
|
+
if (negative) {
|
|
724
|
+
negate(bytes);
|
|
725
|
+
}
|
|
726
|
+
return parseInt(import_util_hex_encoding.toHex(bytes), 16) * (negative ? -1 : 1);
|
|
727
|
+
}
|
|
728
|
+
toString() {
|
|
729
|
+
return String(this.valueOf());
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
function negate(bytes) {
|
|
733
|
+
for (let i = 0;i < 8; i++) {
|
|
734
|
+
bytes[i] ^= 255;
|
|
735
|
+
}
|
|
736
|
+
for (let i = 7;i > -1; i--) {
|
|
737
|
+
bytes[i]++;
|
|
738
|
+
if (bytes[i] !== 0)
|
|
739
|
+
break;
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
var import_util_hex_encoding;
|
|
743
|
+
var init_Int64 = __esm(() => {
|
|
744
|
+
import_util_hex_encoding = __toESM(require_dist_cjs2(), 1);
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
748
|
+
class HeaderMarshaller {
|
|
749
|
+
toUtf8;
|
|
750
|
+
fromUtf8;
|
|
751
|
+
constructor(toUtf83, fromUtf84) {
|
|
752
|
+
this.toUtf8 = toUtf83;
|
|
753
|
+
this.fromUtf8 = fromUtf84;
|
|
754
|
+
}
|
|
755
|
+
format(headers) {
|
|
756
|
+
const chunks = [];
|
|
757
|
+
for (const headerName of Object.keys(headers)) {
|
|
758
|
+
const bytes = this.fromUtf8(headerName);
|
|
759
|
+
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
760
|
+
}
|
|
761
|
+
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
762
|
+
let position = 0;
|
|
763
|
+
for (const chunk of chunks) {
|
|
764
|
+
out.set(chunk, position);
|
|
765
|
+
position += chunk.byteLength;
|
|
766
|
+
}
|
|
767
|
+
return out;
|
|
768
|
+
}
|
|
769
|
+
formatHeaderValue(header) {
|
|
770
|
+
switch (header.type) {
|
|
771
|
+
case "boolean":
|
|
772
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
773
|
+
case "byte":
|
|
774
|
+
return Uint8Array.from([2, header.value]);
|
|
775
|
+
case "short":
|
|
776
|
+
const shortView = new DataView(new ArrayBuffer(3));
|
|
777
|
+
shortView.setUint8(0, 3);
|
|
778
|
+
shortView.setInt16(1, header.value, false);
|
|
779
|
+
return new Uint8Array(shortView.buffer);
|
|
780
|
+
case "integer":
|
|
781
|
+
const intView = new DataView(new ArrayBuffer(5));
|
|
782
|
+
intView.setUint8(0, 4);
|
|
783
|
+
intView.setInt32(1, header.value, false);
|
|
784
|
+
return new Uint8Array(intView.buffer);
|
|
785
|
+
case "long":
|
|
786
|
+
const longBytes = new Uint8Array(9);
|
|
787
|
+
longBytes[0] = 5;
|
|
788
|
+
longBytes.set(header.value.bytes, 1);
|
|
789
|
+
return longBytes;
|
|
790
|
+
case "binary":
|
|
791
|
+
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
792
|
+
binView.setUint8(0, 6);
|
|
793
|
+
binView.setUint16(1, header.value.byteLength, false);
|
|
794
|
+
const binBytes = new Uint8Array(binView.buffer);
|
|
795
|
+
binBytes.set(header.value, 3);
|
|
796
|
+
return binBytes;
|
|
797
|
+
case "string":
|
|
798
|
+
const utf8Bytes = this.fromUtf8(header.value);
|
|
799
|
+
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
800
|
+
strView.setUint8(0, 7);
|
|
801
|
+
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
802
|
+
const strBytes = new Uint8Array(strView.buffer);
|
|
803
|
+
strBytes.set(utf8Bytes, 3);
|
|
804
|
+
return strBytes;
|
|
805
|
+
case "timestamp":
|
|
806
|
+
const tsBytes = new Uint8Array(9);
|
|
807
|
+
tsBytes[0] = 8;
|
|
808
|
+
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
809
|
+
return tsBytes;
|
|
810
|
+
case "uuid":
|
|
811
|
+
if (!UUID_PATTERN.test(header.value)) {
|
|
812
|
+
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
813
|
+
}
|
|
814
|
+
const uuidBytes = new Uint8Array(17);
|
|
815
|
+
uuidBytes[0] = 9;
|
|
816
|
+
uuidBytes.set(import_util_hex_encoding2.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
817
|
+
return uuidBytes;
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
parse(headers) {
|
|
821
|
+
const out = {};
|
|
822
|
+
let position = 0;
|
|
823
|
+
while (position < headers.byteLength) {
|
|
824
|
+
const nameLength = headers.getUint8(position++);
|
|
825
|
+
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
826
|
+
position += nameLength;
|
|
827
|
+
switch (headers.getUint8(position++)) {
|
|
828
|
+
case 0:
|
|
829
|
+
out[name] = {
|
|
830
|
+
type: BOOLEAN_TAG,
|
|
831
|
+
value: true
|
|
832
|
+
};
|
|
833
|
+
break;
|
|
834
|
+
case 1:
|
|
835
|
+
out[name] = {
|
|
836
|
+
type: BOOLEAN_TAG,
|
|
837
|
+
value: false
|
|
838
|
+
};
|
|
839
|
+
break;
|
|
840
|
+
case 2:
|
|
841
|
+
out[name] = {
|
|
842
|
+
type: BYTE_TAG,
|
|
843
|
+
value: headers.getInt8(position++)
|
|
844
|
+
};
|
|
845
|
+
break;
|
|
846
|
+
case 3:
|
|
847
|
+
out[name] = {
|
|
848
|
+
type: SHORT_TAG,
|
|
849
|
+
value: headers.getInt16(position, false)
|
|
850
|
+
};
|
|
851
|
+
position += 2;
|
|
852
|
+
break;
|
|
853
|
+
case 4:
|
|
854
|
+
out[name] = {
|
|
855
|
+
type: INT_TAG,
|
|
856
|
+
value: headers.getInt32(position, false)
|
|
857
|
+
};
|
|
858
|
+
position += 4;
|
|
859
|
+
break;
|
|
860
|
+
case 5:
|
|
861
|
+
out[name] = {
|
|
862
|
+
type: LONG_TAG,
|
|
863
|
+
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
864
|
+
};
|
|
865
|
+
position += 8;
|
|
866
|
+
break;
|
|
867
|
+
case 6:
|
|
868
|
+
const binaryLength = headers.getUint16(position, false);
|
|
869
|
+
position += 2;
|
|
870
|
+
out[name] = {
|
|
871
|
+
type: BINARY_TAG,
|
|
872
|
+
value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
|
|
873
|
+
};
|
|
874
|
+
position += binaryLength;
|
|
875
|
+
break;
|
|
876
|
+
case 7:
|
|
877
|
+
const stringLength = headers.getUint16(position, false);
|
|
878
|
+
position += 2;
|
|
879
|
+
out[name] = {
|
|
880
|
+
type: STRING_TAG,
|
|
881
|
+
value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
|
|
882
|
+
};
|
|
883
|
+
position += stringLength;
|
|
884
|
+
break;
|
|
885
|
+
case 8:
|
|
886
|
+
out[name] = {
|
|
887
|
+
type: TIMESTAMP_TAG,
|
|
888
|
+
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
889
|
+
};
|
|
890
|
+
position += 8;
|
|
891
|
+
break;
|
|
892
|
+
case 9:
|
|
893
|
+
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
894
|
+
position += 16;
|
|
895
|
+
out[name] = {
|
|
896
|
+
type: UUID_TAG,
|
|
897
|
+
value: `${import_util_hex_encoding2.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(10))}`
|
|
898
|
+
};
|
|
899
|
+
break;
|
|
900
|
+
default:
|
|
901
|
+
throw new Error(`Unrecognized header type tag`);
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
return out;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
var import_util_hex_encoding2, HEADER_VALUE_TYPE, BOOLEAN_TAG = "boolean", BYTE_TAG = "byte", SHORT_TAG = "short", INT_TAG = "integer", LONG_TAG = "long", BINARY_TAG = "binary", STRING_TAG = "string", TIMESTAMP_TAG = "timestamp", UUID_TAG = "uuid", UUID_PATTERN;
|
|
908
|
+
var init_HeaderMarshaller = __esm(() => {
|
|
909
|
+
init_Int64();
|
|
910
|
+
import_util_hex_encoding2 = __toESM(require_dist_cjs2(), 1);
|
|
911
|
+
(function(HEADER_VALUE_TYPE2) {
|
|
912
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
|
|
913
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
|
|
914
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byte"] = 2] = "byte";
|
|
915
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["short"] = 3] = "short";
|
|
916
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["integer"] = 4] = "integer";
|
|
917
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["long"] = 5] = "long";
|
|
918
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byteArray"] = 6] = "byteArray";
|
|
919
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["string"] = 7] = "string";
|
|
920
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["timestamp"] = 8] = "timestamp";
|
|
921
|
+
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["uuid"] = 9] = "uuid";
|
|
922
|
+
})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));
|
|
923
|
+
UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
924
|
+
});
|
|
925
|
+
|
|
926
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
927
|
+
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
928
|
+
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
929
|
+
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
930
|
+
}
|
|
931
|
+
const view = new DataView(buffer, byteOffset, byteLength);
|
|
932
|
+
const messageLength = view.getUint32(0, false);
|
|
933
|
+
if (byteLength !== messageLength) {
|
|
934
|
+
throw new Error("Reported message length does not match received message length");
|
|
935
|
+
}
|
|
936
|
+
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
937
|
+
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
938
|
+
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
939
|
+
const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
940
|
+
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
941
|
+
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
942
|
+
}
|
|
943
|
+
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
944
|
+
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
945
|
+
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
946
|
+
}
|
|
947
|
+
return {
|
|
948
|
+
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
949
|
+
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
var PRELUDE_MEMBER_LENGTH = 4, PRELUDE_LENGTH, CHECKSUM_LENGTH = 4, MINIMUM_MESSAGE_LENGTH;
|
|
953
|
+
var init_splitMessage = __esm(() => {
|
|
954
|
+
init_module2();
|
|
955
|
+
PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
956
|
+
MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
960
|
+
class EventStreamCodec {
|
|
961
|
+
headerMarshaller;
|
|
962
|
+
messageBuffer;
|
|
963
|
+
isEndOfStream;
|
|
964
|
+
constructor(toUtf83, fromUtf84) {
|
|
965
|
+
this.headerMarshaller = new HeaderMarshaller(toUtf83, fromUtf84);
|
|
966
|
+
this.messageBuffer = [];
|
|
967
|
+
this.isEndOfStream = false;
|
|
968
|
+
}
|
|
969
|
+
feed(message) {
|
|
970
|
+
this.messageBuffer.push(this.decode(message));
|
|
971
|
+
}
|
|
972
|
+
endOfStream() {
|
|
973
|
+
this.isEndOfStream = true;
|
|
974
|
+
}
|
|
975
|
+
getMessage() {
|
|
976
|
+
const message = this.messageBuffer.pop();
|
|
977
|
+
const isEndOfStream = this.isEndOfStream;
|
|
978
|
+
return {
|
|
979
|
+
getMessage() {
|
|
980
|
+
return message;
|
|
981
|
+
},
|
|
982
|
+
isEndOfStream() {
|
|
983
|
+
return isEndOfStream;
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
getAvailableMessages() {
|
|
988
|
+
const messages = this.messageBuffer;
|
|
989
|
+
this.messageBuffer = [];
|
|
990
|
+
const isEndOfStream = this.isEndOfStream;
|
|
991
|
+
return {
|
|
992
|
+
getMessages() {
|
|
993
|
+
return messages;
|
|
994
|
+
},
|
|
995
|
+
isEndOfStream() {
|
|
996
|
+
return isEndOfStream;
|
|
997
|
+
}
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
encode({ headers: rawHeaders, body }) {
|
|
1001
|
+
const headers = this.headerMarshaller.format(rawHeaders);
|
|
1002
|
+
const length = headers.byteLength + body.byteLength + 16;
|
|
1003
|
+
const out = new Uint8Array(length);
|
|
1004
|
+
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
1005
|
+
const checksum = new Crc32;
|
|
1006
|
+
view.setUint32(0, length, false);
|
|
1007
|
+
view.setUint32(4, headers.byteLength, false);
|
|
1008
|
+
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
1009
|
+
out.set(headers, 12);
|
|
1010
|
+
out.set(body, headers.byteLength + 12);
|
|
1011
|
+
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
1012
|
+
return out;
|
|
1013
|
+
}
|
|
1014
|
+
decode(message) {
|
|
1015
|
+
const { headers, body } = splitMessage(message);
|
|
1016
|
+
return { headers: this.headerMarshaller.parse(headers), body };
|
|
1017
|
+
}
|
|
1018
|
+
formatHeaders(rawHeaders) {
|
|
1019
|
+
return this.headerMarshaller.format(rawHeaders);
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
var init_EventStreamCodec = __esm(() => {
|
|
1023
|
+
init_module2();
|
|
1024
|
+
init_HeaderMarshaller();
|
|
1025
|
+
init_splitMessage();
|
|
1026
|
+
});
|
|
1027
|
+
|
|
1028
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/Message.js
|
|
1029
|
+
var init_Message = () => {};
|
|
1030
|
+
|
|
1031
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
1032
|
+
var MessageDecoderStream;
|
|
1033
|
+
var init_MessageDecoderStream = __esm(() => {
|
|
1034
|
+
MessageDecoderStream = class MessageDecoderStream {
|
|
1035
|
+
options;
|
|
1036
|
+
constructor(options) {
|
|
1037
|
+
this.options = options;
|
|
1038
|
+
}
|
|
1039
|
+
[Symbol.asyncIterator]() {
|
|
1040
|
+
return this.asyncIterator();
|
|
1041
|
+
}
|
|
1042
|
+
async* asyncIterator() {
|
|
1043
|
+
for await (const bytes of this.options.inputStream) {
|
|
1044
|
+
const decoded = this.options.decoder.decode(bytes);
|
|
1045
|
+
yield decoded;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
};
|
|
1049
|
+
});
|
|
1050
|
+
|
|
1051
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
1052
|
+
var MessageEncoderStream;
|
|
1053
|
+
var init_MessageEncoderStream = __esm(() => {
|
|
1054
|
+
MessageEncoderStream = class MessageEncoderStream {
|
|
1055
|
+
options;
|
|
1056
|
+
constructor(options) {
|
|
1057
|
+
this.options = options;
|
|
1058
|
+
}
|
|
1059
|
+
[Symbol.asyncIterator]() {
|
|
1060
|
+
return this.asyncIterator();
|
|
1061
|
+
}
|
|
1062
|
+
async* asyncIterator() {
|
|
1063
|
+
for await (const msg of this.options.messageStream) {
|
|
1064
|
+
const encoded = this.options.encoder.encode(msg);
|
|
1065
|
+
yield encoded;
|
|
1066
|
+
}
|
|
1067
|
+
if (this.options.includeEndFrame) {
|
|
1068
|
+
yield new Uint8Array(0);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
};
|
|
1072
|
+
});
|
|
1073
|
+
|
|
1074
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
1075
|
+
var SmithyMessageDecoderStream;
|
|
1076
|
+
var init_SmithyMessageDecoderStream = __esm(() => {
|
|
1077
|
+
SmithyMessageDecoderStream = class SmithyMessageDecoderStream {
|
|
1078
|
+
options;
|
|
1079
|
+
constructor(options) {
|
|
1080
|
+
this.options = options;
|
|
1081
|
+
}
|
|
1082
|
+
[Symbol.asyncIterator]() {
|
|
1083
|
+
return this.asyncIterator();
|
|
1084
|
+
}
|
|
1085
|
+
async* asyncIterator() {
|
|
1086
|
+
for await (const message of this.options.messageStream) {
|
|
1087
|
+
const deserialized = await this.options.deserializer(message);
|
|
1088
|
+
if (deserialized === undefined)
|
|
1089
|
+
continue;
|
|
1090
|
+
yield deserialized;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
};
|
|
1094
|
+
});
|
|
1095
|
+
|
|
1096
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
1097
|
+
var SmithyMessageEncoderStream;
|
|
1098
|
+
var init_SmithyMessageEncoderStream = __esm(() => {
|
|
1099
|
+
SmithyMessageEncoderStream = class SmithyMessageEncoderStream {
|
|
1100
|
+
options;
|
|
1101
|
+
constructor(options) {
|
|
1102
|
+
this.options = options;
|
|
1103
|
+
}
|
|
1104
|
+
[Symbol.asyncIterator]() {
|
|
1105
|
+
return this.asyncIterator();
|
|
1106
|
+
}
|
|
1107
|
+
async* asyncIterator() {
|
|
1108
|
+
for await (const chunk of this.options.inputStream) {
|
|
1109
|
+
const payloadBuf = this.options.serializer(chunk);
|
|
1110
|
+
yield payloadBuf;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
};
|
|
1114
|
+
});
|
|
1115
|
+
|
|
1116
|
+
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/index.js
|
|
1117
|
+
var init_dist_es5 = __esm(() => {
|
|
1118
|
+
init_EventStreamCodec();
|
|
1119
|
+
init_HeaderMarshaller();
|
|
1120
|
+
init_Int64();
|
|
1121
|
+
init_Message();
|
|
1122
|
+
init_MessageDecoderStream();
|
|
1123
|
+
init_MessageEncoderStream();
|
|
1124
|
+
init_SmithyMessageDecoderStream();
|
|
1125
|
+
init_SmithyMessageEncoderStream();
|
|
1126
|
+
});
|
|
1127
|
+
|
|
1128
|
+
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
1129
|
+
function getChunkedStream(source) {
|
|
1130
|
+
let currentMessageTotalLength = 0;
|
|
1131
|
+
let currentMessagePendingLength = 0;
|
|
1132
|
+
let currentMessage = null;
|
|
1133
|
+
let messageLengthBuffer = null;
|
|
1134
|
+
const allocateMessage = (size) => {
|
|
1135
|
+
if (typeof size !== "number") {
|
|
1136
|
+
throw new Error("Attempted to allocate an event message where size was not a number: " + size);
|
|
1137
|
+
}
|
|
1138
|
+
currentMessageTotalLength = size;
|
|
1139
|
+
currentMessagePendingLength = 4;
|
|
1140
|
+
currentMessage = new Uint8Array(size);
|
|
1141
|
+
const currentMessageView = new DataView(currentMessage.buffer);
|
|
1142
|
+
currentMessageView.setUint32(0, size, false);
|
|
1143
|
+
};
|
|
1144
|
+
const iterator = async function* () {
|
|
1145
|
+
const sourceIterator = source[Symbol.asyncIterator]();
|
|
1146
|
+
while (true) {
|
|
1147
|
+
const { value, done } = await sourceIterator.next();
|
|
1148
|
+
if (done) {
|
|
1149
|
+
if (!currentMessageTotalLength) {
|
|
1150
|
+
return;
|
|
1151
|
+
} else if (currentMessageTotalLength === currentMessagePendingLength) {
|
|
1152
|
+
yield currentMessage;
|
|
1153
|
+
} else {
|
|
1154
|
+
throw new Error("Truncated event message received.");
|
|
1155
|
+
}
|
|
1156
|
+
return;
|
|
1157
|
+
}
|
|
1158
|
+
const chunkLength = value.length;
|
|
1159
|
+
let currentOffset = 0;
|
|
1160
|
+
while (currentOffset < chunkLength) {
|
|
1161
|
+
if (!currentMessage) {
|
|
1162
|
+
const bytesRemaining = chunkLength - currentOffset;
|
|
1163
|
+
if (!messageLengthBuffer) {
|
|
1164
|
+
messageLengthBuffer = new Uint8Array(4);
|
|
1165
|
+
}
|
|
1166
|
+
const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
|
|
1167
|
+
messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
|
|
1168
|
+
currentMessagePendingLength += numBytesForTotal;
|
|
1169
|
+
currentOffset += numBytesForTotal;
|
|
1170
|
+
if (currentMessagePendingLength < 4) {
|
|
1171
|
+
break;
|
|
1172
|
+
}
|
|
1173
|
+
allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
|
|
1174
|
+
messageLengthBuffer = null;
|
|
1175
|
+
}
|
|
1176
|
+
const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
|
|
1177
|
+
currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
|
|
1178
|
+
currentMessagePendingLength += numBytesToWrite;
|
|
1179
|
+
currentOffset += numBytesToWrite;
|
|
1180
|
+
if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
|
|
1181
|
+
yield currentMessage;
|
|
1182
|
+
currentMessage = null;
|
|
1183
|
+
currentMessageTotalLength = 0;
|
|
1184
|
+
currentMessagePendingLength = 0;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
};
|
|
1189
|
+
return {
|
|
1190
|
+
[Symbol.asyncIterator]: iterator
|
|
1191
|
+
};
|
|
1192
|
+
}
|
|
1193
|
+
var init_getChunkedStream = () => {};
|
|
1194
|
+
|
|
1195
|
+
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
|
|
1196
|
+
function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
1197
|
+
return async function(message) {
|
|
1198
|
+
const { value: messageType } = message.headers[":message-type"];
|
|
1199
|
+
if (messageType === "error") {
|
|
1200
|
+
const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
|
|
1201
|
+
unmodeledError.name = message.headers[":error-code"].value;
|
|
1202
|
+
throw unmodeledError;
|
|
1203
|
+
} else if (messageType === "exception") {
|
|
1204
|
+
const code = message.headers[":exception-type"].value;
|
|
1205
|
+
const exception = { [code]: message };
|
|
1206
|
+
const deserializedException = await deserializer(exception);
|
|
1207
|
+
if (deserializedException.$unknown) {
|
|
1208
|
+
const error = new Error(toUtf83(message.body));
|
|
1209
|
+
error.name = code;
|
|
1210
|
+
throw error;
|
|
1211
|
+
}
|
|
1212
|
+
throw deserializedException[code];
|
|
1213
|
+
} else if (messageType === "event") {
|
|
1214
|
+
const event = {
|
|
1215
|
+
[message.headers[":event-type"].value]: message
|
|
1216
|
+
};
|
|
1217
|
+
const deserialized = await deserializer(event);
|
|
1218
|
+
if (deserialized.$unknown)
|
|
1219
|
+
return;
|
|
1220
|
+
return deserialized;
|
|
1221
|
+
} else {
|
|
1222
|
+
throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
|
|
1223
|
+
}
|
|
1224
|
+
};
|
|
1225
|
+
}
|
|
1226
|
+
var init_getUnmarshalledStream = () => {};
|
|
1227
|
+
|
|
1228
|
+
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
|
|
1229
|
+
class EventStreamMarshaller {
|
|
1230
|
+
eventStreamCodec;
|
|
1231
|
+
utfEncoder;
|
|
1232
|
+
constructor({ utf8Encoder, utf8Decoder }) {
|
|
1233
|
+
this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
|
|
1234
|
+
this.utfEncoder = utf8Encoder;
|
|
1235
|
+
}
|
|
1236
|
+
deserialize(body, deserializer) {
|
|
1237
|
+
const inputStream = getChunkedStream(body);
|
|
1238
|
+
return new SmithyMessageDecoderStream({
|
|
1239
|
+
messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),
|
|
1240
|
+
deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder)
|
|
1241
|
+
});
|
|
1242
|
+
}
|
|
1243
|
+
serialize(inputStream, serializer) {
|
|
1244
|
+
return new MessageEncoderStream({
|
|
1245
|
+
messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),
|
|
1246
|
+
encoder: this.eventStreamCodec,
|
|
1247
|
+
includeEndFrame: true
|
|
1248
|
+
});
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
var init_EventStreamMarshaller = __esm(() => {
|
|
1252
|
+
init_dist_es5();
|
|
1253
|
+
init_getChunkedStream();
|
|
1254
|
+
init_getUnmarshalledStream();
|
|
1255
|
+
});
|
|
1256
|
+
|
|
1257
|
+
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
|
|
1258
|
+
var init_provider = () => {};
|
|
1259
|
+
|
|
1260
|
+
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
|
|
1261
|
+
var init_dist_es6 = __esm(() => {
|
|
1262
|
+
init_EventStreamMarshaller();
|
|
1263
|
+
init_provider();
|
|
1264
|
+
});
|
|
1265
|
+
|
|
1266
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
|
|
1267
|
+
var init_WebSocketFetchHandler = () => {};
|
|
1268
|
+
|
|
1269
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
|
|
1270
|
+
var init_eventStreamPayloadHandlerProvider = () => {};
|
|
1271
|
+
|
|
1272
|
+
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
|
|
1273
|
+
var init_dist_es7 = __esm(() => {
|
|
1274
|
+
init_WebSocketFetchHandler();
|
|
1275
|
+
init_getWebSocketPlugin();
|
|
1276
|
+
init_resolveWebSocketConfig();
|
|
1277
|
+
init_eventStreamPayloadHandlerProvider();
|
|
1278
|
+
});
|
|
1279
|
+
|
|
1280
|
+
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.13/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
|
|
1281
|
+
var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
|
|
1282
|
+
eventStreamMarshaller: input.eventStreamSerdeProvider(input)
|
|
1283
|
+
});
|
|
1284
|
+
var init_EventStreamSerdeConfig = () => {};
|
|
1285
|
+
|
|
1286
|
+
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.13/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
|
|
1287
|
+
var init_dist_es8 = __esm(() => {
|
|
1288
|
+
init_EventStreamSerdeConfig();
|
|
1289
|
+
});
|
|
1290
|
+
|
|
1291
|
+
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventSigningTransformStream.js
|
|
1292
|
+
import { Transform } from "stream";
|
|
1293
|
+
function getSignatureBinary(signature) {
|
|
1294
|
+
const buf = Buffer.from(signature, "hex");
|
|
1295
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1296
|
+
}
|
|
1297
|
+
var EventSigningTransformStream;
|
|
1298
|
+
var init_EventSigningTransformStream = __esm(() => {
|
|
1299
|
+
EventSigningTransformStream = class EventSigningTransformStream extends Transform {
|
|
1300
|
+
priorSignature;
|
|
1301
|
+
messageSigner;
|
|
1302
|
+
eventStreamCodec;
|
|
1303
|
+
systemClockOffsetProvider;
|
|
1304
|
+
constructor(options) {
|
|
1305
|
+
super({
|
|
1306
|
+
autoDestroy: true,
|
|
1307
|
+
readableObjectMode: true,
|
|
1308
|
+
writableObjectMode: true,
|
|
1309
|
+
...options
|
|
1310
|
+
});
|
|
1311
|
+
this.priorSignature = options.priorSignature;
|
|
1312
|
+
this.eventStreamCodec = options.eventStreamCodec;
|
|
1313
|
+
this.messageSigner = options.messageSigner;
|
|
1314
|
+
this.systemClockOffsetProvider = options.systemClockOffsetProvider;
|
|
1315
|
+
}
|
|
1316
|
+
async _transform(chunk, encoding, callback) {
|
|
1317
|
+
try {
|
|
1318
|
+
const now = new Date(Date.now() + await this.systemClockOffsetProvider());
|
|
1319
|
+
const dateHeader = {
|
|
1320
|
+
":date": { type: "timestamp", value: now }
|
|
1321
|
+
};
|
|
1322
|
+
const signedMessage = await this.messageSigner.sign({
|
|
1323
|
+
message: {
|
|
1324
|
+
body: chunk,
|
|
1325
|
+
headers: dateHeader
|
|
1326
|
+
},
|
|
1327
|
+
priorSignature: this.priorSignature
|
|
1328
|
+
}, {
|
|
1329
|
+
signingDate: now
|
|
1330
|
+
});
|
|
1331
|
+
this.priorSignature = signedMessage.signature;
|
|
1332
|
+
const serializedSigned = this.eventStreamCodec.encode({
|
|
1333
|
+
headers: {
|
|
1334
|
+
...dateHeader,
|
|
1335
|
+
":chunk-signature": {
|
|
1336
|
+
type: "binary",
|
|
1337
|
+
value: getSignatureBinary(signedMessage.signature)
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
body: chunk
|
|
1341
|
+
});
|
|
1342
|
+
this.push(serializedSigned);
|
|
1343
|
+
return callback();
|
|
1344
|
+
} catch (err) {
|
|
1345
|
+
callback(err);
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
};
|
|
1349
|
+
});
|
|
1350
|
+
|
|
1351
|
+
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
|
|
1352
|
+
import { PassThrough, pipeline, Readable } from "stream";
|
|
1353
|
+
|
|
1354
|
+
class EventStreamPayloadHandler {
|
|
1355
|
+
messageSigner;
|
|
1356
|
+
eventStreamCodec;
|
|
1357
|
+
systemClockOffsetProvider;
|
|
1358
|
+
constructor(options) {
|
|
1359
|
+
this.messageSigner = options.messageSigner;
|
|
1360
|
+
this.eventStreamCodec = new EventStreamCodec(options.utf8Encoder, options.utf8Decoder);
|
|
1361
|
+
this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
|
|
1362
|
+
}
|
|
1363
|
+
async handle(next, args, context = {}) {
|
|
1364
|
+
const request = args.request;
|
|
1365
|
+
const { body: payload, query } = request;
|
|
1366
|
+
if (!(payload instanceof Readable)) {
|
|
1367
|
+
throw new Error("Eventstream payload must be a Readable stream.");
|
|
1368
|
+
}
|
|
1369
|
+
const payloadStream = payload;
|
|
1370
|
+
request.body = new PassThrough({
|
|
1371
|
+
objectMode: true
|
|
1372
|
+
});
|
|
1373
|
+
const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
|
|
1374
|
+
let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
|
|
1375
|
+
if (context.__staticSignature) {
|
|
1376
|
+
priorSignature = "";
|
|
1377
|
+
}
|
|
1378
|
+
const signingStream = new EventSigningTransformStream({
|
|
1379
|
+
priorSignature,
|
|
1380
|
+
eventStreamCodec: this.eventStreamCodec,
|
|
1381
|
+
messageSigner: await this.messageSigner(),
|
|
1382
|
+
systemClockOffsetProvider: this.systemClockOffsetProvider
|
|
1383
|
+
});
|
|
1384
|
+
let resolvePipeline;
|
|
1385
|
+
const pipelineError = new Promise((resolve, reject) => {
|
|
1386
|
+
resolvePipeline = () => resolve(undefined);
|
|
1387
|
+
pipeline(payloadStream, signingStream, request.body, (err) => {
|
|
1388
|
+
if (err) {
|
|
1389
|
+
reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
|
|
1390
|
+
}
|
|
1391
|
+
});
|
|
1392
|
+
});
|
|
1393
|
+
let result;
|
|
1394
|
+
try {
|
|
1395
|
+
result = await Promise.race([next(args), pipelineError]);
|
|
1396
|
+
} catch (e) {
|
|
1397
|
+
request.body.end();
|
|
1398
|
+
throw e;
|
|
1399
|
+
} finally {
|
|
1400
|
+
resolvePipeline();
|
|
1401
|
+
}
|
|
1402
|
+
return result;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
var init_EventStreamPayloadHandler = __esm(() => {
|
|
1406
|
+
init_dist_es5();
|
|
1407
|
+
init_EventSigningTransformStream();
|
|
1408
|
+
});
|
|
1409
|
+
|
|
1410
|
+
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/eventStreamPayloadHandlerProvider.js
|
|
1411
|
+
var eventStreamPayloadHandlerProvider2 = (options) => new EventStreamPayloadHandler(options);
|
|
1412
|
+
var init_eventStreamPayloadHandlerProvider2 = __esm(() => {
|
|
1413
|
+
init_EventStreamPayloadHandler();
|
|
1414
|
+
});
|
|
1415
|
+
|
|
1416
|
+
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/index.js
|
|
1417
|
+
var init_dist_es9 = __esm(() => {
|
|
1418
|
+
init_eventStreamPayloadHandlerProvider2();
|
|
1419
|
+
});
|
|
1420
|
+
|
|
1421
|
+
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
|
|
1422
|
+
async function* readabletoIterable(readStream) {
|
|
1423
|
+
let streamEnded = false;
|
|
1424
|
+
let generationEnded = false;
|
|
1425
|
+
const records = new Array;
|
|
1426
|
+
readStream.on("error", (err) => {
|
|
1427
|
+
if (!streamEnded) {
|
|
1428
|
+
streamEnded = true;
|
|
1429
|
+
}
|
|
1430
|
+
if (err) {
|
|
1431
|
+
throw err;
|
|
1432
|
+
}
|
|
1433
|
+
});
|
|
1434
|
+
readStream.on("data", (data) => {
|
|
1435
|
+
records.push(data);
|
|
1436
|
+
});
|
|
1437
|
+
readStream.on("end", () => {
|
|
1438
|
+
streamEnded = true;
|
|
1439
|
+
});
|
|
1440
|
+
while (!generationEnded) {
|
|
1441
|
+
const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
|
|
1442
|
+
if (value) {
|
|
1443
|
+
yield value;
|
|
1444
|
+
}
|
|
1445
|
+
generationEnded = streamEnded && records.length === 0;
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
var init_utils2 = () => {};
|
|
1449
|
+
|
|
1450
|
+
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
|
|
1451
|
+
import { Readable as Readable2 } from "stream";
|
|
1452
|
+
|
|
1453
|
+
class EventStreamMarshaller3 {
|
|
1454
|
+
universalMarshaller;
|
|
1455
|
+
constructor({ utf8Encoder, utf8Decoder }) {
|
|
1456
|
+
this.universalMarshaller = new EventStreamMarshaller({
|
|
1457
|
+
utf8Decoder,
|
|
1458
|
+
utf8Encoder
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
deserialize(body, deserializer) {
|
|
1462
|
+
const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body);
|
|
1463
|
+
return this.universalMarshaller.deserialize(bodyIterable, deserializer);
|
|
1464
|
+
}
|
|
1465
|
+
serialize(input, serializer) {
|
|
1466
|
+
return Readable2.from(this.universalMarshaller.serialize(input, serializer));
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
var init_EventStreamMarshaller2 = __esm(() => {
|
|
1470
|
+
init_dist_es6();
|
|
1471
|
+
init_utils2();
|
|
1472
|
+
});
|
|
1473
|
+
|
|
1474
|
+
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
|
|
1475
|
+
var eventStreamSerdeProvider = (options) => new EventStreamMarshaller3(options);
|
|
1476
|
+
var init_provider2 = __esm(() => {
|
|
1477
|
+
init_EventStreamMarshaller2();
|
|
1478
|
+
});
|
|
1479
|
+
|
|
1480
|
+
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
|
|
1481
|
+
var init_dist_es10 = __esm(() => {
|
|
1482
|
+
init_EventStreamMarshaller2();
|
|
1483
|
+
init_provider2();
|
|
1484
|
+
});
|
|
1485
|
+
|
|
1486
|
+
export { resolveEventStreamConfig, getEventStreamPlugin, init_dist_es, fromArrayBuffer, fromString, init_dist_es3 as init_dist_es1, fromUtf8, toUtf8, init_dist_es4 as init_dist_es2, getWebSocketPlugin, resolveWebSocketConfig, init_dist_es7 as init_dist_es3, resolveEventStreamSerdeConfig, init_dist_es8 as init_dist_es4, eventStreamPayloadHandlerProvider2 as eventStreamPayloadHandlerProvider, init_dist_es9 as init_dist_es5, eventStreamSerdeProvider, init_dist_es10 as init_dist_es6 };
|