hunk.code_window:             layout === "small_calendar" &&
                 "border-subtle mt-20 min-h-[450px] w-[calc(var(--booker-meta-width)+var(--booker-main-width))] rounded-md border [--booker-meta-width:280px]",
               layout !== "small_calendar" &&
                 "h-auto min-h-screen w-screen [--booker-meta-width:340px] lg:[--booker-meta-width:424px]",
               "transition-[width] duration-300"
             )}>
             <AnimatePresence>
               <StickyOnDesktop key="meta" className="relative z-10">
                 <BookerSection area="meta" className="max-w-screen w-full md:w-[var(--booker-meta-width)]">
  
hunk.labels: keep replace replace replace replace keep keep keep keep
hunk.after_edit:               "w-[calc(var(--booker-meta-width)+var(--booker-main-width))] [--booker-meta-width:240px] lg:[--booker-meta-width:280px]",
               // Sizes for fullscreen layouts:
               layout !== "small_calendar" && "[--booker-meta-width:340px] lg:[--booker-meta-width:424px]",
               // Other styles
               "bg-muted grid max-w-full items-start overflow-clip dark:[color-scheme:dark] md:flex-row",
               layout === "small_calendar" && "border-subtle mt-20 min-h-[450px] rounded-md border",
               layout !== "small_calendar" && "h-auto min-h-screen w-screen",
               "transition-[width,max-width] duration-300"
  
hunk.file_path: packages/features/bookings/Booker/Booker.tsx
hunk.type: replace
file: import schedule from "node-schedule";
  
  import prisma from "@calcom/prisma";
  
  export async function scheduleTrigger(
    booking: { id: number; endTime: Date; scheduledJobs: string[] },
    subscriberUrl: string,
    subscriber: { id: string; appId: string | null }
  ) {
    try {
      //schedule job to call subscriber url at the end of meeting
      const job = schedule.scheduleJob(
        `${subscriber.appId}_${subscriber.id}`,
        booking.endTime,
        async function () {
          const body = JSON.stringify(booking);
          await fetch(subscriberUrl, {
            method: "POST",
            body,
          });
  
          //remove scheduled job from bookings once triggered
          const updatedScheduledJobs = booking.scheduledJobs.filter((scheduledJob) => {
            return scheduledJob !== `${subscriber.appId}_${subscriber.id}`;
          });
  
          await prisma.booking.update({
            where: {
              id: booking.id,
            },
            data: {
              scheduledJobs: updatedScheduledJobs,
            },
          });
        }
      );
  
      //add scheduled job name to booking
      await prisma.booking.update({
        where: {
          id: booking.id,
        },
        data: {
          scheduledJobs: {
            push: job.name,
          },
        },
      });
    } catch (error) {
      console.error("Error cancelling scheduled jobs", error);
    }
  }
  
  export async function cancelScheduledJobs(
    booking: { uid: string; scheduledJobs?: string[] },
    appId?: string | null,
    isReschedule?: boolean
  ) {
    try {
      let scheduledJobs = booking.scheduledJobs || [];
  
      if (booking.scheduledJobs) {
        booking.scheduledJobs.forEach(async (scheduledJob) => {
          if (appId) {
            if (scheduledJob.startsWith(appId)) {
              if (schedule.scheduledJobs[scheduledJob]) {
                schedule.scheduledJobs[scheduledJob].cancel();
              }
              scheduledJobs = scheduledJobs?.filter((job) => scheduledJob !== job) || [];
            }
          } else {
            //if no specific appId given, delete all scheduled jobs of booking
            if (schedule.scheduledJobs[scheduledJob]) {
              schedule.scheduledJobs[scheduledJob].cancel();
            }
            scheduledJobs = [];
          }
  
          if (!isReschedule) {
            await prisma.booking.update({
              where: {
                uid: booking.uid,
              },
              data: {
                scheduledJobs: scheduledJobs,
              },
            });
          }
        });
      }
    } catch (error) {
      console.error("Error cancelling scheduled jobs", error);
    }
  }
  