@feedmepos/mf-payment 0.0.0-beta.3 → 0.0.0-beta.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js +28 -0
- package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-Bkncr_cB.js +612 -0
- package/dist/PayoutAccount-D4mqNLsl.js +272 -0
- package/dist/PayoutAccountSetting-B1hM-zzy.js +776 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DtcJVp3Z.js +144 -0
- package/dist/Settlement-kXEsjqGo.js +150 -0
- package/dist/SettlementTransactions-5JuImQzZ.js +334 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-csNNWUX5.js} +99 -105
- package/dist/Terminal-DGfySdfA.js +339 -0
- package/dist/TerminalSetting-CucVft_p.js +374 -0
- package/dist/TerminalTransaction-CwoclWJ5.js +237 -0
- package/dist/TerminalTransaction-DRlFVw4p.js +243 -0
- package/dist/Transaction-CKFRlYUk.js +243 -0
- package/dist/Transaction-DA6UzVnz.js +242 -0
- package/dist/api/index.d.ts +12 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/api/settlement/index.d.ts +7 -13
- package/dist/api/terminal/index.d.ts +12 -1
- package/dist/api/terminal-transaction/index.d.ts +9 -0
- package/dist/api/transaction/index.d.ts +6 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +105 -82
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-RXBV3tUm.js +42 -0
- package/dist/clipboard-4jh1WteU.js +10 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/AutoCopyCell.vue.d.ts +6 -0
- package/dist/components/CursorTable/index.vue.d.ts +16 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/{index-B8_4waUa.js → index-BS_dGfh_.js} +1 -1
- package/dist/index-CJp88CGw.js +34 -0
- package/dist/index-CNmg4bnZ.js +40 -0
- package/dist/index-C_44uoxW.js +55889 -0
- package/dist/index-CbUxRjwz.js +47 -0
- package/dist/{index-CjCiGW2Y.js → index-Cl2XhO9t.js} +13 -23
- package/dist/index.vue_vue_type_script_setup_true_lang-GkJ2OZPm.js +155 -0
- package/dist/package.json +8 -8
- package/dist/{index-D-lMrCvM.js → payout-account-C_01-U_N.js} +770 -801
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-yTOBjyUq.js} +29 -13
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +20 -20
- package/dist/PayoutAccount-J3GJxUjj.js +0 -266
- package/dist/Settlement-C4IEccV6.js +0 -136
- package/dist/Settlement-D4gdbOE0.js +0 -132
- package/dist/SettlementTransactions-DYelInkD.js +0 -351
- package/dist/Terminal-Co7KPrrb.js +0 -204
- package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
@@ -1,5 +1,5 @@
|
|
1
|
-
import { d as
|
2
|
-
var qe = { npm_package_dependencies_change_case: "^4.1.2", TERM_PROGRAM: "vscode", NODE: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", npm_package_dependencies_vue3_lottie: "^2.2.3", INIT_CWD: "/Users/binbinliao/project/payment-service/mf-portal", npm_package_scripts_prod: "vite --mode prod", npm_package_dependencies_axios: "^0.27.2", npm_package_dependencies_moment: "^2.29.4", npm_package_devDependencies_typescript: "~5.4.0", npm_config_version_git_tag: "true", SHELL: "/opt/homebrew/bin/fish", TERM: "xterm-256color", npm_package_devDependencies_jest: "^29.6.3", npm_package_devDependencies_vite: "^5.2.11", TMPDIR: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_package_scripts_serve_prod: "yarn && vite --mode production", npm_config_init_license: "MIT", TERM_PROGRAM_VERSION: "1.94.2", npm_package_exports___style: "./dist/style.css", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", MallocNanoZone: "0", npm_package_dependencies_uuid: "^9.0.0", TERM_SESSION_ID: "w0t3p0:ED0ABF6E-9626-422E-A8AC-56426D2191BE", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_xlsx: "^0.18.5", USER: "binbinliao", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_package_devDependencies_jest_transform_stub: "^2.0.0", COMMAND_MODE: "unix2003", npm_package_dependencies__feedmepos_payment_entity: "^0.0.5-demo4", PNPM_SCRIPT_SRC_DIR: "/Users/binbinliao/project/payment-service/mf-portal", npm_package_exports___import: "./dist/app.js", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", npm_package_dependencies_vuedraggable: "^4.1.0", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.Z3wua9pG0j/Listeners", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_dependencies_buffer: "^6.0.3", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies_postcss: "^8.4.47", TERM_FEATURES: "T3LrMSc7UUw9Ts3BFGsSyHNoSxF", npm_execpath: "/opt/homebrew/lib/node_modules/pnpm/bin/pnpm.cjs", npm_package_module: "./dist/app.js", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_dependencies_google_maps: "^4.3.3", npm_config_frozen_lockfile: "", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", PATH: "/Users/binbinliao/project/payment-service/mf-portal/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/binbinliao/project/payment-service/mf-portal/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/yarn--1729261642069-0.6174345464969255:/Users/binbinliao/project/payment-service/mf-portal/node_modules/.bin:/Users/binbinliao/.config/yarn/link/node_modules/.bin:/Users/binbinliao/.yarn/bin:/opt/homebrew/Cellar/node@18/18.20.4/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/homebrew/Cellar/node@18/18.20.4/lib/node_modules/npm/bin/node-gyp-bin:/opt/homebrew/Cellar/node@18/18.20.4/bin/node_modules/npm/bin/node-gyp-bin:/opt/homebrew/opt/node@18/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin:/Users/binbinliao/development/flutter/flutter/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/iTerm.app/Contents/Resources/utilities", TERMINFO_DIRS: "/Applications/iTerm.app/Contents/Resources/terminfo:/usr/share/terminfo", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_dependencies_jspdf: "^2.5.1", _: "/Users/binbinliao/project/payment-service/mf-portal/node_modules/.bin/vite", LaunchInstanceID: "C42BF6EF-2715-4814-A781-68A54BC2AB1C", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_vue: "^3.2.25", __CFBundleIdentifier: "com.microsoft.VSCode", npm_package_devDependencies_ts_jest: "^29.1.1", PWD: "/Users/binbinliao/project/payment-service/mf-portal", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_command: "run-script", npm_package_scripts_preview: "vite preview", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks .", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_lifecycle_event: "build:mf:dev", LANG: "en_US.UTF-8", npm_package_name: "@feedmepos/mf-payment", ITERM_PROFILE: "Default", npm_package_dependencies_file_saver: "^2.0.5", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_exports___types: "./dist/app.d.ts", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies_sass: "1.32.12", npm_config_version_commit_hooks: "true", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_bin_links: "true", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_devDependencies_path: "^0.12.7", npm_config_node_gyp: "/opt/homebrew/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "0", npm_package_version: "0.0.0-beta.2", npm_package_devDependencies__types_jsurl: "^0.1.2", VSCODE_INJECTION: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_devDependencies_autoprefixer: "^10.4.20", COLORFGBG: "15;0", SHLVL: "6", HOME: "/Users/binbinliao", npm_package_type: "module", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_package_scripts_test: "jest", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", LC_TERMINAL_VERSION: "3.5.3", npm_package_dependencies_dotenv: "^16.0.3", npm_config_save_prefix: "^", npm_config_strict_ssl: "true", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_config_version_git_message: "v%s", ITERM_SESSION_ID: "w0t3p0:ED0ABF6E-9626-422E-A8AC-56426D2191BE", npm_package_dependencies_firebase: "^10.14.0", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", npm_package_devDependencies_ts_node: "^10.9.1", LOGNAME: "binbinliao", YARN_WRAP_OUTPUT: "false", npm_package_scripts_build_only_dev: "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist && cd dist && pnpm version 0.0.0-beta.0 --no-git-tag-version", npm_package_dependencies_zod: "^3.23.8", npm_lifecycle_script: "vite build --mode fmmf:dev", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/common/scripts/fish_xdg_data", VSCODE_GIT_IPC_HANDLE: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/vscode-git-b7145b54a5.sock", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_uuid: "^8.3.4", npm_config_user_agent: "pnpm/9.6.0 npm/? node/v18.20.4 darwin arm64", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_package_devDependencies_cd: "^0.3.3", LC_TERMINAL: "iTerm2", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_files_0: "dist", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_version: "1.0.0", SECURITYSESSIONID: "186a4", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_package_dependencies__feedmepos_ui_library: "^1.2.44", npm_package_dependencies_vue_router: "^4.2.5", npm_package_dependencies_i18next: "^21.8.8", COLORTERM: "truecolor", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_dependencies_qrcode: "^1.5.1", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_config_version_tag_prefix: "v", npm_node_execpath: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", NODE_ENV: "production", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", MAIN_BACKEND_URL: "", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
1
|
+
import { d as $t, f as jt, _ as X, m as Ft } from "./index-C_44uoxW.js";
|
2
|
+
var ze = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bb160ab9-19f3-4479-af41-2de51e0ac5c7", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.10.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_bb160ab9-19f3-4479-af41-2de51e0ac5c7", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_VTEiOMlAzEcQOBJH0x1ot5wO0I4GLB48ohJO", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "479", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.44", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241020.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.8/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:18761", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11568907023", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c556cdafc6b739de5c22d71f7a4f995e0768194e", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzJlZDQyODktYTA4Zi00OTE5LWEwMmQtNzYzODNjMjI5ZTM1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC83ODkgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjpjMmVkNDI4OS1hMDhmLTQ5MTktYTAyZC03NjM4M2MyMjllMzU6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzc4OSIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6ImZlZGE5M2I2LTE2NzAtNDUwOC1iMjBkLTBjZWRlODdmNGNiYiIsInNpZCI6ImI0Yzg1NzFlLTVkN2EtNDRmNi1iNzk4LTgxZjdlYzQzZjgzNCIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCJjNTU2Y2RhZmM2YjczOWRlNWMyMmQ3MWY3YTRmOTk1ZTA3NjgxOTRlXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjExNTY4OTA3MDIzXCIsXCJydW5fbnVtYmVyXCI6XCI0M1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJjNTU2Y2RhZmM2YjczOWRlNWMyMmQ3MWY3YTRmOTk1ZTA3NjgxOTRlXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjNTU2Y2RhZmM2YjczOWRlNWMyMmQ3MWY3YTRmOTk1ZTA3NjgxOTRlXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjMmVkNDI4OS1hMDhmLTQ5MTktYTAyZC03NjM4M2MyMjllMzUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzAxODQ5NTQsImV4cCI6MTczMDIwNzc1NH0.hxGiiMsp8Yb0Q5A1NgYyuDDTAqVeTQGP1u-ixSV2b7d0kw0OHLeyM_wutqQ23gxVJqpNfQWgquy37wkFH2IMKyYSG0mX3hhMVFmPhzxp7wncpvRh5_TpVOTiNySoFpUhJdQ5uUFsk2bR7-oU1-kMk7Mb1UKWjvEd7Ew0t7O574b3Sq4NN1Pv718Cj1Ivz2TMWqlvoCoZJVhaciyOptPADvCQZ8IMy3NKl6-lABVkde5peOdNGqgDy_0Fm54i3t3JB9YPLycl1ZWKExE8S9b1QIRzD2UN-HPg49kxvIxVyG-mlvN5GAqfE-9XVjcdjcCj2Sgkf6G-lvc8Oi-m5vgCCw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1730185607321-0.9337408725986658:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730185607159-0.14654701138633386:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730185606998-0.9215386265500101:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_93d067f5-45f5-42e8-8cfd-74cd6c8a27cd", INVOCATION_ID: "06c9e7d21281417faf6e12cf88f77554", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "43", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 396", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "0.0.0-beta.30", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "c556cdafc6b739de5c22d71f7a4f995e0768194e", GITHUB_RUN_ATTEMPT: "1", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_qrcode: "^1.5.1", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_bb160ab9-19f3-4479-af41-2de51e0ac5c7", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/c2ed4289-a08f-4919-a02d-76383c229e35/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_bb160ab9-19f3-4479-af41-2de51e0ac5c7", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_bb160ab9-19f3-4479-af41-2de51e0ac5c7", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.5-demo13", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
3
3
|
/**
|
4
4
|
* @license
|
5
5
|
* Copyright 2017 Google LLC
|
@@ -16,7 +16,7 @@ var qe = { npm_package_dependencies_change_case: "^4.1.2", TERM_PROGRAM: "vscode
|
|
16
16
|
* See the License for the specific language governing permissions and
|
17
17
|
* limitations under the License.
|
18
18
|
*/
|
19
|
-
const
|
19
|
+
const ht = function(t) {
|
20
20
|
const e = [];
|
21
21
|
let n = 0;
|
22
22
|
for (let r = 0; r < t.length; r++) {
|
@@ -24,7 +24,7 @@ const _t = function(t) {
|
|
24
24
|
s < 128 ? e[n++] = s : s < 2048 ? (e[n++] = s >> 6 | 192, e[n++] = s & 63 | 128) : (s & 64512) === 55296 && r + 1 < t.length && (t.charCodeAt(r + 1) & 64512) === 56320 ? (s = 65536 + ((s & 1023) << 10) + (t.charCodeAt(++r) & 1023), e[n++] = s >> 18 | 240, e[n++] = s >> 12 & 63 | 128, e[n++] = s >> 6 & 63 | 128, e[n++] = s & 63 | 128) : (e[n++] = s >> 12 | 224, e[n++] = s >> 6 & 63 | 128, e[n++] = s & 63 | 128);
|
25
25
|
}
|
26
26
|
return e;
|
27
|
-
},
|
27
|
+
}, Wt = function(t) {
|
28
28
|
const e = [];
|
29
29
|
let n = 0, r = 0;
|
30
30
|
for (; n < t.length; ) {
|
@@ -43,7 +43,7 @@ const _t = function(t) {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
return e.join("");
|
46
|
-
},
|
46
|
+
}, pt = {
|
47
47
|
/**
|
48
48
|
* Maps bytes to characters.
|
49
49
|
*/
|
@@ -102,9 +102,9 @@ const _t = function(t) {
|
|
102
102
|
this.init_();
|
103
103
|
const n = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
104
104
|
for (let s = 0; s < t.length; s += 3) {
|
105
|
-
const i = t[s], o = s + 1 < t.length, a = o ? t[s + 1] : 0, u = s + 2 < t.length,
|
106
|
-
let
|
107
|
-
u || (
|
105
|
+
const i = t[s], o = s + 1 < t.length, a = o ? t[s + 1] : 0, u = s + 2 < t.length, h = u ? t[s + 2] : 0, I = i >> 2, g = (i & 3) << 4 | a >> 4;
|
106
|
+
let T = (a & 15) << 2 | h >> 6, R = h & 63;
|
107
|
+
u || (R = 64, o || (T = 64)), r.push(n[I], n[g], n[T], n[R]);
|
108
108
|
}
|
109
109
|
return r.join("");
|
110
110
|
},
|
@@ -117,7 +117,7 @@ const _t = function(t) {
|
|
117
117
|
* @return The base64 encoded string.
|
118
118
|
*/
|
119
119
|
encodeString(t, e) {
|
120
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(
|
120
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(ht(t), e);
|
121
121
|
},
|
122
122
|
/**
|
123
123
|
* Base64-decode a string.
|
@@ -128,7 +128,7 @@ const _t = function(t) {
|
|
128
128
|
* @return string representing the decoded value.
|
129
129
|
*/
|
130
130
|
decodeString(t, e) {
|
131
|
-
return this.HAS_NATIVE_SUPPORT && !e ? atob(t) :
|
131
|
+
return this.HAS_NATIVE_SUPPORT && !e ? atob(t) : Wt(this.decodeStringToByteArray(t, e));
|
132
132
|
},
|
133
133
|
/**
|
134
134
|
* Base64-decode a string.
|
@@ -151,17 +151,17 @@ const _t = function(t) {
|
|
151
151
|
for (let s = 0; s < t.length; ) {
|
152
152
|
const i = n[t.charAt(s++)], a = s < t.length ? n[t.charAt(s)] : 0;
|
153
153
|
++s;
|
154
|
-
const
|
154
|
+
const h = s < t.length ? n[t.charAt(s)] : 64;
|
155
155
|
++s;
|
156
156
|
const g = s < t.length ? n[t.charAt(s)] : 64;
|
157
|
-
if (++s, i == null || a == null ||
|
158
|
-
throw new
|
159
|
-
const
|
160
|
-
if (r.push(
|
161
|
-
const
|
162
|
-
if (r.push(
|
163
|
-
const
|
164
|
-
r.push(
|
157
|
+
if (++s, i == null || a == null || h == null || g == null)
|
158
|
+
throw new Gt();
|
159
|
+
const T = i << 2 | a >> 4;
|
160
|
+
if (r.push(T), h !== 64) {
|
161
|
+
const R = a << 4 & 240 | h >> 2;
|
162
|
+
if (r.push(R), g !== 64) {
|
163
|
+
const O = h << 6 & 192 | g;
|
164
|
+
r.push(O);
|
165
165
|
}
|
166
166
|
}
|
167
167
|
}
|
@@ -180,19 +180,19 @@ const _t = function(t) {
|
|
180
180
|
}
|
181
181
|
}
|
182
182
|
};
|
183
|
-
class
|
183
|
+
class Gt extends Error {
|
184
184
|
constructor() {
|
185
185
|
super(...arguments), this.name = "DecodeBase64StringError";
|
186
186
|
}
|
187
187
|
}
|
188
|
-
const
|
189
|
-
const e =
|
190
|
-
return
|
188
|
+
const Vt = function(t) {
|
189
|
+
const e = ht(t);
|
190
|
+
return pt.encodeByteArray(e, !0);
|
191
191
|
}, Ee = function(t) {
|
192
|
-
return
|
193
|
-
},
|
192
|
+
return Vt(t).replace(/\./g, "");
|
193
|
+
}, Zt = function(t) {
|
194
194
|
try {
|
195
|
-
return
|
195
|
+
return pt.decodeString(t, !0);
|
196
196
|
} catch (e) {
|
197
197
|
console.error("base64Decode failed: ", e);
|
198
198
|
}
|
@@ -214,7 +214,7 @@ const Xt = function(t) {
|
|
214
214
|
* See the License for the specific language governing permissions and
|
215
215
|
* limitations under the License.
|
216
216
|
*/
|
217
|
-
function
|
217
|
+
function zt() {
|
218
218
|
if (typeof self < "u")
|
219
219
|
return self;
|
220
220
|
if (typeof window < "u")
|
@@ -239,13 +239,13 @@ function Jt() {
|
|
239
239
|
* See the License for the specific language governing permissions and
|
240
240
|
* limitations under the License.
|
241
241
|
*/
|
242
|
-
const
|
243
|
-
if (typeof process > "u" || typeof
|
242
|
+
const Yt = () => zt().__FIREBASE_DEFAULTS__, Xt = () => {
|
243
|
+
if (typeof process > "u" || typeof ze > "u")
|
244
244
|
return;
|
245
|
-
const t =
|
245
|
+
const t = ze.__FIREBASE_DEFAULTS__;
|
246
246
|
if (t)
|
247
247
|
return JSON.parse(t);
|
248
|
-
},
|
248
|
+
}, Jt = () => {
|
249
249
|
if (typeof document > "u")
|
250
250
|
return;
|
251
251
|
let t;
|
@@ -254,20 +254,20 @@ const Zt = () => Jt().__FIREBASE_DEFAULTS__, Qt = () => {
|
|
254
254
|
} catch {
|
255
255
|
return;
|
256
256
|
}
|
257
|
-
const e = t &&
|
257
|
+
const e = t && Zt(t[1]);
|
258
258
|
return e && JSON.parse(e);
|
259
|
-
},
|
259
|
+
}, _t = () => {
|
260
260
|
try {
|
261
|
-
return
|
261
|
+
return Yt() || Xt() || Jt();
|
262
262
|
} catch (t) {
|
263
263
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);
|
264
264
|
return;
|
265
265
|
}
|
266
|
-
},
|
266
|
+
}, Kt = (t) => {
|
267
267
|
var e, n;
|
268
|
-
return (n = (e =
|
269
|
-
},
|
270
|
-
const e =
|
268
|
+
return (n = (e = _t()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || n === void 0 ? void 0 : n[t];
|
269
|
+
}, Qt = (t) => {
|
270
|
+
const e = Kt(t);
|
271
271
|
if (!e)
|
272
272
|
return;
|
273
273
|
const n = e.lastIndexOf(":");
|
@@ -275,9 +275,9 @@ const Zt = () => Jt().__FIREBASE_DEFAULTS__, Qt = () => {
|
|
275
275
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
276
276
|
const r = parseInt(e.substring(n + 1), 10);
|
277
277
|
return e[0] === "[" ? [e.substring(1, n - 1), r] : [e.substring(0, n), r];
|
278
|
-
},
|
278
|
+
}, ft = () => {
|
279
279
|
var t;
|
280
|
-
return (t =
|
280
|
+
return (t = _t()) === null || t === void 0 ? void 0 : t.config;
|
281
281
|
};
|
282
282
|
/**
|
283
283
|
* @license
|
@@ -295,7 +295,7 @@ const Zt = () => Jt().__FIREBASE_DEFAULTS__, Qt = () => {
|
|
295
295
|
* See the License for the specific language governing permissions and
|
296
296
|
* limitations under the License.
|
297
297
|
*/
|
298
|
-
class
|
298
|
+
class qt {
|
299
299
|
constructor() {
|
300
300
|
this.reject = () => {
|
301
301
|
}, this.resolve = () => {
|
@@ -331,7 +331,7 @@ class rn {
|
|
331
331
|
* See the License for the specific language governing permissions and
|
332
332
|
* limitations under the License.
|
333
333
|
*/
|
334
|
-
function
|
334
|
+
function en(t, e) {
|
335
335
|
if (t.uid)
|
336
336
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
337
337
|
const n = {
|
@@ -360,14 +360,14 @@ function sn(t, e) {
|
|
360
360
|
""
|
361
361
|
].join(".");
|
362
362
|
}
|
363
|
-
function
|
363
|
+
function tn() {
|
364
364
|
try {
|
365
365
|
return typeof indexedDB == "object";
|
366
366
|
} catch {
|
367
367
|
return !1;
|
368
368
|
}
|
369
369
|
}
|
370
|
-
function
|
370
|
+
function nn() {
|
371
371
|
return new Promise((t, e) => {
|
372
372
|
try {
|
373
373
|
let n = !0;
|
@@ -401,29 +401,29 @@ function an() {
|
|
401
401
|
* See the License for the specific language governing permissions and
|
402
402
|
* limitations under the License.
|
403
403
|
*/
|
404
|
-
const
|
404
|
+
const rn = "FirebaseError";
|
405
405
|
class re extends Error {
|
406
406
|
constructor(e, n, r) {
|
407
|
-
super(n), this.code = e, this.customData = r, this.name =
|
407
|
+
super(n), this.code = e, this.customData = r, this.name = rn, Object.setPrototypeOf(this, re.prototype), Error.captureStackTrace && Error.captureStackTrace(this, mt.prototype.create);
|
408
408
|
}
|
409
409
|
}
|
410
|
-
class
|
410
|
+
class mt {
|
411
411
|
constructor(e, n, r) {
|
412
412
|
this.service = e, this.serviceName = n, this.errors = r;
|
413
413
|
}
|
414
414
|
create(e, ...n) {
|
415
|
-
const r = n[0] || {}, s = `${this.service}/${e}`, i = this.errors[e], o = i ?
|
415
|
+
const r = n[0] || {}, s = `${this.service}/${e}`, i = this.errors[e], o = i ? sn(i, r) : "Error", a = `${this.serviceName}: ${o} (${s}).`;
|
416
416
|
return new re(s, a, r);
|
417
417
|
}
|
418
418
|
}
|
419
|
-
function
|
420
|
-
return t.replace(
|
419
|
+
function sn(t, e) {
|
420
|
+
return t.replace(on, (n, r) => {
|
421
421
|
const s = e[r];
|
422
422
|
return s != null ? String(s) : `<${r}?>`;
|
423
423
|
});
|
424
424
|
}
|
425
|
-
const
|
426
|
-
function
|
425
|
+
const on = /\{\$([^}]+)}/g;
|
426
|
+
function Se(t, e) {
|
427
427
|
if (t === e)
|
428
428
|
return !0;
|
429
429
|
const n = Object.keys(t), r = Object.keys(e);
|
@@ -431,8 +431,8 @@ function Pe(t, e) {
|
|
431
431
|
if (!r.includes(s))
|
432
432
|
return !1;
|
433
433
|
const i = t[s], o = e[s];
|
434
|
-
if (
|
435
|
-
if (!
|
434
|
+
if (Ye(i) && Ye(o)) {
|
435
|
+
if (!Se(i, o))
|
436
436
|
return !1;
|
437
437
|
} else if (i !== o)
|
438
438
|
return !1;
|
@@ -442,7 +442,7 @@ function Pe(t, e) {
|
|
442
442
|
return !1;
|
443
443
|
return !0;
|
444
444
|
}
|
445
|
-
function
|
445
|
+
function Ye(t) {
|
446
446
|
return t !== null && typeof t == "object";
|
447
447
|
}
|
448
448
|
/**
|
@@ -461,7 +461,7 @@ function Je(t) {
|
|
461
461
|
* See the License for the specific language governing permissions and
|
462
462
|
* limitations under the License.
|
463
463
|
*/
|
464
|
-
function
|
464
|
+
function he(t) {
|
465
465
|
return t && t._delegate ? t._delegate : t;
|
466
466
|
}
|
467
467
|
class ue {
|
@@ -503,7 +503,7 @@ class ue {
|
|
503
503
|
* See the License for the specific language governing permissions and
|
504
504
|
* limitations under the License.
|
505
505
|
*/
|
506
|
-
const
|
506
|
+
const q = "[DEFAULT]";
|
507
507
|
/**
|
508
508
|
* @license
|
509
509
|
* Copyright 2019 Google LLC
|
@@ -520,7 +520,7 @@ const Q = "[DEFAULT]";
|
|
520
520
|
* See the License for the specific language governing permissions and
|
521
521
|
* limitations under the License.
|
522
522
|
*/
|
523
|
-
class
|
523
|
+
class an {
|
524
524
|
constructor(e, n) {
|
525
525
|
this.name = e, this.container = n, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
526
526
|
}
|
@@ -531,7 +531,7 @@ class dn {
|
|
531
531
|
get(e) {
|
532
532
|
const n = this.normalizeInstanceIdentifier(e);
|
533
533
|
if (!this.instancesDeferred.has(n)) {
|
534
|
-
const r = new
|
534
|
+
const r = new qt();
|
535
535
|
if (this.instancesDeferred.set(n, r), this.isInitialized(n) || this.shouldAutoInitialize())
|
536
536
|
try {
|
537
537
|
const s = this.getOrInitializeService({
|
@@ -571,9 +571,9 @@ class dn {
|
|
571
571
|
if (this.component)
|
572
572
|
throw Error(`Component for ${this.name} has already been provided`);
|
573
573
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
574
|
-
if (
|
574
|
+
if (un(e))
|
575
575
|
try {
|
576
|
-
this.getOrInitializeService({ instanceIdentifier:
|
576
|
+
this.getOrInitializeService({ instanceIdentifier: q });
|
577
577
|
} catch {
|
578
578
|
}
|
579
579
|
for (const [n, r] of this.instancesDeferred.entries()) {
|
@@ -588,7 +588,7 @@ class dn {
|
|
588
588
|
}
|
589
589
|
}
|
590
590
|
}
|
591
|
-
clearInstance(e =
|
591
|
+
clearInstance(e = q) {
|
592
592
|
this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
|
593
593
|
}
|
594
594
|
// app.delete() will call this method on every provider to delete the services
|
@@ -603,10 +603,10 @@ class dn {
|
|
603
603
|
isComponentSet() {
|
604
604
|
return this.component != null;
|
605
605
|
}
|
606
|
-
isInitialized(e =
|
606
|
+
isInitialized(e = q) {
|
607
607
|
return this.instances.has(e);
|
608
608
|
}
|
609
|
-
getOptions(e =
|
609
|
+
getOptions(e = q) {
|
610
610
|
return this.instancesOptions.get(e) || {};
|
611
611
|
}
|
612
612
|
initialize(e = {}) {
|
@@ -658,7 +658,7 @@ class dn {
|
|
658
658
|
getOrInitializeService({ instanceIdentifier: e, options: n = {} }) {
|
659
659
|
let r = this.instances.get(e);
|
660
660
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
661
|
-
instanceIdentifier:
|
661
|
+
instanceIdentifier: cn(e),
|
662
662
|
options: n
|
663
663
|
}), this.instances.set(e, r), this.instancesOptions.set(e, n), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
664
664
|
try {
|
@@ -667,17 +667,17 @@ class dn {
|
|
667
667
|
}
|
668
668
|
return r || null;
|
669
669
|
}
|
670
|
-
normalizeInstanceIdentifier(e =
|
671
|
-
return this.component ? this.component.multipleInstances ? e :
|
670
|
+
normalizeInstanceIdentifier(e = q) {
|
671
|
+
return this.component ? this.component.multipleInstances ? e : q : e;
|
672
672
|
}
|
673
673
|
shouldAutoInitialize() {
|
674
674
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
675
675
|
}
|
676
676
|
}
|
677
|
-
function
|
678
|
-
return t ===
|
677
|
+
function cn(t) {
|
678
|
+
return t === q ? void 0 : t;
|
679
679
|
}
|
680
|
-
function
|
680
|
+
function un(t) {
|
681
681
|
return t.instantiationMode === "EAGER";
|
682
682
|
}
|
683
683
|
/**
|
@@ -696,7 +696,7 @@ function hn(t) {
|
|
696
696
|
* See the License for the specific language governing permissions and
|
697
697
|
* limitations under the License.
|
698
698
|
*/
|
699
|
-
class
|
699
|
+
class ln {
|
700
700
|
constructor(e) {
|
701
701
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
702
702
|
}
|
@@ -728,7 +728,7 @@ class fn {
|
|
728
728
|
getProvider(e) {
|
729
729
|
if (this.providers.has(e))
|
730
730
|
return this.providers.get(e);
|
731
|
-
const n = new
|
731
|
+
const n = new an(e, this);
|
732
732
|
return this.providers.set(e, n), n;
|
733
733
|
}
|
734
734
|
getProviders() {
|
@@ -751,33 +751,33 @@ class fn {
|
|
751
751
|
* See the License for the specific language governing permissions and
|
752
752
|
* limitations under the License.
|
753
753
|
*/
|
754
|
-
var
|
754
|
+
var y;
|
755
755
|
(function(t) {
|
756
756
|
t[t.DEBUG = 0] = "DEBUG", t[t.VERBOSE = 1] = "VERBOSE", t[t.INFO = 2] = "INFO", t[t.WARN = 3] = "WARN", t[t.ERROR = 4] = "ERROR", t[t.SILENT = 5] = "SILENT";
|
757
|
-
})(
|
758
|
-
const
|
759
|
-
debug:
|
760
|
-
verbose:
|
761
|
-
info:
|
762
|
-
warn:
|
763
|
-
error:
|
764
|
-
silent:
|
765
|
-
},
|
766
|
-
[
|
767
|
-
[
|
768
|
-
[
|
769
|
-
[
|
770
|
-
[
|
771
|
-
},
|
757
|
+
})(y || (y = {}));
|
758
|
+
const dn = {
|
759
|
+
debug: y.DEBUG,
|
760
|
+
verbose: y.VERBOSE,
|
761
|
+
info: y.INFO,
|
762
|
+
warn: y.WARN,
|
763
|
+
error: y.ERROR,
|
764
|
+
silent: y.SILENT
|
765
|
+
}, hn = y.INFO, pn = {
|
766
|
+
[y.DEBUG]: "log",
|
767
|
+
[y.VERBOSE]: "log",
|
768
|
+
[y.INFO]: "info",
|
769
|
+
[y.WARN]: "warn",
|
770
|
+
[y.ERROR]: "error"
|
771
|
+
}, _n = (t, e, ...n) => {
|
772
772
|
if (e < t.logLevel)
|
773
773
|
return;
|
774
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), s =
|
774
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), s = pn[e];
|
775
775
|
if (s)
|
776
776
|
console[s](`[${r}] ${t.name}:`, ...n);
|
777
777
|
else
|
778
778
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
779
779
|
};
|
780
|
-
class
|
780
|
+
class fn {
|
781
781
|
/**
|
782
782
|
* Gives you an instance of a Logger to capture messages according to
|
783
783
|
* Firebase's logging scheme.
|
@@ -785,19 +785,19 @@ class yn {
|
|
785
785
|
* @param name The name that the logs will be associated with
|
786
786
|
*/
|
787
787
|
constructor(e) {
|
788
|
-
this.name = e, this._logLevel =
|
788
|
+
this.name = e, this._logLevel = hn, this._logHandler = _n, this._userLogHandler = null;
|
789
789
|
}
|
790
790
|
get logLevel() {
|
791
791
|
return this._logLevel;
|
792
792
|
}
|
793
793
|
set logLevel(e) {
|
794
|
-
if (!(e in
|
794
|
+
if (!(e in y))
|
795
795
|
throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);
|
796
796
|
this._logLevel = e;
|
797
797
|
}
|
798
798
|
// Workaround for setter/getter having to be the same type.
|
799
799
|
setLogLevel(e) {
|
800
|
-
this._logLevel = typeof e == "string" ?
|
800
|
+
this._logLevel = typeof e == "string" ? dn[e] : e;
|
801
801
|
}
|
802
802
|
get logHandler() {
|
803
803
|
return this._logHandler;
|
@@ -817,25 +817,25 @@ class yn {
|
|
817
817
|
* The functions below are all based on the `console` interface
|
818
818
|
*/
|
819
819
|
debug(...e) {
|
820
|
-
this._userLogHandler && this._userLogHandler(this,
|
820
|
+
this._userLogHandler && this._userLogHandler(this, y.DEBUG, ...e), this._logHandler(this, y.DEBUG, ...e);
|
821
821
|
}
|
822
822
|
log(...e) {
|
823
|
-
this._userLogHandler && this._userLogHandler(this,
|
823
|
+
this._userLogHandler && this._userLogHandler(this, y.VERBOSE, ...e), this._logHandler(this, y.VERBOSE, ...e);
|
824
824
|
}
|
825
825
|
info(...e) {
|
826
|
-
this._userLogHandler && this._userLogHandler(this,
|
826
|
+
this._userLogHandler && this._userLogHandler(this, y.INFO, ...e), this._logHandler(this, y.INFO, ...e);
|
827
827
|
}
|
828
828
|
warn(...e) {
|
829
|
-
this._userLogHandler && this._userLogHandler(this,
|
829
|
+
this._userLogHandler && this._userLogHandler(this, y.WARN, ...e), this._logHandler(this, y.WARN, ...e);
|
830
830
|
}
|
831
831
|
error(...e) {
|
832
|
-
this._userLogHandler && this._userLogHandler(this,
|
832
|
+
this._userLogHandler && this._userLogHandler(this, y.ERROR, ...e), this._logHandler(this, y.ERROR, ...e);
|
833
833
|
}
|
834
834
|
}
|
835
|
-
const
|
836
|
-
let
|
837
|
-
function
|
838
|
-
return
|
835
|
+
const mn = (t, e) => e.some((n) => t instanceof n);
|
836
|
+
let Xe, Je;
|
837
|
+
function gn() {
|
838
|
+
return Xe || (Xe = [
|
839
839
|
IDBDatabase,
|
840
840
|
IDBObjectStore,
|
841
841
|
IDBIndex,
|
@@ -843,32 +843,32 @@ function vn() {
|
|
843
843
|
IDBTransaction
|
844
844
|
]);
|
845
845
|
}
|
846
|
-
function
|
847
|
-
return
|
846
|
+
function bn() {
|
847
|
+
return Je || (Je = [
|
848
848
|
IDBCursor.prototype.advance,
|
849
849
|
IDBCursor.prototype.continue,
|
850
850
|
IDBCursor.prototype.continuePrimaryKey
|
851
851
|
]);
|
852
852
|
}
|
853
|
-
const
|
854
|
-
function
|
853
|
+
const gt = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), bt = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap();
|
854
|
+
function En(t) {
|
855
855
|
const e = new Promise((n, r) => {
|
856
856
|
const s = () => {
|
857
857
|
t.removeEventListener("success", i), t.removeEventListener("error", o);
|
858
858
|
}, i = () => {
|
859
|
-
n(
|
859
|
+
n(z(t.result)), s();
|
860
860
|
}, o = () => {
|
861
861
|
r(t.error), s();
|
862
862
|
};
|
863
863
|
t.addEventListener("success", i), t.addEventListener("error", o);
|
864
864
|
});
|
865
865
|
return e.then((n) => {
|
866
|
-
n instanceof IDBCursor &&
|
866
|
+
n instanceof IDBCursor && gt.set(n, t);
|
867
867
|
}).catch(() => {
|
868
|
-
}),
|
868
|
+
}), He.set(e, t), e;
|
869
869
|
}
|
870
|
-
function
|
871
|
-
if (
|
870
|
+
function In(t) {
|
871
|
+
if (Ce.has(t))
|
872
872
|
return;
|
873
873
|
const e = new Promise((n, r) => {
|
874
874
|
const s = () => {
|
@@ -880,19 +880,19 @@ function Dn(t) {
|
|
880
880
|
};
|
881
881
|
t.addEventListener("complete", i), t.addEventListener("error", o), t.addEventListener("abort", o);
|
882
882
|
});
|
883
|
-
|
883
|
+
Ce.set(t, e);
|
884
884
|
}
|
885
|
-
let
|
885
|
+
let Me = {
|
886
886
|
get(t, e, n) {
|
887
887
|
if (t instanceof IDBTransaction) {
|
888
888
|
if (e === "done")
|
889
|
-
return
|
889
|
+
return Ce.get(t);
|
890
890
|
if (e === "objectStoreNames")
|
891
|
-
return t.objectStoreNames ||
|
891
|
+
return t.objectStoreNames || bt.get(t);
|
892
892
|
if (e === "store")
|
893
893
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
894
894
|
}
|
895
|
-
return
|
895
|
+
return z(t[e]);
|
896
896
|
},
|
897
897
|
set(t, e, n) {
|
898
898
|
return t[e] = n, !0;
|
@@ -901,71 +901,71 @@ let Be = {
|
|
901
901
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
902
902
|
}
|
903
903
|
};
|
904
|
-
function
|
905
|
-
|
904
|
+
function yn(t) {
|
905
|
+
Me = t(Me);
|
906
906
|
}
|
907
|
-
function
|
907
|
+
function Tn(t) {
|
908
908
|
return t === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...n) {
|
909
|
-
const r = t.call(
|
910
|
-
return
|
911
|
-
} :
|
912
|
-
return t.apply(
|
909
|
+
const r = t.call(ve(this), e, ...n);
|
910
|
+
return bt.set(r, e.sort ? e.sort() : [e]), z(r);
|
911
|
+
} : bn().includes(t) ? function(...e) {
|
912
|
+
return t.apply(ve(this), e), z(gt.get(this));
|
913
913
|
} : function(...e) {
|
914
|
-
return
|
914
|
+
return z(t.apply(ve(this), e));
|
915
915
|
};
|
916
916
|
}
|
917
|
-
function
|
918
|
-
return typeof t == "function" ?
|
917
|
+
function Rn(t) {
|
918
|
+
return typeof t == "function" ? Tn(t) : (t instanceof IDBTransaction && In(t), mn(t, gn()) ? new Proxy(t, Me) : t);
|
919
919
|
}
|
920
|
-
function
|
920
|
+
function z(t) {
|
921
921
|
if (t instanceof IDBRequest)
|
922
|
-
return
|
923
|
-
if (
|
924
|
-
return
|
925
|
-
const e =
|
926
|
-
return e !== t && (
|
927
|
-
}
|
928
|
-
const
|
929
|
-
function
|
930
|
-
const o = indexedDB.open(t, e), a =
|
922
|
+
return En(t);
|
923
|
+
if (we.has(t))
|
924
|
+
return we.get(t);
|
925
|
+
const e = Rn(t);
|
926
|
+
return e !== t && (we.set(t, e), He.set(e, t)), e;
|
927
|
+
}
|
928
|
+
const ve = (t) => He.get(t);
|
929
|
+
function wn(t, e, { blocked: n, upgrade: r, blocking: s, terminated: i } = {}) {
|
930
|
+
const o = indexedDB.open(t, e), a = z(o);
|
931
931
|
return r && o.addEventListener("upgradeneeded", (u) => {
|
932
|
-
r(
|
932
|
+
r(z(o.result), u.oldVersion, u.newVersion, z(o.transaction), u);
|
933
933
|
}), n && o.addEventListener("blocked", (u) => n(
|
934
934
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
935
935
|
u.oldVersion,
|
936
936
|
u.newVersion,
|
937
937
|
u
|
938
938
|
)), a.then((u) => {
|
939
|
-
i && u.addEventListener("close", () => i()), s && u.addEventListener("versionchange", (
|
939
|
+
i && u.addEventListener("close", () => i()), s && u.addEventListener("versionchange", (h) => s(h.oldVersion, h.newVersion, h));
|
940
940
|
}).catch(() => {
|
941
941
|
}), a;
|
942
942
|
}
|
943
|
-
const
|
944
|
-
function
|
943
|
+
const vn = ["get", "getKey", "getAll", "getAllKeys", "count"], An = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
|
944
|
+
function Ke(t, e) {
|
945
945
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
946
946
|
return;
|
947
|
-
if (
|
948
|
-
return
|
949
|
-
const n = e.replace(/FromIndex$/, ""), r = e !== n, s =
|
947
|
+
if (Ae.get(e))
|
948
|
+
return Ae.get(e);
|
949
|
+
const n = e.replace(/FromIndex$/, ""), r = e !== n, s = An.includes(n);
|
950
950
|
if (
|
951
951
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
952
|
-
!(n in (r ? IDBIndex : IDBObjectStore).prototype) || !(s ||
|
952
|
+
!(n in (r ? IDBIndex : IDBObjectStore).prototype) || !(s || vn.includes(n))
|
953
953
|
)
|
954
954
|
return;
|
955
955
|
const i = async function(o, ...a) {
|
956
956
|
const u = this.transaction(o, s ? "readwrite" : "readonly");
|
957
|
-
let
|
958
|
-
return r && (
|
959
|
-
|
957
|
+
let h = u.store;
|
958
|
+
return r && (h = h.index(a.shift())), (await Promise.all([
|
959
|
+
h[n](...a),
|
960
960
|
s && u.done
|
961
961
|
]))[0];
|
962
962
|
};
|
963
|
-
return
|
963
|
+
return Ae.set(e, i), i;
|
964
964
|
}
|
965
|
-
|
965
|
+
yn((t) => ({
|
966
966
|
...t,
|
967
|
-
get: (e, n, r) =>
|
968
|
-
has: (e, n) => !!
|
967
|
+
get: (e, n, r) => Ke(e, n) || t.get(e, n, r),
|
968
|
+
has: (e, n) => !!Ke(e, n) || t.has(e, n)
|
969
969
|
}));
|
970
970
|
/**
|
971
971
|
* @license
|
@@ -983,7 +983,7 @@ An((t) => ({
|
|
983
983
|
* See the License for the specific language governing permissions and
|
984
984
|
* limitations under the License.
|
985
985
|
*/
|
986
|
-
class
|
986
|
+
class On {
|
987
987
|
constructor(e) {
|
988
988
|
this.container = e;
|
989
989
|
}
|
@@ -991,7 +991,7 @@ class Cn {
|
|
991
991
|
// auth token refresh, and installations will send this string.
|
992
992
|
getPlatformInfoString() {
|
993
993
|
return this.container.getProviders().map((n) => {
|
994
|
-
if (
|
994
|
+
if (Dn(n)) {
|
995
995
|
const r = n.getImmediate();
|
996
996
|
return `${r.library}/${r.version}`;
|
997
997
|
} else
|
@@ -999,11 +999,11 @@ class Cn {
|
|
999
999
|
}).filter((n) => n).join(" ");
|
1000
1000
|
}
|
1001
1001
|
}
|
1002
|
-
function
|
1002
|
+
function Dn(t) {
|
1003
1003
|
const e = t.getComponent();
|
1004
1004
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1005
1005
|
}
|
1006
|
-
const
|
1006
|
+
const Ue = "@firebase/app", Qe = "0.10.12";
|
1007
1007
|
/**
|
1008
1008
|
* @license
|
1009
1009
|
* Copyright 2019 Google LLC
|
@@ -1020,7 +1020,7 @@ const Me = "@firebase/app", tt = "0.10.12";
|
|
1020
1020
|
* See the License for the specific language governing permissions and
|
1021
1021
|
* limitations under the License.
|
1022
1022
|
*/
|
1023
|
-
const
|
1023
|
+
const W = new fn("@firebase/app"), kn = "@firebase/app-compat", Nn = "@firebase/analytics-compat", Sn = "@firebase/analytics", Cn = "@firebase/app-check-compat", Mn = "@firebase/app-check", Un = "@firebase/auth", Ln = "@firebase/auth-compat", Bn = "@firebase/database", Pn = "@firebase/data-connect", xn = "@firebase/database-compat", Hn = "@firebase/functions", $n = "@firebase/functions-compat", jn = "@firebase/installations", Fn = "@firebase/installations-compat", Wn = "@firebase/messaging", Gn = "@firebase/messaging-compat", Vn = "@firebase/performance", Zn = "@firebase/performance-compat", zn = "@firebase/remote-config", Yn = "@firebase/remote-config-compat", Xn = "@firebase/storage", Jn = "@firebase/storage-compat", Kn = "@firebase/firestore", Qn = "@firebase/vertexai-preview", qn = "@firebase/firestore-compat", er = "firebase", tr = "10.14.0";
|
1024
1024
|
/**
|
1025
1025
|
* @license
|
1026
1026
|
* Copyright 2019 Google LLC
|
@@ -1037,35 +1037,35 @@ const V = new yn("@firebase/app"), Pn = "@firebase/app-compat", $n = "@firebase/
|
|
1037
1037
|
* See the License for the specific language governing permissions and
|
1038
1038
|
* limitations under the License.
|
1039
1039
|
*/
|
1040
|
-
const
|
1041
|
-
[
|
1042
|
-
[
|
1043
|
-
[
|
1044
|
-
[
|
1045
|
-
[
|
1046
|
-
[
|
1047
|
-
[
|
1040
|
+
const Le = "[DEFAULT]", nr = {
|
1041
|
+
[Ue]: "fire-core",
|
1042
|
+
[kn]: "fire-core-compat",
|
1043
|
+
[Sn]: "fire-analytics",
|
1044
|
+
[Nn]: "fire-analytics-compat",
|
1045
|
+
[Mn]: "fire-app-check",
|
1046
|
+
[Cn]: "fire-app-check-compat",
|
1047
|
+
[Un]: "fire-auth",
|
1048
1048
|
[Ln]: "fire-auth-compat",
|
1049
|
-
[
|
1050
|
-
[
|
1051
|
-
[
|
1052
|
-
[
|
1053
|
-
[
|
1054
|
-
[
|
1055
|
-
[
|
1056
|
-
[
|
1057
|
-
[
|
1058
|
-
[
|
1059
|
-
[
|
1060
|
-
[
|
1061
|
-
[
|
1062
|
-
[
|
1063
|
-
[
|
1064
|
-
[
|
1065
|
-
[
|
1066
|
-
[
|
1049
|
+
[Bn]: "fire-rtdb",
|
1050
|
+
[Pn]: "fire-data-connect",
|
1051
|
+
[xn]: "fire-rtdb-compat",
|
1052
|
+
[Hn]: "fire-fn",
|
1053
|
+
[$n]: "fire-fn-compat",
|
1054
|
+
[jn]: "fire-iid",
|
1055
|
+
[Fn]: "fire-iid-compat",
|
1056
|
+
[Wn]: "fire-fcm",
|
1057
|
+
[Gn]: "fire-fcm-compat",
|
1058
|
+
[Vn]: "fire-perf",
|
1059
|
+
[Zn]: "fire-perf-compat",
|
1060
|
+
[zn]: "fire-rc",
|
1061
|
+
[Yn]: "fire-rc-compat",
|
1062
|
+
[Xn]: "fire-gcs",
|
1063
|
+
[Jn]: "fire-gcs-compat",
|
1064
|
+
[Kn]: "fire-fst",
|
1065
|
+
[qn]: "fire-fst-compat",
|
1066
|
+
[Qn]: "fire-vertex",
|
1067
1067
|
"fire-js": "fire-js",
|
1068
|
-
[
|
1068
|
+
[er]: "fire-js-all"
|
1069
1069
|
};
|
1070
1070
|
/**
|
1071
1071
|
* @license
|
@@ -1083,26 +1083,26 @@ const Ue = "[DEFAULT]", or = {
|
|
1083
1083
|
* See the License for the specific language governing permissions and
|
1084
1084
|
* limitations under the License.
|
1085
1085
|
*/
|
1086
|
-
const
|
1087
|
-
function
|
1086
|
+
const Ie = /* @__PURE__ */ new Map(), rr = /* @__PURE__ */ new Map(), Be = /* @__PURE__ */ new Map();
|
1087
|
+
function qe(t, e) {
|
1088
1088
|
try {
|
1089
1089
|
t.container.addComponent(e);
|
1090
1090
|
} catch (n) {
|
1091
|
-
|
1091
|
+
W.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
|
1092
1092
|
}
|
1093
1093
|
}
|
1094
|
-
function
|
1094
|
+
function ye(t) {
|
1095
1095
|
const e = t.name;
|
1096
|
-
if (
|
1097
|
-
return
|
1098
|
-
|
1099
|
-
for (const n of
|
1100
|
-
|
1101
|
-
for (const n of
|
1102
|
-
|
1096
|
+
if (Be.has(e))
|
1097
|
+
return W.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1098
|
+
Be.set(e, t);
|
1099
|
+
for (const n of Ie.values())
|
1100
|
+
qe(n, t);
|
1101
|
+
for (const n of rr.values())
|
1102
|
+
qe(n, t);
|
1103
1103
|
return !0;
|
1104
1104
|
}
|
1105
|
-
function
|
1105
|
+
function sr(t, e) {
|
1106
1106
|
const n = t.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1107
1107
|
return n && n.triggerHeartbeat(), t.container.getProvider(e);
|
1108
1108
|
}
|
@@ -1122,7 +1122,7 @@ function cr(t, e) {
|
|
1122
1122
|
* See the License for the specific language governing permissions and
|
1123
1123
|
* limitations under the License.
|
1124
1124
|
*/
|
1125
|
-
const
|
1125
|
+
const ir = {
|
1126
1126
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
1127
1127
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
1128
1128
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
@@ -1137,7 +1137,7 @@ const ur = {
|
|
1137
1137
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1138
1138
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1139
1139
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1140
|
-
},
|
1140
|
+
}, Y = new mt("app", "Firebase", ir);
|
1141
1141
|
/**
|
1142
1142
|
* @license
|
1143
1143
|
* Copyright 2019 Google LLC
|
@@ -1154,7 +1154,7 @@ const ur = {
|
|
1154
1154
|
* See the License for the specific language governing permissions and
|
1155
1155
|
* limitations under the License.
|
1156
1156
|
*/
|
1157
|
-
class
|
1157
|
+
class or {
|
1158
1158
|
constructor(e, n, r) {
|
1159
1159
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, n), this._name = n.name, this._automaticDataCollectionEnabled = n.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new ue(
|
1160
1160
|
"app",
|
@@ -1193,7 +1193,7 @@ class lr {
|
|
1193
1193
|
*/
|
1194
1194
|
checkDestroyed() {
|
1195
1195
|
if (this.isDeleted)
|
1196
|
-
throw
|
1196
|
+
throw Y.create("app-deleted", { appName: this._name });
|
1197
1197
|
}
|
1198
1198
|
}
|
1199
1199
|
/**
|
@@ -1212,53 +1212,53 @@ class lr {
|
|
1212
1212
|
* See the License for the specific language governing permissions and
|
1213
1213
|
* limitations under the License.
|
1214
1214
|
*/
|
1215
|
-
const
|
1216
|
-
function
|
1215
|
+
const ar = tr;
|
1216
|
+
function cr(t, e = {}) {
|
1217
1217
|
let n = t;
|
1218
1218
|
typeof e != "object" && (e = { name: e });
|
1219
|
-
const r = Object.assign({ name:
|
1219
|
+
const r = Object.assign({ name: Le, automaticDataCollectionEnabled: !1 }, e), s = r.name;
|
1220
1220
|
if (typeof s != "string" || !s)
|
1221
|
-
throw
|
1221
|
+
throw Y.create("bad-app-name", {
|
1222
1222
|
appName: String(s)
|
1223
1223
|
});
|
1224
|
-
if (n || (n =
|
1225
|
-
throw
|
1224
|
+
if (n || (n = ft()), !n)
|
1225
|
+
throw Y.create(
|
1226
1226
|
"no-options"
|
1227
1227
|
/* AppError.NO_OPTIONS */
|
1228
1228
|
);
|
1229
|
-
const i =
|
1229
|
+
const i = Ie.get(s);
|
1230
1230
|
if (i) {
|
1231
|
-
if (
|
1231
|
+
if (Se(n, i.options) && Se(r, i.config))
|
1232
1232
|
return i;
|
1233
|
-
throw
|
1233
|
+
throw Y.create("duplicate-app", { appName: s });
|
1234
1234
|
}
|
1235
|
-
const o = new
|
1236
|
-
for (const u of
|
1235
|
+
const o = new ln(s);
|
1236
|
+
for (const u of Be.values())
|
1237
1237
|
o.addComponent(u);
|
1238
|
-
const a = new
|
1239
|
-
return
|
1238
|
+
const a = new or(n, r, o);
|
1239
|
+
return Ie.set(s, a), a;
|
1240
1240
|
}
|
1241
|
-
function
|
1242
|
-
const e =
|
1243
|
-
if (!e && t ===
|
1244
|
-
return
|
1241
|
+
function ur(t = Le) {
|
1242
|
+
const e = Ie.get(t);
|
1243
|
+
if (!e && t === Le && ft())
|
1244
|
+
return cr();
|
1245
1245
|
if (!e)
|
1246
|
-
throw
|
1246
|
+
throw Y.create("no-app", { appName: t });
|
1247
1247
|
return e;
|
1248
1248
|
}
|
1249
1249
|
function ae(t, e, n) {
|
1250
1250
|
var r;
|
1251
|
-
let s = (r =
|
1251
|
+
let s = (r = nr[t]) !== null && r !== void 0 ? r : t;
|
1252
1252
|
n && (s += `-${n}`);
|
1253
1253
|
const i = s.match(/\s|\//), o = e.match(/\s|\//);
|
1254
1254
|
if (i || o) {
|
1255
1255
|
const a = [
|
1256
1256
|
`Unable to register library "${s}" with version "${e}":`
|
1257
1257
|
];
|
1258
|
-
i && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), i && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1258
|
+
i && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), i && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), W.warn(a.join(" "));
|
1259
1259
|
return;
|
1260
1260
|
}
|
1261
|
-
|
1261
|
+
ye(new ue(
|
1262
1262
|
`${s}-version`,
|
1263
1263
|
() => ({ library: s, version: e }),
|
1264
1264
|
"VERSION"
|
@@ -1281,10 +1281,10 @@ function ae(t, e, n) {
|
|
1281
1281
|
* See the License for the specific language governing permissions and
|
1282
1282
|
* limitations under the License.
|
1283
1283
|
*/
|
1284
|
-
const
|
1285
|
-
let
|
1286
|
-
function
|
1287
|
-
return
|
1284
|
+
const lr = "firebase-heartbeat-database", dr = 1, le = "firebase-heartbeat-store";
|
1285
|
+
let Oe = null;
|
1286
|
+
function Et() {
|
1287
|
+
return Oe || (Oe = wn(lr, dr, {
|
1288
1288
|
upgrade: (t, e) => {
|
1289
1289
|
switch (e) {
|
1290
1290
|
case 0:
|
@@ -1296,42 +1296,42 @@ function wt() {
|
|
1296
1296
|
}
|
1297
1297
|
}
|
1298
1298
|
}).catch((t) => {
|
1299
|
-
throw
|
1299
|
+
throw Y.create("idb-open", {
|
1300
1300
|
originalErrorMessage: t.message
|
1301
1301
|
});
|
1302
|
-
})),
|
1302
|
+
})), Oe;
|
1303
1303
|
}
|
1304
|
-
async function
|
1304
|
+
async function hr(t) {
|
1305
1305
|
try {
|
1306
|
-
const n = (await
|
1306
|
+
const n = (await Et()).transaction(le), r = await n.objectStore(le).get(It(t));
|
1307
1307
|
return await n.done, r;
|
1308
1308
|
} catch (e) {
|
1309
1309
|
if (e instanceof re)
|
1310
|
-
|
1310
|
+
W.warn(e.message);
|
1311
1311
|
else {
|
1312
|
-
const n =
|
1312
|
+
const n = Y.create("idb-get", {
|
1313
1313
|
originalErrorMessage: e == null ? void 0 : e.message
|
1314
1314
|
});
|
1315
|
-
|
1315
|
+
W.warn(n.message);
|
1316
1316
|
}
|
1317
1317
|
}
|
1318
1318
|
}
|
1319
|
-
async function
|
1319
|
+
async function et(t, e) {
|
1320
1320
|
try {
|
1321
|
-
const r = (await
|
1322
|
-
await r.objectStore(le).put(e,
|
1321
|
+
const r = (await Et()).transaction(le, "readwrite");
|
1322
|
+
await r.objectStore(le).put(e, It(t)), await r.done;
|
1323
1323
|
} catch (n) {
|
1324
1324
|
if (n instanceof re)
|
1325
|
-
|
1325
|
+
W.warn(n.message);
|
1326
1326
|
else {
|
1327
|
-
const r =
|
1327
|
+
const r = Y.create("idb-set", {
|
1328
1328
|
originalErrorMessage: n == null ? void 0 : n.message
|
1329
1329
|
});
|
1330
|
-
|
1330
|
+
W.warn(r.message);
|
1331
1331
|
}
|
1332
1332
|
}
|
1333
1333
|
}
|
1334
|
-
function
|
1334
|
+
function It(t) {
|
1335
1335
|
return `${t.name}!${t.options.appId}`;
|
1336
1336
|
}
|
1337
1337
|
/**
|
@@ -1350,12 +1350,12 @@ function St(t) {
|
|
1350
1350
|
* See the License for the specific language governing permissions and
|
1351
1351
|
* limitations under the License.
|
1352
1352
|
*/
|
1353
|
-
const
|
1354
|
-
class
|
1353
|
+
const pr = 1024, _r = 30 * 24 * 60 * 60 * 1e3;
|
1354
|
+
class fr {
|
1355
1355
|
constructor(e) {
|
1356
1356
|
this.container = e, this._heartbeatsCache = null;
|
1357
1357
|
const n = this.container.getProvider("app").getImmediate();
|
1358
|
-
this._storage = new
|
1358
|
+
this._storage = new gr(n), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
|
1359
1359
|
}
|
1360
1360
|
/**
|
1361
1361
|
* Called to report a heartbeat. The function will generate
|
@@ -1367,13 +1367,13 @@ class yr {
|
|
1367
1367
|
async triggerHeartbeat() {
|
1368
1368
|
var e, n;
|
1369
1369
|
try {
|
1370
|
-
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), i =
|
1370
|
+
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), i = tt();
|
1371
1371
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === i || this._heartbeatsCache.heartbeats.some((o) => o.date === i) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: i, agent: s }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((o) => {
|
1372
1372
|
const a = new Date(o.date).valueOf();
|
1373
|
-
return Date.now() - a <=
|
1373
|
+
return Date.now() - a <= _r;
|
1374
1374
|
}), this._storage.overwrite(this._heartbeatsCache));
|
1375
1375
|
} catch (r) {
|
1376
|
-
|
1376
|
+
W.warn(r);
|
1377
1377
|
}
|
1378
1378
|
}
|
1379
1379
|
/**
|
@@ -1388,30 +1388,30 @@ class yr {
|
|
1388
1388
|
try {
|
1389
1389
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
1390
1390
|
return "";
|
1391
|
-
const n =
|
1391
|
+
const n = tt(), { heartbeatsToSend: r, unsentEntries: s } = mr(this._heartbeatsCache.heartbeats), i = Ee(JSON.stringify({ version: 2, heartbeats: r }));
|
1392
1392
|
return this._heartbeatsCache.lastSentHeartbeatDate = n, s.length > 0 ? (this._heartbeatsCache.heartbeats = s, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), i;
|
1393
1393
|
} catch (n) {
|
1394
|
-
return
|
1394
|
+
return W.warn(n), "";
|
1395
1395
|
}
|
1396
1396
|
}
|
1397
1397
|
}
|
1398
|
-
function
|
1398
|
+
function tt() {
|
1399
1399
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
1400
1400
|
}
|
1401
|
-
function
|
1401
|
+
function mr(t, e = pr) {
|
1402
1402
|
const n = [];
|
1403
1403
|
let r = t.slice();
|
1404
1404
|
for (const s of t) {
|
1405
1405
|
const i = n.find((o) => o.agent === s.agent);
|
1406
1406
|
if (i) {
|
1407
|
-
if (i.dates.push(s.date),
|
1407
|
+
if (i.dates.push(s.date), nt(n) > e) {
|
1408
1408
|
i.dates.pop();
|
1409
1409
|
break;
|
1410
1410
|
}
|
1411
1411
|
} else if (n.push({
|
1412
1412
|
agent: s.agent,
|
1413
1413
|
dates: [s.date]
|
1414
|
-
}),
|
1414
|
+
}), nt(n) > e) {
|
1415
1415
|
n.pop();
|
1416
1416
|
break;
|
1417
1417
|
}
|
@@ -1422,19 +1422,19 @@ function Er(t, e = gr) {
|
|
1422
1422
|
unsentEntries: r
|
1423
1423
|
};
|
1424
1424
|
}
|
1425
|
-
class
|
1425
|
+
class gr {
|
1426
1426
|
constructor(e) {
|
1427
1427
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
1428
1428
|
}
|
1429
1429
|
async runIndexedDBEnvironmentCheck() {
|
1430
|
-
return
|
1430
|
+
return tn() ? nn().then(() => !0).catch(() => !1) : !1;
|
1431
1431
|
}
|
1432
1432
|
/**
|
1433
1433
|
* Read all heartbeats.
|
1434
1434
|
*/
|
1435
1435
|
async read() {
|
1436
1436
|
if (await this._canUseIndexedDBPromise) {
|
1437
|
-
const n = await
|
1437
|
+
const n = await hr(this.app);
|
1438
1438
|
return n != null && n.heartbeats ? n : { heartbeats: [] };
|
1439
1439
|
} else
|
1440
1440
|
return { heartbeats: [] };
|
@@ -1444,7 +1444,7 @@ class vr {
|
|
1444
1444
|
var n;
|
1445
1445
|
if (await this._canUseIndexedDBPromise) {
|
1446
1446
|
const s = await this.read();
|
1447
|
-
return
|
1447
|
+
return et(this.app, {
|
1448
1448
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
1449
1449
|
heartbeats: e.heartbeats
|
1450
1450
|
});
|
@@ -1456,7 +1456,7 @@ class vr {
|
|
1456
1456
|
var n;
|
1457
1457
|
if (await this._canUseIndexedDBPromise) {
|
1458
1458
|
const s = await this.read();
|
1459
|
-
return
|
1459
|
+
return et(this.app, {
|
1460
1460
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
1461
1461
|
heartbeats: [
|
1462
1462
|
...s.heartbeats,
|
@@ -1467,7 +1467,7 @@ class vr {
|
|
1467
1467
|
return;
|
1468
1468
|
}
|
1469
1469
|
}
|
1470
|
-
function
|
1470
|
+
function nt(t) {
|
1471
1471
|
return Ee(
|
1472
1472
|
// heartbeatsCache wrapper properties
|
1473
1473
|
JSON.stringify({ version: 2, heartbeats: t })
|
@@ -1489,20 +1489,20 @@ function it(t) {
|
|
1489
1489
|
* See the License for the specific language governing permissions and
|
1490
1490
|
* limitations under the License.
|
1491
1491
|
*/
|
1492
|
-
function
|
1493
|
-
|
1492
|
+
function br(t) {
|
1493
|
+
ye(new ue(
|
1494
1494
|
"platform-logger",
|
1495
|
-
(e) => new
|
1495
|
+
(e) => new On(e),
|
1496
1496
|
"PRIVATE"
|
1497
1497
|
/* ComponentType.PRIVATE */
|
1498
|
-
)),
|
1498
|
+
)), ye(new ue(
|
1499
1499
|
"heartbeat",
|
1500
|
-
(e) => new
|
1500
|
+
(e) => new fr(e),
|
1501
1501
|
"PRIVATE"
|
1502
1502
|
/* ComponentType.PRIVATE */
|
1503
|
-
)), ae(
|
1503
|
+
)), ae(Ue, Qe, t), ae(Ue, Qe, "esm2017"), ae("fire-js", "");
|
1504
1504
|
}
|
1505
|
-
|
1505
|
+
br("");
|
1506
1506
|
/**
|
1507
1507
|
* @license
|
1508
1508
|
* Copyright 2017 Google LLC
|
@@ -1519,7 +1519,7 @@ wr("");
|
|
1519
1519
|
* See the License for the specific language governing permissions and
|
1520
1520
|
* limitations under the License.
|
1521
1521
|
*/
|
1522
|
-
const
|
1522
|
+
const yt = "firebasestorage.googleapis.com", Tt = "storageBucket", Er = 2 * 60 * 1e3, Ir = 10 * 60 * 1e3;
|
1523
1523
|
/**
|
1524
1524
|
* @license
|
1525
1525
|
* Copyright 2017 Google LLC
|
@@ -1536,7 +1536,7 @@ const Dt = "firebasestorage.googleapis.com", At = "storageBucket", Sr = 2 * 60 *
|
|
1536
1536
|
* See the License for the specific language governing permissions and
|
1537
1537
|
* limitations under the License.
|
1538
1538
|
*/
|
1539
|
-
class
|
1539
|
+
class v extends re {
|
1540
1540
|
/**
|
1541
1541
|
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
1542
1542
|
* added to the end of the message.
|
@@ -1544,7 +1544,7 @@ class A extends re {
|
|
1544
1544
|
* @param status_ - Corresponding HTTP Status Code
|
1545
1545
|
*/
|
1546
1546
|
constructor(e, n, r = 0) {
|
1547
|
-
super(
|
1547
|
+
super(De(e), `Firebase Storage: ${n} (${De(e)})`), this.status_ = r, this.customData = { serverResponse: null }, this._baseMessage = this.message, Object.setPrototypeOf(this, v.prototype);
|
1548
1548
|
}
|
1549
1549
|
get status() {
|
1550
1550
|
return this.status_;
|
@@ -1556,7 +1556,7 @@ class A extends re {
|
|
1556
1556
|
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
1557
1557
|
*/
|
1558
1558
|
_codeEquals(e) {
|
1559
|
-
return
|
1559
|
+
return De(e) === this.code;
|
1560
1560
|
}
|
1561
1561
|
/**
|
1562
1562
|
* Optional response message that was added by the server.
|
@@ -1569,71 +1569,71 @@ class A extends re {
|
|
1569
1569
|
${this.customData.serverResponse}` : this.message = this._baseMessage;
|
1570
1570
|
}
|
1571
1571
|
}
|
1572
|
-
var
|
1572
|
+
var w;
|
1573
1573
|
(function(t) {
|
1574
1574
|
t.UNKNOWN = "unknown", t.OBJECT_NOT_FOUND = "object-not-found", t.BUCKET_NOT_FOUND = "bucket-not-found", t.PROJECT_NOT_FOUND = "project-not-found", t.QUOTA_EXCEEDED = "quota-exceeded", t.UNAUTHENTICATED = "unauthenticated", t.UNAUTHORIZED = "unauthorized", t.UNAUTHORIZED_APP = "unauthorized-app", t.RETRY_LIMIT_EXCEEDED = "retry-limit-exceeded", t.INVALID_CHECKSUM = "invalid-checksum", t.CANCELED = "canceled", t.INVALID_EVENT_NAME = "invalid-event-name", t.INVALID_URL = "invalid-url", t.INVALID_DEFAULT_BUCKET = "invalid-default-bucket", t.NO_DEFAULT_BUCKET = "no-default-bucket", t.CANNOT_SLICE_BLOB = "cannot-slice-blob", t.SERVER_FILE_WRONG_SIZE = "server-file-wrong-size", t.NO_DOWNLOAD_URL = "no-download-url", t.INVALID_ARGUMENT = "invalid-argument", t.INVALID_ARGUMENT_COUNT = "invalid-argument-count", t.APP_DELETED = "app-deleted", t.INVALID_ROOT_OPERATION = "invalid-root-operation", t.INVALID_FORMAT = "invalid-format", t.INTERNAL_ERROR = "internal-error", t.UNSUPPORTED_ENVIRONMENT = "unsupported-environment";
|
1575
|
-
})(
|
1576
|
-
function
|
1575
|
+
})(w || (w = {}));
|
1576
|
+
function De(t) {
|
1577
1577
|
return "storage/" + t;
|
1578
1578
|
}
|
1579
|
-
function
|
1579
|
+
function $e() {
|
1580
1580
|
const t = "An unknown error occurred, please check the error payload for server response.";
|
1581
|
-
return new
|
1581
|
+
return new v(w.UNKNOWN, t);
|
1582
1582
|
}
|
1583
|
-
function
|
1584
|
-
return new
|
1583
|
+
function yr(t) {
|
1584
|
+
return new v(w.OBJECT_NOT_FOUND, "Object '" + t + "' does not exist.");
|
1585
1585
|
}
|
1586
|
-
function
|
1587
|
-
return new
|
1586
|
+
function Tr(t) {
|
1587
|
+
return new v(w.QUOTA_EXCEEDED, "Quota for bucket '" + t + "' exceeded, please view quota on https://firebase.google.com/pricing/.");
|
1588
1588
|
}
|
1589
|
-
function
|
1589
|
+
function Rr() {
|
1590
1590
|
const t = "User is not authenticated, please authenticate using Firebase Authentication and try again.";
|
1591
|
-
return new
|
1591
|
+
return new v(w.UNAUTHENTICATED, t);
|
1592
1592
|
}
|
1593
|
-
function
|
1594
|
-
return new
|
1593
|
+
function wr() {
|
1594
|
+
return new v(w.UNAUTHORIZED_APP, "This app does not have permission to access Firebase Storage on this project.");
|
1595
1595
|
}
|
1596
|
-
function
|
1597
|
-
return new
|
1596
|
+
function vr(t) {
|
1597
|
+
return new v(w.UNAUTHORIZED, "User does not have permission to access '" + t + "'.");
|
1598
1598
|
}
|
1599
|
-
function
|
1600
|
-
return new
|
1599
|
+
function Ar() {
|
1600
|
+
return new v(w.RETRY_LIMIT_EXCEEDED, "Max retry time for operation exceeded, please try again.");
|
1601
1601
|
}
|
1602
|
-
function
|
1603
|
-
return new
|
1602
|
+
function Or() {
|
1603
|
+
return new v(w.CANCELED, "User canceled the upload/download.");
|
1604
1604
|
}
|
1605
|
-
function
|
1606
|
-
return new
|
1605
|
+
function Dr(t) {
|
1606
|
+
return new v(w.INVALID_URL, "Invalid URL '" + t + "'.");
|
1607
1607
|
}
|
1608
|
-
function
|
1609
|
-
return new
|
1608
|
+
function kr(t) {
|
1609
|
+
return new v(w.INVALID_DEFAULT_BUCKET, "Invalid default bucket '" + t + "'.");
|
1610
1610
|
}
|
1611
|
-
function
|
1612
|
-
return new
|
1611
|
+
function Nr() {
|
1612
|
+
return new v(w.NO_DEFAULT_BUCKET, "No default bucket found. Did you set the '" + Tt + "' property when initializing the app?");
|
1613
1613
|
}
|
1614
|
-
function
|
1615
|
-
return new
|
1614
|
+
function Sr() {
|
1615
|
+
return new v(w.CANNOT_SLICE_BLOB, "Cannot slice blob for upload. Please retry the upload.");
|
1616
1616
|
}
|
1617
|
-
function
|
1618
|
-
return new
|
1617
|
+
function Cr() {
|
1618
|
+
return new v(w.NO_DOWNLOAD_URL, "The given file does not have any download URLs.");
|
1619
1619
|
}
|
1620
|
-
function
|
1621
|
-
return new
|
1620
|
+
function Mr(t) {
|
1621
|
+
return new v(w.UNSUPPORTED_ENVIRONMENT, `${t} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`);
|
1622
1622
|
}
|
1623
|
-
function
|
1624
|
-
return new
|
1623
|
+
function Pe(t) {
|
1624
|
+
return new v(w.INVALID_ARGUMENT, t);
|
1625
1625
|
}
|
1626
|
-
function
|
1627
|
-
return new
|
1626
|
+
function Rt() {
|
1627
|
+
return new v(w.APP_DELETED, "The Firebase app was deleted.");
|
1628
1628
|
}
|
1629
|
-
function
|
1630
|
-
return new
|
1629
|
+
function Ur(t) {
|
1630
|
+
return new v(w.INVALID_ROOT_OPERATION, "The operation '" + t + "' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').");
|
1631
1631
|
}
|
1632
1632
|
function ce(t, e) {
|
1633
|
-
return new
|
1633
|
+
return new v(w.INVALID_FORMAT, "String does not match format '" + t + "': " + e);
|
1634
1634
|
}
|
1635
1635
|
function oe(t) {
|
1636
|
-
throw new
|
1636
|
+
throw new v(w.INTERNAL_ERROR, "Internal error: " + t);
|
1637
1637
|
}
|
1638
1638
|
/**
|
1639
1639
|
* @license
|
@@ -1651,7 +1651,7 @@ function oe(t) {
|
|
1651
1651
|
* See the License for the specific language governing permissions and
|
1652
1652
|
* limitations under the License.
|
1653
1653
|
*/
|
1654
|
-
class
|
1654
|
+
class B {
|
1655
1655
|
constructor(e, n) {
|
1656
1656
|
this.bucket = e, this.path_ = n;
|
1657
1657
|
}
|
@@ -1671,48 +1671,48 @@ class M {
|
|
1671
1671
|
static makeFromBucketSpec(e, n) {
|
1672
1672
|
let r;
|
1673
1673
|
try {
|
1674
|
-
r =
|
1674
|
+
r = B.makeFromUrl(e, n);
|
1675
1675
|
} catch {
|
1676
|
-
return new
|
1676
|
+
return new B(e, "");
|
1677
1677
|
}
|
1678
1678
|
if (r.path === "")
|
1679
1679
|
return r;
|
1680
|
-
throw
|
1680
|
+
throw kr(e);
|
1681
1681
|
}
|
1682
1682
|
static makeFromUrl(e, n) {
|
1683
1683
|
let r = null;
|
1684
1684
|
const s = "([A-Za-z0-9.\\-_]+)";
|
1685
|
-
function i(
|
1686
|
-
|
1685
|
+
function i(S) {
|
1686
|
+
S.path.charAt(S.path.length - 1) === "/" && (S.path_ = S.path_.slice(0, -1));
|
1687
1687
|
}
|
1688
1688
|
const o = "(/(.*))?$", a = new RegExp("^gs://" + s + o, "i"), u = { bucket: 1, path: 3 };
|
1689
|
-
function
|
1690
|
-
|
1689
|
+
function h(S) {
|
1690
|
+
S.path_ = decodeURIComponent(S.path);
|
1691
1691
|
}
|
1692
|
-
const
|
1692
|
+
const I = "v[A-Za-z0-9_]+", g = n.replace(/[.]/g, "\\."), T = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${g}/${I}/b/${s}/o${T}`, "i"), O = { bucket: 1, path: 3 }, j = n === yt ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, N = "([^?#]*)", G = new RegExp(`^https?://${j}/${s}/${N}`, "i"), U = [
|
1693
1693
|
{ regex: a, indices: u, postModify: i },
|
1694
1694
|
{
|
1695
|
-
regex:
|
1696
|
-
indices:
|
1697
|
-
postModify:
|
1695
|
+
regex: R,
|
1696
|
+
indices: O,
|
1697
|
+
postModify: h
|
1698
1698
|
},
|
1699
1699
|
{
|
1700
|
-
regex:
|
1700
|
+
regex: G,
|
1701
1701
|
indices: { bucket: 1, path: 2 },
|
1702
|
-
postModify:
|
1702
|
+
postModify: h
|
1703
1703
|
}
|
1704
1704
|
];
|
1705
|
-
for (let
|
1706
|
-
const
|
1705
|
+
for (let S = 0; S < U.length; S++) {
|
1706
|
+
const H = U[S], x = H.regex.exec(e);
|
1707
1707
|
if (x) {
|
1708
|
-
const
|
1709
|
-
let
|
1710
|
-
|
1708
|
+
const pe = x[H.indices.bucket];
|
1709
|
+
let J = x[H.indices.path];
|
1710
|
+
J || (J = ""), r = new B(pe, J), H.postModify(r);
|
1711
1711
|
break;
|
1712
1712
|
}
|
1713
1713
|
}
|
1714
1714
|
if (r == null)
|
1715
|
-
throw
|
1715
|
+
throw Dr(e);
|
1716
1716
|
return r;
|
1717
1717
|
}
|
1718
1718
|
}
|
@@ -1744,49 +1744,49 @@ class Lr {
|
|
1744
1744
|
* See the License for the specific language governing permissions and
|
1745
1745
|
* limitations under the License.
|
1746
1746
|
*/
|
1747
|
-
function
|
1747
|
+
function Br(t, e, n) {
|
1748
1748
|
let r = 1, s = null, i = null, o = !1, a = 0;
|
1749
1749
|
function u() {
|
1750
1750
|
return a === 2;
|
1751
1751
|
}
|
1752
|
-
let
|
1753
|
-
function
|
1754
|
-
|
1752
|
+
let h = !1;
|
1753
|
+
function I(...N) {
|
1754
|
+
h || (h = !0, e.apply(null, N));
|
1755
1755
|
}
|
1756
|
-
function g(
|
1756
|
+
function g(N) {
|
1757
1757
|
s = setTimeout(() => {
|
1758
|
-
s = null, t(
|
1759
|
-
},
|
1758
|
+
s = null, t(R, u());
|
1759
|
+
}, N);
|
1760
1760
|
}
|
1761
|
-
function
|
1761
|
+
function T() {
|
1762
1762
|
i && clearTimeout(i);
|
1763
1763
|
}
|
1764
|
-
function
|
1765
|
-
if (
|
1766
|
-
|
1764
|
+
function R(N, ...G) {
|
1765
|
+
if (h) {
|
1766
|
+
T();
|
1767
1767
|
return;
|
1768
1768
|
}
|
1769
|
-
if (
|
1770
|
-
|
1769
|
+
if (N) {
|
1770
|
+
T(), I.call(null, N, ...G);
|
1771
1771
|
return;
|
1772
1772
|
}
|
1773
1773
|
if (u() || o) {
|
1774
|
-
|
1774
|
+
T(), I.call(null, N, ...G);
|
1775
1775
|
return;
|
1776
1776
|
}
|
1777
1777
|
r < 64 && (r *= 2);
|
1778
|
-
let
|
1779
|
-
a === 1 ? (a = 2,
|
1778
|
+
let U;
|
1779
|
+
a === 1 ? (a = 2, U = 0) : U = (r + Math.random()) * 1e3, g(U);
|
1780
1780
|
}
|
1781
|
-
let
|
1782
|
-
function j(
|
1783
|
-
|
1781
|
+
let O = !1;
|
1782
|
+
function j(N) {
|
1783
|
+
O || (O = !0, T(), !h && (s !== null ? (N || (a = 2), clearTimeout(s), g(0)) : N || (a = 1)));
|
1784
1784
|
}
|
1785
1785
|
return g(0), i = setTimeout(() => {
|
1786
1786
|
o = !0, j(!0);
|
1787
1787
|
}, n), j;
|
1788
1788
|
}
|
1789
|
-
function
|
1789
|
+
function Pr(t) {
|
1790
1790
|
t(!1);
|
1791
1791
|
}
|
1792
1792
|
/**
|
@@ -1805,26 +1805,26 @@ function jr(t) {
|
|
1805
1805
|
* See the License for the specific language governing permissions and
|
1806
1806
|
* limitations under the License.
|
1807
1807
|
*/
|
1808
|
-
function
|
1808
|
+
function xr(t) {
|
1809
1809
|
return t !== void 0;
|
1810
1810
|
}
|
1811
|
-
function
|
1811
|
+
function Hr(t) {
|
1812
1812
|
return typeof t == "object" && !Array.isArray(t);
|
1813
1813
|
}
|
1814
|
-
function
|
1814
|
+
function je(t) {
|
1815
1815
|
return typeof t == "string" || t instanceof String;
|
1816
1816
|
}
|
1817
|
-
function
|
1818
|
-
return
|
1817
|
+
function rt(t) {
|
1818
|
+
return Fe() && t instanceof Blob;
|
1819
1819
|
}
|
1820
|
-
function
|
1820
|
+
function Fe() {
|
1821
1821
|
return typeof Blob < "u";
|
1822
1822
|
}
|
1823
|
-
function
|
1823
|
+
function st(t, e, n, r) {
|
1824
1824
|
if (r < e)
|
1825
|
-
throw
|
1825
|
+
throw Pe(`Invalid value for '${t}'. Expected ${e} or greater.`);
|
1826
1826
|
if (r > n)
|
1827
|
-
throw
|
1827
|
+
throw Pe(`Invalid value for '${t}'. Expected ${n} or less.`);
|
1828
1828
|
}
|
1829
1829
|
/**
|
1830
1830
|
* @license
|
@@ -1842,11 +1842,11 @@ function at(t, e, n, r) {
|
|
1842
1842
|
* See the License for the specific language governing permissions and
|
1843
1843
|
* limitations under the License.
|
1844
1844
|
*/
|
1845
|
-
function
|
1845
|
+
function Te(t, e, n) {
|
1846
1846
|
let r = e;
|
1847
1847
|
return n == null && (r = `https://${e}`), `${n}://${r}/v0${t}`;
|
1848
1848
|
}
|
1849
|
-
function
|
1849
|
+
function wt(t) {
|
1850
1850
|
const e = encodeURIComponent;
|
1851
1851
|
let n = "?";
|
1852
1852
|
for (const r in t)
|
@@ -1876,7 +1876,7 @@ var ee;
|
|
1876
1876
|
* See the License for the specific language governing permissions and
|
1877
1877
|
* limitations under the License.
|
1878
1878
|
*/
|
1879
|
-
function
|
1879
|
+
function $r(t, e) {
|
1880
1880
|
const n = t >= 500 && t < 600, s = [
|
1881
1881
|
// Request Timeout: web server didn't receive full request in time.
|
1882
1882
|
408,
|
@@ -1901,10 +1901,10 @@ function Wr(t, e) {
|
|
1901
1901
|
* See the License for the specific language governing permissions and
|
1902
1902
|
* limitations under the License.
|
1903
1903
|
*/
|
1904
|
-
class
|
1905
|
-
constructor(e, n, r, s, i, o, a, u,
|
1906
|
-
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = i, this.additionalRetryCodes_ = o, this.callback_ = a, this.errorCallback_ = u, this.timeout_ =
|
1907
|
-
this.resolve_ =
|
1904
|
+
class jr {
|
1905
|
+
constructor(e, n, r, s, i, o, a, u, h, I, g, T = !0) {
|
1906
|
+
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = i, this.additionalRetryCodes_ = o, this.callback_ = a, this.errorCallback_ = u, this.timeout_ = h, this.progressCallback_ = I, this.connectionFactory_ = g, this.retry = T, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((R, O) => {
|
1907
|
+
this.resolve_ = R, this.reject_ = O, this.start_();
|
1908
1908
|
});
|
1909
1909
|
}
|
1910
1910
|
/**
|
@@ -1913,47 +1913,47 @@ class zr {
|
|
1913
1913
|
start_() {
|
1914
1914
|
const e = (r, s) => {
|
1915
1915
|
if (s) {
|
1916
|
-
r(!1, new
|
1916
|
+
r(!1, new ge(!1, null, !0));
|
1917
1917
|
return;
|
1918
1918
|
}
|
1919
1919
|
const i = this.connectionFactory_();
|
1920
1920
|
this.pendingConnection_ = i;
|
1921
1921
|
const o = (a) => {
|
1922
|
-
const u = a.loaded,
|
1923
|
-
this.progressCallback_ !== null && this.progressCallback_(u,
|
1922
|
+
const u = a.loaded, h = a.lengthComputable ? a.total : -1;
|
1923
|
+
this.progressCallback_ !== null && this.progressCallback_(u, h);
|
1924
1924
|
};
|
1925
1925
|
this.progressCallback_ !== null && i.addUploadProgressListener(o), i.send(this.url_, this.method_, this.body_, this.headers_).then(() => {
|
1926
1926
|
this.progressCallback_ !== null && i.removeUploadProgressListener(o), this.pendingConnection_ = null;
|
1927
1927
|
const a = i.getErrorCode() === ee.NO_ERROR, u = i.getStatus();
|
1928
|
-
if (!a ||
|
1929
|
-
const
|
1930
|
-
r(!1, new
|
1928
|
+
if (!a || $r(u, this.additionalRetryCodes_) && this.retry) {
|
1929
|
+
const I = i.getErrorCode() === ee.ABORT;
|
1930
|
+
r(!1, new ge(!1, null, I));
|
1931
1931
|
return;
|
1932
1932
|
}
|
1933
|
-
const
|
1934
|
-
r(!0, new
|
1933
|
+
const h = this.successCodes_.indexOf(u) !== -1;
|
1934
|
+
r(!0, new ge(h, i));
|
1935
1935
|
});
|
1936
1936
|
}, n = (r, s) => {
|
1937
1937
|
const i = this.resolve_, o = this.reject_, a = s.connection;
|
1938
1938
|
if (s.wasSuccessCode)
|
1939
1939
|
try {
|
1940
1940
|
const u = this.callback_(a, a.getResponse());
|
1941
|
-
|
1941
|
+
xr(u) ? i(u) : i();
|
1942
1942
|
} catch (u) {
|
1943
1943
|
o(u);
|
1944
1944
|
}
|
1945
1945
|
else if (a !== null) {
|
1946
|
-
const u =
|
1946
|
+
const u = $e();
|
1947
1947
|
u.serverResponse = a.getErrorText(), this.errorCallback_ ? o(this.errorCallback_(a, u)) : o(u);
|
1948
1948
|
} else if (s.canceled) {
|
1949
|
-
const u = this.appDelete_ ?
|
1949
|
+
const u = this.appDelete_ ? Rt() : Or();
|
1950
1950
|
o(u);
|
1951
1951
|
} else {
|
1952
|
-
const u =
|
1952
|
+
const u = Ar();
|
1953
1953
|
o(u);
|
1954
1954
|
}
|
1955
1955
|
};
|
1956
|
-
this.canceled_ ? n(!1, new
|
1956
|
+
this.canceled_ ? n(!1, new ge(!1, null, !0)) : this.backoffId_ = Br(e, n, this.timeout_);
|
1957
1957
|
}
|
1958
1958
|
/** @inheritDoc */
|
1959
1959
|
getPromise() {
|
@@ -1961,29 +1961,29 @@ class zr {
|
|
1961
1961
|
}
|
1962
1962
|
/** @inheritDoc */
|
1963
1963
|
cancel(e) {
|
1964
|
-
this.canceled_ = !0, this.appDelete_ = e || !1, this.backoffId_ !== null &&
|
1964
|
+
this.canceled_ = !0, this.appDelete_ = e || !1, this.backoffId_ !== null && Pr(this.backoffId_), this.pendingConnection_ !== null && this.pendingConnection_.abort();
|
1965
1965
|
}
|
1966
1966
|
}
|
1967
|
-
class
|
1967
|
+
class ge {
|
1968
1968
|
constructor(e, n, r) {
|
1969
1969
|
this.wasSuccessCode = e, this.connection = n, this.canceled = !!r;
|
1970
1970
|
}
|
1971
1971
|
}
|
1972
|
-
function
|
1972
|
+
function Fr(t, e) {
|
1973
1973
|
e !== null && e.length > 0 && (t.Authorization = "Firebase " + e);
|
1974
1974
|
}
|
1975
|
-
function
|
1975
|
+
function Wr(t, e) {
|
1976
1976
|
t["X-Firebase-Storage-Version"] = "webjs/" + (e ?? "AppManager");
|
1977
1977
|
}
|
1978
|
-
function
|
1978
|
+
function Gr(t, e) {
|
1979
1979
|
e && (t["X-Firebase-GMPID"] = e);
|
1980
1980
|
}
|
1981
|
-
function
|
1981
|
+
function Vr(t, e) {
|
1982
1982
|
e !== null && (t["X-Firebase-AppCheck"] = e);
|
1983
1983
|
}
|
1984
|
-
function
|
1985
|
-
const a =
|
1986
|
-
return
|
1984
|
+
function Zr(t, e, n, r, s, i, o = !0) {
|
1985
|
+
const a = wt(t.urlParams), u = t.url + a, h = Object.assign({}, t.headers);
|
1986
|
+
return Gr(h, e), Fr(h, n), Wr(h, i), Vr(h, r), new jr(u, t.method, h, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, s, o);
|
1987
1987
|
}
|
1988
1988
|
/**
|
1989
1989
|
* @license
|
@@ -2001,23 +2001,23 @@ function qr(t, e, n, r, s, i, o = !0) {
|
|
2001
2001
|
* See the License for the specific language governing permissions and
|
2002
2002
|
* limitations under the License.
|
2003
2003
|
*/
|
2004
|
-
function
|
2004
|
+
function zr() {
|
2005
2005
|
return typeof BlobBuilder < "u" ? BlobBuilder : typeof WebKitBlobBuilder < "u" ? WebKitBlobBuilder : void 0;
|
2006
2006
|
}
|
2007
|
-
function
|
2008
|
-
const e =
|
2007
|
+
function Yr(...t) {
|
2008
|
+
const e = zr();
|
2009
2009
|
if (e !== void 0) {
|
2010
2010
|
const n = new e();
|
2011
2011
|
for (let r = 0; r < t.length; r++)
|
2012
2012
|
n.append(t[r]);
|
2013
2013
|
return n.getBlob();
|
2014
2014
|
} else {
|
2015
|
-
if (
|
2015
|
+
if (Fe())
|
2016
2016
|
return new Blob(t);
|
2017
|
-
throw new
|
2017
|
+
throw new v(w.UNSUPPORTED_ENVIRONMENT, "This browser doesn't seem to support creating Blobs");
|
2018
2018
|
}
|
2019
2019
|
}
|
2020
|
-
function
|
2020
|
+
function Xr(t, e, n) {
|
2021
2021
|
return t.webkitSlice ? t.webkitSlice(e, n) : t.mozSlice ? t.mozSlice(e, n) : t.slice ? t.slice(e, n) : null;
|
2022
2022
|
}
|
2023
2023
|
/**
|
@@ -2036,9 +2036,9 @@ function Qr(t, e, n) {
|
|
2036
2036
|
* See the License for the specific language governing permissions and
|
2037
2037
|
* limitations under the License.
|
2038
2038
|
*/
|
2039
|
-
function
|
2039
|
+
function Jr(t) {
|
2040
2040
|
if (typeof atob > "u")
|
2041
|
-
throw
|
2041
|
+
throw Mr("base-64");
|
2042
2042
|
return atob(t);
|
2043
2043
|
}
|
2044
2044
|
/**
|
@@ -2057,7 +2057,7 @@ function es(t) {
|
|
2057
2057
|
* See the License for the specific language governing permissions and
|
2058
2058
|
* limitations under the License.
|
2059
2059
|
*/
|
2060
|
-
const
|
2060
|
+
const $ = {
|
2061
2061
|
/**
|
2062
2062
|
* Indicates the string should be interpreted "raw", that is, as normal text.
|
2063
2063
|
* The string will be interpreted as UTF-16, then uploaded as a UTF-8 byte
|
@@ -2091,24 +2091,24 @@ const F = {
|
|
2091
2091
|
*/
|
2092
2092
|
DATA_URL: "data_url"
|
2093
2093
|
};
|
2094
|
-
class
|
2094
|
+
class ke {
|
2095
2095
|
constructor(e, n) {
|
2096
2096
|
this.data = e, this.contentType = n || null;
|
2097
2097
|
}
|
2098
2098
|
}
|
2099
|
-
function
|
2099
|
+
function Kr(t, e) {
|
2100
2100
|
switch (t) {
|
2101
|
-
case
|
2102
|
-
return new
|
2103
|
-
case
|
2104
|
-
case
|
2105
|
-
return new
|
2106
|
-
case
|
2107
|
-
return new
|
2101
|
+
case $.RAW:
|
2102
|
+
return new ke(vt(e));
|
2103
|
+
case $.BASE64:
|
2104
|
+
case $.BASE64URL:
|
2105
|
+
return new ke(At(t, e));
|
2106
|
+
case $.DATA_URL:
|
2107
|
+
return new ke(qr(e), es(e));
|
2108
2108
|
}
|
2109
|
-
throw
|
2109
|
+
throw $e();
|
2110
2110
|
}
|
2111
|
-
function
|
2111
|
+
function vt(t) {
|
2112
2112
|
const e = [];
|
2113
2113
|
for (let n = 0; n < t.length; n++) {
|
2114
2114
|
let r = t.charCodeAt(n);
|
@@ -2128,24 +2128,24 @@ function Rt(t) {
|
|
2128
2128
|
}
|
2129
2129
|
return new Uint8Array(e);
|
2130
2130
|
}
|
2131
|
-
function
|
2131
|
+
function Qr(t) {
|
2132
2132
|
let e;
|
2133
2133
|
try {
|
2134
2134
|
e = decodeURIComponent(t);
|
2135
2135
|
} catch {
|
2136
|
-
throw ce(
|
2136
|
+
throw ce($.DATA_URL, "Malformed data URL.");
|
2137
2137
|
}
|
2138
|
-
return
|
2138
|
+
return vt(e);
|
2139
2139
|
}
|
2140
|
-
function
|
2140
|
+
function At(t, e) {
|
2141
2141
|
switch (t) {
|
2142
|
-
case
|
2142
|
+
case $.BASE64: {
|
2143
2143
|
const s = e.indexOf("-") !== -1, i = e.indexOf("_") !== -1;
|
2144
2144
|
if (s || i)
|
2145
2145
|
throw ce(t, "Invalid character '" + (s ? "-" : "_") + "' found: is it base64url encoded?");
|
2146
2146
|
break;
|
2147
2147
|
}
|
2148
|
-
case
|
2148
|
+
case $.BASE64URL: {
|
2149
2149
|
const s = e.indexOf("+") !== -1, i = e.indexOf("/") !== -1;
|
2150
2150
|
if (s || i)
|
2151
2151
|
throw ce(t, "Invalid character '" + (s ? "+" : "/") + "' found: is it base64 encoded?");
|
@@ -2155,7 +2155,7 @@ function kt(t, e) {
|
|
2155
2155
|
}
|
2156
2156
|
let n;
|
2157
2157
|
try {
|
2158
|
-
n =
|
2158
|
+
n = Jr(e);
|
2159
2159
|
} catch (s) {
|
2160
2160
|
throw s.message.includes("polyfill") ? s : ce(t, "Invalid character found");
|
2161
2161
|
}
|
@@ -2169,19 +2169,19 @@ class Ot {
|
|
2169
2169
|
this.base64 = !1, this.contentType = null;
|
2170
2170
|
const n = e.match(/^data:([^,]+)?,/);
|
2171
2171
|
if (n === null)
|
2172
|
-
throw ce(
|
2172
|
+
throw ce($.DATA_URL, "Must be formatted 'data:[<mediatype>][;base64],<data>");
|
2173
2173
|
const r = n[1] || null;
|
2174
|
-
r != null && (this.base64 =
|
2174
|
+
r != null && (this.base64 = ts(r, ";base64"), this.contentType = this.base64 ? r.substring(0, r.length - 7) : r), this.rest = e.substring(e.indexOf(",") + 1);
|
2175
2175
|
}
|
2176
2176
|
}
|
2177
|
-
function
|
2177
|
+
function qr(t) {
|
2178
2178
|
const e = new Ot(t);
|
2179
|
-
return e.base64 ?
|
2179
|
+
return e.base64 ? At($.BASE64, e.rest) : Qr(e.rest);
|
2180
2180
|
}
|
2181
|
-
function
|
2181
|
+
function es(t) {
|
2182
2182
|
return new Ot(t).contentType;
|
2183
2183
|
}
|
2184
|
-
function
|
2184
|
+
function ts(t, e) {
|
2185
2185
|
return t.length >= e.length ? t.substring(t.length - e.length) === e : !1;
|
2186
2186
|
}
|
2187
2187
|
/**
|
@@ -2200,10 +2200,10 @@ function is(t, e) {
|
|
2200
2200
|
* See the License for the specific language governing permissions and
|
2201
2201
|
* limitations under the License.
|
2202
2202
|
*/
|
2203
|
-
class
|
2203
|
+
class Z {
|
2204
2204
|
constructor(e, n) {
|
2205
2205
|
let r = 0, s = "";
|
2206
|
-
|
2206
|
+
rt(e) ? (this.data_ = e, r = e.size, s = e.type) : e instanceof ArrayBuffer ? (n ? this.data_ = new Uint8Array(e) : (this.data_ = new Uint8Array(e.byteLength), this.data_.set(new Uint8Array(e))), r = this.data_.length) : e instanceof Uint8Array && (n ? this.data_ = e : (this.data_ = new Uint8Array(e.length), this.data_.set(e)), r = e.length), this.size_ = r, this.type_ = s;
|
2207
2207
|
}
|
2208
2208
|
size() {
|
2209
2209
|
return this.size_;
|
@@ -2212,20 +2212,20 @@ class G {
|
|
2212
2212
|
return this.type_;
|
2213
2213
|
}
|
2214
2214
|
slice(e, n) {
|
2215
|
-
if (
|
2216
|
-
const r = this.data_, s =
|
2217
|
-
return s === null ? null : new
|
2215
|
+
if (rt(this.data_)) {
|
2216
|
+
const r = this.data_, s = Xr(r, e, n);
|
2217
|
+
return s === null ? null : new Z(s);
|
2218
2218
|
} else {
|
2219
2219
|
const r = new Uint8Array(this.data_.buffer, e, n - e);
|
2220
|
-
return new
|
2220
|
+
return new Z(r, !0);
|
2221
2221
|
}
|
2222
2222
|
}
|
2223
2223
|
static getBlob(...e) {
|
2224
|
-
if (
|
2225
|
-
const n = e.map((r) => r instanceof
|
2226
|
-
return new
|
2224
|
+
if (Fe()) {
|
2225
|
+
const n = e.map((r) => r instanceof Z ? r.data_ : r);
|
2226
|
+
return new Z(Yr.apply(null, n));
|
2227
2227
|
} else {
|
2228
|
-
const n = e.map((o) =>
|
2228
|
+
const n = e.map((o) => je(o) ? Kr($.RAW, o).data : o.data_);
|
2229
2229
|
let r = 0;
|
2230
2230
|
n.forEach((o) => {
|
2231
2231
|
r += o.byteLength;
|
@@ -2235,7 +2235,7 @@ class G {
|
|
2235
2235
|
return n.forEach((o) => {
|
2236
2236
|
for (let a = 0; a < o.length; a++)
|
2237
2237
|
s[i++] = o[a];
|
2238
|
-
}), new
|
2238
|
+
}), new Z(s, !0);
|
2239
2239
|
}
|
2240
2240
|
}
|
2241
2241
|
uploadData() {
|
@@ -2258,14 +2258,14 @@ class G {
|
|
2258
2258
|
* See the License for the specific language governing permissions and
|
2259
2259
|
* limitations under the License.
|
2260
2260
|
*/
|
2261
|
-
function
|
2261
|
+
function Dt(t) {
|
2262
2262
|
let e;
|
2263
2263
|
try {
|
2264
2264
|
e = JSON.parse(t);
|
2265
2265
|
} catch {
|
2266
2266
|
return null;
|
2267
2267
|
}
|
2268
|
-
return
|
2268
|
+
return Hr(e) ? e : null;
|
2269
2269
|
}
|
2270
2270
|
/**
|
2271
2271
|
* @license
|
@@ -2283,17 +2283,17 @@ function Ct(t) {
|
|
2283
2283
|
* See the License for the specific language governing permissions and
|
2284
2284
|
* limitations under the License.
|
2285
2285
|
*/
|
2286
|
-
function
|
2286
|
+
function ns(t) {
|
2287
2287
|
if (t.length === 0)
|
2288
2288
|
return null;
|
2289
2289
|
const e = t.lastIndexOf("/");
|
2290
2290
|
return e === -1 ? "" : t.slice(0, e);
|
2291
2291
|
}
|
2292
|
-
function
|
2292
|
+
function rs(t, e) {
|
2293
2293
|
const n = e.split("/").filter((r) => r.length > 0).join("/");
|
2294
2294
|
return t.length === 0 ? n : t + "/" + n;
|
2295
2295
|
}
|
2296
|
-
function
|
2296
|
+
function kt(t) {
|
2297
2297
|
const e = t.lastIndexOf("/", t.length - 2);
|
2298
2298
|
return e === -1 ? t : t.slice(e + 1);
|
2299
2299
|
}
|
@@ -2313,42 +2313,42 @@ function Nt(t) {
|
|
2313
2313
|
* See the License for the specific language governing permissions and
|
2314
2314
|
* limitations under the License.
|
2315
2315
|
*/
|
2316
|
-
function
|
2316
|
+
function ss(t, e) {
|
2317
2317
|
return e;
|
2318
2318
|
}
|
2319
|
-
class
|
2319
|
+
class M {
|
2320
2320
|
constructor(e, n, r, s) {
|
2321
|
-
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s ||
|
2321
|
+
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s || ss;
|
2322
2322
|
}
|
2323
2323
|
}
|
2324
|
-
let
|
2325
|
-
function
|
2326
|
-
return !
|
2324
|
+
let be = null;
|
2325
|
+
function is(t) {
|
2326
|
+
return !je(t) || t.length < 2 ? t : kt(t);
|
2327
2327
|
}
|
2328
|
-
function
|
2329
|
-
if (
|
2330
|
-
return
|
2328
|
+
function Nt() {
|
2329
|
+
if (be)
|
2330
|
+
return be;
|
2331
2331
|
const t = [];
|
2332
|
-
t.push(new
|
2332
|
+
t.push(new M("bucket")), t.push(new M("generation")), t.push(new M("metageneration")), t.push(new M("name", "fullPath", !0));
|
2333
2333
|
function e(i, o) {
|
2334
|
-
return
|
2334
|
+
return is(o);
|
2335
2335
|
}
|
2336
|
-
const n = new
|
2336
|
+
const n = new M("name");
|
2337
2337
|
n.xform = e, t.push(n);
|
2338
2338
|
function r(i, o) {
|
2339
2339
|
return o !== void 0 ? Number(o) : o;
|
2340
2340
|
}
|
2341
|
-
const s = new
|
2342
|
-
return s.xform = r, t.push(s), t.push(new
|
2341
|
+
const s = new M("size");
|
2342
|
+
return s.xform = r, t.push(s), t.push(new M("timeCreated")), t.push(new M("updated")), t.push(new M("md5Hash", null, !0)), t.push(new M("cacheControl", null, !0)), t.push(new M("contentDisposition", null, !0)), t.push(new M("contentEncoding", null, !0)), t.push(new M("contentLanguage", null, !0)), t.push(new M("contentType", null, !0)), t.push(new M("metadata", "customMetadata", !0)), be = t, be;
|
2343
2343
|
}
|
2344
|
-
function
|
2344
|
+
function os(t, e) {
|
2345
2345
|
function n() {
|
2346
|
-
const r = t.bucket, s = t.fullPath, i = new
|
2346
|
+
const r = t.bucket, s = t.fullPath, i = new B(r, s);
|
2347
2347
|
return e._makeStorageReference(i);
|
2348
2348
|
}
|
2349
2349
|
Object.defineProperty(t, "ref", { get: n });
|
2350
2350
|
}
|
2351
|
-
function
|
2351
|
+
function as(t, e, n) {
|
2352
2352
|
const r = {};
|
2353
2353
|
r.type = "file";
|
2354
2354
|
const s = n.length;
|
@@ -2356,29 +2356,29 @@ function ds(t, e, n) {
|
|
2356
2356
|
const o = n[i];
|
2357
2357
|
r[o.local] = o.xform(r, e[o.server]);
|
2358
2358
|
}
|
2359
|
-
return
|
2359
|
+
return os(r, t), r;
|
2360
2360
|
}
|
2361
|
-
function
|
2362
|
-
const r =
|
2363
|
-
return r === null ? null :
|
2361
|
+
function St(t, e, n) {
|
2362
|
+
const r = Dt(e);
|
2363
|
+
return r === null ? null : as(t, r, n);
|
2364
2364
|
}
|
2365
|
-
function
|
2366
|
-
const s =
|
2367
|
-
if (s === null || !
|
2365
|
+
function cs(t, e, n, r) {
|
2366
|
+
const s = Dt(e);
|
2367
|
+
if (s === null || !je(s.downloadTokens))
|
2368
2368
|
return null;
|
2369
2369
|
const i = s.downloadTokens;
|
2370
2370
|
if (i.length === 0)
|
2371
2371
|
return null;
|
2372
2372
|
const o = encodeURIComponent;
|
2373
|
-
return i.split(",").map((
|
2374
|
-
const
|
2373
|
+
return i.split(",").map((h) => {
|
2374
|
+
const I = t.bucket, g = t.fullPath, T = "/b/" + o(I) + "/o/" + o(g), R = Te(T, n, r), O = wt({
|
2375
2375
|
alt: "media",
|
2376
|
-
token:
|
2376
|
+
token: h
|
2377
2377
|
});
|
2378
|
-
return
|
2378
|
+
return R + O;
|
2379
2379
|
})[0];
|
2380
2380
|
}
|
2381
|
-
function
|
2381
|
+
function us(t, e) {
|
2382
2382
|
const n = {}, r = e.length;
|
2383
2383
|
for (let s = 0; s < r; s++) {
|
2384
2384
|
const i = e[s];
|
@@ -2386,7 +2386,7 @@ function hs(t, e) {
|
|
2386
2386
|
}
|
2387
2387
|
return JSON.stringify(n);
|
2388
2388
|
}
|
2389
|
-
class
|
2389
|
+
class We {
|
2390
2390
|
constructor(e, n, r, s) {
|
2391
2391
|
this.url = e, this.method = n, this.handler = r, this.timeout = s, this.urlParams = {}, this.headers = {}, this.body = null, this.errorHandler = null, this.progressCallback = null, this.successCodes = [200], this.additionalRetryCodes = [];
|
2392
2392
|
}
|
@@ -2407,28 +2407,28 @@ class ze {
|
|
2407
2407
|
* See the License for the specific language governing permissions and
|
2408
2408
|
* limitations under the License.
|
2409
2409
|
*/
|
2410
|
-
function
|
2410
|
+
function Ct(t) {
|
2411
2411
|
if (!t)
|
2412
|
-
throw
|
2412
|
+
throw $e();
|
2413
2413
|
}
|
2414
|
-
function
|
2414
|
+
function ls(t, e) {
|
2415
2415
|
function n(r, s) {
|
2416
|
-
const i =
|
2417
|
-
return
|
2416
|
+
const i = St(t, s, e);
|
2417
|
+
return Ct(i !== null), i;
|
2418
2418
|
}
|
2419
2419
|
return n;
|
2420
2420
|
}
|
2421
|
-
function
|
2421
|
+
function ds(t, e) {
|
2422
2422
|
function n(r, s) {
|
2423
|
-
const i =
|
2424
|
-
return
|
2423
|
+
const i = St(t, s, e);
|
2424
|
+
return Ct(i !== null), cs(i, s, t.host, t._protocol);
|
2425
2425
|
}
|
2426
2426
|
return n;
|
2427
2427
|
}
|
2428
2428
|
function Mt(t) {
|
2429
2429
|
function e(n, r) {
|
2430
2430
|
let s;
|
2431
|
-
return n.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ n.getErrorText().includes("Firebase App Check token is invalid") ? s =
|
2431
|
+
return n.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ n.getErrorText().includes("Firebase App Check token is invalid") ? s = wr() : s = Rr() : n.getStatus() === 402 ? s = Tr(t.bucket) : n.getStatus() === 403 ? s = vr(t.path) : s = r, s.status = n.getStatus(), s.serverResponse = r.serverResponse, s;
|
2432
2432
|
}
|
2433
2433
|
return e;
|
2434
2434
|
}
|
@@ -2436,55 +2436,55 @@ function Ut(t) {
|
|
2436
2436
|
const e = Mt(t);
|
2437
2437
|
function n(r, s) {
|
2438
2438
|
let i = e(r, s);
|
2439
|
-
return r.getStatus() === 404 && (i =
|
2439
|
+
return r.getStatus() === 404 && (i = yr(t.path)), i.serverResponse = s.serverResponse, i;
|
2440
2440
|
}
|
2441
2441
|
return n;
|
2442
2442
|
}
|
2443
|
-
function
|
2444
|
-
const r = e.fullServerUrl(), s =
|
2443
|
+
function hs(t, e, n) {
|
2444
|
+
const r = e.fullServerUrl(), s = Te(r, t.host, t._protocol), i = "GET", o = t.maxOperationRetryTime, a = new We(s, i, ds(t, n), o);
|
2445
2445
|
return a.errorHandler = Ut(e), a;
|
2446
2446
|
}
|
2447
|
-
function
|
2448
|
-
const n = e.fullServerUrl(), r =
|
2449
|
-
function o(u,
|
2447
|
+
function ps(t, e) {
|
2448
|
+
const n = e.fullServerUrl(), r = Te(n, t.host, t._protocol), s = "DELETE", i = t.maxOperationRetryTime;
|
2449
|
+
function o(u, h) {
|
2450
2450
|
}
|
2451
|
-
const a = new
|
2451
|
+
const a = new We(r, s, o, i);
|
2452
2452
|
return a.successCodes = [200, 204], a.errorHandler = Ut(e), a;
|
2453
2453
|
}
|
2454
|
-
function
|
2454
|
+
function _s(t, e) {
|
2455
2455
|
return t && t.contentType || e && e.type() || "application/octet-stream";
|
2456
2456
|
}
|
2457
|
-
function
|
2457
|
+
function fs(t, e, n) {
|
2458
2458
|
const r = Object.assign({}, n);
|
2459
|
-
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType =
|
2459
|
+
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType = _s(null, e)), r;
|
2460
2460
|
}
|
2461
|
-
function
|
2461
|
+
function ms(t, e, n, r, s) {
|
2462
2462
|
const i = e.bucketOnlyServerUrl(), o = {
|
2463
2463
|
"X-Goog-Upload-Protocol": "multipart"
|
2464
2464
|
};
|
2465
2465
|
function a() {
|
2466
|
-
let
|
2467
|
-
for (let
|
2468
|
-
|
2469
|
-
return
|
2466
|
+
let U = "";
|
2467
|
+
for (let S = 0; S < 2; S++)
|
2468
|
+
U = U + Math.random().toString().slice(2);
|
2469
|
+
return U;
|
2470
2470
|
}
|
2471
2471
|
const u = a();
|
2472
2472
|
o["Content-Type"] = "multipart/related; boundary=" + u;
|
2473
|
-
const
|
2473
|
+
const h = fs(e, r, s), I = us(h, n), g = "--" + u + `\r
|
2474
2474
|
Content-Type: application/json; charset=utf-8\r
|
2475
2475
|
\r
|
2476
|
-
` +
|
2476
|
+
` + I + `\r
|
2477
2477
|
--` + u + `\r
|
2478
|
-
Content-Type: ` +
|
2478
|
+
Content-Type: ` + h.contentType + `\r
|
2479
2479
|
\r
|
2480
|
-
`,
|
2481
|
-
--` + u + "--",
|
2482
|
-
if (
|
2483
|
-
throw
|
2484
|
-
const
|
2485
|
-
return
|
2486
|
-
}
|
2487
|
-
class
|
2480
|
+
`, T = `\r
|
2481
|
+
--` + u + "--", R = Z.getBlob(g, r, T);
|
2482
|
+
if (R === null)
|
2483
|
+
throw Sr();
|
2484
|
+
const O = { name: h.fullPath }, j = Te(i, t.host, t._protocol), N = "POST", G = t.maxUploadRetryTime, F = new We(j, N, ls(t, n), G);
|
2485
|
+
return F.urlParams = O, F.headers = o, F.body = R.uploadData(), F.errorHandler = Mt(e), F;
|
2486
|
+
}
|
2487
|
+
class gs {
|
2488
2488
|
constructor() {
|
2489
2489
|
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ = ee.NO_ERROR, this.sendPromise_ = new Promise((e) => {
|
2490
2490
|
this.xhr_.addEventListener("abort", () => {
|
@@ -2542,13 +2542,13 @@ class vs {
|
|
2542
2542
|
this.xhr_.upload != null && this.xhr_.upload.removeEventListener("progress", e);
|
2543
2543
|
}
|
2544
2544
|
}
|
2545
|
-
class
|
2545
|
+
class bs extends gs {
|
2546
2546
|
initXhr() {
|
2547
2547
|
this.xhr_.responseType = "text";
|
2548
2548
|
}
|
2549
2549
|
}
|
2550
2550
|
function Ge() {
|
2551
|
-
return new
|
2551
|
+
return new bs();
|
2552
2552
|
}
|
2553
2553
|
/**
|
2554
2554
|
* @license
|
@@ -2568,7 +2568,7 @@ function Ge() {
|
|
2568
2568
|
*/
|
2569
2569
|
class te {
|
2570
2570
|
constructor(e, n) {
|
2571
|
-
this._service = e, n instanceof
|
2571
|
+
this._service = e, n instanceof B ? this._location = n : this._location = B.makeFromUrl(n, e.host);
|
2572
2572
|
}
|
2573
2573
|
/**
|
2574
2574
|
* Returns the URL for the bucket and path this object references,
|
@@ -2585,7 +2585,7 @@ class te {
|
|
2585
2585
|
* A reference to the root of this object's bucket.
|
2586
2586
|
*/
|
2587
2587
|
get root() {
|
2588
|
-
const e = new
|
2588
|
+
const e = new B(this._location.bucket, "");
|
2589
2589
|
return this._newRef(this._service, e);
|
2590
2590
|
}
|
2591
2591
|
/**
|
@@ -2605,7 +2605,7 @@ class te {
|
|
2605
2605
|
* For example, if fullPath is 'full/path/image.png', name is 'image.png'.
|
2606
2606
|
*/
|
2607
2607
|
get name() {
|
2608
|
-
return
|
2608
|
+
return kt(this._location.path);
|
2609
2609
|
}
|
2610
2610
|
/**
|
2611
2611
|
* The `StorageService` instance this `StorageReference` is associated with.
|
@@ -2618,10 +2618,10 @@ class te {
|
|
2618
2618
|
* this reference is the root.
|
2619
2619
|
*/
|
2620
2620
|
get parent() {
|
2621
|
-
const e =
|
2621
|
+
const e = ns(this._location.path);
|
2622
2622
|
if (e === null)
|
2623
2623
|
return null;
|
2624
|
-
const n = new
|
2624
|
+
const n = new B(this._location.bucket, e);
|
2625
2625
|
return new te(this._service, n);
|
2626
2626
|
}
|
2627
2627
|
/**
|
@@ -2629,33 +2629,33 @@ class te {
|
|
2629
2629
|
*/
|
2630
2630
|
_throwIfRoot(e) {
|
2631
2631
|
if (this._location.path === "")
|
2632
|
-
throw
|
2632
|
+
throw Ur(e);
|
2633
2633
|
}
|
2634
2634
|
}
|
2635
|
-
function
|
2635
|
+
function Es(t, e, n) {
|
2636
2636
|
t._throwIfRoot("uploadBytes");
|
2637
|
-
const r =
|
2637
|
+
const r = ms(t.storage, t._location, Nt(), new Z(e, !0), n);
|
2638
2638
|
return t.storage.makeRequestWithTokens(r, Ge).then((s) => ({
|
2639
2639
|
metadata: s,
|
2640
2640
|
ref: t
|
2641
2641
|
}));
|
2642
2642
|
}
|
2643
|
-
function
|
2643
|
+
function Is(t) {
|
2644
2644
|
t._throwIfRoot("getDownloadURL");
|
2645
|
-
const e =
|
2645
|
+
const e = hs(t.storage, t._location, Nt());
|
2646
2646
|
return t.storage.makeRequestWithTokens(e, Ge).then((n) => {
|
2647
2647
|
if (n === null)
|
2648
|
-
throw
|
2648
|
+
throw Cr();
|
2649
2649
|
return n;
|
2650
2650
|
});
|
2651
2651
|
}
|
2652
|
-
function
|
2652
|
+
function ys(t) {
|
2653
2653
|
t._throwIfRoot("deleteObject");
|
2654
|
-
const e =
|
2654
|
+
const e = ps(t.storage, t._location);
|
2655
2655
|
return t.storage.makeRequestWithTokens(e, Ge);
|
2656
2656
|
}
|
2657
|
-
function
|
2658
|
-
const n =
|
2657
|
+
function Ts(t, e) {
|
2658
|
+
const n = rs(t._location.path, e), r = new B(t._location.bucket, n);
|
2659
2659
|
return new te(t.storage, r);
|
2660
2660
|
}
|
2661
2661
|
/**
|
@@ -2674,42 +2674,42 @@ function Is(t, e) {
|
|
2674
2674
|
* See the License for the specific language governing permissions and
|
2675
2675
|
* limitations under the License.
|
2676
2676
|
*/
|
2677
|
-
function
|
2677
|
+
function Rs(t) {
|
2678
2678
|
return /^[A-Za-z]+:\/\//.test(t);
|
2679
2679
|
}
|
2680
|
-
function
|
2680
|
+
function ws(t, e) {
|
2681
2681
|
return new te(t, e);
|
2682
2682
|
}
|
2683
|
-
function
|
2684
|
-
if (t instanceof
|
2683
|
+
function Lt(t, e) {
|
2684
|
+
if (t instanceof Ve) {
|
2685
2685
|
const n = t;
|
2686
2686
|
if (n._bucket == null)
|
2687
|
-
throw
|
2687
|
+
throw Nr();
|
2688
2688
|
const r = new te(n, n._bucket);
|
2689
|
-
return e != null ?
|
2689
|
+
return e != null ? Lt(r, e) : r;
|
2690
2690
|
} else
|
2691
|
-
return e !== void 0 ?
|
2691
|
+
return e !== void 0 ? Ts(t, e) : t;
|
2692
2692
|
}
|
2693
|
-
function
|
2694
|
-
if (e &&
|
2695
|
-
if (t instanceof
|
2696
|
-
return
|
2697
|
-
throw
|
2693
|
+
function vs(t, e) {
|
2694
|
+
if (e && Rs(e)) {
|
2695
|
+
if (t instanceof Ve)
|
2696
|
+
return ws(t, e);
|
2697
|
+
throw Pe("To use ref(service, url), the first argument must be a Storage instance.");
|
2698
2698
|
} else
|
2699
|
-
return
|
2699
|
+
return Lt(t, e);
|
2700
2700
|
}
|
2701
|
-
function
|
2702
|
-
const n = e == null ? void 0 : e[
|
2703
|
-
return n == null ? null :
|
2701
|
+
function it(t, e) {
|
2702
|
+
const n = e == null ? void 0 : e[Tt];
|
2703
|
+
return n == null ? null : B.makeFromBucketSpec(n, t);
|
2704
2704
|
}
|
2705
|
-
function
|
2705
|
+
function As(t, e, n, r = {}) {
|
2706
2706
|
t.host = `${e}:${n}`, t._protocol = "http";
|
2707
2707
|
const { mockUserToken: s } = r;
|
2708
|
-
s && (t._overrideAuthToken = typeof s == "string" ? s :
|
2708
|
+
s && (t._overrideAuthToken = typeof s == "string" ? s : en(s, t.app.options.projectId));
|
2709
2709
|
}
|
2710
|
-
class
|
2710
|
+
class Ve {
|
2711
2711
|
constructor(e, n, r, s, i) {
|
2712
|
-
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = i, this._bucket = null, this._host =
|
2712
|
+
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = i, this._bucket = null, this._host = yt, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Er, this._maxUploadRetryTime = Ir, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket = B.makeFromBucketSpec(s, this._host) : this._bucket = it(this._host, this.app.options);
|
2713
2713
|
}
|
2714
2714
|
/**
|
2715
2715
|
* The host string for this service, in the form of `host` or
|
@@ -2719,7 +2719,7 @@ class Ye {
|
|
2719
2719
|
return this._host;
|
2720
2720
|
}
|
2721
2721
|
set host(e) {
|
2722
|
-
this._host = e, this._url != null ? this._bucket =
|
2722
|
+
this._host = e, this._url != null ? this._bucket = B.makeFromBucketSpec(this._url, e) : this._bucket = it(e, this.app.options);
|
2723
2723
|
}
|
2724
2724
|
/**
|
2725
2725
|
* The maximum time to retry uploads in milliseconds.
|
@@ -2728,7 +2728,7 @@ class Ye {
|
|
2728
2728
|
return this._maxUploadRetryTime;
|
2729
2729
|
}
|
2730
2730
|
set maxUploadRetryTime(e) {
|
2731
|
-
|
2731
|
+
st(
|
2732
2732
|
"time",
|
2733
2733
|
/* minValue=*/
|
2734
2734
|
0,
|
@@ -2745,7 +2745,7 @@ class Ye {
|
|
2745
2745
|
return this._maxOperationRetryTime;
|
2746
2746
|
}
|
2747
2747
|
set maxOperationRetryTime(e) {
|
2748
|
-
|
2748
|
+
st(
|
2749
2749
|
"time",
|
2750
2750
|
/* minValue=*/
|
2751
2751
|
0,
|
@@ -2788,9 +2788,9 @@ class Ye {
|
|
2788
2788
|
*/
|
2789
2789
|
_makeRequest(e, n, r, s, i = !0) {
|
2790
2790
|
if (this._deleted)
|
2791
|
-
return new Lr(
|
2791
|
+
return new Lr(Rt());
|
2792
2792
|
{
|
2793
|
-
const o =
|
2793
|
+
const o = Zr(e, this._appId, r, s, n, this._firebaseVersion, i);
|
2794
2794
|
return this._requests.add(o), o.getPromise().then(() => this._requests.delete(o), () => this._requests.delete(o)), o;
|
2795
2795
|
}
|
2796
2796
|
}
|
@@ -2802,7 +2802,7 @@ class Ye {
|
|
2802
2802
|
return this._makeRequest(e, n, r, s).getPromise();
|
2803
2803
|
}
|
2804
2804
|
}
|
2805
|
-
const
|
2805
|
+
const ot = "@firebase/storage", at = "0.13.2";
|
2806
2806
|
/**
|
2807
2807
|
* @license
|
2808
2808
|
* Copyright 2020 Google LLC
|
@@ -2819,117 +2819,117 @@ const ut = "@firebase/storage", lt = "0.13.2";
|
|
2819
2819
|
* See the License for the specific language governing permissions and
|
2820
2820
|
* limitations under the License.
|
2821
2821
|
*/
|
2822
|
-
const
|
2823
|
-
function
|
2824
|
-
return t =
|
2822
|
+
const Bt = "storage";
|
2823
|
+
function Os(t, e, n) {
|
2824
|
+
return t = he(t), Es(t, e, n);
|
2825
2825
|
}
|
2826
|
-
function
|
2827
|
-
return t =
|
2826
|
+
function Ds(t) {
|
2827
|
+
return t = he(t), Is(t);
|
2828
2828
|
}
|
2829
|
-
function
|
2830
|
-
return t =
|
2829
|
+
function ks(t) {
|
2830
|
+
return t = he(t), ys(t);
|
2831
2831
|
}
|
2832
|
-
function
|
2833
|
-
return t =
|
2832
|
+
function ct(t, e) {
|
2833
|
+
return t = he(t), vs(t, e);
|
2834
2834
|
}
|
2835
|
-
function
|
2836
|
-
t =
|
2837
|
-
const r =
|
2835
|
+
function ut(t = ur(), e) {
|
2836
|
+
t = he(t);
|
2837
|
+
const r = sr(t, Bt).getImmediate({
|
2838
2838
|
identifier: e
|
2839
|
-
}), s =
|
2840
|
-
return s &&
|
2839
|
+
}), s = Qt("storage");
|
2840
|
+
return s && Ns(r, ...s), r;
|
2841
2841
|
}
|
2842
|
-
function
|
2843
|
-
|
2842
|
+
function Ns(t, e, n, r = {}) {
|
2843
|
+
As(t, e, n, r);
|
2844
2844
|
}
|
2845
|
-
function
|
2845
|
+
function Ss(t, { instanceIdentifier: e }) {
|
2846
2846
|
const n = t.getProvider("app").getImmediate(), r = t.getProvider("auth-internal"), s = t.getProvider("app-check-internal");
|
2847
|
-
return new
|
2847
|
+
return new Ve(n, r, s, e, ar);
|
2848
2848
|
}
|
2849
|
-
function
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2849
|
+
function Cs() {
|
2850
|
+
ye(new ue(
|
2851
|
+
Bt,
|
2852
|
+
Ss,
|
2853
2853
|
"PUBLIC"
|
2854
2854
|
/* ComponentType.PUBLIC */
|
2855
|
-
).setMultipleInstances(!0)), ae(
|
2855
|
+
).setMultipleInstances(!0)), ae(ot, at, ""), ae(ot, at, "esm2017");
|
2856
2856
|
}
|
2857
|
-
|
2857
|
+
Cs();
|
2858
2858
|
const de = {
|
2859
2859
|
async update(t, e, n) {
|
2860
|
-
const r =
|
2861
|
-
return await
|
2860
|
+
const r = ut(void 0, n), s = ct(r, t);
|
2861
|
+
return await Os(s, e), Ds(s);
|
2862
2862
|
},
|
2863
2863
|
async delete(t, e) {
|
2864
|
-
const n =
|
2865
|
-
await
|
2864
|
+
const n = ut(void 0, e), r = ct(n, t);
|
2865
|
+
await ks(r);
|
2866
2866
|
}
|
2867
2867
|
};
|
2868
|
-
var
|
2868
|
+
var Pt = { exports: {} };
|
2869
2869
|
(function(t, e) {
|
2870
2870
|
(function(n, r) {
|
2871
2871
|
t.exports = r();
|
2872
|
-
})(
|
2873
|
-
var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour",
|
2874
|
-
var d = ["th", "st", "nd", "rd"], c =
|
2875
|
-
return "[" +
|
2876
|
-
} },
|
2877
|
-
var
|
2878
|
-
return !
|
2879
|
-
},
|
2880
|
-
var d = -
|
2881
|
-
return (d <= 0 ? "+" : "-") +
|
2882
|
-
}, m: function
|
2883
|
-
if (d.date() < c.date()) return -
|
2884
|
-
var
|
2885
|
-
return +(-(
|
2886
|
-
}, a: function(
|
2887
|
-
return
|
2888
|
-
}, p: function(
|
2889
|
-
return { M: g, y:
|
2890
|
-
}, u: function(
|
2891
|
-
return
|
2892
|
-
} },
|
2893
|
-
x[
|
2894
|
-
var
|
2895
|
-
return
|
2896
|
-
},
|
2872
|
+
})($t, function() {
|
2873
|
+
var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour", h = "day", I = "week", g = "month", T = "quarter", R = "year", O = "date", j = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
|
2874
|
+
var d = ["th", "st", "nd", "rd"], c = _ % 100;
|
2875
|
+
return "[" + _ + (d[(c - 20) % 10] || d[c] || d[0]) + "]";
|
2876
|
+
} }, U = function(_, d, c) {
|
2877
|
+
var p = String(_);
|
2878
|
+
return !p || p.length >= d ? _ : "" + Array(d + 1 - p.length).join(c) + _;
|
2879
|
+
}, S = { s: U, z: function(_) {
|
2880
|
+
var d = -_.utcOffset(), c = Math.abs(d), p = Math.floor(c / 60), l = c % 60;
|
2881
|
+
return (d <= 0 ? "+" : "-") + U(p, 2, "0") + ":" + U(l, 2, "0");
|
2882
|
+
}, m: function _(d, c) {
|
2883
|
+
if (d.date() < c.date()) return -_(c, d);
|
2884
|
+
var p = 12 * (c.year() - d.year()) + (c.month() - d.month()), l = d.clone().add(p, g), f = c - l < 0, m = d.clone().add(p + (f ? -1 : 1), g);
|
2885
|
+
return +(-(p + (c - l) / (f ? l - m : m - l)) || 0);
|
2886
|
+
}, a: function(_) {
|
2887
|
+
return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
|
2888
|
+
}, p: function(_) {
|
2889
|
+
return { M: g, y: R, w: I, d: h, D: O, h: u, m: a, s: o, ms: i, Q: T }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
|
2890
|
+
}, u: function(_) {
|
2891
|
+
return _ === void 0;
|
2892
|
+
} }, H = "en", x = {};
|
2893
|
+
x[H] = F;
|
2894
|
+
var pe = "$isDayjsObject", J = function(_) {
|
2895
|
+
return _ instanceof fe || !(!_ || !_[pe]);
|
2896
|
+
}, _e = function _(d, c, p) {
|
2897
2897
|
var l;
|
2898
|
-
if (!d) return
|
2898
|
+
if (!d) return H;
|
2899
2899
|
if (typeof d == "string") {
|
2900
|
-
var
|
2901
|
-
x[
|
2900
|
+
var f = d.toLowerCase();
|
2901
|
+
x[f] && (l = f), c && (x[f] = c, l = f);
|
2902
2902
|
var m = d.split("-");
|
2903
|
-
if (!l && m.length > 1) return
|
2903
|
+
if (!l && m.length > 1) return _(m[0]);
|
2904
2904
|
} else {
|
2905
|
-
var
|
2906
|
-
x[
|
2905
|
+
var E = d.name;
|
2906
|
+
x[E] = d, l = E;
|
2907
2907
|
}
|
2908
|
-
return !
|
2909
|
-
},
|
2910
|
-
if (
|
2908
|
+
return !p && l && (H = l), l || !p && H;
|
2909
|
+
}, D = function(_, d) {
|
2910
|
+
if (J(_)) return _.clone();
|
2911
2911
|
var c = typeof d == "object" ? d : {};
|
2912
|
-
return c.date =
|
2913
|
-
}, b =
|
2914
|
-
b.l =
|
2915
|
-
return
|
2912
|
+
return c.date = _, c.args = arguments, new fe(c);
|
2913
|
+
}, b = S;
|
2914
|
+
b.l = _e, b.i = J, b.w = function(_, d) {
|
2915
|
+
return D(_, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
|
2916
2916
|
};
|
2917
|
-
var
|
2918
|
-
function
|
2919
|
-
this.$L =
|
2917
|
+
var fe = function() {
|
2918
|
+
function _(c) {
|
2919
|
+
this.$L = _e(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[pe] = !0;
|
2920
2920
|
}
|
2921
|
-
var d =
|
2921
|
+
var d = _.prototype;
|
2922
2922
|
return d.parse = function(c) {
|
2923
|
-
this.$d = function(
|
2924
|
-
var l =
|
2923
|
+
this.$d = function(p) {
|
2924
|
+
var l = p.date, f = p.utc;
|
2925
2925
|
if (l === null) return /* @__PURE__ */ new Date(NaN);
|
2926
2926
|
if (b.u(l)) return /* @__PURE__ */ new Date();
|
2927
2927
|
if (l instanceof Date) return new Date(l);
|
2928
2928
|
if (typeof l == "string" && !/Z$/i.test(l)) {
|
2929
|
-
var m = l.match(
|
2929
|
+
var m = l.match(N);
|
2930
2930
|
if (m) {
|
2931
|
-
var
|
2932
|
-
return
|
2931
|
+
var E = m[2] - 1 || 0, A = (m[7] || "0").substring(0, 3);
|
2932
|
+
return f ? new Date(Date.UTC(m[1], E, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, A)) : new Date(m[1], E, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, A);
|
2933
2933
|
}
|
2934
2934
|
}
|
2935
2935
|
return new Date(l);
|
@@ -2941,183 +2941,183 @@ var Ft = { exports: {} };
|
|
2941
2941
|
return b;
|
2942
2942
|
}, d.isValid = function() {
|
2943
2943
|
return this.$d.toString() !== j;
|
2944
|
-
}, d.isSame = function(c,
|
2945
|
-
var l =
|
2946
|
-
return this.startOf(
|
2947
|
-
}, d.isAfter = function(c,
|
2948
|
-
return
|
2949
|
-
}, d.isBefore = function(c,
|
2950
|
-
return this.endOf(
|
2951
|
-
}, d.$g = function(c,
|
2952
|
-
return b.u(c) ? this[
|
2944
|
+
}, d.isSame = function(c, p) {
|
2945
|
+
var l = D(c);
|
2946
|
+
return this.startOf(p) <= l && l <= this.endOf(p);
|
2947
|
+
}, d.isAfter = function(c, p) {
|
2948
|
+
return D(c) < this.startOf(p);
|
2949
|
+
}, d.isBefore = function(c, p) {
|
2950
|
+
return this.endOf(p) < D(c);
|
2951
|
+
}, d.$g = function(c, p, l) {
|
2952
|
+
return b.u(c) ? this[p] : this.set(l, c);
|
2953
2953
|
}, d.unix = function() {
|
2954
2954
|
return Math.floor(this.valueOf() / 1e3);
|
2955
2955
|
}, d.valueOf = function() {
|
2956
2956
|
return this.$d.getTime();
|
2957
|
-
}, d.startOf = function(c,
|
2958
|
-
var l = this,
|
2959
|
-
var
|
2960
|
-
return
|
2961
|
-
},
|
2962
|
-
return b.w(l.toDate()[
|
2963
|
-
}, k = this.$W,
|
2957
|
+
}, d.startOf = function(c, p) {
|
2958
|
+
var l = this, f = !!b.u(p) || p, m = b.p(c), E = function(Q, L) {
|
2959
|
+
var V = b.w(l.$u ? Date.UTC(l.$y, L, Q) : new Date(l.$y, L, Q), l);
|
2960
|
+
return f ? V : V.endOf(h);
|
2961
|
+
}, A = function(Q, L) {
|
2962
|
+
return b.w(l.toDate()[Q].apply(l.toDate("s"), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), l);
|
2963
|
+
}, k = this.$W, C = this.$M, P = this.$D, ne = "set" + (this.$u ? "UTC" : "");
|
2964
2964
|
switch (m) {
|
2965
|
-
case
|
2966
|
-
return
|
2965
|
+
case R:
|
2966
|
+
return f ? E(1, 0) : E(31, 11);
|
2967
2967
|
case g:
|
2968
|
-
return
|
2969
|
-
case
|
2970
|
-
var
|
2971
|
-
return
|
2972
|
-
case
|
2973
|
-
case
|
2974
|
-
return
|
2968
|
+
return f ? E(1, C) : E(0, C + 1);
|
2969
|
+
case I:
|
2970
|
+
var K = this.$locale().weekStart || 0, se = (k < K ? k + 7 : k) - K;
|
2971
|
+
return E(f ? P - se : P + (6 - se), C);
|
2972
|
+
case h:
|
2973
|
+
case O:
|
2974
|
+
return A(ne + "Hours", 0);
|
2975
2975
|
case u:
|
2976
|
-
return
|
2976
|
+
return A(ne + "Minutes", 1);
|
2977
2977
|
case a:
|
2978
|
-
return
|
2978
|
+
return A(ne + "Seconds", 2);
|
2979
2979
|
case o:
|
2980
|
-
return
|
2980
|
+
return A(ne + "Milliseconds", 3);
|
2981
2981
|
default:
|
2982
2982
|
return this.clone();
|
2983
2983
|
}
|
2984
2984
|
}, d.endOf = function(c) {
|
2985
2985
|
return this.startOf(c, !1);
|
2986
|
-
}, d.$set = function(c,
|
2987
|
-
var l,
|
2988
|
-
if (
|
2989
|
-
var k = this.clone().set(
|
2990
|
-
k.$d[
|
2991
|
-
} else
|
2986
|
+
}, d.$set = function(c, p) {
|
2987
|
+
var l, f = b.p(c), m = "set" + (this.$u ? "UTC" : ""), E = (l = {}, l[h] = m + "Date", l[O] = m + "Date", l[g] = m + "Month", l[R] = m + "FullYear", l[u] = m + "Hours", l[a] = m + "Minutes", l[o] = m + "Seconds", l[i] = m + "Milliseconds", l)[f], A = f === h ? this.$D + (p - this.$W) : p;
|
2988
|
+
if (f === g || f === R) {
|
2989
|
+
var k = this.clone().set(O, 1);
|
2990
|
+
k.$d[E](A), k.init(), this.$d = k.set(O, Math.min(this.$D, k.daysInMonth())).$d;
|
2991
|
+
} else E && this.$d[E](A);
|
2992
2992
|
return this.init(), this;
|
2993
|
-
}, d.set = function(c,
|
2994
|
-
return this.clone().$set(c,
|
2993
|
+
}, d.set = function(c, p) {
|
2994
|
+
return this.clone().$set(c, p);
|
2995
2995
|
}, d.get = function(c) {
|
2996
2996
|
return this[b.p(c)]();
|
2997
|
-
}, d.add = function(c,
|
2998
|
-
var l,
|
2997
|
+
}, d.add = function(c, p) {
|
2998
|
+
var l, f = this;
|
2999
2999
|
c = Number(c);
|
3000
|
-
var m = b.p(
|
3001
|
-
var
|
3002
|
-
return b.w(
|
3000
|
+
var m = b.p(p), E = function(C) {
|
3001
|
+
var P = D(f);
|
3002
|
+
return b.w(P.date(P.date() + Math.round(C * c)), f);
|
3003
3003
|
};
|
3004
3004
|
if (m === g) return this.set(g, this.$M + c);
|
3005
|
-
if (m ===
|
3006
|
-
if (m ===
|
3007
|
-
if (m ===
|
3008
|
-
var
|
3005
|
+
if (m === R) return this.set(R, this.$y + c);
|
3006
|
+
if (m === h) return E(1);
|
3007
|
+
if (m === I) return E(7);
|
3008
|
+
var A = (l = {}, l[a] = r, l[u] = s, l[o] = n, l)[m] || 1, k = this.$d.getTime() + c * A;
|
3009
3009
|
return b.w(k, this);
|
3010
|
-
}, d.subtract = function(c,
|
3011
|
-
return this.add(-1 * c,
|
3010
|
+
}, d.subtract = function(c, p) {
|
3011
|
+
return this.add(-1 * c, p);
|
3012
3012
|
}, d.format = function(c) {
|
3013
|
-
var
|
3013
|
+
var p = this, l = this.$locale();
|
3014
3014
|
if (!this.isValid()) return l.invalidDate || j;
|
3015
|
-
var
|
3016
|
-
return
|
3017
|
-
}, se = function(
|
3018
|
-
return b.s(
|
3019
|
-
},
|
3020
|
-
var me =
|
3015
|
+
var f = c || "YYYY-MM-DDTHH:mm:ssZ", m = b.z(this), E = this.$H, A = this.$m, k = this.$M, C = l.weekdays, P = l.months, ne = l.meridiem, K = function(L, V, ie, me) {
|
3016
|
+
return L && (L[V] || L(p, f)) || ie[V].slice(0, me);
|
3017
|
+
}, se = function(L) {
|
3018
|
+
return b.s(E % 12 || 12, L, "0");
|
3019
|
+
}, Q = ne || function(L, V, ie) {
|
3020
|
+
var me = L < 12 ? "AM" : "PM";
|
3021
3021
|
return ie ? me.toLowerCase() : me;
|
3022
3022
|
};
|
3023
|
-
return
|
3024
|
-
return
|
3023
|
+
return f.replace(G, function(L, V) {
|
3024
|
+
return V || function(ie) {
|
3025
3025
|
switch (ie) {
|
3026
3026
|
case "YY":
|
3027
|
-
return String(
|
3027
|
+
return String(p.$y).slice(-2);
|
3028
3028
|
case "YYYY":
|
3029
|
-
return b.s(
|
3029
|
+
return b.s(p.$y, 4, "0");
|
3030
3030
|
case "M":
|
3031
3031
|
return k + 1;
|
3032
3032
|
case "MM":
|
3033
3033
|
return b.s(k + 1, 2, "0");
|
3034
3034
|
case "MMM":
|
3035
|
-
return
|
3035
|
+
return K(l.monthsShort, k, P, 3);
|
3036
3036
|
case "MMMM":
|
3037
|
-
return
|
3037
|
+
return K(P, k);
|
3038
3038
|
case "D":
|
3039
|
-
return
|
3039
|
+
return p.$D;
|
3040
3040
|
case "DD":
|
3041
|
-
return b.s(
|
3041
|
+
return b.s(p.$D, 2, "0");
|
3042
3042
|
case "d":
|
3043
|
-
return String(
|
3043
|
+
return String(p.$W);
|
3044
3044
|
case "dd":
|
3045
|
-
return
|
3045
|
+
return K(l.weekdaysMin, p.$W, C, 2);
|
3046
3046
|
case "ddd":
|
3047
|
-
return
|
3047
|
+
return K(l.weekdaysShort, p.$W, C, 3);
|
3048
3048
|
case "dddd":
|
3049
|
-
return
|
3049
|
+
return C[p.$W];
|
3050
3050
|
case "H":
|
3051
|
-
return String(
|
3051
|
+
return String(E);
|
3052
3052
|
case "HH":
|
3053
|
-
return b.s(
|
3053
|
+
return b.s(E, 2, "0");
|
3054
3054
|
case "h":
|
3055
3055
|
return se(1);
|
3056
3056
|
case "hh":
|
3057
3057
|
return se(2);
|
3058
3058
|
case "a":
|
3059
|
-
return
|
3059
|
+
return Q(E, A, !0);
|
3060
3060
|
case "A":
|
3061
|
-
return
|
3061
|
+
return Q(E, A, !1);
|
3062
3062
|
case "m":
|
3063
|
-
return String(
|
3063
|
+
return String(A);
|
3064
3064
|
case "mm":
|
3065
|
-
return b.s(
|
3065
|
+
return b.s(A, 2, "0");
|
3066
3066
|
case "s":
|
3067
|
-
return String(
|
3067
|
+
return String(p.$s);
|
3068
3068
|
case "ss":
|
3069
|
-
return b.s(
|
3069
|
+
return b.s(p.$s, 2, "0");
|
3070
3070
|
case "SSS":
|
3071
|
-
return b.s(
|
3071
|
+
return b.s(p.$ms, 3, "0");
|
3072
3072
|
case "Z":
|
3073
3073
|
return m;
|
3074
3074
|
}
|
3075
3075
|
return null;
|
3076
|
-
}(
|
3076
|
+
}(L) || m.replace(":", "");
|
3077
3077
|
});
|
3078
3078
|
}, d.utcOffset = function() {
|
3079
3079
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
3080
|
-
}, d.diff = function(c,
|
3081
|
-
var
|
3082
|
-
return b.m(m,
|
3080
|
+
}, d.diff = function(c, p, l) {
|
3081
|
+
var f, m = this, E = b.p(p), A = D(c), k = (A.utcOffset() - this.utcOffset()) * r, C = this - A, P = function() {
|
3082
|
+
return b.m(m, A);
|
3083
3083
|
};
|
3084
|
-
switch (
|
3085
|
-
case
|
3086
|
-
|
3084
|
+
switch (E) {
|
3085
|
+
case R:
|
3086
|
+
f = P() / 12;
|
3087
3087
|
break;
|
3088
3088
|
case g:
|
3089
|
-
|
3089
|
+
f = P();
|
3090
3090
|
break;
|
3091
|
-
case
|
3092
|
-
|
3091
|
+
case T:
|
3092
|
+
f = P() / 3;
|
3093
3093
|
break;
|
3094
|
-
case
|
3095
|
-
|
3094
|
+
case I:
|
3095
|
+
f = (C - k) / 6048e5;
|
3096
3096
|
break;
|
3097
|
-
case
|
3098
|
-
|
3097
|
+
case h:
|
3098
|
+
f = (C - k) / 864e5;
|
3099
3099
|
break;
|
3100
3100
|
case u:
|
3101
|
-
|
3101
|
+
f = C / s;
|
3102
3102
|
break;
|
3103
3103
|
case a:
|
3104
|
-
|
3104
|
+
f = C / r;
|
3105
3105
|
break;
|
3106
3106
|
case o:
|
3107
|
-
|
3107
|
+
f = C / n;
|
3108
3108
|
break;
|
3109
3109
|
default:
|
3110
|
-
|
3110
|
+
f = C;
|
3111
3111
|
}
|
3112
|
-
return l ?
|
3112
|
+
return l ? f : b.a(f);
|
3113
3113
|
}, d.daysInMonth = function() {
|
3114
3114
|
return this.endOf(g).$D;
|
3115
3115
|
}, d.$locale = function() {
|
3116
3116
|
return x[this.$L];
|
3117
|
-
}, d.locale = function(c,
|
3117
|
+
}, d.locale = function(c, p) {
|
3118
3118
|
if (!c) return this.$L;
|
3119
|
-
var l = this.clone(),
|
3120
|
-
return
|
3119
|
+
var l = this.clone(), f = _e(c, p, !0);
|
3120
|
+
return f && (l.$L = f), l;
|
3121
3121
|
}, d.clone = function() {
|
3122
3122
|
return b.w(this.$d, this);
|
3123
3123
|
}, d.toDate = function() {
|
@@ -3128,66 +3128,66 @@ var Ft = { exports: {} };
|
|
3128
3128
|
return this.$d.toISOString();
|
3129
3129
|
}, d.toString = function() {
|
3130
3130
|
return this.$d.toUTCString();
|
3131
|
-
},
|
3132
|
-
}(),
|
3133
|
-
return
|
3134
|
-
|
3135
|
-
return this.$g(d,
|
3131
|
+
}, _;
|
3132
|
+
}(), Ze = fe.prototype;
|
3133
|
+
return D.prototype = Ze, [["$ms", i], ["$s", o], ["$m", a], ["$H", u], ["$W", h], ["$M", g], ["$y", R], ["$D", O]].forEach(function(_) {
|
3134
|
+
Ze[_[1]] = function(d) {
|
3135
|
+
return this.$g(d, _[0], _[1]);
|
3136
3136
|
};
|
3137
|
-
}),
|
3138
|
-
return
|
3139
|
-
},
|
3140
|
-
return
|
3141
|
-
},
|
3137
|
+
}), D.extend = function(_, d) {
|
3138
|
+
return _.$i || (_(d, fe, D), _.$i = !0), D;
|
3139
|
+
}, D.locale = _e, D.isDayjs = J, D.unix = function(_) {
|
3140
|
+
return D(1e3 * _);
|
3141
|
+
}, D.en = x[H], D.Ls = x, D.p = {}, D;
|
3142
3142
|
});
|
3143
|
-
})(
|
3144
|
-
var
|
3145
|
-
const
|
3146
|
-
var
|
3147
|
-
return
|
3143
|
+
})(Pt);
|
3144
|
+
var Ms = Pt.exports;
|
3145
|
+
const Us = /* @__PURE__ */ jt(Ms);
|
3146
|
+
var xe = function() {
|
3147
|
+
return xe = Object.assign || function(e) {
|
3148
3148
|
for (var n, r = 1, s = arguments.length; r < s; r++) {
|
3149
3149
|
n = arguments[r];
|
3150
3150
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
|
3151
3151
|
}
|
3152
3152
|
return e;
|
3153
|
-
},
|
3153
|
+
}, xe.apply(this, arguments);
|
3154
3154
|
};
|
3155
3155
|
function Ls(t) {
|
3156
3156
|
return t.toLowerCase();
|
3157
3157
|
}
|
3158
|
-
var
|
3159
|
-
function
|
3158
|
+
var Bs = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], Ps = /[^A-Z0-9]+/gi;
|
3159
|
+
function xs(t, e) {
|
3160
3160
|
e === void 0 && (e = {});
|
3161
|
-
for (var n = e.splitRegexp, r = n === void 0 ?
|
3161
|
+
for (var n = e.splitRegexp, r = n === void 0 ? Bs : n, s = e.stripRegexp, i = s === void 0 ? Ps : s, o = e.transform, a = o === void 0 ? Ls : o, u = e.delimiter, h = u === void 0 ? " " : u, I = lt(lt(t, r, "$1\0$2"), i, "\0"), g = 0, T = I.length; I.charAt(g) === "\0"; )
|
3162
3162
|
g++;
|
3163
|
-
for (;
|
3164
|
-
|
3165
|
-
return
|
3163
|
+
for (; I.charAt(T - 1) === "\0"; )
|
3164
|
+
T--;
|
3165
|
+
return I.slice(g, T).split("\0").map(a).join(h);
|
3166
3166
|
}
|
3167
|
-
function
|
3167
|
+
function lt(t, e, n) {
|
3168
3168
|
return e instanceof RegExp ? t.replace(e, n) : e.reduce(function(r, s) {
|
3169
3169
|
return r.replace(s, n);
|
3170
3170
|
}, t);
|
3171
3171
|
}
|
3172
|
-
function
|
3172
|
+
function Hs(t) {
|
3173
3173
|
return t.charAt(0).toUpperCase() + t.substr(1);
|
3174
3174
|
}
|
3175
|
-
function
|
3175
|
+
function $s(t, e) {
|
3176
3176
|
var n = t.toLowerCase();
|
3177
|
-
return e === 0 ?
|
3177
|
+
return e === 0 ? Hs(n) : n;
|
3178
3178
|
}
|
3179
|
-
function
|
3180
|
-
return e === void 0 && (e = {}),
|
3179
|
+
function Re(t, e) {
|
3180
|
+
return e === void 0 && (e = {}), xs(t, xe({ delimiter: " ", transform: $s }, e));
|
3181
3181
|
}
|
3182
|
-
function
|
3182
|
+
function js(t, e = []) {
|
3183
3183
|
const n = JSON.parse(JSON.stringify(t));
|
3184
3184
|
return e.length > 0 && e.forEach((r) => {
|
3185
3185
|
n[r] !== void 0 && delete n[r];
|
3186
3186
|
}), n;
|
3187
3187
|
}
|
3188
|
-
function
|
3188
|
+
function Fs(t, e) {
|
3189
3189
|
var r, s, i, o;
|
3190
|
-
const n = e ?
|
3190
|
+
const n = e ? js(e) : void 0;
|
3191
3191
|
return {
|
3192
3192
|
_id: (n == null ? void 0 : n._id) ?? "",
|
3193
3193
|
notifyUrl: (n == null ? void 0 : n.notifyUrl) ?? "",
|
@@ -3195,7 +3195,7 @@ function Gs(t, e) {
|
|
3195
3195
|
id: (n == null ? void 0 : n.store.id) ?? "",
|
3196
3196
|
event: (n == null ? void 0 : n.store.event) ?? X.F_PAYOUT_FOR.Enum.ORDERING,
|
3197
3197
|
bank: {
|
3198
|
-
name: ((r = n == null ? void 0 : n.store.bank) == null ? void 0 : r.name) ??
|
3198
|
+
name: ((r = n == null ? void 0 : n.store.bank) == null ? void 0 : r.name) ?? xt[0].value,
|
3199
3199
|
type: ((s = n == null ? void 0 : n.store.bank) == null ? void 0 : s.type) ?? Ht[0].value,
|
3200
3200
|
holderName: ((i = n == null ? void 0 : n.store.bank) == null ? void 0 : i.holderName) ?? "",
|
3201
3201
|
accountNumber: ((o = n == null ? void 0 : n.store.bank) == null ? void 0 : o.accountNumber) ?? ""
|
@@ -3215,7 +3215,7 @@ function Gs(t, e) {
|
|
3215
3215
|
businessId: t
|
3216
3216
|
};
|
3217
3217
|
}
|
3218
|
-
function
|
3218
|
+
function Ws(t) {
|
3219
3219
|
return t.reduce(
|
3220
3220
|
(e, n) => ([X.F_PAYOUT_ACCOUNT_STATUS.Enum.NEW].some((r) => r == n.status) ? e.NEW.push({
|
3221
3221
|
...n
|
@@ -3231,8 +3231,8 @@ function Ys(t) {
|
|
3231
3231
|
async function Ne(t) {
|
3232
3232
|
await de.delete(t);
|
3233
3233
|
}
|
3234
|
-
async function
|
3235
|
-
const r =
|
3234
|
+
async function dt(t, e, n) {
|
3235
|
+
const r = Us().toISOString();
|
3236
3236
|
if (t.restaurantId)
|
3237
3237
|
return await de.update(
|
3238
3238
|
`restaurant/${t.restaurantId}/documents/${e}/${r}.pdf`,
|
@@ -3245,7 +3245,7 @@ async function ft(t, e, n) {
|
|
3245
3245
|
);
|
3246
3246
|
throw "Not implemented";
|
3247
3247
|
}
|
3248
|
-
async function
|
3248
|
+
async function Gs(t, e) {
|
3249
3249
|
if (t.restaurantId)
|
3250
3250
|
return await de.update(
|
3251
3251
|
`restaurant/${t.restaurantId}/exterior/photo`,
|
@@ -3258,18 +3258,18 @@ async function Ks(t, e) {
|
|
3258
3258
|
);
|
3259
3259
|
throw "Not implemented";
|
3260
3260
|
}
|
3261
|
-
async function
|
3261
|
+
async function Vs(t, e, n) {
|
3262
3262
|
e.store.ssm && n.newSSM && await Ne(e.store.ssm), e.store.bankStatement && n.newBankStatement && await Ne(e.store.bankStatement), e.store.exteriorPhoto && n.newExteriorPhoto && await Ne(e.store.exteriorPhoto);
|
3263
3263
|
let r = e.store.ssm || "";
|
3264
|
-
n.newSSM && (r = await
|
3264
|
+
n.newSSM && (r = await dt(t, "ssm", n.newSSM));
|
3265
3265
|
let s = e.store.bankStatement || "";
|
3266
|
-
n.newBankStatement && (s = await
|
3266
|
+
n.newBankStatement && (s = await dt(
|
3267
3267
|
t,
|
3268
3268
|
"bankStatement",
|
3269
3269
|
n.newBankStatement
|
3270
3270
|
));
|
3271
3271
|
let i = e.store.exteriorPhoto || "";
|
3272
|
-
return n.newExteriorPhoto && (i = await
|
3272
|
+
return n.newExteriorPhoto && (i = await Gs(
|
3273
3273
|
t,
|
3274
3274
|
n.newExteriorPhoto
|
3275
3275
|
)), {
|
@@ -3288,61 +3288,30 @@ async function Xs(t, e, n) {
|
|
3288
3288
|
notifyUrl: n.payoutSetting.store.event === X.F_PAYOUT_FOR.Enum.MARKETING ? "http://marketing-api-service:3000/customer/callback/store" : "http://order-backend:3000/backend/payment"
|
3289
3289
|
};
|
3290
3290
|
}
|
3291
|
-
const
|
3292
|
-
label:
|
3291
|
+
const xt = Object.values(Ft.F_BANK_NAME).map((t) => ({
|
3292
|
+
label: Re(t),
|
3293
3293
|
value: t
|
3294
3294
|
})), Ht = Object.values(X.F_BANK_TYPE.Values).map((t) => ({
|
3295
|
-
label:
|
3295
|
+
label: Re(t),
|
3296
3296
|
value: t
|
3297
|
-
})),
|
3298
|
-
label:
|
3297
|
+
})), Zs = Object.values(X.F_PAYOUT_FOR.Values).map((t) => ({
|
3298
|
+
label: Re(t),
|
3299
3299
|
value: t
|
3300
|
-
})),
|
3300
|
+
})), zs = Object.values(X.F_PAYOUT_ACCOUNT_STATUS.Values).map(
|
3301
3301
|
(t) => ({
|
3302
|
-
label:
|
3302
|
+
label: Re(t),
|
3303
3303
|
value: t
|
3304
3304
|
})
|
3305
|
-
),
|
3306
|
-
mergeData:
|
3307
|
-
initPayoutAccount:
|
3308
|
-
groupByStatus:
|
3305
|
+
), Xs = {
|
3306
|
+
mergeData: Vs,
|
3307
|
+
initPayoutAccount: Fs,
|
3308
|
+
groupByStatus: Ws,
|
3309
3309
|
bankTypeOptions: Ht,
|
3310
|
-
bankNameOptions:
|
3311
|
-
storeEventOptions:
|
3312
|
-
statusOptions:
|
3313
|
-
}, ei = {
|
3314
|
-
async read(t) {
|
3315
|
-
return Gt(
|
3316
|
-
await Xe().get("payout-accounts", {
|
3317
|
-
params: { ...t }
|
3318
|
-
})
|
3319
|
-
);
|
3320
|
-
},
|
3321
|
-
async updateById(t, e) {
|
3322
|
-
return ge(
|
3323
|
-
await Xe().put(`payout-accounts/${t}`, {
|
3324
|
-
...e
|
3325
|
-
})
|
3326
|
-
);
|
3327
|
-
},
|
3328
|
-
async readBusinessPayoutAccounts() {
|
3329
|
-
return ge(await Ae().get("/payout-accounts"));
|
3330
|
-
},
|
3331
|
-
async createBusinessPayoutAccounts(t) {
|
3332
|
-
return ge(
|
3333
|
-
await Ae().post("/payout-accounts", { ...t })
|
3334
|
-
);
|
3335
|
-
},
|
3336
|
-
async updateBusinessPayoutAccounts(t, e) {
|
3337
|
-
return ge(
|
3338
|
-
await Ae().put(`/payout-accounts/${t}`, {
|
3339
|
-
...e
|
3340
|
-
})
|
3341
|
-
);
|
3342
|
-
}
|
3310
|
+
bankNameOptions: xt,
|
3311
|
+
storeEventOptions: Zs,
|
3312
|
+
statusOptions: zs
|
3343
3313
|
};
|
3344
3314
|
export {
|
3345
|
-
|
3346
|
-
|
3347
|
-
ei as p
|
3315
|
+
Xs as P,
|
3316
|
+
js as c
|
3348
3317
|
};
|