OCDevManageEventNotificationConflicts.react",["fbt","GeoFlexbox.react","GeoTable.react","GeoTableContentCell.react","GeoTableWidth","GeoText.react","OCDevManageEventNotificationConflictsQuery.graphql","createGeoTableDataSource","react","useOCDevUIQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=e!==void 0?e:e=n("OCDevManageEventNotificationConflictsQuery.graphql");function m(e){var t,n=e.currentEventID,a=e.eventStartTime,i=r("useOCDevUIQuery")(d,{event_start_time:a}),l=(t=i.xfb_horizon_events_potential_notification_conflicts)==null?void 0:t.nodes,u=(l!=null?l:[]).filter(function(e){return e!=null&&e.id!==n});function m(e){return e!=null?new Date(e*1e3).toLocaleDateString():"-"}var p=[{cell:function(t){var e,n=t.item;return c.jsx(r("GeoTableContentCell.react"),{title:(e=n.id)!=null?e:"Unknown"})},header:s._(/*BTDS*/"Event ID"),key:"eventID",width:o("GeoTableWidth").proportional(1)},{cell:function(t){var e,n=t.item;return c.jsx(r("GeoTableContentCell.react"),{title:(e=n.name)!=null?e:"Unnamed Event"})},header:s._(/*BTDS*/"Name"),key:"name",width:o("GeoTableWidth").proportional(2)},{cell:function(t){var e=t.item;return c.jsx(r("GeoTableContentCell.react"),{title:m(e.start_time)})},header:s._(/*BTDS*/"Start date"),key:"startDate",width:o("GeoTableWidth").proportional(1)}],_=r("createGeoTableDataSource")(u,{getStableUniqueID:function(t){return t.id}});return u.length===0?c.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"u2713 No other events with announcements enabled in the u00b12 week window.")}):c.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:8,children:[c.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"u26a0 Found {count} other event(s) with announcements enabled in the u00b12 week window:",[s._param("count",u.length)])}),c.jsx(r("GeoTable.react"),{columns:p,dataSource:_,label:s._(/*BTDS*/"Conflicting events")})]})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226);
-----
OCDevManageEventNotificationConflictsQuery.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"event_start_time"}],t=[{alias:null,args:[{kind:"Variable",name:"event_start_time",variableName:"event_start_time"},{kind:"Literal",name:"first",value:10}],concreteType:"XFBHorizonEventsPotentialNotificationConflictsConnection",kind:"LinkedField",name:"xfb_horizon_events_potential_notification_conflicts",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBHorizonEvent",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"OCDevManageEventNotificationConflictsQuery",selections:t,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"OCDevManageEventNotificationConflictsQuery",selections:t},params:{id:"33940937278824842",metadata:{},name:"OCDevManageEventNotificationConflictsQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----