@scbt-ecom/ui 0.147.1 → 0.147.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/configs/tailwindConfigBase.js +1 -1
- package/dist/lib/configs/tailwindConfigBase.js.map +1 -1
- package/dist/lib/configs/tailwindPresets/resetPreset.js +1 -1
- package/dist/lib/configs/tailwindPresets/resetPreset.js.map +1 -1
- package/dist/lib/exports/widget.js +1 -1
- package/dist/lib/shared/hocs/withBoundary/withBoundary.js +1 -1
- package/dist/lib/shared/hocs/withBoundary/withBoundary.js.map +1 -1
- package/dist/lib/shared/hooks/useClickOutside.js +1 -1
- package/dist/lib/shared/hooks/useClickOutside.js.map +1 -1
- package/dist/lib/shared/hooks/useClickOutsideMany.js +1 -1
- package/dist/lib/shared/hooks/useClickOutsideMany.js.map +1 -1
- package/dist/lib/shared/hooks/useControlledForm.js +1 -1
- package/dist/lib/shared/hooks/useControlledForm.js.map +1 -1
- package/dist/lib/shared/ui/accordion/Accordion.js +1 -1
- package/dist/lib/shared/ui/accordion/Accordion.js.map +1 -1
- package/dist/lib/shared/ui/accordion/ui/AccordionHeader.js +1 -1
- package/dist/lib/shared/ui/accordion/ui/AccordionHeader.js.map +1 -1
- package/dist/lib/shared/ui/brandLogos/BrandLogos.js +1 -1
- package/dist/lib/shared/ui/brandLogos/BrandLogos.js.map +1 -1
- package/dist/lib/shared/ui/button/model/helpers.js +1 -1
- package/dist/lib/shared/ui/button/model/helpers.js.map +1 -1
- package/dist/lib/shared/ui/buttonIcon/ButtonIcon.js +1 -1
- package/dist/lib/shared/ui/buttonIcon/ButtonIcon.js.map +1 -1
- package/dist/lib/shared/ui/calendar/Calendar.js +1 -1
- package/dist/lib/shared/ui/calendar/Calendar.js.map +1 -1
- package/dist/lib/shared/ui/calendar/ui/Day.js +1 -1
- package/dist/lib/shared/ui/calendar/ui/Day.js.map +1 -1
- package/dist/lib/shared/ui/calendar/ui/MonthCaption.js +1 -1
- package/dist/lib/shared/ui/calendar/ui/MonthCaption.js.map +1 -1
- package/dist/lib/shared/ui/calendar/ui/Navigation.js +1 -1
- package/dist/lib/shared/ui/calendar/ui/Navigation.js.map +1 -1
- package/dist/lib/shared/ui/calendar/ui/selectDate/ui/SelectList.js +1 -1
- package/dist/lib/shared/ui/calendar/ui/selectDate/ui/SelectList.js.map +1 -1
- package/dist/lib/shared/ui/calendar/ui/selectDate/ui/Trigger.js +1 -1
- package/dist/lib/shared/ui/calendar/ui/selectDate/ui/Trigger.js.map +1 -1
- package/dist/lib/shared/ui/carousel/CarouselNative.js +1 -1
- package/dist/lib/shared/ui/carousel/CarouselNative.js.map +1 -1
- package/dist/lib/shared/ui/carousel/model/helpers.js +1 -1
- package/dist/lib/shared/ui/carousel/model/helpers.js.map +1 -1
- package/dist/lib/shared/ui/carousel/model/hooks/useCarousel.js +1 -1
- package/dist/lib/shared/ui/carousel/model/hooks/useCarousel.js.map +1 -1
- package/dist/lib/shared/ui/customLink/model/helpers.js +1 -1
- package/dist/lib/shared/ui/customLink/model/helpers.js.map +1 -1
- package/dist/lib/shared/ui/dialog/Dialog.js +1 -1
- package/dist/lib/shared/ui/dialog/Dialog.js.map +1 -1
- package/dist/lib/shared/ui/divider/Divider.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/autocomplete/AutocompleteControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/autocomplete/AutocompleteControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/checkbox/CheckboxControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/checkbox/CheckboxControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/combobox/ComboboxControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/combobox/ComboboxControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/combobox/hooks/useComboboxControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/combobox/hooks/useComboboxControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/address/query.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/address/query.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/auto/query.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/auto/query.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/country/query.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/country/query.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/fio/query.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/fio/query.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/party/query.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dadata/party/query.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/model/utils.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/model/utils.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/range.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/range.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/single.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/dayPickerControl/single.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/config.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/config.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/extensions.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/extensions.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/helper.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/model/helper.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/EditorModal.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/EditorModal.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetColor.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetColor.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetFontSize.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetFontSize.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/setCustomLink.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/setCustomLink.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/input/InputControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/input/InputControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/input/MaskInputControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/input/MaskInputControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/inputOtp/InputOtpControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/inputOtp/InputOtpControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/radio/RadioGroupControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/radio/RadioGroupControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/slider/SliderControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/slider/SliderControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/switch/SwitchControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/switch/SwitchControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/textarea/TextareaControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/textarea/TextareaControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/uploader/UploaderControl.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/uploader/UploaderControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/ui/MessageView.js +1 -1
- package/dist/lib/shared/ui/formElements/ui/MessageView.js.map +1 -1
- package/dist/lib/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.js +1 -1
- package/dist/lib/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/checkbox/Checkbox.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/checkbox/Checkbox.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/combobox/combobox.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/combobox/combobox.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/combobox/hooks/useCombobox.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/combobox/hooks/useCombobox.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/index.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/index.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputCurrency/ui/CurrencyIcon.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputCurrency/ui/CurrencyIcon.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/maskInput/MaskInput.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/maskInput/MaskInput.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/RadioGroup.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/RadioGroup.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemCard.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemCard.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemTab.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemTab.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/Slider.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/Slider.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/SliderAlgorithmic.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/SliderAlgorithmic.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/SliderMarks.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/SliderMarks.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/SliderStep.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/SliderStep.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/switch/Switch.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/switch/Switch.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/UploaderBase.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/UploaderBase.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.js.map +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.js +1 -1
- package/dist/lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.js.map +1 -1
- package/dist/lib/shared/ui/heading/Heading.js +1 -1
- package/dist/lib/shared/ui/heading/Heading.js.map +1 -1
- package/dist/lib/shared/ui/hint/Hint.js +1 -1
- package/dist/lib/shared/ui/hint/Hint.js.map +1 -1
- package/dist/lib/shared/ui/loader/model/helpers.js +1 -1
- package/dist/lib/shared/ui/loader/model/helpers.js.map +1 -1
- package/dist/lib/shared/ui/modal/Modal.js +1 -1
- package/dist/lib/shared/ui/modal/Modal.js.map +1 -1
- package/dist/lib/shared/ui/modal/ui/ModalHeader.js +1 -1
- package/dist/lib/shared/ui/modal/ui/ModalHeader.js.map +1 -1
- package/dist/lib/shared/ui/notification/Notification.js +1 -1
- package/dist/lib/shared/ui/notification/Notification.js.map +1 -1
- package/dist/lib/shared/ui/notification/ui/CustomToast.js +1 -1
- package/dist/lib/shared/ui/notification/ui/CustomToast.js.map +1 -1
- package/dist/lib/shared/ui/popover/Popover.js +1 -1
- package/dist/lib/shared/ui/popover/Popover.js.map +1 -1
- package/dist/lib/shared/ui/providers/NotificationProvider.js +1 -1
- package/dist/lib/shared/ui/providers/NotificationProvider.js.map +1 -1
- package/dist/lib/shared/ui/slot/ui/SlotClone.js +1 -1
- package/dist/lib/shared/ui/slot/ui/SlotClone.js.map +1 -1
- package/dist/lib/shared/ui/tabSwitcher/TabsSwitcher.js +1 -1
- package/dist/lib/shared/ui/tabSwitcher/TabsSwitcher.js.map +1 -1
- package/dist/lib/shared/ui/tabSwitcher/ui/TabContent.js +1 -1
- package/dist/lib/shared/ui/tabSwitcher/ui/TabContent.js.map +1 -1
- package/dist/lib/shared/ui/table/Desktop.js +1 -1
- package/dist/lib/shared/ui/table/Desktop.js.map +1 -1
- package/dist/lib/shared/ui/table/Horizontal.js +1 -1
- package/dist/lib/shared/ui/table/Horizontal.js.map +1 -1
- package/dist/lib/shared/ui/table/Mobile.js +1 -1
- package/dist/lib/shared/ui/table/Mobile.js.map +1 -1
- package/dist/lib/shared/ui/table/Table.js +1 -1
- package/dist/lib/shared/ui/table/Table.js.map +1 -1
- package/dist/lib/shared/ui/table/model/TableUtils.js +1 -1
- package/dist/lib/shared/ui/table/model/TableUtils.js.map +1 -1
- package/dist/lib/shared/ui/table/ui/editableCell/EditableCell.js +1 -1
- package/dist/lib/shared/ui/table/ui/editableCell/EditableCell.js.map +1 -1
- package/dist/lib/shared/utils/cn.js +1 -1
- package/dist/lib/shared/utils/cn.js.map +1 -1
- package/dist/lib/shared/utils/uuid.js +1 -1
- package/dist/lib/shared/utils/uuid.js.map +1 -1
- package/dist/lib/shared/validation/base/base.constants.js +1 -1
- package/dist/lib/shared/validation/base/base.constants.js.map +1 -1
- package/dist/lib/shared/validation/base/boolean.validators.js +1 -1
- package/dist/lib/shared/validation/base/boolean.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/currency.validators.js +1 -1
- package/dist/lib/shared/validation/base/currency.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/date.validators.js +1 -1
- package/dist/lib/shared/validation/base/date.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/email.validators.js +1 -1
- package/dist/lib/shared/validation/base/email.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/number.validators.js +1 -1
- package/dist/lib/shared/validation/base/number.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/passport.validators.js +1 -1
- package/dist/lib/shared/validation/base/passport.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/passportDepartment.validators.js +1 -1
- package/dist/lib/shared/validation/base/passportDepartment.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/phone.validators.js +1 -1
- package/dist/lib/shared/validation/base/phone.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/regex.validators.js +1 -1
- package/dist/lib/shared/validation/base/regex.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/select.validators.js +1 -1
- package/dist/lib/shared/validation/base/select.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/string.validators.js +1 -1
- package/dist/lib/shared/validation/base/string.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/union.validators.js +1 -1
- package/dist/lib/shared/validation/base/union.validators.js.map +1 -1
- package/dist/lib/shared/validation/base/url.validators.js +1 -1
- package/dist/lib/shared/validation/base/url.validators.js.map +1 -1
- package/dist/lib/shared/validation/dadata/fio.validators.js +1 -1
- package/dist/lib/shared/validation/dadata/fio.validators.js.map +1 -1
- package/dist/lib/shared/validation/utils/zodUtils.js +1 -1
- package/dist/lib/shared/validation/utils/zodUtils.js.map +1 -1
- package/dist/lib/shared/validation/zodValidation/calendar.js +1 -1
- package/dist/lib/shared/validation/zodValidation/calendar.js.map +1 -1
- package/dist/lib/shared/validation/zodValidation/dadataFio.js +1 -1
- package/dist/lib/shared/validation/zodValidation/dadataFio.js.map +1 -1
- package/dist/lib/shared/validation/zodValidation/otpCode.js +1 -1
- package/dist/lib/shared/validation/zodValidation/otpCode.js.map +1 -1
- package/dist/lib/shared/validation/zodValidation/phone.js +1 -1
- package/dist/lib/shared/validation/zodValidation/phone.js.map +1 -1
- package/dist/lib/widgets/authProvider/AuthProvider.js +1 -1
- package/dist/lib/widgets/authProvider/AuthProvider.js.map +1 -1
- package/dist/lib/widgets/authProvider/ui/Esia.js +1 -1
- package/dist/lib/widgets/authProvider/ui/Esia.js.map +1 -1
- package/dist/lib/widgets/authProvider/ui/MobileId.js +1 -1
- package/dist/lib/widgets/authProvider/ui/MobileId.js.map +1 -1
- package/dist/lib/widgets/authProvider/ui/ui/AuthWrapper.js +1 -1
- package/dist/lib/widgets/authProvider/ui/ui/AuthWrapper.js.map +1 -1
- package/dist/lib/widgets/banner/index.js +1 -1
- package/dist/lib/widgets/banner/ui/banners/BannerImageFull.js +1 -1
- package/dist/lib/widgets/banner/ui/banners/BannerImageFull.js.map +1 -1
- package/dist/lib/widgets/banner/ui/banners/BannerWithSeparateImg.js +1 -1
- package/dist/lib/widgets/banner/ui/banners/BannerWithSeparateImg.js.map +1 -1
- package/dist/lib/widgets/banner/ui/banners/ui/Advantages.js +1 -1
- package/dist/lib/widgets/banner/ui/banners/ui/Advantages.js.map +1 -1
- package/dist/lib/widgets/benefit/Benefit.js +1 -1
- package/dist/lib/widgets/benefit/Benefit.js.map +1 -1
- package/dist/lib/widgets/benefit/ui/BenefitItem.js +1 -1
- package/dist/lib/widgets/benefit/ui/BenefitItem.js.map +1 -1
- package/dist/lib/widgets/breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/lib/widgets/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/lib/widgets/buttonWithHandlers/ButtonWithHandlers.js +1 -1
- package/dist/lib/widgets/buttonWithHandlers/ButtonWithHandlers.js.map +1 -1
- package/dist/lib/widgets/buttonWithHandlers/model/useButtonHandler.js +1 -1
- package/dist/lib/widgets/buttonWithHandlers/model/useButtonHandler.js.map +1 -1
- package/dist/lib/widgets/calculator/Calculator.js +1 -1
- package/dist/lib/widgets/calculator/Calculator.js.map +1 -1
- package/dist/lib/widgets/calculator/CalculatorView.js +1 -1
- package/dist/lib/widgets/calculator/CalculatorView.js.map +1 -1
- package/dist/lib/widgets/calculator/model/helpers.js +1 -1
- package/dist/lib/widgets/calculator/model/helpers.js.map +1 -1
- package/dist/lib/widgets/calculator/model/utils.js +1 -1
- package/dist/lib/widgets/calculator/model/utils.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/hooks/useAdditionalSlider.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/hooks/useAdditionalSlider.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/ui/AdditionalSlider.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/ui/AdditionalSlider.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/ui/CalculatorModal.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorFields/ui/CalculatorModal.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoHead.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoHead.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js.map +1 -1
- package/dist/lib/widgets/conditionBlock/ConditionBlock.js +1 -1
- package/dist/lib/widgets/conditionBlock/ConditionBlock.js.map +1 -1
- package/dist/lib/widgets/dynamicForm/DynamicForm.js +1 -1
- package/dist/lib/widgets/dynamicForm/DynamicForm.js.map +1 -1
- package/dist/lib/widgets/dynamicForm/model/helpers.js +1 -1
- package/dist/lib/widgets/dynamicForm/model/helpers.js.map +1 -1
- package/dist/lib/widgets/dynamicFormDialog/DynamicFormDialog.js +1 -1
- package/dist/lib/widgets/dynamicFormDialog/DynamicFormDialog.js.map +1 -1
- package/dist/lib/widgets/errorPage/ErrorPage.js +1 -1
- package/dist/lib/widgets/errorPage/ErrorPage.js.map +1 -1
- package/dist/lib/widgets/fallbacksView/FallbacksView.js +1 -1
- package/dist/lib/widgets/fallbacksView/FallbacksView.js.map +1 -1
- package/dist/lib/widgets/fallbacksView/model/helpers.js +1 -1
- package/dist/lib/widgets/fallbacksView/model/helpers.js.map +1 -1
- package/dist/lib/widgets/fieldMapper/FieldMapper.js +1 -1
- package/dist/lib/widgets/fieldMapper/FieldMapper.js.map +1 -1
- package/dist/lib/widgets/footer/Footer.js +1 -1
- package/dist/lib/widgets/footer/Footer.js.map +1 -1
- package/dist/lib/widgets/footer/ui/FooterLogo.js +1 -1
- package/dist/lib/widgets/footer/ui/FooterLogo.js.map +1 -1
- package/dist/lib/widgets/footer/ui/NavLinks.js +1 -1
- package/dist/lib/widgets/footer/ui/NavLinks.js.map +1 -1
- package/dist/lib/widgets/footer/ui/PhonesBlock.js +1 -1
- package/dist/lib/widgets/footer/ui/PhonesBlock.js.map +1 -1
- package/dist/lib/widgets/footer/ui/SiteMap.js +1 -1
- package/dist/lib/widgets/footer/ui/SiteMap.js.map +1 -1
- package/dist/lib/widgets/footer/ui/SocialLinks.js +1 -1
- package/dist/lib/widgets/footer/ui/SocialLinks.js.map +1 -1
- package/dist/lib/widgets/header/Header.js +1 -1
- package/dist/lib/widgets/header/Header.js.map +1 -1
- package/dist/lib/widgets/header/model/helpers.js +1 -1
- package/dist/lib/widgets/header/model/helpers.js.map +1 -1
- package/dist/lib/widgets/index.js +1 -1
- package/dist/lib/widgets/infoBlock/InfoBlock.js +1 -1
- package/dist/lib/widgets/infoBlock/InfoBlock.js.map +1 -1
- package/dist/lib/widgets/infoBlock/ui/LinksList.js +1 -1
- package/dist/lib/widgets/infoBlock/ui/LinksList.js.map +1 -1
- package/dist/lib/widgets/infoBlock/ui/RootContent.js +1 -1
- package/dist/lib/widgets/infoBlock/ui/RootContent.js.map +1 -1
- package/dist/lib/widgets/interLinking/InterLinking.js +1 -1
- package/dist/lib/widgets/interLinking/InterLinking.js.map +1 -1
- package/dist/lib/widgets/interLinking/ui/ColumnGroup.js +1 -1
- package/dist/lib/widgets/interLinking/ui/ColumnGroup.js.map +1 -1
- package/dist/lib/widgets/interLinking/ui/LinksList.js +1 -1
- package/dist/lib/widgets/interLinking/ui/LinksList.js.map +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js.map +1 -1
- package/dist/lib/widgets/longBanner/model/cva.js +1 -1
- package/dist/lib/widgets/longBanner/model/cva.js.map +1 -1
- package/dist/lib/widgets/longBanner/ui/TextItem.js +1 -1
- package/dist/lib/widgets/longBanner/ui/TextItem.js.map +1 -1
- package/dist/lib/widgets/model/helpers.js +1 -1
- package/dist/lib/widgets/queryClientProvider/QueryClientProvider.js +1 -1
- package/dist/lib/widgets/queryClientProvider/QueryClientProvider.js.map +1 -1
- package/dist/lib/widgets/seoHeader/SeoHeader.js +1 -1
- package/dist/lib/widgets/seoHeader/SeoHeader.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js.map +1 -1
- package/dist/lib/widgets/stepper/Stepper.js +1 -1
- package/dist/lib/widgets/stepper/Stepper.js.map +1 -1
- package/dist/lib/widgets/stepper/ui/StepperCarousel.js +1 -1
- package/dist/lib/widgets/stepper/ui/StepperCarousel.js.map +1 -1
- package/dist/lib/widgets/table/InfoTable.js +1 -1
- package/dist/lib/widgets/table/InfoTable.js.map +1 -1
- package/dist/lib/widgets/table/model/utils.js +1 -1
- package/dist/lib/widgets/table/model/utils.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/UsefulInfo.js +1 -1
- package/dist/lib/widgets/usefulInfo/UsefulInfo.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/model/utils.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/model/utils.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/html/Html.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/html/Html.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/Table.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/Table.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/model/utils.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/model/utils.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.js.map +1 -1
- package/dist/lib/widgets/userFeedback/UserFeedback.js +1 -1
- package/dist/lib/widgets/userFeedback/UserFeedback.js.map +1 -1
- package/dist/lib/widgets/userFeedback/model/schema.js +1 -1
- package/dist/lib/widgets/userFeedback/model/schema.js.map +1 -1
- package/dist/lib/widgets/userFeedback/ui/FeedbackTrigger.js +1 -1
- package/dist/lib/widgets/userFeedback/ui/FeedbackTrigger.js.map +1 -1
- package/dist/lib/widgets/userFeedback/ui/Finally.js +1 -1
- package/dist/lib/widgets/userFeedback/ui/Finally.js.map +1 -1
- package/dist/lib/widgets/userFeedback/ui/SelectRating.js +1 -1
- package/dist/lib/widgets/userFeedback/ui/SelectRating.js.map +1 -1
- package/dist/lib/widgets/userFeedback/ui/UserReview.js +1 -1
- package/dist/lib/widgets/userFeedback/ui/UserReview.js.map +1 -1
- package/dist/src/configs/api.js +1 -1
- package/dist/src/configs/api.js.map +1 -1
- package/dist/src/shared/utils/getDynamicSchema.js +1 -1
- package/dist/src/shared/utils/getDynamicSchema.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/shared/ui/divider/Divider.d.ts +2 -3
- package/package.json +3 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -2
- package/dist/node_modules/@date-fns/tz/date/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -2
- package/dist/node_modules/@date-fns/tz/date/mini.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -2
- package/dist/node_modules/@date-fns/tz/tzName/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -2
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -2
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -2
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -2
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -2
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -2
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -2
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -2
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +0 -2
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js.map +0 -1
- package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js +0 -2
- package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js.map +0 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -2
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/focusManager.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/focusManager.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/mutation.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/mutation.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/mutationCache.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/mutationCache.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/notifyManager.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/notifyManager.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/onlineManager.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/onlineManager.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/query.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/query.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/queryCache.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/queryCache.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/queryClient.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/queryClient.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/queryObserver.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/queryObserver.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/removable.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/removable.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/retryer.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/retryer.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/subscribable.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/subscribable.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/thenable.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/thenable.js.map +0 -1
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.js +0 -2
- package/dist/node_modules/@tanstack/query-core/build/modern/utils.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/suspense.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/suspense.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js.map +0 -1
- package/dist/node_modules/@tanstack/react-query/build/modern/useQuery.js +0 -2
- package/dist/node_modules/@tanstack/react-query/build/modern/useQuery.js.map +0 -1
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +0 -11
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js.map +0 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -14
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -81
- package/dist/node_modules/@tiptap/core/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -5
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-color/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-color/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -3
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-history/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-invisible-characters/dist/index.js +0 -42
- package/dist/node_modules/@tiptap/extension-invisible-characters/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-text-style/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-text-style/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -18
- package/dist/node_modules/@tiptap/react/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -2
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -2
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/attr-accept/dist/es/index.js +0 -2
- package/dist/node_modules/attr-accept/dist/es/index.js.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -2
- package/dist/node_modules/class-variance-authority/dist/index.js.map +0 -1
- package/dist/node_modules/classnames/index.js +0 -6
- package/dist/node_modules/classnames/index.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -2
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -2
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -2
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -2
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -2
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -2
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -2
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -2
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -2
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -2
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
- package/dist/node_modules/date-fns/addDays.js +0 -2
- package/dist/node_modules/date-fns/addDays.js.map +0 -1
- package/dist/node_modules/date-fns/addMonths.js +0 -2
- package/dist/node_modules/date-fns/addMonths.js.map +0 -1
- package/dist/node_modules/date-fns/addWeeks.js +0 -2
- package/dist/node_modules/date-fns/addWeeks.js.map +0 -1
- package/dist/node_modules/date-fns/addYears.js +0 -2
- package/dist/node_modules/date-fns/addYears.js.map +0 -1
- package/dist/node_modules/date-fns/constants.js +0 -2
- package/dist/node_modules/date-fns/constants.js.map +0 -1
- package/dist/node_modules/date-fns/constructFrom.js +0 -2
- package/dist/node_modules/date-fns/constructFrom.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -2
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -2
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -2
- package/dist/node_modules/date-fns/eachMonthOfInterval.js.map +0 -1
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -2
- package/dist/node_modules/date-fns/endOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfMonth.js +0 -2
- package/dist/node_modules/date-fns/endOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/endOfWeek.js +0 -2
- package/dist/node_modules/date-fns/endOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfYear.js +0 -2
- package/dist/node_modules/date-fns/endOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/format.js +0 -2
- package/dist/node_modules/date-fns/format.js.map +0 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -2
- package/dist/node_modules/date-fns/getDayOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -2
- package/dist/node_modules/date-fns/getDaysInMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getDefaultOptions.js +0 -2
- package/dist/node_modules/date-fns/getDefaultOptions.js.map +0 -1
- package/dist/node_modules/date-fns/getISODay.js +0 -2
- package/dist/node_modules/date-fns/getISODay.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeek.js +0 -2
- package/dist/node_modules/date-fns/getISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -2
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getMonth.js +0 -2
- package/dist/node_modules/date-fns/getMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getWeek.js +0 -2
- package/dist/node_modules/date-fns/getWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getWeekYear.js +0 -2
- package/dist/node_modules/date-fns/getWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getYear.js +0 -2
- package/dist/node_modules/date-fns/getYear.js.map +0 -1
- package/dist/node_modules/date-fns/isAfter.js +0 -2
- package/dist/node_modules/date-fns/isAfter.js.map +0 -1
- package/dist/node_modules/date-fns/isBefore.js +0 -2
- package/dist/node_modules/date-fns/isBefore.js.map +0 -1
- package/dist/node_modules/date-fns/isDate.js +0 -2
- package/dist/node_modules/date-fns/isDate.js.map +0 -1
- package/dist/node_modules/date-fns/isSameDay.js +0 -2
- package/dist/node_modules/date-fns/isSameDay.js.map +0 -1
- package/dist/node_modules/date-fns/isSameMonth.js +0 -2
- package/dist/node_modules/date-fns/isSameMonth.js.map +0 -1
- package/dist/node_modules/date-fns/isSameWeek.js +0 -2
- package/dist/node_modules/date-fns/isSameWeek.js.map +0 -1
- package/dist/node_modules/date-fns/isSameYear.js +0 -2
- package/dist/node_modules/date-fns/isSameYear.js.map +0 -1
- package/dist/node_modules/date-fns/isValid.js +0 -2
- package/dist/node_modules/date-fns/isValid.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -2
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -2
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -2
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -2
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US.js +0 -2
- package/dist/node_modules/date-fns/locale/en-US.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru/_lib/formatDistance.js +0 -2
- package/dist/node_modules/date-fns/locale/ru/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru/_lib/formatLong.js +0 -2
- package/dist/node_modules/date-fns/locale/ru/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru/_lib/formatRelative.js +0 -2
- package/dist/node_modules/date-fns/locale/ru/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru/_lib/localize.js +0 -2
- package/dist/node_modules/date-fns/locale/ru/_lib/localize.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru/_lib/match.js +0 -2
- package/dist/node_modules/date-fns/locale/ru/_lib/match.js.map +0 -1
- package/dist/node_modules/date-fns/locale/ru.js +0 -2
- package/dist/node_modules/date-fns/locale/ru.js.map +0 -1
- package/dist/node_modules/date-fns/max.js +0 -2
- package/dist/node_modules/date-fns/max.js.map +0 -1
- package/dist/node_modules/date-fns/min.js +0 -2
- package/dist/node_modules/date-fns/min.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
- package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -2
- package/dist/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
- package/dist/node_modules/date-fns/parse.js +0 -2
- package/dist/node_modules/date-fns/parse.js.map +0 -1
- package/dist/node_modules/date-fns/setDay.js +0 -2
- package/dist/node_modules/date-fns/setDay.js.map +0 -1
- package/dist/node_modules/date-fns/setISODay.js +0 -2
- package/dist/node_modules/date-fns/setISODay.js.map +0 -1
- package/dist/node_modules/date-fns/setISOWeek.js +0 -2
- package/dist/node_modules/date-fns/setISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/setMonth.js +0 -2
- package/dist/node_modules/date-fns/setMonth.js.map +0 -1
- package/dist/node_modules/date-fns/setWeek.js +0 -2
- package/dist/node_modules/date-fns/setWeek.js.map +0 -1
- package/dist/node_modules/date-fns/setYear.js +0 -2
- package/dist/node_modules/date-fns/setYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfDay.js +0 -2
- package/dist/node_modules/date-fns/startOfDay.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -2
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -2
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfMonth.js +0 -2
- package/dist/node_modules/date-fns/startOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeek.js +0 -2
- package/dist/node_modules/date-fns/startOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -2
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfYear.js +0 -2
- package/dist/node_modules/date-fns/startOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/toDate.js +0 -2
- package/dist/node_modules/date-fns/toDate.js.map +0 -1
- package/dist/node_modules/date-fns/transpose.js +0 -2
- package/dist/node_modules/date-fns/transpose.js.map +0 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -2
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +0 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +0 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +0 -1
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -2
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +0 -1
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -2
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +0 -1
- package/dist/node_modules/file-selector/dist/es2015/file-selector.js +0 -2
- package/dist/node_modules/file-selector/dist/es2015/file-selector.js.map +0 -1
- package/dist/node_modules/file-selector/dist/es2015/file.js +0 -2
- package/dist/node_modules/file-selector/dist/es2015/file.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/back.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/store.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/array.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -2
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/goober/dist/goober.modern.js +0 -2
- package/dist/node_modules/goober/dist/goober.modern.js.map +0 -1
- package/dist/node_modules/input-otp/dist/index.js +0 -21
- package/dist/node_modules/input-otp/dist/index.js.map +0 -1
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -6
- package/dist/node_modules/linkifyjs/dist/linkify.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
- package/dist/node_modules/orderedmap/dist/index.js +0 -2
- package/dist/node_modules/orderedmap/dist/index.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/node_modules/prop-types/index.js +0 -2
- package/dist/node_modules/prop-types/index.js.map +0 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -3
- package/dist/node_modules/prosemirror-commands/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-history/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-keymap/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -5
- package/dist/node_modules/prosemirror-model/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -2
- package/dist/node_modules/prosemirror-state/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -3
- package/dist/node_modules/prosemirror-transform/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -6
- package/dist/node_modules/prosemirror-view/dist/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Handles/Handle.js +0 -2
- package/dist/node_modules/rc-slider/es/Handles/Handle.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Handles/index.js +0 -2
- package/dist/node_modules/rc-slider/es/Handles/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Marks/Mark.js +0 -2
- package/dist/node_modules/rc-slider/es/Marks/Mark.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Marks/index.js +0 -2
- package/dist/node_modules/rc-slider/es/Marks/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Slider.js +0 -2
- package/dist/node_modules/rc-slider/es/Slider.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Steps/Dot.js +0 -2
- package/dist/node_modules/rc-slider/es/Steps/Dot.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Steps/index.js +0 -2
- package/dist/node_modules/rc-slider/es/Steps/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Tracks/Track.js +0 -2
- package/dist/node_modules/rc-slider/es/Tracks/Track.js.map +0 -1
- package/dist/node_modules/rc-slider/es/Tracks/index.js +0 -2
- package/dist/node_modules/rc-slider/es/Tracks/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/context.js +0 -2
- package/dist/node_modules/rc-slider/es/context.js.map +0 -1
- package/dist/node_modules/rc-slider/es/hooks/useDrag.js +0 -2
- package/dist/node_modules/rc-slider/es/hooks/useDrag.js.map +0 -1
- package/dist/node_modules/rc-slider/es/hooks/useOffset.js +0 -2
- package/dist/node_modules/rc-slider/es/hooks/useOffset.js.map +0 -1
- package/dist/node_modules/rc-slider/es/hooks/useRange.js +0 -2
- package/dist/node_modules/rc-slider/es/hooks/useRange.js.map +0 -1
- package/dist/node_modules/rc-slider/es/index.js +0 -2
- package/dist/node_modules/rc-slider/es/index.js.map +0 -1
- package/dist/node_modules/rc-slider/es/util.js +0 -2
- package/dist/node_modules/rc-slider/es/util.js.map +0 -1
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js +0 -2
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js.map +0 -1
- package/dist/node_modules/rc-util/es/KeyCode.js +0 -2
- package/dist/node_modules/rc-util/es/KeyCode.js.map +0 -1
- package/dist/node_modules/rc-util/es/hooks/useEvent.js +0 -2
- package/dist/node_modules/rc-util/es/hooks/useEvent.js.map +0 -1
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js +0 -2
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js.map +0 -1
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js +0 -2
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js.map +0 -1
- package/dist/node_modules/rc-util/es/hooks/useState.js +0 -2
- package/dist/node_modules/rc-util/es/hooks/useState.js.map +0 -1
- package/dist/node_modules/rc-util/es/isEqual.js +0 -2
- package/dist/node_modules/rc-util/es/isEqual.js.map +0 -1
- package/dist/node_modules/rc-util/es/warning.js +0 -2
- package/dist/node_modules/rc-util/es/warning.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/UI.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -2
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +0 -1
- package/dist/node_modules/react-day-picker/src/style.css +0 -1
- package/dist/node_modules/react-dropzone/dist/es/index.js +0 -4
- package/dist/node_modules/react-dropzone/dist/es/index.js.map +0 -1
- package/dist/node_modules/react-dropzone/dist/es/utils/index.js +0 -4
- package/dist/node_modules/react-dropzone/dist/es/utils/index.js.map +0 -1
- package/dist/node_modules/react-hot-toast/dist/index.js +0 -178
- package/dist/node_modules/react-hot-toast/dist/index.js.map +0 -1
- package/dist/node_modules/react-number-format/dist/react-number-format.es.js +0 -10
- package/dist/node_modules/react-number-format/dist/react-number-format.es.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -39
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/node_modules/rope-sequence/dist/index.js +0 -2
- package/dist/node_modules/rope-sequence/dist/index.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/node_modules/tailwindcss/lib/public/create-plugin.js +0 -2
- package/dist/node_modules/tailwindcss/lib/public/create-plugin.js.map +0 -1
- package/dist/node_modules/tailwindcss/lib/util/createPlugin.js +0 -2
- package/dist/node_modules/tailwindcss/lib/util/createPlugin.js.map +0 -1
- package/dist/node_modules/tailwindcss/plugin.js +0 -2
- package/dist/node_modules/tailwindcss/plugin.js.map +0 -1
- package/dist/node_modules/tailwindcss-animate/index.js +0 -2
- package/dist/node_modules/tailwindcss-animate/index.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -2
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/node_modules/use-mask-input/dist/index.js +0 -14
- package/dist/node_modules/use-mask-input/dist/index.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
- package/dist/node_modules/w3c-keyname/index.js +0 -2
- package/dist/node_modules/w3c-keyname/index.js.map +0 -1
- package/dist/node_modules/zod/index.js +0 -2
- package/dist/node_modules/zod/index.js.map +0 -1
- package/dist/node_modules/zod/v3/ZodError.js +0 -2
- package/dist/node_modules/zod/v3/ZodError.js.map +0 -1
- package/dist/node_modules/zod/v3/errors.js +0 -2
- package/dist/node_modules/zod/v3/errors.js.map +0 -1
- package/dist/node_modules/zod/v3/external.js +0 -2
- package/dist/node_modules/zod/v3/external.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -2
- package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -2
- package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/util.js +0 -2
- package/dist/node_modules/zod/v3/helpers/util.js.map +0 -1
- package/dist/node_modules/zod/v3/locales/en.js +0 -2
- package/dist/node_modules/zod/v3/locales/en.js.map +0 -1
- package/dist/node_modules/zod/v3/types.js +0 -2
- package/dist/node_modules/zod/v3/types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/orderedmap/dist/index.js"],"sourcesContent":["// ::- Persistent data structure representing an ordered mapping from\n// strings to values, with some convenient update methods.\nfunction OrderedMap(content) {\n this.content = content;\n}\n\nOrderedMap.prototype = {\n constructor: OrderedMap,\n\n find: function(key) {\n for (var i = 0; i < this.content.length; i += 2)\n if (this.content[i] === key) return i\n return -1\n },\n\n // :: (string) → ?any\n // Retrieve the value stored under `key`, or return undefined when\n // no such key exists.\n get: function(key) {\n var found = this.find(key);\n return found == -1 ? undefined : this.content[found + 1]\n },\n\n // :: (string, any, ?string) → OrderedMap\n // Create a new map by replacing the value of `key` with a new\n // value, or adding a binding to the end of the map. If `newKey` is\n // given, the key of the binding will be replaced with that key.\n update: function(key, value, newKey) {\n var self = newKey && newKey != key ? this.remove(newKey) : this;\n var found = self.find(key), content = self.content.slice();\n if (found == -1) {\n content.push(newKey || key, value);\n } else {\n content[found + 1] = value;\n if (newKey) content[found] = newKey;\n }\n return new OrderedMap(content)\n },\n\n // :: (string) → OrderedMap\n // Return a map with the given key removed, if it existed.\n remove: function(key) {\n var found = this.find(key);\n if (found == -1) return this\n var content = this.content.slice();\n content.splice(found, 2);\n return new OrderedMap(content)\n },\n\n // :: (string, any) → OrderedMap\n // Add a new key to the start of the map.\n addToStart: function(key, value) {\n return new OrderedMap([key, value].concat(this.remove(key).content))\n },\n\n // :: (string, any) → OrderedMap\n // Add a new key to the end of the map.\n addToEnd: function(key, value) {\n var content = this.remove(key).content.slice();\n content.push(key, value);\n return new OrderedMap(content)\n },\n\n // :: (string, string, any) → OrderedMap\n // Add a key after the given key. If `place` is not found, the new\n // key is added to the end.\n addBefore: function(place, key, value) {\n var without = this.remove(key), content = without.content.slice();\n var found = without.find(place);\n content.splice(found == -1 ? content.length : found, 0, key, value);\n return new OrderedMap(content)\n },\n\n // :: ((key: string, value: any))\n // Call the given function for each key/value pair in the map, in\n // order.\n forEach: function(f) {\n for (var i = 0; i < this.content.length; i += 2)\n f(this.content[i], this.content[i + 1]);\n },\n\n // :: (union<Object, OrderedMap>) → OrderedMap\n // Create a new map by prepending the keys in this map that don't\n // appear in `map` before the keys in `map`.\n prepend: function(map) {\n map = OrderedMap.from(map);\n if (!map.size) return this\n return new OrderedMap(map.content.concat(this.subtract(map).content))\n },\n\n // :: (union<Object, OrderedMap>) → OrderedMap\n // Create a new map by appending the keys in this map that don't\n // appear in `map` after the keys in `map`.\n append: function(map) {\n map = OrderedMap.from(map);\n if (!map.size) return this\n return new OrderedMap(this.subtract(map).content.concat(map.content))\n },\n\n // :: (union<Object, OrderedMap>) → OrderedMap\n // Create a map containing all the keys in this map that don't\n // appear in `map`.\n subtract: function(map) {\n var result = this;\n map = OrderedMap.from(map);\n for (var i = 0; i < map.content.length; i += 2)\n result = result.remove(map.content[i]);\n return result\n },\n\n // :: () → Object\n // Turn ordered map into a plain object.\n toObject: function() {\n var result = {};\n this.forEach(function(key, value) { result[key] = value; });\n return result\n },\n\n // :: number\n // The amount of keys in this map.\n get size() {\n return this.content.length >> 1\n }\n};\n\n// :: (?union<Object, OrderedMap>) → OrderedMap\n// Return a map with the given content. If null, create an empty\n// map. If given an ordered map, return that map itself. If given an\n// object, create a map from the object's properties.\nOrderedMap.from = function(value) {\n if (value instanceof OrderedMap) return value\n var content = [];\n if (value) for (var prop in value) content.push(prop, value[prop]);\n return new OrderedMap(content)\n};\n\nexport default OrderedMap;\n"],"names":["OrderedMap","content","key","i","found","value","newKey","self","place","without","f","map","result","prop"],"mappings":"AAEA,SAASA,EAAWC,EAAS,CAC3B,KAAK,QAAUA,CACjB,CAEAD,EAAW,UAAY,CACrB,YAAaA,EAEb,KAAM,SAASE,EAAK,CAClB,QAASC,EAAI,EAAGA,EAAI,KAAK,QAAQ,OAAQA,GAAK,EAC5C,GAAI,KAAK,QAAQA,CAAC,IAAMD,EAAK,OAAOC,EACtC,MAAO,EACT,EAKA,IAAK,SAASD,EAAK,CACjB,IAAIE,EAAQ,KAAK,KAAKF,CAAG,EACzB,OAAOE,GAAS,GAAK,OAAY,KAAK,QAAQA,EAAQ,CAAC,CACzD,EAMA,OAAQ,SAASF,EAAKG,EAAOC,EAAQ,CACnC,IAAIC,EAAOD,GAAUA,GAAUJ,EAAM,KAAK,OAAOI,CAAM,EAAI,KACvDF,EAAQG,EAAK,KAAKL,CAAG,EAAGD,EAAUM,EAAK,QAAQ,MAAK,EACxD,OAAIH,GAAS,GACXH,EAAQ,KAAKK,GAAUJ,EAAKG,CAAK,GAEjCJ,EAAQG,EAAQ,CAAC,EAAIC,EACjBC,IAAQL,EAAQG,CAAK,EAAIE,IAExB,IAAIN,EAAWC,CAAO,CAC/B,EAIA,OAAQ,SAASC,EAAK,CACpB,IAAIE,EAAQ,KAAK,KAAKF,CAAG,EACzB,GAAIE,GAAS,GAAI,OAAO,KACxB,IAAIH,EAAU,KAAK,QAAQ,MAAK,EAChC,OAAAA,EAAQ,OAAOG,EAAO,CAAC,EAChB,IAAIJ,EAAWC,CAAO,CAC/B,EAIA,WAAY,SAASC,EAAKG,EAAO,CAC/B,OAAO,IAAIL,EAAW,CAACE,EAAKG,CAAK,EAAE,OAAO,KAAK,OAAOH,CAAG,EAAE,OAAO,CAAC,CACrE,EAIA,SAAU,SAASA,EAAKG,EAAO,CAC7B,IAAIJ,EAAU,KAAK,OAAOC,CAA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,QAAU,CAChC,CACF,EAMAZ,EAAW,KAAO,SAASK,EAAO,CAChC,GAAIA,aAAiBL,EAAY,OAAOK,EACxC,IAAIJ,EAAU,CAAA,EACd,GAAII,EAAO,QAASQ,KAAQR,EAAOJ,EAAQ,KAAKY,EAAMR,EAAMQ,CAAI,CAAC,EACjE,OAAO,IAAIb,EAAWC,CAAO,CAC/B","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{R as c}from"./lib/ReactPropTypesSecret.js";var i=c;function n(){}function p(){}p.resetWarningCache=n;var l=function(){function e(s,y,m,f,h,a){if(a!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:p,resetWarningCache:n};return t.PropTypes=t,t};export{l as f};
|
|
2
|
-
//# sourceMappingURL=factoryWithThrowingShims.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factoryWithThrowingShims.js","sources":["../../../node_modules/prop-types/factoryWithThrowingShims.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes"],"mappings":"kDASA,IAAIA,EAAuBC,EAE3B,SAASC,GAAgB,CAAA,CACzB,SAASC,GAAyB,CAAA,CAClCA,EAAuB,kBAAoBD,EAE3C,IAAAE,EAAiB,UAAW,CAC1B,SAASC,EAAKC,EAAOC,EAAUC,EAAeC,EAAUC,EAAcC,EAAQ,CAC5E,GAAIA,IAAWX,EAIf,KAAIY,EAAM,IAAI,MACZ,iLAGN,EACI,MAAAA,EAAI,KAAO,sBACLA,EACV,CACEP,EAAK,WAAaA,EAClB,SAASQ,GAAU,CACjB,OAAOR,CACX,CAGE,IAAIS,EAAiB,CACnB,MAAOT,EACP,OAAQA,EACR,KAAMA,EACN,KAAMA,EACN,OAAQA,EACR,OAAQA,EACR,OAAQA,EACR,OAAQA,EAER,IAAKA,EACL,QAASQ,EACT,QAASR,EACT,YAAaA,EACb,WAAYQ,EACZ,KAAMR,EACN,SAAUQ,EACV,MAAOA,EACP,UAAWA,EACX,MAAOA,EACP,MAAOA,EAEP,eAAgBV,EAChB,kBAAmBD,CACvB,EAEE,OAAAY,EAAe,UAAYA,EAEpBA,CACT","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getDefaultExportFromCjs as r}from"../../_virtual/_commonjsHelpers.js";import{__module as o}from"../../_virtual/index2.js";import{f as p}from"./factoryWithThrowingShims.js";o.exports=p();var t=o.exports;const a=r(t);export{a as default};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["propTypesModule","require$$0"],"mappings":"mLAiBEA,EAAA,QAAiBC,EAAoC","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReactPropTypesSecret.js","sources":["../../../../node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1"],"mappings":"AASA,IAAIA,EAAuB,+CAE3BC,EAAiBD","x_google_ignoreList":[0]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{findWrapping as J,canSplit as h,liftTarget as T,canJoin as A,joinPoint as F,replaceStep as B,ReplaceStep as U,ReplaceAroundStep as v}from"../../prosemirror-transform/dist/index.js";import{Slice as y,Fragment as S}from"../../prosemirror-model/dist/index.js";import{TextSelection as I,NodeSelection as d,Selection as V,AllSelection as P}from"../../prosemirror-state/dist/index.js";const M=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function N(t,e){let{$cursor:r}=t.selection;return!r||(e?!e.endOfTextblock("backward",t):r.parentOffset>0)?null:r}const G=(t,e,r)=>{let n=N(t,r);if(!n)return!1;let o=z(n);if(!o){let i=n.blockRange(),f=i&&T(i);return f==null?!1:(e&&e(t.tr.lift(i,f).scrollIntoView()),!0)}let l=o.nodeBefore;if(D(t,o,e,-1))return!0;if(n.parent.content.size==0&&(x(l,"end")||d.isSelectable(l)))for(let i=n.depth;;i--){let f=B(t.doc,n.before(i),n.after(i),y.empty);if(f&&f.slice.size<f.to-f.from){if(e){let c=t.tr.step(f);c.setSelection(x(l,"end")?V.findFrom(c.doc.resolve(c.mapping.map(o.pos,-1)),-1):d.create(c.doc,o.pos-l.nodeSize)),e(c.scrollIntoView())}return!0}if(i==1||n.node(i-1).childCount>1)break}return l.isAtom&&o.depth==n.depth-1?(e&&e(t.tr.delete(o.pos-l.nodeSize,o.pos).scrollIntoView()),!0):!1},oe=(t,e,r)=>{let n=N(t,r);if(!n)return!1;let o=z(n);return o?E(t,o,e):!1},le=(t,e,r)=>{let n=W(t,r);if(!n)return!1;let o=R(n);return o?E(t,o,e):!1};function E(t,e,r){let n=e.nodeBefore,o=n,l=e.pos-1;for(;!o.isTextblock;l--){if(o.type.spec.isolating)return!1;let s=o.lastChild;if(!s)return!1;o=s}let i=e.nodeAfter,f=i,c=e.pos+1;for(;!f.isTextblock;c++){if(f.type.spec.isolating)return!1;let s=f.firstChild;if(!s)return!1;f=s}let p=B(t.doc,l,c,y.empty);if(!p||p.from!=l||p instanceof U&&p.slice.size>=c-l)return!1;if(r){let s=t.tr.step(p);s.setSelection(I.create(s.doc,l)),r(s.scrollIntoView())}return!0}function x(t,e,r=!1){for(let n=t;n;n=e=="start"?n.firstChild:n.lastChild){if(n.isTextblock)return!0;if(r&&n.childCount!=1)return!1}return!1}const H=(t,e,r)=>{let{$head:n,empty:o}=t.selection,l=n;if(!o)return!1;if(n.parent.isTextblock){if(r?!r.endOfTextblock("backward",t):n.parentOffset>0)return!1;l=z(n)}let i=l&&l.nodeBefore;return!i||!d.isSelectable(i)?!1:(e&&e(t.tr.setSelection(d.create(t.doc,l.pos-i.nodeSize)).scrollIntoView()),!0)};function z(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function W(t,e){let{$cursor:r}=t.selection;return!r||(e?!e.endOfTextblock("forward",t):r.parentOffset<r.parent.content.size)?null:r}const K=(t,e,r)=>{let n=W(t,r);if(!n)return!1;let o=R(n);if(!o)return!1;let l=o.nodeAfter;if(D(t,o,e,1))return!0;if(n.parent.content.size==0&&(x(l,"start")||d.isSelectable(l))){let i=B(t.doc,n.before(),n.after(),y.empty);if(i&&i.slice.size<i.to-i.from){if(e){let f=t.tr.step(i);f.setSelection(x(l,"start")?V.findFrom(f.doc.resolve(f.mapping.map(o.pos)),1):d.create(f.doc,f.mapping.map(o.pos))),e(f.scrollIntoView())}return!0}}return l.isAtom&&o.depth==n.depth-1?(e&&e(t.tr.delete(o.pos,o.pos+l.nodeSize).scrollIntoView()),!0):!1},L=(t,e,r)=>{let{$head:n,empty:o}=t.selection,l=n;if(!o)return!1;if(n.parent.isTextblock){if(r?!r.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)return!1;l=R(n)}let i=l&&l.nodeAfter;return!i||!d.isSelectable(i)?!1:(e&&e(t.tr.setSelection(d.create(t.doc,l.pos)).scrollIntoView()),!0)};function R(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let r=t.node(e);if(t.index(e)+1<r.childCount)return t.doc.resolve(t.after(e+1));if(r.type.spec.isolating)break}return null}const ie=(t,e)=>{let r=t.selection,n=r instanceof d,o;if(n){if(r.node.isTextblock||!A(t.doc,r.from))return!1;o=r.from}else if(o=F(t.doc,r.from,-1),o==null)return!1;if(e){let l=t.tr.join(o);n&&l.setSelection(d.create(l.doc,o-t.doc.resolve(o).nodeBefore.nodeSize)),e(l.scrollIntoView())}return!0},fe=(t,e)=>{let r=t.selection,n;if(r instanceof d){if(r.node.isTextblock||!A(t.doc,r.to))return!1;n=r.to}else if(n=F(t.doc,r.to,1),n==null)return!1;return e&&e(t.tr.join(n).scrollIntoView()),!0},ce=(t,e)=>{let{$from:r,$to:n}=t.selection,o=r.blockRange(n),l=o&&T(o);return l==null?!1:(e&&e(t.tr.lift(o,l).scrollIntoView()),!0)},Q=(t,e)=>{let{$head:r,$anchor:n}=t.selection;return!r.parent.type.spec.code||!r.sameParent(n)?!1:(e&&e(t.tr.insertText(`
|
|
2
|
-
`).scrollIntoView()),!0)};function j(t){for(let e=0;e<t.edgeCount;e++){let{type:r}=t.edge(e);if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}const se=(t,e)=>{let{$head:r,$anchor:n}=t.selection;if(!r.parent.type.spec.code||!r.sameParent(n))return!1;let o=r.node(-1),l=r.indexAfter(-1),i=j(o.contentMatchAt(l));if(!i||!o.canReplaceWith(l,l,i))return!1;if(e){let f=r.after(),c=t.tr.replaceWith(f,f,i.createAndFill());c.setSelection(V.near(c.doc.resolve(f),1)),e(c.scrollIntoView())}return!0},X=(t,e)=>{let r=t.selection,{$from:n,$to:o}=r;if(r instanceof P||n.parent.inlineContent||o.parent.inlineContent)return!1;let l=j(o.parent.contentMatchAt(o.indexAfter()));if(!l||!l.isTextblock)return!1;if(e){let i=(!n.parentOffset&&o.index()<o.parent.childCount?n:o).pos,f=t.tr.insert(i,l.createAndFill());f.setSelection(I.create(f.doc,i+1)),e(f.scrollIntoView())}return!0},Y=(t,e)=>{let{$cursor:r}=t.selection;if(!r||r.parent.content.size)return!1;if(r.depth>1&&r.after()!=r.end(-1)){let l=r.before();if(h(t.doc,l))return e&&e(t.tr.split(l).scrollIntoView()),!0}let n=r.blockRange(),o=n&&T(n);return o==null?!1:(e&&e(t.tr.lift(n,o).scrollIntoView()),!0)};function Z(t){return(e,r)=>{let{$from:n,$to:o}=e.selection;if(e.selection instanceof d&&e.selection.node.isBlock)return!n.parentOffset||!h(e.doc,n.pos)?!1:(r&&r(e.tr.split(n.pos).scrollIntoView()),!0);if(!n.depth)return!1;let l=[],i,f,c=!1,p=!1;for(let u=n.depth;;u--)if(n.node(u).isBlock){c=n.end(u)==n.pos+(n.depth-u),p=n.start(u)==n.pos-(n.depth-u),f=j(n.node(u-1).contentMatchAt(n.indexAfter(u-1))),l.unshift(c&&f?{type:f}:null),i=u;break}else{if(u==1)return!1;l.unshift(null)}let s=e.tr;(e.selection instanceof I||e.selection instanceof P)&&s.deleteSelection();let m=s.mapping.map(n.pos),k=h(s.doc,m,l.length,l);if(k||(l[0]=f?{type:f}:null,k=h(s.doc,m,l.length,l)),!k)return!1;if(s.split(m,l.length,l),!c&&p&&n.node(i).type!=f){let u=s.mapping.map(n.before(i)),a=s.doc.resolve(u);f&&n.node(i-1).canReplaceWith(a.index(),a.index()+1,f)&&s.setNodeMarkup(s.mapping.map(n.before(i)),f)}return r&&r(s.scrollIntoView()),!0}}const _=Z(),ue=(t,e)=>{let{$from:r,to:n}=t.selection,o,l=r.sharedDepth(n);return l==0?!1:(o=r.before(l),e&&e(t.tr.setSelection(d.create(t.doc,o))),!0)};function ee(t,e,r){let n=e.nodeBefore,o=e.nodeAfter,l=e.index();return!n||!o||!n.type.compatibleContent(o.type)?!1:!n.content.size&&e.parent.canReplace(l-1,l)?(r&&r(t.tr.delete(e.pos-n.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(l,l+1)||!(o.isTextblock||A(t.doc,e.pos))?!1:(r&&r(t.tr.join(e.pos).scrollIntoView()),!0)}function D(t,e,r,n){let o=e.nodeBefore,l=e.nodeAfter,i,f,c=o.type.spec.isolating||l.type.spec.isolating;if(!c&&ee(t,e,r))return!0;let p=!c&&e.parent.canReplace(e.index(),e.index()+1);if(p&&(i=(f=o.contentMatchAt(o.childCount)).findWrapping(l.type))&&f.matchType(i[0]||l.type).validEnd){if(r){let u=e.pos+l.nodeSize,a=S.empty;for(let w=i.length-1;w>=0;w--)a=S.from(i[w].create(null,a));a=S.from(o.copy(a));let b=t.tr.step(new v(e.pos-1,u,e.pos,u,new y(a,1,0),i.length,!0)),g=b.doc.resolve(u+2*i.length);g.nodeAfter&&g.nodeAfter.type==o.type&&A(b.doc,g.pos)&&b.join(g.pos),r(b.scrollIntoView())}return!0}let s=l.type.spec.isolating||n>0&&c?null:V.findFrom(e,1),m=s&&s.$from.blockRange(s.$to),k=m&&T(m);if(k!=null&&k>=e.depth)return r&&r(t.tr.lift(m,k).scrollIntoView()),!0;if(p&&x(l,"start",!0)&&x(o,"end")){let u=o,a=[];for(;a.push(u),!u.isTextblock;)u=u.lastChild;let b=l,g=1;for(;!b.isTextblock;b=b.firstChild)g++;if(u.canReplace(u.childCount,u.childCount,b.content)){if(r){let w=S.empty;for(let C=a.length-1;C>=0;C--)w=S.from(a[C].copy(w));let q=t.tr.step(new v(e.pos-a.length,e.pos+l.nodeSize,e.pos+g,e.pos+l.nodeSize-g,new y(w,a.length,0),0,!0));r(q.scrollIntoView())}return!0}}return!1}function $(t){return function(e,r){let n=e.selection,o=t<0?n.$from:n.$to,l=o.depth;for(;o.node(l).isInline;){if(!l)return!1;l--}return o.node(l).isTextblock?(r&&r(e.tr.setSelection(I.create(e.doc,t<0?o.start(l):o.end(l)))),!0):!1}}const ae=$(-1),pe=$(1);function de(t,e=null){return function(r,n){let{$from:o,$to:l}=r.selection,i=o.blockRange(l),f=i&&J(i,t,e);return f?(n&&n(r.tr.wrap(i,f).scrollIntoView()),!0):!1}}function me(t,e=null){return function(r,n){let o=!1;for(let l=0;l<r.selection.ranges.length&&!o;l++){let{$from:{pos:i},$to:{pos:f}}=r.selection.ranges[l];r.doc.nodesBetween(i,f,(c,p)=>{if(o)return!1;if(!(!c.isTextblock||c.hasMarkup(t,e)))if(c.type==t)o=!0;else{let s=r.doc.resolve(p),m=s.index();o=s.parent.canReplaceWith(m,m+1,t)}})}if(!o)return!1;if(n){let l=r.tr;for(let i=0;i<r.selection.ranges.length;i++){let{$from:{pos:f},$to:{pos:c}}=r.selection.ranges[i];l.setBlockType(f,c,t,e)}n(l.scrollIntoView())}return!0}}function O(...t){return function(e,r,n){for(let o=0;o<t.length;o++)if(t[o](e,r,n))return!0;return!1}}O(M,G,H);O(M,K,L);O(Q,X,Y,_);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";export{O as chainCommands,X as createParagraphNear,M as deleteSelection,se as exitCode,G as joinBackward,fe as joinDown,K as joinForward,oe as joinTextblockBackward,le as joinTextblockForward,ie as joinUp,ce as lift,Y as liftEmptyBlock,Q as newlineInCode,H as selectNodeBackward,L as selectNodeForward,ue as selectParentNode,pe as selectTextblockEnd,ae as selectTextblockStart,me as setBlockType,_ as splitBlock,Z as splitBlockAs,de as wrapIn};
|
|
3
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/prosemirror-commands/dist/index.js"],"sourcesContent":["import { liftTarget, replaceStep, ReplaceStep, canJoin, joinPoint, canSplit, ReplaceAroundStep, findWrapping } from 'prosemirror-transform';\nimport { Slice, Fragment } from 'prosemirror-model';\nimport { NodeSelection, Selection, TextSelection, AllSelection, SelectionRange } from 'prosemirror-state';\n\n/**\nDelete the selection, if there is one.\n*/\nconst deleteSelection = (state, dispatch) => {\n if (state.selection.empty)\n return false;\n if (dispatch)\n dispatch(state.tr.deleteSelection().scrollIntoView());\n return true;\n};\nfunction atBlockStart(state, view) {\n let { $cursor } = state.selection;\n if (!$cursor || (view ? !view.endOfTextblock(\"backward\", state)\n : $cursor.parentOffset > 0))\n return null;\n return $cursor;\n}\n/**\nIf the selection is empty and at the start of a textblock, try to\nreduce the distance between that block and the one before it—if\nthere's a block directly before it that can be joined, join them.\nIf not, try to move the selected block closer to the next one in\nthe document structure by lifting it out of its parent or moving it\ninto a parent of the previous block. Will use the view for accurate\n(bidi-aware) start-of-textblock detection if given.\n*/\nconst joinBackward = (state, dispatch, view) => {\n let $cursor = atBlockStart(state, view);\n if (!$cursor)\n return false;\n let $cut = findCutBefore($cursor);\n // If there is no node before this, try to lift\n if (!$cut) {\n let range = $cursor.blockRange(), target = range && liftTarget(range);\n if (target == null)\n return false;\n if (dispatch)\n dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n }\n let before = $cut.nodeBefore;\n // Apply the joining algorithm\n if (deleteBarrier(state, $cut, dispatch, -1))\n return true;\n // If the node below has no content and the node above is\n // selectable, delete the node below and select the one above.\n if ($cursor.parent.content.size == 0 &&\n (textblockAt(before, \"end\") || NodeSelection.isSelectable(before))) {\n for (let depth = $cursor.depth;; depth--) {\n let delStep = replaceStep(state.doc, $cursor.before(depth), $cursor.after(depth), Slice.empty);\n if (delStep && delStep.slice.size < delStep.to - delStep.from) {\n if (dispatch) {\n let tr = state.tr.step(delStep);\n tr.setSelection(textblockAt(before, \"end\")\n ? Selection.findFrom(tr.doc.resolve(tr.mapping.map($cut.pos, -1)), -1)\n : NodeSelection.create(tr.doc, $cut.pos - before.nodeSize));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n if (depth == 1 || $cursor.node(depth - 1).childCount > 1)\n break;\n }\n }\n // If the node before is an atom, delete it\n if (before.isAtom && $cut.depth == $cursor.depth - 1) {\n if (dispatch)\n dispatch(state.tr.delete($cut.pos - before.nodeSize, $cut.pos).scrollIntoView());\n return true;\n }\n return false;\n};\n/**\nA more limited form of [`joinBackward`](https://prosemirror.net/docs/ref/#commands.joinBackward)\nthat only tries to join the current textblock to the one before\nit, if the cursor is at the start of a textblock.\n*/\nconst joinTextblockBackward = (state, dispatch, view) => {\n let $cursor = atBlockStart(state, view);\n if (!$cursor)\n return false;\n let $cut = findCutBefore($cursor);\n return $cut ? joinTextblocksAround(state, $cut, dispatch) : false;\n};\n/**\nA more limited form of [`joinForward`](https://prosemirror.net/docs/ref/#commands.joinForward)\nthat only tries to join the current textblock to the one after\nit, if the cursor is at the end of a textblock.\n*/\nconst joinTextblockForward = (state, dispatch, view) => {\n let $cursor = atBlockEnd(state, view);\n if (!$cursor)\n return false;\n let $cut = findCutAfter($cursor);\n return $cut ? joinTextblocksAround(state, $cut, dispatch) : false;\n};\nfunction joinTextblocksAround(state, $cut, dispatch) {\n let before = $cut.nodeBefore, beforeText = before, beforePos = $cut.pos - 1;\n for (; !beforeText.isTextblock; beforePos--) {\n if (beforeText.type.spec.isolating)\n return false;\n let child = beforeText.lastChild;\n if (!child)\n return false;\n beforeText = child;\n }\n let after = $cut.nodeAfter, afterText = after, afterPos = $cut.pos + 1;\n for (; !afterText.isTextblock; afterPos++) {\n if (afterText.type.spec.isolating)\n return false;\n let child = afterText.firstChild;\n if (!child)\n return false;\n afterText = child;\n }\n let step = replaceStep(state.doc, beforePos, afterPos, Slice.empty);\n if (!step || step.from != beforePos ||\n step instanceof ReplaceStep && step.slice.size >= afterPos - beforePos)\n return false;\n if (dispatch) {\n let tr = state.tr.step(step);\n tr.setSelection(TextSelection.create(tr.doc, beforePos));\n dispatch(tr.scrollIntoView());\n }\n return true;\n}\nfunction textblockAt(node, side, only = false) {\n for (let scan = node; scan; scan = (side == \"start\" ? scan.firstChild : scan.lastChild)) {\n if (scan.isTextblock)\n return true;\n if (only && scan.childCount != 1)\n return false;\n }\n return false;\n}\n/**\nWhen the selection is empty and at the start of a textblock, select\nthe node before that textblock, if possible. This is intended to be\nbound to keys like backspace, after\n[`joinBackward`](https://prosemirror.net/docs/ref/#commands.joinBackward) or other deleting\ncommands, as a fall-back behavior when the schema doesn't allow\ndeletion at the selected point.\n*/\nconst selectNodeBackward = (state, dispatch, view) => {\n let { $head, empty } = state.selection, $cut = $head;\n if (!empty)\n return false;\n if ($head.parent.isTextblock) {\n if (view ? !view.endOfTextblock(\"backward\", state) : $head.parentOffset > 0)\n return false;\n $cut = findCutBefore($head);\n }\n let node = $cut && $cut.nodeBefore;\n if (!node || !NodeSelection.isSelectable(node))\n return false;\n if (dispatch)\n dispatch(state.tr.setSelection(NodeSelection.create(state.doc, $cut.pos - node.nodeSize)).scrollIntoView());\n return true;\n};\nfunction findCutBefore($pos) {\n if (!$pos.parent.type.spec.isolating)\n for (let i = $pos.depth - 1; i >= 0; i--) {\n if ($pos.index(i) > 0)\n return $pos.doc.resolve($pos.before(i + 1));\n if ($pos.node(i).type.spec.isolating)\n break;\n }\n return null;\n}\nfunction atBlockEnd(state, view) {\n let { $cursor } = state.selection;\n if (!$cursor || (view ? !view.endOfTextblock(\"forward\", state)\n : $cursor.parentOffset < $cursor.parent.content.size))\n return null;\n return $cursor;\n}\n/**\nIf the selection is empty and the cursor is at the end of a\ntextblock, try to reduce or remove the boundary between that block\nand the one after it, either by joining them or by moving the other\nblock closer to this one in the tree structure. Will use the view\nfor accurate start-of-textblock detection if given.\n*/\nconst joinForward = (state, dispatch, view) => {\n let $cursor = atBlockEnd(state, view);\n if (!$cursor)\n return false;\n let $cut = findCutAfter($cursor);\n // If there is no node after this, there's nothing to do\n if (!$cut)\n return false;\n let after = $cut.nodeAfter;\n // Try the joining algorithm\n if (deleteBarrier(state, $cut, dispatch, 1))\n return true;\n // If the node above has no content and the node below is\n // selectable, delete the node above and select the one below.\n if ($cursor.parent.content.size == 0 &&\n (textblockAt(after, \"start\") || NodeSelection.isSelectable(after))) {\n let delStep = replaceStep(state.doc, $cursor.before(), $cursor.after(), Slice.empty);\n if (delStep && delStep.slice.size < delStep.to - delStep.from) {\n if (dispatch) {\n let tr = state.tr.step(delStep);\n tr.setSelection(textblockAt(after, \"start\") ? Selection.findFrom(tr.doc.resolve(tr.mapping.map($cut.pos)), 1)\n : NodeSelection.create(tr.doc, tr.mapping.map($cut.pos)));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n }\n // If the next node is an atom, delete it\n if (after.isAtom && $cut.depth == $cursor.depth - 1) {\n if (dispatch)\n dispatch(state.tr.delete($cut.pos, $cut.pos + after.nodeSize).scrollIntoView());\n return true;\n }\n return false;\n};\n/**\nWhen the selection is empty and at the end of a textblock, select\nthe node coming after that textblock, if possible. This is intended\nto be bound to keys like delete, after\n[`joinForward`](https://prosemirror.net/docs/ref/#commands.joinForward) and similar deleting\ncommands, to provide a fall-back behavior when the schema doesn't\nallow deletion at the selected point.\n*/\nconst selectNodeForward = (state, dispatch, view) => {\n let { $head, empty } = state.selection, $cut = $head;\n if (!empty)\n return false;\n if ($head.parent.isTextblock) {\n if (view ? !view.endOfTextblock(\"forward\", state) : $head.parentOffset < $head.parent.content.size)\n return false;\n $cut = findCutAfter($head);\n }\n let node = $cut && $cut.nodeAfter;\n if (!node || !NodeSelection.isSelectable(node))\n return false;\n if (dispatch)\n dispatch(state.tr.setSelection(NodeSelection.create(state.doc, $cut.pos)).scrollIntoView());\n return true;\n};\nfunction findCutAfter($pos) {\n if (!$pos.parent.type.spec.isolating)\n for (let i = $pos.depth - 1; i >= 0; i--) {\n let parent = $pos.node(i);\n if ($pos.index(i) + 1 < parent.childCount)\n return $pos.doc.resolve($pos.after(i + 1));\n if (parent.type.spec.isolating)\n break;\n }\n return null;\n}\n/**\nJoin the selected block or, if there is a text selection, the\nclosest ancestor block of the selection that can be joined, with\nthe sibling above it.\n*/\nconst joinUp = (state, dispatch) => {\n let sel = state.selection, nodeSel = sel instanceof NodeSelection, point;\n if (nodeSel) {\n if (sel.node.isTextblock || !canJoin(state.doc, sel.from))\n return false;\n point = sel.from;\n }\n else {\n point = joinPoint(state.doc, sel.from, -1);\n if (point == null)\n return false;\n }\n if (dispatch) {\n let tr = state.tr.join(point);\n if (nodeSel)\n tr.setSelection(NodeSelection.create(tr.doc, point - state.doc.resolve(point).nodeBefore.nodeSize));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nJoin the selected block, or the closest ancestor of the selection\nthat can be joined, with the sibling after it.\n*/\nconst joinDown = (state, dispatch) => {\n let sel = state.selection, point;\n if (sel instanceof NodeSelection) {\n if (sel.node.isTextblock || !canJoin(state.doc, sel.to))\n return false;\n point = sel.to;\n }\n else {\n point = joinPoint(state.doc, sel.to, 1);\n if (point == null)\n return false;\n }\n if (dispatch)\n dispatch(state.tr.join(point).scrollIntoView());\n return true;\n};\n/**\nLift the selected block, or the closest ancestor block of the\nselection that can be lifted, out of its parent node.\n*/\nconst lift = (state, dispatch) => {\n let { $from, $to } = state.selection;\n let range = $from.blockRange($to), target = range && liftTarget(range);\n if (target == null)\n return false;\n if (dispatch)\n dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n};\n/**\nIf the selection is in a node whose type has a truthy\n[`code`](https://prosemirror.net/docs/ref/#model.NodeSpec.code) property in its spec, replace the\nselection with a newline character.\n*/\nconst newlineInCode = (state, dispatch) => {\n let { $head, $anchor } = state.selection;\n if (!$head.parent.type.spec.code || !$head.sameParent($anchor))\n return false;\n if (dispatch)\n dispatch(state.tr.insertText(\"\\n\").scrollIntoView());\n return true;\n};\nfunction defaultBlockAt(match) {\n for (let i = 0; i < match.edgeCount; i++) {\n let { type } = match.edge(i);\n if (type.isTextblock && !type.hasRequiredAttrs())\n return type;\n }\n return null;\n}\n/**\nWhen the selection is in a node with a truthy\n[`code`](https://prosemirror.net/docs/ref/#model.NodeSpec.code) property in its spec, create a\ndefault block after the code block, and move the cursor there.\n*/\nconst exitCode = (state, dispatch) => {\n let { $head, $anchor } = state.selection;\n if (!$head.parent.type.spec.code || !$head.sameParent($anchor))\n return false;\n let above = $head.node(-1), after = $head.indexAfter(-1), type = defaultBlockAt(above.contentMatchAt(after));\n if (!type || !above.canReplaceWith(after, after, type))\n return false;\n if (dispatch) {\n let pos = $head.after(), tr = state.tr.replaceWith(pos, pos, type.createAndFill());\n tr.setSelection(Selection.near(tr.doc.resolve(pos), 1));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nIf a block node is selected, create an empty paragraph before (if\nit is its parent's first child) or after it.\n*/\nconst createParagraphNear = (state, dispatch) => {\n let sel = state.selection, { $from, $to } = sel;\n if (sel instanceof AllSelection || $from.parent.inlineContent || $to.parent.inlineContent)\n return false;\n let type = defaultBlockAt($to.parent.contentMatchAt($to.indexAfter()));\n if (!type || !type.isTextblock)\n return false;\n if (dispatch) {\n let side = (!$from.parentOffset && $to.index() < $to.parent.childCount ? $from : $to).pos;\n let tr = state.tr.insert(side, type.createAndFill());\n tr.setSelection(TextSelection.create(tr.doc, side + 1));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nIf the cursor is in an empty textblock that can be lifted, lift the\nblock.\n*/\nconst liftEmptyBlock = (state, dispatch) => {\n let { $cursor } = state.selection;\n if (!$cursor || $cursor.parent.content.size)\n return false;\n if ($cursor.depth > 1 && $cursor.after() != $cursor.end(-1)) {\n let before = $cursor.before();\n if (canSplit(state.doc, before)) {\n if (dispatch)\n dispatch(state.tr.split(before).scrollIntoView());\n return true;\n }\n }\n let range = $cursor.blockRange(), target = range && liftTarget(range);\n if (target == null)\n return false;\n if (dispatch)\n dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n};\n/**\nCreate a variant of [`splitBlock`](https://prosemirror.net/docs/ref/#commands.splitBlock) that uses\na custom function to determine the type of the newly split off block.\n*/\nfunction splitBlockAs(splitNode) {\n return (state, dispatch) => {\n let { $from, $to } = state.selection;\n if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {\n if (!$from.parentOffset || !canSplit(state.doc, $from.pos))\n return false;\n if (dispatch)\n dispatch(state.tr.split($from.pos).scrollIntoView());\n return true;\n }\n if (!$from.depth)\n return false;\n let types = [];\n let splitDepth, deflt, atEnd = false, atStart = false;\n for (let d = $from.depth;; d--) {\n let node = $from.node(d);\n if (node.isBlock) {\n atEnd = $from.end(d) == $from.pos + ($from.depth - d);\n atStart = $from.start(d) == $from.pos - ($from.depth - d);\n deflt = defaultBlockAt($from.node(d - 1).contentMatchAt($from.indexAfter(d - 1)));\n let splitType = splitNode && splitNode($to.parent, atEnd, $from);\n types.unshift(splitType || (atEnd && deflt ? { type: deflt } : null));\n splitDepth = d;\n break;\n }\n else {\n if (d == 1)\n return false;\n types.unshift(null);\n }\n }\n let tr = state.tr;\n if (state.selection instanceof TextSelection || state.selection instanceof AllSelection)\n tr.deleteSelection();\n let splitPos = tr.mapping.map($from.pos);\n let can = canSplit(tr.doc, splitPos, types.length, types);\n if (!can) {\n types[0] = deflt ? { type: deflt } : null;\n can = canSplit(tr.doc, splitPos, types.length, types);\n }\n if (!can)\n return false;\n tr.split(splitPos, types.length, types);\n if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {\n let first = tr.mapping.map($from.before(splitDepth)), $first = tr.doc.resolve(first);\n if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt))\n tr.setNodeMarkup(tr.mapping.map($from.before(splitDepth)), deflt);\n }\n if (dispatch)\n dispatch(tr.scrollIntoView());\n return true;\n };\n}\n/**\nSplit the parent block of the selection. If the selection is a text\nselection, also delete its content.\n*/\nconst splitBlock = splitBlockAs();\n/**\nActs like [`splitBlock`](https://prosemirror.net/docs/ref/#commands.splitBlock), but without\nresetting the set of active marks at the cursor.\n*/\nconst splitBlockKeepMarks = (state, dispatch) => {\n return splitBlock(state, dispatch && (tr => {\n let marks = state.storedMarks || (state.selection.$to.parentOffset && state.selection.$from.marks());\n if (marks)\n tr.ensureMarks(marks);\n dispatch(tr);\n }));\n};\n/**\nMove the selection to the node wrapping the current selection, if\nany. (Will not select the document node.)\n*/\nconst selectParentNode = (state, dispatch) => {\n let { $from, to } = state.selection, pos;\n let same = $from.sharedDepth(to);\n if (same == 0)\n return false;\n pos = $from.before(same);\n if (dispatch)\n dispatch(state.tr.setSelection(NodeSelection.create(state.doc, pos)));\n return true;\n};\n/**\nSelect the whole document.\n*/\nconst selectAll = (state, dispatch) => {\n if (dispatch)\n dispatch(state.tr.setSelection(new AllSelection(state.doc)));\n return true;\n};\nfunction joinMaybeClear(state, $pos, dispatch) {\n let before = $pos.nodeBefore, after = $pos.nodeAfter, index = $pos.index();\n if (!before || !after || !before.type.compatibleContent(after.type))\n return false;\n if (!before.content.size && $pos.parent.canReplace(index - 1, index)) {\n if (dispatch)\n dispatch(state.tr.delete($pos.pos - before.nodeSize, $pos.pos).scrollIntoView());\n return true;\n }\n if (!$pos.parent.canReplace(index, index + 1) || !(after.isTextblock || canJoin(state.doc, $pos.pos)))\n return false;\n if (dispatch)\n dispatch(state.tr.join($pos.pos).scrollIntoView());\n return true;\n}\nfunction deleteBarrier(state, $cut, dispatch, dir) {\n let before = $cut.nodeBefore, after = $cut.nodeAfter, conn, match;\n let isolated = before.type.spec.isolating || after.type.spec.isolating;\n if (!isolated && joinMaybeClear(state, $cut, dispatch))\n return true;\n let canDelAfter = !isolated && $cut.parent.canReplace($cut.index(), $cut.index() + 1);\n if (canDelAfter &&\n (conn = (match = before.contentMatchAt(before.childCount)).findWrapping(after.type)) &&\n match.matchType(conn[0] || after.type).validEnd) {\n if (dispatch) {\n let end = $cut.pos + after.nodeSize, wrap = Fragment.empty;\n for (let i = conn.length - 1; i >= 0; i--)\n wrap = Fragment.from(conn[i].create(null, wrap));\n wrap = Fragment.from(before.copy(wrap));\n let tr = state.tr.step(new ReplaceAroundStep($cut.pos - 1, end, $cut.pos, end, new Slice(wrap, 1, 0), conn.length, true));\n let $joinAt = tr.doc.resolve(end + 2 * conn.length);\n if ($joinAt.nodeAfter && $joinAt.nodeAfter.type == before.type &&\n canJoin(tr.doc, $joinAt.pos))\n tr.join($joinAt.pos);\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n let selAfter = after.type.spec.isolating || (dir > 0 && isolated) ? null : Selection.findFrom($cut, 1);\n let range = selAfter && selAfter.$from.blockRange(selAfter.$to), target = range && liftTarget(range);\n if (target != null && target >= $cut.depth) {\n if (dispatch)\n dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n }\n if (canDelAfter && textblockAt(after, \"start\", true) && textblockAt(before, \"end\")) {\n let at = before, wrap = [];\n for (;;) {\n wrap.push(at);\n if (at.isTextblock)\n break;\n at = at.lastChild;\n }\n let afterText = after, afterDepth = 1;\n for (; !afterText.isTextblock; afterText = afterText.firstChild)\n afterDepth++;\n if (at.canReplace(at.childCount, at.childCount, afterText.content)) {\n if (dispatch) {\n let end = Fragment.empty;\n for (let i = wrap.length - 1; i >= 0; i--)\n end = Fragment.from(wrap[i].copy(end));\n let tr = state.tr.step(new ReplaceAroundStep($cut.pos - wrap.length, $cut.pos + after.nodeSize, $cut.pos + afterDepth, $cut.pos + after.nodeSize - afterDepth, new Slice(end, wrap.length, 0), 0, true));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n }\n return false;\n}\nfunction selectTextblockSide(side) {\n return function (state, dispatch) {\n let sel = state.selection, $pos = side < 0 ? sel.$from : sel.$to;\n let depth = $pos.depth;\n while ($pos.node(depth).isInline) {\n if (!depth)\n return false;\n depth--;\n }\n if (!$pos.node(depth).isTextblock)\n return false;\n if (dispatch)\n dispatch(state.tr.setSelection(TextSelection.create(state.doc, side < 0 ? $pos.start(depth) : $pos.end(depth))));\n return true;\n };\n}\n/**\nMoves the cursor to the start of current text block.\n*/\nconst selectTextblockStart = selectTextblockSide(-1);\n/**\nMoves the cursor to the end of current text block.\n*/\nconst selectTextblockEnd = selectTextblockSide(1);\n// Parameterized commands\n/**\nWrap the selection in a node of the given type with the given\nattributes.\n*/\nfunction wrapIn(nodeType, attrs = null) {\n return function (state, dispatch) {\n let { $from, $to } = state.selection;\n let range = $from.blockRange($to), wrapping = range && findWrapping(range, nodeType, attrs);\n if (!wrapping)\n return false;\n if (dispatch)\n dispatch(state.tr.wrap(range, wrapping).scrollIntoView());\n return true;\n };\n}\n/**\nReturns a command that tries to set the selected textblocks to the\ngiven node type with the given attributes.\n*/\nfunction setBlockType(nodeType, attrs = null) {\n return function (state, dispatch) {\n let applicable = false;\n for (let i = 0; i < state.selection.ranges.length && !applicable; i++) {\n let { $from: { pos: from }, $to: { pos: to } } = state.selection.ranges[i];\n state.doc.nodesBetween(from, to, (node, pos) => {\n if (applicable)\n return false;\n if (!node.isTextblock || node.hasMarkup(nodeType, attrs))\n return;\n if (node.type == nodeType) {\n applicable = true;\n }\n else {\n let $pos = state.doc.resolve(pos), index = $pos.index();\n applicable = $pos.parent.canReplaceWith(index, index + 1, nodeType);\n }\n });\n }\n if (!applicable)\n return false;\n if (dispatch) {\n let tr = state.tr;\n for (let i = 0; i < state.selection.ranges.length; i++) {\n let { $from: { pos: from }, $to: { pos: to } } = state.selection.ranges[i];\n tr.setBlockType(from, to, nodeType, attrs);\n }\n dispatch(tr.scrollIntoView());\n }\n return true;\n };\n}\nfunction markApplies(doc, ranges, type, enterAtoms) {\n for (let i = 0; i < ranges.length; i++) {\n let { $from, $to } = ranges[i];\n let can = $from.depth == 0 ? doc.inlineContent && doc.type.allowsMarkType(type) : false;\n doc.nodesBetween($from.pos, $to.pos, (node, pos) => {\n if (can || !enterAtoms && node.isAtom && node.isInline && pos >= $from.pos && pos + node.nodeSize <= $to.pos)\n return false;\n can = node.inlineContent && node.type.allowsMarkType(type);\n });\n if (can)\n return true;\n }\n return false;\n}\nfunction removeInlineAtoms(ranges) {\n let result = [];\n for (let i = 0; i < ranges.length; i++) {\n let { $from, $to } = ranges[i];\n $from.doc.nodesBetween($from.pos, $to.pos, (node, pos) => {\n if (node.isAtom && node.content.size && node.isInline && pos >= $from.pos && pos + node.nodeSize <= $to.pos) {\n if (pos + 1 > $from.pos)\n result.push(new SelectionRange($from, $from.doc.resolve(pos + 1)));\n $from = $from.doc.resolve(pos + 1 + node.content.size);\n return false;\n }\n });\n if ($from.pos < $to.pos)\n result.push(new SelectionRange($from, $to));\n }\n return result;\n}\n/**\nCreate a command function that toggles the given mark with the\ngiven attributes. Will return `false` when the current selection\ndoesn't support that mark. This will remove the mark if any marks\nof that type exist in the selection, or add it otherwise. If the\nselection is empty, this applies to the [stored\nmarks](https://prosemirror.net/docs/ref/#state.EditorState.storedMarks) instead of a range of the\ndocument.\n*/\nfunction toggleMark(markType, attrs = null, options) {\n let removeWhenPresent = (options && options.removeWhenPresent) !== false;\n let enterAtoms = (options && options.enterInlineAtoms) !== false;\n let dropSpace = !(options && options.includeWhitespace);\n return function (state, dispatch) {\n let { empty, $cursor, ranges } = state.selection;\n if ((empty && !$cursor) || !markApplies(state.doc, ranges, markType, enterAtoms))\n return false;\n if (dispatch) {\n if ($cursor) {\n if (markType.isInSet(state.storedMarks || $cursor.marks()))\n dispatch(state.tr.removeStoredMark(markType));\n else\n dispatch(state.tr.addStoredMark(markType.create(attrs)));\n }\n else {\n let add, tr = state.tr;\n if (!enterAtoms)\n ranges = removeInlineAtoms(ranges);\n if (removeWhenPresent) {\n add = !ranges.some(r => state.doc.rangeHasMark(r.$from.pos, r.$to.pos, markType));\n }\n else {\n add = !ranges.every(r => {\n let missing = false;\n tr.doc.nodesBetween(r.$from.pos, r.$to.pos, (node, pos, parent) => {\n if (missing)\n return false;\n missing = !markType.isInSet(node.marks) && !!parent && parent.type.allowsMarkType(markType) &&\n !(node.isText && /^\\s*$/.test(node.textBetween(Math.max(0, r.$from.pos - pos), Math.min(node.nodeSize, r.$to.pos - pos))));\n });\n return !missing;\n });\n }\n for (let i = 0; i < ranges.length; i++) {\n let { $from, $to } = ranges[i];\n if (!add) {\n tr.removeMark($from.pos, $to.pos, markType);\n }\n else {\n let from = $from.pos, to = $to.pos, start = $from.nodeAfter, end = $to.nodeBefore;\n let spaceStart = dropSpace && start && start.isText ? /^\\s*/.exec(start.text)[0].length : 0;\n let spaceEnd = dropSpace && end && end.isText ? /\\s*$/.exec(end.text)[0].length : 0;\n if (from + spaceStart < to) {\n from += spaceStart;\n to -= spaceEnd;\n }\n tr.addMark(from, to, markType.create(attrs));\n }\n }\n dispatch(tr.scrollIntoView());\n }\n }\n return true;\n };\n}\nfunction wrapDispatchForJoin(dispatch, isJoinable) {\n return (tr) => {\n if (!tr.isGeneric)\n return dispatch(tr);\n let ranges = [];\n for (let i = 0; i < tr.mapping.maps.length; i++) {\n let map = tr.mapping.maps[i];\n for (let j = 0; j < ranges.length; j++)\n ranges[j] = map.map(ranges[j]);\n map.forEach((_s, _e, from, to) => ranges.push(from, to));\n }\n // Figure out which joinable points exist inside those ranges,\n // by checking all node boundaries in their parent nodes.\n let joinable = [];\n for (let i = 0; i < ranges.length; i += 2) {\n let from = ranges[i], to = ranges[i + 1];\n let $from = tr.doc.resolve(from), depth = $from.sharedDepth(to), parent = $from.node(depth);\n for (let index = $from.indexAfter(depth), pos = $from.after(depth + 1); pos <= to; ++index) {\n let after = parent.maybeChild(index);\n if (!after)\n break;\n if (index && joinable.indexOf(pos) == -1) {\n let before = parent.child(index - 1);\n if (before.type == after.type && isJoinable(before, after))\n joinable.push(pos);\n }\n pos += after.nodeSize;\n }\n }\n // Join the joinable points\n joinable.sort((a, b) => a - b);\n for (let i = joinable.length - 1; i >= 0; i--) {\n if (canJoin(tr.doc, joinable[i]))\n tr.join(joinable[i]);\n }\n dispatch(tr);\n };\n}\n/**\nWrap a command so that, when it produces a transform that causes\ntwo joinable nodes to end up next to each other, those are joined.\nNodes are considered joinable when they are of the same type and\nwhen the `isJoinable` predicate returns true for them or, if an\narray of strings was passed, if their node type name is in that\narray.\n*/\nfunction autoJoin(command, isJoinable) {\n let canJoin = Array.isArray(isJoinable) ? (node) => isJoinable.indexOf(node.type.name) > -1\n : isJoinable;\n return (state, dispatch, view) => command(state, dispatch && wrapDispatchForJoin(dispatch, canJoin), view);\n}\n/**\nCombine a number of command functions into a single function (which\ncalls them one by one until one returns true).\n*/\nfunction chainCommands(...commands) {\n return function (state, dispatch, view) {\n for (let i = 0; i < commands.length; i++)\n if (commands[i](state, dispatch, view))\n return true;\n return false;\n };\n}\nlet backspace = chainCommands(deleteSelection, joinBackward, selectNodeBackward);\nlet del = chainCommands(deleteSelection, joinForward, selectNodeForward);\n/**\nA basic keymap containing bindings not specific to any schema.\nBinds the following keys (when multiple commands are listed, they\nare chained with [`chainCommands`](https://prosemirror.net/docs/ref/#commands.chainCommands)):\n\n* **Enter** to `newlineInCode`, `createParagraphNear`, `liftEmptyBlock`, `splitBlock`\n* **Mod-Enter** to `exitCode`\n* **Backspace** and **Mod-Backspace** to `deleteSelection`, `joinBackward`, `selectNodeBackward`\n* **Delete** and **Mod-Delete** to `deleteSelection`, `joinForward`, `selectNodeForward`\n* **Mod-Delete** to `deleteSelection`, `joinForward`, `selectNodeForward`\n* **Mod-a** to `selectAll`\n*/\nconst pcBaseKeymap = {\n \"Enter\": chainCommands(newlineInCode, createParagraphNear, liftEmptyBlock, splitBlock),\n \"Mod-Enter\": exitCode,\n \"Backspace\": backspace,\n \"Mod-Backspace\": backspace,\n \"Shift-Backspace\": backspace,\n \"Delete\": del,\n \"Mod-Delete\": del,\n \"Mod-a\": selectAll\n};\n/**\nA copy of `pcBaseKeymap` that also binds **Ctrl-h** like Backspace,\n**Ctrl-d** like Delete, **Alt-Backspace** like Ctrl-Backspace, and\n**Ctrl-Alt-Backspace**, **Alt-Delete**, and **Alt-d** like\nCtrl-Delete.\n*/\nconst macBaseKeymap = {\n \"Ctrl-h\": pcBaseKeymap[\"Backspace\"],\n \"Alt-Backspace\": pcBaseKeymap[\"Mod-Backspace\"],\n \"Ctrl-d\": pcBaseKeymap[\"Delete\"],\n \"Ctrl-Alt-Backspace\": pcBaseKeymap[\"Mod-Delete\"],\n \"Alt-Delete\": pcBaseKeymap[\"Mod-Delete\"],\n \"Alt-d\": pcBaseKeymap[\"Mod-Delete\"],\n \"Ctrl-a\": selectTextblockStart,\n \"Ctrl-e\": selectTextblockEnd\n};\nfor (let key in pcBaseKeymap)\n macBaseKeymap[key] = pcBaseKeymap[key];\nconst mac = typeof navigator != \"undefined\" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform)\n // @ts-ignore\n : typeof os != \"undefined\" && os.platform ? os.platform() == \"darwin\" : false;\n/**\nDepending on the detected platform, this will hold\n[`pcBasekeymap`](https://prosemirror.net/docs/ref/#commands.pcBaseKeymap) or\n[`macBaseKeymap`](https://prosemirror.net/docs/ref/#commands.macBaseKeymap).\n*/\nconst baseKeymap = mac ? macBaseKeymap : pcBaseKeymap;\n\nexport { autoJoin, baseKeymap, chainCommands, createParagraphNear, deleteSelection, exitCode, joinBackward, joinDown, joinForward, joinTextblockBackward, joinTextblockForward, joinUp, lift, liftEmptyBlock, macBaseKeymap, newlineInCode, pcBaseKeymap, selectAll, selectNodeBackward, selectNodeForward, selectParentNode, selectTextblockEnd, selectTextblockStart, setBlockType, splitBlock, splitBlockAs, splitBlockKeepMarks, toggleMark, wrapIn };\n"],"names":["deleteSelection","state","dispatch","atBlockStart","view","$cursor","joinBackward","$cut","findCutBefore","range","target","liftTarget","before","deleteBarrier","textblockAt","NodeSelection","depth","delStep","replaceStep","Slice","tr","Selection","joinTextblockBackward","joinTextblocksAround","joinTextblockForward","atBlockEnd","findCutAfter","beforeText","beforePos","child","after","afterText","afterPos","step","ReplaceStep","TextSelection","node","side","only","scan","selectNodeBackward","$head","empty","$pos","i","joinForward","selectNodeForward","parent","joinUp","sel","nodeSel","point","canJoin","joinPoint","joinDown","lift","$from","$to","newlineInCode","$anchor","defaultBlockAt","match","type","exitCode","above","pos","createParagraphNear","AllSelection","liftEmptyBlock","canSplit","splitBlockAs","splitNode","types","splitDepth","deflt","atEnd","atStart","d","splitPos","can","first","$first","splitBlock","selectParentNode","to","same","joinMaybeClear","index","dir","conn","isolated","canDelAfter","end","wrap","Fragment","ReplaceAroundStep","$joinAt","selAfter","at","afterDepth","selectTextblockSide","selectTextblockStart","selectTextblockEnd","wrapIn","nodeType","attrs","wrapping","findWrapping","setBlockType","applicable","from","chainComm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CACtE,CACJ,CAAC,CACL,CACA,GAAI,CAACK,EACD,MAAO,GACX,GAAI3G,EAAU,CACV,IAAIkB,EAAKnB,EAAM,GACf,QAAS,EAAI,EAAG,EAAIA,EAAM,UAAU,OAAO,OAAQ,IAAK,CACpD,GAAI,CAAE,MAAO,CAAE,IAAK6G,CAAI,EAAI,IAAK,CAAE,IAAK1B,CAAE,CAAE,EAAKnF,EAAM,UAAU,OAAO,CAAC,EACzEmB,EAAG,aAAa0F,EAAM1B,EAAIoB,EAAUC,CAAK,CAC7C,CACAvG,EAASkB,EAAG,gBAAgB,CAChC,CACA,MAAO,EACX,CACJ,CAwJA,SAAS2F,KAAiBC,EAAU,CAChC,OAAO,SAAU/G,EAAOC,EAAUE,EAAM,CACpC,QAASwC,EAAI,EAAGA,EAAIoE,EAAS,OAAQpE,IACjC,GAAIoE,EAASpE,CAAC,EAAE3C,EAAOC,EAAUE,CAAI,EACjC,MAAO,GACf,MAAO,EACX,CACJ,CACgB2G,EAAc/G,EAAiBM,EAAckC,CAAkB,EACrEuE,EAAc/G,EAAiB6C,EAAaC,CAAiB,EAc1DiE,EAAcrD,EAAeQ,EAAqBE,EAAgBc,CAAU,EA2B7E,OAAO,UAAa,IAAc,qBAAqB,KAAK,UAAU,QAAQ,EAEpF,OAAO,GAAM,KAAe,GAAG,UAAW,GAAG,SAAQ,GAAM","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Plugin as w}from"../../prosemirror-state/dist/index.js";import{dropPoint as v}from"../../prosemirror-transform/dist/index.js";function y(m={}){return new w({view(e){return new C(e,m)}})}class C{constructor(e,t){var i;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(i=t.width)!==null&&i!==void 0?i:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(s=>{let d=r=>{this[s](r)};return e.dom.addEventListener(s,d),{name:s,handler:d}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){this.cursorPos!=null&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,i,s=this.editorView.dom,d=s.getBoundingClientRect(),r=d.width/s.offsetWidth,h=d.height/s.offsetHeight;if(t){let o=e.nodeBefore,n=e.nodeAfter;if(o||n){let a=this.editorView.nodeDOM(this.cursorPos-(o?o.nodeSize:0));if(a){let c=a.getBoundingClientRect(),u=o?c.bottom:c.top;o&&n&&(u=(u+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*h;i={left:c.left,right:c.right,top:u-g,bottom:u+g}}}}if(!i){let o=this.editorView.coordsAtPos(this.cursorPos),n=this.width/2*r;i={left:o.left-n,right:o.left+n,top:o.top,bottom:o.bottom}}let l=this.editorView.dom.offsetParent;this.element||(this.element=l.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let f,p;if(!l||l==document.body&&getComputedStyle(l).position=="static")f=-pageXOffset,p=-pageYOffset;else{let o=l.getBoundingClientRect(),n=o.width/l.offsetWidth,a=o.height/l.offsetHeight;f=o.left-l.scrollLeft*n,p=o.top-l.scrollTop*a}this.element.style.left=(i.left-f)/r+"px",this.element.style.top=(i.top-p)/h+"px",this.element.style.width=(i.right-i.left)/r+"px",this.element.style.height=(i.bottom-i.top)/h+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),i=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),s=i&&i.type.spec.disableDropCursor,d=typeof s=="function"?s(this.editorView,t,e):s;if(t&&!d){let r=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let h=v(this.editorView.state.doc,r,this.editorView.dragging.slice);h!=null&&(r=h)}this.setCursor(r),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}export{y as dropCursor};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/prosemirror-dropcursor/dist/index.js"],"sourcesContent":["import { Plugin } from 'prosemirror-state';\nimport { dropPoint } from 'prosemirror-transform';\n\n/**\nCreate a plugin that, when added to a ProseMirror instance,\ncauses a decoration to show up at the drop position when something\nis dragged over the editor.\n\nNodes may add a `disableDropCursor` property to their spec to\ncontrol the showing of a drop cursor inside them. This may be a\nboolean or a function, which will be called with a view and a\nposition, and should return a boolean.\n*/\nfunction dropCursor(options = {}) {\n return new Plugin({\n view(editorView) { return new DropCursorView(editorView, options); }\n });\n}\nclass DropCursorView {\n constructor(editorView, options) {\n var _a;\n this.editorView = editorView;\n this.cursorPos = null;\n this.element = null;\n this.timeout = -1;\n this.width = (_a = options.width) !== null && _a !== void 0 ? _a : 1;\n this.color = options.color === false ? undefined : (options.color || \"black\");\n this.class = options.class;\n this.handlers = [\"dragover\", \"dragend\", \"drop\", \"dragleave\"].map(name => {\n let handler = (e) => { this[name](e); };\n editorView.dom.addEventListener(name, handler);\n return { name, handler };\n });\n }\n destroy() {\n this.handlers.forEach(({ name, handler }) => this.editorView.dom.removeEventListener(name, handler));\n }\n update(editorView, prevState) {\n if (this.cursorPos != null && prevState.doc != editorView.state.doc) {\n if (this.cursorPos > editorView.state.doc.content.size)\n this.setCursor(null);\n else\n this.updateOverlay();\n }\n }\n setCursor(pos) {\n if (pos == this.cursorPos)\n return;\n this.cursorPos = pos;\n if (pos == null) {\n this.element.parentNode.removeChild(this.element);\n this.element = null;\n }\n else {\n this.updateOverlay();\n }\n }\n updateOverlay() {\n let $pos = this.editorView.state.doc.resolve(this.cursorPos);\n let isBlock = !$pos.parent.inlineContent, rect;\n let editorDOM = this.editorView.dom, editorRect = editorDOM.getBoundingClientRect();\n let scaleX = editorRect.width / editorDOM.offsetWidth, scaleY = editorRect.height / editorDOM.offsetHeight;\n if (isBlock) {\n let before = $pos.nodeBefore, after = $pos.nodeAfter;\n if (before || after) {\n let node = this.editorView.nodeDOM(this.cursorPos - (before ? before.nodeSize : 0));\n if (node) {\n let nodeRect = node.getBoundingClientRect();\n let top = before ? nodeRect.bottom : nodeRect.top;\n if (before && after)\n top = (top + this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top) / 2;\n let halfWidth = (this.width / 2) * scaleY;\n rect = { left: nodeRect.left, right: nodeRect.right, top: top - halfWidth, bottom: top + halfWidth };\n }\n }\n }\n if (!rect) {\n let coords = this.editorView.coordsAtPos(this.cursorPos);\n let halfWidth = (this.width / 2) * scaleX;\n rect = { left: coords.left - halfWidth, right: coords.left + halfWidth, top: coords.top, bottom: coords.bottom };\n }\n let parent = this.editorView.dom.offsetParent;\n if (!this.element) {\n this.element = parent.appendChild(document.createElement(\"div\"));\n if (this.class)\n this.element.className = this.class;\n this.element.style.cssText = \"position: absolute; z-index: 50; pointer-events: none;\";\n if (this.color) {\n this.element.style.backgroundColor = this.color;\n }\n }\n this.element.classList.toggle(\"prosemirror-dropcursor-block\", isBlock);\n this.element.classList.toggle(\"prosemirror-dropcursor-inline\", !isBlock);\n let parentLeft, parentTop;\n if (!parent || parent == document.body && getComputedStyle(parent).position == \"static\") {\n parentLeft = -pageXOffset;\n parentTop = -pageYOffset;\n }\n else {\n let rect = parent.getBoundingClientRect();\n let parentScaleX = rect.width / parent.offsetWidth, parentScaleY = rect.height / parent.offsetHeight;\n parentLeft = rect.left - parent.scrollLeft * parentScaleX;\n parentTop = rect.top - parent.scrollTop * parentScaleY;\n }\n this.element.style.left = (rect.left - parentLeft) / scaleX + \"px\";\n this.element.style.top = (rect.top - parentTop) / scaleY + \"px\";\n this.element.style.width = (rect.right - rect.left) / scaleX + \"px\";\n this.element.style.height = (rect.bottom - rect.top) / scaleY + \"px\";\n }\n scheduleRemoval(timeout) {\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => this.setCursor(null), timeout);\n }\n dragover(event) {\n if (!this.editorView.editable)\n return;\n let pos = this.editorView.posAtCoords({ left: event.clientX, top: event.clientY });\n let node = pos && pos.inside >= 0 && this.editorView.state.doc.nodeAt(pos.inside);\n let disableDropCursor = node && node.type.spec.disableDropCursor;\n let disabled = typeof disableDropCursor == \"function\"\n ? disableDropCursor(this.editorView, pos, event)\n : disableDropCursor;\n if (pos && !disabled) {\n let target = pos.pos;\n if (this.editorView.dragging && this.editorView.dragging.slice) {\n let point = dropPoint(this.editorView.state.doc, target, this.editorView.dragging.slice);\n if (point != null)\n target = point;\n }\n this.setCursor(target);\n this.scheduleRemoval(5000);\n }\n }\n dragend() {\n this.scheduleRemoval(20);\n }\n drop() {\n this.scheduleRemoval(20);\n }\n dragleave(event) {\n if (!this.editorView.dom.contains(event.relatedTarget))\n this.setCursor(null);\n }\n}\n\nexport { dropCursor };\n"],"names":["dropCursor","options","Plugin","editorView","DropCursorView","_a","name","handler","e","prevState","pos","$pos","isBlock","rect","editorDOM","editorRect","scaleX","scaleY","before","after","node","nodeRect","top","halfWidth","coords","parent","parentLeft","parentTop","parentScaleX","parentScaleY","timeout","event","disableDropCursor","disabled","target","point","dropPoint"],"mappings":"qIAaA,SAASA,EAAWC,EAAU,GAAI,CAC9B,OAAO,IAAIC,EAAO,CACd,KAAKC,EAAY,CAAE,OAAO,IAAIC,EAAeD,EAAYF,CAAO,CAAG,CAC3E,CAAK,CACL,CACA,MAAMG,CAAe,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H,EAAO,CACR,KAAK,WAAW,IAAI,SAASA,EAAM,aAAa,GACjD,KAAK,UAAU,IAAI,CAC3B,CACJ","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{keydownHandler as v}from"../../prosemirror-keymap/dist/index.js";import{Plugin as w,TextSelection as m,NodeSelection as x,Selection as u}from"../../prosemirror-state/dist/index.js";import{Fragment as h,Slice as g}from"../../prosemirror-model/dist/index.js";import{DecorationSet as S,Decoration as A}from"../../prosemirror-view/dist/index.js";class i extends u{constructor(e){super(e,e)}map(e,t){let o=e.resolve(t.map(this.head));return i.valid(o)?new i(o):u.near(o)}content(){return g.empty}eq(e){return e instanceof i&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new i(e.resolve(t.pos))}getBookmark(){return new d(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!b(e)||!y(e))return!1;let o=t.type.spec.allowGapCursor;if(o!=null)return o;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,t,o=!1){e:for(;;){if(!o&&i.valid(e))return e;let r=e.pos,s=null;for(let l=e.depth;;l--){let a=e.node(l);if(t>0?e.indexAfter(l)<a.childCount:e.index(l)>0){s=a.child(t>0?e.indexAfter(l):e.index(l)-1);break}else if(l==0)return null;r+=t;let f=e.doc.resolve(r);if(i.valid(f))return f}for(;;){let l=t>0?s.firstChild:s.lastChild;if(!l){if(s.isAtom&&!s.isText&&!x.isSelectable(s)){e=e.doc.resolve(r+s.nodeSize*t),o=!1;continue e}break}s=l,r+=t;let a=e.doc.resolve(r);if(i.valid(a))return a}return null}}}i.prototype.visible=!1;i.findFrom=i.findGapCursorFrom;u.jsonID("gapcursor",i);class d{constructor(e){this.pos=e}map(e){return new d(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return i.valid(t)?new i(t):u.near(t)}}function C(n){return n.isAtom||n.spec.isolating||n.spec.createGapCursor}function b(n){for(let e=n.depth;e>=0;e--){let t=n.index(e),o=n.node(e);if(t==0){if(o.type.spec.isolating)return!0;continue}for(let r=o.child(t-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||C(r.type))return!0;if(r.inlineContent)return!1}}return!0}function y(n){for(let e=n.depth;e>=0;e--){let t=n.indexAfter(e),o=n.node(e);if(t==o.childCount){if(o.type.spec.isolating)return!0;continue}for(let r=o.child(t);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||C(r.type))return!0;if(r.inlineContent)return!1}}return!0}function B(){return new w({props:{decorations:F,createSelectionBetween(n,e,t){return e.pos==t.pos&&i.valid(t)?new i(t):null},handleClick:T,handleKeyDown:k,handleDOMEvents:{beforeinput:D}}})}const k=v({ArrowLeft:c("horiz",-1),ArrowRight:c("horiz",1),ArrowUp:c("vert",-1),ArrowDown:c("vert",1)});function c(n,e){const t=n=="vert"?e>0?"down":"up":e>0?"right":"left";return function(o,r,s){let l=o.selection,a=e>0?l.$to:l.$from,f=l.empty;if(l instanceof m){if(!s.endOfTextblock(t)||a.depth==0)return!1;f=!1,a=o.doc.resolve(e>0?a.after():a.before())}let p=i.findGapCursorFrom(a,e,f);return p?(r&&r(o.tr.setSelection(new i(p))),!0):!1}}function T(n,e,t){if(!n||!n.editable)return!1;let o=n.state.doc.resolve(e);if(!i.valid(o))return!1;let r=n.posAtCoords({left:t.clientX,top:t.clientY});return r&&r.inside>-1&&x.isSelectable(n.state.doc.nodeAt(r.inside))?!1:(n.dispatch(n.state.tr.setSelection(new i(o))),!0)}function D(n,e){if(e.inputType!="insertCompositionText"||!(n.state.selection instanceof i))return!1;let{$from:t}=n.state.selection,o=t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);if(!o)return!1;let r=h.empty;for(let l=o.length-1;l>=0;l--)r=h.from(o[l].createAndFill(null,r));let s=n.state.tr.replace(t.pos,t.pos,new g(r,0,0));return s.setSelection(m.near(s.doc.resolve(t.pos+1))),n.dispatch(s),!1}function F(n){if(!(n.selection instanceof i))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",S.create(n.doc,[A.widget(n.selection.head,e,{key:"gapcursor"})])}export{i as GapCursor,B as gapCursor};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/prosemirror-gapcursor/dist/index.js"],"sourcesContent":["import { keydownHandler } from 'prosemirror-keymap';\nimport { Selection, NodeSelection, TextSelection, Plugin } from 'prosemirror-state';\nimport { Slice, Fragment } from 'prosemirror-model';\nimport { DecorationSet, Decoration } from 'prosemirror-view';\n\n/**\nGap cursor selections are represented using this class. Its\n`$anchor` and `$head` properties both point at the cursor position.\n*/\nclass GapCursor extends Selection {\n /**\n Create a gap cursor.\n */\n constructor($pos) {\n super($pos, $pos);\n }\n map(doc, mapping) {\n let $pos = doc.resolve(mapping.map(this.head));\n return GapCursor.valid($pos) ? new GapCursor($pos) : Selection.near($pos);\n }\n content() { return Slice.empty; }\n eq(other) {\n return other instanceof GapCursor && other.head == this.head;\n }\n toJSON() {\n return { type: \"gapcursor\", pos: this.head };\n }\n /**\n @internal\n */\n static fromJSON(doc, json) {\n if (typeof json.pos != \"number\")\n throw new RangeError(\"Invalid input for GapCursor.fromJSON\");\n return new GapCursor(doc.resolve(json.pos));\n }\n /**\n @internal\n */\n getBookmark() { return new GapBookmark(this.anchor); }\n /**\n @internal\n */\n static valid($pos) {\n let parent = $pos.parent;\n if (parent.isTextblock || !closedBefore($pos) || !closedAfter($pos))\n return false;\n let override = parent.type.spec.allowGapCursor;\n if (override != null)\n return override;\n let deflt = parent.contentMatchAt($pos.index()).defaultType;\n return deflt && deflt.isTextblock;\n }\n /**\n @internal\n */\n static findGapCursorFrom($pos, dir, mustMove = false) {\n search: for (;;) {\n if (!mustMove && GapCursor.valid($pos))\n return $pos;\n let pos = $pos.pos, next = null;\n // Scan up from this position\n for (let d = $pos.depth;; d--) {\n let parent = $pos.node(d);\n if (dir > 0 ? $pos.indexAfter(d) < parent.childCount : $pos.index(d) > 0) {\n next = parent.child(dir > 0 ? $pos.indexAfter(d) : $pos.index(d) - 1);\n break;\n }\n else if (d == 0) {\n return null;\n }\n pos += dir;\n let $cur = $pos.doc.resolve(pos);\n if (GapCursor.valid($cur))\n return $cur;\n }\n // And then down into the next node\n for (;;) {\n let inside = dir > 0 ? next.firstChild : next.lastChild;\n if (!inside) {\n if (next.isAtom && !next.isText && !NodeSelection.isSelectable(next)) {\n $pos = $pos.doc.resolve(pos + next.nodeSize * dir);\n mustMove = false;\n continue search;\n }\n break;\n }\n next = inside;\n pos += dir;\n let $cur = $pos.doc.resolve(pos);\n if (GapCursor.valid($cur))\n return $cur;\n }\n return null;\n }\n }\n}\nGapCursor.prototype.visible = false;\nGapCursor.findFrom = GapCursor.findGapCursorFrom;\nSelection.jsonID(\"gapcursor\", GapCursor);\nclass GapBookmark {\n constructor(pos) {\n this.pos = pos;\n }\n map(mapping) {\n return new GapBookmark(mapping.map(this.pos));\n }\n resolve(doc) {\n let $pos = doc.resolve(this.pos);\n return GapCursor.valid($pos) ? new GapCursor($pos) : Selection.near($pos);\n }\n}\nfunction needsGap(type) {\n return type.isAtom || type.spec.isolating || type.spec.createGapCursor;\n}\nfunction closedBefore($pos) {\n for (let d = $pos.depth; d >= 0; d--) {\n let index = $pos.index(d), parent = $pos.node(d);\n // At the start of this parent, look at next one\n if (index == 0) {\n if (parent.type.spec.isolating)\n return true;\n continue;\n }\n // See if the node before (or its first ancestor) is closed\n for (let before = parent.child(index - 1);; before = before.lastChild) {\n if ((before.childCount == 0 && !before.inlineContent) || needsGap(before.type))\n return true;\n if (before.inlineContent)\n return false;\n }\n }\n // Hit start of document\n return true;\n}\nfunction closedAfter($pos) {\n for (let d = $pos.depth; d >= 0; d--) {\n let index = $pos.indexAfter(d), parent = $pos.node(d);\n if (index == parent.childCount) {\n if (parent.type.spec.isolating)\n return true;\n continue;\n }\n for (let after = parent.child(index);; after = after.firstChild) {\n if ((after.childCount == 0 && !after.inlineContent) || needsGap(after.type))\n return true;\n if (after.inlineContent)\n return false;\n }\n }\n return true;\n}\n\n/**\nCreate a gap cursor plugin. When enabled, this will capture clicks\nnear and arrow-key-motion past places that don't have a normally\nselectable position nearby, and create a gap cursor selection for\nthem. The cursor is drawn as an element with class\n`ProseMirror-gapcursor`. You can either include\n`style/gapcursor.css` from the package's directory or add your own\nstyles to make it visible.\n*/\nfunction gapCursor() {\n return new Plugin({\n props: {\n decorations: drawGapCursor,\n createSelectionBetween(_view, $anchor, $head) {\n return $anchor.pos == $head.pos && GapCursor.valid($head) ? new GapCursor($head) : null;\n },\n handleClick,\n handleKeyDown,\n handleDOMEvents: { beforeinput: beforeinput }\n }\n });\n}\nconst handleKeyDown = keydownHandler({\n \"ArrowLeft\": arrow(\"horiz\", -1),\n \"ArrowRight\": arrow(\"horiz\", 1),\n \"ArrowUp\": arrow(\"vert\", -1),\n \"ArrowDown\": arrow(\"vert\", 1)\n});\nfunction arrow(axis, dir) {\n const dirStr = axis == \"vert\" ? (dir > 0 ? \"down\" : \"up\") : (dir > 0 ? \"right\" : \"left\");\n return function (state, dispatch, view) {\n let sel = state.selection;\n let $start = dir > 0 ? sel.$to : sel.$from, mustMove = sel.empty;\n if (sel instanceof TextSelection) {\n if (!view.endOfTextblock(dirStr) || $start.depth == 0)\n return false;\n mustMove = false;\n $start = state.doc.resolve(dir > 0 ? $start.after() : $start.before());\n }\n let $found = GapCursor.findGapCursorFrom($start, dir, mustMove);\n if (!$found)\n return false;\n if (dispatch)\n dispatch(state.tr.setSelection(new GapCursor($found)));\n return true;\n };\n}\nfunction handleClick(view, pos, event) {\n if (!view || !view.editable)\n return false;\n let $pos = view.state.doc.resolve(pos);\n if (!GapCursor.valid($pos))\n return false;\n let clickPos = view.posAtCoords({ left: event.clientX, top: event.clientY });\n if (clickPos && clickPos.inside > -1 && NodeSelection.isSelectable(view.state.doc.nodeAt(clickPos.inside)))\n return false;\n view.dispatch(view.state.tr.setSelection(new GapCursor($pos)));\n return true;\n}\n// This is a hack that, when a composition starts while a gap cursor\n// is active, quickly creates an inline context for the composition to\n// happen in, to avoid it being aborted by the DOM selection being\n// moved into a valid position.\nfunction beforeinput(view, event) {\n if (event.inputType != \"insertCompositionText\" || !(view.state.selection instanceof GapCursor))\n return false;\n let { $from } = view.state.selection;\n let insert = $from.parent.contentMatchAt($from.index()).findWrapping(view.state.schema.nodes.text);\n if (!insert)\n return false;\n let frag = Fragment.empty;\n for (let i = insert.length - 1; i >= 0; i--)\n frag = Fragment.from(insert[i].createAndFill(null, frag));\n let tr = view.state.tr.replace($from.pos, $from.pos, new Slice(frag, 0, 0));\n tr.setSelection(TextSelection.near(tr.doc.resolve($from.pos + 1)));\n view.dispatch(tr);\n return false;\n}\nfunction drawGapCursor(state) {\n if (!(state.selection instanceof GapCursor))\n return null;\n let node = document.createElement(\"div\");\n node.className = \"ProseMirror-gapcursor\";\n return DecorationSet.create(state.doc, [Decoration.widget(state.selection.head, node, { key: \"gapcursor\" })]);\n}\n\nexport { GapCursor, gapCursor };\n"],"names":["GapCursor","Selection","$pos","doc","mapping","Slice","other","json","GapBookmark","parent","closedBefore","closedAfter","override","deflt","dir","mustMove","search","pos","next","d","$cur","inside","NodeSelection","needsGap","type","index","before","after","gapCursor","Plugin","drawGapCursor","_view","$anchor","$head","handleClick","handleKeyDown","beforeinput","keydownHandler","arrow","axis","dirStr","state","dispatch","view","sel","$start","TextSelection","$found","event","clickPos","$from","insert","frag","Fragment","i","tr","node","DecorationSet","Decoration"],"mappings":"6VASA,MAAMA,UAAkBC,CAAU,CAI9B,YAAYC,EAAM,CACd,MAAMA,EAAMA,CAAI,CACpB,CACA,IAAIC,EAAKC,EAAS,CACd,IAAIF,EAAOC,EAAI,QAAQC,EAAQ,IAAI,KAAK,IAAI,CAAC,EAC7C,OAAOJ,EAAU,MAAME,CAAI,EAAI,IAAIF,EAAUE,CAAI,EA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EACD,MAAO,GACX,IAAIC,EAAOC,EAAS,MACpB,QAASC,EAAIH,EAAO,OAAS,EAAGG,GAAK,EAAGA,IACpCF,EAAOC,EAAS,KAAKF,EAAOG,CAAC,EAAE,cAAc,KAAMF,CAAI,CAAC,EAC5D,IAAIG,EAAKZ,EAAK,MAAM,GAAG,QAAQO,EAAM,IAAKA,EAAM,IAAK,IAAI7C,EAAM+C,EAAM,EAAG,CAAC,CAAC,EAC1E,OAAAG,EAAG,aAAaT,EAAc,KAAKS,EAAG,IAAI,QAAQL,EAAM,IAAM,CAAC,CAAC,CAAC,EACjEP,EAAK,SAASY,CAAE,EACT,EACX,CACA,SAASzB,EAAcW,EAAO,CAC1B,GAAI,EAAEA,EAAM,qBAAqBzC,GAC7B,OAAO,KACX,IAAIwD,EAAO,SAAS,cAAc,KAAK,EACvC,OAAAA,EAAK,UAAY,wBACVC,EAAc,OAAOhB,EAAM,IAAK,CAACiB,EAAW,OAAOjB,EAAM,UAAU,KAAMe,EAAM,CAAE,IAAK,WAAW,CAAE,CAAC,CAAC,CAChH","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import b from"../../rope-sequence/dist/index.js";import{Mapping as k}from"../../prosemirror-transform/dist/index.js";import{Plugin as H,PluginKey as O}from"../../prosemirror-state/dist/index.js";const D=500;class c{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let s,p;e&&(s=this.remapping(i,this.items.length),p=s.maps.length);let l=t.tr,r,m,u=[],f=[];return this.items.forEach((a,o)=>{if(!a.step){s||(s=this.remapping(i,o+1),p=s.maps.length),p--,f.push(a);return}if(s){f.push(new g(a.map));let d=a.step.map(s.slice(p)),v;d&&l.maybeStep(d).doc&&(v=l.mapping.maps[l.mapping.maps.length-1],u.push(new g(v,void 0,void 0,u.length+f.length))),p--,v&&s.appendMap(v,p)}else l.maybeStep(a.step);if(a.selection)return r=s?a.selection.map(s.slice(p)):a.selection,m=new c(this.items.slice(0,i).append(f.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:m,transform:l,selection:r}}addTransform(t,e,i,s){let p=[],l=this.eventCount,r=this.items,m=!s&&r.length?r.get(r.length-1):null;for(let f=0;f<t.steps.length;f++){let a=t.steps[f].invert(t.docs[f]),o=new g(t.mapping.maps[f],a,e),d;(d=m&&m.merge(o))&&(o=d,f?p.pop():r=r.slice(0,r.length-1)),p.push(o),e&&(l++,e=void 0),s||(m=o)}let u=l-i.depth;return u>y&&(r=x(r,u),l-=u),new c(r.append(p),l)}remapping(t,e){let i=new k;return this.items.forEach((s,p)=>{let l=s.mirrorOffset!=null&&p-s.mirrorOffset>=t?i.maps.length-s.mirrorOffset:void 0;i.appendMap(s.map,l)},t,e),i}addMaps(t){return this.eventCount==0?this:new c(this.items.append(t.map(e=>new g(e))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let i=[],s=Math.max(0,this.items.length-e),p=t.mapping,l=t.steps.length,r=this.eventCount;this.items.forEach(o=>{o.selection&&r--},s);let m=e;this.items.forEach(o=>{let d=p.getMirror(--m);if(d==null)return;l=Math.min(l,d);let v=p.maps[d];if(o.step){let S=t.steps[d].invert(t.docs[d]),E=o.selection&&o.selection.map(p.slice(m+1,d));E&&r++,i.push(new g(v,S,E))}else i.push(new g(v))},s);let u=[];for(let o=e;o<l;o++)u.push(new g(p.maps[o]));let f=this.items.slice(0,s).append(u).append(i),a=new c(f,r);return a.emptyItemCount()>D&&(a=a.compress(this.items.length-i.length)),a}emptyItemCount(){let t=0;return this.items.forEach(e=>{e.step||t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),i=e.maps.length,s=[],p=0;return this.items.forEach((l,r)=>{if(r>=t)s.push(l),l.selection&&p++;else if(l.step){let m=l.step.map(e.slice(i)),u=m&&m.getMap();if(i--,u&&e.appendMap(u,i),m){let f=l.selection&&l.selection.map(e.slice(i));f&&p++;let a=new g(u.invert(),m,f),o,d=s.length-1;(o=s.length&&s[d].merge(a))?s[d]=o:s.push(a)}}else l.map&&i--},this.items.length,0),new c(b.from(s.reverse()),p)}}c.empty=new c(b.empty,0);function x(n,t){let e;return n.forEach((i,s)=>{if(i.selection&&t--==0)return e=s,!1}),n.slice(e)}class g{constructor(t,e,i,s){this.map=t,this.step=e,this.selection=i,this.mirrorOffset=s}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new g(e.getMap().invert(),e,this.selection)}}}class h{constructor(t,e,i,s,p){this.done=t,this.undone=e,this.prevRanges=i,this.prevTime=s,this.prevComposition=p}}const y=20;function F(n,t,e,i){let s=e.getMeta(w),p;if(s)return s.historyState;e.getMeta(j)&&(n=new h(n.done,n.undone,null,0,-1));let l=e.getMeta("appendedTransaction");if(e.steps.length==0)return n;if(l&&l.getMeta(w))return l.getMeta(w).redo?new h(n.done.addTransform(e,void 0,i,M(t)),n.undone,I(e.mapping.maps),n.prevTime,n.prevComposition):new h(n.done,n.undone.addTransform(e,void 0,i,M(t)),null,n.prevTime,n.prevComposition);if(e.getMeta("addToHistory")!==!1&&!(l&&l.getMeta("addToHistory")===!1)){let r=e.getMeta("composition"),m=n.prevTime==0||!l&&n.prevComposition!=r&&(n.prevTime<(e.time||0)-i.newGroupDelay||!G(e,n.prevRanges)),u=l?C(n.prevRanges,e.mapping):I(e.mapping.maps);return new h(n.done.addTransform(e,m?t.selection.getBookmark():void 0,i,M(t)),c.empty,u,e.time,r??n.prevComposition)}else return(p=e.getMeta("rebased"))?new h(n.done.rebased(e,p),n.undone.rebased(e,p),C(n.prevRanges,e.mapping),n.prevTime,n.prevComposition):new h(n.done.addMaps(e.mapping.maps),n.undone.addMaps(e.mapping.maps),C(n.prevRanges,e.mapping),n.prevTime,n.prevComposition)}function G(n,t){if(!t)return!1;if(!n.docChanged)return!0;let e=!1;return n.mapping.maps[0].forEach((i,s)=>{for(let p=0;p<t.length;p+=2)i<=t[p+1]&&s>=t[p]&&(e=!0)}),e}function I(n){let t=[];for(let e=n.length-1;e>=0&&t.length==0;e--)n[e].forEach((i,s,p,l)=>t.push(p,l));return t}function C(n,t){if(!n)return null;let e=[];for(let i=0;i<n.length;i+=2){let s=t.map(n[i],1),p=t.map(n[i+1],-1);s<=p&&e.push(s,p)}return e}function K(n,t,e){let i=M(t),s=w.get(t).spec.config,p=(e?n.undone:n.done).popEvent(t,i);if(!p)return null;let l=p.selection.resolve(p.transform.doc),r=(e?n.done:n.undone).addTransform(p.transform,t.selection.getBookmark(),s,i),m=new h(e?r:p.remaining,e?p.remaining:r,null,0,-1);return p.transform.setSelection(l).setMeta(w,{redo:e,historyState:m})}let T=!1,P=null;function M(n){let t=n.plugins;if(P!=t){T=!1,P=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){T=!0;break}}return T}const w=new O("history"),j=new O("closeHistory");function W(n={}){return n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},new H({key:w,state:{init(){return new h(c.empty,c.empty,null,0,-1)},apply(t,e,i){return F(e,i,t,n)}},config:n,props:{handleDOMEvents:{beforeinput(t,e){let i=e.inputType,s=i=="historyUndo"?A:i=="historyRedo"?U:null;return s?(e.preventDefault(),s(t.state,t.dispatch)):!1}}}})}function R(n,t){return(e,i)=>{let s=w.getState(e);if(!s||(n?s.undone:s.done).eventCount==0)return!1;if(i){let p=K(s,e,n);p&&i(t?p.scrollIntoView():p)}return!0}}const A=R(!1,!0),U=R(!0,!0);export{W as history,U as redo,A as undo};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/prosemirror-history/dist/index.js"],"sourcesContent":["import RopeSequence from 'rope-sequence';\nimport { Mapping } from 'prosemirror-transform';\nimport { PluginKey, Plugin } from 'prosemirror-state';\n\n// ProseMirror's history isn't simply a way to roll back to a previous\n// state, because ProseMirror supports applying changes without adding\n// them to the history (for example during collaboration).\n//\n// To this end, each 'Branch' (one for the undo history and one for\n// the redo history) keeps an array of 'Items', which can optionally\n// hold a step (an actual undoable change), and always hold a position\n// map (which is needed to move changes below them to apply to the\n// current document).\n//\n// An item that has both a step and a selection bookmark is the start\n// of an 'event' — a group of changes that will be undone or redone at\n// once. (It stores only the bookmark, since that way we don't have to\n// provide a document until the selection is actually applied, which\n// is useful when compressing.)\n// Used to schedule history compression\nconst max_empty_items = 500;\nclass Branch {\n constructor(items, eventCount) {\n this.items = items;\n this.eventCount = eventCount;\n }\n // Pop the latest event off the branch's history and apply it\n // to a document transform.\n popEvent(state, preserveItems) {\n if (this.eventCount == 0)\n return null;\n let end = this.items.length;\n for (;; end--) {\n let next = this.items.get(end - 1);\n if (next.selection) {\n --end;\n break;\n }\n }\n let remap, mapFrom;\n if (preserveItems) {\n remap = this.remapping(end, this.items.length);\n mapFrom = remap.maps.length;\n }\n let transform = state.tr;\n let selection, remaining;\n let addAfter = [], addBefore = [];\n this.items.forEach((item, i) => {\n if (!item.step) {\n if (!remap) {\n remap = this.remapping(end, i + 1);\n mapFrom = remap.maps.length;\n }\n mapFrom--;\n addBefore.push(item);\n return;\n }\n if (remap) {\n addBefore.push(new Item(item.map));\n let step = item.step.map(remap.slice(mapFrom)), map;\n if (step && transform.maybeStep(step).doc) {\n map = transform.mapping.maps[transform.mapping.maps.length - 1];\n addAfter.push(new Item(map, undefined, undefined, addAfter.length + addBefore.length));\n }\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n }\n else {\n transform.maybeStep(item.step);\n }\n if (item.selection) {\n selection = remap ? item.selection.map(remap.slice(mapFrom)) : item.selection;\n remaining = new Branch(this.items.slice(0, end).append(addBefore.reverse().concat(addAfter)), this.eventCount - 1);\n return false;\n }\n }, this.items.length, 0);\n return { remaining: remaining, transform, selection: selection };\n }\n // Create a new branch with the given transform added.\n addTransform(transform, selection, histOptions, preserveItems) {\n let newItems = [], eventCount = this.eventCount;\n let oldItems = this.items, lastItem = !preserveItems && oldItems.length ? oldItems.get(oldItems.length - 1) : null;\n for (let i = 0; i < transform.steps.length; i++) {\n let step = transform.steps[i].invert(transform.docs[i]);\n let item = new Item(transform.mapping.maps[i], step, selection), merged;\n if (merged = lastItem && lastItem.merge(item)) {\n item = merged;\n if (i)\n newItems.pop();\n else\n oldItems = oldItems.slice(0, oldItems.length - 1);\n }\n newItems.push(item);\n if (selection) {\n eventCount++;\n selection = undefined;\n }\n if (!preserveItems)\n lastItem = item;\n }\n let overflow = eventCount - histOptions.depth;\n if (overflow > DEPTH_OVERFLOW) {\n oldItems = cutOffEvents(oldItems, overflow);\n eventCount -= overflow;\n }\n return new Branch(oldItems.append(newItems), eventCount);\n }\n remapping(from, to) {\n let maps = new Mapping;\n this.items.forEach((item, i) => {\n let mirrorPos = item.mirrorOffset != null && i - item.mirrorOffset >= from\n ? maps.maps.length - item.mirrorOffset : undefined;\n maps.appendMap(item.map, mirrorPos);\n }, from, to);\n return maps;\n }\n addMaps(array) {\n if (this.eventCount == 0)\n return this;\n return new Branch(this.items.append(array.map(map => new Item(map))), this.eventCount);\n }\n // When the collab module receives remote changes, the history has\n // to know about those, so that it can adjust the steps that were\n // rebased on top of the remote changes, and include the position\n // maps for the remote changes in its array of items.\n rebased(rebasedTransform, rebasedCount) {\n if (!this.eventCount)\n return this;\n let rebasedItems = [], start = Math.max(0, this.items.length - rebasedCount);\n let mapping = rebasedTransform.mapping;\n let newUntil = rebasedTransform.steps.length;\n let eventCount = this.eventCount;\n this.items.forEach(item => { if (item.selection)\n eventCount--; }, start);\n let iRebased = rebasedCount;\n this.items.forEach(item => {\n let pos = mapping.getMirror(--iRebased);\n if (pos == null)\n return;\n newUntil = Math.min(newUntil, pos);\n let map = mapping.maps[pos];\n if (item.step) {\n let step = rebasedTransform.steps[pos].invert(rebasedTransform.docs[pos]);\n let selection = item.selection && item.selection.map(mapping.slice(iRebased + 1, pos));\n if (selection)\n eventCount++;\n rebasedItems.push(new Item(map, step, selection));\n }\n else {\n rebasedItems.push(new Item(map));\n }\n }, start);\n let newMaps = [];\n for (let i = rebasedCount; i < newUntil; i++)\n newMaps.push(new Item(mapping.maps[i]));\n let items = this.items.slice(0, start).append(newMaps).append(rebasedItems);\n let branch = new Branch(items, eventCount);\n if (branch.emptyItemCount() > max_empty_items)\n branch = branch.compress(this.items.length - rebasedItems.length);\n return branch;\n }\n emptyItemCount() {\n let count = 0;\n this.items.forEach(item => { if (!item.step)\n count++; });\n return count;\n }\n // Compressing a branch means rewriting it to push the air (map-only\n // items) out. During collaboration, these naturally accumulate\n // because each remote change adds one. The `upto` argument is used\n // to ensure that only the items below a given level are compressed,\n // because `rebased` relies on a clean, untouched set of items in\n // order to associate old items with rebased steps.\n compress(upto = this.items.length) {\n let remap = this.remapping(0, upto), mapFrom = remap.maps.length;\n let items = [], events = 0;\n this.items.forEach((item, i) => {\n if (i >= upto) {\n items.push(item);\n if (item.selection)\n events++;\n }\n else if (item.step) {\n let step = item.step.map(remap.slice(mapFrom)), map = step && step.getMap();\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n if (step) {\n let selection = item.selection && item.selection.map(remap.slice(mapFrom));\n if (selection)\n events++;\n let newItem = new Item(map.invert(), step, selection), merged, last = items.length - 1;\n if (merged = items.length && items[last].merge(newItem))\n items[last] = merged;\n else\n items.push(newItem);\n }\n }\n else if (item.map) {\n mapFrom--;\n }\n }, this.items.length, 0);\n return new Branch(RopeSequence.from(items.reverse()), events);\n }\n}\nBranch.empty = new Branch(RopeSequence.empty, 0);\nfunction cutOffEvents(items, n) {\n let cutPoint;\n items.forEach((item, i) => {\n if (item.selection && (n-- == 0)) {\n cutPoint = i;\n return false;\n }\n });\n return items.slice(cutPoint);\n}\nclass Item {\n constructor(\n // The (forward) step map for this item.\n map, \n // The inverted step\n step, \n // If this is non-null, this item is the start of a group, and\n // this selection is the starting selection for the group (the one\n // that was active before the first step was applied)\n selection, \n // If this item is the inverse of a previous mapping on the stack,\n // this points at the inverse's offset\n mirrorOffset) {\n this.map = map;\n this.step = step;\n this.selection = selection;\n this.mirrorOffset = mirrorOffset;\n }\n merge(other) {\n if (this.step && other.step && !other.selection) {\n let step = other.step.merge(this.step);\n if (step)\n return new Item(step.getMap().invert(), step, this.selection);\n }\n }\n}\n// The value of the state field that tracks undo/redo history for that\n// state. Will be stored in the plugin state when the history plugin\n// is active.\nclass HistoryState {\n constructor(done, undone, prevRanges, prevTime, prevComposition) {\n this.done = done;\n this.undone = undone;\n this.prevRanges = prevRanges;\n this.prevTime = prevTime;\n this.prevComposition = prevComposition;\n }\n}\nconst DEPTH_OVERFLOW = 20;\n// Record a transformation in undo history.\nfunction applyTransaction(history, state, tr, options) {\n let historyTr = tr.getMeta(historyKey), rebased;\n if (historyTr)\n return historyTr.historyState;\n if (tr.getMeta(closeHistoryKey))\n history = new HistoryState(history.done, history.undone, null, 0, -1);\n let appended = tr.getMeta(\"appendedTransaction\");\n if (tr.steps.length == 0) {\n return history;\n }\n else if (appended && appended.getMeta(historyKey)) {\n if (appended.getMeta(historyKey).redo)\n return new HistoryState(history.done.addTransform(tr, undefined, options, mustPreserveItems(state)), history.undone, rangesFor(tr.mapping.maps), history.prevTime, history.prevComposition);\n else\n return new HistoryState(history.done, history.undone.addTransform(tr, undefined, options, mustPreserveItems(state)), null, history.prevTime, history.prevComposition);\n }\n else if (tr.getMeta(\"addToHistory\") !== false && !(appended && appended.getMeta(\"addToHistory\") === false)) {\n // Group transforms that occur in quick succession into one event.\n let composition = tr.getMeta(\"composition\");\n let newGroup = history.prevTime == 0 ||\n (!appended && history.prevComposition != composition &&\n (history.prevTime < (tr.time || 0) - options.newGroupDelay || !isAdjacentTo(tr, history.prevRanges)));\n let prevRanges = appended ? mapRanges(history.prevRanges, tr.mapping) : rangesFor(tr.mapping.maps);\n return new HistoryState(history.done.addTransform(tr, newGroup ? state.selection.getBookmark() : undefined, options, mustPreserveItems(state)), Branch.empty, prevRanges, tr.time, composition == null ? history.prevComposition : composition);\n }\n else if (rebased = tr.getMeta(\"rebased\")) {\n // Used by the collab module to tell the history that some of its\n // content has been rebased.\n return new HistoryState(history.done.rebased(tr, rebased), history.undone.rebased(tr, rebased), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n else {\n return new HistoryState(history.done.addMaps(tr.mapping.maps), history.undone.addMaps(tr.mapping.maps), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n}\nfunction isAdjacentTo(transform, prevRanges) {\n if (!prevRanges)\n return false;\n if (!transform.docChanged)\n return true;\n let adjacent = false;\n transform.mapping.maps[0].forEach((start, end) => {\n for (let i = 0; i < prevRanges.length; i += 2)\n if (start <= prevRanges[i + 1] && end >= prevRanges[i])\n adjacent = true;\n });\n return adjacent;\n}\nfunction rangesFor(maps) {\n let result = [];\n for (let i = maps.length - 1; i >= 0 && result.length == 0; i--)\n maps[i].forEach((_from, _to, from, to) => result.push(from, to));\n return result;\n}\nfunction mapRanges(ranges, mapping) {\n if (!ranges)\n return null;\n let result = [];\n for (let i = 0; i < ranges.length; i += 2) {\n let from = mapping.map(ranges[i], 1), to = mapping.map(ranges[i + 1], -1);\n if (from <= to)\n result.push(from, to);\n }\n return result;\n}\n// Apply the latest event from one branch to the document and shift the event\n// onto the other branch.\nfunction histTransaction(history, state, redo) {\n let preserveItems = mustPreserveItems(state);\n let histOptions = historyKey.get(state).spec.config;\n let pop = (redo ? history.undone : history.done).popEvent(state, preserveItems);\n if (!pop)\n return null;\n let selection = pop.selection.resolve(pop.transform.doc);\n let added = (redo ? history.done : history.undone).addTransform(pop.transform, state.selection.getBookmark(), histOptions, preserveItems);\n let newHist = new HistoryState(redo ? added : pop.remaining, redo ? pop.remaining : added, null, 0, -1);\n return pop.transform.setSelection(selection).setMeta(historyKey, { redo, historyState: newHist });\n}\nlet cachedPreserveItems = false, cachedPreserveItemsPlugins = null;\n// Check whether any plugin in the given state has a\n// `historyPreserveItems` property in its spec, in which case we must\n// preserve steps exactly as they came in, so that they can be\n// rebased.\nfunction mustPreserveItems(state) {\n let plugins = state.plugins;\n if (cachedPreserveItemsPlugins != plugins) {\n cachedPreserveItems = false;\n cachedPreserveItemsPlugins = plugins;\n for (let i = 0; i < plugins.length; i++)\n if (plugins[i].spec.historyPreserveItems) {\n cachedPreserveItems = true;\n break;\n }\n }\n return cachedPreserveItems;\n}\n/**\nSet a flag on the given transaction that will prevent further steps\nfrom being appended to an existing history event (so that they\nrequire a separate undo command to undo).\n*/\nfunction closeHistory(tr) {\n return tr.setMeta(closeHistoryKey, true);\n}\nconst historyKey = new PluginKey(\"history\");\nconst closeHistoryKey = new PluginKey(\"closeHistory\");\n/**\nReturns a plugin that enables the undo history for an editor. The\nplugin will track undo and redo stacks, which can be used with the\n[`undo`](https://prosemirror.net/docs/ref/#history.undo) and [`redo`](https://prosemirror.net/docs/ref/#history.redo) commands.\n\nYou can set an `\"addToHistory\"` [metadata\nproperty](https://prosemirror.net/docs/ref/#state.Transaction.setMeta) of `false` on a transaction\nto prevent it from being rolled back by undo.\n*/\nfunction history(config = {}) {\n config = { depth: config.depth || 100,\n newGroupDelay: config.newGroupDelay || 500 };\n return new Plugin({\n key: historyKey,\n state: {\n init() {\n return new HistoryState(Branch.empty, Branch.empty, null, 0, -1);\n },\n apply(tr, hist, state) {\n return applyTransaction(hist, state, tr, config);\n }\n },\n config,\n props: {\n handleDOMEvents: {\n beforeinput(view, e) {\n let inputType = e.inputType;\n let command = inputType == \"historyUndo\" ? undo : inputType == \"historyRedo\" ? redo : null;\n if (!command)\n return false;\n e.preventDefault();\n return command(view.state, view.dispatch);\n }\n }\n }\n });\n}\nfunction buildCommand(redo, scroll) {\n return (state, dispatch) => {\n let hist = historyKey.getState(state);\n if (!hist || (redo ? hist.undone : hist.done).eventCount == 0)\n return false;\n if (dispatch) {\n let tr = histTransaction(hist, state, redo);\n if (tr)\n dispatch(scroll ? tr.scrollIntoView() : tr);\n }\n return true;\n };\n}\n/**\nA command function that undoes the last change, if any.\n*/\nconst undo = buildCommand(false, true);\n/**\nA command function that redoes the last undone change, if any.\n*/\nconst redo = buildCommand(true, true);\n/**\nA command function that undoes the last change. Don't scroll the\nselection into view.\n*/\nconst undoNoScroll = buildCommand(false, false);\n/**\nA command function that redoes the last undone change. Don't\nscroll the selection into view.\n*/\nconst redoNoScroll = buildCommand(true, false);\n/**\nThe amount of undoable events available in a given state.\n*/\nfunction undoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.done.eventCount : 0;\n}\n/**\nThe amount of redoable events available in a given editor state.\n*/\nfunction redoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.undone.eventCount : 0;\n}\n\nexport { closeHistory, history, redo, redoDepth, redoNoScroll, undo, undoDepth, undoNoScroll };\n"],"names":["max_empty_items","Branch","items","eventCount","state","preserveItems","end","remap","mapFrom","transform","selection","remaining","addAfter","addBefore","item","i","Item","step","map","histOptions","newItems","oldItems","lastItem","merged","overflow","DEPTH_OVERFLOW","cutOffEvents","from","to","maps","Mapping","mirrorPos","array","rebasedTransform","rebasedCount","rebasedItems","start","mapping","newUntil","iRebased","pos","newMaps","branch","count","upto","events","newItem","last","RopeSequence","n","cutPoint","mirrorOffset","other","HistoryState","done","undone","prevRanges","prevTime","prevComposition","applyTransaction","history","tr","options","historyTr","historyKey","rebased","closeHistoryKey","appended","mustPreserveItems","rangesFor","composition","newGroup","isAdjacentTo","mapRanges","adjacent","result","_from","_to","ranges","histTransaction","redo","pop","added","newHist","cachedPreserveItems","cachedPreserveItemsPlugins","plugins","PluginKey","config","Plugin","hist","view","inputType","command","undo","buildCommand","scroll","dispatch"],"mappings":"mMAoBA,MAAMA,EAAkB,IACxB,MAAMC,CAAO,CACT,YAAYC,EAAOC,EAAY,CAC3B,KAAK,MAAQD,EACb,KAAK,WAAaC,CACtB,CAGA,SAASC,EAAOC,EAAe,CAC3B,GAAI,KAAK,YAAc,EACnB,OAAO,KACX,IAAIC,EAAM,KAAK,MAAM,OACrB,MAAQA,IAEJ,GADW,KAAK,MAAM,IAAIA,EAAM,CAAC,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,EAAK,MAAM,YAAc,EACxD,MAAO,GACX,GAAIO,EAAU,CACV,IAAIpC,EAAKkB,EAAgBW,EAAMtF,EAAO4E,CAAI,EACtCnB,GACAoC,EAASD,EAASnC,EAAG,eAAc,EAAKA,CAAE,CAClD,CACA,MAAO,EACX,CACJ,CAIK,MAACiC,EAAOC,EAAa,GAAO,EAAI,EAI/Bf,EAAOe,EAAa,GAAM,EAAI","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{keyName as u,base as c}from"../../w3c-keyname/index.js";import{Plugin as d}from"../../prosemirror-state/dist/index.js";const p=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),y=typeof navigator<"u"&&/Win/.test(navigator.platform);function m(e){let r=e.split(/-(?!$)/),t=r[r.length-1];t=="Space"&&(t=" ");let i,f,o,a;for(let l=0;l<r.length-1;l++){let s=r[l];if(/^(cmd|meta|m)$/i.test(s))a=!0;else if(/^a(lt)?$/i.test(s))i=!0;else if(/^(c|ctrl|control)$/i.test(s))f=!0;else if(/^s(hift)?$/i.test(s))o=!0;else if(/^mod$/i.test(s))p?a=!0:f=!0;else throw new Error("Unrecognized modifier name: "+s)}return i&&(t="Alt-"+t),f&&(t="Ctrl-"+t),a&&(t="Meta-"+t),o&&(t="Shift-"+t),t}function h(e){let r=Object.create(null);for(let t in e)r[m(t)]=e[t];return r}function n(e,r,t=!0){return r.altKey&&(e="Alt-"+e),r.ctrlKey&&(e="Ctrl-"+e),r.metaKey&&(e="Meta-"+e),t&&r.shiftKey&&(e="Shift-"+e),e}function k(e){return new d({props:{handleKeyDown:K(e)}})}function K(e){let r=h(e);return function(t,i){let f=u(i),o,a=r[n(f,i)];if(a&&a(t.state,t.dispatch,t))return!0;if(f.length==1&&f!=" "){if(i.shiftKey){let l=r[n(f,i,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((i.altKey||i.metaKey||i.ctrlKey)&&!(y&&i.ctrlKey&&i.altKey)&&(o=c[i.keyCode])&&o!=f){let l=r[n(o,i)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}export{K as keydownHandler,k as keymap};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/prosemirror-keymap/dist/index.js"],"sourcesContent":["import { keyName, base } from 'w3c-keyname';\nimport { Plugin } from 'prosemirror-state';\n\nconst mac = typeof navigator != \"undefined\" && /Mac|iP(hone|[oa]d)/.test(navigator.platform);\nconst windows = typeof navigator != \"undefined\" && /Win/.test(navigator.platform);\nfunction normalizeKeyName(name) {\n let parts = name.split(/-(?!$)/), result = parts[parts.length - 1];\n if (result == \"Space\")\n result = \" \";\n let alt, ctrl, shift, meta;\n for (let i = 0; i < parts.length - 1; i++) {\n let mod = parts[i];\n if (/^(cmd|meta|m)$/i.test(mod))\n meta = true;\n else if (/^a(lt)?$/i.test(mod))\n alt = true;\n else if (/^(c|ctrl|control)$/i.test(mod))\n ctrl = true;\n else if (/^s(hift)?$/i.test(mod))\n shift = true;\n else if (/^mod$/i.test(mod)) {\n if (mac)\n meta = true;\n else\n ctrl = true;\n }\n else\n throw new Error(\"Unrecognized modifier name: \" + mod);\n }\n if (alt)\n result = \"Alt-\" + result;\n if (ctrl)\n result = \"Ctrl-\" + result;\n if (meta)\n result = \"Meta-\" + result;\n if (shift)\n result = \"Shift-\" + result;\n return result;\n}\nfunction normalize(map) {\n let copy = Object.create(null);\n for (let prop in map)\n copy[normalizeKeyName(prop)] = map[prop];\n return copy;\n}\nfunction modifiers(name, event, shift = true) {\n if (event.altKey)\n name = \"Alt-\" + name;\n if (event.ctrlKey)\n name = \"Ctrl-\" + name;\n if (event.metaKey)\n name = \"Meta-\" + name;\n if (shift && event.shiftKey)\n name = \"Shift-\" + name;\n return name;\n}\n/**\nCreate a keymap plugin for the given set of bindings.\n\nBindings should map key names to [command](https://prosemirror.net/docs/ref/#commands)-style\nfunctions, which will be called with `(EditorState, dispatch,\nEditorView)` arguments, and should return true when they've handled\nthe key. Note that the view argument isn't part of the command\nprotocol, but can be used as an escape hatch if a binding needs to\ndirectly interact with the UI.\n\nKey names may be strings like `\"Shift-Ctrl-Enter\"`—a key\nidentifier prefixed with zero or more modifiers. Key identifiers\nare based on the strings that can appear in\n[`KeyEvent.key`](https:developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key).\nUse lowercase letters to refer to letter keys (or uppercase letters\nif you want shift to be held). You may use `\"Space\"` as an alias\nfor the `\" \"` name.\n\nModifiers can be given in any order. `Shift-` (or `s-`), `Alt-` (or\n`a-`), `Ctrl-` (or `c-` or `Control-`) and `Cmd-` (or `m-` or\n`Meta-`) are recognized. For characters that are created by holding\nshift, the `Shift-` prefix is implied, and should not be added\nexplicitly.\n\nYou can use `Mod-` as a shorthand for `Cmd-` on Mac and `Ctrl-` on\nother platforms.\n\nYou can add multiple keymap plugins to an editor. The order in\nwhich they appear determines their precedence (the ones early in\nthe array get to dispatch first).\n*/\nfunction keymap(bindings) {\n return new Plugin({ props: { handleKeyDown: keydownHandler(bindings) } });\n}\n/**\nGiven a set of bindings (using the same format as\n[`keymap`](https://prosemirror.net/docs/ref/#keymap.keymap)), return a [keydown\nhandler](https://prosemirror.net/docs/ref/#view.EditorProps.handleKeyDown) that handles them.\n*/\nfunction keydownHandler(bindings) {\n let map = normalize(bindings);\n return function (view, event) {\n let name = keyName(event), baseName, direct = map[modifiers(name, event)];\n if (direct && direct(view.state, view.dispatch, view))\n return true;\n // A character key\n if (name.length == 1 && name != \" \") {\n if (event.shiftKey) {\n // In case the name was already modified by shift, try looking\n // it up without its shift modifier\n let noShift = map[modifiers(name, event, false)];\n if (noShift && noShift(view.state, view.dispatch, view))\n return true;\n }\n if ((event.altKey || event.metaKey || event.ctrlKey) &&\n // Ctrl-Alt may be used for AltGr on Windows\n !(windows && event.ctrlKey && event.altKey) &&\n (baseName = base[event.keyCode]) && baseName != name) {\n // Try falling back to the keyCode when there's a modifier\n // active or the character produced isn't ASCII, and our table\n // produces a different name from the the keyCode. See #668,\n // #1060, #1529.\n let fromCode = map[modifiers(baseName, event)];\n if (fromCode && fromCode(view.state, view.dispatch, view))\n return true;\n }\n }\n return false;\n };\n}\n\nexport { keydownHandler, keymap };\n"],"names":["mac","windows","normalizeKeyName","name","parts","result","alt","ctrl","shift","meta","i","mod","normalize","map","copy","prop","modifiers","event","keymap","bindings","Plugin","keydownHandler","view","keyName","baseName","direct","noShift","base","fromCode"],"mappings":"8HAGA,MAAMA,EAAM,OAAO,UAAa,KAAe,qBAAqB,KAAK,UAAU,QAAQ,EACrFC,EAAU,OAAO,UAAa,KAAe,MAAM,KAAK,UAAU,QAAQ,EAChF,SAASC,EAAiBC,EAAM,CAC5B,IAAIC,EAAQD,EAAK,MAAM,QAAQ,EAAGE,EAASD,EAAMA,EAAM,OAAS,CAAC,EAC7DC,GAAU,UACVA,EAAS,KACb,IAAIC,EAAKC,EAAMC,EAAOC,EACtB,QAASC,EAAI,EAAGA,EAAIN,EAAM,OAAS,EAAGM,IAAK,CACvC,IAAIC,EAAMP,EAAMM,CAAC,EACjB,GAAI,kBAAkB,KAAKC,CAAG,EAC1BF,EAAO,WACF,YAAY,KAAKE,CAAG,EACzBL,EAAM,WACD,sBAAsB,KAAKK,CAAG,EACnCJ,EAAO,WACF,cAAc,KAAKI,CAAG,EAC3BH,EAAQ,WACH,SAAS,KAAKG,CAAG,EAClBX,EACAS,EAAO,GAEPF,EAAO,OAGX,OAAM,IAAI,MAAM,+BAAiCI,CAAG,CAC5D,CACA,OAAIL,IACAD,EAAS,OAASA,GAClBE,IACAF,EAAS,QAAUA,GACnBI,IACAJ,EAAS,QAAUA,GACnBG,IACAH,EAAS,SAAWA,GACjBA,CACX,CACA,SAASO,EAAUC,EAAK,CACpB,IAAIC,EAAO,OAAO,OAAO,IAAI,EAC7B,QAASC,KAAQF,EACbC,EAAKZ,EAAiBa,CAAI,CAAC,EAAIF,EAAIE,CAAI,EAC3C,OAAOD,CACX,CACA,SAASE,EAAUb,EAAMc,EAAOT,EAAQ,GAAM,CAC1C,OAAIS,EAAM,SACNd,EAAO,OAASA,GAChBc,EAAM,UACNd,EAAO,QAAUA,GACjBc,EAAM,UACNd,EAAO,QAAUA,GACjBK,GAASS,EAAM,WACfd,EAAO,SAAWA,GACfA,CACX,CAgCA,SAASe,EAAOC,EAAU,CACtB,OAAO,IAAIC,EAAO,CAAE,MAAO,CAAE,cAAeC,EAAeF,CAAQ,CAAC,EAAI,CAC5E,CAMA,SAASE,EAAeF,EAAU,CAC9B,IAAIN,EAAMD,EAAUO,CAAQ,EAC5B,OAAO,SAAUG,EAAML,EAAO,CAC1B,IAAId,EAAOoB,EAAQN,CAAK,EAAGO,EAAUC,EAASZ,EAAIG,EAAUb,EAAMc,CAAK,CAAC,EACxE,GAAIQ,GAAUA,EAAOH,EAAK,MAAOA,EAAK,SAAUA,CAAI,EAChD,MAAO,GAEX,GAAInB,EAAK,QAAU,GAAKA,GAAQ,IAAK,CACjC,GAAIc,EAAM,SAAU,CAGhB,IAAIS,EAAUb,EAAIG,EAAUb,EAAMc,EAAO,EAAK,CAAC,EAC/C,GAAIS,GAAWA,EAAQJ,EAAK,MAAOA,EAAK,SAAUA,CAAI,EAClD,MAAO,EACf,CACA,IAAKL,EAAM,QAAUA,EAAM,SAAWA,EAAM,UAExC,EAAEhB,GAAWgB,EAAM,SAAWA,EAAM,UACnCO,EAAWG,EAAKV,EAAM,OAAO,IAAMO,GAAYrB,EAAM,CAKtD,IAAIyB,EAAWf,EAAIG,EAAUQ,EAAUP,CAAK,CAAC,EAC7C,GAAIW,GAAYA,EAASN,EAAK,MAAOA,EAAK,SAAUA,CAAI,EACpD,MAAO,EACf,CACJ,CACA,MAAO,EACX,CACJ","x_google_ignoreList":[0]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import q from"../../orderedmap/dist/index.js";function Y(l,t,e){for(let n=0;;n++){if(n==l.childCount||n==t.childCount)return l.childCount==t.childCount?null:e;let i=l.child(n),r=t.child(n);if(i==r){e+=i.nodeSize;continue}if(!i.sameMarkup(r))return e;if(i.isText&&i.text!=r.text){for(let s=0;i.text[s]==r.text[s];s++)e++;return e}if(i.content.size||r.content.size){let s=Y(i.content,r.content,e+1);if(s!=null)return s}e+=i.nodeSize}}function Z(l,t,e,n){for(let i=l.childCount,r=t.childCount;;){if(i==0||r==0)return i==r?null:{a:e,b:n};let s=l.child(--i),o=t.child(--r),h=s.nodeSize;if(s==o){e-=h,n-=h;continue}if(!s.sameMarkup(o))return{a:e,b:n};if(s.isText&&s.text!=o.text){let a=0,f=Math.min(s.text.length,o.text.length);for(;a<f&&s.text[s.text.length-a-1]==o.text[o.text.length-a-1];)a++,e--,n--;return{a:e,b:n}}if(s.content.size||o.content.size){let a=Z(s.content,o.content,e-1,n-1);if(a)return a}e-=h,n-=h}}class c{constructor(t,e){if(this.content=t,this.size=e||0,e==null)for(let n=0;n<t.length;n++)this.size+=t[n].nodeSize}nodesBetween(t,e,n,i=0,r){for(let s=0,o=0;o<e;s++){let h=this.content[s],a=o+h.nodeSize;if(a>t&&n(h,i+o,r||null,s)!==!1&&h.content.size){let f=o+1;h.nodesBetween(Math.max(0,t-f),Math.min(h.content.size,e-f),n,i+f)}o=a}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,i){let r="",s=!0;return this.nodesBetween(t,e,(o,h)=>{let a=o.isText?o.text.slice(Math.max(t,h)-h,e-h):o.isLeaf?i?typeof i=="function"?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&a||o.isTextblock)&&n&&(s?s=!1:r+=n),r+=a},0),r}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,i=this.content.slice(),r=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),r=1);r<t.content.length;r++)i.push(t.content[r]);return new c(i,this.size+t.size)}cut(t,e=this.size){if(t==0&&e==this.size)return this;let n=[],i=0;if(e>t)for(let r=0,s=0;s<e;r++){let o=this.content[r],h=s+o.nodeSize;h>t&&((s<t||h>e)&&(o.isText?o=o.cut(Math.max(0,t-s),Math.min(o.text.length,e-s)):o=o.cut(Math.max(0,t-s-1),Math.min(o.content.size,e-s-1))),n.push(o),i+=o.nodeSize),s=h}return new c(n,i)}cutByIndex(t,e){return t==e?c.empty:t==0&&e==this.content.length?this:new c(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let i=this.content.slice(),r=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new c(i,r)}addToStart(t){return new c([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new c(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(t.content[e]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let e=this.content[t];if(!e)throw new RangeError("Index "+t+" out of range for "+this);return e}maybeChild(t){return this.content[t]||null}forEach(t){for(let e=0,n=0;e<this.content.length;e++){let i=this.content[e];t(i,n,e),n+=i.nodeSize}}findDiffStart(t,e=0){return Y(this,t,e)}findDiffEnd(t,e=this.size,n=t.size){return Z(this,t,e,n)}findIndex(t){if(t==0)return O(0,t);if(t==this.size)return O(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let e=0,n=0;;e++){let i=this.child(e),r=n+i.nodeSize;if(r>=t)return r==t?O(e+1,r):O(e,n);n=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return c.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new c(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return c.empty;let e,n=0;for(let i=0;i<t.length;i++){let r=t[i];n+=r.nodeSize,i&&r.isText&&t[i-1].sameMarkup(r)?(e||(e=t.slice(0,i)),e[e.length-1]=r.withText(e[e.length-1].text+r.text)):e&&e.push(r)}return new c(e||t,n)}static from(t){if(!t)return c.empty;if(t instanceof c)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new c([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}c.empty=new c([],0);const N={index:0,offset:0};function O(l,t){return N.index=l,N.offset=t,N}function M(l,t){if(l===t)return!0;if(!(l&&typeof l=="object")||!(t&&typeof t=="object"))return!1;let e=Array.isArray(l);if(Array.isArray(t)!=e)return!1;if(e){if(l.length!=t.length)return!1;for(let n=0;n<l.length;n++)if(!M(l[n],t[n]))return!1}else{for(let n in l)if(!(n in t)||!M(l[n],t[n]))return!1;for(let n in t)if(!(n in l))return!1}return!0}class u{constructor(t,e){this.type=t,this.attrs=e}addToSet(t){let e,n=!1;for(let i=0;i<t.length;i++){let r=t[i];if(this.eq(r))return t;if(this.type.excludes(r.type))e||(e=t.slice(0,i));else{if(r.type.excludes(this.type))return t;!n&&r.type.rank>this.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return t.slice(0,e).concat(t.slice(e+1));return t}isInSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return!0;return!1}eq(t){return this==t||this.type==t.type&&M(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");let n=t.marks[e.type];if(!n)throw new RangeError(`There is no mark type ${e.type} in this schema`);let i=n.create(e.attrs);return n.checkAttrs(i.attrs),i}static sameSet(t,e){if(t==e)return!0;if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].eq(e[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return u.none;if(t instanceof u)return[t];let e=t.slice();return e.sort((n,i)=>n.type.rank-i.type.rank),e}}u.none=[];class I extends Error{}class d{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=$(this.content,t+this.openStart,e);return n&&new d(n,this.openStart,this.openEnd)}removeBetween(t,e){return new d(_(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return d.empty;let n=e.openStart||0,i=e.openEnd||0;if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new d(c.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0;for(let r=t.firstChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.firstChild)n++;for(let r=t.lastChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.lastChild)i++;return new d(t,n,i)}}d.empty=new d(c.empty,0,0);function _(l,t,e){let{index:n,offset:i}=l.findIndex(t),r=l.maybeChild(n),{index:s,offset:o}=l.findIndex(e);if(i==t||r.isText){if(o!=e&&!l.child(s).isText)throw new RangeError("Removing non-flat range");return l.cut(0,t).append(l.cut(e))}if(n!=s)throw new RangeError("Removing non-flat range");return l.replaceChild(n,r.copy(_(r.content,t-i-1,e-i-1)))}function $(l,t,e,n){let{index:i,offset:r}=l.findIndex(t),s=l.maybeChild(i);if(r==t||s.isText)return n&&!n.canReplace(i,i,e)?null:l.cut(0,t).append(e).append(l.cut(t));let o=$(s.content,t-r-1,e,s);return o&&l.replaceChild(i,s.copy(o))}function dt(l,t,e){if(e.openStart>l.depth)throw new I("Inserted content deeper than insertion position");if(l.depth-e.openStart!=t.depth-e.openEnd)throw new I("Inconsistent open depths");return tt(l,t,e,0)}function tt(l,t,e,n){let i=l.index(n),r=l.node(n);if(i==t.index(n)&&n<l.depth-e.openStart){let s=tt(l,t,e,n+1);return r.copy(r.content.replaceChild(i,s))}else if(e.content.size)if(!e.openStart&&!e.openEnd&&l.depth==n&&t.depth==n){let s=l.parent,o=s.content;return m(s,o.cut(0,l.parentOffset).append(e.content).append(o.cut(t.parentOffset)))}else{let{start:s,end:o}=yt(e,l);return m(r,nt(l,s,o,t,n))}else return m(r,A(l,t,n))}function et(l,t){if(!t.type.compatibleContent(l.type))throw new I("Cannot join "+t.type.name+" onto "+l.type.name)}function D(l,t,e){let n=l.node(e);return et(n,t.node(e)),n}function x(l,t){let e=t.length-1;e>=0&&l.isText&&l.sameMarkup(t[e])?t[e]=l.withText(t[e].text+l.text):t.push(l)}function k(l,t,e,n){let i=(t||l).node(e),r=0,s=t?t.index(e):i.childCount;l&&(r=l.index(e),l.depth>e?r++:l.textOffset&&(x(l.nodeAfter,n),r++));for(let o=r;o<s;o++)x(i.child(o),n);t&&t.depth==e&&t.textOffset&&x(t.nodeBefore,n)}function m(l,t){return l.type.checkContent(t),l.copy(t)}function nt(l,t,e,n,i){let r=l.depth>i&&D(l,t,i+1),s=n.depth>i&&D(e,n,i+1),o=[];return k(null,l,i,o),r&&s&&t.index(i)==e.index(i)?(et(r,s),x(m(r,nt(l,t,e,n,i+1)),o)):(r&&x(m(r,A(l,t,i+1)),o),k(t,e,i,o),s&&x(m(s,A(e,n,i+1)),o)),k(n,null,i,o),new c(o)}function A(l,t,e){let n=[];if(k(null,l,e,n),l.depth>e){let i=D(l,t,e+1);x(m(i,A(l,t,e+1)),n)}return k(t,null,e,n),new c(n)}function yt(l,t){let e=t.depth-l.openStart,i=t.node(e).copy(l.content);for(let r=e-1;r>=0;r--)i=t.node(r).copy(c.from(i));return{start:i.resolveNoCache(l.openStart+e),end:i.resolveNoCache(i.content.size-l.openEnd-e)}}class E{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):t==0?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[e*3],i=e==0?0:this.path[e*3-1]+1;for(let r=0;r<t;r++)i+=n.child(r).nodeSize;return i}marks(){let t=this.parent,e=this.index();if(t.content.size==0)return u.none;if(this.textOffset)return t.child(e).marks;let n=t.maybeChild(e-1),i=t.maybeChild(e);if(!n){let o=n;n=i,i=o}let r=n.marks;for(var s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!i||!r[s].isInSet(i.marks))&&(r=r[s--].removeFromSet(r));return r}marksAcross(t){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,i=t.parent.maybeChild(t.index());for(var r=0;r<n.length;r++)n[r].type.spec.inclusive===!1&&(!i||!n[r].isInSet(i.marks))&&(n=n[r--].removeFromSet(n));return n}sharedDepth(t){for(let e=this.depth;e>0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos<this.pos)return t.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);n>=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new mt(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let e=1;e<=this.depth;e++)t+=(t?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return t+":"+this.parentOffset}static resolve(t,e){if(!(e>=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let n=[],i=0,r=e;for(let s=t;;){let{index:o,offset:h}=s.content.findIndex(r),a=r-h;if(n.push(s,o,i+h),!a||(s=s.child(o),s.isText))break;r=a-1,i+=h+1}return new E(e,n,r)}static resolveCached(t,e){let n=L.get(t);if(n)for(let r=0;r<n.elts.length;r++){let s=n.elts[r];if(s.pos==e)return s}else L.set(t,n=new gt);let i=n.elts[n.i]=E.resolve(t,e);return n.i=(n.i+1)%xt,i}}class gt{constructor(){this.elts=[],this.i=0}}const xt=12,L=new WeakMap;class mt{constructor(t,e,n){this.$from=t,this.$to=e,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const wt=Object.create(null);class g{constructor(t,e,n,i=u.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||c.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,i=0){this.content.nodesBetween(t,e,n,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,i){return this.content.textBetween(t,e,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&M(this.attrs,e||t.defaultAttrs||wt)&&u.sameSet(this.marks,n||u.none)}copy(t=null){return t==this.content?this:new g(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new g(this.type,this.attrs,this.content,t)}cut(t,e=this.content.size){return t==0&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return d.empty;let i=this.resolve(t),r=this.resolve(e),s=n?0:i.sharedDepth(e),o=i.start(s),a=i.node(s).content.cut(i.pos-o,r.pos-o);return new d(a,i.depth-s,r.depth-s)}replace(t,e,n){return dt(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t);if(e=e.maybeChild(n),!e)return null;if(i==t||e.isText)return e;t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(n<t)return{node:this.content.child(e),index:e,offset:n};let i=this.content.child(e-1);return{node:i,index:e-1,offset:n-i.nodeSize}}resolve(t){return E.resolveCached(this,t)}resolveNoCache(t){return E.resolve(this,t)}rangeHasMark(t,e,n){let i=!1;return e>t&&this.nodesBetween(t,e,r=>(n.isInSet(r.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),it(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=c.empty,i=0,r=n.childCount){let s=this.contentMatchAt(t).matchFragment(n,i,r),o=s&&s.matchFragment(this.content,e);if(!o||!o.validEnd)return!1;for(let h=i;h<r;h++)if(!this.type.allowsMarks(n.child(h).marks))return!1;return!0}canReplaceWith(t,e,n,i){if(i&&!this.type.allowsMarks(i))return!1;let r=this.contentMatchAt(t).matchType(n),s=r&&r.matchFragment(this.content,e);return s?s.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=u.none;for(let e=0;e<this.marks.length;e++){let n=this.marks[e];n.type.checkAttrs(n.attrs),t=n.addToSet(t)}if(!u.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let n;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if(e.type=="text"){if(typeof e.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(e.text,n)}let i=c.fromJSON(t,e.content),r=t.nodeType(e.type).create(e.attrs,i,n);return r.type.checkAttrs(r.attrs),r}}g.prototype.text=void 0;class z extends g{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):it(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new z(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new z(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return t==0&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function it(l,t){for(let e=l.length-1;e>=0;e--)t=l[e].type.name+"("+t+")";return t}class w{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new kt(t,e);if(n.next==null)return w.empty;let i=rt(n);n.next&&n.err("Unexpected trailing text");let r=Mt(bt(i));return At(r,n),r}matchType(t){for(let e=0;e<this.next.length;e++)if(this.next[e].type==t)return this.next[e].next;return null}matchFragment(t,e=0,n=t.childCount){let i=this;for(let r=e;i&&r<n;r++)i=i.matchType(t.child(r).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:e}=this.next[t];if(!(e.isText||e.hasRequiredAttrs()))return e}return null}compatible(t){for(let e=0;e<this.next.length;e++)for(let n=0;n<t.next.length;n++)if(this.next[e].type==t.next[n].type)return!0;return!1}fillBefore(t,e=!1,n=0){let i=[this];function r(s,o){let h=s.matchFragment(t,n);if(h&&(!e||h.validEnd))return c.from(o.map(a=>a.createAndFill()));for(let a=0;a<s.next.length;a++){let{type:f,next:p}=s.next[a];if(!(f.isText||f.hasRequiredAttrs())&&i.indexOf(p)==-1){i.push(p);let y=r(p,o.concat(f));if(y)return y}}return null}return r(this,[])}findWrapping(t){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==t)return this.wrapCache[n+1];let e=this.computeWrapping(t);return this.wrapCache.push(t,e),e}computeWrapping(t){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let i=n.shift(),r=i.match;if(r.matchType(t)){let s=[];for(let o=i;o.type;o=o.via)s.push(o.type);return s.reverse()}for(let s=0;s<r.next.length;s++){let{type:o,next:h}=r.next[s];!o.isLeaf&&!o.hasRequiredAttrs()&&!(o.name in e)&&(!i.type||h.validEnd)&&(n.push({match:o.contentMatch,type:o,via:i}),e[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function e(n){t.push(n);for(let i=0;i<n.next.length;i++)t.indexOf(n.next[i].next)==-1&&e(n.next[i].next)}return e(this),t.map((n,i)=>{let r=i+(n.validEnd?"*":" ")+" ";for(let s=0;s<n.next.length;s++)r+=(s?", ":"")+n.next[s].type.name+"->"+t.indexOf(n.next[s].next);return r}).join(`
|
|
2
|
-
`)}}w.empty=new w(!0);class kt{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function rt(l){let t=[];do t.push(St(l));while(l.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function St(l){let t=[];do t.push(Et(l));while(l.next&&l.next!=")"&&l.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Et(l){let t=Tt(l);for(;;)if(l.eat("+"))t={type:"plus",expr:t};else if(l.eat("*"))t={type:"star",expr:t};else if(l.eat("?"))t={type:"opt",expr:t};else if(l.eat("{"))t=Ct(l,t);else break;return t}function W(l){/\D/.test(l.next)&&l.err("Expected number, got '"+l.next+"'");let t=Number(l.next);return l.pos++,t}function Ct(l,t){let e=W(l),n=e;return l.eat(",")&&(l.next!="}"?n=W(l):n=-1),l.eat("}")||l.err("Unclosed braced range"),{type:"range",min:e,max:n,expr:t}}function Ot(l,t){let e=l.nodeTypes,n=e[t];if(n)return[n];let i=[];for(let r in e){let s=e[r];s.isInGroup(t)&&i.push(s)}return i.length==0&&l.err("No node type or group '"+t+"' found"),i}function Tt(l){if(l.eat("(")){let t=rt(l);return l.eat(")")||l.err("Missing closing paren"),t}else if(/\W/.test(l.next))l.err("Unexpected token '"+l.next+"'");else{let t=Ot(l,l.next).map(e=>(l.inline==null?l.inline=e.isInline:l.inline!=e.isInline&&l.err("Mixing inline and block content"),{type:"name",value:e}));return l.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function bt(l){let t=[[]];return i(r(l,0),e()),t;function e(){return t.push([])-1}function n(s,o,h){let a={term:h,to:o};return t[s].push(a),a}function i(s,o){s.forEach(h=>h.to=o)}function r(s,o){if(s.type=="choice")return s.exprs.reduce((h,a)=>h.concat(r(a,o)),[]);if(s.type=="seq")for(let h=0;;h++){let a=r(s.exprs[h],o);if(h==s.exprs.length-1)return a;i(a,o=e())}else if(s.type=="star"){let h=e();return n(o,h),i(r(s.expr,h),h),[n(h)]}else if(s.type=="plus"){let h=e();return i(r(s.expr,o),h),i(r(s.expr,h),h),[n(h)]}else{if(s.type=="opt")return[n(o)].concat(r(s.expr,o));if(s.type=="range"){let h=o;for(let a=0;a<s.min;a++){let f=e();i(r(s.expr,h),f),h=f}if(s.max==-1)i(r(s.expr,h),h);else for(let a=s.min;a<s.max;a++){let f=e();n(h,f),i(r(s.expr,h),f),h=f}return[n(h)]}else{if(s.type=="name")return[n(o,void 0,s.value)];throw new Error("Unknown expr type")}}}}function st(l,t){return t-l}function j(l,t){let e=[];return n(t),e.sort(st);function n(i){let r=l[i];if(r.length==1&&!r[0].term)return n(r[0].to);e.push(i);for(let s=0;s<r.length;s++){let{term:o,to:h}=r[s];!o&&e.indexOf(h)==-1&&n(h)}}}function Mt(l){let t=Object.create(null);return e(j(l,0));function e(n){let i=[];n.forEach(s=>{l[s].forEach(({term:o,to:h})=>{if(!o)return;let a;for(let f=0;f<i.length;f++)i[f][0]==o&&(a=i[f][1]);j(l,h).forEach(f=>{a||i.push([o,a=[]]),a.indexOf(f)==-1&&a.push(f)})})});let r=t[n.join(",")]=new w(n.indexOf(l.length-1)>-1);for(let s=0;s<i.length;s++){let o=i[s][1].sort(st);r.next.push({type:i[s][0],next:t[o.join(",")]||e(o)})}return r}}function At(l,t){for(let e=0,n=[l];e<n.length;e++){let i=n[e],r=!i.validEnd,s=[];for(let o=0;o<i.next.length;o++){let{type:h,next:a}=i.next[o];s.push(h.name),r&&!(h.isText||h.hasRequiredAttrs())&&(r=!1),n.indexOf(a)==-1&&n.push(a)}r&&t.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function lt(l){let t=Object.create(null);for(let e in l){let n=l[e];if(!n.hasDefault)return null;t[e]=n.default}return t}function ot(l,t){let e=Object.create(null);for(let n in l){let i=t&&t[n];if(i===void 0){let r=l[n];if(r.hasDefault)i=r.default;else throw new RangeError("No value supplied for attribute "+n)}e[n]=i}return e}function ht(l,t,e,n){for(let i in t)if(!(i in l))throw new RangeError(`Unsupported attribute ${i} for ${e} of type ${i}`);for(let i in l){let r=l[i];r.validate&&r.validate(t[i])}}function at(l,t){let e=Object.create(null);if(t)for(let n in t)e[n]=new vt(l,n,t[n]);return e}class v{constructor(t,e,n){this.name=t,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=at(t,n.attrs),this.defaultAttrs=lt(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==w.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:ot(this.attrs,t)}create(t=null,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new g(this,this.computeAttrs(t),c.from(e),u.setFrom(n))}createChecked(t=null,e,n){return e=c.from(e),this.checkContent(e),new g(this,this.computeAttrs(t),e,u.setFrom(n))}createAndFill(t=null,e,n){if(t=this.computeAttrs(t),e=c.from(e),e.size){let s=this.contentMatch.fillBefore(e);if(!s)return null;e=s.append(e)}let i=this.contentMatch.matchFragment(e),r=i&&i.fillBefore(c.empty,!0);return r?new g(this,t,e.append(r),u.setFrom(n)):null}validContent(t){let e=this.contentMatch.matchFragment(t);if(!e||!e.validEnd)return!1;for(let n=0;n<t.childCount;n++)if(!this.allowsMarks(t.child(n).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){ht(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let e=0;e<t.length;e++)if(!this.allowsMarkType(t[e].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let e;for(let n=0;n<t.length;n++)this.allowsMarkType(t[n].type)?e&&e.push(t[n]):e||(e=t.slice(0,n));return e?e.length?e:u.none:t}static compile(t,e){let n=Object.create(null);t.forEach((r,s)=>n[r]=new v(r,e,s));let i=e.spec.topNode||"doc";if(!n[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let r in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}function zt(l,t,e){let n=e.split("|");return i=>{let r=i===null?"null":typeof i;if(n.indexOf(r)<0)throw new RangeError(`Expected value of type ${n} for attribute ${t} on type ${l}, got ${r}`)}}class vt{constructor(t,e,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate=typeof n.validate=="string"?zt(t,e,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class F{constructor(t,e,n,i){this.name=t,this.rank=e,this.schema=n,this.spec=i,this.attrs=at(t,i.attrs),this.excluded=null;let r=lt(this.attrs);this.instance=r?new u(this,r):null}create(t=null){return!t&&this.instance?this.instance:new u(this,ot(this.attrs,t))}static compile(t,e){let n=Object.create(null),i=0;return t.forEach((r,s)=>n[r]=new F(r,i++,e,s)),n}removeFromSet(t){for(var e=0;e<t.length;e++)t[e].type==this&&(t=t.slice(0,e).concat(t.slice(e+1)),e--);return t}isInSet(t){for(let e=0;e<t.length;e++)if(t[e].type==this)return t[e]}checkAttrs(t){ht(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class qt{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let i in t)e[i]=t[i];e.nodes=q.from(t.nodes),e.marks=q.from(t.marks||{}),this.nodes=v.compile(this.spec.nodes,this),this.marks=F.compile(this.spec.marks,this);let n=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let r=this.nodes[i],s=r.spec.content||"",o=r.spec.marks;if(r.contentMatch=n[s]||(n[s]=w.parse(s,this.nodes)),r.inlineContent=r.contentMatch.inlineContent,r.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!r.isInline||!r.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=r}r.markSet=o=="_"?null:o?U(this,o.split(" ")):o==""||!r.inlineContent?[]:null}for(let i in this.marks){let r=this.marks[i],s=r.spec.excludes;r.excluded=s==null?[r]:s==""?[]:U(this,s.split(" "))}this.nodeFromJSON=i=>g.fromJSON(this,i),this.markFromJSON=i=>u.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof v){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(e,n,i)}text(t,e){let n=this.nodes.text;return new z(n,n.defaultAttrs,t,u.setFrom(e))}mark(t,e){return typeof t=="string"&&(t=this.marks[t]),t.create(e)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function U(l,t){let e=[];for(let n=0;n<t.length;n++){let i=t[n],r=l.marks[i],s=r;if(r)e.push(r);else for(let o in l.marks){let h=l.marks[o];(i=="_"||h.spec.group&&h.spec.group.split(" ").indexOf(i)>-1)&&e.push(s=h)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[n]+"'")}return e}function Nt(l){return l.tag!=null}function Rt(l){return l.style!=null}class P{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[];let n=this.matchedStyles=[];e.forEach(i=>{if(Nt(i))this.tags.push(i);else if(Rt(i)){let r=/[^=]*/.exec(i.style)[0];n.indexOf(r)<0&&n.push(r),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let n=new G(this,e,!1);return n.addAll(t,u.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new G(this,e,!0);return n.addAll(t,u.none,e.from,e.to),d.maxOpen(n.finish())}matchTag(t,e,n){for(let i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){let r=this.tags[i];if(Pt(t,r.tag)&&(r.namespace===void 0||t.namespaceURI==r.namespace)&&(!r.context||e.matchesContext(r.context))){if(r.getAttrs){let s=r.getAttrs(t);if(s===!1)continue;r.attrs=s||void 0}return r}}}matchStyle(t,e,n,i){for(let r=i?this.styles.indexOf(i)+1:0;r<this.styles.length;r++){let s=this.styles[r],o=s.style;if(!(o.indexOf(t)!=0||s.context&&!n.matchesContext(s.context)||o.length>t.length&&(o.charCodeAt(t.length)!=61||o.slice(t.length+1)!=e))){if(s.getAttrs){let h=s.getAttrs(e);if(h===!1)continue;s.attrs=h||void 0}return s}}}static schemaRules(t){let e=[];function n(i){let r=i.priority==null?50:i.priority,s=0;for(;s<e.length;s++){let o=e[s];if((o.priority==null?50:o.priority)<r)break}e.splice(s,0,i)}for(let i in t.marks){let r=t.marks[i].spec.parseDOM;r&&r.forEach(s=>{n(s=H(s)),s.mark||s.ignore||s.clearMark||(s.mark=i)})}for(let i in t.nodes){let r=t.nodes[i].spec.parseDOM;r&&r.forEach(s=>{n(s=H(s)),s.node||s.ignore||s.mark||(s.node=i)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new P(t,P.schemaRules(t)))}}const ft={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},It={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ct={ol:!0,ul:!0},C=1,B=2,S=4;function V(l,t,e){return t!=null?(t?C:0)|(t==="full"?B:0):l&&l.whitespace=="pre"?C|B:e&~S}class T{constructor(t,e,n,i,r,s){this.type=t,this.attrs=e,this.marks=n,this.solid=i,this.options=s,this.content=[],this.activeMarks=u.none,this.match=r||(s&S?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(c.from(t));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let n=this.type.contentMatch,i;return(i=n.findWrapping(t.type))?(this.match=n,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&C)){let n=this.content[this.content.length-1],i;if(n&&n.isText&&(i=/[ \t\r\n\u000c]+$/.exec(n.text))){let r=n;n.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-i[0].length))}}let e=c.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(c.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!ft.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class G{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let i=e.topNode,r,s=V(null,e.preserveWhitespace,0)|(n?S:0);i?r=new T(i.type,i.attrs,u.none,!0,e.topMatch||i.type.contentMatch,s):n?r=new T(null,null,u.none,!0,null,s):r=new T(t.schema.topNodeType,null,u.none,!0,null,s),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){t.nodeType==3?this.addTextNode(t,e):t.nodeType==1&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,i=this.top,r=i.options&B?"full":this.localPreserveWS||(i.options&C)>0,{schema:s}=this.parser;if(r==="full"||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r)if(r==="full")n=n.replace(/\r\n?/g,`
|
|
3
|
-
`);else if(s.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(s.linebreakReplacement.create())){let o=n.split(/\r?\n|\r/);for(let h=0;h<o.length;h++)h&&this.insertNode(s.linebreakReplacement.create(),e,!0),o[h]&&this.insertNode(s.text(o[h]),e,!/\S/.test(o[h]));n=""}else n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let o=i.content[i.content.length-1],h=t.previousSibling;(!o||h&&h.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(n=n.slice(1))}n&&this.insertNode(s.text(n),e,!/\S/.test(n)),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let i=this.localPreserveWS,r=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let s=t.nodeName.toLowerCase(),o;ct.hasOwnProperty(s)&&this.parser.normalizeLists&&Dt(t);let h=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(o=this.parser.matchTag(t,this,n));t:if(h?h.ignore:It.hasOwnProperty(s))this.findInside(t),this.ignoreFallback(t,e);else if(!h||h.skip||h.closeParent){h&&h.closeParent?this.open=Math.max(0,this.open-1):h&&h.skip.nodeType&&(t=h.skip);let a,f=this.needsBlock;if(ft.hasOwnProperty(s))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),a=!0,r.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);break t}let p=h&&h.skip?e:this.readStyles(t,e);p&&this.addAll(t,p),a&&this.sync(r),this.needsBlock=f}else{let a=this.readStyles(t,e);a&&this.addElementByRule(t,h,a,h.consuming===!1?o:void 0)}this.localPreserveWS=i}leafFallback(t,e){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
|
|
4
|
-
`),e)}ignoreFallback(t,e){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),e,!0)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let r=this.parser.matchedStyles[i],s=n.getPropertyValue(r);if(s)for(let o=void 0;;){let h=this.parser.matchStyle(r,s,this,o);if(!h)break;if(h.ignore)return null;if(h.clearMark?e=e.filter(a=>!h.clearMark(a)):e=e.concat(this.parser.schema.marks[h.mark].create(h.attrs)),h.consuming===!1)o=h;else break}}return e}addElementByRule(t,e,n,i){let r,s;if(e.node)if(s=this.parser.schema.nodes[e.node],s.isLeaf)this.insertNode(s.create(e.attrs),n,t.nodeName=="BR")||this.leafFallback(t,n);else{let h=this.enter(s,e.attrs||null,n,e.preserveWhitespace);h&&(r=!0,n=h)}else{let h=this.parser.schema.marks[e.mark];n=n.concat(h.create(e.attrs))}let o=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,n,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(h=>this.insertNode(h,n,!1));else{let h=t;typeof e.contentElement=="string"?h=t.querySelector(e.contentElement):typeof e.contentElement=="function"?h=e.contentElement(t):e.contentElement&&(h=e.contentElement),this.findAround(t,h,!0),this.addAll(h,n),this.findAround(t,h,!1)}r&&this.sync(o)&&this.open--}addAll(t,e,n,i){let r=n||0;for(let s=n?t.childNodes[n]:t.firstChild,o=i==null?null:t.childNodes[i];s!=o;s=s.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(s,e);this.findAtPoint(t,r)}findPlace(t,e,n){let i,r;for(let s=this.open,o=0;s>=0;s--){let h=this.nodes[s],a=h.findWrapping(t);if(a&&(!i||i.length>a.length+o)&&(i=a,r=h,!a.length))break;if(h.solid){if(n)break;o+=2}}if(!i)return null;this.sync(r);for(let s=0;s<i.length;s++)e=this.enterInner(i[s],null,e,!1);return e}insertNode(t,e,n){if(t.isInline&&this.needsBlock&&!this.top.type){let r=this.textblockFromContext();r&&(e=this.enterInner(r,null,e))}let i=this.findPlace(t,e,n);if(i){this.closeExtra();let r=this.top;r.match&&(r.match=r.match.matchType(t.type));let s=u.none;for(let o of i.concat(t.marks))(r.type?r.type.allowsMarkType(o.type):K(o.type,t.type))&&(s=o.addToSet(s));return r.content.push(t.mark(s)),!0}return!1}enter(t,e,n,i){let r=this.findPlace(t.create(e),n,!1);return r&&(r=this.enterInner(t,e,n,!0,i)),r}enterInner(t,e,n,i=!1,r){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(t);let o=V(t,r,s.options);s.options&S&&s.content.length==0&&(o|=S);let h=u.none;return n=n.filter(a=>(s.type?s.type.allowsMarkType(a.type):K(a.type,t))?(h=a.addToSet(h),!1):!0),this.nodes.push(new T(t,e,h,i,null,o)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(t){for(let e=this.open;e>=0;e--){if(this.nodes[e]==t)return this.open=e,!0;this.localPreserveWS&&(this.nodes[e].options|=C)}return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let i=n.length-1;i>=0;i--)t+=n[i].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].pos==null&&t.nodeType==1&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(t,e,n){if(t!=e&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&e.compareDocumentPosition(this.find[i].node)&(n?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),r=-(n?n.depth+1:0)+(i?0:1),s=(o,h)=>{for(;o>=0;o--){let a=e[o];if(a==""){if(o==e.length-1||o==0)continue;for(;h>=r;h--)if(s(o-1,h))return!0;return!1}else{let f=h>0||h==0&&i?this.nodes[h].type:n&&h>=r?n.node(h-r).type:null;if(!f||f.name!=a&&!f.isInGroup(a))return!1;h--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let n=this.parser.schema.nodes[e];if(n.isTextblock&&n.defaultAttrs)return n}}}function Dt(l){for(let t=l.firstChild,e=null;t;t=t.nextSibling){let n=t.nodeType==1?t.nodeName.toLowerCase():null;n&&ct.hasOwnProperty(n)&&e?(e.appendChild(t),t=e):n=="li"?e=t:n&&(e=null)}}function Pt(l,t){return(l.matches||l.msMatchesSelector||l.webkitMatchesSelector||l.mozMatchesSelector).call(l,t)}function H(l){let t={};for(let e in l)t[e]=l[e];return t}function K(l,t){let e=t.schema.nodes;for(let n in e){let i=e[n];if(!i.allowsMarkType(l))continue;let r=[],s=o=>{r.push(o);for(let h=0;h<o.edgeCount;h++){let{type:a,next:f}=o.edge(h);if(a==t||r.indexOf(f)<0&&s(f))return!0}};if(s(i.contentMatch))return!0}}class ut{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=R(e).createDocumentFragment());let i=n,r=[];return t.forEach(s=>{if(r.length||s.marks.length){let o=0,h=0;for(;o<r.length&&h<s.marks.length;){let a=s.marks[h];if(!this.marks[a.type.name]){h++;continue}if(!a.eq(r[o][0])||a.type.spec.spanning===!1)break;o++,h++}for(;o<r.length;)i=r.pop()[1];for(;h<s.marks.length;){let a=s.marks[h++],f=this.serializeMark(a,s.isInline,e);f&&(r.push([a,i]),i.appendChild(f.dom),i=f.contentDOM||f.dom)}}i.appendChild(this.serializeNodeInner(s,e))}),n}serializeNodeInner(t,e){let{dom:n,contentDOM:i}=b(R(e),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,e,i)}return n}serializeNode(t,e={}){let n=this.serializeNodeInner(t,e);for(let i=t.marks.length-1;i>=0;i--){let r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name];return i&&b(R(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return b(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new ut(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=Q(t.nodes);return e.text||(e.text=n=>n.text),e}static marksFromSchema(t){return Q(t.marks)}}function Q(l){let t={};for(let e in l){let n=l[e].spec.toDOM;n&&(t[e]=n)}return t}function R(l){return l.document||window.document}const X=new WeakMap;function Bt(l){let t=X.get(l);return t===void 0&&X.set(l,t=Ft(l)),t}function Ft(l){let t=null;function e(n){if(n&&typeof n=="object")if(Array.isArray(n))if(typeof n[0]=="string")t||(t=[]),t.push(n);else for(let i=0;i<n.length;i++)e(n[i]);else for(let i in n)e(n[i])}return e(l),t}function b(l,t,e,n){if(typeof t=="string")return{dom:l.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let i=t[0],r;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(n&&(r=Bt(n))&&r.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s=i.indexOf(" ");s>0&&(e=i.slice(0,s),i=i.slice(s+1));let o,h=e?l.createElementNS(e,i):l.createElement(i),a=t[1],f=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){f=2;for(let p in a)if(a[p]!=null){let y=p.indexOf(" ");y>0?h.setAttributeNS(p.slice(0,y),p.slice(y+1),a[p]):p=="style"&&h.style?h.style.cssText=a[p]:h.setAttribute(p,a[p])}}for(let p=f;p<t.length;p++){let y=t[p];if(y===0){if(p<t.length-1||p>f)throw new RangeError("Content hole must be the only child of its parent node");return{dom:h,contentDOM:h}}else{let{dom:pt,contentDOM:J}=b(l,y,e,n);if(h.appendChild(pt),J){if(o)throw new RangeError("Multiple content holes");o=J}}}return{dom:h,contentDOM:o}}export{w as ContentMatch,P as DOMParser,ut as DOMSerializer,c as Fragment,u as Mark,F as MarkType,g as Node,mt as NodeRange,v as NodeType,I as ReplaceError,E as ResolvedPos,qt as Schema,d as Slice};
|
|
5
|
-
//# sourceMappingURL=index.js.map
|