@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
package/dist/chunk-nbxr4cfd.js
DELETED
|
@@ -1,880 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
require_protocols,
|
|
4
|
-
require_schema,
|
|
5
|
-
require_serde
|
|
6
|
-
} from "./chunk-3enkzjbw.js";
|
|
7
|
-
import {
|
|
8
|
-
require_dist_cjs
|
|
9
|
-
} from "./chunk-xsq9ae7x.js";
|
|
10
|
-
import {
|
|
11
|
-
__commonJS
|
|
12
|
-
} from "./chunk-qp2qdcda.js";
|
|
13
|
-
|
|
14
|
-
// node_modules/.bun/@smithy+middleware-stack@4.2.12/node_modules/@smithy/middleware-stack/dist-cjs/index.js
|
|
15
|
-
var require_dist_cjs2 = __commonJS((exports) => {
|
|
16
|
-
var getAllAliases = (name, aliases) => {
|
|
17
|
-
const _aliases = [];
|
|
18
|
-
if (name) {
|
|
19
|
-
_aliases.push(name);
|
|
20
|
-
}
|
|
21
|
-
if (aliases) {
|
|
22
|
-
for (const alias of aliases) {
|
|
23
|
-
_aliases.push(alias);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return _aliases;
|
|
27
|
-
};
|
|
28
|
-
var getMiddlewareNameWithAliases = (name, aliases) => {
|
|
29
|
-
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
30
|
-
};
|
|
31
|
-
var constructStack = () => {
|
|
32
|
-
let absoluteEntries = [];
|
|
33
|
-
let relativeEntries = [];
|
|
34
|
-
let identifyOnResolve = false;
|
|
35
|
-
const entriesNameSet = new Set;
|
|
36
|
-
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
|
37
|
-
const removeByName = (toRemove) => {
|
|
38
|
-
let isRemoved = false;
|
|
39
|
-
const filterCb = (entry) => {
|
|
40
|
-
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
41
|
-
if (aliases.includes(toRemove)) {
|
|
42
|
-
isRemoved = true;
|
|
43
|
-
for (const alias of aliases) {
|
|
44
|
-
entriesNameSet.delete(alias);
|
|
45
|
-
}
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
return true;
|
|
49
|
-
};
|
|
50
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
51
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
52
|
-
return isRemoved;
|
|
53
|
-
};
|
|
54
|
-
const removeByReference = (toRemove) => {
|
|
55
|
-
let isRemoved = false;
|
|
56
|
-
const filterCb = (entry) => {
|
|
57
|
-
if (entry.middleware === toRemove) {
|
|
58
|
-
isRemoved = true;
|
|
59
|
-
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
60
|
-
entriesNameSet.delete(alias);
|
|
61
|
-
}
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
return true;
|
|
65
|
-
};
|
|
66
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
67
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
68
|
-
return isRemoved;
|
|
69
|
-
};
|
|
70
|
-
const cloneTo = (toStack) => {
|
|
71
|
-
absoluteEntries.forEach((entry) => {
|
|
72
|
-
toStack.add(entry.middleware, { ...entry });
|
|
73
|
-
});
|
|
74
|
-
relativeEntries.forEach((entry) => {
|
|
75
|
-
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
76
|
-
});
|
|
77
|
-
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
78
|
-
return toStack;
|
|
79
|
-
};
|
|
80
|
-
const expandRelativeMiddlewareList = (from) => {
|
|
81
|
-
const expandedMiddlewareList = [];
|
|
82
|
-
from.before.forEach((entry) => {
|
|
83
|
-
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
84
|
-
expandedMiddlewareList.push(entry);
|
|
85
|
-
} else {
|
|
86
|
-
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
expandedMiddlewareList.push(from);
|
|
90
|
-
from.after.reverse().forEach((entry) => {
|
|
91
|
-
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
92
|
-
expandedMiddlewareList.push(entry);
|
|
93
|
-
} else {
|
|
94
|
-
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
return expandedMiddlewareList;
|
|
98
|
-
};
|
|
99
|
-
const getMiddlewareList = (debug = false) => {
|
|
100
|
-
const normalizedAbsoluteEntries = [];
|
|
101
|
-
const normalizedRelativeEntries = [];
|
|
102
|
-
const normalizedEntriesNameMap = {};
|
|
103
|
-
absoluteEntries.forEach((entry) => {
|
|
104
|
-
const normalizedEntry = {
|
|
105
|
-
...entry,
|
|
106
|
-
before: [],
|
|
107
|
-
after: []
|
|
108
|
-
};
|
|
109
|
-
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
110
|
-
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
111
|
-
}
|
|
112
|
-
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
113
|
-
});
|
|
114
|
-
relativeEntries.forEach((entry) => {
|
|
115
|
-
const normalizedEntry = {
|
|
116
|
-
...entry,
|
|
117
|
-
before: [],
|
|
118
|
-
after: []
|
|
119
|
-
};
|
|
120
|
-
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
121
|
-
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
122
|
-
}
|
|
123
|
-
normalizedRelativeEntries.push(normalizedEntry);
|
|
124
|
-
});
|
|
125
|
-
normalizedRelativeEntries.forEach((entry) => {
|
|
126
|
-
if (entry.toMiddleware) {
|
|
127
|
-
const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];
|
|
128
|
-
if (toMiddleware === undefined) {
|
|
129
|
-
if (debug) {
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
throw new Error(`${entry.toMiddleware} is not found when adding ` + `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` + `middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
133
|
-
}
|
|
134
|
-
if (entry.relation === "after") {
|
|
135
|
-
toMiddleware.after.push(entry);
|
|
136
|
-
}
|
|
137
|
-
if (entry.relation === "before") {
|
|
138
|
-
toMiddleware.before.push(entry);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => {
|
|
143
|
-
wholeList.push(...expandedMiddlewareList);
|
|
144
|
-
return wholeList;
|
|
145
|
-
}, []);
|
|
146
|
-
return mainChain;
|
|
147
|
-
};
|
|
148
|
-
const stack = {
|
|
149
|
-
add: (middleware, options = {}) => {
|
|
150
|
-
const { name, override, aliases: _aliases } = options;
|
|
151
|
-
const entry = {
|
|
152
|
-
step: "initialize",
|
|
153
|
-
priority: "normal",
|
|
154
|
-
middleware,
|
|
155
|
-
...options
|
|
156
|
-
};
|
|
157
|
-
const aliases = getAllAliases(name, _aliases);
|
|
158
|
-
if (aliases.length > 0) {
|
|
159
|
-
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
160
|
-
if (!override)
|
|
161
|
-
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
162
|
-
for (const alias of aliases) {
|
|
163
|
-
const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
164
|
-
if (toOverrideIndex === -1) {
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
const toOverride = absoluteEntries[toOverrideIndex];
|
|
168
|
-
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
169
|
-
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` + `${toOverride.priority} priority in ${toOverride.step} step cannot ` + `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` + `${entry.priority} priority in ${entry.step} step.`);
|
|
170
|
-
}
|
|
171
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
for (const alias of aliases) {
|
|
175
|
-
entriesNameSet.add(alias);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
absoluteEntries.push(entry);
|
|
179
|
-
},
|
|
180
|
-
addRelativeTo: (middleware, options) => {
|
|
181
|
-
const { name, override, aliases: _aliases } = options;
|
|
182
|
-
const entry = {
|
|
183
|
-
middleware,
|
|
184
|
-
...options
|
|
185
|
-
};
|
|
186
|
-
const aliases = getAllAliases(name, _aliases);
|
|
187
|
-
if (aliases.length > 0) {
|
|
188
|
-
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
189
|
-
if (!override)
|
|
190
|
-
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
191
|
-
for (const alias of aliases) {
|
|
192
|
-
const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
193
|
-
if (toOverrideIndex === -1) {
|
|
194
|
-
continue;
|
|
195
|
-
}
|
|
196
|
-
const toOverride = relativeEntries[toOverrideIndex];
|
|
197
|
-
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
198
|
-
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` + `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` + `"${entry.toMiddleware}" middleware.`);
|
|
199
|
-
}
|
|
200
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
for (const alias of aliases) {
|
|
204
|
-
entriesNameSet.add(alias);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
relativeEntries.push(entry);
|
|
208
|
-
},
|
|
209
|
-
clone: () => cloneTo(constructStack()),
|
|
210
|
-
use: (plugin) => {
|
|
211
|
-
plugin.applyToStack(stack);
|
|
212
|
-
},
|
|
213
|
-
remove: (toRemove) => {
|
|
214
|
-
if (typeof toRemove === "string")
|
|
215
|
-
return removeByName(toRemove);
|
|
216
|
-
else
|
|
217
|
-
return removeByReference(toRemove);
|
|
218
|
-
},
|
|
219
|
-
removeByTag: (toRemove) => {
|
|
220
|
-
let isRemoved = false;
|
|
221
|
-
const filterCb = (entry) => {
|
|
222
|
-
const { tags, name, aliases: _aliases } = entry;
|
|
223
|
-
if (tags && tags.includes(toRemove)) {
|
|
224
|
-
const aliases = getAllAliases(name, _aliases);
|
|
225
|
-
for (const alias of aliases) {
|
|
226
|
-
entriesNameSet.delete(alias);
|
|
227
|
-
}
|
|
228
|
-
isRemoved = true;
|
|
229
|
-
return false;
|
|
230
|
-
}
|
|
231
|
-
return true;
|
|
232
|
-
};
|
|
233
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
234
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
235
|
-
return isRemoved;
|
|
236
|
-
},
|
|
237
|
-
concat: (from) => {
|
|
238
|
-
const cloned = cloneTo(constructStack());
|
|
239
|
-
cloned.use(from);
|
|
240
|
-
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
|
241
|
-
return cloned;
|
|
242
|
-
},
|
|
243
|
-
applyToStack: cloneTo,
|
|
244
|
-
identify: () => {
|
|
245
|
-
return getMiddlewareList(true).map((mw) => {
|
|
246
|
-
const step = mw.step ?? mw.relation + " " + mw.toMiddleware;
|
|
247
|
-
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
248
|
-
});
|
|
249
|
-
},
|
|
250
|
-
identifyOnResolve(toggle) {
|
|
251
|
-
if (typeof toggle === "boolean")
|
|
252
|
-
identifyOnResolve = toggle;
|
|
253
|
-
return identifyOnResolve;
|
|
254
|
-
},
|
|
255
|
-
resolve: (handler, context) => {
|
|
256
|
-
for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) {
|
|
257
|
-
handler = middleware(handler, context);
|
|
258
|
-
}
|
|
259
|
-
if (identifyOnResolve) {
|
|
260
|
-
console.log(stack.identify());
|
|
261
|
-
}
|
|
262
|
-
return handler;
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
return stack;
|
|
266
|
-
};
|
|
267
|
-
var stepWeights = {
|
|
268
|
-
initialize: 5,
|
|
269
|
-
serialize: 4,
|
|
270
|
-
build: 3,
|
|
271
|
-
finalizeRequest: 2,
|
|
272
|
-
deserialize: 1
|
|
273
|
-
};
|
|
274
|
-
var priorityWeights = {
|
|
275
|
-
high: 3,
|
|
276
|
-
normal: 2,
|
|
277
|
-
low: 1
|
|
278
|
-
};
|
|
279
|
-
exports.constructStack = constructStack;
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
// node_modules/.bun/@smithy+smithy-client@4.12.8/node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
283
|
-
var require_dist_cjs3 = __commonJS((exports) => {
|
|
284
|
-
var middlewareStack = require_dist_cjs2();
|
|
285
|
-
var protocols = require_protocols();
|
|
286
|
-
var types = require_dist_cjs();
|
|
287
|
-
var schema = require_schema();
|
|
288
|
-
var serde = require_serde();
|
|
289
|
-
|
|
290
|
-
class Client {
|
|
291
|
-
config;
|
|
292
|
-
middlewareStack = middlewareStack.constructStack();
|
|
293
|
-
initConfig;
|
|
294
|
-
handlers;
|
|
295
|
-
constructor(config) {
|
|
296
|
-
this.config = config;
|
|
297
|
-
const { protocol, protocolSettings } = config;
|
|
298
|
-
if (protocolSettings) {
|
|
299
|
-
if (typeof protocol === "function") {
|
|
300
|
-
config.protocol = new protocol(protocolSettings);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
send(command, optionsOrCb, cb) {
|
|
305
|
-
const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
|
|
306
|
-
const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
|
|
307
|
-
const useHandlerCache = options === undefined && this.config.cacheMiddleware === true;
|
|
308
|
-
let handler;
|
|
309
|
-
if (useHandlerCache) {
|
|
310
|
-
if (!this.handlers) {
|
|
311
|
-
this.handlers = new WeakMap;
|
|
312
|
-
}
|
|
313
|
-
const handlers = this.handlers;
|
|
314
|
-
if (handlers.has(command.constructor)) {
|
|
315
|
-
handler = handlers.get(command.constructor);
|
|
316
|
-
} else {
|
|
317
|
-
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
318
|
-
handlers.set(command.constructor, handler);
|
|
319
|
-
}
|
|
320
|
-
} else {
|
|
321
|
-
delete this.handlers;
|
|
322
|
-
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
323
|
-
}
|
|
324
|
-
if (callback) {
|
|
325
|
-
handler(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => {});
|
|
326
|
-
} else {
|
|
327
|
-
return handler(command).then((result) => result.output);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
destroy() {
|
|
331
|
-
this.config?.requestHandler?.destroy?.();
|
|
332
|
-
delete this.handlers;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
var SENSITIVE_STRING$1 = "***SensitiveInformation***";
|
|
336
|
-
function schemaLogFilter(schema$1, data) {
|
|
337
|
-
if (data == null) {
|
|
338
|
-
return data;
|
|
339
|
-
}
|
|
340
|
-
const ns = schema.NormalizedSchema.of(schema$1);
|
|
341
|
-
if (ns.getMergedTraits().sensitive) {
|
|
342
|
-
return SENSITIVE_STRING$1;
|
|
343
|
-
}
|
|
344
|
-
if (ns.isListSchema()) {
|
|
345
|
-
const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
346
|
-
if (isSensitive) {
|
|
347
|
-
return SENSITIVE_STRING$1;
|
|
348
|
-
}
|
|
349
|
-
} else if (ns.isMapSchema()) {
|
|
350
|
-
const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
351
|
-
if (isSensitive) {
|
|
352
|
-
return SENSITIVE_STRING$1;
|
|
353
|
-
}
|
|
354
|
-
} else if (ns.isStructSchema() && typeof data === "object") {
|
|
355
|
-
const object = data;
|
|
356
|
-
const newObject = {};
|
|
357
|
-
for (const [member, memberNs] of ns.structIterator()) {
|
|
358
|
-
if (object[member] != null) {
|
|
359
|
-
newObject[member] = schemaLogFilter(memberNs, object[member]);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
return newObject;
|
|
363
|
-
}
|
|
364
|
-
return data;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
class Command {
|
|
368
|
-
middlewareStack = middlewareStack.constructStack();
|
|
369
|
-
schema;
|
|
370
|
-
static classBuilder() {
|
|
371
|
-
return new ClassBuilder;
|
|
372
|
-
}
|
|
373
|
-
resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor }) {
|
|
374
|
-
for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
|
|
375
|
-
this.middlewareStack.use(mw);
|
|
376
|
-
}
|
|
377
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
378
|
-
const { logger } = configuration;
|
|
379
|
-
const handlerExecutionContext = {
|
|
380
|
-
logger,
|
|
381
|
-
clientName,
|
|
382
|
-
commandName,
|
|
383
|
-
inputFilterSensitiveLog,
|
|
384
|
-
outputFilterSensitiveLog,
|
|
385
|
-
[types.SMITHY_CONTEXT_KEY]: {
|
|
386
|
-
commandInstance: this,
|
|
387
|
-
...smithyContext
|
|
388
|
-
},
|
|
389
|
-
...additionalContext
|
|
390
|
-
};
|
|
391
|
-
const { requestHandler } = configuration;
|
|
392
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
class ClassBuilder {
|
|
397
|
-
_init = () => {};
|
|
398
|
-
_ep = {};
|
|
399
|
-
_middlewareFn = () => [];
|
|
400
|
-
_commandName = "";
|
|
401
|
-
_clientName = "";
|
|
402
|
-
_additionalContext = {};
|
|
403
|
-
_smithyContext = {};
|
|
404
|
-
_inputFilterSensitiveLog = undefined;
|
|
405
|
-
_outputFilterSensitiveLog = undefined;
|
|
406
|
-
_serializer = null;
|
|
407
|
-
_deserializer = null;
|
|
408
|
-
_operationSchema;
|
|
409
|
-
init(cb) {
|
|
410
|
-
this._init = cb;
|
|
411
|
-
}
|
|
412
|
-
ep(endpointParameterInstructions) {
|
|
413
|
-
this._ep = endpointParameterInstructions;
|
|
414
|
-
return this;
|
|
415
|
-
}
|
|
416
|
-
m(middlewareSupplier) {
|
|
417
|
-
this._middlewareFn = middlewareSupplier;
|
|
418
|
-
return this;
|
|
419
|
-
}
|
|
420
|
-
s(service, operation, smithyContext = {}) {
|
|
421
|
-
this._smithyContext = {
|
|
422
|
-
service,
|
|
423
|
-
operation,
|
|
424
|
-
...smithyContext
|
|
425
|
-
};
|
|
426
|
-
return this;
|
|
427
|
-
}
|
|
428
|
-
c(additionalContext = {}) {
|
|
429
|
-
this._additionalContext = additionalContext;
|
|
430
|
-
return this;
|
|
431
|
-
}
|
|
432
|
-
n(clientName, commandName) {
|
|
433
|
-
this._clientName = clientName;
|
|
434
|
-
this._commandName = commandName;
|
|
435
|
-
return this;
|
|
436
|
-
}
|
|
437
|
-
f(inputFilter = (_) => _, outputFilter = (_) => _) {
|
|
438
|
-
this._inputFilterSensitiveLog = inputFilter;
|
|
439
|
-
this._outputFilterSensitiveLog = outputFilter;
|
|
440
|
-
return this;
|
|
441
|
-
}
|
|
442
|
-
ser(serializer) {
|
|
443
|
-
this._serializer = serializer;
|
|
444
|
-
return this;
|
|
445
|
-
}
|
|
446
|
-
de(deserializer) {
|
|
447
|
-
this._deserializer = deserializer;
|
|
448
|
-
return this;
|
|
449
|
-
}
|
|
450
|
-
sc(operation) {
|
|
451
|
-
this._operationSchema = operation;
|
|
452
|
-
this._smithyContext.operationSchema = operation;
|
|
453
|
-
return this;
|
|
454
|
-
}
|
|
455
|
-
build() {
|
|
456
|
-
const closure = this;
|
|
457
|
-
let CommandRef;
|
|
458
|
-
return CommandRef = class extends Command {
|
|
459
|
-
input;
|
|
460
|
-
static getEndpointParameterInstructions() {
|
|
461
|
-
return closure._ep;
|
|
462
|
-
}
|
|
463
|
-
constructor(...[input]) {
|
|
464
|
-
super();
|
|
465
|
-
this.input = input ?? {};
|
|
466
|
-
closure._init(this);
|
|
467
|
-
this.schema = closure._operationSchema;
|
|
468
|
-
}
|
|
469
|
-
resolveMiddleware(stack, configuration, options) {
|
|
470
|
-
const op = closure._operationSchema;
|
|
471
|
-
const input = op?.[4] ?? op?.input;
|
|
472
|
-
const output = op?.[5] ?? op?.output;
|
|
473
|
-
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
|
474
|
-
CommandCtor: CommandRef,
|
|
475
|
-
middlewareFn: closure._middlewareFn,
|
|
476
|
-
clientName: closure._clientName,
|
|
477
|
-
commandName: closure._commandName,
|
|
478
|
-
inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _),
|
|
479
|
-
outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _),
|
|
480
|
-
smithyContext: closure._smithyContext,
|
|
481
|
-
additionalContext: closure._additionalContext
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
serialize = closure._serializer;
|
|
485
|
-
deserialize = closure._deserializer;
|
|
486
|
-
};
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
490
|
-
var createAggregatedClient = (commands, Client2, options) => {
|
|
491
|
-
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
492
|
-
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
493
|
-
const command2 = new CommandCtor(args);
|
|
494
|
-
if (typeof optionsOrCb === "function") {
|
|
495
|
-
this.send(command2, optionsOrCb);
|
|
496
|
-
} else if (typeof cb === "function") {
|
|
497
|
-
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command2, optionsOrCb || {}, cb);
|
|
500
|
-
} else {
|
|
501
|
-
return this.send(command2, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
};
|
|
504
|
-
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
505
|
-
Client2.prototype[methodName] = methodImpl;
|
|
506
|
-
}
|
|
507
|
-
const { paginators = {}, waiters = {} } = options ?? {};
|
|
508
|
-
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
509
|
-
if (Client2.prototype[paginatorName] === undefined) {
|
|
510
|
-
Client2.prototype[paginatorName] = function(commandInput = {}, paginationConfiguration, ...rest) {
|
|
511
|
-
return paginatorFn({
|
|
512
|
-
...paginationConfiguration,
|
|
513
|
-
client: this
|
|
514
|
-
}, commandInput, ...rest);
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
519
|
-
if (Client2.prototype[waiterName] === undefined) {
|
|
520
|
-
Client2.prototype[waiterName] = async function(commandInput = {}, waiterConfiguration, ...rest) {
|
|
521
|
-
let config = waiterConfiguration;
|
|
522
|
-
if (typeof waiterConfiguration === "number") {
|
|
523
|
-
config = {
|
|
524
|
-
maxWaitTime: waiterConfiguration
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
return waiterFn({
|
|
528
|
-
...config,
|
|
529
|
-
client: this
|
|
530
|
-
}, commandInput, ...rest);
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
class ServiceException extends Error {
|
|
537
|
-
$fault;
|
|
538
|
-
$response;
|
|
539
|
-
$retryable;
|
|
540
|
-
$metadata;
|
|
541
|
-
constructor(options) {
|
|
542
|
-
super(options.message);
|
|
543
|
-
Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype);
|
|
544
|
-
this.name = options.name;
|
|
545
|
-
this.$fault = options.$fault;
|
|
546
|
-
this.$metadata = options.$metadata;
|
|
547
|
-
}
|
|
548
|
-
static isInstance(value) {
|
|
549
|
-
if (!value)
|
|
550
|
-
return false;
|
|
551
|
-
const candidate = value;
|
|
552
|
-
return ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
|
553
|
-
}
|
|
554
|
-
static [Symbol.hasInstance](instance) {
|
|
555
|
-
if (!instance)
|
|
556
|
-
return false;
|
|
557
|
-
const candidate = instance;
|
|
558
|
-
if (this === ServiceException) {
|
|
559
|
-
return ServiceException.isInstance(instance);
|
|
560
|
-
}
|
|
561
|
-
if (ServiceException.isInstance(instance)) {
|
|
562
|
-
if (candidate.name && this.name) {
|
|
563
|
-
return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
|
|
564
|
-
}
|
|
565
|
-
return this.prototype.isPrototypeOf(instance);
|
|
566
|
-
}
|
|
567
|
-
return false;
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
var decorateServiceException = (exception, additions = {}) => {
|
|
571
|
-
Object.entries(additions).filter(([, v]) => v !== undefined).forEach(([k, v]) => {
|
|
572
|
-
if (exception[k] == undefined || exception[k] === "") {
|
|
573
|
-
exception[k] = v;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
const message = exception.message || exception.Message || "UnknownError";
|
|
577
|
-
exception.message = message;
|
|
578
|
-
delete exception.Message;
|
|
579
|
-
return exception;
|
|
580
|
-
};
|
|
581
|
-
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
582
|
-
const $metadata = deserializeMetadata(output);
|
|
583
|
-
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
584
|
-
const response = new exceptionCtor({
|
|
585
|
-
name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError",
|
|
586
|
-
$fault: "client",
|
|
587
|
-
$metadata
|
|
588
|
-
});
|
|
589
|
-
throw decorateServiceException(response, parsedBody);
|
|
590
|
-
};
|
|
591
|
-
var withBaseException = (ExceptionCtor) => {
|
|
592
|
-
return ({ output, parsedBody, errorCode }) => {
|
|
593
|
-
throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
var deserializeMetadata = (output) => ({
|
|
597
|
-
httpStatusCode: output.statusCode,
|
|
598
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
599
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
600
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
601
|
-
});
|
|
602
|
-
var loadConfigsForDefaultMode = (mode) => {
|
|
603
|
-
switch (mode) {
|
|
604
|
-
case "standard":
|
|
605
|
-
return {
|
|
606
|
-
retryMode: "standard",
|
|
607
|
-
connectionTimeout: 3100
|
|
608
|
-
};
|
|
609
|
-
case "in-region":
|
|
610
|
-
return {
|
|
611
|
-
retryMode: "standard",
|
|
612
|
-
connectionTimeout: 1100
|
|
613
|
-
};
|
|
614
|
-
case "cross-region":
|
|
615
|
-
return {
|
|
616
|
-
retryMode: "standard",
|
|
617
|
-
connectionTimeout: 3100
|
|
618
|
-
};
|
|
619
|
-
case "mobile":
|
|
620
|
-
return {
|
|
621
|
-
retryMode: "standard",
|
|
622
|
-
connectionTimeout: 30000
|
|
623
|
-
};
|
|
624
|
-
default:
|
|
625
|
-
return {};
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
var warningEmitted = false;
|
|
629
|
-
var emitWarningIfUnsupportedVersion = (version) => {
|
|
630
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
631
|
-
warningEmitted = true;
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
var knownAlgorithms = Object.values(types.AlgorithmId);
|
|
635
|
-
var getChecksumConfiguration = (runtimeConfig) => {
|
|
636
|
-
const checksumAlgorithms = [];
|
|
637
|
-
for (const id in types.AlgorithmId) {
|
|
638
|
-
const algorithmId = types.AlgorithmId[id];
|
|
639
|
-
if (runtimeConfig[algorithmId] === undefined) {
|
|
640
|
-
continue;
|
|
641
|
-
}
|
|
642
|
-
checksumAlgorithms.push({
|
|
643
|
-
algorithmId: () => algorithmId,
|
|
644
|
-
checksumConstructor: () => runtimeConfig[algorithmId]
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) {
|
|
648
|
-
checksumAlgorithms.push({
|
|
649
|
-
algorithmId: () => id,
|
|
650
|
-
checksumConstructor: () => ChecksumCtor
|
|
651
|
-
});
|
|
652
|
-
}
|
|
653
|
-
return {
|
|
654
|
-
addChecksumAlgorithm(algo) {
|
|
655
|
-
runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {};
|
|
656
|
-
const id = algo.algorithmId();
|
|
657
|
-
const ctor = algo.checksumConstructor();
|
|
658
|
-
if (knownAlgorithms.includes(id)) {
|
|
659
|
-
runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor;
|
|
660
|
-
} else {
|
|
661
|
-
runtimeConfig.checksumAlgorithms[id] = ctor;
|
|
662
|
-
}
|
|
663
|
-
checksumAlgorithms.push(algo);
|
|
664
|
-
},
|
|
665
|
-
checksumAlgorithms() {
|
|
666
|
-
return checksumAlgorithms;
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
671
|
-
const runtimeConfig = {};
|
|
672
|
-
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
673
|
-
const id = checksumAlgorithm.algorithmId();
|
|
674
|
-
if (knownAlgorithms.includes(id)) {
|
|
675
|
-
runtimeConfig[id] = checksumAlgorithm.checksumConstructor();
|
|
676
|
-
}
|
|
677
|
-
});
|
|
678
|
-
return runtimeConfig;
|
|
679
|
-
};
|
|
680
|
-
var getRetryConfiguration = (runtimeConfig) => {
|
|
681
|
-
return {
|
|
682
|
-
setRetryStrategy(retryStrategy) {
|
|
683
|
-
runtimeConfig.retryStrategy = retryStrategy;
|
|
684
|
-
},
|
|
685
|
-
retryStrategy() {
|
|
686
|
-
return runtimeConfig.retryStrategy;
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
691
|
-
const runtimeConfig = {};
|
|
692
|
-
runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
|
|
693
|
-
return runtimeConfig;
|
|
694
|
-
};
|
|
695
|
-
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
696
|
-
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
697
|
-
};
|
|
698
|
-
var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
|
|
699
|
-
var resolveDefaultRuntimeConfig = (config) => {
|
|
700
|
-
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
701
|
-
};
|
|
702
|
-
var getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];
|
|
703
|
-
var getValueFromTextNode = (obj) => {
|
|
704
|
-
const textNodeName = "#text";
|
|
705
|
-
for (const key in obj) {
|
|
706
|
-
if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {
|
|
707
|
-
obj[key] = obj[key][textNodeName];
|
|
708
|
-
} else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
709
|
-
obj[key] = getValueFromTextNode(obj[key]);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
return obj;
|
|
713
|
-
};
|
|
714
|
-
var isSerializableHeaderValue = (value) => {
|
|
715
|
-
return value != null;
|
|
716
|
-
};
|
|
717
|
-
|
|
718
|
-
class NoOpLogger {
|
|
719
|
-
trace() {}
|
|
720
|
-
debug() {}
|
|
721
|
-
info() {}
|
|
722
|
-
warn() {}
|
|
723
|
-
error() {}
|
|
724
|
-
}
|
|
725
|
-
function map(arg0, arg1, arg2) {
|
|
726
|
-
let target;
|
|
727
|
-
let filter;
|
|
728
|
-
let instructions;
|
|
729
|
-
if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {
|
|
730
|
-
target = {};
|
|
731
|
-
instructions = arg0;
|
|
732
|
-
} else {
|
|
733
|
-
target = arg0;
|
|
734
|
-
if (typeof arg1 === "function") {
|
|
735
|
-
filter = arg1;
|
|
736
|
-
instructions = arg2;
|
|
737
|
-
return mapWithFilter(target, filter, instructions);
|
|
738
|
-
} else {
|
|
739
|
-
instructions = arg1;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
for (const key of Object.keys(instructions)) {
|
|
743
|
-
if (!Array.isArray(instructions[key])) {
|
|
744
|
-
target[key] = instructions[key];
|
|
745
|
-
continue;
|
|
746
|
-
}
|
|
747
|
-
applyInstruction(target, null, instructions, key);
|
|
748
|
-
}
|
|
749
|
-
return target;
|
|
750
|
-
}
|
|
751
|
-
var convertMap = (target) => {
|
|
752
|
-
const output = {};
|
|
753
|
-
for (const [k, v] of Object.entries(target || {})) {
|
|
754
|
-
output[k] = [, v];
|
|
755
|
-
}
|
|
756
|
-
return output;
|
|
757
|
-
};
|
|
758
|
-
var take = (source, instructions) => {
|
|
759
|
-
const out = {};
|
|
760
|
-
for (const key in instructions) {
|
|
761
|
-
applyInstruction(out, source, instructions, key);
|
|
762
|
-
}
|
|
763
|
-
return out;
|
|
764
|
-
};
|
|
765
|
-
var mapWithFilter = (target, filter, instructions) => {
|
|
766
|
-
return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
|
|
767
|
-
if (Array.isArray(value)) {
|
|
768
|
-
_instructions[key] = value;
|
|
769
|
-
} else {
|
|
770
|
-
if (typeof value === "function") {
|
|
771
|
-
_instructions[key] = [filter, value()];
|
|
772
|
-
} else {
|
|
773
|
-
_instructions[key] = [filter, value];
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
return _instructions;
|
|
777
|
-
}, {}));
|
|
778
|
-
};
|
|
779
|
-
var applyInstruction = (target, source, instructions, targetKey) => {
|
|
780
|
-
if (source !== null) {
|
|
781
|
-
let instruction = instructions[targetKey];
|
|
782
|
-
if (typeof instruction === "function") {
|
|
783
|
-
instruction = [, instruction];
|
|
784
|
-
}
|
|
785
|
-
const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
|
|
786
|
-
if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) {
|
|
787
|
-
target[targetKey] = valueFn(source[sourceKey]);
|
|
788
|
-
}
|
|
789
|
-
return;
|
|
790
|
-
}
|
|
791
|
-
let [filter, value] = instructions[targetKey];
|
|
792
|
-
if (typeof value === "function") {
|
|
793
|
-
let _value;
|
|
794
|
-
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
795
|
-
const customFilterPassed = typeof filter === "function" && !!filter(undefined) || typeof filter !== "function" && !!filter;
|
|
796
|
-
if (defaultFilterPassed) {
|
|
797
|
-
target[targetKey] = _value;
|
|
798
|
-
} else if (customFilterPassed) {
|
|
799
|
-
target[targetKey] = value();
|
|
800
|
-
}
|
|
801
|
-
} else {
|
|
802
|
-
const defaultFilterPassed = filter === undefined && value != null;
|
|
803
|
-
const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter;
|
|
804
|
-
if (defaultFilterPassed || customFilterPassed) {
|
|
805
|
-
target[targetKey] = value;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
var nonNullish = (_) => _ != null;
|
|
810
|
-
var pass = (_) => _;
|
|
811
|
-
var serializeFloat = (value) => {
|
|
812
|
-
if (value !== value) {
|
|
813
|
-
return "NaN";
|
|
814
|
-
}
|
|
815
|
-
switch (value) {
|
|
816
|
-
case Infinity:
|
|
817
|
-
return "Infinity";
|
|
818
|
-
case -Infinity:
|
|
819
|
-
return "-Infinity";
|
|
820
|
-
default:
|
|
821
|
-
return value;
|
|
822
|
-
}
|
|
823
|
-
};
|
|
824
|
-
var serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
|
|
825
|
-
var _json = (obj) => {
|
|
826
|
-
if (obj == null) {
|
|
827
|
-
return {};
|
|
828
|
-
}
|
|
829
|
-
if (Array.isArray(obj)) {
|
|
830
|
-
return obj.filter((_) => _ != null).map(_json);
|
|
831
|
-
}
|
|
832
|
-
if (typeof obj === "object") {
|
|
833
|
-
const target = {};
|
|
834
|
-
for (const key of Object.keys(obj)) {
|
|
835
|
-
if (obj[key] == null) {
|
|
836
|
-
continue;
|
|
837
|
-
}
|
|
838
|
-
target[key] = _json(obj[key]);
|
|
839
|
-
}
|
|
840
|
-
return target;
|
|
841
|
-
}
|
|
842
|
-
return obj;
|
|
843
|
-
};
|
|
844
|
-
exports.collectBody = protocols.collectBody;
|
|
845
|
-
exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent;
|
|
846
|
-
exports.resolvedPath = protocols.resolvedPath;
|
|
847
|
-
exports.Client = Client;
|
|
848
|
-
exports.Command = Command;
|
|
849
|
-
exports.NoOpLogger = NoOpLogger;
|
|
850
|
-
exports.SENSITIVE_STRING = SENSITIVE_STRING;
|
|
851
|
-
exports.ServiceException = ServiceException;
|
|
852
|
-
exports._json = _json;
|
|
853
|
-
exports.convertMap = convertMap;
|
|
854
|
-
exports.createAggregatedClient = createAggregatedClient;
|
|
855
|
-
exports.decorateServiceException = decorateServiceException;
|
|
856
|
-
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
|
857
|
-
exports.getArrayIfSingleItem = getArrayIfSingleItem;
|
|
858
|
-
exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
|
|
859
|
-
exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration;
|
|
860
|
-
exports.getValueFromTextNode = getValueFromTextNode;
|
|
861
|
-
exports.isSerializableHeaderValue = isSerializableHeaderValue;
|
|
862
|
-
exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode;
|
|
863
|
-
exports.map = map;
|
|
864
|
-
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
865
|
-
exports.serializeDateTime = serializeDateTime;
|
|
866
|
-
exports.serializeFloat = serializeFloat;
|
|
867
|
-
exports.take = take;
|
|
868
|
-
exports.throwDefaultError = throwDefaultError;
|
|
869
|
-
exports.withBaseException = withBaseException;
|
|
870
|
-
Object.prototype.hasOwnProperty.call(serde, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
871
|
-
enumerable: true,
|
|
872
|
-
value: serde["__proto__"]
|
|
873
|
-
});
|
|
874
|
-
Object.keys(serde).forEach(function(k) {
|
|
875
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
876
|
-
exports[k] = serde[k];
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
|
|
880
|
-
export { require_dist_cjs3 as require_dist_cjs };
|