@ozdao/prometheus-framework 0.2.197 → 0.2.199
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +3 -10
- package/dist/builder.mjs +3 -10
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/add.cjs +1 -0
- package/dist/node_modules/date-fns/add.js +20 -0
- package/dist/node_modules/date-fns/addDays.cjs +1 -0
- package/dist/node_modules/date-fns/addDays.js +10 -0
- package/dist/node_modules/date-fns/addHours.cjs +1 -0
- package/dist/node_modules/date-fns/addHours.js +9 -0
- package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
- package/dist/node_modules/date-fns/addMonths.cjs +1 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
- package/dist/node_modules/date-fns/addQuarters.js +9 -0
- package/dist/node_modules/date-fns/addYears.cjs +1 -0
- package/dist/node_modules/date-fns/addYears.js +8 -0
- package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
- package/dist/node_modules/date-fns/compareAsc.js +9 -0
- package/dist/node_modules/date-fns/constants.cjs +1 -0
- package/dist/node_modules/date-fns/constants.js +8 -0
- package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +7 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
- package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInYears.js +13 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
- package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
- package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/endOfYear.js +9 -0
- package/dist/node_modules/date-fns/format.cjs +1 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDay.cjs +1 -0
- package/dist/node_modules/date-fns/getDay.js +8 -0
- package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
- package/dist/node_modules/date-fns/getHours.cjs +1 -0
- package/dist/node_modules/date-fns/getHours.js +8 -0
- package/dist/node_modules/date-fns/getISODay.cjs +1 -0
- package/dist/node_modules/date-fns/getISODay.js +9 -0
- package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
- package/dist/node_modules/date-fns/getMinutes.js +8 -0
- package/dist/node_modules/date-fns/getMonth.cjs +1 -0
- package/dist/node_modules/date-fns/getMonth.js +8 -0
- package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/getQuarter.js +9 -0
- package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
- package/dist/node_modules/date-fns/getSeconds.js +8 -0
- package/dist/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getYear.cjs +1 -0
- package/dist/node_modules/date-fns/getYear.js +8 -0
- package/dist/node_modules/date-fns/isAfter.cjs +1 -0
- package/dist/node_modules/date-fns/isAfter.js +9 -0
- package/dist/node_modules/date-fns/isBefore.cjs +1 -0
- package/dist/node_modules/date-fns/isBefore.js +9 -0
- package/dist/node_modules/date-fns/isDate.cjs +1 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isEqual.cjs +1 -0
- package/dist/node_modules/date-fns/isEqual.js +9 -0
- package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
- package/dist/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/node_modules/date-fns/isValid.js +12 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
- package/dist/node_modules/date-fns/parse.cjs +1 -0
- package/dist/node_modules/date-fns/parse.js +90 -0
- package/dist/node_modules/date-fns/set.cjs +1 -0
- package/dist/node_modules/date-fns/set.js +11 -0
- package/dist/node_modules/date-fns/setDay.cjs +1 -0
- package/dist/node_modules/date-fns/setDay.js +12 -0
- package/dist/node_modules/date-fns/setHours.cjs +1 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/setISODay.cjs +1 -0
- package/dist/node_modules/date-fns/setISODay.js +11 -0
- package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/setISOWeek.js +10 -0
- package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
- package/dist/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/node_modules/date-fns/setMonth.cjs +1 -0
- package/dist/node_modules/date-fns/setMonth.js +13 -0
- package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
- package/dist/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/node_modules/date-fns/setWeek.cjs +1 -0
- package/dist/node_modules/date-fns/setWeek.js +10 -0
- package/dist/node_modules/date-fns/setYear.cjs +1 -0
- package/dist/node_modules/date-fns/setYear.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/sub.cjs +1 -0
- package/dist/node_modules/date-fns/sub.js +19 -0
- package/dist/node_modules/date-fns/subDays.cjs +1 -0
- package/dist/node_modules/date-fns/subDays.js +8 -0
- package/dist/node_modules/date-fns/subMonths.cjs +1 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/subYears.cjs +1 -0
- package/dist/node_modules/date-fns/subYears.js +8 -0
- package/dist/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/date-fns/transpose.cjs +1 -0
- package/dist/node_modules/date-fns/transpose.js +18 -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 +629 -622
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
- package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
- package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
- 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 +10 -9
- 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 +11 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
- 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 +5 -3
- 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 +17 -16
- 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 +15 -14
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
- 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 +25 -23
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
- 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 +19 -18
- 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 +127 -135
- 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 +2 -4
- 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 +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
- 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 +75 -69
- 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 +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -12
- 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 +3 -2
- 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 +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
- 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 +3 -2
- 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 +7 -6
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
- package/dist/prometheus-framework.cjs.js +27 -27
- package/dist/prometheus-framework.es.js +3819 -3782
- package/dist/style.css +1 -1
- package/dist/tickets.controller-CB549rZT.mjs +402 -0
- package/dist/tickets.controller-yqXXLR62.js +401 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +24 -25
- package/src/builder/webpack/webpack.config.base.js +2 -2
- package/src/builder/webpack/webpack.config.client.js +1 -1
- package/src/builder/webpack/webpack.config.spa.js +0 -6
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/EditImages/EditImages.vue +1 -1
- package/src/components/Error/Error.vue +1 -1
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +1 -1
- package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
- package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +2 -2
- package/src/modules/events/components/pages/EditEvent.vue +12 -1
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +1 -1
- package/src/modules/events/components/sections/HeroEvent.vue +4 -4
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
- package/src/modules/events/controllers/utils/templateEmail.js +1 -1
- package/src/modules/events/controllers/utils/templateTicket.js +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
- package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
- package/src/modules/globals/views/components/layouts/App.vue +15 -39
- package/src/modules/globals/views/components/layouts/Client.vue +89 -45
- package/src/modules/globals/views/components/partials/Footer.vue +7 -7
- package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
- package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
- package/src/modules/landing/components/sections/Examples.vue +1 -1
- package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
- package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
- package/src/modules/landing/components/sections/MobileApp.vue +1 -1
- package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
- package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
- package/src/modules/orders/components/pages/Orders.vue +0 -3
- package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
- package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/blocks/EditFilters.vue +1 -1
- package/src/modules/products/components/blocks/Images360.vue +1 -1
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/MenuSection.vue +1 -1
- package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
- package/src/modules/products/components/sections/SectionProduct.vue +1 -1
- package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +1 -1
- package/src/modules/users/components/pages/Profile.vue +1 -1
- package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
- package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function xt(t){return typeof t=="number"}function yt(t){return typeof t=="string"}function Et(t){return typeof t=="boolean"}function Ot(t){return Object.prototype.toString.call(t)==="[object Object]"}function A(t){return Math.abs(t)}function Lt(t){return Math.sign(t)}function it(t,n){return A(t-n)}function Ut(t,n){if(t===0||n===0||A(t)<=A(n))return 0;const r=it(A(t),A(n));return A(r/t)}function ct(t){return ut(t).map(Number)}function j(t){return t[at(t)]}function at(t){return Math.max(0,t.length-1)}function It(t,n){return n===at(t)}function Ct(t,n=0){return Array.from(Array(t),(r,s)=>n+s)}function ut(t){return Object.keys(t)}function wt(t,n){return[t,n].reduce((r,s)=>(ut(s).forEach(i=>{const e=r[i],o=s[i],f=Ot(e)&&Ot(o);r[i]=f?wt(e,o):o}),r),{})}function bt(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function $t(t,n){const r={start:s,center:i,end:e};function s(){return 0}function i(c){return e(c)/2}function e(c){return n-c}function o(c,u){return yt(t)?r[t](c):t(n,c,u)}return{measure:o}}function ft(){let t=[];function n(i,e,o,f={passive:!0}){let c;if("addEventListener"in i)i.addEventListener(e,o,f),c=()=>i.removeEventListener(e,o,f);else{const u=i;u.addListener(o),c=()=>u.removeListener(o)}return t.push(c),s}function r(){t=t.filter(i=>i())}const s={add:n,clear:r};return s}function Qt(t,n,r,s){const i=ft(),e=1e3/60;let o=null,f=0,c=0;function u(){i.add(t,"visibilitychange",()=>{t.hidden&&d()})}function h(){x(),i.clear()}function l(S){if(!c)return;o||(o=S);const a=S-o;for(o=S,f+=a;f>=e;)r(),f-=e;const g=A(f/e);s(g),c&&n.requestAnimationFrame(l)}function m(){c||(c=n.requestAnimationFrame(l))}function x(){n.cancelAnimationFrame(c),o=null,f=0,c=0}function d(){o=null,f=0}return{init:u,destroy:h,start:m,stop:x,update:r,render:s}}function _t(t,n){const r=n==="rtl",s=t==="y",i=s?"y":"x",e=s?"x":"y",o=!s&&r?-1:1,f=h(),c=l();function u(d){const{height:p,width:S}=d;return s?p:S}function h(){return s?"top":r?"right":"left"}function l(){return s?"bottom":r?"left":"right"}function m(d){return d*o}return{scroll:i,cross:e,startEdge:f,endEdge:c,measureSize:u,direction:m}}function nt(t=0,n=0){const r=A(t-n);function s(u){return u<t}function i(u){return u>n}function e(u){return s(u)||i(u)}function o(u){return e(u)?s(u)?t:n:u}function f(u){return r?u-r*Math.ceil((u-n)/r):u}return{length:r,max:n,min:t,constrain:o,reachedAny:e,reachedMax:i,reachedMin:s,removeOffset:f}}function Nt(t,n,r){const{constrain:s}=nt(0,t),i=t+1;let e=o(n);function o(m){return r?A((i+m)%i):s(m)}function f(){return e}function c(m){return e=o(m),l}function u(m){return h().set(f()+m)}function h(){return Nt(t,f(),r)}const l={get:f,set:c,add:u,clone:h};return l}function Kt(t,n,r,s,i,e,o,f,c,u,h,l,m,x,d,p,S,a,g){const{cross:b,direction:L}=t,v=["INPUT","SELECT","TEXTAREA"],F={passive:!1},E=ft(),I=ft(),D=nt(50,225).constrain(x.measure(20)),M={mouse:300,touch:400},O={mouse:500,touch:600},V=d?43:25;let X=!1,B=0,U=0,J=!1,$=!1,Y=!1,Q=!1;function Z(y){if(!g)return;function T(w){(Et(g)||g(y,w))&&z(w)}const C=n;E.add(C,"dragstart",w=>w.preventDefault(),F).add(C,"touchmove",()=>{},F).add(C,"touchend",()=>{}).add(C,"touchstart",T).add(C,"mousedown",T).add(C,"touchcancel",N).add(C,"contextmenu",N).add(C,"click",ot,!0)}function _(){E.clear(),I.clear()}function et(){const y=Q?r:n;I.add(y,"touchmove",R,F).add(y,"touchend",N).add(y,"mousemove",R,F).add(y,"mouseup",N)}function K(y){const T=y.nodeName||"";return v.includes(T)}function rt(){return(d?O:M)[Q?"mouse":"touch"]}function st(y,T){const C=l.add(Lt(y)*-1),w=h.byDistance(y,!d).distance;return d||A(y)<D?w:S&&T?w*.5:h.byIndex(C.get(),0).distance}function z(y){const T=bt(y,s);Q=T,Y=d&&T&&!y.buttons&&X,X=it(i.get(),o.get())>=2,!(T&&y.button!==0)&&(K(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")))}function R(y){if(!bt(y,s)&&y.touches.length>=2)return N(y);const C=e.readPoint(y),w=e.readPoint(y,b),q=it(C,B),H=it(w,U);if(!$&&!Q&&(!y.cancelable||($=q>H,!$)))return N(y);const G=e.pointerMove(y);q>p&&(Y=!0),u.useFriction(.3).useDuration(.75),f.start(),i.add(L(G)),y.preventDefault()}function N(y){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;$=!1,J=!1,I.clear(),u.useDuration(G).useFriction(W),c.distance(q,!d),Q=!1,m.emit("pointerUp")}function ot(y){Y&&(y.stopPropagation(),y.preventDefault(),Y=!1)}function k(){return J}return{init:Z,destroy:_,pointerDown:k}}function Xt(t,n){let s,i;function e(l){return l.timeStamp}function o(l,m){const d=`client${(m||t.scroll)==="x"?"X":"Y"}`;return(bt(l,n)?l:l.touches[0])[d]}function f(l){return s=l,i=l,o(l)}function c(l){const m=o(l)-o(i),x=e(l)-e(s)>170;return i=l,x&&(s=l),m}function u(l){if(!s||!i)return 0;const m=o(i)-o(s),x=e(l)-e(s),d=e(l)-e(i)>170,p=m/x;return x&&!d&&A(p)>.1?p:0}return{pointerDown:f,pointerMove:c,pointerUp:u,readPoint:o}}function Yt(){function t(r){const{offsetTop:s,offsetLeft:i,offsetWidth:e,offsetHeight:o}=r;return{top:s,right:i+e,bottom:s+o,left:i,width:e,height:o}}return{measure:t}}function Jt(t){function n(s){return t*(s/100)}return{measure:n}}function Zt(t,n,r,s,i,e,o){let f,c,u=[],h=!1;function l(p){return i.measureSize(o.measure(p))}function m(p){if(!e)return;c=l(t),u=s.map(l);function S(g){for(const b of g){const L=b.target===t,v=s.indexOf(b.target),F=L?c:u[v],E=l(L?t:s[v]);if(A(E-F)>=.5){r.requestAnimationFrame(()=>{p.reInit(),n.emit("resize")});break}}}f=new ResizeObserver(g=>{h||(Et(e)||e(p,g))&&S(g)}),[t].concat(s).forEach(g=>f.observe(g))}function x(){f&&f.disconnect(),h=!0}return{init:m,destroy:x}}function Wt(t,n,r,s,i){let e=0,o=0,f=s,c=i,u=t.get(),h=0;function l(){const v=r.get()-t.get(),F=!f;let E=0;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}function m(){const v=r.get()-n.get();return A(v)<.001}function x(){return f}function d(){return o}function p(){return e}function S(){return g(s)}function a(){return b(i)}function g(v){return f=v,L}function b(v){return c=v,L}const L={direction:d,duration:x,velocity:p,seek:l,settled:m,useBaseFriction:a,useBaseDuration:S,useFriction:b,useDuration:g};return L}function tn(t,n,r,s,i){const e=i.measure(10),o=i.measure(50),f=nt(.1,.99);let c=!1;function u(){return!(c||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function h(x){if(!u())return;const d=t.reachedMin(n.get())?"min":"max",p=A(t[d]-n.get()),S=r.get()-n.get(),a=f.constrain(p/o);r.subtract(S*a),!x&&A(S)<e&&(r.set(t.constrain(r.get())),s.useDuration(25).useBaseFriction())}function l(x){c=!x}return{constrain:h,toggleActive:l}}function nn(t,n,r,s,i){const e=nt(-n+t,0),o=l(),f=h(),c=m();function u(d,p){return it(d,p)<1}function h(){const d=o[0],p=j(o),S=o.lastIndexOf(d),a=o.indexOf(p)+1;return nt(S,a)}function l(){return r.map((d,p)=>{const{min:S,max:a}=e,g=e.constrain(d),b=!p,L=It(r,p);return b?a:L||u(S,g)?S:u(a,g)?a:g}).map(d=>parseFloat(d.toFixed(3)))}function m(){if(n<=t+i)return[e.max];if(s==="keepSnaps")return o;const{min:d,max:p}=f;return o.slice(d,p)}return{snapsContained:c,scrollContainLimit:f}}function en(t,n,r){const s=n[0],i=r?s-t:j(n);return{limit:nt(i,s)}}function on(t,n,r,s){const e=n.min+.1,o=n.max+.1,{reachedMin:f,reachedMax:c}=nt(e,o);function u(m){return m===1?c(r.get()):m===-1?f(r.get()):!1}function h(m){if(!u(m))return;const x=t*(m*-1);s.forEach(d=>d.add(x))}return{loop:h}}function rn(t){const{max:n,length:r}=t;function s(e){const o=e-n;return r?o/-r:0}return{get:s}}function sn(t,n,r,s,i){const{startEdge:e,endEdge:o}=t,{groupSlides:f}=i,c=l().map(n.measure),u=m(),h=x();function l(){return f(s).map(p=>j(p)[o]-p[0][e]).map(A)}function m(){return s.map(p=>r[e]-p[e]).map(p=>-A(p))}function x(){return f(u).map(p=>p[0]).map((p,S)=>p+c[S])}return{snaps:u,snapsAligned:h}}function cn(t,n,r,s,i,e){const{groupSlides:o}=i,{min:f,max:c}=s,u=h();function h(){const m=o(e),x=!t||n==="keepSnaps";return r.length===1?[e]:x?m:m.slice(f,c).map((d,p,S)=>{const a=!p,g=It(S,p);if(a){const b=j(S[0])+1;return Ct(b)}if(g){const b=at(e)-j(S)[0]+1;return Ct(b,j(S)[0])}return d})}return{slideRegistry:u}}function un(t,n,r,s,i){const{reachedAny:e,removeOffset:o,constrain:f}=s;function c(d){return d.concat().sort((p,S)=>A(p)-A(S))[0]}function u(d){const p=t?o(d):f(d),S=n.map((g,b)=>({diff:h(g-p,0),index:b})).sort((g,b)=>A(g.diff)-A(b.diff)),{index:a}=S[0];return{index:a,distance:p}}function h(d,p){const S=[d,d+r,d-r];if(!t)return d;if(!p)return c(S);const a=S.filter(g=>Lt(g)===p);return a.length?c(a):j(S)-r}function l(d,p){const S=n[d]-i.get(),a=h(S,p);return{index:d,distance:a}}function m(d,p){const S=i.get()+d,{index:a,distance:g}=u(S),b=!t&&e(S);if(!p||b)return{index:a,distance:d};const L=n[a]-g,v=d+h(L,0);return{index:a,distance:v}}return{byDistance:m,byIndex:l,shortcut:h}}function fn(t,n,r,s,i,e,o){function f(l){const m=l.distance,x=l.index!==n.get();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"))}function c(l,m){const x=i.byDistance(l,m);f(x)}function u(l,m){const x=n.clone().set(l),d=i.byIndex(x.get(),m);f(d)}return{distance:c,index:u}}function an(t,n,r,s,i,e,o){let f=0;function c(){e.add(document,"keydown",u,!1),n.forEach(h)}function u(m){m.code==="Tab"&&(f=new Date().getTime())}function h(m){const x=()=>{if(new Date().getTime()-f>10)return;t.scrollLeft=0;const S=n.indexOf(m),a=r.findIndex(g=>g.includes(S));xt(a)&&(i.useDuration(0),s.index(a,0),o.emit("slideFocus"))};e.add(m,"focus",x,{passive:!0,capture:!0})}return{init:c}}function dt(t){let n=t;function r(){return n}function s(c){n=o(c)}function i(c){n+=o(c)}function e(c){n-=o(c)}function o(c){return xt(c)?c:c.get()}return{get:r,set:s,add:i,subtract:e}}function Vt(t,n){const r=t.scroll==="x"?e:o,s=n.style;let i=!1;function e(l){return`translate3d(${l}px,0px,0px)`}function o(l){return`translate3d(0px,${l}px,0px)`}function f(l){i||(s.transform=r(t.direction(l)))}function c(l){i=!l}function u(){i||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:u,to:f,toggleActive:c}}function ln(t,n,r,s,i,e,o,f,c){const h=ct(i),l=ct(i).reverse(),m=a().concat(g());function x(E,I){return E.reduce((D,M)=>D-i[M],I)}function d(E,I){return E.reduce((D,M)=>x(D,I)>0?D.concat([M]):D,[])}function p(E){return e.map((I,D)=>({start:I-s[D]+.5+E,end:I+n-.5+E}))}function S(E,I,D){const M=p(I);return E.map(O=>{const V=D?0:-r,X=D?r:0,B=D?"end":"start",U=M[O][B];return{index:O,loopPoint:U,slideLocation:dt(-1),translate:Vt(t,c[O]),target:()=>f.get()>U?V:X}})}function a(){const E=o[0],I=d(l,E);return S(I,r,!1)}function g(){const E=n-o[0]-1,I=d(h,E);return S(I,-r,!0)}function b(){return m.every(({index:E})=>{const I=h.filter(D=>D!==E);return x(I,n)<=.1})}function L(){m.forEach(E=>{const{target:I,translate:D,slideLocation:M}=E,O=I();O!==M.get()&&(D.to(O),M.set(O))})}function v(){m.forEach(E=>E.translate.clear())}return{canLoop:b,clear:v,loop:L,loopPoints:m}}function dn(t,n,r){let s,i=!1;function e(c){if(!r)return;function u(h){for(const l of h)if(l.type==="childList"){c.reInit(),n.emit("slidesChanged");break}}s=new MutationObserver(h=>{i||(Et(r)||r(c,h))&&u(h)}),s.observe(t,{childList:!0})}function o(){s&&s.disconnect(),i=!0}return{init:e,destroy:o}}function pn(t,n,r,s){const i={};let e=null,o=null,f,c=!1;function u(){f=new IntersectionObserver(d=>{c||(d.forEach(p=>{const S=n.indexOf(p.target);i[S]=p}),e=null,o=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:s}),n.forEach(d=>f.observe(d))}function h(){f&&f.disconnect(),c=!0}function l(d){return ut(i).reduce((p,S)=>{const a=parseInt(S),{isIntersecting:g}=i[a];return(d&&g||!d&&!g)&&p.push(a),p},[])}function m(d=!0){if(d&&e)return e;if(!d&&o)return o;const p=l(d);return d&&(e=p),d||(o=p),p}return{init:u,destroy:h,get:m}}function mn(t,n,r,s,i,e){const{measureSize:o,startEdge:f,endEdge:c}=t,u=r[0]&&i,h=d(),l=p(),m=r.map(o),x=S();function d(){if(!u)return 0;const g=r[0];return A(n[f]-g[f])}function p(){if(!u)return 0;const g=e.getComputedStyle(j(s));return parseFloat(g.getPropertyValue(`margin-${c}`))}function S(){return r.map((g,b,L)=>{const v=!b,F=It(L,b);return v?m[b]+h:F?m[b]+l:L[b+1][f]-g[f]}).map(A)}return{slideSizes:m,slideSizesWithGaps:x,startGap:h,endGap:l}}function gn(t,n,r,s,i,e,o,f,c){const{startEdge:u,endEdge:h,direction:l}=t,m=xt(r);function x(a,g){return ct(a).filter(b=>b%g===0).map(b=>a.slice(b,b+g))}function d(a){return a.length?ct(a).reduce((g,b,L)=>{const v=j(g)||0,F=v===0,E=b===at(a),I=i[u]-e[v][u],D=i[u]-e[b][h],M=!s&&F?l(o):0,O=!s&&E?l(f):0,V=A(D-O-(I+M));return L&&V>n+c&&g.push(b),E&&g.push(a.length),g},[]).map((g,b,L)=>{const v=Math.max(L[b-1]||0);return a.slice(v,g)}):[]}function p(a){return m?x(a,r):d(a)}return{groupSlides:p}}function hn(t,n,r,s,i,e,o){const{align:f,axis:c,direction:u,startIndex:h,loop:l,duration:m,dragFree:x,dragThreshold:d,inViewThreshold:p,slidesToScroll:S,skipSnaps:a,containScroll:g,watchResize:b,watchSlides:L,watchDrag:v}=e,F=2,E=Yt(),I=E.measure(n),D=r.map(E.measure),M=_t(c,u),O=M.measureSize(I),V=Jt(O),X=$t(f,O),B=!l&&!!g,U=l||!!g,{slideSizes:J,slideSizesWithGaps:$,startGap:Y,endGap:Q}=mn(M,I,D,r,U,i),Z=gn(M,O,S,l,I,D,Y,Q,F),{snaps:_,snapsAligned:et}=sn(M,X,I,D,Z),K=-j(_)+j($),{snapsContained:rt,scrollContainLimit:st}=nn(O,K,et,g,F),z=B?rt:et,{limit:R}=en(K,z,l),N=Nt(at(z),h,l),ot=N.clone(),k=ct(r),P=({dragHandler:tt,scrollBody:ht,scrollBounds:St,options:{loop:lt}})=>{lt||St.constrain(tt.pointerDown()),ht.seek()},y=({scrollBody:tt,translate:ht,location:St,offsetLocation:lt,scrollLooper:kt,slideLooper:Ht,dragHandler:Gt,animation:jt,eventHandler:At,options:{loop:Rt}},qt)=>{const Ft=tt.velocity(),Pt=tt.settled();Pt&&!Gt.pointerDown()&&(jt.stop(),At.emit("settle")),Pt||At.emit("scroll"),lt.set(St.get()-Ft+Ft*qt),Rt&&(kt.loop(tt.direction()),Ht.loop()),ht.to(lt.get())},T=Qt(s,i,()=>P(gt),tt=>y(gt,tt)),C=.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,K,R,G),mt=fn(T,N,ot,W,pt,G,o),Tt=rn(R),Dt=ft(),zt=pn(n,r,o,p),{slideRegistry:Mt}=cn(B,g,z,st,Z,k),Bt=an(t,r,Mt,mt,W,Dt,o),gt={ownerDocument:s,ownerWindow:i,eventHandler:o,containerRect:I,slideRects:D,animation:T,axis:M,dragHandler:Kt(M,t,s,i,G,Xt(M,i),q,T,mt,W,pt,N,o,V,x,d,a,C,v),eventStore:Dt,percentOfView:V,index:N,indexPrevious:ot,limit:R,location:q,offsetLocation:H,options:e,resizeHandler:Zt(n,o,i,r,M,b,E),scrollBody:W,scrollBounds:tn(R,H,G,W,V),scrollLooper:on(K,R,H,[q,H,G]),scrollProgress:Tt,scrollSnapList:z.map(Tt.get),scrollSnaps:z,scrollTarget:pt,scrollTo:mt,slideLooper:ln(M,O,K,J,$,_,z,H,r),slideFocus:Bt,slidesHandler:dn(n,o,L),slidesInView:zt,slideIndexes:k,slideRegistry:Mt,slidesToScroll:Z,target:G,translate:Vt(M,n)};return gt}function Sn(){let t={},n;function r(u){n=u}function s(u){return t[u]||[]}function i(u){return s(u).forEach(h=>h(n,u)),c}function e(u,h){return t[u]=s(u).concat([h]),c}function o(u,h){return t[u]=s(u).filter(l=>l!==h),c}function f(){t={}}const c={init:r,emit:i,off:o,on:e,clear:f};return c}const yn={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function bn(t){function n(e,o){return wt(e,o||{})}function r(e){const o=e.breakpoints||{},f=ut(o).filter(c=>t.matchMedia(c).matches).map(c=>o[c]).reduce((c,u)=>n(c,u),{});return n(e,f)}function s(e){return e.map(o=>ut(o.breakpoints||{})).reduce((o,f)=>o.concat(f),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:s}}function xn(t){let n=[];function r(e,o){return n=o.filter(({options:f})=>t.optionsAtMedia(f).active!==!1),n.forEach(f=>f.init(e,t)),o.reduce((f,c)=>Object.assign(f,{[c.name]:c}),{})}function s(){n=n.filter(e=>e.destroy())}return{init:r,destroy:s}}function vt(t,n,r){const s=t.ownerDocument,i=s.defaultView,e=bn(i),o=xn(e),f=ft(),c=Sn(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:l}=e,{on:m,off:x,emit:d}=c,p=O;let S=!1,a,g=u(yn,vt.globalOptions),b=u(g),L=[],v,F,E;function I(){const{container:P,slides:y}=b;F=(yt(P)?t.querySelector(P):P)||t.children[0];const C=yt(y)?F.querySelectorAll(y):y;E=[].slice.call(C||F.children)}function D(P){const y=hn(t,F,E,s,i,P,c);if(P.loop&&!y.slideLooper.canLoop()){const T=Object.assign({},P,{loop:!1});return D(T)}return y}function M(P,y){S||(g=u(g,P),b=h(g),L=y||L,I(),a=D(b),l([g,...L.map(({options:T})=>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)))}function O(P,y){const T=_();V(),M(u({startIndex:T},P),y),c.emit("reInit")}function V(){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()}function X(){S||(S=!0,f.clear(),V(),c.emit("destroy"),c.clear())}function B(P,y,T){!b.active||S||(a.scrollBody.useBaseFriction().useDuration(y===!0?0:b.duration),a.scrollTo.index(P,T||0))}function U(P){const y=a.index.add(1).get();B(y,P,-1)}function J(P){const y=a.index.add(-1).get();B(y,P,1)}function $(){return a.index.add(1).get()!==_()}function Y(){return a.index.add(-1).get()!==_()}function Q(){return a.scrollSnapList}function Z(){return a.scrollProgress.get(a.location.get())}function _(){return a.index.get()}function et(){return a.indexPrevious.get()}function K(){return a.slidesInView.get()}function rt(){return a.slidesInView.get(!1)}function st(){return v}function z(){return a}function R(){return t}function N(){return F}function ot(){return E}const k={canScrollNext:$,canScrollPrev:Y,containerNode:N,internalEngine:z,destroy:X,off:x,on:m,emit:d,plugins:st,previousScrollSnap:et,reInit:p,rootNode:R,scrollNext:U,scrollPrev:J,scrollProgress:Z,scrollSnapList:Q,scrollTo:B,selectedScrollSnap:_,slideNodes:ot,slidesInView:K,slidesNotInView:rt};return M(n,r),setTimeout(()=>c.emit("init"),0),k}vt.globalOptions=void 0;exports.default=vt;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function Et(t){return typeof t=="number"}function xt(t){return typeof t=="string"}function It(t){return typeof t=="boolean"}function Vt(t){return Object.prototype.toString.call(t)==="[object Object]"}function P(t){return Math.abs(t)}function Tt(t){return Math.sign(t)}function ut(t,n){return P(t-n)}function Kt(t,n){if(t===0||n===0||P(t)<=P(n))return 0;const r=ut(P(t),P(n));return P(r/t)}function ft(t){return at(t).map(Number)}function H(t){return t[dt(t)]}function dt(t){return Math.max(0,t.length-1)}function vt(t,n){return n===dt(t)}function zt(t,n=0){return Array.from(Array(t),(r,s)=>n+s)}function at(t){return Object.keys(t)}function Bt(t,n){return[t,n].reduce((r,s)=>(at(s).forEach(c=>{const o=r[c],e=s[c],f=Vt(o)&&Vt(e);r[c]=f?Bt(o,e):e}),r),{})}function Lt(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function Xt(t,n){const r={start:s,center:c,end:o};function s(){return 0}function c(i){return o(i)/2}function o(i){return n-i}function e(i,u){return xt(t)?r[t](i):t(n,i,u)}return{measure:e}}function lt(){let t=[];function n(c,o,e,f={passive:!0}){let i;if("addEventListener"in c)c.addEventListener(o,e,f),i=()=>c.removeEventListener(o,e,f);else{const u=c;u.addListener(e),i=()=>u.removeListener(e)}return t.push(i),s}function r(){t=t.filter(c=>c())}const s={add:n,clear:r};return s}function Yt(t,n,r,s){const c=lt(),o=1e3/60;let e=null,f=0,i=0;function u(){c.add(t,"visibilitychange",()=>{t.hidden&&d()})}function h(){x(),c.clear()}function l(g){if(!i)return;e||(e=g);const a=g-e;for(e=g,f+=a;f>=o;)r(o),f-=o;const S=f/o;s(S),i&&n.requestAnimationFrame(l)}function p(){i||(i=n.requestAnimationFrame(l))}function x(){n.cancelAnimationFrame(i),e=null,f=0,i=0}function d(){e=null,f=0}return{init:u,destroy:h,start:p,stop:x,update:()=>r(o),render:s}}function Jt(t,n){const r=n==="rtl",s=t==="y",c=s?"y":"x",o=s?"x":"y",e=!s&&r?-1:1,f=h(),i=l();function u(d){const{height:m,width:g}=d;return s?m:g}function h(){return s?"top":r?"right":"left"}function l(){return s?"bottom":r?"left":"right"}function p(d){return d*e}return{scroll:c,cross:o,startEdge:f,endEdge:i,measureSize:u,direction:p}}function nt(t=0,n=0){const r=P(t-n);function s(u){return u<t}function c(u){return u>n}function o(u){return s(u)||c(u)}function e(u){return o(u)?s(u)?t:n:u}function f(u){return r?u-r*Math.ceil((u-n)/r):u}return{length:r,max:n,min:t,constrain:e,reachedAny:o,reachedMax:c,reachedMin:s,removeOffset:f}}function kt(t,n,r){const{constrain:s}=nt(0,t),c=t+1;let o=e(n);function e(p){return r?P((c+p)%c):s(p)}function f(){return o}function i(p){return o=e(p),l}function u(p){return h().set(f()+p)}function h(){return kt(t,f(),r)}const l={get:f,set:i,add:u,clone:h};return l}function Zt(t,n,r,s,c,o,e,f,i,u,h,l,p,x,d,m,g,a,S){const{cross:b,direction:T}=t,A=["INPUT","SELECT","TEXTAREA"],v={passive:!1},L=lt(),E=lt(),I=nt(50,225).constrain(x.measure(20)),D={mouse:300,touch:400},F={mouse:500,touch:600},V=d?43:25;let Y=!1,B=0,q=0,W=!1,U=!1,J=!1,$=!1;function tt(y){if(!S)return;function M(w){(It(S)||S(y,w))&&z(w)}const C=n;L.add(C,"dragstart",w=>w.preventDefault(),v).add(C,"touchmove",()=>{},v).add(C,"touchend",()=>{}).add(C,"touchstart",M).add(C,"mousedown",M).add(C,"touchcancel",N).add(C,"contextmenu",N).add(C,"click",ot,!0)}function Q(){L.clear(),E.clear()}function et(){const y=$?r:n;E.add(y,"touchmove",G,v).add(y,"touchend",N).add(y,"mousemove",G,v).add(y,"mouseup",N)}function _(y){const M=y.nodeName||"";return A.includes(M)}function st(){return(d?F:D)[$?"mouse":"touch"]}function rt(y,M){const C=l.add(Tt(y)*-1),w=h.byDistance(y,!d).distance;return d||P(y)<I?w:g&&M?w*.5:h.byIndex(C.get(),0).distance}function z(y){const M=Lt(y,s);$=M,J=d&&M&&!y.buttons&&Y,Y=ut(c.get(),e.get())>=2,!(M&&y.button!==0)&&(_(y.target)||(W=!0,o.pointerDown(y),u.useFriction(0).useDuration(0),c.set(e),et(),B=o.readPoint(y),q=o.readPoint(y,b),p.emit("pointerDown")))}function G(y){if(!Lt(y,s)&&y.touches.length>=2)return N(y);const C=o.readPoint(y),w=o.readPoint(y,b),j=ut(C,B),K=ut(w,q);if(!U&&!$&&(!y.cancelable||(U=j>K,!U)))return N(y);const R=o.pointerMove(y);j>m&&(J=!0),u.useFriction(.3).useDuration(.75),f.start(),c.add(T(R)),y.preventDefault()}function N(y){const C=h.byDistance(0,!1).index!==l.get(),w=o.pointerUp(y)*st(),j=rt(T(w),C),K=Kt(w,j),R=V-10*K,X=a+K/50;U=!1,W=!1,E.clear(),u.useDuration(R).useFriction(X),i.distance(j,!d),$=!1,p.emit("pointerUp")}function ot(y){J&&(y.stopPropagation(),y.preventDefault(),J=!1)}function k(){return W}return{init:tt,destroy:Q,pointerDown:k}}function Wt(t,n){let s,c;function o(l){return l.timeStamp}function e(l,p){const d=`client${(p||t.scroll)==="x"?"X":"Y"}`;return(Lt(l,n)?l:l.touches[0])[d]}function f(l){return s=l,c=l,e(l)}function i(l){const p=e(l)-e(c),x=o(l)-o(s)>170;return c=l,x&&(s=l),p}function u(l){if(!s||!c)return 0;const p=e(c)-e(s),x=o(l)-o(s),d=o(l)-o(c)>170,m=p/x;return x&&!d&&P(m)>.1?m:0}return{pointerDown:f,pointerMove:i,pointerUp:u,readPoint:e}}function tn(){function t(r){const{offsetTop:s,offsetLeft:c,offsetWidth:o,offsetHeight:e}=r;return{top:s,right:c+o,bottom:s+e,left:c,width:o,height:e}}return{measure:t}}function nn(t){function n(s){return t*(s/100)}return{measure:n}}function en(t,n,r,s,c,o,e){const f=[t].concat(s);let i,u,h=[],l=!1;function p(g){return c.measureSize(e.measure(g))}function x(g){if(!o)return;u=p(t),h=s.map(p);function a(S){for(const b of S){if(l)return;const T=b.target===t,A=s.indexOf(b.target),v=T?u:h[A],L=p(T?t:s[A]);if(P(L-v)>=.5){g.reInit(),n.emit("resize");break}}}i=new ResizeObserver(S=>{(It(o)||o(g,S))&&a(S)}),r.requestAnimationFrame(()=>{f.forEach(S=>i.observe(S))})}function d(){l=!0,i&&i.disconnect()}return{init:x,destroy:d}}function on(t,n,r,s,c,o){let e=0,f=0,i=c,u=o,h=t.get(),l=0;function p(v){const L=v/1e3,E=i*L,I=s.get()-t.get(),D=!i;let F=0;return D?(e=0,r.set(s),t.set(s),F=I):(r.set(t),e+=I/E,e*=u,h+=e,t.add(e*L),F=h-l),f=Tt(F),l=h,A}function x(){const v=s.get()-n.get();return P(v)<.001}function d(){return i}function m(){return f}function g(){return e}function a(){return b(c)}function S(){return T(o)}function b(v){return i=v,A}function T(v){return u=v,A}const A={direction:m,duration:d,velocity:g,seek:p,settled:x,useBaseFriction:S,useBaseDuration:a,useFriction:T,useDuration:b};return A}function sn(t,n,r,s,c){const o=c.measure(10),e=c.measure(50),f=nt(.1,.99);let i=!1;function u(){return!(i||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function h(x){if(!u())return;const d=t.reachedMin(n.get())?"min":"max",m=P(t[d]-n.get()),g=r.get()-n.get(),a=f.constrain(m/e);r.subtract(g*a),!x&&P(g)<o&&(r.set(t.constrain(r.get())),s.useDuration(25).useBaseFriction())}function l(x){i=!x}return{shouldConstrain:u,constrain:h,toggleActive:l}}function rn(t,n,r,s,c){const o=nt(-n+t,0),e=l(),f=h(),i=p();function u(d,m){return ut(d,m)<1}function h(){const d=e[0],m=H(e),g=e.lastIndexOf(d),a=e.indexOf(m)+1;return nt(g,a)}function l(){return r.map((d,m)=>{const{min:g,max:a}=o,S=o.constrain(d),b=!m,T=vt(r,m);return b?a:T||u(g,S)?g:u(a,S)?a:S}).map(d=>parseFloat(d.toFixed(3)))}function p(){if(n<=t+c)return[o.max];if(s==="keepSnaps")return e;const{min:d,max:m}=f;return e.slice(d,m)}return{snapsContained:i,scrollContainLimit:f}}function cn(t,n,r){const s=n[0],c=r?s-t:H(n);return{limit:nt(c,s)}}function un(t,n,r,s){const o=n.min+.1,e=n.max+.1,{reachedMin:f,reachedMax:i}=nt(o,e);function u(p){return p===1?i(r.get()):p===-1?f(r.get()):!1}function h(p){if(!u(p))return;const x=t*(p*-1);s.forEach(d=>d.add(x))}return{loop:h}}function fn(t){const{max:n,length:r}=t;function s(o){const e=o-n;return r?e/-r:0}return{get:s}}function an(t,n,r,s,c){const{startEdge:o,endEdge:e}=t,{groupSlides:f}=c,i=l().map(n.measure),u=p(),h=x();function l(){return f(s).map(m=>H(m)[e]-m[0][o]).map(P)}function p(){return s.map(m=>r[o]-m[o]).map(m=>-P(m))}function x(){return f(u).map(m=>m[0]).map((m,g)=>m+i[g])}return{snaps:u,snapsAligned:h}}function ln(t,n,r,s,c,o){const{groupSlides:e}=c,{min:f,max:i}=s,u=h();function h(){const p=e(o),x=!t||n==="keepSnaps";return r.length===1?[o]:x?p:p.slice(f,i).map((d,m,g)=>{const a=!m,S=vt(g,m);if(a){const b=H(g[0])+1;return zt(b)}if(S){const b=dt(o)-H(g)[0]+1;return zt(b,H(g)[0])}return d})}return{slideRegistry:u}}function dn(t,n,r,s,c){const{reachedAny:o,removeOffset:e,constrain:f}=s;function i(d){return d.concat().sort((m,g)=>P(m)-P(g))[0]}function u(d){const m=t?e(d):f(d),g=n.map((S,b)=>({diff:h(S-m,0),index:b})).sort((S,b)=>P(S.diff)-P(b.diff)),{index:a}=g[0];return{index:a,distance:m}}function h(d,m){const g=[d,d+r,d-r];if(!t)return d;if(!m)return i(g);const a=g.filter(S=>Tt(S)===m);return a.length?i(a):H(g)-r}function l(d,m){const g=n[d]-c.get(),a=h(g,m);return{index:d,distance:a}}function p(d,m){const g=c.get()+d,{index:a,distance:S}=u(g),b=!t&&o(g);if(!m||b)return{index:a,distance:d};const T=n[a]-S,A=d+h(T,0);return{index:a,distance:A}}return{byDistance:p,byIndex:l,shortcut:h}}function pn(t,n,r,s,c,o,e){function f(l){const p=l.distance,x=l.index!==n.get();o.add(p),p&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),x&&(r.set(n.get()),n.set(l.index),e.emit("select"))}function i(l,p){const x=c.byDistance(l,p);f(x)}function u(l,p){const x=n.clone().set(l),d=c.byIndex(x.get(),p);f(d)}return{distance:i,index:u}}function mn(t,n,r,s,c,o,e){let f=0;function i(){o.add(document,"keydown",u,!1),n.forEach(h)}function u(p){p.code==="Tab"&&(f=new Date().getTime())}function h(p){const x=()=>{if(new Date().getTime()-f>10)return;t.scrollLeft=0;const g=n.indexOf(p),a=r.findIndex(S=>S.includes(g));Et(a)&&(c.useDuration(0),s.index(a,0),e.emit("slideFocus"))};o.add(p,"focus",x,{passive:!0,capture:!0})}return{init:i}}function ct(t){let n=t;function r(){return n}function s(i){n=e(i)}function c(i){n+=e(i)}function o(i){n-=e(i)}function e(i){return Et(i)?i:i.get()}return{get:r,set:s,add:c,subtract:o}}function Ht(t,n){const r=t.scroll==="x"?o:e,s=n.style;let c=!1;function o(l){return`translate3d(${l}px,0px,0px)`}function e(l){return`translate3d(0px,${l}px,0px)`}function f(l){c||(s.transform=r(t.direction(l)))}function i(l){c=!l}function u(){c||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:u,to:f,toggleActive:i}}function gn(t,n,r,s,c,o,e,f,i){const h=ft(c),l=ft(c).reverse(),p=a().concat(S());function x(L,E){return L.reduce((I,D)=>I-c[D],E)}function d(L,E){return L.reduce((I,D)=>x(I,E)>0?I.concat([D]):I,[])}function m(L){return o.map((E,I)=>({start:E-s[I]+.5+L,end:E+n-.5+L}))}function g(L,E,I){const D=m(E);return L.map(F=>{const V=I?0:-r,Y=I?r:0,B=I?"end":"start",q=D[F][B];return{index:F,loopPoint:q,slideLocation:ct(-1),translate:Ht(t,i[F]),target:()=>f.get()>q?V:Y}})}function a(){const L=e[0],E=d(l,L);return g(E,r,!1)}function S(){const L=n-e[0]-1,E=d(h,L);return g(E,-r,!0)}function b(){return p.every(({index:L})=>{const E=h.filter(I=>I!==L);return x(E,n)<=.1})}function T(){p.forEach(L=>{const{target:E,translate:I,slideLocation:D}=L,F=E();F!==D.get()&&(I.to(F),D.set(F))})}function A(){p.forEach(L=>L.translate.clear())}return{canLoop:b,clear:A,loop:T,loopPoints:p}}function hn(t,n,r){let s,c=!1;function o(i){if(!r)return;function u(h){for(const l of h)if(l.type==="childList"){i.reInit(),n.emit("slidesChanged");break}}s=new MutationObserver(h=>{c||(It(r)||r(i,h))&&u(h)}),s.observe(t,{childList:!0})}function e(){s&&s.disconnect(),c=!0}return{init:o,destroy:e}}function Sn(t,n,r,s){const c={};let o=null,e=null,f,i=!1;function u(){f=new IntersectionObserver(d=>{i||(d.forEach(m=>{const g=n.indexOf(m.target);c[g]=m}),o=null,e=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:s}),n.forEach(d=>f.observe(d))}function h(){f&&f.disconnect(),i=!0}function l(d){return at(c).reduce((m,g)=>{const a=parseInt(g),{isIntersecting:S}=c[a];return(d&&S||!d&&!S)&&m.push(a),m},[])}function p(d=!0){if(d&&o)return o;if(!d&&e)return e;const m=l(d);return d&&(o=m),d||(e=m),m}return{init:u,destroy:h,get:p}}function yn(t,n,r,s,c,o){const{measureSize:e,startEdge:f,endEdge:i}=t,u=r[0]&&c,h=d(),l=m(),p=r.map(e),x=g();function d(){if(!u)return 0;const S=r[0];return P(n[f]-S[f])}function m(){if(!u)return 0;const S=o.getComputedStyle(H(s));return parseFloat(S.getPropertyValue(`margin-${i}`))}function g(){return r.map((S,b,T)=>{const A=!b,v=vt(T,b);return A?p[b]+h:v?p[b]+l:T[b+1][f]-S[f]}).map(P)}return{slideSizes:p,slideSizesWithGaps:x,startGap:h,endGap:l}}function bn(t,n,r,s,c,o,e,f,i){const{startEdge:u,endEdge:h,direction:l}=t,p=Et(r);function x(a,S){return ft(a).filter(b=>b%S===0).map(b=>a.slice(b,b+S))}function d(a){return a.length?ft(a).reduce((S,b,T)=>{const A=H(S)||0,v=A===0,L=b===dt(a),E=c[u]-o[A][u],I=c[u]-o[b][h],D=!s&&v?l(e):0,F=!s&&L?l(f):0,V=P(I-F-(E+D));return T&&V>n+i&&S.push(b),L&&S.push(a.length),S},[]).map((S,b,T)=>{const A=Math.max(T[b-1]||0);return a.slice(A,S)}):[]}function m(a){return p?x(a,r):d(a)}return{groupSlides:m}}function xn(t,n,r,s,c,o,e){const{align:f,axis:i,direction:u,startIndex:h,loop:l,duration:p,dragFree:x,dragThreshold:d,inViewThreshold:m,slidesToScroll:g,skipSnaps:a,containScroll:S,watchResize:b,watchSlides:T,watchDrag:A}=o,v=2,L=tn(),E=L.measure(n),I=r.map(L.measure),D=Jt(i,u),F=D.measureSize(E),V=nn(F),Y=Xt(f,F),B=!l&&!!S,q=l||!!S,{slideSizes:W,slideSizesWithGaps:U,startGap:J,endGap:$}=yn(D,E,I,r,q,c),tt=bn(D,F,g,l,E,I,J,$,v),{snaps:Q,snapsAligned:et}=an(D,Y,E,I,tt),_=-H(Q)+H(U),{snapsContained:st,scrollContainLimit:rt}=rn(F,_,et,S,v),z=B?st:et,{limit:G}=cn(_,z,l),N=kt(dt(z),h,l),ot=N.clone(),k=ft(r),O=({dragHandler:Z,scrollBody:St,scrollBounds:yt,options:{loop:pt}},bt)=>{pt||yt.constrain(Z.pointerDown()),St.seek(bt)},y=({scrollBody:Z,translate:St,location:yt,offsetLocation:pt,scrollLooper:bt,slideLooper:Rt,dragHandler:qt,animation:Ut,eventHandler:Pt,scrollBounds:$t,options:{loop:Ot}},Ct)=>{const wt=Z.settled(),Qt=!$t.shouldConstrain(),Nt=Ot?wt:wt&&Qt;Nt&&!qt.pointerDown()&&(Ut.stop(),Pt.emit("settle")),Nt||Pt.emit("scroll");const _t=yt.get()*Ct+K.get()*(1-Ct);pt.set(_t),Ot&&(bt.loop(Z.direction()),Rt.loop()),St.to(pt.get())},M=Yt(s,c,Z=>O(ht,Z),Z=>y(ht,Z)),C=.68,w=z[N.get()],j=ct(w),K=ct(w),R=ct(w),X=ct(w),it=on(j,R,K,X,p,C),mt=dn(l,z,_,G,X),gt=pn(M,N,ot,it,mt,X,e),Mt=fn(G),At=lt(),Gt=Sn(n,r,e,m),{slideRegistry:Ft}=ln(B,S,z,rt,tt,k),jt=mn(t,r,Ft,gt,it,At,e),ht={ownerDocument:s,ownerWindow:c,eventHandler:e,containerRect:E,slideRects:I,animation:M,axis:D,dragHandler:Zt(D,t,s,c,X,Wt(D,c),j,M,gt,it,mt,N,e,V,x,d,a,C,A),eventStore:At,percentOfView:V,index:N,indexPrevious:ot,limit:G,location:j,offsetLocation:R,previousLocation:K,options:o,resizeHandler:en(n,e,c,r,D,b,L),scrollBody:it,scrollBounds:sn(G,R,X,it,V),scrollLooper:un(_,G,R,[j,R,K,X]),scrollProgress:Mt,scrollSnapList:z.map(Mt.get),scrollSnaps:z,scrollTarget:mt,scrollTo:gt,slideLooper:gn(D,F,_,W,U,Q,z,R,r),slideFocus:jt,slidesHandler:hn(n,e,T),slidesInView:Gt,slideIndexes:k,slideRegistry:Ft,slidesToScroll:tt,target:X,translate:Ht(D,n)};return ht}function Ln(){let t={},n;function r(u){n=u}function s(u){return t[u]||[]}function c(u){return s(u).forEach(h=>h(n,u)),i}function o(u,h){return t[u]=s(u).concat([h]),i}function e(u,h){return t[u]=s(u).filter(l=>l!==h),i}function f(){t={}}const i={init:r,emit:c,off:e,on:o,clear:f};return i}const En={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function In(t){function n(o,e){return Bt(o,e||{})}function r(o){const e=o.breakpoints||{},f=at(e).filter(i=>t.matchMedia(i).matches).map(i=>e[i]).reduce((i,u)=>n(i,u),{});return n(o,f)}function s(o){return o.map(e=>at(e.breakpoints||{})).reduce((e,f)=>e.concat(f),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:s}}function Tn(t){let n=[];function r(o,e){return n=e.filter(({options:f})=>t.optionsAtMedia(f).active!==!1),n.forEach(f=>f.init(o,t)),e.reduce((f,i)=>Object.assign(f,{[i.name]:i}),{})}function s(){n=n.filter(o=>o.destroy())}return{init:r,destroy:s}}function Dt(t,n,r){const s=t.ownerDocument,c=s.defaultView,o=In(c),e=Tn(o),f=lt(),i=Ln(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:l}=o,{on:p,off:x,emit:d}=i,m=F;let g=!1,a,S=u(En,Dt.globalOptions),b=u(S),T=[],A,v,L;function E(){const{container:O,slides:y}=b;v=(xt(O)?t.querySelector(O):O)||t.children[0];const C=xt(y)?v.querySelectorAll(y):y;L=[].slice.call(C||v.children)}function I(O){const y=xn(t,v,L,s,c,O,i);if(O.loop&&!y.slideLooper.canLoop()){const M=Object.assign({},O,{loop:!1});return I(M)}return y}function D(O,y){g||(S=u(S,O),b=h(S),T=y||T,E(),a=I(b),l([S,...T.map(({options:M})=>M)]).forEach(M=>f.add(M,"change",F)),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(),v.offsetParent&&L.length&&a.dragHandler.init(k),A=e.init(k,T)))}function F(O,y){const M=Q();V(),D(u({startIndex:M},O),y),i.emit("reInit")}function V(){a.dragHandler.destroy(),a.eventStore.clear(),a.translate.clear(),a.slideLooper.clear(),a.resizeHandler.destroy(),a.slidesHandler.destroy(),a.slidesInView.destroy(),a.animation.destroy(),e.destroy(),f.clear()}function Y(){g||(g=!0,f.clear(),V(),i.emit("destroy"),i.clear())}function B(O,y,M){!b.active||g||(a.scrollBody.useBaseFriction().useDuration(y===!0?0:b.duration),a.scrollTo.index(O,M||0))}function q(O){const y=a.index.add(1).get();B(y,O,-1)}function W(O){const y=a.index.add(-1).get();B(y,O,1)}function U(){return a.index.add(1).get()!==Q()}function J(){return a.index.add(-1).get()!==Q()}function $(){return a.scrollSnapList}function tt(){return a.scrollProgress.get(a.location.get())}function Q(){return a.index.get()}function et(){return a.indexPrevious.get()}function _(){return a.slidesInView.get()}function st(){return a.slidesInView.get(!1)}function rt(){return A}function z(){return a}function G(){return t}function N(){return v}function ot(){return L}const k={canScrollNext:U,canScrollPrev:J,containerNode:N,internalEngine:z,destroy:Y,off:x,on:p,emit:d,plugins:rt,previousScrollSnap:et,reInit:m,rootNode:G,scrollNext:q,scrollPrev:W,scrollProgress:tt,scrollSnapList:$,scrollTo:B,selectedScrollSnap:Q,slideNodes:ot,slidesInView:_,slidesNotInView:st};return D(n,r),setTimeout(()=>i.emit("init"),0),k}Dt.globalOptions=void 0;exports.default=Dt;
|