@cimplify/sdk 0.109.0 → 0.111.0
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/CHANGELOG.md +54 -0
- package/README.md +18 -0
- package/dist/advanced.d.mts +4 -4
- package/dist/advanced.d.ts +4 -4
- package/dist/advanced.js +22 -22
- package/dist/advanced.mjs +3 -3
- package/dist/{audio-XU2sFNyO.d.mts → audio-DhvyjqdA.d.mts} +2 -2
- package/dist/{audio-8Igdy2WK.d.ts → audio-m0w8cnxq.d.ts} +2 -2
- package/dist/avatars.js +21 -21
- package/dist/avatars.mjs +3 -3
- package/dist/{backend-L4d_Ha0J.d.mts → backend-gUCzs5Kg.d.mts} +16 -2
- package/dist/{backend-L4d_Ha0J.d.ts → backend-gUCzs5Kg.d.ts} +16 -2
- package/dist/{catalogue-DLLsfuNg.d.ts → catalogue-1QcoGDO6.d.ts} +2 -2
- package/dist/{catalogue-BeBFWlHF.d.mts → catalogue-FdFQiWrU.d.mts} +2 -2
- package/dist/{chunk-HF2MZKP2.mjs → chunk-22BD3RHN.mjs} +6 -3
- package/dist/{chunk-B54P6RL2.js → chunk-2AQ237Y4.js} +30 -30
- package/dist/{chunk-W3VVG4NL.js → chunk-2O2CG465.js} +14 -2
- package/dist/{chunk-UPHTPBNQ.mjs → chunk-2QTQ6BUH.mjs} +1 -1
- package/dist/{chunk-BS65NRDW.js → chunk-3S6WPBZL.js} +16 -16
- package/dist/{chunk-PEZYNYJE.js → chunk-3TUOUP5T.js} +3 -3
- package/dist/{chunk-EB6EAOM5.mjs → chunk-3VEH23I5.mjs} +7 -10
- package/dist/{chunk-SYEO2WV4.mjs → chunk-42JTCWIE.mjs} +3 -3
- package/dist/{chunk-FB6YH2WW.js → chunk-4C7I3ELN.js} +4 -4
- package/dist/{chunk-UQYO3OM7.js → chunk-4ZDR72SG.js} +1 -2
- package/dist/{chunk-HPKKCUHU.js → chunk-52YS45RR.js} +13 -13
- package/dist/{chunk-6YVELDFK.mjs → chunk-5BYDGGWO.mjs} +1 -1
- package/dist/{chunk-YN24DET4.js → chunk-5HFMY3D7.js} +10 -10
- package/dist/{chunk-4CVB2ZTC.js → chunk-5LH2QN3T.js} +32 -29
- package/dist/{chunk-4A24F4ZV.mjs → chunk-5YFBGGCK.mjs} +4 -1
- package/dist/{chunk-NLAT3DB2.mjs → chunk-6DAEZKIG.mjs} +1 -1
- package/dist/{chunk-F6CHJXXK.mjs → chunk-6DATW7TB.mjs} +3 -3
- package/dist/{chunk-4RYATNVK.mjs → chunk-6H254EVP.mjs} +6 -11
- package/dist/{chunk-32U4BVJA.mjs → chunk-6PJWXIFX.mjs} +1 -1
- package/dist/{chunk-OMTVH334.js → chunk-6QANXRUM.js} +203 -186
- package/dist/{chunk-BHAGIIBI.js → chunk-6WUBSMTX.js} +82 -85
- package/dist/{chunk-EPYFN2A3.js → chunk-7AAIAVAA.js} +24 -20
- package/dist/{chunk-HZC27ICH.mjs → chunk-7BHW5GTC.mjs} +3 -3
- package/dist/{chunk-MB425DVA.mjs → chunk-7IQQQENP.mjs} +2 -2
- package/dist/{chunk-DJUUL67Z.js → chunk-7KFTYENS.js} +296 -296
- package/dist/{chunk-XLQSNQMP.js → chunk-7SM6XSPZ.js} +339 -339
- package/dist/{chunk-NBH64BDP.mjs → chunk-A33OORT7.mjs} +13 -1
- package/dist/{chunk-G2SXLGFY.js → chunk-A7BU3BK4.js} +7 -7
- package/dist/{chunk-ZNWS7NOW.mjs → chunk-A7V4L2IT.mjs} +2 -2
- package/dist/{chunk-O3SITS4R.mjs → chunk-AGV33FWC.mjs} +4 -4
- package/dist/{chunk-Z2DE3EHS.js → chunk-AHNR3BXI.js} +7 -7
- package/dist/{chunk-UQ4BHMLS.mjs → chunk-AQ5RLBU2.mjs} +5 -5
- package/dist/{chunk-J4HU2YQB.js → chunk-AQOE6WCG.js} +2 -2
- package/dist/{chunk-X57B7VQC.js → chunk-AYJPHKYV.js} +22 -22
- package/dist/{chunk-6XTWY6MH.js → chunk-AZAXD44P.js} +126 -42
- package/dist/{chunk-6ETDAU62.mjs → chunk-B45X3HPO.mjs} +98 -39
- package/dist/{chunk-QDW4EPWS.mjs → chunk-BBGKQIJJ.mjs} +1 -1
- package/dist/{chunk-NHYTO4VU.js → chunk-BP4JLSUA.js} +111 -120
- package/dist/{chunk-7INQVOHY.mjs → chunk-BU6OK542.mjs} +25 -8
- package/dist/{chunk-MKIJQL5Q.js → chunk-CJVEJPIG.js} +69 -69
- package/dist/{chunk-W23VX5MY.js → chunk-CVSRWM6W.js} +5 -5
- package/dist/{chunk-A7DK7QAG.mjs → chunk-CYBMFMJD.mjs} +1 -1
- package/dist/{chunk-BOTUAHP2.mjs → chunk-DS2VU4WW.mjs} +5 -20
- package/dist/{chunk-HMMFNLXZ.js → chunk-DSAG7T5P.js} +2 -2
- package/dist/{chunk-7GG4KNTL.mjs → chunk-E65WCTIG.mjs} +8 -4
- package/dist/{chunk-WXDVEXTW.mjs → chunk-ECDK6QBF.mjs} +1 -1
- package/dist/{chunk-5IRV36MS.mjs → chunk-EIB4OWVQ.mjs} +1 -1
- package/dist/{chunk-JLJ4FD5H.js → chunk-EQUZYCGO.js} +18 -18
- package/dist/{chunk-Q2Y3VMKH.js → chunk-ETZDIISN.js} +151 -151
- package/dist/{chunk-AKTWH3KJ.mjs → chunk-F3UJ6ZRM.mjs} +2 -2
- package/dist/{chunk-J6HRY5EQ.js → chunk-F63N2ZTQ.js} +232 -232
- package/dist/{chunk-MUEFTPNN.js → chunk-FE6VCE4K.js} +34 -34
- package/dist/{chunk-GCKWKLZF.mjs → chunk-FT6GFYJL.mjs} +17 -3
- package/dist/{chunk-2UYTS7SL.mjs → chunk-GCX7TY4D.mjs} +16 -16
- package/dist/{chunk-QDLMIHUH.js → chunk-GDB6TCSD.js} +7 -7
- package/dist/{chunk-7S7LDFGH.js → chunk-GDZT5LZ5.js} +12 -12
- package/dist/{chunk-TB2LS4CE.mjs → chunk-GHS6MIL6.mjs} +7 -11
- package/dist/{chunk-7OHZ56N7.mjs → chunk-GXKI64OT.mjs} +4 -4
- package/dist/{chunk-HRSIIDOZ.js → chunk-H3OQKK6X.js} +41 -41
- package/dist/{chunk-56BM75QX.js → chunk-H5DFSCJ6.js} +2 -2
- package/dist/{chunk-LMK775I4.mjs → chunk-HAGEIC2L.mjs} +1 -1
- package/dist/{chunk-6FZDMICK.js → chunk-HAJ4JRFO.js} +15 -15
- package/dist/{chunk-AWR2G5QN.js → chunk-HDR72GB6.js} +6 -11
- package/dist/{chunk-PTT6KIM6.js → chunk-HSEO6TPU.js} +9 -9
- package/dist/{chunk-CQSA2D2O.js → chunk-I5FOHCLH.js} +4 -31
- package/dist/{chunk-TMFB55IR.js → chunk-J2U6PJSO.js} +3 -30
- package/dist/{chunk-W77VO6LP.js → chunk-J5AJNY2N.js} +13 -13
- package/dist/{chunk-UKA7LHIT.js → chunk-JR3TNEQC.js} +98 -98
- package/dist/{chunk-P2O34BIO.mjs → chunk-JURRXY2J.mjs} +1 -1
- package/dist/{chunk-PKMVOVUA.mjs → chunk-K3HW5I2A.mjs} +1 -1
- package/dist/{chunk-BXUGKBMK.mjs → chunk-KDQOR4QQ.mjs} +1 -14
- package/dist/{chunk-KVZSYGTX.mjs → chunk-KGHJH5KJ.mjs} +1 -1
- package/dist/{chunk-3AKWZF3X.mjs → chunk-KK6HYVBI.mjs} +1 -1
- package/dist/{chunk-K6GK5B5J.js → chunk-KMKWGXMK.js} +6 -6
- package/dist/{chunk-EH4UG7IL.mjs → chunk-KU7O4IXU.mjs} +4 -4
- package/dist/{chunk-IHRMR3WV.mjs → chunk-KVFNRJOR.mjs} +9 -9
- package/dist/{chunk-A36JRXXH.mjs → chunk-KWZHIPRN.mjs} +26 -9
- package/dist/{chunk-HBZQ5HSV.mjs → chunk-LIV3KXJG.mjs} +1 -1
- package/dist/{chunk-S75PBSSL.mjs → chunk-ME6HGG4I.mjs} +92 -8
- package/dist/{chunk-SNNEOS5Z.js → chunk-MHDUUSG6.js} +75 -75
- package/dist/{chunk-FKYZCXFM.js → chunk-MIPO6F72.js} +3 -3
- package/dist/{chunk-MFWIHTEN.js → chunk-MTIHEW2M.js} +5 -5
- package/dist/{chunk-UCR5HRYM.js → chunk-NFXCKTE2.js} +17 -3
- package/dist/{chunk-M53GR3ZV.mjs → chunk-NHJUGZUR.mjs} +43 -5
- package/dist/{chunk-FAYK2MN6.js → chunk-NZTKLY2W.js} +14 -18
- package/dist/{chunk-EQW6PFC2.js → chunk-O2ICABUD.js} +2 -2
- package/dist/{chunk-5PW6DVHF.js → chunk-OIVVQQ22.js} +55 -37
- package/dist/{chunk-GBJ5CW3A.js → chunk-PKOZXD2Q.js} +30 -30
- package/dist/{chunk-NGN3JE5A.js → chunk-PQTQKNKD.js} +16 -7
- package/dist/{chunk-DFZWHNRG.js → chunk-QOCHWR4V.js} +105 -42
- package/dist/{chunk-PCVVQNBD.js → chunk-QS6TRHMR.js} +5 -5
- package/dist/{chunk-DXZZ27CV.js → chunk-RKBLPGPV.js} +245 -207
- package/dist/{chunk-765P2G7G.mjs → chunk-RUVGVNOF.mjs} +1 -1
- package/dist/{chunk-NJ7ZWH4U.mjs → chunk-SAFJIGYB.mjs} +1 -1
- package/dist/{chunk-AOPH2IZV.js → chunk-SKQFLBDD.js} +60 -22
- package/dist/{chunk-BUUA5XJV.js → chunk-TWM6DLYF.js} +2 -2
- package/dist/{chunk-YPL5TKI4.mjs → chunk-U6UVWEAK.mjs} +1 -1
- package/dist/{chunk-6YQDHXPL.mjs → chunk-UCEPNO6N.mjs} +46 -9
- package/dist/{chunk-U7RULAEP.mjs → chunk-UG5BTOTF.mjs} +2 -2
- package/dist/{chunk-MITGBWV7.mjs → chunk-UGH37BQW.mjs} +1 -1
- package/dist/{chunk-IZDWAL53.mjs → chunk-UJDQQTBS.mjs} +8 -8
- package/dist/{chunk-URRZ2SMI.mjs → chunk-V7ZRH3PY.mjs} +2 -2
- package/dist/{chunk-3H76N7G5.mjs → chunk-VBGHBL3E.mjs} +8 -17
- package/dist/{chunk-AZC2LTUI.js → chunk-VVE3Y76O.js} +2 -2
- package/dist/{chunk-BRAA7U3I.mjs → chunk-W65JIRI4.mjs} +1 -1
- package/dist/{chunk-KU4EDEKA.js → chunk-WKWTDZS7.js} +9 -9
- package/dist/{chunk-BTUSVHIE.mjs → chunk-WLSU5QJT.mjs} +2 -2
- package/dist/{chunk-NTTHAXHI.js → chunk-X5A5FOWW.js} +11 -8
- package/dist/{chunk-ODL55PYL.mjs → chunk-XD2PMH46.mjs} +16 -7
- package/dist/{chunk-OADW5BSV.js → chunk-XK6UDWJS.js} +2 -2
- package/dist/{chunk-7ZTEVNXO.mjs → chunk-Y65LXQGA.mjs} +8 -8
- package/dist/{chunk-Z3PGQRTX.mjs → chunk-Y66WVMO5.mjs} +3 -30
- package/dist/{chunk-VZAJDN5C.mjs → chunk-Y7JWLB25.mjs} +1 -1
- package/dist/{chunk-ZJGPD42I.js → chunk-YCDXAJKU.js} +3 -3
- package/dist/{chunk-NCTLCSLE.mjs → chunk-Z3A3AFVU.mjs} +1 -1
- package/dist/{chunk-AEEF3T2E.mjs → chunk-ZCY6YKKP.mjs} +3 -3
- package/dist/{chunk-M5FWHML6.js → chunk-ZMIL4ZOA.js} +5 -18
- package/dist/{chunk-D3JMTFOX.mjs → chunk-ZR5ULMN2.mjs} +1 -1
- package/dist/{client-C9hsiaki.d.ts → client-CChON4-x.d.ts} +2 -2
- package/dist/{client-CO8lw80Q.d.mts → client-EeuGm5gj.d.mts} +2 -2
- package/dist/{courier-CJasuxTU.d.ts → courier-Cnn-edJ4.d.ts} +5 -5
- package/dist/{courier-C2Vo2VlH.d.mts → courier-FmGfkvIN.d.mts} +5 -5
- package/dist/{crowd-D1ljcic8.d.ts → crowd-DdHFbqKK.d.ts} +1 -1
- package/dist/{crowd-B37S1apB.d.mts → crowd-hOVSAmA3.d.mts} +1 -1
- package/dist/{danfo-BsaPzhGi.d.mts → danfo-BEBapFlX.d.mts} +3 -3
- package/dist/{danfo-CCv23CPy.d.ts → danfo-UQ_PTIIx.d.ts} +3 -3
- package/dist/{elements-Bsfk7CPw.d.ts → elements-ss9xZgRg.d.mts} +47 -1
- package/dist/{elements-Bsfk7CPw.d.mts → elements-ss9xZgRg.d.ts} +47 -1
- package/dist/engines/godot.d.mts +1 -1
- package/dist/engines/godot.d.ts +1 -1
- package/dist/engines/wasm.d.mts +1 -1
- package/dist/engines/wasm.d.ts +1 -1
- package/dist/fallback-KDB4Y2CE.mjs +6 -0
- package/dist/fallback-Y26TQENE.js +19 -0
- package/dist/{five-a-side-DP84gMuh.d.mts → five-a-side-Bv1AOUy3.d.mts} +4 -4
- package/dist/{five-a-side-DO8SDqMb.d.ts → five-a-side-EC51SJY1.d.ts} +4 -4
- package/dist/{fluid-BkxNBD2t.d.ts → fluid-ARr0qUIL.d.ts} +168 -4
- package/dist/{fluid-BZ42EMds.d.mts → fluid-DLlEj2cs.d.mts} +168 -4
- package/dist/game/conformance.d.mts +7 -7
- package/dist/game/conformance.d.ts +7 -7
- package/dist/game/conformance.js +39 -41
- package/dist/game/conformance.mjs +17 -19
- package/dist/game/heap.d.mts +3 -3
- package/dist/game/heap.d.ts +3 -3
- package/dist/game/heap.js +13 -15
- package/dist/game/heap.mjs +4 -6
- package/dist/game/kit/canvas.d.mts +33 -34
- package/dist/game/kit/canvas.d.ts +33 -34
- package/dist/game/kit/canvas.js +569 -570
- package/dist/game/kit/canvas.mjs +52 -53
- package/dist/game/kit/courier.d.mts +9 -9
- package/dist/game/kit/courier.d.ts +9 -9
- package/dist/game/kit/courier.js +20 -20
- package/dist/game/kit/courier.mjs +17 -17
- package/dist/game/kit/danfo.d.mts +7 -7
- package/dist/game/kit/danfo.d.ts +7 -7
- package/dist/game/kit/danfo.js +30 -30
- package/dist/game/kit/danfo.mjs +15 -15
- package/dist/game/kit/engine.d.mts +12 -12
- package/dist/game/kit/engine.d.ts +12 -12
- package/dist/game/kit/engine.js +40 -41
- package/dist/game/kit/engine.mjs +11 -12
- package/dist/game/kit/five-a-side.d.mts +7 -7
- package/dist/game/kit/five-a-side.d.ts +7 -7
- package/dist/game/kit/five-a-side.js +24 -24
- package/dist/game/kit/five-a-side.mjs +14 -14
- package/dist/game/kit/frontier.d.mts +7 -7
- package/dist/game/kit/frontier.d.ts +7 -7
- package/dist/game/kit/genesis.d.mts +7 -7
- package/dist/game/kit/genesis.d.ts +7 -7
- package/dist/game/kit/ludo.d.mts +8 -8
- package/dist/game/kit/ludo.d.ts +8 -8
- package/dist/game/kit/ludo.js +24 -24
- package/dist/game/kit/ludo.mjs +14 -14
- package/dist/game/kit/runner.d.mts +8 -8
- package/dist/game/kit/runner.d.ts +8 -8
- package/dist/game/kit/runner.js +22 -22
- package/dist/game/kit/runner.mjs +14 -14
- package/dist/game/kit/shootout.d.mts +9 -9
- package/dist/game/kit/shootout.d.ts +9 -9
- package/dist/game/kit/shootout.js +33 -34
- package/dist/game/kit/shootout.mjs +18 -19
- package/dist/game/kit/tycoon.d.mts +9 -9
- package/dist/game/kit/tycoon.d.ts +9 -9
- package/dist/game/kit/tycoon.js +38 -38
- package/dist/game/kit/tycoon.mjs +14 -14
- package/dist/game/kit/word.d.mts +7 -7
- package/dist/game/kit/word.d.ts +7 -7
- package/dist/game/kit/word.js +22 -22
- package/dist/game/kit/word.mjs +14 -14
- package/dist/game/kit/worlds.d.mts +10 -10
- package/dist/game/kit/worlds.d.ts +10 -10
- package/dist/game/kit/worlds.js +22 -22
- package/dist/game/kit/worlds.mjs +17 -17
- package/dist/game/kit.d.mts +31 -32
- package/dist/game/kit.d.ts +31 -32
- package/dist/game/kit.js +523 -524
- package/dist/game/kit.mjs +38 -39
- package/dist/game/prepared.d.mts +6 -7
- package/dist/game/prepared.d.ts +6 -7
- package/dist/game/prepared.js +23 -24
- package/dist/game/prepared.mjs +12 -13
- package/dist/{game-BZAfgKV6.d.mts → game-Bx8onkhX.d.mts} +5 -97
- package/dist/{game-UoJWopvD.d.ts → game-fgQy2YIm.d.ts} +5 -97
- package/dist/game.d.mts +56 -18
- package/dist/game.d.ts +56 -18
- package/dist/game.js +922 -927
- package/dist/game.mjs +16 -17
- package/dist/{graphics-DNIAV5Mi.d.ts → graphics-C6YjWYvP.d.ts} +1 -1
- package/dist/{graphics-CGJDdtdT.d.mts → graphics-Dk2yQnYN.d.mts} +1 -1
- package/dist/{guest-CMCZeyh5.d.mts → guest-DrsA00XD.d.mts} +2 -7
- package/dist/{guest-CB458Hgw.d.ts → guest-wIdfoT05.d.ts} +2 -7
- package/dist/{hit-stop-D2Ca-i9-.d.mts → hit-stop-BKkVwTq7.d.mts} +1 -1
- package/dist/{hit-stop-Ca1OYk15.d.ts → hit-stop-D-8pPYnM.d.ts} +1 -1
- package/dist/{hot-B9BTmDz6.d.ts → hot-Crn9XpHJ.d.ts} +1 -1
- package/dist/{hot-B_L-GEHZ.d.mts → hot-DH3nOhQD.d.mts} +1 -1
- package/dist/{index-DPeyo938.d.ts → index-B8ybCKJI.d.ts} +3 -3
- package/dist/index-BB2gjVvA.d.mts +153 -0
- package/dist/index-BEfmBDAH.d.ts +153 -0
- package/dist/{index-D8ZDzms9.d.mts → index-DHjNHb1c.d.mts} +3 -3
- package/dist/{index-DFDeJxFQ.d.ts → index-DQK8sTfu.d.ts} +2 -2
- package/dist/{index-C76o9Pj4.d.mts → index-DSVkhRmW.d.mts} +2 -2
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +189 -177
- package/dist/index.mjs +8 -8
- package/dist/interactives-authoring.js +12 -1
- package/dist/interactives-authoring.mjs +12 -1
- package/dist/interactives-canvas.global.js +14 -39
- package/dist/interactives-guest.d.mts +2 -2
- package/dist/interactives-guest.d.ts +2 -2
- package/dist/interactives-guest.js +10 -10
- package/dist/interactives-guest.mjs +6 -6
- package/dist/interactives-jsc.global.js +4 -23
- package/dist/interactives-meters.d.mts +11 -11
- package/dist/interactives-meters.d.ts +11 -11
- package/dist/interactives-meters.js +65 -66
- package/dist/interactives-meters.mjs +17 -18
- package/dist/interactives-production.d.mts +5 -5
- package/dist/interactives-production.d.ts +5 -5
- package/dist/interactives-production.js +15 -16
- package/dist/interactives-production.mjs +3 -4
- package/dist/interactives-record.d.mts +3 -9
- package/dist/interactives-record.d.ts +3 -9
- package/dist/interactives-record.js +45 -65
- package/dist/interactives-record.mjs +19 -39
- package/dist/interactives-runtime.d.mts +3 -3
- package/dist/interactives-runtime.d.ts +3 -3
- package/dist/interactives-runtime.js +101 -105
- package/dist/interactives-runtime.mjs +6 -6
- package/dist/interactives-studio-kernel.global.js +1 -1
- package/dist/interactives-studio.d.mts +7 -7
- package/dist/interactives-studio.d.ts +7 -7
- package/dist/interactives-studio.js +136 -82
- package/dist/interactives-studio.mjs +65 -11
- package/dist/interactives-web.d.mts +14 -14
- package/dist/interactives-web.d.ts +14 -14
- package/dist/interactives-web.js +201 -198
- package/dist/interactives-web.mjs +33 -34
- package/dist/interactives.d.mts +7 -28
- package/dist/interactives.d.ts +7 -28
- package/dist/interactives.js +267 -313
- package/dist/interactives.mjs +26 -24
- package/dist/{juice-Dfgc1B1q.d.ts → juice-CoHxlpKA.d.ts} +1 -1
- package/dist/{juice-CsnrmTOk.d.mts → juice-DQztFS43.d.mts} +1 -1
- package/dist/{launch-CCsmv8HC.d.mts → launch-T2f4_Di4.d.mts} +6 -6
- package/dist/{launch-8W_Tojpz.d.ts → launch-d6oreMzR.d.ts} +6 -6
- package/dist/{local-DA_HpPOj.d.mts → local-D8_I6UeL.d.mts} +0 -5
- package/dist/{local-_mD0x-p_.d.ts → local-VZkqsCzR.d.ts} +0 -5
- package/dist/{ludo-BVHycBP-.d.ts → ludo-B8ClkDqr.d.ts} +4 -4
- package/dist/{ludo-BRaTcI3E.d.mts → ludo-BOuohQ-M.d.mts} +4 -4
- package/dist/mock/cli.mjs +25 -10
- package/dist/mock/library.js +25 -10
- package/dist/mock/library.mjs +25 -10
- package/dist/mock/msw.js +25 -10
- package/dist/mock/msw.mjs +25 -10
- package/dist/{native-CcMUV7rL.d.mts → native-BodxSh03.d.mts} +2 -2
- package/dist/{native-3f4Ht82c.d.ts → native-DUHMT8gA.d.ts} +2 -2
- package/dist/{online-CCy8pwOn.d.ts → online-XeymeM9s.d.ts} +1 -1
- package/dist/{online-smW2BO3Y.d.mts → online-d7W_Al9a.d.mts} +1 -1
- package/dist/{play-BhHHX1jD.d.ts → play-BRRlfLhX.d.ts} +5 -5
- package/dist/{play-Bn7NfGNE.d.mts → play-ClrMd_e8.d.mts} +5 -5
- package/dist/{policy-Dvnzg8ki.d.mts → policy-CCw8tXLm.d.mts} +19 -19
- package/dist/{policy-b3MVXMQu.d.ts → policy-CMqOSQIu.d.ts} +19 -19
- package/dist/{ports-CNeZdgVm.d.mts → ports-B_0v_P3A.d.mts} +1 -1
- package/dist/{ports-Vno6MDaR.d.ts → ports-CGU_3e_0.d.ts} +1 -1
- package/dist/{prefetch-BFg6lJyD.d.ts → prefetch-BHnicOQj.d.ts} +3 -3
- package/dist/{prefetch-BOoKX3qx.d.mts → prefetch-CBXgYacv.d.mts} +3 -3
- package/dist/{price-BIKJla_G.d.mts → price-B-w4PwHm.d.mts} +1 -1
- package/dist/{price-D1gE7Ek6.d.ts → price-BEvQFNJv.d.ts} +1 -1
- package/dist/react.d.mts +35 -27
- package/dist/react.d.ts +35 -27
- package/dist/react.js +276 -248
- package/dist/react.mjs +147 -119
- package/dist/{runner-BAG8EglP.d.ts → runner-CQcLL7By.d.ts} +6 -6
- package/dist/{runner-CKtKtIzc.d.mts → runner-D46Yj-wE.d.mts} +6 -6
- package/dist/{runtime-DfZp1Kwg.d.mts → runtime-BRWfkf_q.d.mts} +1 -8
- package/dist/{runtime-yHPgIJV-.d.ts → runtime-DyuBMkKM.d.ts} +1 -8
- package/dist/{scheduling-CnRAhWQL.d.ts → scheduling-D9WwOxbo.d.ts} +1 -1
- package/dist/{scheduling-lHyYoCa7.d.mts → scheduling-DDmrYCr-.d.mts} +1 -1
- package/dist/{server-DxcxjER1.d.ts → server-BiKwxvnf.d.ts} +2 -2
- package/dist/{server-lU3Sznd4.d.mts → server-DPdtl2dd.d.mts} +2 -2
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +10 -10
- package/dist/server.mjs +4 -4
- package/dist/{shootout-rK-oblpb.d.ts → shootout-BJZeX6FG.d.ts} +6 -6
- package/dist/{shootout-D998OWa-.d.mts → shootout-tcZd1Rxt.d.mts} +6 -6
- package/dist/styles.css +1 -1
- package/dist/{template-Byaueo34.d.mts → template-AhCdB1kW.d.mts} +3 -3
- package/dist/{template-BXE2L654.d.ts → template-BkEGVTQj.d.ts} +3 -3
- package/dist/{terrain-vgYkJPNx.d.ts → terrain-BMxEc6Oc.d.ts} +3 -3
- package/dist/{terrain-CR0NQZPl.d.mts → terrain-C-XC1Oui.d.mts} +3 -3
- package/dist/testing/msw.d.mts +3 -3
- package/dist/testing/msw.d.ts +3 -3
- package/dist/testing/msw.js +3 -3
- package/dist/testing/msw.mjs +2 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +25 -25
- package/dist/testing/suite.mjs +6 -6
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +117 -117
- package/dist/testing.mjs +7 -7
- package/dist/{tick-transport-Q_8syS8J.d.mts → tick-transport-C8QEh8Uw.d.mts} +1 -1
- package/dist/{tick-transport-xpMcMTs2.d.ts → tick-transport-UjHY3xK1.d.ts} +1 -1
- package/dist/{tree-BsXFWKQ6.d.mts → tree-C-Io2Hbx.d.mts} +1 -1
- package/dist/{tree-DW9x29Vv.d.ts → tree-CP_qSW4H.d.ts} +1 -1
- package/dist/{tycoon-BMAE5Wea.d.mts → tycoon-B5KHk2Xx.d.mts} +5 -5
- package/dist/{tycoon-dWvWTbE4.d.ts → tycoon-hmHo-3HX.d.ts} +5 -5
- package/dist/{types-AkQEePZo.d.mts → types-BQkxPwZP.d.mts} +1 -1
- package/dist/{types-BWaZJDla.d.ts → types-D_f6UUxM.d.ts} +1 -1
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +44 -32
- package/dist/utils.mjs +2 -2
- package/dist/{weave-delivery-3G03LdMM.d.mts → weave-delivery-CW-Kstut.d.mts} +10 -1
- package/dist/{weave-delivery-3G03LdMM.d.ts → weave-delivery-CW-Kstut.d.ts} +10 -1
- package/dist/{web-C8B9uVx_.d.ts → web-Dss74a7v.d.ts} +7 -7
- package/dist/{web-BqSEfX2o.d.mts → web-f9ZQPoyw.d.mts} +7 -7
- package/dist/{weight-BDABC8cN.d.ts → weight-CPGjsgjV.d.ts} +3 -3
- package/dist/{weight-Cee73u3d.d.mts → weight-tF1ODR1p.d.mts} +3 -3
- package/dist/{word-DB2CcI9q.d.mts → word-BcX9Jcmv.d.mts} +3 -3
- package/dist/{word-C1Q8oXuy.d.ts → word-C7sVPLHm.d.ts} +3 -3
- package/dist/{world-Bmh7K4tQ.d.ts → world-PvILHDR1.d.ts} +1 -1
- package/dist/{world-CPEjuctH.d.mts → world-qekkXjJv.d.mts} +1 -1
- package/dist/{worlds-ShY5h6Z_.d.ts → worlds-Br2Pb0Cs.d.ts} +6 -6
- package/dist/{worlds-CQgN3GnR.d.mts → worlds-D5ydYr7d.d.mts} +6 -6
- package/package.json +5 -3
- package/registry/cart-summary.json +1 -1
- package/registry/chat-widget.json +1 -1
- package/registry/price.json +1 -1
- package/registry/product-customizer.json +1 -1
- package/registry/search-input.json +1 -1
- package/dist/chunk-2LKAOU3L.mjs +0 -96
- package/dist/chunk-UWPQL2IQ.js +0 -104
- package/dist/fallback-Q5YYIMVJ.js +0 -20
- package/dist/fallback-XGBE3RXC.mjs +0 -7
- package/dist/index-C3KORE2U.d.mts +0 -86
- package/dist/index-Cv_rL5X0.d.ts +0 -86
- package/dist/split-Di9wBpNx.d.mts +0 -68
- package/dist/split-Di9wBpNx.d.ts +0 -68
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNFXCKTE2_js = require('./chunk-NFXCKTE2.js');
|
|
4
4
|
|
|
5
5
|
// src/utils/price.ts
|
|
6
6
|
var CURRENCY_SYMBOLS = {
|
|
@@ -77,39 +77,98 @@ var CURRENCY_SYMBOLS = {
|
|
|
77
77
|
function getCurrencySymbol(currencyCode2) {
|
|
78
78
|
return CURRENCY_SYMBOLS[currencyCode2.toUpperCase()] || currencyCode2;
|
|
79
79
|
}
|
|
80
|
+
var PRICE_UNAVAILABLE_LABEL = "Price unavailable", DEFAULT_FORMAT_LOCALE = "en-US", PERCENT_SCALE = 100, ISO_CURRENCY_CODE = /^[A-Z]{3}$/, STANDARD_MINOR_UNIT_DIGITS = 2, ZERO_MINOR_UNIT_DIGITS = 0, THREE_MINOR_UNIT_DIGITS = 3, ZERO_DECIMAL_CURRENCIES = new Set(
|
|
81
|
+
"BIF CLP DJF GNF ISK JPY KMF KRW PYG RWF UGX VND VUV XAF XOF XPF".split(" ")
|
|
82
|
+
), THREE_DECIMAL_CURRENCIES = new Set(
|
|
83
|
+
"BHD IQD JOD KWD LYD OMR TND".split(" ")
|
|
84
|
+
), DECIMAL_BASE = 10, DECIMAL_RADIX = 10n, ROUND_UP_FROM_DIGIT = "5", PLAIN_DECIMAL_MAX_FRACTION_DIGITS = 20, DECIMAL_TEXT = /^([+-]?)(\d*)(?:\.(\d*))?$/, EXPONENT_NOTATION = /e/i, LOCALE_PROBE_VALUE = -1.5;
|
|
85
|
+
function currencyFractionDigits(currency) {
|
|
86
|
+
if (!currency) return null;
|
|
87
|
+
let code = currency.trim().toUpperCase();
|
|
88
|
+
return ISO_CURRENCY_CODE.test(code) ? ZERO_DECIMAL_CURRENCIES.has(code) ? (0) : THREE_DECIMAL_CURRENCIES.has(code) ? (3) : (2) : null;
|
|
89
|
+
}
|
|
90
|
+
function roundToCurrencyDigits(value, currency) {
|
|
91
|
+
let digits = currencyFractionDigits(currency);
|
|
92
|
+
if (digits === null) return value;
|
|
93
|
+
let factor = (10) ** digits;
|
|
94
|
+
return Math.round(value * factor) / factor;
|
|
95
|
+
}
|
|
96
|
+
function numberToDecimalText(value) {
|
|
97
|
+
if (!Number.isFinite(value)) return null;
|
|
98
|
+
let text = String(value);
|
|
99
|
+
return EXPONENT_NOTATION.test(text) ? value.toLocaleString(DEFAULT_FORMAT_LOCALE, {
|
|
100
|
+
useGrouping: false,
|
|
101
|
+
maximumFractionDigits: (20)
|
|
102
|
+
}) : text;
|
|
103
|
+
}
|
|
104
|
+
function roundDecimalText(text, digits) {
|
|
105
|
+
let match = DECIMAL_TEXT.exec(text.trim());
|
|
106
|
+
if (!match) return null;
|
|
107
|
+
let sign = match[1] ?? "", whole = match[2] ?? "", fraction = match[3] ?? "";
|
|
108
|
+
if (whole.length === 0 && fraction.length === 0) return null;
|
|
109
|
+
let kept = fraction.padEnd(digits, "0").slice(0, digits), scaled = BigInt(`${whole || "0"}${kept}`);
|
|
110
|
+
fraction.charAt(digits) >= ROUND_UP_FROM_DIGIT && (scaled += 1n);
|
|
111
|
+
let scale = DECIMAL_RADIX ** BigInt(digits);
|
|
112
|
+
return {
|
|
113
|
+
negative: sign === "-" && scaled !== 0n,
|
|
114
|
+
whole: scaled / scale,
|
|
115
|
+
fraction: digits === 0 ? "" : (scaled % scale).toString().padStart(digits, "0")
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
var symbolsByLocale = /* @__PURE__ */ new Map(), wholeFormatters = /* @__PURE__ */ new Map();
|
|
119
|
+
function localeNumberSymbols(locale) {
|
|
120
|
+
let cached = symbolsByLocale.get(locale);
|
|
121
|
+
if (cached) return cached;
|
|
122
|
+
let formatter = new Intl.NumberFormat(locale, { useGrouping: false }), parts = formatter.formatToParts((-1.5)), symbols = {
|
|
123
|
+
decimal: parts.find((part) => part.type === "decimal")?.value ?? ".",
|
|
124
|
+
minus: parts.find((part) => part.type === "minusSign")?.value ?? "-",
|
|
125
|
+
digits: Array.from({ length: (10) }, (_, digit) => formatter.format(digit))
|
|
126
|
+
};
|
|
127
|
+
return symbolsByLocale.set(locale, symbols), symbols;
|
|
128
|
+
}
|
|
129
|
+
function wholeFormatter(locale, grouping) {
|
|
130
|
+
let key = `${locale}|${grouping ? "grouped" : "plain"}`, cached = wholeFormatters.get(key);
|
|
131
|
+
if (cached) return cached;
|
|
132
|
+
let formatter = new Intl.NumberFormat(locale, { useGrouping: grouping });
|
|
133
|
+
return wholeFormatters.set(key, formatter), formatter;
|
|
134
|
+
}
|
|
135
|
+
function localeDecimalText(rounded, locale, grouping) {
|
|
136
|
+
let symbols = localeNumberSymbols(locale), wholeText = wholeFormatter(locale, grouping).format(rounded.whole), fractionText = Array.from(
|
|
137
|
+
rounded.fraction,
|
|
138
|
+
(digit) => symbols.digits[Number(digit)] ?? digit
|
|
139
|
+
).join(""), body = fractionText.length > 0 ? `${wholeText}${symbols.decimal}${fractionText}` : wholeText;
|
|
140
|
+
return rounded.negative ? `${symbols.minus}${body}` : body;
|
|
141
|
+
}
|
|
142
|
+
function formatCurrencyAmount(amount, currency, options = {}) {
|
|
143
|
+
let digits = currencyFractionDigits(currency);
|
|
144
|
+
if (digits === null || !currency) return null;
|
|
145
|
+
let text = typeof amount == "number" ? numberToDecimalText(amount) : amount;
|
|
146
|
+
if (text === null) return null;
|
|
147
|
+
let rounded = roundDecimalText(text, digits);
|
|
148
|
+
if (!rounded) return null;
|
|
149
|
+
let locale = options.locale ?? DEFAULT_FORMAT_LOCALE, grouping = options.grouping ?? true;
|
|
150
|
+
return `${getCurrencySymbol(currency.trim().toUpperCase())}${localeDecimalText(rounded, locale, grouping)}`;
|
|
151
|
+
}
|
|
80
152
|
function formatNumberCompact(value, decimals = 1) {
|
|
81
153
|
let absValue = Math.abs(value), sign = value < 0 ? "-" : "";
|
|
82
154
|
return absValue >= 1e9 ? `${sign}${(absValue / 1e9).toFixed(decimals)}B` : absValue >= 1e6 ? `${sign}${(absValue / 1e6).toFixed(decimals)}M` : absValue >= 1e3 ? `${sign}${(absValue / 1e3).toFixed(decimals)}K` : `${sign}${absValue.toFixed(decimals)}`;
|
|
83
155
|
}
|
|
84
|
-
function formatPrice(amount, currency
|
|
85
|
-
|
|
86
|
-
if (isNaN(numAmount))
|
|
87
|
-
return `${getCurrencySymbol(currency)}0.00`;
|
|
88
|
-
let symbol = getCurrencySymbol(currency);
|
|
89
|
-
try {
|
|
90
|
-
let formatted = new Intl.NumberFormat(locale, {
|
|
91
|
-
minimumFractionDigits: 2,
|
|
92
|
-
maximumFractionDigits: 2
|
|
93
|
-
}).format(numAmount);
|
|
94
|
-
return `${symbol}${formatted}`;
|
|
95
|
-
} catch {
|
|
96
|
-
return `${symbol}${numAmount.toFixed(2)}`;
|
|
97
|
-
}
|
|
156
|
+
function formatPrice(amount, currency, locale = DEFAULT_FORMAT_LOCALE) {
|
|
157
|
+
return formatCurrencyAmount(amount, currency, { locale }) ?? PRICE_UNAVAILABLE_LABEL;
|
|
98
158
|
}
|
|
99
|
-
function formatPriceAdjustment(amount, currency
|
|
100
|
-
let formatted =
|
|
101
|
-
return amount > 0 ? `+${formatted}` : amount < 0 ? `-${formatted}` : formatted;
|
|
159
|
+
function formatPriceAdjustment(amount, currency, locale = DEFAULT_FORMAT_LOCALE) {
|
|
160
|
+
let formatted = formatCurrencyAmount(Math.abs(amount), currency, { locale });
|
|
161
|
+
return formatted === null ? PRICE_UNAVAILABLE_LABEL : amount > 0 ? `+${formatted}` : amount < 0 ? `-${formatted}` : formatted;
|
|
102
162
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
let
|
|
108
|
-
return Math.abs(
|
|
163
|
+
var COMPACT_THRESHOLD = 1e3;
|
|
164
|
+
function formatPriceCompact(amount, currency, decimals = 1) {
|
|
165
|
+
let exact = formatCurrencyAmount(amount, currency);
|
|
166
|
+
if (exact === null || !currency) return PRICE_UNAVAILABLE_LABEL;
|
|
167
|
+
let magnitude = typeof amount == "number" ? amount : Number.parseFloat(amount);
|
|
168
|
+
return Math.abs(magnitude) < (1e3) ? exact : `${getCurrencySymbol(currency.trim().toUpperCase())}${formatNumberCompact(magnitude, decimals)}`;
|
|
109
169
|
}
|
|
110
|
-
function formatMoney(amount, currency
|
|
111
|
-
|
|
112
|
-
return isNaN(numAmount) ? `${symbol}0.00` : `${symbol}${numAmount.toFixed(2)}`;
|
|
170
|
+
function formatMoney(amount, currency) {
|
|
171
|
+
return formatCurrencyAmount(amount, currency, { grouping: false }) ?? PRICE_UNAVAILABLE_LABEL;
|
|
113
172
|
}
|
|
114
173
|
function parsePrice(value) {
|
|
115
174
|
if (value == null)
|
|
@@ -137,9 +196,9 @@ function getTaxAmount(priceInfo) {
|
|
|
137
196
|
function isTaxInclusive(priceInfo) {
|
|
138
197
|
return priceInfo.tax_info?.is_inclusive === true;
|
|
139
198
|
}
|
|
140
|
-
function formatPriceWithTax(priceInfo, currency
|
|
141
|
-
let finalPrice =
|
|
142
|
-
return hasTaxInfo(priceInfo) ? isTaxInclusive(priceInfo) ? `${finalPrice} (incl. tax)` : `${finalPrice} + ${formatPrice(getTaxAmount(priceInfo), currency)} tax` : finalPrice;
|
|
199
|
+
function formatPriceWithTax(priceInfo, currency) {
|
|
200
|
+
let finalPrice = formatCurrencyAmount(priceInfo.final_price, currency);
|
|
201
|
+
return finalPrice === null ? PRICE_UNAVAILABLE_LABEL : hasTaxInfo(priceInfo) ? isTaxInclusive(priceInfo) ? `${finalPrice} (incl. tax)` : `${finalPrice} + ${formatPrice(getTaxAmount(priceInfo), currency)} tax` : finalPrice;
|
|
143
202
|
}
|
|
144
203
|
function getDisplayPrice(product) {
|
|
145
204
|
return product.sale ? parsePrice(product.sale.price) : product.price_info ? parsePrice(product.price_info.final_price) : product.final_price !== void 0 && product.final_price !== null ? parsePrice(product.final_price) : product.default_price !== void 0 && product.default_price !== null ? parsePrice(product.default_price) : 0;
|
|
@@ -157,18 +216,17 @@ function getDiscountPercentage(product) {
|
|
|
157
216
|
if (product.sale)
|
|
158
217
|
return parsePrice(product.sale.percent_off);
|
|
159
218
|
let basePrice = getBasePrice(product), finalPrice = getDisplayPrice(product);
|
|
160
|
-
return basePrice > finalPrice && basePrice > 0 ? Math.round((basePrice - finalPrice) / basePrice * 100) : 0;
|
|
219
|
+
return basePrice > finalPrice && basePrice > 0 ? Math.round((basePrice - finalPrice) / basePrice * (100)) : 0;
|
|
161
220
|
}
|
|
162
221
|
function getMarkupPercentage(product) {
|
|
163
222
|
let basePrice = getBasePrice(product), finalPrice = getDisplayPrice(product);
|
|
164
|
-
return finalPrice > basePrice && basePrice > 0 ? Math.round((finalPrice - basePrice) / basePrice * 100) : 0;
|
|
223
|
+
return finalPrice > basePrice && basePrice > 0 ? Math.round((finalPrice - basePrice) / basePrice * (100)) : 0;
|
|
165
224
|
}
|
|
166
225
|
function getProductCurrency(product) {
|
|
167
|
-
return product.price_info?.currency
|
|
226
|
+
return product.price_info?.currency || product.currency || void 0;
|
|
168
227
|
}
|
|
169
|
-
function formatProductPrice(product, locale =
|
|
170
|
-
|
|
171
|
-
return formatPrice(price, currency, locale);
|
|
228
|
+
function formatProductPrice(product, locale = DEFAULT_FORMAT_LOCALE) {
|
|
229
|
+
return formatPrice(getDisplayPrice(product), getProductCurrency(product), locale);
|
|
172
230
|
}
|
|
173
231
|
function getUnitPriceAtQuantity(tiers, quantity, fallback) {
|
|
174
232
|
let sorted = [...tiers].sort((a, b) => a.min_quantity - b.min_quantity), matched;
|
|
@@ -189,8 +247,9 @@ function getPriceRange(product) {
|
|
|
189
247
|
}
|
|
190
248
|
return null;
|
|
191
249
|
}
|
|
192
|
-
function formatPriceRange(min, max, currency
|
|
193
|
-
|
|
250
|
+
function formatPriceRange(min, max, currency) {
|
|
251
|
+
let low = formatCurrencyAmount(min, currency), high = formatCurrencyAmount(max, currency);
|
|
252
|
+
return low === null || high === null ? PRICE_UNAVAILABLE_LABEL : `${low} \u2013 ${high}`;
|
|
194
253
|
}
|
|
195
254
|
|
|
196
255
|
// src/utils/payment.ts
|
|
@@ -344,7 +403,7 @@ function normalizeStatusResponse(response) {
|
|
|
344
403
|
currency: "",
|
|
345
404
|
message: "No status available"
|
|
346
405
|
};
|
|
347
|
-
let res = response, normalizedStatus = normalizePaymentStatusValue(res.status ?? void 0), normalizedAmount = typeof res.amount == "string" ?
|
|
406
|
+
let res = response, normalizedStatus = normalizePaymentStatusValue(res.status ?? void 0), normalizedAmount = typeof res.amount == "string" ? chunkNFXCKTE2_js.money(res.amount) : typeof res.amount == "number" && Number.isFinite(res.amount) ? res.amount : 0, normalizedCurrency = typeof res.currency == "string" && res.currency.trim().length > 0 ? res.currency : "", derivedPaid = res.paid === true && normalizedStatus !== "authorized" && !PAYMENT_REQUIRES_ACTION_STATUSES.has(normalizedStatus) && !PAYMENT_FAILURE_STATUSES.has(normalizedStatus) || PAYMENT_SUCCESS_STATUSES.has(normalizedStatus);
|
|
348
407
|
return {
|
|
349
408
|
status: normalizedStatus,
|
|
350
409
|
paid: derivedPaid,
|
|
@@ -379,9 +438,9 @@ function canonicalMobileMoneyProvider(provider) {
|
|
|
379
438
|
return MOBILE_MONEY_PROVIDER_ALIASES[normalized] ?? null;
|
|
380
439
|
}
|
|
381
440
|
var PURCHASE_INTENT_NETWORK_BY_PROVIDER = {
|
|
382
|
-
mtn:
|
|
383
|
-
telecel:
|
|
384
|
-
airteltigo:
|
|
441
|
+
mtn: chunkNFXCKTE2_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.MTN,
|
|
442
|
+
telecel: chunkNFXCKTE2_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.TELECEL,
|
|
443
|
+
airteltigo: chunkNFXCKTE2_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.AIRTEL
|
|
385
444
|
};
|
|
386
445
|
function purchaseIntentMobileMoneyNetwork(provider) {
|
|
387
446
|
let canonical = canonicalMobileMoneyProvider(provider);
|
|
@@ -409,9 +468,12 @@ function detectMobileMoneyProvider(phoneNumber) {
|
|
|
409
468
|
exports.CURRENCY_SYMBOLS = CURRENCY_SYMBOLS;
|
|
410
469
|
exports.MOBILE_MONEY_PROVIDERS = MOBILE_MONEY_PROVIDERS;
|
|
411
470
|
exports.PAYMENT_TERMINAL_FAILURE_STATUSES = PAYMENT_TERMINAL_FAILURE_STATUSES;
|
|
471
|
+
exports.PRICE_UNAVAILABLE_LABEL = PRICE_UNAVAILABLE_LABEL;
|
|
412
472
|
exports.canonicalMobileMoneyProvider = canonicalMobileMoneyProvider;
|
|
413
473
|
exports.categorizePaymentError = categorizePaymentError;
|
|
474
|
+
exports.currencyFractionDigits = currencyFractionDigits;
|
|
414
475
|
exports.detectMobileMoneyProvider = detectMobileMoneyProvider;
|
|
476
|
+
exports.formatCurrencyAmount = formatCurrencyAmount;
|
|
415
477
|
exports.formatMoney = formatMoney;
|
|
416
478
|
exports.formatNumberCompact = formatNumberCompact;
|
|
417
479
|
exports.formatPrice = formatPrice;
|
|
@@ -441,3 +503,4 @@ exports.normalizeStatusResponse = normalizeStatusResponse;
|
|
|
441
503
|
exports.parsePrice = parsePrice;
|
|
442
504
|
exports.paymentAuthorizationUrl = paymentAuthorizationUrl;
|
|
443
505
|
exports.purchaseIntentMobileMoneyNetwork = purchaseIntentMobileMoneyNetwork;
|
|
506
|
+
exports.roundToCurrencyDigits = roundToCurrencyDigits;
|
|
@@ -4,8 +4,8 @@ var chunkA2MAX6S4_js = require('./chunk-A2MAX6S4.js');
|
|
|
4
4
|
var chunkKPA6K5IB_js = require('./chunk-KPA6K5IB.js');
|
|
5
5
|
var chunkNH654HAT_js = require('./chunk-NH654HAT.js');
|
|
6
6
|
var chunkWHYKAT7G_js = require('./chunk-WHYKAT7G.js');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkH5DFSCJ6_js = require('./chunk-H5DFSCJ6.js');
|
|
8
|
+
var chunk5LH2QN3T_js = require('./chunk-5LH2QN3T.js');
|
|
9
9
|
var chunkYXGZQPUD_js = require('./chunk-YXGZQPUD.js');
|
|
10
10
|
var chunkJGBCIKJV_js = require('./chunk-JGBCIKJV.js');
|
|
11
11
|
|
|
@@ -37,7 +37,7 @@ function daySeed(day, salt) {
|
|
|
37
37
|
}
|
|
38
38
|
var DailyChallenges = class {
|
|
39
39
|
constructor(pool, perDay, salt) {
|
|
40
|
-
this.random = new
|
|
40
|
+
this.random = new chunk5LH2QN3T_js.SeededRandom(0);
|
|
41
41
|
this.dayValue = Number.NaN;
|
|
42
42
|
if (perDay < 1 || perDay > pool.length) throw new chunkNH654HAT_js.KitError("invalid_declaration", "pick between 1 and the pool size each day");
|
|
43
43
|
for (let i = 0; i < pool.length; i++)
|
|
@@ -277,7 +277,7 @@ var STALLS = 4, STALL_NAMES = ["Roadside pot", "Chop bar", "Party kitchen", "Jol
|
|
|
277
277
|
this.sinceCollect = 0;
|
|
278
278
|
}
|
|
279
279
|
drive(scene, game, frame) {
|
|
280
|
-
let t =
|
|
280
|
+
let t = chunkH5DFSCJ6_js.templateFrameStamp(frame);
|
|
281
281
|
if (this.held !== null) {
|
|
282
282
|
if (++this.frames < (2)) return;
|
|
283
283
|
game.input.keyEvent(this.held, false, t), this.held = null;
|
|
@@ -308,7 +308,7 @@ var STALLS = 4, STALL_NAMES = ["Roadside pot", "Chop bar", "Party kitchen", "Jol
|
|
|
308
308
|
digest(scene) {
|
|
309
309
|
let d = digestScratch;
|
|
310
310
|
for (let i = 0; i < (4); i++) d[i] = scene.owned[i];
|
|
311
|
-
return d[(4)] = scene.earned, d[(4) + 1] = scene.bank.coins[(0)], d[(4) + 2] = scene.potsCooked,
|
|
311
|
+
return d[(4)] = scene.earned, d[(4) + 1] = scene.bank.coins[(0)], d[(4) + 2] = scene.potsCooked, chunkH5DFSCJ6_js.digestFloats(d, DIGEST_FIELDS);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
|