CPCandidateSchedulingUtils",["$InternalEnum","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingModalV3.entrypoint","CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react","CandidatePortalDateTimeUtils","RelayHooks","useMCDSEntryPointModal"],(function(a,b,c,d,e,f,g){"use strict";f=b("$InternalEnum").Mirrored(["CAPREligible","ACAEligible","ACANotEligible","ACADontDisplay","ACANotEligibleAndOnsite"]);function a(a,b,e,f,g){var h=d("RelayHooks").useRelayEnvironment(),i=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),j=i[0];i=i[1];e=c("useMCDSEntryPointModal")(c("CandidatePortalChatbotSchedulingModalV3.entrypoint"),{loopID:a,considerationID:b},{isRescheduling:e.isReschedulingFlow,onClose:function(){d("RelayHooks").fetchQuery(h,d("CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery").refreshQuery,{considerationID:b}).subscribe({start:function(){return g(!0)},complete:function(){return g(!1)}})}},{fallback:c("CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react")});var k=e.modal,l=e.showModal;e=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var m=e.state.timezoneIDFilter;e=function(){f(),j({onCompleted:l,variables:{input:{loop_id:a,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(m),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})};return{cdsModal:k,fetchAvailabilitiesAndShowModal:e,scheduleJobInProgress:i}}function e(a){if(!a)return null;var b=new Map(),c=new Map();a.forEach(function(a){a=(a=a.loop_line_request)==null||(a=a.structured_role)==null?void 0:a.candidate_facing_name;if(a!=null){b.set(a,((a=b.get(a))!=null?a:0)+1)}});return a.map(function(a){var d,e;d=(d=a.loop_line_request)==null||(d=d.structured_role)==null?void 0:d.candidate_facing_name;var f=a.loop_line_request;if(d==null||((e=b.get(d))!=null?e:0)<=1||f==null)return a;e=((e=c.get(d))!=null?e:0)+1;c.set(d,e);d=d+" "+e;e=f.structured_role;return e==null?a:babelHelpers["extends"]({},a,{loop_line_request:babelHelpers["extends"]({},f,{structured_role:babelHelpers["extends"]({},e,{candidate_facing_name:d})})})})}g.RescheduleEligibility=f;g.useCandidateSchedulingModal=a;g.renameDuplicateInterviewRoleNames=e}),98);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery",["CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h!==void 0?h:h=b("CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery.graphql");g.refreshQuery=a}),98);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery_candidate_portalRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24849563361370475"}),null);
-----