@beamimpact/web-sdk 1.56.3 → 1.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/_share-dialog-dependencies-BEUnzuWq.esm.js +2 -0
- package/dist/chunks/{_share-dialog-dependencies-Bk60ibnw.esm.js.map → _share-dialog-dependencies-BEUnzuWq.esm.js.map} +1 -1
- package/dist/chunks/{order-page-CSEjG6ma.esm.d.ts → cart-CKltrzQt.esm.d.ts} +22 -34
- package/dist/chunks/css-card-grid-CiqEjkwR.esm.js +21 -0
- package/dist/chunks/css-card-grid-CiqEjkwR.esm.js.map +1 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js +23 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js.map +1 -0
- package/dist/chunks/index-B4xKTDaF.esm.js +2 -0
- package/dist/chunks/index-B4xKTDaF.esm.js.map +1 -0
- package/dist/chunks/{index-C_u1FXtO.esm.d.ts → index-BAROgNYE.esm.d.ts} +7 -10
- package/dist/chunks/{index-BLlSL37B.esm.d.ts → index-BH3YaPLG.esm.d.ts} +1 -1
- package/dist/chunks/index-BHglsF5j.esm.js +2 -0
- package/dist/chunks/index-BHglsF5j.esm.js.map +1 -0
- package/dist/chunks/index-BgalrCS_.esm.js +32 -0
- package/dist/chunks/index-BgalrCS_.esm.js.map +1 -0
- package/dist/chunks/{index-hghrT7Z_.esm.d.ts → index-BoIHE1tC.esm.d.ts} +3 -0
- package/dist/chunks/index-C60Vejym.esm.js +32 -0
- package/dist/chunks/index-C60Vejym.esm.js.map +1 -0
- package/dist/chunks/{index-DDCtGN21.esm.d.ts → index-C6a13iqC.esm.d.ts} +3 -5
- package/dist/chunks/index-D6aFJ4cU.esm.js +2 -0
- package/dist/chunks/index-D6aFJ4cU.esm.js.map +1 -0
- package/dist/chunks/index-Dm-K2MLY.esm.js +31 -0
- package/dist/chunks/index-Dm-K2MLY.esm.js.map +1 -0
- package/dist/chunks/{index-BEEmYYxP.esm.js → index-DqhM4Yoj.esm.js} +11 -11
- package/dist/chunks/index-DqhM4Yoj.esm.js.map +1 -0
- package/dist/chunks/{index-UMeAzKTG.esm.js → index-HqfLVFOU.esm.js} +11 -11
- package/dist/chunks/index-HqfLVFOU.esm.js.map +1 -0
- package/dist/chunks/index-MAMeVd6l.esm.js +2 -0
- package/dist/chunks/index-MAMeVd6l.esm.js.map +1 -0
- package/dist/chunks/{index-DyUuvdr3.esm.d.ts → index-OYSJ-2mk.esm.d.ts} +1 -1
- package/dist/chunks/{index-BY5lSRmw.esm.d.ts → index-mBTWm4YP.esm.d.ts} +2 -2
- package/dist/chunks/{lit-JRlupCB5.esm.js → lit-BEag9MFp.esm.js} +2 -2
- package/dist/chunks/{lit-JRlupCB5.esm.js.map → lit-BEag9MFp.esm.js.map} +1 -1
- package/dist/chunks/{lodash-BSs6Il-c.esm.js → lodash-CrMU6wKg.esm.js} +2 -2
- package/dist/chunks/{lodash-BSs6Il-c.esm.js.map → lodash-CrMU6wKg.esm.js.map} +1 -1
- package/dist/chunks/{promo-pill-label-D_4zJ7uy.esm.js → promo-pill-label-5HmbDVmU.esm.js} +2 -2
- package/dist/chunks/{promo-pill-label-D_4zJ7uy.esm.js.map → promo-pill-label-5HmbDVmU.esm.js.map} +1 -1
- package/dist/chunks/{responsive-CIV4sFdH.esm.js → responsive-aN8P5PqD.esm.js} +2 -2
- package/dist/chunks/{responsive-CIV4sFdH.esm.js.map → responsive-aN8P5PqD.esm.js.map} +1 -1
- package/dist/chunks/{routes-OxC3Ah30.esm.d.ts → routes-D6Gtw6kZ.esm.d.ts} +1 -1
- package/dist/chunks/share-button-5gfPmeEh.esm.js +54 -0
- package/dist/chunks/share-button-5gfPmeEh.esm.js.map +1 -0
- package/dist/chunks/{share-button-Dzc7loia.esm.js → share-button-C4yPLL_t.esm.js} +2 -2
- package/dist/chunks/{share-button-DkTpGZk1.esm.js.map → share-button-C4yPLL_t.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-DWgFuC7U.esm.d.ts → update-cart-DoJGAdoU.esm.d.ts} +2 -3
- package/dist/chunks/utils-C5hmbxa4.esm.js +2 -0
- package/dist/chunks/utils-C5hmbxa4.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-B4z4_CMq.esm.d.ts → utils-COGFpDER.esm.d.ts} +597 -11
- package/dist/chunks/{vendor-ckSdd6aH.esm.js → vendor-DUOg5fL-.esm.js} +2 -2
- package/dist/chunks/{vendor-ckSdd6aH.esm.js.map → vendor-DUOg5fL-.esm.js.map} +1 -1
- package/dist/components/beam-partner-logos.d.ts +3 -1
- package/dist/components/beam-partner-logos.esm.js +1 -1
- package/dist/components/beam-partner-logos.js +1 -1
- package/dist/components/community-impact.d.ts +3 -2
- package/dist/components/community-impact.esm.js +6 -6
- package/dist/components/community-impact.esm.js.map +1 -1
- package/dist/components/community-impact.js +6 -6
- package/dist/components/community-impact.js.map +1 -1
- package/dist/components/cumulative-impact.d.ts +3 -2
- package/dist/components/cumulative-impact.esm.js +11 -11
- package/dist/components/cumulative-impact.esm.js.map +1 -1
- package/dist/components/cumulative-impact.js +11 -11
- package/dist/components/cumulative-impact.js.map +1 -1
- package/dist/components/impact-overview.d.ts +3 -2
- package/dist/components/impact-overview.esm.js +5 -5
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +5 -5
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +3 -4
- package/dist/components/post-purchase.esm.js +1 -31
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +1 -31
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/product-details-page.d.ts +4 -2
- package/dist/components/product-details-page.esm.js +4 -4
- package/dist/components/product-details-page.esm.js.map +1 -1
- package/dist/components/product-details-page.js +4 -4
- package/dist/components/product-details-page.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +3 -4
- package/dist/components/redeem-transaction.esm.js +1 -1
- package/dist/components/redeem-transaction.js +1 -1
- package/dist/components/select-nonprofit.d.ts +3 -4
- package/dist/components/select-nonprofit.esm.js +12 -12
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +12 -12
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.d.ts +3 -2
- package/dist/components/select-subscription-nonprofit.esm.js +11 -11
- package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.js +11 -11
- package/dist/components/select-subscription-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +9 -12
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.esm.js.map +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/shopify.js.map +1 -1
- package/dist/components/social-share.d.ts +3 -2
- package/dist/components/social-share.esm.js +2 -2
- package/dist/components/social-share.esm.js.map +1 -1
- package/dist/components/social-share.js +2 -2
- package/dist/components/social-share.js.map +1 -1
- package/dist/components/subscriber-select-nonprofit.d.ts +59 -0
- package/dist/components/subscriber-select-nonprofit.esm.js +137 -0
- package/dist/components/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/components/subscriber-select-nonprofit.js +137 -0
- package/dist/components/subscriber-select-nonprofit.js.map +1 -0
- package/dist/components/subscription-impact.d.ts +3 -2
- package/dist/components/subscription-impact.esm.js +6 -6
- package/dist/components/subscription-impact.esm.js.map +1 -1
- package/dist/components/subscription-impact.js +6 -6
- package/dist/components/subscription-impact.js.map +1 -1
- package/dist/components/subscription-management.d.ts +4 -5
- package/dist/components/subscription-management.esm.js +3 -3
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +3 -3
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +39 -38
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.d.ts +3 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.esm.js.map +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/beam.js.map +1 -1
- package/dist/integrations/cart.d.ts +4 -4
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/logs.d.ts +4 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/promoManager.d.ts +3 -1
- package/dist/integrations/promoManager.esm.js +1 -1
- package/dist/integrations/promoManager.esm.js.map +1 -1
- package/dist/integrations/promoManager.js +1 -1
- package/dist/integrations/promoManager.js.map +1 -1
- package/dist/integrations/session.d.ts +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify-order.d.ts +38 -0
- package/dist/integrations/shopify-order.esm.js +2 -0
- package/dist/integrations/shopify-order.esm.js.map +1 -0
- package/dist/integrations/shopify-order.js +2 -0
- package/dist/integrations/shopify-order.js.map +1 -0
- package/dist/integrations/shopify.d.ts +5 -12
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.d.ts +3 -1
- package/dist/integrations/statsig.esm.js +3 -3
- package/dist/integrations/statsig.esm.js.map +1 -1
- package/dist/integrations/statsig.js +3 -3
- package/dist/integrations/statsig.js.map +1 -1
- package/dist/integrations/utils.d.ts +1 -14
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +3 -1
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/community-impact.d.ts +3 -2
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.esm.js.map +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/community-impact.js.map +1 -1
- package/dist/react/cumulative-impact.d.ts +3 -2
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.esm.js.map +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/cumulative-impact.js.map +1 -1
- package/dist/react/impact-overview.d.ts +3 -2
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.esm.js.map +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/impact-overview.js.map +1 -1
- package/dist/react/index.d.ts +6 -7
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +3 -4
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.esm.js.map +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/post-purchase.js.map +1 -1
- package/dist/react/product-details-page.d.ts +4 -2
- package/dist/react/product-details-page.esm.js +1 -1
- package/dist/react/product-details-page.esm.js.map +1 -1
- package/dist/react/product-details-page.js +1 -1
- package/dist/react/product-details-page.js.map +1 -1
- package/dist/react/redeem-transaction.d.ts +3 -6
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.esm.js.map +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/redeem-transaction.js.map +1 -1
- package/dist/react/select-nonprofit.d.ts +3 -6
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.esm.js.map +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/select-nonprofit.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.d.ts +3 -6
- package/dist/react/select-subscription-nonprofit.esm.js +1 -1
- package/dist/react/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.js +1 -1
- package/dist/react/select-subscription-nonprofit.js.map +1 -1
- package/dist/react/shopify.d.ts +2 -2
- package/dist/react/shopify.esm.js +1 -1
- package/dist/react/shopify.esm.js.map +1 -1
- package/dist/react/shopify.js +1 -1
- package/dist/react/shopify.js.map +1 -1
- package/dist/react/social-share.d.ts +3 -2
- package/dist/react/social-share.esm.js +1 -1
- package/dist/react/social-share.esm.js.map +1 -1
- package/dist/react/social-share.js +1 -1
- package/dist/react/social-share.js.map +1 -1
- package/dist/react/subscriber-select-nonprofit.d.ts +14 -0
- package/dist/react/subscriber-select-nonprofit.esm.js +2 -0
- package/dist/react/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/react/subscriber-select-nonprofit.js +2 -0
- package/dist/react/subscriber-select-nonprofit.js.map +1 -0
- package/dist/react/subscription-impact.d.ts +3 -2
- package/dist/react/subscription-impact.esm.js +1 -1
- package/dist/react/subscription-impact.esm.js.map +1 -1
- package/dist/react/subscription-impact.js +1 -1
- package/dist/react/subscription-impact.js.map +1 -1
- package/dist/react/subscription-management.d.ts +4 -5
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.esm.js.map +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/react/subscription-management.js.map +1 -1
- package/dist/utils/beam-errors.d.ts +3 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cart.d.ts +3 -18
- package/dist/utils/cart.esm.js +1 -1
- package/dist/utils/cart.esm.js.map +1 -1
- package/dist/utils/cart.js +1 -1
- package/dist/utils/cart.js.map +1 -1
- package/dist/utils/clear-beam-storage.d.ts +3 -0
- package/dist/utils/clear-beam-storage.esm.js +2 -0
- package/dist/utils/clear-beam-storage.esm.js.map +1 -0
- package/dist/utils/clear-beam-storage.js +2 -0
- package/dist/utils/clear-beam-storage.js.map +1 -0
- package/dist/utils/cookies.d.ts +3 -18
- package/dist/utils/cookies.esm.js +1 -1
- package/dist/utils/cookies.esm.js.map +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/cookies.js.map +1 -1
- package/dist/utils/debounce.esm.js +1 -1
- package/dist/utils/debounce.js +1 -1
- package/dist/utils/events.d.ts +3 -5
- package/dist/utils/events.esm.js +1 -1
- package/dist/utils/events.js +1 -1
- package/dist/utils/is-equal.esm.js +1 -1
- package/dist/utils/is-equal.js +1 -1
- package/dist/utils/local-storage.d.ts +3 -19
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.esm.js.map +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/local-storage.js.map +1 -1
- package/dist/utils/logger.d.ts +3 -8
- package/dist/utils/logger.esm.js +1 -1
- package/dist/utils/logger.esm.js.map +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.d.ts +3 -5
- package/dist/utils/makeApiKeyHeader.esm.js +1 -1
- package/dist/utils/makeApiKeyHeader.esm.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.js +1 -1
- package/dist/utils/makeApiKeyHeader.js.map +1 -1
- package/dist/utils/memoize-last.d.ts +3 -17
- package/dist/utils/memoize-last.esm.js +1 -1
- package/dist/utils/memoize-last.esm.js.map +1 -1
- package/dist/utils/memoize-last.js +1 -1
- package/dist/utils/memoize-last.js.map +1 -1
- package/dist/utils/network-listeners.d.ts +3 -3
- package/dist/utils/network-listeners.esm.js +1 -1
- package/dist/utils/network-listeners.esm.js.map +1 -1
- package/dist/utils/network-listeners.js +1 -1
- package/dist/utils/network-listeners.js.map +1 -1
- package/dist/utils/promoManager.d.ts +3 -111
- package/dist/utils/promoManager.esm.js +1 -1
- package/dist/utils/promoManager.esm.js.map +1 -1
- package/dist/utils/promoManager.js +1 -1
- package/dist/utils/promoManager.js.map +1 -1
- package/dist/utils/remote-session.d.ts +3 -9
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.esm.js.map +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/remote-session.js.map +1 -1
- package/dist/utils/wait-for-element.d.ts +3 -5
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.esm.js.map +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/dist/utils/wait-for-element.js.map +1 -1
- package/package.json +9 -6
- package/dist/chunks/_share-dialog-dependencies-Bk60ibnw.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-D6vA_2f6.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-D6vA_2f6.esm.js.map +0 -1
- package/dist/chunks/beam-errors-Ci0d3926.esm.js +0 -2
- package/dist/chunks/beam-errors-Ci0d3926.esm.js.map +0 -1
- package/dist/chunks/beam-errors-DUQ9pK2V.esm.d.ts +0 -46
- package/dist/chunks/cart-contents-CEoSx3y4.esm.d.ts +0 -18
- package/dist/chunks/cart-contents-DkoytiZh.esm.js +0 -2
- package/dist/chunks/cart-contents-DkoytiZh.esm.js.map +0 -1
- package/dist/chunks/css-card-grid-DixMt6ek.esm.js +0 -20
- package/dist/chunks/css-card-grid-DixMt6ek.esm.js.map +0 -1
- package/dist/chunks/enforce-config-DHnpgqSK.esm.js +0 -3
- package/dist/chunks/enforce-config-DHnpgqSK.esm.js.map +0 -1
- package/dist/chunks/enforce-config-DUbQnaLO.esm.js +0 -3
- package/dist/chunks/enforce-config-DUbQnaLO.esm.js.map +0 -1
- package/dist/chunks/events-COWOQoLW.esm.js +0 -2
- package/dist/chunks/events-COWOQoLW.esm.js.map +0 -1
- package/dist/chunks/events-Dwqfqbij.esm.d.ts +0 -214
- package/dist/chunks/index-8rOpG9kf.esm.js +0 -2
- package/dist/chunks/index-8rOpG9kf.esm.js.map +0 -1
- package/dist/chunks/index-B1GmdVT3.esm.js +0 -2
- package/dist/chunks/index-B1GmdVT3.esm.js.map +0 -1
- package/dist/chunks/index-B2dxbh1d.esm.js +0 -2
- package/dist/chunks/index-B2dxbh1d.esm.js.map +0 -1
- package/dist/chunks/index-BEEmYYxP.esm.js.map +0 -1
- package/dist/chunks/index-BIEV1MH0.esm.js +0 -2
- package/dist/chunks/index-BIEV1MH0.esm.js.map +0 -1
- package/dist/chunks/index-BaWMWAyt.esm.js +0 -2
- package/dist/chunks/index-BaWMWAyt.esm.js.map +0 -1
- package/dist/chunks/index-BeX4QeUu.esm.js +0 -2
- package/dist/chunks/index-BeX4QeUu.esm.js.map +0 -1
- package/dist/chunks/index-C3hpHWh1.esm.js +0 -2
- package/dist/chunks/index-C3hpHWh1.esm.js.map +0 -1
- package/dist/chunks/index-C3v-y56g.esm.js +0 -2
- package/dist/chunks/index-C3v-y56g.esm.js.map +0 -1
- package/dist/chunks/index-CqqF1sQo.esm.js +0 -2
- package/dist/chunks/index-CqqF1sQo.esm.js.map +0 -1
- package/dist/chunks/index-Cs4Kp9X4.esm.js +0 -2
- package/dist/chunks/index-Cs4Kp9X4.esm.js.map +0 -1
- package/dist/chunks/index-D20ifskY.esm.d.ts +0 -21
- package/dist/chunks/index-D3hxLDQF.esm.js +0 -2
- package/dist/chunks/index-D3hxLDQF.esm.js.map +0 -1
- package/dist/chunks/index-D5TZB-zM.esm.js +0 -2
- package/dist/chunks/index-D5TZB-zM.esm.js.map +0 -1
- package/dist/chunks/index-D6qJfs7_.esm.js +0 -2
- package/dist/chunks/index-D6qJfs7_.esm.js.map +0 -1
- package/dist/chunks/index-DSJACB_p.esm.js +0 -2
- package/dist/chunks/index-DSJACB_p.esm.js.map +0 -1
- package/dist/chunks/index-DmjZnpod.esm.js +0 -2
- package/dist/chunks/index-DmjZnpod.esm.js.map +0 -1
- package/dist/chunks/index-EJRmgmQu.esm.d.ts +0 -74
- package/dist/chunks/index-UMeAzKTG.esm.js.map +0 -1
- package/dist/chunks/index-mppXVWCH.esm.js +0 -2
- package/dist/chunks/index-mppXVWCH.esm.js.map +0 -1
- package/dist/chunks/index-n62IxH5D.esm.js +0 -2
- package/dist/chunks/index-n62IxH5D.esm.js.map +0 -1
- package/dist/chunks/index-nAPzvUWE.esm.js +0 -2
- package/dist/chunks/index-nAPzvUWE.esm.js.map +0 -1
- package/dist/chunks/index-xcGPhpiO.esm.d.ts +0 -44
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js +0 -2
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js.map +0 -1
- package/dist/chunks/loading-template-BFvXaTlD.esm.js +0 -2
- package/dist/chunks/loading-template-BFvXaTlD.esm.js.map +0 -1
- package/dist/chunks/localize-Dg7NgKIP.esm.js +0 -31
- package/dist/chunks/localize-Dg7NgKIP.esm.js.map +0 -1
- package/dist/chunks/localize-DkAbsh05.esm.js +0 -31
- package/dist/chunks/localize-DkAbsh05.esm.js.map +0 -1
- package/dist/chunks/order-page-B0WbVrvh.esm.js +0 -2
- package/dist/chunks/order-page-B0WbVrvh.esm.js.map +0 -1
- package/dist/chunks/order-page-CT3hnhzf.esm.js +0 -2
- package/dist/chunks/order-page-CT3hnhzf.esm.js.map +0 -1
- package/dist/chunks/progress-bar-B82FOT8n.esm.js +0 -54
- package/dist/chunks/progress-bar-B82FOT8n.esm.js.map +0 -1
- package/dist/chunks/promo-pill-label-DcsiJS_N.esm.js +0 -16
- package/dist/chunks/promo-pill-label-DcsiJS_N.esm.js.map +0 -1
- package/dist/chunks/promo-types-CmZzhkpN.esm.d.ts +0 -15
- package/dist/chunks/promo-types-DKAOFHJr.esm.js +0 -2
- package/dist/chunks/promo-types-DKAOFHJr.esm.js.map +0 -1
- package/dist/chunks/routes-BIMwJ8u9.esm.js +0 -2
- package/dist/chunks/routes-BIMwJ8u9.esm.js.map +0 -1
- package/dist/chunks/routes-DSu5s3K7.esm.js +0 -2
- package/dist/chunks/routes-DSu5s3K7.esm.js.map +0 -1
- package/dist/chunks/share-button-CLMw49f5.esm.js +0 -2
- package/dist/chunks/share-button-CLMw49f5.esm.js.map +0 -1
- package/dist/chunks/share-button-DXS3zbJz.esm.js +0 -2
- package/dist/chunks/share-button-DXS3zbJz.esm.js.map +0 -1
- package/dist/chunks/share-button-DkTpGZk1.esm.js +0 -172
- package/dist/chunks/share-button-Dzc7loia.esm.js.map +0 -1
- package/dist/chunks/types-D_PLq1pj.esm.d.ts +0 -28
- package/dist/chunks/types-DfRc36jU.esm.d.ts +0 -15
- package/dist/chunks/update-cart-ByUvNLyZ.esm.js +0 -2
- package/dist/chunks/update-cart-ByUvNLyZ.esm.js.map +0 -1
- package/dist/chunks/update-cart-yj_9VGHp.esm.js +0 -2
- package/dist/chunks/update-cart-yj_9VGHp.esm.js.map +0 -1
- package/dist/integrations/index.d.ts +0 -31
- package/dist/integrations/index.esm.js +0 -2
- package/dist/integrations/index.esm.js.map +0 -1
- package/dist/integrations/index.js +0 -2
- package/dist/integrations/index.js.map +0 -1
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.esm.js +0 -2
- package/dist/utils/index.esm.js.map +0 -1
- package/dist/utils/index.js +0 -2
- package/dist/utils/index.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as c,s as i}from"./vendor-DUOg5fL-.esm.js";import{q as t}from"./index-Dm-K2MLY.esm.js";import"./lit-BEag9MFp.esm.js";import"./utils-C5hmbxa4.esm.js";import"./lodash-CrMU6wKg.esm.js";const s="https://sdk.beamimpact.com",a=`${s}/lib/shoelace/v${t["@shoelace-style/shoelace"]}`,o=`${s}/lib/lucide-static/v${t["lucide-static"]}`;if(c("lucide",{resolver:e=>`${o}/icons/${e}.svg`}),i(a),document&&!document.querySelector("link[data-beam-impact]")){const e=document.createElement("link");e.href=`${a}/themes/light.css`,e.rel="stylesheet",e.setAttribute("data-beam-impact","true"),document.head.appendChild(e)}
|
|
2
|
+
//# sourceMappingURL=_share-dialog-dependencies-BEUnzuWq.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_share-dialog-dependencies-
|
|
1
|
+
{"version":3,"file":"_share-dialog-dependencies-BEUnzuWq.esm.js","sources":["../../src/shared/shoelace-components.ts"],"sourcesContent":["/**\n * Shoelace is a utility library for web components like icons, dialogs, buttons, etc.\n * https://shoelace.style/\n */\n\nimport { setBasePath } from \"@shoelace-style/shoelace/dist/utilities/base-path.js\";\nimport { registerIconLibrary } from \"@shoelace-style/shoelace/dist/utilities/icon-library.js\";\nimport { dependencies } from \"../../package.json\";\n\nconst CDN_BASE = \"https://sdk.beamimpact.com\";\nconst SHOELACE_BASE = `${CDN_BASE}/lib/shoelace/v${dependencies[\"@shoelace-style/shoelace\"]}`;\nconst ICON_BASE = `${CDN_BASE}/lib/lucide-static/v${dependencies[\"lucide-static\"]}`;\n\nregisterIconLibrary(\"lucide\", {\n resolver: (name: string) => `${ICON_BASE}/icons/${name}.svg`,\n});\n\nsetBasePath(SHOELACE_BASE);\n\nif (document && !document.querySelector(\"link[data-beam-impact]\")) {\n const stylesheet = document.createElement(\"link\");\n stylesheet.href = `${SHOELACE_BASE}/themes/light.css`;\n stylesheet.rel = \"stylesheet\";\n stylesheet.setAttribute(\"data-beam-impact\", \"true\");\n document.head.appendChild(stylesheet);\n}\n"],"names":["CDN_BASE","SHOELACE_BASE","dependencies","ICON_BASE","registerIconLibrary","name","setBasePath","stylesheet"],"mappings":"+LASA,MAAMA,EAAW,6BACXC,EAAgB,GAAGD,CAAQ,kBAAkBE,EAAa,0BAA0B,CAAC,GACrFC,EAAY,GAAGH,CAAQ,uBAAuBE,EAAa,eAAe,CAAC,GAQjF,GANAE,EAAoB,SAAU,CAC5B,SAAWC,GAAiB,GAAGF,CAAS,UAAUE,CAAI,MACxD,CAAC,EAEDC,EAAYL,CAAa,EAErB,UAAY,CAAC,SAAS,cAAc,wBAAwB,EAAG,CACjE,MAAMM,EAAa,SAAS,cAAc,MAAM,EAChDA,EAAW,KAAO,GAAGN,CAAa,oBAClCM,EAAW,IAAM,aACjBA,EAAW,aAAa,mBAAoB,MAAM,EAClD,SAAS,KAAK,YAAYA,CAAU,CACtC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as lodash from 'lodash';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '../components/post-purchase.js';
|
|
5
|
-
import { b as postTransaction } from './routes-OxC3Ah30.esm.js';
|
|
6
|
-
import { T as TUrl, L as LANGUAGES } from './types-DfRc36jU.esm.js';
|
|
2
|
+
import { M as MemoizedLast, d as TCart } from './utils-COGFpDER.esm.js';
|
|
3
|
+
import { B as BeamCartAPIConfig, a as BeamCartValues } from './update-cart-DoJGAdoU.esm.js';
|
|
7
4
|
|
|
8
5
|
type BeamShopifyCartIntegrationConfig = BeamCartAPIConfig & {
|
|
9
6
|
storeId: number;
|
|
@@ -14,6 +11,17 @@ type BeamShopifyCartIntegrationConfig = BeamCartAPIConfig & {
|
|
|
14
11
|
* @return {boolean} returns true if NEW listeners were created, false if setup was already done
|
|
15
12
|
*/
|
|
16
13
|
declare function registerCartIntegration(config: BeamShopifyCartIntegrationConfig, autoUpdateShopifyCartAttributes?: boolean): Promise<boolean>;
|
|
14
|
+
/**
|
|
15
|
+
* @main unregisterCartIntegration - tear down listeners set up by registerCartIntegration.
|
|
16
|
+
* Pass { clearStorage: true } to also wipe Beam's localStorage/cookies in the same call
|
|
17
|
+
* (clearBeamStorage from src/utils, which is also callable on its own — for cases that want
|
|
18
|
+
* storage cleared without touching listeners, or independently of this integration entirely).
|
|
19
|
+
* @return {boolean} true if this page load's listeners were torn down, false if
|
|
20
|
+
* registerCartIntegration never ran this session (storage still clears if requested, either way)
|
|
21
|
+
*/
|
|
22
|
+
declare function unregisterCartIntegration(config: BeamShopifyCartIntegrationConfig, { clearStorage }?: {
|
|
23
|
+
clearStorage?: boolean;
|
|
24
|
+
}): Promise<boolean>;
|
|
17
25
|
declare function appendToShopifyCartBeamAttribute(config: BeamShopifyCartIntegrationConfig): Promise<void>;
|
|
18
26
|
/**
|
|
19
27
|
* Gathers the base Beam data needed for updating a Shopify cart's metadata
|
|
@@ -37,7 +45,7 @@ declare const appendStatsigToShopifyCartAttributes: typeof appendToShopifyCartBe
|
|
|
37
45
|
* - Form-based carts where the page refreshes to modify cart instead of using AJAX calls
|
|
38
46
|
* - Hydrogen/GraphQL based carts (needs to be integrated manually)
|
|
39
47
|
*/
|
|
40
|
-
declare function getCurrentCart(config: BeamShopifyCartIntegrationConfig): Promise<{
|
|
48
|
+
declare function getCurrentCart(config: BeamShopifyCartIntegrationConfig, signal?: AbortSignal): Promise<{
|
|
41
49
|
changed: boolean;
|
|
42
50
|
cart: {
|
|
43
51
|
cartId: string;
|
|
@@ -49,7 +57,7 @@ declare function getCurrentCart(config: BeamShopifyCartIntegrationConfig): Promi
|
|
|
49
57
|
/**
|
|
50
58
|
* trackCart - Backwards-compatible alias for updateCart
|
|
51
59
|
*/
|
|
52
|
-
declare const trackCart: lodash.DebouncedFuncLeading<(config: BeamCartAPIConfig, cartValues: BeamCartValues, isFirstCartUpdateOnPageLoad?: any) => Promise<void
|
|
60
|
+
declare const trackCart: lodash.DebouncedFuncLeading<MemoizedLast<(config: BeamCartAPIConfig, cartValues: BeamCartValues, isFirstCartUpdateOnPageLoad?: any) => Promise<void>>>;
|
|
53
61
|
/**
|
|
54
62
|
* Helper function to get the Shopify cart attributes
|
|
55
63
|
*/
|
|
@@ -59,7 +67,7 @@ declare const getShopifyCart: () => Promise<any>;
|
|
|
59
67
|
* Memoized so that calls with the same data as the previous don't create additional API calls to Shopify.
|
|
60
68
|
* This will do an append, not a full overwrite of the attributes in the beam property
|
|
61
69
|
*/
|
|
62
|
-
declare const appendBeamAttributesToCart: (args_0: {
|
|
70
|
+
declare const appendBeamAttributesToCart: MemoizedLast<(args_0: {
|
|
63
71
|
selectedNonprofitId?: number | null;
|
|
64
72
|
selectionId?: string;
|
|
65
73
|
beamCartId?: string;
|
|
@@ -68,46 +76,26 @@ declare const appendBeamAttributesToCart: (args_0: {
|
|
|
68
76
|
storeId?: number;
|
|
69
77
|
showBeam?: boolean;
|
|
70
78
|
remoteSessionId?: string;
|
|
71
|
-
}) => Promise<void
|
|
79
|
+
}) => Promise<void>>;
|
|
72
80
|
/**
|
|
73
81
|
* Sends Beam data to Shopify to integrate with order as custom attributes.
|
|
74
82
|
* Memoized so that calls with the same data as the previous don't create additional API calls to Shopify.
|
|
75
83
|
* This method force-updates the "beam" attribute with the values passed in
|
|
76
84
|
*/
|
|
77
|
-
declare const addBeamAttributesToCart: (args_0: {
|
|
85
|
+
declare const addBeamAttributesToCart: MemoizedLast<(args_0: {
|
|
78
86
|
selectedNonprofitId?: number | null;
|
|
79
87
|
selectionId?: string;
|
|
80
88
|
beamCartId?: string;
|
|
81
89
|
cartId?: string;
|
|
82
90
|
chainId?: number;
|
|
83
91
|
storeId?: number;
|
|
84
|
-
}) => Promise<void
|
|
92
|
+
}) => Promise<void>>;
|
|
85
93
|
declare global {
|
|
86
94
|
interface Window {
|
|
87
95
|
statsig?: any;
|
|
96
|
+
Shopify?: any;
|
|
88
97
|
}
|
|
89
98
|
}
|
|
90
99
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
postalCode?: string;
|
|
94
|
-
countryCode?: string;
|
|
95
|
-
orderId: string;
|
|
96
|
-
email: string;
|
|
97
|
-
cartTotal: number;
|
|
98
|
-
cart: TCart;
|
|
99
|
-
discountCodes: string[];
|
|
100
|
-
promoCodes: string[];
|
|
101
|
-
htmlPromoCodes: string;
|
|
102
|
-
currencyCode: string;
|
|
103
|
-
parentSelector: string;
|
|
104
|
-
apiKey: string;
|
|
105
|
-
baseUrl: TUrl;
|
|
106
|
-
domain?: string;
|
|
107
|
-
lang: LANGUAGES;
|
|
108
|
-
debug: boolean;
|
|
109
|
-
};
|
|
110
|
-
declare function showBeamOrderPageWidgets({ parentSelector, apiKey, baseUrl, storeId, postalCode, discountCodes, countryCode, orderId, email, cartTotal, cart, promoCodes, htmlPromoCodes, currencyCode, domain, lang, debug, }: TBeamOrderPageParams): Promise<void>;
|
|
111
|
-
|
|
112
|
-
export { addBeamAttributesToCart as a, appendBeamAttributesToCart as b, appendStatsigToShopifyCartAttributes as c, appendToShopifyCartBeamAttribute as d, getCurrentCart as e, getShopifyCart as f, getBeamAttributesForCart as g, registerCartIntegration as r, showBeamOrderPageWidgets as s, trackCart as t };
|
|
113
|
-
export type { BeamShopifyCartIntegrationConfig as B, TBeamOrderPageParams as T };
|
|
100
|
+
export { addBeamAttributesToCart as a, appendBeamAttributesToCart as b, appendStatsigToShopifyCartAttributes as c, appendToShopifyCartBeamAttribute as d, getCurrentCart as e, getShopifyCart as f, getBeamAttributesForCart as g, registerCartIntegration as r, trackCart as t, unregisterCartIntegration as u };
|
|
101
|
+
export type { BeamShopifyCartIntegrationConfig as B };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{i as n,m as r}from"./lit-BEag9MFp.esm.js";import{P as d,l}from"./utils-C5hmbxa4.esm.js";const g=n`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;function s(t,e=t.tagName){customElements.get(e)||customElements.define(e,t)}function m(t,e){const i=[],a=e;for(const o of t)a[o]==null&&i.push(o);if(i.length>0)throw l.error(`Beam Impact - Missing Required Config Values:
|
|
2
|
+
`,i.join(", "),e),new d(i);return!0}function u(t,e){return t.every(i=>i in e&&e[i]!=null)}const c=({className:t="cardGrid",gap:e="30px",columnCount:i=2,itemMinWidth:a="300px"}={})=>n`
|
|
3
|
+
.${r(t)} {
|
|
4
|
+
--grid-layout-gap: ${r(e)};
|
|
5
|
+
--grid-column-count: ${r(i)};
|
|
6
|
+
--grid-item--min-width: ${r(a)};
|
|
7
|
+
|
|
8
|
+
--gap-count: calc(var(--grid-column-count) - 1);
|
|
9
|
+
--total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
|
|
10
|
+
--grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
|
|
11
|
+
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(
|
|
14
|
+
auto-fill,
|
|
15
|
+
minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr)
|
|
16
|
+
);
|
|
17
|
+
grid-gap: var(--grid-layout-gap);
|
|
18
|
+
grid-auto-rows: 1fr; /* make all the rows the same height */
|
|
19
|
+
}
|
|
20
|
+
`;export{c as a,u as b,g as c,s as d,m as e};
|
|
21
|
+
//# sourceMappingURL=css-card-grid-CiqEjkwR.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-card-grid-CiqEjkwR.esm.js","sources":["../../src/shared/css-reset.ts","../../src/shared/defineCustomElement.ts","../../src/shared/enforce-config.ts","../../src/shared/fragments/css-card-grid.ts"],"sourcesContent":["import { css } from \"lit\";\n\n// minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css\n// prettier-ignore\nexport const cssReset = css`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;\n","/**\n * Defines a custom element based on its static tagName property\n */\nexport function defineCustomElement(\n CustomElementClass: CustomElementConstructor & { tagName: string },\n tagName = CustomElementClass[\"tagName\"],\n) {\n customElements.get(tagName) || customElements.define(tagName, CustomElementClass);\n}\n","import { MissingConfig } from \"../utils/beam-errors\";\nimport { logger } from \"../utils/logger\";\n\nexport function enforceConfig<T>(keys: (keyof T)[], input: unknown): input is Required<T> {\n const missingKeys: string[] = [];\n const check = input as Record<string | number | symbol, unknown>;\n for (const key of keys) {\n if (check[key] == null) {\n missingKeys.push(key as string);\n }\n }\n if (missingKeys.length > 0) {\n logger.error(\"Beam Impact - Missing Required Config Values:\\n\", missingKeys.join(\", \"), input);\n throw new MissingConfig(missingKeys);\n }\n return true;\n}\n\nexport function areRequiredKeysDefined<T extends object>(requiredKeys: (keyof T)[], config: T): boolean {\n return requiredKeys.every((key) => key in config && config[key] != null);\n}\n","import { css, unsafeCSS } from \"lit\";\n\nexport const cssCardGrid = ({\n className = \"cardGrid\",\n gap = \"30px\",\n columnCount = 2,\n itemMinWidth = \"300px\",\n}: { className?: string; gap?: string; columnCount?: number | string; itemMinWidth?: string } = {}) => css`\n .${unsafeCSS(className)} {\n --grid-layout-gap: ${unsafeCSS(gap)};\n --grid-column-count: ${unsafeCSS(columnCount)};\n --grid-item--min-width: ${unsafeCSS(itemMinWidth)};\n\n --gap-count: calc(var(--grid-column-count) - 1);\n --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));\n --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));\n\n display: grid;\n grid-template-columns: repeat(\n auto-fill,\n minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr)\n );\n grid-gap: var(--grid-layout-gap);\n grid-auto-rows: 1fr; /* make all the rows the same height */\n }\n`;\n"],"names":["cssReset","css","defineCustomElement","CustomElementClass","tagName","enforceConfig","keys","input","missingKeys","check","key","logger","MissingConfig","areRequiredKeysDefined","requiredKeys","config","cssCardGrid","className","gap","columnCount","itemMinWidth","unsafeCSS"],"mappings":"+FAIO,MAAMA,EAAWC,gaCDjB,SAASC,EACdC,EACAC,EAAUD,EAAmB,QAC7B,CACA,eAAe,IAAIC,CAAO,GAAK,eAAe,OAAOA,EAASD,CAAkB,CAClF,CCLO,SAASE,EAAiBC,EAAmBC,EAAsC,CACxF,MAAMC,EAAwB,CAAA,EACxBC,EAAQF,EACd,UAAWG,KAAOJ,EACZG,EAAMC,CAAG,GAAK,MAChBF,EAAY,KAAKE,CAAa,EAGlC,GAAIF,EAAY,OAAS,EACvB,MAAAG,EAAO,MAAM;AAAA,EAAmDH,EAAY,KAAK,IAAI,EAAGD,CAAK,EACvF,IAAIK,EAAcJ,CAAW,EAErC,MAAO,EACT,CAEO,SAASK,EAAyCC,EAA2BC,EAAoB,CACtG,OAAOD,EAAa,MAAOJ,GAAQA,KAAOK,GAAUA,EAAOL,CAAG,GAAK,IAAI,CACzE,CClBO,MAAMM,EAAc,CAAC,CAC1B,UAAAC,EAAY,WACZ,IAAAC,EAAM,OACN,YAAAC,EAAc,EACd,aAAAC,EAAe,OACjB,EAAgG,CAAA,IAAOnB;AAAAA,KAClGoB,EAAUJ,CAAS,CAAC;AAAA,yBACAI,EAAUH,CAAG,CAAC;AAAA,2BACZG,EAAUF,CAAW,CAAC;AAAA,8BACnBE,EAAUD,CAAY,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function Tt(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var le={exports:{}},ce={exports:{}},J={},G={},Ge;function W(){if(Ge)return G;Ge=1,G.__esModule=!0,G.extend=S,G.indexOf=a,G.escapeExpression=s,G.isEmpty=n,G.createFrame=l,G.blockParams=r,G.appendContextPath=t;var m={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},v=/[&<>"'`=]/g,b=/[&<>"'`=]/;function _(e){return m[e]}function S(e){for(var i=1;i<arguments.length;i++)for(var o in arguments[i])Object.prototype.hasOwnProperty.call(arguments[i],o)&&(e[o]=arguments[i][o]);return e}var p=Object.prototype.toString;G.toString=p;var d=function(i){return typeof i=="function"};d(/x/)&&(G.isFunction=d=function(e){return typeof e=="function"&&p.call(e)==="[object Function]"}),G.isFunction=d;var c=Array.isArray||function(e){return e&&typeof e=="object"?p.call(e)==="[object Array]":!1};G.isArray=c;function a(e,i){for(var o=0,u=e.length;o<u;o++)if(e[o]===i)return o;return-1}function s(e){if(typeof e!="string"){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}return b.test(e)?e.replace(v,_):e}function n(e){return!e&&e!==0?!0:!!(c(e)&&e.length===0)}function l(e){var i=S({},e);return i._parent=e,i}function r(e,i){return e.path=i,e}function t(e,i){return(e?e+".":"")+i}return G}var he={exports:{}},We;function Y(){return We||(We=1,(function(m,v){v.__esModule=!0;var b=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function _(S,p){var d=p&&p.loc,c=void 0,a=void 0,s=void 0,n=void 0;d&&(c=d.start.line,a=d.end.line,s=d.start.column,n=d.end.column,S+=" - "+c+":"+s);for(var l=Error.prototype.constructor.call(this,S),r=0;r<b.length;r++)this[b[r]]=l[b[r]];Error.captureStackTrace&&Error.captureStackTrace(this,_);try{d&&(this.lineNumber=c,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:n,enumerable:!0})):(this.column=s,this.endColumn=n))}catch{}}_.prototype=new Error,v.default=_,m.exports=v.default})(he,he.exports)),he.exports}var ie={},fe={exports:{}},Ue;function Ft(){return Ue||(Ue=1,(function(m,v){v.__esModule=!0;var b=W();v.default=function(_){_.registerHelper("blockHelperMissing",function(S,p){var d=p.inverse,c=p.fn;if(S===!0)return c(this);if(S===!1||S==null)return d(this);if(b.isArray(S))return S.length>0?(p.ids&&(p.ids=[p.name]),_.helpers.each(S,p)):d(this);if(p.data&&p.ids){var a=b.createFrame(p.data);a.contextPath=b.appendContextPath(p.data.contextPath,p.name),p={data:a}}return c(S,p)})},m.exports=v.default})(fe,fe.exports)),fe.exports}var pe={exports:{}},Ke;function Vt(){return Ke||(Ke=1,(function(m,v){v.__esModule=!0;function b(d){return d&&d.__esModule?d:{default:d}}var _=W(),S=Y(),p=b(S);v.default=function(d){d.registerHelper("each",function(c,a){if(!a)throw new p.default("Must pass iterator to #each");var s=a.fn,n=a.inverse,l=0,r="",t=void 0,e=void 0;a.data&&a.ids&&(e=_.appendContextPath(a.data.contextPath,a.ids[0])+"."),_.isFunction(c)&&(c=c.call(this)),a.data&&(t=_.createFrame(a.data));function i(g,h,C){t&&(t.key=g,t.index=h,t.first=h===0,t.last=!!C,e&&(t.contextPath=e+g)),r=r+s(c[g],{data:t,blockParams:_.blockParams([c[g],g],[e+g,null])})}if(c&&typeof c=="object")if(_.isArray(c))for(var o=c.length;l<o;l++)l in c&&i(l,l,l===c.length-1);else if(typeof Symbol=="function"&&c[Symbol.iterator]){for(var u=[],f=c[Symbol.iterator](),k=f.next();!k.done;k=f.next())u.push(k.value);c=u;for(var o=c.length;l<o;l++)i(l,l,l===c.length-1)}else(function(){var g=void 0;Object.keys(c).forEach(function(h){g!==void 0&&i(g,l-1),g=h,l++}),g!==void 0&&i(g,l-1,!0)})();return l===0&&(r=n(this)),r})},m.exports=v.default})(pe,pe.exports)),pe.exports}var de={exports:{}},Ye;function Gt(){return Ye||(Ye=1,(function(m,v){v.__esModule=!0;function b(p){return p&&p.__esModule?p:{default:p}}var _=Y(),S=b(_);v.default=function(p){p.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new S.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},m.exports=v.default})(de,de.exports)),de.exports}var ge={exports:{}},Je;function Wt(){return Je||(Je=1,(function(m,v){v.__esModule=!0;function b(d){return d&&d.__esModule?d:{default:d}}var _=W(),S=Y(),p=b(S);v.default=function(d){d.registerHelper("if",function(c,a){if(arguments.length!=2)throw new p.default("#if requires exactly one argument");return _.isFunction(c)&&(c=c.call(this)),!a.hash.includeZero&&!c||_.isEmpty(c)?a.inverse(this):a.fn(this)}),d.registerHelper("unless",function(c,a){if(arguments.length!=2)throw new p.default("#unless requires exactly one argument");return d.helpers.if.call(this,c,{fn:a.inverse,inverse:a.fn,hash:a.hash})})},m.exports=v.default})(ge,ge.exports)),ge.exports}var me={exports:{}},ze;function Ut(){return ze||(ze=1,(function(m,v){v.__esModule=!0,v.default=function(b){b.registerHelper("log",function(){for(var _=[void 0],S=arguments[arguments.length-1],p=0;p<arguments.length-1;p++)_.push(arguments[p]);var d=1;S.hash.level!=null?d=S.hash.level:S.data&&S.data.level!=null&&(d=S.data.level),_[0]=d,b.log.apply(b,_)})},m.exports=v.default})(me,me.exports)),me.exports}var ve={exports:{}},Qe;function Kt(){return Qe||(Qe=1,(function(m,v){v.__esModule=!0,v.default=function(b){b.registerHelper("lookup",function(_,S,p){return _&&p.lookupProperty(_,S)})},m.exports=v.default})(ve,ve.exports)),ve.exports}var _e={exports:{}},Ze;function Yt(){return Ze||(Ze=1,(function(m,v){v.__esModule=!0;function b(d){return d&&d.__esModule?d:{default:d}}var _=W(),S=Y(),p=b(S);v.default=function(d){d.registerHelper("with",function(c,a){if(arguments.length!=2)throw new p.default("#with requires exactly one argument");_.isFunction(c)&&(c=c.call(this));var s=a.fn;if(_.isEmpty(c))return a.inverse(this);var n=a.data;return a.data&&a.ids&&(n=_.createFrame(a.data),n.contextPath=_.appendContextPath(a.data.contextPath,a.ids[0])),s(c,{data:n,blockParams:_.blockParams([c],[n&&n.contextPath])})})},m.exports=v.default})(_e,_e.exports)),_e.exports}var Xe;function je(){if(Xe)return ie;Xe=1,ie.__esModule=!0,ie.registerDefaultHelpers=i,ie.moveHelperToHooks=o;function m(u){return u&&u.__esModule?u:{default:u}}var v=Ft(),b=m(v),_=Vt(),S=m(_),p=Gt(),d=m(p),c=Wt(),a=m(c),s=Ut(),n=m(s),l=Kt(),r=m(l),t=Yt(),e=m(t);function i(u){b.default(u),S.default(u),d.default(u),a.default(u),n.default(u),r.default(u),e.default(u)}function o(u,f,k){u.helpers[f]&&(u.hooks[f]=u.helpers[f],k||(u.helpers[f]=void 0))}return ie}var Se={},ye={exports:{}},$e;function Jt(){return $e||($e=1,(function(m,v){v.__esModule=!0;var b=W();v.default=function(_){_.registerDecorator("inline",function(S,p,d,c){var a=S;return p.partials||(p.partials={},a=function(s,n){var l=d.partials;d.partials=b.extend({},l,p.partials);var r=S(s,n);return d.partials=l,r}),p.partials[c.args[0]]=c.fn,a})},m.exports=v.default})(ye,ye.exports)),ye.exports}var et;function zt(){if(et)return Se;et=1,Se.__esModule=!0,Se.registerDefaultDecorators=_;function m(S){return S&&S.__esModule?S:{default:S}}var v=Jt(),b=m(v);function _(S){b.default(S)}return Se}var ke={exports:{}},tt;function rt(){return tt||(tt=1,(function(m,v){v.__esModule=!0;var b=W(),_={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(p){if(typeof p=="string"){var d=b.indexOf(_.methodMap,p.toLowerCase());d>=0?p=d:p=parseInt(p,10)}return p},log:function(p){if(p=_.lookupLevel(p),typeof console<"u"&&_.lookupLevel(_.level)<=p){var d=_.methodMap[p];console[d]||(d="log");for(var c=arguments.length,a=Array(c>1?c-1:0),s=1;s<c;s++)a[s-1]=arguments[s];console[d].apply(console,a)}}};v.default=_,m.exports=v.default})(ke,ke.exports)),ke.exports}var $={},nt;function it(){if(nt)return $;nt=1,$.__esModule=!0,$.createProtoAccessControl=p,$.resultIsAllowed=d,$.resetLoggedProperties=s;function m(n){return n&&n.__esModule?n:{default:n}}var v=W(),b=rt(),_=m(b),S=Object.create(null);function p(n){var l=Object.create(null);l.__proto__=!1,v.extend(l,n.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,v.extend(r,n.allowedProtoMethods),{properties:{whitelist:l,defaultValue:n.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:n.allowProtoMethodsByDefault}}}function d(n,l,r){return c(typeof n=="function"?l.methods:l.properties,r)}function c(n,l){return n.whitelist[l]!==void 0?n.whitelist[l]===!0:n.defaultValue!==void 0?n.defaultValue:(a(l),!1)}function a(n){S[n]!==!0&&(S[n]=!0,_.default.log("error",'Handlebars: Access has been denied to resolve the property "'+n+`" because it is not an "own property" of its parent.
|
|
2
|
+
You can add a runtime option to disable the check or this warning:
|
|
3
|
+
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function s(){Object.keys(S).forEach(function(n){delete S[n]})}return $}var st;function Ne(){if(st)return J;st=1,J.__esModule=!0,J.HandlebarsEnvironment=e;function m(o){return o&&o.__esModule?o:{default:o}}var v=W(),b=Y(),_=m(b),S=je(),p=zt(),d=rt(),c=m(d),a=it(),s="4.7.9";J.VERSION=s;var n=8;J.COMPILER_REVISION=n;var l=7;J.LAST_COMPATIBLE_COMPILER_REVISION=l;var r={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};J.REVISION_CHANGES=r;var t="[object Object]";function e(o,u,f){this.helpers=o||{},this.partials=u||{},this.decorators=f||{},S.registerDefaultHelpers(this),p.registerDefaultDecorators(this)}e.prototype={constructor:e,logger:c.default,log:c.default.log,registerHelper:function(u,f){if(v.toString.call(u)===t){if(f)throw new _.default("Arg not supported with multiple helpers");v.extend(this.helpers,u)}else this.helpers[u]=f},unregisterHelper:function(u){delete this.helpers[u]},registerPartial:function(u,f){if(v.toString.call(u)===t)v.extend(this.partials,u);else{if(typeof f>"u")throw new _.default('Attempting to register a partial called "'+u+'" as undefined');this.partials[u]=f}},unregisterPartial:function(u){delete this.partials[u]},registerDecorator:function(u,f){if(v.toString.call(u)===t){if(f)throw new _.default("Arg not supported with multiple decorators");v.extend(this.decorators,u)}else this.decorators[u]=f},unregisterDecorator:function(u){delete this.decorators[u]},resetLoggedPropertyAccesses:function(){a.resetLoggedProperties()}};var i=c.default.log;return J.log=i,J.createFrame=v.createFrame,J.logger=c.default,J}var be={exports:{}},at;function Qt(){return at||(at=1,(function(m,v){v.__esModule=!0;function b(_){this.string=_}b.prototype.toString=b.prototype.toHTML=function(){return""+this.string},v.default=b,m.exports=v.default})(be,be.exports)),be.exports}var z={},Ce={},ot;function Zt(){if(ot)return Ce;ot=1,Ce.__esModule=!0,Ce.wrapHelper=m;function m(v,b){if(typeof v!="function")return v;var _=function(){var p=arguments[arguments.length-1];return arguments[arguments.length-1]=b(p),v.apply(this,arguments)};return _}return Ce}var ut;function Xt(){if(ut)return z;ut=1,z.__esModule=!0,z.checkRevision=n,z.template=l,z.wrapProgram=r,z.resolvePartial=t,z.invokePartial=e,z.noop=i;function m(h){return h&&h.__esModule?h:{default:h}}function v(h){if(h&&h.__esModule)return h;var C={};if(h!=null)for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(C[y]=h[y]);return C.default=h,C}var b=W(),_=v(b),S=Y(),p=m(S),d=Ne(),c=je(),a=Zt(),s=it();function n(h){var C=h&&h[0]||1,y=d.COMPILER_REVISION;if(!(C>=d.LAST_COMPATIBLE_COMPILER_REVISION&&C<=d.COMPILER_REVISION))if(C<d.LAST_COMPATIBLE_COMPILER_REVISION){var A=d.REVISION_CHANGES[y],I=d.REVISION_CHANGES[C];throw new p.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+A+") or downgrade your runtime to an older version ("+I+").")}else throw new p.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+h[1]+").")}function l(h,C){if(!C)throw new p.default("No environment passed to template");if(!h||!h.main)throw new p.default("Unknown template object: "+typeof h);h.main.decorator=h.main_d,C.VM.checkRevision(h.compiler);var y=h.compiler&&h.compiler[0]===7;function A(P,M,x){x.hash&&(M=_.extend({},M,x.hash),x.ids&&(x.ids[0]=!0)),P=C.VM.resolvePartial.call(this,P,M,x),x.hooks=this.hooks,x.protoAccessControl=this.protoAccessControl;var E=C.VM.invokePartial.call(this,P,M,x);if(E==null&&C.compile&&(x.partials[x.name]=C.compile(P,h.compilerOptions,C),E=x.partials[x.name](M,x)),E!=null){if(x.indent){for(var L=E.split(`
|
|
4
|
+
`),w=0,N=L.length;w<N&&!(!L[w]&&w+1===N);w++)L[w]=x.indent+L[w];E=L.join(`
|
|
5
|
+
`)}return E}else throw new p.default("The partial "+x.name+" could not be compiled when running in runtime-only mode")}var I={strict:function(M,x,E){if(!M||!(x in M))throw new p.default('"'+x+'" not defined in '+M,{loc:E});return I.lookupProperty(M,x)},lookupProperty:function(M,x){var E=M[x];if(E==null||Object.prototype.hasOwnProperty.call(M,x)||s.resultIsAllowed(E,I.protoAccessControl,x))return E},lookup:function(M,x){for(var E=M.length,L=0;L<E;L++){var w=M[L]&&I.lookupProperty(M[L],x);if(w!=null)return w}},lambda:function(M,x){return typeof M=="function"?M.call(x):M},escapeExpression:_.escapeExpression,invokePartial:A,fn:function(M){var x=h[M];return x.decorator=h[M+"_d"],x},programs:[],program:function(M,x,E,L,w){var N=this.programs[M],O=this.fn(M);return x||w||L||E?N=r(this,M,O,x,E,L,w):N||(N=this.programs[M]=r(this,M,O)),N},data:function(M,x){for(;M&&x--;)M=M._parent;return M},mergeIfNeeded:function(M,x){var E=M||x;return M&&x&&M!==x&&(E=_.extend({},x,M)),E},nullContext:Object.seal({}),noop:C.VM.noop,compilerInfo:h.compiler};function R(P){var M=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],x=M.data;R._setup(M),!M.partial&&h.useData&&(x=u(P,x));var E=void 0,L=h.useBlockParams?[]:void 0;h.useDepths&&(M.depths?E=P!=M.depths[0]?[P].concat(M.depths):M.depths:E=[P]);function w(N){return""+h.main(I,N,I.helpers,I.partials,x,L,E)}return w=f(h.main,w,I,M.depths||[],x,L),w(P,M)}return R.isTop=!0,R._setup=function(P){if(P.partial)I.protoAccessControl=P.protoAccessControl,I.helpers=P.helpers,I.partials=P.partials,I.decorators=P.decorators,I.hooks=P.hooks;else{var M={};k(M,C.helpers,I),k(M,P.helpers,I),I.helpers=M,h.usePartial&&(I.partials=I.mergeIfNeeded(P.partials,C.partials)),(h.usePartial||h.useDecorators)&&(I.decorators=_.extend({},C.decorators,P.decorators)),I.hooks={},I.protoAccessControl=s.createProtoAccessControl(P);var x=P.allowCallsToHelperMissing||y;c.moveHelperToHooks(I,"helperMissing",x),c.moveHelperToHooks(I,"blockHelperMissing",x)}},R._child=function(P,M,x,E){if(h.useBlockParams&&!x)throw new p.default("must pass block params");if(h.useDepths&&!E)throw new p.default("must pass parent depths");return r(I,P,h[P],M,0,x,E)},R}function r(h,C,y,A,I,R,P){function M(x){var E=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],L=P;return P&&x!=P[0]&&!(x===h.nullContext&&P[0]===null)&&(L=[x].concat(P)),y(h,x,h.helpers,h.partials,E.data||A,R&&[E.blockParams].concat(R),L)}return M=f(y,M,h,P,A,R),M.program=C,M.depth=P?P.length:0,M.blockParams=I||0,M}function t(h,C,y){return h?!h.call&&!y.name&&(y.name=h,h=o(y.partials,h)):y.name==="@partial-block"?h=o(y.data,"partial-block"):h=o(y.partials,y.name),h}function e(h,C,y){var A=o(y.data,"partial-block");y.partial=!0,y.ids&&(y.data.contextPath=y.ids[0]||y.data.contextPath);var I=void 0;if(y.fn&&y.fn!==i&&(function(){y.data=d.createFrame(y.data);var R=y.fn;I=y.data["partial-block"]=function(M){var x=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return x.data=d.createFrame(x.data),x.data["partial-block"]=A,R(M,x)},R.partials&&(y.partials=_.extend({},y.partials,R.partials))})(),h===void 0&&I&&(h=I),h===void 0)throw new p.default("The partial "+y.name+" could not be found");if(h instanceof Function)return h(C,y)}function i(){return""}function o(h,C){if(h&&Object.prototype.hasOwnProperty.call(h,C))return h[C]}function u(h,C){return(!C||!("root"in C))&&(C=C?d.createFrame(C):{},C.root=h),C}function f(h,C,y,A,I,R){if(h.decorator){var P={};C=h.decorator(C,P,y,A&&A[0],I,R,A),_.extend(C,P)}return C}function k(h,C,y){C&&Object.keys(C).forEach(function(A){var I=C[A];h[A]=g(I,y)})}function g(h,C){var y=C.lookupProperty;return a.wrapHelper(h,function(A){return A.lookupProperty=y,A})}return z}var Pe={exports:{}},lt;function ct(){return lt||(lt=1,(function(m,v){v.__esModule=!0,v.default=function(b){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var _=globalThis.Handlebars;b.noConflict=function(){return globalThis.Handlebars===b&&(globalThis.Handlebars=_),b}},m.exports=v.default})(Pe,Pe.exports)),Pe.exports}var ht;function jt(){return ht||(ht=1,(function(m,v){v.__esModule=!0;function b(f){return f&&f.__esModule?f:{default:f}}function _(f){if(f&&f.__esModule)return f;var k={};if(f!=null)for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(k[g]=f[g]);return k.default=f,k}var S=Ne(),p=_(S),d=Qt(),c=b(d),a=Y(),s=b(a),n=W(),l=_(n),r=Xt(),t=_(r),e=ct(),i=b(e);function o(){var f=new p.HandlebarsEnvironment;return l.extend(f,p),f.SafeString=c.default,f.Exception=s.default,f.Utils=l,f.escapeExpression=l.escapeExpression,f.VM=t,f.template=function(k){return t.template(k,f)},f}var u=o();u.create=o,i.default(u),u.default=u,v.default=u,m.exports=v.default})(ce,ce.exports)),ce.exports}var we={exports:{}},ft;function pt(){return ft||(ft=1,(function(m,v){v.__esModule=!0;var b={helpers:{helperExpression:function(S){return S.type==="SubExpression"||(S.type==="MustacheStatement"||S.type==="BlockStatement")&&!!(S.params&&S.params.length||S.hash)},scopedId:function(S){return/^\.|this\b/.test(S.original)},simpleId:function(S){return S.parts.length===1&&!b.helpers.scopedId(S)&&!S.depth}}};v.default=b,m.exports=v.default})(we,we.exports)),we.exports}var ee={},Le={exports:{}},dt;function $t(){return dt||(dt=1,(function(m,v){v.__esModule=!0;var b=(function(){var _={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(c,a,s,n,l,r,t){var e=r.length-1;switch(l){case 1:return r[e-1];case 2:this.$=n.prepareProgram(r[e]);break;case 3:this.$=r[e];break;case 4:this.$=r[e];break;case 5:this.$=r[e];break;case 6:this.$=r[e];break;case 7:this.$=r[e];break;case 8:this.$=r[e];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(r[e]),strip:n.stripFlags(r[e],r[e]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:r[e],value:r[e],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(r[e-2],r[e-1],r[e],this._$);break;case 12:this.$={path:r[e-3],params:r[e-2],hash:r[e-1]};break;case 13:this.$=n.prepareBlock(r[e-3],r[e-2],r[e-1],r[e],!1,this._$);break;case 14:this.$=n.prepareBlock(r[e-3],r[e-2],r[e-1],r[e],!0,this._$);break;case 15:this.$={open:r[e-5],path:r[e-4],params:r[e-3],hash:r[e-2],blockParams:r[e-1],strip:n.stripFlags(r[e-5],r[e])};break;case 16:this.$={path:r[e-4],params:r[e-3],hash:r[e-2],blockParams:r[e-1],strip:n.stripFlags(r[e-5],r[e])};break;case 17:this.$={path:r[e-4],params:r[e-3],hash:r[e-2],blockParams:r[e-1],strip:n.stripFlags(r[e-5],r[e])};break;case 18:this.$={strip:n.stripFlags(r[e-1],r[e-1]),program:r[e]};break;case 19:var i=n.prepareBlock(r[e-2],r[e-1],r[e],r[e],!1,this._$),o=n.prepareProgram([i],r[e-1].loc);o.chained=!0,this.$={strip:r[e-2].strip,program:o,chain:!0};break;case 20:this.$=r[e];break;case 21:this.$={path:r[e-1],strip:n.stripFlags(r[e-2],r[e])};break;case 22:this.$=n.prepareMustache(r[e-3],r[e-2],r[e-1],r[e-4],n.stripFlags(r[e-4],r[e]),this._$);break;case 23:this.$=n.prepareMustache(r[e-3],r[e-2],r[e-1],r[e-4],n.stripFlags(r[e-4],r[e]),this._$);break;case 24:this.$={type:"PartialStatement",name:r[e-3],params:r[e-2],hash:r[e-1],indent:"",strip:n.stripFlags(r[e-4],r[e]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(r[e-2],r[e-1],r[e],this._$);break;case 26:this.$={path:r[e-3],params:r[e-2],hash:r[e-1],strip:n.stripFlags(r[e-4],r[e])};break;case 27:this.$=r[e];break;case 28:this.$=r[e];break;case 29:this.$={type:"SubExpression",path:r[e-3],params:r[e-2],hash:r[e-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:r[e],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(r[e-2]),value:r[e],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(r[e-1]);break;case 33:this.$=r[e];break;case 34:this.$=r[e];break;case 35:this.$={type:"StringLiteral",value:r[e],original:r[e],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(r[e]),original:Number(r[e]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:r[e]==="true",original:r[e]==="true",loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:this.$=r[e];break;case 41:this.$=r[e];break;case 42:this.$=n.preparePath(!0,r[e],this._$);break;case 43:this.$=n.preparePath(!1,r[e],this._$);break;case 44:r[e-2].push({part:n.id(r[e]),original:r[e],separator:r[e-1]}),this.$=r[e-2];break;case 45:this.$=[{part:n.id(r[e]),original:r[e]}];break;case 46:this.$=[];break;case 47:r[e-1].push(r[e]);break;case 48:this.$=[];break;case 49:r[e-1].push(r[e]);break;case 50:this.$=[];break;case 51:r[e-1].push(r[e]);break;case 58:this.$=[];break;case 59:r[e-1].push(r[e]);break;case 64:this.$=[];break;case 65:r[e-1].push(r[e]);break;case 70:this.$=[];break;case 71:r[e-1].push(r[e]);break;case 78:this.$=[];break;case 79:r[e-1].push(r[e]);break;case 82:this.$=[];break;case 83:r[e-1].push(r[e]);break;case 86:this.$=[];break;case 87:r[e-1].push(r[e]);break;case 90:this.$=[];break;case 91:r[e-1].push(r[e]);break;case 94:this.$=[];break;case 95:r[e-1].push(r[e]);break;case 98:this.$=[r[e]];break;case 99:r[e-1].push(r[e]);break;case 100:this.$=[r[e]];break;case 101:r[e-1].push(r[e]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(c,a){throw new Error(c)},parse:function(c){var a=this,s=[0],n=[null],l=[],r=this.table,t="",e=0,i=0;this.lexer.setInput(c),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var o=this.lexer.yylloc;l.push(o);var u=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function f(){var x;return x=a.lexer.lex()||1,typeof x!="number"&&(x=a.symbols_[x]||x),x}for(var k,g,h,C,y={},A,I,R,P;;){if(g=s[s.length-1],this.defaultActions[g]?h=this.defaultActions[g]:((k===null||typeof k>"u")&&(k=f()),h=r[g]&&r[g][k]),typeof h>"u"||!h.length||!h[0]){var M="";{P=[];for(A in r[g])this.terminals_[A]&&A>2&&P.push("'"+this.terminals_[A]+"'");this.lexer.showPosition?M="Parse error on line "+(e+1)+`:
|
|
6
|
+
`+this.lexer.showPosition()+`
|
|
7
|
+
Expecting `+P.join(", ")+", got '"+(this.terminals_[k]||k)+"'":M="Parse error on line "+(e+1)+": Unexpected "+(k==1?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(M,{text:this.lexer.match,token:this.terminals_[k]||k,line:this.lexer.yylineno,loc:o,expected:P})}}if(h[0]instanceof Array&&h.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+k);switch(h[0]){case 1:s.push(k),n.push(this.lexer.yytext),l.push(this.lexer.yylloc),s.push(h[1]),k=null,i=this.lexer.yyleng,t=this.lexer.yytext,e=this.lexer.yylineno,o=this.lexer.yylloc;break;case 2:if(I=this.productions_[h[1]][1],y.$=n[n.length-I],y._$={first_line:l[l.length-(I||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(I||1)].first_column,last_column:l[l.length-1].last_column},u&&(y._$.range=[l[l.length-(I||1)].range[0],l[l.length-1].range[1]]),C=this.performAction.call(y,t,i,e,this.yy,h[1],n,l),typeof C<"u")return C;I&&(s=s.slice(0,-1*I*2),n=n.slice(0,-1*I),l=l.slice(0,-1*I)),s.push(this.productions_[h[1]][0]),n.push(y.$),l.push(y._$),R=r[s[s.length-2]][s[s.length-1]],s.push(R);break;case 3:return!0}}return!0}},S=(function(){var d={EOF:1,parseError:function(a,s){if(this.yy.parser)this.yy.parser.parseError(a,s);else throw new Error(a)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var s=a.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var s=a.length,n=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===l.length?this.yylloc.first_column:0)+l[l.length-n.length].length-n[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),s=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
8
|
+
`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,s,n,l,r;this._more||(this.yytext="",this.match="");for(var t=this._currentRules(),e=0;e<t.length&&(n=this._input.match(this.rules[t[e]]),!(n&&(!s||n[0].length>s[0].length)&&(s=n,l=e,!this.options.flex)));e++);return s?(r=s[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,t[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
9
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a<"u"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return d.options={},d.performAction=function(a,s,n,l){function r(t,e){return s.yytext=s.yytext.substring(t,s.yyleng-e+t)}switch(n){case 0:if(s.yytext.slice(-2)==="\\\\"?(r(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(r(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(r(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return s.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return s.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},d.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],d.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},d})();_.lexer=S;function p(){this.yy={}}return p.prototype=_,_.Parser=p,new p})();v.default=b,m.exports=v.default})(Le,Le.exports)),Le.exports}var Me={exports:{}},Ee={exports:{}},gt;function mt(){return gt||(gt=1,(function(m,v){v.__esModule=!0;function b(s){return s&&s.__esModule?s:{default:s}}var _=Y(),S=b(_);function p(){this.parents=[]}p.prototype={constructor:p,mutating:!1,acceptKey:function(n,l){var r=this.accept(n[l]);if(this.mutating){if(r&&!p.prototype[r.type])throw new S.default('Unexpected node type "'+r.type+'" found when accepting '+l+" on "+n.type);n[l]=r}},acceptRequired:function(n,l){if(this.acceptKey(n,l),!n[l])throw new S.default(n.type+" requires "+l)},acceptArray:function(n){for(var l=0,r=n.length;l<r;l++)this.acceptKey(n,l),n[l]||(n.splice(l,1),l--,r--)},accept:function(n){if(n){if(!this[n.type])throw new S.default("Unknown type: "+n.type,n);this.current&&this.parents.unshift(this.current),this.current=n;var l=this[n.type](n);if(this.current=this.parents.shift(),!this.mutating||l)return l;if(l!==!1)return n}},Program:function(n){this.acceptArray(n.body)},MustacheStatement:d,Decorator:d,BlockStatement:c,DecoratorBlock:c,PartialStatement:a,PartialBlockStatement:function(n){a.call(this,n),this.acceptKey(n,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:d,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(n){this.acceptArray(n.pairs)},HashPair:function(n){this.acceptRequired(n,"value")}};function d(s){this.acceptRequired(s,"path"),this.acceptArray(s.params),this.acceptKey(s,"hash")}function c(s){d.call(this,s),this.acceptKey(s,"program"),this.acceptKey(s,"inverse")}function a(s){this.acceptRequired(s,"name"),this.acceptArray(s.params),this.acceptKey(s,"hash")}v.default=p,m.exports=v.default})(Ee,Ee.exports)),Ee.exports}var vt;function er(){return vt||(vt=1,(function(m,v){v.__esModule=!0;function b(n){return n&&n.__esModule?n:{default:n}}var _=mt(),S=b(_);function p(){var n=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=n}p.prototype=new S.default,p.prototype.Program=function(n){var l=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var t=n.body,e=0,i=t.length;e<i;e++){var o=t[e],u=this.accept(o);if(u){var f=d(t,e,r),k=c(t,e,r),g=u.openStandalone&&f,h=u.closeStandalone&&k,C=u.inlineStandalone&&f&&k;u.close&&a(t,e,!0),u.open&&s(t,e,!0),l&&C&&(a(t,e),s(t,e)&&o.type==="PartialStatement"&&(o.indent=/([ \t]+$)/.exec(t[e-1].original)[1])),l&&g&&(a((o.program||o.inverse).body),s(t,e)),l&&h&&(a(t,e),s((o.inverse||o.program).body))}}return n},p.prototype.BlockStatement=p.prototype.DecoratorBlock=p.prototype.PartialBlockStatement=function(n){this.accept(n.program),this.accept(n.inverse);var l=n.program||n.inverse,r=n.program&&n.inverse,t=r,e=r;if(r&&r.chained)for(t=r.body[0].program;e.chained;)e=e.body[e.body.length-1].program;var i={open:n.openStrip.open,close:n.closeStrip.close,openStandalone:c(l.body),closeStandalone:d((t||l).body)};if(n.openStrip.close&&a(l.body,null,!0),r){var o=n.inverseStrip;o.open&&s(l.body,null,!0),o.close&&a(t.body,null,!0),n.closeStrip.open&&s(e.body,null,!0),!this.options.ignoreStandalone&&d(l.body)&&c(t.body)&&(s(l.body),a(t.body))}else n.closeStrip.open&&s(l.body,null,!0);return i},p.prototype.Decorator=p.prototype.MustacheStatement=function(n){return n.strip},p.prototype.PartialStatement=p.prototype.CommentStatement=function(n){var l=n.strip||{};return{inlineStandalone:!0,open:l.open,close:l.close}};function d(n,l,r){l===void 0&&(l=n.length);var t=n[l-1],e=n[l-2];if(!t)return r;if(t.type==="ContentStatement")return(e||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(t.original)}function c(n,l,r){l===void 0&&(l=-1);var t=n[l+1],e=n[l+2];if(!t)return r;if(t.type==="ContentStatement")return(e||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(t.original)}function a(n,l,r){var t=n[l==null?0:l+1];if(!(!t||t.type!=="ContentStatement"||!r&&t.rightStripped)){var e=t.value;t.value=t.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),t.rightStripped=t.value!==e}}function s(n,l,r){var t=n[l==null?n.length-1:l-1];if(!(!t||t.type!=="ContentStatement"||!r&&t.leftStripped)){var e=t.value;return t.value=t.value.replace(r?/\s+$/:/[ \t]+$/,""),t.leftStripped=t.value!==e,t.leftStripped}}v.default=p,m.exports=v.default})(Me,Me.exports)),Me.exports}var U={},_t;function tr(){if(_t)return U;_t=1,U.__esModule=!0,U.SourceLocation=S,U.id=p,U.stripFlags=d,U.stripComment=c,U.preparePath=a,U.prepareMustache=s,U.prepareRawBlock=n,U.prepareBlock=l,U.prepareProgram=r,U.preparePartialBlock=t;function m(e){return e&&e.__esModule?e:{default:e}}var v=Y(),b=m(v);function _(e,i){if(i=i.path?i.path.original:i,e.path.original!==i){var o={loc:e.path.loc};throw new b.default(e.path.original+" doesn't match "+i,o)}}function S(e,i){this.source=e,this.start={line:i.first_line,column:i.first_column},this.end={line:i.last_line,column:i.last_column}}function p(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function d(e,i){return{open:e.charAt(2)==="~",close:i.charAt(i.length-3)==="~"}}function c(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function a(e,i,o){o=this.locInfo(o);for(var u=e?"@":"",f=[],k=0,g=0,h=i.length;g<h;g++){var C=i[g].part,y=i[g].original!==C;if(u+=(i[g].separator||"")+C,!y&&(C===".."||C==="."||C==="this")){if(f.length>0)throw new b.default("Invalid path: "+u,{loc:o});C===".."&&k++}else f.push(C)}return{type:"PathExpression",data:e,depth:k,parts:f,original:u,loc:o}}function s(e,i,o,u,f,k){var g=u.charAt(3)||u.charAt(2),h=g!=="{"&&g!=="&",C=/\*/.test(u);return{type:C?"Decorator":"MustacheStatement",path:e,params:i,hash:o,escaped:h,strip:f,loc:this.locInfo(k)}}function n(e,i,o,u){_(e,o),u=this.locInfo(u);var f={type:"Program",body:i,strip:{},loc:u};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:f,openStrip:{},inverseStrip:{},closeStrip:{},loc:u}}function l(e,i,o,u,f,k){u&&u.path&&_(e,u);var g=/\*/.test(e.open);i.blockParams=e.blockParams;var h=void 0,C=void 0;if(o){if(g)throw new b.default("Unexpected inverse block on decorator",o);o.chain&&(o.program.body[0].closeStrip=u.strip),C=o.strip,h=o.program}return f&&(f=h,h=i,i=f),{type:g?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,inverse:h,openStrip:e.strip,inverseStrip:C,closeStrip:u&&u.strip,loc:this.locInfo(k)}}function r(e,i){if(!i&&e.length){var o=e[0].loc,u=e[e.length-1].loc;o&&u&&(i={source:o.source,start:{line:o.start.line,column:o.start.column},end:{line:u.end.line,column:u.end.column}})}return{type:"Program",body:e,strip:{},loc:i}}function t(e,i,o,u){return _(e,o),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:i,openStrip:e.strip,closeStrip:o&&o.strip,loc:this.locInfo(u)}}return U}var St;function rr(){if(St)return ee;St=1,ee.__esModule=!0,ee.parseWithoutProcessing=r,ee.parse=t;function m(u){if(u&&u.__esModule)return u;var f={};if(u!=null)for(var k in u)Object.prototype.hasOwnProperty.call(u,k)&&(f[k]=u[k]);return f.default=u,f}function v(u){return u&&u.__esModule?u:{default:u}}var b=$t(),_=v(b),S=er(),p=v(S),d=tr(),c=m(d),a=Y(),s=v(a),n=W();ee.parser=_.default;var l={};n.extend(l,c);function r(u,f){if(u.type==="Program")return e(u),u;_.default.yy=l,l.locInfo=function(g){return new l.SourceLocation(f&&f.srcName,g)};var k=_.default.parse(u);return k}function t(u,f){var k=r(u,f),g=new p.default(f);return g.accept(k)}function e(u){i(u)}function i(u){if(u!=null){if(Array.isArray(u)){u.forEach(i);return}if(typeof u=="object"){if(u.type==="PathExpression"){if(!o(u.depth))throw new s.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(u.parts))throw new s.default("Invalid AST: PathExpression.parts must be an array");for(var f=0;f<u.parts.length;f++)if(typeof u.parts[f]!="string")throw new s.default("Invalid AST: PathExpression.parts must only contain strings")}else if(u.type==="NumberLiteral"){if(typeof u.value!="number"||!isFinite(u.value))throw new s.default("Invalid AST: NumberLiteral.value must be a number")}else if(u.type==="BooleanLiteral"&&typeof u.value!="boolean")throw new s.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(u).forEach(function(k){k!=="loc"&&i(u[k])})}}}function o(u){return typeof u=="number"&&isFinite(u)&&Math.floor(u)===u&&u>=0}return ee}var te={},yt;function nr(){if(yt)return te;yt=1,te.__esModule=!0,te.Compiler=c,te.precompile=a,te.compile=s;function m(r){return r&&r.__esModule?r:{default:r}}var v=Y(),b=m(v),_=W(),S=pt(),p=m(S),d=[].slice;function c(){}c.prototype={compiler:c,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var i=0;i<e;i++){var o=this.opcodes[i],u=t.opcodes[i];if(o.opcode!==u.opcode||!n(o.args,u.args))return!1}e=this.children.length;for(var i=0;i<e;i++)if(!this.children[i].equals(t.children[i]))return!1;return!0},guid:0,compile:function(t,e){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[],e.knownHelpers=_.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},e.knownHelpers),this.accept(t)},compileProgram:function(t){var e=new this.compiler,i=e.compile(t,this.options),o=this.guid++;return this.usePartial=this.usePartial||i.usePartial,this.children[o]=i,this.useDepths=this.useDepths||i.useDepths,o},accept:function(t){if(!this[t.type])throw new b.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,i=e.length,o=0;o<i;o++)this.accept(e[o]);return this.options.blockParams.shift(),this.isSimple=i===1,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){l(t);var e=t.program,i=t.inverse;e=e&&this.compileProgram(e),i=i&&this.compileProgram(i);var o=this.classifySexpr(t);o==="helper"?this.helperSexpr(t,e,i):o==="simple"?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,i),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),i=this.setupFullMustacheParams(t,e,void 0),o=t.path;this.useDecorators=!0,this.opcode("registerDecorator",i.length,o.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var i=t.params;if(i.length>1)throw new b.default("Unsupported number of partial arguments: "+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var o=t.name.original,u=t.name.type==="SubExpression";u&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var f=t.indent||"";this.options.preventIndent&&f&&(this.opcode("appendContent",f),f=""),this.opcode("invokePartial",u,o,f),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){l(t);var e=this.classifySexpr(t);e==="simple"?this.simpleSexpr(t):e==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var o=t.path,u=o.parts[0],f=e!=null||i!=null;this.opcode("getContext",o.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",i),o.strict=!0,this.accept(o),this.opcode("invokeAmbiguous",u,f)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,i){var o=this.setupFullMustacheParams(t,e,i),u=t.path,f=u.parts[0];if(this.options.knownHelpers[f])this.opcode("invokeKnownHelper",o.length,f);else{if(this.options.knownHelpersOnly)throw new b.default("You specified knownHelpersOnly, but used the unknown helper "+f,t);u.strict=!0,u.falsy=!0,this.accept(u),this.opcode("invokeHelper",o.length,u.original,p.default.helpers.simpleId(u))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],i=p.default.helpers.scopedId(t),o=!t.depth&&!i&&this.blockParamIndex(e);o?this.opcode("lookupBlockParam",o,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,i):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,i=0,o=e.length;for(this.opcode("pushHash");i<o;i++)this.pushParam(e[i].value);for(;i--;)this.opcode("assignToHash",e[i].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:d.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=p.default.helpers.simpleId(t.path),i=e&&!!this.blockParamIndex(t.path.parts[0]),o=!i&&p.default.helpers.helperExpression(t),u=!i&&(o||e);if(u&&!o){var f=t.path.parts[0],k=this.options;k.knownHelpers[f]?o=!0:k.knownHelpersOnly&&(u=!1)}return o?"helper":u?"ambiguous":"simple"},pushParams:function(t){for(var e=0,i=t.length;e<i;e++)this.pushParam(t[e])},pushParam:function(t){var e=t.value!=null?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),t.type==="SubExpression"&&this.accept(t);else{if(this.trackIds){var i=void 0;if(t.parts&&!p.default.helpers.scopedId(t)&&!t.depth&&(i=this.blockParamIndex(t.parts[0])),i){var o=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",i,o)}else e=t.original||e,e.replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,i,o){var u=t.params;return this.pushParams(u),this.opcode("pushProgram",e),this.opcode("pushProgram",i),t.hash?this.accept(t.hash):this.opcode("emptyHash",o),u},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var o=this.options.blockParams[e],u=o&&_.indexOf(o,t);if(o&&u>=0)return[e,u]}}};function a(r,t,e){if(r==null||typeof r!="string"&&r.type!=="Program")throw new b.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+r);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var i=e.parse(r,t),o=new e.Compiler().compile(i,t);return new e.JavaScriptCompiler().compile(o,t)}function s(r,t,e){if(t===void 0&&(t={}),r==null||typeof r!="string"&&r.type!=="Program")throw new b.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+r);t=_.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var i=void 0;function o(){var f=e.parse(r,t),k=new e.Compiler().compile(f,t),g=new e.JavaScriptCompiler().compile(k,t,void 0,!0);return e.template(g)}function u(f,k){return i||(i=o()),i.call(this,f,k)}return u._setup=function(f){return i||(i=o()),i._setup(f)},u._child=function(f,k,g,h){return i||(i=o()),i._child(f,k,g,h)},u}function n(r,t){if(r===t)return!0;if(_.isArray(r)&&_.isArray(t)&&r.length===t.length){for(var e=0;e<r.length;e++)if(!n(r[e],t[e]))return!1;return!0}}function l(r){if(!r.path.parts){var t=r.path;r.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}return te}var xe={exports:{}},Oe={exports:{}},se={},De={},Ae={},Ie={},kt;function ir(){if(kt)return Ie;kt=1;var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ie.encode=function(v){if(0<=v&&v<m.length)return m[v];throw new TypeError("Must be between 0 and 63: "+v)},Ie.decode=function(v){var b=65,_=90,S=97,p=122,d=48,c=57,a=43,s=47,n=26,l=52;return b<=v&&v<=_?v-b:S<=v&&v<=p?v-S+n:d<=v&&v<=c?v-d+l:v==a?62:v==s?63:-1},Ie}var bt;function Ct(){if(bt)return Ae;bt=1;var m=ir(),v=5,b=1<<v,_=b-1,S=b;function p(c){return c<0?(-c<<1)+1:(c<<1)+0}function d(c){var a=(c&1)===1,s=c>>1;return a?-s:s}return Ae.encode=function(a){var s="",n,l=p(a);do n=l&_,l>>>=v,l>0&&(n|=S),s+=m.encode(n);while(l>0);return s},Ae.decode=function(a,s,n){var l=a.length,r=0,t=0,e,i;do{if(s>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(i=m.decode(a.charCodeAt(s++)),i===-1)throw new Error("Invalid base64 digit: "+a.charAt(s-1));e=!!(i&S),i&=_,r=r+(i<<t),t+=v}while(e);n.value=d(r),n.rest=s},Ae}var Be={},Pt;function ae(){return Pt||(Pt=1,(function(m){function v(g,h,C){if(h in g)return g[h];if(arguments.length===3)return C;throw new Error('"'+h+'" is a required argument.')}m.getArg=v;var b=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,_=/^data:.+\,.+$/;function S(g){var h=g.match(b);return h?{scheme:h[1],auth:h[2],host:h[3],port:h[4],path:h[5]}:null}m.urlParse=S;function p(g){var h="";return g.scheme&&(h+=g.scheme+":"),h+="//",g.auth&&(h+=g.auth+"@"),g.host&&(h+=g.host),g.port&&(h+=":"+g.port),g.path&&(h+=g.path),h}m.urlGenerate=p;function d(g){var h=g,C=S(g);if(C){if(!C.path)return g;h=C.path}for(var y=m.isAbsolute(h),A=h.split(/\/+/),I,R=0,P=A.length-1;P>=0;P--)I=A[P],I==="."?A.splice(P,1):I===".."?R++:R>0&&(I===""?(A.splice(P+1,R),R=0):(A.splice(P,2),R--));return h=A.join("/"),h===""&&(h=y?"/":"."),C?(C.path=h,p(C)):h}m.normalize=d;function c(g,h){g===""&&(g="."),h===""&&(h=".");var C=S(h),y=S(g);if(y&&(g=y.path||"/"),C&&!C.scheme)return y&&(C.scheme=y.scheme),p(C);if(C||h.match(_))return h;if(y&&!y.host&&!y.path)return y.host=h,p(y);var A=h.charAt(0)==="/"?h:d(g.replace(/\/+$/,"")+"/"+h);return y?(y.path=A,p(y)):A}m.join=c,m.isAbsolute=function(g){return g.charAt(0)==="/"||b.test(g)};function a(g,h){g===""&&(g="."),g=g.replace(/\/$/,"");for(var C=0;h.indexOf(g+"/")!==0;){var y=g.lastIndexOf("/");if(y<0||(g=g.slice(0,y),g.match(/^([^\/]+:\/)?\/*$/)))return h;++C}return Array(C+1).join("../")+h.substr(g.length+1)}m.relative=a;var s=(function(){var g=Object.create(null);return!("__proto__"in g)})();function n(g){return g}function l(g){return t(g)?"$"+g:g}m.toSetString=s?n:l;function r(g){return t(g)?g.slice(1):g}m.fromSetString=s?n:r;function t(g){if(!g)return!1;var h=g.length;if(h<9||g.charCodeAt(h-1)!==95||g.charCodeAt(h-2)!==95||g.charCodeAt(h-3)!==111||g.charCodeAt(h-4)!==116||g.charCodeAt(h-5)!==111||g.charCodeAt(h-6)!==114||g.charCodeAt(h-7)!==112||g.charCodeAt(h-8)!==95||g.charCodeAt(h-9)!==95)return!1;for(var C=h-10;C>=0;C--)if(g.charCodeAt(C)!==36)return!1;return!0}function e(g,h,C){var y=o(g.source,h.source);return y!==0||(y=g.originalLine-h.originalLine,y!==0)||(y=g.originalColumn-h.originalColumn,y!==0||C)||(y=g.generatedColumn-h.generatedColumn,y!==0)||(y=g.generatedLine-h.generatedLine,y!==0)?y:o(g.name,h.name)}m.compareByOriginalPositions=e;function i(g,h,C){var y=g.generatedLine-h.generatedLine;return y!==0||(y=g.generatedColumn-h.generatedColumn,y!==0||C)||(y=o(g.source,h.source),y!==0)||(y=g.originalLine-h.originalLine,y!==0)||(y=g.originalColumn-h.originalColumn,y!==0)?y:o(g.name,h.name)}m.compareByGeneratedPositionsDeflated=i;function o(g,h){return g===h?0:g===null?1:h===null?-1:g>h?1:-1}function u(g,h){var C=g.generatedLine-h.generatedLine;return C!==0||(C=g.generatedColumn-h.generatedColumn,C!==0)||(C=o(g.source,h.source),C!==0)||(C=g.originalLine-h.originalLine,C!==0)||(C=g.originalColumn-h.originalColumn,C!==0)?C:o(g.name,h.name)}m.compareByGeneratedPositionsInflated=u;function f(g){return JSON.parse(g.replace(/^\)]}'[^\n]*\n/,""))}m.parseSourceMapInput=f;function k(g,h,C){if(h=h||"",g&&(g[g.length-1]!=="/"&&h[0]!=="/"&&(g+="/"),h=g+h),C){var y=S(C);if(!y)throw new Error("sourceMapURL could not be parsed");if(y.path){var A=y.path.lastIndexOf("/");A>=0&&(y.path=y.path.substring(0,A+1))}h=c(p(y),h)}return d(h)}m.computeSourceURL=k})(Be)),Be}var qe={},wt;function Lt(){if(wt)return qe;wt=1;var m=ae(),v=Object.prototype.hasOwnProperty,b=typeof Map<"u";function _(){this._array=[],this._set=b?new Map:Object.create(null)}return _.fromArray=function(p,d){for(var c=new _,a=0,s=p.length;a<s;a++)c.add(p[a],d);return c},_.prototype.size=function(){return b?this._set.size:Object.getOwnPropertyNames(this._set).length},_.prototype.add=function(p,d){var c=b?p:m.toSetString(p),a=b?this.has(p):v.call(this._set,c),s=this._array.length;(!a||d)&&this._array.push(p),a||(b?this._set.set(p,s):this._set[c]=s)},_.prototype.has=function(p){if(b)return this._set.has(p);var d=m.toSetString(p);return v.call(this._set,d)},_.prototype.indexOf=function(p){if(b){var d=this._set.get(p);if(d>=0)return d}else{var c=m.toSetString(p);if(v.call(this._set,c))return this._set[c]}throw new Error('"'+p+'" is not in the set.')},_.prototype.at=function(p){if(p>=0&&p<this._array.length)return this._array[p];throw new Error("No element indexed by "+p)},_.prototype.toArray=function(){return this._array.slice()},qe.ArraySet=_,qe}var He={},Mt;function sr(){if(Mt)return He;Mt=1;var m=ae();function v(_,S){var p=_.generatedLine,d=S.generatedLine,c=_.generatedColumn,a=S.generatedColumn;return d>p||d==p&&a>=c||m.compareByGeneratedPositionsInflated(_,S)<=0}function b(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return b.prototype.unsortedForEach=function(S,p){this._array.forEach(S,p)},b.prototype.add=function(S){v(this._last,S)?(this._last=S,this._array.push(S)):(this._sorted=!1,this._array.push(S))},b.prototype.toArray=function(){return this._sorted||(this._array.sort(m.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},He.MappingList=b,He}var Et;function xt(){if(Et)return De;Et=1;var m=Ct(),v=ae(),b=Lt().ArraySet,_=sr().MappingList;function S(p){p||(p={}),this._file=v.getArg(p,"file",null),this._sourceRoot=v.getArg(p,"sourceRoot",null),this._skipValidation=v.getArg(p,"skipValidation",!1),this._sources=new b,this._names=new b,this._mappings=new _,this._sourcesContents=null}return S.prototype._version=3,S.fromSourceMap=function(d){var c=d.sourceRoot,a=new S({file:d.file,sourceRoot:c});return d.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,c!=null&&(n.source=v.relative(c,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),a.addMapping(n)}),d.sources.forEach(function(s){var n=s;c!==null&&(n=v.relative(c,s)),a._sources.has(n)||a._sources.add(n);var l=d.sourceContentFor(s);l!=null&&a.setSourceContent(s,l)}),a},S.prototype.addMapping=function(d){var c=v.getArg(d,"generated"),a=v.getArg(d,"original",null),s=v.getArg(d,"source",null),n=v.getArg(d,"name",null);this._skipValidation||this._validateMapping(c,a,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:a!=null&&a.line,originalColumn:a!=null&&a.column,source:s,name:n})},S.prototype.setSourceContent=function(d,c){var a=d;this._sourceRoot!=null&&(a=v.relative(this._sourceRoot,a)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[v.toSetString(a)]=c):this._sourcesContents&&(delete this._sourcesContents[v.toSetString(a)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},S.prototype.applySourceMap=function(d,c,a){var s=c;if(c==null){if(d.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=d.file}var n=this._sourceRoot;n!=null&&(s=v.relative(n,s));var l=new b,r=new b;this._mappings.unsortedForEach(function(t){if(t.source===s&&t.originalLine!=null){var e=d.originalPositionFor({line:t.originalLine,column:t.originalColumn});e.source!=null&&(t.source=e.source,a!=null&&(t.source=v.join(a,t.source)),n!=null&&(t.source=v.relative(n,t.source)),t.originalLine=e.line,t.originalColumn=e.column,e.name!=null&&(t.name=e.name))}var i=t.source;i!=null&&!l.has(i)&&l.add(i);var o=t.name;o!=null&&!r.has(o)&&r.add(o)},this),this._sources=l,this._names=r,d.sources.forEach(function(t){var e=d.sourceContentFor(t);e!=null&&(a!=null&&(t=v.join(a,t)),n!=null&&(t=v.relative(n,t)),this.setSourceContent(t,e))},this)},S.prototype._validateMapping=function(d,c,a,s){if(c&&typeof c.line!="number"&&typeof c.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(d&&"line"in d&&"column"in d&&d.line>0&&d.column>=0&&!c&&!a&&!s)){if(d&&"line"in d&&"column"in d&&c&&"line"in c&&"column"in c&&d.line>0&&d.column>=0&&c.line>0&&c.column>=0&&a)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:d,source:a,original:c,name:s}))}},S.prototype._serializeMappings=function(){for(var d=0,c=1,a=0,s=0,n=0,l=0,r="",t,e,i,o,u=this._mappings.toArray(),f=0,k=u.length;f<k;f++){if(e=u[f],t="",e.generatedLine!==c)for(d=0;e.generatedLine!==c;)t+=";",c++;else if(f>0){if(!v.compareByGeneratedPositionsInflated(e,u[f-1]))continue;t+=","}t+=m.encode(e.generatedColumn-d),d=e.generatedColumn,e.source!=null&&(o=this._sources.indexOf(e.source),t+=m.encode(o-l),l=o,t+=m.encode(e.originalLine-1-s),s=e.originalLine-1,t+=m.encode(e.originalColumn-a),a=e.originalColumn,e.name!=null&&(i=this._names.indexOf(e.name),t+=m.encode(i-n),n=i)),r+=t}return r},S.prototype._generateSourcesContent=function(d,c){return d.map(function(a){if(!this._sourcesContents)return null;c!=null&&(a=v.relative(c,a));var s=v.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},S.prototype.toJSON=function(){var d={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(d.file=this._file),this._sourceRoot!=null&&(d.sourceRoot=this._sourceRoot),this._sourcesContents&&(d.sourcesContent=this._generateSourcesContent(d.sources,d.sourceRoot)),d},S.prototype.toString=function(){return JSON.stringify(this.toJSON())},De.SourceMapGenerator=S,De}var oe={},Te={},Ot;function ar(){return Ot||(Ot=1,(function(m){m.GREATEST_LOWER_BOUND=1,m.LEAST_UPPER_BOUND=2;function v(b,_,S,p,d,c){var a=Math.floor((_-b)/2)+b,s=d(S,p[a],!0);return s===0?a:s>0?_-a>1?v(a,_,S,p,d,c):c==m.LEAST_UPPER_BOUND?_<p.length?_:-1:a:a-b>1?v(b,a,S,p,d,c):c==m.LEAST_UPPER_BOUND?a:b<0?-1:b}m.search=function(_,S,p,d){if(S.length===0)return-1;var c=v(-1,S.length,_,S,p,d||m.GREATEST_LOWER_BOUND);if(c<0)return-1;for(;c-1>=0&&p(S[c],S[c-1],!0)===0;)--c;return c}})(Te)),Te}var Fe={},At;function or(){if(At)return Fe;At=1;function m(_,S,p){var d=_[S];_[S]=_[p],_[p]=d}function v(_,S){return Math.round(_+Math.random()*(S-_))}function b(_,S,p,d){if(p<d){var c=v(p,d),a=p-1;m(_,c,d);for(var s=_[d],n=p;n<d;n++)S(_[n],s)<=0&&(a+=1,m(_,a,n));m(_,a+1,n);var l=a+1;b(_,S,p,l-1),b(_,S,l+1,d)}}return Fe.quickSort=function(_,S){b(_,S,0,_.length-1)},Fe}var It;function ur(){if(It)return oe;It=1;var m=ae(),v=ar(),b=Lt().ArraySet,_=Ct(),S=or().quickSort;function p(s,n){var l=s;return typeof s=="string"&&(l=m.parseSourceMapInput(s)),l.sections!=null?new a(l,n):new d(l,n)}p.fromSourceMap=function(s,n){return d.fromSourceMap(s,n)},p.prototype._version=3,p.prototype.__generatedMappings=null,Object.defineProperty(p.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),p.prototype.__originalMappings=null,Object.defineProperty(p.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),p.prototype._charIsMappingSeparator=function(n,l){var r=n.charAt(l);return r===";"||r===","},p.prototype._parseMappings=function(n,l){throw new Error("Subclasses must implement _parseMappings")},p.GENERATED_ORDER=1,p.ORIGINAL_ORDER=2,p.GREATEST_LOWER_BOUND=1,p.LEAST_UPPER_BOUND=2,p.prototype.eachMapping=function(n,l,r){var t=l||null,e=r||p.GENERATED_ORDER,i;switch(e){case p.GENERATED_ORDER:i=this._generatedMappings;break;case p.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;i.map(function(u){var f=u.source===null?null:this._sources.at(u.source);return f=m.computeSourceURL(o,f,this._sourceMapURL),{source:f,generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:u.name===null?null:this._names.at(u.name)}},this).forEach(n,t)},p.prototype.allGeneratedPositionsFor=function(n){var l=m.getArg(n,"line"),r={source:m.getArg(n,"source"),originalLine:l,originalColumn:m.getArg(n,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var t=[],e=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",m.compareByOriginalPositions,v.LEAST_UPPER_BOUND);if(e>=0){var i=this._originalMappings[e];if(n.column===void 0)for(var o=i.originalLine;i&&i.originalLine===o;)t.push({line:m.getArg(i,"generatedLine",null),column:m.getArg(i,"generatedColumn",null),lastColumn:m.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++e];else for(var u=i.originalColumn;i&&i.originalLine===l&&i.originalColumn==u;)t.push({line:m.getArg(i,"generatedLine",null),column:m.getArg(i,"generatedColumn",null),lastColumn:m.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++e]}return t},oe.SourceMapConsumer=p;function d(s,n){var l=s;typeof s=="string"&&(l=m.parseSourceMapInput(s));var r=m.getArg(l,"version"),t=m.getArg(l,"sources"),e=m.getArg(l,"names",[]),i=m.getArg(l,"sourceRoot",null),o=m.getArg(l,"sourcesContent",null),u=m.getArg(l,"mappings"),f=m.getArg(l,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);i&&(i=m.normalize(i)),t=t.map(String).map(m.normalize).map(function(k){return i&&m.isAbsolute(i)&&m.isAbsolute(k)?m.relative(i,k):k}),this._names=b.fromArray(e.map(String),!0),this._sources=b.fromArray(t,!0),this._absoluteSources=this._sources.toArray().map(function(k){return m.computeSourceURL(i,k,n)}),this.sourceRoot=i,this.sourcesContent=o,this._mappings=u,this._sourceMapURL=n,this.file=f}d.prototype=Object.create(p.prototype),d.prototype.consumer=p,d.prototype._findSourceIndex=function(s){var n=s;if(this.sourceRoot!=null&&(n=m.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var l;for(l=0;l<this._absoluteSources.length;++l)if(this._absoluteSources[l]==s)return l;return-1},d.fromSourceMap=function(n,l){var r=Object.create(d.prototype),t=r._names=b.fromArray(n._names.toArray(),!0),e=r._sources=b.fromArray(n._sources.toArray(),!0);r.sourceRoot=n._sourceRoot,r.sourcesContent=n._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=n._file,r._sourceMapURL=l,r._absoluteSources=r._sources.toArray().map(function(C){return m.computeSourceURL(r.sourceRoot,C,l)});for(var i=n._mappings.toArray().slice(),o=r.__generatedMappings=[],u=r.__originalMappings=[],f=0,k=i.length;f<k;f++){var g=i[f],h=new c;h.generatedLine=g.generatedLine,h.generatedColumn=g.generatedColumn,g.source&&(h.source=e.indexOf(g.source),h.originalLine=g.originalLine,h.originalColumn=g.originalColumn,g.name&&(h.name=t.indexOf(g.name)),u.push(h)),o.push(h)}return S(r.__originalMappings,m.compareByOriginalPositions),r},d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}d.prototype._parseMappings=function(n,l){for(var r=1,t=0,e=0,i=0,o=0,u=0,f=n.length,k=0,g={},h={},C=[],y=[],A,I,R,P,M;k<f;)if(n.charAt(k)===";")r++,k++,t=0;else if(n.charAt(k)===",")k++;else{for(A=new c,A.generatedLine=r,P=k;P<f&&!this._charIsMappingSeparator(n,P);P++);if(I=n.slice(k,P),R=g[I],R)k+=I.length;else{for(R=[];k<P;)_.decode(n,k,h),M=h.value,k=h.rest,R.push(M);if(R.length===2)throw new Error("Found a source, but no line and column");if(R.length===3)throw new Error("Found a source and line, but no column");g[I]=R}A.generatedColumn=t+R[0],t=A.generatedColumn,R.length>1&&(A.source=o+R[1],o+=R[1],A.originalLine=e+R[2],e=A.originalLine,A.originalLine+=1,A.originalColumn=i+R[3],i=A.originalColumn,R.length>4&&(A.name=u+R[4],u+=R[4])),y.push(A),typeof A.originalLine=="number"&&C.push(A)}S(y,m.compareByGeneratedPositionsDeflated),this.__generatedMappings=y,S(C,m.compareByOriginalPositions),this.__originalMappings=C},d.prototype._findMapping=function(n,l,r,t,e,i){if(n[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+n[r]);if(n[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+n[t]);return v.search(n,l,e,i)},d.prototype.computeColumnSpans=function(){for(var n=0;n<this._generatedMappings.length;++n){var l=this._generatedMappings[n];if(n+1<this._generatedMappings.length){var r=this._generatedMappings[n+1];if(l.generatedLine===r.generatedLine){l.lastGeneratedColumn=r.generatedColumn-1;continue}}l.lastGeneratedColumn=1/0}},d.prototype.originalPositionFor=function(n){var l={generatedLine:m.getArg(n,"line"),generatedColumn:m.getArg(n,"column")},r=this._findMapping(l,this._generatedMappings,"generatedLine","generatedColumn",m.compareByGeneratedPositionsDeflated,m.getArg(n,"bias",p.GREATEST_LOWER_BOUND));if(r>=0){var t=this._generatedMappings[r];if(t.generatedLine===l.generatedLine){var e=m.getArg(t,"source",null);e!==null&&(e=this._sources.at(e),e=m.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));var i=m.getArg(t,"name",null);return i!==null&&(i=this._names.at(i)),{source:e,line:m.getArg(t,"originalLine",null),column:m.getArg(t,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(n){return n==null}):!1},d.prototype.sourceContentFor=function(n,l){if(!this.sourcesContent)return null;var r=this._findSourceIndex(n);if(r>=0)return this.sourcesContent[r];var t=n;this.sourceRoot!=null&&(t=m.relative(this.sourceRoot,t));var e;if(this.sourceRoot!=null&&(e=m.urlParse(this.sourceRoot))){var i=t.replace(/^file:\/\//,"");if(e.scheme=="file"&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!e.path||e.path=="/")&&this._sources.has("/"+t))return this.sourcesContent[this._sources.indexOf("/"+t)]}if(l)return null;throw new Error('"'+t+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(n){var l=m.getArg(n,"source");if(l=this._findSourceIndex(l),l<0)return{line:null,column:null,lastColumn:null};var r={source:l,originalLine:m.getArg(n,"line"),originalColumn:m.getArg(n,"column")},t=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",m.compareByOriginalPositions,m.getArg(n,"bias",p.GREATEST_LOWER_BOUND));if(t>=0){var e=this._originalMappings[t];if(e.source===r.source)return{line:m.getArg(e,"generatedLine",null),column:m.getArg(e,"generatedColumn",null),lastColumn:m.getArg(e,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},oe.BasicSourceMapConsumer=d;function a(s,n){var l=s;typeof s=="string"&&(l=m.parseSourceMapInput(s));var r=m.getArg(l,"version"),t=m.getArg(l,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new b,this._names=new b;var e={line:-1,column:0};this._sections=t.map(function(i){if(i.url)throw new Error("Support for url field in sections not implemented.");var o=m.getArg(i,"offset"),u=m.getArg(o,"line"),f=m.getArg(o,"column");if(u<e.line||u===e.line&&f<e.column)throw new Error("Section offsets must be ordered and non-overlapping.");return e=o,{generatedOffset:{generatedLine:u+1,generatedColumn:f+1},consumer:new p(m.getArg(i,"map"),n)}})}return a.prototype=Object.create(p.prototype),a.prototype.constructor=p,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var s=[],n=0;n<this._sections.length;n++)for(var l=0;l<this._sections[n].consumer.sources.length;l++)s.push(this._sections[n].consumer.sources[l]);return s}}),a.prototype.originalPositionFor=function(n){var l={generatedLine:m.getArg(n,"line"),generatedColumn:m.getArg(n,"column")},r=v.search(l,this._sections,function(e,i){var o=e.generatedLine-i.generatedOffset.generatedLine;return o||e.generatedColumn-i.generatedOffset.generatedColumn}),t=this._sections[r];return t?t.consumer.originalPositionFor({line:l.generatedLine-(t.generatedOffset.generatedLine-1),column:l.generatedColumn-(t.generatedOffset.generatedLine===l.generatedLine?t.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(n){return n.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(n,l){for(var r=0;r<this._sections.length;r++){var t=this._sections[r],e=t.consumer.sourceContentFor(n,!0);if(e)return e}if(l)return null;throw new Error('"'+n+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(n){for(var l=0;l<this._sections.length;l++){var r=this._sections[l];if(r.consumer._findSourceIndex(m.getArg(n,"source"))!==-1){var t=r.consumer.generatedPositionFor(n);if(t){var e={line:t.line+(r.generatedOffset.generatedLine-1),column:t.column+(r.generatedOffset.generatedLine===t.line?r.generatedOffset.generatedColumn-1:0)};return e}}}return{line:null,column:null}},a.prototype._parseMappings=function(n,l){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var t=this._sections[r],e=t.consumer._generatedMappings,i=0;i<e.length;i++){var o=e[i],u=t.consumer._sources.at(o.source);u=m.computeSourceURL(t.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var f=null;o.name&&(f=t.consumer._names.at(o.name),this._names.add(f),f=this._names.indexOf(f));var k={source:u,generatedLine:o.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(t.generatedOffset.generatedLine===o.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:f};this.__generatedMappings.push(k),typeof k.originalLine=="number"&&this.__originalMappings.push(k)}S(this.__generatedMappings,m.compareByGeneratedPositionsDeflated),S(this.__originalMappings,m.compareByOriginalPositions)},oe.IndexedSourceMapConsumer=a,oe}var Ve={},Rt;function lr(){if(Rt)return Ve;Rt=1;var m=xt().SourceMapGenerator,v=ae(),b=/(\r?\n)/,_=10,S="$$$isSourceNode$$$";function p(d,c,a,s,n){this.children=[],this.sourceContents={},this.line=d??null,this.column=c??null,this.source=a??null,this.name=n??null,this[S]=!0,s!=null&&this.add(s)}return p.fromStringWithSourceMap=function(c,a,s){var n=new p,l=c.split(b),r=0,t=function(){var f=g(),k=g()||"";return f+k;function g(){return r<l.length?l[r++]:void 0}},e=1,i=0,o=null;return a.eachMapping(function(f){if(o!==null)if(e<f.generatedLine)u(o,t()),e++,i=0;else{var k=l[r]||"",g=k.substr(0,f.generatedColumn-i);l[r]=k.substr(f.generatedColumn-i),i=f.generatedColumn,u(o,g),o=f;return}for(;e<f.generatedLine;)n.add(t()),e++;if(i<f.generatedColumn){var k=l[r]||"";n.add(k.substr(0,f.generatedColumn)),l[r]=k.substr(f.generatedColumn),i=f.generatedColumn}o=f},this),r<l.length&&(o&&u(o,t()),n.add(l.splice(r).join(""))),a.sources.forEach(function(f){var k=a.sourceContentFor(f);k!=null&&(s!=null&&(f=v.join(s,f)),n.setSourceContent(f,k))}),n;function u(f,k){if(f===null||f.source===void 0)n.add(k);else{var g=s?v.join(s,f.source):f.source;n.add(new p(f.originalLine,f.originalColumn,g,k,f.name))}}},p.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(a){this.add(a)},this);else if(c[S]||typeof c=="string")c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},p.prototype.prepend=function(c){if(Array.isArray(c))for(var a=c.length-1;a>=0;a--)this.prepend(c[a]);else if(c[S]||typeof c=="string")this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},p.prototype.walk=function(c){for(var a,s=0,n=this.children.length;s<n;s++)a=this.children[s],a[S]?a.walk(c):a!==""&&c(a,{source:this.source,line:this.line,column:this.column,name:this.name})},p.prototype.join=function(c){var a,s,n=this.children.length;if(n>0){for(a=[],s=0;s<n-1;s++)a.push(this.children[s]),a.push(c);a.push(this.children[s]),this.children=a}return this},p.prototype.replaceRight=function(c,a){var s=this.children[this.children.length-1];return s[S]?s.replaceRight(c,a):typeof s=="string"?this.children[this.children.length-1]=s.replace(c,a):this.children.push("".replace(c,a)),this},p.prototype.setSourceContent=function(c,a){this.sourceContents[v.toSetString(c)]=a},p.prototype.walkSourceContents=function(c){for(var a=0,s=this.children.length;a<s;a++)this.children[a][S]&&this.children[a].walkSourceContents(c);for(var n=Object.keys(this.sourceContents),a=0,s=n.length;a<s;a++)c(v.fromSetString(n[a]),this.sourceContents[n[a]])},p.prototype.toString=function(){var c="";return this.walk(function(a){c+=a}),c},p.prototype.toStringWithSourceMap=function(c){var a={code:"",line:1,column:0},s=new m(c),n=!1,l=null,r=null,t=null,e=null;return this.walk(function(i,o){a.code+=i,o.source!==null&&o.line!==null&&o.column!==null?((l!==o.source||r!==o.line||t!==o.column||e!==o.name)&&s.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:a.line,column:a.column},name:o.name}),l=o.source,r=o.line,t=o.column,e=o.name,n=!0):n&&(s.addMapping({generated:{line:a.line,column:a.column}}),l=null,n=!1);for(var u=0,f=i.length;u<f;u++)i.charCodeAt(u)===_?(a.line++,a.column=0,u+1===f?(l=null,n=!1):n&&s.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:a.line,column:a.column},name:o.name})):a.column++}),this.walkSourceContents(function(i,o){s.setSourceContent(i,o)}),{code:a.code,map:s}},Ve.SourceNode=p,Ve}var Nt;function cr(){return Nt||(Nt=1,se.SourceMapGenerator=xt().SourceMapGenerator,se.SourceMapConsumer=ur().SourceMapConsumer,se.SourceNode=lr().SourceNode),se}var Dt;function hr(){return Dt||(Dt=1,(function(m,v){v.__esModule=!0;var b=W(),_=void 0;try{var S=cr();_=S.SourceNode}catch{}_||(_=function(c,a,s,n){this.src="",n&&this.add(n)},_.prototype={add:function(a){b.isArray(a)&&(a=a.join("")),this.src+=a},prepend:function(a){b.isArray(a)&&(a=a.join("")),this.src=a+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function p(c,a,s){if(b.isArray(c)){for(var n=[],l=0,r=c.length;l<r;l++)n.push(a.wrap(c[l],s));return n}else if(typeof c=="boolean"||typeof c=="number")return c+"";return c}function d(c){this.srcFile=c,this.source=[]}d.prototype={isEmpty:function(){return!this.source.length},prepend:function(a,s){this.source.unshift(this.wrap(a,s))},push:function(a,s){this.source.push(this.wrap(a,s))},merge:function(){var a=this.empty();return this.each(function(s){a.add([" ",s,`
|
|
10
|
+
`])}),a},each:function(a){for(var s=0,n=this.source.length;s<n;s++)a(this.source[s])},empty:function(){var a=this.currentLocation||{start:{}};return new _(a.start.line,a.start.column,this.srcFile)},wrap:function(a){var s=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return a instanceof _?a:(a=p(a,this,s),new _(s.start.line,s.start.column,this.srcFile,a))},functionCall:function(a,s,n){return n=this.generateList(n),this.wrap([a,s?"."+s+"(":"(",n,")"])},quotedString:function(a){return'"'+(a+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(a){var s=this,n=[];Object.keys(a).forEach(function(r){var t=p(a[r],s);t!=="undefined"&&n.push([s.quotedString(r),":",t])});var l=this.generateList(n);return l.prepend("{"),l.add("}"),l},generateList:function(a){for(var s=this.empty(),n=0,l=a.length;n<l;n++)n&&s.add(","),s.add(p(a[n],this));return s},generateArray:function(a){var s=this.generateList(a);return s.prepend("["),s.add("]"),s}},v.default=d,m.exports=v.default})(Oe,Oe.exports)),Oe.exports}var Bt;function fr(){return Bt||(Bt=1,(function(m,v){v.__esModule=!0;function b(r){return r&&r.__esModule?r:{default:r}}var _=Ne(),S=Y(),p=b(S),d=W(),c=hr(),a=b(c);function s(r){this.value=r}function n(){}n.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=_.COMPILER_REVISION,e=_.REVISION_CHANGES[t];return[t,e]},appendToBuffer:function(t,e,i){return d.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:i?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,i,o){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!o,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var u=t.opcodes,f=void 0,k=void 0,g=void 0,h=void 0;for(g=0,h=u.length;g<h;g++)f=u[g],this.source.currentLocation=f.loc,k=k||f.loc,this[f.opcode].apply(this,f.args);if(this.source.currentLocation=k,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new p.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
|
|
11
|
+
`]),this.decorators.push("return fn;"),o?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
12
|
+
`),this.decorators.push(`}
|
|
13
|
+
`),this.decorators=this.decorators.merge()));var C=this.createFunctionContext(o);if(this.isChild)return C;var y={compiler:this.compilerInfo(),main:C};this.decorators&&(y.main_d=this.decorators,y.useDecorators=!0);var A=this.context,I=A.programs,R=A.decorators;for(g=0,h=I.length;g<h;g++)y[g]=I[g],R[g]&&(y[g+"_d"]=R[g],y.useDecorators=!0);return this.environment.usePartial&&(y.usePartial=!0),this.options.data&&(y.useData=!0),this.useDepths&&(y.useDepths=!0),this.useBlockParams&&(y.useBlockParams=!0),this.options.compat&&(y.compat=!0),o?y.compilerOptions=this.options:(y.compiler=JSON.stringify(y.compiler),this.source.currentLocation={start:{line:1,column:0}},y=this.objectLiteral(y),e.srcName?(y=y.toStringWithSourceMap({file:e.destName}),y.map=y.map&&y.map.toString()):y=y.toString()),y},preamble:function(){this.lastContext=0,this.source=new a.default(this.options.srcName),this.decorators=new a.default(this.options.srcName)},createFunctionContext:function(t){var e=this,i="",o=this.stackVars.concat(this.registers.list);o.length>0&&(i+=", "+o.join(", "));var u=0;Object.keys(this.aliases).forEach(function(g){var h=e.aliases[g];h.children&&h.referenceCount>1&&(i+=", alias"+ ++u+"="+g,h.children[0]="alias"+u)}),this.lookupPropertyFunctionIsUsed&&(i+=", "+this.lookupPropertyFunctionVarDeclaration());var f=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&f.push("blockParams"),this.useDepths&&f.push("depths");var k=this.mergeSource(i);return t?(f.push(k),Function.apply(this,f)):this.source.wrap(["function(",f.join(","),`) {
|
|
14
|
+
`,k,"}"])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,o=void 0,u=void 0,f=void 0,k=void 0;return this.source.each(function(g){g.appendToBuffer?(f?g.prepend(" + "):f=g,k=g):(f&&(u?f.prepend("buffer += "):o=!0,k.add(";"),f=k=void 0),u=!0,e||(i=!1))}),i?f?(f.prepend("return "),k.add(";")):u||this.source.push('return "";'):(t+=", buffer = "+(o?"":this.initializeBuffer()),f?(f.prepend("return buffer + "),k.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(o?"":`;
|
|
15
|
+
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
|
|
16
|
+
lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
17
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
18
|
+
return parent[propertyName];
|
|
19
|
+
}
|
|
20
|
+
return undefined
|
|
21
|
+
}
|
|
22
|
+
`.trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var o=this.popStack();i.splice(1,0,o),this.push(this.source.functionCall(e,"call",i))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,o){var u=0;!o&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(t[u++])):this.pushContext(),this.resolvePath("context",t,u,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,i)},resolvePath:function(t,e,i,o,u){var f=this;if(this.options.strict||this.options.assumeObjects){this.push(l(this.options.strict&&u,this,e,i,t));return}for(var k=e.length,g=function(C){f.replaceStack(function(y){var A=f.nameLookup(y,e[C],t);return o?[" && ",A]:[" != null ? ",A," : ",y]})},h=i;h<k;h++)g(h)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),e!=="SubExpression"&&(typeof t=="string"?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){t!=null?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var i=this.nameLookup("decorators",e,"decorator"),o=this.setupHelperArgs(e,t);this.decorators.push(["var decorator = ",i,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+e+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",o])," || fn;"])},invokeHelper:function(t,e,i){var o=this.popStack(),u=this.setupHelper(t,e),f=[];i&&f.push(u.name),f.push(o),this.options.strict||f.push(this.aliasable("container.hooks.helperMissing"));var k=["(",this.itemsSeparatedBy(f,"||"),")"],g=this.source.functionCall(k,"call",u.callParams);this.push(g)},itemsSeparatedBy:function(t,e){var i=[];i.push(t[0]);for(var o=1;o<t.length;o++)i.push(e,t[o]);return i},invokeKnownHelper:function(t,e){var i=this.setupHelper(t,e);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var i=this.popStack();this.emptyHash();var o=this.setupHelper(0,t,e),u=this.lastHelper=this.nameLookup("helpers",t,"helper"),f=["(","(helper = ",u," || ",i,")"];this.options.strict||(f[0]="(helper = ",f.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",f,o.paramsInit?["),(",o.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",o.callParams)," : helper))"])},invokePartial:function(t,e,i){var o=[],u=this.setupParams(e,1,o);t&&(e=this.popStack(),delete u.name),i&&(u.indent=JSON.stringify(i)),u.helpers="helpers",u.partials="partials",u.decorators="container.decorators",t?o.unshift(e):o.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(u.depths="depths"),u=this.objectLiteral(u),o.push(u),this.push(this.source.functionCall("container.invokePartial","",o))},assignToHash:function(t){var e=this.popStack(),i=void 0,o=void 0,u=void 0;this.trackIds&&(u=this.popStack()),this.stringParams&&(o=this.popStack(),i=this.popStack());var f=this.hash;i&&(f.contexts[t]=i),o&&(f.types[t]=o),u&&(f.ids[t]=u),f.values[t]=e},pushId:function(t,e,i){t==="BlockParam"?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):t==="PathExpression"?this.pushString(e):t==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:n,compileChildren:function(t,e){for(var i=t.children,o=void 0,u=void 0,f=0,k=i.length;f<k;f++){o=i[f],u=new this.compiler;var g=this.matchExistingProgram(o);if(g==null){var h=this.context.programs.push("")-1;o.index=h,o.name="program"+h,this.context.programs[h]=u.compile(o,e,this.context,!this.precompile),this.context.decorators[h]=u.decorators,this.context.environments[h]=o,this.useDepths=this.useDepths||u.useDepths,this.useBlockParams=this.useBlockParams||u.useBlockParams,o.useDepths=this.useDepths,o.useBlockParams=this.useBlockParams}else o.index=g.index,o.name="program"+g.index,this.useDepths=this.useDepths||g.useDepths,this.useBlockParams=this.useBlockParams||g.useBlockParams}},matchExistingProgram:function(t){for(var e=0,i=this.context.environments.length;e<i;e++){var o=this.context.environments[e];if(o&&o.equals(t))return o}},programExpression:function(t){var e=this.environment.children[t],i=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),"container.program("+i.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof s||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new s(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],i=void 0,o=void 0,u=void 0;if(!this.isInline())throw new p.default("replaceStack on non-inline");var f=this.popStack(!0);if(f instanceof s)i=[f.value],e=["(",i],u=!0;else{o=!0;var k=this.incrStack();e=["((",this.push(k)," = ",f,")"],i=this.topStack()}var g=t.call(this,i);u||this.popStack(),o&&this.stackSlot--,this.push(e.concat(g,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;e<i;e++){var o=t[e];if(o instanceof s)this.compileStack.push(o);else{var u=this.incrStack();this.pushSource([u," = ",o,";"]),this.compileStack.push(u)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),i=(e?this.inlineStack:this.compileStack).pop();if(!t&&i instanceof s)return i.value;if(!e){if(!this.stackSlot)throw new p.default("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof s?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):(e=this.aliases[t]=this.source.wrap(t),e.aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,i){var o=[],u=this.setupHelperArgs(e,t,o,i),f=this.nameLookup("helpers",e,"helper"),k=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:o,paramsInit:u,name:f,callParams:[k].concat(o)}},setupParams:function(t,e,i){var o={},u=[],f=[],k=[],g=!i,h=void 0;g&&(i=[]),o.name=this.quotedString(t),o.hash=this.popStack(),this.trackIds&&(o.hashIds=this.popStack()),this.stringParams&&(o.hashTypes=this.popStack(),o.hashContexts=this.popStack());var C=this.popStack(),y=this.popStack();(y||C)&&(o.fn=y||"container.noop",o.inverse=C||"container.noop");for(var A=e;A--;)h=this.popStack(),i[A]=h,this.trackIds&&(k[A]=this.popStack()),this.stringParams&&(f[A]=this.popStack(),u[A]=this.popStack());return g&&(o.args=this.source.generateArray(i)),this.trackIds&&(o.ids=this.source.generateArray(k)),this.stringParams&&(o.types=this.source.generateArray(f),o.contexts=this.source.generateArray(u)),this.options.data&&(o.data="data"),this.useBlockParams&&(o.blockParams="blockParams"),o},setupHelperArgs:function(t,e,i,o){var u=this.setupParams(t,e,i);return u.loc=JSON.stringify(this.source.currentLocation),u=this.objectLiteral(u),o?(this.useRegister("options"),i.push("options"),["options=",u]):i?(i.push(u),""):u}},(function(){for(var r="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=n.RESERVED_WORDS={},e=0,i=r.length;e<i;e++)t[r[e]]=!0})(),n.isValidJavaScriptVariableName=function(r){return!n.RESERVED_WORDS[r]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(r)};function l(r,t,e,i,o){var u=t.popStack(),f=e.length;r&&f--;for(var k=i;k<f;k++)u=t.nameLookup(u,e[k],o);return r?[t.aliasable("container.strict"),"(",u,", ",t.quotedString(e[f]),", ",JSON.stringify(t.source.currentLocation)," )"]:u}v.default=n,m.exports=v.default})(xe,xe.exports)),xe.exports}var qt;function pr(){return qt||(qt=1,(function(m,v){v.__esModule=!0;function b(f){return f&&f.__esModule?f:{default:f}}var _=jt(),S=b(_),p=pt(),d=b(p),c=rr(),a=nr(),s=fr(),n=b(s),l=mt(),r=b(l),t=ct(),e=b(t),i=S.default.create;function o(){var f=i();return f.compile=function(k,g){return a.compile(k,g,f)},f.precompile=function(k,g){return a.precompile(k,g,f)},f.AST=d.default,f.Compiler=a.Compiler,f.JavaScriptCompiler=n.default,f.Parser=c.parser,f.parse=c.parse,f.parseWithoutProcessing=c.parseWithoutProcessing,f}var u=o();u.create=o,e.default(u),u.Visitor=r.default,u.default=u,v.default=u,m.exports=v.default})(le,le.exports)),le.exports}var dr=pr(),Re={exports:{}},gr=Re.exports,Ht;function mr(){return Ht||(Ht=1,(function(m,v){(function(b,_){m.exports=_()})(gr,(function(){var b=1e3,_=6e4,S=36e5,p="millisecond",d="second",c="minute",a="hour",s="day",n="week",l="month",r="quarter",t="year",e="date",i="Invalid Date",o=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|YYYY|YY|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(E){var L=["th","st","nd","rd"],w=E%100;return"["+E+(L[(w-20)%10]||L[w]||L[0])+"]"}},k=function(E,L,w){var N=String(E);return!N||N.length>=L?E:""+Array(L+1-N.length).join(w)+E},g={s:k,z:function(E){var L=-E.utcOffset(),w=Math.abs(L),N=Math.floor(w/60),O=w%60;return(L<=0?"+":"-")+k(N,2,"0")+":"+k(O,2,"0")},m:function E(L,w){if(L.date()<w.date())return-E(w,L);var N=12*(w.year()-L.year())+(w.month()-L.month()),O=L.clone().add(N,l),D=w-O<0,B=L.clone().add(N+(D?-1:1),l);return+(-(N+(w-O)/(D?O-B:B-O))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:l,y:t,w:n,d:s,D:e,h:a,m:c,s:d,ms:p,Q:r}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},h="en",C={};C[h]=f;var y="$isDayjsObject",A=function(E){return E instanceof M||!(!E||!E[y])},I=function E(L,w,N){var O;if(!L)return h;if(typeof L=="string"){var D=L.toLowerCase();C[D]&&(O=D),w&&(C[D]=w,O=D);var B=L.split("-");if(!O&&B.length>1)return E(B[0])}else{var q=L.name;C[q]=L,O=q}return!N&&O&&(h=O),O||!N&&h},R=function(E,L){if(A(E))return E.clone();var w=typeof L=="object"?L:{};return w.date=E,w.args=arguments,new M(w)},P=g;P.l=I,P.i=A,P.w=function(E,L){return R(E,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var M=(function(){function E(w){this.$L=I(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[y]=!0}var L=E.prototype;return L.parse=function(w){this.$d=(function(N){var O=N.date,D=N.utc;if(O===null)return new Date(NaN);if(P.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var B=O.match(o);if(B){var q=B[2]-1||0,H=(B[7]||"0").substring(0,3);return D?new Date(Date.UTC(B[1],q,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)):new Date(B[1],q,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)}}return new Date(O)})(w),this.init()},L.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},L.$utils=function(){return P},L.isValid=function(){return this.$d.toString()!==i},L.isSame=function(w,N){var O=R(w);return this.startOf(N)<=O&&O<=this.endOf(N)},L.isAfter=function(w,N){return R(w)<this.startOf(N)},L.isBefore=function(w,N){return this.endOf(N)<R(w)},L.$g=function(w,N,O){return P.u(w)?this[N]:this.set(O,w)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(w,N){var O=this,D=!!P.u(N)||N,B=P.p(w),q=function(X,V){var Q=P.w(O.$u?Date.UTC(O.$y,V,X):new Date(O.$y,V,X),O);return D?Q:Q.endOf(s)},H=function(X,V){return P.w(O.toDate()[X].apply(O.toDate("s"),(D?[0,0,0,0]:[23,59,59,999]).slice(V)),O)},T=this.$W,F=this.$M,K=this.$D,j="set"+(this.$u?"UTC":"");switch(B){case t:return D?q(1,0):q(31,11);case l:return D?q(1,F):q(0,F+1);case n:var Z=this.$locale().weekStart||0,re=(T<Z?T+7:T)-Z;return q(D?K-re:K+(6-re),F);case s:case e:return H(j+"Hours",0);case a:return H(j+"Minutes",1);case c:return H(j+"Seconds",2);case d:return H(j+"Milliseconds",3);default:return this.clone()}},L.endOf=function(w){return this.startOf(w,!1)},L.$set=function(w,N){var O,D=P.p(w),B="set"+(this.$u?"UTC":""),q=(O={},O[s]=B+"Date",O[e]=B+"Date",O[l]=B+"Month",O[t]=B+"FullYear",O[a]=B+"Hours",O[c]=B+"Minutes",O[d]=B+"Seconds",O[p]=B+"Milliseconds",O)[D],H=D===s?this.$D+(N-this.$W):N;if(D===l||D===t){var T=this.clone().set(e,1);T.$d[q](H),T.init(),this.$d=T.set(e,Math.min(this.$D,T.daysInMonth())).$d}else q&&this.$d[q](H);return this.init(),this},L.set=function(w,N){return this.clone().$set(w,N)},L.get=function(w){return this[P.p(w)]()},L.add=function(w,N){var O,D=this;w=Number(w);var B=P.p(N),q=function(F){var K=R(D);return P.w(K.date(K.date()+Math.round(F*w)),D)};if(B===l)return this.set(l,this.$M+w);if(B===t)return this.set(t,this.$y+w);if(B===s)return q(1);if(B===n)return q(7);var H=(O={},O[c]=_,O[a]=S,O[d]=b,O)[B]||1,T=this.$d.getTime()+w*H;return P.w(T,this)},L.subtract=function(w,N){return this.add(-1*w,N)},L.format=function(w){var N=this,O=this.$locale();if(!this.isValid())return O.invalidDate||i;var D=w||"YYYY-MM-DDTHH:mm:ssZ",B=P.z(this),q=this.$H,H=this.$m,T=this.$M,F=O.weekdays,K=O.months,j=O.meridiem,Z=function(V,Q,ne,ue){return V&&(V[Q]||V(N,D))||ne[Q].slice(0,ue)},re=function(V){return P.s(q%12||12,V,"0")},X=j||function(V,Q,ne){var ue=V<12?"AM":"PM";return ne?ue.toLowerCase():ue};return D.replace(u,(function(V,Q){return Q||(function(ne){switch(ne){case"YY":return String(N.$y).slice(-2);case"YYYY":return P.s(N.$y,4,"0");case"M":return T+1;case"MM":return P.s(T+1,2,"0");case"MMM":return Z(O.monthsShort,T,K,3);case"MMMM":return Z(K,T);case"D":return N.$D;case"DD":return P.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return Z(O.weekdaysMin,N.$W,F,2);case"ddd":return Z(O.weekdaysShort,N.$W,F,3);case"dddd":return F[N.$W];case"H":return String(q);case"HH":return P.s(q,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return X(q,H,!0);case"A":return X(q,H,!1);case"m":return String(H);case"mm":return P.s(H,2,"0");case"s":return String(N.$s);case"ss":return P.s(N.$s,2,"0");case"SSS":return P.s(N.$ms,3,"0");case"Z":return B}return null})(V)||B.replace(":","")}))},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(w,N,O){var D,B=this,q=P.p(N),H=R(w),T=(H.utcOffset()-this.utcOffset())*_,F=this-H,K=function(){return P.m(B,H)};switch(q){case t:D=K()/12;break;case l:D=K();break;case r:D=K()/3;break;case n:D=(F-T)/6048e5;break;case s:D=(F-T)/864e5;break;case a:D=F/S;break;case c:D=F/_;break;case d:D=F/b;break;default:D=F}return O?D:P.a(D)},L.daysInMonth=function(){return this.endOf(l).$D},L.$locale=function(){return C[this.$L]},L.locale=function(w,N){if(!w)return this.$L;var O=this.clone(),D=I(w,N,!0);return D&&(O.$L=D),O},L.clone=function(){return P.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},E})(),x=M.prototype;return R.prototype=x,[["$ms",p],["$s",d],["$m",c],["$H",a],["$W",s],["$M",l],["$y",t],["$D",e]].forEach((function(E){x[E[1]]=function(L){return this.$g(L,E[0],E[1])}})),R.extend=function(E,L){return E.$i||(E(L,M,R),E.$i=!0),R},R.locale=I,R.isDayjs=A,R.unix=function(E){return R(1e3*E)},R.en=C[h],R.Ls=C,R.p={},R}))})(Re)),Re.exports}var vr=mr(),_r=Tt(vr);export{_r as g,dr as h};
|
|
23
|
+
//# sourceMappingURL=handlebars-B_i-to-h.esm.js.map
|