1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5626183,e=>{"use strict";var t=e.i(9845110);e.s(["isSameYear",0,function(e,r,n){let[a,o]=(0,t.normalizeDates)(n?.in,e,r);return a.getFullYear()===o.getFullYear()}])},3550516,e=>{"use strict";var t=e.i(9845110),r=e.i(3585890);e.s(["isSameDay",0,function(e,n,a){let[o,i]=(0,t.normalizeDates)(a?.in,e,n);return+(0,r.startOfDay)(o)==+(0,r.startOfDay)(i)}])},4595727,e=>{"use strict";var t=e.i(7677241),r=e.i(281092);e.s(["addDays",0,function(e,n,a){let o=(0,r.toDate)(e,a?.in);return isNaN(n)?(0,t.constructFrom)(a?.in||e,NaN):(n&&o.setDate(o.getDate()+n),o)}])},6707935,e=>{"use strict";var t=e.i(6455024),r=e.i(281092);e.s(["endOfWeek",0,function(e,n){let a=(0,t.getDefaultOptions)(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e,n?.in),s=i.getDay();return i.setDate(i.getDate()+((s<o?-7:0)+6-(s-o))),i.setHours(23,59,59,999),i}])},9534164,e=>{"use strict";var t=e.i(7843476),r=e.i(5271645),n=e.i(6409797),a=e.i(412012),a=a,o=e.i(6233565),i=e.i(7054131),s=e.i(8697791),d=e.i(8152236),l=e.i(9466691);let c={root:"rdp",months:"rdp-months",month:"rdp-month",nav:"rdp-nav",button_previous:"rdp-button_previous",button_next:"rdp-button_next",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",month_caption:"rdp-month_caption",caption:"rdp-caption",caption_label:"rdp-caption_label",dropdowns:"rdp-dropdowns",caption_dropdowns:"rdp-caption_dropdowns",dropdown_root:"rdp-dropdown_root",dropdown:"rdp-dropdown",months_dropdown:"rdp-months_dropdown",dropdown_month:"rdp-dropdown_month",years_dropdown:"rdp-years_dropdown",dropdown_year:"rdp-dropdown_year",month_grid:"rdp-month_grid",table:"rdp-table",weekdays:"rdp-weekdays",head_row:"rdp-head_row",weekday:"rdp-weekday",head_cell:"rdp-head_cell",week:"rdp-week",row:"rdp-row",week_number:"rdp-week_number",weeknumber:"rdp-weeknumber",day:"rdp-day",range_start:"rdp-range_start",day_range_start:"rdp-day_range_start",range_middle:"rdp-range_middle",day_range_middle:"rdp-day_range_middle",range_end:"rdp-range_end",day_range_end:"rdp-day_range_end",today:"rdp-today",day_today:"rdp-day_today",outside:"rdp-outside",day_outside:"rdp-day_outside",disabled:"rdp-disabled",day_disabled:"rdp-day_disabled",hidden:"rdp-hidden",day_hidden:"rdp-day_hidden"};function u({className:e,day:n,modifiers:a,...o}){let i=r.useRef(null);return r.useEffect(()=>{a.focused&&i.current?.focus()},[a.focused]),(0,t.jsx)("button",{ref:i,type:"button","data-day":n.isoDate??`${n.date.getFullYear()}-${String(n.date.getMonth()+1).padStart(2,"0")}-${String(n.date.getDate()).padStart(2,"0")}`,"data-selected-single":!!a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:(0,d.cn)((0,l.buttonVariants)({variant:"ghost",size:"icon"}),"data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",c.day,e),...o})}let p={left:a.default,right:o.ChevronRightIcon,up:i.ChevronUpIcon,down:n.ChevronDownIcon};function f({className:e,orientation:r="down",size:a=16,disabled:o}){let i=p[r]??n.ChevronDownIcon;return(0,t.jsx)(i,{"aria-hidden":!0,size:a,className:(0,d.cn)("size-4 text-muted-foreground",o&&"opacity-50",e)})}e.s(["Calendar",0,function({className:e,classNames:r,showOutsideDays:n=!0,captionLayout:a="label",buttonVariant:o="ghost",formatters:i,components:p,...m}){let g=r??{},h=(e,...t)=>(0,d.cn)(...t,c[e],g[e]),y=[(0,l.buttonVariants)({variant:o}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none"],v="relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",x={...g,root:h("root","w-fit"),months:h("months","flex gap-4 flex-col md:flex-row relative"),month:h("month","flex flex-col w-full gap-4"),nav:h("nav","flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between"),button_previous:h("button_previous",...y),nav_button_previous:h("nav_button_previous",...y),button_next:h("button_next",...y),nav_button_next:h("nav_button_next",...y),month_caption:h("month_caption","flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)"),caption:h("caption","flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)"),dropdowns:h("dropdowns","w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5"),caption_dropdowns:h("caption_dropdowns","w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5"),months_dropdown:h("months_dropdown",v),dropdown_month:h("dropdown_month",v),years_dropdown:h("years_dropdown",v),dropdown_year:h("dropdown_year",v),dropdown_root:h("dropdown_root","relative"),dropdown:h("dropdown","absolute bg-popover inset-0 opacity-0"),caption_label:h("caption_label","select-none font-medium","label"===a?"text-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5"),month_grid:h("month_grid","w-full border-collapse"),table:h("table","w-full border-collapse"),weekdays:h("weekdays","flex"),head_row:h("head_row","flex"),weekday:h("weekday","text-muted-foreground rounded-md flex-1 font-normal text-xs select-none"),head_cell:h("head_cell","text-muted-foreground rounded-md flex-1 font-normal text-xs select-none"),week:h("week","flex w-full mt-2"),row:h("row","flex w-full mt-2"),week_number:h("week_number","text-xs select-none text-muted-foreground"),weeknumber:h("weeknumber","text-xs select-none text-muted-foreground"),day:h("day","relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/d
1ay aspect-square select-none","[&>span]:text-xs [&>span]:opacity-70","data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground","data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground","data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground","data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground","group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50","dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none","group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px]","data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md","data-[range-middle=true]:rounded-none","data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md"),range_start:h("range_start","rounded-l-md bg-accent"),day_range_start:h("day_range_start","rounded-l-md bg-accent"),range_middle:h("range_middle","rounded-none"),day_range_middle:h("day_range_middle","rounded-none"),range_end:h("range_end","rounded-r-md bg-accent"),day_range_end:h("day_range_end","rounded-r-md bg-accent"),today:h("today","bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none"),day_today:h("day_today","bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none"),outside:h("outside","text-muted-foreground aria-selected:text-muted-foreground"),day_outside:h("day_outside","text-muted-foreground aria-selected:text-muted-foreground"),disabled:h("disabled","text-muted-foreground opacity-50"),day_disabled:h("day_disabled","text-muted-foreground opacity-50"),hidden:h("hidden","invisible"),day_hidden:h("day_hidden","invisible")},w={...i};return i?.formatMonthCaption||(w.formatMonthCaption=e=>e.toLocaleString("en-GB",{month:"short"})),(0,t.jsx)(s.DayPicker,{showOutsideDays:n,className:(0,d.cn)("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:a,formatters:w,classNames:x,components:{DayButton:u,Chevron:f,...p},...m})},"CalendarDayButton",0,u],9534164)},7996781,e=>{"use strict";let t=(0,e.i(6475254).default)("repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);e.s(["Repeat",0,t],7996781)},8153270,e=>{"use strict";var t=e.i(7843476),r=e.i(5271645),n=e.i(6278716),a=e.i(8152236);e.s(["ProviderMark",0,function({provider:e,size:o=16,label:i,className:s}){let d=(0,r.useId)(),l={...i?{role:"img","aria-label":i}:{"aria-hidden":!0},width:o,height:o,className:(0,a.cn)("inline-block size-auto shrink-0 align-middle",s),style:{width:o,height:o}};return"zoom"===e?(0,t.jsxs)("svg",{...l,viewBox:"0 0 24 24",children:[(0,t.jsx)("rect",{width:"24",height:"24",rx:"5.5",fill:"#0B5CFF"}),(0,t.jsx)("rect",{x:"4.2",y:"7.6",width:"11.2",height:"8.8",rx:"1.9",fill:"#fff"}),(0,t.jsx)("path",{fill:"#fff",d:"M16 10.4c0-.3.15-.58.4-.75l2.2-1.5c.48-.33 1.1.01 1.1.6v6.5c0 .59-.62.93-1.1.6l-2.2-1.5c-.25-.17-.4-.45-.4-.75z"})]}):"google"===e?(0,t.jsxs)("svg",{...l,viewBox:"0 0 87.5 72",children:[(0,t.jsx)("path",{fill:"#00832d",d:"M49.5 36l8.53 9.75 11.47 7.33 2-17.02-2-16.64-11.69 6.44z"}),(0,t.jsx)("path",{fill:"#0066da",d:"M0 51.5V66c0 3.315 2.685 6 6 6h14.5l3-10.96-3-9.54-9.95-3z"}),(0,t.jsx)("path",{fill:"#e94235",d:"M20.5 0L0 20.5l10.55 3 9.95-3 2.95-9.41z"}),(0,t.jsx)("path",{fill:"#2684fc",d:"M20.5 20.5H0v31h20.5z"}),(0,t.jsx)("path",{fill:"#00ac47",d:"M82.6 8.68L69.5 19.42v33.66l13.16 10.79c1.97 1.54 4.85.135 4.85-2.37V11c0-2.535-2.945-3.925-4.91-2.32zM49.5 36v15.5h-29V72h43c3.315 0 6-2.685 6-6V53.08z"}),(0,t.jsx)("path",{fill:"#ffba00",d:"M63.5 0h-43v20.5h29V36l20-16.57V6c0-3.315-2.685-6-6-6z"})]}):"teams"===e?(0,t.jsxs)("svg",{...l,viewBox:"4 4 36 38",children:[(0,t.jsx)("path",{fill:`url(#${d}-a)`,d:"M21.9999 20h12c3.3137 0 6 2.6863 6 6v10c0 3.3137-2.6863 6-6 6s-6-2.6863-6-6V26c0-3.3137-2.6863-6-6-6"}),(0,t.jsx)("path",{fill:`url(#${d}-b)`,d:"M7.99988 24c0-3.3137 2.68632-6 6.00002-6h8c3.3137 0 6 2.6863 6 6v12c0 3.3137 2.6863 6 6 6l-16.0001-.0001c-5.5228 0-9.99992-4.4771-9.99992-10z"}),(0,t.jsx)("path",{fill:`url(#${d}-c)`,fillOpacity:".7",d:"M7.99988 24c0-3.3137 2.68632-6 6.00002-6h8c3.3137 0 6 2.6863 6 6v12c0 3.3137 2.6863 6 6 6l-16.0001-.0001c-5.5228 0-9.99992-4.4771-9.99992-10z"}),(0,t.jsx)("path",{fill:`url(#${d}-d)`,fillOpacity:".7",d:"M7.99988 24c0-3.3137 2.68632-6 6.00002-6h8c3.3137 0 6 2.6863 6 6v12c0 3.3137 2.6863 6 6 6l-16.0001-.0001c-5.5228 0-9.99992-4.4771-9.99992-10z"}),(0,t.jsx)("path",{fill:`url(#${d}-e)`,d:"M32.9999 18c2.7614 0 5-2.2386 5-5s-2.2386-5-5-5-5 2.2386-5 5 2.2386 5 5 5"}),(0,t.jsx)("path",{fill:`url(#${d}-f)`,fillOpacity:".46",d:"M32.9999 18c2.7614 0 5-2.2386 5-5s-2.2386-5-5-5-5 2.2386-5 5 2.2386 5 5 5"}),(0,t.jsx)("path",{fill:`url(#${d}-g)`,fillOpacity:".4",d:"M32.9999 18c2.7614 0 5-2.2386 5-5s-2.2386-5-5-5-5 2.2386-5 5 2.2386 5 5 5"}),(0,t.jsx)("path",{fill:`url(#${d}-h)`,d:"M17.9999 16c3.3137 0 6-2.6863 6-6 0-3.31371-2.6863-6-6-6s-6 2.68629-6 6c0 3.3137 2.6863 6 6 6"}),(0,t.jsx)("path",{fill:`url(#${d}-i)`,fillOpacity:".6",d:"M17.9999 16c3.3137 0 6-2.6863 6-6 0-3.31371-2.6863-6-6-6s-6 2.68629-6 6c0 3.3137 2.6863 6 6 6"}),(0,t.jsx)("path",{fill:`url(#${d}-j)`,fillOpacity:".5",d:"M17.9999 16c3.3137 0 6-2.6863 6-6 0-3.31371-2.6863-6-6-6s-6 2.68629-6 6c0 3.3137 2.6863 6 6 6"}),(0,t.jsx)("rect",{width:"16",height:"16",x:"4",y:"23",fill:`url(#${d}-k)`,rx:"3.25"}),(0,t.jsx)("rect",{width:"16",height:"16",x:"4",y:"23",fill:`url(#${d}-l)`,fillOpacity:".7",rx:"3.25"}),(0,t.jsx)("path",{fill:"#fff",d:"M15.4792 28.1054h-2.4471v7.466h-2.0648v-7.466H8.52014v-1.6768h6.95906z"}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("radialGradient",{id:`${d}-a`,cx:"0",cy:"0",r:"1",gradientTransform:"matrix(13.4784 0 0 33.2694 39.7967 22.1739)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#a98aff"}),(0,t.jsx)("stop",{offset:".14",stopColor:"#8c75ff"}),(0,t.jsx)("stop",{offset:".565",stopColor:"#5f50e2"}),(0,t.jsx)("stop",{offset:".9",stopColor:"#3c2cb8"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-b`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(68.1539 -7.71566095 14.71355834)scale(32.752 33.1231)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#85c2ff"}),(0,t.jsx)("stop",{offset:".69",stopColor:"#7588ff"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#6459fe"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-d`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(113.326 8.09285255 17.64474501)scale(19.2186 15.4273)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#bd96ff"}),(0,t.jsx)("stop",{offset:".686685",stopColor:"#bd96ff",stopOpacity:"0"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-e`,cx:"0",cy:"0",r:"1",gradientTransform:"matrix(0 -10 12.6216 0 32.9999 11.5
1714)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".268201",stopColor:"#6868f7"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#3923b1"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-f`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(40.0516 -.03068196 44.8729095)scale(7.14629 10.3363)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".270711",stopColor:"#a1d3ff"}),(0,t.jsx)("stop",{offset:".813393",stopColor:"#a1d3ff",stopOpacity:"0"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-g`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(-41.6581 32.11799918 -43.41948423)scale(8.51275 20.8824)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#e3acfd"}),(0,t.jsx)("stop",{offset:".816041",stopColor:"#9fa2ff",stopOpacity:"0"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-h`,cx:"0",cy:"0",r:"1",gradientTransform:"matrix(0 -12 15.146 0 17.9999 8.28571)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".268201",stopColor:"#8282ff"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#3923b1"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-i`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(40.0516 -3.15465147 21.41641466)scale(8.57554 12.4035)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".270711",stopColor:"#a1d3ff"}),(0,t.jsx)("stop",{offset:".813393",stopColor:"#a1d3ff",stopOpacity:"0"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-j`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(-41.6581 20.38180375 -26.51566158)scale(10.2153 25.0589)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#e3acfd"}),(0,t.jsx)("stop",{offset:".816041",stopColor:"#9fa2ff",stopOpacity:"0"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-k`,cx:"0",cy:"0",r:"1",gradientTransform:"rotate(45 -25.76345597 16.32842712)scale(22.6274)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".046875",stopColor:"#688eff"}),(0,t.jsx)("stop",{offset:".946875",stopColor:"#230f94"})]}),(0,t.jsxs)("radialGradient",{id:`${d}-l`,cx:"0",cy:"0",r:"1",gradientTransform:"matrix(0 11.2 -13.0702 0 12 32.6)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".570647",stopColor:"#6965f6",stopOpacity:"0"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#8f8fff"})]}),(0,t.jsxs)("linearGradient",{id:`${d}-c`,x1:"20.5936",x2:"20.5936",y1:"18",y2:"42",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".801159",stopColor:"#6864f6",stopOpacity:"0"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#5149de"})]})]})]}):"gcal"===e?(0,t.jsx)("svg",{...l,viewBox:"0 0 200 200",children:(0,t.jsx)("g",{children:(0,t.jsxs)("g",{transform:"translate(3.75 3.75)",children:[(0,t.jsx)("path",{fill:"#FFFFFF",d:"M148.882,43.618l-47.368-5.263l-57.895,5.263L38.355,96.25l5.263,52.632l52.632,6.579l52.632-6.579 l5.263-53.947L148.882,43.618z"}),(0,t.jsx)("path",{fill:"#1A73E8",d:"M65.211,125.276c-3.934-2.658-6.658-6.539-8.145-11.671l9.132-3.763c0.829,3.158,2.276,5.605,4.342,7.342 c2.053,1.737,4.553,2.592,7.474,2.592c2.987,0,5.553-0.908,7.697-2.724s3.224-4.132,3.224-6.934c0-2.868-1.132-5.211-3.395-7.026 s-5.105-2.724-8.5-2.724h-5.276v-9.039H76.5c2.921,0,5.382-0.789,7.382-2.368c2-1.579,3-3.737,3-6.487 c0-2.447-0.895-4.395-2.684-5.855s-4.053-2.197-6.803-2.197c-2.684,0-4.816,0.711-6.395,2.145s-2.724,3.197-3.447,5.276 l-9.039-3.763c1.197-3.395,3.395-6.395,6.618-8.987c3.224-2.592,7.342-3.895,12.342-3.895c3.697,0,7.026,0.711,9.974,2.145 c2.947,1.434,5.263,3.421,6.934,5.947c1.671,2.539,2.5,5.382,2.5,8.539c0,3.224-0.776,5.947-2.329,8.184 c-1.553,2.237-3.461,3.947-5.724,5.145v0.539c2.987,1.25,5.421,3.158,7.342,5.724c1.908,2.566,2.868,5.632,2.868,9.211 s-0.908,6.776-2.724,9.579c-1.816,2.803-4.329,5.013-7.513,6.618c-3.197,1.605-6.789,2.421-10.776,2.421 C73.408,129.263,69.145,127.934,65.211,125.276z"}),(0,t.jsx)("path",{fill:"#1A73E8",d:"M121.25,79.961l-9.974,7.25l-5.013-7.605l17.987-12.974h6.895v61.197h-9.895L121.25,79.961z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M148.882,196.25l47.368-47.368l-23.684-10.526l-23.684,10.526l-10.526,23.684L148.882,196.25z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M33.092,172.566l10.526,23.684h105.263v-47.368H43.618L33.092,172.566z"}),(0,t.jsx)("path",{fill:"#4285F4",d:"M12.039-3.75C3.316-3.75-3.75,3.316-3.75,12.039v136.842l23.684,10.526l23.684-10.526V43.618h105.263 l10.526-23.684L148.882-3.75H12.039z"}),(0,t.jsx)("path",{fill:"#188038",d:"M-3.75,148.882v31.579c0,8.724,7.066,15.789,15.789,15.789h31.579v-47.368H-3.75z"}),(0,t.jsx)("path",{fill:"#FBBC04",d:"M148.882,43.618v105.263h47.368V43.618l-23.684-10.526L148.882,43.618z"}),(0,t.jsx)("path",{fill:"#1967D2",d:"M196.25,43.618V12.039c0-8.724-7.066-15.789-15.789-15.789h-31.579v47.368H196.25z"})]})})}):(0,t.jsx)(n.Video,{...l})}])},9612563,e=>{"use strict";
1class t extends Error{status;authUrl;constructor(e,t,r){super(e),this.status=t,this.authUrl=r}}e.s(["CalendarAccountError",0,t,"meetingError",0,function(e,r){return new t(401===e?"Connect your account to make this video call.":403===e?"This account cannot make a video call here. Check your subscription or paste a meeting link.":"The video call could not be made. Please try again or paste a meeting link.",e,"string"==typeof r?.authUrl?r.authUrl:void 0)}])},2616084,e=>{"use strict";var t=e.i(7804965),r=e.i(7089749),n=e.i(9612563);async function a(e,a){try{let o=await fetch("/api/meetings/create",{method:"POST",headers:(0,t.csrfHeaders)({"Content-Type":"application/json"}),credentials:"include",keepalive:!0,body:JSON.stringify({platform:e,title:a.title||"Meeting",description:(0,r.coerceDescriptionToPlainText)(a)??void 0,start:a.start.toISOString(),end:a.end.toISOString()})}),i=await o.json().catch(()=>({}));if(o.ok&&"string"==typeof i?.meetingLink&&i.meetingLink)return{link:i.meetingLink};let s=(0,n.meetingError)(o.status,i);return{error:s.message,status:s.status,authUrl:s.authUrl}}catch{return{error:"The video call provider could not be reached. Please try again."}}}e.s(["callPlatform",0,function(e){return"google-meet"===e||"google"===e?"google_meet":e},"createCallLink",0,a,"editorProviderFor",0,function(e){return"google-meet"===e?"google":e},"editorProviderForPlatform",0,function(e,t){let r=(e??"").toLowerCase();if(r.includes("google"))return"google";if("zoom"===r)return"zoom";if(r.includes("teams"))return"teams";if(!t)return null;try{let e=new URL(t);if("https:"!==e.protocol)return null;if("zoom.us"===e.hostname||e.hostname.endsWith(".zoom.us"))return"zoom";if("meet.google.com"===e.hostname)return"google";if(["teams.microsoft.com","teams.live.com","teams.cloud.microsoft"].includes(e.hostname))return"teams"}catch{}return null},"preferredCallProvider",0,function(e){return"google"===e||"google_meet"===e?"google-meet":"google-meet"===e||"zoom"===e||"teams"===e?e:null}])},1648911,7138787,6712899,e=>{"use strict";var t=e.i(8051515),r=e.i(7804965),n=e.i(6401851),a=e.i(8988420),o=e.i(4101110),i=e.i(307075);function s(e){return e.seriesId?String(e.seriesId):(0,a.parseOccurrenceEventId)(e.id)?.seriesId??String(e.id)}function d(e){return e.seriesId&&e.occurrenceDate?e.occurrenceDate:(0,a.parseOccurrenceEventId)(e.id)?.occurrenceDate??null}function l(){try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;return(0,i.isValidTimeZone)(e)?e:null}catch{return null}}let c=e=>e instanceof Date?e:new Date(e??NaN),u=e=>(0,n.format)(e,"yyyy-MM-dd");e.s(["browserTimeZone",0,l,"eventApiId",0,s,"eventOccurrenceDate",0,d,"expandSeriesEvents",0,function(e,t,r={}){let n=void 0===r.viewerZone?l():r.viewerZone,s=[];for(let r of e){if(!(r.isRecurring&&r.recurrenceRule&&!r.seriesId&&!r.isTask)){s.push(r);continue}let e=c(r.startTime),d=c(r.endTime);if(Number.isNaN(e.getTime()))continue;let p=Math.max(0,(Number.isNaN(d.getTime())?e.getTime():d.getTime())-e.getTime()),f=new Set((r.recurrenceExceptionDates??[]).map(e=>new Date(e)).filter(e=>!Number.isNaN(e.getTime())).map(u)),m=(0,o.seriesOccurrencesBetween)({start:e,recurrenceRule:r.recurrenceRule??null,recurrenceExceptionDates:[],timeZone:function(e,t=l()){return!e.isAllDay&&(0,i.isValidTimeZone)(e.timeZone??null)?e.timeZone:t??"UTC"}(r,n)},new Date(t.start.getTime()-p),t.end),g=e.toISOString();for(let e of m){if(f.has(u(e)))continue;let t=e.toISOString();s.push({...r,id:(0,a.occurrenceEventId)(String(r.id),t),startTime:e,endTime:new Date(e.getTime()+p),seriesId:String(r.id),occurrenceDate:t,seriesStart:g})}}return s},"seriesMoveTimes",0,function(e){let t=e.start.getTime()-c(e.occurrenceStart).getTime(),r=Math.max(0,e.end.getTime()-e.start.getTime()),n=new Date(c(e.seriesStart).getTime()+t);return{start:n,end:new Date(n.getTime()+r)}}],7138787);let p=new Map,f=null;function m(e){if(Array.isArray(e))for(let t of e){if(t?.source!=="workspace")continue;let e="string"==typeof t.id?t.id:null,r="string"==typeof t.owner?.id?t.owner.id:null;e&&r&&p.set(e,r)}}async function g(){return f||(f=fetch("/api/calendars/shared",{credentials:"include"}).then(e=>e.ok?e.json():[]).then(m).catch(()=>void 0).finally(()=>{f=null})),f}async function h(e){if(!e)return null;if(e.workspaceId)return e.workspaceId;if("workspace"!==e.viewerAccess||!e.calendarId)return null;let t=String(e.calendarId);return p.has(t)||await g(),p.get(t)??null}async function y(e,n,a,o){let i=await fetch(e,{method:n,headers:(0,r.csrfHeaders)({"Content-Type":"application/json"}),credentials:"include",keepalive:!0,body:JSON.stringify(a??{})});if(!i.ok)throw Error(await (0,t.describeCalendarApiError)(i,o));return i.json().catch(()=>({}))}async function v(e,t){let r=await h(e),n=t?d(e):null,a=l();return y(`/api/events/${encodeURIComponent(s(e))}/duplicate`,"POST",{...r?{workspaceId:r}:{},...t?{start:t.start.toISOString(),end:t.end.toISOString()}:{},...n?{occurrenceDate:n}:{},...a?{timeZone:a}:{}},"Failed to duplicate event")}e.s(["rememberWorkspaceCalendars",0,m,"workspaceIdForEvent",0,h],6712899),e.s(["duplicateCalendarEvent",0,v,"patchCalendarEvent",0,function(e,t){return y(`/api/events/${encodeURIComponent(e)}`,"PATCH",t,"Failed to update event")},"replyToCalendarEvent",0,function(e,t){return y(`/api/events/${encodeURIComponent(s(e))}/rsvp`,"POST",{status:t},"Failed to send your reply")}],1648911)},3509164,e=>{"use strict";var t=e.i(1137617),r=e.i(8988420);e.s(["calendarEventPermissions",0,function(e){if(!e)return{masked:!1,canEdit:!1,
1canReply:!1};let n=!0===e.privateMasked,a=(0,r.isPublicCalendarEventId)(String(e.id))||(0,t.isRegisteredEventId)(e.id)||"registered"===e.viewerAccess,o="invited"===e.viewerAccess,i=!n&&!a&&!e.isTask&&!o&&!1!==e.canEdit,s=o||void 0!==e.myResponse&&null!==e.myResponse,d=!n&&!a&&!e.isTask&&s;return{masked:n,canEdit:i,canReply:d}}])},9019185,e=>{"use strict";var t=e.i(1768834);let r=1,n=(0,t.create)((e,t)=>({request:null,hosts:0,ask:(n,a)=>0===t().hosts?Promise.resolve(null):(t().request?.resolve(null),new Promise(t=>{e({request:{id:r++,mode:n,title:a,resolve:t}})})),settle:r=>{let n=t().request;n&&(e({request:null}),n.resolve(r))},attachHost:()=>(e(e=>({hosts:e.hosts+1})),()=>{e(e=>({hosts:Math.max(0,e.hosts-1)})),0===t().hosts&&t().settle(null)})}));e.s(["askRecurrenceScope",0,function(e,t){return n.getState().ask(e,t)},"useRecurrenceScopePrompt",0,n])},2204121,e=>{"use strict";var t=e.i(5846696);e.s(["holdCalendarChange",0,function(e,r){let n=!1,a=()=>{clearTimeout(l),window.removeEventListener("pagehide",o),document.removeEventListener("visibilitychange",i)},o=()=>{if(!n){n=!0,a(),t.toast.dismiss(d);try{Promise.resolve(r.commit()).catch(e=>{r.undo(),r.onError?.(e)}).finally(r.onSettled)}catch(e){r.undo(),r.onError?.(e),r.onSettled?.()}}},i=()=>{"hidden"===document.visibilityState&&o()},s=()=>{n||(n=!0,a(),t.toast.dismiss(d),r.undo())},d=(0,t.toast)(e,{duration:6e3,action:{label:"Undo",onClick:s}}),l=setTimeout(o,6e3);return window.addEventListener("pagehide",o),document.addEventListener("visibilitychange",i),"hidden"===document.visibilityState&&o(),{commit:o,undo:s}}])},9162459,e=>{"use strict";var t=e.i(3531549),r=e.i(8691351),n=e.i(3849626),a=e.i(736622);e.s(["previewCalendarChange",0,function(e,o,i,s){e.cancelQueries({queryKey:t.calendarKeys.events()});let d=e.getQueriesData({queryKey:t.calendarKeys.events()}).filter(([e,r])=>(0,t.isEventCollectionQueryKey)(e)&&Array.isArray(r)),l=r.useCalendarStore.getState(),c=l.events.filter(o),u=(e,t=!0)=>[...e.flatMap(e=>{if(!o(e))return[e];let t=s?.(e);return t?[t]:[]}),...i&&t?[i]:[]];for(let[r,n]of d)e.setQueryData(r,u(n,!i||(0,t.shouldIncludeEventInQuery)(r,i)));r.useCalendarStore.setState({events:u(l.events),upcomingEvents:u(l.upcomingEvents)});let p=!1,f=()=>{if(!i||!(0,n.isTemporaryCalendarEventId)(i.id))return;let t={predicate:e=>"calendar"===e.queryKey[0]&&e.queryKey.includes(i.id)};e.cancelQueries(t),e.removeQueries(t)};return Object.assign(()=>{if(p)return;p=!0,i&&(0,n.isTemporaryCalendarEventId)(i.id)&&((0,a.reconcileCalendarEventPreview)(String(i.id)),f());let t=(e,t)=>[...e.filter(e=>!o(e)&&e.id!==i?.id),...t.filter(o)];for(let[r,n]of d)e.setQueryData(r,e=>t(e??[],n));r.useCalendarStore.setState(e=>({events:t(e.events,c),upcomingEvents:t(e.upcomingEvents,l.upcomingEvents)}))},{commit:t=>{if(!i||!(0,n.isTemporaryCalendarEventId)(i.id))return;(0,a.reconcileCalendarEventPreview)(String(i.id),t),f();let o=e=>e.filter(e=>e.id!==i.id);for(let[t]of d)e.setQueryData(t,e=>o(e??[]));r.useCalendarStore.setState(e=>({events:o(e.events),upcomingEvents:o(e.upcomingEvents)}))}})}])},8267883,e=>{"use strict";var t=e.i(7138787);e.s(["retainUnaffectedOccurrences",0,function(e,r){return n=>{if(!r||!e||"all"===e)return;let a=(0,t.eventOccurrenceDate)(n);if(a)return"single"===e?a!==r?n:void 0:new Date(a)<new Date(r)?n:void 0;if(!n.isRecurring||!n.recurrenceRule)return;if("single"===e)return{...n,recurrenceExceptionDates:[...n.recurrenceExceptionDates??[],r]};let o=new Date(new Date(r).getTime()-1e3).toISOString().replace(/[-:]/g,"").replace(/\.\d{3}Z$/,"Z"),i=n.recurrenceRule.replace(/^RRULE:/i,"").split(";").filter(e=>!/^(UNTIL|COUNT)=/i.test(e));return{...n,recurrenceRule:[...i,`UNTIL=${o}`].join(";")}}}])},317445,e=>{"use strict";var t=e.i(2204121),r=e.i(8267883),n=e.i(9162459),a=e.i(5271645),o=e.i(912598),i=e.i(5846696),s=e.i(1648911),d=e.i(9019185),l=e.i(7138787),c=e.i(6712899),u=e.i(7804965);async function p(e,t){let r=new URLSearchParams({workspaceId:t}),n=await fetch(`/api/inbox/channels?${r}`,{credentials:"include",cache:"no-store"});if(!n.ok)throw Error("Could not load workspace channels");let a=((await n.json()).channels??[]).map(e=>e.id);if(!a.length)return;let o=(0,u.csrfHeaders)({"Content-Type":"application/json"}),i=await fetch(`/api/inbox/channels/items?${r}`,{method:"POST",credentials:"include",headers:o,body:JSON.stringify({workspaceId:t,channelIds:a})});if(!i.ok)throw Error("Could not load workspace channel items");let{items:s={}}=await i.json();for(let n of a)if(s[n]?.calendarEventIds?.includes(e)&&!(await fetch(`/api/inbox/channels/${encodeURIComponent(n)}/items?${r}`,{method:"DELETE",credentials:"include",headers:o,body:JSON.stringify({kind:"calendar-event",id:e,workspaceId:t})})).ok)throw Error("Could not remove the event from its channel")}e.i(8124794);var f=e.i(3531549),m=e.i(1183264),g=e.i(3918186),h=e.i(8051515);let y={accepted:"You are going",declined:"You declined",tentative:"You replied maybe"};e.s(["useCalendarEventActions",0,function(){let e=(0,o.useQueryClient)(),u=(0,m.useDeleteEvent)(),v=(0,a.useCallback)(()=>e.invalidateQueries({queryKey:f.calendarKeys.events(),exact:!1}),[e]),x=(0,a.useCallback)(async(a,o)=>
1{if((0,g.isProjectCalendarEvent)(a)||String(a.id).startsWith("task-"))return(0,i.toast)("Project tasks and milestones are deleted in their project."),!1;let s=(0,l.eventOccurrenceDate)(a),f=null;if(s&&!(f=await (0,d.askRecurrenceScope)("delete",a.title)))return!1;try{let d=await (0,c.workspaceIdForEvent)(a),m=(0,l.eventApiId)(a),g=(0,n.previewCalendarChange)(e,e=>(0,l.eventApiId)(e)===m,void 0,(0,r.retainUnaffectedOccurrences)(f??void 0,s));return(0,t.holdCalendarChange)("Event deleted",{commit:async()=>{if(await u.mutateAsync({id:m,...f&&s?{scope:f,occurrenceDate:s}:{},workspaceId:d}),d&&(!f||"all"===f))try{await p(m,d)}catch{i.toast.error("Event deleted, but its channel list could not be updated. Refresh the channel to check it.")}await v(),o?.onCommitted?.()},undo:()=>{g(),o?.onUndo?.()},onError:e=>i.toast.error(e instanceof Error?e.message:"Failed to delete event")}),!0}catch(e){return i.toast.error(e instanceof Error&&e.message?e.message:"Failed to delete event"),!1}},[u,e,v]);return{removeEvent:x,duplicateEvent:(0,a.useCallback)(async(r,a,o)=>
1{if((0,g.isProjectCalendarEvent)(r)||String(r.id).startsWith("task-"))return(0,i.toast)("Project tasks and milestones cannot be duplicated."),!1;try{let d=`pending-copy:${crypto.randomUUID()}`,l={...r,id:d,seriesId:void 0,occurrenceDate:void 0,canEdit:!1,title:`${r.title} (copy)`,attendees:[],...a?{startTime:a.start,endTime:a.end}:{}},c=(0,n.previewCalendarChange)(e,e=>e.id===d,l);return(0,t.holdCalendarChange)(a?"Event copied":"Event duplicated",{commit:async()=>{let e=await (0,s.duplicateCalendarEvent)(r,a);c.commit((0,h.mapApiEventToCalendarEvent)(e)),await v(),o?.onCommitted?.()},undo:()=>{c(),o?.onUndo?.()},onError:e=>i.toast.error(e instanceof Error?e.message:"Failed to duplicate event")}),!0}catch(e){return i.toast.error(e instanceof Error&&e.message?e.message:"Failed to duplicate event"),!1}},[e,v]),replyToEvent:(0,a.useCallback)(async(e,t)=>{try{return await (0,s.replyToCalendarEvent)(e,t),await v(),i.toast.success(y[t]),!0}catch(e){return i.toast.error(e instanceof Error&&e.message?e.message:"Failed to send your reply"),!1}},[v])}}],317445)}
1,7172286,e=>{"use strict";var t=e.i(7138787);let r={event:"event",task:"task",reminder:"reminder","out-of-office":"out_of_office"};function n(e){let t=[],r=new Set;for(let n of e){let e=n.userId?.trim()||null,a=n.email?.trim()??"";if(!e&&!a)continue;let o=[e?`user:${e}`:"",a?`email:${a.toLowerCase()}`:""].filter(Boolean);o.some(e=>r.has(e))||(o.forEach(e=>r.add(e)),t.push({userId:e,email:a,name:n.name?.trim()||null}))}return t}function a(e){var t,n;let a=e.meetingLink.trim(),o=e.start.toISOString(),i=e.end.toISOString();return{title:e.title.trim(),description:e.description.trim(),start:o,end:i,startTime:o,endTime:i,allDay:e.allDay,isAllDay:e.allDay,location:e.location.trim(),meetingLink:a,isOnline:!!a,platform:a?e.platform:null,eventType:r[e.tab]??"event",timeZone:e.allDay?null:e.timeZone,showAs:e.showAs,visibility:e.visibility,reminderMinutes:(t=e.useDefaultReminders,n=e.reminderMinutes,t?[]:Array.from(new Set(n.filter(e=>Number.isInteger(e)&&e>=0))).sort((e,t)=>t-e)),useDefaultReminders:e.useDefaultReminders,...void 0!==e.category?{category:e.category}:{}}}e.s(["buildCreateEventBody",0,function(e){let t=n(e.guests),r=e.color?.trim();return{calendarId:e.calendarId,...e.workspaceId?{workspaceId:e.workspaceId}:{},...a(e),...r?{color:r}:{},isRecurring:!!e.recurrenceRule,...e.recurrenceRule?{recurrenceRule:e.recurrenceRule}:{},...t.length?{attendees:t}:{},...e.shareEnabled?{shareEnabled:!0}:{},...e.attachments?.length?{attachments:[...e.attachments]}:{}}},"buildTimeChangeBody",0,function(e,r={}){let{start:n,end:a}=e;return"all"===r.scope&&r.seriesStart&&r.occurrenceStart&&({start:n,end:a}=(0,t.seriesMoveTimes)({seriesStart:r.seriesStart,occurrenceStart:r.occurrenceStart,start:n,end:a})),{startTime:n.toISOString(),endTime:a.toISOString(),...r.scope&&r.occurrenceDate?{scope:r.scope,occurrenceDate:r.occurrenceDate}:{},..."single"===r.scope?{isRecurring:!1}:{},...r.timeZone?{timeZone:r.timeZone}:{},...r.workspaceId?{workspaceId:r.workspaceId}:{}}},"buildUpdateEventBody",0,function(e,r={}){let o=a(e);if("all"===r.scope&&r.seriesStart&&r.occurrenceStart){let n=(0,t.seriesMoveTimes)({seriesStart:r.seriesStart,occurrenceStart:r.occurrenceStart,start:e.start,end:e.end});o.start=o.startTime=n.start.toISOString(),o.end=o.endTime=n.end.toISOString()}let i="single"===r.scope;return{...e.workspaceId?{workspaceId:e.workspaceId,calendarId:e.calendarId}:{},...o,color:e.color?.trim()??"",..."boolean"==typeof e.shareEnabled?{shareEnabled:e.shareEnabled}:{},isRecurring:!i&&!!e.recurrenceRule,...i?{}:{recurrenceRule:e.recurrenceRule??""},attendees:n(e.guests),...r.scope&&r.occurrenceDate?{scope:r.scope,occurrenceDate:r.occurrenceDate}:{}}},"formTabForEventType",0,function(e){switch(e){case"task":return"task";case"reminder":return"reminder";case"out_of_office":case"out-of-office":return"out-of-office";default:return"event"}}])},5568065,e=>{"use strict";function t({events:e,candidateId:n,start:a,end:o,ignoreIds:i=[]}){if(!e||!e.length)return{severity:"none",conflicts:[]};let s=new Set([n,...i]),d=a.getTime(),l=o.getTime(),c=e.filter(e=>{var t,n,a;if(!e||"free"===e.showAs||"cancelled"===e.status)return!1;let o=e.id??"";if(s.has(o))return!1;let i=r(e.startTime),c=r(e.endTime??e.startTime);return!!i&&!!c&&(t=d,n=l,a=i.getTime(),t<c.getTime()&&a<n)});if(!c.length)return{severity:"none",conflicts:[]};let u=0,p=!1;for(let e of c){var f,m,g;let t=r(e.startTime),n=r(e.endTime??e.startTime);if(!t||!n)continue;let a=(f=d,m=l,g=t.getTime(),Math.max(0,Math.min(m,n.getTime())-Math.max(f,g)));if(a<=0)continue;let o="confirmed"===e.status||!e.status;if(e.isAllDay){p=!0;break}if(o&&(u+=a)>=18e5)break}return{severity:p||u>=18e5?"hard":"soft",conflicts:c}}function r(e){if(!e)return;if(e instanceof Date)return e;let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t}e.s(["detectConflicts",0,t,"findNextAvailableSlot",0,function({events:e,candidateId:r,start:n,end:a,stepMinutes:o=15,maxIterations:i=48,ignoreIds:s=[]}){if(!e||!e.length)return null;let d=a.getTime()-n.getTime(),l=6e4*Math.max(1,o),c=new Date(n),u=new Date(a);for(let n=0;n<i;n++){if("none"===t({events:e,candidateId:r,start:c,end:u,ignoreIds:s}).severity)return{start:new Date(c),end:new Date(u)};u=new Date((c=new Date(c.getTime()+l)).getTime()+d)}return null}])},1562987,e=>{"use strict";var t=e.i(2319789),r=e.i(7138787);e.s(["calendarViewEvents",0,function(e,n){if(e.events)return(0,r.expandSeriesEvents)(e.events,n);let a=(Array.isArray(e.apiEvents)?e.apiEvents:[]).map(e=>(0,t.normalizeApiEvent)(e)).filter(e=>!!e);return(0,r.expandSeriesEvents)(a,n)}])}]);
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.