boreal-ui 0.0.1
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/README.md +192 -0
- package/dist/core/Accordion-DOhvj3Ty.js +213 -0
- package/dist/core/Accordion-DOhvj3Ty.js.map +1 -0
- package/dist/core/Accordion-DQsSUVAE.cjs +212 -0
- package/dist/core/Accordion-DQsSUVAE.cjs.map +1 -0
- package/dist/core/Accordion.cjs.js +4 -0
- package/dist/core/Accordion.cjs.js.map +1 -0
- package/dist/core/Accordion.js +5 -0
- package/dist/core/Accordion.js.map +1 -0
- package/dist/core/ArrowRightIcon-BYQv5XS8.js +27 -0
- package/dist/core/ArrowRightIcon-BYQv5XS8.js.map +1 -0
- package/dist/core/ArrowRightIcon-ClXQHGAD.cjs +26 -0
- package/dist/core/ArrowRightIcon-ClXQHGAD.cjs.map +1 -0
- package/dist/core/Avatar-B5aqfDZX.cjs +227 -0
- package/dist/core/Avatar-B5aqfDZX.cjs.map +1 -0
- package/dist/core/Avatar-mhtrG5FT.js +228 -0
- package/dist/core/Avatar-mhtrG5FT.js.map +1 -0
- package/dist/core/Avatar.cjs.js +4 -0
- package/dist/core/Avatar.cjs.js.map +1 -0
- package/dist/core/Avatar.js +5 -0
- package/dist/core/Avatar.js.map +1 -0
- package/dist/core/Badge-DfsFGYhY.js +106 -0
- package/dist/core/Badge-DfsFGYhY.js.map +1 -0
- package/dist/core/Badge-LyKc0uJG.cjs +105 -0
- package/dist/core/Badge-LyKc0uJG.cjs.map +1 -0
- package/dist/core/Badge.cjs.js +4 -0
- package/dist/core/Badge.cjs.js.map +1 -0
- package/dist/core/Badge.js +5 -0
- package/dist/core/Badge.js.map +1 -0
- package/dist/core/Breadcrumbs-DhioJUB9.js +170 -0
- package/dist/core/Breadcrumbs-DhioJUB9.js.map +1 -0
- package/dist/core/Breadcrumbs-xmUgcTXF.cjs +169 -0
- package/dist/core/Breadcrumbs-xmUgcTXF.cjs.map +1 -0
- package/dist/core/Breadcrumbs.cjs.js +6 -0
- package/dist/core/Breadcrumbs.cjs.js.map +1 -0
- package/dist/core/Breadcrumbs.js +6 -0
- package/dist/core/Breadcrumbs.js.map +1 -0
- package/dist/core/Button-DEYbr8xW.js +155 -0
- package/dist/core/Button-DEYbr8xW.js.map +1 -0
- package/dist/core/Button-wz_We8xU.cjs +154 -0
- package/dist/core/Button-wz_We8xU.cjs.map +1 -0
- package/dist/core/Button.cjs.js +4 -0
- package/dist/core/Button.cjs.js.map +1 -0
- package/dist/core/Button.js +5 -0
- package/dist/core/Button.js.map +1 -0
- package/dist/core/Card-DCxLBwi0.cjs +224 -0
- package/dist/core/Card-DCxLBwi0.cjs.map +1 -0
- package/dist/core/Card-DKPk0zgQ.js +225 -0
- package/dist/core/Card-DKPk0zgQ.js.map +1 -0
- package/dist/core/Card.cjs.js +4 -0
- package/dist/core/Card.cjs.js.map +1 -0
- package/dist/core/Card.js +5 -0
- package/dist/core/Card.js.map +1 -0
- package/dist/core/CheckBox.cjs.js +4 -0
- package/dist/core/CheckBox.cjs.js.map +1 -0
- package/dist/core/CheckBox.js +5 -0
- package/dist/core/CheckBox.js.map +1 -0
- package/dist/core/Checkbox-BLBbE9Ww.js +144 -0
- package/dist/core/Checkbox-BLBbE9Ww.js.map +1 -0
- package/dist/core/Checkbox-fVnseKGF.cjs +143 -0
- package/dist/core/Checkbox-fVnseKGF.cjs.map +1 -0
- package/dist/core/Chip-7R6wAufO.js +146 -0
- package/dist/core/Chip-7R6wAufO.js.map +1 -0
- package/dist/core/Chip-CNn0UvOB.cjs +145 -0
- package/dist/core/Chip-CNn0UvOB.cjs.map +1 -0
- package/dist/core/Chip.cjs.js +4 -0
- package/dist/core/Chip.cjs.js.map +1 -0
- package/dist/core/Chip.js +5 -0
- package/dist/core/Chip.js.map +1 -0
- package/dist/core/CircularProgress-B-N4px22.cjs +111 -0
- package/dist/core/CircularProgress-B-N4px22.cjs.map +1 -0
- package/dist/core/CircularProgress-ClCxzsSz.js +112 -0
- package/dist/core/CircularProgress-ClCxzsSz.js.map +1 -0
- package/dist/core/CircularProgress.cjs.js +4 -0
- package/dist/core/CircularProgress.cjs.js.map +1 -0
- package/dist/core/CircularProgress.js +5 -0
- package/dist/core/CircularProgress.js.map +1 -0
- package/dist/core/CloseIcon-C3eQm4EK.js +28 -0
- package/dist/core/CloseIcon-C3eQm4EK.js.map +1 -0
- package/dist/core/CloseIcon-DSnN6ggf.cjs +27 -0
- package/dist/core/CloseIcon-DSnN6ggf.cjs.map +1 -0
- package/dist/core/ColorPicker-BQiTjeqQ.js +117 -0
- package/dist/core/ColorPicker-BQiTjeqQ.js.map +1 -0
- package/dist/core/ColorPicker-DR9huYqs.cjs +116 -0
- package/dist/core/ColorPicker-DR9huYqs.cjs.map +1 -0
- package/dist/core/ColorPicker.cjs.js +4 -0
- package/dist/core/ColorPicker.cjs.js.map +1 -0
- package/dist/core/ColorPicker.js +5 -0
- package/dist/core/ColorPicker.js.map +1 -0
- package/dist/core/CommandPalette-CHOC0Z2m.js +228 -0
- package/dist/core/CommandPalette-CHOC0Z2m.js.map +1 -0
- package/dist/core/CommandPalette-XTi50U_E.cjs +227 -0
- package/dist/core/CommandPalette-XTi50U_E.cjs.map +1 -0
- package/dist/core/CommandPalette.cjs.js +4 -0
- package/dist/core/CommandPalette.cjs.js.map +1 -0
- package/dist/core/CommandPalette.js +5 -0
- package/dist/core/CommandPalette.js.map +1 -0
- package/dist/core/DataTable-DQU1WxPr.js +168 -0
- package/dist/core/DataTable-DQU1WxPr.js.map +1 -0
- package/dist/core/DataTable-DZeVQIC0.cjs +167 -0
- package/dist/core/DataTable-DZeVQIC0.cjs.map +1 -0
- package/dist/core/DataTable.cjs.js +4 -0
- package/dist/core/DataTable.cjs.js.map +1 -0
- package/dist/core/DataTable.js +5 -0
- package/dist/core/DataTable.js.map +1 -0
- package/dist/core/DateTimePicker-BtITiL_E.cjs +187 -0
- package/dist/core/DateTimePicker-BtITiL_E.cjs.map +1 -0
- package/dist/core/DateTimePicker-O8khtyOu.js +188 -0
- package/dist/core/DateTimePicker-O8khtyOu.js.map +1 -0
- package/dist/core/DateTimePicker.cjs.js +4 -0
- package/dist/core/DateTimePicker.cjs.js.map +1 -0
- package/dist/core/DateTimePicker.js +5 -0
- package/dist/core/DateTimePicker.js.map +1 -0
- package/dist/core/Divider-An2VsXog.js +69 -0
- package/dist/core/Divider-An2VsXog.js.map +1 -0
- package/dist/core/Divider-TtfSFBcp.cjs +68 -0
- package/dist/core/Divider-TtfSFBcp.cjs.map +1 -0
- package/dist/core/Divider.cjs.js +4 -0
- package/dist/core/Divider.cjs.js.map +1 -0
- package/dist/core/Divider.js +5 -0
- package/dist/core/Divider.js.map +1 -0
- package/dist/core/Dropdown-CL7TH2lJ.js +242 -0
- package/dist/core/Dropdown-CL7TH2lJ.js.map +1 -0
- package/dist/core/Dropdown-CPsxvzTA.cjs +241 -0
- package/dist/core/Dropdown-CPsxvzTA.cjs.map +1 -0
- package/dist/core/Dropdown.cjs.js +4 -0
- package/dist/core/Dropdown.cjs.js.map +1 -0
- package/dist/core/Dropdown.js +5 -0
- package/dist/core/Dropdown.js.map +1 -0
- package/dist/core/EmptyState-BAaCfJzO.cjs +118 -0
- package/dist/core/EmptyState-BAaCfJzO.cjs.map +1 -0
- package/dist/core/EmptyState-Bd-es_rG.js +119 -0
- package/dist/core/EmptyState-Bd-es_rG.js.map +1 -0
- package/dist/core/EmptyState.cjs.js +4 -0
- package/dist/core/EmptyState.cjs.js.map +1 -0
- package/dist/core/EmptyState.js +5 -0
- package/dist/core/EmptyState.js.map +1 -0
- package/dist/core/FileUpload-Dv2cvYI2.cjs +392 -0
- package/dist/core/FileUpload-Dv2cvYI2.cjs.map +1 -0
- package/dist/core/FileUpload-DxjQ2wnn.js +393 -0
- package/dist/core/FileUpload-DxjQ2wnn.js.map +1 -0
- package/dist/core/FileUpload.cjs.js +4 -0
- package/dist/core/FileUpload.cjs.js.map +1 -0
- package/dist/core/FileUpload.js +5 -0
- package/dist/core/FileUpload.js.map +1 -0
- package/dist/core/Footer-B4Owy88y.cjs +208 -0
- package/dist/core/Footer-B4Owy88y.cjs.map +1 -0
- package/dist/core/Footer-bKgKgU6L.js +209 -0
- package/dist/core/Footer-bKgKgU6L.js.map +1 -0
- package/dist/core/Footer.cjs.js +4 -0
- package/dist/core/Footer.cjs.js.map +1 -0
- package/dist/core/Footer.js +5 -0
- package/dist/core/Footer.js.map +1 -0
- package/dist/core/FormGroup-BXWYrYOK.cjs +136 -0
- package/dist/core/FormGroup-BXWYrYOK.cjs.map +1 -0
- package/dist/core/FormGroup-DS2tW-lC.js +137 -0
- package/dist/core/FormGroup-DS2tW-lC.js.map +1 -0
- package/dist/core/FormGroup.cjs.js +4 -0
- package/dist/core/FormGroup.cjs.js.map +1 -0
- package/dist/core/FormGroup.js +5 -0
- package/dist/core/FormGroup.js.map +1 -0
- package/dist/core/IconButton-B6cAP2hY.js +148 -0
- package/dist/core/IconButton-B6cAP2hY.js.map +1 -0
- package/dist/core/IconButton-BxUXK-xn.cjs +147 -0
- package/dist/core/IconButton-BxUXK-xn.cjs.map +1 -0
- package/dist/core/IconButton.cjs.js +4 -0
- package/dist/core/IconButton.cjs.js.map +1 -0
- package/dist/core/IconButton.js +5 -0
- package/dist/core/IconButton.js.map +1 -0
- package/dist/core/MarkdownRenderer-CQVfqnxf.js +79 -0
- package/dist/core/MarkdownRenderer-CQVfqnxf.js.map +1 -0
- package/dist/core/MarkdownRenderer-taVkZLE9.cjs +78 -0
- package/dist/core/MarkdownRenderer-taVkZLE9.cjs.map +1 -0
- package/dist/core/MarkdownRenderer.cjs.js +4 -0
- package/dist/core/MarkdownRenderer.cjs.js.map +1 -0
- package/dist/core/MarkdownRenderer.js +5 -0
- package/dist/core/MarkdownRenderer.js.map +1 -0
- package/dist/core/MessagePopUp.cjs.js +4 -0
- package/dist/core/MessagePopUp.cjs.js.map +1 -0
- package/dist/core/MessagePopUp.js +5 -0
- package/dist/core/MessagePopUp.js.map +1 -0
- package/dist/core/MessagePopup-By89AGqE.js +189 -0
- package/dist/core/MessagePopup-By89AGqE.js.map +1 -0
- package/dist/core/MessagePopup-OA1gjb8E.cjs +188 -0
- package/dist/core/MessagePopup-OA1gjb8E.cjs.map +1 -0
- package/dist/core/MetricBox-D5Dl19d2.js +123 -0
- package/dist/core/MetricBox-D5Dl19d2.js.map +1 -0
- package/dist/core/MetricBox-DjE-rdp0.cjs +122 -0
- package/dist/core/MetricBox-DjE-rdp0.cjs.map +1 -0
- package/dist/core/MetricBox.cjs.js +4 -0
- package/dist/core/MetricBox.cjs.js.map +1 -0
- package/dist/core/MetricBox.js +5 -0
- package/dist/core/MetricBox.js.map +1 -0
- package/dist/core/Modal-BhQJOhWV.js +162 -0
- package/dist/core/Modal-BhQJOhWV.js.map +1 -0
- package/dist/core/Modal-CI2snbvk.cjs +161 -0
- package/dist/core/Modal-CI2snbvk.cjs.map +1 -0
- package/dist/core/Modal.cjs.js +4 -0
- package/dist/core/Modal.cjs.js.map +1 -0
- package/dist/core/Modal.js +5 -0
- package/dist/core/Modal.js.map +1 -0
- package/dist/core/NavBar-BAHSDPtT.js +120 -0
- package/dist/core/NavBar-BAHSDPtT.js.map +1 -0
- package/dist/core/NavBar-C5UMiYpA.cjs +119 -0
- package/dist/core/NavBar-C5UMiYpA.cjs.map +1 -0
- package/dist/core/NavBar.cjs.js +4 -0
- package/dist/core/NavBar.cjs.js.map +1 -0
- package/dist/core/NavBar.js +5 -0
- package/dist/core/NavBar.js.map +1 -0
- package/dist/core/NotificationCenter-Bp7AqnTg.js +340 -0
- package/dist/core/NotificationCenter-Bp7AqnTg.js.map +1 -0
- package/dist/core/NotificationCenter-DxaqoUD1.cjs +339 -0
- package/dist/core/NotificationCenter-DxaqoUD1.cjs.map +1 -0
- package/dist/core/NotificationCenter.cjs.js +6 -0
- package/dist/core/NotificationCenter.cjs.js.map +1 -0
- package/dist/core/NotificationCenter.js +6 -0
- package/dist/core/NotificationCenter.js.map +1 -0
- package/dist/core/Pager-2jW3cxx_.js +166 -0
- package/dist/core/Pager-2jW3cxx_.js.map +1 -0
- package/dist/core/Pager-ByVG_at-.cjs +165 -0
- package/dist/core/Pager-ByVG_at-.cjs.map +1 -0
- package/dist/core/Pager.cjs.js +4 -0
- package/dist/core/Pager.cjs.js.map +1 -0
- package/dist/core/Pager.js +5 -0
- package/dist/core/Pager.js.map +1 -0
- package/dist/core/PopOver-DNqWcWjU.js +187 -0
- package/dist/core/PopOver-DNqWcWjU.js.map +1 -0
- package/dist/core/PopOver-OijKNHZU.cjs +186 -0
- package/dist/core/PopOver-OijKNHZU.cjs.map +1 -0
- package/dist/core/PopOver.cjs.js +4 -0
- package/dist/core/PopOver.cjs.js.map +1 -0
- package/dist/core/PopOver.js +5 -0
- package/dist/core/PopOver.js.map +1 -0
- package/dist/core/ProgressBar-CuIHF5N0.js +99 -0
- package/dist/core/ProgressBar-CuIHF5N0.js.map +1 -0
- package/dist/core/ProgressBar-PiSFvLwa.cjs +98 -0
- package/dist/core/ProgressBar-PiSFvLwa.cjs.map +1 -0
- package/dist/core/ProgressBar.cjs.js +4 -0
- package/dist/core/ProgressBar.cjs.js.map +1 -0
- package/dist/core/ProgressBar.js +5 -0
- package/dist/core/ProgressBar.js.map +1 -0
- package/dist/core/RadioButton-DP8HSNZD.cjs +114 -0
- package/dist/core/RadioButton-DP8HSNZD.cjs.map +1 -0
- package/dist/core/RadioButton-DTPBlw1t.js +115 -0
- package/dist/core/RadioButton-DTPBlw1t.js.map +1 -0
- package/dist/core/RadioButton.cjs.js +4 -0
- package/dist/core/RadioButton.cjs.js.map +1 -0
- package/dist/core/RadioButton.js +5 -0
- package/dist/core/RadioButton.js.map +1 -0
- package/dist/core/Rating-Jx3DBFOd.cjs +146 -0
- package/dist/core/Rating-Jx3DBFOd.cjs.map +1 -0
- package/dist/core/Rating-QF5O1MFS.js +147 -0
- package/dist/core/Rating-QF5O1MFS.js.map +1 -0
- package/dist/core/Rating.cjs.js +4 -0
- package/dist/core/Rating.cjs.js.map +1 -0
- package/dist/core/Rating.js +5 -0
- package/dist/core/Rating.js.map +1 -0
- package/dist/core/STT-D6L-amjZ.cjs +95 -0
- package/dist/core/STT-D6L-amjZ.cjs.map +1 -0
- package/dist/core/STT-aXWWubSC.js +96 -0
- package/dist/core/STT-aXWWubSC.js.map +1 -0
- package/dist/core/ScrollToTop.cjs.js +4 -0
- package/dist/core/ScrollToTop.cjs.js.map +1 -0
- package/dist/core/ScrollToTop.js +5 -0
- package/dist/core/ScrollToTop.js.map +1 -0
- package/dist/core/Select-9F6p9ghR.cjs +184 -0
- package/dist/core/Select-9F6p9ghR.cjs.map +1 -0
- package/dist/core/Select-C4a_4B87.js +185 -0
- package/dist/core/Select-C4a_4B87.js.map +1 -0
- package/dist/core/Select.cjs.js +4 -0
- package/dist/core/Select.cjs.js.map +1 -0
- package/dist/core/Select.js +5 -0
- package/dist/core/Select.js.map +1 -0
- package/dist/core/Skeleton-BniIVZmx.js +70 -0
- package/dist/core/Skeleton-BniIVZmx.js.map +1 -0
- package/dist/core/Skeleton-CeMwLgnq.cjs +69 -0
- package/dist/core/Skeleton-CeMwLgnq.cjs.map +1 -0
- package/dist/core/Skeleton.cjs.js +4 -0
- package/dist/core/Skeleton.cjs.js.map +1 -0
- package/dist/core/Skeleton.js +5 -0
- package/dist/core/Skeleton.js.map +1 -0
- package/dist/core/Slider-DZycGDIY.cjs +116 -0
- package/dist/core/Slider-DZycGDIY.cjs.map +1 -0
- package/dist/core/Slider-QEwgd0le.js +117 -0
- package/dist/core/Slider-QEwgd0le.js.map +1 -0
- package/dist/core/Slider.cjs.js +4 -0
- package/dist/core/Slider.cjs.js.map +1 -0
- package/dist/core/Slider.js +5 -0
- package/dist/core/Slider.js.map +1 -0
- package/dist/core/Spinner-BTmQ7ZN9.cjs +101 -0
- package/dist/core/Spinner-BTmQ7ZN9.cjs.map +1 -0
- package/dist/core/Spinner-DGF0pR7I.js +102 -0
- package/dist/core/Spinner-DGF0pR7I.js.map +1 -0
- package/dist/core/Spinner.cjs.js +4 -0
- package/dist/core/Spinner.cjs.js.map +1 -0
- package/dist/core/Spinner.js +5 -0
- package/dist/core/Spinner.js.map +1 -0
- package/dist/core/Stepper-BkmPckKd.cjs +146 -0
- package/dist/core/Stepper-BkmPckKd.cjs.map +1 -0
- package/dist/core/Stepper-PjUFCUBG.js +147 -0
- package/dist/core/Stepper-PjUFCUBG.js.map +1 -0
- package/dist/core/Stepper.cjs.js +4 -0
- package/dist/core/Stepper.cjs.js.map +1 -0
- package/dist/core/Stepper.js +5 -0
- package/dist/core/Stepper.js.map +1 -0
- package/dist/core/Tabs-DptKFvPK.cjs +163 -0
- package/dist/core/Tabs-DptKFvPK.cjs.map +1 -0
- package/dist/core/Tabs-gpyaJFUs.js +164 -0
- package/dist/core/Tabs-gpyaJFUs.js.map +1 -0
- package/dist/core/Tabs.cjs.js +4 -0
- package/dist/core/Tabs.cjs.js.map +1 -0
- package/dist/core/Tabs.js +5 -0
- package/dist/core/Tabs.js.map +1 -0
- package/dist/core/TagInput.cjs.js +4 -0
- package/dist/core/TagInput.cjs.js.map +1 -0
- package/dist/core/TagInput.js +5 -0
- package/dist/core/TagInput.js.map +1 -0
- package/dist/core/Taginput-BMPHihSz.cjs +244 -0
- package/dist/core/Taginput-BMPHihSz.cjs.map +1 -0
- package/dist/core/Taginput-CrScreYL.js +245 -0
- package/dist/core/Taginput-CrScreYL.js.map +1 -0
- package/dist/core/TextArea-B88b8dFf.js +125 -0
- package/dist/core/TextArea-B88b8dFf.js.map +1 -0
- package/dist/core/TextArea-CxJexFDv.cjs +124 -0
- package/dist/core/TextArea-CxJexFDv.cjs.map +1 -0
- package/dist/core/TextArea.cjs.js +4 -0
- package/dist/core/TextArea.cjs.js.map +1 -0
- package/dist/core/TextArea.js +5 -0
- package/dist/core/TextArea.js.map +1 -0
- package/dist/core/TextInput-8AbKEfUH.cjs +241 -0
- package/dist/core/TextInput-8AbKEfUH.cjs.map +1 -0
- package/dist/core/TextInput-CtI8fsXR.js +242 -0
- package/dist/core/TextInput-CtI8fsXR.js.map +1 -0
- package/dist/core/TextInput.cjs.js +4 -0
- package/dist/core/TextInput.cjs.js.map +1 -0
- package/dist/core/TextInput.js +5 -0
- package/dist/core/TextInput.js.map +1 -0
- package/dist/core/ThemeContext-Bo0vLczy.js +148 -0
- package/dist/core/ThemeContext-Bo0vLczy.js.map +1 -0
- package/dist/core/ThemeContext-CtZXUeeU.cjs +147 -0
- package/dist/core/ThemeContext-CtZXUeeU.cjs.map +1 -0
- package/dist/core/ThemeProvider.cjs.js +6 -0
- package/dist/core/ThemeProvider.cjs.js.map +1 -0
- package/dist/core/ThemeProvider.js +6 -0
- package/dist/core/ThemeProvider.js.map +1 -0
- package/dist/core/Timeline-D7fd8-u_.js +147 -0
- package/dist/core/Timeline-D7fd8-u_.js.map +1 -0
- package/dist/core/Timeline-Dk0q-8BZ.cjs +146 -0
- package/dist/core/Timeline-Dk0q-8BZ.cjs.map +1 -0
- package/dist/core/Timeline.cjs.js +4 -0
- package/dist/core/Timeline.cjs.js.map +1 -0
- package/dist/core/Timeline.js +5 -0
- package/dist/core/Timeline.js.map +1 -0
- package/dist/core/Toggle-CZftIdc3.js +121 -0
- package/dist/core/Toggle-CZftIdc3.js.map +1 -0
- package/dist/core/Toggle-v31rt4Ya.cjs +120 -0
- package/dist/core/Toggle-v31rt4Ya.cjs.map +1 -0
- package/dist/core/Toggle.cjs.js +4 -0
- package/dist/core/Toggle.cjs.js.map +1 -0
- package/dist/core/Toggle.js +5 -0
- package/dist/core/Toggle.js.map +1 -0
- package/dist/core/Toolbar-94Pu5-SL.js +125 -0
- package/dist/core/Toolbar-94Pu5-SL.js.map +1 -0
- package/dist/core/Toolbar-Cg_ofRqY.cjs +124 -0
- package/dist/core/Toolbar-Cg_ofRqY.cjs.map +1 -0
- package/dist/core/Toolbar.cjs.js +4 -0
- package/dist/core/Toolbar.cjs.js.map +1 -0
- package/dist/core/Toolbar.js +5 -0
- package/dist/core/Toolbar.js.map +1 -0
- package/dist/core/Tooltip-5SfsTZvz.cjs +105 -0
- package/dist/core/Tooltip-5SfsTZvz.cjs.map +1 -0
- package/dist/core/Tooltip-XfsZnGgV.js +106 -0
- package/dist/core/Tooltip-XfsZnGgV.js.map +1 -0
- package/dist/core/Tooltip.cjs.js +4 -0
- package/dist/core/Tooltip.cjs.js.map +1 -0
- package/dist/core/Tooltip.js +5 -0
- package/dist/core/Tooltip.js.map +1 -0
- package/dist/core/boreal-style-config-BILmxkZG.js +25 -0
- package/dist/core/boreal-style-config-BILmxkZG.js.map +1 -0
- package/dist/core/boreal-style-config-Rr5d5Qts.cjs +24 -0
- package/dist/core/boreal-style-config-Rr5d5Qts.cjs.map +1 -0
- package/dist/core/capitalize-C0TSQSPh.js +5 -0
- package/dist/core/capitalize-C0TSQSPh.js.map +1 -0
- package/dist/core/capitalize-DoV-nOmN.cjs +4 -0
- package/dist/core/capitalize-DoV-nOmN.cjs.map +1 -0
- package/dist/core/classNames-AS8QjFq7.js +7 -0
- package/dist/core/classNames-AS8QjFq7.js.map +1 -0
- package/dist/core/classNames-BcWMx052.cjs +6 -0
- package/dist/core/classNames-BcWMx052.cjs.map +1 -0
- package/dist/core/colorSchemes.cjs.js +78 -0
- package/dist/core/colorSchemes.cjs.js.map +1 -0
- package/dist/core/colorSchemes.js +78 -0
- package/dist/core/colorSchemes.js.map +1 -0
- package/dist/core/index.cjs.js +208 -0
- package/dist/core/index.cjs.js.map +1 -0
- package/dist/core/index.js +208 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/registerColorSheme-BPX0H7hl.js +21 -0
- package/dist/core/registerColorSheme-BPX0H7hl.js.map +1 -0
- package/dist/core/registerColorSheme-nhYu5hbY.cjs +20 -0
- package/dist/core/registerColorSheme-nhYu5hbY.cjs.map +1 -0
- package/dist/core/registerColorSheme.cjs.js +5 -0
- package/dist/core/registerColorSheme.cjs.js.map +1 -0
- package/dist/core/registerColorSheme.js +5 -0
- package/dist/core/registerColorSheme.js.map +1 -0
- package/dist/core/style.css +26949 -0
- package/dist/next/Accordion-BD-HsAos.cjs +267 -0
- package/dist/next/Accordion-BD-HsAos.cjs.map +1 -0
- package/dist/next/Accordion-Bu2IAjE6.js +268 -0
- package/dist/next/Accordion-Bu2IAjE6.js.map +1 -0
- package/dist/next/Accordion.cjs.js +4 -0
- package/dist/next/Accordion.cjs.js.map +1 -0
- package/dist/next/Accordion.js +5 -0
- package/dist/next/Accordion.js.map +1 -0
- package/dist/next/ArrowRightIcon-BVb75OpX.cjs +26 -0
- package/dist/next/ArrowRightIcon-BVb75OpX.cjs.map +1 -0
- package/dist/next/ArrowRightIcon-BYQv5XS8.js +27 -0
- package/dist/next/ArrowRightIcon-BYQv5XS8.js.map +1 -0
- package/dist/next/Avatar-B0KvtR9U.js +277 -0
- package/dist/next/Avatar-B0KvtR9U.js.map +1 -0
- package/dist/next/Avatar-s6BrkUFC.cjs +276 -0
- package/dist/next/Avatar-s6BrkUFC.cjs.map +1 -0
- package/dist/next/Avatar.cjs.js +4 -0
- package/dist/next/Avatar.cjs.js.map +1 -0
- package/dist/next/Avatar.js +5 -0
- package/dist/next/Avatar.js.map +1 -0
- package/dist/next/Badge-CnKwIP4u.cjs +138 -0
- package/dist/next/Badge-CnKwIP4u.cjs.map +1 -0
- package/dist/next/Badge-WWxkzKOl.js +139 -0
- package/dist/next/Badge-WWxkzKOl.js.map +1 -0
- package/dist/next/Badge.cjs.js +4 -0
- package/dist/next/Badge.cjs.js.map +1 -0
- package/dist/next/Badge.js +5 -0
- package/dist/next/Badge.js.map +1 -0
- package/dist/next/Breadcrumbs-BRfPnjv3.js +212 -0
- package/dist/next/Breadcrumbs-BRfPnjv3.js.map +1 -0
- package/dist/next/Breadcrumbs-DCPl_wHY.cjs +211 -0
- package/dist/next/Breadcrumbs-DCPl_wHY.cjs.map +1 -0
- package/dist/next/Breadcrumbs.cjs.js +6 -0
- package/dist/next/Breadcrumbs.cjs.js.map +1 -0
- package/dist/next/Breadcrumbs.js +6 -0
- package/dist/next/Breadcrumbs.js.map +1 -0
- package/dist/next/Button-BpVwB1WA.js +208 -0
- package/dist/next/Button-BpVwB1WA.js.map +1 -0
- package/dist/next/Button-DUh0L7vy.cjs +207 -0
- package/dist/next/Button-DUh0L7vy.cjs.map +1 -0
- package/dist/next/Button.cjs.js +4 -0
- package/dist/next/Button.cjs.js.map +1 -0
- package/dist/next/Button.js +5 -0
- package/dist/next/Button.js.map +1 -0
- package/dist/next/Card-BjYztK13.cjs +294 -0
- package/dist/next/Card-BjYztK13.cjs.map +1 -0
- package/dist/next/Card-RBCzxSIj.js +295 -0
- package/dist/next/Card-RBCzxSIj.js.map +1 -0
- package/dist/next/Card.cjs.js +4 -0
- package/dist/next/Card.cjs.js.map +1 -0
- package/dist/next/Card.js +5 -0
- package/dist/next/Card.js.map +1 -0
- package/dist/next/CheckBox.cjs.js +4 -0
- package/dist/next/CheckBox.cjs.js.map +1 -0
- package/dist/next/CheckBox.js +5 -0
- package/dist/next/CheckBox.js.map +1 -0
- package/dist/next/Checkbox-COcqcXOD.cjs +192 -0
- package/dist/next/Checkbox-COcqcXOD.cjs.map +1 -0
- package/dist/next/Checkbox-kWrAB9F7.js +193 -0
- package/dist/next/Checkbox-kWrAB9F7.js.map +1 -0
- package/dist/next/Chip-BwyYgH0p.cjs +200 -0
- package/dist/next/Chip-BwyYgH0p.cjs.map +1 -0
- package/dist/next/Chip-YKbysMqv.js +201 -0
- package/dist/next/Chip-YKbysMqv.js.map +1 -0
- package/dist/next/Chip.cjs.js +4 -0
- package/dist/next/Chip.cjs.js.map +1 -0
- package/dist/next/Chip.js +5 -0
- package/dist/next/Chip.js.map +1 -0
- package/dist/next/CircularProgress-CYo_VUG7.js +155 -0
- package/dist/next/CircularProgress-CYo_VUG7.js.map +1 -0
- package/dist/next/CircularProgress-DXC_JBTG.cjs +154 -0
- package/dist/next/CircularProgress-DXC_JBTG.cjs.map +1 -0
- package/dist/next/CircularProgress.cjs.js +4 -0
- package/dist/next/CircularProgress.cjs.js.map +1 -0
- package/dist/next/CircularProgress.js +5 -0
- package/dist/next/CircularProgress.js.map +1 -0
- package/dist/next/CloseIcon-7hy4qJ9o.cjs +27 -0
- package/dist/next/CloseIcon-7hy4qJ9o.cjs.map +1 -0
- package/dist/next/CloseIcon-C3eQm4EK.js +28 -0
- package/dist/next/CloseIcon-C3eQm4EK.js.map +1 -0
- package/dist/next/ColorPicker-C-klUf3G.cjs +158 -0
- package/dist/next/ColorPicker-C-klUf3G.cjs.map +1 -0
- package/dist/next/ColorPicker-Ub3qNdeF.js +159 -0
- package/dist/next/ColorPicker-Ub3qNdeF.js.map +1 -0
- package/dist/next/ColorPicker.cjs.js +4 -0
- package/dist/next/ColorPicker.cjs.js.map +1 -0
- package/dist/next/ColorPicker.js +5 -0
- package/dist/next/ColorPicker.js.map +1 -0
- package/dist/next/CommandPalette-BAxyNfRu.cjs +275 -0
- package/dist/next/CommandPalette-BAxyNfRu.cjs.map +1 -0
- package/dist/next/CommandPalette-Dm_njW12.js +276 -0
- package/dist/next/CommandPalette-Dm_njW12.js.map +1 -0
- package/dist/next/CommandPalette.cjs.js +4 -0
- package/dist/next/CommandPalette.cjs.js.map +1 -0
- package/dist/next/CommandPalette.js +5 -0
- package/dist/next/CommandPalette.js.map +1 -0
- package/dist/next/DataTable-9JLEi0CK.cjs +214 -0
- package/dist/next/DataTable-9JLEi0CK.cjs.map +1 -0
- package/dist/next/DataTable-D5ffcx-L.js +215 -0
- package/dist/next/DataTable-D5ffcx-L.js.map +1 -0
- package/dist/next/DataTable.cjs.js +4 -0
- package/dist/next/DataTable.cjs.js.map +1 -0
- package/dist/next/DataTable.js +5 -0
- package/dist/next/DataTable.js.map +1 -0
- package/dist/next/DateTimePicker-C2-or1uL.js +221 -0
- package/dist/next/DateTimePicker-C2-or1uL.js.map +1 -0
- package/dist/next/DateTimePicker-CoTQNBzD.cjs +220 -0
- package/dist/next/DateTimePicker-CoTQNBzD.cjs.map +1 -0
- package/dist/next/DateTimePicker.cjs.js +4 -0
- package/dist/next/DateTimePicker.cjs.js.map +1 -0
- package/dist/next/DateTimePicker.js +5 -0
- package/dist/next/DateTimePicker.js.map +1 -0
- package/dist/next/Divider-BlJMteki.cjs +82 -0
- package/dist/next/Divider-BlJMteki.cjs.map +1 -0
- package/dist/next/Divider-g7VS0Sbx.js +83 -0
- package/dist/next/Divider-g7VS0Sbx.js.map +1 -0
- package/dist/next/Divider.cjs.js +4 -0
- package/dist/next/Divider.cjs.js.map +1 -0
- package/dist/next/Divider.js +5 -0
- package/dist/next/Divider.js.map +1 -0
- package/dist/next/Dropdown-D-Jhdu_7.js +262 -0
- package/dist/next/Dropdown-D-Jhdu_7.js.map +1 -0
- package/dist/next/Dropdown-D2p7q140.cjs +261 -0
- package/dist/next/Dropdown-D2p7q140.cjs.map +1 -0
- package/dist/next/Dropdown.cjs.js +4 -0
- package/dist/next/Dropdown.cjs.js.map +1 -0
- package/dist/next/Dropdown.js +5 -0
- package/dist/next/Dropdown.js.map +1 -0
- package/dist/next/EmptyState-C6dGNF-O.js +148 -0
- package/dist/next/EmptyState-C6dGNF-O.js.map +1 -0
- package/dist/next/EmptyState-CBGawc9S.cjs +147 -0
- package/dist/next/EmptyState-CBGawc9S.cjs.map +1 -0
- package/dist/next/EmptyState.cjs.js +4 -0
- package/dist/next/EmptyState.cjs.js.map +1 -0
- package/dist/next/EmptyState.js +5 -0
- package/dist/next/EmptyState.js.map +1 -0
- package/dist/next/FileUpload-BOSrZhPq.js +448 -0
- package/dist/next/FileUpload-BOSrZhPq.js.map +1 -0
- package/dist/next/FileUpload-D65wKrsD.cjs +447 -0
- package/dist/next/FileUpload-D65wKrsD.cjs.map +1 -0
- package/dist/next/FileUpload.cjs.js +4 -0
- package/dist/next/FileUpload.cjs.js.map +1 -0
- package/dist/next/FileUpload.js +5 -0
- package/dist/next/FileUpload.js.map +1 -0
- package/dist/next/Footer-CdCqa4Pz.js +259 -0
- package/dist/next/Footer-CdCqa4Pz.js.map +1 -0
- package/dist/next/Footer-J5Q_SSa-.cjs +258 -0
- package/dist/next/Footer-J5Q_SSa-.cjs.map +1 -0
- package/dist/next/Footer.cjs.js +4 -0
- package/dist/next/Footer.cjs.js.map +1 -0
- package/dist/next/Footer.js +5 -0
- package/dist/next/Footer.js.map +1 -0
- package/dist/next/FormGroup-BAtifQGH.cjs +164 -0
- package/dist/next/FormGroup-BAtifQGH.cjs.map +1 -0
- package/dist/next/FormGroup-DuBfLAMv.js +165 -0
- package/dist/next/FormGroup-DuBfLAMv.js.map +1 -0
- package/dist/next/FormGroup.cjs.js +4 -0
- package/dist/next/FormGroup.cjs.js.map +1 -0
- package/dist/next/FormGroup.js +5 -0
- package/dist/next/FormGroup.js.map +1 -0
- package/dist/next/IconButton-EbX_9a0k.js +186 -0
- package/dist/next/IconButton-EbX_9a0k.js.map +1 -0
- package/dist/next/IconButton-mY_E1gsn.cjs +185 -0
- package/dist/next/IconButton-mY_E1gsn.cjs.map +1 -0
- package/dist/next/IconButton.cjs.js +4 -0
- package/dist/next/IconButton.cjs.js.map +1 -0
- package/dist/next/IconButton.js +5 -0
- package/dist/next/IconButton.js.map +1 -0
- package/dist/next/MarkdownRenderer-B-WThNR7.cjs +89 -0
- package/dist/next/MarkdownRenderer-B-WThNR7.cjs.map +1 -0
- package/dist/next/MarkdownRenderer-CxJOetSp.js +90 -0
- package/dist/next/MarkdownRenderer-CxJOetSp.js.map +1 -0
- package/dist/next/MarkdownRenderer.cjs.js +4 -0
- package/dist/next/MarkdownRenderer.cjs.js.map +1 -0
- package/dist/next/MarkdownRenderer.js +5 -0
- package/dist/next/MarkdownRenderer.js.map +1 -0
- package/dist/next/MessagePopUp.cjs.js +4 -0
- package/dist/next/MessagePopUp.cjs.js.map +1 -0
- package/dist/next/MessagePopUp.js +5 -0
- package/dist/next/MessagePopUp.js.map +1 -0
- package/dist/next/MessagePopup-BL_Tp51e.js +202 -0
- package/dist/next/MessagePopup-BL_Tp51e.js.map +1 -0
- package/dist/next/MessagePopup-DuXLVt2z.cjs +201 -0
- package/dist/next/MessagePopup-DuXLVt2z.cjs.map +1 -0
- package/dist/next/MetricBox-Dtkrwrtw.cjs +175 -0
- package/dist/next/MetricBox-Dtkrwrtw.cjs.map +1 -0
- package/dist/next/MetricBox-rxFYolH_.js +176 -0
- package/dist/next/MetricBox-rxFYolH_.js.map +1 -0
- package/dist/next/MetricBox.cjs.js +4 -0
- package/dist/next/MetricBox.cjs.js.map +1 -0
- package/dist/next/MetricBox.js +5 -0
- package/dist/next/MetricBox.js.map +1 -0
- package/dist/next/Modal-Cr3uE4Wi.cjs +177 -0
- package/dist/next/Modal-Cr3uE4Wi.cjs.map +1 -0
- package/dist/next/Modal-DkAYQaOH.js +178 -0
- package/dist/next/Modal-DkAYQaOH.js.map +1 -0
- package/dist/next/Modal.cjs.js +4 -0
- package/dist/next/Modal.cjs.js.map +1 -0
- package/dist/next/Modal.js +5 -0
- package/dist/next/Modal.js.map +1 -0
- package/dist/next/NavBar-CsrYdWSV.js +2131 -0
- package/dist/next/NavBar-CsrYdWSV.js.map +1 -0
- package/dist/next/NavBar-CyInu_3I.cjs +2130 -0
- package/dist/next/NavBar-CyInu_3I.cjs.map +1 -0
- package/dist/next/NavBar.cjs.js +4 -0
- package/dist/next/NavBar.cjs.js.map +1 -0
- package/dist/next/NavBar.js +5 -0
- package/dist/next/NavBar.js.map +1 -0
- package/dist/next/NotificationCenter-BGc41ims.js +376 -0
- package/dist/next/NotificationCenter-BGc41ims.js.map +1 -0
- package/dist/next/NotificationCenter-BTcM5bCY.cjs +375 -0
- package/dist/next/NotificationCenter-BTcM5bCY.cjs.map +1 -0
- package/dist/next/NotificationCenter.cjs.js +6 -0
- package/dist/next/NotificationCenter.cjs.js.map +1 -0
- package/dist/next/NotificationCenter.js +6 -0
- package/dist/next/NotificationCenter.js.map +1 -0
- package/dist/next/Pager-0B36P0k1.js +167 -0
- package/dist/next/Pager-0B36P0k1.js.map +1 -0
- package/dist/next/Pager-CRAgN3LJ.cjs +166 -0
- package/dist/next/Pager-CRAgN3LJ.cjs.map +1 -0
- package/dist/next/Pager.cjs.js +4 -0
- package/dist/next/Pager.cjs.js.map +1 -0
- package/dist/next/Pager.js +5 -0
- package/dist/next/Pager.js.map +1 -0
- package/dist/next/PopOver-CHs0s9rp.cjs +233 -0
- package/dist/next/PopOver-CHs0s9rp.cjs.map +1 -0
- package/dist/next/PopOver-pllmYvp6.js +234 -0
- package/dist/next/PopOver-pllmYvp6.js.map +1 -0
- package/dist/next/PopOver.cjs.js +4 -0
- package/dist/next/PopOver.cjs.js.map +1 -0
- package/dist/next/PopOver.js +5 -0
- package/dist/next/PopOver.js.map +1 -0
- package/dist/next/ProgressBar-Cvf0uNKW.cjs +147 -0
- package/dist/next/ProgressBar-Cvf0uNKW.cjs.map +1 -0
- package/dist/next/ProgressBar-D_fi1WW3.js +148 -0
- package/dist/next/ProgressBar-D_fi1WW3.js.map +1 -0
- package/dist/next/ProgressBar.cjs.js +4 -0
- package/dist/next/ProgressBar.cjs.js.map +1 -0
- package/dist/next/ProgressBar.js +5 -0
- package/dist/next/ProgressBar.js.map +1 -0
- package/dist/next/RadioButton-BKS65jm9.js +160 -0
- package/dist/next/RadioButton-BKS65jm9.js.map +1 -0
- package/dist/next/RadioButton-cXdUfJD2.cjs +159 -0
- package/dist/next/RadioButton-cXdUfJD2.cjs.map +1 -0
- package/dist/next/RadioButton.cjs.js +4 -0
- package/dist/next/RadioButton.cjs.js.map +1 -0
- package/dist/next/RadioButton.js +5 -0
- package/dist/next/RadioButton.js.map +1 -0
- package/dist/next/Rating-BjN0Sj0r.cjs +177 -0
- package/dist/next/Rating-BjN0Sj0r.cjs.map +1 -0
- package/dist/next/Rating-Bs7oCe4w.js +178 -0
- package/dist/next/Rating-Bs7oCe4w.js.map +1 -0
- package/dist/next/Rating.cjs.js +4 -0
- package/dist/next/Rating.cjs.js.map +1 -0
- package/dist/next/Rating.js +5 -0
- package/dist/next/Rating.js.map +1 -0
- package/dist/next/STT-Br81yPXp.js +110 -0
- package/dist/next/STT-Br81yPXp.js.map +1 -0
- package/dist/next/STT-C0q3yqiJ.cjs +109 -0
- package/dist/next/STT-C0q3yqiJ.cjs.map +1 -0
- package/dist/next/ScrollToTop.cjs.js +4 -0
- package/dist/next/ScrollToTop.cjs.js.map +1 -0
- package/dist/next/ScrollToTop.js +5 -0
- package/dist/next/ScrollToTop.js.map +1 -0
- package/dist/next/Select-DwWTQcCU.js +230 -0
- package/dist/next/Select-DwWTQcCU.js.map +1 -0
- package/dist/next/Select-_f1aZuKO.cjs +229 -0
- package/dist/next/Select-_f1aZuKO.cjs.map +1 -0
- package/dist/next/Select.cjs.js +4 -0
- package/dist/next/Select.cjs.js.map +1 -0
- package/dist/next/Select.js +5 -0
- package/dist/next/Select.js.map +1 -0
- package/dist/next/Skeleton-BWBHgsOM.js +104 -0
- package/dist/next/Skeleton-BWBHgsOM.js.map +1 -0
- package/dist/next/Skeleton-CMuXs5GO.cjs +103 -0
- package/dist/next/Skeleton-CMuXs5GO.cjs.map +1 -0
- package/dist/next/Skeleton.cjs.js +4 -0
- package/dist/next/Skeleton.cjs.js.map +1 -0
- package/dist/next/Skeleton.js +5 -0
- package/dist/next/Skeleton.js.map +1 -0
- package/dist/next/Slider-B5BJJyaD.js +160 -0
- package/dist/next/Slider-B5BJJyaD.js.map +1 -0
- package/dist/next/Slider-DbxNKdGq.cjs +159 -0
- package/dist/next/Slider-DbxNKdGq.cjs.map +1 -0
- package/dist/next/Slider.cjs.js +4 -0
- package/dist/next/Slider.cjs.js.map +1 -0
- package/dist/next/Slider.js +5 -0
- package/dist/next/Slider.js.map +1 -0
- package/dist/next/Spinner-BxvU43sx.js +140 -0
- package/dist/next/Spinner-BxvU43sx.js.map +1 -0
- package/dist/next/Spinner-Doh4Uft1.cjs +139 -0
- package/dist/next/Spinner-Doh4Uft1.cjs.map +1 -0
- package/dist/next/Spinner.cjs.js +4 -0
- package/dist/next/Spinner.cjs.js.map +1 -0
- package/dist/next/Spinner.js +5 -0
- package/dist/next/Spinner.js.map +1 -0
- package/dist/next/Stepper-CQaWoBJ2.cjs +196 -0
- package/dist/next/Stepper-CQaWoBJ2.cjs.map +1 -0
- package/dist/next/Stepper-DGbO-fUh.js +197 -0
- package/dist/next/Stepper-DGbO-fUh.js.map +1 -0
- package/dist/next/Stepper.cjs.js +4 -0
- package/dist/next/Stepper.cjs.js.map +1 -0
- package/dist/next/Stepper.js +5 -0
- package/dist/next/Stepper.js.map +1 -0
- package/dist/next/Tabs-CNU0A_YY.js +215 -0
- package/dist/next/Tabs-CNU0A_YY.js.map +1 -0
- package/dist/next/Tabs-DuZPFjen.cjs +214 -0
- package/dist/next/Tabs-DuZPFjen.cjs.map +1 -0
- package/dist/next/Tabs.cjs.js +4 -0
- package/dist/next/Tabs.cjs.js.map +1 -0
- package/dist/next/Tabs.js +5 -0
- package/dist/next/Tabs.js.map +1 -0
- package/dist/next/TagInput.cjs.js +4 -0
- package/dist/next/TagInput.cjs.js.map +1 -0
- package/dist/next/TagInput.js +5 -0
- package/dist/next/TagInput.js.map +1 -0
- package/dist/next/Taginput-Bppb5ahN.js +297 -0
- package/dist/next/Taginput-Bppb5ahN.js.map +1 -0
- package/dist/next/Taginput-DAZs0PlQ.cjs +296 -0
- package/dist/next/Taginput-DAZs0PlQ.cjs.map +1 -0
- package/dist/next/TextArea-CRo_5ZL_.cjs +147 -0
- package/dist/next/TextArea-CRo_5ZL_.cjs.map +1 -0
- package/dist/next/TextArea-W9ekr3ij.js +148 -0
- package/dist/next/TextArea-W9ekr3ij.js.map +1 -0
- package/dist/next/TextArea.cjs.js +4 -0
- package/dist/next/TextArea.cjs.js.map +1 -0
- package/dist/next/TextArea.js +5 -0
- package/dist/next/TextArea.js.map +1 -0
- package/dist/next/TextInput-D2cpcHhQ.cjs +281 -0
- package/dist/next/TextInput-D2cpcHhQ.cjs.map +1 -0
- package/dist/next/TextInput-DLROLZ7j.js +282 -0
- package/dist/next/TextInput-DLROLZ7j.js.map +1 -0
- package/dist/next/TextInput.cjs.js +4 -0
- package/dist/next/TextInput.cjs.js.map +1 -0
- package/dist/next/TextInput.js +5 -0
- package/dist/next/TextInput.js.map +1 -0
- package/dist/next/ThemeContext-BNR3_OIq.cjs +147 -0
- package/dist/next/ThemeContext-BNR3_OIq.cjs.map +1 -0
- package/dist/next/ThemeContext-Bo0vLczy.js +148 -0
- package/dist/next/ThemeContext-Bo0vLczy.js.map +1 -0
- package/dist/next/ThemeProvider.cjs.js +6 -0
- package/dist/next/ThemeProvider.cjs.js.map +1 -0
- package/dist/next/ThemeProvider.js +6 -0
- package/dist/next/ThemeProvider.js.map +1 -0
- package/dist/next/Timeline-36_Qy1-m.cjs +190 -0
- package/dist/next/Timeline-36_Qy1-m.cjs.map +1 -0
- package/dist/next/Timeline-EnwGQ4Mi.js +191 -0
- package/dist/next/Timeline-EnwGQ4Mi.js.map +1 -0
- package/dist/next/Timeline.cjs.js +4 -0
- package/dist/next/Timeline.cjs.js.map +1 -0
- package/dist/next/Timeline.js +5 -0
- package/dist/next/Timeline.js.map +1 -0
- package/dist/next/Toggle-CU7I_vjc.cjs +150 -0
- package/dist/next/Toggle-CU7I_vjc.cjs.map +1 -0
- package/dist/next/Toggle-R5pWM7gk.js +151 -0
- package/dist/next/Toggle-R5pWM7gk.js.map +1 -0
- package/dist/next/Toggle.cjs.js +4 -0
- package/dist/next/Toggle.cjs.js.map +1 -0
- package/dist/next/Toggle.js +5 -0
- package/dist/next/Toggle.js.map +1 -0
- package/dist/next/Toolbar-D05Q3wYG.cjs +165 -0
- package/dist/next/Toolbar-D05Q3wYG.cjs.map +1 -0
- package/dist/next/Toolbar-vNJ46DTU.js +166 -0
- package/dist/next/Toolbar-vNJ46DTU.js.map +1 -0
- package/dist/next/Toolbar.cjs.js +4 -0
- package/dist/next/Toolbar.cjs.js.map +1 -0
- package/dist/next/Toolbar.js +5 -0
- package/dist/next/Toolbar.js.map +1 -0
- package/dist/next/Tooltip-DHhLeygn.cjs +150 -0
- package/dist/next/Tooltip-DHhLeygn.cjs.map +1 -0
- package/dist/next/Tooltip-G3P0OyTP.js +151 -0
- package/dist/next/Tooltip-G3P0OyTP.js.map +1 -0
- package/dist/next/Tooltip.cjs.js +4 -0
- package/dist/next/Tooltip.cjs.js.map +1 -0
- package/dist/next/Tooltip.js +5 -0
- package/dist/next/Tooltip.js.map +1 -0
- package/dist/next/boreal-style-config-BILmxkZG.js +25 -0
- package/dist/next/boreal-style-config-BILmxkZG.js.map +1 -0
- package/dist/next/boreal-style-config-Rr5d5Qts.cjs +24 -0
- package/dist/next/boreal-style-config-Rr5d5Qts.cjs.map +1 -0
- package/dist/next/capitalize-C0TSQSPh.js +5 -0
- package/dist/next/capitalize-C0TSQSPh.js.map +1 -0
- package/dist/next/capitalize-DoV-nOmN.cjs +4 -0
- package/dist/next/capitalize-DoV-nOmN.cjs.map +1 -0
- package/dist/next/classNames-AS8QjFq7.js +7 -0
- package/dist/next/classNames-AS8QjFq7.js.map +1 -0
- package/dist/next/classNames-BcWMx052.cjs +6 -0
- package/dist/next/classNames-BcWMx052.cjs.map +1 -0
- package/dist/next/colorSchemes.cjs.js +78 -0
- package/dist/next/colorSchemes.cjs.js.map +1 -0
- package/dist/next/colorSchemes.js +78 -0
- package/dist/next/colorSchemes.js.map +1 -0
- package/dist/next/image-C5jTmHeD.cjs +2761 -0
- package/dist/next/image-C5jTmHeD.cjs.map +1 -0
- package/dist/next/image-Cs0ZR1Aj.js +2762 -0
- package/dist/next/image-Cs0ZR1Aj.js.map +1 -0
- package/dist/next/index.cjs.js +242 -0
- package/dist/next/index.cjs.js.map +1 -0
- package/dist/next/index.js +243 -0
- package/dist/next/index.js.map +1 -0
- package/dist/next/link-B8xgzNiC.cjs +2865 -0
- package/dist/next/link-B8xgzNiC.cjs.map +1 -0
- package/dist/next/link-CX77u6b-.js +2866 -0
- package/dist/next/link-CX77u6b-.js.map +1 -0
- package/dist/next/registerColorSheme-BPX0H7hl.js +21 -0
- package/dist/next/registerColorSheme-BPX0H7hl.js.map +1 -0
- package/dist/next/registerColorSheme-nhYu5hbY.cjs +20 -0
- package/dist/next/registerColorSheme-nhYu5hbY.cjs.map +1 -0
- package/dist/next/registerColorSheme.cjs.js +5 -0
- package/dist/next/registerColorSheme.cjs.js.map +1 -0
- package/dist/next/registerColorSheme.js +5 -0
- package/dist/next/registerColorSheme.js.map +1 -0
- package/dist/next/style.css +24227 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/Icons/ArrowLeftIcon.d.ts +3 -0
- package/dist/types/Icons/ArrowLeftIcon.d.ts.map +1 -0
- package/dist/types/Icons/ArrowRightIcon.d.ts +3 -0
- package/dist/types/Icons/ArrowRightIcon.d.ts.map +1 -0
- package/dist/types/Icons/ArrowUpIcon.d.ts +3 -0
- package/dist/types/Icons/ArrowUpIcon.d.ts.map +1 -0
- package/dist/types/Icons/CalendarIcon.d.ts +3 -0
- package/dist/types/Icons/CalendarIcon.d.ts.map +1 -0
- package/dist/types/Icons/CheveronDownIcon.d.ts +3 -0
- package/dist/types/Icons/CheveronDownIcon.d.ts.map +1 -0
- package/dist/types/Icons/CloseIcon.d.ts +3 -0
- package/dist/types/Icons/CloseIcon.d.ts.map +1 -0
- package/dist/types/Icons/EyeIcon.d.ts +3 -0
- package/dist/types/Icons/EyeIcon.d.ts.map +1 -0
- package/dist/types/Icons/EyeSlashIcon.d.ts +3 -0
- package/dist/types/Icons/EyeSlashIcon.d.ts.map +1 -0
- package/dist/types/Icons/FileIcon.d.ts +3 -0
- package/dist/types/Icons/FileIcon.d.ts.map +1 -0
- package/dist/types/Icons/FolderIcon.d.ts +3 -0
- package/dist/types/Icons/FolderIcon.d.ts.map +1 -0
- package/dist/types/Icons/MenuIcon.d.ts +3 -0
- package/dist/types/Icons/MenuIcon.d.ts.map +1 -0
- package/dist/types/Icons/PlusCircleIcon.d.ts +3 -0
- package/dist/types/Icons/PlusCircleIcon.d.ts.map +1 -0
- package/dist/types/Icons/SeperatorIcon.d.ts +3 -0
- package/dist/types/Icons/SeperatorIcon.d.ts.map +1 -0
- package/dist/types/Icons/StarIcon.d.ts +3 -0
- package/dist/types/Icons/StarIcon.d.ts.map +1 -0
- package/dist/types/Icons/TrashIcon.d.ts +3 -0
- package/dist/types/Icons/TrashIcon.d.ts.map +1 -0
- package/dist/types/Icons/UserIcon.d.ts +3 -0
- package/dist/types/Icons/UserIcon.d.ts.map +1 -0
- package/dist/types/Icons/index.d.ts +16 -0
- package/dist/types/Icons/index.d.ts.map +1 -0
- package/dist/types/components/Accordion/Accordion.types.d.ts +98 -0
- package/dist/types/components/Accordion/Accordion.types.d.ts.map +1 -0
- package/dist/types/components/Accordion/AccordionBase.d.ts +8 -0
- package/dist/types/components/Accordion/AccordionBase.d.ts.map +1 -0
- package/dist/types/components/Accordion/core/Accordion.d.ts +6 -0
- package/dist/types/components/Accordion/core/Accordion.d.ts.map +1 -0
- package/dist/types/components/Accordion/next/Accordion.d.ts +5 -0
- package/dist/types/components/Accordion/next/Accordion.d.ts.map +1 -0
- package/dist/types/components/Avatar/Avatar.types.d.ts +104 -0
- package/dist/types/components/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/types/components/Avatar/AvatarBase.d.ts +9 -0
- package/dist/types/components/Avatar/AvatarBase.d.ts.map +1 -0
- package/dist/types/components/Avatar/core/Avatar.d.ts +6 -0
- package/dist/types/components/Avatar/core/Avatar.d.ts.map +1 -0
- package/dist/types/components/Avatar/next/Avatar.d.ts +5 -0
- package/dist/types/components/Avatar/next/Avatar.d.ts.map +1 -0
- package/dist/types/components/Badge/Badge.types.d.ts +70 -0
- package/dist/types/components/Badge/Badge.types.d.ts.map +1 -0
- package/dist/types/components/Badge/BadgeBase.d.ts +7 -0
- package/dist/types/components/Badge/BadgeBase.d.ts.map +1 -0
- package/dist/types/components/Badge/core/Badge.d.ts +6 -0
- package/dist/types/components/Badge/core/Badge.d.ts.map +1 -0
- package/dist/types/components/Badge/next/Badge.d.ts +5 -0
- package/dist/types/components/Badge/next/Badge.d.ts.map +1 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts +80 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsBase.d.ts +9 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsBase.d.ts.map +1 -0
- package/dist/types/components/Breadcrumbs/core/Breadcrumbs.d.ts +6 -0
- package/dist/types/components/Breadcrumbs/core/Breadcrumbs.d.ts.map +1 -0
- package/dist/types/components/Breadcrumbs/next/Breadcrumbs.d.ts +5 -0
- package/dist/types/components/Breadcrumbs/next/Breadcrumbs.d.ts.map +1 -0
- package/dist/types/components/Button/Button.types.d.ts +86 -0
- package/dist/types/components/Button/Button.types.d.ts.map +1 -0
- package/dist/types/components/Button/ButtonBase.d.ts +9 -0
- package/dist/types/components/Button/ButtonBase.d.ts.map +1 -0
- package/dist/types/components/Button/core/Button.d.ts +6 -0
- package/dist/types/components/Button/core/Button.d.ts.map +1 -0
- package/dist/types/components/Button/next/Button.d.ts +5 -0
- package/dist/types/components/Button/next/Button.d.ts.map +1 -0
- package/dist/types/components/Card/Card.types.d.ts +134 -0
- package/dist/types/components/Card/Card.types.d.ts.map +1 -0
- package/dist/types/components/Card/CardBase.d.ts +19 -0
- package/dist/types/components/Card/CardBase.d.ts.map +1 -0
- package/dist/types/components/Card/core/Card.d.ts +6 -0
- package/dist/types/components/Card/core/Card.d.ts.map +1 -0
- package/dist/types/components/Card/next/Card.d.ts +5 -0
- package/dist/types/components/Card/next/Card.d.ts.map +1 -0
- package/dist/types/components/CheckBox/Checkbox.types.d.ts +52 -0
- package/dist/types/components/CheckBox/Checkbox.types.d.ts.map +1 -0
- package/dist/types/components/CheckBox/CheckboxBase.d.ts +7 -0
- package/dist/types/components/CheckBox/CheckboxBase.d.ts.map +1 -0
- package/dist/types/components/CheckBox/core/Checkbox.d.ts +6 -0
- package/dist/types/components/CheckBox/core/Checkbox.d.ts.map +1 -0
- package/dist/types/components/CheckBox/next/Checkbox.d.ts +5 -0
- package/dist/types/components/CheckBox/next/Checkbox.d.ts.map +1 -0
- package/dist/types/components/Chip/Chip.types.d.ts +80 -0
- package/dist/types/components/Chip/Chip.types.d.ts.map +1 -0
- package/dist/types/components/Chip/ChipBase.d.ts +4 -0
- package/dist/types/components/Chip/ChipBase.d.ts.map +1 -0
- package/dist/types/components/Chip/ChipGroup/ChipGroup.types.d.ts +25 -0
- package/dist/types/components/Chip/ChipGroup/ChipGroup.types.d.ts.map +1 -0
- package/dist/types/components/Chip/ChipGroup/ChipGroupBase.d.ts +8 -0
- package/dist/types/components/Chip/ChipGroup/ChipGroupBase.d.ts.map +1 -0
- package/dist/types/components/Chip/ChipGroup/core/ChipGroup.d.ts +6 -0
- package/dist/types/components/Chip/ChipGroup/core/ChipGroup.d.ts.map +1 -0
- package/dist/types/components/Chip/ChipGroup/next/ChipGroup.d.ts +5 -0
- package/dist/types/components/Chip/ChipGroup/next/ChipGroup.d.ts.map +1 -0
- package/dist/types/components/Chip/core/Chip.d.ts +6 -0
- package/dist/types/components/Chip/core/Chip.d.ts.map +1 -0
- package/dist/types/components/Chip/next/Chip.d.ts +5 -0
- package/dist/types/components/Chip/next/Chip.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/CircularProgress.types.d.ts +44 -0
- package/dist/types/components/CircularProgress/CircularProgress.types.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/CircularProgressBase.d.ts +8 -0
- package/dist/types/components/CircularProgress/CircularProgressBase.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/core/CircularProgress.d.ts +6 -0
- package/dist/types/components/CircularProgress/core/CircularProgress.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/next/CircularProgress.d.ts +5 -0
- package/dist/types/components/CircularProgress/next/CircularProgress.d.ts.map +1 -0
- package/dist/types/components/ColorPicker/ColorPicker.types.d.ts +56 -0
- package/dist/types/components/ColorPicker/ColorPicker.types.d.ts.map +1 -0
- package/dist/types/components/ColorPicker/ColorPickerBase.d.ts +8 -0
- package/dist/types/components/ColorPicker/ColorPickerBase.d.ts.map +1 -0
- package/dist/types/components/ColorPicker/core/ColorPicker.d.ts +6 -0
- package/dist/types/components/ColorPicker/core/ColorPicker.d.ts.map +1 -0
- package/dist/types/components/ColorPicker/next/ColorPicker.d.ts +5 -0
- package/dist/types/components/ColorPicker/next/ColorPicker.d.ts.map +1 -0
- package/dist/types/components/CommandPalette/CommandPalette.types.d.ts +55 -0
- package/dist/types/components/CommandPalette/CommandPalette.types.d.ts.map +1 -0
- package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts +9 -0
- package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts.map +1 -0
- package/dist/types/components/CommandPalette/core/CommandPalette.d.ts +6 -0
- package/dist/types/components/CommandPalette/core/CommandPalette.d.ts.map +1 -0
- package/dist/types/components/CommandPalette/next/CommandPalette.d.ts +5 -0
- package/dist/types/components/CommandPalette/next/CommandPalette.d.ts.map +1 -0
- package/dist/types/components/DataTable/DataTable.types.d.ts +71 -0
- package/dist/types/components/DataTable/DataTable.types.d.ts.map +1 -0
- package/dist/types/components/DataTable/DataTableBase.d.ts +4 -0
- package/dist/types/components/DataTable/DataTableBase.d.ts.map +1 -0
- package/dist/types/components/DataTable/core/DataTable.d.ts +5 -0
- package/dist/types/components/DataTable/core/DataTable.d.ts.map +1 -0
- package/dist/types/components/DataTable/next/DataTable.d.ts +4 -0
- package/dist/types/components/DataTable/next/DataTable.d.ts.map +1 -0
- package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts +54 -0
- package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts.map +1 -0
- package/dist/types/components/DateTimePicker/DateTimePickerBase.d.ts +11 -0
- package/dist/types/components/DateTimePicker/DateTimePickerBase.d.ts.map +1 -0
- package/dist/types/components/DateTimePicker/core/DateTimePicker.d.ts +6 -0
- package/dist/types/components/DateTimePicker/core/DateTimePicker.d.ts.map +1 -0
- package/dist/types/components/DateTimePicker/next/DateTimePicker.d.ts +5 -0
- package/dist/types/components/DateTimePicker/next/DateTimePicker.d.ts.map +1 -0
- package/dist/types/components/Divider/Divider.types.d.ts +35 -0
- package/dist/types/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/types/components/Divider/DividerBase.d.ts +8 -0
- package/dist/types/components/Divider/DividerBase.d.ts.map +1 -0
- package/dist/types/components/Divider/core/Divider.d.ts +6 -0
- package/dist/types/components/Divider/core/Divider.d.ts.map +1 -0
- package/dist/types/components/Divider/next/Divider.d.ts +5 -0
- package/dist/types/components/Divider/next/Divider.d.ts.map +1 -0
- package/dist/types/components/Dropdown/Dropdown.types.d.ts +75 -0
- package/dist/types/components/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownBase.d.ts +9 -0
- package/dist/types/components/Dropdown/DropdownBase.d.ts.map +1 -0
- package/dist/types/components/Dropdown/core/Dropdown.d.ts +6 -0
- package/dist/types/components/Dropdown/core/Dropdown.d.ts.map +1 -0
- package/dist/types/components/Dropdown/next/Dropdown.d.ts +5 -0
- package/dist/types/components/Dropdown/next/Dropdown.d.ts.map +1 -0
- package/dist/types/components/EmptyState/EmptyState.types.d.ts +49 -0
- package/dist/types/components/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/types/components/EmptyState/EmptyStateBase.d.ts +9 -0
- package/dist/types/components/EmptyState/EmptyStateBase.d.ts.map +1 -0
- package/dist/types/components/EmptyState/core/EmptyState.d.ts +6 -0
- package/dist/types/components/EmptyState/core/EmptyState.d.ts.map +1 -0
- package/dist/types/components/EmptyState/next/EmptyState.d.ts +5 -0
- package/dist/types/components/EmptyState/next/EmptyState.d.ts.map +1 -0
- package/dist/types/components/FileUpload/FileUpload.types.d.ts +61 -0
- package/dist/types/components/FileUpload/FileUpload.types.d.ts.map +1 -0
- package/dist/types/components/FileUpload/FileUploadBase.d.ts +12 -0
- package/dist/types/components/FileUpload/FileUploadBase.d.ts.map +1 -0
- package/dist/types/components/FileUpload/core/FileUpload.d.ts +6 -0
- package/dist/types/components/FileUpload/core/FileUpload.d.ts.map +1 -0
- package/dist/types/components/FileUpload/next/FileUpload.d.ts +5 -0
- package/dist/types/components/FileUpload/next/FileUpload.d.ts.map +1 -0
- package/dist/types/components/Footer/Footer.types.d.ts +62 -0
- package/dist/types/components/Footer/Footer.types.d.ts.map +1 -0
- package/dist/types/components/Footer/FooterBase.d.ts +15 -0
- package/dist/types/components/Footer/FooterBase.d.ts.map +1 -0
- package/dist/types/components/Footer/core/Footer.d.ts +6 -0
- package/dist/types/components/Footer/core/Footer.d.ts.map +1 -0
- package/dist/types/components/Footer/next/ClientFooterWrapper.d.ts +24 -0
- package/dist/types/components/Footer/next/ClientFooterWrapper.d.ts.map +1 -0
- package/dist/types/components/Footer/next/Footer.d.ts +5 -0
- package/dist/types/components/Footer/next/Footer.d.ts.map +1 -0
- package/dist/types/components/FormGroup/FormGroup.types.d.ts +38 -0
- package/dist/types/components/FormGroup/FormGroup.types.d.ts.map +1 -0
- package/dist/types/components/FormGroup/FormGroupBase.d.ts +8 -0
- package/dist/types/components/FormGroup/FormGroupBase.d.ts.map +1 -0
- package/dist/types/components/FormGroup/core/FormGroup.d.ts +6 -0
- package/dist/types/components/FormGroup/core/FormGroup.d.ts.map +1 -0
- package/dist/types/components/FormGroup/next/FormGroup.d.ts +5 -0
- package/dist/types/components/FormGroup/next/FormGroup.d.ts.map +1 -0
- package/dist/types/components/IconButton/IconButton.types.d.ts +72 -0
- package/dist/types/components/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/types/components/IconButton/IconButtonBase.d.ts +9 -0
- package/dist/types/components/IconButton/IconButtonBase.d.ts.map +1 -0
- package/dist/types/components/IconButton/core/IconButton.d.ts +6 -0
- package/dist/types/components/IconButton/core/IconButton.d.ts.map +1 -0
- package/dist/types/components/IconButton/next/IconButton.d.ts +5 -0
- package/dist/types/components/IconButton/next/IconButton.d.ts.map +1 -0
- package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts +29 -0
- package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts.map +1 -0
- package/dist/types/components/MarkdownRenderer/MarkdownRendererBase.d.ts +9 -0
- package/dist/types/components/MarkdownRenderer/MarkdownRendererBase.d.ts.map +1 -0
- package/dist/types/components/MarkdownRenderer/core/MarkdownRenderer.d.ts +6 -0
- package/dist/types/components/MarkdownRenderer/core/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/components/MarkdownRenderer/next/MarkdownRenderer.d.ts +5 -0
- package/dist/types/components/MarkdownRenderer/next/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/components/MessagePopUp/MessagePopup.types.d.ts +54 -0
- package/dist/types/components/MessagePopUp/MessagePopup.types.d.ts.map +1 -0
- package/dist/types/components/MessagePopUp/MessagePopupBase.d.ts +10 -0
- package/dist/types/components/MessagePopUp/MessagePopupBase.d.ts.map +1 -0
- package/dist/types/components/MessagePopUp/core/MessagePopup.d.ts +6 -0
- package/dist/types/components/MessagePopUp/core/MessagePopup.d.ts.map +1 -0
- package/dist/types/components/MessagePopUp/next/MessagePopup.d.ts +5 -0
- package/dist/types/components/MessagePopUp/next/MessagePopup.d.ts.map +1 -0
- package/dist/types/components/MetricBox/MetricBox.types.d.ts +52 -0
- package/dist/types/components/MetricBox/MetricBox.types.d.ts.map +1 -0
- package/dist/types/components/MetricBox/MetricBoxBase.d.ts +8 -0
- package/dist/types/components/MetricBox/MetricBoxBase.d.ts.map +1 -0
- package/dist/types/components/MetricBox/core/MetricBox.d.ts +6 -0
- package/dist/types/components/MetricBox/core/MetricBox.d.ts.map +1 -0
- package/dist/types/components/MetricBox/next/MetricBox.d.ts +5 -0
- package/dist/types/components/MetricBox/next/MetricBox.d.ts.map +1 -0
- package/dist/types/components/Modal/Modal.types.d.ts +26 -0
- package/dist/types/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/types/components/Modal/ModalBase.d.ts +10 -0
- package/dist/types/components/Modal/ModalBase.d.ts.map +1 -0
- package/dist/types/components/Modal/core/Modal.d.ts +6 -0
- package/dist/types/components/Modal/core/Modal.d.ts.map +1 -0
- package/dist/types/components/Modal/next/Modal.d.ts +5 -0
- package/dist/types/components/Modal/next/Modal.d.ts.map +1 -0
- package/dist/types/components/NavBar/NavBar.types.d.ts +39 -0
- package/dist/types/components/NavBar/NavBar.types.d.ts.map +1 -0
- package/dist/types/components/NavBar/NavBarBase.d.ts +17 -0
- package/dist/types/components/NavBar/NavBarBase.d.ts.map +1 -0
- package/dist/types/components/NavBar/core/NavBar.d.ts +6 -0
- package/dist/types/components/NavBar/core/NavBar.d.ts.map +1 -0
- package/dist/types/components/NavBar/next/NavBar.d.ts +7 -0
- package/dist/types/components/NavBar/next/NavBar.d.ts.map +1 -0
- package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts +70 -0
- package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts.map +1 -0
- package/dist/types/components/NotificationCenter/NotificationCenterBase.d.ts +10 -0
- package/dist/types/components/NotificationCenter/NotificationCenterBase.d.ts.map +1 -0
- package/dist/types/components/NotificationCenter/core/NotificationCenter.d.ts +6 -0
- package/dist/types/components/NotificationCenter/core/NotificationCenter.d.ts.map +1 -0
- package/dist/types/components/NotificationCenter/next/NotificationCenter.d.ts +5 -0
- package/dist/types/components/NotificationCenter/next/NotificationCenter.d.ts.map +1 -0
- package/dist/types/components/Pager/Pager.types.d.ts +46 -0
- package/dist/types/components/Pager/Pager.types.d.ts.map +1 -0
- package/dist/types/components/Pager/PagerBase.d.ts +10 -0
- package/dist/types/components/Pager/PagerBase.d.ts.map +1 -0
- package/dist/types/components/Pager/core/Pager.d.ts +6 -0
- package/dist/types/components/Pager/core/Pager.d.ts.map +1 -0
- package/dist/types/components/Pager/next/Pager.d.ts +5 -0
- package/dist/types/components/Pager/next/Pager.d.ts.map +1 -0
- package/dist/types/components/PopOver/PopOver.types.d.ts +40 -0
- package/dist/types/components/PopOver/PopOver.types.d.ts.map +1 -0
- package/dist/types/components/PopOver/PopOverBase.d.ts +8 -0
- package/dist/types/components/PopOver/PopOverBase.d.ts.map +1 -0
- package/dist/types/components/PopOver/core/PopOver.d.ts +6 -0
- package/dist/types/components/PopOver/core/PopOver.d.ts.map +1 -0
- package/dist/types/components/PopOver/next/PopOver.d.ts +5 -0
- package/dist/types/components/PopOver/next/PopOver.d.ts.map +1 -0
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +57 -0
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -0
- package/dist/types/components/ProgressBar/ProgressBarBase.d.ts +8 -0
- package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -0
- package/dist/types/components/ProgressBar/core/ProgressBar.d.ts +6 -0
- package/dist/types/components/ProgressBar/core/ProgressBar.d.ts.map +1 -0
- package/dist/types/components/ProgressBar/next/ProgressBar.d.ts +5 -0
- package/dist/types/components/ProgressBar/next/ProgressBar.d.ts.map +1 -0
- package/dist/types/components/RadioButton/RadioButton.types.d.ts +55 -0
- package/dist/types/components/RadioButton/RadioButton.types.d.ts.map +1 -0
- package/dist/types/components/RadioButton/RadioButtonBase.d.ts +8 -0
- package/dist/types/components/RadioButton/RadioButtonBase.d.ts.map +1 -0
- package/dist/types/components/RadioButton/core/RadioButton.d.ts +6 -0
- package/dist/types/components/RadioButton/core/RadioButton.d.ts.map +1 -0
- package/dist/types/components/RadioButton/next/RadioButton.d.ts +5 -0
- package/dist/types/components/RadioButton/next/RadioButton.d.ts.map +1 -0
- package/dist/types/components/Rating/Rating.types.d.ts +51 -0
- package/dist/types/components/Rating/Rating.types.d.ts.map +1 -0
- package/dist/types/components/Rating/RatingBase.d.ts +8 -0
- package/dist/types/components/Rating/RatingBase.d.ts.map +1 -0
- package/dist/types/components/Rating/core/Rating.d.ts +6 -0
- package/dist/types/components/Rating/core/Rating.d.ts.map +1 -0
- package/dist/types/components/Rating/next/Rating.d.ts +5 -0
- package/dist/types/components/Rating/next/Rating.d.ts.map +1 -0
- package/dist/types/components/ScrollToTop/ScrollToTopBase.d.ts +13 -0
- package/dist/types/components/ScrollToTop/ScrollToTopBase.d.ts.map +1 -0
- package/dist/types/components/ScrollToTop/core/STT.d.ts +5 -0
- package/dist/types/components/ScrollToTop/core/STT.d.ts.map +1 -0
- package/dist/types/components/ScrollToTop/next/STT.d.ts +4 -0
- package/dist/types/components/ScrollToTop/next/STT.d.ts.map +1 -0
- package/dist/types/components/Select/Select.types.d.ts +87 -0
- package/dist/types/components/Select/Select.types.d.ts.map +1 -0
- package/dist/types/components/Select/SelectBase.d.ts +7 -0
- package/dist/types/components/Select/SelectBase.d.ts.map +1 -0
- package/dist/types/components/Select/ThemeSelect/core/ThemeSelect.d.ts +12 -0
- package/dist/types/components/Select/ThemeSelect/core/ThemeSelect.d.ts.map +1 -0
- package/dist/types/components/Select/ThemeSelect/next/ThemeSelect.d.ts +12 -0
- package/dist/types/components/Select/ThemeSelect/next/ThemeSelect.d.ts.map +1 -0
- package/dist/types/components/Select/core/Select.d.ts +6 -0
- package/dist/types/components/Select/core/Select.d.ts.map +1 -0
- package/dist/types/components/Select/next/Select.d.ts +5 -0
- package/dist/types/components/Select/next/Select.d.ts.map +1 -0
- package/dist/types/components/Skeleton/Skeleton.types.d.ts +37 -0
- package/dist/types/components/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/types/components/Skeleton/SkeletonBase.d.ts +8 -0
- package/dist/types/components/Skeleton/SkeletonBase.d.ts.map +1 -0
- package/dist/types/components/Skeleton/core/Skeleton.d.ts +6 -0
- package/dist/types/components/Skeleton/core/Skeleton.d.ts.map +1 -0
- package/dist/types/components/Skeleton/next/Skeleton.d.ts +5 -0
- package/dist/types/components/Skeleton/next/Skeleton.d.ts.map +1 -0
- package/dist/types/components/Slider/Slider.types.d.ts +55 -0
- package/dist/types/components/Slider/Slider.types.d.ts.map +1 -0
- package/dist/types/components/Slider/SliderBase.d.ts +7 -0
- package/dist/types/components/Slider/SliderBase.d.ts.map +1 -0
- package/dist/types/components/Slider/core/Slider.d.ts +6 -0
- package/dist/types/components/Slider/core/Slider.d.ts.map +1 -0
- package/dist/types/components/Slider/next/Slider.d.ts +5 -0
- package/dist/types/components/Slider/next/Slider.d.ts.map +1 -0
- package/dist/types/components/Spinner/Spinner.types.d.ts +38 -0
- package/dist/types/components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/types/components/Spinner/SpinnerBase.d.ts +7 -0
- package/dist/types/components/Spinner/SpinnerBase.d.ts.map +1 -0
- package/dist/types/components/Spinner/core/Spinner.d.ts +6 -0
- package/dist/types/components/Spinner/core/Spinner.d.ts.map +1 -0
- package/dist/types/components/Spinner/next/Spinner.d.ts +5 -0
- package/dist/types/components/Spinner/next/Spinner.d.ts.map +1 -0
- package/dist/types/components/Stepper/Stepper.types.d.ts +61 -0
- package/dist/types/components/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/types/components/Stepper/StepperBase.d.ts +9 -0
- package/dist/types/components/Stepper/StepperBase.d.ts.map +1 -0
- package/dist/types/components/Stepper/core/Stepper.d.ts +6 -0
- package/dist/types/components/Stepper/core/Stepper.d.ts.map +1 -0
- package/dist/types/components/Stepper/next/Stepper.d.ts +5 -0
- package/dist/types/components/Stepper/next/Stepper.d.ts.map +1 -0
- package/dist/types/components/Tabs/Tabs.types.d.ts +54 -0
- package/dist/types/components/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/types/components/Tabs/TabsBase.d.ts +7 -0
- package/dist/types/components/Tabs/TabsBase.d.ts.map +1 -0
- package/dist/types/components/Tabs/core/Tabs.d.ts +6 -0
- package/dist/types/components/Tabs/core/Tabs.d.ts.map +1 -0
- package/dist/types/components/Tabs/next/Tabs.d.ts +5 -0
- package/dist/types/components/Tabs/next/Tabs.d.ts.map +1 -0
- package/dist/types/components/TagInput/TagInputBase.d.ts +9 -0
- package/dist/types/components/TagInput/TagInputBase.d.ts.map +1 -0
- package/dist/types/components/TagInput/Taginput.types.d.ts +52 -0
- package/dist/types/components/TagInput/Taginput.types.d.ts.map +1 -0
- package/dist/types/components/TagInput/core/Taginput.d.ts +6 -0
- package/dist/types/components/TagInput/core/Taginput.d.ts.map +1 -0
- package/dist/types/components/TagInput/next/Taginput.d.ts +5 -0
- package/dist/types/components/TagInput/next/Taginput.d.ts.map +1 -0
- package/dist/types/components/TextArea/TextArea.types.d.ts +72 -0
- package/dist/types/components/TextArea/TextArea.types.d.ts.map +1 -0
- package/dist/types/components/TextArea/TextAreaBase.d.ts +6 -0
- package/dist/types/components/TextArea/TextAreaBase.d.ts.map +1 -0
- package/dist/types/components/TextArea/core/TextArea.d.ts +5 -0
- package/dist/types/components/TextArea/core/TextArea.d.ts.map +1 -0
- package/dist/types/components/TextArea/next/TextArea.d.ts +4 -0
- package/dist/types/components/TextArea/next/TextArea.d.ts.map +1 -0
- package/dist/types/components/TextInput/TextInput.types.d.ts +66 -0
- package/dist/types/components/TextInput/TextInput.types.d.ts.map +1 -0
- package/dist/types/components/TextInput/TextInputBase.d.ts +7 -0
- package/dist/types/components/TextInput/TextInputBase.d.ts.map +1 -0
- package/dist/types/components/TextInput/core/TextInput.d.ts +5 -0
- package/dist/types/components/TextInput/core/TextInput.d.ts.map +1 -0
- package/dist/types/components/TextInput/next/TextInput.d.ts +4 -0
- package/dist/types/components/TextInput/next/TextInput.d.ts.map +1 -0
- package/dist/types/components/Timeline/Timeline.types.d.ts +53 -0
- package/dist/types/components/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/types/components/Timeline/TimelineBase.d.ts +7 -0
- package/dist/types/components/Timeline/TimelineBase.d.ts.map +1 -0
- package/dist/types/components/Timeline/core/Timeline.d.ts +6 -0
- package/dist/types/components/Timeline/core/Timeline.d.ts.map +1 -0
- package/dist/types/components/Timeline/next/Timeline.d.ts +5 -0
- package/dist/types/components/Timeline/next/Timeline.d.ts.map +1 -0
- package/dist/types/components/Toggle/Toggle.types.d.ts +57 -0
- package/dist/types/components/Toggle/Toggle.types.d.ts.map +1 -0
- package/dist/types/components/Toggle/ToggleBase.d.ts +7 -0
- package/dist/types/components/Toggle/ToggleBase.d.ts.map +1 -0
- package/dist/types/components/Toggle/core/Toggle.d.ts +6 -0
- package/dist/types/components/Toggle/core/Toggle.d.ts.map +1 -0
- package/dist/types/components/Toggle/next/Toggle.d.ts +5 -0
- package/dist/types/components/Toggle/next/Toggle.d.ts.map +1 -0
- package/dist/types/components/Toolbar/Toolbar.types.d.ts +110 -0
- package/dist/types/components/Toolbar/Toolbar.types.d.ts.map +1 -0
- package/dist/types/components/Toolbar/ToolbarBase.d.ts +4 -0
- package/dist/types/components/Toolbar/ToolbarBase.d.ts.map +1 -0
- package/dist/types/components/Toolbar/core/Toolbar.d.ts +6 -0
- package/dist/types/components/Toolbar/core/Toolbar.d.ts.map +1 -0
- package/dist/types/components/Toolbar/next/Toolbar.d.ts +5 -0
- package/dist/types/components/Toolbar/next/Toolbar.d.ts.map +1 -0
- package/dist/types/components/Tooltip/Tooltip.types.d.ts +45 -0
- package/dist/types/components/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/types/components/Tooltip/TooltipBase.d.ts +5 -0
- package/dist/types/components/Tooltip/TooltipBase.d.ts.map +1 -0
- package/dist/types/components/Tooltip/core/Tooltip.d.ts +5 -0
- package/dist/types/components/Tooltip/core/Tooltip.d.ts.map +1 -0
- package/dist/types/components/Tooltip/next/Tooltip.d.ts +4 -0
- package/dist/types/components/Tooltip/next/Tooltip.d.ts.map +1 -0
- package/dist/types/config/boreal-style-config.d.ts +67 -0
- package/dist/types/config/boreal-style-config.d.ts.map +1 -0
- package/dist/types/context/ThemeContext.d.ts +41 -0
- package/dist/types/context/ThemeContext.d.ts.map +1 -0
- package/dist/types/context/ThemeContext.types.d.ts +39 -0
- package/dist/types/context/ThemeContext.types.d.ts.map +1 -0
- package/dist/types/hooks/useColorSchemes.d.ts +2 -0
- package/dist/types/hooks/useColorSchemes.d.ts.map +1 -0
- package/dist/types/index.core.d.ts +54 -0
- package/dist/types/index.core.d.ts.map +1 -0
- package/dist/types/index.next.d.ts +54 -0
- package/dist/types/index.next.d.ts.map +1 -0
- package/dist/types/styles/Themes.d.ts +26 -0
- package/dist/types/styles/Themes.d.ts.map +1 -0
- package/dist/types/styles/colorSchemeRegistry.d.ts +45 -0
- package/dist/types/styles/colorSchemeRegistry.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/capitalize.d.ts +15 -0
- package/dist/types/utils/capitalize.d.ts.map +1 -0
- package/dist/types/utils/classNames.d.ts +15 -0
- package/dist/types/utils/classNames.d.ts.map +1 -0
- package/dist/types/utils/getInitials.d.ts +17 -0
- package/dist/types/utils/getInitials.d.ts.map +1 -0
- package/package.json +625 -0
|
@@ -0,0 +1,2761 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const link = require("./link-B8xgzNiC.cjs");
|
|
3
|
+
const require$$2 = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const ReactDOM = require("react-dom");
|
|
6
|
+
var imageExternal = {};
|
|
7
|
+
var getImgProps = {};
|
|
8
|
+
var warnOnce = {};
|
|
9
|
+
(function(exports2) {
|
|
10
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports2, "warnOnce", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return warnOnce2;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
let warnOnce2 = (_) => {
|
|
20
|
+
};
|
|
21
|
+
if (process.env.NODE_ENV !== "production") {
|
|
22
|
+
const warnings = /* @__PURE__ */ new Set();
|
|
23
|
+
warnOnce2 = (msg) => {
|
|
24
|
+
if (!warnings.has(msg)) {
|
|
25
|
+
console.warn(msg);
|
|
26
|
+
}
|
|
27
|
+
warnings.add(msg);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
})(warnOnce);
|
|
31
|
+
var imageBlurSvg = {};
|
|
32
|
+
(function(exports2) {
|
|
33
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports2, "getImageBlurSvg", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function() {
|
|
39
|
+
return getImageBlurSvg;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
function getImageBlurSvg(param) {
|
|
43
|
+
let { widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit } = param;
|
|
44
|
+
const std = 20;
|
|
45
|
+
const svgWidth = blurWidth ? blurWidth * 40 : widthInt;
|
|
46
|
+
const svgHeight = blurHeight ? blurHeight * 40 : heightInt;
|
|
47
|
+
const viewBox = svgWidth && svgHeight ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'" : "";
|
|
48
|
+
const preserveAspectRatio = viewBox ? "none" : objectFit === "contain" ? "xMidYMid" : objectFit === "cover" ? "xMidYMid slice" : "none";
|
|
49
|
+
return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + viewBox + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + preserveAspectRatio + "' style='filter: url(%23b);' href='" + blurDataURL + "'/%3E%3C/svg%3E";
|
|
50
|
+
}
|
|
51
|
+
})(imageBlurSvg);
|
|
52
|
+
var imageConfig = {};
|
|
53
|
+
(function(exports2) {
|
|
54
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
55
|
+
value: true
|
|
56
|
+
});
|
|
57
|
+
function _export(target, all) {
|
|
58
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: all[name]
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
_export(exports2, {
|
|
64
|
+
VALID_LOADERS: function() {
|
|
65
|
+
return VALID_LOADERS;
|
|
66
|
+
},
|
|
67
|
+
imageConfigDefault: function() {
|
|
68
|
+
return imageConfigDefault;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
const VALID_LOADERS = [
|
|
72
|
+
"default",
|
|
73
|
+
"imgix",
|
|
74
|
+
"cloudinary",
|
|
75
|
+
"akamai",
|
|
76
|
+
"custom"
|
|
77
|
+
];
|
|
78
|
+
const imageConfigDefault = {
|
|
79
|
+
deviceSizes: [
|
|
80
|
+
640,
|
|
81
|
+
750,
|
|
82
|
+
828,
|
|
83
|
+
1080,
|
|
84
|
+
1200,
|
|
85
|
+
1920,
|
|
86
|
+
2048,
|
|
87
|
+
3840
|
|
88
|
+
],
|
|
89
|
+
imageSizes: [
|
|
90
|
+
16,
|
|
91
|
+
32,
|
|
92
|
+
48,
|
|
93
|
+
64,
|
|
94
|
+
96,
|
|
95
|
+
128,
|
|
96
|
+
256,
|
|
97
|
+
384
|
|
98
|
+
],
|
|
99
|
+
path: "/_next/image",
|
|
100
|
+
loader: "default",
|
|
101
|
+
loaderFile: "",
|
|
102
|
+
domains: [],
|
|
103
|
+
disableStaticImages: false,
|
|
104
|
+
minimumCacheTTL: 60,
|
|
105
|
+
formats: [
|
|
106
|
+
"image/webp"
|
|
107
|
+
],
|
|
108
|
+
dangerouslyAllowSVG: false,
|
|
109
|
+
contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
|
|
110
|
+
contentDispositionType: "attachment",
|
|
111
|
+
localPatterns: void 0,
|
|
112
|
+
remotePatterns: [],
|
|
113
|
+
qualities: void 0,
|
|
114
|
+
unoptimized: false
|
|
115
|
+
};
|
|
116
|
+
})(imageConfig);
|
|
117
|
+
(function(exports2) {
|
|
118
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
119
|
+
value: true
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports2, "getImgProps", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function() {
|
|
124
|
+
return getImgProps2;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
const _warnonce = warnOnce;
|
|
128
|
+
const _imageblursvg = imageBlurSvg;
|
|
129
|
+
const _imageconfig = imageConfig;
|
|
130
|
+
const VALID_LOADING_VALUES = [
|
|
131
|
+
"lazy",
|
|
132
|
+
"eager",
|
|
133
|
+
void 0
|
|
134
|
+
];
|
|
135
|
+
const INVALID_BACKGROUND_SIZE_VALUES = [
|
|
136
|
+
"-moz-initial",
|
|
137
|
+
"fill",
|
|
138
|
+
"none",
|
|
139
|
+
"scale-down",
|
|
140
|
+
void 0
|
|
141
|
+
];
|
|
142
|
+
function isStaticRequire(src) {
|
|
143
|
+
return src.default !== void 0;
|
|
144
|
+
}
|
|
145
|
+
function isStaticImageData(src) {
|
|
146
|
+
return src.src !== void 0;
|
|
147
|
+
}
|
|
148
|
+
function isStaticImport(src) {
|
|
149
|
+
return !!src && typeof src === "object" && (isStaticRequire(src) || isStaticImageData(src));
|
|
150
|
+
}
|
|
151
|
+
const allImgs = /* @__PURE__ */ new Map();
|
|
152
|
+
let perfObserver;
|
|
153
|
+
function getInt(x) {
|
|
154
|
+
if (typeof x === "undefined") {
|
|
155
|
+
return x;
|
|
156
|
+
}
|
|
157
|
+
if (typeof x === "number") {
|
|
158
|
+
return Number.isFinite(x) ? x : NaN;
|
|
159
|
+
}
|
|
160
|
+
if (typeof x === "string" && /^[0-9]+$/.test(x)) {
|
|
161
|
+
return parseInt(x, 10);
|
|
162
|
+
}
|
|
163
|
+
return NaN;
|
|
164
|
+
}
|
|
165
|
+
function getWidths(param, width, sizes) {
|
|
166
|
+
let { deviceSizes, allSizes } = param;
|
|
167
|
+
if (sizes) {
|
|
168
|
+
const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g;
|
|
169
|
+
const percentSizes = [];
|
|
170
|
+
for (let match; match = viewportWidthRe.exec(sizes); match) {
|
|
171
|
+
percentSizes.push(parseInt(match[2]));
|
|
172
|
+
}
|
|
173
|
+
if (percentSizes.length) {
|
|
174
|
+
const smallestRatio = Math.min(...percentSizes) * 0.01;
|
|
175
|
+
return {
|
|
176
|
+
widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),
|
|
177
|
+
kind: "w"
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
widths: allSizes,
|
|
182
|
+
kind: "w"
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
if (typeof width !== "number") {
|
|
186
|
+
return {
|
|
187
|
+
widths: deviceSizes,
|
|
188
|
+
kind: "w"
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
const widths = [
|
|
192
|
+
...new Set(
|
|
193
|
+
// > This means that most OLED screens that say they are 3x resolution,
|
|
194
|
+
// > are actually 3x in the green color, but only 1.5x in the red and
|
|
195
|
+
// > blue colors. Showing a 3x resolution image in the app vs a 2x
|
|
196
|
+
// > resolution image will be visually the same, though the 3x image
|
|
197
|
+
// > takes significantly more data. Even true 3x resolution screens are
|
|
198
|
+
// > wasteful as the human eye cannot see that level of detail without
|
|
199
|
+
// > something like a magnifying glass.
|
|
200
|
+
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
201
|
+
[
|
|
202
|
+
width,
|
|
203
|
+
width * 2
|
|
204
|
+
/*, width * 3*/
|
|
205
|
+
].map((w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1])
|
|
206
|
+
)
|
|
207
|
+
];
|
|
208
|
+
return {
|
|
209
|
+
widths,
|
|
210
|
+
kind: "x"
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function generateImgAttrs(param) {
|
|
214
|
+
let { config, src, unoptimized, width, quality, sizes, loader } = param;
|
|
215
|
+
if (unoptimized) {
|
|
216
|
+
return {
|
|
217
|
+
src,
|
|
218
|
+
srcSet: void 0,
|
|
219
|
+
sizes: void 0
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
const { widths, kind } = getWidths(config, width, sizes);
|
|
223
|
+
const last = widths.length - 1;
|
|
224
|
+
return {
|
|
225
|
+
sizes: !sizes && kind === "w" ? "100vw" : sizes,
|
|
226
|
+
srcSet: widths.map((w, i) => loader({
|
|
227
|
+
config,
|
|
228
|
+
src,
|
|
229
|
+
quality,
|
|
230
|
+
width: w
|
|
231
|
+
}) + " " + (kind === "w" ? w : i + 1) + kind).join(", "),
|
|
232
|
+
// It's intended to keep `src` the last attribute because React updates
|
|
233
|
+
// attributes in order. If we keep `src` the first one, Safari will
|
|
234
|
+
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
235
|
+
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
236
|
+
// and `sizes` are defined.
|
|
237
|
+
// This bug cannot be reproduced in Chrome or Firefox.
|
|
238
|
+
src: loader({
|
|
239
|
+
config,
|
|
240
|
+
src,
|
|
241
|
+
quality,
|
|
242
|
+
width: widths[last]
|
|
243
|
+
})
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
function getImgProps2(param, _state) {
|
|
247
|
+
let { src, sizes, unoptimized = false, priority = false, loading, className, quality, width, height, fill = false, style, overrideSrc, onLoad, onLoadingComplete, placeholder = "empty", blurDataURL, fetchPriority, decoding = "async", layout, objectFit, objectPosition, lazyBoundary, lazyRoot, ...rest } = param;
|
|
248
|
+
const { imgConf, showAltText, blurComplete, defaultLoader } = _state;
|
|
249
|
+
let config;
|
|
250
|
+
let c = imgConf || _imageconfig.imageConfigDefault;
|
|
251
|
+
if ("allSizes" in c) {
|
|
252
|
+
config = c;
|
|
253
|
+
} else {
|
|
254
|
+
var _c_qualities;
|
|
255
|
+
const allSizes = [
|
|
256
|
+
...c.deviceSizes,
|
|
257
|
+
...c.imageSizes
|
|
258
|
+
].sort((a, b) => a - b);
|
|
259
|
+
const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
|
|
260
|
+
const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
|
|
261
|
+
config = {
|
|
262
|
+
...c,
|
|
263
|
+
allSizes,
|
|
264
|
+
deviceSizes,
|
|
265
|
+
qualities
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
if (typeof defaultLoader === "undefined") {
|
|
269
|
+
throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"), "__NEXT_ERROR_CODE", {
|
|
270
|
+
value: "E163",
|
|
271
|
+
enumerable: false,
|
|
272
|
+
configurable: true
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
let loader = rest.loader || defaultLoader;
|
|
276
|
+
delete rest.loader;
|
|
277
|
+
delete rest.srcSet;
|
|
278
|
+
const isDefaultLoader = "__next_img_default" in loader;
|
|
279
|
+
if (isDefaultLoader) {
|
|
280
|
+
if (config.loader === "custom") {
|
|
281
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'), "__NEXT_ERROR_CODE", {
|
|
282
|
+
value: "E252",
|
|
283
|
+
enumerable: false,
|
|
284
|
+
configurable: true
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
} else {
|
|
288
|
+
const customImageLoader = loader;
|
|
289
|
+
loader = (obj) => {
|
|
290
|
+
const { config: _, ...opts } = obj;
|
|
291
|
+
return customImageLoader(opts);
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
if (layout) {
|
|
295
|
+
if (layout === "fill") {
|
|
296
|
+
fill = true;
|
|
297
|
+
}
|
|
298
|
+
const layoutToStyle = {
|
|
299
|
+
intrinsic: {
|
|
300
|
+
maxWidth: "100%",
|
|
301
|
+
height: "auto"
|
|
302
|
+
},
|
|
303
|
+
responsive: {
|
|
304
|
+
width: "100%",
|
|
305
|
+
height: "auto"
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
const layoutToSizes = {
|
|
309
|
+
responsive: "100vw",
|
|
310
|
+
fill: "100vw"
|
|
311
|
+
};
|
|
312
|
+
const layoutStyle = layoutToStyle[layout];
|
|
313
|
+
if (layoutStyle) {
|
|
314
|
+
style = {
|
|
315
|
+
...style,
|
|
316
|
+
...layoutStyle
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
const layoutSizes = layoutToSizes[layout];
|
|
320
|
+
if (layoutSizes && !sizes) {
|
|
321
|
+
sizes = layoutSizes;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
let staticSrc = "";
|
|
325
|
+
let widthInt = getInt(width);
|
|
326
|
+
let heightInt = getInt(height);
|
|
327
|
+
let blurWidth;
|
|
328
|
+
let blurHeight;
|
|
329
|
+
if (isStaticImport(src)) {
|
|
330
|
+
const staticImageData = isStaticRequire(src) ? src.default : src;
|
|
331
|
+
if (!staticImageData.src) {
|
|
332
|
+
throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
|
|
333
|
+
value: "E460",
|
|
334
|
+
enumerable: false,
|
|
335
|
+
configurable: true
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
if (!staticImageData.height || !staticImageData.width) {
|
|
339
|
+
throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
|
|
340
|
+
value: "E48",
|
|
341
|
+
enumerable: false,
|
|
342
|
+
configurable: true
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
blurWidth = staticImageData.blurWidth;
|
|
346
|
+
blurHeight = staticImageData.blurHeight;
|
|
347
|
+
blurDataURL = blurDataURL || staticImageData.blurDataURL;
|
|
348
|
+
staticSrc = staticImageData.src;
|
|
349
|
+
if (!fill) {
|
|
350
|
+
if (!widthInt && !heightInt) {
|
|
351
|
+
widthInt = staticImageData.width;
|
|
352
|
+
heightInt = staticImageData.height;
|
|
353
|
+
} else if (widthInt && !heightInt) {
|
|
354
|
+
const ratio = widthInt / staticImageData.width;
|
|
355
|
+
heightInt = Math.round(staticImageData.height * ratio);
|
|
356
|
+
} else if (!widthInt && heightInt) {
|
|
357
|
+
const ratio = heightInt / staticImageData.height;
|
|
358
|
+
widthInt = Math.round(staticImageData.width * ratio);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
src = typeof src === "string" ? src : staticSrc;
|
|
363
|
+
let isLazy = !priority && (loading === "lazy" || typeof loading === "undefined");
|
|
364
|
+
if (!src || src.startsWith("data:") || src.startsWith("blob:")) {
|
|
365
|
+
unoptimized = true;
|
|
366
|
+
isLazy = false;
|
|
367
|
+
}
|
|
368
|
+
if (config.unoptimized) {
|
|
369
|
+
unoptimized = true;
|
|
370
|
+
}
|
|
371
|
+
if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split("?", 1)[0].endsWith(".svg")) {
|
|
372
|
+
unoptimized = true;
|
|
373
|
+
}
|
|
374
|
+
const qualityInt = getInt(quality);
|
|
375
|
+
if (process.env.NODE_ENV !== "production") {
|
|
376
|
+
if (config.output === "export" && isDefaultLoader && !unoptimized) {
|
|
377
|
+
throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"), "__NEXT_ERROR_CODE", {
|
|
378
|
+
value: "E500",
|
|
379
|
+
enumerable: false,
|
|
380
|
+
configurable: true
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
if (!src) {
|
|
384
|
+
unoptimized = true;
|
|
385
|
+
} else {
|
|
386
|
+
if (fill) {
|
|
387
|
+
if (width) {
|
|
388
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has both "width" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
|
|
389
|
+
value: "E96",
|
|
390
|
+
enumerable: false,
|
|
391
|
+
configurable: true
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
if (height) {
|
|
395
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has both "height" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
|
|
396
|
+
value: "E115",
|
|
397
|
+
enumerable: false,
|
|
398
|
+
configurable: true
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
if ((style == null ? void 0 : style.position) && style.position !== "absolute") {
|
|
402
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'), "__NEXT_ERROR_CODE", {
|
|
403
|
+
value: "E216",
|
|
404
|
+
enumerable: false,
|
|
405
|
+
configurable: true
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
if ((style == null ? void 0 : style.width) && style.width !== "100%") {
|
|
409
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
|
|
410
|
+
value: "E73",
|
|
411
|
+
enumerable: false,
|
|
412
|
+
configurable: true
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
if ((style == null ? void 0 : style.height) && style.height !== "100%") {
|
|
416
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
|
|
417
|
+
value: "E404",
|
|
418
|
+
enumerable: false,
|
|
419
|
+
configurable: true
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
} else {
|
|
423
|
+
if (typeof widthInt === "undefined") {
|
|
424
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "width" property.'), "__NEXT_ERROR_CODE", {
|
|
425
|
+
value: "E451",
|
|
426
|
+
enumerable: false,
|
|
427
|
+
configurable: true
|
|
428
|
+
});
|
|
429
|
+
} else if (isNaN(widthInt)) {
|
|
430
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "width" property. Expected a numeric value in pixels but received "' + width + '".'), "__NEXT_ERROR_CODE", {
|
|
431
|
+
value: "E66",
|
|
432
|
+
enumerable: false,
|
|
433
|
+
configurable: true
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
if (typeof heightInt === "undefined") {
|
|
437
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "height" property.'), "__NEXT_ERROR_CODE", {
|
|
438
|
+
value: "E397",
|
|
439
|
+
enumerable: false,
|
|
440
|
+
configurable: true
|
|
441
|
+
});
|
|
442
|
+
} else if (isNaN(heightInt)) {
|
|
443
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "height" property. Expected a numeric value in pixels but received "' + height + '".'), "__NEXT_ERROR_CODE", {
|
|
444
|
+
value: "E444",
|
|
445
|
+
enumerable: false,
|
|
446
|
+
configurable: true
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
if (/^[\x00-\x20]/.test(src)) {
|
|
450
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
|
|
451
|
+
value: "E176",
|
|
452
|
+
enumerable: false,
|
|
453
|
+
configurable: true
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
if (/[\x00-\x20]$/.test(src)) {
|
|
457
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
|
|
458
|
+
value: "E21",
|
|
459
|
+
enumerable: false,
|
|
460
|
+
configurable: true
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
if (!VALID_LOADING_VALUES.includes(loading)) {
|
|
466
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "loading" property. Provided "' + loading + '" should be one of ' + VALID_LOADING_VALUES.map(String).join(",") + "."), "__NEXT_ERROR_CODE", {
|
|
467
|
+
value: "E357",
|
|
468
|
+
enumerable: false,
|
|
469
|
+
configurable: true
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
if (priority && loading === "lazy") {
|
|
473
|
+
throw Object.defineProperty(new Error('Image with src "' + src + `" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
|
|
474
|
+
value: "E218",
|
|
475
|
+
enumerable: false,
|
|
476
|
+
configurable: true
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
if (placeholder !== "empty" && placeholder !== "blur" && !placeholder.startsWith("data:image/")) {
|
|
480
|
+
throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "placeholder" property "' + placeholder + '".'), "__NEXT_ERROR_CODE", {
|
|
481
|
+
value: "E431",
|
|
482
|
+
enumerable: false,
|
|
483
|
+
configurable: true
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
if (placeholder !== "empty") {
|
|
487
|
+
if (widthInt && heightInt && widthInt * heightInt < 1600) {
|
|
488
|
+
(0, _warnonce.warnOnce)('Image with src "' + src + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.');
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
if (placeholder === "blur" && !blurDataURL) {
|
|
492
|
+
const VALID_BLUR_EXT = [
|
|
493
|
+
"jpeg",
|
|
494
|
+
"png",
|
|
495
|
+
"webp",
|
|
496
|
+
"avif"
|
|
497
|
+
];
|
|
498
|
+
throw Object.defineProperty(new Error('Image with src "' + src + `" has "placeholder='blur'" property but is missing the "blurDataURL" property.
|
|
499
|
+
Possible solutions:
|
|
500
|
+
- Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
|
|
501
|
+
- Change the "src" property to a static import with one of the supported file types: ` + VALID_BLUR_EXT.join(",") + ' (animated images not supported)\n - Remove the "placeholder" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url'), "__NEXT_ERROR_CODE", {
|
|
502
|
+
value: "E371",
|
|
503
|
+
enumerable: false,
|
|
504
|
+
configurable: true
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
if ("ref" in rest) {
|
|
508
|
+
(0, _warnonce.warnOnce)('Image with src "' + src + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.');
|
|
509
|
+
}
|
|
510
|
+
if (!unoptimized && !isDefaultLoader) {
|
|
511
|
+
const urlStr = loader({
|
|
512
|
+
config,
|
|
513
|
+
src,
|
|
514
|
+
width: widthInt || 400,
|
|
515
|
+
quality: qualityInt || 75
|
|
516
|
+
});
|
|
517
|
+
let url;
|
|
518
|
+
try {
|
|
519
|
+
url = new URL(urlStr);
|
|
520
|
+
} catch (err) {
|
|
521
|
+
}
|
|
522
|
+
if (urlStr === src || url && url.pathname === src && !url.search) {
|
|
523
|
+
(0, _warnonce.warnOnce)('Image with src "' + src + '" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width');
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
if (onLoadingComplete) {
|
|
527
|
+
(0, _warnonce.warnOnce)('Image with src "' + src + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
|
|
528
|
+
}
|
|
529
|
+
for (const [legacyKey, legacyValue] of Object.entries({
|
|
530
|
+
layout,
|
|
531
|
+
objectFit,
|
|
532
|
+
objectPosition,
|
|
533
|
+
lazyBoundary,
|
|
534
|
+
lazyRoot
|
|
535
|
+
})) {
|
|
536
|
+
if (legacyValue) {
|
|
537
|
+
(0, _warnonce.warnOnce)('Image with src "' + src + '" has legacy prop "' + legacyKey + '". Did you forget to run the codemod?\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13');
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
if (typeof window !== "undefined" && !perfObserver && window.PerformanceObserver) {
|
|
541
|
+
perfObserver = new PerformanceObserver((entryList) => {
|
|
542
|
+
for (const entry of entryList.getEntries()) {
|
|
543
|
+
var _entry_element;
|
|
544
|
+
const imgSrc = (entry == null ? void 0 : (_entry_element = entry.element) == null ? void 0 : _entry_element.src) || "";
|
|
545
|
+
const lcpImage = allImgs.get(imgSrc);
|
|
546
|
+
if (lcpImage && !lcpImage.priority && lcpImage.placeholder === "empty" && !lcpImage.src.startsWith("data:") && !lcpImage.src.startsWith("blob:")) {
|
|
547
|
+
(0, _warnonce.warnOnce)('Image with src "' + lcpImage.src + '" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.\nRead more: https://nextjs.org/docs/api-reference/next/image#priority');
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
});
|
|
551
|
+
try {
|
|
552
|
+
perfObserver.observe({
|
|
553
|
+
type: "largest-contentful-paint",
|
|
554
|
+
buffered: true
|
|
555
|
+
});
|
|
556
|
+
} catch (err) {
|
|
557
|
+
console.error(err);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
const imgStyle = Object.assign(fill ? {
|
|
562
|
+
position: "absolute",
|
|
563
|
+
height: "100%",
|
|
564
|
+
width: "100%",
|
|
565
|
+
left: 0,
|
|
566
|
+
top: 0,
|
|
567
|
+
right: 0,
|
|
568
|
+
bottom: 0,
|
|
569
|
+
objectFit,
|
|
570
|
+
objectPosition
|
|
571
|
+
} : {}, showAltText ? {} : {
|
|
572
|
+
color: "transparent"
|
|
573
|
+
}, style);
|
|
574
|
+
const backgroundImage = !blurComplete && placeholder !== "empty" ? placeholder === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, _imageblursvg.getImageBlurSvg)({
|
|
575
|
+
widthInt,
|
|
576
|
+
heightInt,
|
|
577
|
+
blurWidth,
|
|
578
|
+
blurHeight,
|
|
579
|
+
blurDataURL: blurDataURL || "",
|
|
580
|
+
objectFit: imgStyle.objectFit
|
|
581
|
+
}) + '")' : 'url("' + placeholder + '")' : null;
|
|
582
|
+
const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === "fill" ? "100% 100%" : "cover";
|
|
583
|
+
let placeholderStyle = backgroundImage ? {
|
|
584
|
+
backgroundSize,
|
|
585
|
+
backgroundPosition: imgStyle.objectPosition || "50% 50%",
|
|
586
|
+
backgroundRepeat: "no-repeat",
|
|
587
|
+
backgroundImage
|
|
588
|
+
} : {};
|
|
589
|
+
if (process.env.NODE_ENV === "development") {
|
|
590
|
+
if (placeholderStyle.backgroundImage && placeholder === "blur" && (blurDataURL == null ? void 0 : blurDataURL.startsWith("/"))) {
|
|
591
|
+
placeholderStyle.backgroundImage = 'url("' + blurDataURL + '")';
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
const imgAttributes = generateImgAttrs({
|
|
595
|
+
config,
|
|
596
|
+
src,
|
|
597
|
+
unoptimized,
|
|
598
|
+
width: widthInt,
|
|
599
|
+
quality: qualityInt,
|
|
600
|
+
sizes,
|
|
601
|
+
loader
|
|
602
|
+
});
|
|
603
|
+
if (process.env.NODE_ENV !== "production") {
|
|
604
|
+
if (typeof window !== "undefined") {
|
|
605
|
+
let fullUrl;
|
|
606
|
+
try {
|
|
607
|
+
fullUrl = new URL(imgAttributes.src);
|
|
608
|
+
} catch (e) {
|
|
609
|
+
fullUrl = new URL(imgAttributes.src, window.location.href);
|
|
610
|
+
}
|
|
611
|
+
allImgs.set(fullUrl.href, {
|
|
612
|
+
src,
|
|
613
|
+
priority,
|
|
614
|
+
placeholder
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
const props = {
|
|
619
|
+
...rest,
|
|
620
|
+
loading: isLazy ? "lazy" : loading,
|
|
621
|
+
fetchPriority,
|
|
622
|
+
width: widthInt,
|
|
623
|
+
height: heightInt,
|
|
624
|
+
decoding,
|
|
625
|
+
className,
|
|
626
|
+
style: {
|
|
627
|
+
...imgStyle,
|
|
628
|
+
...placeholderStyle
|
|
629
|
+
},
|
|
630
|
+
sizes: imgAttributes.sizes,
|
|
631
|
+
srcSet: imgAttributes.srcSet,
|
|
632
|
+
src: overrideSrc || imgAttributes.src
|
|
633
|
+
};
|
|
634
|
+
const meta = {
|
|
635
|
+
unoptimized,
|
|
636
|
+
priority,
|
|
637
|
+
placeholder,
|
|
638
|
+
fill
|
|
639
|
+
};
|
|
640
|
+
return {
|
|
641
|
+
props,
|
|
642
|
+
meta
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
})(getImgProps);
|
|
646
|
+
var imageComponent = { exports: {} };
|
|
647
|
+
var head = { exports: {} };
|
|
648
|
+
var sideEffect = {};
|
|
649
|
+
var hasRequiredSideEffect;
|
|
650
|
+
function requireSideEffect() {
|
|
651
|
+
if (hasRequiredSideEffect) return sideEffect;
|
|
652
|
+
hasRequiredSideEffect = 1;
|
|
653
|
+
(function(exports2) {
|
|
654
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
655
|
+
value: true
|
|
656
|
+
});
|
|
657
|
+
Object.defineProperty(exports2, "default", {
|
|
658
|
+
enumerable: true,
|
|
659
|
+
get: function() {
|
|
660
|
+
return SideEffect;
|
|
661
|
+
}
|
|
662
|
+
});
|
|
663
|
+
const _react = React;
|
|
664
|
+
const isServer = typeof window === "undefined";
|
|
665
|
+
const useClientOnlyLayoutEffect = isServer ? () => {
|
|
666
|
+
} : _react.useLayoutEffect;
|
|
667
|
+
const useClientOnlyEffect = isServer ? () => {
|
|
668
|
+
} : _react.useEffect;
|
|
669
|
+
function SideEffect(props) {
|
|
670
|
+
const { headManager, reduceComponentsToState } = props;
|
|
671
|
+
function emitChange() {
|
|
672
|
+
if (headManager && headManager.mountedInstances) {
|
|
673
|
+
const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));
|
|
674
|
+
headManager.updateHead(reduceComponentsToState(headElements, props));
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
if (isServer) {
|
|
678
|
+
var _headManager_mountedInstances;
|
|
679
|
+
headManager == null ? void 0 : (_headManager_mountedInstances = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances.add(props.children);
|
|
680
|
+
emitChange();
|
|
681
|
+
}
|
|
682
|
+
useClientOnlyLayoutEffect(() => {
|
|
683
|
+
var _headManager_mountedInstances2;
|
|
684
|
+
headManager == null ? void 0 : (_headManager_mountedInstances2 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances2.add(props.children);
|
|
685
|
+
return () => {
|
|
686
|
+
var _headManager_mountedInstances3;
|
|
687
|
+
headManager == null ? void 0 : (_headManager_mountedInstances3 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances3.delete(props.children);
|
|
688
|
+
};
|
|
689
|
+
});
|
|
690
|
+
useClientOnlyLayoutEffect(() => {
|
|
691
|
+
if (headManager) {
|
|
692
|
+
headManager._pendingUpdate = emitChange;
|
|
693
|
+
}
|
|
694
|
+
return () => {
|
|
695
|
+
if (headManager) {
|
|
696
|
+
headManager._pendingUpdate = emitChange;
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
});
|
|
700
|
+
useClientOnlyEffect(() => {
|
|
701
|
+
if (headManager && headManager._pendingUpdate) {
|
|
702
|
+
headManager._pendingUpdate();
|
|
703
|
+
headManager._pendingUpdate = null;
|
|
704
|
+
}
|
|
705
|
+
return () => {
|
|
706
|
+
if (headManager && headManager._pendingUpdate) {
|
|
707
|
+
headManager._pendingUpdate();
|
|
708
|
+
headManager._pendingUpdate = null;
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
});
|
|
712
|
+
return null;
|
|
713
|
+
}
|
|
714
|
+
})(sideEffect);
|
|
715
|
+
return sideEffect;
|
|
716
|
+
}
|
|
717
|
+
var ampContext_sharedRuntime = {};
|
|
718
|
+
var hasRequiredAmpContext_sharedRuntime;
|
|
719
|
+
function requireAmpContext_sharedRuntime() {
|
|
720
|
+
if (hasRequiredAmpContext_sharedRuntime) return ampContext_sharedRuntime;
|
|
721
|
+
hasRequiredAmpContext_sharedRuntime = 1;
|
|
722
|
+
(function(exports2) {
|
|
723
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
724
|
+
value: true
|
|
725
|
+
});
|
|
726
|
+
Object.defineProperty(exports2, "AmpStateContext", {
|
|
727
|
+
enumerable: true,
|
|
728
|
+
get: function() {
|
|
729
|
+
return AmpStateContext;
|
|
730
|
+
}
|
|
731
|
+
});
|
|
732
|
+
const _interop_require_default = link._interop_require_default;
|
|
733
|
+
const _react = /* @__PURE__ */ _interop_require_default._(React);
|
|
734
|
+
const AmpStateContext = _react.default.createContext({});
|
|
735
|
+
if (process.env.NODE_ENV !== "production") {
|
|
736
|
+
AmpStateContext.displayName = "AmpStateContext";
|
|
737
|
+
}
|
|
738
|
+
})(ampContext_sharedRuntime);
|
|
739
|
+
return ampContext_sharedRuntime;
|
|
740
|
+
}
|
|
741
|
+
var headManagerContext_sharedRuntime = {};
|
|
742
|
+
var hasRequiredHeadManagerContext_sharedRuntime;
|
|
743
|
+
function requireHeadManagerContext_sharedRuntime() {
|
|
744
|
+
if (hasRequiredHeadManagerContext_sharedRuntime) return headManagerContext_sharedRuntime;
|
|
745
|
+
hasRequiredHeadManagerContext_sharedRuntime = 1;
|
|
746
|
+
(function(exports2) {
|
|
747
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
748
|
+
value: true
|
|
749
|
+
});
|
|
750
|
+
Object.defineProperty(exports2, "HeadManagerContext", {
|
|
751
|
+
enumerable: true,
|
|
752
|
+
get: function() {
|
|
753
|
+
return HeadManagerContext;
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
const _interop_require_default = link._interop_require_default;
|
|
757
|
+
const _react = /* @__PURE__ */ _interop_require_default._(React);
|
|
758
|
+
const HeadManagerContext = _react.default.createContext({});
|
|
759
|
+
if (process.env.NODE_ENV !== "production") {
|
|
760
|
+
HeadManagerContext.displayName = "HeadManagerContext";
|
|
761
|
+
}
|
|
762
|
+
})(headManagerContext_sharedRuntime);
|
|
763
|
+
return headManagerContext_sharedRuntime;
|
|
764
|
+
}
|
|
765
|
+
var ampMode = {};
|
|
766
|
+
var hasRequiredAmpMode;
|
|
767
|
+
function requireAmpMode() {
|
|
768
|
+
if (hasRequiredAmpMode) return ampMode;
|
|
769
|
+
hasRequiredAmpMode = 1;
|
|
770
|
+
(function(exports2) {
|
|
771
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
772
|
+
value: true
|
|
773
|
+
});
|
|
774
|
+
Object.defineProperty(exports2, "isInAmpMode", {
|
|
775
|
+
enumerable: true,
|
|
776
|
+
get: function() {
|
|
777
|
+
return isInAmpMode;
|
|
778
|
+
}
|
|
779
|
+
});
|
|
780
|
+
function isInAmpMode(param) {
|
|
781
|
+
let { ampFirst = false, hybrid = false, hasQuery = false } = param === void 0 ? {} : param;
|
|
782
|
+
return ampFirst || hybrid && hasQuery;
|
|
783
|
+
}
|
|
784
|
+
})(ampMode);
|
|
785
|
+
return ampMode;
|
|
786
|
+
}
|
|
787
|
+
var hasRequiredHead;
|
|
788
|
+
function requireHead() {
|
|
789
|
+
if (hasRequiredHead) return head.exports;
|
|
790
|
+
hasRequiredHead = 1;
|
|
791
|
+
(function(module2, exports2) {
|
|
792
|
+
"use client";
|
|
793
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
794
|
+
value: true
|
|
795
|
+
});
|
|
796
|
+
function _export(target, all) {
|
|
797
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
798
|
+
enumerable: true,
|
|
799
|
+
get: all[name]
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
_export(exports2, {
|
|
803
|
+
default: function() {
|
|
804
|
+
return _default;
|
|
805
|
+
},
|
|
806
|
+
defaultHead: function() {
|
|
807
|
+
return defaultHead;
|
|
808
|
+
}
|
|
809
|
+
});
|
|
810
|
+
const _interop_require_default = link._interop_require_default;
|
|
811
|
+
const _interop_require_wildcard = link._interop_require_wildcard;
|
|
812
|
+
const _jsxruntime = require$$2;
|
|
813
|
+
const _react = /* @__PURE__ */ _interop_require_wildcard._(React);
|
|
814
|
+
const _sideeffect = /* @__PURE__ */ _interop_require_default._(requireSideEffect());
|
|
815
|
+
const _ampcontextsharedruntime = requireAmpContext_sharedRuntime();
|
|
816
|
+
const _headmanagercontextsharedruntime = requireHeadManagerContext_sharedRuntime();
|
|
817
|
+
const _ampmode = requireAmpMode();
|
|
818
|
+
const _warnonce = warnOnce;
|
|
819
|
+
function defaultHead(inAmpMode) {
|
|
820
|
+
if (inAmpMode === void 0) inAmpMode = false;
|
|
821
|
+
const head2 = [
|
|
822
|
+
/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
|
|
823
|
+
charSet: "utf-8"
|
|
824
|
+
}, "charset")
|
|
825
|
+
];
|
|
826
|
+
if (!inAmpMode) {
|
|
827
|
+
head2.push(/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
|
|
828
|
+
name: "viewport",
|
|
829
|
+
content: "width=device-width"
|
|
830
|
+
}, "viewport"));
|
|
831
|
+
}
|
|
832
|
+
return head2;
|
|
833
|
+
}
|
|
834
|
+
function onlyReactElement(list, child) {
|
|
835
|
+
if (typeof child === "string" || typeof child === "number") {
|
|
836
|
+
return list;
|
|
837
|
+
}
|
|
838
|
+
if (child.type === _react.default.Fragment) {
|
|
839
|
+
return list.concat(
|
|
840
|
+
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
841
|
+
_react.default.Children.toArray(child.props.children).reduce(
|
|
842
|
+
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
843
|
+
(fragmentList, fragmentChild) => {
|
|
844
|
+
if (typeof fragmentChild === "string" || typeof fragmentChild === "number") {
|
|
845
|
+
return fragmentList;
|
|
846
|
+
}
|
|
847
|
+
return fragmentList.concat(fragmentChild);
|
|
848
|
+
},
|
|
849
|
+
[]
|
|
850
|
+
)
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
return list.concat(child);
|
|
854
|
+
}
|
|
855
|
+
const METATYPES = [
|
|
856
|
+
"name",
|
|
857
|
+
"httpEquiv",
|
|
858
|
+
"charSet",
|
|
859
|
+
"itemProp"
|
|
860
|
+
];
|
|
861
|
+
function unique() {
|
|
862
|
+
const keys = /* @__PURE__ */ new Set();
|
|
863
|
+
const tags = /* @__PURE__ */ new Set();
|
|
864
|
+
const metaTypes = /* @__PURE__ */ new Set();
|
|
865
|
+
const metaCategories = {};
|
|
866
|
+
return (h) => {
|
|
867
|
+
let isUnique = true;
|
|
868
|
+
let hasKey = false;
|
|
869
|
+
if (h.key && typeof h.key !== "number" && h.key.indexOf("$") > 0) {
|
|
870
|
+
hasKey = true;
|
|
871
|
+
const key = h.key.slice(h.key.indexOf("$") + 1);
|
|
872
|
+
if (keys.has(key)) {
|
|
873
|
+
isUnique = false;
|
|
874
|
+
} else {
|
|
875
|
+
keys.add(key);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
switch (h.type) {
|
|
879
|
+
case "title":
|
|
880
|
+
case "base":
|
|
881
|
+
if (tags.has(h.type)) {
|
|
882
|
+
isUnique = false;
|
|
883
|
+
} else {
|
|
884
|
+
tags.add(h.type);
|
|
885
|
+
}
|
|
886
|
+
break;
|
|
887
|
+
case "meta":
|
|
888
|
+
for (let i = 0, len = METATYPES.length; i < len; i++) {
|
|
889
|
+
const metatype = METATYPES[i];
|
|
890
|
+
if (!h.props.hasOwnProperty(metatype)) continue;
|
|
891
|
+
if (metatype === "charSet") {
|
|
892
|
+
if (metaTypes.has(metatype)) {
|
|
893
|
+
isUnique = false;
|
|
894
|
+
} else {
|
|
895
|
+
metaTypes.add(metatype);
|
|
896
|
+
}
|
|
897
|
+
} else {
|
|
898
|
+
const category = h.props[metatype];
|
|
899
|
+
const categories = metaCategories[metatype] || /* @__PURE__ */ new Set();
|
|
900
|
+
if ((metatype !== "name" || !hasKey) && categories.has(category)) {
|
|
901
|
+
isUnique = false;
|
|
902
|
+
} else {
|
|
903
|
+
categories.add(category);
|
|
904
|
+
metaCategories[metatype] = categories;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
break;
|
|
909
|
+
}
|
|
910
|
+
return isUnique;
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
function reduceComponents(headChildrenElements, props) {
|
|
914
|
+
const { inAmpMode } = props;
|
|
915
|
+
return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i) => {
|
|
916
|
+
const key = c.key || i;
|
|
917
|
+
if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !inAmpMode) {
|
|
918
|
+
if (c.type === "link" && c.props["href"] && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
|
|
919
|
+
[
|
|
920
|
+
"https://fonts.googleapis.com/css",
|
|
921
|
+
"https://use.typekit.net/"
|
|
922
|
+
].some((url) => c.props["href"].startsWith(url))) {
|
|
923
|
+
const newProps = {
|
|
924
|
+
...c.props || {}
|
|
925
|
+
};
|
|
926
|
+
newProps["data-href"] = newProps["href"];
|
|
927
|
+
newProps["href"] = void 0;
|
|
928
|
+
newProps["data-optimized-fonts"] = true;
|
|
929
|
+
return /* @__PURE__ */ _react.default.cloneElement(c, newProps);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
if (process.env.NODE_ENV === "development") {
|
|
933
|
+
if (c.type === "script" && c.props["type"] !== "application/ld+json") {
|
|
934
|
+
const srcMessage = c.props["src"] ? '<script> tag with src="' + c.props["src"] + '"' : "inline <script>";
|
|
935
|
+
(0, _warnonce.warnOnce)("Do not add <script> tags using next/head (see " + srcMessage + "). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component");
|
|
936
|
+
} else if (c.type === "link" && c.props["rel"] === "stylesheet") {
|
|
937
|
+
(0, _warnonce.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + c.props["href"] + '"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component');
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
return /* @__PURE__ */ _react.default.cloneElement(c, {
|
|
941
|
+
key
|
|
942
|
+
});
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
function Head(param) {
|
|
946
|
+
let { children } = param;
|
|
947
|
+
const ampState = (0, _react.useContext)(_ampcontextsharedruntime.AmpStateContext);
|
|
948
|
+
const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);
|
|
949
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_sideeffect.default, {
|
|
950
|
+
reduceComponentsToState: reduceComponents,
|
|
951
|
+
headManager,
|
|
952
|
+
inAmpMode: (0, _ampmode.isInAmpMode)(ampState),
|
|
953
|
+
children
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
const _default = Head;
|
|
957
|
+
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
958
|
+
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
959
|
+
Object.assign(exports2.default, exports2);
|
|
960
|
+
module2.exports = exports2.default;
|
|
961
|
+
}
|
|
962
|
+
})(head, head.exports);
|
|
963
|
+
return head.exports;
|
|
964
|
+
}
|
|
965
|
+
var imageConfigContext_sharedRuntime = {};
|
|
966
|
+
var hasRequiredImageConfigContext_sharedRuntime;
|
|
967
|
+
function requireImageConfigContext_sharedRuntime() {
|
|
968
|
+
if (hasRequiredImageConfigContext_sharedRuntime) return imageConfigContext_sharedRuntime;
|
|
969
|
+
hasRequiredImageConfigContext_sharedRuntime = 1;
|
|
970
|
+
(function(exports2) {
|
|
971
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
972
|
+
value: true
|
|
973
|
+
});
|
|
974
|
+
Object.defineProperty(exports2, "ImageConfigContext", {
|
|
975
|
+
enumerable: true,
|
|
976
|
+
get: function() {
|
|
977
|
+
return ImageConfigContext;
|
|
978
|
+
}
|
|
979
|
+
});
|
|
980
|
+
const _interop_require_default = link._interop_require_default;
|
|
981
|
+
const _react = /* @__PURE__ */ _interop_require_default._(React);
|
|
982
|
+
const _imageconfig = imageConfig;
|
|
983
|
+
const ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault);
|
|
984
|
+
if (process.env.NODE_ENV !== "production") {
|
|
985
|
+
ImageConfigContext.displayName = "ImageConfigContext";
|
|
986
|
+
}
|
|
987
|
+
})(imageConfigContext_sharedRuntime);
|
|
988
|
+
return imageConfigContext_sharedRuntime;
|
|
989
|
+
}
|
|
990
|
+
var imageLoader = {};
|
|
991
|
+
var matchLocalPattern = {};
|
|
992
|
+
var picomatch = { exports: {} };
|
|
993
|
+
var hasRequiredPicomatch;
|
|
994
|
+
function requirePicomatch() {
|
|
995
|
+
if (hasRequiredPicomatch) return picomatch.exports;
|
|
996
|
+
hasRequiredPicomatch = 1;
|
|
997
|
+
(() => {
|
|
998
|
+
var t = { 170: (t2, e2, u2) => {
|
|
999
|
+
const n = u2(510);
|
|
1000
|
+
const isWindows = () => {
|
|
1001
|
+
if (typeof navigator !== "undefined" && navigator.platform) {
|
|
1002
|
+
const t3 = navigator.platform.toLowerCase();
|
|
1003
|
+
return t3 === "win32" || t3 === "windows";
|
|
1004
|
+
}
|
|
1005
|
+
if (typeof process !== "undefined" && process.platform) {
|
|
1006
|
+
return process.platform === "win32";
|
|
1007
|
+
}
|
|
1008
|
+
return false;
|
|
1009
|
+
};
|
|
1010
|
+
function picomatch2(t3, e3, u3 = false) {
|
|
1011
|
+
if (e3 && (e3.windows === null || e3.windows === void 0)) {
|
|
1012
|
+
e3 = { ...e3, windows: isWindows() };
|
|
1013
|
+
}
|
|
1014
|
+
return n(t3, e3, u3);
|
|
1015
|
+
}
|
|
1016
|
+
Object.assign(picomatch2, n);
|
|
1017
|
+
t2.exports = picomatch2;
|
|
1018
|
+
}, 154: (t2) => {
|
|
1019
|
+
const e2 = "\\\\/";
|
|
1020
|
+
const u2 = `[^${e2}]`;
|
|
1021
|
+
const n = "\\.";
|
|
1022
|
+
const o = "\\+";
|
|
1023
|
+
const s = "\\?";
|
|
1024
|
+
const r = "\\/";
|
|
1025
|
+
const a = "(?=.)";
|
|
1026
|
+
const i = "[^/]";
|
|
1027
|
+
const c = `(?:${r}|$)`;
|
|
1028
|
+
const p = `(?:^|${r})`;
|
|
1029
|
+
const l = `${n}{1,2}${c}`;
|
|
1030
|
+
const f = `(?!${n})`;
|
|
1031
|
+
const A = `(?!${p}${l})`;
|
|
1032
|
+
const _ = `(?!${n}{0,1}${c})`;
|
|
1033
|
+
const R = `(?!${l})`;
|
|
1034
|
+
const E = `[^.${r}]`;
|
|
1035
|
+
const h = `${i}*?`;
|
|
1036
|
+
const g = "/";
|
|
1037
|
+
const b = { DOT_LITERAL: n, PLUS_LITERAL: o, QMARK_LITERAL: s, SLASH_LITERAL: r, ONE_CHAR: a, QMARK: i, END_ANCHOR: c, DOTS_SLASH: l, NO_DOT: f, NO_DOTS: A, NO_DOT_SLASH: _, NO_DOTS_SLASH: R, QMARK_NO_DOT: E, STAR: h, START_ANCHOR: p, SEP: g };
|
|
1038
|
+
const C = { ...b, SLASH_LITERAL: `[${e2}]`, QMARK: u2, STAR: `${u2}*?`, DOTS_SLASH: `${n}{1,2}(?:[${e2}]|$)`, NO_DOT: `(?!${n})`, NO_DOTS: `(?!(?:^|[${e2}])${n}{1,2}(?:[${e2}]|$))`, NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e2}]|$))`, NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e2}]|$))`, QMARK_NO_DOT: `[^.${e2}]`, START_ANCHOR: `(?:^|[${e2}])`, END_ANCHOR: `(?:[${e2}]|$)`, SEP: "\\" };
|
|
1039
|
+
const y = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
1040
|
+
t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: y, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(t3) {
|
|
1041
|
+
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
1042
|
+
}, globChars(t3) {
|
|
1043
|
+
return t3 === true ? C : b;
|
|
1044
|
+
} };
|
|
1045
|
+
}, 697: (t2, e2, u2) => {
|
|
1046
|
+
const n = u2(154);
|
|
1047
|
+
const o = u2(96);
|
|
1048
|
+
const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n;
|
|
1049
|
+
const expandRange = (t3, e3) => {
|
|
1050
|
+
if (typeof e3.expandRange === "function") {
|
|
1051
|
+
return e3.expandRange(...t3, e3);
|
|
1052
|
+
}
|
|
1053
|
+
t3.sort();
|
|
1054
|
+
const u3 = `[${t3.join("-")}]`;
|
|
1055
|
+
try {
|
|
1056
|
+
new RegExp(u3);
|
|
1057
|
+
} catch (e4) {
|
|
1058
|
+
return t3.map((t4) => o.escapeRegex(t4)).join("..");
|
|
1059
|
+
}
|
|
1060
|
+
return u3;
|
|
1061
|
+
};
|
|
1062
|
+
const syntaxError = (t3, e3) => `Missing ${t3}: "${e3}" - use "\\\\${e3}" to match literal characters`;
|
|
1063
|
+
const parse = (t3, e3) => {
|
|
1064
|
+
if (typeof t3 !== "string") {
|
|
1065
|
+
throw new TypeError("Expected a string");
|
|
1066
|
+
}
|
|
1067
|
+
t3 = c[t3] || t3;
|
|
1068
|
+
const u3 = { ...e3 };
|
|
1069
|
+
const p = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
|
|
1070
|
+
let l = t3.length;
|
|
1071
|
+
if (l > p) {
|
|
1072
|
+
throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
|
|
1073
|
+
}
|
|
1074
|
+
const f = { type: "bos", value: "", output: u3.prepend || "" };
|
|
1075
|
+
const A = [f];
|
|
1076
|
+
const _ = u3.capture ? "" : "?:";
|
|
1077
|
+
const R = n.globChars(u3.windows);
|
|
1078
|
+
const E = n.extglobChars(R);
|
|
1079
|
+
const { DOT_LITERAL: h, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: C, DOTS_SLASH: y, NO_DOT: $, NO_DOT_SLASH: x, NO_DOTS_SLASH: S, QMARK: H, QMARK_NO_DOT: v, STAR: d, START_ANCHOR: L } = R;
|
|
1080
|
+
const globstar = (t4) => `(${_}(?:(?!${L}${t4.dot ? y : h}).)*?)`;
|
|
1081
|
+
const T = u3.dot ? "" : $;
|
|
1082
|
+
const O = u3.dot ? H : v;
|
|
1083
|
+
let k = u3.bash === true ? globstar(u3) : d;
|
|
1084
|
+
if (u3.capture) {
|
|
1085
|
+
k = `(${k})`;
|
|
1086
|
+
}
|
|
1087
|
+
if (typeof u3.noext === "boolean") {
|
|
1088
|
+
u3.noextglob = u3.noext;
|
|
1089
|
+
}
|
|
1090
|
+
const m = { input: t3, index: -1, start: 0, dot: u3.dot === true, consumed: "", output: "", prefix: "", backtrack: false, negated: false, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: false, tokens: A };
|
|
1091
|
+
t3 = o.removePrefix(t3, m);
|
|
1092
|
+
l = t3.length;
|
|
1093
|
+
const w = [];
|
|
1094
|
+
const N = [];
|
|
1095
|
+
const I = [];
|
|
1096
|
+
let B = f;
|
|
1097
|
+
let G;
|
|
1098
|
+
const eos = () => m.index === l - 1;
|
|
1099
|
+
const D = m.peek = (e4 = 1) => t3[m.index + e4];
|
|
1100
|
+
const M = m.advance = () => t3[++m.index] || "";
|
|
1101
|
+
const remaining = () => t3.slice(m.index + 1);
|
|
1102
|
+
const consume = (t4 = "", e4 = 0) => {
|
|
1103
|
+
m.consumed += t4;
|
|
1104
|
+
m.index += e4;
|
|
1105
|
+
};
|
|
1106
|
+
const append = (t4) => {
|
|
1107
|
+
m.output += t4.output != null ? t4.output : t4.value;
|
|
1108
|
+
consume(t4.value);
|
|
1109
|
+
};
|
|
1110
|
+
const negate = () => {
|
|
1111
|
+
let t4 = 1;
|
|
1112
|
+
while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
|
|
1113
|
+
M();
|
|
1114
|
+
m.start++;
|
|
1115
|
+
t4++;
|
|
1116
|
+
}
|
|
1117
|
+
if (t4 % 2 === 0) {
|
|
1118
|
+
return false;
|
|
1119
|
+
}
|
|
1120
|
+
m.negated = true;
|
|
1121
|
+
m.start++;
|
|
1122
|
+
return true;
|
|
1123
|
+
};
|
|
1124
|
+
const increment = (t4) => {
|
|
1125
|
+
m[t4]++;
|
|
1126
|
+
I.push(t4);
|
|
1127
|
+
};
|
|
1128
|
+
const decrement = (t4) => {
|
|
1129
|
+
m[t4]--;
|
|
1130
|
+
I.pop();
|
|
1131
|
+
};
|
|
1132
|
+
const push = (t4) => {
|
|
1133
|
+
if (B.type === "globstar") {
|
|
1134
|
+
const e4 = m.braces > 0 && (t4.type === "comma" || t4.type === "brace");
|
|
1135
|
+
const u4 = t4.extglob === true || w.length && (t4.type === "pipe" || t4.type === "paren");
|
|
1136
|
+
if (t4.type !== "slash" && t4.type !== "paren" && !e4 && !u4) {
|
|
1137
|
+
m.output = m.output.slice(0, -B.output.length);
|
|
1138
|
+
B.type = "star";
|
|
1139
|
+
B.value = "*";
|
|
1140
|
+
B.output = k;
|
|
1141
|
+
m.output += B.output;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
if (w.length && t4.type !== "paren") {
|
|
1145
|
+
w[w.length - 1].inner += t4.value;
|
|
1146
|
+
}
|
|
1147
|
+
if (t4.value || t4.output) append(t4);
|
|
1148
|
+
if (B && B.type === "text" && t4.type === "text") {
|
|
1149
|
+
B.output = (B.output || B.value) + t4.value;
|
|
1150
|
+
B.value += t4.value;
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
t4.prev = B;
|
|
1154
|
+
A.push(t4);
|
|
1155
|
+
B = t4;
|
|
1156
|
+
};
|
|
1157
|
+
const extglobOpen = (t4, e4) => {
|
|
1158
|
+
const n2 = { ...E[e4], conditions: 1, inner: "" };
|
|
1159
|
+
n2.prev = B;
|
|
1160
|
+
n2.parens = m.parens;
|
|
1161
|
+
n2.output = m.output;
|
|
1162
|
+
const o2 = (u3.capture ? "(" : "") + n2.open;
|
|
1163
|
+
increment("parens");
|
|
1164
|
+
push({ type: t4, value: e4, output: m.output ? "" : C });
|
|
1165
|
+
push({ type: "paren", extglob: true, value: M(), output: o2 });
|
|
1166
|
+
w.push(n2);
|
|
1167
|
+
};
|
|
1168
|
+
const extglobClose = (t4) => {
|
|
1169
|
+
let n2 = t4.close + (u3.capture ? ")" : "");
|
|
1170
|
+
let o2;
|
|
1171
|
+
if (t4.type === "negate") {
|
|
1172
|
+
let s2 = k;
|
|
1173
|
+
if (t4.inner && t4.inner.length > 1 && t4.inner.includes("/")) {
|
|
1174
|
+
s2 = globstar(u3);
|
|
1175
|
+
}
|
|
1176
|
+
if (s2 !== k || eos() || /^\)+$/.test(remaining())) {
|
|
1177
|
+
n2 = t4.close = `)$))${s2}`;
|
|
1178
|
+
}
|
|
1179
|
+
if (t4.inner.includes("*") && (o2 = remaining()) && /^\.[^\\/.]+$/.test(o2)) {
|
|
1180
|
+
const u4 = parse(o2, { ...e3, fastpaths: false }).output;
|
|
1181
|
+
n2 = t4.close = `)${u4})${s2})`;
|
|
1182
|
+
}
|
|
1183
|
+
if (t4.prev.type === "bos") {
|
|
1184
|
+
m.negatedExtglob = true;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
push({ type: "paren", extglob: true, value: G, output: n2 });
|
|
1188
|
+
decrement("parens");
|
|
1189
|
+
};
|
|
1190
|
+
if (u3.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t3)) {
|
|
1191
|
+
let n2 = false;
|
|
1192
|
+
let s2 = t3.replace(i, (t4, e4, u4, o2, s3, r2) => {
|
|
1193
|
+
if (o2 === "\\") {
|
|
1194
|
+
n2 = true;
|
|
1195
|
+
return t4;
|
|
1196
|
+
}
|
|
1197
|
+
if (o2 === "?") {
|
|
1198
|
+
if (e4) {
|
|
1199
|
+
return e4 + o2 + (s3 ? H.repeat(s3.length) : "");
|
|
1200
|
+
}
|
|
1201
|
+
if (r2 === 0) {
|
|
1202
|
+
return O + (s3 ? H.repeat(s3.length) : "");
|
|
1203
|
+
}
|
|
1204
|
+
return H.repeat(u4.length);
|
|
1205
|
+
}
|
|
1206
|
+
if (o2 === ".") {
|
|
1207
|
+
return h.repeat(u4.length);
|
|
1208
|
+
}
|
|
1209
|
+
if (o2 === "*") {
|
|
1210
|
+
if (e4) {
|
|
1211
|
+
return e4 + o2 + (s3 ? k : "");
|
|
1212
|
+
}
|
|
1213
|
+
return k;
|
|
1214
|
+
}
|
|
1215
|
+
return e4 ? t4 : `\\${t4}`;
|
|
1216
|
+
});
|
|
1217
|
+
if (n2 === true) {
|
|
1218
|
+
if (u3.unescape === true) {
|
|
1219
|
+
s2 = s2.replace(/\\/g, "");
|
|
1220
|
+
} else {
|
|
1221
|
+
s2 = s2.replace(/\\+/g, (t4) => t4.length % 2 === 0 ? "\\\\" : t4 ? "\\" : "");
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
if (s2 === t3 && u3.contains === true) {
|
|
1225
|
+
m.output = t3;
|
|
1226
|
+
return m;
|
|
1227
|
+
}
|
|
1228
|
+
m.output = o.wrapOutput(s2, m, e3);
|
|
1229
|
+
return m;
|
|
1230
|
+
}
|
|
1231
|
+
while (!eos()) {
|
|
1232
|
+
G = M();
|
|
1233
|
+
if (G === "\0") {
|
|
1234
|
+
continue;
|
|
1235
|
+
}
|
|
1236
|
+
if (G === "\\") {
|
|
1237
|
+
const t4 = D();
|
|
1238
|
+
if (t4 === "/" && u3.bash !== true) {
|
|
1239
|
+
continue;
|
|
1240
|
+
}
|
|
1241
|
+
if (t4 === "." || t4 === ";") {
|
|
1242
|
+
continue;
|
|
1243
|
+
}
|
|
1244
|
+
if (!t4) {
|
|
1245
|
+
G += "\\";
|
|
1246
|
+
push({ type: "text", value: G });
|
|
1247
|
+
continue;
|
|
1248
|
+
}
|
|
1249
|
+
const e5 = /^\\+/.exec(remaining());
|
|
1250
|
+
let n3 = 0;
|
|
1251
|
+
if (e5 && e5[0].length > 2) {
|
|
1252
|
+
n3 = e5[0].length;
|
|
1253
|
+
m.index += n3;
|
|
1254
|
+
if (n3 % 2 !== 0) {
|
|
1255
|
+
G += "\\";
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
if (u3.unescape === true) {
|
|
1259
|
+
G = M();
|
|
1260
|
+
} else {
|
|
1261
|
+
G += M();
|
|
1262
|
+
}
|
|
1263
|
+
if (m.brackets === 0) {
|
|
1264
|
+
push({ type: "text", value: G });
|
|
1265
|
+
continue;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
|
|
1269
|
+
if (u3.posix !== false && G === ":") {
|
|
1270
|
+
const t4 = B.value.slice(1);
|
|
1271
|
+
if (t4.includes("[")) {
|
|
1272
|
+
B.posix = true;
|
|
1273
|
+
if (t4.includes(":")) {
|
|
1274
|
+
const t5 = B.value.lastIndexOf("[");
|
|
1275
|
+
const e5 = B.value.slice(0, t5);
|
|
1276
|
+
const u4 = B.value.slice(t5 + 2);
|
|
1277
|
+
const n3 = r[u4];
|
|
1278
|
+
if (n3) {
|
|
1279
|
+
B.value = e5 + n3;
|
|
1280
|
+
m.backtrack = true;
|
|
1281
|
+
M();
|
|
1282
|
+
if (!f.output && A.indexOf(B) === 1) {
|
|
1283
|
+
f.output = C;
|
|
1284
|
+
}
|
|
1285
|
+
continue;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
|
|
1291
|
+
G = `\\${G}`;
|
|
1292
|
+
}
|
|
1293
|
+
if (G === "]" && (B.value === "[" || B.value === "[^")) {
|
|
1294
|
+
G = `\\${G}`;
|
|
1295
|
+
}
|
|
1296
|
+
if (u3.posix === true && G === "!" && B.value === "[") {
|
|
1297
|
+
G = "^";
|
|
1298
|
+
}
|
|
1299
|
+
B.value += G;
|
|
1300
|
+
append({ value: G });
|
|
1301
|
+
continue;
|
|
1302
|
+
}
|
|
1303
|
+
if (m.quotes === 1 && G !== '"') {
|
|
1304
|
+
G = o.escapeRegex(G);
|
|
1305
|
+
B.value += G;
|
|
1306
|
+
append({ value: G });
|
|
1307
|
+
continue;
|
|
1308
|
+
}
|
|
1309
|
+
if (G === '"') {
|
|
1310
|
+
m.quotes = m.quotes === 1 ? 0 : 1;
|
|
1311
|
+
if (u3.keepQuotes === true) {
|
|
1312
|
+
push({ type: "text", value: G });
|
|
1313
|
+
}
|
|
1314
|
+
continue;
|
|
1315
|
+
}
|
|
1316
|
+
if (G === "(") {
|
|
1317
|
+
increment("parens");
|
|
1318
|
+
push({ type: "paren", value: G });
|
|
1319
|
+
continue;
|
|
1320
|
+
}
|
|
1321
|
+
if (G === ")") {
|
|
1322
|
+
if (m.parens === 0 && u3.strictBrackets === true) {
|
|
1323
|
+
throw new SyntaxError(syntaxError("opening", "("));
|
|
1324
|
+
}
|
|
1325
|
+
const t4 = w[w.length - 1];
|
|
1326
|
+
if (t4 && m.parens === t4.parens + 1) {
|
|
1327
|
+
extglobClose(w.pop());
|
|
1328
|
+
continue;
|
|
1329
|
+
}
|
|
1330
|
+
push({ type: "paren", value: G, output: m.parens ? ")" : "\\)" });
|
|
1331
|
+
decrement("parens");
|
|
1332
|
+
continue;
|
|
1333
|
+
}
|
|
1334
|
+
if (G === "[") {
|
|
1335
|
+
if (u3.nobracket === true || !remaining().includes("]")) {
|
|
1336
|
+
if (u3.nobracket !== true && u3.strictBrackets === true) {
|
|
1337
|
+
throw new SyntaxError(syntaxError("closing", "]"));
|
|
1338
|
+
}
|
|
1339
|
+
G = `\\${G}`;
|
|
1340
|
+
} else {
|
|
1341
|
+
increment("brackets");
|
|
1342
|
+
}
|
|
1343
|
+
push({ type: "bracket", value: G });
|
|
1344
|
+
continue;
|
|
1345
|
+
}
|
|
1346
|
+
if (G === "]") {
|
|
1347
|
+
if (u3.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
|
|
1348
|
+
push({ type: "text", value: G, output: `\\${G}` });
|
|
1349
|
+
continue;
|
|
1350
|
+
}
|
|
1351
|
+
if (m.brackets === 0) {
|
|
1352
|
+
if (u3.strictBrackets === true) {
|
|
1353
|
+
throw new SyntaxError(syntaxError("opening", "["));
|
|
1354
|
+
}
|
|
1355
|
+
push({ type: "text", value: G, output: `\\${G}` });
|
|
1356
|
+
continue;
|
|
1357
|
+
}
|
|
1358
|
+
decrement("brackets");
|
|
1359
|
+
const t4 = B.value.slice(1);
|
|
1360
|
+
if (B.posix !== true && t4[0] === "^" && !t4.includes("/")) {
|
|
1361
|
+
G = `/${G}`;
|
|
1362
|
+
}
|
|
1363
|
+
B.value += G;
|
|
1364
|
+
append({ value: G });
|
|
1365
|
+
if (u3.literalBrackets === false || o.hasRegexChars(t4)) {
|
|
1366
|
+
continue;
|
|
1367
|
+
}
|
|
1368
|
+
const e5 = o.escapeRegex(B.value);
|
|
1369
|
+
m.output = m.output.slice(0, -B.value.length);
|
|
1370
|
+
if (u3.literalBrackets === true) {
|
|
1371
|
+
m.output += e5;
|
|
1372
|
+
B.value = e5;
|
|
1373
|
+
continue;
|
|
1374
|
+
}
|
|
1375
|
+
B.value = `(${_}${e5}|${B.value})`;
|
|
1376
|
+
m.output += B.value;
|
|
1377
|
+
continue;
|
|
1378
|
+
}
|
|
1379
|
+
if (G === "{" && u3.nobrace !== true) {
|
|
1380
|
+
increment("braces");
|
|
1381
|
+
const t4 = { type: "brace", value: G, output: "(", outputIndex: m.output.length, tokensIndex: m.tokens.length };
|
|
1382
|
+
N.push(t4);
|
|
1383
|
+
push(t4);
|
|
1384
|
+
continue;
|
|
1385
|
+
}
|
|
1386
|
+
if (G === "}") {
|
|
1387
|
+
const t4 = N[N.length - 1];
|
|
1388
|
+
if (u3.nobrace === true || !t4) {
|
|
1389
|
+
push({ type: "text", value: G, output: G });
|
|
1390
|
+
continue;
|
|
1391
|
+
}
|
|
1392
|
+
let e5 = ")";
|
|
1393
|
+
if (t4.dots === true) {
|
|
1394
|
+
const t5 = A.slice();
|
|
1395
|
+
const n3 = [];
|
|
1396
|
+
for (let e6 = t5.length - 1; e6 >= 0; e6--) {
|
|
1397
|
+
A.pop();
|
|
1398
|
+
if (t5[e6].type === "brace") {
|
|
1399
|
+
break;
|
|
1400
|
+
}
|
|
1401
|
+
if (t5[e6].type !== "dots") {
|
|
1402
|
+
n3.unshift(t5[e6].value);
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
e5 = expandRange(n3, u3);
|
|
1406
|
+
m.backtrack = true;
|
|
1407
|
+
}
|
|
1408
|
+
if (t4.comma !== true && t4.dots !== true) {
|
|
1409
|
+
const u4 = m.output.slice(0, t4.outputIndex);
|
|
1410
|
+
const n3 = m.tokens.slice(t4.tokensIndex);
|
|
1411
|
+
t4.value = t4.output = "\\{";
|
|
1412
|
+
G = e5 = "\\}";
|
|
1413
|
+
m.output = u4;
|
|
1414
|
+
for (const t5 of n3) {
|
|
1415
|
+
m.output += t5.output || t5.value;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
push({ type: "brace", value: G, output: e5 });
|
|
1419
|
+
decrement("braces");
|
|
1420
|
+
N.pop();
|
|
1421
|
+
continue;
|
|
1422
|
+
}
|
|
1423
|
+
if (G === "|") {
|
|
1424
|
+
if (w.length > 0) {
|
|
1425
|
+
w[w.length - 1].conditions++;
|
|
1426
|
+
}
|
|
1427
|
+
push({ type: "text", value: G });
|
|
1428
|
+
continue;
|
|
1429
|
+
}
|
|
1430
|
+
if (G === ",") {
|
|
1431
|
+
let t4 = G;
|
|
1432
|
+
const e5 = N[N.length - 1];
|
|
1433
|
+
if (e5 && I[I.length - 1] === "braces") {
|
|
1434
|
+
e5.comma = true;
|
|
1435
|
+
t4 = "|";
|
|
1436
|
+
}
|
|
1437
|
+
push({ type: "comma", value: G, output: t4 });
|
|
1438
|
+
continue;
|
|
1439
|
+
}
|
|
1440
|
+
if (G === "/") {
|
|
1441
|
+
if (B.type === "dot" && m.index === m.start + 1) {
|
|
1442
|
+
m.start = m.index + 1;
|
|
1443
|
+
m.consumed = "";
|
|
1444
|
+
m.output = "";
|
|
1445
|
+
A.pop();
|
|
1446
|
+
B = f;
|
|
1447
|
+
continue;
|
|
1448
|
+
}
|
|
1449
|
+
push({ type: "slash", value: G, output: b });
|
|
1450
|
+
continue;
|
|
1451
|
+
}
|
|
1452
|
+
if (G === ".") {
|
|
1453
|
+
if (m.braces > 0 && B.type === "dot") {
|
|
1454
|
+
if (B.value === ".") B.output = h;
|
|
1455
|
+
const t4 = N[N.length - 1];
|
|
1456
|
+
B.type = "dots";
|
|
1457
|
+
B.output += G;
|
|
1458
|
+
B.value += G;
|
|
1459
|
+
t4.dots = true;
|
|
1460
|
+
continue;
|
|
1461
|
+
}
|
|
1462
|
+
if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
|
|
1463
|
+
push({ type: "text", value: G, output: h });
|
|
1464
|
+
continue;
|
|
1465
|
+
}
|
|
1466
|
+
push({ type: "dot", value: G, output: h });
|
|
1467
|
+
continue;
|
|
1468
|
+
}
|
|
1469
|
+
if (G === "?") {
|
|
1470
|
+
const t4 = B && B.value === "(";
|
|
1471
|
+
if (!t4 && u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1472
|
+
extglobOpen("qmark", G);
|
|
1473
|
+
continue;
|
|
1474
|
+
}
|
|
1475
|
+
if (B && B.type === "paren") {
|
|
1476
|
+
const t5 = D();
|
|
1477
|
+
let e5 = G;
|
|
1478
|
+
if (B.value === "(" && !/[!=<:]/.test(t5) || t5 === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
1479
|
+
e5 = `\\${G}`;
|
|
1480
|
+
}
|
|
1481
|
+
push({ type: "text", value: G, output: e5 });
|
|
1482
|
+
continue;
|
|
1483
|
+
}
|
|
1484
|
+
if (u3.dot !== true && (B.type === "slash" || B.type === "bos")) {
|
|
1485
|
+
push({ type: "qmark", value: G, output: v });
|
|
1486
|
+
continue;
|
|
1487
|
+
}
|
|
1488
|
+
push({ type: "qmark", value: G, output: H });
|
|
1489
|
+
continue;
|
|
1490
|
+
}
|
|
1491
|
+
if (G === "!") {
|
|
1492
|
+
if (u3.noextglob !== true && D() === "(") {
|
|
1493
|
+
if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
|
|
1494
|
+
extglobOpen("negate", G);
|
|
1495
|
+
continue;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
if (u3.nonegate !== true && m.index === 0) {
|
|
1499
|
+
negate();
|
|
1500
|
+
continue;
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
if (G === "+") {
|
|
1504
|
+
if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1505
|
+
extglobOpen("plus", G);
|
|
1506
|
+
continue;
|
|
1507
|
+
}
|
|
1508
|
+
if (B && B.value === "(" || u3.regex === false) {
|
|
1509
|
+
push({ type: "plus", value: G, output: g });
|
|
1510
|
+
continue;
|
|
1511
|
+
}
|
|
1512
|
+
if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
|
|
1513
|
+
push({ type: "plus", value: G });
|
|
1514
|
+
continue;
|
|
1515
|
+
}
|
|
1516
|
+
push({ type: "plus", value: g });
|
|
1517
|
+
continue;
|
|
1518
|
+
}
|
|
1519
|
+
if (G === "@") {
|
|
1520
|
+
if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
|
|
1521
|
+
push({ type: "at", extglob: true, value: G, output: "" });
|
|
1522
|
+
continue;
|
|
1523
|
+
}
|
|
1524
|
+
push({ type: "text", value: G });
|
|
1525
|
+
continue;
|
|
1526
|
+
}
|
|
1527
|
+
if (G !== "*") {
|
|
1528
|
+
if (G === "$" || G === "^") {
|
|
1529
|
+
G = `\\${G}`;
|
|
1530
|
+
}
|
|
1531
|
+
const t4 = a.exec(remaining());
|
|
1532
|
+
if (t4) {
|
|
1533
|
+
G += t4[0];
|
|
1534
|
+
m.index += t4[0].length;
|
|
1535
|
+
}
|
|
1536
|
+
push({ type: "text", value: G });
|
|
1537
|
+
continue;
|
|
1538
|
+
}
|
|
1539
|
+
if (B && (B.type === "globstar" || B.star === true)) {
|
|
1540
|
+
B.type = "star";
|
|
1541
|
+
B.star = true;
|
|
1542
|
+
B.value += G;
|
|
1543
|
+
B.output = k;
|
|
1544
|
+
m.backtrack = true;
|
|
1545
|
+
m.globstar = true;
|
|
1546
|
+
consume(G);
|
|
1547
|
+
continue;
|
|
1548
|
+
}
|
|
1549
|
+
let e4 = remaining();
|
|
1550
|
+
if (u3.noextglob !== true && /^\([^?]/.test(e4)) {
|
|
1551
|
+
extglobOpen("star", G);
|
|
1552
|
+
continue;
|
|
1553
|
+
}
|
|
1554
|
+
if (B.type === "star") {
|
|
1555
|
+
if (u3.noglobstar === true) {
|
|
1556
|
+
consume(G);
|
|
1557
|
+
continue;
|
|
1558
|
+
}
|
|
1559
|
+
const n3 = B.prev;
|
|
1560
|
+
const o2 = n3.prev;
|
|
1561
|
+
const s2 = n3.type === "slash" || n3.type === "bos";
|
|
1562
|
+
const r2 = o2 && (o2.type === "star" || o2.type === "globstar");
|
|
1563
|
+
if (u3.bash === true && (!s2 || e4[0] && e4[0] !== "/")) {
|
|
1564
|
+
push({ type: "star", value: G, output: "" });
|
|
1565
|
+
continue;
|
|
1566
|
+
}
|
|
1567
|
+
const a2 = m.braces > 0 && (n3.type === "comma" || n3.type === "brace");
|
|
1568
|
+
const i2 = w.length && (n3.type === "pipe" || n3.type === "paren");
|
|
1569
|
+
if (!s2 && n3.type !== "paren" && !a2 && !i2) {
|
|
1570
|
+
push({ type: "star", value: G, output: "" });
|
|
1571
|
+
continue;
|
|
1572
|
+
}
|
|
1573
|
+
while (e4.slice(0, 3) === "/**") {
|
|
1574
|
+
const u4 = t3[m.index + 4];
|
|
1575
|
+
if (u4 && u4 !== "/") {
|
|
1576
|
+
break;
|
|
1577
|
+
}
|
|
1578
|
+
e4 = e4.slice(3);
|
|
1579
|
+
consume("/**", 3);
|
|
1580
|
+
}
|
|
1581
|
+
if (n3.type === "bos" && eos()) {
|
|
1582
|
+
B.type = "globstar";
|
|
1583
|
+
B.value += G;
|
|
1584
|
+
B.output = globstar(u3);
|
|
1585
|
+
m.output = B.output;
|
|
1586
|
+
m.globstar = true;
|
|
1587
|
+
consume(G);
|
|
1588
|
+
continue;
|
|
1589
|
+
}
|
|
1590
|
+
if (n3.type === "slash" && n3.prev.type !== "bos" && !r2 && eos()) {
|
|
1591
|
+
m.output = m.output.slice(0, -(n3.output + B.output).length);
|
|
1592
|
+
n3.output = `(?:${n3.output}`;
|
|
1593
|
+
B.type = "globstar";
|
|
1594
|
+
B.output = globstar(u3) + (u3.strictSlashes ? ")" : "|$)");
|
|
1595
|
+
B.value += G;
|
|
1596
|
+
m.globstar = true;
|
|
1597
|
+
m.output += n3.output + B.output;
|
|
1598
|
+
consume(G);
|
|
1599
|
+
continue;
|
|
1600
|
+
}
|
|
1601
|
+
if (n3.type === "slash" && n3.prev.type !== "bos" && e4[0] === "/") {
|
|
1602
|
+
const t4 = e4[1] !== void 0 ? "|$" : "";
|
|
1603
|
+
m.output = m.output.slice(0, -(n3.output + B.output).length);
|
|
1604
|
+
n3.output = `(?:${n3.output}`;
|
|
1605
|
+
B.type = "globstar";
|
|
1606
|
+
B.output = `${globstar(u3)}${b}|${b}${t4})`;
|
|
1607
|
+
B.value += G;
|
|
1608
|
+
m.output += n3.output + B.output;
|
|
1609
|
+
m.globstar = true;
|
|
1610
|
+
consume(G + M());
|
|
1611
|
+
push({ type: "slash", value: "/", output: "" });
|
|
1612
|
+
continue;
|
|
1613
|
+
}
|
|
1614
|
+
if (n3.type === "bos" && e4[0] === "/") {
|
|
1615
|
+
B.type = "globstar";
|
|
1616
|
+
B.value += G;
|
|
1617
|
+
B.output = `(?:^|${b}|${globstar(u3)}${b})`;
|
|
1618
|
+
m.output = B.output;
|
|
1619
|
+
m.globstar = true;
|
|
1620
|
+
consume(G + M());
|
|
1621
|
+
push({ type: "slash", value: "/", output: "" });
|
|
1622
|
+
continue;
|
|
1623
|
+
}
|
|
1624
|
+
m.output = m.output.slice(0, -B.output.length);
|
|
1625
|
+
B.type = "globstar";
|
|
1626
|
+
B.output = globstar(u3);
|
|
1627
|
+
B.value += G;
|
|
1628
|
+
m.output += B.output;
|
|
1629
|
+
m.globstar = true;
|
|
1630
|
+
consume(G);
|
|
1631
|
+
continue;
|
|
1632
|
+
}
|
|
1633
|
+
const n2 = { type: "star", value: G, output: k };
|
|
1634
|
+
if (u3.bash === true) {
|
|
1635
|
+
n2.output = ".*?";
|
|
1636
|
+
if (B.type === "bos" || B.type === "slash") {
|
|
1637
|
+
n2.output = T + n2.output;
|
|
1638
|
+
}
|
|
1639
|
+
push(n2);
|
|
1640
|
+
continue;
|
|
1641
|
+
}
|
|
1642
|
+
if (B && (B.type === "bracket" || B.type === "paren") && u3.regex === true) {
|
|
1643
|
+
n2.output = G;
|
|
1644
|
+
push(n2);
|
|
1645
|
+
continue;
|
|
1646
|
+
}
|
|
1647
|
+
if (m.index === m.start || B.type === "slash" || B.type === "dot") {
|
|
1648
|
+
if (B.type === "dot") {
|
|
1649
|
+
m.output += x;
|
|
1650
|
+
B.output += x;
|
|
1651
|
+
} else if (u3.dot === true) {
|
|
1652
|
+
m.output += S;
|
|
1653
|
+
B.output += S;
|
|
1654
|
+
} else {
|
|
1655
|
+
m.output += T;
|
|
1656
|
+
B.output += T;
|
|
1657
|
+
}
|
|
1658
|
+
if (D() !== "*") {
|
|
1659
|
+
m.output += C;
|
|
1660
|
+
B.output += C;
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
push(n2);
|
|
1664
|
+
}
|
|
1665
|
+
while (m.brackets > 0) {
|
|
1666
|
+
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
|
|
1667
|
+
m.output = o.escapeLast(m.output, "[");
|
|
1668
|
+
decrement("brackets");
|
|
1669
|
+
}
|
|
1670
|
+
while (m.parens > 0) {
|
|
1671
|
+
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
|
|
1672
|
+
m.output = o.escapeLast(m.output, "(");
|
|
1673
|
+
decrement("parens");
|
|
1674
|
+
}
|
|
1675
|
+
while (m.braces > 0) {
|
|
1676
|
+
if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
|
|
1677
|
+
m.output = o.escapeLast(m.output, "{");
|
|
1678
|
+
decrement("braces");
|
|
1679
|
+
}
|
|
1680
|
+
if (u3.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
|
|
1681
|
+
push({ type: "maybe_slash", value: "", output: `${b}?` });
|
|
1682
|
+
}
|
|
1683
|
+
if (m.backtrack === true) {
|
|
1684
|
+
m.output = "";
|
|
1685
|
+
for (const t4 of m.tokens) {
|
|
1686
|
+
m.output += t4.output != null ? t4.output : t4.value;
|
|
1687
|
+
if (t4.suffix) {
|
|
1688
|
+
m.output += t4.suffix;
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
return m;
|
|
1693
|
+
};
|
|
1694
|
+
parse.fastpaths = (t3, e3) => {
|
|
1695
|
+
const u3 = { ...e3 };
|
|
1696
|
+
const r2 = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
|
|
1697
|
+
const a2 = t3.length;
|
|
1698
|
+
if (a2 > r2) {
|
|
1699
|
+
throw new SyntaxError(`Input length: ${a2}, exceeds maximum allowed length: ${r2}`);
|
|
1700
|
+
}
|
|
1701
|
+
t3 = c[t3] || t3;
|
|
1702
|
+
const { DOT_LITERAL: i2, SLASH_LITERAL: p, ONE_CHAR: l, DOTS_SLASH: f, NO_DOT: A, NO_DOTS: _, NO_DOTS_SLASH: R, STAR: E, START_ANCHOR: h } = n.globChars(u3.windows);
|
|
1703
|
+
const g = u3.dot ? _ : A;
|
|
1704
|
+
const b = u3.dot ? R : A;
|
|
1705
|
+
const C = u3.capture ? "" : "?:";
|
|
1706
|
+
const y = { negated: false, prefix: "" };
|
|
1707
|
+
let $ = u3.bash === true ? ".*?" : E;
|
|
1708
|
+
if (u3.capture) {
|
|
1709
|
+
$ = `(${$})`;
|
|
1710
|
+
}
|
|
1711
|
+
const globstar = (t4) => {
|
|
1712
|
+
if (t4.noglobstar === true) return $;
|
|
1713
|
+
return `(${C}(?:(?!${h}${t4.dot ? f : i2}).)*?)`;
|
|
1714
|
+
};
|
|
1715
|
+
const create = (t4) => {
|
|
1716
|
+
switch (t4) {
|
|
1717
|
+
case "*":
|
|
1718
|
+
return `${g}${l}${$}`;
|
|
1719
|
+
case ".*":
|
|
1720
|
+
return `${i2}${l}${$}`;
|
|
1721
|
+
case "*.*":
|
|
1722
|
+
return `${g}${$}${i2}${l}${$}`;
|
|
1723
|
+
case "*/*":
|
|
1724
|
+
return `${g}${$}${p}${l}${b}${$}`;
|
|
1725
|
+
case "**":
|
|
1726
|
+
return g + globstar(u3);
|
|
1727
|
+
case "**/*":
|
|
1728
|
+
return `(?:${g}${globstar(u3)}${p})?${b}${l}${$}`;
|
|
1729
|
+
case "**/*.*":
|
|
1730
|
+
return `(?:${g}${globstar(u3)}${p})?${b}${$}${i2}${l}${$}`;
|
|
1731
|
+
case "**/.*":
|
|
1732
|
+
return `(?:${g}${globstar(u3)}${p})?${i2}${l}${$}`;
|
|
1733
|
+
default: {
|
|
1734
|
+
const e4 = /^(.*?)\.(\w+)$/.exec(t4);
|
|
1735
|
+
if (!e4) return;
|
|
1736
|
+
const u4 = create(e4[1]);
|
|
1737
|
+
if (!u4) return;
|
|
1738
|
+
return u4 + i2 + e4[2];
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
};
|
|
1742
|
+
const x = o.removePrefix(t3, y);
|
|
1743
|
+
let S = create(x);
|
|
1744
|
+
if (S && u3.strictSlashes !== true) {
|
|
1745
|
+
S += `${p}?`;
|
|
1746
|
+
}
|
|
1747
|
+
return S;
|
|
1748
|
+
};
|
|
1749
|
+
t2.exports = parse;
|
|
1750
|
+
}, 510: (t2, e2, u2) => {
|
|
1751
|
+
const n = u2(716);
|
|
1752
|
+
const o = u2(697);
|
|
1753
|
+
const s = u2(96);
|
|
1754
|
+
const r = u2(154);
|
|
1755
|
+
const isObject = (t3) => t3 && typeof t3 === "object" && !Array.isArray(t3);
|
|
1756
|
+
const picomatch2 = (t3, e3, u3 = false) => {
|
|
1757
|
+
if (Array.isArray(t3)) {
|
|
1758
|
+
const n3 = t3.map((t4) => picomatch2(t4, e3, u3));
|
|
1759
|
+
const arrayMatcher = (t4) => {
|
|
1760
|
+
for (const e4 of n3) {
|
|
1761
|
+
const u4 = e4(t4);
|
|
1762
|
+
if (u4) return u4;
|
|
1763
|
+
}
|
|
1764
|
+
return false;
|
|
1765
|
+
};
|
|
1766
|
+
return arrayMatcher;
|
|
1767
|
+
}
|
|
1768
|
+
const n2 = isObject(t3) && t3.tokens && t3.input;
|
|
1769
|
+
if (t3 === "" || typeof t3 !== "string" && !n2) {
|
|
1770
|
+
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1771
|
+
}
|
|
1772
|
+
const o2 = e3 || {};
|
|
1773
|
+
const s2 = o2.windows;
|
|
1774
|
+
const r2 = n2 ? picomatch2.compileRe(t3, e3) : picomatch2.makeRe(t3, e3, false, true);
|
|
1775
|
+
const a = r2.state;
|
|
1776
|
+
delete r2.state;
|
|
1777
|
+
let isIgnored = () => false;
|
|
1778
|
+
if (o2.ignore) {
|
|
1779
|
+
const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
|
|
1780
|
+
isIgnored = picomatch2(o2.ignore, t4, u3);
|
|
1781
|
+
}
|
|
1782
|
+
const matcher = (u4, n3 = false) => {
|
|
1783
|
+
const { isMatch: i, match: c, output: p } = picomatch2.test(u4, r2, e3, { glob: t3, posix: s2 });
|
|
1784
|
+
const l = { glob: t3, state: a, regex: r2, posix: s2, input: u4, output: p, match: c, isMatch: i };
|
|
1785
|
+
if (typeof o2.onResult === "function") {
|
|
1786
|
+
o2.onResult(l);
|
|
1787
|
+
}
|
|
1788
|
+
if (i === false) {
|
|
1789
|
+
l.isMatch = false;
|
|
1790
|
+
return n3 ? l : false;
|
|
1791
|
+
}
|
|
1792
|
+
if (isIgnored(u4)) {
|
|
1793
|
+
if (typeof o2.onIgnore === "function") {
|
|
1794
|
+
o2.onIgnore(l);
|
|
1795
|
+
}
|
|
1796
|
+
l.isMatch = false;
|
|
1797
|
+
return n3 ? l : false;
|
|
1798
|
+
}
|
|
1799
|
+
if (typeof o2.onMatch === "function") {
|
|
1800
|
+
o2.onMatch(l);
|
|
1801
|
+
}
|
|
1802
|
+
return n3 ? l : true;
|
|
1803
|
+
};
|
|
1804
|
+
if (u3) {
|
|
1805
|
+
matcher.state = a;
|
|
1806
|
+
}
|
|
1807
|
+
return matcher;
|
|
1808
|
+
};
|
|
1809
|
+
picomatch2.test = (t3, e3, u3, { glob: n2, posix: o2 } = {}) => {
|
|
1810
|
+
if (typeof t3 !== "string") {
|
|
1811
|
+
throw new TypeError("Expected input to be a string");
|
|
1812
|
+
}
|
|
1813
|
+
if (t3 === "") {
|
|
1814
|
+
return { isMatch: false, output: "" };
|
|
1815
|
+
}
|
|
1816
|
+
const r2 = u3 || {};
|
|
1817
|
+
const a = r2.format || (o2 ? s.toPosixSlashes : null);
|
|
1818
|
+
let i = t3 === n2;
|
|
1819
|
+
let c = i && a ? a(t3) : t3;
|
|
1820
|
+
if (i === false) {
|
|
1821
|
+
c = a ? a(t3) : t3;
|
|
1822
|
+
i = c === n2;
|
|
1823
|
+
}
|
|
1824
|
+
if (i === false || r2.capture === true) {
|
|
1825
|
+
if (r2.matchBase === true || r2.basename === true) {
|
|
1826
|
+
i = picomatch2.matchBase(t3, e3, u3, o2);
|
|
1827
|
+
} else {
|
|
1828
|
+
i = e3.exec(c);
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
return { isMatch: Boolean(i), match: i, output: c };
|
|
1832
|
+
};
|
|
1833
|
+
picomatch2.matchBase = (t3, e3, u3) => {
|
|
1834
|
+
const n2 = e3 instanceof RegExp ? e3 : picomatch2.makeRe(e3, u3);
|
|
1835
|
+
return n2.test(s.basename(t3));
|
|
1836
|
+
};
|
|
1837
|
+
picomatch2.isMatch = (t3, e3, u3) => picomatch2(e3, u3)(t3);
|
|
1838
|
+
picomatch2.parse = (t3, e3) => {
|
|
1839
|
+
if (Array.isArray(t3)) return t3.map((t4) => picomatch2.parse(t4, e3));
|
|
1840
|
+
return o(t3, { ...e3, fastpaths: false });
|
|
1841
|
+
};
|
|
1842
|
+
picomatch2.scan = (t3, e3) => n(t3, e3);
|
|
1843
|
+
picomatch2.compileRe = (t3, e3, u3 = false, n2 = false) => {
|
|
1844
|
+
if (u3 === true) {
|
|
1845
|
+
return t3.output;
|
|
1846
|
+
}
|
|
1847
|
+
const o2 = e3 || {};
|
|
1848
|
+
const s2 = o2.contains ? "" : "^";
|
|
1849
|
+
const r2 = o2.contains ? "" : "$";
|
|
1850
|
+
let a = `${s2}(?:${t3.output})${r2}`;
|
|
1851
|
+
if (t3 && t3.negated === true) {
|
|
1852
|
+
a = `^(?!${a}).*$`;
|
|
1853
|
+
}
|
|
1854
|
+
const i = picomatch2.toRegex(a, e3);
|
|
1855
|
+
if (n2 === true) {
|
|
1856
|
+
i.state = t3;
|
|
1857
|
+
}
|
|
1858
|
+
return i;
|
|
1859
|
+
};
|
|
1860
|
+
picomatch2.makeRe = (t3, e3 = {}, u3 = false, n2 = false) => {
|
|
1861
|
+
if (!t3 || typeof t3 !== "string") {
|
|
1862
|
+
throw new TypeError("Expected a non-empty string");
|
|
1863
|
+
}
|
|
1864
|
+
let s2 = { negated: false, fastpaths: true };
|
|
1865
|
+
if (e3.fastpaths !== false && (t3[0] === "." || t3[0] === "*")) {
|
|
1866
|
+
s2.output = o.fastpaths(t3, e3);
|
|
1867
|
+
}
|
|
1868
|
+
if (!s2.output) {
|
|
1869
|
+
s2 = o(t3, e3);
|
|
1870
|
+
}
|
|
1871
|
+
return picomatch2.compileRe(s2, e3, u3, n2);
|
|
1872
|
+
};
|
|
1873
|
+
picomatch2.toRegex = (t3, e3) => {
|
|
1874
|
+
try {
|
|
1875
|
+
const u3 = e3 || {};
|
|
1876
|
+
return new RegExp(t3, u3.flags || (u3.nocase ? "i" : ""));
|
|
1877
|
+
} catch (t4) {
|
|
1878
|
+
if (e3 && e3.debug === true) throw t4;
|
|
1879
|
+
return /$^/;
|
|
1880
|
+
}
|
|
1881
|
+
};
|
|
1882
|
+
picomatch2.constants = r;
|
|
1883
|
+
t2.exports = picomatch2;
|
|
1884
|
+
}, 716: (t2, e2, u2) => {
|
|
1885
|
+
const n = u2(96);
|
|
1886
|
+
const { CHAR_ASTERISK: o, CHAR_AT: s, CHAR_BACKWARD_SLASH: r, CHAR_COMMA: a, CHAR_DOT: i, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: p, CHAR_LEFT_CURLY_BRACE: l, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: A, CHAR_PLUS: _, CHAR_QUESTION_MARK: R, CHAR_RIGHT_CURLY_BRACE: E, CHAR_RIGHT_PARENTHESES: h, CHAR_RIGHT_SQUARE_BRACKET: g } = u2(154);
|
|
1887
|
+
const isPathSeparator = (t3) => t3 === p || t3 === r;
|
|
1888
|
+
const depth = (t3) => {
|
|
1889
|
+
if (t3.isPrefix !== true) {
|
|
1890
|
+
t3.depth = t3.isGlobstar ? Infinity : 1;
|
|
1891
|
+
}
|
|
1892
|
+
};
|
|
1893
|
+
const scan = (t3, e3) => {
|
|
1894
|
+
const u3 = e3 || {};
|
|
1895
|
+
const b = t3.length - 1;
|
|
1896
|
+
const C = u3.parts === true || u3.scanToEnd === true;
|
|
1897
|
+
const y = [];
|
|
1898
|
+
const $ = [];
|
|
1899
|
+
const x = [];
|
|
1900
|
+
let S = t3;
|
|
1901
|
+
let H = -1;
|
|
1902
|
+
let v = 0;
|
|
1903
|
+
let d = 0;
|
|
1904
|
+
let L = false;
|
|
1905
|
+
let T = false;
|
|
1906
|
+
let O = false;
|
|
1907
|
+
let k = false;
|
|
1908
|
+
let m = false;
|
|
1909
|
+
let w = false;
|
|
1910
|
+
let N = false;
|
|
1911
|
+
let I = false;
|
|
1912
|
+
let B = false;
|
|
1913
|
+
let G = false;
|
|
1914
|
+
let D = 0;
|
|
1915
|
+
let M;
|
|
1916
|
+
let P;
|
|
1917
|
+
let K = { value: "", depth: 0, isGlob: false };
|
|
1918
|
+
const eos = () => H >= b;
|
|
1919
|
+
const peek = () => S.charCodeAt(H + 1);
|
|
1920
|
+
const advance = () => {
|
|
1921
|
+
M = P;
|
|
1922
|
+
return S.charCodeAt(++H);
|
|
1923
|
+
};
|
|
1924
|
+
while (H < b) {
|
|
1925
|
+
P = advance();
|
|
1926
|
+
let t4;
|
|
1927
|
+
if (P === r) {
|
|
1928
|
+
N = K.backslashes = true;
|
|
1929
|
+
P = advance();
|
|
1930
|
+
if (P === l) {
|
|
1931
|
+
w = true;
|
|
1932
|
+
}
|
|
1933
|
+
continue;
|
|
1934
|
+
}
|
|
1935
|
+
if (w === true || P === l) {
|
|
1936
|
+
D++;
|
|
1937
|
+
while (eos() !== true && (P = advance())) {
|
|
1938
|
+
if (P === r) {
|
|
1939
|
+
N = K.backslashes = true;
|
|
1940
|
+
advance();
|
|
1941
|
+
continue;
|
|
1942
|
+
}
|
|
1943
|
+
if (P === l) {
|
|
1944
|
+
D++;
|
|
1945
|
+
continue;
|
|
1946
|
+
}
|
|
1947
|
+
if (w !== true && P === i && (P = advance()) === i) {
|
|
1948
|
+
L = K.isBrace = true;
|
|
1949
|
+
O = K.isGlob = true;
|
|
1950
|
+
G = true;
|
|
1951
|
+
if (C === true) {
|
|
1952
|
+
continue;
|
|
1953
|
+
}
|
|
1954
|
+
break;
|
|
1955
|
+
}
|
|
1956
|
+
if (w !== true && P === a) {
|
|
1957
|
+
L = K.isBrace = true;
|
|
1958
|
+
O = K.isGlob = true;
|
|
1959
|
+
G = true;
|
|
1960
|
+
if (C === true) {
|
|
1961
|
+
continue;
|
|
1962
|
+
}
|
|
1963
|
+
break;
|
|
1964
|
+
}
|
|
1965
|
+
if (P === E) {
|
|
1966
|
+
D--;
|
|
1967
|
+
if (D === 0) {
|
|
1968
|
+
w = false;
|
|
1969
|
+
L = K.isBrace = true;
|
|
1970
|
+
G = true;
|
|
1971
|
+
break;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
if (C === true) {
|
|
1976
|
+
continue;
|
|
1977
|
+
}
|
|
1978
|
+
break;
|
|
1979
|
+
}
|
|
1980
|
+
if (P === p) {
|
|
1981
|
+
y.push(H);
|
|
1982
|
+
$.push(K);
|
|
1983
|
+
K = { value: "", depth: 0, isGlob: false };
|
|
1984
|
+
if (G === true) continue;
|
|
1985
|
+
if (M === i && H === v + 1) {
|
|
1986
|
+
v += 2;
|
|
1987
|
+
continue;
|
|
1988
|
+
}
|
|
1989
|
+
d = H + 1;
|
|
1990
|
+
continue;
|
|
1991
|
+
}
|
|
1992
|
+
if (u3.noext !== true) {
|
|
1993
|
+
const t5 = P === _ || P === s || P === o || P === R || P === c;
|
|
1994
|
+
if (t5 === true && peek() === f) {
|
|
1995
|
+
O = K.isGlob = true;
|
|
1996
|
+
k = K.isExtglob = true;
|
|
1997
|
+
G = true;
|
|
1998
|
+
if (P === c && H === v) {
|
|
1999
|
+
B = true;
|
|
2000
|
+
}
|
|
2001
|
+
if (C === true) {
|
|
2002
|
+
while (eos() !== true && (P = advance())) {
|
|
2003
|
+
if (P === r) {
|
|
2004
|
+
N = K.backslashes = true;
|
|
2005
|
+
P = advance();
|
|
2006
|
+
continue;
|
|
2007
|
+
}
|
|
2008
|
+
if (P === h) {
|
|
2009
|
+
O = K.isGlob = true;
|
|
2010
|
+
G = true;
|
|
2011
|
+
break;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
continue;
|
|
2015
|
+
}
|
|
2016
|
+
break;
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
if (P === o) {
|
|
2020
|
+
if (M === o) m = K.isGlobstar = true;
|
|
2021
|
+
O = K.isGlob = true;
|
|
2022
|
+
G = true;
|
|
2023
|
+
if (C === true) {
|
|
2024
|
+
continue;
|
|
2025
|
+
}
|
|
2026
|
+
break;
|
|
2027
|
+
}
|
|
2028
|
+
if (P === R) {
|
|
2029
|
+
O = K.isGlob = true;
|
|
2030
|
+
G = true;
|
|
2031
|
+
if (C === true) {
|
|
2032
|
+
continue;
|
|
2033
|
+
}
|
|
2034
|
+
break;
|
|
2035
|
+
}
|
|
2036
|
+
if (P === A) {
|
|
2037
|
+
while (eos() !== true && (t4 = advance())) {
|
|
2038
|
+
if (t4 === r) {
|
|
2039
|
+
N = K.backslashes = true;
|
|
2040
|
+
advance();
|
|
2041
|
+
continue;
|
|
2042
|
+
}
|
|
2043
|
+
if (t4 === g) {
|
|
2044
|
+
T = K.isBracket = true;
|
|
2045
|
+
O = K.isGlob = true;
|
|
2046
|
+
G = true;
|
|
2047
|
+
break;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
if (C === true) {
|
|
2051
|
+
continue;
|
|
2052
|
+
}
|
|
2053
|
+
break;
|
|
2054
|
+
}
|
|
2055
|
+
if (u3.nonegate !== true && P === c && H === v) {
|
|
2056
|
+
I = K.negated = true;
|
|
2057
|
+
v++;
|
|
2058
|
+
continue;
|
|
2059
|
+
}
|
|
2060
|
+
if (u3.noparen !== true && P === f) {
|
|
2061
|
+
O = K.isGlob = true;
|
|
2062
|
+
if (C === true) {
|
|
2063
|
+
while (eos() !== true && (P = advance())) {
|
|
2064
|
+
if (P === f) {
|
|
2065
|
+
N = K.backslashes = true;
|
|
2066
|
+
P = advance();
|
|
2067
|
+
continue;
|
|
2068
|
+
}
|
|
2069
|
+
if (P === h) {
|
|
2070
|
+
G = true;
|
|
2071
|
+
break;
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
continue;
|
|
2075
|
+
}
|
|
2076
|
+
break;
|
|
2077
|
+
}
|
|
2078
|
+
if (O === true) {
|
|
2079
|
+
G = true;
|
|
2080
|
+
if (C === true) {
|
|
2081
|
+
continue;
|
|
2082
|
+
}
|
|
2083
|
+
break;
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
if (u3.noext === true) {
|
|
2087
|
+
k = false;
|
|
2088
|
+
O = false;
|
|
2089
|
+
}
|
|
2090
|
+
let U = S;
|
|
2091
|
+
let X = "";
|
|
2092
|
+
let F = "";
|
|
2093
|
+
if (v > 0) {
|
|
2094
|
+
X = S.slice(0, v);
|
|
2095
|
+
S = S.slice(v);
|
|
2096
|
+
d -= v;
|
|
2097
|
+
}
|
|
2098
|
+
if (U && O === true && d > 0) {
|
|
2099
|
+
U = S.slice(0, d);
|
|
2100
|
+
F = S.slice(d);
|
|
2101
|
+
} else if (O === true) {
|
|
2102
|
+
U = "";
|
|
2103
|
+
F = S;
|
|
2104
|
+
} else {
|
|
2105
|
+
U = S;
|
|
2106
|
+
}
|
|
2107
|
+
if (U && U !== "" && U !== "/" && U !== S) {
|
|
2108
|
+
if (isPathSeparator(U.charCodeAt(U.length - 1))) {
|
|
2109
|
+
U = U.slice(0, -1);
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
if (u3.unescape === true) {
|
|
2113
|
+
if (F) F = n.removeBackslashes(F);
|
|
2114
|
+
if (U && N === true) {
|
|
2115
|
+
U = n.removeBackslashes(U);
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
const Q = { prefix: X, input: t3, start: v, base: U, glob: F, isBrace: L, isBracket: T, isGlob: O, isExtglob: k, isGlobstar: m, negated: I, negatedExtglob: B };
|
|
2119
|
+
if (u3.tokens === true) {
|
|
2120
|
+
Q.maxDepth = 0;
|
|
2121
|
+
if (!isPathSeparator(P)) {
|
|
2122
|
+
$.push(K);
|
|
2123
|
+
}
|
|
2124
|
+
Q.tokens = $;
|
|
2125
|
+
}
|
|
2126
|
+
if (u3.parts === true || u3.tokens === true) {
|
|
2127
|
+
let e4;
|
|
2128
|
+
for (let n2 = 0; n2 < y.length; n2++) {
|
|
2129
|
+
const o2 = e4 ? e4 + 1 : v;
|
|
2130
|
+
const s2 = y[n2];
|
|
2131
|
+
const r2 = t3.slice(o2, s2);
|
|
2132
|
+
if (u3.tokens) {
|
|
2133
|
+
if (n2 === 0 && v !== 0) {
|
|
2134
|
+
$[n2].isPrefix = true;
|
|
2135
|
+
$[n2].value = X;
|
|
2136
|
+
} else {
|
|
2137
|
+
$[n2].value = r2;
|
|
2138
|
+
}
|
|
2139
|
+
depth($[n2]);
|
|
2140
|
+
Q.maxDepth += $[n2].depth;
|
|
2141
|
+
}
|
|
2142
|
+
if (n2 !== 0 || r2 !== "") {
|
|
2143
|
+
x.push(r2);
|
|
2144
|
+
}
|
|
2145
|
+
e4 = s2;
|
|
2146
|
+
}
|
|
2147
|
+
if (e4 && e4 + 1 < t3.length) {
|
|
2148
|
+
const n2 = t3.slice(e4 + 1);
|
|
2149
|
+
x.push(n2);
|
|
2150
|
+
if (u3.tokens) {
|
|
2151
|
+
$[$.length - 1].value = n2;
|
|
2152
|
+
depth($[$.length - 1]);
|
|
2153
|
+
Q.maxDepth += $[$.length - 1].depth;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
Q.slashes = y;
|
|
2157
|
+
Q.parts = x;
|
|
2158
|
+
}
|
|
2159
|
+
return Q;
|
|
2160
|
+
};
|
|
2161
|
+
t2.exports = scan;
|
|
2162
|
+
}, 96: (t2, e2, u2) => {
|
|
2163
|
+
const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u2(154);
|
|
2164
|
+
e2.isObject = (t3) => t3 !== null && typeof t3 === "object" && !Array.isArray(t3);
|
|
2165
|
+
e2.hasRegexChars = (t3) => s.test(t3);
|
|
2166
|
+
e2.isRegexChar = (t3) => t3.length === 1 && e2.hasRegexChars(t3);
|
|
2167
|
+
e2.escapeRegex = (t3) => t3.replace(r, "\\$1");
|
|
2168
|
+
e2.toPosixSlashes = (t3) => t3.replace(n, "/");
|
|
2169
|
+
e2.removeBackslashes = (t3) => t3.replace(o, (t4) => t4 === "\\" ? "" : t4);
|
|
2170
|
+
e2.escapeLast = (t3, u3, n2) => {
|
|
2171
|
+
const o2 = t3.lastIndexOf(u3, n2);
|
|
2172
|
+
if (o2 === -1) return t3;
|
|
2173
|
+
if (t3[o2 - 1] === "\\") return e2.escapeLast(t3, u3, o2 - 1);
|
|
2174
|
+
return `${t3.slice(0, o2)}\\${t3.slice(o2)}`;
|
|
2175
|
+
};
|
|
2176
|
+
e2.removePrefix = (t3, e3 = {}) => {
|
|
2177
|
+
let u3 = t3;
|
|
2178
|
+
if (u3.startsWith("./")) {
|
|
2179
|
+
u3 = u3.slice(2);
|
|
2180
|
+
e3.prefix = "./";
|
|
2181
|
+
}
|
|
2182
|
+
return u3;
|
|
2183
|
+
};
|
|
2184
|
+
e2.wrapOutput = (t3, e3 = {}, u3 = {}) => {
|
|
2185
|
+
const n2 = u3.contains ? "" : "^";
|
|
2186
|
+
const o2 = u3.contains ? "" : "$";
|
|
2187
|
+
let s2 = `${n2}(?:${t3})${o2}`;
|
|
2188
|
+
if (e3.negated === true) {
|
|
2189
|
+
s2 = `(?:^(?!${s2}).*$)`;
|
|
2190
|
+
}
|
|
2191
|
+
return s2;
|
|
2192
|
+
};
|
|
2193
|
+
e2.basename = (t3, { windows: e3 } = {}) => {
|
|
2194
|
+
const u3 = t3.split(e3 ? /[\\/]/ : "/");
|
|
2195
|
+
const n2 = u3[u3.length - 1];
|
|
2196
|
+
if (n2 === "") {
|
|
2197
|
+
return u3[u3.length - 2];
|
|
2198
|
+
}
|
|
2199
|
+
return n2;
|
|
2200
|
+
};
|
|
2201
|
+
} };
|
|
2202
|
+
var e = {};
|
|
2203
|
+
function __nccwpck_require__(u2) {
|
|
2204
|
+
var n = e[u2];
|
|
2205
|
+
if (n !== void 0) {
|
|
2206
|
+
return n.exports;
|
|
2207
|
+
}
|
|
2208
|
+
var o = e[u2] = { exports: {} };
|
|
2209
|
+
var s = true;
|
|
2210
|
+
try {
|
|
2211
|
+
t[u2](o, o.exports, __nccwpck_require__);
|
|
2212
|
+
s = false;
|
|
2213
|
+
} finally {
|
|
2214
|
+
if (s) delete e[u2];
|
|
2215
|
+
}
|
|
2216
|
+
return o.exports;
|
|
2217
|
+
}
|
|
2218
|
+
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
|
|
2219
|
+
var u = __nccwpck_require__(170);
|
|
2220
|
+
picomatch.exports = u;
|
|
2221
|
+
})();
|
|
2222
|
+
return picomatch.exports;
|
|
2223
|
+
}
|
|
2224
|
+
var hasRequiredMatchLocalPattern;
|
|
2225
|
+
function requireMatchLocalPattern() {
|
|
2226
|
+
if (hasRequiredMatchLocalPattern) return matchLocalPattern;
|
|
2227
|
+
hasRequiredMatchLocalPattern = 1;
|
|
2228
|
+
(function(exports2) {
|
|
2229
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2230
|
+
value: true
|
|
2231
|
+
});
|
|
2232
|
+
function _export(target, all) {
|
|
2233
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
2234
|
+
enumerable: true,
|
|
2235
|
+
get: all[name]
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
_export(exports2, {
|
|
2239
|
+
hasLocalMatch: function() {
|
|
2240
|
+
return hasLocalMatch;
|
|
2241
|
+
},
|
|
2242
|
+
matchLocalPattern: function() {
|
|
2243
|
+
return matchLocalPattern2;
|
|
2244
|
+
}
|
|
2245
|
+
});
|
|
2246
|
+
const _picomatch = requirePicomatch();
|
|
2247
|
+
function matchLocalPattern2(pattern, url) {
|
|
2248
|
+
if (pattern.search !== void 0) {
|
|
2249
|
+
if (pattern.search !== url.search) {
|
|
2250
|
+
return false;
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
var _pattern_pathname;
|
|
2254
|
+
if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
|
|
2255
|
+
dot: true
|
|
2256
|
+
}).test(url.pathname)) {
|
|
2257
|
+
return false;
|
|
2258
|
+
}
|
|
2259
|
+
return true;
|
|
2260
|
+
}
|
|
2261
|
+
function hasLocalMatch(localPatterns, urlPathAndQuery) {
|
|
2262
|
+
if (!localPatterns) {
|
|
2263
|
+
return true;
|
|
2264
|
+
}
|
|
2265
|
+
const url = new URL(urlPathAndQuery, "http://n");
|
|
2266
|
+
return localPatterns.some((p) => matchLocalPattern2(p, url));
|
|
2267
|
+
}
|
|
2268
|
+
})(matchLocalPattern);
|
|
2269
|
+
return matchLocalPattern;
|
|
2270
|
+
}
|
|
2271
|
+
var matchRemotePattern = {};
|
|
2272
|
+
var hasRequiredMatchRemotePattern;
|
|
2273
|
+
function requireMatchRemotePattern() {
|
|
2274
|
+
if (hasRequiredMatchRemotePattern) return matchRemotePattern;
|
|
2275
|
+
hasRequiredMatchRemotePattern = 1;
|
|
2276
|
+
(function(exports2) {
|
|
2277
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2278
|
+
value: true
|
|
2279
|
+
});
|
|
2280
|
+
function _export(target, all) {
|
|
2281
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
2282
|
+
enumerable: true,
|
|
2283
|
+
get: all[name]
|
|
2284
|
+
});
|
|
2285
|
+
}
|
|
2286
|
+
_export(exports2, {
|
|
2287
|
+
hasRemoteMatch: function() {
|
|
2288
|
+
return hasRemoteMatch;
|
|
2289
|
+
},
|
|
2290
|
+
matchRemotePattern: function() {
|
|
2291
|
+
return matchRemotePattern2;
|
|
2292
|
+
}
|
|
2293
|
+
});
|
|
2294
|
+
const _picomatch = requirePicomatch();
|
|
2295
|
+
function matchRemotePattern2(pattern, url) {
|
|
2296
|
+
if (pattern.protocol !== void 0) {
|
|
2297
|
+
if (pattern.protocol.replace(/:$/, "") !== url.protocol.replace(/:$/, "")) {
|
|
2298
|
+
return false;
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
if (pattern.port !== void 0) {
|
|
2302
|
+
if (pattern.port !== url.port) {
|
|
2303
|
+
return false;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
if (pattern.hostname === void 0) {
|
|
2307
|
+
throw Object.defineProperty(new Error("Pattern should define hostname but found\n" + JSON.stringify(pattern)), "__NEXT_ERROR_CODE", {
|
|
2308
|
+
value: "E410",
|
|
2309
|
+
enumerable: false,
|
|
2310
|
+
configurable: true
|
|
2311
|
+
});
|
|
2312
|
+
} else {
|
|
2313
|
+
if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
|
|
2314
|
+
return false;
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
if (pattern.search !== void 0) {
|
|
2318
|
+
if (pattern.search !== url.search) {
|
|
2319
|
+
return false;
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
var _pattern_pathname;
|
|
2323
|
+
if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
|
|
2324
|
+
dot: true
|
|
2325
|
+
}).test(url.pathname)) {
|
|
2326
|
+
return false;
|
|
2327
|
+
}
|
|
2328
|
+
return true;
|
|
2329
|
+
}
|
|
2330
|
+
function hasRemoteMatch(domains, remotePatterns, url) {
|
|
2331
|
+
return domains.some((domain) => url.hostname === domain) || remotePatterns.some((p) => matchRemotePattern2(p, url));
|
|
2332
|
+
}
|
|
2333
|
+
})(matchRemotePattern);
|
|
2334
|
+
return matchRemotePattern;
|
|
2335
|
+
}
|
|
2336
|
+
var hasRequiredImageLoader;
|
|
2337
|
+
function requireImageLoader() {
|
|
2338
|
+
if (hasRequiredImageLoader) return imageLoader;
|
|
2339
|
+
hasRequiredImageLoader = 1;
|
|
2340
|
+
(function(exports2) {
|
|
2341
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2342
|
+
value: true
|
|
2343
|
+
});
|
|
2344
|
+
Object.defineProperty(exports2, "default", {
|
|
2345
|
+
enumerable: true,
|
|
2346
|
+
get: function() {
|
|
2347
|
+
return _default;
|
|
2348
|
+
}
|
|
2349
|
+
});
|
|
2350
|
+
const DEFAULT_Q = 75;
|
|
2351
|
+
function defaultLoader(param) {
|
|
2352
|
+
let { config, src, width, quality } = param;
|
|
2353
|
+
var _config_qualities;
|
|
2354
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2355
|
+
const missingValues = [];
|
|
2356
|
+
if (!src) missingValues.push("src");
|
|
2357
|
+
if (!width) missingValues.push("width");
|
|
2358
|
+
if (missingValues.length > 0) {
|
|
2359
|
+
throw Object.defineProperty(new Error("Next Image Optimization requires " + missingValues.join(", ") + " to be provided. Make sure you pass them as props to the `next/image` component. Received: " + JSON.stringify({
|
|
2360
|
+
src,
|
|
2361
|
+
width,
|
|
2362
|
+
quality
|
|
2363
|
+
})), "__NEXT_ERROR_CODE", {
|
|
2364
|
+
value: "E188",
|
|
2365
|
+
enumerable: false,
|
|
2366
|
+
configurable: true
|
|
2367
|
+
});
|
|
2368
|
+
}
|
|
2369
|
+
if (src.startsWith("//")) {
|
|
2370
|
+
throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
|
|
2371
|
+
value: "E360",
|
|
2372
|
+
enumerable: false,
|
|
2373
|
+
configurable: true
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
if (src.startsWith("/") && config.localPatterns) {
|
|
2377
|
+
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
2378
|
+
process.env.NEXT_RUNTIME !== "edge") {
|
|
2379
|
+
const { hasLocalMatch } = requireMatchLocalPattern();
|
|
2380
|
+
if (!hasLocalMatch(config.localPatterns, src)) {
|
|
2381
|
+
throw Object.defineProperty(new Error("Invalid src prop (" + src + ") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"), "__NEXT_ERROR_CODE", {
|
|
2382
|
+
value: "E426",
|
|
2383
|
+
enumerable: false,
|
|
2384
|
+
configurable: true
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
if (!src.startsWith("/") && (config.domains || config.remotePatterns)) {
|
|
2390
|
+
let parsedSrc;
|
|
2391
|
+
try {
|
|
2392
|
+
parsedSrc = new URL(src);
|
|
2393
|
+
} catch (err) {
|
|
2394
|
+
console.error(err);
|
|
2395
|
+
throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
|
|
2396
|
+
value: "E63",
|
|
2397
|
+
enumerable: false,
|
|
2398
|
+
configurable: true
|
|
2399
|
+
});
|
|
2400
|
+
}
|
|
2401
|
+
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
2402
|
+
process.env.NEXT_RUNTIME !== "edge") {
|
|
2403
|
+
const { hasRemoteMatch } = requireMatchRemotePattern();
|
|
2404
|
+
if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) {
|
|
2405
|
+
throw Object.defineProperty(new Error("Invalid src prop (" + src + ') on `next/image`, hostname "' + parsedSrc.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'), "__NEXT_ERROR_CODE", {
|
|
2406
|
+
value: "E231",
|
|
2407
|
+
enumerable: false,
|
|
2408
|
+
configurable: true
|
|
2409
|
+
});
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
if (quality && config.qualities && !config.qualities.includes(quality)) {
|
|
2414
|
+
throw Object.defineProperty(new Error("Invalid quality prop (" + quality + ") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"), "__NEXT_ERROR_CODE", {
|
|
2415
|
+
value: "E623",
|
|
2416
|
+
enumerable: false,
|
|
2417
|
+
configurable: true
|
|
2418
|
+
});
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
const q = quality || ((_config_qualities = config.qualities) == null ? void 0 : _config_qualities.reduce((prev, cur) => Math.abs(cur - DEFAULT_Q) < Math.abs(prev - DEFAULT_Q) ? cur : prev)) || DEFAULT_Q;
|
|
2422
|
+
return config.path + "?url=" + encodeURIComponent(src) + "&w=" + width + "&q=" + q + (src.startsWith("/_next/static/media/") && process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
|
|
2423
|
+
}
|
|
2424
|
+
defaultLoader.__next_img_default = true;
|
|
2425
|
+
const _default = defaultLoader;
|
|
2426
|
+
})(imageLoader);
|
|
2427
|
+
return imageLoader;
|
|
2428
|
+
}
|
|
2429
|
+
(function(module2, exports2) {
|
|
2430
|
+
"use client";
|
|
2431
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2432
|
+
value: true
|
|
2433
|
+
});
|
|
2434
|
+
Object.defineProperty(exports2, "Image", {
|
|
2435
|
+
enumerable: true,
|
|
2436
|
+
get: function() {
|
|
2437
|
+
return Image2;
|
|
2438
|
+
}
|
|
2439
|
+
});
|
|
2440
|
+
const _interop_require_default = link._interop_require_default;
|
|
2441
|
+
const _interop_require_wildcard = link._interop_require_wildcard;
|
|
2442
|
+
const _jsxruntime = require$$2;
|
|
2443
|
+
const _react = /* @__PURE__ */ _interop_require_wildcard._(React);
|
|
2444
|
+
const _reactdom = /* @__PURE__ */ _interop_require_default._(ReactDOM);
|
|
2445
|
+
const _head = /* @__PURE__ */ _interop_require_default._(requireHead());
|
|
2446
|
+
const _getimgprops = getImgProps;
|
|
2447
|
+
const _imageconfig = imageConfig;
|
|
2448
|
+
const _imageconfigcontextsharedruntime = requireImageConfigContext_sharedRuntime();
|
|
2449
|
+
const _warnonce = warnOnce;
|
|
2450
|
+
const _routercontextsharedruntime = link.requireRouterContext_sharedRuntime();
|
|
2451
|
+
const _imageloader = /* @__PURE__ */ _interop_require_default._(requireImageLoader());
|
|
2452
|
+
const _usemergedref = link.requireUseMergedRef();
|
|
2453
|
+
const configEnv = process.env.__NEXT_IMAGE_OPTS;
|
|
2454
|
+
if (typeof window === "undefined") {
|
|
2455
|
+
globalThis.__NEXT_IMAGE_IMPORTED = true;
|
|
2456
|
+
}
|
|
2457
|
+
function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
|
|
2458
|
+
const src = img == null ? void 0 : img.src;
|
|
2459
|
+
if (!img || img["data-loaded-src"] === src) {
|
|
2460
|
+
return;
|
|
2461
|
+
}
|
|
2462
|
+
img["data-loaded-src"] = src;
|
|
2463
|
+
const p = "decode" in img ? img.decode() : Promise.resolve();
|
|
2464
|
+
p.catch(() => {
|
|
2465
|
+
}).then(() => {
|
|
2466
|
+
if (!img.parentElement || !img.isConnected) {
|
|
2467
|
+
return;
|
|
2468
|
+
}
|
|
2469
|
+
if (placeholder !== "empty") {
|
|
2470
|
+
setBlurComplete(true);
|
|
2471
|
+
}
|
|
2472
|
+
if (onLoadRef == null ? void 0 : onLoadRef.current) {
|
|
2473
|
+
const event = new Event("load");
|
|
2474
|
+
Object.defineProperty(event, "target", {
|
|
2475
|
+
writable: false,
|
|
2476
|
+
value: img
|
|
2477
|
+
});
|
|
2478
|
+
let prevented = false;
|
|
2479
|
+
let stopped = false;
|
|
2480
|
+
onLoadRef.current({
|
|
2481
|
+
...event,
|
|
2482
|
+
nativeEvent: event,
|
|
2483
|
+
currentTarget: img,
|
|
2484
|
+
target: img,
|
|
2485
|
+
isDefaultPrevented: () => prevented,
|
|
2486
|
+
isPropagationStopped: () => stopped,
|
|
2487
|
+
persist: () => {
|
|
2488
|
+
},
|
|
2489
|
+
preventDefault: () => {
|
|
2490
|
+
prevented = true;
|
|
2491
|
+
event.preventDefault();
|
|
2492
|
+
},
|
|
2493
|
+
stopPropagation: () => {
|
|
2494
|
+
stopped = true;
|
|
2495
|
+
event.stopPropagation();
|
|
2496
|
+
}
|
|
2497
|
+
});
|
|
2498
|
+
}
|
|
2499
|
+
if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {
|
|
2500
|
+
onLoadingCompleteRef.current(img);
|
|
2501
|
+
}
|
|
2502
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2503
|
+
const origSrc = new URL(src, "http://n").searchParams.get("url") || src;
|
|
2504
|
+
if (img.getAttribute("data-nimg") === "fill") {
|
|
2505
|
+
if (!unoptimized && (!sizesInput || sizesInput === "100vw")) {
|
|
2506
|
+
let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
|
|
2507
|
+
if (widthViewportRatio < 0.6) {
|
|
2508
|
+
if (sizesInput === "100vw") {
|
|
2509
|
+
(0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
|
|
2510
|
+
} else {
|
|
2511
|
+
(0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
if (img.parentElement) {
|
|
2516
|
+
const { position } = window.getComputedStyle(img.parentElement);
|
|
2517
|
+
const valid = [
|
|
2518
|
+
"absolute",
|
|
2519
|
+
"fixed",
|
|
2520
|
+
"relative"
|
|
2521
|
+
];
|
|
2522
|
+
if (!valid.includes(position)) {
|
|
2523
|
+
(0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and parent element with invalid "position". Provided "' + position + '" should be one of ' + valid.map(String).join(",") + ".");
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
if (img.height === 0) {
|
|
2527
|
+
(0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
const heightModified = img.height.toString() !== img.getAttribute("height");
|
|
2531
|
+
const widthModified = img.width.toString() !== img.getAttribute("width");
|
|
2532
|
+
if (heightModified && !widthModified || !heightModified && widthModified) {
|
|
2533
|
+
(0, _warnonce.warnOnce)('Image with src "' + origSrc + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
});
|
|
2537
|
+
}
|
|
2538
|
+
function getDynamicProps(fetchPriority) {
|
|
2539
|
+
if (Boolean(_react.use)) {
|
|
2540
|
+
return {
|
|
2541
|
+
fetchPriority
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
return {
|
|
2545
|
+
fetchpriority: fetchPriority
|
|
2546
|
+
};
|
|
2547
|
+
}
|
|
2548
|
+
const ImageElement = /* @__PURE__ */ (0, _react.forwardRef)((param, forwardedRef) => {
|
|
2549
|
+
let { src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest } = param;
|
|
2550
|
+
const ownRef = (0, _react.useCallback)((img) => {
|
|
2551
|
+
if (!img) {
|
|
2552
|
+
return;
|
|
2553
|
+
}
|
|
2554
|
+
if (onError) {
|
|
2555
|
+
img.src = img.src;
|
|
2556
|
+
}
|
|
2557
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2558
|
+
if (!src) {
|
|
2559
|
+
console.error('Image is missing required "src" property:', img);
|
|
2560
|
+
}
|
|
2561
|
+
if (img.getAttribute("alt") === null) {
|
|
2562
|
+
console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.');
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
if (img.complete) {
|
|
2566
|
+
handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
2567
|
+
}
|
|
2568
|
+
}, [
|
|
2569
|
+
src,
|
|
2570
|
+
placeholder,
|
|
2571
|
+
onLoadRef,
|
|
2572
|
+
onLoadingCompleteRef,
|
|
2573
|
+
setBlurComplete,
|
|
2574
|
+
onError,
|
|
2575
|
+
unoptimized,
|
|
2576
|
+
sizesInput
|
|
2577
|
+
]);
|
|
2578
|
+
const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef);
|
|
2579
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
|
|
2580
|
+
...rest,
|
|
2581
|
+
...getDynamicProps(fetchPriority),
|
|
2582
|
+
// It's intended to keep `loading` before `src` because React updates
|
|
2583
|
+
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
2584
|
+
// See https://github.com/facebook/react/issues/25883
|
|
2585
|
+
loading,
|
|
2586
|
+
width,
|
|
2587
|
+
height,
|
|
2588
|
+
decoding,
|
|
2589
|
+
"data-nimg": fill ? "fill" : "1",
|
|
2590
|
+
className,
|
|
2591
|
+
style,
|
|
2592
|
+
// It's intended to keep `src` the last attribute because React updates
|
|
2593
|
+
// attributes in order. If we keep `src` the first one, Safari will
|
|
2594
|
+
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
2595
|
+
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
2596
|
+
// and `sizes` are defined.
|
|
2597
|
+
// This bug cannot be reproduced in Chrome or Firefox.
|
|
2598
|
+
sizes,
|
|
2599
|
+
srcSet,
|
|
2600
|
+
src,
|
|
2601
|
+
ref,
|
|
2602
|
+
onLoad: (event) => {
|
|
2603
|
+
const img = event.currentTarget;
|
|
2604
|
+
handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
|
|
2605
|
+
},
|
|
2606
|
+
onError: (event) => {
|
|
2607
|
+
setShowAltText(true);
|
|
2608
|
+
if (placeholder !== "empty") {
|
|
2609
|
+
setBlurComplete(true);
|
|
2610
|
+
}
|
|
2611
|
+
if (onError) {
|
|
2612
|
+
onError(event);
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
});
|
|
2616
|
+
});
|
|
2617
|
+
function ImagePreload(param) {
|
|
2618
|
+
let { isAppRouter, imgAttributes } = param;
|
|
2619
|
+
const opts = {
|
|
2620
|
+
as: "image",
|
|
2621
|
+
imageSrcSet: imgAttributes.srcSet,
|
|
2622
|
+
imageSizes: imgAttributes.sizes,
|
|
2623
|
+
crossOrigin: imgAttributes.crossOrigin,
|
|
2624
|
+
referrerPolicy: imgAttributes.referrerPolicy,
|
|
2625
|
+
...getDynamicProps(imgAttributes.fetchPriority)
|
|
2626
|
+
};
|
|
2627
|
+
if (isAppRouter && _reactdom.default.preload) {
|
|
2628
|
+
_reactdom.default.preload(
|
|
2629
|
+
imgAttributes.src,
|
|
2630
|
+
// @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
|
|
2631
|
+
opts
|
|
2632
|
+
);
|
|
2633
|
+
return null;
|
|
2634
|
+
}
|
|
2635
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsx)(_head.default, {
|
|
2636
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("link", {
|
|
2637
|
+
rel: "preload",
|
|
2638
|
+
// Note how we omit the `href` attribute, as it would only be relevant
|
|
2639
|
+
// for browsers that do not support `imagesrcset`, and in those cases
|
|
2640
|
+
// it would cause the incorrect image to be preloaded.
|
|
2641
|
+
//
|
|
2642
|
+
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
2643
|
+
href: imgAttributes.srcSet ? void 0 : imgAttributes.src,
|
|
2644
|
+
...opts
|
|
2645
|
+
}, "__nimg-" + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
|
|
2646
|
+
});
|
|
2647
|
+
}
|
|
2648
|
+
const Image2 = /* @__PURE__ */ (0, _react.forwardRef)((props, forwardedRef) => {
|
|
2649
|
+
const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
|
|
2650
|
+
const isAppRouter = !pagesRouter;
|
|
2651
|
+
const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
|
|
2652
|
+
const config = (0, _react.useMemo)(() => {
|
|
2653
|
+
var _c_qualities;
|
|
2654
|
+
const c = configEnv || configContext || _imageconfig.imageConfigDefault;
|
|
2655
|
+
const allSizes = [
|
|
2656
|
+
...c.deviceSizes,
|
|
2657
|
+
...c.imageSizes
|
|
2658
|
+
].sort((a, b) => a - b);
|
|
2659
|
+
const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
|
|
2660
|
+
const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
|
|
2661
|
+
return {
|
|
2662
|
+
...c,
|
|
2663
|
+
allSizes,
|
|
2664
|
+
deviceSizes,
|
|
2665
|
+
qualities
|
|
2666
|
+
};
|
|
2667
|
+
}, [
|
|
2668
|
+
configContext
|
|
2669
|
+
]);
|
|
2670
|
+
const { onLoad, onLoadingComplete } = props;
|
|
2671
|
+
const onLoadRef = (0, _react.useRef)(onLoad);
|
|
2672
|
+
(0, _react.useEffect)(() => {
|
|
2673
|
+
onLoadRef.current = onLoad;
|
|
2674
|
+
}, [
|
|
2675
|
+
onLoad
|
|
2676
|
+
]);
|
|
2677
|
+
const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
|
|
2678
|
+
(0, _react.useEffect)(() => {
|
|
2679
|
+
onLoadingCompleteRef.current = onLoadingComplete;
|
|
2680
|
+
}, [
|
|
2681
|
+
onLoadingComplete
|
|
2682
|
+
]);
|
|
2683
|
+
const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
|
|
2684
|
+
const [showAltText, setShowAltText] = (0, _react.useState)(false);
|
|
2685
|
+
const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
|
|
2686
|
+
defaultLoader: _imageloader.default,
|
|
2687
|
+
imgConf: config,
|
|
2688
|
+
blurComplete,
|
|
2689
|
+
showAltText
|
|
2690
|
+
});
|
|
2691
|
+
return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
2692
|
+
children: [
|
|
2693
|
+
/* @__PURE__ */ (0, _jsxruntime.jsx)(ImageElement, {
|
|
2694
|
+
...imgAttributes,
|
|
2695
|
+
unoptimized: imgMeta.unoptimized,
|
|
2696
|
+
placeholder: imgMeta.placeholder,
|
|
2697
|
+
fill: imgMeta.fill,
|
|
2698
|
+
onLoadRef,
|
|
2699
|
+
onLoadingCompleteRef,
|
|
2700
|
+
setBlurComplete,
|
|
2701
|
+
setShowAltText,
|
|
2702
|
+
sizesInput: props.sizes,
|
|
2703
|
+
ref: forwardedRef
|
|
2704
|
+
}),
|
|
2705
|
+
imgMeta.priority ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ImagePreload, {
|
|
2706
|
+
isAppRouter,
|
|
2707
|
+
imgAttributes
|
|
2708
|
+
}) : null
|
|
2709
|
+
]
|
|
2710
|
+
});
|
|
2711
|
+
});
|
|
2712
|
+
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
2713
|
+
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
2714
|
+
Object.assign(exports2.default, exports2);
|
|
2715
|
+
module2.exports = exports2.default;
|
|
2716
|
+
}
|
|
2717
|
+
})(imageComponent, imageComponent.exports);
|
|
2718
|
+
var imageComponentExports = imageComponent.exports;
|
|
2719
|
+
(function(exports2) {
|
|
2720
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2721
|
+
value: true
|
|
2722
|
+
});
|
|
2723
|
+
function _export(target, all) {
|
|
2724
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
2725
|
+
enumerable: true,
|
|
2726
|
+
get: all[name]
|
|
2727
|
+
});
|
|
2728
|
+
}
|
|
2729
|
+
_export(exports2, {
|
|
2730
|
+
default: function() {
|
|
2731
|
+
return _default;
|
|
2732
|
+
},
|
|
2733
|
+
getImageProps: function() {
|
|
2734
|
+
return getImageProps;
|
|
2735
|
+
}
|
|
2736
|
+
});
|
|
2737
|
+
const _interop_require_default = link._interop_require_default;
|
|
2738
|
+
const _getimgprops = getImgProps;
|
|
2739
|
+
const _imagecomponent = imageComponentExports;
|
|
2740
|
+
const _imageloader = /* @__PURE__ */ _interop_require_default._(requireImageLoader());
|
|
2741
|
+
function getImageProps(imgProps) {
|
|
2742
|
+
const { props } = (0, _getimgprops.getImgProps)(imgProps, {
|
|
2743
|
+
defaultLoader: _imageloader.default,
|
|
2744
|
+
// This is replaced by webpack define plugin
|
|
2745
|
+
imgConf: process.env.__NEXT_IMAGE_OPTS
|
|
2746
|
+
});
|
|
2747
|
+
for (const [key, value] of Object.entries(props)) {
|
|
2748
|
+
if (value === void 0) {
|
|
2749
|
+
delete props[key];
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
return {
|
|
2753
|
+
props
|
|
2754
|
+
};
|
|
2755
|
+
}
|
|
2756
|
+
const _default = _imagecomponent.Image;
|
|
2757
|
+
})(imageExternal);
|
|
2758
|
+
var image = imageExternal;
|
|
2759
|
+
const Image = /* @__PURE__ */ link.getDefaultExportFromCjs(image);
|
|
2760
|
+
exports.Image = Image;
|
|
2761
|
+
//# sourceMappingURL=image-C5jTmHeD.cjs.map
|