@qitqode/qitqode-android-arm64 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
- package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
- package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
- package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
- package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
- package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
- package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
- package/bundle/{chunk-8r6ht39z.js → chunk-0csy9x1n.js} +1 -1
- package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
- package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
- package/bundle/chunk-0x5jn813.js +2 -0
- package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
- package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
- package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
- package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
- package/bundle/{chunk-hnvn2c25.js → chunk-1hmq2fpt.js} +2 -2
- package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
- package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
- package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
- package/bundle/{chunk-caj1b9y7.js → chunk-28cm7m3t.js} +4 -4
- package/bundle/chunk-28t9akfn.js +2 -0
- package/bundle/{chunk-6aqyhfag.js → chunk-2fkfbdcy.js} +4 -4
- package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
- package/bundle/chunk-2scyp9ns.js +2 -0
- package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
- package/bundle/chunk-2tw58kwb.js +2 -0
- package/bundle/chunk-2vxx0tax.js +2 -0
- package/bundle/chunk-2ybt3p5z.js +2 -0
- package/bundle/chunk-2zpkw3ge.js +2 -0
- package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
- package/bundle/chunk-397be2x0.js +2 -0
- package/bundle/chunk-3c78nkgn.js +2 -0
- package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
- package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
- package/bundle/{chunk-wqj0xasg.js → chunk-3vnnxq40.js} +1 -1
- package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
- package/bundle/chunk-425mq6k8.js +2 -0
- package/bundle/chunk-43yv7tz1.js +2 -0
- package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
- package/bundle/{chunk-m2q317gh.js → chunk-4ntbxet5.js} +1 -1
- package/bundle/chunk-4sw6frjt.js +2 -0
- package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
- package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
- package/bundle/chunk-4xw14sed.js +2 -0
- package/bundle/chunk-536naqqv.js +2 -0
- package/bundle/chunk-57najm15.js +2 -0
- package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
- package/bundle/chunk-5he3d7cy.js +2 -0
- package/bundle/{chunk-2phz0bn9.js → chunk-5vzrn6za.js} +1 -1
- package/bundle/{chunk-zaks8cae.js → chunk-5xq3h51b.js} +1 -1
- package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
- package/bundle/{chunk-5pb551dx.js → chunk-696z96a6.js} +1 -1
- package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
- package/bundle/{chunk-9gazyynx.js → chunk-6b196wjz.js} +2 -2
- package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
- package/bundle/chunk-6hybp2mt.js +2 -0
- package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
- package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
- package/bundle/{chunk-85wcc1tp.js → chunk-6v9nbb4c.js} +1 -1
- package/bundle/chunk-6y423jax.js +3 -0
- package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
- package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
- package/bundle/chunk-72ghkgcn.js +2 -0
- package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
- package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
- package/bundle/chunk-741teh8k.js +2 -0
- package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
- package/bundle/chunk-7b3wx6kn.js +2 -0
- package/bundle/{chunk-wmqsdt2c.js → chunk-7bwe0ayr.js} +1 -1
- package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
- package/bundle/chunk-7hh0654f.js +3 -0
- package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
- package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
- package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
- package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
- package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
- package/bundle/{chunk-15j5cn4t.js → chunk-8d5k45yj.js} +1 -1
- package/bundle/{chunk-we9cv8we.js → chunk-8eje5baf.js} +2 -2
- package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
- package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
- package/bundle/chunk-8y623qdx.js +2 -0
- package/bundle/chunk-921vn745.js +2 -0
- package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
- package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
- package/bundle/{chunk-pv67gwce.js → chunk-9msnx26q.js} +1 -1
- package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
- package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
- package/bundle/{chunk-5jx0yadh.js → chunk-9y97bzht.js} +2 -2
- package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
- package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
- package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
- package/bundle/chunk-a8119c3a.js +2 -0
- package/bundle/chunk-akk84fnc.js +2 -0
- package/bundle/chunk-aw7j7brm.js +2 -0
- package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
- package/bundle/chunk-b34t8v7x.js +2 -0
- package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
- package/bundle/chunk-b8hmj4jq.js +2 -0
- package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
- package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
- package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
- package/bundle/{chunk-59yqvk48.js → chunk-bja8q0ke.js} +1 -1
- package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
- package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
- package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
- package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
- package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
- package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
- package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
- package/bundle/chunk-cfw9pyt7.js +2 -0
- package/bundle/chunk-ckbwdrm3.js +2 -0
- package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
- package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
- package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
- package/bundle/{chunk-zqqx96jx.js → chunk-d80hk5x9.js} +1 -1
- package/bundle/{chunk-wezarrvy.js → chunk-d8dk05kd.js} +1 -1
- package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
- package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
- package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
- package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
- package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
- package/bundle/chunk-dwajajaq.js +2 -0
- package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
- package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
- package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
- package/bundle/chunk-e7ah0e61.js +2 -0
- package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
- package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
- package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
- package/bundle/chunk-efndtzby.js +2 -0
- package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
- package/bundle/chunk-eq2pepce.js +2 -0
- package/bundle/{chunk-7tr9ejyk.js → chunk-esp6jv63.js} +1 -1
- package/bundle/chunk-f693s9vn.js +2 -0
- package/bundle/chunk-f9v5n0t6.js +2 -0
- package/bundle/{chunk-za7mwbye.js → chunk-fdadk5tw.js} +1 -1
- package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
- package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
- package/bundle/chunk-ftepqwyq.js +2 -0
- package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
- package/bundle/{chunk-w7vh8cxt.js → chunk-g4nq9swr.js} +1 -1
- package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
- package/bundle/{chunk-k7aenxan.js → chunk-gdb67zmn.js} +1 -1
- package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
- package/bundle/chunk-gk28ffhg.js +2 -0
- package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
- package/bundle/chunk-gpfc4z4v.js +2 -0
- package/bundle/chunk-gqvg02zp.js +2 -0
- package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
- package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
- package/bundle/{chunk-zcsgqk9f.js → chunk-h2m8fdqm.js} +1 -1
- package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
- package/bundle/chunk-h8c3dcqt.js +2 -0
- package/bundle/chunk-hfq11w4h.js +2 -0
- package/bundle/{chunk-nkkch4h7.js → chunk-hg0etbkx.js} +1 -1
- package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
- package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
- package/bundle/chunk-hwf58w1k.js +2 -0
- package/bundle/{chunk-rza530gm.js → chunk-j0jdkqf5.js} +1 -1
- package/bundle/{chunk-ezfy0b6q.js → chunk-j8q252w3.js} +2 -2
- package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
- package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
- package/bundle/{chunk-xrs18kzn.js → chunk-jm722vy1.js} +1 -1
- package/bundle/chunk-kdvs4871.js +2 -0
- package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
- package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
- package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
- package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
- package/bundle/chunk-kk3ve911.js +2 -0
- package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
- package/bundle/{chunk-mqd1jsg2.js → chunk-knpyt206.js} +1 -1
- package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
- package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
- package/bundle/chunk-m4j7jyrd.js +3 -0
- package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
- package/bundle/{chunk-r7sqdfad.js → chunk-mdts0641.js} +1 -1
- package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
- package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
- package/bundle/chunk-mkng9ykt.js +2 -0
- package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
- package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
- package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
- package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
- package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
- package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
- package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
- package/bundle/chunk-nj4d554m.js +11 -0
- package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
- package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
- package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
- package/bundle/chunk-npv80mcx.js +2 -0
- package/bundle/{chunk-rkyf0cp8.js → chunk-ny9hnvzy.js} +1 -1
- package/bundle/{chunk-ew9pdrp9.js → chunk-p15sv2dg.js} +1 -1
- package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
- package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
- package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
- package/bundle/chunk-pe98rznj.js +2 -0
- package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
- package/bundle/{chunk-x25zkrz7.js → chunk-ppkqr9cn.js} +1 -1
- package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
- package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
- package/bundle/{chunk-2wajs9xv.js → chunk-q1czj6be.js} +1 -1
- package/bundle/{chunk-d3ermm6d.js → chunk-q5fygrnr.js} +1 -1
- package/bundle/chunk-q6wm9yt0.js +2 -0
- package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
- package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
- package/bundle/chunk-qbx70v64.js +2 -0
- package/bundle/{chunk-ad72gb5f.js → chunk-qc3ce3vc.js} +2 -2
- package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
- package/bundle/chunk-qek6a75r.js +2 -0
- package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
- package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
- package/bundle/chunk-qkk1as5n.js +2 -0
- package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
- package/bundle/chunk-qsm9xw87.js +2 -0
- package/bundle/chunk-qyzze0dv.js +2 -0
- package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
- package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
- package/bundle/chunk-r2w3gr8d.js +2 -0
- package/bundle/chunk-r5bqcpkz.js +2 -0
- package/bundle/chunk-r67c858b.js +2 -0
- package/bundle/chunk-r9fvfkee.js +2 -0
- package/bundle/{chunk-3wetyrjs.js → chunk-rjy5mqwz.js} +1 -1
- package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
- package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
- package/bundle/chunk-rq47pn3r.js +2 -0
- package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
- package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
- package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
- package/bundle/chunk-rvt1tdy8.js +2 -0
- package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
- package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
- package/bundle/chunk-s27xvrft.js +2 -0
- package/bundle/chunk-s2vasbwj.js +2 -0
- package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
- package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
- package/bundle/chunk-scy39p6q.js +2 -0
- package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
- package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
- package/bundle/chunk-shenqgrx.js +2 -0
- package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
- package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
- package/bundle/{chunk-jdynx7m6.js → chunk-sz0gkx88.js} +1 -1
- package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
- package/bundle/chunk-tt8jke90.js +2 -0
- package/bundle/chunk-ttevj0pj.js +2 -0
- package/bundle/chunk-v6tgn668.js +2 -0
- package/bundle/chunk-v7c54cyj.js +2 -0
- package/bundle/chunk-vgefaens.js +2 -0
- package/bundle/chunk-vkq0faj8.js +2 -0
- package/bundle/{chunk-764fksh3.js → chunk-vkqzmzpw.js} +1 -1
- package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
- package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
- package/bundle/chunk-vv59b4re.js +2 -0
- package/bundle/chunk-vwqy7n3g.js +2 -0
- package/bundle/{chunk-y6123zvq.js → chunk-w5kg2yz0.js} +1 -1
- package/bundle/{chunk-ygs5pzk7.js → chunk-w9nzsd3w.js} +3 -3
- package/bundle/chunk-wbzs30fk.js +28 -0
- package/bundle/chunk-wet3bnwn.js +2 -0
- package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
- package/bundle/{chunk-w8saweey.js → chunk-wfegee41.js} +1 -1
- package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
- package/bundle/{chunk-257me4z3.js → chunk-wmaz57f6.js} +47 -47
- package/bundle/chunk-wn076jwj.js +2 -0
- package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
- package/bundle/{chunk-d9hbhkbq.js → chunk-wwgd4rzx.js} +2 -2
- package/bundle/chunk-x0m1qye9.js +2 -0
- package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
- package/bundle/chunk-x9s90xd1.js +3 -0
- package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
- package/bundle/{chunk-q7vasbxn.js → chunk-xhkd9yf3.js} +1 -1
- package/bundle/{chunk-pje60pj2.js → chunk-xkv3yta0.js} +1 -1
- package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
- package/bundle/{chunk-0c2p3a6v.js → chunk-xy5cjach.js} +1 -1
- package/bundle/{chunk-3nx7112w.js → chunk-y370dqf3.js} +2 -2
- package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
- package/bundle/chunk-y70aachh.js +2 -0
- package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
- package/bundle/{chunk-gz8sz7z1.js → chunk-ya8g02hv.js} +1 -1
- package/bundle/{chunk-avf8v3hb.js → chunk-ygjtwjnk.js} +1 -1
- package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
- package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
- package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
- package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
- package/bundle/chunk-ysgxt83y.js +2 -0
- package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
- package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
- package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
- package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
- package/bundle/chunk-za63b5mc.js +5 -0
- package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
- package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
- package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
- package/bundle/{chunk-whe7h2mj.js → chunk-zm5dfk2b.js} +1 -1
- package/bundle/{chunk-02jtpxe0.js → chunk-zpf31kxb.js} +1 -1
- package/bundle/{chunk-56z7x7h4.js → chunk-zph1c2q1.js} +2 -2
- package/bundle/chunk-zwdnh860.js +2 -0
- package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-096pd6c4.js +0 -2
- package/bundle/chunk-0c5rxty9.js +0 -2
- package/bundle/chunk-0e86gt9r.js +0 -2
- package/bundle/chunk-0p27fvfr.js +0 -2
- package/bundle/chunk-0qs1vx97.js +0 -2
- package/bundle/chunk-1r95p0tp.js +0 -2
- package/bundle/chunk-1rhhhm88.js +0 -2
- package/bundle/chunk-1wbjh23g.js +0 -2
- package/bundle/chunk-20702epe.js +0 -2
- package/bundle/chunk-42p59wm4.js +0 -2
- package/bundle/chunk-4512pvca.js +0 -2
- package/bundle/chunk-456bmaww.js +0 -2
- package/bundle/chunk-48pajrnt.js +0 -2
- package/bundle/chunk-4fy9c54h.js +0 -2
- package/bundle/chunk-4sc82a27.js +0 -2
- package/bundle/chunk-59y8q9m5.js +0 -2
- package/bundle/chunk-5tray1fw.js +0 -3
- package/bundle/chunk-634pnryq.js +0 -2
- package/bundle/chunk-64ezpbwt.js +0 -2
- package/bundle/chunk-7mke41x0.js +0 -2
- package/bundle/chunk-7ry9cvby.js +0 -2
- package/bundle/chunk-7wczs9mx.js +0 -2
- package/bundle/chunk-7z777y9k.js +0 -2
- package/bundle/chunk-89w3yhf8.js +0 -2
- package/bundle/chunk-8dwq41q1.js +0 -28
- package/bundle/chunk-8v96pmqn.js +0 -2
- package/bundle/chunk-8y2scz6z.js +0 -2
- package/bundle/chunk-8zx7vnx6.js +0 -2
- package/bundle/chunk-94a76f8w.js +0 -2
- package/bundle/chunk-9ng7jjp7.js +0 -2
- package/bundle/chunk-9tpgnjy8.js +0 -2
- package/bundle/chunk-a7ym9f0v.js +0 -2
- package/bundle/chunk-a8f2xvy3.js +0 -2
- package/bundle/chunk-a99cvwta.js +0 -2
- package/bundle/chunk-avys5mnz.js +0 -2
- package/bundle/chunk-axvjd10y.js +0 -2
- package/bundle/chunk-b4pphqab.js +0 -2
- package/bundle/chunk-b6087ak4.js +0 -2
- package/bundle/chunk-bn0h9dny.js +0 -10
- package/bundle/chunk-brkqxbjy.js +0 -2
- package/bundle/chunk-c26qxt5g.js +0 -2
- package/bundle/chunk-c6zscb38.js +0 -2
- package/bundle/chunk-cjww2jmv.js +0 -3
- package/bundle/chunk-d0damw6y.js +0 -2
- package/bundle/chunk-dafmkrhn.js +0 -2
- package/bundle/chunk-dgprdym0.js +0 -2
- package/bundle/chunk-dsamees2.js +0 -2
- package/bundle/chunk-dyqpxx3b.js +0 -2
- package/bundle/chunk-e5mv5wnt.js +0 -2
- package/bundle/chunk-gwzw92jt.js +0 -2
- package/bundle/chunk-h6f3kbz2.js +0 -2
- package/bundle/chunk-hp7tssgv.js +0 -2
- package/bundle/chunk-ht0hbdmx.js +0 -2
- package/bundle/chunk-k1txw65h.js +0 -2
- package/bundle/chunk-k5atbdbm.js +0 -2
- package/bundle/chunk-k75jqg60.js +0 -3
- package/bundle/chunk-mahgmbt9.js +0 -2
- package/bundle/chunk-ngm6pqyt.js +0 -2
- package/bundle/chunk-ngtavamt.js +0 -2
- package/bundle/chunk-nkhc32s3.js +0 -2
- package/bundle/chunk-npse2xrd.js +0 -2
- package/bundle/chunk-p6e4vqy7.js +0 -2
- package/bundle/chunk-pqkjhn8h.js +0 -2
- package/bundle/chunk-qadw6j20.js +0 -2
- package/bundle/chunk-qd8w2gkd.js +0 -2
- package/bundle/chunk-qggcszs2.js +0 -2
- package/bundle/chunk-r8m7rtfc.js +0 -2
- package/bundle/chunk-rf12t4n5.js +0 -2
- package/bundle/chunk-rpgne7xh.js +0 -2
- package/bundle/chunk-rvgj1vky.js +0 -2
- package/bundle/chunk-s3mnrhbx.js +0 -5
- package/bundle/chunk-s6ktx2sx.js +0 -2
- package/bundle/chunk-ss2jvqrg.js +0 -2
- package/bundle/chunk-tvwwq4b3.js +0 -2
- package/bundle/chunk-v2n26eg4.js +0 -2
- package/bundle/chunk-wr42tphe.js +0 -2
- package/bundle/chunk-x24y7qyd.js +0 -2
- package/bundle/chunk-xj765svc.js +0 -3
- package/bundle/chunk-y2d0w09y.js +0 -2
- package/bundle/chunk-y7sy3w6z.js +0 -2
- package/bundle/chunk-yb79f79m.js +0 -2
- package/bundle/chunk-yjnyzpmt.js +0 -2
- package/bundle/chunk-yqbcnsa1.js +0 -2
- package/bundle/chunk-z3mra3nm.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Fd as m,Id as P,Jd as R,Kd as k,Ld as O,Nd as q,Od as $,Pd as I}from"./chunk-
|
|
2
|
+
import{Fd as m,Id as P,Jd as R,Kd as k,Ld as O,Nd as q,Od as $,Pd as I}from"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as h}from"./chunk-yajd975f.js";import{Vf as r}from"./chunk-p9cnzxb8.js";import{gh as L}from"./chunk-28cm7m3t.js";import{Uh as E}from"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{ck as N,rl as x}from"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import{lm as i}from"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import{nu as j}from"./chunk-x9s90xd1.js";import{Ru as C}from"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import{_P as F}from"./chunk-3k2b05fv.js";import u from"path";import U from"fs/promises";var T=F(N(),1);import{EOL as S}from"os";var c=["bash","read","write","edit","glob","grep","webfetch","actor","task"],B=h({command:"create",describe:"create a new agent",builder:(o)=>o.option("path",{type:"string",describe:"directory path to generate the agent file"}).option("description",{type:"string",describe:"what the agent should do"}).option("mode",{type:"string",describe:"agent mode",choices:["all","primary","subagent"]}).option("tools",{type:"string",describe:`comma-separated list of tools to enable (default: all). Available: "${c.join(", ")}"`}).option("model",{type:"string",alias:["m"],describe:"model to use in the format of provider/model"}),async handler(o){await i.provide({directory:process.cwd(),async fn(){let{path:l,description:t,mode:s,tools:p}=o,d=l&&t&&s&&p!==void 0;if(!d)r.empty(),R("Create agent");let D=i.project,g;if(l)g=u.join(l,"agent");else{let e="global";if(D.vcs==="git"){let n=await $({message:"Location",options:[{label:"Current project",value:"project",hint:i.worktree},{label:"Global",value:"global",hint:j.Path.config}]});if(m(n))throw new r.CancelledError;e=n}g=u.join(e==="global"?j.Path.config:u.join(i.worktree,".qitqode"),"agent")}let b;if(t)b=t;else{let e=await I({message:"Description",placeholder:"What should this agent do?",validate:(n)=>n&&n.length>0?void 0:"Required"});if(m(e))throw new r.CancelledError;b=e}let w=q();w.start("Generating agent configuration...");let G=o.model?x.parseModel(o.model):void 0,f=await L.runPromise(E.Service.use((e)=>e.generate({description:b,model:G}))).catch((e)=>{if(w.stop(`LLM failed to generate agent: ${e.message}`,1),d)process.exit(1);throw new r.CancelledError});w.stop(`Agent ${f.identifier} generated`);let y;if(p!==void 0)y=p?p.split(",").map((e)=>e.trim()):c;else{let e=await O({message:"Select tools to enable (Space to toggle)",options:c.map((n)=>({label:n,value:n})),initialValues:c});if(m(e))throw new r.CancelledError;y=e}let v;if(s)v=s;else{let e=await $({message:"Agent mode",options:[{label:"All",value:"all",hint:"Can function in both primary and subagent roles"},{label:"Primary",value:"primary",hint:"Acts as a primary/main agent"},{label:"Subagent",value:"subagent",hint:"Can be used as a subagent by other agents"}],initialValue:"all"});if(m(e))throw new r.CancelledError;v=e}let A={};for(let e of c)if(!y.includes(e))A[e]=!1;let M={description:f.whenToUse,mode:v};if(Object.keys(A).length>0)M.tools=A;let V=T.default.stringify(f.systemPrompt,M),a=u.join(g,`${f.identifier}.md`);if(await U.mkdir(g,{recursive:!0}),await C.exists(a)){if(d)console.error(`Error: Agent file already exists: ${a}`),process.exit(1);throw P.error(`Agent file already exists: ${a}`),new r.CancelledError}if(await C.write(a,V),d)console.log(a);else P.success(`Agent created: ${a}`),k("Done")}})}}),J=h({command:"list",describe:"list all available agents",async handler(){await i.provide({directory:process.cwd(),async fn(){let l=(await L.runPromise(E.Service.use((t)=>t.list()))).sort((t,s)=>{if(t.native!==s.native)return t.native?-1:1;return t.name.localeCompare(s.name)});for(let t of l)process.stdout.write(`${t.name} (${t.mode})`+S),process.stdout.write(` ${JSON.stringify(t.permission,null,2)}`+S)}})}}),ne=h({command:"agent",describe:"manage agents",builder:(o)=>o.command(B).command(J).demandCommand(),async handler(){}});export{ne as AgentCommand};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ce as a}from"./chunk-enpzvmtc.js";import{sf as fK,tf as yK,vf as b_,wf as hG,xf as DG,yf as DW}from"./chunk-tq0239xp.js";import{CO as k,FO as N}from"./chunk-7xm75w1e.js";var k_=k((iW)=>{var qW=N("stream"),g=b_(),U=a(),i=DW(),L_=(_)=>_?.body instanceof qW.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,IW=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],TW=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],SW=["TimeoutError","RequestTimeout","RequestTimeoutException"],PW=[500,502,503,504],RW=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],AW=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],n=(_)=>_?.$retryable!==void 0,Q_=(_)=>IW.includes(_.name),j_=(_)=>_.$metadata?.clockSkewCorrected,J_=(_)=>{let W=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return W.has(_.message)},q=(_)=>_.$metadata?.httpStatusCode===429||TW.includes(_.name)||_.$retryable?.throttling==!0,I=(_,W=0)=>n(_)||j_(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||SW.includes(_.name)||RW.includes(_?.code||"")||AW.includes(_?.code||"")||PW.includes(_.$metadata?.httpStatusCode||0)||J_(_)||w_(_)||_.cause!==void 0&&W<=10&&I(_.cause,W+1),O_=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let W=_.$metadata.httpStatusCode;if(500<=W&&W<=599&&!I(_))return!0;return!1}return!1};function w_(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var B_=100,v=20000,H_=500,A=500,z_=5,F_=10,o=1,x="amz-sdk-invocation-id",f="amz-sdk-request";function M_(_,W){if(!U.HttpResponse.isInstance(_))return;for(let K of Object.keys(_.headers)){let G=K.toLowerCase();if(G==="retry-after"){let Y=_.headers[K],X=NaN;if(Y.endsWith("GMT"))try{X=(i.parseRfc7231DateTime(Y).getTime()-Date.now())/1000}catch($){W?.trace?.("Failed to parse retry-after header"),W?.trace?.($)}else if(Y.match(/ GMT, ((\d+)|(\d+\.\d+))$/))X=Number(Y.match(/ GMT, ([\d.]+)$/)?.[1]);else if(Y.match(/^((\d+)|(\d+\.\d+))$/))X=Number(Y);else if(Date.parse(Y)>=Date.now())X=(Date.parse(Y)-Date.now())/1000;if(isNaN(X))return;return new Date(Date.now()+X*1000)}else if(G==="x-amz-retry-after"){let Y=_.headers[K],X=Number(Y);if(isNaN(X)){W?.trace?.(`Failed to parse x-amz-retry-after=${Y}`);return}return new Date(Date.now()+X)}}}function kW(_,W){return M_(_,W)}var V_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function N_(_){return(W)=>(K,G)=>async(Y)=>{let X=await W.retryStrategy(),$=await W.maxAttempts();if(xW(X)){X=X;let Z=await X.acquireInitialRetryToken((G.partition_id??"")+(G.__retryLongPoll?":longpoll":"")),L=Error(),b=0,j=0,{request:Q}=Y,J=U.HttpRequest.isInstance(Q);if(J)Q.headers[x]=i.v4();while(!0)try{if(J)Q.headers[f]=`attempt=${b+1}; max=${$}`;let{response:w,output:F}=await K(Y);return X.recordSuccess(Z),F.$metadata.attempts=b+1,F.$metadata.totalRetryDelay=j,{response:w,output:F}}catch(w){let F=fW(w,W.logger);if(L=V_(w),J&&_(Q))throw(G.logger instanceof g.NoOpLogger?console:G.logger)?.warn("An error was encountered in a non-retryable streaming request."),L;try{Z=await X.refreshRetryTokenForRetry(Z,F)}catch(wX){if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=b+1,L.$metadata.totalRetryDelay=j,L}b=Z.getRetryCount();let h=Z.getRetryDelay();if(j+=(Z?.$retryLog?.acquisitionDelay??0)+h,h>0)await vW(h)}}else{if(X=X,X?.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",X.mode]];return X.retry(K,Y)}}}var vW=(_)=>new Promise((W)=>setTimeout(W,_)),xW=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",fW=(_,W)=>{let K={error:_,errorType:yW(_)},G=M_(_.$response,W);if(G)K.retryAfterHint=G;return K},yW=(_)=>{if(q(_))return"THROTTLING";if(I(_))return"TRANSIENT";if(O_(_))return"SERVER_ERROR";return"CLIENT_ERROR"},U_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function lW(_){let W=N_(_);return(K)=>({applyToStack:(G)=>{G.add(W(K),U_)}})}class T{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let W;this.updateMeasuredRate();let K=_;if(K?.errorType==="THROTTLING"||q(K?.error??_)){let X=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=X,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),W=this.cubicThrottle(X),this.enableTokenBucket()}else this.calculateTimeWindow(),W=this.cubicSuccess(this.getCurrentTimeInSeconds());let Y=Math.min(W,2*this.measuredTxRate);this.updateTokenBucketRate(Y)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let W=(_-this.availableTokens)/this.fillRate*1000;await new Promise((K)=>T.setTimeoutFn(K,W)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let W=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+W),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),W=Math.floor(_*2)/2;if(this.requestCount++,W>this.lastTxRateBucket){let K=this.requestCount/(W-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(K*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=W}}getPrecise(_){return parseFloat(_.toFixed(8))}}class O{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return O.v2026?50:100}static throttlingDelay(){return O.v2026?1000:500}static cost(){return O.v2026?14:5}static throttlingCost(){return O.v2026?5:10}static modifiedCostType(){return O.v2026?"THROTTLING":"TRANSIENT"}}class E_{x=O.delay();computeNextBackoffDelay(_){let W=Math.random(),K=2,G=W*Math.min(this.x*2**_,v);return Math.floor(G)}setDelayBase(_){this.x=_}}class u{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(_,W,K,G){this.delay=_,this.count=W,this.cost=K,this.longPoll=G}getRetryCount(){return this.count}getRetryDelay(){return Math.min(v,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}iW.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(iW.RETRY_MODES||(iW.RETRY_MODES={}));var V=3,C_=iW.RETRY_MODES.STANDARD,R={incompatible:1,attempts:2,capacity:3},D=class{mode=iW.RETRY_MODES.STANDARD;retryBackoffStrategy;capacity=A;maxAttemptsProvider;baseDelay;constructor(W){if(typeof W==="number")this.maxAttemptsProvider=async()=>W;else if(typeof W==="function")this.maxAttemptsProvider=W;else if(W&&typeof W==="object")this.maxAttemptsProvider=async()=>W.maxAttempts,this.baseDelay=W.baseDelay,this.retryBackoffStrategy=W.backoff;this.maxAttemptsProvider??=async()=>V,this.baseDelay??=O.delay(),this.retryBackoffStrategy??=new E_}async acquireInitialRetryToken(W){return new u(O.delay(),0,void 0,O.v2026&&W.includes(":longpoll"))}async refreshRetryTokenForRetry(W,K){let G=await this.getMaxAttempts(),Y=this.retryCode(W,K,G),X=Y===0,$=W.isLongPoll?.();if(X||$){let Z=K.errorType;this.retryBackoffStrategy.setDelayBase(Z==="THROTTLING"?O.throttlingDelay():this.baseDelay);let L=this.retryBackoffStrategy.computeNextBackoffDelay(W.getRetryCount()),b=L;if(K.retryAfterHint instanceof Date)b=Math.max(L,Math.min(K.retryAfterHint.getTime()-Date.now(),L+5000));if(!X){let j=O.v2026&&Y===R.capacity&&$?b:0;if(j>0)await new Promise((Q)=>setTimeout(Q,j))}else{let j=this.getCapacityCost(Z);this.capacity-=j;let Q=new u(0,W.getRetryCount()+1,j,W.isLongPoll?.()??!1);return await new Promise((J)=>setTimeout(J,b)),Q.$retryLog.acquisitionDelay=b,Q}}throw Error("No retry token available")}recordSuccess(W){this.capacity=Math.min(A,this.capacity+(W.getRetryCost()??o))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(W){return console.warn(`Max attempts provider could not resolve. Using default of ${V}`),V}}retryCode(W,K,G){let Y=W.getRetryCount()+1,X=this.isRetryableError(K.errorType)?0:R.incompatible,$=Y<G?0:R.attempts,Z=this.capacity>=this.getCapacityCost(K.errorType)?0:R.capacity;return X||$||Z}getCapacityCost(W){return W===O.modifiedCostType()?O.throttlingCost():O.cost()}isRetryableError(W){return W==="THROTTLING"||W==="TRANSIENT"}},h_=class{mode=iW.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(W,K){let{rateLimiter:G}=K??{};this.rateLimiter=G??new T,this.standardRetryStrategy=K?new D({maxAttempts:typeof W==="number"?W:3,...K}):new D(W)}async acquireInitialRetryToken(W){let K=await this.standardRetryStrategy.acquireInitialRetryToken(W);return await this.rateLimiter.getSendToken(),K}async refreshRetryTokenForRetry(W,K){this.rateLimiter.updateClientSendingRate(K);let G=await this.standardRetryStrategy.refreshRetryTokenForRetry(W,K);return await this.rateLimiter.getSendToken(),G}recordSuccess(W){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(W)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class D_ extends D{computeNextBackoffDelay;constructor(_,W=O.delay()){super(typeof _==="function"?_:async()=>_);if(typeof W==="number")this.computeNextBackoffDelay=()=>W;else this.computeNextBackoffDelay=W;this.retryBackoffStrategy.computeNextBackoffDelay=(K)=>{let G=K+1;return this.computeNextBackoffDelay(G)}}}var cW=(_,W)=>{let K=_,G=o,Y=z_,X=F_,$=_,Z=(Q)=>Q.name==="TimeoutError"?X:Y,L=(Q)=>Z(Q)<=$;return Object.freeze({hasRetryTokens:L,retrieveRetryTokens:(Q)=>{if(!L(Q))throw Error("No retry token available");let J=Z(Q);return $-=J,J},releaseRetryTokens:(Q)=>{$+=Q??G,$=Math.min($,K)}})},q_=(_,W)=>Math.floor(Math.min(v,Math.random()*2**W*_)),I_=(_)=>{if(!_)return!1;return n(_)||Q_(_)||q(_)||I(_)};class t{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=iW.RETRY_MODES.STANDARD;constructor(_,W){this.maxAttemptsProvider=_,this.retryDecider=W?.retryDecider??I_,this.delayDecider=W?.delayDecider??q_,this.retryQuota=W?.retryQuota??cW(A)}shouldRetry(_,W,K){return W<K&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(W){_=V}return _}async retry(_,W,K){let G,Y=0,X=0,$=await this.getMaxAttempts(),{request:Z}=W;if(U.HttpRequest.isInstance(Z))Z.headers[x]=i.v4();while(!0)try{if(U.HttpRequest.isInstance(Z))Z.headers[f]=`attempt=${Y+1}; max=${$}`;if(K?.beforeRequest)await K.beforeRequest();let{response:L,output:b}=await _(W);if(K?.afterRequest)K.afterRequest(L);return this.retryQuota.releaseRetryTokens(G),b.$metadata.attempts=Y+1,b.$metadata.totalRetryDelay=X,{response:L,output:b}}catch(L){let b=V_(L);if(Y++,this.shouldRetry(b,Y,$)){G=this.retryQuota.retrieveRetryTokens(b);let j=this.delayDecider(q(b)?H_:B_,Y),Q=dW(b.$response),J=Math.max(Q||0,j);X+=J,await new Promise((w)=>setTimeout(w,J));continue}if(!b.$metadata)b.$metadata={};throw b.$metadata.attempts=Y,b.$metadata.totalRetryDelay=X,b}}}var dW=(_)=>{if(!U.HttpResponse.isInstance(_))return;let W=Object.keys(_.headers).find((X)=>X.toLowerCase()==="retry-after");if(!W)return;let K=_.headers[W],G=Number(K);if(!Number.isNaN(G))return G*1000;return new Date(K).getTime()-Date.now()};class T_ extends t{rateLimiter;constructor(_,W){let{rateLimiter:K,...G}=W??{};super(_,G);this.rateLimiter=K??new T,this.mode=iW.RETRY_MODES.ADAPTIVE}async retry(_,W){return super.retry(_,W,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(K)=>{this.rateLimiter.updateClientSendingRate(K)}})}}var p="AWS_MAX_ATTEMPTS",s="max_attempts",mW={environmentVariableSelector:(_)=>{let W=_[p];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Environment variable ${p} mast be a number, got "${W}"`);return K},configFileSelector:(_)=>{let W=_[s];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Shared config file entry ${s} mast be a number, got "${W}"`);return K},default:V},gW=(_,W)=>{let{retryStrategy:K,retryMode:G}=_,{defaultMaxAttempts:Y=V,defaultBaseDelay:X=O.delay()}=W??{},$=g.normalizeProvider(_.maxAttempts??Y),Z=K?Promise.resolve(K):void 0,L=async()=>{let b=await $();if(await g.normalizeProvider(G)()===iW.RETRY_MODES.ADAPTIVE)return new h_($,{maxAttempts:b,baseDelay:X});return new D({maxAttempts:b,baseDelay:X})};return Object.assign(_,{maxAttempts:$,retryStrategy:()=>Z??=L()})},S_="AWS_RETRY_MODE",P_="retry_mode",uW={environmentVariableSelector:(_)=>_[S_],configFileSelector:(_)=>_[P_],default:C_},R_=()=>(_)=>async(W)=>{let{request:K}=W;if(U.HttpRequest.isInstance(K))delete K.headers[x],delete K.headers[f];return _(W)},A_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},pW=(_)=>({applyToStack:(W)=>{W.addRelativeTo(R_(),A_)}}),sW=N_(L_),aW=lW(L_);iW.AdaptiveRetryStrategy=h_;iW.CONFIG_MAX_ATTEMPTS=s;iW.CONFIG_RETRY_MODE=P_;iW.ConfiguredRetryStrategy=D_;iW.DEFAULT_MAX_ATTEMPTS=V;iW.DEFAULT_RETRY_DELAY_BASE=B_;iW.DEFAULT_RETRY_MODE=C_;iW.DefaultRateLimiter=T;iW.DeprecatedAdaptiveRetryStrategy=T_;iW.DeprecatedStandardRetryStrategy=t;iW.ENV_MAX_ATTEMPTS=p;iW.ENV_RETRY_MODE=S_;iW.INITIAL_RETRY_TOKENS=A;iW.INVOCATION_ID_HEADER=x;iW.MAXIMUM_RETRY_DELAY=v;iW.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=mW;iW.NODE_RETRY_MODE_CONFIG_OPTIONS=uW;iW.NO_RETRY_INCREMENT=o;iW.REQUEST_HEADER=f;iW.RETRY_COST=z_;iW.Retry=O;iW.StandardRetryStrategy=D;iW.THROTTLING_RETRY_DELAY_BASE=H_;iW.TIMEOUT_RETRY_COST=F_;iW.defaultDelayDecider=q_;iW.defaultRetryDecider=I_;iW.getOmitRetryHeadersPlugin=pW;iW.getRetryAfterHint=kW;iW.getRetryPlugin=aW;iW.isBrowserNetworkError=J_;iW.isClockSkewCorrectedError=j_;iW.isClockSkewError=Q_;iW.isNodeJsHttp2TransientError=w_;iW.isRetryableByTrait=n;iW.isServerError=O_;iW.isThrottlingError=q;iW.isTransientError=I;iW.omitRetryHeadersMiddleware=R_;iW.omitRetryHeadersMiddlewareOptions=A_;iW.resolveRetryConfig=gW;iW.retryMiddleware=sW;iW.retryMiddlewareOptions=U_});var i_=k((_G)=>{var lK=yK(),y=a(),v_=fK(),x_=b_(),cK=(_,W)=>{if(!W||W.length===0)return _;let K=[];for(let G of W)for(let Y of _)if(Y.schemeId.split("#")[1]===G)K.push(Y);for(let G of _)if(!K.find(({schemeId:Y})=>Y===G.schemeId))K.push(G);return K};function dK(_){let W=new Map;for(let K of _)W.set(K.schemeId,K);return W}var r=(_,W)=>(K,G)=>async(Y)=>{let X=_.httpAuthSchemeProvider(await W.httpAuthSchemeParametersProvider(_,G,Y.input)),$=_.authSchemePreference?await _.authSchemePreference():[],Z=cK(X,$),L=dK(_.httpAuthSchemes),b=x_.getSmithyContext(G),j=[];for(let Q of Z){let J=L.get(Q.schemeId);if(!J){j.push(`HttpAuthScheme \`${Q.schemeId}\` was not enabled for this service.`);continue}let w=J.identityProvider(await W.identityProviderConfigProvider(_));if(!w){j.push(`HttpAuthScheme \`${Q.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:F={},signingProperties:h={}}=Q.propertiesExtractor?.(_,G)||{};Q.identityProperties=Object.assign(Q.identityProperties||{},F),Q.signingProperties=Object.assign(Q.signingProperties||{},h),b.selectedHttpAuthScheme={httpAuthOption:Q,identity:await w(Q.identityProperties),signer:J.signer};break}if(!b.selectedHttpAuthScheme)throw Error(j.join(`
|
|
2
|
+
import{Ce as a}from"./chunk-41v0x1jk.js";import{sf as fK,tf as yK,vf as b_,wf as hG,xf as DG,yf as DW}from"./chunk-a3a1trap.js";import{$P as k,cQ as N}from"./chunk-3k2b05fv.js";var k_=k((iW)=>{var qW=N("stream"),g=b_(),U=a(),i=DW(),L_=(_)=>_?.body instanceof qW.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,IW=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],TW=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],SW=["TimeoutError","RequestTimeout","RequestTimeoutException"],PW=[500,502,503,504],RW=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],AW=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],n=(_)=>_?.$retryable!==void 0,Q_=(_)=>IW.includes(_.name),j_=(_)=>_.$metadata?.clockSkewCorrected,J_=(_)=>{let W=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return W.has(_.message)},q=(_)=>_.$metadata?.httpStatusCode===429||TW.includes(_.name)||_.$retryable?.throttling==!0,I=(_,W=0)=>n(_)||j_(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||SW.includes(_.name)||RW.includes(_?.code||"")||AW.includes(_?.code||"")||PW.includes(_.$metadata?.httpStatusCode||0)||J_(_)||w_(_)||_.cause!==void 0&&W<=10&&I(_.cause,W+1),O_=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let W=_.$metadata.httpStatusCode;if(500<=W&&W<=599&&!I(_))return!0;return!1}return!1};function w_(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var B_=100,v=20000,H_=500,A=500,z_=5,F_=10,o=1,x="amz-sdk-invocation-id",f="amz-sdk-request";function M_(_,W){if(!U.HttpResponse.isInstance(_))return;for(let K of Object.keys(_.headers)){let G=K.toLowerCase();if(G==="retry-after"){let Y=_.headers[K],X=NaN;if(Y.endsWith("GMT"))try{X=(i.parseRfc7231DateTime(Y).getTime()-Date.now())/1000}catch($){W?.trace?.("Failed to parse retry-after header"),W?.trace?.($)}else if(Y.match(/ GMT, ((\d+)|(\d+\.\d+))$/))X=Number(Y.match(/ GMT, ([\d.]+)$/)?.[1]);else if(Y.match(/^((\d+)|(\d+\.\d+))$/))X=Number(Y);else if(Date.parse(Y)>=Date.now())X=(Date.parse(Y)-Date.now())/1000;if(isNaN(X))return;return new Date(Date.now()+X*1000)}else if(G==="x-amz-retry-after"){let Y=_.headers[K],X=Number(Y);if(isNaN(X)){W?.trace?.(`Failed to parse x-amz-retry-after=${Y}`);return}return new Date(Date.now()+X)}}}function kW(_,W){return M_(_,W)}var V_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function N_(_){return(W)=>(K,G)=>async(Y)=>{let X=await W.retryStrategy(),$=await W.maxAttempts();if(xW(X)){X=X;let Z=await X.acquireInitialRetryToken((G.partition_id??"")+(G.__retryLongPoll?":longpoll":"")),L=Error(),b=0,j=0,{request:Q}=Y,J=U.HttpRequest.isInstance(Q);if(J)Q.headers[x]=i.v4();while(!0)try{if(J)Q.headers[f]=`attempt=${b+1}; max=${$}`;let{response:w,output:F}=await K(Y);return X.recordSuccess(Z),F.$metadata.attempts=b+1,F.$metadata.totalRetryDelay=j,{response:w,output:F}}catch(w){let F=fW(w,W.logger);if(L=V_(w),J&&_(Q))throw(G.logger instanceof g.NoOpLogger?console:G.logger)?.warn("An error was encountered in a non-retryable streaming request."),L;try{Z=await X.refreshRetryTokenForRetry(Z,F)}catch(wX){if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=b+1,L.$metadata.totalRetryDelay=j,L}b=Z.getRetryCount();let h=Z.getRetryDelay();if(j+=(Z?.$retryLog?.acquisitionDelay??0)+h,h>0)await vW(h)}}else{if(X=X,X?.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",X.mode]];return X.retry(K,Y)}}}var vW=(_)=>new Promise((W)=>setTimeout(W,_)),xW=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",fW=(_,W)=>{let K={error:_,errorType:yW(_)},G=M_(_.$response,W);if(G)K.retryAfterHint=G;return K},yW=(_)=>{if(q(_))return"THROTTLING";if(I(_))return"TRANSIENT";if(O_(_))return"SERVER_ERROR";return"CLIENT_ERROR"},U_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function lW(_){let W=N_(_);return(K)=>({applyToStack:(G)=>{G.add(W(K),U_)}})}class T{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let W;this.updateMeasuredRate();let K=_;if(K?.errorType==="THROTTLING"||q(K?.error??_)){let X=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=X,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),W=this.cubicThrottle(X),this.enableTokenBucket()}else this.calculateTimeWindow(),W=this.cubicSuccess(this.getCurrentTimeInSeconds());let Y=Math.min(W,2*this.measuredTxRate);this.updateTokenBucketRate(Y)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let W=(_-this.availableTokens)/this.fillRate*1000;await new Promise((K)=>T.setTimeoutFn(K,W)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let W=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+W),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),W=Math.floor(_*2)/2;if(this.requestCount++,W>this.lastTxRateBucket){let K=this.requestCount/(W-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(K*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=W}}getPrecise(_){return parseFloat(_.toFixed(8))}}class O{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return O.v2026?50:100}static throttlingDelay(){return O.v2026?1000:500}static cost(){return O.v2026?14:5}static throttlingCost(){return O.v2026?5:10}static modifiedCostType(){return O.v2026?"THROTTLING":"TRANSIENT"}}class E_{x=O.delay();computeNextBackoffDelay(_){let W=Math.random(),K=2,G=W*Math.min(this.x*2**_,v);return Math.floor(G)}setDelayBase(_){this.x=_}}class u{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(_,W,K,G){this.delay=_,this.count=W,this.cost=K,this.longPoll=G}getRetryCount(){return this.count}getRetryDelay(){return Math.min(v,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}iW.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(iW.RETRY_MODES||(iW.RETRY_MODES={}));var V=3,C_=iW.RETRY_MODES.STANDARD,R={incompatible:1,attempts:2,capacity:3},D=class{mode=iW.RETRY_MODES.STANDARD;retryBackoffStrategy;capacity=A;maxAttemptsProvider;baseDelay;constructor(W){if(typeof W==="number")this.maxAttemptsProvider=async()=>W;else if(typeof W==="function")this.maxAttemptsProvider=W;else if(W&&typeof W==="object")this.maxAttemptsProvider=async()=>W.maxAttempts,this.baseDelay=W.baseDelay,this.retryBackoffStrategy=W.backoff;this.maxAttemptsProvider??=async()=>V,this.baseDelay??=O.delay(),this.retryBackoffStrategy??=new E_}async acquireInitialRetryToken(W){return new u(O.delay(),0,void 0,O.v2026&&W.includes(":longpoll"))}async refreshRetryTokenForRetry(W,K){let G=await this.getMaxAttempts(),Y=this.retryCode(W,K,G),X=Y===0,$=W.isLongPoll?.();if(X||$){let Z=K.errorType;this.retryBackoffStrategy.setDelayBase(Z==="THROTTLING"?O.throttlingDelay():this.baseDelay);let L=this.retryBackoffStrategy.computeNextBackoffDelay(W.getRetryCount()),b=L;if(K.retryAfterHint instanceof Date)b=Math.max(L,Math.min(K.retryAfterHint.getTime()-Date.now(),L+5000));if(!X){let j=O.v2026&&Y===R.capacity&&$?b:0;if(j>0)await new Promise((Q)=>setTimeout(Q,j))}else{let j=this.getCapacityCost(Z);this.capacity-=j;let Q=new u(0,W.getRetryCount()+1,j,W.isLongPoll?.()??!1);return await new Promise((J)=>setTimeout(J,b)),Q.$retryLog.acquisitionDelay=b,Q}}throw Error("No retry token available")}recordSuccess(W){this.capacity=Math.min(A,this.capacity+(W.getRetryCost()??o))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(W){return console.warn(`Max attempts provider could not resolve. Using default of ${V}`),V}}retryCode(W,K,G){let Y=W.getRetryCount()+1,X=this.isRetryableError(K.errorType)?0:R.incompatible,$=Y<G?0:R.attempts,Z=this.capacity>=this.getCapacityCost(K.errorType)?0:R.capacity;return X||$||Z}getCapacityCost(W){return W===O.modifiedCostType()?O.throttlingCost():O.cost()}isRetryableError(W){return W==="THROTTLING"||W==="TRANSIENT"}},h_=class{mode=iW.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(W,K){let{rateLimiter:G}=K??{};this.rateLimiter=G??new T,this.standardRetryStrategy=K?new D({maxAttempts:typeof W==="number"?W:3,...K}):new D(W)}async acquireInitialRetryToken(W){let K=await this.standardRetryStrategy.acquireInitialRetryToken(W);return await this.rateLimiter.getSendToken(),K}async refreshRetryTokenForRetry(W,K){this.rateLimiter.updateClientSendingRate(K);let G=await this.standardRetryStrategy.refreshRetryTokenForRetry(W,K);return await this.rateLimiter.getSendToken(),G}recordSuccess(W){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(W)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class D_ extends D{computeNextBackoffDelay;constructor(_,W=O.delay()){super(typeof _==="function"?_:async()=>_);if(typeof W==="number")this.computeNextBackoffDelay=()=>W;else this.computeNextBackoffDelay=W;this.retryBackoffStrategy.computeNextBackoffDelay=(K)=>{let G=K+1;return this.computeNextBackoffDelay(G)}}}var cW=(_,W)=>{let K=_,G=o,Y=z_,X=F_,$=_,Z=(Q)=>Q.name==="TimeoutError"?X:Y,L=(Q)=>Z(Q)<=$;return Object.freeze({hasRetryTokens:L,retrieveRetryTokens:(Q)=>{if(!L(Q))throw Error("No retry token available");let J=Z(Q);return $-=J,J},releaseRetryTokens:(Q)=>{$+=Q??G,$=Math.min($,K)}})},q_=(_,W)=>Math.floor(Math.min(v,Math.random()*2**W*_)),I_=(_)=>{if(!_)return!1;return n(_)||Q_(_)||q(_)||I(_)};class t{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=iW.RETRY_MODES.STANDARD;constructor(_,W){this.maxAttemptsProvider=_,this.retryDecider=W?.retryDecider??I_,this.delayDecider=W?.delayDecider??q_,this.retryQuota=W?.retryQuota??cW(A)}shouldRetry(_,W,K){return W<K&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(W){_=V}return _}async retry(_,W,K){let G,Y=0,X=0,$=await this.getMaxAttempts(),{request:Z}=W;if(U.HttpRequest.isInstance(Z))Z.headers[x]=i.v4();while(!0)try{if(U.HttpRequest.isInstance(Z))Z.headers[f]=`attempt=${Y+1}; max=${$}`;if(K?.beforeRequest)await K.beforeRequest();let{response:L,output:b}=await _(W);if(K?.afterRequest)K.afterRequest(L);return this.retryQuota.releaseRetryTokens(G),b.$metadata.attempts=Y+1,b.$metadata.totalRetryDelay=X,{response:L,output:b}}catch(L){let b=V_(L);if(Y++,this.shouldRetry(b,Y,$)){G=this.retryQuota.retrieveRetryTokens(b);let j=this.delayDecider(q(b)?H_:B_,Y),Q=dW(b.$response),J=Math.max(Q||0,j);X+=J,await new Promise((w)=>setTimeout(w,J));continue}if(!b.$metadata)b.$metadata={};throw b.$metadata.attempts=Y,b.$metadata.totalRetryDelay=X,b}}}var dW=(_)=>{if(!U.HttpResponse.isInstance(_))return;let W=Object.keys(_.headers).find((X)=>X.toLowerCase()==="retry-after");if(!W)return;let K=_.headers[W],G=Number(K);if(!Number.isNaN(G))return G*1000;return new Date(K).getTime()-Date.now()};class T_ extends t{rateLimiter;constructor(_,W){let{rateLimiter:K,...G}=W??{};super(_,G);this.rateLimiter=K??new T,this.mode=iW.RETRY_MODES.ADAPTIVE}async retry(_,W){return super.retry(_,W,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(K)=>{this.rateLimiter.updateClientSendingRate(K)}})}}var p="AWS_MAX_ATTEMPTS",s="max_attempts",mW={environmentVariableSelector:(_)=>{let W=_[p];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Environment variable ${p} mast be a number, got "${W}"`);return K},configFileSelector:(_)=>{let W=_[s];if(!W)return;let K=parseInt(W);if(Number.isNaN(K))throw Error(`Shared config file entry ${s} mast be a number, got "${W}"`);return K},default:V},gW=(_,W)=>{let{retryStrategy:K,retryMode:G}=_,{defaultMaxAttempts:Y=V,defaultBaseDelay:X=O.delay()}=W??{},$=g.normalizeProvider(_.maxAttempts??Y),Z=K?Promise.resolve(K):void 0,L=async()=>{let b=await $();if(await g.normalizeProvider(G)()===iW.RETRY_MODES.ADAPTIVE)return new h_($,{maxAttempts:b,baseDelay:X});return new D({maxAttempts:b,baseDelay:X})};return Object.assign(_,{maxAttempts:$,retryStrategy:()=>Z??=L()})},S_="AWS_RETRY_MODE",P_="retry_mode",uW={environmentVariableSelector:(_)=>_[S_],configFileSelector:(_)=>_[P_],default:C_},R_=()=>(_)=>async(W)=>{let{request:K}=W;if(U.HttpRequest.isInstance(K))delete K.headers[x],delete K.headers[f];return _(W)},A_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},pW=(_)=>({applyToStack:(W)=>{W.addRelativeTo(R_(),A_)}}),sW=N_(L_),aW=lW(L_);iW.AdaptiveRetryStrategy=h_;iW.CONFIG_MAX_ATTEMPTS=s;iW.CONFIG_RETRY_MODE=P_;iW.ConfiguredRetryStrategy=D_;iW.DEFAULT_MAX_ATTEMPTS=V;iW.DEFAULT_RETRY_DELAY_BASE=B_;iW.DEFAULT_RETRY_MODE=C_;iW.DefaultRateLimiter=T;iW.DeprecatedAdaptiveRetryStrategy=T_;iW.DeprecatedStandardRetryStrategy=t;iW.ENV_MAX_ATTEMPTS=p;iW.ENV_RETRY_MODE=S_;iW.INITIAL_RETRY_TOKENS=A;iW.INVOCATION_ID_HEADER=x;iW.MAXIMUM_RETRY_DELAY=v;iW.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=mW;iW.NODE_RETRY_MODE_CONFIG_OPTIONS=uW;iW.NO_RETRY_INCREMENT=o;iW.REQUEST_HEADER=f;iW.RETRY_COST=z_;iW.Retry=O;iW.StandardRetryStrategy=D;iW.THROTTLING_RETRY_DELAY_BASE=H_;iW.TIMEOUT_RETRY_COST=F_;iW.defaultDelayDecider=q_;iW.defaultRetryDecider=I_;iW.getOmitRetryHeadersPlugin=pW;iW.getRetryAfterHint=kW;iW.getRetryPlugin=aW;iW.isBrowserNetworkError=J_;iW.isClockSkewCorrectedError=j_;iW.isClockSkewError=Q_;iW.isNodeJsHttp2TransientError=w_;iW.isRetryableByTrait=n;iW.isServerError=O_;iW.isThrottlingError=q;iW.isTransientError=I;iW.omitRetryHeadersMiddleware=R_;iW.omitRetryHeadersMiddlewareOptions=A_;iW.resolveRetryConfig=gW;iW.retryMiddleware=sW;iW.retryMiddlewareOptions=U_});var i_=k((_G)=>{var lK=yK(),y=a(),v_=fK(),x_=b_(),cK=(_,W)=>{if(!W||W.length===0)return _;let K=[];for(let G of W)for(let Y of _)if(Y.schemeId.split("#")[1]===G)K.push(Y);for(let G of _)if(!K.find(({schemeId:Y})=>Y===G.schemeId))K.push(G);return K};function dK(_){let W=new Map;for(let K of _)W.set(K.schemeId,K);return W}var r=(_,W)=>(K,G)=>async(Y)=>{let X=_.httpAuthSchemeProvider(await W.httpAuthSchemeParametersProvider(_,G,Y.input)),$=_.authSchemePreference?await _.authSchemePreference():[],Z=cK(X,$),L=dK(_.httpAuthSchemes),b=x_.getSmithyContext(G),j=[];for(let Q of Z){let J=L.get(Q.schemeId);if(!J){j.push(`HttpAuthScheme \`${Q.schemeId}\` was not enabled for this service.`);continue}let w=J.identityProvider(await W.identityProviderConfigProvider(_));if(!w){j.push(`HttpAuthScheme \`${Q.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:F={},signingProperties:h={}}=Q.propertiesExtractor?.(_,G)||{};Q.identityProperties=Object.assign(Q.identityProperties||{},F),Q.signingProperties=Object.assign(Q.signingProperties||{},h),b.selectedHttpAuthScheme={httpAuthOption:Q,identity:await w(Q.identityProperties),signer:J.signer};break}if(!b.selectedHttpAuthScheme)throw Error(j.join(`
|
|
3
3
|
`));return K(Y)},f_={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},mK=(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K})=>({applyToStack:(G)=>{G.addRelativeTo(r(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K}),f_)}}),y_={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},gK=(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K})=>({applyToStack:(G)=>{G.addRelativeTo(r(_,{httpAuthSchemeParametersProvider:W,identityProviderConfigProvider:K}),y_)}}),uK=(_)=>(W)=>{throw W},pK=(_,W)=>{},l_=(_)=>(W,K)=>async(G)=>{if(!y.HttpRequest.isInstance(G.request))return W(G);let X=x_.getSmithyContext(K).selectedHttpAuthScheme;if(!X)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:$={}},identity:Z,signer:L}=X,b=await W({...G,request:await L.sign(G.request,Z,$)}).catch((L.errorHandler||uK)($));return(L.successHandler||pK)(b.response,$),b},c_={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},sK=(_)=>({applyToStack:(W)=>{W.addRelativeTo(l_(),c_)}}),aK=(_)=>{if(typeof _==="function")return _;let W=Promise.resolve(_);return()=>W},iK=async(_,W,K,G=(X)=>X,...Y)=>{let X=new _(K);return X=G(X)??X,await W.send(X,...Y)};function nK(_,W,K,G,Y){return async function*($,Z,...L){let b=Z,j=$.startingToken??b[K],Q=!0,J;while(Q){if(b[K]=j,Y)b[Y]=b[Y]??$.pageSize;if($.client instanceof _)J=await iK(W,$.client,Z,$.withCommand,...L);else throw Error(`Invalid client, expected instance of ${_.name}`);yield J;let w=j;j=oK(J,G),Q=!!(j&&(!$.stopOnSameToken||j!==w))}return}}var oK=(_,W)=>{let K=_,G=W.split(".");for(let Y of G){if(!K||typeof K!=="object")return;K=K[Y]}return K};function tK(_,W,K){if(!_.__smithy_context)_.__smithy_context={features:{}};else if(!_.__smithy_context.features)_.__smithy_context.features={};_.__smithy_context.features[W]=K}class d_{authSchemes=new Map;constructor(_){for(let W in _){let K=_[W];if(K!==void 0)this.authSchemes.set(W,K)}}getIdentityProvider(_){return this.authSchemes.get(_)}}class m_{async sign(_,W,K){if(!K)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!K.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!K.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!W.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let G=y.HttpRequest.clone(_);if(K.in===v_.HttpApiKeyAuthLocation.QUERY)G.query[K.name]=W.apiKey;else if(K.in===v_.HttpApiKeyAuthLocation.HEADER)G.headers[K.name]=K.scheme?`${K.scheme} ${W.apiKey}`:W.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+K.in+"`");return G}}class g_{async sign(_,W,K){let G=y.HttpRequest.clone(_);if(!W.token)throw Error("request could not be signed with `token` since the `token` is not defined");return G.headers.Authorization=`Bearer ${W.token}`,G}}class u_{async sign(_,W,K){return _}}var p_=(_)=>function(K){return a_(K)&&K.expiration.getTime()-Date.now()<_},s_=300000,rK=p_(s_),a_=(_)=>_.expiration!==void 0,eK=(_,W,K)=>{if(_===void 0)return;let G=typeof _!=="function"?async()=>Promise.resolve(_):_,Y,X,$,Z=!1,L=async(b)=>{if(!X)X=G(b);try{Y=await X,$=!0,Z=!1}finally{X=void 0}return Y};if(W===void 0)return async(b)=>{if(!$||b?.forceRefresh)Y=await L(b);return Y};return async(b)=>{if(!$||b?.forceRefresh)Y=await L(b);if(Z)return Y;if(!K(Y))return Z=!0,Y;if(W(Y))return await L(b),Y;return Y}};_G.getSmithyContext=lK.getSmithyContext;_G.requestBuilder=y.requestBuilder;_G.DefaultIdentityProviderConfig=d_;_G.EXPIRATION_MS=s_;_G.HttpApiKeyAuthSigner=m_;_G.HttpBearerAuthSigner=g_;_G.NoAuthSigner=u_;_G.createIsIdentityExpiredFunction=p_;_G.createPaginator=nK;_G.doesIdentityRequireRefresh=a_;_G.getHttpAuthSchemeEndpointRuleSetPlugin=mK;_G.getHttpAuthSchemePlugin=gK;_G.getHttpSigningPlugin=sK;_G.httpAuthSchemeEndpointRuleSetMiddlewareOptions=f_;_G.httpAuthSchemeMiddleware=r;_G.httpAuthSchemeMiddlewareOptions=y_;_G.httpSigningMiddleware=l_;_G.httpSigningMiddlewareOptions=c_;_G.isIdentityExpired=rK;_G.memoizeIdentityProvider=eK;_G.normalizeProvider=aK;_G.setFeature=tK});var o_=k((EG)=>{var S={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")},e=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!e)globalThis.awslambda=globalThis.awslambda||{};class l{static PROTECTED_KEYS=S;isProtectedKey(_){return Object.values(S).includes(_)}getRequestId(){return this.get(S.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(S.X_RAY_TRACE_ID)}getTenantId(){return this.get(S.TENANT_ID)}}class n_ extends l{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(_){return this.currentContext?.[_]}set(_,W){if(this.isProtectedKey(_))throw Error(`Cannot modify protected Lambda context field: ${String(_)}`);this.currentContext=this.currentContext||{},this.currentContext[_]=W}run(_,W){return this.currentContext=_,W()}}class W_ extends l{als;static async create(){let _=new W_,W=await import("async_hooks");return _.als=new W.AsyncLocalStorage,_}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(_){return this.als.getStore()?.[_]}set(_,W){if(this.isProtectedKey(_))throw Error(`Cannot modify protected Lambda context field: ${String(_)}`);let K=this.als.getStore();if(!K)throw Error("No context available");K[_]=W}run(_,W){return this.als.run(_,W)}}EG.InvokeStore=void 0;(function(_){let W=null;async function K(G){if(!W)W=(async()=>{let X=G===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await W_.create():new n_;if(!e&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!e&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=X,X;else return X})();return W}_.getInstanceAsync=K,_._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(W=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(EG.InvokeStore||(EG.InvokeStore={}));EG.InvokeStoreBase=l});var OX=k((H1)=>{var __dirname="/home/runner/workspace/qode/node_modules/.bun/@aws-sdk+core@3.974.17/node_modules/@aws-sdk/core/dist-cjs/submodules/client",Y_=k_(),m=a(),qG=o_(),IG=i_(),t_=N("os"),P=N("process"),z=hG(),r_=N("fs/promises"),E=N("path"),C=DG(),d={warningEmitted:!1},TG=(_)=>{if(_&&!d.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){d.warningEmitted=!0;return}let W=parseInt(_.substring(1,_.indexOf("."))),K=22;if(W<K)d.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
4
4
|
versions published after the first week of January 2027
|
|
5
5
|
will require node >=${K}. You are running node ${_}.
|
|
@@ -7,5 +7,5 @@ will require node >=${K}. You are running node ${_}.
|
|
|
7
7
|
To continue receiving updates to AWS services, bug fixes,
|
|
8
8
|
and security updates please upgrade to node >=${K}.
|
|
9
9
|
|
|
10
|
-
More information can be found at: https://a.co/c895JFp`)}},SG=()=>(_,W)=>async(K)=>{return W.__retryLongPoll=!0,_(K)},PG={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},RG=(_)=>({applyToStack:(W)=>{W.add(SG(),PG)}});function AG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}Y_.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function H(_,W,K){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[W]=K}function kG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}function vG(_){return _}var GW=(_)=>(W)=>async(K)=>{if(!m.HttpRequest.isInstance(K.request))return W(K);let{request:G}=K,{handlerProtocol:Y=""}=_.requestHandler.metadata||{};if(Y.indexOf("h2")>=0&&!G.headers[":authority"])delete G.headers.host,G.headers[":authority"]=G.hostname+(G.port?":"+G.port:"");else if(!G.headers.host){let X=G.hostname;if(G.port!=null)X+=`:${G.port}`;G.headers.host=X}return W(K)},XW={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},xG=(_)=>({applyToStack:(W)=>{W.add(GW(_),XW)}}),YW=()=>(_,W)=>async(K)=>{try{let G=await _(K),{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L,overrideOutputFilterSensitiveLog:b}=Z,j=L??W.inputFilterSensitiveLog,Q=b??W.outputFilterSensitiveLog,{$metadata:J,...w}=G.output;return $?.info?.({clientName:Y,commandName:X,input:j(K.input),output:Q(w),metadata:J}),G}catch(G){let{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L}=Z,b=L??W.inputFilterSensitiveLog;throw $?.error?.({clientName:Y,commandName:X,input:b(K.input),error:G,metadata:G.$metadata}),G}},$W={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},fG=(_)=>({applyToStack:(W)=>{W.add(YW(),$W)}}),ZW={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},K_="X-Amzn-Trace-Id",yG="AWS_LAMBDA_FUNCTION_NAME",lG="_X_AMZN_TRACE_ID",bW=()=>(_)=>async(W)=>{let{request:K}=W;if(!m.HttpRequest.isInstance(K))return _(W);let G=Object.keys(K.headers??{}).find((j)=>j.toLowerCase()===K_.toLowerCase())??K_;if(K.headers.hasOwnProperty(G))return _(W);let Y=process.env[yG],X=process.env[lG],L=(await qG.InvokeStore.getInstanceAsync())?.getXRayTraceId()??X,b=(j)=>typeof j==="string"&&j.length>0;if(b(Y)&&b(L))K.headers[K_]=L;return _({...W,request:K})},cG=(_)=>({applyToStack:(W)=>{W.add(bW(),ZW)}}),$_=void 0;function dG(_){if(_===void 0)return!0;return typeof _==="string"&&_.length<=50}function mG(_){let W=IG.normalizeProvider(_.userAgentAppId??$_),{customUserAgent:K}=_;return Object.assign(_,{customUserAgent:typeof K==="string"?[[K]]:K,userAgentAppId:async()=>{let G=await W();if(!dG(G)){let Y=_.logger?.constructor?.name==="NoOpLogger"||!_.logger?console:_.logger;if(typeof G!=="string")Y?.warn("userAgentAppId must be a string or undefined.");else if(G.length>50)Y?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return G}})}var LW={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"},QW=LW,jW="",JW=(_)=>{let{partitions:W}=QW;for(let G of W){let{regions:Y,outputs:X}=G;for(let[$,Z]of Object.entries(Y))if($===_)return{...X,...Z}}for(let G of W){let{regionRegex:Y,outputs:X}=G;if(new RegExp(Y).test(_))return{...X}}let K=W.find((G)=>G.id==="aws");if(!K)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...K.outputs}},OW=(_,W="")=>{QW=_,jW=W},gG=()=>{OW(LW,"")},wW=()=>jW,uG=/\d{12}\.ddb/;async function pG(_,W,K){if(K.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")H(_,"PROTOCOL_RPC_V2_CBOR","M");if(typeof W.retryStrategy==="function"){let X=await W.retryStrategy();if(typeof X.mode==="string")switch(X.mode){case Y_.RETRY_MODES.ADAPTIVE:H(_,"RETRY_MODE_ADAPTIVE","F");break;case Y_.RETRY_MODES.STANDARD:H(_,"RETRY_MODE_STANDARD","E");break}}if(typeof W.accountIdEndpointMode==="function"){let X=_.endpointV2;if(String(X?.url?.hostname).match(uG))H(_,"ACCOUNT_ID_ENDPOINT","O");switch(await W.accountIdEndpointMode?.()){case"disabled":H(_,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":H(_,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":H(_,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let Y=_.__smithy_context?.selectedHttpAuthScheme?.identity;if(Y?.$source){let X=Y;if(X.accountId)H(_,"RESOLVED_ACCOUNT_ID","T");for(let[$,Z]of Object.entries(X.$source??{}))H(_,$,Z)}}var e_="user-agent",G_="x-amz-user-agent",_W=" ",X_="/",sG=/[^!$%&'*+\-.^_`|~\w]/g,aG=/[^!$%&'*+\-.^_`|~\w#]/g,WW="-",iG=1024;function nG(_){let W="";for(let K in _){let G=_[K];if(W.length+G.length+1<=iG){if(W.length)W+=","+G;else W+=G;continue}break}return W}var BW=(_)=>(W,K)=>async(G)=>{let{request:Y}=G;if(!m.HttpRequest.isInstance(Y))return W(G);let{headers:X}=Y,$=K?.userAgent?.map(c)||[],Z=(await _.defaultUserAgentProvider()).map(c);await pG(K,_,G);let L=K;Z.push(`m/${nG(Object.assign({},K.__smithy_context?.features,L.__aws_sdk_context?.features))}`);let b=_?.customUserAgent?.map(c)||[],j=await _.userAgentAppId();if(j)Z.push(c(["app",`${j}`]));let Q=wW(),J=(Q?[Q]:[]).concat([...Z,...$,...b]).join(_W),w=[...Z.filter((F)=>F.startsWith("aws-sdk-")),...b].join(_W);if(_.runtime!=="browser"){if(w)X[G_]=X[G_]?`${X[e_]} ${w}`:w;X[e_]=J}else X[G_]=J;return W({...G,request:Y})},c=(_)=>{let W=_[0].split(X_).map(($)=>$.replace(sG,WW)).join(X_),K=_[1]?.replace(aG,WW),G=W.indexOf(X_),Y=W.substring(0,G),X=W.substring(G+1);if(Y==="api")X=X.toLowerCase();return[Y,X,K].filter(($)=>$&&$.length>0).reduce(($,Z,L)=>{switch(L){case 0:return Z;case 1:return`${$}/${Z}`;default:return`${$}#${Z}`}},"")},HW={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},oG=(_)=>({applyToStack:(W)=>{W.add(BW(_),HW)}}),tG=()=>{let _=["deno","bun","llrt"];for(let W of _)if(P.versions[W])return[`md/${W}`,P.versions[W]];return["md/nodejs",P.versions.node]},rG=(_)=>{let W=process.cwd();if(!_)return[W];let K=E.normalize(_),G=K.split(E.sep),Y=G.indexOf("node_modules"),X=Y!==-1?G.slice(0,Y).join(E.sep):K;if(W===X)return[W];return[X,W]},eG=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/,zW=(_="")=>{let W=_.match(eG);if(!W)return;let[K,G,Y,X]=[W[1],W[2],W[3],W[4]];return X?`${K}.${G}.${Y}-${X}`:`${K}.${G}.${Y}`},_1=["^","~",">=","<=",">","<"],W1=["latest","beta","dev","rc","insiders","next"],K1=(_="")=>{if(W1.includes(_))return _;let W=_1.find((G)=>_.startsWith(G))??"",K=zW(_.slice(W.length));if(!K)return;return`${W}${K}`},B,G1=E.join("node_modules","typescript","package.json"),X1=async()=>{if(B===null)return;else if(typeof B==="string")return["md/tsc",B];let _=!1;try{_=z.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",z.SelectorType.ENV)||!1}catch{}if(_){B=null;return}let K=rG(typeof __dirname<"u"?__dirname:void 0),G;for(let $ of K)try{let Z=E.join($,"package.json"),L=await r_.readFile(Z,"utf-8"),{dependencies:b,devDependencies:j}=JSON.parse(L),Q=j?.typescript??b?.typescript;if(typeof Q!=="string")continue;G=Q;break}catch{}if(!G){B=null;return}let Y;for(let $ of K)try{let Z=E.join($,G1),L=await r_.readFile(Z,"utf-8"),{version:b}=JSON.parse(L),j=zW(b);if(typeof j!=="string")continue;Y=j;break}catch{}if(Y)return B=Y,["md/tsc",B];let X=K1(G);if(typeof X!=="string"){B=null;return}return B=`dev_${X}`,["md/tsc",B]},FW={isCrtAvailable:!1},Y1=()=>{if(FW.isCrtAvailable)return["md/crt-avail"];return null},MW=({serviceId:_,clientVersion:W})=>{let K=tG();return async(G)=>{let Y=[["aws-sdk-js",W],["ua","2.1"],[`os/${t_.platform()}`,t_.release()],["lang/js"],K],X=await X1();if(X)Y.push(X);let $=Y1();if($)Y.push($);if(_)Y.push([`api/${_}`,W]);if(P.env.AWS_EXECUTION_ENV)Y.push([`exec-env/${P.env.AWS_EXECUTION_ENV}`]);let Z=await G?.userAgentAppId?.();return Z?[...Y,[`app/${Z}`]]:[...Y]}},$1=MW,VW="AWS_SDK_UA_APP_ID",NW="sdk_ua_app_id",Z1="sdk-ua-app-id",b1={environmentVariableSelector:(_)=>_[VW],configFileSelector:(_)=>_[NW]??_[Z1],default:$_},L1=({serviceId:_,clientVersion:W})=>async(K)=>{let G=await import("./chunk-g10d6x57.js"),Y=G.parse??G.default.parse??(()=>""),X=typeof window<"u"&&window?.navigator?.userAgent?Y(window.navigator.userAgent):void 0,$=[["aws-sdk-js",W],["ua","2.1"],[`os/${X?.os?.name||"other"}`,X?.os?.version],["lang/js"],["md/browser",`${X?.browser?.name??"unknown"}_${X?.browser?.version??"unknown"}`]];if(_)$.push([`api/${_}`,W]);let Z=await K?.userAgentAppId?.();if(Z)$.push([`app/${Z}`]);return $},Q1={os(_){if(/iPhone|iPad|iPod/.test(_))return"iOS";if(/Macintosh|Mac OS X/.test(_))return"macOS";if(/Windows NT/.test(_))return"Windows";if(/Android/.test(_))return"Android";if(/Linux/.test(_))return"Linux";return},browser(_){if(/EdgiOS|EdgA|Edg\//.test(_))return"Microsoft Edge";if(/Firefox\//.test(_))return"Firefox";if(/Chrome\//.test(_))return"Chrome";if(/Safari\//.test(_))return"Safari";return}},Z_=(_,W=!1)=>{if(W){for(let K of _.split("."))if(!Z_(K))return!1;return!0}if(!C.isValidHostLabel(_))return!1;if(_.length<3||_.length>63)return!1;if(_!==_.toLowerCase())return!1;if(C.isIpAddress(_))return!1;return!0},KW=":",j1="/",UW=(_)=>{let W=_.split(KW);if(W.length<6)return null;let[K,G,Y,X,$,...Z]=W;if(K!=="arn"||G===""||Y===""||Z.join(KW)==="")return null;let L=Z.map((b)=>b.split(j1)).flat();return{partition:G,service:Y,region:X,accountId:$,resourceId:L}},EW={isVirtualHostableS3Bucket:Z_,parseArn:UW,partition:JW};C.customEndpointFunctions.aws=EW;var J1=(_)=>{if(typeof _.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:W}=_;if(W===void 0)_.endpoint=async()=>{return CW(_.endpointProvider({Region:typeof _.region==="function"?await _.region():_.region,UseDualStack:typeof _.useDualstackEndpoint==="function"?await _.useDualstackEndpoint():_.useDualstackEndpoint,UseFIPS:typeof _.useFipsEndpoint==="function"?await _.useFipsEndpoint():_.useFipsEndpoint,Endpoint:void 0},{logger:_.logger}))};return _},CW=(_)=>m.parseUrl(_.url);function O1(_={}){return z.loadConfig({...z.NODE_REGION_CONFIG_OPTIONS,async default(){if(!hW.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...z.NODE_REGION_CONFIG_FILE_OPTIONS,..._})}var hW={silence:!1},w1=(_)=>{return{setRegion(W){_.region=W},region(){return _.region}}},B1=(_)=>{return{region:_.region()}};H1.NODE_REGION_CONFIG_FILE_OPTIONS=z.NODE_REGION_CONFIG_FILE_OPTIONS;H1.NODE_REGION_CONFIG_OPTIONS=z.NODE_REGION_CONFIG_OPTIONS;H1.REGION_ENV_NAME=z.REGION_ENV_NAME;H1.REGION_INI_NAME=z.REGION_INI_NAME;H1.resolveRegionConfig=z.resolveRegionConfig;H1.EndpointError=C.EndpointError;H1.isIpAddress=C.isIpAddress;H1.resolveEndpoint=C.resolveEndpoint;H1.DEFAULT_UA_APP_ID=$_;H1.NODE_APP_ID_CONFIG_OPTIONS=b1;H1.UA_APP_ID_ENV_NAME=VW;H1.UA_APP_ID_INI_NAME=NW;H1.awsEndpointFunctions=EW;H1.createDefaultUserAgentProvider=MW;H1.createUserAgentStringParsingProvider=L1;H1.crtAvailability=FW;H1.defaultUserAgent=$1;H1.emitWarningIfUnsupportedVersion=TG;H1.fallback=Q1;H1.getAwsRegionExtensionConfiguration=w1;H1.getHostHeaderPlugin=xG;H1.getLoggerPlugin=fG;H1.getLongPollPlugin=RG;H1.getRecursionDetectionPlugin=cG;H1.getUserAgentMiddlewareOptions=HW;H1.getUserAgentPlugin=oG;H1.getUserAgentPrefix=wW;H1.hostHeaderMiddleware=GW;H1.hostHeaderMiddlewareOptions=XW;H1.isVirtualHostableS3Bucket=Z_;H1.loggerMiddleware=YW;H1.loggerMiddlewareOptions=$W;H1.parseArn=UW;H1.partition=JW;H1.recursionDetectionMiddleware=bW;H1.recursionDetectionMiddlewareOptions=ZW;H1.resolveAwsRegionExtensionConfiguration=B1;H1.resolveDefaultAwsRegionalEndpointsConfig=J1;H1.resolveHostHeaderConfig=vG;H1.resolveUserAgentConfig=mG;H1.setCredentialFeature=AG;H1.setFeature=H;H1.setPartitionInfo=OW;H1.setTokenFeature=kG;H1.state=d;H1.stsRegionDefaultResolver=O1;H1.stsRegionWarning=hW;H1.toEndpointV1=CW;H1.useDefaultPartitionInfo=gG;H1.userAgentMiddleware=BW});
|
|
10
|
+
More information can be found at: https://a.co/c895JFp`)}},SG=()=>(_,W)=>async(K)=>{return W.__retryLongPoll=!0,_(K)},PG={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},RG=(_)=>({applyToStack:(W)=>{W.add(SG(),PG)}});function AG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}Y_.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function H(_,W,K){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[W]=K}function kG(_,W,K){if(!_.$source)_.$source={};return _.$source[W]=K,_}function vG(_){return _}var GW=(_)=>(W)=>async(K)=>{if(!m.HttpRequest.isInstance(K.request))return W(K);let{request:G}=K,{handlerProtocol:Y=""}=_.requestHandler.metadata||{};if(Y.indexOf("h2")>=0&&!G.headers[":authority"])delete G.headers.host,G.headers[":authority"]=G.hostname+(G.port?":"+G.port:"");else if(!G.headers.host){let X=G.hostname;if(G.port!=null)X+=`:${G.port}`;G.headers.host=X}return W(K)},XW={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},xG=(_)=>({applyToStack:(W)=>{W.add(GW(_),XW)}}),YW=()=>(_,W)=>async(K)=>{try{let G=await _(K),{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L,overrideOutputFilterSensitiveLog:b}=Z,j=L??W.inputFilterSensitiveLog,Q=b??W.outputFilterSensitiveLog,{$metadata:J,...w}=G.output;return $?.info?.({clientName:Y,commandName:X,input:j(K.input),output:Q(w),metadata:J}),G}catch(G){let{clientName:Y,commandName:X,logger:$,dynamoDbDocumentClientOptions:Z={}}=W,{overrideInputFilterSensitiveLog:L}=Z,b=L??W.inputFilterSensitiveLog;throw $?.error?.({clientName:Y,commandName:X,input:b(K.input),error:G,metadata:G.$metadata}),G}},$W={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},fG=(_)=>({applyToStack:(W)=>{W.add(YW(),$W)}}),ZW={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},K_="X-Amzn-Trace-Id",yG="AWS_LAMBDA_FUNCTION_NAME",lG="_X_AMZN_TRACE_ID",bW=()=>(_)=>async(W)=>{let{request:K}=W;if(!m.HttpRequest.isInstance(K))return _(W);let G=Object.keys(K.headers??{}).find((j)=>j.toLowerCase()===K_.toLowerCase())??K_;if(K.headers.hasOwnProperty(G))return _(W);let Y=process.env[yG],X=process.env[lG],L=(await qG.InvokeStore.getInstanceAsync())?.getXRayTraceId()??X,b=(j)=>typeof j==="string"&&j.length>0;if(b(Y)&&b(L))K.headers[K_]=L;return _({...W,request:K})},cG=(_)=>({applyToStack:(W)=>{W.add(bW(),ZW)}}),$_=void 0;function dG(_){if(_===void 0)return!0;return typeof _==="string"&&_.length<=50}function mG(_){let W=IG.normalizeProvider(_.userAgentAppId??$_),{customUserAgent:K}=_;return Object.assign(_,{customUserAgent:typeof K==="string"?[[K]]:K,userAgentAppId:async()=>{let G=await W();if(!dG(G)){let Y=_.logger?.constructor?.name==="NoOpLogger"||!_.logger?console:_.logger;if(typeof G!=="string")Y?.warn("userAgentAppId must be a string or undefined.");else if(G.length>50)Y?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return G}})}var LW={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"},QW=LW,jW="",JW=(_)=>{let{partitions:W}=QW;for(let G of W){let{regions:Y,outputs:X}=G;for(let[$,Z]of Object.entries(Y))if($===_)return{...X,...Z}}for(let G of W){let{regionRegex:Y,outputs:X}=G;if(new RegExp(Y).test(_))return{...X}}let K=W.find((G)=>G.id==="aws");if(!K)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...K.outputs}},OW=(_,W="")=>{QW=_,jW=W},gG=()=>{OW(LW,"")},wW=()=>jW,uG=/\d{12}\.ddb/;async function pG(_,W,K){if(K.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")H(_,"PROTOCOL_RPC_V2_CBOR","M");if(typeof W.retryStrategy==="function"){let X=await W.retryStrategy();if(typeof X.mode==="string")switch(X.mode){case Y_.RETRY_MODES.ADAPTIVE:H(_,"RETRY_MODE_ADAPTIVE","F");break;case Y_.RETRY_MODES.STANDARD:H(_,"RETRY_MODE_STANDARD","E");break}}if(typeof W.accountIdEndpointMode==="function"){let X=_.endpointV2;if(String(X?.url?.hostname).match(uG))H(_,"ACCOUNT_ID_ENDPOINT","O");switch(await W.accountIdEndpointMode?.()){case"disabled":H(_,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":H(_,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":H(_,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let Y=_.__smithy_context?.selectedHttpAuthScheme?.identity;if(Y?.$source){let X=Y;if(X.accountId)H(_,"RESOLVED_ACCOUNT_ID","T");for(let[$,Z]of Object.entries(X.$source??{}))H(_,$,Z)}}var e_="user-agent",G_="x-amz-user-agent",_W=" ",X_="/",sG=/[^!$%&'*+\-.^_`|~\w]/g,aG=/[^!$%&'*+\-.^_`|~\w#]/g,WW="-",iG=1024;function nG(_){let W="";for(let K in _){let G=_[K];if(W.length+G.length+1<=iG){if(W.length)W+=","+G;else W+=G;continue}break}return W}var BW=(_)=>(W,K)=>async(G)=>{let{request:Y}=G;if(!m.HttpRequest.isInstance(Y))return W(G);let{headers:X}=Y,$=K?.userAgent?.map(c)||[],Z=(await _.defaultUserAgentProvider()).map(c);await pG(K,_,G);let L=K;Z.push(`m/${nG(Object.assign({},K.__smithy_context?.features,L.__aws_sdk_context?.features))}`);let b=_?.customUserAgent?.map(c)||[],j=await _.userAgentAppId();if(j)Z.push(c(["app",`${j}`]));let Q=wW(),J=(Q?[Q]:[]).concat([...Z,...$,...b]).join(_W),w=[...Z.filter((F)=>F.startsWith("aws-sdk-")),...b].join(_W);if(_.runtime!=="browser"){if(w)X[G_]=X[G_]?`${X[e_]} ${w}`:w;X[e_]=J}else X[G_]=J;return W({...G,request:Y})},c=(_)=>{let W=_[0].split(X_).map(($)=>$.replace(sG,WW)).join(X_),K=_[1]?.replace(aG,WW),G=W.indexOf(X_),Y=W.substring(0,G),X=W.substring(G+1);if(Y==="api")X=X.toLowerCase();return[Y,X,K].filter(($)=>$&&$.length>0).reduce(($,Z,L)=>{switch(L){case 0:return Z;case 1:return`${$}/${Z}`;default:return`${$}#${Z}`}},"")},HW={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},oG=(_)=>({applyToStack:(W)=>{W.add(BW(_),HW)}}),tG=()=>{let _=["deno","bun","llrt"];for(let W of _)if(P.versions[W])return[`md/${W}`,P.versions[W]];return["md/nodejs",P.versions.node]},rG=(_)=>{let W=process.cwd();if(!_)return[W];let K=E.normalize(_),G=K.split(E.sep),Y=G.indexOf("node_modules"),X=Y!==-1?G.slice(0,Y).join(E.sep):K;if(W===X)return[W];return[X,W]},eG=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/,zW=(_="")=>{let W=_.match(eG);if(!W)return;let[K,G,Y,X]=[W[1],W[2],W[3],W[4]];return X?`${K}.${G}.${Y}-${X}`:`${K}.${G}.${Y}`},_1=["^","~",">=","<=",">","<"],W1=["latest","beta","dev","rc","insiders","next"],K1=(_="")=>{if(W1.includes(_))return _;let W=_1.find((G)=>_.startsWith(G))??"",K=zW(_.slice(W.length));if(!K)return;return`${W}${K}`},B,G1=E.join("node_modules","typescript","package.json"),X1=async()=>{if(B===null)return;else if(typeof B==="string")return["md/tsc",B];let _=!1;try{_=z.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",z.SelectorType.ENV)||!1}catch{}if(_){B=null;return}let K=rG(typeof __dirname<"u"?__dirname:void 0),G;for(let $ of K)try{let Z=E.join($,"package.json"),L=await r_.readFile(Z,"utf-8"),{dependencies:b,devDependencies:j}=JSON.parse(L),Q=j?.typescript??b?.typescript;if(typeof Q!=="string")continue;G=Q;break}catch{}if(!G){B=null;return}let Y;for(let $ of K)try{let Z=E.join($,G1),L=await r_.readFile(Z,"utf-8"),{version:b}=JSON.parse(L),j=zW(b);if(typeof j!=="string")continue;Y=j;break}catch{}if(Y)return B=Y,["md/tsc",B];let X=K1(G);if(typeof X!=="string"){B=null;return}return B=`dev_${X}`,["md/tsc",B]},FW={isCrtAvailable:!1},Y1=()=>{if(FW.isCrtAvailable)return["md/crt-avail"];return null},MW=({serviceId:_,clientVersion:W})=>{let K=tG();return async(G)=>{let Y=[["aws-sdk-js",W],["ua","2.1"],[`os/${t_.platform()}`,t_.release()],["lang/js"],K],X=await X1();if(X)Y.push(X);let $=Y1();if($)Y.push($);if(_)Y.push([`api/${_}`,W]);if(P.env.AWS_EXECUTION_ENV)Y.push([`exec-env/${P.env.AWS_EXECUTION_ENV}`]);let Z=await G?.userAgentAppId?.();return Z?[...Y,[`app/${Z}`]]:[...Y]}},$1=MW,VW="AWS_SDK_UA_APP_ID",NW="sdk_ua_app_id",Z1="sdk-ua-app-id",b1={environmentVariableSelector:(_)=>_[VW],configFileSelector:(_)=>_[NW]??_[Z1],default:$_},L1=({serviceId:_,clientVersion:W})=>async(K)=>{let G=await import("./chunk-qddt2gcs.js"),Y=G.parse??G.default.parse??(()=>""),X=typeof window<"u"&&window?.navigator?.userAgent?Y(window.navigator.userAgent):void 0,$=[["aws-sdk-js",W],["ua","2.1"],[`os/${X?.os?.name||"other"}`,X?.os?.version],["lang/js"],["md/browser",`${X?.browser?.name??"unknown"}_${X?.browser?.version??"unknown"}`]];if(_)$.push([`api/${_}`,W]);let Z=await K?.userAgentAppId?.();if(Z)$.push([`app/${Z}`]);return $},Q1={os(_){if(/iPhone|iPad|iPod/.test(_))return"iOS";if(/Macintosh|Mac OS X/.test(_))return"macOS";if(/Windows NT/.test(_))return"Windows";if(/Android/.test(_))return"Android";if(/Linux/.test(_))return"Linux";return},browser(_){if(/EdgiOS|EdgA|Edg\//.test(_))return"Microsoft Edge";if(/Firefox\//.test(_))return"Firefox";if(/Chrome\//.test(_))return"Chrome";if(/Safari\//.test(_))return"Safari";return}},Z_=(_,W=!1)=>{if(W){for(let K of _.split("."))if(!Z_(K))return!1;return!0}if(!C.isValidHostLabel(_))return!1;if(_.length<3||_.length>63)return!1;if(_!==_.toLowerCase())return!1;if(C.isIpAddress(_))return!1;return!0},KW=":",j1="/",UW=(_)=>{let W=_.split(KW);if(W.length<6)return null;let[K,G,Y,X,$,...Z]=W;if(K!=="arn"||G===""||Y===""||Z.join(KW)==="")return null;let L=Z.map((b)=>b.split(j1)).flat();return{partition:G,service:Y,region:X,accountId:$,resourceId:L}},EW={isVirtualHostableS3Bucket:Z_,parseArn:UW,partition:JW};C.customEndpointFunctions.aws=EW;var J1=(_)=>{if(typeof _.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:W}=_;if(W===void 0)_.endpoint=async()=>{return CW(_.endpointProvider({Region:typeof _.region==="function"?await _.region():_.region,UseDualStack:typeof _.useDualstackEndpoint==="function"?await _.useDualstackEndpoint():_.useDualstackEndpoint,UseFIPS:typeof _.useFipsEndpoint==="function"?await _.useFipsEndpoint():_.useFipsEndpoint,Endpoint:void 0},{logger:_.logger}))};return _},CW=(_)=>m.parseUrl(_.url);function O1(_={}){return z.loadConfig({...z.NODE_REGION_CONFIG_OPTIONS,async default(){if(!hW.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...z.NODE_REGION_CONFIG_FILE_OPTIONS,..._})}var hW={silence:!1},w1=(_)=>{return{setRegion(W){_.region=W},region(){return _.region}}},B1=(_)=>{return{region:_.region()}};H1.NODE_REGION_CONFIG_FILE_OPTIONS=z.NODE_REGION_CONFIG_FILE_OPTIONS;H1.NODE_REGION_CONFIG_OPTIONS=z.NODE_REGION_CONFIG_OPTIONS;H1.REGION_ENV_NAME=z.REGION_ENV_NAME;H1.REGION_INI_NAME=z.REGION_INI_NAME;H1.resolveRegionConfig=z.resolveRegionConfig;H1.EndpointError=C.EndpointError;H1.isIpAddress=C.isIpAddress;H1.resolveEndpoint=C.resolveEndpoint;H1.DEFAULT_UA_APP_ID=$_;H1.NODE_APP_ID_CONFIG_OPTIONS=b1;H1.UA_APP_ID_ENV_NAME=VW;H1.UA_APP_ID_INI_NAME=NW;H1.awsEndpointFunctions=EW;H1.createDefaultUserAgentProvider=MW;H1.createUserAgentStringParsingProvider=L1;H1.crtAvailability=FW;H1.defaultUserAgent=$1;H1.emitWarningIfUnsupportedVersion=TG;H1.fallback=Q1;H1.getAwsRegionExtensionConfiguration=w1;H1.getHostHeaderPlugin=xG;H1.getLoggerPlugin=fG;H1.getLongPollPlugin=RG;H1.getRecursionDetectionPlugin=cG;H1.getUserAgentMiddlewareOptions=HW;H1.getUserAgentPlugin=oG;H1.getUserAgentPrefix=wW;H1.hostHeaderMiddleware=GW;H1.hostHeaderMiddlewareOptions=XW;H1.isVirtualHostableS3Bucket=Z_;H1.loggerMiddleware=YW;H1.loggerMiddlewareOptions=$W;H1.parseArn=UW;H1.partition=JW;H1.recursionDetectionMiddleware=bW;H1.recursionDetectionMiddlewareOptions=ZW;H1.resolveAwsRegionExtensionConfiguration=B1;H1.resolveDefaultAwsRegionalEndpointsConfig=J1;H1.resolveHostHeaderConfig=vG;H1.resolveUserAgentConfig=mG;H1.setCredentialFeature=AG;H1.setFeature=H;H1.setPartitionInfo=OW;H1.setTokenFeature=kG;H1.state=d;H1.stsRegionDefaultResolver=O1;H1.stsRegionWarning=hW;H1.toEndpointV1=CW;H1.useDefaultPartitionInfo=gG;H1.userAgentMiddleware=BW});
|
|
11
11
|
export{k_ as ze,i_ as Ae,OX as Be};
|