@sap-ux/ui-components 1.0.0
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/LICENSE +201 -0
- package/README.md +20 -0
- package/dist/components/Icons.d.ts +105 -0
- package/dist/components/Icons.d.ts.map +1 -0
- package/dist/components/Icons.js +401 -0
- package/dist/components/Icons.js.map +1 -0
- package/dist/components/UIBreadcrumb/UIBreadcrumb.d.ts +23 -0
- package/dist/components/UIBreadcrumb/UIBreadcrumb.d.ts.map +1 -0
- package/dist/components/UIBreadcrumb/UIBreadcrumb.js +38 -0
- package/dist/components/UIBreadcrumb/UIBreadcrumb.js.map +1 -0
- package/dist/components/UIBreadcrumb/index.d.ts +2 -0
- package/dist/components/UIBreadcrumb/index.d.ts.map +1 -0
- package/dist/components/UIBreadcrumb/index.js +14 -0
- package/dist/components/UIBreadcrumb/index.js.map +1 -0
- package/dist/components/UIButton/UIActionButton.d.ts +23 -0
- package/dist/components/UIButton/UIActionButton.d.ts.map +1 -0
- package/dist/components/UIButton/UIActionButton.js +97 -0
- package/dist/components/UIButton/UIActionButton.js.map +1 -0
- package/dist/components/UIButton/UIDefaultButton.d.ts +23 -0
- package/dist/components/UIButton/UIDefaultButton.d.ts.map +1 -0
- package/dist/components/UIButton/UIDefaultButton.js +227 -0
- package/dist/components/UIButton/UIDefaultButton.js.map +1 -0
- package/dist/components/UIButton/UIIconButton.d.ts +37 -0
- package/dist/components/UIButton/UIIconButton.d.ts.map +1 -0
- package/dist/components/UIButton/UIIconButton.js +106 -0
- package/dist/components/UIButton/UIIconButton.js.map +1 -0
- package/dist/components/UIButton/UISplitButton.d.ts +36 -0
- package/dist/components/UIButton/UISplitButton.d.ts.map +1 -0
- package/dist/components/UIButton/UISplitButton.js +67 -0
- package/dist/components/UIButton/UISplitButton.js.map +1 -0
- package/dist/components/UIButton/index.d.ts +7 -0
- package/dist/components/UIButton/index.d.ts.map +1 -0
- package/dist/components/UIButton/index.js +17 -0
- package/dist/components/UIButton/index.js.map +1 -0
- package/dist/components/UICallout/UICallout.d.ts +37 -0
- package/dist/components/UICallout/UICallout.d.ts.map +1 -0
- package/dist/components/UICallout/UICallout.js +90 -0
- package/dist/components/UICallout/UICallout.js.map +1 -0
- package/dist/components/UICallout/index.d.ts +2 -0
- package/dist/components/UICallout/index.d.ts.map +1 -0
- package/dist/components/UICallout/index.js +14 -0
- package/dist/components/UICallout/index.js.map +1 -0
- package/dist/components/UICheckbox/UICheckbox.d.ts +34 -0
- package/dist/components/UICheckbox/UICheckbox.d.ts.map +1 -0
- package/dist/components/UICheckbox/UICheckbox.js +135 -0
- package/dist/components/UICheckbox/UICheckbox.js.map +1 -0
- package/dist/components/UICheckbox/index.d.ts +2 -0
- package/dist/components/UICheckbox/index.d.ts.map +1 -0
- package/dist/components/UICheckbox/index.js +14 -0
- package/dist/components/UICheckbox/index.js.map +1 -0
- package/dist/components/UIChoiceGroup/UIChoiceGroup.d.ts +28 -0
- package/dist/components/UIChoiceGroup/UIChoiceGroup.d.ts.map +1 -0
- package/dist/components/UIChoiceGroup/UIChoiceGroup.js +182 -0
- package/dist/components/UIChoiceGroup/UIChoiceGroup.js.map +1 -0
- package/dist/components/UIChoiceGroup/index.d.ts +2 -0
- package/dist/components/UIChoiceGroup/index.d.ts.map +1 -0
- package/dist/components/UIChoiceGroup/index.js +14 -0
- package/dist/components/UIChoiceGroup/index.js.map +1 -0
- package/dist/components/UIComboBox/Callout.scss +7 -0
- package/dist/components/UIComboBox/UIComboBox.d.ts +190 -0
- package/dist/components/UIComboBox/UIComboBox.d.ts.map +1 -0
- package/dist/components/UIComboBox/UIComboBox.js +468 -0
- package/dist/components/UIComboBox/UIComboBox.js.map +1 -0
- package/dist/components/UIComboBox/UIComboBox.scss +245 -0
- package/dist/components/UIComboBox/_mixins.scss +24 -0
- package/dist/components/UIComboBox/index.d.ts +2 -0
- package/dist/components/UIComboBox/index.d.ts.map +1 -0
- package/dist/components/UIComboBox/index.js +14 -0
- package/dist/components/UIComboBox/index.js.map +1 -0
- package/dist/components/UIContextualMenu/UIContextualMenu.d.ts +32 -0
- package/dist/components/UIContextualMenu/UIContextualMenu.d.ts.map +1 -0
- package/dist/components/UIContextualMenu/UIContextualMenu.js +124 -0
- package/dist/components/UIContextualMenu/UIContextualMenu.js.map +1 -0
- package/dist/components/UIContextualMenu/UIContextualMenu.scss +211 -0
- package/dist/components/UIContextualMenu/UIHighlightMenuOption.d.ts +20 -0
- package/dist/components/UIContextualMenu/UIHighlightMenuOption.d.ts.map +1 -0
- package/dist/components/UIContextualMenu/UIHighlightMenuOption.js +51 -0
- package/dist/components/UIContextualMenu/UIHighlightMenuOption.js.map +1 -0
- package/dist/components/UIContextualMenu/UIHighlightMenuOption.scss +23 -0
- package/dist/components/UIContextualMenu/_variables.scss +30 -0
- package/dist/components/UIContextualMenu/index.d.ts +3 -0
- package/dist/components/UIContextualMenu/index.d.ts.map +1 -0
- package/dist/components/UIContextualMenu/index.js +15 -0
- package/dist/components/UIContextualMenu/index.js.map +1 -0
- package/dist/components/UIDatePicker/UIDatePicker.d.ts +49 -0
- package/dist/components/UIDatePicker/UIDatePicker.d.ts.map +1 -0
- package/dist/components/UIDatePicker/UIDatePicker.js +72 -0
- package/dist/components/UIDatePicker/UIDatePicker.js.map +1 -0
- package/dist/components/UIDatePicker/UIDatePicker.scss +38 -0
- package/dist/components/UIDatePicker/index.d.ts +2 -0
- package/dist/components/UIDatePicker/index.d.ts.map +1 -0
- package/dist/components/UIDatePicker/index.js +14 -0
- package/dist/components/UIDatePicker/index.js.map +1 -0
- package/dist/components/UIDialog/UIDialog.d.ts +102 -0
- package/dist/components/UIDialog/UIDialog.d.ts.map +1 -0
- package/dist/components/UIDialog/UIDialog.js +250 -0
- package/dist/components/UIDialog/UIDialog.js.map +1 -0
- package/dist/components/UIDialog/index.d.ts +2 -0
- package/dist/components/UIDialog/index.d.ts.map +1 -0
- package/dist/components/UIDialog/index.js +14 -0
- package/dist/components/UIDialog/index.js.map +1 -0
- package/dist/components/UIDropdown/UIDropdown.d.ts +76 -0
- package/dist/components/UIDropdown/UIDropdown.d.ts.map +1 -0
- package/dist/components/UIDropdown/UIDropdown.js +166 -0
- package/dist/components/UIDropdown/UIDropdown.js.map +1 -0
- package/dist/components/UIDropdown/UIDropdown.scss +80 -0
- package/dist/components/UIDropdown/index.d.ts +2 -0
- package/dist/components/UIDropdown/index.d.ts.map +1 -0
- package/dist/components/UIDropdown/index.js +14 -0
- package/dist/components/UIDropdown/index.js.map +1 -0
- package/dist/components/UIFlexibleTable/RowActions.d.ts +17 -0
- package/dist/components/UIFlexibleTable/RowActions.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/RowActions.js +68 -0
- package/dist/components/UIFlexibleTable/RowActions.js.map +1 -0
- package/dist/components/UIFlexibleTable/RowData.d.ts +16 -0
- package/dist/components/UIFlexibleTable/RowData.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/RowData.js +109 -0
- package/dist/components/UIFlexibleTable/RowData.js.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTable.d.ts +12 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTable.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTable.js +256 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTable.js.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTable.scss +408 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableActionButton.d.ts +20 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableActionButton.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableActionButton.js +20 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableActionButton.js.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.d.ts +28 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.js +165 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.js.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRowActionButton.d.ts +21 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRowActionButton.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRowActionButton.js +20 -0
- package/dist/components/UIFlexibleTable/UIFlexibleTableRowActionButton.js.map +1 -0
- package/dist/components/UIFlexibleTable/index.d.ts +6 -0
- package/dist/components/UIFlexibleTable/index.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/index.js +18 -0
- package/dist/components/UIFlexibleTable/index.js.map +1 -0
- package/dist/components/UIFlexibleTable/types.d.ts +103 -0
- package/dist/components/UIFlexibleTable/types.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/types.js +9 -0
- package/dist/components/UIFlexibleTable/types.js.map +1 -0
- package/dist/components/UIFlexibleTable/utils.d.ts +29 -0
- package/dist/components/UIFlexibleTable/utils.d.ts.map +1 -0
- package/dist/components/UIFlexibleTable/utils.js +53 -0
- package/dist/components/UIFlexibleTable/utils.js.map +1 -0
- package/dist/components/UIFocusZone/UIFocusTrapZone.d.ts +22 -0
- package/dist/components/UIFocusZone/UIFocusTrapZone.d.ts.map +1 -0
- package/dist/components/UIFocusZone/UIFocusTrapZone.js +33 -0
- package/dist/components/UIFocusZone/UIFocusTrapZone.js.map +1 -0
- package/dist/components/UIFocusZone/UIFocusZone.d.ts +23 -0
- package/dist/components/UIFocusZone/UIFocusZone.d.ts.map +1 -0
- package/dist/components/UIFocusZone/UIFocusZone.js +35 -0
- package/dist/components/UIFocusZone/UIFocusZone.js.map +1 -0
- package/dist/components/UIFocusZone/index.d.ts +3 -0
- package/dist/components/UIFocusZone/index.d.ts.map +1 -0
- package/dist/components/UIFocusZone/index.js +15 -0
- package/dist/components/UIFocusZone/index.js.map +1 -0
- package/dist/components/UIIcon/UIIcon.d.ts +24 -0
- package/dist/components/UIIcon/UIIcon.d.ts.map +1 -0
- package/dist/components/UIIcon/UIIcon.js +37 -0
- package/dist/components/UIIcon/UIIcon.js.map +1 -0
- package/dist/components/UIIcon/UIIcon.scss +3 -0
- package/dist/components/UIIcon/index.d.ts +2 -0
- package/dist/components/UIIcon/index.d.ts.map +1 -0
- package/dist/components/UIIcon/index.js +14 -0
- package/dist/components/UIIcon/index.js.map +1 -0
- package/dist/components/UIInput/UITextInput.d.ts +25 -0
- package/dist/components/UIInput/UITextInput.d.ts.map +1 -0
- package/dist/components/UIInput/UITextInput.js +180 -0
- package/dist/components/UIInput/UITextInput.js.map +1 -0
- package/dist/components/UIInput/index.d.ts +2 -0
- package/dist/components/UIInput/index.d.ts.map +1 -0
- package/dist/components/UIInput/index.js +14 -0
- package/dist/components/UIInput/index.js.map +1 -0
- package/dist/components/UILabel/UILabel.d.ts +30 -0
- package/dist/components/UILabel/UILabel.d.ts.map +1 -0
- package/dist/components/UILabel/UILabel.js +64 -0
- package/dist/components/UILabel/UILabel.js.map +1 -0
- package/dist/components/UILabel/index.d.ts +2 -0
- package/dist/components/UILabel/index.d.ts.map +1 -0
- package/dist/components/UILabel/index.js +14 -0
- package/dist/components/UILabel/index.js.map +1 -0
- package/dist/components/UILink/UILink.d.ts +22 -0
- package/dist/components/UILink/UILink.d.ts.map +1 -0
- package/dist/components/UILink/UILink.js +58 -0
- package/dist/components/UILink/UILink.js.map +1 -0
- package/dist/components/UILink/index.d.ts +2 -0
- package/dist/components/UILink/index.d.ts.map +1 -0
- package/dist/components/UILink/index.js +14 -0
- package/dist/components/UILink/index.js.map +1 -0
- package/dist/components/UIList/UIList.d.ts +31 -0
- package/dist/components/UIList/UIList.d.ts.map +1 -0
- package/dist/components/UIList/UIList.js +120 -0
- package/dist/components/UIList/UIList.js.map +1 -0
- package/dist/components/UIList/UIList.scss +16 -0
- package/dist/components/UIList/index.d.ts +2 -0
- package/dist/components/UIList/index.d.ts.map +1 -0
- package/dist/components/UIList/index.js +14 -0
- package/dist/components/UIList/index.js.map +1 -0
- package/dist/components/UILoader/UILoader.d.ts +27 -0
- package/dist/components/UILoader/UILoader.d.ts.map +1 -0
- package/dist/components/UILoader/UILoader.js +78 -0
- package/dist/components/UILoader/UILoader.js.map +1 -0
- package/dist/components/UILoader/UILoader.scss +32 -0
- package/dist/components/UILoader/index.d.ts +2 -0
- package/dist/components/UILoader/index.d.ts.map +1 -0
- package/dist/components/UILoader/index.js +14 -0
- package/dist/components/UILoader/index.js.map +1 -0
- package/dist/components/UIMessageBar/UIMessageBar.d.ts +25 -0
- package/dist/components/UIMessageBar/UIMessageBar.d.ts.map +1 -0
- package/dist/components/UIMessageBar/UIMessageBar.js +59 -0
- package/dist/components/UIMessageBar/UIMessageBar.js.map +1 -0
- package/dist/components/UIMessageBar/index.d.ts +2 -0
- package/dist/components/UIMessageBar/index.d.ts.map +1 -0
- package/dist/components/UIMessageBar/index.js +14 -0
- package/dist/components/UIMessageBar/index.js.map +1 -0
- package/dist/components/UIModal/UIModal.d.ts +23 -0
- package/dist/components/UIModal/UIModal.d.ts.map +1 -0
- package/dist/components/UIModal/UIModal.js +43 -0
- package/dist/components/UIModal/UIModal.js.map +1 -0
- package/dist/components/UIModal/index.d.ts +2 -0
- package/dist/components/UIModal/index.d.ts.map +1 -0
- package/dist/components/UIModal/index.js +14 -0
- package/dist/components/UIModal/index.js.map +1 -0
- package/dist/components/UIOverlay/UIOverlay.d.ts +22 -0
- package/dist/components/UIOverlay/UIOverlay.d.ts.map +1 -0
- package/dist/components/UIOverlay/UIOverlay.js +38 -0
- package/dist/components/UIOverlay/UIOverlay.js.map +1 -0
- package/dist/components/UIOverlay/index.d.ts +2 -0
- package/dist/components/UIOverlay/index.d.ts.map +1 -0
- package/dist/components/UIOverlay/index.js +14 -0
- package/dist/components/UIOverlay/index.js.map +1 -0
- package/dist/components/UISearchBox/UISearchBox.d.ts +22 -0
- package/dist/components/UISearchBox/UISearchBox.d.ts.map +1 -0
- package/dist/components/UISearchBox/UISearchBox.js +155 -0
- package/dist/components/UISearchBox/UISearchBox.js.map +1 -0
- package/dist/components/UISearchBox/index.d.ts +4 -0
- package/dist/components/UISearchBox/index.d.ts.map +1 -0
- package/dist/components/UISearchBox/index.js +14 -0
- package/dist/components/UISearchBox/index.js.map +1 -0
- package/dist/components/UISection/UISection.d.ts +33 -0
- package/dist/components/UISection/UISection.d.ts.map +1 -0
- package/dist/components/UISection/UISection.js +47 -0
- package/dist/components/UISection/UISection.js.map +1 -0
- package/dist/components/UISection/UISection.scss +76 -0
- package/dist/components/UISection/UISections.d.ts +251 -0
- package/dist/components/UISection/UISections.d.ts.map +1 -0
- package/dist/components/UISection/UISections.js +709 -0
- package/dist/components/UISection/UISections.js.map +1 -0
- package/dist/components/UISection/UISections.scss +62 -0
- package/dist/components/UISection/UISplitter.d.ts +97 -0
- package/dist/components/UISection/UISplitter.d.ts.map +1 -0
- package/dist/components/UISection/UISplitter.js +221 -0
- package/dist/components/UISection/UISplitter.js.map +1 -0
- package/dist/components/UISection/UISplitter.scss +212 -0
- package/dist/components/UISection/_mixins.scss +14 -0
- package/dist/components/UISection/_variables.scss +1 -0
- package/dist/components/UISection/index.d.ts +4 -0
- package/dist/components/UISection/index.d.ts.map +1 -0
- package/dist/components/UISection/index.js +16 -0
- package/dist/components/UISection/index.js.map +1 -0
- package/dist/components/UITable/UITable-helper.d.ts +85 -0
- package/dist/components/UITable/UITable-helper.d.ts.map +1 -0
- package/dist/components/UITable/UITable-helper.js +267 -0
- package/dist/components/UITable/UITable-helper.js.map +1 -0
- package/dist/components/UITable/UITable.d.ts +212 -0
- package/dist/components/UITable/UITable.d.ts.map +1 -0
- package/dist/components/UITable/UITable.js +762 -0
- package/dist/components/UITable/UITable.js.map +1 -0
- package/dist/components/UITable/UITable.scss +194 -0
- package/dist/components/UITable/index.d.ts +3 -0
- package/dist/components/UITable/index.d.ts.map +1 -0
- package/dist/components/UITable/index.js +15 -0
- package/dist/components/UITable/index.js.map +1 -0
- package/dist/components/UITable/types.d.ts +76 -0
- package/dist/components/UITable/types.d.ts.map +1 -0
- package/dist/components/UITable/types.js +27 -0
- package/dist/components/UITable/types.js.map +1 -0
- package/dist/components/UITabs/UITabs.d.ts +28 -0
- package/dist/components/UITabs/UITabs.d.ts.map +1 -0
- package/dist/components/UITabs/UITabs.js +70 -0
- package/dist/components/UITabs/UITabs.js.map +1 -0
- package/dist/components/UITabs/index.d.ts +2 -0
- package/dist/components/UITabs/index.d.ts.map +1 -0
- package/dist/components/UITabs/index.js +14 -0
- package/dist/components/UITabs/index.js.map +1 -0
- package/dist/components/UIToggle/UIToggle.d.ts +39 -0
- package/dist/components/UIToggle/UIToggle.d.ts.map +1 -0
- package/dist/components/UIToggle/UIToggle.js +181 -0
- package/dist/components/UIToggle/UIToggle.js.map +1 -0
- package/dist/components/UIToggle/index.d.ts +2 -0
- package/dist/components/UIToggle/index.d.ts.map +1 -0
- package/dist/components/UIToggle/index.js +14 -0
- package/dist/components/UIToggle/index.js.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.d.ts +31 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.js +132 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.js.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.scss +13 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.types.d.ts +23 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.types.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.types.js +3 -0
- package/dist/components/UIToggleGroup/UIToggleGroup.types.js.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.d.ts +26 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.js +74 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.js.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss +74 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.d.ts +11 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.js +3 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.js.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/index.d.ts +3 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/index.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/index.js +15 -0
- package/dist/components/UIToggleGroup/UIToggleGroupOption/index.js.map +1 -0
- package/dist/components/UIToggleGroup/index.d.ts +3 -0
- package/dist/components/UIToggleGroup/index.d.ts.map +1 -0
- package/dist/components/UIToggleGroup/index.js +15 -0
- package/dist/components/UIToggleGroup/index.js.map +1 -0
- package/dist/components/UIToolbar/UIToolbar.d.ts +37 -0
- package/dist/components/UIToolbar/UIToolbar.d.ts.map +1 -0
- package/dist/components/UIToolbar/UIToolbar.js +101 -0
- package/dist/components/UIToolbar/UIToolbar.js.map +1 -0
- package/dist/components/UIToolbar/UIToolbar.scss +48 -0
- package/dist/components/UIToolbar/UIToolbarColumn.d.ts +8 -0
- package/dist/components/UIToolbar/UIToolbarColumn.d.ts.map +1 -0
- package/dist/components/UIToolbar/UIToolbarColumn.js +30 -0
- package/dist/components/UIToolbar/UIToolbarColumn.js.map +1 -0
- package/dist/components/UIToolbar/UIToolbarDivider.d.ts +26 -0
- package/dist/components/UIToolbar/UIToolbarDivider.d.ts.map +1 -0
- package/dist/components/UIToolbar/UIToolbarDivider.js +51 -0
- package/dist/components/UIToolbar/UIToolbarDivider.js.map +1 -0
- package/dist/components/UIToolbar/index.d.ts +4 -0
- package/dist/components/UIToolbar/index.d.ts.map +1 -0
- package/dist/components/UIToolbar/index.js +16 -0
- package/dist/components/UIToolbar/index.js.map +1 -0
- package/dist/components/UITooltip/UITooltip.d.ts +29 -0
- package/dist/components/UITooltip/UITooltip.d.ts.map +1 -0
- package/dist/components/UITooltip/UITooltip.js +79 -0
- package/dist/components/UITooltip/UITooltip.js.map +1 -0
- package/dist/components/UITooltip/UITooltipUtils.d.ts +17 -0
- package/dist/components/UITooltip/UITooltipUtils.d.ts.map +1 -0
- package/dist/components/UITooltip/UITooltipUtils.js +47 -0
- package/dist/components/UITooltip/UITooltipUtils.js.map +1 -0
- package/dist/components/UITooltip/index.d.ts +3 -0
- package/dist/components/UITooltip/index.d.ts.map +1 -0
- package/dist/components/UITooltip/index.js +15 -0
- package/dist/components/UITooltip/index.js.map +1 -0
- package/dist/components/UITreeDropdown/UITreeDropdown.d.ts +255 -0
- package/dist/components/UITreeDropdown/UITreeDropdown.d.ts.map +1 -0
- package/dist/components/UITreeDropdown/UITreeDropdown.js +638 -0
- package/dist/components/UITreeDropdown/UITreeDropdown.js.map +1 -0
- package/dist/components/UITreeDropdown/UITreeDropdown.scss +82 -0
- package/dist/components/UITreeDropdown/index.d.ts +2 -0
- package/dist/components/UITreeDropdown/index.d.ts.map +1 -0
- package/dist/components/UITreeDropdown/index.js +14 -0
- package/dist/components/UITreeDropdown/index.js.map +1 -0
- package/dist/components/UIVerticalDivider/UIVerticalDivider.d.ts +24 -0
- package/dist/components/UIVerticalDivider/UIVerticalDivider.d.ts.map +1 -0
- package/dist/components/UIVerticalDivider/UIVerticalDivider.js +42 -0
- package/dist/components/UIVerticalDivider/UIVerticalDivider.js.map +1 -0
- package/dist/components/UIVerticalDivider/index.d.ts +2 -0
- package/dist/components/UIVerticalDivider/index.d.ts.map +1 -0
- package/dist/components/UIVerticalDivider/index.js +14 -0
- package/dist/components/UIVerticalDivider/index.js.map +1 -0
- package/dist/components/UIVirtualList/UIAutoSizer.d.ts +22 -0
- package/dist/components/UIVirtualList/UIAutoSizer.d.ts.map +1 -0
- package/dist/components/UIVirtualList/UIAutoSizer.js +33 -0
- package/dist/components/UIVirtualList/UIAutoSizer.js.map +1 -0
- package/dist/components/UIVirtualList/UICellMeasurer.d.ts +23 -0
- package/dist/components/UIVirtualList/UICellMeasurer.d.ts.map +1 -0
- package/dist/components/UIVirtualList/UICellMeasurer.js +33 -0
- package/dist/components/UIVirtualList/UICellMeasurer.js.map +1 -0
- package/dist/components/UIVirtualList/UIVirtualList.d.ts +43 -0
- package/dist/components/UIVirtualList/UIVirtualList.d.ts.map +1 -0
- package/dist/components/UIVirtualList/UIVirtualList.js +70 -0
- package/dist/components/UIVirtualList/UIVirtualList.js.map +1 -0
- package/dist/components/UIVirtualList/index.d.ts +4 -0
- package/dist/components/UIVirtualList/index.d.ts.map +1 -0
- package/dist/components/UIVirtualList/index.js +16 -0
- package/dist/components/UIVirtualList/index.js.map +1 -0
- package/dist/components/index.d.ts +34 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +46 -0
- package/dist/components/index.js.map +1 -0
- package/dist/helper/ValidationMessage/MessageWrapper.d.ts +18 -0
- package/dist/helper/ValidationMessage/MessageWrapper.d.ts.map +1 -0
- package/dist/helper/ValidationMessage/MessageWrapper.js +35 -0
- package/dist/helper/ValidationMessage/MessageWrapper.js.map +1 -0
- package/dist/helper/ValidationMessage/MessageWrapper.scss +44 -0
- package/dist/helper/ValidationMessage/index.d.ts +3 -0
- package/dist/helper/ValidationMessage/index.d.ts.map +1 -0
- package/dist/helper/ValidationMessage/index.js +15 -0
- package/dist/helper/ValidationMessage/index.js.map +1 -0
- package/dist/helper/ValidationMessage/utils.d.ts +32 -0
- package/dist/helper/ValidationMessage/utils.d.ts.map +1 -0
- package/dist/helper/ValidationMessage/utils.js +124 -0
- package/dist/helper/ValidationMessage/utils.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/_color.scss +435 -0
- package/dist/styles/_mixins.scss +15 -0
- package/dist/styles/_theia_materialcolors.scss +279 -0
- package/dist/styles/_typography.scss +72 -0
- package/dist/styles/_variables.scss +24 -0
- package/dist/styles/ui-components.scss +5 -0
- package/dist/utilities/DeepMerge.d.ts +10 -0
- package/dist/utilities/DeepMerge.d.ts.map +1 -0
- package/dist/utilities/DeepMerge.js +43 -0
- package/dist/utilities/DeepMerge.js.map +1 -0
- package/dist/utilities/Focus.d.ts +5 -0
- package/dist/utilities/Focus.d.ts.map +1 -0
- package/dist/utilities/Focus.js +8 -0
- package/dist/utilities/Focus.js.map +1 -0
- package/dist/utilities/Id.d.ts +3 -0
- package/dist/utilities/Id.d.ts.map +1 -0
- package/dist/utilities/Id.js +6 -0
- package/dist/utilities/Id.js.map +1 -0
- package/dist/utilities/Keys.d.ts +3 -0
- package/dist/utilities/Keys.d.ts.map +1 -0
- package/dist/utilities/Keys.js +6 -0
- package/dist/utilities/Keys.js.map +1 -0
- package/dist/utilities/index.d.ts +4 -0
- package/dist/utilities/index.d.ts.map +1 -0
- package/dist/utilities/index.js +16 -0
- package/dist/utilities/index.js.map +1 -0
- package/package.json +78 -0
- package/storybook/509.1060f8f464e74d7e89e3.manager.bundle.js +17 -0
- package/storybook/685.6d7c03ae84f4f4910fd8.manager.bundle.js +10 -0
- package/storybook/720.3f79f56f8617ba9b098b.manager.bundle.js +1 -0
- package/storybook/730.e07ff5529508942d85d4.manager.bundle.js +15 -0
- package/storybook/759.8ae5af3b1b3b446a9919.manager.bundle.js +296 -0
- package/storybook/906.cf93a831.iframe.bundle.js +1 -0
- package/storybook/93.4e7a890e.iframe.bundle.js +301 -0
- package/storybook/975.15c711f75c0452ae9e9f.manager.bundle.js +2 -0
- package/storybook/978.a517622963996a3b8256.manager.bundle.js +894 -0
- package/storybook/983.515d3eedbfaed61e9ae7.manager.bundle.js +1 -0
- package/storybook/favicon.ico +0 -0
- package/storybook/iframe.html +380 -0
- package/storybook/index.html +177 -0
- package/storybook/main.e843f431b2692c06059a.manager.bundle.js +1 -0
- package/storybook/main.fd2077c6.iframe.bundle.js +98 -0
- package/storybook/project.json +1 -0
- package/storybook/runtime~main.1118f177d5097a42d314.manager.bundle.js +2 -0
- package/storybook/runtime~main.e0688c57.iframe.bundle.js +2 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[759],{52759:(Ee,je,E)=>{"use strict";E.r(je),E.d(je,{formatter:()=>Pb});var K=E(96319),J=E.n(K),Y=E(98744),ne=E.n(Y),le=E(20230),re=E.n(le),ge=E(79797),Qe=E.n(ge),Ie=E(52341),$e=E.n(Ie),Xe=E(4361),Je=E.n(Xe),Re=E(96661),Be=E.n(Re),ke=E(96989),ft=E.n(ke),Yt=E(91196),Ft=E.n(Yt),gt=E(28132),nt=E.n(gt),lr=E(14074),Wt=E.n(lr),Tn=E(97431),Qt=E.n(Tn),Zt=E(83668),ju=E.n(Zt),xn=E(35287),Fi=E.n(xn),fu=E(78770),Ca=E.n(fu),kr=E(93118),Zo=E.n(kr),er=E(20971),Kr=E.n(er),Kn=E(27713),un=E.n(Kn),du=E(16390),es=E.n(du),bi=E(22300),ts=E.n(bi),Ru=E(86199),rs=E.n(Ru),Si=E(40349),_u=E.n(Si),st=E(55925),Nt=E.n(st),Pt=E(86310),Bn=E.n(Pt),Ir=E(8244),an=E.n(Ir),ns=E(46155),Jl=E.n(ns),Yl=E(30182),Mf=E.n(Yl),Vt=E(25322),Et=E.n(Vt),_t=E(92423),yt=E.n(_t),hu=E(95811),rm=E.n(hu),jf=E(72075),Du=E.n(jf),Tt=E(93059),wn=E.n(Tt),Ql=E(61760),nm=E.n(Ql),Rf=E(36189),um=E.n(Rf),_f=E(22907),cr=E.n(_f),vt=E(24824),tr=E.n(vt),zn=E(11970),Uf=E.n(zn),Ti=E(67792),us=E.n(Ti),qn=E(85393),xi=E.n(qn),as=E(99644),v7=E.n(as),AF=E(83744),y7=E.n(AF),FF=E(49717),E7=E.n(FF),bF=E(65993),C7=E.n(bF),SF=E(48757),A7=E.n(SF),TF=E(8514),F7=E.n(TF),xF=E(87800),b7=E.n(xF),BF=E(91974),S7=E.n(BF),wF=E(86187),T7=E.n(wF),PF=E(43162),x7=E.n(PF),NF=E(13689),B7=E.n(NF),OF=E(28893),w7=E.n(OF),kF=E(69870),P7=E.n(kF),IF=E(60937),N7=E.n(IF),LF=E(72758),O7=E.n(LF),MF=E(12742),k7=E.n(MF),jF=E(50375),I7=E.n(jF),RF=E(81290),L7=E.n(RF),_F=E(90535),M7=E.n(_F),UF=E(15076),j7=E.n(UF),$F=E(50691),R7=E.n($F),WF=E(52045),_7=E.n(WF),VF=E(12469),U7=E.n(VF),GF=E(64805),$7=E.n(GF),HF=E(92267),W7=E.n(HF),KF=E(45474),V7=E.n(KF),zF=E(95872),G7=E.n(zF),qF=E(10158),H7=E.n(qF),XF=E(69059),K7=E.n(XF),JF=E(75001),z7=E.n(JF),YF=E(34358),q7=E.n(YF),QF=E(92650),X7=E.n(QF),ZF=E(84674),J7=E.n(ZF),eb=E(97697),Y7=E.n(eb),tb=E(28086),Q7=E.n(tb),rb=E(49855),Z7=E.n(rb),nb=E(45537),eL=E.n(nb),ub=E(9162),tL=E.n(ub),ab=E(18478),rL=E.n(ab),ib=E(7506),nL=E.n(ib),ob=E(75501),uL=E.n(ob),sb=E(91722),aL=E.n(sb),lb=E(52938),iL=E.n(lb),cb=E(67588),oL=E.n(cb),pb=E(23202),sL=E.n(pb),fb=E(18537),lL=E.n(fb),db=E(9843),cL=E.n(db),hb=E(9834),pL=E.n(hb),Db=E(30494),fL=E.n(Db),mb=E(53557),dL=E.n(mb),gb=E(74769),hL=E.n(gb),vb=E(69469),yb=E.n(vb),mu=E(23481),DL=E(96832),Eb=E(58897),mL=E.n(Eb),Cb=E(79119),gL=E.n(Cb);function Bi(ee){var ve=typeof Map=="function"?new Map:void 0;return Bi=function(Ne){if(Ne===null||!Ab(Ne))return Ne;if(typeof Ne!="function")throw new TypeError("Super expression must either be null or a function");if(typeof ve!="undefined"){if(ve.has(Ne))return ve.get(Ne);ve.set(Ne,dt)}function dt(){return Zl(Ne,arguments,Xn(this).constructor)}return dt.prototype=Object.create(Ne.prototype,{constructor:{value:dt,enumerable:!1,writable:!0,configurable:!0}}),is(dt,Ne)},Bi(ee)}function Zl(ee,ve,Pe){return om()?Zl=Reflect.construct:Zl=function(dt,bt,Er){var Ge=[null];Ge.push.apply(Ge,bt);var xt=Function.bind.apply(dt,Ge),zr=new xt;return Er&&is(zr,Er.prototype),zr},Zl.apply(null,arguments)}function Ab(ee){return Function.toString.call(ee).indexOf("[native code]")!==-1}function am(ee){return cm(ee)||sm(ee)||ec(ee)||lm()}function Aa(){return typeof Reflect!="undefined"&&Reflect.get?Aa=Reflect.get:Aa=function(ve,Pe,Ne){var dt=Fb(ve,Pe);if(!!dt){var bt=Object.getOwnPropertyDescriptor(dt,Pe);return bt.get?bt.get.call(arguments.length<3?ve:Ne):bt.value}},Aa.apply(this,arguments)}function Fb(ee,ve){for(;!Object.prototype.hasOwnProperty.call(ee,ve)&&(ee=Xn(ee),ee!==null););return ee}function Gt(ee,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(ve&&ve.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),ve&&is(ee,ve)}function is(ee,ve){return is=Object.setPrototypeOf||function(Ne,dt){return Ne.__proto__=dt,Ne},is(ee,ve)}function Ht(ee){var ve=om();return function(){var Ne=Xn(ee),dt;if(ve){var bt=Xn(this).constructor;dt=Reflect.construct(Ne,arguments,bt)}else dt=Ne.apply(this,arguments);return im(this,dt)}}function im(ee,ve){if(ve&&(we(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bb(ee)}function bb(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ee){return!1}}function Xn(ee){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},Xn(ee)}function de(ee,ve){var Pe=typeof Symbol!="undefined"&&ee[Symbol.iterator]||ee["@@iterator"];if(!Pe){if(Array.isArray(ee)||(Pe=ec(ee))||ve&&ee&&typeof ee.length=="number"){Pe&&(ee=Pe);var Ne=0,dt=function(){};return{s:dt,n:function(){return Ne>=ee.length?{done:!0}:{done:!1,value:ee[Ne++]}},e:function(zr){throw zr},f:dt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bt=!0,Er=!1,Ge;return{s:function(){Pe=Pe.call(ee)},n:function(){var zr=Pe.next();return bt=zr.done,zr},e:function(zr){Er=!0,Ge=zr},f:function(){try{!bt&&Pe.return!=null&&Pe.return()}finally{if(Er)throw Ge}}}}function gu(ee,ve,Pe){return ve in ee?Object.defineProperty(ee,ve,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ee[ve]=Pe,ee}function Z(ee){return Tb(ee)||sm(ee)||ec(ee)||Sb()}function Sb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sm(ee){if(typeof Symbol!="undefined"&&ee[Symbol.iterator]!=null||ee["@@iterator"]!=null)return Array.from(ee)}function Tb(ee){if(Array.isArray(ee))return $f(ee)}function _e(ee,ve){return cm(ee)||xb(ee,ve)||ec(ee,ve)||lm()}function lm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ec(ee,ve){if(!!ee){if(typeof ee=="string")return $f(ee,ve);var Pe=Object.prototype.toString.call(ee).slice(8,-1);if(Pe==="Object"&&ee.constructor&&(Pe=ee.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ee);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return $f(ee,ve)}}function $f(ee,ve){(ve==null||ve>ee.length)&&(ve=ee.length);for(var Pe=0,Ne=new Array(ve);Pe<ve;Pe++)Ne[Pe]=ee[Pe];return Ne}function xb(ee,ve){var Pe=ee==null?null:typeof Symbol!="undefined"&&ee[Symbol.iterator]||ee["@@iterator"];if(Pe!=null){var Ne=[],dt=!0,bt=!1,Er,Ge;try{for(Pe=Pe.call(ee);!(dt=(Er=Pe.next()).done)&&(Ne.push(Er.value),!(ve&&Ne.length===ve));dt=!0);}catch(xt){bt=!0,Ge=xt}finally{try{!dt&&Pe.return!=null&&Pe.return()}finally{if(bt)throw Ge}}return Ne}}function cm(ee){if(Array.isArray(ee))return ee}function we(ee){return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},we(ee)}function pe(ee,ve){if(!(ee instanceof ve))throw new TypeError("Cannot call a class as a function")}function pm(ee,ve){for(var Pe=0;Pe<ve.length;Pe++){var Ne=ve[Pe];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(ee,Ne.key,Ne)}}function fe(ee,ve,Pe){return ve&&pm(ee.prototype,ve),Pe&&pm(ee,Pe),Object.defineProperty(ee,"prototype",{writable:!1}),ee}var fm={exports:{}};(function(ee,ve){(function(Pe,Ne){ee.exports=Ne()})(mu.c,function(){var Pe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof mu.c!="undefined"?mu.c:typeof self!="undefined"?self:{};function Ne(C){var h={exports:{}};return C(h,h.exports),h.exports}var dt=Ne(function(C,h){function m(g){return h.$0<=g&&g<=h.$9}/**
|
|
5
|
+
* @license
|
|
6
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
9
|
+
* found in the LICENSE file at https://angular.io/license
|
|
10
|
+
*/Object.defineProperty(h,"__esModule",{value:!0}),h.$EOF=0,h.$BSPACE=8,h.$TAB=9,h.$LF=10,h.$VTAB=11,h.$FF=12,h.$CR=13,h.$SPACE=32,h.$BANG=33,h.$DQ=34,h.$HASH=35,h.$$=36,h.$PERCENT=37,h.$AMPERSAND=38,h.$SQ=39,h.$LPAREN=40,h.$RPAREN=41,h.$STAR=42,h.$PLUS=43,h.$COMMA=44,h.$MINUS=45,h.$PERIOD=46,h.$SLASH=47,h.$COLON=58,h.$SEMICOLON=59,h.$LT=60,h.$EQ=61,h.$GT=62,h.$QUESTION=63,h.$0=48,h.$7=55,h.$9=57,h.$A=65,h.$E=69,h.$F=70,h.$X=88,h.$Z=90,h.$LBRACKET=91,h.$BACKSLASH=92,h.$RBRACKET=93,h.$CARET=94,h.$_=95,h.$a=97,h.$b=98,h.$e=101,h.$f=102,h.$n=110,h.$r=114,h.$t=116,h.$u=117,h.$v=118,h.$x=120,h.$z=122,h.$LBRACE=123,h.$BAR=124,h.$RBRACE=125,h.$NBSP=160,h.$PIPE=124,h.$TILDA=126,h.$AT=64,h.$BT=96,h.isWhitespace=function(g){return g>=h.$TAB&&g<=h.$SPACE||g==h.$NBSP},h.isDigit=m,h.isAsciiLetter=function(g){return g>=h.$a&&g<=h.$z||g>=h.$A&&g<=h.$Z},h.isAsciiHexDigit=function(g){return g>=h.$a&&g<=h.$f||g>=h.$A&&g<=h.$F||m(g)},h.isNewLine=function(g){return g===h.$LF||g===h.$CR},h.isOctalDigit=function(g){return h.$0<=g&&g<=h.$7}});/**
|
|
11
|
+
* @license
|
|
12
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
13
|
+
*
|
|
14
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
15
|
+
* found in the LICENSE file at https://angular.io/license
|
|
16
|
+
*/var bt=function(){function C(h,m,g){pe(this,C),this.filePath=h,this.name=m,this.members=g}return fe(C,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),C}(),Er=bt,Ge=function(){function C(){pe(this,C),this.cache=new Map}return fe(C,[{key:"get",value:function(m,g,A){var x=(A=A||[]).length?".".concat(A.join(".")):"",I='"'.concat(m,'".').concat(g).concat(x),M=this.cache.get(I);return M||(M=new bt(m,g,A),this.cache.set(I,M)),M}}]),C}(),xt=Object.defineProperty({StaticSymbol:Er,StaticSymbolCache:Ge},"__esModule",{value:!0});/**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
19
|
+
*
|
|
20
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
21
|
+
* found in the LICENSE file at https://angular.io/license
|
|
22
|
+
*/var zr=/-+([a-z0-9])/g,Wf=function(h){return h.replace(zr,function(){for(var m=arguments.length,g=new Array(m),A=0;A<m;A++)g[A]=arguments[A];return g[1].toUpperCase()})},tc=function(h,m){return Fa(h,":",m)},rc=function(h,m){return Fa(h,".",m)};function Fa(C,h,m){var g=C.indexOf(h);return g==-1?m:[C.slice(0,g).trim(),C.slice(g+1).trim()]}function os(C,h,m){return Array.isArray(C)?h.visitArray(C,m):we(g=C)=="object"&&g!==null&&Object.getPrototypeOf(g)===qf?h.visitStringMap(C,m):C==null||typeof C=="string"||typeof C=="number"||typeof C=="boolean"?h.visitPrimitive(C,m):h.visitOther(C,m);var g}var Vf=os,nc=function(h){return h!=null},Gf=function(h){return h===void 0?null:h},Hf=function(){function C(){pe(this,C)}return fe(C,[{key:"visitArray",value:function(m,g){var A=this;return m.map(function(x){return os(x,A,g)})}},{key:"visitStringMap",value:function(m,g){var A=this,x={};return Object.keys(m).forEach(function(I){x[I]=os(m[I],A,g)}),x}},{key:"visitPrimitive",value:function(m,g){return m}},{key:"visitOther",value:function(m,g){return m}}]),C}(),wi={assertSync:function(h){if(Uu(h))throw new Error("Illegal state: value cannot be a promise");return h},then:function(h,m){return Uu(h)?h.then(m):m(h)},all:function(h){return h.some(Uu)?Promise.all(h):h}},Pi=function(h){throw new Error("Internal Error: ".concat(h))},Kf=function(h,m){var g=Error(h);return g[uc]=!0,m&&(g[ac]=m),g},uc="ngSyntaxError",ac="ngParseErrors",zf=function(h){return h[uc]},ic=function(h){return h[ac]||[]},oc=function(h){return h.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},qf=Object.getPrototypeOf({}),Xf=function(h){for(var m="",g=0;g<h.length;g++){var A=h.charCodeAt(g);if(A>=55296&&A<=56319&&h.length>g+1){var x=h.charCodeAt(g+1);x>=56320&&x<=57343&&(g++,A=(A-55296<<10)+x-56320+65536)}A<=127?m+=String.fromCharCode(A):A<=2047?m+=String.fromCharCode(A>>6&31|192,63&A|128):A<=65535?m+=String.fromCharCode(A>>12|224,A>>6&63|128,63&A|128):A<=2097151&&(m+=String.fromCharCode(A>>18&7|240,A>>12&63|128,A>>6&63|128,63&A|128))}return m},Jf=function C(h){if(typeof h=="string")return h;if(h instanceof Array)return"["+h.map(C).join(", ")+"]";if(h==null)return""+h;if(h.overriddenName)return"".concat(h.overriddenName);if(h.name)return"".concat(h.name);if(!h.toString)return"object";var m=h.toString();if(m==null)return""+m;var g=m.indexOf(`
|
|
23
|
+
`);return g===-1?m:m.substring(0,g)},Yf=function(h){return typeof h=="function"&&h.hasOwnProperty("__forward_ref__")?h():h};function Uu(C){return!!C&&typeof C.then=="function"}var ss=Uu,sc=fe(function C(h){pe(this,C),this.full=h;var m=h.split(".");this.major=m[0],this.minor=m[1],this.patch=m.slice(2).join(".")}),lc=typeof window!="undefined"&&window,cc=typeof self!="undefined"&&typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&self,Ni=Pe!==void 0&&Pe||lc||cc,Oi=Object.defineProperty({dashCaseToCamelCase:Wf,splitAtColon:tc,splitAtPeriod:rc,visitValue:Vf,isDefined:nc,noUndefined:Gf,ValueTransformer:Hf,SyncAsync:wi,error:Pi,syntaxError:Kf,isSyntaxError:zf,getParseErrors:ic,escapeRegExp:oc,utf8Encode:Xf,stringify:Jf,resolveForwardRef:Yf,isPromise:ss,Version:sc,global:Ni},"__esModule",{value:!0}),ls=Ne(function(C,h){/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
26
|
+
*
|
|
27
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
28
|
+
* found in the LICENSE file at https://angular.io/license
|
|
29
|
+
*/Object.defineProperty(h,"__esModule",{value:!0});var m=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function g(V){return V.replace(/\W/g,"_")}h.sanitizeIdentifier=g;var A=0;function x(V){if(!V||!V.reference)return null;var _=V.reference;if(_ instanceof xt.StaticSymbol)return _.name;if(_.__anonymousType)return _.__anonymousType;var H=Oi.stringify(_);return H.indexOf("(")>=0?(H="anonymous_".concat(A++),_.__anonymousType=H):H=g(H),H}var I;h.identifierName=x,h.identifierModuleUrl=function(V){var _=V.reference;return _ instanceof xt.StaticSymbol?_.filePath:"./".concat(Oi.stringify(_))},h.viewClassName=function(V,_){return"View_".concat(x({reference:V}),"_").concat(_)},h.rendererTypeName=function(V){return"RenderType_".concat(x({reference:V}))},h.hostViewClassName=function(V){return"HostView_".concat(x({reference:V}))},h.componentFactoryName=function(V){return"".concat(x({reference:V}),"NgFactory")},function(V){V[V.Pipe=0]="Pipe",V[V.Directive=1]="Directive",V[V.NgModule=2]="NgModule",V[V.Injectable=3]="Injectable"}(I=h.CompileSummaryKind||(h.CompileSummaryKind={})),h.tokenName=function(V){return V.value!=null?g(V.value):x(V.identifier)},h.tokenReference=function(V){return V.identifier!=null?V.identifier.reference:V.value},h.CompileStylesheetMetadata=function(){function V(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=_.moduleUrl,Fe=_.styles,te=_.styleUrls;pe(this,V),this.moduleUrl=H||null,this.styles=X(Fe),this.styleUrls=X(te)}return fe(V)}(),h.CompileTemplateMetadata=function(){function V(_){var H=_.encapsulation,Fe=_.template,te=_.templateUrl,ye=_.htmlAst,Ce=_.styles,Le=_.styleUrls,Ue=_.externalStylesheets,$=_.animations,z=_.ngContentSelectors,N=_.interpolation,U=_.isInline,ue=_.preserveWhitespaces;if(pe(this,V),this.encapsulation=H,this.template=Fe,this.templateUrl=te,this.htmlAst=ye,this.styles=X(Ce),this.styleUrls=X(Le),this.externalStylesheets=X(Ue),this.animations=$?he($):[],this.ngContentSelectors=z||[],N&&N.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=N,this.isInline=U,this.preserveWhitespaces=ue}return fe(V,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),V}();var M=function(){function V(_){var H=_.isHost,Fe=_.type,te=_.isComponent,ye=_.selector,Ce=_.exportAs,Le=_.changeDetection,Ue=_.inputs,$=_.outputs,z=_.hostListeners,N=_.hostProperties,U=_.hostAttributes,ue=_.providers,se=_.viewProviders,He=_.queries,Ze=_.guards,ot=_.viewQueries,rr=_.entryComponents,Ut=_.template,dr=_.componentViewType,Wr=_.rendererType,dn=_.componentFactory;pe(this,V),this.isHost=!!H,this.type=Fe,this.isComponent=te,this.selector=ye,this.exportAs=Ce,this.changeDetection=Le,this.inputs=Ue,this.outputs=$,this.hostListeners=z,this.hostProperties=N,this.hostAttributes=U,this.providers=X(ue),this.viewProviders=X(se),this.queries=X(He),this.guards=Ze,this.viewQueries=X(ot),this.entryComponents=X(rr),this.template=Ut,this.componentViewType=dr,this.rendererType=Wr,this.componentFactory=dn}return fe(V,[{key:"toSummary",value:function(){return{summaryKind:I.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(H){var Fe=H.isHost,te=H.type,ye=H.isComponent,Ce=H.selector,Le=H.exportAs,Ue=H.changeDetection,$=H.inputs,z=H.outputs,N=H.host,U=H.providers,ue=H.viewProviders,se=H.queries,He=H.guards,Ze=H.viewQueries,ot=H.entryComponents,rr=H.template,Ut=H.componentViewType,dr=H.rendererType,Wr=H.componentFactory,dn={},qr={},tu={};N!=null&&Object.keys(N).forEach(function(hr){var nr=N[hr],ht=hr.match(m);ht===null?tu[hr]=nr:ht[1]!=null?qr[ht[1]]=nr:ht[2]!=null&&(dn[ht[2]]=nr)});var ea={};$!=null&&$.forEach(function(hr){var nr=Oi.splitAtColon(hr,[hr,hr]);ea[nr[0]]=nr[1]});var ta={};return z!=null&&z.forEach(function(hr){var nr=Oi.splitAtColon(hr,[hr,hr]);ta[nr[0]]=nr[1]}),new V({isHost:Fe,type:te,isComponent:!!ye,selector:Ce,exportAs:Le,changeDetection:Ue,inputs:ea,outputs:ta,hostListeners:dn,hostProperties:qr,hostAttributes:tu,providers:U,viewProviders:ue,queries:se,guards:He,viewQueries:Ze,entryComponents:ot,template:rr,componentViewType:Ut,rendererType:dr,componentFactory:Wr})}}]),V}();h.CompileDirectiveMetadata=M,h.CompilePipeMetadata=function(){function V(_){var H=_.type,Fe=_.name,te=_.pure;pe(this,V),this.type=H,this.name=Fe,this.pure=!!te}return fe(V,[{key:"toSummary",value:function(){return{summaryKind:I.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),V}(),h.CompileShallowModuleMetadata=function(){function V(){pe(this,V)}return fe(V)}(),h.CompileNgModuleMetadata=function(){function V(_){var H=_.type,Fe=_.providers,te=_.declaredDirectives,ye=_.exportedDirectives,Ce=_.declaredPipes,Le=_.exportedPipes,Ue=_.entryComponents,$=_.bootstrapComponents,z=_.importedModules,N=_.exportedModules,U=_.schemas,ue=_.transitiveModule,se=_.id;pe(this,V),this.type=H||null,this.declaredDirectives=X(te),this.exportedDirectives=X(ye),this.declaredPipes=X(Ce),this.exportedPipes=X(Le),this.providers=X(Fe),this.entryComponents=X(Ue),this.bootstrapComponents=X($),this.importedModules=X(z),this.exportedModules=X(N),this.schemas=X(U),this.id=se||null,this.transitiveModule=ue||null}return fe(V,[{key:"toSummary",value:function(){var H=this.transitiveModule;return{summaryKind:I.NgModule,type:this.type,entryComponents:H.entryComponents,providers:H.providers,modules:H.modules,exportedDirectives:H.exportedDirectives,exportedPipes:H.exportedPipes}}}]),V}();function X(V){return V||[]}h.TransitiveCompileNgModuleMetadata=function(){function V(){pe(this,V),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return fe(V,[{key:"addProvider",value:function(H,Fe){this.providers.push({provider:H,module:Fe})}},{key:"addDirective",value:function(H){this.directivesSet.has(H.reference)||(this.directivesSet.add(H.reference),this.directives.push(H))}},{key:"addExportedDirective",value:function(H){this.exportedDirectivesSet.has(H.reference)||(this.exportedDirectivesSet.add(H.reference),this.exportedDirectives.push(H))}},{key:"addPipe",value:function(H){this.pipesSet.has(H.reference)||(this.pipesSet.add(H.reference),this.pipes.push(H))}},{key:"addExportedPipe",value:function(H){this.exportedPipesSet.has(H.reference)||(this.exportedPipesSet.add(H.reference),this.exportedPipes.push(H))}},{key:"addModule",value:function(H){this.modulesSet.has(H.reference)||(this.modulesSet.add(H.reference),this.modules.push(H))}},{key:"addEntryComponent",value:function(H){this.entryComponentsSet.has(H.componentType)||(this.entryComponentsSet.add(H.componentType),this.entryComponents.push(H))}}]),V}();function he(V){return V.reduce(function(_,H){var Fe=Array.isArray(H)?he(H):H;return _.concat(Fe)},[])}function me(V){return V.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}h.ProviderMeta=function(){function V(_,H){var Fe=H.useClass,te=H.useValue,ye=H.useExisting,Ce=H.useFactory,Le=H.deps,Ue=H.multi;pe(this,V),this.token=_,this.useClass=Fe||null,this.useValue=te,this.useExisting=ye,this.useFactory=Ce||null,this.dependencies=Le||null,this.multi=!!Ue}return fe(V)}(),h.flatten=he,h.templateSourceUrl=function(V,_,H){var Fe;return Fe=H.isInline?_.type.reference instanceof xt.StaticSymbol?"".concat(_.type.reference.filePath,".").concat(_.type.reference.name,".html"):"".concat(x(V),"/").concat(x(_.type),".html"):H.templateUrl,_.type.reference instanceof xt.StaticSymbol?Fe:me(Fe)},h.sharedStylesheetJitUrl=function(V,_){var H=V.moduleUrl.split(/\/\\/g),Fe=H[H.length-1];return me("css/".concat(_).concat(Fe,".ngstyle.js"))},h.ngModuleJitUrl=function(V){return me("".concat(x(V.type),"/module.ngfactory.js"))},h.templateJitUrl=function(V,_){return me("".concat(x(V),"/").concat(x(_.type),".ngfactory.js"))}}),Bt=Ne(function(C,h){Object.defineProperty(h,"__esModule",{value:!0});/**
|
|
30
|
+
* @license
|
|
31
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
32
|
+
*
|
|
33
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
34
|
+
* found in the LICENSE file at https://angular.io/license
|
|
35
|
+
*/var m=function(){function I(M,X,he,me){pe(this,I),this.file=M,this.offset=X,this.line=he,this.col=me}return fe(I,[{key:"toString",value:function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(X){for(var he=this.file.content,me=he.length,V=this.offset,_=this.line,H=this.col;V>0&&X<0;)if(V--,X++,he.charCodeAt(V)==dt.$LF){_--;var Fe=he.substr(0,V-1).lastIndexOf(String.fromCharCode(dt.$LF));H=Fe>0?V-Fe:V}else H--;for(;V<me&&X>0;){var te=he.charCodeAt(V);V++,X--,te==dt.$LF?(_++,H=0):H++}return new I(this.file,V,_,H)}},{key:"getContext",value:function(X,he){var me=this.file.content,V=this.offset;if(V!=null){V>me.length-1&&(V=me.length-1);for(var _=V,H=0,Fe=0;H<X&&V>0&&(V--,H++,me[V]!=`
|
|
36
|
+
`||++Fe!=he););for(H=0,Fe=0;H<X&&_<me.length-1&&(_++,H++,me[_]!=`
|
|
37
|
+
`||++Fe!=he););return{before:me.substring(V,this.offset),after:me.substring(this.offset,_+1)}}return null}}]),I}();h.ParseLocation=m;var g=fe(function I(M,X){pe(this,I),this.content=M,this.url=X});h.ParseSourceFile=g;var A=function(){function I(M,X){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;pe(this,I),this.start=M,this.end=X,this.details=he}return fe(I,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),I}(),x;h.ParseSourceSpan=A,h.EMPTY_PARSE_LOCATION=new m(new g("",""),0,0,0),h.EMPTY_SOURCE_SPAN=new A(h.EMPTY_PARSE_LOCATION,h.EMPTY_PARSE_LOCATION),function(I){I[I.WARNING=0]="WARNING",I[I.ERROR=1]="ERROR"}(x=h.ParseErrorLevel||(h.ParseErrorLevel={})),h.ParseError=function(){function I(M,X){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:x.ERROR;pe(this,I),this.span=M,this.msg=X,this.level=he}return fe(I,[{key:"contextualMessage",value:function(){var X=this.span.start.getContext(100,3);return X?"".concat(this.msg,' ("').concat(X.before,"[").concat(x[this.level]," ->]").concat(X.after,'")'):this.msg}},{key:"toString",value:function(){var X=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(X)}}]),I}(),h.typeSourceSpan=function(I,M){var X=ls.identifierModuleUrl(M),he=X!=null?"in ".concat(I," ").concat(ls.identifierName(M)," in ").concat(X):"in ".concat(I," ").concat(ls.identifierName(M)),me=new g("",he);return new A(new m(me,-1,-1,-1),new m(me,-1,-1,-1))},h.r3JitTypeSourceSpan=function(I,M,X){var he="in ".concat(I," ").concat(M," in ").concat(X),me=new g("",he);return new A(new m(me,-1,-1,-1),new m(me,-1,-1,-1))}}),cs=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),Qf=function(h){var m=h.match(cs);if(!m)return{content:h};var g=m.groups,A=g.startDelimiter,x=g.language,I=g.value,M=I===void 0?"":I,X=g.endDelimiter,he=x.trim()||"yaml";if(A==="+++"&&(he="toml"),he!=="yaml"&&A!==X)return{content:h};var me=_e(m,1),V=me[0];return{frontMatter:{type:"front-matter",lang:he,value:M,startDelimiter:A,endDelimiter:X,raw:V.replace(/\n$/,"")},content:V.replace(/[^\n]/g," ")+h.slice(V.length)}},ps=function(h){return h[h.length-1]},$u=function(h,m){var g=new SyntaxError(h+" ("+m.start.line+":"+m.start.column+")");return g.loc=m,g},fs=function(h){return typeof h=="string"?h.replace(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=m.onlyFirst,A=g===void 0?!1:g,x=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(x,A?void 0:"g")}(),""):h},ds=function(h){return!Number.isNaN(h)&&h>=4352&&(h<=4447||h===9001||h===9002||11904<=h&&h<=12871&&h!==12351||12880<=h&&h<=19903||19968<=h&&h<=42182||43360<=h&&h<=43388||44032<=h&&h<=55203||63744<=h&&h<=64255||65040<=h&&h<=65049||65072<=h&&h<=65131||65281<=h&&h<=65376||65504<=h&&h<=65510||110592<=h&&h<=110593||127488<=h&&h<=127569||131072<=h&&h<=262141)},hs=ds,pc=ds;hs.default=pc;var ba=function(h){if(typeof h!="string"||h.length===0||(h=fs(h)).length===0)return 0;h=h.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var m=0,g=0;g<h.length;g++){var A=h.codePointAt(g);A<=31||A>=127&&A<=159||A>=768&&A<=879||(A>65535&&g++,m+=hs(A)?2:1)}return m},Ds=ba,fc=ba;Ds.default=fc;var dc=function(h){if(typeof h!="string")throw new TypeError("Expected a string");return h.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Wu(C,h){return h||(h=C.slice(0)),Object.freeze(Object.defineProperties(C,{raw:{value:Object.freeze(h)}}))}var ki=function(h){for(var m=-1,g=h==null?0:h.length,A={};++m<g;){var x=h[m];A[x[0]]=x[1]}return A},vu=vu!==void 0?vu:typeof self!="undefined"?self:typeof window!="undefined"?window:{};function ms(){throw new Error("setTimeout has not been defined")}function gs(){throw new Error("clearTimeout has not been defined")}var Cr=ms,Pn=gs;function vs(C){if(Cr===setTimeout)return setTimeout(C,0);if((Cr===ms||!Cr)&&setTimeout)return Cr=setTimeout,setTimeout(C,0);try{return Cr(C,0)}catch(h){try{return Cr.call(null,C,0)}catch(m){return Cr.call(this,C,0)}}}typeof vu.setTimeout=="function"&&(Cr=setTimeout),typeof vu.clearTimeout=="function"&&(Pn=clearTimeout);var Nn,On=[],Vu=!1,Ii=-1;function Zf(){Vu&&Nn&&(Vu=!1,Nn.length?On=Nn.concat(On):Ii=-1,On.length&&hc())}function hc(){if(!Vu){var C=vs(Zf);Vu=!0;for(var h=On.length;h;){for(Nn=On,On=[];++Ii<h;)Nn&&Nn[Ii].run();Ii=-1,h=On.length}Nn=null,Vu=!1,function(m){if(Pn===clearTimeout)return clearTimeout(m);if((Pn===gs||!Pn)&&clearTimeout)return Pn=clearTimeout,clearTimeout(m);try{Pn(m)}catch(g){try{return Pn.call(null,m)}catch(A){return Pn.call(this,m)}}}(C)}}function Dc(C,h){this.fun=C,this.array=h}Dc.prototype.run=function(){this.fun.apply(null,this.array)};function yu(){}var Li=yu,mc=yu,Gu=yu,gc=yu,ys=yu,vc=yu,yc=yu,Hu=vu.performance||{},e0=Hu.now||Hu.mozNow||Hu.msNow||Hu.oNow||Hu.webkitNow||function(){return new Date().getTime()},Sa=new Date,Mi={nextTick:function(h){var m=new Array(arguments.length-1);if(arguments.length>1)for(var g=1;g<arguments.length;g++)m[g-1]=arguments[g];On.push(new Dc(h,m)),On.length!==1||Vu||vs(hc)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Li,addListener:mc,once:Gu,off:gc,removeListener:ys,removeAllListeners:vc,emit:yc,binding:function(h){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(h){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(h){var m=.001*e0.call(Hu),g=Math.floor(m),A=Math.floor(m%1*1e9);return h&&(g-=h[0],(A-=h[1])<0&&(g--,A+=1e9)),[g,A]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Sa)/1e3}},Ku=we(Mi)=="object"&&Mi.env&&Mi.env.NODE_DEBUG&&/\bsemver\b/i.test(Mi.env.NODE_DEBUG)?function(){for(var C,h=arguments.length,m=new Array(h),g=0;g<h;g++)m[g]=arguments[g];return(C=console).error.apply(C,["SEMVER"].concat(m))}:function(){},ji={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Ec=Ne(function(C,h){var m=ji.MAX_SAFE_COMPONENT_LENGTH,g=(h=C.exports={}).re=[],A=h.src=[],x=h.t={},I=0,M=function(he,me,V){var _=I++;Ku(_,me),x[he]=_,A[_]=me,g[_]=new RegExp(me,V?"g":void 0)};M("NUMERICIDENTIFIER","0|[1-9]\\d*"),M("NUMERICIDENTIFIERLOOSE","[0-9]+"),M("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),M("MAINVERSION","(".concat(A[x.NUMERICIDENTIFIER],")\\.")+"(".concat(A[x.NUMERICIDENTIFIER],")\\.")+"(".concat(A[x.NUMERICIDENTIFIER],")")),M("MAINVERSIONLOOSE","(".concat(A[x.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(A[x.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(A[x.NUMERICIDENTIFIERLOOSE],")")),M("PRERELEASEIDENTIFIER","(?:".concat(A[x.NUMERICIDENTIFIER],"|").concat(A[x.NONNUMERICIDENTIFIER],")")),M("PRERELEASEIDENTIFIERLOOSE","(?:".concat(A[x.NUMERICIDENTIFIERLOOSE],"|").concat(A[x.NONNUMERICIDENTIFIER],")")),M("PRERELEASE","(?:-(".concat(A[x.PRERELEASEIDENTIFIER],"(?:\\.").concat(A[x.PRERELEASEIDENTIFIER],")*))")),M("PRERELEASELOOSE","(?:-?(".concat(A[x.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(A[x.PRERELEASEIDENTIFIERLOOSE],")*))")),M("BUILDIDENTIFIER","[0-9A-Za-z-]+"),M("BUILD","(?:\\+(".concat(A[x.BUILDIDENTIFIER],"(?:\\.").concat(A[x.BUILDIDENTIFIER],")*))")),M("FULLPLAIN","v?".concat(A[x.MAINVERSION]).concat(A[x.PRERELEASE],"?").concat(A[x.BUILD],"?")),M("FULL","^".concat(A[x.FULLPLAIN],"$")),M("LOOSEPLAIN","[v=\\s]*".concat(A[x.MAINVERSIONLOOSE]).concat(A[x.PRERELEASELOOSE],"?").concat(A[x.BUILD],"?")),M("LOOSE","^".concat(A[x.LOOSEPLAIN],"$")),M("GTLT","((?:<|>)?=?)"),M("XRANGEIDENTIFIERLOOSE","".concat(A[x.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),M("XRANGEIDENTIFIER","".concat(A[x.NUMERICIDENTIFIER],"|x|X|\\*")),M("XRANGEPLAIN","[v=\\s]*(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:".concat(A[x.PRERELEASE],")?").concat(A[x.BUILD],"?")+")?)?"),M("XRANGEPLAINLOOSE","[v=\\s]*(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(A[x.PRERELEASELOOSE],")?").concat(A[x.BUILD],"?")+")?)?"),M("XRANGE","^".concat(A[x.GTLT],"\\s*").concat(A[x.XRANGEPLAIN],"$")),M("XRANGELOOSE","^".concat(A[x.GTLT],"\\s*").concat(A[x.XRANGEPLAINLOOSE],"$")),M("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(m,"})")+"(?:\\.(\\d{1,".concat(m,"}))?")+"(?:\\.(\\d{1,".concat(m,"}))?")+"(?:$|[^\\d])"),M("COERCERTL",A[x.COERCE],!0),M("LONETILDE","(?:~>?)"),M("TILDETRIM","(\\s*)".concat(A[x.LONETILDE],"\\s+"),!0),h.tildeTrimReplace="$1~",M("TILDE","^".concat(A[x.LONETILDE]).concat(A[x.XRANGEPLAIN],"$")),M("TILDELOOSE","^".concat(A[x.LONETILDE]).concat(A[x.XRANGEPLAINLOOSE],"$")),M("LONECARET","(?:\\^)"),M("CARETTRIM","(\\s*)".concat(A[x.LONECARET],"\\s+"),!0),h.caretTrimReplace="$1^",M("CARET","^".concat(A[x.LONECARET]).concat(A[x.XRANGEPLAIN],"$")),M("CARETLOOSE","^".concat(A[x.LONECARET]).concat(A[x.XRANGEPLAINLOOSE],"$")),M("COMPARATORLOOSE","^".concat(A[x.GTLT],"\\s*(").concat(A[x.LOOSEPLAIN],")$|^$")),M("COMPARATOR","^".concat(A[x.GTLT],"\\s*(").concat(A[x.FULLPLAIN],")$|^$")),M("COMPARATORTRIM","(\\s*)".concat(A[x.GTLT],"\\s*(").concat(A[x.LOOSEPLAIN],"|").concat(A[x.XRANGEPLAIN],")"),!0),h.comparatorTrimReplace="$1$2$3",M("HYPHENRANGE","^\\s*(".concat(A[x.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(A[x.XRANGEPLAIN],")")+"\\s*$"),M("HYPHENRANGELOOSE","^\\s*(".concat(A[x.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(A[x.XRANGEPLAINLOOSE],")")+"\\s*$"),M("STAR","(<|>)?=?\\s*\\*"),M("GTE0","^\\s*>=\\s*0.0.0\\s*$"),M("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Cc=["includePrerelease","loose","rtl"],Ac=function(h){return h?we(h)!="object"?{loose:!0}:Cc.filter(function(m){return h[m]}).reduce(function(m,g){return m[g]=!0,m},{}):{}},Fc=/^[0-9]+$/,Es=function(h,m){var g=Fc.test(h),A=Fc.test(m);return g&&A&&(h=+h,m=+m),h===m?0:g&&!A?-1:A&&!g?1:h<m?-1:1},Ot={compareIdentifiers:Es,rcompareIdentifiers:function(h,m){return Es(m,h)}},Ri=ji.MAX_LENGTH,pr=ji.MAX_SAFE_INTEGER,Cs=Ec.re,As=Ec.t,Ur=Ot.compareIdentifiers,Jn=function(){function C(h,m){if(pe(this,C),m=Ac(m),h instanceof C){if(h.loose===!!m.loose&&h.includePrerelease===!!m.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError("Invalid Version: ".concat(h));if(h.length>Ri)throw new TypeError("version is longer than ".concat(Ri," characters"));Ku("SemVer",h,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;var g=h.trim().match(m.loose?Cs[As.LOOSE]:Cs[As.FULL]);if(!g)throw new TypeError("Invalid Version: ".concat(h));if(this.raw=h,this.major=+g[1],this.minor=+g[2],this.patch=+g[3],this.major>pr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pr||this.patch<0)throw new TypeError("Invalid patch version");g[4]?this.prerelease=g[4].split(".").map(function(A){if(/^[0-9]+$/.test(A)){var x=+A;if(x>=0&&x<pr)return x}return A}):this.prerelease=[],this.build=g[5]?g[5].split("."):[],this.format()}return fe(C,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(m){if(Ku("SemVer.compare",this.version,this.options,m),!(m instanceof C)){if(typeof m=="string"&&m===this.version)return 0;m=new C(m,this.options)}return m.version===this.version?0:this.compareMain(m)||this.comparePre(m)}},{key:"compareMain",value:function(m){return m instanceof C||(m=new C(m,this.options)),Ur(this.major,m.major)||Ur(this.minor,m.minor)||Ur(this.patch,m.patch)}},{key:"comparePre",value:function(m){if(m instanceof C||(m=new C(m,this.options)),this.prerelease.length&&!m.prerelease.length)return-1;if(!this.prerelease.length&&m.prerelease.length)return 1;if(!this.prerelease.length&&!m.prerelease.length)return 0;var g=0;do{var A=this.prerelease[g],x=m.prerelease[g];if(Ku("prerelease compare",g,A,x),A===void 0&&x===void 0)return 0;if(x===void 0)return 1;if(A===void 0)return-1;if(A!==x)return Ur(A,x)}while(++g)}},{key:"compareBuild",value:function(m){m instanceof C||(m=new C(m,this.options));var g=0;do{var A=this.build[g],x=m.build[g];if(Ku("prerelease compare",g,A,x),A===void 0&&x===void 0)return 0;if(x===void 0)return 1;if(A===void 0)return-1;if(A!==x)return Ur(A,x)}while(++g)}},{key:"inc",value:function(m,g){switch(m){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",g);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",g);break;case"prepatch":this.prerelease.length=0,this.inc("patch",g),this.inc("pre",g);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",g),this.inc("pre",g);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var A=this.prerelease.length;--A>=0;)typeof this.prerelease[A]=="number"&&(this.prerelease[A]++,A=-2);A===-1&&this.prerelease.push(0)}g&&(this.prerelease[0]===g?isNaN(this.prerelease[1])&&(this.prerelease=[g,0]):this.prerelease=[g,0]);break;default:throw new Error("invalid increment argument: ".concat(m))}return this.format(),this.raw=this.version,this}}]),C}(),Fs=Jn,kn=function(h,m,g){return new Fs(h,g).compare(new Fs(m,g))},In=function(h,m,g){return kn(h,m,g)<0},Eu,Ta,bc,bs,Ss,Yn,t0=function(h,m,g){return kn(h,m,g)>=0},r0="2.3.0",n0=Ne(function(C,h){function m(){for(var ye=[],Ce=0;Ce<arguments.length;Ce++)ye[Ce]=arguments[Ce]}function g(){return typeof WeakMap!="undefined"?new WeakMap:{add:m,delete:m,get:m,set:m,has:function(Ce){return!1}}}Object.defineProperty(h,"__esModule",{value:!0}),h.outdent=void 0;var A=Object.prototype.hasOwnProperty,x=function(Ce,Le){return A.call(Ce,Le)};function I(ye,Ce){for(var Le in Ce)x(Ce,Le)&&(ye[Le]=Ce[Le]);return ye}var M=/^[ \t]*(?:\r\n|\r|\n)/,X=/(?:\r\n|\r|\n)[ \t]*$/,he=/^(?:[\r\n]|$)/,me=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,V=/^[ \t]*[\r\n][ \t\r\n]*$/;function _(ye,Ce,Le){var Ue=0,$=ye[0].match(me);$&&(Ue=$[1].length);var z=new RegExp("(\\r\\n|\\r|\\n).{0,"+Ue+"}","g");Ce&&(ye=ye.slice(1));var N=Le.newline,U=Le.trimLeadingNewline,ue=Le.trimTrailingNewline,se=typeof N=="string",He=ye.length;return ye.map(function(Ze,ot){return Ze=Ze.replace(z,"$1"),ot===0&&U&&(Ze=Ze.replace(M,"")),ot===He-1&&ue&&(Ze=Ze.replace(X,"")),se&&(Ze=Ze.replace(/\r\n|\n|\r/g,function(rr){return N})),Ze})}function H(ye,Ce){for(var Le="",Ue=0,$=ye.length;Ue<$;Ue++)Le+=ye[Ue],Ue<$-1&&(Le+=Ce[Ue]);return Le}function Fe(ye){return x(ye,"raw")&&x(ye,"length")}var te=function ye(Ce){var Le=g(),Ue=g();return I(function $(z){for(var N=[],U=1;U<arguments.length;U++)N[U-1]=arguments[U];if(Fe(z)){var ue=z,se=(N[0]===$||N[0]===te)&&V.test(ue[0])&&he.test(ue[1]),He=se?Ue:Le,Ze=He.get(ue);if(Ze||(Ze=_(ue,se,Ce),He.set(ue,Ze)),N.length===0)return Ze[0];var ot=H(Ze,se?N.slice(1):N);return ot}return ye(I(I({},Ce),z||{}))},{string:function(z){return _([z],!1,Ce)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});h.outdent=te,h.default=te;try{C.exports=te,Object.defineProperty(te,"__esModule",{value:!0}),te.default=te,te.outdent=te}catch(ye){}}),zu=n0.outdent,Ts="Config",_i="Editor",Ui="Other",Ar="Global",Cu="Special",u0={cursorOffset:{since:"1.4.0",category:Cu,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:zu(Eu||(Eu=Wu([`
|
|
38
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
39
|
+
This option cannot be used with --range-start and --range-end.
|
|
40
|
+
`]))),cliCategory:_i},endOfLine:{since:"1.15.0",category:Ar,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:zu(Ta||(Ta=Wu([`
|
|
41
|
+
Maintain existing
|
|
42
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
43
|
+
`])))}]},filepath:{since:"1.4.0",category:Cu,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Ui,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Cu,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Ui},parser:{since:"0.0.10",category:Ar,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(h){return typeof h=="string"||typeof h=="function"},choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ar,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(h){return typeof h=="string"||we(h)=="object"},cliName:"plugin",cliCategory:Ts},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ar,description:zu(bc||(bc=Wu([`
|
|
44
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
45
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
46
|
+
Multiple values are accepted.
|
|
47
|
+
`]))),exception:function(h){return typeof h=="string"||we(h)=="object"},cliName:"plugin-search-dir",cliCategory:Ts},printWidth:{since:"0.0.0",category:Ar,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Cu,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:zu(bs||(bs=Wu([`
|
|
48
|
+
Format code ending at a given character offset (exclusive).
|
|
49
|
+
The range will extend forwards to the end of the selected statement.
|
|
50
|
+
This option cannot be used with --cursor-offset.
|
|
51
|
+
`]))),cliCategory:_i},rangeStart:{since:"1.4.0",category:Cu,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:zu(Ss||(Ss=Wu([`
|
|
52
|
+
Format code starting at a given character offset.
|
|
53
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
54
|
+
This option cannot be used with --cursor-offset.
|
|
55
|
+
`]))),cliCategory:_i},requirePragma:{since:"1.7.0",category:Cu,type:"boolean",default:!1,description:zu(Yn||(Yn=Wu([`
|
|
56
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
57
|
+
in order for it to be formatted.
|
|
58
|
+
`]))),cliCategory:Ui},tabWidth:{type:"int",category:Ar,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ar,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ar,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},fr={compare:kn,lt:In,gte:t0},xa=r0,xs=u0,Sc={getSupportInfo:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=h.plugins,g=m===void 0?[]:m,A=h.showUnreleased,x=A===void 0?!1:A,I=h.showDeprecated,M=I===void 0?!1:I,X=h.showInternal,he=X===void 0?!1:X,me=xa.split("-",1)[0],V=g.reduce(function(te,ye){return[].concat(Z(te),Z(ye.languages||[]))},[]).filter(H),_=function(te,ye){return Object.entries(te).map(function(Ce){var Le=_e(Ce,2),Ue=Le[0],$=Le[1];return Object.assign(gu({},ye,Ue),$)})}(Object.assign.apply(Object,[{}].concat(Z(g.map(function(te){var ye=te.options;return ye})),[xs])),"name").filter(function(te){return H(te)&&Fe(te)}).sort(function(te,ye){return te.name===ye.name?0:te.name<ye.name?-1:1}).map(function(te){return he?te:function(ye,Ce){if(ye==null)return{};var Le,Ue,$={},z=Object.keys(ye);for(Ue=0;Ue<z.length;Ue++)Le=z[Ue],Ce.indexOf(Le)>=0||($[Le]=ye[Le]);return $}(te,["cliName","cliCategory","cliDescription"])}).map(function(te){te=Object.assign({},te),Array.isArray(te.default)&&(te.default=te.default.length===1?te.default[0].value:te.default.filter(H).sort(function(Ce,Le){return fr.compare(Le.since,Ce.since)})[0].value),Array.isArray(te.choices)&&(te.choices=te.choices.filter(function(Ce){return H(Ce)&&Fe(Ce)}),te.name==="parser"&&function(Ce,Le,Ue){var $=new Set(Ce.choices.map(function(Ze){return Ze.value})),z=de(Le),N;try{for(z.s();!(N=z.n()).done;){var U=N.value;if(U.parsers){var ue=de(U.parsers),se;try{var He=function(){var ot=se.value;if(!$.has(ot)){$.add(ot);var rr=Ue.find(function(dr){return dr.parsers&&dr.parsers[ot]}),Ut=U.name;rr&&rr.name&&(Ut+=" (plugin: ".concat(rr.name,")")),Ce.choices.push({value:ot,description:Ut})}};for(ue.s();!(se=ue.n()).done;)He()}catch(Ze){ue.e(Ze)}finally{ue.f()}}}}catch(Ze){z.e(Ze)}finally{z.f()}}(te,V,g));var ye=ki(g.filter(function(Ce){return Ce.defaultOptions&&Ce.defaultOptions[te.name]!==void 0}).map(function(Ce){return[Ce.name,Ce.defaultOptions[te.name]]}));return Object.assign({},te,{pluginDefaults:ye})});return{languages:V,options:_};function H(te){return x||!("since"in te)||te.since&&fr.gte(me,te.since)}function Fe(te){return M||!("deprecated"in te)||te.deprecated&&fr.lt(me,te.deprecated)}}},a0=Sc.getSupportInfo,i0=/[^\x20-\x7F]/;function qu(C){return function(h,m,g){var A=g&&g.backwards;if(m===!1)return!1;for(var x=h.length,I=m;I>=0&&I<x;){var M=h.charAt(I);if(C instanceof RegExp){if(!C.test(M))return I}else if(!C.includes(M))return I;A?I--:I++}return(I===-1||I===x)&&I}}var Tc=qu(/\s/),Au=qu(" "),Bs=qu(",; "),Ba=qu(/[^\n\r]/);function $i(C,h){if(h===!1)return!1;if(C.charAt(h)==="/"&&C.charAt(h+1)==="*"){for(var m=h+2;m<C.length;++m)if(C.charAt(m)==="*"&&C.charAt(m+1)==="/")return m+2}return h}function Wi(C,h){return h!==!1&&(C.charAt(h)==="/"&&C.charAt(h+1)==="/"?Ba(C,h):h)}function on(C,h,m){var g=m&&m.backwards;if(h===!1)return!1;var A=C.charAt(h);if(g){if(C.charAt(h-1)==="\r"&&A===`
|
|
59
|
+
`)return h-2;if(A===`
|
|
60
|
+
`||A==="\r"||A==="\u2028"||A==="\u2029")return h-1}else{if(A==="\r"&&C.charAt(h+1)===`
|
|
61
|
+
`)return h+2;if(A===`
|
|
62
|
+
`||A==="\r"||A==="\u2028"||A==="\u2029")return h+1}return h}function xc(C,h){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=Au(C,m.backwards?h-1:h,m);return g!==on(C,g,m)}function ws(C,h){for(var m=null,g=h;g!==m;)m=g,g=Bs(C,g),g=$i(C,g),g=Au(C,g);return g=Wi(C,g),g=on(C,g),g!==!1&&xc(C,g)}function Vi(C,h){for(var m=null,g=h;g!==m;)m=g,g=Au(C,g),g=$i(C,g),g=Wi(C,g),g=on(C,g);return g}function Bc(C,h,m){return Vi(C,m(h))}function Ps(C,h){for(var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=0,A=m;A<C.length;++A)C[A]===" "?g=g+h-g%h:g++;return g}function Ns(C,h){var m=C.slice(1,-1),g={quote:'"',regex:/"/g},A={quote:"'",regex:/'/g},x=h==="'"?A:g,I=x===A?g:A,M=x.quote;return(m.includes(x.quote)||m.includes(I.quote))&&(M=(m.match(x.regex)||[]).length>(m.match(I.regex)||[]).length?I.quote:x.quote),M}function Os(C,h,m){var g=h==='"'?"'":'"',A=C.replace(/\\([\S\s])|(["'])/g,function(x,I,M){return I===g?I:M===h?"\\"+M:M||(m&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(I)?I:"\\"+I)});return h+A+h}function Gi(C,h){(C.comments||(C.comments=[])).push(h),h.printed=!1,h.nodeDescription=function(m){var g=m.type||m.kind||"(unknown type)",A=String(m.name||m.id&&(we(m.id)=="object"?m.id.name:m.id)||m.key&&(we(m.key)=="object"?m.key.name:m.key)||m.value&&(we(m.value)=="object"?"":String(m.value))||m.operator||"");return A.length>20&&(A=A.slice(0,19)+"\u2026"),g+(A?" "+A:"")}(C)}var wa={inferParserByLanguage:function(h,m){var g=a0({plugins:m.plugins}),A=g.languages,x=A.find(function(I){var M=I.name;return M.toLowerCase()===h})||A.find(function(I){var M=I.aliases;return Array.isArray(M)&&M.includes(h)})||A.find(function(I){var M=I.extensions;return Array.isArray(M)&&M.includes(".".concat(h))});return x&&x.parsers[0]},replaceEndOfLineWith:function(h,m){var g=[],A=de(h.split(`
|
|
63
|
+
`)),x;try{for(A.s();!(x=A.n()).done;){var I=x.value;g.length>0&&g.push(m),g.push(I)}}catch(M){A.e(M)}finally{A.f()}return g},getStringWidth:function(h){return h?i0.test(h)?Ds(h):h.length:0},getMaxContinuousCount:function(h,m){var g=h.match(new RegExp("(".concat(dc(m),")+"),"g"));return g===null?0:g.reduce(function(A,x){return Math.max(A,x.length/m.length)},0)},getMinNotPresentContinuousCount:function(h,m){var g=h.match(new RegExp("(".concat(dc(m),")+"),"g"));if(g===null)return 0;var A=new Map,x=0,I=de(g),M;try{for(I.s();!(M=I.n()).done;){var X=M.value,he=X.length/m.length;A.set(he,!0),he>x&&(x=he)}}catch(V){I.e(V)}finally{I.f()}for(var me=1;me<x;me++)if(!A.get(me))return me;return x+1},getPenultimate:function(h){return h[h.length-2]},getLast:ps,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Vi,getNextNonSpaceNonCommentCharacterIndex:Bc,getNextNonSpaceNonCommentCharacter:function(h,m,g){return h.charAt(Bc(h,m,g))},skip:qu,skipWhitespace:Tc,skipSpaces:Au,skipToLineEnd:Bs,skipEverythingButNewLine:Ba,skipInlineComment:$i,skipTrailingComment:Wi,skipNewline:on,isNextLineEmptyAfterIndex:ws,isNextLineEmpty:function(h,m,g){return ws(h,g(m))},isPreviousLineEmpty:function(h,m,g){var A=g(m)-1;return A=Au(h,A,{backwards:!0}),A=on(h,A,{backwards:!0}),A=Au(h,A,{backwards:!0}),A!==on(h,A,{backwards:!0})},hasNewline:xc,hasNewlineInRange:function(h,m,g){for(var A=m;A<g;++A)if(h.charAt(A)===`
|
|
64
|
+
`)return!0;return!1},hasSpaces:function(h,m){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Au(h,g.backwards?m-1:m,g)!==m},getAlignmentSize:Ps,getIndentSize:function(h,m){var g=h.lastIndexOf(`
|
|
65
|
+
`);return g===-1?0:Ps(h.slice(g+1).match(/^[\t ]*/)[0],m)},getPreferredQuote:Ns,printString:function(h,m){return Os(h.slice(1,-1),m.parser==="json"||m.parser==="json5"&&m.quoteProps==="preserve"&&!m.singleQuote?'"':m.__isInHtmlAttribute?"'":Ns(h,m.singleQuote?"'":'"'),!(m.parser==="css"||m.parser==="less"||m.parser==="scss"||m.__embeddedInHtml))},printNumber:function(h){return h.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:Os,addLeadingComment:function(h,m){m.leading=!0,m.trailing=!1,Gi(h,m)},addDanglingComment:function(h,m,g){m.leading=!1,m.trailing=!1,g&&(m.marker=g),Gi(h,m)},addTrailingComment:function(h,m){m.leading=!1,m.trailing=!0,Gi(h,m)},isFrontMatterNode:function(h){return h&&h.type==="front-matter"},getShebang:function(h){if(!h.startsWith("#!"))return"";var m=h.indexOf(`
|
|
66
|
+
`);return m===-1?h:h.slice(0,m)},isNonEmptyArray:function(h){return Array.isArray(h)&&h.length>0},createGroupIdMapper:function(h){var m=new WeakMap;return function(g){return m.has(g)||m.set(g,Symbol(h)),m.get(g)}}},wc={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},o0=wa.inferParserByLanguage,ks=wa.isFrontMatterNode,Ln={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},Is=Ln.CSS_DISPLAY_TAGS,Hi=Ln.CSS_DISPLAY_DEFAULT,Ki=Ln.CSS_WHITE_SPACE_TAGS,Mn=Ln.CSS_WHITE_SPACE_DEFAULT,Fu=Nc(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),s0=function(C,h){for(var m=Object.create(null),g=0,A=Object.entries(C);g<A.length;g++){var x=_e(A[g],2),I=x[0],M=x[1];m[I]=h(M,I)}return m}(wc,Nc),Ls=new Set([" ",`
|
|
67
|
+
`,"\f","\r"," "]),Pc=function(h){return h.replace(/[\t\n\f\r ]+$/,"")};function Nc(C){var h=Object.create(null),m=de(C),g;try{for(m.s();!(g=m.n()).done;){var A=g.value;h[A]=!0}}catch(x){m.e(x)}finally{m.f()}return h}function zi(C,h){return!(C.type!=="ieConditionalComment"||!C.lastChild||C.lastChild.isSelfClosing||C.lastChild.endSourceSpan)||C.type==="ieConditionalComment"&&!C.complete||!(!Tu(C)||!C.children.some(function(m){return m.type!=="text"&&m.type!=="interpolation"}))||!(!Oa(C,h)||bu(C)||C.type==="interpolation")}function Oc(C){return C.type==="attribute"||!C.parent||typeof C.index!="number"||C.index===0?!1:function(h){return h.type==="comment"&&h.value.trim()==="prettier-ignore"}(C.parent.children[C.index-1])}function bu(C){return C.type==="element"&&(C.fullName==="script"||C.fullName==="style"||C.fullName==="svg:style"||Pa(C)&&(C.name==="script"||C.name==="style"))}function Xu(C){return Ji(C).startsWith("pre")}function kc(C){return C.type==="element"&&C.children.length>0&&(["html","head","ul","ol","select"].includes(C.name)||C.cssDisplay.startsWith("table")&&C.cssDisplay!=="table-cell")}function Qn(C){return Xi(C)||C.type==="element"&&C.fullName==="br"||Ms(C)}function Ms(C){return js(C)&&qi(C)}function js(C){return C.hasLeadingSpaces&&(C.prev?C.prev.sourceSpan.end.line<C.sourceSpan.start.line:C.parent.type==="root"||C.parent.startSourceSpan.end.line<C.sourceSpan.start.line)}function qi(C){return C.hasTrailingSpaces&&(C.next?C.next.sourceSpan.start.line>C.sourceSpan.end.line:C.parent.type==="root"||C.parent.endSourceSpan&&C.parent.endSourceSpan.start.line>C.sourceSpan.end.line)}function Xi(C){switch(C.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(C.name)}return!1}function Su(C){var h=C.attrMap,m=h.type,g=h.lang;return m==="module"||m==="text/javascript"||m==="text/babel"||m==="application/javascript"||g==="jsx"?"babel":m==="application/x-typescript"||g==="ts"||g==="tsx"?"typescript":m==="text/markdown"?"markdown":m==="text/html"?"html":m&&(m.endsWith("json")||m.endsWith("importmap"))?"json":m==="text/x-handlebars-template"?"glimmer":void 0}function Ju(C){return C==="block"||C==="list-item"||C.startsWith("table")}function Tu(C){return Ji(C).startsWith("pre")}function Pa(C){return C.type==="element"&&!C.hasExplicitNamespace&&!["html","svg"].includes(C.namespace)}function Ji(C){return C.type==="element"&&(!C.namespace||Pa(C))&&Ki[C.name]||Mn}var Ic=new Set(["template","style","script"]);function Na(C,h){return Yi(C,h)&&!Ic.has(C.fullName)}function Yi(C,h){return h.parser==="vue"&&C.type==="element"&&C.parent.type==="root"&&C.fullName.toLowerCase()!=="html"}function Oa(C,h){return Yi(C,h)&&(Na(C,h)||C.attrMap.lang&&C.attrMap.lang!=="html")}var G={HTML_ELEMENT_ATTRIBUTES:s0,HTML_TAGS:Fu,htmlTrim:function(h){return function(m){return m.replace(/^[\t\n\f\r ]+/,"")}(Pc(h))},htmlTrimPreserveIndentation:function(h){return function(m){return m.replace(/^[\t\f\r ]*?\n/g,"")}(Pc(h))},splitByHtmlWhitespace:function(h){return h.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function(h){return/[\t\n\f\r ]/.test(h)},getLeadingAndTrailingHtmlWhitespace:function(h){var m=h.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),g=_e(m,4),A=g[1],x=g[2],I=g[3];return{leadingWhitespace:A,trailingWhitespace:I,text:x}},canHaveInterpolation:function(h){return h.children&&!bu(h)},countChars:function(h,m){for(var g=0,A=0;A<h.length;A++)h[A]===m&&g++;return g},countParents:function(h,m){for(var g=0,A=h.stack.length-1;A>=0;A--){var x=h.stack[A];x&&we(x)=="object"&&!Array.isArray(x)&&m(x)&&g++}return g},dedentString:function(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(g){var A=Number.POSITIVE_INFINITY,x=de(g.split(`
|
|
68
|
+
`)),I;try{for(x.s();!(I=x.n()).done;){var M=I.value;if(M.length!==0){if(!Ls.has(M[0]))return 0;var X=(he=M,he.match(/^[\t\n\f\r ]*/)[0]).length;M.length!==X&&X<A&&(A=X)}}}catch(me){x.e(me)}finally{x.f()}var he;return A===Number.POSITIVE_INFINITY?0:A}(h);return m===0?h:h.split(`
|
|
69
|
+
`).map(function(g){return g.slice(m)}).join(`
|
|
70
|
+
`)},forceBreakChildren:kc,forceBreakContent:function(h){return kc(h)||h.type==="element"&&h.children.length>0&&(["body","script","style"].includes(h.name)||h.children.some(function(m){return function(g){return g.children&&g.children.some(function(A){return A.type!=="text"})}(m)}))||h.firstChild&&h.firstChild===h.lastChild&&h.firstChild.type!=="text"&&js(h.firstChild)&&(!h.lastChild.isTrailingSpaceSensitive||qi(h.lastChild))},forceNextEmptyLine:function(h){return ks(h)||h.next&&h.sourceSpan.end&&h.sourceSpan.end.line+1<h.next.sourceSpan.start.line},getLastDescendant:function C(h){return h.lastChild?C(h.lastChild):h},getNodeCssStyleDisplay:function(h,m){if(h.prev&&h.prev.type==="comment"){var g=h.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(g)return g[1]}var A=!1;if(h.type==="element"&&h.namespace==="svg"){if(!function(x,I){for(var M=x;M;){if(I(M))return!0;M=M.parent}return!1}(h,function(x){return x.fullName==="svg:foreignObject"}))return h.name==="svg"?"inline-block":"block";A=!0}switch(m.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return m.parser==="vue"&&h.parent&&h.parent.type==="root"?"block":h.type==="element"&&(!h.namespace||A||Pa(h))&&Is[h.name]||Hi}},getNodeCssStyleWhiteSpace:Ji,getPrettierIgnoreAttributeCommentData:function(h){var m=h.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!m&&(!m[1]||m[1].split(/\s+/))},hasPrettierIgnore:Oc,inferScriptParser:function(h,m){return h.name!=="script"||h.attrMap.src?h.name==="style"?function(g){var A=g.attrMap.lang;return A&&A!=="postcss"&&A!=="css"?A==="scss"?"scss":A==="less"?"less":void 0:"css"}(h):m&&Oa(h,m)?Su(h)||!("src"in h.attrMap)&&o0(h.attrMap.lang,m):void 0:h.attrMap.lang||h.attrMap.type?Su(h):"babel"},isVueCustomBlock:Na,isVueNonHtmlBlock:Oa,isVueSlotAttribute:function(h){var m=h.fullName;return m.charAt(0)==="#"||m==="slot-scope"||m==="v-slot"||m.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(h,m){var g=h.parent;if(!Yi(g,m))return!1;var A=g.fullName,x=h.fullName;return A==="script"&&x==="setup"||A==="style"&&x==="vars"},isDanglingSpaceSensitiveNode:function(h){return m=h.cssDisplay,!(Ju(m)||m==="inline-block"||bu(h));var m},isIndentationSensitiveNode:Xu,isLeadingSpaceSensitiveNode:function(h,m){var g=function(){if(ks(h))return!1;if((h.type==="text"||h.type==="interpolation")&&h.prev&&(h.prev.type==="text"||h.prev.type==="interpolation"))return!0;if(!h.parent||h.parent.cssDisplay==="none")return!1;if(Tu(h.parent))return!0;if(!h.prev&&(h.parent.type==="root"||Tu(h)&&h.parent||bu(h.parent)||Na(h.parent,m)||(A=h.parent.cssDisplay,Ju(A)||A==="inline-block")))return!1;var A;return!(h.prev&&!function(x){return!Ju(x)}(h.prev.cssDisplay))}();return g&&!h.prev&&h.parent&&h.parent.tagDefinition&&h.parent.tagDefinition.ignoreFirstLf?h.type==="interpolation":g},isPreLikeNode:Tu,isScriptLikeTag:bu,isTextLikeNode:function(h){return h.type==="text"||h.type==="comment"},isTrailingSpaceSensitiveNode:function(h,m){return!ks(h)&&(!(h.type!=="text"&&h.type!=="interpolation"||!h.next||h.next.type!=="text"&&h.next.type!=="interpolation")||!(!h.parent||h.parent.cssDisplay==="none")&&(!!Tu(h.parent)||!(!h.next&&(h.parent.type==="root"||Tu(h)&&h.parent||bu(h.parent)||Na(h.parent,m)||(g=h.parent.cssDisplay,Ju(g)||g==="inline-block")))&&!(h.next&&!function(A){return!Ju(A)}(h.next.cssDisplay))));var g},isWhitespaceSensitiveNode:function(h){return bu(h)||h.type==="interpolation"||Xu(h)},isUnknownNamespace:Pa,preferHardlineAsLeadingSpaces:function(h){return Xi(h)||h.prev&&Qn(h.prev)||Ms(h)},preferHardlineAsTrailingSpaces:Qn,shouldNotPrintClosingTag:function(h,m){return!h.isSelfClosing&&!h.endSourceSpan&&(Oc(h)||zi(h.parent,m))},shouldPreserveContent:zi,unescapeQuoteEntities:function(h){return h.replace(/'/g,"'").replace(/"/g,'"')}},Yu={hasPragma:function(h){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(h)},insertPragma:function(h){return`<!-- @format -->
|
|
71
|
+
|
|
72
|
+
`+h.replace(/^\s*\n/,"")}},Lc=wa.isNonEmptyArray,Zn={attrs:!0,children:!0},Qu=function(){function C(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pe(this,C);for(var m=0,g=Object.entries(h);m<g.length;m++){var A=_e(g[m],2),x=A[0],I=A[1];x in Zn?this._setNodes(x,I):this[x]=I}}return fe(C,[{key:"_setNodes",value:function(m,g){g!==this[m]&&(this[m]=function(A,x){for(var I=A.map(function(V){return V instanceof C?V.clone():new C(V)}),M=null,X=I[0],he=I[1]||null,me=0;me<I.length;me++)ka(X,{index:me,siblings:I,prev:M,next:he,parent:x}),M=X,X=he,he=I[me+2]||null;return I}(g,this),m==="attrs"&&ka(this,{attrMap:ki(this[m].map(function(A){return[A.fullName,A.value]}))}))}},{key:"map",value:function(m){var g=null;for(var A in Zn){var x=this[A];if(x){var I=Mc(x,function(H){return H.map(m)});g!==x&&(g||(g=new C),g._setNodes(A,I))}}if(g){for(var M in this)M in Zn||(g[M]=this[M]);var X=this.index,he=this.siblings,me=this.prev,V=this.next,_=this.parent;ka(g,{index:X,siblings:he,prev:me,next:V,parent:_})}return m(g||this)}},{key:"clone",value:function(m){return new C(m?Object.assign({},this,m):this)}},{key:"firstChild",get:function(){return Lc(this.children)?this.children[0]:null}},{key:"lastChild",get:function(){return Lc(this.children)?ps(this.children):null}},{key:"rawName",get:function(){return this.hasExplicitNamespace?this.fullName:this.name}},{key:"fullName",get:function(){return this.namespace?this.namespace+":"+this.name:this.name}}]),C}();function Mc(C,h){var m=C.map(h);return m.some(function(g,A){return g!==C[A]})?m:C}function ka(C,h){var m=ki(Object.entries(h).map(function(g){var A=_e(g,2),x=A[0],I=A[1];return[x,{value:I,enumerable:!1}]}));Object.defineProperties(C,m)}var Ia={Node:Qu},Qi=Bt.ParseSourceSpan,l0=[{regex:/^(\[if([^\]]*?)\]>)([\s\S]*?)<!\s*\[endif\]$/,parse:function(h,m,g){var A=_e(g,4),x=A[1],I=A[2],M=A[3],X=4+x.length,he=h.sourceSpan.start.moveBy(X),me=he.moveBy(M.length),V=function(){try{return[!0,m(M,he).children]}catch(te){return[!1,[{type:"text",value:M,sourceSpan:new Qi(he,me)}]]}}(),_=_e(V,2),H=_[0],Fe=_[1];return{type:"ieConditionalComment",complete:H,children:Fe,condition:I.trim().replace(/\s+/g," "),sourceSpan:h.sourceSpan,startSourceSpan:new Qi(h.sourceSpan.start,he),endSourceSpan:new Qi(me,h.sourceSpan.end)}}},{regex:/^\[if([^\]]*?)]><!$/,parse:function(h,m,g){var A=_e(g,2),x=A[1];return{type:"ieConditionalStartComment",condition:x.trim().replace(/\s+/g," "),sourceSpan:h.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(h){return{type:"ieConditionalEndComment",sourceSpan:h.sourceSpan}}}],jc={parseIeConditionalComment:function(h,m){if(h.value){var g=de(l0),A;try{for(g.s();!(A=g.n()).done;){var x=A.value,I=x.regex,M=x.parse,X=h.value.match(I);if(X)return M(h,m,X)}}catch(he){g.e(he)}finally{g.f()}}return null}},Rc={locStart:function(h){return h.sourceSpan.start.offset},locEnd:function(h){return h.sourceSpan.end.offset}},Kt=Ne(function(C,h){function m(g){if(g[0]!=":")return[null,g];var A=g.indexOf(":",1);if(A==-1)throw new Error('Unsupported format "'.concat(g,'" expecting ":namespace:name"'));return[g.slice(1,A),g.slice(A+1)]}/**
|
|
73
|
+
* @license
|
|
74
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
75
|
+
*
|
|
76
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
77
|
+
* found in the LICENSE file at https://angular.io/license
|
|
78
|
+
*/Object.defineProperty(h,"__esModule",{value:!0}),function(g){g[g.RAW_TEXT=0]="RAW_TEXT",g[g.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",g[g.PARSABLE_DATA=2]="PARSABLE_DATA"}(h.TagContentType||(h.TagContentType={})),h.splitNsName=m,h.isNgContainer=function(g){return m(g)[1]==="ng-container"},h.isNgContent=function(g){return m(g)[1]==="ng-content"},h.isNgTemplate=function(g){return m(g)[1]==="ng-template"},h.getNsPrefix=function(g){return g===null?null:m(g)[0]},h.mergeNsAndName=function(g,A){return g?":".concat(g,":").concat(A):A},h.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",GT:">",Gt:"\u226B",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226A",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
79
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},h.NGSP_UNICODE="\uE500",h.NAMED_ENTITIES.ngsp=h.NGSP_UNICODE});/**
|
|
80
|
+
* @license
|
|
81
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
82
|
+
*
|
|
83
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
84
|
+
* found in the LICENSE file at https://angular.io/license
|
|
85
|
+
*/var Ye=function(){function C(){var h=this,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=m.closedByChildren,A=m.implicitNamespacePrefix,x=m.contentType,I=x===void 0?Kt.TagContentType.PARSABLE_DATA:x,M=m.closedByParent,X=M===void 0?!1:M,he=m.isVoid,me=he===void 0?!1:he,V=m.ignoreFirstLf,_=V===void 0?!1:V;pe(this,C),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,g&&g.length>0&&g.forEach(function(H){return h.closedByChildren[H]=!0}),this.isVoid=me,this.closedByParent=X||me,this.implicitNamespacePrefix=A||null,this.contentType=I,this.ignoreFirstLf=_}return fe(C,[{key:"isClosedByChild",value:function(m){return this.isVoid||m.toLowerCase()in this.closedByChildren}}]),C}(),_c=Ye,Zi,xu,Uc=function(h){return xu||(Zi=new Ye,xu={base:new Ye({isVoid:!0}),meta:new Ye({isVoid:!0}),area:new Ye({isVoid:!0}),embed:new Ye({isVoid:!0}),link:new Ye({isVoid:!0}),img:new Ye({isVoid:!0}),input:new Ye({isVoid:!0}),param:new Ye({isVoid:!0}),hr:new Ye({isVoid:!0}),br:new Ye({isVoid:!0}),source:new Ye({isVoid:!0}),track:new Ye({isVoid:!0}),wbr:new Ye({isVoid:!0}),p:new Ye({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Ye({closedByChildren:["tbody","tfoot"]}),tbody:new Ye({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Ye({closedByChildren:["tbody"],closedByParent:!0}),tr:new Ye({closedByChildren:["tr"],closedByParent:!0}),td:new Ye({closedByChildren:["td","th"],closedByParent:!0}),th:new Ye({closedByChildren:["td","th"],closedByParent:!0}),col:new Ye({isVoid:!0}),svg:new Ye({implicitNamespacePrefix:"svg"}),math:new Ye({implicitNamespacePrefix:"math"}),li:new Ye({closedByChildren:["li"],closedByParent:!0}),dt:new Ye({closedByChildren:["dt","dd"]}),dd:new Ye({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Ye({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Ye({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Ye({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Ye({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Ye({closedByChildren:["optgroup"],closedByParent:!0}),option:new Ye({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Ye({ignoreFirstLf:!0}),listing:new Ye({ignoreFirstLf:!0}),style:new Ye({contentType:Kt.TagContentType.RAW_TEXT}),script:new Ye({contentType:Kt.TagContentType.RAW_TEXT}),title:new Ye({contentType:Kt.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Ye({contentType:Kt.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),xu[h]||Zi},jn=Object.defineProperty({HtmlTagDefinition:_c,getHtmlTagDefinition:Uc},"__esModule",{value:!0}),c0=function(){function C(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;pe(this,C),this.path=h,this.position=m}return fe(C,[{key:"empty",get:function(){return!this.path||!this.path.length}},{key:"head",get:function(){return this.path[0]}},{key:"tail",get:function(){return this.path[this.path.length-1]}},{key:"parentOf",value:function(m){return m&&this.path[this.path.indexOf(m)-1]}},{key:"childOf",value:function(m){return this.path[this.path.indexOf(m)+1]}},{key:"first",value:function(m){for(var g=this.path.length-1;g>=0;g--){var A=this.path[g];if(A instanceof m)return A}}},{key:"push",value:function(m){this.path.push(m)}},{key:"pop",value:function(){return this.path.pop()}}]),C}(),p0=Object.defineProperty({AstPath:c0},"__esModule",{value:!0}),Rs=function(){function C(h,m,g){pe(this,C),this.value=h,this.sourceSpan=m,this.i18n=g,this.type="text"}return fe(C,[{key:"visit",value:function(m,g){return m.visitText(this,g)}}]),C}(),eo=function(){function C(h,m){pe(this,C),this.value=h,this.sourceSpan=m,this.type="cdata"}return fe(C,[{key:"visit",value:function(m,g){return m.visitCdata(this,g)}}]),C}(),$c=function(){function C(h,m,g,A,x,I){pe(this,C),this.switchValue=h,this.type=m,this.cases=g,this.sourceSpan=A,this.switchValueSourceSpan=x,this.i18n=I}return fe(C,[{key:"visit",value:function(m,g){return m.visitExpansion(this,g)}}]),C}(),Wc=function(){function C(h,m,g,A,x){pe(this,C),this.value=h,this.expression=m,this.sourceSpan=g,this.valueSourceSpan=A,this.expSourceSpan=x}return fe(C,[{key:"visit",value:function(m,g){return m.visitExpansionCase(this,g)}}]),C}(),La=function(){function C(h,m,g){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;pe(this,C),this.name=h,this.value=m,this.sourceSpan=g,this.valueSpan=A,this.nameSpan=x,this.i18n=I,this.type="attribute"}return fe(C,[{key:"visit",value:function(m,g){return m.visitAttribute(this,g)}}]),C}(),_s=function(){function C(h,m,g,A){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,M=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,X=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;pe(this,C),this.name=h,this.attrs=m,this.children=g,this.sourceSpan=A,this.startSourceSpan=x,this.endSourceSpan=I,this.nameSpan=M,this.i18n=X,this.type="element"}return fe(C,[{key:"visit",value:function(m,g){return m.visitElement(this,g)}}]),C}(),Vc=_s,Us=function(){function C(h,m){pe(this,C),this.value=h,this.sourceSpan=m,this.type="comment"}return fe(C,[{key:"visit",value:function(m,g){return m.visitComment(this,g)}}]),C}(),$s=function(){function C(h,m){pe(this,C),this.value=h,this.sourceSpan=m,this.type="docType"}return fe(C,[{key:"visit",value:function(m,g){return m.visitDocType(this,g)}}]),C}();function Zu(C,h){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,g=[],A=C.visit?function(x){return C.visit(x,m)||x.visit(C,m)}:function(x){return x.visit(C,m)};return h.forEach(function(x){var I=A(x);I&&g.push(I)}),g}var f0=Zu,to=function(){function C(){pe(this,C)}return fe(C,[{key:"visitElement",value:function(m,g){this.visitChildren(g,function(A){A(m.attrs),A(m.children)})}},{key:"visitAttribute",value:function(m,g){}},{key:"visitText",value:function(m,g){}},{key:"visitCdata",value:function(m,g){}},{key:"visitComment",value:function(m,g){}},{key:"visitDocType",value:function(m,g){}},{key:"visitExpansion",value:function(m,g){return this.visitChildren(g,function(A){A(m.cases)})}},{key:"visitExpansionCase",value:function(m,g){}},{key:"visitChildren",value:function(m,g){var A=[],x=this;return g(function(I){I&&A.push(Zu(x,I,m))}),Array.prototype.concat.apply([],A)}}]),C}(),Gc=to;function sn(C){var h=C.sourceSpan.start.offset,m=C.sourceSpan.end.offset;return C instanceof _s&&(C.endSourceSpan?m=C.endSourceSpan.end.offset:C.children&&C.children.length&&(m=sn(C.children[C.children.length-1]).end)),{start:h,end:m}}var De=function(h,m){var g=[];return Zu(new(function(A){Gt(I,A);var x=Ht(I);function I(){return pe(this,I),x.apply(this,arguments)}return fe(I,[{key:"visit",value:function(X,he){var me=sn(X);if(!(me.start<=m&&m<me.end))return!0;g.push(X)}}]),I}(to)),h),new p0.AstPath(g,m)},ln=Object.defineProperty({Text:Rs,CDATA:eo,Expansion:$c,ExpansionCase:Wc,Attribute:La,Element:Vc,Comment:Us,DocType:$s,visitAll:f0,RecursiveVisitor:Gc,findNode:De},"__esModule",{value:!0}),Hc=function(h,m){if(m!=null){if(!Array.isArray(m))throw new Error("Expected '".concat(h,"' to be an array of strings."));for(var g=0;g<m.length;g+=1)if(typeof m[g]!="string")throw new Error("Expected '".concat(h,"' to be an array of strings."))}},d0=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],Ws=function(h,m){if(!(m==null||Array.isArray(m)&&m.length==2))throw new Error("Expected '".concat(h,"' to be an array, [start, end]."));if(m!=null){var g=m[0],A=m[1];d0.forEach(function(x){if(x.test(g)||x.test(A))throw new Error("['".concat(g,"', '").concat(A,"'] contains unusable interpolation symbol."))})}},ro=Object.defineProperty({assertArrayOfStrings:Hc,assertInterpolationSymbols:Ws},"__esModule",{value:!0}),Vs=Ne(function(C,h){/**
|
|
86
|
+
* @license
|
|
87
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
88
|
+
*
|
|
89
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
90
|
+
* found in the LICENSE file at https://angular.io/license
|
|
91
|
+
*/Object.defineProperty(h,"__esModule",{value:!0});var m=function(){function g(A,x){pe(this,g),this.start=A,this.end=x}return fe(g,null,[{key:"fromArray",value:function(x){return x?(ro.assertInterpolationSymbols("interpolation",x),new g(x[0],x[1])):h.DEFAULT_INTERPOLATION_CONFIG}}]),g}();h.InterpolationConfig=m,h.DEFAULT_INTERPOLATION_CONFIG=new m("{{","}}")}),rt=Ne(function(C,h){/**
|
|
92
|
+
* @license
|
|
93
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
94
|
+
*
|
|
95
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
96
|
+
* found in the LICENSE file at https://angular.io/license
|
|
97
|
+
*/Object.defineProperty(h,"__esModule",{value:!0});var m=dt,g;(function($){$[$.TAG_OPEN_START=0]="TAG_OPEN_START",$[$.TAG_OPEN_END=1]="TAG_OPEN_END",$[$.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",$[$.TAG_CLOSE=3]="TAG_CLOSE",$[$.TEXT=4]="TEXT",$[$.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",$[$.RAW_TEXT=6]="RAW_TEXT",$[$.COMMENT_START=7]="COMMENT_START",$[$.COMMENT_END=8]="COMMENT_END",$[$.CDATA_START=9]="CDATA_START",$[$.CDATA_END=10]="CDATA_END",$[$.ATTR_NAME=11]="ATTR_NAME",$[$.ATTR_QUOTE=12]="ATTR_QUOTE",$[$.ATTR_VALUE=13]="ATTR_VALUE",$[$.DOC_TYPE_START=14]="DOC_TYPE_START",$[$.DOC_TYPE_END=15]="DOC_TYPE_END",$[$.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",$[$.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",$[$.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",$[$.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",$[$.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",$[$.EOF=21]="EOF"})(g=h.TokenType||(h.TokenType={}));var A=fe(function $(z,N,U){pe(this,$),this.type=z,this.parts=N,this.sourceSpan=U});h.Token=A;var x=function($){Gt(N,$);var z=Ht(N);function N(U,ue,se){var He;return pe(this,N),He=z.call(this,se,U),He.tokenType=ue,He}return fe(N)}(Bt.ParseError);h.TokenError=x;var I=fe(function $(z,N){pe(this,$),this.tokens=z,this.errors=N});h.TokenizeResult=I,h.tokenize=function($,z,N){var U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new V(new Bt.ParseSourceFile($,z),N,U).tokenize()};var M=/\r\n?/g;function X($){var z=$===m.$EOF?"EOF":String.fromCharCode($);return'Unexpected character "'.concat(z,'"')}function he($){return'Unknown entity "'.concat($,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var me=fe(function $(z){pe(this,$),this.error=z}),V=function(){function $(z,N,U){pe(this,$),this._getTagContentType=N,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=U.tokenizeExpansionForms||!1,this._interpolationConfig=U.interpolationConfig||Vs.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=U.leadingTriviaChars&&U.leadingTriviaChars.map(function(se){return se.codePointAt(0)||0}),this._canSelfClose=U.canSelfClose||!1,this._allowHtmComponentClosingTags=U.allowHtmComponentClosingTags||!1;var ue=U.range||{endPos:z.content.length,startPos:0,startLine:0,startCol:0};this._cursor=U.escapedString?new Le(z,ue):new Ce(z,ue);try{this._cursor.init()}catch(se){this.handleError(se)}}return fe($,[{key:"_processCarriageReturns",value:function(N){return N.replace(M,`
|
|
98
|
+
`)}},{key:"tokenize",value:function(){for(;this._cursor.peek()!==m.$EOF;){var N=this._cursor.clone();try{if(this._attemptCharCode(m.$LT))if(this._attemptCharCode(m.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(N):this._attemptStr("--")?this._consumeComment(N):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(N):this._consumeBogusComment(N);else if(this._attemptCharCode(m.$SLASH))this._consumeTagClose(N);else{var U=this._cursor.clone();this._attemptCharCode(m.$QUESTION)?(this._cursor=U,this._consumeBogusComment(N)):this._consumeTagOpen(N)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(ue){this.handleError(ue)}}return this._beginToken(g.EOF),this._endToken([]),new I(function(ue){for(var se=[],He,Ze=0;Ze<ue.length;Ze++){var ot=ue[Ze];He&&He.type==g.TEXT&&ot.type==g.TEXT?(He.parts[0]+=ot.parts[0],He.sourceSpan.end=ot.sourceSpan.end):(He=ot,se.push(He))}return se}(this.tokens),this.errors)}},{key:"_tokenizeExpansionForm",value:function(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((N=this._cursor.peek())===m.$EQ||m.isAsciiLetter(N)||m.isDigit(N))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var N;if(this._cursor.peek()===m.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}},{key:"_beginToken",value:function(N){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=U,this._currentTokenType=N}},{key:"_endToken",value:function(N){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new x("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(U));if(this._currentTokenType===null)throw new x("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var ue=new A(this._currentTokenType,N,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(ue),this._currentTokenStart=null,this._currentTokenType=null,ue}},{key:"_createError",value:function(N,U){this._isInExpansionForm()&&(N+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);var ue=new x(N,this._currentTokenType,U);return this._currentTokenStart=null,this._currentTokenType=null,new me(ue)}},{key:"handleError",value:function(N){if(N instanceof Ue&&(N=this._createError(N.msg,this._cursor.getSpan(N.cursor))),!(N instanceof me))throw N;this.errors.push(N.error)}},{key:"_attemptCharCode",value:function(N){return this._cursor.peek()===N&&(this._cursor.advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function(N){return U=this._cursor.peek(),ue=N,ye(U)==ye(ue)&&(this._cursor.advance(),!0);var U,ue}},{key:"_requireCharCode",value:function(N){var U=this._cursor.clone();if(!this._attemptCharCode(N))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(U))}},{key:"_attemptStr",value:function(N){var U=N.length;if(this._cursor.charsLeft()<U)return!1;for(var ue=this._cursor.clone(),se=0;se<U;se++)if(!this._attemptCharCode(N.charCodeAt(se)))return this._cursor=ue,!1;return!0}},{key:"_attemptStrCaseInsensitive",value:function(N){for(var U=0;U<N.length;U++)if(!this._attemptCharCodeCaseInsensitive(N.charCodeAt(U)))return!1;return!0}},{key:"_requireStr",value:function(N){var U=this._cursor.clone();if(!this._attemptStr(N))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(U))}},{key:"_requireStrCaseInsensitive",value:function(N){var U=this._cursor.clone();if(!this._attemptStrCaseInsensitive(N))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(U))}},{key:"_attemptCharCodeUntilFn",value:function(N){for(;!N(this._cursor.peek());)this._cursor.advance()}},{key:"_requireCharCodeUntilFn",value:function(N,U){var ue=this._cursor.clone();if(this._attemptCharCodeUntilFn(N),this._cursor.clone().diff(ue)<U)throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(ue))}},{key:"_attemptUntilChar",value:function(N){for(;this._cursor.peek()!==N;)this._cursor.advance()}},{key:"_readChar",value:function(N){if(N&&this._cursor.peek()===m.$AMPERSAND)return this._decodeEntity();{var U=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),U}}},{key:"_decodeEntity",value:function(){var N=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(m.$HASH)){var U=this._cursor.clone();if(this._attemptCharCodeUntilFn(te),this._cursor.peek()!=m.$SEMICOLON)return this._cursor=U,"&";var ue=this._cursor.getChars(U);this._cursor.advance();var se=Kt.NAMED_ENTITIES[ue];if(!se)throw this._createError(he(ue),this._cursor.getSpan(N));return se}{var He=this._attemptCharCode(m.$x)||this._attemptCharCode(m.$X),Ze=this._cursor.clone();if(this._attemptCharCodeUntilFn(Fe),this._cursor.peek()!=m.$SEMICOLON)throw this._createError(X(this._cursor.peek()),this._cursor.getSpan());var ot=this._cursor.getChars(Ze);this._cursor.advance();try{var rr=parseInt(ot,He?16:10);return String.fromCharCode(rr)}catch(Ut){throw this._createError(he(this._cursor.getChars(N)),this._cursor.getSpan())}}}},{key:"_consumeRawText",value:function(N,U){this._beginToken(N?g.ESCAPABLE_RAW_TEXT:g.RAW_TEXT);for(var ue=[];;){var se=this._cursor.clone(),He=U();if(this._cursor=se,He)break;ue.push(this._readChar(N))}return this._endToken([this._processCarriageReturns(ue.join(""))])}},{key:"_consumeComment",value:function(N){var U=this;this._beginToken(g.COMMENT_START,N),this._endToken([]),this._consumeRawText(!1,function(){return U._attemptStr("-->")}),this._beginToken(g.COMMENT_END),this._requireStr("-->"),this._endToken([])}},{key:"_consumeBogusComment",value:function(N){var U=this;this._beginToken(g.COMMENT_START,N),this._endToken([]),this._consumeRawText(!1,function(){return U._cursor.peek()===m.$GT}),this._beginToken(g.COMMENT_END),this._cursor.advance(),this._endToken([])}},{key:"_consumeCdata",value:function(N){var U=this;this._beginToken(g.CDATA_START,N),this._endToken([]),this._consumeRawText(!1,function(){return U._attemptStr("]]>")}),this._beginToken(g.CDATA_END),this._requireStr("]]>"),this._endToken([])}},{key:"_consumeDocType",value:function(N){var U=this;this._beginToken(g.DOC_TYPE_START,N),this._endToken([]),this._consumeRawText(!1,function(){return U._cursor.peek()===m.$GT}),this._beginToken(g.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}},{key:"_consumePrefixAndName",value:function(){for(var N=this._cursor.clone(),U="";this._cursor.peek()!==m.$COLON&&!(((ue=this._cursor.peek())<m.$a||m.$z<ue)&&(ue<m.$A||m.$Z<ue)&&(ue<m.$0||ue>m.$9));)this._cursor.advance();var ue,se;return this._cursor.peek()===m.$COLON?(U=this._cursor.getChars(N),this._cursor.advance(),se=this._cursor.clone()):se=N,this._requireCharCodeUntilFn(H,U===""?0:1),[U,this._cursor.getChars(se)]}},{key:"_consumeTagOpen",value:function(N){var U,ue,se,He=this.tokens.length,Ze=this._cursor.clone(),ot=[];try{if(!m.isAsciiLetter(this._cursor.peek()))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(N));for(se=this._consumeTagOpenStart(N),ue=se.parts[0],U=se.parts[1],this._attemptCharCodeUntilFn(_);this._cursor.peek()!==m.$SLASH&&this._cursor.peek()!==m.$GT;){var rr=this._consumeAttributeName(),Ut=_e(rr,2),dr=Ut[0],Wr=Ut[1];if(this._attemptCharCodeUntilFn(_),this._attemptCharCode(m.$EQ)){this._attemptCharCodeUntilFn(_);var dn=this._consumeAttributeValue();ot.push({prefix:dr,name:Wr,value:dn})}else ot.push({prefix:dr,name:Wr});this._attemptCharCodeUntilFn(_)}this._consumeTagOpenEnd()}catch(tu){if(tu instanceof me)return this._cursor=Ze,se&&(this.tokens.length=He),this._beginToken(g.TEXT,N),void this._endToken(["<"]);throw tu}if(!(this._canSelfClose&&this.tokens[this.tokens.length-1].type===g.TAG_OPEN_END_VOID)){var qr=this._getTagContentType(U,ue,this._fullNameStack.length>0,ot);this._handleFullNameStackForTagOpen(ue,U),qr===Kt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(ue,U,!1):qr===Kt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(ue,U,!0)}}},{key:"_consumeRawTextWithTagClose",value:function(N,U,ue){var se=this;this._consumeRawText(ue,function(){return!!se._attemptCharCode(m.$LT)&&!!se._attemptCharCode(m.$SLASH)&&(se._attemptCharCodeUntilFn(_),!!se._attemptStrCaseInsensitive(N?"".concat(N,":").concat(U):U)&&(se._attemptCharCodeUntilFn(_),se._attemptCharCode(m.$GT)))}),this._beginToken(g.TAG_CLOSE),this._requireCharCodeUntilFn(function(He){return He===m.$GT},3),this._cursor.advance(),this._endToken([N,U]),this._handleFullNameStackForTagClose(N,U)}},{key:"_consumeTagOpenStart",value:function(N){this._beginToken(g.TAG_OPEN_START,N);var U=this._consumePrefixAndName();return this._endToken(U)}},{key:"_consumeAttributeName",value:function(){var N=this._cursor.peek();if(N===m.$SQ||N===m.$DQ)throw this._createError(X(N),this._cursor.getSpan());this._beginToken(g.ATTR_NAME);var U=this._consumePrefixAndName();return this._endToken(U),U}},{key:"_consumeAttributeValue",value:function(){var N;if(this._cursor.peek()===m.$SQ||this._cursor.peek()===m.$DQ){this._beginToken(g.ATTR_QUOTE);var U=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(U)]),this._beginToken(g.ATTR_VALUE);for(var ue=[];this._cursor.peek()!==U;)ue.push(this._readChar(!0));N=this._processCarriageReturns(ue.join("")),this._endToken([N]),this._beginToken(g.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(U)])}else{this._beginToken(g.ATTR_VALUE);var se=this._cursor.clone();this._requireCharCodeUntilFn(H,1),N=this._processCarriageReturns(this._cursor.getChars(se)),this._endToken([N])}return N}},{key:"_consumeTagOpenEnd",value:function(){var N=this._attemptCharCode(m.$SLASH)?g.TAG_OPEN_END_VOID:g.TAG_OPEN_END;this._beginToken(N),this._requireCharCode(m.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function(N){if(this._beginToken(g.TAG_CLOSE,N),this._attemptCharCodeUntilFn(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(m.$SLASH))this._attemptCharCodeUntilFn(_),this._requireCharCode(m.$GT),this._endToken([]);else{var U=this._consumePrefixAndName(),ue=_e(U,2),se=ue[0],He=ue[1];this._attemptCharCodeUntilFn(_),this._requireCharCode(m.$GT),this._endToken([se,He]),this._handleFullNameStackForTagClose(se,He)}}},{key:"_consumeExpansionFormStart",value:function(){this._beginToken(g.EXPANSION_FORM_START),this._requireCharCode(m.$LBRACE),this._endToken([]),this._expansionCaseStack.push(g.EXPANSION_FORM_START),this._beginToken(g.RAW_TEXT);var N=this._readUntil(m.$COMMA);this._endToken([N]),this._requireCharCode(m.$COMMA),this._attemptCharCodeUntilFn(_),this._beginToken(g.RAW_TEXT);var U=this._readUntil(m.$COMMA);this._endToken([U]),this._requireCharCode(m.$COMMA),this._attemptCharCodeUntilFn(_)}},{key:"_consumeExpansionCaseStart",value:function(){this._beginToken(g.EXPANSION_CASE_VALUE);var N=this._readUntil(m.$LBRACE).trim();this._endToken([N]),this._attemptCharCodeUntilFn(_),this._beginToken(g.EXPANSION_CASE_EXP_START),this._requireCharCode(m.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(g.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function(){this._beginToken(g.EXPANSION_CASE_EXP_END),this._requireCharCode(m.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function(){this._beginToken(g.EXPANSION_FORM_END),this._requireCharCode(m.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function(){var N=this._cursor.clone();this._beginToken(g.TEXT,N);var U=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(U.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(U.push(this._interpolationConfig.end),this._inInterpolation=!1):U.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(U.join(""))])}},{key:"_isTextEnd",value:function(){return!!(this._cursor.peek()===m.$LT||this._cursor.peek()===m.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===m.$RBRACE&&this._isInExpansionCase()))}},{key:"_readUntil",value:function(N){var U=this._cursor.clone();return this._attemptUntilChar(N),this._cursor.getChars(U)}},{key:"_isInExpansionCase",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===g.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===g.EXPANSION_FORM_START}},{key:"isExpansionFormStart",value:function(){if(this._cursor.peek()!==m.$LBRACE)return!1;if(this._interpolationConfig){var N=this._cursor.clone(),U=this._attemptStr(this._interpolationConfig.start);return this._cursor=N,!U}return!0}},{key:"_handleFullNameStackForTagOpen",value:function(N,U){var ue=Kt.mergeNsAndName(N,U);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]!==ue||this._fullNameStack.push(ue)}},{key:"_handleFullNameStackForTagClose",value:function(N,U){var ue=Kt.mergeNsAndName(N,U);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===ue&&this._fullNameStack.pop()}}]),$}();function _($){return!m.isWhitespace($)||$===m.$EOF}function H($){return m.isWhitespace($)||$===m.$GT||$===m.$SLASH||$===m.$SQ||$===m.$DQ||$===m.$EQ}function Fe($){return $==m.$SEMICOLON||$==m.$EOF||!m.isAsciiHexDigit($)}function te($){return $==m.$SEMICOLON||$==m.$EOF||!m.isAsciiLetter($)}function ye($){return $>=m.$a&&$<=m.$z?$-m.$a+m.$A:$}var Ce=function(){function $(z,N){if(pe(this,$),z instanceof $)this.file=z.file,this.input=z.input,this.end=z.end,this.state=Object.assign({},z.state);else{if(!N)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=z,this.input=z.content,this.end=N.endPos,this.state={peek:-1,offset:N.startPos,line:N.startLine,column:N.startCol}}}return fe($,[{key:"clone",value:function(){return new $(this)}},{key:"peek",value:function(){return this.state.peek}},{key:"charsLeft",value:function(){return this.end-this.state.offset}},{key:"diff",value:function(N){return this.state.offset-N.state.offset}},{key:"advance",value:function(){this.advanceState(this.state)}},{key:"init",value:function(){this.updatePeek(this.state)}},{key:"getSpan",value:function(N,U){if(N=N||this,U)for(N=N.clone();this.diff(N)>0&&U.indexOf(N.peek())!==-1;)N.advance();return new Bt.ParseSourceSpan(new Bt.ParseLocation(N.file,N.state.offset,N.state.line,N.state.column),new Bt.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}},{key:"getChars",value:function(N){return this.input.substring(N.state.offset,this.state.offset)}},{key:"charAt",value:function(N){return this.input.charCodeAt(N)}},{key:"advanceState",value:function(N){if(N.offset>=this.end)throw this.state=N,new Ue('Unexpected character "EOF"',this);var U=this.charAt(N.offset);U===m.$LF?(N.line++,N.column=0):m.isNewLine(U)||N.column++,N.offset++,this.updatePeek(N)}},{key:"updatePeek",value:function(N){N.peek=N.offset>=this.end?m.$EOF:this.charAt(N.offset)}}]),$}(),Le=function($){Gt(N,$);var z=Ht(N);function N(U,ue){var se;return pe(this,N),U instanceof N?(se=z.call(this,U),se.internalState=Object.assign({},U.internalState)):(se=z.call(this,U,ue),se.internalState=se.state),im(se)}return fe(N,[{key:"advance",value:function(){this.state=this.internalState,Aa(Xn(N.prototype),"advance",this).call(this),this.processEscapeSequence()}},{key:"init",value:function(){Aa(Xn(N.prototype),"init",this).call(this),this.processEscapeSequence()}},{key:"clone",value:function(){return new N(this)}},{key:"getChars",value:function(ue){for(var se=ue.clone(),He="";se.internalState.offset<this.internalState.offset;)He+=String.fromCodePoint(se.peek()),se.advance();return He}},{key:"processEscapeSequence",value:function(){var ue=this,se=function(){return ue.internalState.peek};if(se()===m.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),se()===m.$n)this.state.peek=m.$LF;else if(se()===m.$r)this.state.peek=m.$CR;else if(se()===m.$v)this.state.peek=m.$VTAB;else if(se()===m.$t)this.state.peek=m.$TAB;else if(se()===m.$b)this.state.peek=m.$BSPACE;else if(se()===m.$f)this.state.peek=m.$FF;else if(se()===m.$u)if(this.advanceState(this.internalState),se()===m.$LBRACE){this.advanceState(this.internalState);for(var He=this.clone(),Ze=0;se()!==m.$RBRACE;)this.advanceState(this.internalState),Ze++;this.state.peek=this.decodeHexDigits(He,Ze)}else{var ot=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(ot,4)}else if(se()===m.$x){this.advanceState(this.internalState);var rr=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(rr,2)}else if(m.isOctalDigit(se())){for(var Ut="",dr=0,Wr=this.clone();m.isOctalDigit(se())&&dr<3;)Wr=this.clone(),Ut+=String.fromCodePoint(se()),this.advanceState(this.internalState),dr++;this.state.peek=parseInt(Ut,8),this.internalState=Wr.internalState}else m.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}},{key:"decodeHexDigits",value:function(ue,se){var He=this.input.substr(ue.internalState.offset,se),Ze=parseInt(He,16);if(isNaN(Ze))throw ue.state=ue.internalState,new Ue("Invalid hexadecimal escape sequence",ue);return Ze}}]),N}(Ce),Ue=fe(function $(z,N){pe(this,$),this.msg=z,this.cursor=N});h.CursorError=Ue});/**
|
|
99
|
+
* @license
|
|
100
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
101
|
+
*
|
|
102
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
103
|
+
* found in the LICENSE file at https://angular.io/license
|
|
104
|
+
*/var cn=function(C){Gt(m,C);var h=Ht(m);function m(g,A,x){var I;return pe(this,m),I=h.call(this,A,x),I.elementName=g,I}return fe(m,null,[{key:"create",value:function(A,x,I){return new m(A,x,I)}}]),m}(Bt.ParseError),Kc=cn,no=fe(function C(h,m){pe(this,C),this.rootNodes=h,this.errors=m}),zc=no,qc=function(){function C(h){pe(this,C),this.getTagDefinition=h}return fe(C,[{key:"parse",value:function(m,g,A){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,I=arguments.length>4?arguments[4]:void 0,M=function(Ce){return function(Le){for(var Ue=arguments.length,$=new Array(Ue>1?Ue-1:0),z=1;z<Ue;z++)$[z-1]=arguments[z];return Ce.apply(void 0,[Le.toLowerCase()].concat($))}},X=x?this.getTagDefinition:M(this.getTagDefinition),he=function(Ce){return X(Ce).contentType},me=x?I:M(I),V=I?function(ye,Ce,Le,Ue){var $=me(ye,Ce,Le,Ue);return $!==void 0?$:he(ye)}:he,_=rt.tokenize(m,g,V,A),H=A&&A.canSelfClose||!1,Fe=A&&A.allowHtmComponentClosingTags||!1,te=new h0(_.tokens,X,H,Fe,x).build();return new no(te.rootNodes,_.errors.concat(te.errors))}}]),C}(),h0=function(){function C(h,m,g,A,x){pe(this,C),this.tokens=h,this.getTagDefinition=m,this.canSelfClose=g,this.allowHtmComponentClosingTags=A,this.isTagNameCaseSensitive=x,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return fe(C,[{key:"build",value:function(){for(;this._peek.type!==rt.TokenType.EOF;)this._peek.type===rt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===rt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===rt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===rt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===rt.TokenType.TEXT||this._peek.type===rt.TokenType.RAW_TEXT||this._peek.type===rt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===rt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===rt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new no(this._rootNodes,this._errors)}},{key:"_advance",value:function(){var m=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],m}},{key:"_advanceIf",value:function(m){return this._peek.type===m?this._advance():null}},{key:"_consumeCdata",value:function(m){var g=this._advance(),A=this._getText(g),x=this._advanceIf(rt.TokenType.CDATA_END);this._addToParent(new ln.CDATA(A,new Bt.ParseSourceSpan(m.sourceSpan.start,(x||g).sourceSpan.end)))}},{key:"_consumeComment",value:function(m){var g=this._advanceIf(rt.TokenType.RAW_TEXT),A=this._advanceIf(rt.TokenType.COMMENT_END),x=g!=null?g.parts[0].trim():null,I=new Bt.ParseSourceSpan(m.sourceSpan.start,(A||g||m).sourceSpan.end);this._addToParent(new ln.Comment(x,I))}},{key:"_consumeDocType",value:function(m){var g=this._advanceIf(rt.TokenType.RAW_TEXT),A=this._advanceIf(rt.TokenType.DOC_TYPE_END),x=g!=null?g.parts[0].trim():null,I=new Bt.ParseSourceSpan(m.sourceSpan.start,(A||g||m).sourceSpan.end);this._addToParent(new ln.DocType(x,I))}},{key:"_consumeExpansion",value:function(m){for(var g=this._advance(),A=this._advance(),x=[];this._peek.type===rt.TokenType.EXPANSION_CASE_VALUE;){var I=this._parseExpansionCase();if(!I)return;x.push(I)}if(this._peek.type!==rt.TokenType.EXPANSION_FORM_END)return void this._errors.push(cn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));var M=new Bt.ParseSourceSpan(m.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new ln.Expansion(g.parts[0],A.parts[0],x,M,g.sourceSpan)),this._advance()}},{key:"_parseExpansionCase",value:function(){var m=this._advance();if(this._peek.type!==rt.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(cn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var g=this._advance(),A=this._collectExpansionExpTokens(g);if(!A)return null;var x=this._advance();A.push(new rt.Token(rt.TokenType.EOF,[],x.sourceSpan));var I=new C(A,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(I.errors.length>0)return this._errors=this._errors.concat(I.errors),null;var M=new Bt.ParseSourceSpan(m.sourceSpan.start,x.sourceSpan.end),X=new Bt.ParseSourceSpan(g.sourceSpan.start,x.sourceSpan.end);return new ln.ExpansionCase(m.parts[0],I.rootNodes,M,m.sourceSpan,X)}},{key:"_collectExpansionExpTokens",value:function(m){for(var g=[],A=[rt.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==rt.TokenType.EXPANSION_FORM_START&&this._peek.type!==rt.TokenType.EXPANSION_CASE_EXP_START||A.push(this._peek.type),this._peek.type===rt.TokenType.EXPANSION_CASE_EXP_END){if(!uo(A,rt.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(cn.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(A.pop(),A.length==0)return g}if(this._peek.type===rt.TokenType.EXPANSION_FORM_END){if(!uo(A,rt.TokenType.EXPANSION_FORM_START))return this._errors.push(cn.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;A.pop()}if(this._peek.type===rt.TokenType.EOF)return this._errors.push(cn.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;g.push(this._advance())}}},{key:"_getText",value:function(m){var g=m.parts[0];if(g.length>0&&g[0]==`
|
|
105
|
+
`){var A=this._getParentElement();A!=null&&A.children.length==0&&this.getTagDefinition(A.name).ignoreFirstLf&&(g=g.substring(1))}return g}},{key:"_consumeText",value:function(m){var g=this._getText(m);g.length>0&&this._addToParent(new ln.Text(g,m.sourceSpan))}},{key:"_closeVoidElement",value:function(){var m=this._getParentElement();m&&this.getTagDefinition(m.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function(m){for(var g=m.parts[0],A=m.parts[1],x=[];this._peek.type===rt.TokenType.ATTR_NAME;)x.push(this._consumeAttr(this._advance()));var I=this._getElementFullName(g,A,this._getParentElement()),M=!1;if(this._peek.type===rt.TokenType.TAG_OPEN_END_VOID){this._advance(),M=!0;var X=this.getTagDefinition(I);this.canSelfClose||X.canSelfClose||Kt.getNsPrefix(I)!==null||X.isVoid||this._errors.push(cn.create(I,m.sourceSpan,'Only void and foreign elements can be self closed "'.concat(m.parts[1],'"')))}else this._peek.type===rt.TokenType.TAG_OPEN_END&&(this._advance(),M=!1);var he=this._peek.sourceSpan.start,me=new Bt.ParseSourceSpan(m.sourceSpan.start,he),V=new Bt.ParseSourceSpan(m.sourceSpan.start.moveBy(1),m.sourceSpan.end),_=new ln.Element(I,x,[],me,me,void 0,V);this._pushElement(_),M&&(this._popElement(I),_.endSourceSpan=me)}},{key:"_pushElement",value:function(m){var g=this._getParentElement();g&&this.getTagDefinition(g.name).isClosedByChild(m.name)&&this._elementStack.pop(),this._addToParent(m),this._elementStack.push(m)}},{key:"_consumeEndTag",value:function(m){var g=this.allowHtmComponentClosingTags&&m.parts.length===0?null:this._getElementFullName(m.parts[0],m.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=m.sourceSpan),g&&this.getTagDefinition(g).isVoid)this._errors.push(cn.create(g,m.sourceSpan,'Void elements do not have end tags "'.concat(m.parts[1],'"')));else if(!this._popElement(g)){var A='Unexpected closing tag "'.concat(g,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(cn.create(g,m.sourceSpan,A))}}},{key:"_popElement",value:function(m){for(var g=this._elementStack.length-1;g>=0;g--){var A=this._elementStack[g];if(!m||(Kt.getNsPrefix(A.name)?A.name==m:A.name.toLowerCase()==m.toLowerCase()))return this._elementStack.splice(g,this._elementStack.length-g),!0;if(!this.getTagDefinition(A.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function(m){var g=Kt.mergeNsAndName(m.parts[0],m.parts[1]),A,x,I=m.sourceSpan.end,M="";if(this._peek.type===rt.TokenType.ATTR_QUOTE&&(x=this._advance().sourceSpan.start),this._peek.type===rt.TokenType.ATTR_VALUE){var X=this._advance();M=X.parts[0],I=X.sourceSpan.end,A=X.sourceSpan}return this._peek.type===rt.TokenType.ATTR_QUOTE&&(I=this._advance().sourceSpan.end,A=new Bt.ParseSourceSpan(x,I)),new ln.Attribute(g,M,new Bt.ParseSourceSpan(m.sourceSpan.start,I),A,m.sourceSpan)}},{key:"_getParentElement",value:function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function(){for(var m=null,g=this._elementStack.length-1;g>=0;g--){if(!Kt.isNgContainer(this._elementStack[g].name))return{parent:this._elementStack[g],container:m};m=this._elementStack[g]}return{parent:null,container:m}}},{key:"_addToParent",value:function(m){var g=this._getParentElement();g!=null?g.children.push(m):this._rootNodes.push(m)}},{key:"_insertBeforeContainer",value:function(m,g,A){if(g){if(m){var x=m.children.indexOf(g);m.children[x]=A}else this._rootNodes.push(A);A.children.push(g),this._elementStack.splice(this._elementStack.indexOf(g),0,A)}else this._addToParent(A),this._elementStack.push(A)}},{key:"_getElementFullName",value:function(m,g,A){return m===""&&(m=this.getTagDefinition(g).implicitNamespacePrefix||"")===""&&A!=null&&(m=Kt.getNsPrefix(A.name)),Kt.mergeNsAndName(m,g)}}]),C}();function uo(C,h){return C.length>0&&C[C.length-1]===h}var Xc=Object.defineProperty({TreeError:Kc,ParseTreeResult:zc,Parser:qc},"__esModule",{value:!0}),Jc=Xc,pn=Jc.ParseTreeResult,$r=Jc.TreeError;/**
|
|
106
|
+
* @license
|
|
107
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
108
|
+
*
|
|
109
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
110
|
+
* found in the LICENSE file at https://angular.io/license
|
|
111
|
+
*/var D0=function(C){Gt(m,C);var h=Ht(m);function m(){return pe(this,m),h.call(this,jn.getHtmlTagDefinition)}return fe(m,[{key:"parse",value:function(A,x,I){var M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,X=arguments.length>4?arguments[4]:void 0;return Aa(Xn(m.prototype),"parse",this).call(this,A,x,I,M,X)}}]),m}(Xc.Parser),Gs=D0,Yc=Object.defineProperty({ParseTreeResult:pn,TreeError:$r,HtmlParser:Gs},"__esModule",{value:!0}),m0=Kt.TagContentType,ao=null,io=function(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=m.canSelfClose,A=g===void 0?!1:g,x=m.allowHtmComponentClosingTags,I=x===void 0?!1:x,M=m.isTagNameCaseSensitive,X=M===void 0?!1:M,he=m.getTagContentType;return(ao||(ao=new Yc.HtmlParser),ao).parse(h,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:A,allowHtmComponentClosingTags:I},X,he)},Hs=Object.defineProperty({TagContentType:m0,parse:io},"__esModule",{value:!0}),oo=Bt.ParseSourceSpan,Ks=Bt.ParseLocation,zs=Bt.ParseSourceFile,Rn=wa.inferParserByLanguage,Q=G.HTML_ELEMENT_ATTRIBUTES,Qc=G.HTML_TAGS,qs=G.isUnknownNamespace,Xs=Yu.hasPragma,Js=Ia.Node,Ys=jc.parseIeConditionalComment,fn=Rc.locStart,Zc=Rc.locEnd;function g0(C,h,m){var g=h.recognizeSelfClosing,A=h.normalizeTagName,x=h.normalizeAttributeName,I=h.allowHtmComponentClosingTags,M=h.isTagNameCaseSensitive,X=h.getTagContentType,he=Hs,me=ln.RecursiveVisitor,V=ln.visitAll,_=Bt.ParseSourceSpan,H=jn.getHtmlTagDefinition,Fe=he.parse(C,{canSelfClose:g,allowHtmComponentClosingTags:I,isTagNameCaseSensitive:M,getTagContentType:X}),te=Fe.rootNodes,ye=Fe.errors;if(m.parser==="vue")if(te.some(function(Dr){return Dr.type==="docType"&&Dr.value==="html"||Dr.type==="element"&&Dr.name.toLowerCase()==="html"})){g=!0,A=!0,x=!0,I=!0,M=!1;var Ce=he.parse(C,{canSelfClose:g,allowHtmComponentClosingTags:I,isTagNameCaseSensitive:M});te=Ce.rootNodes,ye=Ce.errors}else{var Le=function($t){if(!$t||$t.type!=="element"||$t.name!=="template")return!1;var zt=$t.attrs.find(function(gr){return gr.name==="lang"}),mr=zt&&zt.value;return!mr||Rn(mr,m)==="html"};if(te.some(Le))for(var Ue,$=function(){return he.parse(C,{canSelfClose:g,allowHtmComponentClosingTags:I,isTagNameCaseSensitive:M})},z=function(){return Ue||(Ue=$())},N=function($t){return z().rootNodes.find(function(zt){var mr=zt.startSourceSpan;return mr&&mr.start.offset===$t.startSourceSpan.start.offset})},U=0;U<te.length;U++){var ue=te[U],se=ue.endSourceSpan,He=ue.startSourceSpan;if(se===null)ye=z().errors,te[U]=N(ue)||ue;else if(Le(ue)){var Ze=z(),ot=He.end.offset,rr=se.start.offset,Ut=de(Ze.errors),dr;try{for(Ut.s();!(dr=Ut.n()).done;){var Wr=dr.value,dn=Wr.span.start.offset;if(ot<dn&&dn<rr){ye=[Wr];break}}}catch(Dr){Ut.e(Dr)}finally{Ut.f()}te[U]=N(ue)||ue}}}if(ye.length>0){var qr=ye[0],tu=qr.msg,ea=qr.span,ta=ea.start,hr=ea.end;throw $u(tu,{start:{line:ta.line+1,column:ta.col+1},end:{line:hr.line+1,column:hr.col+1}})}var nr=function($t){var zt=$t.name.startsWith(":")?$t.name.slice(1).split(":")[0]:null,mr=$t.nameSpan.toString(),gr=zt!==null&&mr.startsWith("".concat(zt,":")),et=gr?mr.slice(zt.length+1):mr;$t.name=et,$t.namespace=zt,$t.hasExplicitNamespace=gr},ht=function($t,zt){var mr=$t.toLowerCase();return zt(mr)?mr:$t};return V(new(function(Dr){Gt(zt,Dr);var $t=Ht(zt);function zt(){return pe(this,zt),$t.apply(this,arguments)}return fe(zt,[{key:"visit",value:function(gr){(function(et){if(et.type==="element"){nr(et);var Xr=de(et.attrs),Bu;try{for(Xr.s();!(Bu=Xr.n()).done;){var Jr=Bu.value;nr(Jr),Jr.valueSpan?(Jr.value=Jr.valueSpan.toString(),/["']/.test(Jr.value[0])&&(Jr.value=Jr.value.slice(1,-1))):Jr.value=null}}catch(hn){Xr.e(hn)}finally{Xr.f()}}else et.type==="comment"?et.value=et.sourceSpan.toString().slice(4,-3):et.type==="text"&&(et.value=et.sourceSpan.toString())})(gr),function(et){if(et.type==="element"){var Xr=H(M?et.name:et.name.toLowerCase());!et.namespace||et.namespace===Xr.implicitNamespacePrefix||qs(et)?et.tagDefinition=Xr:et.tagDefinition=H("")}}(gr),function(et){et.type==="element"&&(!A||et.namespace&&et.namespace!==et.tagDefinition.implicitNamespacePrefix&&!qs(et)||(et.name=ht(et.name,function(Xr){return Xr in Qc})),x)&&function(){var Xr=Q[et.name]||Object.create(null),Bu=de(et.attrs),Jr;try{for(Bu.s();!(Jr=Bu.n()).done;){var hn=Jr.value;hn.namespace||(hn.name=ht(hn.name,function(wu){return et.name in Q&&(wu in Q["*"]||wu in Xr)}))}}catch(wu){Bu.e(wu)}finally{Bu.f()}}()}(gr),function(et){et.sourceSpan&&et.endSourceSpan&&(et.sourceSpan=new _(et.sourceSpan.start,et.endSourceSpan.end))}(gr)}}]),zt}(me)),te),te}function eu(C,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,A=g?Qf(C):{frontMatter:null,content:C},x=A.frontMatter,I=A.content,M=new zs(C,h.filepath),X=new Ks(M,0,0,0),he=X.moveBy(C.length),me={type:"root",sourceSpan:new oo(X,he),children:g0(I,m,h)};if(x){var V=new Ks(M,0,0,0),_=V.moveBy(x.raw.length);x.sourceSpan=new oo(V,_),me.children.unshift(x)}var H=new Js(me),Fe=function(ye,Ce){var Le=Ce.offset,Ue=eu(C.slice(0,Le).replace(/[^\n\r]/g," ")+ye,h,m,!1);Ue.sourceSpan=new oo(Ce,ps(Ue.children).sourceSpan.end);var $=Ue.children[0];return $.length===Le?Ue.children.shift():($.sourceSpan=new oo($.sourceSpan.start.moveBy(Le),$.sourceSpan.end),$.value=$.value.slice(Le)),Ue};return H.map(function(te){if(te.type==="comment"){var ye=Ys(te,Fe);if(ye)return ye}return te})}function Ma(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=C.recognizeSelfClosing,m=h===void 0?!1:h,g=C.normalizeTagName,A=g===void 0?!1:g,x=C.normalizeAttributeName,I=x===void 0?!1:x,M=C.allowHtmComponentClosingTags,X=M===void 0?!1:M,he=C.isTagNameCaseSensitive,me=he===void 0?!1:he,V=C.getTagContentType;return{parse:function(H,Fe,te){return eu(H,te,{recognizeSelfClosing:m,normalizeTagName:A,normalizeAttributeName:I,allowHtmComponentClosingTags:X,isTagNameCaseSensitive:me,getTagContentType:V})},hasPragma:Xs,astFormat:"html",locStart:fn,locEnd:Zc}}return{parsers:{html:Ma({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ma(),vue:Ma({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:function(h,m,g,A){if(h.toLowerCase()!=="html"&&!g&&(h!=="template"||A.some(function(x){var I=x.name,M=x.value;return I==="lang"&&M!=="html"})))return Hs.TagContentType.RAW_TEXT}}),lwc:Ma()}}})})(fm);var Bb=(0,mu.g)(fm.exports),dm={exports:{}};(function(ee,ve){(function(Pe,Ne){ee.exports=Ne()})(mu.c,function(){function Pe(t,e){if(t==null)return{};var r,n,u={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(u[r]=t[r]);return u}function Ne(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var dt={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},bt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof mu.c!="undefined"?mu.c:typeof self!="undefined"?self:{};function Er(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ge(t){var e={exports:{}};return t(e,e.exports),e.exports}var xt=Ge(function(t,e){function r(){}function n(a,i,o,s,l){for(var c=0,p=i.length,f=0,d=0;c<p;c++){var D=i[c];if(D.removed){if(D.value=a.join(s.slice(d,d+D.count)),d+=D.count,c&&i[c-1].added){var v=i[c-1];i[c-1]=i[c],i[c]=v}}else{if(!D.added&&l){var y=o.slice(f,f+D.count);y=y.map(function(T,S){var B=s[d+S];return B.length>T.length?B:T}),D.value=a.join(y)}else D.value=a.join(o.slice(f,f+D.count));f+=D.count,D.added||(d+=D.count)}}var b=i[p-1];return p>1&&typeof b.value=="string"&&(b.added||b.removed)&&a.equals("",b.value)&&(i[p-2].value+=b.value,i.pop()),i}function u(a){return{newPos:a.newPos,components:a.components.slice(0)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,r.prototype={diff:function(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=s.callback;typeof s=="function"&&(l=s,s={}),this.options=s;var c=this;function p(B){return l?(setTimeout(function(){l(void 0,B)},0),!0):B}i=this.castInput(i),o=this.castInput(o),i=this.removeEmpty(this.tokenize(i));var f=(o=this.removeEmpty(this.tokenize(o))).length,d=i.length,D=1,v=f+d,y=[{newPos:-1,components:[]}],b=this.extractCommon(y[0],o,i,0);if(y[0].newPos+1>=f&&b+1>=d)return p([{value:this.join(o),count:o.length}]);function T(){for(var B=-1*D;B<=D;B+=2){var w=void 0,F=y[B-1],P=y[B+1],k=(P?P.newPos:0)-B;F&&(y[B-1]=void 0);var R=F&&F.newPos+1<f,W=P&&0<=k&&k<d;if(R||W){if(!R||W&&F.newPos<P.newPos?(w=u(P),c.pushComponent(w.components,void 0,!0)):((w=F).newPos++,c.pushComponent(w.components,!0,void 0)),k=c.extractCommon(w,o,i,B),w.newPos+1>=f&&k+1>=d)return p(n(c,w.components,o,i,c.useLongestToken));y[B]=w}else y[B]=void 0}D++}if(l)(function B(){setTimeout(function(){if(D>v)return l();T()||B()},0)})();else for(;D<=v;){var S=T();if(S)return S}},pushComponent:function(i,o,s){var l=i[i.length-1];l&&l.added===o&&l.removed===s?i[i.length-1]={count:l.count+1,added:o,removed:s}:i.push({count:1,added:o,removed:s})},extractCommon:function(i,o,s,l){for(var c=o.length,p=s.length,f=i.newPos,d=f-l,D=0;f+1<c&&d+1<p&&this.equals(o[f+1],s[d+1]);)f++,d++,D++;return D&&i.components.push({count:D}),i.newPos=f,d},equals:function(i,o){return this.options.comparator?this.options.comparator(i,o):i===o||this.options.ignoreCase&&i.toLowerCase()===o.toLowerCase()},removeEmpty:function(i){for(var o=[],s=0;s<i.length;s++)i[s]&&o.push(i[s]);return o},castInput:function(i){return i},tokenize:function(i){return i.split("")},join:function(i){return i.join("")}}}),zr=Ge(function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.diffChars=function(u,a,i){return n.diff(u,a,i)},e.characterDiff=void 0;var n=new((r=xt)&&r.__esModule?r:{default:r}).default;e.characterDiff=n}),Wf=function(e,r){if(typeof e=="function")r.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},tc=Object.defineProperty({generateOptions:Wf},"__esModule",{value:!0}),rc=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.diffWords=function(o,s,l){return l=(0,tc.generateOptions)(l,{ignoreWhitespace:!0}),i.diff(o,s,l)},e.diffWordsWithSpace=function(o,s,l){return i.diff(o,s,l)},e.wordDiff=void 0;var r,n=(r=xt)&&r.__esModule?r:{default:r},u=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,a=/\S/,i=new n.default;e.wordDiff=i,i.equals=function(o,s){return this.options.ignoreCase&&(o=o.toLowerCase(),s=s.toLowerCase()),o===s||this.options.ignoreWhitespace&&!a.test(o)&&!a.test(s)},i.tokenize=function(o){for(var s=o.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),l=0;l<s.length-1;l++)!s[l+1]&&s[l+2]&&u.test(s[l])&&u.test(s[l+2])&&(s[l]+=s[l+2],s.splice(l+1,2),l--);return s}}),Fa=Ge(function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.diffLines=function(u,a,i){return n.diff(u,a,i)},e.diffTrimmedLines=function(u,a,i){var o=(0,tc.generateOptions)(i,{ignoreWhitespace:!0});return n.diff(u,a,o)},e.lineDiff=void 0;var n=new((r=xt)&&r.__esModule?r:{default:r}).default;e.lineDiff=n,n.tokenize=function(u){var a=[],i=u.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(var o=0;o<i.length;o++){var s=i[o];o%2&&!this.options.newlineIsToken?a[a.length-1]+=s:(this.options.ignoreWhitespace&&(s=s.trim()),a.push(s))}return a}}),os=Ge(function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.diffSentences=function(u,a,i){return n.diff(u,a,i)},e.sentenceDiff=void 0;var n=new((r=xt)&&r.__esModule?r:{default:r}).default;e.sentenceDiff=n,n.tokenize=function(u){return u.split(/(\S.+?[.!?])(?=\s+|$)/)}}),Vf=Ge(function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.diffCss=function(u,a,i){return n.diff(u,a,i)},e.cssDiff=void 0;var n=new((r=xt)&&r.__esModule?r:{default:r}).default;e.cssDiff=n,n.tokenize=function(u){return u.split(/([{}:;,]|\s+)/)}}),nc=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.diffJson=function(s,l,c){return i.diff(s,l,c)},e.canonicalize=o,e.jsonDiff=void 0;var r,n=(r=xt)&&r.__esModule?r:{default:r};function u(s){return(u=typeof Symbol=="function"&&we(Symbol.iterator)=="symbol"?function(l){return we(l)}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":we(l)})(s)}var a=Object.prototype.toString,i=new n.default;function o(s,l,c,p,f){var d,D;for(l=l||[],c=c||[],p&&(s=p(f,s)),d=0;d<l.length;d+=1)if(l[d]===s)return c[d];if(a.call(s)==="[object Array]"){for(l.push(s),D=new Array(s.length),c.push(D),d=0;d<s.length;d+=1)D[d]=o(s[d],l,c,p,f);return l.pop(),c.pop(),D}if(s&&s.toJSON&&(s=s.toJSON()),u(s)==="object"&&s!==null){l.push(s),D={},c.push(D);var v,y=[];for(v in s)s.hasOwnProperty(v)&&y.push(v);for(y.sort(),d=0;d<y.length;d+=1)D[v=y[d]]=o(s[v],l,c,p,v);l.pop(),c.pop()}else D=s;return D}e.jsonDiff=i,i.useLongestToken=!0,i.tokenize=Fa.lineDiff.tokenize,i.castInput=function(s){var l=this.options,c=l.undefinedReplacement,p=l.stringifyReplacer,f=p===void 0?function(d,D){return D===void 0?c:D}:p;return typeof s=="string"?s:JSON.stringify(o(s,null,null,f),f," ")},i.equals=function(s,l){return n.default.prototype.equals.call(i,s.replace(/,([\r\n])/g,"$1"),l.replace(/,([\r\n])/g,"$1"))}}),Gf=Ge(function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=function(u,a,i){return n.diff(u,a,i)},e.arrayDiff=void 0;var n=new((r=xt)&&r.__esModule?r:{default:r}).default;e.arrayDiff=n,n.tokenize=function(u){return u.slice()},n.join=n.removeEmpty=function(u){return u}}),Hf=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=[],i=0;function o(){var c={};for(a.push(c);i<n.length;){var p=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(p))break;var f=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(p);f&&(c.index=f[1]),i++}for(s(c),s(c),c.hunks=[];i<n.length;){var d=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(d))break;if(/^@@/.test(d))c.hunks.push(l());else{if(d&&r.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(d));i++}}}function s(c){var p=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(p){var f=p[1]==="---"?"old":"new",d=p[2].split(" ",2),D=d[0].replace(/\\\\/g,"\\");/^".*"$/.test(D)&&(D=D.substr(1,D.length-2)),c[f+"FileName"]=D,c[f+"Header"]=(d[1]||"").trim(),i++}}function l(){var c=i,p=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),f={oldStart:+p[1],oldLines:p[2]===void 0?1:+p[2],newStart:+p[3],newLines:p[4]===void 0?1:+p[4],lines:[],linedelimiters:[]};f.oldLines===0&&(f.oldStart+=1),f.newLines===0&&(f.newStart+=1);for(var d=0,D=0;i<n.length&&!(n[i].indexOf("--- ")===0&&i+2<n.length&&n[i+1].indexOf("+++ ")===0&&n[i+2].indexOf("@@")===0);i++){var v=n[i].length==0&&i!=n.length-1?" ":n[i][0];if(v!=="+"&&v!=="-"&&v!==" "&&v!=="\\")break;f.lines.push(n[i]),f.linedelimiters.push(u[i]||`
|
|
112
|
+
`),v==="+"?d++:v==="-"?D++:v===" "&&(d++,D++)}if(d||f.newLines!==1||(f.newLines=0),D||f.oldLines!==1||(f.oldLines=0),r.strict){if(d!==f.newLines)throw new Error("Added line count did not match for hunk at line "+(c+1));if(D!==f.oldLines)throw new Error("Removed line count did not match for hunk at line "+(c+1))}return f}for(;i<n.length;)o();return a},wi,Pi=Object.defineProperty({parsePatch:Hf},"__esModule",{value:!0}),Kf=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r,n,u){var a=!0,i=!1,o=!1,s=1;return function l(){if(a&&!o){if(i?s++:a=!1,r+s<=u)return s;o=!0}if(!i)return o||(a=!0),n<=r-s?-s++:(i=!0,l())}}}),uc=ic,ac=function(e,r){typeof e=="string"&&(e=(0,Pi.parsePatch)(e));var n=0;(function u(){var a=e[n++];if(!a)return r.complete();r.loadFile(a,function(i,o){if(i)return r.complete(i);var s=ic(o,a,r);r.patched(a,s,function(l){if(l)return r.complete(l);u()})})})()},zf=(wi=Kf)&&wi.__esModule?wi:{default:wi};function ic(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string"&&(e=(0,Pi.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}var n,u,a=t.split(/\r\n|[\n\v\f\r\x85]/),i=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=e.hunks,s=r.compareLine||function(ie,be,ce,oe){return be===oe},l=0,c=r.fuzzFactor||0,p=0,f=0;function d(ie,be){for(var ce=0;ce<ie.lines.length;ce++){var oe=ie.lines[ce],Ae=oe.length>0?oe[0]:" ",ze=oe.length>0?oe.substr(1):oe;if(Ae===" "||Ae==="-"){if(!s(be+1,a[be],Ae,ze)&&++l>c)return!1;be++}}return!0}for(var D=0;D<o.length;D++){for(var v=o[D],y=a.length-v.oldLines,b=0,T=f+v.oldStart-1,S=(0,zf.default)(T,p,y);b!==void 0;b=S())if(d(v,T+b)){v.offset=f+=b;break}if(b===void 0)return!1;p=v.offset+v.oldStart+v.oldLines}for(var B=0,w=0;w<o.length;w++){var F=o[w],P=F.oldStart+F.offset+B-1;B+=F.newLines-F.oldLines;for(var k=0;k<F.lines.length;k++){var R=F.lines[k],W=R.length>0?R[0]:" ",L=R.length>0?R.substr(1):R,j=F.linedelimiters[k];if(W===" ")P++;else if(W==="-")a.splice(P,1),i.splice(P,1);else if(W==="+")a.splice(P,0,L),i.splice(P,0,j),P++;else if(W==="\\"){var q=F.lines[k-1]?F.lines[k-1][0]:null;q==="+"?n=!0:q==="-"&&(u=!0)}}}if(n)for(;!a[a.length-1];)a.pop(),i.pop();else u&&(a.push(""),i.push(`
|
|
113
|
+
`));for(var ae=0;ae<a.length-1;ae++)a[ae]=a[ae]+i[ae];return a.join("")}var oc=Object.defineProperty({applyPatch:uc,applyPatches:ac},"__esModule",{value:!0}),qf=sc,Xf=lc,Jf=cc,Yf=function(e,r,n,u,a,i){return cc(e,e,r,n,u,a,i)};function Uu(t){return function(e){if(Array.isArray(e))return ss(e)}(t)||function(e){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,r){if(!!e){if(typeof e=="string")return ss(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ss(e,r)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
114
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ss(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sc(t,e,r,n,u,a,i){i||(i={}),i.context===void 0&&(i.context=4);var o=(0,Fa.diffLines)(r,n,i);function s(b){return b.map(function(T){return" "+T})}o.push({value:"",lines:[]});for(var l=[],c=0,p=0,f=[],d=1,D=1,v=function(T){var S=o[T],B=S.lines||S.value.replace(/\n$/,"").split(`
|
|
115
|
+
`);if(S.lines=B,S.added||S.removed){var w;if(!c){var F=o[T-1];c=d,p=D,F&&(f=i.context>0?s(F.lines.slice(-i.context)):[],c-=f.length,p-=f.length)}(w=f).push.apply(w,Uu(B.map(function(ae){return(S.added?"+":"-")+ae}))),S.added?D+=B.length:d+=B.length}else{if(c)if(B.length<=2*i.context&&T<o.length-2){var P;(P=f).push.apply(P,Uu(s(B)))}else{var k,R=Math.min(B.length,i.context);(k=f).push.apply(k,Uu(s(B.slice(0,R))));var W={oldStart:c,oldLines:d-c+R,newStart:p,newLines:D-p+R,lines:f};if(T>=o.length-2&&B.length<=i.context){var L=/\n$/.test(r),j=/\n$/.test(n),q=B.length==0&&f.length>W.oldLines;!L&&q&&r.length>0&&f.splice(W.oldLines,0,"\"),(L||q)&&j||f.push("\")}l.push(W),c=0,p=0,f=[]}d+=B.length,D+=B.length}},y=0;y<o.length;y++)v(y);return{oldFileName:t,newFileName:e,oldHeader:u,newHeader:a,hunks:l}}function lc(t){var e=[];t.oldFileName==t.newFileName&&e.push("Index: "+t.oldFileName),e.push("==================================================================="),e.push("--- "+t.oldFileName+(t.oldHeader===void 0?"":" "+t.oldHeader)),e.push("+++ "+t.newFileName+(t.newHeader===void 0?"":" "+t.newHeader));for(var r=0;r<t.hunks.length;r++){var n=t.hunks[r];n.oldLines===0&&(n.oldStart-=1),n.newLines===0&&(n.newStart-=1),e.push("@@ -"+n.oldStart+","+n.oldLines+" +"+n.newStart+","+n.newLines+" @@"),e.push.apply(e,n.lines)}return e.join(`
|
|
116
|
+
`)+`
|
|
117
|
+
`}function cc(t,e,r,n,u,a,i){return lc(sc(t,e,r,n,u,a,i))}var Ni=Object.defineProperty({structuredPatch:qf,formatPatch:Xf,createTwoFilesPatch:Jf,createPatch:Yf},"__esModule",{value:!0}),Oi=function(e,r){return e.length!==r.length?!1:Bt(e,r)},ls=Bt;function Bt(t,e){if(e.length>t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var cs=Object.defineProperty({arrayEqual:Oi,arrayStartsWith:ls},"__esModule",{value:!0}),Qf=ds,ps=function(e,r,n){e=hs(e,n),r=hs(r,n);var u={};(e.index||r.index)&&(u.index=e.index||r.index),(e.newFileName||r.newFileName)&&(pc(e)?pc(r)?(u.oldFileName=ba(u,e.oldFileName,r.oldFileName),u.newFileName=ba(u,e.newFileName,r.newFileName),u.oldHeader=ba(u,e.oldHeader,r.oldHeader),u.newHeader=ba(u,e.newHeader,r.newHeader)):(u.oldFileName=e.oldFileName,u.newFileName=e.newFileName,u.oldHeader=e.oldHeader,u.newHeader=e.newHeader):(u.oldFileName=r.oldFileName||e.oldFileName,u.newFileName=r.newFileName||e.newFileName,u.oldHeader=r.oldHeader||e.oldHeader,u.newHeader=r.newHeader||e.newHeader)),u.hunks=[];for(var a=0,i=0,o=0,s=0;a<e.hunks.length||i<r.hunks.length;){var l=e.hunks[a]||{oldStart:1/0},c=r.hunks[i]||{oldStart:1/0};if(Ds(l,c))u.hunks.push(fc(l,o)),a++,s+=l.newLines-l.oldLines;else if(Ds(c,l))u.hunks.push(fc(c,s)),i++,o+=c.newLines-c.oldLines;else{var p={oldStart:Math.min(l.oldStart,c.oldStart),oldLines:0,newStart:Math.min(l.newStart+o,c.oldStart+s),newLines:0,lines:[]};dc(p,l.oldStart,l.lines,c.oldStart,c.lines),i++,a++,u.hunks.push(p)}}return u};function $u(t){return function(e){if(Array.isArray(e))return fs(e)}(t)||function(e){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,r){if(!!e){if(typeof e=="string")return fs(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fs(e,r)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
118
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function fs(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ds(t){var e=Nn(t.lines),r=e.oldLines,n=e.newLines;r!==void 0?t.oldLines=r:delete t.oldLines,n!==void 0?t.newLines=n:delete t.newLines}function hs(t,e){if(typeof t=="string"){if(/^@@/m.test(t)||/^Index:/m.test(t))return(0,Pi.parsePatch)(t)[0];if(!e)throw new Error("Must provide a base reference or pass in a patch");return(0,Ni.structuredPatch)(void 0,void 0,e,t)}return t}function pc(t){return t.newFileName&&t.newFileName!==t.oldFileName}function ba(t,e,r){return e===r?e:(t.conflict=!0,{mine:e,theirs:r})}function Ds(t,e){return t.oldStart<e.oldStart&&t.oldStart+t.oldLines<e.oldStart}function fc(t,e){return{oldStart:t.oldStart,oldLines:t.oldLines,newStart:t.newStart+e,newLines:t.newLines,lines:t.lines}}function dc(t,e,r,n,u){var a={offset:e,lines:r,index:0},i={offset:n,lines:u,index:0};for(ms(t,a,i),ms(t,i,a);a.index<a.lines.length&&i.index<i.lines.length;){var o=a.lines[a.index],s=i.lines[i.index];if(o[0]!=="-"&&o[0]!=="+"||s[0]!=="-"&&s[0]!=="+")if(o[0]==="+"&&s[0]===" "){var l;(l=t.lines).push.apply(l,$u(Cr(a)))}else if(s[0]==="+"&&o[0]===" "){var c;(c=t.lines).push.apply(c,$u(Cr(i)))}else o[0]==="-"&&s[0]===" "?ki(t,a,i):s[0]==="-"&&o[0]===" "?ki(t,i,a,!0):o===s?(t.lines.push(o),a.index++,i.index++):vu(t,Cr(a),Cr(i));else Wu(t,a,i)}gs(t,a),gs(t,i),ds(t)}function Wu(t,e,r){var n=Cr(e),u=Cr(r);if(Pn(n)&&Pn(u)){var a,i;if((0,cs.arrayStartsWith)(n,u)&&vs(r,n,n.length-u.length))return void(a=t.lines).push.apply(a,$u(n));if((0,cs.arrayStartsWith)(u,n)&&vs(e,u,u.length-n.length))return void(i=t.lines).push.apply(i,$u(u))}else if((0,cs.arrayEqual)(n,u)){var o;return void(o=t.lines).push.apply(o,$u(n))}vu(t,n,u)}function ki(t,e,r,n){var u,a=Cr(e),i=function(o,s){for(var l=[],c=[],p=0,f=!1,d=!1;p<s.length&&o.index<o.lines.length;){var D=o.lines[o.index],v=s[p];if(v[0]==="+")break;if(f=f||D[0]!==" ",c.push(v),p++,D[0]==="+")for(d=!0;D[0]==="+";)l.push(D),D=o.lines[++o.index];v.substr(1)===D.substr(1)?(l.push(D),o.index++):d=!0}if((s[p]||"")[0]==="+"&&f&&(d=!0),d)return l;for(;p<s.length;)c.push(s[p++]);return{merged:c,changes:l}}(r,a);i.merged?(u=t.lines).push.apply(u,$u(i.merged)):vu(t,n?i:a,n?a:i)}function vu(t,e,r){t.conflict=!0,t.lines.push({conflict:!0,mine:e,theirs:r})}function ms(t,e,r){for(;e.offset<r.offset&&e.index<e.lines.length;){var n=e.lines[e.index++];t.lines.push(n),e.offset++}}function gs(t,e){for(;e.index<e.lines.length;){var r=e.lines[e.index++];t.lines.push(r)}}function Cr(t){for(var e=[],r=t.lines[t.index][0];t.index<t.lines.length;){var n=t.lines[t.index];if(r==="-"&&n[0]==="+"&&(r="+"),r!==n[0])break;e.push(n),t.index++}return e}function Pn(t){return t.reduce(function(e,r){return e&&r[0]==="-"},!0)}function vs(t,e,r){for(var n=0;n<r;n++){var u=e[e.length-r+n].substr(1);if(t.lines[t.index+n]!==" "+u)return!1}return t.index+=r,!0}function Nn(t){var e=0,r=0;return t.forEach(function(n){if(typeof n!="string"){var u=Nn(n.mine),a=Nn(n.theirs);e!==void 0&&(u.oldLines===a.oldLines?e+=u.oldLines:e=void 0),r!==void 0&&(u.newLines===a.newLines?r+=u.newLines:r=void 0)}else r===void 0||n[0]!=="+"&&n[0]!==" "||r++,e===void 0||n[0]!=="-"&&n[0]!==" "||e++}),{oldLines:e,newLines:r}}var On=Object.defineProperty({calcLineCount:Qf,merge:ps},"__esModule",{value:!0}),Vu=function(e){for(var r,n,u=[],a=0;a<e.length;a++)r=e[a],n=r.added?1:r.removed?-1:0,u.push([n,r.value]);return u},Ii=Object.defineProperty({convertChangesToDMP:Vu},"__esModule",{value:!0}),Zf=function(e){for(var r=[],n=0;n<e.length;n++){var u=e[n];u.added?r.push("<ins>"):u.removed&&r.push("<del>"),r.push(hc(u.value)),u.added?r.push("</ins>"):u.removed&&r.push("</del>")}return r.join("")};function hc(t){var e=t;return e=(e=(e=(e=e.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}var Dc=Object.defineProperty({convertChangesToXML:Zf},"__esModule",{value:!0}),yu=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:function(){return zr.diffChars}}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:function(){return rc.diffWords}}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:function(){return rc.diffWordsWithSpace}}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:function(){return Fa.diffLines}}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:function(){return Fa.diffTrimmedLines}}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:function(){return os.diffSentences}}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:function(){return Vf.diffCss}}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:function(){return nc.diffJson}}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:function(){return nc.canonicalize}}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:function(){return Gf.diffArrays}}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:function(){return oc.applyPatch}}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:function(){return oc.applyPatches}}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:function(){return Pi.parsePatch}}),Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return On.merge}}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:function(){return Ni.structuredPatch}}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:function(){return Ni.createTwoFilesPatch}}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:function(){return Ni.createPatch}}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:function(){return Ii.convertChangesToDMP}}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:function(){return Dc.convertChangesToXML}});var r=function(n){return n&&n.__esModule?n:{default:n}}(xt)});function Li(t){return{type:"concat",parts:t}}function mc(t){return{type:"indent",contents:t}}function Gu(t,e){return{type:"align",contents:e,n:t}}function gc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:e.id,contents:t,break:Boolean(e.shouldBreak),expandedStates:e.expandedStates}}var ys={type:"break-parent"},vc={type:"line",hard:!0},yc={type:"line",hard:!0,literal:!0},Hu=Li([vc,ys]),e0=Li([yc,ys]),Sa={concat:Li,join:function(e,r){for(var n=[],u=0;u<r.length;u++)u!==0&&n.push(e),n.push(r[u]);return Li(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Hu,literalline:e0,group:gc,conditionalGroup:function(e,r){return gc(e[0],Object.assign({},r,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:ys,ifBreak:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:r,groupId:n.groupId}},trim:{type:"trim"},indent:mc,indentIfBreak:function(e,r){return{type:"indent-if-break",contents:e,groupId:r.groupId,negate:r.negate}},align:Gu,addAlignmentToDoc:function(e,r,n){var u=e;if(r>0){for(var a=0;a<Math.floor(r/n);++a)u=mc(u);u=Gu(r%n,u),u=Gu(Number.NEGATIVE_INFINITY,u)}return u},markAsRoot:function(e){return Gu({type:"root"},e)},dedentToRoot:function(e){return Gu(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return Gu(-1,e)},hardlineWithoutBreakParent:vc,literallineWithoutBreakParent:yc,label:function(e,r){return{type:"label",label:e,contents:r}}},Mi=function(e){return typeof e=="string"?e.replace(function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=r.onlyFirst,u=n===void 0?!1:n,a=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(a,u?void 0:"g")}(),""):e},Ku=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},ji=Ku,Ec=Ku;ji.default=Ec;var Cc=function(e){if(typeof e!="string"||e.length===0||(e=Mi(e)).length===0)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var r=0,n=0;n<e.length;n++){var u=e.codePointAt(n);u<=31||u>=127&&u<=159||u>=768&&u<=879||(u>65535&&n++,r+=ji(u)?2:1)}return r},Ac=Cc,Fc=Cc;Ac.default=Fc;var Es=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Ot=function(e){return e[e.length-1]},Ri=function(e){for(var r=-1,n=e==null?0:e.length,u={};++r<n;){var a=e[r];u[a[0]]=a[1]}return u},pr=pr!==void 0?pr:typeof self!="undefined"?self:typeof window!="undefined"?window:{};function Cs(){throw new Error("setTimeout has not been defined")}function As(){throw new Error("clearTimeout has not been defined")}var Ur=Cs,Jn=As;function Fs(t){if(Ur===setTimeout)return setTimeout(t,0);if((Ur===Cs||!Ur)&&setTimeout)return Ur=setTimeout,setTimeout(t,0);try{return Ur(t,0)}catch(e){try{return Ur.call(null,t,0)}catch(r){return Ur.call(this,t,0)}}}typeof pr.setTimeout=="function"&&(Ur=setTimeout),typeof pr.clearTimeout=="function"&&(Jn=clearTimeout);var kn,In=[],Eu=!1,Ta=-1;function bc(){Eu&&kn&&(Eu=!1,kn.length?In=kn.concat(In):Ta=-1,In.length&&bs())}function bs(){if(!Eu){var t=Fs(bc);Eu=!0;for(var e=In.length;e;){for(kn=In,In=[];++Ta<e;)kn&&kn[Ta].run();Ta=-1,e=In.length}kn=null,Eu=!1,function(r){if(Jn===clearTimeout)return clearTimeout(r);if((Jn===As||!Jn)&&clearTimeout)return Jn=clearTimeout,clearTimeout(r);try{Jn(r)}catch(n){try{return Jn.call(null,r)}catch(u){return Jn.call(this,r)}}}(t)}}function Ss(t,e){this.fun=t,this.array=e}Ss.prototype.run=function(){this.fun.apply(null,this.array)};function Yn(){}var t0=Yn,r0=Yn,n0=Yn,zu=Yn,Ts=Yn,_i=Yn,Ui=Yn,Ar=pr.performance||{},Cu=Ar.now||Ar.mozNow||Ar.msNow||Ar.oNow||Ar.webkitNow||function(){return new Date().getTime()},u0=new Date,fr={nextTick:function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)r[n-1]=arguments[n];In.push(new Ss(e,r)),In.length!==1||Eu||Fs(bs)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:t0,addListener:r0,once:n0,off:zu,removeListener:Ts,removeAllListeners:_i,emit:Ui,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var r=.001*Cu.call(Ar),n=Math.floor(r),u=Math.floor(r%1*1e9);return e&&(n-=e[0],(u-=e[1])<0&&(n--,u+=1e9)),[n,u]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-u0)/1e3}},xa=we(fr)=="object"&&fr.env&&fr.env.NODE_DEBUG&&/\bsemver\b/i.test(fr.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=console).error.apply(t,["SEMVER"].concat(r))}:function(){},xs={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Sc=Ge(function(t,e){var r=xs.MAX_SAFE_COMPONENT_LENGTH,n=(e=t.exports={}).re=[],u=e.src=[],a=e.t={},i=0,o=function(l,c,p){var f=i++;xa(f,c),a[l]=f,u[f]=c,n[f]=new RegExp(c,p?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(u[a.NUMERICIDENTIFIER],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[a.NUMERICIDENTIFIERLOOSE],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(u[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(u[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(u[a.BUILDIDENTIFIER],"(?:\\.").concat(u[a.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(u[a.MAINVERSION]).concat(u[a.PRERELEASE],"?").concat(u[a.BUILD],"?")),o("FULL","^".concat(u[a.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(u[a.MAINVERSIONLOOSE]).concat(u[a.PRERELEASELOOSE],"?").concat(u[a.BUILD],"?")),o("LOOSE","^".concat(u[a.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(u[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(u[a.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:".concat(u[a.PRERELEASE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[a.PRERELEASELOOSE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAINLOOSE],"$")),o("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),o("COERCERTL",u[a.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(u[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",o("TILDE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(u[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",o("CARET","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(u[a.GTLT],"\\s*(").concat(u[a.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],"|").concat(u[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(u[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAIN],")")+"\\s*$"),o("HYPHENRANGELOOSE","^\\s*(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s*$"),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),a0=["includePrerelease","loose","rtl"],i0=function(e){return e?we(e)!="object"?{loose:!0}:a0.filter(function(r){return e[r]}).reduce(function(r,n){return r[n]=!0,r},{}):{}},qu=/^[0-9]+$/,Tc=function(e,r){var n=qu.test(e),u=qu.test(r);return n&&u&&(e=+e,r=+r),e===r?0:n&&!u?-1:u&&!n?1:e<r?-1:1},Au={compareIdentifiers:Tc,rcompareIdentifiers:function(e,r){return Tc(r,e)}},Bs=xs.MAX_LENGTH,Ba=xs.MAX_SAFE_INTEGER,$i=Sc.re,Wi=Sc.t,on=Au.compareIdentifiers,xc=function(){function t(e,r){if(pe(this,t),r=i0(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: ".concat(e));if(e.length>Bs)throw new TypeError("version is longer than ".concat(Bs," characters"));xa("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;var n=e.trim().match(r.loose?$i[Wi.LOOSE]:$i[Wi.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ba||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ba||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ba||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(u){if(/^[0-9]+$/.test(u)){var a=+u;if(a>=0&&a<Ba)return a}return u}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}return fe(t,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(r){if(xa("SemVer.compare",this.version,this.options,r),!(r instanceof t)){if(typeof r=="string"&&r===this.version)return 0;r=new t(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}},{key:"compareMain",value:function(r){return r instanceof t||(r=new t(r,this.options)),on(this.major,r.major)||on(this.minor,r.minor)||on(this.patch,r.patch)}},{key:"comparePre",value:function(r){if(r instanceof t||(r=new t(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;var n=0;do{var u=this.prerelease[n],a=r.prerelease[n];if(xa("prerelease compare",n,u,a),u===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(u===void 0)return-1;if(u!==a)return on(u,a)}while(++n)}},{key:"compareBuild",value:function(r){r instanceof t||(r=new t(r,this.options));var n=0;do{var u=this.build[n],a=r.build[n];if(xa("prerelease compare",n,u,a),u===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(u===void 0)return-1;if(u!==a)return on(u,a)}while(++n)}},{key:"inc",value:function(r,n){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n),this.inc("pre",n);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var u=this.prerelease.length;--u>=0;)typeof this.prerelease[u]=="number"&&(this.prerelease[u]++,u=-2);u===-1&&this.prerelease.push(0)}n&&(this.prerelease[0]===n?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error("invalid increment argument: ".concat(r))}return this.format(),this.raw=this.version,this}}]),t}(),ws=xc,Vi=function(e,r,n){return new ws(e,n).compare(new ws(r,n))},Bc=function(e,r,n){return Vi(e,r,n)<0},Ps,Ns,Os,Gi,wa,wc,o0=function(e,r,n){return Vi(e,r,n)>=0},ks=Ge(function(t,e){function r(){for(var y=[],b=0;b<arguments.length;b++)y[b]=arguments[b]}function n(){return typeof WeakMap!="undefined"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(b){return!1}}}Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var u=Object.prototype.hasOwnProperty,a=function(b,T){return u.call(b,T)};function i(y,b){for(var T in b)a(b,T)&&(y[T]=b[T]);return y}var o=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(y,b,T){var S=0,B=y[0].match(c);B&&(S=B[1].length);var w=new RegExp("(\\r\\n|\\r|\\n).{0,"+S+"}","g");b&&(y=y.slice(1));var F=T.newline,P=T.trimLeadingNewline,k=T.trimTrailingNewline,R=typeof F=="string",W=y.length;return y.map(function(L,j){return L=L.replace(w,"$1"),j===0&&P&&(L=L.replace(o,"")),j===W-1&&k&&(L=L.replace(s,"")),R&&(L=L.replace(/\r\n|\n|\r/g,function(q){return F})),L})}function d(y,b){for(var T="",S=0,B=y.length;S<B;S++)T+=y[S],S<B-1&&(T+=b[S]);return T}function D(y){return a(y,"raw")&&a(y,"length")}var v=function y(b){var T=n(),S=n();return i(function B(w){for(var F=[],P=1;P<arguments.length;P++)F[P-1]=arguments[P];if(D(w)){var k=w,R=(F[0]===B||F[0]===v)&&p.test(k[0])&&l.test(k[1]),W=R?S:T,L=W.get(k);if(L||(L=f(k,R,b),W.set(k,L)),F.length===0)return L[0];var j=d(L,R?F.slice(1):F);return j}return y(i(i({},b),w||{}))},{string:function(w){return f([w],!1,b)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});e.outdent=v,e.default=v;try{t.exports=v,Object.defineProperty(v,"__esModule",{value:!0}),v.default=v,v.outdent=v}catch(y){}}),Ln=ks.outdent,Is="Config",Hi="Editor",Ki="Other",Mn="Global",Fu="Special",s0={cursorOffset:{since:"1.4.0",category:Fu,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ln(Ps||(Ps=Ne([`
|
|
119
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
120
|
+
This option cannot be used with --range-start and --range-end.
|
|
121
|
+
`]))),cliCategory:Hi},endOfLine:{since:"1.15.0",category:Mn,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Ln(Ns||(Ns=Ne([`
|
|
122
|
+
Maintain existing
|
|
123
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
124
|
+
`])))}]},filepath:{since:"1.4.0",category:Fu,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Ki,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Fu,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Ki},parser:{since:"0.0.10",category:Mn,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return typeof e=="string"||typeof e=="function"},choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Mn,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return typeof e=="string"||we(e)=="object"},cliName:"plugin",cliCategory:Is},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Mn,description:Ln(Os||(Os=Ne([`
|
|
125
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
126
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
127
|
+
Multiple values are accepted.
|
|
128
|
+
`]))),exception:function(e){return typeof e=="string"||we(e)=="object"},cliName:"plugin-search-dir",cliCategory:Is},printWidth:{since:"0.0.0",category:Mn,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Fu,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ln(Gi||(Gi=Ne([`
|
|
129
|
+
Format code ending at a given character offset (exclusive).
|
|
130
|
+
The range will extend forwards to the end of the selected statement.
|
|
131
|
+
This option cannot be used with --cursor-offset.
|
|
132
|
+
`]))),cliCategory:Hi},rangeStart:{since:"1.4.0",category:Fu,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ln(wa||(wa=Ne([`
|
|
133
|
+
Format code starting at a given character offset.
|
|
134
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
135
|
+
This option cannot be used with --cursor-offset.
|
|
136
|
+
`]))),cliCategory:Hi},requirePragma:{since:"1.7.0",category:Fu,type:"boolean",default:!1,description:Ln(wc||(wc=Ne([`
|
|
137
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
138
|
+
in order for it to be formatted.
|
|
139
|
+
`]))),cliCategory:Ki},tabWidth:{type:"int",category:Mn,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Mn,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Mn,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},Ls={compare:Vi,lt:Bc,gte:o0},Pc=dt.version,Nc=s0,zi={getSupportInfo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.plugins,n=r===void 0?[]:r,u=e.showUnreleased,a=u===void 0?!1:u,i=e.showDeprecated,o=i===void 0?!1:i,s=e.showInternal,l=s===void 0?!1:s,c=Pc.split("-",1)[0],p=n.reduce(function(v,y){return[].concat(Z(v),Z(y.languages||[]))},[]).filter(d),f=function(v,y){return Object.entries(v).map(function(b){var T=_e(b,2),S=T[0],B=T[1];return Object.assign(gu({},y,S),B)})}(Object.assign.apply(Object,[{}].concat(Z(n.map(function(v){var y=v.options;return y})),[Nc])),"name").filter(function(v){return d(v)&&D(v)}).sort(function(v,y){return v.name===y.name?0:v.name<y.name?-1:1}).map(function(v){return l?v:Pe(v,["cliName","cliCategory","cliDescription"])}).map(function(v){v=Object.assign({},v),Array.isArray(v.default)&&(v.default=v.default.length===1?v.default[0].value:v.default.filter(d).sort(function(b,T){return Ls.compare(T.since,b.since)})[0].value),Array.isArray(v.choices)&&(v.choices=v.choices.filter(function(b){return d(b)&&D(b)}),v.name==="parser"&&function(b,T,S){var B=new Set(b.choices.map(function(L){return L.value})),w=de(T),F;try{for(w.s();!(F=w.n()).done;){var P=F.value;if(P.parsers){var k=de(P.parsers),R;try{var W=function(){var j=R.value;if(!B.has(j)){B.add(j);var q=S.find(function(ie){return ie.parsers&&ie.parsers[j]}),ae=P.name;q&&q.name&&(ae+=" (plugin: ".concat(q.name,")")),b.choices.push({value:j,description:ae})}};for(k.s();!(R=k.n()).done;)W()}catch(L){k.e(L)}finally{k.f()}}}}catch(L){w.e(L)}finally{w.f()}}(v,p,n));var y=Ri(n.filter(function(b){return b.defaultOptions&&b.defaultOptions[v.name]!==void 0}).map(function(b){return[b.name,b.defaultOptions[v.name]]}));return Object.assign({},v,{pluginDefaults:y})});return{languages:p,options:f};function d(v){return a||!("since"in v)||v.since&&Ls.gte(c,v.since)}function D(v){return o||!("deprecated"in v)||v.deprecated&&Ls.lt(c,v.deprecated)}}},Oc=zi.getSupportInfo,bu=/[^\x20-\x7F]/;function Xu(t){return function(e,r,n){var u=n&&n.backwards;if(r===!1)return!1;for(var a=e.length,i=r;i>=0&&i<a;){var o=e.charAt(i);if(t instanceof RegExp){if(!t.test(o))return i}else if(!t.includes(o))return i;u?i--:i++}return(i===-1||i===a)&&i}}var kc=Xu(/\s/),Qn=Xu(" "),Ms=Xu(",; "),js=Xu(/[^\n\r]/);function qi(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(var r=e+2;r<t.length;++r)if(t.charAt(r)==="*"&&t.charAt(r+1)==="/")return r+2}return e}function Xi(t,e){return e!==!1&&(t.charAt(e)==="/"&&t.charAt(e+1)==="/"?js(t,e):e)}function Su(t,e,r){var n=r&&r.backwards;if(e===!1)return!1;var u=t.charAt(e);if(n){if(t.charAt(e-1)==="\r"&&u===`
|
|
140
|
+
`)return e-2;if(u===`
|
|
141
|
+
`||u==="\r"||u==="\u2028"||u==="\u2029")return e-1}else{if(u==="\r"&&t.charAt(e+1)===`
|
|
142
|
+
`)return e+2;if(u===`
|
|
143
|
+
`||u==="\r"||u==="\u2028"||u==="\u2029")return e+1}return e}function Ju(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Qn(t,r.backwards?e-1:e,r);return n!==Su(t,n,r)}function Tu(t,e){for(var r=null,n=e;n!==r;)r=n,n=Ms(t,n),n=qi(t,n),n=Qn(t,n);return n=Xi(t,n),n=Su(t,n),n!==!1&&Ju(t,n)}function Pa(t,e){for(var r=null,n=e;n!==r;)r=n,n=Qn(t,n),n=qi(t,n),n=Xi(t,n),n=Su(t,n);return n}function Ji(t,e,r){return Pa(t,r(e))}function Ic(t,e){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=0,u=r;u<t.length;++u)t[u]===" "?n=n+e-n%e:n++;return n}function Na(t,e){var r=t.slice(1,-1),n={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},a=e==="'"?u:n,i=a===u?n:u,o=a.quote;return(r.includes(a.quote)||r.includes(i.quote))&&(o=(r.match(a.regex)||[]).length>(r.match(i.regex)||[]).length?i.quote:a.quote),o}function Yi(t,e,r){var n=e==='"'?"'":'"',u=t.replace(/\\([\S\s])|(["'])/g,function(a,i,o){return i===n?i:o===e?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)});return e+u+e}function Oa(t,e){(t.comments||(t.comments=[])).push(e),e.printed=!1,e.nodeDescription=function(r){var n=r.type||r.kind||"(unknown type)",u=String(r.name||r.id&&(we(r.id)=="object"?r.id.name:r.id)||r.key&&(we(r.key)=="object"?r.key.name:r.key)||r.value&&(we(r.value)=="object"?"":String(r.value))||r.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),n+(u?" "+u:"")}(t)}var G={inferParserByLanguage:function(e,r){var n=Oc({plugins:r.plugins}),u=n.languages,a=u.find(function(i){var o=i.name;return o.toLowerCase()===e})||u.find(function(i){var o=i.aliases;return Array.isArray(o)&&o.includes(e)})||u.find(function(i){var o=i.extensions;return Array.isArray(o)&&o.includes(".".concat(e))});return a&&a.parsers[0]},replaceEndOfLineWith:function(e,r){var n=[],u=de(e.split(`
|
|
144
|
+
`)),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;n.length>0&&n.push(r),n.push(i)}}catch(o){u.e(o)}finally{u.f()}return n},getStringWidth:function(e){return e?bu.test(e)?Ac(e):e.length:0},getMaxContinuousCount:function(e,r){var n=e.match(new RegExp("(".concat(Es(r),")+"),"g"));return n===null?0:n.reduce(function(u,a){return Math.max(u,a.length/r.length)},0)},getMinNotPresentContinuousCount:function(e,r){var n=e.match(new RegExp("(".concat(Es(r),")+"),"g"));if(n===null)return 0;var u=new Map,a=0,i=de(n),o;try{for(i.s();!(o=i.n()).done;){var s=o.value,l=s.length/r.length;u.set(l,!0),l>a&&(a=l)}}catch(p){i.e(p)}finally{i.f()}for(var c=1;c<a;c++)if(!u.get(c))return c;return a+1},getPenultimate:function(e){return e[e.length-2]},getLast:Ot,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Pa,getNextNonSpaceNonCommentCharacterIndex:Ji,getNextNonSpaceNonCommentCharacter:function(e,r,n){return e.charAt(Ji(e,r,n))},skip:Xu,skipWhitespace:kc,skipSpaces:Qn,skipToLineEnd:Ms,skipEverythingButNewLine:js,skipInlineComment:qi,skipTrailingComment:Xi,skipNewline:Su,isNextLineEmptyAfterIndex:Tu,isNextLineEmpty:function(e,r,n){return Tu(e,n(r))},isPreviousLineEmpty:function(e,r,n){var u=n(r)-1;return u=Qn(e,u,{backwards:!0}),u=Su(e,u,{backwards:!0}),u=Qn(e,u,{backwards:!0}),u!==Su(e,u,{backwards:!0})},hasNewline:Ju,hasNewlineInRange:function(e,r,n){for(var u=r;u<n;++u)if(e.charAt(u)===`
|
|
145
|
+
`)return!0;return!1},hasSpaces:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Qn(e,n.backwards?r-1:r,n)!==r},getAlignmentSize:Ic,getIndentSize:function(e,r){var n=e.lastIndexOf(`
|
|
146
|
+
`);return n===-1?0:Ic(e.slice(n+1).match(/^[\t ]*/)[0],r)},getPreferredQuote:Na,printString:function(e,r){return Yi(e.slice(1,-1),r.parser==="json"||r.parser==="json5"&&r.quoteProps==="preserve"&&!r.singleQuote?'"':r.__isInHtmlAttribute?"'":Na(e,r.singleQuote?"'":'"'),!(r.parser==="css"||r.parser==="less"||r.parser==="scss"||r.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:Yi,addLeadingComment:function(e,r){r.leading=!0,r.trailing=!1,Oa(e,r)},addDanglingComment:function(e,r,n){r.leading=!1,r.trailing=!1,n&&(r.marker=n),Oa(e,r)},addTrailingComment:function(e,r){r.leading=!1,r.trailing=!0,Oa(e,r)},isFrontMatterNode:function(e){return e&&e.type==="front-matter"},getShebang:function(e){if(!e.startsWith("#!"))return"";var r=e.indexOf(`
|
|
147
|
+
`);return r===-1?e:e.slice(0,r)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){var r=new WeakMap;return function(n){return r.has(n)||r.set(n,Symbol(e)),r.get(n)}}},Yu={guessEndOfLine:function(e){var r=e.indexOf("\r");return r>=0?e.charAt(r+1)===`
|
|
148
|
+
`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r
|
|
149
|
+
`;default:return`
|
|
150
|
+
`}},countEndOfLineChars:function(e,r){var n;if(r===`
|
|
151
|
+
`)n=/\n/g;else if(r==="\r")n=/\r/g;else{if(r!==`\r
|
|
152
|
+
`)throw new Error('Unexpected "eol" '.concat(JSON.stringify(r),"."));n=/\r\n/g}var u=e.match(n);return u?u.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,`
|
|
153
|
+
`)}},Lc=Sa.literalline,Zn=function(e){return Array.isArray(e)||e&&e.type==="concat"},Qu=function(e){if(Array.isArray(e))return e;if(e.type!=="concat"&&e.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},Mc={};function ka(t,e,r,n){for(var u=[t];u.length>0;){var a=u.pop();if(a!==Mc){if(r&&u.push(a,Mc),!e||e(a)!==!1)if(Zn(a)||a.type==="fill")for(var i=Qu(a),o=i.length-1;o>=0;--o)u.push(i[o]);else if(a.type==="if-break")a.flatContents&&u.push(a.flatContents),a.breakContents&&u.push(a.breakContents);else if(a.type==="group"&&a.expandedStates)if(n)for(var s=a.expandedStates.length-1;s>=0;--s)u.push(a.expandedStates[s]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else r(u.pop())}}function Ia(t,e){var r=new Map;return n(t);function n(u){if(r.has(u))return r.get(u);var a=function(i){if(Array.isArray(i))return e(i.map(n));if(i.type==="concat"||i.type==="fill"){var o=i.parts.map(n);return e(Object.assign({},i,{parts:o}))}if(i.type==="if-break"){var s=i.breakContents&&n(i.breakContents),l=i.flatContents&&n(i.flatContents);return e(Object.assign({},i,{breakContents:s,flatContents:l}))}if(i.type==="group"&&i.expandedStates){var c=i.expandedStates.map(n),p=c[0];return e(Object.assign({},i,{contents:p,expandedStates:c}))}if(i.contents){var f=n(i.contents);return e(Object.assign({},i,{contents:f}))}return e(i)}(u);return r.set(u,a),a}}function Qi(t,e,r){var n=r,u=!1;return ka(t,function(a){var i=e(a);if(i!==void 0&&(u=!0,n=i),u)return!1}),n}function l0(t){return!(t.type!=="group"||!t.break)||!(t.type!=="line"||!t.hard)||t.type==="break-parent"||void 0}function jc(t){if(t.length>0){var e=Ot(t);e.expandedStates||e.break||(e.break="propagated")}return null}function Rc(t){return t.type!=="line"||t.hard?t.type==="if-break"?t.flatContents||"":t:t.soft?"":" "}var Kt=function(e,r){return e&&e.type==="line"&&e.hard&&r&&r.type==="break-parent"};function Ye(t){if(!t)return t;if(Zn(t)||t.type==="fill"){for(var e=Qu(t);e.length>1&&Kt.apply(void 0,Z(e.slice(-2)));)e.length-=2;if(e.length>0){var r=Ye(Ot(e));e[e.length-1]=r}return Array.isArray(t)?e:Object.assign({},t,{parts:e})}switch(t.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{var n=Ye(t.contents);return Object.assign({},t,{contents:n})}case"if-break":{var u=Ye(t.breakContents),a=Ye(t.flatContents);return Object.assign({},t,{breakContents:u,flatContents:a})}}return t}function _c(t){return Ia(t,function(e){return function(r){switch(r.type){case"fill":if(r.parts.length===0||r.parts.every(function(p){return p===""}))return"";break;case"group":if(!(r.contents||r.id||r.break||r.expandedStates))return"";if(r.contents.type==="group"&&r.contents.id===r.id&&r.contents.break===r.break&&r.contents.expandedStates===r.expandedStates)return r.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!r.contents)return"";break;case"if-break":if(!r.flatContents&&!r.breakContents)return""}if(!Zn(r))return r;var n=[],u=de(Qu(r)),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;if(!!i){var o=Zn(i)?Qu(i):[i],s=am(o),l=s[0],c=s.slice(1);typeof l=="string"&&typeof Ot(n)=="string"?n[n.length-1]+=l:n.push(l),n.push.apply(n,Z(c))}}}catch(p){u.e(p)}finally{u.f()}return n.length===0?"":n.length===1?n[0]:Array.isArray(r)?n:Object.assign({},r,{parts:n})}(e)})}function Zi(t){for(var e=[],r=t.filter(Boolean);r.length>0;){var n=r.shift();n&&(Zn(n)?r.unshift.apply(r,Z(Qu(n))):e.length>0&&typeof Ot(e)=="string"&&typeof n=="string"?e[e.length-1]+=n:e.push(n))}return e}var xu={isConcat:Zn,getDocParts:Qu,willBreak:function(e){return Qi(e,l0,!1)},traverseDoc:ka,findInDoc:Qi,mapDoc:Ia,propagateBreaks:function(e){var r=new Set,n=[];ka(e,function(u){if(u.type==="break-parent"&&jc(n),u.type==="group"){if(n.push(u),r.has(u))return!1;r.add(u)}},function(u){u.type==="group"&&n.pop().break&&jc(n)},!0)},removeLines:function(e){return Ia(e,Rc)},stripTrailingHardline:function(e){return Ye(_c(e))},normalizeParts:Zi,normalizeDoc:function(e){return Ia(e,function(r){return Array.isArray(r)?Zi(r):r.parts?Object.assign({},r,{parts:Zi(r.parts)}):r})},cleanDoc:_c,replaceNewlinesWithLiterallines:function(e){return Ia(e,function(r){return typeof r=="string"&&r.includes(`
|
|
154
|
+
`)?r.split(/(\n)/g).map(function(n,u){return u%2==0?n:Lc}):r})}},Uc=G.getStringWidth,jn=G.getLast,c0=Yu.convertEndOfLineToChars,p0=Sa.fill,Rs=Sa.cursor,eo=Sa.indent,$c=xu.isConcat,Wc=xu.getDocParts,La;function _s(t,e){return Us(t,{type:"indent"},e)}function Vc(t,e,r){return e===Number.NEGATIVE_INFINITY?t.root||{value:"",length:0,queue:[]}:e<0?Us(t,{type:"dedent"},r):e?e.type==="root"?Object.assign({},t,{root:t}):Us(t,{type:typeof e=="string"?"stringAlign":"numberAlign",n:e},r):t}function Us(t,e,r){var n=e.type==="dedent"?t.queue.slice(0,-1):[].concat(Z(t.queue),[e]),u="",a=0,i=0,o=0,s=de(n),l;try{for(s.s();!(l=s.n()).done;){var c=l.value;switch(c.type){case"indent":d(),r.useTabs?p(1):f(r.tabWidth);break;case"stringAlign":d(),u+=c.n,a+=c.n.length;break;case"numberAlign":i+=1,o+=c.n;break;default:throw new Error("Unexpected type '".concat(c.type,"'"))}}}catch(y){s.e(y)}finally{s.f()}return D(),Object.assign({},t,{value:u,length:a,queue:n});function p(y){u+=" ".repeat(y),a+=r.tabWidth*y}function f(y){u+=" ".repeat(y),a+=y}function d(){r.useTabs?function(){i>0&&p(i),v()}():D()}function D(){o>0&&f(o),v()}function v(){i=0,o=0}}function $s(t){if(t.length===0)return 0;for(var e=0;t.length>0&&typeof jn(t)=="string"&&/^[\t ]*$/.test(jn(t));)e+=t.pop().length;if(t.length>0&&typeof jn(t)=="string"){var r=jn(t).replace(/[\t ]*$/,"");e+=jn(t).length-r.length,t[t.length-1]=r}return e}function Zu(t,e,r,n,u,a){for(var i=e.length,o=[t],s=[];r>=0;){if(o.length===0){if(i===0)return!0;o.push(e[i-1]),i--;continue}var l=o.pop(),c=_e(l,3),p=c[0],f=c[1],d=c[2];if(typeof d=="string")s.push(d),r-=Uc(d);else if($c(d))for(var D=Wc(d),v=D.length-1;v>=0;v--)o.push([p,f,D[v]]);else switch(d.type){case"indent":o.push([_s(p,n),f,d.contents]);break;case"align":o.push([Vc(p,d.n,n),f,d.contents]);break;case"trim":r+=$s(s);break;case"group":{if(a&&d.break)return!1;var y=d.break?1:f;o.push([p,y,d.expandedStates&&y===1?jn(d.expandedStates):d.contents]),d.id&&(La[d.id]=y);break}case"fill":for(var b=d.parts.length-1;b>=0;b--)o.push([p,f,d.parts[b]]);break;case"if-break":case"indent-if-break":{var T=d.groupId?La[d.groupId]:f;if(T===1){var S=d.type==="if-break"?d.breakContents:d.negate?d.contents:eo(d.contents);S&&o.push([p,f,S])}if(T===2){var B=d.type==="if-break"?d.flatContents:d.negate?eo(d.contents):d.contents;B&&o.push([p,f,B])}break}case"line":switch(f){case 2:if(!d.hard){d.soft||(s.push(" "),r-=1);break}return!0;case 1:return!0}break;case"line-suffix":u=!0;break;case"line-suffix-boundary":if(u)return!1;break;case"label":o.push([p,f,d.contents])}}return!1}var f0={printDocToString:function(e,r){La={};for(var n=r.printWidth,u=c0(r.endOfLine),a=0,i=[[{value:"",length:0,queue:[]},1,e]],o=[],s=!1,l=[];i.length>0;){var c=i.pop(),p=_e(c,3),f=p[0],d=p[1],D=p[2];if(typeof D=="string"){var v=u!==`
|
|
155
|
+
`?D.replace(/\n/g,u):D;o.push(v),a+=Uc(v)}else if($c(D))for(var y=Wc(D),b=y.length-1;b>=0;b--)i.push([f,d,y[b]]);else switch(D.type){case"cursor":o.push(Rs.placeholder);break;case"indent":i.push([_s(f,r),d,D.contents]);break;case"align":i.push([Vc(f,D.n,r),d,D.contents]);break;case"trim":a-=$s(o);break;case"group":switch(d){case 2:if(!s){i.push([f,D.break?1:2,D.contents]);break}case 1:{s=!1;var T=[f,2,D.contents],S=n-a,B=l.length>0;if(!D.break&&Zu(T,i,S,r,B))i.push(T);else if(D.expandedStates){var w=jn(D.expandedStates);if(D.break){i.push([f,1,w]);break}for(var F=1;F<D.expandedStates.length+1;F++){if(F>=D.expandedStates.length){i.push([f,1,w]);break}{var P=[f,2,D.expandedStates[F]];if(Zu(P,i,S,r,B)){i.push(P);break}}}}else i.push([f,1,D.contents]);break}}D.id&&(La[D.id]=jn(i)[1]);break;case"fill":{var k=n-a,R=D.parts;if(R.length===0)break;var W=_e(R,2),L=W[0],j=W[1],q=[f,2,L],ae=[f,1,L],ie=Zu(q,[],k,r,l.length>0,!0);if(R.length===1){ie?i.push(q):i.push(ae);break}var be=[f,2,j],ce=[f,1,j];if(R.length===2){ie?i.push(be,q):i.push(ce,ae);break}R.splice(0,2);var oe=[f,d,p0(R)];Zu([f,2,[L,j,R[0]]],[],k,r,l.length>0,!0)?i.push(oe,be,q):ie?i.push(oe,ce,q):i.push(oe,ce,ae);break}case"if-break":case"indent-if-break":{var Ae=D.groupId?La[D.groupId]:d;if(Ae===1){var ze=D.type==="if-break"?D.breakContents:D.negate?D.contents:eo(D.contents);ze&&i.push([f,d,ze])}if(Ae===2){var Oe=D.type==="if-break"?D.flatContents:D.negate?eo(D.contents):D.contents;Oe&&i.push([f,d,Oe])}break}case"line-suffix":l.push([f,d,D.contents]);break;case"line-suffix-boundary":l.length>0&&i.push([f,d,{type:"line",hard:!0}]);break;case"line":switch(d){case 2:if(!D.hard){D.soft||(o.push(" "),a+=1);break}s=!0;case 1:if(l.length>0){i.push.apply(i,[[f,d,D]].concat(Z(l.reverse()))),l=[];break}D.literal?f.root?(o.push(u,f.root.value),a=f.root.length):(o.push(u),a=0):(a-=$s(o),o.push(u+f.value),a=f.length)}break;case"label":i.push([f,d,D.contents])}i.length===0&&l.length>0&&(i.push.apply(i,Z(l.reverse())),l=[])}var We=o.indexOf(Rs.placeholder);if(We!==-1){var Ke=o.indexOf(Rs.placeholder,We+1),ut=o.slice(0,We).join(""),qe=o.slice(We+1,Ke).join("");return{formatted:ut+qe+o.slice(Ke+1).join(""),cursorNodeStart:ut.length,cursorNodeText:qe}}return{formatted:o.join("")}}},to=xu.isConcat,Gc=xu.getDocParts;function sn(t){if(!t)return"";if(to(t)){var e=[],r=de(Gc(t)),n;try{for(r.s();!(n=r.n()).done;){var u=n.value;if(to(u))e.push.apply(e,Z(sn(u).parts));else{var a=sn(u);a!==""&&e.push(a)}}}catch(i){r.e(i)}finally{r.f()}return{type:"concat",parts:e}}return t.type==="if-break"?Object.assign({},t,{breakContents:sn(t.breakContents),flatContents:sn(t.flatContents)}):t.type==="group"?Object.assign({},t,{contents:sn(t.contents),expandedStates:t.expandedStates&&t.expandedStates.map(sn)}):t.type==="fill"?{type:"fill",parts:t.parts.map(sn)}:t.contents?Object.assign({},t,{contents:sn(t.contents)}):t}var De={builders:Sa,printer:f0,utils:xu,debug:{printDocToDebug:function(e){var r=Object.create(null),n=new Set;return function a(i,o,s){if(typeof i=="string")return JSON.stringify(i);if(to(i)){var l=Gc(i).map(a).filter(Boolean);return l.length===1?l[0]:"[".concat(l.join(", "),"]")}if(i.type==="line"){var c=Array.isArray(s)&&s[o+1]&&s[o+1].type==="break-parent";return i.literal?c?"literalline":"literallineWithoutBreakParent":i.hard?c?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type==="break-parent")return Array.isArray(s)&&s[o-1]&&s[o-1].type==="line"&&s[o-1].hard?void 0:"breakParent";if(i.type==="trim")return"trim";if(i.type==="indent")return"indent("+a(i.contents)+")";if(i.type==="align")return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+a(i.contents)+")":i.n<0?"dedent("+a(i.contents)+")":i.n.type==="root"?"markAsRoot("+a(i.contents)+")":"align("+JSON.stringify(i.n)+", "+a(i.contents)+")";if(i.type==="if-break")return"ifBreak("+a(i.breakContents)+(i.flatContents?", "+a(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+", { groupId: ".concat(u(i.groupId)," }"):"")+")";if(i.type==="indent-if-break"){var p=[];i.negate&&p.push("negate: true"),i.groupId&&p.push("groupId: ".concat(u(i.groupId)));var f=p.length>0?", { ".concat(p.join(", ")," }"):"";return"indentIfBreak(".concat(a(i.contents)).concat(f,")")}if(i.type==="group"){var d=[];i.break&&i.break!=="propagated"&&d.push("shouldBreak: true"),i.id&&d.push("id: ".concat(u(i.id)));var D=d.length>0?", { ".concat(d.join(", ")," }"):"";return i.expandedStates?"conditionalGroup([".concat(i.expandedStates.map(function(v){return a(v)}).join(","),"]").concat(D,")"):"group(".concat(a(i.contents)).concat(D,")")}if(i.type==="fill")return"fill([".concat(i.parts.map(function(v){return a(v)}).join(", "),"])");if(i.type==="line-suffix")return"lineSuffix("+a(i.contents)+")";if(i.type==="line-suffix-boundary")return"lineSuffixBoundary";if(i.type==="label")return"label(".concat(JSON.stringify(i.label),", ").concat(a(i.contents),")");throw new Error("Unknown doc type "+i.type)}(sn(e));function u(a){if(we(a)!="symbol")return JSON.stringify(String(a));if(a in r)return r[a];for(var i=String(a).slice(7,-1)||"symbol",o=0;;o++){var s=i+(o>0?" #".concat(o):"");if(!n.has(s))return n.add(s),r[a]="Symbol.for(".concat(JSON.stringify(s),")")}}}}},ln=Object.freeze({__proto__:null,default:{}});function Hc(t,e){for(var r=0,n=t.length-1;n>=0;n--){var u=t[n];u==="."?t.splice(n,1):u===".."?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}var d0=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ws=function(e){return d0.exec(e).slice(1)};function ro(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var n=r>=0?arguments[r]:"/";if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");n&&(t=n+"/"+t,e=n.charAt(0)==="/")}return(e?"/":"")+(t=Hc(uo(t.split("/"),function(u){return!!u}),!e).join("/"))||"."}function Vs(t){var e=rt(t),r=Xc(t,-1)==="/";return(t=Hc(uo(t.split("/"),function(n){return!!n}),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t}function rt(t){return t.charAt(0)==="/"}function cn(){var t=Array.prototype.slice.call(arguments,0);return Vs(uo(t,function(e,r){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Kc(t,e){function r(l){for(var c=0;c<l.length&&l[c]==="";c++);for(var p=l.length-1;p>=0&&l[p]==="";p--);return c>p?[]:l.slice(c,p-c+1)}t=ro(t).substr(1),e=ro(e).substr(1);for(var n=r(t.split("/")),u=r(e.split("/")),a=Math.min(n.length,u.length),i=a,o=0;o<a;o++)if(n[o]!==u[o]){i=o;break}var s=[];for(o=i;o<n.length;o++)s.push("..");return(s=s.concat(u.slice(i))).join("/")}function no(t){var e=Ws(t),r=e[0],n=e[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function zc(t,e){var r=Ws(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}function qc(t){return Ws(t)[3]}var h0={extname:qc,basename:zc,dirname:no,sep:"/",delimiter:":",relative:Kc,join:cn,isAbsolute:rt,normalize:Vs,resolve:ro};function uo(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}var Xc=function(t,e,r){return t.substr(e,r)},Jc=Object.freeze({__proto__:null,resolve:ro,normalize:Vs,isAbsolute:rt,join:cn,relative:Kc,sep:"/",delimiter:":",dirname:no,basename:zc,extname:qc,default:h0}),pn=[],$r=[],D0=typeof Uint8Array!="undefined"?Uint8Array:Array,Gs=!1;function Yc(){Gs=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)pn[e]=t[e],$r[t.charCodeAt(e)]=e;$r["-".charCodeAt(0)]=62,$r["_".charCodeAt(0)]=63}function m0(t,e,r){for(var n,u,a=[],i=e;i<r;i+=3)n=(t[i]<<16)+(t[i+1]<<8)+t[i+2],a.push(pn[(u=n)>>18&63]+pn[u>>12&63]+pn[u>>6&63]+pn[63&u]);return a.join("")}function ao(t){var e;Gs||Yc();for(var r=t.length,n=r%3,u="",a=[],i=16383,o=0,s=r-n;o<s;o+=i)a.push(m0(t,o,o+i>s?s:o+i));return n===1?(e=t[r-1],u+=pn[e>>2],u+=pn[e<<4&63],u+="=="):n===2&&(e=(t[r-2]<<8)+t[r-1],u+=pn[e>>10],u+=pn[e>>4&63],u+=pn[e<<2&63],u+="="),a.push(u),a.join("")}function io(t,e,r,n,u){var a,i,o=8*u-n-1,s=(1<<o)-1,l=s>>1,c=-7,p=r?u-1:0,f=r?-1:1,d=t[e+p];for(p+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+t[e+p],p+=f,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=n;c>0;i=256*i+t[e+p],p+=f,c-=8);if(a===0)a=1-l;else{if(a===s)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=l}return(d?-1:1)*i*Math.pow(2,a-n)}function Hs(t,e,r,n,u,a){var i,o,s,l=8*a-u-1,c=(1<<l)-1,p=c>>1,f=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,D=n?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-i))<1&&(i--,s*=2),(e+=i+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=c?(o=0,i=c):i+p>=1?(o=(e*s-1)*Math.pow(2,u),i+=p):(o=e*Math.pow(2,p-1)*Math.pow(2,u),i=0));u>=8;t[r+d]=255&o,d+=D,o/=256,u-=8);for(i=i<<u|o,l+=u;l>0;t[r+d]=255&i,d+=D,i/=256,l-=8);t[r+d-D]|=128*v}var oo={}.toString,Ks=Array.isArray||function(t){return oo.call(t)=="[object Array]"};function zs(){return Q.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Rn(t,e){if(zs()<e)throw new RangeError("Invalid typed array length");return Q.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Q.prototype:(t===null&&(t=new Q(e)),t.length=e),t}function Q(t,e,r){if(!(Q.TYPED_ARRAY_SUPPORT||this instanceof Q))return new Q(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Xs(this,t)}return Qc(this,t,e,r)}function Qc(t,e,r,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?function(u,a,i,o){if(a.byteLength,i<0||a.byteLength<i)throw new RangeError("'offset' is out of bounds");if(a.byteLength<i+(o||0))throw new RangeError("'length' is out of bounds");return a=i===void 0&&o===void 0?new Uint8Array(a):o===void 0?new Uint8Array(a,i):new Uint8Array(a,i,o),Q.TYPED_ARRAY_SUPPORT?(u=a).__proto__=Q.prototype:u=Js(u,a),u}(t,e,r,n):typeof e=="string"?function(u,a,i){if(typeof i=="string"&&i!==""||(i="utf8"),!Q.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var o=0|Zc(a,i),s=(u=Rn(u,o)).write(a,i);return s!==o&&(u=u.slice(0,s)),u}(t,e,r):function(u,a){if(fn(a)){var i=0|Ys(a.length);return(u=Rn(u,i)).length===0||a.copy(u,0,0,i),u}if(a){if(typeof ArrayBuffer!="undefined"&&a.buffer instanceof ArrayBuffer||"length"in a)return typeof a.length!="number"||(o=a.length)!=o?Rn(u,0):Js(u,a);if(a.type==="Buffer"&&Ks(a.data))return Js(u,a.data)}var o;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function qs(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Xs(t,e){if(qs(e),t=Rn(t,e<0?0:0|Ys(e)),!Q.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Js(t,e){var r=e.length<0?0:0|Ys(e.length);t=Rn(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Ys(t){if(t>=zs())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+zs().toString(16)+" bytes");return 0|t}function fn(t){return!(t==null||!t._isBuffer)}function Zc(t,e){if(fn(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ue(t).length;default:if(n)return U(t).length;e=(""+e).toLowerCase(),n=!0}}function g0(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return _(this,e,r);case"utf8":case"utf-8":return X(this,e,r);case"ascii":return me(this,e,r);case"latin1":case"binary":return V(this,e,r);case"base64":return M(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function eu(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Ma(t,e,r,n,u){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=u?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(u)return-1;r=t.length-1}else if(r<0){if(!u)return-1;r=0}if(typeof e=="string"&&(e=Q.from(e,n)),fn(e))return e.length===0?-1:C(t,e,r,n,u);if(typeof e=="number")return e&=255,Q.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?u?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):C(t,[e],r,n,u);throw new TypeError("val must be string, number or Buffer")}function C(t,e,r,n,u){var a,i=1,o=t.length,s=e.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,o/=2,s/=2,r/=2}function l(d,D){return i===1?d[D]:d.readUInt16BE(D*i)}if(u){var c=-1;for(a=r;a<o;a++)if(l(t,a)===l(e,c===-1?0:a-c)){if(c===-1&&(c=a),a-c+1===s)return c*i}else c!==-1&&(a-=a-c),c=-1}else for(r+s>o&&(r=o-s),a=r;a>=0;a--){for(var p=!0,f=0;f<s;f++)if(l(t,a+f)!==l(e,f)){p=!1;break}if(p)return a}return-1}function h(t,e,r,n){r=Number(r)||0;var u=t.length-r;n?(n=Number(n))>u&&(n=u):n=u;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var o=parseInt(e.substr(2*i,2),16);if(isNaN(o))return i;t[r+i]=o}return i}function m(t,e,r,n){return se(U(e,t.length-r),t,r,n)}function g(t,e,r,n){return se(function(u){for(var a=[],i=0;i<u.length;++i)a.push(255&u.charCodeAt(i));return a}(e),t,r,n)}function A(t,e,r,n){return g(t,e,r,n)}function x(t,e,r,n){return se(ue(e),t,r,n)}function I(t,e,r,n){return se(function(u,a){for(var i,o,s,l=[],c=0;c<u.length&&!((a-=2)<0);++c)o=(i=u.charCodeAt(c))>>8,s=i%256,l.push(s),l.push(o);return l}(e,t.length-r),t,r,n)}function M(t,e,r){return e===0&&r===t.length?ao(t):ao(t.slice(e,r))}function X(t,e,r){r=Math.min(t.length,r);for(var n=[],u=e;u<r;){var a,i,o,s,l=t[u],c=null,p=l>239?4:l>223?3:l>191?2:1;if(u+p<=r)switch(p){case 1:l<128&&(c=l);break;case 2:(192&(a=t[u+1]))==128&&(s=(31&l)<<6|63&a)>127&&(c=s);break;case 3:a=t[u+1],i=t[u+2],(192&a)==128&&(192&i)==128&&(s=(15&l)<<12|(63&a)<<6|63&i)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:a=t[u+1],i=t[u+2],o=t[u+3],(192&a)==128&&(192&i)==128&&(192&o)==128&&(s=(15&l)<<18|(63&a)<<12|(63&i)<<6|63&o)>65535&&s<1114112&&(c=s)}c===null?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),u+=p}return function(f){var d=f.length;if(d<=he)return String.fromCharCode.apply(String,f);for(var D="",v=0;v<d;)D+=String.fromCharCode.apply(String,f.slice(v,v+=he));return D}(n)}Q.TYPED_ARRAY_SUPPORT=pr.TYPED_ARRAY_SUPPORT===void 0||pr.TYPED_ARRAY_SUPPORT,Q.poolSize=8192,Q._augment=function(t){return t.__proto__=Q.prototype,t},Q.from=function(t,e,r){return Qc(null,t,e,r)},Q.TYPED_ARRAY_SUPPORT&&(Q.prototype.__proto__=Uint8Array.prototype,Q.__proto__=Uint8Array),Q.alloc=function(t,e,r){return function(n,u,a,i){return qs(u),u<=0?Rn(n,u):a!==void 0?typeof i=="string"?Rn(n,u).fill(a,i):Rn(n,u).fill(a):Rn(n,u)}(null,t,e,r)},Q.allocUnsafe=function(t){return Xs(null,t)},Q.allocUnsafeSlow=function(t){return Xs(null,t)},Q.isBuffer=He,Q.compare=function(t,e){if(!fn(t)||!fn(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,u=0,a=Math.min(r,n);u<a;++u)if(t[u]!==e[u]){r=t[u],n=e[u];break}return r<n?-1:n<r?1:0},Q.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Q.concat=function(t,e){if(!Ks(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return Q.alloc(0);var r;if(e===void 0)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Q.allocUnsafe(e),u=0;for(r=0;r<t.length;++r){var a=t[r];if(!fn(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,u),u+=a.length}return n},Q.byteLength=Zc,Q.prototype._isBuffer=!0,Q.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)eu(this,e,e+1);return this},Q.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)eu(this,e,e+3),eu(this,e+1,e+2);return this},Q.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)eu(this,e,e+7),eu(this,e+1,e+6),eu(this,e+2,e+5),eu(this,e+3,e+4);return this},Q.prototype.toString=function(){var t=0|this.length;return t===0?"":arguments.length===0?X(this,0,t):g0.apply(this,arguments)},Q.prototype.equals=function(t){if(!fn(t))throw new TypeError("Argument must be a Buffer");return this===t||Q.compare(this,t)===0},Q.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Q.prototype.compare=function(t,e,r,n,u){if(!fn(t))throw new TypeError("Argument must be a Buffer");if(e===void 0&&(e=0),r===void 0&&(r=t?t.length:0),n===void 0&&(n=0),u===void 0&&(u=this.length),e<0||r>t.length||n<0||u>this.length)throw new RangeError("out of range index");if(n>=u&&e>=r)return 0;if(n>=u)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(u>>>=0)-(n>>>=0),i=(r>>>=0)-(e>>>=0),o=Math.min(a,i),s=this.slice(n,u),l=t.slice(e,r),c=0;c<o;++c)if(s[c]!==l[c]){a=s[c],i=l[c];break}return a<i?-1:i<a?1:0},Q.prototype.includes=function(t,e,r){return this.indexOf(t,e,r)!==-1},Q.prototype.indexOf=function(t,e,r){return Ma(this,t,e,r,!0)},Q.prototype.lastIndexOf=function(t,e,r){return Ma(this,t,e,r,!1)},Q.prototype.write=function(t,e,r,n){if(e===void 0)n="utf8",r=this.length,e=0;else if(r===void 0&&typeof e=="string")n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var u=this.length-e;if((r===void 0||r>u)&&(r=u),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return h(this,t,e,r);case"utf8":case"utf-8":return m(this,t,e,r);case"ascii":return g(this,t,e,r);case"latin1":case"binary":return A(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},Q.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var he=4096;function me(t,e,r){var n="";r=Math.min(t.length,r);for(var u=e;u<r;++u)n+=String.fromCharCode(127&t[u]);return n}function V(t,e,r){var n="";r=Math.min(t.length,r);for(var u=e;u<r;++u)n+=String.fromCharCode(t[u]);return n}function _(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var u="",a=e;a<r;++a)u+=N(t[a]);return u}function H(t,e,r){for(var n=t.slice(e,r),u="",a=0;a<n.length;a+=2)u+=String.fromCharCode(n[a]+256*n[a+1]);return u}function Fe(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function te(t,e,r,n,u,a){if(!fn(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>u||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function ye(t,e,r,n){e<0&&(e=65535+e+1);for(var u=0,a=Math.min(t.length-r,2);u<a;++u)t[r+u]=(e&255<<8*(n?u:1-u))>>>8*(n?u:1-u)}function Ce(t,e,r,n){e<0&&(e=4294967295+e+1);for(var u=0,a=Math.min(t.length-r,4);u<a;++u)t[r+u]=e>>>8*(n?u:3-u)&255}function Le(t,e,r,n,u,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ue(t,e,r,n,u){return u||Le(t,0,r,4),Hs(t,e,r,n,23,4),r+4}function $(t,e,r,n,u){return u||Le(t,0,r,8),Hs(t,e,r,n,52,8),r+8}Q.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=e===void 0?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),Q.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Q.prototype;else{var u=e-t;r=new Q(u,void 0);for(var a=0;a<u;++a)r[a]=this[a+t]}return r},Q.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Fe(t,e,this.length);for(var n=this[t],u=1,a=0;++a<e&&(u*=256);)n+=this[t+a]*u;return n},Q.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Fe(t,e,this.length);for(var n=this[t+--e],u=1;e>0&&(u*=256);)n+=this[t+--e]*u;return n},Q.prototype.readUInt8=function(t,e){return e||Fe(t,1,this.length),this[t]},Q.prototype.readUInt16LE=function(t,e){return e||Fe(t,2,this.length),this[t]|this[t+1]<<8},Q.prototype.readUInt16BE=function(t,e){return e||Fe(t,2,this.length),this[t]<<8|this[t+1]},Q.prototype.readUInt32LE=function(t,e){return e||Fe(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Q.prototype.readUInt32BE=function(t,e){return e||Fe(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Q.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Fe(t,e,this.length);for(var n=this[t],u=1,a=0;++a<e&&(u*=256);)n+=this[t+a]*u;return n>=(u*=128)&&(n-=Math.pow(2,8*e)),n},Q.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Fe(t,e,this.length);for(var n=e,u=1,a=this[t+--n];n>0&&(u*=256);)a+=this[t+--n]*u;return a>=(u*=128)&&(a-=Math.pow(2,8*e)),a},Q.prototype.readInt8=function(t,e){return e||Fe(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Q.prototype.readInt16LE=function(t,e){e||Fe(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Q.prototype.readInt16BE=function(t,e){e||Fe(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Q.prototype.readInt32LE=function(t,e){return e||Fe(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Q.prototype.readInt32BE=function(t,e){return e||Fe(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Q.prototype.readFloatLE=function(t,e){return e||Fe(t,4,this.length),io(this,t,!0,23,4)},Q.prototype.readFloatBE=function(t,e){return e||Fe(t,4,this.length),io(this,t,!1,23,4)},Q.prototype.readDoubleLE=function(t,e){return e||Fe(t,8,this.length),io(this,t,!0,52,8)},Q.prototype.readDoubleBE=function(t,e){return e||Fe(t,8,this.length),io(this,t,!1,52,8)},Q.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||te(this,t,e,r,Math.pow(2,8*r)-1,0);var u=1,a=0;for(this[e]=255&t;++a<r&&(u*=256);)this[e+a]=t/u&255;return e+r},Q.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||te(this,t,e,r,Math.pow(2,8*r)-1,0);var u=r-1,a=1;for(this[e+u]=255&t;--u>=0&&(a*=256);)this[e+u]=t/a&255;return e+r},Q.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,1,255,0),Q.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Q.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,2,65535,0),Q.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ye(this,t,e,!0),e+2},Q.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,2,65535,0),Q.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ye(this,t,e,!1),e+2},Q.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,4,4294967295,0),Q.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Ce(this,t,e,!0),e+4},Q.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,4,4294967295,0),Q.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Ce(this,t,e,!1),e+4},Q.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var u=Math.pow(2,8*r-1);te(this,t,e,r,u-1,-u)}var a=0,i=1,o=0;for(this[e]=255&t;++a<r&&(i*=256);)t<0&&o===0&&this[e+a-1]!==0&&(o=1),this[e+a]=(t/i>>0)-o&255;return e+r},Q.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var u=Math.pow(2,8*r-1);te(this,t,e,r,u-1,-u)}var a=r-1,i=1,o=0;for(this[e+a]=255&t;--a>=0&&(i*=256);)t<0&&o===0&&this[e+a+1]!==0&&(o=1),this[e+a]=(t/i>>0)-o&255;return e+r},Q.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,1,127,-128),Q.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Q.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,2,32767,-32768),Q.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ye(this,t,e,!0),e+2},Q.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,2,32767,-32768),Q.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ye(this,t,e,!1),e+2},Q.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,4,2147483647,-2147483648),Q.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Ce(this,t,e,!0),e+4},Q.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||te(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Q.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Ce(this,t,e,!1),e+4},Q.prototype.writeFloatLE=function(t,e,r){return Ue(this,t,e,!0,r)},Q.prototype.writeFloatBE=function(t,e,r){return Ue(this,t,e,!1,r)},Q.prototype.writeDoubleLE=function(t,e,r){return $(this,t,e,!0,r)},Q.prototype.writeDoubleBE=function(t,e,r){return $(this,t,e,!1,r)},Q.prototype.copy=function(t,e,r,n){if(r||(r=0),n||n===0||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||t.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var u,a=n-r;if(this===t&&r<e&&e<n)for(u=a-1;u>=0;--u)t[u+e]=this[u+r];else if(a<1e3||!Q.TYPED_ARRAY_SUPPORT)for(u=0;u<a;++u)t[u+e]=this[u+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),e);return a},Q.prototype.fill=function(t,e,r,n){if(typeof t=="string"){if(typeof e=="string"?(n=e,e=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),t.length===1){var u=t.charCodeAt(0);u<256&&(t=u)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Q.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof t=="number"&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var a;if(e>>>=0,r=r===void 0?this.length:r>>>0,t||(t=0),typeof t=="number")for(a=e;a<r;++a)this[a]=t;else{var i=fn(t)?t:U(new Q(t,n).toString()),o=i.length;for(a=0;a<r-e;++a)this[a+e]=i[a%o]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t,e){var r;e=e||1/0;for(var n=t.length,u=null,a=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!u){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&a.push(239,191,189);continue}u=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),u=r;continue}r=65536+(u-55296<<10|r-56320)}else u&&(e-=3)>-1&&a.push(239,191,189);if(u=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function ue(t){return function(e){var r,n,u,a,i,o;Gs||Yc();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=e[s-2]==="="?2:e[s-1]==="="?1:0,o=new D0(3*s/4-i),u=i>0?s-4:s;var l=0;for(r=0,n=0;r<u;r+=4,n+=3)a=$r[e.charCodeAt(r)]<<18|$r[e.charCodeAt(r+1)]<<12|$r[e.charCodeAt(r+2)]<<6|$r[e.charCodeAt(r+3)],o[l++]=a>>16&255,o[l++]=a>>8&255,o[l++]=255&a;return i===2?(a=$r[e.charCodeAt(r)]<<2|$r[e.charCodeAt(r+1)]>>4,o[l++]=255&a):i===1&&(a=$r[e.charCodeAt(r)]<<10|$r[e.charCodeAt(r+1)]<<4|$r[e.charCodeAt(r+2)]>>2,o[l++]=a>>8&255,o[l++]=255&a),o}(function(e){if((e=function(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}(e).replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function se(t,e,r,n){for(var u=0;u<n&&!(u+r>=e.length||u>=t.length);++u)e[u+r]=t[u];return u}function He(t){return t!=null&&(!!t._isBuffer||Ze(t)||function(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Ze(e.slice(0,0))}(t))}function Ze(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var ot=Er(ln),rr=function(){function t(e,r){pe(this,t),(r=r||{}).readChunk||(r.readChunk=1024),r.newLineCharacter?r.newLineCharacter=r.newLineCharacter.charCodeAt(0):r.newLineCharacter=10,this.fd=typeof e=="number"?e:ot.openSync(e,"r"),this.options=r,this.newLineCharacter=r.newLineCharacter,this.reset()}return fe(t,[{key:"_searchInBuffer",value:function(r,n){for(var u=-1,a=0;a<=r.length;a++)if(r[a]===n){u=a;break}return u}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){ot.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(r){for(var n,u=[],a=0,i=0;;){var o=r[a++];if(o===this.newLineCharacter)n=r.slice(i,a),u.push(n),i=a;else if(o===void 0)break}var s=r.slice(i,a);return s.length&&u.push(s),u}},{key:"_readChunk",value:function(r){var n,u=0,a=[];do{var i=new Q(this.options.readChunk);n=ot.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),u+=n,this.fdPosition=this.fdPosition+n,a.push(i)}while(n&&this._searchInBuffer(a[a.length-1],this.options.newLineCharacter)===-1);var o=Q.concat(a);return n<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,u)),u&&(this.linesCache=this._extractLines(o),r&&(this.linesCache[0]=Q.concat([r,this.linesCache[0]]))),u}},{key:"next",value:function(){if(!this.fd)return!1;var r,n=!1;return this.eofReached&&this.linesCache.length===0?n:(this.linesCache.length||(r=this._readChunk()),this.linesCache.length&&(n=this.linesCache.shift(),n[n.length-1]!==this.newLineCharacter&&(r=this._readChunk(n),r&&(n=this.linesCache.shift()))),this.eofReached&&this.linesCache.length===0&&this.close(),n&&n[n.length-1]===this.newLineCharacter&&(n=n.slice(0,n.length-1)),n)}}]),t}(),Ut=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r)}(Bi(Error)),dr=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r)}(Bi(Error)),Wr=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r)}(Bi(Error)),dn=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r)}(Bi(Error)),qr={ConfigError:Ut,DebugError:dr,UndefinedParserError:Wr,ArgExpansionBailout:dn},tu=function(e,r){return(tu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,u){n.__proto__=u}||function(n,u){for(var a in u)u.hasOwnProperty(a)&&(n[a]=u[a])})(e,r)};/*! *****************************************************************************
|
|
156
|
+
Copyright (c) Microsoft Corporation.
|
|
157
|
+
|
|
158
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
159
|
+
purpose with or without fee is hereby granted.
|
|
160
|
+
|
|
161
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
162
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
163
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
164
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
165
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
166
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
167
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
168
|
+
***************************************************************************** */var ea=function(){return(ea=Object.assign||function(e){for(var r,n=1,u=arguments.length;n<u;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};function ta(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function hr(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,u,a=r.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(o){u={error:o}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(u)throw u.error}}return i}function nr(t){return this instanceof nr?(this.v=t,this):new nr(t)}var ht=Object.freeze({__proto__:null,__extends:function(e,r){function n(){this.constructor=e}tu(e,r),e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)},get __assign(){return ea},__rest:function(e,r){var n={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&r.indexOf(u)<0&&(n[u]=e[u]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var a=0;for(u=Object.getOwnPropertySymbols(e);a<u.length;a++)r.indexOf(u[a])<0&&Object.prototype.propertyIsEnumerable.call(e,u[a])&&(n[u[a]]=e[u[a]])}return n},__decorate:function(e,r,n,u){var a,i=arguments.length,o=i<3?r:u===null?u=Object.getOwnPropertyDescriptor(r,n):u;if((typeof Reflect=="undefined"?"undefined":we(Reflect))=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,r,n,u);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(r,n,o):a(r,n))||o);return i>3&&o&&Object.defineProperty(r,n,o),o},__param:function(e,r){return function(n,u){r(n,u,e)}},__metadata:function(e,r){if((typeof Reflect=="undefined"?"undefined":we(Reflect))=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,r)},__awaiter:function(e,r,n,u){return new(n||(n=Promise))(function(a,i){function o(c){try{l(u.next(c))}catch(p){i(p)}}function s(c){try{l(u.throw(c))}catch(p){i(p)}}function l(c){var p;c.done?a(c.value):(p=c.value,p instanceof n?p:new n(function(f){f(p)})).then(o,s)}l((u=u.apply(e,r||[])).next())})},__generator:function(e,r){var n,u,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(c){return function(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,u&&(a=2&p[0]?u.return:p[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,p[1])).done)return a;switch(u=0,a&&(p=[2&p[0],a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,u=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!((a=a.length>0&&a[a.length-1])||p[0]!==6&&p[0]!==2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=r.call(e,o)}catch(f){p=[6,f],u=0}finally{n=a=0}if(5&p[0])throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}([l,c])}}},__createBinding:function(e,r,n,u){u===void 0&&(u=n),e[u]=r[n]},__exportStar:function(e,r){for(var n in e)n==="default"||r.hasOwnProperty(n)||(r[n]=e[n])},__values:ta,__read:hr,__spread:function(){for(var e=[],r=0;r<arguments.length;r++)e=e.concat(hr(arguments[r]));return e},__spreadArrays:function(){for(var e=0,r=0,n=arguments.length;r<n;r++)e+=arguments[r].length;var u=Array(e),a=0;for(r=0;r<n;r++)for(var i=arguments[r],o=0,s=i.length;o<s;o++,a++)u[a]=i[o];return u},__await:nr,__asyncGenerator:function(e,r,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,a=n.apply(e,r||[]),i=[];return u={},o("next"),o("throw"),o("return"),u[Symbol.asyncIterator]=function(){return this},u;function o(f){a[f]&&(u[f]=function(d){return new Promise(function(D,v){i.push([f,d,D,v])>1||s(f,d)})})}function s(f,d){try{(D=a[f](d)).value instanceof nr?Promise.resolve(D.value.v).then(l,c):p(i[0][2],D)}catch(v){p(i[0][3],v)}var D}function l(f){s("next",f)}function c(f){s("throw",f)}function p(f,d){f(d),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function(e){var r,n;return r={},u("next"),u("throw",function(a){throw a}),u("return"),r[Symbol.iterator]=function(){return this},r;function u(a,i){r[a]=e[a]?function(o){return(n=!n)?{value:nr(e[a](o)),done:a==="return"}:i?i(o):o}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e[Symbol.asyncIterator];return n?n.call(e):(e=ta(e),r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r);function u(a){r[a]=e[a]&&function(i){return new Promise(function(o,s){(function(l,c,p,f){Promise.resolve(f).then(function(d){l({value:d,done:p})},c)})(o,s,(i=e[a](i)).done,i.value)})}}},__makeTemplateObject:function(e,r){return Object.defineProperty?Object.defineProperty(e,"raw",{value:r}):e.raw=r,e},__importStar:function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,r){if(!r.has(e))throw new TypeError("attempted to get private field on non-instance");return r.get(e)},__classPrivateFieldSet:function(e,r,n){if(!r.has(e))throw new TypeError("attempted to set private field on non-instance");return r.set(e,n),n}}),Dr=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:function(n){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n)},value:function(n){if(n===null||we(n)!="object")return JSON.stringify(n);if(Array.isArray(n))return"[".concat(n.map(function(a){return e.apiDescriptor.value(a)}).join(", "),"]");var u=Object.keys(n);return u.length===0?"{}":"{ ".concat(u.map(function(a){return"".concat(e.apiDescriptor.key(a),": ").concat(e.apiDescriptor.value(n[a]))}).join(", ")," }")},pair:function(n){var u=n.key,a=n.value;return e.apiDescriptor.value(gu({},u,a))}}}),$t=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar(Dr,e)}),zt=/[|\\{}()[\]^$+*?.]/g,mr=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(zt,"\\$&")},gr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},et=Ge(function(t){var e={};for(var r in gr)gr.hasOwnProperty(r)&&(e[gr[r]]=r);var n=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in n)if(n.hasOwnProperty(u)){if(!("channels"in n[u]))throw new Error("missing channels property: "+u);if(!("labels"in n[u]))throw new Error("missing channel labels property: "+u);if(n[u].labels.length!==n[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=n[u].channels,i=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:i})}n.rgb.hsl=function(o){var s,l,c=o[0]/255,p=o[1]/255,f=o[2]/255,d=Math.min(c,p,f),D=Math.max(c,p,f),v=D-d;return D===d?s=0:c===D?s=(p-f)/v:p===D?s=2+(f-c)/v:f===D&&(s=4+(c-p)/v),(s=Math.min(60*s,360))<0&&(s+=360),l=(d+D)/2,[s,100*(D===d?0:l<=.5?v/(D+d):v/(2-D-d)),100*l]},n.rgb.hsv=function(o){var s,l,c,p,f,d=o[0]/255,D=o[1]/255,v=o[2]/255,y=Math.max(d,D,v),b=y-Math.min(d,D,v),T=function(B){return(y-B)/6/b+.5};return b===0?p=f=0:(f=b/y,s=T(d),l=T(D),c=T(v),d===y?p=c-l:D===y?p=1/3+s-c:v===y&&(p=2/3+l-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*f,100*y]},n.rgb.hwb=function(o){var s=o[0],l=o[1],c=o[2];return[n.rgb.hsl(o)[0],100*(1/255*Math.min(s,Math.min(l,c))),100*(c=1-1/255*Math.max(s,Math.max(l,c)))]},n.rgb.cmyk=function(o){var s,l=o[0]/255,c=o[1]/255,p=o[2]/255;return[100*((1-l-(s=Math.min(1-l,1-c,1-p)))/(1-s)||0),100*((1-c-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},n.rgb.keyword=function(o){var s=e[o];if(s)return s;var l,c,p,f=1/0;for(var d in gr)if(gr.hasOwnProperty(d)){var D=gr[d],v=(c=o,p=D,Math.pow(c[0]-p[0],2)+Math.pow(c[1]-p[1],2)+Math.pow(c[2]-p[2],2));v<f&&(f=v,l=d)}return l},n.keyword.rgb=function(o){return gr[o]},n.rgb.xyz=function(o){var s=o[0]/255,l=o[1]/255,c=o[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)+.1805*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)),100*(.2126*s+.7152*l+.0722*c),100*(.0193*s+.1192*l+.9505*c)]},n.rgb.lab=function(o){var s=n.rgb.xyz(o),l=s[0],c=s[1],p=s[2];return c/=100,p/=108.883,l=(l/=95.047)>.008856?Math.pow(l,1/3):7.787*l+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(l-c),200*(c-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},n.hsl.rgb=function(o){var s,l,c,p,f,d=o[0]/360,D=o[1]/100,v=o[2]/100;if(D===0)return[f=255*v,f,f];s=2*v-(l=v<.5?v*(1+D):v+D-v*D),p=[0,0,0];for(var y=0;y<3;y++)(c=d+1/3*-(y-1))<0&&c++,c>1&&c--,f=6*c<1?s+6*(l-s)*c:2*c<1?l:3*c<2?s+(l-s)*(2/3-c)*6:s,p[y]=255*f;return p},n.hsl.hsv=function(o){var s=o[0],l=o[1]/100,c=o[2]/100,p=l,f=Math.max(c,.01);return l*=(c*=2)<=1?c:2-c,p*=f<=1?f:2-f,[s,100*(c===0?2*p/(f+p):2*l/(c+l)),100*((c+l)/2)]},n.hsv.rgb=function(o){var s=o[0]/60,l=o[1]/100,c=o[2]/100,p=Math.floor(s)%6,f=s-Math.floor(s),d=255*c*(1-l),D=255*c*(1-l*f),v=255*c*(1-l*(1-f));switch(c*=255,p){case 0:return[c,v,d];case 1:return[D,c,d];case 2:return[d,c,v];case 3:return[d,D,c];case 4:return[v,d,c];case 5:return[c,d,D]}},n.hsv.hsl=function(o){var s,l,c,p=o[0],f=o[1]/100,d=o[2]/100,D=Math.max(d,.01);return c=(2-f)*d,l=f*D,[p,100*(l=(l/=(s=(2-f)*D)<=1?s:2-s)||0),100*(c/=2)]},n.hwb.rgb=function(o){var s,l,c,p,f,d,D,v=o[0]/360,y=o[1]/100,b=o[2]/100,T=y+b;switch(T>1&&(y/=T,b/=T),c=6*v-(s=Math.floor(6*v)),(1&s)!=0&&(c=1-c),p=y+c*((l=1-b)-y),s){default:case 6:case 0:f=l,d=p,D=y;break;case 1:f=p,d=l,D=y;break;case 2:f=y,d=l,D=p;break;case 3:f=y,d=p,D=l;break;case 4:f=p,d=y,D=l;break;case 5:f=l,d=y,D=p}return[255*f,255*d,255*D]},n.cmyk.rgb=function(o){var s=o[0]/100,l=o[1]/100,c=o[2]/100,p=o[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p))]},n.xyz.rgb=function(o){var s,l,c,p=o[0]/100,f=o[1]/100,d=o[2]/100;return l=-.9689*p+1.8758*f+.0415*d,c=.0557*p+-.204*f+1.057*d,s=(s=3.2406*p+-1.5372*f+-.4986*d)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,[255*(s=Math.min(Math.max(0,s),1)),255*(l=Math.min(Math.max(0,l),1)),255*(c=Math.min(Math.max(0,c),1))]},n.xyz.lab=function(o){var s=o[0],l=o[1],c=o[2];return l/=100,c/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(s-l),200*(l-(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116))]},n.lab.xyz=function(o){var s,l,c,p=o[0];s=o[1]/500+(l=(p+16)/116),c=l-o[2]/200;var f=Math.pow(l,3),d=Math.pow(s,3),D=Math.pow(c,3);return l=f>.008856?f:(l-16/116)/7.787,s=d>.008856?d:(s-16/116)/7.787,c=D>.008856?D:(c-16/116)/7.787,[s*=95.047,l*=100,c*=108.883]},n.lab.lch=function(o){var s,l=o[0],c=o[1],p=o[2];return(s=360*Math.atan2(p,c)/2/Math.PI)<0&&(s+=360),[l,Math.sqrt(c*c+p*p),s]},n.lch.lab=function(o){var s,l=o[0],c=o[1];return s=o[2]/360*2*Math.PI,[l,c*Math.cos(s),c*Math.sin(s)]},n.rgb.ansi16=function(o){var s=o[0],l=o[1],c=o[2],p=1 in arguments?arguments[1]:n.rgb.hsv(o)[2];if((p=Math.round(p/50))===0)return 30;var f=30+(Math.round(c/255)<<2|Math.round(l/255)<<1|Math.round(s/255));return p===2&&(f+=60),f},n.hsv.ansi16=function(o){return n.rgb.ansi16(n.hsv.rgb(o),o[2])},n.rgb.ansi256=function(o){var s=o[0],l=o[1],c=o[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},n.ansi16.rgb=function(o){var s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),[s=s/10.5*255,s,s];var l=.5*(1+~~(o>50));return[(1&s)*l*255,(s>>1&1)*l*255,(s>>2&1)*l*255]},n.ansi256.rgb=function(o){if(o>=232){var s=10*(o-232)+8;return[s,s,s]}var l;return o-=16,[Math.floor(o/36)/5*255,Math.floor((l=o%36)/6)/5*255,l%6/5*255]},n.rgb.hex=function(o){var s=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},n.hex.rgb=function(o){var s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var l=s[0];s[0].length===3&&(l=l.split("").map(function(p){return p+p}).join(""));var c=parseInt(l,16);return[c>>16&255,c>>8&255,255&c]},n.rgb.hcg=function(o){var s,l=o[0]/255,c=o[1]/255,p=o[2]/255,f=Math.max(Math.max(l,c),p),d=Math.min(Math.min(l,c),p),D=f-d;return s=D<=0?0:f===l?(c-p)/D%6:f===c?2+(p-l)/D:4+(l-c)/D+4,s/=6,[360*(s%=1),100*D,100*(D<1?d/(1-D):0)]},n.hsl.hcg=function(o){var s=o[1]/100,l=o[2]/100,c=1,p=0;return(c=l<.5?2*s*l:2*s*(1-l))<1&&(p=(l-.5*c)/(1-c)),[o[0],100*c,100*p]},n.hsv.hcg=function(o){var s=o[1]/100,l=o[2]/100,c=s*l,p=0;return c<1&&(p=(l-c)/(1-c)),[o[0],100*c,100*p]},n.hcg.rgb=function(o){var s=o[0]/360,l=o[1]/100,c=o[2]/100;if(l===0)return[255*c,255*c,255*c];var p,f=[0,0,0],d=s%1*6,D=d%1,v=1-D;switch(Math.floor(d)){case 0:f[0]=1,f[1]=D,f[2]=0;break;case 1:f[0]=v,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=D;break;case 3:f[0]=0,f[1]=v,f[2]=1;break;case 4:f[0]=D,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=v}return p=(1-l)*c,[255*(l*f[0]+p),255*(l*f[1]+p),255*(l*f[2]+p)]},n.hcg.hsv=function(o){var s=o[1]/100,l=s+o[2]/100*(1-s),c=0;return l>0&&(c=s/l),[o[0],100*c,100*l]},n.hcg.hsl=function(o){var s=o[1]/100,l=o[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[o[0],100*c,100*l]},n.hcg.hwb=function(o){var s=o[1]/100,l=s+o[2]/100*(1-s);return[o[0],100*(l-s),100*(1-l)]},n.hwb.hcg=function(o){var s=o[1]/100,l=1-o[2]/100,c=l-s,p=0;return c<1&&(p=(l-c)/(1-c)),[o[0],100*c,100*p]},n.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},n.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},n.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},n.gray.hsl=n.gray.hsv=function(o){return[0,0,o[0]]},n.gray.hwb=function(o){return[0,100,o[0]]},n.gray.cmyk=function(o){return[0,0,0,o[0]]},n.gray.lab=function(o){return[o[0],0,0]},n.gray.hex=function(o){var s=255&Math.round(o[0]/100*255),l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},n.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}});function Xr(t){var e=function(){for(var l={},c=Object.keys(et),p=c.length,f=0;f<p;f++)l[c[f]]={distance:-1,parent:null};return l}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),u=Object.keys(et[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,r.unshift(o))}return e}function Bu(t,e){return function(r){return e(t(r))}}function Jr(t,e){for(var r=[e[t].parent,t],n=et[e[t].parent][t],u=e[t].parent;e[u].parent;)r.unshift(e[u].parent),n=Bu(et[e[u].parent][u],n),u=e[u].parent;return n.conversion=r,n}var hn={};Object.keys(et).forEach(function(t){hn[t]={},Object.defineProperty(hn[t],"channels",{value:et[t].channels}),Object.defineProperty(hn[t],"labels",{value:et[t].labels});var e=function(r){for(var n=Xr(r),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=Jr(s,n))}return u}(t);Object.keys(e).forEach(function(r){var n=e[r];hn[t][r]=function(u){var a=function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var s=u(o);if(we(s)=="object")for(var l=s.length,c=0;c<l;c++)s[c]=Math.round(s[c]);return s};return"conversion"in u&&(a.conversion=u.conversion),a}(n),hn[t][r].raw=function(u){var a=function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var wu,so=hn,ur=Ge(function(t){var e=function(a,i){return function(){var o=a.apply(so,arguments);return"\x1B[".concat(o+i,"m")}},r=function(a,i){return function(){var o=a.apply(so,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")}},n=function(a,i){return function(){var o=a.apply(so,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")}};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){var a=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(var o=0,s=Object.keys(i);o<s.length;o++){for(var l=s[o],c=i[l],p=0,f=Object.keys(c);p<f.length;p++){var d=f[p],D=c[d];i[d]={open:"\x1B[".concat(D[0],"m"),close:"\x1B[".concat(D[1],"m")},c[d]=i[d],a.set(D[0],D[1])}Object.defineProperty(i,l,{value:c,enumerable:!1}),Object.defineProperty(i,"codes",{value:a,enumerable:!1})}var v=function(F){return F},y=function(F,P,k){return[F,P,k]};i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:e(v,0)},i.color.ansi256={ansi256:r(v,0)},i.color.ansi16m={rgb:n(y,0)},i.bgColor.ansi={ansi:e(v,10)},i.bgColor.ansi256={ansi256:r(v,10)},i.bgColor.ansi16m={rgb:n(y,10)};for(var b=0,T=Object.keys(so);b<T.length;b++){var S=T[b];if(we(so[S])=="object"){var B=so[S];S==="ansi16"&&(S="ansi"),"ansi16"in B&&(i.color.ansi[S]=e(B.ansi16,0),i.bgColor.ansi[S]=e(B.ansi16,10)),"ansi256"in B&&(i.color.ansi256[S]=r(B.ansi256,0),i.bgColor.ansi256[S]=r(B.ansi256,10)),"rgb"in B&&(i.color.ansi16m[S]=n(B.rgb,0),i.bgColor.ansi16m[S]=n(B.rgb,10))}}return i}})});function hm(){if(wu===void 0){var t=new ArrayBuffer(2),e=new Uint8Array(t),r=new Uint16Array(t);if(e[0]=1,e[1]=2,r[0]===258)wu="BE";else{if(r[0]!==513)throw new Error("unable to figure out endianess");wu="LE"}}return wu}function Dm(){return pr.location!==void 0?pr.location.hostname:""}function mm(){return[]}function gm(){return 0}function vm(){return Number.MAX_VALUE}function ym(){return Number.MAX_VALUE}function Em(){return[]}function Cm(){return"Browser"}function Am(){return pr.navigator!==void 0?pr.navigator.appVersion:""}function Fm(){}function bm(){}function Sm(){return"javascript"}function Tm(){return"browser"}function v0(){return"/tmp"}var xm=v0,Nb={EOL:`
|
|
169
|
+
`,arch:Sm,platform:Tm,tmpdir:xm,tmpDir:v0,networkInterfaces:Fm,getNetworkInterfaces:bm,release:Am,type:Cm,cpus:Em,totalmem:ym,freemem:vm,uptime:gm,loadavg:mm,hostname:Dm,endianness:hm},kt=function(e,r){r=r||fr.argv;var n=e.startsWith("-")?"":e.length===1?"-":"--",u=r.indexOf(n+e),a=r.indexOf("--");return u!==-1&&(a===-1||u<a)},Ob=Er(Object.freeze({__proto__:null,endianness:hm,hostname:Dm,loadavg:mm,uptime:gm,freemem:vm,totalmem:ym,cpus:Em,type:Cm,release:Am,networkInterfaces:Fm,getNetworkInterfaces:bm,arch:Sm,platform:Tm,tmpDir:v0,tmpdir:xm,EOL:`
|
|
170
|
+
`,default:Nb})),Fr=fr.env,lo;function y0(t){return function(e){return e!==0&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(lo===!1)return 0;if(kt("color=16m")||kt("color=full")||kt("color=truecolor"))return 3;if(kt("color=256"))return 2;if(e&&!e.isTTY&&lo!==!0)return 0;var r=lo?1:0;if("CI"in Fr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in Fr})||Fr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Fr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Fr.TEAMCITY_VERSION)?1:0;if(Fr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Fr){var n=parseInt((Fr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Fr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Fr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Fr.TERM)||"COLORTERM"in Fr?1:(Fr.TERM,r)}(t))}kt("no-color")||kt("no-colors")||kt("color=false")?lo=!1:(kt("color")||kt("colors")||kt("color=true")||kt("color=always"))&&(lo=!0),"FORCE_COLOR"in Fr&&(lo=Fr.FORCE_COLOR.length===0||parseInt(Fr.FORCE_COLOR,10)!==0);var kb={supportsColor:y0,stdout:y0(fr.stdout),stderr:y0(fr.stderr)},Ib=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Bm=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Lb=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Mb=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,jb=new Map([["n",`
|
|
171
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function wm(t){return t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3?String.fromCharCode(parseInt(t.slice(1),16)):jb.get(t)||t}function Rb(t,e){var r=[],n=e.trim().split(/\s*,\s*/g),u,a=de(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(isNaN(o)){if(!(u=o.match(Lb)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(t,"')"));r.push(u[2].replace(Mb,function(s,l,c){return l?wm(l):c}))}else r.push(Number(o))}}catch(s){a.e(s)}finally{a.f()}return r}function _b(t){Bm.lastIndex=0;for(var e=[],r;(r=Bm.exec(t))!==null;){var n=r[1];if(r[2]){var u=Rb(n,r[2]);e.push([n].concat(u))}else e.push([n])}return e}function Pm(t,e){var r={},n=de(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=de(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;r[s[0]]=a.inverse?null:s.slice(1)}}catch(d){i.e(d)}finally{i.f()}}}catch(d){n.e(d)}finally{n.f()}for(var l=t,c=0,p=Object.keys(r);c<p.length;c++){var f=p[c];if(Array.isArray(r[f])){if(!(f in l))throw new Error("Unknown Chalk style: ".concat(f));l=r[f].length>0?l[f].apply(l,r[f]):l[f]}}return l}var Ub=function(e,r){var n=[],u=[],a=[];if(r.replace(Ib,function(o,s,l,c,p,f){if(s)a.push(wm(s));else if(c){var d=a.join("");a=[],u.push(n.length===0?d:Pm(e,n)(d)),n.push({inverse:l,styles:_b(c)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(Pm(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},ja=Ge(function(t){var e=kb.stdout,r=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(w,F){F=F||{};var P=e?e.level:0;w.level=F.level===void 0?P:F.level,w.enabled="enabled"in F?F.enabled:w.level>0}function i(w){if(!this||!(this instanceof i)||this.template){var F={};return a(F,w),F.template=function(){var P=[].slice.call(arguments);return B.apply(null,[F.template].concat(P))},Object.setPrototypeOf(F,i.prototype),Object.setPrototypeOf(F.template,F),F.template.constructor=i,F.template}a(this,w)}for(var o=function(){var F=l[s];ur[F].closeRe=new RegExp(mr(ur[F].close),"g"),u[F]={get:function(){var k=ur[F];return T.call(this,this._styles?this._styles.concat(k):[k],this._empty,F)}}},s=0,l=Object.keys(ur);s<l.length;s++)o();u.visible={get:function(){return T.call(this,this._styles||[],!0,"visible")}},ur.color.closeRe=new RegExp(mr(ur.color.close),"g");for(var c=function(){var F=f[p];n.has(F)||(u[F]={get:function(){var k=this.level;return function(){var R=ur.color[r[k]][F].apply(null,arguments),W={open:R,close:ur.color.close,closeRe:ur.color.closeRe};return T.call(this,this._styles?this._styles.concat(W):[W],this._empty,F)}}})},p=0,f=Object.keys(ur.color.ansi);p<f.length;p++)c();ur.bgColor.closeRe=new RegExp(mr(ur.bgColor.close),"g");for(var d=function(){var F=v[D];if(n.has(F))return"continue";u["bg"+F[0].toUpperCase()+F.slice(1)]={get:function(){var k=this.level;return function(){var R=ur.bgColor[r[k]][F].apply(null,arguments),W={open:R,close:ur.bgColor.close,closeRe:ur.bgColor.closeRe};return T.call(this,this._styles?this._styles.concat(W):[W],this._empty,F)}}}},D=0,v=Object.keys(ur.bgColor.ansi);D<v.length;D++)var y=d();var b=Object.defineProperties(function(){},u);function T(w,F,P){var k=function W(){return S.apply(W,arguments)};k._styles=w,k._empty=F;var R=this;return Object.defineProperty(k,"level",{enumerable:!0,get:function(){return R.level},set:function(L){R.level=L}}),Object.defineProperty(k,"enabled",{enumerable:!0,get:function(){return R.enabled},set:function(L){R.enabled=L}}),k.hasGrey=this.hasGrey||P==="gray"||P==="grey",k.__proto__=b,k}function S(){var w=arguments,F=w.length,P=String(arguments[0]);if(F===0)return"";if(F>1)for(var k=1;k<F;k++)P+=" "+w[k];if(!this.enabled||this.level<=0||!P)return this._empty?"":P;var R=ur.dim.open,W=de(this._styles.slice().reverse()),L;try{for(W.s();!(L=W.n()).done;){var j=L.value;P=j.open+P.replace(j.closeRe,j.open)+j.close,P=P.replace(/\r?\n/g,"".concat(j.close,"$&").concat(j.open))}}catch(q){W.e(q)}finally{W.f()}return ur.dim.open=R,P}function B(w,F){if(!Array.isArray(F))return[].slice.call(arguments,1).join(" ");for(var P=[].slice.call(arguments,2),k=[F.raw[0]],R=1;R<F.length;R++)k.push(String(P[R-1]).replace(/[{}\\]/g,"\\$&")),k.push(String(F.raw[R]));return Ub(w,k.join(""))}Object.defineProperties(i.prototype,u),t.exports=i(),t.exports.supportsColor=e,t.exports.default=t.exports}),Nm=Object.defineProperty({commonDeprecatedHandler:function(e,r,n){var u=n.descriptor,a=["".concat(ja.default.yellow(typeof e=="string"?u.key(e):u.pair(e))," is deprecated")];return r&&a.push("we now treat it as ".concat(ja.default.blue(typeof r=="string"?u.key(r):u.pair(r)))),a.join("; ")+"."}},"__esModule",{value:!0}),$b=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar(Nm,e)}),Wb=Object.defineProperty({commonInvalidHandler:function(e,r,n){return["Invalid ".concat(ja.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ja.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ja.default.red(n.descriptor.value(r)),".")].join(" ")}},"__esModule",{value:!0}),Om=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar(Wb,e)}),E0=[],km=[],Im=Object.defineProperty({levenUnknownHandler:function(e,r,n){var u=n.descriptor,a=n.logger,i=n.schemas,o=["Ignored unknown option ".concat(ja.default.yellow(u.pair({key:e,value:r})),".")],s=Object.keys(i).sort().find(function(l){return function(c,p){if(c===p)return 0;var f=c;c.length>p.length&&(c=p,p=f);var d=c.length,D=p.length;if(d===0)return D;if(D===0)return d;for(;d>0&&c.charCodeAt(~-d)===p.charCodeAt(~-D);)d--,D--;if(d===0)return D;for(var v,y,b,T,S=0;S<d&&c.charCodeAt(S)===p.charCodeAt(S);)S++;if(D-=S,(d-=S)==0)return D;for(var B=0,w=0;B<d;)km[S+B]=c.charCodeAt(S+B),E0[B]=++B;for(;w<D;)for(v=p.charCodeAt(S+w),b=w++,y=w,B=0;B<d;B++)T=v===km[S+B]?b:b+1,b=E0[B],y=E0[B]=b>y?T>y?y+1:T:T>b?b+1:T;return y}(e,l)<3});s&&o.push("Did you mean ".concat(ja.default.blue(u.key(s)),"?")),a.warn(o.join(" "))}},"__esModule",{value:!0}),Vb=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar(Im,e)}),Gb=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar($b,e),ht.__exportStar(Om,e),ht.__exportStar(Vb,e)}),Hb=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Lm(t,e){var r=new t(e),n=Object.create(r),u=de(Hb),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;i in e&&(n[i]=qb(e[i],r,Mm.prototype[i].length))}}catch(o){u.e(o)}finally{u.f()}return n}var Kb=Lm,Mm=function(){function t(e){pe(this,t),this.name=e.name}return fe(t,[{key:"default",value:function(r){}},{key:"expected",value:function(r){return"nothing"}},{key:"validate",value:function(r,n){return!1}},{key:"deprecated",value:function(r,n){return!1}},{key:"forward",value:function(r,n){}},{key:"redirect",value:function(r,n){}},{key:"overlap",value:function(r,n,u){return r}},{key:"preprocess",value:function(r,n){return r}},{key:"postprocess",value:function(r,n){return r}}],[{key:"create",value:function(r){return Lm(this,r)}}]),t}(),zb=Mm;function qb(t,e,r){return typeof t=="function"?function(){for(var n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return t.apply(void 0,Z(u.slice(0,r-1)).concat([e],Z(u.slice(r-1))))}:function(){return t}}var ra=Object.defineProperty({createSchema:Kb,Schema:zb},"__esModule",{value:!0}),Xb=function(t){Gt(r,t);var e=Ht(r);function r(n){var u;return pe(this,r),u=e.call(this,n),u._sourceName=n.sourceName,u}return fe(r,[{key:"expected",value:function(u){return u.schemas[this._sourceName].expected(u)}},{key:"validate",value:function(u,a){return a.schemas[this._sourceName].validate(u,a)}},{key:"redirect",value:function(u,a){return this._sourceName}}]),r}(ra.Schema),Jb=Xb,Yb=Object.defineProperty({AliasSchema:Jb},"__esModule",{value:!0}),Qb=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),r}(ra.Schema),Zb=Qb,e3=Object.defineProperty({AnySchema:Zb},"__esModule",{value:!0}),t3=function(t){Gt(r,t);var e=Ht(r);function r(n){var u;pe(this,r);var a=n.valueSchema,i=n.name,o=i===void 0?a.name:i,s=ht.__rest(n,["valueSchema","name"]);return u=e.call(this,Object.assign({},s,{name:o})),u._valueSchema=a,u}return fe(r,[{key:"expected",value:function(u){return"an array of ".concat(this._valueSchema.expected(u))}},{key:"validate",value:function(u,a){if(!Array.isArray(u))return!1;var i=[],o=de(u),s;try{for(o.s();!(s=o.n()).done;){var l=s.value,c=a.normalizeValidateResult(this._valueSchema.validate(l,a),l);c!==!0&&i.push(c.value)}}catch(p){o.e(p)}finally{o.f()}return i.length===0||{value:i}}},{key:"deprecated",value:function(u,a){var i=[],o=de(u),s;try{for(o.s();!(s=o.n()).done;){var l=s.value,c=a.normalizeDeprecatedResult(this._valueSchema.deprecated(l,a),l);c!==!1&&i.push.apply(i,Z(c.map(function(p){var f=p.value;return{value:[f]}})))}}catch(p){o.e(p)}finally{o.f()}return i}},{key:"forward",value:function(u,a){var i=[],o=de(u),s;try{for(o.s();!(s=o.n()).done;){var l=s.value,c=a.normalizeForwardResult(this._valueSchema.forward(l,a),l);i.push.apply(i,Z(c.map(jm)))}}catch(p){o.e(p)}finally{o.f()}return i}},{key:"redirect",value:function(u,a){var i=[],o=[],s=de(u),l;try{for(s.s();!(l=s.n()).done;){var c=l.value,p=a.normalizeRedirectResult(this._valueSchema.redirect(c,a),c);"remain"in p&&i.push(p.remain),o.push.apply(o,Z(p.redirect.map(jm)))}}catch(f){s.e(f)}finally{s.f()}return i.length===0?{redirect:o}:{redirect:o,remain:i}}},{key:"overlap",value:function(u,a){return u.concat(a)}}]),r}(ra.Schema),r3=t3;function jm(t){var e=t.from,r=t.to;return{from:[e],to:r}}var n3=Object.defineProperty({ArraySchema:r3},"__esModule",{value:!0}),u3=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(u){return typeof u=="boolean"}}]),r}(ra.Schema),a3=u3,i3=Object.defineProperty({BooleanSchema:a3},"__esModule",{value:!0}),o3=function(e,r){var n=Object.create(null),u=de(e),a;try{for(u.s();!(a=u.n()).done;){var i=a.value,o=i[r];if(n[o])throw new Error("Duplicate ".concat(r," ").concat(JSON.stringify(o)));n[o]=i}}catch(s){u.e(s)}finally{u.f()}return n},s3=function(e,r){var n=new Map,u=de(e),a;try{for(u.s();!(a=u.n()).done;){var i=a.value,o=i[r];if(n.has(o))throw new Error("Duplicate ".concat(r," ").concat(JSON.stringify(o)));n.set(o,i)}}catch(s){u.e(s)}finally{u.f()}return n},l3=function(){var e=Object.create(null);return function(r){var n=JSON.stringify(r);return!!e[n]||(e[n]=!0,!1)}},c3=function(e,r){var n=[],u=[],a=de(e),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;r(o)?n.push(o):u.push(o)}}catch(s){a.e(s)}finally{a.f()}return[n,u]},p3=function(e){return e===Math.floor(e)},f3=function(e,r){if(e===r)return 0;var n=we(e),u=we(r),a=["undefined","object","boolean","number","string"];return n!==u?a.indexOf(n)-a.indexOf(u):n!=="string"?Number(e)-Number(r):e.localeCompare(r)},d3=function(e){return e===void 0?{}:e},h3=function(e,r){return e===!0||(e===!1?{value:r}:e)},D3=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e!==!1&&(e===!0?!!n||[{value:r}]:"value"in e?[e]:e.length!==0&&e)};function C0(t,e){return typeof t=="string"||"key"in t?{from:e,to:t}:"from"in t?{from:t.from,to:t.to}:{from:e,to:t.to}}var m3=C0;function Rm(t,e){return t===void 0?[]:Array.isArray(t)?t.map(function(r){return C0(r,e)}):[C0(t,e)]}var g3=Rm,v3=function(e,r){var n=Rm(we(e)=="object"&&"redirect"in e?e.redirect:e,r);return n.length===0?{remain:r,redirect:n}:we(e)=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},br=Object.defineProperty({recordFromArray:o3,mapFromArray:s3,createAutoChecklist:l3,partition:c3,isInt:p3,comparePrimitive:f3,normalizeDefaultResult:d3,normalizeValidateResult:h3,normalizeDeprecatedResult:D3,normalizeTransferResult:m3,normalizeForwardResult:g3,normalizeRedirectResult:v3},"__esModule",{value:!0}),y3=function(t){Gt(r,t);var e=Ht(r);function r(n){var u;return pe(this,r),u=e.call(this,n),u._choices=br.mapFromArray(n.choices.map(function(a){return a&&we(a)=="object"?a:{value:a}}),"value"),u}return fe(r,[{key:"expected",value:function(u){var a=this,i=u.descriptor,o=Array.from(this._choices.keys()).map(function(c){return a._choices.get(c)}).filter(function(c){return!c.deprecated}).map(function(c){return c.value}).sort(br.comparePrimitive).map(i.value),s=o.slice(0,-2),l=o.slice(-2);return s.concat(l.join(" or ")).join(", ")}},{key:"validate",value:function(u){return this._choices.has(u)}},{key:"deprecated",value:function(u){var a=this._choices.get(u);return!(!a||!a.deprecated)&&{value:u}}},{key:"forward",value:function(u){var a=this._choices.get(u);return a?a.forward:void 0}},{key:"redirect",value:function(u){var a=this._choices.get(u);return a?a.redirect:void 0}}]),r}(ra.Schema),E3=y3,C3=Object.defineProperty({ChoiceSchema:E3},"__esModule",{value:!0}),A3=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(u,a){return typeof u=="number"}}]),r}(ra.Schema),F3=A3,_m=Object.defineProperty({NumberSchema:F3},"__esModule",{value:!0}),b3=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(u,a){return a.normalizeValidateResult(Aa(Xn(r.prototype),"validate",this).call(this,u,a),u)===!0&&br.isInt(u)}}]),r}(_m.NumberSchema),S3=b3,T3=Object.defineProperty({IntegerSchema:S3},"__esModule",{value:!0}),x3=function(t){Gt(r,t);var e=Ht(r);function r(){return pe(this,r),e.apply(this,arguments)}return fe(r,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(u){return typeof u=="string"}}]),r}(ra.Schema),B3=x3,w3=Object.defineProperty({StringSchema:B3},"__esModule",{value:!0}),P3=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar(Yb,e),ht.__exportStar(e3,e),ht.__exportStar(n3,e),ht.__exportStar(i3,e),ht.__exportStar(C3,e),ht.__exportStar(T3,e),ht.__exportStar(_m,e),ht.__exportStar(w3,e)}),N3=Dr.apiDescriptor,O3=Im.levenUnknownHandler,k3=Om.commonInvalidHandler,I3=Nm.commonDeprecatedHandler,ep=Object.defineProperty({defaultDescriptor:N3,defaultUnknownHandler:O3,defaultInvalidHandler:k3,defaultDeprecatedHandler:I3},"__esModule",{value:!0}),Um=function(){function t(e,r){pe(this,t);var n=r||{},u=n.logger,a=u===void 0?console:u,i=n.descriptor,o=i===void 0?ep.defaultDescriptor:i,s=n.unknown,l=s===void 0?ep.defaultUnknownHandler:s,c=n.invalid,p=c===void 0?ep.defaultInvalidHandler:c,f=n.deprecated,d=f===void 0?ep.defaultDeprecatedHandler:f;this._utils={descriptor:o,logger:a||{warn:function(){}},schemas:br.recordFromArray(e,"name"),normalizeDefaultResult:br.normalizeDefaultResult,normalizeDeprecatedResult:br.normalizeDeprecatedResult,normalizeForwardResult:br.normalizeForwardResult,normalizeRedirectResult:br.normalizeRedirectResult,normalizeValidateResult:br.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return fe(t,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=br.createAutoChecklist()}},{key:"normalize",value:function(r){var n=this,u={},a=[r],i=function(){for(;a.length!==0;){var b=a.shift(),T=n._applyNormalization(b,u);a.push.apply(a,Z(T))}};i();for(var o=0,s=Object.keys(this._utils.schemas);o<s.length;o++){var l=s[o],c=this._utils.schemas[l];if(!(l in u)){var p=br.normalizeDefaultResult(c.default(this._utils));"value"in p&&a.push(gu({},l,p.value))}}i();for(var f=0,d=Object.keys(this._utils.schemas);f<d.length;f++){var D=d[f],v=this._utils.schemas[D];D in u&&(u[D]=v.postprocess(u[D],this._utils))}return u}},{key:"_applyNormalization",value:function(r,n){var u=this,a=[],i=br.partition(Object.keys(r),function(F){return F in u._utils.schemas}),o=_e(i,2),s=o[0],l=o[1],c=de(s),p;try{var f=function(){var P=p.value,k=u._utils.schemas[P],R=k.preprocess(r[P],u._utils),W=br.normalizeValidateResult(k.validate(R,u._utils),R);if(W!==!0){var L=W.value,j=u._invalidHandler(P,L,u._utils);throw typeof j=="string"?new Error(j):j}var q=function(Ke){var ut=Ke.from,qe=Ke.to;a.push(typeof qe=="string"?gu({},qe,ut):gu({},qe.key,qe.value))},ae=function(Ke){var ut=Ke.value,qe=Ke.redirectTo,ct=br.normalizeDeprecatedResult(k.deprecated(ut,u._utils),R,!0);if(ct!==!1)if(ct===!0)u._hasDeprecationWarned(P)||u._utils.logger.warn(u._deprecatedHandler(P,qe,u._utils));else{var xe=de(ct),Te;try{for(xe.s();!(Te=xe.n()).done;){var pt=Te.value.value,Me={key:P,value:pt};if(!u._hasDeprecationWarned(Me)){var Ve=typeof qe=="string"?{key:qe,value:pt}:qe;u._utils.logger.warn(u._deprecatedHandler(Me,Ve,u._utils))}}}catch(at){xe.e(at)}finally{xe.f()}}};br.normalizeForwardResult(k.forward(R,u._utils),R).forEach(q);var ie=br.normalizeRedirectResult(k.redirect(R,u._utils),R);if(ie.redirect.forEach(q),"remain"in ie){var be=ie.remain;n[P]=P in n?k.overlap(n[P],be,u._utils):be,ae({value:be})}var ce=de(ie.redirect),oe;try{for(ce.s();!(oe=ce.n()).done;){var Ae=oe.value,ze=Ae.from,Oe=Ae.to;ae({value:ze,redirectTo:Oe})}}catch(We){ce.e(We)}finally{ce.f()}};for(c.s();!(p=c.n()).done;)f()}catch(F){c.e(F)}finally{c.f()}var d=de(l),D;try{for(d.s();!(D=d.n()).done;){var v=D.value,y=r[v],b=this._unknownHandler(v,y,this._utils);if(b)for(var T=0,S=Object.keys(b);T<S.length;T++){var B=S[T],w=gu({},B,b[B]);B in this._utils.schemas?a.push(w):Object.assign(n,w)}}}catch(F){d.e(F)}finally{d.f()}return a}}]),t}(),L3=Um,M3=Object.defineProperty({normalize:function(e,r,n){return new Um(r,n).normalize(e)},Normalizer:L3},"__esModule",{value:!0}),Yr=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),ht.__exportStar($t,e),ht.__exportStar(Gb,e),ht.__exportStar(P3,e),ht.__exportStar(M3,e),ht.__exportStar(ra,e)}),A0=[],$m=[],Wm=function(e,r){if(e===r)return 0;var n=e;e.length>r.length&&(e=r,r=n);for(var u=e.length,a=r.length;u>0&&e.charCodeAt(~-u)===r.charCodeAt(~-a);)u--,a--;for(var i,o,s,l,c=0;c<u&&e.charCodeAt(c)===r.charCodeAt(c);)c++;if(u-=c,a-=c,u===0)return a;for(var p=0,f=0;p<u;)$m[p]=e.charCodeAt(c+p),A0[p]=++p;for(;f<a;)for(i=r.charCodeAt(c+f),s=f++,o=f,p=0;p<u;p++)l=i===$m[p]?s:s+1,s=A0[p],o=A0[p]=s>o?l>o?o+1:l:l>s?s+1:l;return o},Vm=Wm,j3=Wm;Vm.default=j3;for(var Qs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Gm={},F0=0,Hm=Object.keys(Qs);F0<Hm.length;F0++){var Km=Hm[F0];Gm[Qs[Km]]=Km}for(var Se={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Ra=Se,b0=0,zm=Object.keys(Se);b0<zm.length;b0++){var Dn=zm[b0];if(!("channels"in Se[Dn]))throw new Error("missing channels property: "+Dn);if(!("labels"in Se[Dn]))throw new Error("missing channel labels property: "+Dn);if(Se[Dn].labels.length!==Se[Dn].channels)throw new Error("channel and label counts mismatch: "+Dn);var qm=Se[Dn],R3=qm.channels,_3=qm.labels;delete Se[Dn].channels,delete Se[Dn].labels,Object.defineProperty(Se[Dn],"channels",{value:R3}),Object.defineProperty(Se[Dn],"labels",{value:_3})}function U3(t){var e=function(){for(var l={},c=Object.keys(Ra),p=c.length,f=0;f<p;f++)l[c[f]]={distance:-1,parent:null};return l}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),u=Object.keys(Ra[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,r.unshift(o))}return e}function $3(t,e){return function(r){return e(t(r))}}function W3(t,e){for(var r=[e[t].parent,t],n=Ra[e[t].parent][t],u=e[t].parent;e[u].parent;)r.unshift(e[u].parent),n=$3(Ra[e[u].parent][u],n),u=e[u].parent;return n.conversion=r,n}Se.rgb.hsl=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,u=Math.min(e,r,n),a=Math.max(e,r,n),i=a-u,o,s;a===u?o=0:e===a?o=(r-n)/i:r===a?o=2+(n-e)/i:n===a&&(o=4+(e-r)/i),o=Math.min(60*o,360),o<0&&(o+=360);var l=(u+a)/2;return s=a===u?0:l<=.5?i/(a+u):i/(2-a-u),[o,100*s,100*l]},Se.rgb.hsv=function(t){var e,r,n,u,a,i=t[0]/255,o=t[1]/255,s=t[2]/255,l=Math.max(i,o,s),c=l-Math.min(i,o,s),p=function(d){return(l-d)/6/c+.5};return c===0?(u=0,a=0):(a=c/l,e=p(i),r=p(o),n=p(s),i===l?u=n-r:o===l?u=1/3+e-n:s===l&&(u=2/3+r-e),u<0?u+=1:u>1&&(u-=1)),[360*u,100*a,100*l]},Se.rgb.hwb=function(t){var e=t[0],r=t[1],n=t[2],u=Se.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[u,100*a,100*n]},Se.rgb.cmyk=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,u=Math.min(1-e,1-r,1-n);return[100*((1-e-u)/(1-u)||0),100*((1-r-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*u]},Se.rgb.keyword=function(t){var e=Gm[t];if(e)return e;for(var r,n=1/0,u=0,a=Object.keys(Qs);u<a.length;u++){var i=a[u],o=(l=Qs[i],Math.pow((s=t)[0]-l[0],2)+Math.pow(s[1]-l[1],2)+Math.pow(s[2]-l[2],2));o<n&&(n=o,r=i)}var s,l;return r},Se.keyword.rgb=function(t){return Qs[t]},Se.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,[100*(.4124*e+.3576*r+.1805*n),100*(.2126*e+.7152*r+.0722*n),100*(.0193*e+.1192*r+.9505*n)]},Se.rgb.lab=function(t){var e=Se.rgb.xyz(t),r=e[0],n=e[1],u=e[2];return r/=95.047,n/=100,u/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,[116*n-16,500*(r-n),200*(n-u)]},Se.hsl.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100,u,a,i;if(r===0)return i=255*n,[i,i,i];u=n<.5?n*(1+r):n+r-n*r;for(var o=2*n-u,s=[0,0,0],l=0;l<3;l++)a=e+1/3*-(l-1),a<0&&a++,a>1&&a--,i=6*a<1?o+6*(u-o)*a:2*a<1?u:3*a<2?o+(u-o)*(2/3-a)*6:o,s[l]=255*i;return s},Se.hsl.hsv=function(t){var e=t[0],r=t[1]/100,n=t[2]/100,u=r,a=Math.max(n,.01);return n*=2,r*=n<=1?n:2-n,u*=a<=1?a:2-a,[e,100*(n===0?2*u/(a+u):2*r/(n+r)),100*((n+r)/2)]},Se.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,u=Math.floor(e)%6,a=e-Math.floor(e),i=255*n*(1-r),o=255*n*(1-r*a),s=255*n*(1-r*(1-a));switch(n*=255,u){case 0:return[n,s,i];case 1:return[o,n,i];case 2:return[i,n,s];case 3:return[i,o,n];case 4:return[s,i,n];case 5:return[n,i,o]}},Se.hsv.hsl=function(t){var e=t[0],r=t[1]/100,n=t[2]/100,u=Math.max(n,.01),a,i;i=(2-r)*n;var o=(2-r)*u;return a=r*u,a/=o<=1?o:2-o,a=a||0,i/=2,[e,100*a,100*i]},Se.hwb.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100,u=r+n,a;u>1&&(r/=u,n/=u);var i=Math.floor(6*e),o=1-n;a=6*e-i,(1&i)!=0&&(a=1-a);var s=r+a*(o-r),l,c,p;switch(i){default:case 6:case 0:l=o,c=s,p=r;break;case 1:l=s,c=o,p=r;break;case 2:l=r,c=o,p=s;break;case 3:l=r,c=s,p=o;break;case 4:l=s,c=r,p=o;break;case 5:l=o,c=r,p=s}return[255*l,255*c,255*p]},Se.cmyk.rgb=function(t){var e=t[0]/100,r=t[1]/100,n=t[2]/100,u=t[3]/100;return[255*(1-Math.min(1,e*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u))]},Se.xyz.rgb=function(t){var e=t[0]/100,r=t[1]/100,n=t[2]/100,u,a,i;return u=3.2406*e+-1.5372*r+-.4986*n,a=-.9689*e+1.8758*r+.0415*n,i=.0557*e+-.204*r+1.057*n,u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:12.92*u,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:12.92*a,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,u=Math.min(Math.max(0,u),1),a=Math.min(Math.max(0,a),1),i=Math.min(Math.max(0,i),1),[255*u,255*a,255*i]},Se.xyz.lab=function(t){var e=t[0],r=t[1],n=t[2];return e/=95.047,r/=100,n/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*r-16,500*(e-r),200*(r-n)]},Se.lab.xyz=function(t){var e,r,n;r=(t[0]+16)/116,e=t[1]/500+r,n=r-t[2]/200;var u=Math.pow(r,3),a=Math.pow(e,3),i=Math.pow(n,3);return r=u>.008856?u:(r-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,n=i>.008856?i:(n-16/116)/7.787,e*=95.047,r*=100,n*=108.883,[e,r,n]},Se.lab.lch=function(t){var e=t[0],r=t[1],n=t[2],u;return u=360*Math.atan2(n,r)/2/Math.PI,u<0&&(u+=360),[e,Math.sqrt(r*r+n*n),u]},Se.lch.lab=function(t){var e=t[0],r=t[1],n=t[2]/360*2*Math.PI;return[e,r*Math.cos(n),r*Math.sin(n)]},Se.rgb.ansi16=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=_e(t,3),n=r[0],u=r[1],a=r[2],i=e===null?Se.rgb.hsv(t)[2]:e;if(i=Math.round(i/50),i===0)return 30;var o=30+(Math.round(a/255)<<2|Math.round(u/255)<<1|Math.round(n/255));return i===2&&(o+=60),o},Se.hsv.ansi16=function(t){return Se.rgb.ansi16(Se.hsv.rgb(t),t[2])},Se.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},Se.ansi16.rgb=function(t){var e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},Se.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var r;return t-=16,[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%6/5*255]},Se.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},Se.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var r=e[0];e[0].length===3&&(r=r.split("").map(function(u){return u+u}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},Se.rgb.hcg=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,u=Math.max(Math.max(e,r),n),a=Math.min(Math.min(e,r),n),i=u-a,o,s;return o=i<1?a/(1-i):0,s=i<=0?0:u===e?(r-n)/i%6:u===r?2+(n-e)/i:4+(e-r)/i,s/=6,s%=1,[360*s,100*i,100*o]},Se.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),u=0;return n<1&&(u=(r-.5*n)/(1-n)),[t[0],100*n,100*u]},Se.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,u=0;return n<1&&(u=(r-n)/(1-n)),[t[0],100*n,100*u]},Se.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return[255*n,255*n,255*n];var u=[0,0,0],a=e%1*6,i=a%1,o=1-i,s=0;switch(Math.floor(a)){case 0:u[0]=1,u[1]=i,u[2]=0;break;case 1:u[0]=o,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=i;break;case 3:u[0]=0,u[1]=o,u[2]=1;break;case 4:u[0]=i,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=o}return s=(1-r)*n,[255*(r*u[0]+s),255*(r*u[1]+s),255*(r*u[2]+s)]},Se.hcg.hsv=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e),n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},Se.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100*(1-e)+.5*e,n=0;return r>0&&r<.5?n=e/(2*r):r>=.5&&r<1&&(n=e/(2*(1-r))),[t[0],100*n,100*r]},Se.hcg.hwb=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e);return[t[0],100*(r-e),100*(1-r)]},Se.hwb.hcg=function(t){var e=t[1]/100,r=1-t[2]/100,n=r-e,u=0;return n<1&&(u=(r-n)/(1-n)),[t[0],100*n,100*u]},Se.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},Se.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},Se.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},Se.gray.hsl=function(t){return[0,0,t[0]]},Se.gray.hsv=Se.gray.hsl,Se.gray.hwb=function(t){return[0,100,t[0]]},Se.gray.cmyk=function(t){return[0,0,0,t[0]]},Se.gray.lab=function(t){return[t[0],0,0]},Se.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r},Se.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};var co={};Object.keys(Ra).forEach(function(t){co[t]={},Object.defineProperty(co[t],"channels",{value:Ra[t].channels}),Object.defineProperty(co[t],"labels",{value:Ra[t].labels});var e=function(r){for(var n=U3(r),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=W3(s,n))}return u}(t);Object.keys(e).forEach(function(r){var n=e[r];co[t][r]=function(u){var a=function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var c=s[0];if(c==null)return c;c.length>1&&(s=c);var p=u(s);if(we(p)=="object")for(var f=p.length,d=0;d<f;d++)p[d]=Math.round(p[d]);return p};return"conversion"in u&&(a.conversion=u.conversion),a}(n),co[t][r].raw=function(u){var a=function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var c=s[0];return c==null?c:(c.length>1&&(s=c),u(s))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var V3=co,Zs=Ge(function(t){var e=function(c,p){return function(){var f=c.apply(void 0,arguments);return"\x1B[".concat(f+p,"m")}},r=function(c,p){return function(){var f=c.apply(void 0,arguments);return"\x1B[".concat(38+p,";5;").concat(f,"m")}},n=function(c,p){return function(){var f=c.apply(void 0,arguments);return"\x1B[".concat(38+p,";2;").concat(f[0],";").concat(f[1],";").concat(f[2],"m")}},u=function(c){return c},a=function(c,p,f){return[c,p,f]},i=function(c,p,f){Object.defineProperty(c,p,{get:function(){var D=f();return Object.defineProperty(c,p,{value:D,enumerable:!0,configurable:!0}),D},enumerable:!0,configurable:!0})},o,s=function(c,p,f,d){o===void 0&&(o=V3);for(var D=d?10:0,v={},y=0,b=Object.entries(o);y<b.length;y++){var T=_e(b[y],2),S=T[0],B=T[1],w=S==="ansi16"?"ansi":S;S===p?v[w]=c(f,D):we(B)=="object"&&(v[w]=c(B[p],D))}return v};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){var c=new Map,p={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};p.color.gray=p.color.blackBright,p.bgColor.bgGray=p.bgColor.bgBlackBright,p.color.grey=p.color.blackBright,p.bgColor.bgGrey=p.bgColor.bgBlackBright;for(var f=0,d=Object.entries(p);f<d.length;f++){for(var D=_e(d[f],2),v=D[0],y=D[1],b=0,T=Object.entries(y);b<T.length;b++){var S=_e(T[b],2),B=S[0],w=S[1];p[B]={open:"\x1B[".concat(w[0],"m"),close:"\x1B[".concat(w[1],"m")},y[B]=p[B],c.set(w[0],w[1])}Object.defineProperty(p,v,{value:y,enumerable:!1})}return Object.defineProperty(p,"codes",{value:c,enumerable:!1}),p.color.close="\x1B[39m",p.bgColor.close="\x1B[49m",i(p.color,"ansi",function(){return s(e,"ansi16",u,!1)}),i(p.color,"ansi256",function(){return s(r,"ansi256",u,!1)}),i(p.color,"ansi16m",function(){return s(n,"rgb",a,!1)}),i(p.bgColor,"ansi",function(){return s(e,"ansi16",u,!0)}),i(p.bgColor,"ansi256",function(){return s(r,"ansi256",u,!0)}),i(p.bgColor,"ansi16m",function(){return s(n,"rgb",a,!0)}),p}})});function Xm(){return!1}function Jm(){throw new Error("tty.ReadStream is not implemented")}function Ym(){throw new Error("tty.ReadStream is not implemented")}var G3={isatty:Xm,ReadStream:Jm,WriteStream:Ym},mn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fr.argv,n=e.startsWith("-")?"":e.length===1?"-":"--",u=r.indexOf(n+e),a=r.indexOf("--");return u!==-1&&(a===-1||u<a)},Qm=Er(Object.freeze({__proto__:null,isatty:Xm,ReadStream:Jm,WriteStream:Ym,default:G3})),ar=fr.env,po;function S0(t){return t!==0&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function T0(t,e){if(po===0)return 0;if(mn("color=16m")||mn("color=full")||mn("color=truecolor"))return 3;if(mn("color=256"))return 2;if(t&&!e&&po===void 0)return 0;var r=po||0;if(ar.TERM==="dumb")return r;if("CI"in ar)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(function(u){return u in ar})||ar.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in ar)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ar.TEAMCITY_VERSION)?1:0;if(ar.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ar){var n=parseInt((ar.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ar.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ar.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ar.TERM)||"COLORTERM"in ar?1:r}mn("no-color")||mn("no-colors")||mn("color=false")||mn("color=never")?po=0:(mn("color")||mn("colors")||mn("color=true")||mn("color=always"))&&(po=1),"FORCE_COLOR"in ar&&(po=ar.FORCE_COLOR==="true"?1:ar.FORCE_COLOR==="false"?0:ar.FORCE_COLOR.length===0?1:Math.min(parseInt(ar.FORCE_COLOR,10),3));var Zm={supportsColor:function(e){return S0(T0(e,e&&e.isTTY))},stdout:S0(T0(!0,Qm.isatty(1))),stderr:S0(T0(!0,Qm.isatty(2)))},eg={stringReplaceAll:function(e,r,n){var u=e.indexOf(r);if(u===-1)return e;var a=r.length,i=0,o="";do o+=e.substr(i,u-i)+r+n,i=u+a,u=e.indexOf(r,i);while(u!==-1);return o+=e.substr(i),o},stringEncaseCRLFWithFirstIndex:function(e,r,n,u){var a=0,i="";do{var o=e[u-1]==="\r";i+=e.substr(a,(o?u-1:u)-a)+r+(o?`\r
|
|
172
|
+
`:`
|
|
173
|
+
`)+n,a=u+1,u=e.indexOf(`
|
|
174
|
+
`,a)}while(u!==-1);return i+=e.substr(a),i}},H3=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,tg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,K3=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,z3=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,q3=new Map([["n",`
|
|
175
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function rg(t){var e=t[0]==="u",r=t[1]==="{";return e&&!r&&t.length===5||t[0]==="x"&&t.length===3?String.fromCharCode(parseInt(t.slice(1),16)):e&&r?String.fromCodePoint(parseInt(t.slice(2,-1),16)):q3.get(t)||t}function X3(t,e){var r=[],n=e.trim().split(/\s*,\s*/g),u,a=de(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value,s=Number(o);if(Number.isNaN(s)){if(!(u=o.match(K3)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(t,"')"));r.push(u[2].replace(z3,function(l,c,p){return c?rg(c):p}))}else r.push(s)}}catch(l){a.e(l)}finally{a.f()}return r}function J3(t){tg.lastIndex=0;for(var e=[],r;(r=tg.exec(t))!==null;){var n=r[1];if(r[2]){var u=X3(n,r[2]);e.push([n].concat(u))}else e.push([n])}return e}function ng(t,e){var r={},n=de(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=de(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;r[s[0]]=a.inverse?null:s.slice(1)}}catch(y){i.e(y)}finally{i.f()}}}catch(y){n.e(y)}finally{n.f()}for(var l=t,c=0,p=Object.entries(r);c<p.length;c++){var f=_e(p[c],2),d=f[0],D=f[1];if(Array.isArray(D)){var v;if(!(d in l))throw new Error("Unknown Chalk style: ".concat(d));l=D.length>0?(v=l)[d].apply(v,Z(D)):l[d]}}return l}var Y3=function(e,r){var n=[],u=[],a=[];if(r.replace(H3,function(o,s,l,c,p,f){if(s)a.push(rg(s));else if(c){var d=a.join("");a=[],u.push(n.length===0?d:ng(e,n)(d)),n.push({inverse:l,styles:J3(c)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(ng(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},x0=Zm.stdout,B0=Zm.stderr,Q3=eg.stringReplaceAll,Z3=eg.stringEncaseCRLFWithFirstIndex,tp=Array.isArray,ug=["ansi","ansi","ansi256","ansi16m"],fo=Object.create(null),e5=fe(function t(e){return pe(this,t),ag(e)}),ag=function(e){var r={};return function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(u.level&&!(Number.isInteger(u.level)&&u.level>=0&&u.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var a=x0?x0.level:0;n.level=u.level===void 0?a:u.level}(r,e),r.template=function(){for(var n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return pg.apply(void 0,[r.template].concat(u))},Object.setPrototypeOf(r,rp.prototype),Object.setPrototypeOf(r.template,r),r.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},r.template.Instance=e5,r.template};function rp(t){return ag(t)}for(var t5=function(){var e=_e(ig[w0],2),r=e[0],n=e[1];fo[r]={get:function(){var a=np(this,O0(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,r,{value:a}),a}}},w0=0,ig=Object.entries(Zs);w0<ig.length;w0++)t5();fo.visible={get:function(){var e=np(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var og=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],r5=function(){var e=sg[P0];fo[e]={get:function(){var n=this.level;return function(){var u,a=O0((u=Zs.color[ug[n]])[e].apply(u,arguments),Zs.color.close,this._styler);return np(this,a,this._isEmpty)}}}},P0=0,sg=og;P0<sg.length;P0++)r5();for(var n5=function(){var e=lg[N0];fo["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var n=this.level;return function(){var u,a=O0((u=Zs.bgColor[ug[n]])[e].apply(u,arguments),Zs.bgColor.close,this._styler);return np(this,a,this._isEmpty)}}}},N0=0,lg=og;N0<lg.length;N0++)n5();var u5=Object.defineProperties(function(){},Object.assign({},fo,{level:{enumerable:!0,get:function(){return this._generator.level},set:function(e){this._generator.level=e}}})),O0=function(e,r,n){var u,a;return n===void 0?(u=e,a=r):(u=n.openAll+e,a=r+n.closeAll),{open:e,close:r,openAll:u,closeAll:a,parent:n}},np=function(e,r,n){var u=function a(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return tp(o[0])&&tp(o[0].raw)?cg(a,pg.apply(void 0,[a].concat(o))):cg(a,o.length===1?""+o[0]:o.join(" "))};return Object.setPrototypeOf(u,u5),u._generator=e,u._styler=r,u._isEmpty=n,u},cg=function(e,r){if(e.level<=0||!r)return e._isEmpty?"":r;var n=e._styler;if(n===void 0)return r;var u=n,a=u.openAll,i=u.closeAll;if(r.indexOf("\x1B")!==-1)for(;n!==void 0;)r=Q3(r,n.close,n.open),n=n.parent;var o=r.indexOf(`
|
|
176
|
+
`);return o!==-1&&(r=Z3(r,i,a,o)),a+r+i},k0,pg=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),u=1;u<r;u++)n[u-1]=arguments[u];var a=n[0];if(!tp(a)||!tp(a.raw))return n.join(" ");for(var i=n.slice(1),o=[a.raw[0]],s=1;s<a.length;s++)o.push(String(i[s-1]).replace(/[{}\\]/g,"\\$&"),String(a.raw[s]));return k0===void 0&&(k0=Y3),k0(e,o.join(""))};Object.defineProperties(rp.prototype,fo);var up=rp();up.supportsColor=x0,up.stderr=rp({level:B0?B0.level:0}),up.stderr.supportsColor=B0;var fg=up,a5=function(e,r){for(var n=-1,u=r.length,a=e.length;++n<u;)e[a+n]=r[n];return e},i5=we(bt)=="object"&&bt&&bt.Object===Object&&bt,o5=(typeof self=="undefined"?"undefined":we(self))=="object"&&self&&self.Object===Object&&self,ho=(i5||o5||Function("return this")()).Symbol,dg=Object.prototype,s5=dg.hasOwnProperty,l5=dg.toString,el=ho?ho.toStringTag:void 0,c5=function(e){var r=s5.call(e,el),n=e[el];try{e[el]=void 0;var u=!0}catch(i){}var a=l5.call(e);return u&&(r?e[el]=n:delete e[el]),a},p5=Object.prototype.toString,f5=function(e){return p5.call(e)},hg=ho?ho.toStringTag:void 0,d5=function(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":hg&&hg in Object(e)?c5(e):f5(e)},Dg=function(e){return e!=null&&we(e)=="object"},mg=function(e){return Dg(e)&&d5(e)=="[object Arguments]"},gg=Object.prototype,h5=gg.hasOwnProperty,D5=gg.propertyIsEnumerable,m5=mg(function(){return arguments}())?mg:function(t){return Dg(t)&&h5.call(t,"callee")&&!D5.call(t,"callee")},g5=Array.isArray,vg=ho?ho.isConcatSpreadable:void 0,v5=function(e){return g5(e)||m5(e)||!!(vg&&e&&e[vg])},y5=function t(e,r,n,u,a){var i=-1,o=e.length;for(n||(n=v5),a||(a=[]);++i<o;){var s=e[i];r>0&&n(s)?r>1?t(s,r-1,n,u,a):a5(a,s):u||(a[a.length]=s)}return a},I0=function(e){return e!=null&&e.length?y5(e,1):[]},ap={key:function(e){return e.length===1?"-".concat(e):"--".concat(e)},value:function(e){return Yr.apiDescriptor.value(e)},pair:function(e){var r=e.key,n=e.value;return n===!1?"--no-".concat(r):n===!0?ap.key(r):n===""?"".concat(ap.key(r)," without an argument"):"".concat(ap.key(r),"=").concat(n)}},E5=function(t){Gt(r,t);var e=Ht(r);function r(n){var u,a=n.name,i=n.flags;return pe(this,r),u=e.call(this,{name:a,choices:i}),u._flags=Z(i).sort(),u}return fe(r,[{key:"preprocess",value:function(u,a){if(typeof u=="string"&&u.length>0&&!this._flags.includes(u)){var i=this._flags.find(function(o){return Vm(o,u)<3});if(i)return a.logger.warn(["Unknown flag ".concat(fg.yellow(a.descriptor.value(u)),","),"did you mean ".concat(fg.blue(a.descriptor.value(i)),"?")].join(" ")),i}return u}},{key:"expected",value:function(){return"a flag"}}]),r}(Yr.ChoiceSchema),L0;function yg(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.logger,u=r.isCLI,a=u===void 0?!1:u,i=r.passThrough,o=i===void 0?!1:i,s=o?Array.isArray(o)?function(D,v){return o.includes(D)?gu({},D,v):void 0}:function(D,v){return gu({},D,v)}:function(D,v,y){var b=Pe(y.schemas,["_"]);return Yr.levenUnknownHandler(D,v,Object.assign({},y,{schemas:b}))},l=a?ap:Yr.apiDescriptor,c=function(D,v){var y=v.isCLI,b=[];y&&b.push(Yr.AnySchema.create({name:"_"}));var T=de(D),S;try{for(T.s();!(S=T.n()).done;){var B=S.value;b.push(C5(B,{isCLI:y,optionInfos:D})),B.alias&&y&&b.push(Yr.AliasSchema.create({name:B.alias,sourceName:B.name}))}}catch(w){T.e(w)}finally{T.f()}return b}(e,{isCLI:a}),p=new Yr.Normalizer(c,{logger:n,unknown:s,descriptor:l}),f=n!==!1;f&&L0&&(p._hasDeprecationWarned=L0);var d=p.normalize(t);return f&&(L0=p._hasDeprecationWarned),d}function C5(t,e){var r=e.isCLI,n=e.optionInfos,u,a={name:t.name},i={};switch(t.type){case"int":u=Yr.IntegerSchema,r&&(a.preprocess=function(s){return Number(s)});break;case"string":u=Yr.StringSchema;break;case"choice":u=Yr.ChoiceSchema,a.choices=t.choices.map(function(s){return we(s)=="object"&&s.redirect?Object.assign({},s,{redirect:{to:{key:t.name,value:s.redirect}}}):s});break;case"boolean":u=Yr.BooleanSchema;break;case"flag":u=E5,a.flags=I0(n.map(function(s){return[s.alias,s.description&&s.name,s.oppositeDescription&&"no-".concat(s.name)].filter(Boolean)}));break;case"path":u=Yr.StringSchema;break;default:throw new Error("Unexpected type ".concat(t.type))}if(t.exception?a.validate=function(s,l,c){return t.exception(s)||l.validate(s,c)}:a.validate=function(s,l,c){return s===void 0||l.validate(s,c)},t.redirect&&(i.redirect=function(s){return s?{to:{key:t.redirect.option,value:t.redirect.value}}:void 0}),t.deprecated&&(i.deprecated=!0),r&&!t.array){var o=a.preprocess||function(s){return s};a.preprocess=function(s,l,c){return l.preprocess(o(Array.isArray(s)?Ot(s):s),c)}}return t.array?Yr.ArraySchema.create(Object.assign({},r?{preprocess:function(l){return Array.isArray(l)?l:[l]}}:{},i,{valueSchema:u.create(a)})):u.create(Object.assign({},a,i))}var Eg={normalizeApiOptions:function(e,r,n){return yg(e,r,n)},normalizeCliOptions:function(e,r,n){return yg(e,r,Object.assign({isCLI:!0},n))}},A5=G.isNonEmptyArray;function ip(t,e){var r=e||{},n=r.ignoreDecorators;if(!n){var u=t.declaration&&t.declaration.decorators||t.decorators;if(A5(u))return ip(u[0])}return t.range?t.range[0]:t.start}function M0(t){return t.range?t.range[1]:t.end}function Cg(t,e){return ip(t)===ip(e)}var Ct={locStart:ip,locEnd:M0,hasSameLocStart:Cg,hasSameLoc:function(e,r){return Cg(e,r)&&function(n,u){return M0(n)===M0(u)}(e,r)}},F5=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function(e){var r={type:"invalid",value:e[0],closed:void 0};return e[1]?(r.type="string",r.closed=!(!e[3]&&!e[4])):e[5]?r.type="comment":e[6]?(r.type="comment",r.closed=!!e[7]):e[8]?r.type="regex":e[9]?r.type="number":e[10]?r.type="name":e[11]?r.type="punctuator":e[12]&&(r.type="whitespace"),r}},"__esModule",{value:!0}),b5=bg,S5=Sg,T5=function(e){for(var r=!0,n=0;n<e.length;n++){var u=e.charCodeAt(n);if((64512&u)==55296&&n+1<e.length){var a=e.charCodeAt(++n);(64512&a)==56320&&(u=65536+((1023&u)<<10)+(1023&a))}if(r){if(r=!1,!bg(u))return!1}else if(!Sg(u))return!1}return!r},j0="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ag="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",x5=new RegExp("["+j0+"]"),B5=new RegExp("["+j0+Ag+"]");j0=Ag=null;var Fg=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],w5=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function R0(t,e){for(var r=65536,n=0,u=e.length;n<u;n+=2){if(r+=e[n],r>t)return!1;if(r+=e[n+1],r>=t)return!0}return!1}function bg(t){return t<65?t===36:t<=90||(t<97?t===95:t<=122||(t<=65535?t>=170&&x5.test(String.fromCharCode(t)):R0(t,Fg)))}function Sg(t){return t<48?t===36:t<58||!(t<65)&&(t<=90||(t<97?t===95:t<=122||(t<=65535?t>=170&&B5.test(String.fromCharCode(t)):R0(t,Fg)||R0(t,w5))))}var _0=Object.defineProperty({isIdentifierStart:b5,isIdentifierChar:S5,isIdentifierName:T5},"__esModule",{value:!0}),P5=Tg,N5=xg,O5=Bg,k5=function(e,r){return xg(e,r)||Bg(e)},I5=function(e){return j5.has(e)},L5=["implements","interface","let","package","private","protected","public","static","yield"],M5=["eval","arguments"],j5=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),R5=new Set(L5),_5=new Set(M5);function Tg(t,e){return e&&t==="await"||t==="enum"}function xg(t,e){return Tg(t,e)||R5.has(t)}function Bg(t){return _5.has(t)}var tl=Object.defineProperty({isReservedWord:P5,isStrictReservedWord:N5,isStrictBindOnlyReservedWord:O5,isStrictBindReservedWord:k5,isKeyword:I5},"__esModule",{value:!0}),wg=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return _0.isIdentifierName}}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return _0.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return _0.isIdentifierStart}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return tl.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return tl.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return tl.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return tl.isStrictReservedWord}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return tl.isKeyword}})}),U5=/[|\\{}()[\]^$+*?.]/g,U0=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(U5,"\\$&")},_a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ua=Ge(function(t){var e={};for(var r in _a)_a.hasOwnProperty(r)&&(e[_a[r]]=r);var n=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in n)if(n.hasOwnProperty(u)){if(!("channels"in n[u]))throw new Error("missing channels property: "+u);if(!("labels"in n[u]))throw new Error("missing channel labels property: "+u);if(n[u].labels.length!==n[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=n[u].channels,i=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:i})}n.rgb.hsl=function(o){var s,l,c=o[0]/255,p=o[1]/255,f=o[2]/255,d=Math.min(c,p,f),D=Math.max(c,p,f),v=D-d;return D===d?s=0:c===D?s=(p-f)/v:p===D?s=2+(f-c)/v:f===D&&(s=4+(c-p)/v),(s=Math.min(60*s,360))<0&&(s+=360),l=(d+D)/2,[s,100*(D===d?0:l<=.5?v/(D+d):v/(2-D-d)),100*l]},n.rgb.hsv=function(o){var s,l,c,p,f,d=o[0]/255,D=o[1]/255,v=o[2]/255,y=Math.max(d,D,v),b=y-Math.min(d,D,v),T=function(B){return(y-B)/6/b+.5};return b===0?p=f=0:(f=b/y,s=T(d),l=T(D),c=T(v),d===y?p=c-l:D===y?p=1/3+s-c:v===y&&(p=2/3+l-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*f,100*y]},n.rgb.hwb=function(o){var s=o[0],l=o[1],c=o[2];return[n.rgb.hsl(o)[0],100*(1/255*Math.min(s,Math.min(l,c))),100*(c=1-1/255*Math.max(s,Math.max(l,c)))]},n.rgb.cmyk=function(o){var s,l=o[0]/255,c=o[1]/255,p=o[2]/255;return[100*((1-l-(s=Math.min(1-l,1-c,1-p)))/(1-s)||0),100*((1-c-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},n.rgb.keyword=function(o){var s=e[o];if(s)return s;var l,c,p,f=1/0;for(var d in _a)if(_a.hasOwnProperty(d)){var D=_a[d],v=(c=o,p=D,Math.pow(c[0]-p[0],2)+Math.pow(c[1]-p[1],2)+Math.pow(c[2]-p[2],2));v<f&&(f=v,l=d)}return l},n.keyword.rgb=function(o){return _a[o]},n.rgb.xyz=function(o){var s=o[0]/255,l=o[1]/255,c=o[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)+.1805*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)),100*(.2126*s+.7152*l+.0722*c),100*(.0193*s+.1192*l+.9505*c)]},n.rgb.lab=function(o){var s=n.rgb.xyz(o),l=s[0],c=s[1],p=s[2];return c/=100,p/=108.883,l=(l/=95.047)>.008856?Math.pow(l,1/3):7.787*l+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(l-c),200*(c-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},n.hsl.rgb=function(o){var s,l,c,p,f,d=o[0]/360,D=o[1]/100,v=o[2]/100;if(D===0)return[f=255*v,f,f];s=2*v-(l=v<.5?v*(1+D):v+D-v*D),p=[0,0,0];for(var y=0;y<3;y++)(c=d+1/3*-(y-1))<0&&c++,c>1&&c--,f=6*c<1?s+6*(l-s)*c:2*c<1?l:3*c<2?s+(l-s)*(2/3-c)*6:s,p[y]=255*f;return p},n.hsl.hsv=function(o){var s=o[0],l=o[1]/100,c=o[2]/100,p=l,f=Math.max(c,.01);return l*=(c*=2)<=1?c:2-c,p*=f<=1?f:2-f,[s,100*(c===0?2*p/(f+p):2*l/(c+l)),100*((c+l)/2)]},n.hsv.rgb=function(o){var s=o[0]/60,l=o[1]/100,c=o[2]/100,p=Math.floor(s)%6,f=s-Math.floor(s),d=255*c*(1-l),D=255*c*(1-l*f),v=255*c*(1-l*(1-f));switch(c*=255,p){case 0:return[c,v,d];case 1:return[D,c,d];case 2:return[d,c,v];case 3:return[d,D,c];case 4:return[v,d,c];case 5:return[c,d,D]}},n.hsv.hsl=function(o){var s,l,c,p=o[0],f=o[1]/100,d=o[2]/100,D=Math.max(d,.01);return c=(2-f)*d,l=f*D,[p,100*(l=(l/=(s=(2-f)*D)<=1?s:2-s)||0),100*(c/=2)]},n.hwb.rgb=function(o){var s,l,c,p,f,d,D,v=o[0]/360,y=o[1]/100,b=o[2]/100,T=y+b;switch(T>1&&(y/=T,b/=T),c=6*v-(s=Math.floor(6*v)),(1&s)!=0&&(c=1-c),p=y+c*((l=1-b)-y),s){default:case 6:case 0:f=l,d=p,D=y;break;case 1:f=p,d=l,D=y;break;case 2:f=y,d=l,D=p;break;case 3:f=y,d=p,D=l;break;case 4:f=p,d=y,D=l;break;case 5:f=l,d=y,D=p}return[255*f,255*d,255*D]},n.cmyk.rgb=function(o){var s=o[0]/100,l=o[1]/100,c=o[2]/100,p=o[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p))]},n.xyz.rgb=function(o){var s,l,c,p=o[0]/100,f=o[1]/100,d=o[2]/100;return l=-.9689*p+1.8758*f+.0415*d,c=.0557*p+-.204*f+1.057*d,s=(s=3.2406*p+-1.5372*f+-.4986*d)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,[255*(s=Math.min(Math.max(0,s),1)),255*(l=Math.min(Math.max(0,l),1)),255*(c=Math.min(Math.max(0,c),1))]},n.xyz.lab=function(o){var s=o[0],l=o[1],c=o[2];return l/=100,c/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(s-l),200*(l-(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116))]},n.lab.xyz=function(o){var s,l,c,p=o[0];s=o[1]/500+(l=(p+16)/116),c=l-o[2]/200;var f=Math.pow(l,3),d=Math.pow(s,3),D=Math.pow(c,3);return l=f>.008856?f:(l-16/116)/7.787,s=d>.008856?d:(s-16/116)/7.787,c=D>.008856?D:(c-16/116)/7.787,[s*=95.047,l*=100,c*=108.883]},n.lab.lch=function(o){var s,l=o[0],c=o[1],p=o[2];return(s=360*Math.atan2(p,c)/2/Math.PI)<0&&(s+=360),[l,Math.sqrt(c*c+p*p),s]},n.lch.lab=function(o){var s,l=o[0],c=o[1];return s=o[2]/360*2*Math.PI,[l,c*Math.cos(s),c*Math.sin(s)]},n.rgb.ansi16=function(o){var s=o[0],l=o[1],c=o[2],p=1 in arguments?arguments[1]:n.rgb.hsv(o)[2];if((p=Math.round(p/50))===0)return 30;var f=30+(Math.round(c/255)<<2|Math.round(l/255)<<1|Math.round(s/255));return p===2&&(f+=60),f},n.hsv.ansi16=function(o){return n.rgb.ansi16(n.hsv.rgb(o),o[2])},n.rgb.ansi256=function(o){var s=o[0],l=o[1],c=o[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},n.ansi16.rgb=function(o){var s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),[s=s/10.5*255,s,s];var l=.5*(1+~~(o>50));return[(1&s)*l*255,(s>>1&1)*l*255,(s>>2&1)*l*255]},n.ansi256.rgb=function(o){if(o>=232){var s=10*(o-232)+8;return[s,s,s]}var l;return o-=16,[Math.floor(o/36)/5*255,Math.floor((l=o%36)/6)/5*255,l%6/5*255]},n.rgb.hex=function(o){var s=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},n.hex.rgb=function(o){var s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var l=s[0];s[0].length===3&&(l=l.split("").map(function(p){return p+p}).join(""));var c=parseInt(l,16);return[c>>16&255,c>>8&255,255&c]},n.rgb.hcg=function(o){var s,l=o[0]/255,c=o[1]/255,p=o[2]/255,f=Math.max(Math.max(l,c),p),d=Math.min(Math.min(l,c),p),D=f-d;return s=D<=0?0:f===l?(c-p)/D%6:f===c?2+(p-l)/D:4+(l-c)/D+4,s/=6,[360*(s%=1),100*D,100*(D<1?d/(1-D):0)]},n.hsl.hcg=function(o){var s=o[1]/100,l=o[2]/100,c=1,p=0;return(c=l<.5?2*s*l:2*s*(1-l))<1&&(p=(l-.5*c)/(1-c)),[o[0],100*c,100*p]},n.hsv.hcg=function(o){var s=o[1]/100,l=o[2]/100,c=s*l,p=0;return c<1&&(p=(l-c)/(1-c)),[o[0],100*c,100*p]},n.hcg.rgb=function(o){var s=o[0]/360,l=o[1]/100,c=o[2]/100;if(l===0)return[255*c,255*c,255*c];var p,f=[0,0,0],d=s%1*6,D=d%1,v=1-D;switch(Math.floor(d)){case 0:f[0]=1,f[1]=D,f[2]=0;break;case 1:f[0]=v,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=D;break;case 3:f[0]=0,f[1]=v,f[2]=1;break;case 4:f[0]=D,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=v}return p=(1-l)*c,[255*(l*f[0]+p),255*(l*f[1]+p),255*(l*f[2]+p)]},n.hcg.hsv=function(o){var s=o[1]/100,l=s+o[2]/100*(1-s),c=0;return l>0&&(c=s/l),[o[0],100*c,100*l]},n.hcg.hsl=function(o){var s=o[1]/100,l=o[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[o[0],100*c,100*l]},n.hcg.hwb=function(o){var s=o[1]/100,l=s+o[2]/100*(1-s);return[o[0],100*(l-s),100*(1-l)]},n.hwb.hcg=function(o){var s=o[1]/100,l=1-o[2]/100,c=l-s,p=0;return c<1&&(p=(l-c)/(1-c)),[o[0],100*c,100*p]},n.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},n.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},n.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},n.gray.hsl=n.gray.hsv=function(o){return[0,0,o[0]]},n.gray.hwb=function(o){return[0,100,o[0]]},n.gray.cmyk=function(o){return[0,0,0,o[0]]},n.gray.lab=function(o){return[o[0],0,0]},n.gray.hex=function(o){var s=255&Math.round(o[0]/100*255),l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},n.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}});function $5(t){var e=function(){for(var l={},c=Object.keys(Ua),p=c.length,f=0;f<p;f++)l[c[f]]={distance:-1,parent:null};return l}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),u=Object.keys(Ua[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,r.unshift(o))}return e}function W5(t,e){return function(r){return e(t(r))}}function V5(t,e){for(var r=[e[t].parent,t],n=Ua[e[t].parent][t],u=e[t].parent;e[u].parent;)r.unshift(e[u].parent),n=W5(Ua[e[u].parent][u],n),u=e[u].parent;return n.conversion=r,n}var Do={};Object.keys(Ua).forEach(function(t){Do[t]={},Object.defineProperty(Do[t],"channels",{value:Ua[t].channels}),Object.defineProperty(Do[t],"labels",{value:Ua[t].labels});var e=function(r){for(var n=$5(r),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=V5(s,n))}return u}(t);Object.keys(e).forEach(function(r){var n=e[r];Do[t][r]=function(u){var a=function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var s=u(o);if(we(s)=="object")for(var l=s.length,c=0;c<l;c++)s[c]=Math.round(s[c]);return s};return"conversion"in u&&(a.conversion=u.conversion),a}(n),Do[t][r].raw=function(u){var a=function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var mo=Do,ir=Ge(function(t){var e=function(a,i){return function(){var o=a.apply(mo,arguments);return"\x1B[".concat(o+i,"m")}},r=function(a,i){return function(){var o=a.apply(mo,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")}},n=function(a,i){return function(){var o=a.apply(mo,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")}};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){var a=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(var o=0,s=Object.keys(i);o<s.length;o++){for(var l=s[o],c=i[l],p=0,f=Object.keys(c);p<f.length;p++){var d=f[p],D=c[d];i[d]={open:"\x1B[".concat(D[0],"m"),close:"\x1B[".concat(D[1],"m")},c[d]=i[d],a.set(D[0],D[1])}Object.defineProperty(i,l,{value:c,enumerable:!1}),Object.defineProperty(i,"codes",{value:a,enumerable:!1})}var v=function(F){return F},y=function(F,P,k){return[F,P,k]};i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:e(v,0)},i.color.ansi256={ansi256:r(v,0)},i.color.ansi16m={rgb:n(y,0)},i.bgColor.ansi={ansi:e(v,10)},i.bgColor.ansi256={ansi256:r(v,10)},i.bgColor.ansi16m={rgb:n(y,10)};for(var b=0,T=Object.keys(mo);b<T.length;b++){var S=T[b];if(we(mo[S])=="object"){var B=mo[S];S==="ansi16"&&(S="ansi"),"ansi16"in B&&(i.color.ansi[S]=e(B.ansi16,0),i.bgColor.ansi[S]=e(B.ansi16,10)),"ansi256"in B&&(i.color.ansi256[S]=r(B.ansi256,0),i.bgColor.ansi256[S]=r(B.ansi256,10)),"rgb"in B&&(i.color.ansi16m[S]=n(B.rgb,0),i.bgColor.ansi16m[S]=n(B.rgb,10))}}return i}})}),Sr=fr.env,go;function $0(t){return function(e){return e!==0&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(go===!1)return 0;if(kt("color=16m")||kt("color=full")||kt("color=truecolor"))return 3;if(kt("color=256"))return 2;if(e&&!e.isTTY&&go!==!0)return 0;var r=go?1:0;if("CI"in Sr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in Sr})||Sr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Sr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Sr.TEAMCITY_VERSION)?1:0;if(Sr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Sr){var n=parseInt((Sr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Sr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Sr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Sr.TERM)||"COLORTERM"in Sr?1:(Sr.TERM,r)}(t))}kt("no-color")||kt("no-colors")||kt("color=false")?go=!1:(kt("color")||kt("colors")||kt("color=true")||kt("color=always"))&&(go=!0),"FORCE_COLOR"in Sr&&(go=Sr.FORCE_COLOR.length===0||parseInt(Sr.FORCE_COLOR,10)!==0);var G5={supportsColor:$0,stdout:$0(fr.stdout),stderr:$0(fr.stderr)},H5=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Pg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,K5=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,z5=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,q5=new Map([["n",`
|
|
177
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Ng(t){return t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3?String.fromCharCode(parseInt(t.slice(1),16)):q5.get(t)||t}function X5(t,e){var r=[],n=e.trim().split(/\s*,\s*/g),u,a=de(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(isNaN(o)){if(!(u=o.match(K5)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(t,"')"));r.push(u[2].replace(z5,function(s,l,c){return l?Ng(l):c}))}else r.push(Number(o))}}catch(s){a.e(s)}finally{a.f()}return r}function J5(t){Pg.lastIndex=0;for(var e=[],r;(r=Pg.exec(t))!==null;){var n=r[1];if(r[2]){var u=X5(n,r[2]);e.push([n].concat(u))}else e.push([n])}return e}function Og(t,e){var r={},n=de(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=de(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;r[s[0]]=a.inverse?null:s.slice(1)}}catch(d){i.e(d)}finally{i.f()}}}catch(d){n.e(d)}finally{n.f()}for(var l=t,c=0,p=Object.keys(r);c<p.length;c++){var f=p[c];if(Array.isArray(r[f])){if(!(f in l))throw new Error("Unknown Chalk style: ".concat(f));l=r[f].length>0?l[f].apply(l,r[f]):l[f]}}return l}var Y5=function(e,r){var n=[],u=[],a=[];if(r.replace(H5,function(o,s,l,c,p,f){if(s)a.push(Ng(s));else if(c){var d=a.join("");a=[],u.push(n.length===0?d:Og(e,n)(d)),n.push({inverse:l,styles:J5(c)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(Og(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},Q5=Ge(function(t){var e=G5.stdout,r=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(w,F){F=F||{};var P=e?e.level:0;w.level=F.level===void 0?P:F.level,w.enabled="enabled"in F?F.enabled:w.level>0}function i(w){if(!this||!(this instanceof i)||this.template){var F={};return a(F,w),F.template=function(){var P=[].slice.call(arguments);return B.apply(null,[F.template].concat(P))},Object.setPrototypeOf(F,i.prototype),Object.setPrototypeOf(F.template,F),F.template.constructor=i,F.template}a(this,w)}for(var o=function(){var F=l[s];ir[F].closeRe=new RegExp(U0(ir[F].close),"g"),u[F]={get:function(){var k=ir[F];return T.call(this,this._styles?this._styles.concat(k):[k],this._empty,F)}}},s=0,l=Object.keys(ir);s<l.length;s++)o();u.visible={get:function(){return T.call(this,this._styles||[],!0,"visible")}},ir.color.closeRe=new RegExp(U0(ir.color.close),"g");for(var c=function(){var F=f[p];n.has(F)||(u[F]={get:function(){var k=this.level;return function(){var R=ir.color[r[k]][F].apply(null,arguments),W={open:R,close:ir.color.close,closeRe:ir.color.closeRe};return T.call(this,this._styles?this._styles.concat(W):[W],this._empty,F)}}})},p=0,f=Object.keys(ir.color.ansi);p<f.length;p++)c();ir.bgColor.closeRe=new RegExp(U0(ir.bgColor.close),"g");for(var d=function(){var F=v[D];if(n.has(F))return"continue";u["bg"+F[0].toUpperCase()+F.slice(1)]={get:function(){var k=this.level;return function(){var R=ir.bgColor[r[k]][F].apply(null,arguments),W={open:R,close:ir.bgColor.close,closeRe:ir.bgColor.closeRe};return T.call(this,this._styles?this._styles.concat(W):[W],this._empty,F)}}}},D=0,v=Object.keys(ir.bgColor.ansi);D<v.length;D++)var y=d();var b=Object.defineProperties(function(){},u);function T(w,F,P){var k=function W(){return S.apply(W,arguments)};k._styles=w,k._empty=F;var R=this;return Object.defineProperty(k,"level",{enumerable:!0,get:function(){return R.level},set:function(L){R.level=L}}),Object.defineProperty(k,"enabled",{enumerable:!0,get:function(){return R.enabled},set:function(L){R.enabled=L}}),k.hasGrey=this.hasGrey||P==="gray"||P==="grey",k.__proto__=b,k}function S(){var w=arguments,F=w.length,P=String(arguments[0]);if(F===0)return"";if(F>1)for(var k=1;k<F;k++)P+=" "+w[k];if(!this.enabled||this.level<=0||!P)return this._empty?"":P;var R=ir.dim.open,W=de(this._styles.slice().reverse()),L;try{for(W.s();!(L=W.n()).done;){var j=L.value;P=j.open+P.replace(j.closeRe,j.open)+j.close,P=P.replace(/\r?\n/g,"".concat(j.close,"$&").concat(j.open))}}catch(q){W.e(q)}finally{W.f()}return ir.dim.open=R,P}function B(w,F){if(!Array.isArray(F))return[].slice.call(arguments,1).join(" ");for(var P=[].slice.call(arguments,2),k=[F.raw[0]],R=1;R<F.length;R++)k.push(String(P[R-1]).replace(/[{}\\]/g,"\\$&")),k.push(String(F.raw[R]));return Y5(w,k.join(""))}Object.defineProperties(i.prototype,u),t.exports=i(),t.exports.supportsColor=e,t.exports.default=t.exports}),Z5=Mg,eS=jg,tS=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Mg(r)){var n=jg(r);return function(u,a){var i="",o=de(Lg(a)),s;try{var l=function(){var p=s.value,f=p.type,d=p.value,D=u[f];i+=D?d.split(nS).map(function(v){return D(v)}).join(`
|
|
178
|
+
`):d};for(o.s();!(s=o.n()).done;)l()}catch(c){o.e(c)}finally{o.f()}return i}(function(u){return{keyword:u.cyan,capitalized:u.yellow,jsxIdentifier:u.yellow,punctuator:u.yellow,number:u.magenta,string:u.green,regex:u.magenta,comment:u.grey,invalid:u.white.bgRed.bold}}(n),e)}return e},kg=function(t){if(t&&t.__esModule)return t;if(t===null||we(t)!="object"&&typeof t!="function")return{default:t};var e=Ig();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=n?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=t[u]}return r.default=t,e&&e.set(t,r),r}(F5),W0=function(t){return t&&t.__esModule?t:{default:t}}(Q5);function Ig(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return Ig=function(){return t},t}var rS=new Set(["as","async","from","get","of","set"]),nS=/\r\n|[\n\r\u2028\u2029]/,uS=/^[()[\]{}]$/,Lg;{var aS=kg.matchToToken,iS=/^[a-z][\w-]*$/i,oS=function(e,r,n){if(e.type==="name"){if((0,wg.isKeyword)(e.value)||(0,wg.isStrictReservedWord)(e.value,!0)||rS.has(e.value))return"keyword";if(iS.test(e.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="</"))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return e.type==="punctuator"&&uS.test(e.value)?"bracket":e.type!=="invalid"||e.value!=="@"&&e.value!=="#"?e.type:"punctuator"};Lg=regeneratorRuntime.mark(function t(e){var r,n;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!(r=kg.default.exec(e))){a.next=6;break}return n=aS(r),a.next=4,{type:oS(n,r.index,e),value:n.value};case 4:a.next=0;break;case 6:case"end":return a.stop()}},t)})}function Mg(t){return!!W0.default.supportsColor||t.forceColor}function jg(t){return t.forceColor?new W0.default.constructor({enabled:!0,level:1}):W0.default}var sS=$g,lS=function(e,r,n){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!_g){_g=!0;var a="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(a).name="DeprecationWarning",console.warn(new Error(a))}return n=Math.max(n,0),$g(e,{start:{column:n,line:r}},u)},V0=function(t){if(t&&t.__esModule)return t;if(t===null||we(t)!="object"&&typeof t!="function")return{default:t};var e=Rg();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=n?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=t[u]}return r.default=t,e&&e.set(t,r),r}(Object.defineProperty({shouldHighlight:Z5,getChalk:eS,default:tS},"__esModule",{value:!0}));function Rg(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return Rg=function(){return t},t}var _g=!1,Ug=/\r\n|[\n\r\u2028\u2029]/;function $g(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(r.highlightCode||r.forceColor)&&(0,V0.shouldHighlight)(r),u=(0,V0.getChalk)(r),a=function(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}(u),i=function(y,b){return n?y(b):b},o=t.split(Ug),s=function(v,y,b){var T=Object.assign({column:0,line:-1},v.start),S=Object.assign({},T,v.end),B=b||{},w=B.linesAbove,F=w===void 0?2:w,P=B.linesBelow,k=P===void 0?3:P,R=T.line,W=T.column,L=S.line,j=S.column,q=Math.max(R-(F+1),0),ae=Math.min(y.length,L+k);R===-1&&(q=0),L===-1&&(ae=y.length);var ie=L-R,be={};if(ie)for(var ce=0;ce<=ie;ce++){var oe=ce+R;if(W)if(ce===0){var Ae=y[oe-1].length;be[oe]=[W,Ae-W+1]}else if(ce===ie)be[oe]=[0,j];else{var ze=y[oe-ce].length;be[oe]=[0,ze]}else be[oe]=!0}else be[R]=W===j?!W||[W,0]:[W,j-W];return{start:q,end:ae,markerLines:be}}(e,o,r),l=s.start,c=s.end,p=s.markerLines,f=e.start&&typeof e.start.column=="number",d=String(c).length,D=(n?(0,V0.default)(t,r):t).split(Ug).slice(l,c).map(function(v,y){var b=l+1+y,T=" ".concat(b).slice(-d),S=" ".concat(T," |"),B=p[b],w=!p[b+1];if(B){var F="";if(Array.isArray(B)){var P=v.slice(0,Math.max(B[0]-1,0)).replace(/[^\t]/g," "),k=B[1]||1;F=[`
|
|
179
|
+
`,i(a.gutter,S.replace(/\d/g," "))," ",P,i(a.marker,"^").repeat(k)].join(""),w&&r.message&&(F+=" "+i(a.message,r.message))}return[i(a.marker,">"),i(a.gutter,S),v.length>0?" ".concat(v):"",F].join("")}return" ".concat(i(a.gutter,S)).concat(v.length>0?" ".concat(v):"")}).join(`
|
|
180
|
+
`);return r.message&&!f&&(D="".concat(" ".repeat(d+1)).concat(r.message,`
|
|
181
|
+
`).concat(D)),n?u.reset(D):D}var cS=Object.defineProperty({codeFrameColumns:sS,default:lS},"__esModule",{value:!0}),pS=Er(Jc),fS=qr.ConfigError,dS=Ct.locStart,hS=Ct.locEnd,DS=Object.getOwnPropertyNames,mS=Object.getOwnPropertyDescriptor;function Wg(t){var e={},r=de(t.plugins),n;try{for(r.s();!(n=r.n()).done;){var u=n.value;if(u.parsers){var a=de(DS(u.parsers)),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;Object.defineProperty(e,o,mS(u.parsers,o))}}catch(s){a.e(s)}finally{a.f()}}}}catch(s){r.e(s)}finally{r.f()}return e}function Vg(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wg(t);if(typeof t.parser=="function")return{parse:t.parser,astFormat:"estree",locStart:dS,locEnd:hS};if(typeof t.parser=="string"){if(Object.prototype.hasOwnProperty.call(e,t.parser))return e[t.parser];throw new fS(`Couldn't resolve parser "`.concat(t.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var $a={parse:function(e,r){var n=Wg(r),u=Object.keys(n).reduce(function(s,l){return Object.defineProperty(s,l,{enumerable:!0,get:function(){return n[l].parse}})},{}),a=Vg(r,n);try{return a.preprocess&&(e=a.preprocess(e,r)),{text:e,ast:a.parse(e,u,r)}}catch(s){var i=s.loc;if(i){var o=cS.codeFrameColumns;throw s.codeFrame=o(e,i,{highlightCode:!0}),s.message+=`
|
|
182
|
+
`+s.codeFrame,s}throw s.stack}},resolveParser:Vg},gS=qr.UndefinedParserError,Gg=zi.getSupportInfo,vS=$a.resolveParser,G0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Hg(t,e){var r=pS.basename(t).toLowerCase(),n=Gg({plugins:e}).languages.filter(function(i){return i.since!==null}),u=n.find(function(i){return i.extensions&&i.extensions.some(function(o){return r.endsWith(o)})||i.filenames&&i.filenames.some(function(o){return o.toLowerCase()===r})});if(!u&&!r.includes(".")){var a=function(i){if(typeof i!="string")return"";var o;try{o=ot.openSync(i,"r")}catch(p){return""}try{var s=new rr(o).next().toString("utf8"),l=s.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(l)return l[1];var c=s.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return c?c[1]:""}catch(p){return""}finally{try{ot.closeSync(o)}catch(p){}}}(t);u=n.find(function(i){return i.interpreters&&i.interpreters.includes(a)})}return u&&u.parsers[0]}var Kg={normalize:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Object.assign({},e),u=Gg({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,a=Object.assign({},G0,Ri(u.filter(function(v){return v.default!==void 0}).map(function(v){return[v.name,v.default]})));if(!n.parser)if(n.filepath){if(n.parser=Hg(n.filepath,n.plugins),!n.parser)throw new gS("No parser could be inferred for file: ".concat(n.filepath))}else(r.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var i=vS(Eg.normalizeApiOptions(n,[u.find(function(v){return v.name==="parser"})],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;var o=function(v){var y=v.astFormat;if(!y)throw new Error("getPlugin() requires astFormat to be set");var b=v.plugins.find(function(T){return T.printers&&T.printers[y]});if(!b)throw new Error(`Couldn't find plugin for AST format "`.concat(y,'"'));return b}(n);n.printer=o.printers[n.astFormat];for(var s=Ri(u.filter(function(v){return v.pluginDefaults&&v.pluginDefaults[o.name]!==void 0}).map(function(v){return[v.name,v.pluginDefaults[o.name]]})),l=Object.assign({},a,s),c=0,p=Object.entries(l);c<p.length;c++){var f=_e(p[c],2),d=f[0],D=f[1];n[d]!==null&&n[d]!==void 0||(n[d]=D)}return n.parser==="json"&&(n.trailingComma="none"),Eg.normalizeApiOptions(n,u,Object.assign({passThrough:Object.keys(G0)},r))},hiddenDefaults:G0,inferParser:Hg},yS=function t(e,r,n){if(Array.isArray(e))return e.map(function(d){return t(d,r,n)}).filter(Boolean);if(!e||we(e)!="object")return e;var u=r.printer.massageAstNode,a;a=u&&u.ignoredProperties?u.ignoredProperties:new Set;for(var i={},o=0,s=Object.entries(e);o<s.length;o++){var l=_e(s[o],2),c=l[0],p=l[1];a.has(c)||typeof p=="function"||(i[c]=t(p,r,e))}if(u){var f=u(e,i,n);if(f===null)return;if(f)return f}return i},ES=typeof Object.create=="function"?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t};function Wa(t,e){var r={seen:[],stylize:AS};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),zg(e)?r.showHidden=e:e&&FS(r,e),vo(r.showHidden)&&(r.showHidden=!1),vo(r.depth)&&(r.depth=2),vo(r.colors)&&(r.colors=!1),vo(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=CS),op(r,t,r.depth)}function CS(t,e){var r=Wa.styles[e];return r?"\x1B["+Wa.colors[r][0]+"m"+t+"\x1B["+Wa.colors[r][1]+"m":t}function AS(t,e){return t}function op(t,e,r){if(t.customInspect&&e&&nl(e.inspect)&&e.inspect!==Wa&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return Xg(n)||(n=op(t,n,r)),n}var u=function(d,D){if(vo(D))return d.stylize("undefined","undefined");if(Xg(D)){var v="'"+JSON.stringify(D).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(v,"string")}if(y=D,typeof y=="number")return d.stylize(""+D,"number");var y;if(zg(D))return d.stylize(""+D,"boolean");if(qg(D))return d.stylize("null","null")}(t,e);if(u)return u;var a=Object.keys(e),i=function(d){var D={};return d.forEach(function(v,y){D[v]=!0}),D}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),cp(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return H0(e);if(a.length===0){if(nl(e)){var o=e.name?": "+e.name:"";return t.stylize("[Function"+o+"]","special")}if(rl(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(lp(e))return t.stylize(Date.prototype.toString.call(e),"date");if(cp(e))return H0(e)}var s,l,c="",p=!1,f=["{","}"];return s=e,Array.isArray(s)&&(p=!0,f=["[","]"]),nl(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),rl(e)&&(c=" "+RegExp.prototype.toString.call(e)),lp(e)&&(c=" "+Date.prototype.toUTCString.call(e)),cp(e)&&(c=" "+H0(e)),a.length!==0||p&&e.length!=0?r<0?rl(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),l=p?function(d,D,v,y,b){for(var T=[],S=0,B=D.length;S<B;++S)Yg(D,String(S))?T.push(K0(d,D,v,y,String(S),!0)):T.push("");return b.forEach(function(w){w.match(/^\d+$/)||T.push(K0(d,D,v,y,w,!0))}),T}(t,e,r,i,a):a.map(function(d){return K0(t,e,r,i,d,p)}),t.seen.pop(),function(d,D,v){return d.reduce(function(y,b){return b.indexOf(`
|
|
183
|
+
`),y+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?v[0]+(D===""?"":D+`
|
|
184
|
+
`)+" "+d.join(`,
|
|
185
|
+
`)+" "+v[1]:v[0]+D+" "+d.join(", ")+" "+v[1]}(l,c,f)):f[0]+c+f[1]}function H0(t){return"["+Error.prototype.toString.call(t)+"]"}function K0(t,e,r,n,u,a){var i,o,s;if((s=Object.getOwnPropertyDescriptor(e,u)||{value:e[u]}).get?o=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(o=t.stylize("[Setter]","special")),Yg(n,u)||(i="["+u+"]"),o||(t.seen.indexOf(s.value)<0?(o=qg(r)?op(t,s.value,null):op(t,s.value,r-1)).indexOf(`
|
|
186
|
+
`)>-1&&(o=a?o.split(`
|
|
187
|
+
`).map(function(l){return" "+l}).join(`
|
|
188
|
+
`).substr(2):`
|
|
189
|
+
`+o.split(`
|
|
190
|
+
`).map(function(l){return" "+l}).join(`
|
|
191
|
+
`)):o=t.stylize("[Circular]","special")),vo(i)){if(a&&u.match(/^\d+$/))return o;(i=JSON.stringify(""+u)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+o}function zg(t){return typeof t=="boolean"}function qg(t){return t===null}function Xg(t){return typeof t=="string"}function vo(t){return t===void 0}function rl(t){return sp(t)&&z0(t)==="[object RegExp]"}function sp(t){return we(t)=="object"&&t!==null}function lp(t){return sp(t)&&z0(t)==="[object Date]"}function cp(t){return sp(t)&&(z0(t)==="[object Error]"||t instanceof Error)}function nl(t){return typeof t=="function"}function Jg(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||we(t)=="symbol"||t===void 0}function z0(t){return Object.prototype.toString.call(t)}function FS(t,e){if(!e||!sp(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Yg(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Qg(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,u=0,a=Math.min(r,n);u<a;++u)if(t[u]!==e[u]){r=t[u],n=e[u];break}return r<n?-1:n<r?1:0}Wa.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Wa.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var q0,bS=Object.prototype.hasOwnProperty,Zg=Object.keys||function(t){var e=[];for(var r in t)bS.call(t,r)&&e.push(r);return e},ev=Array.prototype.slice;function tv(){return q0!==void 0?q0:q0=function(){}.name==="foo"}function rv(t){return Object.prototype.toString.call(t)}function nv(t){return!He(t)&&typeof pr.ArrayBuffer=="function"&&(typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}function Lr(t,e){t||Mr(t,!0,e,"==",ul)}var SS=/\s*function\s+([^\(\s]*)\s*/;function uv(t){if(nl(t)){if(tv())return t.name;var e=t.toString().match(SS);return e&&e[1]}}function pp(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(o){return av(iv(o.actual),128)+" "+o.operator+" "+av(iv(o.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||Mr;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,u=uv(e),a=n.indexOf(`
|
|
192
|
+
`+u);if(a>=0){var i=n.indexOf(`
|
|
193
|
+
`,a+1);n=n.substring(i+1)}this.stack=n}}}function av(t,e){return typeof t=="string"?t.length<e?t:t.slice(0,e):t}function iv(t){if(tv()||!nl(t))return Wa(t);var e=uv(t);return"[Function"+(e?": "+e:"")+"]"}function Mr(t,e,r,n,u){throw new pp({message:r,actual:t,expected:e,operator:n,stackStartFunction:u})}function ul(t,e){t||Mr(t,!0,e,"==",ul)}function X0(t,e,r){t!=e&&Mr(t,e,r,"==",X0)}function J0(t,e,r){t==e&&Mr(t,e,r,"!=",J0)}function Y0(t,e,r){yo(t,e,!1)||Mr(t,e,r,"deepEqual",Y0)}function Q0(t,e,r){yo(t,e,!0)||Mr(t,e,r,"deepStrictEqual",Q0)}function yo(t,e,r,n){if(t===e)return!0;if(He(t)&&He(e))return Qg(t,e)===0;if(lp(t)&&lp(e))return t.getTime()===e.getTime();if(rl(t)&&rl(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(t!==null&&we(t)=="object"||e!==null&&we(e)=="object"){if(nv(t)&&nv(e)&&rv(t)===rv(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return Qg(new Uint8Array(t.buffer),new Uint8Array(e.buffer))===0;if(He(t)!==He(e))return!1;var u=(n=n||{actual:[],expected:[]}).actual.indexOf(t);return u!==-1&&u===n.expected.indexOf(e)||(n.actual.push(t),n.expected.push(e),function(a,i,o,s){if(a==null||i==null)return!1;if(Jg(a)||Jg(i))return a===i;if(o&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(i))return!1;var l=ov(a),c=ov(i);if(l&&!c||!l&&c)return!1;if(l)return yo(a=ev.call(a),i=ev.call(i),o);var p,f,d=Zg(a),D=Zg(i);if(d.length!==D.length)return!1;for(d.sort(),D.sort(),f=d.length-1;f>=0;f--)if(d[f]!==D[f])return!1;for(f=d.length-1;f>=0;f--)if(!yo(a[p=d[f]],i[p],o,s))return!1;return!0}(t,e,r,n))}return r?t===e:t==e}function ov(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function Z0(t,e,r){yo(t,e,!1)&&Mr(t,e,r,"notDeepEqual",Z0)}function ed(t,e,r){yo(t,e,!0)&&Mr(t,e,r,"notDeepStrictEqual",ed)}function td(t,e,r){t!==e&&Mr(t,e,r,"===",td)}function rd(t,e,r){t===e&&Mr(t,e,r,"!==",rd)}function sv(t,e){if(!t||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(t);try{if(t instanceof e)return!0}catch(r){}return!Error.isPrototypeOf(e)&&e.call({},t)===!0}function lv(t,e,r,n){var u;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof r=="string"&&(n=r,r=null),u=function(o){var s;try{o()}catch(l){s=l}return s}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!u&&Mr(u,r,"Missing expected exception"+n);var a=typeof n=="string",i=!t&&u&&!r;if((!t&&cp(u)&&a&&sv(u,r)||i)&&Mr(u,r,"Got unwanted exception"+n),t&&u&&r&&!sv(u,r)||!t&&u)throw u}function cv(t,e,r){lv(!0,t,e,r)}function pv(t,e,r){lv(!1,t,e,r)}function fv(t){if(t)throw t}Lr.AssertionError=pp,ES(pp,Error),Lr.fail=Mr,Lr.ok=ul,Lr.equal=X0,Lr.notEqual=J0,Lr.deepEqual=Y0,Lr.deepStrictEqual=Q0,Lr.notDeepEqual=Z0,Lr.notDeepStrictEqual=ed,Lr.strictEqual=td,Lr.notStrictEqual=rd,Lr.throws=cv,Lr.doesNotThrow=pv,Lr.ifError=fv;var Pu=Er(Object.freeze({__proto__:null,default:Lr,AssertionError:pp,fail:Mr,ok:ul,assert:ul,equal:X0,notEqual:J0,deepEqual:Y0,deepStrictEqual:Q0,notDeepEqual:Z0,notDeepStrictEqual:ed,strictEqual:td,notStrictEqual:rd,throws:cv,doesNotThrow:pv,ifError:fv})),Va=De.builders,TS=Va.line,na=Va.hardline,xS=Va.breakParent,BS=Va.indent,dv=Va.lineSuffix,hv=Va.join,nd=Va.cursor,Eo=G.hasNewline,wS=G.skipNewline,PS=G.skipSpaces,NS=G.isPreviousLineEmpty,al=G.addLeadingComment,ud=G.addDanglingComment,il=G.addTrailingComment,ad=new WeakMap;function id(t,e,r){if(!!t){var n=e.printer,u=e.locStart,a=e.locEnd;if(r){if(n.canAttachComment&&n.canAttachComment(t)){var i;for(i=r.length-1;i>=0&&!(u(r[i])<=u(t)&&a(r[i])<=a(t));--i);return void r.splice(i+1,0,t)}}else if(ad.has(t))return ad.get(t);var o=n.getCommentChildNodes&&n.getCommentChildNodes(t,e)||we(t)=="object"&&Object.entries(t).filter(function(p){var f=_e(p,1),d=f[0];return d!=="enclosingNode"&&d!=="precedingNode"&&d!=="followingNode"&&d!=="tokens"&&d!=="comments"}).map(function(p){var f=_e(p,2),d=f[1];return d});if(o){r||(r=[],ad.set(t,r));var s=de(o),l;try{for(s.s();!(l=s.n()).done;){var c=l.value;id(c,e,r)}}catch(p){s.e(p)}finally{s.f()}return r}}}function Dv(t,e,r,n){for(var u=r.locStart,a=r.locEnd,i=u(e),o=a(e),s=id(t,r),l,c,p=0,f=s.length;p<f;){var d=p+f>>1,D=s[d],v=u(D),y=a(D);if(v<=i&&o<=y)return Dv(D,e,r,D);if(y<=i)l=D,p=d+1;else{if(!(o<=v))throw new Error("Comment location overlaps with node location");c=D,f=d}}if(n&&n.type==="TemplateLiteral"){var b=n.quasis,T=ld(b,e,r);l&&ld(b,l,r)!==T&&(l=null),c&&ld(b,c,r)!==T&&(c=null)}return{enclosingNode:n,precedingNode:l,followingNode:c}}var od=function(){return!1},mv=function(e){return!/[\S\n\u2028\u2029]/.test(e)};function OS(t,e,r,n){var u=r[n],a=u.comment,i=u.precedingNode,o=e.locStart,s=e.locEnd,l=o(a);if(i)for(var c=n-1;c>=0;c--){var p=r[c],f=p.comment,d=p.precedingNode;if(d!==i||!mv(t.slice(s(f),l)))break;l=o(f)}return Eo(t,l,{backwards:!0})}function kS(t,e,r,n){var u=r[n],a=u.comment,i=u.followingNode,o=e.locStart,s=e.locEnd,l=s(a);if(i)for(var c=n+1;c<r.length;c++){var p=r[c],f=p.comment,d=p.followingNode;if(d!==i||!mv(t.slice(l,o(f))))break;l=s(f)}return Eo(t,l)}function gv(t,e,r){var n=t.length;if(n!==0){var u=t[0],a=u.precedingNode,i=u.followingNode,o=u.enclosingNode,s=r.printer.getGapRegex&&r.printer.getGapRegex(o)||/^[\s(]*$/,l,c=r.locStart(i);for(l=n;l>0;--l){var p=t[l-1],f=p.comment,d=p.precedingNode,D=p.followingNode;Pu.strictEqual(d,a),Pu.strictEqual(D,i);var v=e.slice(r.locEnd(f),c);if(!s.test(v))break;c=r.locStart(f)}var y=de(t.entries()),b;try{for(y.s();!(b=y.n()).done;){var T=_e(b.value,2),S=T[0],B=T[1].comment;S<l?il(a,B):al(i,B)}}catch(k){y.e(k)}finally{y.f()}for(var w=0,F=[a,i];w<F.length;w++){var P=F[w];P.comments&&P.comments.length>1&&P.comments.sort(function(k,R){return r.locStart(k)-r.locStart(R)})}t.length=0}}function sd(t,e){return t.getValue().printed=!0,e.printer.printComment(t,e)}function ld(t,e,r){for(var n=r.locStart(e)-1,u=1;u<t.length;++u)if(n<r.locStart(t[u]))return u-1;return 0}function vv(t,e,r){var n=t.getValue();if(!n)return{};var u=n.comments||[];r&&(u=u.filter(function(l){return!r.has(l)}));var a=n===e.cursorNode;if(u.length===0){var i=a?nd:"";return{leading:i,trailing:i}}var o=[],s=[];return t.each(function(){var l=t.getValue();if(!(r&&r.has(l))){var c=l.leading,p=l.trailing;c?o.push(function(f,d){var D=f.getValue(),v=[sd(f,d)],y=d.printer,b=d.originalText,T=d.locStart,S=d.locEnd;if(y.isBlockComment&&y.isBlockComment(D)){var B=Eo(b,S(D))?Eo(b,T(D),{backwards:!0})?na:TS:" ";v.push(B)}else v.push(na);var w=wS(b,PS(b,S(D)));return w!==!1&&Eo(b,w)&&v.push(na),v}(t,e)):p&&s.push(function(f,d){var D=f.getValue(),v=sd(f,d),y=d.printer,b=d.originalText,T=d.locStart,S=y.isBlockComment&&y.isBlockComment(D);if(Eo(b,T(D),{backwards:!0})){var B=NS(b,D,T);return dv([na,B?na:"",v])}var w=[" ",v];return S||(w=[dv(w),xS]),w}(t,e))}},"comments"),a&&(o.unshift(nd),s.push(nd)),{leading:o,trailing:s}}var At={attach:function(e,r,n,u){if(!!Array.isArray(e)){var a=[],i=u.locStart,o=u.locEnd,s=u.printer.handleComments,l=s===void 0?{}:s,c=l.avoidAstMutation,p=l.ownLine,f=p===void 0?od:p,d=l.endOfLine,D=d===void 0?od:d,v=l.remaining,y=v===void 0?od:v,b=e.map(function(ze,Oe){return Object.assign({},Dv(r,ze,u),{comment:ze,text:n,options:u,ast:r,isLastComment:e.length-1===Oe})}),T=de(b.entries()),S;try{for(T.s();!(S=T.n()).done;){var B=_e(S.value,2),w=B[0],F=B[1],P=F.comment,k=F.precedingNode,R=F.enclosingNode,W=F.followingNode,L=F.text,j=F.options,q=F.ast,ae=F.isLastComment;if(j.parser==="json"||j.parser==="json5"||j.parser==="__js_expression"||j.parser==="__vue_expression"){if(i(P)-i(q)<=0){al(q,P);continue}if(o(P)-o(q)>=0){il(q,P);continue}}var ie=void 0;if(c?ie=[F]:(P.enclosingNode=R,P.precedingNode=k,P.followingNode=W,ie=[P,L,j,q,ae]),OS(L,j,b,w))P.placement="ownLine",f.apply(void 0,Z(ie))||(W?al(W,P):k?il(k,P):ud(R||q,P));else if(kS(L,j,b,w))P.placement="endOfLine",D.apply(void 0,Z(ie))||(k?il(k,P):W?al(W,P):ud(R||q,P));else if(P.placement="remaining",!y.apply(void 0,Z(ie)))if(k&&W){var be=a.length;be>0&&a[be-1].followingNode!==W&&gv(a,L,j),a.push(F)}else k?il(k,P):W?al(W,P):ud(R||q,P)}}catch(ze){T.e(ze)}finally{T.f()}if(gv(a,n,u),!c){var ce=de(e),oe;try{for(ce.s();!(oe=ce.n()).done;){var Ae=oe.value;delete Ae.precedingNode,delete Ae.enclosingNode,delete Ae.followingNode}}catch(ze){ce.e(ze)}finally{ce.f()}}}},printComments:function(e,r,n,u){var a=vv(e,n,u),i=a.leading,o=a.trailing;return i||o?[i,r,o]:r},printCommentsSeparately:vv,printDanglingComments:function(e,r,n,u){var a=[],i=e.getValue();return i&&i.comments?(e.each(function(){var o=e.getValue();o.leading||o.trailing||u&&!u(o)||a.push(sd(e,r))},"comments"),a.length===0?"":n?hv(na,a):BS([na,hv(na,a)])):""},getSortedChildNodes:id,ensureAllCommentsPrinted:function(e){if(e){var r=de(e),n;try{for(r.s();!(n=r.n()).done;){var u=n.value;if(!u.printed)throw new Error('Comment "'+u.value.trim()+'" was not printed. Please report this error!');delete u.printed}}catch(a){r.e(a)}finally{r.f()}}}};function yv(t,e){var r=Ev(t.stack,e);return r===-1?null:t.stack[r]}function Ev(t,e){for(var r=t.length-1;r>=0;r-=2){var n=t[r];if(n&&!Array.isArray(n)&&--e<0)return r}return-1}var IS=function(){function t(e){pe(this,t),this.stack=[e]}return fe(t,[{key:"getName",value:function(){var r=this.stack,n=r.length;return n>1?r[n-2]:null}},{key:"getValue",value:function(){return Ot(this.stack)}},{key:"getNode",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return yv(this,r)}},{key:"getParentNode",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return yv(this,r+1)}},{key:"call",value:function(r){for(var n=this.stack,u=n.length,a=Ot(n),i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(var l=0,c=o;l<c.length;l++){var p=c[l];a=a[p],n.push(p,a)}var f=r(this);return n.length=u,f}},{key:"callParent",value:function(r){var n,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Ev(this.stack,u+1),i=this.stack.splice(a+1),o=r(this);return(n=this.stack).push.apply(n,Z(i)),o}},{key:"each",value:function(r){for(var n=this.stack,u=n.length,a=Ot(n),i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(var l=0,c=o;l<c.length;l++){var p=c[l];a=a[p],n.push(p,a)}for(var f=0;f<a.length;++f)n.push(f,a[f]),r(this,f,a),n.length-=2;n.length=u}},{key:"map",value:function(r){for(var n=[],u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];return this.each.apply(this,[function(o,s,l){n[s]=r(o,s,l)}].concat(a)),n}},{key:"try",value:function(r){var n=this.stack,u=Z(n);try{return r()}finally{n.length=0,n.push.apply(n,u)}}},{key:"match",value:function(){for(var r=this.stack.length-1,n=null,u=this.stack[r--],a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var c=l[s];if(u===void 0)return!1;var p=null;if(typeof n=="number"&&(p=n,n=this.stack[r--],u=this.stack[r--]),c&&!c(u,n,p))return!1;n=this.stack[r--],u=this.stack[r--]}return!0}},{key:"findAncestor",value:function(r){for(var n=this.stack.length-1,u=null,a=this.stack[n--];a;){var i=null;if(typeof u=="number"&&(i=u,u=this.stack[n--],a=this.stack[n--]),u!==null&&r(a,u,i))return a;u=this.stack[n--],a=this.stack[n--]}}}]),t}(),LS=De.utils.stripTrailingHardline,MS=Kg.normalize,jS={printSubtree:function(e,r,n,u){if(n.printer.embed&&n.embeddedLanguageFormatting==="auto")return n.printer.embed(e,r,function(a,i,o){return function(s,l,c,p){var f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},d=f.stripTrailingHardline,D=d===void 0?!1:d,v=MS(Object.assign({},c,l,{parentParser:c.parser,originalText:s}),{passThrough:!0}),y=$a.parse(s,v),b=y.ast;s=y.text;var T=b.comments;delete b.comments,At.attach(T,b,s,v),v[Symbol.for("comments")]=T||[],v[Symbol.for("tokens")]=b.tokens||[];var S=p(b,v);return At.ensureAllCommentsPrinted(T),D?typeof S=="string"?S.replace(/(?:\r?\n)*$/,""):LS(S):S}(a,i,n,u,o)},n)}},Cv=De.builders,RS=Cv.hardline,_S=Cv.addAlignmentToDoc,US=De.utils.propagateBreaks,$S=At.printComments;function Av(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=e.printer;n.preprocess&&(t=n.preprocess(t,e));var u=new Map,a=new IS(t),i=o();return r>0&&(i=_S([RS,i],r,e.tabWidth)),US(i),i;function o(l,c){return l===void 0||l===a?s(c):Array.isArray(l)?a.call.apply(a,[function(){return s(c)}].concat(Z(l))):a.call(function(){return s(c)},l)}function s(l){var c=a.getValue(),p=c&&we(c)=="object"&&l===void 0;if(p&&u.has(c))return u.get(c);var f=function(d,D,v,y){var b=d.getValue(),T=D.printer,S,B;if(T.hasPrettierIgnore&&T.hasPrettierIgnore(d)){var w=function(F,P){var k=P.originalText,R=P[Symbol.for("comments")],W=P.locStart,L=P.locEnd,j=W(F),q=L(F),ae=new Set,ie=de(R),be;try{for(ie.s();!(be=ie.n()).done;){var ce=be.value;W(ce)>=j&&L(ce)<=q&&(ce.printed=!0,ae.add(ce))}}catch(oe){ie.e(oe)}finally{ie.f()}return{doc:k.slice(j,q),printedComments:ae}}(b,D);S=w.doc,B=w.printedComments}else{if(b)try{S=jS.printSubtree(d,v,D,Av)}catch(F){if(bt.PRETTIER_DEBUG)throw F}S||(S=T.print(d,D,v,y))}return T.willPrintOwnComments&&T.willPrintOwnComments(d,D)||(S=$S(d,S,D,B)),S}(a,e,o,l);return p&&u.set(c,f),f}}var cd=Av;function Fv(t){for(var e=t.length-1;;){var r=t[e];if(!r||r.type!=="Program"&&r.type!=="File")break;e--}return t.slice(0,e+1)}function fp(t,e,r,n){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,i=r.locStart,o=r.locEnd,s=i(t),l=o(t);if(!(e>l||e<s||a==="rangeEnd"&&e===s||a==="rangeStart"&&e===l)){var c=de(At.getSortedChildNodes(t,r)),p;try{for(c.s();!(p=c.n()).done;){var f=p.value,d=fp(f,e,r,n,[t].concat(Z(u)),a);if(d)return d}}catch(D){c.e(D)}finally{c.f()}return!n||n(t,u[0])?{node:t,parentNodes:u}:void 0}}var bv=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),WS=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Sv(t,e,r){if(!e)return!1;switch(t.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(n,u){return u!=="DeclareExportDeclaration"&&n!=="TypeParameterDeclaration"&&(n==="Directive"||n==="TypeAlias"||n==="TSExportAssignment"||n.startsWith("Declare")||n.startsWith("TSDeclare")||n.endsWith("Statement")||n.endsWith("Declaration"))}(e.type,r&&r.type);case"json":case"json5":case"json-stringify":return bv.has(e.type);case"graphql":return WS.has(e.kind);case"vue":return e.tag!=="root"}return!1}var Tv={calculateRange:function(e,r,n){var u=r.rangeStart,a=r.rangeEnd,i=r.locStart,o=r.locEnd;Pu.ok(a>u);var s=e.slice(u,a).search(/\S/),l=s===-1;if(!l)for(u+=s;a>u&&!/\S/.test(e[a-1]);--a);var c=fp(n,u,r,function(y,b){return Sv(r,y,b)},[],"rangeStart"),p=l?c:fp(n,a,r,function(y){return Sv(r,y)},[],"rangeEnd");if(!c||!p)return{rangeStart:0,rangeEnd:0};var f,d;if(function(y){var b=y.parser;return b==="json"||b==="json5"||b==="json-stringify"}(r)){var D=function(y,b){var T=[y.node].concat(Z(y.parentNodes)),S=new Set([b.node].concat(Z(b.parentNodes)));return T.find(function(B){return bv.has(B.type)&&S.has(B)})}(c,p);f=D,d=D}else{var v=function(y,b,T){var S=T.locStart,B=T.locEnd,w=y.node,F=b.node;if(w===F)return{startNode:w,endNode:F};var P=S(y.node),k=de(Fv(b.parentNodes)),R;try{for(k.s();!(R=k.n()).done;){var W=R.value;if(!(S(W)>=P))break;F=W}}catch(ie){k.e(ie)}finally{k.f()}var L=B(b.node),j=de(Fv(y.parentNodes)),q;try{for(j.s();!(q=j.n()).done;){var ae=q.value;if(!(B(ae)<=L))break;w=ae}}catch(ie){j.e(ie)}finally{j.f()}return{startNode:w,endNode:F}}(c,p,r);f=v.startNode,d=v.endNode}return{rangeStart:Math.min(i(f),i(d)),rangeEnd:Math.max(o(f),o(d))}},findNodeAtOffset:fp},pd=De.printer.printDocToString,VS=De.debug.printDocToDebug,GS=G.getAlignmentSize,HS=Yu.guessEndOfLine,xv=Yu.convertEndOfLineToChars,Bv=Yu.countEndOfLineChars,KS=Yu.normalizeEndOfLine,ol=Kg.normalize,wv=Symbol("cursor");function Pv(t,e,r){var n=e.comments;return n&&(delete e.comments,At.attach(n,e,t,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=e.tokens||[],r.originalText=t,n}function Nv(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!t||t.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};var n=$a.parse(t,e),u=n.ast,a=n.text;if(e.cursorOffset>=0){var i=Tv.findNodeAtOffset(u,e.cursorOffset,e);i&&i.node&&(e.cursorNode=i.node)}var o=Pv(a,u,e),s=cd(u,e,r),l=pd(s,e);if(At.ensureAllCommentsPrinted(o),r>0){var c=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+xv(e.endOfLine)}if(e.cursorOffset>=0){var p,f,d,D,v;if(e.cursorNode&&l.cursorNodeText?(p=e.locStart(e.cursorNode),f=a.slice(p,e.locEnd(e.cursorNode)),d=e.cursorOffset-p,D=l.cursorNodeStart,v=l.cursorNodeText):(p=0,f=a,d=e.cursorOffset,D=0,v=l.formatted),f===v)return{formatted:l.formatted,cursorOffset:D+d,comments:o};var y=f.split("");y.splice(d,0,wv);var b=v.split(""),T=yu.diffArrays(y,b),S=D,B=de(T),w;try{for(B.s();!(w=B.n()).done;){var F=w.value;if(F.removed){if(F.value.includes(wv))break}else S+=F.count}}catch(P){B.e(P)}finally{B.f()}return{formatted:l.formatted,cursorOffset:S,comments:o}}return{formatted:l.formatted,cursorOffset:-1,comments:o}}function fd(t,e,r){return typeof e!="number"||Number.isNaN(e)||e<0||e>t.length?r:e}function Ov(t,e){var r=e.cursorOffset,n=e.rangeStart,u=e.rangeEnd;return r=fd(t,r,-1),n=fd(t,n,0),u=fd(t,u,t.length),Object.assign({},e,{cursorOffset:r,rangeStart:n,rangeEnd:u})}function kv(t,e){var r=Ov(t,e),n=r.cursorOffset,u=r.rangeStart,a=r.rangeEnd,i=r.endOfLine,o=t.charAt(0)==="\uFEFF";if(o&&(t=t.slice(1),n--,u--,a--),i==="auto"&&(i=HS(t)),t.includes("\r")){var s=function(c){return Bv(t.slice(0,Math.max(c,0)),`\r
|
|
194
|
+
`)};n-=s(n),u-=s(u),a-=s(a),t=KS(t)}return{hasBOM:o,text:t,options:Ov(t,Object.assign({},e,{cursorOffset:n,rangeStart:u,rangeEnd:a,endOfLine:i}))}}function Iv(t,e){var r=$a.resolveParser(e);return!r.hasPragma||r.hasPragma(t)}function Lv(t,e){var r,n=kv(t,ol(e)),u=n.hasBOM,a=n.text,i=n.options;return i.rangeStart>=i.rangeEnd&&a!==""||i.requirePragma&&!Iv(a,i)?{formatted:t,cursorOffset:e.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<a.length?r=function(o,s){var l=$a.parse(o,s),c=l.ast,p=l.text,f=Tv.calculateRange(p,s,c),d=f.rangeStart,D=f.rangeEnd,v=p.slice(d,D),y=Math.min(d,p.lastIndexOf(`
|
|
195
|
+
`,d)+1),b=p.slice(y,d).match(/^\s*/)[0],T=GS(b,s.tabWidth),S=Nv(v,Object.assign({},s,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:s.cursorOffset>d&&s.cursorOffset<D?s.cursorOffset-d:-1,endOfLine:"lf"}),T),B=S.formatted.trimEnd(),w=s.cursorOffset;w>=D?w+=B.length-v.length:S.cursorOffset>=0&&(w=S.cursorOffset+d);var F=p.slice(0,d)+B+p.slice(D);if(s.endOfLine!=="lf"){var P=xv(s.endOfLine);w>=0&&P===`\r
|
|
196
|
+
`&&(w+=Bv(F.slice(0,w),`
|
|
197
|
+
`)),F=F.replace(/\n/g,P)}return{formatted:F,cursorOffset:w,comments:S.comments}}(a,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Iv(a,i)&&(a=i.printer.insertPragma(a)),r=Nv(a,i)),u&&(r.formatted="\uFEFF"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}var Co={formatWithCursor:Lv,parse:function(e,r,n){var u=kv(e,ol(r)),a=u.text,i=u.options,o=$a.parse(a,i);return n&&(o.ast=yS(o.ast,i)),o},formatAST:function(e,r){r=ol(r);var n=cd(e,r);return pd(n,r)},formatDoc:function(e,r){return Lv(VS(e),Object.assign({},r,{parser:"__js_expression"})).formatted},printToDoc:function(e,r){r=ol(r);var n=$a.parse(e,r),u=n.ast,a=n.text;return Pv(a,u,r),cd(u,r)},printDocToString:function(e,r){return pd(e,ol(r))}},zS=G.getMaxContinuousCount,qS=G.getStringWidth,XS=G.getAlignmentSize,JS=G.getIndentSize,YS=G.skip,QS=G.skipWhitespace,ZS=G.skipSpaces,eT=G.skipNewline,tT=G.skipToLineEnd,rT=G.skipEverythingButNewLine,nT=G.skipInlineComment,uT=G.skipTrailingComment,aT=G.hasNewline,iT=G.hasNewlineInRange,oT=G.hasSpaces,sT=G.isNextLineEmpty,lT=G.isNextLineEmptyAfterIndex,cT=G.isPreviousLineEmpty,pT=G.getNextNonSpaceNonCommentCharacterIndex,fT=G.makeString,dT=G.addLeadingComment,hT=G.addDanglingComment,DT=G.addTrailingComment,mT={getMaxContinuousCount:zS,getStringWidth:qS,getAlignmentSize:XS,getIndentSize:JS,skip:YS,skipWhitespace:QS,skipSpaces:ZS,skipNewline:eT,skipToLineEnd:tT,skipEverythingButNewLine:rT,skipInlineComment:nT,skipTrailingComment:uT,hasNewline:aT,hasNewlineInRange:iT,hasSpaces:oT,isNextLineEmpty:sT,isNextLineEmptyAfterIndex:lT,isPreviousLineEmpty:cT,getNextNonSpaceNonCommentCharacterIndex:pT,makeString:fT,addLeadingComment:dT,addDanglingComment:hT,addTrailingComment:DT},It=function(e,r){var n=e.languageId,u=Pe(e,["languageId"]);return Object.assign({linguistLanguageId:n},u,r(e))},gT=Ge(function(t){(function(){function e(n){if(n==null)return!1;switch(n.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(n){switch(n.type){case"IfStatement":return n.alternate!=null?n.alternate:n.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return n.body}return null}t.exports={isExpression:function(u){if(u==null)return!1;switch(u.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(u){return e(u)||u!=null&&u.type==="FunctionDeclaration"},isProblematicIfStatement:function(u){var a;if(u.type!=="IfStatement"||u.alternate==null)return!1;a=u.consequent;do{if(a.type==="IfStatement"&&a.alternate==null)return!0;a=r(a)}while(a);return!1},trailingStatement:r}})()}),Mv=Ge(function(t){(function(){var e,r,n,u,a,i;function o(s){return s<=65535?String.fromCharCode(s):String.fromCharCode(Math.floor((s-65536)/1024)+55296)+String.fromCharCode((s-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;t.exports={isDecimalDigit:function(l){return 48<=l&&l<=57},isHexDigit:function(l){return 48<=l&&l<=57||97<=l&&l<=102||65<=l&&l<=70},isOctalDigit:function(l){return l>=48&&l<=55},isWhiteSpace:function(l){return l===32||l===9||l===11||l===12||l===160||l>=5760&&n.indexOf(l)>=0},isLineTerminator:function(l){return l===10||l===13||l===8232||l===8233},isIdentifierStartES5:function(l){return l<128?u[l]:r.NonAsciiIdentifierStart.test(o(l))},isIdentifierPartES5:function(l){return l<128?a[l]:r.NonAsciiIdentifierPart.test(o(l))},isIdentifierStartES6:function(l){return l<128?u[l]:e.NonAsciiIdentifierStart.test(o(l))},isIdentifierPartES6:function(l){return l<128?a[l]:e.NonAsciiIdentifierPart.test(o(l))}}})()}),vT=Ge(function(t){(function(){var e=Mv;function r(s,l){return!(!l&&s==="yield")&&n(s,l)}function n(s,l){if(l&&function(c){switch(c){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(s))return!0;switch(s.length){case 2:return s==="if"||s==="in"||s==="do";case 3:return s==="var"||s==="for"||s==="new"||s==="try";case 4:return s==="this"||s==="else"||s==="case"||s==="void"||s==="with"||s==="enum";case 5:return s==="while"||s==="break"||s==="catch"||s==="throw"||s==="const"||s==="yield"||s==="class"||s==="super";case 6:return s==="return"||s==="typeof"||s==="delete"||s==="switch"||s==="export"||s==="import";case 7:return s==="default"||s==="finally"||s==="extends";case 8:return s==="function"||s==="continue"||s==="debugger";case 10:return s==="instanceof";default:return!1}}function u(s,l){return s==="null"||s==="true"||s==="false"||r(s,l)}function a(s,l){return s==="null"||s==="true"||s==="false"||n(s,l)}function i(s){var l,c,p;if(s.length===0||(p=s.charCodeAt(0),!e.isIdentifierStartES5(p)))return!1;for(l=1,c=s.length;l<c;++l)if(p=s.charCodeAt(l),!e.isIdentifierPartES5(p))return!1;return!0}function o(s){var l,c,p,f,d;if(s.length===0)return!1;for(d=e.isIdentifierStartES6,l=0,c=s.length;l<c;++l){if(55296<=(p=s.charCodeAt(l))&&p<=56319){if(++l>=c||!(56320<=(f=s.charCodeAt(l))&&f<=57343))return!1;p=1024*(p-55296)+(f-56320)+65536}if(!d(p))return!1;d=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:function(l){return l==="eval"||l==="arguments"},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(l,c){return i(l)&&!u(l,c)},isIdentifierES6:function(l,c){return o(l)&&!a(l,c)}}})()}),yT=Ge(function(t,e){e.ast=gT,e.code=Mv,e.keyword=vT}).keyword.isIdentifierNameES5,jv=G.getLast,Rv=G.hasNewline,ET=G.skipWhitespace,_v=G.isNonEmptyArray,CT=G.isNextLineEmptyAfterIndex,Uv=Ct.locStart,dd=Ct.locEnd,$v=Ct.hasSameLocStart,Wv="(?:(?=.)\\s)",AT=new RegExp("^".concat(Wv,"*:")),FT=new RegExp("^".concat(Wv,"*::"));function Vv(t){return t.type==="AssignmentExpression"||t.type==="BinaryExpression"||t.type==="LogicalExpression"||t.type==="NGPipeExpression"||t.type==="ConditionalExpression"||Ga(t)||Ha(t)||t.type==="SequenceExpression"||t.type==="TaggedTemplateExpression"||t.type==="BindExpression"||t.type==="UpdateExpression"&&!t.prefix||t.type==="TSAsExpression"||t.type==="TSNonNullExpression"}function sl(t){return t.type==="Block"||t.type==="CommentBlock"||t.type==="MultiLine"}function Gv(t){return t.type==="Line"||t.type==="CommentLine"||t.type==="SingleLine"||t.type==="HashbangComment"||t.type==="HTMLOpen"||t.type==="HTMLClose"}var bT=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Hv(t){return t&&bT.has(t.type)}function hd(t){return t.type==="NumericLiteral"||t.type==="Literal"&&typeof t.value=="number"}function Dd(t){return t.type==="StringLiteral"||t.type==="Literal"&&typeof t.value=="string"}function ll(t){return t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"}function md(t){return Ga(t)&&t.callee.type==="Identifier"&&(t.callee.name==="async"||t.callee.name==="inject"||t.callee.name==="fakeAsync")}function gd(t){return t.type==="JSXElement"||t.type==="JSXFragment"}function Kv(t){return t.kind==="get"||t.kind==="set"}function zv(t){return Kv(t)||$v(t,t.value)}var ST=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),TT=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),qv=/^(skip|[fx]?(it|describe|test))$/;function Ga(t){return t&&(t.type==="CallExpression"||t.type==="OptionalCallExpression")}function Ha(t){return t&&(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")}function vd(t,e){return gd(e)?bd(e):Ao(e,gn.Leading,function(r){return Rv(t,dd(r))})}function Xv(t){return/^(\d+|\d+\.\d+)$/.test(t)}function Jv(t){return t.quasis.some(function(e){return e.value.raw.includes(`
|
|
198
|
+
`)})}function Yv(t){return t.extra?t.extra.raw:t.raw}var Qv={"==":!0,"!=":!0,"===":!0,"!==":!0},dp={"*":!0,"/":!0,"%":!0},yd={">>":!0,">>>":!0,"<<":!0},Zv={},hp=de([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries()),e2;try{for(hp.s();!(e2=hp.n()).done;){var t2=_e(e2.value,2),xT=t2[0],BT=t2[1],Dp=de(BT),r2;try{for(Dp.s();!(r2=Dp.n()).done;){var wT=r2.value;Zv[wT]=xT}}catch(t){Dp.e(t)}finally{Dp.f()}}}catch(t){hp.e(t)}finally{hp.f()}function Ed(t){return Zv[t]}var Cd=new WeakMap;function Ad(t){if(Cd.has(t))return Cd.get(t);var e=[];return t.this&&e.push(t.this),Array.isArray(t.parameters)?e.push.apply(e,Z(t.parameters)):Array.isArray(t.params)&&e.push.apply(e,Z(t.params)),t.rest&&e.push(t.rest),Cd.set(t,e),e}var Fd=new WeakMap;function n2(t){return t.value.trim()==="prettier-ignore"&&!t.unignore}function bd(t){return t&&(t.prettierIgnore||Ao(t,gn.PrettierIgnore))}var gn={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},u2=function(e,r){if(typeof e=="function"&&(r=e,e=0),e||r)return function(n,u,a){return!(e&gn.Leading&&!n.leading||e&gn.Trailing&&!n.trailing||e&gn.Dangling&&(n.leading||n.trailing)||e&gn.Block&&!sl(n)||e&gn.Line&&!Gv(n)||e&gn.First&&u!==0||e&gn.Last&&u!==a.length-1||e&gn.PrettierIgnore&&!n2(n)||r&&!r(n))}};function Ao(t,e,r){if(!t||!_v(t.comments))return!1;var n=u2(e,r);return!n||t.comments.some(n)}function a2(t,e,r){if(!t||!Array.isArray(t.comments))return[];var n=u2(e,r);return n?t.comments.filter(n):t.comments}function i2(t){return Ga(t)||t.type==="NewExpression"||t.type==="ImportExpression"}var O={getFunctionParameters:Ad,iterateFunctionParametersPath:function(e,r){var n=e.getValue(),u=0,a=function(o){return r(o,u++)};n.this&&e.call(a,"this"),Array.isArray(n.parameters)?e.each(a,"parameters"):Array.isArray(n.params)&&e.each(a,"params"),n.rest&&e.call(a,"rest")},getCallArguments:function(e){if(Fd.has(e))return Fd.get(e);var r=e.type==="ImportExpression"?[e.source]:e.arguments;return Fd.set(e,r),r},iterateCallArgumentsPath:function(e,r){e.getValue().type==="ImportExpression"?e.call(function(n){return r(n,0)},"source"):e.each(r,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;var r=Ad(e);return r.length>0&&jv(r).type==="RestElement"},getLeftSidePathName:function(e,r){if(r.expressions)return["expressions",0];if(r.left)return["left"];if(r.test)return["test"];if(r.object)return["object"];if(r.callee)return["callee"];if(r.tag)return["tag"];if(r.argument)return["argument"];if(r.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){var r=e.getParentNode();return e.getName()==="declaration"&&Hv(r)?r:null},getTypeScriptMappedTypeModifier:function(e,r){return e==="+"?"+"+r:e==="-"?"-"+r:r},hasFlowAnnotationComment:function(e){return e&&sl(e[0])&&FT.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&_v(e.trailingComments)&&sl(e.trailingComments[0])&&AT.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:vd,hasNakedLeftSide:Vv,hasNode:function t(e,r){if(!e||we(e)!="object")return!1;if(Array.isArray(e))return e.some(function(u){return t(u,r)});var n=r(e);return typeof n=="boolean"?n:Object.values(e).some(function(u){return t(u,r)})},hasIgnoreComment:function(e){return bd(e.getValue())},hasNodeIgnoreComment:bd,identity:function(e){return e},isBinaryish:function(e){return ST.has(e.type)},isBlockComment:sl,isCallLikeExpression:i2,isLineComment:Gv,isPrettierIgnoreComment:n2,isCallExpression:Ga,isMemberExpression:Ha,isExportDeclaration:Hv,isFlowAnnotationComment:function(e,r){var n=Uv(r),u=ET(e,dd(r));return u!==!1&&e.slice(n,n+2)==="/*"&&e.slice(u,u+2)==="*/"},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var r=0,n=de(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;if(ll(a)){if(r+=1,r>1)return!0}else if(Ga(a)){var i=de(a.arguments),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(ll(s))return!0}}catch(l){i.e(l)}finally{i.f()}}}}catch(l){n.e(l)}finally{n.f()}return!1},isFunctionNotation:zv,isFunctionOrArrowExpression:ll,isGetterOrSetter:Kv,isJestEachTemplateLiteral:function(e,r){var n=/^[fx]?(describe|it|test)$/;return r.type==="TaggedTemplateExpression"&&r.quasi===e&&r.tag.type==="MemberExpression"&&r.tag.property.type==="Identifier"&&r.tag.property.name==="each"&&(r.tag.object.type==="Identifier"&&n.test(r.tag.object.name)||r.tag.object.type==="MemberExpression"&&r.tag.object.property.type==="Identifier"&&(r.tag.object.property.name==="only"||r.tag.object.property.name==="skip")&&r.tag.object.object.type==="Identifier"&&n.test(r.tag.object.object.name))},isJsxNode:gd,isLiteral:function(e){return e.type==="BooleanLiteral"||e.type==="DirectiveLiteral"||e.type==="Literal"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="RegExpLiteral"||e.type==="StringLiteral"||e.type==="TemplateLiteral"||e.type==="TSTypeLiteral"||e.type==="JSXText"},isLongCurriedCallExpression:function(e){var r=e.getValue(),n=e.getParentNode();return Ga(r)&&Ga(n)&&n.callee===r&&r.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function t(e,r){if(r>=2)return!1;var n=function(i){return t(i,r+1)},u=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return!(u&&u.length>5)&&(e.type==="Literal"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="BooleanLiteral"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="RegExpLiteral"||e.type==="StringLiteral"||e.type==="Identifier"||e.type==="ThisExpression"||e.type==="Super"||e.type==="PrivateName"||e.type==="PrivateIdentifier"||e.type==="ArgumentPlaceholder"||e.type==="Import"||(e.type==="TemplateLiteral"?e.quasis.every(function(a){return!a.value.raw.includes(`
|
|
199
|
+
`)})&&e.expressions.every(n):e.type==="ObjectExpression"?e.properties.every(function(a){return!a.computed&&(a.shorthand||a.value&&n(a.value))}):e.type==="ArrayExpression"?e.elements.every(function(a){return a===null||n(a)}):e.type==="ImportExpression"?n(e.source):i2(e)?t(e.callee,r)&&e.arguments.every(n):Ha(e)?t(e.object,r)&&t(e.property,r):e.type!=="UnaryExpression"||e.operator!=="!"&&e.operator!=="-"?e.type==="TSNonNullExpression"&&t(e.expression,r):t(e.argument,r)))},isMemberish:function(e){return Ha(e)||e.type==="BindExpression"&&Boolean(e.object)},isNumericLiteral:hd,isSignedNumericLiteral:function(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&hd(e.argument)},isObjectType:function(e){return e.type==="ObjectTypeAnnotation"||e.type==="TSTypeLiteral"},isObjectTypePropertyAFunction:function(e){return!(e.type!=="ObjectTypeProperty"&&e.type!=="ObjectTypeInternalSlot"||e.value.type!=="FunctionTypeAnnotation"||e.static||zv(e))},isSimpleType:function(e){return!!e&&(!(e.type!=="GenericTypeAnnotation"&&e.type!=="TSTypeReference"||e.typeParameters)||!!TT.has(e.type))},isSimpleNumber:Xv,isSimpleTemplateLiteral:function(e){var r="expressions";e.type==="TSTemplateLiteralType"&&(r="types");var n=e[r];return n.length!==0&&n.every(function(u){if(Ao(u))return!1;if(u.type==="Identifier"||u.type==="ThisExpression")return!0;if(Ha(u)){for(var a=u;Ha(a);)if(a.property.type!=="Identifier"&&a.property.type!=="Literal"&&a.property.type!=="StringLiteral"&&a.property.type!=="NumericLiteral"||(a=a.object,Ao(a)))return!1;return a.type==="Identifier"||a.type==="ThisExpression"}return!1})},isStringLiteral:Dd,isStringPropSafeToUnquote:function(e,r){return r.parser!=="json"&&Dd(e.key)&&Yv(e.key).slice(1,-1)===e.key.value&&(yT(e.key.value)&&!((r.parser==="typescript"||r.parser==="babel-ts")&&e.type==="ClassProperty")||Xv(e.key.value)&&String(Number(e.key.value))===e.key.value&&(r.parser==="babel"||r.parser==="espree"||r.parser==="meriyah"))},isTemplateOnItsOwnLine:function(e,r){return(e.type==="TemplateLiteral"&&Jv(e)||e.type==="TaggedTemplateExpression"&&Jv(e.quasi))&&!Rv(r,Uv(e),{backwards:!0})},isTestCall:function t(e,r){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(md(e)&&r&&t(r))return ll(e.arguments[0]);if(function(n){return n.callee.type==="Identifier"&&/^(before|after)(Each|All)$/.test(n.callee.name)&&n.arguments.length===1}(e))return md(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.callee.type==="Identifier"&&qv.test(e.callee.name)||function(n){return Ha(n.callee)&&n.callee.object.type==="Identifier"&&n.callee.property.type==="Identifier"&&qv.test(n.callee.object.name)&&(n.callee.property.name==="only"||n.callee.property.name==="skip")}(e))&&(function(n){return n.type==="TemplateLiteral"}(e.arguments[0])||Dd(e.arguments[0])))return!(e.arguments[2]&&!hd(e.arguments[2]))&&((e.arguments.length===2?ll(e.arguments[1]):function(n){return n.type==="FunctionExpression"||n.type==="ArrowFunctionExpression"&&n.body.type==="BlockStatement"}(e.arguments[1])&&Ad(e.arguments[1]).length<=1)||md(e.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,r){if(e.parentParser!=="markdown"&&e.parentParser!=="mdx")return!1;var n=r.getNode();if(!n.expression||!gd(n.expression))return!1;var u=r.getParentNode();return u.type==="Program"&&u.body.length===1},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!(e.type!=="TypeAnnotation"&&e.type!=="TSTypeAnnotation"||e.typeAnnotation.type!=="FunctionTypeAnnotation"||e.static||$v(e,e.typeAnnotation))},isNextLineEmpty:function(e,r){var n=r.originalText;return CT(n,dd(e))},needsHardlineAfterDanglingComment:function(e){if(!Ao(e))return!1;var r=jv(a2(e,gn.Dangling));return r&&!sl(r)},rawText:Yv,returnArgumentHasLeadingComment:function(e,r){if(vd(e.originalText,r))return!0;if(Vv(r)){for(var n,u=r;n=(a=u).expressions?a.expressions[0]:a.left||a.test||a.callee||a.object||a.tag||a.argument||a.expression;)if(u=n,vd(e.originalText,u))return!0}var a;return!1},shouldPrintComma:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return e.trailingComma==="es5"&&r==="es5"||e.trailingComma==="all"&&(r==="all"||r==="es5")},isBitwiseOperator:function(e){return Boolean(yd[e])||e==="|"||e==="^"||e==="&"},shouldFlatten:function(e,r){return Ed(r)===Ed(e)&&e!=="**"&&(!Qv[e]||!Qv[r])&&!(r==="%"&&dp[e]||e==="%"&&dp[r])&&(r===e||!dp[r]||!dp[e])&&(!yd[e]||!yd[r])},startsWithNoLookaheadToken:function t(e,r){switch((e=function(n){for(;n.left;)n=n.left;return n}(e)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return r;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return t(e.object,r);case"TaggedTemplateExpression":return e.tag.type!=="FunctionExpression"&&t(e.tag,r);case"CallExpression":case"OptionalCallExpression":return e.callee.type!=="FunctionExpression"&&t(e.callee,r);case"ConditionalExpression":return t(e.test,r);case"UpdateExpression":return!e.prefix&&t(e.argument,r);case"BindExpression":return e.object&&t(e.object,r);case"SequenceExpression":return t(e.expressions[0],r);case"TSAsExpression":case"TSNonNullExpression":return t(e.expression,r);default:return!1}},getPrecedence:Ed,hasComment:Ao,getComments:a2,CommentCheckFlags:gn},o2=G.getStringWidth,PT=G.getIndentSize,ua=De.builders,s2=ua.join,Sd=ua.hardline,mp=ua.softline,l2=ua.group,Td=ua.indent,NT=ua.align,gp=ua.lineSuffixBoundary,OT=ua.addAlignmentToDoc,c2=De.printer.printDocToString,kT=De.utils.mapDoc,IT=O.isBinaryish,LT=O.isJestEachTemplateLiteral,MT=O.isSimpleTemplateLiteral,p2=O.hasComment,jT=O.isMemberExpression;function f2(t){return t.replace(/([\\`]|\${)/g,"\\$1")}var aa={printTemplateLiteral:function(e,r,n){var u=e.getValue();if(u.type==="TemplateLiteral"&<(u,e.getParentNode())){var a=function(c,p,f){var d=c.getNode(),D=d.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(D.length>1||D.some(function(ce){return ce.length>0})){p.__inJestEach=!0;var v=c.map(f,"expressions");p.__inJestEach=!1;for(var y=[],b=v.map(function(ce){return"${"+c2(ce,Object.assign({},p,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"}),T=[{hasLineBreak:!1,cells:[]}],S=1;S<d.quasis.length;S++){var B=Ot(T),w=b[S-1];B.cells.push(w),w.includes(`
|
|
200
|
+
`)&&(B.hasLineBreak=!0),d.quasis[S].value.raw.includes(`
|
|
201
|
+
`)&&T.push({hasLineBreak:!1,cells:[]})}var F=Math.max.apply(Math,[D.length].concat(Z(T.map(function(ce){return ce.cells.length})))),P=Array.from({length:F}).fill(0),k=[{cells:D}].concat(Z(T.filter(function(ce){return ce.cells.length>0}))),R=de(k.filter(function(ce){return!ce.hasLineBreak})),W;try{for(R.s();!(W=R.n()).done;){var L=W.value.cells,j=de(L.entries()),q;try{for(j.s();!(q=j.n()).done;){var ae=_e(q.value,2),ie=ae[0],be=ae[1];P[ie]=Math.max(P[ie],o2(be))}}catch(ce){j.e(ce)}finally{j.f()}}}catch(ce){R.e(ce)}finally{R.f()}return y.push(gp,"`",Td([Sd,s2(Sd,k.map(function(ce){return s2(" | ",ce.cells.map(function(oe,Ae){return ce.hasLineBreak?oe:oe+" ".repeat(P[Ae]-o2(oe))}))}))]),Sd,"`"),y}}(e,n,r);if(a)return a}var i="expressions";u.type==="TSTemplateLiteralType"&&(i="types");var o=[],s=e.map(r,i),l=MT(u);return l&&(s=s.map(function(c){return c2(c,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted})),o.push(gp,"`"),e.each(function(c){var p=c.getName();if(o.push(r()),p<s.length){var f=n.tabWidth,d=c.getValue(),D=PT(d.value.raw,f),v=s[p];if(!l){var y=u[i][p];(p2(y)||jT(y)||y.type==="ConditionalExpression"||y.type==="SequenceExpression"||y.type==="TSAsExpression"||IT(y))&&(v=[Td([mp,v]),mp])}var b=D===0&&d.value.raw.endsWith(`
|
|
202
|
+
`)?NT(Number.NEGATIVE_INFINITY,v):OT(v,D,f);o.push(l2(["${",b,gp,"}"]))}},"quasis"),o.push("`"),o},printTemplateExpressions:function(e,r){return e.map(function(n){return function(u,a){var i=u.getValue(),o=a();return p2(i)&&(o=l2([Td([mp,o]),mp])),["${",o,gp,"}"]}(n,r)},"expressions")},escapeTemplateCharacters:function(e,r){return kT(e,function(n){return typeof n=="string"?r?n.replace(/(\\*)`/g,"$1$1\\`"):f2(n):n})},uncookTemplateElementValue:f2},vp=De.builders,RT=vp.indent,d2=vp.softline,_T=vp.literalline,UT=vp.dedentToRoot,$T=aa.escapeTemplateCharacters,WT=function(e,r,n){var u=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,function(s,l){return"\\".repeat(l.length/2)+"`"}),a=function(s){var l=s.match(/^([^\S\n]*)\S/m);return l===null?"":l[1]}(u),i=a!=="";i&&(u=u.replace(new RegExp("^".concat(a),"gm"),""));var o=$T(n(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?RT([d2,o]):[_T,UT(o)],d2,"`"]},VT=G.isNonEmptyArray,xd=De.builders,GT=xd.indent,HT=xd.hardline,KT=xd.softline,Bd=De.utils,zT=Bd.mapDoc,qT=Bd.replaceNewlinesWithLiterallines,XT=Bd.cleanDoc,JT=aa.printTemplateExpressions,YT=function(e,r,n){var u=e.getValue(),a=u.quasis.map(function(o){return o.value.raw}),i=0;return function(o,s,l){if(s.quasis.length===1&&!s.quasis[0].value.raw.trim())return"``";var c=function(p,f){if(!VT(f))return p;var d=0,D=zT(XT(p),function(v){return typeof v=="string"&&v.includes("@prettier-placeholder")?v.split(/@prettier-placeholder-(\d+)-id/).map(function(y,b){return b%2==0?qT(y):(d++,f[y])}):v});return f.length===d?D:null}(o,l);if(!c)throw new Error("Couldn't insert all the expressions");return["`",GT([HT,c]),KT,"`"]}(n(a.reduce(function(o,s,l){return l===0?s:o+"@prettier-placeholder-"+i+++"-id"+s},""),{parser:"scss"},{stripTrailingHardline:!0}),u,JT(e,r))},wd=De.builders,QT=wd.indent,h2=wd.join,cl=wd.hardline,ZT=aa.escapeTemplateCharacters,ex=aa.printTemplateExpressions;function tx(t){var e=[],r=!1,n=t.map(function(l){return l.trim()}),u=de(n.entries()),a;try{for(u.s();!(a=u.n()).done;){var i=_e(a.value,2),o=i[0],s=i[1];s!==""&&(n[o-1]===""&&r?e.push([cl,s]):e.push(s),r=!0)}}catch(l){u.e(l)}finally{u.f()}return e.length===0?null:h2(cl,e)}var rx=function(e,r,n){var u=e.getValue(),a=u.quasis.length;if(a===1&&u.quasis[0].value.raw.trim()==="")return"``";for(var i=ex(e,r),o=[],s=0;s<a;s++){var l=s===0,c=s===a-1,p=u.quasis[s].value.cooked,f=p.split(`
|
|
203
|
+
`),d=f.length,D=i[s],v=d>2&&f[0].trim()===""&&f[1].trim()==="",y=d>2&&f[d-1].trim()===""&&f[d-2].trim()==="",b=f.every(function(S){return/^\s*(?:#[^\n\r]*)?$/.test(S)});if(!c&&/#[^\n\r]*$/.test(f[d-1]))return null;var T=null;T=b?tx(f):n(p,{parser:"graphql"},{stripTrailingHardline:!0}),T?(T=ZT(T,!1),!l&&v&&o.push(""),o.push(T),!c&&y&&o.push("")):l||c||!v||o.push(""),D&&o.push(D)}return["`",QT([cl,h2(cl,o)]),cl,"`"]},yp=De.builders,D2=yp.indent,nx=yp.line,ux=yp.hardline,Ep=yp.group,ax=De.utils.mapDoc,ix=aa.printTemplateExpressions,ox=aa.uncookTemplateElementValue,Pd=0,sx=function(e,r,n,u,a){var i=a.parser,o=e.getValue(),s=Pd;Pd=Pd+1>>>0;var l=function(B){return"PRETTIER_HTML_PLACEHOLDER_".concat(B,"_").concat(s,"_IN_JS")},c=o.quasis.map(function(S,B,w){return B===w.length-1?S.value.cooked:S.value.cooked+l(B)}).join(""),p=ix(e,r);if(p.length===0&&c.trim().length===0)return"``";var f=new RegExp(l("(\\d+)"),"g"),d=0,D=n(c,{parser:i,__onHtmlRoot:function(B){d=B.children.length}},{stripTrailingHardline:!0}),v=ax(D,function(S){if(typeof S!="string")return S;for(var B=[],w=S.split(f),F=0;F<w.length;F++){var P=w[F];if(F%2==0){P&&(P=ox(P),u.__embeddedInHtml&&(P=P.replace(/<\/(script)\b/gi,"<\\/$1")),B.push(P));continue}var k=Number(P);B.push(p[k])}return B}),y=/^\s/.test(c)?" ":"",b=/\s$/.test(c)?" ":"",T=u.htmlWhitespaceSensitivity==="ignore"?ux:y&&b?nx:null;return Ep(T?["`",D2([T,Ep(v)]),T,"`"]:["`",y,d>1?D2(Ep(v)):Ep(v),b,"`"])},lx=O.hasComment,m2=O.CommentCheckFlags;function cx(t){return function(e){var r=e.getValue(),n=e.getParentNode(),u=e.getParentNode(1);return u&&r.quasis&&n.type==="JSXExpressionContainer"&&u.type==="JSXElement"&&u.openingElement.name.name==="style"&&u.openingElement.attributes.some(function(a){return a.name.name==="jsx"})||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="Identifier"&&n.tag.name==="css"||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="MemberExpression"&&n.tag.object.name==="css"&&(n.tag.property.name==="global"||n.tag.property.name==="resolve")}(t)||function(e){var r=e.getParentNode();if(!r||r.type!=="TaggedTemplateExpression")return!1;var n=r.tag;switch(n.type){case"MemberExpression":return Cp(n.object)||v2(n);case"CallExpression":return Cp(n.callee)||n.callee.type==="MemberExpression"&&(n.callee.object.type==="MemberExpression"&&(Cp(n.callee.object.object)||v2(n.callee.object))||n.callee.object.type==="CallExpression"&&Cp(n.callee.object.callee));case"Identifier":return n.name==="css";default:return!1}}(t)||function(e){var r=e.getParentNode(),n=e.getParentNode(1);return n&&r.type==="JSXExpressionContainer"&&n.type==="JSXAttribute"&&n.name.type==="JSXIdentifier"&&n.name.name==="css"}(t)||function(e){return e.match.apply(e,[function(r){return r.type==="TemplateLiteral"},function(r,n){return r.type==="ArrayExpression"&&n==="elements"},function(r,n){return(r.type==="Property"||r.type==="ObjectProperty")&&r.key.type==="Identifier"&&r.key.name==="styles"&&n==="value"}].concat(g2))}(t)?"css":function(e){var r=e.getValue(),n=e.getParentNode();return y2(r,"GraphQL")||n&&(n.type==="TaggedTemplateExpression"&&(n.tag.type==="MemberExpression"&&n.tag.object.name==="graphql"&&n.tag.property.name==="experimental"||n.tag.type==="Identifier"&&(n.tag.name==="gql"||n.tag.name==="graphql"))||n.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="graphql")}(t)?"graphql":function(e){return y2(e.getValue(),"HTML")||e.match(function(r){return r.type==="TemplateLiteral"},function(r,n){return r.type==="TaggedTemplateExpression"&&r.tag.type==="Identifier"&&r.tag.name==="html"&&n==="quasi"})}(t)?"html":function(e){return e.match.apply(e,[function(r){return r.type==="TemplateLiteral"},function(r,n){return(r.type==="Property"||r.type==="ObjectProperty")&&r.key.type==="Identifier"&&r.key.name==="template"&&n==="value"}].concat(g2))}(t)?"angular":function(e){var r=e.getValue(),n=e.getParentNode();return n&&n.type==="TaggedTemplateExpression"&&r.quasis.length===1&&n.tag.type==="Identifier"&&(n.tag.name==="md"||n.tag.name==="markdown")}(t)?"markdown":void 0}var g2=[function(t,e){return t.type==="ObjectExpression"&&e==="properties"},function(t,e){return t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="Component"&&e==="arguments"},function(t,e){return t.type==="Decorator"&&e==="expression"}];function Cp(t){return t.type==="Identifier"&&t.name==="styled"}function v2(t){return/^[A-Z]/.test(t.object.name)&&t.property.name==="extend"}function y2(t,e){return lx(t,m2.Block|m2.Leading,function(r){var n=r.value;return n===" ".concat(e," ")})}var px=function(e,r,n,u){var a=e.getValue();if(!(a.type!=="TemplateLiteral"||function(o){var s=o.quasis;return s.some(function(l){var c=l.value.cooked;return c===null})}(a))){var i=cx(e);return i?i==="markdown"?WT(e,r,n):i==="css"?YT(e,r,n):i==="graphql"?rx(e,r,n):i==="html"||i==="angular"?sx(e,r,n,u,{parser:i}):void 0:void 0}},fx=O.isBlockComment,dx=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Fo=function(e){var r=de(e.quasis),n;try{for(r.s();!(n=r.n()).done;){var u=n.value;delete u.value}}catch(a){r.e(a)}finally{r.f()}};function E2(t,e,r){if(t.type==="Program"&&delete e.sourceType,t.type!=="BigIntLiteral"&&t.type!=="BigIntLiteralTypeAnnotation"||e.value&&(e.value=e.value.toLowerCase()),t.type!=="BigIntLiteral"&&t.type!=="Literal"||e.bigint&&(e.bigint=e.bigint.toLowerCase()),t.type==="DecimalLiteral"&&(e.value=Number(e.value)),t.type==="EmptyStatement"||t.type==="JSXText"||t.type==="JSXExpressionContainer"&&(t.expression.type==="Literal"||t.expression.type==="StringLiteral")&&t.expression.value===" ")return null;if(t.type!=="Property"&&t.type!=="ObjectProperty"&&t.type!=="MethodDefinition"&&t.type!=="ClassProperty"&&t.type!=="ClassMethod"&&t.type!=="PropertyDefinition"&&t.type!=="TSDeclareMethod"&&t.type!=="TSPropertySignature"&&t.type!=="ObjectTypeProperty"||we(t.key)!="object"||!t.key||t.key.type!=="Literal"&&t.key.type!=="NumericLiteral"&&t.key.type!=="StringLiteral"&&t.key.type!=="Identifier"||delete e.key,t.type==="JSXElement"&&t.openingElement.name.name==="style"&&t.openingElement.attributes.some(function(v){return v.name.name==="jsx"})){var n=de(e.children),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=a.type,o=a.expression;i==="JSXExpressionContainer"&&o.type==="TemplateLiteral"&&Fo(o)}}catch(v){n.e(v)}finally{n.f()}}t.type==="JSXAttribute"&&t.name.name==="css"&&t.value.type==="JSXExpressionContainer"&&t.value.expression.type==="TemplateLiteral"&&Fo(e.value.expression),t.type==="JSXAttribute"&&t.value&&t.value.type==="Literal"&&/["']|"|'/.test(t.value.value)&&(e.value.value=e.value.value.replace(/["']|"|'/g,'"'));var s=t.expression||t.callee;if(t.type==="Decorator"&&s.type==="CallExpression"&&s.callee.name==="Component"&&s.arguments.length===1){var l=t.expression.arguments[0].properties,c=de(e.expression.arguments[0].properties.entries()),p;try{for(c.s();!(p=c.n()).done;){var f=_e(p.value,2),d=f[0],D=f[1];switch(l[d].key.name){case"styles":D.value.type==="ArrayExpression"&&Fo(D.value.elements[0]);break;case"template":D.value.type==="TemplateLiteral"&&Fo(D.value)}}}catch(v){c.e(v)}finally{c.f()}}return t.type!=="TaggedTemplateExpression"||t.tag.type!=="MemberExpression"&&(t.tag.type!=="Identifier"||t.tag.name!=="gql"&&t.tag.name!=="graphql"&&t.tag.name!=="css"&&t.tag.name!=="md"&&t.tag.name!=="markdown"&&t.tag.name!=="html")&&t.tag.type!=="CallExpression"||Fo(e.quasi),t.type==="TemplateLiteral"&&(t.leadingComments&&t.leadingComments.some(function(v){return fx(v)&&["GraphQL","HTML"].some(function(y){return v.value===" ".concat(y," ")})})||r.type==="CallExpression"&&r.callee.name==="graphql"||!t.leadingComments)&&Fo(e),t.type==="InterpreterDirective"&&(e.value=e.value.trimEnd()),t.type!=="TSIntersectionType"&&t.type!=="TSUnionType"||t.types.length!==1?void 0:e.types[0]}E2.ignoredProperties=dx;var hx=E2,C2=function(e){if(typeof e!="string")throw new TypeError("Expected a string");var r=e.match(/(?:\r?\n)/g)||[];if(r.length!==0){var n=r.filter(function(u){return u===`\r
|
|
204
|
+
`}).length;return n>r.length-n?`\r
|
|
205
|
+
`:`
|
|
206
|
+
`}},A2=C2;A2.graceful=function(t){return typeof t=="string"&&C2(t)||`
|
|
207
|
+
`};var Dx=function(e){var r=e.match(F2);return r?r[0].trimLeft():""},mx=function(e){var r=e.match(F2);return r&&r[0]?e.substring(r[0].length):e},gx=function(e){return x2(e).pragmas},vx=x2,yx=function(e){var r=e.comments,n=r===void 0?"":r,u=e.pragmas,a=u===void 0?{}:u,i=(0,Od().default)(n)||Nd().EOL,o=" *",s=Object.keys(a),l=s.map(function(f){return B2(f,a[f])}).reduce(function(f,d){return f.concat(d)},[]).map(function(f){return" * "+f+i}).join("");if(!n){if(s.length===0)return"";if(s.length===1&&!Array.isArray(a[s[0]])){var c=a[s[0]];return"".concat("/**"," ").concat(B2(s[0],c)[0]).concat(" */")}}var p=n.split(i).map(function(f){return"".concat(o," ").concat(f)}).join(i)+i;return"/**"+i+(n?p:"")+(n&&s.length?o+i:"")+l+" */"};function Nd(){var t=Ob;return Nd=function(){return t},t}function Od(){var t=function(e){return e&&e.__esModule?e:{default:e}}(A2);return Od=function(){return t},t}var Ex=/\*\/$/,Cx=/^\/\*\*/,F2=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ax=/(^|\s+)\/\/([^\r\n]*)/g,b2=/^(\r?\n)+/,Fx=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,S2=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,bx=/(\r?\n|^) *\* ?/g,T2=[];function x2(t){var e=(0,Od().default)(t)||Nd().EOL;t=t.replace(Cx,"").replace(Ex,"").replace(bx,"$1");for(var r="";r!==t;)r=t,t=t.replace(Fx,"".concat(e,"$1 $2").concat(e));t=t.replace(b2,"").trimRight();for(var n=Object.create(null),u=t.replace(S2,"").replace(b2,"").trimRight(),a;a=S2.exec(t);){var i=a[2].replace(Ax,"");typeof n[a[1]]=="string"||Array.isArray(n[a[1]])?n[a[1]]=T2.concat(n[a[1]],i):n[a[1]]=i}return{comments:u,pragmas:n}}function B2(t,e){return T2.concat(e).map(function(r){return"@".concat(t," ").concat(r).trim()})}var Ap=Object.defineProperty({extract:Dx,strip:mx,parse:gx,parseWithComments:vx,print:yx},"__esModule",{value:!0}),Sx=Ap.parseWithComments,Tx=Ap.strip,xx=Ap.extract,Bx=Ap.print,wx=G.getShebang,Px=Yu.normalizeEndOfLine;function w2(t){var e=wx(t);e&&(t=t.slice(e.length+1));var r=xx(t),n=Sx(r),u=n.pragmas,a=n.comments;return{shebang:e,text:t,pragmas:u,comments:a}}var kd={hasPragma:function(e){var r=Object.keys(w2(e).pragmas);return r.includes("prettier")||r.includes("format")},insertPragma:function(e){var r=w2(e),n=r.shebang,u=r.text,a=r.pragmas,i=r.comments,o=Tx(u),s=Bx({pragmas:Object.assign({format:""},a),comments:i.trimStart()});return(n?"".concat(n,`
|
|
208
|
+
`):"")+Px(s)+(o.startsWith(`
|
|
209
|
+
`)?`
|
|
210
|
+
`:`
|
|
211
|
+
|
|
212
|
+
`)+o}},P2=G.getLast,Nx=G.hasNewline,Id=G.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,Ka=G.getNextNonSpaceNonCommentCharacter,Ox=G.hasNewlineInRange,or=G.addLeadingComment,Tr=G.addTrailingComment,Nu=G.addDanglingComment,kx=G.getNextNonSpaceNonCommentCharacterIndex,N2=G.isNonEmptyArray,O2=O.isBlockComment,Fp=O.getFunctionParameters,Ld=O.isPrettierIgnoreComment,Ix=O.isJsxNode,Lx=O.hasFlowShorthandAnnotationComment,k2=O.hasFlowAnnotationComment,Mx=O.hasIgnoreComment,jx=O.isCallLikeExpression,Rx=O.getCallArguments,I2=O.isCallExpression,_x=O.isMemberExpression,L2=Ct.locStart,vn=Ct.locEnd;function bo(t,e){var r=(t.body||t.properties).find(function(n){var u=n.type;return u!=="EmptyStatement"});r?or(r,e):Nu(t,e)}function Md(t,e){t.type==="BlockStatement"?bo(t,e):or(t,e)}function Ux(t){var e=t.comment,r=t.followingNode;return!(!r||!G2(e))&&(or(r,e),!0)}function jd(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode,a=t.text;return!n||n.type!=="IfStatement"||!u?!1:Ka(a,e,vn)===")"?(Tr(r,e),!0):r===n.consequent&&u===n.alternate?(r.type==="BlockStatement"?Tr(r,e):Nu(n,e),!0):u.type==="BlockStatement"?(bo(u,e),!0):u.type==="IfStatement"?(Md(u.consequent,e),!0):n.consequent===u&&(or(u,e),!0)}function Rd(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode,a=t.text;return!n||n.type!=="WhileStatement"||!u?!1:Ka(a,e,vn)===")"?(Tr(r,e),!0):u.type==="BlockStatement"?(bo(u,e),!0):n.body===u&&(or(u,e),!0)}function M2(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode;return!(!n||n.type!=="TryStatement"&&n.type!=="CatchClause"||!u)&&(n.type==="CatchClause"&&r?(Tr(r,e),!0):u.type==="BlockStatement"?(bo(u,e),!0):u.type==="TryStatement"?(Md(u.finalizer,e),!0):u.type==="CatchClause"&&(Md(u.body,e),!0))}function $x(t){var e=t.comment,r=t.enclosingNode,n=t.followingNode;return!(!_x(r)||!n||n.type!=="Identifier")&&(or(r,e),!0)}function Wx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode,a=t.text,i=r&&!Ox(a,vn(r),L2(e));return!(r&&i||!n||n.type!=="ConditionalExpression"&&n.type!=="TSConditionalType"||!u)&&(or(u,e),!0)}function Vx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode;return!(!n||n.type!=="ObjectProperty"&&n.type!=="Property"||!n.shorthand||n.key!==r||n.value.type!=="AssignmentPattern")&&(Tr(n.value.left,e),!0)}function j2(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode;if(n&&(n.type==="ClassDeclaration"||n.type==="ClassExpression"||n.type==="DeclareClass"||n.type==="DeclareInterface"||n.type==="InterfaceDeclaration"||n.type==="TSInterfaceDeclaration")){if(N2(n.decorators)&&(!u||u.type!=="Decorator"))return Tr(P2(n.decorators),e),!0;if(n.body&&u===n.body)return bo(n.body,e),!0;if(u)for(var a=0,i=["implements","extends","mixins"];a<i.length;a++){var o=i[a];if(n[o]&&u===n[o][0])return!r||r!==n.id&&r!==n.typeParameters&&r!==n.superClass?Nu(n,e,o):Tr(r,e),!0}}return!1}function R2(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.text;return(n&&r&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&r.type==="Identifier"&&n.key===r&&Ka(u,r,vn)!==":"||!(!r||!n||r.type!=="Decorator"||n.type!=="ClassMethod"&&n.type!=="ClassProperty"&&n.type!=="PropertyDefinition"&&n.type!=="TSAbstractClassProperty"&&n.type!=="TSAbstractMethodDefinition"&&n.type!=="TSDeclareMethod"&&n.type!=="MethodDefinition"))&&(Tr(r,e),!0)}function Gx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.text;return Ka(u,e,vn)==="("&&!(!r||!n||n.type!=="FunctionDeclaration"&&n.type!=="FunctionExpression"&&n.type!=="ClassMethod"&&n.type!=="MethodDefinition"&&n.type!=="ObjectMethod")&&(Tr(r,e),!0)}function Hx(t){var e=t.comment,r=t.enclosingNode,n=t.text;if(!r||r.type!=="ArrowFunctionExpression")return!1;var u=kx(n,e,vn);return u!==!1&&n.slice(u,u+2)==="=>"&&(Nu(r,e),!0)}function Kx(t){var e=t.comment,r=t.enclosingNode,n=t.text;return Ka(n,e,vn)===")"&&(r&&(V2(r)&&Fp(r).length===0||jx(r)&&Rx(r).length===0)?(Nu(r,e),!0):!(!r||r.type!=="MethodDefinition"&&r.type!=="TSAbstractMethodDefinition"||Fp(r.value).length!==0)&&(Nu(r.value,e),!0))}function _2(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode,a=t.text;if(r&&r.type==="FunctionTypeParam"&&n&&n.type==="FunctionTypeAnnotation"&&u&&u.type!=="FunctionTypeParam"||r&&(r.type==="Identifier"||r.type==="AssignmentPattern")&&n&&V2(n)&&Ka(a,e,vn)===")")return Tr(r,e),!0;if(n&&n.type==="FunctionDeclaration"&&u&&u.type==="BlockStatement"){var i=function(){var o=Fp(n);if(o.length>0)return Id(a,vn(P2(o)));var s=Id(a,vn(n.id));return s!==!1&&Id(a,s+1)}();if(L2(e)>i)return bo(u,e),!0}return!1}function U2(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="ImportSpecifier")&&(or(r,e),!0)}function $2(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="LabeledStatement")&&(or(r,e),!0)}function zx(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="ContinueStatement"&&r.type!=="BreakStatement"||r.label)&&(Tr(r,e),!0)}function qx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode;return!!(I2(n)&&r&&n.callee===r&&n.arguments.length>0)&&(or(n.arguments[0],e),!0)}function Xx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode;return!n||n.type!=="UnionTypeAnnotation"&&n.type!=="TSUnionType"?(u&&(u.type==="UnionTypeAnnotation"||u.type==="TSUnionType")&&Ld(e)&&(u.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Ld(e)&&(u.prettierIgnore=!0,e.unignore=!0),!!r&&(Tr(r,e),!0))}function Jx(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="Property"&&r.type!=="ObjectProperty")&&(or(r,e),!0)}function _d(t){var e=t.comment,r=t.enclosingNode,n=t.followingNode,u=t.ast,a=t.isLastComment;return u&&u.body&&u.body.length===0?(a?Nu(u,e):or(u,e),!0):r&&r.type==="Program"&&r.body.length===0&&r.directives&&r.directives.length===0?(a?Nu(r,e):or(r,e),!0):!(!n||n.type!=="Program"||n.body.length!==0||!r||r.type!=="ModuleExpression")&&(Nu(n,e),!0)}function Yx(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="ForInStatement"&&r.type!=="ForOfStatement")&&(or(r,e),!0)}function Qx(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.text;return!!(r&&r.type==="ImportSpecifier"&&n&&n.type==="ImportDeclaration"&&Nx(u,vn(e)))&&(Tr(r,e),!0)}function Zx(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="AssignmentPattern")&&(or(r,e),!0)}function e8(t){var e=t.comment,r=t.enclosingNode;return!(!r||r.type!=="TypeAlias")&&(or(r,e),!0)}function t8(t){var e=t.comment,r=t.enclosingNode,n=t.followingNode;return!(!r||r.type!=="VariableDeclarator"&&r.type!=="AssignmentExpression"||!n||n.type!=="ObjectExpression"&&n.type!=="ArrayExpression"&&n.type!=="TemplateLiteral"&&n.type!=="TaggedTemplateExpression"&&!O2(e))&&(or(n,e),!0)}function r8(t){var e=t.comment,r=t.enclosingNode,n=t.followingNode,u=t.text;return!(n||!r||r.type!=="TSMethodSignature"&&r.type!=="TSDeclareFunction"&&r.type!=="TSAbstractMethodDefinition"||Ka(u,e,vn)!==";")&&(Tr(r,e),!0)}function W2(t){var e=t.comment,r=t.enclosingNode,n=t.followingNode;if(Ld(e)&&r&&r.type==="TSMappedType"&&n&&n.type==="TSTypeParameter"&&n.constraint)return r.prettierIgnore=!0,e.unignore=!0,!0}function n8(t){var e=t.comment,r=t.precedingNode,n=t.enclosingNode,u=t.followingNode;return!(!n||n.type!=="TSMappedType")&&(u&&u.type==="TSTypeParameter"&&u.name?(or(u.name,e),!0):!(!r||r.type!=="TSTypeParameter"||!r.constraint)&&(Tr(r.constraint,e),!0))}function V2(t){return t.type==="ArrowFunctionExpression"||t.type==="FunctionExpression"||t.type==="FunctionDeclaration"||t.type==="ObjectMethod"||t.type==="ClassMethod"||t.type==="TSDeclareFunction"||t.type==="TSCallSignatureDeclaration"||t.type==="TSConstructSignatureDeclaration"||t.type==="TSMethodSignature"||t.type==="TSConstructorType"||t.type==="TSFunctionType"||t.type==="TSDeclareMethod"}function G2(t){return O2(t)&&t.value[0]==="*"&&/@type\b/.test(t.value)}var So={handleOwnLineComment:function(e){return[W2,_2,$x,jd,Rd,M2,j2,U2,Yx,Xx,_d,Qx,Zx,R2,$2].some(function(r){return r(e)})},handleEndOfLineComment:function(e){return[Ux,_2,Wx,U2,jd,Rd,M2,j2,$2,qx,Jx,_d,e8,t8].some(function(r){return r(e)})},handleRemainingComment:function(e){return[W2,jd,Rd,Vx,Kx,R2,_d,Hx,Gx,n8,zx,r8].some(function(r){return r(e)})},isTypeCastComment:G2,getCommentChildNodes:function(e,r){if((r.parser==="typescript"||r.parser==="flow"||r.parser==="espree"||r.parser==="meriyah")&&e.type==="MethodDefinition"&&e.value&&e.value.type==="FunctionExpression"&&Fp(e.value).length===0&&!e.value.returnType&&!N2(e.value.typeParameters)&&e.value.body)return[].concat(Z(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function(e){var r=e.getValue(),n=e.getParentNode();return(r&&(Ix(r)||Lx(r)||I2(n)&&(k2(r.leadingComments)||k2(r.trailingComments)))||n&&(n.type==="JSXSpreadAttribute"||n.type==="JSXSpreadChild"||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType"||(n.type==="ClassDeclaration"||n.type==="ClassExpression")&&n.superClass===r))&&(!Mx(e)||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType")}},u8=O.getFunctionParameters,a8=O.getLeftSidePathName,i8=O.hasFlowShorthandAnnotationComment,o8=O.hasNakedLeftSide,H2=O.hasNode,s8=O.isBitwiseOperator,K2=O.startsWithNoLookaheadToken,l8=O.shouldFlatten,z2=O.getPrecedence,q2=O.isCallExpression,c8=O.isMemberExpression;function Ud(t,e){var r=t.getParentNode();if(!r)return!1;var n=t.getName(),u=t.getNode();if(e.__isInHtmlInterpolation&&!e.bracketSpacing&&function(S){switch(S.type){case"ObjectExpression":return!0;default:return!1}}(u)&&pl(t))return!0;if(function(S){return S.type==="BlockStatement"||S.type==="BreakStatement"||S.type==="ClassBody"||S.type==="ClassDeclaration"||S.type==="ClassMethod"||S.type==="ClassProperty"||S.type==="PropertyDefinition"||S.type==="ClassPrivateProperty"||S.type==="ContinueStatement"||S.type==="DebuggerStatement"||S.type==="DeclareClass"||S.type==="DeclareExportAllDeclaration"||S.type==="DeclareExportDeclaration"||S.type==="DeclareFunction"||S.type==="DeclareInterface"||S.type==="DeclareModule"||S.type==="DeclareModuleExports"||S.type==="DeclareVariable"||S.type==="DoWhileStatement"||S.type==="EnumDeclaration"||S.type==="ExportAllDeclaration"||S.type==="ExportDefaultDeclaration"||S.type==="ExportNamedDeclaration"||S.type==="ExpressionStatement"||S.type==="ForInStatement"||S.type==="ForOfStatement"||S.type==="ForStatement"||S.type==="FunctionDeclaration"||S.type==="IfStatement"||S.type==="ImportDeclaration"||S.type==="InterfaceDeclaration"||S.type==="LabeledStatement"||S.type==="MethodDefinition"||S.type==="ReturnStatement"||S.type==="SwitchStatement"||S.type==="ThrowStatement"||S.type==="TryStatement"||S.type==="TSDeclareFunction"||S.type==="TSEnumDeclaration"||S.type==="TSImportEqualsDeclaration"||S.type==="TSInterfaceDeclaration"||S.type==="TSModuleDeclaration"||S.type==="TSNamespaceExportDeclaration"||S.type==="TypeAlias"||S.type==="VariableDeclaration"||S.type==="WhileStatement"||S.type==="WithStatement"}(u))return!1;if(e.parser!=="flow"&&i8(t.getValue()))return!0;if(u.type==="Identifier")return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name))||n==="left"&&u.name==="async"&&r.type==="ForOfStatement"&&!r.await;switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(u.type==="ArrowFunctionExpression"||u.type==="AssignmentExpression"||u.type==="AwaitExpression"||u.type==="BinaryExpression"||u.type==="ConditionalExpression"||u.type==="LogicalExpression"||u.type==="NewExpression"||u.type==="ObjectExpression"||u.type==="ParenthesizedExpression"||u.type==="SequenceExpression"||u.type==="TaggedTemplateExpression"||u.type==="UnaryExpression"||u.type==="UpdateExpression"||u.type==="YieldExpression"||u.type==="TSNonNullExpression"))return!0;break;case"ExportDefaultDeclaration":return X2(t,e)||u.type==="SequenceExpression";case"Decorator":if(n==="expression"){for(var a=!1,i=!1,o=u;o;)switch(o.type){case"MemberExpression":i=!0,o=o.object;break;case"CallExpression":if(i||a)return!0;a=!0,o=o.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(K2(u,!0))return!0;break;case"ArrowFunctionExpression":if(n==="body"&&u.type!=="SequenceExpression"&&K2(u,!1))return!0}switch(u.type){case"UpdateExpression":if(r.type==="UnaryExpression")return u.prefix&&(u.operator==="++"&&r.operator==="+"||u.operator==="--"&&r.operator==="-");case"UnaryExpression":switch(r.type){case"UnaryExpression":return u.operator===r.operator&&(u.operator==="+"||u.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&r.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(r.type==="UpdateExpression"||r.type==="PipelineTopicExpression"&&u.operator==="|>"||u.operator==="in"&&function(S){for(var B=0,w=S.getValue();w;){var F=S.getParentNode(B++);if(F&&F.type==="ForStatement"&&F.init===w)return!0;w=F}return!1}(t))return!0;if(u.operator==="|>"&&u.extra&&u.extra.parenthesized){var s=t.getParentNode(1);if(s.type==="BinaryExpression"&&s.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"TSAsExpression":return u.type!=="TSAsExpression";case"ConditionalExpression":return u.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(u.type==="TSTypeAssertion"||u.type==="TSAsExpression");case"LogicalExpression":if(u.type==="LogicalExpression")return r.operator!==u.operator;case"BinaryExpression":{var l=u.operator,c=u.type;if(!l&&c!=="TSTypeAssertion")return!0;var p=z2(l),f=r.operator,d=z2(f);return d>p||n==="right"&&d===p||d===p&&!l8(f,l)||(d<p&&l==="%"?f==="+"||f==="-":!!s8(f))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return n!=="expression";case"ArrowFunctionExpression":return n!=="body";default:return!0}case"YieldExpression":if(r.type==="UnaryExpression"||r.type==="AwaitExpression"||r.type==="TSAsExpression"||r.type==="TSNonNullExpression"||n==="expression"&&u.argument&&u.argument.type==="PipelinePrimaryTopicReference"&&r.type==="PipelineTopicExpression")return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"BinaryExpression":return!(!u.argument&&r.operator==="|>");default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if(n==="extendsType"&&r.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(n==="checkType"&&r.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((r.type==="TSUnionType"||r.type==="TSIntersectionType")&&r.types.length>1&&(!u.types||u.types.length>1))return!0;case"TSInferType":if(u.type==="TSInferType"&&r.type==="TSRestType")return!1;case"TSTypeOperator":return r.type==="TSArrayType"||r.type==="TSOptionalType"||r.type==="TSRestType"||n==="objectType"&&r.type==="TSIndexedAccessType"||r.type==="TSTypeOperator"||r.type==="TSTypeAnnotation"&&/^TSJSDoc/.test(t.getParentNode(1).type);case"ArrayTypeAnnotation":return r.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return r.type==="ArrayTypeAnnotation"||r.type==="NullableTypeAnnotation"||r.type==="IntersectionTypeAnnotation"||r.type==="UnionTypeAnnotation";case"NullableTypeAnnotation":return r.type==="ArrayTypeAnnotation";case"FunctionTypeAnnotation":{var D=r.type==="NullableTypeAnnotation"?t.getParentNode(1):r;return D.type==="UnionTypeAnnotation"||D.type==="IntersectionTypeAnnotation"||D.type==="ArrayTypeAnnotation"||D.type==="NullableTypeAnnotation"||r.type==="FunctionTypeParam"&&r.name===null&&u8(u).some(function(S){return S.typeAnnotation&&S.typeAnnotation.type==="NullableTypeAnnotation"})}case"OptionalIndexedAccessType":return n==="objectType"&&r.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof u.value=="string"&&r.type==="ExpressionStatement"&&!r.directive){var v=t.getParentNode(1);return v.type==="Program"||v.type==="BlockStatement"}return n==="object"&&r.type==="MemberExpression"&&typeof u.value=="number";case"AssignmentExpression":{var y=t.getParentNode(1);return n==="body"&&r.type==="ArrowFunctionExpression"||(n!=="key"||r.type!=="ClassProperty"&&r.type!=="PropertyDefinition"||!r.computed)&&(n!=="init"&&n!=="update"||r.type!=="ForStatement")&&(r.type==="ExpressionStatement"?u.left.type==="ObjectPattern":(n!=="key"||r.type!=="TSPropertySignature")&&r.type!=="AssignmentExpression"&&(r.type!=="SequenceExpression"||!y||y.type!=="ForStatement"||y.init!==r&&y.update!==r)&&(n!=="value"||r.type!=="Property"||!y||y.type!=="ObjectPattern"||!y.properties.includes(r))&&r.type!=="NGChainedExpression")}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"PipelineTopicExpression":return Boolean(u.extra&&u.extra.parenthesized);case"BinaryExpression":return r.operator!=="|>"||u.extra&&u.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(r.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{var b=t.getParentNode(1);if(n==="object"&&r.type==="MemberExpression"||n==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&b.type==="MemberExpression"&&b.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression"))for(var T=u;T;)switch(T.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":T=T.object;break;case"TaggedTemplateExpression":T=T.tag;break;case"TSNonNullExpression":T=T.expression;break;default:return!1}return!1;case"BindExpression":return n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression")||n==="object"&&c8(r);case"NGPipeExpression":return!(r.type==="NGRoot"||r.type==="NGMicrosyntaxExpression"||r.type==="ObjectProperty"&&(!u.extra||!u.extra.parenthesized)||r.type==="ArrayExpression"||q2(r)&&r.arguments[n]===u||n==="right"&&r.type==="NGPipeExpression"||n==="property"&&r.type==="MemberExpression"||r.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&r.type==="BinaryExpression"&&r.operator==="<"||r.type!=="ArrayExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="AssignmentExpression"&&r.type!=="AssignmentPattern"&&r.type!=="BinaryExpression"&&r.type!=="NewExpression"&&r.type!=="ConditionalExpression"&&r.type!=="ExpressionStatement"&&r.type!=="JsExpressionRoot"&&r.type!=="JSXAttribute"&&r.type!=="JSXElement"&&r.type!=="JSXExpressionContainer"&&r.type!=="JSXFragment"&&r.type!=="LogicalExpression"&&r.type!=="ObjectProperty"&&!q2(r)&&r.type!=="Property"&&r.type!=="ReturnStatement"&&r.type!=="ThrowStatement"&&r.type!=="TypeCastExpression"&&r.type!=="VariableDeclarator"&&r.type!=="YieldExpression";case"TypeAnnotation":return n==="returnType"&&r.type==="ArrowFunctionExpression"&&function(S){return H2(S,function(B){return B.type==="ObjectTypeAnnotation"&&H2(B,function(w){return w.type==="FunctionTypeAnnotation"||void 0})||void 0})}(u)}return!1}function pl(t){var e=t.getValue(),r=t.getParentNode(),n=t.getName();switch(r.type){case"NGPipeExpression":if(typeof n=="number"&&r.arguments[n]===e&&r.arguments.length-1===n)return t.callParent(pl);break;case"ObjectProperty":if(n==="value"){var u=t.getParentNode(1);return Ot(u.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return t.callParent(pl);break;case"ConditionalExpression":if(n==="alternate")return t.callParent(pl);break;case"UnaryExpression":if(r.prefix)return t.callParent(pl)}return!1}function X2(t,e){var r=t.getValue(),n=t.getParentNode();return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!Ud(t,e):!(!o8(r)||n.type!=="ExportDefaultDeclaration"&&Ud(t,e))&&t.call.apply(t,[function(u){return X2(u,e)}].concat(Z(a8(t,r))))}var To=Ud,J2=function(e,r){switch(r.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:r.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:r.rootMarker});default:return e}},fl=De.builders,Y2=fl.join,Q2=fl.line,p8=fl.group,Z2=fl.softline,f8=fl.indent,ey={isVueEventBindingExpression:function t(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return t(e.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,r,n){var u=e.getValue();if(r.__onHtmlBindingRoot&&e.getName()===null&&r.__onHtmlBindingRoot(u,r),u.type==="File")return r.__isVueForBindingLeft?e.call(function(a){var i=Y2([",",Q2],a.map(n,"params")),o=a.getValue(),s=o.params;return s.length===1?i:["(",f8([Z2,p8(i)]),Z2,")"]},"program","body",0):r.__isVueBindings?e.call(function(a){return Y2([",",Q2],a.map(n,"params"))},"program","body",0):void 0}},d8=At.printComments,h8=G.getLast,ia=De.builders,D8=ia.join,ty=ia.line,bp=ia.softline,Ou=ia.group,$d=ia.indent,m8=ia.align,g8=ia.ifBreak,v8=ia.indentIfBreak,Wd=De.utils,y8=Wd.cleanDoc,E8=Wd.getDocParts,C8=Wd.isConcat,A8=O.hasLeadingOwnLineComment,ry=O.isBinaryish,ny=O.isJsxNode,uy=O.shouldFlatten,ay=O.hasComment,iy=O.CommentCheckFlags,oy=O.isCallExpression,F8=O.isMemberExpression,b8=0;function sy(t,e,r,n,u){var a=[],i=t.getValue();if(ry(i)){uy(i.operator,i.left.operator)?a=[].concat(Z(a),Z(t.call(function(y){return sy(y,e,r,!0,u)},"left"))):a.push(Ou(e("left")));var o=Sp(i),s=(i.operator==="|>"||i.type==="NGPipeExpression"||i.operator==="|"&&r.parser==="__vue_expression")&&!A8(r.originalText,i.right),l=i.type==="NGPipeExpression"?"|":i.operator,c=i.type==="NGPipeExpression"&&i.arguments.length>0?Ou($d([bp,": ",D8([bp,":",g8(" ")],t.map(e,"arguments").map(function(y){return m8(2,Ou(y))}))])):"",p=o?[l," ",e("right"),c]:[s?ty:"",l,s?" ":ty,e("right"),c],f=t.getParentNode(),d=ay(i.left,iy.Trailing|iy.Line),D=d||!(u&&i.type==="LogicalExpression")&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(a.push(s?"":" ",D?Ou(p,{shouldBreak:d}):p),n&&ay(i)){var v=y8(d8(t,a,r));a=C8(v)||v.type==="fill"?E8(v):[v]}}else a.push(Ou(e()));return a}function Sp(t){return t.type==="LogicalExpression"&&(t.right.type==="ObjectExpression"&&t.right.properties.length>0||t.right.type==="ArrayExpression"&&t.right.elements.length>0||!!ny(t.right))}var Vd={printBinaryishExpression:function(e,r,n){var u=e.getValue(),a=e.getParentNode(),i=e.getParentNode(1),o=u!==a.body&&(a.type==="IfStatement"||a.type==="WhileStatement"||a.type==="SwitchStatement"||a.type==="DoWhileStatement"),s=sy(e,n,r,!1,o);if(o)return s;if(oy(a)&&a.callee===u||a.type==="UnaryExpression"||F8(a)&&!a.computed)return Ou([$d([bp].concat(Z(s))),bp]);var l=a.type==="ReturnStatement"||a.type==="ThrowStatement"||a.type==="JSXExpressionContainer"&&i.type==="JSXAttribute"||u.operator!=="|"&&a.type==="JsExpressionRoot"||u.type!=="NGPipeExpression"&&(a.type==="NGRoot"&&r.parser==="__ng_binding"||a.type==="NGMicrosyntaxExpression"&&i.type==="NGMicrosyntax"&&i.body.length===1)||u===a.body&&a.type==="ArrowFunctionExpression"||u!==a.body&&a.type==="ForStatement"||a.type==="ConditionalExpression"&&i.type!=="ReturnStatement"&&i.type!=="ThrowStatement"&&!oy(i)||a.type==="TemplateLiteral",c=a.type==="AssignmentExpression"||a.type==="VariableDeclarator"||a.type==="ClassProperty"||a.type==="PropertyDefinition"||a.type==="TSAbstractClassProperty"||a.type==="ClassPrivateProperty"||a.type==="ObjectProperty"||a.type==="Property",p=ry(u.left)&&uy(u.operator,u.left.operator);if(l||Sp(u)&&!p||!Sp(u)&&c)return Ou(s);if(s.length===0)return"";var f=ny(u.right),d=s.findIndex(function(S){return typeof S!="string"&&!Array.isArray(S)&&S.type==="group"}),D=s.slice(0,d===-1?1:d+1),v=s.slice(D.length,f?-1:void 0),y=Symbol("logicalChain-"+ ++b8),b=Ou([].concat(Z(D),[$d(v)]),{id:y});if(!f)return b;var T=h8(s);return Ou([b,v8(T,{groupId:y})])},shouldInlineLogicalExpression:Sp},Gd=De.builders,S8=Gd.join,ly=Gd.line,T8=Gd.group,x8=O.hasNode,B8=O.hasComment,w8=O.getComments,P8=Vd.printBinaryishExpression;function cy(t,e,r){return t.type==="NGMicrosyntaxKeyedExpression"&&t.key.name==="of"&&e===1&&r.body[0].type==="NGMicrosyntaxLet"&&r.body[0].value===null}var N8={printAngular:function(e,r,n){var u=e.getValue();switch(u.type){case"NGRoot":return[n("node"),B8(u.node)?" //"+w8(u.node)[0].value.trimEnd():""];case"NGPipeExpression":return P8(e,r,n);case"NGChainedExpression":return T8(S8([";",ly],e.map(function(s){return function(l){return x8(l.getValue(),function(c){switch(c.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(s)?n():["(",n(),")"]},"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[u.prefix,": ",u.value.trim()];case"NGMicrosyntax":return e.map(function(s,l){return[l===0?"":cy(s.getValue(),l,u)?" ":[";",ly],n()]},"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return[n("expression"),u.alias===null?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{var a=e.getName(),i=e.getParentNode(),o=cy(u,a,i)||(a===1&&(u.key.name==="then"||u.key.name==="else")||a===2&&u.key.name==="else"&&i.body[a-1].type==="NGMicrosyntaxKeyedExpression"&&i.body[a-1].key.name==="then")&&i.body[0].type==="NGMicrosyntaxExpression";return[n("key"),o?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),u.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}},py=At.printComments,fy=At.printDanglingComments,ru=De.builders,Tp=ru.line,Lt=ru.hardline,xr=ru.softline,za=ru.group,qa=ru.indent,O8=ru.conditionalGroup,k8=ru.fill,Hd=ru.ifBreak,dy=ru.lineSuffixBoundary,hy=ru.join,Dy=De.utils.willBreak,dl=G.getLast,I8=G.getPreferredQuote,xp=O.isJsxNode,hl=O.rawText,Bp=O.isLiteral,my=O.isCallExpression,Kd=O.isStringLiteral,L8=O.isBinaryish,yn=O.hasComment,Xa=O.CommentCheckFlags,M8=O.hasNodeIgnoreComment,j8=So.willPrintOwnComments,zd=function(e){return e===""||e===Tp||e===Lt||e===xr};function R8(t,e,r){var n=t.getValue();if(n.type==="JSXElement"&&function(ae){if(ae.children.length===0)return!0;if(ae.children.length>1)return!1;var ie=ae.children[0];return Bp(ie)&&!Dl(ie)}(n))return[r("openingElement"),r("closingElement")];var u=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),a=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[u].concat(Z(t.map(r,"children")),[a]);n.children=n.children.map(function(ae){return function(ie){return ie.type==="JSXExpressionContainer"&&Bp(ie.expression)&&ie.expression.value===" "&&!yn(ie.expression)}(ae)?{type:"JSXText",value:" ",raw:" "}:ae});for(var i=n.children.filter(xp).length>0,o=n.children.filter(function(ae){return ae.type==="JSXExpressionContainer"}).length>1,s=n.type==="JSXElement"&&n.openingElement.attributes.length>1,l=Dy(u)||i||s||o,c=t.getParentNode().rootMarker==="mdx",p=e.singleQuote?"{' '}":'{" "}',f=c?" ":Hd([p,xr]," "),d=function(ae,ie,be,ce,oe){var Ae=[];return ae.each(function(ze,Oe,We){var Ke=ze.getValue();if(Bp(Ke)){var ut=hl(Ke);if(Dl(Ke)){var qe=ut.split(wp);if(qe[0]===""){if(Ae.push(""),qe.shift(),/\n/.test(qe[0])){var ct=We[Oe+1];Ae.push(vy(oe,qe[1],Ke,ct))}else Ae.push(ce);qe.shift()}var xe;if(dl(qe)===""&&(qe.pop(),xe=qe.pop()),qe.length===0)return;var Te=de(qe.entries()),pt;try{for(Te.s();!(pt=Te.n()).done;){var Me=_e(pt.value,2),Ve=Me[0],at=Me[1];Ve%2==1?Ae.push(Tp):Ae.push(at)}}catch(Hn){Te.e(Hn)}finally{Te.f()}if(xe!==void 0)if(/\n/.test(xe)){var mt=We[Oe+1];Ae.push(vy(oe,dl(Ae),Ke,mt))}else Ae.push(ce);else{var Xt=We[Oe+1];Ae.push(gy(oe,dl(Ae),Ke,Xt))}}else/\n/.test(ut)?ut.match(/\n/g).length>1&&Ae.push("",Lt):Ae.push("",ce)}else{var Sn=be();Ae.push(Sn);var Or=We[Oe+1];if(Or&&Dl(Or)){var pu=$8(hl(Or)).split(wp)[0];Ae.push(gy(oe,pu,Ke,Or))}else Ae.push(Lt)}},"children"),Ae}(t,0,r,f,n.openingElement&&n.openingElement.name&&n.openingElement.name.name==="fbt"),D=n.children.some(function(ae){return Dl(ae)}),v=d.length-2;v>=0;v--){var y=d[v]===""&&d[v+1]==="",b=d[v]===Lt&&d[v+1]===""&&d[v+2]===Lt,T=(d[v]===xr||d[v]===Lt)&&d[v+1]===""&&d[v+2]===f,S=d[v]===f&&d[v+1]===""&&(d[v+2]===xr||d[v+2]===Lt),B=d[v]===f&&d[v+1]===""&&d[v+2]===f,w=d[v]===xr&&d[v+1]===""&&d[v+2]===Lt||d[v]===Lt&&d[v+1]===""&&d[v+2]===xr;b&&D||y||T||B||w?d.splice(v,2):S&&d.splice(v+1,2)}for(;d.length>0&&zd(dl(d));)d.pop();for(;d.length>1&&zd(d[0])&&zd(d[1]);)d.shift(),d.shift();var F=[],P=de(d.entries()),k;try{for(P.s();!(k=P.n()).done;){var R=_e(k.value,2),W=R[0],L=R[1];if(L===f){if(W===1&&d[W-1]===""){if(d.length===2){F.push(p);continue}F.push([p,Lt]);continue}if(W===d.length-1){F.push(p);continue}if(d[W-1]===""&&d[W-2]===Lt){F.push(p);continue}}F.push(L),Dy(L)&&(l=!0)}}catch(ae){P.e(ae)}finally{P.f()}var j=D?k8(F):za(F,{shouldBreak:!0});if(c)return j;var q=za([u,qa([Lt,j]),Lt,a]);return l?q:O8([za([u].concat(Z(d),[a])),q])}function gy(t,e,r,n){return t?"":r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?e.length===1?xr:Lt:xr}function vy(t,e,r,n){return t?Lt:e.length===1?r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?Lt:xr:Lt}function _8(t,e,r){return function(n,u,a){var i=n.getParentNode();if(!i||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[i.type])return u;var o=n.match(void 0,function(l){return l.type==="ArrowFunctionExpression"},my,function(l){return l.type==="JSXExpressionContainer"}),s=To(n,a);return za([s?"":Hd("("),qa([xr,u]),xr,s?"":Hd(")")],{shouldBreak:o})}(t,py(t,R8(t,e,r),e),e)}function yy(t,e,r){var n=t.getValue();return["{",t.call(function(u){var a=["...",r()],i=u.getValue();return yn(i)&&j8(u)?[qa([xr,py(u,a,e)]),xr]:a},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}var wp=new RegExp(`([
|
|
213
|
+
\r ]+)`),U8=new RegExp(`[^
|
|
214
|
+
\r ]`),$8=function(e){return e.replace(new RegExp("(?:^"+wp.source+"|"+wp.source+"$)"),"")};function Dl(t){return Bp(t)&&(U8.test(hl(t))||!/\n/.test(hl(t)))}var Ey={hasJsxIgnoreComment:function(e){var r=e.getValue(),n=e.getParentNode();if(!(n&&r&&xp(r)&&xp(n)))return!1;for(var u=null,a=n.children.indexOf(r);a>0;a--){var i=n.children[a-1];if(i.type!=="JSXText"||Dl(i)){u=i;break}}return u&&u.type==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&M8(u.expression)},printJsx:function(e,r,n){var u=e.getValue();switch(u.type){case"JSXAttribute":return function(a,i,o){var s=a.getValue(),l=[];if(l.push(o("name")),s.value){var c;if(Kd(s.value)){var p=hl(s.value).replace(/'/g,"'").replace(/"/g,'"'),f=I8(p,i.jsxSingleQuote?"'":'"'),d=f==="'"?"'":""";p=p.slice(1,-1).replace(new RegExp(f,"g"),d),c=[f,p,f]}else c=o("value");l.push("=",c)}return l}(e,r,n);case"JSXIdentifier":return String(u.name);case"JSXNamespacedName":return hy(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return hy(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return yy(e,r,n);case"JSXSpreadChild":return yy(e,r,n);case"JSXExpressionContainer":return function(a,i,o){var s=a.getValue(),l=a.getParentNode(0),c=s.expression.type==="JSXEmptyExpression"||!yn(s.expression)&&(s.expression.type==="ArrayExpression"||s.expression.type==="ObjectExpression"||s.expression.type==="ArrowFunctionExpression"||my(s.expression)||s.expression.type==="FunctionExpression"||s.expression.type==="TemplateLiteral"||s.expression.type==="TaggedTemplateExpression"||s.expression.type==="DoExpression"||xp(l)&&(s.expression.type==="ConditionalExpression"||L8(s.expression)));return za(c?["{",o("expression"),dy,"}"]:["{",qa([xr,o("expression")]),xr,dy,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return _8(e,r,n);case"JSXOpeningElement":return function(a,i,o){var s=a.getValue(),l=s.name&&yn(s.name)||s.typeParameters&&yn(s.typeParameters);if(s.selfClosing&&s.attributes.length===0&&!l)return["<",o("name"),o("typeParameters")," />"];if(s.attributes&&s.attributes.length===1&&s.attributes[0].value&&Kd(s.attributes[0].value)&&!s.attributes[0].value.value.includes(`
|
|
215
|
+
`)&&!l&&!yn(s.attributes[0]))return za(["<",o("name"),o("typeParameters")," "].concat(Z(a.map(o,"attributes")),[s.selfClosing?" />":">"]));var c=s.attributes.length>0&&yn(dl(s.attributes),Xa.Trailing),p=s.attributes.length===0&&!l||i.jsxBracketSameLine&&(!l||s.attributes.length>0)&&!c,f=s.attributes&&s.attributes.some(function(d){return d.value&&Kd(d.value)&&d.value.value.includes(`
|
|
216
|
+
`)});return za(["<",o("name"),o("typeParameters"),qa(a.map(function(){return[Tp,o()]},"attributes")),s.selfClosing?Tp:p?">":xr,s.selfClosing?"/>":p?"":">"],{shouldBreak:f})}(e,r,n);case"JSXClosingElement":return function(a,i,o){var s=a.getValue(),l=[];l.push("</");var c=o("name");return yn(s.name,Xa.Leading|Xa.Line)?l.push(qa([Lt,c]),Lt):yn(s.name,Xa.Leading|Xa.Block)?l.push(" ",c):l.push(c),l.push(">"),l}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(a,i){var o=a.getValue(),s=yn(o),l=yn(o,Xa.Line),c=o.type==="JSXOpeningFragment";return[c?"<":"</",qa([l?Lt:s&&!c?" ":"",fy(a,i,!0)]),l?Lt:"",">"]}(e,r);case"JSXEmptyExpression":return function(a,i){var o=a.getValue(),s=yn(o,Xa.Line);return[fy(a,i,!s),s?Lt:""]}(e,r);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}},W8=G.isNonEmptyArray,qd=De.builders,V8=qd.indent,G8=qd.join,H8=qd.line,K8=O.isFlowAnnotationComment,jt={printOptionalToken:function(e){var r=e.getValue();return!r.optional||r.type==="Identifier"&&r===e.getParentNode().key?"":r.type==="OptionalCallExpression"||r.type==="OptionalMemberExpression"&&r.computed?"?.":"?"},printFunctionTypeParameters:function(e,r,n){var u=e.getValue();return u.typeArguments?n("typeArguments"):u.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,r,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,r,n){var u=e.getValue();return W8(u.modifiers)?[G8(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function(e,r,n){var u=e.getValue();if(!u.typeAnnotation)return"";var a=e.getParentNode(),i=u.definite||a&&a.type==="VariableDeclarator"&&a.definite,o=a.type==="DeclareFunction"&&a.id===u;return K8(r.originalText,u.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function(e,r,n){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||n?[" ",r]:V8([H8,r])}},Cy=At.printDanglingComments,Ja=De.builders,Ay=Ja.line,Pp=Ja.softline,Xd=Ja.hardline,Jd=Ja.group,z8=Ja.indent,Fy=Ja.ifBreak,q8=Ja.fill,X8=G.getLast,J8=G.hasNewline,Y8=O.shouldPrintComma,Np=O.hasComment,ml=O.CommentCheckFlags,by=O.isNextLineEmpty,Q8=O.isNumericLiteral,Z8=O.isSignedNumericLiteral,eB=Ct.locStart,tB=jt.printOptionalToken,rB=jt.printTypeAnnotation;function Sy(t,e){return t.elements.length>1&&t.elements.every(function(r){return r&&(Q8(r)||Z8(r)&&!Np(r.argument))&&!Np(r,ml.Trailing|ml.Line,function(n){return!J8(e.originalText,eB(n),{backwards:!0})})})}function Ty(t,e,r,n){var u=[],a=[];return t.each(function(i){u.push(a,Jd(n())),a=[",",Ay],i.getValue()&&by(i.getValue(),e)&&a.push(Pp)},r),u}function nB(t,e,r,n){var u=[];return t.each(function(a,i,o){var s=i===o.length-1;u.push([r(),s?n:","]),s||u.push(by(a.getValue(),e)?[Xd,Xd]:Np(o[i+1],ml.Leading|ml.Line)?Xd:Ay)},"elements"),q8(u)}var gl={printArray:function(e,r,n){var u=e.getValue(),a=[],i=u.type==="TupleExpression"?"#[":"[";if(u.elements.length===0)Np(u,ml.Dangling)?a.push(Jd([i,Cy(e,r),Pp,"]"])):a.push(i,"]");else{var o=X8(u.elements),s=!(o&&o.type==="RestElement"),l=o===null,c=Symbol("array"),p=!r.__inJestEach&&u.elements.length>1&&u.elements.every(function(D,v,y){var b=D&&D.type;if(b!=="ArrayExpression"&&b!=="ObjectExpression")return!1;var T=y[v+1];if(T&&b!==T.type)return!1;var S=b==="ArrayExpression"?"elements":"properties";return D[S]&&D[S].length>1}),f=Sy(u,r),d=s?l?",":Y8(r)?f?Fy(",","",{groupId:c}):Fy(","):"":"";a.push(Jd([i,z8([Pp,f?nB(e,r,n,d):[Ty(e,r,"elements",n),d],Cy(e,r,!0)]),Pp,"]"],{shouldBreak:p,id:c}))}return a.push(tB(e),rB(e,r,n)),a},printArrayItems:Ty,isConciselyPrintedArray:Sy},uB=At.printDanglingComments,xy=G.getLast,aB=G.getPenultimate,iB=O.getFunctionParameters,Ya=O.hasComment,Yd=O.CommentCheckFlags,oB=O.isFunctionCompositionArgs,sB=O.isJsxNode,lB=O.isLongCurriedCallExpression,cB=O.shouldPrintComma,pB=O.getCallArguments,By=O.iterateCallArgumentsPath,fB=O.isNextLineEmpty,dB=O.isCallExpression,oa=De.builders,Op=oa.line,kp=oa.hardline,wy=oa.softline,Ip=oa.group,Py=oa.indent,hB=oa.conditionalGroup,DB=oa.ifBreak,mB=oa.breakParent,Lp=De.utils.willBreak,gB=qr.ArgExpansionBailout,vB=gl.isConciselyPrintedArray;function vl(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return t.type==="ObjectExpression"&&(t.properties.length>0||Ya(t))||t.type==="ArrayExpression"&&(t.elements.length>0||Ya(t))||t.type==="TSTypeAssertion"&&vl(t.expression)||t.type==="TSAsExpression"&&vl(t.expression)||t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&(!t.returnType||!t.returnType.typeAnnotation||t.returnType.typeAnnotation.type!=="TSTypeReference"||(r=t.body).type==="BlockStatement"&&(r.body.some(function(n){return n.type!=="EmptyStatement"})||Ya(r,Yd.Dangling)))&&(t.body.type==="BlockStatement"||t.body.type==="ArrowFunctionExpression"&&vl(t.body,!0)||t.body.type==="ObjectExpression"||t.body.type==="ArrayExpression"||!e&&(dB(t.body)||t.body.type==="ConditionalExpression")||sB(t.body))||t.type==="DoExpression"||t.type==="ModuleExpression";var r}var Qd=function(e,r,n){var u=e.getValue(),a=u.type==="ImportExpression",i=pB(u);if(i.length===0)return["(",uB(e,r,!0),")"];if(function(b){return b.length===2&&b[0].type==="ArrowFunctionExpression"&&iB(b[0]).length===0&&b[0].body.type==="BlockStatement"&&b[1].type==="ArrayExpression"&&!b.some(function(T){return Ya(T)})}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var o=!1,s=!1,l=i.length-1,c=[];By(e,function(b,T){var S=b.getNode(),B=[n()];T===l||(fB(S,r)?(T===0&&(s=!0),o=!0,B.push(",",kp,kp)):B.push(",",Op)),c.push(B)});var p=a||u.callee&&u.callee.type==="Import"||!cB(r,"all")?"":",";function f(){return Ip(["(",Py([Op].concat(c)),p,Op,")"],{shouldBreak:!0})}if(o||e.getParentNode().type!=="Decorator"&&oB(i))return f();var d=function(b){if(b.length!==2)return!1;var T=_e(b,2),S=T[0],B=T[1];return S.type==="ModuleExpression"&&function(w){return w.type==="ObjectExpression"&&w.properties.length===1&&w.properties[0].type==="ObjectProperty"&&w.properties[0].key.type==="Identifier"&&w.properties[0].key.name==="type"&&w.properties[0].value.type==="StringLiteral"&&w.properties[0].value.value==="module"}(B)?!0:!Ya(S)&&(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression"&&S.body.type==="BlockStatement")&&B.type!=="FunctionExpression"&&B.type!=="ArrowFunctionExpression"&&B.type!=="ConditionalExpression"&&!vl(B)}(i),D=function(b,T){var S=xy(b),B=aB(b);return!Ya(S,Yd.Leading)&&!Ya(S,Yd.Trailing)&&vl(S)&&(!B||B.type!==S.type)&&(b.length!==2||B.type!=="ArrowFunctionExpression"||S.type!=="ArrayExpression")&&!(b.length>1&&S.type==="ArrayExpression"&&vB(S,T))}(i,r);if(d||D){if(d?c.slice(1).some(Lp):c.slice(0,-1).some(Lp))return f();var v=[];try{e.try(function(){By(e,function(b,T){d&&T===0&&(v=[[n([],{expandFirstArg:!0}),c.length>1?",":"",s?kp:Op,s?kp:""]].concat(Z(c.slice(1)))),D&&T===l&&(v=[].concat(Z(c.slice(0,-1)),[n([],{expandLastArg:!0})]))})})}catch(b){if(b instanceof gB)return f();throw b}return[c.some(Lp)?mB:"",hB([["("].concat(Z(v),[")"]),d?["(",Ip(v[0],{shouldBreak:!0})].concat(Z(v.slice(1)),[")"]):["("].concat(Z(c.slice(0,-1)),[Ip(xy(v),{shouldBreak:!0}),")"]),f()])]}var y=["(",Py([wy].concat(c)),DB(p),wy,")"];return lB(e)?y:Ip(y,{shouldBreak:c.some(Lp)||o})},Mp=De.builders,Zd=Mp.softline,Ny=Mp.group,Oy=Mp.indent,yB=Mp.label,EB=O.isNumericLiteral,ky=O.isMemberExpression,Iy=O.isCallExpression,CB=jt.printOptionalToken;function Ly(t,e,r){var n=r("property"),u=t.getValue(),a=CB(t);return u.computed?!u.property||EB(u.property)?[a,"[",n,"]"]:Ny([a,"[",Oy([Zd,n]),Zd,"]"]):[a,".",n]}var My={printMemberExpression:function(e,r,n){var u=e.getValue(),a=e.getParentNode(),i,o=0;do i=e.getParentNode(o),o++;while(i&&(ky(i)||i.type==="TSNonNullExpression"));var s=n("object"),l=Ly(e,r,n),c=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!ky(a)||(a.type==="AssignmentExpression"||a.type==="VariableDeclarator")&&(Iy(u.object)&&u.object.arguments.length>0||u.object.type==="TSNonNullExpression"&&Iy(u.object.expression)&&u.object.expression.arguments.length>0||s.label==="member-chain");return yB(s.label==="member-chain"?"member-chain":"member",[s,c?l:Ny(Oy([Zd,l]))])},printMemberLookup:Ly},eh=At.printComments,xo=G.getLast,AB=G.isNextLineEmptyAfterIndex,FB=G.getNextNonSpaceNonCommentCharacterIndex,sa=O.isCallExpression,th=O.isMemberExpression,bB=O.isFunctionOrArrowExpression,SB=O.isLongCurriedCallExpression,yl=O.isMemberish,jy=O.isNumericLiteral,TB=O.isSimpleCallArgument,El=O.hasComment,jp=O.CommentCheckFlags,xB=O.isNextLineEmpty,BB=Ct.locEnd,Qa=De.builders,wB=Qa.join,Rp=Qa.hardline,rh=Qa.group,PB=Qa.indent,NB=Qa.conditionalGroup,OB=Qa.breakParent,kB=Qa.label,nh=De.utils.willBreak,IB=My.printMemberLookup,Ry=jt.printOptionalToken,_y=jt.printFunctionTypeParameters,LB=jt.printBindExpressionCallee,MB=function(e,r,n){var u=e.getParentNode(),a=!u||u.type==="ExpressionStatement",i=[];function o(L){var j=r.originalText,q=FB(j,L,BB);return j.charAt(q)===")"?q!==!1&&AB(j,q+1):xB(L,r)}function s(L){var j=L.getValue();sa(j)&&(yl(j.callee)||sa(j.callee))?(i.unshift({node:j,printed:[eh(L,[Ry(L),_y(L,r,n),Qd(L,r,n)],r),o(j)?Rp:""]}),L.call(function(q){return s(q)},"callee")):yl(j)?(i.unshift({node:j,needsParens:To(L,r),printed:eh(L,th(j)?IB(L,r,n):LB(L,r,n),r)}),L.call(function(q){return s(q)},"object")):j.type==="TSNonNullExpression"?(i.unshift({node:j,printed:eh(L,"!",r)}),L.call(function(q){return s(q)},"expression")):i.unshift({node:j,printed:n()})}var l=e.getValue();i.unshift({node:l,printed:[Ry(e),_y(e,r,n),Qd(e,r,n)]}),l.callee&&e.call(function(L){return s(L)},"callee");for(var c=[],p=[i[0]],f=1;f<i.length&&(i[f].node.type==="TSNonNullExpression"||sa(i[f].node)||th(i[f].node)&&i[f].node.computed&&jy(i[f].node.property));++f)p.push(i[f]);if(!sa(i[0].node))for(;f+1<i.length&&yl(i[f].node)&&yl(i[f+1].node);++f)p.push(i[f]);c.push(p),p=[];for(var d=!1;f<i.length;++f){if(d&&yl(i[f].node)){if(i[f].node.computed&&jy(i[f].node.property)){p.push(i[f]);continue}c.push(p),p=[],d=!1}(sa(i[f].node)||i[f].node.type==="ImportExpression")&&(d=!0),p.push(i[f]),El(i[f].node,jp.Trailing)&&(c.push(p),p=[],d=!1)}function D(L){return/^[A-Z]|^[$_]+$/.test(L)}p.length>0&&c.push(p);var v=c.length>=2&&!El(c[1][0].node)&&function(L){var j=L[1].length>0&&L[1][0].node.computed;if(L[0].length===1){var q=L[0][0].node;return q.type==="ThisExpression"||q.type==="Identifier"&&(D(q.name)||a&&function(ie){return ie.length<=r.tabWidth}(q.name)||j)}var ae=xo(L[0]).node;return th(ae)&&ae.property.type==="Identifier"&&(D(ae.property.name)||j)}(c);function y(L){var j=L.map(function(q){return q.printed});return L.length>0&&xo(L).needsParens?["("].concat(Z(j),[")"]):j}var b=c.map(y),T=b,S=v?3:2,B=I0(c),w=B.slice(1,-1).some(function(L){return El(L.node,jp.Leading)})||B.slice(0,-1).some(function(L){return El(L.node,jp.Trailing)})||c[S]&&El(c[S][0].node,jp.Leading);if(c.length<=S&&!w)return SB(e)?T:rh(T);var F=xo(c[v?1:0]).node,P=!sa(F)&&o(F),k=[y(c[0]),v?c.slice(1,2).map(y):"",P?Rp:"",function(L){return L.length===0?"":PB(rh([Rp,wB(Rp,L.map(y))]))}(c.slice(v?2:1))],R=i.map(function(L){var j=L.node;return j}).filter(sa),W;return W=w||R.length>2&&R.some(function(L){return!L.arguments.every(function(j){return TB(j,0)})})||b.slice(0,-1).some(nh)||function(){var L=xo(xo(c)).node,j=xo(b);return sa(L)&&nh(j)&&R.slice(0,-1).some(function(q){return q.arguments.some(bB)})}()?rh(k):[nh(T)||P?OB:"",NB([T,k])],kB("member-chain",W)},Uy=De.builders,jB=Uy.join,RB=Uy.group,$y=O.getCallArguments,_B=O.hasFlowAnnotationComment,UB=O.isCallExpression,$B=O.isMemberish,WB=O.isStringLiteral,VB=O.isTemplateOnItsOwnLine,GB=O.isTestCall,HB=O.iterateCallArgumentsPath,KB=jt.printOptionalToken,Wy=jt.printFunctionTypeParameters,Vy={printCallExpression:function(e,r,n){var u=e.getValue(),a=e.getParentNode(),i=u.type==="NewExpression",o=u.type==="ImportExpression",s=KB(e),l=$y(u);if(l.length>0&&(!o&&!i&&function(d,D){if(d.callee.type!=="Identifier")return!1;if(d.callee.name==="require")return!0;if(d.callee.name==="define"){var v=$y(d);return D.type==="ExpressionStatement"&&(v.length===1||v.length===2&&v[0].type==="ArrayExpression"||v.length===3&&WB(v[0])&&v[1].type==="ArrayExpression")}return!1}(u,a)||l.length===1&&VB(l[0],r.originalText)||!i&&GB(u,a))){var c=[];return HB(e,function(){c.push(n())}),[i?"new ":"",n("callee"),s,Wy(e,r,n),"(",jB(", ",c),")"]}var p=(r.parser==="babel"||r.parser==="babel-flow")&&u.callee&&u.callee.type==="Identifier"&&_B(u.callee.trailingComments);if(p&&(u.callee.trailingComments[0].printed=!0),!o&&!i&&$B(u.callee)&&!e.call(function(d){return To(d,r)},"callee"))return MB(e,r,n);var f=[i?"new ":"",o?"import":n("callee"),s,p?"/*:: ".concat(u.callee.trailingComments[0].value.slice(2).trim()," */"):"",Wy(e,r,n),Qd(e,r,n)];return o||UB(u.callee)?RB(f):f}},zB=G.isNonEmptyArray,qB=G.getStringWidth,_p=De.builders,Up=_p.line,Qr=_p.group,uh=_p.indent,XB=_p.indentIfBreak,JB=De.utils.cleanDoc,YB=O.hasLeadingOwnLineComment,Gy=O.isBinaryish,Hy=O.isStringLiteral,QB=O.isLiteral,ZB=O.isNumericLiteral,e6=O.isCallExpression,t6=O.isMemberExpression,r6=O.getCallArguments,n6=O.rawText,Ky=O.hasComment,u6=O.isSignedNumericLiteral,zy=Vd.shouldInlineLogicalExpression,a6=Vy.printCallExpression;function ah(t,e,r,n,u,a){var i=function(l,c,p,f,d){var D=l.getValue(),v=D[d];if(!v)return"only-left";var y=!$p(v);if(l.match($p,qy,function(T){return!y||T.type!=="ExpressionStatement"&&T.type!=="VariableDeclaration"}))return y?v.type==="ArrowFunctionExpression"&&v.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!y&&$p(v.right)||YB(c.originalText,v))return"break-after-operator";if(v.type==="CallExpression"&&v.callee.name==="require"||c.parser==="json5"||c.parser==="json")return"never-break-after-operator";if(function(T){if(qy(T)){var S=T.left||T.id;return S.type==="ObjectPattern"&&S.properties.length>2&&S.properties.some(function(B){return(B.type==="ObjectProperty"||B.type==="Property")&&(!B.shorthand||B.value&&B.value.type==="AssignmentPattern")})}return!1}(D))return"break-lhs";var b=function(T,S,B){if(T.type!=="ObjectProperty"&&T.type!=="Property")return!1;S=JB(S);var w=3;return typeof S=="string"&&qB(S)<B.tabWidth+w}(D,f,c);return l.call(function(){return function(T,S,B,w){var F=T.getValue();if(Gy(F)&&!zy(F))return!0;switch(F.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{var P=F.test;return Gy(P)&&!zy(P)}case"ClassExpression":return zB(F.decorators)}if(w)return!1;for(var k=F,R=[];;)if(k.type==="UnaryExpression")k=k.argument,R.push("argument");else{if(k.type!=="TSNonNullExpression")break;k=k.expression,R.push("expression")}return!!(Hy(k)||T.call.apply(T,[function(){return Xy(T,S,B)}].concat(R)))}(l,c,p,b)},d)?"break-after-operator":b||v.type==="TemplateLiteral"||v.type==="TaggedTemplateExpression"||v.type==="BooleanLiteral"||ZB(v)||v.type==="ClassExpression"?"never-break-after-operator":"fluid"}(t,e,r,n,a),o=r(a,{assignmentLayout:i});switch(i){case"break-after-operator":return Qr([Qr(n),u,Qr(uh([Up,o]))]);case"never-break-after-operator":return Qr([Qr(n),u," ",o]);case"fluid":{var s=Symbol("assignment");return Qr([Qr(n),u,Qr(uh(Up),{id:s}),XB(o,{groupId:s})])}case"break-lhs":return Qr([n,u," ",Qr(o)]);case"chain":return[Qr(n),u,Up,o];case"chain-tail":return[Qr(n),u,uh([Up,o])];case"chain-tail-arrow-chain":return[Qr(n),u,o];case"only-left":return n}}function $p(t){return t.type==="AssignmentExpression"}function qy(t){return $p(t)||t.type==="VariableDeclarator"}function Xy(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,u=t.getValue(),a=function(){return Xy(t,e,r,!0)};if(u.type==="TSNonNullExpression")return t.call(a,"expression");if(e6(u)){if(a6(t,e,r).label==="member-chain")return!1;var i=r6(u);return!!(i.length===0||i.length===1&&function(o,s){var l=s.printWidth;if(Ky(o))return!1;var c=.25*l;if(o.type==="ThisExpression"||o.type==="Identifier"&&o.name.length<=c||u6(o)&&!Ky(o.argument))return!0;var p=o.type==="Literal"&&"regex"in o&&o.regex.pattern||o.type==="RegExpLiteral"&&o.pattern;return p?p.length<=c:Hy(o)?n6(o).length<=c:o.type==="TemplateLiteral"?o.expressions.length===0&&o.quasis[0].value.raw.length<=c&&!o.quasis[0].value.raw.includes(`
|
|
217
|
+
`):QB(o)}(i[0],e))&&t.call(a,"callee")}return t6(u)?t.call(a,"object"):n&&(u.type==="Identifier"||u.type==="ThisExpression")}var Cl={printVariableDeclarator:function(e,r,n){return ah(e,r,n,n("id")," =","init")},printAssignmentExpression:function(e,r,n){var u=e.getValue();return ah(e,r,n,n("left"),[" ",u.operator],"right")},printAssignment:ah},i6=G.getNextNonSpaceNonCommentCharacter,o6=At.printDanglingComments,Bo=De.builders,s6=Bo.line,Jy=Bo.hardline,Yy=Bo.softline,l6=Bo.group,c6=Bo.indent,p6=Bo.ifBreak,Qy=De.utils,Zy=Qy.removeLines,ih=Qy.willBreak,oh=O.getFunctionParameters,f6=O.iterateFunctionParametersPath,d6=O.isSimpleType,h6=O.isTestCall,D6=O.isTypeAnnotationAFunction,sh=O.isObjectType,m6=O.isObjectTypePropertyAFunction,g6=O.hasRestParameter,v6=O.shouldPrintComma,y6=O.hasComment,E6=O.isNextLineEmpty,C6=Ct.locEnd,A6=qr.ArgExpansionBailout,F6=jt.printFunctionTypeParameters;function e1(t){if(!t)return!1;var e=oh(t);if(e.length!==1)return!1;var r=_e(e,1),n=r[0];return!y6(n)&&(n.type==="ObjectPattern"||n.type==="ArrayPattern"||n.type==="Identifier"&&n.typeAnnotation&&(n.typeAnnotation.type==="TypeAnnotation"||n.typeAnnotation.type==="TSTypeAnnotation")&&sh(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&sh(n.typeAnnotation)||n.type==="AssignmentPattern"&&(n.left.type==="ObjectPattern"||n.left.type==="ArrayPattern")&&(n.right.type==="Identifier"||n.right.type==="ObjectExpression"&&n.right.properties.length===0||n.right.type==="ArrayExpression"&&n.right.elements.length===0))}var Za={printFunctionParameters:function(e,r,n,u,a){var i=e.getValue(),o=oh(i),s=a?F6(e,n,r):"";if(o.length===0)return[s,"(",o6(e,n,!0,function(D){return i6(n.originalText,D,C6)===")"}),")"];var l=e.getParentNode(),c=h6(l),p=e1(i),f=[];if(f6(e,function(D,v){var y=v===o.length-1;y&&i.rest&&f.push("..."),f.push(r()),y||(f.push(","),c||p?f.push(" "):E6(o[v],n)?f.push(Jy,Jy):f.push(s6))}),u){if(ih(s)||ih(f))throw new A6;return l6([Zy(s),"(",Zy(f),")"])}var d=o.every(function(D){return!D.decorators});return p&&d||c?[s,"("].concat(f,[")"]):(m6(l)||D6(l)||l.type==="TypeAlias"||l.type==="UnionTypeAnnotation"||l.type==="TSUnionType"||l.type==="IntersectionTypeAnnotation"||l.type==="FunctionTypeAnnotation"&&l.returnType===i)&&o.length===1&&o[0].name===null&&i.this!==o[0]&&o[0].typeAnnotation&&i.typeParameters===null&&d6(o[0].typeAnnotation)&&!i.rest?n.arrowParens==="always"?["("].concat(f,[")"]):f:[s,"(",c6([Yy].concat(f)),p6(!g6(i)&&v6(n,"all")?",":""),Yy,")"]},shouldHugFunctionParameters:e1,shouldGroupFunctionParameters:function(e,r){var n=function(i){var o;return i.returnType?(o=i.returnType,o.typeAnnotation&&(o=o.typeAnnotation)):i.typeAnnotation&&(o=i.typeAnnotation),o}(e);if(!n)return!1;var u=e.typeParameters&&e.typeParameters.params;if(u){if(u.length>1)return!1;if(u.length===1){var a=u[0];if(a.constraint||a.default)return!1}}return oh(e).length===1&&(sh(n)||ih(r))}},b6=At.printComments,S6=At.printDanglingComments,T6=G.getLast,ei=De.builders,ti=ei.group,t1=ei.join,lh=ei.line,Al=ei.softline,ri=ei.indent,x6=ei.align,Wp=ei.ifBreak,r1=Ct.locStart,B6=O.isSimpleType,Fl=O.isObjectType,n1=O.hasLeadingOwnLineComment,w6=O.isObjectTypePropertyAFunction,P6=O.shouldPrintComma,N6=Cl.printAssignment,O6=Za.printFunctionParameters,k6=Za.shouldGroupFunctionParameters,I6=gl.printArrayItems;function u1(t){if(B6(t)||Fl(t))return!0;if(t.type==="UnionTypeAnnotation"||t.type==="TSUnionType"){var e=t.types.filter(function(n){return n.type==="VoidTypeAnnotation"||n.type==="TSVoidKeyword"||n.type==="NullLiteralTypeAnnotation"||n.type==="TSNullKeyword"}).length,r=t.types.some(function(n){return n.type==="ObjectTypeAnnotation"||n.type==="TSTypeLiteral"||n.type==="GenericTypeAnnotation"||n.type==="TSTypeReference"});if(t.types.length-1===e&&r)return!0}return!1}var jr={printOpaqueType:function(e,r,n){var u=r.semi?";":"",a=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),a.supertype&&i.push(": ",n("supertype")),a.impltype&&i.push(" = ",n("impltype")),i.push(u),i},printTypeAlias:function(e,r,n){var u=r.semi?";":"",a=e.getValue(),i=[];a.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));var o=a.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[N6(e,r,n,i," =",o),u]},printIntersectionType:function(e,r,n){for(var u=e.getValue(),a=e.map(n,"types"),i=[],o=!1,s=0;s<a.length;++s)s===0?i.push(a[s]):Fl(u.types[s-1])&&Fl(u.types[s])?i.push([" & ",o?ri(a[s]):a[s]]):Fl(u.types[s-1])||Fl(u.types[s])?(s>1&&(o=!0),i.push(" & ",s>1?ri(a[s]):a[s])):i.push(ri([" &",lh,a[s]]));return ti(i)},printUnionType:function(e,r,n){var u=e.getValue(),a=e.getParentNode(),i=!(a.type==="TypeParameterInstantiation"||a.type==="TSTypeParameterInstantiation"||a.type==="GenericTypeAnnotation"||a.type==="TSTypeReference"||a.type==="TSTypeAssertion"||a.type==="TupleTypeAnnotation"||a.type==="TSTupleType"||a.type==="FunctionTypeParam"&&!a.name&&e.getParentNode(1).this!==a||(a.type==="TypeAlias"||a.type==="VariableDeclarator"||a.type==="TSTypeAliasDeclaration")&&n1(r.originalText,u)),o=u1(u),s=e.map(function(p){var f=n();return o||(f=x6(2,f)),b6(p,f,r)},"types");if(o)return t1(" | ",s);var l=i&&!n1(r.originalText,u),c=[Wp([l?lh:"","| "]),t1([lh,"| "],s)];return To(e,r)?ti([ri(c),Al]):a.type==="TupleTypeAnnotation"&&a.types.length>1||a.type==="TSTupleType"&&a.elementTypes.length>1?ti([ri([Wp(["(",Al]),c]),Al,Wp(")")]):ti(i?ri(c):c)},printFunctionType:function(e,r,n){var u=e.getValue(),a=[],i=e.getParentNode(0),o=e.getParentNode(1),s=e.getParentNode(2),l=u.type==="TSFunctionType"||!((i.type==="ObjectTypeProperty"||i.type==="ObjectTypeInternalSlot")&&!i.variance&&!i.optional&&r1(i)===r1(u)||i.type==="ObjectTypeCallProperty"||s&&s.type==="DeclareFunction"),c=l&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation"),p=c&&l&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation")&&o.type==="ArrowFunctionExpression";w6(i)&&(l=!0,c=!0),p&&a.push("(");var f=O6(e,n,r,!1,!0),d=u.returnType||u.predicate||u.typeAnnotation?[l?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",D=k6(u,d);return a.push(D?ti(f):f),d&&a.push(d),p&&a.push(")"),ti(a)},printTupleType:function(e,r,n){var u=e.getValue(),a=u.type==="TSTupleType"?"elementTypes":"types",i=u[a].length>0&&T6(u[a]).type==="TSRestType";return ti(["[",ri([Al,I6(e,r,a,n)]),Wp(P6(r,"all")&&!i?",":""),S6(e,r,!0),Al,"]"])},printIndexedAccessType:function(e,r,n){var u=e.getValue(),a=u.type==="OptionalIndexedAccessType"&&u.optional?"?.[":"[";return[n("objectType"),a,n("indexType"),"]"]},shouldHugType:u1},L6=At.printDanglingComments,ni=De.builders,a1=ni.join,M6=ni.line,j6=ni.hardline,i1=ni.softline,R6=ni.group,_6=ni.indent,U6=ni.ifBreak,$6=O.isTestCall,o1=O.hasComment,s1=O.CommentCheckFlags,W6=O.isTSXFile,V6=O.shouldPrintComma,G6=O.getFunctionParameters,H6=G.createGroupIdMapper,K6=jr.shouldHugType,l1=H6("typeParameters");function z6(t,e){var r=t.getValue();if(!o1(r,s1.Dangling))return"";var n=!o1(r,s1.Line),u=L6(t,e,n);return n?u:[u,j6]}var wo={printTypeParameter:function(e,r,n){var u=e.getValue(),a=[],i=e.getParentNode();return i.type==="TSMappedType"?(a.push("[",n("name")),u.constraint&&a.push(" in ",n("constraint")),i.nameType&&a.push(" as ",e.callParent(function(){return n("nameType")})),a.push("]"),a):(u.variance&&a.push(n("variance")),a.push(n("name")),u.bound&&a.push(": ",n("bound")),u.constraint&&a.push(" extends ",n("constraint")),u.default&&a.push(" = ",n("default")),a)},printTypeParameters:function(e,r,n,u){var a=e.getValue();if(!a[u])return"";if(!Array.isArray(a[u]))return n(u);var i=e.getNode(2);if(i&&$6(i)||a[u].length===0||a[u].length===1&&(K6(a[u][0])||a[u][0].type==="NullableTypeAnnotation"))return["<",a1(", ",e.map(n,u)),z6(e,r),">"];var o=a.type==="TSTypeParameterInstantiation"?"":G6(a).length===1&&W6(r)&&!a[u][0].constraint&&e.getParentNode().type==="ArrowFunctionExpression"?",":V6(r,"all")?U6(","):"";return R6(["<",_6([i1,a1([",",M6],e.map(n,u))]),o,i1,">"],{id:l1(a)})},getTypeParametersGroupId:l1},c1=At.printComments,q6=G.printString,ch=G.printNumber,X6=O.isNumericLiteral,J6=O.isSimpleNumber,Y6=O.isStringLiteral,p1=O.isStringPropSafeToUnquote,f1=O.rawText,Q6=Cl.printAssignment,Vp=new WeakMap;function d1(t,e,r){var n=t.getNode();if(n.computed)return["[",r("key"),"]"];var u=t.getParentNode(),a=n.key;if(n.type==="ClassPrivateProperty"&&a.type==="Identifier")return["#",r("key")];if(e.quoteProps==="consistent"&&!Vp.has(u)){var i=(u.properties||u.body||u.members).some(function(s){return!s.computed&&s.key&&Y6(s.key)&&!p1(s,e)});Vp.set(u,i)}if((a.type==="Identifier"||X6(a)&&J6(ch(f1(a)))&&String(a.value)===ch(f1(a))&&e.parser!=="typescript"&&e.parser!=="babel-ts")&&(e.parser==="json"||e.quoteProps==="consistent"&&Vp.get(u))){var o=q6(JSON.stringify(a.type==="Identifier"?a.name:a.value.toString()),e);return t.call(function(s){return c1(s,o,e)},"key")}return p1(n,e)&&(e.quoteProps==="as-needed"||e.quoteProps==="consistent"&&!Vp.get(u))?t.call(function(s){return c1(s,/^\d/.test(a.value)?ch(a.value):a.value,e)},"key"):r("key")}var bl={printProperty:function(e,r,n){return e.getValue().shorthand?n("value"):Q6(e,r,n,d1(e,r,n),":","value")},printPropertyKey:d1},h1=At.printDanglingComments,Z6=At.printCommentsSeparately,ew=G.getNextNonSpaceNonCommentCharacterIndex,la=De.builders,ph=la.line,ui=la.softline,Vr=la.group,Po=la.indent,No=la.ifBreak,D1=la.hardline,tw=la.join,rw=la.indentIfBreak,fh=O.getFunctionParameters,nw=O.hasLeadingOwnLineComment,uw=O.isFlowAnnotationComment,aw=O.isJsxNode,iw=O.isTemplateOnItsOwnLine,ow=O.shouldPrintComma,sw=O.startsWithNoLookaheadToken,lw=O.returnArgumentHasLeadingComment,cw=O.isBinaryish,pw=O.isLineComment,Gp=O.hasComment,fw=O.getComments,m1=O.CommentCheckFlags,dw=O.isCallLikeExpression,hw=Ct.locEnd,dh=Za.printFunctionParameters,g1=Za.shouldGroupFunctionParameters,Dw=bl.printPropertyKey,v1=jt.printFunctionTypeParameters;function hh(t,e,r){var n=t.getNode(),u=dh(t,r,e),a=Dh(t,r,e),i=g1(n,a),o=[v1(t,e,r),Vr([i?Vr(u):u,a])];return n.body?o.push(" ",r("body")):o.push(e.semi?";":""),o}function y1(t,e){return e.arrowParens==="always"?!1:e.arrowParens==="avoid"?function(r){var n=fh(r);return!(n.length!==1||r.typeParameters||Gp(r,m1.Dangling)||n[0].type!=="Identifier"||n[0].typeAnnotation||Gp(n[0])||n[0].optional||r.predicate||r.returnType)}(t.getValue()):!1}function Dh(t,e,r){var n=t.getValue(),u=e("returnType");if(n.returnType&&uw(r.originalText,n.returnType))return[" /*: ",u," */"];var a=[u];return n.returnType&&n.returnType.typeAnnotation&&a.unshift(": "),n.predicate&&a.push(n.returnType?" ":": ",e("predicate")),a}function E1(t,e,r){var n=t.getValue(),u=e.semi?";":"",a=[];n.argument&&(lw(e,n.argument)?a.push([" (",Po([D1,r("argument")]),D1,")"]):cw(n.argument)||n.argument.type==="SequenceExpression"?a.push(Vr([No(" ("," "),Po([ui,r("argument")]),ui,No(")")])):a.push(" ",r("argument")));var i=fw(n),o=Ot(i),s=o&&pw(o);return s&&a.push(u),Gp(n,m1.Dangling)&&a.push(" ",h1(t,e,!0)),s||a.push(u),a}var ku={printFunctionDeclaration:function(e,r,n,u){var a=e.getValue(),i=[];a.type==="TSDeclareFunction"&&a.declare&&i.push("declare "),a.async&&i.push("async "),a.generator?i.push("function* "):i.push("function "),a.id&&i.push(r("id"));var o=dh(e,r,n,u),s=Dh(e,r,n),l=g1(a,s);return i.push(v1(e,n,r),Vr([l?Vr(o):o,s]),a.body?" ":"",r("body")),!n.semi||!a.declare&&a.body||i.push(";"),i},printArrowFunctionExpression:function(e,r,n,u){var a=e.getValue(),i=[],o=[],s=!1;if(function d(){var D=function(T,S,B,w){var F=[];T.getValue().async&&F.push("async "),y1(T,S)?F.push(B(["params",0])):F.push(Vr([dh(T,B,S,w&&(w.expandLastArg||w.expandFirstArg),!0),Dh(T,B,S)]));var P=h1(T,S,!0,function(k){var R=ew(S.originalText,k,hw);return R!==!1&&S.originalText.slice(R,R+2)==="=>"});return P&&F.push(" ",P),F}(e,r,n,u);if(i.length===0)i.push(D);else{var v=Z6(e,r),y=v.leading,b=v.trailing;i.push([y,D]),o.unshift(b)}s=s||a.returnType&&fh(a).length>0||a.typeParameters||fh(a).some(function(T){return T.type!=="Identifier"}),a.body.type!=="ArrowFunctionExpression"||u&&u.expandLastArg?o.unshift(n("body",u)):(a=a.body,e.call(d,"body"))}(),i.length>1)return function(d,D,v,y,b,T){var S=d.getName(),B=d.getParentNode(),w=dw(B)&&S==="callee",F=Boolean(D&&D.assignmentLayout),P=T.body.type!=="BlockStatement"&&T.body.type!=="ObjectExpression",k=w&&P||D&&D.assignmentLayout==="chain-tail-arrow-chain",R=Symbol("arrow-chain");return Vr([Vr(Po([w||F?ui:"",Vr(tw([" =>",ph],v),{shouldBreak:y})]),{id:R,shouldBreak:k})," =>",rw(P?Po([ph,b]):[" ",b],{groupId:R}),w?No(ui,"",{groupId:R}):""])}(e,u,i,s,o,a);var l=i;if(l.push(" =>"),!nw(r.originalText,a.body)&&(a.body.type==="ArrayExpression"||a.body.type==="ObjectExpression"||a.body.type==="BlockStatement"||aw(a.body)||iw(a.body,r.originalText)||a.body.type==="ArrowFunctionExpression"||a.body.type==="DoExpression"))return Vr([].concat(l,[" ",o]));if(a.body.type==="SequenceExpression")return Vr([].concat(l,[Vr([" (",Po([ui,o]),ui,")"])]));var c=(u&&u.expandLastArg||e.getParentNode().type==="JSXExpressionContainer")&&!Gp(a),p=u&&u.expandLastArg&&ow(r,"all"),f=a.body.type==="ConditionalExpression"&&!sw(a.body,!1);return Vr([].concat(l,[Vr([Po([ph,f?No("","("):"",o,f?No("",")"):""]),c?[No(p?",":""),ui]:""])]))},printMethod:function(e,r,n){var u=e.getNode(),a=u.kind,i=u.value||u,o=[];return a&&a!=="init"&&a!=="method"&&a!=="constructor"?(Pu.ok(a==="get"||a==="set"),o.push(a," ")):i.async&&o.push("async "),i.generator&&o.push("*"),o.push(Dw(e,r,n),u.optional||u.key.optional?"?":""),u===i?o.push(hh(e,r,n)):i.type==="FunctionExpression"?o.push(e.call(function(s){return hh(s,r,n)},"value")):o.push(n("value")),o},printReturnStatement:function(e,r,n){return["return",E1(e,r,n)]},printThrowStatement:function(e,r,n){return["throw",E1(e,r,n)]},printMethodInternal:hh,shouldPrintParamsWithoutParens:y1},C1=G.isNonEmptyArray,mw=G.hasNewline,Sl=De.builders,Hp=Sl.line,Kp=Sl.hardline,mh=Sl.join,gw=Sl.breakParent,vw=Sl.group,A1=Ct.locStart,yw=Ct.locEnd,Ew=O.getParentExportDeclaration;function F1(t,e){return t.decorators.some(function(r){return mw(e.originalText,yw(r))})}function b1(t){if(t.type!=="ExportDefaultDeclaration"&&t.type!=="ExportNamedDeclaration"&&t.type!=="DeclareExportDeclaration")return!1;var e=t.declaration&&t.declaration.decorators;return C1(e)&&A1(t,{ignoreDecorators:!0})>A1(e[0])}var zp={printDecorators:function(e,r,n){var u=e.getValue(),a=u.decorators;if(!(!C1(a)||b1(e.getParentNode()))){var i=u.type==="ClassExpression"||u.type==="ClassDeclaration"||F1(u,r);return[Ew(e)?Kp:i?gw:"",mh(Hp,e.map(n,"decorators")),Hp]}},printClassMemberDecorators:function(e,r,n){var u=e.getValue();return vw([mh(Hp,e.map(n,"decorators")),F1(u,r)?Kp:Hp])},printDecoratorsBeforeExport:function(e,r,n){return[mh(Kp,e.map(n,"declaration","decorators")),Kp]},hasDecoratorsBeforeExport:b1},Oo=G.isNonEmptyArray,Cw=G.createGroupIdMapper,Aw=At.printComments,Fw=At.printDanglingComments,ai=De.builders,bw=ai.join,Tl=ai.line,S1=ai.hardline,T1=ai.softline,qp=ai.group,Xp=ai.indent,gh=ai.ifBreak,vh=O.hasComment,yh=O.CommentCheckFlags,Sw=wo.getTypeParametersGroupId,Tw=ku.printMethod,xw=jt.printOptionalToken,Bw=jt.printTypeAnnotation,ww=bl.printPropertyKey,Pw=Cl.printAssignment,x1=zp.printClassMemberDecorators,B1=Cw("heritageGroup");function w1(t){return t.typeParameters&&!vh(t.typeParameters,yh.Trailing|yh.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(function(r){return Boolean(e[r])}).length>1}(t)}function Eh(t,e,r,n){var u=t.getValue();if(!Oo(u[n]))return"";var a=Fw(t,e,!0,function(i){var o=i.marker;return o===n});return[w1(u)?gh(" ",Tl,{groupId:Sw(u.typeParameters)}):Tl,a,a&&S1,n,qp(Xp([Tl,bw([",",Tl],t.map(r,n))]))]}function Nw(t,e,r){var n=r("superClass");return t.getParentNode().type==="AssignmentExpression"?qp(gh(["(",Xp([T1,n]),T1,")"],n)):n}var ca={printClass:function(e,r,n){var u=e.getValue(),a=[];u.declare&&a.push("declare "),u.abstract&&a.push("abstract "),a.push("class");var i=u.id&&vh(u.id,yh.Trailing)||u.superClass&&vh(u.superClass)||Oo(u.extends)||Oo(u.mixins)||Oo(u.implements),o=[],s=[];if(u.id&&o.push(" ",n("id")),o.push(n("typeParameters")),u.superClass){var l=["extends ",Nw(e,r,n),n("superTypeParameters")],c=e.call(function(f){return Aw(f,l,r)},"superClass");i?s.push(Tl,qp(c)):s.push(" ",c)}else s.push(Eh(e,r,n,"extends"));if(s.push(Eh(e,r,n,"mixins"),Eh(e,r,n,"implements")),i){var p;p=w1(u)?[].concat(o,[Xp(s)]):Xp([].concat(o,[s])),a.push(qp(p,{id:B1(u)}))}else a.push.apply(a,o.concat(s));return a.push(" ",n("body")),a},printClassMethod:function(e,r,n){var u=e.getValue(),a=[];return Oo(u.decorators)&&a.push(x1(e,r,n)),u.accessibility&&a.push(u.accessibility+" "),u.readonly&&a.push("readonly "),u.declare&&a.push("declare "),u.static&&a.push("static "),u.override&&a.push("override "),(u.type==="TSAbstractMethodDefinition"||u.abstract)&&a.push("abstract "),a.push(Tw(e,r,n)),a},printClassProperty:function(e,r,n){var u=e.getValue(),a=[],i=r.semi?";":"";return Oo(u.decorators)&&a.push(x1(e,r,n)),u.accessibility&&a.push(u.accessibility+" "),u.declare&&a.push("declare "),u.static&&a.push("static "),u.override&&a.push("override "),(u.type==="TSAbstractClassProperty"||u.abstract)&&a.push("abstract "),u.readonly&&a.push("readonly "),u.variance&&a.push(n("variance")),a.push(ww(e,r,n),xw(e),Bw(e,r,n)),[Pw(e,r,n,a," =","value"),i]},printHardlineAfterHeritage:function(e){return gh(S1,"",{groupId:B1(e)})}},P1=G.isNonEmptyArray,xl=De.builders,Ow=xl.join,Ch=xl.line,Ah=xl.group,Fh=xl.indent,kw=xl.ifBreak,N1=O.hasComment,Iw=O.identity,bh=O.CommentCheckFlags,Lw=wo.getTypeParametersGroupId,Mw=jt.printTypeScriptModifiers,Sh={printInterface:function(e,r,n){var u=e.getValue(),a=[];u.declare&&a.push("declare "),u.type==="TSInterfaceDeclaration"&&a.push(u.abstract?"abstract ":"",Mw(e,r,n)),a.push("interface");var i=[],o=[];u.type!=="InterfaceTypeAnnotation"&&i.push(" ",n("id"),n("typeParameters"));var s=u.typeParameters&&!N1(u.typeParameters,bh.Trailing|bh.Line);return P1(u.extends)&&o.push(s?kw(" ",Ch,{groupId:Lw(u.typeParameters)}):Ch,"extends ",(u.extends.length===1?Iw:Fh)(Ow([",",Ch],e.map(n,"extends")))),u.id&&N1(u.id,bh.Trailing)||P1(u.extends)?s?a.push(Ah([].concat(i,[Fh(o)]))):a.push(Ah(Fh([].concat(i,o)))):a.push.apply(a,i.concat(o)),a.push(" ",n("body")),Ah(a)}},Th=G.isNonEmptyArray,ii=De.builders,O1=ii.softline,jw=ii.group,Rw=ii.indent,xh=ii.join,Bh=ii.line,_w=ii.ifBreak,Uw=ii.hardline,$w=At.printDanglingComments,k1=O.hasComment,Ww=O.CommentCheckFlags,Vw=O.shouldPrintComma,Gw=O.needsHardlineAfterDanglingComment,I1=Ct.locStart,Hw=Ct.hasSameLoc,Kw=zp.hasDecoratorsBeforeExport,zw=zp.printDecoratorsBeforeExport;function wh(t,e,r){var n=t.getValue();if(!n.source)return"";var u=[];return M1(n,e)||u.push(" from"),u.push(" ",r("source")),u}function L1(t,e,r){var n=t.getValue();if(M1(n,e))return"";var u=[" "];if(Th(n.specifiers)){var a=[],i=[];t.each(function(){var o=t.getValue().type;if(o==="ExportNamespaceSpecifier"||o==="ExportDefaultSpecifier"||o==="ImportNamespaceSpecifier"||o==="ImportDefaultSpecifier")a.push(r());else{if(o!=="ExportSpecifier"&&o!=="ImportSpecifier")throw new Error("Unknown specifier type ".concat(JSON.stringify(o)));i.push(r())}},"specifiers"),u.push(xh(", ",a)),i.length>0&&(a.length>0&&u.push(", "),i.length>1||a.length>0||n.specifiers.some(function(o){return k1(o)})?u.push(jw(["{",Rw([e.bracketSpacing?Bh:O1,xh([",",Bh],i)]),_w(Vw(e)?",":""),e.bracketSpacing?Bh:O1,"}"])):u.push(["{",e.bracketSpacing?" ":""].concat(i,[e.bracketSpacing?" ":"","}"])))}else u.push("{}");return u}function M1(t,e){var r=t.type,n=t.importKind,u=t.source,a=t.specifiers;return r==="ImportDeclaration"&&!Th(a)&&n!=="type"&&!/{\s*}/.test(e.originalText.slice(I1(t),I1(u)))}function Ph(t,e,r){var n=t.getNode();return Th(n.assertions)?[" assert {",e.bracketSpacing?" ":"",xh(", ",t.map(r,"assertions")),e.bracketSpacing?" ":"","}"]:""}var ko={printImportDeclaration:function(e,r,n){var u=e.getValue(),a=r.semi?";":"",i=[],o=u.importKind;return i.push("import"),o&&o!=="value"&&i.push(" ",o),i.push(L1(e,r,n),wh(e,r,n),Ph(e,r,n),a),i},printExportDeclaration:function(e,r,n){var u=e.getValue(),a=[];Kw(u)&&a.push(zw(e,r,n));var i=u.type,o=u.exportKind,s=u.declaration;return a.push("export"),(u.default||i==="ExportDefaultDeclaration")&&a.push(" default"),k1(u,Ww.Dangling)&&(a.push(" ",$w(e,r,!0)),Gw(u)&&a.push(Uw)),s?a.push(" ",n("declaration")):a.push(o==="type"?" type":"",L1(e,r,n),wh(e,r,n),Ph(e,r,n)),function(l,c){if(!c.semi)return!1;var p=l.type,f=l.declaration,d=l.default||p==="ExportDefaultDeclaration";if(!f)return!0;var D=f.type;return!!(d&&D!=="ClassDeclaration"&&D!=="FunctionDeclaration"&&D!=="TSInterfaceDeclaration"&&D!=="DeclareClass"&&D!=="DeclareFunction"&&D!=="TSDeclareFunction"&&D!=="EnumDeclaration")}(u,r)&&a.push(";"),a},printExportAllDeclaration:function(e,r,n){var u=e.getValue(),a=r.semi?";":"",i=[],o=u.exportKind,s=u.exported;return i.push("export"),o==="type"&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(wh(e,r,n),Ph(e,r,n),a),i},printModuleSpecifier:function(e,r,n){var u=e.getNode(),a=u.type,i=u.importKind,o=[];a==="ImportSpecifier"&&i&&o.push(i," ");var s=a.startsWith("Import"),l=s?"imported":"local",c=s?"local":"exported",p="",f="";return a==="ExportNamespaceSpecifier"||a==="ImportNamespaceSpecifier"?p="*":u[l]&&(p=n(l)),!u[c]||u[l]&&Hw(u[l],u[c])||(f=n(c)),o.push(p,p&&f?" as ":"",f),o}},qw=O.getParentExportDeclaration,Xw=ca.printClass,j1=jr.printOpaqueType,R1=jr.printTypeAlias,Jw=jr.printIntersectionType,Yw=jr.printUnionType,Qw=jr.printFunctionType,Zw=jr.printTupleType,eP=jr.printIndexedAccessType,tP=Sh.printInterface,rP=wo.printTypeParameters,nP=ko.printExportDeclaration,uP=ko.printExportAllDeclaration;function nu(t,e){var r=qw(t);return r?(Pu.strictEqual(r.type,"DeclareExportDeclaration"),e):["declare ",e]}var aP={printFlow:function(e,r,n){var u=e.getValue(),a=r.semi?";":"";switch(u.type){case"DeclareClass":return nu(e,Xw(e,r,n));case"DeclareFunction":return nu(e,["function ",n("id"),u.predicate?" ":"",n("predicate"),a]);case"DeclareModule":return nu(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return nu(e,["module.exports",": ",n("typeAnnotation"),a]);case"DeclareVariable":return nu(e,["var ",n("id"),a]);case"DeclareOpaqueType":return nu(e,j1(e,r,n));case"DeclareInterface":return nu(e,tP(e,r,n));case"DeclareTypeAlias":return nu(e,R1(e,r,n));case"DeclareExportDeclaration":return nu(e,nP(e,r,n));case"DeclareExportAllDeclaration":return nu(e,uP(e,r,n));case"OpaqueType":return j1(e,r,n);case"TypeAlias":return R1(e,r,n);case"IntersectionTypeAnnotation":return Jw(e,r,n);case"UnionTypeAnnotation":return Yw(e,r,n);case"FunctionTypeAnnotation":return Qw(e,r,n);case"TupleTypeAnnotation":return Zw(e,r,n);case"GenericTypeAnnotation":return[n("id"),rP(e,r,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return eP(e,r,n);case"TypeAnnotation":return n("typeAnnotation")}}},iP=G.hasNewlineInRange,Jp=O.isJsxNode,oP=O.isBlockComment,Nh=O.getComments,sP=O.isCallExpression,_1=O.isMemberExpression,lP=Ct.locStart,cP=Ct.locEnd,pa=De.builders,U1=pa.line,Bl=pa.softline,$1=pa.group,Yp=pa.indent,Qp=pa.align,Zp=pa.ifBreak,pP=pa.dedent,fP=pa.breakParent;function dP(t,e,r){var n=t.getValue(),u=n.type==="ConditionalExpression",a=u?"alternate":"falseType",i=t.getParentNode(),o=u?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return i.type===n.type&&i[a]===n?Qp(2,o):o}var hP=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),W1={printTernary:function(e,r,n){var u=e.getValue(),a=u.type==="ConditionalExpression",i=a?"consequent":"trueType",o=a?"alternate":"falseType",s=a?["test"]:["checkType","extendsType"],l=u[i],c=u[o],p=[],f=!1,d=e.getParentNode(),D=d.type===u.type&&s.some(function(q){return d[q]===u}),v,y,b=d.type===u.type&&!D,T=0;do y=v||u,v=e.getParentNode(T),T++;while(v&&v.type===u.type&&s.every(function(q){return v[q]!==y}));var S=v||d,B=y;if(a&&(Jp(u[s[0]])||Jp(l)||Jp(c)||function(q){for(var ae=[q],ie=0;ie<ae.length;ie++)for(var be=ae[ie],ce=0,oe=["test","consequent","alternate"];ce<oe.length;ce++){var Ae=oe[ce],ze=be[Ae];if(Jp(ze))return!0;ze.type==="ConditionalExpression"&&ae.push(ze)}return!1}(B))){f=!0,b=!0;var w=function(ae){return[Zp("("),Yp([Bl,ae]),Bl,Zp(")")]},F=function(ae){return ae.type==="NullLiteral"||ae.type==="Literal"&&ae.value===null||ae.type==="Identifier"&&ae.name==="undefined"};p.push(" ? ",F(l)?n(i):w(n(i))," : ",c.type===u.type||F(c)?n(o):w(n(o)))}else{var P=[U1,"? ",l.type===u.type?Zp("","("):"",Qp(2,n(i)),l.type===u.type?Zp("",")"):"",U1,": ",c.type===u.type?n(o):Qp(2,n(o))];p.push(d.type!==u.type||d[o]===u||D?P:r.useTabs?pP(Yp(P)):Qp(Math.max(0,r.tabWidth-2),P))}var k=I0([].concat(Z(s.map(function(q){return Nh(u[q])})),[Nh(l),Nh(c)])).some(function(q){return oP(q)&&iP(r.originalText,lP(q),cP(q))}),R=!f&&(_1(d)||d.type==="NGPipeExpression"&&d.left===u)&&!d.computed,W=function(q){var ae=q.getValue();if(ae.type!=="ConditionalExpression")return!1;for(var ie,be=ae,ce=0;!ie;ce++){var oe=q.getParentNode(ce);sP(oe)&&oe.callee===be||_1(oe)&&oe.object===be||oe.type==="TSNonNullExpression"&&oe.expression===be?be=oe:oe.type==="NewExpression"&&oe.callee===be||oe.type==="TSAsExpression"&&oe.expression===be?(ie=q.getParentNode(ce+1),be=oe):ie=oe}return be!==ae&&ie[hP.get(ie.type)]===be}(e),L=(j=[dP(e,0,n),b?p:Yp(p),a&&R&&!W?Bl:""],d===S?$1(j,{shouldBreak:k}):k?[j,fP]:j),j;return D||W?$1([Yp([Bl,L]),Bl]):L}},V1=At.printDanglingComments,Io=De.builders,ef=Io.line,Oh=Io.softline,kh=Io.group,DP=Io.indent,G1=Io.ifBreak,H1=Io.hardline,K1=G.getLast,mP=G.hasNewlineInRange,gP=G.hasNewline,vP=G.isNonEmptyArray,yP=O.shouldPrintComma,wl=O.hasComment,EP=O.getComments,Pl=O.CommentCheckFlags,CP=O.isNextLineEmpty,Nl=Ct.locStart,AP=Ct.locEnd,z1=jt.printOptionalToken,Ih=jt.printTypeAnnotation,q1=Za.shouldHugFunctionParameters,FP=jr.shouldHugType,bP=ca.printHardlineAfterHeritage,X1={printObject:function(e,r,n){var u=r.semi?";":"",a=e.getValue(),i;i=a.type==="TSTypeLiteral"?"members":a.type==="TSInterfaceBody"?"body":"properties";var o=a.type==="ObjectTypeAnnotation",s=[i];o&&s.push("indexers","callProperties","internalSlots");for(var l=s.map(function(L){return a[L][0]}).sort(function(L,j){return Nl(L)-Nl(j)})[0],c=e.getParentNode(0),p=o&&c&&(c.type==="InterfaceDeclaration"||c.type==="DeclareInterface"||c.type==="DeclareClass")&&e.getName()==="body",f=a.type==="TSInterfaceBody"||p||a.type==="ObjectPattern"&&c.type!=="FunctionDeclaration"&&c.type!=="FunctionExpression"&&c.type!=="ArrowFunctionExpression"&&c.type!=="ObjectMethod"&&c.type!=="ClassMethod"&&c.type!=="ClassPrivateMethod"&&c.type!=="AssignmentPattern"&&c.type!=="CatchClause"&&a.properties.some(function(L){return L.value&&(L.value.type==="ObjectPattern"||L.value.type==="ArrayPattern")})||a.type!=="ObjectPattern"&&l&&mP(r.originalText,Nl(a),Nl(l)),d=p?";":a.type==="TSInterfaceBody"||a.type==="TSTypeLiteral"?G1(u,";"):",",D=a.type==="RecordExpression"?"#{":a.exact?"{|":"{",v=a.exact?"|}":"}",y=[],b=0,T=s;b<T.length;b++){var S=T[b];e.each(function(L){var j=L.getValue();y.push({node:j,printed:n(),loc:Nl(j)})},S)}s.length>1&&y.sort(function(L,j){return L.loc-j.loc});var B=[],w=y.map(function(L){var j=[].concat(Z(B),[kh(L.printed)]);return B=[d,ef],L.node.type!=="TSPropertySignature"&&L.node.type!=="TSMethodSignature"&&L.node.type!=="TSConstructSignatureDeclaration"||!wl(L.node,Pl.PrettierIgnore)||B.shift(),CP(L.node,r)&&B.push(H1),j});if(a.inexact){var F;if(wl(a,Pl.Dangling)){var P=wl(a,Pl.Line);F=[V1(e,r,!0),P||gP(r.originalText,AP(K1(EP(a))))?H1:ef,"..."]}else F=["..."];w.push([].concat(Z(B),Z(F)))}var k=K1(a[i]),R=!(a.inexact||k&&k.type==="RestElement"||k&&(k.type==="TSPropertySignature"||k.type==="TSCallSignatureDeclaration"||k.type==="TSMethodSignature"||k.type==="TSConstructSignatureDeclaration")&&wl(k,Pl.PrettierIgnore)),W;if(w.length===0){if(!wl(a,Pl.Dangling))return[D,v,Ih(e,r,n)];W=kh([D,V1(e,r),Oh,v,z1(e),Ih(e,r,n)])}else W=[p&&vP(a.properties)?bP(c):"",D,DP([r.bracketSpacing?ef:Oh].concat(Z(w))),G1(R&&(d!==","||yP(r))?d:""),r.bracketSpacing?ef:Oh,v,z1(e),Ih(e,r,n)];return e.match(function(L){return L.type==="ObjectPattern"&&!L.decorators},function(L,j,q){return q1(L)&&(j==="params"||j==="parameters"||j==="this"||j==="rest")&&q===0})||e.match(FP,function(L,j){return j==="typeAnnotation"},function(L,j){return j==="typeAnnotation"},function(L,j,q){return q1(L)&&(j==="params"||j==="parameters"||j==="this"||j==="rest")&&q===0})||!f&&e.match(function(L){return L.type==="ObjectPattern"},function(L){return L.type==="AssignmentExpression"||L.type==="VariableDeclarator"})?W:kh(W,{shouldBreak:f})}},J1=De.builders.hardline,SP=O.getLeftSidePathName,TP=O.hasNakedLeftSide,xP=O.isJsxNode,BP=O.isTheOnlyJsxElementInMarkdown,wP=O.hasComment,PP=O.CommentCheckFlags,NP=O.isNextLineEmpty,OP=ku.shouldPrintParamsWithoutParens;function Y1(t,e,r,n){var u=t.getValue(),a=[],i=u.type==="ClassBody",o=function(s){for(var l=s.length-1;l>=0;l--){var c=s[l];if(c.type!=="EmptyStatement")return c}}(u[n]);return t.each(function(s,l,c){var p=s.getValue();if(p.type!=="EmptyStatement"){var f=r();e.semi||i||BP(e,s)||!function(d,D){return d.getNode().type!=="ExpressionStatement"?!1:d.call(function(v){return Q1(v,D)},"expression")}(s,e)?a.push(f):wP(p,PP.Leading)?a.push(r([],{needsSemi:!0})):a.push(";",f),!e.semi&&i&&kP(p)&&function(d,D){var v=d.key&&d.key.name;if(!(v!=="static"&&v!=="get"&&v!=="set"||d.value||d.typeAnnotation))return!0;if(!D||D.static||D.accessibility)return!1;if(!D.computed){var y=D.key&&D.key.name;if(y==="in"||y==="instanceof")return!0}switch(D.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return D.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((D.value?D.value.async:D.async)||D.kind==="get"||D.kind==="set")return!1;var b=D.value?D.value.generator:D.generator;return!(!D.computed&&!b)}case"TSIndexSignature":return!0}return!1}(p,c[l+1])&&a.push(";"),p!==o&&(a.push(J1),NP(p,e)&&a.push(J1))}},n),a}function Q1(t,e){var r=t.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!OP(t,e))return!0;break;case"UnaryExpression":{var n=r.prefix,u=r.operator;if(n&&(u==="+"||u==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(xP(r))return!0}return!!To(t,e)||!!TP(r)&&t.call.apply(t,[function(a){return Q1(a,e)}].concat(Z(SP(t,r))))}var kP=function(e){var r=e.type;return r==="ClassProperty"||r==="PropertyDefinition"||r==="ClassPrivateProperty"},Z1={printBody:function(e,r,n){return Y1(e,r,n,"body")},printSwitchCaseConsequent:function(e,r,n){return Y1(e,r,n,"consequent")}},IP=At.printDanglingComments,eE=G.isNonEmptyArray,tE=De.builders,Lo=tE.hardline,LP=tE.indent,MP=O.hasComment,jP=O.CommentCheckFlags,RP=O.isNextLineEmpty,_P=ca.printHardlineAfterHeritage,UP=Z1.printBody;function rE(t,e,r){var n=t.getValue(),u=eE(n.directives),a=n.body.some(function(l){return l.type!=="EmptyStatement"}),i=MP(n,jP.Dangling);if(!u&&!a&&!i)return"";var o=[];if(u&&t.each(function(l,c,p){o.push(r()),(c<p.length-1||a||i)&&(o.push(Lo),RP(l.getValue(),e)&&o.push(Lo))},"directives"),a&&o.push(UP(t,e,r)),i&&o.push(IP(t,e,!0)),n.type==="Program"){var s=t.getParentNode();s&&s.type==="ModuleExpression"||o.push(Lo)}return o}var Lh={printBlock:function(e,r,n){var u=e.getValue(),a=[];if(u.type==="StaticBlock"&&a.push("static "),u.type==="ClassBody"&&eE(u.body)){var i=e.getParentNode();a.push(_P(i))}a.push("{");var o=rE(e,r,n);if(o)a.push(LP([Lo,o]),Lo);else{var s=e.getParentNode(),l=e.getParentNode(1);s.type==="ArrowFunctionExpression"||s.type==="FunctionExpression"||s.type==="FunctionDeclaration"||s.type==="ObjectMethod"||s.type==="ClassMethod"||s.type==="ClassPrivateMethod"||s.type==="ForStatement"||s.type==="WhileStatement"||s.type==="DoWhileStatement"||s.type==="DoExpression"||s.type==="CatchClause"&&!l.finalizer||s.type==="TSModuleDeclaration"||s.type==="TSDeclareFunction"||u.type==="StaticBlock"||u.type==="ClassBody"||a.push(Lo)}return a.push("}"),a},printBlockBody:rE},Mh=At.printDanglingComments,$P=G.hasNewlineInRange,fa=De.builders,nE=fa.join,uE=fa.line,aE=fa.hardline,En=fa.softline,Rr=fa.group,Mo=fa.indent,WP=fa.conditionalGroup,tf=fa.ifBreak,VP=O.isLiteral,iE=O.getTypeScriptMappedTypeModifier,oE=O.shouldPrintComma,GP=O.isCallExpression,HP=O.isMemberExpression,jh=Ct.locStart,KP=Ct.locEnd,sE=jt.printOptionalToken,Rh=jt.printTypeScriptModifiers,zP=W1.printTernary,lE=Za.printFunctionParameters,qP=Za.shouldGroupFunctionParameters,XP=aa.printTemplateLiteral,JP=gl.printArrayItems,YP=X1.printObject,QP=ca.printClassProperty,ZP=ca.printClassMethod,e9=wo.printTypeParameter,_h=wo.printTypeParameters,t9=bl.printPropertyKey,r9=ku.printFunctionDeclaration,n9=ku.printMethodInternal,u9=Sh.printInterface,a9=Lh.printBlock,i9=jr.printTypeAlias,o9=jr.printIntersectionType,s9=jr.printUnionType,l9=jr.printFunctionType,c9=jr.printTupleType,p9=jr.printIndexedAccessType,f9={printTypescript:function(e,r,n){var u=e.getValue(),a=r.semi?";":"",i=[];switch(u.type){case"TSTypeAssertion":{var o=!(u.expression.type==="ArrayExpression"||u.expression.type==="ObjectExpression"),s=Rr(["<",Mo([En,n("typeAnnotation")]),En,">"]),l=[tf("("),Mo([En,n("expression")]),En,tf(")")];return o?WP([[s,n("expression")],[s,Rr(l,{shouldBreak:!0})],[s,n("expression")]]):Rr([s,n("expression")])}case"TSDeclareFunction":return r9(e,n,r);case"TSExportAssignment":return["export = ",n("expression"),a];case"TSModuleBlock":return a9(e,r,n);case"TSInterfaceBody":case"TSTypeLiteral":return YP(e,r,n);case"TSTypeAliasDeclaration":return i9(e,r,n);case"TSQualifiedName":return nE(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return ZP(e,r,n);case"TSAbstractClassProperty":return QP(e,r,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),u.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return XP(e,n,r);case"TSNamedTupleMember":return[n("label"),u.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return u9(e,r,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return _h(e,r,n,"params");case"TSTypeParameter":case"TypeParameter":return e9(e,r,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));var c=e.getParentNode();return GP(c)&&c.callee===u||HP(c)&&c.object===u?Rr([Mo([En].concat(i)),En]):i}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return u.export&&i.push("export "),u.accessibility&&i.push(u.accessibility+" "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(t9(e,r,n),sE(e)),u.typeAnnotation&&i.push(": ",n("typeAnnotation")),u.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return u.accessibility&&i.push(u.accessibility+" "),u.export&&i.push("export "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{var p=e.getParentNode(),f=u.parameters.length>1?tf(oE(r)?",":""):"",d=Rr([Mo([En,nE([", ",En],e.map(n,"parameters"))]),f,En]);return[u.export?"export ":"",u.accessibility?[u.accessibility," "]:"",u.static?"static ":"",u.readonly?"readonly ":"",u.declare?"declare ":"","[",u.parameters?d:"",u.typeAnnotation?"]: ":"]",u.typeAnnotation?n("typeAnnotation"):"",p.type==="ClassBody"?a:""]}case"TSTypePredicate":return[u.asserts?"asserts ":"",n("parameterName"),u.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[u.isTypeOf?"typeof ":"","import(",n(u.parameter?"parameter":"argument"),")",u.qualifier?[".",n("qualifier")]:"",_h(e,r,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return p9(e,r,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if(u.type==="TSConstructorType"&&u.abstract&&i.push("abstract "),u.type!=="TSCallSignatureDeclaration"&&i.push("new "),i.push(Rr(lE(e,n,r,!1,!0))),u.returnType||u.typeAnnotation){var D=u.type==="TSConstructorType";i.push(D?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[u.operator," ",n("typeAnnotation")];case"TSMappedType":{var v=$P(r.originalText,jh(u),KP(u));return Rr(["{",Mo([r.bracketSpacing?uE:En,u.readonly?[iE(u.readonly,"readonly")," "]:"",Rh(e,r,n),n("typeParameter"),u.optional?iE(u.optional,"?"):"",u.typeAnnotation?": ":"",n("typeAnnotation"),tf(a)]),Mh(e,r,!0),r.bracketSpacing?uE:En,"}"],{shouldBreak:v})}case"TSMethodSignature":{var y=u.kind&&u.kind!=="method"?"".concat(u.kind," "):"";i.push(u.accessibility?[u.accessibility," "]:"",y,u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.abstract?"abstract ":"",u.declare?"declare ":"",u.computed?"[":"",n("key"),u.computed?"]":"",sE(e));var b=lE(e,n,r,!1,!0),T=u.returnType?"returnType":"typeAnnotation",S=u[T],B=S?n(T):"",w=qP(u,B);return i.push(w?Rr(b):b),S&&i.push(": ",Rr(B)),Rr(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),r.semi&&i.push(";"),Rr(i);case"TSEnumDeclaration":return u.declare&&i.push("declare "),u.modifiers&&i.push(Rh(e,r,n)),u.const&&i.push("const "),i.push("enum ",n("id")," "),u.members.length===0?i.push(Rr(["{",Mh(e,r),En,"}"])):i.push(Rr(["{",Mo([aE,JP(e,r,"members",n),oE(r,"es5")?",":""]),Mh(e,r,!0),aE,"}"])),i;case"TSEnumMember":return i.push(n("id")),u.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return u.isExport&&i.push("export "),i.push("import "),u.importKind&&u.importKind!=="value"&&i.push(u.importKind," "),i.push(n("id")," = ",n("moduleReference")),r.semi&&i.push(";"),Rr(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{var F=e.getParentNode(),P=VP(u.id),k=F.type==="TSModuleDeclaration",R=u.body&&u.body.type==="TSModuleDeclaration";if(k)i.push(".");else{u.declare&&i.push("declare "),i.push(Rh(e,r,n));var W=r.originalText.slice(jh(u),jh(u.id));u.id.type==="Identifier"&&u.id.name==="global"&&!/namespace|module/.test(W)||i.push(P||/(^|\s)module(\s|$)/.test(W)?"module ":"namespace ")}return i.push(n("id")),R?i.push(n("body")):u.body?i.push(" ",Rr(n("body"))):i.push(a),i}case"TSPrivateIdentifier":return u.escapedText;case"TSConditionalType":return zP(e,r,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return o9(e,r,n);case"TSUnionType":return s9(e,r,n);case"TSFunctionType":return l9(e,r,n);case"TSTupleType":return c9(e,r,n);case"TSTypeReference":return[n("typeName"),_h(e,r,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return n9(e,r,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}},d9=G.hasNewline,cE=De.builders,h9=cE.join,pE=cE.hardline,D9=De.utils.replaceNewlinesWithLiterallines,m9=O.isLineComment,g9=O.isBlockComment,fE=Ct.locStart,dE=Ct.locEnd,v9={printComment:function(e,r){var n=e.getValue();if(m9(n))return r.originalText.slice(fE(n),dE(n)).trimEnd();if(g9(n)){if(function(o){var s="*".concat(o.value,"*").split(`
|
|
218
|
+
`);return s.length>1&&s.every(function(l){return l.trim()[0]==="*"})}(n)){var u=function(o){var s=o.value.split(`
|
|
219
|
+
`);return["/*",h9(pE,s.map(function(l,c){return c===0?l.trimEnd():" "+(c<s.length-1?l.trim():l.trimStart())})),"*/"]}(n);return n.trailing&&!d9(r.originalText,fE(n),{backwards:!0})?[pE,u]:u}var a=dE(n),i=r.originalText.slice(a-3,a)==="*-/";return["/*",D9(n.value),i?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}},hE=G.printString,Uh=G.printNumber;function DE(t){return t.toLowerCase()}function mE(t){var e=t.pattern,r=t.flags;return r=r.split("").sort().join(""),"/".concat(e,"/").concat(r)}var y9={printLiteral:function(e,r){var n=e.getNode();switch(n.type){case"RegExpLiteral":return mE(n);case"BigIntLiteral":return DE(n.bigint||n.extra.raw);case"NumericLiteral":return Uh(n.extra.raw);case"StringLiteral":return hE(n.extra.raw,r);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return Uh(n.value)+"m";case"Literal":{if(n.regex)return mE(n.regex);if(n.bigint)return DE(n.raw);var u=n.value;return typeof u=="number"?Uh(n.raw):typeof u=="string"?hE(n.raw,r):String(u)}}}},rf=At.printDanglingComments,gE=G.hasNewline,E9=G.printString,vE=G.printNumber,oi=De.builders,$h=oi.join,Ol=oi.line,vr=oi.hardline,Rt=oi.softline,C9=oi.literalline,wt=oi.group,yr=oi.indent,A9=kd.insertPragma,F9=O.getCallArguments,b9=O.hasFlowShorthandAnnotationComment,jo=O.hasComment,Wh=O.CommentCheckFlags,S9=O.isFunctionNotation,T9=O.isGetterOrSetter,x9=O.isTheOnlyJsxElementInMarkdown,Vh=O.isBlockComment,B9=O.isLineComment,yE=O.isNextLineEmpty,w9=O.needsHardlineAfterDanglingComment,EE=O.rawText,P9=O.shouldPrintComma,N9=O.hasIgnoreComment,CE=O.isCallExpression,O9=O.isMemberExpression,AE=Ct.locStart,FE=Ct.locEnd,k9=ey.printHtmlBinding,I9=ey.isVueEventBindingExpression,L9=N8.printAngular,M9=Ey.printJsx,j9=Ey.hasJsxIgnoreComment,R9=aP.printFlow,_9=f9.printTypescript,nf=jt.printOptionalToken,U9=jt.printBindExpressionCallee,Gh=jt.printTypeAnnotation,da=jt.adjustClause,$9=ko.printImportDeclaration,W9=ko.printExportDeclaration,V9=ko.printExportAllDeclaration,G9=ko.printModuleSpecifier,H9=W1.printTernary,K9=aa.printTemplateLiteral,z9=gl.printArray,q9=gl.printArrayItems,X9=X1.printObject,J9=ca.printClass,Y9=ca.printClassMethod,Q9=ca.printClassProperty,Z9=wo.printTypeParameters,eN=bl.printPropertyKey,tN=bl.printProperty,rN=ku.printFunctionDeclaration,nN=ku.printArrowFunctionExpression,bE=ku.printMethod,uN=ku.printReturnStatement,aN=ku.printThrowStatement,iN=Vy.printCallExpression,oN=Sh.printInterface,sN=Cl.printVariableDeclarator,lN=Cl.printAssignmentExpression,cN=Vd.printBinaryishExpression,pN=Z1.printSwitchCaseConsequent,fN=My.printMemberExpression,dN=Lh.printBlock,hN=Lh.printBlockBody,DN=v9.printComment,mN=y9.printLiteral,gN=zp.printDecorators;function SE(t,e){var r=EE(t),n=r.slice(1,-1);if(n.includes('"')||n.includes("'"))return r;var u=e.singleQuote?"'":'"';return u+n+u}var vN={preprocess:J2,print:function(e,r,n,u){var a=function(f,d,D,v){var y=f.getValue(),b=d.semi?";":"";if(!y)return"";if(typeof y=="string")return y;for(var T=0,S=[mN,k9,L9,M9,R9,_9];T<S.length;T++){var B=S[T],w=B(f,d,D);if(w!==void 0)return w}var F=[];switch(y.type){case"JsExpressionRoot":return D("node");case"JsonRoot":return[D("node"),vr];case"File":return y.program&&y.program.interpreter&&F.push(D(["program","interpreter"])),F.push(D("program")),F;case"Program":return hN(f,d,D);case"EmptyStatement":return"";case"ExpressionStatement":if(y.directive)return[SE(y.expression,d),b];if(d.parser==="__vue_event_binding"){var P=f.getParentNode();if(P.type==="Program"&&P.body.length===1&&P.body[0]===y)return[D("expression"),I9(y.expression)?";":""]}return[D("expression"),x9(d,f)?"":b];case"ParenthesizedExpression":return!jo(y.expression)&&(y.expression.type==="ObjectExpression"||y.expression.type==="ArrayExpression")?["(",D("expression"),")"]:wt(["(",yr([Rt,D("expression")]),Rt,")"]);case"AssignmentExpression":return lN(f,d,D);case"VariableDeclarator":return sN(f,d,D);case"BinaryExpression":case"LogicalExpression":return cN(f,d,D);case"AssignmentPattern":return[D("left")," = ",D("right")];case"OptionalMemberExpression":case"MemberExpression":return fN(f,d,D);case"MetaProperty":return[D("meta"),".",D("property")];case"BindExpression":return y.object&&F.push(D("object")),F.push(wt(yr([Rt,U9(f,d,D)]))),F;case"Identifier":return[y.name,nf(f),Gh(f,d,D)];case"V8IntrinsicIdentifier":return["%",y.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",D("argument"),Gh(f,d,D)];case"FunctionDeclaration":case"FunctionExpression":{var k=!1;if(v&&v.expandLastArg){var R=f.getParentNode();CE(R)&&F9(R).length>1&&(k=!0)}return rN(f,D,d,k)}case"ArrowFunctionExpression":return nN(f,d,D,v);case"YieldExpression":return F.push("yield"),y.delegate&&F.push("*"),y.argument&&F.push(" ",D("argument")),F;case"AwaitExpression":if(F.push("await"),y.argument){F.push(" ",D("argument"));var W=f.getParentNode();if(CE(W)&&W.callee===y||O9(W)&&W.object===y){F=[yr([Rt].concat(Z(F))),Rt];var L=f.findAncestor(function(Jt){return Jt.type==="AwaitExpression"||Jt.type==="BlockStatement"});if(!L||L.type!=="AwaitExpression")return wt(F)}}return F;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return W9(f,d,D);case"ExportAllDeclaration":return V9(f,d,D);case"ImportDeclaration":return $9(f,d,D);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return G9(f,d,D);case"ImportAttribute":return[D("key"),": ",D("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return dN(f,d,D);case"ThrowStatement":return aN(f,d,D);case"ReturnStatement":return uN(f,d,D);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return iN(f,d,D);case"ObjectTypeInternalSlot":return[y.static?"static ":"","[[",D("id"),"]]",nf(f),y.method?"":": ",D("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return X9(f,d,D);case"ObjectProperty":case"Property":return y.method||y.kind==="get"||y.kind==="set"?bE(f,d,D):tN(f,d,D);case"ObjectMethod":return bE(f,d,D);case"Decorator":return["@",D("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return z9(f,d,D);case"SequenceExpression":{var j=f.getParentNode(0);if(j.type==="ExpressionStatement"||j.type==="ForStatement"){var q=[];return f.each(function(Jt,Qo){Qo===0?q.push(D()):q.push(",",yr([Ol,D()]))},"expressions"),wt(q)}return wt($h([",",Ol],f.map(D,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[D("value"),b];case"DirectiveLiteral":return SE(y,d);case"UnaryExpression":return F.push(y.operator),/[a-z]$/.test(y.operator)&&F.push(" "),jo(y.argument)?F.push(wt(["(",yr([Rt,D("argument")]),Rt,")"])):F.push(D("argument")),F;case"UpdateExpression":return F.push(D("argument"),y.operator),y.prefix&&F.reverse(),F;case"ConditionalExpression":return H9(f,d,D);case"VariableDeclaration":{var ae=f.map(D,"declarations"),ie=f.getParentNode(),be=ie.type==="ForStatement"||ie.type==="ForInStatement"||ie.type==="ForOfStatement",ce=y.declarations.some(function(Jt){return Jt.init}),oe;return ae.length!==1||jo(y.declarations[0])?ae.length>0&&(oe=yr(ae[0])):oe=ae[0],F=[y.declare?"declare ":"",y.kind,oe?[" ",oe]:"",yr(ae.slice(1).map(function(Jt){return[",",ce&&!be?vr:Ol,Jt]}))],be&&ie.body!==y||F.push(b),wt(F)}case"WithStatement":return wt(["with (",D("object"),")",da(y.body,D("body"))]);case"IfStatement":{var Ae=da(y.consequent,D("consequent")),ze=wt(["if (",wt([yr([Rt,D("test")]),Rt]),")",Ae]);if(F.push(ze),y.alternate){var Oe=jo(y.consequent,Wh.Trailing|Wh.Line)||w9(y),We=y.consequent.type==="BlockStatement"&&!Oe;F.push(We?" ":vr),jo(y,Wh.Dangling)&&F.push(rf(f,d,!0),Oe?vr:" "),F.push("else",wt(da(y.alternate,D("alternate"),y.alternate.type==="IfStatement")))}return F}case"ForStatement":{var Ke=da(y.body,D("body")),ut=rf(f,d,!0),qe=ut?[ut,Rt]:"";return y.init||y.test||y.update?[qe,wt(["for (",wt([yr([Rt,D("init"),";",Ol,D("test"),";",Ol,D("update")]),Rt]),")",Ke])]:[qe,wt(["for (;;)",Ke])]}case"WhileStatement":return wt(["while (",wt([yr([Rt,D("test")]),Rt]),")",da(y.body,D("body"))]);case"ForInStatement":return wt(["for (",D("left")," in ",D("right"),")",da(y.body,D("body"))]);case"ForOfStatement":return wt(["for",y.await?" await":""," (",D("left")," of ",D("right"),")",da(y.body,D("body"))]);case"DoWhileStatement":{var ct=da(y.body,D("body"));return F=[wt(["do",ct])],y.body.type==="BlockStatement"?F.push(" "):F.push(vr),F.push("while (",wt([yr([Rt,D("test")]),Rt]),")",b),F}case"DoExpression":return[y.async?"async ":"","do ",D("body")];case"BreakStatement":return F.push("break"),y.label&&F.push(" ",D("label")),F.push(b),F;case"ContinueStatement":return F.push("continue"),y.label&&F.push(" ",D("label")),F.push(b),F;case"LabeledStatement":return y.body.type==="EmptyStatement"?[D("label"),":;"]:[D("label"),": ",D("body")];case"TryStatement":return["try ",D("block"),y.handler?[" ",D("handler")]:"",y.finalizer?[" finally ",D("finalizer")]:""];case"CatchClause":if(y.param){var xe=jo(y.param,function(Jt){return!Vh(Jt)||Jt.leading&&gE(d.originalText,FE(Jt))||Jt.trailing&&gE(d.originalText,AE(Jt),{backwards:!0})}),Te=D("param");return["catch ",xe?["(",yr([Rt,Te]),Rt,") "]:["(",Te,") "],D("body")]}return["catch ",D("body")];case"SwitchStatement":return[wt(["switch (",yr([Rt,D("discriminant")]),Rt,")"])," {",y.cases.length>0?yr([vr,$h(vr,f.map(function(Jt,Qo,Lf){var ql=Jt.getValue();return[D(),Qo!==Lf.length-1&&yE(ql,d)?vr:""]},"cases"))]):"",vr,"}"];case"SwitchCase":{y.test?F.push("case ",D("test"),":"):F.push("default:");var pt=y.consequent.filter(function(Jt){return Jt.type!=="EmptyStatement"});if(pt.length>0){var Me=pN(f,d,D);F.push(pt.length===1&&pt[0].type==="BlockStatement"?[" ",Me]:yr([vr,Me]))}return F}case"DebuggerStatement":return["debugger",b];case"ClassDeclaration":case"ClassExpression":return J9(f,d,D);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Y9(f,d,D);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return Q9(f,d,D);case"TemplateElement":return $h(C9,y.value.raw.split(/\r?\n/g));case"TemplateLiteral":return K9(f,D,d);case"TaggedTemplateExpression":return[D("tag"),D("typeParameters"),D("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(y.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[D("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(y.value);case"EnumDeclaration":return["enum ",D("id")," ",D("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if(y.type==="EnumSymbolBody"||y.explicitType){var Ve=null;switch(y.type){case"EnumBooleanBody":Ve="boolean";break;case"EnumNumberBody":Ve="number";break;case"EnumStringBody":Ve="string";break;case"EnumSymbolBody":Ve="symbol"}F.push("of ",Ve," ")}if(y.members.length!==0||y.hasUnknownMembers){var at=y.members.length>0?[vr,q9(f,d,"members",D),y.hasUnknownMembers||P9(d)?",":""]:[];F.push(wt(["{",yr([].concat(at,Z(y.hasUnknownMembers?[vr,"..."]:[]))),rf(f,d,!0),vr,"}"]))}else F.push(wt(["{",rf(f,d),Rt,"}"]));return F;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[D("id")," = ",we(y.init)=="object"?D("init"):String(y.init)];case"EnumDefaultedMember":return D("id");case"FunctionTypeParam":{var mt=y.name?D("name"):f.getParentNode().this===y?"this":"";return[mt,nf(f),mt?": ":"",D("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return oN(f,d,D);case"ClassImplements":case"InterfaceExtends":return[D("id"),D("typeParameters")];case"NullableTypeAnnotation":return["?",D("typeAnnotation")];case"Variance":{var Xt=y.kind;return Pu.ok(Xt==="plus"||Xt==="minus"),Xt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return y.static&&F.push("static "),F.push(D("value")),F;case"ObjectTypeIndexer":return[y.variance?D("variance"):"","[",D("id"),y.id?": ":"",D("key"),"]: ",D("value")];case"ObjectTypeProperty":{var Sn="";return y.proto?Sn="proto ":y.static&&(Sn="static "),[Sn,T9(y)?y.kind+" ":"",y.variance?D("variance"):"",eN(f,d,D),nf(f),S9(y)?"":": ",D("value")]}case"QualifiedTypeIdentifier":return[D("qualification"),".",D("id")];case"StringLiteralTypeAnnotation":return E9(EE(y),d);case"NumberLiteralTypeAnnotation":Pu.strictEqual(we(y.value),"number");case"BigIntLiteralTypeAnnotation":return y.extra?vE(y.extra.raw):vE(y.raw);case"TypeCastExpression":return["(",D("expression"),Gh(f,d,D),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{var Or=Z9(f,d,D,"params");if(d.parser==="flow"){var pu=AE(y),Hn=FE(y),Ea=d.originalText.lastIndexOf("/*",pu),Ai=d.originalText.indexOf("*/",Hn);if(Ea!==-1&&Ai!==-1){var Yo=d.originalText.slice(Ea+2,Ai).trim();if(Yo.startsWith("::")&&!Yo.includes("/*")&&!Yo.includes("*/"))return["/*:: ",Or," */"]}}return Or}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",D("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",D("name")];case"PrivateName":return["#",D("id")];case"InterpreterDirective":return F.push("#!",y.value,vr),yE(y,d)&&F.push(vr),F;case"PipelineBareFunction":return D("callee");case"PipelineTopicExpression":return D("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{F.push("module {");var zl=D("body");return zl&&F.push(yr([vr,zl]),vr),F.push("}"),F}default:throw new Error("unknown type: "+JSON.stringify(y.type))}}(e,r,n,u);if(!a)return"";var i=e.getValue(),o=i.type;if(o==="ClassMethod"||o==="ClassPrivateMethod"||o==="ClassProperty"||o==="PropertyDefinition"||o==="TSAbstractClassProperty"||o==="ClassPrivateProperty"||o==="MethodDefinition"||o==="TSAbstractMethodDefinition"||o==="TSDeclareMethod")return a;var s=gN(e,r,n);if(s)return wt([].concat(Z(s),[a]));if(!To(e,r))return u&&u.needsSemi?[";",a]:a;var l=[u&&u.needsSemi?";(":"(",a];if(b9(i)){var c=_e(i.trailingComments,1),p=c[0];l.push(" /*",p.value.trimStart(),"*/"),p.printed=!0}return l.push(")"),l},embed:px,insertPragma:A9,massageAstNode:hx,hasPrettierIgnore:function(e){return N9(e)||j9(e)},willPrintOwnComments:So.willPrintOwnComments,canAttachComment:function(e){return e.type&&!Vh(e)&&!B9(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"},printComment:DN,isBlockComment:Vh,handleComments:{avoidAstMutation:!0,ownLine:So.handleOwnLineComment,endOfLine:So.handleEndOfLineComment,remaining:So.handleRemainingComment},getCommentChildNodes:So.getCommentChildNodes},Hh=De.builders,si=Hh.hardline,TE=Hh.indent,xE=Hh.join,yN=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function BE(t,e){var r=t.type;if(r!=="ObjectProperty"||t.key.type!=="Identifier"){if(r==="UnaryExpression"&&t.operator==="+")return e.argument;if(r!=="ArrayExpression")return r==="TemplateLiteral"?{type:"StringLiteral",value:t.quasis[0].value.cooked}:void 0;var n=de(t.elements.entries()),u;try{for(n.s();!(u=n.n()).done;){var a=_e(u.value,2),i=a[0],o=a[1];o===null&&e.elements.splice(i,0,{type:"NullLiteral"})}}catch(s){n.e(s)}finally{n.f()}}else e.key={type:"StringLiteral",value:t.key.name}}BE.ignoredProperties=yN;var EN={preprocess:J2,print:function(e,r,n){var u=e.getValue();switch(u.type){case"JsonRoot":return[n("node"),si];case"ArrayExpression":{if(u.elements.length===0)return"[]";var a=e.map(function(){return e.getValue()===null?"null":n()},"elements");return["[",TE([si,xE([",",si],a)]),si,"]"]}case"ObjectExpression":return u.properties.length===0?"{}":["{",TE([si,xE([",",si],e.map(n,"properties"))]),si,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return[u.operator==="+"?"":u.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return u.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(u.value);case"Identifier":{var i=e.getParentNode();return i&&i.type==="ObjectProperty"&&i.key===u?JSON.stringify(u.name):u.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(u.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(u.type))}},massageAstNode:BE},Kh="Common",Iu={bracketSpacing:{since:"0.0.0",category:Kh,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Kh,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Kh,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},Ro="JavaScript",CN={arrowParens:{since:"1.9.0",category:Ro,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Iu.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Ro,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Ro,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Iu.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Ro,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Ro,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Ro,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},zh={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},AN={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},FN={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},wE={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},bN={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},SN={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},TN={languages:[It(zh,function(t){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(Z(t.extensions.filter(function(e){return e!==".jsx"})),[".wxs"])}}),It(zh,function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}}),It(zh,function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}}),It(AN,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}}),It(FN,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}}),It(wE,function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}}),It(wE,function(t){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:t.extensions.filter(function(e){return e!==".jsonl"})}}),It(bN,function(t){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(Z(t.filenames),[".eslintrc"])}}),It(SN,function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}})],options:CN,printers:{estree:vN,"estree-json":EN},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}},PE=G.isFrontMatterNode,xN=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function NE(t,e,r){if(PE(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&r.type==="css-root"&&r.nodes.length>0&&((r.nodes[0]===t||PE(r.nodes[0])&&r.nodes[1]===t)&&(delete e.text,/^\*\s*@(format|prettier)\s*$/.test(t.text))||r.type==="css-root"&&Ot(r.nodes)===t))return null;if(t.type==="value-root"&&delete e.text,t.type!=="media-query"&&t.type!=="media-query-list"&&t.type!=="media-feature-expression"||delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=e.value.replace(/\s+/g," ")),t.type==="media-feature"&&(e.value=e.value.replace(/ /g,"")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.replace().toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),t.type!=="css-atrule"&&t.type!=="css-import"||(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type!=="media-feature"&&t.type!=="media-keyword"&&t.type!=="media-type"&&t.type!=="media-unknown"&&t.type!=="media-url"&&t.type!=="media-value"&&t.type!=="selector-attribute"&&t.type!=="selector-string"&&t.type!=="selector-class"&&t.type!=="selector-combinator"&&t.type!=="value-string"||!e.value||(e.value=e.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=e.value.trim().replace(/^["']|["']$/g,""),delete e.quoted)),t.type!=="media-value"&&t.type!=="media-type"&&t.type!=="value-number"&&t.type!=="selector-root-invalid"&&t.type!=="selector-class"&&t.type!=="selector-combinator"&&t.type!=="selector-tag"||!e.value||(e.value=e.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,function(u,a,i){var o=Number(a);return Number.isNaN(o)?u:o+i.toLowerCase()})),t.type==="selector-tag"){var n=t.value.toLowerCase();["from","to"].includes(n)&&(e.value=n)}t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value}NE.ignoredProperties=xN;var BN=NE,OE=De.builders,kE=OE.hardline,wN=OE.markAsRoot,qh=function(e,r){if(e.lang==="yaml"){var n=e.value.trim(),u=n?r(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return wN([e.startDelimiter,kE,u,u?kE:"",e.endDelimiter])}},PN=De.builders.hardline,NN=function(e,r,n){var u=e.getValue();if(u.type==="front-matter"){var a=qh(u,n);return a?[a,PN]:""}},ON=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),uf=function(e){var r=e.match(ON);if(!r)return{content:e};var n=r.groups,u=n.startDelimiter,a=n.language,i=n.value,o=i===void 0?"":i,s=n.endDelimiter,l=a.trim()||"yaml";if(u==="+++"&&(l="toml"),l!=="yaml"&&u!==s)return{content:e};var c=_e(r,1),p=c[0];return{frontMatter:{type:"front-matter",lang:l,value:o,startDelimiter:u,endDelimiter:s,raw:p.replace(/\n$/,"")},content:p.replace(/[^\n]/g," ")+e.slice(p.length)}},kN={hasPragma:function(e){return kd.hasPragma(uf(e).content)},insertPragma:function(e){var r=uf(e),n=r.frontMatter,u=r.content;return(n?n.raw+`
|
|
220
|
+
|
|
221
|
+
`:"")+kd.insertPragma(u)}},IE=G.isNonEmptyArray,IN=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function LE(t,e){for(var r=Array.isArray(e)?e:[e],n,u=-1;n=t.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function ha(t,e){var r=LE(t,e);return r===-1?null:t.getParentNode(r)}function ME(t){return t.type==="value-operator"&&t.value==="*"}function jE(t){return t.type==="value-operator"&&t.value==="/"}function RE(t){return t.type==="value-operator"&&t.value==="+"}function _E(t){return t.type==="value-operator"&&t.value==="-"}function UE(t){return t.type==="value-operator"&&t.value==="%"}function Xh(t){return t.type==="value-comma_group"&&t.groups&&t.groups[1]&&t.groups[1].type==="value-colon"}function af(t){return t.type==="value-paren_group"&&t.groups&&t.groups[0]&&Xh(t.groups[0])}function $E(t){return t&&t.type==="value-colon"}var tt={getAncestorCounter:LE,getAncestorNode:ha,getPropOfDeclNode:function(e){var r=ha(e,"css-decl");return r&&r.prop&&r.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(IE(e)){for(var r=e.length-1;r>0;r--)if(e[r].type==="word"&&e[r].value==="{"&&e[r-1].type==="word"&&e[r-1].value.endsWith("#"))return!0}return!1},hasStringOrFunction:function(e){if(IE(e)){for(var r=0;r<e.length;r++)if(e[r].type==="string"||e[r].type==="func")return!0}return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,r){var n=ha(e,"value-func");return n&&n.value&&n.value.toLowerCase()===r},insideICSSRuleNode:function(e){var r=ha(e,"css-rule");return r&&r.raws&&r.raws.selector&&(r.raws.selector.startsWith(":import")||r.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,r){var n=Array.isArray(r)?r:[r],u=ha(e,"css-atrule");return u&&n.includes(u.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){var r=e.getValue(),n=ha(e,"css-atrule");return n&&n.name==="import"&&r.groups[0].value==="url"&&r.groups.length===2},isKeyframeAtRuleKeywords:function(e,r){var n=ha(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(r.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,r){return e==="less"||e==="scss"?e==="scss":/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(r)},isSCSSVariable:function(e){return Boolean(e&&e.type==="word"&&e.value.startsWith("$"))},isLastNode:function(e,r){var n=e.getParentNode();if(!n)return!1;var u=n.nodes;return u&&u.indexOf(r)===u.length-1},isLessParser:function(e){return e.parser==="css"||e.parser==="less"},isSCSSControlDirectiveNode:function(e){return e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&(typeof e.selector=="string"&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return e.type==="value-word"&&["==","!="].includes(e.value)},isMultiplicationNode:ME,isDivisionNode:jE,isAdditionNode:RE,isSubtractionNode:_E,isModuloNode:UE,isMathOperatorNode:function(e){return ME(e)||jE(e)||RE(e)||_E(e)||UE(e)},isEachKeywordNode:function(e){return e.type==="value-word"&&e.value==="in"},isForKeywordNode:function(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"},isIfElseKeywordNode:function(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&e.value.type==="value-root"&&e.value.group&&e.value.group.type==="value-value"&&e.prop.toLowerCase()==="composes"},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&e.value.group.group.type==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null},hasEmptyRawBefore:function(e){return e.raws&&e.raws.before===""},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,r){return e.value==="$$"&&e.type==="value-func"&&r&&r.type==="value-word"&&!r.raws.before},isKeyValuePairNode:Xh,isKeyValuePairInParenGroupNode:af,isKeyInValuePairNode:function(e,r){if(!Xh(r))return!1;var n=r.groups,u=n.indexOf(e);return u!==-1&&$E(n[u+1])},isSCSSMapItemNode:function(e){var r=e.getValue();if(r.groups.length===0)return!1;var n=e.getParentNode(1);if(!(af(r)||n&&af(n)))return!1;var u=ha(e,"css-decl");return!!(u&&u.prop&&u.prop.startsWith("$"))||!!af(n)||n.type==="value-func"},isInlineValueCommentNode:function(e){return e.type==="value-comment"&&e.inline},isHashNode:function(e){return e.type==="value-word"&&e.value==="#"},isLeftCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="{"},isRightCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="}"},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:$E,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return e.type==="value-func"&&IN.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function t(e){if(e.groups)return(e.open&&e.open.value?e.open.value:"")+e.groups.reduce(function(u,a,i){return u+t(a)+(e.groups[0].type==="comma_group"&&i!==e.groups.length-1?",":"")},"")+(e.close&&e.close.value?e.close.value:"");var r=e.raws&&e.raws.before?e.raws.before:"",n=e.raws&&e.raws.quote?e.raws.quote:"";return r+n+(e.type==="atword"?"@":"")+(e.value?e.value:"")+n+(e.unit?e.unit:"")+(e.group?t(e.group):"")+(e.raws&&e.raws.after?e.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&e.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}},WE=function(e,r){for(var n=0,u=0;u<e.line-1;++u)n=r.indexOf(`
|
|
222
|
+
`,n)+1;return n+e.column},LN=G.getLast,MN=G.skipEverythingButNewLine;function VE(t,e){return typeof t.sourceIndex=="number"?t.sourceIndex:t.source?WE(t.source.start,e)-1:null}function GE(t,e){if(t.type==="css-comment"&&t.inline)return MN(e,t.source.startOffset);var r=t.nodes&&LN(t.nodes);return r&&t.source&&!t.source.end&&(t=r),t.source&&t.source.end?WE(t.source.end,e):null}function HE(t,e,r){t.source&&(t.source.startOffset=VE(t,r)+e,t.source.endOffset=GE(t,r)+e);for(var n in t){var u=t[n];n!=="source"&&u&&we(u)=="object"&&HE(u,e,r)}}function jN(t){var e=t.source.startOffset;return typeof t.prop=="string"&&(e+=t.prop.length),t.type==="css-atrule"&&typeof t.name=="string"&&(e+=1+t.name.length+t.raws.afterName.match(/^\s*:?\s*/)[0].length),t.type!=="css-atrule"&&t.raws&&typeof t.raws.between=="string"&&(e+=t.raws.between.length),e}var KE={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function t(e,r){e.source&&(e.source.startOffset=VE(e,r),e.source.endOffset=GE(e,r));for(var n in e){var u=e[n];n!=="source"&&u&&we(u)=="object"&&(u.type==="value-root"||u.type==="value-unknown"?HE(u,jN(e),u.text||u.value):t(u,r))}},replaceQuotesInInlineComments:function(e){for(var r,n="initial",u="initial",a=!1,i=[],o=0;o<e.length;o++){var s=e[o];switch(n){case"initial":if(s==="'"){n="single-quotes";continue}if(s==='"'){n="double-quotes";continue}if((s==="u"||s==="U")&&e.slice(o,o+4).toLowerCase()==="url("){n="url",o+=3;continue}if(s==="*"&&e[o-1]==="/"){n="comment-block";continue}if(s==="/"&&e[o-1]==="/"){n="comment-inline",r=o-1;continue}continue;case"single-quotes":if(s==="'"&&e[o-1]!=="\\"&&(n=u,u="initial"),s===`
|
|
223
|
+
`||s==="\r")return e;continue;case"double-quotes":if(s==='"'&&e[o-1]!=="\\"&&(n=u,u="initial"),s===`
|
|
224
|
+
`||s==="\r")return e;continue;case"url":if(s===")"&&(n="initial"),s===`
|
|
225
|
+
`||s==="\r")return e;if(s==="'"){n="single-quotes",u="url";continue}if(s==='"'){n="double-quotes",u="url";continue}continue;case"comment-block":s==="/"&&e[o-1]==="*"&&(n="initial");continue;case"comment-inline":s!=='"'&&s!=="'"&&s!=="*"||(a=!0),s!==`
|
|
226
|
+
`&&s!=="\r"||(a&&i.push([r,o]),n="initial",a=!1);continue}}for(var l=0,c=i;l<c.length;l++){var p=_e(c[l],2),f=p[0],d=p[1];e=e.slice(0,f)+e.slice(f,d).replace(/["'*]/g," ")+e.slice(d)}return e}},RN=G.printNumber,zE=G.printString,_N=G.hasNewline,qE=G.isFrontMatterNode,UN=G.isNextLineEmpty,$N=G.isNonEmptyArray,uu=De.builders,_o=uu.join,Gr=uu.line,_r=uu.hardline,Da=uu.softline,_n=uu.group,Jh=uu.fill,Cn=uu.indent,of=uu.dedent,XE=uu.ifBreak,JE=uu.breakParent,YE=De.utils,WN=YE.removeLines,QE=YE.getDocParts,VN=kN.insertPragma,Yh=tt.getAncestorNode,GN=tt.getPropOfDeclNode,li=tt.maybeToLowerCase,sf=tt.insideValueFunctionNode,HN=tt.insideICSSRuleNode,Qh=tt.insideAtRuleNode,KN=tt.insideURLFunctionInImportAtRuleNode,zN=tt.isKeyframeAtRuleKeywords,qN=tt.isWideKeywords,XN=tt.isSCSS,Zh=tt.isLastNode,ZE=tt.isLessParser,eD=tt.isSCSSControlDirectiveNode,JN=tt.isDetachedRulesetDeclarationNode,YN=tt.isRelationalOperatorNode,QN=tt.isEqualityOperatorNode,eC=tt.isMultiplicationNode,tD=tt.isDivisionNode,ci=tt.isAdditionNode,kl=tt.isSubtractionNode,rD=tt.isMathOperatorNode,ZN=tt.isEachKeywordNode,eO=tt.isForKeywordNode,tO=tt.isURLFunctionNode,rO=tt.isIfElseKeywordNode,nO=tt.hasComposesNode,uO=tt.hasParensAroundNode,Uo=tt.hasEmptyRawBefore,aO=tt.isKeyValuePairNode,iO=tt.isKeyInValuePairNode,tC=tt.isDetachedRulesetCallNode,rC=tt.isTemplatePlaceholderNode,oO=tt.isTemplatePropNode,sO=tt.isPostcssSimpleVarNode,lO=tt.isSCSSMapItemNode,nC=tt.isInlineValueCommentNode,nD=tt.isHashNode,uC=tt.isLeftCurlyBraceNode,uD=tt.isRightCurlyBraceNode,lf=tt.isWordNode,aC=tt.isColonNode,cO=tt.isMediaAndSupportsKeywords,pO=tt.isColorAdjusterFuncNode,Il=tt.lastLineHasInlineComment,aD=tt.isAtWordPlaceholderNode,pi=KE.locStart,ma=KE.locEnd;function fO(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function Ll(t,e,r){var n=[];return t.each(function(u,a,i){var o=i[a-1];if(o&&o.type==="css-comment"&&o.text.trim()==="prettier-ignore"){var s=u.getValue();n.push(e.originalText.slice(pi(s),ma(s)))}else n.push(r());a!==i.length-1&&(i[a+1].type==="css-comment"&&!_N(e.originalText,pi(i[a+1]),{backwards:!0})&&!qE(i[a])||i[a+1].type==="css-atrule"&&i[a+1].name==="else"&&i[a].type!=="css-comment"?n.push(" "):(n.push(e.__isHTMLStyleAttribute?Gr:_r),UN(e.originalText,u.getValue(),ma)&&!qE(i[a])&&n.push(_r)))},"nodes"),n}var iC=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,dO=new RegExp(iC.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function au(t,e){return t.replace(iC,function(r){return zE(r,e)})}function hO(t,e){var r=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:r+t+r}function $o(t){return t.replace(dO,function(e,r,n,u,a){return!n&&u?oC(u)+li(a||""):e})}function oC(t){return RN(t).replace(/\.0(?=$|e)/,"")}var DO={print:function(e,r,n){var u=e.getValue();if(!u)return"";if(typeof u=="string")return u;switch(u.type){case"front-matter":return[u.raw,_r];case"css-root":{var a=Ll(e,r,n),i=u.raws.after.trim();return[a,i?" ".concat(i):"",QE(a).length>0?_r:""]}case"css-comment":{var o=u.inline||u.raws.inline,s=r.originalText.slice(pi(u),ma(u));return o?s.trimEnd():s}case"css-rule":return[n("selector"),u.important?" !important":"",u.nodes?[u.selector&&u.selector.type==="selector-unknown"&&Il(u.selector.value)?Gr:" ","{",u.nodes.length>0?Cn([_r,Ll(e,r,n)]):"",_r,"}",JN(u)?";":""]:";"];case"css-decl":{var l=e.getParentNode(),c=u.raws.between,p=c.trim(),f=p===":",d=nO(u)?WN(n("value")):n("value");return!f&&Il(p)&&(d=Cn([_r,of(d)])),[u.raws.before.replace(/[\s;]/g,""),HN(e)?u.prop:li(u.prop),p.startsWith("//")?" ":"",p,u.extend?"":" ",ZE(r)&&u.extend&&u.selector?["extend(",n("selector"),")"]:"",d,u.raws.important?u.raws.important.replace(/\s*!\s*important/i," !important"):u.important?" !important":"",u.raws.scssDefault?u.raws.scssDefault.replace(/\s*!default/i," !default"):u.scssDefault?" !default":"",u.raws.scssGlobal?u.raws.scssGlobal.replace(/\s*!global/i," !global"):u.scssGlobal?" !global":"",u.nodes?[" {",Cn([Da,Ll(e,r,n)]),Da,"}"]:oO(u)&&!l.raws.semicolon&&r.originalText[ma(u)-1]!==";"?"":r.__isHTMLStyleAttribute&&Zh(e,u)?XE(";"):";"]}case"css-atrule":{var D=e.getParentNode(),v=rC(u)&&!D.raws.semicolon&&r.originalText[ma(u)-1]!==";";if(ZE(r)){if(u.mixin)return[n("selector"),u.important?" !important":"",v?"":";"];if(u.function)return[u.name,n("params"),v?"":";"];if(u.variable)return["@",u.name,": ",u.value?n("value"):"",u.raws.between.trim()?u.raws.between.trim()+" ":"",u.nodes?["{",Cn([u.nodes.length>0?Da:"",Ll(e,r,n)]),Da,"}"]:"",v?"":";"]}return["@",tC(u)||u.name.endsWith(":")?u.name:li(u.name),u.params?[tC(u)?"":rC(u)?u.raws.afterName===""?"":u.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(u.raws.afterName)?[_r,_r]:/^\s*\n/.test(u.raws.afterName)?_r:" ":" ",n("params")]:"",u.selector?Cn([" ",n("selector")]):"",u.value?_n([" ",n("value"),eD(u)?uO(u)?" ":Gr:""]):u.name==="else"?" ":"",u.nodes?[eD(u)?"":u.selector&&!u.selector.nodes&&typeof u.selector.value=="string"&&Il(u.selector.value)||!u.selector&&typeof u.params=="string"&&Il(u.params)?Gr:" ","{",Cn([u.nodes.length>0?Da:"",Ll(e,r,n)]),Da,"}"]:v?"":";"]}case"media-query-list":{var y=[];return e.each(function(Xl){var Mu=Xl.getValue();Mu.type==="media-query"&&Mu.value===""||y.push(n())},"nodes"),_n(Cn(_o(Gr,y)))}case"media-query":return[_o(" ",e.map(n,"nodes")),Zh(e,u)?"":","];case"media-type":return $o(au(u.value,r));case"media-feature-expression":return u.nodes?["("].concat(Z(e.map(n,"nodes")),[")"]):u.value;case"media-feature":return li(au(u.value.replace(/ +/g," "),r));case"media-colon":return[u.value," "];case"media-value":return $o(au(u.value,r));case"media-keyword":return au(u.value,r);case"media-url":return au(u.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),r);case"media-unknown":return u.value;case"selector-root":return _n([Qh(e,"custom-selector")?[Yh(e,"css-atrule").customSelector,Gr]:"",_o([",",Qh(e,["extend","custom-selector","nest"])?Gr:_r],e.map(n,"nodes"))]);case"selector-selector":return _n(Cn(e.map(n,"nodes")));case"selector-comment":return u.value;case"selector-string":return au(u.value,r);case"selector-tag":{var b=e.getParentNode(),T=b&&b.nodes.indexOf(u),S=T&&b.nodes[T-1];return[u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",S.type==="selector-nesting"?u.value:$o(zN(e,u.value)?u.value.toLowerCase():u.value)]}case"selector-id":return["#",u.value];case"selector-class":return[".",$o(au(u.value,r))];case"selector-attribute":return["[",u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",u.attribute.trim(),u.operator?u.operator:"",u.value?hO(au(u.value.trim(),r),r):"",u.insensitive?" i":"","]"];case"selector-combinator":if(u.value==="+"||u.value===">"||u.value==="~"||u.value===">>>"){var B=e.getParentNode();return[B.type==="selector-selector"&&B.nodes[0]===u?"":Gr,u.value,Zh(e,u)?"":" "]}return[u.value.trim().startsWith("(")?Gr:"",$o(au(u.value.trim(),r))||Gr];case"selector-universal":return[u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",u.value];case"selector-pseudo":return[li(u.value),$N(u.nodes)?["(",_o(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return u.value;case"selector-unknown":{var w=Yh(e,"css-rule");if(w&&w.isSCSSNesterProperty)return $o(au(li(u.value),r));var F=e.getParentNode();if(F.raws&&F.raws.selector){var P=pi(F),k=P+F.raws.selector.length;return r.originalText.slice(P,k).trim()}var R=e.getParentNode(1);if(F.type==="value-paren_group"&&R&&R.type==="value-func"&&R.value==="selector"){var W=pi(F.open)+1,L=ma(F.close)-1,j=r.originalText.slice(W,L).trim();return Il(j)?[JE,j]:j}return u.value}case"value-value":case"value-root":return n("group");case"value-comment":return r.originalText.slice(pi(u),ma(u));case"value-comma_group":{for(var q=e.getParentNode(),ae=e.getParentNode(1),ie=GN(e),be=ie&&q.type==="value-value"&&(ie==="grid"||ie.startsWith("grid-template")),ce=Yh(e,"css-atrule"),oe=ce&&eD(ce),Ae=u.groups.some(function(Xl){return nC(Xl)}),ze=e.map(n,"groups"),Oe=[],We=sf(e,"url"),Ke=!1,ut=!1,qe=0;qe<u.groups.length;++qe){Oe.push(ze[qe]);var ct=u.groups[qe-1],xe=u.groups[qe],Te=u.groups[qe+1],pt=u.groups[qe+2];if(We){(Te&&ci(Te)||ci(xe))&&Oe.push(" ");continue}if(!!Te&&!(xe.type==="value-word"&&xe.value.endsWith("-")&&aD(Te))){var Me=xe.type==="value-string"&&xe.value.startsWith("#{"),Ve=Ke&&Te.type==="value-string"&&Te.value.endsWith("}");if(Me||Ve){Ke=!Ke;continue}if(!Ke&&!(aC(xe)||aC(Te))&&!(xe.type==="value-atword"&&xe.value==="")&&xe.value!=="~"&&!(xe.value&&xe.value.includes("\\")&&Te&&Te.type!=="value-comment")&&!(ct&&ct.value&&ct.value.indexOf("\\")===ct.value.length-1&&xe.type==="value-operator"&&xe.value==="/")&&xe.value!=="\\"&&!sO(xe,Te)&&!(nD(xe)||uC(xe)||uD(Te)||uC(Te)&&Uo(Te)||uD(xe)&&Uo(Te))&&!(xe.value==="--"&&nD(Te))){var at=rD(xe),mt=rD(Te);if(!((at&&nD(Te)||mt&&uD(xe))&&Uo(Te))&&!(!ct&&tD(xe))&&!(sf(e,"calc")&&(ci(xe)||ci(Te)||kl(xe)||kl(Te))&&Uo(Te))){var Xt=(ci(xe)||kl(xe))&&qe===0&&(Te.type==="value-number"||Te.isHex)&&ae&&pO(ae)&&!Uo(Te),Sn=pt&&pt.type==="value-func"||pt&&lf(pt)||xe.type==="value-func"||lf(xe),Or=Te.type==="value-func"||lf(Te)||ct&&ct.type==="value-func"||ct&&lf(ct);if(eC(Te)||eC(xe)||sf(e,"calc")||Xt||!(tD(Te)&&!Sn||tD(xe)&&!Or||ci(Te)&&!Sn||ci(xe)&&!Or||kl(Te)||kl(xe))||!(Uo(Te)||at&&(!ct||ct&&rD(ct))))if(nC(xe)){if(q.type==="value-paren_group"){Oe.push(of(_r));continue}Oe.push(_r)}else oe&&(QN(Te)||YN(Te)||rO(Te)||ZN(xe)||eO(xe))||ce&&ce.name.toLowerCase()==="namespace"?Oe.push(" "):be?xe.source&&Te.source&&xe.source.start.line!==Te.source.start.line?(Oe.push(_r),ut=!0):Oe.push(" "):mt?Oe.push(" "):Te&&Te.value==="..."||aD(xe)&&aD(Te)&&ma(xe)===pi(Te)||Oe.push(Gr)}}}}return Ae&&Oe.push(JE),ut&&Oe.unshift(_r),oe?_n(Cn(Oe)):KN(e)?_n(Jh(Oe)):_n(Cn(Jh(Oe)))}case"value-paren_group":{var pu=e.getParentNode();if(pu&&tO(pu)&&(u.groups.length===1||u.groups.length>0&&u.groups[0].type==="value-comma_group"&&u.groups[0].groups.length>0&&u.groups[0].groups[0].type==="value-word"&&u.groups[0].groups[0].value.startsWith("data:")))return[u.open?n("open"):"",_o(",",e.map(n,"groups")),u.close?n("close"):""];if(!u.open){for(var Hn=e.map(n,"groups"),Ea=[],Ai=0;Ai<Hn.length;Ai++)Ai!==0&&Ea.push([",",Gr]),Ea.push(Hn[Ai]);return _n(Cn(Jh(Ea)))}var Yo=lO(e),zl=Ot(u.groups),Jt=zl&&zl.type==="value-comment",Qo=iO(u,pu),Lf=_n([u.open?n("open"):"",Cn([Da,_o([",",Gr],e.map(function(Xl){var Mu=Xl.getValue(),tm=n();if(aO(Mu)&&Mu.type==="value-comma_group"&&Mu.groups&&Mu.groups[0].type!=="value-paren_group"&&Mu.groups[2]&&Mu.groups[2].type==="value-paren_group"){var CF=QE(tm.contents.contents);return CF[1]=_n(CF[1]),_n(of(tm))}return tm},"groups"))]),XE(!Jt&&XN(r.parser,r.originalText)&&Yo&&fO(r)?",":""),Da,u.close?n("close"):""],{shouldBreak:Yo&&!Qo});return Qo?of(Lf):Lf}case"value-func":return[u.value,Qh(e,"supports")&&cO(u)?" ":"",n("group")];case"value-paren":return u.value;case"value-number":return[oC(u.value),li(u.unit)];case"value-operator":return u.value;case"value-word":return u.isColor&&u.isHex||qN(u.value)?u.value.toLowerCase():u.value;case"value-colon":{var ql=e.getParentNode(),EF=ql&&ql.groups.indexOf(u),em=EF&&ql.groups[EF-1];return[u.value,em&&typeof em.value=="string"&&Ot(em.value)==="\\"||sf(e,"url")?"":Gr]}case"value-comma":return[u.value," "];case"value-string":return zE(u.raws.quote+u.value+u.raws.quote,r);case"value-atword":return["@",u.value];case"value-unicode-range":case"value-unknown":return u.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(u.type)))}},embed:NN,insertPragma:VN,massageAstNode:BN},mO={singleQuote:Iu.singleQuote},gO={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},vO={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},yO={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},EO={languages:[It({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},function(t){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(Z(t.extensions),[".wxss"])}}),It(gO,function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}}),It(vO,function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}}),It(yO,function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}})],options:mO,printers:{postcss:DO},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},sC={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function lC(t,e){if(t.type==="TextNode"){var r=t.chars.trim();if(!r)return null;e.chars=r.replace(/[\t\n\f\r ]+/g," ")}t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value}lC.ignoredProperties=new Set(["loc","selfClosing"]);var CO=lC,AO=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function cC(t){return fi(t,["TextNode"])&&!/\S/.test(t.chars)}function fi(t,e){return t&&e.includes(t.type)}function iD(t,e){return fi(t.getParentNode(0),e)}function pC(t,e){var r=t.getValue(),n=t.getParentNode(0)||{},u=n.children||n.body||n.parts||[],a=u.indexOf(r);return a!==-1&&u[a+e]}function oD(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return pC(t,-e)}function fC(t){return pC(t,1)}function dC(t){return fi(t,["MustacheCommentStatement"])&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}var iu={getNextNode:fC,getPreviousNode:oD,hasPrettierIgnore:function(e){var r=e.getValue(),n=oD(e,2);return dC(r)||dC(n)},isLastNodeOfSiblings:function(e){var r=e.getValue(),n=e.getParentNode(0);return!(!iD(e,["ElementNode"])||Ot(n.children)!==r)||!(!iD(e,["Block"])||Ot(n.body)!==r)},isNextNodeOfSomeType:function(e,r){return fi(fC(e),r)},isNodeOfSomeType:fi,isParentOfSomeType:iD,isPreviousNodeOfSomeType:function(e,r){return fi(oD(e),r)},isVoid:function(e){return function(r){return fi(r,["ElementNode"])&&typeof r.tag=="string"&&(function(n){return n.toUpperCase()===n}(r.tag[0])||r.tag.includes("."))}(e)&&e.children.every(function(r){return cC(r)})||AO.has(e.tag)},isWhitespaceNode:cC},ou=De.builders,hC=ou.dedent,DC=ou.fill,su=ou.group,Wo=ou.hardline,mC=ou.ifBreak,Zr=ou.indent,cf=ou.join,Hr=ou.line,Lu=ou.softline,FO=ou.literalline,bO=De.utils.getDocParts,gC=G.isNonEmptyArray,SO=G.replaceEndOfLineWith,sD=sC.locStart,lD=sC.locEnd,TO=iu.getNextNode,xO=iu.getPreviousNode,BO=iu.hasPrettierIgnore,vC=iu.isLastNodeOfSiblings,pf=iu.isNextNodeOfSomeType,cD=iu.isNodeOfSomeType,ff=iu.isParentOfSomeType,pD=iu.isPreviousNodeOfSomeType,yC=iu.isVoid,EC=iu.isWhitespaceNode;function CC(t,e,r){var n=t.getValue().children.every(function(u){return EC(u)});return e.htmlWhitespaceSensitivity==="ignore"&&n?"":t.map(function(u,a){var i=r();return a===0&&e.htmlWhitespaceSensitivity==="ignore"?[Lu,i]:i},"children")}function wO(t){return yC(t)?mC([Lu,"/>"],[" />",Lu]):mC([Lu,">"],">")}function df(t){return[t.escaped===!1?"{{{":"{{",t.strip&&t.strip.open?"~":""]}function hf(t){var e=t.escaped===!1?"}}}":"}}";return[t.strip&&t.strip.close?"~":"",e]}function AC(t){return[df(t),t.closeStrip.open?"~":"","/"]}function FC(t){var e=hf(t);return[t.closeStrip.close?"~":"",e]}function bC(t){return[df(t),t.inverseStrip.open?"~":""]}function SC(t){var e=hf(t);return[t.inverseStrip.close?"~":"",e]}function PO(t,e){var r=t.getValue(),n=function(s){return[df(s),s.openStrip.open?"~":"","#"]}(r),u=function(s){var l=hf(s);return[s.openStrip.close?"~":"",l]}(r),a=[dD(t,e)],i=Df(t,e);if(i&&a.push(Hr,i),gC(r.program.blockParams)){var o=OC(r.program);a.push(Hr,o)}return su([n,Zr(a),Lu,u])}function NO(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?Wo:"",bC(t),"else",SC(t)]}function OO(t,e){var r=t.getParentNode(1);return[bC(r),"else if ",Df(t,e),SC(r)]}function kO(t,e,r){var n=t.getValue();return r.htmlWhitespaceSensitivity==="ignore"?[TC(n)?Lu:Wo,AC(n),e("path"),FC(n)]:[AC(n),e("path"),FC(n)]}function TC(t){return cD(t,["BlockStatement"])&&t.program.body.every(function(e){return EC(e)})}function xC(t){return cD(t,["BlockStatement"])&&t.inverse}function BC(t,e,r){if(TC(t.getValue()))return"";var n=e("program");return r.htmlWhitespaceSensitivity==="ignore"?Zr([Wo,n]):Zr(n)}function wC(t,e,r){var n=t.getValue(),u=e("inverse"),a=r.htmlWhitespaceSensitivity==="ignore"?[Wo,u]:u;return function(i){return xC(i)&&i.inverse.body.length===1&&cD(i.inverse.body[0],["BlockStatement"])&&i.inverse.body[0].path.parts[0]==="if"}(n)?a:xC(n)?[NO(n,r),Zr(a)]:""}function PC(t){return bO(cf(Hr,function(e){return e.split(/[\t\n\f\r ]+/)}(t)))}function Vo(t){return(t=typeof t=="string"?t:"").split(`
|
|
227
|
+
`).length-1}function Ml(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Array(Math.min(t,2)).fill(Wo)}function fD(t,e){var r={quote:'"',regex:/"/g},n={quote:"'",regex:/'/g},u=t.singleQuote?n:r,a=u===n?r:n,i=!1;return(e.includes(u.quote)||e.includes(a.quote))&&(i=(e.match(u.regex)||[]).length>(e.match(a.regex)||[]).length),i?a:u}function IO(t,e){var r=dD(t,e),n=Df(t,e);return n?Zr([r,Hr,su(n)]):r}function NC(t,e){var r=dD(t,e),n=Df(t,e);return n?[Zr([r,Hr,n]),Lu]:r}function dD(t,e){return e("path")}function Df(t,e){var r=t.getValue(),n=[];if(r.params.length>0){var u=t.map(e,"params");n.push.apply(n,Z(u))}if(r.hash&&r.hash.pairs.length>0){var a=e("hash");n.push(a)}return n.length===0?"":cf(Hr,n)}function OC(t){return["as |",t.blockParams.join(" "),"|"]}var LO={print:function(e,r,n){var u=e.getValue();if(!u)return"";if(BO(e))return r.originalText.slice(sD(u),lD(u));switch(u.type){case"Block":case"Program":case"Template":return su(e.map(n,"body"));case"ElementNode":{var a=su(function(Me,Ve){var at=Me.getValue(),mt=["attributes","modifiers","comments","blockParams"].filter(function(Xt){return gC(at[Xt])}).map(function(Xt){return[Hr,Xt==="blockParams"?OC(at):cf(Hr,Me.map(Ve,Xt))]});return["<",at.tag,Zr(mt),wO(at)]}(e,n)),i=r.htmlWhitespaceSensitivity==="ignore"&&pf(e,["ElementNode"])?Lu:"";if(yC(u))return[a,i];var o=["</",u.tag,">"];return u.children.length===0?[a,Zr(o),i]:r.htmlWhitespaceSensitivity==="ignore"?[a,Zr(CC(e,r,n)),Wo,Zr(o),i]:[a,Zr(su(CC(e,r,n))),Zr(o),i]}case"BlockStatement":{var s=e.getParentNode(1);return s&&s.inverse&&s.inverse.body.length===1&&s.inverse.body[0]===u&&s.inverse.body[0].path.parts[0]==="if"?[OO(e,n),BC(e,n,r),wC(e,n,r)]:[PO(e,n),su([BC(e,n,r),wC(e,n,r),kO(e,n,r)])]}case"ElementModifierStatement":return su(["{{",NC(e,n),"}}"]);case"MustacheStatement":return su([df(u),NC(e,n),hf(u)]);case"SubExpression":return su(["(",IO(e,n),Lu,")"]);case"AttrNode":{var l=u.value.type==="TextNode";if(l&&u.value.chars===""&&sD(u.value)===lD(u.value))return u.name;var c=l?fD(r,u.value.chars).quote:u.value.type==="ConcatStatement"?fD(r,u.value.parts.filter(function(Me){return Me.type==="TextNode"}).map(function(Me){return Me.chars}).join("")).quote:"",p=n("value");return[u.name,"=",c,u.name==="class"&&c?su(Zr(p)):p,c]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return cf(Hr,e.map(n,"pairs"));case"HashPair":return[u.key,"=",n("value")];case"TextNode":{var f=u.chars.replace(/{{/g,"\\{{"),d=function(Me){for(var Ve=0;Ve<2;Ve++){var at=Me.getParentNode(Ve);if(at&&at.type==="AttrNode")return at.name.toLowerCase()}}(e);if(d){if(d==="class"){var D=f.trim().split(/\s+/).join(" "),v=!1,y=!1;return ff(e,["ConcatStatement"])&&(pD(e,["MustacheStatement"])&&/^\s/.test(f)&&(v=!0),pf(e,["MustacheStatement"])&&/\s$/.test(f)&&D!==""&&(y=!0)),[v?Hr:"",D,y?Hr:""]}return SO(f,FO)}var b=/^[\t\n\f\r ]*$/.test(f),T=!xO(e),S=!TO(e);if(r.htmlWhitespaceSensitivity!=="ignore"){var B=/^[\t\n\f\r ]*/,w=/[\t\n\f\r ]*$/,F=S&&ff(e,["Template"]),P=T&&ff(e,["Template"]);if(b){if(P||F)return"";var k=[Hr],R=Vo(f);return R&&(k=Ml(R)),vC(e)&&(k=k.map(function(Me){return hC(Me)})),k}var W=f.match(B),L=_e(W,1),j=L[0],q=f.match(w),ae=_e(q,1),ie=ae[0],be=[];if(j){be=[Hr];var ce=Vo(j);ce&&(be=Ml(ce)),f=f.replace(B,"")}var oe=[];if(ie){if(!F){oe=[Hr];var Ae=Vo(ie);Ae&&(oe=Ml(Ae)),vC(e)&&(oe=oe.map(function(Me){return hC(Me)}))}f=f.replace(w,"")}return[].concat(Z(be),[DC(PC(f))],Z(oe))}var ze=Vo(f),Oe=function(Me){return Vo(((Me=typeof Me=="string"?Me:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(f),We=function(Me){return Vo(((Me=typeof Me=="string"?Me:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(f);if((T||S)&&b&&ff(e,["Block","ElementNode","Template"]))return"";b&&ze?(Oe=Math.min(ze,2),We=0):(pf(e,["BlockStatement","ElementNode"])&&(We=Math.max(We,1)),pD(e,["BlockStatement","ElementNode"])&&(Oe=Math.max(Oe,1)));var Ke="",ut="";return We===0&&pf(e,["MustacheStatement"])&&(ut=" "),Oe===0&&pD(e,["MustacheStatement"])&&(Ke=" "),T&&(Oe=0,Ke=""),S&&(We=0,ut=""),f=f.replace(/^[\t\n\f\r ]+/g,Ke).replace(/[\t\n\f\r ]+$/,ut),[].concat(Z(Ml(Oe)),[DC(PC(f))],Z(Ml(We)))}case"MustacheCommentStatement":{var qe=sD(u),ct=lD(u),xe=r.originalText.charAt(qe+2)==="~",Te=r.originalText.charAt(ct-3)==="~",pt=u.value.includes("}}")?"--":"";return["{{",xe?"~":"","!",pt,u.value,pt,Te?"~":"","}}"]}case"PathExpression":return u.original;case"BooleanLiteral":return String(u.value);case"CommentStatement":return["<!--",u.value,"-->"];case"StringLiteral":return function(Me,Ve){var at=fD(Ve,Me),mt=at.quote,Xt=at.regex;return[mt,Me.replace(Xt,"\\".concat(mt)),mt]}(u.value,r);case"NumberLiteral":return String(u.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(u.type))}},massageAstNode:CO},MO={languages:[It({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}})],printers:{glimmer:LO},parsers:{get glimmer(){return{}.parsers.glimmer}}},jO={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return`# @format
|
|
228
|
+
|
|
229
|
+
`+e}},kC={locStart:function(e){return typeof e.start=="number"?e.start:e.loc&&e.loc.start},locEnd:function(e){return typeof e.end=="number"?e.end:e.loc&&e.loc.end}},di=De.builders,sr=di.join,it=di.hardline,Go=di.line,St=di.softline,en=di.group,Br=di.indent,Un=di.ifBreak,IC=G.isNextLineEmpty,hD=G.isNonEmptyArray,RO=jO.insertPragma,_O=kC.locStart,LC=kC.locEnd;function wr(t,e,r){if(r.directives.length===0)return"";var n=sr(Go,t.map(e,"directives"));return r.kind==="FragmentDefinition"||r.kind==="OperationDefinition"?en([Go,n]):[" ",en(Br([St,n]))]}function lu(t,e,r){var n=t.getValue().length;return t.map(function(u,a){var i=r();return IC(e.originalText,u.getValue(),LC)&&a<n-1?[i,it]:i})}function MC(t,e,r){for(var n=t.getNode(),u=[],a=n.interfaces,i=t.map(function(d){return r(d)},"interfaces"),o=0;o<a.length;o++){var s=a[o];u.push(i[o]);var l=a[o+1];if(l){var c=e.originalText.slice(s.loc.end,l.loc.start),p=c.includes("#"),f=c.replace(/#.*/g,"").trim();u.push(f===","?",":" &",p?Go:" ")}}return u}function jC(){}jC.ignoredProperties=new Set(["loc","comments"]);var UO={print:function(e,r,n){var u=e.getValue();if(!u)return"";if(typeof u=="string")return u;switch(u.kind){case"Document":{var a=[];return e.each(function(s,l,c){a.push(n()),l!==c.length-1&&(a.push(it),IC(r.originalText,s.getValue(),LC)&&a.push(it))},"definitions"),[].concat(a,[it])}case"OperationDefinition":{var i=r.originalText[_O(u)]!=="{",o=Boolean(u.name);return[i?u.operation:"",i&&o?[" ",n("name")]:"",i&&!o&&hD(u.variableDefinitions)?" ":"",hD(u.variableDefinitions)?en(["(",Br([St,sr([Un("",", "),St],e.map(n,"variableDefinitions"))]),St,")"]):"",wr(e,n,u),u.selectionSet&&(i||o)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),hD(u.variableDefinitions)?en(["(",Br([St,sr([Un("",", "),St],e.map(n,"variableDefinitions"))]),St,")"]):""," on ",n("typeCondition"),wr(e,n,u)," ",n("selectionSet")];case"SelectionSet":return["{",Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"selections"))]),it,"}"];case"Field":return en([u.alias?[n("alias"),": "]:"",n("name"),u.arguments.length>0?en(["(",Br([St,sr([Un("",", "),St],e.call(function(s){return lu(s,r,n)},"arguments"))]),St,")"]):"",wr(e,n,u),u.selectionSet?" ":"",n("selectionSet")]);case"Name":return u.value;case"StringValue":return u.block?['"""',it,sr(it,u.value.replace(/"""/g,"\\$&").split(`
|
|
230
|
+
`)),it,'"""']:['"',u.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return u.value;case"BooleanValue":return u.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return en(["[",Br([St,sr([Un("",", "),St],e.map(n,"values"))]),St,"]"]);case"ObjectValue":return en(["{",r.bracketSpacing&&u.fields.length>0?" ":"",Br([St,sr([Un("",", "),St],e.map(n,"fields"))]),St,Un("",r.bracketSpacing&&u.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),u.arguments.length>0?en(["(",Br([St,sr([Un("",", "),St],e.call(function(s){return lu(s,r,n)},"arguments"))]),St,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",wr(e,n,u)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),u.description?it:"",u.kind==="ObjectTypeExtension"?"extend ":"","type ",n("name"),u.interfaces.length>0?[" implements "].concat(Z(MC(e,r,n))):"",wr(e,n,u),u.fields.length>0?[" {",Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"fields"))]),it,"}"]:""];case"FieldDefinition":return[n("description"),u.description?it:"",n("name"),u.arguments.length>0?en(["(",Br([St,sr([Un("",", "),St],e.call(function(s){return lu(s,r,n)},"arguments"))]),St,")"]):"",": ",n("type"),wr(e,n,u)];case"DirectiveDefinition":return[n("description"),u.description?it:"","directive ","@",n("name"),u.arguments.length>0?en(["(",Br([St,sr([Un("",", "),St],e.call(function(s){return lu(s,r,n)},"arguments"))]),St,")"]):"",u.repeatable?" repeatable":""," on ",sr(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),u.description?it:"",u.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),wr(e,n,u),u.values.length>0?[" {",Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"values"))]),it,"}"]:""];case"EnumValueDefinition":return[n("description"),u.description?it:"",n("name"),wr(e,n,u)];case"InputValueDefinition":return[n("description"),u.description?u.description.block?it:Go:"",n("name"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",wr(e,n,u)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),u.description?it:"",u.kind==="InputObjectTypeExtension"?"extend ":"","input ",n("name"),wr(e,n,u),u.fields.length>0?[" {",Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"fields"))]),it,"}"]:""];case"SchemaDefinition":return["schema",wr(e,n,u)," {",u.operationTypes.length>0?Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"operationTypes"))]):"",it,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),u.description?it:"",u.kind==="InterfaceTypeExtension"?"extend ":"","interface ",n("name"),u.interfaces.length>0?[" implements "].concat(Z(MC(e,r,n))):"",wr(e,n,u),u.fields.length>0?[" {",Br([it,sr(it,e.call(function(s){return lu(s,r,n)},"fields"))]),it,"}"]:""];case"FragmentSpread":return["...",n("name"),wr(e,n,u)];case"InlineFragment":return["...",u.typeCondition?[" on ",n("typeCondition")]:"",wr(e,n,u)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return en([n("description"),u.description?it:"",en([u.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),wr(e,n,u),u.types.length>0?[" =",Un(""," "),Br([Un([Go," "]),sr([Go,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),u.description?it:"",u.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),wr(e,n,u)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(u.kind))}},massageAstNode:jC,hasPrettierIgnore:function(e){var r=e.getValue();return r&&Array.isArray(r.comments)&&r.comments.some(function(n){return n.value.trim()==="prettier-ignore"})},insertPragma:RO,printComment:function(e){var r=e.getValue();if(r.kind==="Comment")return"#"+r.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(r))},canAttachComment:function(e){return e.kind&&e.kind!=="Comment"}},$O={bracketSpacing:Iu.bracketSpacing},WO={languages:[It({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}})],options:$O,printers:{graphql:UO},parsers:{get graphql(){return{}.parsers.graphql}}},mf={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},RC=G.getLast,_C=mf.locStart,UC=mf.locEnd,DD={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},mD=DD.cjkPattern,VO=DD.kPattern,$C=DD.punctuationPattern,WC=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],GO=[].concat(WC,["tableCell","paragraph","heading"]),HO=new RegExp(VO),gD=new RegExp($C);function gf(t,e){var r=e.slice(t.position.start.offset,t.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),n=_e(r,4),u=n[1],a=n[2],i=n[3];return{numberText:u,marker:a,leadingSpaces:i}}var $n={mapAst:function(e,r){return function n(u,a,i){var o=Object.assign({},r(u,a,i));return o.children&&(o.children=o.children.map(function(s,l){return n(s,l,[o].concat(Z(i)))})),o}(e,null,[])},splitText:function(e,r){var n="non-cjk",u="cj-letter",a="cjk-punctuation",i=[],o=(r.proseWrap==="preserve"?e:e.replace(new RegExp("(".concat(mD,`)
|
|
231
|
+
(`).concat(mD,")"),"g"),"$1$2")).split(/([\t\n ]+)/),s=de(o.entries()),l;try{for(s.s();!(l=s.n()).done;){var c=_e(l.value,2),p=c[0],f=c[1];if(p%2==1){i.push({type:"whitespace",value:/\n/.test(f)?`
|
|
232
|
+
`:" "});continue}if(!((p===0||p===o.length-1)&&f==="")){var d=f.split(new RegExp("(".concat(mD,")"))),D=de(d.entries()),v;try{for(D.s();!(v=D.n()).done;){var y=_e(v.value,2),b=y[0],T=y[1];(b!==0&&b!==d.length-1||T!=="")&&(b%2!=0?S(gD.test(T)?{type:"word",value:T,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:T,kind:HO.test(T)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):T!==""&&S({type:"word",value:T,kind:n,hasLeadingPunctuation:gD.test(T[0]),hasTrailingPunctuation:gD.test(RC(T))}))}}catch(B){D.e(B)}finally{D.f()}}}}catch(B){s.e(B)}finally{s.f()}return i;function S(B){var w=RC(i),F,P;w&&w.type==="word"&&(w.kind===n&&B.kind===u&&!w.hasTrailingPunctuation||w.kind===u&&B.kind===n&&!B.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(F=n,P=a,w.kind===F&&B.kind===P||w.kind===P&&B.kind===F||[w.value,B.value].some(function(k){return/\u3000/.test(k)})||i.push({type:"whitespace",value:""}))),i.push(B)}},punctuationPattern:$C,getFencedCodeBlockValue:function(e,r){var n=e.value;return e.position.end.offset===r.length&&n.endsWith(`
|
|
233
|
+
`)&&r.endsWith(`
|
|
234
|
+
`)?n.slice(0,-1):n},getOrderedListItemInfo:gf,hasGitDiffFriendlyOrderedList:function(e,r){if(!e.ordered||e.children.length<2)return!1;var n=Number(gf(e.children[0],r.originalText).numberText),u=Number(gf(e.children[1],r.originalText).numberText);if(n===0&&e.children.length>2){var a=Number(gf(e.children[2],r.originalText).numberText);return u===1&&a===1}return u===1},INLINE_NODE_TYPES:WC,INLINE_NODE_WRAPPER_TYPES:GO,isAutolink:function(e){if(!e||e.type!=="link"||e.children.length!==1)return!1;var r=e.children[0];return r&&_C(e)===_C(r)&&UC(e)===UC(r)}},KO=G.inferParserByLanguage,zO=G.getMaxContinuousCount,VC=De.builders,vD=VC.hardline,qO=VC.markAsRoot,XO=De.utils.replaceNewlinesWithLiterallines,JO=$n.getFencedCodeBlockValue,YO=function(e,r,n,u){var a=e.getValue();if(a.type==="code"&&a.lang!==null){var i=KO(a.lang,u);if(i){var o=u.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,zO(a.value,o)+1)),l=n(JO(a,u.originalText),{parser:i},{stripTrailingHardline:!0});return qO([s,a.lang,a.meta?" "+a.meta:"",vD,XO(l),vD,s])}}switch(a.type){case"front-matter":return qh(a,n);case"importExport":return[n(a.value,{parser:"babel"},{stripTrailingHardline:!0}),vD];case"jsx":return n("<$>".concat(a.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},GC=["format","prettier"];function HC(t){var e="@(".concat(GC.join("|"),")"),r=new RegExp(["<!--\\s*".concat(e,"\\s*-->"),`<!--.*\r?
|
|
235
|
+
[\\s\\S]*(^|
|
|
236
|
+
)[^\\S
|
|
237
|
+
]*`.concat(e,`[^\\S
|
|
238
|
+
]*($|
|
|
239
|
+
)[\\s\\S]*
|
|
240
|
+
.*-->`)].join("|"),"m"),n=t.match(r);return n&&n.index===0}var KC={startWithPragma:HC,hasPragma:function(e){return HC(uf(e).content.trimStart())},insertPragma:function(e){var r=uf(e),n="<!-- @".concat(GC[0]," -->");return r.frontMatter?"".concat(r.frontMatter.raw,`
|
|
241
|
+
|
|
242
|
+
`).concat(n,`
|
|
243
|
+
|
|
244
|
+
`).concat(r.content):"".concat(n,`
|
|
245
|
+
|
|
246
|
+
`).concat(r.content)}},zC=$n.getOrderedListItemInfo,hi=$n.mapAst,QO=$n.splitText,ZO=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function qC(t,e,r){return hi(t,function(n){if(!n.children)return n;var u=n.children.reduce(function(a,i){var o=Ot(a);return o&&e(o,i)?a.splice(-1,1,r(o,i)):a.push(i),a},[]);return Object.assign({},n,{children:u})})}var e4=function(e,r){return e=function(n){return qC(n,function(u,a){return u.type==="importExport"&&a.type==="importExport"},function(u,a){return{type:"importExport",value:u.value+`
|
|
247
|
+
|
|
248
|
+
`+a.value,position:{start:u.position.start,end:a.position.end}}})}(e=function(n){return hi(n,function(u){return u.type!=="import"&&u.type!=="export"?u:Object.assign({},u,{type:"importExport"})})}(e=function(n,u){return hi(n,function(a,i,o){var s=_e(o,1),l=s[0];if(a.type!=="text")return a;var c=a.value;return l.type==="paragraph"&&(i===0&&(c=c.trimStart()),i===l.children.length-1&&(c=c.trimEnd())),{type:"sentence",position:a.position,children:QO(c,u)}})}(e=function(n,u){return hi(n,function(o,s,l){if(o.type==="list"&&o.children.length>0){for(var c=0;c<l.length;c++){var p=l[c];if(p.type==="list"&&!p.isAligned)return o.isAligned=!1,o}o.isAligned=i(o)}return o});function a(o){return o.children.length===0?-1:o.children[0].position.start.column-1}function i(o){if(!o.ordered)return!0;var s=_e(o.children,2),l=s[0],c=s[1];if(zC(l,u.originalText).leadingSpaces.length>1)return!0;var p=a(l);return p===-1?!1:o.children.length===1?p%u.tabWidth==0:p!==a(c)?!1:p%u.tabWidth==0?!0:zC(c,u.originalText).leadingSpaces.length>1}}(e=function(n,u){return hi(n,function(a,i,o){if(a.type==="code"){var s=/^\n?( {4,}|\t)/.test(u.originalText.slice(a.position.start.offset,a.position.end.offset));if(a.isIndented=s,s)for(var l=0;l<o.length;l++){var c=o[l];if(c.hasIndentedCodeblock)break;c.type==="list"&&(c.hasIndentedCodeblock=!0)}}return a})}(e=function(n){return hi(n,function(u){return u.type!=="inlineCode"?u:Object.assign({},u,{value:u.value.replace(/\s+/g," ")})})}(e=function(n){return qC(n,function(u,a){return u.type==="text"&&a.type==="text"},function(u,a){return{type:"text",value:u.value+a.value,position:{start:u.position.start,end:a.position.end}}})}(e=function(n,u){return hi(n,function(a){return a.type==="text"&&a.value!=="*"&&a.value!=="_"&&ZO.test(a.value)&&a.position.end.offset-a.position.start.offset!==a.value.length?Object.assign({},a,{value:u.originalText.slice(a.position.start.offset,a.position.end.offset)}):a})}(e,r))),r),r),r)))},t4=G.isFrontMatterNode,r4=KC.startWithPragma,n4=new Set(["position","raw"]);function XC(t,e,r){return t.type!=="front-matter"&&t.type!=="code"&&t.type!=="yaml"&&t.type!=="import"&&t.type!=="export"&&t.type!=="jsx"||delete e.value,t.type==="list"&&delete e.isAligned,t.type!=="list"&&t.type!=="listItem"||(delete e.spread,delete e.loose),t.type==="text"?null:(t.type==="inlineCode"&&(e.value=t.value.replace(/[\t\n ]+/g," ")),t.type==="wikiLink"&&(e.value=t.value.trim().replace(/[\t\n]+/g," ")),t.type!=="definition"&&t.type!=="linkReference"||(e.label=t.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),t.type!=="definition"&&t.type!=="link"&&t.type!=="image"||!t.title||(e.title=t.title.replace(/\\(["')])/g,"$1")),r&&r.type==="root"&&r.children.length>0&&(r.children[0]===t||t4(r.children[0])&&r.children[1]===t)&&t.type==="html"&&r4(t.value)?null:void 0)}XC.ignoredProperties=n4;var u4=XC,vf=G.getLast,a4=G.getMinNotPresentContinuousCount,i4=G.getMaxContinuousCount,o4=G.getStringWidth,s4=G.isNonEmptyArray,tn=De.builders,JC=tn.breakParent,YC=tn.join,QC=tn.line,ZC=tn.literalline,eA=tn.markAsRoot,Pr=tn.hardline,yD=tn.softline,l4=tn.ifBreak,c4=tn.fill,Ho=tn.align,p4=tn.indent,yf=tn.group,tA=tn.hardlineWithoutBreakParent,f4=De.utils.normalizeDoc,d4=De.printer.printDocToString,jl=G.replaceEndOfLineWith,h4=KC.insertPragma,D4=mf.locStart,m4=mf.locEnd,g4=$n.getFencedCodeBlockValue,v4=$n.hasGitDiffFriendlyOrderedList,y4=$n.splitText,rA=$n.punctuationPattern,E4=$n.INLINE_NODE_TYPES,C4=$n.INLINE_NODE_WRAPPER_TYPES,nA=$n.isAutolink,uA=new Set(["importExport"]),A4=["heading","tableCell","link","wikiLink"],F4=new Set(["listItem","definition","footnoteDefinition"]);function aA(t,e,r,n){var u=t.getValue(),a=u.checked===null?"":u.checked?"[x] ":"[ ] ";return[a,Nr(t,e,r,{processor:function(o,s){if(s===0&&o.getValue().type!=="list")return Ho(" ".repeat(a.length),r());var l=" ".repeat((c=e.tabWidth-n.length,f=3,c<(p=0)?p:c>f?f:c)),c,p,f;return[l,Ho(l,r())]}})]}function iA(t,e){return function(r,n,u){var a=-1,i=de(n.children),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(s.type===r.type&&u(s)?a++:a=-1,s===r)return a}}catch(l){i.e(l)}finally{i.f()}}(t,e,function(r){return r.ordered===t.ordered})}function oA(t,e){for(var r=Array.isArray(e)?e:[e],n,u=-1;n=t.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function ED(t,e){var r=oA(t,e);return r===-1?null:t.getParentNode(r)}function sA(t,e,r){if(r.proseWrap==="preserve"&&e===`
|
|
249
|
+
`)return Pr;var n=r.proseWrap==="always"&&!ED(t,A4);return e!==""?n?QC:" ":n?yD:""}function b4(t,e,r){var n=[],u=null,a=t.getValue(),i=a.children,o=de(i.entries()),s;try{for(o.s();!(s=o.n()).done;){var l=_e(s.value,2),c=l[0],p=l[1];switch(CD(p)){case"start":u===null&&(u={index:c,offset:p.position.end.offset});break;case"end":u!==null&&(n.push({start:u,end:{index:c,offset:p.position.start.offset}}),u=null)}}}catch(f){o.e(f)}finally{o.f()}return Nr(t,e,r,{processor:function(d,D){if(n.length>0){var v=n[0];if(D===v.start.index)return[i[v.start.index].value,e.originalText.slice(v.start.offset,v.end.offset),i[v.end.index].value];if(v.start.index<D&&D<v.end.index)return!1;if(D===v.end.index)return n.shift(),!1}return r()}})}function Nr(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=n.postprocessor,a=n.processor||function(){return r()},i=t.getValue(),o=[],s;return t.each(function(l,c){var p=l.getValue(),f=a(l,c);if(f!==!1){var d={parts:o,prevNode:s,parentNode:i,options:e};(function(D,v){var y=v.parts.length===0,b=E4.includes(D.type),T=D.type==="html"&&C4.includes(v.parentNode.type);return!y&&!b&&!T})(p,d)&&(o.push(Pr),s&&uA.has(s.type)||(function(D,v){var y=(v.prevNode&&v.prevNode.type)===D.type&&F4.has(D.type),b=v.parentNode.type==="listItem"&&!v.parentNode.loose,T=v.prevNode&&v.prevNode.type==="listItem"&&v.prevNode.loose,S=CD(v.prevNode)==="next",B=D.type==="html"&&v.prevNode&&v.prevNode.type==="html"&&v.prevNode.position.end.line+1===D.position.start.line,w=D.type==="html"&&v.parentNode.type==="listItem"&&v.prevNode&&v.prevNode.type==="paragraph"&&v.prevNode.position.end.line+1===D.position.start.line;return T||!(y||b||S||B||w)}(p,d)||lA(p,d))&&o.push(Pr),lA(p,d)&&o.push(Pr)),o.push(f),s=p}},"children"),u?u(o):o}function S4(t){for(var e=t;s4(e.children);)e=vf(e.children);return e}function CD(t){if(t.type!=="html")return!1;var e=t.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return e!==null&&(e[1]?e[1]:"next")}function lA(t,e){var r=e.prevNode&&e.prevNode.type==="list",n=t.type==="code"&&t.isIndented;return r&&n}function AD(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[" "].concat(Z(Array.isArray(e)?e:[e]));return new RegExp(r.map(function(n){return"\\".concat(n)}).join("|")).test(t)?"<".concat(t,">"):t}function Ef(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t)return"";if(r)return" "+Ef(t,e,!1);if((t=t.replace(/\\(["')])/g,"$1")).includes('"')&&t.includes("'")&&!t.includes(")"))return"(".concat(t,")");var n=t.split("'").length-1,u=t.split('"').length-1,a=n>u?'"':u>n||e.singleQuote?"'":'"';return t=(t=t.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(a,")"),"g"),"\\$1"),"".concat(a).concat(t).concat(a)}var T4={preprocess:e4,print:function(e,r,n){var u=e.getValue();if(function(oe){var Ae=ED(oe,["linkReference","imageReference"]);return Ae&&(Ae.type!=="linkReference"||Ae.referenceType!=="full")}(e))return y4(r.originalText.slice(u.position.start.offset,u.position.end.offset),r).map(function(oe){return oe.type==="word"?oe.value:oe.value===""?"":sA(e,oe.value,r)});switch(u.type){case"front-matter":return r.originalText.slice(u.position.start.offset,u.position.end.offset);case"root":return u.children.length===0?"":[f4(b4(e,r,n)),uA.has(S4(u).type)?"":Pr];case"paragraph":return Nr(e,r,n,{postprocessor:c4});case"sentence":return Nr(e,r,n);case"word":{var a=u.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(rA,")(_+)"),"(_+)(".concat(rA,"|$)")].join("|"),"g"),function(oe,Ae,ze,Oe,We){return(ze?"".concat(Ae).concat(ze):"".concat(Oe).concat(We)).replace(/_/g,"\\_")}),i=function(Ae,ze,Oe){return Ae.type==="sentence"&&Oe===0},o=function(Ae,ze,Oe){return nA(Ae.children[Oe-1])};return a!==u.value&&(e.match(void 0,i,o)||e.match(void 0,i,function(oe,Ae,ze){return oe.type==="emphasis"&&ze===0},o))&&(a=a.replace(/^(\\?[*_])+/,function(oe){return oe.replace(/\\/g,"")})),a}case"whitespace":{var s=e.getParentNode(),l=s.children.indexOf(u),c=s.children[l+1],p=c&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(c.value)?"never":r.proseWrap;return sA(e,u.value,{proseWrap:p})}case"emphasis":{var f;if(nA(u.children[0]))f=r.originalText[u.position.start.offset];else{var d=e.getParentNode(),D=d.children.indexOf(u),v=d.children[D-1],y=d.children[D+1];f=v&&v.type==="sentence"&&v.children.length>0&&vf(v.children).type==="word"&&!vf(v.children).hasTrailingPunctuation||y&&y.type==="sentence"&&y.children.length>0&&y.children[0].type==="word"&&!y.children[0].hasLeadingPunctuation||ED(e,"emphasis")?"*":"_"}return[f,Nr(e,r,n),f]}case"strong":return["**",Nr(e,r,n),"**"];case"delete":return["~~",Nr(e,r,n),"~~"];case"inlineCode":{var b=a4(u.value,"`"),T="`".repeat(b||1),S=b&&!/^\s/.test(u.value)?" ":"";return[T,S,u.value,S,T]}case"wikiLink":{var B="";return B=r.proseWrap==="preserve"?u.value:u.value.replace(/[\t\n]+/g," "),["[[",B,"]]"]}case"link":switch(r.originalText[u.position.start.offset]){case"<":{var w="mailto:";return["<",u.url.startsWith(w)&&r.originalText.slice(u.position.start.offset+1,u.position.start.offset+1+w.length)!==w?u.url.slice(w.length):u.url,">"]}case"[":return["[",Nr(e,r,n),"](",AD(u.url,")"),Ef(u.title,r),")"];default:return r.originalText.slice(u.position.start.offset,u.position.end.offset)}case"image":return[""),Ef(u.title,r),")"];case"blockquote":return["> ",Ho("> ",Nr(e,r,n))];case"heading":return["#".repeat(u.depth)+" ",Nr(e,r,n)];case"code":{if(u.isIndented){var F=" ".repeat(4);return Ho(F,[F].concat(Z(jl(u.value,Pr))))}var P=r.__inJsTemplate?"~":"`",k=P.repeat(Math.max(3,i4(u.value,P)+1));return[k,u.lang||"",u.meta?" "+u.meta:"",Pr].concat(Z(jl(g4(u,r.originalText),Pr)),[Pr,k])}case"html":{var R=e.getParentNode(),W=R.type==="root"&&vf(R.children)===u?u.value.trimEnd():u.value,L=/^<!--[\S\s]*-->$/.test(W);return jl(W,L?Pr:eA(ZC))}case"list":{var j=iA(u,e.getParentNode()),q=v4(u,r);return Nr(e,r,n,{processor:function(Ae,ze){var Oe=function(){var Ke=u.ordered?(ze===0?u.start:q?1:u.start+ze)+(j%2==0?". ":") "):j%2==0?"- ":"* ";return u.isAligned||u.hasIndentedCodeblock?function(ut,qe){var ct=xe();return ut+" ".repeat(ct>=4?0:ct);function xe(){var Te=ut.length%qe.tabWidth;return Te===0?0:qe.tabWidth-Te}}(Ke,r):Ke}(),We=Ae.getValue();return We.children.length===2&&We.children[1].type==="html"&&We.children[0].position.start.column!==We.children[1].position.start.column?[Oe,aA(Ae,r,n,Oe)]:[Oe,Ho(" ".repeat(Oe.length),aA(Ae,r,n,Oe))]}})}case"thematicBreak":{var ae=oA(e,"list");return ae===-1?"---":iA(e.getParentNode(ae),e.getParentNode(ae+1))%2==0?"***":"---"}case"linkReference":return["[",Nr(e,r,n),"]",u.referenceType==="full"?["[",u.identifier,"]"]:u.referenceType==="collapsed"?"[]":""];case"imageReference":switch(u.referenceType){case"full":return["![",u.alt||"","][",u.identifier,"]"];default:return["![",u.alt,"]",u.referenceType==="collapsed"?"[]":""]}case"definition":{var ie=r.proseWrap==="always"?QC:" ";return yf(["[",u.identifier,"]:",p4([ie,AD(u.url),u.title===null?"":[ie,Ef(u.title,r,!1)]])])}case"footnote":return["[^",Nr(e,r,n),"]"];case"footnoteReference":return["[^",u.identifier,"]"];case"footnoteDefinition":{var be=e.getParentNode().children[e.getName()+1],ce=u.children.length===1&&u.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&u.children[0].position.start.line===u.children[0].position.end.line);return["[^",u.identifier,"]: ",ce?Nr(e,r,n):yf([Ho(" ".repeat(4),Nr(e,r,n,{processor:function(Ae,ze){return ze===0?yf([yD,n()]):n()}})),be&&be.type==="footnoteDefinition"?yD:""])]}case"table":return function(oe,Ae,ze){var Oe=oe.getValue(),We=[],Ke=oe.map(function(pt){return pt.map(function(Me,Ve){var at=d4(ze(),Ae).formatted,mt=o4(at);return We[Ve]=Math.max(We[Ve]||3,mt),{text:at,width:mt}},"children")},"children"),ut=ct(!1);if(Ae.proseWrap!=="never")return[JC,ut];var qe=ct(!0);return[JC,yf(l4(qe,ut))];function ct(pt){var Me=[Te(Ke[0],pt),xe(pt)];return Ke.length>1&&Me.push(YC(tA,Ke.slice(1).map(function(Ve){return Te(Ve,pt)}))),YC(tA,Me)}function xe(pt){var Me=We.map(function(Ve,at){var mt=Oe.align[at],Xt=mt==="center"||mt==="left"?":":"-",Sn=mt==="center"||mt==="right"?":":"-",Or=pt?"-":"-".repeat(Ve-2);return"".concat(Xt).concat(Or).concat(Sn)});return"| ".concat(Me.join(" | ")," |")}function Te(pt,Me){var Ve=pt.map(function(at,mt){var Xt=at.text,Sn=at.width;if(Me)return Xt;var Or=We[mt]-Sn,pu=Oe.align[mt],Hn=0;pu==="right"?Hn=Or:pu==="center"&&(Hn=Math.floor(Or/2));var Ea=Or-Hn;return"".concat(" ".repeat(Hn)).concat(Xt).concat(" ".repeat(Ea))});return"| ".concat(Ve.join(" | ")," |")}}(e,r,n);case"tableCell":return Nr(e,r,n);case"break":return/\s/.test(r.originalText[u.position.start.offset])?[" ",eA(ZC)]:["\\",Pr];case"liquidNode":return jl(u.value,Pr);case"importExport":return[u.value,Pr];case"jsx":return u.value;case"math":return["$$",Pr,u.value?[].concat(Z(jl(u.value,Pr)),[Pr]):"","$$"];case"inlineMath":return r.originalText.slice(D4(u),m4(u));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(u.type)))}},embed:YO,massageAstNode:u4,hasPrettierIgnore:function(e){var r=Number(e.getName());return r!==0&&CD(e.getParentNode().children[r-1])==="next"},insertPragma:h4},x4={proseWrap:Iu.proseWrap,singleQuote:Iu.singleQuote},cA={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},B4={languages:[It(cA,function(t){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(Z(t.filenames),["README"]),extensions:t.extensions.filter(function(e){return e!==".mdx"})}}),It(cA,function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}})],options:x4,printers:{mdast:T4},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}},w4=G.isFrontMatterNode,P4=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function pA(t,e){return t.type==="text"||t.type==="comment"||w4(t)||t.type==="yaml"||t.type==="toml"?null:(t.type==="attribute"&&delete e.value,void(t.type==="docType"&&delete e.value))}pA.ignoredProperties=P4;var N4=pA,O4={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},k4=G.inferParserByLanguage,FD=G.isFrontMatterNode,Cf={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},I4=Cf.CSS_DISPLAY_TAGS,L4=Cf.CSS_DISPLAY_DEFAULT,M4=Cf.CSS_WHITE_SPACE_TAGS,j4=Cf.CSS_WHITE_SPACE_DEFAULT,R4=dA(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),_4=function(t,e){for(var r=Object.create(null),n=0,u=Object.entries(t);n<u.length;n++){var a=_e(u[n],2),i=a[0],o=a[1];r[i]=e(o,i)}return r}(O4,dA),U4=new Set([" ",`
|
|
250
|
+
`,"\f","\r"," "]),fA=function(e){return e.replace(/[\t\n\f\r ]+$/,"")},$4=function(e){return e.match(/^[\t\n\f\r ]*/)[0]};function dA(t){var e=Object.create(null),r=de(t),n;try{for(r.s();!(n=r.n()).done;){var u=n.value;e[u]=!0}}catch(a){r.e(a)}finally{r.f()}return e}function hA(t,e){return!(t.type!=="ieConditionalComment"||!t.lastChild||t.lastChild.isSelfClosing||t.lastChild.endSourceSpan)||t.type==="ieConditionalComment"&&!t.complete||!(!Ko(t)||!t.children.some(function(r){return r.type!=="text"&&r.type!=="interpolation"}))||!(!TD(t,e)||Di(t)||t.type==="interpolation")}function DA(t){return t.type==="attribute"||!t.parent||typeof t.index!="number"||t.index===0?!1:function(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}(t.parent.children[t.index-1])}function Di(t){return t.type==="element"&&(t.fullName==="script"||t.fullName==="style"||t.fullName==="svg:style"||Af(t)&&(t.name==="script"||t.name==="style"))}function mA(t){return bD(t).startsWith("pre")}function gA(t){return t.type==="element"&&t.children.length>0&&(["html","head","ul","ol","select"].includes(t.name)||t.cssDisplay.startsWith("table")&&t.cssDisplay!=="table-cell")}function vA(t){return AA(t)||t.type==="element"&&t.fullName==="br"||yA(t)}function yA(t){return EA(t)&&CA(t)}function EA(t){return t.hasLeadingSpaces&&(t.prev?t.prev.sourceSpan.end.line<t.sourceSpan.start.line:t.parent.type==="root"||t.parent.startSourceSpan.end.line<t.sourceSpan.start.line)}function CA(t){return t.hasTrailingSpaces&&(t.next?t.next.sourceSpan.start.line>t.sourceSpan.end.line:t.parent.type==="root"||t.parent.endSourceSpan&&t.parent.endSourceSpan.start.line>t.sourceSpan.end.line)}function AA(t){switch(t.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t.name)}return!1}function FA(t){var e=t.attrMap,r=e.type,n=e.lang;return r==="module"||r==="text/javascript"||r==="text/babel"||r==="application/javascript"||n==="jsx"?"babel":r==="application/x-typescript"||n==="ts"||n==="tsx"?"typescript":r==="text/markdown"?"markdown":r==="text/html"?"html":r&&(r.endsWith("json")||r.endsWith("importmap"))?"json":r==="text/x-handlebars-template"?"glimmer":void 0}function Rl(t){return t==="block"||t==="list-item"||t.startsWith("table")}function Ko(t){return bD(t).startsWith("pre")}function Af(t){return t.type==="element"&&!t.hasExplicitNamespace&&!["html","svg"].includes(t.namespace)}function bD(t){return t.type==="element"&&(!t.namespace||Af(t))&&M4[t.name]||j4}var W4=new Set(["template","style","script"]);function Ff(t,e){return SD(t,e)&&!W4.has(t.fullName)}function SD(t,e){return e.parser==="vue"&&t.type==="element"&&t.parent.type==="root"&&t.fullName.toLowerCase()!=="html"}function TD(t,e){return SD(t,e)&&(Ff(t,e)||t.attrMap.lang&&t.attrMap.lang!=="html")}var lt={HTML_ELEMENT_ATTRIBUTES:_4,HTML_TAGS:R4,htmlTrim:function(e){return function(r){return r.replace(/^[\t\n\f\r ]+/,"")}(fA(e))},htmlTrimPreserveIndentation:function(e){return function(r){return r.replace(/^[\t\f\r ]*?\n/g,"")}(fA(e))},splitByHtmlWhitespace:function(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function(e){var r=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),n=_e(r,4),u=n[1],a=n[2],i=n[3];return{leadingWhitespace:u,trailingWhitespace:i,text:a}},canHaveInterpolation:function(e){return e.children&&!Di(e)},countChars:function(e,r){for(var n=0,u=0;u<e.length;u++)e[u]===r&&n++;return n},countParents:function(e,r){for(var n=0,u=e.stack.length-1;u>=0;u--){var a=e.stack[u];a&&we(a)=="object"&&!Array.isArray(a)&&r(a)&&n++}return n},dedentString:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(n){var u=Number.POSITIVE_INFINITY,a=de(n.split(`
|
|
251
|
+
`)),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.length!==0){if(!U4.has(o[0]))return 0;var s=$4(o).length;o.length!==s&&s<u&&(u=s)}}}catch(l){a.e(l)}finally{a.f()}return u===Number.POSITIVE_INFINITY?0:u}(e);return r===0?e:e.split(`
|
|
252
|
+
`).map(function(n){return n.slice(r)}).join(`
|
|
253
|
+
`)},forceBreakChildren:gA,forceBreakContent:function(e){return gA(e)||e.type==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(function(r){return function(n){return n.children&&n.children.some(function(u){return u.type!=="text"})}(r)}))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&EA(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||CA(e.lastChild))},forceNextEmptyLine:function(e){return FD(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function t(e){return e.lastChild?t(e.lastChild):e},getNodeCssStyleDisplay:function(e,r){if(e.prev&&e.prev.type==="comment"){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var u=!1;if(e.type==="element"&&e.namespace==="svg"){if(!function(a,i){for(var o=a;o;){if(i(o))return!0;o=o.parent}return!1}(e,function(a){return a.fullName==="svg:foreignObject"}))return e.name==="svg"?"inline-block":"block";u=!0}switch(r.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return r.parser==="vue"&&e.parent&&e.parent.type==="root"?"block":e.type==="element"&&(!e.namespace||u||Af(e))&&I4[e.name]||L4}},getNodeCssStyleWhiteSpace:bD,getPrettierIgnoreAttributeCommentData:function(e){var r=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!r&&(!r[1]||r[1].split(/\s+/))},hasPrettierIgnore:DA,inferScriptParser:function(e,r){return e.name!=="script"||e.attrMap.src?e.name==="style"?function(n){var u=n.attrMap.lang;return u&&u!=="postcss"&&u!=="css"?u==="scss"?"scss":u==="less"?"less":void 0:"css"}(e):r&&TD(e,r)?FA(e)||!("src"in e.attrMap)&&k4(e.attrMap.lang,r):void 0:e.attrMap.lang||e.attrMap.type?FA(e):"babel"},isVueCustomBlock:Ff,isVueNonHtmlBlock:TD,isVueSlotAttribute:function(e){var r=e.fullName;return r.charAt(0)==="#"||r==="slot-scope"||r==="v-slot"||r.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,r){var n=e.parent;if(!SD(n,r))return!1;var u=n.fullName,a=e.fullName;return u==="script"&&a==="setup"||u==="style"&&a==="vars"},isDanglingSpaceSensitiveNode:function(e){return r=e.cssDisplay,!(Rl(r)||r==="inline-block"||Di(e));var r},isIndentationSensitiveNode:mA,isLeadingSpaceSensitiveNode:function(e,r){var n=function(){if(FD(e))return!1;if((e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation"))return!0;if(!e.parent||e.parent.cssDisplay==="none")return!1;if(Ko(e.parent))return!0;if(!e.prev&&(e.parent.type==="root"||Ko(e)&&e.parent||Di(e.parent)||Ff(e.parent,r)||(u=e.parent.cssDisplay,Rl(u)||u==="inline-block")))return!1;var u;return!(e.prev&&!function(a){return!Rl(a)}(e.prev.cssDisplay))}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?e.type==="interpolation":n},isPreLikeNode:Ko,isScriptLikeTag:Di,isTextLikeNode:function(e){return e.type==="text"||e.type==="comment"},isTrailingSpaceSensitiveNode:function(e,r){return!FD(e)&&(!(e.type!=="text"&&e.type!=="interpolation"||!e.next||e.next.type!=="text"&&e.next.type!=="interpolation")||!(!e.parent||e.parent.cssDisplay==="none")&&(!!Ko(e.parent)||!(!e.next&&(e.parent.type==="root"||Ko(e)&&e.parent||Di(e.parent)||Ff(e.parent,r)||(n=e.parent.cssDisplay,Rl(n)||n==="inline-block")))&&!(e.next&&!function(u){return!Rl(u)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return Di(e)||e.type==="interpolation"||mA(e)},isUnknownNamespace:Af,preferHardlineAsLeadingSpaces:function(e){return AA(e)||e.prev&&vA(e.prev)||yA(e)},preferHardlineAsTrailingSpaces:vA,shouldNotPrintClosingTag:function(e,r){return!e.isSelfClosing&&!e.endSourceSpan&&(DA(e)||hA(e.parent,r))},shouldPreserveContent:hA,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},xD=Ge(function(t,e){function r(n){return e.$0<=n&&n<=e.$9}/**
|
|
254
|
+
* @license
|
|
255
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
256
|
+
*
|
|
257
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
258
|
+
* found in the LICENSE file at https://angular.io/license
|
|
259
|
+
*/Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(n){return n>=e.$TAB&&n<=e.$SPACE||n==e.$NBSP},e.isDigit=r,e.isAsciiLetter=function(n){return n>=e.$a&&n<=e.$z||n>=e.$A&&n<=e.$Z},e.isAsciiHexDigit=function(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||r(n)},e.isNewLine=function(n){return n===e.$LF||n===e.$CR},e.isOctalDigit=function(n){return e.$0<=n&&n<=e.$7}});/**
|
|
260
|
+
* @license
|
|
261
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
262
|
+
*
|
|
263
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
264
|
+
* found in the LICENSE file at https://angular.io/license
|
|
265
|
+
*/var bA=function(){function t(e,r,n){pe(this,t),this.filePath=e,this.name=r,this.members=n}return fe(t,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),t}(),V4=bA,G4=function(){function t(){pe(this,t),this.cache=new Map}return fe(t,[{key:"get",value:function(r,n,u){var a=(u=u||[]).length?".".concat(u.join(".")):"",i='"'.concat(r,'".').concat(n).concat(a),o=this.cache.get(i);return o||(o=new bA(r,n,u),this.cache.set(i,o)),o}}]),t}(),bf=Object.defineProperty({StaticSymbol:V4,StaticSymbolCache:G4},"__esModule",{value:!0});/**
|
|
266
|
+
* @license
|
|
267
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
268
|
+
*
|
|
269
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
270
|
+
* found in the LICENSE file at https://angular.io/license
|
|
271
|
+
*/var H4=/-+([a-z0-9])/g,K4=function(e){return e.replace(H4,function(){for(var r=arguments.length,n=new Array(r),u=0;u<r;u++)n[u]=arguments[u];return n[1].toUpperCase()})},z4=function(e,r){return SA(e,":",r)},q4=function(e,r){return SA(e,".",r)};function SA(t,e,r){var n=t.indexOf(e);return n==-1?r:[t.slice(0,n).trim(),t.slice(n+1).trim()]}function BD(t,e,r){return Array.isArray(t)?e.visitArray(t,r):function(n){return we(n)=="object"&&n!==null&&Object.getPrototypeOf(n)===ak}(t)?e.visitStringMap(t,r):t==null||typeof t=="string"||typeof t=="number"||typeof t=="boolean"?e.visitPrimitive(t,r):e.visitOther(t,r)}var X4=BD,J4=function(e){return e!=null},Y4=function(e){return e===void 0?null:e},Q4=function(){function t(){pe(this,t)}return fe(t,[{key:"visitArray",value:function(r,n){var u=this;return r.map(function(a){return BD(a,u,n)})}},{key:"visitStringMap",value:function(r,n){var u=this,a={};return Object.keys(r).forEach(function(i){a[i]=BD(r[i],u,n)}),a}},{key:"visitPrimitive",value:function(r,n){return r}},{key:"visitOther",value:function(r,n){return r}}]),t}(),Z4={assertSync:function(e){if(Sf(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,r){return Sf(e)?e.then(r):r(e)},all:function(e){return e.some(Sf)?Promise.all(e):e}},ek=function(e){throw new Error("Internal Error: ".concat(e))},tk=function(e,r){var n=Error(e);return n[TA]=!0,r&&(n[xA]=r),n},TA="ngSyntaxError",xA="ngParseErrors",rk=function(e){return e[TA]},nk=function(e){return e[xA]||[]},uk=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},ak=Object.getPrototypeOf({}),ik=function(e){for(var r="",n=0;n<e.length;n++){var u=e.charCodeAt(n);if(u>=55296&&u<=56319&&e.length>n+1){var a=e.charCodeAt(n+1);a>=56320&&a<=57343&&(n++,u=(u-55296<<10)+a-56320+65536)}u<=127?r+=String.fromCharCode(u):u<=2047?r+=String.fromCharCode(u>>6&31|192,63&u|128):u<=65535?r+=String.fromCharCode(u>>12|224,u>>6&63|128,63&u|128):u<=2097151&&(r+=String.fromCharCode(u>>18&7|240,u>>12&63|128,u>>6&63|128,63&u|128))}return r},ok=function t(e){if(typeof e=="string")return e;if(e instanceof Array)return"["+e.map(t).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);if(!e.toString)return"object";var r=e.toString();if(r==null)return""+r;var n=r.indexOf(`
|
|
272
|
+
`);return n===-1?r:r.substring(0,n)},sk=function(e){return typeof e=="function"&&e.hasOwnProperty("__forward_ref__")?e():e};function Sf(t){return!!t&&typeof t.then=="function"}var lk=Sf,ck=fe(function t(e){pe(this,t),this.full=e;var r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}),pk=typeof window!="undefined"&&window,fk=typeof self!="undefined"&&typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&self,dk=bt!==void 0&&bt||pk||fk,Tf=Object.defineProperty({dashCaseToCamelCase:K4,splitAtColon:z4,splitAtPeriod:q4,visitValue:X4,isDefined:J4,noUndefined:Y4,ValueTransformer:Q4,SyncAsync:Z4,error:ek,syntaxError:tk,isSyntaxError:rk,getParseErrors:nk,escapeRegExp:uk,utf8Encode:ik,stringify:ok,resolveForwardRef:sk,isPromise:lk,Version:ck,global:dk},"__esModule",{value:!0}),wD=Ge(function(t,e){/**
|
|
273
|
+
* @license
|
|
274
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
275
|
+
*
|
|
276
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
277
|
+
* found in the LICENSE file at https://angular.io/license
|
|
278
|
+
*/Object.defineProperty(e,"__esModule",{value:!0});var r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(p){return p.replace(/\W/g,"_")}e.sanitizeIdentifier=n;var u=0;function a(p){if(!p||!p.reference)return null;var f=p.reference;if(f instanceof bf.StaticSymbol)return f.name;if(f.__anonymousType)return f.__anonymousType;var d=Tf.stringify(f);return d.indexOf("(")>=0?(d="anonymous_".concat(u++),f.__anonymousType=d):d=n(d),d}var i;e.identifierName=a,e.identifierModuleUrl=function(p){var f=p.reference;return f instanceof bf.StaticSymbol?f.filePath:"./".concat(Tf.stringify(f))},e.viewClassName=function(p,f){return"View_".concat(a({reference:p}),"_").concat(f)},e.rendererTypeName=function(p){return"RenderType_".concat(a({reference:p}))},e.hostViewClassName=function(p){return"HostView_".concat(a({reference:p}))},e.componentFactoryName=function(p){return"".concat(a({reference:p}),"NgFactory")},function(p){p[p.Pipe=0]="Pipe",p[p.Directive=1]="Directive",p[p.NgModule=2]="NgModule",p[p.Injectable=3]="Injectable"}(i=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(p){return p.value!=null?n(p.value):a(p.identifier)},e.tokenReference=function(p){return p.identifier!=null?p.identifier.reference:p.value},e.CompileStylesheetMetadata=function(){function p(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=f.moduleUrl,D=f.styles,v=f.styleUrls;pe(this,p),this.moduleUrl=d||null,this.styles=s(D),this.styleUrls=s(v)}return fe(p)}(),e.CompileTemplateMetadata=function(){function p(f){var d=f.encapsulation,D=f.template,v=f.templateUrl,y=f.htmlAst,b=f.styles,T=f.styleUrls,S=f.externalStylesheets,B=f.animations,w=f.ngContentSelectors,F=f.interpolation,P=f.isInline,k=f.preserveWhitespaces;if(pe(this,p),this.encapsulation=d,this.template=D,this.templateUrl=v,this.htmlAst=y,this.styles=s(b),this.styleUrls=s(T),this.externalStylesheets=s(S),this.animations=B?l(B):[],this.ngContentSelectors=w||[],F&&F.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=F,this.isInline=P,this.preserveWhitespaces=k}return fe(p,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),p}();var o=function(){function p(f){var d=f.isHost,D=f.type,v=f.isComponent,y=f.selector,b=f.exportAs,T=f.changeDetection,S=f.inputs,B=f.outputs,w=f.hostListeners,F=f.hostProperties,P=f.hostAttributes,k=f.providers,R=f.viewProviders,W=f.queries,L=f.guards,j=f.viewQueries,q=f.entryComponents,ae=f.template,ie=f.componentViewType,be=f.rendererType,ce=f.componentFactory;pe(this,p),this.isHost=!!d,this.type=D,this.isComponent=v,this.selector=y,this.exportAs=b,this.changeDetection=T,this.inputs=S,this.outputs=B,this.hostListeners=w,this.hostProperties=F,this.hostAttributes=P,this.providers=s(k),this.viewProviders=s(R),this.queries=s(W),this.guards=L,this.viewQueries=s(j),this.entryComponents=s(q),this.template=ae,this.componentViewType=ie,this.rendererType=be,this.componentFactory=ce}return fe(p,[{key:"toSummary",value:function(){return{summaryKind:i.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(d){var D=d.isHost,v=d.type,y=d.isComponent,b=d.selector,T=d.exportAs,S=d.changeDetection,B=d.inputs,w=d.outputs,F=d.host,P=d.providers,k=d.viewProviders,R=d.queries,W=d.guards,L=d.viewQueries,j=d.entryComponents,q=d.template,ae=d.componentViewType,ie=d.rendererType,be=d.componentFactory,ce={},oe={},Ae={};F!=null&&Object.keys(F).forEach(function(We){var Ke=F[We],ut=We.match(r);ut===null?Ae[We]=Ke:ut[1]!=null?oe[ut[1]]=Ke:ut[2]!=null&&(ce[ut[2]]=Ke)});var ze={};B!=null&&B.forEach(function(We){var Ke=Tf.splitAtColon(We,[We,We]);ze[Ke[0]]=Ke[1]});var Oe={};return w!=null&&w.forEach(function(We){var Ke=Tf.splitAtColon(We,[We,We]);Oe[Ke[0]]=Ke[1]}),new p({isHost:D,type:v,isComponent:!!y,selector:b,exportAs:T,changeDetection:S,inputs:ze,outputs:Oe,hostListeners:ce,hostProperties:oe,hostAttributes:Ae,providers:P,viewProviders:k,queries:R,guards:W,viewQueries:L,entryComponents:j,template:q,componentViewType:ae,rendererType:ie,componentFactory:be})}}]),p}();e.CompileDirectiveMetadata=o,e.CompilePipeMetadata=function(){function p(f){var d=f.type,D=f.name,v=f.pure;pe(this,p),this.type=d,this.name=D,this.pure=!!v}return fe(p,[{key:"toSummary",value:function(){return{summaryKind:i.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),p}(),e.CompileShallowModuleMetadata=function(){function p(){pe(this,p)}return fe(p)}(),e.CompileNgModuleMetadata=function(){function p(f){var d=f.type,D=f.providers,v=f.declaredDirectives,y=f.exportedDirectives,b=f.declaredPipes,T=f.exportedPipes,S=f.entryComponents,B=f.bootstrapComponents,w=f.importedModules,F=f.exportedModules,P=f.schemas,k=f.transitiveModule,R=f.id;pe(this,p),this.type=d||null,this.declaredDirectives=s(v),this.exportedDirectives=s(y),this.declaredPipes=s(b),this.exportedPipes=s(T),this.providers=s(D),this.entryComponents=s(S),this.bootstrapComponents=s(B),this.importedModules=s(w),this.exportedModules=s(F),this.schemas=s(P),this.id=R||null,this.transitiveModule=k||null}return fe(p,[{key:"toSummary",value:function(){var d=this.transitiveModule;return{summaryKind:i.NgModule,type:this.type,entryComponents:d.entryComponents,providers:d.providers,modules:d.modules,exportedDirectives:d.exportedDirectives,exportedPipes:d.exportedPipes}}}]),p}();function s(p){return p||[]}e.TransitiveCompileNgModuleMetadata=function(){function p(){pe(this,p),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return fe(p,[{key:"addProvider",value:function(d,D){this.providers.push({provider:d,module:D})}},{key:"addDirective",value:function(d){this.directivesSet.has(d.reference)||(this.directivesSet.add(d.reference),this.directives.push(d))}},{key:"addExportedDirective",value:function(d){this.exportedDirectivesSet.has(d.reference)||(this.exportedDirectivesSet.add(d.reference),this.exportedDirectives.push(d))}},{key:"addPipe",value:function(d){this.pipesSet.has(d.reference)||(this.pipesSet.add(d.reference),this.pipes.push(d))}},{key:"addExportedPipe",value:function(d){this.exportedPipesSet.has(d.reference)||(this.exportedPipesSet.add(d.reference),this.exportedPipes.push(d))}},{key:"addModule",value:function(d){this.modulesSet.has(d.reference)||(this.modulesSet.add(d.reference),this.modules.push(d))}},{key:"addEntryComponent",value:function(d){this.entryComponentsSet.has(d.componentType)||(this.entryComponentsSet.add(d.componentType),this.entryComponents.push(d))}}]),p}();function l(p){return p.reduce(function(f,d){var D=Array.isArray(d)?l(d):d;return f.concat(D)},[])}function c(p){return p.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=function(){function p(f,d){var D=d.useClass,v=d.useValue,y=d.useExisting,b=d.useFactory,T=d.deps,S=d.multi;pe(this,p),this.token=f,this.useClass=D||null,this.useValue=v,this.useExisting=y,this.useFactory=b||null,this.dependencies=T||null,this.multi=!!S}return fe(p)}(),e.flatten=l,e.templateSourceUrl=function(p,f,d){var D;return D=d.isInline?f.type.reference instanceof bf.StaticSymbol?"".concat(f.type.reference.filePath,".").concat(f.type.reference.name,".html"):"".concat(a(p),"/").concat(a(f.type),".html"):d.templateUrl,f.type.reference instanceof bf.StaticSymbol?D:c(D)},e.sharedStylesheetJitUrl=function(p,f){var d=p.moduleUrl.split(/\/\\/g),D=d[d.length-1];return c("css/".concat(f).concat(D,".ngstyle.js"))},e.ngModuleJitUrl=function(p){return c("".concat(a(p.type),"/module.ngfactory.js"))},e.templateJitUrl=function(p,f){return c("".concat(a(p),"/").concat(a(f.type),".ngfactory.js"))}}),hk=Ge(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});/**
|
|
279
|
+
* @license
|
|
280
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
281
|
+
*
|
|
282
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
283
|
+
* found in the LICENSE file at https://angular.io/license
|
|
284
|
+
*/var r=function(){function i(o,s,l,c){pe(this,i),this.file=o,this.offset=s,this.line=l,this.col=c}return fe(i,[{key:"toString",value:function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(s){for(var l=this.file.content,c=l.length,p=this.offset,f=this.line,d=this.col;p>0&&s<0;)if(p--,s++,l.charCodeAt(p)==xD.$LF){f--;var D=l.substr(0,p-1).lastIndexOf(String.fromCharCode(xD.$LF));d=D>0?p-D:p}else d--;for(;p<c&&s>0;){var v=l.charCodeAt(p);p++,s--,v==xD.$LF?(f++,d=0):d++}return new i(this.file,p,f,d)}},{key:"getContext",value:function(s,l){var c=this.file.content,p=this.offset;if(p!=null){p>c.length-1&&(p=c.length-1);for(var f=p,d=0,D=0;d<s&&p>0&&(p--,d++,c[p]!=`
|
|
285
|
+
`||++D!=l););for(d=0,D=0;d<s&&f<c.length-1&&(f++,d++,c[f]!=`
|
|
286
|
+
`||++D!=l););return{before:c.substring(p,this.offset),after:c.substring(this.offset,f+1)}}return null}}]),i}();e.ParseLocation=r;var n=fe(function i(o,s){pe(this,i),this.content=o,this.url=s});e.ParseSourceFile=n;var u=function(){function i(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;pe(this,i),this.start=o,this.end=s,this.details=l}return fe(i,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),i}(),a;e.ParseSourceSpan=u,e.EMPTY_PARSE_LOCATION=new r(new n("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new u(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(i){i[i.WARNING=0]="WARNING",i[i.ERROR=1]="ERROR"}(a=e.ParseErrorLevel||(e.ParseErrorLevel={})),e.ParseError=function(){function i(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ERROR;pe(this,i),this.span=o,this.msg=s,this.level=l}return fe(i,[{key:"contextualMessage",value:function(){var s=this.span.start.getContext(100,3);return s?"".concat(this.msg,' ("').concat(s.before,"[").concat(a[this.level]," ->]").concat(s.after,'")'):this.msg}},{key:"toString",value:function(){var s=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(s)}}]),i}(),e.typeSourceSpan=function(i,o){var s=wD.identifierModuleUrl(o),l=s!=null?"in ".concat(i," ").concat(wD.identifierName(o)," in ").concat(s):"in ".concat(i," ").concat(wD.identifierName(o)),c=new n("",l);return new u(new r(c,-1,-1,-1),new r(c,-1,-1,-1))},e.r3JitTypeSourceSpan=function(i,o,s){var l="in ".concat(i," ").concat(o," in ").concat(s),c=new n("",l);return new u(new r(c,-1,-1,-1),new r(c,-1,-1,-1))}}),ga=hk.ParseSourceSpan,Dk=lt.htmlTrim,mk=lt.getLeadingAndTrailingHtmlWhitespace,gk=lt.hasHtmlWhitespace,vk=lt.canHaveInterpolation,yk=lt.getNodeCssStyleDisplay,Ek=lt.isDanglingSpaceSensitiveNode,Ck=lt.isIndentationSensitiveNode,Ak=lt.isLeadingSpaceSensitiveNode,Fk=lt.isTrailingSpaceSensitiveNode,bk=lt.isWhitespaceSensitiveNode,Sk=[function(t){return t.map(function(e){if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===`
|
|
287
|
+
`){var r=am(e.children),n=r[0],u=r.slice(1);return e.clone({children:n.value.length===1?u:[n.clone({value:n.value.slice(1)})].concat(Z(u))})}return e})},function(t){var e=function(n){return n.type==="element"&&n.prev&&n.prev.type==="ieConditionalStartComment"&&n.prev.sourceSpan.end.offset===n.startSourceSpan.start.offset&&n.firstChild&&n.firstChild.type==="ieConditionalEndComment"&&n.firstChild.sourceSpan.start.offset===n.startSourceSpan.end.offset};return t.map(function(r){if(r.children){var n=r.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a<r.children.length;a++){var i=r.children[a];if(!n[a+1])if(n[a]){var o=i.prev,s=i.firstChild,l=new ga(o.sourceSpan.start,s.sourceSpan.end),c=new ga(l.start,i.sourceSpan.end);u.push(i.clone({condition:o.condition,sourceSpan:c,startSourceSpan:l,children:i.children.slice(1)}))}else u.push(i)}return r.clone({children:u})}}return r})},function(t){return function(e,r,n){return e.map(function(u){if(u.children){var a=u.children.map(r);if(a.some(Boolean)){for(var i=[],o=0;o<u.children.length;o++){var s=u.children[o];if(s.type!=="text"&&!a[o]){i.push(s);continue}var l=s.type==="text"?s:s.clone({type:"text",value:n(s)});if(i.length===0||Ot(i).type!=="text"){i.push(l);continue}var c=i.pop();i.push(c.clone({value:c.value+l.value,sourceSpan:new ga(c.sourceSpan.start,l.sourceSpan.end)}))}return u.clone({children:i})}}return u})}(t,function(e){return e.type==="cdata"},function(e){return"<![CDATA[".concat(e.value,"]]>")})},function(t,e){if(e.parser==="html")return t;var r=/{{([\S\s]+?)}}/g;return t.map(function(n){if(!vk(n))return n;var u=[],a=de(n.children),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.type!=="text"){u.push(o);continue}for(var s=o.sourceSpan.start,l=null,c=o.value.split(r),p=0;p<c.length;p++,s=l){var f=c[p];p%2!=0?(l=s.moveBy(f.length+4),u.push({type:"interpolation",sourceSpan:new ga(s,l),children:f.length===0?[]:[{type:"text",value:f,sourceSpan:new ga(s.moveBy(2),l.moveBy(-2))}]})):(l=s.moveBy(f.length),f.length>0&&u.push({type:"text",value:f,sourceSpan:new ga(s,l)}))}}}catch(d){a.e(d)}finally{a.f()}return n.clone({children:u})})},function(t){var e="whitespace";return t.map(function(r){if(!r.children)return r;if(r.children.length===0||r.children.length===1&&r.children[0].type==="text"&&Dk(r.children[0].value).length===0)return r.clone({children:[],hasDanglingSpaces:r.children.length>0});var n=bk(r),u=Ck(r);return r.clone({isWhitespaceSensitive:n,isIndentationSensitive:u,children:r.children.reduce(function(a,i){if(i.type!=="text"||n)return[].concat(Z(a),[i]);var o=[],s=mk(i.value),l=s.leadingWhitespace,c=s.text,p=s.trailingWhitespace;return l&&o.push({type:e}),c&&o.push({type:"text",value:c,sourceSpan:new ga(i.sourceSpan.start.moveBy(l.length),i.sourceSpan.end.moveBy(-p.length))}),p&&o.push({type:e}),[].concat(Z(a),o)},[]).reduce(function(a,i,o,s){if(i.type===e)return a;var l=o!==0&&s[o-1].type===e,c=o!==s.length-1&&s[o+1].type===e;return[].concat(Z(a),[Object.assign({},i,{hasLeadingSpaces:l,hasTrailingSpaces:c})])},[])})})},function(t,e){return t.map(function(r){return Object.assign(r,{cssDisplay:yk(r,e)})})},function(t){return t.map(function(e){return Object.assign(e,{isSelfClosing:!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})})},function(t,e){return t.map(function(r){return r.type!=="element"?r:Object.assign(r,{hasHtmComponentClosingTag:r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset))})})},function(t,e){return t.map(function(r){return r.children?r.children.length===0?r.clone({isDanglingSpaceSensitive:Ek(r)}):r.clone({children:r.children.map(function(n){return Object.assign({},n,{isLeadingSpaceSensitive:Ak(n,e),isTrailingSpaceSensitive:Fk(n,e)})}).map(function(n,u,a){return Object.assign({},n,{isLeadingSpaceSensitive:(u===0||a[u-1].isTrailingSpaceSensitive)&&n.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(u===a.length-1||a[u+1].isLeadingSpaceSensitive)&&n.isTrailingSpaceSensitive})})}):r})},function(t){var e=function(n){return n.type==="element"&&n.attrs.length===0&&n.children.length===1&&n.firstChild.type==="text"&&!gk(n.children[0].value)&&!n.firstChild.hasLeadingSpaces&&!n.firstChild.hasTrailingSpaces&&n.isLeadingSpaceSensitive&&!n.hasLeadingSpaces&&n.isTrailingSpaceSensitive&&!n.hasTrailingSpaces&&n.prev&&n.prev.type==="text"&&n.next&&n.next.type==="text"};return t.map(function(r){if(r.children){var n=r.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a<r.children.length;a++){var i=r.children[a];if(n[a]){var o=u.pop(),s=r.children[++a],l=s.isTrailingSpaceSensitive,c=s.hasTrailingSpaces;u.push(o.clone({value:o.value+"<".concat(i.rawName,">")+i.firstChild.value+"</".concat(i.rawName,">")+s.value,sourceSpan:new ga(o.sourceSpan.start,s.sourceSpan.end),isTrailingSpaceSensitive:l,hasTrailingSpaces:c}))}else u.push(i)}return r.clone({children:u})}}return r})}],Tk=function(e,r){var n=de(Sk),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;e=a(e,r)}}catch(i){n.e(i)}finally{n.f()}return e},xk={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return`<!-- @format -->
|
|
288
|
+
|
|
289
|
+
`+e.replace(/^\s*\n/,"")}},BA={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}},Bk=De.builders.group,PD={isVueEventBindingExpression:function(e){var r=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(r)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(r)},printVueFor:function(e,r){var n=function(o){var s=/([^]*?)\s+(in|of)\s+([^]*)/,l=/,([^,\]}]*)(?:,([^,\]}]*))?$/,c=/^\(|\)$/g,p=o.match(s);if(!!p){var f={};f.for=p[3].trim();var d=p[1].trim().replace(c,""),D=d.match(l);return D?(f.alias=d.replace(l,""),f.iterator1=D[1].trim(),D[2]&&(f.iterator2=D[2].trim())):f.alias=d,{left:"".concat([f.alias,f.iterator1,f.iterator2].filter(Boolean).join(",")),operator:p[2],right:f.for}}}(e),u=n.left,a=n.operator,i=n.right;return[Bk(r("function _(".concat(u,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",a," ",r(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,r){return r("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},wk=Ge(function(t){(function(e,r){t.exports?t.exports=r():e.parseSrcset=r()})(bt,function(){return function(e,r){var n=r&&r.logger||console;function u(F){return F===" "||F===" "||F===`
|
|
290
|
+
`||F==="\f"||F==="\r"}function a(F){var P,k=F.exec(e.substring(T));if(k)return P=k[0],T+=P.length,P}for(var i,o,s,l,c,p=e.length,f=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,v=/[,]+$/,y=/^\d+$/,b=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,T=0,S=[];;){if(a(d),T>=p)return S;i=a(D),o=[],i.slice(-1)===","?(i=i.replace(v,""),w()):B()}function B(){for(a(f),s="",l="in descriptor";;){if(c=e.charAt(T),l==="in descriptor")if(u(c))s&&(o.push(s),s="",l="after descriptor");else{if(c===",")return T+=1,s&&o.push(s),void w();if(c==="(")s+=c,l="in parens";else{if(c==="")return s&&o.push(s),void w();s+=c}}else if(l==="in parens")if(c===")")s+=c,l="in descriptor";else{if(c==="")return o.push(s),void w();s+=c}else if(l==="after descriptor"&&!u(c)){if(c==="")return void w();l="in descriptor",T-=1}T+=1}}function w(){var F,P,k,R,W,L,j,q,ae,ie=!1,be={};for(R=0;R<o.length;R++)L=(W=o[R])[W.length-1],j=W.substring(0,W.length-1),q=parseInt(j,10),ae=parseFloat(j),y.test(j)&&L==="w"?((F||P)&&(ie=!0),q===0?ie=!0:F=q):b.test(j)&&L==="x"?((F||P||k)&&(ie=!0),ae<0?ie=!0:P=ae):y.test(j)&&L==="h"?((k||P)&&(ie=!0),q===0?ie=!0:k=q):ie=!0;ie?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+W+"'."):(be.url=i,F&&(be.w=F),P&&(be.d=P),k&&(be.h=k),S.push(be))}}})}),zo=De.builders,Pk=zo.group,Nk=zo.ifBreak,Ok=zo.indent,ND=zo.join,OD=zo.line,wA=zo.softline,kk=["__","--","_","-"];function Ik(t){var e=t.search(/[^_-]/);if(e!==-1){var r=de(kk),n;try{for(r.s();!(n=r.n()).done;){var u=n.value,a=t.indexOf(u,e);if(a!==-1)return t.slice(0,a)}}catch(i){r.e(i)}finally{r.f()}}return t}var PA={printImgSrcset:function(e){var r=wk(e,{logger:{error:function(D){throw new Error(D)}}}),n=r.some(function(d){var D=d.w;return D}),u=r.some(function(d){var D=d.h;return D});if(n+u+r.some(function(d){var D=d.d;return D})>1)throw new Error("Mixed descriptor in srcset is not supported");var a=n?"w":u?"h":"d",i=n?"w":u?"h":"x",o=function(D){return Math.max.apply(Math,Z(D))},s=r.map(function(d){return d.url}),l=o(s.map(function(d){return d.length})),c=r.map(function(d){return d[a]}).map(function(d){return d?d.toString():""}),p=c.map(function(d){var D=d.indexOf(".");return D===-1?d.length:D}),f=o(p);return ND([",",OD],s.map(function(d,D){var v=[d],y=c[D];if(y){var b=l-d.length+1,T=f-p[D],S=" ".repeat(b+T);v.push(Nk(S," "),y+i)}return v}))},printClassNames:function(e){for(var r=e.trim().split(/\s+/),n=[],u,a=0;a<r.length;a++){var i=Ik(r[a]);i!==u&&i!==r[a-1]&&n.push([]),Ot(n).push(r[a]),u=i}return[Ok([wA,ND(OD,n.map(function(o){return Pk(ND(OD,o))}))]),wA]}},An=De.builders,kD=An.breakParent,Lk=An.dedentToRoot,NA=An.fill,rn=An.group,qt=An.hardline,ID=An.ifBreak,Mk=An.indentIfBreak,_l=An.indent,OA=An.join,nn=An.line,cu=An.literalline,Wn=An.softline,xf=De.utils,jk=xf.mapDoc,Rk=xf.cleanDoc,kA=xf.getDocParts,_k=xf.isConcat,Vn=G.replaceEndOfLineWith,Uk=G.isNonEmptyArray,IA=lt.htmlTrimPreserveIndentation,$k=lt.splitByHtmlWhitespace,LA=lt.countChars,Wk=lt.countParents,MA=lt.dedentString,Vk=lt.forceBreakChildren,Gk=lt.forceBreakContent,Bf=lt.forceNextEmptyLine,jA=lt.getLastDescendant,Hk=lt.getPrettierIgnoreAttributeCommentData,RA=lt.hasPrettierIgnore,_A=lt.inferScriptParser,Kk=lt.isVueCustomBlock,zk=lt.isVueNonHtmlBlock,qk=lt.isVueSlotAttribute,Xk=lt.isVueSfcBindingsAttribute,LD=lt.isScriptLikeTag,Fn=lt.isTextLikeNode,MD=lt.preferHardlineAsLeadingSpaces,UA=lt.shouldNotPrintClosingTag,Jk=lt.shouldPreserveContent,$A=lt.unescapeQuoteEntities,Yk=lt.isPreLikeNode,Qk=xk.insertPragma,jD=BA.locStart,RD=BA.locEnd,Zk=PD.printVueFor,eI=PD.printVueBindings,tI=PD.isVueEventBindingExpression,rI=PA.printImgSrcset,nI=PA.printClassNames;function WA(t,e,r){var n=t.getValue();if(Vk(n))return[kD].concat(Z(t.map(function(o){var s=o.getValue(),l=s.prev?i(s.prev,s):"";return[l?[l,Bf(s.prev)?qt:""]:"",a(o)]},"children")));var u=n.children.map(function(){return Symbol("")});return t.map(function(o,s){var l=o.getValue();if(Fn(l)){if(l.prev&&Fn(l.prev)){var c=i(l.prev,l);if(c)return Bf(l.prev)?[qt,qt,a(o)]:[c,a(o)]}return a(o)}var p=[],f=[],d=[],D=[],v=l.prev?i(l.prev,l):"",y=l.next?i(l,l.next):"";return v&&(Bf(l.prev)?p.push(qt,qt):v===qt?p.push(qt):Fn(l.prev)?f.push(v):f.push(ID("",Wn,{groupId:u[s-1]}))),y&&(Bf(l)?Fn(l.next)&&D.push(qt,qt):y===qt?Fn(l.next)&&D.push(qt):d.push(y)),[].concat(p,[rn([].concat(f,[rn([a(o)].concat(d),{id:u[s]})]))],D)},"children");function a(o){var s=o.getValue();return RA(s)?[gi(s,e)].concat(Z(Vn(e.originalText.slice(jD(s)+(s.prev&&Nf(s.prev)?$D(s).length:0),RD(s)-(s.next&&mi(s.next)?Wl(s,e).length:0)),cu)),[vi(s,e)]):r()}function i(o,s){return Fn(o)&&Fn(s)?o.isTrailingSpaceSensitive?o.hasTrailingSpaces?MD(s)?qt:nn:"":MD(s)?qt:Wn:Nf(o)&&(RA(s)||s.firstChild||s.isSelfClosing||s.type==="element"&&s.attrs.length>0)||o.type==="element"&&o.isSelfClosing&&mi(s)?"":!s.isLeadingSpaceSensitive||MD(s)||mi(s)&&o.lastChild&&$l(o.lastChild)&&o.lastChild.lastChild&&$l(o.lastChild.lastChild)?qt:s.hasLeadingSpaces?nn:Wn}}function VA(t,e){var r=t.startSourceSpan.end.offset;t.firstChild&&Of(t.firstChild)&&(r-=WD(t).length);var n=t.endSourceSpan.start.offset;return t.lastChild&&$l(t.lastChild)?n+=VD(t,e).length:Ul(t)&&(n-=Wl(t.lastChild,e).length),e.originalText.slice(r,n)}function uI(t,e,r){var n=t.getValue();if(!Uk(n.attrs))return n.isSelfClosing?" ":"";var u=n.prev&&n.prev.type==="comment"&&Hk(n.prev.value),a=typeof u=="boolean"?function(){return u}:Array.isArray(u)?function(l){return u.includes(l.rawName)}:function(){return!1},i=t.map(function(l){var c=l.getValue();return a(c)?Vn(e.originalText.slice(jD(c),RD(c)),cu):r()},"attrs"),o=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,s=[_l([o?" ":nn,OA(nn,i)])];return n.firstChild&&Of(n.firstChild)||n.isSelfClosing&&Ul(n.parent)||o?s.push(n.isSelfClosing?" ":""):s.push(n.isSelfClosing?nn:Wn),s}function _D(t,e,r){var n=t.getValue();return[wf(n,e),uI(t,e,r),n.isSelfClosing?"":aI(n)]}function wf(t,e){return t.prev&&Nf(t.prev)?"":[gi(t,e),$D(t)]}function aI(t){return t.firstChild&&Of(t.firstChild)?"":WD(t)}function UD(t,e){return[t.isSelfClosing?"":iI(t,e),Pf(t,e)]}function iI(t,e){return t.lastChild&&$l(t.lastChild)?"":[oI(t,e),VD(t,e)]}function Pf(t,e){return(t.next?mi(t.next):Ul(t.parent))?"":[Wl(t,e),vi(t,e)]}function Nf(t){return t.next&&!Fn(t.next)&&Fn(t)&&t.isTrailingSpaceSensitive&&!t.hasTrailingSpaces}function Of(t){return!t.prev&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function mi(t){return t.prev&&t.prev.type!=="docType"&&!Fn(t.prev)&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces}function Ul(t){return t.lastChild&&t.lastChild.isTrailingSpaceSensitive&&!t.lastChild.hasTrailingSpaces&&!Fn(jA(t.lastChild))&&!Yk(t)}function $l(t){return!t.next&&!t.hasTrailingSpaces&&t.isTrailingSpaceSensitive&&Fn(jA(t))}function gi(t,e){return Of(t)?WD(t.parent):mi(t)?Wl(t.prev,e):""}function oI(t,e){return Ul(t)?Wl(t.lastChild,e):""}function vi(t,e){return $l(t)?VD(t.parent,e):Nf(t)?$D(t.next):""}function $D(t){switch(t.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(t.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(t.condition)return"<!--[if ".concat(t.condition,"]><!--><").concat(t.rawName);default:return"<".concat(t.rawName)}}function WD(t){switch(Pu(!t.isSelfClosing),t.type){case"ieConditionalComment":return"]>";case"element":if(t.condition)return"><!--<![endif]-->";default:return">"}}function VD(t,e){if(Pu(!t.isSelfClosing),UA(t,e))return"";switch(t.type){case"ieConditionalComment":return"<!";case"element":if(t.hasHtmComponentClosingTag)return"<//";default:return"</".concat(t.rawName)}}function Wl(t,e){if(UA(t,e))return"";switch(t.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(t.isSelfClosing)return"/>";default:return">"}}function GA(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.value;return t.parent.isWhitespaceSensitive?t.parent.isIndentationSensitive?Vn(e,cu):Vn(MA(IA(e)),qt):kA(OA(nn,$k(e)))}var sI={preprocess:Tk,print:function(e,r,n){var u=e.getValue();switch(u.type){case"front-matter":return Vn(u.raw,cu);case"root":return r.__onHtmlRoot&&r.__onHtmlRoot(u),[rn(WA(e,r,n)),qt];case"element":case"ieConditionalComment":{if(Jk(u,r))return[gi(u,r),rn(_D(e,r,n))].concat(Z(Vn(VA(u,r),cu)),Z(UD(u,r)),[vi(u,r)]);var a=u.children.length===1&&u.firstChild.type==="interpolation"&&u.firstChild.isLeadingSpaceSensitive&&!u.firstChild.hasLeadingSpaces&&u.lastChild.isTrailingSpaceSensitive&&!u.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return[rn([rn(_D(e,r,n),{id:i}),u.children.length===0?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?nn:"":[Gk(u)?kD:"",(d=[a?ID(Wn,"",{groupId:i}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?nn:u.firstChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive?Lk(Wn):Wn,WA(e,r,n)],a?Mk(d,{groupId:i}):!LD(u)&&!Kk(u,r)||u.parent.type!=="root"||r.parser!=="vue"||r.vueIndentScriptAndStyle?_l(d):d),(u.next?mi(u.next):Ul(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?ID(Wn,"",{groupId:i}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?nn:(u.lastChild.type==="comment"||u.lastChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(r.tabWidth*Wk(e,function(D){return D.parent&&D.parent.type!=="root"}),"}$")).test(u.lastChild.value)?"":Wn]]),UD(u,r)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[wf(u),Pf(u)];case"interpolation":return[wf(u,r)].concat(Z(e.map(n,"children")),[Pf(u,r)]);case"text":{if(u.parent.type==="interpolation"){var o=/\n[^\S\n]*?$/,s=o.test(u.value),l=s?u.value.replace(o,""):u.value;return[].concat(Z(Vn(l,cu)),[s?qt:""])}var c=Rk([gi(u,r)].concat(Z(GA(u)),[vi(u,r)]));return _k(c)||c.type==="fill"?NA(kA(c)):c}case"docType":return[rn([wf(u,r)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Pf(u,r)];case"comment":return[gi(u,r)].concat(Z(Vn(r.originalText.slice(jD(u),RD(u)),cu)),[vi(u,r)]);case"attribute":{if(u.value===null)return u.rawName;var p=$A(u.value),f=LA(p,"'")<LA(p,'"')?"'":'"';return[u.rawName,"=",f].concat(Z(Vn(f==='"'?p.replace(/"/g,"""):p.replace(/'/g,"'"),cu)),[f])}default:throw new Error("Unexpected node type ".concat(u.type))}var d},insertPragma:Qk,massageAstNode:N4,embed:function(e,r,n,u){var a=e.getValue();switch(a.type){case"element":if(LD(a)||a.type==="interpolation")return;if(!a.isSelfClosing&&zk(a,u)){var i=_A(a,u);if(!i)return;var o=VA(a,u),s=/^\s*$/.test(o),l="";return s||(l=n(IA(o),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=l===""),[gi(a,u),rn(_D(e,u,r)),s?"":qt,l,s?"":qt,UD(a,u),vi(a,u)]}break;case"text":if(LD(a.parent)){var c=_A(a.parent);if(c){var p=c==="markdown"?MA(a.value.replace(/^[^\S\n]*?\n/,"")):a.value,f={parser:c,__embeddedInHtml:!0};if(u.parser==="html"&&c==="babel"){var d="script",D=a.parent.attrMap;D&&(D.type==="module"||D.type==="text/babel"&&D["data-type"]==="module")&&(d="module"),f.__babelSourceType=d}return[kD,gi(a,u),n(p,f,{stripTrailingHardline:!0}),vi(a,u)]}}else if(a.parent.type==="interpolation"){var v={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return u.parser==="angular"?(v.parser="__ng_interpolation",v.trailingComma="none"):u.parser==="vue"?v.parser="__vue_expression":v.parser="__js_expression",[_l([nn,n(a.value,v,{stripTrailingHardline:!0})]),a.parent.next&&mi(a.parent.next)?" ":nn]}break;case"attribute":{if(!a.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.originalText.slice(a.valueSpan.start.offset,a.valueSpan.end.offset)))return[a.rawName,"=",a.value];if(u.parser==="lwc"&&/^{[\S\s]*}$/.test(u.originalText.slice(a.valueSpan.start.offset,a.valueSpan.end.offset)))return[a.rawName,"=",a.value];var y=function(b,T,S){var B=function(Ve){return new RegExp(Ve.join("|")).test(b.fullName)},w=function(){return $A(b.value)},F=!1,P=function(Ve,at){var mt=Ve.type==="NGRoot"?Ve.node.type==="NGMicrosyntax"&&Ve.node.body.length===1&&Ve.node.body[0].type==="NGMicrosyntaxExpression"?Ve.node.body[0].expression:Ve.node:Ve.type==="JsExpressionRoot"?Ve.node:Ve;!mt||mt.type!=="ObjectExpression"&&mt.type!=="ArrayExpression"&&(at.parser!=="__vue_expression"||mt.type!=="TemplateLiteral"&&mt.type!=="StringLiteral")||(F=!0)},k=function(Ve){return rn(Ve)},R=function(Ve){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return rn([_l([Wn,Ve]),at?Wn:""])},W=function(Ve){return F?k(Ve):R(Ve)},L=function(Ve,at){return T(Ve,Object.assign({__onHtmlBindingRoot:P,__embeddedInHtml:!0},at),{stripTrailingHardline:!0})};if(b.fullName==="srcset"&&(b.parent.fullName==="img"||b.parent.fullName==="source"))return R(rI(w()));if(b.fullName==="class"&&!S.parentParser){var j=w();if(!j.includes("{{"))return nI(j)}if(b.fullName==="style"&&!S.parentParser){var q=w();if(!q.includes("{{"))return R(L(q,{parser:"css",__isHTMLStyleAttribute:!0}))}if(S.parser==="vue"){if(b.fullName==="v-for")return Zk(w(),L);if(qk(b)||Xk(b,S))return eI(w(),L);var ae=["^:","^v-bind:"],ie=["^v-"];if(B(["^@","^v-on:"])){var be=w();return W(L(be,{parser:tI(be)?"__js_expression":"__vue_event_binding"}))}if(B(ae))return W(L(w(),{parser:"__vue_expression"}));if(B(ie))return W(L(w(),{parser:"__js_expression"}))}if(S.parser==="angular"){var ce=function(Ve,at){return L(Ve,Object.assign({},at,{trailingComma:"none"}))},oe=["^\\*"],Ae=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ze=["^i18n(-.+)?$"];if(B(["^\\(.+\\)$","^on-"]))return W(ce(w(),{parser:"__ng_action"}));if(B(Ae))return W(ce(w(),{parser:"__ng_binding"}));if(B(ze)){var Oe=w().trim();return R(NA(GA(b,Oe)),!Oe.includes("@@"))}if(B(oe))return W(ce(w(),{parser:"__ng_directive"}));var We=/{{([\S\s]+?)}}/g,Ke=w();if(We.test(Ke)){var ut=[],qe=de(Ke.split(We).entries()),ct;try{for(qe.s();!(ct=qe.n()).done;){var xe=_e(ct.value,2),Te=xe[0],pt=xe[1];if(Te%2==0)ut.push(Vn(pt,cu));else try{ut.push(rn(["{{",_l([nn,ce(pt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),nn,"}}"]))}catch(Me){ut.push("{{",Vn(pt,cu),"}}")}}}catch(Me){qe.e(Me)}finally{qe.f()}return rn(ut)}}return null}(a,function(b,T){return n(b,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},T),{stripTrailingHardline:!0})},u);if(y)return[a.rawName,'="',rn(jk(y,function(b){return typeof b=="string"?b.replace(/"/g,"""):b})),'"'];break}case"front-matter":return qh(a,n)}}},HA="HTML",lI={htmlWhitespaceSensitivity:{since:"1.15.0",category:HA,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:HA,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},GD={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},cI={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},pI={languages:[It(GD,function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}}),It(GD,function(t){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(Z(t.extensions),[".mjml"])}}),It(GD,function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}}),It(cI,function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}})],printers:{html:sI},options:lI,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},KA={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return`# @format
|
|
291
|
+
|
|
292
|
+
`.concat(e)}},fI={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},dI=function(e,r,n,u){if(e.getValue().type==="root"&&u.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(u.filepath))return n(u.originalText,Object.assign({},u,{parser:"json"}))},bn=G.getLast,Vl=G.isNonEmptyArray;function zA(t,e){return t&&typeof t.type=="string"&&(!e||e.includes(t.type))}function qA(t){return t.value.trim()==="prettier-ignore"}function HD(t){return t&&Vl(t.leadingComments)}function XA(t){return t&&Vl(t.middleComments)}function JA(t){return t&&t.indicatorComment}function YA(t){return t&&t.trailingComment}function KD(t){return t&&Vl(t.endComments)}function QA(t){var e=[],r,n=de(t.split(/( +)/g)),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;a!==" "?r===" "?e.push(a):e.push((e.pop()||"")+a):r===void 0&&e.unshift(""),r=a}}catch(i){n.e(i)}finally{n.f()}return r===" "&&e.push((e.pop()||"")+" "),e[0]===""&&(e.shift(),e.unshift(" "+(e.shift()||""))),e}var Dt={getLast:bn,getAncestorCount:function(e,r){for(var n=0,u=e.stack.length-1,a=0;a<u;a++){var i=e.stack[a];zA(i)&&r(i)&&n++}return n},isNode:zA,isEmptyNode:function(e){return!Vl(e.children)&&!function(r){return HD(r)||XA(r)||JA(r)||YA(r)||KD(r)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function t(e,r,n){return r("children"in e?Object.assign({},e,{children:e.children.map(function(u){return t(u,r,e)})}):e,n)},defineShortcut:function(e,r,n){Object.defineProperty(e,r,{get:n,enumerable:!1})},isNextLineEmpty:function(e,r){for(var n=0,u=r.length,a=e.position.end.offset-1;a<u;a++){var i=r[a];if(i===`
|
|
293
|
+
`&&n++,n===1&&/\S/.test(i))return!1;if(n===2)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var r=e.stack.length,n=1;n<r;n++){var u=e.stack[n],a=e.stack[n-1];if(Array.isArray(a)&&typeof u=="number"&&u!==a.length-1)return!1}return!0},getBlockValueLineContents:function(e,r){var n=r.parentIndent,u=r.isLastDescendant,a=r.options,i=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],o=e.indent===null?(s=i.match(/^( *)\S/m))?s[1].length:Number.POSITIVE_INFINITY:e.indent-1+n,s,l=i.split(`
|
|
294
|
+
`).map(function(p){return p.slice(o)});return a.proseWrap==="preserve"||e.type==="blockLiteral"?c(l.map(function(p){return p.length===0?[]:[p]})):c(l.map(function(p){return p.length===0?[]:QA(p)}).reduce(function(p,f,d){return d!==0&&l[d-1].length>0&&f.length>0&&!/^\s/.test(f[0])&&!/^\s|\s$/.test(bn(p))?[].concat(Z(p.slice(0,-1)),[[].concat(Z(bn(p)),Z(f))]):[].concat(Z(p),[f])},[]).map(function(p){return p.reduce(function(f,d){return f.length>0&&/\s$/.test(bn(f))?[].concat(Z(f.slice(0,-1)),[bn(f)+" "+d]):[].concat(Z(f),[d])},[])}).map(function(p){return a.proseWrap==="never"?[p.join(" ")]:p}));function c(p){if(e.chomping==="keep")return bn(p).length===0?p.slice(0,-1):p;for(var f=0,d=p.length-1;d>=0&&p[d].length===0;d--)f++;return f===0?p:f>=2&&!u?p.slice(0,-(f-1)):p.slice(0,-f)}},getFlowScalarLineContents:function(e,r,n){var u=r.split(`
|
|
295
|
+
`).map(function(a,i,o){return i===0&&i===o.length-1?a:i!==0&&i!==o.length-1?a.trim():i===0?a.trimEnd():a.trimStart()});return n.proseWrap==="preserve"?u.map(function(a){return a.length===0?[]:[a]}):u.map(function(a){return a.length===0?[]:QA(a)}).reduce(function(a,i,o){return o!==0&&u[o-1].length>0&&i.length>0&&(e!=="quoteDouble"||!bn(bn(a)).endsWith("\\"))?[].concat(Z(a.slice(0,-1)),[[].concat(Z(bn(a)),Z(i))]):[].concat(Z(a),[i])},[]).map(function(a){return n.proseWrap==="never"?[a.join(" ")]:a})},getLastDescendantNode:function t(e){return Vl(e.children)?t(bn(e.children)):e},hasPrettierIgnore:function(e){var r=e.getValue();if(r.type==="documentBody"){var n=e.getParentNode();return KD(n.head)&&qA(bn(n.head.endComments))}return HD(r)&&qA(bn(r.leadingComments))},hasLeadingComments:HD,hasMiddleComments:XA,hasIndicatorComment:JA,hasTrailingComment:YA,hasEndComments:KD},Gl=Dt.defineShortcut,hI=Dt.mapNode;function DI(t){switch(t.type){case"document":Gl(t,"head",function(){return t.children[0]}),Gl(t,"body",function(){return t.children[1]});break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Gl(t,"content",function(){return t.children[0]});break;case"mappingItem":case"flowMappingItem":Gl(t,"key",function(){return t.children[0]}),Gl(t,"value",function(){return t.children[1]})}return t}var mI=function(e){return hI(e,DI)},ZA=De.builders,gI=ZA.softline,vI=ZA.align,yI=Dt.hasEndComments,EI=Dt.isNextLineEmpty,CI=Dt.isNode,zD=new WeakMap;function eF(t){return yI(t)&&!CI(t,["documentHead","documentBody","flowMapping","flowSequence"])}var yi={alignWithSpaces:function(e,r){return vI(" ".repeat(e),r)},shouldPrintEndComments:eF,printNextEmptyLine:function(e,r){var n=e.getValue(),u=e.stack[0],a;return zD.has(u)?a=zD.get(u):(a=new Set,zD.set(u,a)),a.has(n.position.end.line)||(a.add(n.position.end.line),!EI(n,r)||eF(e.getParentNode()))?"":gI}},Hl=De.builders,AI=Hl.ifBreak,tF=Hl.line,FI=Hl.softline,rF=Hl.hardline,bI=Hl.join,nF=Dt.isEmptyNode,SI=Dt.getLast,TI=Dt.hasEndComments,xI=yi.printNextEmptyLine,BI=yi.alignWithSpaces;function uF(t,e,r){var n=t.getValue(),u=n.type==="flowMapping",a=u?"{":"[",i=u?"}":"]",o=FI;u&&n.children.length>0&&r.bracketSpacing&&(o=tF);var s=SI(n.children),l=s&&s.type==="flowMappingItem"&&nF(s.key)&&nF(s.value);return[a,BI(r.tabWidth,[o,wI(t,e,r),r.trailingComma==="none"?"":AI(","),TI(n)?[rF,bI(rF,t.map(e,"endComments"))]:""]),l?"":o,i]}function wI(t,e,r){var n=t.getValue();return t.map(function(u,a){return[e(),a===n.children.length-1?"":[",",tF,n.children[a].position.start.line!==n.children[a+1].position.start.line?xI(u,r.originalText):""]]},"children")}var aF={printFlowMapping:uF,printFlowSequence:uF},qo=De.builders,PI=qo.conditionalGroup,iF=qo.group,kf=qo.hardline,oF=qo.ifBreak,NI=qo.join,OI=qo.line,If=Dt.hasLeadingComments,sF=Dt.hasMiddleComments,qD=Dt.hasTrailingComment,XD=Dt.hasEndComments,lF=Dt.isNode,cF=Dt.isEmptyNode,pF=Dt.isInlineNode,Ei=yi.alignWithSpaces;function fF(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/m.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(`
|
|
296
|
+
`);case"always":return!/[\n ]/.test(t.value);default:return!1}}var kI=function(e,r,n,u,a){var i=e.key,o=e.value,s=cF(i),l=cF(o);if(s&&l)return": ";var c=u("key"),p=function(T){return T.key.content&&T.key.content.type==="alias"}(e)?" ":"";if(l)return e.type==="flowMappingItem"&&r.type==="flowMapping"?c:e.type!=="mappingItem"||!fF(i.content,a)||qD(i.content)||r.tag&&r.tag.value==="tag:yaml.org,2002:set"?["? ",Ei(2,c)]:[c,p,":"];var f=u("value");if(s)return[": ",Ei(2,f)];if(If(o)||!pF(i.content))return["? ",Ei(2,c),kf,NI("",n.map(u,"value","leadingComments").map(function(T){return[T,kf]})),": ",Ei(2,f)];if(function(T){if(!T)return!0;switch(T.type){case"plain":case"quoteDouble":case"quoteSingle":return T.position.start.line===T.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!If(i.content)&&!sF(i.content)&&!qD(i.content)&&!XD(i)&&!If(o.content)&&!sF(o.content)&&!XD(o)&&fF(o.content,a))return[c,p,": ",f];var d=Symbol("mappingKey"),D=iF([oF("? "),iF(Ei(2,c),{id:d})]),v=[kf,": ",Ei(2,f)],y=[p,":"];If(o.content)||XD(o)&&o.content&&!lF(o.content,["mapping","sequence"])||r.type==="mapping"&&qD(i.content)&&pF(o.content)||lF(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?y.push(kf):o.content&&y.push(OI),y.push(f);var b=Ei(a.tabWidth,y);return PI([[D,oF(v,b,{groupId:d})]])},va=De.builders,II=va.dedent,dF=va.dedentToRoot,LI=va.fill,JD=va.hardline,MI=va.join,jI=va.line,hF=va.literalline,RI=va.markAsRoot,_I=De.utils.getDocParts,UI=Dt.getAncestorCount,$I=Dt.getBlockValueLineContents,WI=Dt.hasIndicatorComment,VI=Dt.isLastDescendantNode,GI=Dt.isNode,DF=yi.alignWithSpaces,HI=function(e,r,n){var u=e.getValue(),a=UI(e,function(v){return GI(v,["sequence","mapping"])}),i=VI(e),o=[u.type==="blockFolded"?">":"|"];u.indent!==null&&o.push(u.indent.toString()),u.chomping!=="clip"&&o.push(u.chomping==="keep"?"+":"-"),WI(u)&&o.push(" ",r("indicatorComment"));var s=$I(u,{parentIndent:a,isLastDescendant:i,options:n}),l=[],c=de(s.entries()),p;try{for(c.s();!(p=c.n()).done;){var f=_e(p.value,2),d=f[0],D=f[1];d===0&&l.push(JD),l.push(LI(_I(MI(jI,D)))),d!==s.length-1?l.push(D.length===0?JD:RI(hF)):u.chomping==="keep"&&i&&l.push(dF(D.length===0?JD:hF))}}catch(v){c.e(v)}finally{c.f()}return u.indent===null?o.push(II(DF(n.tabWidth,l))):o.push(dF(DF(u.indent-1+a,l))),o},ya=De.builders,KI=ya.breakParent,zI=ya.fill,qI=ya.group,Mt=ya.hardline,Gn=ya.join,XI=ya.line,JI=ya.lineSuffix,YI=ya.literalline,QI=De.utils.getDocParts,ZI=G.replaceEndOfLineWith,e7=G.isPreviousLineEmpty,t7=KA.insertPragma,r7=KA.isPragma,YD=fI.locStart,n7=Dt.getFlowScalarLineContents,mF=Dt.getLastDescendantNode,u7=Dt.hasLeadingComments,gF=Dt.hasMiddleComments,Xo=Dt.hasTrailingComment,QD=Dt.hasEndComments,a7=Dt.hasPrettierIgnore,i7=Dt.isLastDescendantNode,Jo=Dt.isNode,o7=Dt.isInlineNode,vF=yi.alignWithSpaces,s7=yi.printNextEmptyLine,l7=yi.shouldPrintEndComments,c7=aF.printFlowMapping,p7=aF.printFlowSequence;function yF(t,e){return Xo(t)||e&&(e.head.children.length>0||QD(e.head))}function Kl(t,e,r){var n=n7(t,e,r);return Gn(Mt,n.map(function(u){return zI(QI(Gn(XI,u)))}))}var f7={preprocess:mI,embed:dI,print:function(e,r,n){var u=e.getValue(),a=[];u.type!=="mappingValue"&&u7(u)&&a.push([Gn(Mt,e.map(n,"leadingComments")),Mt]);var i=u.tag,o=u.anchor;i&&a.push(n("tag")),i&&o&&a.push(" "),o&&a.push(n("anchor"));var s="";Jo(u,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!i7(e)&&(s=s7(e,r.originalText)),(i||o)&&(Jo(u,["sequence","mapping"])&&!gF(u)?a.push(Mt):a.push(" ")),gF(u)&&a.push([u.middleComments.length===1?"":Mt,Gn(Mt,e.map(n,"middleComments")),Mt]);var l=e.getParentNode();return a7(e)?a.push(ZI(r.originalText.slice(u.position.start.offset,u.position.end.offset).trimEnd(),YI)):a.push(qI(function(c,p,f,d,D){switch(c.type){case"root":{var v=c.children,y=[];f.each(function(j,q){var ae=v[q],ie=v[q+1];q!==0&&y.push(Mt),y.push(D()),yF(ae,ie)?(y.push(Mt,"..."),Xo(ae)&&y.push(" ",D("trailingComment"))):ie&&!Xo(ie.head)&&y.push(Mt,"---")},"children");var b=mF(c);return Jo(b,["blockLiteral","blockFolded"])&&b.chomping==="keep"||y.push(Mt),y}case"document":{var T=[];return function(j,q,ae,ie){return ae.children[0]===j&&/---(\s|$)/.test(ie.originalText.slice(YD(j),YD(j)+4))||j.head.children.length>0||QD(j.head)||Xo(j.head)?"head":yF(j,q)?!1:!!q&&"root"}(c,p.children[f.getName()+1],p,d)==="head"&&((c.head.children.length>0||c.head.endComments.length>0)&&T.push(D("head")),Xo(c.head)?T.push(["---"," ",D(["head","trailingComment"])]):T.push("---")),function(j){return j.body.children.length>0||QD(j.body)}(c)&&T.push(D("body")),Gn(Mt,T)}case"documentHead":return Gn(Mt,[].concat(Z(f.map(D,"children")),Z(f.map(D,"endComments"))));case"documentBody":{var S=c.children,B=c.endComments,w="";if(S.length>0&&B.length>0){var F=mF(c);Jo(F,["blockFolded","blockLiteral"])?F.chomping!=="keep"&&(w=[Mt,Mt]):w=Mt}return[Gn(Mt,f.map(D,"children")),w,Gn(Mt,f.map(D,"endComments"))]}case"directive":return["%",Gn(" ",[c.name].concat(Z(c.parameters)))];case"comment":return["#",c.value];case"alias":return["*",c.value];case"tag":return d.originalText.slice(c.position.start.offset,c.position.end.offset);case"anchor":return["&",c.value];case"plain":return Kl(c.type,d.originalText.slice(c.position.start.offset,c.position.end.offset),d);case"quoteDouble":case"quoteSingle":{var P="'",k='"',R=d.originalText.slice(c.position.start.offset+1,c.position.end.offset-1);if(c.type==="quoteSingle"&&R.includes("\\")||c.type==="quoteDouble"&&/\\[^"]/.test(R)){var W=c.type==="quoteDouble"?k:P;return[W,Kl(c.type,R,d),W]}if(R.includes(k))return[P,Kl(c.type,c.type==="quoteDouble"?R.replace(/\\"/g,k).replace(/'/g,P.repeat(2)):R,d),P];if(R.includes(P))return[k,Kl(c.type,c.type==="quoteSingle"?R.replace(/''/g,P):R,d),k];var L=d.singleQuote?P:k;return[L,Kl(c.type,R,d),L]}case"blockFolded":case"blockLiteral":return HI(f,D,d);case"mapping":case"sequence":return Gn(Mt,f.map(D,"children"));case"sequenceItem":return["- ",vF(2,c.content?D("content"):"")];case"mappingKey":case"mappingValue":return c.content?D("content"):"";case"mappingItem":case"flowMappingItem":return kI(c,p,f,D,d);case"flowMapping":return c7(f,D,d);case"flowSequence":return p7(f,D,d);case"flowSequenceItem":return D("content");default:throw new Error("Unexpected node type ".concat(c.type))}}(u,l,e,r,n))),Xo(u)&&!Jo(u,["document","documentHead"])&&a.push(JI([u.type!=="mappingValue"||u.content?" ":"",l.type==="mappingKey"&&e.getParentNode(2).type==="mapping"&&o7(u)?"":KI,n("trailingComment")])),l7(u)&&a.push(vF(u.type==="sequenceItem"?2:0,[Mt,Gn(Mt,e.map(function(c){return[e7(r.originalText,c.getValue(),YD)?Mt:"",n()]},"endComments"))])),a.push(s),a},massageAstNode:function(e,r){if(Jo(r))switch(delete r.position,r.type){case"comment":if(r7(r.value))return null;break;case"quoteDouble":case"quoteSingle":r.type="quote"}},insertPragma:t7},d7={bracketSpacing:Iu.bracketSpacing,singleQuote:Iu.singleQuote,proseWrap:Iu.proseWrap},h7=[TN,EO,MO,WO,B4,pI,{languages:[It({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},function(t){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(Z(t.filenames.filter(function(e){return e!=="yarn.lock"})),[".prettierrc"])}})],printers:{yaml:f7},options:d7,parsers:{get yaml(){return{}.parsers.yaml}}}],D7=dt.version,m7=zi.getSupportInfo,g7=h7.map(function(t){return Pe(t,["parsers"])});function Ci(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),u=0;u<r;u++)n[u]=arguments[u];var a=n[e]||{},i=a.plugins||[];return n[e]=Object.assign({},a,{plugins:[].concat(Z(g7),Z(Array.isArray(i)?i:Object.values(i)))}),t.apply(void 0,n)}}var ZD=Ci(Co.formatWithCursor);return{formatWithCursor:ZD,format:function(e,r){return ZD(e,r).formatted},check:function(e,r){var n=ZD(e,r),u=n.formatted;return u===e},doc:De,getSupportInfo:Ci(m7,0),version:D7,util:mT,__debug:{parse:Ci(Co.parse),formatAST:Ci(Co.formatAST),formatDoc:Ci(Co.formatDoc),printToDoc:Ci(Co.printToDoc),printDocToString:Ci(Co.printDocToString)}}})})(dm);var wb=(0,mu.g)(dm.exports),Pb=yb()(2)(function(ee,ve){return ee===!1?ve:ee==="dedent"||ee===!0?(0,mu.e)(ve):wb.format(ve,{parser:ee,plugins:[Bb],htmlWhitespaceSensitivity:"ignore"}).trim()})},24152:(Ee,je,E)=>{"use strict";var K=E(92930),J=E(40217),Y=E(44052),ne=E(51253),le=E(85259),re=E(55524),ge=E(84617),Qe=E(22754),Ie=E(16145),$e=E(83460),Xe=E(98465).f,Je=E(29275),Re=E(70686),Be=E(48683),ke=E(62730),ft=E(2148),Yt=E(42441),Ft=Yt.enforce,gt=Yt.get,nt=Y.Int8Array,lr=nt&&nt.prototype,Wt=Y.Uint8ClampedArray,Tn=Wt&&Wt.prototype,Qt=nt&&Re(nt),Zt=lr&&Re(lr),ju=Object.prototype,xn=Y.TypeError,Fi=ke("toStringTag"),fu=ft("TYPED_ARRAY_TAG"),Ca="TypedArrayConstructor",kr=K&&!!Be&&ge(Y.opera)!=="Opera",Zo=!1,er,Kr,Kn,un={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},du={BigInt64Array:8,BigUint64Array:8},es=function(Nt){if(!le(Nt))return!1;var Pt=ge(Nt);return Pt==="DataView"||re(un,Pt)||re(du,Pt)},bi=function(st){var Nt=Re(st);if(!!le(Nt)){var Pt=gt(Nt);return Pt&&re(Pt,Ca)?Pt[Ca]:bi(Nt)}},ts=function(st){if(!le(st))return!1;var Nt=ge(st);return re(un,Nt)||re(du,Nt)},Ru=function(st){if(ts(st))return st;throw xn("Target is not a typed array")},rs=function(st){if(ne(st)&&(!Be||Je(Qt,st)))return st;throw xn(Qe(st)+" is not a typed array constructor")},Si=function(st,Nt,Pt,Bn){if(!!J){if(Pt)for(var Ir in un){var an=Y[Ir];if(an&&re(an.prototype,st))try{delete an.prototype[st]}catch(ns){try{an.prototype[st]=Nt}catch(Jl){}}}(!Zt[st]||Pt)&&$e(Zt,st,Pt?Nt:kr&&lr[st]||Nt,Bn)}},_u=function(st,Nt,Pt){var Bn,Ir;if(!!J){if(Be){if(Pt){for(Bn in un)if(Ir=Y[Bn],Ir&&re(Ir,st))try{delete Ir[st]}catch(an){}}if(!Qt[st]||Pt)try{return $e(Qt,st,Pt?Nt:kr&&Qt[st]||Nt)}catch(an){}else return}for(Bn in un)Ir=Y[Bn],Ir&&(!Ir[st]||Pt)&&$e(Ir,st,Nt)}};for(er in un)Kr=Y[er],Kn=Kr&&Kr.prototype,Kn?Ft(Kn)[Ca]=Kr:kr=!1;for(er in du)Kr=Y[er],Kn=Kr&&Kr.prototype,Kn&&(Ft(Kn)[Ca]=Kr);if((!kr||!ne(Qt)||Qt===Function.prototype)&&(Qt=function(){throw xn("Incorrect invocation")},kr))for(er in un)Y[er]&&Be(Y[er],Qt);if((!kr||!Zt||Zt===ju)&&(Zt=Qt.prototype,kr))for(er in un)Y[er]&&Be(Y[er].prototype,Zt);if(kr&&Re(Tn)!==Zt&&Be(Tn,Zt),J&&!re(Zt,Fi)){Zo=!0,Xe(Zt,Fi,{get:function(){return le(this)?this[fu]:void 0}});for(er in un)Y[er]&&Ie(Y[er],fu,er)}Ee.exports={NATIVE_ARRAY_BUFFER_VIEWS:kr,TYPED_ARRAY_TAG:Zo&&fu,aTypedArray:Ru,aTypedArrayConstructor:rs,exportTypedArrayMethod:Si,exportTypedArrayStaticMethod:_u,getTypedArrayConstructor:bi,isView:es,isTypedArray:ts,TypedArray:Qt,TypedArrayPrototype:Zt}},79208:(Ee,je,E)=>{"use strict";var K=E(65060),J=E(30252),Y=E(9803),ne=E(1672),le=Math.min;Ee.exports=[].copyWithin||function(ge,Qe){var Ie=K(this),$e=Y(Ie),Xe=J(ge,$e),Je=J(Qe,$e),Re=arguments.length>2?arguments[2]:void 0,Be=le((Re===void 0?$e:J(Re,$e))-Je,$e-Xe),ke=1;for(Je<Xe&&Xe<Je+Be&&(ke=-1,Je+=Be-1,Xe+=Be-1);Be-- >0;)Je in Ie?Ie[Xe]=Ie[Je]:ne(Ie,Xe),Xe+=ke,Je+=ke;return Ie}},87123:(Ee,je,E)=>{var K=E(9803);Ee.exports=function(J,Y){for(var ne=0,le=K(Y),re=new J(le);le>ne;)re[ne]=Y[ne++];return re}},19448:(Ee,je,E)=>{"use strict";var K=E(66909),J=E(31119),Y=E(56297),ne=E(9803),le=E(27716),re=Math.min,ge=[].lastIndexOf,Qe=!!ge&&1/[1].lastIndexOf(1,-0)<0,Ie=le("lastIndexOf"),$e=Qe||!Ie;Ee.exports=$e?function(Je){if(Qe)return K(ge,this,arguments)||0;var Re=J(this),Be=ne(Re),ke=Be-1;for(arguments.length>1&&(ke=re(ke,Y(arguments[1]))),ke<0&&(ke=Be+ke);ke>=0;ke--)if(ke in Re&&Re[ke]===Je)return ke||0;return-1}:ge},36474:(Ee,je,E)=>{var K=E(95454),J=E(65060),Y=E(93780),ne=E(9803),le=TypeError,re=function(ge){return function(Qe,Ie,$e,Xe){K(Ie);var Je=J(Qe),Re=Y(Je),Be=ne(Je),ke=ge?Be-1:0,ft=ge?-1:1;if($e<2)for(;;){if(ke in Re){Xe=Re[ke],ke+=ft;break}if(ke+=ft,ge?ke<0:Be<=ke)throw le("Reduce of empty array with no initial value")}for(;ge?ke>=0:Be>ke;ke+=ft)ke in Re&&(Xe=Ie(Xe,Re[ke],ke,Je));return Xe}};Ee.exports={left:re(!1),right:re(!0)}},13158:(Ee,je,E)=>{var K=E(84617),J=E(63077),Y=J("".slice);Ee.exports=function(ne){return Y(K(ne),0,3)==="Big"}},17338:(Ee,je,E)=>{var K=E(55524);Ee.exports=function(J){return J!==void 0&&(K(J,"value")||K(J,"writable"))}},58311:(Ee,je,E)=>{"use strict";var K=E(30865).start,J=E(83897);Ee.exports=J("trimStart")?function(){return K(this)}:"".trimStart},29496:(Ee,je,E)=>{var K=E(46943),J=TypeError;Ee.exports=function(Y){var ne=K(Y,"number");if(typeof ne=="number")throw J("Can't convert number to bigint");return BigInt(ne)}},88343:(Ee,je,E)=>{var K=E(2056),J=RangeError;Ee.exports=function(Y,ne){var le=K(Y);if(le%ne)throw J("Wrong offset");return le}},2056:(Ee,je,E)=>{var K=E(56297),J=RangeError;Ee.exports=function(Y){var ne=K(Y);if(ne<0)throw J("The argument can't be less than 0");return ne}},9537:(Ee,je,E)=>{"use strict";var K=E(75260),J=E(44052),Y=E(57070),ne=E(40217),le=E(46811),re=E(24152),ge=E(59822),Qe=E(51545),Ie=E(20716),$e=E(16145),Xe=E(76726),Je=E(19171),Re=E(21218),Be=E(88343),ke=E(9698),ft=E(55524),Yt=E(84617),Ft=E(85259),gt=E(80123),nt=E(32912),lr=E(29275),Wt=E(48683),Tn=E(43072).f,Qt=E(26813),Zt=E(7769).forEach,ju=E(32030),xn=E(98465),Fi=E(35134),fu=E(42441),Ca=E(37428),kr=fu.get,Zo=fu.set,er=fu.enforce,Kr=xn.f,Kn=Fi.f,un=Math.round,du=J.RangeError,es=ge.ArrayBuffer,bi=es.prototype,ts=ge.DataView,Ru=re.NATIVE_ARRAY_BUFFER_VIEWS,rs=re.TYPED_ARRAY_TAG,Si=re.TypedArray,_u=re.TypedArrayPrototype,st=re.aTypedArrayConstructor,Nt=re.isTypedArray,Pt="BYTES_PER_ELEMENT",Bn="Wrong length",Ir=function(Vt,Et){st(Vt);for(var _t=0,yt=Et.length,hu=new Vt(yt);yt>_t;)hu[_t]=Et[_t++];return hu},an=function(Vt,Et){Kr(Vt,Et,{get:function(){return kr(this)[Et]}})},ns=function(Vt){var Et;return lr(bi,Vt)||(Et=Yt(Vt))=="ArrayBuffer"||Et=="SharedArrayBuffer"},Jl=function(Vt,Et){return Nt(Vt)&&!gt(Et)&&Et in Vt&&Xe(+Et)&&Et>=0},Yl=function(Et,_t){return _t=ke(_t),Jl(Et,_t)?Ie(2,Et[_t]):Kn(Et,_t)},Mf=function(Et,_t,yt){return _t=ke(_t),Jl(Et,_t)&&Ft(yt)&&ft(yt,"value")&&!ft(yt,"get")&&!ft(yt,"set")&&!yt.configurable&&(!ft(yt,"writable")||yt.writable)&&(!ft(yt,"enumerable")||yt.enumerable)?(Et[_t]=yt.value,Et):Kr(Et,_t,yt)};ne?(Ru||(Fi.f=Yl,xn.f=Mf,an(_u,"buffer"),an(_u,"byteOffset"),an(_u,"byteLength"),an(_u,"length")),K({target:"Object",stat:!0,forced:!Ru},{getOwnPropertyDescriptor:Yl,defineProperty:Mf}),Ee.exports=function(Vt,Et,_t){var yt=Vt.match(/\d+$/)[0]/8,hu=Vt+(_t?"Clamped":"")+"Array",rm="get"+Vt,jf="set"+Vt,Du=J[hu],Tt=Du,wn=Tt&&Tt.prototype,Ql={},nm=function(cr,vt){var tr=kr(cr);return tr.view[rm](vt*yt+tr.byteOffset,!0)},Rf=function(cr,vt,tr){var zn=kr(cr);_t&&(tr=(tr=un(tr))<0?0:tr>255?255:tr&255),zn.view[jf](vt*yt+zn.byteOffset,tr,!0)},um=function(cr,vt){Kr(cr,vt,{get:function(){return nm(this,vt)},set:function(tr){return Rf(this,vt,tr)},enumerable:!0})};Ru?le&&(Tt=Et(function(cr,vt,tr,zn){return Qe(cr,wn),Ca(function(){return Ft(vt)?ns(vt)?zn!==void 0?new Du(vt,Be(tr,yt),zn):tr!==void 0?new Du(vt,Be(tr,yt)):new Du(vt):Nt(vt)?Ir(Tt,vt):Y(Qt,Tt,vt):new Du(Re(vt))}(),cr,Tt)}),Wt&&Wt(Tt,Si),Zt(Tn(Du),function(cr){cr in Tt||$e(Tt,cr,Du[cr])}),Tt.prototype=wn):(Tt=Et(function(cr,vt,tr,zn){Qe(cr,wn);var Uf=0,Ti=0,us,qn,xi;if(!Ft(vt))xi=Re(vt),qn=xi*yt,us=new es(qn);else if(ns(vt)){us=vt,Ti=Be(tr,yt);var as=vt.byteLength;if(zn===void 0){if(as%yt||(qn=as-Ti,qn<0))throw du(Bn)}else if(qn=Je(zn)*yt,qn+Ti>as)throw du(Bn);xi=qn/yt}else return Nt(vt)?Ir(Tt,vt):Y(Qt,Tt,vt);for(Zo(cr,{buffer:us,byteOffset:Ti,byteLength:qn,length:xi,view:new ts(us)});Uf<xi;)um(cr,Uf++)}),Wt&&Wt(Tt,Si),wn=Tt.prototype=nt(_u)),wn.constructor!==Tt&&$e(wn,"constructor",Tt),er(wn).TypedArrayConstructor=Tt,rs&&$e(wn,rs,hu);var _f=Tt!=Du;Ql[hu]=Tt,K({global:!0,constructor:!0,forced:_f,sham:!Ru},Ql),Pt in Tt||$e(Tt,Pt,yt),Pt in wn||$e(wn,Pt,yt),ju(hu)}):Ee.exports=function(){}},46811:(Ee,je,E)=>{var K=E(44052),J=E(76350),Y=E(42230),ne=E(24152).NATIVE_ARRAY_BUFFER_VIEWS,le=K.ArrayBuffer,re=K.Int8Array;Ee.exports=!ne||!J(function(){re(1)})||!J(function(){new re(-1)})||!Y(function(ge){new re,new re(null),new re(1.5),new re(ge)},!0)||J(function(){return new re(new le(2),1,void 0).length!==1})},5291:(Ee,je,E)=>{var K=E(87123),J=E(18135);Ee.exports=function(Y,ne){return K(J(Y),ne)}},26813:(Ee,je,E)=>{var K=E(25921),J=E(57070),Y=E(54717),ne=E(65060),le=E(9803),re=E(66268),ge=E(23066),Qe=E(20872),Ie=E(13158),$e=E(24152).aTypedArrayConstructor,Xe=E(29496);Ee.exports=function(Re){var Be=Y(this),ke=ne(Re),ft=arguments.length,Yt=ft>1?arguments[1]:void 0,Ft=Yt!==void 0,gt=ge(ke),nt,lr,Wt,Tn,Qt,Zt,ju,xn;if(gt&&!Qe(gt))for(ju=re(ke,gt),xn=ju.next,ke=[];!(Zt=J(xn,ju)).done;)ke.push(Zt.value);for(Ft&&ft>2&&(Yt=K(Yt,arguments[2])),lr=le(ke),Wt=new($e(Be))(lr),Tn=Ie(Wt),nt=0;lr>nt;nt++)Qt=Ft?Yt(ke[nt],nt):ke[nt],Wt[nt]=Tn?Xe(Qt):+Qt;return Wt}},18135:(Ee,je,E)=>{var K=E(24152),J=E(68164),Y=K.aTypedArrayConstructor,ne=K.getTypedArrayConstructor;Ee.exports=function(le){return Y(J(le,ne(le)))}},74769:(Ee,je,E)=>{var K=E(75260),J=E(57070),Y=E(85259),ne=E(76821),le=E(17338),re=E(35134),ge=E(70686);function Qe(Ie,$e){var Xe=arguments.length<3?Ie:arguments[2],Je,Re;if(ne(Ie)===Xe)return Ie[$e];if(Je=re.f(Ie,$e),Je)return le(Je)?Je.value:Je.get===void 0?void 0:J(Je.get,Xe);if(Y(Re=ge(Ie)))return Qe(Re,$e,Xe)}K({target:"Reflect",stat:!0},{get:Qe})},30494:(Ee,je,E)=>{"use strict";var K=E(75260),J=E(80140),Y=E(85046);K({target:"String",proto:!0,forced:Y("anchor")},{anchor:function(le){return J(this,"a","name",le)}})},30182:(Ee,je,E)=>{"use strict";var K=E(75260),J=E(53971).codeAt;K({target:"String",proto:!0},{codePointAt:function(ne){return J(this,ne)}})},49717:(Ee,je,E)=>{var K=E(75260),J=E(63077),Y=E(30252),ne=RangeError,le=String.fromCharCode,re=String.fromCodePoint,ge=J([].join),Qe=!!re&&re.length!=1;K({target:"String",stat:!0,arity:1,forced:Qe},{fromCodePoint:function($e){for(var Xe=[],Je=arguments.length,Re=0,Be;Je>Re;){if(Be=+arguments[Re++],Y(Be,1114111)!==Be)throw ne(Be+" is not a valid code point");Xe[Re]=Be<65536?le(Be):le(((Be-=65536)>>10)+55296,Be%1024+56320)}return ge(Xe,"")}})},19534:(Ee,je,E)=>{var K=E(75260),J=E(58311);K({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==J},{trimLeft:J})},9843:(Ee,je,E)=>{E(19534);var K=E(75260),J=E(58311);K({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==J},{trimStart:J})},13689:(Ee,je,E)=>{"use strict";var K=E(63077),J=E(24152),Y=E(79208),ne=K(Y),le=J.aTypedArray,re=J.exportTypedArrayMethod;re("copyWithin",function(Qe,Ie){return ne(le(this),Qe,Ie,arguments.length>2?arguments[2]:void 0)})},28893:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).every,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("every",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},69870:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(54394),Y=E(29496),ne=E(84617),le=E(57070),re=E(63077),ge=E(76350),Qe=K.aTypedArray,Ie=K.exportTypedArrayMethod,$e=re("".slice),Xe=ge(function(){var Je=0;return new Int8Array(2).fill({valueOf:function(){return Je++}}),Je!==1});Ie("fill",function(Re){var Be=arguments.length;Qe(this);var ke=$e(ne(this),0,3)==="Big"?Y(Re):+Re;return le(J,this,ke,Be>1?arguments[1]:void 0,Be>2?arguments[2]:void 0)},Xe)},60937:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).filter,Y=E(5291),ne=K.aTypedArray,le=K.exportTypedArrayMethod;le("filter",function(ge){var Qe=J(ne(this),ge,arguments.length>1?arguments[1]:void 0);return Y(this,Qe)})},12742:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).findIndex,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("findIndex",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},72758:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).find,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("find",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},91722:(Ee,je,E)=>{var K=E(9537);K("Float32",function(J){return function(ne,le,re){return J(this,ne,le,re)}})},52938:(Ee,je,E)=>{var K=E(9537);K("Float64",function(J){return function(ne,le,re){return J(this,ne,le,re)}})},50375:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).forEach,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("forEach",function(re){J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},81290:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(11568).includes,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("includes",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},90535:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(11568).indexOf,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("indexOf",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},15076:(Ee,je,E)=>{"use strict";var K=E(44052),J=E(76350),Y=E(63077),ne=E(24152),le=E(79797),re=E(62730),ge=re("iterator"),Qe=K.Uint8Array,Ie=Y(le.values),$e=Y(le.keys),Xe=Y(le.entries),Je=ne.aTypedArray,Re=ne.exportTypedArrayMethod,Be=Qe&&Qe.prototype,ke=!J(function(){Be[ge].call([1])}),ft=!!Be&&Be.values&&Be[ge]===Be.values&&Be.values.name==="values",Yt=function(){return Ie(Je(this))};Re("entries",function(){return Xe(Je(this))},ke),Re("keys",function(){return $e(Je(this))},ke),Re("values",Yt,ke||!ft,{name:"values"}),Re(ge,Yt,ke||!ft,{name:"values"})},50691:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(63077),Y=K.aTypedArray,ne=K.exportTypedArrayMethod,le=J([].join);ne("join",function(ge){return le(Y(this),ge)})},52045:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(66909),Y=E(19448),ne=K.aTypedArray,le=K.exportTypedArrayMethod;le("lastIndexOf",function(ge){var Qe=arguments.length;return J(Y,ne(this),Qe>1?[ge,arguments[1]]:[ge])})},12469:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).map,Y=E(18135),ne=K.aTypedArray,le=K.exportTypedArrayMethod;le("map",function(ge){return J(ne(this),ge,arguments.length>1?arguments[1]:void 0,function(Qe,Ie){return new(Y(Qe))(Ie)})})},92267:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(36474).right,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("reduceRight",function(re){var ge=arguments.length;return J(Y(this),re,ge,ge>1?arguments[1]:void 0)})},64805:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(36474).left,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("reduce",function(re){var ge=arguments.length;return J(Y(this),re,ge,ge>1?arguments[1]:void 0)})},45474:(Ee,je,E)=>{"use strict";var K=E(24152),J=K.aTypedArray,Y=K.exportTypedArrayMethod,ne=Math.floor;Y("reverse",function(){for(var re=this,ge=J(re).length,Qe=ne(ge/2),Ie=0,$e;Ie<Qe;)$e=re[Ie],re[Ie++]=re[--ge],re[ge]=$e;return re})},95872:(Ee,je,E)=>{"use strict";var K=E(44052),J=E(57070),Y=E(24152),ne=E(9803),le=E(88343),re=E(65060),ge=E(76350),Qe=K.RangeError,Ie=K.Int8Array,$e=Ie&&Ie.prototype,Xe=$e&&$e.set,Je=Y.aTypedArray,Re=Y.exportTypedArrayMethod,Be=!ge(function(){var ft=new Uint8ClampedArray(2);return J(Xe,ft,{length:1,0:3},1),ft[1]!==3}),ke=Be&&Y.NATIVE_ARRAY_BUFFER_VIEWS&&ge(function(){var ft=new Ie(2);return ft.set(1),ft.set("2",1),ft[0]!==0||ft[1]!==2});Re("set",function(Yt){Je(this);var Ft=le(arguments.length>1?arguments[1]:void 0,1),gt=re(Yt);if(Be)return J(Xe,this,gt,Ft);var nt=this.length,lr=ne(gt),Wt=0;if(lr+Ft>nt)throw Qe("Wrong length");for(;Wt<lr;)this[Ft+Wt]=gt[Wt++]},!Be||ke)},10158:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(18135),Y=E(76350),ne=E(34389),le=K.aTypedArray,re=K.exportTypedArrayMethod,ge=Y(function(){new Int8Array(1).slice()});re("slice",function(Ie,$e){for(var Xe=ne(le(this),Ie,$e),Je=J(this),Re=0,Be=Xe.length,ke=new Je(Be);Be>Re;)ke[Re]=Xe[Re++];return ke},ge)},69059:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(7769).some,Y=K.aTypedArray,ne=K.exportTypedArrayMethod;ne("some",function(re){return J(Y(this),re,arguments.length>1?arguments[1]:void 0)})},75001:(Ee,je,E)=>{"use strict";var K=E(44052),J=E(63077),Y=E(76350),ne=E(95454),le=E(56552),re=E(24152),ge=E(72351),Qe=E(11177),Ie=E(10845),$e=E(96823),Xe=re.aTypedArray,Je=re.exportTypedArrayMethod,Re=K.Uint16Array,Be=Re&&J(Re.prototype.sort),ke=!!Be&&!(Y(function(){Be(new Re(2),null)})&&Y(function(){Be(new Re(2),{})})),ft=!!Be&&!Y(function(){if(Ie)return Ie<74;if(ge)return ge<67;if(Qe)return!0;if($e)return $e<602;var Ft=new Re(516),gt=Array(516),nt,lr;for(nt=0;nt<516;nt++)lr=nt%4,Ft[nt]=515-nt,gt[nt]=nt-2*lr+3;for(Be(Ft,function(Wt,Tn){return(Wt/4|0)-(Tn/4|0)}),nt=0;nt<516;nt++)if(Ft[nt]!==gt[nt])return!0}),Yt=function(Ft){return function(gt,nt){return Ft!==void 0?+Ft(gt,nt)||0:nt!==nt?-1:gt!==gt?1:gt===0&&nt===0?1/gt>0&&1/nt<0?1:-1:gt>nt}};Je("sort",function(gt){return gt!==void 0&&ne(gt),ft?Be(this,gt):le(Xe(this),Yt(gt))},!ft||ke)},34358:(Ee,je,E)=>{"use strict";var K=E(24152),J=E(19171),Y=E(30252),ne=E(18135),le=K.aTypedArray,re=K.exportTypedArrayMethod;re("subarray",function(Qe,Ie){var $e=le(this),Xe=$e.length,Je=Y(Qe,Xe),Re=ne($e);return new Re($e.buffer,$e.byteOffset+Je*$e.BYTES_PER_ELEMENT,J((Ie===void 0?Xe:Y(Ie,Xe))-Je))})},92650:(Ee,je,E)=>{"use strict";var K=E(44052),J=E(66909),Y=E(24152),ne=E(76350),le=E(34389),re=K.Int8Array,ge=Y.aTypedArray,Qe=Y.exportTypedArrayMethod,Ie=[].toLocaleString,$e=!!re&&ne(function(){Ie.call(new re(1))}),Xe=ne(function(){return[1,2].toLocaleString()!=new re([1,2]).toLocaleString()})||!ne(function(){re.prototype.toLocaleString.call([1,2])});Qe("toLocaleString",function(){return J(Ie,$e?le(ge(this)):ge(this),le(arguments))},Xe)},84674:(Ee,je,E)=>{"use strict";var K=E(24152).exportTypedArrayMethod,J=E(76350),Y=E(44052),ne=E(63077),le=Y.Uint8Array,re=le&&le.prototype||{},ge=[].toString,Qe=ne([].join);J(function(){ge.call({})})&&(ge=function(){return Qe(this)});var Ie=re.toString!=ge;K("toString",ge,Ie)},45537:(Ee,je,E)=>{var K=E(9537);K("Uint16",function(J){return function(ne,le,re){return J(this,ne,le,re)}})},43162:(Ee,je,E)=>{var K=E(9537);K("Uint8",function(J){return function(ne,le,re){return J(this,ne,le,re)}})},8514:(Ee,je,E)=>{"use strict";var K=E(75260),J=E(57070);K({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return J(URL.prototype.toString,this)}})}}]);
|