@copart/ops-tool-kit 1.10.0-alpha.27 → 1.10.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ops-tool-kit.js +338 -285
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
|
33
33
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$f = "@copart/ops-tool-kit";
|
|
36
|
-
const version$5 = "1.10.0-alpha.
|
|
36
|
+
const version$5 = "1.10.0-alpha.29";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -11126,6 +11126,12 @@ var dateDiffInDays = function dateDiffInDays(date1, date2) {
|
|
|
11126
11126
|
var millisecondsPerDay = 24 * 60 * 60 * 1000;
|
|
11127
11127
|
return Math.floor(diffInMilliseconds / millisecondsPerDay);
|
|
11128
11128
|
};
|
|
11129
|
+
var isChrome = function isChrome() {
|
|
11130
|
+
var userAgent = window.navigator.userAgent;
|
|
11131
|
+
var isChromium = userAgent.indexOf('Chrome/') > -1;
|
|
11132
|
+
var isEdge = userAgent.indexOf('Edg/') > -1;
|
|
11133
|
+
return isChromium && !isEdge;
|
|
11134
|
+
};
|
|
11129
11135
|
|
|
11130
11136
|
var css_248z$m = ".utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--ConfigFetcher {\r\n}\r\n\r\n.utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--spinner {\r\n margin: 80px 0 40px;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--spinner * {\r\n width: 60px;\r\n height: 60px;\r\n}\r\n";
|
|
11131
11137
|
styleInject(css_248z$m);
|
|
@@ -26739,7 +26745,7 @@ var unEscapeChars = function unEscapeChars(str) {
|
|
|
26739
26745
|
}) : null;
|
|
26740
26746
|
};
|
|
26741
26747
|
|
|
26742
|
-
var css_248z$g = ".utilities_ops-app-frame_Help_Help--backdrop {\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 64px;\r\n width: 100vw;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--miHelpSideBar {\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 64px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n color: #323130;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--title {\r\n font-weight: 600;\r\n font-size: 28px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header {\r\n margin-bottom: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close i,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close i {\r\n font-size: 14px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeader {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle {\r\n font-weight: 600;\r\n font-size: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle .utilities_ops-app-frame_Help_Help--back {\r\n color: #1d5ab9;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link {\r\n font-weight: 400;\r\n font-size: 14px;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -5px;\r\n left: 3px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper {\r\n margin-top: 20px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3 i {\r\n color: #1d5ab9;\r\n font-size: 10px;\r\n position: relative;\r\n top: -8px;\r\n cursor: pointer;\r\n left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul {\r\n list-style: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li {\r\n font-weight: 400;\r\n font-size: 14px;\r\n margin: 6px 0;\r\n display: flex;\r\n cursor: pointer;\r\n width: -webkit-fit-content;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n align-items: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li:hover,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li img,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li img {\r\n width: 17px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper .utilities_ops-app-frame_Help_Help--viewMore {\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n font-weight: 400;\r\n font-size: 14px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper {\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper span {\r\n position: absolute;\r\n width: 29px;\r\n height: 29px;\r\n background: #f3f2f1;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n bottom: 1.5px;\r\n right: 2px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--mihelpSearch {\r\n width: 100%;\r\n margin-top: 15px;\r\n padding: 0px 10px;\r\n height: 32px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 8px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult {\r\n width: 100%;\r\n margin-top: 20px;\r\n border-bottom: 1px solid #dcdcdc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult p {\r\n margin-top: 13px;\r\n margin-bottom: 30px;\r\n text-overflow: ellipsis;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper {\r\n position: absolute;\r\n background: rgba(0, 0, 0, 0.5);\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper svg {\r\n position: absolute;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--overFlowHidden {\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--nonInteractive {\r\n opacity: 0.3;\r\n pointer-events: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitlewrapper {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeswrapper {\r\n color: #cbcbcb;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like {\r\n margin-left: 10px;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like i {\r\n font-size: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle img {\r\n width: 18px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span {\r\n font-weight: 600;\r\n font-size: 18px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper {\r\n width: 100%;\r\n margin-top: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper h3 {\r\n font-weight: 300;\r\n font-size: 34px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--faqsList {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category h3 {\r\n color: #1d5ab9;\r\n font-weight: 600;\r\n font-size: 24px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian {\r\n border-top: 1px solid #dcdcdc;\r\n padding-top: 13px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question {\r\n font-weight: 400;\r\n font-size: 20px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question span {\r\n transition: all 0.2s ease-out;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--answer {\r\n font-weight: 400;\r\n font-size: 14px;\r\n height: auto;\r\n max-height: 0;\r\n transition: max-height 0.2s ease-out;\r\n overflow: hidden;\r\n margin-top: 13px;\r\n white-space: normal;\r\n}\r\n\r\n/* .accordian .answer span {\r\n white-space: break-spaces;\r\n } */\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote .utilities_ops-app-frame_Help_Help--releaseNoteContent {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle .utilities_ops-app-frame_Help_Help--helpArticleWrapper {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--articleFooter {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-top: 30px;\r\n padding-bottom: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--likeTxt {\r\n font-weight: 600;\r\n font-size: 14px;\r\n margin-right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--thanksText {\r\n color: rgb(45, 206, 137);\r\n font-weight: bold;\r\n font-size: 16px;\r\n margin-left: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper textarea {\r\n width: 300px;\r\n height: 100px;\r\n resize: none;\r\n display: block;\r\n margin-bottom: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper h5 {\r\n font-size: 18px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper span {\r\n background-color: rgb(29, 90, 185);\r\n color: #fff;\r\n padding: 6px 12px;\r\n cursor: pointer;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n color: #2dce89;\r\n margin-right: 6px;\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg {\r\n border: 1px solid #2dce89 !important;\r\n padding: 5px;\r\n height: 30px;\r\n width: 30px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover {\r\n background-color: #2dce89;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg path,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover path {\r\n fill: #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike {\r\n color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike svg {\r\n border: 1px solid #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--dislike svg:hover {\r\n background-color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper {\r\n font-style: italic;\r\n /* font-weight: 700; */\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper b {\r\n font-weight: 700;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper span {\r\n font-weight: 400;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper {\r\n width: 100%;\r\n border-top: 1px solid #edebe9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper {\r\n width: 100%;\r\n border: 1px solid #dcdcdc;\r\n padding: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin-top: 50px;\r\n position: relative;\r\n text-align: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper.utilities_ops-app-frame_Help_Help--noFlex {\r\n display: block;\r\n text-align: left;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h2 {\r\n font-size: 34px !important;\r\n margin-bottom: 6px !important;\r\n margin-top: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p {\r\n font-size: 14px !important;\r\n margin-bottom: 3px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p img {\r\n position: relative;\r\n top: 2px;\r\n margin-left: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn {\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n padding: 6px 12px;\r\n font-weight: 600;\r\n font-size: 12px;\r\n cursor: pointer;\r\n margin-top: 7px;\r\n border-radius: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn.utilities_ops-app-frame_Help_Help--disable {\r\n pointer-events: none;\r\n cursor: default;\r\n background-color: #ccc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: absolute;\r\n top: 0px;\r\n right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h3 {\r\n font-weight: 800 !important;\r\n font-size: 20px !important;\r\n line-height: 27px !important;\r\n color: #1d5ab9 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper label,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper label {\r\n font-weight: 600;\r\n font-size: 14px;\r\n color: #000100;\r\n margin: 10px 0;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper textarea {\r\n resize: none;\r\n height: 125px;\r\n margin-bottom: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--highlightRed {\r\n font-weight: 600;\r\n color: #f5365c;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--successMsg {\r\n color: #1d5ab9;\r\n font-size: 20px !important;\r\n margin-top: 12px;\r\n margin-bottom: 20px !important;\r\n font-weight: 600;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent {\r\n max-width: 700px;\r\n min-width: 600px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n background: #edebe9;\r\n padding: 10px 20px;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogBody {\r\n padding: 20px 20px 30px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader h3 {\r\n font-weight: 600;\r\n font-size: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span {\r\n font-weight: 600;\r\n font-size: 14px;\r\n -webkit-text-decoration-line: underline;\r\n text-decoration-line: underline;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -6px;\r\n right: -1px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive {\r\n padding: 22px;\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n font-size: 32px !important;\r\n width: 100% !important;\r\n border-radius: 10px;\r\n align-items: center !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive:hover{\r\n color: #fff !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive img {\r\n width: 65px !important;\r\n margin-right: 25px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--releaseTitle {\r\n flex: 1;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--checkNow {\r\n font-weight: 700;\r\n font-size: 14px;\r\n align-self: end;\r\n}\r\n";
|
|
26748
|
+
var css_248z$g = ".utilities_ops-app-frame_Help_Help--backdrop {\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 64px;\r\n width: 100vw;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--miHelpSideBar {\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 64px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n color: #323130;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--title {\r\n font-weight: 600;\r\n font-size: 28px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header {\r\n margin-bottom: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close i,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close i {\r\n font-size: 14px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeader {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle {\r\n font-weight: 600;\r\n font-size: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle .utilities_ops-app-frame_Help_Help--back {\r\n color: #1d5ab9;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link {\r\n font-weight: 400;\r\n font-size: 14px;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -5px;\r\n left: 3px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper {\r\n margin-top: 20px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3 i {\r\n color: #1d5ab9;\r\n font-size: 10px;\r\n position: relative;\r\n top: -8px;\r\n cursor: pointer;\r\n left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul {\r\n list-style: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li {\r\n font-weight: 400;\r\n font-size: 14px;\r\n margin: 6px 0;\r\n display: flex;\r\n cursor: pointer;\r\n width: -webkit-fit-content;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n align-items: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li:hover,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li img,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li img {\r\n width: 17px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper .utilities_ops-app-frame_Help_Help--viewMore {\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n font-weight: 400;\r\n font-size: 14px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper {\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper span {\r\n position: absolute;\r\n width: 29px;\r\n height: 29px;\r\n background: #f3f2f1;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n bottom: 1.5px;\r\n right: 2px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--mihelpSearch {\r\n width: 100%;\r\n margin-top: 15px;\r\n padding: 0px 10px;\r\n height: 32px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 8px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult {\r\n width: 100%;\r\n margin-top: 20px;\r\n border-bottom: 1px solid #dcdcdc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult p {\r\n margin-top: 13px;\r\n margin-bottom: 30px;\r\n text-overflow: ellipsis;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper {\r\n position: absolute;\r\n background: rgba(0, 0, 0, 0.5);\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper svg {\r\n position: absolute;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--overFlowHidden {\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--nonInteractive {\r\n opacity: 0.3;\r\n pointer-events: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitlewrapper {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeswrapper {\r\n color: #cbcbcb;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like {\r\n margin-left: 10px;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like i {\r\n font-size: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle img {\r\n width: 18px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span {\r\n font-weight: 600;\r\n font-size: 18px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper {\r\n width: 100%;\r\n margin-top: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper h3 {\r\n font-weight: 300;\r\n font-size: 34px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--faqsList {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category h3 {\r\n color: #1d5ab9;\r\n font-weight: 600;\r\n font-size: 24px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian {\r\n border-top: 1px solid #dcdcdc;\r\n padding-top: 13px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question {\r\n font-weight: 400;\r\n font-size: 20px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question span {\r\n transition: all 0.2s ease-out;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--answer {\r\n font-weight: 400;\r\n font-size: 14px;\r\n height: auto;\r\n max-height: 0;\r\n transition: max-height 0.2s ease-out;\r\n overflow: hidden;\r\n margin-top: 13px;\r\n white-space: normal;\r\n}\r\n\r\n/* .accordian .answer span {\r\n white-space: break-spaces;\r\n } */\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote .utilities_ops-app-frame_Help_Help--releaseNoteContent {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle .utilities_ops-app-frame_Help_Help--helpArticleWrapper {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--articleFooter {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-top: 30px;\r\n padding-bottom: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--likeTxt {\r\n font-weight: 600;\r\n font-size: 14px;\r\n margin-right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--thanksText {\r\n color: rgb(45, 206, 137);\r\n font-weight: bold;\r\n font-size: 16px;\r\n margin-left: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper textarea {\r\n width: 300px;\r\n height: 100px;\r\n resize: none;\r\n display: block;\r\n margin-bottom: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper h5 {\r\n font-size: 18px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper span {\r\n background-color: rgb(29, 90, 185);\r\n color: #fff;\r\n padding: 6px 12px;\r\n cursor: pointer;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n color: #2dce89;\r\n margin-right: 6px;\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg {\r\n border: 1px solid #2dce89 !important;\r\n padding: 5px;\r\n height: 30px;\r\n width: 30px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover {\r\n background-color: #2dce89;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg path,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover path {\r\n fill: #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike {\r\n color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike svg {\r\n border: 1px solid #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--dislike svg:hover {\r\n background-color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper {\r\n font-style: italic;\r\n /* font-weight: 700; */\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper b {\r\n font-weight: 700;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper span {\r\n font-weight: 400;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper {\r\n width: 100%;\r\n border-top: 1px solid #edebe9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper {\r\n width: 100%;\r\n border: 1px solid #dcdcdc;\r\n padding: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin-top: 50px;\r\n position: relative;\r\n text-align: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper.utilities_ops-app-frame_Help_Help--noFlex {\r\n display: block;\r\n text-align: left;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h2 {\r\n font-size: 34px !important;\r\n margin-bottom: 6px !important;\r\n margin-top: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p {\r\n font-size: 14px !important;\r\n margin-bottom: 3px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p img {\r\n position: relative;\r\n top: 2px;\r\n margin-left: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn {\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n padding: 6px 12px;\r\n font-weight: 600;\r\n font-size: 12px;\r\n cursor: pointer;\r\n margin-top: 7px;\r\n border-radius: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn.utilities_ops-app-frame_Help_Help--disable {\r\n pointer-events: none;\r\n cursor: default;\r\n background-color: #ccc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: absolute;\r\n top: 0px;\r\n right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h3 {\r\n font-weight: 800 !important;\r\n font-size: 20px !important;\r\n line-height: 27px !important;\r\n color: #1d5ab9 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper label,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper label {\r\n font-weight: 600;\r\n font-size: 14px;\r\n color: #000100;\r\n margin: 10px 0;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper textarea {\r\n resize: none;\r\n height: 125px;\r\n margin-bottom: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--highlightRed {\r\n font-weight: 600;\r\n color: #f5365c;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--successMsg {\r\n color: #1d5ab9;\r\n font-size: 20px !important;\r\n margin-top: 12px;\r\n margin-bottom: 20px !important;\r\n font-weight: 600;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent {\r\n max-width: 700px;\r\n min-width: 600px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n background: #edebe9;\r\n padding: 10px 20px;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogBody {\r\n padding: 20px 20px 30px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader h3 {\r\n font-weight: 600;\r\n font-size: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span {\r\n font-weight: 600;\r\n font-size: 14px;\r\n -webkit-text-decoration-line: underline;\r\n text-decoration-line: underline;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -6px;\r\n right: -1px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive {\r\n padding: 22px;\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n font-size: 32px !important;\r\n width: 100% !important;\r\n border-radius: 10px;\r\n align-items: center !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive:hover{\r\n color: #fff !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive img {\r\n width: 65px !important;\r\n margin-right: 25px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--releaseTitle {\r\n flex: 1;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--checkNow {\r\n font-weight: 700;\r\n font-size: 14px;\r\n align-self: end;\r\n}\r\n";
|
|
26743
26749
|
styleInject(css_248z$g);
|
|
26744
26750
|
|
|
26745
26751
|
var _styleModuleImportMap$6 = {
|
|
@@ -27522,35 +27528,62 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
27522
27528
|
|
|
27523
27529
|
var _useState21 = React.useState(false),
|
|
27524
27530
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
27525
|
-
|
|
27526
|
-
|
|
27531
|
+
overFlowHidden = _useState22[0],
|
|
27532
|
+
setOverFlowHidden = _useState22[1];
|
|
27527
27533
|
|
|
27528
27534
|
var _useState23 = React.useState(false),
|
|
27529
27535
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
27530
|
-
|
|
27531
|
-
|
|
27536
|
+
showSuccessSection = _useState24[0],
|
|
27537
|
+
setShowSuccessSection = _useState24[1];
|
|
27532
27538
|
|
|
27533
|
-
var _useState25 = React.useState(
|
|
27539
|
+
var _useState25 = React.useState(false),
|
|
27534
27540
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
27535
|
-
|
|
27536
|
-
|
|
27541
|
+
backClicked = _useState26[0],
|
|
27542
|
+
setBackClicked = _useState26[1];
|
|
27537
27543
|
|
|
27538
27544
|
var _useState27 = React.useState(null),
|
|
27539
27545
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
27540
|
-
|
|
27541
|
-
|
|
27546
|
+
faqs = _useState28[0],
|
|
27547
|
+
setFaqs = _useState28[1];
|
|
27548
|
+
|
|
27549
|
+
var _useState29 = React.useState(null),
|
|
27550
|
+
_useState30 = _slicedToArray(_useState29, 2),
|
|
27551
|
+
selectedFaq = _useState30[0],
|
|
27552
|
+
setSelectedFaq = _useState30[1];
|
|
27542
27553
|
|
|
27543
27554
|
var spinnerRef = React.useRef();
|
|
27544
27555
|
var questionSectionRef = React.useRef();
|
|
27556
|
+
var isScrolling = null;
|
|
27557
|
+
|
|
27558
|
+
var handleScroll = function handleScroll() {
|
|
27559
|
+
clearTimeout(isScrolling);
|
|
27560
|
+
isScrolling = setTimeout(function () {
|
|
27561
|
+
isScrolling = null;
|
|
27562
|
+
mihelpRef.current.removeEventListener('scroll', handleScroll);
|
|
27563
|
+
setOverFlowHidden(true);
|
|
27564
|
+
}, 66);
|
|
27565
|
+
};
|
|
27566
|
+
|
|
27545
27567
|
React.useEffect(function () {
|
|
27546
27568
|
if (!showQuestionSection) {
|
|
27547
27569
|
setShowSuccessSection(false);
|
|
27570
|
+
setOverFlowHidden(false);
|
|
27548
27571
|
} else {
|
|
27549
27572
|
var offsetTop = questionSectionRef.current.offsetTop;
|
|
27573
|
+
|
|
27574
|
+
if (isChrome()) {
|
|
27575
|
+
mihelpRef.current.addEventListener('scroll', handleScroll);
|
|
27576
|
+
}
|
|
27577
|
+
|
|
27550
27578
|
mihelpRef.current.scroll({
|
|
27551
27579
|
top: offsetTop - 50,
|
|
27552
27580
|
behavior: 'smooth'
|
|
27553
27581
|
});
|
|
27582
|
+
|
|
27583
|
+
if (isChrome() && Math.abs(mihelpRef.current.scrollHeight - mihelpRef.current.scrollTop - mihelpRef.current.clientHeight) <= 10) {
|
|
27584
|
+
mihelpRef.current.removeEventListener('scroll', handleScroll);
|
|
27585
|
+
setOverFlowHidden(true);
|
|
27586
|
+
}
|
|
27554
27587
|
}
|
|
27555
27588
|
}, [showQuestionSection]);
|
|
27556
27589
|
React.useEffect(function () {
|
|
@@ -28133,7 +28166,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
28133
28166
|
width: getNotificationWrapperWidth()
|
|
28134
28167
|
},
|
|
28135
28168
|
ref: mihelpRef,
|
|
28136
|
-
className: _getClassName("miHelpSideBar ".concat(!helpContent || showQuestionSection ? 'overFlowHidden' : ''), _styleModuleImportMap$3, {
|
|
28169
|
+
className: _getClassName("miHelpSideBar ".concat(!helpContent || isChrome() && overFlowHidden || !isChrome() && showQuestionSection ? 'overFlowHidden' : ''), _styleModuleImportMap$3, {
|
|
28137
28170
|
"handleMissingStyleName": "warn"
|
|
28138
28171
|
})
|
|
28139
28172
|
}, React__default["default"].createElement("div", {
|
|
@@ -37153,6 +37186,21 @@ var SanitizeNotificationContent = function SanitizeNotificationContent(str) {
|
|
|
37153
37186
|
var regex = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>|<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi;
|
|
37154
37187
|
return str.replace(regex, '');
|
|
37155
37188
|
};
|
|
37189
|
+
var throttle = function throttle(func, delay) {
|
|
37190
|
+
var lastExecution = 0;
|
|
37191
|
+
return function () {
|
|
37192
|
+
var now = Date.now();
|
|
37193
|
+
|
|
37194
|
+
if (now - lastExecution >= delay) {
|
|
37195
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
37196
|
+
args[_key] = arguments[_key];
|
|
37197
|
+
}
|
|
37198
|
+
|
|
37199
|
+
func.apply(this, args);
|
|
37200
|
+
lastExecution = now;
|
|
37201
|
+
}
|
|
37202
|
+
};
|
|
37203
|
+
};
|
|
37156
37204
|
|
|
37157
37205
|
var useWindowSize = function useWindowSize() {
|
|
37158
37206
|
var isClient = (typeof window === "undefined" ? "undefined" : _typeof(window)) === 'object';
|
|
@@ -41736,25 +41784,35 @@ var getFirebaseConfig = function getFirebaseConfig() {
|
|
|
41736
41784
|
// firebase.initializeApp(firebaseConfig)
|
|
41737
41785
|
// }
|
|
41738
41786
|
|
|
41739
|
-
function attachHandlers(firebase, updateNotifications, updateAllFirebaseNotificationsList) {
|
|
41787
|
+
function attachHandlers(firebase, updateNotifications, updateAllFirebaseNotificationsList, throttledFunction) {
|
|
41740
41788
|
var today = getTodayDate();
|
|
41741
41789
|
firebase.database().ref().child('ops-news').orderByChild('ends_at').startAt(today).on('value', function (snapshot) {
|
|
41742
|
-
compose(
|
|
41743
|
-
|
|
41744
|
-
|
|
41745
|
-
|
|
41790
|
+
// compose(
|
|
41791
|
+
// updateNotifications,
|
|
41792
|
+
// filterNotificationsFireBase,
|
|
41793
|
+
// mapNotifications,
|
|
41794
|
+
// values,
|
|
41795
|
+
// )(snapshot.val())
|
|
41796
|
+
// setTimeout(()=>{
|
|
41797
|
+
// compose(updateAllFirebaseNotificationsList,mapNotifications,values)(snapshot.val())
|
|
41798
|
+
// },500)
|
|
41799
|
+
throttledFunction(updateNotifications, snapshot);
|
|
41746
41800
|
});
|
|
41747
41801
|
}
|
|
41748
41802
|
|
|
41749
41803
|
var getFireBaseNotifications = function getFireBaseNotifications(updateNotifications, updateAllFirebaseNotificationsList) {
|
|
41750
|
-
var
|
|
41804
|
+
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 60;
|
|
41805
|
+
var firebaseConfig = getFirebaseConfig();
|
|
41806
|
+
var throttledFunction = throttle(function (updateNotifications, snapshot) {
|
|
41807
|
+
compose(updateNotifications, filterNotificationsFireBase, mapNotifications, values$1)(snapshot.val());
|
|
41808
|
+
}, delay * 1000); // connect(firebaseConfig)
|
|
41751
41809
|
|
|
41752
41810
|
var firebase;
|
|
41753
41811
|
Promise.resolve().then(function () { return index_esm$1; }).then(function (module) {
|
|
41754
41812
|
firebase = module.default;
|
|
41755
41813
|
Promise.resolve().then(function () { return index_esm; }).then(function (module) {
|
|
41756
41814
|
firebase.initializeApp(firebaseConfig);
|
|
41757
|
-
attachHandlers(firebase, updateNotifications, updateAllFirebaseNotificationsList);
|
|
41815
|
+
attachHandlers(firebase, updateNotifications, updateAllFirebaseNotificationsList, throttledFunction);
|
|
41758
41816
|
});
|
|
41759
41817
|
});
|
|
41760
41818
|
};
|
|
@@ -42187,14 +42245,17 @@ var AppBar = function AppBar(_ref) {
|
|
|
42187
42245
|
setFirebaseinitialized = _useState20[1];
|
|
42188
42246
|
|
|
42189
42247
|
var listOfAllNotificationsRef = React.useRef(listOfAllNotifications);
|
|
42248
|
+
var socketRetryCountRef = React.useRef(0);
|
|
42190
42249
|
React.useEffect(function () {
|
|
42191
42250
|
listOfAllNotificationsRef.current = listOfAllNotifications;
|
|
42192
42251
|
}, [listOfAllNotifications]);
|
|
42193
42252
|
|
|
42194
42253
|
var updateNotifications = function updateNotifications(newNotifications) {
|
|
42195
|
-
|
|
42196
|
-
|
|
42197
|
-
|
|
42254
|
+
if (newNotifications.length) {
|
|
42255
|
+
setNotifications(function (notifications) {
|
|
42256
|
+
return filterDuplicateAndSave(notifications, newNotifications);
|
|
42257
|
+
});
|
|
42258
|
+
}
|
|
42198
42259
|
};
|
|
42199
42260
|
|
|
42200
42261
|
var filterOut = function filterOut(notifications, notificationToRemove) {
|
|
@@ -42331,11 +42392,10 @@ var AppBar = function AppBar(_ref) {
|
|
|
42331
42392
|
};
|
|
42332
42393
|
|
|
42333
42394
|
var selectedYard = (_storage$getSessionIt = storage$1.getSessionItem('dashboard')) === null || _storage$getSessionIt === void 0 ? void 0 : _storage$getSessionIt.selectedYard;
|
|
42334
|
-
var socketRetryCount = 0;
|
|
42335
42395
|
|
|
42336
42396
|
var reConnectSocket = function reConnectSocket() {
|
|
42337
|
-
if (
|
|
42338
|
-
|
|
42397
|
+
if (socketRetryCountRef.current < 15) {
|
|
42398
|
+
socketRetryCountRef.current = socketRetryCountRef.current + 1;
|
|
42339
42399
|
socketClient && socketClient.close();
|
|
42340
42400
|
setSocketClient(startWebSocketConnection(updateNotifications, updateAllNotificationsList, reConnectSocket));
|
|
42341
42401
|
}
|
|
@@ -42344,7 +42404,7 @@ var AppBar = function AppBar(_ref) {
|
|
|
42344
42404
|
var handleVisibilityChange = function handleVisibilityChange() {
|
|
42345
42405
|
if (document.visibilityState === 'visible') {
|
|
42346
42406
|
if (socketClient && socketClient.readyState !== WebSocket.OPEN) {
|
|
42347
|
-
|
|
42407
|
+
socketRetryCountRef.current = 0;
|
|
42348
42408
|
reConnectSocket();
|
|
42349
42409
|
}
|
|
42350
42410
|
}
|
|
@@ -42383,7 +42443,8 @@ var AppBar = function AppBar(_ref) {
|
|
|
42383
42443
|
}
|
|
42384
42444
|
|
|
42385
42445
|
if (!firebaseInitialized && notificationsSource.includes('Firebase')) {
|
|
42386
|
-
|
|
42446
|
+
var delay = coreAppConfig.firebaseTimerInSec || 60;
|
|
42447
|
+
getFireBaseNotifications(updateNotifications, updateAllFirebaseNotificationsList, delay);
|
|
42387
42448
|
setFirebaseinitialized(true);
|
|
42388
42449
|
}
|
|
42389
42450
|
}
|
|
@@ -44696,8 +44757,8 @@ function b({
|
|
|
44696
44757
|
} = o;
|
|
44697
44758
|
if (document.getElementById(t)) return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);
|
|
44698
44759
|
const c = document.head || document.getElementsByTagName("head")[0],
|
|
44699
|
-
|
|
44700
|
-
|
|
44760
|
+
a = document.createElement("style");
|
|
44761
|
+
a.id = t, a.type = "text/css", "top" === i && c.firstChild ? c.insertBefore(a, c.firstChild) : c.appendChild(a), a.styleSheet ? a.styleSheet.cssText = e : a.appendChild(document.createTextNode(e)), w[r] = !0;
|
|
44701
44762
|
}
|
|
44702
44763
|
|
|
44703
44764
|
const E = (e, t, r) => {
|
|
@@ -44724,7 +44785,7 @@ const E = (e, t, r) => {
|
|
|
44724
44785
|
getTooltipData: () => g
|
|
44725
44786
|
});
|
|
44726
44787
|
|
|
44727
|
-
function
|
|
44788
|
+
function O(e = _) {
|
|
44728
44789
|
return React.useContext(A).getTooltipData(e);
|
|
44729
44790
|
}
|
|
44730
44791
|
|
|
@@ -44737,7 +44798,7 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44737
44798
|
return "auto" === r || "scroll" === r;
|
|
44738
44799
|
});
|
|
44739
44800
|
},
|
|
44740
|
-
|
|
44801
|
+
k = e => {
|
|
44741
44802
|
if (!e) return null;
|
|
44742
44803
|
let t = e.parentElement;
|
|
44743
44804
|
|
|
@@ -44748,7 +44809,7 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44748
44809
|
|
|
44749
44810
|
return document.scrollingElement || document.documentElement;
|
|
44750
44811
|
},
|
|
44751
|
-
|
|
44812
|
+
x = async ({
|
|
44752
44813
|
elementReference: e = null,
|
|
44753
44814
|
tooltipReference: t = null,
|
|
44754
44815
|
tooltipArrowReference: r = null,
|
|
@@ -44770,14 +44831,14 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44770
44831
|
tooltipArrowStyles: {},
|
|
44771
44832
|
place: o
|
|
44772
44833
|
};
|
|
44773
|
-
const
|
|
44774
|
-
return r ? (
|
|
44834
|
+
const a = i;
|
|
44835
|
+
return r ? (a.push(arrow({
|
|
44775
44836
|
element: r,
|
|
44776
44837
|
padding: 5
|
|
44777
44838
|
})), computePosition(e, t, {
|
|
44778
44839
|
placement: o,
|
|
44779
44840
|
strategy: l,
|
|
44780
|
-
middleware:
|
|
44841
|
+
middleware: a
|
|
44781
44842
|
}).then(({
|
|
44782
44843
|
x: e,
|
|
44783
44844
|
y: t,
|
|
@@ -44791,36 +44852,22 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44791
44852
|
border: c
|
|
44792
44853
|
},
|
|
44793
44854
|
{
|
|
44794
|
-
x:
|
|
44795
|
-
y:
|
|
44855
|
+
x: a,
|
|
44856
|
+
y: s
|
|
44796
44857
|
} = null !== (n = o.arrow) && void 0 !== n ? n : {
|
|
44797
44858
|
x: 0,
|
|
44798
44859
|
y: 0
|
|
44799
44860
|
},
|
|
44800
|
-
|
|
44861
|
+
u = null !== (l = {
|
|
44801
44862
|
top: "bottom",
|
|
44802
44863
|
right: "left",
|
|
44803
44864
|
bottom: "top",
|
|
44804
44865
|
left: "right"
|
|
44805
44866
|
}[r.split("-")[0]]) && void 0 !== l ? l : "bottom",
|
|
44806
|
-
|
|
44807
|
-
|
|
44808
|
-
|
|
44809
|
-
|
|
44810
|
-
},
|
|
44811
|
-
right: {
|
|
44812
|
-
borderBottom: c,
|
|
44813
|
-
borderLeft: c
|
|
44814
|
-
},
|
|
44815
|
-
bottom: {
|
|
44816
|
-
borderTop: c,
|
|
44817
|
-
borderLeft: c
|
|
44818
|
-
},
|
|
44819
|
-
left: {
|
|
44820
|
-
borderTop: c,
|
|
44821
|
-
borderRight: c
|
|
44822
|
-
}
|
|
44823
|
-
}[r.split("-")[0]];
|
|
44867
|
+
d = c && {
|
|
44868
|
+
borderBottom: c,
|
|
44869
|
+
borderRight: c
|
|
44870
|
+
};
|
|
44824
44871
|
let p = 0;
|
|
44825
44872
|
|
|
44826
44873
|
if (c) {
|
|
@@ -44831,19 +44878,19 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44831
44878
|
return {
|
|
44832
44879
|
tooltipStyles: i,
|
|
44833
44880
|
tooltipArrowStyles: {
|
|
44834
|
-
left: null !=
|
|
44835
|
-
top: null !=
|
|
44881
|
+
left: null != a ? `${a}px` : "",
|
|
44882
|
+
top: null != s ? `${s}px` : "",
|
|
44836
44883
|
right: "",
|
|
44837
44884
|
bottom: "",
|
|
44838
|
-
...
|
|
44839
|
-
[
|
|
44885
|
+
...d,
|
|
44886
|
+
[u]: `-${4 + p}px`
|
|
44840
44887
|
},
|
|
44841
44888
|
place: r
|
|
44842
44889
|
};
|
|
44843
44890
|
})) : computePosition(e, t, {
|
|
44844
44891
|
placement: "bottom",
|
|
44845
44892
|
strategy: l,
|
|
44846
|
-
middleware:
|
|
44893
|
+
middleware: a
|
|
44847
44894
|
}).then(({
|
|
44848
44895
|
x: e,
|
|
44849
44896
|
y: t,
|
|
@@ -44858,11 +44905,11 @@ const R = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect
|
|
|
44858
44905
|
}));
|
|
44859
44906
|
};
|
|
44860
44907
|
|
|
44861
|
-
var
|
|
44862
|
-
|
|
44908
|
+
var C = "core-styles-module_tooltip__3vRRp",
|
|
44909
|
+
$ = "core-styles-module_fixed__pcSol",
|
|
44863
44910
|
I = "core-styles-module_arrow__cvMwQ",
|
|
44864
|
-
|
|
44865
|
-
|
|
44911
|
+
j = "core-styles-module_noArrow__xock6",
|
|
44912
|
+
B = "core-styles-module_clickable__ZuTTB",
|
|
44866
44913
|
D = "core-styles-module_show__Nt9eE",
|
|
44867
44914
|
H = {
|
|
44868
44915
|
tooltip: "styles-module_tooltip__mnnfp",
|
|
@@ -44879,10 +44926,10 @@ const z = ({
|
|
|
44879
44926
|
id: t,
|
|
44880
44927
|
className: n,
|
|
44881
44928
|
classNameArrow: l,
|
|
44882
|
-
variant:
|
|
44883
|
-
anchorId:
|
|
44884
|
-
anchorSelect:
|
|
44885
|
-
place:
|
|
44929
|
+
variant: a = "dark",
|
|
44930
|
+
anchorId: s,
|
|
44931
|
+
anchorSelect: u,
|
|
44932
|
+
place: d = "top",
|
|
44886
44933
|
offset: p = 10,
|
|
44887
44934
|
events: v = ["hover"],
|
|
44888
44935
|
openOnClick: f = !1,
|
|
@@ -44894,7 +44941,7 @@ const z = ({
|
|
|
44894
44941
|
float: g = !1,
|
|
44895
44942
|
hidden: A = !1,
|
|
44896
44943
|
noArrow: T = !1,
|
|
44897
|
-
clickable:
|
|
44944
|
+
clickable: L = !1,
|
|
44898
44945
|
closeOnEsc: N = !1,
|
|
44899
44946
|
closeOnScroll: z = !1,
|
|
44900
44947
|
closeOnResize: q = !1,
|
|
@@ -44909,33 +44956,35 @@ const z = ({
|
|
|
44909
44956
|
activeAnchor: V,
|
|
44910
44957
|
setActiveAnchor: Z,
|
|
44911
44958
|
border: G,
|
|
44912
|
-
opacity: J
|
|
44959
|
+
opacity: J,
|
|
44960
|
+
arrowColor: Q
|
|
44913
44961
|
}) => {
|
|
44914
|
-
const
|
|
44915
|
-
ee = React.useRef(null),
|
|
44962
|
+
const ee = React.useRef(null),
|
|
44916
44963
|
te = React.useRef(null),
|
|
44917
44964
|
re = React.useRef(null),
|
|
44918
|
-
|
|
44919
|
-
[
|
|
44920
|
-
[
|
|
44921
|
-
[ae,
|
|
44922
|
-
[ue,
|
|
44923
|
-
ve = React.
|
|
44924
|
-
me = React.useRef(
|
|
44965
|
+
oe = React.useRef(null),
|
|
44966
|
+
[ne, le] = React.useState(d),
|
|
44967
|
+
[ie, ce] = React.useState({}),
|
|
44968
|
+
[ae, se] = React.useState({}),
|
|
44969
|
+
[ue, de] = React.useState(!1),
|
|
44970
|
+
[pe, ve] = React.useState(!1),
|
|
44971
|
+
me = React.useRef(!1),
|
|
44972
|
+
ye = React.useRef(null),
|
|
44925
44973
|
{
|
|
44926
|
-
anchorRefs:
|
|
44927
|
-
setActiveAnchor:
|
|
44928
|
-
} =
|
|
44929
|
-
|
|
44930
|
-
[
|
|
44931
|
-
|
|
44932
|
-
|
|
44933
|
-
|
|
44934
|
-
|
|
44974
|
+
anchorRefs: fe,
|
|
44975
|
+
setActiveAnchor: he
|
|
44976
|
+
} = O(t),
|
|
44977
|
+
we = React.useRef(!1),
|
|
44978
|
+
[be, Se] = React.useState([]),
|
|
44979
|
+
Ee = React.useRef(!1),
|
|
44980
|
+
_e = f || v.includes("click");
|
|
44981
|
+
|
|
44982
|
+
R(() => (Ee.current = !0, () => {
|
|
44983
|
+
Ee.current = !1;
|
|
44935
44984
|
}), []), React.useEffect(() => {
|
|
44936
|
-
if (!
|
|
44985
|
+
if (!ue) {
|
|
44937
44986
|
const e = setTimeout(() => {
|
|
44938
|
-
|
|
44987
|
+
ve(!1);
|
|
44939
44988
|
}, 150);
|
|
44940
44989
|
return () => {
|
|
44941
44990
|
clearTimeout(e);
|
|
@@ -44943,17 +44992,17 @@ const z = ({
|
|
|
44943
44992
|
}
|
|
44944
44993
|
|
|
44945
44994
|
return () => null;
|
|
44946
|
-
}, [
|
|
44995
|
+
}, [ue]);
|
|
44947
44996
|
|
|
44948
|
-
const
|
|
44949
|
-
|
|
44950
|
-
|
|
44997
|
+
const ge = e => {
|
|
44998
|
+
Ee.current && (e && ve(!0), setTimeout(() => {
|
|
44999
|
+
Ee.current && (null == Y || Y(e), void 0 === X && de(e));
|
|
44951
45000
|
}, 10));
|
|
44952
45001
|
};
|
|
44953
45002
|
|
|
44954
45003
|
React.useEffect(() => {
|
|
44955
45004
|
if (void 0 === X) return () => null;
|
|
44956
|
-
X &&
|
|
45005
|
+
X && ve(!0);
|
|
44957
45006
|
const e = setTimeout(() => {
|
|
44958
45007
|
de(X);
|
|
44959
45008
|
}, 10);
|
|
@@ -44961,36 +45010,36 @@ const z = ({
|
|
|
44961
45010
|
clearTimeout(e);
|
|
44962
45011
|
};
|
|
44963
45012
|
}, [X]), React.useEffect(() => {
|
|
44964
|
-
|
|
44965
|
-
}, [
|
|
45013
|
+
ue !== me.current && (me.current = ue, ue ? null == P || P() : null == F || F());
|
|
45014
|
+
}, [ue]);
|
|
44966
45015
|
|
|
44967
|
-
const
|
|
44968
|
-
|
|
44969
|
-
|
|
45016
|
+
const Ae = (e = _) => {
|
|
45017
|
+
oe.current && clearTimeout(oe.current), oe.current = setTimeout(() => {
|
|
45018
|
+
we.current || ge(!1);
|
|
44970
45019
|
}, e);
|
|
44971
45020
|
},
|
|
44972
|
-
|
|
45021
|
+
Te = e => {
|
|
44973
45022
|
var t;
|
|
44974
45023
|
if (!e) return;
|
|
44975
45024
|
const r = null !== (t = e.currentTarget) && void 0 !== t ? t : e.target;
|
|
44976
|
-
if (!(null == r ? void 0 : r.isConnected)) return Z(null), void
|
|
45025
|
+
if (!(null == r ? void 0 : r.isConnected)) return Z(null), void he({
|
|
44977
45026
|
current: null
|
|
44978
45027
|
});
|
|
44979
|
-
S ? (
|
|
44980
|
-
|
|
44981
|
-
}, S)) :
|
|
45028
|
+
S ? (re.current && clearTimeout(re.current), re.current = setTimeout(() => {
|
|
45029
|
+
ge(!0);
|
|
45030
|
+
}, S)) : ge(!0), Z(r), he({
|
|
44982
45031
|
current: r
|
|
44983
|
-
}),
|
|
45032
|
+
}), oe.current && clearTimeout(oe.current);
|
|
44984
45033
|
},
|
|
44985
|
-
|
|
44986
|
-
|
|
45034
|
+
Oe = () => {
|
|
45035
|
+
L ? Ae(_ || 100) : _ ? Ae() : ge(!1), re.current && clearTimeout(re.current);
|
|
44987
45036
|
},
|
|
44988
45037
|
Le = ({
|
|
44989
45038
|
x: e,
|
|
44990
45039
|
y: t
|
|
44991
45040
|
}) => {
|
|
44992
|
-
|
|
44993
|
-
place:
|
|
45041
|
+
x({
|
|
45042
|
+
place: d,
|
|
44994
45043
|
offset: p,
|
|
44995
45044
|
elementReference: {
|
|
44996
45045
|
getBoundingClientRect: () => ({
|
|
@@ -45004,109 +45053,109 @@ const z = ({
|
|
|
45004
45053
|
bottom: t
|
|
45005
45054
|
})
|
|
45006
45055
|
},
|
|
45007
|
-
tooltipReference:
|
|
45008
|
-
tooltipArrowReference:
|
|
45056
|
+
tooltipReference: ee.current,
|
|
45057
|
+
tooltipArrowReference: te.current,
|
|
45009
45058
|
strategy: h,
|
|
45010
45059
|
middlewares: w,
|
|
45011
45060
|
border: G
|
|
45012
45061
|
}).then(e => {
|
|
45013
|
-
Object.keys(e.tooltipStyles).length &&
|
|
45062
|
+
Object.keys(e.tooltipStyles).length && ce(e.tooltipStyles), Object.keys(e.tooltipArrowStyles).length && se(e.tooltipArrowStyles), le(e.place);
|
|
45014
45063
|
});
|
|
45015
45064
|
},
|
|
45016
|
-
|
|
45065
|
+
Re = e => {
|
|
45017
45066
|
if (!e) return;
|
|
45018
45067
|
const t = e,
|
|
45019
45068
|
r = {
|
|
45020
45069
|
x: t.clientX,
|
|
45021
45070
|
y: t.clientY
|
|
45022
45071
|
};
|
|
45023
|
-
Le(r),
|
|
45024
|
-
},
|
|
45025
|
-
Re = e => {
|
|
45026
|
-
Ae(e), _ && ge();
|
|
45072
|
+
Le(r), ye.current = r;
|
|
45027
45073
|
},
|
|
45028
45074
|
Ne = e => {
|
|
45075
|
+
Te(e), _ && Ae();
|
|
45076
|
+
},
|
|
45077
|
+
ke = e => {
|
|
45029
45078
|
var t;
|
|
45030
|
-
[document.querySelector(`[id='${
|
|
45079
|
+
[document.querySelector(`[id='${s}']`), ...be].some(t => null == t ? void 0 : t.contains(e.target)) || (null === (t = ee.current) || void 0 === t ? void 0 : t.contains(e.target)) || (ge(!1), re.current && clearTimeout(re.current));
|
|
45031
45080
|
},
|
|
45032
|
-
xe = E(
|
|
45033
|
-
|
|
45081
|
+
xe = E(Te, 50, !0),
|
|
45082
|
+
Ce = E(Oe, 50, !0),
|
|
45034
45083
|
$e = React.useCallback(() => {
|
|
45035
|
-
M ? Le(M) : g ?
|
|
45036
|
-
place:
|
|
45084
|
+
M ? Le(M) : g ? ye.current && Le(ye.current) : x({
|
|
45085
|
+
place: d,
|
|
45037
45086
|
offset: p,
|
|
45038
45087
|
elementReference: V,
|
|
45039
|
-
tooltipReference:
|
|
45040
|
-
tooltipArrowReference:
|
|
45088
|
+
tooltipReference: ee.current,
|
|
45089
|
+
tooltipArrowReference: te.current,
|
|
45041
45090
|
strategy: h,
|
|
45042
45091
|
middlewares: w,
|
|
45043
45092
|
border: G
|
|
45044
45093
|
}).then(e => {
|
|
45045
|
-
|
|
45094
|
+
Ee.current && (Object.keys(e.tooltipStyles).length && ce(e.tooltipStyles), Object.keys(e.tooltipArrowStyles).length && se(e.tooltipArrowStyles), le(e.place));
|
|
45046
45095
|
});
|
|
45047
|
-
}, [
|
|
45096
|
+
}, [ue, V, K, W, d, p, h, M, g]);
|
|
45048
45097
|
|
|
45049
45098
|
React.useEffect(() => {
|
|
45050
45099
|
var e, t;
|
|
45051
|
-
const r = new Set(
|
|
45052
|
-
|
|
45100
|
+
const r = new Set(fe);
|
|
45101
|
+
be.forEach(e => {
|
|
45053
45102
|
r.add({
|
|
45054
45103
|
current: e
|
|
45055
45104
|
});
|
|
45056
45105
|
});
|
|
45057
|
-
const o = document.querySelector(`[id='${
|
|
45106
|
+
const o = document.querySelector(`[id='${s}']`);
|
|
45058
45107
|
o && r.add({
|
|
45059
45108
|
current: o
|
|
45060
45109
|
});
|
|
45061
45110
|
|
|
45062
45111
|
const n = () => {
|
|
45063
|
-
|
|
45112
|
+
ge(!1);
|
|
45064
45113
|
},
|
|
45065
|
-
l =
|
|
45066
|
-
i =
|
|
45114
|
+
l = k(V),
|
|
45115
|
+
i = k(ee.current);
|
|
45067
45116
|
|
|
45068
45117
|
z && (window.addEventListener("scroll", n), null == l || l.addEventListener("scroll", n), null == i || i.addEventListener("scroll", n));
|
|
45069
45118
|
let c = null;
|
|
45070
|
-
q ? window.addEventListener("resize", n) : V &&
|
|
45119
|
+
q ? window.addEventListener("resize", n) : V && ee.current && (c = autoUpdate(V, ee.current, $e, {
|
|
45071
45120
|
ancestorResize: !0,
|
|
45072
45121
|
elementResize: !0,
|
|
45073
45122
|
layoutShift: !0
|
|
45074
45123
|
}));
|
|
45075
45124
|
|
|
45076
|
-
const
|
|
45077
|
-
"Escape" === e.key &&
|
|
45125
|
+
const a = e => {
|
|
45126
|
+
"Escape" === e.key && ge(!1);
|
|
45078
45127
|
};
|
|
45079
45128
|
|
|
45080
|
-
N && window.addEventListener("keydown",
|
|
45081
|
-
const
|
|
45082
|
-
|
|
45129
|
+
N && window.addEventListener("keydown", a);
|
|
45130
|
+
const u = [];
|
|
45131
|
+
_e ? (window.addEventListener("click", ke), u.push({
|
|
45083
45132
|
event: "click",
|
|
45084
|
-
listener:
|
|
45085
|
-
})) : (
|
|
45133
|
+
listener: Ne
|
|
45134
|
+
})) : (u.push({
|
|
45086
45135
|
event: "mouseenter",
|
|
45087
45136
|
listener: xe
|
|
45088
45137
|
}, {
|
|
45089
45138
|
event: "mouseleave",
|
|
45090
|
-
listener:
|
|
45139
|
+
listener: Ce
|
|
45091
45140
|
}, {
|
|
45092
45141
|
event: "focus",
|
|
45093
45142
|
listener: xe
|
|
45094
45143
|
}, {
|
|
45095
45144
|
event: "blur",
|
|
45096
|
-
listener:
|
|
45097
|
-
}), g &&
|
|
45145
|
+
listener: Ce
|
|
45146
|
+
}), g && u.push({
|
|
45098
45147
|
event: "mousemove",
|
|
45099
|
-
listener:
|
|
45148
|
+
listener: Re
|
|
45100
45149
|
}));
|
|
45101
45150
|
|
|
45102
|
-
const
|
|
45103
|
-
|
|
45151
|
+
const d = () => {
|
|
45152
|
+
we.current = !0;
|
|
45104
45153
|
},
|
|
45105
45154
|
p = () => {
|
|
45106
|
-
|
|
45155
|
+
we.current = !1, Oe();
|
|
45107
45156
|
};
|
|
45108
45157
|
|
|
45109
|
-
return
|
|
45158
|
+
return L && !_e && (null === (e = ee.current) || void 0 === e || e.addEventListener("mouseenter", d), null === (t = ee.current) || void 0 === t || t.addEventListener("mouseleave", p)), u.forEach(({
|
|
45110
45159
|
event: e,
|
|
45111
45160
|
listener: t
|
|
45112
45161
|
}) => {
|
|
@@ -45116,7 +45165,7 @@ const z = ({
|
|
|
45116
45165
|
});
|
|
45117
45166
|
}), () => {
|
|
45118
45167
|
var e, t;
|
|
45119
|
-
z && (window.removeEventListener("scroll", n), null == l || l.removeEventListener("scroll", n), null == i || i.removeEventListener("scroll", n)), q ? window.removeEventListener("resize", n) : null == c || c(),
|
|
45168
|
+
z && (window.removeEventListener("scroll", n), null == l || l.removeEventListener("scroll", n), null == i || i.removeEventListener("scroll", n)), q ? window.removeEventListener("resize", n) : null == c || c(), _e && window.removeEventListener("click", ke), N && window.removeEventListener("keydown", a), L && !_e && (null === (e = ee.current) || void 0 === e || e.removeEventListener("mouseenter", d), null === (t = ee.current) || void 0 === t || t.removeEventListener("mouseleave", p)), u.forEach(({
|
|
45120
45169
|
event: e,
|
|
45121
45170
|
listener: t
|
|
45122
45171
|
}) => {
|
|
@@ -45126,8 +45175,8 @@ const z = ({
|
|
|
45126
45175
|
});
|
|
45127
45176
|
});
|
|
45128
45177
|
};
|
|
45129
|
-
}, [V, $e,
|
|
45130
|
-
let e = null !=
|
|
45178
|
+
}, [V, $e, pe, fe, be, N, v]), React.useEffect(() => {
|
|
45179
|
+
let e = null != u ? u : "";
|
|
45131
45180
|
!e && t && (e = `[data-tooltip-id='${t}']`);
|
|
45132
45181
|
const r = new MutationObserver(r => {
|
|
45133
45182
|
const o = [];
|
|
@@ -45138,12 +45187,12 @@ const z = ({
|
|
|
45138
45187
|
|
|
45139
45188
|
if ("childList" === r.type && (V && [...r.removedNodes].some(e => {
|
|
45140
45189
|
var t;
|
|
45141
|
-
return !!(null === (t = null == e ? void 0 : e.contains) || void 0 === t ? void 0 : t.call(e, V)) && (
|
|
45190
|
+
return !!(null === (t = null == e ? void 0 : e.contains) || void 0 === t ? void 0 : t.call(e, V)) && (ve(!1), ge(!1), Z(null), re.current && clearTimeout(re.current), oe.current && clearTimeout(oe.current), !0);
|
|
45142
45191
|
}), e)) try {
|
|
45143
45192
|
const t = [...r.addedNodes].filter(e => 1 === e.nodeType);
|
|
45144
45193
|
o.push(...t.filter(t => t.matches(e))), o.push(...t.flatMap(t => [...t.querySelectorAll(e)]));
|
|
45145
45194
|
} catch (e) {}
|
|
45146
|
-
}), o.length &&
|
|
45195
|
+
}), o.length && Se(e => [...e, ...o]);
|
|
45147
45196
|
});
|
|
45148
45197
|
return r.observe(document.body, {
|
|
45149
45198
|
childList: !0,
|
|
@@ -45153,7 +45202,7 @@ const z = ({
|
|
|
45153
45202
|
}), () => {
|
|
45154
45203
|
r.disconnect();
|
|
45155
45204
|
};
|
|
45156
|
-
}, [t,
|
|
45205
|
+
}, [t, u, V]), React.useEffect(() => {
|
|
45157
45206
|
$e();
|
|
45158
45207
|
}, [$e]), React.useEffect(() => {
|
|
45159
45208
|
if (!(null == U ? void 0 : U.current)) return () => null;
|
|
@@ -45165,41 +45214,43 @@ const z = ({
|
|
|
45165
45214
|
};
|
|
45166
45215
|
}, [K, null == U ? void 0 : U.current]), React.useEffect(() => {
|
|
45167
45216
|
var e;
|
|
45168
|
-
const t = document.querySelector(`[id='${
|
|
45169
|
-
r = [...
|
|
45170
|
-
V && r.includes(V) || Z(null !== (e =
|
|
45171
|
-
}, [
|
|
45172
|
-
|
|
45217
|
+
const t = document.querySelector(`[id='${s}']`),
|
|
45218
|
+
r = [...be, t];
|
|
45219
|
+
V && r.includes(V) || Z(null !== (e = be[0]) && void 0 !== e ? e : t);
|
|
45220
|
+
}, [s, be, V]), React.useEffect(() => () => {
|
|
45221
|
+
re.current && clearTimeout(re.current), oe.current && clearTimeout(oe.current);
|
|
45173
45222
|
}, []), React.useEffect(() => {
|
|
45174
|
-
let e =
|
|
45223
|
+
let e = u;
|
|
45175
45224
|
if (!e && t && (e = `[data-tooltip-id='${t}']`), e) try {
|
|
45176
45225
|
const t = Array.from(document.querySelectorAll(e));
|
|
45177
|
-
|
|
45226
|
+
Se(t);
|
|
45178
45227
|
} catch (e) {
|
|
45179
|
-
|
|
45228
|
+
Se([]);
|
|
45180
45229
|
}
|
|
45181
|
-
}, [t,
|
|
45182
|
-
const
|
|
45183
|
-
return
|
|
45230
|
+
}, [t, u]);
|
|
45231
|
+
const Ie = !A && K && ue && Object.keys(ie).length > 0;
|
|
45232
|
+
return pe ? React__default["default"].createElement(b, {
|
|
45184
45233
|
id: t,
|
|
45185
45234
|
role: "tooltip",
|
|
45186
|
-
className: classnames("react-tooltip",
|
|
45187
|
-
"react-tooltip__show":
|
|
45188
|
-
[D]:
|
|
45189
|
-
[
|
|
45190
|
-
[
|
|
45235
|
+
className: classnames("react-tooltip", C, H.tooltip, H[a], n, `react-tooltip__place-${ne}`, {
|
|
45236
|
+
"react-tooltip__show": Ie,
|
|
45237
|
+
[D]: Ie,
|
|
45238
|
+
[$]: "fixed" === h,
|
|
45239
|
+
[B]: L
|
|
45191
45240
|
}),
|
|
45192
45241
|
style: { ...W,
|
|
45193
|
-
...
|
|
45194
|
-
opacity: void 0 !== J &&
|
|
45242
|
+
...ie,
|
|
45243
|
+
opacity: void 0 !== J && Ie ? J : void 0
|
|
45195
45244
|
},
|
|
45196
|
-
ref:
|
|
45245
|
+
ref: ee
|
|
45197
45246
|
}, K, React__default["default"].createElement(b, {
|
|
45198
45247
|
className: classnames("react-tooltip-arrow", I, H.arrow, l, {
|
|
45199
|
-
[
|
|
45248
|
+
[j]: T
|
|
45200
45249
|
}),
|
|
45201
|
-
style:
|
|
45202
|
-
|
|
45250
|
+
style: { ...ae,
|
|
45251
|
+
background: Q ? `linear-gradient(to right bottom, transparent 50%, ${Q} 50%)` : void 0
|
|
45252
|
+
},
|
|
45253
|
+
ref: te
|
|
45203
45254
|
})) : null;
|
|
45204
45255
|
},
|
|
45205
45256
|
q = ({
|
|
@@ -45214,10 +45265,10 @@ const z = ({
|
|
|
45214
45265
|
anchorId: o,
|
|
45215
45266
|
anchorSelect: n,
|
|
45216
45267
|
content: l,
|
|
45217
|
-
html:
|
|
45218
|
-
render:
|
|
45219
|
-
className:
|
|
45220
|
-
classNameArrow:
|
|
45268
|
+
html: a,
|
|
45269
|
+
render: s,
|
|
45270
|
+
className: u,
|
|
45271
|
+
classNameArrow: d,
|
|
45221
45272
|
variant: p = "dark",
|
|
45222
45273
|
place: v = "top",
|
|
45223
45274
|
offset: m = 10,
|
|
@@ -45232,39 +45283,40 @@ const z = ({
|
|
|
45232
45283
|
float: g = !1,
|
|
45233
45284
|
hidden: A = !1,
|
|
45234
45285
|
noArrow: T = !1,
|
|
45235
|
-
clickable:
|
|
45286
|
+
clickable: L = !1,
|
|
45236
45287
|
closeOnEsc: R = !1,
|
|
45237
45288
|
closeOnScroll: N = !1,
|
|
45238
|
-
closeOnResize:
|
|
45239
|
-
style:
|
|
45240
|
-
position:
|
|
45241
|
-
isOpen:
|
|
45289
|
+
closeOnResize: k = !1,
|
|
45290
|
+
style: x,
|
|
45291
|
+
position: C,
|
|
45292
|
+
isOpen: $,
|
|
45242
45293
|
disableStyleInjection: I = !1,
|
|
45243
|
-
border:
|
|
45244
|
-
opacity:
|
|
45245
|
-
|
|
45246
|
-
|
|
45247
|
-
|
|
45294
|
+
border: j,
|
|
45295
|
+
opacity: B,
|
|
45296
|
+
arrowColor: D,
|
|
45297
|
+
setIsOpen: H,
|
|
45298
|
+
afterShow: W,
|
|
45299
|
+
afterHide: M
|
|
45248
45300
|
}) => {
|
|
45249
|
-
const [
|
|
45250
|
-
[
|
|
45251
|
-
[
|
|
45252
|
-
[
|
|
45253
|
-
[
|
|
45254
|
-
[
|
|
45255
|
-
[
|
|
45256
|
-
[
|
|
45257
|
-
[
|
|
45258
|
-
[
|
|
45259
|
-
[se,
|
|
45260
|
-
[de,
|
|
45261
|
-
[
|
|
45262
|
-
|
|
45301
|
+
const [P, F] = React.useState(l),
|
|
45302
|
+
[K, U] = React.useState(a),
|
|
45303
|
+
[X, Y] = React.useState(v),
|
|
45304
|
+
[V, Z] = React.useState(p),
|
|
45305
|
+
[G, J] = React.useState(m),
|
|
45306
|
+
[Q, ee] = React.useState(E),
|
|
45307
|
+
[te, re] = React.useState(_),
|
|
45308
|
+
[oe, ne] = React.useState(g),
|
|
45309
|
+
[le, ie] = React.useState(A),
|
|
45310
|
+
[ce, ae] = React.useState(y),
|
|
45311
|
+
[se, ue] = React.useState(h),
|
|
45312
|
+
[de, pe] = React.useState(b),
|
|
45313
|
+
[ve, me] = React.useState(null),
|
|
45314
|
+
ye = React.useRef(I),
|
|
45263
45315
|
{
|
|
45264
|
-
anchorRefs:
|
|
45265
|
-
activeAnchor:
|
|
45266
|
-
} =
|
|
45267
|
-
|
|
45316
|
+
anchorRefs: fe,
|
|
45317
|
+
activeAnchor: he
|
|
45318
|
+
} = O(t),
|
|
45319
|
+
we = e => null == e ? void 0 : e.getAttributeNames().reduce((t, r) => {
|
|
45268
45320
|
var o;
|
|
45269
45321
|
|
|
45270
45322
|
if (r.startsWith("data-tooltip-")) {
|
|
@@ -45273,48 +45325,48 @@ const z = ({
|
|
|
45273
45325
|
|
|
45274
45326
|
return t;
|
|
45275
45327
|
}, {}),
|
|
45276
|
-
|
|
45328
|
+
be = e => {
|
|
45277
45329
|
const t = {
|
|
45278
45330
|
place: e => {
|
|
45279
45331
|
var t;
|
|
45280
|
-
|
|
45332
|
+
Y(null !== (t = e) && void 0 !== t ? t : v);
|
|
45281
45333
|
},
|
|
45282
45334
|
content: e => {
|
|
45283
|
-
|
|
45335
|
+
F(null != e ? e : l);
|
|
45284
45336
|
},
|
|
45285
45337
|
html: e => {
|
|
45286
|
-
|
|
45338
|
+
U(null != e ? e : a);
|
|
45287
45339
|
},
|
|
45288
45340
|
variant: e => {
|
|
45289
45341
|
var t;
|
|
45290
|
-
|
|
45342
|
+
Z(null !== (t = e) && void 0 !== t ? t : p);
|
|
45291
45343
|
},
|
|
45292
45344
|
offset: e => {
|
|
45293
|
-
|
|
45345
|
+
J(null === e ? m : Number(e));
|
|
45294
45346
|
},
|
|
45295
45347
|
wrapper: e => {
|
|
45296
45348
|
var t;
|
|
45297
|
-
|
|
45349
|
+
ae(null !== (t = e) && void 0 !== t ? t : y);
|
|
45298
45350
|
},
|
|
45299
45351
|
events: e => {
|
|
45300
45352
|
const t = null == e ? void 0 : e.split(" ");
|
|
45301
|
-
|
|
45353
|
+
ue(null != t ? t : h);
|
|
45302
45354
|
},
|
|
45303
45355
|
"position-strategy": e => {
|
|
45304
45356
|
var t;
|
|
45305
|
-
|
|
45357
|
+
pe(null !== (t = e) && void 0 !== t ? t : b);
|
|
45306
45358
|
},
|
|
45307
45359
|
"delay-show": e => {
|
|
45308
|
-
|
|
45360
|
+
ee(null === e ? E : Number(e));
|
|
45309
45361
|
},
|
|
45310
45362
|
"delay-hide": e => {
|
|
45311
|
-
|
|
45363
|
+
re(null === e ? _ : Number(e));
|
|
45312
45364
|
},
|
|
45313
45365
|
float: e => {
|
|
45314
|
-
|
|
45366
|
+
ne(null === e ? g : "true" === e);
|
|
45315
45367
|
},
|
|
45316
45368
|
hidden: e => {
|
|
45317
|
-
|
|
45369
|
+
ie(null === e ? A : "true" === e);
|
|
45318
45370
|
}
|
|
45319
45371
|
};
|
|
45320
45372
|
Object.values(t).forEach(e => e(null)), Object.entries(e).forEach(([e, r]) => {
|
|
@@ -45324,27 +45376,27 @@ const z = ({
|
|
|
45324
45376
|
};
|
|
45325
45377
|
|
|
45326
45378
|
React.useEffect(() => {
|
|
45327
|
-
|
|
45379
|
+
F(l);
|
|
45328
45380
|
}, [l]), React.useEffect(() => {
|
|
45329
|
-
|
|
45330
|
-
}, [
|
|
45331
|
-
|
|
45381
|
+
U(a);
|
|
45382
|
+
}, [a]), React.useEffect(() => {
|
|
45383
|
+
Y(v);
|
|
45332
45384
|
}, [v]), React.useEffect(() => {
|
|
45333
|
-
|
|
45385
|
+
Z(p);
|
|
45334
45386
|
}, [p]), React.useEffect(() => {
|
|
45335
|
-
|
|
45387
|
+
J(m);
|
|
45336
45388
|
}, [m]), React.useEffect(() => {
|
|
45337
|
-
|
|
45389
|
+
ee(E);
|
|
45338
45390
|
}, [E]), React.useEffect(() => {
|
|
45339
|
-
|
|
45391
|
+
re(_);
|
|
45340
45392
|
}, [_]), React.useEffect(() => {
|
|
45341
|
-
|
|
45393
|
+
ne(g);
|
|
45342
45394
|
}, [g]), React.useEffect(() => {
|
|
45343
|
-
|
|
45395
|
+
ie(A);
|
|
45344
45396
|
}, [A]), React.useEffect(() => {
|
|
45345
|
-
|
|
45397
|
+
pe(b);
|
|
45346
45398
|
}, [b]), React.useEffect(() => {
|
|
45347
|
-
|
|
45399
|
+
ye.current !== I && console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.");
|
|
45348
45400
|
}, [I]), React.useEffect(() => {
|
|
45349
45401
|
"undefined" != typeof window && window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles", {
|
|
45350
45402
|
detail: {
|
|
@@ -45354,7 +45406,7 @@ const z = ({
|
|
|
45354
45406
|
}));
|
|
45355
45407
|
}, []), React.useEffect(() => {
|
|
45356
45408
|
var e;
|
|
45357
|
-
const r = new Set(
|
|
45409
|
+
const r = new Set(fe);
|
|
45358
45410
|
let l = n;
|
|
45359
45411
|
if (!l && t && (l = `[data-tooltip-id='${t}']`), l) try {
|
|
45360
45412
|
document.querySelectorAll(l).forEach(e => {
|
|
@@ -45369,86 +45421,87 @@ const z = ({
|
|
|
45369
45421
|
if (i && r.add({
|
|
45370
45422
|
current: i
|
|
45371
45423
|
}), !r.size) return () => null;
|
|
45372
|
-
const c = null !== (e = null !=
|
|
45373
|
-
|
|
45424
|
+
const c = null !== (e = null != ve ? ve : i) && void 0 !== e ? e : he.current,
|
|
45425
|
+
a = new MutationObserver(e => {
|
|
45374
45426
|
e.forEach(e => {
|
|
45375
45427
|
var t;
|
|
45376
45428
|
if (!c || "attributes" !== e.type || !(null === (t = e.attributeName) || void 0 === t ? void 0 : t.startsWith("data-tooltip-"))) return;
|
|
45377
|
-
const r =
|
|
45378
|
-
|
|
45429
|
+
const r = we(c);
|
|
45430
|
+
be(r);
|
|
45379
45431
|
});
|
|
45380
45432
|
}),
|
|
45381
|
-
|
|
45433
|
+
s = {
|
|
45382
45434
|
attributes: !0,
|
|
45383
45435
|
childList: !1,
|
|
45384
45436
|
subtree: !1
|
|
45385
45437
|
};
|
|
45386
45438
|
|
|
45387
45439
|
if (c) {
|
|
45388
|
-
const e =
|
|
45389
|
-
|
|
45440
|
+
const e = we(c);
|
|
45441
|
+
be(e), a.observe(c, s);
|
|
45390
45442
|
}
|
|
45391
45443
|
|
|
45392
45444
|
return () => {
|
|
45393
|
-
|
|
45445
|
+
a.disconnect();
|
|
45394
45446
|
};
|
|
45395
|
-
}, [
|
|
45396
|
-
(null ==
|
|
45447
|
+
}, [fe, he, ve, o, n]), React.useEffect(() => {
|
|
45448
|
+
(null == x ? void 0 : x.border) && console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."), j && !CSS.supports("border", `${j}`) && console.warn(`[react-tooltip] "${j}" is not a valid \`border\`.`), (null == x ? void 0 : x.opacity) && console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."), B && !CSS.supports("opacity", `${B}`) && console.warn(`[react-tooltip] "${B}" is not a valid \`opacity\`.`);
|
|
45397
45449
|
}, []);
|
|
45398
|
-
let
|
|
45399
|
-
const
|
|
45450
|
+
let Se = f;
|
|
45451
|
+
const Ee = React.useRef(null);
|
|
45400
45452
|
|
|
45401
|
-
if (
|
|
45402
|
-
const t =
|
|
45403
|
-
content: null !=
|
|
45404
|
-
activeAnchor:
|
|
45453
|
+
if (s) {
|
|
45454
|
+
const t = s({
|
|
45455
|
+
content: null != P ? P : null,
|
|
45456
|
+
activeAnchor: ve
|
|
45405
45457
|
});
|
|
45406
|
-
|
|
45407
|
-
ref:
|
|
45458
|
+
Se = t ? React__default["default"].createElement("div", {
|
|
45459
|
+
ref: Ee,
|
|
45408
45460
|
className: "react-tooltip-content-wrapper"
|
|
45409
45461
|
}, t) : null;
|
|
45410
|
-
} else
|
|
45462
|
+
} else P && (Se = P);
|
|
45411
45463
|
|
|
45412
|
-
|
|
45413
|
-
content:
|
|
45464
|
+
K && (Se = React__default["default"].createElement(q, {
|
|
45465
|
+
content: K
|
|
45414
45466
|
}));
|
|
45415
|
-
const
|
|
45467
|
+
const _e = {
|
|
45416
45468
|
id: t,
|
|
45417
45469
|
anchorId: o,
|
|
45418
45470
|
anchorSelect: n,
|
|
45419
|
-
className:
|
|
45420
|
-
classNameArrow:
|
|
45421
|
-
content:
|
|
45422
|
-
contentWrapperRef:
|
|
45423
|
-
place:
|
|
45424
|
-
variant:
|
|
45425
|
-
offset:
|
|
45426
|
-
wrapper:
|
|
45471
|
+
className: u,
|
|
45472
|
+
classNameArrow: d,
|
|
45473
|
+
content: Se,
|
|
45474
|
+
contentWrapperRef: Ee,
|
|
45475
|
+
place: X,
|
|
45476
|
+
variant: V,
|
|
45477
|
+
offset: G,
|
|
45478
|
+
wrapper: ce,
|
|
45427
45479
|
events: se,
|
|
45428
45480
|
openOnClick: w,
|
|
45429
45481
|
positionStrategy: de,
|
|
45430
45482
|
middlewares: S,
|
|
45431
|
-
delayShow:
|
|
45432
|
-
delayHide:
|
|
45433
|
-
float:
|
|
45434
|
-
hidden:
|
|
45483
|
+
delayShow: Q,
|
|
45484
|
+
delayHide: te,
|
|
45485
|
+
float: oe,
|
|
45486
|
+
hidden: le,
|
|
45435
45487
|
noArrow: T,
|
|
45436
|
-
clickable:
|
|
45488
|
+
clickable: L,
|
|
45437
45489
|
closeOnEsc: R,
|
|
45438
45490
|
closeOnScroll: N,
|
|
45439
|
-
closeOnResize:
|
|
45440
|
-
style:
|
|
45441
|
-
position:
|
|
45442
|
-
isOpen:
|
|
45443
|
-
border:
|
|
45444
|
-
opacity:
|
|
45445
|
-
|
|
45446
|
-
|
|
45447
|
-
|
|
45448
|
-
|
|
45449
|
-
|
|
45450
|
-
|
|
45451
|
-
|
|
45491
|
+
closeOnResize: k,
|
|
45492
|
+
style: x,
|
|
45493
|
+
position: C,
|
|
45494
|
+
isOpen: $,
|
|
45495
|
+
border: j,
|
|
45496
|
+
opacity: B,
|
|
45497
|
+
arrowColor: D,
|
|
45498
|
+
setIsOpen: H,
|
|
45499
|
+
afterShow: W,
|
|
45500
|
+
afterHide: M,
|
|
45501
|
+
activeAnchor: ve,
|
|
45502
|
+
setActiveAnchor: e => me(e)
|
|
45503
|
+
};
|
|
45504
|
+
return React__default["default"].createElement(z, { ..._e
|
|
45452
45505
|
});
|
|
45453
45506
|
};
|
|
45454
45507
|
|
|
@@ -45458,7 +45511,7 @@ const z = ({
|
|
|
45458
45511
|
type: "core"
|
|
45459
45512
|
}), e.detail.disableBase || b({
|
|
45460
45513
|
css: `
|
|
45461
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px
|
|
45514
|
+
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,
|
|
45462
45515
|
type: "base"
|
|
45463
45516
|
});
|
|
45464
45517
|
});
|