VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /proc/self/root/opt/mattermost/client/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/mattermost/client/1380.741b21d2c1dcc60c7ece.js.map
{"version":3,"file":"1380.741b21d2c1dcc60c7ece.js","mappings":"uPAuBA,SAASA,EAA4BC,GAAuD,IAAtD,OAACC,EAAM,SAAEC,EAAQ,SAAEC,EAAQ,OAAEC,EAAM,QAAEC,GAAeL,EACtF,MAAM,cAACM,IAAiBC,EAAAA,EAAAA,WAClBC,EAAYF,EAAc,CAACG,GAAI,oDAAqDC,eAAgB,mBACpGC,EAASL,EAAc,CAACG,GAAI,gDAAiDC,eAAgB,mBAC7FE,EAAoBN,EAAc,CAACG,GAAI,uDAAwDC,eAAgB,iBAE/GG,GAAcC,EAAAA,EAAAA,IAA4BZ,GAC1Ca,GAAsBC,EAAAA,EAAAA,IAAeH,GAErCI,GAAgBC,EAAAA,EAAAA,cAAaC,IAC/Bd,EAAQe,gBAAgBnB,EAAQG,GAAQiB,EAAAA,EAAAA,IAAUF,EAASG,WAC3DnB,GAAU,GACX,CAACE,EAASD,EAAQH,EAAQE,IAE7B,OACIoB,IAAAA,cAACC,EAAAA,EAAmB,CAChBrB,SAAUA,EACVK,UAAWA,EACXG,OAAQA,EACRc,YAAaV,EACbW,UAAWT,EACXL,kBAAmBA,GAG/B,CAACb,EAAA4B,UAAA,CA/BGxB,SAAQyB,IAAAA,KAAAC,WACRzB,OAAMwB,IAAAA,OAAAC,WACNxB,QAAOuB,IAAAA,MAAA,CACHR,gBAAeQ,IAAAA,KAAAC,aAAAA,YA8BvB,S","sources":["webpack://mattermost-webapp/./src/components/post_reminder_custom_time_picker_modal/post_reminder_custom_time_picker_modal.tsx"],"sourcesContent":["// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {Moment} from 'moment-timezone';\nimport React, {useCallback} from 'react';\nimport {useIntl} from 'react-intl';\n\nimport {getRoundedTime} from 'components/custom_status/date_time_input';\nimport DateTimePickerModal from 'components/date_time_picker_modal/date_time_picker_modal';\n\nimport {toUTCUnix} from 'utils/datetime';\nimport {getCurrentMomentForTimezone} from 'utils/timezone';\n\nimport type {PropsFromRedux} from './index';\n\ntype Props = PropsFromRedux & {\n    onExited: () => void;\n    postId: string;\n    actions: {\n        addPostReminder: (postId: string, userId: string, timestamp: number) => void;\n    };\n};\n\nfunction PostReminderCustomTimePicker({userId, timezone, onExited, postId, actions}: Props) {\n    const {formatMessage} = useIntl();\n    const ariaLabel = formatMessage({id: 'post_reminder_custom_time_picker_modal.defaultMsg', defaultMessage: 'Set a reminder'});\n    const header = formatMessage({id: 'post_reminder.custom_time_picker_modal.header', defaultMessage: 'Set a reminder'});\n    const confirmButtonText = formatMessage({id: 'post_reminder.custom_time_picker_modal.submit_button', defaultMessage: 'Set reminder'});\n\n    const currentTime = getCurrentMomentForTimezone(timezone);\n    const initialReminderTime = getRoundedTime(currentTime);\n\n    const handleConfirm = useCallback((dateTime: Moment) => {\n        actions.addPostReminder(userId, postId, toUTCUnix(dateTime.toDate()));\n        onExited();\n    }, [actions, postId, userId, onExited]);\n\n    return (\n        <DateTimePickerModal\n            onExited={onExited}\n            ariaLabel={ariaLabel}\n            header={header}\n            initialTime={initialReminderTime}\n            onConfirm={handleConfirm}\n            confirmButtonText={confirmButtonText}\n        />\n    );\n}\n\nexport default PostReminderCustomTimePicker;\n"],"names":["PostReminderCustomTimePicker","_ref","userId","timezone","onExited","postId","actions","formatMessage","useIntl","ariaLabel","id","defaultMessage","header","confirmButtonText","currentTime","getCurrentMomentForTimezone","initialReminderTime","getRoundedTime","handleConfirm","useCallback","dateTime","addPostReminder","toUTCUnix","toDate","React","DateTimePickerModal","initialTime","onConfirm","propTypes","_pt","isRequired"],"sourceRoot":""}

VaKeR 2022