@qitqode/qitqode-android-arm64 0.2.1 → 0.2.3
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/bun +0 -0
- package/bundle/{chunk-2hv2c8d5.js → chunk-0428v6mw.js} +1 -1
- package/bundle/{chunk-0f3ft9dh.js → chunk-05ck7acg.js} +1 -1
- package/bundle/{chunk-p5mes2sh.js → chunk-083wpv6r.js} +1 -1
- package/bundle/{chunk-j5ymkhry.js → chunk-0cnwsf8p.js} +1 -1
- package/bundle/{chunk-6y4mwmn4.js → chunk-0nbteyb0.js} +2 -2
- package/bundle/chunk-0nqf1k20.js +2 -0
- package/bundle/chunk-0ppnq3a4.js +2 -0
- package/bundle/{chunk-6kf4vw2g.js → chunk-0qd3567w.js} +1 -1
- package/bundle/{chunk-jw114bbt.js → chunk-0smnwqk6.js} +2 -2
- package/bundle/chunk-0te0vcdn.js +2 -0
- package/bundle/{chunk-sh76e256.js → chunk-0vakk88p.js} +2 -2
- package/bundle/{chunk-wp3dpt6d.js → chunk-0vxnkstz.js} +2 -2
- package/bundle/{chunk-q4fn41ex.js → chunk-0xrb12s8.js} +2 -2
- package/bundle/chunk-11h06z17.js +2 -0
- package/bundle/chunk-16w710kf.js +3 -0
- package/bundle/{chunk-6dfjtzqb.js → chunk-21rq4592.js} +2 -2
- package/bundle/{chunk-y3dfk6n5.js → chunk-24rkf2gk.js} +1 -1
- package/bundle/{chunk-rdwma0de.js → chunk-24ygjbpf.js} +2 -2
- package/bundle/chunk-262s2yz2.js +2 -0
- package/bundle/chunk-28yv4fqe.js +2 -0
- package/bundle/{chunk-3tmq81kq.js → chunk-2drzgtv3.js} +2 -2
- package/bundle/{chunk-xd3xc1vv.js → chunk-2md6sx8d.js} +1 -1
- package/bundle/{chunk-v9rg0a8g.js → chunk-313zqzc1.js} +1 -1
- package/bundle/{chunk-zfd70p01.js → chunk-32j0q58h.js} +1 -1
- package/bundle/chunk-34a52hyr.js +2 -0
- package/bundle/{chunk-86jsqc7d.js → chunk-39z96pc6.js} +3 -3
- package/bundle/{chunk-g9end129.js → chunk-3atcc483.js} +1 -1
- package/bundle/{chunk-e6wp96vm.js → chunk-3jf3jhrs.js} +1 -1
- package/bundle/{chunk-4sxg9cgr.js → chunk-3kpse7zy.js} +1 -1
- package/bundle/chunk-3n3gb3vd.js +2 -0
- package/bundle/chunk-3sq60y9f.js +2 -0
- package/bundle/{chunk-2qwmrp16.js → chunk-3vvd7j14.js} +1 -1
- package/bundle/chunk-4086z5ys.js +2 -0
- package/bundle/{chunk-rcyzqa3g.js → chunk-450fef7h.js} +2 -2
- package/bundle/{chunk-kxjrrdj0.js → chunk-45a4n21f.js} +1 -1
- package/bundle/{chunk-xny5ecn0.js → chunk-47k5jy1p.js} +2 -2
- package/bundle/{chunk-dj3525nn.js → chunk-47z3x3dp.js} +189 -228
- package/bundle/{chunk-0gab4v98.js → chunk-48r70n4s.js} +1 -1
- package/bundle/chunk-49mbnqvc.js +2 -0
- package/bundle/{chunk-yerfyz4w.js → chunk-49xhybc2.js} +1 -1
- package/bundle/{chunk-t9zbp2qw.js → chunk-4agaj51z.js} +1 -1
- package/bundle/{chunk-faa0zxey.js → chunk-4dnntf9k.js} +2 -2
- package/bundle/chunk-4fr6kae9.js +2 -0
- package/bundle/chunk-4websxrs.js +2 -0
- package/bundle/chunk-516w1nc4.js +2 -0
- package/bundle/chunk-52w60e1f.js +2 -0
- package/bundle/chunk-535nm66j.js +2 -0
- package/bundle/{chunk-1p6jjrea.js → chunk-55fcmswd.js} +2 -2
- package/bundle/{chunk-n7kqdqkh.js → chunk-55ykn8nz.js} +4 -4
- package/bundle/chunk-565855py.js +2 -0
- package/bundle/chunk-56v352f8.js +2 -0
- package/bundle/chunk-5bjtq8t2.js +2 -0
- package/bundle/{chunk-as845ya4.js → chunk-5c2438af.js} +1 -1
- package/bundle/chunk-5kpxpm8e.js +2 -0
- package/bundle/chunk-5nm5s0h2.js +2 -0
- package/bundle/{chunk-07s30fpb.js → chunk-5nrc5rhh.js} +1 -1
- package/bundle/{chunk-jwph7tpc.js → chunk-5pwv2p3s.js} +1 -1
- package/bundle/{chunk-q5abwn50.js → chunk-5pzs51sp.js} +1 -1
- package/bundle/{chunk-r0s28gnb.js → chunk-5tky3csh.js} +1 -1
- package/bundle/{chunk-yajd975f.js → chunk-5w76kdjr.js} +1 -1
- package/bundle/{chunk-wcqfr8vr.js → chunk-5ysbwr4x.js} +1 -1
- package/bundle/{chunk-g5cgpvef.js → chunk-5zkj5xv9.js} +2 -2
- package/bundle/{chunk-fgn83bs7.js → chunk-65bmsp2t.js} +1 -1
- package/bundle/chunk-65t9b9eq.js +3 -0
- package/bundle/{chunk-9jrxrjzt.js → chunk-68v3b6ns.js} +2 -2
- package/bundle/{chunk-7ntw4rrn.js → chunk-6ar91jvd.js} +1 -1
- package/bundle/{chunk-bbbh69ys.js → chunk-6evh2ke8.js} +1 -1
- package/bundle/chunk-6gpf2bjs.js +2 -0
- package/bundle/{chunk-a2dz9nqh.js → chunk-6m9jb0s9.js} +2 -2
- package/bundle/{chunk-yvjke593.js → chunk-6scf311w.js} +1 -1
- package/bundle/{chunk-jjjs8p0t.js → chunk-6tstcwxp.js} +2 -2
- package/bundle/{chunk-5wwd40t3.js → chunk-70q8qcb2.js} +1 -1
- package/bundle/{chunk-pfkm3j8g.js → chunk-73r8bjjz.js} +2 -2
- package/bundle/{chunk-bzs2ep7s.js → chunk-78pt314g.js} +1 -1
- package/bundle/{chunk-hs3vfhar.js → chunk-7bcm7gg1.js} +1 -1
- package/bundle/chunk-7bgzcpdw.js +2 -0
- package/bundle/{chunk-ezfzb8qc.js → chunk-7g66qc1v.js} +2 -2
- package/bundle/{chunk-fd7fmvyw.js → chunk-7hvf9dgx.js} +1 -1
- package/bundle/chunk-7kjvcbwa.js +2 -0
- package/bundle/chunk-7knnz5f1.js +2 -0
- package/bundle/{chunk-6j339s7a.js → chunk-7mppvhv9.js} +2 -2
- package/bundle/{chunk-yqb6cfed.js → chunk-7vmx8bg9.js} +2 -2
- package/bundle/{chunk-7njz51r4.js → chunk-7x6yrtzn.js} +1 -1
- package/bundle/{chunk-skv9ww0s.js → chunk-804vmbcd.js} +1 -1
- package/bundle/{chunk-qeg0jnxq.js → chunk-88q0mtgp.js} +2 -2
- package/bundle/chunk-8jma2btf.js +2 -0
- package/bundle/{chunk-jgtcfw96.js → chunk-8mm92zn2.js} +2 -2
- package/bundle/{chunk-kdcnder5.js → chunk-8wwdrwf2.js} +1 -1
- package/bundle/{chunk-4fk46ngj.js → chunk-920z7g7j.js} +1 -1
- package/bundle/chunk-93e0w75z.js +2 -0
- package/bundle/{chunk-pzefsndd.js → chunk-953pqp3w.js} +1 -1
- package/bundle/chunk-96wwns35.js +2 -0
- package/bundle/chunk-97gp818s.js +2 -0
- package/bundle/chunk-9epf2zbh.js +2 -0
- package/bundle/chunk-9fyz4sxa.js +2 -0
- package/bundle/{chunk-4hd3v58j.js → chunk-9hz56z6a.js} +1 -1
- package/bundle/{chunk-rk2bk4s7.js → chunk-9zm6r55d.js} +2 -2
- package/bundle/chunk-a7wmadf1.js +2 -0
- package/bundle/{chunk-w7em72p8.js → chunk-ac7482n2.js} +2 -2
- package/bundle/chunk-agv04nt7.js +2 -0
- package/bundle/{chunk-cbmwhvxw.js → chunk-at22twxx.js} +2 -2
- package/bundle/{chunk-ahyqfbmq.js → chunk-avefgbjg.js} +2 -2
- package/bundle/chunk-azpnrnv9.js +8251 -0
- package/bundle/{chunk-z2h1gxyx.js → chunk-bbng1cea.js} +1 -1
- package/bundle/{chunk-5az84brc.js → chunk-bd21p9zz.js} +2 -2
- package/bundle/chunk-be7smmar.js +2 -0
- package/bundle/{chunk-y4e7e42x.js → chunk-bne5w117.js} +4 -4
- package/bundle/{chunk-j3jqk62r.js → chunk-bqn6bqws.js} +1 -1
- package/bundle/{chunk-f4zfk5ye.js → chunk-brws2aht.js} +1 -1
- package/bundle/chunk-bryx5cx9.js +2 -0
- package/bundle/{chunk-9eg2ytjd.js → chunk-bvf2dcq4.js} +3 -3
- package/bundle/{chunk-tge53d52.js → chunk-bwbqkfv0.js} +1 -1
- package/bundle/chunk-c13rrw41.js +2 -0
- package/bundle/chunk-c2kkv619.js +2 -0
- package/bundle/{chunk-64c8q9zg.js → chunk-c36p881g.js} +3 -3
- package/bundle/chunk-c5xj1y5v.js +2 -0
- package/bundle/chunk-c74cxhjb.js +2 -0
- package/bundle/chunk-cejyed1j.js +2 -0
- package/bundle/chunk-ckpm4dvv.js +2 -0
- package/bundle/{chunk-732yr6qq.js → chunk-cmb62jkt.js} +2 -2
- package/bundle/chunk-ct8twng1.js +2 -0
- package/bundle/{chunk-1q1cddy4.js → chunk-cz5vta94.js} +1 -1
- package/bundle/{chunk-fpm2vgz6.js → chunk-d0x5pbkm.js} +1 -1
- package/bundle/chunk-d38y7bvh.js +2 -0
- package/bundle/chunk-d6hxsfm6.js +2 -0
- package/bundle/{chunk-29zm623f.js → chunk-d6jhs818.js} +2 -2
- package/bundle/chunk-descb9jz.js +2 -0
- package/bundle/{chunk-mswx4k75.js → chunk-dnnkq5y4.js} +2 -2
- package/bundle/{chunk-6pcmv8vs.js → chunk-dnsh1v42.js} +2 -2
- package/bundle/{chunk-f7rj6fck.js → chunk-dqp4nmxs.js} +1 -1
- package/bundle/chunk-dvr2b9r1.js +2 -0
- package/bundle/{chunk-s0ty36qg.js → chunk-dxdggn90.js} +1 -1
- package/bundle/{chunk-vjx0064q.js → chunk-e8p92vz4.js} +2 -2
- package/bundle/chunk-ea5fktnn.js +2 -0
- package/bundle/{chunk-t1jgx17a.js → chunk-eg3syjtv.js} +2 -2
- package/bundle/{chunk-2a9rzgk6.js → chunk-ehb4hd9c.js} +1 -1
- package/bundle/{chunk-9jsgs71h.js → chunk-ejqzcdcx.js} +1 -1
- package/bundle/chunk-enmsp09e.js +3 -0
- package/bundle/chunk-epgcsjfp.js +2 -0
- package/bundle/{chunk-5t0w9ecw.js → chunk-et3804wr.js} +1 -1
- package/bundle/{chunk-yd8bzhv6.js → chunk-ezrqhqkp.js} +1 -1
- package/bundle/chunk-f0t7rryn.js +3 -0
- package/bundle/{chunk-p635phfw.js → chunk-f31yvp20.js} +1 -1
- package/bundle/chunk-f4mf6tpp.js +2 -0
- package/bundle/chunk-f97k17t8.js +2 -0
- package/bundle/{chunk-yx1h0b5v.js → chunk-faee8zgc.js} +1 -1
- package/bundle/{chunk-p9mj4zyk.js → chunk-ff548b0j.js} +2 -2
- package/bundle/{chunk-bgng3rdj.js → chunk-fhqfqd5v.js} +2 -2
- package/bundle/{chunk-zek5c15t.js → chunk-fjbv3jht.js} +1 -1
- package/bundle/{chunk-hpa7e9va.js → chunk-fsahzvd5.js} +3 -3
- package/bundle/chunk-g06a4chw.js +2 -0
- package/bundle/{chunk-hq9bgnqb.js → chunk-g22e4gw7.js} +1 -1
- package/bundle/{chunk-s0ptrw0z.js → chunk-g3wvtyw3.js} +1 -1
- package/bundle/{chunk-x4pdpka8.js → chunk-g42krp0z.js} +1 -1
- package/bundle/chunk-g4ehhdzp.js +2 -0
- package/bundle/{chunk-a9y27zd2.js → chunk-gbkz04ke.js} +1 -1
- package/bundle/chunk-gd6qpdjw.js +2 -0
- package/bundle/chunk-gehn9fd9.js +2 -0
- package/bundle/{chunk-0zxwjsvz.js → chunk-ggxzf22k.js} +1 -1
- package/bundle/{chunk-kzvvvj79.js → chunk-gszvgz76.js} +2 -2
- package/bundle/{chunk-g3kd4957.js → chunk-gy21fw82.js} +2 -2
- package/bundle/{chunk-cbf1y12x.js → chunk-h62chdmw.js} +1 -1
- package/bundle/{chunk-knh01n2r.js → chunk-h823m51m.js} +2 -2
- package/bundle/{chunk-zqkv8796.js → chunk-h99tj1e4.js} +1 -1
- package/bundle/{chunk-c1g8n10t.js → chunk-ha1w0xzh.js} +1 -1
- package/bundle/chunk-ha8b2n4x.js +2 -0
- package/bundle/{chunk-rpfhgncs.js → chunk-has2rz35.js} +1 -1
- package/bundle/chunk-hbyrwmne.js +2 -0
- package/bundle/chunk-hhax4mxw.js +2 -0
- package/bundle/{chunk-087tnr8a.js → chunk-hwrrrbqd.js} +1 -1
- package/bundle/chunk-hzrxmdqm.js +2 -0
- package/bundle/{chunk-yd2emszh.js → chunk-j0bwa5dk.js} +2 -2
- package/bundle/{chunk-9b4aqcde.js → chunk-j164q40b.js} +2 -2
- package/bundle/{chunk-qhnpq5gb.js → chunk-j8fcfhr2.js} +2 -2
- package/bundle/{chunk-9ea1n338.js → chunk-j9h1sp4g.js} +2 -2
- package/bundle/{chunk-yrfq22a5.js → chunk-jg1ccs3j.js} +1 -1
- package/bundle/{chunk-d307vb2d.js → chunk-jqk3v8d6.js} +1 -1
- package/bundle/chunk-jrwnz64e.js +3 -0
- package/bundle/chunk-jvkzdap1.js +2 -0
- package/bundle/chunk-jvybgsz5.js +5 -0
- package/bundle/{chunk-pp9neaaz.js → chunk-jww55nk9.js} +1 -1
- package/bundle/{chunk-fvy24yhq.js → chunk-k1nh5sd2.js} +1 -1
- package/bundle/{chunk-wfggztm4.js → chunk-k4gsktts.js} +1 -1
- package/bundle/{chunk-qaz100ht.js → chunk-k5q9px67.js} +1 -1
- package/bundle/chunk-kg8fcv91.js +2 -0
- package/bundle/chunk-kgptyf7n.js +3 -0
- package/bundle/{chunk-b50t4jc5.js → chunk-khzzmyk2.js} +1 -1
- package/bundle/chunk-kjjjrjnb.js +2 -0
- package/bundle/{chunk-jvjq554f.js → chunk-ksme3gj1.js} +1 -1
- package/bundle/chunk-m5cfmhwh.js +2 -0
- package/bundle/{chunk-4v61ysex.js → chunk-m5dm7a1t.js} +1 -1
- package/bundle/{chunk-yr35q7q1.js → chunk-m7ganre7.js} +1 -1
- package/bundle/chunk-m7qxxbns.js +2 -0
- package/bundle/{chunk-y287zwkr.js → chunk-mh19kwzw.js} +1 -1
- package/bundle/{chunk-7my2231h.js → chunk-mhhtf0v3.js} +1 -1
- package/bundle/{chunk-grw4gg9j.js → chunk-mjjaezwq.js} +2 -2
- package/bundle/{chunk-03mbn7nj.js → chunk-mmjgf680.js} +2 -2
- package/bundle/{chunk-jv4th87b.js → chunk-mn9end71.js} +1 -1
- package/bundle/{chunk-dknemkw2.js → chunk-msdypt5f.js} +2 -2
- package/bundle/chunk-n0b0dfqk.js +2 -0
- package/bundle/{chunk-3h49k2ck.js → chunk-n23d0q00.js} +1 -1
- package/bundle/{chunk-mpe8zxc0.js → chunk-n78f8hfk.js} +1 -1
- package/bundle/chunk-n8wg5h5p.js +2 -0
- package/bundle/chunk-nbd13scz.js +28 -0
- package/bundle/{chunk-r2qns6yc.js → chunk-nftgx6bz.js} +1 -1
- package/bundle/{chunk-gr4bctqj.js → chunk-nj1ntakd.js} +2 -2
- package/bundle/{chunk-wdaf713t.js → chunk-nrat6ncm.js} +1 -1
- package/bundle/{chunk-rm5ntsvn.js → chunk-nty5z2cj.js} +1 -1
- package/bundle/chunk-nvwzam7a.js +2 -0
- package/bundle/{chunk-rp8asmq7.js → chunk-p169ee92.js} +1 -1
- package/bundle/chunk-p27a88vp.js +7 -0
- package/bundle/{chunk-xjpvv3vp.js → chunk-p3rd2q47.js} +2 -2
- package/bundle/{chunk-fbm6qczy.js → chunk-p4027t94.js} +1 -1
- package/bundle/{chunk-94qhpkfx.js → chunk-p54bzjtv.js} +1 -1
- package/bundle/{chunk-cp39f96a.js → chunk-p5be5ddp.js} +1 -1
- package/bundle/{chunk-ngvp6zc2.js → chunk-p6crzjtf.js} +2 -2
- package/bundle/chunk-p6hcj3kv.js +2 -0
- package/bundle/{chunk-p4ewy9xh.js → chunk-pb30kkbs.js} +6 -6
- package/bundle/chunk-pexmns0j.js +2 -0
- package/bundle/{chunk-my3cswnp.js → chunk-ph8hn1wt.js} +2 -2
- package/bundle/{chunk-99148b1k.js → chunk-pmg53fdd.js} +1 -1
- package/bundle/{chunk-wf4x5cjc.js → chunk-pr7z5dj8.js} +1 -1
- package/bundle/chunk-pt603np4.js +2 -0
- package/bundle/{chunk-4mvg7jt1.js → chunk-ptqk1j2r.js} +1 -1
- package/bundle/{chunk-a92hh67a.js → chunk-pxm4qvqk.js} +2 -2
- package/bundle/{chunk-3qfpw8f6.js → chunk-qey1efpx.js} +1 -1
- package/bundle/chunk-qk5bfcv8.js +2 -0
- package/bundle/{chunk-mx3jd1p9.js → chunk-qktzz0sy.js} +1 -1
- package/bundle/{chunk-ks1cs80p.js → chunk-qnvsqnz5.js} +2 -2
- package/bundle/{chunk-bcx2vkv4.js → chunk-qp1n7kwe.js} +1 -1
- package/bundle/{chunk-xnhvt98g.js → chunk-qqrc1h5b.js} +2 -2
- package/bundle/{chunk-q148vndn.js → chunk-qqxrvyx0.js} +2 -2
- package/bundle/chunk-qr06byhp.js +2 -0
- package/bundle/{chunk-qg9bt0kx.js → chunk-qrxqfp59.js} +2 -2
- package/bundle/{chunk-gtjn3yc4.js → chunk-qxcyz5hc.js} +2 -2
- package/bundle/{chunk-kc1xmcc9.js → chunk-qznr1emx.js} +41 -39
- package/bundle/{chunk-0z1cxvk1.js → chunk-r5zy4za0.js} +2 -2
- package/bundle/chunk-r7sq3maz.js +2 -0
- package/bundle/{chunk-f83wv08n.js → chunk-r9w0thdk.js} +1 -1
- package/bundle/chunk-rmgs9nmj.js +2 -0
- package/bundle/{chunk-p887g1xj.js → chunk-rn83r0js.js} +1 -1
- package/bundle/{chunk-7myg8076.js → chunk-rp9r3cvt.js} +2 -2
- package/bundle/{chunk-n90eh3e7.js → chunk-rrv0n73b.js} +1 -1
- package/bundle/chunk-rscfes01.js +2 -0
- package/bundle/chunk-rytavefg.js +2 -0
- package/bundle/{chunk-ztn2jv26.js → chunk-s2gg38y0.js} +1 -1
- package/bundle/{chunk-yz0pwv2m.js → chunk-s4vx9x1v.js} +1 -1
- package/bundle/{chunk-x2cavpa9.js → chunk-sfw5qddj.js} +1 -1
- package/bundle/chunk-sh9vjnsh.js +2 -0
- package/bundle/{chunk-6avjq7my.js → chunk-smznrv7k.js} +1 -1
- package/bundle/chunk-snbw69t6.js +2 -0
- package/bundle/chunk-st0c5wwc.js +2 -0
- package/bundle/{chunk-vqss3e48.js → chunk-t0761rhq.js} +2 -2
- package/bundle/{chunk-vqpfpmha.js → chunk-t239rvej.js} +2 -2
- package/bundle/{chunk-bggybm9k.js → chunk-t8c4cs6z.js} +1 -1
- package/bundle/chunk-tdyvps17.js +35 -0
- package/bundle/chunk-teb3k2sf.js +2 -0
- package/bundle/{chunk-ve3np791.js → chunk-tg226j37.js} +1 -1
- package/bundle/{chunk-73fz0cf4.js → chunk-tkrwcjkr.js} +2 -2
- package/bundle/{chunk-v5z6sx6j.js → chunk-tm34qp8j.js} +1 -1
- package/bundle/chunk-tr6rdr6h.js +4 -0
- package/bundle/chunk-ts798jvf.js +2 -0
- package/bundle/chunk-tx5aj02v.js +2 -0
- package/bundle/{chunk-3aq70t26.js → chunk-tza09w2q.js} +1 -1
- package/bundle/chunk-v1t51rrq.js +2 -0
- package/bundle/{chunk-q9ft590w.js → chunk-v6h3nes1.js} +2 -2
- package/bundle/{chunk-e586sjb0.js → chunk-vcygx6hs.js} +2 -2
- package/bundle/{chunk-hmznf0ax.js → chunk-vdxar0ct.js} +1 -1
- package/bundle/{chunk-86yk21g4.js → chunk-venprxdp.js} +1 -1
- package/bundle/{chunk-ywkvq7zb.js → chunk-vf492zs6.js} +1 -1
- package/bundle/chunk-vh9ptqn0.js +2 -0
- package/bundle/{chunk-w79jzf8w.js → chunk-vnrjk2be.js} +1 -1
- package/bundle/{chunk-8q5ns61h.js → chunk-vshycswk.js} +1 -1
- package/bundle/{chunk-8e6gx3gg.js → chunk-vsz4s6zt.js} +1 -1
- package/bundle/{chunk-vhe92p7a.js → chunk-vygkwwjd.js} +2 -2
- package/bundle/{chunk-9rxyq6f9.js → chunk-w46g7kdq.js} +2 -2
- package/bundle/{chunk-q128vfc6.js → chunk-w4brava0.js} +1 -1
- package/bundle/{chunk-drwqag0f.js → chunk-w4synhfg.js} +1 -1
- package/bundle/chunk-w72rctxz.js +2 -0
- package/bundle/{chunk-mxhb5adq.js → chunk-w9gzfsy7.js} +2 -2
- package/bundle/chunk-wbw9zv3h.js +2 -0
- package/bundle/chunk-wg55bwqh.js +8 -0
- package/bundle/{chunk-1sfcxdbw.js → chunk-wkg3c643.js} +2 -2
- package/bundle/{chunk-2bgqy6z7.js → chunk-wwdpw27v.js} +1 -1
- package/bundle/{chunk-km1n4ttr.js → chunk-wy3a4cab.js} +1 -1
- package/bundle/{chunk-tczbhj0e.js → chunk-wyj8cpx5.js} +1 -1
- package/bundle/chunk-x6mw98c2.js +2 -0
- package/bundle/chunk-x9ptmxt7.js +2 -0
- package/bundle/{chunk-8rh0femq.js → chunk-xdd3553a.js} +1 -1
- package/bundle/{chunk-2jpmxt4v.js → chunk-xdteq9bd.js} +1 -1
- package/bundle/{chunk-9y15zjxa.js → chunk-xe69cnsk.js} +1 -1
- package/bundle/{chunk-qkh8697x.js → chunk-xq2kcar4.js} +2 -2
- package/bundle/{chunk-bk3z400e.js → chunk-y0527cg0.js} +1 -1
- package/bundle/{chunk-hrw5rmj1.js → chunk-y29ejqg2.js} +1 -1
- package/bundle/{chunk-42r7z6sq.js → chunk-y67kaj0b.js} +1 -1
- package/bundle/chunk-y6p57wgh.js +2 -0
- package/bundle/chunk-y6xs8v17.js +2 -0
- package/bundle/{chunk-zdzxsyxs.js → chunk-y7hgevfv.js} +2 -2
- package/bundle/{chunk-k1gddnkm.js → chunk-ybane1en.js} +1 -1
- package/bundle/{chunk-k6cbfrzc.js → chunk-yhj01dz9.js} +2 -2
- package/bundle/{chunk-2xqqkf86.js → chunk-ypdt9mmr.js} +2 -2
- package/bundle/chunk-yvn8dmah.js +2 -0
- package/bundle/{chunk-vm1ek7yf.js → chunk-yz25607t.js} +1 -1
- package/bundle/{chunk-ypcc3cnb.js → chunk-z1932c3f.js} +1 -1
- package/bundle/chunk-z3xsfpc6.js +2 -0
- package/bundle/chunk-z4kjxtjq.js +2 -0
- package/bundle/{chunk-6ypafpg8.js → chunk-z6sbjvtv.js} +1 -1
- package/bundle/chunk-z8mj4z6e.js +2 -0
- package/bundle/{chunk-ta7mfkms.js → chunk-zc0cdvcv.js} +2 -2
- package/bundle/chunk-zgv1e250.js +2 -0
- package/bundle/chunk-zn5pw733.js +2 -0
- package/bundle/{chunk-qf1dqzra.js → chunk-ztyy3ga3.js} +2 -2
- package/bundle/chunk-zxwvnmea.js +2 -0
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/qffi-compat.so +0 -0
- package/bundle/qffi.node +0 -0
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-073ydjmk.js +0 -2
- package/bundle/chunk-0xrr0k94.js +0 -2
- package/bundle/chunk-0yagj4ss.js +0 -2
- package/bundle/chunk-0ych0f5w.js +0 -2
- package/bundle/chunk-22hr3ndh.js +0 -2
- package/bundle/chunk-23tyxyyj.js +0 -2
- package/bundle/chunk-28g1ndpx.js +0 -2
- package/bundle/chunk-29v1v357.js +0 -2
- package/bundle/chunk-2avxtbv3.js +0 -2
- package/bundle/chunk-2qk0k2eb.js +0 -2
- package/bundle/chunk-3kn57y8d.js +0 -619
- package/bundle/chunk-3ktj87g4.js +0 -2
- package/bundle/chunk-3wxvpvg4.js +0 -3
- package/bundle/chunk-42wdfks8.js +0 -2
- package/bundle/chunk-4f19vqxf.js +0 -2
- package/bundle/chunk-4jq25vbc.js +0 -2
- package/bundle/chunk-4m3k1atq.js +0 -2
- package/bundle/chunk-4n2ytddp.js +0 -2
- package/bundle/chunk-4yg42p6y.js +0 -2
- package/bundle/chunk-4zx3ze68.js +0 -2
- package/bundle/chunk-57xbwzdn.js +0 -3
- package/bundle/chunk-637sjdzq.js +0 -2
- package/bundle/chunk-6bghztra.js +0 -2
- package/bundle/chunk-6h8f89tt.js +0 -2
- package/bundle/chunk-6sjj203r.js +0 -2
- package/bundle/chunk-79aka9xe.js +0 -2
- package/bundle/chunk-7nqdhe7x.js +0 -2
- package/bundle/chunk-7rhry8nv.js +0 -2
- package/bundle/chunk-7x88b2n2.js +0 -2
- package/bundle/chunk-7zvawpe1.js +0 -7
- package/bundle/chunk-8mthftwc.js +0 -2
- package/bundle/chunk-8wdara3b.js +0 -2
- package/bundle/chunk-8xhzpnph.js +0 -2
- package/bundle/chunk-9akz8w0d.js +0 -2
- package/bundle/chunk-9etpppyv.js +0 -3
- package/bundle/chunk-9nn4jpb7.js +0 -2
- package/bundle/chunk-9tk4wsn4.js +0 -2
- package/bundle/chunk-a0rjp24v.js +0 -2
- package/bundle/chunk-a7p0x4sw.js +0 -2
- package/bundle/chunk-ae0a496j.js +0 -2
- package/bundle/chunk-aq1j9y18.js +0 -2
- package/bundle/chunk-aq8nz9hp.js +0 -2
- package/bundle/chunk-b4zy78be.js +0 -2
- package/bundle/chunk-basjzwqp.js +0 -2
- package/bundle/chunk-bhetpmgq.js +0 -3
- package/bundle/chunk-bm7xpjh6.js +0 -2
- package/bundle/chunk-c2k556rk.js +0 -2
- package/bundle/chunk-d41mg7at.js +0 -2
- package/bundle/chunk-d50kpss6.js +0 -2
- package/bundle/chunk-day0rb5p.js +0 -2
- package/bundle/chunk-dp7cww4v.js +0 -2
- package/bundle/chunk-e89zjjmj.js +0 -2
- package/bundle/chunk-egae7vvg.js +0 -2
- package/bundle/chunk-erdjd9w3.js +0 -2
- package/bundle/chunk-ex93y6dw.js +0 -2
- package/bundle/chunk-eyr0vf92.js +0 -2
- package/bundle/chunk-f1bcz9yz.js +0 -2
- package/bundle/chunk-fghqr4x8.js +0 -8
- package/bundle/chunk-fvkwcx35.js +0 -2
- package/bundle/chunk-fymt1rym.js +0 -5
- package/bundle/chunk-gbmmbhy4.js +0 -2
- package/bundle/chunk-gp877cq5.js +0 -2
- package/bundle/chunk-hk8vvc10.js +0 -2
- package/bundle/chunk-hwavzxdm.js +0 -2
- package/bundle/chunk-hwnc2sa5.js +0 -2
- package/bundle/chunk-j2gvpa15.js +0 -2
- package/bundle/chunk-j7n8khk7.js +0 -2
- package/bundle/chunk-jkh98wby.js +0 -2
- package/bundle/chunk-k5a652s4.js +0 -2
- package/bundle/chunk-k6w32q2p.js +0 -2
- package/bundle/chunk-ke5rqv5b.js +0 -2
- package/bundle/chunk-kghwk0yh.js +0 -2
- package/bundle/chunk-mgadsp7r.js +0 -2
- package/bundle/chunk-mk2s9py8.js +0 -2
- package/bundle/chunk-mxf9p0p9.js +0 -2
- package/bundle/chunk-n0k0pp4k.js +0 -2
- package/bundle/chunk-n393nnh5.js +0 -2
- package/bundle/chunk-n5vyed7w.js +0 -2
- package/bundle/chunk-nb86kh94.js +0 -7612
- package/bundle/chunk-nh044sjn.js +0 -2
- package/bundle/chunk-nm6wnne9.js +0 -3
- package/bundle/chunk-pasm65wq.js +0 -2
- package/bundle/chunk-pfh34atn.js +0 -2
- package/bundle/chunk-phpmxjf8.js +0 -2
- package/bundle/chunk-qvzvxsjw.js +0 -2
- package/bundle/chunk-qzszrd0s.js +0 -2
- package/bundle/chunk-rnq5ezrt.js +0 -2
- package/bundle/chunk-s7yza695.js +0 -2
- package/bundle/chunk-s99cvvc9.js +0 -2
- package/bundle/chunk-skpkjnyy.js +0 -2
- package/bundle/chunk-snt4kwab.js +0 -2
- package/bundle/chunk-sq47t8f1.js +0 -2
- package/bundle/chunk-sqhgnvvs.js +0 -2
- package/bundle/chunk-t114r59h.js +0 -2
- package/bundle/chunk-t1f56k0j.js +0 -2
- package/bundle/chunk-t69jx6fz.js +0 -2
- package/bundle/chunk-tce12v85.js +0 -3
- package/bundle/chunk-tq1dqhes.js +0 -2
- package/bundle/chunk-tsb3jsx4.js +0 -2
- package/bundle/chunk-ttpbpzbh.js +0 -2
- package/bundle/chunk-v667egp5.js +0 -2
- package/bundle/chunk-v7mg632n.js +0 -3
- package/bundle/chunk-x3afqfww.js +0 -4
- package/bundle/chunk-xwgc2pw7.js +0 -28
- package/bundle/chunk-xxrtr6sd.js +0 -2
- package/bundle/chunk-y8eggnrr.js +0 -2
- package/bundle/chunk-yck5h49c.js +0 -2
- package/bundle/chunk-yg0pfngv.js +0 -2
- package/bundle/chunk-yxeja9kg.js +0 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-f83wv08n.js";var Ys=Object.defineProperty,is=(e)=>{throw TypeError(e)},rs=(e,t)=>{for(var s in t)Ys(e,s,{get:t[s],enumerable:!0})},Je=(e,t,s)=>t.has(e)||is("Cannot "+s),M=(e,t,s)=>(Je(e,t,"read from private field"),s?s.call(e):t.get(e)),J=(e,t,s)=>t.has(e)?is("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Ne=(e,t,s,i)=>(Je(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),l=(e,t,s)=>(Je(e,t,"access private method"),s),ns={};rs(ns,{parsers:()=>as});var as={};rs(as,{__ng_action:()=>Vr,__ng_binding:()=>Wr,__ng_directive:()=>Kr,__ng_interpolation:()=>_r});var qr=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g"),nt;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(nt||(nt={}));var at;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(at||(at={}));var ot;(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(ot||(ot={}));var R;(function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"})(R||(R={}));var lt;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(lt||(lt={}));var ut;(function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"})(ut||(ut={}));var ct;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(ct||(ct={}));var ht;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(ht||(ht={}));var pt;(function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"})(pt||(pt={}));var dt;(function(e){e[e.None=0]="None",e[e.Const=1]="Const"})(dt||(dt={}));var mt;(function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"})(mt||(mt={}));var Xs=void 0,ft;(function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"})(ft||(ft={}));var S;(function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseOr=11]="BitwiseOr",e[e.BitwiseAnd=12]="BitwiseAnd",e[e.Lower=13]="Lower",e[e.LowerEquals=14]="LowerEquals",e[e.Bigger=15]="Bigger",e[e.BiggerEquals=16]="BiggerEquals",e[e.NullishCoalesce=17]="NullishCoalesce",e[e.Exponentiation=18]="Exponentiation",e[e.In=19]="In"})(S||(S={}));function Js(e,t){return e==null||t==null?e==t:e.isEquivalent(t)}function Zs(e,t,s){let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(!s(e[r],t[r]))return!1;return!0}function Le(e,t){return Zs(e,t,(s,i)=>s.isEquivalent(i))}var I=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new li(this,e,null,t)}key(e,t,s){return new ui(this,e,t,s)}callFn(e,t,s){return new ri(this,e,null,t,s)}instantiate(e,t,s){return new ni(this,e,t,s)}conditional(e,t=null,s){return new oi(this,e,t,null,s)}equals(e,t){return new C(S.Equals,this,e,null,t)}notEquals(e,t){return new C(S.NotEquals,this,e,null,t)}identical(e,t){return new C(S.Identical,this,e,null,t)}notIdentical(e,t){return new C(S.NotIdentical,this,e,null,t)}minus(e,t){return new C(S.Minus,this,e,null,t)}plus(e,t){return new C(S.Plus,this,e,null,t)}divide(e,t){return new C(S.Divide,this,e,null,t)}multiply(e,t){return new C(S.Multiply,this,e,null,t)}modulo(e,t){return new C(S.Modulo,this,e,null,t)}power(e,t){return new C(S.Exponentiation,this,e,null,t)}and(e,t){return new C(S.And,this,e,null,t)}bitwiseOr(e,t){return new C(S.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new C(S.BitwiseAnd,this,e,null,t)}or(e,t){return new C(S.Or,this,e,null,t)}lower(e,t){return new C(S.Lower,this,e,null,t)}lowerEquals(e,t){return new C(S.LowerEquals,this,e,null,t)}bigger(e,t){return new C(S.Bigger,this,e,null,t)}biggerEquals(e,t){return new C(S.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(TYPED_NULL_EXPR,e)}nullishCoalesce(e,t){return new C(S.NullishCoalesce,this,e,null,t)}toStmt(){return new di(this,null)}},os=class e extends I{name;constructor(t,s,i){super(s,i),this.name=t}isEquivalent(t){return t instanceof e&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadVarExpr(this,s)}clone(){return new e(this.name,this.type,this.sourceSpan)}set(t){return new ti(this.name,t,null,this.sourceSpan)}},ei=class e extends I{expr;constructor(t,s,i){super(s,i),this.expr=t}visitExpression(t,s){return t.visitTypeofExpr(this,s)}isEquivalent(t){return t instanceof e&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new e(this.expr.clone())}},ti=class e extends I{name;value;constructor(t,s,i,r){super(i||s.type,r),this.name=t,this.value=s}isEquivalent(t){return t instanceof e&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteVarExpr(this,s)}clone(){return new e(this.name,this.value.clone(),this.type,this.sourceSpan)}toDeclStmt(t,s){return new pi(this.name,this.value,t,s,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Xs,ce.Final)}},si=class e extends I{receiver;index;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.index=s,this.value=i}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteKeyExpr(this,s)}clone(){return new e(this.receiver.clone(),this.index.clone(),this.value.clone(),this.type,this.sourceSpan)}},ii=class e extends I{receiver;name;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.name=s,this.value=i}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWritePropExpr(this,s)}clone(){return new e(this.receiver.clone(),this.name,this.value.clone(),this.type,this.sourceSpan)}},ri=class e extends I{fn;args;pure;constructor(t,s,i,r,a=!1){super(i,r),this.fn=t,this.args=s,this.pure=a}get receiver(){return this.fn}isEquivalent(t){return t instanceof e&&this.fn.isEquivalent(t.fn)&&Le(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,s){return t.visitInvokeFunctionExpr(this,s)}clone(){return new e(this.fn.clone(),this.args.map((t)=>t.clone()),this.type,this.sourceSpan,this.pure)}},ni=class e extends I{classExpr;args;constructor(t,s,i,r){super(i,r),this.classExpr=t,this.args=s}isEquivalent(t){return t instanceof e&&this.classExpr.isEquivalent(t.classExpr)&&Le(this.args,t.args)}isConstant(){return!1}visitExpression(t,s){return t.visitInstantiateExpr(this,s)}clone(){return new e(this.classExpr.clone(),this.args.map((t)=>t.clone()),this.type,this.sourceSpan)}},vt=class e extends I{value;constructor(t,s,i){super(s,i),this.value=t}isEquivalent(t){return t instanceof e&&this.value===t.value}isConstant(){return!0}visitExpression(t,s){return t.visitLiteralExpr(this,s)}clone(){return new e(this.value,this.type,this.sourceSpan)}},ai=class e extends I{value;typeParams;constructor(t,s,i=null,r){super(s,r),this.value=t,this.typeParams=i}isEquivalent(t){return t instanceof e&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName}isConstant(){return!1}visitExpression(t,s){return t.visitExternalExpr(this,s)}clone(){return new e(this.value,this.type,this.typeParams,this.sourceSpan)}},oi=class e extends I{condition;falseCase;trueCase;constructor(t,s,i=null,r,a){super(r||s.type,a),this.condition=t,this.falseCase=i,this.trueCase=s}isEquivalent(t){return t instanceof e&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&Js(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,s){return t.visitConditionalExpr(this,s)}clone(){var t;return new e(this.condition.clone(),this.trueCase.clone(),(t=this.falseCase)==null?void 0:t.clone(),this.type,this.sourceSpan)}},C=class e extends I{operator;rhs;lhs;constructor(t,s,i,r,a){super(r||s.type,a),this.operator=t,this.rhs=i,this.lhs=s}isEquivalent(t){return t instanceof e&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,s){return t.visitBinaryOperatorExpr(this,s)}clone(){return new e(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}},li=class e extends I{receiver;name;constructor(t,s,i,r){super(i,r),this.receiver=t,this.name=s}get index(){return this.name}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadPropExpr(this,s)}set(t){return new ii(this.receiver,this.name,t,null,this.sourceSpan)}clone(){return new e(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},ui=class e extends I{receiver;index;constructor(t,s,i,r){super(i,r),this.receiver=t,this.index=s}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,s){return t.visitReadKeyExpr(this,s)}set(t){return new si(this.receiver,this.index,t,null,this.sourceSpan)}clone(){return new e(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},ci=class e extends I{entries;constructor(t,s,i){super(s,i),this.entries=t}isConstant(){return this.entries.every((t)=>t.isConstant())}isEquivalent(t){return t instanceof e&&Le(this.entries,t.entries)}visitExpression(t,s){return t.visitLiteralArrayExpr(this,s)}clone(){return new e(this.entries.map((t)=>t.clone()),this.type,this.sourceSpan)}},hi=class e extends I{entries;valueType=null;constructor(t,s,i){super(s,i),this.entries=t,s&&(this.valueType=s.valueType)}isEquivalent(t){return t instanceof e&&Le(this.entries,t.entries)}isConstant(){return this.entries.every((t)=>t.value.isConstant())}visitExpression(t,s){return t.visitLiteralMapExpr(this,s)}clone(){let t=this.entries.map((s)=>s.clone());return new e(t,this.type,this.sourceSpan)}},ce;(function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"})(ce||(ce={}));var ls=class{modifiers;sourceSpan;leadingComments;constructor(e=ce.None,t=null,s){this.modifiers=e,this.sourceSpan=t,this.leadingComments=s}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},pi=class e extends ls{name;value;type;constructor(t,s,i,r,a,o){super(r,a,o),this.name=t,this.value=s,this.type=i||s&&s.type||null}isEquivalent(t){return t instanceof e&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,s){return t.visitDeclareVarStmt(this,s)}},di=class e extends ls{expr;constructor(t,s,i){super(ce.None,s,i),this.expr=t}isEquivalent(t){return t instanceof e&&this.expr.isEquivalent(t.expr)}visitStatement(t,s){return t.visitExpressionStmt(this,s)}};function mi(e,t,s){return new os(e,t,s)}var $r=mi("<unknown>"),Hr=class e{static INSTANCE=new e;keyOf(t){if(t instanceof vt&&typeof t.value=="string")return`"${t.value}"`;if(t instanceof vt)return String(t.value);if(t instanceof ci){let s=[];for(let i of t.entries)s.push(this.keyOf(i));return`[${s.join(",")}]`}else if(t instanceof hi){let s=[];for(let i of t.entries){let r=i.key;i.quoted&&(r=`"${r}"`),s.push(r+":"+this.keyOf(i.value))}return`{${s.join(",")}}`}else{if(t instanceof ai)return`import("${t.value.moduleName}", ${t.value.name})`;if(t instanceof os)return`read(${t.name})`;if(t instanceof ei)return`typeof(${this.keyOf(t.expr)})`;throw Error(`${this.constructor.name} does not handle expressions of type ${t.constructor.name}`)}}},n="@angular/core",c=class{static NEW_METHOD="factory";static TRANSFORM_METHOD="transform";static PATCH_DEPS="patchedDeps";static core={name:null,moduleName:n};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:n};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:n};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:n};static element={name:"\u0275\u0275element",moduleName:n};static elementStart={name:"\u0275\u0275elementStart",moduleName:n};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:n};static advance={name:"\u0275\u0275advance",moduleName:n};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:n};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:n};static attribute={name:"\u0275\u0275attribute",moduleName:n};static classProp={name:"\u0275\u0275classProp",moduleName:n};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:n};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:n};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:n};static styleMap={name:"\u0275\u0275styleMap",moduleName:n};static classMap={name:"\u0275\u0275classMap",moduleName:n};static styleProp={name:"\u0275\u0275styleProp",moduleName:n};static interpolate={name:"\u0275\u0275interpolate",moduleName:n};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:n};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:n};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:n};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:n};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:n};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:n};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:n};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:n};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:n};static nextContext={name:"\u0275\u0275nextContext",moduleName:n};static resetView={name:"\u0275\u0275resetView",moduleName:n};static templateCreate={name:"\u0275\u0275template",moduleName:n};static defer={name:"\u0275\u0275defer",moduleName:n};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:n};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:n};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:n};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:n};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:n};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:n};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:n};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:n};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:n};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:n};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:n};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:n};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:n};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:n};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:n};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:n};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:n};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:n};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:n};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:n};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:n};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:n};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:n};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:n};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:n};static conditional={name:"\u0275\u0275conditional",moduleName:n};static repeater={name:"\u0275\u0275repeater",moduleName:n};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:n};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:n};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:n};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:n};static text={name:"\u0275\u0275text",moduleName:n};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:n};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:n};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:n};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:n};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:n};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:n};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:n};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:n};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:n};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:n};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:n};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:n};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:n};static restoreView={name:"\u0275\u0275restoreView",moduleName:n};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:n};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:n};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:n};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:n};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:n};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:n};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:n};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:n};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:n};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:n};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:n};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:n};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:n};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:n};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:n};static domProperty={name:"\u0275\u0275domProperty",moduleName:n};static property={name:"\u0275\u0275property",moduleName:n};static i18n={name:"\u0275\u0275i18n",moduleName:n};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:n};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:n};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:n};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:n};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:n};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:n};static pipe={name:"\u0275\u0275pipe",moduleName:n};static projection={name:"\u0275\u0275projection",moduleName:n};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:n};static reference={name:"\u0275\u0275reference",moduleName:n};static inject={name:"\u0275\u0275inject",moduleName:n};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:n};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:n};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:n};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:n};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:n};static forwardRef={name:"forwardRef",moduleName:n};static resolveForwardRef={name:"resolveForwardRef",moduleName:n};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:n};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:n};static \u{275}\u{275}defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:n};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:n};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:n};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:n};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:n};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:n};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:n};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:n};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:n};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:n};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:n};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:n};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:n};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:n};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:n};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:n};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:n};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:n};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:n};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:n};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:n};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:n};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:n};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:n};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:n};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:n};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:n};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:n};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:n};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:n};static definePipe={name:"\u0275\u0275definePipe",moduleName:n};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:n};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:n};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:n};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:n};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:n};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:n};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:n};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:n};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:n};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:n};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:n};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:n};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:n};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:n};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:n};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:n};static declareLet={name:"\u0275\u0275declareLet",moduleName:n};static storeLet={name:"\u0275\u0275storeLet",moduleName:n};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:n};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:n};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:n};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:n};static CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:n};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:n};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:n};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:n};static listener={name:"\u0275\u0275listener",moduleName:n};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:n};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:n};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:n};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:n};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:n};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:n};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:n};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:n};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:n};static validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:n};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:n};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:n};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:n}},fi=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},xt;(function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"})(xt||(xt={}));var We=class{input;errLocation;ctxLocation;message;constructor(e,t,s,i){this.input=t,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${e} ${s} [${t}] in ${i}`}},he=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new q(e+this.start,e+this.end)}},g=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},Ae=class extends g{nameSpan;constructor(e,t,s){super(e,t),this.nameSpan=s}},k=class extends g{visit(e,t=null){}},Ie=class extends g{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},vi=class extends Ie{visit(e,t=null){var s;return(s=e.visitThisReceiver)==null?void 0:s.call(e,this,t)}},us=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitChain(this,t)}},cs=class extends g{condition;trueExp;falseExp;constructor(e,t,s,i,r){super(e,t),this.condition=s,this.trueExp=i,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}},_e=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}},hs=class extends Ae{receiver;name;value;constructor(e,t,s,i,r,a){super(e,t,s),this.receiver=i,this.name=r,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},Ke=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},ps=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}},qe=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},ds=class extends g{receiver;key;value;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.key=i,this.value=r}visit(e,t=null){return e.visitKeyedWrite(this,t)}},ms=class extends Ae{exp;name;args;constructor(e,t,s,i,r,a){super(e,t,a),this.exp=s,this.name=i,this.args=r}visit(e,t=null){return e.visitPipe(this,t)}},L=class extends g{value;constructor(e,t,s){super(e,t),this.value=s}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},fs=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitLiteralArray(this,t)}},vs=class extends g{keys;values;constructor(e,t,s,i){super(e,t),this.keys=s,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}},xs=class extends g{strings;expressions;constructor(e,t,s,i){super(e,t),this.strings=s,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}},A=class extends g{operation;left;right;constructor(e,t,s,i,r){super(e,t),this.operation=s,this.left=i,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}},ge=class e extends A{operator;expr;left=null;right=null;operation=null;static createMinus(t,s,i){return new e(t,s,"-",i,"-",new L(t,s,0),i)}static createPlus(t,s,i){return new e(t,s,"+",i,"-",i,new L(t,s,0))}constructor(t,s,i,r,a,o,h){super(t,s,a,o,h),this.operator=i,this.expr=r}visit(t,s=null){return t.visitUnary!==void 0?t.visitUnary(this,s):t.visitBinary(this,s)}},Pe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitPrefixNot(this,t)}},Te=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitTypeofExpression(this,t)}},Oe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitVoidExpression(this,t)}},ys=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitNonNullAssert(this,t)}},gs=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}},$e=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}},He=class extends g{tag;template;constructor(e,t,s,i){super(e,t),this.tag=s,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},Ue=class extends g{elements;expressions;constructor(e,t,s,i){super(e,t),this.elements=s,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}},je=class extends g{text;constructor(e,t,s){super(e,t),this.text=s}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},Es=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t){return e.visitParenthesizedExpression(this,t)}},q=class{start;end;constructor(e,t){this.start=e,this.end=t}},U=class extends g{ast;source;location;errors;constructor(e,t,s,i,r){super(new he(0,t===null?0:t.length),new q(i,t===null?i:i+t.length)),this.ast=e,this.source=t,this.location=s,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},Ge=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},ws=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},xi=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let s=0;s<e.elements.length;s++){this.visit(e.elements[s],t);let i=s<e.expressions.length?e.expressions[s]:null;i!==null&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitAll(e,t){for(let s of e)this.visit(s,t)}},yt;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION",e[e.TWO_WAY=3]="TWO_WAY"})(yt||(yt={}));var gt;(function(e){e[e.Regular=0]="Regular",e[e.Animation=1]="Animation",e[e.TwoWay=2]="TwoWay"})(gt||(gt={}));var F;(function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.Animation=4]="Animation",e[e.TwoWay=5]="TwoWay"})(F||(F={}));var Et;(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(Et||(Et={}));var yi=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function gi(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let s=t[0],i=t[1];yi.forEach((r)=>{if(r.test(s)||r.test(i))throw Error(`['${s}', '${i}'] contains unusable interpolation symbol.`)})}}var Ei=class e{start;end;static fromArray(t){return t?(gi("interpolation",t),new e(t[0],t[1])):j}constructor(t,s){this.start=t,this.end=s}},j=new Ei("{{","}}"),fe=0,Ss=9,wi=10,Si=11,Ci=12,Ni=13,Cs=32,Ii=33,Ns=34,Pi=35,Ze=36,Ti=37,wt=38,Is=39,Ee=40,G=41,St=42,Ps=43,ie=44,Ts=45,z=46,ze=47,Q=58,re=59,Oi=60,ve=61,bi=62,Ct=63,ki=48,Li=57,Os=65,Ai=69,bs=90,we=91,Nt=92,ne=93,Mi=94,et=95,ks=97,Ri=101,Bi=102,Di=110,Fi=114,Vi=116,Wi=117,_i=118,Ls=122,be=123,It=124,ae=125,As=160,Qe=96;function Ki(e){return e>=Ss&&e<=Cs||e==As}function K(e){return ki<=e&&e<=Li}function qi(e){return e>=ks&&e<=Ls||e>=Os&&e<=bs}function Pt(e){return e===Is||e===Ns||e===Qe}var Tt;(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(Tt||(Tt={}));var Ot;(function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"})(Ot||(Ot={}));var bt;(function(e){e[e.Global=0]="Global",e[e.Local=1]="Local"})(bt||(bt={}));var kt;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(kt||(kt={}));var $i="(:(where|is)\\()?",Ms="-shadowcsshost",Hi="-shadowcsscontext",Rs="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))",Ur=new RegExp(Ms+Rs+"?([^,{]*)","gim"),Bs=Hi+Rs+"?([^{]*)",jr=new RegExp(`${$i}(${Bs})`,"gim"),Gr=new RegExp(Bs,"im"),Ui=Ms+"-no-combinator",zr=new RegExp(`${Ui}(?![^(]*\\))`,"g"),Ds="%COMMENT%",Qr=new RegExp(Ds,"g"),Yr=new RegExp(`(\\s*(?:${Ds}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),ji="%COMMA_IN_PLACEHOLDER%",Gi="%SEMI_IN_PLACEHOLDER%",zi="%COLON_IN_PLACEHOLDER%",Xr=new RegExp(ji,"g"),Jr=new RegExp(Gi,"g"),Zr=new RegExp(zi,"g"),d;(function(e){e[e.ListEnd=0]="ListEnd",e[e.Statement=1]="Statement",e[e.Variable=2]="Variable",e[e.ElementStart=3]="ElementStart",e[e.Element=4]="Element",e[e.Template=5]="Template",e[e.ElementEnd=6]="ElementEnd",e[e.ContainerStart=7]="ContainerStart",e[e.Container=8]="Container",e[e.ContainerEnd=9]="ContainerEnd",e[e.DisableBindings=10]="DisableBindings",e[e.ConditionalCreate=11]="ConditionalCreate",e[e.ConditionalBranchCreate=12]="ConditionalBranchCreate",e[e.Conditional=13]="Conditional",e[e.EnableBindings=14]="EnableBindings",e[e.Text=15]="Text",e[e.Listener=16]="Listener",e[e.InterpolateText=17]="InterpolateText",e[e.Binding=18]="Binding",e[e.Property=19]="Property",e[e.StyleProp=20]="StyleProp",e[e.ClassProp=21]="ClassProp",e[e.StyleMap=22]="StyleMap",e[e.ClassMap=23]="ClassMap",e[e.Advance=24]="Advance",e[e.Pipe=25]="Pipe",e[e.Attribute=26]="Attribute",e[e.ExtractedAttribute=27]="ExtractedAttribute",e[e.Defer=28]="Defer",e[e.DeferOn=29]="DeferOn",e[e.DeferWhen=30]="DeferWhen",e[e.I18nMessage=31]="I18nMessage",e[e.DomProperty=32]="DomProperty",e[e.Namespace=33]="Namespace",e[e.ProjectionDef=34]="ProjectionDef",e[e.Projection=35]="Projection",e[e.RepeaterCreate=36]="RepeaterCreate",e[e.Repeater=37]="Repeater",e[e.TwoWayProperty=38]="TwoWayProperty",e[e.TwoWayListener=39]="TwoWayListener",e[e.DeclareLet=40]="DeclareLet",e[e.StoreLet=41]="StoreLet",e[e.I18nStart=42]="I18nStart",e[e.I18n=43]="I18n",e[e.I18nEnd=44]="I18nEnd",e[e.I18nExpression=45]="I18nExpression",e[e.I18nApply=46]="I18nApply",e[e.IcuStart=47]="IcuStart",e[e.IcuEnd=48]="IcuEnd",e[e.IcuPlaceholder=49]="IcuPlaceholder",e[e.I18nContext=50]="I18nContext",e[e.I18nAttributes=51]="I18nAttributes",e[e.SourceLocation=52]="SourceLocation"})(d||(d={}));var Z;(function(e){e[e.LexicalRead=0]="LexicalRead",e[e.Context=1]="Context",e[e.TrackContext=2]="TrackContext",e[e.ReadVariable=3]="ReadVariable",e[e.NextContext=4]="NextContext",e[e.Reference=5]="Reference",e[e.StoreLet=6]="StoreLet",e[e.ContextLetReference=7]="ContextLetReference",e[e.GetCurrentView=8]="GetCurrentView",e[e.RestoreView=9]="RestoreView",e[e.ResetView=10]="ResetView",e[e.PureFunctionExpr=11]="PureFunctionExpr",e[e.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",e[e.PipeBinding=13]="PipeBinding",e[e.PipeBindingVariadic=14]="PipeBindingVariadic",e[e.SafePropertyRead=15]="SafePropertyRead",e[e.SafeKeyedRead=16]="SafeKeyedRead",e[e.SafeInvokeFunction=17]="SafeInvokeFunction",e[e.SafeTernaryExpr=18]="SafeTernaryExpr",e[e.EmptyExpr=19]="EmptyExpr",e[e.AssignTemporaryExpr=20]="AssignTemporaryExpr",e[e.ReadTemporaryExpr=21]="ReadTemporaryExpr",e[e.SlotLiteralExpr=22]="SlotLiteralExpr",e[e.ConditionalCase=23]="ConditionalCase",e[e.ConstCollected=24]="ConstCollected",e[e.TwoWayBindingSet=25]="TwoWayBindingSet"})(Z||(Z={}));var Lt;(function(e){e[e.None=0]="None",e[e.AlwaysInline=1]="AlwaysInline"})(Lt||(Lt={}));var At;(function(e){e[e.Context=0]="Context",e[e.Identifier=1]="Identifier",e[e.SavedView=2]="SavedView",e[e.Alias=3]="Alias"})(At||(At={}));var Mt;(function(e){e[e.Normal=0]="Normal",e[e.TemplateDefinitionBuilder=1]="TemplateDefinitionBuilder"})(Mt||(Mt={}));var V;(function(e){e[e.Attribute=0]="Attribute",e[e.ClassName=1]="ClassName",e[e.StyleProperty=2]="StyleProperty",e[e.Property=3]="Property",e[e.Template=4]="Template",e[e.I18n=5]="I18n",e[e.Animation=6]="Animation",e[e.TwoWayProperty=7]="TwoWayProperty"})(V||(V={}));var Rt;(function(e){e[e.Creation=0]="Creation",e[e.Postproccessing=1]="Postproccessing"})(Rt||(Rt={}));var Bt;(function(e){e[e.I18nText=0]="I18nText",e[e.I18nAttribute=1]="I18nAttribute"})(Bt||(Bt={}));var Dt;(function(e){e[e.None=0]="None",e[e.ElementTag=1]="ElementTag",e[e.TemplateTag=2]="TemplateTag",e[e.OpenTag=4]="OpenTag",e[e.CloseTag=8]="CloseTag",e[e.ExpressionIndex=16]="ExpressionIndex"})(Dt||(Dt={}));var Ft;(function(e){e[e.HTML=0]="HTML",e[e.SVG=1]="SVG",e[e.Math=2]="Math"})(Ft||(Ft={}));var Vt;(function(e){e[e.Idle=0]="Idle",e[e.Immediate=1]="Immediate",e[e.Timer=2]="Timer",e[e.Hover=3]="Hover",e[e.Interaction=4]="Interaction",e[e.Viewport=5]="Viewport",e[e.Never=6]="Never"})(Vt||(Vt={}));var Wt;(function(e){e[e.RootI18n=0]="RootI18n",e[e.Icu=1]="Icu",e[e.Attr=2]="Attr"})(Wt||(Wt={}));var _t;(function(e){e[e.NgTemplate=0]="NgTemplate",e[e.Structural=1]="Structural",e[e.Block=2]="Block"})(_t||(_t={}));var Qi=Symbol("ConsumesSlot"),Fs=Symbol("DependsOnSlotContext"),pe=Symbol("ConsumesVars"),tt=Symbol("UsesVarOffset"),en={[Qi]:!0,numSlotsUsed:1},tn={[Fs]:!0},sn={[pe]:!0},Vs=class{strings;expressions;i18nPlaceholders;constructor(e,t,s){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=s,s.length!==0&&s.length!==t.length)throw Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${s.length}`)}},Me=class extends I{constructor(e=null){super(null,e)}},rn=class e extends Me{target;value;sourceSpan;kind=Z.StoreLet;[pe]=!0;[Fs]=!0;constructor(t,s,i){super(),this.target=t,this.value=s,this.sourceSpan=i}visitExpression(){}isEquivalent(t){return t instanceof e&&t.target===this.target&&t.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(t,s){this.value=(this.value,void 0)}clone(){return new e(this.target,this.value,this.sourceSpan)}},nn=class e extends Me{kind=Z.PureFunctionExpr;[pe]=!0;[tt]=!0;varOffset=null;body;args;fn=null;constructor(t,s){super(),this.body=t,this.args=s}visitExpression(t,s){var i;(i=this.body)==null||i.visitExpression(t,s);for(let r of this.args)r.visitExpression(t,s)}isEquivalent(t){return!(t instanceof e)||t.args.length!==this.args.length?!1:t.body!==null&&this.body!==null&&t.body.isEquivalent(this.body)&&t.args.every((s,i)=>s.isEquivalent(this.args[i]))}isConstant(){return!1}transformInternalExpressions(t,s){this.body!==null?this.body=(this.body,s|Ye.InChildOperation,void 0):this.fn!==null&&(this.fn=(this.fn,void 0));for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){var t,s;let i=new e(((t=this.body)==null?void 0:t.clone())??null,this.args.map((r)=>r.clone()));return i.fn=((s=this.fn)==null?void 0:s.clone())??null,i.varOffset=this.varOffset,i}},an=class e extends Me{target;targetSlot;name;args;kind=Z.PipeBinding;[pe]=!0;[tt]=!0;varOffset=null;constructor(t,s,i,r){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r}visitExpression(t,s){for(let i of this.args)i.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){let t=new e(this.target,this.targetSlot,this.name,this.args.map((s)=>s.clone()));return t.varOffset=this.varOffset,t}},on=class e extends Me{target;targetSlot;name;args;numArgs;kind=Z.PipeBindingVariadic;[pe]=!0;[tt]=!0;varOffset=null;constructor(t,s,i,r,a){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r,this.numArgs=a}visitExpression(t,s){this.args.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){this.args=(this.args,void 0)}clone(){let t=new e(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return t.varOffset=this.varOffset,t}},Ye;(function(e){e[e.None=0]="None",e[e.InChildOperation=1]="InChildOperation"})(Ye||(Ye={}));var ln=new Set([d.Element,d.ElementStart,d.Container,d.ContainerStart,d.Template,d.RepeaterCreate,d.ConditionalCreate,d.ConditionalBranchCreate]),Kt;(function(e){e[e.Tmpl=0]="Tmpl",e[e.Host=1]="Host",e[e.Both=2]="Both"})(Kt||(Kt={}));var un=new Map([[c.attribute,c.attribute],[c.classProp,c.classProp],[c.element,c.element],[c.elementContainer,c.elementContainer],[c.elementContainerEnd,c.elementContainerEnd],[c.elementContainerStart,c.elementContainerStart],[c.elementEnd,c.elementEnd],[c.elementStart,c.elementStart],[c.domProperty,c.domProperty],[c.i18nExp,c.i18nExp],[c.listener,c.listener],[c.listener,c.listener],[c.property,c.property],[c.styleProp,c.styleProp],[c.syntheticHostListener,c.syntheticHostListener],[c.syntheticHostProperty,c.syntheticHostProperty],[c.templateCreate,c.templateCreate],[c.twoWayProperty,c.twoWayProperty],[c.twoWayListener,c.twoWayListener],[c.declareLet,c.declareLet],[c.conditionalCreate,c.conditionalBranchCreate],[c.conditionalBranchCreate,c.conditionalBranchCreate]]),cn=Object.freeze([]),hn=new Map([[d.ElementEnd,[d.ElementStart,d.Element]],[d.ContainerEnd,[d.ContainerStart,d.Container]],[d.I18nEnd,[d.I18nStart,d.I18n]]]),pn=new Set([d.Pipe]),Yi={},Xi="\uE500";Yi.ngsp=Xi;var qt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(qt||(qt={}));var Ws=` \f
|
|
2
|
+
import"./chunk-r9w0thdk.js";var Ys=Object.defineProperty,is=(e)=>{throw TypeError(e)},rs=(e,t)=>{for(var s in t)Ys(e,s,{get:t[s],enumerable:!0})},Je=(e,t,s)=>t.has(e)||is("Cannot "+s),M=(e,t,s)=>(Je(e,t,"read from private field"),s?s.call(e):t.get(e)),J=(e,t,s)=>t.has(e)?is("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Ne=(e,t,s,i)=>(Je(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),l=(e,t,s)=>(Je(e,t,"access private method"),s),ns={};rs(ns,{parsers:()=>as});var as={};rs(as,{__ng_action:()=>Vr,__ng_binding:()=>Wr,__ng_directive:()=>Kr,__ng_interpolation:()=>_r});var qr=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g"),nt;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(nt||(nt={}));var at;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(at||(at={}));var ot;(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(ot||(ot={}));var R;(function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"})(R||(R={}));var lt;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(lt||(lt={}));var ut;(function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"})(ut||(ut={}));var ct;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(ct||(ct={}));var ht;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(ht||(ht={}));var pt;(function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"})(pt||(pt={}));var dt;(function(e){e[e.None=0]="None",e[e.Const=1]="Const"})(dt||(dt={}));var mt;(function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"})(mt||(mt={}));var Xs=void 0,ft;(function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"})(ft||(ft={}));var S;(function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseOr=11]="BitwiseOr",e[e.BitwiseAnd=12]="BitwiseAnd",e[e.Lower=13]="Lower",e[e.LowerEquals=14]="LowerEquals",e[e.Bigger=15]="Bigger",e[e.BiggerEquals=16]="BiggerEquals",e[e.NullishCoalesce=17]="NullishCoalesce",e[e.Exponentiation=18]="Exponentiation",e[e.In=19]="In"})(S||(S={}));function Js(e,t){return e==null||t==null?e==t:e.isEquivalent(t)}function Zs(e,t,s){let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(!s(e[r],t[r]))return!1;return!0}function Le(e,t){return Zs(e,t,(s,i)=>s.isEquivalent(i))}var I=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new li(this,e,null,t)}key(e,t,s){return new ui(this,e,t,s)}callFn(e,t,s){return new ri(this,e,null,t,s)}instantiate(e,t,s){return new ni(this,e,t,s)}conditional(e,t=null,s){return new oi(this,e,t,null,s)}equals(e,t){return new C(S.Equals,this,e,null,t)}notEquals(e,t){return new C(S.NotEquals,this,e,null,t)}identical(e,t){return new C(S.Identical,this,e,null,t)}notIdentical(e,t){return new C(S.NotIdentical,this,e,null,t)}minus(e,t){return new C(S.Minus,this,e,null,t)}plus(e,t){return new C(S.Plus,this,e,null,t)}divide(e,t){return new C(S.Divide,this,e,null,t)}multiply(e,t){return new C(S.Multiply,this,e,null,t)}modulo(e,t){return new C(S.Modulo,this,e,null,t)}power(e,t){return new C(S.Exponentiation,this,e,null,t)}and(e,t){return new C(S.And,this,e,null,t)}bitwiseOr(e,t){return new C(S.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new C(S.BitwiseAnd,this,e,null,t)}or(e,t){return new C(S.Or,this,e,null,t)}lower(e,t){return new C(S.Lower,this,e,null,t)}lowerEquals(e,t){return new C(S.LowerEquals,this,e,null,t)}bigger(e,t){return new C(S.Bigger,this,e,null,t)}biggerEquals(e,t){return new C(S.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(TYPED_NULL_EXPR,e)}nullishCoalesce(e,t){return new C(S.NullishCoalesce,this,e,null,t)}toStmt(){return new di(this,null)}},os=class e extends I{name;constructor(t,s,i){super(s,i),this.name=t}isEquivalent(t){return t instanceof e&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadVarExpr(this,s)}clone(){return new e(this.name,this.type,this.sourceSpan)}set(t){return new ti(this.name,t,null,this.sourceSpan)}},ei=class e extends I{expr;constructor(t,s,i){super(s,i),this.expr=t}visitExpression(t,s){return t.visitTypeofExpr(this,s)}isEquivalent(t){return t instanceof e&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new e(this.expr.clone())}},ti=class e extends I{name;value;constructor(t,s,i,r){super(i||s.type,r),this.name=t,this.value=s}isEquivalent(t){return t instanceof e&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteVarExpr(this,s)}clone(){return new e(this.name,this.value.clone(),this.type,this.sourceSpan)}toDeclStmt(t,s){return new pi(this.name,this.value,t,s,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Xs,ce.Final)}},si=class e extends I{receiver;index;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.index=s,this.value=i}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteKeyExpr(this,s)}clone(){return new e(this.receiver.clone(),this.index.clone(),this.value.clone(),this.type,this.sourceSpan)}},ii=class e extends I{receiver;name;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.name=s,this.value=i}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWritePropExpr(this,s)}clone(){return new e(this.receiver.clone(),this.name,this.value.clone(),this.type,this.sourceSpan)}},ri=class e extends I{fn;args;pure;constructor(t,s,i,r,a=!1){super(i,r),this.fn=t,this.args=s,this.pure=a}get receiver(){return this.fn}isEquivalent(t){return t instanceof e&&this.fn.isEquivalent(t.fn)&&Le(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,s){return t.visitInvokeFunctionExpr(this,s)}clone(){return new e(this.fn.clone(),this.args.map((t)=>t.clone()),this.type,this.sourceSpan,this.pure)}},ni=class e extends I{classExpr;args;constructor(t,s,i,r){super(i,r),this.classExpr=t,this.args=s}isEquivalent(t){return t instanceof e&&this.classExpr.isEquivalent(t.classExpr)&&Le(this.args,t.args)}isConstant(){return!1}visitExpression(t,s){return t.visitInstantiateExpr(this,s)}clone(){return new e(this.classExpr.clone(),this.args.map((t)=>t.clone()),this.type,this.sourceSpan)}},vt=class e extends I{value;constructor(t,s,i){super(s,i),this.value=t}isEquivalent(t){return t instanceof e&&this.value===t.value}isConstant(){return!0}visitExpression(t,s){return t.visitLiteralExpr(this,s)}clone(){return new e(this.value,this.type,this.sourceSpan)}},ai=class e extends I{value;typeParams;constructor(t,s,i=null,r){super(s,r),this.value=t,this.typeParams=i}isEquivalent(t){return t instanceof e&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName}isConstant(){return!1}visitExpression(t,s){return t.visitExternalExpr(this,s)}clone(){return new e(this.value,this.type,this.typeParams,this.sourceSpan)}},oi=class e extends I{condition;falseCase;trueCase;constructor(t,s,i=null,r,a){super(r||s.type,a),this.condition=t,this.falseCase=i,this.trueCase=s}isEquivalent(t){return t instanceof e&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&Js(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,s){return t.visitConditionalExpr(this,s)}clone(){var t;return new e(this.condition.clone(),this.trueCase.clone(),(t=this.falseCase)==null?void 0:t.clone(),this.type,this.sourceSpan)}},C=class e extends I{operator;rhs;lhs;constructor(t,s,i,r,a){super(r||s.type,a),this.operator=t,this.rhs=i,this.lhs=s}isEquivalent(t){return t instanceof e&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,s){return t.visitBinaryOperatorExpr(this,s)}clone(){return new e(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}},li=class e extends I{receiver;name;constructor(t,s,i,r){super(i,r),this.receiver=t,this.name=s}get index(){return this.name}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadPropExpr(this,s)}set(t){return new ii(this.receiver,this.name,t,null,this.sourceSpan)}clone(){return new e(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},ui=class e extends I{receiver;index;constructor(t,s,i,r){super(i,r),this.receiver=t,this.index=s}isEquivalent(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,s){return t.visitReadKeyExpr(this,s)}set(t){return new si(this.receiver,this.index,t,null,this.sourceSpan)}clone(){return new e(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},ci=class e extends I{entries;constructor(t,s,i){super(s,i),this.entries=t}isConstant(){return this.entries.every((t)=>t.isConstant())}isEquivalent(t){return t instanceof e&&Le(this.entries,t.entries)}visitExpression(t,s){return t.visitLiteralArrayExpr(this,s)}clone(){return new e(this.entries.map((t)=>t.clone()),this.type,this.sourceSpan)}},hi=class e extends I{entries;valueType=null;constructor(t,s,i){super(s,i),this.entries=t,s&&(this.valueType=s.valueType)}isEquivalent(t){return t instanceof e&&Le(this.entries,t.entries)}isConstant(){return this.entries.every((t)=>t.value.isConstant())}visitExpression(t,s){return t.visitLiteralMapExpr(this,s)}clone(){let t=this.entries.map((s)=>s.clone());return new e(t,this.type,this.sourceSpan)}},ce;(function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"})(ce||(ce={}));var ls=class{modifiers;sourceSpan;leadingComments;constructor(e=ce.None,t=null,s){this.modifiers=e,this.sourceSpan=t,this.leadingComments=s}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},pi=class e extends ls{name;value;type;constructor(t,s,i,r,a,o){super(r,a,o),this.name=t,this.value=s,this.type=i||s&&s.type||null}isEquivalent(t){return t instanceof e&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,s){return t.visitDeclareVarStmt(this,s)}},di=class e extends ls{expr;constructor(t,s,i){super(ce.None,s,i),this.expr=t}isEquivalent(t){return t instanceof e&&this.expr.isEquivalent(t.expr)}visitStatement(t,s){return t.visitExpressionStmt(this,s)}};function mi(e,t,s){return new os(e,t,s)}var $r=mi("<unknown>"),Hr=class e{static INSTANCE=new e;keyOf(t){if(t instanceof vt&&typeof t.value=="string")return`"${t.value}"`;if(t instanceof vt)return String(t.value);if(t instanceof ci){let s=[];for(let i of t.entries)s.push(this.keyOf(i));return`[${s.join(",")}]`}else if(t instanceof hi){let s=[];for(let i of t.entries){let r=i.key;i.quoted&&(r=`"${r}"`),s.push(r+":"+this.keyOf(i.value))}return`{${s.join(",")}}`}else{if(t instanceof ai)return`import("${t.value.moduleName}", ${t.value.name})`;if(t instanceof os)return`read(${t.name})`;if(t instanceof ei)return`typeof(${this.keyOf(t.expr)})`;throw Error(`${this.constructor.name} does not handle expressions of type ${t.constructor.name}`)}}},n="@angular/core",c=class{static NEW_METHOD="factory";static TRANSFORM_METHOD="transform";static PATCH_DEPS="patchedDeps";static core={name:null,moduleName:n};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:n};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:n};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:n};static element={name:"\u0275\u0275element",moduleName:n};static elementStart={name:"\u0275\u0275elementStart",moduleName:n};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:n};static advance={name:"\u0275\u0275advance",moduleName:n};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:n};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:n};static attribute={name:"\u0275\u0275attribute",moduleName:n};static classProp={name:"\u0275\u0275classProp",moduleName:n};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:n};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:n};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:n};static styleMap={name:"\u0275\u0275styleMap",moduleName:n};static classMap={name:"\u0275\u0275classMap",moduleName:n};static styleProp={name:"\u0275\u0275styleProp",moduleName:n};static interpolate={name:"\u0275\u0275interpolate",moduleName:n};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:n};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:n};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:n};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:n};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:n};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:n};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:n};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:n};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:n};static nextContext={name:"\u0275\u0275nextContext",moduleName:n};static resetView={name:"\u0275\u0275resetView",moduleName:n};static templateCreate={name:"\u0275\u0275template",moduleName:n};static defer={name:"\u0275\u0275defer",moduleName:n};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:n};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:n};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:n};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:n};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:n};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:n};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:n};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:n};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:n};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:n};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:n};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:n};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:n};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:n};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:n};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:n};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:n};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:n};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:n};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:n};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:n};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:n};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:n};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:n};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:n};static conditional={name:"\u0275\u0275conditional",moduleName:n};static repeater={name:"\u0275\u0275repeater",moduleName:n};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:n};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:n};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:n};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:n};static text={name:"\u0275\u0275text",moduleName:n};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:n};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:n};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:n};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:n};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:n};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:n};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:n};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:n};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:n};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:n};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:n};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:n};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:n};static restoreView={name:"\u0275\u0275restoreView",moduleName:n};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:n};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:n};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:n};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:n};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:n};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:n};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:n};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:n};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:n};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:n};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:n};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:n};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:n};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:n};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:n};static domProperty={name:"\u0275\u0275domProperty",moduleName:n};static property={name:"\u0275\u0275property",moduleName:n};static i18n={name:"\u0275\u0275i18n",moduleName:n};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:n};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:n};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:n};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:n};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:n};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:n};static pipe={name:"\u0275\u0275pipe",moduleName:n};static projection={name:"\u0275\u0275projection",moduleName:n};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:n};static reference={name:"\u0275\u0275reference",moduleName:n};static inject={name:"\u0275\u0275inject",moduleName:n};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:n};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:n};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:n};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:n};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:n};static forwardRef={name:"forwardRef",moduleName:n};static resolveForwardRef={name:"resolveForwardRef",moduleName:n};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:n};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:n};static \u{275}\u{275}defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:n};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:n};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:n};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:n};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:n};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:n};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:n};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:n};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:n};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:n};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:n};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:n};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:n};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:n};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:n};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:n};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:n};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:n};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:n};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:n};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:n};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:n};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:n};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:n};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:n};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:n};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:n};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:n};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:n};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:n};static definePipe={name:"\u0275\u0275definePipe",moduleName:n};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:n};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:n};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:n};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:n};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:n};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:n};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:n};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:n};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:n};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:n};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:n};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:n};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:n};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:n};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:n};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:n};static declareLet={name:"\u0275\u0275declareLet",moduleName:n};static storeLet={name:"\u0275\u0275storeLet",moduleName:n};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:n};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:n};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:n};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:n};static CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:n};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:n};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:n};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:n};static listener={name:"\u0275\u0275listener",moduleName:n};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:n};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:n};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:n};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:n};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:n};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:n};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:n};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:n};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:n};static validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:n};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:n};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:n};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:n}},fi=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},xt;(function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"})(xt||(xt={}));var We=class{input;errLocation;ctxLocation;message;constructor(e,t,s,i){this.input=t,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${e} ${s} [${t}] in ${i}`}},he=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new q(e+this.start,e+this.end)}},g=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},Ae=class extends g{nameSpan;constructor(e,t,s){super(e,t),this.nameSpan=s}},k=class extends g{visit(e,t=null){}},Ie=class extends g{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},vi=class extends Ie{visit(e,t=null){var s;return(s=e.visitThisReceiver)==null?void 0:s.call(e,this,t)}},us=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitChain(this,t)}},cs=class extends g{condition;trueExp;falseExp;constructor(e,t,s,i,r){super(e,t),this.condition=s,this.trueExp=i,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}},_e=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}},hs=class extends Ae{receiver;name;value;constructor(e,t,s,i,r,a){super(e,t,s),this.receiver=i,this.name=r,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},Ke=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},ps=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}},qe=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},ds=class extends g{receiver;key;value;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.key=i,this.value=r}visit(e,t=null){return e.visitKeyedWrite(this,t)}},ms=class extends Ae{exp;name;args;constructor(e,t,s,i,r,a){super(e,t,a),this.exp=s,this.name=i,this.args=r}visit(e,t=null){return e.visitPipe(this,t)}},L=class extends g{value;constructor(e,t,s){super(e,t),this.value=s}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},fs=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitLiteralArray(this,t)}},vs=class extends g{keys;values;constructor(e,t,s,i){super(e,t),this.keys=s,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}},xs=class extends g{strings;expressions;constructor(e,t,s,i){super(e,t),this.strings=s,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}},A=class extends g{operation;left;right;constructor(e,t,s,i,r){super(e,t),this.operation=s,this.left=i,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}},ge=class e extends A{operator;expr;left=null;right=null;operation=null;static createMinus(t,s,i){return new e(t,s,"-",i,"-",new L(t,s,0),i)}static createPlus(t,s,i){return new e(t,s,"+",i,"-",i,new L(t,s,0))}constructor(t,s,i,r,a,o,h){super(t,s,a,o,h),this.operator=i,this.expr=r}visit(t,s=null){return t.visitUnary!==void 0?t.visitUnary(this,s):t.visitBinary(this,s)}},Pe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitPrefixNot(this,t)}},Te=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitTypeofExpression(this,t)}},Oe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitVoidExpression(this,t)}},ys=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitNonNullAssert(this,t)}},gs=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}},$e=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}},He=class extends g{tag;template;constructor(e,t,s,i){super(e,t),this.tag=s,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},Ue=class extends g{elements;expressions;constructor(e,t,s,i){super(e,t),this.elements=s,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}},je=class extends g{text;constructor(e,t,s){super(e,t),this.text=s}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},Es=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t){return e.visitParenthesizedExpression(this,t)}},q=class{start;end;constructor(e,t){this.start=e,this.end=t}},U=class extends g{ast;source;location;errors;constructor(e,t,s,i,r){super(new he(0,t===null?0:t.length),new q(i,t===null?i:i+t.length)),this.ast=e,this.source=t,this.location=s,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},Ge=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},ws=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},xi=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let s=0;s<e.elements.length;s++){this.visit(e.elements[s],t);let i=s<e.expressions.length?e.expressions[s]:null;i!==null&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitAll(e,t){for(let s of e)this.visit(s,t)}},yt;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION",e[e.TWO_WAY=3]="TWO_WAY"})(yt||(yt={}));var gt;(function(e){e[e.Regular=0]="Regular",e[e.Animation=1]="Animation",e[e.TwoWay=2]="TwoWay"})(gt||(gt={}));var F;(function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.Animation=4]="Animation",e[e.TwoWay=5]="TwoWay"})(F||(F={}));var Et;(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(Et||(Et={}));var yi=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function gi(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let s=t[0],i=t[1];yi.forEach((r)=>{if(r.test(s)||r.test(i))throw Error(`['${s}', '${i}'] contains unusable interpolation symbol.`)})}}var Ei=class e{start;end;static fromArray(t){return t?(gi("interpolation",t),new e(t[0],t[1])):j}constructor(t,s){this.start=t,this.end=s}},j=new Ei("{{","}}"),fe=0,Ss=9,wi=10,Si=11,Ci=12,Ni=13,Cs=32,Ii=33,Ns=34,Pi=35,Ze=36,Ti=37,wt=38,Is=39,Ee=40,G=41,St=42,Ps=43,ie=44,Ts=45,z=46,ze=47,Q=58,re=59,Oi=60,ve=61,bi=62,Ct=63,ki=48,Li=57,Os=65,Ai=69,bs=90,we=91,Nt=92,ne=93,Mi=94,et=95,ks=97,Ri=101,Bi=102,Di=110,Fi=114,Vi=116,Wi=117,_i=118,Ls=122,be=123,It=124,ae=125,As=160,Qe=96;function Ki(e){return e>=Ss&&e<=Cs||e==As}function K(e){return ki<=e&&e<=Li}function qi(e){return e>=ks&&e<=Ls||e>=Os&&e<=bs}function Pt(e){return e===Is||e===Ns||e===Qe}var Tt;(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(Tt||(Tt={}));var Ot;(function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"})(Ot||(Ot={}));var bt;(function(e){e[e.Global=0]="Global",e[e.Local=1]="Local"})(bt||(bt={}));var kt;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(kt||(kt={}));var $i="(:(where|is)\\()?",Ms="-shadowcsshost",Hi="-shadowcsscontext",Rs="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))",Ur=new RegExp(Ms+Rs+"?([^,{]*)","gim"),Bs=Hi+Rs+"?([^{]*)",jr=new RegExp(`${$i}(${Bs})`,"gim"),Gr=new RegExp(Bs,"im"),Ui=Ms+"-no-combinator",zr=new RegExp(`${Ui}(?![^(]*\\))`,"g"),Ds="%COMMENT%",Qr=new RegExp(Ds,"g"),Yr=new RegExp(`(\\s*(?:${Ds}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),ji="%COMMA_IN_PLACEHOLDER%",Gi="%SEMI_IN_PLACEHOLDER%",zi="%COLON_IN_PLACEHOLDER%",Xr=new RegExp(ji,"g"),Jr=new RegExp(Gi,"g"),Zr=new RegExp(zi,"g"),d;(function(e){e[e.ListEnd=0]="ListEnd",e[e.Statement=1]="Statement",e[e.Variable=2]="Variable",e[e.ElementStart=3]="ElementStart",e[e.Element=4]="Element",e[e.Template=5]="Template",e[e.ElementEnd=6]="ElementEnd",e[e.ContainerStart=7]="ContainerStart",e[e.Container=8]="Container",e[e.ContainerEnd=9]="ContainerEnd",e[e.DisableBindings=10]="DisableBindings",e[e.ConditionalCreate=11]="ConditionalCreate",e[e.ConditionalBranchCreate=12]="ConditionalBranchCreate",e[e.Conditional=13]="Conditional",e[e.EnableBindings=14]="EnableBindings",e[e.Text=15]="Text",e[e.Listener=16]="Listener",e[e.InterpolateText=17]="InterpolateText",e[e.Binding=18]="Binding",e[e.Property=19]="Property",e[e.StyleProp=20]="StyleProp",e[e.ClassProp=21]="ClassProp",e[e.StyleMap=22]="StyleMap",e[e.ClassMap=23]="ClassMap",e[e.Advance=24]="Advance",e[e.Pipe=25]="Pipe",e[e.Attribute=26]="Attribute",e[e.ExtractedAttribute=27]="ExtractedAttribute",e[e.Defer=28]="Defer",e[e.DeferOn=29]="DeferOn",e[e.DeferWhen=30]="DeferWhen",e[e.I18nMessage=31]="I18nMessage",e[e.DomProperty=32]="DomProperty",e[e.Namespace=33]="Namespace",e[e.ProjectionDef=34]="ProjectionDef",e[e.Projection=35]="Projection",e[e.RepeaterCreate=36]="RepeaterCreate",e[e.Repeater=37]="Repeater",e[e.TwoWayProperty=38]="TwoWayProperty",e[e.TwoWayListener=39]="TwoWayListener",e[e.DeclareLet=40]="DeclareLet",e[e.StoreLet=41]="StoreLet",e[e.I18nStart=42]="I18nStart",e[e.I18n=43]="I18n",e[e.I18nEnd=44]="I18nEnd",e[e.I18nExpression=45]="I18nExpression",e[e.I18nApply=46]="I18nApply",e[e.IcuStart=47]="IcuStart",e[e.IcuEnd=48]="IcuEnd",e[e.IcuPlaceholder=49]="IcuPlaceholder",e[e.I18nContext=50]="I18nContext",e[e.I18nAttributes=51]="I18nAttributes",e[e.SourceLocation=52]="SourceLocation"})(d||(d={}));var Z;(function(e){e[e.LexicalRead=0]="LexicalRead",e[e.Context=1]="Context",e[e.TrackContext=2]="TrackContext",e[e.ReadVariable=3]="ReadVariable",e[e.NextContext=4]="NextContext",e[e.Reference=5]="Reference",e[e.StoreLet=6]="StoreLet",e[e.ContextLetReference=7]="ContextLetReference",e[e.GetCurrentView=8]="GetCurrentView",e[e.RestoreView=9]="RestoreView",e[e.ResetView=10]="ResetView",e[e.PureFunctionExpr=11]="PureFunctionExpr",e[e.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",e[e.PipeBinding=13]="PipeBinding",e[e.PipeBindingVariadic=14]="PipeBindingVariadic",e[e.SafePropertyRead=15]="SafePropertyRead",e[e.SafeKeyedRead=16]="SafeKeyedRead",e[e.SafeInvokeFunction=17]="SafeInvokeFunction",e[e.SafeTernaryExpr=18]="SafeTernaryExpr",e[e.EmptyExpr=19]="EmptyExpr",e[e.AssignTemporaryExpr=20]="AssignTemporaryExpr",e[e.ReadTemporaryExpr=21]="ReadTemporaryExpr",e[e.SlotLiteralExpr=22]="SlotLiteralExpr",e[e.ConditionalCase=23]="ConditionalCase",e[e.ConstCollected=24]="ConstCollected",e[e.TwoWayBindingSet=25]="TwoWayBindingSet"})(Z||(Z={}));var Lt;(function(e){e[e.None=0]="None",e[e.AlwaysInline=1]="AlwaysInline"})(Lt||(Lt={}));var At;(function(e){e[e.Context=0]="Context",e[e.Identifier=1]="Identifier",e[e.SavedView=2]="SavedView",e[e.Alias=3]="Alias"})(At||(At={}));var Mt;(function(e){e[e.Normal=0]="Normal",e[e.TemplateDefinitionBuilder=1]="TemplateDefinitionBuilder"})(Mt||(Mt={}));var V;(function(e){e[e.Attribute=0]="Attribute",e[e.ClassName=1]="ClassName",e[e.StyleProperty=2]="StyleProperty",e[e.Property=3]="Property",e[e.Template=4]="Template",e[e.I18n=5]="I18n",e[e.Animation=6]="Animation",e[e.TwoWayProperty=7]="TwoWayProperty"})(V||(V={}));var Rt;(function(e){e[e.Creation=0]="Creation",e[e.Postproccessing=1]="Postproccessing"})(Rt||(Rt={}));var Bt;(function(e){e[e.I18nText=0]="I18nText",e[e.I18nAttribute=1]="I18nAttribute"})(Bt||(Bt={}));var Dt;(function(e){e[e.None=0]="None",e[e.ElementTag=1]="ElementTag",e[e.TemplateTag=2]="TemplateTag",e[e.OpenTag=4]="OpenTag",e[e.CloseTag=8]="CloseTag",e[e.ExpressionIndex=16]="ExpressionIndex"})(Dt||(Dt={}));var Ft;(function(e){e[e.HTML=0]="HTML",e[e.SVG=1]="SVG",e[e.Math=2]="Math"})(Ft||(Ft={}));var Vt;(function(e){e[e.Idle=0]="Idle",e[e.Immediate=1]="Immediate",e[e.Timer=2]="Timer",e[e.Hover=3]="Hover",e[e.Interaction=4]="Interaction",e[e.Viewport=5]="Viewport",e[e.Never=6]="Never"})(Vt||(Vt={}));var Wt;(function(e){e[e.RootI18n=0]="RootI18n",e[e.Icu=1]="Icu",e[e.Attr=2]="Attr"})(Wt||(Wt={}));var _t;(function(e){e[e.NgTemplate=0]="NgTemplate",e[e.Structural=1]="Structural",e[e.Block=2]="Block"})(_t||(_t={}));var Qi=Symbol("ConsumesSlot"),Fs=Symbol("DependsOnSlotContext"),pe=Symbol("ConsumesVars"),tt=Symbol("UsesVarOffset"),en={[Qi]:!0,numSlotsUsed:1},tn={[Fs]:!0},sn={[pe]:!0},Vs=class{strings;expressions;i18nPlaceholders;constructor(e,t,s){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=s,s.length!==0&&s.length!==t.length)throw Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${s.length}`)}},Me=class extends I{constructor(e=null){super(null,e)}},rn=class e extends Me{target;value;sourceSpan;kind=Z.StoreLet;[pe]=!0;[Fs]=!0;constructor(t,s,i){super(),this.target=t,this.value=s,this.sourceSpan=i}visitExpression(){}isEquivalent(t){return t instanceof e&&t.target===this.target&&t.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(t,s){this.value=(this.value,void 0)}clone(){return new e(this.target,this.value,this.sourceSpan)}},nn=class e extends Me{kind=Z.PureFunctionExpr;[pe]=!0;[tt]=!0;varOffset=null;body;args;fn=null;constructor(t,s){super(),this.body=t,this.args=s}visitExpression(t,s){var i;(i=this.body)==null||i.visitExpression(t,s);for(let r of this.args)r.visitExpression(t,s)}isEquivalent(t){return!(t instanceof e)||t.args.length!==this.args.length?!1:t.body!==null&&this.body!==null&&t.body.isEquivalent(this.body)&&t.args.every((s,i)=>s.isEquivalent(this.args[i]))}isConstant(){return!1}transformInternalExpressions(t,s){this.body!==null?this.body=(this.body,s|Ye.InChildOperation,void 0):this.fn!==null&&(this.fn=(this.fn,void 0));for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){var t,s;let i=new e(((t=this.body)==null?void 0:t.clone())??null,this.args.map((r)=>r.clone()));return i.fn=((s=this.fn)==null?void 0:s.clone())??null,i.varOffset=this.varOffset,i}},an=class e extends Me{target;targetSlot;name;args;kind=Z.PipeBinding;[pe]=!0;[tt]=!0;varOffset=null;constructor(t,s,i,r){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r}visitExpression(t,s){for(let i of this.args)i.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){let t=new e(this.target,this.targetSlot,this.name,this.args.map((s)=>s.clone()));return t.varOffset=this.varOffset,t}},on=class e extends Me{target;targetSlot;name;args;numArgs;kind=Z.PipeBindingVariadic;[pe]=!0;[tt]=!0;varOffset=null;constructor(t,s,i,r,a){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r,this.numArgs=a}visitExpression(t,s){this.args.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){this.args=(this.args,void 0)}clone(){let t=new e(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return t.varOffset=this.varOffset,t}},Ye;(function(e){e[e.None=0]="None",e[e.InChildOperation=1]="InChildOperation"})(Ye||(Ye={}));var ln=new Set([d.Element,d.ElementStart,d.Container,d.ContainerStart,d.Template,d.RepeaterCreate,d.ConditionalCreate,d.ConditionalBranchCreate]),Kt;(function(e){e[e.Tmpl=0]="Tmpl",e[e.Host=1]="Host",e[e.Both=2]="Both"})(Kt||(Kt={}));var un=new Map([[c.attribute,c.attribute],[c.classProp,c.classProp],[c.element,c.element],[c.elementContainer,c.elementContainer],[c.elementContainerEnd,c.elementContainerEnd],[c.elementContainerStart,c.elementContainerStart],[c.elementEnd,c.elementEnd],[c.elementStart,c.elementStart],[c.domProperty,c.domProperty],[c.i18nExp,c.i18nExp],[c.listener,c.listener],[c.listener,c.listener],[c.property,c.property],[c.styleProp,c.styleProp],[c.syntheticHostListener,c.syntheticHostListener],[c.syntheticHostProperty,c.syntheticHostProperty],[c.templateCreate,c.templateCreate],[c.twoWayProperty,c.twoWayProperty],[c.twoWayListener,c.twoWayListener],[c.declareLet,c.declareLet],[c.conditionalCreate,c.conditionalBranchCreate],[c.conditionalBranchCreate,c.conditionalBranchCreate]]),cn=Object.freeze([]),hn=new Map([[d.ElementEnd,[d.ElementStart,d.Element]],[d.ContainerEnd,[d.ContainerStart,d.Container]],[d.I18nEnd,[d.I18nStart,d.I18n]]]),pn=new Set([d.Pipe]),Yi={},Xi="\uE500";Yi.ngsp=Xi;var qt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(qt||(qt={}));var Ws=` \f
|
|
3
3
|
\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,dn=new RegExp(`[^${Ws}]`),mn=new RegExp(`[${Ws}]{2,}`,"g"),m;(function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"})(m||(m={}));var W;(function(e){e[e.Plain=0]="Plain",e[e.TemplateLiteralPart=1]="TemplateLiteralPart",e[e.TemplateLiteralEnd=2]="TemplateLiteralEnd"})(W||(W={}));var Ji=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in"],_s=class{tokenize(e){return new rr(e).scan()}},D=class{index;end;type;numValue;strValue;constructor(e,t,s,i,r){this.index=e,this.end=t,this.type=s,this.numValue=i,this.strValue=r}isCharacter(e){return this.type===m.Character&&this.numValue===e}isNumber(){return this.type===m.Number}isString(){return this.type===m.String}isOperator(e){return this.type===m.Operator&&this.strValue===e}isIdentifier(){return this.type===m.Identifier}isPrivateIdentifier(){return this.type===m.PrivateIdentifier}isKeyword(){return this.type===m.Keyword}isKeywordLet(){return this.type===m.Keyword&&this.strValue==="let"}isKeywordAs(){return this.type===m.Keyword&&this.strValue==="as"}isKeywordNull(){return this.type===m.Keyword&&this.strValue==="null"}isKeywordUndefined(){return this.type===m.Keyword&&this.strValue==="undefined"}isKeywordTrue(){return this.type===m.Keyword&&this.strValue==="true"}isKeywordFalse(){return this.type===m.Keyword&&this.strValue==="false"}isKeywordThis(){return this.type===m.Keyword&&this.strValue==="this"}isKeywordTypeof(){return this.type===m.Keyword&&this.strValue==="typeof"}isKeywordVoid(){return this.type===m.Keyword&&this.strValue==="void"}isKeywordIn(){return this.type===m.Keyword&&this.strValue==="in"}isError(){return this.type===m.Error}toNumber(){return this.type===m.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===W.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===W.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}isTemplateLiteralInterpolationEnd(){return this.isOperator("}")}toString(){switch(this.type){case m.Character:case m.Identifier:case m.Keyword:case m.Operator:case m.PrivateIdentifier:case m.String:case m.Error:return this.strValue;case m.Number:return this.numValue.toString();default:return null}}},Be=class extends D{kind;constructor(e,t,s,i){super(e,t,m.String,0,s),this.kind=i}};function xe(e,t,s){return new D(e,t,m.Character,s,String.fromCharCode(s))}function Zi(e,t,s){return new D(e,t,m.Identifier,0,s)}function er(e,t,s){return new D(e,t,m.PrivateIdentifier,0,s)}function tr(e,t,s){return new D(e,t,m.Keyword,0,s)}function ee(e,t,s){return new D(e,t,m.Operator,0,s)}function sr(e,t,s){return new D(e,t,m.Number,s,"")}function ir(e,t,s){return new D(e,t,m.Error,0,s)}var ye=new D(-1,-1,m.Character,0,""),rr=class{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;e!==null;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?fe:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,s=this.peek,i=this.index;for(;s<=Cs;)if(++i>=t){s=fe;break}else s=e.charCodeAt(i);if(this.peek=s,this.index=i,i>=t)return null;if($t(s))return this.scanIdentifier();if(K(s))return this.scanNumber(i);let r=i;switch(s){case z:return this.advance(),K(this.peek)?this.scanNumber(r):xe(r,this.index,z);case Ee:case G:case we:case ne:case ie:case Q:case re:return this.scanCharacter(r,s);case be:return this.scanOpenBrace(r,s);case ae:return this.scanCloseBrace(r,s);case Is:case Ns:return this.scanString();case Qe:return this.advance(),this.scanTemplateLiteralPart(r);case Pi:return this.scanPrivateIdentifier();case Ps:case Ts:case ze:case Ti:case Mi:return this.scanOperator(r,String.fromCharCode(s));case St:return this.scanComplexOperator(r,"*",St,"*");case Ct:return this.scanQuestion(r);case Oi:case bi:return this.scanComplexOperator(r,String.fromCharCode(s),ve,"=");case Ii:case ve:return this.scanComplexOperator(r,String.fromCharCode(s),ve,"=",ve,"=");case wt:return this.scanComplexOperator(r,"&",wt,"&");case It:return this.scanComplexOperator(r,"|",It,"|");case As:for(;Ki(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(e,t){return this.advance(),xe(e,this.index,t)}scanOperator(e,t){return this.advance(),ee(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),xe(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),this.braceStack.pop()==="interpolation"?(this.tokens.push(ee(e,this.index,"}")),this.scanTemplateLiteralPart(this.index)):xe(e,this.index,t)}scanComplexOperator(e,t,s,i,r,a){this.advance();let o=t;return this.peek==s&&(this.advance(),o+=i),r!=null&&this.peek==r&&(this.advance(),o+=a),ee(e,this.index,o)}scanIdentifier(){let e=this.index;for(this.advance();Ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return Ji.indexOf(t)>-1?tr(e,this.index,t):Zi(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!$t(this.peek))return this.error("Invalid character [#]",-1);for(;Ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return er(e,this.index,t)}scanNumber(e){let t=this.index===e,s=!1;for(this.advance();;){if(!K(this.peek))if(this.peek===et){if(!K(this.input.charCodeAt(this.index-1))||!K(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(this.peek===z)t=!1;else if(nr(this.peek)){if(this.advance(),ar(this.peek)&&this.advance(),!K(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let i=this.input.substring(e,this.index);s&&(i=i.replace(/_/g,""));let r=t?lr(i):parseFloat(i);return sr(e,this.index,r)}scanString(){let e=this.index,t=this.peek;this.advance();let s="",i=this.index,r=this.input;for(;this.peek!=t;)if(this.peek==Nt){let o=this.scanStringBackslash(s,i);if(typeof o!="string")return o;s=o,i=this.index}else{if(this.peek==fe)return this.error("Unterminated quote",0);this.advance()}let a=r.substring(i,this.index);return this.advance(),new Be(e,this.index,s+a,W.Plain)}scanQuestion(e){this.advance();let t="?";return(this.peek===Ct||this.peek===z)&&(t+=this.peek===z?".":"?",this.advance()),ee(e,this.index,t)}scanTemplateLiteralPart(e){let t="",s=this.index;for(;this.peek!==Qe;)if(this.peek===Nt){let r=this.scanStringBackslash(t,s);if(typeof r!="string")return r;t=r,s=this.index}else if(this.peek===Ze){let r=this.index;if(this.advance(),this.peek===be)return this.braceStack.push("interpolation"),this.tokens.push(new Be(e,r,t+this.input.substring(s,r),W.TemplateLiteralPart)),this.advance(),ee(r,this.index,this.input.substring(r,this.index))}else{if(this.peek===fe)return this.error("Unterminated template literal",0);this.advance()}let i=this.input.substring(s,this.index);return this.advance(),new Be(e,this.index,t+i,W.TemplateLiteralEnd)}error(e,t){let s=this.index+t;return ir(s,this.index,`Lexer Error: ${e} at column ${s} in expression [${this.input}]`)}scanStringBackslash(e,t){e+=this.input.substring(t,this.index);let s;if(this.advance(),this.peek===Wi){let i=this.input.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(i))s=parseInt(i,16);else return this.error(`Invalid unicode escape [\\u${i}]`,0);for(let r=0;r<5;r++)this.advance()}else s=or(this.peek),this.advance();return e+=String.fromCharCode(s),e}};function $t(e){return ks<=e&&e<=Ls||Os<=e&&e<=bs||e==et||e==Ze}function Ht(e){return qi(e)||K(e)||e==et||e==Ze}function nr(e){return e==Ri||e==Ai}function ar(e){return e==Ts||e==Ps}function or(e){switch(e){case Di:return wi;case Bi:return Ci;case Fi:return Ni;case Vi:return Ss;case _i:return Si;default:return e}}function lr(e){let t=parseInt(e);if(isNaN(t))throw Error("Invalid integer literal when parsing "+e);return t}var ur=class{strings;expressions;offsets;constructor(e,t,s){this.strings=e,this.expressions=t,this.offsets=s}},cr=class{templateBindings;warnings;errors;constructor(e,t,s){this.templateBindings=e,this.warnings=t,this.errors=s}},st=class{_lexer;errors=[];constructor(e){this._lexer=e}parseAction(e,t,s,i=j){this._checkNoInterpolation(e,t,i);let r=this._stripComments(e),a=this._lexer.tokenize(r),o=new te(e,t,s,a,1,this.errors,0).parseChain();return new U(o,e,t,s,this.errors)}parseBinding(e,t,s,i=j){let r=this._parseBindingAst(e,t,s,i);return new U(r,e,t,s,this.errors)}checkSimpleExpression(e){let t=new hr;return e.visit(t),t.errors}parseSimpleBinding(e,t,s,i=j){let r=this._parseBindingAst(e,t,s,i),a=this.checkSimpleExpression(r);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,e,t),new U(r,e,t,s,this.errors)}_reportError(e,t,s,i){this.errors.push(new We(e,t,s,i))}_parseBindingAst(e,t,s,i){this._checkNoInterpolation(e,t,i);let r=this._stripComments(e),a=this._lexer.tokenize(r);return new te(e,t,s,a,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,s,i,r){let a=this._lexer.tokenize(t);return new te(t,s,r,a,0,this.errors,0).parseTemplateBindings({source:e,span:new q(i,i+e.length)})}parseInterpolation(e,t,s,i,r=j){let{strings:a,expressions:o,offsets:h}=this.splitInterpolation(e,t,i,r);if(o.length===0)return null;let p=[];for(let f=0;f<o.length;++f){let E=o[f].text,w=this._stripComments(E),T=this._lexer.tokenize(w),N=new te(e,t,s,T,0,this.errors,h[f]).parseChain();p.push(N)}return this.createInterpolationAst(a.map((f)=>f.text),p,e,t,s)}parseInterpolationExpression(e,t,s){let i=this._stripComments(e),r=this._lexer.tokenize(i),a=new te(e,t,s,r,0,this.errors,0).parseChain(),o=["",""];return this.createInterpolationAst(o,[a],e,t,s)}createInterpolationAst(e,t,s,i,r){let a=new he(0,s.length),o=new xs(a,a.toAbsolute(r),e,t);return new U(o,s,i,r,this.errors)}splitInterpolation(e,t,s,i=j){let r=[],a=[],o=[],h=s?pr(s):null,p=0,f=!1,E=!1,{start:w,end:T}=i;for(;p<e.length;)if(f){let N=p,$=N+w.length,H=this._getInterpolationEndIndex(e,T,$);if(H===-1){f=!1,E=!0;break}let _=H+T.length,me=e.substring($,H);me.trim().length===0&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${p} in`,t),a.push({text:me,start:N,end:_});let Qs=((h==null?void 0:h.get(N))??N)+w.length;o.push(Qs),p=_,f=!1}else{let N=p;p=e.indexOf(w,p),p===-1&&(p=e.length);let $=e.substring(N,p);r.push({text:$,start:N,end:p}),f=!0}if(!f)if(E){let N=r[r.length-1];N.text+=e.substring(p),N.end=e.length}else r.push({text:e.substring(p),start:p,end:e.length});return new ur(r,a,o)}wrapLiteralPrimitive(e,t,s){let i=new he(0,e==null?0:e.length);return new U(new L(i,i.toAbsolute(s),e),e,t,s,this.errors)}_stripComments(e){let t=this._commentStart(e);return t!=null?e.substring(0,t):e}_commentStart(e){let t=null;for(let s=0;s<e.length-1;s++){let i=e.charCodeAt(s),r=e.charCodeAt(s+1);if(i===ze&&r==ze&&t==null)return s;t===i?t=null:t==null&&Pt(i)&&(t=i)}return null}_checkNoInterpolation(e,t,{start:s,end:i}){let r=-1,a=-1;for(let o of this._forEachUnquotedChar(e,0))if(r===-1)e.startsWith(s)&&(r=o);else if(a=this._getInterpolationEndIndex(e,i,o),a>-1)break;r>-1&&a>-1&&this._reportError(`Got interpolation (${s}${i}) where expression was expected`,e,`at column ${r} in`,t)}_getInterpolationEndIndex(e,t,s){for(let i of this._forEachUnquotedChar(e,s)){if(e.startsWith(t,i))return i;if(e.startsWith("//",i))return e.indexOf(t,i)}return-1}*_forEachUnquotedChar(e,t){let s=null,i=0;for(let r=t;r<e.length;r++){let a=e[r];Pt(e.charCodeAt(r))&&(s===null||s===a)&&i%2===0?s=s===null?a:null:s===null&&(yield r),i=a==="\\"?i+1:0}}},Y;(function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"})(Y||(Y={}));var te=class{input;location;absoluteOffset;tokens;parseFlags;errors;offset;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=Y.None;sourceSpanCache=new Map;index=0;constructor(e,t,s,i,r,a,o){this.input=e,this.location=t,this.absoluteOffset=s,this.tokens=i,this.parseFlags=r,this.errors=a,this.offset=o}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:ye}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let s=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(s=t),e>s){let i=s;s=e,e=i}return new he(e,s)}sourceSpan(e,t){let s=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(e,t){this.context|=e;let s=t();return this.context^=e,s}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===ye?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){let s=this.parsePipe();if(e.push(s),this.consumeOptionalCharacter(re))for(this.parseFlags&1||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(re););else if(this.index<this.tokens.length){let i=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===i)break}}if(e.length===0){let s=this.offset,i=this.offset+this.input.length;return new k(this.span(s,i),this.sourceSpan(s,i))}return e.length==1?e[0]:new us(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseFlags&1&&this.error("Cannot have a pipe in an action expression");do{let s=this.inputIndex,i=this.expectIdentifierOrKeyword(),r,a;i!==null?r=this.sourceSpan(s):(i="",a=this.next.index!==-1?this.next.index:this.input.length+this.offset,r=new he(a,a).toAbsolute(this.absoluteOffset));let o=[];for(;this.consumeOptionalCharacter(Q);)o.push(this.parseExpression());t=new ms(this.span(e),this.sourceSpan(e,a),t,i,o,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let s=this.parsePipe(),i;if(this.consumeOptionalCharacter(Q))i=this.parsePipe();else{let r=this.inputIndex,a=this.input.substring(e,r);this.error(`Conditional expression ${a} requires all 3 expressions`),i=new k(this.span(e),this.sourceSpan(e))}return new cs(this.span(e),this.sourceSpan(e),t,s,i)}else return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let s=this.parseLogicalAnd();t=new A(this.span(e),this.sourceSpan(e),"||",t,s)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let s=this.parseNullishCoalescing();t=new A(this.span(e),this.sourceSpan(e),"&&",t,s)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let s=this.parseEquality();t=new A(this.span(e),this.sourceSpan(e),"??",t,s)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"==":case"===":case"!=":case"!==":this.advance();let i=this.parseRelational();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==m.Operator||this.next.isKeywordIn;){let s=this.next.strValue;switch(s){case"<":case">":case"<=":case">=":case"in":this.advance();let i=this.parseAdditive();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"+":case"-":this.advance();let i=this.parseMultiplicative();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parseExponentiation();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let i=this.parseExponentiation();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseExponentiation(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==m.Operator&&this.next.strValue==="**";){(t instanceof ge||t instanceof Pe||t instanceof Te||t instanceof Oe)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();let s=this.parseExponentiation();t=new A(this.span(e),this.sourceSpan(e),"**",t,s)}return t}parsePrefix(){if(this.next.type==m.Operator){let e=this.inputIndex,t=this.next.strValue,s;switch(t){case"+":return this.advance(),s=this.parsePrefix(),ge.createPlus(this.span(e),this.sourceSpan(e),s);case"-":return this.advance(),s=this.parsePrefix(),ge.createMinus(this.span(e),this.sourceSpan(e),s);case"!":return this.advance(),s=this.parsePrefix(),new Pe(this.span(e),this.sourceSpan(e),s)}}else if(this.next.isKeywordTypeof()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new Te(this.span(e),this.sourceSpan(e),t)}else if(this.next.isKeywordVoid()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new Oe(this.span(e),this.sourceSpan(e),t)}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(z))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(Ee)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(we)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(we))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(Ee))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new ys(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else if(this.next.isTemplateLiteralPart())t=this.parseTaggedTemplateLiteral(t,e);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(Ee)){this.rparensExpected++;let t=this.parsePipe();return this.consumeOptionalCharacter(G)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(G)),this.rparensExpected--,new Es(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isKeywordNull())return this.advance(),new L(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new L(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new L(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new L(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordIn())return this.advance(),new L(this.span(e),this.sourceSpan(e),"in");if(this.next.isKeywordThis())return this.advance(),new vi(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(we)){this.rbracketsExpected++;let t=this.parseExpressionList(ne);return this.rbracketsExpected--,this.expectCharacter(ne),new fs(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(be))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Ie(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new L(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===W.Plain){let t=this.next.toString();return this.advance(),new L(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new k(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new k(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new k(this.span(e),this.sourceSpan(e)))}}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(ie));return t}parseLiteralMap(){let e=[],t=[],s=this.inputIndex;if(this.expectCharacter(be),!this.consumeOptionalCharacter(ae)){this.rbracesExpected++;do{let i=this.inputIndex,r=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),o={key:a,quoted:r};if(e.push(o),r)this.expectCharacter(Q),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(Q))t.push(this.parsePipe());else{o.isShorthandInitialized=!0;let h=this.span(i),p=this.sourceSpan(i);t.push(new _e(h,p,p,new Ie(h,p),a))}}while(this.consumeOptionalCharacter(ie)&&!this.next.isCharacter(ae));this.rbracesExpected--,this.expectCharacter(ae)}return new vs(this.span(s),this.sourceSpan(s),e,t)}parseAccessMember(e,t,s){let i=this.inputIndex,r=this.withContext(Y.Writable,()=>{let h=this.expectIdentifierOrKeyword()??"";return h.length===0&&this.error("Expected identifier for property access",e.span.end),h}),a=this.sourceSpan(i),o;if(s)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),o=new k(this.span(t),this.sourceSpan(t))):o=new Ke(this.span(t),this.sourceSpan(t),a,e,r);else if(this.consumeOptionalOperator("=")){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new k(this.span(t),this.sourceSpan(t));let h=this.parseConditional();o=new hs(this.span(t),this.sourceSpan(t),a,e,r,h)}else o=new _e(this.span(t),this.sourceSpan(t),a,e,r);return o}parseCall(e,t,s){let i=this.inputIndex;this.rparensExpected++;let r=this.parseCallArguments(),a=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(G),this.rparensExpected--;let o=this.span(t),h=this.sourceSpan(t);return s?new $e(o,h,e,r,a):new gs(o,h,e,r,a)}parseCallArguments(){if(this.next.isCharacter(G))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(ie));return e}expectTemplateBindingKey(){let e="",t=!1,s=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new q(s,s+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let s=this.parseLetBinding();if(s)t.push(s);else{let i=this.expectTemplateBindingKey(),r=this.parseAsBinding(i);r?t.push(r):(i.source=e.source+i.source.charAt(0).toUpperCase()+i.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(i)))}this.consumeStatementTerminator()}return new cr(t,[],this.errors)}parseKeyedReadOrWrite(e,t,s){return this.withContext(Y.Writable,()=>{this.rbracketsExpected++;let i=this.parsePipe();if(i instanceof k&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(ne),this.consumeOptionalOperator("="))if(s)this.error("The '?.' operator cannot be used in the assignment");else{let r=this.parseConditional();return new ds(this.span(t),this.sourceSpan(t),e,i,r)}else return s?new qe(this.span(t),this.sourceSpan(t),e,i):new ps(this.span(t),this.sourceSpan(t),e,i);return new k(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(Q);let s=this.getDirectiveBoundTarget(),i=this.currentAbsoluteOffset,r=this.parseAsBinding(e);r||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);let a=new q(e.span.start,i);return t.push(new ws(a,e,s)),r&&t.push(r),t}getDirectiveBoundTarget(){if(this.next===ye||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:s}=e.span,i=this.input.substring(t,s);return new U(e,i,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let s=new q(e.span.start,this.currentAbsoluteOffset);return new Ge(s,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let i=new q(e,this.currentAbsoluteOffset);return new Ge(i,t,s)}parseNoInterpolationTaggedTemplateLiteral(e,t){let s=this.parseNoInterpolationTemplateLiteral();return new He(this.span(t),this.sourceSpan(t),e,s)}parseNoInterpolationTemplateLiteral(){let e=this.next.strValue,t=this.inputIndex;this.advance();let s=this.span(t),i=this.sourceSpan(t);return new Ue(s,i,[new je(s,i,e)],[])}parseTaggedTemplateLiteral(e,t){let s=this.parseTemplateLiteral();return new He(this.span(t),this.sourceSpan(t),e,s)}parseTemplateLiteral(){let e=[],t=[],s=this.inputIndex;for(;this.next!==ye;){let i=this.next;if(i.isTemplateLiteralPart()||i.isTemplateLiteralEnd()){let r=this.inputIndex;if(this.advance(),e.push(new je(this.span(r),this.sourceSpan(r),i.strValue)),i.isTemplateLiteralEnd())break}else if(i.isTemplateLiteralInterpolationStart()){this.advance();let r=this.parsePipe();r instanceof k?this.error("Template literal interpolation cannot be empty"):t.push(r)}else this.advance()}return new Ue(this.span(s),this.sourceSpan(s),e,t)}consumeStatementTerminator(){this.consumeOptionalCharacter(re)||this.consumeOptionalCharacter(ie)}error(e,t=null){this.errors.push(new We(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let s=`Private identifiers are not supported. Unexpected private identifier: ${e}`;t!==null&&(s+=`, ${t}`),this.error(s)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(re)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(G))&&(this.rbracesExpected<=0||!e.isCharacter(ae))&&(this.rbracketsExpected<=0||!e.isCharacter(ne))&&(!(this.context&Y.Writable)||!e.isOperator("="));)this.next.isError()&&this.errors.push(new We(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}},hr=class extends xi{errors=[];visitPipe(){this.errors.push("pipes")}};function pr(e){let t=new Map,s=0,i=0,r=0;for(;r<e.length;){let a=e[r];if(a.type===9){let[o,h]=a.parts;s+=h.length,i+=o.length}else{let o=a.parts.reduce((h,p)=>h+p.length,0);i+=o,s+=o}t.set(i,s),r++}return t}var dr=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),fn=Array.from(dr).reduce((e,[t,s])=>(e.set(t,s),e),new Map),vn=new st(new _s);function B(e){return(t)=>t.kind===e}function oe(e,t){return(s)=>s.kind===e&&t===s.expression instanceof Vs}function mr(e){return(e.kind===d.Property||e.kind===d.TwoWayProperty)&&!(e.expression instanceof Vs)}var xn=[{test:B(d.StyleMap),transform:ke},{test:B(d.ClassMap),transform:ke},{test:B(d.StyleProp)},{test:B(d.ClassProp)},{test:oe(d.Attribute,!0)},{test:oe(d.Property,!0)},{test:mr},{test:oe(d.Attribute,!1)}],yn=[{test:oe(d.DomProperty,!0)},{test:oe(d.DomProperty,!1)},{test:B(d.Attribute)},{test:B(d.StyleMap),transform:ke},{test:B(d.ClassMap),transform:ke},{test:B(d.StyleProp)},{test:B(d.ClassProp)}],gn=new Set([d.Listener,d.TwoWayListener,d.StyleMap,d.ClassMap,d.StyleProp,d.ClassProp,d.Property,d.TwoWayProperty,d.DomProperty,d.Attribute]);function ke(e){return e.slice(e.length-1)}var En={constant:[c.interpolate,c.interpolate1,c.interpolate2,c.interpolate3,c.interpolate4,c.interpolate5,c.interpolate6,c.interpolate7,c.interpolate8],variable:c.interpolateV,mapping:(e)=>{if(e%2===0)throw Error("Expected odd number of arguments");return(e-1)/2}},wn=new Map([["window",c.resolveWindow],["document",c.resolveDocument],["body",c.resolveBody]]),Sn=new Map([[R.HTML,c.sanitizeHtml],[R.RESOURCE_URL,c.sanitizeResourceUrl],[R.SCRIPT,c.sanitizeScript],[R.STYLE,c.sanitizeStyle],[R.URL,c.sanitizeUrl]]),Cn=new Map([[R.HTML,c.trustConstantHtml],[R.RESOURCE_URL,c.trustConstantResourceUrl]]),Ut;(function(e){e[e.None=0]="None",e[e.ViewContextRead=1]="ViewContextRead",e[e.ViewContextWrite=2]="ViewContextWrite",e[e.SideEffectful=4]="SideEffectful"})(Ut||(Ut={}));var Nn=new Map([[F.Property,V.Property],[F.TwoWay,V.TwoWayProperty],[F.Attribute,V.Attribute],[F.Class,V.ClassName],[F.Style,V.StyleProperty],[F.Animation,V.Animation]]),In=Symbol("queryAdvancePlaceholder"),jt;(function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"})(jt||(jt={}));var Gt;(function(e){e.IDLE="idle",e.TIMER="timer",e.INTERACTION="interaction",e.IMMEDIATE="immediate",e.HOVER="hover",e.VIEWPORT="viewport",e.NEVER="never"})(Gt||(Gt={}));var Ks="%COMP%",Pn=`_nghost-${Ks}`,Tn=`_ngcontent-${Ks}`,zt;(function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"})(zt||(zt={}));var On=new fi("20.0.5");function Qt({start:e,end:t},s){let i=e,r=t;for(;r!==i&&/\s/.test(s[r-1]);)r--;for(;i!==r&&/\s/.test(s[i]);)i++;return{start:i,end:r}}function fr({start:e,end:t},s){let i=e,r=t;for(;r!==s.length&&/\s/.test(s[r]);)r++;for(;i!==0&&/\s/.test(s[i-1]);)i--;return{start:i,end:r}}function vr(e,t){return t[e.start-1]==="("&&t[e.end]===")"?{start:e.start-1,end:e.end+1}:e}function xr(e,t,s){let i=0,r={start:e.start,end:e.end};for(;;){let a=fr(r,t),o=vr(a,t);if(a.start===o.start&&a.end===o.end)break;r.start=o.start,r.end=o.end,i++}return{hasParens:(s?i-1:i)!==0,outerSpan:Qt(s?{start:r.start+1,end:r.end-1}:r,t),innerSpan:Qt(e,t)}}function qs(e){return typeof e=="string"?(t)=>t===e:(t)=>e.test(t)}function yr(e,t,s){let i=qs(t);for(let r=s;r>=0;r--){let a=e[r];if(i(a))return r}throw Error(`Cannot find front char ${t} from index ${s} in ${JSON.stringify(e)}`)}function gr(e,t,s){let i=qs(t);for(let r=s;r<e.length;r++){let a=e[r];if(i(a))return r}throw Error(`Cannot find character ${t} from index ${s} in ${JSON.stringify(e)}`)}function Er(e){return e.slice(0,1).toLowerCase()+e.slice(1)}function Xe(e){let{start:t,end:s}=e;return{start:t,end:s,range:[t,s]}}var wr=(e)=>st.prototype._commentStart(e);function Sr(e,t){let s=t?wr(e):null;if(s===null)return{text:e,comments:[]};let i={type:"CommentLine",value:e.slice(s+2),...Xe({start:s,end:e.length})};return{text:e.slice(0,s),comments:[i]}}function de(e,t=!0){return(s)=>{let i=new _s,r=new st(i),{text:a,comments:o}=Sr(s,t),h=e(a,r);if(h.errors.length!==0){let[{message:p}]=h.errors;throw SyntaxError(p.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}return{result:h,comments:o,text:a}}}var Cr=de((e,t)=>t.parseBinding(e,"",0)),bn=de((e,t)=>t.parseSimpleBinding(e,"",0)),Nr=de((e,t)=>t.parseAction(e,"",0)),Ir=de((e,t)=>t.parseInterpolationExpression(e,"",0)),Pr=de((e,t)=>t.parseTemplateBindings("",e,"",0,0),!1),Tr=(e,t,s)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[s<0?t.length+s:s]:t.at(s)},$s=Tr,Or=class{text;constructor(e){this.text=e}getCharacterIndex(e,t){return gr(this.text,e,t)}getCharacterLastIndex(e,t){return yr(this.text,e,t)}transformSpan(e,{stripSpaces:t=!1,hasParentParens:s=!1}={}){if(!t)return Xe(e);let{outerSpan:i,innerSpan:r,hasParens:a}=xr(e,this.text,s),o=Xe(r);return a&&(o.extra={parenthesized:!0,parenStart:i.start,parenEnd:i.end}),o}createNode(e,{stripSpaces:t=!0,hasParentParens:s=!1}={}){let{type:i,start:r,end:a}=e,o={...e,...this.transformSpan({start:r,end:a},{stripSpaces:t,hasParentParens:s})};switch(i){case"NumericLiteral":case"StringLiteral":{let h=this.text.slice(o.start,o.end),{value:p}=o;o.extra={...o.extra,raw:h,rawValue:p};break}case"ObjectProperty":{let{shorthand:h}=o;h&&(o.extra={...o.extra,shorthand:h});break}}return o}},br=Or;function it(e){var t;return!!((t=e.extra)!=null&&t.parenthesized)}function O(e){return it(e)?e.extra.parenStart:e.start}function b(e){return it(e)?e.extra.parenEnd:e.end}function Yt(e){return(e.type==="OptionalCallExpression"||e.type==="OptionalMemberExpression")&&!it(e)}function Xt(e,t){let{start:s,end:i}=e.sourceSpan;return s>=i||/^\s+$/.test(t.slice(s,i))}var Se,le,u,v,se,x,Ce,Hs=class extends br{constructor(e,t){super(t);J(this,u),J(this,Se),J(this,le),Ne(this,Se,e),Ne(this,le,t)}get node(){return l(this,u,x).call(this,M(this,Se))}transformNode(e){return l(this,u,Ce).call(this,e)}};Se=new WeakMap,le=new WeakMap,u=new WeakSet,v=function(e,{stripSpaces:t=!0,hasParentParens:s=!1}={}){return this.createNode(e,{stripSpaces:t,hasParentParens:s})},se=function(e,t,{computed:s,optional:i,end:r=b(t),hasParentParens:a=!1}){if(Xt(e,M(this,le))||e.sourceSpan.start===t.start)return t;let o=l(this,u,x).call(this,e),h=Yt(o);return l(this,u,v).call(this,{type:i||h?"OptionalMemberExpression":"MemberExpression",object:o,property:t,computed:s,...i?{optional:!0}:h?{optional:!1}:void 0,start:O(o),end:r},{hasParentParens:a})},x=function(e,t){return l(this,u,Ce).call(this,e,t)},Ce=function(e,t){let{isInParentParens:s}={isInParentParens:!1,...t};if(e instanceof xs){let{expressions:i}=e;if(i.length!==1)throw Error("Unexpected 'Interpolation'");return l(this,u,x).call(this,i[0])}if(e instanceof ge)return l(this,u,v).call(this,{type:"UnaryExpression",prefix:!0,argument:l(this,u,x).call(this,e.expr),operator:e.operator,...e.sourceSpan},{hasParentParens:s});if(e instanceof A){let{left:i,operation:r,right:a}=e,o=l(this,u,x).call(this,i),h=l(this,u,x).call(this,a),p=O(o),f=b(h),E={left:o,right:h,start:p,end:f};return r==="&&"||r==="||"||r==="??"?l(this,u,v).call(this,{...E,type:"LogicalExpression",operator:r},{hasParentParens:s}):l(this,u,v).call(this,{...E,type:"BinaryExpression",operator:r},{hasParentParens:s})}if(e instanceof ms){let{exp:i,name:r,args:a}=e,o=l(this,u,x).call(this,i),h=O(o),p=b(o),f=this.getCharacterIndex(/\S/,this.getCharacterIndex("|",p)+1),E=l(this,u,v).call(this,{type:"Identifier",name:r,start:f,end:f+r.length}),w=a.map((T)=>l(this,u,x).call(this,T));return l(this,u,v).call(this,{type:"NGPipeExpression",left:o,right:E,arguments:w,start:h,end:b(w.length===0?E:$s(!1,w,-1))},{hasParentParens:s})}if(e instanceof us)return l(this,u,v).call(this,{type:"NGChainedExpression",expressions:e.expressions.map((i)=>l(this,u,x).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof cs){let{condition:i,trueExp:r,falseExp:a}=e,o=l(this,u,x).call(this,i),h=l(this,u,x).call(this,r),p=l(this,u,x).call(this,a);return l(this,u,v).call(this,{type:"ConditionalExpression",test:o,consequent:h,alternate:p,start:O(o),end:b(p)},{hasParentParens:s})}if(e instanceof k)return l(this,u,v).call(this,{type:"NGEmptyExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof Ie)return l(this,u,v).call(this,{type:"ThisExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof ps||e instanceof qe)return l(this,u,se).call(this,e.receiver,l(this,u,x).call(this,e.key),{computed:!0,optional:e instanceof qe,end:e.sourceSpan.end,hasParentParens:s});if(e instanceof fs)return l(this,u,v).call(this,{type:"ArrayExpression",elements:e.expressions.map((i)=>l(this,u,x).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof vs){let{keys:i,values:r}=e,a=r.map((h)=>l(this,u,x).call(this,h)),o=i.map(({key:h,quoted:p},f)=>{let E=a[f],w=O(E),T=b(E),N=this.getCharacterIndex(/\S/,f===0?e.sourceSpan.start+1:this.getCharacterIndex(",",b(a[f-1]))+1),$=w===N?T:this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex(":",w-1)-1)+1,H={start:N,end:$},_=p?l(this,u,v).call(this,{type:"StringLiteral",value:h,...H}):l(this,u,v).call(this,{type:"Identifier",name:h,...H}),me=_.end<_.start||N===w;return l(this,u,v).call(this,{type:"ObjectProperty",key:_,value:E,shorthand:me,computed:!1,start:O(_),end:T})});return l(this,u,v).call(this,{type:"ObjectExpression",properties:o,...e.sourceSpan},{hasParentParens:s})}if(e instanceof L){let{value:i}=e;switch(typeof i){case"boolean":return l(this,u,v).call(this,{type:"BooleanLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"number":return l(this,u,v).call(this,{type:"NumericLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"object":return l(this,u,v).call(this,{type:"NullLiteral",...e.sourceSpan},{hasParentParens:s});case"string":return l(this,u,v).call(this,{type:"StringLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"undefined":return l(this,u,v).call(this,{type:"Identifier",name:"undefined",...e.sourceSpan},{hasParentParens:s});default:throw Error(`Unexpected LiteralPrimitive value type ${typeof i}`)}}if(e instanceof gs||e instanceof $e){let i=e instanceof $e,{receiver:r,args:a}=e,o=a.length===1?[l(this,u,x).call(this,a[0],{isInParentParens:!0})]:a.map((E)=>l(this,u,x).call(this,E)),h=l(this,u,x).call(this,r),p=Yt(h),f=i||p?"OptionalCallExpression":"CallExpression";return l(this,u,v).call(this,{type:f,callee:h,arguments:o,...f==="OptionalCallExpression"?{optional:i}:void 0,start:O(h),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof ys){let i=l(this,u,x).call(this,e.expression);return l(this,u,v).call(this,{type:"TSNonNullExpression",expression:i,start:O(i),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof Pe||e instanceof Te||e instanceof Oe){let i=e instanceof Pe?"!":e instanceof Te?"typeof":e instanceof Oe?"void":void 0;if(!i)throw Error("Unexpected expression.");let{start:r}=e.sourceSpan;if(i==="typeof"||i==="void"){let o=this.text.lastIndexOf(i,r);if(o===-1)throw Error(`Cannot find operator '${i}' from index ${r} in ${JSON.stringify(this.text)}`);r=o}let a=l(this,u,x).call(this,e.expression);return l(this,u,v).call(this,{type:"UnaryExpression",prefix:!0,operator:i,argument:a,start:r,end:b(a)},{hasParentParens:s})}if(e instanceof _e||e instanceof Ke){let{receiver:i,name:r}=e,a=this.getCharacterLastIndex(/\S/,e.sourceSpan.end-1)+1,o=l(this,u,v).call(this,{type:"Identifier",name:r,start:a-r.length,end:a},Xt(i,M(this,le))?{hasParentParens:s}:{});return l(this,u,se).call(this,i,o,{computed:!1,optional:e instanceof Ke,hasParentParens:s})}if(e instanceof ds){let i=l(this,u,x).call(this,e.key),r=l(this,u,x).call(this,e.value),a=l(this,u,se).call(this,e.receiver,i,{computed:!0,optional:!1,end:this.getCharacterIndex("]",b(i))+1});return l(this,u,v).call(this,{type:"AssignmentExpression",left:a,operator:"=",right:r,start:O(a),end:b(r)},{hasParentParens:s})}if(e instanceof hs){let{receiver:i,name:r,value:a}=e,o=l(this,u,x).call(this,a),h=this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex("=",O(o)-1)-1)+1,p=l(this,u,v).call(this,{type:"Identifier",name:r,start:h-r.length,end:h}),f=l(this,u,se).call(this,i,p,{computed:!1,optional:!1});return l(this,u,v).call(this,{type:"AssignmentExpression",left:f,operator:"=",right:o,start:O(f),end:b(o)},{hasParentParens:s})}if(e instanceof He)return l(this,u,v).call(this,{type:"TaggedTemplateExpression",tag:l(this,u,x).call(this,e.tag),quasi:l(this,u,x).call(this,e.template),...e.sourceSpan});if(e instanceof Ue){let{elements:i,expressions:r}=e;return l(this,u,v).call(this,{type:"TemplateLiteral",quasis:i.map((a)=>l(this,u,x).call(this,a,{parent:e})),expressions:r.map((a)=>l(this,u,x).call(this,a)),...e.sourceSpan})}if(e instanceof je){let{elements:i}=t.parent,r=i.indexOf(e),a=r===0,o=r===i.length-1,h=e.sourceSpan.end-(o?1:0),p=e.sourceSpan.start+(a?1:0),f=this.text.slice(p,h);return l(this,u,v).call(this,{type:"TemplateElement",value:{cooked:e.text,raw:f},start:p,end:h,tail:o},{stripSpaces:!1})}if(e instanceof Es)return l(this,u,Ce).call(this,e.expression);throw Error(`Unexpected node type '${e.constructor.name}'`)};function kr(e,t){return new Hs(e,t).node}function Jt(e){return e instanceof ws}function Zt(e){return e instanceof Ge}var ue,X,y,es,P,De,Fe,Ve,Us,ts,js,ss,Lr=class extends Hs{constructor(e,t){super(void 0,t);J(this,y),J(this,ue),J(this,X),Ne(this,ue,e),Ne(this,X,t);for(let s of e)l(this,y,Us).call(this,s)}get expressions(){return l(this,y,js).call(this)}};ue=new WeakMap,X=new WeakMap,y=new WeakSet,es=function(){return M(this,ue)[0].key},P=function(e,{stripSpaces:t=!0}={}){return this.createNode(e,{stripSpaces:t})},De=function(e){return this.transformNode(e)},Fe=function(e){return Er(e.slice(M(this,y,es).source.length))},Ve=function(e){let t=M(this,X);if(t[e.start]!=='"'&&t[e.start]!=="'")return;let s=t[e.start],i=!1;for(let r=e.start+1;r<t.length;r++)switch(t[r]){case s:if(!i){e.end=r+1;return}default:i=!1;break;case"\\":i=!i;break}},Us=function(e){l(this,y,Ve).call(this,e.key.span),Zt(e)&&e.value&&l(this,y,Ve).call(this,e.value.span)},ts=function(e){if(!e.value||e.value.source)return e.value;let t=this.getCharacterIndex(/\S/,e.sourceSpan.start);return{source:"$implicit",span:{start:t,end:t}}},js=function(){let e=M(this,ue),[t]=e,s=M(this,X).slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?e.slice(1):e,i=[],r=null;for(let[a,o]of s.entries()){if(r&&Jt(r)&&Zt(o)&&o.value&&o.value.source===r.key.source){let h=l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:o.key.source,...o.key.span}),p=(w,T)=>({...w,...this.transformSpan({start:w.start,end:T})}),f=(w)=>({...p(w,h.end),alias:h}),E=i.pop();if(E.type==="NGMicrosyntaxExpression")i.push(f(E));else if(E.type==="NGMicrosyntaxKeyedExpression"){let w=f(E.expression);i.push(p({...E,expression:w},w.end))}else throw Error(`Unexpected type ${E.type}`)}else i.push(l(this,y,ss).call(this,o,a));r=o}return l(this,y,P).call(this,{type:"NGMicrosyntax",body:i,...i.length===0?e[0].sourceSpan:{start:i[0].start,end:$s(!1,i,-1).end}})},ss=function(e,t){if(Jt(e)){let{key:s,value:i}=e;return i?t===0?l(this,y,P).call(this,{type:"NGMicrosyntaxExpression",expression:l(this,y,De).call(this,i.ast),alias:null,...i.sourceSpan}):l(this,y,P).call(this,{type:"NGMicrosyntaxKeyedExpression",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:l(this,y,Fe).call(this,s.source),...s.span}),expression:l(this,y,P).call(this,{type:"NGMicrosyntaxExpression",expression:l(this,y,De).call(this,i.ast),alias:null,...i.sourceSpan}),start:s.span.start,end:i.sourceSpan.end}):l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:l(this,y,Fe).call(this,s.source),...s.span})}else{let{key:s,sourceSpan:i}=e;if(/^let\s$/.test(M(this,X).slice(i.start,i.start+4))){let{value:r}=e;return l(this,y,P).call(this,{type:"NGMicrosyntaxLet",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:s.source,...s.span}),value:r?l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:r.source,...r.span}):null,start:i.start,end:r?r.span.end:s.span.end})}else{let r=l(this,y,ts).call(this,e);return l(this,y,P).call(this,{type:"NGMicrosyntaxAs",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:r.source,...r.span}),alias:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:s.source,...s.span}),start:r.span.start,end:s.span.end})}}};function Ar(e,t){return new Lr(e,t).expressions}function rt({result:{ast:e},text:t,comments:s}){return Object.assign(kr(e,t),{comments:s})}function Mr({result:{templateBindings:e},text:t}){return Ar(e,t)}var Rr=(e)=>rt(Cr(e)),Br=(e)=>rt(Ir(e)),Gs=(e)=>rt(Nr(e)),Dr=(e)=>Mr(Pr(e));function zs(e){var t,s,i;let r=((t=e.range)==null?void 0:t[0])??e.start,a=(i=((s=e.declaration)==null?void 0:s.decorators)??e.decorators)==null?void 0:i[0];return a?Math.min(zs(a),r):r}function Fr(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function Re(e){return{astFormat:"estree",parse(t){let s=e(t);return{type:"NGRoot",node:e===Gs&&s.type!=="NGChainedExpression"?{...s,type:"NGChainedExpression",expressions:[s]}:s}},locStart:zs,locEnd:Fr}}var Vr=Re(Gs),Wr=Re(Rr),_r=Re(Br),Kr=Re(Dr),kn=ns;export{as as parsers,kn as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{o as
|
|
2
|
+
import{Ns as n}from"./chunk-tr6rdr6h.js";function s(e){let r=e?.password??n.QITQODE_SERVER_PASSWORD;if(!r)return;let t=e?.username??n.QITQODE_SERVER_USERNAME??"qitqode";return`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}function o(e){let r=s(e);if(!r)return;return{Authorization:r}}
|
|
3
|
+
export{o as _};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{T as
|
|
2
|
+
import{as as _}from"./chunk-tkrwcjkr.js";import{lt as h}from"./chunk-kgptyf7n.js";import{uO as X,wO as L}from"./chunk-r9w0thdk.js";var E={};X(E,{println:()=>g,print:()=>a,markdown:()=>G,logo:()=>I,input:()=>w,error:()=>A,empty:()=>D,UI:()=>E,Style:()=>m,CancelledError:()=>N});import{EOL as x}from"os";var T={left:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551 "," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D "],right:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557"," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"]},R={left:[" "," ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 "],right:[" "," ","\u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"]};var O=["\u2800 ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"],N=_.create("UICancelledError",h.void()),m={TEXT_HIGHLIGHT:"\x1B[96m",TEXT_HIGHLIGHT_BOLD:"\x1B[96m\x1B[1m",TEXT_DIM:"\x1B[90m",TEXT_DIM_BOLD:"\x1B[90m\x1B[1m",TEXT_NORMAL:"\x1B[0m",TEXT_NORMAL_BOLD:"\x1B[1m",TEXT_WARNING:"\x1B[93m",TEXT_WARNING_BOLD:"\x1B[93m\x1B[1m",TEXT_DANGER:"\x1B[91m",TEXT_DANGER_BOLD:"\x1B[91m\x1B[1m",TEXT_SUCCESS:"\x1B[92m",TEXT_SUCCESS_BOLD:"\x1B[92m\x1B[1m",TEXT_INFO:"\x1B[94m",TEXT_INFO_BOLD:"\x1B[94m\x1B[1m"};function g(...r){a(...r),process.stderr.write(x)}function a(...r){f=!1,process.stderr.write(r.join(" "))}var f=!1;function D(){if(f)return;g(""+m.TEXT_NORMAL),f=!0}function I(r){if(!process.stdout.isTTY&&!process.stderr.isTTY){let o=[];for(let s of O){if(r)o.push(r);o.push(s),o.push(x)}return o.join("").trimEnd()}let n=[],t="\x1B[0m",i={fg:"\x1B[90m",shadow:"\x1B[38;5;235m",bg:"\x1B[48;5;235m"},c={fg:t,shadow:"\x1B[38;5;238m",bg:"\x1B[48;5;238m"},d=" ",b=(o,s,u,l)=>{let e=[];for(let p of o){if(p==="_"){e.push(l," ",t);continue}if(p==="^"){e.push(s,l,"\u2580",t);continue}if(p==="~"){e.push(u,"\u2580",t);continue}if(p===" "){e.push(" ");continue}e.push(s,p,t)}return e.join("")};return T.left.forEach((o,s)=>{if(r)n.push(r);n.push(b(o,i.fg,i.shadow,i.bg)),n.push(d);let u=T.right[s]??"";n.push(b(u,c.fg,c.shadow,c.bg)),n.push(x)}),n.join("").trimEnd()}async function w(r){let t=L("readline").createInterface({input:process.stdin,output:process.stdout});return new Promise((i)=>{t.question(r,(c)=>{t.close(),i(c.trim())})})}function A(r){if(r.startsWith("Error: "))r=r.slice(7);g(m.TEXT_DANGER_BOLD+"Error: "+m.TEXT_NORMAL+r)}function G(r){return r}
|
|
3
|
+
export{T as bg,R as cg,E as dg};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Qd as n,Td as p,Ud as e,Vd as i,Yd as m,Zd as c}from"./chunk-ff548b0j.js";import{eH as o,lB as s}from"./chunk-qnvsqnz5.js";var u=(t)=>o.sync(()=>e(t)),g=(t)=>o.sync(()=>i(t)),y={info:(t)=>o.sync(()=>p.info(t))},x=(t)=>o.tryPromise(()=>c(t)).pipe(o.map((r)=>{if(n(r))return s.none();return s.some(r)})),V=()=>{let t=m();return{start:(r)=>o.sync(()=>t.start(r)),stop:(r,a)=>o.sync(()=>t.stop(r,a))}};
|
|
3
3
|
export{u as i,g as j,y as k,x as l,V as m};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Kq as e,Lq as V}from"./chunk-bgng3rdj.js";import{KO as N}from"./chunk-qhnpq5gb.js";import{LO as z}from"./chunk-f83wv08n.js";var gJ=z(V(),1);var t=z(N(),1),D=z(V(),1);var RJ=z(N(),1);var A=z(N(),1),p=z(V(),1),M=z(e(),1);var c;function VJ(){if(c===void 0)try{let J=globalThis.process.argv0;c=J?`unknown_service:${J}`:"unknown_service"}catch{c="unknown_service"}return c}var x=(J)=>{return J!==null&&typeof J==="object"&&typeof J.then==="function"};class i{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(J,$){let W=new i({},$);return W._rawAttributes=jJ(J),W._asyncAttributesPending=J.filter(([Z,Q])=>x(Q)).length>0,W}constructor(J,$){let W=J.attributes??{};this._rawAttributes=Object.entries(W).map(([Z,Q])=>{if(x(Q))this._asyncAttributesPending=!0;return[Z,Q]}),this._rawAttributes=jJ(this._rawAttributes),this._schemaUrl=iJ($?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let J=0;J<this._rawAttributes.length;J++){let[$,W]=this._rawAttributes[J];this._rawAttributes[J]=[$,x(W)?await W:W]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending)A.diag.error("Accessing resource attributes before async attributes settled");if(this._memoizedAttributes)return this._memoizedAttributes;let J={};for(let[$,W]of this._rawAttributes){if(x(W)){A.diag.debug(`Unsettled resource attribute ${$} skipped`);continue}if(W!=null)J[$]??=W}if(!this._asyncAttributesPending)this._memoizedAttributes=J;return J}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(J){if(J==null)return this;let $=oJ(this,J),W=$?{schemaUrl:$}:void 0;return i.FromAttributeList([...J.getRawAttributes(),...this.getRawAttributes()],W)}}function DJ(J,$){return i.FromAttributeList(Object.entries(J),$)}function JJ(){return DJ({[M.ATTR_SERVICE_NAME]:VJ(),[M.ATTR_TELEMETRY_SDK_LANGUAGE]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_LANGUAGE],[M.ATTR_TELEMETRY_SDK_NAME]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_NAME],[M.ATTR_TELEMETRY_SDK_VERSION]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_VERSION]})}function jJ(J){return J.map(([$,W])=>{if(x(W))return[$,W.catch((Z)=>{A.diag.debug("promise rejection for resource attribute: %s - %s",$,Z);return})];return[$,W]})}function iJ(J){if(typeof J==="string"||J===void 0)return J;A.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",J);return}function oJ(J,$){let W=J?.schemaUrl,Z=$?.schemaUrl,Q=W===void 0||W==="",q=Z===void 0||Z==="";if(Q)return Z;if(q)return W;if(W===Z)return W;A.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',W,Z);return}var H=z(N(),1),E=z(V(),1);var G=z(N(),1),Y=z(V(),1),h=z(e(),1);var MJ="exception";var C=Symbol.for("nodejs.util.inspect.custom");function R(J){let $={};for(let[W,Z]of J.getRawAttributes()){if(typeof Z?.then==="function")continue;if(Z!=null)$[W]??=Z}return $}function b(J,$,W,Z,Q){if(typeof W==="number"&&W<0){let X=`[${J}]`;return Z?.stylize?Z.stylize(X,"special"):X}if(typeof Q!=="function"||!Z)return $;let q={...Z,depth:Z.depth==null?Z.depth:Z.depth-1};return`${J} ${Q($,q)}`}class $J{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:G.SpanStatusCode.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(J){let $=Date.now();if(this._spanContext=J.spanContext,this._performanceStartTime=Y.otperformance.now(),this._performanceOffset=$-(this._performanceStartTime+Y.otperformance.timeOrigin),this._startTimeProvided=J.startTime!=null,this._spanLimits=J.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=J.spanProcessor,this.name=J.name,this.parentSpanContext=J.parentSpanContext,this.kind=J.kind,J.links)for(let W of J.links)this.addLink(W);if(this.startTime=this._getTime(J.startTime??$),this.resource=J.resource,this.instrumentationScope=J.scope,this._recordEndMetrics=J.recordEndMetrics,J.attributes!=null)this.setAttributes(J.attributes);this._spanProcessor.onStart(this,J.context)}spanContext(){return this._spanContext}setAttribute(J,$){if($==null||this._isSpanEnded())return this;if(J.length===0)return G.diag.warn(`Invalid attribute key: ${J}`),this;if(!Y.isAttributeValue($))return G.diag.warn(`Invalid attribute value set for key: ${J}`),this;let{attributeCountLimit:W}=this._spanLimits,Z=!Object.prototype.hasOwnProperty.call(this.attributes,J);if(W!==void 0&&this._attributesCount>=W&&Z)return this._droppedAttributesCount++,this;if(this.attributes[J]=this._truncateToSize($),Z)this._attributesCount++;return this}setAttributes(J){for(let $ in J)if(Object.prototype.hasOwnProperty.call(J,$))this.setAttribute($,J[$]);return this}addEvent(J,$,W){if(this._isSpanEnded())return this;let{eventCountLimit:Z}=this._spanLimits;if(Z===0)return G.diag.warn("No events allowed."),this._droppedEventsCount++,this;if(Z!==void 0&&this.events.length>=Z){if(this._droppedEventsCount===0)G.diag.debug("Dropping extra events.");this.events.shift(),this._droppedEventsCount++}if(Y.isTimeInput($)){if(!Y.isTimeInput(W))W=$;$=void 0}let Q=Y.sanitizeAttributes($),{attributePerEventCountLimit:q}=this._spanLimits,X={},w=0,K=0;for(let U in Q){if(!Object.prototype.hasOwnProperty.call(Q,U))continue;let m=Q[U];if(q!==void 0&&K>=q){w++;continue}X[U]=this._truncateToSize(m),K++}return this.events.push({name:J,attributes:X,time:this._getTime(W),droppedAttributesCount:w}),this}addLink(J){if(this._isSpanEnded())return this;let{linkCountLimit:$}=this._spanLimits;if($===0)return this._droppedLinksCount++,this;if($!==void 0&&this.links.length>=$){if(this._droppedLinksCount===0)G.diag.debug("Dropping extra links.");this.links.shift(),this._droppedLinksCount++}let{attributePerLinkCountLimit:W}=this._spanLimits,Z=Y.sanitizeAttributes(J.attributes),Q={},q=0,X=0;for(let K in Z){if(!Object.prototype.hasOwnProperty.call(Z,K))continue;let U=Z[K];if(W!==void 0&&X>=W){q++;continue}Q[K]=this._truncateToSize(U),X++}let w={context:J.context};if(X>0)w.attributes=Q;if(q>0)w.droppedAttributesCount=q;return this.links.push(w),this}addLinks(J){for(let $ of J)this.addLink($);return this}setStatus(J){if(this._isSpanEnded())return this;if(J.code===G.SpanStatusCode.UNSET)return this;if(this.status.code===G.SpanStatusCode.OK)return this;let $={code:J.code};if(J.code===G.SpanStatusCode.ERROR){if(typeof J.message==="string")$.message=J.message;else if(J.message!=null)G.diag.warn(`Dropping invalid status.message of type '${typeof J.message}', expected 'string'`)}return this.status=$,this}updateName(J){if(this._isSpanEnded())return this;return this.name=J,this}end(J){if(this._isSpanEnded()){G.diag.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}if(this.endTime=this._getTime(J),this._duration=Y.hrTimeDuration(this.startTime,this.endTime),this._duration[0]<0)G.diag.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0];if(this._droppedEventsCount>0)G.diag.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`);if(this._droppedLinksCount>0)G.diag.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`);if(this._spanProcessor.onEnding)this._spanProcessor.onEnding(this);this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(J){if(typeof J==="number"&&J<=Y.otperformance.now())return Y.hrTime(J+this._performanceOffset);if(typeof J==="number")return Y.millisToHrTime(J);if(J instanceof Date)return Y.millisToHrTime(J.getTime());if(Y.isTimeInputHrTime(J))return J;if(this._startTimeProvided)return Y.millisToHrTime(Date.now());let $=Y.otperformance.now()-this._performanceStartTime;return Y.addHrTimes(this.startTime,Y.millisToHrTime($))}isRecording(){return this._ended===!1}recordException(J,$){let W={};if(typeof J==="string")W[h.ATTR_EXCEPTION_MESSAGE]=J;else if(J){if(J.code)W[h.ATTR_EXCEPTION_TYPE]=J.code.toString();else if(J.name)W[h.ATTR_EXCEPTION_TYPE]=J.name;if(J.message)W[h.ATTR_EXCEPTION_MESSAGE]=J.message;if(J.stack)W[h.ATTR_EXCEPTION_STACKTRACE]=J.stack}if(W[h.ATTR_EXCEPTION_TYPE]||W[h.ATTR_EXCEPTION_MESSAGE])this.addEvent(MJ,W,$);else G.diag.warn(`Failed to record an exception ${J}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let J=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);G.diag.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,J)}return this._ended}_truncateToLimitUtil(J,$){if(J.length<=$)return J;return J.substring(0,$)}_truncateToSize(J){let $=this._attributeValueLengthLimit;if($<=0)return G.diag.warn(`Attribute value limit must be positive, got ${$}`),J;if(typeof J==="string")return this._truncateToLimitUtil(J,$);if(Array.isArray(J))return J.map((W)=>typeof W==="string"?this._truncateToLimitUtil(W,$):W);return J}[C](J,$,W){let Z={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:R(this.resource)}};return b("SpanImpl",Z,J,$,W)}}var B;(function(J){J[J.NOT_RECORD=0]="NOT_RECORD",J[J.RECORD=1]="RECORD",J[J.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(B||(B={}));var OJ="otel.component.name",UJ="otel.component.type",hJ="otel.span.parent.origin",WJ="otel.span.sampling_result",PJ="otel.sdk.processor.span.processed",fJ="otel.sdk.processor.span.queue.capacity",NJ="otel.sdk.processor.span.queue.size",kJ="otel.sdk.span.live",IJ="otel.sdk.span.started",LJ="batching_span_processor",_J="simple_span_processor";class ZJ{startedSpans;liveSpans;constructor(J){this.startedSpans=J.createCounter(IJ,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=J.createUpDownCounter(kJ,{unit:"{span}",description:"The number of currently live spans."})}startSpan(J,$){let W=rJ($);if(this.startedSpans.add(1,{[hJ]:nJ(J),[WJ]:W}),$===B.NOT_RECORD)return()=>{};let Z={[WJ]:W};return this.liveSpans.add(1,Z),()=>{this.liveSpans.add(-1,Z)}}}function nJ(J){if(!J)return"none";if(J.isRemote)return"remote";return"local"}function rJ(J){switch(J){case B.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case B.RECORD:return"RECORD_ONLY";case B.NOT_RECORD:return"DROP"}}var FJ="2.9.0";class QJ{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(J,$){this.instrumentationScope=J,this._sampler=$.sampler,this._spanLimits=$.spanLimits,this._resource=$.resource,this._idGenerator=$.idGenerator,this._spanProcessor=$.spanProcessor;let W=$.meterProvider.getMeter("@opentelemetry/sdk-trace",FJ);this._tracerMetrics=new ZJ(W)}startSpan(J,$={},W=H.context.active()){if($.root)W=H.trace.deleteSpan(W);let Z=H.trace.getSpan(W);if(E.isTracingSuppressed(W))return H.diag.debug("Instrumentation suppressed, returning Noop Span"),H.trace.wrapSpanContext(H.INVALID_SPAN_CONTEXT);let Q=Z?.spanContext(),q=this._idGenerator.generateSpanId(),X,w,K;if(!Q||!H.trace.isSpanContextValid(Q))w=this._idGenerator.generateTraceId();else w=Q.traceId,K=Q.traceState,X=Q;let U=$.kind??H.SpanKind.INTERNAL,m=($.links??[]).map((l)=>{return{context:l.context,attributes:E.sanitizeAttributes(l.attributes)}}),KJ=E.sanitizeAttributes($.attributes),g=this._sampler.shouldSample(W,w,J,U,KJ,m),lJ=this._tracerMetrics.startSpan(Q,g.decision);K=g.traceState??K;let cJ=g.decision===H.SamplingDecision.RECORD_AND_SAMPLED?H.TraceFlags.SAMPLED:H.TraceFlags.NONE,BJ={traceId:w,spanId:q,traceFlags:cJ,traceState:K};if(g.decision===H.SamplingDecision.NOT_RECORD)return H.diag.debug("Recording is off, propagating context in a non-recording span"),H.trace.wrapSpanContext(BJ);let pJ=E.sanitizeAttributes(Object.assign(KJ,g.attributes));return new $J({resource:this._resource,scope:this.instrumentationScope,context:W,spanContext:BJ,name:J,kind:U,links:m,parentSpanContext:X,attributes:pJ,startTime:$.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:lJ})}startActiveSpan(J,$,W,Z){let Q,q,X;if(arguments.length<2)return;else if(arguments.length===2)X=$;else if(arguments.length===3)Q=$,X=W;else Q=$,q=W,X=Z;let w=q??H.context.active(),K=this.startSpan(J,Q,w),U=H.trace.setSpan(w,K);return H.context.with(U,X,void 0,K)}[C](J,$,W){let Z={instrumentationScope:this.instrumentationScope,resource:{attributes:R(this._resource)},spanLimits:this._spanLimits};return b("Tracer",Z,J,$,W)}}var yJ=z(V(),1);class qJ{_spanProcessors;constructor(J){this._spanProcessors=J}forceFlush(){let J=[];for(let $ of this._spanProcessors)J.push($.forceFlush());return new Promise(($)=>{Promise.all(J).then(()=>{$()}).catch((W)=>{yJ.globalErrorHandler(W||Error("MultiSpanProcessor: forceFlush failed")),$()})})}onStart(J,$){for(let W of this._spanProcessors)W.onStart(J,$)}onEnding(J){for(let $ of this._spanProcessors)if($.onEnding)$.onEnding(J)}onEnd(J){for(let $ of this._spanProcessors)$.onEnd(J)}shutdown(){let J=[];for(let $ of this._spanProcessors)J.push($.shutdown());return new Promise(($,W)=>{Promise.all(J).then(()=>{$()},W)})}}var _=z(N(),1),xJ=z(V(),1);class k{shouldSample(){return{decision:B.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class j{shouldSample(){return{decision:B.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class P{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(J){if(this._root=J.root,!this._root)xJ.globalErrorHandler(Error("ParentBasedSampler must have a root sampler configured")),this._root=new j;this._remoteParentSampled=J.remoteParentSampled??new j,this._remoteParentNotSampled=J.remoteParentNotSampled??new k,this._localParentSampled=J.localParentSampled??new j,this._localParentNotSampled=J.localParentNotSampled??new k}shouldSample(J,$,W,Z,Q,q){let X=_.trace.getSpanContext(J);if(!X||!_.isSpanContextValid(X))return this._root.shouldSample(J,$,W,Z,Q,q);if(X.isRemote){if(X.traceFlags&_.TraceFlags.SAMPLED)return this._remoteParentSampled.shouldSample(J,$,W,Z,Q,q);return this._remoteParentNotSampled.shouldSample(J,$,W,Z,Q,q)}if(X.traceFlags&_.TraceFlags.SAMPLED)return this._localParentSampled.shouldSample(J,$,W,Z,Q,q);return this._localParentNotSampled.shouldSample(J,$,W,Z,Q,q)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}var O=z(N(),1),I=z(V(),1);var XJ=z(e(),1);var AJ=new Map;class d{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(J,$,W){let Z=AJ.get(J)??0;if(AJ.set(J,Z+1),this.standardAttrs={[UJ]:J,[OJ]:`${J}/${Z}`},this.droppedAttrs={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:"queue_full"},this.processedSpans=$.createCounter(PJ,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),W){let{capacity:Q,getQueueSize:q}=W;$.createUpDownCounter(fJ,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."}).add(Q,this.standardAttrs),this.queueSize=$.createObservableUpDownCounter(NJ,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=(w)=>w.observe(q(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(J){this.processedSpans.add(J,this.droppedAttrs)}finishSpans(J,$){if(!$){this.processedSpans.add(J,this.standardAttrs);return}let W={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:$.name};this.processedSpans.add(J,W)}shutdown(){if(this.queueSize&&this.queueSizeCallback)this.queueSize.removeCallback(this.queueSizeCallback)}}class YJ{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(J){if(this._exporter=J.exporter,this._maxExportBatchSize=J.maxExportBatchSize??512,this._maxQueueSize=J.maxQueueSize??2048,this._scheduledDelayMillis=J.scheduledDelayMillis??5000,this._exportTimeoutMillis=J.exportTimeoutMillis??30000,this._shutdownOnce=new I.BindOnceFuture(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize)O.diag.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):O.createNoopMeter();this._metrics=new d(LJ,$,{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){if(this._shutdownOnce.isCalled)return this._shutdownOnce.promise;return this._flushAll()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&O.TraceFlags.SAMPLED)===0)return;this._addToBuffer(J)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>{return this.onShutdown()}).then(()=>{return this._flushAll()}).then(()=>{return this._metrics.shutdown(),this._exporter.shutdown()})}_addToBuffer(J){if(this._finishedSpans.length>=this._maxQueueSize){if(this._droppedSpansCount===0)O.diag.debug("maxQueueSize reached, dropping spans");this._droppedSpansCount++,this._metrics.dropSpans(1);return}if(this._droppedSpansCount>0)O.diag.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0;this._finishedSpans.push(J),this._maybeStartTimer()}_flushAll(){return new Promise((J,$)=>{let W=[],Z=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let Q=0,q=Z;Q<q;Q++)W.push(this._flushOneBatch());Promise.all(W).then(()=>{J()}).catch($)})}_flushOneBatch(){if(this._clearTimer(),this._finishedSpans.length===0)return Promise.resolve();return new Promise((J,$)=>{let W=setTimeout(()=>{$(Error("Timeout"))},this._exportTimeoutMillis);O.context.with(I.suppressTracing(O.context.active()),()=>{let Z;if(this._finishedSpans.length<=this._maxExportBatchSize)Z=this._finishedSpans,this._finishedSpans=[];else Z=this._finishedSpans.splice(0,this._maxExportBatchSize);let Q=()=>this._exporter.export(Z,(X)=>{if(clearTimeout(W),this._metrics.finishSpans(Z.length,X.error),X.code===I.ExportResultCode.SUCCESS)J();else $(X.error??Error("BatchSpanProcessor: span export failed"))}),q=null;for(let X=0,w=Z.length;X<w;X++){let K=Z[X];if(K.resource.asyncAttributesPending&&K.resource.waitForAsyncAttributes)q??=[],q.push(K.resource.waitForAsyncAttributes())}if(q===null)Q();else Promise.all(q).then(Q,(X)=>{I.globalErrorHandler(X),$(X)})})})}_maybeStartTimer(){if(this._isExporting)return;let J=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{if(this._isExporting=!1,this._finishedSpans.length>0)this._clearTimer(),this._maybeStartTimer()}).catch(($)=>{this._isExporting=!1,I.globalErrorHandler($)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return J();if(this._timer!==void 0)return;if(this._timer=setTimeout(()=>J(),this._scheduledDelayMillis),typeof this._timer!=="number")this._timer.unref()}_clearTimer(){if(this._timer!==void 0)clearTimeout(this._timer),this._timer=void 0}}class v extends YJ{onShutdown(){}}class F{generateTraceId=CJ(16);generateSpanId=CJ(8)}var o=Buffer.allocUnsafe(16);function CJ(J){return function(){for(let W=0;W<J/4;W++)o.writeUInt32BE(Math.random()*4294967296>>>0,W*4);for(let W=0;W<J;W++)if(o[W]>0)break;else if(W===J-1)o[J-1]=1;return o.toString("hex",0,J)}}var y;(function(J){J[J.resolved=0]="resolved",J[J.timeout=1]="timeout",J[J.error=2]="error",J[J.unresolved=3]="unresolved"})(y||(y={}));class n{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(J={}){this._forceFlushTimeoutMillis=J.forceFlushTimeoutMillis??30000,this._resource=J.resource??JJ();let $=J.spanProcessors??[];this._activeSpanProcessor=new qJ($),this._tracerOptions={resource:this._resource,sampler:J.sampler??new P({root:new j}),spanLimits:{attributeCountLimit:J.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:J.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:J.spanLimits?.eventCountLimit??128,linkCountLimit:J.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:J.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:J.spanLimits?.attributePerLinkCountLimit??128},idGenerator:J.idGenerator||new F,spanProcessor:this._activeSpanProcessor,meterProvider:J.meterProvider??{getMeter(){return RJ.createNoopMeter()}}}}getTracer(J,$,W){let Z=`${J}@${$||""}:${W?.schemaUrl||""}`;if(!this._tracers.has(Z))this._tracers.set(Z,new QJ({name:J,version:$,schemaUrl:W?.schemaUrl},this._tracerOptions));return this._tracers.get(Z)}forceFlush(){let J=this._forceFlushTimeoutMillis,$=this._activeSpanProcessor._spanProcessors.map((W)=>{return new Promise((Z)=>{let Q,q=setTimeout(()=>{Z(Error(`Span processor did not completed within timeout period of ${J} ms`)),Q=y.timeout},J);W.forceFlush().then(()=>{if(clearTimeout(q),Q!==y.timeout)Q=y.resolved,Z(Q)}).catch((X)=>{clearTimeout(q),Q=y.error,Z(X)})})});return new Promise((W,Z)=>{Promise.all($).then((Q)=>{let q=Q.filter((X)=>X!==y.resolved);if(q.length>0)Z(q);else W()}).catch((Q)=>Z([Q]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[C](J,$,W){let Z=this._activeSpanProcessor._spanProcessors,Q={resource:{attributes:R(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:Z.map((q)=>q.constructor?.name??"SpanProcessor")};return b("TracerProvider",Q,J,$,W)}}var S=z(V(),1);class zJ{export(J,$){return this._sendSpans(J,$)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(J){return{resource:{attributes:J.resource.attributes},instrumentationScope:J.instrumentationScope,traceId:J.spanContext().traceId,parentSpanContext:J.parentSpanContext,traceState:J.spanContext().traceState?.serialize(),name:J.name,id:J.spanContext().spanId,kind:J.kind,timestamp:S.hrTimeToMicroseconds(J.startTime),duration:S.hrTimeToMicroseconds(J.duration),attributes:J.attributes,status:J.status,events:J.events,links:J.links}}_sendSpans(J,$){for(let W of J)console.dir(this._exportInfo(W),{depth:3});if($)return $({code:S.ExportResultCode.SUCCESS})}}var HJ=z(V(),1);class GJ{_finishedSpans=[];_stopped=!1;export(J,$){if(this._stopped)return $({code:HJ.ExportResultCode.FAILED,error:Error("Exporter has been stopped")});this._finishedSpans.push(...J),setTimeout(()=>$({code:HJ.ExportResultCode.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}var r=z(N(),1),L=z(V(),1);class a{_exporter;_metrics;_shutdownOnce;_pendingExports;constructor(J){this._exporter=J.exporter,this._shutdownOnce=new L.BindOnceFuture(this._shutdown,this),this._pendingExports=new Set;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):r.createNoopMeter();this._metrics=new d(_J,$)}async forceFlush(){if(await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush)await this._exporter.forceFlush()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&r.TraceFlags.SAMPLED)===0)return;let $=this._doExport(J).catch((W)=>L.globalErrorHandler(W));this._pendingExports.add($),$.finally(()=>this._pendingExports.delete($))}async _doExport(J){if(J.resource.asyncAttributesPending)await J.resource.waitForAsyncAttributes?.();let $=await L.internal._export(this._exporter,[J]);if(this._metrics.finishSpans(1,$.error),$.code!==L.ExportResultCode.SUCCESS)throw $.error??Error(`SimpleSpanProcessor: span export failed (status ${$})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._metrics.shutdown(),this._exporter.shutdown()}}class wJ{onStart(J,$){}onEnd(J){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}var bJ=z(N(),1);class T{_ratio;_upperBound;constructor(J=0){this._ratio=this._normalize(J),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(J,$){return{decision:bJ.isValidTraceId($)&&this._accumulate($)<this._upperBound?B.RECORD_AND_SAMPLED:B.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(J){if(typeof J!=="number"||isNaN(J))return 0;return J>=1?1:J<=0?0:J}_accumulate(J){let $=0;for(let W=0;W<32;W+=8){let Z=0;for(let Q=0;Q<8;Q++){let q=J.charCodeAt(W+Q),X=q<58?q-48:q<71?q-55:q-87;Z=Z<<4|X}$=($^Z)>>>0}return $}}var f;(function(J){J.AlwaysOff="always_off",J.AlwaysOn="always_on",J.ParentBasedAlwaysOff="parentbased_always_off",J.ParentBasedAlwaysOn="parentbased_always_on",J.ParentBasedTraceIdRatio="parentbased_traceidratio",J.TraceIdRatio="traceidratio"})(f||(f={}));var s=1;function vJ(){return{sampler:aJ(),forceFlushTimeoutMillis:30000,generalLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:D.getNumberFromEnv("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:D.getNumberFromEnv("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function aJ(){let J=D.getStringFromEnv("OTEL_TRACES_SAMPLER")??f.ParentBasedAlwaysOn;switch(J){case f.AlwaysOn:return new j;case f.AlwaysOff:return new k;case f.ParentBasedAlwaysOn:return new P({root:new j});case f.ParentBasedAlwaysOff:return new P({root:new k});case f.TraceIdRatio:return new T(EJ());case f.ParentBasedTraceIdRatio:return new P({root:new T(EJ())});default:return t.diag.error(`OTEL_TRACES_SAMPLER value "${J}" invalid, defaulting to "${f.ParentBasedAlwaysOn}".`),new P({root:new j})}}function EJ(){let J=D.getNumberFromEnv("OTEL_TRACES_SAMPLER_ARG");if(J==null)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${s}.`),s;if(J<0||J>1)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${J} was given, but it is out of range ([0..1]), defaulting to ${s}.`),s;return J}var u=z(V(),1),sJ=128,tJ=1/0;function TJ(J){let $=Object.assign({},J.spanLimits);return $.attributeCountLimit=J.spanLimits?.attributeCountLimit??J.generalLimits?.attributeCountLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??sJ,$.attributeValueLengthLimit=J.spanLimits?.attributeValueLengthLimit??J.generalLimits?.attributeValueLengthLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??tJ,Object.assign({},J,{spanLimits:$})}class dJ extends n{constructor(J={}){let $=gJ.merge({},vJ(),TJ(J));delete $.generalLimits;super($)}}var SJ=z(V(),1);class uJ extends v{constructor(J,$){if(!$)$={};let W=[["maxExportBatchSize","OTEL_BSP_MAX_EXPORT_BATCH_SIZE"],["maxQueueSize","OTEL_BSP_MAX_QUEUE_SIZE"],["scheduledDelayMillis","OTEL_BSP_SCHEDULE_DELAY"],["exportTimeoutMillis","OTEL_BSP_EXPORT_TIMEOUT"]];for(let[Z,Q]of W)if($[Z]===void 0){let q=SJ.getNumberFromEnv(Q);if(q!==void 0)$[Z]=q}super({exporter:J,...$})}}class mJ extends a{constructor(J){super({exporter:J})}}export{T as TraceIdRatioBasedSampler,mJ as SimpleSpanProcessor,B as SamplingDecision,F as RandomIdGenerator,P as ParentBasedSampler,wJ as NoopSpanProcessor,GJ as InMemorySpanExporter,zJ as ConsoleSpanExporter,uJ as BatchSpanProcessor,dJ as BasicTracerProvider,j as AlwaysOnSampler,k as AlwaysOffSampler};
|
|
2
|
+
import{tq as e,uq as V}from"./chunk-fhqfqd5v.js";import{rO as N}from"./chunk-j8fcfhr2.js";import{sO as z}from"./chunk-r9w0thdk.js";var gJ=z(V(),1);var t=z(N(),1),D=z(V(),1);var RJ=z(N(),1);var A=z(N(),1),p=z(V(),1),M=z(e(),1);var c;function VJ(){if(c===void 0)try{let J=globalThis.process.argv0;c=J?`unknown_service:${J}`:"unknown_service"}catch{c="unknown_service"}return c}var x=(J)=>{return J!==null&&typeof J==="object"&&typeof J.then==="function"};class i{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(J,$){let W=new i({},$);return W._rawAttributes=jJ(J),W._asyncAttributesPending=J.filter(([Z,Q])=>x(Q)).length>0,W}constructor(J,$){let W=J.attributes??{};this._rawAttributes=Object.entries(W).map(([Z,Q])=>{if(x(Q))this._asyncAttributesPending=!0;return[Z,Q]}),this._rawAttributes=jJ(this._rawAttributes),this._schemaUrl=iJ($?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let J=0;J<this._rawAttributes.length;J++){let[$,W]=this._rawAttributes[J];this._rawAttributes[J]=[$,x(W)?await W:W]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending)A.diag.error("Accessing resource attributes before async attributes settled");if(this._memoizedAttributes)return this._memoizedAttributes;let J={};for(let[$,W]of this._rawAttributes){if(x(W)){A.diag.debug(`Unsettled resource attribute ${$} skipped`);continue}if(W!=null)J[$]??=W}if(!this._asyncAttributesPending)this._memoizedAttributes=J;return J}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(J){if(J==null)return this;let $=oJ(this,J),W=$?{schemaUrl:$}:void 0;return i.FromAttributeList([...J.getRawAttributes(),...this.getRawAttributes()],W)}}function DJ(J,$){return i.FromAttributeList(Object.entries(J),$)}function JJ(){return DJ({[M.ATTR_SERVICE_NAME]:VJ(),[M.ATTR_TELEMETRY_SDK_LANGUAGE]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_LANGUAGE],[M.ATTR_TELEMETRY_SDK_NAME]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_NAME],[M.ATTR_TELEMETRY_SDK_VERSION]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_VERSION]})}function jJ(J){return J.map(([$,W])=>{if(x(W))return[$,W.catch((Z)=>{A.diag.debug("promise rejection for resource attribute: %s - %s",$,Z);return})];return[$,W]})}function iJ(J){if(typeof J==="string"||J===void 0)return J;A.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",J);return}function oJ(J,$){let W=J?.schemaUrl,Z=$?.schemaUrl,Q=W===void 0||W==="",q=Z===void 0||Z==="";if(Q)return Z;if(q)return W;if(W===Z)return W;A.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',W,Z);return}var H=z(N(),1),E=z(V(),1);var G=z(N(),1),Y=z(V(),1),h=z(e(),1);var MJ="exception";var C=Symbol.for("nodejs.util.inspect.custom");function R(J){let $={};for(let[W,Z]of J.getRawAttributes()){if(typeof Z?.then==="function")continue;if(Z!=null)$[W]??=Z}return $}function b(J,$,W,Z,Q){if(typeof W==="number"&&W<0){let X=`[${J}]`;return Z?.stylize?Z.stylize(X,"special"):X}if(typeof Q!=="function"||!Z)return $;let q={...Z,depth:Z.depth==null?Z.depth:Z.depth-1};return`${J} ${Q($,q)}`}class $J{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:G.SpanStatusCode.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(J){let $=Date.now();if(this._spanContext=J.spanContext,this._performanceStartTime=Y.otperformance.now(),this._performanceOffset=$-(this._performanceStartTime+Y.otperformance.timeOrigin),this._startTimeProvided=J.startTime!=null,this._spanLimits=J.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=J.spanProcessor,this.name=J.name,this.parentSpanContext=J.parentSpanContext,this.kind=J.kind,J.links)for(let W of J.links)this.addLink(W);if(this.startTime=this._getTime(J.startTime??$),this.resource=J.resource,this.instrumentationScope=J.scope,this._recordEndMetrics=J.recordEndMetrics,J.attributes!=null)this.setAttributes(J.attributes);this._spanProcessor.onStart(this,J.context)}spanContext(){return this._spanContext}setAttribute(J,$){if($==null||this._isSpanEnded())return this;if(J.length===0)return G.diag.warn(`Invalid attribute key: ${J}`),this;if(!Y.isAttributeValue($))return G.diag.warn(`Invalid attribute value set for key: ${J}`),this;let{attributeCountLimit:W}=this._spanLimits,Z=!Object.prototype.hasOwnProperty.call(this.attributes,J);if(W!==void 0&&this._attributesCount>=W&&Z)return this._droppedAttributesCount++,this;if(this.attributes[J]=this._truncateToSize($),Z)this._attributesCount++;return this}setAttributes(J){for(let $ in J)if(Object.prototype.hasOwnProperty.call(J,$))this.setAttribute($,J[$]);return this}addEvent(J,$,W){if(this._isSpanEnded())return this;let{eventCountLimit:Z}=this._spanLimits;if(Z===0)return G.diag.warn("No events allowed."),this._droppedEventsCount++,this;if(Z!==void 0&&this.events.length>=Z){if(this._droppedEventsCount===0)G.diag.debug("Dropping extra events.");this.events.shift(),this._droppedEventsCount++}if(Y.isTimeInput($)){if(!Y.isTimeInput(W))W=$;$=void 0}let Q=Y.sanitizeAttributes($),{attributePerEventCountLimit:q}=this._spanLimits,X={},w=0,K=0;for(let U in Q){if(!Object.prototype.hasOwnProperty.call(Q,U))continue;let m=Q[U];if(q!==void 0&&K>=q){w++;continue}X[U]=this._truncateToSize(m),K++}return this.events.push({name:J,attributes:X,time:this._getTime(W),droppedAttributesCount:w}),this}addLink(J){if(this._isSpanEnded())return this;let{linkCountLimit:$}=this._spanLimits;if($===0)return this._droppedLinksCount++,this;if($!==void 0&&this.links.length>=$){if(this._droppedLinksCount===0)G.diag.debug("Dropping extra links.");this.links.shift(),this._droppedLinksCount++}let{attributePerLinkCountLimit:W}=this._spanLimits,Z=Y.sanitizeAttributes(J.attributes),Q={},q=0,X=0;for(let K in Z){if(!Object.prototype.hasOwnProperty.call(Z,K))continue;let U=Z[K];if(W!==void 0&&X>=W){q++;continue}Q[K]=this._truncateToSize(U),X++}let w={context:J.context};if(X>0)w.attributes=Q;if(q>0)w.droppedAttributesCount=q;return this.links.push(w),this}addLinks(J){for(let $ of J)this.addLink($);return this}setStatus(J){if(this._isSpanEnded())return this;if(J.code===G.SpanStatusCode.UNSET)return this;if(this.status.code===G.SpanStatusCode.OK)return this;let $={code:J.code};if(J.code===G.SpanStatusCode.ERROR){if(typeof J.message==="string")$.message=J.message;else if(J.message!=null)G.diag.warn(`Dropping invalid status.message of type '${typeof J.message}', expected 'string'`)}return this.status=$,this}updateName(J){if(this._isSpanEnded())return this;return this.name=J,this}end(J){if(this._isSpanEnded()){G.diag.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}if(this.endTime=this._getTime(J),this._duration=Y.hrTimeDuration(this.startTime,this.endTime),this._duration[0]<0)G.diag.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0];if(this._droppedEventsCount>0)G.diag.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`);if(this._droppedLinksCount>0)G.diag.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`);if(this._spanProcessor.onEnding)this._spanProcessor.onEnding(this);this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(J){if(typeof J==="number"&&J<=Y.otperformance.now())return Y.hrTime(J+this._performanceOffset);if(typeof J==="number")return Y.millisToHrTime(J);if(J instanceof Date)return Y.millisToHrTime(J.getTime());if(Y.isTimeInputHrTime(J))return J;if(this._startTimeProvided)return Y.millisToHrTime(Date.now());let $=Y.otperformance.now()-this._performanceStartTime;return Y.addHrTimes(this.startTime,Y.millisToHrTime($))}isRecording(){return this._ended===!1}recordException(J,$){let W={};if(typeof J==="string")W[h.ATTR_EXCEPTION_MESSAGE]=J;else if(J){if(J.code)W[h.ATTR_EXCEPTION_TYPE]=J.code.toString();else if(J.name)W[h.ATTR_EXCEPTION_TYPE]=J.name;if(J.message)W[h.ATTR_EXCEPTION_MESSAGE]=J.message;if(J.stack)W[h.ATTR_EXCEPTION_STACKTRACE]=J.stack}if(W[h.ATTR_EXCEPTION_TYPE]||W[h.ATTR_EXCEPTION_MESSAGE])this.addEvent(MJ,W,$);else G.diag.warn(`Failed to record an exception ${J}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let J=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);G.diag.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,J)}return this._ended}_truncateToLimitUtil(J,$){if(J.length<=$)return J;return J.substring(0,$)}_truncateToSize(J){let $=this._attributeValueLengthLimit;if($<=0)return G.diag.warn(`Attribute value limit must be positive, got ${$}`),J;if(typeof J==="string")return this._truncateToLimitUtil(J,$);if(Array.isArray(J))return J.map((W)=>typeof W==="string"?this._truncateToLimitUtil(W,$):W);return J}[C](J,$,W){let Z={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:R(this.resource)}};return b("SpanImpl",Z,J,$,W)}}var B;(function(J){J[J.NOT_RECORD=0]="NOT_RECORD",J[J.RECORD=1]="RECORD",J[J.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(B||(B={}));var OJ="otel.component.name",UJ="otel.component.type",hJ="otel.span.parent.origin",WJ="otel.span.sampling_result",PJ="otel.sdk.processor.span.processed",fJ="otel.sdk.processor.span.queue.capacity",NJ="otel.sdk.processor.span.queue.size",kJ="otel.sdk.span.live",IJ="otel.sdk.span.started",LJ="batching_span_processor",_J="simple_span_processor";class ZJ{startedSpans;liveSpans;constructor(J){this.startedSpans=J.createCounter(IJ,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=J.createUpDownCounter(kJ,{unit:"{span}",description:"The number of currently live spans."})}startSpan(J,$){let W=rJ($);if(this.startedSpans.add(1,{[hJ]:nJ(J),[WJ]:W}),$===B.NOT_RECORD)return()=>{};let Z={[WJ]:W};return this.liveSpans.add(1,Z),()=>{this.liveSpans.add(-1,Z)}}}function nJ(J){if(!J)return"none";if(J.isRemote)return"remote";return"local"}function rJ(J){switch(J){case B.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case B.RECORD:return"RECORD_ONLY";case B.NOT_RECORD:return"DROP"}}var FJ="2.9.0";class QJ{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(J,$){this.instrumentationScope=J,this._sampler=$.sampler,this._spanLimits=$.spanLimits,this._resource=$.resource,this._idGenerator=$.idGenerator,this._spanProcessor=$.spanProcessor;let W=$.meterProvider.getMeter("@opentelemetry/sdk-trace",FJ);this._tracerMetrics=new ZJ(W)}startSpan(J,$={},W=H.context.active()){if($.root)W=H.trace.deleteSpan(W);let Z=H.trace.getSpan(W);if(E.isTracingSuppressed(W))return H.diag.debug("Instrumentation suppressed, returning Noop Span"),H.trace.wrapSpanContext(H.INVALID_SPAN_CONTEXT);let Q=Z?.spanContext(),q=this._idGenerator.generateSpanId(),X,w,K;if(!Q||!H.trace.isSpanContextValid(Q))w=this._idGenerator.generateTraceId();else w=Q.traceId,K=Q.traceState,X=Q;let U=$.kind??H.SpanKind.INTERNAL,m=($.links??[]).map((l)=>{return{context:l.context,attributes:E.sanitizeAttributes(l.attributes)}}),KJ=E.sanitizeAttributes($.attributes),g=this._sampler.shouldSample(W,w,J,U,KJ,m),lJ=this._tracerMetrics.startSpan(Q,g.decision);K=g.traceState??K;let cJ=g.decision===H.SamplingDecision.RECORD_AND_SAMPLED?H.TraceFlags.SAMPLED:H.TraceFlags.NONE,BJ={traceId:w,spanId:q,traceFlags:cJ,traceState:K};if(g.decision===H.SamplingDecision.NOT_RECORD)return H.diag.debug("Recording is off, propagating context in a non-recording span"),H.trace.wrapSpanContext(BJ);let pJ=E.sanitizeAttributes(Object.assign(KJ,g.attributes));return new $J({resource:this._resource,scope:this.instrumentationScope,context:W,spanContext:BJ,name:J,kind:U,links:m,parentSpanContext:X,attributes:pJ,startTime:$.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:lJ})}startActiveSpan(J,$,W,Z){let Q,q,X;if(arguments.length<2)return;else if(arguments.length===2)X=$;else if(arguments.length===3)Q=$,X=W;else Q=$,q=W,X=Z;let w=q??H.context.active(),K=this.startSpan(J,Q,w),U=H.trace.setSpan(w,K);return H.context.with(U,X,void 0,K)}[C](J,$,W){let Z={instrumentationScope:this.instrumentationScope,resource:{attributes:R(this._resource)},spanLimits:this._spanLimits};return b("Tracer",Z,J,$,W)}}var yJ=z(V(),1);class qJ{_spanProcessors;constructor(J){this._spanProcessors=J}forceFlush(){let J=[];for(let $ of this._spanProcessors)J.push($.forceFlush());return new Promise(($)=>{Promise.all(J).then(()=>{$()}).catch((W)=>{yJ.globalErrorHandler(W||Error("MultiSpanProcessor: forceFlush failed")),$()})})}onStart(J,$){for(let W of this._spanProcessors)W.onStart(J,$)}onEnding(J){for(let $ of this._spanProcessors)if($.onEnding)$.onEnding(J)}onEnd(J){for(let $ of this._spanProcessors)$.onEnd(J)}shutdown(){let J=[];for(let $ of this._spanProcessors)J.push($.shutdown());return new Promise(($,W)=>{Promise.all(J).then(()=>{$()},W)})}}var _=z(N(),1),xJ=z(V(),1);class k{shouldSample(){return{decision:B.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class j{shouldSample(){return{decision:B.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class P{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(J){if(this._root=J.root,!this._root)xJ.globalErrorHandler(Error("ParentBasedSampler must have a root sampler configured")),this._root=new j;this._remoteParentSampled=J.remoteParentSampled??new j,this._remoteParentNotSampled=J.remoteParentNotSampled??new k,this._localParentSampled=J.localParentSampled??new j,this._localParentNotSampled=J.localParentNotSampled??new k}shouldSample(J,$,W,Z,Q,q){let X=_.trace.getSpanContext(J);if(!X||!_.isSpanContextValid(X))return this._root.shouldSample(J,$,W,Z,Q,q);if(X.isRemote){if(X.traceFlags&_.TraceFlags.SAMPLED)return this._remoteParentSampled.shouldSample(J,$,W,Z,Q,q);return this._remoteParentNotSampled.shouldSample(J,$,W,Z,Q,q)}if(X.traceFlags&_.TraceFlags.SAMPLED)return this._localParentSampled.shouldSample(J,$,W,Z,Q,q);return this._localParentNotSampled.shouldSample(J,$,W,Z,Q,q)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}var O=z(N(),1),I=z(V(),1);var XJ=z(e(),1);var AJ=new Map;class d{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(J,$,W){let Z=AJ.get(J)??0;if(AJ.set(J,Z+1),this.standardAttrs={[UJ]:J,[OJ]:`${J}/${Z}`},this.droppedAttrs={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:"queue_full"},this.processedSpans=$.createCounter(PJ,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),W){let{capacity:Q,getQueueSize:q}=W;$.createUpDownCounter(fJ,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."}).add(Q,this.standardAttrs),this.queueSize=$.createObservableUpDownCounter(NJ,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=(w)=>w.observe(q(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(J){this.processedSpans.add(J,this.droppedAttrs)}finishSpans(J,$){if(!$){this.processedSpans.add(J,this.standardAttrs);return}let W={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:$.name};this.processedSpans.add(J,W)}shutdown(){if(this.queueSize&&this.queueSizeCallback)this.queueSize.removeCallback(this.queueSizeCallback)}}class YJ{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(J){if(this._exporter=J.exporter,this._maxExportBatchSize=J.maxExportBatchSize??512,this._maxQueueSize=J.maxQueueSize??2048,this._scheduledDelayMillis=J.scheduledDelayMillis??5000,this._exportTimeoutMillis=J.exportTimeoutMillis??30000,this._shutdownOnce=new I.BindOnceFuture(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize)O.diag.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):O.createNoopMeter();this._metrics=new d(LJ,$,{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){if(this._shutdownOnce.isCalled)return this._shutdownOnce.promise;return this._flushAll()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&O.TraceFlags.SAMPLED)===0)return;this._addToBuffer(J)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>{return this.onShutdown()}).then(()=>{return this._flushAll()}).then(()=>{return this._metrics.shutdown(),this._exporter.shutdown()})}_addToBuffer(J){if(this._finishedSpans.length>=this._maxQueueSize){if(this._droppedSpansCount===0)O.diag.debug("maxQueueSize reached, dropping spans");this._droppedSpansCount++,this._metrics.dropSpans(1);return}if(this._droppedSpansCount>0)O.diag.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0;this._finishedSpans.push(J),this._maybeStartTimer()}_flushAll(){return new Promise((J,$)=>{let W=[],Z=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let Q=0,q=Z;Q<q;Q++)W.push(this._flushOneBatch());Promise.all(W).then(()=>{J()}).catch($)})}_flushOneBatch(){if(this._clearTimer(),this._finishedSpans.length===0)return Promise.resolve();return new Promise((J,$)=>{let W=setTimeout(()=>{$(Error("Timeout"))},this._exportTimeoutMillis);O.context.with(I.suppressTracing(O.context.active()),()=>{let Z;if(this._finishedSpans.length<=this._maxExportBatchSize)Z=this._finishedSpans,this._finishedSpans=[];else Z=this._finishedSpans.splice(0,this._maxExportBatchSize);let Q=()=>this._exporter.export(Z,(X)=>{if(clearTimeout(W),this._metrics.finishSpans(Z.length,X.error),X.code===I.ExportResultCode.SUCCESS)J();else $(X.error??Error("BatchSpanProcessor: span export failed"))}),q=null;for(let X=0,w=Z.length;X<w;X++){let K=Z[X];if(K.resource.asyncAttributesPending&&K.resource.waitForAsyncAttributes)q??=[],q.push(K.resource.waitForAsyncAttributes())}if(q===null)Q();else Promise.all(q).then(Q,(X)=>{I.globalErrorHandler(X),$(X)})})})}_maybeStartTimer(){if(this._isExporting)return;let J=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{if(this._isExporting=!1,this._finishedSpans.length>0)this._clearTimer(),this._maybeStartTimer()}).catch(($)=>{this._isExporting=!1,I.globalErrorHandler($)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return J();if(this._timer!==void 0)return;if(this._timer=setTimeout(()=>J(),this._scheduledDelayMillis),typeof this._timer!=="number")this._timer.unref()}_clearTimer(){if(this._timer!==void 0)clearTimeout(this._timer),this._timer=void 0}}class v extends YJ{onShutdown(){}}class F{generateTraceId=CJ(16);generateSpanId=CJ(8)}var o=Buffer.allocUnsafe(16);function CJ(J){return function(){for(let W=0;W<J/4;W++)o.writeUInt32BE(Math.random()*4294967296>>>0,W*4);for(let W=0;W<J;W++)if(o[W]>0)break;else if(W===J-1)o[J-1]=1;return o.toString("hex",0,J)}}var y;(function(J){J[J.resolved=0]="resolved",J[J.timeout=1]="timeout",J[J.error=2]="error",J[J.unresolved=3]="unresolved"})(y||(y={}));class n{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(J={}){this._forceFlushTimeoutMillis=J.forceFlushTimeoutMillis??30000,this._resource=J.resource??JJ();let $=J.spanProcessors??[];this._activeSpanProcessor=new qJ($),this._tracerOptions={resource:this._resource,sampler:J.sampler??new P({root:new j}),spanLimits:{attributeCountLimit:J.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:J.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:J.spanLimits?.eventCountLimit??128,linkCountLimit:J.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:J.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:J.spanLimits?.attributePerLinkCountLimit??128},idGenerator:J.idGenerator||new F,spanProcessor:this._activeSpanProcessor,meterProvider:J.meterProvider??{getMeter(){return RJ.createNoopMeter()}}}}getTracer(J,$,W){let Z=`${J}@${$||""}:${W?.schemaUrl||""}`;if(!this._tracers.has(Z))this._tracers.set(Z,new QJ({name:J,version:$,schemaUrl:W?.schemaUrl},this._tracerOptions));return this._tracers.get(Z)}forceFlush(){let J=this._forceFlushTimeoutMillis,$=this._activeSpanProcessor._spanProcessors.map((W)=>{return new Promise((Z)=>{let Q,q=setTimeout(()=>{Z(Error(`Span processor did not completed within timeout period of ${J} ms`)),Q=y.timeout},J);W.forceFlush().then(()=>{if(clearTimeout(q),Q!==y.timeout)Q=y.resolved,Z(Q)}).catch((X)=>{clearTimeout(q),Q=y.error,Z(X)})})});return new Promise((W,Z)=>{Promise.all($).then((Q)=>{let q=Q.filter((X)=>X!==y.resolved);if(q.length>0)Z(q);else W()}).catch((Q)=>Z([Q]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[C](J,$,W){let Z=this._activeSpanProcessor._spanProcessors,Q={resource:{attributes:R(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:Z.map((q)=>q.constructor?.name??"SpanProcessor")};return b("TracerProvider",Q,J,$,W)}}var S=z(V(),1);class zJ{export(J,$){return this._sendSpans(J,$)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(J){return{resource:{attributes:J.resource.attributes},instrumentationScope:J.instrumentationScope,traceId:J.spanContext().traceId,parentSpanContext:J.parentSpanContext,traceState:J.spanContext().traceState?.serialize(),name:J.name,id:J.spanContext().spanId,kind:J.kind,timestamp:S.hrTimeToMicroseconds(J.startTime),duration:S.hrTimeToMicroseconds(J.duration),attributes:J.attributes,status:J.status,events:J.events,links:J.links}}_sendSpans(J,$){for(let W of J)console.dir(this._exportInfo(W),{depth:3});if($)return $({code:S.ExportResultCode.SUCCESS})}}var HJ=z(V(),1);class GJ{_finishedSpans=[];_stopped=!1;export(J,$){if(this._stopped)return $({code:HJ.ExportResultCode.FAILED,error:Error("Exporter has been stopped")});this._finishedSpans.push(...J),setTimeout(()=>$({code:HJ.ExportResultCode.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}var r=z(N(),1),L=z(V(),1);class a{_exporter;_metrics;_shutdownOnce;_pendingExports;constructor(J){this._exporter=J.exporter,this._shutdownOnce=new L.BindOnceFuture(this._shutdown,this),this._pendingExports=new Set;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):r.createNoopMeter();this._metrics=new d(_J,$)}async forceFlush(){if(await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush)await this._exporter.forceFlush()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&r.TraceFlags.SAMPLED)===0)return;let $=this._doExport(J).catch((W)=>L.globalErrorHandler(W));this._pendingExports.add($),$.finally(()=>this._pendingExports.delete($))}async _doExport(J){if(J.resource.asyncAttributesPending)await J.resource.waitForAsyncAttributes?.();let $=await L.internal._export(this._exporter,[J]);if(this._metrics.finishSpans(1,$.error),$.code!==L.ExportResultCode.SUCCESS)throw $.error??Error(`SimpleSpanProcessor: span export failed (status ${$})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._metrics.shutdown(),this._exporter.shutdown()}}class wJ{onStart(J,$){}onEnd(J){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}var bJ=z(N(),1);class T{_ratio;_upperBound;constructor(J=0){this._ratio=this._normalize(J),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(J,$){return{decision:bJ.isValidTraceId($)&&this._accumulate($)<this._upperBound?B.RECORD_AND_SAMPLED:B.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(J){if(typeof J!=="number"||isNaN(J))return 0;return J>=1?1:J<=0?0:J}_accumulate(J){let $=0;for(let W=0;W<32;W+=8){let Z=0;for(let Q=0;Q<8;Q++){let q=J.charCodeAt(W+Q),X=q<58?q-48:q<71?q-55:q-87;Z=Z<<4|X}$=($^Z)>>>0}return $}}var f;(function(J){J.AlwaysOff="always_off",J.AlwaysOn="always_on",J.ParentBasedAlwaysOff="parentbased_always_off",J.ParentBasedAlwaysOn="parentbased_always_on",J.ParentBasedTraceIdRatio="parentbased_traceidratio",J.TraceIdRatio="traceidratio"})(f||(f={}));var s=1;function vJ(){return{sampler:aJ(),forceFlushTimeoutMillis:30000,generalLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:D.getNumberFromEnv("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:D.getNumberFromEnv("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function aJ(){let J=D.getStringFromEnv("OTEL_TRACES_SAMPLER")??f.ParentBasedAlwaysOn;switch(J){case f.AlwaysOn:return new j;case f.AlwaysOff:return new k;case f.ParentBasedAlwaysOn:return new P({root:new j});case f.ParentBasedAlwaysOff:return new P({root:new k});case f.TraceIdRatio:return new T(EJ());case f.ParentBasedTraceIdRatio:return new P({root:new T(EJ())});default:return t.diag.error(`OTEL_TRACES_SAMPLER value "${J}" invalid, defaulting to "${f.ParentBasedAlwaysOn}".`),new P({root:new j})}}function EJ(){let J=D.getNumberFromEnv("OTEL_TRACES_SAMPLER_ARG");if(J==null)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${s}.`),s;if(J<0||J>1)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${J} was given, but it is out of range ([0..1]), defaulting to ${s}.`),s;return J}var u=z(V(),1),sJ=128,tJ=1/0;function TJ(J){let $=Object.assign({},J.spanLimits);return $.attributeCountLimit=J.spanLimits?.attributeCountLimit??J.generalLimits?.attributeCountLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??sJ,$.attributeValueLengthLimit=J.spanLimits?.attributeValueLengthLimit??J.generalLimits?.attributeValueLengthLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??tJ,Object.assign({},J,{spanLimits:$})}class dJ extends n{constructor(J={}){let $=gJ.merge({},vJ(),TJ(J));delete $.generalLimits;super($)}}var SJ=z(V(),1);class uJ extends v{constructor(J,$){if(!$)$={};let W=[["maxExportBatchSize","OTEL_BSP_MAX_EXPORT_BATCH_SIZE"],["maxQueueSize","OTEL_BSP_MAX_QUEUE_SIZE"],["scheduledDelayMillis","OTEL_BSP_SCHEDULE_DELAY"],["exportTimeoutMillis","OTEL_BSP_EXPORT_TIMEOUT"]];for(let[Z,Q]of W)if($[Z]===void 0){let q=SJ.getNumberFromEnv(Q);if(q!==void 0)$[Z]=q}super({exporter:J,...$})}}class mJ extends a{constructor(J){super({exporter:J})}}export{T as TraceIdRatioBasedSampler,mJ as SimpleSpanProcessor,B as SamplingDecision,F as RandomIdGenerator,P as ParentBasedSampler,wJ as NoopSpanProcessor,GJ as InMemorySpanExporter,zJ as ConsoleSpanExporter,uJ as BatchSpanProcessor,dJ as BasicTracerProvider,j as AlwaysOnSampler,k as AlwaysOffSampler};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{ae as q}from"./chunk-5w76kdjr.js";import{dg as v}from"./chunk-eg3syjtv.js";import{Bh as S}from"./chunk-azpnrnv9.js";import"./chunk-w46g7kdq.js";import"./chunk-bd21p9zz.js";import"./chunk-p54bzjtv.js";import"./chunk-ha1w0xzh.js";import"./chunk-6m9jb0s9.js";import"./chunk-vygkwwjd.js";import"./chunk-qznr1emx.js";import"./chunk-6tstcwxp.js";import{El as Q,Nl as H}from"./chunk-qqrc1h5b.js";import"./chunk-fsahzvd5.js";import"./chunk-mh19kwzw.js";import"./chunk-88q0mtgp.js";import"./chunk-bvf2dcq4.js";import"./chunk-9zm6r55d.js";import"./chunk-vcygx6hs.js";import"./chunk-khzzmyk2.js";import"./chunk-y7hgevfv.js";import"./chunk-47k5jy1p.js";import"./chunk-rp9r3cvt.js";import"./chunk-ph8hn1wt.js";import"./chunk-ptqk1j2r.js";import"./chunk-cqtkxwd8.js";import"./chunk-pr7z5dj8.js";import"./chunk-dnnkq5y4.js";import"./chunk-t239rvej.js";import"./chunk-yz25607t.js";import"./chunk-7hvf9dgx.js";import"./chunk-wkg3c643.js";import"./chunk-fhqfqd5v.js";import"./chunk-xq2kcar4.js";import"./chunk-qrxqfp59.js";import"./chunk-73r8bjjz.js";import"./chunk-vdxar0ct.js";import{Nr as K}from"./chunk-ztyy3ga3.js";import"./chunk-mmjgf680.js";import"./chunk-nj1ntakd.js";import"./chunk-cmb62jkt.js";import"./chunk-tkrwcjkr.js";import"./chunk-x9ptmxt7.js";import"./chunk-0vakk88p.js";import"./chunk-r5zy4za0.js";import"./chunk-tr6rdr6h.js";import"./chunk-at22twxx.js";import"./chunk-kgptyf7n.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-55fcmswd.js";import"./chunk-qnvsqnz5.js";import"./chunk-pxm4qvqk.js";import"./chunk-j8fcfhr2.js";import"./chunk-r9w0thdk.js";var P=q({command:"pr <number>",describe:"fetch and checkout a GitHub PR branch, then run qitqode",builder:(Y)=>Y.positional("number",{type:"number",describe:"PR number to checkout",demandOption:!0}),async handler(Y){await H.provide({directory:process.cwd(),async fn(){if(H.project.vcs!=="git")v.error("Could not find git repository. Please run this command from a git repository."),process.exit(1);let J=Y.number,Z=`pr/${J}`;if(v.println(`Fetching and checking out PR #${J}...`),(await K.run(["gh","pr","checkout",`${J}`,"--branch",Z,"--force"],{nothrow:!0})).code!==0)v.error(`Failed to checkout PR #${J}. Make sure you have gh CLI installed and authenticated.`),process.exit(1);let _=await K.text(["gh","pr","view",`${J}`,"--json","headRepository,headRepositoryOwner,isCrossRepository,headRefName,body"],{nothrow:!0}),V;if(_.code===0){let j=_.text;if(j.trim()){let z=JSON.parse(j);if(z&&z.isCrossRepository&&z.headRepository&&z.headRepositoryOwner){let L=z.headRepositoryOwner.login,W=z.headRepository.name,C=L;if(!(await S.runPromise(Q.Service.use((F)=>F.run(["remote"],{cwd:H.worktree}))).then((F)=>F.text().trim())).split(`
|
|
3
|
+
`).includes(C))await S.runPromise(Q.Service.use((F)=>F.run(["remote","add",C,`https://github.com/${L}/${W}.git`],{cwd:H.worktree}))),v.println(`Added fork remote: ${C}`);let X=z.headRefName;await S.runPromise(Q.Service.use((F)=>F.run(["branch",`--set-upstream-to=${C}/${X}`,Z],{cwd:H.worktree})))}if(z&&z.body){let L=z.body.match(/https:\/\/opncd\.ai\/s\/([a-zA-Z0-9_-]+)/);if(L){let W=L[0];v.println(`Found qitqode session: ${W}`),v.println("Importing session...");let C=await K.text(["qitqode","import",W],{nothrow:!0});if(C.code===0){let X=C.text.trim().match(/Imported session: ([a-zA-Z0-9_-]+)/);if(X)V=X[1],v.println(`Session imported: ${V}`)}}}}}v.println(`Successfully checked out PR #${J} as branch '${Z}'`),v.println(),v.println("Starting qitqode..."),v.println();let D=V?["-s",V]:[],$=await K.spawn(["qitqode",...D],{stdin:"inherit",stdout:"inherit",stderr:"inherit",cwd:process.cwd()}).exited;if($!==0)throw Error(`qitqode exited with code ${$}`)}})}});export{P as PrCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Bl as s,Cl as t,Dl as u,Fl as v,Gl as w}from"./chunk-qqrc1h5b.js";import"./chunk-fsahzvd5.js";import{Am as b,Bm as c,Cm as d,Dm as e,Em as f,Fm as g,Gm as h,Hm as i,Im as j,Jm as k,Lm as l,Mm as m,Nm as n,Pm as o,Rm as p,Ym as q,Zm as r,nm as a}from"./chunk-mh19kwzw.js";import"./chunk-vcygx6hs.js";import"./chunk-khzzmyk2.js";import"./chunk-y7hgevfv.js";import"./chunk-xq2kcar4.js";import"./chunk-qrxqfp59.js";import"./chunk-73r8bjjz.js";import"./chunk-vdxar0ct.js";import"./chunk-ztyy3ga3.js";import"./chunk-mmjgf680.js";import"./chunk-cmb62jkt.js";import"./chunk-tkrwcjkr.js";import"./chunk-0vakk88p.js";import"./chunk-r5zy4za0.js";import"./chunk-tr6rdr6h.js";import"./chunk-at22twxx.js";import"./chunk-kgptyf7n.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-55fcmswd.js";import"./chunk-qnvsqnz5.js";import"./chunk-r9w0thdk.js";export{a as sql,e as or,f as not,c as ne,j as lte,i as lt,p as like,l as isNull,m as isNotNull,k as inArray,h as gte,g as gt,n as exists,b as eq,r as desc,t as count,o as between,q as asc,d as and,w as Storage,v as NotFoundError,s as JsonMigration,u as Database};
|