1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3990,650],{3415:function(e,n,t){var r=t(52322),i=t(51392);function o(){return(0,r.jsxs)("li",{className:"group flex w-full items-center justify-between px-4 py-4 sm:px-6",children:[(0,r.jsx)("div",{className:"flex-grow truncate text-sm",children:(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,r.jsx)(i.N2,{className:"h-5 w-16"}),(0,r.jsx)(i.N2,{className:"h-4 w-32"})]})})}),(0,r.jsx)("div",{className:"mt-4 hidden flex-shrink-0 sm:ml-5 sm:mt-0 lg:flex",children:(0,r.jsxs)("div",{className:"flex justify-between space-x-2 rtl:space-x-reverse",children:[(0,r.jsx)(i.N2,{className:"h-6 w-16"}),(0,r.jsx)(i.N2,{className:"h-6 w-32"})]})})]})}t(2784),n.Z=function(){return(0,r.jsxs)("ul",{className:"divide-subtle border-subtle bg-default animate-pulse divide-y rounded-md border sm:overflow-hidden",children:[(0,r.jsx)(o,{}),(0,r.jsx)(o,{}),(0,r.jsx)(o,{})]})}},52517:function(e,n,t){t.d(n,{q:function(){return m}});var r=t(52322),i=t(47982),o=t(90029),a=t(69604),l=t(16676),s=t(74043),c=t(40876),u=t(15348),d=t(2784);let m=e=>{let{t:n}=(0,i.b)(),t=o.S.useContext(),{isOpenDialog:m,setIsOpenDialog:p,bookingUId:g}=e,[f,P]=(0,d.useState)(""),{mutate:b,isLoading:Z}=o.S.viewer.bookings.requestReschedule.useMutation({async onSuccess(){(0,a.CF)(n("reschedule_request_sent"),"success"),p(!1),await t.viewer.bookings.invalidate()},onError(e){(0,a.CF)(e.message||n("unexpected_error_try_again"),"error"),p(!1)}});return(0,r.jsx)(l.Vq,{open:m,onOpenChange:p,children:(0,r.jsx)(l.cZ,{children:(0,r.jsxs)("div",{className:"flex flex-row space-x-3",children:[(0,r.jsx)("div",{className:"flex h-10 w-10 flex-shrink-0 justify-center rounded-full bg-[#FAFAFA]",children:(0,r.jsx)(u.Z,{className:"m-auto h-6 w-6"})}),(0,r.jsxs)("div",{className:"pt-1",children:[(0,r.jsx)(l.fK,{title:n("send_reschedule_request")}),(0,r.jsx)("p",{className:"text-subtle text-sm",children:n("reschedule_modal_description")}),(0,r.jsxs)("p",{className:"text-emphasis mb-2 mt-6 text-sm font-bold",children:[n("reason_for_reschedule_request"),(0,r.jsx)("span",{className:"text-subtle font-normal",children:" (Optional)"})]}),(0,r.jsx)(s.Kx,{"data-testid":"reschedule_reason",name:n("reason_for_reschedule"),value:f,onChange:e=>P(e.target.value),className:"mb-5 sm:mb-6"}),(0,r.jsxs)(l.cN,{children:[(0,r.jsx)(l.GG,{}),(0,r.jsx)(c.z,{"data-testid":"send_request",className:"text-white",disabled:Z,onClick:()=>{b({bookingId:g,rescheduleReason:f})},children:n("send_reschedule_request")})]})]})]})})})}},46387:function(e,n,t){var r=t(90029);n.Z=function(){let e=r.S.viewer.me.useQuery(void 0,{retry:e=>e>3});return e}},52843:function(e,n,t){t.d(n,{$5:function(){return x},A5:function(){return z},B5:function(){return g},Kd:function(){return i},QG:function(){return E},_i:function(){return Z},ld:function(){return f},mS:function(){return h},np:function(){return c},vl:function(){return b}});var r,i,o,a,l=t(5438),s=t(54461);let c="integrations:google:meet";(r=i||(i={})).InPerson="inPerson",r.InOffice="inOffice",r.Phone="phone",r.UserPhone="userPhone",r.Link="link",r.Conferencing="conferencing";let u=[{default:!0,type:i.InPerson,label:"in_person",organizerInputType:"text",messageForOrganizer:"Provide an Address or Place",variable:"locationAddress",defaultValueVariable:"address",iconUrl:"/map-pin.svg",category:"in person"},{default:!0,type:i.InOffice,label:"Office Booking",organizerInputType:"text",messageForOrganizer:"Please select office location",variable:"locationAddress",defaultValueVariable:"address",iconUrl:"/map-pin.svg",category:"in office"},{default:!0,type:i.Conferencing,iconUrl:"/link.svg",organizerInputType:null,label:"organizer_default_conferencing_app",variable:"hostDefault",defaultValueVariable:"hostDefault",category:"conferencing",messageForOrganizer:""},{default:!0,type:i.Link,label:"link_meeting",organizerInputType:"text",variable:"locationLink",messageForOrganizer:"Provide a Meeting Link",defaultValueVariable:"link",iconUrl:"/link.svg",category:"other"}],d={},m=[];for(let[e,n]of Object.entries(l.V)){let t=null===(o=n.appData)||void 0===o?void 0:o.location;if(t){for(let[e,r]of Object.entries(t))"string"==typeof r&&(t[e]=r.replace(/{SLUG}/g,n.slug).replace(/{TITLE}/g,n.name));let r={...t,messageForOrganizer:t.messageForOrganizer||"Set ".concat(t.label," link"),iconUrl:n.logo,variable:t.variable||"locationLink",defaultValueVariable:t.defaultValueVariable||"link"};"static"===r.linkType?(r.organizerInputType=t.organizerInputType||"text",(null===(a=r.organizerInputPlaceholder)||void 0===a?void 0:a.match(/https?:\/\//))&&(r.organizerInputPlaceholder=" ".concat(r.organizerInputPlaceholder))):r.organizerInputType=null,d[e]=r.type,m.push({...r})}}let p=[...u,...m],g=e=>m.find(n=>n.type===e),f=e=>p.find(n=>n.type===e),P=e=>e?p.find(n=>{if(!n.default&&"dynamic"!=n.linkType&&n.urlRegExp)return new RegExp(n.urlRegExp).test(e)}):null,b=e=>f(e)||P(e),Z={...i,...d},h=(e,n)=>{g(e);let t=u.find(n=>n.type===e);return t?n(t.messageForOrganizer):""},E=(e,n)=>{if(!e)return n("no_location");let t=f(e);return t?"".concat(t.label):e||""},x=e=>{let n=f(e.type);if(!n)return null;let t=n.defaultValueVariable;return t?e[t]||n.label:(console.error("defaultValueVariable not set for ".concat(e.type)),"")};function z(e,n,t){let r=f(e),i=e;if(r&&!r.default&&"dynamic"===r.linkType){let r=t===s.gn.ACCEPTED;t===s.gn.CANCELLED||t===s.gn.REJECTED?n("web_conference"):i=r?E(e,n)+": "+n("meeting_url_in_conformation_email"):n("web_conferencing_details_to_follow")}return i}},46124:function(e,n,t){t.d(n,{Dh:function(){return P},E7:function(){return d},To:function(){return l},eD:function(){return g}});var r=t(30195);let i=r.z.object({id:r.z.string(),label:r.z.string(),identifier:r.z.string().optional(),placeholder:r.z.string().optional(),type:r.z.string(),selectText:r.z.string().optional(),required:r.z.boolean().optional(),deleted:r.z.boolean().optional()}),o=i.extend({routerId:r.z.string()}),a=r.z.union([o,i]),l=r.z.array(a).optional(),s=o.extend({routerField:i,router:r.z.object({name:r.z.string(),description:r.z.string(),id:r.z.string()})}),c=r.z.union([i,s]);r.z.array(c).optional();let u=r.z.object({id:r.z.string(),queryValue:r.z.object({id:r.z.string().optional(),type:r.z.union([r.z.literal("group"),r.z.literal("switch_group")]),children1:r.z.any(),properties:r.z.any()}),isFallback:r.z.boolean().optional(),action:r.z.object({type:r.z.union([r.z.literal("customPageMessage"),r.z.literal("externalRedirectUrl"),r.z.literal("eventTypeRedirectUrl")]),value:r.z.string()})}),d=r.z.object({id:r.z.string(),isRouter:r.z.literal(!0)}),m=r.z.union([u,d]),p=d.extend({name:r.z.string(),description:r.z.string().nullable(),routes:r.z.array(r.z.union([m,r.z.null()]))}),g=r.z.union([r.z.array(m),r.z.null()]).optional(),f=r.z.union([u,p]);r.z.union([r.z.array(f),r.z.null()]).optional();let P=r.z.any();r.z.object({})},97616:function(e,n,t){t.d(n,{kX:function(){return i}});var r=t(34406);r.env.NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE_MONTHLY,r.env.NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRODUCT_ID,r.env.NEXT_PUBLIC_STRIPE_TEAM_MONTHLY_PRICE_ID;let i=[{label:"on_booking_option",value:"ON_BOOKING"}]},35050:function(e,n,t){t(74008),t(68289),t(35617),t(55411),t(79457),t(8338),t(21295),t(76968),t(25093),t(11570),t(33214),t(31605),t(65958),t(78325),t(83952),t(18034),t(79391),t(61389),t(42147),t(92116),t(34738),t(47208),t(27535),t(98833),t(31072)}
1,43849:function(e,n,t){t.d(n,{Y:function(){return a}});var r=t(30195);let i=r.z.enum(["name","text","textarea","number","email","phone","address","multiemail","select","multiselect","checkbox","radio","radioInput","boolean"]);r.z.enum(["system","system-but-optional","user","user-readonly"]);let o=r.z.object({name:r.z.string(),label:r.z.string().optional(),placeholder:r.z.string().optional(),defaultLabel:r.z.string().optional(),defaultPlaceholder:r.z.string().optional(),views:r.z.object({label:r.z.string(),id:r.z.string(),description:r.z.string().optional()}).array().optional(),type:i,options:r.z.array(r.z.object({label:r.z.string(),value:r.z.string()})).optional(),getOptionsAt:r.z.string().optional(),optionsInputs:r.z.record(r.z.object({type:r.z.enum(["address","phone","text"]),required:r.z.boolean().optional(),placeholder:r.z.string().optional()})).optional(),hideWhenJustOneOption:r.z.boolean().default(!1).optional(),required:r.z.boolean().default(!1).optional(),hidden:r.z.boolean().optional(),editable:r.z.enum(["system","system-but-optional","user","user-readonly"]).default("user").optional(),sources:r.z.array(r.z.object({id:r.z.string(),type:r.z.union([r.z.literal("user"),r.z.literal("system"),r.z.string()]),label:r.z.string(),editUrl:r.z.string().optional(),fieldRequired:r.z.boolean().optional()})).optional()}),a=r.z.array(o)},76844:function(e,n,t){t.d(n,{E_:function(){return s},Km:function(){return o},NL:function(){return u},X4:function(){return d},dk:function(){return p},lx:function(){return m},mr:function(){return a},rm:function(){return i},vF:function(){return c}});var r=t(57357);let i=e=>e instanceof Date?(0,r.Z)(e).format("YYYY-MM-DD"):e.format("YYYY-MM-DD"),o=e=>{let[n,t]=e instanceof Date?[e.getFullYear(),e.getMonth()]:[e.year(),e.month()];return new Date(n,t+1,0).getDate()},a=(e,n,t)=>t?(0,r.Z)(e).tz(t).format(12===n?"h:mma":"HH:mm"):(0,r.Z)(e).format(12===n?"h:mma":"HH:mm"),l=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=e instanceof r.Z?e.toDate():e;return Intl.DateTimeFormat(t,n).format(i)},s=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"long",r=arguments.length>3?arguments[3]:void 0;return l(e,{dateStyle:t,timeZone:r},n)},c=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"short",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return l(e,{timeStyle:t,hour12:r,timeZone:i},n)},u=function(e){var n;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"long",a=e instanceof r.Z?e.toDate():e;return null===(n=Intl.DateTimeFormat(t,{timeZoneName:o,timeZone:i}).formatToParts(a).find(e=>"timeZoneName"==e.type))||void 0===n?void 0:n.value},d=(e,n)=>{let t=r.Z.utc().tz(e).utcOffset(),i=r.Z.utc().tz(n).utcOffset();return t===i?0:t<i?-1:1},m=(e,n,t)=>{let r=a(e,24,n),i=a(e,24,t);if(e===i)return!1;let o=1===i.localeCompare(r),l=1===d(n,t);return o&&l},p=(e,n,t)=>{let r=a(e,24,n),i=a(e,24,t);if(e===i)return!1;let o=-1===i.localeCompare(r),l=-1===d(n,t);return o&&l}},13651:function(e,n,t){t.d(n,{i:function(){return o}});var r=t(20650);let i=e=>{let{t:n,recurringEvent:t}=e;return t.interval&&t.freq?n("every_for_freq",{freq:"".concat(t.interval>1?t.interval:""," ").concat(n(r.Di[t.freq].toString().toLowerCase(),{count:t.interval}))}):""},o=e=>{let{t:n,recurringEvent:t,recurringCount:r,recurringFreq:o}=e;return t.freq?"".concat(o||i({t:n,recurringEvent:t})," ").concat(r||t.count," ").concat(n("occurrence",{count:r||t.count})):""}},81076:function(e,n,t){t.d(n,{l:function(){return r}});let r=e=>e.toLowerCase().trim().normalize("NFD").replace(RegExp("\\p{Diacritic}","gu"),"").replace(RegExp("[^\\p{L}\\p{N}\\p{Zs}\\p{Emoji}]+","gu"),"-").replace(/[\s_]+/g,"-").replace(/^-+/,"").replace(/-+$/,"");n.Z=r},54461:function(e,n,t){t.d(n,{$:function(){return a},BW:function(){return g},EZ:function(){return o},Gh:function(){return p},Nz:function(){return u},T8:function(){return f},_m:function(){return m},ck:function(){return d},dH:function(){return r},fF:function(){return c},gn:function(){return s},nJ:function(){return l},tN:function(){return i}});let r={ROUND_ROBIN:"ROUND_ROBIN",COLLECTIVE:"COLLECTIVE",MANAGED:"MANAGED"},i={UNLIMITED:"UNLIMITED",ROLLING:"ROLLING",RANGE:"RANGE"},o={CAL:"CAL",GOOGLE:"GOOGLE",SAML:"SAML"},a={USER:"USER",ADMIN:"ADMIN"},l={MEMBER:"MEMBER",ADMIN:"ADMIN",OWNER:"OWNER"},s={CANCELLED:"CANCELLED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",PENDING:"PENDING"},c={TEXT:"TEXT",TEXTLONG:"TEXTLONG",NUMBER:"NUMBER",BOOL:"BOOL",RADIO:"RADIO",PHONE:"PHONE"},u={calendar:"calendar",messaging:"messaging",other:"other",payment:"payment",video:"video",web3:"web3",automation:"automation",analytics:"analytics",conferencing:"conferencing",crm:"crm"}
1,d={FREE_TIER:"FREE_TIER",TEAM:"TEAM",PER_USER:"PER_USER"},m={DRAFT:"DRAFT",PENDING:"PENDING",COMPLETED:"COMPLETED"},p={FIRST_PAGE:"FIRST_PAGE",LAST_PAGE:"LAST_PAGE",ALL_PAGES:"ALL_PAGES",NO_PAGES:"NO_PAGES"},g={SENT:"SENT",RESENT:"RESENT",VIEWED:"VIEWED",VIEW_DONE:"VIEW_DONE",SIGNED:"SIGNED",COMPLETED:"COMPLETED",DOWNLOADED:"DOWNLOADED",REMINDER:"REMINDER",AUDIT_VIEWED:"AUDIT_VIEWED",PRINTED:"PRINTED"},f={BOOKED_MEETING:"BOOKED_MEETING",VISITED_LINK:"VISITED_LINK",VIEWED_DOCUMENT:"VIEWED_DOCUMENT",SIGNED_DOCUMENT:"SIGNED_DOCUMENT",VISITED_PLACE:"VISITED_PLACE"}},20650:function(e,n,t){t.d(n,{jT:function(){return k},Dx:function(){return D},Di:function(){return o},X2:function(){return H},Wb:function(){return j},$n:function(){return F},zS:function(){return O},fU:function(){return B},qh:function(){return X},Xs:function(){return T},Ck:function(){return C},qv:function(){return A},EG:function(){return R},pw:function(){return G},q2:function(){return K},bZ:function(){return V}});var r,i,o,a,l=t(30195);let s=l.z.object({});l.z.object({client_id:l.z.string().min(1),client_secret:l.z.string().min(1),redirect_uris:l.z.union([l.z.string().url().array(),l.z.string().url().transform(e=>[e])])}),l.z.object({client_id:l.z.string().min(1),client_secret:l.z.string().min(1)});let c=l.z.object({client_id:l.z.string(),client_secret:l.z.string()});var u=t(46124);let d=l.z.object({enabled:l.z.boolean().optional()});l.z.object({});var m=t(97616);let p=[m.kX[0].value,...m.kX.slice(1).map(e=>e.value)],g=l.z.enum(p),f=d.merge(l.z.object({price:l.z.number(),currency:l.z.string(),paymentOption:g.optional()}));l.z.object({client_id:l.z.string().startsWith("ca_").min(1),client_secret:l.z.string().startsWith("sk_").min(1),public_key:l.z.string().startsWith("pk_").min(1),webhook_secret:l.z.string().startsWith("whsec_").min(1),payment_fee_fixed:l.z.number().min(0),payment_fee_percentage:l.z.number().min(0)});let P=l.z.object({});l.z.object({invite_link:l.z.string().min(1)});let b=l.z.object({});l.z.object({client_id:l.z.string().min(1),client_secret:l.z.string().min(1)});let Z={googlecalendar:s,office365calendar:c,"routing-forms":u.Dh,stripe:f,zapier:P,zoomvideo:b};var h=t(57357),E=t(43849),x=t(81076),z=t(54461),v=t(13888),N=t.n(v);(r=o||(o={}))[r.YEARLY=0]="YEARLY",r[r.MONTHLY=1]="MONTHLY",r[r.WEEKLY=2]="WEEKLY",r[r.DAILY=3]="DAILY",r[r.HOURLY=4]="HOURLY",r[r.MINUTELY=5]="MINUTELY",r[r.SECONDLY=6]="SECONDLY",(i=a||(a={})).MONTH_VIEW="month_view",i.WEEK_VIEW="week_view",i.COLUMN_VIEW="column_view";let j=[a.MONTH_VIEW,a.WEEK_VIEW,a.COLUMN_VIEW],I=l.ZP.union([l.ZP.literal(j[0]),l.ZP.literal(j[1]),l.ZP.literal(j[2])]),_=l.ZP.object({enabledLayouts:l.ZP.array(I),defaultLayout:I}).nullable();a.MONTH_VIEW;let y=l.ZP.enum(["hours","minutes"]),D=l.ZP.object({smartContractAddress:l.ZP.string().optional(),blockchainId:l.ZP.number().optional(),multipleDuration:l.ZP.number().array().optional(),giphyThankYouPage:l.ZP.string().optional(),apps:l.ZP.object(Z).partial().optional(),additionalNotesRequired:l.ZP.boolean().optional(),disableSuccessPage:l.ZP.boolean().optional(),disableStandardEmails:l.ZP.object({confirmation:l.ZP.object({host:l.ZP.boolean().optional(),attendee:l.ZP.boolean().optional()}).optional()}).optional(),managedEventConfig:l.ZP.object({unlockedFields:l.ZP.custom().optional()}).optional(),requiresConfirmationThreshold:l.ZP.object({time:l.ZP.number(),unit:y}).optional(),config:l.ZP.object({useHostSchedulesForTeamEvent:l.ZP.boolean().optional()}).optional(),bookerLayouts:_.optional()}).nullable(),T=E.Y,k=T.element.shape.type.Enum,L=E.Y;L.element.shape.type.Enum;let O=l.ZP.object({email:l.ZP.string(),name:l.ZP.string(),guests:l.ZP.array(l.ZP.string()).optional(),notes:l.ZP.string().optional(),location:l.ZP.object({optionValue:l.ZP.string(),value:l.ZP.string()}).optional(),smsReminderNumber:l.ZP.string().optional(),rescheduleReason:l.ZP.string().optional()}).nullable(),C=l.ZP.array(l.ZP.object({type:l.ZP.string(),address:l.ZP.string().optional(),link:l.ZP.string().url().optional(),displayLocationPublicly:l.ZP.boolean().optional(),hostPhoneNumber:l.ZP.string().optional()})),R=l.ZP.object({dtstart:l.ZP.date().optional(),interval:l.ZP.number(),count:l.ZP.number(),freq:l.ZP.nativeEnum(o),until:l.ZP.date().optional(),tzid:l.ZP.string().optional()}).nullable();l.ZP.string().transform((e,n)=>{let t=Date.parse(e);t||n.addIssue({code:l.ZP.ZodIssueCode.custom,message:"Invalid ISO Date"});let r=new Date;return r.setTime(t),r}),l.ZP.object({PER_DAY:l.ZP.number().optional(),PER_WEEK:l.ZP.number().optional(),PER_MONTH:l.ZP.number().optional(),PER_YEAR:l.ZP.number().optional()}).nullable();let A=l.ZP.string().transform(e=>(0,x.l)(e.trim()));l.ZP.string().transform(e=>new Date(e)),l.ZP.union([l.ZP.string().transform((e,n)=>{let t=parseInt(e);return isNaN(t)&&n.addIssue({code:l.ZP.ZodIssueCode.custom,message:"Not a number"}),t}),l.ZP.number().int()]),l.ZP.string().transform(e=>(0,h.Z)(e));let w=l.ZP.object({end:l.ZP.string().optional(),eventTypeId:l.ZP.number().optional(),eventTypeSlug:l.ZP.string().optional(),rescheduleUid:l.ZP.string().optional(),recurringEventId:l.ZP.string().optional(),start:l.ZP.string(),timeZone:l.ZP.string(),user:l.ZP.union([l.ZP.string(),l.ZP.array(l.ZP.string())]).optional(),language:l.ZP.string(),bookingUid:l.ZP.string().optional(),metadata:l.ZP.record(l.ZP.string()),hasHashedBookingLink:l.ZP.boolean().optional(),hashedLink:l.ZP.string().nullish(),seatReferenceUid:l.ZP.string().optional(),isOfficeBooking:l.ZP.boolean().optional(),isCheckedIn:l.ZP.boolean().optional(),location:l.ZP.string().optional(),visitorLocationId:l.ZP.number().optional()});l.ZP.union([l.ZP.string().trim().min(1),l.ZP.boolean().refine(e=>!0===e)]),l.ZP.object({end:l.ZP.string().optional(),rescheduleUid:l.ZP.string().optional(),recurringEventId:l.ZP.string().optional(),start:l.ZP.string(),timeZone:l.ZP.string(),user:l.ZP.union([l.ZP.string(),l.ZP.array(l.ZP.string())]).optional(),language:l.ZP.string(),bookingUid:l.ZP.string().optional(),metadata:l.ZP.record(l.ZP.string()),hasHashedBookingLink:l.ZP.boolean().optional(),hashedLink:l.ZP.string().nullish(),seatReferenceUid:l.ZP.string().optional(),isOfficeBooking:l.ZP.boolean().optional(),isCheckedIn:l.ZP.boolean().optional(),visitorLocationId:l.ZP.number(),eventTypeId:l.ZP.number().optional(),paidPaymentUid:l.ZP.string().optional()}),l.ZP.object({bookingId:l.ZP.number(),confirmed:l.ZP.boolean(),recurringEventId:l.ZP.string().optional(),reason:l.ZP.string().optional(),isCheckedIn:l.ZP.boolean().optional()});
1let S=w.merge(l.ZP.object({noEmail:l.ZP.boolean().optional(),recurringCount:l.ZP.number().optional(),allRecurringDates:l.ZP.string().array().optional(),currentRecurringIndex:l.ZP.number().optional(),appsStatus:l.ZP.array(l.ZP.object({appName:l.ZP.string(),success:l.ZP.number(),failures:l.ZP.number(),type:l.ZP.string(),errors:l.ZP.string().array(),warnings:l.ZP.string().array().optional()})).optional()})),M=l.ZP.object({email:l.ZP.string(),name:l.ZP.string(),guests:l.ZP.array(l.ZP.string()).optional(),notes:l.ZP.string().optional(),location:l.ZP.string(),visitorLocationId:l.ZP.number().optional(),smsReminderNumber:l.ZP.string().optional().nullable(),rescheduleReason:l.ZP.string().optional(),customInputs:l.ZP.array(l.ZP.object({label:l.ZP.string(),value:l.ZP.union([l.ZP.string(),l.ZP.boolean()])}))});S.merge(M.partial()),l.ZP.object({id:l.ZP.number().optional(),uid:l.ZP.string().optional(),allRemainingBookings:l.ZP.boolean().optional(),cancellationReason:l.ZP.string().optional(),seatReferenceUid:l.ZP.string().optional()});let U=l.ZP.object({connected:l.ZP.boolean().optional(),selectedParam:l.ZP.string().optional(),sleepValue:l.ZP.number().optional()});l.ZP.object({id:l.ZP.string(),password:l.ZP.union([l.ZP.string(),l.ZP.undefined()]),onlineMeetingUrl:l.ZP.string().nullable(),iCalUID:l.ZP.string().optional()}).passthrough();let V=l.ZP.object({proPaidForByTeamId:l.ZP.number().optional(),stripeCustomerId:l.ZP.string().optional(),vitalSettings:U.optional(),isPremium:l.ZP.boolean().optional(),sessionTimeout:l.ZP.number().optional(),defaultConferencingApp:l.ZP.object({appSlug:l.ZP.string().default("google-meet").optional(),appLink:l.ZP.string().optional()}).optional(),defaultBookerLayouts:_.optional(),dismisCalendarNoti:l.ZP.boolean().optional()}).nullable(),G=l.ZP.object({requestedSlug:l.ZP.string(),paymentId:l.ZP.string(),subscriptionId:l.ZP.string().nullable(),subscriptionItemId:l.ZP.string().nullable(),isOrganization:l.ZP.boolean().nullable(),isOrganizationVerified:l.ZP.boolean().nullable(),orgAutoAcceptEmail:l.ZP.string().nullable()}).partial().nullable(),F=l.ZP.object({videoCallUrl:l.ZP.string().optional()}).and(l.ZP.record(l.ZP.string())).nullable(),Y=l.ZP.array(l.ZP.object({label:l.ZP.string(),type:l.ZP.string()})),B=l.ZP.object({id:l.ZP.number(),eventTypeId:l.ZP.number(),label:l.ZP.string(),type:l.ZP.nativeEnum(z.fF),options:Y.optional().nullable(),required:l.ZP.boolean(),placeholder:l.ZP.string(),hasToBeCreated:l.ZP.boolean().optional()}),W=l.ZP.object({id:l.ZP.string(),room_name:l.ZP.string(),start_ts:l.ZP.number(),status:l.ZP.string(),max_participants:l.ZP.number(),duration:l.ZP.number(),share_token:l.ZP.string()}),q=l.ZP.array(W);l.ZP.union([l.ZP.object({total_count:l.ZP.number(),data:q}),l.ZP.object({})]),l.ZP.union([l.ZP.literal(""),l.ZP.string()]).optional();let H=l.ZP.object({emailOwnerOnSubmission:l.ZP.boolean()}).nullable();l.ZP.object({brand:l.ZP.string().default("#5434D4"),textBrand:l.ZP.string().default("#ffffff"),darkBrand:l.ZP.string().default("#fafafa"),textDarkBrand:l.ZP.string().default("#5434D4"),bookingHighlight:l.ZP.string().default("#10B981"),bookingLightest:l.ZP.string().default("#E1E1E1"),bookingLighter:l.ZP.string().default("#ACACAC"),bookingLight:l.ZP.string().default("#888888"),bookingMedian:l.ZP.string().default("#494949"),bookingDark:l.ZP.string().default("#313131"),bookingDarker:l.ZP.string().default("#5434D4"),fontName:l.ZP.string().default("Cal Sans"),fontSrc:l.ZP.string().default("https://workramen.com/cal.ttf")}).optional();let X=e=>Object.entries(e);l.ZP.object({download_link:l.ZP.string().url()}),l.ZP.object({recordingId:l.ZP.string(),bookingUID:l.ZP.string()}),l.ZP.object({download_link:l.ZP.string()});let K={...N()({title:!0,description:!0,currency:!0,periodDays:!0,position:!0,price:!0,slug:!0,length:!0,offsetStart:!0,locations:!0,hidden:!0,availability:!0,recurringEvent:!0,customInputs:!0,disableGuests:!0,requiresConfirmation:!0,eventName:!0,metadata:!0,children:!0,hideCalendarNotes:!0,minimumBookingNotice:!0,beforeEventBuffer:!0,afterEventBuffer:!0,successRedirectUrl:!0,seatsPerTimeSlot:!0,seatsShowAttendees:!0,periodType:!0,hashedLink:!0,webhooks:!0,periodStartDate:!0,periodEndDate:!0,destinationCalendar:!0,periodCountCalendarDays:!0,bookingLimits:!0,slotInterval:!0,scheduleId:!0,workflows:!0,bookingFields:!0,durationLimits:!0},["locations","scheduleId","destinationCalendar"])};
1l.ZP.object({email:l.ZP.string().email(),code:l.ZP.string()})},17349:function(e,n,t){t.d(n,{h:function(){return o}});var r=t(52322),i=t(89097);function o(e){let{children:n,combined:t=!1,containerProps:o}=e;return(0,r.jsx)("div",{...o,className:(0,i.Z)("flex",t?"ltr:[&>*:first-child]:ml-0 ltr:[&>*:first-child]:rounded-l-md ltr:[&>*:first-child]:border-l rtl:[&>*:first-child]:rounded-r-md rtl:[&>*:first-child]:border-r ltr:[&>*:last-child]:rounded-r-md rtl:[&>*:last-child]:rounded-l-md [&>a]:-ml-[1px] hover:[&>a]:z-[1] [&>button]:-ml-[1px] hover:[&>button]:z-[1] [&_a]:rounded-none [&_button]:rounded-none":"space-x-2 rtl:space-x-reverse",null==o?void 0:o.className),children:n})}t(2784)},72809:function(e,n,t){t.d(n,{O:function(){return a}});var r=t(52322),i=t(89097);t(2784);var o=t(40876);function a(e){let{Icon:n,avatar:t,headline:a,description:l,buttonText:s,buttonOnClick:c,buttonRaw:u,border:d=!0,dashedBorder:m=!0,className:p}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{"data-testid":"empty-screen",className:(0,i.Z)("select-none flex flex-col items-center justify-center rounded-lg p-7 lg:p-20",d&&"border-subtle border",m&&"border-dashed"),children:[n?(0,r.jsx)("div",{className:"bg-emphasis flex h-[72px] w-[72px] items-center justify-center rounded-full",children:(0,r.jsx)(n,{className:"text-default h-10 w-10"})}):null,(0,r.jsxs)("div",{className:"flex max-w-[420px] flex-col items-center justify-center",children:[(0,r.jsx)("h2",{className:"text-semibold font-cal text-emphasis mt-6 text-center text-xl",children:a}),(0,r.jsx)("div",{className:"text-default mb-8 mt-3 text-center text-sm font-normal leading-6",children:l}),c&&s&&(0,r.jsx)(o.z,{onClick:e=>c(e),children:s}),u]})]})})}},742:function(e,n,t){t.d(n,{Z:function(){return p}});var r=t(52322),i=t(2784),o=t(89097),a=t(47982),l=t(39097),s=t.n(l),c=t(5632),u=t(37950),d=t(51392),m=function(e){let{name:n,href:t,linkProps:i,avatar:l,...m}=e,{t:p,isLocaleReady:g}=(0,a.b)(),{asPath:f}=(0,c.useRouter)(),P=f.includes(t);return(0,r.jsxs)(s(),{href:t,...i,className:(0,o.Z)(P?"font-bold border-b-2 text-[#5434D4] border-[#5434D4]":"font-bold text-[#717D96] hover:text-sm hover:border-black ","inline-flex items-center justify-center whitespace-nowrap text-sm font-medium leading-4 md:mb-0",m.disabled&&"pointer-events-none !opacity-30",m.className),"aria-current":P?"page":void 0,children:[m.icon&&(0,r.jsx)(m.icon,{className:(0,o.Z)(P?"text-emphasis":"text-muted","-ml-0.5 hidden h-4 w-4 ltr:mr-2 rtl:ml-2 sm:inline-block"),"aria-hidden":"true"}),g?(0,r.jsxs)("div",{className:"flex items-center gap-x-2",children:[l&&(0,r.jsx)(u.q,{size:"sm",imageSrc:l,alt:"avatar"})," ",p(n)]}):(0,r.jsx)(d.N2,{className:"h-4 w-24"})]},n)},p=function(e){let{tabs:n,linkProps:t,actions:o,...a}=e;return(0,r.jsxs)("div",{className:"mb-4 h-9 max-w-[calc(100%+50px)] lg:mb-5",children:[(0,r.jsx)("nav",{className:"no-scrollbar flex max-h-9 space-x-6 overflow-scroll","aria-label":"Tabs",...a,children:n.map((e,n)=>(0,i.createElement)(m,{className:"py-2.5 ",...e,key:n,...t}))}),o&&o]})}},98529:function(e,n,t){var r=t(52322),i=t(76844),o=t(13844),a=t(25364);let l=e=>{let{attendees:n,userTimezone:t,timeFormat:l,startTime:c,endTime:u}=e;if(!t||!n.length)return null;let d=n.map(e=>e.timeZone),m=[t,...d].filter((e,n,t)=>t.indexOf(e)===n),p=m.map(e=>{let n=(0,i.lx)(c,t,e),r=(0,i.dk)(c,t,e);return{startTime:(0,i.mr)(c,l,e),endTime:(0,i.mr)(u,l,e),timezone:e,isPreviousDay:n,isNextDay:r}}).sort((e,n)=>(0,i.X4)(e.timezone,n.timezone));return 1===p.length?null:(0,r.jsxs)(o.fC,{children:[(0,r.jsx)(o.xz,{onClick:s,className:"popover-button text-emphasis hover:bg-emphasis focus:bg-emphasis invisible ml-2 inline-flex h-5 w-5 items-center justify-center rounded-sm transition-colors group-hover:visible",children:(0,r.jsx)(a.Z,{className:"h-3.5 w-3.5"})}),(0,r.jsx)(o.h_,{children:(0,r.jsx)(o.VY,{onClick:s,side:"top",className:"popover-content slideInBottom border-5 bg-brand-default text-inverted border-subtle rounded-md p-3 text-sm shadow-sm",children:p.map(e=>(0,r.jsxs)("span",{className:"mt-2 block first:mt-0",children:[(0,r.jsxs)("span",{className:"inline-flex align-baseline",children:[e.startTime," - ",e.endTime,(e.isNextDay||e.isPreviousDay)&&(0,r.jsx)("span",{className:"text-medium ml-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-gray-700 text-[10px]",children:e.isNextDay?"+1":"-1"})]}),(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:"text-muted",children:e.timezone})]},e.timezone))})})]})};l.displayName="MeetingTimeInTimezones";let s=e=>{e.stopPropagation()};n.Z=l},77576:function(e,n,t){t.d(n,{p:function(){return d}});var r=t(52322);t(2784);var i=t(40876),o=t(34994),a=t(28670),l=t(36139),s=t(17349);let c=e=>{e.stopPropagation()},u=e=>{let{actions:n,actionTrigger:t}=e;return(0,r.jsxs)(o.Lt,{children:[t?(0,r.jsx)(o.$F,{asChild:!0,children:t}):(0,r.jsx)(o.$F,{asChild:!0,children:(0,r.jsx)(i.z,{type:"button",color:"secondary",variant:"icon",StartIcon:a.Z})}),(0,r.jsx)(o.cq,{children:(0,r.jsx)(o.AW,{children:n.map(e=>(0,r.jsx)(o.Xi,{children:(0,r.jsx)(o.hP,{type:"button",color:e.color,"data-testid":e.id,StartIcon:e.icon,href:e.href,onClick:e.onClick||c,children:e.label})},e.id))})})]})},d=e=>{let{actions:n}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"flex space-x-2 justify-center items-center rtl:space-x-reverse",children:(0,r.jsx)(s.h,{combined:!0,children:n.map(e=>{let n=(0,r.jsx)(i.z,{className:"whitespace-nowrap font-bold text-[#2D3648] bg-default border hover:bg-sky-100 rounded-md","data-testid":e.id,href:e.href,onClick:e.onClick||c,StartIcon:e.icon,...(null==e?void 0:e.actions)?{EndIcon:l.Z}:null,disabled:e.disabled,color:e.color||"secondary",children:e.label},e.id);return e.actions?(0,r.jsx)(u,{actions:e.actions,actionTrigger:n},e.id):n})})})})}}}]); 2//# sourceMappingURL=3990-a998843c405fea5b.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.