@ozdao/prometheus-framework 0.2.111 → 0.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.schema-BFhpUXUt.js +12 -0
- package/dist/common.schema-ChBVARrs.mjs +13 -0
- package/dist/community.server.js +6 -4
- package/dist/community.server.mjs +4 -2
- package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
- package/dist/engagement.schema-fdLNO2_6.js +27 -0
- package/dist/events.server.js +6 -4
- package/dist/events.server.mjs +4 -2
- package/dist/files.server.js +81 -29
- package/dist/files.server.mjs +81 -29
- package/dist/gallery.server.js +66 -39
- package/dist/gallery.server.mjs +66 -39
- package/dist/main-8APITHuW.mjs +14201 -0
- package/dist/main-8N2Jmsuk.js +2 -2
- package/dist/main-BJvlNekm.mjs +5 -5
- package/dist/main-BQisDfLk.js +2 -2
- package/dist/main-BV1Yv9Hy.js +2 -2
- package/dist/main-Bw0PvTs-.mjs +5 -5
- package/dist/main-ByCtZbHD.mjs +5 -5
- package/dist/main-CX2ISR43.mjs +5 -5
- package/dist/main-CXObXjv-.js +2 -2
- package/dist/main-CkeuHuCY.mjs +5 -5
- package/dist/main-CnfcBov2.mjs +5 -5
- package/dist/main-D50VqYhy.js +2 -2
- package/dist/main-D8gNZLSa.js +2 -2
- package/dist/main-DPsHxX0l.mjs +5 -5
- package/dist/main-DTlUA63C.mjs +5 -5
- package/dist/main-DfD5hLQo.mjs +5 -5
- package/dist/main-Dh6Zfei9.js +2 -2
- package/dist/main-DmNP-t33.mjs +5 -5
- package/dist/main-DwyUYWFX.js +2 -2
- package/dist/main-VcxO-jAt.js +92 -0
- package/dist/main-cffh4bbv.js +2 -2
- package/dist/main-pGo7JpSP.js +2 -2
- package/dist/main.css +1 -1
- package/dist/metadata.schema-6slGhpQS.js +40 -0
- package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +45 -42
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +40 -37
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +56 -59
- package/dist/organizations.server.mjs +56 -59
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJoJAetd.mjs +162 -0
- package/dist/queryProcessor-DWf9tsis.js +161 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-TGdVOTnw.js +1 -0
- package/dist/web-_W9a_nWD.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +40 -43
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/DatePicker/Calendar.vue +29 -31
- package/src/components/Dropdown/Dropdown.vue +5 -11
- package/src/components/Feed/Feed.vue +98 -15
- package/src/components/FieldTags/BlockTags.vue +3 -3
- package/src/components/FieldTags/FieldTags.vue +1 -1
- package/src/components/FieldTags/vue-tags-input.scss +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/LocationSelection/LocationSelection.vue +5 -30
- package/src/components/Map/LoaderGMaps.js +66 -0
- package/src/components/Map/Map.vue +2 -1
- package/src/components/Marquee/Marquee.vue +1 -1
- package/src/components/Radio/Radio.vue +36 -13
- package/src/configurator/components/pages/Styles.vue +1 -1
- package/src/modules/auth/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
- package/src/modules/auth/components/pages/Invite.vue +2 -2
- package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/components/pages/SignIn.vue +4 -4
- package/src/modules/auth/components/pages/SignUp.vue +3 -3
- package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +1 -1
- package/src/modules/constructor/components/elements/Video.vue +2 -2
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +32 -32
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +3 -3
- package/src/modules/events/components/pages/Events.vue +4 -3
- package/src/modules/events/components/sections/Feed.vue +3 -3
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +8 -6
- package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
- package/src/modules/files/routes/files.routes.js +11 -9
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
- package/src/modules/gallery/controllers/gallery.controller.js +57 -38
- package/src/modules/gallery/models/photo.model.js +20 -11
- package/src/modules/gallery/routes/gallery.routes.js +3 -3
- package/src/modules/gallery/store/gallery.js +3 -78
- package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
- package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
- package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
- package/src/modules/globals/components/layouts/Client.vue +273 -0
- package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
- package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
- package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
- package/src/modules/globals/models/common.schema.js +1 -1
- package/src/modules/globals/services/globals.store.js +11 -6
- package/src/modules/globals/store/globals.js +12 -10
- package/src/modules/icons/logos/Logotype.vue +23 -19
- package/src/modules/icons/navigation/IconCalendar.vue +18 -0
- package/src/modules/icons/navigation/IconFilter.vue +18 -0
- package/src/modules/icons/navigation/IconSearch.vue +1 -3
- package/src/modules/icons/navigation/IconSort.vue +21 -0
- package/src/modules/landing/components/pages/Home.vue +4 -4
- package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
- package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
- package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
- package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
- package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
- package/src/modules/marketplace/components/sections/Filters.vue +63 -115
- package/src/modules/marketplace/store/marketplace.js +22 -167
- package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
- package/src/modules/orders/components/pages/Order.vue +8 -8
- package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -5
- package/src/modules/orders/components/partials/ShopCart.vue +5 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/pages/Department.vue +3 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +4 -4
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +103 -93
- package/src/modules/organizations/models/organization.model.js +10 -7
- package/src/modules/organizations/store/organizations.js +3 -34
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
- package/src/modules/products/components/pages/Categories.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +4 -4
- package/src/modules/products/components/pages/Product.vue +1 -5
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/products.client.js +0 -2
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +0 -2
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +3 -3
- package/src/modules/users/components/pages/Profile.vue +5 -5
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
- package/src/modules/users/users.client.js +5 -0
- package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
- package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
- package/src/styles/base/borders.scss +4 -0
- package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
- package/src/styles/config.scss +15 -9
- package/src/styles/layout.scss +37 -8
- package/src/styles/typography.scss +24 -24
- package/src/modules/products/components/sections/SortProducts.vue +0 -74
- /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -44,9 +44,9 @@ function ut(t) {
|
|
44
44
|
return Object.keys(t);
|
45
45
|
}
|
46
46
|
function Ct(t, n) {
|
47
|
-
return [t, n].reduce((r, s) => (ut(s).forEach((
|
48
|
-
const e = r[
|
49
|
-
r[
|
47
|
+
return [t, n].reduce((r, s) => (ut(s).forEach((i) => {
|
48
|
+
const e = r[i], o = s[i], f = Pt(e) && Pt(o);
|
49
|
+
r[i] = f ? Ct(e, o) : o;
|
50
50
|
}), r), {});
|
51
51
|
}
|
52
52
|
function bt(t, n) {
|
@@ -55,20 +55,20 @@ function bt(t, n) {
|
|
55
55
|
function $t(t, n) {
|
56
56
|
const r = {
|
57
57
|
start: s,
|
58
|
-
center:
|
58
|
+
center: i,
|
59
59
|
end: e
|
60
60
|
};
|
61
61
|
function s() {
|
62
62
|
return 0;
|
63
63
|
}
|
64
|
-
function c
|
65
|
-
return e(
|
64
|
+
function i(c) {
|
65
|
+
return e(c) / 2;
|
66
66
|
}
|
67
|
-
function e(
|
68
|
-
return n -
|
67
|
+
function e(c) {
|
68
|
+
return n - c;
|
69
69
|
}
|
70
|
-
function o(
|
71
|
-
return yt(t) ? r[t](
|
70
|
+
function o(c, u) {
|
71
|
+
return yt(t) ? r[t](c) : t(n, c, u);
|
72
72
|
}
|
73
73
|
return {
|
74
74
|
measure: o
|
@@ -76,20 +76,20 @@ function $t(t, n) {
|
|
76
76
|
}
|
77
77
|
function ft() {
|
78
78
|
let t = [];
|
79
|
-
function n(
|
79
|
+
function n(i, e, o, f = {
|
80
80
|
passive: !0
|
81
81
|
}) {
|
82
|
-
let
|
83
|
-
if ("addEventListener" in
|
84
|
-
|
82
|
+
let c;
|
83
|
+
if ("addEventListener" in i)
|
84
|
+
i.addEventListener(e, o, f), c = () => i.removeEventListener(e, o, f);
|
85
85
|
else {
|
86
|
-
const
|
87
|
-
|
86
|
+
const u = i;
|
87
|
+
u.addListener(o), c = () => u.removeListener(o);
|
88
88
|
}
|
89
|
-
return t.push(
|
89
|
+
return t.push(c), s;
|
90
90
|
}
|
91
91
|
function r() {
|
92
|
-
t = t.filter((
|
92
|
+
t = t.filter((i) => i());
|
93
93
|
}
|
94
94
|
const s = {
|
95
95
|
add: n,
|
@@ -98,38 +98,38 @@ function ft() {
|
|
98
98
|
return s;
|
99
99
|
}
|
100
100
|
function Qt(t, n, r, s) {
|
101
|
-
const
|
102
|
-
let o = null,
|
103
|
-
function
|
104
|
-
|
101
|
+
const i = ft(), e = 1e3 / 60;
|
102
|
+
let o = null, f = 0, c = 0;
|
103
|
+
function u() {
|
104
|
+
i.add(t, "visibilitychange", () => {
|
105
105
|
t.hidden && d();
|
106
106
|
});
|
107
107
|
}
|
108
|
-
function
|
109
|
-
x(),
|
108
|
+
function h() {
|
109
|
+
x(), i.clear();
|
110
110
|
}
|
111
|
-
function
|
112
|
-
if (!
|
111
|
+
function l(S) {
|
112
|
+
if (!c)
|
113
113
|
return;
|
114
|
-
o || (o =
|
115
|
-
const
|
116
|
-
for (o =
|
117
|
-
r(),
|
118
|
-
const
|
119
|
-
s(
|
114
|
+
o || (o = S);
|
115
|
+
const a = S - o;
|
116
|
+
for (o = S, f += a; f >= e; )
|
117
|
+
r(), f -= e;
|
118
|
+
const g = M(f / e);
|
119
|
+
s(g), c && n.requestAnimationFrame(l);
|
120
120
|
}
|
121
121
|
function m() {
|
122
|
-
|
122
|
+
c || (c = n.requestAnimationFrame(l));
|
123
123
|
}
|
124
124
|
function x() {
|
125
|
-
n.cancelAnimationFrame(
|
125
|
+
n.cancelAnimationFrame(c), o = null, f = 0, c = 0;
|
126
126
|
}
|
127
127
|
function d() {
|
128
|
-
o = null,
|
128
|
+
o = null, f = 0;
|
129
129
|
}
|
130
130
|
return {
|
131
|
-
init:
|
132
|
-
destroy:
|
131
|
+
init: u,
|
132
|
+
destroy: h,
|
133
133
|
start: m,
|
134
134
|
stop: x,
|
135
135
|
update: r,
|
@@ -137,48 +137,48 @@ function Qt(t, n, r, s) {
|
|
137
137
|
};
|
138
138
|
}
|
139
139
|
function Kt(t, n) {
|
140
|
-
const r = n === "rtl", s = t === "y",
|
141
|
-
function
|
140
|
+
const r = n === "rtl", s = t === "y", i = s ? "y" : "x", e = s ? "x" : "y", o = !s && r ? -1 : 1, f = h(), c = l();
|
141
|
+
function u(d) {
|
142
142
|
const {
|
143
143
|
height: p,
|
144
|
-
width:
|
144
|
+
width: S
|
145
145
|
} = d;
|
146
|
-
return s ? p :
|
146
|
+
return s ? p : S;
|
147
147
|
}
|
148
|
-
function
|
148
|
+
function h() {
|
149
149
|
return s ? "top" : r ? "right" : "left";
|
150
150
|
}
|
151
|
-
function
|
151
|
+
function l() {
|
152
152
|
return s ? "bottom" : r ? "left" : "right";
|
153
153
|
}
|
154
154
|
function m(d) {
|
155
155
|
return d * o;
|
156
156
|
}
|
157
157
|
return {
|
158
|
-
scroll:
|
158
|
+
scroll: i,
|
159
159
|
cross: e,
|
160
|
-
startEdge:
|
161
|
-
endEdge:
|
162
|
-
measureSize:
|
160
|
+
startEdge: f,
|
161
|
+
endEdge: c,
|
162
|
+
measureSize: u,
|
163
163
|
direction: m
|
164
164
|
};
|
165
165
|
}
|
166
166
|
function nt(t = 0, n = 0) {
|
167
167
|
const r = M(t - n);
|
168
|
-
function s(
|
169
|
-
return
|
168
|
+
function s(u) {
|
169
|
+
return u < t;
|
170
170
|
}
|
171
|
-
function
|
172
|
-
return
|
171
|
+
function i(u) {
|
172
|
+
return u > n;
|
173
173
|
}
|
174
|
-
function e(
|
175
|
-
return s(
|
174
|
+
function e(u) {
|
175
|
+
return s(u) || i(u);
|
176
176
|
}
|
177
|
-
function o(
|
178
|
-
return e(
|
177
|
+
function o(u) {
|
178
|
+
return e(u) ? s(u) ? t : n : u;
|
179
179
|
}
|
180
|
-
function u
|
181
|
-
return r ?
|
180
|
+
function f(u) {
|
181
|
+
return r ? u - r * Math.ceil((u - n) / r) : u;
|
182
182
|
}
|
183
183
|
return {
|
184
184
|
length: r,
|
@@ -186,40 +186,40 @@ function nt(t = 0, n = 0) {
|
|
186
186
|
min: t,
|
187
187
|
constrain: o,
|
188
188
|
reachedAny: e,
|
189
|
-
reachedMax:
|
189
|
+
reachedMax: i,
|
190
190
|
reachedMin: s,
|
191
|
-
removeOffset:
|
191
|
+
removeOffset: f
|
192
192
|
};
|
193
193
|
}
|
194
194
|
function wt(t, n, r) {
|
195
195
|
const {
|
196
196
|
constrain: s
|
197
|
-
} = nt(0, t),
|
197
|
+
} = nt(0, t), i = t + 1;
|
198
198
|
let e = o(n);
|
199
199
|
function o(m) {
|
200
|
-
return r ? M((
|
200
|
+
return r ? M((i + m) % i) : s(m);
|
201
201
|
}
|
202
|
-
function
|
202
|
+
function f() {
|
203
203
|
return e;
|
204
204
|
}
|
205
|
-
function
|
206
|
-
return e = o(m),
|
205
|
+
function c(m) {
|
206
|
+
return e = o(m), l;
|
207
207
|
}
|
208
|
-
function
|
209
|
-
return
|
208
|
+
function u(m) {
|
209
|
+
return h().set(f() + m);
|
210
210
|
}
|
211
|
-
function
|
212
|
-
return wt(t,
|
211
|
+
function h() {
|
212
|
+
return wt(t, f(), r);
|
213
213
|
}
|
214
|
-
const
|
215
|
-
get:
|
216
|
-
set:
|
217
|
-
add:
|
218
|
-
clone:
|
214
|
+
const l = {
|
215
|
+
get: f,
|
216
|
+
set: c,
|
217
|
+
add: u,
|
218
|
+
clone: h
|
219
219
|
};
|
220
|
-
return
|
220
|
+
return l;
|
221
221
|
}
|
222
|
-
function Xt(t, n, r, s,
|
222
|
+
function Xt(t, n, r, s, i, e, o, f, c, u, h, l, m, x, d, p, S, a, g) {
|
223
223
|
const {
|
224
224
|
cross: b,
|
225
225
|
direction: L
|
@@ -234,10 +234,10 @@ function Xt(t, n, r, s, c, e, o, u, i, a, S, f, m, x, d, p, g, l, h) {
|
|
234
234
|
}, V = d ? 43 : 25;
|
235
235
|
let Y = !1, B = 0, U = 0, J = !1, $ = !1, _ = !1, Q = !1;
|
236
236
|
function Z(y) {
|
237
|
-
if (!
|
237
|
+
if (!g)
|
238
238
|
return;
|
239
239
|
function T(w) {
|
240
|
-
(Et(
|
240
|
+
(Et(g) || g(y, w)) && z(w);
|
241
241
|
}
|
242
242
|
const C = n;
|
243
243
|
E.add(C, "dragstart", (w) => w.preventDefault(), F).add(C, "touchmove", () => {
|
@@ -259,12 +259,12 @@ function Xt(t, n, r, s, c, e, o, u, i, a, S, f, m, x, d, p, g, l, h) {
|
|
259
259
|
return (d ? O : A)[Q ? "mouse" : "touch"];
|
260
260
|
}
|
261
261
|
function st(y, T) {
|
262
|
-
const C =
|
263
|
-
return d || M(y) < D ? w :
|
262
|
+
const C = l.add(Lt(y) * -1), w = h.byDistance(y, !d).distance;
|
263
|
+
return d || M(y) < D ? w : S && T ? w * 0.5 : h.byIndex(C.get(), 0).distance;
|
264
264
|
}
|
265
265
|
function z(y) {
|
266
266
|
const T = bt(y, s);
|
267
|
-
Q = T, _ = d && T && !y.buttons && Y, Y = it(
|
267
|
+
Q = T, _ = d && T && !y.buttons && Y, Y = it(i.get(), o.get()) >= 2, !(T && y.button !== 0) && (X(y.target) || (J = !0, e.pointerDown(y), u.useFriction(0).useDuration(0), i.set(o), et(), B = e.readPoint(y), U = e.readPoint(y, b), m.emit("pointerDown")));
|
268
268
|
}
|
269
269
|
function R(y) {
|
270
270
|
if (!bt(y, s) && y.touches.length >= 2)
|
@@ -273,11 +273,11 @@ function Xt(t, n, r, s, c, e, o, u, i, a, S, f, m, x, d, p, g, l, h) {
|
|
273
273
|
if (!$ && !Q && (!y.cancelable || ($ = q > H, !$)))
|
274
274
|
return N(y);
|
275
275
|
const G = e.pointerMove(y);
|
276
|
-
q > p && (_ = !0),
|
276
|
+
q > p && (_ = !0), u.useFriction(0.3).useDuration(0.75), f.start(), i.add(L(G)), y.preventDefault();
|
277
277
|
}
|
278
278
|
function N(y) {
|
279
|
-
const C =
|
280
|
-
$ = !1, J = !1, I.clear(),
|
279
|
+
const C = h.byDistance(0, !1).index !== l.get(), w = e.pointerUp(y) * rt(), q = st(L(w), C), H = Ut(w, q), G = V - 10 * H, W = a + H / 50;
|
280
|
+
$ = !1, J = !1, I.clear(), u.useDuration(G).useFriction(W), c.distance(q, !d), Q = !1, m.emit("pointerUp");
|
281
281
|
}
|
282
282
|
function ot(y) {
|
283
283
|
_ && (y.stopPropagation(), y.preventDefault(), _ = !1);
|
@@ -287,36 +287,36 @@ function Xt(t, n, r, s, c, e, o, u, i, a, S, f, m, x, d, p, g, l, h) {
|
|
287
287
|
}
|
288
288
|
return {
|
289
289
|
init: Z,
|
290
|
-
|
291
|
-
|
290
|
+
destroy: K,
|
291
|
+
pointerDown: k
|
292
292
|
};
|
293
293
|
}
|
294
294
|
function Yt(t, n) {
|
295
|
-
let s,
|
296
|
-
function e(
|
297
|
-
return
|
295
|
+
let s, i;
|
296
|
+
function e(l) {
|
297
|
+
return l.timeStamp;
|
298
298
|
}
|
299
|
-
function o(
|
299
|
+
function o(l, m) {
|
300
300
|
const d = `client${(m || t.scroll) === "x" ? "X" : "Y"}`;
|
301
|
-
return (bt(
|
301
|
+
return (bt(l, n) ? l : l.touches[0])[d];
|
302
302
|
}
|
303
|
-
function
|
304
|
-
return s =
|
303
|
+
function f(l) {
|
304
|
+
return s = l, i = l, o(l);
|
305
305
|
}
|
306
|
-
function
|
307
|
-
const m = o(
|
308
|
-
return
|
306
|
+
function c(l) {
|
307
|
+
const m = o(l) - o(i), x = e(l) - e(s) > 170;
|
308
|
+
return i = l, x && (s = l), m;
|
309
309
|
}
|
310
|
-
function
|
311
|
-
if (!s || !
|
310
|
+
function u(l) {
|
311
|
+
if (!s || !i)
|
312
312
|
return 0;
|
313
|
-
const m = o(
|
313
|
+
const m = o(i) - o(s), x = e(l) - e(s), d = e(l) - e(i) > 170, p = m / x;
|
314
314
|
return x && !d && M(p) > 0.1 ? p : 0;
|
315
315
|
}
|
316
316
|
return {
|
317
|
-
pointerDown:
|
318
|
-
pointerMove:
|
319
|
-
pointerUp:
|
317
|
+
pointerDown: f,
|
318
|
+
pointerMove: c,
|
319
|
+
pointerUp: u,
|
320
320
|
readPoint: o
|
321
321
|
};
|
322
322
|
}
|
@@ -324,15 +324,15 @@ function _t() {
|
|
324
324
|
function t(r) {
|
325
325
|
const {
|
326
326
|
offsetTop: s,
|
327
|
-
offsetLeft:
|
327
|
+
offsetLeft: i,
|
328
328
|
offsetWidth: e,
|
329
329
|
offsetHeight: o
|
330
330
|
} = r;
|
331
331
|
return {
|
332
332
|
top: s,
|
333
|
-
right:
|
333
|
+
right: i + e,
|
334
334
|
bottom: s + o,
|
335
|
-
left:
|
335
|
+
left: i,
|
336
336
|
width: e,
|
337
337
|
height: o
|
338
338
|
};
|
@@ -349,18 +349,18 @@ function Jt(t) {
|
|
349
349
|
measure: n
|
350
350
|
};
|
351
351
|
}
|
352
|
-
function Zt(t, n, r, s,
|
353
|
-
let
|
354
|
-
function
|
355
|
-
return
|
352
|
+
function Zt(t, n, r, s, i, e, o) {
|
353
|
+
let f, c, u = [], h = !1;
|
354
|
+
function l(p) {
|
355
|
+
return i.measureSize(o.measure(p));
|
356
356
|
}
|
357
357
|
function m(p) {
|
358
358
|
if (!e)
|
359
359
|
return;
|
360
|
-
|
361
|
-
function g
|
362
|
-
for (const b of
|
363
|
-
const L = b.target === t, v = s.indexOf(b.target), F = L ?
|
360
|
+
c = l(t), u = s.map(l);
|
361
|
+
function S(g) {
|
362
|
+
for (const b of g) {
|
363
|
+
const L = b.target === t, v = s.indexOf(b.target), F = L ? c : u[v], E = l(L ? t : s[v]);
|
364
364
|
if (M(E - F) >= 0.5) {
|
365
365
|
r.requestAnimationFrame(() => {
|
366
366
|
p.reInit(), n.emit("resize");
|
@@ -369,31 +369,31 @@ function Zt(t, n, r, s, c, e, o) {
|
|
369
369
|
}
|
370
370
|
}
|
371
371
|
}
|
372
|
-
|
373
|
-
|
374
|
-
}), [t].concat(s).forEach((
|
372
|
+
f = new ResizeObserver((g) => {
|
373
|
+
h || (Et(e) || e(p, g)) && S(g);
|
374
|
+
}), [t].concat(s).forEach((g) => f.observe(g));
|
375
375
|
}
|
376
376
|
function x() {
|
377
|
-
|
377
|
+
f && f.disconnect(), h = !0;
|
378
378
|
}
|
379
379
|
return {
|
380
380
|
init: m,
|
381
381
|
destroy: x
|
382
382
|
};
|
383
383
|
}
|
384
|
-
function Wt(t, n, r, s,
|
385
|
-
let e = 0, o = 0,
|
386
|
-
function
|
387
|
-
const v = r.get() - t.get(), F = !
|
384
|
+
function Wt(t, n, r, s, i) {
|
385
|
+
let e = 0, o = 0, f = s, c = i, u = t.get(), h = 0;
|
386
|
+
function l() {
|
387
|
+
const v = r.get() - t.get(), F = !f;
|
388
388
|
let E = 0;
|
389
|
-
return F ? (e = 0, t.set(r), E = v) : (e += v /
|
389
|
+
return F ? (e = 0, t.set(r), E = v) : (e += v / f, e *= c, u += e, t.add(e), E = u - h), o = Lt(E), h = u, L;
|
390
390
|
}
|
391
391
|
function m() {
|
392
392
|
const v = r.get() - n.get();
|
393
393
|
return M(v) < 1e-3;
|
394
394
|
}
|
395
395
|
function x() {
|
396
|
-
return
|
396
|
+
return f;
|
397
397
|
}
|
398
398
|
function d() {
|
399
399
|
return o;
|
@@ -401,107 +401,107 @@ function Wt(t, n, r, s, c) {
|
|
401
401
|
function p() {
|
402
402
|
return e;
|
403
403
|
}
|
404
|
-
function
|
405
|
-
return
|
404
|
+
function S() {
|
405
|
+
return g(s);
|
406
406
|
}
|
407
|
-
function
|
408
|
-
return b(
|
407
|
+
function a() {
|
408
|
+
return b(i);
|
409
409
|
}
|
410
|
-
function
|
411
|
-
return
|
410
|
+
function g(v) {
|
411
|
+
return f = v, L;
|
412
412
|
}
|
413
413
|
function b(v) {
|
414
|
-
return
|
414
|
+
return c = v, L;
|
415
415
|
}
|
416
416
|
const L = {
|
417
417
|
direction: d,
|
418
418
|
duration: x,
|
419
419
|
velocity: p,
|
420
|
-
seek:
|
420
|
+
seek: l,
|
421
421
|
settled: m,
|
422
|
-
useBaseFriction:
|
423
|
-
useBaseDuration:
|
422
|
+
useBaseFriction: a,
|
423
|
+
useBaseDuration: S,
|
424
424
|
useFriction: b,
|
425
|
-
useDuration:
|
425
|
+
useDuration: g
|
426
426
|
};
|
427
427
|
return L;
|
428
428
|
}
|
429
|
-
function tn(t, n, r, s,
|
430
|
-
const e =
|
431
|
-
let
|
432
|
-
function
|
433
|
-
return !(
|
429
|
+
function tn(t, n, r, s, i) {
|
430
|
+
const e = i.measure(10), o = i.measure(50), f = nt(0.1, 0.99);
|
431
|
+
let c = !1;
|
432
|
+
function u() {
|
433
|
+
return !(c || !t.reachedAny(r.get()) || !t.reachedAny(n.get()));
|
434
434
|
}
|
435
|
-
function
|
436
|
-
if (!
|
435
|
+
function h(x) {
|
436
|
+
if (!u())
|
437
437
|
return;
|
438
|
-
const d = t.reachedMin(n.get()) ? "min" : "max", p = M(t[d] - n.get()),
|
439
|
-
r.subtract(
|
438
|
+
const d = t.reachedMin(n.get()) ? "min" : "max", p = M(t[d] - n.get()), S = r.get() - n.get(), a = f.constrain(p / o);
|
439
|
+
r.subtract(S * a), !x && M(S) < e && (r.set(t.constrain(r.get())), s.useDuration(25).useBaseFriction());
|
440
440
|
}
|
441
|
-
function
|
442
|
-
|
441
|
+
function l(x) {
|
442
|
+
c = !x;
|
443
443
|
}
|
444
444
|
return {
|
445
|
-
constrain:
|
446
|
-
toggleActive:
|
445
|
+
constrain: h,
|
446
|
+
toggleActive: l
|
447
447
|
};
|
448
448
|
}
|
449
|
-
function nn(t, n, r, s,
|
450
|
-
const e = nt(-n + t, 0), o =
|
451
|
-
function
|
449
|
+
function nn(t, n, r, s, i) {
|
450
|
+
const e = nt(-n + t, 0), o = l(), f = h(), c = m();
|
451
|
+
function u(d, p) {
|
452
452
|
return it(d, p) < 1;
|
453
453
|
}
|
454
|
-
function
|
455
|
-
const d = o[0], p = j(o),
|
456
|
-
return nt(
|
454
|
+
function h() {
|
455
|
+
const d = o[0], p = j(o), S = o.lastIndexOf(d), a = o.indexOf(p) + 1;
|
456
|
+
return nt(S, a);
|
457
457
|
}
|
458
|
-
function
|
458
|
+
function l() {
|
459
459
|
return r.map((d, p) => {
|
460
460
|
const {
|
461
|
-
min:
|
462
|
-
max:
|
463
|
-
} = e,
|
464
|
-
return b ?
|
461
|
+
min: S,
|
462
|
+
max: a
|
463
|
+
} = e, g = e.constrain(d), b = !p, L = It(r, p);
|
464
|
+
return b ? a : L || u(S, g) ? S : u(a, g) ? a : g;
|
465
465
|
}).map((d) => parseFloat(d.toFixed(3)));
|
466
466
|
}
|
467
467
|
function m() {
|
468
|
-
if (n <= t +
|
468
|
+
if (n <= t + i)
|
469
469
|
return [e.max];
|
470
470
|
if (s === "keepSnaps")
|
471
471
|
return o;
|
472
472
|
const {
|
473
473
|
min: d,
|
474
474
|
max: p
|
475
|
-
} =
|
475
|
+
} = f;
|
476
476
|
return o.slice(d, p);
|
477
477
|
}
|
478
478
|
return {
|
479
|
-
snapsContained:
|
480
|
-
scrollContainLimit:
|
479
|
+
snapsContained: c,
|
480
|
+
scrollContainLimit: f
|
481
481
|
};
|
482
482
|
}
|
483
483
|
function en(t, n, r) {
|
484
|
-
const s = n[0],
|
484
|
+
const s = n[0], i = r ? s - t : j(n);
|
485
485
|
return {
|
486
|
-
limit: nt(
|
486
|
+
limit: nt(i, s)
|
487
487
|
};
|
488
488
|
}
|
489
489
|
function on(t, n, r, s) {
|
490
490
|
const e = n.min + 0.1, o = n.max + 0.1, {
|
491
|
-
reachedMin:
|
492
|
-
reachedMax:
|
491
|
+
reachedMin: f,
|
492
|
+
reachedMax: c
|
493
493
|
} = nt(e, o);
|
494
|
-
function
|
495
|
-
return m === 1 ?
|
494
|
+
function u(m) {
|
495
|
+
return m === 1 ? c(r.get()) : m === -1 ? f(r.get()) : !1;
|
496
496
|
}
|
497
|
-
function
|
498
|
-
if (!
|
497
|
+
function h(m) {
|
498
|
+
if (!u(m))
|
499
499
|
return;
|
500
500
|
const x = t * (m * -1);
|
501
501
|
s.forEach((d) => d.add(x));
|
502
502
|
}
|
503
503
|
return {
|
504
|
-
loop:
|
504
|
+
loop: h
|
505
505
|
};
|
506
506
|
}
|
507
507
|
function rn(t) {
|
@@ -517,153 +517,153 @@ function rn(t) {
|
|
517
517
|
get: s
|
518
518
|
};
|
519
519
|
}
|
520
|
-
function sn(t, n, r, s,
|
520
|
+
function sn(t, n, r, s, i) {
|
521
521
|
const {
|
522
522
|
startEdge: e,
|
523
523
|
endEdge: o
|
524
524
|
} = t, {
|
525
|
-
groupSlides:
|
526
|
-
} =
|
527
|
-
function
|
528
|
-
return
|
525
|
+
groupSlides: f
|
526
|
+
} = i, c = l().map(n.measure), u = m(), h = x();
|
527
|
+
function l() {
|
528
|
+
return f(s).map((p) => j(p)[o] - p[0][e]).map(M);
|
529
529
|
}
|
530
530
|
function m() {
|
531
531
|
return s.map((p) => r[e] - p[e]).map((p) => -M(p));
|
532
532
|
}
|
533
533
|
function x() {
|
534
|
-
return u
|
534
|
+
return f(u).map((p) => p[0]).map((p, S) => p + c[S]);
|
535
535
|
}
|
536
536
|
return {
|
537
|
-
snaps:
|
538
|
-
snapsAligned:
|
537
|
+
snaps: u,
|
538
|
+
snapsAligned: h
|
539
539
|
};
|
540
540
|
}
|
541
|
-
function cn(t, n, r, s,
|
541
|
+
function cn(t, n, r, s, i, e) {
|
542
542
|
const {
|
543
543
|
groupSlides: o
|
544
|
-
} =
|
545
|
-
min:
|
546
|
-
max:
|
547
|
-
} = s,
|
548
|
-
function
|
544
|
+
} = i, {
|
545
|
+
min: f,
|
546
|
+
max: c
|
547
|
+
} = s, u = h();
|
548
|
+
function h() {
|
549
549
|
const m = o(e), x = !t || n === "keepSnaps";
|
550
|
-
return r.length === 1 ? [e] : x ? m : m.slice(
|
551
|
-
const
|
552
|
-
if (
|
553
|
-
const b = j(
|
550
|
+
return r.length === 1 ? [e] : x ? m : m.slice(f, c).map((d, p, S) => {
|
551
|
+
const a = !p, g = It(S, p);
|
552
|
+
if (a) {
|
553
|
+
const b = j(S[0]) + 1;
|
554
554
|
return Ot(b);
|
555
555
|
}
|
556
|
-
if (
|
557
|
-
const b = at(e) - j(
|
558
|
-
return Ot(b, j(
|
556
|
+
if (g) {
|
557
|
+
const b = at(e) - j(S)[0] + 1;
|
558
|
+
return Ot(b, j(S)[0]);
|
559
559
|
}
|
560
560
|
return d;
|
561
561
|
});
|
562
562
|
}
|
563
563
|
return {
|
564
|
-
slideRegistry:
|
564
|
+
slideRegistry: u
|
565
565
|
};
|
566
566
|
}
|
567
|
-
function un(t, n, r, s,
|
567
|
+
function un(t, n, r, s, i) {
|
568
568
|
const {
|
569
569
|
reachedAny: e,
|
570
570
|
removeOffset: o,
|
571
|
-
constrain:
|
571
|
+
constrain: f
|
572
572
|
} = s;
|
573
|
-
function
|
574
|
-
return d.concat().sort((p,
|
573
|
+
function c(d) {
|
574
|
+
return d.concat().sort((p, S) => M(p) - M(S))[0];
|
575
575
|
}
|
576
|
-
function
|
577
|
-
const p = t ? o(d) :
|
578
|
-
diff:
|
576
|
+
function u(d) {
|
577
|
+
const p = t ? o(d) : f(d), S = n.map((g, b) => ({
|
578
|
+
diff: h(g - p, 0),
|
579
579
|
index: b
|
580
|
-
})).sort((
|
581
|
-
index:
|
582
|
-
} =
|
580
|
+
})).sort((g, b) => M(g.diff) - M(b.diff)), {
|
581
|
+
index: a
|
582
|
+
} = S[0];
|
583
583
|
return {
|
584
|
-
index:
|
584
|
+
index: a,
|
585
585
|
distance: p
|
586
586
|
};
|
587
587
|
}
|
588
|
-
function
|
589
|
-
const
|
588
|
+
function h(d, p) {
|
589
|
+
const S = [d, d + r, d - r];
|
590
590
|
if (!t)
|
591
|
-
return
|
591
|
+
return d;
|
592
592
|
if (!p)
|
593
|
-
return
|
594
|
-
const
|
595
|
-
return
|
593
|
+
return c(S);
|
594
|
+
const a = S.filter((g) => Lt(g) === p);
|
595
|
+
return a.length ? c(a) : j(S) - r;
|
596
596
|
}
|
597
|
-
function
|
598
|
-
const
|
597
|
+
function l(d, p) {
|
598
|
+
const S = n[d] - i.get(), a = h(S, p);
|
599
599
|
return {
|
600
600
|
index: d,
|
601
|
-
distance:
|
601
|
+
distance: a
|
602
602
|
};
|
603
603
|
}
|
604
604
|
function m(d, p) {
|
605
|
-
const
|
606
|
-
index:
|
607
|
-
distance:
|
608
|
-
} =
|
605
|
+
const S = i.get() + d, {
|
606
|
+
index: a,
|
607
|
+
distance: g
|
608
|
+
} = u(S), b = !t && e(S);
|
609
609
|
if (!p || b)
|
610
610
|
return {
|
611
|
-
index:
|
611
|
+
index: a,
|
612
612
|
distance: d
|
613
613
|
};
|
614
|
-
const L = n[
|
614
|
+
const L = n[a] - g, v = d + h(L, 0);
|
615
615
|
return {
|
616
|
-
index:
|
616
|
+
index: a,
|
617
617
|
distance: v
|
618
618
|
};
|
619
619
|
}
|
620
620
|
return {
|
621
621
|
byDistance: m,
|
622
|
-
byIndex:
|
623
|
-
shortcut:
|
622
|
+
byIndex: l,
|
623
|
+
shortcut: h
|
624
624
|
};
|
625
625
|
}
|
626
|
-
function fn(t, n, r, s,
|
627
|
-
function
|
628
|
-
const m =
|
629
|
-
e.add(m), m && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), x && (r.set(n.get()), n.set(
|
626
|
+
function fn(t, n, r, s, i, e, o) {
|
627
|
+
function f(l) {
|
628
|
+
const m = l.distance, x = l.index !== n.get();
|
629
|
+
e.add(m), m && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), x && (r.set(n.get()), n.set(l.index), o.emit("select"));
|
630
630
|
}
|
631
|
-
function
|
632
|
-
const x =
|
633
|
-
|
631
|
+
function c(l, m) {
|
632
|
+
const x = i.byDistance(l, m);
|
633
|
+
f(x);
|
634
634
|
}
|
635
|
-
function
|
636
|
-
const x = n.clone().set(
|
637
|
-
|
635
|
+
function u(l, m) {
|
636
|
+
const x = n.clone().set(l), d = i.byIndex(x.get(), m);
|
637
|
+
f(d);
|
638
638
|
}
|
639
639
|
return {
|
640
|
-
distance:
|
641
|
-
index:
|
640
|
+
distance: c,
|
641
|
+
index: u
|
642
642
|
};
|
643
643
|
}
|
644
|
-
function an(t, n, r, s,
|
645
|
-
let
|
646
|
-
function
|
647
|
-
e.add(document, "keydown",
|
644
|
+
function an(t, n, r, s, i, e, o) {
|
645
|
+
let f = 0;
|
646
|
+
function c() {
|
647
|
+
e.add(document, "keydown", u, !1), n.forEach(h);
|
648
648
|
}
|
649
|
-
function
|
650
|
-
|
649
|
+
function u(m) {
|
650
|
+
m.code === "Tab" && (f = (/* @__PURE__ */ new Date()).getTime());
|
651
651
|
}
|
652
|
-
function
|
653
|
-
const
|
654
|
-
if ((/* @__PURE__ */ new Date()).getTime() -
|
652
|
+
function h(m) {
|
653
|
+
const x = () => {
|
654
|
+
if ((/* @__PURE__ */ new Date()).getTime() - f > 10)
|
655
655
|
return;
|
656
656
|
t.scrollLeft = 0;
|
657
|
-
const
|
658
|
-
xt(
|
657
|
+
const S = n.indexOf(m), a = r.findIndex((g) => g.includes(S));
|
658
|
+
xt(a) && (i.useDuration(0), s.index(a, 0), o.emit("slideFocus"));
|
659
659
|
};
|
660
|
-
e.add(
|
660
|
+
e.add(m, "focus", x, {
|
661
661
|
passive: !0,
|
662
662
|
capture: !0
|
663
663
|
});
|
664
664
|
}
|
665
665
|
return {
|
666
|
-
init:
|
666
|
+
init: c
|
667
667
|
};
|
668
668
|
}
|
669
669
|
function dt(t) {
|
@@ -671,53 +671,53 @@ function dt(t) {
|
|
671
671
|
function r() {
|
672
672
|
return n;
|
673
673
|
}
|
674
|
-
function s(
|
675
|
-
n = o(
|
674
|
+
function s(c) {
|
675
|
+
n = o(c);
|
676
676
|
}
|
677
|
-
function c
|
678
|
-
n += o(
|
677
|
+
function i(c) {
|
678
|
+
n += o(c);
|
679
679
|
}
|
680
|
-
function e(
|
681
|
-
n -= o(
|
680
|
+
function e(c) {
|
681
|
+
n -= o(c);
|
682
682
|
}
|
683
|
-
function o(
|
684
|
-
return xt(
|
683
|
+
function o(c) {
|
684
|
+
return xt(c) ? c : c.get();
|
685
685
|
}
|
686
686
|
return {
|
687
687
|
get: r,
|
688
688
|
set: s,
|
689
|
-
add:
|
689
|
+
add: i,
|
690
690
|
subtract: e
|
691
691
|
};
|
692
692
|
}
|
693
693
|
function Nt(t, n) {
|
694
694
|
const r = t.scroll === "x" ? e : o, s = n.style;
|
695
|
-
let
|
696
|
-
function e(
|
697
|
-
return `translate3d(${
|
695
|
+
let i = !1;
|
696
|
+
function e(l) {
|
697
|
+
return `translate3d(${l}px,0px,0px)`;
|
698
698
|
}
|
699
|
-
function o(
|
700
|
-
return `translate3d(0px,${
|
699
|
+
function o(l) {
|
700
|
+
return `translate3d(0px,${l}px,0px)`;
|
701
701
|
}
|
702
|
-
function
|
703
|
-
|
702
|
+
function f(l) {
|
703
|
+
i || (s.transform = r(t.direction(l)));
|
704
704
|
}
|
705
|
-
function
|
706
|
-
|
705
|
+
function c(l) {
|
706
|
+
i = !l;
|
707
707
|
}
|
708
|
-
function
|
709
|
-
|
708
|
+
function u() {
|
709
|
+
i || (s.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
|
710
710
|
}
|
711
711
|
return {
|
712
|
-
clear:
|
713
|
-
to:
|
714
|
-
toggleActive:
|
712
|
+
clear: u,
|
713
|
+
to: f,
|
714
|
+
toggleActive: c
|
715
715
|
};
|
716
716
|
}
|
717
|
-
function ln(t, n, r, s,
|
718
|
-
const
|
717
|
+
function ln(t, n, r, s, i, e, o, f, c) {
|
718
|
+
const h = ct(i), l = ct(i).reverse(), m = a().concat(g());
|
719
719
|
function x(E, I) {
|
720
|
-
return E.reduce((D, A) => D -
|
720
|
+
return E.reduce((D, A) => D - i[A], I);
|
721
721
|
}
|
722
722
|
function d(E, I) {
|
723
723
|
return E.reduce((D, A) => x(D, I) > 0 ? D.concat([A]) : D, []);
|
@@ -728,7 +728,7 @@ function ln(t, n, r, s, c, e, o, u, i) {
|
|
728
728
|
end: I + n - 0.5 + E
|
729
729
|
}));
|
730
730
|
}
|
731
|
-
function
|
731
|
+
function S(E, I, D) {
|
732
732
|
const A = p(I);
|
733
733
|
return E.map((O) => {
|
734
734
|
const V = D ? 0 : -r, Y = D ? r : 0, B = D ? "end" : "start", U = A[O][B];
|
@@ -736,24 +736,24 @@ function ln(t, n, r, s, c, e, o, u, i) {
|
|
736
736
|
index: O,
|
737
737
|
loopPoint: U,
|
738
738
|
slideLocation: dt(-1),
|
739
|
-
translate: Nt(t,
|
740
|
-
target: () =>
|
739
|
+
translate: Nt(t, c[O]),
|
740
|
+
target: () => f.get() > U ? V : Y
|
741
741
|
};
|
742
742
|
});
|
743
743
|
}
|
744
|
-
function
|
745
|
-
const E = o[0], I = d(
|
746
|
-
return
|
744
|
+
function a() {
|
745
|
+
const E = o[0], I = d(l, E);
|
746
|
+
return S(I, r, !1);
|
747
747
|
}
|
748
|
-
function
|
749
|
-
const E = n - o[0] - 1, I = d(
|
750
|
-
return
|
748
|
+
function g() {
|
749
|
+
const E = n - o[0] - 1, I = d(h, E);
|
750
|
+
return S(I, -r, !0);
|
751
751
|
}
|
752
752
|
function b() {
|
753
753
|
return m.every(({
|
754
754
|
index: E
|
755
755
|
}) => {
|
756
|
-
const I =
|
756
|
+
const I = h.filter((D) => D !== E);
|
757
757
|
return x(I, n) <= 0.1;
|
758
758
|
});
|
759
759
|
}
|
@@ -778,25 +778,25 @@ function ln(t, n, r, s, c, e, o, u, i) {
|
|
778
778
|
};
|
779
779
|
}
|
780
780
|
function dn(t, n, r) {
|
781
|
-
let s,
|
782
|
-
function e(
|
781
|
+
let s, i = !1;
|
782
|
+
function e(c) {
|
783
783
|
if (!r)
|
784
784
|
return;
|
785
|
-
function
|
786
|
-
for (const
|
787
|
-
if (
|
788
|
-
|
785
|
+
function u(h) {
|
786
|
+
for (const l of h)
|
787
|
+
if (l.type === "childList") {
|
788
|
+
c.reInit(), n.emit("slidesChanged");
|
789
789
|
break;
|
790
790
|
}
|
791
791
|
}
|
792
|
-
s = new MutationObserver((
|
793
|
-
|
792
|
+
s = new MutationObserver((h) => {
|
793
|
+
i || (Et(r) || r(c, h)) && u(h);
|
794
794
|
}), s.observe(t, {
|
795
795
|
childList: !0
|
796
796
|
});
|
797
797
|
}
|
798
798
|
function o() {
|
799
|
-
s && s.disconnect(),
|
799
|
+
s && s.disconnect(), i = !0;
|
800
800
|
}
|
801
801
|
return {
|
802
802
|
init: e,
|
@@ -804,28 +804,28 @@ function dn(t, n, r) {
|
|
804
804
|
};
|
805
805
|
}
|
806
806
|
function pn(t, n, r, s) {
|
807
|
-
const
|
808
|
-
let e = null, o = null,
|
809
|
-
function
|
810
|
-
|
811
|
-
|
812
|
-
const
|
813
|
-
|
807
|
+
const i = {};
|
808
|
+
let e = null, o = null, f, c = !1;
|
809
|
+
function u() {
|
810
|
+
f = new IntersectionObserver((d) => {
|
811
|
+
c || (d.forEach((p) => {
|
812
|
+
const S = n.indexOf(p.target);
|
813
|
+
i[S] = p;
|
814
814
|
}), e = null, o = null, r.emit("slidesInView"));
|
815
815
|
}, {
|
816
816
|
root: t.parentElement,
|
817
817
|
threshold: s
|
818
|
-
}), n.forEach((d) =>
|
818
|
+
}), n.forEach((d) => f.observe(d));
|
819
819
|
}
|
820
|
-
function
|
821
|
-
|
822
|
-
}
|
823
|
-
function
|
824
|
-
return ut(
|
825
|
-
const
|
826
|
-
isIntersecting:
|
827
|
-
} =
|
828
|
-
return (d &&
|
820
|
+
function h() {
|
821
|
+
f && f.disconnect(), c = !0;
|
822
|
+
}
|
823
|
+
function l(d) {
|
824
|
+
return ut(i).reduce((p, S) => {
|
825
|
+
const a = parseInt(S), {
|
826
|
+
isIntersecting: g
|
827
|
+
} = i[a];
|
828
|
+
return (d && g || !d && !g) && p.push(a), p;
|
829
829
|
}, []);
|
830
830
|
}
|
831
831
|
function m(d = !0) {
|
@@ -833,102 +833,102 @@ function pn(t, n, r, s) {
|
|
833
833
|
return e;
|
834
834
|
if (!d && o)
|
835
835
|
return o;
|
836
|
-
const p =
|
836
|
+
const p = l(d);
|
837
837
|
return d && (e = p), d || (o = p), p;
|
838
838
|
}
|
839
839
|
return {
|
840
|
-
init:
|
841
|
-
destroy:
|
840
|
+
init: u,
|
841
|
+
destroy: h,
|
842
842
|
get: m
|
843
843
|
};
|
844
844
|
}
|
845
|
-
function mn(t, n, r, s,
|
845
|
+
function mn(t, n, r, s, i, e) {
|
846
846
|
const {
|
847
847
|
measureSize: o,
|
848
|
-
startEdge:
|
849
|
-
endEdge:
|
850
|
-
} = t,
|
848
|
+
startEdge: f,
|
849
|
+
endEdge: c
|
850
|
+
} = t, u = r[0] && i, h = d(), l = p(), m = r.map(o), x = S();
|
851
851
|
function d() {
|
852
|
-
if (!
|
852
|
+
if (!u)
|
853
853
|
return 0;
|
854
|
-
const
|
855
|
-
return M(n[
|
854
|
+
const g = r[0];
|
855
|
+
return M(n[f] - g[f]);
|
856
856
|
}
|
857
857
|
function p() {
|
858
|
-
if (!
|
858
|
+
if (!u)
|
859
859
|
return 0;
|
860
|
-
const
|
861
|
-
return parseFloat(
|
860
|
+
const g = e.getComputedStyle(j(s));
|
861
|
+
return parseFloat(g.getPropertyValue(`margin-${c}`));
|
862
862
|
}
|
863
|
-
function
|
864
|
-
return r.map((
|
863
|
+
function S() {
|
864
|
+
return r.map((g, b, L) => {
|
865
865
|
const v = !b, F = It(L, b);
|
866
|
-
return v ? m[b] +
|
866
|
+
return v ? m[b] + h : F ? m[b] + l : L[b + 1][f] - g[f];
|
867
867
|
}).map(M);
|
868
868
|
}
|
869
869
|
return {
|
870
870
|
slideSizes: m,
|
871
871
|
slideSizesWithGaps: x,
|
872
|
-
startGap:
|
873
|
-
endGap:
|
872
|
+
startGap: h,
|
873
|
+
endGap: l
|
874
874
|
};
|
875
875
|
}
|
876
|
-
function gn(t, n, r, s,
|
876
|
+
function gn(t, n, r, s, i, e, o, f, c) {
|
877
877
|
const {
|
878
|
-
startEdge:
|
879
|
-
endEdge:
|
880
|
-
direction:
|
878
|
+
startEdge: u,
|
879
|
+
endEdge: h,
|
880
|
+
direction: l
|
881
881
|
} = t, m = xt(r);
|
882
|
-
function x(
|
883
|
-
return ct(
|
884
|
-
}
|
885
|
-
function d(
|
886
|
-
return
|
887
|
-
const v = j(
|
888
|
-
return L && V > n +
|
889
|
-
}, []).map((
|
882
|
+
function x(a, g) {
|
883
|
+
return ct(a).filter((b) => b % g === 0).map((b) => a.slice(b, b + g));
|
884
|
+
}
|
885
|
+
function d(a) {
|
886
|
+
return a.length ? ct(a).reduce((g, b, L) => {
|
887
|
+
const v = j(g) || 0, F = v === 0, E = b === at(a), I = i[u] - e[v][u], D = i[u] - e[b][h], A = !s && F ? l(o) : 0, O = !s && E ? l(f) : 0, V = M(D - O - (I + A));
|
888
|
+
return L && V > n + c && g.push(b), E && g.push(a.length), g;
|
889
|
+
}, []).map((g, b, L) => {
|
890
890
|
const v = Math.max(L[b - 1] || 0);
|
891
|
-
return
|
891
|
+
return a.slice(v, g);
|
892
892
|
}) : [];
|
893
893
|
}
|
894
|
-
function p(
|
895
|
-
return m ? x(
|
894
|
+
function p(a) {
|
895
|
+
return m ? x(a, r) : d(a);
|
896
896
|
}
|
897
897
|
return {
|
898
898
|
groupSlides: p
|
899
899
|
};
|
900
900
|
}
|
901
|
-
function hn(t, n, r, s,
|
901
|
+
function hn(t, n, r, s, i, e, o) {
|
902
902
|
const {
|
903
|
-
align:
|
904
|
-
axis:
|
905
|
-
direction:
|
906
|
-
startIndex:
|
907
|
-
loop:
|
903
|
+
align: f,
|
904
|
+
axis: c,
|
905
|
+
direction: u,
|
906
|
+
startIndex: h,
|
907
|
+
loop: l,
|
908
908
|
duration: m,
|
909
909
|
dragFree: x,
|
910
910
|
dragThreshold: d,
|
911
911
|
inViewThreshold: p,
|
912
|
-
slidesToScroll:
|
913
|
-
skipSnaps:
|
914
|
-
containScroll:
|
912
|
+
slidesToScroll: S,
|
913
|
+
skipSnaps: a,
|
914
|
+
containScroll: g,
|
915
915
|
watchResize: b,
|
916
916
|
watchSlides: L,
|
917
917
|
watchDrag: v
|
918
|
-
} = e, F = 2, E = _t(), I = E.measure(n), D = r.map(E.measure), A = Kt(
|
918
|
+
} = e, F = 2, E = _t(), I = E.measure(n), D = r.map(E.measure), A = Kt(c, u), O = A.measureSize(I), V = Jt(O), Y = $t(f, O), B = !l && !!g, U = l || !!g, {
|
919
919
|
slideSizes: J,
|
920
920
|
slideSizesWithGaps: $,
|
921
921
|
startGap: _,
|
922
922
|
endGap: Q
|
923
|
-
} = mn(A, I, D, r, U,
|
923
|
+
} = mn(A, I, D, r, U, i), Z = gn(A, O, S, l, I, D, _, Q, F), {
|
924
924
|
snaps: K,
|
925
925
|
snapsAligned: et
|
926
926
|
} = sn(A, Y, I, D, Z), X = -j(K) + j($), {
|
927
927
|
snapsContained: rt,
|
928
928
|
scrollContainLimit: st
|
929
|
-
} = nn(O, X, et,
|
929
|
+
} = nn(O, X, et, g, F), z = B ? rt : et, {
|
930
930
|
limit: R
|
931
|
-
} = en(X, z,
|
931
|
+
} = en(X, z, l), N = wt(at(z), h, l), ot = N.clone(), k = ct(r), P = ({
|
932
932
|
dragHandler: tt,
|
933
933
|
scrollBody: ht,
|
934
934
|
scrollBounds: St,
|
@@ -953,17 +953,17 @@ function hn(t, n, r, s, c, e, o) {
|
|
953
953
|
}, qt) => {
|
954
954
|
const Mt = tt.velocity(), Ft = tt.settled();
|
955
955
|
Ft && !Gt.pointerDown() && (jt.stop(), At.emit("settle")), Ft || At.emit("scroll"), lt.set(St.get() - Mt + Mt * qt), Rt && (kt.loop(tt.direction()), Ht.loop()), ht.to(lt.get());
|
956
|
-
}, T = Qt(s,
|
956
|
+
}, T = Qt(s, i, () => P(gt), (tt) => y(gt, tt)), C = 0.68, w = z[N.get()], q = dt(w), H = dt(w), G = dt(w), W = Wt(q, H, G, m, C), pt = un(l, z, X, R, G), mt = fn(T, N, ot, W, pt, G, o), vt = rn(R), Tt = ft(), zt = pn(n, r, o, p), {
|
957
957
|
slideRegistry: Dt
|
958
|
-
} = cn(B,
|
958
|
+
} = cn(B, g, z, st, Z, k), Bt = an(t, r, Dt, mt, W, Tt, o), gt = {
|
959
959
|
ownerDocument: s,
|
960
|
-
ownerWindow:
|
960
|
+
ownerWindow: i,
|
961
961
|
eventHandler: o,
|
962
962
|
containerRect: I,
|
963
963
|
slideRects: D,
|
964
964
|
animation: T,
|
965
965
|
axis: A,
|
966
|
-
dragHandler: Xt(A, t, s,
|
966
|
+
dragHandler: Xt(A, t, s, i, G, Yt(A, i), q, T, mt, W, pt, N, o, V, x, d, a, C, v),
|
967
967
|
eventStore: Tt,
|
968
968
|
percentOfView: V,
|
969
969
|
index: N,
|
@@ -972,7 +972,7 @@ function hn(t, n, r, s, c, e, o) {
|
|
972
972
|
location: q,
|
973
973
|
offsetLocation: H,
|
974
974
|
options: e,
|
975
|
-
resizeHandler: Zt(n, o,
|
975
|
+
resizeHandler: Zt(n, o, i, r, A, b, E),
|
976
976
|
scrollBody: W,
|
977
977
|
scrollBounds: tn(R, H, G, W, V),
|
978
978
|
scrollLooper: on(X, R, H, [q, H, G]),
|
@@ -994,30 +994,33 @@ function hn(t, n, r, s, c, e, o) {
|
|
994
994
|
return gt;
|
995
995
|
}
|
996
996
|
function Sn() {
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
997
|
+
let t = {}, n;
|
998
|
+
function r(u) {
|
999
|
+
n = u;
|
1000
|
+
}
|
1001
|
+
function s(u) {
|
1002
|
+
return t[u] || [];
|
1001
1003
|
}
|
1002
|
-
function
|
1003
|
-
return
|
1004
|
+
function i(u) {
|
1005
|
+
return s(u).forEach((h) => h(n, u)), c;
|
1004
1006
|
}
|
1005
|
-
function
|
1006
|
-
return s(
|
1007
|
+
function e(u, h) {
|
1008
|
+
return t[u] = s(u).concat([h]), c;
|
1007
1009
|
}
|
1008
|
-
function
|
1009
|
-
return t[
|
1010
|
+
function o(u, h) {
|
1011
|
+
return t[u] = s(u).filter((l) => l !== h), c;
|
1010
1012
|
}
|
1011
|
-
function
|
1012
|
-
|
1013
|
+
function f() {
|
1014
|
+
t = {};
|
1013
1015
|
}
|
1014
|
-
const
|
1016
|
+
const c = {
|
1015
1017
|
init: r,
|
1016
|
-
emit:
|
1018
|
+
emit: i,
|
1017
1019
|
off: o,
|
1018
|
-
on: e
|
1020
|
+
on: e,
|
1021
|
+
clear: f
|
1019
1022
|
};
|
1020
|
-
return
|
1023
|
+
return c;
|
1021
1024
|
}
|
1022
1025
|
const yn = {
|
1023
1026
|
align: "center",
|
@@ -1045,11 +1048,11 @@ function bn(t) {
|
|
1045
1048
|
return Ct(e, o || {});
|
1046
1049
|
}
|
1047
1050
|
function r(e) {
|
1048
|
-
const o = e.breakpoints || {},
|
1049
|
-
return n(e,
|
1051
|
+
const o = e.breakpoints || {}, f = ut(o).filter((c) => t.matchMedia(c).matches).map((c) => o[c]).reduce((c, u) => n(c, u), {});
|
1052
|
+
return n(e, f);
|
1050
1053
|
}
|
1051
1054
|
function s(e) {
|
1052
|
-
return e.map((o) => ut(o.breakpoints || {})).reduce((o,
|
1055
|
+
return e.map((o) => ut(o.breakpoints || {})).reduce((o, f) => o.concat(f), []).map(t.matchMedia);
|
1053
1056
|
}
|
1054
1057
|
return {
|
1055
1058
|
mergeOptions: n,
|
@@ -1061,9 +1064,9 @@ function xn(t) {
|
|
1061
1064
|
let n = [];
|
1062
1065
|
function r(e, o) {
|
1063
1066
|
return n = o.filter(({
|
1064
|
-
options:
|
1065
|
-
}) => t.optionsAtMedia(
|
1066
|
-
[
|
1067
|
+
options: f
|
1068
|
+
}) => t.optionsAtMedia(f).active !== !1), n.forEach((f) => f.init(e, t)), o.reduce((f, c) => Object.assign(f, {
|
1069
|
+
[c.name]: c
|
1067
1070
|
}), {});
|
1068
1071
|
}
|
1069
1072
|
function s() {
|
@@ -1075,16 +1078,16 @@ function xn(t) {
|
|
1075
1078
|
};
|
1076
1079
|
}
|
1077
1080
|
function Vt(t, n, r) {
|
1078
|
-
const s = t.ownerDocument,
|
1079
|
-
mergeOptions:
|
1080
|
-
optionsAtMedia:
|
1081
|
-
optionsMediaQueries:
|
1081
|
+
const s = t.ownerDocument, i = s.defaultView, e = bn(i), o = xn(e), f = ft(), c = Sn(), {
|
1082
|
+
mergeOptions: u,
|
1083
|
+
optionsAtMedia: h,
|
1084
|
+
optionsMediaQueries: l
|
1082
1085
|
} = e, {
|
1083
1086
|
on: m,
|
1084
1087
|
off: x,
|
1085
1088
|
emit: d
|
1086
|
-
} =
|
1087
|
-
let
|
1089
|
+
} = c, p = O;
|
1090
|
+
let S = !1, a, g = u(yn, Vt.globalOptions), b = u(g), L = [], v, F, E;
|
1088
1091
|
function I() {
|
1089
1092
|
const {
|
1090
1093
|
container: P,
|
@@ -1095,7 +1098,7 @@ function Vt(t, n, r) {
|
|
1095
1098
|
E = [].slice.call(C || F.children);
|
1096
1099
|
}
|
1097
1100
|
function D(P) {
|
1098
|
-
const y = hn(t, F, E, s,
|
1101
|
+
const y = hn(t, F, E, s, i, P, c);
|
1099
1102
|
if (P.loop && !y.slideLooper.canLoop()) {
|
1100
1103
|
const T = Object.assign({}, P, {
|
1101
1104
|
loop: !1
|
@@ -1105,62 +1108,62 @@ function Vt(t, n, r) {
|
|
1105
1108
|
return y;
|
1106
1109
|
}
|
1107
1110
|
function A(P, y) {
|
1108
|
-
|
1111
|
+
S || (g = u(g, P), b = h(g), L = y || L, I(), a = D(b), l([g, ...L.map(({
|
1109
1112
|
options: T
|
1110
|
-
}) => T)]).forEach((T) =>
|
1113
|
+
}) => T)]).forEach((T) => f.add(T, "change", O)), b.active && (a.translate.to(a.location.get()), a.animation.init(), a.slidesInView.init(), a.slideFocus.init(), a.eventHandler.init(k), a.resizeHandler.init(k), a.slidesHandler.init(k), a.options.loop && a.slideLooper.loop(), F.offsetParent && E.length && a.dragHandler.init(k), v = o.init(k, L)));
|
1111
1114
|
}
|
1112
1115
|
function O(P, y) {
|
1113
1116
|
const T = K();
|
1114
|
-
V(), A(
|
1117
|
+
V(), A(u({
|
1115
1118
|
startIndex: T
|
1116
|
-
}, P), y),
|
1119
|
+
}, P), y), c.emit("reInit");
|
1117
1120
|
}
|
1118
1121
|
function V() {
|
1119
|
-
|
1122
|
+
a.dragHandler.destroy(), a.eventStore.clear(), a.translate.clear(), a.slideLooper.clear(), a.resizeHandler.destroy(), a.slidesHandler.destroy(), a.slidesInView.destroy(), a.animation.destroy(), o.destroy(), f.clear();
|
1120
1123
|
}
|
1121
1124
|
function Y() {
|
1122
|
-
|
1125
|
+
S || (S = !0, f.clear(), V(), c.emit("destroy"), c.clear());
|
1123
1126
|
}
|
1124
1127
|
function B(P, y, T) {
|
1125
|
-
!b.active ||
|
1128
|
+
!b.active || S || (a.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : b.duration), a.scrollTo.index(P, T || 0));
|
1126
1129
|
}
|
1127
1130
|
function U(P) {
|
1128
|
-
const y =
|
1131
|
+
const y = a.index.add(1).get();
|
1129
1132
|
B(y, P, -1);
|
1130
1133
|
}
|
1131
1134
|
function J(P) {
|
1132
|
-
const y =
|
1135
|
+
const y = a.index.add(-1).get();
|
1133
1136
|
B(y, P, 1);
|
1134
1137
|
}
|
1135
1138
|
function $() {
|
1136
|
-
return
|
1139
|
+
return a.index.add(1).get() !== K();
|
1137
1140
|
}
|
1138
1141
|
function _() {
|
1139
|
-
return
|
1142
|
+
return a.index.add(-1).get() !== K();
|
1140
1143
|
}
|
1141
1144
|
function Q() {
|
1142
|
-
return
|
1145
|
+
return a.scrollSnapList;
|
1143
1146
|
}
|
1144
1147
|
function Z() {
|
1145
|
-
return
|
1148
|
+
return a.scrollProgress.get(a.location.get());
|
1146
1149
|
}
|
1147
1150
|
function K() {
|
1148
|
-
return
|
1151
|
+
return a.index.get();
|
1149
1152
|
}
|
1150
1153
|
function et() {
|
1151
|
-
return
|
1154
|
+
return a.indexPrevious.get();
|
1152
1155
|
}
|
1153
1156
|
function X() {
|
1154
|
-
return
|
1157
|
+
return a.slidesInView.get();
|
1155
1158
|
}
|
1156
1159
|
function rt() {
|
1157
|
-
return
|
1160
|
+
return a.slidesInView.get(!1);
|
1158
1161
|
}
|
1159
1162
|
function st() {
|
1160
1163
|
return v;
|
1161
1164
|
}
|
1162
1165
|
function z() {
|
1163
|
-
return
|
1166
|
+
return a;
|
1164
1167
|
}
|
1165
1168
|
function R() {
|
1166
1169
|
return t;
|
@@ -1194,7 +1197,7 @@ function Vt(t, n, r) {
|
|
1194
1197
|
slidesInView: X,
|
1195
1198
|
slidesNotInView: rt
|
1196
1199
|
};
|
1197
|
-
return A(n, r), setTimeout(() =>
|
1200
|
+
return A(n, r), setTimeout(() => c.emit("init"), 0), k;
|
1198
1201
|
}
|
1199
1202
|
Vt.globalOptions = void 0;
|
1200
1203
|
export {
|