@calcom/atoms 1.0.99 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-WBfvWGkL.js → AddressInput-ljX96GOj.js} +1 -1
- package/dist/{AlbyPriceComponent-eW8bnLtO.js → AlbyPriceComponent--ArQtxNB.js} +15 -15
- package/dist/{AppCard-a2VNbyLx.js → AppCard-xRrhcyow.js} +3 -3
- package/dist/{AppListCardPlatformWrapper-C8hnPpP4.js → AppListCardPlatformWrapper-iE_KoJJz.js} +1 -1
- package/dist/{AppListCardWebWrapper-DvvSERyw.js → AppListCardWebWrapper-XQkboW-A.js} +7 -7
- package/dist/{AppSettingsInterface-cKTul9l1.js → AppSettingsInterface-Yokg1R5e.js} +1 -1
- package/dist/{AppSettingsInterface-277vkITp.js → AppSettingsInterface-_QxvdIHr.js} +1 -1
- package/dist/{AppSettingsInterface-cRYupPyd.js → AppSettingsInterface-hweGTkAI.js} +1 -1
- package/dist/{DateRangePicker-vgjaMql7.js → DateRangePicker-F9HOeX4I.js} +69 -69
- package/dist/{EventTypeAppCardInterface-ax3KRlWb.js → EventTypeAppCardInterface-0XruIPBf.js} +4 -4
- package/dist/{EventTypeAppCardInterface-KduqlFNa.js → EventTypeAppCardInterface-1ZEoYers.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iRFQuaNc.js → EventTypeAppCardInterface-41c-etQb.js} +3 -3
- package/dist/{EventTypeAppCardInterface-5oCKHCnt.js → EventTypeAppCardInterface-6lncfu0H.js} +3 -3
- package/dist/{EventTypeAppCardInterface-J-7B6Xjo.js → EventTypeAppCardInterface-6qEGBpiE.js} +4 -4
- package/dist/{EventTypeAppCardInterface-k6-pyXdz.js → EventTypeAppCardInterface-9DgXPWbh.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Y4hW3FSd.js → EventTypeAppCardInterface-Hu4nTaNm.js} +3 -3
- package/dist/{EventTypeAppCardInterface-urvIbTUy.js → EventTypeAppCardInterface-HzzLujZJ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-tRwK3uo8.js → EventTypeAppCardInterface-ImWU0nbu.js} +4 -4
- package/dist/{EventTypeAppCardInterface-MS4ucwo6.js → EventTypeAppCardInterface-KTvwKoZp.js} +3 -3
- package/dist/{EventTypeAppCardInterface-EjBlklYZ.js → EventTypeAppCardInterface-LStyD24r.js} +4 -4
- package/dist/EventTypeAppCardInterface-Ri7zlKki.js +526 -0
- package/dist/{EventTypeAppCardInterface-5SmitGNV.js → EventTypeAppCardInterface-TNJ-n2uU.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iye41eH9.js → EventTypeAppCardInterface-X9N_qajz.js} +4 -4
- package/dist/{EventTypeAppCardInterface-jPx0Q4vg.js → EventTypeAppCardInterface-_6rEgHys.js} +3 -3
- package/dist/{EventTypeAppCardInterface-PTb9KLMK.js → EventTypeAppCardInterface-_LSGnI_j.js} +4 -4
- package/dist/EventTypeAppCardInterface-_ZueJNzP.js +24 -0
- package/dist/{EventTypeAppCardInterface-yEwxGABY.js → EventTypeAppCardInterface-eYhGvYx2.js} +4 -4
- package/dist/{EventTypeAppCardInterface-UnxmvFiF.js → EventTypeAppCardInterface-iFfUUper.js} +3 -3
- package/dist/{EventTypeAppCardInterface-E0Qss22P.js → EventTypeAppCardInterface-ihd1dVU4.js} +3 -3
- package/dist/{EventTypeAppCardInterface-u3dNHTwX.js → EventTypeAppCardInterface-mLgPR301.js} +4 -4
- package/dist/{EventTypeAppCardInterface-rV9JaOnf.js → EventTypeAppCardInterface-nuD4okpy.js} +2 -2
- package/dist/{EventTypeAppCardInterface-hdSBbtYi.js → EventTypeAppCardInterface-smWUxvN0.js} +4 -4
- package/dist/{EventTypeAppCardInterface-i0iSNHI5.js → EventTypeAppCardInterface-tv38JUda.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DCGeU2Nt.js → EventTypeAppCardInterface-w_0z5zlD.js} +2 -2
- package/dist/{EventTypeAppCardInterface-gWjvfWM8.js → EventTypeAppCardInterface-wgZe_Ofg.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-UEd9lbfG.js → EventTypeAppSettingsInterface-1LlsqP0W.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-cZcfyfGn.js → EventTypeAppSettingsInterface-2pQN1OGk.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-VdsSNh9p.js → EventTypeAppSettingsInterface-5BIvQr77.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-YGCAMT_H.js → EventTypeAppSettingsInterface-9O9w0xgs.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-XljkqZTl.js → EventTypeAppSettingsInterface-B1xYXFpt.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-VctSrf5M.js → EventTypeAppSettingsInterface-C9Q0l9cT.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-HjjrUG-6.js → EventTypeAppSettingsInterface-Z1nqP5Qg.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-zpEk1DKo.js → EventTypeAppSettingsInterface-dN8YHzJm.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-mb6aW1Vk.js → EventTypeAppSettingsInterface-h0cnVPv3.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-H0Y7R_6K.js → EventTypeAppSettingsInterface-h62B0iUq.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-t9OOHsGu.js → EventTypeAppSettingsInterface-qQ8NC-lG.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-IlX26-MP.js → EventTypeAppSettingsInterface-xlOnemZ9.js} +1 -1
- package/dist/{InstallAppButton-LAgGkMR5.js → InstallAppButton-IY16xtI-.js} +1 -1
- package/dist/{InstallAppButton-mCwpgGMb.js → InstallAppButton-djNqJZP7.js} +1 -1
- package/dist/{InstallAppButton-0rF_k2oO.js → InstallAppButton-loNdcyIF.js} +1 -1
- package/dist/{PhoneInput-LeK3XZ0X.js → PhoneInput-PVqJ__ZZ.js} +1 -1
- package/dist/{StripePaymentForm-7wEfBhaI.js → StripePaymentForm-MaOvyTtN.js} +1 -1
- package/dist/cal-atoms.js +23 -21
- package/dist/{index-NLytQWtD.js → index-0i5XfWSB.js} +82 -75
- package/dist/{index-mhIxRvCU.js → index-7oHjpn4P.js} +1 -1
- package/dist/{index-61yVVkPy.js → index-Aa5t8hn2.js} +1 -1
- package/dist/{index-E1a1GKmY.js → index-LwkTy4i-.js} +62918 -61124
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +6 -0
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +17 -0
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts +3 -0
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/data-table/DataTableProvider.d.ts +4 -2
- package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +9 -0
- package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts.map +1 -0
- package/dist/packages/features/data-table/hooks/useSegments.d.ts +3 -0
- package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +1 -0
- package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +3 -0
- package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts.map +1 -0
- package/dist/packages/features/data-table/index.d.ts +1 -1
- package/dist/packages/features/data-table/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/dateRange.d.ts +7 -0
- package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/dateRange.test.d.ts +2 -0
- package/dist/packages/features/data-table/lib/dateRange.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/types.d.ts +31 -6
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +1 -0
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +3 -0
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -3
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +11 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +4 -2
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +17 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts +1 -0
- package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/google/GcalConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/outlook/OutlookConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +12 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts +32 -0
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts +3 -10
- package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +17 -0
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +2 -0
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +2 -1
- package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +2 -0
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
- package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts +5 -0
- package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts.map +1 -0
- package/dist/packages/platform/types/organizations/bookings/index.d.ts +2 -0
- package/dist/packages/platform/types/organizations/bookings/index.d.ts.map +1 -0
- package/dist/packages/platform/types/organizations/index.d.ts +1 -0
- package/dist/packages/platform/types/organizations/index.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +6 -4
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +15 -3
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
- package/dist/packages/platform/types/teams/outputs/index.d.ts +1 -0
- package/dist/packages/platform/types/teams/outputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts +9 -0
- package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts.map +1 -0
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -0
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
- package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
- package/dist/packages/prisma/zod/filtersegment.d.ts +3 -0
- package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -1
- package/dist/packages/prisma/zod/task.d.ts +3 -0
- package/dist/packages/prisma/zod/task.d.ts.map +1 -1
- package/dist/packages/prisma/zod/user.d.ts +3 -0
- package/dist/packages/prisma/zod/user.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -0
- package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +126 -3
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +408 -5
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +6 -0
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-bcfIdtzp.js → useIsAppEnabled-KtuZ9LXV.js} +1 -1
- package/globals.min.css +2 -14
- package/package.json +2 -2
- package/dist/EventTypeAppCardInterface-Sy_wEWq8.js +0 -493
- package/dist/EventTypeAppCardInterface-jsVu8y8O.js +0 -24
- package/dist/framer-features-OfBOvlO4.js +0 -443
- package/dist/packages/features/data-table/lib/resizing.d.ts +0 -9
- package/dist/packages/features/data-table/lib/resizing.d.ts.map +0 -1
- package/dist/packages/features/data-table/lib/segments.d.ts +0 -27
- package/dist/packages/features/data-table/lib/segments.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { N as n, e as o, M as c } from "./index-LwkTy4i-.js";
|
|
3
3
|
function r({ value: s, onChange: t, ...a }) {
|
|
4
4
|
return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
|
|
5
5
|
/* @__PURE__ */ e(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as K, jsxs as er } from "react/jsx-runtime";
|
|
2
2
|
import z from "react";
|
|
3
|
-
import { K as tr,
|
|
3
|
+
import { K as tr, O as nr } from "./index-LwkTy4i-.js";
|
|
4
4
|
const J = function(s, r = !0) {
|
|
5
5
|
if (s.destroyed)
|
|
6
6
|
throw new Error("Hash instance has been destroyed");
|
|
@@ -355,7 +355,7 @@ Q = function(s, r) {
|
|
|
355
355
|
(t >> o & 1) == 1 && (n ^= j[o]);
|
|
356
356
|
return n;
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function V(e, t, n = 1) {
|
|
359
359
|
const o = e.length;
|
|
360
360
|
let a = 1;
|
|
361
361
|
for (let h = 0; h < o; h++) {
|
|
@@ -373,7 +373,7 @@ Q = function(s, r) {
|
|
|
373
373
|
a = S(a);
|
|
374
374
|
return a ^= n, C.encode(b([a % 2 ** 30], 30, 5, !1));
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function H(e) {
|
|
377
377
|
const t = e === "bech32" ? 1 : 734539939, n = E(5), o = n.decode, a = n.encode, h = x(o);
|
|
378
378
|
function d(w, p = 90) {
|
|
379
379
|
if (typeof w != "string")
|
|
@@ -389,7 +389,7 @@ Q = function(s, r) {
|
|
|
389
389
|
const G = w.slice(0, v), D = w.slice(v + 1);
|
|
390
390
|
if (D.length < 6)
|
|
391
391
|
throw new Error("Data must be at least 6 characters long");
|
|
392
|
-
const M = C.decode(D).slice(0, -6), P =
|
|
392
|
+
const M = C.decode(D).slice(0, -6), P = V(G, M, t);
|
|
393
393
|
if (!D.endsWith(P))
|
|
394
394
|
throw new Error(`Invalid checksum in ${w}: expected "${P}"`);
|
|
395
395
|
return { prefix: G, words: M };
|
|
@@ -402,13 +402,13 @@ Q = function(s, r) {
|
|
|
402
402
|
const v = w.length + 7 + p.length;
|
|
403
403
|
if ($ !== !1 && v > $)
|
|
404
404
|
throw new TypeError(`Length ${v} exceeds limit ${$}`);
|
|
405
|
-
return `${w = w.toLowerCase()}1${C.encode(p)}${
|
|
405
|
+
return `${w = w.toLowerCase()}1${C.encode(p)}${V(w, p, t)}`;
|
|
406
406
|
}, decode: d, decodeToBytes: function(w) {
|
|
407
407
|
const { prefix: p, words: $ } = d(w, !1);
|
|
408
408
|
return { prefix: p, words: $, bytes: o($) };
|
|
409
409
|
}, decodeUnsafe: x(d), fromWords: o, fromWordsUnsafe: h, toWords: a };
|
|
410
410
|
}
|
|
411
|
-
r.bech32 =
|
|
411
|
+
r.bech32 = H("bech32"), r.bech32m = H("bech32m"), r.utf8 = { encode: (e) => new TextDecoder().decode(e), decode: (e) => new TextEncoder().encode(e) }, r.hex = c(E(4), f("0123456789abcdef"), u(""), g((e) => {
|
|
412
412
|
if (typeof e != "string" || e.length % 2)
|
|
413
413
|
throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);
|
|
414
414
|
return e.toLowerCase();
|
|
@@ -431,20 +431,20 @@ Q = function(s, r) {
|
|
|
431
431
|
BigInt(1e3), BigInt(1e6), BigInt(1e9), BigInt(1e12);
|
|
432
432
|
BigInt("2100000000000000000");
|
|
433
433
|
BigInt(1e11);
|
|
434
|
-
const
|
|
435
|
-
for (let s = 0, r = Object.keys(
|
|
436
|
-
r[s],
|
|
437
|
-
const
|
|
434
|
+
const X = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
|
|
435
|
+
for (let s = 0, r = Object.keys(X); s < r.length; s++)
|
|
436
|
+
r[s], X[r[s]].toString();
|
|
437
|
+
const O = async (s) => {
|
|
438
438
|
const r = "https://getalby.com/api/rates/" + s.toLowerCase() + ".json";
|
|
439
439
|
return (await (await fetch(r)).json()).rate_float / 1e8;
|
|
440
|
-
},
|
|
441
|
-
const i = await
|
|
440
|
+
}, Y = async ({ satoshi: s, currency: r }) => {
|
|
441
|
+
const i = await O(r);
|
|
442
442
|
return Number(s) * i;
|
|
443
443
|
};
|
|
444
|
-
var fr = { __proto__: null, getFiatBtcRate:
|
|
445
|
-
const i = await
|
|
444
|
+
var fr = { __proto__: null, getFiatBtcRate: O, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
|
|
445
|
+
const i = await O(r);
|
|
446
446
|
return Math.floor(Number(s) / i);
|
|
447
|
-
}, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await
|
|
447
|
+
}, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await Y({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
|
|
448
448
|
function wr({ displaySymbol: s, price: r, formattedPrice: i }) {
|
|
449
449
|
const [c, f] = z.useState("loading...");
|
|
450
450
|
return z.useEffect(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { a7 as S, y as N, q as B, u as O, a8 as P, M as r, r as w,
|
|
2
|
+
import { a7 as S, y as N, q as B, u as O, a8 as P, M as r, r as w, _ as v, a9 as k, aa as C, t as j, ab as $, ac as f, ad as q, ae as E, p as L, N as R } from "./index-LwkTy4i-.js";
|
|
3
3
|
function T(e) {
|
|
4
4
|
const { status: a } = S.useSession();
|
|
5
5
|
return N.viewer.apps.appById.useQuery(
|
|
@@ -9,7 +9,7 @@ function T(e) {
|
|
|
9
9
|
}
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function D({
|
|
13
13
|
appId: e,
|
|
14
14
|
className: a,
|
|
15
15
|
returnTo: m,
|
|
@@ -133,7 +133,7 @@ function z({
|
|
|
133
133
|
tooltip: t
|
|
134
134
|
}
|
|
135
135
|
) }) : /* @__PURE__ */ s(
|
|
136
|
-
|
|
136
|
+
D,
|
|
137
137
|
{
|
|
138
138
|
className: "ml-auto flex items-center",
|
|
139
139
|
appId: e.slug,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useMemo as
|
|
2
|
+
import { Q as i, s as y, R as A, U as R, A as Q } from "./index-LwkTy4i-.js";
|
|
3
|
+
import { useMemo as $, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
|
|
4
4
|
i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
|
|
5
5
|
i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
|
|
6
|
-
function
|
|
6
|
+
function U(r) {
|
|
7
7
|
const o = y.useRouter(), c = A(), u = y.usePathname(), a = r.safeParse(c);
|
|
8
|
-
let s =
|
|
8
|
+
let s = $(() => ({}), []);
|
|
9
9
|
d(() => {
|
|
10
10
|
a.success && a.data && Object.entries(a.data).forEach(([e, t]) => {
|
|
11
11
|
if (e in c || !t)
|
|
@@ -55,11 +55,11 @@ function x(r) {
|
|
|
55
55
|
removeAllQueryParams: g
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const x = i.object({ hl: i.string().optional() });
|
|
59
59
|
function j(r) {
|
|
60
60
|
const { slug: o, shouldHighlight: c } = r, {
|
|
61
61
|
data: { hl: u }
|
|
62
|
-
} = x
|
|
62
|
+
} = U(x), a = y.useRouter(), [s, m] = L(c && u === o), l = w(null), f = R(), h = y.usePathname();
|
|
63
63
|
return d(() => (c && s && f !== null && h !== null && (l.current = setTimeout(() => {
|
|
64
64
|
const g = new URLSearchParams(f.toString());
|
|
65
65
|
g.delete("hl"), g.delete("category"), m(!1);
|
|
@@ -67,7 +67,7 @@ function j(r) {
|
|
|
67
67
|
a.replace(`${h}${e !== "" ? `?${e}` : ""}`);
|
|
68
68
|
}, 3e3)), () => {
|
|
69
69
|
l.current && (clearTimeout(l.current), l.current = null);
|
|
70
|
-
}), [s, h, a, f, c]), /* @__PURE__ */ P(
|
|
70
|
+
}), [s, h, a, f, c]), /* @__PURE__ */ P(Q, { ...r });
|
|
71
71
|
}
|
|
72
72
|
export {
|
|
73
73
|
j as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s } from "react";
|
|
3
|
-
import { q as i, f as l, r as m } from "./index-
|
|
3
|
+
import { q as i, f as l, r as m } from "./index-LwkTy4i-.js";
|
|
4
4
|
function h() {
|
|
5
5
|
const { t: a } = i(), n = "metric", [e, r] = s("");
|
|
6
6
|
return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { r as i, q as o } from "./index-
|
|
2
|
+
import { r as i, q as o } from "./index-LwkTy4i-.js";
|
|
3
3
|
function d({ template: t }) {
|
|
4
4
|
return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
|
|
5
5
|
/* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import { q as r, f as u, r as i } from "./index-
|
|
3
|
+
import { q as r, f as u, r as i } from "./index-LwkTy4i-.js";
|
|
4
4
|
function d() {
|
|
5
5
|
const { t: e } = r(), [s, n] = p("");
|
|
6
6
|
return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
|